@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
|
@@ -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, 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;
|
|
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;
|
|
13450
13450
|
return {
|
|
13451
13451
|
setters: [function (_webAtomsDateTimeDistDateTime) {
|
|
13452
13452
|
DateTime = _webAtomsDateTimeDistDateTime.default;
|
|
@@ -17033,10 +17033,39 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
17033
17033
|
"label": "size",
|
|
17034
17034
|
"value": "size"
|
|
17035
17035
|
}]);
|
|
17036
|
+
_export("StoreItemItemUnitTypeArray", StoreItemItemUnitTypeArray = [{
|
|
17037
|
+
"label": "product",
|
|
17038
|
+
"value": "product"
|
|
17039
|
+
}, {
|
|
17040
|
+
"label": "e-product",
|
|
17041
|
+
"value": "e-product"
|
|
17042
|
+
}, {
|
|
17043
|
+
"label": "shipping",
|
|
17044
|
+
"value": "shipping"
|
|
17045
|
+
}, {
|
|
17046
|
+
"label": "service",
|
|
17047
|
+
"value": "service"
|
|
17048
|
+
}, {
|
|
17049
|
+
"label": "tax",
|
|
17050
|
+
"value": "tax"
|
|
17051
|
+
}, {
|
|
17052
|
+
"label": "fee",
|
|
17053
|
+
"value": "fee"
|
|
17054
|
+
}, {
|
|
17055
|
+
"label": "commission",
|
|
17056
|
+
"value": "commission"
|
|
17057
|
+
}, {
|
|
17058
|
+
"label": "variant",
|
|
17059
|
+
"value": "variant"
|
|
17060
|
+
}, {
|
|
17061
|
+
"label": "size",
|
|
17062
|
+
"value": "size"
|
|
17063
|
+
}]);
|
|
17036
17064
|
_export("StoreItem", StoreItem = new Model("StoreItem", ["storeItemID"], {
|
|
17037
17065
|
name: "",
|
|
17038
17066
|
active: false,
|
|
17039
17067
|
itemType: "product",
|
|
17068
|
+
itemUnit: 0,
|
|
17040
17069
|
dateCreated: new DefaultFactory(() => new DateTime()),
|
|
17041
17070
|
dateUpdated: new DefaultFactory(() => new DateTime()),
|
|
17042
17071
|
price: 0,
|
|
@@ -17084,6 +17113,17 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
17084
17113
|
"dataType": "Char",
|
|
17085
17114
|
"length": 20,
|
|
17086
17115
|
"default": ["itemType", "\"product\""]
|
|
17116
|
+
}, {
|
|
17117
|
+
"name": "itemUnitType",
|
|
17118
|
+
"type": "string",
|
|
17119
|
+
"dataType": "Char",
|
|
17120
|
+
"length": 50,
|
|
17121
|
+
"default": ["itemUnitType", "\"product\""]
|
|
17122
|
+
}, {
|
|
17123
|
+
"name": "itemUnit",
|
|
17124
|
+
"type": "number",
|
|
17125
|
+
"dataType": "Decimal",
|
|
17126
|
+
"default": ["itemUnit", "0"]
|
|
17087
17127
|
}, {
|
|
17088
17128
|
"name": "folderID",
|
|
17089
17129
|
"type": "number",
|
|
@@ -17173,6 +17213,16 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
17173
17213
|
"relatedKey": "accountID"
|
|
17174
17214
|
}],
|
|
17175
17215
|
"relatedName": "StoreAccount"
|
|
17216
|
+
}, {
|
|
17217
|
+
"name": "itemCoupons",
|
|
17218
|
+
"isCollection": true,
|
|
17219
|
+
"isInverse": true,
|
|
17220
|
+
"relatedName": "StoreCoupon"
|
|
17221
|
+
}, {
|
|
17222
|
+
"name": "lineItems",
|
|
17223
|
+
"isCollection": true,
|
|
17224
|
+
"isInverse": true,
|
|
17225
|
+
"relatedName": "StoreJournalLineItem"
|
|
17176
17226
|
}, {
|
|
17177
17227
|
"name": "storeItemPrices",
|
|
17178
17228
|
"isCollection": true,
|
|
@@ -17189,12 +17239,7 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
17189
17239
|
"isInverse": true,
|
|
17190
17240
|
"relatedName": "StoreInsight"
|
|
17191
17241
|
}, {
|
|
17192
|
-
"name": "
|
|
17193
|
-
"isCollection": true,
|
|
17194
|
-
"isInverse": true,
|
|
17195
|
-
"relatedName": "StoreJournalLineItem"
|
|
17196
|
-
}, {
|
|
17197
|
-
"name": "taxes",
|
|
17242
|
+
"name": "applicableTaxes",
|
|
17198
17243
|
"isCollection": true,
|
|
17199
17244
|
"isInverse": true,
|
|
17200
17245
|
"relatedName": "StoreItemTax"
|
|
@@ -17214,6 +17259,179 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
17214
17259
|
}
|
|
17215
17260
|
}));
|
|
17216
17261
|
modelEntitySchemas["StoreItem"] = StoreItem;
|
|
17262
|
+
_export("StoreCouponTypeArray", StoreCouponTypeArray = [{
|
|
17263
|
+
"label": "discount",
|
|
17264
|
+
"value": "discount"
|
|
17265
|
+
}, {
|
|
17266
|
+
"label": "subtract",
|
|
17267
|
+
"value": "subtract"
|
|
17268
|
+
}]);
|
|
17269
|
+
_export("StoreCoupon", StoreCoupon = new Model("StoreCoupon", ["couponID"], {
|
|
17270
|
+
code: "",
|
|
17271
|
+
active: false,
|
|
17272
|
+
hidden: false,
|
|
17273
|
+
startDate: new DefaultFactory(() => new DateTime()),
|
|
17274
|
+
exclusive: false,
|
|
17275
|
+
minOrderAmount: 0,
|
|
17276
|
+
maxOrderAmount: 0,
|
|
17277
|
+
minQuantity: 0,
|
|
17278
|
+
maxQuantity: 0,
|
|
17279
|
+
amount: 0,
|
|
17280
|
+
type: "discount"
|
|
17281
|
+
}, {
|
|
17282
|
+
"name": "store_coupons",
|
|
17283
|
+
"keys": [{
|
|
17284
|
+
"name": "couponID",
|
|
17285
|
+
"type": "number",
|
|
17286
|
+
"generated": "identity",
|
|
17287
|
+
"dataType": "BigInt"
|
|
17288
|
+
}],
|
|
17289
|
+
"properties": [{
|
|
17290
|
+
"name": "storeID",
|
|
17291
|
+
"type": "number",
|
|
17292
|
+
"dataType": "BigInt"
|
|
17293
|
+
}, {
|
|
17294
|
+
"name": "code",
|
|
17295
|
+
"type": "string",
|
|
17296
|
+
"dataType": "Char",
|
|
17297
|
+
"length": 100,
|
|
17298
|
+
"default": ["code", "\"\""]
|
|
17299
|
+
}, {
|
|
17300
|
+
"name": "active",
|
|
17301
|
+
"type": "boolean",
|
|
17302
|
+
"dataType": "Boolean",
|
|
17303
|
+
"default": ["active", "false"]
|
|
17304
|
+
}, {
|
|
17305
|
+
"name": "hidden",
|
|
17306
|
+
"type": "boolean",
|
|
17307
|
+
"dataType": "Boolean",
|
|
17308
|
+
"default": ["hidden", "false"]
|
|
17309
|
+
}, {
|
|
17310
|
+
"name": "itemID",
|
|
17311
|
+
"type": "number",
|
|
17312
|
+
"dataType": "BigInt"
|
|
17313
|
+
}, {
|
|
17314
|
+
"name": "startDate",
|
|
17315
|
+
"type": "DateTime",
|
|
17316
|
+
"dataType": "DateTime",
|
|
17317
|
+
"default": ["startDate", "new DefaultFactory(() => new DateTime())"]
|
|
17318
|
+
}, {
|
|
17319
|
+
"name": "endDate",
|
|
17320
|
+
"type": "DateTime",
|
|
17321
|
+
"dataType": "DateTime",
|
|
17322
|
+
"default": ["endDate", "new DefaultFactory(() => new DateTime())"]
|
|
17323
|
+
}, {
|
|
17324
|
+
"name": "exclusive",
|
|
17325
|
+
"type": "boolean",
|
|
17326
|
+
"dataType": "Boolean",
|
|
17327
|
+
"default": ["exclusive", "false"]
|
|
17328
|
+
}, {
|
|
17329
|
+
"name": "minOrderAmount",
|
|
17330
|
+
"type": "number",
|
|
17331
|
+
"dataType": "Decimal",
|
|
17332
|
+
"default": ["minOrderAmount", "0"]
|
|
17333
|
+
}, {
|
|
17334
|
+
"name": "maxOrderAmount",
|
|
17335
|
+
"type": "number",
|
|
17336
|
+
"dataType": "Decimal",
|
|
17337
|
+
"default": ["maxOrderAmount", "0"]
|
|
17338
|
+
}, {
|
|
17339
|
+
"name": "minQuantity",
|
|
17340
|
+
"type": "number",
|
|
17341
|
+
"dataType": "Int",
|
|
17342
|
+
"default": ["minQuantity", "0"]
|
|
17343
|
+
}, {
|
|
17344
|
+
"name": "maxQuantity",
|
|
17345
|
+
"type": "number",
|
|
17346
|
+
"dataType": "Int",
|
|
17347
|
+
"default": ["maxQuantity", "0"]
|
|
17348
|
+
}, {
|
|
17349
|
+
"name": "amount",
|
|
17350
|
+
"type": "number",
|
|
17351
|
+
"dataType": "Int",
|
|
17352
|
+
"default": ["amount", "0"]
|
|
17353
|
+
}, {
|
|
17354
|
+
"name": "type",
|
|
17355
|
+
"type": "string",
|
|
17356
|
+
"dataType": "Char",
|
|
17357
|
+
"length": 50,
|
|
17358
|
+
"default": ["type", "\"discount\""]
|
|
17359
|
+
}],
|
|
17360
|
+
"relations": [{
|
|
17361
|
+
"name": "store",
|
|
17362
|
+
"fkMap": [{
|
|
17363
|
+
"fk": "storeID",
|
|
17364
|
+
"relatedKey": "folderID"
|
|
17365
|
+
}],
|
|
17366
|
+
"relatedName": "WebSiteFolder"
|
|
17367
|
+
}, {
|
|
17368
|
+
"name": "item",
|
|
17369
|
+
"fkMap": [{
|
|
17370
|
+
"fk": "itemID",
|
|
17371
|
+
"relatedKey": "storeItemID"
|
|
17372
|
+
}],
|
|
17373
|
+
"relatedName": "StoreItem"
|
|
17374
|
+
}, {
|
|
17375
|
+
"name": "orders",
|
|
17376
|
+
"isCollection": true,
|
|
17377
|
+
"isInverse": true,
|
|
17378
|
+
"relatedName": "StoreJournalCoupon"
|
|
17379
|
+
}]
|
|
17380
|
+
}));
|
|
17381
|
+
modelEntitySchemas["StoreCoupon"] = StoreCoupon;
|
|
17382
|
+
_export("StoreJournalCoupon", StoreJournalCoupon = new Model("StoreJournalCoupon", ["appliedCouponID"], {
|
|
17383
|
+
couponCode: ""
|
|
17384
|
+
}, {
|
|
17385
|
+
"name": "store_journal_coupons",
|
|
17386
|
+
"keys": [{
|
|
17387
|
+
"name": "appliedCouponID",
|
|
17388
|
+
"type": "number",
|
|
17389
|
+
"generated": "identity",
|
|
17390
|
+
"dataType": "BigInt"
|
|
17391
|
+
}],
|
|
17392
|
+
"properties": [{
|
|
17393
|
+
"name": "couponID",
|
|
17394
|
+
"type": "number",
|
|
17395
|
+
"dataType": "BigInt"
|
|
17396
|
+
}, {
|
|
17397
|
+
"name": "orderID",
|
|
17398
|
+
"type": "number",
|
|
17399
|
+
"dataType": "BigInt"
|
|
17400
|
+
}, {
|
|
17401
|
+
"name": "lineItemID",
|
|
17402
|
+
"type": "number",
|
|
17403
|
+
"dataType": "BigInt"
|
|
17404
|
+
}, {
|
|
17405
|
+
"name": "couponCode",
|
|
17406
|
+
"type": "string",
|
|
17407
|
+
"dataType": "Char",
|
|
17408
|
+
"length": 200,
|
|
17409
|
+
"default": ["couponCode", "\"\""]
|
|
17410
|
+
}],
|
|
17411
|
+
"relations": [{
|
|
17412
|
+
"name": "coupon",
|
|
17413
|
+
"fkMap": [{
|
|
17414
|
+
"fk": "couponID",
|
|
17415
|
+
"relatedKey": "couponID"
|
|
17416
|
+
}],
|
|
17417
|
+
"relatedName": "StoreCoupon"
|
|
17418
|
+
}, {
|
|
17419
|
+
"name": "order",
|
|
17420
|
+
"fkMap": [{
|
|
17421
|
+
"fk": "orderID",
|
|
17422
|
+
"relatedKey": "journalID"
|
|
17423
|
+
}],
|
|
17424
|
+
"relatedName": "StoreJournal"
|
|
17425
|
+
}, {
|
|
17426
|
+
"name": "lineItem",
|
|
17427
|
+
"fkMap": [{
|
|
17428
|
+
"fk": "lineItemID",
|
|
17429
|
+
"relatedKey": "lineItemID"
|
|
17430
|
+
}],
|
|
17431
|
+
"relatedName": "StoreJournalLineItem"
|
|
17432
|
+
}]
|
|
17433
|
+
}));
|
|
17434
|
+
modelEntitySchemas["StoreJournalCoupon"] = StoreJournalCoupon;
|
|
17217
17435
|
_export("StoreItemFolder", StoreItemFolder = new Model("StoreItemFolder", ["itemFolderID"], {
|
|
17218
17436
|
name: "",
|
|
17219
17437
|
path: ""
|
|
@@ -17701,6 +17919,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
17701
17919
|
"isCollection": true,
|
|
17702
17920
|
"isInverse": true,
|
|
17703
17921
|
"relatedName": "StoreAccountAddress"
|
|
17922
|
+
}, {
|
|
17923
|
+
"name": "soldItems",
|
|
17924
|
+
"isCollection": true,
|
|
17925
|
+
"isInverse": true,
|
|
17926
|
+
"relatedName": "StoreJournalLineItem"
|
|
17704
17927
|
}, {
|
|
17705
17928
|
"name": "storePaymentGateway",
|
|
17706
17929
|
"isCollection": false,
|
|
@@ -17721,11 +17944,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
17721
17944
|
"isCollection": true,
|
|
17722
17945
|
"isInverse": true,
|
|
17723
17946
|
"relatedName": "StoreJournalEntry"
|
|
17724
|
-
}, {
|
|
17725
|
-
"name": "soldItems",
|
|
17726
|
-
"isCollection": true,
|
|
17727
|
-
"isInverse": true,
|
|
17728
|
-
"relatedName": "StoreJournalLineItem"
|
|
17729
17947
|
}]
|
|
17730
17948
|
}));
|
|
17731
17949
|
modelEntitySchemas["StoreAccount"] = StoreAccount;
|
|
@@ -18207,6 +18425,16 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
18207
18425
|
"relatedKey": "appFileID"
|
|
18208
18426
|
}],
|
|
18209
18427
|
"relatedName": "AppFile"
|
|
18428
|
+
}, {
|
|
18429
|
+
"name": "orderCoupons",
|
|
18430
|
+
"isCollection": true,
|
|
18431
|
+
"isInverse": true,
|
|
18432
|
+
"relatedName": "StoreJournalCoupon"
|
|
18433
|
+
}, {
|
|
18434
|
+
"name": "lineItems",
|
|
18435
|
+
"isCollection": true,
|
|
18436
|
+
"isInverse": true,
|
|
18437
|
+
"relatedName": "StoreJournalLineItem"
|
|
18210
18438
|
}, {
|
|
18211
18439
|
"name": "paymentAttempts",
|
|
18212
18440
|
"isCollection": true,
|
|
@@ -18217,11 +18445,6 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
18217
18445
|
"isCollection": true,
|
|
18218
18446
|
"isInverse": true,
|
|
18219
18447
|
"relatedName": "StoreJournalEntry"
|
|
18220
|
-
}, {
|
|
18221
|
-
"name": "lineItems",
|
|
18222
|
-
"isCollection": true,
|
|
18223
|
-
"isInverse": true,
|
|
18224
|
-
"relatedName": "StoreJournalLineItem"
|
|
18225
18448
|
}]
|
|
18226
18449
|
}));
|
|
18227
18450
|
modelEntitySchemas["StoreJournal"] = StoreJournal;
|
|
@@ -18322,9 +18545,15 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
18322
18545
|
"value": "size"
|
|
18323
18546
|
}]);
|
|
18324
18547
|
_export("StoreJournalLineItem", StoreJournalLineItem = new Model("StoreJournalLineItem", ["lineItemID"], {
|
|
18548
|
+
price: 0,
|
|
18549
|
+
discountPercentage: 0,
|
|
18550
|
+
discount: 0,
|
|
18551
|
+
priceAfterDiscount: 0,
|
|
18552
|
+
couponDiscount: 0,
|
|
18553
|
+
quantity: 0,
|
|
18325
18554
|
amount: 0,
|
|
18555
|
+
taxes: 0,
|
|
18326
18556
|
total: 0,
|
|
18327
|
-
quantity: 0,
|
|
18328
18557
|
inclusive: false,
|
|
18329
18558
|
hide: false
|
|
18330
18559
|
}, {
|
|
@@ -18348,20 +18577,50 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
18348
18577
|
"type": "number",
|
|
18349
18578
|
"dataType": "BigInt"
|
|
18350
18579
|
}, {
|
|
18351
|
-
"name": "
|
|
18580
|
+
"name": "price",
|
|
18352
18581
|
"type": "number",
|
|
18353
18582
|
"dataType": "Decimal",
|
|
18354
|
-
"default": ["
|
|
18583
|
+
"default": ["price", "0"]
|
|
18355
18584
|
}, {
|
|
18356
|
-
"name": "
|
|
18585
|
+
"name": "discountPercentage",
|
|
18357
18586
|
"type": "number",
|
|
18358
18587
|
"dataType": "Decimal",
|
|
18359
|
-
"default": ["
|
|
18588
|
+
"default": ["discountPercentage", "0"]
|
|
18589
|
+
}, {
|
|
18590
|
+
"name": "discount",
|
|
18591
|
+
"type": "number",
|
|
18592
|
+
"dataType": "Decimal",
|
|
18593
|
+
"default": ["discount", "0"]
|
|
18594
|
+
}, {
|
|
18595
|
+
"name": "priceAfterDiscount",
|
|
18596
|
+
"type": "number",
|
|
18597
|
+
"dataType": "Decimal",
|
|
18598
|
+
"default": ["priceAfterDiscount", "0"]
|
|
18599
|
+
}, {
|
|
18600
|
+
"name": "couponDiscount",
|
|
18601
|
+
"type": "number",
|
|
18602
|
+
"dataType": "Decimal",
|
|
18603
|
+
"default": ["couponDiscount", "0"]
|
|
18360
18604
|
}, {
|
|
18361
18605
|
"name": "quantity",
|
|
18362
18606
|
"type": "number",
|
|
18363
18607
|
"dataType": "Decimal",
|
|
18364
18608
|
"default": ["quantity", "0"]
|
|
18609
|
+
}, {
|
|
18610
|
+
"name": "amount",
|
|
18611
|
+
"type": "number",
|
|
18612
|
+
"dataType": "Decimal",
|
|
18613
|
+
"default": ["amount", "0"]
|
|
18614
|
+
}, {
|
|
18615
|
+
"name": "taxes",
|
|
18616
|
+
"type": "number",
|
|
18617
|
+
"dataType": "Decimal",
|
|
18618
|
+
"default": ["taxes", "0"]
|
|
18619
|
+
}, {
|
|
18620
|
+
"name": "total",
|
|
18621
|
+
"type": "number",
|
|
18622
|
+
"dataType": "Decimal",
|
|
18623
|
+
"default": ["total", "0"]
|
|
18365
18624
|
}, {
|
|
18366
18625
|
"name": "inclusive",
|
|
18367
18626
|
"type": "boolean",
|
|
@@ -18386,6 +18645,10 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
18386
18645
|
"name": "sourceID",
|
|
18387
18646
|
"type": "number",
|
|
18388
18647
|
"dataType": "BigInt"
|
|
18648
|
+
}, {
|
|
18649
|
+
"name": "taxForID",
|
|
18650
|
+
"type": "number",
|
|
18651
|
+
"dataType": "BigInt"
|
|
18389
18652
|
}],
|
|
18390
18653
|
"relations": [{
|
|
18391
18654
|
"name": "journal",
|
|
@@ -18427,6 +18690,23 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
18427
18690
|
"isCollection": true,
|
|
18428
18691
|
"isInverse": true,
|
|
18429
18692
|
"relatedName": "StoreJournalLineItem"
|
|
18693
|
+
}, {
|
|
18694
|
+
"name": "taxFor",
|
|
18695
|
+
"fkMap": [{
|
|
18696
|
+
"fk": "taxForID",
|
|
18697
|
+
"relatedKey": "lineItemID"
|
|
18698
|
+
}],
|
|
18699
|
+
"relatedName": "StoreJournalLineItem"
|
|
18700
|
+
}, {
|
|
18701
|
+
"name": "taxLineItems",
|
|
18702
|
+
"isCollection": true,
|
|
18703
|
+
"isInverse": true,
|
|
18704
|
+
"relatedName": "StoreJournalLineItem"
|
|
18705
|
+
}, {
|
|
18706
|
+
"name": "coupons",
|
|
18707
|
+
"isCollection": true,
|
|
18708
|
+
"isInverse": true,
|
|
18709
|
+
"relatedName": "StoreJournalCoupon"
|
|
18430
18710
|
}, {
|
|
18431
18711
|
"name": "entries",
|
|
18432
18712
|
"isCollection": true,
|
|
@@ -19103,6 +19383,11 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
19103
19383
|
"isCollection": true,
|
|
19104
19384
|
"isInverse": true,
|
|
19105
19385
|
"relatedName": "StoreAccount"
|
|
19386
|
+
}, {
|
|
19387
|
+
"name": "coupons",
|
|
19388
|
+
"isCollection": true,
|
|
19389
|
+
"isInverse": true,
|
|
19390
|
+
"relatedName": "StoreCoupon"
|
|
19106
19391
|
}, {
|
|
19107
19392
|
"name": "journals",
|
|
19108
19393
|
"isCollection": true,
|