feat: enforce signature-scoped drainage authorization before SMS submission
This commit is contained in:
@@ -134,6 +134,13 @@ export type SmsMessageRecord = {
|
||||
categories?: string[];
|
||||
truncated?: boolean;
|
||||
} | null;
|
||||
drainageGate?: {
|
||||
version: string;
|
||||
evaluatedAt: string;
|
||||
reason: string | null;
|
||||
reasonCode: string | null;
|
||||
targets: Array<{ category: string; text: string; value: string; materialIds: string[] }>;
|
||||
} | null;
|
||||
drainageDetectionVersion?: string | null;
|
||||
drainageEvaluatedAt?: string | null;
|
||||
clientSrcId?: string | null;
|
||||
@@ -331,7 +338,14 @@ export type SystemLogExportResult = {
|
||||
recordCount: number;
|
||||
truncated: boolean;
|
||||
content: string;
|
||||
filters: { keyword?: string; level?: string; module?: string; range?: string; createdAtFrom?: string; createdAtTo?: string };
|
||||
filters: {
|
||||
keyword?: string;
|
||||
level?: string;
|
||||
module?: string;
|
||||
range?: string;
|
||||
createdAtFrom?: string;
|
||||
createdAtTo?: string;
|
||||
};
|
||||
};
|
||||
|
||||
export type DailyReconciliationReport = {
|
||||
@@ -638,7 +652,10 @@ export type GatewaySubmitException = {
|
||||
updatedAt: string;
|
||||
tenant?: Pick<TenantOption, 'id' | 'name' | 'code' | 'status'> | null;
|
||||
application?: Pick<EnterpriseApplication, 'id' | 'tenantId' | 'name' | 'status'> | null;
|
||||
channel?: Pick<AdminChannel, 'id' | 'code' | 'name' | 'status' | 'carrier' | 'sendRegion' | 'rateLimitPerSecond'> | null;
|
||||
channel?: Pick<
|
||||
AdminChannel,
|
||||
'id' | 'code' | 'name' | 'status' | 'carrier' | 'sendRegion' | 'rateLimitPerSecond'
|
||||
> | null;
|
||||
};
|
||||
|
||||
export type GatewaySubmitExceptionResponse = PagedResponse<GatewaySubmitException> & {
|
||||
|
||||
Reference in New Issue
Block a user