@pushwoosh/rpc-v2-http-api-data 0.2.434 → 0.2.435
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 +29 -0
- package/email_suppressions.d.ts +12 -0
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -13572,6 +13572,9 @@ export const data = {
|
|
|
13572
13572
|
},
|
|
13573
13573
|
"offset": {
|
|
13574
13574
|
"type": "number"
|
|
13575
|
+
},
|
|
13576
|
+
"bounceCategory": {
|
|
13577
|
+
"type": "pushwoosh.rpc_v2.email_suppressions.EmailBounceCategory"
|
|
13575
13578
|
}
|
|
13576
13579
|
}
|
|
13577
13580
|
},
|
|
@@ -13610,6 +13613,12 @@ export const data = {
|
|
|
13610
13613
|
},
|
|
13611
13614
|
"application": {
|
|
13612
13615
|
"type": "string"
|
|
13616
|
+
},
|
|
13617
|
+
"bounceCategory": {
|
|
13618
|
+
"type": "pushwoosh.rpc_v2.email_suppressions.EmailBounceCategory"
|
|
13619
|
+
},
|
|
13620
|
+
"statusCode": {
|
|
13621
|
+
"type": "string"
|
|
13613
13622
|
}
|
|
13614
13623
|
}
|
|
13615
13624
|
},
|
|
@@ -13752,6 +13761,12 @@ export const data = {
|
|
|
13752
13761
|
},
|
|
13753
13762
|
"accountWide": {
|
|
13754
13763
|
"type": "boolean"
|
|
13764
|
+
},
|
|
13765
|
+
"bounceCategory": {
|
|
13766
|
+
"type": "pushwoosh.rpc_v2.email_suppressions.EmailBounceCategory"
|
|
13767
|
+
},
|
|
13768
|
+
"statusCode": {
|
|
13769
|
+
"type": "string"
|
|
13755
13770
|
}
|
|
13756
13771
|
}
|
|
13757
13772
|
},
|
|
@@ -13771,6 +13786,20 @@ export const data = {
|
|
|
13771
13786
|
"EMAIL_SUPPRESSION_SOURCE_HARD_BOUNCE"
|
|
13772
13787
|
]
|
|
13773
13788
|
},
|
|
13789
|
+
"pushwoosh.rpc_v2.email_suppressions.EmailBounceCategory": {
|
|
13790
|
+
"type": "E",
|
|
13791
|
+
"values": [
|
|
13792
|
+
"EMAIL_BOUNCE_CATEGORY_UNSPECIFIED",
|
|
13793
|
+
"EMAIL_BOUNCE_CATEGORY_ADDRESS_NOT_EXIST",
|
|
13794
|
+
"EMAIL_BOUNCE_CATEGORY_MAILBOX_INACTIVE",
|
|
13795
|
+
"EMAIL_BOUNCE_CATEGORY_MAILBOX_FULL",
|
|
13796
|
+
"EMAIL_BOUNCE_CATEGORY_SENDER_REPUTATION",
|
|
13797
|
+
"EMAIL_BOUNCE_CATEGORY_SPAM",
|
|
13798
|
+
"EMAIL_BOUNCE_CATEGORY_DELIVERY_FAILED",
|
|
13799
|
+
"EMAIL_BOUNCE_CATEGORY_MESSAGE_TOO_LARGE",
|
|
13800
|
+
"EMAIL_BOUNCE_CATEGORY_OTHER"
|
|
13801
|
+
]
|
|
13802
|
+
},
|
|
13774
13803
|
"pushwoosh.rpc_v2.accounts.EmailTemplatesService": {
|
|
13775
13804
|
"type": "S",
|
|
13776
13805
|
"key": "emailTemplates",
|
package/email_suppressions.d.ts
CHANGED
|
@@ -27,6 +27,8 @@ export type ListEmailSuppressionsRequest = {
|
|
|
27
27
|
/** Page size, 50 by default, 500 at most. */
|
|
28
28
|
limit?: number;
|
|
29
29
|
offset?: number;
|
|
30
|
+
/** Bounce category filter; any value but unspecified leaves spam complaints out. */
|
|
31
|
+
bounceCategory?: EmailBounceCategory;
|
|
30
32
|
};
|
|
31
33
|
export type ListEmailSuppressionsResponse = {
|
|
32
34
|
suppressions: EmailSuppressionEntry[];
|
|
@@ -42,6 +44,10 @@ export type EmailSuppressionEntry = {
|
|
|
42
44
|
diagnosticCode: string;
|
|
43
45
|
/** Application the suppression was recorded in; empty when that application is gone. */
|
|
44
46
|
application: string;
|
|
47
|
+
/** Why the provider rejected the address; unspecified for spam complaints and unclassified rows. */
|
|
48
|
+
bounceCategory: EmailBounceCategory;
|
|
49
|
+
/** Enhanced status code the provider returned, e.g. 5.1.1; empty when it sent none. */
|
|
50
|
+
statusCode: string;
|
|
45
51
|
};
|
|
46
52
|
export type ReactivateEmailRequest = {
|
|
47
53
|
/** Pushwoosh application code (XXXXX-XXXXX) the reactivation is performed from. */
|
|
@@ -109,6 +115,12 @@ export type EmailSuppression = {
|
|
|
109
115
|
application: string;
|
|
110
116
|
/** Suppression is enforced for the whole account, not only for the recorded application. */
|
|
111
117
|
accountWide: boolean;
|
|
118
|
+
/** Why the provider rejected the address; unspecified for spam complaints and unclassified rows. */
|
|
119
|
+
bounceCategory: EmailBounceCategory;
|
|
120
|
+
/** Enhanced status code the provider returned, e.g. 5.1.1; empty when it sent none. */
|
|
121
|
+
statusCode: string;
|
|
112
122
|
};
|
|
113
123
|
export type EmailSuppressionState = 'EMAIL_SUPPRESSION_STATE_UNSPECIFIED' | 'EMAIL_SUPPRESSION_STATE_DELIVERABLE' | 'EMAIL_SUPPRESSION_STATE_SUPPRESSED';
|
|
114
124
|
export type EmailSuppressionSource = 'EMAIL_SUPPRESSION_SOURCE_UNSPECIFIED' | 'EMAIL_SUPPRESSION_SOURCE_SPAM_COMPLAINT' | 'EMAIL_SUPPRESSION_SOURCE_HARD_BOUNCE';
|
|
125
|
+
/** Bounce category as classified by feedback-smtp, the same taxonomy as the email message statistics. */
|
|
126
|
+
export type EmailBounceCategory = 'EMAIL_BOUNCE_CATEGORY_UNSPECIFIED' | 'EMAIL_BOUNCE_CATEGORY_ADDRESS_NOT_EXIST' | 'EMAIL_BOUNCE_CATEGORY_MAILBOX_INACTIVE' | 'EMAIL_BOUNCE_CATEGORY_MAILBOX_FULL' | 'EMAIL_BOUNCE_CATEGORY_SENDER_REPUTATION' | 'EMAIL_BOUNCE_CATEGORY_SPAM' | 'EMAIL_BOUNCE_CATEGORY_DELIVERY_FAILED' | 'EMAIL_BOUNCE_CATEGORY_MESSAGE_TOO_LARGE' | 'EMAIL_BOUNCE_CATEGORY_OTHER';
|