@zensoftbr/zenerpclient 1.0.7 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api/api.module.js +1 -3
- package/dist/cjs/api/api.module.js.map +1 -1
- package/dist/cjs/api/commercial/contract/ContractService.js +43 -0
- package/dist/cjs/api/commercial/contract/ContractService.js.map +1 -1
- package/dist/cjs/api/financial/ArgsBillingTitleOpRepeat.js +5 -5
- package/dist/cjs/api/financial/ArgsBillingTitleOpRepeat.js.map +1 -1
- package/dist/cjs/api/financial/FinancialService.js +18 -0
- package/dist/cjs/api/financial/FinancialService.js.map +1 -1
- package/dist/cjs/api/financial/PayableSettlement.js +23 -0
- package/dist/cjs/api/financial/PayableSettlement.js.map +1 -0
- package/dist/cjs/api/financial/PayableSettlementBillingTitle.js +14 -0
- package/dist/cjs/api/financial/PayableSettlementBillingTitle.js.map +1 -0
- package/dist/cjs/api/financial/PayableSettlementMethod.js +14 -0
- package/dist/cjs/api/financial/PayableSettlementMethod.js.map +1 -0
- package/dist/cjs/api/financial/ReceivableSettlement.js +23 -0
- package/dist/cjs/api/financial/ReceivableSettlement.js.map +1 -0
- package/dist/cjs/api/financial/ReceivableSettlementBillingTitle.js +14 -0
- package/dist/cjs/api/financial/ReceivableSettlementBillingTitle.js.map +1 -0
- package/dist/cjs/api/financial/ReceivableSettlementMethod.js +14 -0
- package/dist/cjs/api/financial/ReceivableSettlementMethod.js.map +1 -0
- package/dist/cjs/api/financial/financial.module.js +13 -1
- package/dist/cjs/api/financial/financial.module.js.map +1 -1
- package/dist/cjs/api/fiscal/FiscalService.js +6 -6
- package/dist/cjs/api/fiscal/FiscalService.js.map +1 -1
- package/dist/cjs/api/fiscal/IncomingInvoicePayment.js +16 -0
- package/dist/cjs/api/fiscal/IncomingInvoicePayment.js.map +1 -0
- package/dist/cjs/api/fiscal/OutgoingInvoicePayment.js +16 -0
- package/dist/cjs/api/fiscal/OutgoingInvoicePayment.js.map +1 -0
- package/dist/cjs/api/fiscal/fiscal.module.js +5 -5
- package/dist/cjs/api/fiscal/fiscal.module.js.map +1 -1
- package/dist/cjs/api/material/material.module.js +1 -25
- package/dist/cjs/api/material/material.module.js.map +1 -1
- package/dist/cjs/api/sale/ArgsPriceFormationOpCalculate.js +9 -0
- package/dist/cjs/api/sale/ArgsPriceFormationOpCalculate.js.map +1 -0
- package/dist/cjs/api/sale/PriceFormationItem.js +0 -1
- package/dist/cjs/api/sale/PriceFormationItem.js.map +1 -1
- package/dist/cjs/api/sale/PriceFormationOpSimulationItem.js +1 -1
- package/dist/cjs/api/sale/PriceFormationOpSimulationItem.js.map +1 -1
- package/dist/cjs/api/sale/QuoteItem.js +0 -1
- package/dist/cjs/api/sale/QuoteItem.js.map +1 -1
- package/dist/cjs/api/sale/SaleService.js +17 -17
- package/dist/cjs/api/sale/SaleService.js.map +1 -1
- package/dist/cjs/api/supply/production/ArgsProductionOrderOpCreate.js +9 -0
- package/dist/cjs/api/supply/production/ArgsProductionOrderOpCreate.js.map +1 -0
- package/dist/cjs/api/supply/production/Bom.js +14 -0
- package/dist/cjs/api/supply/production/Bom.js.map +1 -0
- package/dist/cjs/api/supply/production/BomItem.js +15 -0
- package/dist/cjs/api/supply/production/BomItem.js.map +1 -0
- package/dist/cjs/api/supply/production/Operation.js +15 -0
- package/dist/cjs/api/supply/production/Operation.js.map +1 -0
- package/dist/cjs/api/supply/production/OperationType.js +12 -0
- package/dist/cjs/api/supply/production/OperationType.js.map +1 -0
- package/dist/cjs/api/supply/production/OperationTypeAccount.js +11 -0
- package/dist/cjs/api/supply/production/OperationTypeAccount.js.map +1 -0
- package/dist/cjs/api/supply/production/ProductionBatch.js +16 -0
- package/dist/cjs/api/supply/production/ProductionBatch.js.map +1 -0
- package/dist/cjs/api/supply/production/ProductionOrder.js +20 -0
- package/dist/cjs/api/supply/production/ProductionOrder.js.map +1 -0
- package/dist/cjs/api/supply/production/ProductionProfile.js +11 -0
- package/dist/cjs/api/supply/production/ProductionProfile.js.map +1 -0
- package/dist/cjs/api/supply/production/ProductionService.js +443 -0
- package/dist/cjs/api/supply/production/ProductionService.js.map +1 -0
- package/dist/cjs/api/supply/production/ProductionStep.js +11 -0
- package/dist/cjs/api/supply/production/ProductionStep.js.map +1 -0
- package/dist/cjs/api/supply/production/ProductionStepInput.js +14 -0
- package/dist/cjs/api/supply/production/ProductionStepInput.js.map +1 -0
- package/dist/cjs/api/supply/production/ProductionStepOutput.js +15 -0
- package/dist/cjs/api/supply/production/ProductionStepOutput.js.map +1 -0
- package/dist/cjs/api/supply/production/production.module.js +28 -0
- package/dist/cjs/api/supply/production/production.module.js.map +1 -0
- package/dist/cjs/api/supply/purchase/ArgsProposalItemOpApprove.js +8 -0
- package/dist/cjs/api/supply/purchase/ArgsProposalItemOpApprove.js.map +1 -0
- package/dist/cjs/api/supply/purchase/ArgsProposalItemOpDisapprove.js +8 -0
- package/dist/cjs/api/supply/purchase/ArgsProposalItemOpDisapprove.js.map +1 -0
- package/dist/cjs/api/supply/purchase/ArgsPurchaseOpCancel.js +8 -0
- package/dist/cjs/api/supply/purchase/ArgsPurchaseOpCancel.js.map +1 -0
- package/dist/cjs/api/supply/purchase/ArgsPurchaseOpCreate.js +10 -0
- package/dist/cjs/api/supply/purchase/ArgsPurchaseOpCreate.js.map +1 -0
- package/dist/cjs/api/supply/purchase/ArgsPurchaseOpRelocate.js +8 -0
- package/dist/cjs/api/supply/purchase/ArgsPurchaseOpRelocate.js.map +1 -0
- package/dist/cjs/api/supply/purchase/ArgsQuoteOpCreate.js +11 -0
- package/dist/cjs/api/supply/purchase/ArgsQuoteOpCreate.js.map +1 -0
- package/dist/cjs/api/supply/purchase/ArgsQuoteOpFinish.js +8 -0
- package/dist/cjs/api/supply/purchase/ArgsQuoteOpFinish.js.map +1 -0
- package/dist/cjs/api/supply/purchase/PriceList.js +18 -0
- package/dist/cjs/api/supply/purchase/PriceList.js.map +1 -0
- package/dist/cjs/api/supply/purchase/PriceListItem.js +17 -0
- package/dist/cjs/api/supply/purchase/PriceListItem.js.map +1 -0
- package/dist/cjs/api/supply/purchase/Proposal.js +15 -0
- package/dist/cjs/api/supply/purchase/Proposal.js.map +1 -0
- package/dist/cjs/api/supply/purchase/ProposalItem.js +35 -0
- package/dist/cjs/api/supply/purchase/ProposalItem.js.map +1 -0
- package/dist/cjs/api/supply/purchase/Purchase.js +29 -0
- package/dist/cjs/api/supply/purchase/Purchase.js.map +1 -0
- package/dist/cjs/api/supply/purchase/PurchaseItem.js +34 -0
- package/dist/cjs/api/supply/purchase/PurchaseItem.js.map +1 -0
- package/dist/cjs/api/supply/purchase/PurchasePayment.js +16 -0
- package/dist/cjs/api/supply/purchase/PurchasePayment.js.map +1 -0
- package/dist/cjs/api/supply/purchase/PurchaseProfile.js +14 -0
- package/dist/cjs/api/supply/purchase/PurchaseProfile.js.map +1 -0
- package/dist/cjs/api/supply/purchase/PurchaseService.js +509 -0
- package/dist/cjs/api/supply/purchase/PurchaseService.js.map +1 -0
- package/dist/cjs/api/supply/purchase/Quote.js +18 -0
- package/dist/cjs/api/supply/purchase/Quote.js.map +1 -0
- package/dist/cjs/api/supply/purchase/QuoteItem.js +16 -0
- package/dist/cjs/api/supply/purchase/QuoteItem.js.map +1 -0
- package/dist/cjs/api/supply/purchase/purchase.module.js +26 -0
- package/dist/cjs/api/supply/purchase/purchase.module.js.map +1 -0
- package/dist/cjs/api/supply/supply.module.js +3 -2
- package/dist/cjs/api/supply/supply.module.js.map +1 -1
- package/dist/cjs/api/system/system.module.js +1 -2
- package/dist/cjs/api/system/system.module.js.map +1 -1
- package/dist/esm/api/api.module.js +0 -2
- package/dist/esm/api/api.module.js.map +1 -1
- package/dist/esm/api/commercial/contract/ContractService.js +43 -0
- package/dist/esm/api/commercial/contract/ContractService.js.map +1 -1
- package/dist/esm/api/financial/ArgsBillingTitleOpRepeat.js +5 -5
- package/dist/esm/api/financial/ArgsBillingTitleOpRepeat.js.map +1 -1
- package/dist/esm/api/financial/FinancialService.js +18 -0
- package/dist/esm/api/financial/FinancialService.js.map +1 -1
- package/dist/esm/api/financial/PayableSettlement.js +19 -0
- package/dist/esm/api/financial/PayableSettlement.js.map +1 -0
- package/dist/esm/api/financial/PayableSettlementBillingTitle.js +10 -0
- package/dist/esm/api/financial/PayableSettlementBillingTitle.js.map +1 -0
- package/dist/esm/api/financial/PayableSettlementMethod.js +10 -0
- package/dist/esm/api/financial/PayableSettlementMethod.js.map +1 -0
- package/dist/esm/api/financial/ReceivableSettlement.js +19 -0
- package/dist/esm/api/financial/ReceivableSettlement.js.map +1 -0
- package/dist/esm/api/financial/ReceivableSettlementBillingTitle.js +10 -0
- package/dist/esm/api/financial/ReceivableSettlementBillingTitle.js.map +1 -0
- package/dist/esm/api/financial/ReceivableSettlementMethod.js +10 -0
- package/dist/esm/api/financial/ReceivableSettlementMethod.js.map +1 -0
- package/dist/esm/api/financial/financial.module.js +6 -0
- package/dist/esm/api/financial/financial.module.js.map +1 -1
- package/dist/esm/api/fiscal/FiscalService.js +6 -6
- package/dist/esm/api/fiscal/FiscalService.js.map +1 -1
- package/dist/esm/api/fiscal/IncomingInvoicePayment.js +12 -0
- package/dist/esm/api/fiscal/IncomingInvoicePayment.js.map +1 -0
- package/dist/esm/api/fiscal/OutgoingInvoicePayment.js +12 -0
- package/dist/esm/api/fiscal/OutgoingInvoicePayment.js.map +1 -0
- package/dist/esm/api/fiscal/fiscal.module.js +2 -2
- package/dist/esm/api/fiscal/fiscal.module.js.map +1 -1
- package/dist/esm/api/material/material.module.js +0 -1
- package/dist/esm/api/material/material.module.js.map +1 -1
- package/dist/esm/api/sale/ArgsPriceFormationOpCalculate.js +5 -0
- package/dist/esm/api/sale/ArgsPriceFormationOpCalculate.js.map +1 -0
- package/dist/esm/api/sale/PriceFormationItem.js +0 -1
- package/dist/esm/api/sale/PriceFormationItem.js.map +1 -1
- package/dist/esm/api/sale/PriceFormationOpSimulationItem.js +1 -1
- package/dist/esm/api/sale/PriceFormationOpSimulationItem.js.map +1 -1
- package/dist/esm/api/sale/QuoteItem.js +0 -1
- package/dist/esm/api/sale/QuoteItem.js.map +1 -1
- package/dist/esm/api/sale/SaleService.js +17 -17
- package/dist/esm/api/sale/SaleService.js.map +1 -1
- package/dist/esm/api/supply/production/ArgsProductionOrderOpCreate.js +5 -0
- package/dist/esm/api/supply/production/ArgsProductionOrderOpCreate.js.map +1 -0
- package/dist/esm/api/supply/production/Bom.js +10 -0
- package/dist/esm/api/supply/production/Bom.js.map +1 -0
- package/dist/esm/api/supply/production/BomItem.js +11 -0
- package/dist/esm/api/supply/production/BomItem.js.map +1 -0
- package/dist/esm/api/supply/production/Operation.js +11 -0
- package/dist/esm/api/supply/production/Operation.js.map +1 -0
- package/dist/esm/api/supply/production/OperationType.js +8 -0
- package/dist/esm/api/supply/production/OperationType.js.map +1 -0
- package/dist/esm/api/supply/production/OperationTypeAccount.js +7 -0
- package/dist/esm/api/supply/production/OperationTypeAccount.js.map +1 -0
- package/dist/esm/api/supply/production/ProductionBatch.js +12 -0
- package/dist/esm/api/supply/production/ProductionBatch.js.map +1 -0
- package/dist/esm/api/supply/production/ProductionOrder.js +16 -0
- package/dist/esm/api/supply/production/ProductionOrder.js.map +1 -0
- package/dist/esm/api/supply/production/ProductionProfile.js +7 -0
- package/dist/esm/api/supply/production/ProductionProfile.js.map +1 -0
- package/dist/esm/api/supply/production/ProductionService.js +439 -0
- package/dist/esm/api/supply/production/ProductionService.js.map +1 -0
- package/dist/esm/api/supply/production/ProductionStep.js +7 -0
- package/dist/esm/api/supply/production/ProductionStep.js.map +1 -0
- package/dist/esm/api/supply/production/ProductionStepInput.js +10 -0
- package/dist/esm/api/supply/production/ProductionStepInput.js.map +1 -0
- package/dist/esm/api/supply/production/ProductionStepOutput.js +11 -0
- package/dist/esm/api/supply/production/ProductionStepOutput.js.map +1 -0
- package/dist/esm/api/supply/production/production.module.js +13 -0
- package/dist/esm/api/supply/production/production.module.js.map +1 -0
- package/dist/esm/api/supply/purchase/ArgsProposalItemOpApprove.js +4 -0
- package/dist/esm/api/supply/purchase/ArgsProposalItemOpApprove.js.map +1 -0
- package/dist/esm/api/supply/purchase/ArgsProposalItemOpDisapprove.js +4 -0
- package/dist/esm/api/supply/purchase/ArgsProposalItemOpDisapprove.js.map +1 -0
- package/dist/esm/api/supply/purchase/ArgsPurchaseOpCancel.js +4 -0
- package/dist/esm/api/supply/purchase/ArgsPurchaseOpCancel.js.map +1 -0
- package/dist/esm/api/supply/purchase/ArgsPurchaseOpCreate.js +6 -0
- package/dist/esm/api/supply/purchase/ArgsPurchaseOpCreate.js.map +1 -0
- package/dist/esm/api/supply/purchase/ArgsPurchaseOpRelocate.js +4 -0
- package/dist/esm/api/supply/purchase/ArgsPurchaseOpRelocate.js.map +1 -0
- package/dist/esm/api/supply/purchase/ArgsQuoteOpCreate.js +7 -0
- package/dist/esm/api/supply/purchase/ArgsQuoteOpCreate.js.map +1 -0
- package/dist/esm/api/supply/purchase/ArgsQuoteOpFinish.js +4 -0
- package/dist/esm/api/supply/purchase/ArgsQuoteOpFinish.js.map +1 -0
- package/dist/esm/api/supply/purchase/PriceList.js +14 -0
- package/dist/esm/api/supply/purchase/PriceList.js.map +1 -0
- package/dist/esm/api/supply/purchase/PriceListItem.js +13 -0
- package/dist/esm/api/supply/purchase/PriceListItem.js.map +1 -0
- package/dist/esm/api/supply/purchase/Proposal.js +11 -0
- package/dist/esm/api/supply/purchase/Proposal.js.map +1 -0
- package/dist/esm/api/supply/purchase/ProposalItem.js +31 -0
- package/dist/esm/api/supply/purchase/ProposalItem.js.map +1 -0
- package/dist/esm/api/supply/purchase/Purchase.js +25 -0
- package/dist/esm/api/supply/purchase/Purchase.js.map +1 -0
- package/dist/esm/api/supply/purchase/PurchaseItem.js +30 -0
- package/dist/esm/api/supply/purchase/PurchaseItem.js.map +1 -0
- package/dist/esm/api/supply/purchase/PurchasePayment.js +12 -0
- package/dist/esm/api/supply/purchase/PurchasePayment.js.map +1 -0
- package/dist/esm/api/supply/purchase/PurchaseProfile.js +10 -0
- package/dist/esm/api/supply/purchase/PurchaseProfile.js.map +1 -0
- package/dist/esm/api/supply/purchase/PurchaseService.js +505 -0
- package/dist/esm/api/supply/purchase/PurchaseService.js.map +1 -0
- package/dist/esm/api/supply/purchase/Quote.js +14 -0
- package/dist/esm/api/supply/purchase/Quote.js.map +1 -0
- package/dist/esm/api/supply/purchase/QuoteItem.js +12 -0
- package/dist/esm/api/supply/purchase/QuoteItem.js.map +1 -0
- package/dist/esm/api/supply/purchase/purchase.module.js +12 -0
- package/dist/esm/api/supply/purchase/purchase.module.js.map +1 -0
- package/dist/esm/api/supply/supply.module.js +2 -1
- package/dist/esm/api/supply/supply.module.js.map +1 -1
- package/dist/esm/api/system/system.module.js +0 -1
- package/dist/esm/api/system/system.module.js.map +1 -1
- package/dist/iife/zenerpclient.js +1 -1
- package/dist/iife/zenerpclient.js.map +1 -1
- package/dist/types/api/api.module.d.ts +0 -2
- package/dist/types/api/catalog/company/Company.d.ts +1 -1
- package/dist/types/api/commercial/contract/ContractService.d.ts +7 -0
- package/dist/types/api/financial/ArgsBillingTitleOpRepeat.d.ts +5 -5
- package/dist/types/api/financial/FinancialService.d.ts +2 -0
- package/dist/types/api/financial/PayableSettlement.d.ts +21 -0
- package/dist/types/api/financial/PayableSettlementBillingTitle.d.ts +13 -0
- package/dist/types/api/financial/PayableSettlementMethod.d.ts +13 -0
- package/dist/types/api/financial/ReceivableSettlement.d.ts +21 -0
- package/dist/types/api/financial/ReceivableSettlementBillingTitle.d.ts +13 -0
- package/dist/types/api/financial/ReceivableSettlementMethod.d.ts +13 -0
- package/dist/types/api/financial/financial.module.d.ts +6 -0
- package/dist/types/api/fiscal/FiscalService.d.ts +2 -2
- package/dist/types/api/fiscal/IncomingInvoicePayment.d.ts +14 -0
- package/dist/types/api/fiscal/OutgoingInvoicePayment.d.ts +14 -0
- package/dist/types/api/fiscal/fiscal.module.d.ts +2 -2
- package/dist/types/api/logistic/ShippingItem.d.ts +1 -1
- package/dist/types/api/material/StockCluster.d.ts +1 -1
- package/dist/types/api/material/material.module.d.ts +0 -1
- package/dist/types/api/sale/ArgsPriceFormationOpCalculate.d.ts +4 -0
- package/dist/types/api/sale/PriceFormationItem.d.ts +0 -1
- package/dist/types/api/sale/PriceFormationOpSimulationItem.d.ts +1 -1
- package/dist/types/api/sale/QuoteItem.d.ts +0 -2
- package/dist/types/api/sale/SaleItem.d.ts +1 -1
- package/dist/types/api/sale/SaleService.d.ts +3 -3
- package/dist/types/api/supply/production/ArgsProductionOrderOpCreate.d.ts +5 -0
- package/dist/types/api/supply/production/Bom.d.ts +10 -0
- package/dist/types/api/supply/production/BomItem.d.ts +12 -0
- package/dist/types/api/supply/production/Operation.d.ts +12 -0
- package/dist/types/api/supply/production/OperationType.d.ts +8 -0
- package/dist/types/api/supply/production/OperationTypeAccount.d.ts +9 -0
- package/dist/types/api/supply/production/ProductionBatch.d.ts +15 -0
- package/dist/types/api/supply/production/ProductionOrder.d.ts +20 -0
- package/dist/types/api/supply/production/ProductionProfile.d.ts +6 -0
- package/dist/types/api/supply/production/ProductionService.d.ts +84 -0
- package/dist/types/api/supply/production/ProductionStep.d.ts +7 -0
- package/dist/types/api/supply/production/ProductionStepInput.d.ts +11 -0
- package/dist/types/api/supply/production/ProductionStepOutput.d.ts +12 -0
- package/dist/types/api/supply/production/production.module.d.ts +12 -0
- package/dist/types/api/supply/purchase/ArgsProposalItemOpApprove.d.ts +3 -0
- package/dist/types/api/supply/purchase/ArgsProposalItemOpDisapprove.d.ts +3 -0
- package/dist/types/api/supply/purchase/ArgsPurchaseOpCancel.d.ts +3 -0
- package/dist/types/api/supply/purchase/ArgsPurchaseOpCreate.d.ts +6 -0
- package/dist/types/api/supply/purchase/ArgsPurchaseOpRelocate.d.ts +3 -0
- package/dist/types/api/supply/purchase/ArgsQuoteOpCreate.d.ts +7 -0
- package/dist/types/api/supply/purchase/ArgsQuoteOpFinish.d.ts +3 -0
- package/dist/types/api/supply/purchase/PriceList.d.ts +14 -0
- package/dist/types/api/supply/purchase/PriceListItem.d.ts +16 -0
- package/dist/types/api/supply/purchase/Proposal.d.ts +12 -0
- package/dist/types/api/supply/purchase/ProposalItem.d.ts +38 -0
- package/dist/types/api/supply/purchase/Purchase.d.ts +36 -0
- package/dist/types/api/supply/purchase/PurchaseItem.d.ts +37 -0
- package/dist/types/api/supply/purchase/PurchasePayment.d.ts +14 -0
- package/dist/types/api/supply/purchase/PurchaseProfile.d.ts +11 -0
- package/dist/types/api/supply/purchase/PurchaseService.d.ts +93 -0
- package/dist/types/api/supply/purchase/Quote.d.ts +17 -0
- package/dist/types/api/supply/purchase/QuoteItem.d.ts +14 -0
- package/dist/types/api/supply/purchase/purchase.module.d.ts +11 -0
- package/dist/types/api/supply/supply.module.d.ts +2 -1
- package/dist/types/api/system/system.module.d.ts +0 -1
- package/package.json +1 -2
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Currency } from "../../financial/Currency.js";
|
|
2
|
+
export declare class PriceList {
|
|
3
|
+
id: number;
|
|
4
|
+
type: string;
|
|
5
|
+
code: string;
|
|
6
|
+
description: string;
|
|
7
|
+
notBefore: Date;
|
|
8
|
+
notAfter: Date;
|
|
9
|
+
currency: Currency;
|
|
10
|
+
variationRateLow: number;
|
|
11
|
+
variationRateHigh: number;
|
|
12
|
+
tags: string;
|
|
13
|
+
properties: Object;
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Currency } from "../../financial/Currency.js";
|
|
2
|
+
import { PriceList } from "../../commercial/PriceList.js";
|
|
3
|
+
import { Product } from "../../catalog/product/Product.js";
|
|
4
|
+
import { ProductPacking } from "../../catalog/product/ProductPacking.js";
|
|
5
|
+
export declare class PriceListItem {
|
|
6
|
+
id: number;
|
|
7
|
+
priceList: PriceList;
|
|
8
|
+
product: Product;
|
|
9
|
+
productPacking: ProductPacking;
|
|
10
|
+
currency: Currency;
|
|
11
|
+
unitValue: number;
|
|
12
|
+
variationRateLow: number;
|
|
13
|
+
variationRateHigh: number;
|
|
14
|
+
tags: string;
|
|
15
|
+
properties: Object;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Person } from "../../catalog/person/Person.js";
|
|
2
|
+
import { Quote } from "./Quote.js";
|
|
3
|
+
export declare class Proposal {
|
|
4
|
+
id: number;
|
|
5
|
+
status: string;
|
|
6
|
+
quote: Quote;
|
|
7
|
+
person: Person;
|
|
8
|
+
date: Date;
|
|
9
|
+
totalValue: number;
|
|
10
|
+
tags: string;
|
|
11
|
+
properties: Object;
|
|
12
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Currency } from "../../financial/Currency.js";
|
|
2
|
+
import { FiscalProfileProduct } from "../../fiscal/FiscalProfileProduct.js";
|
|
3
|
+
import { ProductPacking } from "../../catalog/product/ProductPacking.js";
|
|
4
|
+
import { Proposal } from "./Proposal.js";
|
|
5
|
+
import { QuoteItem } from "./QuoteItem.js";
|
|
6
|
+
import { TaxationOperation } from "../../fiscal/taxation/TaxationOperation.js";
|
|
7
|
+
import { TaxationRule } from "../../fiscal/taxation/TaxationRule.js";
|
|
8
|
+
import { Unit } from "../../catalog/product/Unit.js";
|
|
9
|
+
export declare class ProposalItem {
|
|
10
|
+
id: number;
|
|
11
|
+
status: string;
|
|
12
|
+
proposal: Proposal;
|
|
13
|
+
quoteItem: QuoteItem;
|
|
14
|
+
availabilityDate: Date;
|
|
15
|
+
productPacking: ProductPacking;
|
|
16
|
+
fiscalProfileProduct: FiscalProfileProduct;
|
|
17
|
+
unit: Unit;
|
|
18
|
+
quantity: number;
|
|
19
|
+
internalQuantity: number;
|
|
20
|
+
approvedQuantity: number;
|
|
21
|
+
currency: Currency;
|
|
22
|
+
unitValue: number;
|
|
23
|
+
taxationRule: TaxationRule;
|
|
24
|
+
taxationOperation: TaxationOperation;
|
|
25
|
+
productValue: number;
|
|
26
|
+
discountType: string;
|
|
27
|
+
discountAmount: number;
|
|
28
|
+
discountValue: number;
|
|
29
|
+
otherValues: Object;
|
|
30
|
+
operationValue: number;
|
|
31
|
+
insideTaxValue: number;
|
|
32
|
+
outsideTaxValue: number;
|
|
33
|
+
totalValue: number;
|
|
34
|
+
taxCompensationValue: number;
|
|
35
|
+
effectiveValue: number;
|
|
36
|
+
tags: string;
|
|
37
|
+
properties: Object;
|
|
38
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Company } from "../../catalog/company/Company.js";
|
|
2
|
+
import { Currency } from "../../financial/Currency.js";
|
|
3
|
+
import { FiscalProfileOperation } from "../../fiscal/FiscalProfileOperation.js";
|
|
4
|
+
import { IncomingRequest } from "../../material/IncomingRequest.js";
|
|
5
|
+
import { Person } from "../../catalog/person/Person.js";
|
|
6
|
+
import { PersonAddress } from "../../catalog/person/PersonAddress.js";
|
|
7
|
+
import { PriceList } from "../../commercial/PriceList.js";
|
|
8
|
+
import { PurchaseProfile } from "./PurchaseProfile.js";
|
|
9
|
+
import { Quote } from "./Quote.js";
|
|
10
|
+
import { Warehouse } from "../../material/Warehouse.js";
|
|
11
|
+
import { Workflow } from "../../system/workflow/Workflow.js";
|
|
12
|
+
import { Workpiece } from "../../system/workflow/Workpiece.js";
|
|
13
|
+
export declare class Purchase {
|
|
14
|
+
id: number;
|
|
15
|
+
status: string;
|
|
16
|
+
company: Company;
|
|
17
|
+
purchaseProfile: PurchaseProfile;
|
|
18
|
+
fiscalProfileOperation: FiscalProfileOperation;
|
|
19
|
+
workflow: Workflow;
|
|
20
|
+
workpiece: Workpiece;
|
|
21
|
+
warehouse: Warehouse;
|
|
22
|
+
person: Person;
|
|
23
|
+
personAddressShipping: PersonAddress;
|
|
24
|
+
code: string;
|
|
25
|
+
date: Date;
|
|
26
|
+
availabilityDate: Date;
|
|
27
|
+
freightType: string;
|
|
28
|
+
priceList: PriceList;
|
|
29
|
+
currency: Currency;
|
|
30
|
+
totalValue: number;
|
|
31
|
+
incomingRequest: IncomingRequest;
|
|
32
|
+
quote: Quote;
|
|
33
|
+
purchaseSource: number;
|
|
34
|
+
tags: string;
|
|
35
|
+
properties: Object;
|
|
36
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Account } from "../../financial/accounting/Account.js";
|
|
2
|
+
import { AccountComplement } from "../../financial/accounting/AccountComplement.js";
|
|
3
|
+
import { FiscalProfileProduct } from "../../fiscal/FiscalProfileProduct.js";
|
|
4
|
+
import { ProductPacking } from "../../catalog/product/ProductPacking.js";
|
|
5
|
+
import { Purchase } from "./Purchase.js";
|
|
6
|
+
import { TaxationOperation } from "../../fiscal/taxation/TaxationOperation.js";
|
|
7
|
+
import { TaxationRule } from "../../fiscal/taxation/TaxationRule.js";
|
|
8
|
+
import { Unit } from "../../catalog/product/Unit.js";
|
|
9
|
+
export declare class PurchaseItem {
|
|
10
|
+
id: number;
|
|
11
|
+
purchase: Purchase;
|
|
12
|
+
productPacking: ProductPacking;
|
|
13
|
+
fiscalProfileProduct: FiscalProfileProduct;
|
|
14
|
+
taxationRule: TaxationRule;
|
|
15
|
+
taxationOperation: TaxationOperation;
|
|
16
|
+
priceListValue: number;
|
|
17
|
+
unit: Unit;
|
|
18
|
+
quantity: number;
|
|
19
|
+
internalQuantity: number;
|
|
20
|
+
servedQuantity: number;
|
|
21
|
+
unitValue: number;
|
|
22
|
+
productValue: number;
|
|
23
|
+
discountType: string;
|
|
24
|
+
discountAmount: number;
|
|
25
|
+
discountValue: number;
|
|
26
|
+
otherValues: Object;
|
|
27
|
+
operationValue: number;
|
|
28
|
+
insideTaxValue: number;
|
|
29
|
+
outsideTaxValue: number;
|
|
30
|
+
totalValue: number;
|
|
31
|
+
taxCompensationValue: number;
|
|
32
|
+
effectiveValue: number;
|
|
33
|
+
account: Account;
|
|
34
|
+
accountComplement: AccountComplement;
|
|
35
|
+
tags: string;
|
|
36
|
+
properties: Object;
|
|
37
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Account } from "../../financial/accounting/Account.js";
|
|
2
|
+
import { AccountComplement } from "../../financial/accounting/AccountComplement.js";
|
|
3
|
+
import { Purchase } from "./Purchase.js";
|
|
4
|
+
export declare class PurchasePayment {
|
|
5
|
+
id: number;
|
|
6
|
+
purchase: Purchase;
|
|
7
|
+
type: string;
|
|
8
|
+
account: Account;
|
|
9
|
+
accountComplement: AccountComplement;
|
|
10
|
+
term: number;
|
|
11
|
+
value: number;
|
|
12
|
+
tags: string;
|
|
13
|
+
properties: Object;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FiscalProfileOperation } from "../../fiscal/FiscalProfileOperation.js";
|
|
2
|
+
import { Workflow } from "../../system/workflow/Workflow.js";
|
|
3
|
+
export declare class PurchaseProfile {
|
|
4
|
+
id: number;
|
|
5
|
+
code: string;
|
|
6
|
+
description: string;
|
|
7
|
+
fiscalProfileOperation: FiscalProfileOperation;
|
|
8
|
+
workflow: Workflow;
|
|
9
|
+
tags: string;
|
|
10
|
+
properties: Object;
|
|
11
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Client } from "../../../Client.js";
|
|
2
|
+
import { PriceList } from "./PriceList.js";
|
|
3
|
+
import { PriceListItem } from "./PriceListItem.js";
|
|
4
|
+
import { Proposal } from "./Proposal.js";
|
|
5
|
+
import { ProposalItem } from "./ProposalItem.js";
|
|
6
|
+
import { Purchase } from "./Purchase.js";
|
|
7
|
+
import { PurchaseItem } from "./PurchaseItem.js";
|
|
8
|
+
import { PurchasePayment } from "./PurchasePayment.js";
|
|
9
|
+
import { PurchaseProfile } from "./PurchaseProfile.js";
|
|
10
|
+
import { Quote } from "./Quote.js";
|
|
11
|
+
import { QuoteItem } from "./QuoteItem.js";
|
|
12
|
+
export declare class PurchaseService {
|
|
13
|
+
#private;
|
|
14
|
+
constructor(client: Client);
|
|
15
|
+
priceListCreate(bean: PriceList): Promise<PriceList>;
|
|
16
|
+
priceListDelete(id: number): Promise<PriceList>;
|
|
17
|
+
priceListItemCreate(bean: PriceListItem): Promise<PriceListItem>;
|
|
18
|
+
priceListItemDelete(id: number): Promise<PriceListItem>;
|
|
19
|
+
priceListItemRead(search: any): Promise<PriceListItem[]>;
|
|
20
|
+
priceListItemReadById(id: number): Promise<PriceListItem>;
|
|
21
|
+
priceListItemUpdate(bean: PriceListItem): Promise<PriceListItem>;
|
|
22
|
+
priceListRead(search: any): Promise<PriceList[]>;
|
|
23
|
+
priceListReadById(id: number): Promise<PriceList>;
|
|
24
|
+
priceListUpdate(bean: PriceList): Promise<PriceList>;
|
|
25
|
+
proposalCreate(bean: Proposal): Promise<Proposal>;
|
|
26
|
+
proposalDelete(id: number): Promise<Proposal>;
|
|
27
|
+
proposalItemCreate(bean: ProposalItem): Promise<ProposalItem>;
|
|
28
|
+
proposalItemDelete(id: number): Promise<ProposalItem>;
|
|
29
|
+
proposalItemOpApprove(id: number, args: any): Promise<ProposalItem>;
|
|
30
|
+
proposalItemOpApproveRevert(id: number): Promise<ProposalItem>;
|
|
31
|
+
proposalItemOpDisapprove(id: number, args: any): Promise<ProposalItem>;
|
|
32
|
+
proposalItemOpDisapproveRevert(id: number): Promise<ProposalItem>;
|
|
33
|
+
proposalItemRead(search: any): Promise<ProposalItem[]>;
|
|
34
|
+
proposalItemReadById(id: number): Promise<ProposalItem>;
|
|
35
|
+
proposalItemUpdate(bean: ProposalItem): Promise<ProposalItem>;
|
|
36
|
+
proposalOpCancel(id: number): Promise<Proposal>;
|
|
37
|
+
proposalOpCancelRevert(id: number): Promise<Proposal>;
|
|
38
|
+
proposalOpPrepare(id: number): Promise<Proposal>;
|
|
39
|
+
proposalOpPrepareRevert(id: number): Promise<Proposal>;
|
|
40
|
+
proposalRead(search: any): Promise<Proposal[]>;
|
|
41
|
+
proposalReadById(id: number): Promise<Proposal>;
|
|
42
|
+
proposalUpdate(bean: Proposal): Promise<Proposal>;
|
|
43
|
+
purchaseCreate(bean: Purchase): Promise<Purchase>;
|
|
44
|
+
purchaseDelete(id: number): Promise<Purchase>;
|
|
45
|
+
purchaseItemCreate(bean: PurchaseItem): Promise<PurchaseItem>;
|
|
46
|
+
purchaseItemDelete(id: number): Promise<PurchaseItem>;
|
|
47
|
+
purchaseItemRead(search: any): Promise<PurchaseItem[]>;
|
|
48
|
+
purchaseItemReadById(id: number): Promise<PurchaseItem>;
|
|
49
|
+
purchaseItemUpdate(bean: PurchaseItem): Promise<PurchaseItem>;
|
|
50
|
+
purchaseOpApprove(id: number): Promise<Purchase>;
|
|
51
|
+
purchaseOpApproveRevert(id: number): Promise<Purchase>;
|
|
52
|
+
purchaseOpCancel(id: number, args: any): Promise<Purchase>;
|
|
53
|
+
purchaseOpCancelRevert(id: number): Promise<Purchase>;
|
|
54
|
+
purchaseOpClone(id: number): Promise<Purchase>;
|
|
55
|
+
purchaseOpCreate(args: any): Promise<Purchase>;
|
|
56
|
+
purchaseOpFinish(id: number): Promise<Purchase>;
|
|
57
|
+
purchaseOpFinishRevert(id: number): Promise<Purchase>;
|
|
58
|
+
purchaseOpPrepare(id: number): Promise<Purchase>;
|
|
59
|
+
purchaseOpPrepareRevert(id: number): Promise<Purchase>;
|
|
60
|
+
purchaseOpUpdatePrepared(bean: Purchase): Promise<Purchase>;
|
|
61
|
+
purchasePaymentCreate(bean: PurchasePayment): Promise<PurchasePayment>;
|
|
62
|
+
purchasePaymentDelete(id: number): Promise<PurchasePayment>;
|
|
63
|
+
purchasePaymentRead(search: any): Promise<PurchasePayment[]>;
|
|
64
|
+
purchasePaymentReadById(id: number): Promise<PurchasePayment>;
|
|
65
|
+
purchasePaymentUpdate(bean: PurchasePayment): Promise<PurchasePayment>;
|
|
66
|
+
purchaseProfileCreate(bean: PurchaseProfile): Promise<PurchaseProfile>;
|
|
67
|
+
purchaseProfileDelete(id: number): Promise<PurchaseProfile>;
|
|
68
|
+
purchaseProfileRead(search: any): Promise<PurchaseProfile[]>;
|
|
69
|
+
purchaseProfileReadById(id: number): Promise<PurchaseProfile>;
|
|
70
|
+
purchaseProfileUpdate(bean: PurchaseProfile): Promise<PurchaseProfile>;
|
|
71
|
+
purchaseRead(search: any): Promise<Purchase[]>;
|
|
72
|
+
purchaseReadById(id: number): Promise<Purchase>;
|
|
73
|
+
purchaseUpdate(bean: Purchase): Promise<Purchase>;
|
|
74
|
+
quoteCreate(bean: Quote): Promise<Quote>;
|
|
75
|
+
quoteDelete(id: number): Promise<Quote>;
|
|
76
|
+
quoteItemCreate(bean: QuoteItem): Promise<QuoteItem>;
|
|
77
|
+
quoteItemDelete(id: number): Promise<QuoteItem>;
|
|
78
|
+
quoteItemRead(search: any): Promise<QuoteItem[]>;
|
|
79
|
+
quoteItemReadById(id: number): Promise<QuoteItem>;
|
|
80
|
+
quoteItemUpdate(bean: QuoteItem): Promise<QuoteItem>;
|
|
81
|
+
quoteOpApprove(id: number): Promise<Quote>;
|
|
82
|
+
quoteOpApproveRevert(id: number): Promise<Quote>;
|
|
83
|
+
quoteOpCancel(id: number): Promise<Quote>;
|
|
84
|
+
quoteOpCancelRevert(id: number): Promise<Quote>;
|
|
85
|
+
quoteOpCreate(args: any): Promise<Quote>;
|
|
86
|
+
quoteOpFinish(id: number, args: any): Promise<Quote>;
|
|
87
|
+
quoteOpFinishRevert(id: number): Promise<Quote>;
|
|
88
|
+
quoteOpPrepare(id: number): Promise<Quote>;
|
|
89
|
+
quoteOpPrepareRevert(id: number): Promise<Quote>;
|
|
90
|
+
quoteRead(search: any): Promise<Quote[]>;
|
|
91
|
+
quoteReadById(id: number): Promise<Quote>;
|
|
92
|
+
quoteUpdate(bean: Quote): Promise<Quote>;
|
|
93
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Company } from "../../catalog/company/Company.js";
|
|
2
|
+
import { FiscalProfileOperation } from "../../fiscal/FiscalProfileOperation.js";
|
|
3
|
+
import { Workflow } from "../../system/workflow/Workflow.js";
|
|
4
|
+
import { Workpiece } from "../../system/workflow/Workpiece.js";
|
|
5
|
+
export declare class Quote {
|
|
6
|
+
id: number;
|
|
7
|
+
status: string;
|
|
8
|
+
company: Company;
|
|
9
|
+
fiscalProfileOperation: FiscalProfileOperation;
|
|
10
|
+
workflow: Workflow;
|
|
11
|
+
workpiece: Workpiece;
|
|
12
|
+
code: string;
|
|
13
|
+
date: Date;
|
|
14
|
+
availabilityDate: Date;
|
|
15
|
+
tags: string;
|
|
16
|
+
properties: Object;
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ProductPacking } from "../../catalog/product/ProductPacking.js";
|
|
2
|
+
import { Quote } from "./Quote.js";
|
|
3
|
+
import { Unit } from "../../catalog/product/Unit.js";
|
|
4
|
+
export declare class QuoteItem {
|
|
5
|
+
id: number;
|
|
6
|
+
quote: Quote;
|
|
7
|
+
productPacking: ProductPacking;
|
|
8
|
+
unit: Unit;
|
|
9
|
+
quantity: number;
|
|
10
|
+
internalQuantity: number;
|
|
11
|
+
approvedQuantity: number;
|
|
12
|
+
tags: string;
|
|
13
|
+
properties: Object;
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { PurchaseService } from "./PurchaseService.js";
|
|
2
|
+
export { PriceList } from "./PriceList.js";
|
|
3
|
+
export { PriceListItem } from "./PriceListItem.js";
|
|
4
|
+
export { Proposal } from "./Proposal.js";
|
|
5
|
+
export { ProposalItem } from "./ProposalItem.js";
|
|
6
|
+
export { Purchase } from "./Purchase.js";
|
|
7
|
+
export { PurchaseItem } from "./PurchaseItem.js";
|
|
8
|
+
export { PurchasePayment } from "./PurchasePayment.js";
|
|
9
|
+
export { PurchaseProfile } from "./PurchaseProfile.js";
|
|
10
|
+
export { Quote } from "./Quote.js";
|
|
11
|
+
export { QuoteItem } from "./QuoteItem.js";
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * as
|
|
1
|
+
export * as production from "./production/production.module.js";
|
|
2
|
+
export * as purchase from "./purchase/purchase.module.js";
|
|
@@ -5,7 +5,6 @@ export * as file from "./file/file.module.js";
|
|
|
5
5
|
export * as image from "./image/image.module.js";
|
|
6
6
|
export * as integration from "./integration/integration.module.js";
|
|
7
7
|
export * as mail from "./mail/mail.module.js";
|
|
8
|
-
export * as plugin from "./plugin/plugin.module.js";
|
|
9
8
|
export * as printing from "./printing/printing.module.js";
|
|
10
9
|
export * as report from "./report/report.module.js";
|
|
11
10
|
export * as security from "./security/security.module.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zensoftbr/zenerpclient",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "Javascript client for Zen Erp",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
"build:types": "tsc -p tsconfig.types.json",
|
|
43
43
|
"build": "npm run build:types && npm run build:cjs && npm run build:esm && npm run rollup",
|
|
44
44
|
"prepublishOnly": "npm run build",
|
|
45
|
-
"publish": "npm publish",
|
|
46
45
|
"rollup": "rollup --config",
|
|
47
46
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
48
47
|
"zip": "npx npm-pack-zip"
|