@cakemail-org/ui-components-v2 2.2.99 → 2.2.101
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/cjs/factories/customDomains/index.d.ts +1 -3
- package/dist/cjs/index.js +26 -8
- package/dist/cjs/models/customDomains/index.d.ts +5 -2
- package/dist/cjs/models/customDomains/types.d.ts +18 -3
- package/dist/cjs/services/customDomains/index.d.ts +1 -3
- package/dist/esm/factories/customDomains/index.d.ts +1 -3
- package/dist/esm/index.js +27 -9
- package/dist/esm/models/customDomains/index.d.ts +5 -2
- package/dist/esm/models/customDomains/types.d.ts +18 -3
- package/dist/esm/services/customDomains/index.d.ts +1 -3
- package/package.json +1 -1
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { CustomDomainModel } from "../../models/customDomains";
|
|
2
2
|
import { TGenericListParams, TGenericListReturn } from "../../types";
|
|
3
3
|
export declare class CustomDomainsFactory {
|
|
4
|
-
static list({ ...params }: TGenericListParams
|
|
5
|
-
verificationStatus?: string;
|
|
6
|
-
}): Promise<TGenericListReturn<CustomDomainModel>>;
|
|
4
|
+
static list({ ...params }: TGenericListParams): Promise<TGenericListReturn<CustomDomainModel>>;
|
|
7
5
|
static get({ id }: {
|
|
8
6
|
id: string;
|
|
9
7
|
}): Promise<CustomDomainModel>;
|
package/dist/cjs/index.js
CHANGED
|
@@ -12188,19 +12188,37 @@ var ContactModel = /** @class */ (function () {
|
|
|
12188
12188
|
return ContactModel;
|
|
12189
12189
|
}());
|
|
12190
12190
|
|
|
12191
|
-
exports.
|
|
12192
|
-
(function (
|
|
12193
|
-
|
|
12194
|
-
|
|
12195
|
-
|
|
12196
|
-
|
|
12191
|
+
exports.ECertificateStatus = void 0;
|
|
12192
|
+
(function (ECertificateStatus) {
|
|
12193
|
+
ECertificateStatus["unknown"] = "unknown";
|
|
12194
|
+
ECertificateStatus["missing"] = "missing";
|
|
12195
|
+
ECertificateStatus["not_ready"] = "not_ready";
|
|
12196
|
+
ECertificateStatus["ready"] = "ready";
|
|
12197
|
+
})(exports.ECertificateStatus || (exports.ECertificateStatus = {}));
|
|
12198
|
+
exports.EIngressRouteStatus = void 0;
|
|
12199
|
+
(function (EIngressRouteStatus) {
|
|
12200
|
+
EIngressRouteStatus["unknown"] = "unknown";
|
|
12201
|
+
EIngressRouteStatus["disabled"] = "disabled";
|
|
12202
|
+
EIngressRouteStatus["missing"] = "missing";
|
|
12203
|
+
EIngressRouteStatus["present"] = "present";
|
|
12204
|
+
})(exports.EIngressRouteStatus || (exports.EIngressRouteStatus = {}));
|
|
12205
|
+
exports.EDnsStatus = void 0;
|
|
12206
|
+
(function (EDnsStatus) {
|
|
12207
|
+
EDnsStatus["pending"] = "pending";
|
|
12208
|
+
EDnsStatus["ok"] = "ok";
|
|
12209
|
+
EDnsStatus["failed"] = "failed";
|
|
12210
|
+
})(exports.EDnsStatus || (exports.EDnsStatus = {}));
|
|
12197
12211
|
|
|
12198
12212
|
var CustomDomainModel = /** @class */ (function () {
|
|
12199
12213
|
function CustomDomainModel(params) {
|
|
12214
|
+
var _a;
|
|
12200
12215
|
this.id = params.id;
|
|
12201
12216
|
this.account_id = params.account_id;
|
|
12202
12217
|
this.domain = params.domain;
|
|
12203
|
-
this.
|
|
12218
|
+
this.dns_status = (_a = params.dns_status) !== null && _a !== void 0 ? _a : exports.EDnsStatus.pending;
|
|
12219
|
+
this.certificate_status = params.certificate_status;
|
|
12220
|
+
this.ingress_route_status = params.ingress_route_status;
|
|
12221
|
+
this.ready = params.ready;
|
|
12204
12222
|
this.verified_on = params.verified_on;
|
|
12205
12223
|
this.created_on = params.created_on;
|
|
12206
12224
|
this.updated_on = params.updated_on;
|
|
@@ -12208,7 +12226,7 @@ var CustomDomainModel = /** @class */ (function () {
|
|
|
12208
12226
|
}
|
|
12209
12227
|
Object.defineProperty(CustomDomainModel.prototype, "isVerified", {
|
|
12210
12228
|
get: function () {
|
|
12211
|
-
return this.
|
|
12229
|
+
return this.ready === true;
|
|
12212
12230
|
},
|
|
12213
12231
|
enumerable: false,
|
|
12214
12232
|
configurable: true
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { TDeleteApiResource } from "../../types";
|
|
2
|
-
import {
|
|
2
|
+
import { ECertificateStatus, EDnsStatus, EIngressRouteStatus, TCustomDomainModel, TCustomDomainVerificationPayload } from "./types";
|
|
3
3
|
export declare class CustomDomainModel {
|
|
4
4
|
id: string;
|
|
5
5
|
account_id: number;
|
|
6
6
|
domain: string;
|
|
7
|
-
|
|
7
|
+
dns_status: EDnsStatus;
|
|
8
|
+
certificate_status: ECertificateStatus;
|
|
9
|
+
ingress_route_status: EIngressRouteStatus;
|
|
10
|
+
ready: boolean;
|
|
8
11
|
verified_on: number | null;
|
|
9
12
|
created_on: number;
|
|
10
13
|
updated_on: number;
|
|
@@ -1,6 +1,18 @@
|
|
|
1
|
-
export declare enum
|
|
1
|
+
export declare enum ECertificateStatus {
|
|
2
|
+
unknown = "unknown",
|
|
3
|
+
missing = "missing",
|
|
4
|
+
not_ready = "not_ready",
|
|
5
|
+
ready = "ready"
|
|
6
|
+
}
|
|
7
|
+
export declare enum EIngressRouteStatus {
|
|
8
|
+
unknown = "unknown",
|
|
9
|
+
disabled = "disabled",
|
|
10
|
+
missing = "missing",
|
|
11
|
+
present = "present"
|
|
12
|
+
}
|
|
13
|
+
export declare enum EDnsStatus {
|
|
2
14
|
pending = "pending",
|
|
3
|
-
|
|
15
|
+
ok = "ok",
|
|
4
16
|
failed = "failed"
|
|
5
17
|
}
|
|
6
18
|
export type TCustomDomainDnsCname = {
|
|
@@ -19,7 +31,10 @@ export type TCustomDomainModel = {
|
|
|
19
31
|
id: string;
|
|
20
32
|
account_id: number;
|
|
21
33
|
domain: string;
|
|
22
|
-
|
|
34
|
+
dns_status?: EDnsStatus;
|
|
35
|
+
certificate_status: ECertificateStatus;
|
|
36
|
+
ingress_route_status: EIngressRouteStatus;
|
|
37
|
+
ready: boolean;
|
|
23
38
|
verified_on: number | null;
|
|
24
39
|
created_on: number;
|
|
25
40
|
updated_on: number;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { TCustomDomainModel, TCustomDomainVerifyResult } from "../../models/customDomains/types";
|
|
2
2
|
import { TGenericListParams, TGenericListReturn, TGenericReturn } from "../../types";
|
|
3
3
|
import { TCreateApiResource, TDeleteApiResource, TUpdateApiResource } from "../../types/generic";
|
|
4
|
-
export declare function listCustomDomains({ ...options }: TGenericListParams
|
|
5
|
-
verificationStatus?: string;
|
|
6
|
-
}): Promise<TGenericListReturn<TCustomDomainModel>>;
|
|
4
|
+
export declare function listCustomDomains({ ...options }: TGenericListParams): Promise<TGenericListReturn<TCustomDomainModel>>;
|
|
7
5
|
export declare function createCustomDomain({ domain, }: {
|
|
8
6
|
domain: string;
|
|
9
7
|
}): Promise<TCreateApiResource<TCustomDomainModel>>;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { CustomDomainModel } from "../../models/customDomains";
|
|
2
2
|
import { TGenericListParams, TGenericListReturn } from "../../types";
|
|
3
3
|
export declare class CustomDomainsFactory {
|
|
4
|
-
static list({ ...params }: TGenericListParams
|
|
5
|
-
verificationStatus?: string;
|
|
6
|
-
}): Promise<TGenericListReturn<CustomDomainModel>>;
|
|
4
|
+
static list({ ...params }: TGenericListParams): Promise<TGenericListReturn<CustomDomainModel>>;
|
|
7
5
|
static get({ id }: {
|
|
8
6
|
id: string;
|
|
9
7
|
}): Promise<CustomDomainModel>;
|
package/dist/esm/index.js
CHANGED
|
@@ -12168,19 +12168,37 @@ var ContactModel = /** @class */ (function () {
|
|
|
12168
12168
|
return ContactModel;
|
|
12169
12169
|
}());
|
|
12170
12170
|
|
|
12171
|
-
var
|
|
12172
|
-
(function (
|
|
12173
|
-
|
|
12174
|
-
|
|
12175
|
-
|
|
12176
|
-
|
|
12171
|
+
var ECertificateStatus;
|
|
12172
|
+
(function (ECertificateStatus) {
|
|
12173
|
+
ECertificateStatus["unknown"] = "unknown";
|
|
12174
|
+
ECertificateStatus["missing"] = "missing";
|
|
12175
|
+
ECertificateStatus["not_ready"] = "not_ready";
|
|
12176
|
+
ECertificateStatus["ready"] = "ready";
|
|
12177
|
+
})(ECertificateStatus || (ECertificateStatus = {}));
|
|
12178
|
+
var EIngressRouteStatus;
|
|
12179
|
+
(function (EIngressRouteStatus) {
|
|
12180
|
+
EIngressRouteStatus["unknown"] = "unknown";
|
|
12181
|
+
EIngressRouteStatus["disabled"] = "disabled";
|
|
12182
|
+
EIngressRouteStatus["missing"] = "missing";
|
|
12183
|
+
EIngressRouteStatus["present"] = "present";
|
|
12184
|
+
})(EIngressRouteStatus || (EIngressRouteStatus = {}));
|
|
12185
|
+
var EDnsStatus;
|
|
12186
|
+
(function (EDnsStatus) {
|
|
12187
|
+
EDnsStatus["pending"] = "pending";
|
|
12188
|
+
EDnsStatus["ok"] = "ok";
|
|
12189
|
+
EDnsStatus["failed"] = "failed";
|
|
12190
|
+
})(EDnsStatus || (EDnsStatus = {}));
|
|
12177
12191
|
|
|
12178
12192
|
var CustomDomainModel = /** @class */ (function () {
|
|
12179
12193
|
function CustomDomainModel(params) {
|
|
12194
|
+
var _a;
|
|
12180
12195
|
this.id = params.id;
|
|
12181
12196
|
this.account_id = params.account_id;
|
|
12182
12197
|
this.domain = params.domain;
|
|
12183
|
-
this.
|
|
12198
|
+
this.dns_status = (_a = params.dns_status) !== null && _a !== void 0 ? _a : EDnsStatus.pending;
|
|
12199
|
+
this.certificate_status = params.certificate_status;
|
|
12200
|
+
this.ingress_route_status = params.ingress_route_status;
|
|
12201
|
+
this.ready = params.ready;
|
|
12184
12202
|
this.verified_on = params.verified_on;
|
|
12185
12203
|
this.created_on = params.created_on;
|
|
12186
12204
|
this.updated_on = params.updated_on;
|
|
@@ -12188,7 +12206,7 @@ var CustomDomainModel = /** @class */ (function () {
|
|
|
12188
12206
|
}
|
|
12189
12207
|
Object.defineProperty(CustomDomainModel.prototype, "isVerified", {
|
|
12190
12208
|
get: function () {
|
|
12191
|
-
return this.
|
|
12209
|
+
return this.ready === true;
|
|
12192
12210
|
},
|
|
12193
12211
|
enumerable: false,
|
|
12194
12212
|
configurable: true
|
|
@@ -20111,4 +20129,4 @@ var UsersFactory = /** @class */ (function () {
|
|
|
20111
20129
|
return UsersFactory;
|
|
20112
20130
|
}());
|
|
20113
20131
|
|
|
20114
|
-
export { AccountModel, AccountsFactory, ActionBarContainer, ActionBarContainerHandler, AssetManager, AutomationModel, AutomationsFactory, Avatar, BillingFactory, BrandWrapper, BrandsFactory, Button, ButtonMenu, CampaignModel, CampaignsFactory, Checkbox, Chip, CircularProgress, CodeInput, ColManager, ColorTextField, CommonFormModel, ContactModel, ContactsFactory, ContentSectionContainer, CountryDropdown, CustomDomainModel, CustomDomainsFactory, CustomerModel, DataTable, DataTableHead, DataTableRow, DateCalendar, DatePicker, DateTimeCalendar, DateTimePicker, Dialog, DialogActions, DialogHandler, DialogTitle, Divider, Drawer, DrawerHandler, DropMenu, Dropdown, EApiLanguages, EAssetManagerMatchType, ECampaignStatuses,
|
|
20132
|
+
export { AccountModel, AccountsFactory, ActionBarContainer, ActionBarContainerHandler, AssetManager, AutomationModel, AutomationsFactory, Avatar, BillingFactory, BrandWrapper, BrandsFactory, Button, ButtonMenu, CampaignModel, CampaignsFactory, Checkbox, Chip, CircularProgress, CodeInput, ColManager, ColorTextField, CommonFormModel, ContactModel, ContactsFactory, ContentSectionContainer, CountryDropdown, CustomDomainModel, CustomDomainsFactory, CustomerModel, DataTable, DataTableHead, DataTableRow, DateCalendar, DatePicker, DateTimeCalendar, DateTimePicker, Dialog, DialogActions, DialogHandler, DialogTitle, Divider, Drawer, DrawerHandler, DropMenu, Dropdown, EApiLanguages, EAssetManagerMatchType, ECampaignStatuses, ECertificateStatus, EDnsStatus, EEMailSummaryStatuses, EEditorType, EEmailAttachementTypes, EEmailLogType, EEmailLogTypeParam, EEmailProviders, EEmailStatuses, EEmailSummaryEngagement, EEvents, EIngressRouteStatus, EListAttributeType, EMethods, EOperatorTypes, EPageBranding, EPartialInfoPool, EPopupBranding, EPopupBrowserType, EPopupCloseButtonPosition, EPopupDeviceType, EPopupDisplayFrequency, EPopupPosition, EPopupTriggerType, EStorageType, ETaskType, ElementContains, Email, EmailAPIFactory, EmptyContent, EnhancedFormModel, FileUpload, FilterBar, FormModel, FormsFactory, FullBar, GenericWrapper, GenericWrapperContext, GroupedActions, Header, Icon, IconPill, InformationGroup, InlineTextEdit, LinearProgress, Link, ListCampaignModel, ListModel, ListPageModel, ListPopupModel, ListTemplateModel, ListsFactory, LoadingContainer, LocationTextField, Logo, MD5, MetricCard, Modal, ModalHandler, ModalHeading, Overlay, OverlayHandler, OverlayHeading, PageModel, PagesFactory, PhoneTextField, PopupModel, PopupsFactory, Radio, ResourceEdit, Search, SenderModel, SendersFactory, SideMenu, SideMenuContainer, SideMenuItem, SubNav, SummaryEnhancedFormModel, SuppressedEmailsFactory, SystemEmailsFactory, SystemEmailsModel, TagsFactory, TasksFactory, TemplateModel, TemplatesFactory, TextField, TimePicker, TimeSelector, Toggle, TopMenu, Typography, UserModel, UsersFactory, acceptListPolicy, addInterestsToContactsOfList, addPartialInformation, addSuppressedEmail, addToImpersonificationTree, amIImpersonating, amILoggedInService, archiveCampaign, areAllPropertiesEmpty, buildMUITheme, callApi, camelCase, camelToSnakeCase, cancelCampaign, capitalizeFirstLetter, cleanPostHogId, clearImpersonificationTree, clearStorage, copyToClipboard, createAccount, createBrand, createCampaign, createCampaignLogsExports, createCampaignsReportsExport, createContactsExport, createCustomDomain, createForm, createPage, createPopup, createSender, createSuppressedEmailExport, createTemplate, deepMergeObject, deleteAccount, deleteAnyAutomation, deleteAutomation, deleteCampaign, deleteCampaignsReportsExport, deleteContact, deleteCustomDomain, deleteForm, deleteList, deletePage, deletePartialInformation, deletePopup, deleteSender, deleteStorageItem, deleteSuppressedEmail, deleteTaskService, deleteTemplate, deleteUser, deleteWorkflow, descendingComparator, disableForm, disablePage, disablePopup, domainHasValidCertificateService, downloadCampaignLogExport, downloadCampaignsReportsExport, downloadContactsExport, downloadListLogExport, downloadSuppressedEmailExport, emptyAccountAddress, emptyAccountLimits, enableForm, enablePage, enablePopup, enrichBrand, enrichOrganization, enrichProfile, eventCondition, eventIdentify, eventLogout, fetchRetry, fetchRoute, findNestedProperty, formatNumber, getAccount, getAccountMetadata, getAccountReport, getAdjustedBillingCycle, getAllAutomationStats, getAutomation, getAutomationEmailContent, getAutomationExecutionsCount, getAutomationStats, getBeeTokenService, getBestLocalMatch, getBrand, getBrandService, getBrandUrl, getCalendarFormat, getCampaign, getCampaignLinks, getCampaignLinksReport, getCampaignLogs, getCampaignLogsExports, getCampaignReport, getCampaignRevisions, getCampaignsReportsExport, getComparator, getContactsExport, getCustomDomain, getCustomerProfile, getDate, getDomainFromEmail, getDomainsFromEmails, getDomainsService, getEmail, getEmailActivitySummary, getEmailReport, getEndOfDate, getForm, getHashQueryWithoutHistory, getIconSize, getList, getListLogs, getListReport, getNestedProperty, getPage, getPopup, getPropertyValue, getSender, getStartOfDate, getStorage, getSuppressedEmailExport, getTColor, getTaskService, getTemplate, getUnixTime, getUrlQueryParam, getUser, getUtmCookies, googlePlacesMapper, hasDecimal, impersonateService, initFieldValidation, initPostHog, isColorLight, isDomainValidService, isPublicEmailProviderService, isSimpleType, isValidEmail, isValidString, isValidUrl, lisTEmailTags, listAccounts, listAutomations, listCampaigns, listCampaignsReportsExports, listContacts, listCustomDomains, listDkimService, listEmailLogs, listForms, listList, listListAttributes, listListInterests, listPages, listPopups, listSenders, listSuppressedEmails, listSystemEmails, listTasksService, listTemplates, listUsers, listWorkflows, logOutService, loginService, miliToSecond, modelSet, modelToJson, originalBrand, patchAccountDomainsService, patchForm, popImpersonificationTree, postMessage, publishForm, publishPage, publishPopup, reScheduleCampaign, removeEmptyProperties, removeInterestsFromContactsOfList, removeQueryParams, removeTrailingChar, renderCampaign, renderEmail, renderForm, renderPage, renderPopup, renderPublicHtmlForm, renderTemplate, requestSupportService, resendEmail, resendVerificationEmail, resumeCampaign, saveList, scheduleCampaign, searchCustomerProfiles, sendCampaignTest, setBrandHeadElements, setStorage, shareTemplate, splitArray, splitObject, stableSort, startPromisePool, suspendAccount, suspendCampaign, tagContact, tagsContactsOfList, trackEvent, truncateEmail, truncateText, uiKitConfig, unArchiveCampaign, unScheduleCampaign, unSuspendAccount, unshareTemplate, unsubscribeContact, untagContact, untagContactsOfList, updateAccount, updateAndClearUrlParams, updateAnyAutomation, updateAutomation, updateCampaign, updatePage, updatePopup, updateSystemEmails, updateTemplate, updateUser, updateWorkflow, validateColor, validateEmail, validateGenericInput, validateUrl, verifyCustomDomain, verifyTrackingCnamesService, wait, whiteLabelBrand, whoAmi };
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { TDeleteApiResource } from "../../types";
|
|
2
|
-
import {
|
|
2
|
+
import { ECertificateStatus, EDnsStatus, EIngressRouteStatus, TCustomDomainModel, TCustomDomainVerificationPayload } from "./types";
|
|
3
3
|
export declare class CustomDomainModel {
|
|
4
4
|
id: string;
|
|
5
5
|
account_id: number;
|
|
6
6
|
domain: string;
|
|
7
|
-
|
|
7
|
+
dns_status: EDnsStatus;
|
|
8
|
+
certificate_status: ECertificateStatus;
|
|
9
|
+
ingress_route_status: EIngressRouteStatus;
|
|
10
|
+
ready: boolean;
|
|
8
11
|
verified_on: number | null;
|
|
9
12
|
created_on: number;
|
|
10
13
|
updated_on: number;
|
|
@@ -1,6 +1,18 @@
|
|
|
1
|
-
export declare enum
|
|
1
|
+
export declare enum ECertificateStatus {
|
|
2
|
+
unknown = "unknown",
|
|
3
|
+
missing = "missing",
|
|
4
|
+
not_ready = "not_ready",
|
|
5
|
+
ready = "ready"
|
|
6
|
+
}
|
|
7
|
+
export declare enum EIngressRouteStatus {
|
|
8
|
+
unknown = "unknown",
|
|
9
|
+
disabled = "disabled",
|
|
10
|
+
missing = "missing",
|
|
11
|
+
present = "present"
|
|
12
|
+
}
|
|
13
|
+
export declare enum EDnsStatus {
|
|
2
14
|
pending = "pending",
|
|
3
|
-
|
|
15
|
+
ok = "ok",
|
|
4
16
|
failed = "failed"
|
|
5
17
|
}
|
|
6
18
|
export type TCustomDomainDnsCname = {
|
|
@@ -19,7 +31,10 @@ export type TCustomDomainModel = {
|
|
|
19
31
|
id: string;
|
|
20
32
|
account_id: number;
|
|
21
33
|
domain: string;
|
|
22
|
-
|
|
34
|
+
dns_status?: EDnsStatus;
|
|
35
|
+
certificate_status: ECertificateStatus;
|
|
36
|
+
ingress_route_status: EIngressRouteStatus;
|
|
37
|
+
ready: boolean;
|
|
23
38
|
verified_on: number | null;
|
|
24
39
|
created_on: number;
|
|
25
40
|
updated_on: number;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { TCustomDomainModel, TCustomDomainVerifyResult } from "../../models/customDomains/types";
|
|
2
2
|
import { TGenericListParams, TGenericListReturn, TGenericReturn } from "../../types";
|
|
3
3
|
import { TCreateApiResource, TDeleteApiResource, TUpdateApiResource } from "../../types/generic";
|
|
4
|
-
export declare function listCustomDomains({ ...options }: TGenericListParams
|
|
5
|
-
verificationStatus?: string;
|
|
6
|
-
}): Promise<TGenericListReturn<TCustomDomainModel>>;
|
|
4
|
+
export declare function listCustomDomains({ ...options }: TGenericListParams): Promise<TGenericListReturn<TCustomDomainModel>>;
|
|
7
5
|
export declare function createCustomDomain({ domain, }: {
|
|
8
6
|
domain: string;
|
|
9
7
|
}): Promise<TCreateApiResource<TCustomDomainModel>>;
|