@pushwoosh/rpc-v2-http-api-data 0.1.764 → 0.1.766

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
@@ -1182,6 +1182,10 @@ export const data = {
1182
1182
  "content": {
1183
1183
  "type": "string",
1184
1184
  "optional": true
1185
+ },
1186
+ "actionLink": {
1187
+ "type": "string",
1188
+ "optional": true
1185
1189
  }
1186
1190
  },
1187
1191
  "oneofs": {}
@@ -1303,7 +1307,12 @@ export const data = {
1303
1307
  "optional": true
1304
1308
  },
1305
1309
  "meta": {
1306
- "type": "object"
1310
+ "type": "object",
1311
+ "optional": true
1312
+ },
1313
+ "actionLink": {
1314
+ "type": "string",
1315
+ "optional": true
1307
1316
  }
1308
1317
  },
1309
1318
  "oneofs": {}
@@ -1353,7 +1362,8 @@ export const data = {
1353
1362
  "optional": true
1354
1363
  },
1355
1364
  "meta": {
1356
- "type": "object"
1365
+ "type": "object",
1366
+ "optional": true
1357
1367
  }
1358
1368
  },
1359
1369
  "oneofs": {}
@@ -5725,6 +5735,12 @@ export const data = {
5725
5735
  "method": "post",
5726
5736
  "path": "/api/email_categories"
5727
5737
  },
5738
+ "CreateMany": {
5739
+ "request": "pushwoosh.rpc_v2.email_categories.CreateManyRequest",
5740
+ "response": "pushwoosh.rpc_v2.email_categories.CreateManyResponse",
5741
+ "method": "post",
5742
+ "path": "/api/email_categories:many"
5743
+ },
5728
5744
  "Get": {
5729
5745
  "request": "pushwoosh.rpc_v2.email_categories.GetRequest",
5730
5746
  "response": "pushwoosh.rpc_v2.email_categories.GetResponse",
@@ -5796,6 +5812,27 @@ export const data = {
5796
5812
  }
5797
5813
  }
5798
5814
  },
5815
+ "pushwoosh.rpc_v2.email_categories.CreateManyRequest": {
5816
+ "type": "I",
5817
+ "fields": {
5818
+ "application": {
5819
+ "type": "string"
5820
+ },
5821
+ "categories": {
5822
+ "type": "pushwoosh.rpc_v2.email_categories.Category",
5823
+ "array": true
5824
+ }
5825
+ }
5826
+ },
5827
+ "pushwoosh.rpc_v2.email_categories.CreateManyResponse": {
5828
+ "type": "I",
5829
+ "fields": {
5830
+ "categories": {
5831
+ "type": "pushwoosh.rpc_v2.email_categories.Category",
5832
+ "array": true
5833
+ }
5834
+ }
5835
+ },
5799
5836
  "pushwoosh.rpc_v2.email_categories.GetRequest": {
5800
5837
  "type": "I",
5801
5838
  "fields": {
@@ -5856,6 +5893,12 @@ export const data = {
5856
5893
  "categories": {
5857
5894
  "type": "pushwoosh.rpc_v2.email_categories.Category",
5858
5895
  "array": true
5896
+ },
5897
+ "isEnabled": {
5898
+ "type": "boolean"
5899
+ },
5900
+ "isAvailable": {
5901
+ "type": "boolean"
5859
5902
  }
5860
5903
  }
5861
5904
  },
@@ -10399,6 +10442,10 @@ export const data = {
10399
10442
  "application": {
10400
10443
  "type": "string",
10401
10444
  "optional": true
10445
+ },
10446
+ "actionLink": {
10447
+ "type": "string",
10448
+ "optional": true
10402
10449
  }
10403
10450
  },
10404
10451
  "oneofs": {}
@@ -1,5 +1,6 @@
1
1
  export interface EmailCategoriesService {
2
2
  Create(request: CreateRequest): Promise<CreateResponse>;
3
+ CreateMany(request: CreateManyRequest): Promise<CreateManyResponse>;
3
4
  Get(request: GetRequest): Promise<GetResponse>;
4
5
  Update(request: UpdateRequest): Promise<UpdateResponse>;
5
6
  Delete(request: DeleteRequest): Promise<DeleteResponse>;
@@ -20,6 +21,13 @@ export type CreateRequest = {
20
21
  export type CreateResponse = {
21
22
  category: Category;
22
23
  };
24
+ export type CreateManyRequest = {
25
+ application?: string;
26
+ categories?: Category[];
27
+ };
28
+ export type CreateManyResponse = {
29
+ categories: Category[];
30
+ };
23
31
  export type GetRequest = {
24
32
  code?: string;
25
33
  };
@@ -41,6 +49,8 @@ export type ListRequest = {
41
49
  };
42
50
  export type ListResponse = {
43
51
  categories: Category[];
52
+ isEnabled: boolean;
53
+ isAvailable: boolean;
44
54
  };
45
55
  export type EnableRequest = {
46
56
  application?: string;
@@ -28,6 +28,7 @@ export type Alert = {
28
28
  uuid: string;
29
29
  account: string;
30
30
  application?: string;
31
+ actionLink?: string;
31
32
  };
32
33
  export type ListResponse = {
33
34
  alerts: Alert[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.764",
3
+ "version": "0.1.766",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -7,6 +7,7 @@ export interface AlertsService {
7
7
  export type AlertBanner = {
8
8
  type: AlertType;
9
9
  content?: string;
10
+ actionLink?: string;
10
11
  };
11
12
  export type AlertEmail = {
12
13
  to: string;
@@ -38,7 +39,8 @@ export type ListResponse_Alert = {
38
39
  uuid: string;
39
40
  accountId: number;
40
41
  applicationId?: number;
41
- meta: object;
42
+ meta?: object;
43
+ actionLink?: string;
42
44
  };
43
45
  export type ListResponse = {
44
46
  alerts: ListResponse_Alert[];