@pushwoosh/rpc-gateway-messaging 0.6.170 → 0.6.172
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 +40 -0
- package/package.json +1 -1
- package/pushwoosh_channels_messagingApi_v2.d.ts +21 -0
package/data.js
CHANGED
|
@@ -1415,6 +1415,46 @@ export const data = {
|
|
|
1415
1415
|
},
|
|
1416
1416
|
"buttonAction": {
|
|
1417
1417
|
"type": "string"
|
|
1418
|
+
},
|
|
1419
|
+
"carousel": {
|
|
1420
|
+
"type": "pushwoosh.channels.messagingApi.v2.Content.ViberCarousel"
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
},
|
|
1424
|
+
"pushwoosh.channels.messagingApi.v2.Content.ViberCarousel": {
|
|
1425
|
+
"type": "I",
|
|
1426
|
+
"fields": {
|
|
1427
|
+
"items": {
|
|
1428
|
+
"type": "pushwoosh.channels.messagingApi.v2.Content.ViberCarouselItem",
|
|
1429
|
+
"array": true
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1432
|
+
},
|
|
1433
|
+
"pushwoosh.channels.messagingApi.v2.Content.ViberCarouselItem": {
|
|
1434
|
+
"type": "I",
|
|
1435
|
+
"fields": {
|
|
1436
|
+
"title": {
|
|
1437
|
+
"type": "string"
|
|
1438
|
+
},
|
|
1439
|
+
"image": {
|
|
1440
|
+
"type": "string"
|
|
1441
|
+
},
|
|
1442
|
+
"primaryButton": {
|
|
1443
|
+
"type": "pushwoosh.channels.messagingApi.v2.Content.ViberCarouselButton"
|
|
1444
|
+
},
|
|
1445
|
+
"secondaryButton": {
|
|
1446
|
+
"type": "pushwoosh.channels.messagingApi.v2.Content.ViberCarouselButton"
|
|
1447
|
+
}
|
|
1448
|
+
}
|
|
1449
|
+
},
|
|
1450
|
+
"pushwoosh.channels.messagingApi.v2.Content.ViberCarouselButton": {
|
|
1451
|
+
"type": "I",
|
|
1452
|
+
"fields": {
|
|
1453
|
+
"caption": {
|
|
1454
|
+
"type": "string"
|
|
1455
|
+
},
|
|
1456
|
+
"action": {
|
|
1457
|
+
"type": "string"
|
|
1418
1458
|
}
|
|
1419
1459
|
}
|
|
1420
1460
|
},
|
package/package.json
CHANGED
|
@@ -957,6 +957,27 @@ export type Content_PlatformPropertiesViber = {
|
|
|
957
957
|
image: string;
|
|
958
958
|
buttonCaption: string;
|
|
959
959
|
buttonAction: string;
|
|
960
|
+
/** Carousel (MStat type 901): body plus 2-5 cards; excludes image, button and template_id. */
|
|
961
|
+
carousel: Content_ViberCarousel;
|
|
962
|
+
};
|
|
963
|
+
export type Content_ViberCarousel = {
|
|
964
|
+
/** 2-5 cards. */
|
|
965
|
+
items: Content_ViberCarouselItem[];
|
|
966
|
+
};
|
|
967
|
+
export type Content_ViberCarouselItem = {
|
|
968
|
+
/** 2-38 characters. */
|
|
969
|
+
title: string;
|
|
970
|
+
/** Public image URL. */
|
|
971
|
+
image: string;
|
|
972
|
+
/** Required; caption up to 10 characters. */
|
|
973
|
+
primaryButton: Content_ViberCarouselButton;
|
|
974
|
+
/** Optional; caption up to 12 characters. */
|
|
975
|
+
secondaryButton: Content_ViberCarouselButton;
|
|
976
|
+
};
|
|
977
|
+
export type Content_ViberCarouselButton = {
|
|
978
|
+
caption: string;
|
|
979
|
+
/** URL, {lp-XXX}/{https://...} tracking token or viber:// deep link. */
|
|
980
|
+
action: string;
|
|
960
981
|
};
|
|
961
982
|
export type Content_PlatformPropertiesKakao = {
|
|
962
983
|
/** Message text. */
|