@pushwoosh/rpc-gateway-messaging 0.6.209 → 0.6.211
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 +6 -0
- package/package.json +1 -1
- package/pushwoosh_channels_messagingApi_v2.d.ts +11 -1
package/data.js
CHANGED
|
@@ -1595,6 +1595,9 @@ export const data = {
|
|
|
1595
1595
|
},
|
|
1596
1596
|
"attachment": {
|
|
1597
1597
|
"type": "string"
|
|
1598
|
+
},
|
|
1599
|
+
"interactive": {
|
|
1600
|
+
"type": "string"
|
|
1598
1601
|
}
|
|
1599
1602
|
}
|
|
1600
1603
|
},
|
|
@@ -1699,6 +1702,9 @@ export const data = {
|
|
|
1699
1702
|
},
|
|
1700
1703
|
"appleWalletPassSerial": {
|
|
1701
1704
|
"type": "string"
|
|
1705
|
+
},
|
|
1706
|
+
"customDataRaw": {
|
|
1707
|
+
"type": "string"
|
|
1702
1708
|
}
|
|
1703
1709
|
},
|
|
1704
1710
|
"oneofs": {
|
package/package.json
CHANGED
|
@@ -1084,6 +1084,11 @@ export type Content_PlatformPropertiesWhatsApp = {
|
|
|
1084
1084
|
* The media kind (image / document / video) is derived from the extension.
|
|
1085
1085
|
*/
|
|
1086
1086
|
attachment: string;
|
|
1087
|
+
/**
|
|
1088
|
+
* Interactive message (buttons, list, media) as Cloud API JSON, as stored in a chat-projected WhatsApp
|
|
1089
|
+
* preset. Sent instead of the template while the 24-hour window is open, or alone when there is no template.
|
|
1090
|
+
*/
|
|
1091
|
+
interactive: string;
|
|
1087
1092
|
};
|
|
1088
1093
|
export type Content = {
|
|
1089
1094
|
/** iOS push content. */
|
|
@@ -1143,7 +1148,7 @@ export type Payload_kind = Payload_kind_content | Payload_kind_silent;
|
|
|
1143
1148
|
export type Payload = {
|
|
1144
1149
|
/**
|
|
1145
1150
|
* Preset code (XXXXX-XXXXX) whose content this message starts from: a push preset, a LINE preset when platforms include LINE,
|
|
1146
|
-
*
|
|
1151
|
+
* an FB Messenger preset when platforms include FB_MESSENGER, or a WhatsApp preset when platforms include WHATSAPP.
|
|
1147
1152
|
*/
|
|
1148
1153
|
preset: string;
|
|
1149
1154
|
/** Free-form JSON delivered to the SDK as the `u` parameter. */
|
|
@@ -1156,6 +1161,11 @@ export type Payload = {
|
|
|
1156
1161
|
voipPush: boolean;
|
|
1157
1162
|
/** Serial of the Apple Wallet pass to update; requires the APPLE_WALLET platform. */
|
|
1158
1163
|
appleWalletPassSerial: string;
|
|
1164
|
+
/**
|
|
1165
|
+
* Free-form JSON object as text, delivered as the `u` parameter; mutually exclusive with custom_data.
|
|
1166
|
+
* Use it to keep integers beyond 2^53 exact: custom_data stores every number as a double.
|
|
1167
|
+
*/
|
|
1168
|
+
customDataRaw: string;
|
|
1159
1169
|
kind: Payload_kind;
|
|
1160
1170
|
};
|
|
1161
1171
|
/** Email attachments. */
|