@pushwoosh/rpc-v2-http-api-data 0.1.488 → 0.1.490

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.
@@ -39,6 +39,7 @@ export type UpdateRequest = {
39
39
  export type UpdateResponse = {};
40
40
  export type DeleteRequest = {
41
41
  name?: string;
42
+ reassignGroup?: string;
42
43
  };
43
44
  export type DeleteResponse = {};
44
45
  export type ListGroupMembersRequest = {
package/data.js CHANGED
@@ -151,6 +151,9 @@ export const data = {
151
151
  "fields": {
152
152
  "name": {
153
153
  "type": "string"
154
+ },
155
+ "reassignGroup": {
156
+ "type": "string"
154
157
  }
155
158
  }
156
159
  },
@@ -17758,6 +17761,12 @@ export const data = {
17758
17761
  "response": "pushwoosh.rpc_v2.segment_statistics.StatusResponse",
17759
17762
  "method": "get",
17760
17763
  "path": "/api/segment_statistics/status"
17764
+ },
17765
+ "GetSegmentSizeChanges": {
17766
+ "request": "pushwoosh.rpc_v2.segment_statistics.GetSegmentSizeChangesRequest",
17767
+ "response": "pushwoosh.rpc_v2.segment_statistics.GetSegmentSizeChangesResponse",
17768
+ "method": "post",
17769
+ "path": "/api/segment_statistics/segment_size_changes"
17761
17770
  }
17762
17771
  }
17763
17772
  },
@@ -17818,6 +17827,56 @@ export const data = {
17818
17827
  }
17819
17828
  }
17820
17829
  },
17830
+ "pushwoosh.rpc_v2.segment_statistics.GetSegmentSizeChangesRequest": {
17831
+ "type": "I",
17832
+ "fields": {
17833
+ "application": {
17834
+ "type": "string"
17835
+ },
17836
+ "filter": {
17837
+ "type": "string"
17838
+ },
17839
+ "timestampFrom": {
17840
+ "type": "Date"
17841
+ },
17842
+ "timestampTo": {
17843
+ "type": "Date"
17844
+ }
17845
+ }
17846
+ },
17847
+ "pushwoosh.rpc_v2.segment_statistics.GetSegmentSizeChangesResponse.PlatformChanges": {
17848
+ "type": "I",
17849
+ "fields": {
17850
+ "increase": {
17851
+ "type": "number",
17852
+ "array": true
17853
+ },
17854
+ "decrease": {
17855
+ "type": "number",
17856
+ "array": true
17857
+ },
17858
+ "net": {
17859
+ "type": "number",
17860
+ "array": true
17861
+ }
17862
+ }
17863
+ },
17864
+ "pushwoosh.rpc_v2.segment_statistics.GetSegmentSizeChangesResponse": {
17865
+ "type": "I",
17866
+ "fields": {
17867
+ "timestamps": {
17868
+ "type": "Date",
17869
+ "array": true
17870
+ },
17871
+ "all": {
17872
+ "type": "pushwoosh.rpc_v2.segment_statistics.GetSegmentSizeChangesResponse.PlatformChanges"
17873
+ },
17874
+ "totals": {
17875
+ "type": "number",
17876
+ "array": true
17877
+ }
17878
+ }
17879
+ },
17821
17880
  "pushwoosh.rpc_v2.sms_presets.smsPresetsService": {
17822
17881
  "type": "S",
17823
17882
  "key": "smsPresets",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.488",
3
+ "version": "0.1.490",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -1,6 +1,7 @@
1
1
  export interface SegmentStatisticsService {
2
2
  Prepare(request: PrepareRequest): Promise<PrepareResponse>;
3
3
  Status(request: StatusRequest): Promise<StatusResponse>;
4
+ GetSegmentSizeChanges(request: GetSegmentSizeChangesRequest): Promise<GetSegmentSizeChangesResponse>;
4
5
  }
5
6
  export type PrepareRequest = {
6
7
  segments?: string[];
@@ -19,3 +20,19 @@ export type StatusResponse_SegmentStatus = {
19
20
  export type StatusResponse = {
20
21
  segments: StatusResponse_SegmentStatus[];
21
22
  };
23
+ export type GetSegmentSizeChangesRequest = {
24
+ application?: string;
25
+ filter?: string;
26
+ timestampFrom?: Date;
27
+ timestampTo?: Date;
28
+ };
29
+ export type GetSegmentSizeChangesResponse_PlatformChanges = {
30
+ increase: number[];
31
+ decrease: number[];
32
+ net: number[];
33
+ };
34
+ export type GetSegmentSizeChangesResponse = {
35
+ timestamps: Date[];
36
+ all: GetSegmentSizeChangesResponse_PlatformChanges;
37
+ totals: number[];
38
+ };