@cbm-common/cbm-types 0.0.83 → 0.0.85

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 (573) hide show
  1. package/lib/app.config.d.ts +2 -2
  2. package/lib/app.d.ts +3 -3
  3. package/lib/app.routes.d.ts +2 -2
  4. package/lib/components/accounting-seat/accounting-seat.d.ts +32 -32
  5. package/lib/components/accounting-seat/directives/drop-down-menu.directive.d.ts +13 -13
  6. package/lib/components/accounting-seat/directives/drop-down.directive.d.ts +10 -10
  7. package/lib/components/accounting-seat/types.d.ts +1 -1
  8. package/lib/components/add-client/add-client.d.ts +177 -177
  9. package/lib/components/add-client/animations.d.ts +1 -1
  10. package/lib/components/add-client/constants.d.ts +9 -9
  11. package/lib/components/add-client/types.d.ts +7 -7
  12. package/lib/components/add-provider/add-provider.d.ts +111 -111
  13. package/lib/components/add-provider/animations.d.ts +1 -1
  14. package/lib/components/add-provider/constants.d.ts +7 -7
  15. package/lib/components/add-provider/types.d.ts +1 -1
  16. package/lib/components/additional-data-modal/additional-data/additional-data.d.ts +11 -11
  17. package/lib/components/additional-data-modal/additional-data-modal.d.ts +33 -33
  18. package/lib/components/additional-data-modal/additional-data-modal.model.d.ts +7 -7
  19. package/lib/components/additional-data-modal/animations.d.ts +2 -2
  20. package/lib/components/additional-data-modal/general-data/general-data.d.ts +4 -4
  21. package/lib/components/additional-data-modal/types.d.ts +7 -7
  22. package/lib/components/advanced-item-search-modal/advanced-item-search-modal.d.ts +25 -25
  23. package/lib/components/advanced-item-search-modal/alternative-item-list/alternative-item-list.d.ts +25 -25
  24. package/lib/components/advanced-item-search-modal/animations.d.ts +2 -2
  25. package/lib/components/advanced-item-search-modal/constants.d.ts +1 -1
  26. package/lib/components/advanced-item-search-modal/item-list/item-list.d.ts +85 -85
  27. package/lib/components/advanced-item-search-modal/types.d.ts +7 -7
  28. package/lib/components/attachments/animations.d.ts +1 -1
  29. package/lib/components/attachments/attachments.d.ts +50 -50
  30. package/lib/components/attachments/components/button-item/button-item.d.ts +5 -5
  31. package/lib/components/attachments/components/buttons/buttons.d.ts +8 -8
  32. package/lib/components/attachments/components/grid-view/grid-view.d.ts +32 -32
  33. package/lib/components/attachments/components/icons/delete-icon/delete-icon.d.ts +2 -2
  34. package/lib/components/attachments/components/icons/download-icon/download-icon.d.ts +2 -2
  35. package/lib/components/attachments/components/list-view/list-view.d.ts +41 -41
  36. package/lib/components/attachments/types.d.ts +7 -7
  37. package/lib/components/availability-board/availability-board.d.ts +25 -25
  38. package/lib/components/availability-board/availability-board.model.d.ts +46 -46
  39. package/lib/components/availability-board/directives/drop-menu.directive.d.ts +19 -19
  40. package/lib/components/availability-board/models/value-column.model.d.ts +6 -6
  41. package/lib/components/availability-board/services/config.service.d.ts +7 -7
  42. package/lib/components/availability-board/services/mouse-position.service.d.ts +14 -14
  43. package/lib/components/branch-card/branch-card.d.ts +15 -15
  44. package/lib/components/committed-quantity-converter/committed-quantity-converter.d.ts +22 -22
  45. package/lib/components/committed-quantity-converter/types.d.ts +11 -11
  46. package/lib/components/confirmation-modal/animations.d.ts +2 -2
  47. package/lib/components/confirmation-modal/confirmation-modal.d.ts +15 -15
  48. package/lib/components/documents-reference/animations.d.ts +1 -1
  49. package/lib/components/documents-reference/components/add/add.d.ts +112 -112
  50. package/lib/components/documents-reference/components/delete/delete.d.ts +28 -28
  51. package/lib/components/documents-reference/components/reference-document-by-tab/reference-document-by-tab.d.ts +39 -39
  52. package/lib/components/documents-reference/components/reference-document-to-tab/reference-document-to-tab.d.ts +42 -42
  53. package/lib/components/documents-reference/components/tab-item/tab-item.component.d.ts +5 -5
  54. package/lib/components/documents-reference/components/tabs/tabs.component.d.ts +7 -7
  55. package/lib/components/documents-reference/documents-reference.d.ts +21 -21
  56. package/lib/components/documents-reference/types.d.ts +56 -56
  57. package/lib/components/dropzone/dropzone.d.ts +17 -17
  58. package/lib/components/empty/empty.d.ts +17 -17
  59. package/lib/components/json-modal/animations.d.ts +2 -0
  60. package/lib/components/json-modal/json-modal.d.ts +14 -14
  61. package/lib/components/modal-confirm/modal-confirm.d.ts +23 -23
  62. package/lib/components/modal-confirm/ng-content.d.ts +8 -8
  63. package/lib/components/modal-confirm/types.d.ts +6 -6
  64. package/lib/components/pagination-nav/pagination-nav.d.ts +27 -27
  65. package/lib/components/pagination-nav/pagination-nav.model.d.ts +8 -8
  66. package/lib/components/record-detail-metadata/components/options/options.d.ts +13 -13
  67. package/lib/components/record-detail-metadata/directives/drop-down-menu.directive.d.ts +13 -13
  68. package/lib/components/record-detail-metadata/directives/drop-down.directive.d.ts +9 -9
  69. package/lib/components/record-detail-metadata/record-detail-metadata.d.ts +21 -21
  70. package/lib/components/record-detail-metadata/types.d.ts +49 -49
  71. package/lib/components/relationship-map/animations.d.ts +1 -1
  72. package/lib/components/relationship-map/components/map-node/map-node.component.d.ts +19 -19
  73. package/lib/components/relationship-map/components/map-node-parent/map-node-parent.component.d.ts +32 -32
  74. package/lib/components/relationship-map/components/map-node-tree/map-node-tree.component.d.ts +32 -32
  75. package/lib/components/relationship-map/components/parent-tree-by-tab/parent-tree-by-tab.component.d.ts +75 -75
  76. package/lib/components/relationship-map/components/relationship-tree-by-tab/relationship-tree-by-tab.component.d.ts +74 -74
  77. package/lib/components/relationship-map/components/tab-item/tab-item.component.d.ts +5 -5
  78. package/lib/components/relationship-map/components/tabs/tabs.component.d.ts +7 -7
  79. package/lib/components/relationship-map/constants.d.ts +1 -1
  80. package/lib/components/relationship-map/relationship-map.d.ts +11 -11
  81. package/lib/components/relationship-map/types.d.ts +5 -5
  82. package/lib/components/relationship-movements/animations.d.ts +2 -2
  83. package/lib/components/relationship-movements/relationship-movements.d.ts +58 -58
  84. package/lib/components/relationship-movements/relationship-movements.model.d.ts +26 -26
  85. package/lib/components/stock-by-warehouse/directives/drop-down-menu.directive.d.ts +15 -15
  86. package/lib/components/stock-by-warehouse/stock-by-warehouse.d.ts +42 -42
  87. package/lib/components/stock-by-warehouse/type.d.ts +15 -15
  88. package/lib/components/taxes-modal/taxes-modal.d.ts +17 -17
  89. package/lib/components/taxes-modal/taxes-modal.model.d.ts +36 -36
  90. package/lib/components/timeline/timeline.d.ts +27 -27
  91. package/lib/components/timeline/types.d.ts +17 -17
  92. package/lib/components/tip-modal/animations.d.ts +1 -1
  93. package/lib/components/tip-modal/tip-modal.d.ts +25 -25
  94. package/lib/components/tree-select/tree-select.d.ts +60 -60
  95. package/lib/components/tree-select/types.d.ts +8 -8
  96. package/lib/components/user-history/components/email-history/email-history.component.d.ts +66 -66
  97. package/lib/components/user-history/components/email-history/emails-modal/emails-modal.component.d.ts +13 -13
  98. package/lib/components/user-history/components/general-history/general-history.component.d.ts +58 -58
  99. package/lib/components/user-history/components/print-history/print-history.component.d.ts +58 -58
  100. package/lib/components/user-history/components/sri-history/sri-history.component.d.ts +63 -63
  101. package/lib/components/user-history/components/tab-item/tab-item.component.d.ts +7 -7
  102. package/lib/components/user-history/components/tabs/tabs.component.d.ts +7 -7
  103. package/lib/components/user-history/constants.d.ts +1 -1
  104. package/lib/components/user-history/directives/drop-down.directive.d.ts +9 -9
  105. package/lib/components/user-history/types.d.ts +14 -14
  106. package/lib/components/user-history/user-history.d.ts +30 -30
  107. package/lib/components/view-reports/model.d.ts +27 -27
  108. package/lib/components/view-reports/view-reports.d.ts +49 -49
  109. package/lib/components/xml-modal/animations.d.ts +2 -2
  110. package/lib/components/xml-modal/xml-modal.d.ts +22 -22
  111. package/lib/directives/character-counter/character-counter.directive.d.ts +21 -21
  112. package/lib/directives/horizontal-overflow/components/arrow-left/arrow-left.component.d.ts +5 -5
  113. package/lib/directives/horizontal-overflow/components/arrow-right/arrow-right.component.d.ts +5 -5
  114. package/lib/directives/horizontal-overflow/horizontal-overflow-arrows.directive.d.ts +23 -23
  115. package/lib/directives/horizontal-overflow/horizontal-overflow-shadow.directive.d.ts +8 -8
  116. package/lib/directives/number-input/number-input.directive.d.ts +23 -23
  117. package/lib/directives/resize-container/resize-container.directive.d.ts +20 -20
  118. package/lib/directives/resize-container/resize-container.model.d.ts +6 -6
  119. package/lib/directives/text-input/text-input.directive.d.ts +14 -14
  120. package/lib/directives/text-input/types.d.ts +1 -1
  121. package/lib/directives/tooltip/tooltip/tooltip.d.ts +9 -9
  122. package/lib/directives/tooltip/tooltip/types.d.ts +2 -2
  123. package/lib/directives/tooltip/tooltip.directive.d.ts +26 -26
  124. package/lib/domain/models/account-group.domain.model.d.ts +85 -85
  125. package/lib/domain/models/account-template.domain.model.d.ts +124 -124
  126. package/lib/domain/models/account.domain.model.d.ts +144 -144
  127. package/lib/domain/models/alternative-item.domain.model.d.ts +198 -198
  128. package/lib/domain/models/bank-movements.domain.model.d.ts +60 -60
  129. package/lib/domain/models/bank.domain.model.d.ts +92 -92
  130. package/lib/domain/models/billing-order.domain.model.d.ts +530 -530
  131. package/lib/domain/models/billing.domain.model.d.ts +47 -47
  132. package/lib/domain/models/blanket-agreement-category-service.domain.model.d.ts +43 -43
  133. package/lib/domain/models/card-settlement.domain.model.d.ts +260 -260
  134. package/lib/domain/models/cash-liquidation.domain.model.d.ts +319 -319
  135. package/lib/domain/models/category.domain.model.d.ts +80 -80
  136. package/lib/domain/models/client-branch.domain.model.d.ts +43 -35
  137. package/lib/domain/models/client-category.domain.model.d.ts +69 -69
  138. package/lib/domain/models/client-credit-line.domain.models.d.ts +37 -37
  139. package/lib/domain/models/client-group.domain.model.d.ts +107 -107
  140. package/lib/domain/models/client.domain.model.d.ts +383 -396
  141. package/lib/domain/models/company-branch.domain.model.d.ts +163 -163
  142. package/lib/domain/models/company-custom.domain.model.d.ts +52 -52
  143. package/lib/domain/models/company.domain.model.d.ts +479 -479
  144. package/lib/domain/models/contact.domain.model.d.ts +28 -28
  145. package/lib/domain/models/cost-center.domain.model.d.ts +111 -111
  146. package/lib/domain/models/country-code.domain.model.d.ts +14 -14
  147. package/lib/domain/models/country.domain.model.d.ts +68 -68
  148. package/lib/domain/models/credit-management.domain.model.d.ts +337 -337
  149. package/lib/domain/models/credit-request.model.d.ts +271 -271
  150. package/lib/domain/models/deadline.domian.model.d.ts +76 -76
  151. package/lib/domain/models/declaration-code-configuration.domain.model.d.ts +55 -55
  152. package/lib/domain/models/deposit-cheque.domain.model.d.ts +278 -278
  153. package/lib/domain/models/document-reference.domain.model.d.ts +204 -204
  154. package/lib/domain/models/document-type.model.d.ts +59 -59
  155. package/lib/domain/models/driver.domian.model.d.ts +94 -94
  156. package/lib/domain/models/email-settings.domain.model.d.ts +86 -86
  157. package/lib/domain/models/financial-bank.domain.model.d.ts +153 -153
  158. package/lib/domain/models/general-report.domain.model.d.ts +146 -146
  159. package/lib/domain/models/group.domain.model.d.ts +78 -78
  160. package/lib/domain/models/history.domain.model.d.ts +66 -66
  161. package/lib/domain/models/income-banking-transaction.domain.model.d.ts +125 -125
  162. package/lib/domain/models/incoterm.domain.model.d.ts +23 -23
  163. package/lib/domain/models/invoice.domain.model.d.ts +1056 -1056
  164. package/lib/domain/models/item.domain.model.d.ts +935 -935
  165. package/lib/domain/models/kit.domain.model.d.ts +508 -508
  166. package/lib/domain/models/message-settings.domain.model.d.ts +193 -193
  167. package/lib/domain/models/module-detail.domain.model.d.ts +155 -155
  168. package/lib/domain/models/module.domain.model.d.ts +266 -266
  169. package/lib/domain/models/money.domain.model.d.ts +28 -28
  170. package/lib/domain/models/outgoing-banking-transaction.domain.model.d.ts +125 -125
  171. package/lib/domain/models/payment-term-repository.domain.model.d.ts +38 -38
  172. package/lib/domain/models/price-list.domain.model.d.ts +54 -54
  173. package/lib/domain/models/print-settings.domain.model.d.ts +110 -110
  174. package/lib/domain/models/provider-category.domain.model.d.ts +68 -68
  175. package/lib/domain/models/provider-group.domain.model.d.ts +110 -110
  176. package/lib/domain/models/provider.domain.model.d.ts +255 -255
  177. package/lib/domain/models/rate.domain.model.d.ts +112 -112
  178. package/lib/domain/models/reason-country.domain.model.d.ts +93 -93
  179. package/lib/domain/models/report-financials.domain.model.d.ts +2233 -2233
  180. package/lib/domain/models/retention-sales.domain.model.d.ts +404 -404
  181. package/lib/domain/models/retention-settings-sales.domain.model.d.ts +111 -111
  182. package/lib/domain/models/reverse-movements.domain.model.d.ts +9 -9
  183. package/lib/domain/models/role.domain.model.d.ts +175 -175
  184. package/lib/domain/models/sale-price.domain.model.d.ts +74 -74
  185. package/lib/domain/models/sales-pending-document.domain.model.d.ts +70 -70
  186. package/lib/domain/models/seat.domain.model.d.ts +325 -325
  187. package/lib/domain/models/seller.domain.model.d.ts +135 -135
  188. package/lib/domain/models/sequence.domain.model.d.ts +21 -21
  189. package/lib/domain/models/service-category.domain.model.d.ts +131 -131
  190. package/lib/domain/models/service-group.domain.model.d.ts +109 -109
  191. package/lib/domain/models/service-outsourcing.domain.model.d.ts +273 -273
  192. package/lib/domain/models/service.domain.model.d.ts +314 -314
  193. package/lib/domain/models/settings-professions.domain.model.d.ts +79 -79
  194. package/lib/domain/models/signature-settings.domain.model.d.ts +68 -68
  195. package/lib/domain/models/sri-history.domain.model.d.ts +298 -298
  196. package/lib/domain/models/sri-payment-term.domain.model.d.ts +30 -30
  197. package/lib/domain/models/stock-item.domain.model.d.ts +88 -88
  198. package/lib/domain/models/subscription.domain.model.d.ts +261 -261
  199. package/lib/domain/models/tax-ice.domain.model.d.ts +93 -93
  200. package/lib/domain/models/tax-irbpnr.domain.model.d.ts +19 -19
  201. package/lib/domain/models/tax-iva.domain.model.d.ts +78 -78
  202. package/lib/domain/models/tax-regime.domain.model.d.ts +31 -31
  203. package/lib/domain/models/tax-retention.domain.model.d.ts +113 -113
  204. package/lib/domain/models/territorial-organization.domain.model.d.ts +53 -53
  205. package/lib/domain/models/transactions-purchases.domain.model.d.ts +170 -170
  206. package/lib/domain/models/unit-measure.domain.model.d.ts +57 -57
  207. package/lib/domain/models/upload.domain.model.d.ts +117 -117
  208. package/lib/domain/models/user.domain.model.d.ts +260 -260
  209. package/lib/domain/models/warehouse.domain.model.d.ts +97 -97
  210. package/lib/domain/models/work-order.domain.model.d.ts +141 -141
  211. package/lib/domain/repositories/account-group.domain.repository.d.ts +13 -13
  212. package/lib/domain/repositories/account-template.domain.repository.d.ts +17 -17
  213. package/lib/domain/repositories/account.domain.repository.d.ts +21 -21
  214. package/lib/domain/repositories/alternative-item.domain.repository.d.ts +17 -17
  215. package/lib/domain/repositories/bank-movements.domain.repository.d.ts +10 -10
  216. package/lib/domain/repositories/bank.domain.repository.d.ts +14 -14
  217. package/lib/domain/repositories/billing-order.domain.repository.d.ts +9 -9
  218. package/lib/domain/repositories/billing.domain.repository.d.ts +9 -9
  219. package/lib/domain/repositories/blanket-agreement-category-service.domain.repository.d.ts +10 -10
  220. package/lib/domain/repositories/card-settlement.domain.repository.d.ts +11 -11
  221. package/lib/domain/repositories/cash-liquidation.domain.repository.d.ts +13 -13
  222. package/lib/domain/repositories/category.domain.repository.d.ts +9 -9
  223. package/lib/domain/repositories/client-branch.domain.repository.d.ts +8 -8
  224. package/lib/domain/repositories/client-category.domain.repository.d.ts +14 -14
  225. package/lib/domain/repositories/client-credit-line.domain.repository.d.ts +9 -9
  226. package/lib/domain/repositories/client-group.domain.repository.d.ts +14 -14
  227. package/lib/domain/repositories/client.domain.repository.d.ts +18 -18
  228. package/lib/domain/repositories/company-branch.domain.repository.d.ts +17 -17
  229. package/lib/domain/repositories/company-custom.domain.repository.d.ts +11 -11
  230. package/lib/domain/repositories/company.domain.repository.d.ts +18 -18
  231. package/lib/domain/repositories/contact.domain.repository.d.ts +8 -8
  232. package/lib/domain/repositories/cost-center.domain.repository.d.ts +14 -14
  233. package/lib/domain/repositories/country-code.domain.repository.d.ts +8 -8
  234. package/lib/domain/repositories/country.domain.repository.d.ts +12 -12
  235. package/lib/domain/repositories/credit-management.domain.repository.d.ts +11 -11
  236. package/lib/domain/repositories/credit-request.domain.repository.d.ts +15 -15
  237. package/lib/domain/repositories/deadline.domain.repository.d.ts +12 -12
  238. package/lib/domain/repositories/declaration-code-configuration.domain.repository.d.ts +12 -12
  239. package/lib/domain/repositories/deposit-cheque.domain.repository.d.ts +11 -11
  240. package/lib/domain/repositories/document-reference.domain.repository.d.ts +15 -15
  241. package/lib/domain/repositories/document-type.domain.repository.d.ts +12 -12
  242. package/lib/domain/repositories/driver.domain.repository.d.ts +14 -14
  243. package/lib/domain/repositories/email-settings.domain.repository.d.ts +13 -13
  244. package/lib/domain/repositories/financial-bank.domain.repository.d.ts +15 -15
  245. package/lib/domain/repositories/general-report.domain.repository.d.ts +10 -10
  246. package/lib/domain/repositories/group.domain.repository.d.ts +9 -9
  247. package/lib/domain/repositories/history.domain.repository.d.ts +10 -10
  248. package/lib/domain/repositories/income-banking-transaction.domain.repository.d.ts +11 -11
  249. package/lib/domain/repositories/incoterm.domain.repository.d.ts +8 -8
  250. package/lib/domain/repositories/invoice.domain.repository.d.ts +16 -16
  251. package/lib/domain/repositories/item.domain.repository.d.ts +20 -20
  252. package/lib/domain/repositories/kit.domain.repository.d.ts +18 -18
  253. package/lib/domain/repositories/message-settings.domain.repository.d.ts +13 -13
  254. package/lib/domain/repositories/module-detail.domain.repository.d.ts +14 -14
  255. package/lib/domain/repositories/module.domain.repository.d.ts +15 -15
  256. package/lib/domain/repositories/money.domain.repository.d.ts +9 -9
  257. package/lib/domain/repositories/outgoing-banking-transaction.domain.repository.d.ts +12 -12
  258. package/lib/domain/repositories/payment-term.domain.repository.d.ts +10 -10
  259. package/lib/domain/repositories/price-list.domain.repository.d.ts +9 -9
  260. package/lib/domain/repositories/print-settings.domain.repository.d.ts +11 -11
  261. package/lib/domain/repositories/provider-category.domain.repository.d.ts +10 -10
  262. package/lib/domain/repositories/provider-group.domain.repository.d.ts +10 -10
  263. package/lib/domain/repositories/provider.domain.repository.d.ts +19 -19
  264. package/lib/domain/repositories/rate.domain.repository.d.ts +9 -9
  265. package/lib/domain/repositories/reason-country.domain.repository.d.ts +14 -14
  266. package/lib/domain/repositories/report-financials.domain.repository.d.ts +249 -249
  267. package/lib/domain/repositories/retention-sales.domain.repository.d.ts +19 -19
  268. package/lib/domain/repositories/retention-settings-sales.domain.repository.d.ts +9 -9
  269. package/lib/domain/repositories/reverse-movements.domain.repository.d.ts +8 -8
  270. package/lib/domain/repositories/role.domain.repository.d.ts +17 -17
  271. package/lib/domain/repositories/sale-price.domain.repository.d.ts +8 -8
  272. package/lib/domain/repositories/sales-pending-document.domain.repository.d.ts +8 -8
  273. package/lib/domain/repositories/seat.domain.repository.d.ts +20 -20
  274. package/lib/domain/repositories/seller.domain.repository.d.ts +17 -17
  275. package/lib/domain/repositories/sequence.domain.repository.d.ts +9 -9
  276. package/lib/domain/repositories/service-category.domain.repository.d.ts +13 -13
  277. package/lib/domain/repositories/service-group.domain.repository.d.ts +15 -15
  278. package/lib/domain/repositories/service-outsourcing.domain.repository.d.ts +20 -20
  279. package/lib/domain/repositories/service.domain.repository.d.ts +20 -20
  280. package/lib/domain/repositories/settings-professions.domain.repository.d.ts +13 -13
  281. package/lib/domain/repositories/signature-settings.domain.repository.d.ts +14 -14
  282. package/lib/domain/repositories/sri-history.domain.repository.d.ts +8 -8
  283. package/lib/domain/repositories/sri-payment-term.domain.repository.d.ts +9 -9
  284. package/lib/domain/repositories/sri-payment-term.domian.repository.d.ts +9 -9
  285. package/lib/domain/repositories/stock-item.domain.repository.d.ts +10 -10
  286. package/lib/domain/repositories/subscription.domain.repository.d.ts +15 -15
  287. package/lib/domain/repositories/tax-ice.domain.repository.d.ts +14 -14
  288. package/lib/domain/repositories/tax-irbpnr.domain.repository.d.ts +8 -8
  289. package/lib/domain/repositories/tax-iva.domain.repository.d.ts +14 -14
  290. package/lib/domain/repositories/tax-regime.domain.repository.d.ts +9 -9
  291. package/lib/domain/repositories/tax-retention.domain.repository.d.ts +14 -14
  292. package/lib/domain/repositories/territorial-organization.domain.repository.d.ts +10 -10
  293. package/lib/domain/repositories/transactions-purchase.domain.repository.d.ts +12 -12
  294. package/lib/domain/repositories/unit-measure.domain.repository.d.ts +13 -13
  295. package/lib/domain/repositories/upload.domain.repository.d.ts +15 -15
  296. package/lib/domain/repositories/user.domain.repository.d.ts +21 -21
  297. package/lib/domain/repositories/warehouse.domain.repository.d.ts +14 -14
  298. package/lib/domain/repositories/work-order.domain.repository.d.ts +13 -13
  299. package/lib/domain/services/auth/auth.model.d.ts +183 -183
  300. package/lib/domain/services/auth/auth.service.d.ts +19 -19
  301. package/lib/domain/services/notification/notification.model.d.ts +15 -15
  302. package/lib/domain/services/notification/notification.service.d.ts +4 -4
  303. package/lib/domain/services/web-socket/web-socket.model.d.ts +34 -34
  304. package/lib/domain/services/web-socket/web-socket.service.d.ts +18 -18
  305. package/lib/environments/environment.d.ts +28 -28
  306. package/lib/infrastructure/repositories/account-group.infrastructure.repository.d.ts +10 -10
  307. package/lib/infrastructure/repositories/account-template.infrastructure.repository.d.ts +14 -14
  308. package/lib/infrastructure/repositories/account.infrastructure.repository.d.ts +17 -17
  309. package/lib/infrastructure/repositories/alternative-item.infrastructure.repository.d.ts +14 -14
  310. package/lib/infrastructure/repositories/bank-movements.infrastructure.repository.d.ts +6 -6
  311. package/lib/infrastructure/repositories/bank.infrastructure.repository.d.ts +10 -10
  312. package/lib/infrastructure/repositories/billing-order.infrastructure.repository.d.ts +6 -6
  313. package/lib/infrastructure/repositories/billing.infrastructure.repository.d.ts +6 -6
  314. package/lib/infrastructure/repositories/blanket-agreement-category-service..infrastructure.repository.d.ts +7 -7
  315. package/lib/infrastructure/repositories/card-settlement.infrastructure.repository.d.ts +8 -8
  316. package/lib/infrastructure/repositories/cash-liquidation.infrastructure.repository.d.ts +9 -9
  317. package/lib/infrastructure/repositories/category.infrastructure.repository.d.ts +6 -6
  318. package/lib/infrastructure/repositories/client-branch.infrastructure.repository.d.ts +5 -5
  319. package/lib/infrastructure/repositories/client-category.infrastructure.repository.d.ts +11 -11
  320. package/lib/infrastructure/repositories/client-credit-line.infrastructure.repository.d.ts +6 -6
  321. package/lib/infrastructure/repositories/client-group.infrastructure.repository.d.ts +11 -11
  322. package/lib/infrastructure/repositories/client.infrastructure.repository.d.ts +15 -15
  323. package/lib/infrastructure/repositories/company-custom.infrastructure.repository.d.ts +8 -8
  324. package/lib/infrastructure/repositories/company.infrastructure.repository.d.ts +15 -15
  325. package/lib/infrastructure/repositories/compony-branch.infrastructure.repository.d.ts +14 -14
  326. package/lib/infrastructure/repositories/contac.infrastrucutre.repository.d.ts +5 -5
  327. package/lib/infrastructure/repositories/cost-center.infrastructure.repository.d.ts +11 -11
  328. package/lib/infrastructure/repositories/country-code.infrastructure.repository.d.ts +5 -5
  329. package/lib/infrastructure/repositories/country.infrastructure.repository.d.ts +9 -9
  330. package/lib/infrastructure/repositories/credit-management.infrastructure.repository.d.ts +8 -8
  331. package/lib/infrastructure/repositories/credit-request.infrastructure.repository.d.ts +11 -11
  332. package/lib/infrastructure/repositories/deadline.infrastructure.repository.d.ts +9 -9
  333. package/lib/infrastructure/repositories/declaration-code-configuration.infrastructure.repository.d.ts +9 -9
  334. package/lib/infrastructure/repositories/deposit-cheque.infrastructure.repository.d.ts +8 -8
  335. package/lib/infrastructure/repositories/document-reference.infrastructure.repository.d.ts +12 -12
  336. package/lib/infrastructure/repositories/document-type.infrastructure.repository.d.ts +9 -9
  337. package/lib/infrastructure/repositories/driver.infrastructure.repository.d.ts +11 -11
  338. package/lib/infrastructure/repositories/email-settings.infrastructure.repository.d.ts +10 -10
  339. package/lib/infrastructure/repositories/financial-bank.infrastructure.repository.d.ts +11 -11
  340. package/lib/infrastructure/repositories/general-report.infrastructure.repository.d.ts +7 -7
  341. package/lib/infrastructure/repositories/group.infrastructure.repository.d.ts +6 -6
  342. package/lib/infrastructure/repositories/history.infrastructure.repository.d.ts +7 -7
  343. package/lib/infrastructure/repositories/income-banking-transaction.infrastructure.repository.d.ts +8 -8
  344. package/lib/infrastructure/repositories/incoterm.infrastructure.repository.d.ts +5 -5
  345. package/lib/infrastructure/repositories/invoice.infrastructure.repository.d.ts +13 -13
  346. package/lib/infrastructure/repositories/item.infrastructure.repository.d.ts +17 -17
  347. package/lib/infrastructure/repositories/kit.infrastructure.repository.d.ts +15 -15
  348. package/lib/infrastructure/repositories/message-settings.infrastructure.repository.d.ts +10 -10
  349. package/lib/infrastructure/repositories/module-detail.infrastructure.repository.d.ts +11 -11
  350. package/lib/infrastructure/repositories/module.infrastructure.repository.d.ts +12 -12
  351. package/lib/infrastructure/repositories/money.infrastructure.repository.d.ts +6 -6
  352. package/lib/infrastructure/repositories/outgoing-banking-transaction.infrastructure.repository.d.ts +8 -8
  353. package/lib/infrastructure/repositories/payment-term.infrastructure.repository.d.ts +6 -6
  354. package/lib/infrastructure/repositories/price-list.infrastructure.repository.d.ts +6 -6
  355. package/lib/infrastructure/repositories/print-settings.infrastructure.repository.d.ts +8 -8
  356. package/lib/infrastructure/repositories/provider-category.infrastructure.repository.d.ts +7 -7
  357. package/lib/infrastructure/repositories/provider-group.infrastructure.repository.d.ts +7 -7
  358. package/lib/infrastructure/repositories/provider.infrastructure.repository.d.ts +16 -16
  359. package/lib/infrastructure/repositories/rate.infrastructure.repository.d.ts +6 -6
  360. package/lib/infrastructure/repositories/reason-country.infrastructure.repository.d.ts +11 -11
  361. package/lib/infrastructure/repositories/report-financials.infrastructure.repository.d.ts +246 -246
  362. package/lib/infrastructure/repositories/retention-sales.infrastructure.repository.d.ts +16 -16
  363. package/lib/infrastructure/repositories/retention-settings-sales.infrastructure.repository.d.ts +6 -6
  364. package/lib/infrastructure/repositories/reverse-movements.infrastructure.repository.d.ts +5 -5
  365. package/lib/infrastructure/repositories/role.infrastructure.repository.d.ts +14 -14
  366. package/lib/infrastructure/repositories/sale-price.infrastructure.repository.d.ts +5 -5
  367. package/lib/infrastructure/repositories/sales-pending-document.infrastructure.repository.d.ts +5 -5
  368. package/lib/infrastructure/repositories/seat.infrastructure.repository.d.ts +17 -17
  369. package/lib/infrastructure/repositories/seller.infrastructure.repository.d.ts +14 -14
  370. package/lib/infrastructure/repositories/sequence.infrastructure.repository.d.ts +5 -5
  371. package/lib/infrastructure/repositories/service-category.infrastructure.repository.d.ts +10 -10
  372. package/lib/infrastructure/repositories/service-group.infrastructure.repository.d.ts +11 -11
  373. package/lib/infrastructure/repositories/service-outsourcing.infrastructure.repository.d.ts +17 -17
  374. package/lib/infrastructure/repositories/service.infrastructure.repository.d.ts +17 -17
  375. package/lib/infrastructure/repositories/settings-professions.infrastructure.repository.d.ts +10 -10
  376. package/lib/infrastructure/repositories/signature-settings.infrastructure.repository.d.ts +11 -11
  377. package/lib/infrastructure/repositories/sri-history.infrastructure.repository.d.ts +5 -5
  378. package/lib/infrastructure/repositories/sri-payment-term.infrastructure.repository.d.ts +6 -6
  379. package/lib/infrastructure/repositories/stock-item.infrastructure.repository.d.ts +7 -7
  380. package/lib/infrastructure/repositories/subscription.infrastructure.repository.d.ts +12 -12
  381. package/lib/infrastructure/repositories/tax-ice.infrastructure.repository.d.ts +10 -10
  382. package/lib/infrastructure/repositories/tax-irbpnr.infrastructure.repository.d.ts +5 -5
  383. package/lib/infrastructure/repositories/tax-iva.infrastructure.repository.d.ts +10 -10
  384. package/lib/infrastructure/repositories/tax-regime.infrastructure.repository.d.ts +6 -6
  385. package/lib/infrastructure/repositories/tax-retention.infrastructure.repository.d.ts +11 -11
  386. package/lib/infrastructure/repositories/territorial-organization.infrastructure.repository.d.ts +7 -7
  387. package/lib/infrastructure/repositories/transactions-purchase.infrastructure.repository.d.ts +9 -9
  388. package/lib/infrastructure/repositories/unit-measure.infrastructure.repository.d.ts +10 -10
  389. package/lib/infrastructure/repositories/upload.infrastructure.repository.d.ts +12 -12
  390. package/lib/infrastructure/repositories/user.infrastructure.repository.d.ts +18 -18
  391. package/lib/infrastructure/repositories/warehouse.infrastructure.repository.d.ts +11 -11
  392. package/lib/infrastructure/repositories/work-order.infrastructure.d.ts +10 -10
  393. package/lib/infrastructure/services/account-group.infrastructure.service.d.ts +15 -15
  394. package/lib/infrastructure/services/account-template.infrastructure.service.d.ts +18 -18
  395. package/lib/infrastructure/services/account.infrastructure.service.d.ts +20 -20
  396. package/lib/infrastructure/services/alternative-item.infrastructure.service.d.ts +19 -19
  397. package/lib/infrastructure/services/bank-movements.infrastructure.service.d.ts +11 -11
  398. package/lib/infrastructure/services/bank.infrasctructure.service.d.ts +15 -15
  399. package/lib/infrastructure/services/billing-order.infrastructure.service.d.ts +11 -11
  400. package/lib/infrastructure/services/billing.infrastructure.service.d.ts +10 -10
  401. package/lib/infrastructure/services/blanket-agreement-category-service.infrastructure.service.d.ts +11 -11
  402. package/lib/infrastructure/services/card-settlement.infrastructure.service.d.ts +13 -13
  403. package/lib/infrastructure/services/cash-liquidation.infrastructure.service.d.ts +14 -14
  404. package/lib/infrastructure/services/category.infrastructure.service.d.ts +11 -11
  405. package/lib/infrastructure/services/client-branch.infrastructure.service.d.ts +10 -10
  406. package/lib/infrastructure/services/client-category.infrastructure.service.d.ts +16 -16
  407. package/lib/infrastructure/services/client-credit-line.infrastructure.service.d.ts +11 -11
  408. package/lib/infrastructure/services/client-group.infrastructure.service.d.ts +16 -16
  409. package/lib/infrastructure/services/client.infrastructure.service.d.ts +20 -20
  410. package/lib/infrastructure/services/company-branch.infrastructure.service.d.ts +18 -18
  411. package/lib/infrastructure/services/company-custom.infrastructure.service.d.ts +12 -12
  412. package/lib/infrastructure/services/company.infrastructure.service.d.ts +20 -20
  413. package/lib/infrastructure/services/contact.infrastructure.service.d.ts +10 -10
  414. package/lib/infrastructure/services/cost-center.infrastructure.service.d.ts +16 -16
  415. package/lib/infrastructure/services/country-code.infrastructure.service.d.ts +10 -10
  416. package/lib/infrastructure/services/country.infrastructure.service.d.ts +14 -14
  417. package/lib/infrastructure/services/credit-management.infrastructure.service.d.ts +13 -13
  418. package/lib/infrastructure/services/credit-request.infrastructure.service.d.ts +16 -16
  419. package/lib/infrastructure/services/deadline.infrastructure.service.d.ts +14 -14
  420. package/lib/infrastructure/services/declaration-code-configuration.infrastructure.service.d.ts +14 -14
  421. package/lib/infrastructure/services/deposit-cheque.infrastructure.service.d.ts +13 -13
  422. package/lib/infrastructure/services/document-reference.infrastructure.service.d.ts +17 -17
  423. package/lib/infrastructure/services/document-type.infrastructure.service.d.ts +14 -14
  424. package/lib/infrastructure/services/driver.infrastructure.service.d.ts +16 -16
  425. package/lib/infrastructure/services/email-settings.infrastruture.service.d.ts +14 -14
  426. package/lib/infrastructure/services/financial-bank.infrastructure.service.d.ts +16 -16
  427. package/lib/infrastructure/services/general-report.infrastructure.service.d.ts +12 -12
  428. package/lib/infrastructure/services/group.infrastructure.service.d.ts +11 -11
  429. package/lib/infrastructure/services/history.infrastructure.service.d.ts +11 -11
  430. package/lib/infrastructure/services/income-banking-transaction.infrastructure.service.d.ts +13 -13
  431. package/lib/infrastructure/services/incoterm.infrastructure.service.d.ts +10 -10
  432. package/lib/infrastructure/services/invoice.infrastructure.service.d.ts +17 -17
  433. package/lib/infrastructure/services/item.infrastructure.service.d.ts +21 -21
  434. package/lib/infrastructure/services/kit.infrastructure.service.d.ts +19 -19
  435. package/lib/infrastructure/services/message-settings.infrastructure.service.d.ts +14 -14
  436. package/lib/infrastructure/services/module-detail.infrastructure.service.d.ts +16 -16
  437. package/lib/infrastructure/services/module.infrastructure.service.d.ts +17 -17
  438. package/lib/infrastructure/services/money.infrastructure.service.d.ts +11 -11
  439. package/lib/infrastructure/services/outgoing-banking-transaction.infrastructure.service.d.ts +13 -13
  440. package/lib/infrastructure/services/payment-term.infrastructure.service.d.ts +10 -10
  441. package/lib/infrastructure/services/price-list.infrastructure.service.d.ts +11 -11
  442. package/lib/infrastructure/services/print-settings.infrastructure.service.d.ts +13 -13
  443. package/lib/infrastructure/services/provider-category.infrastructure.service.d.ts +12 -12
  444. package/lib/infrastructure/services/provider-group.infrastructure.service.d.ts +12 -12
  445. package/lib/infrastructure/services/provider.infrastructure.service.d.ts +20 -20
  446. package/lib/infrastructure/services/rate.infrastructure.service.d.ts +11 -11
  447. package/lib/infrastructure/services/reason-country.infrastructure.service.d.ts +16 -16
  448. package/lib/infrastructure/services/report-financials.infrastructure.service.d.ts +254 -254
  449. package/lib/infrastructure/services/retention-sales.infrastructure.service.d.ts +20 -20
  450. package/lib/infrastructure/services/retention-settings-sales.infrastructure.service.d.ts +11 -11
  451. package/lib/infrastructure/services/reverse-movements.infrastructure.service.d.ts +10 -10
  452. package/lib/infrastructure/services/role.infrastructure.service.d.ts +19 -19
  453. package/lib/infrastructure/services/sale-price.infrastructure.service.d.ts +10 -10
  454. package/lib/infrastructure/services/sales-pending-document.infrastructure.service.d.ts +9 -9
  455. package/lib/infrastructure/services/seat.infrastructure.service.d.ts +21 -21
  456. package/lib/infrastructure/services/seller.infrastructure.service.d.ts +19 -19
  457. package/lib/infrastructure/services/sequence.infrastructe.service.d.ts +9 -9
  458. package/lib/infrastructure/services/service-category.infrastructure..service.d.ts +15 -15
  459. package/lib/infrastructure/services/service-group.infrastructure.service.d.ts +15 -15
  460. package/lib/infrastructure/services/service-outsourcing.infrastructure.service.d.ts +21 -21
  461. package/lib/infrastructure/services/service.infrastructure.service.d.ts +21 -21
  462. package/lib/infrastructure/services/settings-professions.infrastructure.service.d.ts +15 -15
  463. package/lib/infrastructure/services/signature-settings.infrastructure.service.d.ts +16 -16
  464. package/lib/infrastructure/services/sri-history.infrastructure.service.d.ts +9 -9
  465. package/lib/infrastructure/services/sri-payment-term.infrastructure.service.d.ts +10 -10
  466. package/lib/infrastructure/services/stock-item.infrastructure.service.d.ts +12 -12
  467. package/lib/infrastructure/services/subscription.infrastructure.service.d.ts +16 -16
  468. package/lib/infrastructure/services/tax-ice.infrastructure.service.d.ts +14 -14
  469. package/lib/infrastructure/services/tax-irbpnr.infrastructure.service.d.ts +10 -10
  470. package/lib/infrastructure/services/tax-iva.infrastructure.service.d.ts +14 -14
  471. package/lib/infrastructure/services/tax-regime.infrastructure.service.d.ts +10 -10
  472. package/lib/infrastructure/services/tax-retention.infrastructure.service.d.ts +16 -16
  473. package/lib/infrastructure/services/territorial-organization.infrastructure.service.d.ts +11 -11
  474. package/lib/infrastructure/services/transactions-purchase.infrastructure.service.d.ts +13 -13
  475. package/lib/infrastructure/services/unit-measure.infrastructure.service.d.ts +14 -14
  476. package/lib/infrastructure/services/upload.infrastructure.service.d.ts +16 -16
  477. package/lib/infrastructure/services/user.infrastructure.service.d.ts +22 -22
  478. package/lib/infrastructure/services/warehouse.infrastructure.service.d.ts +16 -16
  479. package/lib/infrastructure/services/work-order.infrastructure.service.d.ts +15 -15
  480. package/lib/pipes/error-translate-pipe/error-translate-pipe.d.ts +8 -8
  481. package/lib/remotes/components.remote.d.ts +27 -27
  482. package/lib/remotes/repositories/account-group.repository.d.ts +3 -3
  483. package/lib/remotes/repositories/account-template.repository.d.ts +3 -3
  484. package/lib/remotes/repositories/account.repository.d.ts +3 -3
  485. package/lib/remotes/repositories/alternative-item.repository.d.ts +3 -3
  486. package/lib/remotes/repositories/bank-movements.repository.d.ts +3 -3
  487. package/lib/remotes/repositories/bank.repository.d.ts +3 -3
  488. package/lib/remotes/repositories/billing-order.repository.d.ts +3 -3
  489. package/lib/remotes/repositories/billing.repository.d.ts +3 -3
  490. package/lib/remotes/repositories/blanket-agreenment-category-service.repository.d.ts +3 -3
  491. package/lib/remotes/repositories/card-settlement.repository.d.ts +3 -3
  492. package/lib/remotes/repositories/cash-liquidation.repository.d.ts +3 -3
  493. package/lib/remotes/repositories/category.repository.d.ts +3 -3
  494. package/lib/remotes/repositories/client-branch.repository.d.ts +3 -3
  495. package/lib/remotes/repositories/client-category.repository.d.ts +3 -3
  496. package/lib/remotes/repositories/client-credit-line.repository.d.ts +3 -3
  497. package/lib/remotes/repositories/client-group.repository.d.ts +3 -3
  498. package/lib/remotes/repositories/client.repository.d.ts +3 -3
  499. package/lib/remotes/repositories/company-branch.repository.d.ts +3 -3
  500. package/lib/remotes/repositories/company-custom.repository.d.ts +3 -3
  501. package/lib/remotes/repositories/company.repository.d.ts +3 -3
  502. package/lib/remotes/repositories/contact.repository.d.ts +3 -3
  503. package/lib/remotes/repositories/cost-center.repository.d.ts +3 -3
  504. package/lib/remotes/repositories/country-code.repository.d.ts +3 -3
  505. package/lib/remotes/repositories/country.repository.d.ts +3 -3
  506. package/lib/remotes/repositories/credit-management.repository.d.ts +3 -3
  507. package/lib/remotes/repositories/credit-request.repository.d.ts +3 -3
  508. package/lib/remotes/repositories/deadline.repository.d.ts +3 -3
  509. package/lib/remotes/repositories/declaration-code-configuration.repository.d.ts +3 -3
  510. package/lib/remotes/repositories/deposit-cheque.repository.d.ts +3 -3
  511. package/lib/remotes/repositories/document-reference.repository.d.ts +3 -3
  512. package/lib/remotes/repositories/document-type.repository.d.ts +3 -3
  513. package/lib/remotes/repositories/driver.repository.d.ts +3 -3
  514. package/lib/remotes/repositories/email-settings.repository.d.ts +3 -3
  515. package/lib/remotes/repositories/financial-bank.repository.d.ts +3 -3
  516. package/lib/remotes/repositories/general-report.repository.d.ts +3 -3
  517. package/lib/remotes/repositories/group.repository.d.ts +3 -3
  518. package/lib/remotes/repositories/history.repository.d.ts +3 -3
  519. package/lib/remotes/repositories/income-banking-transaction.repository.d.ts +3 -3
  520. package/lib/remotes/repositories/incoterm.repository.d.ts +3 -3
  521. package/lib/remotes/repositories/invoice.repository.d.ts +3 -3
  522. package/lib/remotes/repositories/item.repository.d.ts +3 -3
  523. package/lib/remotes/repositories/kit.repository.d.ts +3 -3
  524. package/lib/remotes/repositories/messages-settings.repository.d.ts +3 -3
  525. package/lib/remotes/repositories/module-detail.repository.d.ts +3 -3
  526. package/lib/remotes/repositories/module.repository.d.ts +3 -3
  527. package/lib/remotes/repositories/money.repository.d.ts +3 -3
  528. package/lib/remotes/repositories/outgoing-banking-transaction.repository.d.ts +3 -3
  529. package/lib/remotes/repositories/payment-term.repository.d.ts +3 -3
  530. package/lib/remotes/repositories/price-list.repository.d.ts +3 -3
  531. package/lib/remotes/repositories/print-settings.repository.d.ts +3 -3
  532. package/lib/remotes/repositories/provider-category.repository.d.ts +3 -3
  533. package/lib/remotes/repositories/provider-group.repository.d.ts +3 -3
  534. package/lib/remotes/repositories/provider.repository.d.ts +3 -3
  535. package/lib/remotes/repositories/rate.repository.d.ts +3 -3
  536. package/lib/remotes/repositories/reason-country.repository.d.ts +3 -3
  537. package/lib/remotes/repositories/report-financials.repository.d.ts +3 -3
  538. package/lib/remotes/repositories/retention-sales.repository.d.ts +3 -3
  539. package/lib/remotes/repositories/retention-settings-sales.repository.d.ts +3 -3
  540. package/lib/remotes/repositories/reverse-movements.repository.d.ts +3 -3
  541. package/lib/remotes/repositories/role.repository.d.ts +3 -3
  542. package/lib/remotes/repositories/sale-price.repository.d.ts +3 -3
  543. package/lib/remotes/repositories/sales-pending-document.repository.d.ts +3 -3
  544. package/lib/remotes/repositories/seat.repository.d.ts +3 -3
  545. package/lib/remotes/repositories/seller.repository.d.ts +3 -3
  546. package/lib/remotes/repositories/sequence.repository.d.ts +3 -3
  547. package/lib/remotes/repositories/service-category.repository.d.ts +3 -3
  548. package/lib/remotes/repositories/service-group.repository.d.ts +3 -3
  549. package/lib/remotes/repositories/service-outsourcing.repository.d.ts +3 -3
  550. package/lib/remotes/repositories/service.repository.d.ts +3 -3
  551. package/lib/remotes/repositories/settings-professions.repository.d.ts +3 -3
  552. package/lib/remotes/repositories/signature-settings.repository.d.ts +3 -3
  553. package/lib/remotes/repositories/sri-history.repository.d.ts +3 -3
  554. package/lib/remotes/repositories/sri-payment-term.repository.d.ts +3 -3
  555. package/lib/remotes/repositories/stock-item.repository.d.ts +3 -3
  556. package/lib/remotes/repositories/subscription.repository.d.ts +3 -3
  557. package/lib/remotes/repositories/tax-ice.repository.d.ts +3 -3
  558. package/lib/remotes/repositories/tax-irbpnr.repository.d.ts +3 -3
  559. package/lib/remotes/repositories/tax-iva.repository.d.ts +3 -3
  560. package/lib/remotes/repositories/tax-regime.repository.d.ts +3 -3
  561. package/lib/remotes/repositories/tax-retention.repository.d.ts +3 -3
  562. package/lib/remotes/repositories/territorial-organization.repository.d.ts +3 -3
  563. package/lib/remotes/repositories/transactions-purchase.repository.d.ts +3 -3
  564. package/lib/remotes/repositories/unit-measure.repository.d.ts +3 -3
  565. package/lib/remotes/repositories/upload.repository.d.ts +3 -3
  566. package/lib/remotes/repositories/user.repository.d.ts +3 -3
  567. package/lib/remotes/repositories/warehouse.repository.d.ts +3 -3
  568. package/lib/remotes/repositories/work-order.repository.d.ts +3 -3
  569. package/lib/remotes/repositories.remote.d.ts +87 -87
  570. package/lib/remotes/services/auth.service.d.ts +3 -3
  571. package/lib/remotes/services/web-socket.service.d.ts +4 -4
  572. package/lib/remotes/services.remote.d.ts +3 -3
  573. package/package.json +1 -1
@@ -1,1056 +1,1056 @@
1
- import { CbmSalePriceModel } from './sale-price.domain.model';
2
- export declare namespace CbmInvoiceModel {
3
- type DetailType = 'item' | 'service' | 'kit' | 'outsourcing_service';
4
- enum EPaymentTerm {
5
- CREDIT = "credit",
6
- DEBIT = "debit"
7
- }
8
- enum EInvoiceType {
9
- GENERAL = "general",
10
- EXPORT = "export"
11
- }
12
- namespace EPaymentTerm {
13
- function fromString(value: string): EPaymentTerm;
14
- function toString(value: EPaymentTerm): TPaymentTerm;
15
- }
16
- type TPaymentTerm = `${EPaymentTerm}`;
17
- type TInvoiceType = `${EInvoiceType}`;
18
- interface ListParams {
19
- page: number;
20
- size: number;
21
- reverse_status?: boolean;
22
- company_branch_id?: string;
23
- user_id?: string;
24
- to_date?: number;
25
- from_date?: number;
26
- enabled?: boolean;
27
- export?: boolean;
28
- invoice_type?: TInvoiceType;
29
- sequential?: string;
30
- invoice_number?: string;
31
- state?: string;
32
- client_branch_id?: string;
33
- client_id?: string;
34
- seller_id?: string;
35
- payment_term?: TPaymentTerm;
36
- }
37
- interface ListResponse {
38
- success: boolean;
39
- pageNum: number;
40
- pageSize: number;
41
- pages: number;
42
- total: number;
43
- items: ListResponse.Item[];
44
- }
45
- namespace ListResponse {
46
- interface Item {
47
- _id: string;
48
- company_id: string;
49
- company_branch_id: string;
50
- client_id: string;
51
- client_category_id: string;
52
- contact_id: string;
53
- seller_id: string;
54
- document_date: number;
55
- document_nomenclature: string;
56
- document_sequence: string;
57
- document_number: string;
58
- SRI_state: string;
59
- document_state: string;
60
- document_branch_identification_number: string;
61
- document_emission_point_id?: string;
62
- document_emission_point_number: string;
63
- document_correlative: string;
64
- authorization_number: string;
65
- payment_term: string;
66
- tax_base: number;
67
- discount: number;
68
- service: number;
69
- commentary: string;
70
- total: number;
71
- price_type: string;
72
- client_document_number: string;
73
- client_document_code?: string;
74
- client_trade_name: string;
75
- client_business_name: string;
76
- client_phone_code: string;
77
- client_address: string;
78
- client_cellphone: string;
79
- client_email: string;
80
- client_category_name?: string;
81
- client_province_id?: string;
82
- client_canton_id?: string;
83
- client_parish_id?: string;
84
- client_province_code?: string;
85
- client_province_name?: string;
86
- client_canton_code?: string;
87
- client_canton_name?: string;
88
- client_parish_code?: string;
89
- client_parish_name?: string;
90
- seller_full_name: string;
91
- seller_identification_number: string;
92
- seller_address: string;
93
- seller_email: string[];
94
- seller_cellphone: string;
95
- company_NIF: string;
96
- company_address: string;
97
- company_trade_name: string;
98
- company_business_name: string;
99
- company_branch_identification_number: string;
100
- company_branch_trade_name: string;
101
- company_branch_logo: string;
102
- company_branch_address: string;
103
- company_branch_email: string;
104
- company_branch_cellphone: string;
105
- company_branch_phone: string;
106
- client_branch_id: string;
107
- client_branch_code: string;
108
- client_branch_name: string;
109
- client_branch_address: string;
110
- client_branch_email: string;
111
- client_branch_cellphone: string;
112
- client_branch_phone: string;
113
- client_branch_phone_code: string;
114
- contact_identification_number: string;
115
- contact_full_name: string;
116
- contact_phone_code: string;
117
- contact_cellphone: string;
118
- contact_email: string;
119
- default_price_list_id?: string;
120
- default_price_list_name?: string;
121
- default_price_list_type?: string;
122
- default_cost_center_id?: string;
123
- default_cost_center_code?: string;
124
- default_cost_center_name?: string;
125
- default_cost_center_father_code?: string;
126
- default_cost_center_father_name?: string;
127
- default_discount_rate?: number;
128
- event_module_origin?: string;
129
- collection_origin_name?: string;
130
- collection_origin_id?: string;
131
- document_origin_name?: string;
132
- document_origin_number?: string;
133
- document_origin_date?: number;
134
- document_type?: string;
135
- environment?: number;
136
- SRI_identificator?: string;
137
- SRI_message?: string;
138
- SRI_aditional_information?: string;
139
- SRI_response?: object;
140
- url_authorized_document?: string;
141
- SRI_authorization_date?: number;
142
- credit_SRI_payment_term_id?: string;
143
- credit_SRI_payment_term_code?: string;
144
- enabled: boolean;
145
- disabled_reason?: string;
146
- created_at: number;
147
- created_user: string;
148
- updated_at: number;
149
- updated_user: string;
150
- reverse_status: boolean;
151
- reverse_reason?: string;
152
- reverse_at?: number;
153
- reverse_user?: string;
154
- invoice_credit?: number;
155
- invoice_debit?: number;
156
- invoice_retention?: number;
157
- invoice_credit_note?: number;
158
- invoice_return?: number;
159
- invoice_balance?: number;
160
- addItems: boolean;
161
- checked?: boolean;
162
- }
163
- }
164
- interface GetOneResponse {
165
- success: boolean;
166
- data: GetOneResponse.Data;
167
- }
168
- namespace GetOneResponse {
169
- interface Data {
170
- _id?: string;
171
- company_id?: string;
172
- company_branch_id?: string;
173
- client_id?: string;
174
- client_category_id: string;
175
- client_branch_id?: string;
176
- contact_id?: string;
177
- seller_id?: string;
178
- type?: string;
179
- document_date?: number;
180
- document_nomenclature?: string;
181
- document_number?: string;
182
- SRI_state?: string;
183
- document_state?: string;
184
- document_branch_identification_number?: string;
185
- document_emission_point_number?: string;
186
- document_emission_point_id?: string;
187
- document_sequence?: string;
188
- authorization_number?: string;
189
- payment_term?: string;
190
- tax_base?: number;
191
- tax_iva?: number;
192
- discount?: number;
193
- service?: number;
194
- total?: number;
195
- commentary?: string;
196
- client_document_number?: string;
197
- client_document_code?: string;
198
- client_trade_name?: string;
199
- client_business_name?: string;
200
- client_phone_code?: string;
201
- client_category_name?: string;
202
- client_address?: string;
203
- client_cellphone?: string;
204
- client_email?: string;
205
- client_branch_code?: string;
206
- client_branch_name?: string;
207
- client_branch_address?: string;
208
- client_branch_email?: string;
209
- client_branch_cellphone?: string;
210
- client_branch_phone?: string;
211
- client_branch_phone_code?: string;
212
- client_province_id?: string;
213
- client_canton_id?: string;
214
- client_parish_id?: string;
215
- client_province_code?: string;
216
- client_province_name?: string;
217
- client_canton_code?: string;
218
- client_canton_name?: string;
219
- client_parish_code?: string;
220
- client_parish_name?: string;
221
- contact_identification_number?: string;
222
- contact_full_name?: string;
223
- contact_phone_code?: string;
224
- contact_cellphone?: string;
225
- contact_email?: string;
226
- seller_full_name?: string;
227
- seller_identification_number?: string;
228
- seller_address: string;
229
- seller_email: string[];
230
- seller_cellphone: string;
231
- company_NIF?: string;
232
- company_address?: string;
233
- company_trade_name?: string;
234
- company_business_name?: string;
235
- company_branch_identification_number?: string;
236
- company_branch_trade_name?: string;
237
- company_branch_logo?: string;
238
- company_branch_address?: string;
239
- company_branch_email?: string;
240
- company_branch_cellphone?: string;
241
- company_branch_phone?: string;
242
- default_price_list_id?: string;
243
- default_price_list_name?: string;
244
- default_price_list_type?: string;
245
- default_cost_center_id?: string;
246
- default_cost_center_code?: string;
247
- default_cost_center_name?: string;
248
- default_cost_center_father_code?: string;
249
- default_cost_center_father_name?: string;
250
- default_discount_rate?: number;
251
- export?: boolean;
252
- invoice_type?: TInvoiceType;
253
- export_data?: Data.ExportData;
254
- event_module_origin?: string;
255
- collection_origin_name?: string;
256
- collection_origin_id?: string;
257
- document_origin_name?: string;
258
- document_origin_number?: string;
259
- document_origin_date?: number;
260
- document_type?: string;
261
- environment?: number;
262
- SRI_identificator?: string;
263
- SRI_message?: string;
264
- SRI_aditional_information?: string;
265
- SRI_response?: object;
266
- url_authorized_document?: string;
267
- SRI_authorization_date?: number;
268
- credit_SRI_payment_term_id?: string;
269
- credit_SRI_payment_term_code?: string;
270
- enabled?: boolean;
271
- disabled_reason?: string;
272
- deleted?: boolean;
273
- created_at?: number;
274
- created_user?: string;
275
- updated_at?: number;
276
- updated_user?: string;
277
- reverse_status: boolean;
278
- reverse_reason?: string;
279
- reverse_at?: number;
280
- reverse_user?: string;
281
- invoice_summary_article?: Data.SummaryArticle[];
282
- invoice_detail?: Data.Detail[];
283
- invoice_tax?: Data.Tax[];
284
- invoice_payment_term?: Data.PaymentTerm[];
285
- credit_management_installment?: Data.CreditManagementInstallment[];
286
- credit_management_balance: number;
287
- additional_information?: Data.AdditionaInformation[];
288
- invoice_tax_declaration?: Data.TaxDeclaration[];
289
- income_id?: Data.Income[];
290
- related_documents?: Data.RelatedDocument[];
291
- }
292
- namespace Data {
293
- interface SummaryArticle {
294
- code: string;
295
- name: string;
296
- amount: number;
297
- sequence: string;
298
- }
299
- interface RelatedDocument {
300
- collection_origin_id: string;
301
- collection_origin_name: string;
302
- document_number: string;
303
- secuencial: string;
304
- date: number;
305
- total: number;
306
- _id: string;
307
- }
308
- interface TaxDeclaration {
309
- _id: string;
310
- configuration_id: string;
311
- raw_code?: string;
312
- net_code?: string;
313
- tax_code?: string;
314
- raw_value?: number;
315
- net_value?: number;
316
- tax_value?: number;
317
- description: string;
318
- }
319
- interface Income {
320
- _id?: string;
321
- income_id?: string;
322
- credit_management_id?: string;
323
- credit_management_detail_id?: string;
324
- client_id?: string;
325
- client_branch_id?: string;
326
- seller_id?: string;
327
- cost_center_id?: string;
328
- installment?: string;
329
- credit_document_nomenclature?: string;
330
- credit_document_number?: string;
331
- paid?: number;
332
- previous_balance?: number;
333
- subsequent_balance?: number;
334
- client_document_number?: string;
335
- client_trade_name?: string;
336
- client_business_name?: string;
337
- client_phone_code?: string;
338
- client_address?: string;
339
- client_cellphone?: string;
340
- client_email?: string;
341
- seller_identification_number?: string;
342
- seller_full_name?: string;
343
- seller_document_number?: string;
344
- seller_address?: string;
345
- seller_email?: string[];
346
- seller_cellphone?: string;
347
- cost_center_code?: string;
348
- cost_center_name?: string;
349
- client_branch_code?: string;
350
- client_branch_name?: string;
351
- client_branch_address?: string;
352
- client_branch_cellphone?: string;
353
- client_branch_phone_code?: string;
354
- created_user?: string;
355
- created_at?: number;
356
- }
357
- interface ExportData {
358
- export_foreign_trade: string;
359
- export_buyer_address: string;
360
- export_country_origin_id: string;
361
- export_country_origin_name: string;
362
- export_country_origin_code: string;
363
- export_origin_port: string;
364
- export_country_destination_id: string;
365
- export_country_destination_name: string;
366
- export_country_destination_code: string;
367
- export_destination_port: string;
368
- export_incoterm_place: string;
369
- export_incoterm_invoice_id: string;
370
- export_incoterm_invoice_code: string;
371
- export_incoterm_invoice_name: string;
372
- export_incoterm_without_taxes_id: string;
373
- export_incoterm_without_taxes_code: string;
374
- export_incoterm_without_taxes_name: string;
375
- export_international_freight: number;
376
- export_international_insurance: number;
377
- export_customs_expenditures: number;
378
- export_transportation_expenses: number;
379
- export_dae?: string;
380
- export_mawb?: string;
381
- export_forwarder?: string;
382
- export_cr?: string;
383
- }
384
- interface PaymentTerm {
385
- _id: string;
386
- payment_term_id: string;
387
- account_id?: string;
388
- SRI_payment_term_id: string;
389
- SRI_payment_term_code: string;
390
- financial_bank_id?: string;
391
- date: number;
392
- value: number;
393
- financial_bank_name?: string;
394
- card_type?: string;
395
- batch_code?: string;
396
- bank_cheque?: string;
397
- account_name?: string;
398
- account_code?: string;
399
- payment_term_code: string;
400
- payment_term_name: string;
401
- operation_number?: string;
402
- }
403
- interface Detail {
404
- _id: string;
405
- invoice_id?: string;
406
- item_id?: string;
407
- category_id?: string;
408
- cost_center_id?: string;
409
- price_list_id?: string;
410
- tax_iva_id?: string;
411
- tax_irbpn_id?: string;
412
- tax_ice_id?: string;
413
- unit_measure_id?: string;
414
- amount?: number;
415
- amount_free?: number;
416
- sequence?: string;
417
- price_base?: number;
418
- total_price?: number;
419
- discount_rate?: number;
420
- unit_discount?: number;
421
- total_discount?: number;
422
- replace_item_name?: string;
423
- commentary_item?: string;
424
- tax_iva_rate?: number;
425
- item_code?: string;
426
- item_barcode?: string;
427
- item_name?: string;
428
- item_balance_referal_guide?: number;
429
- item_balance?: number;
430
- unit_measure_name?: string;
431
- unit_measure_abbreviation?: string;
432
- unit_measure_group_abbreviation?: string;
433
- unit_measure_group_id?: string;
434
- unit_measure_group_name?: string;
435
- unit_measure_type?: string;
436
- unit_measure_quantity?: number;
437
- stock_afected?: number;
438
- in_stock?: number;
439
- manage_by?: string;
440
- category_name?: string;
441
- cost_center_code?: string;
442
- cost_center_name?: string;
443
- cost_center_father_code?: string;
444
- cost_center_father_name?: string;
445
- price_list_name?: string;
446
- type?: DetailType;
447
- price_type?: CbmSalePriceModel.TName;
448
- price_type_description?: string;
449
- price_type_id?: string;
450
- deleted?: boolean;
451
- created_at?: number;
452
- created_user?: string;
453
- updated_at?: number;
454
- updated_user?: string;
455
- invoice_detail_tax?: Detail.Tax[];
456
- tax_iva_code?: string;
457
- tax_iva?: Detail.TaxIva;
458
- outsourcing_service_data?: Detail.OutsourcingServiceData;
459
- }
460
- namespace Detail {
461
- interface OutsourcingServiceData {
462
- outsourcing_service_movements_id: string;
463
- code_outsourcing_service: string;
464
- name_outsourcing_service: string;
465
- date_purchase_receipt: number;
466
- structured_document_number: string;
467
- provider_document_number: string;
468
- provider_business_name: string;
469
- cost: number;
470
- }
471
- interface Tax {
472
- _id: string;
473
- invoice_detail_id: string;
474
- type: string;
475
- description: string;
476
- tax_code: string;
477
- tax_rate: number;
478
- tax_base: number;
479
- tax_value: number;
480
- }
481
- interface TaxIva {
482
- _id: string;
483
- country_id?: string;
484
- code?: string;
485
- percentage?: number;
486
- description?: string;
487
- enabled?: boolean;
488
- created_user?: string;
489
- created_at?: number;
490
- updated_user?: string;
491
- updated_at?: number;
492
- }
493
- }
494
- interface Tax {
495
- _id: string;
496
- invoice_id: string;
497
- description: string;
498
- type: string;
499
- tax_code: string;
500
- tax_rate: number;
501
- tax_base: number;
502
- tax_value: number;
503
- created_at: number;
504
- created_user: string;
505
- updated_at: number;
506
- updated_user: string;
507
- }
508
- interface CreditManagementInstallment {
509
- _id: string;
510
- credit_management_id?: string;
511
- installment: string;
512
- date: number;
513
- expired_in?: number;
514
- period?: number;
515
- credit: number;
516
- debit?: number;
517
- retention?: number;
518
- credit_note?: number;
519
- return?: number;
520
- balance?: number;
521
- created_at: number;
522
- created_user: string;
523
- updated_at?: number;
524
- updated_user?: string;
525
- }
526
- interface AdditionaInformation {
527
- description: string;
528
- value: string;
529
- type: string;
530
- }
531
- }
532
- }
533
- interface SaveBody {
534
- invoice_type?: TInvoiceType;
535
- client_id: string;
536
- client_category_id: string;
537
- client_branch_id?: string;
538
- contact_id?: string;
539
- seller_id: string;
540
- document_type: string;
541
- document_emission_point_number: string;
542
- document_emission_point_id: string;
543
- payment_term: string;
544
- tax_base: number;
545
- discount: number;
546
- service: number;
547
- total: number;
548
- commentary: string;
549
- client_document_number: string;
550
- client_document_code: string;
551
- client_trade_name: string;
552
- client_business_name: string;
553
- client_phone_code: string;
554
- client_address: string;
555
- client_cellphone: string;
556
- client_email: string;
557
- client_category_name: string;
558
- seller_full_name: string;
559
- seller_identification_number: string;
560
- seller_address: string;
561
- seller_email: string[];
562
- seller_cellphone: string;
563
- company_branch_id: string;
564
- company_NIF: string;
565
- company_address: string;
566
- company_trade_name: string;
567
- company_business_name: string;
568
- company_required_accounting: boolean;
569
- company_retention_agent: string;
570
- company_special_taxpayer: string;
571
- company_taxpayer_type: string;
572
- company_branch_identification_number: string;
573
- company_branch_trade_name: string;
574
- company_branch_logo: string;
575
- company_branch_address: string;
576
- company_branch_email: string;
577
- company_branch_cellphone: string;
578
- company_branch_phone: string;
579
- company_branch_artisanal_qualification: string;
580
- client_branch_code?: string;
581
- client_branch_name?: string;
582
- client_branch_address?: string;
583
- client_branch_email?: string;
584
- client_branch_cellphone?: string;
585
- client_branch_phone?: string;
586
- client_branch_phone_code?: string;
587
- client_province_id?: string;
588
- client_canton_id?: string;
589
- client_parish_id?: string;
590
- client_province_code?: string;
591
- client_province_name?: string;
592
- client_canton_code?: string;
593
- client_canton_name?: string;
594
- client_parish_code?: string;
595
- client_parish_name?: string;
596
- contact_identification_number?: string;
597
- contact_full_name?: string;
598
- contact_phone_code?: string;
599
- contact_cellphone?: string;
600
- contact_email?: string;
601
- order_id?: string;
602
- environment: number;
603
- default_price_list_id?: string;
604
- default_price_list_name?: string;
605
- default_price_list_type?: string;
606
- default_cost_center_id?: string;
607
- default_cost_center_code?: string;
608
- default_cost_center_name?: string;
609
- default_cost_center_father_code?: string;
610
- default_cost_center_father_name?: string;
611
- default_discount_rate?: number;
612
- tax_base_iva: number;
613
- tax_base_iva_rate_0: number;
614
- tax_base_iva_exempt: number;
615
- tax_base_iva_not_subject: number;
616
- tax_base_irbpnr: number;
617
- tax_base_ice: number;
618
- tax_iva: number;
619
- tax_irbpnr: number;
620
- tax_ice: number;
621
- export?: boolean;
622
- export_data?: SaveBody.ExportData;
623
- event_module_origin?: string;
624
- collection_origin_name?: string;
625
- collection_origin_id?: string;
626
- document_origin_name?: string;
627
- document_origin_number?: string;
628
- document_origin_date?: number;
629
- credit_SRI_payment_term_id?: string;
630
- credit_SRI_payment_term_code?: string;
631
- union_of_order_id?: string;
632
- union_of_order_document_nomenclature?: string;
633
- union_of_order_document_number?: string;
634
- union_of_order_date?: number;
635
- split_order_id?: string;
636
- split_order_document_nomenclature?: string;
637
- split_order_document_number?: string;
638
- split_order_date?: number;
639
- invoice_summary_article?: SaveBody.SummaryArticle[];
640
- invoice_detail: SaveBody.Detail[];
641
- invoice_tax: SaveBody.Tax[];
642
- invoice_installment: SaveBody.Installment[];
643
- invoice_payment_term?: SaveBody.PaymentTerm[];
644
- additional_information?: SaveBody.AdditionaInformation[];
645
- invoice_tax_declaration: SaveBody.TaxDeclaration[];
646
- }
647
- namespace SaveBody {
648
- interface SummaryArticle {
649
- code: string;
650
- name: string;
651
- amount: number;
652
- sequence: string;
653
- }
654
- interface ExportData {
655
- export_foreign_trade: string;
656
- export_buyer_address: string;
657
- export_country_origin_id: string;
658
- export_country_origin_name: string;
659
- export_country_origin_code: string;
660
- export_origin_port: string;
661
- export_country_destination_id: string;
662
- export_country_destination_name: string;
663
- export_country_destination_code: string;
664
- export_destination_port: string;
665
- export_incoterm_place: string;
666
- export_incoterm_invoice_id: string;
667
- export_incoterm_invoice_code: string;
668
- export_incoterm_invoice_name: string;
669
- export_incoterm_without_taxes_id: string;
670
- export_incoterm_without_taxes_code: string;
671
- export_incoterm_without_taxes_name: string;
672
- export_international_freight: number;
673
- export_international_insurance: number;
674
- export_customs_expenditures: number;
675
- export_transportation_expenses: number;
676
- export_dae?: string;
677
- export_mawb?: string;
678
- export_forwarder?: string;
679
- export_cr?: string;
680
- }
681
- interface Detail {
682
- item_id: string;
683
- category_id: string;
684
- cost_center_id?: string;
685
- price_list_id: string;
686
- tax_iva_id: string;
687
- tax_iva_code: string;
688
- tax_irbpn_id?: string;
689
- tax_ice_id?: string;
690
- unit_measure_id?: string;
691
- amount: number;
692
- amount_free?: number;
693
- sequence?: string;
694
- price_base: number;
695
- total_price: number;
696
- discount_rate: number;
697
- unit_discount: number;
698
- total_discount: number;
699
- commentary_item?: string | null;
700
- replace_item_name?: string | null;
701
- tax_iva_rate: number;
702
- item_code: string;
703
- item_barcode?: string;
704
- item_name: string;
705
- unit_measure_abbreviation?: string;
706
- unit_measure_group_abbreviation?: string;
707
- unit_measure_name?: string;
708
- unit_measure_group_id?: string;
709
- unit_measure_group_name?: string;
710
- unit_measure_type?: string;
711
- unit_measure_quantity?: number;
712
- stock_afected?: number;
713
- in_stock?: number;
714
- manage_by?: string;
715
- category_name: string;
716
- cost_center_code?: string;
717
- cost_center_name?: string;
718
- cost_center_father_code?: string;
719
- cost_center_father_name?: string;
720
- price_list_name: string;
721
- type: DetailType;
722
- price_type?: CbmSalePriceModel.TName;
723
- price_type_description?: string;
724
- price_type_id?: string;
725
- invoice_detail_tax: Detail.Tax[];
726
- outsourcing_service_data?: Detail.OutsourcingServiceData;
727
- }
728
- interface TaxDeclaration {
729
- configuration_id: string;
730
- raw_code?: string;
731
- net_code?: string;
732
- tax_code?: string;
733
- raw_value?: number;
734
- net_value?: number;
735
- tax_value?: number;
736
- description: string;
737
- }
738
- interface AdditionaInformation {
739
- description: string;
740
- value?: string;
741
- type: string;
742
- }
743
- namespace Detail {
744
- interface OutsourcingServiceData {
745
- outsourcing_service_movements_id: string;
746
- code_outsourcing_service: string;
747
- name_outsourcing_service: string;
748
- date_purchase_receipt: number;
749
- structured_document_number: string;
750
- provider_document_number: string;
751
- provider_business_name: string;
752
- cost: number;
753
- }
754
- interface Tax {
755
- type: string;
756
- description: string;
757
- tax_code: string;
758
- tax_rate: number;
759
- tax_base: number;
760
- tax_value: number;
761
- }
762
- }
763
- interface Tax {
764
- type: string;
765
- description: string;
766
- tax_code: string;
767
- tax_rate: number;
768
- tax_base: number;
769
- tax_value: number;
770
- }
771
- interface Installment {
772
- installment: string;
773
- date: number;
774
- expired_in: number;
775
- period: number;
776
- credit: number;
777
- }
778
- interface PaymentTerm {
779
- payment_term_id: string;
780
- account_id?: string;
781
- SRI_payment_term_id: string;
782
- SRI_payment_term_code: string;
783
- financial_bank_id?: string;
784
- date: number;
785
- value: number;
786
- financial_bank_name?: string;
787
- card_type?: string;
788
- batch_code?: string;
789
- account_name?: string;
790
- account_code?: string;
791
- bank_cheque?: string;
792
- payment_term_code: string;
793
- payment_term_name: string;
794
- operation_number?: string;
795
- }
796
- }
797
- interface DownloadExcelParams {
798
- payment_term?: TPaymentTerm;
799
- to_date?: number;
800
- from_date?: number;
801
- enabled?: boolean;
802
- sequential?: string;
803
- invoice_number?: string;
804
- state?: string;
805
- client_branch_id?: string;
806
- client_id?: string;
807
- export?: boolean;
808
- invoice_type?: TInvoiceType;
809
- reverse_status?: boolean;
810
- }
811
- interface ListLastMovementsParams {
812
- page: number;
813
- size: number;
814
- client_id: string;
815
- item_id: string;
816
- }
817
- interface ListLastMovementsResponse {
818
- success: boolean;
819
- pageNum: number;
820
- pageSize: number;
821
- pages: number;
822
- total: number;
823
- items: ListLastMovementsResponse.Item[];
824
- totalAmount: ListLastMovementsResponse.TotalAmount;
825
- }
826
- namespace ListLastMovementsResponse {
827
- interface TotalAmount {
828
- _id: string;
829
- sum_amount: number;
830
- sum_price_base: number;
831
- sum_total_price: number;
832
- sum_discount_rate: number;
833
- sum_unit_discount: number;
834
- sum_total_discount: number;
835
- }
836
- interface Item {
837
- _id: string;
838
- collection_origin_name: string;
839
- collection_origin_id: string;
840
- company_id: string;
841
- company_branch_id: string;
842
- country_id: string;
843
- item_id: string;
844
- category_id: string;
845
- cost_center_id: string;
846
- price_list_id: string;
847
- tax_iva_id: string;
848
- unit_measure_id: string;
849
- type: string;
850
- manage_by: string;
851
- amount: number;
852
- price_base: number;
853
- total_price: number;
854
- discount_rate: number;
855
- unit_discount: number;
856
- total_discount: number;
857
- commentary_item: null;
858
- replace_item_name: null;
859
- tax_iva_code: string;
860
- tax_iva_rate: number;
861
- item_code: string;
862
- item_barcode: string;
863
- item_name: string;
864
- unit_measure_type: string;
865
- unit_measure_abbreviation: string;
866
- unit_measure_name: string;
867
- unit_measure_quantity: number;
868
- stock_afected: number;
869
- category_name: string;
870
- cost_center_code: string;
871
- cost_center_name: string;
872
- cost_center_father_code: string;
873
- cost_center_father_name: string;
874
- price_list_name: string;
875
- price_type: string;
876
- price_type_description: string;
877
- price_type_id: string;
878
- returned_items: number;
879
- item_balance: number;
880
- item_balance_referal_guide: number;
881
- deleted: boolean;
882
- created_at: number;
883
- created_user: string;
884
- document_nomenclature: string;
885
- document_number: string;
886
- document_branch_identification_number: string;
887
- document_emission_point_number: string;
888
- document_sequence: string;
889
- client_document_code: string;
890
- client_document_number: string;
891
- client_trade_name: string;
892
- client_business_name: string;
893
- client_phone_code: string;
894
- client_address: string;
895
- client_cellphone: string;
896
- client_email: string;
897
- client_category_name: string;
898
- }
899
- }
900
- interface ListWithoutRetentionParams {
901
- page: number;
902
- size: number;
903
- client_id: string;
904
- date_end?: number;
905
- date_begin?: number;
906
- invoice_number?: string;
907
- payment_term?: string;
908
- branch_emission_point_sequence?: string;
909
- nomenclature_number?: string;
910
- }
911
- interface ListWithoutRetentionResponse {
912
- success: boolean;
913
- pageNum: number;
914
- pageSize: number;
915
- pages: number;
916
- total: number;
917
- items: ListWithoutRetentionResponse.Item[];
918
- }
919
- namespace ListWithoutRetentionResponse {
920
- interface Item {
921
- _id: string;
922
- company_id: string;
923
- company_branch_id: string;
924
- client_id: string;
925
- client_branch_id: string;
926
- contact_id: string;
927
- seller_id: string;
928
- document_nomenclature: string;
929
- document_number: string;
930
- document_date: number;
931
- SRI_state: string;
932
- document_branch_identification_number: string;
933
- document_emission_point_number: string;
934
- document_sequence: string;
935
- authorization_number: string;
936
- payment_term: string;
937
- tax_base: number;
938
- discount: number;
939
- service: number;
940
- commentary: string;
941
- tax_base_iva: number;
942
- tax_base_iva_rate_0: number;
943
- tax_base_iva_exempt: number;
944
- tax_base_iva_not_subject: number;
945
- tax_base_irbpnr: number;
946
- rate_iva: number;
947
- tax_base_ice: number;
948
- tax_iva: number;
949
- code_iva: string;
950
- tax_irbpnr: number;
951
- tax_ice: number;
952
- total: number;
953
- price_type: string;
954
- export?: boolean;
955
- company_NIF: string;
956
- company_address: string;
957
- company_trade_name: string;
958
- company_business_name: string;
959
- company_branch_identification_number: string;
960
- company_branch_trade_name: string;
961
- company_branch_logo: string;
962
- company_branch_address: string;
963
- company_branch_email: string;
964
- company_branch_cellphone: string;
965
- company_branch_phone: string;
966
- client_document_number: string;
967
- client_trade_name: string;
968
- client_business_name: string;
969
- client_phone_code: string;
970
- client_address: string;
971
- client_cellphone: string;
972
- client_email: string;
973
- client_branch_code: string;
974
- client_branch_name: string;
975
- client_branch_address: string;
976
- client_branch_email: string;
977
- client_branch_cellphone: string;
978
- client_branch_phone: string;
979
- client_branch_phone_code: string;
980
- client_category_name: string;
981
- client_province_id?: string;
982
- client_canton_id?: string;
983
- client_parish_id?: string;
984
- client_province_code?: string;
985
- client_province_name?: string;
986
- client_canton_code?: string;
987
- client_canton_name?: string;
988
- client_parish_code?: string;
989
- client_parish_name?: string;
990
- contact_identification_number: string;
991
- contact_full_name: string;
992
- contact_phone_code: string;
993
- contact_cellphone: string;
994
- contact_email: string;
995
- seller_identification_number: string;
996
- seller_full_name: string;
997
- seller_address: string;
998
- seller_email: string[];
999
- seller_cellphone: string;
1000
- enabled: boolean;
1001
- created_at: number;
1002
- created_user: string;
1003
- reverse_status: boolean;
1004
- deleted_at: number;
1005
- default_price_list_id?: string;
1006
- default_price_list_name?: string;
1007
- default_price_list_type?: string;
1008
- default_cost_center_id?: string;
1009
- default_cost_center_code?: string;
1010
- default_cost_center_name?: string;
1011
- default_cost_center_father_code?: string;
1012
- default_cost_center_father_name?: string;
1013
- default_warehouse_id: string;
1014
- default_discount_rate: number;
1015
- credit_management: Item.CreditManagement;
1016
- }
1017
- namespace Item {
1018
- interface CreditManagement {
1019
- _id: string;
1020
- client_id: string;
1021
- invoice_id: string;
1022
- credit: number;
1023
- debit: number;
1024
- retention: number;
1025
- return: number;
1026
- balance: number;
1027
- }
1028
- }
1029
- }
1030
- interface SendEmailParams {
1031
- timezone: string;
1032
- locale: string;
1033
- emails?: string;
1034
- }
1035
- interface ChangeStatusBody {
1036
- enabled: boolean;
1037
- disabled_reason?: string;
1038
- }
1039
- interface ConfirmResponse {
1040
- success: boolean;
1041
- message: string;
1042
- data?: any;
1043
- }
1044
- interface DownloadIndividualPdfParams {
1045
- timezone: string;
1046
- locale: string;
1047
- }
1048
- interface DownloadIndividualExcelParams {
1049
- timezone: string;
1050
- locale: string;
1051
- }
1052
- interface CreateXmlParams {
1053
- timezone: string;
1054
- locale: string;
1055
- }
1056
- }
1
+ import { CbmSalePriceModel } from './sale-price.domain.model';
2
+ export declare namespace CbmInvoiceModel {
3
+ type DetailType = 'item' | 'service' | 'kit' | 'outsourcing_service';
4
+ enum EPaymentTerm {
5
+ CREDIT = "credit",
6
+ DEBIT = "debit"
7
+ }
8
+ enum EInvoiceType {
9
+ GENERAL = "general",
10
+ EXPORT = "export"
11
+ }
12
+ namespace EPaymentTerm {
13
+ function fromString(value: string): EPaymentTerm;
14
+ function toString(value: EPaymentTerm): TPaymentTerm;
15
+ }
16
+ type TPaymentTerm = `${EPaymentTerm}`;
17
+ type TInvoiceType = `${EInvoiceType}`;
18
+ interface ListParams {
19
+ page: number;
20
+ size: number;
21
+ reverse_status?: boolean;
22
+ company_branch_id?: string;
23
+ user_id?: string;
24
+ to_date?: number;
25
+ from_date?: number;
26
+ enabled?: boolean;
27
+ export?: boolean;
28
+ invoice_type?: TInvoiceType;
29
+ sequential?: string;
30
+ invoice_number?: string;
31
+ state?: string;
32
+ client_branch_id?: string;
33
+ client_id?: string;
34
+ seller_id?: string;
35
+ payment_term?: TPaymentTerm;
36
+ }
37
+ interface ListResponse {
38
+ success: boolean;
39
+ pageNum: number;
40
+ pageSize: number;
41
+ pages: number;
42
+ total: number;
43
+ items: ListResponse.Item[];
44
+ }
45
+ namespace ListResponse {
46
+ interface Item {
47
+ _id: string;
48
+ company_id: string;
49
+ company_branch_id: string;
50
+ client_id: string;
51
+ client_category_id: string;
52
+ contact_id: string;
53
+ seller_id: string;
54
+ document_date: number;
55
+ document_nomenclature: string;
56
+ document_sequence: string;
57
+ document_number: string;
58
+ SRI_state: string;
59
+ document_state: string;
60
+ document_branch_identification_number: string;
61
+ document_emission_point_id?: string;
62
+ document_emission_point_number: string;
63
+ document_correlative: string;
64
+ authorization_number: string;
65
+ payment_term: string;
66
+ tax_base: number;
67
+ discount: number;
68
+ service: number;
69
+ commentary: string;
70
+ total: number;
71
+ price_type: string;
72
+ client_document_number: string;
73
+ client_document_code?: string;
74
+ client_trade_name: string;
75
+ client_business_name: string;
76
+ client_phone_code: string;
77
+ client_address: string;
78
+ client_cellphone: string;
79
+ client_email: string;
80
+ client_category_name?: string;
81
+ client_province_id?: string;
82
+ client_canton_id?: string;
83
+ client_parish_id?: string;
84
+ client_province_code?: string;
85
+ client_province_name?: string;
86
+ client_canton_code?: string;
87
+ client_canton_name?: string;
88
+ client_parish_code?: string;
89
+ client_parish_name?: string;
90
+ seller_full_name: string;
91
+ seller_identification_number: string;
92
+ seller_address: string;
93
+ seller_email: string[];
94
+ seller_cellphone: string;
95
+ company_NIF: string;
96
+ company_address: string;
97
+ company_trade_name: string;
98
+ company_business_name: string;
99
+ company_branch_identification_number: string;
100
+ company_branch_trade_name: string;
101
+ company_branch_logo: string;
102
+ company_branch_address: string;
103
+ company_branch_email: string;
104
+ company_branch_cellphone: string;
105
+ company_branch_phone: string;
106
+ client_branch_id: string;
107
+ client_branch_code: string;
108
+ client_branch_name: string;
109
+ client_branch_address: string;
110
+ client_branch_email: string;
111
+ client_branch_cellphone: string;
112
+ client_branch_phone: string;
113
+ client_branch_phone_code: string;
114
+ contact_identification_number: string;
115
+ contact_full_name: string;
116
+ contact_phone_code: string;
117
+ contact_cellphone: string;
118
+ contact_email: string;
119
+ default_price_list_id?: string;
120
+ default_price_list_name?: string;
121
+ default_price_list_type?: string;
122
+ default_cost_center_id?: string;
123
+ default_cost_center_code?: string;
124
+ default_cost_center_name?: string;
125
+ default_cost_center_father_code?: string;
126
+ default_cost_center_father_name?: string;
127
+ default_discount_rate?: number;
128
+ event_module_origin?: string;
129
+ collection_origin_name?: string;
130
+ collection_origin_id?: string;
131
+ document_origin_name?: string;
132
+ document_origin_number?: string;
133
+ document_origin_date?: number;
134
+ document_type?: string;
135
+ environment?: number;
136
+ SRI_identificator?: string;
137
+ SRI_message?: string;
138
+ SRI_aditional_information?: string;
139
+ SRI_response?: object;
140
+ url_authorized_document?: string;
141
+ SRI_authorization_date?: number;
142
+ credit_SRI_payment_term_id?: string;
143
+ credit_SRI_payment_term_code?: string;
144
+ enabled: boolean;
145
+ disabled_reason?: string;
146
+ created_at: number;
147
+ created_user: string;
148
+ updated_at: number;
149
+ updated_user: string;
150
+ reverse_status: boolean;
151
+ reverse_reason?: string;
152
+ reverse_at?: number;
153
+ reverse_user?: string;
154
+ invoice_credit?: number;
155
+ invoice_debit?: number;
156
+ invoice_retention?: number;
157
+ invoice_credit_note?: number;
158
+ invoice_return?: number;
159
+ invoice_balance?: number;
160
+ addItems: boolean;
161
+ checked?: boolean;
162
+ }
163
+ }
164
+ interface GetOneResponse {
165
+ success: boolean;
166
+ data: GetOneResponse.Data;
167
+ }
168
+ namespace GetOneResponse {
169
+ interface Data {
170
+ _id?: string;
171
+ company_id?: string;
172
+ company_branch_id?: string;
173
+ client_id?: string;
174
+ client_category_id: string;
175
+ client_branch_id?: string;
176
+ contact_id?: string;
177
+ seller_id?: string;
178
+ type?: string;
179
+ document_date?: number;
180
+ document_nomenclature?: string;
181
+ document_number?: string;
182
+ SRI_state?: string;
183
+ document_state?: string;
184
+ document_branch_identification_number?: string;
185
+ document_emission_point_number?: string;
186
+ document_emission_point_id?: string;
187
+ document_sequence?: string;
188
+ authorization_number?: string;
189
+ payment_term?: string;
190
+ tax_base?: number;
191
+ tax_iva?: number;
192
+ discount?: number;
193
+ service?: number;
194
+ total?: number;
195
+ commentary?: string;
196
+ client_document_number?: string;
197
+ client_document_code?: string;
198
+ client_trade_name?: string;
199
+ client_business_name?: string;
200
+ client_phone_code?: string;
201
+ client_category_name?: string;
202
+ client_address?: string;
203
+ client_cellphone?: string;
204
+ client_email?: string;
205
+ client_branch_code?: string;
206
+ client_branch_name?: string;
207
+ client_branch_address?: string;
208
+ client_branch_email?: string;
209
+ client_branch_cellphone?: string;
210
+ client_branch_phone?: string;
211
+ client_branch_phone_code?: string;
212
+ client_province_id?: string;
213
+ client_canton_id?: string;
214
+ client_parish_id?: string;
215
+ client_province_code?: string;
216
+ client_province_name?: string;
217
+ client_canton_code?: string;
218
+ client_canton_name?: string;
219
+ client_parish_code?: string;
220
+ client_parish_name?: string;
221
+ contact_identification_number?: string;
222
+ contact_full_name?: string;
223
+ contact_phone_code?: string;
224
+ contact_cellphone?: string;
225
+ contact_email?: string;
226
+ seller_full_name?: string;
227
+ seller_identification_number?: string;
228
+ seller_address: string;
229
+ seller_email: string[];
230
+ seller_cellphone: string;
231
+ company_NIF?: string;
232
+ company_address?: string;
233
+ company_trade_name?: string;
234
+ company_business_name?: string;
235
+ company_branch_identification_number?: string;
236
+ company_branch_trade_name?: string;
237
+ company_branch_logo?: string;
238
+ company_branch_address?: string;
239
+ company_branch_email?: string;
240
+ company_branch_cellphone?: string;
241
+ company_branch_phone?: string;
242
+ default_price_list_id?: string;
243
+ default_price_list_name?: string;
244
+ default_price_list_type?: string;
245
+ default_cost_center_id?: string;
246
+ default_cost_center_code?: string;
247
+ default_cost_center_name?: string;
248
+ default_cost_center_father_code?: string;
249
+ default_cost_center_father_name?: string;
250
+ default_discount_rate?: number;
251
+ export?: boolean;
252
+ invoice_type?: TInvoiceType;
253
+ export_data?: Data.ExportData;
254
+ event_module_origin?: string;
255
+ collection_origin_name?: string;
256
+ collection_origin_id?: string;
257
+ document_origin_name?: string;
258
+ document_origin_number?: string;
259
+ document_origin_date?: number;
260
+ document_type?: string;
261
+ environment?: number;
262
+ SRI_identificator?: string;
263
+ SRI_message?: string;
264
+ SRI_aditional_information?: string;
265
+ SRI_response?: object;
266
+ url_authorized_document?: string;
267
+ SRI_authorization_date?: number;
268
+ credit_SRI_payment_term_id?: string;
269
+ credit_SRI_payment_term_code?: string;
270
+ enabled?: boolean;
271
+ disabled_reason?: string;
272
+ deleted?: boolean;
273
+ created_at?: number;
274
+ created_user?: string;
275
+ updated_at?: number;
276
+ updated_user?: string;
277
+ reverse_status: boolean;
278
+ reverse_reason?: string;
279
+ reverse_at?: number;
280
+ reverse_user?: string;
281
+ invoice_summary_article?: Data.SummaryArticle[];
282
+ invoice_detail?: Data.Detail[];
283
+ invoice_tax?: Data.Tax[];
284
+ invoice_payment_term?: Data.PaymentTerm[];
285
+ credit_management_installment?: Data.CreditManagementInstallment[];
286
+ credit_management_balance: number;
287
+ additional_information?: Data.AdditionaInformation[];
288
+ invoice_tax_declaration?: Data.TaxDeclaration[];
289
+ income_id?: Data.Income[];
290
+ related_documents?: Data.RelatedDocument[];
291
+ }
292
+ namespace Data {
293
+ interface SummaryArticle {
294
+ code: string;
295
+ name: string;
296
+ amount: number;
297
+ sequence: string;
298
+ }
299
+ interface RelatedDocument {
300
+ collection_origin_id: string;
301
+ collection_origin_name: string;
302
+ document_number: string;
303
+ secuencial: string;
304
+ date: number;
305
+ total: number;
306
+ _id: string;
307
+ }
308
+ interface TaxDeclaration {
309
+ _id: string;
310
+ configuration_id: string;
311
+ raw_code?: string;
312
+ net_code?: string;
313
+ tax_code?: string;
314
+ raw_value?: number;
315
+ net_value?: number;
316
+ tax_value?: number;
317
+ description: string;
318
+ }
319
+ interface Income {
320
+ _id?: string;
321
+ income_id?: string;
322
+ credit_management_id?: string;
323
+ credit_management_detail_id?: string;
324
+ client_id?: string;
325
+ client_branch_id?: string;
326
+ seller_id?: string;
327
+ cost_center_id?: string;
328
+ installment?: string;
329
+ credit_document_nomenclature?: string;
330
+ credit_document_number?: string;
331
+ paid?: number;
332
+ previous_balance?: number;
333
+ subsequent_balance?: number;
334
+ client_document_number?: string;
335
+ client_trade_name?: string;
336
+ client_business_name?: string;
337
+ client_phone_code?: string;
338
+ client_address?: string;
339
+ client_cellphone?: string;
340
+ client_email?: string;
341
+ seller_identification_number?: string;
342
+ seller_full_name?: string;
343
+ seller_document_number?: string;
344
+ seller_address?: string;
345
+ seller_email?: string[];
346
+ seller_cellphone?: string;
347
+ cost_center_code?: string;
348
+ cost_center_name?: string;
349
+ client_branch_code?: string;
350
+ client_branch_name?: string;
351
+ client_branch_address?: string;
352
+ client_branch_cellphone?: string;
353
+ client_branch_phone_code?: string;
354
+ created_user?: string;
355
+ created_at?: number;
356
+ }
357
+ interface ExportData {
358
+ export_foreign_trade: string;
359
+ export_buyer_address: string;
360
+ export_country_origin_id: string;
361
+ export_country_origin_name: string;
362
+ export_country_origin_code: string;
363
+ export_origin_port: string;
364
+ export_country_destination_id: string;
365
+ export_country_destination_name: string;
366
+ export_country_destination_code: string;
367
+ export_destination_port: string;
368
+ export_incoterm_place: string;
369
+ export_incoterm_invoice_id: string;
370
+ export_incoterm_invoice_code: string;
371
+ export_incoterm_invoice_name: string;
372
+ export_incoterm_without_taxes_id: string;
373
+ export_incoterm_without_taxes_code: string;
374
+ export_incoterm_without_taxes_name: string;
375
+ export_international_freight: number;
376
+ export_international_insurance: number;
377
+ export_customs_expenditures: number;
378
+ export_transportation_expenses: number;
379
+ export_dae?: string;
380
+ export_mawb?: string;
381
+ export_forwarder?: string;
382
+ export_cr?: string;
383
+ }
384
+ interface PaymentTerm {
385
+ _id: string;
386
+ payment_term_id: string;
387
+ account_id?: string;
388
+ SRI_payment_term_id: string;
389
+ SRI_payment_term_code: string;
390
+ financial_bank_id?: string;
391
+ date: number;
392
+ value: number;
393
+ financial_bank_name?: string;
394
+ card_type?: string;
395
+ batch_code?: string;
396
+ bank_cheque?: string;
397
+ account_name?: string;
398
+ account_code?: string;
399
+ payment_term_code: string;
400
+ payment_term_name: string;
401
+ operation_number?: string;
402
+ }
403
+ interface Detail {
404
+ _id: string;
405
+ invoice_id?: string;
406
+ item_id?: string;
407
+ category_id?: string;
408
+ cost_center_id?: string;
409
+ price_list_id?: string;
410
+ tax_iva_id?: string;
411
+ tax_irbpn_id?: string;
412
+ tax_ice_id?: string;
413
+ unit_measure_id?: string;
414
+ amount?: number;
415
+ amount_free?: number;
416
+ sequence?: string;
417
+ price_base?: number;
418
+ total_price?: number;
419
+ discount_rate?: number;
420
+ unit_discount?: number;
421
+ total_discount?: number;
422
+ replace_item_name?: string;
423
+ commentary_item?: string;
424
+ tax_iva_rate?: number;
425
+ item_code?: string;
426
+ item_barcode?: string;
427
+ item_name?: string;
428
+ item_balance_referal_guide?: number;
429
+ item_balance?: number;
430
+ unit_measure_name?: string;
431
+ unit_measure_abbreviation?: string;
432
+ unit_measure_group_abbreviation?: string;
433
+ unit_measure_group_id?: string;
434
+ unit_measure_group_name?: string;
435
+ unit_measure_type?: string;
436
+ unit_measure_quantity?: number;
437
+ stock_afected?: number;
438
+ in_stock?: number;
439
+ manage_by?: string;
440
+ category_name?: string;
441
+ cost_center_code?: string;
442
+ cost_center_name?: string;
443
+ cost_center_father_code?: string;
444
+ cost_center_father_name?: string;
445
+ price_list_name?: string;
446
+ type?: DetailType;
447
+ price_type?: CbmSalePriceModel.TName;
448
+ price_type_description?: string;
449
+ price_type_id?: string;
450
+ deleted?: boolean;
451
+ created_at?: number;
452
+ created_user?: string;
453
+ updated_at?: number;
454
+ updated_user?: string;
455
+ invoice_detail_tax?: Detail.Tax[];
456
+ tax_iva_code?: string;
457
+ tax_iva?: Detail.TaxIva;
458
+ outsourcing_service_data?: Detail.OutsourcingServiceData;
459
+ }
460
+ namespace Detail {
461
+ interface OutsourcingServiceData {
462
+ outsourcing_service_movements_id: string;
463
+ code_outsourcing_service: string;
464
+ name_outsourcing_service: string;
465
+ date_purchase_receipt: number;
466
+ structured_document_number: string;
467
+ provider_document_number: string;
468
+ provider_business_name: string;
469
+ cost: number;
470
+ }
471
+ interface Tax {
472
+ _id: string;
473
+ invoice_detail_id: string;
474
+ type: string;
475
+ description: string;
476
+ tax_code: string;
477
+ tax_rate: number;
478
+ tax_base: number;
479
+ tax_value: number;
480
+ }
481
+ interface TaxIva {
482
+ _id: string;
483
+ country_id?: string;
484
+ code?: string;
485
+ percentage?: number;
486
+ description?: string;
487
+ enabled?: boolean;
488
+ created_user?: string;
489
+ created_at?: number;
490
+ updated_user?: string;
491
+ updated_at?: number;
492
+ }
493
+ }
494
+ interface Tax {
495
+ _id: string;
496
+ invoice_id: string;
497
+ description: string;
498
+ type: string;
499
+ tax_code: string;
500
+ tax_rate: number;
501
+ tax_base: number;
502
+ tax_value: number;
503
+ created_at: number;
504
+ created_user: string;
505
+ updated_at: number;
506
+ updated_user: string;
507
+ }
508
+ interface CreditManagementInstallment {
509
+ _id: string;
510
+ credit_management_id?: string;
511
+ installment: string;
512
+ date: number;
513
+ expired_in?: number;
514
+ period?: number;
515
+ credit: number;
516
+ debit?: number;
517
+ retention?: number;
518
+ credit_note?: number;
519
+ return?: number;
520
+ balance?: number;
521
+ created_at: number;
522
+ created_user: string;
523
+ updated_at?: number;
524
+ updated_user?: string;
525
+ }
526
+ interface AdditionaInformation {
527
+ description: string;
528
+ value: string;
529
+ type: string;
530
+ }
531
+ }
532
+ }
533
+ interface SaveBody {
534
+ invoice_type?: TInvoiceType;
535
+ client_id: string;
536
+ client_category_id: string;
537
+ client_branch_id?: string;
538
+ contact_id?: string;
539
+ seller_id: string;
540
+ document_type: string;
541
+ document_emission_point_number: string;
542
+ document_emission_point_id: string;
543
+ payment_term: string;
544
+ tax_base: number;
545
+ discount: number;
546
+ service: number;
547
+ total: number;
548
+ commentary: string;
549
+ client_document_number: string;
550
+ client_document_code: string;
551
+ client_trade_name: string;
552
+ client_business_name: string;
553
+ client_phone_code: string;
554
+ client_address: string;
555
+ client_cellphone: string;
556
+ client_email: string;
557
+ client_category_name: string;
558
+ seller_full_name: string;
559
+ seller_identification_number: string;
560
+ seller_address: string;
561
+ seller_email: string[];
562
+ seller_cellphone: string;
563
+ company_branch_id: string;
564
+ company_NIF: string;
565
+ company_address: string;
566
+ company_trade_name: string;
567
+ company_business_name: string;
568
+ company_required_accounting: boolean;
569
+ company_retention_agent: string;
570
+ company_special_taxpayer: string;
571
+ company_taxpayer_type: string;
572
+ company_branch_identification_number: string;
573
+ company_branch_trade_name: string;
574
+ company_branch_logo: string;
575
+ company_branch_address: string;
576
+ company_branch_email: string;
577
+ company_branch_cellphone: string;
578
+ company_branch_phone: string;
579
+ company_branch_artisanal_qualification: string;
580
+ client_branch_code?: string;
581
+ client_branch_name?: string;
582
+ client_branch_address?: string;
583
+ client_branch_email?: string;
584
+ client_branch_cellphone?: string;
585
+ client_branch_phone?: string;
586
+ client_branch_phone_code?: string;
587
+ client_province_id?: string;
588
+ client_canton_id?: string;
589
+ client_parish_id?: string;
590
+ client_province_code?: string;
591
+ client_province_name?: string;
592
+ client_canton_code?: string;
593
+ client_canton_name?: string;
594
+ client_parish_code?: string;
595
+ client_parish_name?: string;
596
+ contact_identification_number?: string;
597
+ contact_full_name?: string;
598
+ contact_phone_code?: string;
599
+ contact_cellphone?: string;
600
+ contact_email?: string;
601
+ order_id?: string;
602
+ environment: number;
603
+ default_price_list_id?: string;
604
+ default_price_list_name?: string;
605
+ default_price_list_type?: string;
606
+ default_cost_center_id?: string;
607
+ default_cost_center_code?: string;
608
+ default_cost_center_name?: string;
609
+ default_cost_center_father_code?: string;
610
+ default_cost_center_father_name?: string;
611
+ default_discount_rate?: number;
612
+ tax_base_iva: number;
613
+ tax_base_iva_rate_0: number;
614
+ tax_base_iva_exempt: number;
615
+ tax_base_iva_not_subject: number;
616
+ tax_base_irbpnr: number;
617
+ tax_base_ice: number;
618
+ tax_iva: number;
619
+ tax_irbpnr: number;
620
+ tax_ice: number;
621
+ export?: boolean;
622
+ export_data?: SaveBody.ExportData;
623
+ event_module_origin?: string;
624
+ collection_origin_name?: string;
625
+ collection_origin_id?: string;
626
+ document_origin_name?: string;
627
+ document_origin_number?: string;
628
+ document_origin_date?: number;
629
+ credit_SRI_payment_term_id?: string;
630
+ credit_SRI_payment_term_code?: string;
631
+ union_of_order_id?: string;
632
+ union_of_order_document_nomenclature?: string;
633
+ union_of_order_document_number?: string;
634
+ union_of_order_date?: number;
635
+ split_order_id?: string;
636
+ split_order_document_nomenclature?: string;
637
+ split_order_document_number?: string;
638
+ split_order_date?: number;
639
+ invoice_summary_article?: SaveBody.SummaryArticle[];
640
+ invoice_detail: SaveBody.Detail[];
641
+ invoice_tax: SaveBody.Tax[];
642
+ invoice_installment: SaveBody.Installment[];
643
+ invoice_payment_term?: SaveBody.PaymentTerm[];
644
+ additional_information?: SaveBody.AdditionaInformation[];
645
+ invoice_tax_declaration: SaveBody.TaxDeclaration[];
646
+ }
647
+ namespace SaveBody {
648
+ interface SummaryArticle {
649
+ code: string;
650
+ name: string;
651
+ amount: number;
652
+ sequence: string;
653
+ }
654
+ interface ExportData {
655
+ export_foreign_trade: string;
656
+ export_buyer_address: string;
657
+ export_country_origin_id: string;
658
+ export_country_origin_name: string;
659
+ export_country_origin_code: string;
660
+ export_origin_port: string;
661
+ export_country_destination_id: string;
662
+ export_country_destination_name: string;
663
+ export_country_destination_code: string;
664
+ export_destination_port: string;
665
+ export_incoterm_place: string;
666
+ export_incoterm_invoice_id: string;
667
+ export_incoterm_invoice_code: string;
668
+ export_incoterm_invoice_name: string;
669
+ export_incoterm_without_taxes_id: string;
670
+ export_incoterm_without_taxes_code: string;
671
+ export_incoterm_without_taxes_name: string;
672
+ export_international_freight: number;
673
+ export_international_insurance: number;
674
+ export_customs_expenditures: number;
675
+ export_transportation_expenses: number;
676
+ export_dae?: string;
677
+ export_mawb?: string;
678
+ export_forwarder?: string;
679
+ export_cr?: string;
680
+ }
681
+ interface Detail {
682
+ item_id: string;
683
+ category_id: string;
684
+ cost_center_id?: string;
685
+ price_list_id: string;
686
+ tax_iva_id: string;
687
+ tax_iva_code: string;
688
+ tax_irbpn_id?: string;
689
+ tax_ice_id?: string;
690
+ unit_measure_id?: string;
691
+ amount: number;
692
+ amount_free?: number;
693
+ sequence?: string;
694
+ price_base: number;
695
+ total_price: number;
696
+ discount_rate: number;
697
+ unit_discount: number;
698
+ total_discount: number;
699
+ commentary_item?: string | null;
700
+ replace_item_name?: string | null;
701
+ tax_iva_rate: number;
702
+ item_code: string;
703
+ item_barcode?: string;
704
+ item_name: string;
705
+ unit_measure_abbreviation?: string;
706
+ unit_measure_group_abbreviation?: string;
707
+ unit_measure_name?: string;
708
+ unit_measure_group_id?: string;
709
+ unit_measure_group_name?: string;
710
+ unit_measure_type?: string;
711
+ unit_measure_quantity?: number;
712
+ stock_afected?: number;
713
+ in_stock?: number;
714
+ manage_by?: string;
715
+ category_name: string;
716
+ cost_center_code?: string;
717
+ cost_center_name?: string;
718
+ cost_center_father_code?: string;
719
+ cost_center_father_name?: string;
720
+ price_list_name: string;
721
+ type: DetailType;
722
+ price_type?: CbmSalePriceModel.TName;
723
+ price_type_description?: string;
724
+ price_type_id?: string;
725
+ invoice_detail_tax: Detail.Tax[];
726
+ outsourcing_service_data?: Detail.OutsourcingServiceData;
727
+ }
728
+ interface TaxDeclaration {
729
+ configuration_id: string;
730
+ raw_code?: string;
731
+ net_code?: string;
732
+ tax_code?: string;
733
+ raw_value?: number;
734
+ net_value?: number;
735
+ tax_value?: number;
736
+ description: string;
737
+ }
738
+ interface AdditionaInformation {
739
+ description: string;
740
+ value?: string;
741
+ type: string;
742
+ }
743
+ namespace Detail {
744
+ interface OutsourcingServiceData {
745
+ outsourcing_service_movements_id: string;
746
+ code_outsourcing_service: string;
747
+ name_outsourcing_service: string;
748
+ date_purchase_receipt: number;
749
+ structured_document_number: string;
750
+ provider_document_number: string;
751
+ provider_business_name: string;
752
+ cost: number;
753
+ }
754
+ interface Tax {
755
+ type: string;
756
+ description: string;
757
+ tax_code: string;
758
+ tax_rate: number;
759
+ tax_base: number;
760
+ tax_value: number;
761
+ }
762
+ }
763
+ interface Tax {
764
+ type: string;
765
+ description: string;
766
+ tax_code: string;
767
+ tax_rate: number;
768
+ tax_base: number;
769
+ tax_value: number;
770
+ }
771
+ interface Installment {
772
+ installment: string;
773
+ date: number;
774
+ expired_in: number;
775
+ period: number;
776
+ credit: number;
777
+ }
778
+ interface PaymentTerm {
779
+ payment_term_id: string;
780
+ account_id?: string;
781
+ SRI_payment_term_id: string;
782
+ SRI_payment_term_code: string;
783
+ financial_bank_id?: string;
784
+ date: number;
785
+ value: number;
786
+ financial_bank_name?: string;
787
+ card_type?: string;
788
+ batch_code?: string;
789
+ account_name?: string;
790
+ account_code?: string;
791
+ bank_cheque?: string;
792
+ payment_term_code: string;
793
+ payment_term_name: string;
794
+ operation_number?: string;
795
+ }
796
+ }
797
+ interface DownloadExcelParams {
798
+ payment_term?: TPaymentTerm;
799
+ to_date?: number;
800
+ from_date?: number;
801
+ enabled?: boolean;
802
+ sequential?: string;
803
+ invoice_number?: string;
804
+ state?: string;
805
+ client_branch_id?: string;
806
+ client_id?: string;
807
+ export?: boolean;
808
+ invoice_type?: TInvoiceType;
809
+ reverse_status?: boolean;
810
+ }
811
+ interface ListLastMovementsParams {
812
+ page: number;
813
+ size: number;
814
+ client_id: string;
815
+ item_id: string;
816
+ }
817
+ interface ListLastMovementsResponse {
818
+ success: boolean;
819
+ pageNum: number;
820
+ pageSize: number;
821
+ pages: number;
822
+ total: number;
823
+ items: ListLastMovementsResponse.Item[];
824
+ totalAmount: ListLastMovementsResponse.TotalAmount;
825
+ }
826
+ namespace ListLastMovementsResponse {
827
+ interface TotalAmount {
828
+ _id: string;
829
+ sum_amount: number;
830
+ sum_price_base: number;
831
+ sum_total_price: number;
832
+ sum_discount_rate: number;
833
+ sum_unit_discount: number;
834
+ sum_total_discount: number;
835
+ }
836
+ interface Item {
837
+ _id: string;
838
+ collection_origin_name: string;
839
+ collection_origin_id: string;
840
+ company_id: string;
841
+ company_branch_id: string;
842
+ country_id: string;
843
+ item_id: string;
844
+ category_id: string;
845
+ cost_center_id: string;
846
+ price_list_id: string;
847
+ tax_iva_id: string;
848
+ unit_measure_id: string;
849
+ type: string;
850
+ manage_by: string;
851
+ amount: number;
852
+ price_base: number;
853
+ total_price: number;
854
+ discount_rate: number;
855
+ unit_discount: number;
856
+ total_discount: number;
857
+ commentary_item: null;
858
+ replace_item_name: null;
859
+ tax_iva_code: string;
860
+ tax_iva_rate: number;
861
+ item_code: string;
862
+ item_barcode: string;
863
+ item_name: string;
864
+ unit_measure_type: string;
865
+ unit_measure_abbreviation: string;
866
+ unit_measure_name: string;
867
+ unit_measure_quantity: number;
868
+ stock_afected: number;
869
+ category_name: string;
870
+ cost_center_code: string;
871
+ cost_center_name: string;
872
+ cost_center_father_code: string;
873
+ cost_center_father_name: string;
874
+ price_list_name: string;
875
+ price_type: string;
876
+ price_type_description: string;
877
+ price_type_id: string;
878
+ returned_items: number;
879
+ item_balance: number;
880
+ item_balance_referal_guide: number;
881
+ deleted: boolean;
882
+ created_at: number;
883
+ created_user: string;
884
+ document_nomenclature: string;
885
+ document_number: string;
886
+ document_branch_identification_number: string;
887
+ document_emission_point_number: string;
888
+ document_sequence: string;
889
+ client_document_code: string;
890
+ client_document_number: string;
891
+ client_trade_name: string;
892
+ client_business_name: string;
893
+ client_phone_code: string;
894
+ client_address: string;
895
+ client_cellphone: string;
896
+ client_email: string;
897
+ client_category_name: string;
898
+ }
899
+ }
900
+ interface ListWithoutRetentionParams {
901
+ page: number;
902
+ size: number;
903
+ client_id: string;
904
+ date_end?: number;
905
+ date_begin?: number;
906
+ invoice_number?: string;
907
+ payment_term?: string;
908
+ branch_emission_point_sequence?: string;
909
+ nomenclature_number?: string;
910
+ }
911
+ interface ListWithoutRetentionResponse {
912
+ success: boolean;
913
+ pageNum: number;
914
+ pageSize: number;
915
+ pages: number;
916
+ total: number;
917
+ items: ListWithoutRetentionResponse.Item[];
918
+ }
919
+ namespace ListWithoutRetentionResponse {
920
+ interface Item {
921
+ _id: string;
922
+ company_id: string;
923
+ company_branch_id: string;
924
+ client_id: string;
925
+ client_branch_id: string;
926
+ contact_id: string;
927
+ seller_id: string;
928
+ document_nomenclature: string;
929
+ document_number: string;
930
+ document_date: number;
931
+ SRI_state: string;
932
+ document_branch_identification_number: string;
933
+ document_emission_point_number: string;
934
+ document_sequence: string;
935
+ authorization_number: string;
936
+ payment_term: string;
937
+ tax_base: number;
938
+ discount: number;
939
+ service: number;
940
+ commentary: string;
941
+ tax_base_iva: number;
942
+ tax_base_iva_rate_0: number;
943
+ tax_base_iva_exempt: number;
944
+ tax_base_iva_not_subject: number;
945
+ tax_base_irbpnr: number;
946
+ rate_iva: number;
947
+ tax_base_ice: number;
948
+ tax_iva: number;
949
+ code_iva: string;
950
+ tax_irbpnr: number;
951
+ tax_ice: number;
952
+ total: number;
953
+ price_type: string;
954
+ export?: boolean;
955
+ company_NIF: string;
956
+ company_address: string;
957
+ company_trade_name: string;
958
+ company_business_name: string;
959
+ company_branch_identification_number: string;
960
+ company_branch_trade_name: string;
961
+ company_branch_logo: string;
962
+ company_branch_address: string;
963
+ company_branch_email: string;
964
+ company_branch_cellphone: string;
965
+ company_branch_phone: string;
966
+ client_document_number: string;
967
+ client_trade_name: string;
968
+ client_business_name: string;
969
+ client_phone_code: string;
970
+ client_address: string;
971
+ client_cellphone: string;
972
+ client_email: string;
973
+ client_branch_code: string;
974
+ client_branch_name: string;
975
+ client_branch_address: string;
976
+ client_branch_email: string;
977
+ client_branch_cellphone: string;
978
+ client_branch_phone: string;
979
+ client_branch_phone_code: string;
980
+ client_category_name: string;
981
+ client_province_id?: string;
982
+ client_canton_id?: string;
983
+ client_parish_id?: string;
984
+ client_province_code?: string;
985
+ client_province_name?: string;
986
+ client_canton_code?: string;
987
+ client_canton_name?: string;
988
+ client_parish_code?: string;
989
+ client_parish_name?: string;
990
+ contact_identification_number: string;
991
+ contact_full_name: string;
992
+ contact_phone_code: string;
993
+ contact_cellphone: string;
994
+ contact_email: string;
995
+ seller_identification_number: string;
996
+ seller_full_name: string;
997
+ seller_address: string;
998
+ seller_email: string[];
999
+ seller_cellphone: string;
1000
+ enabled: boolean;
1001
+ created_at: number;
1002
+ created_user: string;
1003
+ reverse_status: boolean;
1004
+ deleted_at: number;
1005
+ default_price_list_id?: string;
1006
+ default_price_list_name?: string;
1007
+ default_price_list_type?: string;
1008
+ default_cost_center_id?: string;
1009
+ default_cost_center_code?: string;
1010
+ default_cost_center_name?: string;
1011
+ default_cost_center_father_code?: string;
1012
+ default_cost_center_father_name?: string;
1013
+ default_warehouse_id: string;
1014
+ default_discount_rate: number;
1015
+ credit_management: Item.CreditManagement;
1016
+ }
1017
+ namespace Item {
1018
+ interface CreditManagement {
1019
+ _id: string;
1020
+ client_id: string;
1021
+ invoice_id: string;
1022
+ credit: number;
1023
+ debit: number;
1024
+ retention: number;
1025
+ return: number;
1026
+ balance: number;
1027
+ }
1028
+ }
1029
+ }
1030
+ interface SendEmailParams {
1031
+ timezone: string;
1032
+ locale: string;
1033
+ emails?: string;
1034
+ }
1035
+ interface ChangeStatusBody {
1036
+ enabled: boolean;
1037
+ disabled_reason?: string;
1038
+ }
1039
+ interface ConfirmResponse {
1040
+ success: boolean;
1041
+ message: string;
1042
+ data?: any;
1043
+ }
1044
+ interface DownloadIndividualPdfParams {
1045
+ timezone: string;
1046
+ locale: string;
1047
+ }
1048
+ interface DownloadIndividualExcelParams {
1049
+ timezone: string;
1050
+ locale: string;
1051
+ }
1052
+ interface CreateXmlParams {
1053
+ timezone: string;
1054
+ locale: string;
1055
+ }
1056
+ }