@pushwoosh/rpc-v2-http-api-data 0.1.812 → 0.1.813

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
@@ -12131,6 +12131,9 @@ export const data = {
12131
12131
  },
12132
12132
  "recipients": {
12133
12133
  "type": "number"
12134
+ },
12135
+ "totalOpens": {
12136
+ "type": "pushwoosh.rpc_v2.messages.GetStatisticsResponse.PlatformTimeSeries"
12134
12137
  }
12135
12138
  }
12136
12139
  },
@@ -12775,6 +12778,21 @@ export const data = {
12775
12778
  }
12776
12779
  }
12777
12780
  },
12781
+ "pushwoosh.objects.filters.v1.LogicExpression.Field.IsPrepared": {
12782
+ "type": "I",
12783
+ "fields": {
12784
+ "operator": {
12785
+ "type": "pushwoosh.objects.filters.v1.LogicExpression.Field.Operator"
12786
+ },
12787
+ "value": {
12788
+ "type": "boolean"
12789
+ },
12790
+ "values": {
12791
+ "type": "boolean",
12792
+ "array": true
12793
+ }
12794
+ }
12795
+ },
12778
12796
  "pushwoosh.objects.filters.v1.LogicExpression.Field": {
12779
12797
  "type": "I",
12780
12798
  "fields": {
@@ -12834,6 +12852,9 @@ export const data = {
12834
12852
  },
12835
12853
  "CondDeviceLoadPolicy": {
12836
12854
  "type": "pushwoosh.objects.filters.v1.LogicExpression.Field.DeviceLoadPolicy"
12855
+ },
12856
+ "CondIsPrepared": {
12857
+ "type": "pushwoosh.objects.filters.v1.LogicExpression.Field.IsPrepared"
12837
12858
  }
12838
12859
  },
12839
12860
  "oneofs": {
@@ -12857,7 +12878,8 @@ export const data = {
12857
12878
  "CondFiltrationID",
12858
12879
  "CondUpdated",
12859
12880
  "CondDescription",
12860
- "CondDeviceLoadPolicy"
12881
+ "CondDeviceLoadPolicy",
12882
+ "CondIsPrepared"
12861
12883
  ]
12862
12884
  }
12863
12885
  }
@@ -13133,6 +13155,12 @@ export const data = {
13133
13155
  "response": "{}",
13134
13156
  "method": "patch",
13135
13157
  "path": "/v1/objects/filters/ID/{ID}/update/DeviceLoadPolicy"
13158
+ },
13159
+ "UpdateIsPrepared": {
13160
+ "request": "pushwoosh.objects.filters.v1.UpdateIsPreparedRequest",
13161
+ "response": "{}",
13162
+ "method": "patch",
13163
+ "path": "/v1/objects/filters/ID/{ID}/update/IsPrepared"
13136
13164
  }
13137
13165
  }
13138
13166
  },
@@ -13192,6 +13220,9 @@ export const data = {
13192
13220
  },
13193
13221
  "DeviceLoadPolicy": {
13194
13222
  "type": "string"
13223
+ },
13224
+ "IsPrepared": {
13225
+ "type": "boolean"
13195
13226
  }
13196
13227
  }
13197
13228
  },
@@ -13536,6 +13567,17 @@ export const data = {
13536
13567
  }
13537
13568
  }
13538
13569
  },
13570
+ "pushwoosh.objects.filters.v1.UpdateIsPreparedRequest": {
13571
+ "type": "I",
13572
+ "fields": {
13573
+ "ID": {
13574
+ "type": "number"
13575
+ },
13576
+ "value": {
13577
+ "type": "boolean"
13578
+ }
13579
+ }
13580
+ },
13539
13581
  "pushwoosh.objects.filters.v1.GetRequest": {
13540
13582
  "type": "I",
13541
13583
  "fields": {
@@ -13666,6 +13708,9 @@ export const data = {
13666
13708
  },
13667
13709
  "DeviceLoadPolicy": {
13668
13710
  "type": "string"
13711
+ },
13712
+ "IsPrepared": {
13713
+ "type": "boolean"
13669
13714
  }
13670
13715
  }
13671
13716
  },
package/messages.d.ts CHANGED
@@ -102,6 +102,7 @@ export type GetStatisticsResponse_Metrics = {
102
102
  opens: GetStatisticsResponse_PlatformTimeSeries;
103
103
  recipientsByPlatform: Record<string, number>;
104
104
  recipients: number;
105
+ totalOpens: GetStatisticsResponse_PlatformTimeSeries;
105
106
  };
106
107
  export type GetStatisticsResponse = {
107
108
  metrics: GetStatisticsResponse_Metrics;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.812",
3
+ "version": "0.1.813",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -105,6 +105,11 @@ export type LogicExpression_Field_DeviceLoadPolicy = {
105
105
  value: string;
106
106
  values: string[];
107
107
  };
108
+ export type LogicExpression_Field_IsPrepared = {
109
+ operator: LogicExpression_Field_Operator;
110
+ value: boolean;
111
+ values: boolean[];
112
+ };
108
113
  export type LogicExpression_Field_kind_CondID = {
109
114
  type: 'CondID';
110
115
  data: LogicExpression_Field_ID;
@@ -181,7 +186,11 @@ export type LogicExpression_Field_kind_CondDeviceLoadPolicy = {
181
186
  type: 'CondDeviceLoadPolicy';
182
187
  data: LogicExpression_Field_DeviceLoadPolicy;
183
188
  };
184
- export type LogicExpression_Field_kind = LogicExpression_Field_kind_CondID | LogicExpression_Field_kind_CondCode | LogicExpression_Field_kind_CondAccountID | LogicExpression_Field_kind_CondName | LogicExpression_Field_kind_CondApplicationID | LogicExpression_Field_kind_CondIsFiltrationInProgress | LogicExpression_Field_kind_CondFiltrationStartedAt | LogicExpression_Field_kind_CondFiltrationLastFilteredAt | LogicExpression_Field_kind_CondFiltrationLastCheckedAt | LogicExpression_Field_kind_CondFiltrationScheduledAt | LogicExpression_Field_kind_CondCheckerScheduledAt | LogicExpression_Field_kind_CondIsSystem | LogicExpression_Field_kind_CondExpirationDate | LogicExpression_Field_kind_CondCreated | LogicExpression_Field_kind_CondFilterExpressionRaw | LogicExpression_Field_kind_CondFiltrationID | LogicExpression_Field_kind_CondUpdated | LogicExpression_Field_kind_CondDescription | LogicExpression_Field_kind_CondDeviceLoadPolicy;
189
+ export type LogicExpression_Field_kind_CondIsPrepared = {
190
+ type: 'CondIsPrepared';
191
+ data: LogicExpression_Field_IsPrepared;
192
+ };
193
+ export type LogicExpression_Field_kind = LogicExpression_Field_kind_CondID | LogicExpression_Field_kind_CondCode | LogicExpression_Field_kind_CondAccountID | LogicExpression_Field_kind_CondName | LogicExpression_Field_kind_CondApplicationID | LogicExpression_Field_kind_CondIsFiltrationInProgress | LogicExpression_Field_kind_CondFiltrationStartedAt | LogicExpression_Field_kind_CondFiltrationLastFilteredAt | LogicExpression_Field_kind_CondFiltrationLastCheckedAt | LogicExpression_Field_kind_CondFiltrationScheduledAt | LogicExpression_Field_kind_CondCheckerScheduledAt | LogicExpression_Field_kind_CondIsSystem | LogicExpression_Field_kind_CondExpirationDate | LogicExpression_Field_kind_CondCreated | LogicExpression_Field_kind_CondFilterExpressionRaw | LogicExpression_Field_kind_CondFiltrationID | LogicExpression_Field_kind_CondUpdated | LogicExpression_Field_kind_CondDescription | LogicExpression_Field_kind_CondDeviceLoadPolicy | LogicExpression_Field_kind_CondIsPrepared;
185
194
  export type LogicExpression_Field = {
186
195
  kind: LogicExpression_Field_kind;
187
196
  };
@@ -246,6 +255,7 @@ export interface FiltersCrudService {
246
255
  UpdateUpdated(request: UpdateUpdatedRequest): Promise<{}>;
247
256
  UpdateDescription(request: UpdateDescriptionRequest): Promise<{}>;
248
257
  UpdateDeviceLoadPolicy(request: UpdateDeviceLoadPolicyRequest): Promise<{}>;
258
+ UpdateIsPrepared(request: UpdateIsPreparedRequest): Promise<{}>;
249
259
  }
250
260
  export type CreateRequest = {
251
261
  Code?: string;
@@ -266,6 +276,7 @@ export type CreateRequest = {
266
276
  Updated?: Date;
267
277
  Description?: string;
268
278
  DeviceLoadPolicy?: string;
279
+ IsPrepared?: boolean;
269
280
  };
270
281
  export type CreateResponse = {
271
282
  filter: Filter;
@@ -390,6 +401,10 @@ export type UpdateDeviceLoadPolicyRequest = {
390
401
  ID?: number;
391
402
  value?: string;
392
403
  };
404
+ export type UpdateIsPreparedRequest = {
405
+ ID?: number;
406
+ value?: boolean;
407
+ };
393
408
  export type GetRequest = {
394
409
  ID?: number;
395
410
  };
@@ -434,6 +449,7 @@ export type Filter = {
434
449
  Updated: Date;
435
450
  Description: string;
436
451
  DeviceLoadPolicy: string;
452
+ IsPrepared: boolean;
437
453
  };
438
454
  export type FilterExpression_Operation_Operator = 'OPERATOR_UNSPECIFIED' | 'OPERATOR_INTERSECT' | 'OPERATOR_UNION' | 'OPERATOR_DIFFERENCE';
439
455
  export type FilterExpression_Operation = {