@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
|
@@ -9939,7 +9939,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
|
|
|
9939
9939
|
System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/services/BaseEntityService"], function (_export, _context) {
|
|
9940
9940
|
"use strict";
|
|
9941
9941
|
|
|
9942
|
-
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;
|
|
9942
|
+
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;
|
|
9943
9943
|
return {
|
|
9944
9944
|
setters: [function (_webAtomsDateTimeDistDateTime) {
|
|
9945
9945
|
DateTime = _webAtomsDateTimeDistDateTime.default;
|
|
@@ -13526,10 +13526,39 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
13526
13526
|
"label": "size",
|
|
13527
13527
|
"value": "size"
|
|
13528
13528
|
}]);
|
|
13529
|
+
_export("StoreItemItemUnitTypeArray", StoreItemItemUnitTypeArray = [{
|
|
13530
|
+
"label": "product",
|
|
13531
|
+
"value": "product"
|
|
13532
|
+
}, {
|
|
13533
|
+
"label": "e-product",
|
|
13534
|
+
"value": "e-product"
|
|
13535
|
+
}, {
|
|
13536
|
+
"label": "shipping",
|
|
13537
|
+
"value": "shipping"
|
|
13538
|
+
}, {
|
|
13539
|
+
"label": "service",
|
|
13540
|
+
"value": "service"
|
|
13541
|
+
}, {
|
|
13542
|
+
"label": "tax",
|
|
13543
|
+
"value": "tax"
|
|
13544
|
+
}, {
|
|
13545
|
+
"label": "fee",
|
|
13546
|
+
"value": "fee"
|
|
13547
|
+
}, {
|
|
13548
|
+
"label": "commission",
|
|
13549
|
+
"value": "commission"
|
|
13550
|
+
}, {
|
|
13551
|
+
"label": "variant",
|
|
13552
|
+
"value": "variant"
|
|
13553
|
+
}, {
|
|
13554
|
+
"label": "size",
|
|
13555
|
+
"value": "size"
|
|
13556
|
+
}]);
|
|
13529
13557
|
_export("StoreItem", StoreItem = new Model("StoreItem", ["storeItemID"], {
|
|
13530
13558
|
name: "",
|
|
13531
13559
|
active: false,
|
|
13532
13560
|
itemType: "product",
|
|
13561
|
+
itemUnit: 0,
|
|
13533
13562
|
dateCreated: new DefaultFactory(() => new DateTime()),
|
|
13534
13563
|
dateUpdated: new DefaultFactory(() => new DateTime()),
|
|
13535
13564
|
price: 0,
|
|
@@ -13577,6 +13606,17 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
13577
13606
|
"dataType": "Char",
|
|
13578
13607
|
"length": 20,
|
|
13579
13608
|
"default": ["itemType", "\"product\""]
|
|
13609
|
+
}, {
|
|
13610
|
+
"name": "itemUnitType",
|
|
13611
|
+
"type": "string",
|
|
13612
|
+
"dataType": "Char",
|
|
13613
|
+
"length": 50,
|
|
13614
|
+
"default": ["itemUnitType", "\"product\""]
|
|
13615
|
+
}, {
|
|
13616
|
+
"name": "itemUnit",
|
|
13617
|
+
"type": "number",
|
|
13618
|
+
"dataType": "Decimal",
|
|
13619
|
+
"default": ["itemUnit", "0"]
|
|
13580
13620
|
}, {
|
|
13581
13621
|
"name": "folderID",
|
|
13582
13622
|
"type": "number",
|
|
@@ -13666,6 +13706,16 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
13666
13706
|
"relatedKey": "accountID"
|
|
13667
13707
|
}],
|
|
13668
13708
|
"relatedName": "StoreAccount"
|
|
13709
|
+
}, {
|
|
13710
|
+
"name": "itemCoupons",
|
|
13711
|
+
"isCollection": true,
|
|
13712
|
+
"isInverse": true,
|
|
13713
|
+
"relatedName": "StoreCoupon"
|
|
13714
|
+
}, {
|
|
13715
|
+
"name": "lineItems",
|
|
13716
|
+
"isCollection": true,
|
|
13717
|
+
"isInverse": true,
|
|
13718
|
+
"relatedName": "StoreJournalLineItem"
|
|
13669
13719
|
}, {
|
|
13670
13720
|
"name": "storeItemPrices",
|
|
13671
13721
|
"isCollection": true,
|
|
@@ -13682,12 +13732,7 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
13682
13732
|
"isInverse": true,
|
|
13683
13733
|
"relatedName": "StoreInsight"
|
|
13684
13734
|
}, {
|
|
13685
|
-
"name": "
|
|
13686
|
-
"isCollection": true,
|
|
13687
|
-
"isInverse": true,
|
|
13688
|
-
"relatedName": "StoreJournalLineItem"
|
|
13689
|
-
}, {
|
|
13690
|
-
"name": "taxes",
|
|
13735
|
+
"name": "applicableTaxes",
|
|
13691
13736
|
"isCollection": true,
|
|
13692
13737
|
"isInverse": true,
|
|
13693
13738
|
"relatedName": "StoreItemTax"
|
|
@@ -13707,6 +13752,179 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
13707
13752
|
}
|
|
13708
13753
|
}));
|
|
13709
13754
|
modelEntitySchemas["StoreItem"] = StoreItem;
|
|
13755
|
+
_export("StoreCouponTypeArray", StoreCouponTypeArray = [{
|
|
13756
|
+
"label": "discount",
|
|
13757
|
+
"value": "discount"
|
|
13758
|
+
}, {
|
|
13759
|
+
"label": "subtract",
|
|
13760
|
+
"value": "subtract"
|
|
13761
|
+
}]);
|
|
13762
|
+
_export("StoreCoupon", StoreCoupon = new Model("StoreCoupon", ["couponID"], {
|
|
13763
|
+
code: "",
|
|
13764
|
+
active: false,
|
|
13765
|
+
hidden: false,
|
|
13766
|
+
startDate: new DefaultFactory(() => new DateTime()),
|
|
13767
|
+
exclusive: false,
|
|
13768
|
+
minOrderAmount: 0,
|
|
13769
|
+
maxOrderAmount: 0,
|
|
13770
|
+
minQuantity: 0,
|
|
13771
|
+
maxQuantity: 0,
|
|
13772
|
+
amount: 0,
|
|
13773
|
+
type: "discount"
|
|
13774
|
+
}, {
|
|
13775
|
+
"name": "store_coupons",
|
|
13776
|
+
"keys": [{
|
|
13777
|
+
"name": "couponID",
|
|
13778
|
+
"type": "number",
|
|
13779
|
+
"generated": "identity",
|
|
13780
|
+
"dataType": "BigInt"
|
|
13781
|
+
}],
|
|
13782
|
+
"properties": [{
|
|
13783
|
+
"name": "storeID",
|
|
13784
|
+
"type": "number",
|
|
13785
|
+
"dataType": "BigInt"
|
|
13786
|
+
}, {
|
|
13787
|
+
"name": "code",
|
|
13788
|
+
"type": "string",
|
|
13789
|
+
"dataType": "Char",
|
|
13790
|
+
"length": 100,
|
|
13791
|
+
"default": ["code", "\"\""]
|
|
13792
|
+
}, {
|
|
13793
|
+
"name": "active",
|
|
13794
|
+
"type": "boolean",
|
|
13795
|
+
"dataType": "Boolean",
|
|
13796
|
+
"default": ["active", "false"]
|
|
13797
|
+
}, {
|
|
13798
|
+
"name": "hidden",
|
|
13799
|
+
"type": "boolean",
|
|
13800
|
+
"dataType": "Boolean",
|
|
13801
|
+
"default": ["hidden", "false"]
|
|
13802
|
+
}, {
|
|
13803
|
+
"name": "itemID",
|
|
13804
|
+
"type": "number",
|
|
13805
|
+
"dataType": "BigInt"
|
|
13806
|
+
}, {
|
|
13807
|
+
"name": "startDate",
|
|
13808
|
+
"type": "DateTime",
|
|
13809
|
+
"dataType": "DateTime",
|
|
13810
|
+
"default": ["startDate", "new DefaultFactory(() => new DateTime())"]
|
|
13811
|
+
}, {
|
|
13812
|
+
"name": "endDate",
|
|
13813
|
+
"type": "DateTime",
|
|
13814
|
+
"dataType": "DateTime",
|
|
13815
|
+
"default": ["endDate", "new DefaultFactory(() => new DateTime())"]
|
|
13816
|
+
}, {
|
|
13817
|
+
"name": "exclusive",
|
|
13818
|
+
"type": "boolean",
|
|
13819
|
+
"dataType": "Boolean",
|
|
13820
|
+
"default": ["exclusive", "false"]
|
|
13821
|
+
}, {
|
|
13822
|
+
"name": "minOrderAmount",
|
|
13823
|
+
"type": "number",
|
|
13824
|
+
"dataType": "Decimal",
|
|
13825
|
+
"default": ["minOrderAmount", "0"]
|
|
13826
|
+
}, {
|
|
13827
|
+
"name": "maxOrderAmount",
|
|
13828
|
+
"type": "number",
|
|
13829
|
+
"dataType": "Decimal",
|
|
13830
|
+
"default": ["maxOrderAmount", "0"]
|
|
13831
|
+
}, {
|
|
13832
|
+
"name": "minQuantity",
|
|
13833
|
+
"type": "number",
|
|
13834
|
+
"dataType": "Int",
|
|
13835
|
+
"default": ["minQuantity", "0"]
|
|
13836
|
+
}, {
|
|
13837
|
+
"name": "maxQuantity",
|
|
13838
|
+
"type": "number",
|
|
13839
|
+
"dataType": "Int",
|
|
13840
|
+
"default": ["maxQuantity", "0"]
|
|
13841
|
+
}, {
|
|
13842
|
+
"name": "amount",
|
|
13843
|
+
"type": "number",
|
|
13844
|
+
"dataType": "Int",
|
|
13845
|
+
"default": ["amount", "0"]
|
|
13846
|
+
}, {
|
|
13847
|
+
"name": "type",
|
|
13848
|
+
"type": "string",
|
|
13849
|
+
"dataType": "Char",
|
|
13850
|
+
"length": 50,
|
|
13851
|
+
"default": ["type", "\"discount\""]
|
|
13852
|
+
}],
|
|
13853
|
+
"relations": [{
|
|
13854
|
+
"name": "store",
|
|
13855
|
+
"fkMap": [{
|
|
13856
|
+
"fk": "storeID",
|
|
13857
|
+
"relatedKey": "folderID"
|
|
13858
|
+
}],
|
|
13859
|
+
"relatedName": "WebSiteFolder"
|
|
13860
|
+
}, {
|
|
13861
|
+
"name": "item",
|
|
13862
|
+
"fkMap": [{
|
|
13863
|
+
"fk": "itemID",
|
|
13864
|
+
"relatedKey": "storeItemID"
|
|
13865
|
+
}],
|
|
13866
|
+
"relatedName": "StoreItem"
|
|
13867
|
+
}, {
|
|
13868
|
+
"name": "orders",
|
|
13869
|
+
"isCollection": true,
|
|
13870
|
+
"isInverse": true,
|
|
13871
|
+
"relatedName": "StoreJournalCoupon"
|
|
13872
|
+
}]
|
|
13873
|
+
}));
|
|
13874
|
+
modelEntitySchemas["StoreCoupon"] = StoreCoupon;
|
|
13875
|
+
_export("StoreJournalCoupon", StoreJournalCoupon = new Model("StoreJournalCoupon", ["appliedCouponID"], {
|
|
13876
|
+
couponCode: ""
|
|
13877
|
+
}, {
|
|
13878
|
+
"name": "store_journal_coupons",
|
|
13879
|
+
"keys": [{
|
|
13880
|
+
"name": "appliedCouponID",
|
|
13881
|
+
"type": "number",
|
|
13882
|
+
"generated": "identity",
|
|
13883
|
+
"dataType": "BigInt"
|
|
13884
|
+
}],
|
|
13885
|
+
"properties": [{
|
|
13886
|
+
"name": "couponID",
|
|
13887
|
+
"type": "number",
|
|
13888
|
+
"dataType": "BigInt"
|
|
13889
|
+
}, {
|
|
13890
|
+
"name": "orderID",
|
|
13891
|
+
"type": "number",
|
|
13892
|
+
"dataType": "BigInt"
|
|
13893
|
+
}, {
|
|
13894
|
+
"name": "lineItemID",
|
|
13895
|
+
"type": "number",
|
|
13896
|
+
"dataType": "BigInt"
|
|
13897
|
+
}, {
|
|
13898
|
+
"name": "couponCode",
|
|
13899
|
+
"type": "string",
|
|
13900
|
+
"dataType": "Char",
|
|
13901
|
+
"length": 200,
|
|
13902
|
+
"default": ["couponCode", "\"\""]
|
|
13903
|
+
}],
|
|
13904
|
+
"relations": [{
|
|
13905
|
+
"name": "coupon",
|
|
13906
|
+
"fkMap": [{
|
|
13907
|
+
"fk": "couponID",
|
|
13908
|
+
"relatedKey": "couponID"
|
|
13909
|
+
}],
|
|
13910
|
+
"relatedName": "StoreCoupon"
|
|
13911
|
+
}, {
|
|
13912
|
+
"name": "order",
|
|
13913
|
+
"fkMap": [{
|
|
13914
|
+
"fk": "orderID",
|
|
13915
|
+
"relatedKey": "journalID"
|
|
13916
|
+
}],
|
|
13917
|
+
"relatedName": "StoreJournal"
|
|
13918
|
+
}, {
|
|
13919
|
+
"name": "lineItem",
|
|
13920
|
+
"fkMap": [{
|
|
13921
|
+
"fk": "lineItemID",
|
|
13922
|
+
"relatedKey": "lineItemID"
|
|
13923
|
+
}],
|
|
13924
|
+
"relatedName": "StoreJournalLineItem"
|
|
13925
|
+
}]
|
|
13926
|
+
}));
|
|
13927
|
+
modelEntitySchemas["StoreJournalCoupon"] = StoreJournalCoupon;
|
|
13710
13928
|
_export("StoreItemFolder", StoreItemFolder = new Model("StoreItemFolder", ["itemFolderID"], {
|
|
13711
13929
|
name: "",
|
|
13712
13930
|
path: ""
|
|
@@ -14194,6 +14412,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
14194
14412
|
"isCollection": true,
|
|
14195
14413
|
"isInverse": true,
|
|
14196
14414
|
"relatedName": "StoreAccountAddress"
|
|
14415
|
+
}, {
|
|
14416
|
+
"name": "soldItems",
|
|
14417
|
+
"isCollection": true,
|
|
14418
|
+
"isInverse": true,
|
|
14419
|
+
"relatedName": "StoreJournalLineItem"
|
|
14197
14420
|
}, {
|
|
14198
14421
|
"name": "storePaymentGateway",
|
|
14199
14422
|
"isCollection": false,
|
|
@@ -14214,11 +14437,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
14214
14437
|
"isCollection": true,
|
|
14215
14438
|
"isInverse": true,
|
|
14216
14439
|
"relatedName": "StoreJournalEntry"
|
|
14217
|
-
}, {
|
|
14218
|
-
"name": "soldItems",
|
|
14219
|
-
"isCollection": true,
|
|
14220
|
-
"isInverse": true,
|
|
14221
|
-
"relatedName": "StoreJournalLineItem"
|
|
14222
14440
|
}]
|
|
14223
14441
|
}));
|
|
14224
14442
|
modelEntitySchemas["StoreAccount"] = StoreAccount;
|
|
@@ -14700,6 +14918,16 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
14700
14918
|
"relatedKey": "appFileID"
|
|
14701
14919
|
}],
|
|
14702
14920
|
"relatedName": "AppFile"
|
|
14921
|
+
}, {
|
|
14922
|
+
"name": "orderCoupons",
|
|
14923
|
+
"isCollection": true,
|
|
14924
|
+
"isInverse": true,
|
|
14925
|
+
"relatedName": "StoreJournalCoupon"
|
|
14926
|
+
}, {
|
|
14927
|
+
"name": "lineItems",
|
|
14928
|
+
"isCollection": true,
|
|
14929
|
+
"isInverse": true,
|
|
14930
|
+
"relatedName": "StoreJournalLineItem"
|
|
14703
14931
|
}, {
|
|
14704
14932
|
"name": "paymentAttempts",
|
|
14705
14933
|
"isCollection": true,
|
|
@@ -14710,11 +14938,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
14710
14938
|
"isCollection": true,
|
|
14711
14939
|
"isInverse": true,
|
|
14712
14940
|
"relatedName": "StoreJournalEntry"
|
|
14713
|
-
}, {
|
|
14714
|
-
"name": "lineItems",
|
|
14715
|
-
"isCollection": true,
|
|
14716
|
-
"isInverse": true,
|
|
14717
|
-
"relatedName": "StoreJournalLineItem"
|
|
14718
14941
|
}]
|
|
14719
14942
|
}));
|
|
14720
14943
|
modelEntitySchemas["StoreJournal"] = StoreJournal;
|
|
@@ -14815,9 +15038,15 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
14815
15038
|
"value": "size"
|
|
14816
15039
|
}]);
|
|
14817
15040
|
_export("StoreJournalLineItem", StoreJournalLineItem = new Model("StoreJournalLineItem", ["lineItemID"], {
|
|
15041
|
+
price: 0,
|
|
15042
|
+
discountPercentage: 0,
|
|
15043
|
+
discount: 0,
|
|
15044
|
+
priceAfterDiscount: 0,
|
|
15045
|
+
couponDiscount: 0,
|
|
15046
|
+
quantity: 0,
|
|
14818
15047
|
amount: 0,
|
|
15048
|
+
taxes: 0,
|
|
14819
15049
|
total: 0,
|
|
14820
|
-
quantity: 0,
|
|
14821
15050
|
inclusive: false,
|
|
14822
15051
|
hide: false
|
|
14823
15052
|
}, {
|
|
@@ -14841,20 +15070,50 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
14841
15070
|
"type": "number",
|
|
14842
15071
|
"dataType": "BigInt"
|
|
14843
15072
|
}, {
|
|
14844
|
-
"name": "
|
|
15073
|
+
"name": "price",
|
|
14845
15074
|
"type": "number",
|
|
14846
15075
|
"dataType": "Decimal",
|
|
14847
|
-
"default": ["
|
|
15076
|
+
"default": ["price", "0"]
|
|
14848
15077
|
}, {
|
|
14849
|
-
"name": "
|
|
15078
|
+
"name": "discountPercentage",
|
|
14850
15079
|
"type": "number",
|
|
14851
15080
|
"dataType": "Decimal",
|
|
14852
|
-
"default": ["
|
|
15081
|
+
"default": ["discountPercentage", "0"]
|
|
15082
|
+
}, {
|
|
15083
|
+
"name": "discount",
|
|
15084
|
+
"type": "number",
|
|
15085
|
+
"dataType": "Decimal",
|
|
15086
|
+
"default": ["discount", "0"]
|
|
15087
|
+
}, {
|
|
15088
|
+
"name": "priceAfterDiscount",
|
|
15089
|
+
"type": "number",
|
|
15090
|
+
"dataType": "Decimal",
|
|
15091
|
+
"default": ["priceAfterDiscount", "0"]
|
|
15092
|
+
}, {
|
|
15093
|
+
"name": "couponDiscount",
|
|
15094
|
+
"type": "number",
|
|
15095
|
+
"dataType": "Decimal",
|
|
15096
|
+
"default": ["couponDiscount", "0"]
|
|
14853
15097
|
}, {
|
|
14854
15098
|
"name": "quantity",
|
|
14855
15099
|
"type": "number",
|
|
14856
15100
|
"dataType": "Decimal",
|
|
14857
15101
|
"default": ["quantity", "0"]
|
|
15102
|
+
}, {
|
|
15103
|
+
"name": "amount",
|
|
15104
|
+
"type": "number",
|
|
15105
|
+
"dataType": "Decimal",
|
|
15106
|
+
"default": ["amount", "0"]
|
|
15107
|
+
}, {
|
|
15108
|
+
"name": "taxes",
|
|
15109
|
+
"type": "number",
|
|
15110
|
+
"dataType": "Decimal",
|
|
15111
|
+
"default": ["taxes", "0"]
|
|
15112
|
+
}, {
|
|
15113
|
+
"name": "total",
|
|
15114
|
+
"type": "number",
|
|
15115
|
+
"dataType": "Decimal",
|
|
15116
|
+
"default": ["total", "0"]
|
|
14858
15117
|
}, {
|
|
14859
15118
|
"name": "inclusive",
|
|
14860
15119
|
"type": "boolean",
|
|
@@ -14879,6 +15138,10 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
14879
15138
|
"name": "sourceID",
|
|
14880
15139
|
"type": "number",
|
|
14881
15140
|
"dataType": "BigInt"
|
|
15141
|
+
}, {
|
|
15142
|
+
"name": "taxForID",
|
|
15143
|
+
"type": "number",
|
|
15144
|
+
"dataType": "BigInt"
|
|
14882
15145
|
}],
|
|
14883
15146
|
"relations": [{
|
|
14884
15147
|
"name": "journal",
|
|
@@ -14920,6 +15183,23 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
14920
15183
|
"isCollection": true,
|
|
14921
15184
|
"isInverse": true,
|
|
14922
15185
|
"relatedName": "StoreJournalLineItem"
|
|
15186
|
+
}, {
|
|
15187
|
+
"name": "taxFor",
|
|
15188
|
+
"fkMap": [{
|
|
15189
|
+
"fk": "taxForID",
|
|
15190
|
+
"relatedKey": "lineItemID"
|
|
15191
|
+
}],
|
|
15192
|
+
"relatedName": "StoreJournalLineItem"
|
|
15193
|
+
}, {
|
|
15194
|
+
"name": "taxLineItems",
|
|
15195
|
+
"isCollection": true,
|
|
15196
|
+
"isInverse": true,
|
|
15197
|
+
"relatedName": "StoreJournalLineItem"
|
|
15198
|
+
}, {
|
|
15199
|
+
"name": "coupons",
|
|
15200
|
+
"isCollection": true,
|
|
15201
|
+
"isInverse": true,
|
|
15202
|
+
"relatedName": "StoreJournalCoupon"
|
|
14923
15203
|
}, {
|
|
14924
15204
|
"name": "entries",
|
|
14925
15205
|
"isCollection": true,
|
|
@@ -15596,6 +15876,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
15596
15876
|
"isCollection": true,
|
|
15597
15877
|
"isInverse": true,
|
|
15598
15878
|
"relatedName": "StoreAccount"
|
|
15879
|
+
}, {
|
|
15880
|
+
"name": "coupons",
|
|
15881
|
+
"isCollection": true,
|
|
15882
|
+
"isInverse": true,
|
|
15883
|
+
"relatedName": "StoreCoupon"
|
|
15599
15884
|
}, {
|
|
15600
15885
|
"name": "journals",
|
|
15601
15886
|
"isCollection": true,
|