@social-mail/social-mail-client 1.2.714 → 1.2.716
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 +535 -56
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +12 -6
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/model/model.d.ts +63 -12
- package/dist/model/model.d.ts.map +1 -1
- package/dist/model/model.js +296 -50
- package/dist/model/model.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.js +296 -50
- 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/public/preview/zip/DownloadZip.pack.js +296 -50
- package/dist/public/preview/zip/DownloadZip.pack.js.map +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.min.js +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.min.js.map +1 -1
- package/dist/public/store/StoreApp.pack.js +297 -51
- package/dist/public/store/StoreApp.pack.js.map +1 -1
- package/dist/public/store/StoreApp.pack.min.js +2 -2
- package/dist/public/store/StoreApp.pack.min.js.map +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.js +296 -50
- package/dist/public/store/cart/ShoppingCart.pack.js.map +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.min.js +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.min.js.map +1 -1
- package/dist/public/store/pages/StoreOrderPage.js +1 -1
- package/dist/public/store/pages/StoreOrderPage.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +562 -59
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +13 -7
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/site-editor-app/pages/store/products/ProductEditor.d.ts.map +1 -1
- package/dist/site-editor-app/pages/store/products/ProductEditor.js +27 -3
- package/dist/site-editor-app/pages/store/products/ProductEditor.js.map +1 -1
- package/dist/site-editor-app/pages/store/web-hooks/WebHookPage.d.ts +10 -0
- package/dist/site-editor-app/pages/store/web-hooks/WebHookPage.d.ts.map +1 -0
- package/dist/site-editor-app/pages/store/web-hooks/WebHookPage.js +76 -0
- package/dist/site-editor-app/pages/store/web-hooks/WebHookPage.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +535 -56
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +12 -6
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/dist/web/page/mails/ConversationPage.d.ts +1 -0
- package/dist/web/page/mails/ConversationPage.d.ts.map +1 -1
- package/dist/web/page/mails/ConversationPage.js +20 -2
- package/dist/web/page/mails/ConversationPage.js.map +1 -1
- package/dist/web/page/mails/MailboxContacts.d.ts +1 -0
- package/dist/web/page/mails/MailboxContacts.d.ts.map +1 -1
- package/dist/web/page/mails/MailboxContacts.js +25 -3
- package/dist/web/page/mails/MailboxContacts.js.map +1 -1
- package/dist/web/page/mails/web-hooks/WebHookListPage.d.ts +17 -0
- package/dist/web/page/mails/web-hooks/WebHookListPage.d.ts.map +1 -0
- package/dist/web/page/mails/web-hooks/WebHookListPage.js +111 -0
- package/dist/web/page/mails/web-hooks/WebHookListPage.js.map +1 -0
- package/package.json +1 -1
- package/src/model/model.ts +85 -26
- package/src/public/store/pages/StoreOrderPage.tsx +1 -1
- package/src/site-editor-app/pages/store/products/ProductEditor.tsx +20 -1
- package/src/site-editor-app/pages/store/web-hooks/WebHookPage.tsx +59 -0
- package/src/web/page/mails/ConversationPage.tsx +15 -0
- package/src/web/page/mails/MailboxContacts.tsx +15 -0
- package/src/web/page/mails/web-hooks/WebHookListPage.tsx +69 -0
|
@@ -13446,7 +13446,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
|
|
|
13446
13446
|
System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/services/BaseEntityService"], function (_export, _context) {
|
|
13447
13447
|
"use strict";
|
|
13448
13448
|
|
|
13449
|
-
var DateTime, Model, DefaultFactory, modelEntitySchemas, AppRole, AppFileContentDispositionArray, AppFile, 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, StoreJournal, StoreJournalEntry, StoreJournalLineItemItemTypeArray, StoreJournalLineItem, StoreItemTax, StoreTag, StoreItemTag, UserStatusArray, User, UserPin, UserPushSubscription, UserRole, UserMailbox, UserAuthFactorMethodArray, UserAuthFactor, WebSiteFolder, WebSiteFolderHost, WebSiteFolderVersion, WebSiteChannel, LoginSession, TextDocument, IncomingSmsSource, VerificationTokenTypeArray, VerificationToken, VerificationTokenAddress, EmailAddressName, Tag, fixRelatedSchemas;
|
|
13449
|
+
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, WebSiteFolder, WebSiteFolderHost, WebSiteFolderVersion, WebSiteChannel, LoginSession, TextDocument, IncomingSmsSource, VerificationTokenTypeArray, VerificationToken, VerificationTokenAddress, EmailAddressName, Tag, fixRelatedSchemas;
|
|
13450
13450
|
return {
|
|
13451
13451
|
setters: [function (_webAtomsDateTimeDistDateTime) {
|
|
13452
13452
|
DateTime = _webAtomsDateTimeDistDateTime.default;
|
|
@@ -13610,6 +13610,26 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
13610
13610
|
"relatedKey": "emailID"
|
|
13611
13611
|
}],
|
|
13612
13612
|
"relatedName": "Email"
|
|
13613
|
+
}, {
|
|
13614
|
+
"name": "mailboxLogos",
|
|
13615
|
+
"isCollection": true,
|
|
13616
|
+
"isInverse": true,
|
|
13617
|
+
"relatedName": "Mailbox"
|
|
13618
|
+
}, {
|
|
13619
|
+
"name": "websiteFolder",
|
|
13620
|
+
"isCollection": false,
|
|
13621
|
+
"isInverse": true,
|
|
13622
|
+
"relatedName": "WebSiteFolder"
|
|
13623
|
+
}, {
|
|
13624
|
+
"name": "currentVersionWebSites",
|
|
13625
|
+
"isCollection": true,
|
|
13626
|
+
"isInverse": true,
|
|
13627
|
+
"relatedName": "WebSiteFolder"
|
|
13628
|
+
}, {
|
|
13629
|
+
"name": "storeItems",
|
|
13630
|
+
"isCollection": true,
|
|
13631
|
+
"isInverse": true,
|
|
13632
|
+
"relatedName": "StoreItem"
|
|
13613
13633
|
}, {
|
|
13614
13634
|
"name": "fileVersions",
|
|
13615
13635
|
"isCollection": true,
|
|
@@ -13630,11 +13650,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
13630
13650
|
"isCollection": true,
|
|
13631
13651
|
"isInverse": true,
|
|
13632
13652
|
"relatedName": "AppFileTag"
|
|
13633
|
-
}, {
|
|
13634
|
-
"name": "mailboxLogos",
|
|
13635
|
-
"isCollection": true,
|
|
13636
|
-
"isInverse": true,
|
|
13637
|
-
"relatedName": "Mailbox"
|
|
13638
13653
|
}, {
|
|
13639
13654
|
"name": "previewContacts",
|
|
13640
13655
|
"isCollection": true,
|
|
@@ -13645,21 +13660,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
13645
13660
|
"isCollection": true,
|
|
13646
13661
|
"isInverse": true,
|
|
13647
13662
|
"relatedName": "EmailTemplate"
|
|
13648
|
-
}, {
|
|
13649
|
-
"name": "websiteFolder",
|
|
13650
|
-
"isCollection": false,
|
|
13651
|
-
"isInverse": true,
|
|
13652
|
-
"relatedName": "WebSiteFolder"
|
|
13653
|
-
}, {
|
|
13654
|
-
"name": "currentVersionWebSites",
|
|
13655
|
-
"isCollection": true,
|
|
13656
|
-
"isInverse": true,
|
|
13657
|
-
"relatedName": "WebSiteFolder"
|
|
13658
|
-
}, {
|
|
13659
|
-
"name": "storeItems",
|
|
13660
|
-
"isCollection": true,
|
|
13661
|
-
"isInverse": true,
|
|
13662
|
-
"relatedName": "StoreItem"
|
|
13663
13663
|
}, {
|
|
13664
13664
|
"name": "storeJournals",
|
|
13665
13665
|
"isCollection": true,
|
|
@@ -13689,6 +13689,193 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
13689
13689
|
}
|
|
13690
13690
|
}));
|
|
13691
13691
|
modelEntitySchemas["AppFile"] = AppFile;
|
|
13692
|
+
_export("WebHookEventTypeArray", WebHookEventTypeArray = [{
|
|
13693
|
+
"label": "email-received",
|
|
13694
|
+
"value": "email-received"
|
|
13695
|
+
}, {
|
|
13696
|
+
"label": "order-paid",
|
|
13697
|
+
"value": "order-paid"
|
|
13698
|
+
}]);
|
|
13699
|
+
_export("WebHookHttpVerbArray", WebHookHttpVerbArray = [{
|
|
13700
|
+
"label": "POST",
|
|
13701
|
+
"value": "POST"
|
|
13702
|
+
}, {
|
|
13703
|
+
"label": "GET",
|
|
13704
|
+
"value": "GET"
|
|
13705
|
+
}]);
|
|
13706
|
+
_export("WebHook", WebHook = new Model("WebHook", ["webHookID"], {
|
|
13707
|
+
eventType: "email-received",
|
|
13708
|
+
name: "",
|
|
13709
|
+
url: "",
|
|
13710
|
+
httpVerb: "POST",
|
|
13711
|
+
lastEvent: ""
|
|
13712
|
+
}, {
|
|
13713
|
+
"name": "web_hooks",
|
|
13714
|
+
"keys": [{
|
|
13715
|
+
"name": "webHookID",
|
|
13716
|
+
"type": "number",
|
|
13717
|
+
"generated": "identity",
|
|
13718
|
+
"dataType": "BigInt"
|
|
13719
|
+
}],
|
|
13720
|
+
"properties": [{
|
|
13721
|
+
"name": "mailboxID",
|
|
13722
|
+
"type": "number",
|
|
13723
|
+
"dataType": "BigInt"
|
|
13724
|
+
}, {
|
|
13725
|
+
"name": "emailAddressID",
|
|
13726
|
+
"type": "number",
|
|
13727
|
+
"dataType": "BigInt",
|
|
13728
|
+
"default": ["emailAddressID", "0"]
|
|
13729
|
+
}, {
|
|
13730
|
+
"name": "storeID",
|
|
13731
|
+
"type": "number",
|
|
13732
|
+
"dataType": "BigInt"
|
|
13733
|
+
}, {
|
|
13734
|
+
"name": "storeItemID",
|
|
13735
|
+
"type": "number",
|
|
13736
|
+
"dataType": "BigInt"
|
|
13737
|
+
}, {
|
|
13738
|
+
"name": "eventType",
|
|
13739
|
+
"type": "string",
|
|
13740
|
+
"dataType": "Char",
|
|
13741
|
+
"length": 50,
|
|
13742
|
+
"default": ["eventType", "\"email-received\""]
|
|
13743
|
+
}, {
|
|
13744
|
+
"name": "name",
|
|
13745
|
+
"type": "string",
|
|
13746
|
+
"dataType": "Char",
|
|
13747
|
+
"length": 200,
|
|
13748
|
+
"default": ["name", "\"\""]
|
|
13749
|
+
}, {
|
|
13750
|
+
"name": "description",
|
|
13751
|
+
"type": "string",
|
|
13752
|
+
"dataType": "Char",
|
|
13753
|
+
"default": ["description", "\"\""]
|
|
13754
|
+
}, {
|
|
13755
|
+
"name": "url",
|
|
13756
|
+
"type": "string",
|
|
13757
|
+
"dataType": "Char",
|
|
13758
|
+
"default": ["url", "\"\""]
|
|
13759
|
+
}, {
|
|
13760
|
+
"name": "httpVerb",
|
|
13761
|
+
"type": "string",
|
|
13762
|
+
"dataType": "Char",
|
|
13763
|
+
"length": 20,
|
|
13764
|
+
"default": ["httpVerb", "\"POST\""]
|
|
13765
|
+
}, {
|
|
13766
|
+
"name": "headers",
|
|
13767
|
+
"type": "string",
|
|
13768
|
+
"dataType": "Char",
|
|
13769
|
+
"default": ["headers", "\"\""]
|
|
13770
|
+
}, {
|
|
13771
|
+
"name": "lastEvent",
|
|
13772
|
+
"type": "string",
|
|
13773
|
+
"dataType": "Char",
|
|
13774
|
+
"length": 50,
|
|
13775
|
+
"default": ["lastEvent", "\"\""]
|
|
13776
|
+
}, {
|
|
13777
|
+
"name": "lastEventTime",
|
|
13778
|
+
"type": "DateTime",
|
|
13779
|
+
"dataType": "DateTime",
|
|
13780
|
+
"default": ["lastEventTime", "new DefaultFactory(() => new DateTime())"]
|
|
13781
|
+
}],
|
|
13782
|
+
"relations": [{
|
|
13783
|
+
"name": "mailbox",
|
|
13784
|
+
"fkMap": [{
|
|
13785
|
+
"fk": "mailboxID",
|
|
13786
|
+
"relatedKey": "mailboxID"
|
|
13787
|
+
}],
|
|
13788
|
+
"relatedName": "Mailbox"
|
|
13789
|
+
}, {
|
|
13790
|
+
"name": "store",
|
|
13791
|
+
"fkMap": [{
|
|
13792
|
+
"fk": "storeID",
|
|
13793
|
+
"relatedKey": "folderID"
|
|
13794
|
+
}],
|
|
13795
|
+
"relatedName": "WebSiteFolder"
|
|
13796
|
+
}, {
|
|
13797
|
+
"name": "storeItem",
|
|
13798
|
+
"fkMap": [{
|
|
13799
|
+
"fk": "storeItemID",
|
|
13800
|
+
"relatedKey": "storeItemID"
|
|
13801
|
+
}],
|
|
13802
|
+
"relatedName": "StoreItem"
|
|
13803
|
+
}, {
|
|
13804
|
+
"name": "mailboxContact",
|
|
13805
|
+
"fkMap": [{
|
|
13806
|
+
"fk": "mailboxID",
|
|
13807
|
+
"relatedKey": "mailboxID"
|
|
13808
|
+
}, {
|
|
13809
|
+
"fk": "emailAddressID",
|
|
13810
|
+
"relatedKey": "emailAddressID"
|
|
13811
|
+
}],
|
|
13812
|
+
"relatedName": "MailboxContact"
|
|
13813
|
+
}, {
|
|
13814
|
+
"name": "events",
|
|
13815
|
+
"isCollection": true,
|
|
13816
|
+
"isInverse": true,
|
|
13817
|
+
"relatedName": "WebHookEvent"
|
|
13818
|
+
}]
|
|
13819
|
+
}));
|
|
13820
|
+
modelEntitySchemas["WebHook"] = WebHook;
|
|
13821
|
+
_export("WebHookEvent", WebHookEvent = new Model("WebHookEvent", ["webHookEventID"], {
|
|
13822
|
+
dateCreated: new DefaultFactory(() => new DateTime()),
|
|
13823
|
+
dateUpdated: new DefaultFactory(() => new DateTime())
|
|
13824
|
+
}, {
|
|
13825
|
+
"name": "web_hook_events",
|
|
13826
|
+
"keys": [{
|
|
13827
|
+
"name": "webHookEventID",
|
|
13828
|
+
"type": "number",
|
|
13829
|
+
"generated": "identity",
|
|
13830
|
+
"dataType": "BigInt"
|
|
13831
|
+
}],
|
|
13832
|
+
"properties": [{
|
|
13833
|
+
"name": "webHookID",
|
|
13834
|
+
"type": "number",
|
|
13835
|
+
"dataType": "BigInt"
|
|
13836
|
+
}, {
|
|
13837
|
+
"name": "dateCreated",
|
|
13838
|
+
"type": "DateTime",
|
|
13839
|
+
"dataType": "DateTime",
|
|
13840
|
+
"default": ["dateCreated", "new DefaultFactory(() => new DateTime())"]
|
|
13841
|
+
}, {
|
|
13842
|
+
"name": "dateUpdated",
|
|
13843
|
+
"type": "DateTime",
|
|
13844
|
+
"dataType": "DateTime",
|
|
13845
|
+
"default": ["dateUpdated", "new DefaultFactory(() => new DateTime())"]
|
|
13846
|
+
}, {
|
|
13847
|
+
"name": "status",
|
|
13848
|
+
"type": "number",
|
|
13849
|
+
"dataType": "Int",
|
|
13850
|
+
"default": ["status", "0"]
|
|
13851
|
+
}, {
|
|
13852
|
+
"name": "response",
|
|
13853
|
+
"type": "string",
|
|
13854
|
+
"dataType": "Char",
|
|
13855
|
+
"length": 400,
|
|
13856
|
+
"default": ["response", "\"\""]
|
|
13857
|
+
}, {
|
|
13858
|
+
"name": "success",
|
|
13859
|
+
"type": "boolean",
|
|
13860
|
+
"dataType": "Boolean",
|
|
13861
|
+
"default": ["success", "false"]
|
|
13862
|
+
}, {
|
|
13863
|
+
"name": "cloudPath",
|
|
13864
|
+
"type": "string",
|
|
13865
|
+
"dataType": "Char",
|
|
13866
|
+
"length": 200,
|
|
13867
|
+
"default": ["cloudPath", "\"\""]
|
|
13868
|
+
}],
|
|
13869
|
+
"relations": [{
|
|
13870
|
+
"name": "webHook",
|
|
13871
|
+
"fkMap": [{
|
|
13872
|
+
"fk": "webHookID",
|
|
13873
|
+
"relatedKey": "webHookID"
|
|
13874
|
+
}],
|
|
13875
|
+
"relatedName": "WebHook"
|
|
13876
|
+
}]
|
|
13877
|
+
}));
|
|
13878
|
+
modelEntitySchemas["WebHookEvent"] = WebHookEvent;
|
|
13692
13879
|
_export("AccessToken", AccessToken = new Model("AccessToken", ["tokenID"], {
|
|
13693
13880
|
dateCreated: new DefaultFactory(() => new DateTime()),
|
|
13694
13881
|
expiryDate: new DefaultFactory(() => new DateTime())
|
|
@@ -15330,6 +15517,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
15330
15517
|
"isCollection": true,
|
|
15331
15518
|
"isInverse": true,
|
|
15332
15519
|
"relatedName": "AppFile"
|
|
15520
|
+
}, {
|
|
15521
|
+
"name": "lastEmailThreads",
|
|
15522
|
+
"isCollection": true,
|
|
15523
|
+
"isInverse": true,
|
|
15524
|
+
"relatedName": "MailboxContact"
|
|
15333
15525
|
}, {
|
|
15334
15526
|
"name": "engagements",
|
|
15335
15527
|
"isCollection": true,
|
|
@@ -15350,11 +15542,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
15350
15542
|
"isCollection": true,
|
|
15351
15543
|
"isInverse": true,
|
|
15352
15544
|
"relatedName": "MailboxEmail"
|
|
15353
|
-
}, {
|
|
15354
|
-
"name": "lastEmailThreads",
|
|
15355
|
-
"isCollection": true,
|
|
15356
|
-
"isInverse": true,
|
|
15357
|
-
"relatedName": "MailboxContact"
|
|
15358
15545
|
}, {
|
|
15359
15546
|
"name": "mailboxContactEvents",
|
|
15360
15547
|
"isCollection": true,
|
|
@@ -15637,6 +15824,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
15637
15824
|
"isCollection": false,
|
|
15638
15825
|
"isInverse": true,
|
|
15639
15826
|
"relatedName": "Mailbox"
|
|
15827
|
+
}, {
|
|
15828
|
+
"name": "threads",
|
|
15829
|
+
"isCollection": true,
|
|
15830
|
+
"isInverse": true,
|
|
15831
|
+
"relatedName": "MailboxContact"
|
|
15640
15832
|
}, {
|
|
15641
15833
|
"name": "contactEmails",
|
|
15642
15834
|
"isCollection": true,
|
|
@@ -15647,11 +15839,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
15647
15839
|
"isCollection": true,
|
|
15648
15840
|
"isInverse": true,
|
|
15649
15841
|
"relatedName": "EmailRecipient"
|
|
15650
|
-
}, {
|
|
15651
|
-
"name": "threads",
|
|
15652
|
-
"isCollection": true,
|
|
15653
|
-
"isInverse": true,
|
|
15654
|
-
"relatedName": "MailboxContact"
|
|
15655
15842
|
}, {
|
|
15656
15843
|
"name": "subscriberActivities",
|
|
15657
15844
|
"isCollection": true,
|
|
@@ -15891,6 +16078,16 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
15891
16078
|
"relatedKey": "appFileID"
|
|
15892
16079
|
}],
|
|
15893
16080
|
"relatedName": "AppFile"
|
|
16081
|
+
}, {
|
|
16082
|
+
"name": "webHooks",
|
|
16083
|
+
"isCollection": true,
|
|
16084
|
+
"isInverse": true,
|
|
16085
|
+
"relatedName": "WebHook"
|
|
16086
|
+
}, {
|
|
16087
|
+
"name": "mailboxContacts",
|
|
16088
|
+
"isCollection": true,
|
|
16089
|
+
"isInverse": true,
|
|
16090
|
+
"relatedName": "MailboxContact"
|
|
15894
16091
|
}, {
|
|
15895
16092
|
"name": "contacts",
|
|
15896
16093
|
"isCollection": true,
|
|
@@ -15906,11 +16103,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
15906
16103
|
"isCollection": true,
|
|
15907
16104
|
"isInverse": true,
|
|
15908
16105
|
"relatedName": "MailboxEmail"
|
|
15909
|
-
}, {
|
|
15910
|
-
"name": "mailboxContacts",
|
|
15911
|
-
"isCollection": true,
|
|
15912
|
-
"isInverse": true,
|
|
15913
|
-
"relatedName": "MailboxContact"
|
|
15914
16106
|
}, {
|
|
15915
16107
|
"name": "mailboxEvents",
|
|
15916
16108
|
"isCollection": true,
|
|
@@ -16185,6 +16377,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
16185
16377
|
"relatedKey": "emailID"
|
|
16186
16378
|
}],
|
|
16187
16379
|
"relatedName": "Email"
|
|
16380
|
+
}, {
|
|
16381
|
+
"name": "webHooks",
|
|
16382
|
+
"isCollection": true,
|
|
16383
|
+
"isInverse": true,
|
|
16384
|
+
"relatedName": "WebHook"
|
|
16188
16385
|
}, {
|
|
16189
16386
|
"name": "contactEvents",
|
|
16190
16387
|
"isCollection": true,
|
|
@@ -17213,6 +17410,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
17213
17410
|
"relatedKey": "accountID"
|
|
17214
17411
|
}],
|
|
17215
17412
|
"relatedName": "StoreAccount"
|
|
17413
|
+
}, {
|
|
17414
|
+
"name": "webHooks",
|
|
17415
|
+
"isCollection": true,
|
|
17416
|
+
"isInverse": true,
|
|
17417
|
+
"relatedName": "WebHook"
|
|
17216
17418
|
}, {
|
|
17217
17419
|
"name": "itemCoupons",
|
|
17218
17420
|
"isCollection": true,
|
|
@@ -17271,6 +17473,8 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
17271
17473
|
active: false,
|
|
17272
17474
|
hidden: false,
|
|
17273
17475
|
startDate: new DefaultFactory(() => new DateTime()),
|
|
17476
|
+
dateCreated: new DefaultFactory(() => new DateTime()),
|
|
17477
|
+
dateUpdated: new DefaultFactory(() => new DateTime()),
|
|
17274
17478
|
exclusive: false,
|
|
17275
17479
|
minOrderAmount: 0,
|
|
17276
17480
|
maxOrderAmount: 0,
|
|
@@ -17320,6 +17524,16 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
17320
17524
|
"type": "DateTime",
|
|
17321
17525
|
"dataType": "DateTime",
|
|
17322
17526
|
"default": ["endDate", "new DefaultFactory(() => new DateTime())"]
|
|
17527
|
+
}, {
|
|
17528
|
+
"name": "dateCreated",
|
|
17529
|
+
"type": "DateTime",
|
|
17530
|
+
"dataType": "DateTime",
|
|
17531
|
+
"default": ["dateCreated", "new DefaultFactory(() => new DateTime())"]
|
|
17532
|
+
}, {
|
|
17533
|
+
"name": "dateUpdated",
|
|
17534
|
+
"type": "DateTime",
|
|
17535
|
+
"dataType": "DateTime",
|
|
17536
|
+
"default": ["dateUpdated", "new DefaultFactory(() => new DateTime())"]
|
|
17323
17537
|
}, {
|
|
17324
17538
|
"name": "exclusive",
|
|
17325
17539
|
"type": "boolean",
|
|
@@ -17535,7 +17749,9 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
17535
17749
|
_export("StoreItemPrice", StoreItemPrice = new Model("StoreItemPrice", ["priceID"], {
|
|
17536
17750
|
startDate: new DefaultFactory(() => new DateTime()),
|
|
17537
17751
|
currency: "",
|
|
17752
|
+
recurring: false,
|
|
17538
17753
|
amount: 0,
|
|
17754
|
+
maxQuantity: 0,
|
|
17539
17755
|
taxIncluded: false,
|
|
17540
17756
|
taxAmount: 0,
|
|
17541
17757
|
active: false
|
|
@@ -17567,6 +17783,16 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
17567
17783
|
"dataType": "Char",
|
|
17568
17784
|
"length": 5,
|
|
17569
17785
|
"default": ["currency", "\"\""]
|
|
17786
|
+
}, {
|
|
17787
|
+
"name": "recurring",
|
|
17788
|
+
"type": "boolean",
|
|
17789
|
+
"dataType": "Boolean",
|
|
17790
|
+
"default": ["recurring", "false"]
|
|
17791
|
+
}, {
|
|
17792
|
+
"name": "durationDays",
|
|
17793
|
+
"type": "number",
|
|
17794
|
+
"dataType": "Int",
|
|
17795
|
+
"default": ["durationDays", "0"]
|
|
17570
17796
|
}, {
|
|
17571
17797
|
"name": "amount",
|
|
17572
17798
|
"type": "number",
|
|
@@ -17577,6 +17803,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
17577
17803
|
"type": "number",
|
|
17578
17804
|
"dataType": "Decimal",
|
|
17579
17805
|
"default": ["maxAmount", "0"]
|
|
17806
|
+
}, {
|
|
17807
|
+
"name": "maxQuantity",
|
|
17808
|
+
"type": "number",
|
|
17809
|
+
"dataType": "Decimal",
|
|
17810
|
+
"default": ["maxQuantity", "0"]
|
|
17580
17811
|
}, {
|
|
17581
17812
|
"name": "taxIncluded",
|
|
17582
17813
|
"type": "boolean",
|
|
@@ -18268,12 +18499,22 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
18268
18499
|
"label": "payment",
|
|
18269
18500
|
"value": "payment"
|
|
18270
18501
|
}]);
|
|
18502
|
+
_export("StoreJournalStatusArray", StoreJournalStatusArray = [{
|
|
18503
|
+
"label": "new",
|
|
18504
|
+
"value": "new"
|
|
18505
|
+
}, {
|
|
18506
|
+
"label": "paid",
|
|
18507
|
+
"value": "paid"
|
|
18508
|
+
}, {
|
|
18509
|
+
"label": "draft",
|
|
18510
|
+
"value": "draft"
|
|
18511
|
+
}]);
|
|
18271
18512
|
_export("StoreJournal", StoreJournal = new Model("StoreJournal", ["journalID"], {
|
|
18272
18513
|
dateCreated: new DefaultFactory(() => new DateTime()),
|
|
18273
18514
|
dateUpdated: new DefaultFactory(() => new DateTime()),
|
|
18274
18515
|
journalType: "order",
|
|
18275
18516
|
posted: false,
|
|
18276
|
-
status: "",
|
|
18517
|
+
status: "new",
|
|
18277
18518
|
total: 0,
|
|
18278
18519
|
balance: 0,
|
|
18279
18520
|
taxExempt: false
|
|
@@ -18320,7 +18561,7 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
18320
18561
|
"type": "string",
|
|
18321
18562
|
"dataType": "Char",
|
|
18322
18563
|
"length": 50,
|
|
18323
|
-
"default": ["status", "\"\""]
|
|
18564
|
+
"default": ["status", "\"new\""]
|
|
18324
18565
|
}, {
|
|
18325
18566
|
"name": "sellerID",
|
|
18326
18567
|
"type": "number",
|
|
@@ -18969,6 +19210,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
18969
19210
|
"isCollection": true,
|
|
18970
19211
|
"isInverse": true,
|
|
18971
19212
|
"relatedName": "Email"
|
|
19213
|
+
}, {
|
|
19214
|
+
"name": "storeAccount",
|
|
19215
|
+
"isCollection": false,
|
|
19216
|
+
"isInverse": true,
|
|
19217
|
+
"relatedName": "StoreAccount"
|
|
18972
19218
|
}, {
|
|
18973
19219
|
"name": "accessTokens",
|
|
18974
19220
|
"isCollection": true,
|
|
@@ -19004,11 +19250,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
19004
19250
|
"isCollection": true,
|
|
19005
19251
|
"isInverse": true,
|
|
19006
19252
|
"relatedName": "HostedZoneUser"
|
|
19007
|
-
}, {
|
|
19008
|
-
"name": "storeAccount",
|
|
19009
|
-
"isCollection": false,
|
|
19010
|
-
"isInverse": true,
|
|
19011
|
-
"relatedName": "StoreAccount"
|
|
19012
19253
|
}, {
|
|
19013
19254
|
"name": "pins",
|
|
19014
19255
|
"isCollection": true,
|
|
@@ -19359,15 +19600,10 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
19359
19600
|
}],
|
|
19360
19601
|
"relatedName": "AppFile"
|
|
19361
19602
|
}, {
|
|
19362
|
-
"name": "
|
|
19603
|
+
"name": "webHooks",
|
|
19363
19604
|
"isCollection": true,
|
|
19364
19605
|
"isInverse": true,
|
|
19365
|
-
"relatedName": "
|
|
19366
|
-
}, {
|
|
19367
|
-
"name": "configs",
|
|
19368
|
-
"isCollection": true,
|
|
19369
|
-
"isInverse": true,
|
|
19370
|
-
"relatedName": "StoreConfig"
|
|
19606
|
+
"relatedName": "WebHook"
|
|
19371
19607
|
}, {
|
|
19372
19608
|
"name": "storeItems",
|
|
19373
19609
|
"isCollection": true,
|
|
@@ -19383,6 +19619,16 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
19383
19619
|
"isCollection": true,
|
|
19384
19620
|
"isInverse": true,
|
|
19385
19621
|
"relatedName": "StoreAccount"
|
|
19622
|
+
}, {
|
|
19623
|
+
"name": "activities",
|
|
19624
|
+
"isCollection": true,
|
|
19625
|
+
"isInverse": true,
|
|
19626
|
+
"relatedName": "ServerActivity"
|
|
19627
|
+
}, {
|
|
19628
|
+
"name": "configs",
|
|
19629
|
+
"isCollection": true,
|
|
19630
|
+
"isInverse": true,
|
|
19631
|
+
"relatedName": "StoreConfig"
|
|
19386
19632
|
}, {
|
|
19387
19633
|
"name": "coupons",
|
|
19388
19634
|
"isCollection": true,
|
|
@@ -24990,7 +25236,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
24990
25236
|
"style-width": "300px"
|
|
24991
25237
|
}, XNode.create("thead", null, XNode.create("th", null, "Item"), XNode.create("th", null, "Qty"), XNode.create("th", null, "Amount"), XNode.create("th", null, "Taxes")), XNode.create("tbody", null, ...order.lineItems.map(item => {
|
|
24992
25238
|
var _a;
|
|
24993
|
-
return XNode.create("tr", null, XNode.create("td", null, item.item.name), XNode.create("td", null, item.quantity), XNode.create("td", null, item.itemPrice.amount), XNode.create("td", null, (_a = item.itemPrice.
|
|
25239
|
+
return XNode.create("tr", null, XNode.create("td", null, item.item.name), XNode.create("td", null, item.quantity), XNode.create("td", null, item.itemPrice.amount), XNode.create("td", null, (_a = item.itemPrice.taxAmount) !== null && _a !== void 0 ? _a : "0"));
|
|
24994
25240
|
}))), XNode.create("table", null, XNode.create("tr", null, XNode.create("td", null, "Total"), XNode.create("td", null, order.total))), XNode.create("br", null), XNode.create("div", null, XNode.create(AtomRepeater, {
|
|
24995
25241
|
for: "table",
|
|
24996
25242
|
header: true,
|