UNPKG

904 BTypeScriptView Raw
1import { FilteringParameters } from "../client/FilteringParameters";
2export declare enum SuppressionReason {
3 HardBounce = "HardBounce",
4 SpamComplaint = "SpamComplaint",
5 ManualSuppression = "ManualSuppression"
6}
7export declare enum SuppressionOrigin {
8 Recipient = "Recipient",
9 Customer = "Customer",
10 Admin = "Admin"
11}
12/**
13 * Describes filtering parameters that can be used when retrieving bounces.
14 * When pagination parameters are not specified, default values are set.
15 */
16export declare class SuppressionFilteringParameters extends FilteringParameters {
17 suppressionReason?: SuppressionReason;
18 origin?: SuppressionOrigin;
19 toDate?: string;
20 fromDate?: string;
21 emailAddress?: string;
22 constructor(count?: number, offset?: number, suppressionReason?: SuppressionReason, origin?: SuppressionOrigin, emailAddress?: string, fromDate?: string, toDate?: string);
23}