@pushwoosh/rpc-v2-http-api-data 0.1.400 → 0.1.401
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-bundle.js +1 -1
- package/data.js +108 -0
- package/messages.d.ts +35 -0
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -6000,6 +6000,12 @@ export const data = {
|
|
|
6000
6000
|
"response": "pushwoosh.rpc_v2.messages.GetDeliveryReportResponse",
|
|
6001
6001
|
"method": "post",
|
|
6002
6002
|
"path": "/api/messages/deliveryReport"
|
|
6003
|
+
},
|
|
6004
|
+
"GetMessageLog": {
|
|
6005
|
+
"request": "pushwoosh.rpc_v2.messages.GetMessageLogRequest",
|
|
6006
|
+
"response": "pushwoosh.rpc_v2.messages.GetMessageLogResponse",
|
|
6007
|
+
"method": "post",
|
|
6008
|
+
"path": "/api/messages/log"
|
|
6003
6009
|
}
|
|
6004
6010
|
}
|
|
6005
6011
|
},
|
|
@@ -6263,6 +6269,9 @@ export const data = {
|
|
|
6263
6269
|
"breakdowns": {
|
|
6264
6270
|
"type": "pushwoosh.rpc_v2.messages.GetStatisticsResponse.PlatformTimeSeries.Breakdown",
|
|
6265
6271
|
"array": true
|
|
6272
|
+
},
|
|
6273
|
+
"totals": {
|
|
6274
|
+
"type": "number"
|
|
6266
6275
|
}
|
|
6267
6276
|
}
|
|
6268
6277
|
},
|
|
@@ -6378,6 +6387,9 @@ export const data = {
|
|
|
6378
6387
|
},
|
|
6379
6388
|
"count": {
|
|
6380
6389
|
"type": "number"
|
|
6390
|
+
},
|
|
6391
|
+
"statusCode": {
|
|
6392
|
+
"type": "number"
|
|
6381
6393
|
}
|
|
6382
6394
|
}
|
|
6383
6395
|
},
|
|
@@ -6408,6 +6420,102 @@ export const data = {
|
|
|
6408
6420
|
}
|
|
6409
6421
|
}
|
|
6410
6422
|
},
|
|
6423
|
+
"pushwoosh.rpc_v2.messages.GetMessageLogRequest": {
|
|
6424
|
+
"type": "I",
|
|
6425
|
+
"fields": {
|
|
6426
|
+
"paginationToken": {
|
|
6427
|
+
"type": "string"
|
|
6428
|
+
},
|
|
6429
|
+
"messageId": {
|
|
6430
|
+
"type": "number"
|
|
6431
|
+
},
|
|
6432
|
+
"messageCode": {
|
|
6433
|
+
"type": "string"
|
|
6434
|
+
},
|
|
6435
|
+
"campaignCode": {
|
|
6436
|
+
"type": "string"
|
|
6437
|
+
},
|
|
6438
|
+
"hwid": {
|
|
6439
|
+
"type": "string"
|
|
6440
|
+
},
|
|
6441
|
+
"dateFrom": {
|
|
6442
|
+
"type": "string"
|
|
6443
|
+
},
|
|
6444
|
+
"dateTo": {
|
|
6445
|
+
"type": "string"
|
|
6446
|
+
},
|
|
6447
|
+
"limit": {
|
|
6448
|
+
"type": "number"
|
|
6449
|
+
},
|
|
6450
|
+
"userId": {
|
|
6451
|
+
"type": "string"
|
|
6452
|
+
},
|
|
6453
|
+
"applicationCode": {
|
|
6454
|
+
"type": "string"
|
|
6455
|
+
},
|
|
6456
|
+
"actions": {
|
|
6457
|
+
"type": "string",
|
|
6458
|
+
"array": true
|
|
6459
|
+
},
|
|
6460
|
+
"platforms": {
|
|
6461
|
+
"type": "string",
|
|
6462
|
+
"array": true
|
|
6463
|
+
}
|
|
6464
|
+
}
|
|
6465
|
+
},
|
|
6466
|
+
"pushwoosh.rpc_v2.messages.GetMessageLogResponse.TrackingLogStatistic": {
|
|
6467
|
+
"type": "I",
|
|
6468
|
+
"fields": {
|
|
6469
|
+
"timestamp": {
|
|
6470
|
+
"type": "string"
|
|
6471
|
+
},
|
|
6472
|
+
"messageId": {
|
|
6473
|
+
"type": "string"
|
|
6474
|
+
},
|
|
6475
|
+
"messageCode": {
|
|
6476
|
+
"type": "string"
|
|
6477
|
+
},
|
|
6478
|
+
"campaignCode": {
|
|
6479
|
+
"type": "string"
|
|
6480
|
+
},
|
|
6481
|
+
"hwid": {
|
|
6482
|
+
"type": "string"
|
|
6483
|
+
},
|
|
6484
|
+
"platform": {
|
|
6485
|
+
"type": "string"
|
|
6486
|
+
},
|
|
6487
|
+
"action": {
|
|
6488
|
+
"type": "string"
|
|
6489
|
+
},
|
|
6490
|
+
"pushAlertsEnabled": {
|
|
6491
|
+
"type": "string"
|
|
6492
|
+
},
|
|
6493
|
+
"status": {
|
|
6494
|
+
"type": "string"
|
|
6495
|
+
},
|
|
6496
|
+
"errorReason": {
|
|
6497
|
+
"type": "string"
|
|
6498
|
+
},
|
|
6499
|
+
"userId": {
|
|
6500
|
+
"type": "string"
|
|
6501
|
+
},
|
|
6502
|
+
"applicationCode": {
|
|
6503
|
+
"type": "string"
|
|
6504
|
+
}
|
|
6505
|
+
}
|
|
6506
|
+
},
|
|
6507
|
+
"pushwoosh.rpc_v2.messages.GetMessageLogResponse": {
|
|
6508
|
+
"type": "I",
|
|
6509
|
+
"fields": {
|
|
6510
|
+
"paginationToken": {
|
|
6511
|
+
"type": "string"
|
|
6512
|
+
},
|
|
6513
|
+
"data": {
|
|
6514
|
+
"type": "pushwoosh.rpc_v2.messages.GetMessageLogResponse.TrackingLogStatistic",
|
|
6515
|
+
"array": true
|
|
6516
|
+
}
|
|
6517
|
+
}
|
|
6518
|
+
},
|
|
6411
6519
|
"pushwoosh.objects.filters.v1.__filter_collection_internal": {
|
|
6412
6520
|
"type": "I",
|
|
6413
6521
|
"fields": {
|
package/messages.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export interface MessagesService {
|
|
|
6
6
|
GetStatistics(request: GetStatisticsRequest): Promise<GetStatisticsResponse>;
|
|
7
7
|
GetLinkClicksStatistics(request: GetLinkClicksStatisticsRequest): Promise<GetLinkClicksStatisticsResponse>;
|
|
8
8
|
GetDeliveryReport(request: GetDeliveryReportRequest): Promise<GetDeliveryReportResponse>;
|
|
9
|
+
GetMessageLog(request: GetMessageLogRequest): Promise<GetMessageLogResponse>;
|
|
9
10
|
}
|
|
10
11
|
export type Type = 'All' | 'Push' | 'Email';
|
|
11
12
|
export type PushInfo = {
|
|
@@ -87,6 +88,7 @@ export type GetStatisticsResponse_PlatformTimeSeries_Breakdown = {
|
|
|
87
88
|
export type GetStatisticsResponse_PlatformTimeSeries = {
|
|
88
89
|
timestamps: Date[];
|
|
89
90
|
breakdowns: GetStatisticsResponse_PlatformTimeSeries_Breakdown[];
|
|
91
|
+
totals: number;
|
|
90
92
|
};
|
|
91
93
|
export type GetStatisticsResponse_Metrics = {
|
|
92
94
|
sends: GetStatisticsResponse_PlatformTimeSeries;
|
|
@@ -127,6 +129,7 @@ export type GetDeliveryReportResponse_DeliveryReport_ReportError = {
|
|
|
127
129
|
error: string;
|
|
128
130
|
tooltip: string;
|
|
129
131
|
count: number;
|
|
132
|
+
statusCode: number;
|
|
130
133
|
};
|
|
131
134
|
export type GetDeliveryReportResponse_DeliveryReport = {
|
|
132
135
|
platform: number;
|
|
@@ -137,3 +140,35 @@ export type GetDeliveryReportResponse = {
|
|
|
137
140
|
senderErrors: GetDeliveryReportResponse_DeliveryReport[];
|
|
138
141
|
mailErrors: GetDeliveryReportResponse_DeliveryReport;
|
|
139
142
|
};
|
|
143
|
+
export type GetMessageLogRequest = {
|
|
144
|
+
paginationToken?: string;
|
|
145
|
+
messageId?: number;
|
|
146
|
+
messageCode?: string;
|
|
147
|
+
campaignCode?: string;
|
|
148
|
+
hwid?: string;
|
|
149
|
+
dateFrom?: string;
|
|
150
|
+
dateTo?: string;
|
|
151
|
+
limit?: number;
|
|
152
|
+
userId?: string;
|
|
153
|
+
applicationCode?: string;
|
|
154
|
+
actions?: string[];
|
|
155
|
+
platforms?: string[];
|
|
156
|
+
};
|
|
157
|
+
export type GetMessageLogResponse_TrackingLogStatistic = {
|
|
158
|
+
timestamp: string;
|
|
159
|
+
messageId: string;
|
|
160
|
+
messageCode: string;
|
|
161
|
+
campaignCode: string;
|
|
162
|
+
hwid: string;
|
|
163
|
+
platform: string;
|
|
164
|
+
action: string;
|
|
165
|
+
pushAlertsEnabled: string;
|
|
166
|
+
status: string;
|
|
167
|
+
errorReason: string;
|
|
168
|
+
userId: string;
|
|
169
|
+
applicationCode: string;
|
|
170
|
+
};
|
|
171
|
+
export type GetMessageLogResponse = {
|
|
172
|
+
paginationToken: string;
|
|
173
|
+
data: GetMessageLogResponse_TrackingLogStatistic[];
|
|
174
|
+
};
|