@prezly/sdk 9.0.0 → 9.0.2
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/dist/api/constants.js +1 -1
- package/dist/types/Campaign.d.ts +3 -1
- package/dist/types/Campaign.js +2 -0
- package/dist/types/Contact.d.ts +2 -1
- package/dist/types/Contact.js +2 -1
- package/dist/types/common/OEmbedInfo.d.ts +9 -1
- package/dist/types/common/OEmbedInfo.js +11 -1
- package/package.json +1 -1
package/dist/api/constants.js
CHANGED
package/dist/types/Campaign.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { NewsroomRef } from './Newsroom';
|
|
2
2
|
import type { SenderAddress } from './SenderAddress';
|
|
3
|
-
import
|
|
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",
|
package/dist/types/Campaign.js
CHANGED
|
@@ -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";
|
package/dist/types/Contact.d.ts
CHANGED
|
@@ -109,7 +109,7 @@ export declare namespace Contact {
|
|
|
109
109
|
BI_MONTHLY = "bi-monthly",
|
|
110
110
|
QUARTERLY = "quarterly",
|
|
111
111
|
ANNUALLY = "annually",
|
|
112
|
-
BI_ANUALLY = "bi-
|
|
112
|
+
BI_ANUALLY = "bi-annually",
|
|
113
113
|
SEMI_ANNUALLY = "semi-annually"
|
|
114
114
|
}
|
|
115
115
|
enum MediumType {
|
|
@@ -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"
|
package/dist/types/Contact.js
CHANGED
|
@@ -23,7 +23,7 @@ export let Contact;
|
|
|
23
23
|
Periodicity["BI_MONTHLY"] = "bi-monthly";
|
|
24
24
|
Periodicity["QUARTERLY"] = "quarterly";
|
|
25
25
|
Periodicity["ANNUALLY"] = "annually";
|
|
26
|
-
Periodicity["BI_ANUALLY"] = "bi-
|
|
26
|
+
Periodicity["BI_ANUALLY"] = "bi-annually";
|
|
27
27
|
Periodicity["SEMI_ANNUALLY"] = "semi-annually";
|
|
28
28
|
})(Periodicity || (Periodicity = {}));
|
|
29
29
|
_Contact.Periodicity = Periodicity;
|
|
@@ -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";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export interface OEmbedInfo {
|
|
2
2
|
version: '1.0';
|
|
3
3
|
url: string;
|
|
4
|
-
type:
|
|
4
|
+
type: `${OEmbedInfo.Type}`;
|
|
5
5
|
title?: string;
|
|
6
6
|
description?: string;
|
|
7
7
|
screenshot_url?: string;
|
|
@@ -17,3 +17,11 @@ export interface OEmbedInfo {
|
|
|
17
17
|
width?: number;
|
|
18
18
|
height?: number;
|
|
19
19
|
}
|
|
20
|
+
export declare namespace OEmbedInfo {
|
|
21
|
+
enum Type {
|
|
22
|
+
LINK = "link",
|
|
23
|
+
PHOTO = "photo",
|
|
24
|
+
RICH = "rich",
|
|
25
|
+
VIDEO = "video"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
export
|
|
1
|
+
export let OEmbedInfo;
|
|
2
|
+
(function (_OEmbedInfo) {
|
|
3
|
+
let Type;
|
|
4
|
+
(function (Type) {
|
|
5
|
+
Type["LINK"] = "link";
|
|
6
|
+
Type["PHOTO"] = "photo";
|
|
7
|
+
Type["RICH"] = "rich";
|
|
8
|
+
Type["VIDEO"] = "video";
|
|
9
|
+
})(Type || (Type = {}));
|
|
10
|
+
_OEmbedInfo.Type = Type;
|
|
11
|
+
})(OEmbedInfo || (OEmbedInfo = {}));
|