@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
package/dist/model/model.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/services/BaseEntityService"], function (_export, _context) {
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
|
-
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;
|
|
4
|
+
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;
|
|
5
5
|
return {
|
|
6
6
|
setters: [function (_webAtomsDateTimeDistDateTime) {
|
|
7
7
|
DateTime = _webAtomsDateTimeDistDateTime.default;
|
|
@@ -3588,10 +3588,39 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
3588
3588
|
"label": "size",
|
|
3589
3589
|
"value": "size"
|
|
3590
3590
|
}]);
|
|
3591
|
+
_export("StoreItemItemUnitTypeArray", StoreItemItemUnitTypeArray = [{
|
|
3592
|
+
"label": "product",
|
|
3593
|
+
"value": "product"
|
|
3594
|
+
}, {
|
|
3595
|
+
"label": "e-product",
|
|
3596
|
+
"value": "e-product"
|
|
3597
|
+
}, {
|
|
3598
|
+
"label": "shipping",
|
|
3599
|
+
"value": "shipping"
|
|
3600
|
+
}, {
|
|
3601
|
+
"label": "service",
|
|
3602
|
+
"value": "service"
|
|
3603
|
+
}, {
|
|
3604
|
+
"label": "tax",
|
|
3605
|
+
"value": "tax"
|
|
3606
|
+
}, {
|
|
3607
|
+
"label": "fee",
|
|
3608
|
+
"value": "fee"
|
|
3609
|
+
}, {
|
|
3610
|
+
"label": "commission",
|
|
3611
|
+
"value": "commission"
|
|
3612
|
+
}, {
|
|
3613
|
+
"label": "variant",
|
|
3614
|
+
"value": "variant"
|
|
3615
|
+
}, {
|
|
3616
|
+
"label": "size",
|
|
3617
|
+
"value": "size"
|
|
3618
|
+
}]);
|
|
3591
3619
|
_export("StoreItem", StoreItem = new Model("StoreItem", ["storeItemID"], {
|
|
3592
3620
|
name: "",
|
|
3593
3621
|
active: false,
|
|
3594
3622
|
itemType: "product",
|
|
3623
|
+
itemUnit: 0,
|
|
3595
3624
|
dateCreated: new DefaultFactory(() => new DateTime()),
|
|
3596
3625
|
dateUpdated: new DefaultFactory(() => new DateTime()),
|
|
3597
3626
|
price: 0,
|
|
@@ -3639,6 +3668,17 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
3639
3668
|
"dataType": "Char",
|
|
3640
3669
|
"length": 20,
|
|
3641
3670
|
"default": ["itemType", "\"product\""]
|
|
3671
|
+
}, {
|
|
3672
|
+
"name": "itemUnitType",
|
|
3673
|
+
"type": "string",
|
|
3674
|
+
"dataType": "Char",
|
|
3675
|
+
"length": 50,
|
|
3676
|
+
"default": ["itemUnitType", "\"product\""]
|
|
3677
|
+
}, {
|
|
3678
|
+
"name": "itemUnit",
|
|
3679
|
+
"type": "number",
|
|
3680
|
+
"dataType": "Decimal",
|
|
3681
|
+
"default": ["itemUnit", "0"]
|
|
3642
3682
|
}, {
|
|
3643
3683
|
"name": "folderID",
|
|
3644
3684
|
"type": "number",
|
|
@@ -3728,6 +3768,16 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
3728
3768
|
"relatedKey": "accountID"
|
|
3729
3769
|
}],
|
|
3730
3770
|
"relatedName": "StoreAccount"
|
|
3771
|
+
}, {
|
|
3772
|
+
"name": "itemCoupons",
|
|
3773
|
+
"isCollection": true,
|
|
3774
|
+
"isInverse": true,
|
|
3775
|
+
"relatedName": "StoreCoupon"
|
|
3776
|
+
}, {
|
|
3777
|
+
"name": "lineItems",
|
|
3778
|
+
"isCollection": true,
|
|
3779
|
+
"isInverse": true,
|
|
3780
|
+
"relatedName": "StoreJournalLineItem"
|
|
3731
3781
|
}, {
|
|
3732
3782
|
"name": "storeItemPrices",
|
|
3733
3783
|
"isCollection": true,
|
|
@@ -3744,12 +3794,7 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
3744
3794
|
"isInverse": true,
|
|
3745
3795
|
"relatedName": "StoreInsight"
|
|
3746
3796
|
}, {
|
|
3747
|
-
"name": "
|
|
3748
|
-
"isCollection": true,
|
|
3749
|
-
"isInverse": true,
|
|
3750
|
-
"relatedName": "StoreJournalLineItem"
|
|
3751
|
-
}, {
|
|
3752
|
-
"name": "taxes",
|
|
3797
|
+
"name": "applicableTaxes",
|
|
3753
3798
|
"isCollection": true,
|
|
3754
3799
|
"isInverse": true,
|
|
3755
3800
|
"relatedName": "StoreItemTax"
|
|
@@ -3769,6 +3814,179 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
3769
3814
|
}
|
|
3770
3815
|
}));
|
|
3771
3816
|
modelEntitySchemas["StoreItem"] = StoreItem;
|
|
3817
|
+
_export("StoreCouponTypeArray", StoreCouponTypeArray = [{
|
|
3818
|
+
"label": "discount",
|
|
3819
|
+
"value": "discount"
|
|
3820
|
+
}, {
|
|
3821
|
+
"label": "subtract",
|
|
3822
|
+
"value": "subtract"
|
|
3823
|
+
}]);
|
|
3824
|
+
_export("StoreCoupon", StoreCoupon = new Model("StoreCoupon", ["couponID"], {
|
|
3825
|
+
code: "",
|
|
3826
|
+
active: false,
|
|
3827
|
+
hidden: false,
|
|
3828
|
+
startDate: new DefaultFactory(() => new DateTime()),
|
|
3829
|
+
exclusive: false,
|
|
3830
|
+
minOrderAmount: 0,
|
|
3831
|
+
maxOrderAmount: 0,
|
|
3832
|
+
minQuantity: 0,
|
|
3833
|
+
maxQuantity: 0,
|
|
3834
|
+
amount: 0,
|
|
3835
|
+
type: "discount"
|
|
3836
|
+
}, {
|
|
3837
|
+
"name": "store_coupons",
|
|
3838
|
+
"keys": [{
|
|
3839
|
+
"name": "couponID",
|
|
3840
|
+
"type": "number",
|
|
3841
|
+
"generated": "identity",
|
|
3842
|
+
"dataType": "BigInt"
|
|
3843
|
+
}],
|
|
3844
|
+
"properties": [{
|
|
3845
|
+
"name": "storeID",
|
|
3846
|
+
"type": "number",
|
|
3847
|
+
"dataType": "BigInt"
|
|
3848
|
+
}, {
|
|
3849
|
+
"name": "code",
|
|
3850
|
+
"type": "string",
|
|
3851
|
+
"dataType": "Char",
|
|
3852
|
+
"length": 100,
|
|
3853
|
+
"default": ["code", "\"\""]
|
|
3854
|
+
}, {
|
|
3855
|
+
"name": "active",
|
|
3856
|
+
"type": "boolean",
|
|
3857
|
+
"dataType": "Boolean",
|
|
3858
|
+
"default": ["active", "false"]
|
|
3859
|
+
}, {
|
|
3860
|
+
"name": "hidden",
|
|
3861
|
+
"type": "boolean",
|
|
3862
|
+
"dataType": "Boolean",
|
|
3863
|
+
"default": ["hidden", "false"]
|
|
3864
|
+
}, {
|
|
3865
|
+
"name": "itemID",
|
|
3866
|
+
"type": "number",
|
|
3867
|
+
"dataType": "BigInt"
|
|
3868
|
+
}, {
|
|
3869
|
+
"name": "startDate",
|
|
3870
|
+
"type": "DateTime",
|
|
3871
|
+
"dataType": "DateTime",
|
|
3872
|
+
"default": ["startDate", "new DefaultFactory(() => new DateTime())"]
|
|
3873
|
+
}, {
|
|
3874
|
+
"name": "endDate",
|
|
3875
|
+
"type": "DateTime",
|
|
3876
|
+
"dataType": "DateTime",
|
|
3877
|
+
"default": ["endDate", "new DefaultFactory(() => new DateTime())"]
|
|
3878
|
+
}, {
|
|
3879
|
+
"name": "exclusive",
|
|
3880
|
+
"type": "boolean",
|
|
3881
|
+
"dataType": "Boolean",
|
|
3882
|
+
"default": ["exclusive", "false"]
|
|
3883
|
+
}, {
|
|
3884
|
+
"name": "minOrderAmount",
|
|
3885
|
+
"type": "number",
|
|
3886
|
+
"dataType": "Decimal",
|
|
3887
|
+
"default": ["minOrderAmount", "0"]
|
|
3888
|
+
}, {
|
|
3889
|
+
"name": "maxOrderAmount",
|
|
3890
|
+
"type": "number",
|
|
3891
|
+
"dataType": "Decimal",
|
|
3892
|
+
"default": ["maxOrderAmount", "0"]
|
|
3893
|
+
}, {
|
|
3894
|
+
"name": "minQuantity",
|
|
3895
|
+
"type": "number",
|
|
3896
|
+
"dataType": "Int",
|
|
3897
|
+
"default": ["minQuantity", "0"]
|
|
3898
|
+
}, {
|
|
3899
|
+
"name": "maxQuantity",
|
|
3900
|
+
"type": "number",
|
|
3901
|
+
"dataType": "Int",
|
|
3902
|
+
"default": ["maxQuantity", "0"]
|
|
3903
|
+
}, {
|
|
3904
|
+
"name": "amount",
|
|
3905
|
+
"type": "number",
|
|
3906
|
+
"dataType": "Int",
|
|
3907
|
+
"default": ["amount", "0"]
|
|
3908
|
+
}, {
|
|
3909
|
+
"name": "type",
|
|
3910
|
+
"type": "string",
|
|
3911
|
+
"dataType": "Char",
|
|
3912
|
+
"length": 50,
|
|
3913
|
+
"default": ["type", "\"discount\""]
|
|
3914
|
+
}],
|
|
3915
|
+
"relations": [{
|
|
3916
|
+
"name": "store",
|
|
3917
|
+
"fkMap": [{
|
|
3918
|
+
"fk": "storeID",
|
|
3919
|
+
"relatedKey": "folderID"
|
|
3920
|
+
}],
|
|
3921
|
+
"relatedName": "WebSiteFolder"
|
|
3922
|
+
}, {
|
|
3923
|
+
"name": "item",
|
|
3924
|
+
"fkMap": [{
|
|
3925
|
+
"fk": "itemID",
|
|
3926
|
+
"relatedKey": "storeItemID"
|
|
3927
|
+
}],
|
|
3928
|
+
"relatedName": "StoreItem"
|
|
3929
|
+
}, {
|
|
3930
|
+
"name": "orders",
|
|
3931
|
+
"isCollection": true,
|
|
3932
|
+
"isInverse": true,
|
|
3933
|
+
"relatedName": "StoreJournalCoupon"
|
|
3934
|
+
}]
|
|
3935
|
+
}));
|
|
3936
|
+
modelEntitySchemas["StoreCoupon"] = StoreCoupon;
|
|
3937
|
+
_export("StoreJournalCoupon", StoreJournalCoupon = new Model("StoreJournalCoupon", ["appliedCouponID"], {
|
|
3938
|
+
couponCode: ""
|
|
3939
|
+
}, {
|
|
3940
|
+
"name": "store_journal_coupons",
|
|
3941
|
+
"keys": [{
|
|
3942
|
+
"name": "appliedCouponID",
|
|
3943
|
+
"type": "number",
|
|
3944
|
+
"generated": "identity",
|
|
3945
|
+
"dataType": "BigInt"
|
|
3946
|
+
}],
|
|
3947
|
+
"properties": [{
|
|
3948
|
+
"name": "couponID",
|
|
3949
|
+
"type": "number",
|
|
3950
|
+
"dataType": "BigInt"
|
|
3951
|
+
}, {
|
|
3952
|
+
"name": "orderID",
|
|
3953
|
+
"type": "number",
|
|
3954
|
+
"dataType": "BigInt"
|
|
3955
|
+
}, {
|
|
3956
|
+
"name": "lineItemID",
|
|
3957
|
+
"type": "number",
|
|
3958
|
+
"dataType": "BigInt"
|
|
3959
|
+
}, {
|
|
3960
|
+
"name": "couponCode",
|
|
3961
|
+
"type": "string",
|
|
3962
|
+
"dataType": "Char",
|
|
3963
|
+
"length": 200,
|
|
3964
|
+
"default": ["couponCode", "\"\""]
|
|
3965
|
+
}],
|
|
3966
|
+
"relations": [{
|
|
3967
|
+
"name": "coupon",
|
|
3968
|
+
"fkMap": [{
|
|
3969
|
+
"fk": "couponID",
|
|
3970
|
+
"relatedKey": "couponID"
|
|
3971
|
+
}],
|
|
3972
|
+
"relatedName": "StoreCoupon"
|
|
3973
|
+
}, {
|
|
3974
|
+
"name": "order",
|
|
3975
|
+
"fkMap": [{
|
|
3976
|
+
"fk": "orderID",
|
|
3977
|
+
"relatedKey": "journalID"
|
|
3978
|
+
}],
|
|
3979
|
+
"relatedName": "StoreJournal"
|
|
3980
|
+
}, {
|
|
3981
|
+
"name": "lineItem",
|
|
3982
|
+
"fkMap": [{
|
|
3983
|
+
"fk": "lineItemID",
|
|
3984
|
+
"relatedKey": "lineItemID"
|
|
3985
|
+
}],
|
|
3986
|
+
"relatedName": "StoreJournalLineItem"
|
|
3987
|
+
}]
|
|
3988
|
+
}));
|
|
3989
|
+
modelEntitySchemas["StoreJournalCoupon"] = StoreJournalCoupon;
|
|
3772
3990
|
_export("StoreItemFolder", StoreItemFolder = new Model("StoreItemFolder", ["itemFolderID"], {
|
|
3773
3991
|
name: "",
|
|
3774
3992
|
path: ""
|
|
@@ -4256,6 +4474,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
4256
4474
|
"isCollection": true,
|
|
4257
4475
|
"isInverse": true,
|
|
4258
4476
|
"relatedName": "StoreAccountAddress"
|
|
4477
|
+
}, {
|
|
4478
|
+
"name": "soldItems",
|
|
4479
|
+
"isCollection": true,
|
|
4480
|
+
"isInverse": true,
|
|
4481
|
+
"relatedName": "StoreJournalLineItem"
|
|
4259
4482
|
}, {
|
|
4260
4483
|
"name": "storePaymentGateway",
|
|
4261
4484
|
"isCollection": false,
|
|
@@ -4276,11 +4499,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
4276
4499
|
"isCollection": true,
|
|
4277
4500
|
"isInverse": true,
|
|
4278
4501
|
"relatedName": "StoreJournalEntry"
|
|
4279
|
-
}, {
|
|
4280
|
-
"name": "soldItems",
|
|
4281
|
-
"isCollection": true,
|
|
4282
|
-
"isInverse": true,
|
|
4283
|
-
"relatedName": "StoreJournalLineItem"
|
|
4284
4502
|
}]
|
|
4285
4503
|
}));
|
|
4286
4504
|
modelEntitySchemas["StoreAccount"] = StoreAccount;
|
|
@@ -4762,6 +4980,16 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
4762
4980
|
"relatedKey": "appFileID"
|
|
4763
4981
|
}],
|
|
4764
4982
|
"relatedName": "AppFile"
|
|
4983
|
+
}, {
|
|
4984
|
+
"name": "orderCoupons",
|
|
4985
|
+
"isCollection": true,
|
|
4986
|
+
"isInverse": true,
|
|
4987
|
+
"relatedName": "StoreJournalCoupon"
|
|
4988
|
+
}, {
|
|
4989
|
+
"name": "lineItems",
|
|
4990
|
+
"isCollection": true,
|
|
4991
|
+
"isInverse": true,
|
|
4992
|
+
"relatedName": "StoreJournalLineItem"
|
|
4765
4993
|
}, {
|
|
4766
4994
|
"name": "paymentAttempts",
|
|
4767
4995
|
"isCollection": true,
|
|
@@ -4772,11 +5000,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
4772
5000
|
"isCollection": true,
|
|
4773
5001
|
"isInverse": true,
|
|
4774
5002
|
"relatedName": "StoreJournalEntry"
|
|
4775
|
-
}, {
|
|
4776
|
-
"name": "lineItems",
|
|
4777
|
-
"isCollection": true,
|
|
4778
|
-
"isInverse": true,
|
|
4779
|
-
"relatedName": "StoreJournalLineItem"
|
|
4780
5003
|
}]
|
|
4781
5004
|
}));
|
|
4782
5005
|
modelEntitySchemas["StoreJournal"] = StoreJournal;
|
|
@@ -4877,9 +5100,15 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
4877
5100
|
"value": "size"
|
|
4878
5101
|
}]);
|
|
4879
5102
|
_export("StoreJournalLineItem", StoreJournalLineItem = new Model("StoreJournalLineItem", ["lineItemID"], {
|
|
5103
|
+
price: 0,
|
|
5104
|
+
discountPercentage: 0,
|
|
5105
|
+
discount: 0,
|
|
5106
|
+
priceAfterDiscount: 0,
|
|
5107
|
+
couponDiscount: 0,
|
|
5108
|
+
quantity: 0,
|
|
4880
5109
|
amount: 0,
|
|
5110
|
+
taxes: 0,
|
|
4881
5111
|
total: 0,
|
|
4882
|
-
quantity: 0,
|
|
4883
5112
|
inclusive: false,
|
|
4884
5113
|
hide: false
|
|
4885
5114
|
}, {
|
|
@@ -4903,20 +5132,50 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
4903
5132
|
"type": "number",
|
|
4904
5133
|
"dataType": "BigInt"
|
|
4905
5134
|
}, {
|
|
4906
|
-
"name": "
|
|
5135
|
+
"name": "price",
|
|
4907
5136
|
"type": "number",
|
|
4908
5137
|
"dataType": "Decimal",
|
|
4909
|
-
"default": ["
|
|
5138
|
+
"default": ["price", "0"]
|
|
4910
5139
|
}, {
|
|
4911
|
-
"name": "
|
|
5140
|
+
"name": "discountPercentage",
|
|
4912
5141
|
"type": "number",
|
|
4913
5142
|
"dataType": "Decimal",
|
|
4914
|
-
"default": ["
|
|
5143
|
+
"default": ["discountPercentage", "0"]
|
|
5144
|
+
}, {
|
|
5145
|
+
"name": "discount",
|
|
5146
|
+
"type": "number",
|
|
5147
|
+
"dataType": "Decimal",
|
|
5148
|
+
"default": ["discount", "0"]
|
|
5149
|
+
}, {
|
|
5150
|
+
"name": "priceAfterDiscount",
|
|
5151
|
+
"type": "number",
|
|
5152
|
+
"dataType": "Decimal",
|
|
5153
|
+
"default": ["priceAfterDiscount", "0"]
|
|
5154
|
+
}, {
|
|
5155
|
+
"name": "couponDiscount",
|
|
5156
|
+
"type": "number",
|
|
5157
|
+
"dataType": "Decimal",
|
|
5158
|
+
"default": ["couponDiscount", "0"]
|
|
4915
5159
|
}, {
|
|
4916
5160
|
"name": "quantity",
|
|
4917
5161
|
"type": "number",
|
|
4918
5162
|
"dataType": "Decimal",
|
|
4919
5163
|
"default": ["quantity", "0"]
|
|
5164
|
+
}, {
|
|
5165
|
+
"name": "amount",
|
|
5166
|
+
"type": "number",
|
|
5167
|
+
"dataType": "Decimal",
|
|
5168
|
+
"default": ["amount", "0"]
|
|
5169
|
+
}, {
|
|
5170
|
+
"name": "taxes",
|
|
5171
|
+
"type": "number",
|
|
5172
|
+
"dataType": "Decimal",
|
|
5173
|
+
"default": ["taxes", "0"]
|
|
5174
|
+
}, {
|
|
5175
|
+
"name": "total",
|
|
5176
|
+
"type": "number",
|
|
5177
|
+
"dataType": "Decimal",
|
|
5178
|
+
"default": ["total", "0"]
|
|
4920
5179
|
}, {
|
|
4921
5180
|
"name": "inclusive",
|
|
4922
5181
|
"type": "boolean",
|
|
@@ -4941,6 +5200,10 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
4941
5200
|
"name": "sourceID",
|
|
4942
5201
|
"type": "number",
|
|
4943
5202
|
"dataType": "BigInt"
|
|
5203
|
+
}, {
|
|
5204
|
+
"name": "taxForID",
|
|
5205
|
+
"type": "number",
|
|
5206
|
+
"dataType": "BigInt"
|
|
4944
5207
|
}],
|
|
4945
5208
|
"relations": [{
|
|
4946
5209
|
"name": "journal",
|
|
@@ -4982,6 +5245,23 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
4982
5245
|
"isCollection": true,
|
|
4983
5246
|
"isInverse": true,
|
|
4984
5247
|
"relatedName": "StoreJournalLineItem"
|
|
5248
|
+
}, {
|
|
5249
|
+
"name": "taxFor",
|
|
5250
|
+
"fkMap": [{
|
|
5251
|
+
"fk": "taxForID",
|
|
5252
|
+
"relatedKey": "lineItemID"
|
|
5253
|
+
}],
|
|
5254
|
+
"relatedName": "StoreJournalLineItem"
|
|
5255
|
+
}, {
|
|
5256
|
+
"name": "taxLineItems",
|
|
5257
|
+
"isCollection": true,
|
|
5258
|
+
"isInverse": true,
|
|
5259
|
+
"relatedName": "StoreJournalLineItem"
|
|
5260
|
+
}, {
|
|
5261
|
+
"name": "coupons",
|
|
5262
|
+
"isCollection": true,
|
|
5263
|
+
"isInverse": true,
|
|
5264
|
+
"relatedName": "StoreJournalCoupon"
|
|
4985
5265
|
}, {
|
|
4986
5266
|
"name": "entries",
|
|
4987
5267
|
"isCollection": true,
|
|
@@ -5658,6 +5938,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
5658
5938
|
"isCollection": true,
|
|
5659
5939
|
"isInverse": true,
|
|
5660
5940
|
"relatedName": "StoreAccount"
|
|
5941
|
+
}, {
|
|
5942
|
+
"name": "coupons",
|
|
5943
|
+
"isCollection": true,
|
|
5944
|
+
"isInverse": true,
|
|
5945
|
+
"relatedName": "StoreCoupon"
|
|
5661
5946
|
}, {
|
|
5662
5947
|
"name": "journals",
|
|
5663
5948
|
"isCollection": true,
|