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

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.
@@ -75,6 +75,10 @@ export type BaiduConfiguration = {
75
75
  baiduAndroidFramework: string;
76
76
  baiduAndroidSecretKey: string;
77
77
  };
78
+ export type LineConfiguration = {
79
+ lineChannelId: string;
80
+ lineChannelSecret: string;
81
+ };
78
82
  export type ConfigurationRequest_kind_iosTokenConfiguration = {
79
83
  type: 'iosTokenConfiguration';
80
84
  data: IOSTokenConfiguration;
@@ -127,7 +131,11 @@ export type ConfigurationRequest_kind_baiduConfiguration = {
127
131
  type: 'baiduConfiguration';
128
132
  data: BaiduConfiguration;
129
133
  };
130
- export type ConfigurationRequest_kind = ConfigurationRequest_kind_iosTokenConfiguration | ConfigurationRequest_kind_androidConfiguration | ConfigurationRequest_kind_chromeConfiguration | ConfigurationRequest_kind_emailConfiguration | ConfigurationRequest_kind_xiaomiConfiguration | ConfigurationRequest_kind_huaweiConfiguration | ConfigurationRequest_kind_safariConfiguration | ConfigurationRequest_kind_windowsConfiguration | ConfigurationRequest_kind_amazonConfiguration | ConfigurationRequest_kind_osxConfiguration | ConfigurationRequest_kind_iosConfiguration | ConfigurationRequest_kind_firefoxConfiguration | ConfigurationRequest_kind_baiduConfiguration;
134
+ export type ConfigurationRequest_kind_lineConfiguration = {
135
+ type: 'lineConfiguration';
136
+ data: LineConfiguration;
137
+ };
138
+ export type ConfigurationRequest_kind = ConfigurationRequest_kind_iosTokenConfiguration | ConfigurationRequest_kind_androidConfiguration | ConfigurationRequest_kind_chromeConfiguration | ConfigurationRequest_kind_emailConfiguration | ConfigurationRequest_kind_xiaomiConfiguration | ConfigurationRequest_kind_huaweiConfiguration | ConfigurationRequest_kind_safariConfiguration | ConfigurationRequest_kind_windowsConfiguration | ConfigurationRequest_kind_amazonConfiguration | ConfigurationRequest_kind_osxConfiguration | ConfigurationRequest_kind_iosConfiguration | ConfigurationRequest_kind_firefoxConfiguration | ConfigurationRequest_kind_baiduConfiguration | ConfigurationRequest_kind_lineConfiguration;
131
139
  export type ConfigurationRequest = {
132
140
  code?: string;
133
141
  kind: ConfigurationRequest_kind;
package/data.js CHANGED
@@ -2361,6 +2361,17 @@ export const data = {
2361
2361
  }
2362
2362
  }
2363
2363
  },
2364
+ "pushwoosh.rpc_v2.applications_configurations.LineConfiguration": {
2365
+ "type": "I",
2366
+ "fields": {
2367
+ "lineChannelId": {
2368
+ "type": "string"
2369
+ },
2370
+ "lineChannelSecret": {
2371
+ "type": "string"
2372
+ }
2373
+ }
2374
+ },
2364
2375
  "pushwoosh.rpc_v2.applications_configurations.ConfigurationRequest": {
2365
2376
  "type": "I",
2366
2377
  "fields": {
@@ -2405,6 +2416,9 @@ export const data = {
2405
2416
  },
2406
2417
  "baiduConfiguration": {
2407
2418
  "type": "pushwoosh.rpc_v2.applications_configurations.BaiduConfiguration"
2419
+ },
2420
+ "lineConfiguration": {
2421
+ "type": "pushwoosh.rpc_v2.applications_configurations.LineConfiguration"
2408
2422
  }
2409
2423
  },
2410
2424
  "oneofs": {
@@ -2422,7 +2436,8 @@ export const data = {
2422
2436
  "osxConfiguration",
2423
2437
  "iosConfiguration",
2424
2438
  "firefoxConfiguration",
2425
- "baiduConfiguration"
2439
+ "baiduConfiguration",
2440
+ "lineConfiguration"
2426
2441
  ]
2427
2442
  }
2428
2443
  }
@@ -19746,6 +19761,38 @@ export const data = {
19746
19761
  "quickReplies": {
19747
19762
  "type": "string",
19748
19763
  "array": true
19764
+ },
19765
+ "buttonUrlVariables": {
19766
+ "type": "pushwoosh.rpc_v2.whatsapp_presets.ButtonVariable",
19767
+ "array": true
19768
+ },
19769
+ "headerType": {
19770
+ "type": "string"
19771
+ },
19772
+ "headerText": {
19773
+ "type": "string"
19774
+ },
19775
+ "headerVariables": {
19776
+ "type": "string",
19777
+ "array": true
19778
+ },
19779
+ "variableList": {
19780
+ "type": "string",
19781
+ "array": true
19782
+ }
19783
+ }
19784
+ },
19785
+ "pushwoosh.rpc_v2.whatsapp_presets.ButtonVariable": {
19786
+ "type": "I",
19787
+ "fields": {
19788
+ "index": {
19789
+ "type": "number"
19790
+ },
19791
+ "text": {
19792
+ "type": "string"
19793
+ },
19794
+ "url": {
19795
+ "type": "string"
19749
19796
  }
19750
19797
  }
19751
19798
  },
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.518",
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[];