asv-hlps 1.3.44 → 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/Act.js +2 -0
- package/lib/cjs/acts/models/ActCat.d.ts +4 -0
- package/lib/cjs/acts/models/ActCat.js +2 -0
- package/lib/cjs/acts/models/ActLine.d.ts +13 -0
- package/lib/cjs/acts/models/ActLine.js +2 -0
- package/lib/cjs/acts/models/index.d.ts +3 -0
- package/lib/cjs/acts/models/index.js +2 -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/AuthTag.js +2 -0
- package/lib/cjs/auth/models/AuthTagCat.d.ts +5 -0
- package/lib/cjs/auth/models/AuthTagCat.js +2 -0
- package/lib/cjs/auth/models/index.d.ts +2 -0
- package/lib/cjs/auth/models/index.js +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/Bill.js +2 -0
- package/lib/cjs/bills/models/BillCat.d.ts +4 -0
- package/lib/cjs/bills/models/BillCat.js +6 -0
- package/lib/cjs/bills/models/BillLine.d.ts +9 -0
- package/lib/cjs/bills/models/BillLine.js +2 -0
- package/lib/cjs/bills/models/BillPayment.d.ts +21 -0
- package/lib/cjs/bills/models/BillPayment.js +2 -0
- package/lib/cjs/bills/models/BillPaymentMethod.d.ts +5 -0
- package/lib/cjs/bills/models/BillPaymentMethod.js +2 -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/Buy.js +2 -0
- package/lib/cjs/buys/models/BuyCart.d.ts +4 -0
- package/lib/cjs/buys/models/BuyCart.js +2 -0
- package/lib/cjs/buys/models/BuyItem.d.ts +5 -0
- package/lib/cjs/buys/models/BuyItem.js +2 -0
- package/lib/cjs/buys/models/BuyItems.d.ts +6 -0
- package/lib/cjs/buys/models/BuyItems.js +2 -0
- package/lib/cjs/buys/models/index.d.ts +4 -0
- package/lib/cjs/buys/models/index.js +2 -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/Bank.js +2 -0
- package/lib/cjs/cashs/models/BankAccount.d.ts +6 -0
- package/lib/cjs/cashs/models/BankAccount.js +2 -0
- package/lib/cjs/cashs/models/Currency.d.ts +10 -0
- package/lib/cjs/cashs/models/Currency.js +2 -0
- package/lib/cjs/cashs/models/Deposit.d.ts +12 -0
- package/lib/cjs/cashs/models/Deposit.js +2 -0
- package/lib/cjs/cashs/models/Feed.d.ts +17 -0
- package/lib/cjs/cashs/models/Feed.js +2 -0
- package/lib/cjs/cashs/models/Spent.d.ts +14 -0
- package/lib/cjs/cashs/models/Spent.js +2 -0
- package/lib/cjs/cashs/models/index.d.ts +6 -0
- package/lib/cjs/cashs/models/index.js +2 -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/Entry.js +2 -0
- package/lib/cjs/comptas/models/EntryAccount.d.ts +5 -0
- package/lib/cjs/comptas/models/EntryAccount.js +2 -0
- package/lib/cjs/comptas/models/EntryCat.d.ts +5 -0
- package/lib/cjs/comptas/models/EntryCat.js +2 -0
- package/lib/cjs/comptas/models/EntryLine.d.ts +23 -0
- package/lib/cjs/comptas/models/EntryLine.js +2 -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/OhadaAbs.d.ts +6 -0
- package/lib/cjs/comptas/models/ohada/OhadaAbs.js +6 -0
- package/lib/cjs/comptas/models/ohada/OhadaCat.d.ts +5 -0
- package/lib/cjs/comptas/models/ohada/OhadaCat.js +2 -0
- package/lib/cjs/comptas/models/ohada/OhadaGrp.d.ts +5 -0
- package/lib/cjs/comptas/models/ohada/OhadaGrp.js +2 -0
- package/lib/cjs/comptas/models/ohada/OhadaPlan.d.ts +3 -0
- package/lib/cjs/comptas/models/ohada/OhadaPlan.js +2 -0
- package/lib/cjs/comptas/models/ohada/OhadaSubCat.d.ts +5 -0
- package/lib/cjs/comptas/models/ohada/OhadaSubCat.js +2 -0
- package/lib/cjs/comptas/models/ohada/index.d.ts +4 -0
- package/lib/cjs/comptas/models/ohada/index.js +2 -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/Docu.js +2 -0
- package/lib/cjs/docs/models/DocuCat.d.ts +10 -0
- package/lib/cjs/docs/models/DocuCat.js +2 -0
- package/lib/cjs/docs/models/Faq.d.ts +10 -0
- package/lib/cjs/docs/models/Faq.js +2 -0
- package/lib/cjs/docs/models/FaqCat.d.ts +12 -0
- package/lib/cjs/docs/models/FaqCat.js +2 -0
- package/lib/cjs/docs/models/Memo.d.ts +8 -0
- package/lib/cjs/docs/models/Memo.js +2 -0
- package/lib/cjs/docs/models/MemoCat.d.ts +8 -0
- package/lib/cjs/docs/models/MemoCat.js +2 -0
- package/lib/cjs/docs/models/index.d.ts +6 -0
- package/lib/cjs/docs/models/index.js +2 -0
- package/lib/cjs/estates/hlpEstate.d.ts +2 -2
- package/lib/cjs/estates/index.d.ts +2 -3
- package/lib/cjs/estates/index.js +6 -6
- package/lib/cjs/estates/models/Estate.d.ts +9 -9
- package/lib/cjs/estates/models/EstateAsset.d.ts +1 -1
- package/lib/cjs/estates/models/EstateCat.d.ts +2 -2
- package/lib/cjs/estates/models/EstateElt.d.ts +2 -2
- package/lib/cjs/estates/models/EstateLevel.d.ts +2 -2
- package/lib/cjs/estates/models/EstatePor.d.ts +2 -2
- package/lib/cjs/estates/models/Housing.d.ts +4 -4
- package/lib/cjs/estates/models/HousingRented.d.ts +3 -3
- package/lib/cjs/estates/models/index.d.ts +8 -9
- 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/Mail.js +2 -0
- package/lib/cjs/mails/models/MailMass.d.ts +8 -0
- package/lib/cjs/mails/models/MailMass.js +2 -0
- package/lib/cjs/mails/models/MsgAbs.d.ts +6 -0
- package/lib/cjs/mails/models/MsgAbs.js +6 -0
- package/lib/cjs/mails/models/MsgAlert.d.ts +9 -0
- package/lib/cjs/mails/models/MsgAlert.js +2 -0
- package/lib/cjs/mails/models/MsgChat.d.ts +4 -0
- package/lib/cjs/mails/models/MsgChat.js +2 -0
- package/lib/cjs/mails/models/index.d.ts +4 -0
- package/lib/cjs/mails/models/index.js +2 -0
- 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/Product.js +2 -0
- package/lib/cjs/products/models/ProductAgcy.d.ts +6 -0
- package/lib/cjs/products/models/ProductAgcy.js +2 -0
- package/lib/cjs/products/models/ProductAmm.d.ts +10 -0
- package/lib/cjs/products/models/ProductAmm.js +2 -0
- package/lib/cjs/products/models/ProductBuy.d.ts +10 -0
- package/lib/cjs/products/models/ProductBuy.js +2 -0
- package/lib/cjs/products/models/ProductCat.d.ts +6 -0
- package/lib/cjs/products/models/ProductCat.js +2 -0
- package/lib/cjs/products/models/ProductDci.d.ts +6 -0
- package/lib/cjs/products/models/ProductDci.js +2 -0
- package/lib/cjs/products/models/ProductDepot.d.ts +9 -0
- package/lib/cjs/products/models/ProductDepot.js +2 -0
- package/lib/cjs/products/models/ProductDos.d.ts +5 -0
- package/lib/cjs/products/models/ProductDos.js +2 -0
- package/lib/cjs/products/models/ProductFg.d.ts +5 -0
- package/lib/cjs/products/models/ProductFg.js +2 -0
- package/lib/cjs/products/models/ProductIn.d.ts +8 -0
- package/lib/cjs/products/models/ProductIn.js +2 -0
- package/lib/cjs/products/models/ProductInOut.d.ts +26 -0
- package/lib/cjs/products/models/ProductInOut.js +2 -0
- package/lib/cjs/products/models/ProductInventory.d.ts +8 -0
- package/lib/cjs/products/models/ProductInventory.js +2 -0
- package/lib/cjs/products/models/ProductLabo.d.ts +5 -0
- package/lib/cjs/products/models/ProductLabo.js +2 -0
- package/lib/cjs/products/models/ProductLoc.d.ts +7 -0
- package/lib/cjs/products/models/ProductLoc.js +2 -0
- package/lib/cjs/products/models/ProductMvt.d.ts +24 -0
- package/lib/cjs/products/models/ProductMvt.js +2 -0
- package/lib/cjs/products/models/ProductMvtInventory.d.ts +8 -0
- package/lib/cjs/products/models/ProductMvtInventory.js +2 -0
- package/lib/cjs/products/models/ProductOutReason.d.ts +6 -0
- package/lib/cjs/products/models/ProductOutReason.js +2 -0
- package/lib/cjs/products/models/ProductPromo.d.ts +15 -0
- package/lib/cjs/products/models/ProductPromo.js +2 -0
- package/lib/cjs/products/models/ProductPvd.d.ts +6 -0
- package/lib/cjs/products/models/ProductPvd.js +2 -0
- package/lib/cjs/products/models/ProductSof.d.ts +6 -0
- package/lib/cjs/products/models/ProductSof.js +2 -0
- package/lib/cjs/products/models/ProductStore.d.ts +29 -0
- package/lib/cjs/products/models/ProductStore.js +2 -0
- package/lib/cjs/products/models/ProductTcl.d.ts +10 -0
- package/lib/cjs/products/models/ProductTcl.js +2 -0
- package/lib/cjs/products/models/ProductTclGrp.d.ts +5 -0
- package/lib/cjs/products/models/ProductTclGrp.js +2 -0
- package/lib/cjs/products/models/ProductTransfert.d.ts +14 -0
- package/lib/cjs/products/models/ProductTransfert.js +2 -0
- package/lib/cjs/products/models/ProductWanted.d.ts +8 -0
- package/lib/cjs/products/models/ProductWanted.js +2 -0
- package/lib/cjs/products/models/index.d.ts +25 -0
- package/lib/cjs/products/models/index.js +2 -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 +1 -1
- 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/Salary.js +2 -0
- package/lib/cjs/salaries/models/SalaryScale.d.ts +25 -0
- package/lib/cjs/salaries/models/SalaryScale.js +2 -0
- package/lib/cjs/salaries/models/index.d.ts +2 -0
- package/lib/cjs/salaries/models/index.js +2 -0
- package/lib/cjs/sales/models/CartItem.d.ts +8 -0
- package/lib/cjs/sales/models/CartItem.js +2 -0
- package/lib/cjs/sales/models/DeliveryProcess.d.ts +6 -0
- package/lib/cjs/sales/models/DeliveryProcess.js +2 -0
- package/lib/cjs/sales/models/Sale.d.ts +55 -0
- package/lib/cjs/sales/models/Sale.js +2 -0
- package/lib/cjs/sales/models/SaleDelivery.d.ts +15 -0
- package/lib/cjs/sales/models/SaleDelivery.js +2 -0
- package/lib/cjs/sales/models/SaleInfo.d.ts +11 -0
- package/lib/cjs/sales/models/SaleInfo.js +2 -0
- package/lib/cjs/sales/models/SaleItems.d.ts +8 -0
- package/lib/cjs/sales/models/SaleItems.js +2 -0
- package/lib/cjs/sales/models/SaleProduct.d.ts +26 -0
- package/lib/cjs/sales/models/SaleProduct.js +2 -0
- package/lib/cjs/sales/models/SaleProductLot.d.ts +11 -0
- package/lib/cjs/sales/models/SaleProductLot.js +2 -0
- package/lib/cjs/sales/models/SaleProductQtityIssue.d.ts +9 -0
- package/lib/cjs/sales/models/SaleProductQtityIssue.js +2 -0
- package/lib/cjs/sales/models/SaleShop.d.ts +47 -0
- package/lib/cjs/sales/models/SaleShop.js +2 -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/ShopCart.js +2 -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/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/IParam.js +2 -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/NaAc.js +2 -0
- package/lib/cjs/shared/NaCoAc.d.ts +4 -0
- package/lib/cjs/shared/NaCoAc.js +2 -0
- package/lib/cjs/shared/NaCoShortAc.d.ts +4 -0
- package/lib/cjs/shared/NaCoShortAc.js +2 -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/Address.js +2 -0
- package/lib/cjs/users/models/DutyPhcie.d.ts +11 -0
- package/lib/cjs/users/models/DutyPhcie.js +2 -0
- package/lib/cjs/users/models/Gender.d.ts +6 -0
- package/lib/cjs/users/models/Gender.js +2 -0
- package/lib/cjs/users/models/Leave.d.ts +14 -0
- package/lib/cjs/users/models/Leave.js +2 -0
- package/lib/cjs/users/models/Ste.d.ts +16 -0
- package/lib/cjs/users/models/Ste.js +2 -0
- package/lib/cjs/users/models/SteGrp.d.ts +7 -0
- package/lib/cjs/users/models/SteGrp.js +2 -0
- package/lib/cjs/users/models/User.d.ts +44 -0
- package/lib/cjs/users/models/User.js +2 -0
- package/lib/cjs/users/models/UserAbs.d.ts +31 -0
- package/lib/cjs/users/models/UserAbs.js +2 -0
- package/lib/cjs/users/models/UserBase.d.ts +31 -0
- package/lib/cjs/users/models/UserBase.js +2 -0
- package/lib/cjs/users/models/UserCredit.d.ts +14 -0
- package/lib/cjs/users/models/UserCredit.js +2 -0
- package/lib/cjs/users/models/UserGrp.d.ts +4 -0
- package/lib/cjs/users/models/UserGrp.js +2 -0
- package/lib/cjs/users/models/UserNotatial.d.ts +9 -0
- package/lib/cjs/users/models/UserNotatial.js +2 -0
- package/lib/cjs/users/models/UserNote.d.ts +7 -0
- package/lib/cjs/users/models/UserNote.js +2 -0
- package/lib/cjs/users/models/UserOnline.d.ts +9 -0
- package/lib/cjs/users/models/UserOnline.js +2 -0
- package/lib/cjs/users/models/UserRole.d.ts +5 -0
- package/lib/cjs/users/models/UserRole.js +2 -0
- package/lib/cjs/users/models/UserTitr.d.ts +5 -0
- package/lib/cjs/users/models/UserTitr.js +2 -0
- package/lib/cjs/users/models/Zone.d.ts +11 -0
- package/lib/cjs/users/models/Zone.js +2 -0
- package/lib/cjs/users/models/index.d.ts +16 -0
- package/lib/cjs/users/models/index.js +2 -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/Todo.js +2 -0
- package/lib/cjs/utilities/models/Vehicle.d.ts +8 -0
- package/lib/cjs/utilities/models/Vehicle.js +2 -0
- package/lib/cjs/utilities/models/Wish.d.ts +14 -0
- package/lib/cjs/utilities/models/Wish.js +2 -0
- package/lib/cjs/utilities/models/index.d.ts +3 -0
- package/lib/cjs/utilities/models/index.js +2 -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/City.js +2 -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/Act.js +1 -0
- package/lib/esm/acts/models/ActCat.d.ts +4 -0
- package/lib/esm/acts/models/ActCat.js +1 -0
- package/lib/esm/acts/models/ActLine.d.ts +13 -0
- package/lib/esm/acts/models/ActLine.js +1 -0
- package/lib/esm/acts/models/index.d.ts +3 -0
- package/lib/esm/acts/models/index.js +1 -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/AuthTag.js +1 -0
- package/lib/esm/auth/models/AuthTagCat.d.ts +5 -0
- package/lib/esm/auth/models/AuthTagCat.js +1 -0
- package/lib/esm/auth/models/index.d.ts +2 -0
- package/lib/esm/auth/models/index.js +1 -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/Bill.js +1 -0
- package/lib/esm/bills/models/BillCat.d.ts +4 -0
- package/lib/esm/bills/models/BillCat.js +2 -0
- package/lib/esm/bills/models/BillLine.d.ts +9 -0
- package/lib/esm/bills/models/BillLine.js +1 -0
- package/lib/esm/bills/models/BillPayment.d.ts +21 -0
- package/lib/esm/bills/models/BillPayment.js +1 -0
- package/lib/esm/bills/models/BillPaymentMethod.d.ts +5 -0
- package/lib/esm/bills/models/BillPaymentMethod.js +1 -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/Buy.js +1 -0
- package/lib/esm/buys/models/BuyCart.d.ts +4 -0
- package/lib/esm/buys/models/BuyCart.js +1 -0
- package/lib/esm/buys/models/BuyItem.d.ts +5 -0
- package/lib/esm/buys/models/BuyItem.js +1 -0
- package/lib/esm/buys/models/BuyItems.d.ts +6 -0
- package/lib/esm/buys/models/BuyItems.js +1 -0
- package/lib/esm/buys/models/index.d.ts +4 -0
- package/lib/esm/buys/models/index.js +1 -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/Bank.js +1 -0
- package/lib/esm/cashs/models/BankAccount.d.ts +6 -0
- package/lib/esm/cashs/models/BankAccount.js +1 -0
- package/lib/esm/cashs/models/Currency.d.ts +10 -0
- package/lib/esm/cashs/models/Currency.js +1 -0
- package/lib/esm/cashs/models/Deposit.d.ts +12 -0
- package/lib/esm/cashs/models/Deposit.js +1 -0
- package/lib/esm/cashs/models/Feed.d.ts +17 -0
- package/lib/esm/cashs/models/Feed.js +1 -0
- package/lib/esm/cashs/models/Spent.d.ts +14 -0
- package/lib/esm/cashs/models/Spent.js +1 -0
- package/lib/esm/cashs/models/index.d.ts +6 -0
- package/lib/esm/cashs/models/index.js +1 -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/Entry.js +1 -0
- package/lib/esm/comptas/models/EntryAccount.d.ts +5 -0
- package/lib/esm/comptas/models/EntryAccount.js +1 -0
- package/lib/esm/comptas/models/EntryCat.d.ts +5 -0
- package/lib/esm/comptas/models/EntryCat.js +1 -0
- package/lib/esm/comptas/models/EntryLine.d.ts +23 -0
- package/lib/esm/comptas/models/EntryLine.js +1 -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/OhadaAbs.d.ts +6 -0
- package/lib/esm/comptas/models/ohada/OhadaAbs.js +2 -0
- package/lib/esm/comptas/models/ohada/OhadaCat.d.ts +5 -0
- package/lib/esm/comptas/models/ohada/OhadaCat.js +1 -0
- package/lib/esm/comptas/models/ohada/OhadaGrp.d.ts +5 -0
- package/lib/esm/comptas/models/ohada/OhadaGrp.js +1 -0
- package/lib/esm/comptas/models/ohada/OhadaPlan.d.ts +3 -0
- package/lib/esm/comptas/models/ohada/OhadaPlan.js +1 -0
- package/lib/esm/comptas/models/ohada/OhadaSubCat.d.ts +5 -0
- package/lib/esm/comptas/models/ohada/OhadaSubCat.js +1 -0
- package/lib/esm/comptas/models/ohada/index.d.ts +4 -0
- package/lib/esm/comptas/models/ohada/index.js +1 -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/Docu.js +1 -0
- package/lib/esm/docs/models/DocuCat.d.ts +10 -0
- package/lib/esm/docs/models/DocuCat.js +1 -0
- package/lib/esm/docs/models/Faq.d.ts +10 -0
- package/lib/esm/docs/models/Faq.js +1 -0
- package/lib/esm/docs/models/FaqCat.d.ts +12 -0
- package/lib/esm/docs/models/FaqCat.js +1 -0
- package/lib/esm/docs/models/Memo.d.ts +8 -0
- package/lib/esm/docs/models/Memo.js +1 -0
- package/lib/esm/docs/models/MemoCat.d.ts +8 -0
- package/lib/esm/docs/models/MemoCat.js +1 -0
- package/lib/esm/docs/models/index.d.ts +6 -0
- package/lib/esm/docs/models/index.js +1 -0
- package/lib/esm/estates/hlpEstate.d.ts +2 -2
- package/lib/esm/estates/index.d.ts +2 -3
- package/lib/esm/estates/index.js +2 -3
- package/lib/esm/estates/models/Estate.d.ts +9 -9
- package/lib/esm/estates/models/EstateAsset.d.ts +1 -1
- package/lib/esm/estates/models/EstateCat.d.ts +2 -2
- package/lib/esm/estates/models/EstateElt.d.ts +2 -2
- package/lib/esm/estates/models/EstateLevel.d.ts +2 -2
- package/lib/esm/estates/models/EstatePor.d.ts +2 -2
- package/lib/esm/estates/models/Housing.d.ts +4 -4
- package/lib/esm/estates/models/HousingRented.d.ts +3 -3
- package/lib/esm/estates/models/index.d.ts +8 -9
- 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/Mail.js +1 -0
- package/lib/esm/mails/models/MailMass.d.ts +8 -0
- package/lib/esm/mails/models/MailMass.js +1 -0
- package/lib/esm/mails/models/MsgAbs.d.ts +6 -0
- package/lib/esm/mails/models/MsgAbs.js +2 -0
- package/lib/esm/mails/models/MsgAlert.d.ts +9 -0
- package/lib/esm/mails/models/MsgAlert.js +1 -0
- package/lib/esm/mails/models/MsgChat.d.ts +4 -0
- package/lib/esm/mails/models/MsgChat.js +1 -0
- package/lib/esm/mails/models/index.d.ts +4 -0
- package/lib/esm/mails/models/index.js +1 -0
- 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/Product.js +1 -0
- package/lib/esm/products/models/ProductAgcy.d.ts +6 -0
- package/lib/esm/products/models/ProductAgcy.js +1 -0
- package/lib/esm/products/models/ProductAmm.d.ts +10 -0
- package/lib/esm/products/models/ProductAmm.js +1 -0
- package/lib/esm/products/models/ProductBuy.d.ts +10 -0
- package/lib/esm/products/models/ProductBuy.js +1 -0
- package/lib/esm/products/models/ProductCat.d.ts +6 -0
- package/lib/esm/products/models/ProductCat.js +1 -0
- package/lib/esm/products/models/ProductDci.d.ts +6 -0
- package/lib/esm/products/models/ProductDci.js +1 -0
- package/lib/esm/products/models/ProductDepot.d.ts +9 -0
- package/lib/esm/products/models/ProductDepot.js +1 -0
- package/lib/esm/products/models/ProductDos.d.ts +5 -0
- package/lib/esm/products/models/ProductDos.js +1 -0
- package/lib/esm/products/models/ProductFg.d.ts +5 -0
- package/lib/esm/products/models/ProductFg.js +1 -0
- package/lib/esm/products/models/ProductIn.d.ts +8 -0
- package/lib/esm/products/models/ProductIn.js +1 -0
- package/lib/esm/products/models/ProductInOut.d.ts +26 -0
- package/lib/esm/products/models/ProductInOut.js +1 -0
- package/lib/esm/products/models/ProductInventory.d.ts +8 -0
- package/lib/esm/products/models/ProductInventory.js +1 -0
- package/lib/esm/products/models/ProductLabo.d.ts +5 -0
- package/lib/esm/products/models/ProductLabo.js +1 -0
- package/lib/esm/products/models/ProductLoc.d.ts +7 -0
- package/lib/esm/products/models/ProductLoc.js +1 -0
- package/lib/esm/products/models/ProductMvt.d.ts +24 -0
- package/lib/esm/products/models/ProductMvt.js +1 -0
- package/lib/esm/products/models/ProductMvtInventory.d.ts +8 -0
- package/lib/esm/products/models/ProductMvtInventory.js +1 -0
- package/lib/esm/products/models/ProductOutReason.d.ts +6 -0
- package/lib/esm/products/models/ProductOutReason.js +1 -0
- package/lib/esm/products/models/ProductPromo.d.ts +15 -0
- package/lib/esm/products/models/ProductPromo.js +1 -0
- package/lib/esm/products/models/ProductPvd.d.ts +6 -0
- package/lib/esm/products/models/ProductPvd.js +1 -0
- package/lib/esm/products/models/ProductSof.d.ts +6 -0
- package/lib/esm/products/models/ProductSof.js +1 -0
- package/lib/esm/products/models/ProductStore.d.ts +29 -0
- package/lib/esm/products/models/ProductStore.js +1 -0
- package/lib/esm/products/models/ProductTcl.d.ts +10 -0
- package/lib/esm/products/models/ProductTcl.js +1 -0
- package/lib/esm/products/models/ProductTclGrp.d.ts +5 -0
- package/lib/esm/products/models/ProductTclGrp.js +1 -0
- package/lib/esm/products/models/ProductTransfert.d.ts +14 -0
- package/lib/esm/products/models/ProductTransfert.js +1 -0
- package/lib/esm/products/models/ProductWanted.d.ts +8 -0
- package/lib/esm/products/models/ProductWanted.js +1 -0
- package/lib/esm/products/models/index.d.ts +25 -0
- package/lib/esm/products/models/index.js +1 -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 +1 -1
- 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/Salary.js +1 -0
- package/lib/esm/salaries/models/SalaryScale.d.ts +25 -0
- package/lib/esm/salaries/models/SalaryScale.js +1 -0
- package/lib/esm/salaries/models/index.d.ts +2 -0
- package/lib/esm/salaries/models/index.js +1 -0
- package/lib/esm/sales/models/CartItem.d.ts +8 -0
- package/lib/esm/sales/models/CartItem.js +1 -0
- package/lib/esm/sales/models/DeliveryProcess.d.ts +6 -0
- package/lib/esm/sales/models/DeliveryProcess.js +1 -0
- package/lib/esm/sales/models/Sale.d.ts +55 -0
- package/lib/esm/sales/models/Sale.js +1 -0
- package/lib/esm/sales/models/SaleDelivery.d.ts +15 -0
- package/lib/esm/sales/models/SaleDelivery.js +1 -0
- package/lib/esm/sales/models/SaleInfo.d.ts +11 -0
- package/lib/esm/sales/models/SaleInfo.js +1 -0
- package/lib/esm/sales/models/SaleItems.d.ts +8 -0
- package/lib/esm/sales/models/SaleItems.js +1 -0
- package/lib/esm/sales/models/SaleProduct.d.ts +26 -0
- package/lib/esm/sales/models/SaleProduct.js +1 -0
- package/lib/esm/sales/models/SaleProductLot.d.ts +11 -0
- package/lib/esm/sales/models/SaleProductLot.js +1 -0
- package/lib/esm/sales/models/SaleProductQtityIssue.d.ts +9 -0
- package/lib/esm/sales/models/SaleProductQtityIssue.js +1 -0
- package/lib/esm/sales/models/SaleShop.d.ts +47 -0
- package/lib/esm/sales/models/SaleShop.js +1 -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/ShopCart.js +1 -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/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/IParam.js +1 -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/NaAc.js +1 -0
- package/lib/esm/shared/NaCoAc.d.ts +4 -0
- package/lib/esm/shared/NaCoAc.js +1 -0
- package/lib/esm/shared/NaCoShortAc.d.ts +4 -0
- package/lib/esm/shared/NaCoShortAc.js +1 -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/Address.js +1 -0
- package/lib/esm/users/models/DutyPhcie.d.ts +11 -0
- package/lib/esm/users/models/DutyPhcie.js +1 -0
- package/lib/esm/users/models/Gender.d.ts +6 -0
- package/lib/esm/users/models/Gender.js +1 -0
- package/lib/esm/users/models/Leave.d.ts +14 -0
- package/lib/esm/users/models/Leave.js +1 -0
- package/lib/esm/users/models/Ste.d.ts +16 -0
- package/lib/esm/users/models/Ste.js +1 -0
- package/lib/esm/users/models/SteGrp.d.ts +7 -0
- package/lib/esm/users/models/SteGrp.js +1 -0
- package/lib/esm/users/models/User.d.ts +44 -0
- package/lib/esm/users/models/User.js +1 -0
- package/lib/esm/users/models/UserAbs.d.ts +31 -0
- package/lib/esm/users/models/UserAbs.js +1 -0
- package/lib/esm/users/models/UserBase.d.ts +31 -0
- package/lib/esm/users/models/UserBase.js +1 -0
- package/lib/esm/users/models/UserCredit.d.ts +14 -0
- package/lib/esm/users/models/UserCredit.js +1 -0
- package/lib/esm/users/models/UserGrp.d.ts +4 -0
- package/lib/esm/users/models/UserGrp.js +1 -0
- package/lib/esm/users/models/UserNotatial.d.ts +9 -0
- package/lib/esm/users/models/UserNotatial.js +1 -0
- package/lib/esm/users/models/UserNote.d.ts +7 -0
- package/lib/esm/users/models/UserNote.js +1 -0
- package/lib/esm/users/models/UserOnline.d.ts +9 -0
- package/lib/esm/users/models/UserOnline.js +1 -0
- package/lib/esm/users/models/UserRole.d.ts +5 -0
- package/lib/esm/users/models/UserRole.js +1 -0
- package/lib/esm/users/models/UserTitr.d.ts +5 -0
- package/lib/esm/users/models/UserTitr.js +1 -0
- package/lib/esm/users/models/Zone.d.ts +11 -0
- package/lib/esm/users/models/Zone.js +1 -0
- package/lib/esm/users/models/index.d.ts +16 -0
- package/lib/esm/users/models/index.js +1 -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/Todo.js +1 -0
- package/lib/esm/utilities/models/Vehicle.d.ts +8 -0
- package/lib/esm/utilities/models/Vehicle.js +1 -0
- package/lib/esm/utilities/models/Wish.d.ts +14 -0
- package/lib/esm/utilities/models/Wish.js +1 -0
- package/lib/esm/utilities/models/index.d.ts +3 -0
- package/lib/esm/utilities/models/index.js +1 -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/City.js +1 -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 +2 -2
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import SteGrp from "../../users/models/SteGrp";
|
|
2
|
+
import UserRole from "../../users/models/UserRole";
|
|
3
|
+
import { MsgAbs } from "./MsgAbs";
|
|
4
|
+
export default interface MsgAlert extends MsgAbs {
|
|
5
|
+
startDate: string;
|
|
6
|
+
endDate: string;
|
|
7
|
+
roles: UserRole[];
|
|
8
|
+
steGrps: SteGrp[];
|
|
9
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import Bill from "../../bills/models/Bill";
|
|
2
|
+
import Sale from "../../sales/models/Sale";
|
|
3
3
|
export declare const infoAmountOnBl: (tob: Sale) => {
|
|
4
4
|
width: string;
|
|
5
5
|
table: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.infoAmountOnBill = exports.infoAmounOntSale = exports.infoAmountOnProforma = exports.infoAmountOnBl = void 0;
|
|
4
|
-
const bill_1 = require("../../bill");
|
|
5
|
-
const sale_1 = require("../../sale");
|
|
4
|
+
const bill_1 = require("../../bills/bill");
|
|
5
|
+
const sale_1 = require("../../sales/sale");
|
|
6
6
|
const utils_1 = require("../../utils");
|
|
7
7
|
const infoAmountOnBl = (tob) => {
|
|
8
8
|
const totalAmountWithoutTva = tob.isBack && (tob.backChoice.toLowerCase() === "autre" || tob.rejectedReason)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.infoBill = exports.infoSale = void 0;
|
|
4
|
-
const bill_1 = require("../../bill");
|
|
5
|
-
const sale_1 = require("../../sale");
|
|
4
|
+
const bill_1 = require("../../bills/bill");
|
|
5
|
+
const sale_1 = require("../../sales/sale");
|
|
6
6
|
const utils_1 = require("../../utils");
|
|
7
7
|
const infoSale = (tob) => {
|
|
8
8
|
const totalQtity = (0, sale_1.getTotalQtityOnSale)(tob);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { UserNotarial } from "../../models/users/UserNotatial";
|
|
1
|
+
import { Ste } from "../../users";
|
|
3
2
|
export declare const displayPdfDate: (label: string, fromDate: string, toDate: string) => string;
|
|
4
3
|
export declare const displayTitle: (title: string) => {
|
|
5
4
|
width: string;
|
|
@@ -9,7 +8,14 @@ export declare const displayTitle: (title: string) => {
|
|
|
9
8
|
margin: number[];
|
|
10
9
|
fontSize: number;
|
|
11
10
|
};
|
|
12
|
-
export declare const displayClient:
|
|
11
|
+
export declare const displayClient: <T extends {
|
|
12
|
+
ste: Ste;
|
|
13
|
+
fullname: string;
|
|
14
|
+
cp: string;
|
|
15
|
+
city: string;
|
|
16
|
+
address: string;
|
|
17
|
+
username: string;
|
|
18
|
+
}>(user: T) => {
|
|
13
19
|
absolutePosition: {
|
|
14
20
|
x: number;
|
|
15
21
|
y: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.displayClient = exports.displayTitle = exports.displayPdfDate = void 0;
|
|
4
|
-
const user_1 = require("../../user");
|
|
4
|
+
const user_1 = require("../../users/user");
|
|
5
5
|
const utils_1 = require("../../utils");
|
|
6
6
|
const displayPdfDate = (label, fromDate, toDate) => {
|
|
7
7
|
fromDate = !fromDate ? (0, utils_1.dateFormatter)(new Date(), "ymd", "-") : fromDate;
|
package/lib/cjs/product.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import Product from "./products/models/Product";
|
|
2
|
+
import User from "./users/models/User";
|
|
3
3
|
export declare const unitPriceByClientCat: (product: Product, client: User, speUnitPrice?: number, addDiscount?: boolean) => number;
|
|
4
4
|
export declare const productCatCode: (product: Product, catCodes: string[]) => boolean;
|
package/lib/cjs/product.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.productCatCode = exports.unitPriceByClientCat = void 0;
|
|
4
|
-
const user_1 = require("./user");
|
|
4
|
+
const user_1 = require("./users/user");
|
|
5
5
|
const utils_1 = require("./utils");
|
|
6
6
|
const unitPriceByClientCat = (product, client, speUnitPrice = 0, addDiscount = false) => {
|
|
7
7
|
if (speUnitPrice > 0) {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Product from "./models/Product";
|
|
2
|
+
import ProductIn from "./models/ProductIn";
|
|
3
|
+
declare class HlpProduct {
|
|
4
|
+
productCatCode(product: Product, catCodes: string[]): boolean;
|
|
5
|
+
qtityInAllDepots(ins: ProductIn[]): number;
|
|
6
|
+
stockValueInDepots(product: Product, exceptDepots?: string[]): number;
|
|
7
|
+
getQtitiesInDepots(ins: ProductIn[], exceptDepots?: string[]): number;
|
|
8
|
+
qtityInAllDepotsExeptStore(ins: ProductIn[], stores: string[]): number;
|
|
9
|
+
getStockSalable(product: Product): number;
|
|
10
|
+
onSortStock(sortStock: boolean, filteredProducts: Product[]): void;
|
|
11
|
+
onSortPc(sortPc: boolean, filteredProducts: Product[]): void;
|
|
12
|
+
onSortPght(sortPght: boolean, filteredProducts: Product[]): void;
|
|
13
|
+
sortDesignation(sortDesignation: boolean, filteredProducts: Product[]): void;
|
|
14
|
+
getStockStore(product: Product): number;
|
|
15
|
+
getLotsToString(ins: ProductIn[]): string[];
|
|
16
|
+
}
|
|
17
|
+
declare const _default: HlpProduct;
|
|
18
|
+
export default _default;
|
|
@@ -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
|
+
}
|