@prezly/sdk 26.2.0 → 26.2.1

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.
@@ -11,6 +11,7 @@ let EmailRecipient = exports.EmailRecipient = void 0;
11
11
  Problem["UNSUBSCRIBED"] = "unsubscribed";
12
12
  Problem["UNSUBSCRIBED_FROM_ALL_COMMUNICATIONS"] = "unsubscribed_from_all_communications";
13
13
  Problem["DUPLICATE"] = "duplicate";
14
+ Problem["SPAM_REPORTED"] = "spam_reported";
14
15
  return Problem;
15
16
  }({});
16
17
  _EmailRecipient.Problem = Problem;
@@ -19,6 +20,7 @@ let EmailRecipient = exports.EmailRecipient = void 0;
19
20
  EmailAddressStatus["BOUNCED"] = "bounced";
20
21
  EmailAddressStatus["UNSUBSCRIBED"] = "unsubscribed";
21
22
  EmailAddressStatus["UNSUBSCRIBED_FROM_ALL_COMMUNICATIONS"] = "unsubscribed_from_all_communications";
23
+ EmailAddressStatus["SPAM_REPORTED"] = "spam_reported";
22
24
  return EmailAddressStatus;
23
25
  }({});
24
26
  _EmailRecipient.EmailAddressStatus = EmailAddressStatus;
@@ -36,13 +36,15 @@ export declare namespace EmailRecipient {
36
36
  BOUNCED = "bounced",
37
37
  UNSUBSCRIBED = "unsubscribed",
38
38
  UNSUBSCRIBED_FROM_ALL_COMMUNICATIONS = "unsubscribed_from_all_communications",
39
- DUPLICATE = "duplicate"
39
+ DUPLICATE = "duplicate",
40
+ SPAM_REPORTED = "spam_reported"
40
41
  }
41
42
  enum EmailAddressStatus {
42
43
  OK = "ok",
43
44
  BOUNCED = "bounced",
44
45
  UNSUBSCRIBED = "unsubscribed",
45
- UNSUBSCRIBED_FROM_ALL_COMMUNICATIONS = "unsubscribed_from_all_communications"
46
+ UNSUBSCRIBED_FROM_ALL_COMMUNICATIONS = "unsubscribed_from_all_communications",
47
+ SPAM_REPORTED = "spam_reported"
46
48
  }
47
49
  interface EmailAddressRecord {
48
50
  email_address: string;
@@ -5,6 +5,7 @@ export let EmailRecipient;
5
5
  Problem["UNSUBSCRIBED"] = "unsubscribed";
6
6
  Problem["UNSUBSCRIBED_FROM_ALL_COMMUNICATIONS"] = "unsubscribed_from_all_communications";
7
7
  Problem["DUPLICATE"] = "duplicate";
8
+ Problem["SPAM_REPORTED"] = "spam_reported";
8
9
  return Problem;
9
10
  }({});
10
11
  _EmailRecipient.Problem = Problem;
@@ -13,6 +14,7 @@ export let EmailRecipient;
13
14
  EmailAddressStatus["BOUNCED"] = "bounced";
14
15
  EmailAddressStatus["UNSUBSCRIBED"] = "unsubscribed";
15
16
  EmailAddressStatus["UNSUBSCRIBED_FROM_ALL_COMMUNICATIONS"] = "unsubscribed_from_all_communications";
17
+ EmailAddressStatus["SPAM_REPORTED"] = "spam_reported";
16
18
  return EmailAddressStatus;
17
19
  }({});
18
20
  _EmailRecipient.EmailAddressStatus = EmailAddressStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/sdk",
3
- "version": "26.2.0",
3
+ "version": "26.2.1",
4
4
  "description": "Prezly API SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",