@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 +13 -0
- package/package.json +1 -1
- package/pushwoosh_channels_messagingApi_v2.d.ts +13 -0
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
|
@@ -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;
|