@zensoftbr/zenerpclient 1.0.26 → 1.0.27
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/Client.js +49 -49
- package/dist/cjs/Client.js.map +1 -1
- package/dist/cjs/I18n.js +2 -2
- package/dist/cjs/I18n.js.map +1 -1
- package/dist/cjs/api/api.module.js +17 -7
- package/dist/cjs/api/api.module.js.map +1 -1
- package/dist/cjs/api/catalog/catalog.module.js +17 -7
- package/dist/cjs/api/catalog/catalog.module.js.map +1 -1
- package/dist/cjs/api/commercial/commercial.module.js +17 -7
- package/dist/cjs/api/commercial/commercial.module.js.map +1 -1
- package/dist/cjs/api/financial/ArgsOpSettleEntryReplacement.js +8 -0
- package/dist/cjs/api/financial/ArgsOpSettleEntryReplacement.js.map +1 -0
- package/dist/cjs/api/financial/BillingTitle.js +3 -4
- package/dist/cjs/api/financial/BillingTitle.js.map +1 -1
- package/dist/cjs/api/financial/Payable.js +4 -5
- package/dist/cjs/api/financial/Payable.js.map +1 -1
- package/dist/cjs/api/financial/PayableSettlementBillingTitle.js +1 -2
- package/dist/cjs/api/financial/PayableSettlementBillingTitle.js.map +1 -1
- package/dist/cjs/api/financial/PayableSettlementMethod.js +1 -2
- package/dist/cjs/api/financial/PayableSettlementMethod.js.map +1 -1
- package/dist/cjs/api/financial/Receivable.js +4 -5
- package/dist/cjs/api/financial/Receivable.js.map +1 -1
- package/dist/cjs/api/financial/ReceivableSettlementBillingTitle.js +1 -2
- package/dist/cjs/api/financial/ReceivableSettlementBillingTitle.js.map +1 -1
- package/dist/cjs/api/financial/ReceivableSettlementMethod.js +1 -2
- package/dist/cjs/api/financial/ReceivableSettlementMethod.js.map +1 -1
- package/dist/cjs/api/financial/SettlementBillingTitle.js +1 -2
- package/dist/cjs/api/financial/SettlementBillingTitle.js.map +1 -1
- package/dist/cjs/api/financial/SettlementMethod.js +1 -2
- package/dist/cjs/api/financial/SettlementMethod.js.map +1 -1
- package/dist/cjs/api/financial/accounting/ArgsAccountCategoryOpFindByCodes.js +8 -0
- package/dist/cjs/api/financial/accounting/ArgsAccountCategoryOpFindByCodes.js.map +1 -0
- package/dist/cjs/api/financial/accounting/ArgsAccountChartOpImport.js +1 -0
- package/dist/cjs/api/financial/accounting/ArgsAccountChartOpImport.js.map +1 -1
- package/dist/cjs/api/financial/accounting/AssetTag.js +4 -2
- package/dist/cjs/api/financial/accounting/AssetTag.js.map +1 -1
- package/dist/cjs/api/financial/accounting/JournalItem.js +2 -1
- package/dist/cjs/api/financial/accounting/JournalItem.js.map +1 -1
- package/dist/cjs/api/financial/accounting/LedgerItem.js +2 -1
- package/dist/cjs/api/financial/accounting/LedgerItem.js.map +1 -1
- package/dist/cjs/api/financial/accounting/LedgerItemBalance.js +2 -1
- package/dist/cjs/api/financial/accounting/LedgerItemBalance.js.map +1 -1
- package/dist/cjs/api/financial/accounting/accounting.module.js +1 -3
- package/dist/cjs/api/financial/accounting/accounting.module.js.map +1 -1
- package/dist/cjs/api/financial/financial.module.js +17 -7
- package/dist/cjs/api/financial/financial.module.js.map +1 -1
- package/dist/cjs/api/fiscal/ArgsIncomingInvoiceOpCreate.js +2 -0
- package/dist/cjs/api/fiscal/ArgsIncomingInvoiceOpCreate.js.map +1 -1
- package/dist/cjs/api/fiscal/FiscalService.js +36 -6
- package/dist/cjs/api/fiscal/FiscalService.js.map +1 -1
- package/dist/cjs/api/fiscal/IncomingInvoiceItem.js +2 -3
- package/dist/cjs/api/fiscal/IncomingInvoiceItem.js.map +1 -1
- package/dist/cjs/api/fiscal/IncomingInvoicePayment.js +1 -2
- package/dist/cjs/api/fiscal/IncomingInvoicePayment.js.map +1 -1
- package/dist/cjs/api/fiscal/InvoiceItem.js +1 -2
- package/dist/cjs/api/fiscal/InvoiceItem.js.map +1 -1
- package/dist/cjs/api/fiscal/InvoiceItemAccounting.js +1 -2
- package/dist/cjs/api/fiscal/InvoiceItemAccounting.js.map +1 -1
- package/dist/cjs/api/fiscal/InvoicePayment.js +1 -2
- package/dist/cjs/api/fiscal/InvoicePayment.js.map +1 -1
- package/dist/cjs/api/fiscal/InvoiceReturn.js +13 -0
- package/dist/cjs/api/fiscal/InvoiceReturn.js.map +1 -0
- package/dist/cjs/api/fiscal/OutgoingInvoiceItem.js +2 -3
- package/dist/cjs/api/fiscal/OutgoingInvoiceItem.js.map +1 -1
- package/dist/cjs/api/fiscal/OutgoingInvoicePayment.js +1 -2
- package/dist/cjs/api/fiscal/OutgoingInvoicePayment.js.map +1 -1
- package/dist/cjs/api/fiscal/br/ArgsSpedOpExport.js +1 -0
- package/dist/cjs/api/fiscal/br/ArgsSpedOpExport.js.map +1 -1
- package/dist/cjs/api/fiscal/br/DfeNfeProcIn.js +1 -1
- package/dist/cjs/api/fiscal/br/DfeNfeProcIn.js.map +1 -1
- package/dist/cjs/api/fiscal/br/DfeNfeProcOut.js +1 -1
- package/dist/cjs/api/fiscal/br/DfeNfeProcOut.js.map +1 -1
- package/dist/cjs/api/fiscal/fiscal.module.js +20 -8
- package/dist/cjs/api/fiscal/fiscal.module.js.map +1 -1
- package/dist/cjs/api/material/IncomingListItem.js +1 -0
- package/dist/cjs/api/material/IncomingListItem.js.map +1 -1
- package/dist/cjs/api/material/InventoryConfig.js +10 -0
- package/dist/cjs/api/material/InventoryConfig.js.map +1 -0
- package/dist/cjs/api/material/MaterialService.js +0 -8
- package/dist/cjs/api/material/MaterialService.js.map +1 -1
- package/dist/cjs/api/material/Stock.js +0 -1
- package/dist/cjs/api/material/Stock.js.map +1 -1
- package/dist/cjs/api/material/StockTransaction.js +2 -4
- package/dist/cjs/api/material/StockTransaction.js.map +1 -1
- package/dist/cjs/api/sale/ArgsSaleOpRelocate.js +8 -0
- package/dist/cjs/api/sale/ArgsSaleOpRelocate.js.map +1 -0
- package/dist/cjs/api/sale/Sale.js +1 -1
- package/dist/cjs/api/sale/Sale.js.map +1 -1
- package/dist/cjs/api/sale/SaleItem.js +1 -3
- package/dist/cjs/api/sale/SaleItem.js.map +1 -1
- package/dist/cjs/api/sale/SalePayment.js +1 -2
- package/dist/cjs/api/sale/SalePayment.js.map +1 -1
- 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/PurchaseItem.js +1 -3
- package/dist/cjs/api/supply/purchase/PurchaseItem.js.map +1 -1
- package/dist/cjs/api/supply/purchase/PurchasePayment.js +1 -2
- package/dist/cjs/api/supply/purchase/PurchasePayment.js.map +1 -1
- package/dist/cjs/api/supply/supply.module.js +17 -7
- package/dist/cjs/api/supply/supply.module.js.map +1 -1
- package/dist/cjs/api/system/SystemService.js +1 -1
- package/dist/cjs/api/system/Test.js +1 -0
- package/dist/cjs/api/system/Test.js.map +1 -1
- package/dist/cjs/api/system/data/DataSource.js +1 -0
- package/dist/cjs/api/system/data/DataSource.js.map +1 -1
- package/dist/cjs/api/system/info/InfoService.js +2 -2
- package/dist/cjs/api/system/mail/ArgsMessageOpSend.js +9 -0
- package/dist/cjs/api/system/mail/ArgsMessageOpSend.js.map +1 -0
- package/dist/cjs/api/system/report/ArgsReportCreate.js +12 -0
- package/dist/cjs/api/system/report/ArgsReportCreate.js.map +1 -0
- package/dist/cjs/api/system/security/SecurityService.js +3 -3
- package/dist/cjs/api/system/system.module.js +17 -7
- package/dist/cjs/api/system/system.module.js.map +1 -1
- package/dist/cjs/index.js +17 -7
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/Client.js +46 -46
- package/dist/esm/Client.js.map +1 -1
- package/dist/esm/api/financial/ArgsOpSettleEntryReplacement.js +4 -0
- package/dist/esm/api/financial/ArgsOpSettleEntryReplacement.js.map +1 -0
- package/dist/esm/api/financial/BillingTitle.js +3 -4
- package/dist/esm/api/financial/BillingTitle.js.map +1 -1
- package/dist/esm/api/financial/Payable.js +4 -5
- package/dist/esm/api/financial/Payable.js.map +1 -1
- package/dist/esm/api/financial/PayableSettlementBillingTitle.js +1 -2
- package/dist/esm/api/financial/PayableSettlementBillingTitle.js.map +1 -1
- package/dist/esm/api/financial/PayableSettlementMethod.js +1 -2
- package/dist/esm/api/financial/PayableSettlementMethod.js.map +1 -1
- package/dist/esm/api/financial/Receivable.js +4 -5
- package/dist/esm/api/financial/Receivable.js.map +1 -1
- package/dist/esm/api/financial/ReceivableSettlementBillingTitle.js +1 -2
- package/dist/esm/api/financial/ReceivableSettlementBillingTitle.js.map +1 -1
- package/dist/esm/api/financial/ReceivableSettlementMethod.js +1 -2
- package/dist/esm/api/financial/ReceivableSettlementMethod.js.map +1 -1
- package/dist/esm/api/financial/SettlementBillingTitle.js +1 -2
- package/dist/esm/api/financial/SettlementBillingTitle.js.map +1 -1
- package/dist/esm/api/financial/SettlementMethod.js +1 -2
- package/dist/esm/api/financial/SettlementMethod.js.map +1 -1
- package/dist/esm/api/financial/accounting/ArgsAccountCategoryOpFindByCodes.js +4 -0
- package/dist/esm/api/financial/accounting/ArgsAccountCategoryOpFindByCodes.js.map +1 -0
- package/dist/esm/api/financial/accounting/ArgsAccountChartOpImport.js +1 -0
- package/dist/esm/api/financial/accounting/ArgsAccountChartOpImport.js.map +1 -1
- package/dist/esm/api/financial/accounting/AssetTag.js +4 -2
- package/dist/esm/api/financial/accounting/AssetTag.js.map +1 -1
- package/dist/esm/api/financial/accounting/JournalItem.js +2 -1
- package/dist/esm/api/financial/accounting/JournalItem.js.map +1 -1
- package/dist/esm/api/financial/accounting/LedgerItem.js +2 -1
- package/dist/esm/api/financial/accounting/LedgerItem.js.map +1 -1
- package/dist/esm/api/financial/accounting/LedgerItemBalance.js +2 -1
- package/dist/esm/api/financial/accounting/LedgerItemBalance.js.map +1 -1
- package/dist/esm/api/financial/accounting/accounting.module.js +0 -1
- package/dist/esm/api/financial/accounting/accounting.module.js.map +1 -1
- package/dist/esm/api/fiscal/ArgsIncomingInvoiceOpCreate.js +2 -0
- package/dist/esm/api/fiscal/ArgsIncomingInvoiceOpCreate.js.map +1 -1
- package/dist/esm/api/fiscal/FiscalService.js +36 -6
- package/dist/esm/api/fiscal/FiscalService.js.map +1 -1
- package/dist/esm/api/fiscal/IncomingInvoiceItem.js +2 -3
- package/dist/esm/api/fiscal/IncomingInvoiceItem.js.map +1 -1
- package/dist/esm/api/fiscal/IncomingInvoicePayment.js +1 -2
- package/dist/esm/api/fiscal/IncomingInvoicePayment.js.map +1 -1
- package/dist/esm/api/fiscal/InvoiceItem.js +1 -2
- package/dist/esm/api/fiscal/InvoiceItem.js.map +1 -1
- package/dist/esm/api/fiscal/InvoiceItemAccounting.js +1 -2
- package/dist/esm/api/fiscal/InvoiceItemAccounting.js.map +1 -1
- package/dist/esm/api/fiscal/InvoicePayment.js +1 -2
- package/dist/esm/api/fiscal/InvoicePayment.js.map +1 -1
- package/dist/esm/api/fiscal/InvoiceReturn.js +9 -0
- package/dist/esm/api/fiscal/InvoiceReturn.js.map +1 -0
- package/dist/esm/api/fiscal/OutgoingInvoiceItem.js +2 -3
- package/dist/esm/api/fiscal/OutgoingInvoiceItem.js.map +1 -1
- package/dist/esm/api/fiscal/OutgoingInvoicePayment.js +1 -2
- package/dist/esm/api/fiscal/OutgoingInvoicePayment.js.map +1 -1
- package/dist/esm/api/fiscal/br/ArgsSpedOpExport.js +1 -0
- package/dist/esm/api/fiscal/br/ArgsSpedOpExport.js.map +1 -1
- package/dist/esm/api/fiscal/br/DfeNfeProcIn.js +1 -1
- package/dist/esm/api/fiscal/br/DfeNfeProcIn.js.map +1 -1
- package/dist/esm/api/fiscal/br/DfeNfeProcOut.js +1 -1
- package/dist/esm/api/fiscal/br/DfeNfeProcOut.js.map +1 -1
- package/dist/esm/api/fiscal/fiscal.module.js +1 -0
- package/dist/esm/api/fiscal/fiscal.module.js.map +1 -1
- package/dist/esm/api/material/IncomingListItem.js +1 -0
- package/dist/esm/api/material/IncomingListItem.js.map +1 -1
- package/dist/esm/api/material/InventoryConfig.js +6 -0
- package/dist/esm/api/material/InventoryConfig.js.map +1 -0
- package/dist/esm/api/material/MaterialService.js +0 -8
- package/dist/esm/api/material/MaterialService.js.map +1 -1
- package/dist/esm/api/material/Stock.js +0 -1
- package/dist/esm/api/material/Stock.js.map +1 -1
- package/dist/esm/api/material/StockTransaction.js +2 -4
- package/dist/esm/api/material/StockTransaction.js.map +1 -1
- package/dist/esm/api/sale/ArgsSaleOpRelocate.js +4 -0
- package/dist/esm/api/sale/ArgsSaleOpRelocate.js.map +1 -0
- package/dist/esm/api/sale/Sale.js +1 -1
- package/dist/esm/api/sale/Sale.js.map +1 -1
- package/dist/esm/api/sale/SaleItem.js +1 -3
- package/dist/esm/api/sale/SaleItem.js.map +1 -1
- package/dist/esm/api/sale/SalePayment.js +1 -2
- package/dist/esm/api/sale/SalePayment.js.map +1 -1
- 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/PurchaseItem.js +1 -3
- package/dist/esm/api/supply/purchase/PurchaseItem.js.map +1 -1
- package/dist/esm/api/supply/purchase/PurchasePayment.js +1 -2
- package/dist/esm/api/supply/purchase/PurchasePayment.js.map +1 -1
- package/dist/esm/api/system/SystemService.js +1 -1
- package/dist/esm/api/system/Test.js +1 -0
- package/dist/esm/api/system/Test.js.map +1 -1
- package/dist/esm/api/system/data/DataSource.js +1 -0
- package/dist/esm/api/system/data/DataSource.js.map +1 -1
- package/dist/esm/api/system/info/InfoService.js +2 -2
- package/dist/esm/api/system/mail/ArgsMessageOpSend.js +5 -0
- package/dist/esm/api/system/mail/ArgsMessageOpSend.js.map +1 -0
- package/dist/esm/api/system/report/ArgsReportCreate.js +8 -0
- package/dist/esm/api/system/report/ArgsReportCreate.js.map +1 -0
- package/dist/esm/api/system/security/SecurityService.js +3 -3
- package/dist/types/Client.d.ts +3 -3
- package/dist/types/api/financial/ArgsOpSettleEntryReplacement.d.ts +4 -0
- package/dist/types/api/financial/BillingTitle.d.ts +4 -6
- package/dist/types/api/financial/Payable.d.ts +5 -7
- package/dist/types/api/financial/PayableSettlementBillingTitle.d.ts +2 -4
- package/dist/types/api/financial/PayableSettlementMethod.d.ts +2 -4
- package/dist/types/api/financial/Receivable.d.ts +5 -7
- package/dist/types/api/financial/ReceivableSettlementBillingTitle.d.ts +2 -4
- package/dist/types/api/financial/ReceivableSettlementMethod.d.ts +2 -4
- package/dist/types/api/financial/SettlementBillingTitle.d.ts +2 -4
- package/dist/types/api/financial/SettlementMethod.d.ts +2 -4
- package/dist/types/api/financial/accounting/ArgsAccountCategoryOpFindByCodes.d.ts +3 -0
- package/dist/types/api/financial/accounting/ArgsAccountChartOpImport.d.ts +1 -0
- package/dist/types/api/financial/accounting/AssetTag.d.ts +6 -3
- package/dist/types/api/financial/accounting/JournalItem.d.ts +4 -2
- package/dist/types/api/financial/accounting/LedgerItem.d.ts +4 -2
- package/dist/types/api/financial/accounting/LedgerItemBalance.d.ts +4 -2
- package/dist/types/api/financial/accounting/accounting.module.d.ts +0 -1
- package/dist/types/api/fiscal/ArgsIncomingInvoiceOpCreate.d.ts +2 -0
- package/dist/types/api/fiscal/FiscalService.d.ts +7 -2
- package/dist/types/api/fiscal/IncomingInvoiceItem.d.ts +2 -5
- package/dist/types/api/fiscal/IncomingInvoicePayment.d.ts +2 -4
- package/dist/types/api/fiscal/InvoiceItem.d.ts +1 -4
- package/dist/types/api/fiscal/InvoiceItemAccounting.d.ts +2 -4
- package/dist/types/api/fiscal/InvoicePayment.d.ts +2 -4
- package/dist/types/api/fiscal/InvoiceReturn.d.ts +9 -0
- package/dist/types/api/fiscal/OutgoingInvoiceItem.d.ts +2 -5
- package/dist/types/api/fiscal/OutgoingInvoicePayment.d.ts +2 -4
- package/dist/types/api/fiscal/br/ArgsSpedOpExport.d.ts +1 -0
- package/dist/types/api/fiscal/br/DfeNfeProcIn.d.ts +1 -1
- package/dist/types/api/fiscal/br/DfeNfeProcOut.d.ts +1 -1
- package/dist/types/api/fiscal/fiscal.module.d.ts +1 -0
- package/dist/types/api/material/IncomingListItem.d.ts +2 -0
- package/dist/types/api/material/InventoryConfig.d.ts +5 -0
- package/dist/types/api/material/MaterialService.d.ts +0 -1
- package/dist/types/api/material/Stock.d.ts +0 -2
- package/dist/types/api/material/StockTransaction.d.ts +2 -5
- package/dist/types/api/sale/ArgsSaleOpRelocate.d.ts +3 -0
- package/dist/types/api/sale/Sale.d.ts +1 -1
- package/dist/types/api/sale/SaleItem.d.ts +2 -6
- package/dist/types/api/sale/SalePayment.d.ts +2 -4
- package/dist/types/api/supply/purchase/ArgsPurchaseOpRelocate.d.ts +3 -0
- package/dist/types/api/supply/purchase/PurchaseItem.d.ts +2 -6
- package/dist/types/api/supply/purchase/PurchasePayment.d.ts +2 -4
- package/dist/types/api/system/Test.d.ts +1 -0
- package/dist/types/api/system/data/DataSource.d.ts +1 -0
- package/dist/types/api/system/mail/ArgsMessageOpSend.d.ts +4 -0
- package/dist/types/api/system/report/ArgsReportCreate.d.ts +7 -0
- package/package.json +7 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sale.js","sourceRoot":"","sources":["../../../../src/api/sale/Sale.ts"],"names":[],"mappings":"AAcA,MAAM,OAAO,IAAI;IACf,EAAE,CAAU;IACZ,MAAM,CAAU;IAChB,OAAO,CAAW;IAClB,WAAW,CAAe;IAC1B,sBAAsB,CAA0B;IAChD,QAAQ,CAAY;IACpB,SAAS,CAAa;IACtB,MAAM,CAAU;IAChB,qBAAqB,CAAiB;IACtC,IAAI,CAAU;IACd,IAAI,CAAQ;IACZ,gBAAgB,CAAQ;IACxB,iBAAiB,CAAU;IAC3B,WAAW,CAAU;IACrB,cAAc,CAAU;IACxB,SAAS,CAAmB;IAC5B,QAAQ,CAAY;IACpB,UAAU,CAAU;IACpB,YAAY,CAAgB;IAC5B,QAAQ,CAAY;IACpB,
|
|
1
|
+
{"version":3,"file":"Sale.js","sourceRoot":"","sources":["../../../../src/api/sale/Sale.ts"],"names":[],"mappings":"AAcA,MAAM,OAAO,IAAI;IACf,EAAE,CAAU;IACZ,MAAM,CAAU;IAChB,OAAO,CAAW;IAClB,WAAW,CAAe;IAC1B,sBAAsB,CAA0B;IAChD,QAAQ,CAAY;IACpB,SAAS,CAAa;IACtB,MAAM,CAAU;IAChB,qBAAqB,CAAiB;IACtC,IAAI,CAAU;IACd,IAAI,CAAQ;IACZ,gBAAgB,CAAQ;IACxB,iBAAiB,CAAU;IAC3B,WAAW,CAAU;IACrB,cAAc,CAAU;IACxB,SAAS,CAAmB;IAC5B,QAAQ,CAAY;IACpB,UAAU,CAAU;IACpB,YAAY,CAAgB;IAC5B,QAAQ,CAAY;IACpB,OAAO,CAAmB;IAC1B,KAAK,CAAS;IACd,IAAI,CAAU;IACd,UAAU,CAAO;CAClB"}
|
|
@@ -3,7 +3,6 @@ export class SaleItem {
|
|
|
3
3
|
sale;
|
|
4
4
|
productPacking;
|
|
5
5
|
code;
|
|
6
|
-
fiscalProfileProduct;
|
|
7
6
|
taxationRule;
|
|
8
7
|
taxationOperation;
|
|
9
8
|
priceListValue;
|
|
@@ -24,9 +23,8 @@ export class SaleItem {
|
|
|
24
23
|
totalValue;
|
|
25
24
|
taxCompensationValue;
|
|
26
25
|
effectiveValue;
|
|
27
|
-
account;
|
|
28
|
-
accountComplement;
|
|
29
26
|
schedule;
|
|
27
|
+
assetTag;
|
|
30
28
|
tags;
|
|
31
29
|
properties;
|
|
32
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SaleItem.js","sourceRoot":"","sources":["../../../../src/api/sale/SaleItem.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SaleItem.js","sourceRoot":"","sources":["../../../../src/api/sale/SaleItem.ts"],"names":[],"mappings":"AAQA,MAAM,OAAO,QAAQ;IACnB,EAAE,CAAU;IACZ,IAAI,CAAQ;IACZ,cAAc,CAAkB;IAChC,IAAI,CAAU;IACd,YAAY,CAAgB;IAC5B,iBAAiB,CAAqB;IACtC,cAAc,CAAU;IACxB,QAAQ,CAAU;IAClB,cAAc,CAAU;IACxB,SAAS,CAAU;IACnB,QAAQ,CAAY;IACpB,aAAa,CAAU;IACvB,iBAAiB,CAAU;IAC3B,YAAY,CAAU;IACtB,cAAc,CAAU;IACxB,aAAa,CAAU;IACvB,YAAY,CAAU;IACtB,WAAW,CAAsB;IACjC,cAAc,CAAU;IACxB,cAAc,CAAU;IACxB,eAAe,CAAU;IACzB,UAAU,CAAU;IACpB,oBAAoB,CAAU;IAC9B,cAAc,CAAU;IACxB,QAAQ,CAAgB;IACxB,QAAQ,CAAY;IACpB,IAAI,CAAU;IACd,UAAU,CAAO;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SalePayment.js","sourceRoot":"","sources":["../../../../src/api/sale/SalePayment.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SalePayment.js","sourceRoot":"","sources":["../../../../src/api/sale/SalePayment.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,WAAW;IACtB,EAAE,CAAU;IACZ,IAAI,CAAQ;IACZ,IAAI,CAAU;IACd,IAAI,CAAU;IACd,KAAK,CAAU;IACf,QAAQ,CAAY;IACpB,IAAI,CAAU;IACd,UAAU,CAAO;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArgsPurchaseOpRelocate.js","sourceRoot":"","sources":["../../../../../src/api/supply/purchase/ArgsPurchaseOpRelocate.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,sBAAsB;IACjC,KAAK,CAAO;CACb"}
|
|
@@ -3,7 +3,6 @@ export class PurchaseItem {
|
|
|
3
3
|
purchase;
|
|
4
4
|
productPacking;
|
|
5
5
|
code;
|
|
6
|
-
fiscalProfileProduct;
|
|
7
6
|
taxationRule;
|
|
8
7
|
taxationOperation;
|
|
9
8
|
priceListValue;
|
|
@@ -25,8 +24,7 @@ export class PurchaseItem {
|
|
|
25
24
|
totalValue;
|
|
26
25
|
taxCompensationValue;
|
|
27
26
|
effectiveValue;
|
|
28
|
-
|
|
29
|
-
accountComplement;
|
|
27
|
+
assetTag;
|
|
30
28
|
tags;
|
|
31
29
|
properties;
|
|
32
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PurchaseItem.js","sourceRoot":"","sources":["../../../../../src/api/supply/purchase/PurchaseItem.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PurchaseItem.js","sourceRoot":"","sources":["../../../../../src/api/supply/purchase/PurchaseItem.ts"],"names":[],"mappings":"AAQA,MAAM,OAAO,YAAY;IACvB,EAAE,CAAU;IACZ,QAAQ,CAAY;IACpB,cAAc,CAAkB;IAChC,IAAI,CAAU;IACd,YAAY,CAAgB;IAC5B,iBAAiB,CAAqB;IACtC,cAAc,CAAU;IACxB,IAAI,CAAQ;IACZ,QAAQ,CAAU;IAClB,gBAAgB,CAAU;IAC1B,cAAc,CAAU;IACxB,SAAS,CAAU;IACnB,QAAQ,CAAY;IACpB,iBAAiB,CAAU;IAC3B,YAAY,CAAU;IACtB,cAAc,CAAU;IACxB,aAAa,CAAU;IACvB,YAAY,CAAU;IACtB,WAAW,CAAsB;IACjC,cAAc,CAAU;IACxB,cAAc,CAAU;IACxB,eAAe,CAAU;IACzB,UAAU,CAAU;IACpB,oBAAoB,CAAU;IAC9B,cAAc,CAAU;IACxB,QAAQ,CAAY;IACpB,IAAI,CAAU;IACd,UAAU,CAAO;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PurchasePayment.js","sourceRoot":"","sources":["../../../../../src/api/supply/purchase/PurchasePayment.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PurchasePayment.js","sourceRoot":"","sources":["../../../../../src/api/supply/purchase/PurchasePayment.ts"],"names":[],"mappings":"AAGA,MAAM,OAAO,eAAe;IAC1B,EAAE,CAAU;IACZ,QAAQ,CAAY;IACpB,IAAI,CAAU;IACd,IAAI,CAAU;IACd,KAAK,CAAU;IACf,QAAQ,CAAY;IACpB,IAAI,CAAU;IACd,UAAU,CAAO;CAClB"}
|
|
@@ -46,7 +46,7 @@ export class SystemService {
|
|
|
46
46
|
sp.set("waitTime", String(waitTime));
|
|
47
47
|
if (leaseTime)
|
|
48
48
|
sp.set("leaseTime", String(leaseTime));
|
|
49
|
-
return this.#client.web.
|
|
49
|
+
return this.#client.web.fetchText(`/system/lockOpAcquire?${sp.toString()}`, {
|
|
50
50
|
method: "POST",
|
|
51
51
|
});
|
|
52
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Test.js","sourceRoot":"","sources":["../../../../src/api/system/Test.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,IAAI;IACf,cAAc,CAAU;IACxB,WAAW,CAAW;IACtB,aAAa,CAAO;IACpB,WAAW,CAAU;IACrB,aAAa,CAAQ;IACrB,iBAAiB,CAAQ;IACzB,QAAQ,CAAU;IAClB,UAAU,CAAU;IACpB,iBAAiB,CAAQ;
|
|
1
|
+
{"version":3,"file":"Test.js","sourceRoot":"","sources":["../../../../src/api/system/Test.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,IAAI;IACf,cAAc,CAAU;IACxB,WAAW,CAAW;IACtB,aAAa,CAAO;IACpB,WAAW,CAAU;IACrB,aAAa,CAAQ;IACrB,iBAAiB,CAAQ;IACzB,QAAQ,CAAU;IAClB,UAAU,CAAU;IACpB,iBAAiB,CAAQ;IACzB,MAAM,CAAU;CACjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSource.js","sourceRoot":"","sources":["../../../../../src/api/system/data/DataSource.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,UAAU;IACrB,EAAE,CAAU;IACZ,IAAI,CAAU;IACd,IAAI,CAAU;IACd,GAAG,CAAU;IACb,WAAW,CAAe;IAC1B,IAAI,CAAU;IACd,UAAU,CAAO;CAClB"}
|
|
1
|
+
{"version":3,"file":"DataSource.js","sourceRoot":"","sources":["../../../../../src/api/system/data/DataSource.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,UAAU;IACrB,EAAE,CAAU;IACZ,IAAI,CAAU;IACd,IAAI,CAAU;IACd,GAAG,CAAU;IACb,WAAW,CAAe;IAC1B,QAAQ,CAAc;IACtB,IAAI,CAAU;IACd,UAAU,CAAO;CAClB"}
|
|
@@ -4,12 +4,12 @@ export class InfoService {
|
|
|
4
4
|
this.#client = client;
|
|
5
5
|
}
|
|
6
6
|
async healthRead() {
|
|
7
|
-
return this.#client.web.
|
|
7
|
+
return this.#client.web.fetchText("/system/info/health", {
|
|
8
8
|
method: "GET",
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
11
|
async metricsRead() {
|
|
12
|
-
return this.#client.web.
|
|
12
|
+
return this.#client.web.fetchText("/system/info/metrics", {
|
|
13
13
|
method: "GET",
|
|
14
14
|
});
|
|
15
15
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArgsMessageOpSend.js","sourceRoot":"","sources":["../../../../../src/api/system/mail/ArgsMessageOpSend.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,iBAAiB;IAC5B,cAAc,CAAU;IACxB,gBAAgB,CAAU;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArgsReportCreate.js","sourceRoot":"","sources":["../../../../../src/api/system/report/ArgsReportCreate.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,gBAAgB;IAC3B,IAAI,CAAU;IACd,IAAI,CAAU;IACd,QAAQ,CAAO;IACf,IAAI,CAAU;IACd,UAAU,CAAO;CAClB"}
|
|
@@ -267,12 +267,12 @@ export class SecurityService {
|
|
|
267
267
|
});
|
|
268
268
|
}
|
|
269
269
|
async tokenOpRenew() {
|
|
270
|
-
return this.#client.web.
|
|
270
|
+
return this.#client.web.fetchText("/system/security/tokenOpRenew", {
|
|
271
271
|
method: "POST",
|
|
272
272
|
});
|
|
273
273
|
}
|
|
274
274
|
async tokenOpRequest(args) {
|
|
275
|
-
return this.#client.web.
|
|
275
|
+
return this.#client.web.fetchText("/system/security/tokenOpRequest", {
|
|
276
276
|
method: "POST",
|
|
277
277
|
headers: {
|
|
278
278
|
"content-type": "application/json",
|
|
@@ -282,7 +282,7 @@ export class SecurityService {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
async tokenOpRequestPermanent(args) {
|
|
285
|
-
return this.#client.web.
|
|
285
|
+
return this.#client.web.fetchText("/system/security/tokenOpRequestPermanent", {
|
|
286
286
|
method: "POST",
|
|
287
287
|
headers: {
|
|
288
288
|
"content-type": "application/json",
|
package/dist/types/Client.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { I18n } from "./I18n.js";
|
|
|
2
2
|
import Web from "./Web.js";
|
|
3
3
|
export declare class Client {
|
|
4
4
|
#private;
|
|
5
|
-
constructor(tenant: string, token: string);
|
|
5
|
+
constructor(tenant: string, token: string, properties?: any);
|
|
6
6
|
close(): Promise<void>;
|
|
7
7
|
fetch(input: string | URL | globalThis.Request, init?: RequestInit): Promise<Response>;
|
|
8
8
|
get i18n(): Promise<I18n>;
|
|
@@ -13,5 +13,5 @@ export declare class Client {
|
|
|
13
13
|
get user(): any;
|
|
14
14
|
get web(): Web;
|
|
15
15
|
}
|
|
16
|
-
export declare function createFromToken(
|
|
17
|
-
export declare function connect(
|
|
16
|
+
export declare function createFromToken(tenant: string, token: string, properties?: any): Client;
|
|
17
|
+
export declare function connect(tenant: string, user: string, password: string, properties?: any): Promise<Client>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AccountComplement } from "./accounting/AccountComplement.js";
|
|
1
|
+
import { AssetTag } from "./accounting/AssetTag.js";
|
|
3
2
|
import { Company } from "../catalog/company/Company.js";
|
|
4
3
|
import { Person } from "../catalog/person/Person.js";
|
|
5
4
|
import { Wallet } from "./billing/Wallet.js";
|
|
@@ -18,17 +17,16 @@ export declare class BillingTitle {
|
|
|
18
17
|
date: Date;
|
|
19
18
|
issueDate: Date;
|
|
20
19
|
dueDate: Date;
|
|
20
|
+
settlementDate: Date;
|
|
21
21
|
value: number;
|
|
22
22
|
valueSettlement: number;
|
|
23
23
|
valueDiscount: number;
|
|
24
24
|
valueRenegotiation: number;
|
|
25
25
|
valueAddition: number;
|
|
26
26
|
balance: number;
|
|
27
|
-
account: Account;
|
|
28
|
-
accountComplement: AccountComplement;
|
|
29
|
-
accountCounterpart: Account;
|
|
30
|
-
accountComplementCounterpart: AccountComplement;
|
|
31
27
|
wallet: Wallet;
|
|
28
|
+
assetTag: AssetTag;
|
|
29
|
+
assetTagCounterpart: AssetTag;
|
|
32
30
|
tags: string;
|
|
33
31
|
properties: any;
|
|
34
32
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AccountComplement } from "./accounting/AccountComplement.js";
|
|
1
|
+
import { AssetTag } from "./accounting/AssetTag.js";
|
|
3
2
|
import { Company } from "../catalog/company/Company.js";
|
|
4
3
|
import { IncomingInvoice } from "../fiscal/IncomingInvoice.js";
|
|
5
4
|
import { Person } from "../catalog/person/Person.js";
|
|
6
5
|
import { Wallet } from "./billing/Wallet.js";
|
|
7
6
|
export declare class Payable {
|
|
8
|
-
|
|
7
|
+
invoice: IncomingInvoice;
|
|
9
8
|
id: number;
|
|
10
9
|
status: string;
|
|
11
10
|
source: string;
|
|
@@ -20,17 +19,16 @@ export declare class Payable {
|
|
|
20
19
|
date: Date;
|
|
21
20
|
issueDate: Date;
|
|
22
21
|
dueDate: Date;
|
|
22
|
+
settlementDate: Date;
|
|
23
23
|
value: number;
|
|
24
24
|
valueSettlement: number;
|
|
25
25
|
valueDiscount: number;
|
|
26
26
|
valueRenegotiation: number;
|
|
27
27
|
valueAddition: number;
|
|
28
28
|
balance: number;
|
|
29
|
-
account: Account;
|
|
30
|
-
accountComplement: AccountComplement;
|
|
31
|
-
accountCounterpart: Account;
|
|
32
|
-
accountComplementCounterpart: AccountComplement;
|
|
33
29
|
wallet: Wallet;
|
|
30
|
+
assetTag: AssetTag;
|
|
31
|
+
assetTagCounterpart: AssetTag;
|
|
34
32
|
tags: string;
|
|
35
33
|
properties: any;
|
|
36
34
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AccountComplement } from "./accounting/AccountComplement.js";
|
|
1
|
+
import { AssetTag } from "./accounting/AssetTag.js";
|
|
3
2
|
import { BillingTitle } from "./BillingTitle.js";
|
|
4
3
|
import { Settlement } from "./Settlement.js";
|
|
5
4
|
export declare class PayableSettlementBillingTitle {
|
|
@@ -7,7 +6,6 @@ export declare class PayableSettlementBillingTitle {
|
|
|
7
6
|
settlement: Settlement;
|
|
8
7
|
billingTitle: BillingTitle;
|
|
9
8
|
type: string;
|
|
10
|
-
account: Account;
|
|
11
|
-
accountComplement: AccountComplement;
|
|
12
9
|
value: number;
|
|
10
|
+
assetTag: AssetTag;
|
|
13
11
|
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AccountComplement } from "./accounting/AccountComplement.js";
|
|
1
|
+
import { AssetTag } from "./accounting/AssetTag.js";
|
|
3
2
|
import { BillingTitle } from "./BillingTitle.js";
|
|
4
3
|
import { Settlement } from "./Settlement.js";
|
|
5
4
|
export declare class PayableSettlementMethod {
|
|
6
5
|
id: number;
|
|
7
6
|
settlement: Settlement;
|
|
8
7
|
type: string;
|
|
9
|
-
account: Account;
|
|
10
|
-
accountComplement: AccountComplement;
|
|
11
8
|
value: number;
|
|
12
9
|
billingTitle: BillingTitle;
|
|
10
|
+
assetTag: AssetTag;
|
|
13
11
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AccountComplement } from "./accounting/AccountComplement.js";
|
|
1
|
+
import { AssetTag } from "./accounting/AssetTag.js";
|
|
3
2
|
import { Company } from "../catalog/company/Company.js";
|
|
4
3
|
import { OutgoingInvoice } from "../fiscal/OutgoingInvoice.js";
|
|
5
4
|
import { Person } from "../catalog/person/Person.js";
|
|
6
5
|
import { Wallet } from "./billing/Wallet.js";
|
|
7
6
|
export declare class Receivable {
|
|
8
|
-
|
|
7
|
+
invoice: OutgoingInvoice;
|
|
9
8
|
id: number;
|
|
10
9
|
status: string;
|
|
11
10
|
source: string;
|
|
@@ -20,17 +19,16 @@ export declare class Receivable {
|
|
|
20
19
|
date: Date;
|
|
21
20
|
issueDate: Date;
|
|
22
21
|
dueDate: Date;
|
|
22
|
+
settlementDate: Date;
|
|
23
23
|
value: number;
|
|
24
24
|
valueSettlement: number;
|
|
25
25
|
valueDiscount: number;
|
|
26
26
|
valueRenegotiation: number;
|
|
27
27
|
valueAddition: number;
|
|
28
28
|
balance: number;
|
|
29
|
-
account: Account;
|
|
30
|
-
accountComplement: AccountComplement;
|
|
31
|
-
accountCounterpart: Account;
|
|
32
|
-
accountComplementCounterpart: AccountComplement;
|
|
33
29
|
wallet: Wallet;
|
|
30
|
+
assetTag: AssetTag;
|
|
31
|
+
assetTagCounterpart: AssetTag;
|
|
34
32
|
tags: string;
|
|
35
33
|
properties: any;
|
|
36
34
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AccountComplement } from "./accounting/AccountComplement.js";
|
|
1
|
+
import { AssetTag } from "./accounting/AssetTag.js";
|
|
3
2
|
import { BillingTitle } from "./BillingTitle.js";
|
|
4
3
|
import { Settlement } from "./Settlement.js";
|
|
5
4
|
export declare class ReceivableSettlementBillingTitle {
|
|
@@ -7,7 +6,6 @@ export declare class ReceivableSettlementBillingTitle {
|
|
|
7
6
|
settlement: Settlement;
|
|
8
7
|
billingTitle: BillingTitle;
|
|
9
8
|
type: string;
|
|
10
|
-
account: Account;
|
|
11
|
-
accountComplement: AccountComplement;
|
|
12
9
|
value: number;
|
|
10
|
+
assetTag: AssetTag;
|
|
13
11
|
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AccountComplement } from "./accounting/AccountComplement.js";
|
|
1
|
+
import { AssetTag } from "./accounting/AssetTag.js";
|
|
3
2
|
import { BillingTitle } from "./BillingTitle.js";
|
|
4
3
|
import { Settlement } from "./Settlement.js";
|
|
5
4
|
export declare class ReceivableSettlementMethod {
|
|
6
5
|
id: number;
|
|
7
6
|
settlement: Settlement;
|
|
8
7
|
type: string;
|
|
9
|
-
account: Account;
|
|
10
|
-
accountComplement: AccountComplement;
|
|
11
8
|
value: number;
|
|
12
9
|
billingTitle: BillingTitle;
|
|
10
|
+
assetTag: AssetTag;
|
|
13
11
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AccountComplement } from "./accounting/AccountComplement.js";
|
|
1
|
+
import { AssetTag } from "./accounting/AssetTag.js";
|
|
3
2
|
import { BillingTitle } from "./BillingTitle.js";
|
|
4
3
|
import { Settlement } from "./Settlement.js";
|
|
5
4
|
export declare class SettlementBillingTitle {
|
|
@@ -7,7 +6,6 @@ export declare class SettlementBillingTitle {
|
|
|
7
6
|
settlement: Settlement;
|
|
8
7
|
billingTitle: BillingTitle;
|
|
9
8
|
type: string;
|
|
10
|
-
account: Account;
|
|
11
|
-
accountComplement: AccountComplement;
|
|
12
9
|
value: number;
|
|
10
|
+
assetTag: AssetTag;
|
|
13
11
|
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AccountComplement } from "./accounting/AccountComplement.js";
|
|
1
|
+
import { AssetTag } from "./accounting/AssetTag.js";
|
|
3
2
|
import { BillingTitle } from "./BillingTitle.js";
|
|
4
3
|
import { Settlement } from "./Settlement.js";
|
|
5
4
|
export declare class SettlementMethod {
|
|
6
5
|
id: number;
|
|
7
6
|
settlement: Settlement;
|
|
8
7
|
type: string;
|
|
9
|
-
account: Account;
|
|
10
|
-
accountComplement: AccountComplement;
|
|
11
8
|
value: number;
|
|
12
9
|
billingTitle: BillingTitle;
|
|
10
|
+
assetTag: AssetTag;
|
|
13
11
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { Account } from "./Account.js";
|
|
2
|
-
import { AccountComplement } from "./AccountComplement.js";
|
|
3
2
|
import { FiscalProfileProduct } from "../../fiscal/FiscalProfileProduct.js";
|
|
3
|
+
import { Person } from "../../catalog/person/Person.js";
|
|
4
|
+
import { ResultCenter } from "./ResultCenter.js";
|
|
4
5
|
export declare class AssetTag {
|
|
5
6
|
id: number;
|
|
6
|
-
fiscalProfileProduct: FiscalProfileProduct;
|
|
7
7
|
account: Account;
|
|
8
|
-
|
|
8
|
+
resultCenter: ResultCenter;
|
|
9
|
+
fiscalProfileProduct: FiscalProfileProduct;
|
|
10
|
+
person: Person;
|
|
11
|
+
batchId: number;
|
|
9
12
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { Account } from "./Account.js";
|
|
2
|
-
import { AccountComplement } from "./AccountComplement.js";
|
|
3
2
|
import { JournalEntry } from "./JournalEntry.js";
|
|
3
|
+
import { Person } from "../../catalog/person/Person.js";
|
|
4
|
+
import { ResultCenter } from "./ResultCenter.js";
|
|
4
5
|
export declare class JournalItem {
|
|
5
6
|
id: number;
|
|
6
7
|
journalEntry: JournalEntry;
|
|
7
8
|
account: Account;
|
|
8
|
-
|
|
9
|
+
resultCenter: ResultCenter;
|
|
10
|
+
person: Person;
|
|
9
11
|
value: number;
|
|
10
12
|
sign: string;
|
|
11
13
|
description: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Account } from "./Account.js";
|
|
2
|
-
import { AccountComplement } from "./AccountComplement.js";
|
|
3
2
|
import { Company } from "../../catalog/company/Company.js";
|
|
4
3
|
import { FiscalYear } from "../../fiscal/FiscalYear.js";
|
|
5
4
|
import { JournalEntry } from "./JournalEntry.js";
|
|
5
|
+
import { Person } from "../../catalog/person/Person.js";
|
|
6
|
+
import { ResultCenter } from "./ResultCenter.js";
|
|
6
7
|
export declare class LedgerItem {
|
|
7
8
|
id: number;
|
|
8
9
|
journalEntry: JournalEntry;
|
|
@@ -10,7 +11,8 @@ export declare class LedgerItem {
|
|
|
10
11
|
fiscalYear: FiscalYear;
|
|
11
12
|
date: Date;
|
|
12
13
|
account: Account;
|
|
13
|
-
|
|
14
|
+
resultCenter: ResultCenter;
|
|
15
|
+
person: Person;
|
|
14
16
|
accountCounterpart: Account;
|
|
15
17
|
value: number;
|
|
16
18
|
sign: string;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { Account } from "./Account.js";
|
|
2
|
-
import { AccountComplement } from "./AccountComplement.js";
|
|
3
2
|
import { Company } from "../../catalog/company/Company.js";
|
|
4
3
|
import { FiscalYear } from "../../fiscal/FiscalYear.js";
|
|
4
|
+
import { Person } from "../../catalog/person/Person.js";
|
|
5
|
+
import { ResultCenter } from "./ResultCenter.js";
|
|
5
6
|
export declare class LedgerItemBalance {
|
|
6
7
|
company: Company;
|
|
7
8
|
fiscalYear: FiscalYear;
|
|
8
9
|
account: Account;
|
|
9
|
-
|
|
10
|
+
resultCenter: ResultCenter;
|
|
11
|
+
person: Person;
|
|
10
12
|
value: number;
|
|
11
13
|
}
|
|
@@ -2,7 +2,6 @@ export { AccountingService } from "./AccountingService.js";
|
|
|
2
2
|
export { Account } from "./Account.js";
|
|
3
3
|
export { AccountCategory } from "./AccountCategory.js";
|
|
4
4
|
export { AccountChart } from "./AccountChart.js";
|
|
5
|
-
export { AccountComplement } from "./AccountComplement.js";
|
|
6
5
|
export { AccountConversion } from "./AccountConversion.js";
|
|
7
6
|
export { AccountConversionChart } from "./AccountConversionChart.js";
|
|
8
7
|
export { AccountDefault } from "./AccountDefault.js";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Client } from "../../Client.js";
|
|
2
|
-
import { ArgsIncomingInvoiceOpApprove } from "./ArgsIncomingInvoiceOpApprove.js";
|
|
3
2
|
import { ArgsIncomingInvoiceOpCreate } from "./ArgsIncomingInvoiceOpCreate.js";
|
|
4
3
|
import { ArgsIncomingInvoiceOpCreateFromIncomingList } from "./ArgsIncomingInvoiceOpCreateFromIncomingList.js";
|
|
5
4
|
import { ArgsInvoiceOpReturn } from "./ArgsInvoiceOpReturn.js";
|
|
@@ -16,6 +15,7 @@ import { IncomingInvoiceItem } from "./IncomingInvoiceItem.js";
|
|
|
16
15
|
import { InvoiceItemAccounting } from "./InvoiceItemAccounting.js";
|
|
17
16
|
import { InvoicePayment } from "./InvoicePayment.js";
|
|
18
17
|
import { InvoiceReference } from "./InvoiceReference.js";
|
|
18
|
+
import { InvoiceReturn } from "./InvoiceReturn.js";
|
|
19
19
|
import { InvoiceSeries } from "./InvoiceSeries.js";
|
|
20
20
|
import { OutgoingInvoice } from "./OutgoingInvoice.js";
|
|
21
21
|
import { OutgoingInvoiceItem } from "./OutgoingInvoiceItem.js";
|
|
@@ -62,7 +62,7 @@ export declare class FiscalService {
|
|
|
62
62
|
incomingInvoiceItemReadById(id: number): Promise<IncomingInvoiceItem>;
|
|
63
63
|
incomingInvoiceItemUpdate(bean: IncomingInvoiceItem): Promise<IncomingInvoiceItem>;
|
|
64
64
|
incomingInvoiceOpApprove(id: number): Promise<IncomingInvoice>;
|
|
65
|
-
incomingInvoiceOpApproveDivergences(id: number
|
|
65
|
+
incomingInvoiceOpApproveDivergences(id: number): Promise<IncomingInvoice>;
|
|
66
66
|
incomingInvoiceOpApproveRevert(id: number): Promise<IncomingInvoice>;
|
|
67
67
|
incomingInvoiceOpCreate(args: ArgsIncomingInvoiceOpCreate): Promise<IncomingInvoice>;
|
|
68
68
|
incomingInvoiceOpCreateFromIncomingList(args: ArgsIncomingInvoiceOpCreateFromIncomingList): Promise<IncomingInvoice>;
|
|
@@ -91,6 +91,11 @@ export declare class FiscalService {
|
|
|
91
91
|
invoiceReferenceRead(search: any): Promise<InvoiceReference[]>;
|
|
92
92
|
invoiceReferenceReadById(id: number): Promise<InvoiceReference>;
|
|
93
93
|
invoiceReferenceUpdate(bean: InvoiceReference): Promise<InvoiceReference>;
|
|
94
|
+
invoiceReturnCreate(bean: InvoiceReturn): Promise<InvoiceReturn>;
|
|
95
|
+
invoiceReturnDelete(id: number): Promise<InvoiceReturn>;
|
|
96
|
+
invoiceReturnRead(search: any): Promise<InvoiceReturn[]>;
|
|
97
|
+
invoiceReturnReadById(id: number): Promise<InvoiceReturn>;
|
|
98
|
+
invoiceReturnUpdate(bean: InvoiceReturn): Promise<InvoiceReturn>;
|
|
94
99
|
invoiceSeriesCreate(bean: InvoiceSeries): Promise<InvoiceSeries>;
|
|
95
100
|
invoiceSeriesDelete(id: number): Promise<InvoiceSeries>;
|
|
96
101
|
invoiceSeriesOpGetNextNumber(id: number): Promise<number>;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { Account } from "../financial/accounting/Account.js";
|
|
2
|
-
import { AccountComplement } from "../financial/accounting/AccountComplement.js";
|
|
3
1
|
import { AssetTag } from "../financial/accounting/AssetTag.js";
|
|
4
2
|
import { IncomingInvoice } from "./IncomingInvoice.js";
|
|
5
3
|
import { ProductPacking } from "../catalog/product/ProductPacking.js";
|
|
@@ -8,7 +6,7 @@ import { TaxationOperation } from "./taxation/TaxationOperation.js";
|
|
|
8
6
|
import { TaxationRule } from "./taxation/TaxationRule.js";
|
|
9
7
|
import { Unit } from "../catalog/product/Unit.js";
|
|
10
8
|
export declare class IncomingInvoiceItem {
|
|
11
|
-
|
|
9
|
+
invoice: IncomingInvoice;
|
|
12
10
|
purchase: Purchase;
|
|
13
11
|
OTHER_VALUES_FREIGHT: string;
|
|
14
12
|
OTHER_VALUES_INSURANCE: string;
|
|
@@ -37,8 +35,7 @@ export declare class IncomingInvoiceItem {
|
|
|
37
35
|
taxCompensationValue: number;
|
|
38
36
|
effectiveValue: number;
|
|
39
37
|
assetTag: AssetTag;
|
|
40
|
-
|
|
41
|
-
accountComplement: AccountComplement;
|
|
38
|
+
returnedQuantity: number;
|
|
42
39
|
tags: string;
|
|
43
40
|
properties: any;
|
|
44
41
|
}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AccountComplement } from "../financial/accounting/AccountComplement.js";
|
|
1
|
+
import { AssetTag } from "../financial/accounting/AssetTag.js";
|
|
3
2
|
import { Invoice } from "./Invoice.js";
|
|
4
3
|
export declare class IncomingInvoicePayment {
|
|
5
4
|
id: number;
|
|
6
5
|
invoice: Invoice;
|
|
7
6
|
type: string;
|
|
8
|
-
account: Account;
|
|
9
|
-
accountComplement: AccountComplement;
|
|
10
7
|
dueDate: Date;
|
|
11
8
|
value: number;
|
|
9
|
+
assetTag: AssetTag;
|
|
12
10
|
tags: string;
|
|
13
11
|
properties: any;
|
|
14
12
|
}
|