@pushwoosh/rpc-v2-http-api-data 0.1.447 → 0.1.449
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/account_invites.d.ts +15 -2
- package/data.js +91 -7
- package/package.json +1 -1
- package/pushwoosh_export_messages_v2.d.ts +28 -5
package/account_invites.d.ts
CHANGED
|
@@ -4,7 +4,16 @@ export interface AccountInvitesService {
|
|
|
4
4
|
Delete(request: DeleteRequest): Promise<DeleteResponse>;
|
|
5
5
|
Create(request: CreateRequest): Promise<CreateResponse>;
|
|
6
6
|
}
|
|
7
|
-
export type
|
|
7
|
+
export type ListRequest_OrderBy = 'INVITE_DATE' | 'EMAIL';
|
|
8
|
+
export type ListRequest_OrderDirection = 'ASC' | 'DESC';
|
|
9
|
+
export type ListRequest = {
|
|
10
|
+
page?: number;
|
|
11
|
+
perPage?: number;
|
|
12
|
+
orderBy?: ListRequest_OrderBy;
|
|
13
|
+
orderDirection?: ListRequest_OrderDirection;
|
|
14
|
+
searchByEmail?: string;
|
|
15
|
+
searchByStatus?: string;
|
|
16
|
+
};
|
|
8
17
|
export type ListResponse_Invite = {
|
|
9
18
|
code: string;
|
|
10
19
|
email: string;
|
|
@@ -13,16 +22,20 @@ export type ListResponse_Invite = {
|
|
|
13
22
|
};
|
|
14
23
|
export type ListResponse = {
|
|
15
24
|
invites: ListResponse_Invite[];
|
|
25
|
+
page: number;
|
|
26
|
+
perPage: number;
|
|
27
|
+
totalPages: number;
|
|
16
28
|
};
|
|
17
29
|
export type ResendRequest = {
|
|
18
30
|
code?: string;
|
|
19
31
|
};
|
|
20
32
|
export type ResendResponse = {};
|
|
21
33
|
export type CreateRequest = {
|
|
34
|
+
group?: string;
|
|
22
35
|
email?: string;
|
|
23
36
|
};
|
|
24
37
|
export type CreateResponse = {};
|
|
25
38
|
export type DeleteRequest = {
|
|
26
|
-
|
|
39
|
+
email?: string;
|
|
27
40
|
};
|
|
28
41
|
export type DeleteResponse = {};
|
package/data.js
CHANGED
|
@@ -188,9 +188,42 @@ export const data = {
|
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
},
|
|
191
|
+
"pushwoosh.rpc_v2.account_invites.ListRequest.OrderBy": {
|
|
192
|
+
"type": "E",
|
|
193
|
+
"values": [
|
|
194
|
+
"INVITE_DATE",
|
|
195
|
+
"EMAIL"
|
|
196
|
+
]
|
|
197
|
+
},
|
|
198
|
+
"pushwoosh.rpc_v2.account_invites.ListRequest.OrderDirection": {
|
|
199
|
+
"type": "E",
|
|
200
|
+
"values": [
|
|
201
|
+
"ASC",
|
|
202
|
+
"DESC"
|
|
203
|
+
]
|
|
204
|
+
},
|
|
191
205
|
"pushwoosh.rpc_v2.account_invites.ListRequest": {
|
|
192
206
|
"type": "I",
|
|
193
|
-
"fields": {
|
|
207
|
+
"fields": {
|
|
208
|
+
"page": {
|
|
209
|
+
"type": "number"
|
|
210
|
+
},
|
|
211
|
+
"perPage": {
|
|
212
|
+
"type": "number"
|
|
213
|
+
},
|
|
214
|
+
"orderBy": {
|
|
215
|
+
"type": "pushwoosh.rpc_v2.account_invites.ListRequest.OrderBy"
|
|
216
|
+
},
|
|
217
|
+
"orderDirection": {
|
|
218
|
+
"type": "pushwoosh.rpc_v2.account_invites.ListRequest.OrderDirection"
|
|
219
|
+
},
|
|
220
|
+
"searchByEmail": {
|
|
221
|
+
"type": "string"
|
|
222
|
+
},
|
|
223
|
+
"searchByStatus": {
|
|
224
|
+
"type": "string"
|
|
225
|
+
}
|
|
226
|
+
}
|
|
194
227
|
},
|
|
195
228
|
"pushwoosh.rpc_v2.account_invites.ListResponse.Invite": {
|
|
196
229
|
"type": "I",
|
|
@@ -215,6 +248,15 @@ export const data = {
|
|
|
215
248
|
"invites": {
|
|
216
249
|
"type": "pushwoosh.rpc_v2.account_invites.ListResponse.Invite",
|
|
217
250
|
"array": true
|
|
251
|
+
},
|
|
252
|
+
"page": {
|
|
253
|
+
"type": "number"
|
|
254
|
+
},
|
|
255
|
+
"perPage": {
|
|
256
|
+
"type": "number"
|
|
257
|
+
},
|
|
258
|
+
"totalPages": {
|
|
259
|
+
"type": "number"
|
|
218
260
|
}
|
|
219
261
|
}
|
|
220
262
|
},
|
|
@@ -233,6 +275,9 @@ export const data = {
|
|
|
233
275
|
"pushwoosh.rpc_v2.account_invites.CreateRequest": {
|
|
234
276
|
"type": "I",
|
|
235
277
|
"fields": {
|
|
278
|
+
"group": {
|
|
279
|
+
"type": "string"
|
|
280
|
+
},
|
|
236
281
|
"email": {
|
|
237
282
|
"type": "string"
|
|
238
283
|
}
|
|
@@ -245,7 +290,7 @@ export const data = {
|
|
|
245
290
|
"pushwoosh.rpc_v2.account_invites.DeleteRequest": {
|
|
246
291
|
"type": "I",
|
|
247
292
|
"fields": {
|
|
248
|
-
"
|
|
293
|
+
"email": {
|
|
249
294
|
"type": "string"
|
|
250
295
|
}
|
|
251
296
|
}
|
|
@@ -5010,6 +5055,9 @@ export const data = {
|
|
|
5010
5055
|
},
|
|
5011
5056
|
"createSegmentFromMessage": {
|
|
5012
5057
|
"type": "pushwoosh.export_messages.v2.CreateSegmentFromMessageArgs"
|
|
5058
|
+
},
|
|
5059
|
+
"updateSegmentInsightsList": {
|
|
5060
|
+
"type": "pushwoosh.export_messages.v2.UpdateSegmentInsightsListArgs"
|
|
5013
5061
|
}
|
|
5014
5062
|
},
|
|
5015
5063
|
"oneofs": {
|
|
@@ -5031,7 +5079,8 @@ export const data = {
|
|
|
5031
5079
|
"exportMessageClicksDevices",
|
|
5032
5080
|
"exportMessageEventTriggeredDevices",
|
|
5033
5081
|
"exportMessageErrorDevices",
|
|
5034
|
-
"createSegmentFromMessage"
|
|
5082
|
+
"createSegmentFromMessage",
|
|
5083
|
+
"updateSegmentInsightsList"
|
|
5035
5084
|
]
|
|
5036
5085
|
}
|
|
5037
5086
|
}
|
|
@@ -5151,6 +5200,9 @@ export const data = {
|
|
|
5151
5200
|
},
|
|
5152
5201
|
"createSegmentFromMessageResult": {
|
|
5153
5202
|
"type": "pushwoosh.export_messages.v2.CreateSegmentFromMessageResult"
|
|
5203
|
+
},
|
|
5204
|
+
"updateSegmentInsightsListResult": {
|
|
5205
|
+
"type": "pushwoosh.export_messages.v2.UpdateSegmentInsightsListResult"
|
|
5154
5206
|
}
|
|
5155
5207
|
},
|
|
5156
5208
|
"oneofs": {
|
|
@@ -5173,7 +5225,8 @@ export const data = {
|
|
|
5173
5225
|
"exportMessageClicksDevicesResult",
|
|
5174
5226
|
"exportMessageEventTriggeredDevicesResult",
|
|
5175
5227
|
"exportMessageErrorDevicesResult",
|
|
5176
|
-
"createSegmentFromMessageResult"
|
|
5228
|
+
"createSegmentFromMessageResult",
|
|
5229
|
+
"updateSegmentInsightsListResult"
|
|
5177
5230
|
]
|
|
5178
5231
|
}
|
|
5179
5232
|
}
|
|
@@ -5199,6 +5252,9 @@ export const data = {
|
|
|
5199
5252
|
},
|
|
5200
5253
|
"campaign": {
|
|
5201
5254
|
"type": "string"
|
|
5255
|
+
},
|
|
5256
|
+
"messageCode": {
|
|
5257
|
+
"type": "string"
|
|
5202
5258
|
}
|
|
5203
5259
|
}
|
|
5204
5260
|
},
|
|
@@ -5254,6 +5310,9 @@ export const data = {
|
|
|
5254
5310
|
"createSegmentFromMessage": {
|
|
5255
5311
|
"type": "pushwoosh.export_messages.v2.CreateSegmentFromMessageArgs"
|
|
5256
5312
|
},
|
|
5313
|
+
"updateSegmentInsightsList": {
|
|
5314
|
+
"type": "pushwoosh.export_messages.v2.UpdateSegmentInsightsListArgs"
|
|
5315
|
+
},
|
|
5257
5316
|
"failedTask": {
|
|
5258
5317
|
"type": "pushwoosh.export_messages.v2.TaskFailed"
|
|
5259
5318
|
},
|
|
@@ -5292,6 +5351,9 @@ export const data = {
|
|
|
5292
5351
|
},
|
|
5293
5352
|
"createSegmentFromMessageResult": {
|
|
5294
5353
|
"type": "pushwoosh.export_messages.v2.CreateSegmentFromMessageResult"
|
|
5354
|
+
},
|
|
5355
|
+
"updateSegmentInsightsListResult": {
|
|
5356
|
+
"type": "pushwoosh.export_messages.v2.UpdateSegmentInsightsListResult"
|
|
5295
5357
|
}
|
|
5296
5358
|
},
|
|
5297
5359
|
"oneofs": {
|
|
@@ -5308,7 +5370,8 @@ export const data = {
|
|
|
5308
5370
|
"exportMessageClicksDevices",
|
|
5309
5371
|
"exportMessageEventTriggeredDevices",
|
|
5310
5372
|
"exportMessageErrorsDevices",
|
|
5311
|
-
"createSegmentFromMessage"
|
|
5373
|
+
"createSegmentFromMessage",
|
|
5374
|
+
"updateSegmentInsightsList"
|
|
5312
5375
|
]
|
|
5313
5376
|
},
|
|
5314
5377
|
"result": {
|
|
@@ -5325,7 +5388,8 @@ export const data = {
|
|
|
5325
5388
|
"exportMessageClicksDevicesResult",
|
|
5326
5389
|
"exportMessageEventTriggeredDevicesResult",
|
|
5327
5390
|
"exportMessageErrorsDevicesResult",
|
|
5328
|
-
"createSegmentFromMessageResult"
|
|
5391
|
+
"createSegmentFromMessageResult",
|
|
5392
|
+
"updateSegmentInsightsListResult"
|
|
5329
5393
|
]
|
|
5330
5394
|
}
|
|
5331
5395
|
}
|
|
@@ -5361,7 +5425,8 @@ export const data = {
|
|
|
5361
5425
|
"TASK_TYPE_EXPORT_MESSAGE_CLICKS_DEVICES",
|
|
5362
5426
|
"TASK_TYPE_EXPORT_MESSAGE_EVENT_TRIGGERED_DEVICES",
|
|
5363
5427
|
"TASK_TYPE_EXPORT_MESSAGE_ERROR_DEVICES",
|
|
5364
|
-
"TASK_TYPE_CREATE_SEGMENT_FROM_MESSAGE"
|
|
5428
|
+
"TASK_TYPE_CREATE_SEGMENT_FROM_MESSAGE",
|
|
5429
|
+
"TASK_TYPE_UPDATE_SEGMENT_INSIGHTS_LIST"
|
|
5365
5430
|
]
|
|
5366
5431
|
},
|
|
5367
5432
|
"pushwoosh.export_messages.v2.TaskFailed": {
|
|
@@ -6151,6 +6216,25 @@ export const data = {
|
|
|
6151
6216
|
}
|
|
6152
6217
|
}
|
|
6153
6218
|
},
|
|
6219
|
+
"pushwoosh.export_messages.v2.UpdateSegmentInsightsListArgs": {
|
|
6220
|
+
"type": "I",
|
|
6221
|
+
"fields": {
|
|
6222
|
+
"campaign": {
|
|
6223
|
+
"type": "string"
|
|
6224
|
+
},
|
|
6225
|
+
"messageCode": {
|
|
6226
|
+
"type": "string"
|
|
6227
|
+
},
|
|
6228
|
+
"segments": {
|
|
6229
|
+
"type": "string",
|
|
6230
|
+
"array": true
|
|
6231
|
+
}
|
|
6232
|
+
}
|
|
6233
|
+
},
|
|
6234
|
+
"pushwoosh.export_messages.v2.UpdateSegmentInsightsListResult": {
|
|
6235
|
+
"type": "I",
|
|
6236
|
+
"fields": {}
|
|
6237
|
+
},
|
|
6154
6238
|
"pushwoosh.rpc_v2.filters.FiltersService": {
|
|
6155
6239
|
"type": "S",
|
|
6156
6240
|
"key": "filters",
|
package/package.json
CHANGED
|
@@ -66,7 +66,11 @@ export type ExportRequest_args_createSegmentFromMessage = {
|
|
|
66
66
|
type: 'createSegmentFromMessage';
|
|
67
67
|
data: CreateSegmentFromMessageArgs;
|
|
68
68
|
};
|
|
69
|
-
export type
|
|
69
|
+
export type ExportRequest_args_updateSegmentInsightsList = {
|
|
70
|
+
type: 'updateSegmentInsightsList';
|
|
71
|
+
data: UpdateSegmentInsightsListArgs;
|
|
72
|
+
};
|
|
73
|
+
export type ExportRequest_args = ExportRequest_args_trackingLogCsv | ExportRequest_args_exportMessagesV2 | ExportRequest_args_exportUnregisteredDevices | ExportRequest_args_exportRichMediaFormValues | ExportRequest_args_applySegmentToMessage | ExportRequest_args_exportApplySegmentToMessage | ExportRequest_args_calculateRetention | ExportRequest_args_applySegmentToMetric | ExportRequest_args_exportRichMediaRecipients | ExportRequest_args_exportBouncedEmails | ExportRequest_args_exportJourneysHistory | ExportRequest_args_exportJourneyPointUsers | ExportRequest_args_exportMessageRecipients | ExportRequest_args_exportMessageClicksDevices | ExportRequest_args_exportMessageEventTriggeredDevices | ExportRequest_args_exportMessageErrorDevices | ExportRequest_args_createSegmentFromMessage | ExportRequest_args_updateSegmentInsightsList;
|
|
70
74
|
export type ExportRequest = {
|
|
71
75
|
type?: TaskType;
|
|
72
76
|
args: ExportRequest_args;
|
|
@@ -161,7 +165,11 @@ export type ResultResponse_result_createSegmentFromMessageResult = {
|
|
|
161
165
|
type: 'createSegmentFromMessageResult';
|
|
162
166
|
data: CreateSegmentFromMessageResult;
|
|
163
167
|
};
|
|
164
|
-
export type
|
|
168
|
+
export type ResultResponse_result_updateSegmentInsightsListResult = {
|
|
169
|
+
type: 'updateSegmentInsightsListResult';
|
|
170
|
+
data: UpdateSegmentInsightsListResult;
|
|
171
|
+
};
|
|
172
|
+
export type ResultResponse_result = ResultResponse_result_failedTask | ResultResponse_result_trackingLogResult | ResultResponse_result_exportMessagesV2Result | ResultResponse_result_exportUnregisteredDevicesResult | ResultResponse_result_exportRichMediaFormValuesResult | ResultResponse_result_applySegmentToMessageResult | ResultResponse_result_exportApplySegmentToMessageResult | ResultResponse_result_calculateRetentionResult | ResultResponse_result_applySegmentToMetricResult | ResultResponse_result_exportRichMediaRecipientsResult | ResultResponse_result_exportBouncedEmailsResult | ResultResponse_result_exportJourneysHistoryResult | ResultResponse_result_exportJourneyPointUsersResult | ResultResponse_result_exportMessageRecipientsResult | ResultResponse_result_exportMessageClicksDevicesResult | ResultResponse_result_exportMessageEventTriggeredDevicesResult | ResultResponse_result_exportMessageErrorDevicesResult | ResultResponse_result_createSegmentFromMessageResult | ResultResponse_result_updateSegmentInsightsListResult;
|
|
165
173
|
export type ResultResponse = {
|
|
166
174
|
type: TaskType;
|
|
167
175
|
result: ResultResponse_result;
|
|
@@ -173,6 +181,7 @@ export type GetLastTasksRequest = {
|
|
|
173
181
|
limit?: number;
|
|
174
182
|
messageId?: number;
|
|
175
183
|
campaign?: string;
|
|
184
|
+
messageCode?: string;
|
|
176
185
|
};
|
|
177
186
|
export type TaskInfo_args_trackingLogCsv = {
|
|
178
187
|
type: 'trackingLogCsv';
|
|
@@ -222,7 +231,11 @@ export type TaskInfo_args_createSegmentFromMessage = {
|
|
|
222
231
|
type: 'createSegmentFromMessage';
|
|
223
232
|
data: CreateSegmentFromMessageArgs;
|
|
224
233
|
};
|
|
225
|
-
export type
|
|
234
|
+
export type TaskInfo_args_updateSegmentInsightsList = {
|
|
235
|
+
type: 'updateSegmentInsightsList';
|
|
236
|
+
data: UpdateSegmentInsightsListArgs;
|
|
237
|
+
};
|
|
238
|
+
export type TaskInfo_args = TaskInfo_args_trackingLogCsv | TaskInfo_args_exportMessagesV2 | TaskInfo_args_exportUnregisteredDevices | TaskInfo_args_exportRichMediaFormValues | TaskInfo_args_applySegmentToMessage | TaskInfo_args_exportRichMediaRecipients | TaskInfo_args_exportJourneysHistory | TaskInfo_args_exportMessageRecipients | TaskInfo_args_exportMessageClicksDevices | TaskInfo_args_exportMessageEventTriggeredDevices | TaskInfo_args_exportMessageErrorsDevices | TaskInfo_args_createSegmentFromMessage | TaskInfo_args_updateSegmentInsightsList;
|
|
226
239
|
export type TaskInfo_result_failedTask = {
|
|
227
240
|
type: 'failedTask';
|
|
228
241
|
data: TaskFailed;
|
|
@@ -275,7 +288,11 @@ export type TaskInfo_result_createSegmentFromMessageResult = {
|
|
|
275
288
|
type: 'createSegmentFromMessageResult';
|
|
276
289
|
data: CreateSegmentFromMessageResult;
|
|
277
290
|
};
|
|
278
|
-
export type
|
|
291
|
+
export type TaskInfo_result_updateSegmentInsightsListResult = {
|
|
292
|
+
type: 'updateSegmentInsightsListResult';
|
|
293
|
+
data: UpdateSegmentInsightsListResult;
|
|
294
|
+
};
|
|
295
|
+
export type TaskInfo_result = TaskInfo_result_failedTask | TaskInfo_result_trackingLogResult | TaskInfo_result_exportMessagesV2Result | TaskInfo_result_exportUnregisteredDevicesResult | TaskInfo_result_exportRichMediaFormValuesResult | TaskInfo_result_applySegmentToMessageResult | TaskInfo_result_exportRichMediaRecipientsResult | TaskInfo_result_exportJourneysHistoryResult | TaskInfo_result_exportMessageRecipientsResult | TaskInfo_result_exportMessageClicksDevicesResult | TaskInfo_result_exportMessageEventTriggeredDevicesResult | TaskInfo_result_exportMessageErrorsDevicesResult | TaskInfo_result_createSegmentFromMessageResult | TaskInfo_result_updateSegmentInsightsListResult;
|
|
279
296
|
export type TaskInfo = {
|
|
280
297
|
id: number;
|
|
281
298
|
timestamp: string;
|
|
@@ -287,7 +304,7 @@ export type TaskInfo = {
|
|
|
287
304
|
export type GetLastTasksResponse = {
|
|
288
305
|
tasks: TaskInfo[];
|
|
289
306
|
};
|
|
290
|
-
export type TaskType = 'TASK_TYPE_UNSPECIFIED' | 'TASK_TYPE_FAILED' | 'TASK_TYPE_TRACKING_LOG_CSV' | 'TASK_TYPE_EXPORT_MESSAGES' | 'TASK_TYPE_EXPORT_MESSAGES_V2' | 'TASK_TYPE_EXPORT_UNREGISTERED_DEVICES' | 'TASK_TYPE_EXPORT_RICH_MEDIA_FORM_VALUES' | 'TASK_TYPE_APPLY_SEGMENT_TO_MESSAGE' | 'TASK_TYPE_EXPORT_APPLY_SEGMENT_TO_MESSAGE' | 'TASK_TYPE_CALCULATE_RETENTION' | 'TASK_TYPE_APPLY_SEGMENT_TO_METRIC' | 'TASK_TYPE_EXPORT_RICH_MEDIA_RECIPIENTS' | 'TASK_TYPE_EXPORT_BOUNCED_EMAILS' | 'TASK_TYPE_EXPORT_JOURNEYS_HISTORY' | 'TASK_TYPE_EXPORT_JOURNEY_POINT_USERS' | 'TASK_TYPE_EXPORT_MESSAGE_RECIPIENTS' | 'TASK_TYPE_EXPORT_MESSAGE_CLICKS_DEVICES' | 'TASK_TYPE_EXPORT_MESSAGE_EVENT_TRIGGERED_DEVICES' | 'TASK_TYPE_EXPORT_MESSAGE_ERROR_DEVICES' | 'TASK_TYPE_CREATE_SEGMENT_FROM_MESSAGE';
|
|
307
|
+
export type TaskType = 'TASK_TYPE_UNSPECIFIED' | 'TASK_TYPE_FAILED' | 'TASK_TYPE_TRACKING_LOG_CSV' | 'TASK_TYPE_EXPORT_MESSAGES' | 'TASK_TYPE_EXPORT_MESSAGES_V2' | 'TASK_TYPE_EXPORT_UNREGISTERED_DEVICES' | 'TASK_TYPE_EXPORT_RICH_MEDIA_FORM_VALUES' | 'TASK_TYPE_APPLY_SEGMENT_TO_MESSAGE' | 'TASK_TYPE_EXPORT_APPLY_SEGMENT_TO_MESSAGE' | 'TASK_TYPE_CALCULATE_RETENTION' | 'TASK_TYPE_APPLY_SEGMENT_TO_METRIC' | 'TASK_TYPE_EXPORT_RICH_MEDIA_RECIPIENTS' | 'TASK_TYPE_EXPORT_BOUNCED_EMAILS' | 'TASK_TYPE_EXPORT_JOURNEYS_HISTORY' | 'TASK_TYPE_EXPORT_JOURNEY_POINT_USERS' | 'TASK_TYPE_EXPORT_MESSAGE_RECIPIENTS' | 'TASK_TYPE_EXPORT_MESSAGE_CLICKS_DEVICES' | 'TASK_TYPE_EXPORT_MESSAGE_EVENT_TRIGGERED_DEVICES' | 'TASK_TYPE_EXPORT_MESSAGE_ERROR_DEVICES' | 'TASK_TYPE_CREATE_SEGMENT_FROM_MESSAGE' | 'TASK_TYPE_UPDATE_SEGMENT_INSIGHTS_LIST';
|
|
291
308
|
export type TaskFailed = {};
|
|
292
309
|
export type TrackingLogCSVArgs = {
|
|
293
310
|
messageId: number;
|
|
@@ -532,3 +549,9 @@ export type CreateSegmentFromMessageResult = {
|
|
|
532
549
|
segmentCode: string;
|
|
533
550
|
segmentName: string;
|
|
534
551
|
};
|
|
552
|
+
export type UpdateSegmentInsightsListArgs = {
|
|
553
|
+
campaign: string;
|
|
554
|
+
messageCode: string;
|
|
555
|
+
segments: string[];
|
|
556
|
+
};
|
|
557
|
+
export type UpdateSegmentInsightsListResult = {};
|