@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.
- package/dist/admin/AdminAppIndex.pack.js +81 -2
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +2 -2
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/model/model.d.ts +102 -0
- package/dist/model/model.d.ts.map +1 -1
- package/dist/model/model.js +80 -1
- package/dist/model/model.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.js +81 -2
- package/dist/public/channel/ChannelView.pack.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.min.js +1 -1
- package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
- package/dist/services/email/EmailContentDownloader.js +1 -1
- package/dist/services/email/EmailContentDownloader.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +81 -2
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +2 -2
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/model/model.ts +114 -0
- package/src/services/email/EmailContentDownloader.ts +1 -1
|
@@ -15301,7 +15301,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
|
|
|
15301
15301
|
System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/services/BaseEntityService"], function (_export, _context) {
|
|
15302
15302
|
"use strict";
|
|
15303
15303
|
|
|
15304
|
-
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;
|
|
15304
|
+
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;
|
|
15305
15305
|
return {
|
|
15306
15306
|
setters: [function (_webAtomsDateTimeDistDateTime) {
|
|
15307
15307
|
DateTime = _webAtomsDateTimeDistDateTime.default;
|
|
@@ -15672,6 +15672,85 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
15672
15672
|
name: "",
|
|
15673
15673
|
isSystemTag: false
|
|
15674
15674
|
}));
|
|
15675
|
+
_export("Product", Product = new Model("Product", ["productID"], {
|
|
15676
|
+
name: ""
|
|
15677
|
+
}));
|
|
15678
|
+
_export("ProductPrice", ProductPrice = new Model("ProductPrice", ["priceID"], {
|
|
15679
|
+
quantity: 0,
|
|
15680
|
+
amount: 0,
|
|
15681
|
+
isActive: false,
|
|
15682
|
+
currency: ""
|
|
15683
|
+
}));
|
|
15684
|
+
_export("AppLicense", AppLicense = new Model("AppLicense", ["licenseID", "priceID"], {
|
|
15685
|
+
dateCreated: new DefaultFactory(() => new DateTime()),
|
|
15686
|
+
dateExpiry: new DefaultFactory(() => new DateTime()),
|
|
15687
|
+
dateUpdated: new DefaultFactory(() => new DateTime()),
|
|
15688
|
+
maxCores: 0,
|
|
15689
|
+
licenseCode: ""
|
|
15690
|
+
}));
|
|
15691
|
+
_export("VirtualServer", VirtualServer = new Model("VirtualServer", ["serverID"], {
|
|
15692
|
+
serverName: "",
|
|
15693
|
+
active: false,
|
|
15694
|
+
host: "",
|
|
15695
|
+
maxStorageGB: 0
|
|
15696
|
+
}));
|
|
15697
|
+
_export("DnsZone", DnsZone = new Model("DnsZone", ["zoneID"], {
|
|
15698
|
+
zone: "",
|
|
15699
|
+
dateCreated: new DefaultFactory(() => new DateTime()),
|
|
15700
|
+
dateUpdated: new DefaultFactory(() => new DateTime())
|
|
15701
|
+
}));
|
|
15702
|
+
_export("DnsZoneRecordTypeArray", DnsZoneRecordTypeArray = [{
|
|
15703
|
+
"label": "A",
|
|
15704
|
+
"value": "A"
|
|
15705
|
+
}, {
|
|
15706
|
+
"label": "AAAA",
|
|
15707
|
+
"value": "AAAA"
|
|
15708
|
+
}, {
|
|
15709
|
+
"label": "CNAME",
|
|
15710
|
+
"value": "CNAME"
|
|
15711
|
+
}, {
|
|
15712
|
+
"label": "MX",
|
|
15713
|
+
"value": "MX"
|
|
15714
|
+
}, {
|
|
15715
|
+
"label": "TXT",
|
|
15716
|
+
"value": "TXT"
|
|
15717
|
+
}, {
|
|
15718
|
+
"label": "PTR",
|
|
15719
|
+
"value": "PTR"
|
|
15720
|
+
}, {
|
|
15721
|
+
"label": "SRV",
|
|
15722
|
+
"value": "SRV"
|
|
15723
|
+
}, {
|
|
15724
|
+
"label": "CAA",
|
|
15725
|
+
"value": "CAA"
|
|
15726
|
+
}, {
|
|
15727
|
+
"label": "NS",
|
|
15728
|
+
"value": "NS"
|
|
15729
|
+
}, {
|
|
15730
|
+
"label": "SOA",
|
|
15731
|
+
"value": "SOA"
|
|
15732
|
+
}]);
|
|
15733
|
+
_export("DnsZoneRecord", DnsZoneRecord = new Model("DnsZoneRecord", ["recordID"], {
|
|
15734
|
+
disabled: false,
|
|
15735
|
+
name: "",
|
|
15736
|
+
type: "A",
|
|
15737
|
+
isAlias: false,
|
|
15738
|
+
value: "",
|
|
15739
|
+
ttl: 0,
|
|
15740
|
+
dateCreated: new DefaultFactory(() => new DateTime()),
|
|
15741
|
+
dateUpdated: new DefaultFactory(() => new DateTime()),
|
|
15742
|
+
hosted: false
|
|
15743
|
+
}));
|
|
15744
|
+
_export("DnsSigningKey", DnsSigningKey = new Model("DnsSigningKey", ["keyID"], {
|
|
15745
|
+
publicKey: "",
|
|
15746
|
+
digestAlgorithm: 0,
|
|
15747
|
+
signingAlgorithm: 0,
|
|
15748
|
+
digest: "",
|
|
15749
|
+
flags: 0,
|
|
15750
|
+
dateCreated: new DefaultFactory(() => new DateTime()),
|
|
15751
|
+
expiryDate: new DefaultFactory(() => new DateTime()),
|
|
15752
|
+
fileName: ""
|
|
15753
|
+
}));
|
|
15675
15754
|
}
|
|
15676
15755
|
};
|
|
15677
15756
|
});
|
|
@@ -18392,7 +18471,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
|
|
|
18392
18471
|
let now = DateTime.now;
|
|
18393
18472
|
const minute = Math.floor(now.minute / 5);
|
|
18394
18473
|
now = now.addMinutes(-minute);
|
|
18395
|
-
const cacheVersion =
|
|
18474
|
+
const cacheVersion = email.dateUpdated ? DateTime.from(email.dateUpdated).msSinceEpoch.toString(36) : "-";
|
|
18396
18475
|
email.engagements = yield this.entityService.query(EmailEngagement).where({
|
|
18397
18476
|
emailID
|
|
18398
18477
|
}, p => x => x.emailID === p.emailID).toArray({
|