@pushwoosh/rpc-v2-http-api-data 0.2.499 → 0.2.500

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/chat_presets.d.ts CHANGED
@@ -127,6 +127,11 @@ export type ValidateChatPresetRequest = {
127
127
  category?: string;
128
128
  /** Rich content per language as JSON of the channel-agnostic model. */
129
129
  localizedContent?: Record<string, string>;
130
+ /**
131
+ * Code of the saved preset being edited, if any: its WhatsApp template status is then reported
132
+ * instead of "not submitted". It must belong to the same application.
133
+ */
134
+ code?: string;
130
135
  };
131
136
  export type ValidateChatPresetResponse = {
132
137
  /** Compatibility per channel: "rcs", "whatsapp", "fbmessenger", "line". */
package/data.js CHANGED
@@ -11764,6 +11764,9 @@ export const data = {
11764
11764
  "localizedContent": {
11765
11765
  "type": "string",
11766
11766
  "mapKeyType": "string"
11767
+ },
11768
+ "code": {
11769
+ "type": "string"
11767
11770
  }
11768
11771
  }
11769
11772
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.499",
3
+ "version": "0.2.500",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",