@social-mail/social-mail-client 1.2.788 → 1.4.2

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 (81) hide show
  1. package/dist/admin/AdminAppIndex.pack.js +53 -25
  2. package/dist/admin/AdminAppIndex.pack.js.map +1 -1
  3. package/dist/admin/AdminAppIndex.pack.min.js +4 -4
  4. package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
  5. package/dist/model/model.d.ts +7 -7
  6. package/dist/model/model.d.ts.map +1 -1
  7. package/dist/model/model.js +18 -9
  8. package/dist/model/model.js.map +1 -1
  9. package/dist/public/channel/BlogImageService.d.ts +2 -2
  10. package/dist/public/channel/BlogImageService.d.ts.map +1 -1
  11. package/dist/public/channel/BlogImageService.js +2 -6
  12. package/dist/public/channel/BlogImageService.js.map +1 -1
  13. package/dist/public/channel/BlogService.d.ts +1 -1
  14. package/dist/public/channel/BlogService.d.ts.map +1 -1
  15. package/dist/public/channel/BlogService.js +3 -3
  16. package/dist/public/channel/BlogService.js.map +1 -1
  17. package/dist/public/channel/ChannelApp.pack.js +60 -36
  18. package/dist/public/channel/ChannelApp.pack.js.map +1 -1
  19. package/dist/public/channel/ChannelApp.pack.min.js +5 -5
  20. package/dist/public/channel/ChannelApp.pack.min.js.map +1 -1
  21. package/dist/public/channel/PostSummary.d.ts +2 -2
  22. package/dist/public/channel/PostSummary.d.ts.map +1 -1
  23. package/dist/public/channel/UrlService.d.ts +2 -2
  24. package/dist/public/channel/UrlService.d.ts.map +1 -1
  25. package/dist/public/channel/controls/PostList.d.ts +2 -2
  26. package/dist/public/channel/controls/PostList.d.ts.map +1 -1
  27. package/dist/public/channel/controls/PostList.js +5 -5
  28. package/dist/public/channel/controls/PostList.js.map +1 -1
  29. package/dist/public/channel/controls/RecentPosts.d.ts +2 -2
  30. package/dist/public/channel/controls/RecentPosts.d.ts.map +1 -1
  31. package/dist/public/channel/controls/UpcomingEvents.d.ts +2 -2
  32. package/dist/public/preview/zip/DownloadZip.pack.js +45 -10
  33. package/dist/public/preview/zip/DownloadZip.pack.js.map +1 -1
  34. package/dist/public/preview/zip/DownloadZip.pack.min.js +1 -1
  35. package/dist/public/preview/zip/DownloadZip.pack.min.js.map +1 -1
  36. package/dist/public/store/StoreApp.pack.js +45 -10
  37. package/dist/public/store/StoreApp.pack.js.map +1 -1
  38. package/dist/public/store/StoreApp.pack.min.js +2 -2
  39. package/dist/public/store/StoreApp.pack.min.js.map +1 -1
  40. package/dist/public/store/cart/ShoppingCart.pack.js +45 -10
  41. package/dist/public/store/cart/ShoppingCart.pack.js.map +1 -1
  42. package/dist/public/store/cart/ShoppingCart.pack.min.js +2 -2
  43. package/dist/public/store/cart/ShoppingCart.pack.min.js.map +1 -1
  44. package/dist/site-editor-app/SiteEditorApp.pack.js +53 -25
  45. package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
  46. package/dist/site-editor-app/SiteEditorApp.pack.min.js +4 -4
  47. package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
  48. package/dist/tsconfig.tsbuildinfo +1 -1
  49. package/dist/web/AppIndex.pack.js +53 -25
  50. package/dist/web/AppIndex.pack.js.map +1 -1
  51. package/dist/web/AppIndex.pack.min.js +4 -4
  52. package/dist/web/AppIndex.pack.min.js.map +1 -1
  53. package/dist/web/page/channels/services/ChannelService.d.ts.map +1 -1
  54. package/dist/web/page/channels/services/ChannelService.js +3 -3
  55. package/dist/web/page/channels/services/ChannelService.js.map +1 -1
  56. package/dist/web/page/mails/service/ConversationService.d.ts.map +1 -1
  57. package/dist/web/page/mails/service/ConversationService.js +5 -12
  58. package/dist/web/page/mails/service/ConversationService.js.map +1 -1
  59. package/node_modules/@web-atoms/entity/dist/services/BaseEntityService.d.ts +4 -1
  60. package/node_modules/@web-atoms/entity/dist/services/BaseEntityService.d.ts.map +1 -1
  61. package/node_modules/@web-atoms/entity/dist/services/BaseEntityService.js +21 -0
  62. package/node_modules/@web-atoms/entity/dist/services/BaseEntityService.js.map +1 -1
  63. package/node_modules/@web-atoms/entity/dist/services/Query.d.ts +1 -0
  64. package/node_modules/@web-atoms/entity/dist/services/Query.d.ts.map +1 -1
  65. package/node_modules/@web-atoms/entity/dist/services/Query.js +6 -1
  66. package/node_modules/@web-atoms/entity/dist/services/Query.js.map +1 -1
  67. package/node_modules/@web-atoms/entity/dist/tsconfig.tsbuildinfo +1 -1
  68. package/node_modules/@web-atoms/entity/package.json +1 -1
  69. package/node_modules/@web-atoms/entity/src/services/BaseEntityService.ts +27 -1
  70. package/node_modules/@web-atoms/entity/src/services/Query.ts +7 -1
  71. package/package.json +2 -2
  72. package/src/model/model.ts +13 -11
  73. package/src/public/channel/BlogImageService.ts +3 -3
  74. package/src/public/channel/BlogService.ts +2 -2
  75. package/src/public/channel/PostSummary.tsx +2 -2
  76. package/src/public/channel/UrlService.ts +2 -2
  77. package/src/public/channel/controls/PostList.tsx +5 -5
  78. package/src/public/channel/controls/RecentPosts.tsx +2 -2
  79. package/src/public/channel/controls/UpcomingEvents.tsx +2 -2
  80. package/src/web/page/channels/services/ChannelService.ts +2 -2
  81. package/src/web/page/mails/service/ConversationService.tsx +4 -11
@@ -14802,6 +14802,7 @@ System.register(["tslib", "./StringHelper", "@web-atoms/core/dist/services/Fetch
14802
14802
  name,
14803
14803
  service,
14804
14804
  queryFunction,
14805
+ entityKey,
14805
14806
  args
14806
14807
  } = this.context;
14807
14808
  const busy = __addDisposableResource(env_1, service.createBusyIndicator(hideActivityIndicator), false);
@@ -14822,6 +14823,9 @@ System.register(["tslib", "./StringHelper", "@web-atoms/core/dist/services/Fetch
14822
14823
  if (queryFunction) {
14823
14824
  fm.append("function", queryFunction);
14824
14825
  fm.append("args", JSON.stringify(args !== null && args !== void 0 ? args : "[]"));
14826
+ if (entityKey) {
14827
+ fm.append("entityKey", entityKey);
14828
+ }
14825
14829
  }
14826
14830
  if (expandable) {
14827
14831
  fm.append("expandable", "1");
@@ -14842,7 +14846,8 @@ System.register(["tslib", "./StringHelper", "@web-atoms/core/dist/services/Fetch
14842
14846
  trace,
14843
14847
  expandable: expandable ? 1 : void 0,
14844
14848
  function: queryFunction || void 0,
14845
- args: queryFunction ? args : void 0
14849
+ args: queryFunction ? args : void 0,
14850
+ entityKey: entityKey !== null && entityKey !== void 0 ? entityKey : void 0
14846
14851
  }).asJson();
14847
14852
  result = service.resultConverter(result);
14848
14853
  return result;
@@ -15351,6 +15356,27 @@ System.register(["tslib", "../models/Cloner", "../models/IEntityModel", "./merge
15351
15356
  args
15352
15357
  });
15353
15358
  }
15359
+ queryEntity(m, entity, queryFunction, ...args) {
15360
+ let entityKey;
15361
+ const {
15362
+ $key
15363
+ } = entity;
15364
+ if (!$key) {
15365
+ throw new Error(`Entity does not contain public/private key`);
15366
+ }
15367
+ entityKey = $key;
15368
+ return new Query({
15369
+ service: this,
15370
+ name: m.name,
15371
+ queryProcessor: this.queryProcessor,
15372
+ queryFunction: queryFunction,
15373
+ entityKey,
15374
+ args
15375
+ });
15376
+ }
15377
+ as() {
15378
+ return this;
15379
+ }
15354
15380
  delete(body) {
15355
15381
  return __awaiter(this, void 0, void 0, function* () {
15356
15382
  const env_2 = {
@@ -15782,7 +15808,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
15782
15808
  System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/services/BaseEntityService"], function (_export, _context) {
15783
15809
  "use strict";
15784
15810
 
15785
- var DateTime, Model, DefaultFactory, modelEntitySchemas, AppRole, AppFileContentDispositionArray, AppFile, WebHookEventTypeArray, WebHookHttpVerbArray, WebHook, WebHookEvent, AccessToken, AppFileVersion, AppFileAccessTypeArray, AppFileAccess, AppFileTag, FileContent, Configuration, Contact, ContactEmail, ContactPhone, ContactItem, ContactDomain, ContactAddress, CachedItem, Domain, HostedDomain, DomainUser, HostedZone, HostedZoneRecordTypeArray, HostedZoneRecord, HostedZoneUser, DomainRelayTypeArray, DomainRelay, DomainKey, EmailStatusArray, Email, EmailEngagement, EmailLog, EmailRecipientTypeArray, EmailRecipient, EmailTag, EmailAddress, EmailTemplate, Mailbox, MailboxEmail, MailboxContactStatusArray, MailboxContact, MailboxContactEvent, MailboxFolder, MailboxContactEmail, MailboxContactTag, MailboxTag, MailboxSyncTargetDirectionArray, MailboxSyncTargetProtocolArray, MailboxSyncTargetLastSyncStatusArray, MailboxSyncTarget, NameToken, ChannelConfig, SubscriberActivity, SearchWordStatusArray, SearchWord, SearchWordIndex, ServerActivityActivityArray, ServerActivity, StoreConfig, StoreItemItemTypeArray, StoreItemItemUnitTypeArray, StoreItem, StoreCouponTypeArray, StoreCoupon, StoreJournalCoupon, StoreItemFolder, StoreItemFolderTag, StoreItemPrice, StorePaymentAttempt, StoreMediaFile, StoreInsight, StoreAccount, StoreAccountAddress, StoreAccountEmail, StoreAccountPhone, StorePaymentGatewayPaymentGatewayArray, StorePaymentGateway, StoreJournalJournalTypeArray, StoreJournalStatusArray, StoreJournal, StoreJournalEntry, StoreJournalLineItemItemTypeArray, StoreJournalLineItem, StoreItemTax, StoreTag, StoreItemTag, UserStatusArray, User, UserPin, UserPushSubscription, UserRole, UserMailbox, UserAuthFactorMethodArray, UserAuthFactor, WebSite, WebSiteHost, WebSiteVersion, WebSiteChannelDomain, WebSiteChannel, LoginSession, TextDocument, IncomingSmsSource, VerificationTokenTypeArray, VerificationToken, VerificationTokenAddress, EmailAddressName, ThreadParticipant, Tag, fixRelatedSchemas;
15811
+ var DateTime, Model, DefaultFactory, modelEntitySchemas, AppRole, AppFileContentDispositionArray, AppFile, WebHookEventTypeArray, WebHookHttpVerbArray, WebHook, WebHookEvent, AccessToken, AppFileVersion, AppFileAccessTypeArray, AppFileAccess, AppFileTag, FileContent, Configuration, Contact, ContactEmail, ContactPhone, ContactItem, ContactDomain, ContactAddress, CachedItem, Domain, HostedDomain, DomainUser, HostedZone, HostedZoneRecordTypeArray, HostedZoneRecord, HostedZoneUser, DomainRelayTypeArray, DomainRelay, DomainKey, EmailStatusArray, Email, EmailEngagement, EmailLog, EmailRecipientTypeArray, EmailRecipient, EmailTag, EmailAddress, EmailTemplate, Mailbox, ChannelEmail, MailboxContactStatusArray, MailboxContact, MailboxContactEvent, MailboxFolder, MailboxContactEmail, MailboxContactTag, MailboxTag, MailboxSyncTargetDirectionArray, MailboxSyncTargetProtocolArray, MailboxSyncTargetLastSyncStatusArray, MailboxSyncTarget, NameToken, ChannelConfig, SubscriberActivity, SearchWordStatusArray, SearchWord, SearchWordIndex, ServerActivityActivityArray, ServerActivity, StoreConfig, StoreItemItemTypeArray, StoreItemItemUnitTypeArray, StoreItem, StoreCouponTypeArray, StoreCoupon, StoreJournalCoupon, StoreItemFolder, StoreItemFolderTag, StoreItemPrice, StorePaymentAttempt, StoreMediaFile, StoreInsight, StoreAccount, StoreAccountAddress, StoreAccountEmail, StoreAccountPhone, StorePaymentGatewayPaymentGatewayArray, StorePaymentGateway, StoreJournalJournalTypeArray, StoreJournalStatusArray, StoreJournal, StoreJournalEntry, StoreJournalLineItemItemTypeArray, StoreJournalLineItem, StoreItemTax, StoreTag, StoreItemTag, UserStatusArray, User, UserPin, UserPushSubscription, UserRole, UserMailbox, UserAuthFactorMethodArray, UserAuthFactor, WebSite, WebSiteHost, WebSiteVersion, WebSiteChannelDomain, WebSiteChannel, LoginSession, TextDocument, IncomingSmsSource, VerificationTokenTypeArray, VerificationToken, VerificationTokenAddress, EmailAddressName, ThreadParticipant, Tag, fixRelatedSchemas;
15786
15812
  return {
15787
15813
  setters: [function (_webAtomsDateTimeDistDateTime) {
15788
15814
  DateTime = _webAtomsDateTimeDistDateTime.default;
@@ -17890,10 +17916,10 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
17890
17916
  "isInverse": true,
17891
17917
  "relatedName": "EmailTag"
17892
17918
  }, {
17893
- "name": "mailboxes",
17919
+ "name": "channelEmails",
17894
17920
  "isCollection": true,
17895
17921
  "isInverse": true,
17896
- "relatedName": "MailboxEmail"
17922
+ "relatedName": "ChannelEmail"
17897
17923
  }, {
17898
17924
  "name": "mailboxContactEvents",
17899
17925
  "isCollection": true,
@@ -17915,9 +17941,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
17915
17941
  "isInverse": true,
17916
17942
  "relatedName": "ThreadParticipant"
17917
17943
  }],
17918
- "queries": {
17919
- "channelEmails": "external"
17920
- },
17921
17944
  "actions": {
17922
17945
  "getBody": "external"
17923
17946
  }
@@ -18202,6 +18225,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
18202
18225
  "isCollection": true,
18203
18226
  "isInverse": true,
18204
18227
  "relatedName": "EmailRecipient"
18228
+ }, {
18229
+ "name": "mailboxContactEmails",
18230
+ "isCollection": true,
18231
+ "isInverse": true,
18232
+ "relatedName": "MailboxContactEmail"
18205
18233
  }, {
18206
18234
  "name": "subscriberActivities",
18207
18235
  "isCollection": true,
@@ -18488,7 +18516,7 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
18488
18516
  "name": "emails",
18489
18517
  "isCollection": true,
18490
18518
  "isInverse": true,
18491
- "relatedName": "MailboxEmail"
18519
+ "relatedName": "ChannelEmail"
18492
18520
  }, {
18493
18521
  "name": "mailboxEvents",
18494
18522
  "isCollection": true,
@@ -18548,7 +18576,7 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
18548
18576
  }
18549
18577
  }));
18550
18578
  modelEntitySchemas["Mailbox"] = Mailbox;
18551
- _export("MailboxEmail", MailboxEmail = new Model("MailboxEmail", ["mailboxID", "emailID"], {
18579
+ _export("ChannelEmail", ChannelEmail = new Model("ChannelEmail", ["mailboxID", "emailID"], {
18552
18580
  engagementCount: 0,
18553
18581
  isThread: false
18554
18582
  }, {
@@ -18602,7 +18630,7 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
18602
18630
  "channelEmails": "external"
18603
18631
  }
18604
18632
  }));
18605
- modelEntitySchemas["MailboxEmail"] = MailboxEmail;
18633
+ modelEntitySchemas["ChannelEmail"] = ChannelEmail;
18606
18634
  _export("MailboxContactStatusArray", MailboxContactStatusArray = [{
18607
18635
  "label": "invited",
18608
18636
  "value": "invited"
@@ -18958,6 +18986,13 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
18958
18986
  "relatedKey": "mailboxID"
18959
18987
  }],
18960
18988
  "relatedName": "Mailbox"
18989
+ }, {
18990
+ "name": "emailAddress",
18991
+ "fkMap": [{
18992
+ "fk": "emailAddressID",
18993
+ "relatedKey": "emailAddressID"
18994
+ }],
18995
+ "relatedName": "EmailAddress"
18961
18996
  }, {
18962
18997
  "name": "email",
18963
18998
  "fkMap": [{
@@ -25611,7 +25646,7 @@ System.register(["@web-atoms/core/dist/core/XNode", "@social-mail/social-mail-cl
25611
25646
  System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/core/dist/di/Inject", "../../../../services/EntityService", "../../../../model/model", "../../../../common/Sql", "@web-atoms/email-dom/dist/DomToString", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/web/controls/AtomControl", "@web-atoms/core/dist/web/core/AtomUI", "@web-atoms/date-time/dist/DateTime", "../../../../common/events/CommonEvents", "../../../../services/email/EmailContentDownloader", "./EngagementService", "../../../commands/MailAppEvents", "../../../../common/fileUrl", "../../../../common/cache/CacheTTL", "../../../../common/controls/Loader"], function (_export, _context) {
25612
25647
  "use strict";
25613
25648
 
25614
- var __awaiter, __decorate, __metadata, DISingleton, Inject, EntityService, Email, EmailRecipient, MailboxContactEmail, MailboxEmail, Sql, DomToString, XNode, AtomControl, AncestorEnumerator, descendentIterator, DateTime, CommonEvents, EmailContentDownloader, EngagementService, MailAppEvents, fileUrl, CacheTTL, Loader, cacheVersion, renderMailPromise, ConversationService;
25649
+ var __awaiter, __decorate, __metadata, DISingleton, Inject, EntityService, Email, EmailRecipient, MailboxContactEmail, Sql, DomToString, XNode, AtomControl, AncestorEnumerator, descendentIterator, DateTime, CommonEvents, EmailContentDownloader, EngagementService, MailAppEvents, fileUrl, CacheTTL, Loader, cacheVersion, renderMailPromise, ConversationService;
25615
25650
  return {
25616
25651
  setters: [function (_tslib) {
25617
25652
  __awaiter = _tslib.__awaiter;
@@ -25627,7 +25662,6 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
25627
25662
  Email = _modelModel.Email;
25628
25663
  EmailRecipient = _modelModel.EmailRecipient;
25629
25664
  MailboxContactEmail = _modelModel.MailboxContactEmail;
25630
- MailboxEmail = _modelModel.MailboxEmail;
25631
25665
  }, function (_commonSql) {
25632
25666
  Sql = _commonSql.Sql;
25633
25667
  }, function (_webAtomsEmailDomDistDomToString) {
@@ -25823,7 +25857,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
25823
25857
  });
25824
25858
  }
25825
25859
  draft(email, mailboxContacts, create = false, saveAttachments = true, cancelToken) {
25826
- var _a, _b, _c;
25860
+ var _a, _b;
25827
25861
  return __awaiter(this, void 0, void 0, function* () {
25828
25862
  if (email === null || email === void 0 ? void 0 : email.emailID) {
25829
25863
  email.subject || (email.subject = "");
@@ -25832,14 +25866,13 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
25832
25866
  if (saveAttachments) {
25833
25867
  cloner = cloner.include(x => x.attachments);
25834
25868
  }
25835
- cloner = cloner.include(x => x.mailboxes).include(x => x.recipients).include(x => x.threadContacts);
25869
+ cloner = cloner.include(x => x.recipients).include(x => x.threadContacts);
25836
25870
  yield this.entityService.save(cloner.copy);
25837
25871
  return email;
25838
25872
  }
25839
25873
  if (create && email) {
25840
25874
  const recipients = (_a = email.recipients) !== null && _a !== void 0 ? _a : email.recipients = [];
25841
- const mailboxes = (_b = email.mailboxes) !== null && _b !== void 0 ? _b : email.mailboxes = [];
25842
- const threads = (_c = email.threadContacts) !== null && _c !== void 0 ? _c : email.threadContacts = [];
25875
+ const threads = (_b = email.threadContacts) !== null && _b !== void 0 ? _b : email.threadContacts = [];
25843
25876
  if (!email.senderID) {
25844
25877
  throw new Error("SenderID is not set");
25845
25878
  }
@@ -25848,11 +25881,6 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
25848
25881
  mailboxID,
25849
25882
  emailAddressID
25850
25883
  } of mailboxContacts) {
25851
- if (!mailboxes.some(m => m.mailboxID === mailboxID)) {
25852
- mailboxes.push(MailboxEmail.create({
25853
- mailboxID
25854
- }));
25855
- }
25856
25884
  if (!recipients.some(r => r.emailAddressID === emailAddressID)) {
25857
25885
  recipients.push(EmailRecipient.create({
25858
25886
  emailAddressID
@@ -25865,7 +25893,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
25865
25893
  }));
25866
25894
  }
25867
25895
  }
25868
- yield this.entityService.save(email, c => c.include(x => x.mailboxes).include(x => x.recipients).include(x => x.threadContacts));
25896
+ yield this.entityService.save(email, c => c.include(x => x.recipients).include(x => x.threadContacts));
25869
25897
  }
25870
25898
  return email;
25871
25899
  });
@@ -41183,7 +41211,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
41183
41211
  System.register(["tslib", "@web-atoms/core/dist/di/DITransient", "@web-atoms/core/dist/di/Inject", "../../../../services/EntityService", "../../../../model/model", "../../../../common/Sql", "../../../../services/email/EmailContentDownloader", "../../mails/service/EngagementService"], function (_export, _context) {
41184
41212
  "use strict";
41185
41213
 
41186
- var __awaiter, __decorate, __metadata, DITransient, Inject, EntityService, Email, Mailbox, MailboxContact, MailboxEmail, Sql, EmailContentDownloader, EngagementService, ChannelService;
41214
+ var __awaiter, __decorate, __metadata, DITransient, Inject, EntityService, ChannelEmail, Email, Mailbox, MailboxContact, Sql, EmailContentDownloader, EngagementService, ChannelService;
41187
41215
  return {
41188
41216
  setters: [function (_tslib) {
41189
41217
  __awaiter = _tslib.__awaiter;
@@ -41196,10 +41224,10 @@ System.register(["tslib", "@web-atoms/core/dist/di/DITransient", "@web-atoms/cor
41196
41224
  }, function (_servicesEntityService) {
41197
41225
  EntityService = _servicesEntityService.default;
41198
41226
  }, function (_modelModel) {
41227
+ ChannelEmail = _modelModel.ChannelEmail;
41199
41228
  Email = _modelModel.Email;
41200
41229
  Mailbox = _modelModel.Mailbox;
41201
41230
  MailboxContact = _modelModel.MailboxContact;
41202
- MailboxEmail = _modelModel.MailboxEmail;
41203
41231
  }, function (_commonSql) {
41204
41232
  Sql = _commonSql.Sql;
41205
41233
  }, function (_servicesEmailEmailContentDownloader) {
@@ -41219,7 +41247,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DITransient", "@web-atoms/cor
41219
41247
  cancelToken
41220
41248
  }) {
41221
41249
  return __awaiter(this, void 0, void 0, function* () {
41222
- let q = this.entityService.query(MailboxEmail);
41250
+ let q = this.entityService.query(ChannelEmail);
41223
41251
  if (channelID) {
41224
41252
  q = q.where({
41225
41253
  channelID