@prezly/sdk 19.4.2 → 19.6.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/DeferredJobsApiClient.cjs +1 -0
- package/dist/api/DeferredJobsApiClient.js +1 -0
- package/dist/api/constants.cjs +3 -2
- package/dist/api/constants.js +1 -1
- package/dist/endpoints/Accounts/index.cjs +0 -2
- package/dist/endpoints/Billing/index.cjs +0 -2
- package/dist/endpoints/Billing/types.cjs +9 -7
- package/dist/endpoints/Billing/types.js +6 -6
- package/dist/endpoints/CampaignRecipients/index.cjs +0 -2
- package/dist/endpoints/Campaigns/index.cjs +0 -2
- package/dist/endpoints/Contacts/index.cjs +0 -2
- package/dist/endpoints/ContactsExports/index.cjs +0 -2
- package/dist/endpoints/Coverage/index.cjs +0 -2
- package/dist/endpoints/Jobs/index.cjs +0 -2
- package/dist/endpoints/Licenses/index.cjs +0 -1
- package/dist/endpoints/NewsroomCategories/index.cjs +0 -2
- package/dist/endpoints/NewsroomContacts/index.cjs +0 -2
- package/dist/endpoints/NewsroomDomains/index.cjs +0 -2
- package/dist/endpoints/NewsroomGalleries/index.cjs +0 -2
- package/dist/endpoints/NewsroomHub/index.cjs +0 -2
- package/dist/endpoints/NewsroomLanguages/index.cjs +0 -2
- package/dist/endpoints/NewsroomPrivacyRequests/index.cjs +0 -2
- package/dist/endpoints/NewsroomSubscriptions/Client.cjs +17 -0
- package/dist/endpoints/NewsroomSubscriptions/Client.d.ts +2 -1
- package/dist/endpoints/NewsroomSubscriptions/Client.js +17 -0
- package/dist/endpoints/NewsroomSubscriptions/index.cjs +0 -2
- package/dist/endpoints/NewsroomSubscriptions/types.d.ts +15 -1
- package/dist/endpoints/NewsroomThemes/index.cjs +0 -1
- package/dist/endpoints/NewsroomWebhooks/index.cjs +0 -2
- package/dist/endpoints/Newsrooms/index.cjs +0 -2
- package/dist/endpoints/Newsrooms/types.d.ts +1 -0
- package/dist/endpoints/NotificationSubscriptions/index.cjs +0 -2
- package/dist/endpoints/PricingTables/index.cjs +0 -2
- package/dist/endpoints/PricingTables/types.cjs +17 -13
- package/dist/endpoints/PricingTables/types.js +12 -12
- package/dist/endpoints/SenderAddresses/index.cjs +0 -2
- package/dist/endpoints/Snippets/index.cjs +0 -2
- package/dist/endpoints/Stories/Client.cjs +4 -23
- package/dist/endpoints/Stories/Client.js +7 -22
- package/dist/endpoints/Stories/index.cjs +0 -3
- package/dist/endpoints/Stories/scopes.cjs +3 -2
- package/dist/endpoints/Stories/types.cjs +4 -14
- package/dist/endpoints/Stories/types.js +3 -13
- package/dist/endpoints/Subscriptions/index.cjs +0 -2
- package/dist/endpoints/Subscriptions/types.cjs +4 -3
- package/dist/endpoints/Subscriptions/types.js +3 -3
- package/dist/endpoints/index.cjs +3 -3
- package/dist/http/constants.cjs +6 -3
- package/dist/http/index.cjs +8 -8
- package/dist/http/types.cjs +8 -6
- package/dist/http/types.js +6 -6
- package/dist/index.cjs +4 -7
- package/dist/routing.cjs +3 -3
- package/dist/routing.d.ts +0 -1
- package/dist/routing.js +0 -1
- package/dist/types/BillingCycle.cjs +4 -3
- package/dist/types/BillingCycle.js +3 -3
- package/dist/types/Campaign.cjs +20 -19
- package/dist/types/Campaign.js +18 -18
- package/dist/types/Category.cjs +2 -1
- package/dist/types/Contact.cjs +20 -19
- package/dist/types/Contact.js +18 -18
- package/dist/types/ContactDuplicateSuggestion.cjs +5 -5
- package/dist/types/ContactDuplicateSuggestion.js +4 -3
- package/dist/types/ContactsExport.cjs +5 -4
- package/dist/types/ContactsExport.js +3 -3
- package/dist/types/ContactsScope.cjs +5 -4
- package/dist/types/ContactsScope.js +3 -3
- package/dist/types/CoverageEntry.cjs +8 -7
- package/dist/types/CoverageEntry.js +6 -6
- package/dist/types/Culture.cjs +5 -10
- package/dist/types/Culture.js +3 -9
- package/dist/types/Currency.cjs +4 -3
- package/dist/types/Currency.js +3 -3
- package/dist/types/EmailRecipient.cjs +5 -4
- package/dist/types/EmailRecipient.js +3 -3
- package/dist/types/EmailSubscription.d.ts +1 -0
- package/dist/types/JobState.cjs +4 -3
- package/dist/types/JobState.js +3 -3
- package/dist/types/License.cjs +11 -10
- package/dist/types/License.js +9 -9
- package/dist/types/Newsroom.cjs +11 -13
- package/dist/types/Newsroom.d.ts +2 -0
- package/dist/types/Newsroom.js +9 -12
- package/dist/types/NewsroomDomain.cjs +8 -7
- package/dist/types/NewsroomDomain.js +6 -6
- package/dist/types/NewsroomGallery.cjs +8 -7
- package/dist/types/NewsroomGallery.js +6 -6
- package/dist/types/NewsroomSubscription.cjs +1 -0
- package/dist/types/NewsroomSubscription.d.ts +8 -0
- package/dist/types/NewsroomSubscription.js +1 -0
- package/dist/types/NewsroomTheme.cjs +11 -8
- package/dist/types/NewsroomTheme.js +8 -7
- package/dist/types/NewsroomWebhook.cjs +5 -4
- package/dist/types/NewsroomWebhook.js +3 -3
- package/dist/types/NotificationSubscription.cjs +5 -4
- package/dist/types/NotificationSubscription.js +3 -3
- package/dist/types/Permissions.cjs +4 -3
- package/dist/types/Permissions.js +3 -3
- package/dist/types/Plan.cjs +8 -7
- package/dist/types/Plan.js +8 -8
- package/dist/types/PrivacyRequest.cjs +8 -7
- package/dist/types/PrivacyRequest.js +6 -6
- package/dist/types/SenderAddress.cjs +5 -4
- package/dist/types/SenderAddress.js +3 -3
- package/dist/types/SenderDomain.cjs +5 -4
- package/dist/types/SenderDomain.js +3 -3
- package/dist/types/SortOrder.cjs +5 -4
- package/dist/types/SortOrder.js +3 -3
- package/dist/types/Story.cjs +18 -29
- package/dist/types/Story.js +16 -28
- package/dist/types/User.cjs +8 -7
- package/dist/types/User.js +6 -6
- package/dist/types/common/Notification.cjs +5 -4
- package/dist/types/common/Notification.js +3 -3
- package/dist/types/common/OEmbedInfo.cjs +5 -4
- package/dist/types/common/OEmbedInfo.js +3 -3
- package/dist/types/common/Pagination.cjs +4 -4
- package/dist/types/common/Pagination.js +3 -3
- package/dist/types/common/Query.cjs +2 -1
- package/dist/types/common/Query.js +1 -0
- package/dist/types/common/index.cjs +0 -6
- package/dist/types/index.cjs +10 -36
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/package.json +1 -1
package/dist/types/Story.cjs
CHANGED
|
@@ -5,53 +5,48 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.Story = void 0;
|
|
7
7
|
var _Newsroom = require("./Newsroom.cjs");
|
|
8
|
-
let Story
|
|
8
|
+
let Story;
|
|
9
|
+
exports.Story = Story;
|
|
9
10
|
(function (_Story) {
|
|
10
|
-
let FormatVersion
|
|
11
|
+
let FormatVersion;
|
|
12
|
+
(function (FormatVersion) {
|
|
11
13
|
FormatVersion[FormatVersion["HTML"] = 1] = "HTML";
|
|
12
14
|
FormatVersion[FormatVersion["SLATEJS_V3"] = 3] = "SLATEJS_V3";
|
|
13
15
|
FormatVersion[FormatVersion["SLATEJS_V4"] = 4] = "SLATEJS_V4";
|
|
14
16
|
FormatVersion[FormatVersion["SLATEJS_V5"] = 5] = "SLATEJS_V5";
|
|
15
|
-
|
|
16
|
-
}({});
|
|
17
|
+
})(FormatVersion || (FormatVersion = {}));
|
|
17
18
|
_Story.FormatVersion = FormatVersion;
|
|
18
|
-
let Status
|
|
19
|
+
let Status;
|
|
20
|
+
(function (Status) {
|
|
19
21
|
Status["UNINITIALIZED"] = "uninitialized";
|
|
20
22
|
Status["DRAFT"] = "draft";
|
|
21
23
|
Status["SCHEDULED"] = "scheduled";
|
|
22
24
|
Status["EMBARGO"] = "embargo";
|
|
23
25
|
Status["PUBLISHED"] = "published";
|
|
24
|
-
|
|
25
|
-
}({});
|
|
26
|
+
})(Status || (Status = {}));
|
|
26
27
|
_Story.Status = Status;
|
|
27
28
|
/**
|
|
28
29
|
* @deprecated Please use `Status` instead.
|
|
29
30
|
* @see Status
|
|
30
|
-
*/
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
let PublicationStatus = /*#__PURE__*/function (PublicationStatus) {
|
|
31
|
+
*/var LifecycleStatus = Status; /**
|
|
32
|
+
* @deprecated Please use `Status` instead.
|
|
33
|
+
* @see Status
|
|
34
|
+
*/
|
|
35
|
+
let PublicationStatus;
|
|
36
|
+
(function (PublicationStatus) {
|
|
37
37
|
PublicationStatus["NEW"] = "new";
|
|
38
38
|
PublicationStatus["DRAFT"] = "draft";
|
|
39
39
|
PublicationStatus["PUBLISHED"] = "published";
|
|
40
|
-
|
|
41
|
-
}({});
|
|
40
|
+
})(PublicationStatus || (PublicationStatus = {}));
|
|
42
41
|
_Story.PublicationStatus = PublicationStatus;
|
|
43
|
-
let Visibility
|
|
42
|
+
let Visibility;
|
|
43
|
+
(function (Visibility) {
|
|
44
44
|
Visibility["PUBLIC"] = "public";
|
|
45
45
|
Visibility["EMBARGO"] = "embargo";
|
|
46
46
|
Visibility["PRIVATE"] = "private";
|
|
47
47
|
Visibility["CONFIDENTIAL"] = "confidential";
|
|
48
|
-
|
|
49
|
-
}({});
|
|
48
|
+
})(Visibility || (Visibility = {}));
|
|
50
49
|
_Story.Visibility = Visibility;
|
|
51
|
-
/*
|
|
52
|
-
* Newsroom status checks
|
|
53
|
-
*/
|
|
54
|
-
|
|
55
50
|
function isActiveNewsroom(story) {
|
|
56
51
|
return _Newsroom.Newsroom.isActive(story.newsroom);
|
|
57
52
|
}
|
|
@@ -64,9 +59,6 @@ let Story = exports.Story = void 0;
|
|
|
64
59
|
return _Newsroom.Newsroom.isArchived(story.newsroom);
|
|
65
60
|
}
|
|
66
61
|
_Story.isArchivedNewsroom = isArchivedNewsroom;
|
|
67
|
-
/*
|
|
68
|
-
* Lifecycle status checks
|
|
69
|
-
*/
|
|
70
62
|
function isUninitialized(arg) {
|
|
71
63
|
if (typeof arg === 'object' && arg !== null) {
|
|
72
64
|
return isUninitialized(arg.status);
|
|
@@ -109,9 +101,6 @@ let Story = exports.Story = void 0;
|
|
|
109
101
|
return arg === Status.PUBLISHED;
|
|
110
102
|
}
|
|
111
103
|
_Story.isPublished = isPublished;
|
|
112
|
-
/*
|
|
113
|
-
* Format version checks
|
|
114
|
-
*/
|
|
115
104
|
function isLegacyHtmlFormat(arg) {
|
|
116
105
|
if (typeof arg === 'object' && arg !== null) {
|
|
117
106
|
return isLegacyHtmlFormat(arg.format_version);
|
package/dist/types/Story.js
CHANGED
|
@@ -1,51 +1,45 @@
|
|
|
1
1
|
import { Newsroom } from "./Newsroom.js";
|
|
2
2
|
export let Story;
|
|
3
3
|
(function (_Story) {
|
|
4
|
-
let FormatVersion
|
|
4
|
+
let FormatVersion;
|
|
5
|
+
(function (FormatVersion) {
|
|
5
6
|
FormatVersion[FormatVersion["HTML"] = 1] = "HTML";
|
|
6
7
|
FormatVersion[FormatVersion["SLATEJS_V3"] = 3] = "SLATEJS_V3";
|
|
7
8
|
FormatVersion[FormatVersion["SLATEJS_V4"] = 4] = "SLATEJS_V4";
|
|
8
9
|
FormatVersion[FormatVersion["SLATEJS_V5"] = 5] = "SLATEJS_V5";
|
|
9
|
-
|
|
10
|
-
}({});
|
|
10
|
+
})(FormatVersion || (FormatVersion = {}));
|
|
11
11
|
_Story.FormatVersion = FormatVersion;
|
|
12
|
-
let Status
|
|
12
|
+
let Status;
|
|
13
|
+
(function (Status) {
|
|
13
14
|
Status["UNINITIALIZED"] = "uninitialized";
|
|
14
15
|
Status["DRAFT"] = "draft";
|
|
15
16
|
Status["SCHEDULED"] = "scheduled";
|
|
16
17
|
Status["EMBARGO"] = "embargo";
|
|
17
18
|
Status["PUBLISHED"] = "published";
|
|
18
|
-
|
|
19
|
-
}({});
|
|
19
|
+
})(Status || (Status = {}));
|
|
20
20
|
_Story.Status = Status;
|
|
21
21
|
/**
|
|
22
22
|
* @deprecated Please use `Status` instead.
|
|
23
23
|
* @see Status
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
let PublicationStatus = /*#__PURE__*/function (PublicationStatus) {
|
|
24
|
+
*/var LifecycleStatus = Status; /**
|
|
25
|
+
* @deprecated Please use `Status` instead.
|
|
26
|
+
* @see Status
|
|
27
|
+
*/
|
|
28
|
+
let PublicationStatus;
|
|
29
|
+
(function (PublicationStatus) {
|
|
31
30
|
PublicationStatus["NEW"] = "new";
|
|
32
31
|
PublicationStatus["DRAFT"] = "draft";
|
|
33
32
|
PublicationStatus["PUBLISHED"] = "published";
|
|
34
|
-
|
|
35
|
-
}({});
|
|
33
|
+
})(PublicationStatus || (PublicationStatus = {}));
|
|
36
34
|
_Story.PublicationStatus = PublicationStatus;
|
|
37
|
-
let Visibility
|
|
35
|
+
let Visibility;
|
|
36
|
+
(function (Visibility) {
|
|
38
37
|
Visibility["PUBLIC"] = "public";
|
|
39
38
|
Visibility["EMBARGO"] = "embargo";
|
|
40
39
|
Visibility["PRIVATE"] = "private";
|
|
41
40
|
Visibility["CONFIDENTIAL"] = "confidential";
|
|
42
|
-
|
|
43
|
-
}({});
|
|
41
|
+
})(Visibility || (Visibility = {}));
|
|
44
42
|
_Story.Visibility = Visibility;
|
|
45
|
-
/*
|
|
46
|
-
* Newsroom status checks
|
|
47
|
-
*/
|
|
48
|
-
|
|
49
43
|
function isActiveNewsroom(story) {
|
|
50
44
|
return Newsroom.isActive(story.newsroom);
|
|
51
45
|
}
|
|
@@ -58,9 +52,6 @@ export let Story;
|
|
|
58
52
|
return Newsroom.isArchived(story.newsroom);
|
|
59
53
|
}
|
|
60
54
|
_Story.isArchivedNewsroom = isArchivedNewsroom;
|
|
61
|
-
/*
|
|
62
|
-
* Lifecycle status checks
|
|
63
|
-
*/
|
|
64
55
|
function isUninitialized(arg) {
|
|
65
56
|
if (typeof arg === 'object' && arg !== null) {
|
|
66
57
|
return isUninitialized(arg.status);
|
|
@@ -103,9 +94,6 @@ export let Story;
|
|
|
103
94
|
return arg === Status.PUBLISHED;
|
|
104
95
|
}
|
|
105
96
|
_Story.isPublished = isPublished;
|
|
106
|
-
/*
|
|
107
|
-
* Format version checks
|
|
108
|
-
*/
|
|
109
97
|
function isLegacyHtmlFormat(arg) {
|
|
110
98
|
if (typeof arg === 'object' && arg !== null) {
|
|
111
99
|
return isLegacyHtmlFormat(arg.format_version);
|
package/dist/types/User.cjs
CHANGED
|
@@ -4,16 +4,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.User = void 0;
|
|
7
|
-
let User
|
|
7
|
+
let User;
|
|
8
|
+
exports.User = User;
|
|
8
9
|
(function (_User) {
|
|
9
|
-
let SignInFlow
|
|
10
|
+
let SignInFlow;
|
|
11
|
+
(function (SignInFlow) {
|
|
10
12
|
SignInFlow["GOOGLE"] = "google";
|
|
11
13
|
SignInFlow["PASSWORD"] = "password";
|
|
12
14
|
SignInFlow["SSO"] = "sso";
|
|
13
|
-
|
|
14
|
-
}({});
|
|
15
|
+
})(SignInFlow || (SignInFlow = {}));
|
|
15
16
|
_User.SignInFlow = SignInFlow;
|
|
16
|
-
let UseCaseAnswer
|
|
17
|
+
let UseCaseAnswer;
|
|
18
|
+
(function (UseCaseAnswer) {
|
|
17
19
|
UseCaseAnswer["UNKNOWN"] = "unknown";
|
|
18
20
|
UseCaseAnswer["CAMPAIGNS"] = "campaigns";
|
|
19
21
|
UseCaseAnswer["CONTACTS"] = "contacts";
|
|
@@ -21,7 +23,6 @@ let User = exports.User = void 0;
|
|
|
21
23
|
UseCaseAnswer["NEWSROOM"] = "newsroom";
|
|
22
24
|
UseCaseAnswer["COVERAGE"] = "coverage";
|
|
23
25
|
UseCaseAnswer["SKIP"] = "skip";
|
|
24
|
-
|
|
25
|
-
}({});
|
|
26
|
+
})(UseCaseAnswer || (UseCaseAnswer = {}));
|
|
26
27
|
_User.UseCaseAnswer = UseCaseAnswer;
|
|
27
28
|
})(User || (exports.User = User = {}));
|
package/dist/types/User.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
export let User;
|
|
2
2
|
(function (_User) {
|
|
3
|
-
let SignInFlow
|
|
3
|
+
let SignInFlow;
|
|
4
|
+
(function (SignInFlow) {
|
|
4
5
|
SignInFlow["GOOGLE"] = "google";
|
|
5
6
|
SignInFlow["PASSWORD"] = "password";
|
|
6
7
|
SignInFlow["SSO"] = "sso";
|
|
7
|
-
|
|
8
|
-
}({});
|
|
8
|
+
})(SignInFlow || (SignInFlow = {}));
|
|
9
9
|
_User.SignInFlow = SignInFlow;
|
|
10
|
-
let UseCaseAnswer
|
|
10
|
+
let UseCaseAnswer;
|
|
11
|
+
(function (UseCaseAnswer) {
|
|
11
12
|
UseCaseAnswer["UNKNOWN"] = "unknown";
|
|
12
13
|
UseCaseAnswer["CAMPAIGNS"] = "campaigns";
|
|
13
14
|
UseCaseAnswer["CONTACTS"] = "contacts";
|
|
@@ -15,7 +16,6 @@ export let User;
|
|
|
15
16
|
UseCaseAnswer["NEWSROOM"] = "newsroom";
|
|
16
17
|
UseCaseAnswer["COVERAGE"] = "coverage";
|
|
17
18
|
UseCaseAnswer["SKIP"] = "skip";
|
|
18
|
-
|
|
19
|
-
}({});
|
|
19
|
+
})(UseCaseAnswer || (UseCaseAnswer = {}));
|
|
20
20
|
_User.UseCaseAnswer = UseCaseAnswer;
|
|
21
21
|
})(User || (User = {}));
|
|
@@ -4,14 +4,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.Notification = void 0;
|
|
7
|
-
let Notification
|
|
7
|
+
let Notification;
|
|
8
|
+
exports.Notification = Notification;
|
|
8
9
|
(function (_Notification) {
|
|
9
|
-
let Style
|
|
10
|
+
let Style;
|
|
11
|
+
(function (Style) {
|
|
10
12
|
Style["SUCCESS"] = "success";
|
|
11
13
|
Style["INFO"] = "info";
|
|
12
14
|
Style["WARNING"] = "warning";
|
|
13
15
|
Style["DANGER"] = "danger";
|
|
14
|
-
|
|
15
|
-
}({});
|
|
16
|
+
})(Style || (Style = {}));
|
|
16
17
|
_Notification.Style = Style;
|
|
17
18
|
})(Notification || (exports.Notification = Notification = {}));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export let Notification;
|
|
2
2
|
(function (_Notification) {
|
|
3
|
-
let Style
|
|
3
|
+
let Style;
|
|
4
|
+
(function (Style) {
|
|
4
5
|
Style["SUCCESS"] = "success";
|
|
5
6
|
Style["INFO"] = "info";
|
|
6
7
|
Style["WARNING"] = "warning";
|
|
7
8
|
Style["DANGER"] = "danger";
|
|
8
|
-
|
|
9
|
-
}({});
|
|
9
|
+
})(Style || (Style = {}));
|
|
10
10
|
_Notification.Style = Style;
|
|
11
11
|
})(Notification || (Notification = {}));
|
|
@@ -4,14 +4,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.OEmbedInfo = void 0;
|
|
7
|
-
let OEmbedInfo
|
|
7
|
+
let OEmbedInfo;
|
|
8
|
+
exports.OEmbedInfo = OEmbedInfo;
|
|
8
9
|
(function (_OEmbedInfo) {
|
|
9
|
-
let Type
|
|
10
|
+
let Type;
|
|
11
|
+
(function (Type) {
|
|
10
12
|
Type["LINK"] = "link";
|
|
11
13
|
Type["PHOTO"] = "photo";
|
|
12
14
|
Type["RICH"] = "rich";
|
|
13
15
|
Type["VIDEO"] = "video";
|
|
14
|
-
|
|
15
|
-
}({});
|
|
16
|
+
})(Type || (Type = {}));
|
|
16
17
|
_OEmbedInfo.Type = Type;
|
|
17
18
|
})(OEmbedInfo || (exports.OEmbedInfo = OEmbedInfo = {}));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export let OEmbedInfo;
|
|
2
2
|
(function (_OEmbedInfo) {
|
|
3
|
-
let Type
|
|
3
|
+
let Type;
|
|
4
|
+
(function (Type) {
|
|
4
5
|
Type["LINK"] = "link";
|
|
5
6
|
Type["PHOTO"] = "photo";
|
|
6
7
|
Type["RICH"] = "rich";
|
|
7
8
|
Type["VIDEO"] = "video";
|
|
8
|
-
|
|
9
|
-
}({});
|
|
9
|
+
})(Type || (Type = {}));
|
|
10
10
|
_OEmbedInfo.Type = Type;
|
|
11
11
|
})(OEmbedInfo || (OEmbedInfo = {}));
|
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.SelectionMode = void 0;
|
|
7
7
|
/**
|
|
8
8
|
* @see https://api.prezly.com/v2/common/schema.json#/definitions/Pagination
|
|
9
|
-
*/
|
|
10
|
-
|
|
9
|
+
*/let SelectionMode;
|
|
10
|
+
exports.SelectionMode = SelectionMode;
|
|
11
|
+
(function (SelectionMode) {
|
|
11
12
|
SelectionMode["ALL"] = "all";
|
|
12
13
|
SelectionMode["IN"] = "in";
|
|
13
14
|
SelectionMode["NOT_IN"] = "not_in";
|
|
14
|
-
|
|
15
|
-
}({});
|
|
15
|
+
})(SelectionMode || (exports.SelectionMode = SelectionMode = {}));
|
|
@@ -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
|
|
5
|
+
export let SelectionMode;
|
|
6
|
+
(function (SelectionMode) {
|
|
6
7
|
SelectionMode["ALL"] = "all";
|
|
7
8
|
SelectionMode["IN"] = "in";
|
|
8
9
|
SelectionMode["NOT_IN"] = "not_in";
|
|
9
|
-
|
|
10
|
-
}({});
|
|
10
|
+
})(SelectionMode || (SelectionMode = {}));
|
|
@@ -8,7 +8,8 @@ exports.Query = void 0;
|
|
|
8
8
|
/**
|
|
9
9
|
* @see https://developers.prezly.com/docs/api/docs/06-prezly-query-language.md
|
|
10
10
|
*/
|
|
11
|
-
let Query
|
|
11
|
+
let Query;
|
|
12
|
+
exports.Query = Query;
|
|
12
13
|
(function (_Query) {
|
|
13
14
|
function stringify(query) {
|
|
14
15
|
if (!query) {
|
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
var _Notification = require("./Notification.cjs");
|
|
7
7
|
Object.keys(_Notification).forEach(function (key) {
|
|
8
8
|
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _Notification[key]) return;
|
|
10
9
|
Object.defineProperty(exports, key, {
|
|
11
10
|
enumerable: true,
|
|
12
11
|
get: function () {
|
|
@@ -17,7 +16,6 @@ Object.keys(_Notification).forEach(function (key) {
|
|
|
17
16
|
var _OEmbedInfo = require("./OEmbedInfo.cjs");
|
|
18
17
|
Object.keys(_OEmbedInfo).forEach(function (key) {
|
|
19
18
|
if (key === "default" || key === "__esModule") return;
|
|
20
|
-
if (key in exports && exports[key] === _OEmbedInfo[key]) return;
|
|
21
19
|
Object.defineProperty(exports, key, {
|
|
22
20
|
enumerable: true,
|
|
23
21
|
get: function () {
|
|
@@ -28,7 +26,6 @@ Object.keys(_OEmbedInfo).forEach(function (key) {
|
|
|
28
26
|
var _Pagination = require("./Pagination.cjs");
|
|
29
27
|
Object.keys(_Pagination).forEach(function (key) {
|
|
30
28
|
if (key === "default" || key === "__esModule") return;
|
|
31
|
-
if (key in exports && exports[key] === _Pagination[key]) return;
|
|
32
29
|
Object.defineProperty(exports, key, {
|
|
33
30
|
enumerable: true,
|
|
34
31
|
get: function () {
|
|
@@ -39,7 +36,6 @@ Object.keys(_Pagination).forEach(function (key) {
|
|
|
39
36
|
var _Query = require("./Query.cjs");
|
|
40
37
|
Object.keys(_Query).forEach(function (key) {
|
|
41
38
|
if (key === "default" || key === "__esModule") return;
|
|
42
|
-
if (key in exports && exports[key] === _Query[key]) return;
|
|
43
39
|
Object.defineProperty(exports, key, {
|
|
44
40
|
enumerable: true,
|
|
45
41
|
get: function () {
|
|
@@ -50,7 +46,6 @@ Object.keys(_Query).forEach(function (key) {
|
|
|
50
46
|
var _Utm = require("./Utm.cjs");
|
|
51
47
|
Object.keys(_Utm).forEach(function (key) {
|
|
52
48
|
if (key === "default" || key === "__esModule") return;
|
|
53
|
-
if (key in exports && exports[key] === _Utm[key]) return;
|
|
54
49
|
Object.defineProperty(exports, key, {
|
|
55
50
|
enumerable: true,
|
|
56
51
|
get: function () {
|
|
@@ -61,7 +56,6 @@ Object.keys(_Utm).forEach(function (key) {
|
|
|
61
56
|
var _Warning = require("./Warning.cjs");
|
|
62
57
|
Object.keys(_Warning).forEach(function (key) {
|
|
63
58
|
if (key === "default" || key === "__esModule") return;
|
|
64
|
-
if (key in exports && exports[key] === _Warning[key]) return;
|
|
65
59
|
Object.defineProperty(exports, key, {
|
|
66
60
|
enumerable: true,
|
|
67
61
|
get: function () {
|