@pushwoosh/rpc-gateway-messaging 0.6.207 → 0.6.208

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
@@ -1417,6 +1417,17 @@ export const data = {
1417
1417
  }
1418
1418
  }
1419
1419
  },
1420
+ "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesSMS.RCS": {
1421
+ "type": "I",
1422
+ "fields": {
1423
+ "contentSid": {
1424
+ "type": "string"
1425
+ },
1426
+ "contentVariables": {
1427
+ "type": "string"
1428
+ }
1429
+ }
1430
+ },
1420
1431
  "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesSMS": {
1421
1432
  "type": "I",
1422
1433
  "fields": {
@@ -1432,6 +1443,9 @@ export const data = {
1432
1443
  },
1433
1444
  "messageAt": {
1434
1445
  "type": "number"
1446
+ },
1447
+ "rcs": {
1448
+ "type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesSMS.RCS"
1435
1449
  }
1436
1450
  }
1437
1451
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-messaging",
3
- "version": "0.6.207",
3
+ "version": "0.6.208",
4
4
  "description": "Channels Messaging API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -938,6 +938,12 @@ export type Content_PlatformPropertiesAppInbox = {
938
938
  /** Per-platform override of open_action, keyed by the numeric platform code. */
939
939
  openActions: Record<number, OpenAction>;
940
940
  };
941
+ export type Content_PlatformPropertiesSMS_RCS = {
942
+ /** Twilio Content template SID (HX followed by 32 hex characters). */
943
+ contentSid: string;
944
+ /** JSON object of template variables; values may hold tags and Liquid. */
945
+ contentVariables: string;
946
+ };
941
947
  export type Content_PlatformPropertiesSMS = {
942
948
  /** Notification body text. */
943
949
  body: string;
@@ -949,6 +955,11 @@ export type Content_PlatformPropertiesSMS = {
949
955
  fileUrls: string[];
950
956
  /** Attachment index the body text is shown after; 0 means after the first attachment. */
951
957
  messageAt: number;
958
+ /**
959
+ * RCS: a Twilio Content template sent instead of the body; Twilio falls back to the template's
960
+ * own SMS text. Accepted only for Twilio applications with their own credentials and a Messaging Service.
961
+ */
962
+ rcs: Content_PlatformPropertiesSMS_RCS;
952
963
  };
953
964
  export type Content_PlatformPropertiesTelegram = {
954
965
  /** Message text. */