@pushwoosh/rpc-gateway-messaging 0.6.114 → 0.6.116

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
@@ -221,6 +221,7 @@ export const data = {
221
221
  "FIREFOX",
222
222
  "IE",
223
223
  "EMAIL",
224
+ "FB_MESSENGER",
224
225
  "BAIDU_ANDROID",
225
226
  "HUAWEI_ANDROID",
226
227
  "SMS",
@@ -663,6 +664,14 @@ export const data = {
663
664
  }
664
665
  }
665
666
  },
667
+ "pushwoosh.channels.messagingApi.v2.WebPopup": {
668
+ "type": "I",
669
+ "fields": {
670
+ "code": {
671
+ "type": "string"
672
+ }
673
+ }
674
+ },
666
675
  "pushwoosh.channels.messagingApi.v2.OpenAction": {
667
676
  "type": "I",
668
677
  "fields": {
@@ -674,6 +683,9 @@ export const data = {
674
683
  },
675
684
  "link": {
676
685
  "type": "pushwoosh.channels.messagingApi.v2.Link"
686
+ },
687
+ "webPopup": {
688
+ "type": "pushwoosh.channels.messagingApi.v2.WebPopup"
677
689
  }
678
690
  },
679
691
  "oneofs": {
@@ -681,7 +693,8 @@ export const data = {
681
693
  "oneof": [
682
694
  "richMedia",
683
695
  "deepLink",
684
- "link"
696
+ "link",
697
+ "webPopup"
685
698
  ]
686
699
  }
687
700
  }
@@ -1224,6 +1237,10 @@ export const data = {
1224
1237
  "carousel": {
1225
1238
  "type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesAppInbox.CarouselSlide",
1226
1239
  "array": true
1240
+ },
1241
+ "openActions": {
1242
+ "type": "pushwoosh.channels.messagingApi.v2.OpenAction",
1243
+ "mapKeyType": "number"
1227
1244
  }
1228
1245
  }
1229
1246
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-messaging",
3
- "version": "0.6.114",
3
+ "version": "0.6.116",
4
4
  "description": "Channels Messaging API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -165,7 +165,7 @@ export type RegistrationType =
165
165
  * in the request, even if it is unknown to Pushwoosh.
166
166
  */
167
167
  | 'REGISTRATION_TYPE_FORCE';
168
- 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';
168
+ export type Platform = 'UNKNOWN' | 'IOS' | 'ANDROID' | 'OSX' | 'WINDOWS' | 'AMAZON' | 'SAFARI' | 'CHROME' | 'FIREFOX' | 'IE' | 'EMAIL' | 'FB_MESSENGER' | 'BAIDU_ANDROID' | 'HUAWEI_ANDROID' | 'SMS' | 'WEB' | 'WHATS_APP' | 'LINE' | 'KAKAO' | 'TELEGRAM' | 'APPLE_WALLET' | 'GOOGLE_WALLET' | 'VIBER';
169
169
  export type NotifySegment_target_code = {
170
170
  type: 'code';
171
171
  data: string;
@@ -461,6 +461,10 @@ export type DeepLink = {
461
461
  /** Parameters substituted into the deep link; values support Liquid. */
462
462
  params: Record<string, string>;
463
463
  };
464
+ export type WebPopup = {
465
+ /** Web popup (popup form content) code configured in the Control Panel. */
466
+ code: string;
467
+ };
464
468
  export type OpenAction_kind_richMedia = {
465
469
  type: 'richMedia';
466
470
  data: RichMedia;
@@ -473,7 +477,11 @@ export type OpenAction_kind_link = {
473
477
  type: 'link';
474
478
  data: Link;
475
479
  };
476
- export type OpenAction_kind = OpenAction_kind_richMedia | OpenAction_kind_deepLink | OpenAction_kind_link;
480
+ export type OpenAction_kind_webPopup = {
481
+ type: 'webPopup';
482
+ data: WebPopup;
483
+ };
484
+ export type OpenAction_kind = OpenAction_kind_richMedia | OpenAction_kind_deepLink | OpenAction_kind_link | OpenAction_kind_webPopup;
477
485
  export type OpenAction = {
478
486
  kind: OpenAction_kind;
479
487
  };
@@ -807,6 +815,8 @@ export type Content_PlatformPropertiesAppInbox = {
807
815
  layoutType: string;
808
816
  /** Slides of the carousel layout. */
809
817
  carousel: Content_PlatformPropertiesAppInbox_CarouselSlide[];
818
+ /** Per-platform override of open_action, keyed by the numeric platform code. */
819
+ openActions: Record<number, OpenAction>;
810
820
  };
811
821
  export type Content_PlatformPropertiesSMS = {
812
822
  /** Notification body text. */