@pushwoosh/rpc-v2-http-api-data 0.1.489 → 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/data.js +56 -0
- package/package.json +1 -1
- package/segment_statistics.d.ts +17 -0
package/data.js
CHANGED
|
@@ -17761,6 +17761,12 @@ export const data = {
|
|
|
17761
17761
|
"response": "pushwoosh.rpc_v2.segment_statistics.StatusResponse",
|
|
17762
17762
|
"method": "get",
|
|
17763
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"
|
|
17764
17770
|
}
|
|
17765
17771
|
}
|
|
17766
17772
|
},
|
|
@@ -17821,6 +17827,56 @@ export const data = {
|
|
|
17821
17827
|
}
|
|
17822
17828
|
}
|
|
17823
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
|
+
},
|
|
17824
17880
|
"pushwoosh.rpc_v2.sms_presets.smsPresetsService": {
|
|
17825
17881
|
"type": "S",
|
|
17826
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
|
+
};
|