@social-mail/social-mail-client 1.2.83 → 1.2.84

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.
@@ -13253,7 +13253,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
13253
13253
  System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/services/BaseEntityService"], function (_export, _context) {
13254
13254
  "use strict";
13255
13255
 
13256
- var DateTime, Model, DefaultFactory, AppRole, AppFileContentDispositionArray, AppFile, AppFileVersion, AppFileAccessTypeArray, AppFileAccess, AppFileTag, FileContent, Configuration, Contact, ContactEmail, ContactPhone, ContactItem, ContactDomain, CachedItem, Domain, HostedDomain, DomainUser, DomainRelayTypeArray, DomainRelay, DomainKey, EmailStatusArray, Email, EmailEngagement, AppLog, EmailRecipientTypeArray, EmailRecipient, EmailTag, EmailAddress, EmailTemplate, Mailbox, MailboxEmail, MailboxContactStatusArray, MailboxContact, MailboxContactEmail, MailboxContactTag, MailboxSyncTargetDirectionArray, MailboxSyncTargetProtocolArray, MailboxSyncTargetLastSyncStatusArray, MailboxSyncTarget, ChannelConfig, SubscriberActivity, SearchWordStatusArray, SearchWord, SearchWordIndex, UserStatusArray, User, UserPin, UserPushSubscription, UserRole, UserMailbox, UserAuthFactorMethodArray, UserAuthFactor, WebSiteFolder, WebSiteFolderHost, WebSiteFolderVersion, LoginSession, TextDocument, Tag;
13256
+ var DateTime, Model, DefaultFactory, AppRole, AppFileContentDispositionArray, AppFile, AppFileVersion, AppFileAccessTypeArray, AppFileAccess, AppFileTag, FileContent, Configuration, Contact, ContactEmail, ContactPhone, ContactItem, ContactDomain, CachedItem, Domain, HostedDomain, DomainUser, DomainRelayTypeArray, DomainRelay, DomainKey, EmailStatusArray, Email, EmailEngagement, AppLog, EmailRecipientTypeArray, EmailRecipient, EmailTag, EmailAddress, EmailTemplate, Mailbox, MailboxEmail, MailboxContactStatusArray, MailboxContact, MailboxContactEmail, MailboxContactTag, MailboxSyncTargetDirectionArray, MailboxSyncTargetProtocolArray, MailboxSyncTargetLastSyncStatusArray, MailboxSyncTarget, ChannelConfig, SubscriberActivity, SearchWordStatusArray, SearchWord, SearchWordIndex, UserStatusArray, User, UserPin, UserPushSubscription, UserRole, UserMailbox, UserAuthFactorMethodArray, UserAuthFactor, WebSiteFolder, WebSiteFolderHost, WebSiteFolderVersion, LoginSession, TextDocument, Tag, Product, ProductPrice, AppLicense, VirtualServer, DnsZone, DnsZoneRecordTypeArray, DnsZoneRecord, DnsSigningKey;
13257
13257
  return {
13258
13258
  setters: [function (_webAtomsDateTimeDistDateTime) {
13259
13259
  DateTime = _webAtomsDateTimeDistDateTime.default;
@@ -13624,6 +13624,85 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
13624
13624
  name: "",
13625
13625
  isSystemTag: false
13626
13626
  }));
13627
+ _export("Product", Product = new Model("Product", ["productID"], {
13628
+ name: ""
13629
+ }));
13630
+ _export("ProductPrice", ProductPrice = new Model("ProductPrice", ["priceID"], {
13631
+ quantity: 0,
13632
+ amount: 0,
13633
+ isActive: false,
13634
+ currency: ""
13635
+ }));
13636
+ _export("AppLicense", AppLicense = new Model("AppLicense", ["licenseID", "priceID"], {
13637
+ dateCreated: new DefaultFactory(() => new DateTime()),
13638
+ dateExpiry: new DefaultFactory(() => new DateTime()),
13639
+ dateUpdated: new DefaultFactory(() => new DateTime()),
13640
+ maxCores: 0,
13641
+ licenseCode: ""
13642
+ }));
13643
+ _export("VirtualServer", VirtualServer = new Model("VirtualServer", ["serverID"], {
13644
+ serverName: "",
13645
+ active: false,
13646
+ host: "",
13647
+ maxStorageGB: 0
13648
+ }));
13649
+ _export("DnsZone", DnsZone = new Model("DnsZone", ["zoneID"], {
13650
+ zone: "",
13651
+ dateCreated: new DefaultFactory(() => new DateTime()),
13652
+ dateUpdated: new DefaultFactory(() => new DateTime())
13653
+ }));
13654
+ _export("DnsZoneRecordTypeArray", DnsZoneRecordTypeArray = [{
13655
+ "label": "A",
13656
+ "value": "A"
13657
+ }, {
13658
+ "label": "AAAA",
13659
+ "value": "AAAA"
13660
+ }, {
13661
+ "label": "CNAME",
13662
+ "value": "CNAME"
13663
+ }, {
13664
+ "label": "MX",
13665
+ "value": "MX"
13666
+ }, {
13667
+ "label": "TXT",
13668
+ "value": "TXT"
13669
+ }, {
13670
+ "label": "PTR",
13671
+ "value": "PTR"
13672
+ }, {
13673
+ "label": "SRV",
13674
+ "value": "SRV"
13675
+ }, {
13676
+ "label": "CAA",
13677
+ "value": "CAA"
13678
+ }, {
13679
+ "label": "NS",
13680
+ "value": "NS"
13681
+ }, {
13682
+ "label": "SOA",
13683
+ "value": "SOA"
13684
+ }]);
13685
+ _export("DnsZoneRecord", DnsZoneRecord = new Model("DnsZoneRecord", ["recordID"], {
13686
+ disabled: false,
13687
+ name: "",
13688
+ type: "A",
13689
+ isAlias: false,
13690
+ value: "",
13691
+ ttl: 0,
13692
+ dateCreated: new DefaultFactory(() => new DateTime()),
13693
+ dateUpdated: new DefaultFactory(() => new DateTime()),
13694
+ hosted: false
13695
+ }));
13696
+ _export("DnsSigningKey", DnsSigningKey = new Model("DnsSigningKey", ["keyID"], {
13697
+ publicKey: "",
13698
+ digestAlgorithm: 0,
13699
+ signingAlgorithm: 0,
13700
+ digest: "",
13701
+ flags: 0,
13702
+ dateCreated: new DefaultFactory(() => new DateTime()),
13703
+ expiryDate: new DefaultFactory(() => new DateTime()),
13704
+ fileName: ""
13705
+ }));
13627
13706
  }
13628
13707
  };
13629
13708
  });
@@ -22169,7 +22248,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
22169
22248
  let now = DateTime.now;
22170
22249
  const minute = Math.floor(now.minute / 5);
22171
22250
  now = now.addMinutes(-minute);
22172
- const cacheVersion = now.msSinceEpoch.toString(36);
22251
+ const cacheVersion = email.dateUpdated ? DateTime.from(email.dateUpdated).msSinceEpoch.toString(36) : "-";
22173
22252
  email.engagements = yield this.entityService.query(EmailEngagement).where({
22174
22253
  emailID
22175
22254
  }, p => x => x.emailID === p.emailID).toArray({