@cakemail-org/ui-components-v2 2.2.53 → 2.2.55
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/components/genericWrapper/index.d.ts +1 -1
- package/dist/cjs/components/genericWrapper/types.d.ts +0 -3
- package/dist/cjs/components/icon/types.d.ts +0 -3
- package/dist/cjs/components/sideMenu/types.d.ts +10 -17
- package/dist/cjs/data/theme/MuiTableCell.d.ts +0 -1
- package/dist/cjs/factories/index.d.ts +1 -0
- package/dist/cjs/factories/lists/index.d.ts +1 -8
- package/dist/cjs/factories/support/index.d.ts +5 -0
- package/dist/cjs/factories/support/types.d.ts +6 -0
- package/dist/cjs/index.js +12695 -13024
- package/dist/cjs/models/account/index.d.ts +1 -2
- package/dist/cjs/models/contact/index.d.ts +0 -6
- package/dist/cjs/models/contact/types.d.ts +0 -1
- package/dist/cjs/models/list/index.d.ts +1 -34
- package/dist/cjs/models/popups/index.d.ts +0 -1
- package/dist/cjs/models/popups/types.d.ts +0 -1
- package/dist/cjs/models/sender/index.d.ts +1 -4
- package/dist/cjs/models/sender/types.d.ts +0 -5
- package/dist/cjs/models/templates/index.d.ts +1 -1
- package/dist/cjs/models/templates/types.d.ts +0 -1
- package/dist/cjs/services/contacts/index.d.ts +0 -18
- package/dist/cjs/services/hidden/index.d.ts +1 -0
- package/dist/cjs/services/lists/index.d.ts +2 -37
- package/dist/cjs/services/senders/index.d.ts +0 -6
- package/dist/cjs/services/templates/index.d.ts +1 -2
- package/dist/cjs/types/generic.d.ts +1 -5
- package/dist/cjs/utils/data.d.ts +1 -1
- package/dist/cjs/utils/posthog.d.ts +0 -4
- package/dist/esm/components/genericWrapper/index.d.ts +1 -1
- package/dist/esm/components/genericWrapper/types.d.ts +0 -3
- package/dist/esm/components/icon/types.d.ts +0 -3
- package/dist/esm/components/sideMenu/types.d.ts +10 -17
- package/dist/esm/data/theme/MuiTableCell.d.ts +0 -1
- package/dist/esm/factories/index.d.ts +1 -0
- package/dist/esm/factories/lists/index.d.ts +1 -8
- package/dist/esm/factories/support/index.d.ts +5 -0
- package/dist/esm/factories/support/types.d.ts +6 -0
- package/dist/esm/index.js +12695 -13014
- package/dist/esm/models/account/index.d.ts +1 -2
- package/dist/esm/models/contact/index.d.ts +0 -6
- package/dist/esm/models/contact/types.d.ts +0 -1
- package/dist/esm/models/list/index.d.ts +1 -34
- package/dist/esm/models/popups/index.d.ts +0 -1
- package/dist/esm/models/popups/types.d.ts +0 -1
- package/dist/esm/models/sender/index.d.ts +1 -4
- package/dist/esm/models/sender/types.d.ts +0 -5
- package/dist/esm/models/templates/index.d.ts +1 -1
- package/dist/esm/models/templates/types.d.ts +0 -1
- package/dist/esm/services/contacts/index.d.ts +0 -18
- package/dist/esm/services/hidden/index.d.ts +1 -0
- package/dist/esm/services/lists/index.d.ts +2 -37
- package/dist/esm/services/senders/index.d.ts +0 -6
- package/dist/esm/services/templates/index.d.ts +1 -2
- package/dist/esm/types/generic.d.ts +1 -5
- package/dist/esm/utils/data.d.ts +1 -1
- package/dist/esm/utils/posthog.d.ts +0 -4
- package/package.json +1 -1
- package/dist/cjs/components/icons/44/createContacts.d.ts +0 -4
- package/dist/cjs/components/icons/44/createPages.d.ts +0 -4
- package/dist/cjs/components/icons/44/createPopups.d.ts +0 -4
- package/dist/esm/components/icons/44/createContacts.d.ts +0 -4
- package/dist/esm/components/icons/44/createPages.d.ts +0 -4
- package/dist/esm/components/icons/44/createPopups.d.ts +0 -4
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TBrand } from "../../factories";
|
|
2
|
-
import { CustomerModel } from "../customer";
|
|
3
2
|
import { TAccountAddress, TAccountDomains, TAccountLimits, TAccountModel, TAccountOwner, TAccountReport, TDeleteAccountResponse, TGetAccountReport } from "./types";
|
|
4
3
|
export declare class AccountModel {
|
|
5
4
|
readonly id: number;
|
|
@@ -31,7 +30,7 @@ export declare class AccountModel {
|
|
|
31
30
|
getReport({ ...options }: TGetAccountReport): Promise<TAccountReport>;
|
|
32
31
|
impersonate(byContext?: boolean): Promise<any>;
|
|
33
32
|
getDomains(): Promise<TAccountDomains>;
|
|
34
|
-
getCustomer(): Promise<CustomerModel>;
|
|
33
|
+
getCustomer(): Promise<import("..").CustomerModel>;
|
|
35
34
|
update(account: Partial<TAccountModel>): Promise<{
|
|
36
35
|
data: AccountModel;
|
|
37
36
|
warning: any;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { TActionApiResource, TDeleteApiResource, TUnsubscribeApiResource } from "../../types";
|
|
2
1
|
import { TContactCustomAttribute, TContactModel } from "./types";
|
|
3
2
|
export declare class ContactModel {
|
|
4
3
|
readonly id: number;
|
|
@@ -10,13 +9,8 @@ export declare class ContactModel {
|
|
|
10
9
|
custom_attributes: TContactCustomAttribute[];
|
|
11
10
|
tags: string[];
|
|
12
11
|
interests: string[];
|
|
13
|
-
private listId;
|
|
14
12
|
constructor(params: TContactModel);
|
|
15
13
|
toJson(): any;
|
|
16
14
|
set<T extends keyof this>(property: T, value: this[T]): void;
|
|
17
|
-
delete(): Promise<TDeleteApiResource>;
|
|
18
|
-
unsubscribe(): Promise<TUnsubscribeApiResource<TContactModel>>;
|
|
19
|
-
tag(tags: string[]): Promise<TActionApiResource>;
|
|
20
|
-
untag(tags: string[]): Promise<TActionApiResource>;
|
|
21
15
|
}
|
|
22
16
|
export * from "./types";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { EApiLanguages,
|
|
2
|
-
import { TTask, TTaskDownload } from "../tasks";
|
|
1
|
+
import { EApiLanguages, TDeleteApiResource, TGenericListParams, TGenericListReturn } from "../../types";
|
|
3
2
|
import { TListCustomAttribute, TListInterest, TListModel, TListPages, TListRedirections, TListReport, TListSender, TListWebhook } from "./types";
|
|
4
3
|
export declare class ListModel {
|
|
5
4
|
readonly id: number;
|
|
@@ -25,37 +24,5 @@ export declare class ListModel {
|
|
|
25
24
|
getAttributes(options?: TGenericListParams): Promise<TGenericListReturn<TListCustomAttribute>>;
|
|
26
25
|
getInterests(options?: TGenericListParams): Promise<TGenericListReturn<TListInterest>>;
|
|
27
26
|
getReport(): Promise<TListReport>;
|
|
28
|
-
addTagsToContacts({ tags, contactIds, json }: {
|
|
29
|
-
tags: string[];
|
|
30
|
-
contactIds?: number[];
|
|
31
|
-
json?: boolean;
|
|
32
|
-
}): Promise<TActionApiResource>;
|
|
33
|
-
removeTagsFromContacts({ tags, contactIds, json }: {
|
|
34
|
-
tags: string[];
|
|
35
|
-
contactIds?: number[];
|
|
36
|
-
json?: boolean;
|
|
37
|
-
}): Promise<TActionApiResource>;
|
|
38
|
-
addInterestsToContacts({ interests, contactIds, json }: {
|
|
39
|
-
interests: string[];
|
|
40
|
-
contactIds?: number[];
|
|
41
|
-
json?: boolean;
|
|
42
|
-
}): Promise<TActionApiResource>;
|
|
43
|
-
removeInterestsFromContacts({ interests, contactIds, json }: {
|
|
44
|
-
interests: string[];
|
|
45
|
-
contactIds?: number[];
|
|
46
|
-
json?: boolean;
|
|
47
|
-
}): Promise<TActionApiResource>;
|
|
48
|
-
exportContacts({ description, json, segmentId, filter }: {
|
|
49
|
-
description?: string;
|
|
50
|
-
json?: boolean;
|
|
51
|
-
segmentId?: number;
|
|
52
|
-
filter?: string;
|
|
53
|
-
}): Promise<TGenericReturn<TTask>>;
|
|
54
|
-
getExport({ exportId }: {
|
|
55
|
-
exportId: string;
|
|
56
|
-
}): Promise<TGenericReturn<TTask>>;
|
|
57
|
-
downloadExport({ exportId }: {
|
|
58
|
-
exportId: string;
|
|
59
|
-
}): Promise<TGenericReturn<TTaskDownload>>;
|
|
60
27
|
}
|
|
61
28
|
export * from "./types";
|
|
@@ -21,7 +21,6 @@ export declare class ListPopupModel {
|
|
|
21
21
|
thumbnail_url: string;
|
|
22
22
|
overlay: TPopupOverlay;
|
|
23
23
|
closeButton: TPopupButton;
|
|
24
|
-
published_url: string | null;
|
|
25
24
|
constructor(params: TPopupModel);
|
|
26
25
|
toJson(): any;
|
|
27
26
|
set<T extends keyof this>(property: T, value: this[T]): void;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { TSenderModel
|
|
2
|
-
import { TDeleteApiResource } from "../../types";
|
|
1
|
+
import { TSenderModel } from "./types";
|
|
3
2
|
export declare class SenderModel {
|
|
4
3
|
readonly id: number;
|
|
5
4
|
name: string;
|
|
@@ -11,7 +10,5 @@ export declare class SenderModel {
|
|
|
11
10
|
constructor({ id, name, email, confirmed, confirmed_on, language, last_confirmation_sent_on }: TSenderModel);
|
|
12
11
|
toJson(): any;
|
|
13
12
|
set<T extends keyof this>(property: T, value: this[T]): void;
|
|
14
|
-
resendVerificationEmail(): Promise<TSenderVerificationEmailResponse>;
|
|
15
|
-
delete(): Promise<TDeleteApiResource>;
|
|
16
13
|
}
|
|
17
14
|
export * from "./types";
|
|
@@ -20,7 +20,7 @@ export declare class ListTemplateModel {
|
|
|
20
20
|
render({ brandAccountId }: {
|
|
21
21
|
brandAccountId?: TNumStr;
|
|
22
22
|
}): Promise<string>;
|
|
23
|
-
share({ accounts, everyone, automatic
|
|
23
|
+
share({ accounts, everyone, automatic }?: TTemplateSharePayload): Promise<void>;
|
|
24
24
|
unshare(): Promise<void>;
|
|
25
25
|
}
|
|
26
26
|
export declare class TemplateModel extends ListTemplateModel {
|
|
@@ -1,21 +1,3 @@
|
|
|
1
1
|
import { TListContacts } from "./types";
|
|
2
2
|
export declare function listContacts({ listId, useImpersonationTree, ...options }: TListContacts): Promise<any>;
|
|
3
|
-
export declare function deleteContact({ contactId, listId }: {
|
|
4
|
-
contactId: number;
|
|
5
|
-
listId: number;
|
|
6
|
-
}): Promise<any>;
|
|
7
|
-
export declare function unsubscribeContact({ contactId, listId }: {
|
|
8
|
-
contactId: number;
|
|
9
|
-
listId: number;
|
|
10
|
-
}): Promise<any>;
|
|
11
|
-
export declare function tagContact({ contactId, listId, tags }: {
|
|
12
|
-
contactId: number;
|
|
13
|
-
listId: number;
|
|
14
|
-
tags: string[];
|
|
15
|
-
}): Promise<any>;
|
|
16
|
-
export declare function untagContact({ contactId, listId, tags }: {
|
|
17
|
-
contactId: number;
|
|
18
|
-
listId: number;
|
|
19
|
-
tags: string[];
|
|
20
|
-
}): Promise<any>;
|
|
21
3
|
export * from "./types";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EEditorType, TRequestSupportService } from "./types";
|
|
2
2
|
export declare function requestSupportService({ ...requestOptions }: TRequestSupportService): Promise<any>;
|
|
3
|
+
export declare function connectToZendeskSupportService(): Promise<any>;
|
|
3
4
|
export declare function getBeeTokenService({ editorType }: {
|
|
4
5
|
editorType: EEditorType;
|
|
5
6
|
}): Promise<any>;
|
|
@@ -27,46 +27,11 @@ export declare function listListAttributes({ id, ...options }: TGenericListParam
|
|
|
27
27
|
export declare function listListInterests({ id, ...options }: TGenericListParams & {
|
|
28
28
|
id: number;
|
|
29
29
|
}): Promise<any>;
|
|
30
|
-
export declare function
|
|
31
|
-
listId: number;
|
|
32
|
-
exportId: string;
|
|
33
|
-
}): Promise<any>;
|
|
34
|
-
export declare function tagsContactsOfList({ tags, contactIds, json, listId }: {
|
|
35
|
-
tags: string[];
|
|
36
|
-
contactIds?: number[];
|
|
37
|
-
json?: boolean;
|
|
38
|
-
listId: number;
|
|
39
|
-
}): Promise<any>;
|
|
40
|
-
export declare function untagContactsOfList({ tags, contactIds, json, listId }: {
|
|
41
|
-
tags: string[];
|
|
42
|
-
contactIds?: number[];
|
|
43
|
-
json?: boolean;
|
|
44
|
-
listId: number;
|
|
45
|
-
}): Promise<any>;
|
|
46
|
-
export declare function addInterestsToContactsOfList({ interests, contactIds, json, listId }: {
|
|
47
|
-
interests: string[];
|
|
48
|
-
contactIds?: number[];
|
|
49
|
-
json?: boolean;
|
|
50
|
-
listId: number;
|
|
51
|
-
}): Promise<any>;
|
|
52
|
-
export declare function removeInterestsFromContactsOfList({ interests, contactIds, json, listId }: {
|
|
53
|
-
interests: string[];
|
|
54
|
-
contactIds?: number[];
|
|
55
|
-
json?: boolean;
|
|
56
|
-
listId: number;
|
|
57
|
-
}): Promise<any>;
|
|
58
|
-
export declare function createContactsExport({ listId, description, json, segmentId, filter }: {
|
|
59
|
-
listId: number;
|
|
60
|
-
description?: string;
|
|
61
|
-
json?: boolean;
|
|
62
|
-
segmentId?: number;
|
|
63
|
-
filter?: string;
|
|
64
|
-
}): Promise<any>;
|
|
65
|
-
export declare function getContactsExport({ listId, exportId }: {
|
|
30
|
+
export declare function downloadContactsExport({ listId, exportId }: {
|
|
66
31
|
listId: number;
|
|
67
32
|
exportId: string;
|
|
68
33
|
}): Promise<any>;
|
|
69
|
-
export declare function
|
|
34
|
+
export declare function downloadListLogExport({ listId, exportId }: {
|
|
70
35
|
listId: number;
|
|
71
36
|
exportId: string;
|
|
72
37
|
}): Promise<any>;
|
|
@@ -6,10 +6,4 @@ export declare function listSenders({ useImpersonationTree, ...options }: TGener
|
|
|
6
6
|
export declare function getSender({ id }: {
|
|
7
7
|
id: TNumStr;
|
|
8
8
|
}): Promise<any>;
|
|
9
|
-
export declare function resendEmail({ id }: {
|
|
10
|
-
id: TNumStr;
|
|
11
|
-
}): Promise<any>;
|
|
12
|
-
export declare function deleteSender({ id }: {
|
|
13
|
-
id: number;
|
|
14
|
-
}): Promise<any>;
|
|
15
9
|
export * from "./types";
|
|
@@ -19,12 +19,11 @@ export declare function renderTemplate({ id, brandAccountId }: {
|
|
|
19
19
|
id: TNumStr;
|
|
20
20
|
brandAccountId?: TNumStr;
|
|
21
21
|
}): Promise<any>;
|
|
22
|
-
export declare function shareTemplate({ id, accounts, everyone, automatic
|
|
22
|
+
export declare function shareTemplate({ id, accounts, everyone, automatic }: {
|
|
23
23
|
id: TNumStr;
|
|
24
24
|
accounts?: TTemplateShareAccounPayload[];
|
|
25
25
|
everyone?: boolean;
|
|
26
26
|
automatic?: boolean;
|
|
27
|
-
patch?: boolean;
|
|
28
27
|
}): Promise<any>;
|
|
29
28
|
export declare function unshareTemplate({ id }: {
|
|
30
29
|
id: TNumStr;
|
|
@@ -112,11 +112,6 @@ export type TCreateApiResource<T> = {
|
|
|
112
112
|
object: string;
|
|
113
113
|
data: T;
|
|
114
114
|
};
|
|
115
|
-
export type TUnsubscribeApiResource<T> = {
|
|
116
|
-
subscribed: boolean;
|
|
117
|
-
object: string;
|
|
118
|
-
data: T;
|
|
119
|
-
};
|
|
120
115
|
export type TRenderResponse = {
|
|
121
116
|
data: string;
|
|
122
117
|
};
|
|
@@ -138,6 +133,7 @@ export declare enum EApiLanguages {
|
|
|
138
133
|
"en" = "en",
|
|
139
134
|
"en_US" = "en_US",
|
|
140
135
|
"en_GB" = "en_GB",
|
|
136
|
+
"en_UK" = "en_UK",
|
|
141
137
|
"es" = "es",
|
|
142
138
|
"es_US" = "es_US",
|
|
143
139
|
"es_ES" = "es_ES",
|
package/dist/cjs/utils/data.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TGooglePlaceMapperAddress } from "../types";
|
|
2
|
-
export declare function descendingComparator<T>(a: T, b: T, orderBy: keyof T):
|
|
2
|
+
export declare function descendingComparator<T>(a: T, b: T, orderBy: keyof T): 1 | 0 | -1;
|
|
3
3
|
type Order = 'asc' | 'desc';
|
|
4
4
|
export declare function getComparator<Key extends keyof any>(order: Order, orderBy: Key): (a: {
|
|
5
5
|
[key in Key]: number | string;
|
|
@@ -66,13 +66,9 @@ export declare enum EEvents {
|
|
|
66
66
|
CONTACT_EXPORT = "Contact.Export",
|
|
67
67
|
CONTACT_EXPORT_DOWNLOAD = "Contact.Export.Download",
|
|
68
68
|
CONTACT_TAGGED = "Contact.Tagged",
|
|
69
|
-
CONTACTS_TAGGED = "Contacts.Tagged",
|
|
70
69
|
CONTACT_UNTAGGED = "Contact.Untagged",
|
|
71
|
-
CONTACTS_UNTAGGED = "Contacts.Untagged",
|
|
72
70
|
CONTACT_INTERESTED = "Contact.Interested",
|
|
73
|
-
CONTACTS_INTERESTED = "Contacts.Interested",
|
|
74
71
|
CONTACT_UNINTERESTED = "Contact.Uninterested",
|
|
75
|
-
CONTACTS_UNINTERESTED = "Contacts.Uninterested",
|
|
76
72
|
SUPPRESSED_EMAIL_EXPORT_CREATED = "SuppressedEmail.Export.Created",
|
|
77
73
|
SUPPRESSED_EMAIL_EXPORT_DOWNLOAD = "SuppressedEmail.Export.Download",
|
|
78
74
|
SUPPRESSED_EMAIL_DELETED = "SuppressedEmail.Deleted",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { TGenericWrapper } from "./types";
|
|
3
|
-
export declare function GenericWrapper({ children, brandObj, userBrandObj, brandId, brandHost, account,
|
|
3
|
+
export declare function GenericWrapper({ children, brandObj, userBrandObj, brandId, brandHost, account, user, setPageHead, setPostHog, LocizeInitializer, brandThemeContext, proxyUrl, styleOverride, includeHandlers }: TGenericWrapper): React.JSX.Element;
|
|
4
4
|
export default GenericWrapper;
|
|
5
5
|
export * from "./context";
|
|
6
6
|
export * from "./types";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { TBrand, TBrandBaseStyles } from "../../factories/brands/types";
|
|
2
|
-
import { CustomerModel } from "../../models";
|
|
3
2
|
import { AccountModel } from "../../models/account";
|
|
4
3
|
import { TAccountModel } from "../../models/account/types";
|
|
5
4
|
import { UserModel } from "../../models/user";
|
|
@@ -11,7 +10,6 @@ export type TGenericWrapper = {
|
|
|
11
10
|
brandHost?: string;
|
|
12
11
|
brandId?: string;
|
|
13
12
|
account?: TAccountModel;
|
|
14
|
-
customer?: CustomerModel | null;
|
|
15
13
|
user?: TUserModel;
|
|
16
14
|
setPageHead?: boolean;
|
|
17
15
|
setPostHog?: boolean;
|
|
@@ -26,5 +24,4 @@ export type TGenericWrapperContext = {
|
|
|
26
24
|
userBrand?: TBrand;
|
|
27
25
|
account: AccountModel;
|
|
28
26
|
user: UserModel;
|
|
29
|
-
customer?: CustomerModel | null;
|
|
30
27
|
};
|
|
@@ -108,9 +108,6 @@ export declare enum EIconName {
|
|
|
108
108
|
"NonProfits32" = "NonProfits32",
|
|
109
109
|
"Sent32" = "Sent32",
|
|
110
110
|
"Uptime32" = "Uptime32",
|
|
111
|
-
"CreateContacts44" = "CreateContacts44",
|
|
112
|
-
"CreatePages44" = "CreatePages44",
|
|
113
|
-
"CreatePopups44" = "CreatePopups44",
|
|
114
111
|
"CreateWidget44" = "CreateWidget44",
|
|
115
112
|
"EmptyABTest44" = "EmptyABTest44",
|
|
116
113
|
"EmptyFolder44" = "EmptyFolder44",
|
|
@@ -7,8 +7,17 @@ export type TSideMenu = {
|
|
|
7
7
|
className?: string;
|
|
8
8
|
onMouseLeave?: () => void;
|
|
9
9
|
};
|
|
10
|
+
export type TSideMenuContainer = {
|
|
11
|
+
className?: string;
|
|
12
|
+
forcedLocationPath?: string;
|
|
13
|
+
menuItems: (TSideMenuItemItem & {
|
|
14
|
+
subItems?: Omit<TSideMenuItemItem, "subItems">[];
|
|
15
|
+
variant?: TSideMenuItemVariant;
|
|
16
|
+
})[];
|
|
17
|
+
menuItemClick?: TSideMenuItemClick;
|
|
18
|
+
};
|
|
10
19
|
export type TSideMenuItemClick = (event: MouseEvent<HTMLAnchorElement>) => void;
|
|
11
|
-
export type
|
|
20
|
+
export type TSideMenuItemItem = {
|
|
12
21
|
tooltipText?: string;
|
|
13
22
|
icon?: TIconName;
|
|
14
23
|
defaultItemIcon?: TIconName | false;
|
|
@@ -19,22 +28,6 @@ export type TSideMenuItemBase = {
|
|
|
19
28
|
prefix?: any;
|
|
20
29
|
support?: any;
|
|
21
30
|
};
|
|
22
|
-
export type TSideMenuDivider = {
|
|
23
|
-
divider: true;
|
|
24
|
-
className?: string;
|
|
25
|
-
};
|
|
26
|
-
export type TSideMenuItemWithSubItems = TSideMenuItemBase & {
|
|
27
|
-
subItems?: TSideMenuItemBase[];
|
|
28
|
-
variant?: TSideMenuItemVariant;
|
|
29
|
-
};
|
|
30
|
-
export type TSideMenuItemItem = TSideMenuItemBase | TSideMenuDivider;
|
|
31
|
-
export type TSideMenuContainerItem = TSideMenuItemWithSubItems | TSideMenuDivider;
|
|
32
|
-
export type TSideMenuContainer = {
|
|
33
|
-
className?: string;
|
|
34
|
-
forcedLocationPath?: string;
|
|
35
|
-
menuItems: TSideMenuContainerItem[];
|
|
36
|
-
menuItemClick?: TSideMenuItemClick;
|
|
37
|
-
};
|
|
38
31
|
export type TSideMenuItem = {
|
|
39
32
|
menuItemClick?: MouseEventHandler<HTMLAnchorElement>;
|
|
40
33
|
item: TSideMenuItemItem;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TTaskDownload } from "../../models";
|
|
2
2
|
import { ListModel, TListLog, TListReport } from "../../models/list";
|
|
3
3
|
import { TGenericListLogsParams, TGenericListParams, TGenericListReturn, TGenericReturn } from "../../types";
|
|
4
4
|
export declare class ListsFactory {
|
|
@@ -20,12 +20,5 @@ export declare class ListsFactory {
|
|
|
20
20
|
listId: number;
|
|
21
21
|
exportId: string;
|
|
22
22
|
}): Promise<TGenericReturn<TTaskDownload>>;
|
|
23
|
-
static exportContacts({ description, json, segmentId, filter, listId }: {
|
|
24
|
-
description?: string;
|
|
25
|
-
json?: boolean;
|
|
26
|
-
segmentId?: number;
|
|
27
|
-
filter?: string;
|
|
28
|
-
listId: number;
|
|
29
|
-
}): Promise<TGenericReturn<TTask>>;
|
|
30
23
|
}
|
|
31
24
|
export * from "./types";
|