@cakemail-org/ui-components-v2 2.2.99 → 2.2.100
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 +18 -8
- package/dist/cjs/models/customDomains/index.d.ts +4 -2
- package/dist/cjs/models/customDomains/types.d.ts +14 -5
- 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 +19 -9
- package/dist/esm/models/customDomains/index.d.ts +4 -2
- package/dist/esm/models/customDomains/types.d.ts +14 -5
- 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,29 @@ 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 = {}));
|
|
12197
12205
|
|
|
12198
12206
|
var CustomDomainModel = /** @class */ (function () {
|
|
12199
12207
|
function CustomDomainModel(params) {
|
|
12200
12208
|
this.id = params.id;
|
|
12201
12209
|
this.account_id = params.account_id;
|
|
12202
12210
|
this.domain = params.domain;
|
|
12203
|
-
this.
|
|
12211
|
+
this.certificate_status = params.certificate_status;
|
|
12212
|
+
this.ingress_route_status = params.ingress_route_status;
|
|
12213
|
+
this.ready = params.ready;
|
|
12204
12214
|
this.verified_on = params.verified_on;
|
|
12205
12215
|
this.created_on = params.created_on;
|
|
12206
12216
|
this.updated_on = params.updated_on;
|
|
@@ -12208,7 +12218,7 @@ var CustomDomainModel = /** @class */ (function () {
|
|
|
12208
12218
|
}
|
|
12209
12219
|
Object.defineProperty(CustomDomainModel.prototype, "isVerified", {
|
|
12210
12220
|
get: function () {
|
|
12211
|
-
return this.
|
|
12221
|
+
return this.ready === true;
|
|
12212
12222
|
},
|
|
12213
12223
|
enumerable: false,
|
|
12214
12224
|
configurable: true
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { TDeleteApiResource } from "../../types";
|
|
2
|
-
import {
|
|
2
|
+
import { ECertificateStatus, 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
|
+
certificate_status: ECertificateStatus;
|
|
8
|
+
ingress_route_status: EIngressRouteStatus;
|
|
9
|
+
ready: boolean;
|
|
8
10
|
verified_on: number | null;
|
|
9
11
|
created_on: number;
|
|
10
12
|
updated_on: number;
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
export declare enum
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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"
|
|
5
12
|
}
|
|
6
13
|
export type TCustomDomainDnsCname = {
|
|
7
14
|
hostname: string;
|
|
@@ -19,7 +26,9 @@ export type TCustomDomainModel = {
|
|
|
19
26
|
id: string;
|
|
20
27
|
account_id: number;
|
|
21
28
|
domain: string;
|
|
22
|
-
|
|
29
|
+
certificate_status: ECertificateStatus;
|
|
30
|
+
ingress_route_status: EIngressRouteStatus;
|
|
31
|
+
ready: boolean;
|
|
23
32
|
verified_on: number | null;
|
|
24
33
|
created_on: number;
|
|
25
34
|
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,29 @@ 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 = {}));
|
|
12177
12185
|
|
|
12178
12186
|
var CustomDomainModel = /** @class */ (function () {
|
|
12179
12187
|
function CustomDomainModel(params) {
|
|
12180
12188
|
this.id = params.id;
|
|
12181
12189
|
this.account_id = params.account_id;
|
|
12182
12190
|
this.domain = params.domain;
|
|
12183
|
-
this.
|
|
12191
|
+
this.certificate_status = params.certificate_status;
|
|
12192
|
+
this.ingress_route_status = params.ingress_route_status;
|
|
12193
|
+
this.ready = params.ready;
|
|
12184
12194
|
this.verified_on = params.verified_on;
|
|
12185
12195
|
this.created_on = params.created_on;
|
|
12186
12196
|
this.updated_on = params.updated_on;
|
|
@@ -12188,7 +12198,7 @@ var CustomDomainModel = /** @class */ (function () {
|
|
|
12188
12198
|
}
|
|
12189
12199
|
Object.defineProperty(CustomDomainModel.prototype, "isVerified", {
|
|
12190
12200
|
get: function () {
|
|
12191
|
-
return this.
|
|
12201
|
+
return this.ready === true;
|
|
12192
12202
|
},
|
|
12193
12203
|
enumerable: false,
|
|
12194
12204
|
configurable: true
|
|
@@ -20111,4 +20121,4 @@ var UsersFactory = /** @class */ (function () {
|
|
|
20111
20121
|
return UsersFactory;
|
|
20112
20122
|
}());
|
|
20113
20123
|
|
|
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,
|
|
20124
|
+
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, 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,12 @@
|
|
|
1
1
|
import { TDeleteApiResource } from "../../types";
|
|
2
|
-
import {
|
|
2
|
+
import { ECertificateStatus, 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
|
+
certificate_status: ECertificateStatus;
|
|
8
|
+
ingress_route_status: EIngressRouteStatus;
|
|
9
|
+
ready: boolean;
|
|
8
10
|
verified_on: number | null;
|
|
9
11
|
created_on: number;
|
|
10
12
|
updated_on: number;
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
export declare enum
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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"
|
|
5
12
|
}
|
|
6
13
|
export type TCustomDomainDnsCname = {
|
|
7
14
|
hostname: string;
|
|
@@ -19,7 +26,9 @@ export type TCustomDomainModel = {
|
|
|
19
26
|
id: string;
|
|
20
27
|
account_id: number;
|
|
21
28
|
domain: string;
|
|
22
|
-
|
|
29
|
+
certificate_status: ECertificateStatus;
|
|
30
|
+
ingress_route_status: EIngressRouteStatus;
|
|
31
|
+
ready: boolean;
|
|
23
32
|
verified_on: number | null;
|
|
24
33
|
created_on: number;
|
|
25
34
|
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>>;
|