@pushwoosh/rpc-gateway-messaging 0.6.152 → 0.6.153

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
@@ -1624,6 +1624,10 @@ export const data = {
1624
1624
  },
1625
1625
  "emailCategory": {
1626
1626
  "type": "string"
1627
+ },
1628
+ "localizedBody": {
1629
+ "type": "string",
1630
+ "mapKeyType": "string"
1627
1631
  }
1628
1632
  }
1629
1633
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-messaging",
3
- "version": "0.6.152",
3
+ "version": "0.6.153",
4
4
  "description": "Channels Messaging API gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -1082,7 +1082,7 @@ export type EmailPayload_Address = {
1082
1082
  export type EmailPayload = {
1083
1083
  /** Subject line for the email. Per-locale values */
1084
1084
  subject: Record<string, string>;
1085
- /** Email body HTML content. Use LocalizedContent to provide per-locale values. */
1085
+ /** Email body HTML content. Use localized_body to provide per-locale values. */
1086
1086
  body: string;
1087
1087
  attachments: EmailPayload_Attachment[];
1088
1088
  /** Custom URL for the List-Unsubscribe header. */
@@ -1104,6 +1104,8 @@ export type EmailPayload = {
1104
1104
  bypassUnsubscribedEmails: boolean;
1105
1105
  /** Email category code or name; required for marketing emails when the application has email categories enabled. */
1106
1106
  emailCategory: string;
1107
+ /** Email body HTML per locale (locale -> HTML); mutually exclusive with body. */
1108
+ localizedBody: Record<string, string>;
1107
1109
  };
1108
1110
  export type AppInboxPayload_expiration_expirationDate = {
1109
1111
  type: 'expirationDate';