asv-hlps 1.3.43 → 1.3.46
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/lib/cjs/acts/index.d.ts +1 -0
- package/lib/cjs/acts/index.js +17 -0
- package/lib/cjs/acts/models/Act.d.ts +18 -0
- package/lib/cjs/acts/models/ActCat.d.ts +4 -0
- package/lib/cjs/acts/models/ActLine.d.ts +13 -0
- package/lib/cjs/acts/models/index.d.ts +3 -0
- package/lib/cjs/auth/auth.d.ts +28 -0
- package/lib/cjs/auth/auth.js +65 -0
- package/lib/cjs/auth/authService.d.ts +20 -0
- package/lib/cjs/auth/authService.js +95 -0
- package/lib/cjs/auth/index.d.ts +5 -0
- package/lib/cjs/auth/index.js +26 -0
- package/lib/cjs/auth/models/AuthTag.d.ts +6 -0
- package/lib/cjs/auth/models/AuthTagCat.d.ts +5 -0
- package/lib/cjs/auth/models/index.d.ts +2 -0
- package/lib/cjs/auth/storageService.d.ts +7 -0
- package/lib/cjs/auth/storageService.js +64 -0
- package/lib/cjs/bills/bill.d.ts +20 -0
- package/lib/cjs/bills/bill.js +79 -0
- package/lib/cjs/bills/index.d.ts +2 -0
- package/lib/cjs/bills/index.js +18 -0
- package/lib/cjs/bills/models/Bill.d.ts +40 -0
- package/lib/cjs/bills/models/BillLine.d.ts +9 -0
- package/lib/cjs/bills/models/BillPayment.d.ts +21 -0
- package/lib/cjs/bills/models/BillPaymentMethod.d.ts +5 -0
- package/lib/cjs/bills/models/CBillPeriod.d.ts +5 -0
- package/lib/cjs/bills/models/CBillPeriod.js +8 -0
- package/lib/cjs/bills/models/EBillPeriod.d.ts +6 -0
- package/lib/cjs/bills/models/EBillPeriod.js +9 -0
- package/lib/cjs/bills/models/EPayMethod.d.ts +6 -0
- package/lib/cjs/bills/models/EPayMethod.js +9 -0
- package/lib/cjs/bills/models/index.d.ts +7 -0
- package/lib/cjs/bills/models/index.js +12 -0
- package/lib/cjs/bills/pipes/amount-on-bill-pipe.d.ts +6 -0
- package/lib/cjs/bills/pipes/amount-on-bill-pipe.js +9 -0
- package/lib/cjs/bills/pipes/amount-on-list-bill-pipe.d.ts +6 -0
- package/lib/cjs/bills/pipes/amount-on-list-bill-pipe.js +18 -0
- package/lib/cjs/bills/pipes/stock-pipe.d.ts +6 -0
- package/lib/cjs/bills/pipes/stock-pipe.js +24 -0
- package/lib/cjs/buys/index.d.ts +1 -0
- package/lib/cjs/buys/index.js +17 -0
- package/lib/cjs/buys/models/Buy.d.ts +19 -0
- package/lib/cjs/buys/models/BuyCart.d.ts +4 -0
- package/lib/cjs/buys/models/BuyItem.d.ts +5 -0
- package/lib/cjs/buys/models/BuyItems.d.ts +6 -0
- package/lib/cjs/buys/models/index.d.ts +4 -0
- package/lib/cjs/cashs/index.d.ts +1 -0
- package/lib/cjs/cashs/index.js +17 -0
- package/lib/cjs/cashs/models/Bank.d.ts +4 -0
- package/lib/cjs/cashs/models/BankAccount.d.ts +6 -0
- package/lib/cjs/cashs/models/Currency.d.ts +10 -0
- package/lib/cjs/cashs/models/Deposit.d.ts +12 -0
- package/lib/cjs/cashs/models/Feed.d.ts +17 -0
- package/lib/cjs/cashs/models/Spent.d.ts +14 -0
- package/lib/cjs/cashs/models/index.d.ts +6 -0
- package/lib/cjs/comptas/hlpEntry.d.ts +19 -0
- package/lib/cjs/comptas/hlpEntry.js +118 -0
- package/lib/cjs/comptas/index.d.ts +2 -0
- package/lib/cjs/comptas/index.js +23 -0
- package/lib/cjs/comptas/models/Entry.d.ts +31 -0
- package/lib/cjs/comptas/models/EntryAccount.d.ts +5 -0
- package/lib/cjs/comptas/models/EntryCat.d.ts +5 -0
- package/lib/cjs/comptas/models/EntryLine.d.ts +23 -0
- package/lib/cjs/comptas/models/index.d.ts +5 -0
- package/lib/cjs/comptas/models/index.js +17 -0
- package/lib/cjs/comptas/models/ohada/OhadaCat.d.ts +5 -0
- package/lib/cjs/comptas/models/ohada/OhadaGrp.d.ts +5 -0
- package/lib/cjs/comptas/models/ohada/OhadaPlan.d.ts +3 -0
- package/lib/cjs/comptas/models/ohada/OhadaSubCat.d.ts +5 -0
- package/lib/cjs/comptas/models/ohada/index.d.ts +4 -0
- package/lib/cjs/docs/index.d.ts +1 -0
- package/lib/cjs/docs/index.js +17 -0
- package/lib/cjs/docs/models/Docu.d.ts +12 -0
- package/lib/cjs/docs/models/DocuCat.d.ts +10 -0
- package/lib/cjs/docs/models/Faq.d.ts +10 -0
- package/lib/cjs/docs/models/FaqCat.d.ts +12 -0
- package/lib/cjs/docs/models/Memo.d.ts +8 -0
- package/lib/cjs/docs/models/MemoCat.d.ts +8 -0
- package/lib/cjs/docs/models/index.d.ts +6 -0
- package/lib/cjs/estates/hlpEstate.d.ts +2 -2
- package/lib/cjs/estates/index.d.ts +3 -4
- package/lib/cjs/estates/index.js +7 -7
- package/lib/cjs/estates/models/Estate.d.ts +24 -0
- package/lib/cjs/estates/models/EstateAsset.d.ts +7 -0
- package/lib/cjs/estates/models/EstateCat.d.ts +3 -0
- package/lib/cjs/estates/models/EstateElt.d.ts +3 -0
- package/lib/cjs/estates/models/EstateLevel.d.ts +3 -0
- package/lib/cjs/estates/models/EstatePor.d.ts +3 -0
- package/lib/cjs/estates/models/Housing.d.ts +17 -0
- package/lib/cjs/estates/models/HousingRented.d.ts +15 -0
- package/lib/cjs/estates/models/index.d.ts +8 -0
- package/lib/cjs/estates/pipes/estate-pipe.d.ts +1 -1
- package/lib/cjs/estates/pipes/list-estate-pipe.d.ts +1 -1
- package/lib/cjs/index.d.ts +9 -36
- package/lib/cjs/index.js +78 -52
- package/lib/cjs/mails/index.d.ts +1 -0
- package/lib/cjs/mails/index.js +17 -0
- package/lib/cjs/mails/models/Mail.d.ts +9 -0
- package/lib/cjs/mails/models/MailMass.d.ts +8 -0
- package/lib/cjs/mails/models/MsgAlert.d.ts +9 -0
- package/lib/cjs/mails/models/MsgChat.d.ts +4 -0
- package/lib/cjs/mails/models/index.d.ts +4 -0
- package/lib/cjs/models/bills/Bill.d.ts +1 -1
- package/lib/cjs/models/users/UserNotatial.d.ts +2 -2
- package/lib/cjs/pdfs/invoices/amountInvoice.d.ts +2 -2
- package/lib/cjs/pdfs/invoices/amountInvoice.js +2 -2
- package/lib/cjs/pdfs/invoices/infoInvoice.d.ts +2 -2
- package/lib/cjs/pdfs/invoices/infoInvoice.js +2 -2
- package/lib/cjs/pdfs/tools/tools.d.ts +9 -3
- package/lib/cjs/pdfs/tools/tools.js +1 -1
- package/lib/cjs/product.d.ts +2 -2
- package/lib/cjs/product.js +1 -1
- package/lib/cjs/products/hlpProduct.d.ts +18 -0
- package/lib/cjs/products/hlpProduct.js +129 -0
- package/lib/cjs/products/index.d.ts +2 -0
- package/lib/cjs/products/index.js +23 -0
- package/lib/cjs/products/models/Product.d.ts +78 -0
- package/lib/cjs/products/models/ProductAgcy.d.ts +6 -0
- package/lib/cjs/products/models/ProductAmm.d.ts +10 -0
- package/lib/cjs/products/models/ProductBuy.d.ts +10 -0
- package/lib/cjs/products/models/ProductCat.d.ts +6 -0
- package/lib/cjs/products/models/ProductDci.d.ts +6 -0
- package/lib/cjs/products/models/ProductDepot.d.ts +9 -0
- package/lib/cjs/products/models/ProductDos.d.ts +5 -0
- package/lib/cjs/products/models/ProductFg.d.ts +5 -0
- package/lib/cjs/products/models/ProductIn.d.ts +8 -0
- package/lib/cjs/products/models/ProductInOut.d.ts +26 -0
- package/lib/cjs/products/models/ProductInventory.d.ts +8 -0
- package/lib/cjs/products/models/ProductLabo.d.ts +5 -0
- package/lib/cjs/products/models/ProductLoc.d.ts +7 -0
- package/lib/cjs/products/models/ProductMvt.d.ts +24 -0
- package/lib/cjs/products/models/ProductMvtInventory.d.ts +8 -0
- package/lib/cjs/products/models/ProductOutReason.d.ts +6 -0
- package/lib/cjs/products/models/ProductPromo.d.ts +15 -0
- package/lib/cjs/products/models/ProductPvd.d.ts +6 -0
- package/lib/cjs/products/models/ProductSof.d.ts +6 -0
- package/lib/cjs/products/models/ProductStore.d.ts +29 -0
- package/lib/cjs/products/models/ProductTcl.d.ts +10 -0
- package/lib/cjs/products/models/ProductTclGrp.d.ts +5 -0
- package/lib/cjs/products/models/ProductTransfert.d.ts +14 -0
- package/lib/cjs/products/models/ProductWanted.d.ts +8 -0
- package/lib/cjs/products/models/index.d.ts +25 -0
- package/lib/cjs/query-builder/hlpQbuilder.d.ts +7 -0
- package/lib/cjs/query-builder/hlpQbuilder.js +45 -0
- package/lib/cjs/query-builder/index.d.ts +1 -0
- package/lib/cjs/query-builder/index.js +8 -0
- package/lib/cjs/salaries/hlpSalary.d.ts +4 -3
- package/lib/cjs/salaries/hlpSalary.js +18 -5
- package/lib/cjs/salaries/index.d.ts +2 -4
- package/lib/cjs/salaries/index.js +17 -2
- package/lib/cjs/salaries/models/Salary.d.ts +7 -0
- package/lib/cjs/salaries/models/SalaryScale.d.ts +25 -0
- package/lib/cjs/salaries/models/index.d.ts +2 -0
- package/lib/cjs/sales/models/CartItem.d.ts +8 -0
- package/lib/cjs/sales/models/DeliveryProcess.d.ts +6 -0
- package/lib/cjs/sales/models/Sale.d.ts +55 -0
- package/lib/cjs/sales/models/SaleDelivery.d.ts +15 -0
- package/lib/cjs/sales/models/SaleInfo.d.ts +11 -0
- package/lib/cjs/sales/models/SaleItems.d.ts +8 -0
- package/lib/cjs/sales/models/SaleProduct.d.ts +26 -0
- package/lib/cjs/sales/models/SaleProductLot.d.ts +11 -0
- package/lib/cjs/sales/models/SaleProductQtityIssue.d.ts +9 -0
- package/lib/cjs/sales/models/SaleShop.d.ts +47 -0
- package/lib/cjs/sales/models/SaleTreatStatus.d.ts +7 -0
- package/lib/cjs/sales/models/SaleTreatStatus.js +10 -0
- package/lib/cjs/sales/models/ShopCart.d.ts +4 -0
- package/lib/cjs/sales/models/index.d.ts +12 -0
- package/lib/cjs/sales/models/index.js +8 -0
- package/lib/cjs/sales/sale.d.ts +19 -0
- package/lib/cjs/sales/sale.js +137 -0
- package/lib/cjs/services/authService.d.ts +1 -1
- package/lib/cjs/services/authService.js +3 -3
- package/lib/cjs/shared/EDate.d.ts +8 -0
- package/lib/cjs/shared/EDate.js +11 -0
- package/lib/cjs/shared/EInOutMotive.d.ts +13 -0
- package/lib/cjs/shared/EInOutMotive.js +16 -0
- package/lib/cjs/shared/EPayMethod.d.ts +6 -0
- package/lib/cjs/shared/EPayMethod.js +9 -0
- package/lib/cjs/shared/IParam.d.ts +26 -0
- package/lib/cjs/shared/IPath.d.ts +14 -0
- package/lib/cjs/shared/IPath.js +11 -0
- package/lib/cjs/shared/NaAc.d.ts +6 -0
- package/lib/cjs/shared/NaCoAc.d.ts +4 -0
- package/lib/cjs/shared/NaCoShortAc.d.ts +4 -0
- package/lib/cjs/shared/index.d.ts +6 -0
- package/lib/cjs/shared/index.js +8 -0
- package/lib/cjs/users/index.d.ts +1 -0
- package/lib/cjs/users/index.js +17 -0
- package/lib/cjs/users/models/Address.d.ts +13 -0
- package/lib/cjs/users/models/DutyPhcie.d.ts +11 -0
- package/lib/cjs/users/models/Gender.d.ts +6 -0
- package/lib/cjs/users/models/Leave.d.ts +14 -0
- package/lib/cjs/users/models/Ste.d.ts +16 -0
- package/lib/cjs/users/models/SteGrp.d.ts +7 -0
- package/lib/cjs/users/models/User.d.ts +44 -0
- package/lib/cjs/users/models/UserAbs.d.ts +31 -0
- package/lib/cjs/users/models/UserBase.d.ts +31 -0
- package/lib/cjs/users/models/UserCredit.d.ts +14 -0
- package/lib/cjs/users/models/UserGrp.d.ts +4 -0
- package/lib/cjs/users/models/UserNotatial.d.ts +9 -0
- package/lib/cjs/users/models/UserNote.d.ts +7 -0
- package/lib/cjs/users/models/UserOnline.d.ts +9 -0
- package/lib/cjs/users/models/UserRole.d.ts +5 -0
- package/lib/cjs/users/models/UserTitr.d.ts +5 -0
- package/lib/cjs/users/models/Zone.d.ts +11 -0
- package/lib/cjs/users/models/index.d.ts +16 -0
- package/lib/cjs/users/user.d.ts +46 -0
- package/lib/cjs/users/user.js +149 -0
- package/lib/cjs/utilities/index.d.ts +1 -0
- package/lib/cjs/utilities/index.js +17 -0
- package/lib/cjs/utilities/models/Todo.d.ts +9 -0
- package/lib/cjs/utilities/models/Vehicle.d.ts +8 -0
- package/lib/cjs/utilities/models/Wish.d.ts +14 -0
- package/lib/cjs/utilities/models/index.d.ts +3 -0
- package/lib/cjs/world/index.d.ts +1 -0
- package/lib/cjs/world/index.js +17 -0
- package/lib/cjs/world/models/City.d.ts +15 -0
- package/lib/cjs/world/models/Continent.d.ts +6 -0
- package/lib/cjs/world/models/Continent.js +2 -0
- package/lib/cjs/world/models/Country.d.ts +12 -0
- package/lib/cjs/world/models/Country.js +2 -0
- package/lib/cjs/world/models/Department.d.ts +10 -0
- package/lib/cjs/world/models/Department.js +2 -0
- package/lib/cjs/world/models/Quarter.d.ts +7 -0
- package/lib/cjs/world/models/Quarter.js +2 -0
- package/lib/cjs/world/models/Region.d.ts +9 -0
- package/lib/cjs/world/models/Region.js +2 -0
- package/lib/cjs/world/models/index.d.ts +6 -0
- package/lib/cjs/world/models/index.js +2 -0
- package/lib/esm/acts/index.d.ts +1 -0
- package/lib/esm/acts/index.js +1 -0
- package/lib/esm/acts/models/Act.d.ts +18 -0
- package/lib/esm/acts/models/ActCat.d.ts +4 -0
- package/lib/esm/acts/models/ActLine.d.ts +13 -0
- package/lib/esm/acts/models/index.d.ts +3 -0
- package/lib/esm/auth/auth.d.ts +28 -0
- package/lib/esm/auth/auth.js +62 -0
- package/lib/esm/auth/authService.d.ts +20 -0
- package/lib/esm/auth/authService.js +88 -0
- package/lib/esm/auth/index.d.ts +5 -0
- package/lib/esm/auth/index.js +5 -0
- package/lib/esm/auth/models/AuthTag.d.ts +6 -0
- package/lib/esm/auth/models/AuthTagCat.d.ts +5 -0
- package/lib/esm/auth/models/index.d.ts +2 -0
- package/lib/esm/auth/storageService.d.ts +7 -0
- package/lib/esm/auth/storageService.js +62 -0
- package/lib/esm/bills/bill.d.ts +20 -0
- package/lib/esm/bills/bill.js +58 -0
- package/lib/esm/bills/index.d.ts +2 -0
- package/lib/esm/bills/index.js +2 -0
- package/lib/esm/bills/models/Bill.d.ts +40 -0
- package/lib/esm/bills/models/BillLine.d.ts +9 -0
- package/lib/esm/bills/models/BillPayment.d.ts +21 -0
- package/lib/esm/bills/models/BillPaymentMethod.d.ts +5 -0
- package/lib/esm/bills/models/CBillPeriod.d.ts +5 -0
- package/lib/esm/bills/models/CBillPeriod.js +6 -0
- package/lib/esm/bills/models/EBillPeriod.d.ts +6 -0
- package/lib/esm/bills/models/EBillPeriod.js +7 -0
- package/lib/esm/bills/models/EPayMethod.d.ts +6 -0
- package/lib/esm/bills/models/EPayMethod.js +7 -0
- package/lib/esm/bills/models/index.d.ts +7 -0
- package/lib/esm/bills/models/index.js +3 -0
- package/lib/esm/bills/pipes/amount-on-bill-pipe.d.ts +6 -0
- package/lib/esm/bills/pipes/amount-on-bill-pipe.js +7 -0
- package/lib/esm/bills/pipes/amount-on-list-bill-pipe.d.ts +6 -0
- package/lib/esm/bills/pipes/amount-on-list-bill-pipe.js +16 -0
- package/lib/esm/bills/pipes/stock-pipe.d.ts +6 -0
- package/lib/esm/bills/pipes/stock-pipe.js +19 -0
- package/lib/esm/buys/index.d.ts +1 -0
- package/lib/esm/buys/index.js +1 -0
- package/lib/esm/buys/models/Buy.d.ts +19 -0
- package/lib/esm/buys/models/BuyCart.d.ts +4 -0
- package/lib/esm/buys/models/BuyItem.d.ts +5 -0
- package/lib/esm/buys/models/BuyItems.d.ts +6 -0
- package/lib/esm/buys/models/index.d.ts +4 -0
- package/lib/esm/cashs/index.d.ts +1 -0
- package/lib/esm/cashs/index.js +1 -0
- package/lib/esm/cashs/models/Bank.d.ts +4 -0
- package/lib/esm/cashs/models/BankAccount.d.ts +6 -0
- package/lib/esm/cashs/models/Currency.d.ts +10 -0
- package/lib/esm/cashs/models/Deposit.d.ts +12 -0
- package/lib/esm/cashs/models/Feed.d.ts +17 -0
- package/lib/esm/cashs/models/Spent.d.ts +14 -0
- package/lib/esm/cashs/models/index.d.ts +6 -0
- package/lib/esm/comptas/hlpEntry.d.ts +19 -0
- package/lib/esm/comptas/hlpEntry.js +116 -0
- package/lib/esm/comptas/index.d.ts +2 -0
- package/lib/esm/comptas/index.js +2 -0
- package/lib/esm/comptas/models/Entry.d.ts +31 -0
- package/lib/esm/comptas/models/EntryAccount.d.ts +5 -0
- package/lib/esm/comptas/models/EntryCat.d.ts +5 -0
- package/lib/esm/comptas/models/EntryLine.d.ts +23 -0
- package/lib/esm/comptas/models/index.d.ts +5 -0
- package/lib/esm/comptas/models/index.js +1 -0
- package/lib/esm/comptas/models/ohada/OhadaCat.d.ts +5 -0
- package/lib/esm/comptas/models/ohada/OhadaGrp.d.ts +5 -0
- package/lib/esm/comptas/models/ohada/OhadaPlan.d.ts +3 -0
- package/lib/esm/comptas/models/ohada/OhadaSubCat.d.ts +5 -0
- package/lib/esm/comptas/models/ohada/index.d.ts +4 -0
- package/lib/esm/docs/index.d.ts +1 -0
- package/lib/esm/docs/index.js +1 -0
- package/lib/esm/docs/models/Docu.d.ts +12 -0
- package/lib/esm/docs/models/DocuCat.d.ts +10 -0
- package/lib/esm/docs/models/Faq.d.ts +10 -0
- package/lib/esm/docs/models/FaqCat.d.ts +12 -0
- package/lib/esm/docs/models/Memo.d.ts +8 -0
- package/lib/esm/docs/models/MemoCat.d.ts +8 -0
- package/lib/esm/docs/models/index.d.ts +6 -0
- package/lib/esm/estates/hlpEstate.d.ts +2 -2
- package/lib/esm/estates/index.d.ts +3 -4
- package/lib/esm/estates/index.js +3 -4
- package/lib/esm/estates/models/Estate.d.ts +24 -0
- package/lib/esm/estates/models/EstateAsset.d.ts +7 -0
- package/lib/esm/estates/models/EstateCat.d.ts +3 -0
- package/lib/esm/estates/models/EstateElt.d.ts +3 -0
- package/lib/esm/estates/models/EstateLevel.d.ts +3 -0
- package/lib/esm/estates/models/EstatePor.d.ts +3 -0
- package/lib/esm/estates/models/Housing.d.ts +17 -0
- package/lib/esm/estates/models/HousingRented.d.ts +15 -0
- package/lib/esm/estates/models/index.d.ts +8 -0
- package/lib/esm/estates/pipes/estate-pipe.d.ts +1 -1
- package/lib/esm/estates/pipes/list-estate-pipe.d.ts +1 -1
- package/lib/esm/index.d.ts +9 -36
- package/lib/esm/index.js +78 -44
- package/lib/esm/mails/index.d.ts +1 -0
- package/lib/esm/mails/index.js +1 -0
- package/lib/esm/mails/models/Mail.d.ts +9 -0
- package/lib/esm/mails/models/MailMass.d.ts +8 -0
- package/lib/esm/mails/models/MsgAlert.d.ts +9 -0
- package/lib/esm/mails/models/MsgChat.d.ts +4 -0
- package/lib/esm/mails/models/index.d.ts +4 -0
- package/lib/esm/models/bills/Bill.d.ts +1 -1
- package/lib/esm/models/users/UserNotatial.d.ts +2 -2
- package/lib/esm/pdfs/invoices/amountInvoice.d.ts +2 -2
- package/lib/esm/pdfs/invoices/amountInvoice.js +2 -2
- package/lib/esm/pdfs/invoices/infoInvoice.d.ts +2 -2
- package/lib/esm/pdfs/invoices/infoInvoice.js +2 -2
- package/lib/esm/pdfs/tools/tools.d.ts +9 -3
- package/lib/esm/pdfs/tools/tools.js +1 -1
- package/lib/esm/product.d.ts +2 -2
- package/lib/esm/product.js +1 -1
- package/lib/esm/products/hlpProduct.d.ts +18 -0
- package/lib/esm/products/hlpProduct.js +127 -0
- package/lib/esm/products/index.d.ts +2 -0
- package/lib/esm/products/index.js +2 -0
- package/lib/esm/products/models/Product.d.ts +78 -0
- package/lib/esm/products/models/ProductAgcy.d.ts +6 -0
- package/lib/esm/products/models/ProductAmm.d.ts +10 -0
- package/lib/esm/products/models/ProductBuy.d.ts +10 -0
- package/lib/esm/products/models/ProductCat.d.ts +6 -0
- package/lib/esm/products/models/ProductDci.d.ts +6 -0
- package/lib/esm/products/models/ProductDepot.d.ts +9 -0
- package/lib/esm/products/models/ProductDos.d.ts +5 -0
- package/lib/esm/products/models/ProductFg.d.ts +5 -0
- package/lib/esm/products/models/ProductIn.d.ts +8 -0
- package/lib/esm/products/models/ProductInOut.d.ts +26 -0
- package/lib/esm/products/models/ProductInventory.d.ts +8 -0
- package/lib/esm/products/models/ProductLabo.d.ts +5 -0
- package/lib/esm/products/models/ProductLoc.d.ts +7 -0
- package/lib/esm/products/models/ProductMvt.d.ts +24 -0
- package/lib/esm/products/models/ProductMvtInventory.d.ts +8 -0
- package/lib/esm/products/models/ProductOutReason.d.ts +6 -0
- package/lib/esm/products/models/ProductPromo.d.ts +15 -0
- package/lib/esm/products/models/ProductPvd.d.ts +6 -0
- package/lib/esm/products/models/ProductSof.d.ts +6 -0
- package/lib/esm/products/models/ProductStore.d.ts +29 -0
- package/lib/esm/products/models/ProductTcl.d.ts +10 -0
- package/lib/esm/products/models/ProductTclGrp.d.ts +5 -0
- package/lib/esm/products/models/ProductTransfert.d.ts +14 -0
- package/lib/esm/products/models/ProductWanted.d.ts +8 -0
- package/lib/esm/products/models/index.d.ts +25 -0
- package/lib/esm/query-builder/hlpQbuilder.d.ts +7 -0
- package/lib/esm/query-builder/hlpQbuilder.js +43 -0
- package/lib/esm/query-builder/index.d.ts +1 -0
- package/lib/esm/query-builder/index.js +1 -0
- package/lib/esm/salaries/hlpSalary.d.ts +4 -3
- package/lib/esm/salaries/hlpSalary.js +18 -5
- package/lib/esm/salaries/index.d.ts +2 -4
- package/lib/esm/salaries/index.js +2 -2
- package/lib/esm/salaries/models/Salary.d.ts +7 -0
- package/lib/esm/salaries/models/SalaryScale.d.ts +25 -0
- package/lib/esm/salaries/models/index.d.ts +2 -0
- package/lib/esm/sales/models/CartItem.d.ts +8 -0
- package/lib/esm/sales/models/DeliveryProcess.d.ts +6 -0
- package/lib/esm/sales/models/Sale.d.ts +55 -0
- package/lib/esm/sales/models/SaleDelivery.d.ts +15 -0
- package/lib/esm/sales/models/SaleInfo.d.ts +11 -0
- package/lib/esm/sales/models/SaleItems.d.ts +8 -0
- package/lib/esm/sales/models/SaleProduct.d.ts +26 -0
- package/lib/esm/sales/models/SaleProductLot.d.ts +11 -0
- package/lib/esm/sales/models/SaleProductQtityIssue.d.ts +9 -0
- package/lib/esm/sales/models/SaleShop.d.ts +47 -0
- package/lib/esm/sales/models/SaleTreatStatus.d.ts +7 -0
- package/lib/esm/sales/models/SaleTreatStatus.js +8 -0
- package/lib/esm/sales/models/ShopCart.d.ts +4 -0
- package/lib/esm/sales/models/index.d.ts +12 -0
- package/lib/esm/sales/models/index.js +1 -0
- package/lib/esm/sales/sale.d.ts +19 -0
- package/lib/esm/sales/sale.js +116 -0
- package/lib/esm/services/authService.d.ts +1 -1
- package/lib/esm/services/authService.js +1 -1
- package/lib/esm/shared/EDate.d.ts +8 -0
- package/lib/esm/shared/EDate.js +9 -0
- package/lib/esm/shared/EInOutMotive.d.ts +13 -0
- package/lib/esm/shared/EInOutMotive.js +14 -0
- package/lib/esm/shared/EPayMethod.d.ts +6 -0
- package/lib/esm/shared/EPayMethod.js +7 -0
- package/lib/esm/shared/IParam.d.ts +26 -0
- package/lib/esm/shared/IPath.d.ts +14 -0
- package/lib/esm/shared/IPath.js +10 -0
- package/lib/esm/shared/NaAc.d.ts +6 -0
- package/lib/esm/shared/NaCoAc.d.ts +4 -0
- package/lib/esm/shared/NaCoShortAc.d.ts +4 -0
- package/lib/esm/shared/index.d.ts +6 -0
- package/lib/esm/shared/index.js +1 -0
- package/lib/esm/users/index.d.ts +1 -0
- package/lib/esm/users/index.js +1 -0
- package/lib/esm/users/models/Address.d.ts +13 -0
- package/lib/esm/users/models/DutyPhcie.d.ts +11 -0
- package/lib/esm/users/models/Gender.d.ts +6 -0
- package/lib/esm/users/models/Leave.d.ts +14 -0
- package/lib/esm/users/models/Ste.d.ts +16 -0
- package/lib/esm/users/models/SteGrp.d.ts +7 -0
- package/lib/esm/users/models/User.d.ts +44 -0
- package/lib/esm/users/models/UserAbs.d.ts +31 -0
- package/lib/esm/users/models/UserBase.d.ts +31 -0
- package/lib/esm/users/models/UserCredit.d.ts +14 -0
- package/lib/esm/users/models/UserGrp.d.ts +4 -0
- package/lib/esm/users/models/UserNotatial.d.ts +9 -0
- package/lib/esm/users/models/UserNote.d.ts +7 -0
- package/lib/esm/users/models/UserOnline.d.ts +9 -0
- package/lib/esm/users/models/UserRole.d.ts +5 -0
- package/lib/esm/users/models/UserTitr.d.ts +5 -0
- package/lib/esm/users/models/Zone.d.ts +11 -0
- package/lib/esm/users/models/index.d.ts +16 -0
- package/lib/esm/users/user.d.ts +46 -0
- package/lib/esm/users/user.js +106 -0
- package/lib/esm/utilities/index.d.ts +1 -0
- package/lib/esm/utilities/index.js +1 -0
- package/lib/esm/utilities/models/Todo.d.ts +9 -0
- package/lib/esm/utilities/models/Vehicle.d.ts +8 -0
- package/lib/esm/utilities/models/Wish.d.ts +14 -0
- package/lib/esm/utilities/models/index.d.ts +3 -0
- package/lib/esm/world/index.d.ts +1 -0
- package/lib/esm/world/index.js +1 -0
- package/lib/esm/world/models/City.d.ts +15 -0
- package/lib/esm/world/models/Continent.d.ts +6 -0
- package/lib/esm/world/models/Continent.js +1 -0
- package/lib/esm/world/models/Country.d.ts +12 -0
- package/lib/esm/world/models/Country.js +1 -0
- package/lib/esm/world/models/Department.d.ts +10 -0
- package/lib/esm/world/models/Department.js +1 -0
- package/lib/esm/world/models/Quarter.d.ts +7 -0
- package/lib/esm/world/models/Quarter.js +1 -0
- package/lib/esm/world/models/Region.d.ts +9 -0
- package/lib/esm/world/models/Region.js +1 -0
- package/lib/esm/world/models/index.d.ts +6 -0
- package/lib/esm/world/models/index.js +1 -0
- package/package.json +13 -13
- package/lib/cjs/auth-copy.d.ts +0 -16
- package/lib/cjs/auth-copy.js +0 -86
- package/lib/cjs/core/estates/hlpEstate.d.ts +0 -11
- package/lib/cjs/core/estates/hlpEstate.js +0 -37
- package/lib/cjs/core/estates/index.d.ts +0 -4
- package/lib/cjs/core/estates/index.js +0 -26
- package/lib/cjs/core/estates/models/Estate.d.ts +0 -24
- package/lib/cjs/core/estates/models/EstateAsset.d.ts +0 -7
- package/lib/cjs/core/estates/models/EstateCat.d.ts +0 -3
- package/lib/cjs/core/estates/models/EstateElt.d.ts +0 -3
- package/lib/cjs/core/estates/models/EstateLevel.d.ts +0 -3
- package/lib/cjs/core/estates/models/EstatePor.d.ts +0 -3
- package/lib/cjs/core/estates/models/Housing.d.ts +0 -17
- package/lib/cjs/core/estates/models/HousingRented.d.ts +0 -15
- package/lib/cjs/core/estates/models/index.d.ts +0 -9
- package/lib/cjs/core/estates/pipes/estate-pipe.d.ts +0 -6
- package/lib/cjs/core/estates/pipes/estate-pipe.js +0 -17
- package/lib/cjs/core/estates/pipes/list-estate-pipe.d.ts +0 -6
- package/lib/cjs/core/estates/pipes/list-estate-pipe.js +0 -17
- package/lib/cjs/models/entities/acts/Act.d.ts +0 -18
- package/lib/cjs/models/entities/acts/ActCat.d.ts +0 -4
- package/lib/cjs/models/entities/acts/ActLine.d.ts +0 -13
- package/lib/cjs/models/entities/acts/index.d.ts +0 -4
- package/lib/cjs/models/entities/auth/AuthTag.d.ts +0 -6
- package/lib/cjs/models/entities/auth/AuthTagCat.d.ts +0 -5
- package/lib/cjs/models/entities/auth/index.d.ts +0 -3
- package/lib/cjs/models/entities/bills/Bill.d.ts +0 -40
- package/lib/cjs/models/entities/bills/BillLine.d.ts +0 -9
- package/lib/cjs/models/entities/bills/BillPayment.d.ts +0 -21
- package/lib/cjs/models/entities/bills/BillPaymentMethod.d.ts +0 -5
- package/lib/cjs/models/entities/bills/CBillPeriod.d.ts +0 -4
- package/lib/cjs/models/entities/bills/CBillPeriod.js +0 -8
- package/lib/cjs/models/entities/bills/EBillPeriod.d.ts +0 -5
- package/lib/cjs/models/entities/bills/EBillPeriod.js +0 -9
- package/lib/cjs/models/entities/bills/EPayMethod.d.ts +0 -5
- package/lib/cjs/models/entities/bills/EPayMethod.js +0 -9
- package/lib/cjs/models/entities/bills/index.d.ts +0 -8
- package/lib/cjs/models/entities/bills/index.js +0 -9
- package/lib/cjs/models/entities/buys/Buy.d.ts +0 -19
- package/lib/cjs/models/entities/buys/BuyCart.d.ts +0 -4
- package/lib/cjs/models/entities/buys/BuyItem.d.ts +0 -5
- package/lib/cjs/models/entities/buys/BuyItems.d.ts +0 -6
- package/lib/cjs/models/entities/buys/BuyItems.js +0 -6
- package/lib/cjs/models/entities/buys/index.d.ts +0 -5
- package/lib/cjs/models/entities/buys/index.js +0 -5
- package/lib/cjs/models/entities/cashs/Account.d.ts +0 -6
- package/lib/cjs/models/entities/cashs/Bank.d.ts +0 -4
- package/lib/cjs/models/entities/cashs/Currency.d.ts +0 -10
- package/lib/cjs/models/entities/cashs/Deposit.d.ts +0 -12
- package/lib/cjs/models/entities/cashs/Feed.d.ts +0 -17
- package/lib/cjs/models/entities/cashs/Spent.d.ts +0 -14
- package/lib/cjs/models/entities/cashs/index.d.ts +0 -7
- package/lib/cjs/models/entities/comptas/Entry.d.ts +0 -31
- package/lib/cjs/models/entities/comptas/EntryAccount.d.ts +0 -5
- package/lib/cjs/models/entities/comptas/EntryCat.d.ts +0 -5
- package/lib/cjs/models/entities/comptas/EntryLine.d.ts +0 -23
- package/lib/cjs/models/entities/comptas/OhadaCat.d.ts +0 -5
- package/lib/cjs/models/entities/comptas/OhadaGrp.d.ts +0 -5
- package/lib/cjs/models/entities/comptas/OhadaPlan.d.ts +0 -3
- package/lib/cjs/models/entities/comptas/OhadaSubCat.d.ts +0 -5
- package/lib/cjs/models/entities/comptas/index.d.ts +0 -9
- package/lib/cjs/models/entities/docs/Docu.d.ts +0 -12
- package/lib/cjs/models/entities/docs/DocuCat.d.ts +0 -10
- package/lib/cjs/models/entities/docs/Faq.d.ts +0 -10
- package/lib/cjs/models/entities/docs/FaqCat.d.ts +0 -12
- package/lib/cjs/models/entities/docs/Memo.d.ts +0 -8
- package/lib/cjs/models/entities/docs/MemoCat.d.ts +0 -8
- package/lib/cjs/models/entities/docs/index.d.ts +0 -7
- package/lib/cjs/models/entities/estates/Estate.d.ts +0 -24
- package/lib/cjs/models/entities/estates/EstateAsset.d.ts +0 -7
- package/lib/cjs/models/entities/estates/EstateCat.d.ts +0 -3
- package/lib/cjs/models/entities/estates/EstateElt.d.ts +0 -3
- package/lib/cjs/models/entities/estates/EstateLevel.d.ts +0 -3
- package/lib/cjs/models/entities/estates/EstatePor.d.ts +0 -3
- package/lib/cjs/models/entities/estates/Housing.d.ts +0 -17
- package/lib/cjs/models/entities/estates/HousingRented.d.ts +0 -15
- package/lib/cjs/models/entities/estates/index.d.ts +0 -9
- package/lib/cjs/models/entities/mails/Mail.d.ts +0 -9
- package/lib/cjs/models/entities/mails/MailMass.d.ts +0 -8
- package/lib/cjs/models/entities/mails/MsgAlert.d.ts +0 -9
- package/lib/cjs/models/entities/mails/MsgChat.d.ts +0 -4
- package/lib/cjs/models/entities/mails/index.d.ts +0 -5
- package/lib/cjs/models/entities/products/Product.d.ts +0 -78
- package/lib/cjs/models/entities/products/ProductAgcy.d.ts +0 -6
- package/lib/cjs/models/entities/products/ProductAmm.d.ts +0 -10
- package/lib/cjs/models/entities/products/ProductBuy.d.ts +0 -10
- package/lib/cjs/models/entities/products/ProductCat.d.ts +0 -6
- package/lib/cjs/models/entities/products/ProductDci.d.ts +0 -6
- package/lib/cjs/models/entities/products/ProductDepot.d.ts +0 -9
- package/lib/cjs/models/entities/products/ProductDos.d.ts +0 -5
- package/lib/cjs/models/entities/products/ProductFg.d.ts +0 -5
- package/lib/cjs/models/entities/products/ProductIn.d.ts +0 -8
- package/lib/cjs/models/entities/products/ProductInOut.d.ts +0 -26
- package/lib/cjs/models/entities/products/ProductInventory.d.ts +0 -8
- package/lib/cjs/models/entities/products/ProductLabo.d.ts +0 -5
- package/lib/cjs/models/entities/products/ProductLoc.d.ts +0 -7
- package/lib/cjs/models/entities/products/ProductMvt.d.ts +0 -24
- package/lib/cjs/models/entities/products/ProductMvtInventory.d.ts +0 -8
- package/lib/cjs/models/entities/products/ProductOutReason.d.ts +0 -6
- package/lib/cjs/models/entities/products/ProductPromo.d.ts +0 -15
- package/lib/cjs/models/entities/products/ProductPromo.js +0 -6
- package/lib/cjs/models/entities/products/ProductPvd.d.ts +0 -6
- package/lib/cjs/models/entities/products/ProductSof.d.ts +0 -6
- package/lib/cjs/models/entities/products/ProductStore.d.ts +0 -29
- package/lib/cjs/models/entities/products/ProductTcl.d.ts +0 -10
- package/lib/cjs/models/entities/products/ProductTclGrp.d.ts +0 -8
- package/lib/cjs/models/entities/products/ProductTransfert.d.ts +0 -14
- package/lib/cjs/models/entities/products/ProductWanted.d.ts +0 -8
- package/lib/cjs/models/entities/products/index.d.ts +0 -26
- package/lib/cjs/models/entities/products/index.js +0 -5
- package/lib/cjs/models/entities/sales/CartItem.d.ts +0 -8
- package/lib/cjs/models/entities/sales/DeliveryProcess.d.ts +0 -6
- package/lib/cjs/models/entities/sales/Sale.d.ts +0 -55
- package/lib/cjs/models/entities/sales/SaleDelivery.d.ts +0 -15
- package/lib/cjs/models/entities/sales/SaleInfo.d.ts +0 -11
- package/lib/cjs/models/entities/sales/SaleItems.d.ts +0 -8
- package/lib/cjs/models/entities/sales/SaleItems.js +0 -6
- package/lib/cjs/models/entities/sales/SaleProduct.d.ts +0 -26
- package/lib/cjs/models/entities/sales/SaleProduct.js +0 -6
- package/lib/cjs/models/entities/sales/SaleProductLot.d.ts +0 -11
- package/lib/cjs/models/entities/sales/SaleProductLot.js +0 -6
- package/lib/cjs/models/entities/sales/SaleProductQtityIssue.d.ts +0 -9
- package/lib/cjs/models/entities/sales/SaleShop.d.ts +0 -47
- package/lib/cjs/models/entities/sales/SaleShop.js +0 -6
- package/lib/cjs/models/entities/sales/ShopCart.d.ts +0 -4
- package/lib/cjs/models/entities/sales/ShopCart.js +0 -9
- package/lib/cjs/models/entities/sales/enums/SaleTreatStatus.d.ts +0 -6
- package/lib/cjs/models/entities/sales/enums/SaleTreatStatus.js +0 -10
- package/lib/cjs/models/entities/sales/index.d.ts +0 -13
- package/lib/cjs/models/entities/sales/index.js +0 -15
- package/lib/cjs/models/entities/users/Address.d.ts +0 -13
- package/lib/cjs/models/entities/users/DutyPhcie.d.ts +0 -11
- package/lib/cjs/models/entities/users/Gender.d.ts +0 -6
- package/lib/cjs/models/entities/users/Leave.d.ts +0 -14
- package/lib/cjs/models/entities/users/Ste.d.ts +0 -16
- package/lib/cjs/models/entities/users/SteGrp.d.ts +0 -7
- package/lib/cjs/models/entities/users/User.d.ts +0 -44
- package/lib/cjs/models/entities/users/UserAbs.d.ts +0 -31
- package/lib/cjs/models/entities/users/UserBase.d.ts +0 -31
- package/lib/cjs/models/entities/users/UserCredit.d.ts +0 -14
- package/lib/cjs/models/entities/users/UserCredit.js +0 -6
- package/lib/cjs/models/entities/users/UserGrp.d.ts +0 -4
- package/lib/cjs/models/entities/users/UserNotatial.d.ts +0 -9
- package/lib/cjs/models/entities/users/UserNote.d.ts +0 -7
- package/lib/cjs/models/entities/users/UserOnline.d.ts +0 -9
- package/lib/cjs/models/entities/users/UserRole.d.ts +0 -5
- package/lib/cjs/models/entities/users/UserTitr.d.ts +0 -5
- package/lib/cjs/models/entities/users/Zone.d.ts +0 -11
- package/lib/cjs/models/entities/users/index.d.ts +0 -17
- package/lib/cjs/models/entities/users/index.js +0 -5
- package/lib/cjs/models/entities/utilities/Todo.d.ts +0 -9
- package/lib/cjs/models/entities/utilities/Todo.js +0 -6
- package/lib/cjs/models/entities/utilities/Vehicle.d.ts +0 -8
- package/lib/cjs/models/entities/utilities/Wish.d.ts +0 -14
- package/lib/cjs/models/entities/utilities/Wish.js +0 -6
- package/lib/cjs/models/entities/utilities/index.d.ts +0 -4
- package/lib/cjs/models/entities/utilities/index.js +0 -7
- package/lib/cjs/models/entities/world/City.d.ts +0 -15
- package/lib/cjs/models/entities/world/City.js +0 -6
- package/lib/cjs/models/entities/world/Continent.d.ts +0 -6
- package/lib/cjs/models/entities/world/Continent.js +0 -6
- package/lib/cjs/models/entities/world/Country.d.ts +0 -12
- package/lib/cjs/models/entities/world/Department.d.ts +0 -10
- package/lib/cjs/models/entities/world/Quarter.d.ts +0 -7
- package/lib/cjs/models/entities/world/Region.d.ts +0 -9
- package/lib/cjs/models/entities/world/Region.js +0 -6
- package/lib/cjs/models/entities/world/index.d.ts +0 -7
- package/lib/cjs/models/entities/world/index.js +0 -9
- package/lib/cjs/models/estates/Estate.d.ts +0 -24
- package/lib/cjs/models/estates/EstateAsset.d.ts +0 -7
- package/lib/cjs/models/estates/EstateCat.d.ts +0 -3
- package/lib/cjs/models/estates/EstateElt.d.ts +0 -3
- package/lib/cjs/models/estates/EstateLevel.d.ts +0 -3
- package/lib/cjs/models/estates/EstatePor.d.ts +0 -3
- package/lib/cjs/models/estates/Housing.d.ts +0 -17
- package/lib/cjs/models/estates/HousingRented.d.ts +0 -15
- package/lib/cjs/models/estates/index.d.ts +0 -9
- package/lib/cjs/models/types/Type.d.ts +0 -24
- package/lib/cjs/services/capacitorStorageService.d.ts +0 -0
- package/lib/cjs/services/capacitorStorageService.js +0 -16
- package/lib/esm/auth-copy.d.ts +0 -16
- package/lib/esm/auth-copy.js +0 -83
- package/lib/esm/core/estates/hlpEstate.d.ts +0 -11
- package/lib/esm/core/estates/hlpEstate.js +0 -35
- package/lib/esm/core/estates/index.d.ts +0 -4
- package/lib/esm/core/estates/index.js +0 -4
- package/lib/esm/core/estates/models/Estate.d.ts +0 -24
- package/lib/esm/core/estates/models/EstateAsset.d.ts +0 -7
- package/lib/esm/core/estates/models/EstateCat.d.ts +0 -3
- package/lib/esm/core/estates/models/EstateElt.d.ts +0 -3
- package/lib/esm/core/estates/models/EstateLevel.d.ts +0 -3
- package/lib/esm/core/estates/models/EstatePor.d.ts +0 -3
- package/lib/esm/core/estates/models/Housing.d.ts +0 -17
- package/lib/esm/core/estates/models/HousingRented.d.ts +0 -15
- package/lib/esm/core/estates/models/index.d.ts +0 -9
- package/lib/esm/core/estates/pipes/estate-pipe.d.ts +0 -6
- package/lib/esm/core/estates/pipes/estate-pipe.js +0 -12
- package/lib/esm/core/estates/pipes/list-estate-pipe.d.ts +0 -6
- package/lib/esm/core/estates/pipes/list-estate-pipe.js +0 -12
- package/lib/esm/models/entities/acts/Act.d.ts +0 -18
- package/lib/esm/models/entities/acts/ActCat.d.ts +0 -4
- package/lib/esm/models/entities/acts/ActLine.d.ts +0 -13
- package/lib/esm/models/entities/acts/index.d.ts +0 -4
- package/lib/esm/models/entities/auth/AuthTag.d.ts +0 -6
- package/lib/esm/models/entities/auth/AuthTagCat.d.ts +0 -5
- package/lib/esm/models/entities/auth/index.d.ts +0 -3
- package/lib/esm/models/entities/bills/Bill.d.ts +0 -40
- package/lib/esm/models/entities/bills/BillLine.d.ts +0 -9
- package/lib/esm/models/entities/bills/BillPayment.d.ts +0 -21
- package/lib/esm/models/entities/bills/BillPaymentMethod.d.ts +0 -5
- package/lib/esm/models/entities/bills/CBillPeriod.d.ts +0 -4
- package/lib/esm/models/entities/bills/CBillPeriod.js +0 -5
- package/lib/esm/models/entities/bills/EBillPeriod.d.ts +0 -5
- package/lib/esm/models/entities/bills/EBillPeriod.js +0 -6
- package/lib/esm/models/entities/bills/EPayMethod.d.ts +0 -5
- package/lib/esm/models/entities/bills/EPayMethod.js +0 -6
- package/lib/esm/models/entities/bills/index.d.ts +0 -8
- package/lib/esm/models/entities/bills/index.js +0 -4
- package/lib/esm/models/entities/buys/Buy.d.ts +0 -19
- package/lib/esm/models/entities/buys/BuyCart.d.ts +0 -4
- package/lib/esm/models/entities/buys/BuyItem.d.ts +0 -5
- package/lib/esm/models/entities/buys/BuyItems.d.ts +0 -6
- package/lib/esm/models/entities/buys/BuyItems.js +0 -2
- package/lib/esm/models/entities/buys/index.d.ts +0 -5
- package/lib/esm/models/entities/buys/index.js +0 -2
- package/lib/esm/models/entities/cashs/Account.d.ts +0 -6
- package/lib/esm/models/entities/cashs/Bank.d.ts +0 -4
- package/lib/esm/models/entities/cashs/Currency.d.ts +0 -10
- package/lib/esm/models/entities/cashs/Deposit.d.ts +0 -12
- package/lib/esm/models/entities/cashs/Feed.d.ts +0 -17
- package/lib/esm/models/entities/cashs/Spent.d.ts +0 -14
- package/lib/esm/models/entities/cashs/index.d.ts +0 -7
- package/lib/esm/models/entities/comptas/Entry.d.ts +0 -31
- package/lib/esm/models/entities/comptas/EntryAccount.d.ts +0 -5
- package/lib/esm/models/entities/comptas/EntryCat.d.ts +0 -5
- package/lib/esm/models/entities/comptas/EntryLine.d.ts +0 -23
- package/lib/esm/models/entities/comptas/OhadaCat.d.ts +0 -5
- package/lib/esm/models/entities/comptas/OhadaGrp.d.ts +0 -5
- package/lib/esm/models/entities/comptas/OhadaPlan.d.ts +0 -3
- package/lib/esm/models/entities/comptas/OhadaSubCat.d.ts +0 -5
- package/lib/esm/models/entities/comptas/index.d.ts +0 -9
- package/lib/esm/models/entities/docs/Docu.d.ts +0 -12
- package/lib/esm/models/entities/docs/DocuCat.d.ts +0 -10
- package/lib/esm/models/entities/docs/Faq.d.ts +0 -10
- package/lib/esm/models/entities/docs/FaqCat.d.ts +0 -12
- package/lib/esm/models/entities/docs/Memo.d.ts +0 -8
- package/lib/esm/models/entities/docs/MemoCat.d.ts +0 -8
- package/lib/esm/models/entities/docs/index.d.ts +0 -7
- package/lib/esm/models/entities/estates/Estate.d.ts +0 -24
- package/lib/esm/models/entities/estates/EstateAsset.d.ts +0 -7
- package/lib/esm/models/entities/estates/EstateCat.d.ts +0 -3
- package/lib/esm/models/entities/estates/EstateElt.d.ts +0 -3
- package/lib/esm/models/entities/estates/EstateLevel.d.ts +0 -3
- package/lib/esm/models/entities/estates/EstatePor.d.ts +0 -3
- package/lib/esm/models/entities/estates/Housing.d.ts +0 -17
- package/lib/esm/models/entities/estates/HousingRented.d.ts +0 -15
- package/lib/esm/models/entities/estates/index.d.ts +0 -9
- package/lib/esm/models/entities/mails/Mail.d.ts +0 -9
- package/lib/esm/models/entities/mails/MailMass.d.ts +0 -8
- package/lib/esm/models/entities/mails/MsgAlert.d.ts +0 -9
- package/lib/esm/models/entities/mails/MsgChat.d.ts +0 -4
- package/lib/esm/models/entities/mails/index.d.ts +0 -5
- package/lib/esm/models/entities/products/Product.d.ts +0 -78
- package/lib/esm/models/entities/products/ProductAgcy.d.ts +0 -6
- package/lib/esm/models/entities/products/ProductAmm.d.ts +0 -10
- package/lib/esm/models/entities/products/ProductBuy.d.ts +0 -10
- package/lib/esm/models/entities/products/ProductCat.d.ts +0 -6
- package/lib/esm/models/entities/products/ProductDci.d.ts +0 -6
- package/lib/esm/models/entities/products/ProductDepot.d.ts +0 -9
- package/lib/esm/models/entities/products/ProductDos.d.ts +0 -5
- package/lib/esm/models/entities/products/ProductFg.d.ts +0 -5
- package/lib/esm/models/entities/products/ProductIn.d.ts +0 -8
- package/lib/esm/models/entities/products/ProductInOut.d.ts +0 -26
- package/lib/esm/models/entities/products/ProductInventory.d.ts +0 -8
- package/lib/esm/models/entities/products/ProductLabo.d.ts +0 -5
- package/lib/esm/models/entities/products/ProductLoc.d.ts +0 -7
- package/lib/esm/models/entities/products/ProductMvt.d.ts +0 -24
- package/lib/esm/models/entities/products/ProductMvtInventory.d.ts +0 -8
- package/lib/esm/models/entities/products/ProductOutReason.d.ts +0 -6
- package/lib/esm/models/entities/products/ProductPromo.d.ts +0 -15
- package/lib/esm/models/entities/products/ProductPromo.js +0 -2
- package/lib/esm/models/entities/products/ProductPvd.d.ts +0 -6
- package/lib/esm/models/entities/products/ProductSof.d.ts +0 -6
- package/lib/esm/models/entities/products/ProductStore.d.ts +0 -29
- package/lib/esm/models/entities/products/ProductTcl.d.ts +0 -10
- package/lib/esm/models/entities/products/ProductTclGrp.d.ts +0 -8
- package/lib/esm/models/entities/products/ProductTransfert.d.ts +0 -14
- package/lib/esm/models/entities/products/ProductWanted.d.ts +0 -8
- package/lib/esm/models/entities/products/index.d.ts +0 -26
- package/lib/esm/models/entities/products/index.js +0 -2
- package/lib/esm/models/entities/sales/CartItem.d.ts +0 -8
- package/lib/esm/models/entities/sales/DeliveryProcess.d.ts +0 -6
- package/lib/esm/models/entities/sales/Sale.d.ts +0 -55
- package/lib/esm/models/entities/sales/SaleDelivery.d.ts +0 -15
- package/lib/esm/models/entities/sales/SaleInfo.d.ts +0 -11
- package/lib/esm/models/entities/sales/SaleItems.d.ts +0 -8
- package/lib/esm/models/entities/sales/SaleItems.js +0 -2
- package/lib/esm/models/entities/sales/SaleProduct.d.ts +0 -26
- package/lib/esm/models/entities/sales/SaleProduct.js +0 -2
- package/lib/esm/models/entities/sales/SaleProductLot.d.ts +0 -11
- package/lib/esm/models/entities/sales/SaleProductLot.js +0 -2
- package/lib/esm/models/entities/sales/SaleProductQtityIssue.d.ts +0 -9
- package/lib/esm/models/entities/sales/SaleShop.d.ts +0 -47
- package/lib/esm/models/entities/sales/SaleShop.js +0 -2
- package/lib/esm/models/entities/sales/ShopCart.d.ts +0 -4
- package/lib/esm/models/entities/sales/ShopCart.js +0 -5
- package/lib/esm/models/entities/sales/enums/SaleTreatStatus.d.ts +0 -6
- package/lib/esm/models/entities/sales/enums/SaleTreatStatus.js +0 -7
- package/lib/esm/models/entities/sales/index.d.ts +0 -13
- package/lib/esm/models/entities/sales/index.js +0 -7
- package/lib/esm/models/entities/users/Address.d.ts +0 -13
- package/lib/esm/models/entities/users/DutyPhcie.d.ts +0 -11
- package/lib/esm/models/entities/users/Gender.d.ts +0 -6
- package/lib/esm/models/entities/users/Leave.d.ts +0 -14
- package/lib/esm/models/entities/users/Ste.d.ts +0 -16
- package/lib/esm/models/entities/users/SteGrp.d.ts +0 -7
- package/lib/esm/models/entities/users/User.d.ts +0 -44
- package/lib/esm/models/entities/users/UserAbs.d.ts +0 -31
- package/lib/esm/models/entities/users/UserBase.d.ts +0 -31
- package/lib/esm/models/entities/users/UserCredit.d.ts +0 -14
- package/lib/esm/models/entities/users/UserCredit.js +0 -2
- package/lib/esm/models/entities/users/UserGrp.d.ts +0 -4
- package/lib/esm/models/entities/users/UserNotatial.d.ts +0 -9
- package/lib/esm/models/entities/users/UserNote.d.ts +0 -7
- package/lib/esm/models/entities/users/UserOnline.d.ts +0 -9
- package/lib/esm/models/entities/users/UserRole.d.ts +0 -5
- package/lib/esm/models/entities/users/UserTitr.d.ts +0 -5
- package/lib/esm/models/entities/users/Zone.d.ts +0 -11
- package/lib/esm/models/entities/users/index.d.ts +0 -17
- package/lib/esm/models/entities/users/index.js +0 -2
- package/lib/esm/models/entities/utilities/Todo.d.ts +0 -9
- package/lib/esm/models/entities/utilities/Todo.js +0 -2
- package/lib/esm/models/entities/utilities/Vehicle.d.ts +0 -8
- package/lib/esm/models/entities/utilities/Wish.d.ts +0 -14
- package/lib/esm/models/entities/utilities/Wish.js +0 -2
- package/lib/esm/models/entities/utilities/index.d.ts +0 -4
- package/lib/esm/models/entities/utilities/index.js +0 -3
- package/lib/esm/models/entities/world/City.d.ts +0 -15
- package/lib/esm/models/entities/world/City.js +0 -2
- package/lib/esm/models/entities/world/Continent.d.ts +0 -6
- package/lib/esm/models/entities/world/Continent.js +0 -2
- package/lib/esm/models/entities/world/Country.d.ts +0 -12
- package/lib/esm/models/entities/world/Department.d.ts +0 -10
- package/lib/esm/models/entities/world/Quarter.d.ts +0 -7
- package/lib/esm/models/entities/world/Region.d.ts +0 -9
- package/lib/esm/models/entities/world/Region.js +0 -2
- package/lib/esm/models/entities/world/index.d.ts +0 -7
- package/lib/esm/models/entities/world/index.js +0 -4
- package/lib/esm/models/estates/Estate.d.ts +0 -24
- package/lib/esm/models/estates/EstateAsset.d.ts +0 -7
- package/lib/esm/models/estates/EstateCat.d.ts +0 -3
- package/lib/esm/models/estates/EstateElt.d.ts +0 -3
- package/lib/esm/models/estates/EstateLevel.d.ts +0 -3
- package/lib/esm/models/estates/EstatePor.d.ts +0 -3
- package/lib/esm/models/estates/Housing.d.ts +0 -17
- package/lib/esm/models/estates/HousingRented.d.ts +0 -15
- package/lib/esm/models/estates/index.d.ts +0 -9
- package/lib/esm/models/types/Type.d.ts +0 -24
- package/lib/esm/services/capacitorStorageService.d.ts +0 -0
- package/lib/esm/services/capacitorStorageService.js +0 -16
- /package/lib/cjs/{models/entities/acts → acts/models}/Act.js +0 -0
- /package/lib/cjs/{models/entities/acts → acts/models}/ActCat.js +0 -0
- /package/lib/cjs/{models/entities/acts → acts/models}/ActLine.js +0 -0
- /package/lib/cjs/{core/estates → acts}/models/index.js +0 -0
- /package/lib/cjs/{models/entities/auth → auth/models}/AuthTag.js +0 -0
- /package/lib/cjs/{models/entities/auth → auth/models}/AuthTagCat.js +0 -0
- /package/lib/cjs/{models/entities/acts → auth/models}/index.js +0 -0
- /package/lib/cjs/{models/entities/bills → bills/models}/Bill.js +0 -0
- /package/lib/cjs/{models/entities/bills → bills/models}/BillCat.d.ts +0 -0
- /package/lib/cjs/{models/entities/bills → bills/models}/BillCat.js +0 -0
- /package/lib/cjs/{models/entities/bills → bills/models}/BillLine.js +0 -0
- /package/lib/cjs/{models/entities/bills → bills/models}/BillPayment.js +0 -0
- /package/lib/cjs/{models/entities/bills → bills/models}/BillPaymentMethod.js +0 -0
- /package/lib/cjs/{models/entities/buys → buys/models}/Buy.js +0 -0
- /package/lib/cjs/{models/entities/buys → buys/models}/BuyCart.js +0 -0
- /package/lib/cjs/{models/entities/buys → buys/models}/BuyItem.js +0 -0
- /package/lib/cjs/{core/estates/models/Estate.js → buys/models/BuyItems.js} +0 -0
- /package/lib/cjs/{models/entities/auth → buys/models}/index.js +0 -0
- /package/lib/cjs/{models/entities/cashs → cashs/models}/Bank.js +0 -0
- /package/lib/cjs/{core/estates/models/EstateAsset.js → cashs/models/BankAccount.js} +0 -0
- /package/lib/cjs/{models/entities/cashs → cashs/models}/Currency.js +0 -0
- /package/lib/cjs/{models/entities/cashs → cashs/models}/Deposit.js +0 -0
- /package/lib/cjs/{models/entities/cashs → cashs/models}/Feed.js +0 -0
- /package/lib/cjs/{models/entities/cashs → cashs/models}/Spent.js +0 -0
- /package/lib/cjs/{models/entities/cashs → cashs/models}/index.js +0 -0
- /package/lib/cjs/{models/entities/comptas → comptas/models}/Entry.js +0 -0
- /package/lib/cjs/{models/entities/comptas → comptas/models}/EntryAccount.js +0 -0
- /package/lib/cjs/{models/entities/comptas → comptas/models}/EntryCat.js +0 -0
- /package/lib/cjs/{models/entities/comptas → comptas/models}/EntryLine.js +0 -0
- /package/lib/cjs/{models/entities/comptas → comptas/models/ohada}/OhadaAbs.d.ts +0 -0
- /package/lib/cjs/{models/entities/comptas → comptas/models/ohada}/OhadaAbs.js +0 -0
- /package/lib/cjs/{models/entities/comptas → comptas/models/ohada}/OhadaCat.js +0 -0
- /package/lib/cjs/{models/entities/comptas → comptas/models/ohada}/OhadaGrp.js +0 -0
- /package/lib/cjs/{models/entities/comptas → comptas/models/ohada}/OhadaPlan.js +0 -0
- /package/lib/cjs/{models/entities/comptas → comptas/models/ohada}/OhadaSubCat.js +0 -0
- /package/lib/cjs/{models/entities/comptas → comptas/models/ohada}/index.js +0 -0
- /package/lib/cjs/{models/entities/docs → docs/models}/Docu.js +0 -0
- /package/lib/cjs/{models/entities/docs → docs/models}/DocuCat.js +0 -0
- /package/lib/cjs/{models/entities/docs → docs/models}/Faq.js +0 -0
- /package/lib/cjs/{models/entities/docs → docs/models}/FaqCat.js +0 -0
- /package/lib/cjs/{models/entities/docs → docs/models}/Memo.js +0 -0
- /package/lib/cjs/{models/entities/docs → docs/models}/MemoCat.js +0 -0
- /package/lib/cjs/{models/entities/docs → docs/models}/index.js +0 -0
- /package/lib/cjs/{models/entities/estates → estates/models}/Estate.js +0 -0
- /package/lib/cjs/{models/entities/estates → estates/models}/EstateAsset.js +0 -0
- /package/lib/cjs/{core/estates → estates}/models/EstateCat.js +0 -0
- /package/lib/cjs/{core/estates → estates}/models/EstateElt.js +0 -0
- /package/lib/cjs/{core/estates → estates}/models/EstateLevel.js +0 -0
- /package/lib/cjs/{core/estates → estates}/models/EstatePor.js +0 -0
- /package/lib/cjs/{core/estates → estates}/models/Housing.js +0 -0
- /package/lib/cjs/{core/estates → estates}/models/HousingRented.js +0 -0
- /package/lib/cjs/{models/entities/estates → estates/models}/index.js +0 -0
- /package/lib/cjs/{models/entities/mails → mails/models}/Mail.js +0 -0
- /package/lib/cjs/{models/entities/mails → mails/models}/MailMass.js +0 -0
- /package/lib/cjs/{models/entities/mails → mails/models}/MsgAbs.d.ts +0 -0
- /package/lib/cjs/{models/entities/mails → mails/models}/MsgAbs.js +0 -0
- /package/lib/cjs/{models/entities/mails → mails/models}/MsgAlert.js +0 -0
- /package/lib/cjs/{models/entities/mails → mails/models}/MsgChat.js +0 -0
- /package/lib/cjs/{models/entities/mails → mails/models}/index.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/Product.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductAgcy.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductAmm.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductBuy.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductCat.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductDci.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductDepot.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductDos.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductFg.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductIn.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductInOut.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductInventory.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductLabo.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductLoc.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductMvt.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductMvtInventory.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductOutReason.js +0 -0
- /package/lib/cjs/{models/entities/cashs/Account.js → products/models/ProductPromo.js} +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductPvd.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductSof.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductStore.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductTcl.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductTclGrp.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductTransfert.js +0 -0
- /package/lib/cjs/{models/entities/products → products/models}/ProductWanted.js +0 -0
- /package/lib/cjs/{models/estates → products/models}/index.js +0 -0
- /package/lib/cjs/{models/entities/estates/EstateCat.js → salaries/models/Salary.js} +0 -0
- /package/lib/cjs/{models/entities/estates/EstateElt.js → salaries/models/SalaryScale.js} +0 -0
- /package/lib/cjs/{models/entities/estates/EstateLevel.js → salaries/models/index.js} +0 -0
- /package/lib/cjs/{models/entities/sales → sales/models}/CartItem.js +0 -0
- /package/lib/cjs/{models/entities/sales → sales/models}/DeliveryProcess.js +0 -0
- /package/lib/cjs/{models/entities/sales → sales/models}/Sale.js +0 -0
- /package/lib/cjs/{models/entities/sales → sales/models}/SaleDelivery.js +0 -0
- /package/lib/cjs/{models/entities/sales → sales/models}/SaleInfo.js +0 -0
- /package/lib/cjs/{models/entities/estates/EstatePor.js → sales/models/SaleItems.js} +0 -0
- /package/lib/cjs/{models/entities/estates/Housing.js → sales/models/SaleProduct.js} +0 -0
- /package/lib/cjs/{models/entities/estates/HousingRented.js → sales/models/SaleProductLot.js} +0 -0
- /package/lib/cjs/{models/entities/sales → sales/models}/SaleProductQtityIssue.js +0 -0
- /package/lib/cjs/{models/entities/users/Address.js → sales/models/SaleShop.js} +0 -0
- /package/lib/cjs/{models/entities/users/DutyPhcie.js → sales/models/ShopCart.js} +0 -0
- /package/lib/cjs/{models/entities/users/Gender.js → shared/IParam.js} +0 -0
- /package/lib/cjs/{models/entities/users/Leave.js → shared/NaAc.js} +0 -0
- /package/lib/cjs/{models/entities/users/Ste.js → shared/NaCoAc.js} +0 -0
- /package/lib/cjs/{models/entities/users/SteGrp.js → shared/NaCoShortAc.js} +0 -0
- /package/lib/cjs/{models/entities/users/User.js → users/models/Address.js} +0 -0
- /package/lib/cjs/{models/entities/users/UserAbs.js → users/models/DutyPhcie.js} +0 -0
- /package/lib/cjs/{models/entities/users/UserBase.js → users/models/Gender.js} +0 -0
- /package/lib/cjs/{models/entities/users/UserGrp.js → users/models/Leave.js} +0 -0
- /package/lib/cjs/{models/entities/users/UserNotatial.js → users/models/Ste.js} +0 -0
- /package/lib/cjs/{models/entities/users/UserNote.js → users/models/SteGrp.js} +0 -0
- /package/lib/cjs/{models/entities/users/UserOnline.js → users/models/User.js} +0 -0
- /package/lib/cjs/{models/entities/users/UserRole.js → users/models/UserAbs.js} +0 -0
- /package/lib/cjs/{models/entities/users/UserTitr.js → users/models/UserBase.js} +0 -0
- /package/lib/cjs/{models/entities/users/Zone.js → users/models/UserCredit.js} +0 -0
- /package/lib/cjs/{models/entities/utilities/Vehicle.js → users/models/UserGrp.js} +0 -0
- /package/lib/cjs/{models/entities/world/Country.js → users/models/UserNotatial.js} +0 -0
- /package/lib/cjs/{models/entities/world/Department.js → users/models/UserNote.js} +0 -0
- /package/lib/cjs/{models/entities/world/Quarter.js → users/models/UserOnline.js} +0 -0
- /package/lib/cjs/{models/estates/Estate.js → users/models/UserRole.js} +0 -0
- /package/lib/cjs/{models/estates/EstateAsset.js → users/models/UserTitr.js} +0 -0
- /package/lib/cjs/{models/estates/EstateCat.js → users/models/Zone.js} +0 -0
- /package/lib/cjs/{models/estates/EstateElt.js → users/models/index.js} +0 -0
- /package/lib/cjs/{models/estates/EstateLevel.js → utilities/models/Todo.js} +0 -0
- /package/lib/cjs/{models/estates/EstatePor.js → utilities/models/Vehicle.js} +0 -0
- /package/lib/cjs/{models/estates/Housing.js → utilities/models/Wish.js} +0 -0
- /package/lib/cjs/{models/estates/HousingRented.js → utilities/models/index.js} +0 -0
- /package/lib/cjs/{models/types/Type.js → world/models/City.js} +0 -0
- /package/lib/esm/{models/entities/acts → acts/models}/Act.js +0 -0
- /package/lib/esm/{models/entities/acts → acts/models}/ActCat.js +0 -0
- /package/lib/esm/{models/entities/acts → acts/models}/ActLine.js +0 -0
- /package/lib/esm/{core/estates → acts}/models/index.js +0 -0
- /package/lib/esm/{models/entities/auth → auth/models}/AuthTag.js +0 -0
- /package/lib/esm/{models/entities/auth → auth/models}/AuthTagCat.js +0 -0
- /package/lib/esm/{models/entities/acts → auth/models}/index.js +0 -0
- /package/lib/esm/{models/entities/bills → bills/models}/Bill.js +0 -0
- /package/lib/esm/{models/entities/bills → bills/models}/BillCat.d.ts +0 -0
- /package/lib/esm/{models/entities/bills → bills/models}/BillCat.js +0 -0
- /package/lib/esm/{models/entities/bills → bills/models}/BillLine.js +0 -0
- /package/lib/esm/{models/entities/bills → bills/models}/BillPayment.js +0 -0
- /package/lib/esm/{models/entities/bills → bills/models}/BillPaymentMethod.js +0 -0
- /package/lib/esm/{models/entities/buys → buys/models}/Buy.js +0 -0
- /package/lib/esm/{models/entities/buys → buys/models}/BuyCart.js +0 -0
- /package/lib/esm/{models/entities/buys → buys/models}/BuyItem.js +0 -0
- /package/lib/esm/{core/estates/models/Estate.js → buys/models/BuyItems.js} +0 -0
- /package/lib/esm/{models/entities/auth → buys/models}/index.js +0 -0
- /package/lib/esm/{models/entities/cashs → cashs/models}/Bank.js +0 -0
- /package/lib/esm/{core/estates/models/EstateAsset.js → cashs/models/BankAccount.js} +0 -0
- /package/lib/esm/{models/entities/cashs → cashs/models}/Currency.js +0 -0
- /package/lib/esm/{models/entities/cashs → cashs/models}/Deposit.js +0 -0
- /package/lib/esm/{models/entities/cashs → cashs/models}/Feed.js +0 -0
- /package/lib/esm/{models/entities/cashs → cashs/models}/Spent.js +0 -0
- /package/lib/esm/{models/entities/cashs → cashs/models}/index.js +0 -0
- /package/lib/esm/{models/entities/comptas → comptas/models}/Entry.js +0 -0
- /package/lib/esm/{models/entities/comptas → comptas/models}/EntryAccount.js +0 -0
- /package/lib/esm/{models/entities/comptas → comptas/models}/EntryCat.js +0 -0
- /package/lib/esm/{models/entities/comptas → comptas/models}/EntryLine.js +0 -0
- /package/lib/esm/{models/entities/comptas → comptas/models/ohada}/OhadaAbs.d.ts +0 -0
- /package/lib/esm/{models/entities/comptas → comptas/models/ohada}/OhadaAbs.js +0 -0
- /package/lib/esm/{models/entities/comptas → comptas/models/ohada}/OhadaCat.js +0 -0
- /package/lib/esm/{models/entities/comptas → comptas/models/ohada}/OhadaGrp.js +0 -0
- /package/lib/esm/{models/entities/comptas → comptas/models/ohada}/OhadaPlan.js +0 -0
- /package/lib/esm/{models/entities/comptas → comptas/models/ohada}/OhadaSubCat.js +0 -0
- /package/lib/esm/{models/entities/comptas → comptas/models/ohada}/index.js +0 -0
- /package/lib/esm/{models/entities/docs → docs/models}/Docu.js +0 -0
- /package/lib/esm/{models/entities/docs → docs/models}/DocuCat.js +0 -0
- /package/lib/esm/{models/entities/docs → docs/models}/Faq.js +0 -0
- /package/lib/esm/{models/entities/docs → docs/models}/FaqCat.js +0 -0
- /package/lib/esm/{models/entities/docs → docs/models}/Memo.js +0 -0
- /package/lib/esm/{models/entities/docs → docs/models}/MemoCat.js +0 -0
- /package/lib/esm/{models/entities/docs → docs/models}/index.js +0 -0
- /package/lib/esm/{models/entities/estates → estates/models}/Estate.js +0 -0
- /package/lib/esm/{models/entities/estates → estates/models}/EstateAsset.js +0 -0
- /package/lib/esm/{core/estates → estates}/models/EstateCat.js +0 -0
- /package/lib/esm/{core/estates → estates}/models/EstateElt.js +0 -0
- /package/lib/esm/{core/estates → estates}/models/EstateLevel.js +0 -0
- /package/lib/esm/{core/estates → estates}/models/EstatePor.js +0 -0
- /package/lib/esm/{core/estates → estates}/models/Housing.js +0 -0
- /package/lib/esm/{core/estates → estates}/models/HousingRented.js +0 -0
- /package/lib/esm/{models/entities/estates → estates/models}/index.js +0 -0
- /package/lib/esm/{models/entities/mails → mails/models}/Mail.js +0 -0
- /package/lib/esm/{models/entities/mails → mails/models}/MailMass.js +0 -0
- /package/lib/esm/{models/entities/mails → mails/models}/MsgAbs.d.ts +0 -0
- /package/lib/esm/{models/entities/mails → mails/models}/MsgAbs.js +0 -0
- /package/lib/esm/{models/entities/mails → mails/models}/MsgAlert.js +0 -0
- /package/lib/esm/{models/entities/mails → mails/models}/MsgChat.js +0 -0
- /package/lib/esm/{models/entities/mails → mails/models}/index.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/Product.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductAgcy.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductAmm.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductBuy.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductCat.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductDci.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductDepot.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductDos.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductFg.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductIn.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductInOut.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductInventory.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductLabo.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductLoc.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductMvt.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductMvtInventory.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductOutReason.js +0 -0
- /package/lib/esm/{models/entities/cashs/Account.js → products/models/ProductPromo.js} +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductPvd.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductSof.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductStore.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductTcl.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductTclGrp.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductTransfert.js +0 -0
- /package/lib/esm/{models/entities/products → products/models}/ProductWanted.js +0 -0
- /package/lib/esm/{models/estates → products/models}/index.js +0 -0
- /package/lib/esm/{models/entities/estates/EstateCat.js → salaries/models/Salary.js} +0 -0
- /package/lib/esm/{models/entities/estates/EstateElt.js → salaries/models/SalaryScale.js} +0 -0
- /package/lib/esm/{models/entities/estates/EstateLevel.js → salaries/models/index.js} +0 -0
- /package/lib/esm/{models/entities/sales → sales/models}/CartItem.js +0 -0
- /package/lib/esm/{models/entities/sales → sales/models}/DeliveryProcess.js +0 -0
- /package/lib/esm/{models/entities/sales → sales/models}/Sale.js +0 -0
- /package/lib/esm/{models/entities/sales → sales/models}/SaleDelivery.js +0 -0
- /package/lib/esm/{models/entities/sales → sales/models}/SaleInfo.js +0 -0
- /package/lib/esm/{models/entities/estates/EstatePor.js → sales/models/SaleItems.js} +0 -0
- /package/lib/esm/{models/entities/estates/Housing.js → sales/models/SaleProduct.js} +0 -0
- /package/lib/esm/{models/entities/estates/HousingRented.js → sales/models/SaleProductLot.js} +0 -0
- /package/lib/esm/{models/entities/sales → sales/models}/SaleProductQtityIssue.js +0 -0
- /package/lib/esm/{models/entities/users/Address.js → sales/models/SaleShop.js} +0 -0
- /package/lib/esm/{models/entities/users/DutyPhcie.js → sales/models/ShopCart.js} +0 -0
- /package/lib/esm/{models/entities/users/Gender.js → shared/IParam.js} +0 -0
- /package/lib/esm/{models/entities/users/Leave.js → shared/NaAc.js} +0 -0
- /package/lib/esm/{models/entities/users/Ste.js → shared/NaCoAc.js} +0 -0
- /package/lib/esm/{models/entities/users/SteGrp.js → shared/NaCoShortAc.js} +0 -0
- /package/lib/esm/{models/entities/users/User.js → users/models/Address.js} +0 -0
- /package/lib/esm/{models/entities/users/UserAbs.js → users/models/DutyPhcie.js} +0 -0
- /package/lib/esm/{models/entities/users/UserBase.js → users/models/Gender.js} +0 -0
- /package/lib/esm/{models/entities/users/UserGrp.js → users/models/Leave.js} +0 -0
- /package/lib/esm/{models/entities/users/UserNotatial.js → users/models/Ste.js} +0 -0
- /package/lib/esm/{models/entities/users/UserNote.js → users/models/SteGrp.js} +0 -0
- /package/lib/esm/{models/entities/users/UserOnline.js → users/models/User.js} +0 -0
- /package/lib/esm/{models/entities/users/UserRole.js → users/models/UserAbs.js} +0 -0
- /package/lib/esm/{models/entities/users/UserTitr.js → users/models/UserBase.js} +0 -0
- /package/lib/esm/{models/entities/users/Zone.js → users/models/UserCredit.js} +0 -0
- /package/lib/esm/{models/entities/utilities/Vehicle.js → users/models/UserGrp.js} +0 -0
- /package/lib/esm/{models/entities/world/Country.js → users/models/UserNotatial.js} +0 -0
- /package/lib/esm/{models/entities/world/Department.js → users/models/UserNote.js} +0 -0
- /package/lib/esm/{models/entities/world/Quarter.js → users/models/UserOnline.js} +0 -0
- /package/lib/esm/{models/estates/Estate.js → users/models/UserRole.js} +0 -0
- /package/lib/esm/{models/estates/EstateAsset.js → users/models/UserTitr.js} +0 -0
- /package/lib/esm/{models/estates/EstateCat.js → users/models/Zone.js} +0 -0
- /package/lib/esm/{models/estates/EstateElt.js → users/models/index.js} +0 -0
- /package/lib/esm/{models/estates/EstateLevel.js → utilities/models/Todo.js} +0 -0
- /package/lib/esm/{models/estates/EstatePor.js → utilities/models/Vehicle.js} +0 -0
- /package/lib/esm/{models/estates/Housing.js → utilities/models/Wish.js} +0 -0
- /package/lib/esm/{models/estates/HousingRented.js → utilities/models/index.js} +0 -0
- /package/lib/esm/{models/types/Type.js → world/models/City.js} +0 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const utils_1 = require("../utils");
|
|
4
|
+
class HlpProduct {
|
|
5
|
+
productCatCode(product, catCodes) {
|
|
6
|
+
return catCodes.includes(product.cat.code && product.cat.code.toLowerCase());
|
|
7
|
+
}
|
|
8
|
+
qtityInAllDepots(ins) {
|
|
9
|
+
return this.getQtitiesInDepots(ins);
|
|
10
|
+
/* if (!ins.length) {return 0; }
|
|
11
|
+
|
|
12
|
+
ins = ins.filter( x => x.depot && x.depot.name.toLocaleLowerCase() !== 'arrivage');
|
|
13
|
+
return ins.reduce((prev, curr: ProductIn) => {
|
|
14
|
+
return +prev + (+curr.qtity);
|
|
15
|
+
}, 0); */
|
|
16
|
+
}
|
|
17
|
+
stockValueInDepots(product, exceptDepots = []) {
|
|
18
|
+
if (!product.ins.length) {
|
|
19
|
+
return 0;
|
|
20
|
+
}
|
|
21
|
+
let ins = product.ins;
|
|
22
|
+
ins = ins.filter((x) => x.depot && !["arrivage", ...exceptDepots].includes(x.depot.name.toLocaleLowerCase()));
|
|
23
|
+
return ins.reduce((prev, curr) => {
|
|
24
|
+
var _a;
|
|
25
|
+
// return +prev + (+curr.qtity * (+product.stores?.pghtPrice || 0));
|
|
26
|
+
return +prev + +curr.qtity * (+((_a = product.stores[0]) === null || _a === void 0 ? void 0 : _a.pghtPrice) || 0);
|
|
27
|
+
}, 0);
|
|
28
|
+
// return formatToString(Math.floor(value: string | number));
|
|
29
|
+
}
|
|
30
|
+
getQtitiesInDepots(ins, exceptDepots = []) {
|
|
31
|
+
if (!ins.length) {
|
|
32
|
+
return 0;
|
|
33
|
+
}
|
|
34
|
+
ins = ins.filter((x) => x.depot && x.depot.hasViewStock && !["arrivage", ...exceptDepots].includes(x.depot.name.toLocaleLowerCase()));
|
|
35
|
+
// ins = ins.filter(x => x.depot && x.depot.hasViewStock);
|
|
36
|
+
return ins.reduce((prev, curr) => {
|
|
37
|
+
return +prev + +curr.qtity;
|
|
38
|
+
}, 0);
|
|
39
|
+
}
|
|
40
|
+
qtityInAllDepotsExeptStore(ins, stores) {
|
|
41
|
+
return this.getQtitiesInDepots(ins, stores);
|
|
42
|
+
/* if (!ins?.length) {return 0; }
|
|
43
|
+
|
|
44
|
+
ins = ins.filter( x => x.depot && x.depot.name.toLocaleLowerCase() !== storeName && x.depot.name.toLocaleLowerCase() !== 'arrivage');
|
|
45
|
+
return ins.reduce((prev, curr: ProductIn) => {
|
|
46
|
+
return prev + (+curr.qtity);
|
|
47
|
+
}, 0); */
|
|
48
|
+
}
|
|
49
|
+
getStockSalable(product) {
|
|
50
|
+
const stockAllSalable = +this.qtityInAllDepots(product.ins) - (+product.stores[0].stockReserved || 0);
|
|
51
|
+
const stockStore = +this.getStockStore(product);
|
|
52
|
+
let stockSalable = 0;
|
|
53
|
+
if (sessionStorage.getItem("isProforma") === "isProforma") {
|
|
54
|
+
stockSalable = stockAllSalable;
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
if (stockAllSalable <= stockStore) {
|
|
58
|
+
stockSalable = stockAllSalable;
|
|
59
|
+
}
|
|
60
|
+
if (stockAllSalable > stockStore) {
|
|
61
|
+
stockSalable = stockStore;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
return stockSalable || 0;
|
|
65
|
+
}
|
|
66
|
+
// ------ sort product stock ------
|
|
67
|
+
onSortStock(sortStock, filteredProducts) {
|
|
68
|
+
// sortStock = !sortStock;
|
|
69
|
+
filteredProducts.sort((a, b) => {
|
|
70
|
+
// const keyA = a.stock;
|
|
71
|
+
const keyA = this.getStockStore(a);
|
|
72
|
+
// const keyB = b.stock;
|
|
73
|
+
const keyB = this.getStockStore(b);
|
|
74
|
+
return sortStock ? keyB - keyA : keyA - keyB;
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
// product|stock:'store'
|
|
78
|
+
// ------ sort cession price ------
|
|
79
|
+
onSortPc(sortPc, filteredProducts) {
|
|
80
|
+
// sortPc = !sortPc;
|
|
81
|
+
filteredProducts.sort((a, b) => {
|
|
82
|
+
const keyA = a.stores[0].salePrice;
|
|
83
|
+
const keyB = b.stores[0].salePrice;
|
|
84
|
+
return sortPc ? keyB - keyA : keyA - keyB;
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
onSortPght(sortPght, filteredProducts) {
|
|
88
|
+
// this.sortPght = !this.sortPght;
|
|
89
|
+
filteredProducts.sort((a, b) => {
|
|
90
|
+
const keyA = a.stores[0].pghtPrice;
|
|
91
|
+
const keyB = b.stores[0].pghtPrice;
|
|
92
|
+
return sortPght ? keyB - keyA : keyA - keyB;
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
sortDesignation(sortDesignation, filteredProducts) {
|
|
96
|
+
// this.sortDesignation = !this.sortDesignation;
|
|
97
|
+
filteredProducts.sort((a, b) => {
|
|
98
|
+
return sortDesignation ? b.designation.localeCompare(a.designation) : a.designation.localeCompare(b.designation);
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
getStockStore(product) {
|
|
102
|
+
let stock = 0;
|
|
103
|
+
if (product === null || product === void 0 ? void 0 : product.ins) {
|
|
104
|
+
for (const pdtIn of product === null || product === void 0 ? void 0 : product.ins) {
|
|
105
|
+
// if(pdtIn.depot.name.toLocaleLowerCase() === environment.host.toLocaleLowerCase()) {
|
|
106
|
+
if (pdtIn.depot.main === "master") {
|
|
107
|
+
stock += pdtIn.qtity;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
// return stock - (+product.stores[0].stockReserved|| 0)
|
|
112
|
+
return stock;
|
|
113
|
+
// if(!product.ins.length) {return 0}
|
|
114
|
+
/* return product.ins.reduce((prev, curr: ProductIn) => {
|
|
115
|
+
return prev + +curr.qtity
|
|
116
|
+
}, 0) */
|
|
117
|
+
}
|
|
118
|
+
getLotsToString(ins) {
|
|
119
|
+
let lots = [];
|
|
120
|
+
for (const pdtIn of ins) {
|
|
121
|
+
if (pdtIn.lot) {
|
|
122
|
+
lots.push(pdtIn.lot + " =>" + (0, utils_1.dateFormatter)(pdtIn.expirationDate, "dmy", "/"));
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
return [...new Set(lots)];
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
// export default new HlpProduct();
|
|
129
|
+
exports.default = new HlpProduct();
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
17
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
exports.HlpProduct = void 0;
|
|
21
|
+
var hlpProduct_1 = require("./hlpProduct");
|
|
22
|
+
Object.defineProperty(exports, "HlpProduct", { enumerable: true, get: function () { return __importDefault(hlpProduct_1).default; } });
|
|
23
|
+
__exportStar(require("./models"), exports);
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import User from "../../users/models/User";
|
|
2
|
+
import ProductCat from "./ProductCat";
|
|
3
|
+
import ProductDci from "./ProductDci";
|
|
4
|
+
import ProductDepot from "./ProductDepot";
|
|
5
|
+
import ProductDos from "./ProductDos";
|
|
6
|
+
import ProductFg from "./ProductFg";
|
|
7
|
+
import ProductIn from "./ProductIn";
|
|
8
|
+
import ProductInOut from "./ProductInOut";
|
|
9
|
+
import ProductLoc from "./ProductLoc";
|
|
10
|
+
import ProductPromo from "./ProductPromo";
|
|
11
|
+
import ProductSof from "./ProductSof";
|
|
12
|
+
import ProductStore from "./ProductStore";
|
|
13
|
+
import ProductTcl from "./ProductTcl";
|
|
14
|
+
export default interface Product {
|
|
15
|
+
id: number;
|
|
16
|
+
ref?: string;
|
|
17
|
+
designation?: string;
|
|
18
|
+
unitPrice?: number;
|
|
19
|
+
salePrice?: number;
|
|
20
|
+
pght?: number;
|
|
21
|
+
pghtPrice?: number;
|
|
22
|
+
codeHs?: string;
|
|
23
|
+
codeCip?: string;
|
|
24
|
+
codeCip7?: string;
|
|
25
|
+
codeEan?: string;
|
|
26
|
+
condeInam?: string;
|
|
27
|
+
codeCompta?: number;
|
|
28
|
+
codeAmm?: string;
|
|
29
|
+
codeAmmStart?: Date | string;
|
|
30
|
+
codeAmmEnd?: Date | string;
|
|
31
|
+
pvdPrice?: number;
|
|
32
|
+
fees?: number;
|
|
33
|
+
profit?: number;
|
|
34
|
+
profitPhcie?: number;
|
|
35
|
+
publicPrice?: number;
|
|
36
|
+
qtityLimit?: number;
|
|
37
|
+
stockLimit?: number;
|
|
38
|
+
stockMax?: number;
|
|
39
|
+
stockReap?: number;
|
|
40
|
+
stock?: number;
|
|
41
|
+
stockReserved?: number;
|
|
42
|
+
stockSalable?: number;
|
|
43
|
+
qtityPerPackaging?: number;
|
|
44
|
+
qtityPerBox?: number;
|
|
45
|
+
promo?: number;
|
|
46
|
+
isInOrder?: boolean;
|
|
47
|
+
coef?: number;
|
|
48
|
+
promoPerQtity?: number;
|
|
49
|
+
promoEndAt?: Date;
|
|
50
|
+
image?: string;
|
|
51
|
+
description?: string;
|
|
52
|
+
isActive?: boolean;
|
|
53
|
+
tva?: number;
|
|
54
|
+
discountRate?: number;
|
|
55
|
+
createdAt?: Date;
|
|
56
|
+
updatedAt?: Date;
|
|
57
|
+
hasPromo?: boolean;
|
|
58
|
+
inEqeer?: boolean;
|
|
59
|
+
qtityWarning?: boolean;
|
|
60
|
+
isPublished?: boolean;
|
|
61
|
+
isAvailable?: boolean;
|
|
62
|
+
cat?: ProductCat;
|
|
63
|
+
fg?: ProductFg;
|
|
64
|
+
labo?: User;
|
|
65
|
+
pvd?: User;
|
|
66
|
+
depot?: ProductDepot;
|
|
67
|
+
loc?: ProductLoc;
|
|
68
|
+
tcl?: ProductTcl;
|
|
69
|
+
agcy?: User;
|
|
70
|
+
sof?: ProductSof;
|
|
71
|
+
dos?: ProductDos;
|
|
72
|
+
dci?: ProductDci;
|
|
73
|
+
inouts?: ProductInOut[];
|
|
74
|
+
ins?: ProductIn[];
|
|
75
|
+
promos?: ProductPromo[];
|
|
76
|
+
stores?: ProductStore[];
|
|
77
|
+
store?: ProductStore;
|
|
78
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import User from "../../users/models/User";
|
|
2
|
+
import Product from "./Product";
|
|
3
|
+
import ProductIn from "./ProductIn";
|
|
4
|
+
import ProductMvt from "./ProductMvt";
|
|
5
|
+
import ProductOutReason from "./ProductOutReason";
|
|
6
|
+
export default interface ProductInOut {
|
|
7
|
+
id?: number;
|
|
8
|
+
createdAt?: Date;
|
|
9
|
+
qtity?: number;
|
|
10
|
+
initialStock?: number;
|
|
11
|
+
manufDate?: any;
|
|
12
|
+
expirationDate?: Date;
|
|
13
|
+
lot?: string;
|
|
14
|
+
comment?: string;
|
|
15
|
+
inout?: boolean;
|
|
16
|
+
product?: Product;
|
|
17
|
+
pdtIn?: ProductIn;
|
|
18
|
+
mvt?: ProductMvt;
|
|
19
|
+
reason?: ProductOutReason;
|
|
20
|
+
pvdPrice?: number;
|
|
21
|
+
qtityPerPackaging?: number;
|
|
22
|
+
authorId?: number;
|
|
23
|
+
author?: User;
|
|
24
|
+
isIn?: boolean;
|
|
25
|
+
isEdit?: boolean;
|
|
26
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import Currency from "../../cashs/models/Currency";
|
|
2
|
+
import EInOutMotive from "../../shared/EInOutMotive";
|
|
3
|
+
import Ste from "../../users/models/Ste";
|
|
4
|
+
import User from "../../users/models/User";
|
|
5
|
+
export default interface ProductMvt {
|
|
6
|
+
id?: number;
|
|
7
|
+
createdAt?: Date;
|
|
8
|
+
ref?: string;
|
|
9
|
+
refCmd?: string;
|
|
10
|
+
billNumber?: string;
|
|
11
|
+
motive?: EInOutMotive | string;
|
|
12
|
+
authorId?: number;
|
|
13
|
+
author?: User;
|
|
14
|
+
store?: string;
|
|
15
|
+
costs?: number;
|
|
16
|
+
pvdId?: number;
|
|
17
|
+
pvd?: Ste;
|
|
18
|
+
billPaidStatus?: string;
|
|
19
|
+
currency?: Currency;
|
|
20
|
+
dollarRate?: number;
|
|
21
|
+
isDone?: boolean;
|
|
22
|
+
tsfMan?: User;
|
|
23
|
+
validedMan?: User;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import User from "../../users/models/User";
|
|
2
|
+
import Product from "./Product";
|
|
3
|
+
import ProductStore from "./ProductStore";
|
|
4
|
+
export default interface ProductPromo {
|
|
5
|
+
id?: number;
|
|
6
|
+
startDate?: Date | string;
|
|
7
|
+
endDate?: Date | string;
|
|
8
|
+
qtityPromo?: number;
|
|
9
|
+
qtityFree?: number;
|
|
10
|
+
isActive?: boolean;
|
|
11
|
+
isClaimed?: boolean;
|
|
12
|
+
product?: Product;
|
|
13
|
+
store?: ProductStore;
|
|
14
|
+
encoder?: User;
|
|
15
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import Product from "./Product";
|
|
2
|
+
import ProductPromo from "./ProductPromo";
|
|
3
|
+
export default interface ProductStore {
|
|
4
|
+
id?: number;
|
|
5
|
+
name?: string;
|
|
6
|
+
qtityLimit?: number;
|
|
7
|
+
stockLimit?: number;
|
|
8
|
+
stockMax?: number;
|
|
9
|
+
stock?: number;
|
|
10
|
+
stockReap?: number;
|
|
11
|
+
stockReserved?: number;
|
|
12
|
+
stockSalable?: number;
|
|
13
|
+
fees?: number;
|
|
14
|
+
pght?: number;
|
|
15
|
+
pvdPrice?: number;
|
|
16
|
+
pghtPrice?: number;
|
|
17
|
+
costPrice?: number;
|
|
18
|
+
salePrice?: number;
|
|
19
|
+
profit?: number;
|
|
20
|
+
profitPhcie?: number;
|
|
21
|
+
publicPrice?: number;
|
|
22
|
+
isActive?: boolean;
|
|
23
|
+
isAvailable?: boolean;
|
|
24
|
+
isPublished?: boolean;
|
|
25
|
+
hasPromo?: boolean;
|
|
26
|
+
promos?: ProductPromo[];
|
|
27
|
+
product?: Product;
|
|
28
|
+
discountRate?: number;
|
|
29
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import User from "../../users/models/User";
|
|
2
|
+
import ProductDepot from "./ProductDepot";
|
|
3
|
+
import ProductIn from "./ProductIn";
|
|
4
|
+
export default interface ProductTransfert {
|
|
5
|
+
id: number;
|
|
6
|
+
name: string;
|
|
7
|
+
isActive: boolean;
|
|
8
|
+
qtity: number;
|
|
9
|
+
pdtIn: ProductIn;
|
|
10
|
+
endDepot: ProductDepot;
|
|
11
|
+
tsfMan: User;
|
|
12
|
+
validedMan: User;
|
|
13
|
+
isDone: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export { default as Product } from "./Product";
|
|
2
|
+
export { default as ProductAgcy } from "./ProductAgcy";
|
|
3
|
+
export { default as ProductAmm } from "./ProductAmm";
|
|
4
|
+
export { default as ProductBuy } from "./ProductBuy";
|
|
5
|
+
export { default as ProductCat } from "./ProductCat";
|
|
6
|
+
export { default as ProductDci } from "./ProductDci";
|
|
7
|
+
export { default as ProductDepot } from "./ProductDepot";
|
|
8
|
+
export { default as ProductDos } from "./ProductDos";
|
|
9
|
+
export { default as ProductFg } from "./ProductFg";
|
|
10
|
+
export { default as ProductIn } from "./ProductIn";
|
|
11
|
+
export { default as ProductInOut } from "./ProductInOut";
|
|
12
|
+
export { default as ProductInventory } from "./ProductInventory";
|
|
13
|
+
export { default as ProductLabo } from "./ProductLabo";
|
|
14
|
+
export { default as ProductLoc } from "./ProductLoc";
|
|
15
|
+
export { default as ProductMvt } from "./ProductMvt";
|
|
16
|
+
export { default as ProductMvtInventory } from "./ProductMvtInventory";
|
|
17
|
+
export { default as ProductOutReason } from "./ProductOutReason";
|
|
18
|
+
export { default as ProductPromo } from "./ProductPromo";
|
|
19
|
+
export { default as ProductPvd } from "./ProductPvd";
|
|
20
|
+
export { default as ProductSof } from "./ProductSof";
|
|
21
|
+
export { default as ProductStore } from "./ProductStore";
|
|
22
|
+
export { default as ProductTcl } from "./ProductTcl";
|
|
23
|
+
export { default as ProductTclGrp } from "./ProductTclGrp";
|
|
24
|
+
export { default as ProductTransfert } from "./ProductTransfert";
|
|
25
|
+
export { default as ProductWanted } from "./ProductWanted";
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class HlpQBuilder {
|
|
4
|
+
// userWhereParams(qb: SelectQueryBuilder<any>, prms: IParam) {
|
|
5
|
+
userWhereParams(qb, prms) {
|
|
6
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
7
|
+
if (prms === null || prms === void 0 ? void 0 : prms.steId) {
|
|
8
|
+
qb.andWhere("ste.id = :id", { id: prms.steId });
|
|
9
|
+
}
|
|
10
|
+
if (prms === null || prms === void 0 ? void 0 : prms.clientId) {
|
|
11
|
+
// qb.andWhere("u.clientId = :clientId", { clientId: prms.clientId })
|
|
12
|
+
qb.andWhere("u.id = :clientId", { clientId: prms.clientId });
|
|
13
|
+
}
|
|
14
|
+
if (prms === null || prms === void 0 ? void 0 : prms.roleCode) {
|
|
15
|
+
qb.andWhere("LOWER(role.code) = :roleCode", { roleCode: prms.roleCode });
|
|
16
|
+
}
|
|
17
|
+
if ((_a = prms === null || prms === void 0 ? void 0 : prms.steGrpCodes) === null || _a === void 0 ? void 0 : _a.ins) {
|
|
18
|
+
qb.andWhere("LOWER(steGrp.code) IN (:...steGrpCodes)", { steGrpCodes: prms.steGrpCodes.ins }).andWhere("role.code = :role", {
|
|
19
|
+
role: "ceo",
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
if ((_b = prms === null || prms === void 0 ? void 0 : prms.steGrpCodes) === null || _b === void 0 ? void 0 : _b.notIns) {
|
|
23
|
+
qb.andWhere("LOWER(steGrp.code) NOT IN (:...steGrpCodes)", { steGrpCodes: prms.steGrpCodes.notIns });
|
|
24
|
+
}
|
|
25
|
+
if ((_c = prms === null || prms === void 0 ? void 0 : prms.grpCodes) === null || _c === void 0 ? void 0 : _c.ins) {
|
|
26
|
+
qb.andWhere("LOWER(grp.code) IN (:...grpCodes)", { grpCodes: prms.grpCodes.ins });
|
|
27
|
+
}
|
|
28
|
+
if ((_d = prms === null || prms === void 0 ? void 0 : prms.grpCodes) === null || _d === void 0 ? void 0 : _d.notIns) {
|
|
29
|
+
qb.andWhere("LOWER(grp.code) NOT IN (:...grpCodes)", { grpCodes: prms.grpCodes.notIns });
|
|
30
|
+
}
|
|
31
|
+
if ((_e = prms === null || prms === void 0 ? void 0 : prms.grpCodes) === null || _e === void 0 ? void 0 : _e.steId) {
|
|
32
|
+
qb.andWhere("LOWER(ste.id) = :grpCodesSteId", { grpCodesSteId: prms.grpCodes.steId });
|
|
33
|
+
}
|
|
34
|
+
if ((_f = prms === null || prms === void 0 ? void 0 : prms.grpCodes) === null || _f === void 0 ? void 0 : _f.steName) {
|
|
35
|
+
qb.orWhere("LOWER(ste.name) = :grpCodesSteName", { grpCodesSteName: prms.grpCodes.steName });
|
|
36
|
+
}
|
|
37
|
+
if ((_g = prms === null || prms === void 0 ? void 0 : prms.roleCodes) === null || _g === void 0 ? void 0 : _g.ins) {
|
|
38
|
+
qb.andWhere("LOWER(role.code) IN (:...roleCodes)", { roleCodes: prms.roleCodes.ins });
|
|
39
|
+
}
|
|
40
|
+
if ((_h = prms === null || prms === void 0 ? void 0 : prms.roleCodes) === null || _h === void 0 ? void 0 : _h.notIns) {
|
|
41
|
+
qb.andWhere("LOWER(role.code) NOT IN (:...roleCodes)", { roleCodes: prms.roleCodes.notIns });
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.default = new HlpQBuilder();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as HlpQBuilder } from "./hlpQbuilder";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.HlpQBuilder = void 0;
|
|
7
|
+
var hlpQbuilder_1 = require("./hlpQbuilder");
|
|
8
|
+
Object.defineProperty(exports, "HlpQBuilder", { enumerable: true, get: function () { return __importDefault(hlpQbuilder_1).default; } });
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import SalaryScale from "./models/SalaryScale";
|
|
2
2
|
declare class HlpSalary {
|
|
3
3
|
amountIrpp: (taxableSalary: number) => number;
|
|
4
|
+
dailySalary: (baseSalary: number) => number;
|
|
4
5
|
brutSalary: (tob: SalaryScale, amountSeniority: number) => number;
|
|
5
6
|
/** revenu brut = salaire brut + Autres Primes imposables à l'IRPP*/
|
|
6
7
|
brutRevenu: (brutSalary: number, otherIrppBonus: number) => number;
|
|
@@ -19,8 +20,8 @@ declare class HlpSalary {
|
|
|
19
20
|
netTaxableSalary: (brutAfterAbbatmentSalary: number, amountPersonInCharge: number) => number;
|
|
20
21
|
/** amountseniority */
|
|
21
22
|
amountSeniority: (entryDate: string | Date, baseSalary: number) => number;
|
|
22
|
-
/** inam = (salaire de base + anciennete )*
|
|
23
|
-
healthInsurance: (baseSalary: number, amountSeniority?: number) => number;
|
|
23
|
+
/** inam = (salaire de base + anciennete )*0.05 */
|
|
24
|
+
healthInsurance: (baseSalary: number, amountSeniority?: number, apply?: boolean) => number;
|
|
24
25
|
/**assurance retraite complémentaire = */
|
|
25
26
|
supplementaryRetirementInsurance: () => number;
|
|
26
27
|
/** Assurance vie employé */
|