@managesome/eposmatic-toolkit 0.4.78 → 0.4.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -290,6 +290,11 @@ export const BLACKLISTED_SMS_COUNTRY_CODES = [
|
|
|
290
290
|
'+263', // Zimbabwe
|
|
291
291
|
];
|
|
292
292
|
export const WHITELISTED_API_SMS_COUNTRY_CODES = ['+92']; // Pakistan
|
|
293
|
+
/**
|
|
294
|
+
* @deprecated WhatsApp is offered regardless of country now. Keep this export
|
|
295
|
+
* only until the POS/console/ordering consumers stop importing it; deleting it
|
|
296
|
+
* breaks their builds.
|
|
297
|
+
*/
|
|
293
298
|
export const BLACKLISTED_WHATSAPP_COUNTRY_CODES = ['+92']; // Pakistan
|
|
294
299
|
// ======================>> <<====================== //
|
|
295
300
|
export var ALERT_NOTIFICATIONS_TYPE_ENUM;
|
|
@@ -46,6 +46,11 @@ export declare enum MARKETING_RECEIPIENT_ENUM {
|
|
|
46
46
|
export declare const ALL_MARKETING_RECEIPIENT_TYPES: MARKETING_RECEIPIENT_ENUM[];
|
|
47
47
|
export declare const BLACKLISTED_SMS_COUNTRY_CODES: string[];
|
|
48
48
|
export declare const WHITELISTED_API_SMS_COUNTRY_CODES: string[];
|
|
49
|
+
/**
|
|
50
|
+
* @deprecated WhatsApp is offered regardless of country now. Keep this export
|
|
51
|
+
* only until the POS/console/ordering consumers stop importing it; deleting it
|
|
52
|
+
* breaks their builds.
|
|
53
|
+
*/
|
|
49
54
|
export declare const BLACKLISTED_WHATSAPP_COUNTRY_CODES: string[];
|
|
50
55
|
export declare enum ALERT_NOTIFICATIONS_TYPE_ENUM {
|
|
51
56
|
UNCONFIRMED_ORDER_DELAY = "UNCONFIRMED_ORDER_DELAY",
|
|
@@ -293,6 +293,11 @@ exports.BLACKLISTED_SMS_COUNTRY_CODES = [
|
|
|
293
293
|
'+263', // Zimbabwe
|
|
294
294
|
];
|
|
295
295
|
exports.WHITELISTED_API_SMS_COUNTRY_CODES = ['+92']; // Pakistan
|
|
296
|
+
/**
|
|
297
|
+
* @deprecated WhatsApp is offered regardless of country now. Keep this export
|
|
298
|
+
* only until the POS/console/ordering consumers stop importing it; deleting it
|
|
299
|
+
* breaks their builds.
|
|
300
|
+
*/
|
|
296
301
|
exports.BLACKLISTED_WHATSAPP_COUNTRY_CODES = ['+92']; // Pakistan
|
|
297
302
|
// ======================>> <<====================== //
|
|
298
303
|
var ALERT_NOTIFICATIONS_TYPE_ENUM;
|
|
@@ -242,17 +242,25 @@ export interface IEmailTemplateForSaleOrder {
|
|
|
242
242
|
description: string;
|
|
243
243
|
theme_color?: string | null;
|
|
244
244
|
}
|
|
245
|
+
/**
|
|
246
|
+
* Template model for the Postmark `otp-verification` template (id `48566213`).
|
|
247
|
+
*
|
|
248
|
+
* Every key listed in the template is REQUIRED here. Postmark renders a blank
|
|
249
|
+
* value for a missing key rather than failing, so callers must always send the
|
|
250
|
+
* full object and use `null` (or `""`) when a value does not apply.
|
|
251
|
+
*/
|
|
245
252
|
export interface IEmailTemplateForOTP {
|
|
253
|
+
otp_code: string;
|
|
246
254
|
brand_name: string;
|
|
247
|
-
|
|
248
|
-
|
|
255
|
+
expiry_minutes: number;
|
|
256
|
+
theme_color: string;
|
|
257
|
+
brand_logo_url: string | null;
|
|
249
258
|
theme_contrast: string;
|
|
250
259
|
user_name: string;
|
|
251
260
|
user_email: string;
|
|
252
|
-
|
|
253
|
-
expiry_minutes: number;
|
|
254
|
-
anti_phishing_code?: string | null;
|
|
261
|
+
anti_phishing_code: string | null;
|
|
255
262
|
support_email: string;
|
|
263
|
+
subject: string;
|
|
256
264
|
}
|
|
257
265
|
export type ITemplateModel = IEmailAccountActivated | IEmailAccountDeactivated | IEmailLateDeliveryAlert | IEmailLowInventoryAlert | IEmailOrderReceipt | IEmailOrderStatusUpdate | IEmailRateOrder | IEmailReceivedOrderReview | IEmailSubscriptionDueSoon | IEmailSubscriptionPending | IEmailSubscriptionExpired | IEmailSubscriptionRenewed | IEmailUnconfirmOrderAlert | IEmailWelcome | IEmailMarketingFormSubmission | IEmailTemplateForRFQ | IEmailTemplateForPurchaseOrder | IEmailTemplateForSaleOrder | IEmailTemplateForOTP;
|
|
258
266
|
export {};
|