@prezly/sdk 20.0.0 → 20.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/constants.cjs +1 -1
- package/dist/api/constants.js +1 -1
- package/dist/endpoints/Billing/types.cjs +6 -6
- package/dist/endpoints/Billing/types.js +6 -6
- package/dist/endpoints/PricingTables/types.cjs +12 -12
- package/dist/endpoints/PricingTables/types.js +12 -12
- package/dist/endpoints/Subscriptions/types.cjs +3 -3
- package/dist/endpoints/Subscriptions/types.js +3 -3
- 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/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 +6 -6
- package/dist/types/CoverageEntry.js +6 -6
- 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 +3 -3
- package/dist/types/EmailRecipient.js +3 -3
- package/dist/types/JobState.cjs +3 -3
- package/dist/types/JobState.js +3 -3
- package/dist/types/License.cjs +9 -9
- package/dist/types/License.js +9 -9
- package/dist/types/Newsroom.cjs +12 -12
- package/dist/types/Newsroom.js +12 -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 +7 -8
- package/dist/types/NewsroomTheme.js +7 -8
- package/dist/types/NewsroomWebhook.cjs +3 -3
- package/dist/types/NewsroomWebhook.js +3 -3
- package/dist/types/NotificationSubscription.cjs +4 -3
- package/dist/types/NotificationSubscription.d.ts +1 -0
- package/dist/types/NotificationSubscription.js +4 -3
- package/dist/types/Permissions.cjs +3 -3
- package/dist/types/Permissions.js +3 -3
- package/dist/types/Plan.cjs +7 -7
- package/dist/types/Plan.js +8 -8
- 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.js +12 -12
- package/dist/types/User.cjs +6 -6
- package/dist/types/User.js +6 -6
- package/dist/types/UserAccount.d.ts +1 -0
- 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 +1 -1
package/dist/types/Plan.cjs
CHANGED
|
@@ -4,15 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.PlanLevel = exports.ChangeType = void 0;
|
|
7
|
-
let ChangeType = exports.ChangeType =
|
|
8
|
-
/** @deprecated Will be dropped in future */
|
|
9
|
-
(function (ChangeType) {
|
|
7
|
+
let ChangeType = exports.ChangeType = /*#__PURE__*/function (ChangeType) {
|
|
10
8
|
ChangeType["ACTIVATION"] = "activation";
|
|
11
9
|
ChangeType["UPGRADE"] = "upgrade";
|
|
12
10
|
ChangeType["DOWNGRADE"] = "downgrade";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
return ChangeType;
|
|
12
|
+
}({});
|
|
13
|
+
/** @deprecated Will be dropped in future */
|
|
14
|
+
let PlanLevel = exports.PlanLevel = /*#__PURE__*/function (PlanLevel) {
|
|
16
15
|
PlanLevel["BASIC"] = "basic";
|
|
17
16
|
PlanLevel["CORE"] = "core";
|
|
18
17
|
PlanLevel["ENTERPRISE"] = "enterprise";
|
|
@@ -25,4 +24,5 @@ let PlanLevel = exports.PlanLevel = void 0;
|
|
|
25
24
|
PlanLevel["AGENCY_MEDIUM"] = "agency_medium";
|
|
26
25
|
PlanLevel["AGENCY_LARGE"] = "agency_large";
|
|
27
26
|
PlanLevel["AGENCY_HUGE"] = "agency_huge";
|
|
28
|
-
|
|
27
|
+
return PlanLevel;
|
|
28
|
+
}({});
|
package/dist/types/Plan.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
export let ChangeType
|
|
2
|
-
|
|
3
|
-
/** @deprecated Will be dropped in future */
|
|
4
|
-
(function (ChangeType) {
|
|
1
|
+
export let ChangeType = /*#__PURE__*/function (ChangeType) {
|
|
5
2
|
ChangeType["ACTIVATION"] = "activation";
|
|
6
3
|
ChangeType["UPGRADE"] = "upgrade";
|
|
7
4
|
ChangeType["DOWNGRADE"] = "downgrade";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
return ChangeType;
|
|
6
|
+
}({});
|
|
7
|
+
|
|
8
|
+
/** @deprecated Will be dropped in future */
|
|
9
|
+
export let PlanLevel = /*#__PURE__*/function (PlanLevel) {
|
|
11
10
|
PlanLevel["BASIC"] = "basic";
|
|
12
11
|
PlanLevel["CORE"] = "core";
|
|
13
12
|
PlanLevel["ENTERPRISE"] = "enterprise";
|
|
@@ -20,4 +19,5 @@ export let PlanLevel;
|
|
|
20
19
|
PlanLevel["AGENCY_MEDIUM"] = "agency_medium";
|
|
21
20
|
PlanLevel["AGENCY_LARGE"] = "agency_large";
|
|
22
21
|
PlanLevel["AGENCY_HUGE"] = "agency_huge";
|
|
23
|
-
|
|
22
|
+
return PlanLevel;
|
|
23
|
+
}({});
|
|
@@ -6,18 +6,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.PrivacyRequest = void 0;
|
|
7
7
|
let PrivacyRequest = exports.PrivacyRequest = void 0;
|
|
8
8
|
(function (_PrivacyRequest) {
|
|
9
|
-
let Type
|
|
10
|
-
(function (Type) {
|
|
9
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
11
10
|
Type["DELETE"] = "delete";
|
|
12
11
|
Type["EXPORT"] = "export";
|
|
13
12
|
Type["CORRECT"] = "correct";
|
|
14
13
|
Type["OTHER"] = "other";
|
|
15
|
-
|
|
14
|
+
return Type;
|
|
15
|
+
}({});
|
|
16
16
|
_PrivacyRequest.Type = Type;
|
|
17
|
-
let Status
|
|
18
|
-
(function (Status) {
|
|
17
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
19
18
|
Status["UNCONFIRMED"] = "unconfirmed";
|
|
20
19
|
Status["CONFIRMED"] = "confirmed";
|
|
21
|
-
|
|
20
|
+
return Status;
|
|
21
|
+
}({});
|
|
22
22
|
_PrivacyRequest.Status = Status;
|
|
23
23
|
})(PrivacyRequest || (exports.PrivacyRequest = PrivacyRequest = {}));
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export let PrivacyRequest;
|
|
2
2
|
(function (_PrivacyRequest) {
|
|
3
|
-
let Type
|
|
4
|
-
(function (Type) {
|
|
3
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
5
4
|
Type["DELETE"] = "delete";
|
|
6
5
|
Type["EXPORT"] = "export";
|
|
7
6
|
Type["CORRECT"] = "correct";
|
|
8
7
|
Type["OTHER"] = "other";
|
|
9
|
-
|
|
8
|
+
return Type;
|
|
9
|
+
}({});
|
|
10
10
|
_PrivacyRequest.Type = Type;
|
|
11
|
-
let Status
|
|
12
|
-
(function (Status) {
|
|
11
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
13
12
|
Status["UNCONFIRMED"] = "unconfirmed";
|
|
14
13
|
Status["CONFIRMED"] = "confirmed";
|
|
15
|
-
|
|
14
|
+
return Status;
|
|
15
|
+
}({});
|
|
16
16
|
_PrivacyRequest.Status = Status;
|
|
17
17
|
})(PrivacyRequest || (PrivacyRequest = {}));
|
|
@@ -6,10 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.SenderAddress = void 0;
|
|
7
7
|
let SenderAddress = exports.SenderAddress = void 0;
|
|
8
8
|
(function (_SenderAddress) {
|
|
9
|
-
let Type
|
|
10
|
-
(function (Type) {
|
|
9
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
11
10
|
Type["CUSTOM"] = "custom";
|
|
12
11
|
Type["PREZLYMAIL"] = "prezly_mail";
|
|
13
|
-
|
|
12
|
+
return Type;
|
|
13
|
+
}({});
|
|
14
14
|
_SenderAddress.Type = Type;
|
|
15
15
|
})(SenderAddress || (exports.SenderAddress = SenderAddress = {}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export let SenderAddress;
|
|
2
2
|
(function (_SenderAddress) {
|
|
3
|
-
let Type
|
|
4
|
-
(function (Type) {
|
|
3
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
5
4
|
Type["CUSTOM"] = "custom";
|
|
6
5
|
Type["PREZLYMAIL"] = "prezly_mail";
|
|
7
|
-
|
|
6
|
+
return Type;
|
|
7
|
+
}({});
|
|
8
8
|
_SenderAddress.Type = Type;
|
|
9
9
|
})(SenderAddress || (SenderAddress = {}));
|
|
@@ -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,22 +7,22 @@ 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
|
+
return FormatVersion;
|
|
16
|
+
}({});
|
|
17
17
|
_Story.FormatVersion = FormatVersion;
|
|
18
|
-
let Status
|
|
19
|
-
(function (Status) {
|
|
18
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
20
19
|
Status["UNINITIALIZED"] = "uninitialized";
|
|
21
20
|
Status["DRAFT"] = "draft";
|
|
22
21
|
Status["SCHEDULED"] = "scheduled";
|
|
23
22
|
Status["EMBARGO"] = "embargo";
|
|
24
23
|
Status["PUBLISHED"] = "published";
|
|
25
|
-
|
|
24
|
+
return Status;
|
|
25
|
+
}({});
|
|
26
26
|
_Story.Status = Status;
|
|
27
27
|
/**
|
|
28
28
|
* @deprecated Please use `Status` instead.
|
|
@@ -33,20 +33,20 @@ let Story = exports.Story = void 0;
|
|
|
33
33
|
* @deprecated Please use `Status` instead.
|
|
34
34
|
* @see Status
|
|
35
35
|
*/
|
|
36
|
-
let PublicationStatus
|
|
37
|
-
(function (PublicationStatus) {
|
|
36
|
+
let PublicationStatus = /*#__PURE__*/function (PublicationStatus) {
|
|
38
37
|
PublicationStatus["NEW"] = "new";
|
|
39
38
|
PublicationStatus["DRAFT"] = "draft";
|
|
40
39
|
PublicationStatus["PUBLISHED"] = "published";
|
|
41
|
-
|
|
40
|
+
return PublicationStatus;
|
|
41
|
+
}({});
|
|
42
42
|
_Story.PublicationStatus = PublicationStatus;
|
|
43
|
-
let Visibility
|
|
44
|
-
(function (Visibility) {
|
|
43
|
+
let Visibility = /*#__PURE__*/function (Visibility) {
|
|
45
44
|
Visibility["PUBLIC"] = "public";
|
|
46
45
|
Visibility["EMBARGO"] = "embargo";
|
|
47
46
|
Visibility["PRIVATE"] = "private";
|
|
48
47
|
Visibility["CONFIDENTIAL"] = "confidential";
|
|
49
|
-
|
|
48
|
+
return Visibility;
|
|
49
|
+
}({});
|
|
50
50
|
_Story.Visibility = Visibility;
|
|
51
51
|
/*
|
|
52
52
|
* Newsroom status checks
|
package/dist/types/Story.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
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
|
+
return FormatVersion;
|
|
10
|
+
}({});
|
|
11
11
|
_Story.FormatVersion = FormatVersion;
|
|
12
|
-
let Status
|
|
13
|
-
(function (Status) {
|
|
12
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
14
13
|
Status["UNINITIALIZED"] = "uninitialized";
|
|
15
14
|
Status["DRAFT"] = "draft";
|
|
16
15
|
Status["SCHEDULED"] = "scheduled";
|
|
17
16
|
Status["EMBARGO"] = "embargo";
|
|
18
17
|
Status["PUBLISHED"] = "published";
|
|
19
|
-
|
|
18
|
+
return Status;
|
|
19
|
+
}({});
|
|
20
20
|
_Story.Status = Status;
|
|
21
21
|
/**
|
|
22
22
|
* @deprecated Please use `Status` instead.
|
|
@@ -27,20 +27,20 @@ export let Story;
|
|
|
27
27
|
* @deprecated Please use `Status` instead.
|
|
28
28
|
* @see Status
|
|
29
29
|
*/
|
|
30
|
-
let PublicationStatus
|
|
31
|
-
(function (PublicationStatus) {
|
|
30
|
+
let PublicationStatus = /*#__PURE__*/function (PublicationStatus) {
|
|
32
31
|
PublicationStatus["NEW"] = "new";
|
|
33
32
|
PublicationStatus["DRAFT"] = "draft";
|
|
34
33
|
PublicationStatus["PUBLISHED"] = "published";
|
|
35
|
-
|
|
34
|
+
return PublicationStatus;
|
|
35
|
+
}({});
|
|
36
36
|
_Story.PublicationStatus = PublicationStatus;
|
|
37
|
-
let Visibility
|
|
38
|
-
(function (Visibility) {
|
|
37
|
+
let Visibility = /*#__PURE__*/function (Visibility) {
|
|
39
38
|
Visibility["PUBLIC"] = "public";
|
|
40
39
|
Visibility["EMBARGO"] = "embargo";
|
|
41
40
|
Visibility["PRIVATE"] = "private";
|
|
42
41
|
Visibility["CONFIDENTIAL"] = "confidential";
|
|
43
|
-
|
|
42
|
+
return Visibility;
|
|
43
|
+
}({});
|
|
44
44
|
_Story.Visibility = Visibility;
|
|
45
45
|
/*
|
|
46
46
|
* 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
|
+
}({});
|