@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.
- package/account_groups.d.ts +1 -0
- package/data.js +59 -0
- package/package.json +1 -1
- package/segment_statistics.d.ts +17 -0
package/account_groups.d.ts
CHANGED
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
package/segment_statistics.d.ts
CHANGED
|
@@ -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
|
+
};
|