@pushwoosh/rpc-gateway-messaging 0.6.113 → 0.6.115
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 +17 -1
- package/package.json +1 -1
- package/pushwoosh_channels_messagingApi_v2.d.ts +11 -1
package/data.js
CHANGED
|
@@ -663,6 +663,14 @@ export const data = {
|
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
665
|
},
|
|
666
|
+
"pushwoosh.channels.messagingApi.v2.WebPopup": {
|
|
667
|
+
"type": "I",
|
|
668
|
+
"fields": {
|
|
669
|
+
"code": {
|
|
670
|
+
"type": "string"
|
|
671
|
+
}
|
|
672
|
+
}
|
|
673
|
+
},
|
|
666
674
|
"pushwoosh.channels.messagingApi.v2.OpenAction": {
|
|
667
675
|
"type": "I",
|
|
668
676
|
"fields": {
|
|
@@ -674,6 +682,9 @@ export const data = {
|
|
|
674
682
|
},
|
|
675
683
|
"link": {
|
|
676
684
|
"type": "pushwoosh.channels.messagingApi.v2.Link"
|
|
685
|
+
},
|
|
686
|
+
"webPopup": {
|
|
687
|
+
"type": "pushwoosh.channels.messagingApi.v2.WebPopup"
|
|
677
688
|
}
|
|
678
689
|
},
|
|
679
690
|
"oneofs": {
|
|
@@ -681,7 +692,8 @@ export const data = {
|
|
|
681
692
|
"oneof": [
|
|
682
693
|
"richMedia",
|
|
683
694
|
"deepLink",
|
|
684
|
-
"link"
|
|
695
|
+
"link",
|
|
696
|
+
"webPopup"
|
|
685
697
|
]
|
|
686
698
|
}
|
|
687
699
|
}
|
|
@@ -1224,6 +1236,10 @@ export const data = {
|
|
|
1224
1236
|
"carousel": {
|
|
1225
1237
|
"type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesAppInbox.CarouselSlide",
|
|
1226
1238
|
"array": true
|
|
1239
|
+
},
|
|
1240
|
+
"openActions": {
|
|
1241
|
+
"type": "pushwoosh.channels.messagingApi.v2.OpenAction",
|
|
1242
|
+
"mapKeyType": "number"
|
|
1227
1243
|
}
|
|
1228
1244
|
}
|
|
1229
1245
|
},
|
package/package.json
CHANGED
|
@@ -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
|
|
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. */
|