@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
|
@@ -14740,7 +14740,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
|
|
|
14740
14740
|
System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/services/BaseEntityService"], function (_export, _context) {
|
|
14741
14741
|
"use strict";
|
|
14742
14742
|
|
|
14743
|
-
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;
|
|
14743
|
+
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;
|
|
14744
14744
|
return {
|
|
14745
14745
|
setters: [function (_webAtomsDateTimeDistDateTime) {
|
|
14746
14746
|
DateTime = _webAtomsDateTimeDistDateTime.default;
|
|
@@ -18327,10 +18327,39 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
18327
18327
|
"label": "size",
|
|
18328
18328
|
"value": "size"
|
|
18329
18329
|
}]);
|
|
18330
|
+
_export("StoreItemItemUnitTypeArray", StoreItemItemUnitTypeArray = [{
|
|
18331
|
+
"label": "product",
|
|
18332
|
+
"value": "product"
|
|
18333
|
+
}, {
|
|
18334
|
+
"label": "e-product",
|
|
18335
|
+
"value": "e-product"
|
|
18336
|
+
}, {
|
|
18337
|
+
"label": "shipping",
|
|
18338
|
+
"value": "shipping"
|
|
18339
|
+
}, {
|
|
18340
|
+
"label": "service",
|
|
18341
|
+
"value": "service"
|
|
18342
|
+
}, {
|
|
18343
|
+
"label": "tax",
|
|
18344
|
+
"value": "tax"
|
|
18345
|
+
}, {
|
|
18346
|
+
"label": "fee",
|
|
18347
|
+
"value": "fee"
|
|
18348
|
+
}, {
|
|
18349
|
+
"label": "commission",
|
|
18350
|
+
"value": "commission"
|
|
18351
|
+
}, {
|
|
18352
|
+
"label": "variant",
|
|
18353
|
+
"value": "variant"
|
|
18354
|
+
}, {
|
|
18355
|
+
"label": "size",
|
|
18356
|
+
"value": "size"
|
|
18357
|
+
}]);
|
|
18330
18358
|
_export("StoreItem", StoreItem = new Model("StoreItem", ["storeItemID"], {
|
|
18331
18359
|
name: "",
|
|
18332
18360
|
active: false,
|
|
18333
18361
|
itemType: "product",
|
|
18362
|
+
itemUnit: 0,
|
|
18334
18363
|
dateCreated: new DefaultFactory(() => new DateTime()),
|
|
18335
18364
|
dateUpdated: new DefaultFactory(() => new DateTime()),
|
|
18336
18365
|
price: 0,
|
|
@@ -18378,6 +18407,17 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
18378
18407
|
"dataType": "Char",
|
|
18379
18408
|
"length": 20,
|
|
18380
18409
|
"default": ["itemType", "\"product\""]
|
|
18410
|
+
}, {
|
|
18411
|
+
"name": "itemUnitType",
|
|
18412
|
+
"type": "string",
|
|
18413
|
+
"dataType": "Char",
|
|
18414
|
+
"length": 50,
|
|
18415
|
+
"default": ["itemUnitType", "\"product\""]
|
|
18416
|
+
}, {
|
|
18417
|
+
"name": "itemUnit",
|
|
18418
|
+
"type": "number",
|
|
18419
|
+
"dataType": "Decimal",
|
|
18420
|
+
"default": ["itemUnit", "0"]
|
|
18381
18421
|
}, {
|
|
18382
18422
|
"name": "folderID",
|
|
18383
18423
|
"type": "number",
|
|
@@ -18467,6 +18507,16 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
18467
18507
|
"relatedKey": "accountID"
|
|
18468
18508
|
}],
|
|
18469
18509
|
"relatedName": "StoreAccount"
|
|
18510
|
+
}, {
|
|
18511
|
+
"name": "itemCoupons",
|
|
18512
|
+
"isCollection": true,
|
|
18513
|
+
"isInverse": true,
|
|
18514
|
+
"relatedName": "StoreCoupon"
|
|
18515
|
+
}, {
|
|
18516
|
+
"name": "lineItems",
|
|
18517
|
+
"isCollection": true,
|
|
18518
|
+
"isInverse": true,
|
|
18519
|
+
"relatedName": "StoreJournalLineItem"
|
|
18470
18520
|
}, {
|
|
18471
18521
|
"name": "storeItemPrices",
|
|
18472
18522
|
"isCollection": true,
|
|
@@ -18483,12 +18533,7 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
18483
18533
|
"isInverse": true,
|
|
18484
18534
|
"relatedName": "StoreInsight"
|
|
18485
18535
|
}, {
|
|
18486
|
-
"name": "
|
|
18487
|
-
"isCollection": true,
|
|
18488
|
-
"isInverse": true,
|
|
18489
|
-
"relatedName": "StoreJournalLineItem"
|
|
18490
|
-
}, {
|
|
18491
|
-
"name": "taxes",
|
|
18536
|
+
"name": "applicableTaxes",
|
|
18492
18537
|
"isCollection": true,
|
|
18493
18538
|
"isInverse": true,
|
|
18494
18539
|
"relatedName": "StoreItemTax"
|
|
@@ -18508,6 +18553,179 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
18508
18553
|
}
|
|
18509
18554
|
}));
|
|
18510
18555
|
modelEntitySchemas["StoreItem"] = StoreItem;
|
|
18556
|
+
_export("StoreCouponTypeArray", StoreCouponTypeArray = [{
|
|
18557
|
+
"label": "discount",
|
|
18558
|
+
"value": "discount"
|
|
18559
|
+
}, {
|
|
18560
|
+
"label": "subtract",
|
|
18561
|
+
"value": "subtract"
|
|
18562
|
+
}]);
|
|
18563
|
+
_export("StoreCoupon", StoreCoupon = new Model("StoreCoupon", ["couponID"], {
|
|
18564
|
+
code: "",
|
|
18565
|
+
active: false,
|
|
18566
|
+
hidden: false,
|
|
18567
|
+
startDate: new DefaultFactory(() => new DateTime()),
|
|
18568
|
+
exclusive: false,
|
|
18569
|
+
minOrderAmount: 0,
|
|
18570
|
+
maxOrderAmount: 0,
|
|
18571
|
+
minQuantity: 0,
|
|
18572
|
+
maxQuantity: 0,
|
|
18573
|
+
amount: 0,
|
|
18574
|
+
type: "discount"
|
|
18575
|
+
}, {
|
|
18576
|
+
"name": "store_coupons",
|
|
18577
|
+
"keys": [{
|
|
18578
|
+
"name": "couponID",
|
|
18579
|
+
"type": "number",
|
|
18580
|
+
"generated": "identity",
|
|
18581
|
+
"dataType": "BigInt"
|
|
18582
|
+
}],
|
|
18583
|
+
"properties": [{
|
|
18584
|
+
"name": "storeID",
|
|
18585
|
+
"type": "number",
|
|
18586
|
+
"dataType": "BigInt"
|
|
18587
|
+
}, {
|
|
18588
|
+
"name": "code",
|
|
18589
|
+
"type": "string",
|
|
18590
|
+
"dataType": "Char",
|
|
18591
|
+
"length": 100,
|
|
18592
|
+
"default": ["code", "\"\""]
|
|
18593
|
+
}, {
|
|
18594
|
+
"name": "active",
|
|
18595
|
+
"type": "boolean",
|
|
18596
|
+
"dataType": "Boolean",
|
|
18597
|
+
"default": ["active", "false"]
|
|
18598
|
+
}, {
|
|
18599
|
+
"name": "hidden",
|
|
18600
|
+
"type": "boolean",
|
|
18601
|
+
"dataType": "Boolean",
|
|
18602
|
+
"default": ["hidden", "false"]
|
|
18603
|
+
}, {
|
|
18604
|
+
"name": "itemID",
|
|
18605
|
+
"type": "number",
|
|
18606
|
+
"dataType": "BigInt"
|
|
18607
|
+
}, {
|
|
18608
|
+
"name": "startDate",
|
|
18609
|
+
"type": "DateTime",
|
|
18610
|
+
"dataType": "DateTime",
|
|
18611
|
+
"default": ["startDate", "new DefaultFactory(() => new DateTime())"]
|
|
18612
|
+
}, {
|
|
18613
|
+
"name": "endDate",
|
|
18614
|
+
"type": "DateTime",
|
|
18615
|
+
"dataType": "DateTime",
|
|
18616
|
+
"default": ["endDate", "new DefaultFactory(() => new DateTime())"]
|
|
18617
|
+
}, {
|
|
18618
|
+
"name": "exclusive",
|
|
18619
|
+
"type": "boolean",
|
|
18620
|
+
"dataType": "Boolean",
|
|
18621
|
+
"default": ["exclusive", "false"]
|
|
18622
|
+
}, {
|
|
18623
|
+
"name": "minOrderAmount",
|
|
18624
|
+
"type": "number",
|
|
18625
|
+
"dataType": "Decimal",
|
|
18626
|
+
"default": ["minOrderAmount", "0"]
|
|
18627
|
+
}, {
|
|
18628
|
+
"name": "maxOrderAmount",
|
|
18629
|
+
"type": "number",
|
|
18630
|
+
"dataType": "Decimal",
|
|
18631
|
+
"default": ["maxOrderAmount", "0"]
|
|
18632
|
+
}, {
|
|
18633
|
+
"name": "minQuantity",
|
|
18634
|
+
"type": "number",
|
|
18635
|
+
"dataType": "Int",
|
|
18636
|
+
"default": ["minQuantity", "0"]
|
|
18637
|
+
}, {
|
|
18638
|
+
"name": "maxQuantity",
|
|
18639
|
+
"type": "number",
|
|
18640
|
+
"dataType": "Int",
|
|
18641
|
+
"default": ["maxQuantity", "0"]
|
|
18642
|
+
}, {
|
|
18643
|
+
"name": "amount",
|
|
18644
|
+
"type": "number",
|
|
18645
|
+
"dataType": "Int",
|
|
18646
|
+
"default": ["amount", "0"]
|
|
18647
|
+
}, {
|
|
18648
|
+
"name": "type",
|
|
18649
|
+
"type": "string",
|
|
18650
|
+
"dataType": "Char",
|
|
18651
|
+
"length": 50,
|
|
18652
|
+
"default": ["type", "\"discount\""]
|
|
18653
|
+
}],
|
|
18654
|
+
"relations": [{
|
|
18655
|
+
"name": "store",
|
|
18656
|
+
"fkMap": [{
|
|
18657
|
+
"fk": "storeID",
|
|
18658
|
+
"relatedKey": "folderID"
|
|
18659
|
+
}],
|
|
18660
|
+
"relatedName": "WebSiteFolder"
|
|
18661
|
+
}, {
|
|
18662
|
+
"name": "item",
|
|
18663
|
+
"fkMap": [{
|
|
18664
|
+
"fk": "itemID",
|
|
18665
|
+
"relatedKey": "storeItemID"
|
|
18666
|
+
}],
|
|
18667
|
+
"relatedName": "StoreItem"
|
|
18668
|
+
}, {
|
|
18669
|
+
"name": "orders",
|
|
18670
|
+
"isCollection": true,
|
|
18671
|
+
"isInverse": true,
|
|
18672
|
+
"relatedName": "StoreJournalCoupon"
|
|
18673
|
+
}]
|
|
18674
|
+
}));
|
|
18675
|
+
modelEntitySchemas["StoreCoupon"] = StoreCoupon;
|
|
18676
|
+
_export("StoreJournalCoupon", StoreJournalCoupon = new Model("StoreJournalCoupon", ["appliedCouponID"], {
|
|
18677
|
+
couponCode: ""
|
|
18678
|
+
}, {
|
|
18679
|
+
"name": "store_journal_coupons",
|
|
18680
|
+
"keys": [{
|
|
18681
|
+
"name": "appliedCouponID",
|
|
18682
|
+
"type": "number",
|
|
18683
|
+
"generated": "identity",
|
|
18684
|
+
"dataType": "BigInt"
|
|
18685
|
+
}],
|
|
18686
|
+
"properties": [{
|
|
18687
|
+
"name": "couponID",
|
|
18688
|
+
"type": "number",
|
|
18689
|
+
"dataType": "BigInt"
|
|
18690
|
+
}, {
|
|
18691
|
+
"name": "orderID",
|
|
18692
|
+
"type": "number",
|
|
18693
|
+
"dataType": "BigInt"
|
|
18694
|
+
}, {
|
|
18695
|
+
"name": "lineItemID",
|
|
18696
|
+
"type": "number",
|
|
18697
|
+
"dataType": "BigInt"
|
|
18698
|
+
}, {
|
|
18699
|
+
"name": "couponCode",
|
|
18700
|
+
"type": "string",
|
|
18701
|
+
"dataType": "Char",
|
|
18702
|
+
"length": 200,
|
|
18703
|
+
"default": ["couponCode", "\"\""]
|
|
18704
|
+
}],
|
|
18705
|
+
"relations": [{
|
|
18706
|
+
"name": "coupon",
|
|
18707
|
+
"fkMap": [{
|
|
18708
|
+
"fk": "couponID",
|
|
18709
|
+
"relatedKey": "couponID"
|
|
18710
|
+
}],
|
|
18711
|
+
"relatedName": "StoreCoupon"
|
|
18712
|
+
}, {
|
|
18713
|
+
"name": "order",
|
|
18714
|
+
"fkMap": [{
|
|
18715
|
+
"fk": "orderID",
|
|
18716
|
+
"relatedKey": "journalID"
|
|
18717
|
+
}],
|
|
18718
|
+
"relatedName": "StoreJournal"
|
|
18719
|
+
}, {
|
|
18720
|
+
"name": "lineItem",
|
|
18721
|
+
"fkMap": [{
|
|
18722
|
+
"fk": "lineItemID",
|
|
18723
|
+
"relatedKey": "lineItemID"
|
|
18724
|
+
}],
|
|
18725
|
+
"relatedName": "StoreJournalLineItem"
|
|
18726
|
+
}]
|
|
18727
|
+
}));
|
|
18728
|
+
modelEntitySchemas["StoreJournalCoupon"] = StoreJournalCoupon;
|
|
18511
18729
|
_export("StoreItemFolder", StoreItemFolder = new Model("StoreItemFolder", ["itemFolderID"], {
|
|
18512
18730
|
name: "",
|
|
18513
18731
|
path: ""
|
|
@@ -18995,6 +19213,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
18995
19213
|
"isCollection": true,
|
|
18996
19214
|
"isInverse": true,
|
|
18997
19215
|
"relatedName": "StoreAccountAddress"
|
|
19216
|
+
}, {
|
|
19217
|
+
"name": "soldItems",
|
|
19218
|
+
"isCollection": true,
|
|
19219
|
+
"isInverse": true,
|
|
19220
|
+
"relatedName": "StoreJournalLineItem"
|
|
18998
19221
|
}, {
|
|
18999
19222
|
"name": "storePaymentGateway",
|
|
19000
19223
|
"isCollection": false,
|
|
@@ -19015,11 +19238,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
19015
19238
|
"isCollection": true,
|
|
19016
19239
|
"isInverse": true,
|
|
19017
19240
|
"relatedName": "StoreJournalEntry"
|
|
19018
|
-
}, {
|
|
19019
|
-
"name": "soldItems",
|
|
19020
|
-
"isCollection": true,
|
|
19021
|
-
"isInverse": true,
|
|
19022
|
-
"relatedName": "StoreJournalLineItem"
|
|
19023
19241
|
}]
|
|
19024
19242
|
}));
|
|
19025
19243
|
modelEntitySchemas["StoreAccount"] = StoreAccount;
|
|
@@ -19501,6 +19719,16 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
19501
19719
|
"relatedKey": "appFileID"
|
|
19502
19720
|
}],
|
|
19503
19721
|
"relatedName": "AppFile"
|
|
19722
|
+
}, {
|
|
19723
|
+
"name": "orderCoupons",
|
|
19724
|
+
"isCollection": true,
|
|
19725
|
+
"isInverse": true,
|
|
19726
|
+
"relatedName": "StoreJournalCoupon"
|
|
19727
|
+
}, {
|
|
19728
|
+
"name": "lineItems",
|
|
19729
|
+
"isCollection": true,
|
|
19730
|
+
"isInverse": true,
|
|
19731
|
+
"relatedName": "StoreJournalLineItem"
|
|
19504
19732
|
}, {
|
|
19505
19733
|
"name": "paymentAttempts",
|
|
19506
19734
|
"isCollection": true,
|
|
@@ -19511,11 +19739,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
19511
19739
|
"isCollection": true,
|
|
19512
19740
|
"isInverse": true,
|
|
19513
19741
|
"relatedName": "StoreJournalEntry"
|
|
19514
|
-
}, {
|
|
19515
|
-
"name": "lineItems",
|
|
19516
|
-
"isCollection": true,
|
|
19517
|
-
"isInverse": true,
|
|
19518
|
-
"relatedName": "StoreJournalLineItem"
|
|
19519
19742
|
}]
|
|
19520
19743
|
}));
|
|
19521
19744
|
modelEntitySchemas["StoreJournal"] = StoreJournal;
|
|
@@ -19616,9 +19839,15 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
19616
19839
|
"value": "size"
|
|
19617
19840
|
}]);
|
|
19618
19841
|
_export("StoreJournalLineItem", StoreJournalLineItem = new Model("StoreJournalLineItem", ["lineItemID"], {
|
|
19842
|
+
price: 0,
|
|
19843
|
+
discountPercentage: 0,
|
|
19844
|
+
discount: 0,
|
|
19845
|
+
priceAfterDiscount: 0,
|
|
19846
|
+
couponDiscount: 0,
|
|
19847
|
+
quantity: 0,
|
|
19619
19848
|
amount: 0,
|
|
19849
|
+
taxes: 0,
|
|
19620
19850
|
total: 0,
|
|
19621
|
-
quantity: 0,
|
|
19622
19851
|
inclusive: false,
|
|
19623
19852
|
hide: false
|
|
19624
19853
|
}, {
|
|
@@ -19642,20 +19871,50 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
19642
19871
|
"type": "number",
|
|
19643
19872
|
"dataType": "BigInt"
|
|
19644
19873
|
}, {
|
|
19645
|
-
"name": "
|
|
19874
|
+
"name": "price",
|
|
19646
19875
|
"type": "number",
|
|
19647
19876
|
"dataType": "Decimal",
|
|
19648
|
-
"default": ["
|
|
19877
|
+
"default": ["price", "0"]
|
|
19649
19878
|
}, {
|
|
19650
|
-
"name": "
|
|
19879
|
+
"name": "discountPercentage",
|
|
19651
19880
|
"type": "number",
|
|
19652
19881
|
"dataType": "Decimal",
|
|
19653
|
-
"default": ["
|
|
19882
|
+
"default": ["discountPercentage", "0"]
|
|
19883
|
+
}, {
|
|
19884
|
+
"name": "discount",
|
|
19885
|
+
"type": "number",
|
|
19886
|
+
"dataType": "Decimal",
|
|
19887
|
+
"default": ["discount", "0"]
|
|
19888
|
+
}, {
|
|
19889
|
+
"name": "priceAfterDiscount",
|
|
19890
|
+
"type": "number",
|
|
19891
|
+
"dataType": "Decimal",
|
|
19892
|
+
"default": ["priceAfterDiscount", "0"]
|
|
19893
|
+
}, {
|
|
19894
|
+
"name": "couponDiscount",
|
|
19895
|
+
"type": "number",
|
|
19896
|
+
"dataType": "Decimal",
|
|
19897
|
+
"default": ["couponDiscount", "0"]
|
|
19654
19898
|
}, {
|
|
19655
19899
|
"name": "quantity",
|
|
19656
19900
|
"type": "number",
|
|
19657
19901
|
"dataType": "Decimal",
|
|
19658
19902
|
"default": ["quantity", "0"]
|
|
19903
|
+
}, {
|
|
19904
|
+
"name": "amount",
|
|
19905
|
+
"type": "number",
|
|
19906
|
+
"dataType": "Decimal",
|
|
19907
|
+
"default": ["amount", "0"]
|
|
19908
|
+
}, {
|
|
19909
|
+
"name": "taxes",
|
|
19910
|
+
"type": "number",
|
|
19911
|
+
"dataType": "Decimal",
|
|
19912
|
+
"default": ["taxes", "0"]
|
|
19913
|
+
}, {
|
|
19914
|
+
"name": "total",
|
|
19915
|
+
"type": "number",
|
|
19916
|
+
"dataType": "Decimal",
|
|
19917
|
+
"default": ["total", "0"]
|
|
19659
19918
|
}, {
|
|
19660
19919
|
"name": "inclusive",
|
|
19661
19920
|
"type": "boolean",
|
|
@@ -19680,6 +19939,10 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
19680
19939
|
"name": "sourceID",
|
|
19681
19940
|
"type": "number",
|
|
19682
19941
|
"dataType": "BigInt"
|
|
19942
|
+
}, {
|
|
19943
|
+
"name": "taxForID",
|
|
19944
|
+
"type": "number",
|
|
19945
|
+
"dataType": "BigInt"
|
|
19683
19946
|
}],
|
|
19684
19947
|
"relations": [{
|
|
19685
19948
|
"name": "journal",
|
|
@@ -19721,6 +19984,23 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
19721
19984
|
"isCollection": true,
|
|
19722
19985
|
"isInverse": true,
|
|
19723
19986
|
"relatedName": "StoreJournalLineItem"
|
|
19987
|
+
}, {
|
|
19988
|
+
"name": "taxFor",
|
|
19989
|
+
"fkMap": [{
|
|
19990
|
+
"fk": "taxForID",
|
|
19991
|
+
"relatedKey": "lineItemID"
|
|
19992
|
+
}],
|
|
19993
|
+
"relatedName": "StoreJournalLineItem"
|
|
19994
|
+
}, {
|
|
19995
|
+
"name": "taxLineItems",
|
|
19996
|
+
"isCollection": true,
|
|
19997
|
+
"isInverse": true,
|
|
19998
|
+
"relatedName": "StoreJournalLineItem"
|
|
19999
|
+
}, {
|
|
20000
|
+
"name": "coupons",
|
|
20001
|
+
"isCollection": true,
|
|
20002
|
+
"isInverse": true,
|
|
20003
|
+
"relatedName": "StoreJournalCoupon"
|
|
19724
20004
|
}, {
|
|
19725
20005
|
"name": "entries",
|
|
19726
20006
|
"isCollection": true,
|
|
@@ -20397,6 +20677,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
20397
20677
|
"isCollection": true,
|
|
20398
20678
|
"isInverse": true,
|
|
20399
20679
|
"relatedName": "StoreAccount"
|
|
20680
|
+
}, {
|
|
20681
|
+
"name": "coupons",
|
|
20682
|
+
"isCollection": true,
|
|
20683
|
+
"isInverse": true,
|
|
20684
|
+
"relatedName": "StoreCoupon"
|
|
20400
20685
|
}, {
|
|
20401
20686
|
"name": "journals",
|
|
20402
20687
|
"isCollection": true,
|