@trii/types 2.10.424 → 2.10.426
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.
|
@@ -309,6 +309,11 @@ export interface MessageContactUrl {
|
|
|
309
309
|
url: string;
|
|
310
310
|
type: string;
|
|
311
311
|
}
|
|
312
|
+
export interface MessageTemplateVar {
|
|
313
|
+
var?: number;
|
|
314
|
+
value: string;
|
|
315
|
+
btn?: number;
|
|
316
|
+
}
|
|
312
317
|
export interface IMessage {
|
|
313
318
|
id: string;
|
|
314
319
|
externalId?: string;
|
|
@@ -344,6 +349,11 @@ export interface IMessage {
|
|
|
344
349
|
header?: MessageHeader;
|
|
345
350
|
footer?: string;
|
|
346
351
|
mentions: [];
|
|
352
|
+
templateId: string;
|
|
353
|
+
templateName: string;
|
|
354
|
+
templateHeaderVars: MessageTemplateVar[];
|
|
355
|
+
templateBodyVars: MessageTemplateVar[];
|
|
356
|
+
templateButtonVars: MessageTemplateVar[];
|
|
347
357
|
context?: string;
|
|
348
358
|
text?: MessageText;
|
|
349
359
|
contacts?: MessageContact[];
|
package/dist/Marketing/index.js
CHANGED
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./Campaign"), exports);
|
|
18
18
|
__exportStar(require("./Dashboard"), exports);
|
|
19
|
+
__exportStar(require("./Options"), exports);
|