@pushwoosh/rpc-v2-http-api-data 0.1.516 → 0.1.517

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
@@ -19746,6 +19746,38 @@ export const data = {
19746
19746
  "quickReplies": {
19747
19747
  "type": "string",
19748
19748
  "array": true
19749
+ },
19750
+ "buttonUrlVariables": {
19751
+ "type": "pushwoosh.rpc_v2.whatsapp_presets.ButtonVariable",
19752
+ "array": true
19753
+ },
19754
+ "headerType": {
19755
+ "type": "string"
19756
+ },
19757
+ "headerText": {
19758
+ "type": "string"
19759
+ },
19760
+ "headerVariables": {
19761
+ "type": "string",
19762
+ "array": true
19763
+ },
19764
+ "variableList": {
19765
+ "type": "string",
19766
+ "array": true
19767
+ }
19768
+ }
19769
+ },
19770
+ "pushwoosh.rpc_v2.whatsapp_presets.ButtonVariable": {
19771
+ "type": "I",
19772
+ "fields": {
19773
+ "index": {
19774
+ "type": "number"
19775
+ },
19776
+ "text": {
19777
+ "type": "string"
19778
+ },
19779
+ "url": {
19780
+ "type": "string"
19749
19781
  }
19750
19782
  }
19751
19783
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.516",
3
+ "version": "0.1.517",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -18,6 +18,16 @@ export type WhatsAppPresetProperties = {
18
18
  text: string;
19
19
  variables: Record<string, string>;
20
20
  quickReplies: string[];
21
+ buttonUrlVariables: ButtonVariable[];
22
+ headerType: string;
23
+ headerText: string;
24
+ headerVariables: string[];
25
+ variableList: string[];
26
+ };
27
+ export type ButtonVariable = {
28
+ index: number;
29
+ text: string;
30
+ url: string;
21
31
  };
22
32
  export type ListWhatsAppPresetsResponse = {
23
33
  presets: WhatsAppPreset[];