@prezly/sdk 20.2.0 → 20.4.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/Client.cjs +1 -0
- package/dist/Client.d.ts +2 -2
- package/dist/Client.js +2 -2
- 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/ContactTags/Client.cjs +123 -0
- package/dist/endpoints/ContactTags/Client.d.ts +18 -0
- package/dist/endpoints/ContactTags/Client.js +116 -0
- package/dist/endpoints/ContactTags/index.cjs +27 -0
- package/dist/endpoints/ContactTags/index.d.ts +2 -0
- package/dist/endpoints/ContactTags/index.js +2 -0
- package/dist/endpoints/ContactTags/types.cjs +1 -0
- package/dist/endpoints/ContactTags/types.d.ts +40 -0
- package/dist/endpoints/ContactTags/types.js +1 -0
- package/dist/endpoints/Contacts/Client.cjs +2 -2
- package/dist/endpoints/Contacts/Client.d.ts +7 -10
- package/dist/endpoints/Contacts/Client.js +2 -2
- package/dist/endpoints/NewsroomCategories/types.d.ts +6 -1
- 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/endpoints/index.cjs +3 -1
- package/dist/endpoints/index.d.ts +1 -0
- package/dist/endpoints/index.js +1 -0
- package/dist/http/types.cjs +6 -6
- package/dist/http/types.js +6 -6
- package/dist/routing.cjs +1 -0
- package/dist/routing.d.ts +1 -0
- package/dist/routing.js +1 -0
- 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 +1 -0
- package/dist/types/Category.d.ts +3 -0
- package/dist/types/Category.js +1 -0
- 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 +4 -3
- package/dist/types/ContactTag.cjs +8 -0
- package/dist/types/ContactTag.d.ts +16 -0
- package/dist/types/ContactTag.js +2 -0
- 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 +8 -7
- package/dist/types/NewsroomTheme.js +8 -7
- 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 +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/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 +1 -0
- package/dist/types/index.cjs +11 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/package.json +1 -1
|
@@ -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
|
|
9
|
+
let Type;
|
|
10
|
+
(function (Type) {
|
|
10
11
|
Type["DELETE"] = "delete";
|
|
11
12
|
Type["EXPORT"] = "export";
|
|
12
13
|
Type["CORRECT"] = "correct";
|
|
13
14
|
Type["OTHER"] = "other";
|
|
14
|
-
|
|
15
|
-
}({});
|
|
15
|
+
})(Type || (Type = {}));
|
|
16
16
|
_PrivacyRequest.Type = Type;
|
|
17
|
-
let Status
|
|
17
|
+
let Status;
|
|
18
|
+
(function (Status) {
|
|
18
19
|
Status["UNCONFIRMED"] = "unconfirmed";
|
|
19
20
|
Status["CONFIRMED"] = "confirmed";
|
|
20
|
-
|
|
21
|
-
}({});
|
|
21
|
+
})(Status || (Status = {}));
|
|
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
|
|
3
|
+
let Type;
|
|
4
|
+
(function (Type) {
|
|
4
5
|
Type["DELETE"] = "delete";
|
|
5
6
|
Type["EXPORT"] = "export";
|
|
6
7
|
Type["CORRECT"] = "correct";
|
|
7
8
|
Type["OTHER"] = "other";
|
|
8
|
-
|
|
9
|
-
}({});
|
|
9
|
+
})(Type || (Type = {}));
|
|
10
10
|
_PrivacyRequest.Type = Type;
|
|
11
|
-
let Status
|
|
11
|
+
let Status;
|
|
12
|
+
(function (Status) {
|
|
12
13
|
Status["UNCONFIRMED"] = "unconfirmed";
|
|
13
14
|
Status["CONFIRMED"] = "confirmed";
|
|
14
|
-
|
|
15
|
-
}({});
|
|
15
|
+
})(Status || (Status = {}));
|
|
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
|
|
9
|
+
let Type;
|
|
10
|
+
(function (Type) {
|
|
10
11
|
Type["CUSTOM"] = "custom";
|
|
11
12
|
Type["PREZLYMAIL"] = "prezly_mail";
|
|
12
|
-
|
|
13
|
-
}({});
|
|
13
|
+
})(Type || (Type = {}));
|
|
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
|
|
3
|
+
let Type;
|
|
4
|
+
(function (Type) {
|
|
4
5
|
Type["CUSTOM"] = "custom";
|
|
5
6
|
Type["PREZLYMAIL"] = "prezly_mail";
|
|
6
|
-
|
|
7
|
-
}({});
|
|
7
|
+
})(Type || (Type = {}));
|
|
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
|
|
9
|
+
let VerificationFlowVersion;
|
|
10
|
+
(function (VerificationFlowVersion) {
|
|
10
11
|
VerificationFlowVersion["V1"] = "v1";
|
|
11
12
|
VerificationFlowVersion["V2"] = "v2";
|
|
12
13
|
VerificationFlowVersion["V3"] = "v3";
|
|
13
14
|
VerificationFlowVersion["PREZLYMAIL"] = "prezlymail";
|
|
14
|
-
|
|
15
|
-
}({});
|
|
15
|
+
})(VerificationFlowVersion || (VerificationFlowVersion = {}));
|
|
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
|
|
3
|
+
let VerificationFlowVersion;
|
|
4
|
+
(function (VerificationFlowVersion) {
|
|
4
5
|
VerificationFlowVersion["V1"] = "v1";
|
|
5
6
|
VerificationFlowVersion["V2"] = "v2";
|
|
6
7
|
VerificationFlowVersion["V3"] = "v3";
|
|
7
8
|
VerificationFlowVersion["PREZLYMAIL"] = "prezlymail";
|
|
8
|
-
|
|
9
|
-
}({});
|
|
9
|
+
})(VerificationFlowVersion || (VerificationFlowVersion = {}));
|
|
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
|
|
9
|
+
let Direction;
|
|
10
|
+
(function (Direction) {
|
|
10
11
|
Direction["ASC"] = "asc";
|
|
11
12
|
Direction["DESC"] = "desc";
|
|
12
|
-
|
|
13
|
-
}({});
|
|
13
|
+
})(Direction || (Direction = {}));
|
|
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
|
|
3
|
+
let Direction;
|
|
4
|
+
(function (Direction) {
|
|
4
5
|
Direction["ASC"] = "asc";
|
|
5
6
|
Direction["DESC"] = "desc";
|
|
6
|
-
|
|
7
|
-
}({});
|
|
7
|
+
})(Direction || (Direction = {}));
|
|
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
|
|
10
|
+
let FormatVersion;
|
|
11
|
+
(function (FormatVersion) {
|
|
11
12
|
FormatVersion[FormatVersion["HTML"] = 1] = "HTML";
|
|
12
13
|
FormatVersion[FormatVersion["SLATEJS_V3"] = 3] = "SLATEJS_V3";
|
|
13
14
|
FormatVersion[FormatVersion["SLATEJS_V4"] = 4] = "SLATEJS_V4";
|
|
14
15
|
FormatVersion[FormatVersion["SLATEJS_V5"] = 5] = "SLATEJS_V5";
|
|
15
|
-
|
|
16
|
-
}({});
|
|
16
|
+
})(FormatVersion || (FormatVersion = {}));
|
|
17
17
|
_Story.FormatVersion = FormatVersion;
|
|
18
|
-
let Status
|
|
18
|
+
let Status;
|
|
19
|
+
(function (Status) {
|
|
19
20
|
Status["UNINITIALIZED"] = "uninitialized";
|
|
20
21
|
Status["DRAFT"] = "draft";
|
|
21
22
|
Status["SCHEDULED"] = "scheduled";
|
|
22
23
|
Status["EMBARGO"] = "embargo";
|
|
23
24
|
Status["PUBLISHED"] = "published";
|
|
24
|
-
|
|
25
|
-
}({});
|
|
25
|
+
})(Status || (Status = {}));
|
|
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
|
|
36
|
+
let PublicationStatus;
|
|
37
|
+
(function (PublicationStatus) {
|
|
37
38
|
PublicationStatus["NEW"] = "new";
|
|
38
39
|
PublicationStatus["DRAFT"] = "draft";
|
|
39
40
|
PublicationStatus["PUBLISHED"] = "published";
|
|
40
|
-
|
|
41
|
-
}({});
|
|
41
|
+
})(PublicationStatus || (PublicationStatus = {}));
|
|
42
42
|
_Story.PublicationStatus = PublicationStatus;
|
|
43
|
-
let Visibility
|
|
43
|
+
let Visibility;
|
|
44
|
+
(function (Visibility) {
|
|
44
45
|
Visibility["PUBLIC"] = "public";
|
|
45
46
|
Visibility["EMBARGO"] = "embargo";
|
|
46
47
|
Visibility["PRIVATE"] = "private";
|
|
47
48
|
Visibility["CONFIDENTIAL"] = "confidential";
|
|
48
|
-
|
|
49
|
-
}({});
|
|
49
|
+
})(Visibility || (Visibility = {}));
|
|
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
|
|
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.
|
|
@@ -27,20 +27,20 @@ export let Story;
|
|
|
27
27
|
* @deprecated Please use `Status` instead.
|
|
28
28
|
* @see Status
|
|
29
29
|
*/
|
|
30
|
-
let PublicationStatus
|
|
30
|
+
let PublicationStatus;
|
|
31
|
+
(function (PublicationStatus) {
|
|
31
32
|
PublicationStatus["NEW"] = "new";
|
|
32
33
|
PublicationStatus["DRAFT"] = "draft";
|
|
33
34
|
PublicationStatus["PUBLISHED"] = "published";
|
|
34
|
-
|
|
35
|
-
}({});
|
|
35
|
+
})(PublicationStatus || (PublicationStatus = {}));
|
|
36
36
|
_Story.PublicationStatus = PublicationStatus;
|
|
37
|
-
let Visibility
|
|
37
|
+
let Visibility;
|
|
38
|
+
(function (Visibility) {
|
|
38
39
|
Visibility["PUBLIC"] = "public";
|
|
39
40
|
Visibility["EMBARGO"] = "embargo";
|
|
40
41
|
Visibility["PRIVATE"] = "private";
|
|
41
42
|
Visibility["CONFIDENTIAL"] = "confidential";
|
|
42
|
-
|
|
43
|
-
}({});
|
|
43
|
+
})(Visibility || (Visibility = {}));
|
|
44
44
|
_Story.Visibility = Visibility;
|
|
45
45
|
/*
|
|
46
46
|
* Newsroom status checks
|
package/dist/types/User.cjs
CHANGED
|
@@ -6,14 +6,15 @@ 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
|
|
9
|
+
let SignInFlow;
|
|
10
|
+
(function (SignInFlow) {
|
|
10
11
|
SignInFlow["GOOGLE"] = "google";
|
|
11
12
|
SignInFlow["PASSWORD"] = "password";
|
|
12
13
|
SignInFlow["SSO"] = "sso";
|
|
13
|
-
|
|
14
|
-
}({});
|
|
14
|
+
})(SignInFlow || (SignInFlow = {}));
|
|
15
15
|
_User.SignInFlow = SignInFlow;
|
|
16
|
-
let UseCaseAnswer
|
|
16
|
+
let UseCaseAnswer;
|
|
17
|
+
(function (UseCaseAnswer) {
|
|
17
18
|
UseCaseAnswer["UNKNOWN"] = "unknown";
|
|
18
19
|
UseCaseAnswer["CAMPAIGNS"] = "campaigns";
|
|
19
20
|
UseCaseAnswer["CONTACTS"] = "contacts";
|
|
@@ -21,7 +22,6 @@ let User = exports.User = void 0;
|
|
|
21
22
|
UseCaseAnswer["NEWSROOM"] = "newsroom";
|
|
22
23
|
UseCaseAnswer["COVERAGE"] = "coverage";
|
|
23
24
|
UseCaseAnswer["SKIP"] = "skip";
|
|
24
|
-
|
|
25
|
-
}({});
|
|
25
|
+
})(UseCaseAnswer || (UseCaseAnswer = {}));
|
|
26
26
|
_User.UseCaseAnswer = UseCaseAnswer;
|
|
27
27
|
})(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 = {}));
|
|
@@ -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
|
|
9
|
+
let Style;
|
|
10
|
+
(function (Style) {
|
|
10
11
|
Style["SUCCESS"] = "success";
|
|
11
12
|
Style["INFO"] = "info";
|
|
12
13
|
Style["WARNING"] = "warning";
|
|
13
14
|
Style["DANGER"] = "danger";
|
|
14
|
-
|
|
15
|
-
}({});
|
|
15
|
+
})(Style || (Style = {}));
|
|
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
|
|
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 = {}));
|
|
@@ -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
|
|
9
|
+
let Type;
|
|
10
|
+
(function (Type) {
|
|
10
11
|
Type["LINK"] = "link";
|
|
11
12
|
Type["PHOTO"] = "photo";
|
|
12
13
|
Type["RICH"] = "rich";
|
|
13
14
|
Type["VIDEO"] = "video";
|
|
14
|
-
|
|
15
|
-
}({});
|
|
15
|
+
})(Type || (Type = {}));
|
|
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
|
|
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 = {}));
|
|
@@ -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 =
|
|
10
|
+
let SelectionMode = exports.SelectionMode = void 0;
|
|
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 = {}));
|
package/dist/types/index.cjs
CHANGED
|
@@ -69,6 +69,17 @@ Object.keys(_ContactDuplicateSuggestion).forEach(function (key) {
|
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
});
|
|
72
|
+
var _ContactTag = require("./ContactTag.cjs");
|
|
73
|
+
Object.keys(_ContactTag).forEach(function (key) {
|
|
74
|
+
if (key === "default" || key === "__esModule") return;
|
|
75
|
+
if (key in exports && exports[key] === _ContactTag[key]) return;
|
|
76
|
+
Object.defineProperty(exports, key, {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () {
|
|
79
|
+
return _ContactTag[key];
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
});
|
|
72
83
|
var _ContactsBulkSelector = require("./ContactsBulkSelector.cjs");
|
|
73
84
|
Object.keys(_ContactsBulkSelector).forEach(function (key) {
|
|
74
85
|
if (key === "default" || key === "__esModule") return;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './Campaign';
|
|
|
4
4
|
export * from './Category';
|
|
5
5
|
export * from './Contact';
|
|
6
6
|
export * from './ContactDuplicateSuggestion';
|
|
7
|
+
export * from './ContactTag';
|
|
7
8
|
export * from './ContactsBulkSelector';
|
|
8
9
|
export * from './ContactsExport';
|
|
9
10
|
export * from './ContactsScope';
|
package/dist/types/index.js
CHANGED
|
@@ -5,6 +5,7 @@ export * from "./Campaign.js";
|
|
|
5
5
|
export * from "./Category.js";
|
|
6
6
|
export * from "./Contact.js";
|
|
7
7
|
export * from "./ContactDuplicateSuggestion.js";
|
|
8
|
+
export * from "./ContactTag.js";
|
|
8
9
|
export * from "./ContactsBulkSelector.js";
|
|
9
10
|
export * from "./ContactsExport.js";
|
|
10
11
|
export * from "./ContactsScope.js";
|