@prezly/sdk 26.0.0 → 26.2.0
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/ApiClient.d.ts +4 -4
- package/dist/api/DeferredJobsApiClient.d.ts +4 -4
- package/dist/api/constants.cjs +1 -1
- package/dist/api/constants.js +1 -1
- package/dist/endpoints/Accounts/Client.d.ts +1 -1
- package/dist/endpoints/Billing/types.cjs +6 -6
- package/dist/endpoints/Billing/types.js +6 -6
- package/dist/endpoints/CampaignRecipients/Client.d.ts +1 -1
- package/dist/endpoints/Campaigns/Client.d.ts +8 -8
- package/dist/endpoints/ContactTagGroups/types.cjs +3 -3
- package/dist/endpoints/ContactTagGroups/types.js +3 -3
- package/dist/endpoints/ContactTags/Client.d.ts +4 -4
- package/dist/endpoints/Contacts/Client.d.ts +6 -6
- package/dist/endpoints/ContactsExports/Client.d.ts +2 -2
- package/dist/endpoints/CoverageIntegrations/Client.d.ts +3 -3
- package/dist/endpoints/CoverageIntegrations/types.cjs +1 -2
- package/dist/endpoints/CoverageIntegrations/types.js +1 -2
- package/dist/endpoints/NewsroomCategories/Client.d.ts +3 -3
- package/dist/endpoints/NewsroomGalleries/Client.d.ts +1 -1
- package/dist/endpoints/NewsroomLanguages/Client.d.ts +10 -10
- package/dist/endpoints/NewsroomPrivacyRequests/Client.d.ts +2 -2
- package/dist/endpoints/NewsroomThemes/Client.cjs +11 -1
- package/dist/endpoints/NewsroomThemes/Client.d.ts +2 -1
- package/dist/endpoints/NewsroomThemes/Client.js +11 -1
- package/dist/endpoints/NewsroomWebhooks/Client.d.ts +3 -3
- package/dist/endpoints/Newsrooms/Client.d.ts +11 -11
- package/dist/endpoints/PricingTables/types.cjs +12 -12
- package/dist/endpoints/PricingTables/types.js +12 -12
- package/dist/endpoints/SenderAddresses/Client.d.ts +3 -3
- package/dist/endpoints/Stories/Client.d.ts +102 -102
- package/dist/endpoints/Stories/types.cjs +4 -5
- package/dist/endpoints/Stories/types.d.ts +34 -2
- package/dist/endpoints/Stories/types.js +4 -5
- package/dist/endpoints/Subscriptions/Client.d.ts +2 -2
- package/dist/endpoints/Subscriptions/types.cjs +3 -3
- package/dist/endpoints/Subscriptions/types.js +3 -3
- package/dist/endpoints/index.cjs +1 -2
- package/dist/http/lib.cjs +1 -1
- package/dist/http/types.cjs +6 -6
- package/dist/http/types.js +6 -6
- package/dist/types/BillingCycle.cjs +3 -3
- package/dist/types/BillingCycle.js +3 -3
- package/dist/types/Campaign.cjs +18 -18
- package/dist/types/Campaign.js +18 -18
- package/dist/types/Category.cjs +0 -1
- package/dist/types/Category.js +0 -1
- package/dist/types/Contact.cjs +18 -18
- package/dist/types/Contact.js +18 -18
- package/dist/types/ContactDuplicateSuggestion.cjs +3 -3
- package/dist/types/ContactDuplicateSuggestion.js +3 -4
- package/dist/types/ContactTag.cjs +1 -2
- package/dist/types/ContactTag.js +1 -2
- package/dist/types/ContactsExport.cjs +3 -3
- package/dist/types/ContactsExport.js +3 -3
- package/dist/types/ContactsScope.cjs +3 -3
- package/dist/types/ContactsScope.js +3 -3
- package/dist/types/CoverageEntry.cjs +9 -9
- package/dist/types/CoverageEntry.js +9 -9
- package/dist/types/CoverageIntegration.cjs +3 -3
- package/dist/types/CoverageIntegration.js +3 -3
- package/dist/types/CoverageIntegrationRun.cjs +3 -3
- package/dist/types/CoverageIntegrationRun.js +3 -3
- package/dist/types/Culture.cjs +3 -3
- package/dist/types/Culture.js +3 -3
- package/dist/types/Currency.cjs +3 -3
- package/dist/types/Currency.js +3 -3
- package/dist/types/EmailRecipient.cjs +6 -6
- package/dist/types/EmailRecipient.js +6 -6
- package/dist/types/JobState.cjs +3 -3
- package/dist/types/JobState.js +3 -3
- package/dist/types/License.cjs +12 -12
- package/dist/types/License.js +12 -12
- package/dist/types/Newsroom.cjs +20 -12
- package/dist/types/Newsroom.js +20 -12
- package/dist/types/NewsroomDomain.cjs +6 -6
- package/dist/types/NewsroomDomain.js +6 -6
- package/dist/types/NewsroomGallery.cjs +6 -6
- package/dist/types/NewsroomGallery.js +6 -6
- package/dist/types/NewsroomTheme.cjs +10 -9
- package/dist/types/NewsroomTheme.js +10 -9
- package/dist/types/NewsroomWebhook.cjs +3 -3
- package/dist/types/NewsroomWebhook.js +3 -3
- package/dist/types/NotificationSubscription.cjs +3 -3
- package/dist/types/NotificationSubscription.js +3 -3
- package/dist/types/Permissions.cjs +3 -3
- package/dist/types/Permissions.js +3 -3
- package/dist/types/Plan.cjs +10 -10
- package/dist/types/Plan.js +11 -11
- package/dist/types/Price.cjs +6 -6
- package/dist/types/Price.js +6 -6
- package/dist/types/PrivacyRequest.cjs +6 -6
- package/dist/types/PrivacyRequest.js +6 -6
- package/dist/types/SenderAddress.cjs +3 -3
- package/dist/types/SenderAddress.js +3 -3
- package/dist/types/SenderDomain.cjs +3 -3
- package/dist/types/SenderDomain.js +3 -3
- package/dist/types/SortOrder.cjs +3 -3
- package/dist/types/SortOrder.js +3 -3
- package/dist/types/Story.cjs +12 -12
- package/dist/types/Story.d.ts +4 -0
- package/dist/types/Story.js +12 -12
- package/dist/types/User.cjs +6 -6
- package/dist/types/User.js +6 -6
- package/dist/types/common/Notification.cjs +3 -3
- package/dist/types/common/Notification.js +3 -3
- package/dist/types/common/OEmbedInfo.cjs +3 -3
- package/dist/types/common/OEmbedInfo.js +3 -3
- package/dist/types/common/Pagination.cjs +3 -3
- package/dist/types/common/Pagination.js +3 -3
- package/dist/types/common/Query.js +0 -1
- package/package.json +5 -5
|
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.SenderDomain = void 0;
|
|
7
7
|
let SenderDomain = exports.SenderDomain = void 0;
|
|
8
8
|
(function (_SenderDomain) {
|
|
9
|
-
let VerificationFlowVersion
|
|
10
|
-
(function (VerificationFlowVersion) {
|
|
9
|
+
let VerificationFlowVersion = /*#__PURE__*/function (VerificationFlowVersion) {
|
|
11
10
|
VerificationFlowVersion["V1"] = "v1";
|
|
12
11
|
VerificationFlowVersion["V2"] = "v2";
|
|
13
12
|
VerificationFlowVersion["V3"] = "v3";
|
|
14
13
|
VerificationFlowVersion["PREZLYMAIL"] = "prezlymail";
|
|
15
|
-
|
|
14
|
+
return VerificationFlowVersion;
|
|
15
|
+
}({});
|
|
16
16
|
_SenderDomain.VerificationFlowVersion = VerificationFlowVersion;
|
|
17
17
|
})(SenderDomain || (exports.SenderDomain = SenderDomain = {}));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export let SenderDomain;
|
|
2
2
|
(function (_SenderDomain) {
|
|
3
|
-
let VerificationFlowVersion
|
|
4
|
-
(function (VerificationFlowVersion) {
|
|
3
|
+
let VerificationFlowVersion = /*#__PURE__*/function (VerificationFlowVersion) {
|
|
5
4
|
VerificationFlowVersion["V1"] = "v1";
|
|
6
5
|
VerificationFlowVersion["V2"] = "v2";
|
|
7
6
|
VerificationFlowVersion["V3"] = "v3";
|
|
8
7
|
VerificationFlowVersion["PREZLYMAIL"] = "prezlymail";
|
|
9
|
-
|
|
8
|
+
return VerificationFlowVersion;
|
|
9
|
+
}({});
|
|
10
10
|
_SenderDomain.VerificationFlowVersion = VerificationFlowVersion;
|
|
11
11
|
})(SenderDomain || (SenderDomain = {}));
|
package/dist/types/SortOrder.cjs
CHANGED
|
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.SortOrder = void 0;
|
|
7
7
|
let SortOrder = exports.SortOrder = void 0;
|
|
8
8
|
(function (_SortOrder) {
|
|
9
|
-
let Direction
|
|
10
|
-
(function (Direction) {
|
|
9
|
+
let Direction = /*#__PURE__*/function (Direction) {
|
|
11
10
|
Direction["ASC"] = "asc";
|
|
12
11
|
Direction["DESC"] = "desc";
|
|
13
|
-
|
|
12
|
+
return Direction;
|
|
13
|
+
}({});
|
|
14
14
|
_SortOrder.Direction = Direction;
|
|
15
15
|
function empty() {
|
|
16
16
|
return {
|
package/dist/types/SortOrder.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export let SortOrder;
|
|
2
2
|
(function (_SortOrder) {
|
|
3
|
-
let Direction
|
|
4
|
-
(function (Direction) {
|
|
3
|
+
let Direction = /*#__PURE__*/function (Direction) {
|
|
5
4
|
Direction["ASC"] = "asc";
|
|
6
5
|
Direction["DESC"] = "desc";
|
|
7
|
-
|
|
6
|
+
return Direction;
|
|
7
|
+
}({});
|
|
8
8
|
_SortOrder.Direction = Direction;
|
|
9
9
|
function empty() {
|
|
10
10
|
return {
|
package/dist/types/Story.cjs
CHANGED
|
@@ -7,43 +7,43 @@ exports.Story = void 0;
|
|
|
7
7
|
var _Newsroom = require("./Newsroom.cjs");
|
|
8
8
|
let Story = exports.Story = void 0;
|
|
9
9
|
(function (_Story) {
|
|
10
|
-
let FormatVersion
|
|
11
|
-
(function (FormatVersion) {
|
|
10
|
+
let FormatVersion = /*#__PURE__*/function (FormatVersion) {
|
|
12
11
|
FormatVersion[FormatVersion["HTML"] = 1] = "HTML";
|
|
13
12
|
FormatVersion[FormatVersion["SLATEJS_V3"] = 3] = "SLATEJS_V3";
|
|
14
13
|
FormatVersion[FormatVersion["SLATEJS_V4"] = 4] = "SLATEJS_V4";
|
|
15
14
|
FormatVersion[FormatVersion["SLATEJS_V5"] = 5] = "SLATEJS_V5";
|
|
16
15
|
FormatVersion[FormatVersion["SLATEJS_V6"] = 6] = "SLATEJS_V6";
|
|
17
|
-
|
|
16
|
+
return FormatVersion;
|
|
17
|
+
}({});
|
|
18
18
|
_Story.FormatVersion = FormatVersion;
|
|
19
|
-
let Status
|
|
20
|
-
(function (Status) {
|
|
19
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
21
20
|
Status["UNINITIALIZED"] = "uninitialized";
|
|
22
21
|
Status["DRAFT"] = "draft";
|
|
23
22
|
Status["SCHEDULED"] = "scheduled";
|
|
24
23
|
Status["EMBARGO"] = "embargo";
|
|
25
24
|
Status["PUBLISHED"] = "published";
|
|
26
|
-
|
|
25
|
+
return Status;
|
|
26
|
+
}({});
|
|
27
27
|
_Story.Status = Status;
|
|
28
28
|
const LifecycleStatus = _Story.LifecycleStatus = Status;
|
|
29
29
|
/**
|
|
30
30
|
* @deprecated Please use `Status` instead.
|
|
31
31
|
* @see Status
|
|
32
32
|
*/
|
|
33
|
-
let PublicationStatus
|
|
34
|
-
(function (PublicationStatus) {
|
|
33
|
+
let PublicationStatus = /*#__PURE__*/function (PublicationStatus) {
|
|
35
34
|
PublicationStatus["NEW"] = "new";
|
|
36
35
|
PublicationStatus["DRAFT"] = "draft";
|
|
37
36
|
PublicationStatus["PUBLISHED"] = "published";
|
|
38
|
-
|
|
37
|
+
return PublicationStatus;
|
|
38
|
+
}({});
|
|
39
39
|
_Story.PublicationStatus = PublicationStatus;
|
|
40
|
-
let Visibility
|
|
41
|
-
(function (Visibility) {
|
|
40
|
+
let Visibility = /*#__PURE__*/function (Visibility) {
|
|
42
41
|
Visibility["PUBLIC"] = "public";
|
|
43
42
|
Visibility["EMBARGO"] = "embargo";
|
|
44
43
|
Visibility["PRIVATE"] = "private";
|
|
45
44
|
Visibility["CONFIDENTIAL"] = "confidential";
|
|
46
|
-
|
|
45
|
+
return Visibility;
|
|
46
|
+
}({});
|
|
47
47
|
_Story.Visibility = Visibility;
|
|
48
48
|
/*
|
|
49
49
|
* Newsroom status checks
|
package/dist/types/Story.d.ts
CHANGED
|
@@ -262,6 +262,10 @@ export declare namespace Story {
|
|
|
262
262
|
* Number of pitches linked to this story.
|
|
263
263
|
*/
|
|
264
264
|
'pitches.count': number;
|
|
265
|
+
/**
|
|
266
|
+
* Number of coverage entries linked to this story.
|
|
267
|
+
*/
|
|
268
|
+
'coverage.count': number;
|
|
265
269
|
}
|
|
266
270
|
function isActiveNewsroom(story: Pick<Story, 'newsroom'>): boolean;
|
|
267
271
|
function isInactiveNewsroom(story: Pick<Story, 'newsroom'>): boolean;
|
package/dist/types/Story.js
CHANGED
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { Newsroom } from "./Newsroom.js";
|
|
2
2
|
export let Story;
|
|
3
3
|
(function (_Story) {
|
|
4
|
-
let FormatVersion
|
|
5
|
-
(function (FormatVersion) {
|
|
4
|
+
let FormatVersion = /*#__PURE__*/function (FormatVersion) {
|
|
6
5
|
FormatVersion[FormatVersion["HTML"] = 1] = "HTML";
|
|
7
6
|
FormatVersion[FormatVersion["SLATEJS_V3"] = 3] = "SLATEJS_V3";
|
|
8
7
|
FormatVersion[FormatVersion["SLATEJS_V4"] = 4] = "SLATEJS_V4";
|
|
9
8
|
FormatVersion[FormatVersion["SLATEJS_V5"] = 5] = "SLATEJS_V5";
|
|
10
9
|
FormatVersion[FormatVersion["SLATEJS_V6"] = 6] = "SLATEJS_V6";
|
|
11
|
-
|
|
10
|
+
return FormatVersion;
|
|
11
|
+
}({});
|
|
12
12
|
_Story.FormatVersion = FormatVersion;
|
|
13
|
-
let Status
|
|
14
|
-
(function (Status) {
|
|
13
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
15
14
|
Status["UNINITIALIZED"] = "uninitialized";
|
|
16
15
|
Status["DRAFT"] = "draft";
|
|
17
16
|
Status["SCHEDULED"] = "scheduled";
|
|
18
17
|
Status["EMBARGO"] = "embargo";
|
|
19
18
|
Status["PUBLISHED"] = "published";
|
|
20
|
-
|
|
19
|
+
return Status;
|
|
20
|
+
}({});
|
|
21
21
|
_Story.Status = Status;
|
|
22
22
|
const LifecycleStatus = _Story.LifecycleStatus = Status;
|
|
23
23
|
/**
|
|
24
24
|
* @deprecated Please use `Status` instead.
|
|
25
25
|
* @see Status
|
|
26
26
|
*/
|
|
27
|
-
let PublicationStatus
|
|
28
|
-
(function (PublicationStatus) {
|
|
27
|
+
let PublicationStatus = /*#__PURE__*/function (PublicationStatus) {
|
|
29
28
|
PublicationStatus["NEW"] = "new";
|
|
30
29
|
PublicationStatus["DRAFT"] = "draft";
|
|
31
30
|
PublicationStatus["PUBLISHED"] = "published";
|
|
32
|
-
|
|
31
|
+
return PublicationStatus;
|
|
32
|
+
}({});
|
|
33
33
|
_Story.PublicationStatus = PublicationStatus;
|
|
34
|
-
let Visibility
|
|
35
|
-
(function (Visibility) {
|
|
34
|
+
let Visibility = /*#__PURE__*/function (Visibility) {
|
|
36
35
|
Visibility["PUBLIC"] = "public";
|
|
37
36
|
Visibility["EMBARGO"] = "embargo";
|
|
38
37
|
Visibility["PRIVATE"] = "private";
|
|
39
38
|
Visibility["CONFIDENTIAL"] = "confidential";
|
|
40
|
-
|
|
39
|
+
return Visibility;
|
|
40
|
+
}({});
|
|
41
41
|
_Story.Visibility = Visibility;
|
|
42
42
|
/*
|
|
43
43
|
* Newsroom status checks
|
package/dist/types/User.cjs
CHANGED
|
@@ -6,15 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.User = void 0;
|
|
7
7
|
let User = exports.User = void 0;
|
|
8
8
|
(function (_User) {
|
|
9
|
-
let SignInFlow
|
|
10
|
-
(function (SignInFlow) {
|
|
9
|
+
let SignInFlow = /*#__PURE__*/function (SignInFlow) {
|
|
11
10
|
SignInFlow["GOOGLE"] = "google";
|
|
12
11
|
SignInFlow["PASSWORD"] = "password";
|
|
13
12
|
SignInFlow["SSO"] = "sso";
|
|
14
|
-
|
|
13
|
+
return SignInFlow;
|
|
14
|
+
}({});
|
|
15
15
|
_User.SignInFlow = SignInFlow;
|
|
16
|
-
let UseCaseAnswer
|
|
17
|
-
(function (UseCaseAnswer) {
|
|
16
|
+
let UseCaseAnswer = /*#__PURE__*/function (UseCaseAnswer) {
|
|
18
17
|
UseCaseAnswer["UNKNOWN"] = "unknown";
|
|
19
18
|
UseCaseAnswer["CAMPAIGNS"] = "campaigns";
|
|
20
19
|
UseCaseAnswer["CONTACTS"] = "contacts";
|
|
@@ -22,6 +21,7 @@ let User = exports.User = void 0;
|
|
|
22
21
|
UseCaseAnswer["NEWSROOM"] = "newsroom";
|
|
23
22
|
UseCaseAnswer["COVERAGE"] = "coverage";
|
|
24
23
|
UseCaseAnswer["SKIP"] = "skip";
|
|
25
|
-
|
|
24
|
+
return UseCaseAnswer;
|
|
25
|
+
}({});
|
|
26
26
|
_User.UseCaseAnswer = UseCaseAnswer;
|
|
27
27
|
})(User || (exports.User = User = {}));
|
package/dist/types/User.js
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
export let User;
|
|
2
2
|
(function (_User) {
|
|
3
|
-
let SignInFlow
|
|
4
|
-
(function (SignInFlow) {
|
|
3
|
+
let SignInFlow = /*#__PURE__*/function (SignInFlow) {
|
|
5
4
|
SignInFlow["GOOGLE"] = "google";
|
|
6
5
|
SignInFlow["PASSWORD"] = "password";
|
|
7
6
|
SignInFlow["SSO"] = "sso";
|
|
8
|
-
|
|
7
|
+
return SignInFlow;
|
|
8
|
+
}({});
|
|
9
9
|
_User.SignInFlow = SignInFlow;
|
|
10
|
-
let UseCaseAnswer
|
|
11
|
-
(function (UseCaseAnswer) {
|
|
10
|
+
let UseCaseAnswer = /*#__PURE__*/function (UseCaseAnswer) {
|
|
12
11
|
UseCaseAnswer["UNKNOWN"] = "unknown";
|
|
13
12
|
UseCaseAnswer["CAMPAIGNS"] = "campaigns";
|
|
14
13
|
UseCaseAnswer["CONTACTS"] = "contacts";
|
|
@@ -16,6 +15,7 @@ export let User;
|
|
|
16
15
|
UseCaseAnswer["NEWSROOM"] = "newsroom";
|
|
17
16
|
UseCaseAnswer["COVERAGE"] = "coverage";
|
|
18
17
|
UseCaseAnswer["SKIP"] = "skip";
|
|
19
|
-
|
|
18
|
+
return UseCaseAnswer;
|
|
19
|
+
}({});
|
|
20
20
|
_User.UseCaseAnswer = UseCaseAnswer;
|
|
21
21
|
})(User || (User = {}));
|
|
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Notification = void 0;
|
|
7
7
|
let Notification = exports.Notification = void 0;
|
|
8
8
|
(function (_Notification) {
|
|
9
|
-
let Style
|
|
10
|
-
(function (Style) {
|
|
9
|
+
let Style = /*#__PURE__*/function (Style) {
|
|
11
10
|
Style["SUCCESS"] = "success";
|
|
12
11
|
Style["INFO"] = "info";
|
|
13
12
|
Style["WARNING"] = "warning";
|
|
14
13
|
Style["DANGER"] = "danger";
|
|
15
|
-
|
|
14
|
+
return Style;
|
|
15
|
+
}({});
|
|
16
16
|
_Notification.Style = Style;
|
|
17
17
|
})(Notification || (exports.Notification = Notification = {}));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export let Notification;
|
|
2
2
|
(function (_Notification) {
|
|
3
|
-
let Style
|
|
4
|
-
(function (Style) {
|
|
3
|
+
let Style = /*#__PURE__*/function (Style) {
|
|
5
4
|
Style["SUCCESS"] = "success";
|
|
6
5
|
Style["INFO"] = "info";
|
|
7
6
|
Style["WARNING"] = "warning";
|
|
8
7
|
Style["DANGER"] = "danger";
|
|
9
|
-
|
|
8
|
+
return Style;
|
|
9
|
+
}({});
|
|
10
10
|
_Notification.Style = Style;
|
|
11
11
|
})(Notification || (Notification = {}));
|
|
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.OEmbedInfo = void 0;
|
|
7
7
|
let OEmbedInfo = exports.OEmbedInfo = void 0;
|
|
8
8
|
(function (_OEmbedInfo) {
|
|
9
|
-
let Type
|
|
10
|
-
(function (Type) {
|
|
9
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
11
10
|
Type["LINK"] = "link";
|
|
12
11
|
Type["PHOTO"] = "photo";
|
|
13
12
|
Type["RICH"] = "rich";
|
|
14
13
|
Type["VIDEO"] = "video";
|
|
15
|
-
|
|
14
|
+
return Type;
|
|
15
|
+
}({});
|
|
16
16
|
_OEmbedInfo.Type = Type;
|
|
17
17
|
})(OEmbedInfo || (exports.OEmbedInfo = OEmbedInfo = {}));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export let OEmbedInfo;
|
|
2
2
|
(function (_OEmbedInfo) {
|
|
3
|
-
let Type
|
|
4
|
-
(function (Type) {
|
|
3
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
5
4
|
Type["LINK"] = "link";
|
|
6
5
|
Type["PHOTO"] = "photo";
|
|
7
6
|
Type["RICH"] = "rich";
|
|
8
7
|
Type["VIDEO"] = "video";
|
|
9
|
-
|
|
8
|
+
return Type;
|
|
9
|
+
}({});
|
|
10
10
|
_OEmbedInfo.Type = Type;
|
|
11
11
|
})(OEmbedInfo || (OEmbedInfo = {}));
|
|
@@ -7,9 +7,9 @@ exports.SelectionMode = void 0;
|
|
|
7
7
|
/**
|
|
8
8
|
* @see https://api.prezly.com/v2/common/schema.json#/definitions/Pagination
|
|
9
9
|
*/
|
|
10
|
-
let SelectionMode = exports.SelectionMode =
|
|
11
|
-
(function (SelectionMode) {
|
|
10
|
+
let SelectionMode = exports.SelectionMode = /*#__PURE__*/function (SelectionMode) {
|
|
12
11
|
SelectionMode["ALL"] = "all";
|
|
13
12
|
SelectionMode["IN"] = "in";
|
|
14
13
|
SelectionMode["NOT_IN"] = "not_in";
|
|
15
|
-
|
|
14
|
+
return SelectionMode;
|
|
15
|
+
}({});
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* @see https://api.prezly.com/v2/common/schema.json#/definitions/Pagination
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
export let SelectionMode
|
|
6
|
-
(function (SelectionMode) {
|
|
5
|
+
export let SelectionMode = /*#__PURE__*/function (SelectionMode) {
|
|
7
6
|
SelectionMode["ALL"] = "all";
|
|
8
7
|
SelectionMode["IN"] = "in";
|
|
9
8
|
SelectionMode["NOT_IN"] = "not_in";
|
|
10
|
-
|
|
9
|
+
return SelectionMode;
|
|
10
|
+
}({});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prezly/sdk",
|
|
3
|
-
"version": "26.
|
|
3
|
+
"version": "26.2.0",
|
|
4
4
|
"description": "Prezly API SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"query-string": "^6.14.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@babel/cli": "^7.
|
|
35
|
-
"@babel/core": "^7.
|
|
34
|
+
"@babel/cli": "^7.28.6",
|
|
35
|
+
"@babel/core": "^7.28.6",
|
|
36
36
|
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
|
|
37
|
-
"@babel/preset-env": "^7.
|
|
38
|
-
"@babel/preset-typescript": "^7.
|
|
37
|
+
"@babel/preset-env": "^7.28.6",
|
|
38
|
+
"@babel/preset-typescript": "^7.28.5",
|
|
39
39
|
"@biomejs/biome": "^2.2.4",
|
|
40
40
|
"@prezly/biome-config": "^1.0.1",
|
|
41
41
|
"@types/node": "^20.10.4",
|