@prezly/sdk 25.1.0 → 25.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/ApiClient.d.ts +4 -4
- package/dist/api/DeferredJobsApiClient.d.ts +4 -4
- package/dist/api/constants.cjs +1 -1
- package/dist/api/constants.js +1 -1
- package/dist/endpoints/Accounts/Client.d.ts +1 -1
- package/dist/endpoints/Billing/types.cjs +6 -6
- package/dist/endpoints/Billing/types.js +6 -6
- package/dist/endpoints/CampaignRecipients/Client.d.ts +1 -1
- package/dist/endpoints/Campaigns/Client.d.ts +8 -8
- package/dist/endpoints/ContactTagGroups/types.cjs +3 -3
- package/dist/endpoints/ContactTagGroups/types.js +3 -3
- package/dist/endpoints/ContactTags/Client.d.ts +4 -4
- package/dist/endpoints/Contacts/Client.d.ts +6 -6
- package/dist/endpoints/ContactsExports/Client.d.ts +2 -2
- package/dist/endpoints/CoverageIntegrations/Client.d.ts +3 -3
- package/dist/endpoints/NewsroomCategories/Client.d.ts +3 -3
- package/dist/endpoints/NewsroomGalleries/Client.d.ts +1 -1
- package/dist/endpoints/NewsroomLanguages/Client.d.ts +10 -10
- package/dist/endpoints/NewsroomPrivacyRequests/Client.d.ts +2 -2
- package/dist/endpoints/NewsroomThemes/Client.d.ts +1 -1
- package/dist/endpoints/NewsroomWebhooks/Client.d.ts +3 -3
- package/dist/endpoints/PricingTables/types.cjs +12 -12
- package/dist/endpoints/PricingTables/types.js +12 -12
- package/dist/endpoints/SenderAddresses/Client.d.ts +3 -3
- package/dist/endpoints/Stories/Client.d.ts +102 -102
- package/dist/endpoints/Stories/types.d.ts +2 -4
- package/dist/endpoints/Subscriptions/Client.d.ts +2 -2
- package/dist/endpoints/Subscriptions/types.cjs +3 -3
- package/dist/endpoints/Subscriptions/types.js +3 -3
- package/dist/endpoints/index.cjs +1 -1
- package/dist/http/lib.cjs +1 -1
- package/dist/http/types.cjs +6 -6
- package/dist/http/types.js +6 -6
- package/dist/types/BillingCycle.cjs +3 -3
- package/dist/types/BillingCycle.js +3 -3
- package/dist/types/Campaign.cjs +18 -18
- package/dist/types/Campaign.js +18 -18
- package/dist/types/Category.cjs +1 -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 +2 -1
- package/dist/types/ContactTag.d.ts +1 -2
- package/dist/types/ContactTag.js +2 -1
- package/dist/types/ContactsExport.cjs +3 -3
- package/dist/types/ContactsExport.d.ts +1 -2
- 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.d.ts +1 -2
- package/dist/types/CoverageIntegration.js +3 -3
- package/dist/types/CoverageIntegrationRun.cjs +3 -3
- package/dist/types/CoverageIntegrationRun.d.ts +1 -2
- package/dist/types/CoverageIntegrationRun.js +3 -3
- package/dist/types/Culture.cjs +3 -3
- package/dist/types/Culture.js +3 -3
- package/dist/types/Currency.cjs +3 -3
- package/dist/types/Currency.js +3 -3
- package/dist/types/EmailRecipient.cjs +6 -6
- package/dist/types/EmailRecipient.js +6 -6
- package/dist/types/JobState.cjs +3 -3
- package/dist/types/JobState.js +3 -3
- package/dist/types/License.cjs +12 -12
- package/dist/types/License.js +12 -12
- package/dist/types/Newsroom.cjs +12 -12
- package/dist/types/Newsroom.d.ts +3 -1
- 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 +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/Iso8601DateTime.cjs +1 -0
- package/dist/types/common/Iso8601DateTime.d.ts +1 -0
- package/dist/types/common/Iso8601DateTime.js +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 +1 -0
- package/dist/types/common/index.cjs +11 -0
- package/dist/types/common/index.d.ts +1 -0
- package/dist/types/common/index.js +1 -0
- package/package.json +1 -1
package/dist/types/Contact.js
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
export let Contact;
|
|
2
2
|
(function (_Contact) {
|
|
3
|
-
let Type
|
|
3
|
+
let Type;
|
|
4
|
+
(function (Type) {
|
|
4
5
|
Type["PERSON"] = "person";
|
|
5
6
|
Type["ORGANISATION"] = "organisation";
|
|
6
|
-
|
|
7
|
-
}({});
|
|
7
|
+
})(Type || (Type = {}));
|
|
8
8
|
_Contact.Type = Type;
|
|
9
|
-
let Gender
|
|
9
|
+
let Gender;
|
|
10
|
+
(function (Gender) {
|
|
10
11
|
Gender["MALE"] = "male";
|
|
11
12
|
Gender["FEMALE"] = "female";
|
|
12
13
|
Gender["UNSPECIFIED"] = "unspecified";
|
|
13
|
-
|
|
14
|
-
}({});
|
|
14
|
+
})(Gender || (Gender = {}));
|
|
15
15
|
_Contact.Gender = Gender;
|
|
16
|
-
let Periodicity
|
|
16
|
+
let Periodicity;
|
|
17
|
+
(function (Periodicity) {
|
|
17
18
|
Periodicity["DAILY"] = "daily";
|
|
18
19
|
Periodicity["WEEKDAYS"] = "weekdays";
|
|
19
20
|
Periodicity["WEEKLY"] = "weekly";
|
|
@@ -24,10 +25,10 @@ export let Contact;
|
|
|
24
25
|
Periodicity["ANNUALLY"] = "annually";
|
|
25
26
|
Periodicity["BI_ANUALLY"] = "bi-annually";
|
|
26
27
|
Periodicity["SEMI_ANNUALLY"] = "semi-annually";
|
|
27
|
-
|
|
28
|
-
}({});
|
|
28
|
+
})(Periodicity || (Periodicity = {}));
|
|
29
29
|
_Contact.Periodicity = Periodicity;
|
|
30
|
-
let MediumType
|
|
30
|
+
let MediumType;
|
|
31
|
+
(function (MediumType) {
|
|
31
32
|
MediumType["WIRE"] = "wire";
|
|
32
33
|
MediumType["PRINT"] = "print";
|
|
33
34
|
MediumType["RADIO"] = "radio";
|
|
@@ -45,10 +46,10 @@ export let Contact;
|
|
|
45
46
|
MediumType["PODCAST"] = "podcast";
|
|
46
47
|
MediumType["NEWSLETTER"] = "newsletter";
|
|
47
48
|
MediumType["NEWS_SITE"] = "news website";
|
|
48
|
-
|
|
49
|
-
}({});
|
|
49
|
+
})(MediumType || (MediumType = {}));
|
|
50
50
|
_Contact.MediumType = MediumType;
|
|
51
|
-
let SocialNetwork
|
|
51
|
+
let SocialNetwork;
|
|
52
|
+
(function (SocialNetwork) {
|
|
52
53
|
SocialNetwork["DISCORD"] = "discord";
|
|
53
54
|
SocialNetwork["FACEBOOK"] = "facebook";
|
|
54
55
|
SocialNetwork["INSTAGRAM"] = "instagram";
|
|
@@ -60,16 +61,15 @@ export let Contact;
|
|
|
60
61
|
SocialNetwork["TWITCH"] = "twitch";
|
|
61
62
|
SocialNetwork["TWITTER"] = "twitter";
|
|
62
63
|
SocialNetwork["YOUTUBE"] = "youtube";
|
|
63
|
-
|
|
64
|
-
}({});
|
|
64
|
+
})(SocialNetwork || (SocialNetwork = {}));
|
|
65
65
|
_Contact.SocialNetwork = SocialNetwork;
|
|
66
66
|
let PhoneNumber;
|
|
67
67
|
(function (_PhoneNumber) {
|
|
68
|
-
let Type
|
|
68
|
+
let Type;
|
|
69
|
+
(function (Type) {
|
|
69
70
|
Type["TELEPHONE"] = "tel";
|
|
70
71
|
Type["CELLPHONE"] = "cell";
|
|
71
|
-
|
|
72
|
-
}({});
|
|
72
|
+
})(Type || (Type = {}));
|
|
73
73
|
_PhoneNumber.Type = Type;
|
|
74
74
|
})(PhoneNumber || (PhoneNumber = _Contact.PhoneNumber || (_Contact.PhoneNumber = {})));
|
|
75
75
|
function isPerson(arg) {
|
|
@@ -9,12 +9,12 @@ exports.ContactDuplicateSuggestion = void 0;
|
|
|
9
9
|
*/
|
|
10
10
|
let ContactDuplicateSuggestion = exports.ContactDuplicateSuggestion = void 0;
|
|
11
11
|
(function (_ContactDuplicateSuggestion) {
|
|
12
|
-
let Status
|
|
12
|
+
let Status;
|
|
13
|
+
(function (Status) {
|
|
13
14
|
Status["UNSEEN"] = "unseen";
|
|
14
15
|
Status["ACCEPTED"] = "accepted";
|
|
15
16
|
Status["DECLINED"] = "declined";
|
|
16
|
-
|
|
17
|
-
}({});
|
|
17
|
+
})(Status || (Status = {}));
|
|
18
18
|
_ContactDuplicateSuggestion.Status = Status;
|
|
19
19
|
function isUnseen(arg) {
|
|
20
20
|
if (arg !== null && typeof arg === 'object') {
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Value in range 0.0 ... 1.0.
|
|
3
3
|
*/
|
|
4
|
+
|
|
4
5
|
export let ContactDuplicateSuggestion;
|
|
5
6
|
(function (_ContactDuplicateSuggestion) {
|
|
6
|
-
let Status
|
|
7
|
+
let Status;
|
|
8
|
+
(function (Status) {
|
|
7
9
|
Status["UNSEEN"] = "unseen";
|
|
8
10
|
Status["ACCEPTED"] = "accepted";
|
|
9
11
|
Status["DECLINED"] = "declined";
|
|
10
|
-
|
|
11
|
-
}({});
|
|
12
|
+
})(Status || (Status = {}));
|
|
12
13
|
_ContactDuplicateSuggestion.Status = Status;
|
|
13
14
|
function isUnseen(arg) {
|
|
14
15
|
if (arg !== null && typeof arg === 'object') {
|
|
@@ -4,4 +4,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.ContactTag = void 0;
|
|
7
|
-
let ContactTag = exports.ContactTag = void 0;
|
|
7
|
+
let ContactTag = exports.ContactTag = void 0;
|
|
8
|
+
(function (_ContactTag) {})(ContactTag || (exports.ContactTag = ContactTag = {}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { Iso8601DateTime } from './common';
|
|
1
2
|
import type { ContactTagGroupRef } from './ContactTagGroup';
|
|
2
3
|
import type { UserRef } from './User';
|
|
3
|
-
type Iso8601DateTime = string;
|
|
4
4
|
export interface ContactTagRef {
|
|
5
5
|
id: number;
|
|
6
6
|
name: string;
|
|
@@ -21,4 +21,3 @@ export interface ContactTag {
|
|
|
21
21
|
export declare namespace ContactTag {
|
|
22
22
|
type Identifier = ContactTag['id'] | ContactTag['name'];
|
|
23
23
|
}
|
|
24
|
-
export {};
|
package/dist/types/ContactTag.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export let ContactTag;
|
|
1
|
+
export let ContactTag;
|
|
2
|
+
(function (_ContactTag) {})(ContactTag || (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
|
|
9
|
+
let Status;
|
|
10
|
+
(function (Status) {
|
|
10
11
|
Status["NEW"] = "new";
|
|
11
12
|
Status["DONE"] = "done";
|
|
12
13
|
Status["FAILED"] = "failed";
|
|
13
|
-
|
|
14
|
-
}({});
|
|
14
|
+
})(Status || (Status = {}));
|
|
15
15
|
_ContactsExport.Status = Status;
|
|
16
16
|
})(ContactsExport || (exports.ContactsExport = ContactsExport = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { Iso8601DateTime } from './common';
|
|
1
2
|
import type { UserRef } from './User';
|
|
2
|
-
type Iso8601DateTime = string;
|
|
3
3
|
export interface ContactsExport {
|
|
4
4
|
uuid: string;
|
|
5
5
|
status: ContactsExport.Status;
|
|
@@ -15,4 +15,3 @@ export declare namespace ContactsExport {
|
|
|
15
15
|
FAILED = "failed"
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export let ContactsExport;
|
|
2
2
|
(function (_ContactsExport) {
|
|
3
|
-
let Status
|
|
3
|
+
let Status;
|
|
4
|
+
(function (Status) {
|
|
4
5
|
Status["NEW"] = "new";
|
|
5
6
|
Status["DONE"] = "done";
|
|
6
7
|
Status["FAILED"] = "failed";
|
|
7
|
-
|
|
8
|
-
}({});
|
|
8
|
+
})(Status || (Status = {}));
|
|
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
|
|
9
|
+
let Type;
|
|
10
|
+
(function (Type) {
|
|
10
11
|
Type["ALL_CONTACTS"] = "scope:contacts";
|
|
11
12
|
Type["CONTACT_EMPLOYEES"] = "scope:contact_employees";
|
|
12
13
|
Type["CONTACT_ORGANISATIONS"] = "scope:contact_organisations";
|
|
13
14
|
Type["CAMPAIGN_RECIPIENTS"] = "scope:campaign_recipients";
|
|
14
15
|
Type["CAMPAIGN_REPORT"] = "scope:campaign_report";
|
|
15
|
-
|
|
16
|
-
}({});
|
|
16
|
+
})(Type || (Type = {}));
|
|
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
|
|
3
|
+
let Type;
|
|
4
|
+
(function (Type) {
|
|
4
5
|
Type["ALL_CONTACTS"] = "scope:contacts";
|
|
5
6
|
Type["CONTACT_EMPLOYEES"] = "scope:contact_employees";
|
|
6
7
|
Type["CONTACT_ORGANISATIONS"] = "scope:contact_organisations";
|
|
7
8
|
Type["CAMPAIGN_RECIPIENTS"] = "scope:campaign_recipients";
|
|
8
9
|
Type["CAMPAIGN_REPORT"] = "scope:campaign_report";
|
|
9
|
-
|
|
10
|
-
}({});
|
|
10
|
+
})(Type || (Type = {}));
|
|
11
11
|
_ContactsScope.Type = Type;
|
|
12
12
|
})(ContactsScope || (ContactsScope = {}));
|
|
@@ -6,16 +6,17 @@ 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
|
|
9
|
+
let Type;
|
|
10
|
+
(function (Type) {
|
|
10
11
|
Type["ONLINE"] = "online";
|
|
11
12
|
Type["SOCIAL"] = "social";
|
|
12
13
|
Type["PRINT"] = "print";
|
|
13
14
|
Type["RADIO"] = "radio";
|
|
14
15
|
Type["TELEVISION"] = "television";
|
|
15
|
-
|
|
16
|
-
}({});
|
|
16
|
+
})(Type || (Type = {}));
|
|
17
17
|
_CoverageEntry.Type = Type;
|
|
18
|
-
let Provider
|
|
18
|
+
let Provider;
|
|
19
|
+
(function (Provider) {
|
|
19
20
|
Provider["AMMCO"] = "ammco";
|
|
20
21
|
Provider["AUXIPRESS"] = "auxipress";
|
|
21
22
|
Provider["BELGA"] = "belga";
|
|
@@ -28,14 +29,13 @@ let CoverageEntry = exports.CoverageEntry = void 0;
|
|
|
28
29
|
Provider["MELTWATER"] = "meltwater";
|
|
29
30
|
Provider["NETFEEDR"] = "netfeedr";
|
|
30
31
|
Provider["OPOINT"] = "opoint";
|
|
31
|
-
|
|
32
|
-
}({});
|
|
32
|
+
})(Provider || (Provider = {}));
|
|
33
33
|
_CoverageEntry.Provider = Provider;
|
|
34
|
-
let Sentiment
|
|
34
|
+
let Sentiment;
|
|
35
|
+
(function (Sentiment) {
|
|
35
36
|
Sentiment["POSITIVE"] = "positive";
|
|
36
37
|
Sentiment["NEGATIVE"] = "negative";
|
|
37
38
|
Sentiment["NEUTRAL"] = "neutral";
|
|
38
|
-
|
|
39
|
-
}({});
|
|
39
|
+
})(Sentiment || (Sentiment = {}));
|
|
40
40
|
_CoverageEntry.Sentiment = Sentiment;
|
|
41
41
|
})(CoverageEntry || (exports.CoverageEntry = CoverageEntry = {}));
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
export let CoverageEntry;
|
|
2
2
|
(function (_CoverageEntry) {
|
|
3
|
-
let Type
|
|
3
|
+
let Type;
|
|
4
|
+
(function (Type) {
|
|
4
5
|
Type["ONLINE"] = "online";
|
|
5
6
|
Type["SOCIAL"] = "social";
|
|
6
7
|
Type["PRINT"] = "print";
|
|
7
8
|
Type["RADIO"] = "radio";
|
|
8
9
|
Type["TELEVISION"] = "television";
|
|
9
|
-
|
|
10
|
-
}({});
|
|
10
|
+
})(Type || (Type = {}));
|
|
11
11
|
_CoverageEntry.Type = Type;
|
|
12
|
-
let Provider
|
|
12
|
+
let Provider;
|
|
13
|
+
(function (Provider) {
|
|
13
14
|
Provider["AMMCO"] = "ammco";
|
|
14
15
|
Provider["AUXIPRESS"] = "auxipress";
|
|
15
16
|
Provider["BELGA"] = "belga";
|
|
@@ -22,14 +23,13 @@ export let CoverageEntry;
|
|
|
22
23
|
Provider["MELTWATER"] = "meltwater";
|
|
23
24
|
Provider["NETFEEDR"] = "netfeedr";
|
|
24
25
|
Provider["OPOINT"] = "opoint";
|
|
25
|
-
|
|
26
|
-
}({});
|
|
26
|
+
})(Provider || (Provider = {}));
|
|
27
27
|
_CoverageEntry.Provider = Provider;
|
|
28
|
-
let Sentiment
|
|
28
|
+
let Sentiment;
|
|
29
|
+
(function (Sentiment) {
|
|
29
30
|
Sentiment["POSITIVE"] = "positive";
|
|
30
31
|
Sentiment["NEGATIVE"] = "negative";
|
|
31
32
|
Sentiment["NEUTRAL"] = "neutral";
|
|
32
|
-
|
|
33
|
-
}({});
|
|
33
|
+
})(Sentiment || (Sentiment = {}));
|
|
34
34
|
_CoverageEntry.Sentiment = Sentiment;
|
|
35
35
|
})(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
|
|
9
|
+
let Status;
|
|
10
|
+
(function (Status) {
|
|
10
11
|
Status["ACTIVE"] = "active";
|
|
11
12
|
Status["PAUSED"] = "paused";
|
|
12
13
|
Status["TRIAL"] = "trial";
|
|
13
14
|
Status["DELETED"] = "deleted";
|
|
14
|
-
|
|
15
|
-
}({});
|
|
15
|
+
})(Status || (Status = {}));
|
|
16
16
|
_CoverageIntegration.Status = Status;
|
|
17
17
|
})(CoverageIntegration || (exports.CoverageIntegration = CoverageIntegration = {}));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { Iso8601DateTime } from './common';
|
|
1
2
|
import type { CoverageEntry } from './CoverageEntry';
|
|
2
3
|
import type { CoverageIntegrationRun } from './CoverageIntegrationRun';
|
|
3
4
|
import type { NewsroomRef } from './Newsroom';
|
|
4
5
|
import type { UserRef } from './User';
|
|
5
|
-
type Iso8601DateTime = string;
|
|
6
6
|
export interface CoverageIntegration {
|
|
7
7
|
id: number;
|
|
8
8
|
name: string;
|
|
@@ -34,4 +34,3 @@ export declare namespace CoverageIntegration {
|
|
|
34
34
|
DELETED = "deleted"
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
export let CoverageIntegration;
|
|
2
2
|
(function (_CoverageIntegration) {
|
|
3
|
-
let Status
|
|
3
|
+
let Status;
|
|
4
|
+
(function (Status) {
|
|
4
5
|
Status["ACTIVE"] = "active";
|
|
5
6
|
Status["PAUSED"] = "paused";
|
|
6
7
|
Status["TRIAL"] = "trial";
|
|
7
8
|
Status["DELETED"] = "deleted";
|
|
8
|
-
|
|
9
|
-
}({});
|
|
9
|
+
})(Status || (Status = {}));
|
|
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
|
|
9
|
+
let Status;
|
|
10
|
+
(function (Status) {
|
|
10
11
|
Status["DONE"] = "done";
|
|
11
12
|
Status["ERROR"] = "error";
|
|
12
13
|
Status["RUNNING"] = "running";
|
|
13
|
-
|
|
14
|
-
}({});
|
|
14
|
+
})(Status || (Status = {}));
|
|
15
15
|
_CoverageIntegrationRun.Status = Status;
|
|
16
16
|
})(CoverageIntegrationRun || (exports.CoverageIntegrationRun = CoverageIntegrationRun = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { Iso8601DateTime } from './common';
|
|
1
2
|
import type { CoverageIntegrationRef } from './CoverageIntegration';
|
|
2
|
-
type Iso8601DateTime = string;
|
|
3
3
|
export interface CoverageIntegrationRun {
|
|
4
4
|
id: number;
|
|
5
5
|
uuid: string;
|
|
@@ -20,4 +20,3 @@ export declare namespace CoverageIntegrationRun {
|
|
|
20
20
|
RUNNING = "running"
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export let CoverageIntegrationRun;
|
|
2
2
|
(function (_CoverageIntegrationRun) {
|
|
3
|
-
let Status
|
|
3
|
+
let Status;
|
|
4
|
+
(function (Status) {
|
|
4
5
|
Status["DONE"] = "done";
|
|
5
6
|
Status["ERROR"] = "error";
|
|
6
7
|
Status["RUNNING"] = "running";
|
|
7
|
-
|
|
8
|
-
}({});
|
|
8
|
+
})(Status || (Status = {}));
|
|
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
|
|
9
|
+
let TextDirection;
|
|
10
|
+
(function (TextDirection) {
|
|
10
11
|
TextDirection["LTR"] = "ltr";
|
|
11
12
|
TextDirection["RTL"] = "rtl";
|
|
12
|
-
|
|
13
|
-
}({});
|
|
13
|
+
})(TextDirection || (TextDirection = {}));
|
|
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
|
|
3
|
+
let TextDirection;
|
|
4
|
+
(function (TextDirection) {
|
|
4
5
|
TextDirection["LTR"] = "ltr";
|
|
5
6
|
TextDirection["RTL"] = "rtl";
|
|
6
|
-
|
|
7
|
-
}({});
|
|
7
|
+
})(TextDirection || (TextDirection = {}));
|
|
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 =
|
|
7
|
+
let Currency = exports.Currency = void 0;
|
|
8
|
+
(function (Currency) {
|
|
8
9
|
Currency["EUR"] = "eur";
|
|
9
10
|
Currency["USD"] = "usd";
|
|
10
11
|
Currency["GBP"] = "gbp";
|
|
11
12
|
Currency["AUD"] = "aud";
|
|
12
|
-
|
|
13
|
-
}({});
|
|
13
|
+
})(Currency || (exports.Currency = Currency = {}));
|
package/dist/types/Currency.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export let Currency
|
|
1
|
+
export let Currency;
|
|
2
|
+
(function (Currency) {
|
|
2
3
|
Currency["EUR"] = "eur";
|
|
3
4
|
Currency["USD"] = "usd";
|
|
4
5
|
Currency["GBP"] = "gbp";
|
|
5
6
|
Currency["AUD"] = "aud";
|
|
6
|
-
|
|
7
|
-
}({});
|
|
7
|
+
})(Currency || (Currency = {}));
|
|
@@ -6,20 +6,20 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.EmailRecipient = void 0;
|
|
7
7
|
let EmailRecipient = exports.EmailRecipient = void 0;
|
|
8
8
|
(function (_EmailRecipient) {
|
|
9
|
-
let Problem
|
|
9
|
+
let Problem;
|
|
10
|
+
(function (Problem) {
|
|
10
11
|
Problem["BOUNCED"] = "bounced";
|
|
11
12
|
Problem["UNSUBSCRIBED"] = "unsubscribed";
|
|
12
13
|
Problem["UNSUBSCRIBED_FROM_ALL_COMMUNICATIONS"] = "unsubscribed_from_all_communications";
|
|
13
14
|
Problem["DUPLICATE"] = "duplicate";
|
|
14
|
-
|
|
15
|
-
}({});
|
|
15
|
+
})(Problem || (Problem = {}));
|
|
16
16
|
_EmailRecipient.Problem = Problem;
|
|
17
|
-
let EmailAddressStatus
|
|
17
|
+
let EmailAddressStatus;
|
|
18
|
+
(function (EmailAddressStatus) {
|
|
18
19
|
EmailAddressStatus["OK"] = "ok";
|
|
19
20
|
EmailAddressStatus["BOUNCED"] = "bounced";
|
|
20
21
|
EmailAddressStatus["UNSUBSCRIBED"] = "unsubscribed";
|
|
21
22
|
EmailAddressStatus["UNSUBSCRIBED_FROM_ALL_COMMUNICATIONS"] = "unsubscribed_from_all_communications";
|
|
22
|
-
|
|
23
|
-
}({});
|
|
23
|
+
})(EmailAddressStatus || (EmailAddressStatus = {}));
|
|
24
24
|
_EmailRecipient.EmailAddressStatus = EmailAddressStatus;
|
|
25
25
|
})(EmailRecipient || (exports.EmailRecipient = EmailRecipient = {}));
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export let EmailRecipient;
|
|
2
2
|
(function (_EmailRecipient) {
|
|
3
|
-
let Problem
|
|
3
|
+
let Problem;
|
|
4
|
+
(function (Problem) {
|
|
4
5
|
Problem["BOUNCED"] = "bounced";
|
|
5
6
|
Problem["UNSUBSCRIBED"] = "unsubscribed";
|
|
6
7
|
Problem["UNSUBSCRIBED_FROM_ALL_COMMUNICATIONS"] = "unsubscribed_from_all_communications";
|
|
7
8
|
Problem["DUPLICATE"] = "duplicate";
|
|
8
|
-
|
|
9
|
-
}({});
|
|
9
|
+
})(Problem || (Problem = {}));
|
|
10
10
|
_EmailRecipient.Problem = Problem;
|
|
11
|
-
let EmailAddressStatus
|
|
11
|
+
let EmailAddressStatus;
|
|
12
|
+
(function (EmailAddressStatus) {
|
|
12
13
|
EmailAddressStatus["OK"] = "ok";
|
|
13
14
|
EmailAddressStatus["BOUNCED"] = "bounced";
|
|
14
15
|
EmailAddressStatus["UNSUBSCRIBED"] = "unsubscribed";
|
|
15
16
|
EmailAddressStatus["UNSUBSCRIBED_FROM_ALL_COMMUNICATIONS"] = "unsubscribed_from_all_communications";
|
|
16
|
-
|
|
17
|
-
}({});
|
|
17
|
+
})(EmailAddressStatus || (EmailAddressStatus = {}));
|
|
18
18
|
_EmailRecipient.EmailAddressStatus = EmailAddressStatus;
|
|
19
19
|
})(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 =
|
|
7
|
+
let JobStatus = exports.JobStatus = void 0;
|
|
8
|
+
(function (JobStatus) {
|
|
8
9
|
JobStatus["PENDING"] = "pending";
|
|
9
10
|
JobStatus["RESOLVED"] = "resolved";
|
|
10
11
|
JobStatus["REJECTED"] = "rejected";
|
|
11
|
-
|
|
12
|
-
}({});
|
|
12
|
+
})(JobStatus || (exports.JobStatus = JobStatus = {}));
|
package/dist/types/JobState.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export let JobStatus
|
|
1
|
+
export let JobStatus;
|
|
2
|
+
(function (JobStatus) {
|
|
2
3
|
JobStatus["PENDING"] = "pending";
|
|
3
4
|
JobStatus["RESOLVED"] = "resolved";
|
|
4
5
|
JobStatus["REJECTED"] = "rejected";
|
|
5
|
-
|
|
6
|
-
}({});
|
|
6
|
+
})(JobStatus || (JobStatus = {}));
|
package/dist/types/License.cjs
CHANGED
|
@@ -6,16 +6,17 @@ 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
|
|
9
|
+
let Type;
|
|
10
|
+
(function (Type) {
|
|
10
11
|
Type["FAVOUR"] = "favour";
|
|
11
12
|
Type["FREE"] = "free";
|
|
12
13
|
Type["PAID_AUTO"] = "paid_auto";
|
|
13
14
|
Type["PAID_MANUAL"] = "paid_manual";
|
|
14
15
|
Type["TRIAL"] = "trial";
|
|
15
|
-
|
|
16
|
-
}({});
|
|
16
|
+
})(Type || (Type = {}));
|
|
17
17
|
_License.Type = Type;
|
|
18
|
-
let Status
|
|
18
|
+
let Status;
|
|
19
|
+
(function (Status) {
|
|
19
20
|
Status["TRIAL"] = "trial";
|
|
20
21
|
Status["ACTIVE"] = "active";
|
|
21
22
|
Status["PAST_DUE"] = "past_due";
|
|
@@ -24,22 +25,21 @@ let License = exports.License = void 0;
|
|
|
24
25
|
Status["INCOMPLETE"] = "incomplete";
|
|
25
26
|
Status["CANCELED"] = "canceled";
|
|
26
27
|
Status["UNPAID"] = "unpaid";
|
|
27
|
-
|
|
28
|
-
}({});
|
|
28
|
+
})(Status || (Status = {}));
|
|
29
29
|
_License.Status = Status;
|
|
30
|
-
let SubscriptionStatus
|
|
30
|
+
let SubscriptionStatus;
|
|
31
|
+
(function (SubscriptionStatus) {
|
|
31
32
|
SubscriptionStatus["TRIALING"] = "trialing";
|
|
32
33
|
SubscriptionStatus["EXPIRED"] = "expired";
|
|
33
34
|
SubscriptionStatus["ACTIVE"] = "active";
|
|
34
35
|
SubscriptionStatus["CANCELED"] = "canceled";
|
|
35
|
-
|
|
36
|
-
}({});
|
|
36
|
+
})(SubscriptionStatus || (SubscriptionStatus = {}));
|
|
37
37
|
_License.SubscriptionStatus = SubscriptionStatus;
|
|
38
|
-
let CompanyType
|
|
38
|
+
let CompanyType;
|
|
39
|
+
(function (CompanyType) {
|
|
39
40
|
CompanyType["BRAND"] = "brand";
|
|
40
41
|
CompanyType["AGENCY"] = "agency";
|
|
41
42
|
CompanyType["INTERNAL"] = "internal";
|
|
42
|
-
|
|
43
|
-
}({});
|
|
43
|
+
})(CompanyType || (CompanyType = {}));
|
|
44
44
|
_License.CompanyType = CompanyType;
|
|
45
45
|
})(License || (exports.License = License = {}));
|
package/dist/types/License.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
export let License;
|
|
2
2
|
(function (_License) {
|
|
3
|
-
let Type
|
|
3
|
+
let Type;
|
|
4
|
+
(function (Type) {
|
|
4
5
|
Type["FAVOUR"] = "favour";
|
|
5
6
|
Type["FREE"] = "free";
|
|
6
7
|
Type["PAID_AUTO"] = "paid_auto";
|
|
7
8
|
Type["PAID_MANUAL"] = "paid_manual";
|
|
8
9
|
Type["TRIAL"] = "trial";
|
|
9
|
-
|
|
10
|
-
}({});
|
|
10
|
+
})(Type || (Type = {}));
|
|
11
11
|
_License.Type = Type;
|
|
12
|
-
let Status
|
|
12
|
+
let Status;
|
|
13
|
+
(function (Status) {
|
|
13
14
|
Status["TRIAL"] = "trial";
|
|
14
15
|
Status["ACTIVE"] = "active";
|
|
15
16
|
Status["PAST_DUE"] = "past_due";
|
|
@@ -18,22 +19,21 @@ export let License;
|
|
|
18
19
|
Status["INCOMPLETE"] = "incomplete";
|
|
19
20
|
Status["CANCELED"] = "canceled";
|
|
20
21
|
Status["UNPAID"] = "unpaid";
|
|
21
|
-
|
|
22
|
-
}({});
|
|
22
|
+
})(Status || (Status = {}));
|
|
23
23
|
_License.Status = Status;
|
|
24
|
-
let SubscriptionStatus
|
|
24
|
+
let SubscriptionStatus;
|
|
25
|
+
(function (SubscriptionStatus) {
|
|
25
26
|
SubscriptionStatus["TRIALING"] = "trialing";
|
|
26
27
|
SubscriptionStatus["EXPIRED"] = "expired";
|
|
27
28
|
SubscriptionStatus["ACTIVE"] = "active";
|
|
28
29
|
SubscriptionStatus["CANCELED"] = "canceled";
|
|
29
|
-
|
|
30
|
-
}({});
|
|
30
|
+
})(SubscriptionStatus || (SubscriptionStatus = {}));
|
|
31
31
|
_License.SubscriptionStatus = SubscriptionStatus;
|
|
32
|
-
let CompanyType
|
|
32
|
+
let CompanyType;
|
|
33
|
+
(function (CompanyType) {
|
|
33
34
|
CompanyType["BRAND"] = "brand";
|
|
34
35
|
CompanyType["AGENCY"] = "agency";
|
|
35
36
|
CompanyType["INTERNAL"] = "internal";
|
|
36
|
-
|
|
37
|
-
}({});
|
|
37
|
+
})(CompanyType || (CompanyType = {}));
|
|
38
38
|
_License.CompanyType = CompanyType;
|
|
39
39
|
})(License || (License = {}));
|