@pushwoosh/rpc-v2-http-api-data 0.1.887 → 0.1.888

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.
Files changed (3) hide show
  1. package/data.js +27 -0
  2. package/filters.d.ts +18 -0
  3. package/package.json +1 -1
package/data.js CHANGED
@@ -9393,6 +9393,9 @@ export const data = {
9393
9393
  "pushwoosh.rpc_v2.filters.CreateFilterRequest": {
9394
9394
  "type": "I",
9395
9395
  "fields": {
9396
+ "application": {
9397
+ "type": "string"
9398
+ },
9396
9399
  "name": {
9397
9400
  "type": "string"
9398
9401
  },
@@ -9421,6 +9424,9 @@ export const data = {
9421
9424
  "pushwoosh.rpc_v2.filters.CloneFilterRequest": {
9422
9425
  "type": "I",
9423
9426
  "fields": {
9427
+ "application": {
9428
+ "type": "string"
9429
+ },
9424
9430
  "newName": {
9425
9431
  "type": "string"
9426
9432
  },
@@ -9440,6 +9446,9 @@ export const data = {
9440
9446
  "pushwoosh.rpc_v2.filters.UpdateFilterRequest": {
9441
9447
  "type": "I",
9442
9448
  "fields": {
9449
+ "application": {
9450
+ "type": "string"
9451
+ },
9443
9452
  "filter": {
9444
9453
  "type": "string"
9445
9454
  },
@@ -9461,6 +9470,9 @@ export const data = {
9461
9470
  "pushwoosh.rpc_v2.filters.DeleteFilterRequest": {
9462
9471
  "type": "I",
9463
9472
  "fields": {
9473
+ "application": {
9474
+ "type": "string"
9475
+ },
9464
9476
  "filter": {
9465
9477
  "type": "string"
9466
9478
  }
@@ -9473,6 +9485,9 @@ export const data = {
9473
9485
  "pushwoosh.rpc_v2.filters.GetCountryCitiesRequest": {
9474
9486
  "type": "I",
9475
9487
  "fields": {
9488
+ "application": {
9489
+ "type": "string"
9490
+ },
9476
9491
  "searchByName": {
9477
9492
  "type": "string"
9478
9493
  }
@@ -9510,6 +9525,9 @@ export const data = {
9510
9525
  "pushwoosh.rpc_v2.filters.GetCitiesByHashesRequest": {
9511
9526
  "type": "I",
9512
9527
  "fields": {
9528
+ "application": {
9529
+ "type": "string"
9530
+ },
9513
9531
  "hashes": {
9514
9532
  "type": "string",
9515
9533
  "array": true
@@ -9546,6 +9564,9 @@ export const data = {
9546
9564
  "pushwoosh.rpc_v2.filters.GetSeglangRequest": {
9547
9565
  "type": "I",
9548
9566
  "fields": {
9567
+ "application": {
9568
+ "type": "string"
9569
+ },
9549
9570
  "filterExpression": {
9550
9571
  "type": "pushwoosh.objects.filters.v1.FilterExpression"
9551
9572
  }
@@ -9562,6 +9583,9 @@ export const data = {
9562
9583
  "pushwoosh.rpc_v2.filters.SeglangToFilterExpressionRequest": {
9563
9584
  "type": "I",
9564
9585
  "fields": {
9586
+ "application": {
9587
+ "type": "string"
9588
+ },
9565
9589
  "seglang": {
9566
9590
  "type": "string"
9567
9591
  }
@@ -9619,6 +9643,9 @@ export const data = {
9619
9643
  "pushwoosh.rpc_v2.filters.GetFilterUsageRequest": {
9620
9644
  "type": "I",
9621
9645
  "fields": {
9646
+ "application": {
9647
+ "type": "string"
9648
+ },
9622
9649
  "filter": {
9623
9650
  "type": "string"
9624
9651
  },
package/filters.d.ts CHANGED
@@ -108,6 +108,8 @@ export type GetFilterRequest = {
108
108
  filter?: string;
109
109
  };
110
110
  export type CreateFilterRequest = {
111
+ /** required when account has ApplicationSpecificFilters restriction, otherwise optional */
112
+ application?: string;
111
113
  name?: string;
112
114
  filterExpression?: pushwoosh_objects_filters_v1_FilterExpression;
113
115
  /** application for high speed filter */
@@ -128,6 +130,8 @@ export type CreateFilterResponse = {
128
130
  filter: string;
129
131
  };
130
132
  export type CloneFilterRequest = {
133
+ /** required when account has ApplicationSpecificFilters restriction, otherwise optional */
134
+ application?: string;
131
135
  newName?: string;
132
136
  filter?: string;
133
137
  };
@@ -135,6 +139,8 @@ export type CloneFilterResponse = {
135
139
  filter: string;
136
140
  };
137
141
  export type UpdateFilterRequest = {
142
+ /** required when account has ApplicationSpecificFilters restriction, otherwise optional */
143
+ application?: string;
138
144
  filter?: string;
139
145
  name?: string;
140
146
  filterExpression?: pushwoosh_objects_filters_v1_FilterExpression;
@@ -142,11 +148,15 @@ export type UpdateFilterRequest = {
142
148
  };
143
149
  export type UpdateFilterResponse = {};
144
150
  export type DeleteFilterRequest = {
151
+ /** required when account has ApplicationSpecificFilters restriction, otherwise optional */
152
+ application?: string;
145
153
  filter?: string;
146
154
  };
147
155
  export type DeleteFilterResponse = {};
148
156
  /** returns cities and their coordinates for the given country based on existing tag (City) values */
149
157
  export type GetCountryCitiesRequest = {
158
+ /** required when account has ApplicationSpecificFilters restriction, otherwise optional */
159
+ application?: string;
150
160
  /** like %search_by_name% */
151
161
  searchByName?: string;
152
162
  };
@@ -163,6 +173,8 @@ export type GetCountryCitiesResponse = {
163
173
  };
164
174
  /** returns cities coordinates by cities hashes (country code, city name) */
165
175
  export type GetCitiesByHashesRequest = {
176
+ /** required when account has ApplicationSpecificFilters restriction, otherwise optional */
177
+ application?: string;
166
178
  hashes?: string[];
167
179
  };
168
180
  export type GetCitiesByHashesResponse = {
@@ -175,12 +187,16 @@ export type CompileFilterRequest = {
175
187
  };
176
188
  export type CompileFilterResponse = {};
177
189
  export type GetSeglangRequest = {
190
+ /** required when account has ApplicationSpecificFilters restriction, otherwise optional */
191
+ application?: string;
178
192
  filterExpression?: pushwoosh_objects_filters_v1_FilterExpression;
179
193
  };
180
194
  export type GetSeglangResponse = {
181
195
  seglang: string;
182
196
  };
183
197
  export type SeglangToFilterExpressionRequest = {
198
+ /** required when account has ApplicationSpecificFilters restriction, otherwise optional */
199
+ application?: string;
184
200
  seglang?: string;
185
201
  };
186
202
  export type SeglangToFilterExpressionResponse = {
@@ -202,6 +218,8 @@ export type GetMatchedSegmentsResponse = {
202
218
  totalFilters: number;
203
219
  };
204
220
  export type GetFilterUsageRequest = {
221
+ /** required when account has ApplicationSpecificFilters restriction, otherwise optional */
222
+ application?: string;
205
223
  filter?: string;
206
224
  onlyActiveCampaigns?: boolean;
207
225
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.887",
3
+ "version": "0.1.888",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",