@pushwoosh/rpc-v2-http-api-data 0.1.730 → 0.1.732
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 +197 -0
- package/filters.d.ts +30 -0
- package/package.json +1 -1
- package/pushwoosh_channels_messagingApi_v2.d.ts +6 -0
|
@@ -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",
|
|
@@ -4775,6 +4863,20 @@ export const data = {
|
|
|
4775
4863
|
}
|
|
4776
4864
|
}
|
|
4777
4865
|
},
|
|
4866
|
+
"pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesKakao": {
|
|
4867
|
+
"type": "I",
|
|
4868
|
+
"fields": {
|
|
4869
|
+
"content": {
|
|
4870
|
+
"type": "string"
|
|
4871
|
+
},
|
|
4872
|
+
"template": {
|
|
4873
|
+
"type": "string"
|
|
4874
|
+
},
|
|
4875
|
+
"contentVariables": {
|
|
4876
|
+
"type": "string"
|
|
4877
|
+
}
|
|
4878
|
+
}
|
|
4879
|
+
},
|
|
4778
4880
|
"pushwoosh.channels.messagingApi.v2.Content": {
|
|
4779
4881
|
"type": "I",
|
|
4780
4882
|
"fields": {
|
|
@@ -4813,6 +4915,9 @@ export const data = {
|
|
|
4813
4915
|
},
|
|
4814
4916
|
"telegram": {
|
|
4815
4917
|
"type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesTelegram"
|
|
4918
|
+
},
|
|
4919
|
+
"kakao": {
|
|
4920
|
+
"type": "pushwoosh.channels.messagingApi.v2.Content.PlatformPropertiesKakao"
|
|
4816
4921
|
}
|
|
4817
4922
|
}
|
|
4818
4923
|
},
|
|
@@ -8106,6 +8211,12 @@ export const data = {
|
|
|
8106
8211
|
"response": "pushwoosh.rpc_v2.filters.GetMatchedSegmentsResponse",
|
|
8107
8212
|
"method": "post",
|
|
8108
8213
|
"path": "/api/filters:get-device-filters"
|
|
8214
|
+
},
|
|
8215
|
+
"GetFilterUsage": {
|
|
8216
|
+
"request": "pushwoosh.rpc_v2.filters.GetFilterUsageRequest",
|
|
8217
|
+
"response": "pushwoosh.rpc_v2.filters.GetFilterUsageResponse",
|
|
8218
|
+
"method": "post",
|
|
8219
|
+
"path": "/api/filters:get-filter-usage"
|
|
8109
8220
|
}
|
|
8110
8221
|
}
|
|
8111
8222
|
},
|
|
@@ -8512,6 +8623,92 @@ export const data = {
|
|
|
8512
8623
|
}
|
|
8513
8624
|
}
|
|
8514
8625
|
},
|
|
8626
|
+
"pushwoosh.rpc_v2.filters.GetFilterUsageRequest": {
|
|
8627
|
+
"type": "I",
|
|
8628
|
+
"fields": {
|
|
8629
|
+
"filter": {
|
|
8630
|
+
"type": "string"
|
|
8631
|
+
}
|
|
8632
|
+
}
|
|
8633
|
+
},
|
|
8634
|
+
"pushwoosh.rpc_v2.filters.GetFilterUsageResponse.Journey": {
|
|
8635
|
+
"type": "I",
|
|
8636
|
+
"fields": {
|
|
8637
|
+
"uuid": {
|
|
8638
|
+
"type": "string"
|
|
8639
|
+
},
|
|
8640
|
+
"title": {
|
|
8641
|
+
"type": "string"
|
|
8642
|
+
},
|
|
8643
|
+
"status": {
|
|
8644
|
+
"type": "number"
|
|
8645
|
+
},
|
|
8646
|
+
"pointsType": {
|
|
8647
|
+
"type": "number",
|
|
8648
|
+
"array": true
|
|
8649
|
+
}
|
|
8650
|
+
}
|
|
8651
|
+
},
|
|
8652
|
+
"pushwoosh.rpc_v2.filters.GetFilterUsageResponse.OTM": {
|
|
8653
|
+
"type": "I",
|
|
8654
|
+
"fields": {
|
|
8655
|
+
"code": {
|
|
8656
|
+
"type": "string"
|
|
8657
|
+
},
|
|
8658
|
+
"name": {
|
|
8659
|
+
"type": "string"
|
|
8660
|
+
},
|
|
8661
|
+
"status": {
|
|
8662
|
+
"type": "number"
|
|
8663
|
+
}
|
|
8664
|
+
}
|
|
8665
|
+
},
|
|
8666
|
+
"pushwoosh.rpc_v2.filters.GetFilterUsageResponse.Inapp": {
|
|
8667
|
+
"type": "I",
|
|
8668
|
+
"fields": {
|
|
8669
|
+
"code": {
|
|
8670
|
+
"type": "string"
|
|
8671
|
+
},
|
|
8672
|
+
"name": {
|
|
8673
|
+
"type": "string"
|
|
8674
|
+
},
|
|
8675
|
+
"status": {
|
|
8676
|
+
"type": "string"
|
|
8677
|
+
}
|
|
8678
|
+
}
|
|
8679
|
+
},
|
|
8680
|
+
"pushwoosh.rpc_v2.filters.GetFilterUsageResponse.Preset": {
|
|
8681
|
+
"type": "I",
|
|
8682
|
+
"fields": {
|
|
8683
|
+
"code": {
|
|
8684
|
+
"type": "string"
|
|
8685
|
+
},
|
|
8686
|
+
"name": {
|
|
8687
|
+
"type": "string"
|
|
8688
|
+
}
|
|
8689
|
+
}
|
|
8690
|
+
},
|
|
8691
|
+
"pushwoosh.rpc_v2.filters.GetFilterUsageResponse": {
|
|
8692
|
+
"type": "I",
|
|
8693
|
+
"fields": {
|
|
8694
|
+
"journeys": {
|
|
8695
|
+
"type": "pushwoosh.rpc_v2.filters.GetFilterUsageResponse.Journey",
|
|
8696
|
+
"array": true
|
|
8697
|
+
},
|
|
8698
|
+
"otms": {
|
|
8699
|
+
"type": "pushwoosh.rpc_v2.filters.GetFilterUsageResponse.OTM",
|
|
8700
|
+
"array": true
|
|
8701
|
+
},
|
|
8702
|
+
"inapps": {
|
|
8703
|
+
"type": "pushwoosh.rpc_v2.filters.GetFilterUsageResponse.Inapp",
|
|
8704
|
+
"array": true
|
|
8705
|
+
},
|
|
8706
|
+
"presets": {
|
|
8707
|
+
"type": "pushwoosh.rpc_v2.filters.GetFilterUsageResponse.Preset",
|
|
8708
|
+
"array": true
|
|
8709
|
+
}
|
|
8710
|
+
}
|
|
8711
|
+
},
|
|
8515
8712
|
"pushwoosh.rpc_v2.frequency_capping.FrequencyCappingService": {
|
|
8516
8713
|
"type": "S",
|
|
8517
8714
|
"key": "frequencyCapping",
|
package/filters.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export interface FiltersService {
|
|
|
12
12
|
GetSeglang(request: GetSeglangRequest): Promise<GetSeglangResponse>;
|
|
13
13
|
SeglangToFilterExpression(request: SeglangToFilterExpressionRequest): Promise<SeglangToFilterExpressionResponse>;
|
|
14
14
|
GetMatchedSegments(request: GetMatchedSegmentsRequest): Promise<GetMatchedSegmentsResponse>;
|
|
15
|
+
GetFilterUsage(request: GetFilterUsageRequest): Promise<GetFilterUsageResponse>;
|
|
15
16
|
}
|
|
16
17
|
export type ListFiltersRequest_OrderBy = 'NAME' | 'CREATED' | 'UPDATED';
|
|
17
18
|
export type ListFiltersRequest_OrderDirection = 'ASC' | 'DESC';
|
|
@@ -153,3 +154,32 @@ export type GetMatchedSegmentsResponse = {
|
|
|
153
154
|
totalPages: number;
|
|
154
155
|
totalFilters: number;
|
|
155
156
|
};
|
|
157
|
+
export type GetFilterUsageRequest = {
|
|
158
|
+
filter?: string;
|
|
159
|
+
};
|
|
160
|
+
export type GetFilterUsageResponse_Journey = {
|
|
161
|
+
uuid: string;
|
|
162
|
+
title: string;
|
|
163
|
+
status: number;
|
|
164
|
+
pointsType: number[];
|
|
165
|
+
};
|
|
166
|
+
export type GetFilterUsageResponse_OTM = {
|
|
167
|
+
code: string;
|
|
168
|
+
name: string;
|
|
169
|
+
status: number;
|
|
170
|
+
};
|
|
171
|
+
export type GetFilterUsageResponse_Inapp = {
|
|
172
|
+
code: string;
|
|
173
|
+
name: string;
|
|
174
|
+
status: string;
|
|
175
|
+
};
|
|
176
|
+
export type GetFilterUsageResponse_Preset = {
|
|
177
|
+
code: string;
|
|
178
|
+
name: string;
|
|
179
|
+
};
|
|
180
|
+
export type GetFilterUsageResponse = {
|
|
181
|
+
journeys: GetFilterUsageResponse_Journey[];
|
|
182
|
+
otms: GetFilterUsageResponse_OTM[];
|
|
183
|
+
inapps: GetFilterUsageResponse_Inapp[];
|
|
184
|
+
presets: GetFilterUsageResponse_Preset[];
|
|
185
|
+
};
|
package/package.json
CHANGED
|
@@ -359,6 +359,11 @@ export type Content_PlatformPropertiesSMS = {};
|
|
|
359
359
|
export type Content_PlatformPropertiesTelegram = {
|
|
360
360
|
body: string;
|
|
361
361
|
};
|
|
362
|
+
export type Content_PlatformPropertiesKakao = {
|
|
363
|
+
content: string;
|
|
364
|
+
template: string;
|
|
365
|
+
contentVariables: string;
|
|
366
|
+
};
|
|
362
367
|
export type Content = {
|
|
363
368
|
ios: Content_PlatformPropertiesIos;
|
|
364
369
|
android: Content_PlatformPropertiesAndroid;
|
|
@@ -372,6 +377,7 @@ export type Content = {
|
|
|
372
377
|
ie: Content_PlatformPropertiesIE;
|
|
373
378
|
windows: Content_PlatformPropertiesWindows;
|
|
374
379
|
telegram: Content_PlatformPropertiesTelegram;
|
|
380
|
+
kakao: Content_PlatformPropertiesKakao;
|
|
375
381
|
};
|
|
376
382
|
export type LocalizedContent = {
|
|
377
383
|
localizedContent: Record<string, Content>;
|