@pushwoosh/rpc-gateway-messaging 0.6.54 → 0.6.56

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/data.js CHANGED
@@ -1196,6 +1196,19 @@ export const data = {
1196
1196
  "fields": {
1197
1197
  "body": {
1198
1198
  "type": "string"
1199
+ },
1200
+ "templateId": {
1201
+ "type": "string"
1202
+ },
1203
+ "templateLang": {
1204
+ "type": "string"
1205
+ },
1206
+ "templateParams": {
1207
+ "type": "string",
1208
+ "mapKeyType": "string"
1209
+ },
1210
+ "allDevices": {
1211
+ "type": "boolean"
1199
1212
  }
1200
1213
  }
1201
1214
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-messaging",
3
- "version": "0.6.54",
3
+ "version": "0.6.56",
4
4
  "description": "Channels Messaging API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -553,6 +553,19 @@ export type Content_PlatformPropertiesTelegram = {
553
553
  };
554
554
  export type Content_PlatformPropertiesViber = {
555
555
  body: string;
556
+ /**
557
+ * Transactional template (Omni Messaging / MStat): reference a pre-approved template by
558
+ * id + language with key/value params instead of a free-text body.
559
+ */
560
+ templateId: string;
561
+ templateLang: string;
562
+ templateParams: Record<string, string>;
563
+ /**
564
+ * all_devices = false sends to the primary device (type 1701); true sends to all of the
565
+ * user's devices (type 1702). Unset == false == primary-only, so a plain bool is enough
566
+ * (no need to distinguish unset from false).
567
+ */
568
+ allDevices: boolean;
556
569
  };
557
570
  export type Content_PlatformPropertiesKakao = {
558
571
  content: string;