@pushwoosh/rpc-v2-http-api-data 0.1.922 → 0.1.924

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/cloud_pages.d.ts CHANGED
@@ -26,6 +26,7 @@ export type ListCloudPagesRequest = {
26
26
  /** in ['category'] */
27
27
  searchByCategory?: string[];
28
28
  };
29
+ export type ExistingUserBehavior = 'UPDATE' | 'SKIP' | 'ERROR';
29
30
  export type CloudPage = {
30
31
  name: string;
31
32
  code: string;
@@ -36,6 +37,7 @@ export type CloudPage = {
36
37
  pushwooshJson: string;
37
38
  created: Date;
38
39
  updated: Date;
40
+ existingUserBehavior: ExistingUserBehavior;
39
41
  };
40
42
  export type ListCloudPagesResponse = {
41
43
  presets: CloudPage[];
@@ -57,6 +59,7 @@ export type CreateCloudPageRequest = {
57
59
  content?: string;
58
60
  redirectUrl?: string;
59
61
  pushwooshJson?: string;
62
+ existingUserBehavior?: ExistingUserBehavior;
60
63
  };
61
64
  export type CreateCloudPageResponse = {
62
65
  preset: CloudPage;
@@ -69,6 +72,7 @@ export type UpdateCloudPageRequest = {
69
72
  content?: string;
70
73
  redirectUrl?: string;
71
74
  pushwooshJson?: string;
75
+ existingUserBehavior?: ExistingUserBehavior;
72
76
  };
73
77
  export type UpdateCloudPageResponse = {
74
78
  preset: CloudPage;
package/data.js CHANGED
@@ -5566,6 +5566,14 @@ export const data = {
5566
5566
  }
5567
5567
  }
5568
5568
  },
5569
+ "pushwoosh.rpc_v2.cloud_pages.ExistingUserBehavior": {
5570
+ "type": "E",
5571
+ "values": [
5572
+ "UPDATE",
5573
+ "SKIP",
5574
+ "ERROR"
5575
+ ]
5576
+ },
5569
5577
  "pushwoosh.rpc_v2.cloud_pages.CloudPage": {
5570
5578
  "type": "I",
5571
5579
  "fields": {
@@ -5596,6 +5604,9 @@ export const data = {
5596
5604
  },
5597
5605
  "updated": {
5598
5606
  "type": "Date"
5607
+ },
5608
+ "existingUserBehavior": {
5609
+ "type": "pushwoosh.rpc_v2.cloud_pages.ExistingUserBehavior"
5599
5610
  }
5600
5611
  }
5601
5612
  },
@@ -5657,6 +5668,9 @@ export const data = {
5657
5668
  },
5658
5669
  "pushwooshJson": {
5659
5670
  "type": "string"
5671
+ },
5672
+ "existingUserBehavior": {
5673
+ "type": "pushwoosh.rpc_v2.cloud_pages.ExistingUserBehavior"
5660
5674
  }
5661
5675
  }
5662
5676
  },
@@ -5692,6 +5706,9 @@ export const data = {
5692
5706
  },
5693
5707
  "pushwooshJson": {
5694
5708
  "type": "string"
5709
+ },
5710
+ "existingUserBehavior": {
5711
+ "type": "pushwoosh.rpc_v2.cloud_pages.ExistingUserBehavior"
5695
5712
  }
5696
5713
  }
5697
5714
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.922",
3
+ "version": "0.1.924",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",