@cakemail-org/ui-components-v2 2.0.83 → 2.0.84

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
@@ -9186,6 +9186,7 @@ var AccountModel = /** @class */ (function () {
9186
9186
  this.organization = params.organization || false;
9187
9187
  this.overrides = params.overrides || {};
9188
9188
  this.stripe_customer_id = params.stripe_customer_id || "";
9189
+ this.metadata = params.metadata || {};
9189
9190
  }
9190
9191
  AccountModel.prototype.toJson = function () {
9191
9192
  return modelToJson(this);
@@ -9864,6 +9865,13 @@ function renderForm(_a) {
9864
9865
  });
9865
9866
  }
9866
9867
 
9868
+ exports.EEditorType = void 0;
9869
+ (function (EEditorType) {
9870
+ EEditorType["emailDesigner"] = "email_designer";
9871
+ EEditorType["formDesigner"] = "form_designer";
9872
+ EEditorType["popUpDesigner"] = "pop_up_designer";
9873
+ })(exports.EEditorType || (exports.EEditorType = {}));
9874
+
9867
9875
  function requestSupportService(_a) {
9868
9876
  var requestOptions = __rest(_a, []);
9869
9877
  return callApi({
@@ -9883,7 +9891,7 @@ function connectToZendeskSupportService() {
9883
9891
  });
9884
9892
  }
9885
9893
  function getBeeTokenService(_a) {
9886
- var _b = _a.editorType, editorType = _b === void 0 ? "email_designer" : _b;
9894
+ var _b = _a.editorType, editorType = _b === void 0 ? exports.EEditorType.emailDesigner : _b;
9887
9895
  return callApi({
9888
9896
  url: uiKitConfig.GATEWAY_PROXY + "/bee/token",
9889
9897
  fetchOptions: {
@@ -17,6 +17,7 @@ export declare class AccountModel {
17
17
  organization: boolean;
18
18
  overrides: any;
19
19
  stripe_customer_id: string;
20
+ metadata: any;
20
21
  constructor(params: Partial<TAccountModel>);
21
22
  toJson(): any;
22
23
  set<T extends keyof this>(property: T, value: this[T]): void;
@@ -15,6 +15,7 @@ export interface TAccountModel {
15
15
  overrides: any;
16
16
  stripe_customer_id: string;
17
17
  organization: boolean;
18
+ metadata: any;
18
19
  }
19
20
  export interface TCreateAccount {
20
21
  name: string;
@@ -1,6 +1,7 @@
1
- import { TRequestSupportService } from "./types";
1
+ import { EEditorType, TRequestSupportService } from "./types";
2
2
  export declare function requestSupportService({ ...requestOptions }: TRequestSupportService): Promise<any>;
3
3
  export declare function connectToZendeskSupportService(): Promise<any>;
4
4
  export declare function getBeeTokenService({ editorType }: {
5
- editorType: "email_designer" | "form_designer" | "pop_up_designer";
5
+ editorType: EEditorType;
6
6
  }): Promise<any>;
7
+ export * from "./types";
@@ -3,3 +3,8 @@ export type TRequestSupportService = {
3
3
  message: string;
4
4
  subject?: string;
5
5
  };
6
+ export declare enum EEditorType {
7
+ emailDesigner = "email_designer",
8
+ formDesigner = "form_designer",
9
+ popUpDesigner = "pop_up_designer"
10
+ }
package/dist/esm/index.js CHANGED
@@ -9166,6 +9166,7 @@ var AccountModel = /** @class */ (function () {
9166
9166
  this.organization = params.organization || false;
9167
9167
  this.overrides = params.overrides || {};
9168
9168
  this.stripe_customer_id = params.stripe_customer_id || "";
9169
+ this.metadata = params.metadata || {};
9169
9170
  }
9170
9171
  AccountModel.prototype.toJson = function () {
9171
9172
  return modelToJson(this);
@@ -9844,6 +9845,13 @@ function renderForm(_a) {
9844
9845
  });
9845
9846
  }
9846
9847
 
9848
+ var EEditorType;
9849
+ (function (EEditorType) {
9850
+ EEditorType["emailDesigner"] = "email_designer";
9851
+ EEditorType["formDesigner"] = "form_designer";
9852
+ EEditorType["popUpDesigner"] = "pop_up_designer";
9853
+ })(EEditorType || (EEditorType = {}));
9854
+
9847
9855
  function requestSupportService(_a) {
9848
9856
  var requestOptions = __rest(_a, []);
9849
9857
  return callApi({
@@ -9863,7 +9871,7 @@ function connectToZendeskSupportService() {
9863
9871
  });
9864
9872
  }
9865
9873
  function getBeeTokenService(_a) {
9866
- var _b = _a.editorType, editorType = _b === void 0 ? "email_designer" : _b;
9874
+ var _b = _a.editorType, editorType = _b === void 0 ? EEditorType.emailDesigner : _b;
9867
9875
  return callApi({
9868
9876
  url: uiKitConfig.GATEWAY_PROXY + "/bee/token",
9869
9877
  fetchOptions: {
@@ -17314,4 +17322,4 @@ var UsersFactory = /** @class */ (function () {
17314
17322
  return UsersFactory;
17315
17323
  }());
17316
17324
 
17317
- export { AccountModel, AccountsFactory, ActionBarContainer, ActionBarContainerHandler, AssetManager, AutomationsFactory, Avatar, BillingFactory, BrandWrapper, BrandsFactory, Button, ButtonMenu, CampaignModel, CampaignsFactory, Checkbox, Chip, CircularProgress, CodeInput, ColManager, ColorTextField, CommonFormModel, ContactModel, ContactsFactory, ContentSectionContainer, CopyToClipboard, CountryDropdown, CustomerModel, DataTable, DataTableHead, DataTableRow, DateCalendar, DatePicker, DateTimeCalendar, DateTimePicker, Dialog, DialogActions, DialogHandler, DialogTitle, Divider, Drawer, DrawerHandler, DropMenu, Dropdown, EApiLanguages, ECampaignStatuses, EEMailSummaryStatuses, EEmailAttachementTypes, EEmailLogType, EEmailLogTypeParam, EEmailProviders, EEmailSummaryEngagement, EEvents, EMethods, EOperatorTypes, EPartialInfoPool, EStorageType, ElementContains, Email, EmailAPIFactory, EmptyContent, EnhancedFormModel, FileUpload, FilterBar, FormModel, FormsFactory, FullBar, GenericWrapper, GenericWrapperContext, GroupedActions, Header, Icon, IconPill, InformationGroup, InlineTextEdit, LinearProgress, ListCampaignModel, ListModel, ListTemplateModel, ListsFactory, LoadingContainer, LocationTextField, Logo, MD5, MetricCard, Modal, ModalHandler, ModalHeading, OverlayHandler, PhoneTextField, ResourceEdit, Search, SenderModel, SendersFactory, SideMenu, SideMenuContainer, SideMenuItem, SubNav, SummaryEnhancedFormModel, SupportFactory, SystemEmailsFactory, SystemEmailsModel, TemplateModel, TemplatesFactory, TextField, TimePicker, TimeSelector, Toggle, TopMenu, Typography, UserModel, UsersFactory, addPartialInformation, addToImpersonificationTree, amIImpersonating, amILoggedInService, archiveCampaign, areAllPropertiesEmpty, buildMUITheme, callApi, camelCase, camelToSnakeCase, cancelCampaign, capitalizeFirstLetter, cleanPostHogId, clearImpersonificationTree, clearStorage, connectToZendeskSupportService, createAccount, createBrand, createCampaign, createCampaignLogsExports, createCampaignsReportsExport, createForm, createTemplate, deepMergeObject, deleteCampaign, deleteCampaignsReportsExport, deleteForm, deletePartialInformation, deleteStorageItem, deleteTemplate, descendingComparator, disableForm, downloadCampaignLogExport, downloadCampaignsReportsExport, emptyAccountAddress, emptyAccountLimits, enableForm, enrichBrand, enrichOrganization, enrichProfile, eventCondition, eventIdentify, eventLogout, fetchRetry, fetchRoute, findNestedProperty, formatNumber, getAccount, getAccountReport, getAdjustedBillingCycle, getBeeTokenService, getBestLocalMatch, getBrand, getBrandService, getBrandUrl, getCalendarFormat, getCampaign, getCampaignLinks, getCampaignLinksReport, getCampaignLogs, getCampaignLogsExports, getCampaignReport, getCampaignRevisions, getCampaignsReportsExport, getComparator, getCustomerProfile, getDate, getDomainFromEmail, getDomainsFromEmails, getDomainsService, getEmail, getEmailActivitySummary, getEmailReport, getEndOfDate, getForm, getHashQueryWithoutHistory, getIconSize, getList, getListLogs, getListReport, getNestedProperty, getPropertyValue, getSender, getStartOfDate, getStorage, getTColor, getTemplate, getUnixTime, getUrlQueryParam, getUser, getUtmCookies, googlePlacesMapper, hasDecimal, impersonateService, initFieldValidation, initPostHog, isColorLight, isDomainValidService, isSimpleType, isValidEmail, isValidString, isValidUrl, lisTEmailTags, listAccounts, listCampaigns, listCampaignsReportsExports, listContacts, listEmailLogs, listForms, listList, listSenders, listSystemEmails, listTemplates, listUsers, logOutService, loginService, miliToSecond, modelSet, modelToJson, originalBrand, patchForm, popImpersonificationTree, postMessage, publishForm, reScheduleCampaign, removeEmptyProperties, removeQueryParams, removeTrailingChar, renderCampaign, renderForm, renderTemplate, requestSupportService, resumeCampaign, scheduleCampaign, searchCustomerProfiles, sendCampaignTest, setBrandHeadElements, setStorage, shareTemplate, splitArray, splitObject, stableSort, startPromisePool, suspendCampaign, trackEvent, truncateEmail, truncateText, uiKitConfig, unArchiveCampaign, unScheduleCampaign, unshareTemplate, updateAccount, updateAndClearUrlParams, updateCampaign, updateSystemEmails, updateTemplate, updateUser, validateColor, validateEmail, validateGenericInput, validateUrl, wait, whiteLabelBrand, whoAmi };
17325
+ export { AccountModel, AccountsFactory, ActionBarContainer, ActionBarContainerHandler, AssetManager, AutomationsFactory, Avatar, BillingFactory, BrandWrapper, BrandsFactory, Button, ButtonMenu, CampaignModel, CampaignsFactory, Checkbox, Chip, CircularProgress, CodeInput, ColManager, ColorTextField, CommonFormModel, ContactModel, ContactsFactory, ContentSectionContainer, CopyToClipboard, CountryDropdown, CustomerModel, DataTable, DataTableHead, DataTableRow, DateCalendar, DatePicker, DateTimeCalendar, DateTimePicker, Dialog, DialogActions, DialogHandler, DialogTitle, Divider, Drawer, DrawerHandler, DropMenu, Dropdown, EApiLanguages, ECampaignStatuses, EEMailSummaryStatuses, EEditorType, EEmailAttachementTypes, EEmailLogType, EEmailLogTypeParam, EEmailProviders, EEmailSummaryEngagement, EEvents, EMethods, EOperatorTypes, EPartialInfoPool, EStorageType, ElementContains, Email, EmailAPIFactory, EmptyContent, EnhancedFormModel, FileUpload, FilterBar, FormModel, FormsFactory, FullBar, GenericWrapper, GenericWrapperContext, GroupedActions, Header, Icon, IconPill, InformationGroup, InlineTextEdit, LinearProgress, ListCampaignModel, ListModel, ListTemplateModel, ListsFactory, LoadingContainer, LocationTextField, Logo, MD5, MetricCard, Modal, ModalHandler, ModalHeading, OverlayHandler, PhoneTextField, ResourceEdit, Search, SenderModel, SendersFactory, SideMenu, SideMenuContainer, SideMenuItem, SubNav, SummaryEnhancedFormModel, SupportFactory, SystemEmailsFactory, SystemEmailsModel, TemplateModel, TemplatesFactory, TextField, TimePicker, TimeSelector, Toggle, TopMenu, Typography, UserModel, UsersFactory, addPartialInformation, addToImpersonificationTree, amIImpersonating, amILoggedInService, archiveCampaign, areAllPropertiesEmpty, buildMUITheme, callApi, camelCase, camelToSnakeCase, cancelCampaign, capitalizeFirstLetter, cleanPostHogId, clearImpersonificationTree, clearStorage, connectToZendeskSupportService, createAccount, createBrand, createCampaign, createCampaignLogsExports, createCampaignsReportsExport, createForm, createTemplate, deepMergeObject, deleteCampaign, deleteCampaignsReportsExport, deleteForm, deletePartialInformation, deleteStorageItem, deleteTemplate, descendingComparator, disableForm, downloadCampaignLogExport, downloadCampaignsReportsExport, emptyAccountAddress, emptyAccountLimits, enableForm, enrichBrand, enrichOrganization, enrichProfile, eventCondition, eventIdentify, eventLogout, fetchRetry, fetchRoute, findNestedProperty, formatNumber, getAccount, getAccountReport, getAdjustedBillingCycle, getBeeTokenService, getBestLocalMatch, getBrand, getBrandService, getBrandUrl, getCalendarFormat, getCampaign, getCampaignLinks, getCampaignLinksReport, getCampaignLogs, getCampaignLogsExports, getCampaignReport, getCampaignRevisions, getCampaignsReportsExport, getComparator, getCustomerProfile, getDate, getDomainFromEmail, getDomainsFromEmails, getDomainsService, getEmail, getEmailActivitySummary, getEmailReport, getEndOfDate, getForm, getHashQueryWithoutHistory, getIconSize, getList, getListLogs, getListReport, getNestedProperty, getPropertyValue, getSender, getStartOfDate, getStorage, getTColor, getTemplate, getUnixTime, getUrlQueryParam, getUser, getUtmCookies, googlePlacesMapper, hasDecimal, impersonateService, initFieldValidation, initPostHog, isColorLight, isDomainValidService, isSimpleType, isValidEmail, isValidString, isValidUrl, lisTEmailTags, listAccounts, listCampaigns, listCampaignsReportsExports, listContacts, listEmailLogs, listForms, listList, listSenders, listSystemEmails, listTemplates, listUsers, logOutService, loginService, miliToSecond, modelSet, modelToJson, originalBrand, patchForm, popImpersonificationTree, postMessage, publishForm, reScheduleCampaign, removeEmptyProperties, removeQueryParams, removeTrailingChar, renderCampaign, renderForm, renderTemplate, requestSupportService, resumeCampaign, scheduleCampaign, searchCustomerProfiles, sendCampaignTest, setBrandHeadElements, setStorage, shareTemplate, splitArray, splitObject, stableSort, startPromisePool, suspendCampaign, trackEvent, truncateEmail, truncateText, uiKitConfig, unArchiveCampaign, unScheduleCampaign, unshareTemplate, updateAccount, updateAndClearUrlParams, updateCampaign, updateSystemEmails, updateTemplate, updateUser, validateColor, validateEmail, validateGenericInput, validateUrl, wait, whiteLabelBrand, whoAmi };
@@ -17,6 +17,7 @@ export declare class AccountModel {
17
17
  organization: boolean;
18
18
  overrides: any;
19
19
  stripe_customer_id: string;
20
+ metadata: any;
20
21
  constructor(params: Partial<TAccountModel>);
21
22
  toJson(): any;
22
23
  set<T extends keyof this>(property: T, value: this[T]): void;
@@ -15,6 +15,7 @@ export interface TAccountModel {
15
15
  overrides: any;
16
16
  stripe_customer_id: string;
17
17
  organization: boolean;
18
+ metadata: any;
18
19
  }
19
20
  export interface TCreateAccount {
20
21
  name: string;
@@ -1,6 +1,7 @@
1
- import { TRequestSupportService } from "./types";
1
+ import { EEditorType, TRequestSupportService } from "./types";
2
2
  export declare function requestSupportService({ ...requestOptions }: TRequestSupportService): Promise<any>;
3
3
  export declare function connectToZendeskSupportService(): Promise<any>;
4
4
  export declare function getBeeTokenService({ editorType }: {
5
- editorType: "email_designer" | "form_designer" | "pop_up_designer";
5
+ editorType: EEditorType;
6
6
  }): Promise<any>;
7
+ export * from "./types";
@@ -3,3 +3,8 @@ export type TRequestSupportService = {
3
3
  message: string;
4
4
  subject?: string;
5
5
  };
6
+ export declare enum EEditorType {
7
+ emailDesigner = "email_designer",
8
+ formDesigner = "form_designer",
9
+ popUpDesigner = "pop_up_designer"
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.0.83",
3
+ "version": "2.0.84",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",