@pushwoosh/rpc-v2-http-api-data 0.1.705 → 0.1.706

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.
@@ -0,0 +1,28 @@
1
+ export interface ApplicationsStatisticsService {
2
+ GetUsersStatistics(request: GetUsersStatisticsRequest): Promise<GetUsersStatisticsResponse>;
3
+ GetMAUStatistics(request: GetMAUStatisticsRequest): Promise<GetMAUStatisticsResponse>;
4
+ GetDAUStatistics(request: GetDAUStatisticsRequest): Promise<GetDAUStatisticsResponse>;
5
+ }
6
+ export type TimeInterval = 'TIME_INTERVAL_UNSPECIFIED' | 'TIME_INTERVAL_HOUR' | 'TIME_INTERVAL_DAY' | 'TIME_INTERVAL_WEEK' | 'TIME_INTERVAL_MONTH';
7
+ export type GetUsersStatisticsRequest = {
8
+ application?: string;
9
+ };
10
+ export type GetUsersStatisticsResponse = {
11
+ timestamps: Date[];
12
+ usersCount: number[];
13
+ interval: TimeInterval;
14
+ };
15
+ export type GetMAUStatisticsRequest = {
16
+ application?: string;
17
+ };
18
+ export type GetMAUStatisticsResponse = {
19
+ timestamps: Date[];
20
+ usersCount: number[];
21
+ };
22
+ export type GetDAUStatisticsRequest = {
23
+ application?: string;
24
+ };
25
+ export type GetDAUStatisticsResponse = {
26
+ timestamps: Date[];
27
+ usersCount: number[];
28
+ };
@@ -0,0 +1,2 @@
1
+ /* eslint-disable */
2
+ export {};
package/data.js CHANGED
@@ -2899,6 +2899,106 @@ export const data = {
2899
2899
  }
2900
2900
  }
2901
2901
  },
2902
+ "pushwoosh.rpc_v2.applications_statistics.ApplicationsStatisticsService": {
2903
+ "type": "S",
2904
+ "key": "applicationsStatistics",
2905
+ "methods": {
2906
+ "GetUsersStatistics": {
2907
+ "request": "pushwoosh.rpc_v2.applications_statistics.GetUsersStatisticsRequest",
2908
+ "response": "pushwoosh.rpc_v2.applications_statistics.GetUsersStatisticsResponse",
2909
+ "method": "post",
2910
+ "path": "/api/v2/statistics/messages/getUsersStatistics"
2911
+ },
2912
+ "GetMAUStatistics": {
2913
+ "request": "pushwoosh.rpc_v2.applications_statistics.GetMAUStatisticsRequest",
2914
+ "response": "pushwoosh.rpc_v2.applications_statistics.GetMAUStatisticsResponse",
2915
+ "method": "post",
2916
+ "path": "/api/v2/statistics/messages/getMAUStatistics"
2917
+ },
2918
+ "GetDAUStatistics": {
2919
+ "request": "pushwoosh.rpc_v2.applications_statistics.GetDAUStatisticsRequest",
2920
+ "response": "pushwoosh.rpc_v2.applications_statistics.GetDAUStatisticsResponse",
2921
+ "method": "post",
2922
+ "path": "/api/v2/statistics/messages/getDAUStatistics"
2923
+ }
2924
+ }
2925
+ },
2926
+ "pushwoosh.rpc_v2.applications_statistics.TimeInterval": {
2927
+ "type": "E",
2928
+ "values": [
2929
+ "TIME_INTERVAL_UNSPECIFIED",
2930
+ "TIME_INTERVAL_HOUR",
2931
+ "TIME_INTERVAL_DAY",
2932
+ "TIME_INTERVAL_WEEK",
2933
+ "TIME_INTERVAL_MONTH"
2934
+ ]
2935
+ },
2936
+ "pushwoosh.rpc_v2.applications_statistics.GetUsersStatisticsRequest": {
2937
+ "type": "I",
2938
+ "fields": {
2939
+ "application": {
2940
+ "type": "string"
2941
+ }
2942
+ }
2943
+ },
2944
+ "pushwoosh.rpc_v2.applications_statistics.GetUsersStatisticsResponse": {
2945
+ "type": "I",
2946
+ "fields": {
2947
+ "timestamps": {
2948
+ "type": "Date",
2949
+ "array": true
2950
+ },
2951
+ "usersCount": {
2952
+ "type": "number",
2953
+ "array": true
2954
+ },
2955
+ "interval": {
2956
+ "type": "pushwoosh.rpc_v2.applications_statistics.TimeInterval"
2957
+ }
2958
+ }
2959
+ },
2960
+ "pushwoosh.rpc_v2.applications_statistics.GetMAUStatisticsRequest": {
2961
+ "type": "I",
2962
+ "fields": {
2963
+ "application": {
2964
+ "type": "string"
2965
+ }
2966
+ }
2967
+ },
2968
+ "pushwoosh.rpc_v2.applications_statistics.GetMAUStatisticsResponse": {
2969
+ "type": "I",
2970
+ "fields": {
2971
+ "timestamps": {
2972
+ "type": "Date",
2973
+ "array": true
2974
+ },
2975
+ "usersCount": {
2976
+ "type": "number",
2977
+ "array": true
2978
+ }
2979
+ }
2980
+ },
2981
+ "pushwoosh.rpc_v2.applications_statistics.GetDAUStatisticsRequest": {
2982
+ "type": "I",
2983
+ "fields": {
2984
+ "application": {
2985
+ "type": "string"
2986
+ }
2987
+ }
2988
+ },
2989
+ "pushwoosh.rpc_v2.applications_statistics.GetDAUStatisticsResponse": {
2990
+ "type": "I",
2991
+ "fields": {
2992
+ "timestamps": {
2993
+ "type": "Date",
2994
+ "array": true
2995
+ },
2996
+ "usersCount": {
2997
+ "type": "number",
2998
+ "array": true
2999
+ }
3000
+ }
3001
+ },
2902
3002
  "pushwoosh.rpc_v2.autopushes.AutopushesService": {
2903
3003
  "type": "S",
2904
3004
  "key": "autopushes",
package/index.d.ts CHANGED
@@ -11,6 +11,7 @@ import { ApplicationsAlertsService as pushwoosh_rpc_v2_applications_alerts_Appli
11
11
  import { ApplicationsConfigurationsService as pushwoosh_rpc_v2_applications_configurations_ApplicationsConfigurationsService } from './applications_configurations';
12
12
  import { ApplicationsGroupsService as pushwoosh_rpc_v2_applications_groups_ApplicationsGroupsService } from './applications_groups';
13
13
  import { ApplicationsInfoService as pushwoosh_rpc_v2_applications_info_ApplicationsInfoService } from './applications_info';
14
+ import { ApplicationsStatisticsService as pushwoosh_rpc_v2_applications_statistics_ApplicationsStatisticsService } from './applications_statistics';
14
15
  import { AutopushesService as pushwoosh_rpc_v2_autopushes_AutopushesService } from './autopushes';
15
16
  import { CampaignsService as pushwoosh_rpc_v2_campaigns_CampaignsService } from './campaigns';
16
17
  import { CategoriesService as pushwoosh_rpc_v2_categories_CategoriesService } from './categories';
@@ -64,6 +65,7 @@ export type API = {
64
65
  applicationsConfigurations: pushwoosh_rpc_v2_applications_configurations_ApplicationsConfigurationsService;
65
66
  applicationsGroups: pushwoosh_rpc_v2_applications_groups_ApplicationsGroupsService;
66
67
  applicationsInfo: pushwoosh_rpc_v2_applications_info_ApplicationsInfoService;
68
+ applicationsStatistics: pushwoosh_rpc_v2_applications_statistics_ApplicationsStatisticsService;
67
69
  autopushes: pushwoosh_rpc_v2_autopushes_AutopushesService;
68
70
  campaigns: pushwoosh_rpc_v2_campaigns_CampaignsService;
69
71
  categories: pushwoosh_rpc_v2_categories_CategoriesService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.705",
3
+ "version": "0.1.706",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",