@pushwoosh/rpc-gateway-messaging 0.6.48 → 0.6.50

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
@@ -211,7 +211,8 @@ export const data = {
211
211
  "KAKAO",
212
212
  "TELEGRAM",
213
213
  "APPLE_WALLET",
214
- "GOOGLE_WALLET"
214
+ "GOOGLE_WALLET",
215
+ "VIBER"
215
216
  ]
216
217
  },
217
218
  "pushwoosh.channels.messagingApi.v2.NotifySegment": {
@@ -1150,6 +1151,14 @@ export const data = {
1150
1151
  }
1151
1152
  }
1152
1153
  },
1154
+ "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesViber": {
1155
+ "type": "I",
1156
+ "fields": {
1157
+ "body": {
1158
+ "type": "string"
1159
+ }
1160
+ }
1161
+ },
1153
1162
  "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesKakao": {
1154
1163
  "type": "I",
1155
1164
  "fields": {
@@ -1251,6 +1260,9 @@ export const data = {
1251
1260
  },
1252
1261
  "sms": {
1253
1262
  "type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesSMS"
1263
+ },
1264
+ "viber": {
1265
+ "type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesViber"
1254
1266
  }
1255
1267
  }
1256
1268
  },
@@ -1290,6 +1302,9 @@ export const data = {
1290
1302
  },
1291
1303
  "appleWalletPassSerial": {
1292
1304
  "type": "string"
1305
+ },
1306
+ "smsPreset": {
1307
+ "type": "string"
1293
1308
  }
1294
1309
  },
1295
1310
  "oneofs": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-messaging",
3
- "version": "0.6.48",
3
+ "version": "0.6.50",
4
4
  "description": "Channels Messaging API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -103,7 +103,7 @@ export type RegistrationType =
103
103
  * in the request, even if it is unknown to Pushwoosh.
104
104
  */
105
105
  | 'REGISTRATION_TYPE_FORCE';
106
- export type Platform = 'UNKNOWN' | 'IOS' | 'ANDROID' | 'OSX' | 'WINDOWS' | 'AMAZON' | 'SAFARI' | 'CHROME' | 'FIREFOX' | 'IE' | 'EMAIL' | 'BAIDU_ANDROID' | 'HUAWEI_ANDROID' | 'SMS' | 'WEB' | 'WHATS_APP' | 'LINE' | 'KAKAO' | 'TELEGRAM' | 'APPLE_WALLET' | 'GOOGLE_WALLET';
106
+ export type Platform = 'UNKNOWN' | 'IOS' | 'ANDROID' | 'OSX' | 'WINDOWS' | 'AMAZON' | 'SAFARI' | 'CHROME' | 'FIREFOX' | 'IE' | 'EMAIL' | 'BAIDU_ANDROID' | 'HUAWEI_ANDROID' | 'SMS' | 'WEB' | 'WHATS_APP' | 'LINE' | 'KAKAO' | 'TELEGRAM' | 'APPLE_WALLET' | 'GOOGLE_WALLET' | 'VIBER';
107
107
  export type NotifySegment_target_code = {
108
108
  type: 'code';
109
109
  data: string;
@@ -527,6 +527,9 @@ export type Content_PlatformPropertiesTelegram = {
527
527
  body: string;
528
528
  contentVariables: string;
529
529
  };
530
+ export type Content_PlatformPropertiesViber = {
531
+ body: string;
532
+ };
530
533
  export type Content_PlatformPropertiesKakao = {
531
534
  content: string;
532
535
  template: string;
@@ -586,6 +589,7 @@ export type Content = {
586
589
  whatsapp: Content_PlatformPropertiesWhatsApp;
587
590
  globalProperties: Content_GlobalProperties;
588
591
  sms: Content_PlatformPropertiesSMS;
592
+ viber: Content_PlatformPropertiesViber;
589
593
  };
590
594
  export type LocalizedContent = {
591
595
  localizedContent: Record<string, Content>;
@@ -606,6 +610,11 @@ export type Payload = {
606
610
  openActions: Record<number, OpenAction>;
607
611
  voipPush: boolean;
608
612
  appleWalletPassSerial: string;
613
+ /**
614
+ * sms_preset references a saved SMS preset by code. When set, messaging-api resolves the
615
+ * preset content into the per-language SMS body; inline sms.body overrides the preset per language.
616
+ */
617
+ smsPreset: string;
609
618
  kind: Payload_kind;
610
619
  };
611
620
  /** Email attachments. */