@cakemail-org/ui-components-v2 2.2.84 → 2.2.85

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
@@ -9816,16 +9816,6 @@ function isDomainValidService(_a) {
9816
9816
  useImpersonationTree: useImpersonationTree
9817
9817
  });
9818
9818
  }
9819
- function listDkimService(_a) {
9820
- var _b = _a === void 0 ? {} : _a, id = _b.id;
9821
- return callApi({
9822
- url: uiKitConfig.GATEWAY_PROXY + "/brands/default/dkim",
9823
- query: id ? { account_id: id } : undefined,
9824
- fetchOptions: {
9825
- method: exports.EMethods.get
9826
- }
9827
- });
9828
- }
9829
9819
 
9830
9820
  var AccountModel = /** @class */ (function () {
9831
9821
  function AccountModel(params) {
@@ -9906,16 +9896,6 @@ var AccountModel = /** @class */ (function () {
9906
9896
  });
9907
9897
  });
9908
9898
  };
9909
- AccountModel.prototype.getDkimKeys = function () {
9910
- return __awaiter(this, void 0, void 0, function () {
9911
- return __generator(this, function (_a) {
9912
- if (!this.id) {
9913
- throw new Error("Account was not initialized");
9914
- }
9915
- return [2 /*return*/, listDkimService({ id: this.id }).then(function (data) { return data.data; })];
9916
- });
9917
- });
9918
- };
9919
9899
  AccountModel.prototype.getCustomer = function () {
9920
9900
  return __awaiter(this, void 0, void 0, function () {
9921
9901
  return __generator(this, function (_a) {
@@ -20065,7 +20045,6 @@ exports.listAutomations = listAutomations;
20065
20045
  exports.listCampaigns = listCampaigns;
20066
20046
  exports.listCampaignsReportsExports = listCampaignsReportsExports;
20067
20047
  exports.listContacts = listContacts;
20068
- exports.listDkimService = listDkimService;
20069
20048
  exports.listEmailLogs = listEmailLogs;
20070
20049
  exports.listForms = listForms;
20071
20050
  exports.listList = listList;
@@ -1,5 +1,4 @@
1
1
  import { TBrand } from "../../factories";
2
- import { TDkimKey } from "../../services/domains";
3
2
  import { CustomerModel } from "../customer";
4
3
  import { TAccountAddress, TAccountDomains, TAccountLimits, TAccountModel, TAccountOwner, TAccountReport, TDeleteAccountResponse, TGetAccountReport } from "./types";
5
4
  export declare class AccountModel {
@@ -32,7 +31,6 @@ export declare class AccountModel {
32
31
  getReport({ ...options }: TGetAccountReport): Promise<TAccountReport>;
33
32
  impersonate(byContext?: boolean): Promise<any>;
34
33
  getDomains(): Promise<TAccountDomains>;
35
- getDkimKeys(): Promise<TDkimKey[]>;
36
34
  getCustomer(): Promise<CustomerModel>;
37
35
  update(account: Partial<TAccountModel>): Promise<{
38
36
  data: AccountModel;
@@ -1,5 +1,4 @@
1
- import { TGenericListReturn, TNumStr } from "../../types";
2
- import { TDkimKey } from "./types";
1
+ import { TNumStr } from "../../types";
3
2
  export declare function getDomainsService({ id }: {
4
3
  id?: TNumStr;
5
4
  }): Promise<any>;
@@ -8,7 +7,4 @@ export declare function isDomainValidService({ domain, useImpersonationTree, que
8
7
  useImpersonationTree?: boolean;
9
8
  query?: any;
10
9
  }): Promise<any>;
11
- export declare function listDkimService({ id }?: {
12
- id?: TNumStr;
13
- }): Promise<TGenericListReturn<TDkimKey>>;
14
10
  export * from "./types";
@@ -1,8 +1 @@
1
- export type TDkimKey = {
2
- account_default: boolean;
3
- domain: string;
4
- id: number;
5
- public_key: string;
6
- selector: string;
7
- status: string;
8
- };
1
+ export {};
package/dist/esm/index.js CHANGED
@@ -9796,16 +9796,6 @@ function isDomainValidService(_a) {
9796
9796
  useImpersonationTree: useImpersonationTree
9797
9797
  });
9798
9798
  }
9799
- function listDkimService(_a) {
9800
- var _b = _a === void 0 ? {} : _a, id = _b.id;
9801
- return callApi({
9802
- url: uiKitConfig.GATEWAY_PROXY + "/brands/default/dkim",
9803
- query: id ? { account_id: id } : undefined,
9804
- fetchOptions: {
9805
- method: EMethods.get
9806
- }
9807
- });
9808
- }
9809
9799
 
9810
9800
  var AccountModel = /** @class */ (function () {
9811
9801
  function AccountModel(params) {
@@ -9886,16 +9876,6 @@ var AccountModel = /** @class */ (function () {
9886
9876
  });
9887
9877
  });
9888
9878
  };
9889
- AccountModel.prototype.getDkimKeys = function () {
9890
- return __awaiter(this, void 0, void 0, function () {
9891
- return __generator(this, function (_a) {
9892
- if (!this.id) {
9893
- throw new Error("Account was not initialized");
9894
- }
9895
- return [2 /*return*/, listDkimService({ id: this.id }).then(function (data) { return data.data; })];
9896
- });
9897
- });
9898
- };
9899
9879
  AccountModel.prototype.getCustomer = function () {
9900
9880
  return __awaiter(this, void 0, void 0, function () {
9901
9881
  return __generator(this, function (_a) {
@@ -19790,4 +19770,4 @@ var UsersFactory = /** @class */ (function () {
19790
19770
  return UsersFactory;
19791
19771
  }());
19792
19772
 
19793
- 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, CustomerModel, DataTable, DataTableHead, DataTableRow, DateCalendar, DatePicker, DateTimeCalendar, DateTimePicker, Dialog, DialogActions, DialogHandler, DialogTitle, Divider, Drawer, DrawerHandler, DropMenu, Dropdown, EApiLanguages, EAssetManagerMatchType, ECampaignStatuses, 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, createForm, createPage, createPopup, createSuppressedEmailExport, createTemplate, deepMergeObject, deleteAccount, deleteAnyAutomation, deleteAutomation, deleteCampaign, deleteCampaignsReportsExport, deleteContact, 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, 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, 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, wait, whiteLabelBrand, whoAmi };
19773
+ 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, CustomerModel, DataTable, DataTableHead, DataTableRow, DateCalendar, DatePicker, DateTimeCalendar, DateTimePicker, Dialog, DialogActions, DialogHandler, DialogTitle, Divider, Drawer, DrawerHandler, DropMenu, Dropdown, EApiLanguages, EAssetManagerMatchType, ECampaignStatuses, 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, createForm, createPage, createPopup, createSuppressedEmailExport, createTemplate, deepMergeObject, deleteAccount, deleteAnyAutomation, deleteAutomation, deleteCampaign, deleteCampaignsReportsExport, deleteContact, 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, 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, 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, wait, whiteLabelBrand, whoAmi };
@@ -1,5 +1,4 @@
1
1
  import { TBrand } from "../../factories";
2
- import { TDkimKey } from "../../services/domains";
3
2
  import { CustomerModel } from "../customer";
4
3
  import { TAccountAddress, TAccountDomains, TAccountLimits, TAccountModel, TAccountOwner, TAccountReport, TDeleteAccountResponse, TGetAccountReport } from "./types";
5
4
  export declare class AccountModel {
@@ -32,7 +31,6 @@ export declare class AccountModel {
32
31
  getReport({ ...options }: TGetAccountReport): Promise<TAccountReport>;
33
32
  impersonate(byContext?: boolean): Promise<any>;
34
33
  getDomains(): Promise<TAccountDomains>;
35
- getDkimKeys(): Promise<TDkimKey[]>;
36
34
  getCustomer(): Promise<CustomerModel>;
37
35
  update(account: Partial<TAccountModel>): Promise<{
38
36
  data: AccountModel;
@@ -1,5 +1,4 @@
1
- import { TGenericListReturn, TNumStr } from "../../types";
2
- import { TDkimKey } from "./types";
1
+ import { TNumStr } from "../../types";
3
2
  export declare function getDomainsService({ id }: {
4
3
  id?: TNumStr;
5
4
  }): Promise<any>;
@@ -8,7 +7,4 @@ export declare function isDomainValidService({ domain, useImpersonationTree, que
8
7
  useImpersonationTree?: boolean;
9
8
  query?: any;
10
9
  }): Promise<any>;
11
- export declare function listDkimService({ id }?: {
12
- id?: TNumStr;
13
- }): Promise<TGenericListReturn<TDkimKey>>;
14
10
  export * from "./types";
@@ -1,8 +1 @@
1
- export type TDkimKey = {
2
- account_default: boolean;
3
- domain: string;
4
- id: number;
5
- public_key: string;
6
- selector: string;
7
- status: string;
8
- };
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.2.84",
3
+ "version": "2.2.85",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",