@prezly/sdk 23.4.0 → 23.5.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/ContactTagGroups/types.cjs +3 -3
- package/dist/endpoints/ContactTagGroups/types.js +3 -3
- package/dist/endpoints/Newsrooms/types.d.ts +15 -0
- package/dist/endpoints/PricingTables/types.cjs +12 -12
- package/dist/endpoints/PricingTables/types.js +12 -12
- package/dist/endpoints/Stories/Client.d.ts +1 -1
- 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/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 +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 +12 -12
- package/dist/types/License.js +12 -12
- package/dist/types/Newsroom.cjs +15 -12
- package/dist/types/Newsroom.d.ts +27 -1
- package/dist/types/Newsroom.js +15 -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 +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.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 +1 -1
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Value in range 0.0 ... 1.0.
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
4
|
export let ContactDuplicateSuggestion;
|
|
6
5
|
(function (_ContactDuplicateSuggestion) {
|
|
7
|
-
let Status
|
|
8
|
-
(function (Status) {
|
|
6
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
9
7
|
Status["UNSEEN"] = "unseen";
|
|
10
8
|
Status["ACCEPTED"] = "accepted";
|
|
11
9
|
Status["DECLINED"] = "declined";
|
|
12
|
-
|
|
10
|
+
return Status;
|
|
11
|
+
}({});
|
|
13
12
|
_ContactDuplicateSuggestion.Status = Status;
|
|
14
13
|
function isUnseen(arg) {
|
|
15
14
|
if (arg !== null && typeof arg === 'object') {
|
|
@@ -4,5 +4,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.ContactTag = void 0;
|
|
7
|
-
let ContactTag = exports.ContactTag = void 0;
|
|
8
|
-
(function (_ContactTag) {})(ContactTag || (exports.ContactTag = ContactTag = {}));
|
|
7
|
+
let ContactTag = exports.ContactTag = void 0;
|
package/dist/types/ContactTag.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export let ContactTag;
|
|
2
|
-
(function (_ContactTag) {})(ContactTag || (ContactTag = {}));
|
|
1
|
+
export let ContactTag;
|
|
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.ContactsExport = void 0;
|
|
7
7
|
let ContactsExport = exports.ContactsExport = void 0;
|
|
8
8
|
(function (_ContactsExport) {
|
|
9
|
-
let Status
|
|
10
|
-
(function (Status) {
|
|
9
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
11
10
|
Status["NEW"] = "new";
|
|
12
11
|
Status["DONE"] = "done";
|
|
13
12
|
Status["FAILED"] = "failed";
|
|
14
|
-
|
|
13
|
+
return Status;
|
|
14
|
+
}({});
|
|
15
15
|
_ContactsExport.Status = Status;
|
|
16
16
|
})(ContactsExport || (exports.ContactsExport = ContactsExport = {}));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export let ContactsExport;
|
|
2
2
|
(function (_ContactsExport) {
|
|
3
|
-
let Status
|
|
4
|
-
(function (Status) {
|
|
3
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
5
4
|
Status["NEW"] = "new";
|
|
6
5
|
Status["DONE"] = "done";
|
|
7
6
|
Status["FAILED"] = "failed";
|
|
8
|
-
|
|
7
|
+
return Status;
|
|
8
|
+
}({});
|
|
9
9
|
_ContactsExport.Status = Status;
|
|
10
10
|
})(ContactsExport || (ContactsExport = {}));
|
|
@@ -6,13 +6,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.ContactsScope = void 0;
|
|
7
7
|
let ContactsScope = exports.ContactsScope = void 0;
|
|
8
8
|
(function (_ContactsScope) {
|
|
9
|
-
let Type
|
|
10
|
-
(function (Type) {
|
|
9
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
11
10
|
Type["ALL_CONTACTS"] = "scope:contacts";
|
|
12
11
|
Type["CONTACT_EMPLOYEES"] = "scope:contact_employees";
|
|
13
12
|
Type["CONTACT_ORGANISATIONS"] = "scope:contact_organisations";
|
|
14
13
|
Type["CAMPAIGN_RECIPIENTS"] = "scope:campaign_recipients";
|
|
15
14
|
Type["CAMPAIGN_REPORT"] = "scope:campaign_report";
|
|
16
|
-
|
|
15
|
+
return Type;
|
|
16
|
+
}({});
|
|
17
17
|
_ContactsScope.Type = Type;
|
|
18
18
|
})(ContactsScope || (exports.ContactsScope = ContactsScope = {}));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export let ContactsScope;
|
|
2
2
|
(function (_ContactsScope) {
|
|
3
|
-
let Type
|
|
4
|
-
(function (Type) {
|
|
3
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
5
4
|
Type["ALL_CONTACTS"] = "scope:contacts";
|
|
6
5
|
Type["CONTACT_EMPLOYEES"] = "scope:contact_employees";
|
|
7
6
|
Type["CONTACT_ORGANISATIONS"] = "scope:contact_organisations";
|
|
8
7
|
Type["CAMPAIGN_RECIPIENTS"] = "scope:campaign_recipients";
|
|
9
8
|
Type["CAMPAIGN_REPORT"] = "scope:campaign_report";
|
|
10
|
-
|
|
9
|
+
return Type;
|
|
10
|
+
}({});
|
|
11
11
|
_ContactsScope.Type = Type;
|
|
12
12
|
})(ContactsScope || (ContactsScope = {}));
|
|
@@ -6,17 +6,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.CoverageEntry = void 0;
|
|
7
7
|
let CoverageEntry = exports.CoverageEntry = void 0;
|
|
8
8
|
(function (_CoverageEntry) {
|
|
9
|
-
let Type
|
|
10
|
-
(function (Type) {
|
|
9
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
11
10
|
Type["ONLINE"] = "online";
|
|
12
11
|
Type["SOCIAL"] = "social";
|
|
13
12
|
Type["PRINT"] = "print";
|
|
14
13
|
Type["RADIO"] = "radio";
|
|
15
14
|
Type["TELEVISION"] = "television";
|
|
16
|
-
|
|
15
|
+
return Type;
|
|
16
|
+
}({});
|
|
17
17
|
_CoverageEntry.Type = Type;
|
|
18
|
-
let Provider
|
|
19
|
-
(function (Provider) {
|
|
18
|
+
let Provider = /*#__PURE__*/function (Provider) {
|
|
20
19
|
Provider["AMMCO"] = "ammco";
|
|
21
20
|
Provider["AUXIPRESS"] = "auxipress";
|
|
22
21
|
Provider["BELGA"] = "belga";
|
|
@@ -28,13 +27,14 @@ let CoverageEntry = exports.CoverageEntry = void 0;
|
|
|
28
27
|
Provider["MEDIAWEB"] = "mediaweb";
|
|
29
28
|
Provider["MELTWATER"] = "meltwater";
|
|
30
29
|
Provider["OPOINT"] = "opoint";
|
|
31
|
-
|
|
30
|
+
return Provider;
|
|
31
|
+
}({});
|
|
32
32
|
_CoverageEntry.Provider = Provider;
|
|
33
|
-
let Sentiment
|
|
34
|
-
(function (Sentiment) {
|
|
33
|
+
let Sentiment = /*#__PURE__*/function (Sentiment) {
|
|
35
34
|
Sentiment["POSITIVE"] = "positive";
|
|
36
35
|
Sentiment["NEGATIVE"] = "negative";
|
|
37
36
|
Sentiment["NEUTRAL"] = "neutral";
|
|
38
|
-
|
|
37
|
+
return Sentiment;
|
|
38
|
+
}({});
|
|
39
39
|
_CoverageEntry.Sentiment = Sentiment;
|
|
40
40
|
})(CoverageEntry || (exports.CoverageEntry = CoverageEntry = {}));
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
export let CoverageEntry;
|
|
2
2
|
(function (_CoverageEntry) {
|
|
3
|
-
let Type
|
|
4
|
-
(function (Type) {
|
|
3
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
5
4
|
Type["ONLINE"] = "online";
|
|
6
5
|
Type["SOCIAL"] = "social";
|
|
7
6
|
Type["PRINT"] = "print";
|
|
8
7
|
Type["RADIO"] = "radio";
|
|
9
8
|
Type["TELEVISION"] = "television";
|
|
10
|
-
|
|
9
|
+
return Type;
|
|
10
|
+
}({});
|
|
11
11
|
_CoverageEntry.Type = Type;
|
|
12
|
-
let Provider
|
|
13
|
-
(function (Provider) {
|
|
12
|
+
let Provider = /*#__PURE__*/function (Provider) {
|
|
14
13
|
Provider["AMMCO"] = "ammco";
|
|
15
14
|
Provider["AUXIPRESS"] = "auxipress";
|
|
16
15
|
Provider["BELGA"] = "belga";
|
|
@@ -22,13 +21,14 @@ export let CoverageEntry;
|
|
|
22
21
|
Provider["MEDIAWEB"] = "mediaweb";
|
|
23
22
|
Provider["MELTWATER"] = "meltwater";
|
|
24
23
|
Provider["OPOINT"] = "opoint";
|
|
25
|
-
|
|
24
|
+
return Provider;
|
|
25
|
+
}({});
|
|
26
26
|
_CoverageEntry.Provider = Provider;
|
|
27
|
-
let Sentiment
|
|
28
|
-
(function (Sentiment) {
|
|
27
|
+
let Sentiment = /*#__PURE__*/function (Sentiment) {
|
|
29
28
|
Sentiment["POSITIVE"] = "positive";
|
|
30
29
|
Sentiment["NEGATIVE"] = "negative";
|
|
31
30
|
Sentiment["NEUTRAL"] = "neutral";
|
|
32
|
-
|
|
31
|
+
return Sentiment;
|
|
32
|
+
}({});
|
|
33
33
|
_CoverageEntry.Sentiment = Sentiment;
|
|
34
34
|
})(CoverageEntry || (CoverageEntry = {}));
|
|
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.CoverageIntegration = void 0;
|
|
7
7
|
let CoverageIntegration = exports.CoverageIntegration = void 0;
|
|
8
8
|
(function (_CoverageIntegration) {
|
|
9
|
-
let Status
|
|
10
|
-
(function (Status) {
|
|
9
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
11
10
|
Status["ACTIVE"] = "active";
|
|
12
11
|
Status["PAUSED"] = "paused";
|
|
13
12
|
Status["TRIAL"] = "trial";
|
|
14
13
|
Status["DELETED"] = "deleted";
|
|
15
|
-
|
|
14
|
+
return Status;
|
|
15
|
+
}({});
|
|
16
16
|
_CoverageIntegration.Status = Status;
|
|
17
17
|
})(CoverageIntegration || (exports.CoverageIntegration = CoverageIntegration = {}));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export let CoverageIntegration;
|
|
2
2
|
(function (_CoverageIntegration) {
|
|
3
|
-
let Status
|
|
4
|
-
(function (Status) {
|
|
3
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
5
4
|
Status["ACTIVE"] = "active";
|
|
6
5
|
Status["PAUSED"] = "paused";
|
|
7
6
|
Status["TRIAL"] = "trial";
|
|
8
7
|
Status["DELETED"] = "deleted";
|
|
9
|
-
|
|
8
|
+
return Status;
|
|
9
|
+
}({});
|
|
10
10
|
_CoverageIntegration.Status = Status;
|
|
11
11
|
})(CoverageIntegration || (CoverageIntegration = {}));
|
|
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.CoverageIntegrationRun = void 0;
|
|
7
7
|
let CoverageIntegrationRun = exports.CoverageIntegrationRun = void 0;
|
|
8
8
|
(function (_CoverageIntegrationRun) {
|
|
9
|
-
let Status
|
|
10
|
-
(function (Status) {
|
|
9
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
11
10
|
Status["DONE"] = "done";
|
|
12
11
|
Status["ERROR"] = "error";
|
|
13
12
|
Status["RUNNING"] = "running";
|
|
14
|
-
|
|
13
|
+
return Status;
|
|
14
|
+
}({});
|
|
15
15
|
_CoverageIntegrationRun.Status = Status;
|
|
16
16
|
})(CoverageIntegrationRun || (exports.CoverageIntegrationRun = CoverageIntegrationRun = {}));
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export let CoverageIntegrationRun;
|
|
2
2
|
(function (_CoverageIntegrationRun) {
|
|
3
|
-
let Status
|
|
4
|
-
(function (Status) {
|
|
3
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
5
4
|
Status["DONE"] = "done";
|
|
6
5
|
Status["ERROR"] = "error";
|
|
7
6
|
Status["RUNNING"] = "running";
|
|
8
|
-
|
|
7
|
+
return Status;
|
|
8
|
+
}({});
|
|
9
9
|
_CoverageIntegrationRun.Status = Status;
|
|
10
10
|
})(CoverageIntegrationRun || (CoverageIntegrationRun = {}));
|
package/dist/types/Culture.cjs
CHANGED
|
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Culture = void 0;
|
|
7
7
|
let Culture = exports.Culture = void 0;
|
|
8
8
|
(function (_Culture) {
|
|
9
|
-
let TextDirection
|
|
10
|
-
(function (TextDirection) {
|
|
9
|
+
let TextDirection = /*#__PURE__*/function (TextDirection) {
|
|
11
10
|
TextDirection["LTR"] = "ltr";
|
|
12
11
|
TextDirection["RTL"] = "rtl";
|
|
13
|
-
|
|
12
|
+
return TextDirection;
|
|
13
|
+
}({});
|
|
14
14
|
_Culture.TextDirection = TextDirection;
|
|
15
15
|
/**
|
|
16
16
|
* Primary locale code used everywhere in the Prezly app.
|
package/dist/types/Culture.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export let Culture;
|
|
2
2
|
(function (_Culture) {
|
|
3
|
-
let TextDirection
|
|
4
|
-
(function (TextDirection) {
|
|
3
|
+
let TextDirection = /*#__PURE__*/function (TextDirection) {
|
|
5
4
|
TextDirection["LTR"] = "ltr";
|
|
6
5
|
TextDirection["RTL"] = "rtl";
|
|
7
|
-
|
|
6
|
+
return TextDirection;
|
|
7
|
+
}({});
|
|
8
8
|
_Culture.TextDirection = TextDirection;
|
|
9
9
|
/**
|
|
10
10
|
* Primary locale code used everywhere in the Prezly app.
|
package/dist/types/Currency.cjs
CHANGED
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.Currency = void 0;
|
|
7
|
-
let Currency = exports.Currency =
|
|
8
|
-
(function (Currency) {
|
|
7
|
+
let Currency = exports.Currency = /*#__PURE__*/function (Currency) {
|
|
9
8
|
Currency["EUR"] = "eur";
|
|
10
9
|
Currency["USD"] = "usd";
|
|
11
10
|
Currency["GBP"] = "gbp";
|
|
12
11
|
Currency["AUD"] = "aud";
|
|
13
|
-
|
|
12
|
+
return Currency;
|
|
13
|
+
}({});
|
package/dist/types/Currency.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export let Currency
|
|
2
|
-
(function (Currency) {
|
|
1
|
+
export let Currency = /*#__PURE__*/function (Currency) {
|
|
3
2
|
Currency["EUR"] = "eur";
|
|
4
3
|
Currency["USD"] = "usd";
|
|
5
4
|
Currency["GBP"] = "gbp";
|
|
6
5
|
Currency["AUD"] = "aud";
|
|
7
|
-
|
|
6
|
+
return Currency;
|
|
7
|
+
}({});
|
|
@@ -6,12 +6,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.EmailRecipient = void 0;
|
|
7
7
|
let EmailRecipient = exports.EmailRecipient = void 0;
|
|
8
8
|
(function (_EmailRecipient) {
|
|
9
|
-
let EmailAddressStatus
|
|
10
|
-
(function (EmailAddressStatus) {
|
|
9
|
+
let EmailAddressStatus = /*#__PURE__*/function (EmailAddressStatus) {
|
|
11
10
|
EmailAddressStatus["OK"] = "ok";
|
|
12
11
|
EmailAddressStatus["BOUNCED"] = "bounced";
|
|
13
12
|
EmailAddressStatus["UNSUBSCRIBED"] = "unsubscribed";
|
|
14
13
|
EmailAddressStatus["UNSUBSCRIBED_FROM_ALL_COMMUNICATIONS"] = "unsubscribed_from_all_communications";
|
|
15
|
-
|
|
14
|
+
return EmailAddressStatus;
|
|
15
|
+
}({});
|
|
16
16
|
_EmailRecipient.EmailAddressStatus = EmailAddressStatus;
|
|
17
17
|
})(EmailRecipient || (exports.EmailRecipient = EmailRecipient = {}));
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export let EmailRecipient;
|
|
2
2
|
(function (_EmailRecipient) {
|
|
3
|
-
let EmailAddressStatus
|
|
4
|
-
(function (EmailAddressStatus) {
|
|
3
|
+
let EmailAddressStatus = /*#__PURE__*/function (EmailAddressStatus) {
|
|
5
4
|
EmailAddressStatus["OK"] = "ok";
|
|
6
5
|
EmailAddressStatus["BOUNCED"] = "bounced";
|
|
7
6
|
EmailAddressStatus["UNSUBSCRIBED"] = "unsubscribed";
|
|
8
7
|
EmailAddressStatus["UNSUBSCRIBED_FROM_ALL_COMMUNICATIONS"] = "unsubscribed_from_all_communications";
|
|
9
|
-
|
|
8
|
+
return EmailAddressStatus;
|
|
9
|
+
}({});
|
|
10
10
|
_EmailRecipient.EmailAddressStatus = EmailAddressStatus;
|
|
11
11
|
})(EmailRecipient || (EmailRecipient = {}));
|
package/dist/types/JobState.cjs
CHANGED
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.JobStatus = void 0;
|
|
7
|
-
let JobStatus = exports.JobStatus =
|
|
8
|
-
(function (JobStatus) {
|
|
7
|
+
let JobStatus = exports.JobStatus = /*#__PURE__*/function (JobStatus) {
|
|
9
8
|
JobStatus["PENDING"] = "pending";
|
|
10
9
|
JobStatus["RESOLVED"] = "resolved";
|
|
11
10
|
JobStatus["REJECTED"] = "rejected";
|
|
12
|
-
|
|
11
|
+
return JobStatus;
|
|
12
|
+
}({});
|
package/dist/types/JobState.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export let JobStatus
|
|
2
|
-
(function (JobStatus) {
|
|
1
|
+
export let JobStatus = /*#__PURE__*/function (JobStatus) {
|
|
3
2
|
JobStatus["PENDING"] = "pending";
|
|
4
3
|
JobStatus["RESOLVED"] = "resolved";
|
|
5
4
|
JobStatus["REJECTED"] = "rejected";
|
|
6
|
-
|
|
5
|
+
return JobStatus;
|
|
6
|
+
}({});
|
package/dist/types/License.cjs
CHANGED
|
@@ -6,17 +6,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.License = void 0;
|
|
7
7
|
let License = exports.License = void 0;
|
|
8
8
|
(function (_License) {
|
|
9
|
-
let Type
|
|
10
|
-
(function (Type) {
|
|
9
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
11
10
|
Type["FAVOUR"] = "favour";
|
|
12
11
|
Type["FREE"] = "free";
|
|
13
12
|
Type["PAID_AUTO"] = "paid_auto";
|
|
14
13
|
Type["PAID_MANUAL"] = "paid_manual";
|
|
15
14
|
Type["TRIAL"] = "trial";
|
|
16
|
-
|
|
15
|
+
return Type;
|
|
16
|
+
}({});
|
|
17
17
|
_License.Type = Type;
|
|
18
|
-
let Status
|
|
19
|
-
(function (Status) {
|
|
18
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
20
19
|
Status["TRIAL"] = "trial";
|
|
21
20
|
Status["ACTIVE"] = "active";
|
|
22
21
|
Status["PAST_DUE"] = "past_due";
|
|
@@ -25,21 +24,22 @@ let License = exports.License = void 0;
|
|
|
25
24
|
Status["INCOMPLETE"] = "incomplete";
|
|
26
25
|
Status["CANCELED"] = "canceled";
|
|
27
26
|
Status["UNPAID"] = "unpaid";
|
|
28
|
-
|
|
27
|
+
return Status;
|
|
28
|
+
}({});
|
|
29
29
|
_License.Status = Status;
|
|
30
|
-
let SubscriptionStatus
|
|
31
|
-
(function (SubscriptionStatus) {
|
|
30
|
+
let SubscriptionStatus = /*#__PURE__*/function (SubscriptionStatus) {
|
|
32
31
|
SubscriptionStatus["TRIALING"] = "trialing";
|
|
33
32
|
SubscriptionStatus["EXPIRED"] = "expired";
|
|
34
33
|
SubscriptionStatus["ACTIVE"] = "active";
|
|
35
34
|
SubscriptionStatus["CANCELED"] = "canceled";
|
|
36
|
-
|
|
35
|
+
return SubscriptionStatus;
|
|
36
|
+
}({});
|
|
37
37
|
_License.SubscriptionStatus = SubscriptionStatus;
|
|
38
|
-
let CompanyType
|
|
39
|
-
(function (CompanyType) {
|
|
38
|
+
let CompanyType = /*#__PURE__*/function (CompanyType) {
|
|
40
39
|
CompanyType["BRAND"] = "brand";
|
|
41
40
|
CompanyType["AGENCY"] = "agency";
|
|
42
41
|
CompanyType["INTERNAL"] = "internal";
|
|
43
|
-
|
|
42
|
+
return CompanyType;
|
|
43
|
+
}({});
|
|
44
44
|
_License.CompanyType = CompanyType;
|
|
45
45
|
})(License || (exports.License = License = {}));
|
package/dist/types/License.js
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
export let License;
|
|
2
2
|
(function (_License) {
|
|
3
|
-
let Type
|
|
4
|
-
(function (Type) {
|
|
3
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
5
4
|
Type["FAVOUR"] = "favour";
|
|
6
5
|
Type["FREE"] = "free";
|
|
7
6
|
Type["PAID_AUTO"] = "paid_auto";
|
|
8
7
|
Type["PAID_MANUAL"] = "paid_manual";
|
|
9
8
|
Type["TRIAL"] = "trial";
|
|
10
|
-
|
|
9
|
+
return Type;
|
|
10
|
+
}({});
|
|
11
11
|
_License.Type = Type;
|
|
12
|
-
let Status
|
|
13
|
-
(function (Status) {
|
|
12
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
14
13
|
Status["TRIAL"] = "trial";
|
|
15
14
|
Status["ACTIVE"] = "active";
|
|
16
15
|
Status["PAST_DUE"] = "past_due";
|
|
@@ -19,21 +18,22 @@ export let License;
|
|
|
19
18
|
Status["INCOMPLETE"] = "incomplete";
|
|
20
19
|
Status["CANCELED"] = "canceled";
|
|
21
20
|
Status["UNPAID"] = "unpaid";
|
|
22
|
-
|
|
21
|
+
return Status;
|
|
22
|
+
}({});
|
|
23
23
|
_License.Status = Status;
|
|
24
|
-
let SubscriptionStatus
|
|
25
|
-
(function (SubscriptionStatus) {
|
|
24
|
+
let SubscriptionStatus = /*#__PURE__*/function (SubscriptionStatus) {
|
|
26
25
|
SubscriptionStatus["TRIALING"] = "trialing";
|
|
27
26
|
SubscriptionStatus["EXPIRED"] = "expired";
|
|
28
27
|
SubscriptionStatus["ACTIVE"] = "active";
|
|
29
28
|
SubscriptionStatus["CANCELED"] = "canceled";
|
|
30
|
-
|
|
29
|
+
return SubscriptionStatus;
|
|
30
|
+
}({});
|
|
31
31
|
_License.SubscriptionStatus = SubscriptionStatus;
|
|
32
|
-
let CompanyType
|
|
33
|
-
(function (CompanyType) {
|
|
32
|
+
let CompanyType = /*#__PURE__*/function (CompanyType) {
|
|
34
33
|
CompanyType["BRAND"] = "brand";
|
|
35
34
|
CompanyType["AGENCY"] = "agency";
|
|
36
35
|
CompanyType["INTERNAL"] = "internal";
|
|
37
|
-
|
|
36
|
+
return CompanyType;
|
|
37
|
+
}({});
|
|
38
38
|
_License.CompanyType = CompanyType;
|
|
39
39
|
})(License || (License = {}));
|
package/dist/types/Newsroom.cjs
CHANGED
|
@@ -6,32 +6,35 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.Newsroom = void 0;
|
|
7
7
|
let Newsroom = exports.Newsroom = void 0;
|
|
8
8
|
(function (_Newsroom) {
|
|
9
|
-
let Status
|
|
10
|
-
(function (Status) {
|
|
9
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
11
10
|
Status["ACTIVE"] = "active";
|
|
12
11
|
Status["INACTIVE"] = "inactive";
|
|
13
12
|
Status["ARCHIVED"] = "archived";
|
|
14
|
-
|
|
13
|
+
return Status;
|
|
14
|
+
}({});
|
|
15
15
|
_Newsroom.Status = Status;
|
|
16
|
-
let EmailBrandingMode
|
|
17
|
-
(function (EmailBrandingMode) {
|
|
16
|
+
let EmailBrandingMode = /*#__PURE__*/function (EmailBrandingMode) {
|
|
18
17
|
EmailBrandingMode["DEFAULT"] = "default";
|
|
19
18
|
EmailBrandingMode["CUSTOM"] = "custom";
|
|
20
|
-
|
|
19
|
+
return EmailBrandingMode;
|
|
20
|
+
}({});
|
|
21
21
|
_Newsroom.EmailBrandingMode = EmailBrandingMode;
|
|
22
|
-
let TrackingPolicy
|
|
23
|
-
(function (TrackingPolicy) {
|
|
22
|
+
let TrackingPolicy = /*#__PURE__*/function (TrackingPolicy) {
|
|
24
23
|
TrackingPolicy["DEFAULT"] = "default";
|
|
25
24
|
TrackingPolicy["DISABLED"] = "disabled";
|
|
26
25
|
TrackingPolicy["CONSENT_TO_IDENTIFY"] = "consent-to-identify";
|
|
27
|
-
|
|
26
|
+
TrackingPolicy["STRICT"] = "strict";
|
|
27
|
+
TrackingPolicy["NORMAL"] = "normal";
|
|
28
|
+
TrackingPolicy["LENIENT"] = "lenient";
|
|
29
|
+
return TrackingPolicy;
|
|
30
|
+
}({});
|
|
28
31
|
_Newsroom.TrackingPolicy = TrackingPolicy;
|
|
29
|
-
let EmailLogoAlignment
|
|
30
|
-
(function (EmailLogoAlignment) {
|
|
32
|
+
let EmailLogoAlignment = /*#__PURE__*/function (EmailLogoAlignment) {
|
|
31
33
|
EmailLogoAlignment["LEFT"] = "left";
|
|
32
34
|
EmailLogoAlignment["CENTER"] = "center";
|
|
33
35
|
EmailLogoAlignment["RIGHT"] = "right";
|
|
34
|
-
|
|
36
|
+
return EmailLogoAlignment;
|
|
37
|
+
}({});
|
|
35
38
|
_Newsroom.EmailLogoAlignment = EmailLogoAlignment;
|
|
36
39
|
/*
|
|
37
40
|
* Status checks
|
package/dist/types/Newsroom.d.ts
CHANGED
|
@@ -84,8 +84,25 @@ export interface Newsroom extends NewsroomRef {
|
|
|
84
84
|
email_branding_mode: Newsroom.EmailBrandingMode;
|
|
85
85
|
email_branding: Newsroom.EmailBranding;
|
|
86
86
|
is_privacy_portal_enabled: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* @deprecated Please use `policies.privacy_policy.link` instead.
|
|
89
|
+
*/
|
|
87
90
|
custom_privacy_policy_link: string | null;
|
|
88
91
|
custom_data_request_link: string | null;
|
|
92
|
+
policies: {
|
|
93
|
+
privacy_policy: {
|
|
94
|
+
link: string;
|
|
95
|
+
} | {
|
|
96
|
+
content: string;
|
|
97
|
+
origin: 'default' | 'custom';
|
|
98
|
+
};
|
|
99
|
+
cookie_policy: {
|
|
100
|
+
link: string;
|
|
101
|
+
} | {
|
|
102
|
+
content: string;
|
|
103
|
+
origin: 'default' | 'custom';
|
|
104
|
+
};
|
|
105
|
+
};
|
|
89
106
|
tracking_policy: Newsroom.TrackingPolicy;
|
|
90
107
|
onetrust_cookie_consent: {
|
|
91
108
|
is_enabled: boolean;
|
|
@@ -136,9 +153,18 @@ export declare namespace Newsroom {
|
|
|
136
153
|
CUSTOM = "custom"
|
|
137
154
|
}
|
|
138
155
|
enum TrackingPolicy {
|
|
156
|
+
/**
|
|
157
|
+
* @deprecated Please use `NORMAL` instead.
|
|
158
|
+
*/
|
|
139
159
|
DEFAULT = "default",
|
|
140
160
|
DISABLED = "disabled",
|
|
141
|
-
|
|
161
|
+
/**
|
|
162
|
+
* @deprecated Please use `STRICT` instead.
|
|
163
|
+
*/
|
|
164
|
+
CONSENT_TO_IDENTIFY = "consent-to-identify",
|
|
165
|
+
STRICT = "strict",
|
|
166
|
+
NORMAL = "normal",
|
|
167
|
+
LENIENT = "lenient"
|
|
142
168
|
}
|
|
143
169
|
enum EmailLogoAlignment {
|
|
144
170
|
LEFT = "left",
|
package/dist/types/Newsroom.js
CHANGED
|
@@ -1,31 +1,34 @@
|
|
|
1
1
|
export let Newsroom;
|
|
2
2
|
(function (_Newsroom) {
|
|
3
|
-
let Status
|
|
4
|
-
(function (Status) {
|
|
3
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
5
4
|
Status["ACTIVE"] = "active";
|
|
6
5
|
Status["INACTIVE"] = "inactive";
|
|
7
6
|
Status["ARCHIVED"] = "archived";
|
|
8
|
-
|
|
7
|
+
return Status;
|
|
8
|
+
}({});
|
|
9
9
|
_Newsroom.Status = Status;
|
|
10
|
-
let EmailBrandingMode
|
|
11
|
-
(function (EmailBrandingMode) {
|
|
10
|
+
let EmailBrandingMode = /*#__PURE__*/function (EmailBrandingMode) {
|
|
12
11
|
EmailBrandingMode["DEFAULT"] = "default";
|
|
13
12
|
EmailBrandingMode["CUSTOM"] = "custom";
|
|
14
|
-
|
|
13
|
+
return EmailBrandingMode;
|
|
14
|
+
}({});
|
|
15
15
|
_Newsroom.EmailBrandingMode = EmailBrandingMode;
|
|
16
|
-
let TrackingPolicy
|
|
17
|
-
(function (TrackingPolicy) {
|
|
16
|
+
let TrackingPolicy = /*#__PURE__*/function (TrackingPolicy) {
|
|
18
17
|
TrackingPolicy["DEFAULT"] = "default";
|
|
19
18
|
TrackingPolicy["DISABLED"] = "disabled";
|
|
20
19
|
TrackingPolicy["CONSENT_TO_IDENTIFY"] = "consent-to-identify";
|
|
21
|
-
|
|
20
|
+
TrackingPolicy["STRICT"] = "strict";
|
|
21
|
+
TrackingPolicy["NORMAL"] = "normal";
|
|
22
|
+
TrackingPolicy["LENIENT"] = "lenient";
|
|
23
|
+
return TrackingPolicy;
|
|
24
|
+
}({});
|
|
22
25
|
_Newsroom.TrackingPolicy = TrackingPolicy;
|
|
23
|
-
let EmailLogoAlignment
|
|
24
|
-
(function (EmailLogoAlignment) {
|
|
26
|
+
let EmailLogoAlignment = /*#__PURE__*/function (EmailLogoAlignment) {
|
|
25
27
|
EmailLogoAlignment["LEFT"] = "left";
|
|
26
28
|
EmailLogoAlignment["CENTER"] = "center";
|
|
27
29
|
EmailLogoAlignment["RIGHT"] = "right";
|
|
28
|
-
|
|
30
|
+
return EmailLogoAlignment;
|
|
31
|
+
}({});
|
|
29
32
|
_Newsroom.EmailLogoAlignment = EmailLogoAlignment;
|
|
30
33
|
/*
|
|
31
34
|
* Status checks
|
|
@@ -6,18 +6,18 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.NewsroomDomain = void 0;
|
|
7
7
|
let NewsroomDomain = exports.NewsroomDomain = void 0;
|
|
8
8
|
(function (_NewsroomDomain) {
|
|
9
|
-
let Type
|
|
10
|
-
(function (Type) {
|
|
9
|
+
let Type = /*#__PURE__*/function (Type) {
|
|
11
10
|
Type["PREZLY"] = "prezly";
|
|
12
11
|
Type["CUSTOM"] = "custom";
|
|
13
12
|
Type["REVERSE_PROXY"] = "reverse_proxy";
|
|
14
|
-
|
|
13
|
+
return Type;
|
|
14
|
+
}({});
|
|
15
15
|
_NewsroomDomain.Type = Type;
|
|
16
|
-
let Status
|
|
17
|
-
(function (Status) {
|
|
16
|
+
let Status = /*#__PURE__*/function (Status) {
|
|
18
17
|
Status["ACTIVE"] = "active";
|
|
19
18
|
Status["INACTIVE"] = "inactive";
|
|
20
19
|
Status["REDIRECT"] = "redirect";
|
|
21
|
-
|
|
20
|
+
return Status;
|
|
21
|
+
}({});
|
|
22
22
|
_NewsroomDomain.Status = Status;
|
|
23
23
|
})(NewsroomDomain || (exports.NewsroomDomain = NewsroomDomain = {}));
|