@cakemail-org/ui-components-v2 2.2.27 → 2.2.29

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
@@ -5378,9 +5378,13 @@ exports.EEvents = void 0;
5378
5378
  EEvents["CONTACT_EXPORT"] = "Contact.Export";
5379
5379
  EEvents["CONTACT_EXPORT_DOWNLOAD"] = "Contact.Export.Download";
5380
5380
  EEvents["CONTACT_TAGGED"] = "Contact.Tagged";
5381
+ EEvents["CONTACTS_TAGGED"] = "Contacts.Tagged";
5381
5382
  EEvents["CONTACT_UNTAGGED"] = "Contact.Untagged";
5383
+ EEvents["CONTACTS_UNTAGGED"] = "Contacts.Untagged";
5382
5384
  EEvents["CONTACT_INTERESTED"] = "Contact.Interested";
5385
+ EEvents["CONTACTS_INTERESTED"] = "Contacts.Interested";
5383
5386
  EEvents["CONTACT_UNINTERESTED"] = "Contact.Uninterested";
5387
+ EEvents["CONTACTS_UNINTERESTED"] = "Contacts.Uninterested";
5384
5388
  EEvents["SUPPRESSED_EMAIL_EXPORT_CREATED"] = "SuppressedEmail.Export.Created";
5385
5389
  EEvents["SUPPRESSED_EMAIL_EXPORT_DOWNLOAD"] = "SuppressedEmail.Export.Download";
5386
5390
  EEvents["SUPPRESSED_EMAIL_DELETED"] = "SuppressedEmail.Deleted";
@@ -10520,6 +10524,48 @@ function listContacts(_a) {
10520
10524
  useImpersonationTree: useImpersonationTree
10521
10525
  });
10522
10526
  }
10527
+ function deleteContact(_a) {
10528
+ var contactId = _a.contactId, listId = _a.listId;
10529
+ return callApi({
10530
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/contacts/").concat(contactId),
10531
+ fetchOptions: {
10532
+ method: exports.EMethods.delete
10533
+ }
10534
+ });
10535
+ }
10536
+ function unsubscribeContact(_a) {
10537
+ var contactId = _a.contactId, listId = _a.listId;
10538
+ return callApi({
10539
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/contacts/").concat(contactId, "/unsubscribe"),
10540
+ fetchOptions: {
10541
+ method: exports.EMethods.post
10542
+ }
10543
+ });
10544
+ }
10545
+ function tagContact(_a) {
10546
+ var contactId = _a.contactId, listId = _a.listId, tags = _a.tags;
10547
+ return callApi({
10548
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/contacts/").concat(contactId, "/tag"),
10549
+ fetchOptions: {
10550
+ method: exports.EMethods.post,
10551
+ body: {
10552
+ tags: tags
10553
+ }
10554
+ }
10555
+ });
10556
+ }
10557
+ function untagContact(_a) {
10558
+ var contactId = _a.contactId, listId = _a.listId, tags = _a.tags;
10559
+ return callApi({
10560
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/contacts/").concat(contactId, "/untag"),
10561
+ fetchOptions: {
10562
+ method: exports.EMethods.post,
10563
+ body: {
10564
+ tags: tags
10565
+ }
10566
+ }
10567
+ });
10568
+ }
10523
10569
 
10524
10570
  exports.EEmailLogTypeParam = void 0;
10525
10571
  (function (EEmailLogTypeParam) {
@@ -10859,19 +10905,99 @@ function listListInterests(_a) {
10859
10905
  },
10860
10906
  });
10861
10907
  }
10862
- function downloadContactsExport(_a) {
10908
+ function downloadListLogExport(_a) {
10863
10909
  var listId = _a.listId, exportId = _a.exportId;
10864
10910
  return callApi({
10865
- url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/exports/").concat(exportId, "/download"),
10911
+ url: uiKitConfig.GATEWAY_PROXY + "/logs/lists/".concat(listId, "/exports/").concat(exportId, "/download"),
10866
10912
  fetchOptions: {
10867
10913
  method: exports.EMethods.get,
10868
10914
  },
10869
10915
  });
10870
10916
  }
10871
- function downloadListLogExport(_a) {
10917
+ function tagsContactsOfList(_a) {
10918
+ var tags = _a.tags, contactIds = _a.contactIds, json = _a.json, listId = _a.listId;
10919
+ return callApi({
10920
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/contacts/tag"),
10921
+ fetchOptions: {
10922
+ method: exports.EMethods.post,
10923
+ body: {
10924
+ tags: tags,
10925
+ contact_ids: contactIds,
10926
+ json: json
10927
+ }
10928
+ },
10929
+ });
10930
+ }
10931
+ function untagContactsOfList(_a) {
10932
+ var tags = _a.tags, contactIds = _a.contactIds, json = _a.json, listId = _a.listId;
10933
+ return callApi({
10934
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/contacts/untag"),
10935
+ fetchOptions: {
10936
+ method: exports.EMethods.post,
10937
+ body: {
10938
+ tags: tags,
10939
+ contact_ids: contactIds,
10940
+ json: json
10941
+ }
10942
+ },
10943
+ });
10944
+ }
10945
+ function addInterestsToContactsOfList(_a) {
10946
+ var interests = _a.interests, contactIds = _a.contactIds, json = _a.json, listId = _a.listId;
10947
+ return callApi({
10948
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/contacts/add-interests"),
10949
+ fetchOptions: {
10950
+ method: exports.EMethods.post,
10951
+ body: {
10952
+ interests: interests,
10953
+ contact_ids: contactIds,
10954
+ json: json
10955
+ }
10956
+ },
10957
+ });
10958
+ }
10959
+ function removeInterestsFromContactsOfList(_a) {
10960
+ var interests = _a.interests, contactIds = _a.contactIds, json = _a.json, listId = _a.listId;
10961
+ return callApi({
10962
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/contacts/remove-interests"),
10963
+ fetchOptions: {
10964
+ method: exports.EMethods.post,
10965
+ body: {
10966
+ interests: interests,
10967
+ contact_ids: contactIds,
10968
+ json: json
10969
+ }
10970
+ },
10971
+ });
10972
+ }
10973
+ function createContactsExport(_a) {
10974
+ var listId = _a.listId, description = _a.description, json = _a.json, segmentId = _a.segmentId, filter = _a.filter;
10975
+ return callApi({
10976
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/exports"),
10977
+ fetchOptions: {
10978
+ method: exports.EMethods.post,
10979
+ body: {
10980
+ description: description,
10981
+ segment_id: segmentId,
10982
+ filter: filter,
10983
+ json: json
10984
+ }
10985
+ },
10986
+ });
10987
+ }
10988
+ function getContactsExport(_a) {
10872
10989
  var listId = _a.listId, exportId = _a.exportId;
10873
10990
  return callApi({
10874
- url: uiKitConfig.GATEWAY_PROXY + "/logs/lists/".concat(listId, "/exports/").concat(exportId, "/download"),
10991
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/exports/").concat(exportId),
10992
+ fetchOptions: {
10993
+ method: exports.EMethods.get,
10994
+ },
10995
+ });
10996
+ }
10997
+ function downloadContactsExport(_a) {
10998
+ var listId = _a.listId, exportId = _a.exportId;
10999
+ return callApi({
11000
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/exports/").concat(exportId, "/download"),
10875
11001
  fetchOptions: {
10876
11002
  method: exports.EMethods.get,
10877
11003
  },
@@ -11140,6 +11266,24 @@ function getSender(_a) {
11140
11266
  }
11141
11267
  });
11142
11268
  }
11269
+ function resendEmail(_a) {
11270
+ var id = _a.id;
11271
+ return callApi({
11272
+ url: uiKitConfig.GATEWAY_PROXY + "/brands/default/senders/".concat(id, "/resend-confirmation-email"),
11273
+ fetchOptions: {
11274
+ method: exports.EMethods.post
11275
+ }
11276
+ });
11277
+ }
11278
+ function deleteSender(_a) {
11279
+ var id = _a.id;
11280
+ return callApi({
11281
+ url: uiKitConfig.GATEWAY_PROXY + "brands/default/senders/".concat(id),
11282
+ fetchOptions: {
11283
+ method: exports.EMethods.delete
11284
+ }
11285
+ });
11286
+ }
11143
11287
 
11144
11288
  function addSuppressedEmail(_a) {
11145
11289
  var email = _a.email;
@@ -17899,6 +18043,7 @@ var ContactModel = /** @class */ (function () {
17899
18043
  this.custom_attributes = params.custom_attributes;
17900
18044
  this.tags = params.tags;
17901
18045
  this.interests = params.interests;
18046
+ this.listId = params.listId;
17902
18047
  }
17903
18048
  ContactModel.prototype.toJson = function () {
17904
18049
  return modelToJson(this);
@@ -17906,6 +18051,54 @@ var ContactModel = /** @class */ (function () {
17906
18051
  ContactModel.prototype.set = function (property, value) {
17907
18052
  modelSet(this, property, value);
17908
18053
  };
18054
+ ContactModel.prototype.delete = function () {
18055
+ return __awaiter(this, void 0, void 0, function () {
18056
+ var _this = this;
18057
+ return __generator(this, function (_a) {
18058
+ return [2 /*return*/, deleteContact({ contactId: this.id, listId: this.listId })
18059
+ .then(function (data) {
18060
+ trackEvent(exports.EEvents.CONTACT_DELETED, { contactId: _this.id, listId: _this.listId });
18061
+ return data;
18062
+ })];
18063
+ });
18064
+ });
18065
+ };
18066
+ ContactModel.prototype.unsubscribe = function () {
18067
+ return __awaiter(this, void 0, void 0, function () {
18068
+ var _this = this;
18069
+ return __generator(this, function (_a) {
18070
+ return [2 /*return*/, unsubscribeContact({ contactId: this.id, listId: this.listId })
18071
+ .then(function (data) {
18072
+ trackEvent(exports.EEvents.CONTACT_UNSUBSCRIBED, { contactId: _this.id, listId: _this.listId });
18073
+ return data;
18074
+ })];
18075
+ });
18076
+ });
18077
+ };
18078
+ ContactModel.prototype.tag = function (tags) {
18079
+ return __awaiter(this, void 0, void 0, function () {
18080
+ var _this = this;
18081
+ return __generator(this, function (_a) {
18082
+ return [2 /*return*/, tagContact({ contactId: this.id, listId: this.listId, tags: tags })
18083
+ .then(function (data) {
18084
+ trackEvent(exports.EEvents.CONTACT_TAGGED, { contactId: _this.id, listId: _this.listId, tags: tags });
18085
+ return data;
18086
+ })];
18087
+ });
18088
+ });
18089
+ };
18090
+ ContactModel.prototype.untag = function (tags) {
18091
+ return __awaiter(this, void 0, void 0, function () {
18092
+ var _this = this;
18093
+ return __generator(this, function (_a) {
18094
+ return [2 /*return*/, untagContact({ contactId: this.id, listId: this.listId, tags: tags })
18095
+ .then(function (data) {
18096
+ trackEvent(exports.EEvents.CONTACT_UNTAGGED, { contactId: _this.id, listId: _this.listId, tags: tags });
18097
+ return data;
18098
+ })];
18099
+ });
18100
+ });
18101
+ };
17909
18102
  return ContactModel;
17910
18103
  }());
17911
18104
 
@@ -17917,7 +18110,7 @@ var ContactsFactory = /** @class */ (function () {
17917
18110
  var options = __rest(_a, []);
17918
18111
  return __generator(this, function (_b) {
17919
18112
  return [2 /*return*/, listContacts(options).then(function (data) {
17920
- data.data = data.data.map(function (contact) { return new ContactModel(contact); });
18113
+ data.data = data.data.map(function (contact) { return new ContactModel(__assign(__assign({}, contact), { listId: options.listId })); });
17921
18114
  return data;
17922
18115
  })];
17923
18116
  });
@@ -18329,6 +18522,91 @@ var ListModel = /** @class */ (function () {
18329
18522
  });
18330
18523
  });
18331
18524
  };
18525
+ ListModel.prototype.tagsContacts = function (_a) {
18526
+ return __awaiter(this, arguments, void 0, function (_b) {
18527
+ var _this = this;
18528
+ var tags = _b.tags, contactIds = _b.contactIds, json = _b.json;
18529
+ return __generator(this, function (_c) {
18530
+ return [2 /*return*/, tagsContactsOfList({ tags: tags, contactIds: contactIds, json: json, listId: this.id })
18531
+ .then(function (data) {
18532
+ trackEvent(exports.EEvents.CONTACTS_TAGGED, { listId: _this.id, tags: tags });
18533
+ return data;
18534
+ })];
18535
+ });
18536
+ });
18537
+ };
18538
+ ListModel.prototype.untagContacts = function (_a) {
18539
+ return __awaiter(this, arguments, void 0, function (_b) {
18540
+ var _this = this;
18541
+ var tags = _b.tags, contactIds = _b.contactIds, json = _b.json;
18542
+ return __generator(this, function (_c) {
18543
+ return [2 /*return*/, untagContactsOfList({ tags: tags, contactIds: contactIds, json: json, listId: this.id })
18544
+ .then(function (data) {
18545
+ trackEvent(exports.EEvents.CONTACTS_UNTAGGED, { listId: _this.id, tags: tags });
18546
+ return data;
18547
+ })];
18548
+ });
18549
+ });
18550
+ };
18551
+ ListModel.prototype.addInterestsToContacts = function (_a) {
18552
+ return __awaiter(this, arguments, void 0, function (_b) {
18553
+ var _this = this;
18554
+ var interests = _b.interests, contactIds = _b.contactIds, json = _b.json;
18555
+ return __generator(this, function (_c) {
18556
+ return [2 /*return*/, addInterestsToContactsOfList({ interests: interests, contactIds: contactIds, json: json, listId: this.id })
18557
+ .then(function (data) {
18558
+ trackEvent(exports.EEvents.CONTACTS_INTERESTED, { listId: _this.id, interests: interests });
18559
+ return data;
18560
+ })];
18561
+ });
18562
+ });
18563
+ };
18564
+ ListModel.prototype.removeInterestsFromContacts = function (_a) {
18565
+ return __awaiter(this, arguments, void 0, function (_b) {
18566
+ var _this = this;
18567
+ var interests = _b.interests, contactIds = _b.contactIds, json = _b.json;
18568
+ return __generator(this, function (_c) {
18569
+ return [2 /*return*/, removeInterestsFromContactsOfList({ interests: interests, contactIds: contactIds, json: json, listId: this.id })
18570
+ .then(function (data) {
18571
+ trackEvent(exports.EEvents.CONTACTS_UNINTERESTED, { listId: _this.id, interests: interests });
18572
+ return data;
18573
+ })];
18574
+ });
18575
+ });
18576
+ };
18577
+ ListModel.prototype.exportContacts = function (_a) {
18578
+ return __awaiter(this, arguments, void 0, function (_b) {
18579
+ var _this = this;
18580
+ var description = _b.description, json = _b.json, segmentId = _b.segmentId, filter = _b.filter;
18581
+ return __generator(this, function (_c) {
18582
+ return [2 /*return*/, createContactsExport({ listId: this.id, description: description, json: json, segmentId: segmentId, filter: filter })
18583
+ .then(function (data) {
18584
+ trackEvent(exports.EEvents.CONTACT_EXPORT, { listId: _this.id });
18585
+ return data;
18586
+ })];
18587
+ });
18588
+ });
18589
+ };
18590
+ ListModel.prototype.getExport = function (_a) {
18591
+ return __awaiter(this, arguments, void 0, function (_b) {
18592
+ var exportId = _b.exportId;
18593
+ return __generator(this, function (_c) {
18594
+ return [2 /*return*/, getContactsExport({ listId: this.id, exportId: exportId })];
18595
+ });
18596
+ });
18597
+ };
18598
+ ListModel.prototype.downloadExport = function (_a) {
18599
+ return __awaiter(this, arguments, void 0, function (_b) {
18600
+ var _this = this;
18601
+ var exportId = _b.exportId;
18602
+ return __generator(this, function (_c) {
18603
+ return [2 /*return*/, downloadContactsExport({ listId: this.id, exportId: exportId }).then(function (data) {
18604
+ trackEvent(exports.EEvents.CONTACT_EXPORT_DOWNLOAD, { listId: _this.id, exportId: exportId });
18605
+ return data;
18606
+ })];
18607
+ });
18608
+ });
18609
+ };
18332
18610
  return ListModel;
18333
18611
  }());
18334
18612
 
@@ -18643,6 +18921,28 @@ var SenderModel = /** @class */ (function () {
18643
18921
  SenderModel.prototype.set = function (property, value) {
18644
18922
  modelSet(this, property, value);
18645
18923
  };
18924
+ SenderModel.prototype.resendVerificationEmail = function () {
18925
+ return __awaiter(this, void 0, void 0, function () {
18926
+ var _this = this;
18927
+ return __generator(this, function (_a) {
18928
+ return [2 /*return*/, resendEmail({ id: this.id }).then(function (data) {
18929
+ trackEvent(exports.EEvents.SENDER_CONFIRMATION_SENT, { id: _this.id });
18930
+ return data.data;
18931
+ })];
18932
+ });
18933
+ });
18934
+ };
18935
+ SenderModel.prototype.delete = function () {
18936
+ return __awaiter(this, void 0, void 0, function () {
18937
+ var _this = this;
18938
+ return __generator(this, function (_a) {
18939
+ return [2 /*return*/, deleteSender({ id: this.id }).then(function (data) {
18940
+ trackEvent(exports.EEvents.SENDER_DELETED, { id: _this.id });
18941
+ return data;
18942
+ })];
18943
+ });
18944
+ });
18945
+ };
18646
18946
  return SenderModel;
18647
18947
  }());
18648
18948
 
@@ -19515,6 +19815,7 @@ exports.Typography = Typography;
19515
19815
  exports.UserModel = UserModel;
19516
19816
  exports.UsersFactory = UsersFactory;
19517
19817
  exports.acceptListPolicy = acceptListPolicy;
19818
+ exports.addInterestsToContactsOfList = addInterestsToContactsOfList;
19518
19819
  exports.addPartialInformation = addPartialInformation;
19519
19820
  exports.addSuppressedEmail = addSuppressedEmail;
19520
19821
  exports.addToImpersonificationTree = addToImpersonificationTree;
@@ -19538,6 +19839,7 @@ exports.createBrand = createBrand;
19538
19839
  exports.createCampaign = createCampaign;
19539
19840
  exports.createCampaignLogsExports = createCampaignLogsExports;
19540
19841
  exports.createCampaignsReportsExport = createCampaignsReportsExport;
19842
+ exports.createContactsExport = createContactsExport;
19541
19843
  exports.createForm = createForm;
19542
19844
  exports.createPage = createPage;
19543
19845
  exports.createPopup = createPopup;
@@ -19549,11 +19851,13 @@ exports.deleteAnyAutomation = deleteAnyAutomation;
19549
19851
  exports.deleteAutomation = deleteAutomation;
19550
19852
  exports.deleteCampaign = deleteCampaign;
19551
19853
  exports.deleteCampaignsReportsExport = deleteCampaignsReportsExport;
19854
+ exports.deleteContact = deleteContact;
19552
19855
  exports.deleteForm = deleteForm;
19553
19856
  exports.deleteList = deleteList;
19554
19857
  exports.deletePage = deletePage;
19555
19858
  exports.deletePartialInformation = deletePartialInformation;
19556
19859
  exports.deletePopup = deletePopup;
19860
+ exports.deleteSender = deleteSender;
19557
19861
  exports.deleteStorageItem = deleteStorageItem;
19558
19862
  exports.deleteSuppressedEmail = deleteSuppressedEmail;
19559
19863
  exports.deleteTaskService = deleteTaskService;
@@ -19607,6 +19911,7 @@ exports.getCampaignReport = getCampaignReport;
19607
19911
  exports.getCampaignRevisions = getCampaignRevisions;
19608
19912
  exports.getCampaignsReportsExport = getCampaignsReportsExport;
19609
19913
  exports.getComparator = getComparator;
19914
+ exports.getContactsExport = getContactsExport;
19610
19915
  exports.getCustomerProfile = getCustomerProfile;
19611
19916
  exports.getDate = getDate;
19612
19917
  exports.getDomainFromEmail = getDomainFromEmail;
@@ -19682,6 +19987,7 @@ exports.publishPage = publishPage;
19682
19987
  exports.publishPopup = publishPopup;
19683
19988
  exports.reScheduleCampaign = reScheduleCampaign;
19684
19989
  exports.removeEmptyProperties = removeEmptyProperties;
19990
+ exports.removeInterestsFromContactsOfList = removeInterestsFromContactsOfList;
19685
19991
  exports.removeQueryParams = removeQueryParams;
19686
19992
  exports.removeTrailingChar = removeTrailingChar;
19687
19993
  exports.renderCampaign = renderCampaign;
@@ -19692,6 +19998,7 @@ exports.renderPopup = renderPopup;
19692
19998
  exports.renderPublicHtmlForm = renderPublicHtmlForm;
19693
19999
  exports.renderTemplate = renderTemplate;
19694
20000
  exports.requestSupportService = requestSupportService;
20001
+ exports.resendEmail = resendEmail;
19695
20002
  exports.resendVerificationEmail = resendVerificationEmail;
19696
20003
  exports.resumeCampaign = resumeCampaign;
19697
20004
  exports.saveList = saveList;
@@ -19707,6 +20014,8 @@ exports.stableSort = stableSort;
19707
20014
  exports.startPromisePool = startPromisePool;
19708
20015
  exports.suspendAccount = suspendAccount;
19709
20016
  exports.suspendCampaign = suspendCampaign;
20017
+ exports.tagContact = tagContact;
20018
+ exports.tagsContactsOfList = tagsContactsOfList;
19710
20019
  exports.trackEvent = trackEvent;
19711
20020
  exports.truncateEmail = truncateEmail;
19712
20021
  exports.truncateText = truncateText;
@@ -19715,6 +20024,9 @@ exports.unArchiveCampaign = unArchiveCampaign;
19715
20024
  exports.unScheduleCampaign = unScheduleCampaign;
19716
20025
  exports.unSuspendAccount = unSuspendAccount;
19717
20026
  exports.unshareTemplate = unshareTemplate;
20027
+ exports.unsubscribeContact = unsubscribeContact;
20028
+ exports.untagContact = untagContact;
20029
+ exports.untagContactsOfList = untagContactsOfList;
19718
20030
  exports.updateAccount = updateAccount;
19719
20031
  exports.updateAndClearUrlParams = updateAndClearUrlParams;
19720
20032
  exports.updateAnyAutomation = updateAnyAutomation;
@@ -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
+ tagsContacts({ tags, contactIds, json }: {
29
+ tags: string[];
30
+ contactIds?: number[];
31
+ json?: boolean;
32
+ }): Promise<TActionApiResource>;
33
+ untagContacts({ 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";
@@ -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
+ };
@@ -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";
@@ -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";
@@ -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
  };
@@ -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",
package/dist/esm/index.js CHANGED
@@ -5358,9 +5358,13 @@ var EEvents;
5358
5358
  EEvents["CONTACT_EXPORT"] = "Contact.Export";
5359
5359
  EEvents["CONTACT_EXPORT_DOWNLOAD"] = "Contact.Export.Download";
5360
5360
  EEvents["CONTACT_TAGGED"] = "Contact.Tagged";
5361
+ EEvents["CONTACTS_TAGGED"] = "Contacts.Tagged";
5361
5362
  EEvents["CONTACT_UNTAGGED"] = "Contact.Untagged";
5363
+ EEvents["CONTACTS_UNTAGGED"] = "Contacts.Untagged";
5362
5364
  EEvents["CONTACT_INTERESTED"] = "Contact.Interested";
5365
+ EEvents["CONTACTS_INTERESTED"] = "Contacts.Interested";
5363
5366
  EEvents["CONTACT_UNINTERESTED"] = "Contact.Uninterested";
5367
+ EEvents["CONTACTS_UNINTERESTED"] = "Contacts.Uninterested";
5364
5368
  EEvents["SUPPRESSED_EMAIL_EXPORT_CREATED"] = "SuppressedEmail.Export.Created";
5365
5369
  EEvents["SUPPRESSED_EMAIL_EXPORT_DOWNLOAD"] = "SuppressedEmail.Export.Download";
5366
5370
  EEvents["SUPPRESSED_EMAIL_DELETED"] = "SuppressedEmail.Deleted";
@@ -10500,6 +10504,48 @@ function listContacts(_a) {
10500
10504
  useImpersonationTree: useImpersonationTree
10501
10505
  });
10502
10506
  }
10507
+ function deleteContact(_a) {
10508
+ var contactId = _a.contactId, listId = _a.listId;
10509
+ return callApi({
10510
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/contacts/").concat(contactId),
10511
+ fetchOptions: {
10512
+ method: EMethods.delete
10513
+ }
10514
+ });
10515
+ }
10516
+ function unsubscribeContact(_a) {
10517
+ var contactId = _a.contactId, listId = _a.listId;
10518
+ return callApi({
10519
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/contacts/").concat(contactId, "/unsubscribe"),
10520
+ fetchOptions: {
10521
+ method: EMethods.post
10522
+ }
10523
+ });
10524
+ }
10525
+ function tagContact(_a) {
10526
+ var contactId = _a.contactId, listId = _a.listId, tags = _a.tags;
10527
+ return callApi({
10528
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/contacts/").concat(contactId, "/tag"),
10529
+ fetchOptions: {
10530
+ method: EMethods.post,
10531
+ body: {
10532
+ tags: tags
10533
+ }
10534
+ }
10535
+ });
10536
+ }
10537
+ function untagContact(_a) {
10538
+ var contactId = _a.contactId, listId = _a.listId, tags = _a.tags;
10539
+ return callApi({
10540
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/contacts/").concat(contactId, "/untag"),
10541
+ fetchOptions: {
10542
+ method: EMethods.post,
10543
+ body: {
10544
+ tags: tags
10545
+ }
10546
+ }
10547
+ });
10548
+ }
10503
10549
 
10504
10550
  var EEmailLogTypeParam;
10505
10551
  (function (EEmailLogTypeParam) {
@@ -10839,19 +10885,99 @@ function listListInterests(_a) {
10839
10885
  },
10840
10886
  });
10841
10887
  }
10842
- function downloadContactsExport(_a) {
10888
+ function downloadListLogExport(_a) {
10843
10889
  var listId = _a.listId, exportId = _a.exportId;
10844
10890
  return callApi({
10845
- url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/exports/").concat(exportId, "/download"),
10891
+ url: uiKitConfig.GATEWAY_PROXY + "/logs/lists/".concat(listId, "/exports/").concat(exportId, "/download"),
10846
10892
  fetchOptions: {
10847
10893
  method: EMethods.get,
10848
10894
  },
10849
10895
  });
10850
10896
  }
10851
- function downloadListLogExport(_a) {
10897
+ function tagsContactsOfList(_a) {
10898
+ var tags = _a.tags, contactIds = _a.contactIds, json = _a.json, listId = _a.listId;
10899
+ return callApi({
10900
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/contacts/tag"),
10901
+ fetchOptions: {
10902
+ method: EMethods.post,
10903
+ body: {
10904
+ tags: tags,
10905
+ contact_ids: contactIds,
10906
+ json: json
10907
+ }
10908
+ },
10909
+ });
10910
+ }
10911
+ function untagContactsOfList(_a) {
10912
+ var tags = _a.tags, contactIds = _a.contactIds, json = _a.json, listId = _a.listId;
10913
+ return callApi({
10914
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/contacts/untag"),
10915
+ fetchOptions: {
10916
+ method: EMethods.post,
10917
+ body: {
10918
+ tags: tags,
10919
+ contact_ids: contactIds,
10920
+ json: json
10921
+ }
10922
+ },
10923
+ });
10924
+ }
10925
+ function addInterestsToContactsOfList(_a) {
10926
+ var interests = _a.interests, contactIds = _a.contactIds, json = _a.json, listId = _a.listId;
10927
+ return callApi({
10928
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/contacts/add-interests"),
10929
+ fetchOptions: {
10930
+ method: EMethods.post,
10931
+ body: {
10932
+ interests: interests,
10933
+ contact_ids: contactIds,
10934
+ json: json
10935
+ }
10936
+ },
10937
+ });
10938
+ }
10939
+ function removeInterestsFromContactsOfList(_a) {
10940
+ var interests = _a.interests, contactIds = _a.contactIds, json = _a.json, listId = _a.listId;
10941
+ return callApi({
10942
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/contacts/remove-interests"),
10943
+ fetchOptions: {
10944
+ method: EMethods.post,
10945
+ body: {
10946
+ interests: interests,
10947
+ contact_ids: contactIds,
10948
+ json: json
10949
+ }
10950
+ },
10951
+ });
10952
+ }
10953
+ function createContactsExport(_a) {
10954
+ var listId = _a.listId, description = _a.description, json = _a.json, segmentId = _a.segmentId, filter = _a.filter;
10955
+ return callApi({
10956
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/exports"),
10957
+ fetchOptions: {
10958
+ method: EMethods.post,
10959
+ body: {
10960
+ description: description,
10961
+ segment_id: segmentId,
10962
+ filter: filter,
10963
+ json: json
10964
+ }
10965
+ },
10966
+ });
10967
+ }
10968
+ function getContactsExport(_a) {
10852
10969
  var listId = _a.listId, exportId = _a.exportId;
10853
10970
  return callApi({
10854
- url: uiKitConfig.GATEWAY_PROXY + "/logs/lists/".concat(listId, "/exports/").concat(exportId, "/download"),
10971
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/exports/").concat(exportId),
10972
+ fetchOptions: {
10973
+ method: EMethods.get,
10974
+ },
10975
+ });
10976
+ }
10977
+ function downloadContactsExport(_a) {
10978
+ var listId = _a.listId, exportId = _a.exportId;
10979
+ return callApi({
10980
+ url: uiKitConfig.GATEWAY_PROXY + "/lists/".concat(listId, "/exports/").concat(exportId, "/download"),
10855
10981
  fetchOptions: {
10856
10982
  method: EMethods.get,
10857
10983
  },
@@ -11120,6 +11246,24 @@ function getSender(_a) {
11120
11246
  }
11121
11247
  });
11122
11248
  }
11249
+ function resendEmail(_a) {
11250
+ var id = _a.id;
11251
+ return callApi({
11252
+ url: uiKitConfig.GATEWAY_PROXY + "/brands/default/senders/".concat(id, "/resend-confirmation-email"),
11253
+ fetchOptions: {
11254
+ method: EMethods.post
11255
+ }
11256
+ });
11257
+ }
11258
+ function deleteSender(_a) {
11259
+ var id = _a.id;
11260
+ return callApi({
11261
+ url: uiKitConfig.GATEWAY_PROXY + "brands/default/senders/".concat(id),
11262
+ fetchOptions: {
11263
+ method: EMethods.delete
11264
+ }
11265
+ });
11266
+ }
11123
11267
 
11124
11268
  function addSuppressedEmail(_a) {
11125
11269
  var email = _a.email;
@@ -17879,6 +18023,7 @@ var ContactModel = /** @class */ (function () {
17879
18023
  this.custom_attributes = params.custom_attributes;
17880
18024
  this.tags = params.tags;
17881
18025
  this.interests = params.interests;
18026
+ this.listId = params.listId;
17882
18027
  }
17883
18028
  ContactModel.prototype.toJson = function () {
17884
18029
  return modelToJson(this);
@@ -17886,6 +18031,54 @@ var ContactModel = /** @class */ (function () {
17886
18031
  ContactModel.prototype.set = function (property, value) {
17887
18032
  modelSet(this, property, value);
17888
18033
  };
18034
+ ContactModel.prototype.delete = function () {
18035
+ return __awaiter(this, void 0, void 0, function () {
18036
+ var _this = this;
18037
+ return __generator(this, function (_a) {
18038
+ return [2 /*return*/, deleteContact({ contactId: this.id, listId: this.listId })
18039
+ .then(function (data) {
18040
+ trackEvent(EEvents.CONTACT_DELETED, { contactId: _this.id, listId: _this.listId });
18041
+ return data;
18042
+ })];
18043
+ });
18044
+ });
18045
+ };
18046
+ ContactModel.prototype.unsubscribe = function () {
18047
+ return __awaiter(this, void 0, void 0, function () {
18048
+ var _this = this;
18049
+ return __generator(this, function (_a) {
18050
+ return [2 /*return*/, unsubscribeContact({ contactId: this.id, listId: this.listId })
18051
+ .then(function (data) {
18052
+ trackEvent(EEvents.CONTACT_UNSUBSCRIBED, { contactId: _this.id, listId: _this.listId });
18053
+ return data;
18054
+ })];
18055
+ });
18056
+ });
18057
+ };
18058
+ ContactModel.prototype.tag = function (tags) {
18059
+ return __awaiter(this, void 0, void 0, function () {
18060
+ var _this = this;
18061
+ return __generator(this, function (_a) {
18062
+ return [2 /*return*/, tagContact({ contactId: this.id, listId: this.listId, tags: tags })
18063
+ .then(function (data) {
18064
+ trackEvent(EEvents.CONTACT_TAGGED, { contactId: _this.id, listId: _this.listId, tags: tags });
18065
+ return data;
18066
+ })];
18067
+ });
18068
+ });
18069
+ };
18070
+ ContactModel.prototype.untag = function (tags) {
18071
+ return __awaiter(this, void 0, void 0, function () {
18072
+ var _this = this;
18073
+ return __generator(this, function (_a) {
18074
+ return [2 /*return*/, untagContact({ contactId: this.id, listId: this.listId, tags: tags })
18075
+ .then(function (data) {
18076
+ trackEvent(EEvents.CONTACT_UNTAGGED, { contactId: _this.id, listId: _this.listId, tags: tags });
18077
+ return data;
18078
+ })];
18079
+ });
18080
+ });
18081
+ };
17889
18082
  return ContactModel;
17890
18083
  }());
17891
18084
 
@@ -17897,7 +18090,7 @@ var ContactsFactory = /** @class */ (function () {
17897
18090
  var options = __rest(_a, []);
17898
18091
  return __generator(this, function (_b) {
17899
18092
  return [2 /*return*/, listContacts(options).then(function (data) {
17900
- data.data = data.data.map(function (contact) { return new ContactModel(contact); });
18093
+ data.data = data.data.map(function (contact) { return new ContactModel(__assign(__assign({}, contact), { listId: options.listId })); });
17901
18094
  return data;
17902
18095
  })];
17903
18096
  });
@@ -18309,6 +18502,91 @@ var ListModel = /** @class */ (function () {
18309
18502
  });
18310
18503
  });
18311
18504
  };
18505
+ ListModel.prototype.tagsContacts = function (_a) {
18506
+ return __awaiter(this, arguments, void 0, function (_b) {
18507
+ var _this = this;
18508
+ var tags = _b.tags, contactIds = _b.contactIds, json = _b.json;
18509
+ return __generator(this, function (_c) {
18510
+ return [2 /*return*/, tagsContactsOfList({ tags: tags, contactIds: contactIds, json: json, listId: this.id })
18511
+ .then(function (data) {
18512
+ trackEvent(EEvents.CONTACTS_TAGGED, { listId: _this.id, tags: tags });
18513
+ return data;
18514
+ })];
18515
+ });
18516
+ });
18517
+ };
18518
+ ListModel.prototype.untagContacts = function (_a) {
18519
+ return __awaiter(this, arguments, void 0, function (_b) {
18520
+ var _this = this;
18521
+ var tags = _b.tags, contactIds = _b.contactIds, json = _b.json;
18522
+ return __generator(this, function (_c) {
18523
+ return [2 /*return*/, untagContactsOfList({ tags: tags, contactIds: contactIds, json: json, listId: this.id })
18524
+ .then(function (data) {
18525
+ trackEvent(EEvents.CONTACTS_UNTAGGED, { listId: _this.id, tags: tags });
18526
+ return data;
18527
+ })];
18528
+ });
18529
+ });
18530
+ };
18531
+ ListModel.prototype.addInterestsToContacts = function (_a) {
18532
+ return __awaiter(this, arguments, void 0, function (_b) {
18533
+ var _this = this;
18534
+ var interests = _b.interests, contactIds = _b.contactIds, json = _b.json;
18535
+ return __generator(this, function (_c) {
18536
+ return [2 /*return*/, addInterestsToContactsOfList({ interests: interests, contactIds: contactIds, json: json, listId: this.id })
18537
+ .then(function (data) {
18538
+ trackEvent(EEvents.CONTACTS_INTERESTED, { listId: _this.id, interests: interests });
18539
+ return data;
18540
+ })];
18541
+ });
18542
+ });
18543
+ };
18544
+ ListModel.prototype.removeInterestsFromContacts = function (_a) {
18545
+ return __awaiter(this, arguments, void 0, function (_b) {
18546
+ var _this = this;
18547
+ var interests = _b.interests, contactIds = _b.contactIds, json = _b.json;
18548
+ return __generator(this, function (_c) {
18549
+ return [2 /*return*/, removeInterestsFromContactsOfList({ interests: interests, contactIds: contactIds, json: json, listId: this.id })
18550
+ .then(function (data) {
18551
+ trackEvent(EEvents.CONTACTS_UNINTERESTED, { listId: _this.id, interests: interests });
18552
+ return data;
18553
+ })];
18554
+ });
18555
+ });
18556
+ };
18557
+ ListModel.prototype.exportContacts = function (_a) {
18558
+ return __awaiter(this, arguments, void 0, function (_b) {
18559
+ var _this = this;
18560
+ var description = _b.description, json = _b.json, segmentId = _b.segmentId, filter = _b.filter;
18561
+ return __generator(this, function (_c) {
18562
+ return [2 /*return*/, createContactsExport({ listId: this.id, description: description, json: json, segmentId: segmentId, filter: filter })
18563
+ .then(function (data) {
18564
+ trackEvent(EEvents.CONTACT_EXPORT, { listId: _this.id });
18565
+ return data;
18566
+ })];
18567
+ });
18568
+ });
18569
+ };
18570
+ ListModel.prototype.getExport = function (_a) {
18571
+ return __awaiter(this, arguments, void 0, function (_b) {
18572
+ var exportId = _b.exportId;
18573
+ return __generator(this, function (_c) {
18574
+ return [2 /*return*/, getContactsExport({ listId: this.id, exportId: exportId })];
18575
+ });
18576
+ });
18577
+ };
18578
+ ListModel.prototype.downloadExport = function (_a) {
18579
+ return __awaiter(this, arguments, void 0, function (_b) {
18580
+ var _this = this;
18581
+ var exportId = _b.exportId;
18582
+ return __generator(this, function (_c) {
18583
+ return [2 /*return*/, downloadContactsExport({ listId: this.id, exportId: exportId }).then(function (data) {
18584
+ trackEvent(EEvents.CONTACT_EXPORT_DOWNLOAD, { listId: _this.id, exportId: exportId });
18585
+ return data;
18586
+ })];
18587
+ });
18588
+ });
18589
+ };
18312
18590
  return ListModel;
18313
18591
  }());
18314
18592
 
@@ -18623,6 +18901,28 @@ var SenderModel = /** @class */ (function () {
18623
18901
  SenderModel.prototype.set = function (property, value) {
18624
18902
  modelSet(this, property, value);
18625
18903
  };
18904
+ SenderModel.prototype.resendVerificationEmail = function () {
18905
+ return __awaiter(this, void 0, void 0, function () {
18906
+ var _this = this;
18907
+ return __generator(this, function (_a) {
18908
+ return [2 /*return*/, resendEmail({ id: this.id }).then(function (data) {
18909
+ trackEvent(EEvents.SENDER_CONFIRMATION_SENT, { id: _this.id });
18910
+ return data.data;
18911
+ })];
18912
+ });
18913
+ });
18914
+ };
18915
+ SenderModel.prototype.delete = function () {
18916
+ return __awaiter(this, void 0, void 0, function () {
18917
+ var _this = this;
18918
+ return __generator(this, function (_a) {
18919
+ return [2 /*return*/, deleteSender({ id: this.id }).then(function (data) {
18920
+ trackEvent(EEvents.SENDER_DELETED, { id: _this.id });
18921
+ return data;
18922
+ })];
18923
+ });
18924
+ });
18925
+ };
18626
18926
  return SenderModel;
18627
18927
  }());
18628
18928
 
@@ -19383,4 +19683,4 @@ var UsersFactory = /** @class */ (function () {
19383
19683
  return UsersFactory;
19384
19684
  }());
19385
19685
 
19386
- 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, SupportFactory, SuppressedEmailsFactory, SystemEmailsFactory, SystemEmailsModel, TagsFactory, TasksFactory, TemplateModel, TemplatesFactory, TextField, TimePicker, TimeSelector, Toggle, TopMenu, Typography, UserModel, UsersFactory, acceptListPolicy, addPartialInformation, addSuppressedEmail, addToImpersonificationTree, amIImpersonating, amILoggedInService, archiveCampaign, areAllPropertiesEmpty, buildMUITheme, callApi, camelCase, camelToSnakeCase, cancelCampaign, capitalizeFirstLetter, cleanPostHogId, clearImpersonificationTree, clearStorage, connectToZendeskSupportService, copyToClipboard, createAccount, createBrand, createCampaign, createCampaignLogsExports, createCampaignsReportsExport, createForm, createPage, createPopup, createSuppressedEmailExport, createTemplate, deepMergeObject, deleteAccount, deleteAnyAutomation, deleteAutomation, deleteCampaign, deleteCampaignsReportsExport, deleteForm, deleteList, deletePage, deletePartialInformation, deletePopup, 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, getAccountReport, getAdjustedBillingCycle, getAllAutomationStats, getAutomation, getAutomationEmailContent, getAutomationExecutionsCount, getAutomationStats, 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, 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, removeQueryParams, removeTrailingChar, renderCampaign, renderEmail, renderForm, renderPage, renderPopup, renderPublicHtmlForm, renderTemplate, requestSupportService, resendVerificationEmail, resumeCampaign, saveList, scheduleCampaign, searchCustomerProfiles, sendCampaignTest, setBrandHeadElements, setStorage, shareTemplate, splitArray, splitObject, stableSort, startPromisePool, suspendAccount, suspendCampaign, trackEvent, truncateEmail, truncateText, uiKitConfig, unArchiveCampaign, unScheduleCampaign, unSuspendAccount, unshareTemplate, updateAccount, updateAndClearUrlParams, updateAnyAutomation, updateAutomation, updateCampaign, updatePage, updatePopup, updateSystemEmails, updateTemplate, updateUser, updateWorkflow, validateColor, validateEmail, validateGenericInput, validateUrl, wait, whiteLabelBrand, whoAmi };
19686
+ 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, SupportFactory, 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, connectToZendeskSupportService, 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, 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,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
+ tagsContacts({ tags, contactIds, json }: {
29
+ tags: string[];
30
+ contactIds?: number[];
31
+ json?: boolean;
32
+ }): Promise<TActionApiResource>;
33
+ untagContacts({ 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";
@@ -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
+ };
@@ -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";
@@ -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";
@@ -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
  };
@@ -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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.2.27",
3
+ "version": "2.2.29",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",