@managesome/eposmatic-toolkit 0.2.403 → 0.2.404
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.
package/lib/constants/ENUMS.d.ts
CHANGED
|
@@ -1201,7 +1201,8 @@ export declare enum EMAIL_TEMPLATES_TYPE_ENUM {
|
|
|
1201
1201
|
SUBSCRIPTION_RENEWED = "SUBSCRIPTION_RENEWED",
|
|
1202
1202
|
WELCOME = "WELCOME",
|
|
1203
1203
|
MARKETING_FORM_SUBMISSION = "MARKETING_FORM_SUBMISSION",
|
|
1204
|
-
EMAIL_TEMPLATE_FOR_RFQ = "EMAIL_TEMPLATE_FOR_RFQ"
|
|
1204
|
+
EMAIL_TEMPLATE_FOR_RFQ = "EMAIL_TEMPLATE_FOR_RFQ",
|
|
1205
|
+
EMAIL_TEMPLATE_FOR_PURCHASE_ORDER = "EMAIL_TEMPLATE_FOR_PURCHASE_ORDER"
|
|
1205
1206
|
}
|
|
1206
1207
|
export declare enum DISCOUNT_TYPE_ENUM {
|
|
1207
1208
|
SPECIAL = "SPECIAL",
|
package/lib/constants/ENUMS.js
CHANGED
|
@@ -1928,6 +1928,7 @@ var EMAIL_TEMPLATES_TYPE_ENUM;
|
|
|
1928
1928
|
EMAIL_TEMPLATES_TYPE_ENUM["WELCOME"] = "WELCOME";
|
|
1929
1929
|
EMAIL_TEMPLATES_TYPE_ENUM["MARKETING_FORM_SUBMISSION"] = "MARKETING_FORM_SUBMISSION";
|
|
1930
1930
|
EMAIL_TEMPLATES_TYPE_ENUM["EMAIL_TEMPLATE_FOR_RFQ"] = "EMAIL_TEMPLATE_FOR_RFQ";
|
|
1931
|
+
EMAIL_TEMPLATES_TYPE_ENUM["EMAIL_TEMPLATE_FOR_PURCHASE_ORDER"] = "EMAIL_TEMPLATE_FOR_PURCHASE_ORDER";
|
|
1931
1932
|
})(EMAIL_TEMPLATES_TYPE_ENUM || (exports.EMAIL_TEMPLATES_TYPE_ENUM = EMAIL_TEMPLATES_TYPE_ENUM = {}));
|
|
1932
1933
|
// ======================>> <<====================== //
|
|
1933
1934
|
var DISCOUNT_TYPE_ENUM;
|
|
@@ -89,6 +89,11 @@ const templates = {
|
|
|
89
89
|
alias: 'email-template-for-rfq',
|
|
90
90
|
stream: STREAMS.transactional,
|
|
91
91
|
},
|
|
92
|
+
[constants_1.EMAIL_TEMPLATES_TYPE_ENUM.EMAIL_TEMPLATE_FOR_PURCHASE_ORDER]: {
|
|
93
|
+
id: 45434805,
|
|
94
|
+
alias: 'email-template-for-purchase-order',
|
|
95
|
+
stream: STREAMS.transactional,
|
|
96
|
+
},
|
|
92
97
|
};
|
|
93
98
|
function getEmailTemplateBody(templateType, to, templateModel) {
|
|
94
99
|
const { id, alias, stream } = templates[templateType];
|
|
@@ -35,6 +35,7 @@ export interface IWarehouseCommunicationMetadata {
|
|
|
35
35
|
line_items: IWarehouseCommunicationLineItem[];
|
|
36
36
|
notes?: string | null;
|
|
37
37
|
action_buttons?: IWarehouseCommunicationActionButton[];
|
|
38
|
+
theme_color?: string | null;
|
|
38
39
|
}
|
|
39
40
|
export interface IWarehouseCommunication {
|
|
40
41
|
_id: string;
|