@pushwoosh/rpc-gateway-messaging 0.6.74 → 0.6.76

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
@@ -1185,6 +1185,16 @@ export const data = {
1185
1185
  "fields": {
1186
1186
  "body": {
1187
1187
  "type": "string"
1188
+ },
1189
+ "subject": {
1190
+ "type": "string"
1191
+ },
1192
+ "fileUrls": {
1193
+ "type": "string",
1194
+ "array": true
1195
+ },
1196
+ "messageAt": {
1197
+ "type": "number"
1188
1198
  }
1189
1199
  }
1190
1200
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-messaging",
3
- "version": "0.6.74",
3
+ "version": "0.6.76",
4
4
  "description": "Channels Messaging API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -554,6 +554,14 @@ export type Content_PlatformPropertiesWindows = {
554
554
  };
555
555
  export type Content_PlatformPropertiesSMS = {
556
556
  body: string;
557
+ /**
558
+ * MMS: a subject and attachment URLs turn the message into an MMS. Only providers with
559
+ * an MMS endpoint (AbleMobile) deliver them, the rest ignore both fields.
560
+ */
561
+ subject: string;
562
+ fileUrls: string[];
563
+ /** Attachment index the body text is shown after; 0 means after the first attachment. */
564
+ messageAt: number;
557
565
  };
558
566
  export type Content_PlatformPropertiesTelegram = {
559
567
  body: string;