fix: close documented platform polish gaps
This commit is contained in:
@@ -153,7 +153,7 @@ export class OperationsService {
|
||||
billingAggregate,
|
||||
transactionAggregate,
|
||||
connectionGroups,
|
||||
pendingAuditCount,
|
||||
pendingAudits,
|
||||
tenantAccounts,
|
||||
recentTasks,
|
||||
recentRecharges,
|
||||
@@ -257,7 +257,8 @@ export class OperationsService {
|
||||
billing: billingAggregate,
|
||||
transactions: transactionAggregate,
|
||||
gatewayConnections: connectionGroups,
|
||||
pendingAuditCount,
|
||||
pendingAuditCount: pendingAudits.total,
|
||||
pendingAudits,
|
||||
downstreamDeliverySummary: {
|
||||
pending: downstreamPendingCount,
|
||||
failed: downstreamFailedCount,
|
||||
@@ -736,7 +737,13 @@ export class OperationsService {
|
||||
this.prisma.smsSignature.count({ where: { tenantId, auditStatus: 'pending' } }),
|
||||
this.prisma.enterpriseCertification.count({ where: { tenantId, status: 'pending' } }),
|
||||
this.prisma.smsSendTask.count({ where: { tenantId, status: 'pending_review' } }),
|
||||
]).then((counts) => counts.reduce((sum, value) => sum + value, 0));
|
||||
]).then(([templates, signatures, enterpriseCertifications, smsAudits]) => ({
|
||||
templates,
|
||||
signatures,
|
||||
enterpriseCertifications,
|
||||
smsAudits,
|
||||
total: templates + signatures + enterpriseCertifications + smsAudits,
|
||||
}));
|
||||
}
|
||||
|
||||
private gatewayDownstreamRecoveryStatusDelegate() {
|
||||
|
||||
Reference in New Issue
Block a user