@social-mail/social-mail-client 1.2.704 → 1.2.705
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 +310 -25
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +3 -3
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/common/pages/stores/products/ProductEditor.js +1 -1
- package/dist/common/pages/stores/products/ProductEditor.js.map +1 -1
- package/dist/model/model.d.ts +60 -5
- package/dist/model/model.d.ts.map +1 -1
- package/dist/model/model.js +307 -22
- package/dist/model/model.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.js +307 -22
- 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 +307 -22
- 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/Store.pack.js +307 -22
- package/dist/public/store/Store.pack.js.map +1 -1
- package/dist/public/store/Store.pack.min.js +1 -1
- package/dist/public/store/Store.pack.min.js.map +1 -1
- package/dist/public/store/StoreApp.pack.js +307 -22
- package/dist/public/store/StoreApp.pack.js.map +1 -1
- package/dist/public/store/StoreApp.pack.min.js +1 -1
- package/dist/public/store/StoreApp.pack.min.js.map +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.js +307 -22
- 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/services/store/StoreItemService.js +2 -2
- package/dist/services/store/StoreItemService.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +310 -25
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +3 -3
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/common/pages/stores/products/ProductEditor.tsx +1 -1
- package/src/model/model.ts +78 -12
- package/src/services/store/StoreItemService.ts +2 -2
|
@@ -9925,7 +9925,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
|
|
|
9925
9925
|
System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/services/BaseEntityService"], function (_export, _context) {
|
|
9926
9926
|
"use strict";
|
|
9927
9927
|
|
|
9928
|
-
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, StoreItem, 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;
|
|
9928
|
+
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;
|
|
9929
9929
|
return {
|
|
9930
9930
|
setters: [function (_webAtomsDateTimeDistDateTime) {
|
|
9931
9931
|
DateTime = _webAtomsDateTimeDistDateTime.default;
|
|
@@ -13512,10 +13512,39 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
13512
13512
|
"label": "size",
|
|
13513
13513
|
"value": "size"
|
|
13514
13514
|
}]);
|
|
13515
|
+
_export("StoreItemItemUnitTypeArray", StoreItemItemUnitTypeArray = [{
|
|
13516
|
+
"label": "product",
|
|
13517
|
+
"value": "product"
|
|
13518
|
+
}, {
|
|
13519
|
+
"label": "e-product",
|
|
13520
|
+
"value": "e-product"
|
|
13521
|
+
}, {
|
|
13522
|
+
"label": "shipping",
|
|
13523
|
+
"value": "shipping"
|
|
13524
|
+
}, {
|
|
13525
|
+
"label": "service",
|
|
13526
|
+
"value": "service"
|
|
13527
|
+
}, {
|
|
13528
|
+
"label": "tax",
|
|
13529
|
+
"value": "tax"
|
|
13530
|
+
}, {
|
|
13531
|
+
"label": "fee",
|
|
13532
|
+
"value": "fee"
|
|
13533
|
+
}, {
|
|
13534
|
+
"label": "commission",
|
|
13535
|
+
"value": "commission"
|
|
13536
|
+
}, {
|
|
13537
|
+
"label": "variant",
|
|
13538
|
+
"value": "variant"
|
|
13539
|
+
}, {
|
|
13540
|
+
"label": "size",
|
|
13541
|
+
"value": "size"
|
|
13542
|
+
}]);
|
|
13515
13543
|
_export("StoreItem", StoreItem = new Model("StoreItem", ["storeItemID"], {
|
|
13516
13544
|
name: "",
|
|
13517
13545
|
active: false,
|
|
13518
13546
|
itemType: "product",
|
|
13547
|
+
itemUnit: 0,
|
|
13519
13548
|
dateCreated: new DefaultFactory(() => new DateTime()),
|
|
13520
13549
|
dateUpdated: new DefaultFactory(() => new DateTime()),
|
|
13521
13550
|
price: 0,
|
|
@@ -13563,6 +13592,17 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
13563
13592
|
"dataType": "Char",
|
|
13564
13593
|
"length": 20,
|
|
13565
13594
|
"default": ["itemType", "\"product\""]
|
|
13595
|
+
}, {
|
|
13596
|
+
"name": "itemUnitType",
|
|
13597
|
+
"type": "string",
|
|
13598
|
+
"dataType": "Char",
|
|
13599
|
+
"length": 50,
|
|
13600
|
+
"default": ["itemUnitType", "\"product\""]
|
|
13601
|
+
}, {
|
|
13602
|
+
"name": "itemUnit",
|
|
13603
|
+
"type": "number",
|
|
13604
|
+
"dataType": "Decimal",
|
|
13605
|
+
"default": ["itemUnit", "0"]
|
|
13566
13606
|
}, {
|
|
13567
13607
|
"name": "folderID",
|
|
13568
13608
|
"type": "number",
|
|
@@ -13652,6 +13692,16 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
13652
13692
|
"relatedKey": "accountID"
|
|
13653
13693
|
}],
|
|
13654
13694
|
"relatedName": "StoreAccount"
|
|
13695
|
+
}, {
|
|
13696
|
+
"name": "itemCoupons",
|
|
13697
|
+
"isCollection": true,
|
|
13698
|
+
"isInverse": true,
|
|
13699
|
+
"relatedName": "StoreCoupon"
|
|
13700
|
+
}, {
|
|
13701
|
+
"name": "lineItems",
|
|
13702
|
+
"isCollection": true,
|
|
13703
|
+
"isInverse": true,
|
|
13704
|
+
"relatedName": "StoreJournalLineItem"
|
|
13655
13705
|
}, {
|
|
13656
13706
|
"name": "storeItemPrices",
|
|
13657
13707
|
"isCollection": true,
|
|
@@ -13668,12 +13718,7 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
13668
13718
|
"isInverse": true,
|
|
13669
13719
|
"relatedName": "StoreInsight"
|
|
13670
13720
|
}, {
|
|
13671
|
-
"name": "
|
|
13672
|
-
"isCollection": true,
|
|
13673
|
-
"isInverse": true,
|
|
13674
|
-
"relatedName": "StoreJournalLineItem"
|
|
13675
|
-
}, {
|
|
13676
|
-
"name": "taxes",
|
|
13721
|
+
"name": "applicableTaxes",
|
|
13677
13722
|
"isCollection": true,
|
|
13678
13723
|
"isInverse": true,
|
|
13679
13724
|
"relatedName": "StoreItemTax"
|
|
@@ -13693,6 +13738,179 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
13693
13738
|
}
|
|
13694
13739
|
}));
|
|
13695
13740
|
modelEntitySchemas["StoreItem"] = StoreItem;
|
|
13741
|
+
_export("StoreCouponTypeArray", StoreCouponTypeArray = [{
|
|
13742
|
+
"label": "discount",
|
|
13743
|
+
"value": "discount"
|
|
13744
|
+
}, {
|
|
13745
|
+
"label": "subtract",
|
|
13746
|
+
"value": "subtract"
|
|
13747
|
+
}]);
|
|
13748
|
+
_export("StoreCoupon", StoreCoupon = new Model("StoreCoupon", ["couponID"], {
|
|
13749
|
+
code: "",
|
|
13750
|
+
active: false,
|
|
13751
|
+
hidden: false,
|
|
13752
|
+
startDate: new DefaultFactory(() => new DateTime()),
|
|
13753
|
+
exclusive: false,
|
|
13754
|
+
minOrderAmount: 0,
|
|
13755
|
+
maxOrderAmount: 0,
|
|
13756
|
+
minQuantity: 0,
|
|
13757
|
+
maxQuantity: 0,
|
|
13758
|
+
amount: 0,
|
|
13759
|
+
type: "discount"
|
|
13760
|
+
}, {
|
|
13761
|
+
"name": "store_coupons",
|
|
13762
|
+
"keys": [{
|
|
13763
|
+
"name": "couponID",
|
|
13764
|
+
"type": "number",
|
|
13765
|
+
"generated": "identity",
|
|
13766
|
+
"dataType": "BigInt"
|
|
13767
|
+
}],
|
|
13768
|
+
"properties": [{
|
|
13769
|
+
"name": "storeID",
|
|
13770
|
+
"type": "number",
|
|
13771
|
+
"dataType": "BigInt"
|
|
13772
|
+
}, {
|
|
13773
|
+
"name": "code",
|
|
13774
|
+
"type": "string",
|
|
13775
|
+
"dataType": "Char",
|
|
13776
|
+
"length": 100,
|
|
13777
|
+
"default": ["code", "\"\""]
|
|
13778
|
+
}, {
|
|
13779
|
+
"name": "active",
|
|
13780
|
+
"type": "boolean",
|
|
13781
|
+
"dataType": "Boolean",
|
|
13782
|
+
"default": ["active", "false"]
|
|
13783
|
+
}, {
|
|
13784
|
+
"name": "hidden",
|
|
13785
|
+
"type": "boolean",
|
|
13786
|
+
"dataType": "Boolean",
|
|
13787
|
+
"default": ["hidden", "false"]
|
|
13788
|
+
}, {
|
|
13789
|
+
"name": "itemID",
|
|
13790
|
+
"type": "number",
|
|
13791
|
+
"dataType": "BigInt"
|
|
13792
|
+
}, {
|
|
13793
|
+
"name": "startDate",
|
|
13794
|
+
"type": "DateTime",
|
|
13795
|
+
"dataType": "DateTime",
|
|
13796
|
+
"default": ["startDate", "new DefaultFactory(() => new DateTime())"]
|
|
13797
|
+
}, {
|
|
13798
|
+
"name": "endDate",
|
|
13799
|
+
"type": "DateTime",
|
|
13800
|
+
"dataType": "DateTime",
|
|
13801
|
+
"default": ["endDate", "new DefaultFactory(() => new DateTime())"]
|
|
13802
|
+
}, {
|
|
13803
|
+
"name": "exclusive",
|
|
13804
|
+
"type": "boolean",
|
|
13805
|
+
"dataType": "Boolean",
|
|
13806
|
+
"default": ["exclusive", "false"]
|
|
13807
|
+
}, {
|
|
13808
|
+
"name": "minOrderAmount",
|
|
13809
|
+
"type": "number",
|
|
13810
|
+
"dataType": "Decimal",
|
|
13811
|
+
"default": ["minOrderAmount", "0"]
|
|
13812
|
+
}, {
|
|
13813
|
+
"name": "maxOrderAmount",
|
|
13814
|
+
"type": "number",
|
|
13815
|
+
"dataType": "Decimal",
|
|
13816
|
+
"default": ["maxOrderAmount", "0"]
|
|
13817
|
+
}, {
|
|
13818
|
+
"name": "minQuantity",
|
|
13819
|
+
"type": "number",
|
|
13820
|
+
"dataType": "Int",
|
|
13821
|
+
"default": ["minQuantity", "0"]
|
|
13822
|
+
}, {
|
|
13823
|
+
"name": "maxQuantity",
|
|
13824
|
+
"type": "number",
|
|
13825
|
+
"dataType": "Int",
|
|
13826
|
+
"default": ["maxQuantity", "0"]
|
|
13827
|
+
}, {
|
|
13828
|
+
"name": "amount",
|
|
13829
|
+
"type": "number",
|
|
13830
|
+
"dataType": "Int",
|
|
13831
|
+
"default": ["amount", "0"]
|
|
13832
|
+
}, {
|
|
13833
|
+
"name": "type",
|
|
13834
|
+
"type": "string",
|
|
13835
|
+
"dataType": "Char",
|
|
13836
|
+
"length": 50,
|
|
13837
|
+
"default": ["type", "\"discount\""]
|
|
13838
|
+
}],
|
|
13839
|
+
"relations": [{
|
|
13840
|
+
"name": "store",
|
|
13841
|
+
"fkMap": [{
|
|
13842
|
+
"fk": "storeID",
|
|
13843
|
+
"relatedKey": "folderID"
|
|
13844
|
+
}],
|
|
13845
|
+
"relatedName": "WebSiteFolder"
|
|
13846
|
+
}, {
|
|
13847
|
+
"name": "item",
|
|
13848
|
+
"fkMap": [{
|
|
13849
|
+
"fk": "itemID",
|
|
13850
|
+
"relatedKey": "storeItemID"
|
|
13851
|
+
}],
|
|
13852
|
+
"relatedName": "StoreItem"
|
|
13853
|
+
}, {
|
|
13854
|
+
"name": "orders",
|
|
13855
|
+
"isCollection": true,
|
|
13856
|
+
"isInverse": true,
|
|
13857
|
+
"relatedName": "StoreJournalCoupon"
|
|
13858
|
+
}]
|
|
13859
|
+
}));
|
|
13860
|
+
modelEntitySchemas["StoreCoupon"] = StoreCoupon;
|
|
13861
|
+
_export("StoreJournalCoupon", StoreJournalCoupon = new Model("StoreJournalCoupon", ["appliedCouponID"], {
|
|
13862
|
+
couponCode: ""
|
|
13863
|
+
}, {
|
|
13864
|
+
"name": "store_journal_coupons",
|
|
13865
|
+
"keys": [{
|
|
13866
|
+
"name": "appliedCouponID",
|
|
13867
|
+
"type": "number",
|
|
13868
|
+
"generated": "identity",
|
|
13869
|
+
"dataType": "BigInt"
|
|
13870
|
+
}],
|
|
13871
|
+
"properties": [{
|
|
13872
|
+
"name": "couponID",
|
|
13873
|
+
"type": "number",
|
|
13874
|
+
"dataType": "BigInt"
|
|
13875
|
+
}, {
|
|
13876
|
+
"name": "orderID",
|
|
13877
|
+
"type": "number",
|
|
13878
|
+
"dataType": "BigInt"
|
|
13879
|
+
}, {
|
|
13880
|
+
"name": "lineItemID",
|
|
13881
|
+
"type": "number",
|
|
13882
|
+
"dataType": "BigInt"
|
|
13883
|
+
}, {
|
|
13884
|
+
"name": "couponCode",
|
|
13885
|
+
"type": "string",
|
|
13886
|
+
"dataType": "Char",
|
|
13887
|
+
"length": 200,
|
|
13888
|
+
"default": ["couponCode", "\"\""]
|
|
13889
|
+
}],
|
|
13890
|
+
"relations": [{
|
|
13891
|
+
"name": "coupon",
|
|
13892
|
+
"fkMap": [{
|
|
13893
|
+
"fk": "couponID",
|
|
13894
|
+
"relatedKey": "couponID"
|
|
13895
|
+
}],
|
|
13896
|
+
"relatedName": "StoreCoupon"
|
|
13897
|
+
}, {
|
|
13898
|
+
"name": "order",
|
|
13899
|
+
"fkMap": [{
|
|
13900
|
+
"fk": "orderID",
|
|
13901
|
+
"relatedKey": "journalID"
|
|
13902
|
+
}],
|
|
13903
|
+
"relatedName": "StoreJournal"
|
|
13904
|
+
}, {
|
|
13905
|
+
"name": "lineItem",
|
|
13906
|
+
"fkMap": [{
|
|
13907
|
+
"fk": "lineItemID",
|
|
13908
|
+
"relatedKey": "lineItemID"
|
|
13909
|
+
}],
|
|
13910
|
+
"relatedName": "StoreJournalLineItem"
|
|
13911
|
+
}]
|
|
13912
|
+
}));
|
|
13913
|
+
modelEntitySchemas["StoreJournalCoupon"] = StoreJournalCoupon;
|
|
13696
13914
|
_export("StoreItemFolder", StoreItemFolder = new Model("StoreItemFolder", ["itemFolderID"], {
|
|
13697
13915
|
name: "",
|
|
13698
13916
|
path: ""
|
|
@@ -14180,6 +14398,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
14180
14398
|
"isCollection": true,
|
|
14181
14399
|
"isInverse": true,
|
|
14182
14400
|
"relatedName": "StoreAccountAddress"
|
|
14401
|
+
}, {
|
|
14402
|
+
"name": "soldItems",
|
|
14403
|
+
"isCollection": true,
|
|
14404
|
+
"isInverse": true,
|
|
14405
|
+
"relatedName": "StoreJournalLineItem"
|
|
14183
14406
|
}, {
|
|
14184
14407
|
"name": "storePaymentGateway",
|
|
14185
14408
|
"isCollection": false,
|
|
@@ -14200,11 +14423,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
14200
14423
|
"isCollection": true,
|
|
14201
14424
|
"isInverse": true,
|
|
14202
14425
|
"relatedName": "StoreJournalEntry"
|
|
14203
|
-
}, {
|
|
14204
|
-
"name": "soldItems",
|
|
14205
|
-
"isCollection": true,
|
|
14206
|
-
"isInverse": true,
|
|
14207
|
-
"relatedName": "StoreJournalLineItem"
|
|
14208
14426
|
}]
|
|
14209
14427
|
}));
|
|
14210
14428
|
modelEntitySchemas["StoreAccount"] = StoreAccount;
|
|
@@ -14686,6 +14904,16 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
14686
14904
|
"relatedKey": "appFileID"
|
|
14687
14905
|
}],
|
|
14688
14906
|
"relatedName": "AppFile"
|
|
14907
|
+
}, {
|
|
14908
|
+
"name": "orderCoupons",
|
|
14909
|
+
"isCollection": true,
|
|
14910
|
+
"isInverse": true,
|
|
14911
|
+
"relatedName": "StoreJournalCoupon"
|
|
14912
|
+
}, {
|
|
14913
|
+
"name": "lineItems",
|
|
14914
|
+
"isCollection": true,
|
|
14915
|
+
"isInverse": true,
|
|
14916
|
+
"relatedName": "StoreJournalLineItem"
|
|
14689
14917
|
}, {
|
|
14690
14918
|
"name": "paymentAttempts",
|
|
14691
14919
|
"isCollection": true,
|
|
@@ -14696,11 +14924,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
14696
14924
|
"isCollection": true,
|
|
14697
14925
|
"isInverse": true,
|
|
14698
14926
|
"relatedName": "StoreJournalEntry"
|
|
14699
|
-
}, {
|
|
14700
|
-
"name": "lineItems",
|
|
14701
|
-
"isCollection": true,
|
|
14702
|
-
"isInverse": true,
|
|
14703
|
-
"relatedName": "StoreJournalLineItem"
|
|
14704
14927
|
}]
|
|
14705
14928
|
}));
|
|
14706
14929
|
modelEntitySchemas["StoreJournal"] = StoreJournal;
|
|
@@ -14801,9 +15024,15 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
14801
15024
|
"value": "size"
|
|
14802
15025
|
}]);
|
|
14803
15026
|
_export("StoreJournalLineItem", StoreJournalLineItem = new Model("StoreJournalLineItem", ["lineItemID"], {
|
|
15027
|
+
price: 0,
|
|
15028
|
+
discountPercentage: 0,
|
|
15029
|
+
discount: 0,
|
|
15030
|
+
priceAfterDiscount: 0,
|
|
15031
|
+
couponDiscount: 0,
|
|
15032
|
+
quantity: 0,
|
|
14804
15033
|
amount: 0,
|
|
15034
|
+
taxes: 0,
|
|
14805
15035
|
total: 0,
|
|
14806
|
-
quantity: 0,
|
|
14807
15036
|
inclusive: false,
|
|
14808
15037
|
hide: false
|
|
14809
15038
|
}, {
|
|
@@ -14827,20 +15056,50 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
14827
15056
|
"type": "number",
|
|
14828
15057
|
"dataType": "BigInt"
|
|
14829
15058
|
}, {
|
|
14830
|
-
"name": "
|
|
15059
|
+
"name": "price",
|
|
14831
15060
|
"type": "number",
|
|
14832
15061
|
"dataType": "Decimal",
|
|
14833
|
-
"default": ["
|
|
15062
|
+
"default": ["price", "0"]
|
|
14834
15063
|
}, {
|
|
14835
|
-
"name": "
|
|
15064
|
+
"name": "discountPercentage",
|
|
14836
15065
|
"type": "number",
|
|
14837
15066
|
"dataType": "Decimal",
|
|
14838
|
-
"default": ["
|
|
15067
|
+
"default": ["discountPercentage", "0"]
|
|
15068
|
+
}, {
|
|
15069
|
+
"name": "discount",
|
|
15070
|
+
"type": "number",
|
|
15071
|
+
"dataType": "Decimal",
|
|
15072
|
+
"default": ["discount", "0"]
|
|
15073
|
+
}, {
|
|
15074
|
+
"name": "priceAfterDiscount",
|
|
15075
|
+
"type": "number",
|
|
15076
|
+
"dataType": "Decimal",
|
|
15077
|
+
"default": ["priceAfterDiscount", "0"]
|
|
15078
|
+
}, {
|
|
15079
|
+
"name": "couponDiscount",
|
|
15080
|
+
"type": "number",
|
|
15081
|
+
"dataType": "Decimal",
|
|
15082
|
+
"default": ["couponDiscount", "0"]
|
|
14839
15083
|
}, {
|
|
14840
15084
|
"name": "quantity",
|
|
14841
15085
|
"type": "number",
|
|
14842
15086
|
"dataType": "Decimal",
|
|
14843
15087
|
"default": ["quantity", "0"]
|
|
15088
|
+
}, {
|
|
15089
|
+
"name": "amount",
|
|
15090
|
+
"type": "number",
|
|
15091
|
+
"dataType": "Decimal",
|
|
15092
|
+
"default": ["amount", "0"]
|
|
15093
|
+
}, {
|
|
15094
|
+
"name": "taxes",
|
|
15095
|
+
"type": "number",
|
|
15096
|
+
"dataType": "Decimal",
|
|
15097
|
+
"default": ["taxes", "0"]
|
|
15098
|
+
}, {
|
|
15099
|
+
"name": "total",
|
|
15100
|
+
"type": "number",
|
|
15101
|
+
"dataType": "Decimal",
|
|
15102
|
+
"default": ["total", "0"]
|
|
14844
15103
|
}, {
|
|
14845
15104
|
"name": "inclusive",
|
|
14846
15105
|
"type": "boolean",
|
|
@@ -14865,6 +15124,10 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
14865
15124
|
"name": "sourceID",
|
|
14866
15125
|
"type": "number",
|
|
14867
15126
|
"dataType": "BigInt"
|
|
15127
|
+
}, {
|
|
15128
|
+
"name": "taxForID",
|
|
15129
|
+
"type": "number",
|
|
15130
|
+
"dataType": "BigInt"
|
|
14868
15131
|
}],
|
|
14869
15132
|
"relations": [{
|
|
14870
15133
|
"name": "journal",
|
|
@@ -14906,6 +15169,23 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
14906
15169
|
"isCollection": true,
|
|
14907
15170
|
"isInverse": true,
|
|
14908
15171
|
"relatedName": "StoreJournalLineItem"
|
|
15172
|
+
}, {
|
|
15173
|
+
"name": "taxFor",
|
|
15174
|
+
"fkMap": [{
|
|
15175
|
+
"fk": "taxForID",
|
|
15176
|
+
"relatedKey": "lineItemID"
|
|
15177
|
+
}],
|
|
15178
|
+
"relatedName": "StoreJournalLineItem"
|
|
15179
|
+
}, {
|
|
15180
|
+
"name": "taxLineItems",
|
|
15181
|
+
"isCollection": true,
|
|
15182
|
+
"isInverse": true,
|
|
15183
|
+
"relatedName": "StoreJournalLineItem"
|
|
15184
|
+
}, {
|
|
15185
|
+
"name": "coupons",
|
|
15186
|
+
"isCollection": true,
|
|
15187
|
+
"isInverse": true,
|
|
15188
|
+
"relatedName": "StoreJournalCoupon"
|
|
14909
15189
|
}, {
|
|
14910
15190
|
"name": "entries",
|
|
14911
15191
|
"isCollection": true,
|
|
@@ -15582,6 +15862,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
15582
15862
|
"isCollection": true,
|
|
15583
15863
|
"isInverse": true,
|
|
15584
15864
|
"relatedName": "StoreAccount"
|
|
15865
|
+
}, {
|
|
15866
|
+
"name": "coupons",
|
|
15867
|
+
"isCollection": true,
|
|
15868
|
+
"isInverse": true,
|
|
15869
|
+
"relatedName": "StoreCoupon"
|
|
15585
15870
|
}, {
|
|
15586
15871
|
"name": "journals",
|
|
15587
15872
|
"isCollection": true,
|