forked from Yara724/api
Fixed lock mechanism, and some resendItem types
This commit is contained in:
@@ -117,6 +117,20 @@ export class SmsOrchestrationService implements OnModuleInit {
|
||||
});
|
||||
}
|
||||
|
||||
/** THIRD_PARTY only: notify the damaged (non-guilty) party that blame is completed and they can open the claim flow. */
|
||||
async sendThirdPartyDamagedPartyClaimLinkNotice(params: {
|
||||
receptor: string;
|
||||
publicId: string;
|
||||
link: string;
|
||||
}): Promise<boolean> {
|
||||
return this.sendTemplate({
|
||||
template: "yara-claim-link",
|
||||
receptor: params.receptor,
|
||||
token: params.publicId,
|
||||
token2: params.link,
|
||||
});
|
||||
}
|
||||
|
||||
async sendThirdPartyExpertStartedReviewNotice(
|
||||
params: {
|
||||
receptor: string;
|
||||
|
||||
Reference in New Issue
Block a user