fix: harden upstream and downstream receipt delivery

This commit is contained in:
hectorzhao
2026-07-25 23:32:13 +08:00
parent 5018167696
commit 54617c927e
18 changed files with 1797 additions and 779 deletions
+16
View File
@@ -1266,6 +1266,22 @@ export type DownstreamDeliveryRecord = {
tenant?: TenantOption | null;
application?: EnterpriseApplication | null;
messageRecord?: SmsMessageRecord | null;
attempts?: Array<{
id: string;
attemptNo: number;
connectionId?: string | null;
sequenceId?: string | null;
messageId?: string | null;
status: string;
sentAt?: string | null;
ackDeadlineAt?: string | null;
acknowledgedAt?: string | null;
ackResult?: number | null;
failureType?: string | null;
errorMessage?: string | null;
createdAt: string;
updatedAt: string;
}>;
};
export type BatchRequeueResponse = {