@cakemail-org/ui-components-v2 2.1.6 → 2.1.7
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/index.d.ts +1 -0
- package/dist/cjs/factories/tags/index.d.ts +6 -0
- package/dist/cjs/factories/tags/types.d.ts +3 -0
- package/dist/cjs/index.js +47 -1
- package/dist/cjs/models/list/index.d.ts +2 -1
- package/dist/cjs/models/list/types.d.ts +5 -0
- package/dist/cjs/services/lists/index.d.ts +3 -0
- package/dist/cjs/services/tags/index.d.ts +3 -0
- package/dist/esm/factories/index.d.ts +1 -0
- package/dist/esm/factories/tags/index.d.ts +6 -0
- package/dist/esm/factories/tags/types.d.ts +3 -0
- package/dist/esm/index.js +46 -2
- package/dist/esm/models/list/index.d.ts +2 -1
- package/dist/esm/models/list/types.d.ts +5 -0
- package/dist/esm/services/lists/index.d.ts +3 -0
- package/dist/esm/services/tags/index.d.ts +3 -0
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -10324,6 +10324,19 @@ function listListAttributes(_a) {
|
|
|
10324
10324
|
},
|
|
10325
10325
|
});
|
|
10326
10326
|
}
|
|
10327
|
+
function listListInterests(_a) {
|
|
10328
|
+
var id = _a.id, options = __rest(_a, ["id"]);
|
|
10329
|
+
if (!(options === null || options === void 0 ? void 0 : options.perPage)) {
|
|
10330
|
+
options.perPage = 200;
|
|
10331
|
+
}
|
|
10332
|
+
return callApi({
|
|
10333
|
+
url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(id, "/interests"),
|
|
10334
|
+
query: camelCase(options),
|
|
10335
|
+
fetchOptions: {
|
|
10336
|
+
method: exports.EMethods.get,
|
|
10337
|
+
},
|
|
10338
|
+
});
|
|
10339
|
+
}
|
|
10327
10340
|
|
|
10328
10341
|
function listSenders(_a) {
|
|
10329
10342
|
var useImpersonationTree = _a.useImpersonationTree, options = __rest(_a, ["useImpersonationTree"]);
|
|
@@ -16127,7 +16140,7 @@ function Radio(_a) {
|
|
|
16127
16140
|
return React.createElement(material.Radio, __assign({}, props));
|
|
16128
16141
|
}
|
|
16129
16142
|
|
|
16130
|
-
var css_248z$3 = ".resourceEdit-component-v2 {\n width: 100%;\n}\n.resourceEdit-component-v2 .resource-heading {\n flex: 1;\n width: 100%;\n}\n.resourceEdit-component-v2 .resource-heading .resource-title {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n}\n.resourceEdit-component-v2 .resource-heading .statusCheckmark {\n width: 24px;\n height: 24px;\n border-radius: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-left: 0.5rem;\n}\n.resourceEdit-component-v2 .resource-heading .statusCheckmark.valid {\n background-color: var(--secondary-brand-color, var(--teal, #0ABDAE));\n}\n.resourceEdit-component-v2 .resource-heading .statusCheckmark.warning {\n background-color: var(--warning-brand-color, var(--orange, #FF9E0E));\n}\n.resourceEdit-component-v2 .resource-heading .statusCheckmark.error {\n background-color: var(--error-brand-color, var(--rad-red, #FF4835));\n}\n.resourceEdit-component-v2 .resource-heading .statusCheckmark.empty {\n background-color: var(--shade500, #939292);\n}
|
|
16143
|
+
var css_248z$3 = ".resourceEdit-component-v2 {\n width: 100%;\n padding-bottom: 1.5rem;\n}\n.resourceEdit-component-v2 .resource-heading {\n flex: 1;\n width: 100%;\n}\n.resourceEdit-component-v2 .resource-heading .resource-title {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n}\n.resourceEdit-component-v2 .resource-heading .statusCheckmark {\n width: 24px;\n height: 24px;\n border-radius: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-left: 0.5rem;\n}\n.resourceEdit-component-v2 .resource-heading .statusCheckmark.valid {\n background-color: var(--secondary-brand-color, var(--teal, #0ABDAE));\n}\n.resourceEdit-component-v2 .resource-heading .statusCheckmark.warning {\n background-color: var(--warning-brand-color, var(--orange, #FF9E0E));\n}\n.resourceEdit-component-v2 .resource-heading .statusCheckmark.error {\n background-color: var(--error-brand-color, var(--rad-red, #FF4835));\n}\n.resourceEdit-component-v2 .resource-heading .statusCheckmark.empty {\n background-color: var(--shade500, #939292);\n}";
|
|
16131
16144
|
styleInject(css_248z$3);
|
|
16132
16145
|
|
|
16133
16146
|
function ResourceEdit(_a) {
|
|
@@ -17296,6 +17309,9 @@ var ListModel = /** @class */ (function () {
|
|
|
17296
17309
|
ListModel.prototype.getAttributes = function (options) {
|
|
17297
17310
|
return listListAttributes(__assign({ id: this.id }, options));
|
|
17298
17311
|
};
|
|
17312
|
+
ListModel.prototype.getInterests = function (options) {
|
|
17313
|
+
return listListInterests(__assign({ id: this.id }, options));
|
|
17314
|
+
};
|
|
17299
17315
|
return ListModel;
|
|
17300
17316
|
}());
|
|
17301
17317
|
|
|
@@ -17669,6 +17685,34 @@ var SystemEmailsFactory = /** @class */ (function () {
|
|
|
17669
17685
|
return SystemEmailsFactory;
|
|
17670
17686
|
}());
|
|
17671
17687
|
|
|
17688
|
+
function listTags(options) {
|
|
17689
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
17690
|
+
return __generator(this, function (_a) {
|
|
17691
|
+
return [2 /*return*/, callApi({
|
|
17692
|
+
url: uiKitConfig.GATEWAY_PROXY + "/tags",
|
|
17693
|
+
query: camelCase(options),
|
|
17694
|
+
fetchOptions: {
|
|
17695
|
+
method: exports.EMethods.patch,
|
|
17696
|
+
}
|
|
17697
|
+
})];
|
|
17698
|
+
});
|
|
17699
|
+
});
|
|
17700
|
+
}
|
|
17701
|
+
|
|
17702
|
+
var TagsFactory = /** @class */ (function () {
|
|
17703
|
+
function TagsFactory() {
|
|
17704
|
+
}
|
|
17705
|
+
TagsFactory.list = function (_a) {
|
|
17706
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
17707
|
+
var options = __rest(_a, []);
|
|
17708
|
+
return __generator(this, function (_b) {
|
|
17709
|
+
return [2 /*return*/, listTags(options)];
|
|
17710
|
+
});
|
|
17711
|
+
});
|
|
17712
|
+
};
|
|
17713
|
+
return TagsFactory;
|
|
17714
|
+
}());
|
|
17715
|
+
|
|
17672
17716
|
var TemplatesFactory = /** @class */ (function () {
|
|
17673
17717
|
function TemplatesFactory() {
|
|
17674
17718
|
}
|
|
@@ -17872,6 +17916,7 @@ exports.SummaryEnhancedFormModel = SummaryEnhancedFormModel;
|
|
|
17872
17916
|
exports.SupportFactory = SupportFactory;
|
|
17873
17917
|
exports.SystemEmailsFactory = SystemEmailsFactory;
|
|
17874
17918
|
exports.SystemEmailsModel = SystemEmailsModel;
|
|
17919
|
+
exports.TagsFactory = TagsFactory;
|
|
17875
17920
|
exports.TemplateModel = TemplateModel;
|
|
17876
17921
|
exports.TemplatesFactory = TemplatesFactory;
|
|
17877
17922
|
exports.TextField = TextField;
|
|
@@ -17994,6 +18039,7 @@ exports.listEmailLogs = listEmailLogs;
|
|
|
17994
18039
|
exports.listForms = listForms;
|
|
17995
18040
|
exports.listList = listList;
|
|
17996
18041
|
exports.listListAttributes = listListAttributes;
|
|
18042
|
+
exports.listListInterests = listListInterests;
|
|
17997
18043
|
exports.listSenders = listSenders;
|
|
17998
18044
|
exports.listSystemEmails = listSystemEmails;
|
|
17999
18045
|
exports.listTemplates = listTemplates;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EApiLanguages, TGenericListParams, TGenericListReturn } from "../../types";
|
|
2
|
-
import { TListCustomAttribute, TListModel, TListPages, TListRedirections, TListSender, TListWebhook } from "./types";
|
|
2
|
+
import { TListCustomAttribute, TListInterest, TListModel, TListPages, TListRedirections, TListSender, TListWebhook } from "./types";
|
|
3
3
|
export declare class ListModel {
|
|
4
4
|
readonly id: number;
|
|
5
5
|
name: string;
|
|
@@ -20,5 +20,6 @@ export declare class ListModel {
|
|
|
20
20
|
policy_accepted: boolean;
|
|
21
21
|
}>;
|
|
22
22
|
getAttributes(options?: TGenericListParams): Promise<TGenericListReturn<TListCustomAttribute>>;
|
|
23
|
+
getInterests(options?: TGenericListParams): Promise<TGenericListReturn<TListInterest>>;
|
|
23
24
|
}
|
|
24
25
|
export * from "./types";
|
|
@@ -65,6 +65,11 @@ export type TListCustomAttribute = {
|
|
|
65
65
|
name: string;
|
|
66
66
|
type: EListAttributeType;
|
|
67
67
|
};
|
|
68
|
+
export type TListInterest = {
|
|
69
|
+
name: string;
|
|
70
|
+
alias: string;
|
|
71
|
+
usage: number;
|
|
72
|
+
};
|
|
68
73
|
export declare enum EListAttributeType {
|
|
69
74
|
text = "text",
|
|
70
75
|
mediumtext = "mediumtext",
|
|
@@ -16,4 +16,7 @@ export declare function acceptListPolicy({ id }: {
|
|
|
16
16
|
export declare function listListAttributes({ id, ...options }: TGenericListParams & {
|
|
17
17
|
id: number;
|
|
18
18
|
}): Promise<any>;
|
|
19
|
+
export declare function listListInterests({ id, ...options }: TGenericListParams & {
|
|
20
|
+
id: number;
|
|
21
|
+
}): Promise<any>;
|
|
19
22
|
export * from "./types";
|
package/dist/esm/index.js
CHANGED
|
@@ -10304,6 +10304,19 @@ function listListAttributes(_a) {
|
|
|
10304
10304
|
},
|
|
10305
10305
|
});
|
|
10306
10306
|
}
|
|
10307
|
+
function listListInterests(_a) {
|
|
10308
|
+
var id = _a.id, options = __rest(_a, ["id"]);
|
|
10309
|
+
if (!(options === null || options === void 0 ? void 0 : options.perPage)) {
|
|
10310
|
+
options.perPage = 200;
|
|
10311
|
+
}
|
|
10312
|
+
return callApi({
|
|
10313
|
+
url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(id, "/interests"),
|
|
10314
|
+
query: camelCase(options),
|
|
10315
|
+
fetchOptions: {
|
|
10316
|
+
method: EMethods.get,
|
|
10317
|
+
},
|
|
10318
|
+
});
|
|
10319
|
+
}
|
|
10307
10320
|
|
|
10308
10321
|
function listSenders(_a) {
|
|
10309
10322
|
var useImpersonationTree = _a.useImpersonationTree, options = __rest(_a, ["useImpersonationTree"]);
|
|
@@ -16107,7 +16120,7 @@ function Radio(_a) {
|
|
|
16107
16120
|
return React__default.createElement(Radio$1, __assign({}, props));
|
|
16108
16121
|
}
|
|
16109
16122
|
|
|
16110
|
-
var css_248z$3 = ".resourceEdit-component-v2 {\n width: 100%;\n}\n.resourceEdit-component-v2 .resource-heading {\n flex: 1;\n width: 100%;\n}\n.resourceEdit-component-v2 .resource-heading .resource-title {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n}\n.resourceEdit-component-v2 .resource-heading .statusCheckmark {\n width: 24px;\n height: 24px;\n border-radius: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-left: 0.5rem;\n}\n.resourceEdit-component-v2 .resource-heading .statusCheckmark.valid {\n background-color: var(--secondary-brand-color, var(--teal, #0ABDAE));\n}\n.resourceEdit-component-v2 .resource-heading .statusCheckmark.warning {\n background-color: var(--warning-brand-color, var(--orange, #FF9E0E));\n}\n.resourceEdit-component-v2 .resource-heading .statusCheckmark.error {\n background-color: var(--error-brand-color, var(--rad-red, #FF4835));\n}\n.resourceEdit-component-v2 .resource-heading .statusCheckmark.empty {\n background-color: var(--shade500, #939292);\n}
|
|
16123
|
+
var css_248z$3 = ".resourceEdit-component-v2 {\n width: 100%;\n padding-bottom: 1.5rem;\n}\n.resourceEdit-component-v2 .resource-heading {\n flex: 1;\n width: 100%;\n}\n.resourceEdit-component-v2 .resource-heading .resource-title {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n}\n.resourceEdit-component-v2 .resource-heading .statusCheckmark {\n width: 24px;\n height: 24px;\n border-radius: 24px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-left: 0.5rem;\n}\n.resourceEdit-component-v2 .resource-heading .statusCheckmark.valid {\n background-color: var(--secondary-brand-color, var(--teal, #0ABDAE));\n}\n.resourceEdit-component-v2 .resource-heading .statusCheckmark.warning {\n background-color: var(--warning-brand-color, var(--orange, #FF9E0E));\n}\n.resourceEdit-component-v2 .resource-heading .statusCheckmark.error {\n background-color: var(--error-brand-color, var(--rad-red, #FF4835));\n}\n.resourceEdit-component-v2 .resource-heading .statusCheckmark.empty {\n background-color: var(--shade500, #939292);\n}";
|
|
16111
16124
|
styleInject(css_248z$3);
|
|
16112
16125
|
|
|
16113
16126
|
function ResourceEdit(_a) {
|
|
@@ -17276,6 +17289,9 @@ var ListModel = /** @class */ (function () {
|
|
|
17276
17289
|
ListModel.prototype.getAttributes = function (options) {
|
|
17277
17290
|
return listListAttributes(__assign({ id: this.id }, options));
|
|
17278
17291
|
};
|
|
17292
|
+
ListModel.prototype.getInterests = function (options) {
|
|
17293
|
+
return listListInterests(__assign({ id: this.id }, options));
|
|
17294
|
+
};
|
|
17279
17295
|
return ListModel;
|
|
17280
17296
|
}());
|
|
17281
17297
|
|
|
@@ -17649,6 +17665,34 @@ var SystemEmailsFactory = /** @class */ (function () {
|
|
|
17649
17665
|
return SystemEmailsFactory;
|
|
17650
17666
|
}());
|
|
17651
17667
|
|
|
17668
|
+
function listTags(options) {
|
|
17669
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
17670
|
+
return __generator(this, function (_a) {
|
|
17671
|
+
return [2 /*return*/, callApi({
|
|
17672
|
+
url: uiKitConfig.GATEWAY_PROXY + "/tags",
|
|
17673
|
+
query: camelCase(options),
|
|
17674
|
+
fetchOptions: {
|
|
17675
|
+
method: EMethods.patch,
|
|
17676
|
+
}
|
|
17677
|
+
})];
|
|
17678
|
+
});
|
|
17679
|
+
});
|
|
17680
|
+
}
|
|
17681
|
+
|
|
17682
|
+
var TagsFactory = /** @class */ (function () {
|
|
17683
|
+
function TagsFactory() {
|
|
17684
|
+
}
|
|
17685
|
+
TagsFactory.list = function (_a) {
|
|
17686
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
17687
|
+
var options = __rest(_a, []);
|
|
17688
|
+
return __generator(this, function (_b) {
|
|
17689
|
+
return [2 /*return*/, listTags(options)];
|
|
17690
|
+
});
|
|
17691
|
+
});
|
|
17692
|
+
};
|
|
17693
|
+
return TagsFactory;
|
|
17694
|
+
}());
|
|
17695
|
+
|
|
17652
17696
|
var TemplatesFactory = /** @class */ (function () {
|
|
17653
17697
|
function TemplatesFactory() {
|
|
17654
17698
|
}
|
|
@@ -17762,4 +17806,4 @@ var UsersFactory = /** @class */ (function () {
|
|
|
17762
17806
|
return UsersFactory;
|
|
17763
17807
|
}());
|
|
17764
17808
|
|
|
17765
|
-
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, EListAttributeType, EMethods, EOperatorTypes, EPartialInfoPool, EStorageType, ElementContains, Email, EmailAPIFactory, EmptyContent, EnhancedFormModel, FileUpload, FilterBar, FormModel, FormsFactory, FullBar, GenericWrapper, GenericWrapperContext, GroupedActions, Header, Icon, IconPill, InformationGroup, InlineTextEdit, LinearProgress, Link, ListCampaignModel, ListModel, ListTemplateModel, ListsFactory, LoadingContainer, LocationTextField, Logo, MD5, MetricCard, Modal, ModalHandler, ModalHeading, OverlayHandler, PhoneTextField, Radio, ResourceEdit, Search, SenderModel, SendersFactory, SideMenu, SideMenuContainer, SideMenuItem, SubNav, SummaryEnhancedFormModel, SupportFactory, SystemEmailsFactory, SystemEmailsModel, TemplateModel, TemplatesFactory, TextField, TimePicker, TimeSelector, Toggle, TopMenu, Typography, UserModel, UsersFactory, acceptListPolicy, 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, listListAttributes, listSenders, listSystemEmails, listTemplates, listUsers, logOutService, loginService, miliToSecond, modelSet, modelToJson, originalBrand, patchForm, popImpersonificationTree, postMessage, publishForm, reScheduleCampaign, removeEmptyProperties, removeQueryParams, removeTrailingChar, renderCampaign, renderForm, renderPublicHtmlForm, 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 };
|
|
17809
|
+
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, EListAttributeType, EMethods, EOperatorTypes, EPartialInfoPool, EStorageType, ElementContains, Email, EmailAPIFactory, EmptyContent, EnhancedFormModel, FileUpload, FilterBar, FormModel, FormsFactory, FullBar, GenericWrapper, GenericWrapperContext, GroupedActions, Header, Icon, IconPill, InformationGroup, InlineTextEdit, LinearProgress, Link, ListCampaignModel, ListModel, ListTemplateModel, ListsFactory, LoadingContainer, LocationTextField, Logo, MD5, MetricCard, Modal, ModalHandler, ModalHeading, OverlayHandler, PhoneTextField, Radio, ResourceEdit, Search, SenderModel, SendersFactory, SideMenu, SideMenuContainer, SideMenuItem, SubNav, SummaryEnhancedFormModel, SupportFactory, SystemEmailsFactory, SystemEmailsModel, TagsFactory, TemplateModel, TemplatesFactory, TextField, TimePicker, TimeSelector, Toggle, TopMenu, Typography, UserModel, UsersFactory, acceptListPolicy, 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, listListAttributes, listListInterests, listSenders, listSystemEmails, listTemplates, listUsers, logOutService, loginService, miliToSecond, modelSet, modelToJson, originalBrand, patchForm, popImpersonificationTree, postMessage, publishForm, reScheduleCampaign, removeEmptyProperties, removeQueryParams, removeTrailingChar, renderCampaign, renderForm, renderPublicHtmlForm, 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 };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EApiLanguages, TGenericListParams, TGenericListReturn } from "../../types";
|
|
2
|
-
import { TListCustomAttribute, TListModel, TListPages, TListRedirections, TListSender, TListWebhook } from "./types";
|
|
2
|
+
import { TListCustomAttribute, TListInterest, TListModel, TListPages, TListRedirections, TListSender, TListWebhook } from "./types";
|
|
3
3
|
export declare class ListModel {
|
|
4
4
|
readonly id: number;
|
|
5
5
|
name: string;
|
|
@@ -20,5 +20,6 @@ export declare class ListModel {
|
|
|
20
20
|
policy_accepted: boolean;
|
|
21
21
|
}>;
|
|
22
22
|
getAttributes(options?: TGenericListParams): Promise<TGenericListReturn<TListCustomAttribute>>;
|
|
23
|
+
getInterests(options?: TGenericListParams): Promise<TGenericListReturn<TListInterest>>;
|
|
23
24
|
}
|
|
24
25
|
export * from "./types";
|
|
@@ -65,6 +65,11 @@ export type TListCustomAttribute = {
|
|
|
65
65
|
name: string;
|
|
66
66
|
type: EListAttributeType;
|
|
67
67
|
};
|
|
68
|
+
export type TListInterest = {
|
|
69
|
+
name: string;
|
|
70
|
+
alias: string;
|
|
71
|
+
usage: number;
|
|
72
|
+
};
|
|
68
73
|
export declare enum EListAttributeType {
|
|
69
74
|
text = "text",
|
|
70
75
|
mediumtext = "mediumtext",
|
|
@@ -16,4 +16,7 @@ export declare function acceptListPolicy({ id }: {
|
|
|
16
16
|
export declare function listListAttributes({ id, ...options }: TGenericListParams & {
|
|
17
17
|
id: number;
|
|
18
18
|
}): Promise<any>;
|
|
19
|
+
export declare function listListInterests({ id, ...options }: TGenericListParams & {
|
|
20
|
+
id: number;
|
|
21
|
+
}): Promise<any>;
|
|
19
22
|
export * from "./types";
|