@pushwoosh/rpc-gateway-messaging 0.6.115 → 0.6.117

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",
@@ -1272,6 +1273,20 @@ export const data = {
1272
1273
  }
1273
1274
  }
1274
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
+ },
1275
1290
  "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesViber": {
1276
1291
  "type": "I",
1277
1292
  "fields": {
@@ -1403,6 +1418,9 @@ export const data = {
1403
1418
  },
1404
1419
  "appInbox": {
1405
1420
  "type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesAppInbox"
1421
+ },
1422
+ "fbMessenger": {
1423
+ "type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesFBMessenger"
1406
1424
  }
1407
1425
  }
1408
1426
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-messaging",
3
- "version": "0.6.115",
3
+ "version": "0.6.117",
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;
@@ -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. */