@pushwoosh/rpc-v2-http-api-data 0.2.194 → 0.2.196
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 +47 -5
- package/package.json +1 -1
- package/pushwoosh_export_messages_v2.d.ts +35 -5
package/data.js
CHANGED
|
@@ -11764,7 +11764,8 @@ export const data = {
|
|
|
11764
11764
|
"TASK_TYPE_EXPORT_JOURNEY_POINTS_STATISTICS",
|
|
11765
11765
|
"TASK_TYPE_EXPORT_JOURNEY_GOAL_USERS",
|
|
11766
11766
|
"TASK_TYPE_EXPORT_CONTROL_GROUP",
|
|
11767
|
-
"TASK_TYPE_EXPORT_SUBSCRIPTION_FORM_SUBSCRIBED_USERS"
|
|
11767
|
+
"TASK_TYPE_EXPORT_SUBSCRIPTION_FORM_SUBSCRIBED_USERS",
|
|
11768
|
+
"TASK_TYPE_EXPORT_UNIFIED_MESSAGES"
|
|
11768
11769
|
]
|
|
11769
11770
|
},
|
|
11770
11771
|
"pushwoosh.export_messages.v2.ExportRequest": {
|
|
@@ -11841,6 +11842,9 @@ export const data = {
|
|
|
11841
11842
|
},
|
|
11842
11843
|
"exportSubscriptionFormSubscribedUsers": {
|
|
11843
11844
|
"type": "pushwoosh.export_messages.v2.ExportSubscriptionFormSubscribedUsersArgs"
|
|
11845
|
+
},
|
|
11846
|
+
"exportUnifiedMessages": {
|
|
11847
|
+
"type": "pushwoosh.export_messages.v2.ExportUnifiedMessagesArgs"
|
|
11844
11848
|
}
|
|
11845
11849
|
},
|
|
11846
11850
|
"oneofs": {
|
|
@@ -11868,7 +11872,8 @@ export const data = {
|
|
|
11868
11872
|
"exportJourneyPointsStatistics",
|
|
11869
11873
|
"exportJourneyGoalUsers",
|
|
11870
11874
|
"exportControlGroup",
|
|
11871
|
-
"exportSubscriptionFormSubscribedUsers"
|
|
11875
|
+
"exportSubscriptionFormSubscribedUsers",
|
|
11876
|
+
"exportUnifiedMessages"
|
|
11872
11877
|
]
|
|
11873
11878
|
}
|
|
11874
11879
|
}
|
|
@@ -12006,6 +12011,9 @@ export const data = {
|
|
|
12006
12011
|
},
|
|
12007
12012
|
"exportSubscriptionFormSubscribedUsersResult": {
|
|
12008
12013
|
"type": "pushwoosh.export_messages.v2.ExportSubscriptionFormSubscribedUsersResult"
|
|
12014
|
+
},
|
|
12015
|
+
"exportUnifiedMessagesResult": {
|
|
12016
|
+
"type": "pushwoosh.export_messages.v2.ExportUnifiedMessagesResult"
|
|
12009
12017
|
}
|
|
12010
12018
|
},
|
|
12011
12019
|
"oneofs": {
|
|
@@ -12034,7 +12042,8 @@ export const data = {
|
|
|
12034
12042
|
"exportJourneyPointsStatisticsResult",
|
|
12035
12043
|
"exportJourneyGoalUsersResult",
|
|
12036
12044
|
"exportControlGroupResult",
|
|
12037
|
-
"exportSubscriptionFormSubscribedUsersResult"
|
|
12045
|
+
"exportSubscriptionFormSubscribedUsersResult",
|
|
12046
|
+
"exportUnifiedMessagesResult"
|
|
12038
12047
|
]
|
|
12039
12048
|
}
|
|
12040
12049
|
}
|
|
@@ -12156,6 +12165,9 @@ export const data = {
|
|
|
12156
12165
|
"exportSubscriptionFormSubscribedUsers": {
|
|
12157
12166
|
"type": "pushwoosh.export_messages.v2.ExportSubscriptionFormSubscribedUsersArgs"
|
|
12158
12167
|
},
|
|
12168
|
+
"exportUnifiedMessages": {
|
|
12169
|
+
"type": "pushwoosh.export_messages.v2.ExportUnifiedMessagesArgs"
|
|
12170
|
+
},
|
|
12159
12171
|
"failedTask": {
|
|
12160
12172
|
"type": "pushwoosh.export_messages.v2.TaskFailed"
|
|
12161
12173
|
},
|
|
@@ -12218,6 +12230,9 @@ export const data = {
|
|
|
12218
12230
|
},
|
|
12219
12231
|
"exportSubscriptionFormSubscribedUsersResult": {
|
|
12220
12232
|
"type": "pushwoosh.export_messages.v2.ExportSubscriptionFormSubscribedUsersResult"
|
|
12233
|
+
},
|
|
12234
|
+
"exportUnifiedMessagesResult": {
|
|
12235
|
+
"type": "pushwoosh.export_messages.v2.ExportUnifiedMessagesResult"
|
|
12221
12236
|
}
|
|
12222
12237
|
},
|
|
12223
12238
|
"oneofs": {
|
|
@@ -12242,7 +12257,8 @@ export const data = {
|
|
|
12242
12257
|
"exportJourneyGoalUsers",
|
|
12243
12258
|
"exportJourneyPointUsers",
|
|
12244
12259
|
"exportControlGroup",
|
|
12245
|
-
"exportSubscriptionFormSubscribedUsers"
|
|
12260
|
+
"exportSubscriptionFormSubscribedUsers",
|
|
12261
|
+
"exportUnifiedMessages"
|
|
12246
12262
|
]
|
|
12247
12263
|
},
|
|
12248
12264
|
"result": {
|
|
@@ -12267,7 +12283,8 @@ export const data = {
|
|
|
12267
12283
|
"exportJourneyGoalUsersResult",
|
|
12268
12284
|
"exportJourneyPointUsersResult",
|
|
12269
12285
|
"exportControlGroupResult",
|
|
12270
|
-
"exportSubscriptionFormSubscribedUsersResult"
|
|
12286
|
+
"exportSubscriptionFormSubscribedUsersResult",
|
|
12287
|
+
"exportUnifiedMessagesResult"
|
|
12271
12288
|
]
|
|
12272
12289
|
}
|
|
12273
12290
|
}
|
|
@@ -13288,6 +13305,31 @@ export const data = {
|
|
|
13288
13305
|
}
|
|
13289
13306
|
}
|
|
13290
13307
|
},
|
|
13308
|
+
"pushwoosh.export_messages.v2.ExportUnifiedMessagesArgs": {
|
|
13309
|
+
"type": "I",
|
|
13310
|
+
"fields": {
|
|
13311
|
+
"application": {
|
|
13312
|
+
"type": "string"
|
|
13313
|
+
},
|
|
13314
|
+
"dateFrom": {
|
|
13315
|
+
"type": "Date"
|
|
13316
|
+
},
|
|
13317
|
+
"dateTo": {
|
|
13318
|
+
"type": "Date"
|
|
13319
|
+
}
|
|
13320
|
+
}
|
|
13321
|
+
},
|
|
13322
|
+
"pushwoosh.export_messages.v2.ExportUnifiedMessagesResult": {
|
|
13323
|
+
"type": "I",
|
|
13324
|
+
"fields": {
|
|
13325
|
+
"file": {
|
|
13326
|
+
"type": "string"
|
|
13327
|
+
},
|
|
13328
|
+
"truncated": {
|
|
13329
|
+
"type": "boolean"
|
|
13330
|
+
}
|
|
13331
|
+
}
|
|
13332
|
+
},
|
|
13291
13333
|
"pushwoosh.rpc.external_segments.v3.ExternalSegmentsService_Create_FieldViolations": {
|
|
13292
13334
|
"type": "E",
|
|
13293
13335
|
"values": [
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ export type TaskType = 'TASK_TYPE_UNSPECIFIED' | 'TASK_TYPE_FAILED' | 'TASK_TYPE
|
|
|
6
6
|
/** deprecated */
|
|
7
7
|
| 'TASK_TYPE_EXPORT_APPLY_SEGMENT_TO_MESSAGE' | 'TASK_TYPE_CALCULATE_RETENTION'
|
|
8
8
|
/** deprecated */
|
|
9
|
-
| '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' | 'TASK_TYPE_EXPORT_JOURNEY_USERS_LIST' | 'TASK_TYPE_EXPORT_JOURNEY_POINTS_STATISTICS' | 'TASK_TYPE_EXPORT_JOURNEY_GOAL_USERS' | 'TASK_TYPE_EXPORT_CONTROL_GROUP' | 'TASK_TYPE_EXPORT_SUBSCRIPTION_FORM_SUBSCRIBED_USERS';
|
|
9
|
+
| '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' | 'TASK_TYPE_EXPORT_JOURNEY_USERS_LIST' | 'TASK_TYPE_EXPORT_JOURNEY_POINTS_STATISTICS' | 'TASK_TYPE_EXPORT_JOURNEY_GOAL_USERS' | 'TASK_TYPE_EXPORT_CONTROL_GROUP' | 'TASK_TYPE_EXPORT_SUBSCRIPTION_FORM_SUBSCRIBED_USERS' | 'TASK_TYPE_EXPORT_UNIFIED_MESSAGES';
|
|
10
10
|
export type ExportRequest_args_trackingLogCsv = {
|
|
11
11
|
type: 'trackingLogCsv';
|
|
12
12
|
data: TrackingLogCSVArgs;
|
|
@@ -99,7 +99,11 @@ export type ExportRequest_args_exportSubscriptionFormSubscribedUsers = {
|
|
|
99
99
|
type: 'exportSubscriptionFormSubscribedUsers';
|
|
100
100
|
data: ExportSubscriptionFormSubscribedUsersArgs;
|
|
101
101
|
};
|
|
102
|
-
export type
|
|
102
|
+
export type ExportRequest_args_exportUnifiedMessages = {
|
|
103
|
+
type: 'exportUnifiedMessages';
|
|
104
|
+
data: ExportUnifiedMessagesArgs;
|
|
105
|
+
};
|
|
106
|
+
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 | ExportRequest_args_exportJourneyUsersList | ExportRequest_args_exportJourneyPointsStatistics | ExportRequest_args_exportJourneyGoalUsers | ExportRequest_args_exportControlGroup | ExportRequest_args_exportSubscriptionFormSubscribedUsers | ExportRequest_args_exportUnifiedMessages;
|
|
103
107
|
export type ExportRequest = {
|
|
104
108
|
type?: TaskType;
|
|
105
109
|
args: ExportRequest_args;
|
|
@@ -218,7 +222,11 @@ export type ResultResponse_result_exportSubscriptionFormSubscribedUsersResult =
|
|
|
218
222
|
type: 'exportSubscriptionFormSubscribedUsersResult';
|
|
219
223
|
data: ExportSubscriptionFormSubscribedUsersResult;
|
|
220
224
|
};
|
|
221
|
-
export type
|
|
225
|
+
export type ResultResponse_result_exportUnifiedMessagesResult = {
|
|
226
|
+
type: 'exportUnifiedMessagesResult';
|
|
227
|
+
data: ExportUnifiedMessagesResult;
|
|
228
|
+
};
|
|
229
|
+
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 | ResultResponse_result_exportJourneyUsersListResult | ResultResponse_result_exportJourneyPointsStatisticsResult | ResultResponse_result_exportJourneyGoalUsersResult | ResultResponse_result_exportControlGroupResult | ResultResponse_result_exportSubscriptionFormSubscribedUsersResult | ResultResponse_result_exportUnifiedMessagesResult;
|
|
222
230
|
export type ResultResponse = {
|
|
223
231
|
type: TaskType;
|
|
224
232
|
result: ResultResponse_result;
|
|
@@ -321,7 +329,11 @@ export type TaskInfo_args_exportSubscriptionFormSubscribedUsers = {
|
|
|
321
329
|
type: 'exportSubscriptionFormSubscribedUsers';
|
|
322
330
|
data: ExportSubscriptionFormSubscribedUsersArgs;
|
|
323
331
|
};
|
|
324
|
-
export type
|
|
332
|
+
export type TaskInfo_args_exportUnifiedMessages = {
|
|
333
|
+
type: 'exportUnifiedMessages';
|
|
334
|
+
data: ExportUnifiedMessagesArgs;
|
|
335
|
+
};
|
|
336
|
+
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 | TaskInfo_args_exportBouncedEmails | TaskInfo_args_exportJourneyUsersList | TaskInfo_args_exportJourneyPointsStatistics | TaskInfo_args_exportJourneyGoalUsers | TaskInfo_args_exportJourneyPointUsers | TaskInfo_args_exportControlGroup | TaskInfo_args_exportSubscriptionFormSubscribedUsers | TaskInfo_args_exportUnifiedMessages;
|
|
325
337
|
export type TaskInfo_result_failedTask = {
|
|
326
338
|
type: 'failedTask';
|
|
327
339
|
data: TaskFailed;
|
|
@@ -406,7 +418,11 @@ export type TaskInfo_result_exportSubscriptionFormSubscribedUsersResult = {
|
|
|
406
418
|
type: 'exportSubscriptionFormSubscribedUsersResult';
|
|
407
419
|
data: ExportSubscriptionFormSubscribedUsersResult;
|
|
408
420
|
};
|
|
409
|
-
export type
|
|
421
|
+
export type TaskInfo_result_exportUnifiedMessagesResult = {
|
|
422
|
+
type: 'exportUnifiedMessagesResult';
|
|
423
|
+
data: ExportUnifiedMessagesResult;
|
|
424
|
+
};
|
|
425
|
+
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 | TaskInfo_result_exportBouncedEmailsResult | TaskInfo_result_exportJourneyUsersListResult | TaskInfo_result_exportJourneyPointsStatisticsResult | TaskInfo_result_exportJourneyGoalUsersResult | TaskInfo_result_exportJourneyPointUsersResult | TaskInfo_result_exportControlGroupResult | TaskInfo_result_exportSubscriptionFormSubscribedUsersResult | TaskInfo_result_exportUnifiedMessagesResult;
|
|
410
426
|
export type TaskInfo = {
|
|
411
427
|
id: number;
|
|
412
428
|
timestamp: string;
|
|
@@ -740,3 +756,17 @@ export type ExportSubscriptionFormSubscribedUsersArgs = {
|
|
|
740
756
|
export type ExportSubscriptionFormSubscribedUsersResult = {
|
|
741
757
|
file: string;
|
|
742
758
|
};
|
|
759
|
+
/**
|
|
760
|
+
* ExportUnifiedMessagesArgs asks for one CSV holding both one-time messages and
|
|
761
|
+
* journey send points of an application over [date_from, date_to].
|
|
762
|
+
*/
|
|
763
|
+
export type ExportUnifiedMessagesArgs = {
|
|
764
|
+
application: string;
|
|
765
|
+
dateFrom: Date;
|
|
766
|
+
dateTo: Date;
|
|
767
|
+
};
|
|
768
|
+
export type ExportUnifiedMessagesResult = {
|
|
769
|
+
file: string;
|
|
770
|
+
/** set when the export hit the row limit and the file holds only its first rows */
|
|
771
|
+
truncated: boolean;
|
|
772
|
+
};
|