@pushwoosh/rpc-v2-http-api-data 0.2.132 → 0.2.133

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
@@ -27055,6 +27055,10 @@ export const data = {
27055
27055
  },
27056
27056
  "fallbackMode": {
27057
27057
  "type": "string"
27058
+ },
27059
+ "intro": {
27060
+ "type": "string",
27061
+ "mapKeyType": "string"
27058
27062
  }
27059
27063
  }
27060
27064
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.132",
3
+ "version": "0.2.133",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
package/sms_presets.d.ts CHANGED
@@ -55,7 +55,10 @@ export type SmsProductsSource_Rule = {
55
55
  */
56
56
  export type SmsProductsSource = {
57
57
  rule: SmsProductsSource_Rule;
58
- /** Repeated per product; localized_content holds the intro that precedes the list. */
58
+ /**
59
+ * Repeated per product; localized_content holds the assembled body, so the authored
60
+ * intro travels in `intro` rather than there.
61
+ */
59
62
  itemTemplate: Record<string, string>;
60
63
  /** Follows the list, sent once. */
61
64
  outro: Record<string, string>;
@@ -67,6 +70,8 @@ export type SmsProductsSource = {
67
70
  trimTitle: number;
68
71
  /** One of: skip (do not send to this recipient), text (send fallback_text). */
69
72
  fallbackMode: string;
73
+ /** Opens the message, sent once, before the product list. */
74
+ intro: Record<string, string>;
70
75
  };
71
76
  export type SmsPreset = {
72
77
  name: string;