@zensoftbr/zenerpclient 1.0.28 → 1.0.30

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.
Files changed (181) hide show
  1. package/README.tips.md +17 -0
  2. package/dist/cjs/Client.js +2 -3
  3. package/dist/cjs/Client.js.map +1 -1
  4. package/dist/cjs/Web.js +24 -0
  5. package/dist/cjs/Web.js.map +1 -1
  6. package/dist/cjs/api/catalog/company/CompanyService.js +4 -1
  7. package/dist/cjs/api/catalog/company/CompanyService.js.map +1 -1
  8. package/dist/cjs/api/financial/BillingTitle.js +4 -3
  9. package/dist/cjs/api/financial/BillingTitle.js.map +1 -1
  10. package/dist/cjs/api/financial/Payable.js +5 -4
  11. package/dist/cjs/api/financial/Payable.js.map +1 -1
  12. package/dist/cjs/api/financial/PayableSettlementBillingTitle.js +2 -1
  13. package/dist/cjs/api/financial/PayableSettlementBillingTitle.js.map +1 -1
  14. package/dist/cjs/api/financial/PayableSettlementMethod.js +2 -1
  15. package/dist/cjs/api/financial/PayableSettlementMethod.js.map +1 -1
  16. package/dist/cjs/api/financial/Receivable.js +5 -4
  17. package/dist/cjs/api/financial/Receivable.js.map +1 -1
  18. package/dist/cjs/api/financial/ReceivableSettlementBillingTitle.js +2 -1
  19. package/dist/cjs/api/financial/ReceivableSettlementBillingTitle.js.map +1 -1
  20. package/dist/cjs/api/financial/ReceivableSettlementMethod.js +2 -1
  21. package/dist/cjs/api/financial/ReceivableSettlementMethod.js.map +1 -1
  22. package/dist/cjs/api/financial/SettlementBillingTitle.js +2 -1
  23. package/dist/cjs/api/financial/SettlementBillingTitle.js.map +1 -1
  24. package/dist/cjs/api/financial/SettlementMethod.js +2 -1
  25. package/dist/cjs/api/financial/SettlementMethod.js.map +1 -1
  26. package/dist/cjs/api/financial/accounting/ArgsAccountChartOpImport.js +0 -1
  27. package/dist/cjs/api/financial/accounting/ArgsAccountChartOpImport.js.map +1 -1
  28. package/dist/cjs/api/financial/accounting/AssetTag.js +2 -4
  29. package/dist/cjs/api/financial/accounting/AssetTag.js.map +1 -1
  30. package/dist/cjs/api/financial/accounting/JournalItem.js +1 -2
  31. package/dist/cjs/api/financial/accounting/JournalItem.js.map +1 -1
  32. package/dist/cjs/api/financial/accounting/LedgerItem.js +1 -2
  33. package/dist/cjs/api/financial/accounting/LedgerItem.js.map +1 -1
  34. package/dist/cjs/api/financial/accounting/LedgerItemBalance.js +1 -2
  35. package/dist/cjs/api/financial/accounting/LedgerItemBalance.js.map +1 -1
  36. package/dist/cjs/api/financial/accounting/accounting.module.js +3 -1
  37. package/dist/cjs/api/financial/accounting/accounting.module.js.map +1 -1
  38. package/dist/cjs/api/fiscal/ArgsIncomingInvoiceOpCreate.js +0 -2
  39. package/dist/cjs/api/fiscal/ArgsIncomingInvoiceOpCreate.js.map +1 -1
  40. package/dist/cjs/api/fiscal/FiscalService.js +6 -36
  41. package/dist/cjs/api/fiscal/FiscalService.js.map +1 -1
  42. package/dist/cjs/api/fiscal/IncomingInvoiceItem.js +3 -2
  43. package/dist/cjs/api/fiscal/IncomingInvoiceItem.js.map +1 -1
  44. package/dist/cjs/api/fiscal/IncomingInvoicePayment.js +2 -1
  45. package/dist/cjs/api/fiscal/IncomingInvoicePayment.js.map +1 -1
  46. package/dist/cjs/api/fiscal/InvoiceItem.js +2 -1
  47. package/dist/cjs/api/fiscal/InvoiceItem.js.map +1 -1
  48. package/dist/cjs/api/fiscal/InvoiceItemAccounting.js +2 -1
  49. package/dist/cjs/api/fiscal/InvoiceItemAccounting.js.map +1 -1
  50. package/dist/cjs/api/fiscal/InvoicePayment.js +2 -1
  51. package/dist/cjs/api/fiscal/InvoicePayment.js.map +1 -1
  52. package/dist/cjs/api/fiscal/OutgoingInvoiceItem.js +3 -2
  53. package/dist/cjs/api/fiscal/OutgoingInvoiceItem.js.map +1 -1
  54. package/dist/cjs/api/fiscal/OutgoingInvoicePayment.js +2 -1
  55. package/dist/cjs/api/fiscal/OutgoingInvoicePayment.js.map +1 -1
  56. package/dist/cjs/api/fiscal/br/DfeNfeProcIn.js +1 -1
  57. package/dist/cjs/api/fiscal/br/DfeNfeProcIn.js.map +1 -1
  58. package/dist/cjs/api/fiscal/br/DfeNfeProcOut.js +1 -1
  59. package/dist/cjs/api/fiscal/br/DfeNfeProcOut.js.map +1 -1
  60. package/dist/cjs/api/fiscal/fiscal.module.js +1 -3
  61. package/dist/cjs/api/fiscal/fiscal.module.js.map +1 -1
  62. package/dist/cjs/api/sale/Sale.js +1 -1
  63. package/dist/cjs/api/sale/Sale.js.map +1 -1
  64. package/dist/cjs/api/sale/SaleItem.js +3 -1
  65. package/dist/cjs/api/sale/SaleItem.js.map +1 -1
  66. package/dist/cjs/api/sale/SalePayment.js +2 -1
  67. package/dist/cjs/api/sale/SalePayment.js.map +1 -1
  68. package/dist/cjs/api/supply/purchase/PurchaseItem.js +3 -1
  69. package/dist/cjs/api/supply/purchase/PurchaseItem.js.map +1 -1
  70. package/dist/cjs/api/supply/purchase/PurchasePayment.js +2 -1
  71. package/dist/cjs/api/supply/purchase/PurchasePayment.js.map +1 -1
  72. package/dist/cjs/api/system/SystemService.js +1 -1
  73. package/dist/cjs/api/system/info/InfoService.js +2 -2
  74. package/dist/cjs/api/system/security/SecurityService.js +3 -3
  75. package/dist/esm/Client.js +2 -3
  76. package/dist/esm/Client.js.map +1 -1
  77. package/dist/esm/Web.js +24 -0
  78. package/dist/esm/Web.js.map +1 -1
  79. package/dist/esm/api/catalog/company/CompanyService.js +4 -1
  80. package/dist/esm/api/catalog/company/CompanyService.js.map +1 -1
  81. package/dist/esm/api/financial/BillingTitle.js +4 -3
  82. package/dist/esm/api/financial/BillingTitle.js.map +1 -1
  83. package/dist/esm/api/financial/Payable.js +5 -4
  84. package/dist/esm/api/financial/Payable.js.map +1 -1
  85. package/dist/esm/api/financial/PayableSettlementBillingTitle.js +2 -1
  86. package/dist/esm/api/financial/PayableSettlementBillingTitle.js.map +1 -1
  87. package/dist/esm/api/financial/PayableSettlementMethod.js +2 -1
  88. package/dist/esm/api/financial/PayableSettlementMethod.js.map +1 -1
  89. package/dist/esm/api/financial/Receivable.js +5 -4
  90. package/dist/esm/api/financial/Receivable.js.map +1 -1
  91. package/dist/esm/api/financial/ReceivableSettlementBillingTitle.js +2 -1
  92. package/dist/esm/api/financial/ReceivableSettlementBillingTitle.js.map +1 -1
  93. package/dist/esm/api/financial/ReceivableSettlementMethod.js +2 -1
  94. package/dist/esm/api/financial/ReceivableSettlementMethod.js.map +1 -1
  95. package/dist/esm/api/financial/SettlementBillingTitle.js +2 -1
  96. package/dist/esm/api/financial/SettlementBillingTitle.js.map +1 -1
  97. package/dist/esm/api/financial/SettlementMethod.js +2 -1
  98. package/dist/esm/api/financial/SettlementMethod.js.map +1 -1
  99. package/dist/esm/api/financial/accounting/ArgsAccountChartOpImport.js +0 -1
  100. package/dist/esm/api/financial/accounting/ArgsAccountChartOpImport.js.map +1 -1
  101. package/dist/esm/api/financial/accounting/AssetTag.js +2 -4
  102. package/dist/esm/api/financial/accounting/AssetTag.js.map +1 -1
  103. package/dist/esm/api/financial/accounting/JournalItem.js +1 -2
  104. package/dist/esm/api/financial/accounting/JournalItem.js.map +1 -1
  105. package/dist/esm/api/financial/accounting/LedgerItem.js +1 -2
  106. package/dist/esm/api/financial/accounting/LedgerItem.js.map +1 -1
  107. package/dist/esm/api/financial/accounting/LedgerItemBalance.js +1 -2
  108. package/dist/esm/api/financial/accounting/LedgerItemBalance.js.map +1 -1
  109. package/dist/esm/api/financial/accounting/accounting.module.js +1 -0
  110. package/dist/esm/api/financial/accounting/accounting.module.js.map +1 -1
  111. package/dist/esm/api/fiscal/ArgsIncomingInvoiceOpCreate.js +0 -2
  112. package/dist/esm/api/fiscal/ArgsIncomingInvoiceOpCreate.js.map +1 -1
  113. package/dist/esm/api/fiscal/FiscalService.js +6 -36
  114. package/dist/esm/api/fiscal/FiscalService.js.map +1 -1
  115. package/dist/esm/api/fiscal/IncomingInvoiceItem.js +3 -2
  116. package/dist/esm/api/fiscal/IncomingInvoiceItem.js.map +1 -1
  117. package/dist/esm/api/fiscal/IncomingInvoicePayment.js +2 -1
  118. package/dist/esm/api/fiscal/IncomingInvoicePayment.js.map +1 -1
  119. package/dist/esm/api/fiscal/InvoiceItem.js +2 -1
  120. package/dist/esm/api/fiscal/InvoiceItem.js.map +1 -1
  121. package/dist/esm/api/fiscal/InvoiceItemAccounting.js +2 -1
  122. package/dist/esm/api/fiscal/InvoiceItemAccounting.js.map +1 -1
  123. package/dist/esm/api/fiscal/InvoicePayment.js +2 -1
  124. package/dist/esm/api/fiscal/InvoicePayment.js.map +1 -1
  125. package/dist/esm/api/fiscal/OutgoingInvoiceItem.js +3 -2
  126. package/dist/esm/api/fiscal/OutgoingInvoiceItem.js.map +1 -1
  127. package/dist/esm/api/fiscal/OutgoingInvoicePayment.js +2 -1
  128. package/dist/esm/api/fiscal/OutgoingInvoicePayment.js.map +1 -1
  129. package/dist/esm/api/fiscal/br/DfeNfeProcIn.js +1 -1
  130. package/dist/esm/api/fiscal/br/DfeNfeProcIn.js.map +1 -1
  131. package/dist/esm/api/fiscal/br/DfeNfeProcOut.js +1 -1
  132. package/dist/esm/api/fiscal/br/DfeNfeProcOut.js.map +1 -1
  133. package/dist/esm/api/fiscal/fiscal.module.js +0 -1
  134. package/dist/esm/api/fiscal/fiscal.module.js.map +1 -1
  135. package/dist/esm/api/sale/Sale.js +1 -1
  136. package/dist/esm/api/sale/Sale.js.map +1 -1
  137. package/dist/esm/api/sale/SaleItem.js +3 -1
  138. package/dist/esm/api/sale/SaleItem.js.map +1 -1
  139. package/dist/esm/api/sale/SalePayment.js +2 -1
  140. package/dist/esm/api/sale/SalePayment.js.map +1 -1
  141. package/dist/esm/api/supply/purchase/PurchaseItem.js +3 -1
  142. package/dist/esm/api/supply/purchase/PurchaseItem.js.map +1 -1
  143. package/dist/esm/api/supply/purchase/PurchasePayment.js +2 -1
  144. package/dist/esm/api/supply/purchase/PurchasePayment.js.map +1 -1
  145. package/dist/esm/api/system/SystemService.js +1 -1
  146. package/dist/esm/api/system/info/InfoService.js +2 -2
  147. package/dist/esm/api/system/security/SecurityService.js +3 -3
  148. package/dist/types/Web.d.ts +1 -0
  149. package/dist/types/api/financial/BillingTitle.d.ts +6 -4
  150. package/dist/types/api/financial/Payable.d.ts +7 -5
  151. package/dist/types/api/financial/PayableSettlementBillingTitle.d.ts +4 -2
  152. package/dist/types/api/financial/PayableSettlementMethod.d.ts +4 -2
  153. package/dist/types/api/financial/Receivable.d.ts +7 -5
  154. package/dist/types/api/financial/ReceivableSettlementBillingTitle.d.ts +4 -2
  155. package/dist/types/api/financial/ReceivableSettlementMethod.d.ts +4 -2
  156. package/dist/types/api/financial/SettlementBillingTitle.d.ts +4 -2
  157. package/dist/types/api/financial/SettlementMethod.d.ts +4 -2
  158. package/dist/types/api/financial/accounting/ArgsAccountChartOpImport.d.ts +0 -1
  159. package/dist/types/api/financial/accounting/AssetTag.d.ts +3 -6
  160. package/dist/types/api/financial/accounting/JournalItem.d.ts +2 -4
  161. package/dist/types/api/financial/accounting/LedgerItem.d.ts +2 -4
  162. package/dist/types/api/financial/accounting/LedgerItemBalance.d.ts +2 -4
  163. package/dist/types/api/financial/accounting/accounting.module.d.ts +1 -0
  164. package/dist/types/api/fiscal/ArgsIncomingInvoiceOpCreate.d.ts +0 -2
  165. package/dist/types/api/fiscal/FiscalService.d.ts +2 -7
  166. package/dist/types/api/fiscal/IncomingInvoiceItem.d.ts +5 -2
  167. package/dist/types/api/fiscal/IncomingInvoicePayment.d.ts +4 -2
  168. package/dist/types/api/fiscal/InvoiceItem.d.ts +4 -1
  169. package/dist/types/api/fiscal/InvoiceItemAccounting.d.ts +4 -2
  170. package/dist/types/api/fiscal/InvoicePayment.d.ts +4 -2
  171. package/dist/types/api/fiscal/OutgoingInvoiceItem.d.ts +5 -2
  172. package/dist/types/api/fiscal/OutgoingInvoicePayment.d.ts +4 -2
  173. package/dist/types/api/fiscal/br/DfeNfeProcIn.d.ts +1 -1
  174. package/dist/types/api/fiscal/br/DfeNfeProcOut.d.ts +1 -1
  175. package/dist/types/api/fiscal/fiscal.module.d.ts +0 -1
  176. package/dist/types/api/sale/Sale.d.ts +1 -1
  177. package/dist/types/api/sale/SaleItem.d.ts +6 -2
  178. package/dist/types/api/sale/SalePayment.d.ts +4 -2
  179. package/dist/types/api/supply/purchase/PurchaseItem.d.ts +6 -2
  180. package/dist/types/api/supply/purchase/PurchasePayment.d.ts +4 -2
  181. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"DfeNfeProcOut.js","sourceRoot":"","sources":["../../../../../src/api/fiscal/br/DfeNfeProcOut.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,aAAa;IACxB,MAAM,CAAU;IAChB,OAAO,CAAW;IAClB,MAAM,CAAU;IAChB,SAAS,CAAQ;IACjB,EAAE,CAAU;IACZ,IAAI,CAAU;IACd,UAAU,CAAU;IACpB,OAAO,CAAW;IAClB,QAAQ,CAAQ;IAChB,KAAK,CAAU;IACf,IAAI,CAAQ;IACZ,QAAQ,CAAU;IAClB,KAAK,CAAU;IACf,GAAG,CAAU;IACb,IAAI,CAAU;IACd,UAAU,CAAO;CAClB"}
1
+ {"version":3,"file":"DfeNfeProcOut.js","sourceRoot":"","sources":["../../../../../src/api/fiscal/br/DfeNfeProcOut.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,aAAa;IACxB,MAAM,CAAU;IAChB,eAAe,CAAW;IAC1B,MAAM,CAAU;IAChB,SAAS,CAAQ;IACjB,EAAE,CAAU;IACZ,IAAI,CAAU;IACd,UAAU,CAAU;IACpB,OAAO,CAAW;IAClB,QAAQ,CAAQ;IAChB,KAAK,CAAU;IACf,IAAI,CAAQ;IACZ,QAAQ,CAAU;IAClB,KAAK,CAAU;IACf,GAAG,CAAU;IACb,IAAI,CAAU;IACd,UAAU,CAAO;CAClB"}
@@ -14,7 +14,6 @@ export { InvoiceItem } from "./InvoiceItem.js";
14
14
  export { InvoiceItemAccounting } from "./InvoiceItemAccounting.js";
15
15
  export { InvoicePayment } from "./InvoicePayment.js";
16
16
  export { InvoiceReference } from "./InvoiceReference.js";
17
- export { InvoiceReturn } from "./InvoiceReturn.js";
18
17
  export { InvoiceSeries } from "./InvoiceSeries.js";
19
18
  export { OutgoingInvoice } from "./OutgoingInvoice.js";
20
19
  export { OutgoingInvoiceItem } from "./OutgoingInvoiceItem.js";
@@ -1 +1 @@
1
- {"version":3,"file":"fiscal.module.js","sourceRoot":"","sources":["../../../../src/api/fiscal/fiscal.module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,KAAK,QAAQ,MAAM,+BAA+B,CAAC;AAE1D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC"}
1
+ {"version":3,"file":"fiscal.module.js","sourceRoot":"","sources":["../../../../src/api/fiscal/fiscal.module.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,KAAK,QAAQ,MAAM,+BAA+B,CAAC;AAE1D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC"}
@@ -19,7 +19,7 @@ export class Sale {
19
19
  totalValue;
20
20
  pickingOrder;
21
21
  shipment;
22
- invoice;
22
+ outgoingInvoice;
23
23
  quote;
24
24
  tags;
25
25
  properties;
@@ -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,OAAO,CAAmB;IAC1B,KAAK,CAAS;IACd,IAAI,CAAU;IACd,UAAU,CAAO;CAClB"}
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,eAAe,CAAmB;IAClC,KAAK,CAAS;IACd,IAAI,CAAU;IACd,UAAU,CAAO;CAClB"}
@@ -3,6 +3,7 @@ export class SaleItem {
3
3
  sale;
4
4
  productPacking;
5
5
  code;
6
+ fiscalProfileProduct;
6
7
  taxationRule;
7
8
  taxationOperation;
8
9
  priceListValue;
@@ -23,8 +24,9 @@ export class SaleItem {
23
24
  totalValue;
24
25
  taxCompensationValue;
25
26
  effectiveValue;
27
+ account;
28
+ accountComplement;
26
29
  schedule;
27
- assetTag;
28
30
  tags;
29
31
  properties;
30
32
  }
@@ -1 +1 @@
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
+ {"version":3,"file":"SaleItem.js","sourceRoot":"","sources":["../../../../src/api/sale/SaleItem.ts"],"names":[],"mappings":"AAUA,MAAM,OAAO,QAAQ;IACnB,EAAE,CAAU;IACZ,IAAI,CAAQ;IACZ,cAAc,CAAkB;IAChC,IAAI,CAAU;IACd,oBAAoB,CAAwB;IAC5C,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,OAAO,CAAW;IAClB,iBAAiB,CAAqB;IACtC,QAAQ,CAAgB;IACxB,IAAI,CAAU;IACd,UAAU,CAAO;CAClB"}
@@ -2,9 +2,10 @@ export class SalePayment {
2
2
  id;
3
3
  sale;
4
4
  type;
5
+ account;
6
+ accountComplement;
5
7
  term;
6
8
  value;
7
- assetTag;
8
9
  tags;
9
10
  properties;
10
11
  }
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"SalePayment.js","sourceRoot":"","sources":["../../../../src/api/sale/SalePayment.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,WAAW;IACtB,EAAE,CAAU;IACZ,IAAI,CAAQ;IACZ,IAAI,CAAU;IACd,OAAO,CAAW;IAClB,iBAAiB,CAAqB;IACtC,IAAI,CAAU;IACd,KAAK,CAAU;IACf,IAAI,CAAU;IACd,UAAU,CAAO;CAClB"}
@@ -3,6 +3,7 @@ export class PurchaseItem {
3
3
  purchase;
4
4
  productPacking;
5
5
  code;
6
+ fiscalProfileProduct;
6
7
  taxationRule;
7
8
  taxationOperation;
8
9
  priceListValue;
@@ -24,7 +25,8 @@ export class PurchaseItem {
24
25
  totalValue;
25
26
  taxCompensationValue;
26
27
  effectiveValue;
27
- assetTag;
28
+ account;
29
+ accountComplement;
28
30
  tags;
29
31
  properties;
30
32
  }
@@ -1 +1 @@
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
+ {"version":3,"file":"PurchaseItem.js","sourceRoot":"","sources":["../../../../../src/api/supply/purchase/PurchaseItem.ts"],"names":[],"mappings":"AAUA,MAAM,OAAO,YAAY;IACvB,EAAE,CAAU;IACZ,QAAQ,CAAY;IACpB,cAAc,CAAkB;IAChC,IAAI,CAAU;IACd,oBAAoB,CAAwB;IAC5C,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,OAAO,CAAW;IAClB,iBAAiB,CAAqB;IACtC,IAAI,CAAU;IACd,UAAU,CAAO;CAClB"}
@@ -2,9 +2,10 @@ export class PurchasePayment {
2
2
  id;
3
3
  purchase;
4
4
  type;
5
+ account;
6
+ accountComplement;
5
7
  term;
6
8
  value;
7
- assetTag;
8
9
  tags;
9
10
  properties;
10
11
  }
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"PurchasePayment.js","sourceRoot":"","sources":["../../../../../src/api/supply/purchase/PurchasePayment.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,eAAe;IAC1B,EAAE,CAAU;IACZ,QAAQ,CAAY;IACpB,IAAI,CAAU;IACd,OAAO,CAAW;IAClB,iBAAiB,CAAqB;IACtC,IAAI,CAAU;IACd,KAAK,CAAU;IACf,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.fetchText(`/system/lockOpAcquire?${sp.toString()}`, {
49
+ return this.#client.web.fetchJson(`/system/lockOpAcquire?${sp.toString()}`, {
50
50
  method: "POST",
51
51
  });
52
52
  }
@@ -4,12 +4,12 @@ export class InfoService {
4
4
  this.#client = client;
5
5
  }
6
6
  async healthRead() {
7
- return this.#client.web.fetchText("/system/info/health", {
7
+ return this.#client.web.fetchJson("/system/info/health", {
8
8
  method: "GET",
9
9
  });
10
10
  }
11
11
  async metricsRead() {
12
- return this.#client.web.fetchText("/system/info/metrics", {
12
+ return this.#client.web.fetchJson("/system/info/metrics", {
13
13
  method: "GET",
14
14
  });
15
15
  }
@@ -267,12 +267,12 @@ export class SecurityService {
267
267
  });
268
268
  }
269
269
  async tokenOpRenew() {
270
- return this.#client.web.fetchText("/system/security/tokenOpRenew", {
270
+ return this.#client.web.fetchJson("/system/security/tokenOpRenew", {
271
271
  method: "POST",
272
272
  });
273
273
  }
274
274
  async tokenOpRequest(args) {
275
- return this.#client.web.fetchText("/system/security/tokenOpRequest", {
275
+ return this.#client.web.fetchJson("/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.fetchText("/system/security/tokenOpRequestPermanent", {
285
+ return this.#client.web.fetchJson("/system/security/tokenOpRequestPermanent", {
286
286
  method: "POST",
287
287
  headers: {
288
288
  "content-type": "application/json",
@@ -8,5 +8,6 @@ export default class Web {
8
8
  fetchJsonRequired(input: string | URL | globalThis.Request, init?: RequestInit): Promise<any>;
9
9
  fetchOk(input: string | URL | globalThis.Request, init?: RequestInit): Promise<Response>;
10
10
  fetchText(input: string | URL | globalThis.Request, init?: RequestInit): Promise<string>;
11
+ handleResponse(response: Response): Promise<void>;
11
12
  static handleResponse(response: Response): Promise<void>;
12
13
  }
@@ -1,4 +1,5 @@
1
- import { AssetTag } from "./accounting/AssetTag.js";
1
+ import { Account } from "./accounting/Account.js";
2
+ import { AccountComplement } from "./accounting/AccountComplement.js";
2
3
  import { Company } from "../catalog/company/Company.js";
3
4
  import { Person } from "../catalog/person/Person.js";
4
5
  import { Wallet } from "./billing/Wallet.js";
@@ -17,16 +18,17 @@ export declare class BillingTitle {
17
18
  date: Date;
18
19
  issueDate: Date;
19
20
  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;
27
31
  wallet: Wallet;
28
- assetTag: AssetTag;
29
- assetTagCounterpart: AssetTag;
30
32
  tags: string;
31
33
  properties: any;
32
34
  }
@@ -1,10 +1,11 @@
1
- import { AssetTag } from "./accounting/AssetTag.js";
1
+ import { Account } from "./accounting/Account.js";
2
+ import { AccountComplement } from "./accounting/AccountComplement.js";
2
3
  import { Company } from "../catalog/company/Company.js";
3
4
  import { IncomingInvoice } from "../fiscal/IncomingInvoice.js";
4
5
  import { Person } from "../catalog/person/Person.js";
5
6
  import { Wallet } from "./billing/Wallet.js";
6
7
  export declare class Payable {
7
- invoice: IncomingInvoice;
8
+ incomingInvoice: IncomingInvoice;
8
9
  id: number;
9
10
  status: string;
10
11
  source: string;
@@ -19,16 +20,17 @@ export declare class Payable {
19
20
  date: Date;
20
21
  issueDate: Date;
21
22
  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;
29
33
  wallet: Wallet;
30
- assetTag: AssetTag;
31
- assetTagCounterpart: AssetTag;
32
34
  tags: string;
33
35
  properties: any;
34
36
  }
@@ -1,4 +1,5 @@
1
- import { AssetTag } from "./accounting/AssetTag.js";
1
+ import { Account } from "./accounting/Account.js";
2
+ import { AccountComplement } from "./accounting/AccountComplement.js";
2
3
  import { BillingTitle } from "./BillingTitle.js";
3
4
  import { Settlement } from "./Settlement.js";
4
5
  export declare class PayableSettlementBillingTitle {
@@ -6,6 +7,7 @@ export declare class PayableSettlementBillingTitle {
6
7
  settlement: Settlement;
7
8
  billingTitle: BillingTitle;
8
9
  type: string;
10
+ account: Account;
11
+ accountComplement: AccountComplement;
9
12
  value: number;
10
- assetTag: AssetTag;
11
13
  }
@@ -1,11 +1,13 @@
1
- import { AssetTag } from "./accounting/AssetTag.js";
1
+ import { Account } from "./accounting/Account.js";
2
+ import { AccountComplement } from "./accounting/AccountComplement.js";
2
3
  import { BillingTitle } from "./BillingTitle.js";
3
4
  import { Settlement } from "./Settlement.js";
4
5
  export declare class PayableSettlementMethod {
5
6
  id: number;
6
7
  settlement: Settlement;
7
8
  type: string;
9
+ account: Account;
10
+ accountComplement: AccountComplement;
8
11
  value: number;
9
12
  billingTitle: BillingTitle;
10
- assetTag: AssetTag;
11
13
  }
@@ -1,10 +1,11 @@
1
- import { AssetTag } from "./accounting/AssetTag.js";
1
+ import { Account } from "./accounting/Account.js";
2
+ import { AccountComplement } from "./accounting/AccountComplement.js";
2
3
  import { Company } from "../catalog/company/Company.js";
3
4
  import { OutgoingInvoice } from "../fiscal/OutgoingInvoice.js";
4
5
  import { Person } from "../catalog/person/Person.js";
5
6
  import { Wallet } from "./billing/Wallet.js";
6
7
  export declare class Receivable {
7
- invoice: OutgoingInvoice;
8
+ outgoingInvoice: OutgoingInvoice;
8
9
  id: number;
9
10
  status: string;
10
11
  source: string;
@@ -19,16 +20,17 @@ export declare class Receivable {
19
20
  date: Date;
20
21
  issueDate: Date;
21
22
  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;
29
33
  wallet: Wallet;
30
- assetTag: AssetTag;
31
- assetTagCounterpart: AssetTag;
32
34
  tags: string;
33
35
  properties: any;
34
36
  }
@@ -1,4 +1,5 @@
1
- import { AssetTag } from "./accounting/AssetTag.js";
1
+ import { Account } from "./accounting/Account.js";
2
+ import { AccountComplement } from "./accounting/AccountComplement.js";
2
3
  import { BillingTitle } from "./BillingTitle.js";
3
4
  import { Settlement } from "./Settlement.js";
4
5
  export declare class ReceivableSettlementBillingTitle {
@@ -6,6 +7,7 @@ export declare class ReceivableSettlementBillingTitle {
6
7
  settlement: Settlement;
7
8
  billingTitle: BillingTitle;
8
9
  type: string;
10
+ account: Account;
11
+ accountComplement: AccountComplement;
9
12
  value: number;
10
- assetTag: AssetTag;
11
13
  }
@@ -1,11 +1,13 @@
1
- import { AssetTag } from "./accounting/AssetTag.js";
1
+ import { Account } from "./accounting/Account.js";
2
+ import { AccountComplement } from "./accounting/AccountComplement.js";
2
3
  import { BillingTitle } from "./BillingTitle.js";
3
4
  import { Settlement } from "./Settlement.js";
4
5
  export declare class ReceivableSettlementMethod {
5
6
  id: number;
6
7
  settlement: Settlement;
7
8
  type: string;
9
+ account: Account;
10
+ accountComplement: AccountComplement;
8
11
  value: number;
9
12
  billingTitle: BillingTitle;
10
- assetTag: AssetTag;
11
13
  }
@@ -1,4 +1,5 @@
1
- import { AssetTag } from "./accounting/AssetTag.js";
1
+ import { Account } from "./accounting/Account.js";
2
+ import { AccountComplement } from "./accounting/AccountComplement.js";
2
3
  import { BillingTitle } from "./BillingTitle.js";
3
4
  import { Settlement } from "./Settlement.js";
4
5
  export declare class SettlementBillingTitle {
@@ -6,6 +7,7 @@ export declare class SettlementBillingTitle {
6
7
  settlement: Settlement;
7
8
  billingTitle: BillingTitle;
8
9
  type: string;
10
+ account: Account;
11
+ accountComplement: AccountComplement;
9
12
  value: number;
10
- assetTag: AssetTag;
11
13
  }
@@ -1,11 +1,13 @@
1
- import { AssetTag } from "./accounting/AssetTag.js";
1
+ import { Account } from "./accounting/Account.js";
2
+ import { AccountComplement } from "./accounting/AccountComplement.js";
2
3
  import { BillingTitle } from "./BillingTitle.js";
3
4
  import { Settlement } from "./Settlement.js";
4
5
  export declare class SettlementMethod {
5
6
  id: number;
6
7
  settlement: Settlement;
7
8
  type: string;
9
+ account: Account;
10
+ accountComplement: AccountComplement;
8
11
  value: number;
9
12
  billingTitle: BillingTitle;
10
- assetTag: AssetTag;
11
13
  }
@@ -4,5 +4,4 @@ export declare class ArgsAccountChartOpImport {
4
4
  type: string;
5
5
  description: string;
6
6
  tags: string;
7
- properties: any;
8
7
  }
@@ -1,12 +1,9 @@
1
1
  import { Account } from "./Account.js";
2
+ import { AccountComplement } from "./AccountComplement.js";
2
3
  import { FiscalProfileProduct } from "../../fiscal/FiscalProfileProduct.js";
3
- import { Person } from "../../catalog/person/Person.js";
4
- import { ResultCenter } from "./ResultCenter.js";
5
4
  export declare class AssetTag {
6
5
  id: number;
7
- account: Account;
8
- resultCenter: ResultCenter;
9
6
  fiscalProfileProduct: FiscalProfileProduct;
10
- person: Person;
11
- batchId: number;
7
+ account: Account;
8
+ accountComplement: AccountComplement;
12
9
  }
@@ -1,13 +1,11 @@
1
1
  import { Account } from "./Account.js";
2
+ import { AccountComplement } from "./AccountComplement.js";
2
3
  import { JournalEntry } from "./JournalEntry.js";
3
- import { Person } from "../../catalog/person/Person.js";
4
- import { ResultCenter } from "./ResultCenter.js";
5
4
  export declare class JournalItem {
6
5
  id: number;
7
6
  journalEntry: JournalEntry;
8
7
  account: Account;
9
- resultCenter: ResultCenter;
10
- person: Person;
8
+ accountComplement: AccountComplement;
11
9
  value: number;
12
10
  sign: string;
13
11
  description: string;
@@ -1,9 +1,8 @@
1
1
  import { Account } from "./Account.js";
2
+ import { AccountComplement } from "./AccountComplement.js";
2
3
  import { Company } from "../../catalog/company/Company.js";
3
4
  import { FiscalYear } from "../../fiscal/FiscalYear.js";
4
5
  import { JournalEntry } from "./JournalEntry.js";
5
- import { Person } from "../../catalog/person/Person.js";
6
- import { ResultCenter } from "./ResultCenter.js";
7
6
  export declare class LedgerItem {
8
7
  id: number;
9
8
  journalEntry: JournalEntry;
@@ -11,8 +10,7 @@ export declare class LedgerItem {
11
10
  fiscalYear: FiscalYear;
12
11
  date: Date;
13
12
  account: Account;
14
- resultCenter: ResultCenter;
15
- person: Person;
13
+ accountComplement: AccountComplement;
16
14
  accountCounterpart: Account;
17
15
  value: number;
18
16
  sign: string;
@@ -1,13 +1,11 @@
1
1
  import { Account } from "./Account.js";
2
+ import { AccountComplement } from "./AccountComplement.js";
2
3
  import { Company } from "../../catalog/company/Company.js";
3
4
  import { FiscalYear } from "../../fiscal/FiscalYear.js";
4
- import { Person } from "../../catalog/person/Person.js";
5
- import { ResultCenter } from "./ResultCenter.js";
6
5
  export declare class LedgerItemBalance {
7
6
  company: Company;
8
7
  fiscalYear: FiscalYear;
9
8
  account: Account;
10
- resultCenter: ResultCenter;
11
- person: Person;
9
+ accountComplement: AccountComplement;
12
10
  value: number;
13
11
  }
@@ -2,6 +2,7 @@ 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";
5
6
  export { AccountConversion } from "./AccountConversion.js";
6
7
  export { AccountConversionChart } from "./AccountConversionChart.js";
7
8
  export { AccountDefault } from "./AccountDefault.js";
@@ -4,6 +4,4 @@ export declare class ArgsIncomingInvoiceOpCreate {
4
4
  invoice: IncomingInvoice;
5
5
  itemList: any[];
6
6
  paymentList: InvoicePayment[];
7
- prepare: boolean;
8
- approve: boolean;
9
7
  }
@@ -1,4 +1,5 @@
1
1
  import { Client } from "../../Client.js";
2
+ import { ArgsIncomingInvoiceOpApprove } from "./ArgsIncomingInvoiceOpApprove.js";
2
3
  import { ArgsIncomingInvoiceOpCreate } from "./ArgsIncomingInvoiceOpCreate.js";
3
4
  import { ArgsIncomingInvoiceOpCreateFromIncomingList } from "./ArgsIncomingInvoiceOpCreateFromIncomingList.js";
4
5
  import { ArgsInvoiceOpReturn } from "./ArgsInvoiceOpReturn.js";
@@ -15,7 +16,6 @@ import { IncomingInvoiceItem } from "./IncomingInvoiceItem.js";
15
16
  import { InvoiceItemAccounting } from "./InvoiceItemAccounting.js";
16
17
  import { InvoicePayment } from "./InvoicePayment.js";
17
18
  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): Promise<IncomingInvoice>;
65
+ incomingInvoiceOpApproveDivergences(id: number, args: ArgsIncomingInvoiceOpApprove): Promise<IncomingInvoice>;
66
66
  incomingInvoiceOpApproveRevert(id: number): Promise<IncomingInvoice>;
67
67
  incomingInvoiceOpCreate(args: ArgsIncomingInvoiceOpCreate): Promise<IncomingInvoice>;
68
68
  incomingInvoiceOpCreateFromIncomingList(args: ArgsIncomingInvoiceOpCreateFromIncomingList): Promise<IncomingInvoice>;
@@ -91,11 +91,6 @@ 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>;
99
94
  invoiceSeriesCreate(bean: InvoiceSeries): Promise<InvoiceSeries>;
100
95
  invoiceSeriesDelete(id: number): Promise<InvoiceSeries>;
101
96
  invoiceSeriesOpGetNextNumber(id: number): Promise<number>;
@@ -1,3 +1,5 @@
1
+ import { Account } from "../financial/accounting/Account.js";
2
+ import { AccountComplement } from "../financial/accounting/AccountComplement.js";
1
3
  import { AssetTag } from "../financial/accounting/AssetTag.js";
2
4
  import { IncomingInvoice } from "./IncomingInvoice.js";
3
5
  import { ProductPacking } from "../catalog/product/ProductPacking.js";
@@ -6,7 +8,7 @@ import { TaxationOperation } from "./taxation/TaxationOperation.js";
6
8
  import { TaxationRule } from "./taxation/TaxationRule.js";
7
9
  import { Unit } from "../catalog/product/Unit.js";
8
10
  export declare class IncomingInvoiceItem {
9
- invoice: IncomingInvoice;
11
+ incomingInvoice: IncomingInvoice;
10
12
  purchase: Purchase;
11
13
  OTHER_VALUES_FREIGHT: string;
12
14
  OTHER_VALUES_INSURANCE: string;
@@ -35,7 +37,8 @@ export declare class IncomingInvoiceItem {
35
37
  taxCompensationValue: number;
36
38
  effectiveValue: number;
37
39
  assetTag: AssetTag;
38
- returnedQuantity: number;
40
+ account: Account;
41
+ accountComplement: AccountComplement;
39
42
  tags: string;
40
43
  properties: any;
41
44
  }
@@ -1,12 +1,14 @@
1
- import { AssetTag } from "../financial/accounting/AssetTag.js";
1
+ import { Account } from "../financial/accounting/Account.js";
2
+ import { AccountComplement } from "../financial/accounting/AccountComplement.js";
2
3
  import { Invoice } from "./Invoice.js";
3
4
  export declare class IncomingInvoicePayment {
4
5
  id: number;
5
6
  invoice: Invoice;
6
7
  type: string;
8
+ account: Account;
9
+ accountComplement: AccountComplement;
7
10
  dueDate: Date;
8
11
  value: number;
9
- assetTag: AssetTag;
10
12
  tags: string;
11
13
  properties: any;
12
14
  }
@@ -1,3 +1,5 @@
1
+ import { Account } from "../financial/accounting/Account.js";
2
+ import { AccountComplement } from "../financial/accounting/AccountComplement.js";
1
3
  import { AssetTag } from "../financial/accounting/AssetTag.js";
2
4
  import { ProductPacking } from "../catalog/product/ProductPacking.js";
3
5
  import { TaxationOperation } from "./taxation/TaxationOperation.js";
@@ -31,7 +33,8 @@ export declare class InvoiceItem {
31
33
  taxCompensationValue: number;
32
34
  effectiveValue: number;
33
35
  assetTag: AssetTag;
34
- returnedQuantity: number;
36
+ account: Account;
37
+ accountComplement: AccountComplement;
35
38
  tags: string;
36
39
  properties: any;
37
40
  }
@@ -1,12 +1,14 @@
1
- import { AssetTag } from "../financial/accounting/AssetTag.js";
1
+ import { Account } from "../financial/accounting/Account.js";
2
+ import { AccountComplement } from "../financial/accounting/AccountComplement.js";
2
3
  import { InvoiceItem } from "./InvoiceItem.js";
3
4
  export declare class InvoiceItemAccounting {
4
5
  id: number;
5
6
  invoiceItem: InvoiceItem;
6
7
  type: string;
7
8
  sign: string;
9
+ account: Account;
10
+ accountComplement: AccountComplement;
8
11
  value: number;
9
- assetTag: AssetTag;
10
12
  tags: string;
11
13
  properties: any;
12
14
  }
@@ -1,12 +1,14 @@
1
- import { AssetTag } from "../financial/accounting/AssetTag.js";
1
+ import { Account } from "../financial/accounting/Account.js";
2
+ import { AccountComplement } from "../financial/accounting/AccountComplement.js";
2
3
  import { Invoice } from "./Invoice.js";
3
4
  export declare class InvoicePayment {
4
5
  id: number;
5
6
  invoice: Invoice;
6
7
  type: string;
8
+ account: Account;
9
+ accountComplement: AccountComplement;
7
10
  dueDate: Date;
8
11
  value: number;
9
- assetTag: AssetTag;
10
12
  tags: string;
11
13
  properties: any;
12
14
  }
@@ -1,3 +1,5 @@
1
+ import { Account } from "../financial/accounting/Account.js";
2
+ import { AccountComplement } from "../financial/accounting/AccountComplement.js";
1
3
  import { AssetTag } from "../financial/accounting/AssetTag.js";
2
4
  import { OutgoingInvoice } from "./OutgoingInvoice.js";
3
5
  import { ProductPacking } from "../catalog/product/ProductPacking.js";
@@ -5,7 +7,7 @@ import { TaxationOperation } from "./taxation/TaxationOperation.js";
5
7
  import { TaxationRule } from "./taxation/TaxationRule.js";
6
8
  import { Unit } from "../catalog/product/Unit.js";
7
9
  export declare class OutgoingInvoiceItem {
8
- invoice: OutgoingInvoice;
10
+ outgoingInvoice: OutgoingInvoice;
9
11
  OTHER_VALUES_FREIGHT: string;
10
12
  OTHER_VALUES_INSURANCE: string;
11
13
  OTHER_VALUES_OTHER: string;
@@ -33,7 +35,8 @@ export declare class OutgoingInvoiceItem {
33
35
  taxCompensationValue: number;
34
36
  effectiveValue: number;
35
37
  assetTag: AssetTag;
36
- returnedQuantity: number;
38
+ account: Account;
39
+ accountComplement: AccountComplement;
37
40
  tags: string;
38
41
  properties: any;
39
42
  }