@pushwoosh/rpc-v2-http-api-data 0.1.799 → 0.1.800

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
@@ -4,6 +4,7 @@ export interface CloudPagesService {
4
4
  Create(request: CreateCloudPageRequest): Promise<CreateCloudPageResponse>;
5
5
  Update(request: UpdateCloudPageRequest): Promise<UpdateCloudPageResponse>;
6
6
  Delete(request: DeleteCloudPageRequest): Promise<DeleteCloudPageResponse>;
7
+ GetConfig(request: GetCloudPageConfigRequest): Promise<GetCloudPageConfigResponse>;
7
8
  }
8
9
  export type ListCloudPagesRequest_OrderBy = 'NAME' | 'CREATED' | 'UPDATED';
9
10
  export type ListCloudPagesRequest_OrderDirection = 'ASC' | 'DESC';
@@ -20,6 +21,7 @@ export type CloudPage = {
20
21
  name: string;
21
22
  code: string;
22
23
  categories: string[];
24
+ slug: string;
23
25
  content: string;
24
26
  redirectUrl: string;
25
27
  pushwooshJson: string;
@@ -42,6 +44,7 @@ export type CreateCloudPageRequest = {
42
44
  application?: string;
43
45
  name?: string;
44
46
  categories?: string[];
47
+ slug?: string;
45
48
  content?: string;
46
49
  redirectUrl?: string;
47
50
  pushwooshJson?: string;
@@ -53,6 +56,7 @@ export type UpdateCloudPageRequest = {
53
56
  code?: string;
54
57
  name?: string;
55
58
  categories?: string[];
59
+ slug?: string;
56
60
  content?: string;
57
61
  redirectUrl?: string;
58
62
  pushwooshJson?: string;
@@ -64,3 +68,10 @@ export type DeleteCloudPageRequest = {
64
68
  code?: string;
65
69
  };
66
70
  export type DeleteCloudPageResponse = {};
71
+ export type GetCloudPageConfigRequest = {
72
+ application?: string;
73
+ };
74
+ export type GetCloudPageConfigResponse = {
75
+ slugAllowed: boolean;
76
+ slugDomain: string;
77
+ };
package/data.js CHANGED
@@ -5617,6 +5617,12 @@ export const data = {
5617
5617
  "response": "pushwoosh.rpc_v2.cloud_pages.DeleteCloudPageResponse",
5618
5618
  "method": "delete",
5619
5619
  "path": "/api/cloud_pages/{code}"
5620
+ },
5621
+ "GetConfig": {
5622
+ "request": "pushwoosh.rpc_v2.cloud_pages.GetCloudPageConfigRequest",
5623
+ "response": "pushwoosh.rpc_v2.cloud_pages.GetCloudPageConfigResponse",
5624
+ "method": "get",
5625
+ "path": "/api/cloud_pages/config"
5620
5626
  }
5621
5627
  }
5622
5628
  },
@@ -5675,6 +5681,9 @@ export const data = {
5675
5681
  "type": "string",
5676
5682
  "array": true
5677
5683
  },
5684
+ "slug": {
5685
+ "type": "string"
5686
+ },
5678
5687
  "content": {
5679
5688
  "type": "string"
5680
5689
  },
@@ -5739,6 +5748,9 @@ export const data = {
5739
5748
  "type": "string",
5740
5749
  "array": true
5741
5750
  },
5751
+ "slug": {
5752
+ "type": "string"
5753
+ },
5742
5754
  "content": {
5743
5755
  "type": "string"
5744
5756
  },
@@ -5771,6 +5783,9 @@ export const data = {
5771
5783
  "type": "string",
5772
5784
  "array": true
5773
5785
  },
5786
+ "slug": {
5787
+ "type": "string"
5788
+ },
5774
5789
  "content": {
5775
5790
  "type": "string"
5776
5791
  },
@@ -5802,6 +5817,25 @@ export const data = {
5802
5817
  "type": "I",
5803
5818
  "fields": {}
5804
5819
  },
5820
+ "pushwoosh.rpc_v2.cloud_pages.GetCloudPageConfigRequest": {
5821
+ "type": "I",
5822
+ "fields": {
5823
+ "application": {
5824
+ "type": "string"
5825
+ }
5826
+ }
5827
+ },
5828
+ "pushwoosh.rpc_v2.cloud_pages.GetCloudPageConfigResponse": {
5829
+ "type": "I",
5830
+ "fields": {
5831
+ "slugAllowed": {
5832
+ "type": "boolean"
5833
+ },
5834
+ "slugDomain": {
5835
+ "type": "string"
5836
+ }
5837
+ }
5838
+ },
5805
5839
  "pushwoosh.rpc_v2.customer_journey.CustomerJourneyService": {
5806
5840
  "type": "S",
5807
5841
  "key": "customerJourney",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.799",
3
+ "version": "0.1.800",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",