@cakemail-org/ui-components-v2 2.2.55 → 2.2.56

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.
Files changed (65) hide show
  1. package/dist/cjs/components/genericWrapper/index.d.ts +1 -1
  2. package/dist/cjs/components/genericWrapper/types.d.ts +3 -0
  3. package/dist/cjs/components/icon/types.d.ts +4 -0
  4. package/dist/cjs/components/icons/14/DoubleChevron.d.ts +4 -0
  5. package/dist/cjs/components/icons/44/createContacts.d.ts +4 -0
  6. package/dist/cjs/components/icons/44/createPages.d.ts +4 -0
  7. package/dist/cjs/components/icons/44/createPopups.d.ts +4 -0
  8. package/dist/cjs/components/sideMenu/types.d.ts +17 -10
  9. package/dist/cjs/data/theme/MuiTableCell.d.ts +1 -0
  10. package/dist/cjs/factories/index.d.ts +0 -1
  11. package/dist/cjs/factories/lists/index.d.ts +8 -1
  12. package/dist/cjs/index.js +17748 -17409
  13. package/dist/cjs/models/account/index.d.ts +2 -1
  14. package/dist/cjs/models/contact/index.d.ts +6 -0
  15. package/dist/cjs/models/contact/types.d.ts +1 -0
  16. package/dist/cjs/models/list/index.d.ts +34 -1
  17. package/dist/cjs/models/popups/index.d.ts +1 -0
  18. package/dist/cjs/models/popups/types.d.ts +1 -0
  19. package/dist/cjs/models/sender/index.d.ts +4 -1
  20. package/dist/cjs/models/sender/types.d.ts +5 -0
  21. package/dist/cjs/models/templates/index.d.ts +1 -1
  22. package/dist/cjs/models/templates/types.d.ts +1 -0
  23. package/dist/cjs/services/contacts/index.d.ts +18 -0
  24. package/dist/cjs/services/hidden/index.d.ts +0 -1
  25. package/dist/cjs/services/lists/index.d.ts +37 -2
  26. package/dist/cjs/services/senders/index.d.ts +6 -0
  27. package/dist/cjs/services/templates/index.d.ts +2 -1
  28. package/dist/cjs/types/generic.d.ts +5 -1
  29. package/dist/cjs/utils/data.d.ts +1 -1
  30. package/dist/cjs/utils/posthog.d.ts +4 -0
  31. package/dist/esm/components/genericWrapper/index.d.ts +1 -1
  32. package/dist/esm/components/genericWrapper/types.d.ts +3 -0
  33. package/dist/esm/components/icon/types.d.ts +4 -0
  34. package/dist/esm/components/icons/14/DoubleChevron.d.ts +4 -0
  35. package/dist/esm/components/icons/44/createContacts.d.ts +4 -0
  36. package/dist/esm/components/icons/44/createPages.d.ts +4 -0
  37. package/dist/esm/components/icons/44/createPopups.d.ts +4 -0
  38. package/dist/esm/components/sideMenu/types.d.ts +17 -10
  39. package/dist/esm/data/theme/MuiTableCell.d.ts +1 -0
  40. package/dist/esm/factories/index.d.ts +0 -1
  41. package/dist/esm/factories/lists/index.d.ts +8 -1
  42. package/dist/esm/index.js +17738 -17409
  43. package/dist/esm/models/account/index.d.ts +2 -1
  44. package/dist/esm/models/contact/index.d.ts +6 -0
  45. package/dist/esm/models/contact/types.d.ts +1 -0
  46. package/dist/esm/models/list/index.d.ts +34 -1
  47. package/dist/esm/models/popups/index.d.ts +1 -0
  48. package/dist/esm/models/popups/types.d.ts +1 -0
  49. package/dist/esm/models/sender/index.d.ts +4 -1
  50. package/dist/esm/models/sender/types.d.ts +5 -0
  51. package/dist/esm/models/templates/index.d.ts +1 -1
  52. package/dist/esm/models/templates/types.d.ts +1 -0
  53. package/dist/esm/services/contacts/index.d.ts +18 -0
  54. package/dist/esm/services/hidden/index.d.ts +0 -1
  55. package/dist/esm/services/lists/index.d.ts +37 -2
  56. package/dist/esm/services/senders/index.d.ts +6 -0
  57. package/dist/esm/services/templates/index.d.ts +2 -1
  58. package/dist/esm/types/generic.d.ts +5 -1
  59. package/dist/esm/utils/data.d.ts +1 -1
  60. package/dist/esm/utils/posthog.d.ts +4 -0
  61. package/package.json +1 -1
  62. package/dist/cjs/factories/support/index.d.ts +0 -5
  63. package/dist/cjs/factories/support/types.d.ts +0 -6
  64. package/dist/esm/factories/support/index.d.ts +0 -5
  65. package/dist/esm/factories/support/types.d.ts +0 -6
@@ -1,4 +1,5 @@
1
1
  import { TBrand } from "../../factories";
2
+ import { CustomerModel } from "../customer";
2
3
  import { TAccountAddress, TAccountDomains, TAccountLimits, TAccountModel, TAccountOwner, TAccountReport, TDeleteAccountResponse, TGetAccountReport } from "./types";
3
4
  export declare class AccountModel {
4
5
  readonly id: number;
@@ -30,7 +31,7 @@ export declare class AccountModel {
30
31
  getReport({ ...options }: TGetAccountReport): Promise<TAccountReport>;
31
32
  impersonate(byContext?: boolean): Promise<any>;
32
33
  getDomains(): Promise<TAccountDomains>;
33
- getCustomer(): Promise<import("..").CustomerModel>;
34
+ getCustomer(): Promise<CustomerModel>;
34
35
  update(account: Partial<TAccountModel>): Promise<{
35
36
  data: AccountModel;
36
37
  warning: any;
@@ -1,3 +1,4 @@
1
+ import { TActionApiResource, TDeleteApiResource, TUnsubscribeApiResource } from "../../types";
1
2
  import { TContactCustomAttribute, TContactModel } from "./types";
2
3
  export declare class ContactModel {
3
4
  readonly id: number;
@@ -9,8 +10,13 @@ export declare class ContactModel {
9
10
  custom_attributes: TContactCustomAttribute[];
10
11
  tags: string[];
11
12
  interests: string[];
13
+ private listId;
12
14
  constructor(params: TContactModel);
13
15
  toJson(): any;
14
16
  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>;
15
21
  }
16
22
  export * from "./types";
@@ -8,6 +8,7 @@ export type TContactModel = {
8
8
  custom_attributes: TContactCustomAttribute[];
9
9
  tags: string[];
10
10
  interests: string[];
11
+ listId: number;
11
12
  };
12
13
  export type TContactCustomAttribute = {
13
14
  name: string;
@@ -1,4 +1,5 @@
1
- import { EApiLanguages, TDeleteApiResource, TGenericListParams, TGenericListReturn } from "../../types";
1
+ import { EApiLanguages, TActionApiResource, TDeleteApiResource, TGenericListParams, TGenericListReturn, TGenericReturn } from "../../types";
2
+ import { TTask, TTaskDownload } from "../tasks";
2
3
  import { TListCustomAttribute, TListInterest, TListModel, TListPages, TListRedirections, TListReport, TListSender, TListWebhook } from "./types";
3
4
  export declare class ListModel {
4
5
  readonly id: number;
@@ -24,5 +25,37 @@ export declare class ListModel {
24
25
  getAttributes(options?: TGenericListParams): Promise<TGenericListReturn<TListCustomAttribute>>;
25
26
  getInterests(options?: TGenericListParams): Promise<TGenericListReturn<TListInterest>>;
26
27
  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>>;
27
60
  }
28
61
  export * from "./types";
@@ -21,6 +21,7 @@ export declare class ListPopupModel {
21
21
  thumbnail_url: string;
22
22
  overlay: TPopupOverlay;
23
23
  closeButton: TPopupButton;
24
+ published_url: string | null;
24
25
  constructor(params: TPopupModel);
25
26
  toJson(): any;
26
27
  set<T extends keyof this>(property: T, value: this[T]): void;
@@ -19,6 +19,7 @@ export type TPopupModel = {
19
19
  thumbnail_url: string;
20
20
  overlay: TPopupOverlay;
21
21
  closeButton: TPopupButton;
22
+ published_url: string | null;
22
23
  };
23
24
  export type TPopupUser = {
24
25
  id: string;
@@ -1,4 +1,5 @@
1
- import { TSenderModel } from "./types";
1
+ import { TSenderModel, TSenderVerificationEmailResponse } from "./types";
2
+ import { TDeleteApiResource } from "../../types";
2
3
  export declare class SenderModel {
3
4
  readonly id: number;
4
5
  name: string;
@@ -10,5 +11,7 @@ export declare class SenderModel {
10
11
  constructor({ id, name, email, confirmed, confirmed_on, language, last_confirmation_sent_on }: TSenderModel);
11
12
  toJson(): any;
12
13
  set<T extends keyof this>(property: T, value: this[T]): void;
14
+ resendVerificationEmail(): Promise<TSenderVerificationEmailResponse>;
15
+ delete(): Promise<TDeleteApiResource>;
13
16
  }
14
17
  export * from "./types";
@@ -7,3 +7,8 @@ export type TSenderModel = {
7
7
  language: string;
8
8
  last_confirmation_sent_on: number;
9
9
  };
10
+ export type TSenderVerificationEmailResponse = {
11
+ readonly id: number;
12
+ resent: boolean;
13
+ object: string;
14
+ };
@@ -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 }?: TTemplateSharePayload): Promise<void>;
23
+ share({ accounts, everyone, automatic, patch }?: TTemplateSharePayload): Promise<void>;
24
24
  unshare(): Promise<void>;
25
25
  }
26
26
  export declare class TemplateModel extends ListTemplateModel {
@@ -38,4 +38,5 @@ export type TTemplateSharePayload = {
38
38
  accounts?: TTemplateShareAccounPayload[];
39
39
  everyone?: boolean;
40
40
  automatic?: boolean;
41
+ patch?: boolean;
41
42
  };
@@ -1,3 +1,21 @@
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>;
3
21
  export * from "./types";
@@ -1,6 +1,5 @@
1
1
  import { EEditorType, TRequestSupportService } from "./types";
2
2
  export declare function requestSupportService({ ...requestOptions }: TRequestSupportService): Promise<any>;
3
- export declare function connectToZendeskSupportService(): Promise<any>;
4
3
  export declare function getBeeTokenService({ editorType }: {
5
4
  editorType: EEditorType;
6
5
  }): Promise<any>;
@@ -27,11 +27,46 @@ 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 downloadContactsExport({ listId, exportId }: {
30
+ export declare function downloadListLogExport({ listId, exportId }: {
31
31
  listId: number;
32
32
  exportId: string;
33
33
  }): Promise<any>;
34
- export declare function downloadListLogExport({ listId, exportId }: {
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 }: {
66
+ listId: number;
67
+ exportId: string;
68
+ }): Promise<any>;
69
+ export declare function downloadContactsExport({ listId, exportId }: {
35
70
  listId: number;
36
71
  exportId: string;
37
72
  }): Promise<any>;
@@ -6,4 +6,10 @@ 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>;
9
15
  export * from "./types";
@@ -19,11 +19,12 @@ 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, patch }: {
23
23
  id: TNumStr;
24
24
  accounts?: TTemplateShareAccounPayload[];
25
25
  everyone?: boolean;
26
26
  automatic?: boolean;
27
+ patch?: boolean;
27
28
  }): Promise<any>;
28
29
  export declare function unshareTemplate({ id }: {
29
30
  id: TNumStr;
@@ -112,6 +112,11 @@ 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
+ };
115
120
  export type TRenderResponse = {
116
121
  data: string;
117
122
  };
@@ -133,7 +138,6 @@ export declare enum EApiLanguages {
133
138
  "en" = "en",
134
139
  "en_US" = "en_US",
135
140
  "en_GB" = "en_GB",
136
- "en_UK" = "en_UK",
137
141
  "es" = "es",
138
142
  "es_US" = "es_US",
139
143
  "es_ES" = "es_ES",
@@ -1,5 +1,5 @@
1
1
  import { TGooglePlaceMapperAddress } from "../types";
2
- export declare function descendingComparator<T>(a: T, b: T, orderBy: keyof T): 1 | 0 | -1;
2
+ export declare function descendingComparator<T>(a: T, b: T, orderBy: keyof T): 0 | 1 | -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,9 +66,13 @@ 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",
69
70
  CONTACT_UNTAGGED = "Contact.Untagged",
71
+ CONTACTS_UNTAGGED = "Contacts.Untagged",
70
72
  CONTACT_INTERESTED = "Contact.Interested",
73
+ CONTACTS_INTERESTED = "Contacts.Interested",
71
74
  CONTACT_UNINTERESTED = "Contact.Uninterested",
75
+ CONTACTS_UNINTERESTED = "Contacts.Uninterested",
72
76
  SUPPRESSED_EMAIL_EXPORT_CREATED = "SuppressedEmail.Export.Created",
73
77
  SUPPRESSED_EMAIL_EXPORT_DOWNLOAD = "SuppressedEmail.Export.Download",
74
78
  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, user, setPageHead, setPostHog, LocizeInitializer, brandThemeContext, proxyUrl, styleOverride, includeHandlers }: TGenericWrapper): React.JSX.Element;
3
+ export declare function GenericWrapper({ children, brandObj, userBrandObj, brandId, brandHost, account, customer, 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,4 +1,5 @@
1
1
  import { TBrand, TBrandBaseStyles } from "../../factories/brands/types";
2
+ import { CustomerModel } from "../../models";
2
3
  import { AccountModel } from "../../models/account";
3
4
  import { TAccountModel } from "../../models/account/types";
4
5
  import { UserModel } from "../../models/user";
@@ -10,6 +11,7 @@ export type TGenericWrapper = {
10
11
  brandHost?: string;
11
12
  brandId?: string;
12
13
  account?: TAccountModel;
14
+ customer?: CustomerModel | null;
13
15
  user?: TUserModel;
14
16
  setPageHead?: boolean;
15
17
  setPostHog?: boolean;
@@ -24,4 +26,5 @@ export type TGenericWrapperContext = {
24
26
  userBrand?: TBrand;
25
27
  account: AccountModel;
26
28
  user: UserModel;
29
+ customer?: CustomerModel | null;
27
30
  };
@@ -13,6 +13,7 @@ export declare enum EIconName {
13
13
  "BarChart14" = "BarChart14",
14
14
  "Checkmark14" = "Checkmark14",
15
15
  "Copy14" = "Copy14",
16
+ "DoubleChevron14" = "DoubleChevron14",
16
17
  "Filter14" = "Filter14",
17
18
  "Remove14" = "Remove14",
18
19
  "X14" = "X14",
@@ -108,6 +109,9 @@ export declare enum EIconName {
108
109
  "NonProfits32" = "NonProfits32",
109
110
  "Sent32" = "Sent32",
110
111
  "Uptime32" = "Uptime32",
112
+ "CreateContacts44" = "CreateContacts44",
113
+ "CreatePages44" = "CreatePages44",
114
+ "CreatePopups44" = "CreatePopups44",
111
115
  "CreateWidget44" = "CreateWidget44",
112
116
  "EmptyABTest44" = "EmptyABTest44",
113
117
  "EmptyFolder44" = "EmptyFolder44",
@@ -0,0 +1,4 @@
1
+ import { SvgIconProps } from '@mui/material/SvgIcon';
2
+ import React from "react";
3
+ declare function DoubleChevron14(props: SvgIconProps): React.JSX.Element;
4
+ export default DoubleChevron14;
@@ -0,0 +1,4 @@
1
+ import { SvgIconProps } from '@mui/material/SvgIcon';
2
+ import React from "react";
3
+ declare function CreateContacts44(props: SvgIconProps): React.JSX.Element;
4
+ export default CreateContacts44;
@@ -0,0 +1,4 @@
1
+ import { SvgIconProps } from '@mui/material/SvgIcon';
2
+ import React from "react";
3
+ declare function CreatePages44(props: SvgIconProps): React.JSX.Element;
4
+ export default CreatePages44;
@@ -0,0 +1,4 @@
1
+ import { SvgIconProps } from '@mui/material/SvgIcon';
2
+ import React from "react";
3
+ declare function CreatePopups44(props: SvgIconProps): React.JSX.Element;
4
+ export default CreatePopups44;
@@ -7,17 +7,8 @@ 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
- };
19
10
  export type TSideMenuItemClick = (event: MouseEvent<HTMLAnchorElement>) => void;
20
- export type TSideMenuItemItem = {
11
+ export type TSideMenuItemBase = {
21
12
  tooltipText?: string;
22
13
  icon?: TIconName;
23
14
  defaultItemIcon?: TIconName | false;
@@ -28,6 +19,22 @@ export type TSideMenuItemItem = {
28
19
  prefix?: any;
29
20
  support?: any;
30
21
  };
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
+ };
31
38
  export type TSideMenuItem = {
32
39
  menuItemClick?: MouseEventHandler<HTMLAnchorElement>;
33
40
  item: TSideMenuItemItem;
@@ -894,6 +894,7 @@ export default function getMuiTableCell(theme: Theme): {
894
894
  };
895
895
  };
896
896
  "&.stickyFirstCol,&.stickyLastCol": {
897
+ maxWidth: string;
897
898
  zIndex: number;
898
899
  };
899
900
  "&.stickyFirstCol": {
@@ -10,7 +10,6 @@ export * from "./lists";
10
10
  export * from "./pages";
11
11
  export * from "./popups";
12
12
  export * from "./senders";
13
- export * from "./support";
14
13
  export * from "./suppressedEmails";
15
14
  export * from "./systemEmails";
16
15
  export * from "./tags";
@@ -1,4 +1,4 @@
1
- import { TTaskDownload } from "../../models";
1
+ import { TTask, 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,5 +20,12 @@ 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>>;
23
30
  }
24
31
  export * from "./types";