@pushwoosh/rpc-v2-http-api-data 0.2.200 → 0.2.202

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.
@@ -0,0 +1,81 @@
1
+ import { RpcMethod } from './commonTypes';
2
+ export type appInboxPresetsService_List = RpcMethod<ListAppInboxPresetsRequest, ListAppInboxPresetsResponse>;
3
+ export type appInboxPresetsService_Get = RpcMethod<GetAppInboxPresetRequest, GetAppInboxPresetResponse>;
4
+ export type appInboxPresetsService_Create = RpcMethod<CreateAppInboxPresetRequest, CreateAppInboxPresetResponse>;
5
+ export type appInboxPresetsService_Update = RpcMethod<UpdateAppInboxPresetRequest, UpdateAppInboxPresetResponse>;
6
+ export type appInboxPresetsService_Delete = RpcMethod<DeleteAppInboxPresetRequest, DeleteAppInboxPresetResponse>;
7
+ export interface appInboxPresetsService {
8
+ List: appInboxPresetsService_List;
9
+ Get: appInboxPresetsService_Get;
10
+ Create: appInboxPresetsService_Create;
11
+ Update: appInboxPresetsService_Update;
12
+ Delete: appInboxPresetsService_Delete;
13
+ }
14
+ export type ListAppInboxPresetsRequest_OrderBy = 'NAME' | 'CREATED' | 'UPDATED';
15
+ export type ListAppInboxPresetsRequest_OrderDirection = 'ASC' | 'DESC';
16
+ export type ListAppInboxPresetsRequest = {
17
+ application?: string;
18
+ orderBy?: ListAppInboxPresetsRequest_OrderBy;
19
+ orderDirection?: ListAppInboxPresetsRequest_OrderDirection;
20
+ page?: number;
21
+ perPage?: number;
22
+ searchByName?: string;
23
+ searchByCategory?: string[];
24
+ };
25
+ export type AppInboxPresetOpenAction = {
26
+ type: string;
27
+ url: string;
28
+ deepLinkCode: string;
29
+ deepLinkParams: Record<string, string>;
30
+ richMediaCode: string;
31
+ };
32
+ export type AppInboxPresetLocale = {
33
+ title: string;
34
+ body: string;
35
+ iconUrl: string;
36
+ bannerUrl: string;
37
+ openAction: AppInboxPresetOpenAction;
38
+ customData: object;
39
+ };
40
+ export type AppInboxPreset = {
41
+ name: string;
42
+ code: string;
43
+ categories: string[];
44
+ localizedContent: Record<string, AppInboxPresetLocale>;
45
+ created: Date;
46
+ updated: Date;
47
+ };
48
+ export type ListAppInboxPresetsResponse = {
49
+ presets: AppInboxPreset[];
50
+ page: number;
51
+ perPage: number;
52
+ total: number;
53
+ };
54
+ export type GetAppInboxPresetRequest = {
55
+ code?: string;
56
+ };
57
+ export type GetAppInboxPresetResponse = {
58
+ preset: AppInboxPreset;
59
+ };
60
+ export type CreateAppInboxPresetRequest = {
61
+ application?: string;
62
+ name?: string;
63
+ categories?: string[];
64
+ localizedContent?: Record<string, AppInboxPresetLocale>;
65
+ };
66
+ export type CreateAppInboxPresetResponse = {
67
+ preset: AppInboxPreset;
68
+ };
69
+ export type UpdateAppInboxPresetRequest = {
70
+ code?: string;
71
+ name?: string;
72
+ categories?: string[];
73
+ localizedContent?: Record<string, AppInboxPresetLocale>;
74
+ };
75
+ export type UpdateAppInboxPresetResponse = {
76
+ preset: AppInboxPreset;
77
+ };
78
+ export type DeleteAppInboxPresetRequest = {
79
+ code?: string;
80
+ };
81
+ export type DeleteAppInboxPresetResponse = {};
@@ -0,0 +1,3 @@
1
+ /* eslint-disable */
2
+ /* Autogenerated code */
3
+ export {};
@@ -19,7 +19,12 @@ export type ApplicationPlatformsInfo_PlatformInfo = {
19
19
  certificateTimeLeft: Duration;
20
20
  properties: Record<string, string>;
21
21
  };
22
+ export type ApplicationPlatformsInfo_AppInboxInfo = {
23
+ available: boolean;
24
+ integrated: boolean;
25
+ };
22
26
  export type ApplicationPlatformsInfo = {
23
27
  application: string;
24
28
  platforms: Record<number, ApplicationPlatformsInfo_PlatformInfo>;
29
+ appInbox: ApplicationPlatformsInfo_AppInboxInfo;
25
30
  };
package/data.js CHANGED
@@ -4888,6 +4888,253 @@ export const data = {
4888
4888
  "type": "I",
4889
4889
  "fields": {}
4890
4890
  },
4891
+ "pushwoosh.rpc_v2.app_inbox_presets.appInboxPresetsService": {
4892
+ "type": "S",
4893
+ "key": "appInboxPresets",
4894
+ "methods": {
4895
+ "List": {
4896
+ "request": "pushwoosh.rpc_v2.app_inbox_presets.ListAppInboxPresetsRequest",
4897
+ "response": "pushwoosh.rpc_v2.app_inbox_presets.ListAppInboxPresetsResponse",
4898
+ "method": "get",
4899
+ "path": "/api/app_inbox_presets"
4900
+ },
4901
+ "Get": {
4902
+ "request": "pushwoosh.rpc_v2.app_inbox_presets.GetAppInboxPresetRequest",
4903
+ "response": "pushwoosh.rpc_v2.app_inbox_presets.GetAppInboxPresetResponse",
4904
+ "method": "get",
4905
+ "path": "/api/app_inbox_presets/{code}"
4906
+ },
4907
+ "Create": {
4908
+ "request": "pushwoosh.rpc_v2.app_inbox_presets.CreateAppInboxPresetRequest",
4909
+ "response": "pushwoosh.rpc_v2.app_inbox_presets.CreateAppInboxPresetResponse",
4910
+ "method": "post",
4911
+ "path": "/api/app_inbox_presets"
4912
+ },
4913
+ "Update": {
4914
+ "request": "pushwoosh.rpc_v2.app_inbox_presets.UpdateAppInboxPresetRequest",
4915
+ "response": "pushwoosh.rpc_v2.app_inbox_presets.UpdateAppInboxPresetResponse",
4916
+ "method": "put",
4917
+ "path": "/api/app_inbox_presets/{code}"
4918
+ },
4919
+ "Delete": {
4920
+ "request": "pushwoosh.rpc_v2.app_inbox_presets.DeleteAppInboxPresetRequest",
4921
+ "response": "pushwoosh.rpc_v2.app_inbox_presets.DeleteAppInboxPresetResponse",
4922
+ "method": "delete",
4923
+ "path": "/api/app_inbox_presets/{code}"
4924
+ }
4925
+ }
4926
+ },
4927
+ "pushwoosh.rpc_v2.app_inbox_presets.ListAppInboxPresetsRequest.OrderBy": {
4928
+ "type": "E",
4929
+ "values": [
4930
+ "NAME",
4931
+ "CREATED",
4932
+ "UPDATED"
4933
+ ]
4934
+ },
4935
+ "pushwoosh.rpc_v2.app_inbox_presets.ListAppInboxPresetsRequest.OrderDirection": {
4936
+ "type": "E",
4937
+ "values": [
4938
+ "ASC",
4939
+ "DESC"
4940
+ ]
4941
+ },
4942
+ "pushwoosh.rpc_v2.app_inbox_presets.ListAppInboxPresetsRequest": {
4943
+ "type": "I",
4944
+ "fields": {
4945
+ "application": {
4946
+ "type": "string"
4947
+ },
4948
+ "orderBy": {
4949
+ "type": "pushwoosh.rpc_v2.app_inbox_presets.ListAppInboxPresetsRequest.OrderBy"
4950
+ },
4951
+ "orderDirection": {
4952
+ "type": "pushwoosh.rpc_v2.app_inbox_presets.ListAppInboxPresetsRequest.OrderDirection"
4953
+ },
4954
+ "page": {
4955
+ "type": "number"
4956
+ },
4957
+ "perPage": {
4958
+ "type": "number"
4959
+ },
4960
+ "searchByName": {
4961
+ "type": "string"
4962
+ },
4963
+ "searchByCategory": {
4964
+ "type": "string",
4965
+ "array": true
4966
+ }
4967
+ }
4968
+ },
4969
+ "pushwoosh.rpc_v2.app_inbox_presets.AppInboxPresetOpenAction": {
4970
+ "type": "I",
4971
+ "fields": {
4972
+ "type": {
4973
+ "type": "string"
4974
+ },
4975
+ "url": {
4976
+ "type": "string"
4977
+ },
4978
+ "deepLinkCode": {
4979
+ "type": "string"
4980
+ },
4981
+ "deepLinkParams": {
4982
+ "type": "string",
4983
+ "mapKeyType": "string"
4984
+ },
4985
+ "richMediaCode": {
4986
+ "type": "string"
4987
+ }
4988
+ }
4989
+ },
4990
+ "pushwoosh.rpc_v2.app_inbox_presets.AppInboxPresetLocale": {
4991
+ "type": "I",
4992
+ "fields": {
4993
+ "title": {
4994
+ "type": "string"
4995
+ },
4996
+ "body": {
4997
+ "type": "string"
4998
+ },
4999
+ "iconUrl": {
5000
+ "type": "string"
5001
+ },
5002
+ "bannerUrl": {
5003
+ "type": "string"
5004
+ },
5005
+ "openAction": {
5006
+ "type": "pushwoosh.rpc_v2.app_inbox_presets.AppInboxPresetOpenAction"
5007
+ },
5008
+ "customData": {
5009
+ "type": "object"
5010
+ }
5011
+ }
5012
+ },
5013
+ "pushwoosh.rpc_v2.app_inbox_presets.AppInboxPreset": {
5014
+ "type": "I",
5015
+ "fields": {
5016
+ "name": {
5017
+ "type": "string"
5018
+ },
5019
+ "code": {
5020
+ "type": "string"
5021
+ },
5022
+ "categories": {
5023
+ "type": "string",
5024
+ "array": true
5025
+ },
5026
+ "localizedContent": {
5027
+ "type": "pushwoosh.rpc_v2.app_inbox_presets.AppInboxPresetLocale",
5028
+ "mapKeyType": "string"
5029
+ },
5030
+ "created": {
5031
+ "type": "Date"
5032
+ },
5033
+ "updated": {
5034
+ "type": "Date"
5035
+ }
5036
+ }
5037
+ },
5038
+ "pushwoosh.rpc_v2.app_inbox_presets.ListAppInboxPresetsResponse": {
5039
+ "type": "I",
5040
+ "fields": {
5041
+ "presets": {
5042
+ "type": "pushwoosh.rpc_v2.app_inbox_presets.AppInboxPreset",
5043
+ "array": true
5044
+ },
5045
+ "page": {
5046
+ "type": "number"
5047
+ },
5048
+ "perPage": {
5049
+ "type": "number"
5050
+ },
5051
+ "total": {
5052
+ "type": "number"
5053
+ }
5054
+ }
5055
+ },
5056
+ "pushwoosh.rpc_v2.app_inbox_presets.GetAppInboxPresetRequest": {
5057
+ "type": "I",
5058
+ "fields": {
5059
+ "code": {
5060
+ "type": "string"
5061
+ }
5062
+ }
5063
+ },
5064
+ "pushwoosh.rpc_v2.app_inbox_presets.GetAppInboxPresetResponse": {
5065
+ "type": "I",
5066
+ "fields": {
5067
+ "preset": {
5068
+ "type": "pushwoosh.rpc_v2.app_inbox_presets.AppInboxPreset"
5069
+ }
5070
+ }
5071
+ },
5072
+ "pushwoosh.rpc_v2.app_inbox_presets.CreateAppInboxPresetRequest": {
5073
+ "type": "I",
5074
+ "fields": {
5075
+ "application": {
5076
+ "type": "string"
5077
+ },
5078
+ "name": {
5079
+ "type": "string"
5080
+ },
5081
+ "categories": {
5082
+ "type": "string",
5083
+ "array": true
5084
+ },
5085
+ "localizedContent": {
5086
+ "type": "pushwoosh.rpc_v2.app_inbox_presets.AppInboxPresetLocale",
5087
+ "mapKeyType": "string"
5088
+ }
5089
+ }
5090
+ },
5091
+ "pushwoosh.rpc_v2.app_inbox_presets.CreateAppInboxPresetResponse": {
5092
+ "type": "I",
5093
+ "fields": {
5094
+ "preset": {
5095
+ "type": "pushwoosh.rpc_v2.app_inbox_presets.AppInboxPreset"
5096
+ }
5097
+ }
5098
+ },
5099
+ "pushwoosh.rpc_v2.app_inbox_presets.UpdateAppInboxPresetRequest": {
5100
+ "type": "I",
5101
+ "fields": {
5102
+ "code": {
5103
+ "type": "string"
5104
+ },
5105
+ "name": {
5106
+ "type": "string"
5107
+ },
5108
+ "categories": {
5109
+ "type": "string",
5110
+ "array": true
5111
+ },
5112
+ "localizedContent": {
5113
+ "type": "pushwoosh.rpc_v2.app_inbox_presets.AppInboxPresetLocale",
5114
+ "mapKeyType": "string"
5115
+ }
5116
+ }
5117
+ },
5118
+ "pushwoosh.rpc_v2.app_inbox_presets.UpdateAppInboxPresetResponse": {
5119
+ "type": "I",
5120
+ "fields": {
5121
+ "preset": {
5122
+ "type": "pushwoosh.rpc_v2.app_inbox_presets.AppInboxPreset"
5123
+ }
5124
+ }
5125
+ },
5126
+ "pushwoosh.rpc_v2.app_inbox_presets.DeleteAppInboxPresetRequest": {
5127
+ "type": "I",
5128
+ "fields": {
5129
+ "code": {
5130
+ "type": "string"
5131
+ }
5132
+ }
5133
+ },
5134
+ "pushwoosh.rpc_v2.app_inbox_presets.DeleteAppInboxPresetResponse": {
5135
+ "type": "I",
5136
+ "fields": {}
5137
+ },
4891
5138
  "pushwoosh.rpc_v2.applications.ApplicationsService": {
4892
5139
  "type": "S",
4893
5140
  "key": "applications",
@@ -6952,6 +7199,17 @@ export const data = {
6952
7199
  }
6953
7200
  }
6954
7201
  },
7202
+ "pushwoosh.rpc_v2.applications_info.ApplicationPlatformsInfo.AppInboxInfo": {
7203
+ "type": "I",
7204
+ "fields": {
7205
+ "available": {
7206
+ "type": "boolean"
7207
+ },
7208
+ "integrated": {
7209
+ "type": "boolean"
7210
+ }
7211
+ }
7212
+ },
6955
7213
  "pushwoosh.rpc_v2.applications_info.ApplicationPlatformsInfo": {
6956
7214
  "type": "I",
6957
7215
  "fields": {
@@ -6961,6 +7219,9 @@ export const data = {
6961
7219
  "platforms": {
6962
7220
  "type": "pushwoosh.rpc_v2.applications_info.ApplicationPlatformsInfo.PlatformInfo",
6963
7221
  "mapKeyType": "number"
7222
+ },
7223
+ "appInbox": {
7224
+ "type": "pushwoosh.rpc_v2.applications_info.ApplicationPlatformsInfo.AppInboxInfo"
6964
7225
  }
6965
7226
  }
6966
7227
  },
@@ -12339,6 +12600,9 @@ export const data = {
12339
12600
  "fields": {
12340
12601
  "file": {
12341
12602
  "type": "string"
12603
+ },
12604
+ "fileUrl": {
12605
+ "type": "string"
12342
12606
  }
12343
12607
  }
12344
12608
  },
@@ -12499,6 +12763,9 @@ export const data = {
12499
12763
  },
12500
12764
  "truncated": {
12501
12765
  "type": "boolean"
12766
+ },
12767
+ "fileUrl": {
12768
+ "type": "string"
12502
12769
  }
12503
12770
  }
12504
12771
  },
@@ -12521,6 +12788,9 @@ export const data = {
12521
12788
  "fields": {
12522
12789
  "file": {
12523
12790
  "type": "string"
12791
+ },
12792
+ "fileUrl": {
12793
+ "type": "string"
12524
12794
  }
12525
12795
  }
12526
12796
  },
@@ -12543,6 +12813,9 @@ export const data = {
12543
12813
  "fields": {
12544
12814
  "file": {
12545
12815
  "type": "string"
12816
+ },
12817
+ "fileUrl": {
12818
+ "type": "string"
12546
12819
  }
12547
12820
  }
12548
12821
  },
@@ -12613,6 +12886,9 @@ export const data = {
12613
12886
  "fields": {
12614
12887
  "file": {
12615
12888
  "type": "string"
12889
+ },
12890
+ "fileUrl": {
12891
+ "type": "string"
12616
12892
  }
12617
12893
  }
12618
12894
  },
@@ -12726,6 +13002,9 @@ export const data = {
12726
13002
  "fields": {
12727
13003
  "file": {
12728
13004
  "type": "string"
13005
+ },
13006
+ "fileUrl": {
13007
+ "type": "string"
12729
13008
  }
12730
13009
  }
12731
13010
  },
@@ -12790,6 +13069,9 @@ export const data = {
12790
13069
  },
12791
13070
  "file": {
12792
13071
  "type": "string"
13072
+ },
13073
+ "fileUrl": {
13074
+ "type": "string"
12793
13075
  }
12794
13076
  },
12795
13077
  "oneofs": {
@@ -12840,6 +13122,9 @@ export const data = {
12840
13122
  "fields": {
12841
13123
  "file": {
12842
13124
  "type": "string"
13125
+ },
13126
+ "fileUrl": {
13127
+ "type": "string"
12843
13128
  }
12844
13129
  }
12845
13130
  },
@@ -12885,6 +13170,9 @@ export const data = {
12885
13170
  "fields": {
12886
13171
  "file": {
12887
13172
  "type": "string"
13173
+ },
13174
+ "fileUrl": {
13175
+ "type": "string"
12888
13176
  }
12889
13177
  }
12890
13178
  },
@@ -12913,6 +13201,9 @@ export const data = {
12913
13201
  "fields": {
12914
13202
  "file": {
12915
13203
  "type": "string"
13204
+ },
13205
+ "fileUrl": {
13206
+ "type": "string"
12916
13207
  }
12917
13208
  }
12918
13209
  },
@@ -12952,6 +13243,9 @@ export const data = {
12952
13243
  "fields": {
12953
13244
  "file": {
12954
13245
  "type": "string"
13246
+ },
13247
+ "fileUrl": {
13248
+ "type": "string"
12955
13249
  }
12956
13250
  }
12957
13251
  },
@@ -12983,6 +13277,9 @@ export const data = {
12983
13277
  "fields": {
12984
13278
  "file": {
12985
13279
  "type": "string"
13280
+ },
13281
+ "fileUrl": {
13282
+ "type": "string"
12986
13283
  }
12987
13284
  }
12988
13285
  },
@@ -13016,6 +13313,9 @@ export const data = {
13016
13313
  "fields": {
13017
13314
  "file": {
13018
13315
  "type": "string"
13316
+ },
13317
+ "fileUrl": {
13318
+ "type": "string"
13019
13319
  }
13020
13320
  }
13021
13321
  },
@@ -13053,6 +13353,9 @@ export const data = {
13053
13353
  "fields": {
13054
13354
  "file": {
13055
13355
  "type": "string"
13356
+ },
13357
+ "fileUrl": {
13358
+ "type": "string"
13056
13359
  }
13057
13360
  }
13058
13361
  },
@@ -13170,6 +13473,9 @@ export const data = {
13170
13473
  "fields": {
13171
13474
  "file": {
13172
13475
  "type": "string"
13476
+ },
13477
+ "fileUrl": {
13478
+ "type": "string"
13173
13479
  }
13174
13480
  }
13175
13481
  },
@@ -13212,6 +13518,9 @@ export const data = {
13212
13518
  "fields": {
13213
13519
  "file": {
13214
13520
  "type": "string"
13521
+ },
13522
+ "fileUrl": {
13523
+ "type": "string"
13215
13524
  }
13216
13525
  }
13217
13526
  },
@@ -13240,6 +13549,9 @@ export const data = {
13240
13549
  "fields": {
13241
13550
  "file": {
13242
13551
  "type": "string"
13552
+ },
13553
+ "fileUrl": {
13554
+ "type": "string"
13243
13555
  }
13244
13556
  }
13245
13557
  },
@@ -13260,6 +13572,9 @@ export const data = {
13260
13572
  "file": {
13261
13573
  "type": "string"
13262
13574
  },
13575
+ "fileUrl": {
13576
+ "type": "string"
13577
+ },
13263
13578
  "devicesCount": {
13264
13579
  "type": "number"
13265
13580
  },
@@ -13302,6 +13617,9 @@ export const data = {
13302
13617
  "fields": {
13303
13618
  "file": {
13304
13619
  "type": "string"
13620
+ },
13621
+ "fileUrl": {
13622
+ "type": "string"
13305
13623
  }
13306
13624
  }
13307
13625
  },
@@ -13338,6 +13656,9 @@ export const data = {
13338
13656
  },
13339
13657
  "truncated": {
13340
13658
  "type": "boolean"
13659
+ },
13660
+ "fileUrl": {
13661
+ "type": "string"
13341
13662
  }
13342
13663
  }
13343
13664
  },
@@ -14574,6 +14895,9 @@ export const data = {
14574
14895
  },
14575
14896
  "whatsApp": {
14576
14897
  "type": "pushwoosh.rpc_v2.frequency_capping.Capping"
14898
+ },
14899
+ "appInbox": {
14900
+ "type": "pushwoosh.rpc_v2.frequency_capping.Capping"
14577
14901
  }
14578
14902
  }
14579
14903
  },
@@ -14613,6 +14937,9 @@ export const data = {
14613
14937
  },
14614
14938
  "whatsApp": {
14615
14939
  "type": "pushwoosh.rpc_v2.frequency_capping.Capping"
14940
+ },
14941
+ "appInbox": {
14942
+ "type": "pushwoosh.rpc_v2.frequency_capping.Capping"
14616
14943
  }
14617
14944
  }
14618
14945
  },
@@ -14644,6 +14971,9 @@ export const data = {
14644
14971
  },
14645
14972
  "whatsApp": {
14646
14973
  "type": "pushwoosh.rpc_v2.frequency_capping.Capping"
14974
+ },
14975
+ "appInbox": {
14976
+ "type": "pushwoosh.rpc_v2.frequency_capping.Capping"
14647
14977
  }
14648
14978
  }
14649
14979
  },
@@ -3,7 +3,7 @@ export type FrequencyCappingService_Get = RpcMethod<GetFrequencyCappingRequest,
3
3
  export type FrequencyCappingService_Update = RpcMethod<UpdateFrequencyCappingRequest, UpdateFrequencyCappingResponse>;
4
4
  export type FrequencyCappingService_Create = RpcMethod<CreateFrequencyCappingRequest, CreateFrequencyCappingResponse>;
5
5
  export interface FrequencyCappingService {
6
- /** Returns the frequency-capping limits configured for an application code XXXXX-XXXXX, per channel (push, email, SMS, in-app, WhatsApp). Use to read current caps before updating them; errors if no capping has been created for the application. */
6
+ /** Returns the frequency-capping limits configured for an application code XXXXX-XXXXX, per channel (push, email, SMS, in-app, WhatsApp, App Inbox). Use to read current caps before updating them; errors if no capping has been created for the application. */
7
7
  Get: FrequencyCappingService_Get;
8
8
  /** Overwrites the per-channel frequency-capping limits of an existing application capping. Use to change caps already created; only the channels present in the request are updated, and it errors if no capping exists yet (use create_frequency_capping first). */
9
9
  Update: FrequencyCappingService_Update;
@@ -26,6 +26,7 @@ export type FrequencyCapping = {
26
26
  sms: Capping;
27
27
  inApp: Capping;
28
28
  whatsApp: Capping;
29
+ appInbox: Capping;
29
30
  };
30
31
  export type GetFrequencyCappingRequest = {
31
32
  /** Application code XXXXX-XXXXX whose capping is read. */
@@ -47,6 +48,8 @@ export type CreateFrequencyCappingRequest = {
47
48
  inApp?: Capping;
48
49
  /** WhatsApp channel cap; omit to leave the channel uncapped. */
49
50
  whatsApp?: Capping;
51
+ /** App Inbox channel cap; omit to leave the channel uncapped. */
52
+ appInbox?: Capping;
50
53
  };
51
54
  export type CreateFrequencyCappingResponse = {
52
55
  frequencyCapping: FrequencyCapping;
@@ -64,5 +67,7 @@ export type UpdateFrequencyCappingRequest = {
64
67
  inApp?: Capping;
65
68
  /** WhatsApp channel cap; omit to leave that channel unchanged. */
66
69
  whatsApp?: Capping;
70
+ /** App Inbox channel cap; omit to leave that channel unchanged. */
71
+ appInbox?: Capping;
67
72
  };
68
73
  export type UpdateFrequencyCappingResponse = {};
package/index.d.ts CHANGED
@@ -6,6 +6,7 @@ import { AccountsService as pushwoosh_rpc_v2_accounts_AccountsService } from './
6
6
  import { AlertsService as pushwoosh_accounts_alerts_v1_AlertsService } from './pushwoosh_accounts_alerts_v1';
7
7
  import { GetAuthInfoService as pushwoosh_rpc_v2_accounts_get_auth_info_GetAuthInfoService } from './accounts_get_auth_info';
8
8
  import { ApiTokensService as pushwoosh_rpc_v2_api_tokens_ApiTokensService } from './api_tokens';
9
+ import { appInboxPresetsService as pushwoosh_rpc_v2_app_inbox_presets_appInboxPresetsService } from './app_inbox_presets';
9
10
  import { ApplicationsService as pushwoosh_rpc_v2_applications_ApplicationsService } from './applications';
10
11
  import { ApplicationEmailFromsService as pushwoosh_rpc_v2_applications_email_froms_ApplicationEmailFromsService } from './applications_email_froms';
11
12
  import { ApplicationSoundsService as pushwoosh_rpc_v2_applications_sounds_ApplicationSoundsService } from './applications_sounds';
@@ -75,6 +76,7 @@ export type API = {
75
76
  alerts: pushwoosh_accounts_alerts_v1_AlertsService;
76
77
  getAuthInfo: pushwoosh_rpc_v2_accounts_get_auth_info_GetAuthInfoService;
77
78
  apiTokens: pushwoosh_rpc_v2_api_tokens_ApiTokensService;
79
+ appInboxPresets: pushwoosh_rpc_v2_app_inbox_presets_appInboxPresetsService;
78
80
  applications: pushwoosh_rpc_v2_applications_ApplicationsService;
79
81
  applicationEmailFroms: pushwoosh_rpc_v2_applications_email_froms_ApplicationEmailFromsService;
80
82
  applicationSounds: pushwoosh_rpc_v2_applications_sounds_ApplicationSoundsService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.200",
3
+ "version": "0.2.202",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -449,6 +449,8 @@ export type TrackingLogCSVArgs = {
449
449
  };
450
450
  export type TrackingLogCSVResult = {
451
451
  file: string;
452
+ /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
453
+ fileUrl: string;
452
454
  };
453
455
  export type ExportMessageProperty = 'EXPORT_MESSAGE_PROPERTY_UNSPECIFIED' | 'EXPORT_MESSAGE_PROPERTY_ID' | 'EXPORT_MESSAGE_PROPERTY_TIMESTAMP' | 'EXPORT_MESSAGE_PROPERTY_CONTENT' | 'EXPORT_MESSAGE_PROPERTY_TITLE' | 'EXPORT_MESSAGE_PROPERTY_APPLICATIONS' | 'EXPORT_MESSAGE_PROPERTY_STATUS' | 'EXPORT_MESSAGE_PROPERTY_PLATFORMS' | 'EXPORT_MESSAGE_PROPERTY_SOURCE' | 'EXPORT_MESSAGE_PROPERTY_FILTER' | 'EXPORT_MESSAGE_PROPERTY_SUBSCRIPTION_SEGMENTS' | 'EXPORT_MESSAGE_PROPERTY_SENT' | 'EXPORT_MESSAGE_PROPERTY_OPENED' | 'EXPORT_MESSAGE_PROPERTY_ERRORS' | 'EXPORT_MESSAGE_PROPERTY_RECIPIENTS' | 'EXPORT_MESSAGE_PROPERTY_DELIVERED' | 'EXPORT_MESSAGE_PROPERTY_TOTAL_DELIVERED' | 'EXPORT_MESSAGE_PROPERTY_TOTAL_OPENED' | 'EXPORT_MESSAGE_PROPERTY_TOTAL_CLICKS' | 'EXPORT_MESSAGE_PROPERTY_CLICKS' | 'EXPORT_MESSAGE_PROPERTY_UNSUBSCRIBED' | 'EXPORT_MESSAGE_PROPERTY_MESSAGE_CODE';
454
456
  export type Source = 'SOURCE_UNSPECIFIED'
@@ -488,6 +490,8 @@ export type ExportMessagesV2Result = {
488
490
  file: string;
489
491
  /** set when the export hit the row limit and the file holds only its first rows */
490
492
  truncated: boolean;
493
+ /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
494
+ fileUrl: string;
491
495
  };
492
496
  export type ExportUnregisteredDevicesArgs = {
493
497
  applicationCode: string;
@@ -496,6 +500,8 @@ export type ExportUnregisteredDevicesArgs = {
496
500
  };
497
501
  export type ExportUnregisteredDevicesResult = {
498
502
  file: string;
503
+ /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
504
+ fileUrl: string;
499
505
  };
500
506
  export type ExportRichMediaFormValuesArgs = {
501
507
  applicationCode: string;
@@ -504,6 +510,8 @@ export type ExportRichMediaFormValuesArgs = {
504
510
  };
505
511
  export type ExportRichMediaFormValuesResult = {
506
512
  file: string;
513
+ /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
514
+ fileUrl: string;
507
515
  };
508
516
  export type ApplySegmentToMessageArgs = {
509
517
  application: string;
@@ -529,6 +537,8 @@ export type ExportApplySegmentToMessageArgs = {
529
537
  };
530
538
  export type ExportApplySegmentToMessageResult = {
531
539
  file: string;
540
+ /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
541
+ fileUrl: string;
532
542
  };
533
543
  export type CalculateRetentionArgs = {
534
544
  application: string;
@@ -564,6 +574,8 @@ export type ExportRichMediaRecipientsArgs = {
564
574
  };
565
575
  export type ExportRichMediaRecipientsResult = {
566
576
  file: string;
577
+ /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
578
+ fileUrl: string;
567
579
  };
568
580
  export type SegmentMetricType = 'SegmentMetricType_UNKNOWN' | 'EventTriggeredTimeseries';
569
581
  export type ApplySegmentToMetricArgs = {
@@ -589,6 +601,8 @@ export type ApplySegmentToMetricResult_result_eventTriggeredTimeseries = {
589
601
  export type ApplySegmentToMetricResult_result = ApplySegmentToMetricResult_result_eventTriggeredTimeseries;
590
602
  export type ApplySegmentToMetricResult = {
591
603
  file: string;
604
+ /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
605
+ fileUrl: string;
592
606
  result: ApplySegmentToMetricResult_result;
593
607
  };
594
608
  export type ExportBouncedEmailsArgs_Type = 'all' | 'complaints' | 'soft_bounces' | 'hard_bounces';
@@ -603,6 +617,8 @@ export type ExportBouncedEmailsArgs = {
603
617
  };
604
618
  export type ExportBouncedEmailsResult = {
605
619
  file: string;
620
+ /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
621
+ fileUrl: string;
606
622
  };
607
623
  export type ExportJourneysHistoryArgs = {
608
624
  application: string;
@@ -617,6 +633,8 @@ export type ExportJourneysHistoryArgs = {
617
633
  };
618
634
  export type ExportJourneysHistoryResult = {
619
635
  file: string;
636
+ /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
637
+ fileUrl: string;
620
638
  };
621
639
  export type ExportJourneyPointUsersArgs = {
622
640
  journeyUuid: string;
@@ -627,6 +645,8 @@ export type ExportJourneyPointUsersArgs = {
627
645
  };
628
646
  export type ExportJourneyPointUsersResult = {
629
647
  file: string;
648
+ /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
649
+ fileUrl: string;
630
650
  };
631
651
  export type ExportMessageRecipientsArgs_Type = 'sends' | 'deliveries' | 'opens';
632
652
  export type ExportMessageRecipientsArgs = {
@@ -639,6 +659,8 @@ export type ExportMessageRecipientsArgs = {
639
659
  };
640
660
  export type ExportMessageRecipientsResult = {
641
661
  file: string;
662
+ /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
663
+ fileUrl: string;
642
664
  };
643
665
  export type ExportMessageClicksDevicesArgs = {
644
666
  messageId: number;
@@ -650,6 +672,8 @@ export type ExportMessageClicksDevicesArgs = {
650
672
  };
651
673
  export type ExportMessageClicksDevicesResult = {
652
674
  file: string;
675
+ /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
676
+ fileUrl: string;
653
677
  };
654
678
  export type ExportMessageEventTriggeredDevicesArgs = {
655
679
  messageId?: number;
@@ -661,6 +685,8 @@ export type ExportMessageEventTriggeredDevicesArgs = {
661
685
  };
662
686
  export type ExportMessageEventTriggeredDevicesResult = {
663
687
  file: string;
688
+ /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
689
+ fileUrl: string;
664
690
  };
665
691
  export type ExportMessageErrorsDevicesArgs = {
666
692
  messageId: number;
@@ -674,6 +700,8 @@ export type ExportMessageErrorsDevicesArgs = {
674
700
  };
675
701
  export type ExportMessageErrorsDevicesResult = {
676
702
  file: string;
703
+ /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
704
+ fileUrl: string;
677
705
  };
678
706
  export type CreateSegmentFromMessageArgs_Type = 'send_devices' | 'delivered_devices' | 'opened_devices' | 'link_clicked_devices' | 'event_triggered_devices' | 'send_with_error_devices' | 'send_with_email_error_devices' | 'not_opened_devices';
679
707
  export type CreateSegmentFromMessageArgs_EmailErrorType = 'complaints' | 'soft_bounces' | 'hard_bounces';
@@ -709,6 +737,8 @@ export type ExportJourneyUsersListArgs = {
709
737
  };
710
738
  export type ExportJourneyUsersListResult = {
711
739
  file: string;
740
+ /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
741
+ fileUrl: string;
712
742
  };
713
743
  export type Channel = 'CHANNEL_UNSPECIFIED' | 'PUSH' | 'EMAIL' | 'WHATSAPP' | 'SMS' | 'IN_APP';
714
744
  export type ExportJourneyPointsStatisticsArgs = {
@@ -721,6 +751,8 @@ export type ExportJourneyPointsStatisticsArgs = {
721
751
  };
722
752
  export type ExportJourneyPointsStatisticsResult = {
723
753
  file: string;
754
+ /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
755
+ fileUrl: string;
724
756
  };
725
757
  export type ExportJourneyGoalUsersArgs = {
726
758
  application: string;
@@ -731,6 +763,8 @@ export type ExportJourneyGoalUsersArgs = {
731
763
  };
732
764
  export type ExportJourneyGoalUsersResult = {
733
765
  file: string;
766
+ /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
767
+ fileUrl: string;
734
768
  };
735
769
  export type ExportControlGroupArgs = {
736
770
  applicationCode: string;
@@ -742,6 +776,8 @@ export type ExportControlGroupArgs = {
742
776
  };
743
777
  export type ExportControlGroupResult = {
744
778
  file: string;
779
+ /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
780
+ fileUrl: string;
745
781
  devicesCount: number;
746
782
  usersCount: number;
747
783
  };
@@ -755,6 +791,8 @@ export type ExportSubscriptionFormSubscribedUsersArgs = {
755
791
  };
756
792
  export type ExportSubscriptionFormSubscribedUsersResult = {
757
793
  file: string;
794
+ /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
795
+ fileUrl: string;
758
796
  };
759
797
  /**
760
798
  * ExportUnifiedMessagesArgs asks for one CSV holding both one-time messages and
@@ -778,4 +816,6 @@ export type ExportUnifiedMessagesResult = {
778
816
  file: string;
779
817
  /** set when the export hit the row limit and the file holds only its first rows */
780
818
  truncated: boolean;
819
+ /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
820
+ fileUrl: string;
781
821
  };