feat: refine template deletion and channel group filters
This commit is contained in:
@@ -34,6 +34,10 @@ export type SendSubmissionCallbacks = {
|
||||
) => Promise<unknown>;
|
||||
};
|
||||
|
||||
export type SendResourceValidationOptions = {
|
||||
usePersistedTemplateSnapshot?: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
* R9 internal compatibility facade. SendChainService remains the only public NestJS provider.
|
||||
*/
|
||||
@@ -109,8 +113,8 @@ async classifyRejectedPhones(tenantId: string, applicationId: string | undefined
|
||||
return this.batchEntry.classifyRejectedPhones(tenantId, applicationId, phones);
|
||||
}
|
||||
|
||||
async validateSendResources(tenantId: string, applicationId?: string, templateId?: string) {
|
||||
return this.batchEntry.validateSendResources(tenantId, applicationId, templateId);
|
||||
async validateSendResources(tenantId: string, applicationId?: string, templateId?: string, options?: SendResourceValidationOptions) {
|
||||
return this.batchEntry.validateSendResources(tenantId, applicationId, templateId, options);
|
||||
}
|
||||
|
||||
async reserveDailySendQuota(applicationId: string, requestedCount: number) {
|
||||
|
||||
Reference in New Issue
Block a user