@cakemail-org/ui-components-v2 2.2.93 → 2.2.94

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/index.js CHANGED
@@ -9903,6 +9903,63 @@ function listDkimService(_a) {
9903
9903
  useImpersonationTree: useImpersonationTree
9904
9904
  });
9905
9905
  }
9906
+ function unwrapData(res) {
9907
+ if (res && typeof res === "object" && "data" in res && res.data !== undefined) {
9908
+ return res.data;
9909
+ }
9910
+ return res;
9911
+ }
9912
+ /** True if the hostname uses a public mailbox provider (Gmail, Yahoo, etc.). */
9913
+ function isPublicEmailProviderService(_a) {
9914
+ var domain = _a.domain;
9915
+ return callApi({
9916
+ url: "".concat(uiKitConfig.GATEWAY_PROXY, "/domains/publicEmailProviders/").concat(encodeURIComponent(domain)),
9917
+ fetchOptions: {
9918
+ method: exports.EMethods.get
9919
+ }
9920
+ }).then(function (res) {
9921
+ var inner = unwrapData(res);
9922
+ if (typeof inner === "boolean") {
9923
+ return inner;
9924
+ }
9925
+ if (inner && typeof inner === "object" && "isPublic" in inner) {
9926
+ return Boolean(inner.isPublic);
9927
+ }
9928
+ return Boolean(inner);
9929
+ });
9930
+ }
9931
+ function verifyTrackingCnamesService(payload) {
9932
+ return callApi({
9933
+ url: uiKitConfig.GATEWAY_PROXY + "/domains/verifyTrackingCnames",
9934
+ fetchOptions: {
9935
+ method: exports.EMethods.post,
9936
+ body: {
9937
+ tracking: payload.tracking,
9938
+ bounce: payload.bounce
9939
+ }
9940
+ }
9941
+ }).then(function (res) { return unwrapData(res); });
9942
+ }
9943
+ function domainHasValidCertificateService(payload) {
9944
+ return callApi({
9945
+ url: uiKitConfig.GATEWAY_PROXY + "/domains/testScheme",
9946
+ fetchOptions: {
9947
+ method: exports.EMethods.post,
9948
+ body: {
9949
+ url: payload.domain
9950
+ }
9951
+ }
9952
+ }).then(function (res) { return unwrapData(res); });
9953
+ }
9954
+ function patchAccountDomainsService(payload) {
9955
+ return callApi({
9956
+ url: uiKitConfig.GATEWAY_PROXY + "/brands/default/domains/default",
9957
+ fetchOptions: {
9958
+ method: exports.EMethods.patch,
9959
+ body: payload
9960
+ }
9961
+ });
9962
+ }
9906
9963
 
9907
9964
  var AccountModel = /** @class */ (function () {
9908
9965
  function AccountModel(params) {
@@ -20221,6 +20278,7 @@ exports.descendingComparator = descendingComparator;
20221
20278
  exports.disableForm = disableForm;
20222
20279
  exports.disablePage = disablePage;
20223
20280
  exports.disablePopup = disablePopup;
20281
+ exports.domainHasValidCertificateService = domainHasValidCertificateService;
20224
20282
  exports.downloadCampaignLogExport = downloadCampaignLogExport;
20225
20283
  exports.downloadCampaignsReportsExport = downloadCampaignsReportsExport;
20226
20284
  exports.downloadContactsExport = downloadContactsExport;
@@ -20304,6 +20362,7 @@ exports.initFieldValidation = initFieldValidation;
20304
20362
  exports.initPostHog = initPostHog;
20305
20363
  exports.isColorLight = isColorLight;
20306
20364
  exports.isDomainValidService = isDomainValidService;
20365
+ exports.isPublicEmailProviderService = isPublicEmailProviderService;
20307
20366
  exports.isSimpleType = isSimpleType;
20308
20367
  exports.isValidEmail = isValidEmail;
20309
20368
  exports.isValidString = isValidString;
@@ -20336,6 +20395,7 @@ exports.miliToSecond = miliToSecond;
20336
20395
  exports.modelSet = modelSet;
20337
20396
  exports.modelToJson = modelToJson;
20338
20397
  exports.originalBrand = originalBrand;
20398
+ exports.patchAccountDomainsService = patchAccountDomainsService;
20339
20399
  exports.patchForm = patchForm;
20340
20400
  exports.popImpersonificationTree = popImpersonificationTree;
20341
20401
  exports.postMessage = postMessage;
@@ -20400,6 +20460,7 @@ exports.validateEmail = validateEmail;
20400
20460
  exports.validateGenericInput = validateGenericInput;
20401
20461
  exports.validateUrl = validateUrl;
20402
20462
  exports.verifyCustomDomain = verifyCustomDomain;
20463
+ exports.verifyTrackingCnamesService = verifyTrackingCnamesService;
20403
20464
  exports.wait = wait;
20404
20465
  exports.whiteLabelBrand = whiteLabelBrand;
20405
20466
  exports.whoAmi = whoAmi;
@@ -1,5 +1,5 @@
1
1
  import { TGenericListReturn, TNumStr } from "../../types";
2
- import { TDkimKey } from "./types";
2
+ import { TDkimKey, TDomainCertificateScheme, TPartnerAccountDomains, TVerifyTrackingCnamesResult } from "./types";
3
3
  export declare function getDomainsService({ id }: {
4
4
  id?: TNumStr;
5
5
  }): Promise<any>;
@@ -12,4 +12,20 @@ export declare function listDkimService({ id, useImpersonationTree }?: {
12
12
  id?: TNumStr;
13
13
  useImpersonationTree?: boolean;
14
14
  }): Promise<TGenericListReturn<TDkimKey>>;
15
+ /** True if the hostname uses a public mailbox provider (Gmail, Yahoo, etc.). */
16
+ export declare function isPublicEmailProviderService({ domain }: {
17
+ domain: string;
18
+ }): Promise<boolean>;
19
+ export declare function verifyTrackingCnamesService(payload: {
20
+ tracking: string;
21
+ bounce: string;
22
+ }): Promise<TVerifyTrackingCnamesResult>;
23
+ export declare function domainHasValidCertificateService(payload: {
24
+ domain: string;
25
+ }): Promise<TDomainCertificateScheme>;
26
+ export declare function patchAccountDomainsService(payload: {
27
+ domains: TPartnerAccountDomains;
28
+ }): Promise<{
29
+ data: TPartnerAccountDomains;
30
+ }>;
15
31
  export * from "./types";
@@ -1,3 +1,18 @@
1
+ /** Partner / account branding domains (tracking, bounce, DKIM, auth hostnames). */
2
+ export type TPartnerAccountDomains = {
3
+ auth: string;
4
+ bounce: string;
5
+ dkim: string;
6
+ tracking: string;
7
+ };
8
+ export type TVerifyTrackingCnamesResult = {
9
+ tracking: boolean;
10
+ bounce: boolean;
11
+ };
12
+ /** Response from POST /domains/testScheme */
13
+ export type TDomainCertificateScheme = {
14
+ scheme: string;
15
+ };
1
16
  export type TDkimKey = {
2
17
  account_default: boolean;
3
18
  domain: string;
package/dist/esm/index.js CHANGED
@@ -9883,6 +9883,63 @@ function listDkimService(_a) {
9883
9883
  useImpersonationTree: useImpersonationTree
9884
9884
  });
9885
9885
  }
9886
+ function unwrapData(res) {
9887
+ if (res && typeof res === "object" && "data" in res && res.data !== undefined) {
9888
+ return res.data;
9889
+ }
9890
+ return res;
9891
+ }
9892
+ /** True if the hostname uses a public mailbox provider (Gmail, Yahoo, etc.). */
9893
+ function isPublicEmailProviderService(_a) {
9894
+ var domain = _a.domain;
9895
+ return callApi({
9896
+ url: "".concat(uiKitConfig.GATEWAY_PROXY, "/domains/publicEmailProviders/").concat(encodeURIComponent(domain)),
9897
+ fetchOptions: {
9898
+ method: EMethods.get
9899
+ }
9900
+ }).then(function (res) {
9901
+ var inner = unwrapData(res);
9902
+ if (typeof inner === "boolean") {
9903
+ return inner;
9904
+ }
9905
+ if (inner && typeof inner === "object" && "isPublic" in inner) {
9906
+ return Boolean(inner.isPublic);
9907
+ }
9908
+ return Boolean(inner);
9909
+ });
9910
+ }
9911
+ function verifyTrackingCnamesService(payload) {
9912
+ return callApi({
9913
+ url: uiKitConfig.GATEWAY_PROXY + "/domains/verifyTrackingCnames",
9914
+ fetchOptions: {
9915
+ method: EMethods.post,
9916
+ body: {
9917
+ tracking: payload.tracking,
9918
+ bounce: payload.bounce
9919
+ }
9920
+ }
9921
+ }).then(function (res) { return unwrapData(res); });
9922
+ }
9923
+ function domainHasValidCertificateService(payload) {
9924
+ return callApi({
9925
+ url: uiKitConfig.GATEWAY_PROXY + "/domains/testScheme",
9926
+ fetchOptions: {
9927
+ method: EMethods.post,
9928
+ body: {
9929
+ url: payload.domain
9930
+ }
9931
+ }
9932
+ }).then(function (res) { return unwrapData(res); });
9933
+ }
9934
+ function patchAccountDomainsService(payload) {
9935
+ return callApi({
9936
+ url: uiKitConfig.GATEWAY_PROXY + "/brands/default/domains/default",
9937
+ fetchOptions: {
9938
+ method: EMethods.patch,
9939
+ body: payload
9940
+ }
9941
+ });
9942
+ }
9886
9943
 
9887
9944
  var AccountModel = /** @class */ (function () {
9888
9945
  function AccountModel(params) {
@@ -20034,4 +20091,4 @@ var UsersFactory = /** @class */ (function () {
20034
20091
  return UsersFactory;
20035
20092
  }());
20036
20093
 
20037
- 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, ECustomDomainVerificationStatus, EEMailSummaryStatuses, EEditorType, EEmailAttachementTypes, EEmailLogType, EEmailLogTypeParam, EEmailProviders, EEmailStatuses, EEmailSummaryEngagement, EEvents, 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, 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, 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, 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, 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, wait, whiteLabelBrand, whoAmi };
20094
+ 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, ECustomDomainVerificationStatus, EEMailSummaryStatuses, EEditorType, EEmailAttachementTypes, EEmailLogType, EEmailLogTypeParam, EEmailProviders, EEmailStatuses, EEmailSummaryEngagement, EEvents, 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, 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,5 +1,5 @@
1
1
  import { TGenericListReturn, TNumStr } from "../../types";
2
- import { TDkimKey } from "./types";
2
+ import { TDkimKey, TDomainCertificateScheme, TPartnerAccountDomains, TVerifyTrackingCnamesResult } from "./types";
3
3
  export declare function getDomainsService({ id }: {
4
4
  id?: TNumStr;
5
5
  }): Promise<any>;
@@ -12,4 +12,20 @@ export declare function listDkimService({ id, useImpersonationTree }?: {
12
12
  id?: TNumStr;
13
13
  useImpersonationTree?: boolean;
14
14
  }): Promise<TGenericListReturn<TDkimKey>>;
15
+ /** True if the hostname uses a public mailbox provider (Gmail, Yahoo, etc.). */
16
+ export declare function isPublicEmailProviderService({ domain }: {
17
+ domain: string;
18
+ }): Promise<boolean>;
19
+ export declare function verifyTrackingCnamesService(payload: {
20
+ tracking: string;
21
+ bounce: string;
22
+ }): Promise<TVerifyTrackingCnamesResult>;
23
+ export declare function domainHasValidCertificateService(payload: {
24
+ domain: string;
25
+ }): Promise<TDomainCertificateScheme>;
26
+ export declare function patchAccountDomainsService(payload: {
27
+ domains: TPartnerAccountDomains;
28
+ }): Promise<{
29
+ data: TPartnerAccountDomains;
30
+ }>;
15
31
  export * from "./types";
@@ -1,3 +1,18 @@
1
+ /** Partner / account branding domains (tracking, bounce, DKIM, auth hostnames). */
2
+ export type TPartnerAccountDomains = {
3
+ auth: string;
4
+ bounce: string;
5
+ dkim: string;
6
+ tracking: string;
7
+ };
8
+ export type TVerifyTrackingCnamesResult = {
9
+ tracking: boolean;
10
+ bounce: boolean;
11
+ };
12
+ /** Response from POST /domains/testScheme */
13
+ export type TDomainCertificateScheme = {
14
+ scheme: string;
15
+ };
1
16
  export type TDkimKey = {
2
17
  account_default: boolean;
3
18
  domain: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.2.93",
3
+ "version": "2.2.94",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",