@epilot/message-client 1.12.0 → 1.13.0

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/dist/openapi.d.ts CHANGED
@@ -205,6 +205,12 @@ declare namespace Components {
205
205
  * Message type
206
206
  */
207
207
  type?: "SENT" | "RECEIVED";
208
+ /**
209
+ * Template ID used for sending message.
210
+ * example:
211
+ * 3f34ce73-089c-4d45-a5ee-c161234e41c3
212
+ */
213
+ template_id?: string;
208
214
  }
209
215
  export interface MessageRequestParams {
210
216
  [name: string]: any;
@@ -271,6 +277,12 @@ declare namespace Components {
271
277
  */
272
278
  bcc?: Address[];
273
279
  file?: /* Message attachments */ AttachmentsRelation;
280
+ /**
281
+ * Template ID used for sending message.
282
+ * example:
283
+ * 3f34ce73-089c-4d45-a5ee-c161234e41c3
284
+ */
285
+ template_id?: string;
274
286
  }
275
287
  export interface MessageV2 {
276
288
  /**
@@ -392,6 +404,12 @@ declare namespace Components {
392
404
  * Message type
393
405
  */
394
406
  type?: "SENT" | "RECEIVED";
407
+ /**
408
+ * Template ID used for sending message.
409
+ * example:
410
+ * 3f34ce73-089c-4d45-a5ee-c161234e41c3
411
+ */
412
+ template_id?: string;
395
413
  /**
396
414
  * If true then html is not provided and must be downloaded using the html_download_url
397
415
  */
@@ -632,6 +650,12 @@ declare namespace Paths {
632
650
  * Message type
633
651
  */
634
652
  type?: "SENT" | "RECEIVED";
653
+ /**
654
+ * Template ID used for sending message.
655
+ * example:
656
+ * 3f34ce73-089c-4d45-a5ee-c161234e41c3
657
+ */
658
+ template_id?: string;
635
659
  }
636
660
  export interface $403 {
637
661
  }
@@ -801,6 +825,12 @@ declare namespace Paths {
801
825
  * Message type
802
826
  */
803
827
  type?: "SENT" | "RECEIVED";
828
+ /**
829
+ * Template ID used for sending message.
830
+ * example:
831
+ * 3f34ce73-089c-4d45-a5ee-c161234e41c3
832
+ */
833
+ template_id?: string;
804
834
  }
805
835
  export interface $302 {
806
836
  }
@@ -944,6 +974,12 @@ declare namespace Paths {
944
974
  * Message type
945
975
  */
946
976
  type?: "SENT" | "RECEIVED";
977
+ /**
978
+ * Template ID used for sending message.
979
+ * example:
980
+ * 3f34ce73-089c-4d45-a5ee-c161234e41c3
981
+ */
982
+ template_id?: string;
947
983
  /**
948
984
  * If true then html is not provided and must be downloaded using the html_download_url
949
985
  */
@@ -1222,6 +1258,12 @@ declare namespace Paths {
1222
1258
  * Message type
1223
1259
  */
1224
1260
  type?: "SENT" | "RECEIVED";
1261
+ /**
1262
+ * Template ID used for sending message.
1263
+ * example:
1264
+ * 3f34ce73-089c-4d45-a5ee-c161234e41c3
1265
+ */
1266
+ template_id?: string;
1225
1267
  }
1226
1268
  export interface $403 {
1227
1269
  }
@@ -1419,6 +1461,12 @@ declare namespace Paths {
1419
1461
  * Message type
1420
1462
  */
1421
1463
  type?: "SENT" | "RECEIVED";
1464
+ /**
1465
+ * Template ID used for sending message.
1466
+ * example:
1467
+ * 3f34ce73-089c-4d45-a5ee-c161234e41c3
1468
+ */
1469
+ template_id?: string;
1422
1470
  }
1423
1471
  export interface $403 {
1424
1472
  }
package/dist/openapi.json CHANGED
@@ -997,6 +997,11 @@
997
997
  "SENT",
998
998
  "RECEIVED"
999
999
  ]
1000
+ },
1001
+ "template_id": {
1002
+ "type": "string",
1003
+ "description": "Template ID used for sending message.",
1004
+ "example": "3f34ce73-089c-4d45-a5ee-c161234e41c3"
1000
1005
  }
1001
1006
  }
1002
1007
  },
@@ -1200,6 +1205,11 @@
1200
1205
  },
1201
1206
  "file": {
1202
1207
  "$ref": "#/components/schemas/AttachmentsRelation"
1208
+ },
1209
+ "template_id": {
1210
+ "type": "string",
1211
+ "description": "Template ID used for sending message.",
1212
+ "example": "3f34ce73-089c-4d45-a5ee-c161234e41c3"
1203
1213
  }
1204
1214
  }
1205
1215
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/message-client",
3
- "version": "1.12.0",
3
+ "version": "1.13.0",
4
4
  "description": "API Client for epilot Message API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",