@pushwoosh/rpc-v2-http-api-data 0.2.239 → 0.2.241
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 +67 -6
- package/package.json +1 -1
- package/pushwoosh_export_messages_v2.d.ts +45 -6
package/data.js
CHANGED
|
@@ -12353,7 +12353,8 @@ export const data = {
|
|
|
12353
12353
|
"TASK_TYPE_EXPORT_MESSAGE_STAGE_RECIPIENTS",
|
|
12354
12354
|
"TASK_TYPE_EXPORT_MESSAGE_CLICKED_RECIPIENTS",
|
|
12355
12355
|
"TASK_TYPE_EXPORT_MESSAGE_UNSUBSCRIBED",
|
|
12356
|
-
"TASK_TYPE_EXPORT_MESSAGE_ERROR_RECIPIENTS"
|
|
12356
|
+
"TASK_TYPE_EXPORT_MESSAGE_ERROR_RECIPIENTS",
|
|
12357
|
+
"TASK_TYPE_EXPORT_EMAIL_SUPPRESSIONS"
|
|
12357
12358
|
]
|
|
12358
12359
|
},
|
|
12359
12360
|
"pushwoosh.export_messages.v2.ExportRequest": {
|
|
@@ -12448,6 +12449,9 @@ export const data = {
|
|
|
12448
12449
|
},
|
|
12449
12450
|
"exportMessageErrorRecipients": {
|
|
12450
12451
|
"type": "pushwoosh.export_messages.v2.ExportMessageErrorRecipientsArgs"
|
|
12452
|
+
},
|
|
12453
|
+
"exportEmailSuppressions": {
|
|
12454
|
+
"type": "pushwoosh.export_messages.v2.ExportEmailSuppressionsArgs"
|
|
12451
12455
|
}
|
|
12452
12456
|
},
|
|
12453
12457
|
"oneofs": {
|
|
@@ -12481,7 +12485,8 @@ export const data = {
|
|
|
12481
12485
|
"exportMessageStageRecipients",
|
|
12482
12486
|
"exportMessageClickedRecipients",
|
|
12483
12487
|
"exportMessageUnsubscribed",
|
|
12484
|
-
"exportMessageErrorRecipients"
|
|
12488
|
+
"exportMessageErrorRecipients",
|
|
12489
|
+
"exportEmailSuppressions"
|
|
12485
12490
|
]
|
|
12486
12491
|
}
|
|
12487
12492
|
}
|
|
@@ -12637,6 +12642,9 @@ export const data = {
|
|
|
12637
12642
|
},
|
|
12638
12643
|
"exportMessageErrorRecipientsResult": {
|
|
12639
12644
|
"type": "pushwoosh.export_messages.v2.ExportMessageErrorRecipientsResult"
|
|
12645
|
+
},
|
|
12646
|
+
"exportEmailSuppressionsResult": {
|
|
12647
|
+
"type": "pushwoosh.export_messages.v2.ExportEmailSuppressionsResult"
|
|
12640
12648
|
}
|
|
12641
12649
|
},
|
|
12642
12650
|
"oneofs": {
|
|
@@ -12671,7 +12679,8 @@ export const data = {
|
|
|
12671
12679
|
"exportMessageStageRecipientsResult",
|
|
12672
12680
|
"exportMessageClickedRecipientsResult",
|
|
12673
12681
|
"exportMessageUnsubscribedResult",
|
|
12674
|
-
"exportMessageErrorRecipientsResult"
|
|
12682
|
+
"exportMessageErrorRecipientsResult",
|
|
12683
|
+
"exportEmailSuppressionsResult"
|
|
12675
12684
|
]
|
|
12676
12685
|
}
|
|
12677
12686
|
}
|
|
@@ -12811,6 +12820,9 @@ export const data = {
|
|
|
12811
12820
|
"exportMessageErrorRecipients": {
|
|
12812
12821
|
"type": "pushwoosh.export_messages.v2.ExportMessageErrorRecipientsArgs"
|
|
12813
12822
|
},
|
|
12823
|
+
"exportEmailSuppressions": {
|
|
12824
|
+
"type": "pushwoosh.export_messages.v2.ExportEmailSuppressionsArgs"
|
|
12825
|
+
},
|
|
12814
12826
|
"failedTask": {
|
|
12815
12827
|
"type": "pushwoosh.export_messages.v2.TaskFailed"
|
|
12816
12828
|
},
|
|
@@ -12891,6 +12903,9 @@ export const data = {
|
|
|
12891
12903
|
},
|
|
12892
12904
|
"exportMessageErrorRecipientsResult": {
|
|
12893
12905
|
"type": "pushwoosh.export_messages.v2.ExportMessageErrorRecipientsResult"
|
|
12906
|
+
},
|
|
12907
|
+
"exportEmailSuppressionsResult": {
|
|
12908
|
+
"type": "pushwoosh.export_messages.v2.ExportEmailSuppressionsResult"
|
|
12894
12909
|
}
|
|
12895
12910
|
},
|
|
12896
12911
|
"oneofs": {
|
|
@@ -12921,7 +12936,8 @@ export const data = {
|
|
|
12921
12936
|
"exportMessageStageRecipients",
|
|
12922
12937
|
"exportMessageClickedRecipients",
|
|
12923
12938
|
"exportMessageUnsubscribed",
|
|
12924
|
-
"exportMessageErrorRecipients"
|
|
12939
|
+
"exportMessageErrorRecipients",
|
|
12940
|
+
"exportEmailSuppressions"
|
|
12925
12941
|
]
|
|
12926
12942
|
},
|
|
12927
12943
|
"result": {
|
|
@@ -12952,7 +12968,8 @@ export const data = {
|
|
|
12952
12968
|
"exportMessageStageRecipientsResult",
|
|
12953
12969
|
"exportMessageClickedRecipientsResult",
|
|
12954
12970
|
"exportMessageUnsubscribedResult",
|
|
12955
|
-
"exportMessageErrorRecipientsResult"
|
|
12971
|
+
"exportMessageErrorRecipientsResult",
|
|
12972
|
+
"exportEmailSuppressionsResult"
|
|
12956
12973
|
]
|
|
12957
12974
|
}
|
|
12958
12975
|
}
|
|
@@ -13057,7 +13074,9 @@ export const data = {
|
|
|
13057
13074
|
"PUSH_ON_EVENT",
|
|
13058
13075
|
"RSS",
|
|
13059
13076
|
"SYSTEM",
|
|
13060
|
-
"TWITTER"
|
|
13077
|
+
"TWITTER",
|
|
13078
|
+
"WHATSAPP_API",
|
|
13079
|
+
"SMS_API"
|
|
13061
13080
|
]
|
|
13062
13081
|
},
|
|
13063
13082
|
"pushwoosh.export_messages.v2.MessageStatus": {
|
|
@@ -13919,6 +13938,48 @@ export const data = {
|
|
|
13919
13938
|
}
|
|
13920
13939
|
}
|
|
13921
13940
|
},
|
|
13941
|
+
"pushwoosh.export_messages.v2.ExportEmailSuppressionsArgs.Source": {
|
|
13942
|
+
"type": "E",
|
|
13943
|
+
"values": [
|
|
13944
|
+
"any",
|
|
13945
|
+
"spam_complaint",
|
|
13946
|
+
"hard_bounce"
|
|
13947
|
+
]
|
|
13948
|
+
},
|
|
13949
|
+
"pushwoosh.export_messages.v2.ExportEmailSuppressionsArgs": {
|
|
13950
|
+
"type": "I",
|
|
13951
|
+
"fields": {
|
|
13952
|
+
"application": {
|
|
13953
|
+
"type": "string"
|
|
13954
|
+
},
|
|
13955
|
+
"email": {
|
|
13956
|
+
"type": "string"
|
|
13957
|
+
},
|
|
13958
|
+
"source": {
|
|
13959
|
+
"type": "pushwoosh.export_messages.v2.ExportEmailSuppressionsArgs.Source"
|
|
13960
|
+
},
|
|
13961
|
+
"dateFrom": {
|
|
13962
|
+
"type": "Date"
|
|
13963
|
+
},
|
|
13964
|
+
"dateTo": {
|
|
13965
|
+
"type": "Date"
|
|
13966
|
+
},
|
|
13967
|
+
"recordedInApplication": {
|
|
13968
|
+
"type": "string"
|
|
13969
|
+
}
|
|
13970
|
+
}
|
|
13971
|
+
},
|
|
13972
|
+
"pushwoosh.export_messages.v2.ExportEmailSuppressionsResult": {
|
|
13973
|
+
"type": "I",
|
|
13974
|
+
"fields": {
|
|
13975
|
+
"file": {
|
|
13976
|
+
"type": "string"
|
|
13977
|
+
},
|
|
13978
|
+
"fileUrl": {
|
|
13979
|
+
"type": "string"
|
|
13980
|
+
}
|
|
13981
|
+
}
|
|
13982
|
+
},
|
|
13922
13983
|
"pushwoosh.export_messages.v2.ExportMessageErrorRecipientsArgs": {
|
|
13923
13984
|
"type": "I",
|
|
13924
13985
|
"fields": {
|
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' | 'TASK_TYPE_EXPORT_UNIFIED_MESSAGES' | 'TASK_TYPE_EXPORT_MESSAGE_AUDIENCE' | 'TASK_TYPE_EXPORT_MESSAGE_STAGE_RECIPIENTS' | 'TASK_TYPE_EXPORT_MESSAGE_CLICKED_RECIPIENTS' | 'TASK_TYPE_EXPORT_MESSAGE_UNSUBSCRIBED' | 'TASK_TYPE_EXPORT_MESSAGE_ERROR_RECIPIENTS';
|
|
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' | 'TASK_TYPE_EXPORT_MESSAGE_AUDIENCE' | 'TASK_TYPE_EXPORT_MESSAGE_STAGE_RECIPIENTS' | 'TASK_TYPE_EXPORT_MESSAGE_CLICKED_RECIPIENTS' | 'TASK_TYPE_EXPORT_MESSAGE_UNSUBSCRIBED' | 'TASK_TYPE_EXPORT_MESSAGE_ERROR_RECIPIENTS' | 'TASK_TYPE_EXPORT_EMAIL_SUPPRESSIONS';
|
|
10
10
|
export type ExportRequest_args_trackingLogCsv = {
|
|
11
11
|
type: 'trackingLogCsv';
|
|
12
12
|
data: TrackingLogCSVArgs;
|
|
@@ -123,7 +123,11 @@ export type ExportRequest_args_exportMessageErrorRecipients = {
|
|
|
123
123
|
type: 'exportMessageErrorRecipients';
|
|
124
124
|
data: ExportMessageErrorRecipientsArgs;
|
|
125
125
|
};
|
|
126
|
-
export type
|
|
126
|
+
export type ExportRequest_args_exportEmailSuppressions = {
|
|
127
|
+
type: 'exportEmailSuppressions';
|
|
128
|
+
data: ExportEmailSuppressionsArgs;
|
|
129
|
+
};
|
|
130
|
+
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 | ExportRequest_args_exportMessageAudience | ExportRequest_args_exportMessageStageRecipients | ExportRequest_args_exportMessageClickedRecipients | ExportRequest_args_exportMessageUnsubscribed | ExportRequest_args_exportMessageErrorRecipients | ExportRequest_args_exportEmailSuppressions;
|
|
127
131
|
export type ExportRequest = {
|
|
128
132
|
type?: TaskType;
|
|
129
133
|
args: ExportRequest_args;
|
|
@@ -266,7 +270,11 @@ export type ResultResponse_result_exportMessageErrorRecipientsResult = {
|
|
|
266
270
|
type: 'exportMessageErrorRecipientsResult';
|
|
267
271
|
data: ExportMessageErrorRecipientsResult;
|
|
268
272
|
};
|
|
269
|
-
export type
|
|
273
|
+
export type ResultResponse_result_exportEmailSuppressionsResult = {
|
|
274
|
+
type: 'exportEmailSuppressionsResult';
|
|
275
|
+
data: ExportEmailSuppressionsResult;
|
|
276
|
+
};
|
|
277
|
+
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 | ResultResponse_result_exportMessageAudienceResult | ResultResponse_result_exportMessageStageRecipientsResult | ResultResponse_result_exportMessageClickedRecipientsResult | ResultResponse_result_exportMessageUnsubscribedResult | ResultResponse_result_exportMessageErrorRecipientsResult | ResultResponse_result_exportEmailSuppressionsResult;
|
|
270
278
|
export type ResultResponse = {
|
|
271
279
|
type: TaskType;
|
|
272
280
|
result: ResultResponse_result;
|
|
@@ -393,7 +401,11 @@ export type TaskInfo_args_exportMessageErrorRecipients = {
|
|
|
393
401
|
type: 'exportMessageErrorRecipients';
|
|
394
402
|
data: ExportMessageErrorRecipientsArgs;
|
|
395
403
|
};
|
|
396
|
-
export type
|
|
404
|
+
export type TaskInfo_args_exportEmailSuppressions = {
|
|
405
|
+
type: 'exportEmailSuppressions';
|
|
406
|
+
data: ExportEmailSuppressionsArgs;
|
|
407
|
+
};
|
|
408
|
+
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 | TaskInfo_args_exportMessageAudience | TaskInfo_args_exportMessageStageRecipients | TaskInfo_args_exportMessageClickedRecipients | TaskInfo_args_exportMessageUnsubscribed | TaskInfo_args_exportMessageErrorRecipients | TaskInfo_args_exportEmailSuppressions;
|
|
397
409
|
export type TaskInfo_result_failedTask = {
|
|
398
410
|
type: 'failedTask';
|
|
399
411
|
data: TaskFailed;
|
|
@@ -502,7 +514,11 @@ export type TaskInfo_result_exportMessageErrorRecipientsResult = {
|
|
|
502
514
|
type: 'exportMessageErrorRecipientsResult';
|
|
503
515
|
data: ExportMessageErrorRecipientsResult;
|
|
504
516
|
};
|
|
505
|
-
export type
|
|
517
|
+
export type TaskInfo_result_exportEmailSuppressionsResult = {
|
|
518
|
+
type: 'exportEmailSuppressionsResult';
|
|
519
|
+
data: ExportEmailSuppressionsResult;
|
|
520
|
+
};
|
|
521
|
+
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 | TaskInfo_result_exportMessageAudienceResult | TaskInfo_result_exportMessageStageRecipientsResult | TaskInfo_result_exportMessageClickedRecipientsResult | TaskInfo_result_exportMessageUnsubscribedResult | TaskInfo_result_exportMessageErrorRecipientsResult | TaskInfo_result_exportEmailSuppressionsResult;
|
|
506
522
|
export type TaskInfo = {
|
|
507
523
|
id: number;
|
|
508
524
|
timestamp: string;
|
|
@@ -537,7 +553,9 @@ export type Source = 'SOURCE_UNSPECIFIED'
|
|
|
537
553
|
/** deprecated */
|
|
538
554
|
| 'AB_EXPERIMENT' | 'AB_TEST' | 'API' | 'AUTO_PUSH' | 'CP' | 'CSV' | 'CUSTOMER_JOURNEY' | 'EMAIL_API' | 'EMAIL_CP' | 'GEO_ZONE' | 'PUSH_ON_EVENT' | 'RSS' | 'SYSTEM'
|
|
539
555
|
/** deprecated */
|
|
540
|
-
| 'TWITTER'
|
|
556
|
+
| 'TWITTER'
|
|
557
|
+
/** 15 and 16 are skipped on purpose: numbering mirrors statistics-api's type.Source. */
|
|
558
|
+
| 'WHATSAPP_API' | 'SMS_API';
|
|
541
559
|
export type MessageStatus = 'MESSAGE_STATUS_UNSPECIFIED' | 'MESSAGE_STATUS_CANCELED' | 'MESSAGE_STATUS_CREATING' | 'MESSAGE_STATUS_DONE' | 'MESSAGE_STATUS_FAIL' | 'MESSAGE_STATUS_PENDING' | 'MESSAGE_STATUS_PROCESSING' | 'MESSAGE_STATUS_WAITING';
|
|
542
560
|
export type MessageType = 'MESSAGE_TYPE_UNSPECIFIED' | 'MARKETING' | 'TRANSACTIONAL';
|
|
543
561
|
export type ApplySegmentExportType = 'APPLY_SEGMENT_EXPORT_TYPE_UNSPECIFIED' | 'ALL' | 'OPEN' | 'NOT_OPEN';
|
|
@@ -874,6 +892,27 @@ export type ExportMessageUnsubscribedResult = {
|
|
|
874
892
|
file: string;
|
|
875
893
|
fileUrl: string;
|
|
876
894
|
};
|
|
895
|
+
export type ExportEmailSuppressionsArgs_Source = 'any' | 'spam_complaint' | 'hard_bounce';
|
|
896
|
+
/**
|
|
897
|
+
* ExportEmailSuppressionsArgs exports the account's suppression lists (spam complaints
|
|
898
|
+
* and hard bounces), the same rows the Control Panel section shows.
|
|
899
|
+
*/
|
|
900
|
+
export type ExportEmailSuppressionsArgs = {
|
|
901
|
+
/** Application the export is requested from; the lists themselves are account-wide. */
|
|
902
|
+
application: string;
|
|
903
|
+
/** Exact address filter, matched case-insensitively; empty exports everything. */
|
|
904
|
+
email: string;
|
|
905
|
+
source: ExportEmailSuppressionsArgs_Source;
|
|
906
|
+
dateFrom: Date;
|
|
907
|
+
dateTo: Date;
|
|
908
|
+
/** Application code the suppression was recorded in; empty covers the whole account. */
|
|
909
|
+
recordedInApplication: string;
|
|
910
|
+
};
|
|
911
|
+
export type ExportEmailSuppressionsResult = {
|
|
912
|
+
file: string;
|
|
913
|
+
/** Ready-to-use download URL for `file`; empty when the service has no base URL configured. */
|
|
914
|
+
fileUrl: string;
|
|
915
|
+
};
|
|
877
916
|
/**
|
|
878
917
|
* Recipients behind one error row of the statistics screen — same subject as the older
|
|
879
918
|
* error export, plus the platform and transactional message_code filtering it lacks.
|