@prezly/sdk 9.0.0 → 9.0.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.
@@ -1,3 +1,3 @@
1
- const VERSION = "8.0.0";
1
+ const VERSION = "9.0.0";
2
2
  const URL = 'https://github.com/prezly/javascript-sdk';
3
3
  export const DEFAULT_USER_AGENT = `prezly-javascript-sdk/${VERSION} (+${URL})`;
@@ -1,6 +1,6 @@
1
1
  import type { NewsroomRef } from './Newsroom';
2
2
  import type { SenderAddress } from './SenderAddress';
3
- import type { SenderDomain } from './SenderDomain';
3
+ import { SenderDomain } from './SenderDomain';
4
4
  import type { StoryRef } from './Story';
5
5
  import type { UserRef } from './User';
6
6
  export interface Campaign {
@@ -40,6 +40,8 @@ export interface Campaign {
40
40
  };
41
41
  }
42
42
  export declare namespace Campaign {
43
+ type SenderDomainVerificationFlow = SenderDomain.VerificationFlowVersion;
44
+ const SenderDomainVerificationFlow: typeof SenderDomain.VerificationFlowVersion;
43
45
  enum LifecycleStatus {
44
46
  DRAFT = "draft",
45
47
  SCHEDULED = "scheduled",
@@ -1,5 +1,7 @@
1
+ import { SenderDomain } from "./SenderDomain.js";
1
2
  export let Campaign;
2
3
  (function (_Campaign) {
4
+ const SenderDomainVerificationFlow = _Campaign.SenderDomainVerificationFlow = SenderDomain.VerificationFlowVersion;
3
5
  let LifecycleStatus;
4
6
  (function (LifecycleStatus) {
5
7
  LifecycleStatus["DRAFT"] = "draft";
@@ -139,6 +139,7 @@ export declare namespace Contact {
139
139
  PINTEREST = "pinterest",
140
140
  SKYPE = "skype",
141
141
  SNAPCHAT = "snapchat",
142
+ TIKTOK = "tiktok",
142
143
  TWITCH = "twitch",
143
144
  TWITTER = "twitter",
144
145
  YOUTUBE = "youtube"
@@ -57,6 +57,7 @@ export let Contact;
57
57
  SocialNetwork["PINTEREST"] = "pinterest";
58
58
  SocialNetwork["SKYPE"] = "skype";
59
59
  SocialNetwork["SNAPCHAT"] = "snapchat";
60
+ SocialNetwork["TIKTOK"] = "tiktok";
60
61
  SocialNetwork["TWITCH"] = "twitch";
61
62
  SocialNetwork["TWITTER"] = "twitter";
62
63
  SocialNetwork["YOUTUBE"] = "youtube";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/sdk",
3
- "version": "9.0.0",
3
+ "version": "9.0.1",
4
4
  "description": "Prezly API SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",