@pushwoosh/rpc-v2-http-api-data 0.1.447 → 0.1.448
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.js +44 -5
- package/package.json +1 -1
- package/pushwoosh_export_messages_v2.d.ts +28 -5
package/data.js
CHANGED
|
@@ -5010,6 +5010,9 @@ export const data = {
|
|
|
5010
5010
|
},
|
|
5011
5011
|
"createSegmentFromMessage": {
|
|
5012
5012
|
"type": "pushwoosh.export_messages.v2.CreateSegmentFromMessageArgs"
|
|
5013
|
+
},
|
|
5014
|
+
"updateSegmentInsightsList": {
|
|
5015
|
+
"type": "pushwoosh.export_messages.v2.UpdateSegmentInsightsListArgs"
|
|
5013
5016
|
}
|
|
5014
5017
|
},
|
|
5015
5018
|
"oneofs": {
|
|
@@ -5031,7 +5034,8 @@ export const data = {
|
|
|
5031
5034
|
"exportMessageClicksDevices",
|
|
5032
5035
|
"exportMessageEventTriggeredDevices",
|
|
5033
5036
|
"exportMessageErrorDevices",
|
|
5034
|
-
"createSegmentFromMessage"
|
|
5037
|
+
"createSegmentFromMessage",
|
|
5038
|
+
"updateSegmentInsightsList"
|
|
5035
5039
|
]
|
|
5036
5040
|
}
|
|
5037
5041
|
}
|
|
@@ -5151,6 +5155,9 @@ export const data = {
|
|
|
5151
5155
|
},
|
|
5152
5156
|
"createSegmentFromMessageResult": {
|
|
5153
5157
|
"type": "pushwoosh.export_messages.v2.CreateSegmentFromMessageResult"
|
|
5158
|
+
},
|
|
5159
|
+
"updateSegmentInsightsListResult": {
|
|
5160
|
+
"type": "pushwoosh.export_messages.v2.UpdateSegmentInsightsListResult"
|
|
5154
5161
|
}
|
|
5155
5162
|
},
|
|
5156
5163
|
"oneofs": {
|
|
@@ -5173,7 +5180,8 @@ export const data = {
|
|
|
5173
5180
|
"exportMessageClicksDevicesResult",
|
|
5174
5181
|
"exportMessageEventTriggeredDevicesResult",
|
|
5175
5182
|
"exportMessageErrorDevicesResult",
|
|
5176
|
-
"createSegmentFromMessageResult"
|
|
5183
|
+
"createSegmentFromMessageResult",
|
|
5184
|
+
"updateSegmentInsightsListResult"
|
|
5177
5185
|
]
|
|
5178
5186
|
}
|
|
5179
5187
|
}
|
|
@@ -5199,6 +5207,9 @@ export const data = {
|
|
|
5199
5207
|
},
|
|
5200
5208
|
"campaign": {
|
|
5201
5209
|
"type": "string"
|
|
5210
|
+
},
|
|
5211
|
+
"messageCode": {
|
|
5212
|
+
"type": "string"
|
|
5202
5213
|
}
|
|
5203
5214
|
}
|
|
5204
5215
|
},
|
|
@@ -5254,6 +5265,9 @@ export const data = {
|
|
|
5254
5265
|
"createSegmentFromMessage": {
|
|
5255
5266
|
"type": "pushwoosh.export_messages.v2.CreateSegmentFromMessageArgs"
|
|
5256
5267
|
},
|
|
5268
|
+
"updateSegmentInsightsList": {
|
|
5269
|
+
"type": "pushwoosh.export_messages.v2.UpdateSegmentInsightsListArgs"
|
|
5270
|
+
},
|
|
5257
5271
|
"failedTask": {
|
|
5258
5272
|
"type": "pushwoosh.export_messages.v2.TaskFailed"
|
|
5259
5273
|
},
|
|
@@ -5292,6 +5306,9 @@ export const data = {
|
|
|
5292
5306
|
},
|
|
5293
5307
|
"createSegmentFromMessageResult": {
|
|
5294
5308
|
"type": "pushwoosh.export_messages.v2.CreateSegmentFromMessageResult"
|
|
5309
|
+
},
|
|
5310
|
+
"updateSegmentInsightsListResult": {
|
|
5311
|
+
"type": "pushwoosh.export_messages.v2.UpdateSegmentInsightsListResult"
|
|
5295
5312
|
}
|
|
5296
5313
|
},
|
|
5297
5314
|
"oneofs": {
|
|
@@ -5308,7 +5325,8 @@ export const data = {
|
|
|
5308
5325
|
"exportMessageClicksDevices",
|
|
5309
5326
|
"exportMessageEventTriggeredDevices",
|
|
5310
5327
|
"exportMessageErrorsDevices",
|
|
5311
|
-
"createSegmentFromMessage"
|
|
5328
|
+
"createSegmentFromMessage",
|
|
5329
|
+
"updateSegmentInsightsList"
|
|
5312
5330
|
]
|
|
5313
5331
|
},
|
|
5314
5332
|
"result": {
|
|
@@ -5325,7 +5343,8 @@ export const data = {
|
|
|
5325
5343
|
"exportMessageClicksDevicesResult",
|
|
5326
5344
|
"exportMessageEventTriggeredDevicesResult",
|
|
5327
5345
|
"exportMessageErrorsDevicesResult",
|
|
5328
|
-
"createSegmentFromMessageResult"
|
|
5346
|
+
"createSegmentFromMessageResult",
|
|
5347
|
+
"updateSegmentInsightsListResult"
|
|
5329
5348
|
]
|
|
5330
5349
|
}
|
|
5331
5350
|
}
|
|
@@ -5361,7 +5380,8 @@ export const data = {
|
|
|
5361
5380
|
"TASK_TYPE_EXPORT_MESSAGE_CLICKS_DEVICES",
|
|
5362
5381
|
"TASK_TYPE_EXPORT_MESSAGE_EVENT_TRIGGERED_DEVICES",
|
|
5363
5382
|
"TASK_TYPE_EXPORT_MESSAGE_ERROR_DEVICES",
|
|
5364
|
-
"TASK_TYPE_CREATE_SEGMENT_FROM_MESSAGE"
|
|
5383
|
+
"TASK_TYPE_CREATE_SEGMENT_FROM_MESSAGE",
|
|
5384
|
+
"TASK_TYPE_UPDATE_SEGMENT_INSIGHTS_LIST"
|
|
5365
5385
|
]
|
|
5366
5386
|
},
|
|
5367
5387
|
"pushwoosh.export_messages.v2.TaskFailed": {
|
|
@@ -6151,6 +6171,25 @@ export const data = {
|
|
|
6151
6171
|
}
|
|
6152
6172
|
}
|
|
6153
6173
|
},
|
|
6174
|
+
"pushwoosh.export_messages.v2.UpdateSegmentInsightsListArgs": {
|
|
6175
|
+
"type": "I",
|
|
6176
|
+
"fields": {
|
|
6177
|
+
"campaign": {
|
|
6178
|
+
"type": "string"
|
|
6179
|
+
},
|
|
6180
|
+
"messageCode": {
|
|
6181
|
+
"type": "string"
|
|
6182
|
+
},
|
|
6183
|
+
"segments": {
|
|
6184
|
+
"type": "string",
|
|
6185
|
+
"array": true
|
|
6186
|
+
}
|
|
6187
|
+
}
|
|
6188
|
+
},
|
|
6189
|
+
"pushwoosh.export_messages.v2.UpdateSegmentInsightsListResult": {
|
|
6190
|
+
"type": "I",
|
|
6191
|
+
"fields": {}
|
|
6192
|
+
},
|
|
6154
6193
|
"pushwoosh.rpc_v2.filters.FiltersService": {
|
|
6155
6194
|
"type": "S",
|
|
6156
6195
|
"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 = {};
|