@pushwoosh/rpc-v2-http-api-data 0.2.357 → 0.2.358

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
@@ -14861,6 +14861,10 @@ export const data = {
14861
14861
  },
14862
14862
  "campaign": {
14863
14863
  "type": "string"
14864
+ },
14865
+ "platforms": {
14866
+ "type": "number",
14867
+ "array": true
14864
14868
  }
14865
14869
  }
14866
14870
  },
@@ -16510,6 +16514,10 @@ export const data = {
16510
16514
  },
16511
16515
  "dateTo": {
16512
16516
  "type": "Date"
16517
+ },
16518
+ "platforms": {
16519
+ "type": "number",
16520
+ "array": true
16513
16521
  }
16514
16522
  }
16515
16523
  },
@@ -17172,6 +17180,28 @@ export const data = {
17172
17180
  }
17173
17181
  }
17174
17182
  },
17183
+ "pushwoosh.export_messages.v2.CountControlGroupRequest": {
17184
+ "type": "I",
17185
+ "fields": {
17186
+ "application": {
17187
+ "type": "string"
17188
+ },
17189
+ "controlGroup": {
17190
+ "type": "string"
17191
+ }
17192
+ }
17193
+ },
17194
+ "pushwoosh.export_messages.v2.CountControlGroupResponse": {
17195
+ "type": "I",
17196
+ "fields": {
17197
+ "totalUsers": {
17198
+ "type": "number"
17199
+ },
17200
+ "controlGroupUsers": {
17201
+ "type": "number"
17202
+ }
17203
+ }
17204
+ },
17175
17205
  "pushwoosh.rpc.external_segments.v3.ExternalSegmentsService_Create_FieldViolations": {
17176
17206
  "type": "E",
17177
17207
  "values": [
package/events.d.ts CHANGED
@@ -228,6 +228,8 @@ export type GetTotalStatisticsRequest = {
228
228
  messageCode?: string;
229
229
  /** Campaign code to attribute event triggers to a whole campaign. */
230
230
  campaign?: string;
231
+ /** Platform ids to count events on; empty counts every platform. */
232
+ platforms?: number[];
231
233
  };
232
234
  export type GetTotalStatisticsResponse_EventTriggeredCount = {
233
235
  event: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.357",
3
+ "version": "0.2.358",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -817,6 +817,7 @@ export type ExportMessageEventTriggeredDevicesArgs = {
817
817
  application: string;
818
818
  dateFrom: Date;
819
819
  dateTo: Date;
820
+ platforms: number[];
820
821
  };
821
822
  export type ExportMessageEventTriggeredDevicesResult = {
822
823
  file: string;
@@ -1148,3 +1149,14 @@ export type ExportUnifiedMessagesResult = {
1148
1149
  /** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
1149
1150
  fileUrl: string;
1150
1151
  };
1152
+ export type CountControlGroupRequest = {
1153
+ application: string;
1154
+ /** empty is the application's global group */
1155
+ controlGroup: string;
1156
+ };
1157
+ export type CountControlGroupResponse = {
1158
+ /** users in the group's scope: the application narrowed to its countries and tag */
1159
+ totalUsers: number;
1160
+ /** of those, the users the group holds out */
1161
+ controlGroupUsers: number;
1162
+ };