@pushwoosh/rpc-v2-http-api-data 0.1.730 → 0.1.731
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/applications_statistics.d.ts +26 -0
- package/data.js +88 -0
- package/package.json +1 -1
|
@@ -2,6 +2,8 @@ export interface ApplicationsStatisticsService {
|
|
|
2
2
|
GetUsersStatistics(request: GetUsersStatisticsRequest): Promise<GetUsersStatisticsResponse>;
|
|
3
3
|
GetMAUStatistics(request: GetMAUStatisticsRequest): Promise<GetMAUStatisticsResponse>;
|
|
4
4
|
GetDAUStatistics(request: GetDAUStatisticsRequest): Promise<GetDAUStatisticsResponse>;
|
|
5
|
+
GetPushApplicationStatistics(request: GetPushApplicationStatisticsRequest): Promise<GetPushApplicationStatisticsResponse>;
|
|
6
|
+
GetEmailApplicationStatistics(request: GetEmailApplicationStatisticsRequest): Promise<GetEmailApplicationStatisticsResponse>;
|
|
5
7
|
}
|
|
6
8
|
export type TimeInterval = 'TIME_INTERVAL_UNSPECIFIED' | 'TIME_INTERVAL_HOUR' | 'TIME_INTERVAL_DAY' | 'TIME_INTERVAL_WEEK' | 'TIME_INTERVAL_MONTH';
|
|
7
9
|
export type GetUsersStatisticsRequest = {
|
|
@@ -26,3 +28,27 @@ export type GetDAUStatisticsResponse = {
|
|
|
26
28
|
timestamps: Date[];
|
|
27
29
|
usersCount: number[];
|
|
28
30
|
};
|
|
31
|
+
export type GetPushApplicationStatisticsRequest = {
|
|
32
|
+
application?: string;
|
|
33
|
+
};
|
|
34
|
+
export type PlatformStatistics = {
|
|
35
|
+
platform: string;
|
|
36
|
+
values: number[];
|
|
37
|
+
};
|
|
38
|
+
export type GetPushApplicationStatisticsResponse = {
|
|
39
|
+
timestamps: Date[];
|
|
40
|
+
totalDevices: PlatformStatistics[];
|
|
41
|
+
sends: PlatformStatistics[];
|
|
42
|
+
openRate: PlatformStatistics[];
|
|
43
|
+
interval: TimeInterval;
|
|
44
|
+
};
|
|
45
|
+
export type GetEmailApplicationStatisticsRequest = {
|
|
46
|
+
application?: string;
|
|
47
|
+
};
|
|
48
|
+
export type GetEmailApplicationStatisticsResponse = {
|
|
49
|
+
timestamps: Date[];
|
|
50
|
+
totalDevices: PlatformStatistics[];
|
|
51
|
+
sends: PlatformStatistics[];
|
|
52
|
+
openRate: PlatformStatistics[];
|
|
53
|
+
interval: TimeInterval;
|
|
54
|
+
};
|
package/data.js
CHANGED
|
@@ -3239,6 +3239,18 @@ export const data = {
|
|
|
3239
3239
|
"response": "pushwoosh.rpc_v2.applications_statistics.GetDAUStatisticsResponse",
|
|
3240
3240
|
"method": "post",
|
|
3241
3241
|
"path": "/api/v2/statistics/messages/getDAUStatistics"
|
|
3242
|
+
},
|
|
3243
|
+
"GetPushApplicationStatistics": {
|
|
3244
|
+
"request": "pushwoosh.rpc_v2.applications_statistics.GetPushApplicationStatisticsRequest",
|
|
3245
|
+
"response": "pushwoosh.rpc_v2.applications_statistics.GetPushApplicationStatisticsResponse",
|
|
3246
|
+
"method": "post",
|
|
3247
|
+
"path": "/api/v2/statistics/messages/getPushApplicationStatistics"
|
|
3248
|
+
},
|
|
3249
|
+
"GetEmailApplicationStatistics": {
|
|
3250
|
+
"request": "pushwoosh.rpc_v2.applications_statistics.GetEmailApplicationStatisticsRequest",
|
|
3251
|
+
"response": "pushwoosh.rpc_v2.applications_statistics.GetEmailApplicationStatisticsResponse",
|
|
3252
|
+
"method": "post",
|
|
3253
|
+
"path": "/api/v2/statistics/messages/getEmailApplicationStatistics"
|
|
3242
3254
|
}
|
|
3243
3255
|
}
|
|
3244
3256
|
},
|
|
@@ -3318,6 +3330,82 @@ export const data = {
|
|
|
3318
3330
|
}
|
|
3319
3331
|
}
|
|
3320
3332
|
},
|
|
3333
|
+
"pushwoosh.rpc_v2.applications_statistics.GetPushApplicationStatisticsRequest": {
|
|
3334
|
+
"type": "I",
|
|
3335
|
+
"fields": {
|
|
3336
|
+
"application": {
|
|
3337
|
+
"type": "string"
|
|
3338
|
+
}
|
|
3339
|
+
}
|
|
3340
|
+
},
|
|
3341
|
+
"pushwoosh.rpc_v2.applications_statistics.PlatformStatistics": {
|
|
3342
|
+
"type": "I",
|
|
3343
|
+
"fields": {
|
|
3344
|
+
"platform": {
|
|
3345
|
+
"type": "string"
|
|
3346
|
+
},
|
|
3347
|
+
"values": {
|
|
3348
|
+
"type": "number",
|
|
3349
|
+
"array": true
|
|
3350
|
+
}
|
|
3351
|
+
}
|
|
3352
|
+
},
|
|
3353
|
+
"pushwoosh.rpc_v2.applications_statistics.GetPushApplicationStatisticsResponse": {
|
|
3354
|
+
"type": "I",
|
|
3355
|
+
"fields": {
|
|
3356
|
+
"timestamps": {
|
|
3357
|
+
"type": "Date",
|
|
3358
|
+
"array": true
|
|
3359
|
+
},
|
|
3360
|
+
"totalDevices": {
|
|
3361
|
+
"type": "pushwoosh.rpc_v2.applications_statistics.PlatformStatistics",
|
|
3362
|
+
"array": true
|
|
3363
|
+
},
|
|
3364
|
+
"sends": {
|
|
3365
|
+
"type": "pushwoosh.rpc_v2.applications_statistics.PlatformStatistics",
|
|
3366
|
+
"array": true
|
|
3367
|
+
},
|
|
3368
|
+
"openRate": {
|
|
3369
|
+
"type": "pushwoosh.rpc_v2.applications_statistics.PlatformStatistics",
|
|
3370
|
+
"array": true
|
|
3371
|
+
},
|
|
3372
|
+
"interval": {
|
|
3373
|
+
"type": "pushwoosh.rpc_v2.applications_statistics.TimeInterval"
|
|
3374
|
+
}
|
|
3375
|
+
}
|
|
3376
|
+
},
|
|
3377
|
+
"pushwoosh.rpc_v2.applications_statistics.GetEmailApplicationStatisticsRequest": {
|
|
3378
|
+
"type": "I",
|
|
3379
|
+
"fields": {
|
|
3380
|
+
"application": {
|
|
3381
|
+
"type": "string"
|
|
3382
|
+
}
|
|
3383
|
+
}
|
|
3384
|
+
},
|
|
3385
|
+
"pushwoosh.rpc_v2.applications_statistics.GetEmailApplicationStatisticsResponse": {
|
|
3386
|
+
"type": "I",
|
|
3387
|
+
"fields": {
|
|
3388
|
+
"timestamps": {
|
|
3389
|
+
"type": "Date",
|
|
3390
|
+
"array": true
|
|
3391
|
+
},
|
|
3392
|
+
"totalDevices": {
|
|
3393
|
+
"type": "pushwoosh.rpc_v2.applications_statistics.PlatformStatistics",
|
|
3394
|
+
"array": true
|
|
3395
|
+
},
|
|
3396
|
+
"sends": {
|
|
3397
|
+
"type": "pushwoosh.rpc_v2.applications_statistics.PlatformStatistics",
|
|
3398
|
+
"array": true
|
|
3399
|
+
},
|
|
3400
|
+
"openRate": {
|
|
3401
|
+
"type": "pushwoosh.rpc_v2.applications_statistics.PlatformStatistics",
|
|
3402
|
+
"array": true
|
|
3403
|
+
},
|
|
3404
|
+
"interval": {
|
|
3405
|
+
"type": "pushwoosh.rpc_v2.applications_statistics.TimeInterval"
|
|
3406
|
+
}
|
|
3407
|
+
}
|
|
3408
|
+
},
|
|
3321
3409
|
"pushwoosh.rpc_v2.autopushes.AutopushesService": {
|
|
3322
3410
|
"type": "S",
|
|
3323
3411
|
"key": "autopushes",
|