@cbm-common/cbm-types 0.0.13 → 0.0.15

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 (436) 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/advanced-item-search-modal/advanced-item-search-modal.d.ts +25 -25
  9. package/lib/components/advanced-item-search-modal/alternative-item-list/alternative-item-list.d.ts +25 -25
  10. package/lib/components/advanced-item-search-modal/animations.d.ts +2 -2
  11. package/lib/components/advanced-item-search-modal/constants.d.ts +1 -1
  12. package/lib/components/advanced-item-search-modal/item-list/item-list.d.ts +85 -85
  13. package/lib/components/advanced-item-search-modal/types.d.ts +7 -7
  14. package/lib/components/attachments/animations.d.ts +1 -1
  15. package/lib/components/attachments/attachments.d.ts +50 -50
  16. package/lib/components/attachments/components/button-item/button-item.d.ts +5 -5
  17. package/lib/components/attachments/components/buttons/buttons.d.ts +8 -8
  18. package/lib/components/attachments/components/grid-view/grid-view.d.ts +32 -32
  19. package/lib/components/attachments/components/icons/delete-icon/delete-icon.d.ts +2 -2
  20. package/lib/components/attachments/components/icons/download-icon/download-icon.d.ts +2 -2
  21. package/lib/components/attachments/components/list-view/list-view.d.ts +41 -41
  22. package/lib/components/attachments/types.d.ts +7 -7
  23. package/lib/components/documents-reference/animations.d.ts +1 -1
  24. package/lib/components/documents-reference/components/add/add.d.ts +112 -112
  25. package/lib/components/documents-reference/components/delete/delete.d.ts +28 -28
  26. package/lib/components/documents-reference/components/reference-document-by-tab/reference-document-by-tab.d.ts +39 -39
  27. package/lib/components/documents-reference/components/reference-document-to-tab/reference-document-to-tab.d.ts +42 -42
  28. package/lib/components/documents-reference/documents-reference.d.ts +21 -21
  29. package/lib/components/documents-reference/types.d.ts +56 -56
  30. package/lib/components/dropzone/dropzone.d.ts +17 -17
  31. package/lib/components/empty/empty.d.ts +17 -17
  32. package/lib/components/json-modal/json-modal.d.ts +14 -14
  33. package/lib/components/modal-confirm/modal-confirm.d.ts +23 -23
  34. package/lib/components/modal-confirm/ng-content.d.ts +8 -8
  35. package/lib/components/modal-confirm/types.d.ts +6 -6
  36. package/lib/components/pagination-nav/pagination-nav.d.ts +27 -27
  37. package/lib/components/pagination-nav/pagination-nav.model.d.ts +8 -8
  38. package/lib/components/record-detail-metadata/components/options/options.d.ts +13 -13
  39. package/lib/components/record-detail-metadata/directives/drop-down-menu.directive.d.ts +13 -13
  40. package/lib/components/record-detail-metadata/directives/drop-down.directive.d.ts +9 -9
  41. package/lib/components/record-detail-metadata/record-detail-metadata.d.ts +21 -21
  42. package/lib/components/record-detail-metadata/types.d.ts +48 -48
  43. package/lib/components/tree-select/tree-select.d.ts +60 -60
  44. package/lib/components/tree-select/types.d.ts +8 -8
  45. package/lib/components/user-history/components/email-history/email-history.component.d.ts +66 -66
  46. package/lib/components/user-history/components/email-history/emails-modal/emails-modal.component.d.ts +13 -13
  47. package/lib/components/user-history/components/general-history/general-history.component.d.ts +58 -58
  48. package/lib/components/user-history/components/print-history/print-history.component.d.ts +58 -58
  49. package/lib/components/user-history/components/sri-history/sri-history.component.d.ts +63 -63
  50. package/lib/components/user-history/components/tab-item/tab-item.component.d.ts +7 -7
  51. package/lib/components/user-history/components/tabs/tabs.component.d.ts +7 -7
  52. package/lib/components/user-history/constants.d.ts +1 -1
  53. package/lib/components/user-history/directives/drop-down.directive.d.ts +9 -9
  54. package/lib/components/user-history/types.d.ts +14 -14
  55. package/lib/components/user-history/user-history.d.ts +30 -30
  56. package/lib/directives/character-counter/character-counter.directive.d.ts +21 -21
  57. package/lib/directives/horizontal-overflow/components/arrow-left/arrow-left.component.d.ts +5 -5
  58. package/lib/directives/horizontal-overflow/components/arrow-right/arrow-right.component.d.ts +5 -5
  59. package/lib/directives/horizontal-overflow/horizontal-overflow-arrows.directive.d.ts +23 -23
  60. package/lib/directives/horizontal-overflow/horizontal-overflow-shadow.directive.d.ts +8 -8
  61. package/lib/directives/number-input.directive.d.ts +23 -23
  62. package/lib/directives/resize-container/resize-container.directive.d.ts +20 -20
  63. package/lib/directives/resize-container/resize-container.model.d.ts +6 -6
  64. package/lib/directives/text-input/text-input.directive.d.ts +14 -14
  65. package/lib/directives/text-input/types.d.ts +1 -1
  66. package/lib/directives/tooltip/tooltip/tooltip.d.ts +9 -9
  67. package/lib/directives/tooltip/tooltip/types.d.ts +2 -2
  68. package/lib/directives/tooltip/tooltip.directive.d.ts +26 -26
  69. package/lib/domain/models/alternative-item.domain.model.d.ts +198 -198
  70. package/lib/domain/models/bank-movements.domain.model.d.ts +60 -60
  71. package/lib/domain/models/bank.domain.model.d.ts +92 -92
  72. package/lib/domain/models/card-settlement.domain.model.d.ts +260 -260
  73. package/lib/domain/models/cash-liquidation.domain.model.d.ts +319 -319
  74. package/lib/domain/models/client-branch.domain.model.d.ts +35 -35
  75. package/lib/domain/models/client-category.domain.model.d.ts +69 -69
  76. package/lib/domain/models/client-group.domain.model.d.ts +102 -102
  77. package/lib/domain/models/client.domain.model.d.ts +375 -375
  78. package/lib/domain/models/company.domain.model.d.ts +354 -354
  79. package/lib/domain/models/contact.domain.model.d.ts +28 -28
  80. package/lib/domain/models/cost-center.domain.model.d.ts +111 -111
  81. package/lib/domain/models/deadline.domian.model.d.ts +76 -76
  82. package/lib/domain/models/document-reference.domain.model.d.ts +204 -204
  83. package/lib/domain/models/document-type.model.d.ts +59 -0
  84. package/lib/domain/models/driver.domian.model.d.ts +94 -94
  85. package/lib/domain/models/email-settings.domain.model.d.ts +86 -86
  86. package/lib/domain/models/financial-bank.domain.model.d.ts +153 -153
  87. package/lib/domain/models/group.domain.model.d.ts +78 -78
  88. package/lib/domain/models/history.domain.model.d.ts +66 -66
  89. package/lib/domain/models/item.domain.model.d.ts +935 -935
  90. package/lib/domain/models/kit.domain.model.d.ts +508 -508
  91. package/lib/domain/models/outgoing-banking-transaction.domain.model.d.ts +125 -125
  92. package/lib/domain/models/price-list.domain.model.d.ts +54 -54
  93. package/lib/domain/models/report-financials.domain.model.d.ts +2165 -2165
  94. package/lib/domain/models/seat.domain.model.d.ts +325 -325
  95. package/lib/domain/models/seller.domain.model.d.ts +135 -135
  96. package/lib/domain/models/service-outsourcing.domain.model.d.ts +273 -273
  97. package/lib/domain/models/service.domain.model.d.ts +314 -314
  98. package/lib/domain/models/sri-history.domain.model.d.ts +298 -298
  99. package/lib/domain/models/upload.domain.model.d.ts +117 -117
  100. package/lib/domain/models/user.domain.model.d.ts +260 -260
  101. package/lib/domain/models/warehouse.domain.model.d.ts +97 -97
  102. package/lib/domain/repositories/alternative-item.domain.repository.d.ts +17 -17
  103. package/lib/domain/repositories/bank-movements.domain.repository.d.ts +10 -10
  104. package/lib/domain/repositories/bank.domain.repository.d.ts +14 -14
  105. package/lib/domain/repositories/card-settlement.domain.repository.d.ts +12 -12
  106. package/lib/domain/repositories/cash-liquidation.domain.repository.d.ts +13 -13
  107. package/lib/domain/repositories/client-branch.domain.repository.d.ts +8 -8
  108. package/lib/domain/repositories/client-category.domain.repository.d.ts +14 -14
  109. package/lib/domain/repositories/client-group.domain.repository.d.ts +14 -14
  110. package/lib/domain/repositories/client.domain.repository.d.ts +18 -18
  111. package/lib/domain/repositories/company.domain.repository.d.ts +16 -16
  112. package/lib/domain/repositories/contact.domain.repository.d.ts +8 -8
  113. package/lib/domain/repositories/cost-center.domain.repository.d.ts +15 -15
  114. package/lib/domain/repositories/deadline.domain.repository.d.ts +12 -12
  115. package/lib/domain/repositories/document-reference.domain.repository.d.ts +15 -15
  116. package/lib/domain/repositories/document-type.domain.repository.d.ts +12 -0
  117. package/lib/domain/repositories/driver.domain.repository.d.ts +14 -14
  118. package/lib/domain/repositories/email-settings.domain.repository.d.ts +13 -13
  119. package/lib/domain/repositories/financial-bank.domain.repository.d.ts +15 -15
  120. package/lib/domain/repositories/group.domain.repository.d.ts +9 -9
  121. package/lib/domain/repositories/history.domain.repository.d.ts +10 -10
  122. package/lib/domain/repositories/item.domain.repository.d.ts +20 -20
  123. package/lib/domain/repositories/kit.domain.repository.d.ts +18 -18
  124. package/lib/domain/repositories/outgoing-banking-transaction.domain.repository.d.ts +12 -12
  125. package/lib/domain/repositories/price-list.domain.repository.d.ts +9 -9
  126. package/lib/domain/repositories/report-financials.domain.repository.d.ts +241 -241
  127. package/lib/domain/repositories/seat.domain.repository.d.ts +20 -20
  128. package/lib/domain/repositories/seller.domain.repository.d.ts +17 -17
  129. package/lib/domain/repositories/service-outsourcing.domain.repository.d.ts +20 -20
  130. package/lib/domain/repositories/service.domain.repository.d.ts +20 -20
  131. package/lib/domain/repositories/sri-history.domain.repository.d.ts +9 -9
  132. package/lib/domain/repositories/upload.domain.repository.d.ts +15 -15
  133. package/lib/domain/repositories/user.domain.repository.d.ts +21 -21
  134. package/lib/domain/repositories/warehouse.domain.repository.d.ts +14 -14
  135. package/lib/domain/services/auth/auth.model.d.ts +182 -182
  136. package/lib/domain/services/auth/auth.service.d.ts +18 -18
  137. package/lib/domain/services/notification/notification.model.d.ts +15 -15
  138. package/lib/domain/services/notification/notification.service.d.ts +4 -4
  139. package/lib/domain/services/web-socket/web-socket.model.d.ts +32 -32
  140. package/lib/domain/services/web-socket/web-socket.service.d.ts +18 -18
  141. package/lib/environments/environment.d.ts +29 -29
  142. package/lib/infrastructure/repositories/alternative-item.infrastructure.repository.d.ts +14 -14
  143. package/lib/infrastructure/repositories/bank-movements.infrastructure.repository.d.ts +6 -6
  144. package/lib/infrastructure/repositories/bank.infrastructure.repository.d.ts +10 -10
  145. package/lib/infrastructure/repositories/card-settlement.infrastructure.repository.d.ts +8 -8
  146. package/lib/infrastructure/repositories/cash-liquidation.infrastructure.repository.d.ts +9 -9
  147. package/lib/infrastructure/repositories/client-branch.infrastructure.repository.d.ts +5 -5
  148. package/lib/infrastructure/repositories/client-category.infrastructure.repository.d.ts +11 -11
  149. package/lib/infrastructure/repositories/client-group.infrastructure.repository.d.ts +11 -11
  150. package/lib/infrastructure/repositories/client.infrastructure.repository.d.ts +15 -15
  151. package/lib/infrastructure/repositories/company.infrastructure.repository.d.ts +13 -13
  152. package/lib/infrastructure/repositories/contac.infrastrucutre.repository.d.ts +5 -5
  153. package/lib/infrastructure/repositories/cost-center.infrastructure.repository.d.ts +11 -11
  154. package/lib/infrastructure/repositories/deadline.infrastructure.repository.d.ts +9 -9
  155. package/lib/infrastructure/repositories/document-reference.infrastructure.repository.d.ts +12 -12
  156. package/lib/infrastructure/repositories/document-type.infrastructure.repository.d.ts +9 -0
  157. package/lib/infrastructure/repositories/driver.infrastructure.repository.d.ts +11 -11
  158. package/lib/infrastructure/repositories/email-settings.infrastructure.repository.d.ts +10 -10
  159. package/lib/infrastructure/repositories/financial-bank.infrastructure.repository.d.ts +11 -11
  160. package/lib/infrastructure/repositories/group.infrastructure.repository.d.ts +6 -6
  161. package/lib/infrastructure/repositories/history.infrastructure.repository.d.ts +7 -7
  162. package/lib/infrastructure/repositories/item.infrastructure.repository.d.ts +17 -17
  163. package/lib/infrastructure/repositories/kit.infrastructure.repository.d.ts +15 -15
  164. package/lib/infrastructure/repositories/outgoing-banking-transaction.infrastructure.repository.d.ts +8 -8
  165. package/lib/infrastructure/repositories/price-list.infrastructure.repository.d.ts +6 -6
  166. package/lib/infrastructure/repositories/report-financials.infrastructure.repository.d.ts +238 -238
  167. package/lib/infrastructure/repositories/seat.infrastructure.repository.d.ts +17 -17
  168. package/lib/infrastructure/repositories/seller.infrastructure.repository.d.ts +14 -14
  169. package/lib/infrastructure/repositories/service-outsourcing.infrastructure.repository.d.ts +17 -17
  170. package/lib/infrastructure/repositories/service.infrastructure.repository.d.ts +17 -17
  171. package/lib/infrastructure/repositories/sri-history.infrastructure.repository.d.ts +5 -5
  172. package/lib/infrastructure/repositories/upload.infrastructure.repository.d.ts +12 -12
  173. package/lib/infrastructure/repositories/user.infrastructure.repository.d.ts +18 -18
  174. package/lib/infrastructure/repositories/warehouse.infrastructure.repository.d.ts +11 -11
  175. package/lib/infrastructure/services/alternative-item.infrastructure.service.d.ts +19 -19
  176. package/lib/infrastructure/services/bank-movements.infrastructure.service.d.ts +11 -11
  177. package/lib/infrastructure/services/bank.infrasctructure.service.d.ts +15 -15
  178. package/lib/infrastructure/services/card-settlement.infrastructure.service.d.ts +13 -13
  179. package/lib/infrastructure/services/cash-liquidation.infrastructure.service.d.ts +14 -14
  180. package/lib/infrastructure/services/client-branch.infrastructure.service.d.ts +10 -10
  181. package/lib/infrastructure/services/client-category.infrastructure.service.d.ts +16 -16
  182. package/lib/infrastructure/services/client-group.infrastructure.service.d.ts +16 -16
  183. package/lib/infrastructure/services/client.infrastructure.service.d.ts +20 -20
  184. package/lib/infrastructure/services/company.infrastructure.service.d.ts +17 -17
  185. package/lib/infrastructure/services/contact.infrastructure.service.d.ts +10 -10
  186. package/lib/infrastructure/services/cost-center.infrastructure.service.d.ts +16 -16
  187. package/lib/infrastructure/services/deadline.infrastructure.service.d.ts +14 -14
  188. package/lib/infrastructure/services/document-reference.infrastructure.service.d.ts +17 -17
  189. package/lib/infrastructure/services/document-type.infrastructure.service.d.ts +14 -0
  190. package/lib/infrastructure/services/driver.infrastructure.service.d.ts +16 -16
  191. package/lib/infrastructure/services/email-settings.infrastruture.service.d.ts +14 -14
  192. package/lib/infrastructure/services/financial-bank.infrastructure.service.d.ts +16 -16
  193. package/lib/infrastructure/services/group.infrastructure.service.d.ts +11 -11
  194. package/lib/infrastructure/services/history.infrastructure.service.d.ts +11 -11
  195. package/lib/infrastructure/services/item.infrastructure.service.d.ts +21 -21
  196. package/lib/infrastructure/services/kit.infrastructure.service.d.ts +19 -19
  197. package/lib/infrastructure/services/outgoing-banking-transaction.infrastructure.service.d.ts +13 -13
  198. package/lib/infrastructure/services/price-list.infrastructure.service.d.ts +11 -11
  199. package/lib/infrastructure/services/report-financials.infrastructure.service.d.ts +246 -246
  200. package/lib/infrastructure/services/seat.infrastructure.service.d.ts +21 -21
  201. package/lib/infrastructure/services/seller.infrastructure.service.d.ts +19 -19
  202. package/lib/infrastructure/services/service-outsourcing.infrastructure.service.d.ts +21 -21
  203. package/lib/infrastructure/services/service.infrastructure.service.d.ts +21 -21
  204. package/lib/infrastructure/services/sri-history.infrastructure.service.d.ts +9 -9
  205. package/lib/infrastructure/services/upload.infrastructure.service.d.ts +16 -16
  206. package/lib/infrastructure/services/user.infrastructure.service.d.ts +22 -22
  207. package/lib/infrastructure/services/warehouse.infrastructure.service.d.ts +16 -16
  208. package/lib/pipes/error-translate-pipe/error-translate-pipe.d.ts +8 -8
  209. package/lib/remotes/components.remote.d.ts +3 -2
  210. package/lib/remotes/repositories/company.repository.d.ts +3 -3
  211. package/lib/remotes/repositories.remote.d.ts +2 -1
  212. package/lib/remotes/services/auth.service.d.ts +3 -3
  213. package/lib/remotes/services/web-socket.service.d.ts +4 -4
  214. package/lib/remotes/services.remote.d.ts +3 -3
  215. package/package.json +1 -1
  216. package/public-api.d.ts +137 -0
  217. package/src/lib/app.config.d.ts +0 -2
  218. package/src/lib/app.d.ts +0 -3
  219. package/src/lib/app.routes.d.ts +0 -2
  220. package/src/lib/components/accounting-seat/accounting-seat.d.ts +0 -32
  221. package/src/lib/components/accounting-seat/directives/drop-down-menu.directive.d.ts +0 -13
  222. package/src/lib/components/accounting-seat/directives/drop-down.directive.d.ts +0 -10
  223. package/src/lib/components/accounting-seat/types.d.ts +0 -1
  224. package/src/lib/components/advanced-item-search-modal/advanced-item-search-modal.d.ts +0 -25
  225. package/src/lib/components/advanced-item-search-modal/alternative-item-list/alternative-item-list.d.ts +0 -25
  226. package/src/lib/components/advanced-item-search-modal/animations.d.ts +0 -2
  227. package/src/lib/components/advanced-item-search-modal/constants.d.ts +0 -1
  228. package/src/lib/components/advanced-item-search-modal/item-list/item-list.d.ts +0 -85
  229. package/src/lib/components/advanced-item-search-modal/types.d.ts +0 -7
  230. package/src/lib/components/attachments/animations.d.ts +0 -1
  231. package/src/lib/components/attachments/attachments.d.ts +0 -50
  232. package/src/lib/components/attachments/components/button-item/button-item.d.ts +0 -5
  233. package/src/lib/components/attachments/components/buttons/buttons.d.ts +0 -8
  234. package/src/lib/components/attachments/components/grid-view/grid-view.d.ts +0 -32
  235. package/src/lib/components/attachments/components/icons/delete-icon/delete-icon.d.ts +0 -2
  236. package/src/lib/components/attachments/components/icons/download-icon/download-icon.d.ts +0 -2
  237. package/src/lib/components/attachments/components/list-view/list-view.d.ts +0 -41
  238. package/src/lib/components/attachments/types.d.ts +0 -7
  239. package/src/lib/components/documents-reference/animations.d.ts +0 -1
  240. package/src/lib/components/documents-reference/components/add/add.d.ts +0 -112
  241. package/src/lib/components/documents-reference/components/delete/delete.d.ts +0 -28
  242. package/src/lib/components/documents-reference/components/reference-document-by-tab/reference-document-by-tab.d.ts +0 -39
  243. package/src/lib/components/documents-reference/components/reference-document-to-tab/reference-document-to-tab.d.ts +0 -42
  244. package/src/lib/components/documents-reference/documents-reference.d.ts +0 -21
  245. package/src/lib/components/documents-reference/types.d.ts +0 -56
  246. package/src/lib/components/dropzone/dropzone.d.ts +0 -17
  247. package/src/lib/components/empty/empty.d.ts +0 -17
  248. package/src/lib/components/json-modal/json-modal.d.ts +0 -14
  249. package/src/lib/components/modal-confirm/modal-confirm.d.ts +0 -23
  250. package/src/lib/components/modal-confirm/ng-content.d.ts +0 -8
  251. package/src/lib/components/modal-confirm/types.d.ts +0 -6
  252. package/src/lib/components/pagination-nav/pagination-nav.d.ts +0 -27
  253. package/src/lib/components/pagination-nav/pagination-nav.model.d.ts +0 -8
  254. package/src/lib/components/record-detail-metadata/components/options/options.d.ts +0 -13
  255. package/src/lib/components/record-detail-metadata/directives/drop-down-menu.directive.d.ts +0 -13
  256. package/src/lib/components/record-detail-metadata/directives/drop-down.directive.d.ts +0 -9
  257. package/src/lib/components/record-detail-metadata/record-detail-metadata.d.ts +0 -21
  258. package/src/lib/components/record-detail-metadata/types.d.ts +0 -48
  259. package/src/lib/components/tree-select/tree-select.d.ts +0 -60
  260. package/src/lib/components/tree-select/types.d.ts +0 -8
  261. package/src/lib/components/user-history/components/email-history/email-history.component.d.ts +0 -66
  262. package/src/lib/components/user-history/components/email-history/emails-modal/emails-modal.component.d.ts +0 -13
  263. package/src/lib/components/user-history/components/general-history/general-history.component.d.ts +0 -58
  264. package/src/lib/components/user-history/components/print-history/print-history.component.d.ts +0 -58
  265. package/src/lib/components/user-history/components/sri-history/sri-history.component.d.ts +0 -63
  266. package/src/lib/components/user-history/components/tab-item/tab-item.component.d.ts +0 -7
  267. package/src/lib/components/user-history/components/tabs/tabs.component.d.ts +0 -7
  268. package/src/lib/components/user-history/constants.d.ts +0 -1
  269. package/src/lib/components/user-history/directives/drop-down.directive.d.ts +0 -9
  270. package/src/lib/components/user-history/types.d.ts +0 -14
  271. package/src/lib/components/user-history/user-history.d.ts +0 -30
  272. package/src/lib/directives/character-counter/character-counter.directive.d.ts +0 -21
  273. package/src/lib/directives/horizontal-overflow/components/arrow-left/arrow-left.component.d.ts +0 -5
  274. package/src/lib/directives/horizontal-overflow/components/arrow-right/arrow-right.component.d.ts +0 -5
  275. package/src/lib/directives/horizontal-overflow/horizontal-overflow-arrows.directive.d.ts +0 -23
  276. package/src/lib/directives/horizontal-overflow/horizontal-overflow-shadow.directive.d.ts +0 -8
  277. package/src/lib/directives/number-input.directive.d.ts +0 -23
  278. package/src/lib/directives/resize-container/resize-container.directive.d.ts +0 -20
  279. package/src/lib/directives/resize-container/resize-container.model.d.ts +0 -6
  280. package/src/lib/directives/text-input/text-input.directive.d.ts +0 -14
  281. package/src/lib/directives/text-input/types.d.ts +0 -1
  282. package/src/lib/directives/tooltip/tooltip/tooltip.d.ts +0 -9
  283. package/src/lib/directives/tooltip/tooltip/types.d.ts +0 -2
  284. package/src/lib/directives/tooltip/tooltip.directive.d.ts +0 -26
  285. package/src/lib/domain/models/alternative-item.domain.model.d.ts +0 -198
  286. package/src/lib/domain/models/bank-movements.domain.model.d.ts +0 -60
  287. package/src/lib/domain/models/bank.domain.model.d.ts +0 -92
  288. package/src/lib/domain/models/card-settlement.domain.model.d.ts +0 -260
  289. package/src/lib/domain/models/cash-liquidation.domain.model.d.ts +0 -319
  290. package/src/lib/domain/models/client-branch.domain.model.d.ts +0 -35
  291. package/src/lib/domain/models/client-category.domain.model.d.ts +0 -69
  292. package/src/lib/domain/models/client-group.domain.model.d.ts +0 -102
  293. package/src/lib/domain/models/client.domain.model.d.ts +0 -375
  294. package/src/lib/domain/models/company.domain.model.d.ts +0 -354
  295. package/src/lib/domain/models/contact.domain.model.d.ts +0 -28
  296. package/src/lib/domain/models/cost-center.domain.model.d.ts +0 -111
  297. package/src/lib/domain/models/deadline.domian.model.d.ts +0 -76
  298. package/src/lib/domain/models/document-reference.domain.model.d.ts +0 -204
  299. package/src/lib/domain/models/document-type.model.d.ts +0 -0
  300. package/src/lib/domain/models/driver.domian.model.d.ts +0 -94
  301. package/src/lib/domain/models/email-settings.domain.model.d.ts +0 -86
  302. package/src/lib/domain/models/financial-bank.domain.model.d.ts +0 -153
  303. package/src/lib/domain/models/group.domain.model.d.ts +0 -78
  304. package/src/lib/domain/models/history.domain.model.d.ts +0 -66
  305. package/src/lib/domain/models/item.domain.model.d.ts +0 -935
  306. package/src/lib/domain/models/kit.domain.model.d.ts +0 -508
  307. package/src/lib/domain/models/outgoing-banking-transaction.domain.model.d.ts +0 -125
  308. package/src/lib/domain/models/price-list.domain.model.d.ts +0 -54
  309. package/src/lib/domain/models/report-financials.domain.model.d.ts +0 -2165
  310. package/src/lib/domain/models/seat.domain.model.d.ts +0 -325
  311. package/src/lib/domain/models/seller.domain.model.d.ts +0 -135
  312. package/src/lib/domain/models/service-outsourcing.domain.model.d.ts +0 -273
  313. package/src/lib/domain/models/service.domain.model.d.ts +0 -314
  314. package/src/lib/domain/models/sri-history.domain.model.d.ts +0 -298
  315. package/src/lib/domain/models/upload.domain.model.d.ts +0 -117
  316. package/src/lib/domain/models/user.domain.model.d.ts +0 -260
  317. package/src/lib/domain/models/warehouse.domain.model.d.ts +0 -97
  318. package/src/lib/domain/repositories/alternative-item.domain.repository.d.ts +0 -17
  319. package/src/lib/domain/repositories/bank-movements.domain.repository.d.ts +0 -10
  320. package/src/lib/domain/repositories/bank.domain.repository.d.ts +0 -14
  321. package/src/lib/domain/repositories/card-settlement.domain.repository.d.ts +0 -12
  322. package/src/lib/domain/repositories/cash-liquidation.domain.repository.d.ts +0 -13
  323. package/src/lib/domain/repositories/client-branch.domain.repository.d.ts +0 -8
  324. package/src/lib/domain/repositories/client-category.domain.repository.d.ts +0 -14
  325. package/src/lib/domain/repositories/client-group.domain.repository.d.ts +0 -14
  326. package/src/lib/domain/repositories/client.domain.repository.d.ts +0 -18
  327. package/src/lib/domain/repositories/company.domain.repository.d.ts +0 -16
  328. package/src/lib/domain/repositories/contact.domain.repository.d.ts +0 -8
  329. package/src/lib/domain/repositories/cost-center.domain.repository.d.ts +0 -15
  330. package/src/lib/domain/repositories/deadline.domain.repository.d.ts +0 -12
  331. package/src/lib/domain/repositories/document-reference.domain.repository.d.ts +0 -15
  332. package/src/lib/domain/repositories/document-type.domain.repository.d.ts +0 -2
  333. package/src/lib/domain/repositories/driver.domain.repository.d.ts +0 -14
  334. package/src/lib/domain/repositories/email-settings.domain.repository.d.ts +0 -13
  335. package/src/lib/domain/repositories/financial-bank.domain.repository.d.ts +0 -15
  336. package/src/lib/domain/repositories/group.domain.repository.d.ts +0 -9
  337. package/src/lib/domain/repositories/history.domain.repository.d.ts +0 -10
  338. package/src/lib/domain/repositories/item.domain.repository.d.ts +0 -20
  339. package/src/lib/domain/repositories/kit.domain.repository.d.ts +0 -18
  340. package/src/lib/domain/repositories/outgoing-banking-transaction.domain.repository.d.ts +0 -12
  341. package/src/lib/domain/repositories/price-list.domain.repository.d.ts +0 -9
  342. package/src/lib/domain/repositories/report-financials.domain.repository.d.ts +0 -241
  343. package/src/lib/domain/repositories/seat.domain.repository.d.ts +0 -20
  344. package/src/lib/domain/repositories/seller.domain.repository.d.ts +0 -17
  345. package/src/lib/domain/repositories/service-outsourcing.domain.repository.d.ts +0 -20
  346. package/src/lib/domain/repositories/service.domain.repository.d.ts +0 -20
  347. package/src/lib/domain/repositories/sri-history.domain.repository.d.ts +0 -9
  348. package/src/lib/domain/repositories/upload.domain.repository.d.ts +0 -15
  349. package/src/lib/domain/repositories/user.domain.repository.d.ts +0 -21
  350. package/src/lib/domain/repositories/warehouse.domain.repository.d.ts +0 -14
  351. package/src/lib/domain/services/auth/auth.model.d.ts +0 -182
  352. package/src/lib/domain/services/auth/auth.service.d.ts +0 -18
  353. package/src/lib/domain/services/notification/notification.model.d.ts +0 -15
  354. package/src/lib/domain/services/notification/notification.service.d.ts +0 -4
  355. package/src/lib/domain/services/web-socket/web-socket.model.d.ts +0 -32
  356. package/src/lib/domain/services/web-socket/web-socket.service.d.ts +0 -18
  357. package/src/lib/environments/environment.d.ts +0 -29
  358. package/src/lib/infrastructure/repositories/alternative-item.infrastructure.repository.d.ts +0 -14
  359. package/src/lib/infrastructure/repositories/bank-movements.infrastructure.repository.d.ts +0 -6
  360. package/src/lib/infrastructure/repositories/bank.infrastructure.repository.d.ts +0 -10
  361. package/src/lib/infrastructure/repositories/card-settlement.infrastructure.repository.d.ts +0 -8
  362. package/src/lib/infrastructure/repositories/cash-liquidation.infrastructure.repository.d.ts +0 -9
  363. package/src/lib/infrastructure/repositories/client-branch.infrastructure.repository.d.ts +0 -5
  364. package/src/lib/infrastructure/repositories/client-category.infrastructure.repository.d.ts +0 -11
  365. package/src/lib/infrastructure/repositories/client-group.infrastructure.repository.d.ts +0 -11
  366. package/src/lib/infrastructure/repositories/client.infrastructure.repository.d.ts +0 -15
  367. package/src/lib/infrastructure/repositories/company.infrastructure.repository.d.ts +0 -13
  368. package/src/lib/infrastructure/repositories/contac.infrastrucutre.repository.d.ts +0 -5
  369. package/src/lib/infrastructure/repositories/cost-center.infrastructure.repository.d.ts +0 -11
  370. package/src/lib/infrastructure/repositories/deadline.infrastructure.repository.d.ts +0 -9
  371. package/src/lib/infrastructure/repositories/document-reference.infrastructure.repository.d.ts +0 -12
  372. package/src/lib/infrastructure/repositories/document-type.infrastructure.repository.d.ts +0 -0
  373. package/src/lib/infrastructure/repositories/driver.infrastructure.repository.d.ts +0 -11
  374. package/src/lib/infrastructure/repositories/email-settings.infrastructure.repository.d.ts +0 -10
  375. package/src/lib/infrastructure/repositories/financial-bank.infrastructure.repository.d.ts +0 -11
  376. package/src/lib/infrastructure/repositories/group.infrastructure.repository.d.ts +0 -6
  377. package/src/lib/infrastructure/repositories/history.infrastructure.repository.d.ts +0 -7
  378. package/src/lib/infrastructure/repositories/item.infrastructure.repository.d.ts +0 -17
  379. package/src/lib/infrastructure/repositories/kit.infrastructure.repository.d.ts +0 -15
  380. package/src/lib/infrastructure/repositories/outgoing-banking-transaction.infrastructure.repository.d.ts +0 -8
  381. package/src/lib/infrastructure/repositories/price-list.infrastructure.repository.d.ts +0 -6
  382. package/src/lib/infrastructure/repositories/report-financials.infrastructure.repository.d.ts +0 -238
  383. package/src/lib/infrastructure/repositories/seat.infrastructure.repository.d.ts +0 -17
  384. package/src/lib/infrastructure/repositories/seller.infrastructure.repository.d.ts +0 -14
  385. package/src/lib/infrastructure/repositories/service-outsourcing.infrastructure.repository.d.ts +0 -17
  386. package/src/lib/infrastructure/repositories/service.infrastructure.repository.d.ts +0 -17
  387. package/src/lib/infrastructure/repositories/sri-history.infrastructure.repository.d.ts +0 -5
  388. package/src/lib/infrastructure/repositories/upload.infrastructure.repository.d.ts +0 -12
  389. package/src/lib/infrastructure/repositories/user.infrastructure.repository.d.ts +0 -18
  390. package/src/lib/infrastructure/repositories/warehouse.infrastructure.repository.d.ts +0 -11
  391. package/src/lib/infrastructure/services/alternative-item.infrastructure.service.d.ts +0 -19
  392. package/src/lib/infrastructure/services/bank-movements.infrastructure.service.d.ts +0 -11
  393. package/src/lib/infrastructure/services/bank.infrasctructure.service.d.ts +0 -15
  394. package/src/lib/infrastructure/services/card-settlement.infrastructure.service.d.ts +0 -13
  395. package/src/lib/infrastructure/services/cash-liquidation.infrastructure.service.d.ts +0 -14
  396. package/src/lib/infrastructure/services/client-branch.infrastructure.service.d.ts +0 -10
  397. package/src/lib/infrastructure/services/client-category.infrastructure.service.d.ts +0 -16
  398. package/src/lib/infrastructure/services/client-group.infrastructure.service.d.ts +0 -16
  399. package/src/lib/infrastructure/services/client.infrastructure.service.d.ts +0 -20
  400. package/src/lib/infrastructure/services/company.infrastructure.service.d.ts +0 -17
  401. package/src/lib/infrastructure/services/contact.infrastructure.service.d.ts +0 -10
  402. package/src/lib/infrastructure/services/cost-center.infrastructure.service.d.ts +0 -16
  403. package/src/lib/infrastructure/services/deadline.infrastructure.service.d.ts +0 -14
  404. package/src/lib/infrastructure/services/document-reference.infrastructure.service.d.ts +0 -17
  405. package/src/lib/infrastructure/services/document-type.infrastructure.service.d.ts +0 -2
  406. package/src/lib/infrastructure/services/driver.infrastructure.service.d.ts +0 -16
  407. package/src/lib/infrastructure/services/email-settings.infrastruture.service.d.ts +0 -14
  408. package/src/lib/infrastructure/services/financial-bank.infrastructure.service.d.ts +0 -16
  409. package/src/lib/infrastructure/services/group.infrastructure.service.d.ts +0 -11
  410. package/src/lib/infrastructure/services/history.infrastructure.service.d.ts +0 -11
  411. package/src/lib/infrastructure/services/item.infrastructure.service.d.ts +0 -21
  412. package/src/lib/infrastructure/services/kit.infrastructure.service.d.ts +0 -19
  413. package/src/lib/infrastructure/services/outgoing-banking-transaction.infrastructure.service.d.ts +0 -13
  414. package/src/lib/infrastructure/services/price-list.infrastructure.service.d.ts +0 -11
  415. package/src/lib/infrastructure/services/report-financials.infrastructure.service.d.ts +0 -246
  416. package/src/lib/infrastructure/services/seat.infrastructure.service.d.ts +0 -21
  417. package/src/lib/infrastructure/services/seller.infrastructure.service.d.ts +0 -19
  418. package/src/lib/infrastructure/services/service-outsourcing.infrastructure.service.d.ts +0 -21
  419. package/src/lib/infrastructure/services/service.infrastructure.service.d.ts +0 -21
  420. package/src/lib/infrastructure/services/sri-history.infrastructure.service.d.ts +0 -9
  421. package/src/lib/infrastructure/services/upload.infrastructure.service.d.ts +0 -16
  422. package/src/lib/infrastructure/services/user.infrastructure.service.d.ts +0 -22
  423. package/src/lib/infrastructure/services/warehouse.infrastructure.service.d.ts +0 -16
  424. package/src/lib/pipes/error-translate-pipe/error-translate-pipe.d.ts +0 -8
  425. package/src/lib/remotes/components.remote.d.ts +0 -3
  426. package/src/lib/remotes/repositories/company.repository.d.ts +0 -3
  427. package/src/lib/remotes/repositories.remote.d.ts +0 -2
  428. package/src/lib/remotes/services/auth.service.d.ts +0 -3
  429. package/src/lib/remotes/services/web-socket.service.d.ts +0 -4
  430. package/src/lib/remotes/services.remote.d.ts +0 -3
  431. /package/{src/lib → lib}/components/add-client/add-client.d.ts +0 -0
  432. /package/{src/lib → lib}/components/add-client/animations.d.ts +0 -0
  433. /package/{src/lib → lib}/components/add-client/constants.d.ts +0 -0
  434. /package/{src/lib → lib}/components/add-client/types.d.ts +0 -0
  435. /package/{src/lib → lib}/remotes/repositories/user.repository.d.ts +0 -0
  436. /package/{src/lib → lib}/remotes/types.remote.d.ts +0 -0
@@ -1,298 +1,298 @@
1
- export declare namespace CbmSriHistoryModel {
2
- interface ListParams {
3
- page: number;
4
- size: number;
5
- date_end?: number;
6
- date_begin?: number;
7
- user_id?: string;
8
- collection_id?: string;
9
- collection_name?: string;
10
- event_module?: string;
11
- event?: string;
12
- }
13
- interface ListResponse {
14
- success: boolean;
15
- pageNum: number;
16
- pageSize: number;
17
- pages: number;
18
- total: number;
19
- items: ListResponse.Item[];
20
- }
21
- namespace ListResponse {
22
- interface Item {
23
- _id: string;
24
- user_id: string;
25
- full_name: string;
26
- email: string;
27
- company_id: string;
28
- company_name: string;
29
- company_branch_id: string;
30
- company_branch_name: string;
31
- type?: string;
32
- event: string;
33
- event_module: string;
34
- event_service: string;
35
- event_date: number;
36
- auth_date: number;
37
- device_ip: string;
38
- device_userAgent: string;
39
- device_so: string;
40
- device_browser: string;
41
- device_engine: string;
42
- host: string;
43
- rol_id?: string;
44
- rol_name?: string;
45
- request: Item.Request;
46
- response: Item.Response;
47
- response_code: string;
48
- error_message?: string;
49
- }
50
- namespace Item {
51
- interface Request {
52
- idComprobante: string;
53
- data: Request.Data;
54
- }
55
- namespace Request {
56
- interface Data {
57
- factura?: Data.Factura;
58
- notaDebito?: Data.NotaDebito;
59
- notaCredito?: Data.NotaCredito;
60
- }
61
- namespace Data {
62
- interface Factura {
63
- $: InfoDocumento;
64
- infoTributaria: InfoTributaria;
65
- infoFactura: Factura.InfoFactura;
66
- detalles: Factura.FacturaDetalles;
67
- infoAdicional?: Factura.InfoAdicional;
68
- }
69
- namespace Factura {
70
- interface InfoFactura {
71
- fechaEmision: string;
72
- dirEstablecimiento: string;
73
- contribuyenteEspecial: any[];
74
- obligadoContabilidad: string;
75
- tipoIdentificacionComprador: string;
76
- razonSocialComprador: string;
77
- identificacionComprador: string;
78
- direccionComprador: string;
79
- totalSinImpuestos: string;
80
- totalDescuento: string;
81
- totalConImpuestos: TotalConImpuestos[];
82
- propina: string;
83
- importeTotal: string;
84
- moneda: string;
85
- pagos: InfoFactura.InfoFacturaPagos;
86
- }
87
- namespace InfoFactura {
88
- interface InfoFacturaPagos {
89
- pago: InfoFacturaPagos.PagoElement[];
90
- }
91
- namespace InfoFacturaPagos {
92
- interface PagoElement {
93
- formaPago?: string;
94
- total?: number;
95
- plazo: number;
96
- unidadTiempo: string;
97
- }
98
- }
99
- }
100
- interface FacturaDetalles {
101
- detalle: FacturaDetalles.PurpleDetalle[];
102
- }
103
- namespace FacturaDetalles {
104
- interface PurpleDetalle {
105
- codigoPrincipal: string;
106
- codigoAuxiliar: string;
107
- descripcion: string;
108
- cantidad: string;
109
- precioUnitario: string;
110
- descuento: string;
111
- precioTotalSinImpuesto: string;
112
- impuestos: DetalleImpuesto[];
113
- }
114
- }
115
- interface InfoAdicional {
116
- campoAdicional: InfoAdicional.CampoAdicionalElement[];
117
- }
118
- namespace InfoAdicional {
119
- interface CampoAdicionalElement {
120
- $: CampoAdicionalElement.CampoAdicional;
121
- _: string;
122
- }
123
- namespace CampoAdicionalElement {
124
- interface CampoAdicional {
125
- nombre: string;
126
- }
127
- }
128
- }
129
- }
130
- interface NotaCredito {
131
- $: InfoDocumento;
132
- infoTributaria: InfoTributaria;
133
- infoNotaCredito: NotaCredito.InfoNotaCredito;
134
- detalles: NotaCredito.NotaCreditoDetalles;
135
- }
136
- namespace NotaCredito {
137
- interface InfoNotaCredito {
138
- fechaEmision: string;
139
- dirEstablecimiento: string;
140
- tipoIdentificacionComprador: string;
141
- razonSocialComprador: string;
142
- identificacionComprador: string;
143
- contribuyenteEspecial: any[];
144
- obligadoContabilidad: string;
145
- codDocModificado: string;
146
- numDocModificado: string;
147
- fechaEmisionDocSustento: string;
148
- totalSinImpuestos: string;
149
- valorModificacion: number;
150
- moneda: string;
151
- totalConImpuestos: TotalConImpuestos;
152
- motivo: string;
153
- }
154
- interface NotaCreditoDetalles {
155
- detalle: NotaCredito.NotaCreditoDetalles.FluffyDetalle[];
156
- }
157
- namespace NotaCreditoDetalles {
158
- interface FluffyDetalle {
159
- codigoInterno: string;
160
- codigoAdicional: string;
161
- descripcion: string;
162
- cantidad: string;
163
- precioUnitario: string;
164
- descuento: string;
165
- precioTotalSinImpuesto: string;
166
- impuestos: Impuestos;
167
- }
168
- }
169
- }
170
- interface NotaDebito {
171
- $: InfoDocumento;
172
- infoTributaria: InfoTributaria;
173
- infoNotaDebito: NotaDebito.InfoNotaDebito;
174
- motivos: NotaDebito.Motivos;
175
- }
176
- namespace NotaDebito {
177
- interface InfoNotaDebito {
178
- fechaEmision: string;
179
- dirEstablecimiento: string;
180
- tipoIdentificacionComprador: string;
181
- razonSocialComprador: string;
182
- identificacionComprador: string;
183
- contribuyenteEspecial: any[];
184
- obligadoContabilidad: string;
185
- codDocModificado: string;
186
- numDocModificado: string;
187
- fechaEmisionDocSustento: string;
188
- totalSinImpuestos: string;
189
- impuestos: Impuestos;
190
- valorTotal: string;
191
- pagos: string;
192
- }
193
- interface Motivos {
194
- motivo: Motivos.Motivo[];
195
- }
196
- namespace Motivos {
197
- interface Motivo {
198
- razon: string;
199
- valor: number;
200
- }
201
- }
202
- }
203
- interface TotalConImpuestos {
204
- totalImpuesto: Impuestos.TotalImpuestoElement;
205
- }
206
- namespace Impuestos {
207
- interface TotalImpuestoElement {
208
- codigo: string;
209
- codigoPorcentaje: string;
210
- tarifa?: number;
211
- baseImponible: string;
212
- valor: string;
213
- }
214
- }
215
- interface DetalleImpuesto {
216
- impuesto: Impuestos.TotalImpuestoElement;
217
- }
218
- interface Impuestos {
219
- impuesto: Impuestos.TotalImpuestoElement[];
220
- }
221
- interface InfoDocumento {
222
- id: string;
223
- version: string;
224
- }
225
- interface InfoTributaria {
226
- ambiente: number;
227
- tipoEmision: number;
228
- razonSocial: string;
229
- nombreComercial: string;
230
- ruc: string;
231
- claveAcceso: string;
232
- codDoc: string;
233
- estab: string;
234
- ptoEmi: string;
235
- secuencial: string;
236
- dirMatriz: string;
237
- agenteRetencion: string[];
238
- contribuyenteRimpe: any[];
239
- }
240
- }
241
- }
242
- interface Response {
243
- RespuestaAutorizacionComprobante?: Response.RespuestaAutorizacionComprobante;
244
- RespuestaRecepcionComprobante?: Response.RespuestaRecepcionComprobante;
245
- }
246
- namespace Response {
247
- interface RespuestaAutorizacionComprobante {
248
- claveAccesoConsultada: string;
249
- numeroComprobantes: string;
250
- autorizaciones: RespuestaAutorizacionComprobante.Autorizaciones;
251
- }
252
- namespace RespuestaAutorizacionComprobante {
253
- interface Autorizaciones {
254
- autorizacion: Autorizaciones.Autorizacion;
255
- }
256
- namespace Autorizaciones {
257
- interface Autorizacion {
258
- estado: string;
259
- numeroAutorizacion: string;
260
- fechaAutorizacion: Date;
261
- ambiente: string;
262
- comprobante: string;
263
- mensajes: null;
264
- }
265
- }
266
- }
267
- interface RespuestaRecepcionComprobante {
268
- estado: string;
269
- comprobantes: RespuestaRecepcionComprobante.Comprobantes;
270
- }
271
- namespace RespuestaRecepcionComprobante {
272
- interface Comprobantes {
273
- comprobante: Comprobante.Comprobante;
274
- }
275
- namespace Comprobante {
276
- interface Comprobante {
277
- claveAcceso: string;
278
- mensajes: Comprobante.Mensajes;
279
- }
280
- namespace Comprobante {
281
- interface Mensajes {
282
- mensaje: Mensajes.Mensaje;
283
- }
284
- namespace Mensajes {
285
- interface Mensaje {
286
- identificador: string;
287
- mensaje: string;
288
- informacionAdicional: string;
289
- tipo: string;
290
- }
291
- }
292
- }
293
- }
294
- }
295
- }
296
- }
297
- }
298
- }
1
+ export declare namespace CbmSriHistoryModel {
2
+ interface ListParams {
3
+ page: number;
4
+ size: number;
5
+ date_end?: number;
6
+ date_begin?: number;
7
+ user_id?: string;
8
+ collection_id?: string;
9
+ collection_name?: string;
10
+ event_module?: string;
11
+ event?: string;
12
+ }
13
+ interface ListResponse {
14
+ success: boolean;
15
+ pageNum: number;
16
+ pageSize: number;
17
+ pages: number;
18
+ total: number;
19
+ items: ListResponse.Item[];
20
+ }
21
+ namespace ListResponse {
22
+ interface Item {
23
+ _id: string;
24
+ user_id: string;
25
+ full_name: string;
26
+ email: string;
27
+ company_id: string;
28
+ company_name: string;
29
+ company_branch_id: string;
30
+ company_branch_name: string;
31
+ type?: string;
32
+ event: string;
33
+ event_module: string;
34
+ event_service: string;
35
+ event_date: number;
36
+ auth_date: number;
37
+ device_ip: string;
38
+ device_userAgent: string;
39
+ device_so: string;
40
+ device_browser: string;
41
+ device_engine: string;
42
+ host: string;
43
+ rol_id?: string;
44
+ rol_name?: string;
45
+ request: Item.Request;
46
+ response: Item.Response;
47
+ response_code: string;
48
+ error_message?: string;
49
+ }
50
+ namespace Item {
51
+ interface Request {
52
+ idComprobante: string;
53
+ data: Request.Data;
54
+ }
55
+ namespace Request {
56
+ interface Data {
57
+ factura?: Data.Factura;
58
+ notaDebito?: Data.NotaDebito;
59
+ notaCredito?: Data.NotaCredito;
60
+ }
61
+ namespace Data {
62
+ interface Factura {
63
+ $: InfoDocumento;
64
+ infoTributaria: InfoTributaria;
65
+ infoFactura: Factura.InfoFactura;
66
+ detalles: Factura.FacturaDetalles;
67
+ infoAdicional?: Factura.InfoAdicional;
68
+ }
69
+ namespace Factura {
70
+ interface InfoFactura {
71
+ fechaEmision: string;
72
+ dirEstablecimiento: string;
73
+ contribuyenteEspecial: any[];
74
+ obligadoContabilidad: string;
75
+ tipoIdentificacionComprador: string;
76
+ razonSocialComprador: string;
77
+ identificacionComprador: string;
78
+ direccionComprador: string;
79
+ totalSinImpuestos: string;
80
+ totalDescuento: string;
81
+ totalConImpuestos: TotalConImpuestos[];
82
+ propina: string;
83
+ importeTotal: string;
84
+ moneda: string;
85
+ pagos: InfoFactura.InfoFacturaPagos;
86
+ }
87
+ namespace InfoFactura {
88
+ interface InfoFacturaPagos {
89
+ pago: InfoFacturaPagos.PagoElement[];
90
+ }
91
+ namespace InfoFacturaPagos {
92
+ interface PagoElement {
93
+ formaPago?: string;
94
+ total?: number;
95
+ plazo: number;
96
+ unidadTiempo: string;
97
+ }
98
+ }
99
+ }
100
+ interface FacturaDetalles {
101
+ detalle: FacturaDetalles.PurpleDetalle[];
102
+ }
103
+ namespace FacturaDetalles {
104
+ interface PurpleDetalle {
105
+ codigoPrincipal: string;
106
+ codigoAuxiliar: string;
107
+ descripcion: string;
108
+ cantidad: string;
109
+ precioUnitario: string;
110
+ descuento: string;
111
+ precioTotalSinImpuesto: string;
112
+ impuestos: DetalleImpuesto[];
113
+ }
114
+ }
115
+ interface InfoAdicional {
116
+ campoAdicional: InfoAdicional.CampoAdicionalElement[];
117
+ }
118
+ namespace InfoAdicional {
119
+ interface CampoAdicionalElement {
120
+ $: CampoAdicionalElement.CampoAdicional;
121
+ _: string;
122
+ }
123
+ namespace CampoAdicionalElement {
124
+ interface CampoAdicional {
125
+ nombre: string;
126
+ }
127
+ }
128
+ }
129
+ }
130
+ interface NotaCredito {
131
+ $: InfoDocumento;
132
+ infoTributaria: InfoTributaria;
133
+ infoNotaCredito: NotaCredito.InfoNotaCredito;
134
+ detalles: NotaCredito.NotaCreditoDetalles;
135
+ }
136
+ namespace NotaCredito {
137
+ interface InfoNotaCredito {
138
+ fechaEmision: string;
139
+ dirEstablecimiento: string;
140
+ tipoIdentificacionComprador: string;
141
+ razonSocialComprador: string;
142
+ identificacionComprador: string;
143
+ contribuyenteEspecial: any[];
144
+ obligadoContabilidad: string;
145
+ codDocModificado: string;
146
+ numDocModificado: string;
147
+ fechaEmisionDocSustento: string;
148
+ totalSinImpuestos: string;
149
+ valorModificacion: number;
150
+ moneda: string;
151
+ totalConImpuestos: TotalConImpuestos;
152
+ motivo: string;
153
+ }
154
+ interface NotaCreditoDetalles {
155
+ detalle: NotaCredito.NotaCreditoDetalles.FluffyDetalle[];
156
+ }
157
+ namespace NotaCreditoDetalles {
158
+ interface FluffyDetalle {
159
+ codigoInterno: string;
160
+ codigoAdicional: string;
161
+ descripcion: string;
162
+ cantidad: string;
163
+ precioUnitario: string;
164
+ descuento: string;
165
+ precioTotalSinImpuesto: string;
166
+ impuestos: Impuestos;
167
+ }
168
+ }
169
+ }
170
+ interface NotaDebito {
171
+ $: InfoDocumento;
172
+ infoTributaria: InfoTributaria;
173
+ infoNotaDebito: NotaDebito.InfoNotaDebito;
174
+ motivos: NotaDebito.Motivos;
175
+ }
176
+ namespace NotaDebito {
177
+ interface InfoNotaDebito {
178
+ fechaEmision: string;
179
+ dirEstablecimiento: string;
180
+ tipoIdentificacionComprador: string;
181
+ razonSocialComprador: string;
182
+ identificacionComprador: string;
183
+ contribuyenteEspecial: any[];
184
+ obligadoContabilidad: string;
185
+ codDocModificado: string;
186
+ numDocModificado: string;
187
+ fechaEmisionDocSustento: string;
188
+ totalSinImpuestos: string;
189
+ impuestos: Impuestos;
190
+ valorTotal: string;
191
+ pagos: string;
192
+ }
193
+ interface Motivos {
194
+ motivo: Motivos.Motivo[];
195
+ }
196
+ namespace Motivos {
197
+ interface Motivo {
198
+ razon: string;
199
+ valor: number;
200
+ }
201
+ }
202
+ }
203
+ interface TotalConImpuestos {
204
+ totalImpuesto: Impuestos.TotalImpuestoElement;
205
+ }
206
+ namespace Impuestos {
207
+ interface TotalImpuestoElement {
208
+ codigo: string;
209
+ codigoPorcentaje: string;
210
+ tarifa?: number;
211
+ baseImponible: string;
212
+ valor: string;
213
+ }
214
+ }
215
+ interface DetalleImpuesto {
216
+ impuesto: Impuestos.TotalImpuestoElement;
217
+ }
218
+ interface Impuestos {
219
+ impuesto: Impuestos.TotalImpuestoElement[];
220
+ }
221
+ interface InfoDocumento {
222
+ id: string;
223
+ version: string;
224
+ }
225
+ interface InfoTributaria {
226
+ ambiente: number;
227
+ tipoEmision: number;
228
+ razonSocial: string;
229
+ nombreComercial: string;
230
+ ruc: string;
231
+ claveAcceso: string;
232
+ codDoc: string;
233
+ estab: string;
234
+ ptoEmi: string;
235
+ secuencial: string;
236
+ dirMatriz: string;
237
+ agenteRetencion: string[];
238
+ contribuyenteRimpe: any[];
239
+ }
240
+ }
241
+ }
242
+ interface Response {
243
+ RespuestaAutorizacionComprobante?: Response.RespuestaAutorizacionComprobante;
244
+ RespuestaRecepcionComprobante?: Response.RespuestaRecepcionComprobante;
245
+ }
246
+ namespace Response {
247
+ interface RespuestaAutorizacionComprobante {
248
+ claveAccesoConsultada: string;
249
+ numeroComprobantes: string;
250
+ autorizaciones: RespuestaAutorizacionComprobante.Autorizaciones;
251
+ }
252
+ namespace RespuestaAutorizacionComprobante {
253
+ interface Autorizaciones {
254
+ autorizacion: Autorizaciones.Autorizacion;
255
+ }
256
+ namespace Autorizaciones {
257
+ interface Autorizacion {
258
+ estado: string;
259
+ numeroAutorizacion: string;
260
+ fechaAutorizacion: Date;
261
+ ambiente: string;
262
+ comprobante: string;
263
+ mensajes: null;
264
+ }
265
+ }
266
+ }
267
+ interface RespuestaRecepcionComprobante {
268
+ estado: string;
269
+ comprobantes: RespuestaRecepcionComprobante.Comprobantes;
270
+ }
271
+ namespace RespuestaRecepcionComprobante {
272
+ interface Comprobantes {
273
+ comprobante: Comprobante.Comprobante;
274
+ }
275
+ namespace Comprobante {
276
+ interface Comprobante {
277
+ claveAcceso: string;
278
+ mensajes: Comprobante.Mensajes;
279
+ }
280
+ namespace Comprobante {
281
+ interface Mensajes {
282
+ mensaje: Mensajes.Mensaje;
283
+ }
284
+ namespace Mensajes {
285
+ interface Mensaje {
286
+ identificador: string;
287
+ mensaje: string;
288
+ informacionAdicional: string;
289
+ tipo: string;
290
+ }
291
+ }
292
+ }
293
+ }
294
+ }
295
+ }
296
+ }
297
+ }
298
+ }