@pushwoosh/rpc-gateway-messaging 0.6.116 → 0.6.118

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
@@ -1273,6 +1273,20 @@ export const data = {
1273
1273
  }
1274
1274
  }
1275
1275
  },
1276
+ "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesFBMessenger": {
1277
+ "type": "I",
1278
+ "fields": {
1279
+ "body": {
1280
+ "type": "string"
1281
+ },
1282
+ "contentVariables": {
1283
+ "type": "string"
1284
+ },
1285
+ "messageTag": {
1286
+ "type": "string"
1287
+ }
1288
+ }
1289
+ },
1276
1290
  "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesViber": {
1277
1291
  "type": "I",
1278
1292
  "fields": {
@@ -1404,6 +1418,9 @@ export const data = {
1404
1418
  },
1405
1419
  "appInbox": {
1406
1420
  "type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesAppInbox"
1421
+ },
1422
+ "fbMessenger": {
1423
+ "type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesFBMessenger"
1407
1424
  }
1408
1425
  }
1409
1426
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-messaging",
3
- "version": "0.6.116",
3
+ "version": "0.6.118",
4
4
  "description": "Channels Messaging API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -836,6 +836,17 @@ export type Content_PlatformPropertiesTelegram = {
836
836
  /** JSON string with variables for the bot-side template. */
837
837
  contentVariables: string;
838
838
  };
839
+ export type Content_PlatformPropertiesFBMessenger = {
840
+ /** Message text. */
841
+ body: string;
842
+ /** JSON string with variables substituted into the body. */
843
+ contentVariables: string;
844
+ /**
845
+ * Meta message tag (CONFIRMED_EVENT_UPDATE, POST_PURCHASE_UPDATE, ACCOUNT_UPDATE,
846
+ * HUMAN_AGENT). Required to reach a user outside the 24-hour messaging window.
847
+ */
848
+ messageTag: string;
849
+ };
839
850
  export type Content_PlatformPropertiesViber = {
840
851
  /** Notification body text. */
841
852
  body: string;
@@ -949,6 +960,8 @@ export type Content = {
949
960
  viber: Content_PlatformPropertiesViber;
950
961
  /** App Inbox message content. */
951
962
  appInbox: Content_PlatformPropertiesAppInbox;
963
+ /** Facebook Messenger message content. */
964
+ fbMessenger: Content_PlatformPropertiesFBMessenger;
952
965
  };
953
966
  export type LocalizedContent = {
954
967
  /** Locale code (ISO 639-1, "zh-Hant"/"zh-Hans", or "default") to the content sent to devices in that language. */