@cbm-common/cbm-types 0.0.13 → 0.0.14

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 (222) hide show
  1. package/package.json +1 -1
  2. package/public-api.d.ts +137 -0
  3. package/src/lib/app.config.d.ts +0 -2
  4. package/src/lib/app.d.ts +0 -3
  5. package/src/lib/app.routes.d.ts +0 -2
  6. package/src/lib/components/accounting-seat/accounting-seat.d.ts +0 -32
  7. package/src/lib/components/accounting-seat/directives/drop-down-menu.directive.d.ts +0 -13
  8. package/src/lib/components/accounting-seat/directives/drop-down.directive.d.ts +0 -10
  9. package/src/lib/components/accounting-seat/types.d.ts +0 -1
  10. package/src/lib/components/add-client/add-client.d.ts +0 -2
  11. package/src/lib/components/add-client/animations.d.ts +0 -1
  12. package/src/lib/components/add-client/constants.d.ts +0 -9
  13. package/src/lib/components/add-client/types.d.ts +0 -7
  14. package/src/lib/components/advanced-item-search-modal/advanced-item-search-modal.d.ts +0 -25
  15. package/src/lib/components/advanced-item-search-modal/alternative-item-list/alternative-item-list.d.ts +0 -25
  16. package/src/lib/components/advanced-item-search-modal/animations.d.ts +0 -2
  17. package/src/lib/components/advanced-item-search-modal/constants.d.ts +0 -1
  18. package/src/lib/components/advanced-item-search-modal/item-list/item-list.d.ts +0 -85
  19. package/src/lib/components/advanced-item-search-modal/types.d.ts +0 -7
  20. package/src/lib/components/attachments/animations.d.ts +0 -1
  21. package/src/lib/components/attachments/attachments.d.ts +0 -50
  22. package/src/lib/components/attachments/components/button-item/button-item.d.ts +0 -5
  23. package/src/lib/components/attachments/components/buttons/buttons.d.ts +0 -8
  24. package/src/lib/components/attachments/components/grid-view/grid-view.d.ts +0 -32
  25. package/src/lib/components/attachments/components/icons/delete-icon/delete-icon.d.ts +0 -2
  26. package/src/lib/components/attachments/components/icons/download-icon/download-icon.d.ts +0 -2
  27. package/src/lib/components/attachments/components/list-view/list-view.d.ts +0 -41
  28. package/src/lib/components/attachments/types.d.ts +0 -7
  29. package/src/lib/components/documents-reference/animations.d.ts +0 -1
  30. package/src/lib/components/documents-reference/components/add/add.d.ts +0 -112
  31. package/src/lib/components/documents-reference/components/delete/delete.d.ts +0 -28
  32. package/src/lib/components/documents-reference/components/reference-document-by-tab/reference-document-by-tab.d.ts +0 -39
  33. package/src/lib/components/documents-reference/components/reference-document-to-tab/reference-document-to-tab.d.ts +0 -42
  34. package/src/lib/components/documents-reference/documents-reference.d.ts +0 -21
  35. package/src/lib/components/documents-reference/types.d.ts +0 -56
  36. package/src/lib/components/dropzone/dropzone.d.ts +0 -17
  37. package/src/lib/components/empty/empty.d.ts +0 -17
  38. package/src/lib/components/json-modal/json-modal.d.ts +0 -14
  39. package/src/lib/components/modal-confirm/modal-confirm.d.ts +0 -23
  40. package/src/lib/components/modal-confirm/ng-content.d.ts +0 -8
  41. package/src/lib/components/modal-confirm/types.d.ts +0 -6
  42. package/src/lib/components/pagination-nav/pagination-nav.d.ts +0 -27
  43. package/src/lib/components/pagination-nav/pagination-nav.model.d.ts +0 -8
  44. package/src/lib/components/record-detail-metadata/components/options/options.d.ts +0 -13
  45. package/src/lib/components/record-detail-metadata/directives/drop-down-menu.directive.d.ts +0 -13
  46. package/src/lib/components/record-detail-metadata/directives/drop-down.directive.d.ts +0 -9
  47. package/src/lib/components/record-detail-metadata/record-detail-metadata.d.ts +0 -21
  48. package/src/lib/components/record-detail-metadata/types.d.ts +0 -48
  49. package/src/lib/components/tree-select/tree-select.d.ts +0 -60
  50. package/src/lib/components/tree-select/types.d.ts +0 -8
  51. package/src/lib/components/user-history/components/email-history/email-history.component.d.ts +0 -66
  52. package/src/lib/components/user-history/components/email-history/emails-modal/emails-modal.component.d.ts +0 -13
  53. package/src/lib/components/user-history/components/general-history/general-history.component.d.ts +0 -58
  54. package/src/lib/components/user-history/components/print-history/print-history.component.d.ts +0 -58
  55. package/src/lib/components/user-history/components/sri-history/sri-history.component.d.ts +0 -63
  56. package/src/lib/components/user-history/components/tab-item/tab-item.component.d.ts +0 -7
  57. package/src/lib/components/user-history/components/tabs/tabs.component.d.ts +0 -7
  58. package/src/lib/components/user-history/constants.d.ts +0 -1
  59. package/src/lib/components/user-history/directives/drop-down.directive.d.ts +0 -9
  60. package/src/lib/components/user-history/types.d.ts +0 -14
  61. package/src/lib/components/user-history/user-history.d.ts +0 -30
  62. package/src/lib/directives/character-counter/character-counter.directive.d.ts +0 -21
  63. package/src/lib/directives/horizontal-overflow/components/arrow-left/arrow-left.component.d.ts +0 -5
  64. package/src/lib/directives/horizontal-overflow/components/arrow-right/arrow-right.component.d.ts +0 -5
  65. package/src/lib/directives/horizontal-overflow/horizontal-overflow-arrows.directive.d.ts +0 -23
  66. package/src/lib/directives/horizontal-overflow/horizontal-overflow-shadow.directive.d.ts +0 -8
  67. package/src/lib/directives/number-input.directive.d.ts +0 -23
  68. package/src/lib/directives/resize-container/resize-container.directive.d.ts +0 -20
  69. package/src/lib/directives/resize-container/resize-container.model.d.ts +0 -6
  70. package/src/lib/directives/text-input/text-input.directive.d.ts +0 -14
  71. package/src/lib/directives/text-input/types.d.ts +0 -1
  72. package/src/lib/directives/tooltip/tooltip/tooltip.d.ts +0 -9
  73. package/src/lib/directives/tooltip/tooltip/types.d.ts +0 -2
  74. package/src/lib/directives/tooltip/tooltip.directive.d.ts +0 -26
  75. package/src/lib/domain/models/alternative-item.domain.model.d.ts +0 -198
  76. package/src/lib/domain/models/bank-movements.domain.model.d.ts +0 -60
  77. package/src/lib/domain/models/bank.domain.model.d.ts +0 -92
  78. package/src/lib/domain/models/card-settlement.domain.model.d.ts +0 -260
  79. package/src/lib/domain/models/cash-liquidation.domain.model.d.ts +0 -319
  80. package/src/lib/domain/models/client-branch.domain.model.d.ts +0 -35
  81. package/src/lib/domain/models/client-category.domain.model.d.ts +0 -69
  82. package/src/lib/domain/models/client-group.domain.model.d.ts +0 -102
  83. package/src/lib/domain/models/client.domain.model.d.ts +0 -375
  84. package/src/lib/domain/models/company.domain.model.d.ts +0 -354
  85. package/src/lib/domain/models/contact.domain.model.d.ts +0 -28
  86. package/src/lib/domain/models/cost-center.domain.model.d.ts +0 -111
  87. package/src/lib/domain/models/deadline.domian.model.d.ts +0 -76
  88. package/src/lib/domain/models/document-reference.domain.model.d.ts +0 -204
  89. package/src/lib/domain/models/document-type.model.d.ts +0 -0
  90. package/src/lib/domain/models/driver.domian.model.d.ts +0 -94
  91. package/src/lib/domain/models/email-settings.domain.model.d.ts +0 -86
  92. package/src/lib/domain/models/financial-bank.domain.model.d.ts +0 -153
  93. package/src/lib/domain/models/group.domain.model.d.ts +0 -78
  94. package/src/lib/domain/models/history.domain.model.d.ts +0 -66
  95. package/src/lib/domain/models/item.domain.model.d.ts +0 -935
  96. package/src/lib/domain/models/kit.domain.model.d.ts +0 -508
  97. package/src/lib/domain/models/outgoing-banking-transaction.domain.model.d.ts +0 -125
  98. package/src/lib/domain/models/price-list.domain.model.d.ts +0 -54
  99. package/src/lib/domain/models/report-financials.domain.model.d.ts +0 -2165
  100. package/src/lib/domain/models/seat.domain.model.d.ts +0 -325
  101. package/src/lib/domain/models/seller.domain.model.d.ts +0 -135
  102. package/src/lib/domain/models/service-outsourcing.domain.model.d.ts +0 -273
  103. package/src/lib/domain/models/service.domain.model.d.ts +0 -314
  104. package/src/lib/domain/models/sri-history.domain.model.d.ts +0 -298
  105. package/src/lib/domain/models/upload.domain.model.d.ts +0 -117
  106. package/src/lib/domain/models/user.domain.model.d.ts +0 -260
  107. package/src/lib/domain/models/warehouse.domain.model.d.ts +0 -97
  108. package/src/lib/domain/repositories/alternative-item.domain.repository.d.ts +0 -17
  109. package/src/lib/domain/repositories/bank-movements.domain.repository.d.ts +0 -10
  110. package/src/lib/domain/repositories/bank.domain.repository.d.ts +0 -14
  111. package/src/lib/domain/repositories/card-settlement.domain.repository.d.ts +0 -12
  112. package/src/lib/domain/repositories/cash-liquidation.domain.repository.d.ts +0 -13
  113. package/src/lib/domain/repositories/client-branch.domain.repository.d.ts +0 -8
  114. package/src/lib/domain/repositories/client-category.domain.repository.d.ts +0 -14
  115. package/src/lib/domain/repositories/client-group.domain.repository.d.ts +0 -14
  116. package/src/lib/domain/repositories/client.domain.repository.d.ts +0 -18
  117. package/src/lib/domain/repositories/company.domain.repository.d.ts +0 -16
  118. package/src/lib/domain/repositories/contact.domain.repository.d.ts +0 -8
  119. package/src/lib/domain/repositories/cost-center.domain.repository.d.ts +0 -15
  120. package/src/lib/domain/repositories/deadline.domain.repository.d.ts +0 -12
  121. package/src/lib/domain/repositories/document-reference.domain.repository.d.ts +0 -15
  122. package/src/lib/domain/repositories/document-type.domain.repository.d.ts +0 -2
  123. package/src/lib/domain/repositories/driver.domain.repository.d.ts +0 -14
  124. package/src/lib/domain/repositories/email-settings.domain.repository.d.ts +0 -13
  125. package/src/lib/domain/repositories/financial-bank.domain.repository.d.ts +0 -15
  126. package/src/lib/domain/repositories/group.domain.repository.d.ts +0 -9
  127. package/src/lib/domain/repositories/history.domain.repository.d.ts +0 -10
  128. package/src/lib/domain/repositories/item.domain.repository.d.ts +0 -20
  129. package/src/lib/domain/repositories/kit.domain.repository.d.ts +0 -18
  130. package/src/lib/domain/repositories/outgoing-banking-transaction.domain.repository.d.ts +0 -12
  131. package/src/lib/domain/repositories/price-list.domain.repository.d.ts +0 -9
  132. package/src/lib/domain/repositories/report-financials.domain.repository.d.ts +0 -241
  133. package/src/lib/domain/repositories/seat.domain.repository.d.ts +0 -20
  134. package/src/lib/domain/repositories/seller.domain.repository.d.ts +0 -17
  135. package/src/lib/domain/repositories/service-outsourcing.domain.repository.d.ts +0 -20
  136. package/src/lib/domain/repositories/service.domain.repository.d.ts +0 -20
  137. package/src/lib/domain/repositories/sri-history.domain.repository.d.ts +0 -9
  138. package/src/lib/domain/repositories/upload.domain.repository.d.ts +0 -15
  139. package/src/lib/domain/repositories/user.domain.repository.d.ts +0 -21
  140. package/src/lib/domain/repositories/warehouse.domain.repository.d.ts +0 -14
  141. package/src/lib/domain/services/auth/auth.model.d.ts +0 -182
  142. package/src/lib/domain/services/auth/auth.service.d.ts +0 -18
  143. package/src/lib/domain/services/notification/notification.model.d.ts +0 -15
  144. package/src/lib/domain/services/notification/notification.service.d.ts +0 -4
  145. package/src/lib/domain/services/web-socket/web-socket.model.d.ts +0 -32
  146. package/src/lib/domain/services/web-socket/web-socket.service.d.ts +0 -18
  147. package/src/lib/environments/environment.d.ts +0 -29
  148. package/src/lib/infrastructure/repositories/alternative-item.infrastructure.repository.d.ts +0 -14
  149. package/src/lib/infrastructure/repositories/bank-movements.infrastructure.repository.d.ts +0 -6
  150. package/src/lib/infrastructure/repositories/bank.infrastructure.repository.d.ts +0 -10
  151. package/src/lib/infrastructure/repositories/card-settlement.infrastructure.repository.d.ts +0 -8
  152. package/src/lib/infrastructure/repositories/cash-liquidation.infrastructure.repository.d.ts +0 -9
  153. package/src/lib/infrastructure/repositories/client-branch.infrastructure.repository.d.ts +0 -5
  154. package/src/lib/infrastructure/repositories/client-category.infrastructure.repository.d.ts +0 -11
  155. package/src/lib/infrastructure/repositories/client-group.infrastructure.repository.d.ts +0 -11
  156. package/src/lib/infrastructure/repositories/client.infrastructure.repository.d.ts +0 -15
  157. package/src/lib/infrastructure/repositories/company.infrastructure.repository.d.ts +0 -13
  158. package/src/lib/infrastructure/repositories/contac.infrastrucutre.repository.d.ts +0 -5
  159. package/src/lib/infrastructure/repositories/cost-center.infrastructure.repository.d.ts +0 -11
  160. package/src/lib/infrastructure/repositories/deadline.infrastructure.repository.d.ts +0 -9
  161. package/src/lib/infrastructure/repositories/document-reference.infrastructure.repository.d.ts +0 -12
  162. package/src/lib/infrastructure/repositories/document-type.infrastructure.repository.d.ts +0 -0
  163. package/src/lib/infrastructure/repositories/driver.infrastructure.repository.d.ts +0 -11
  164. package/src/lib/infrastructure/repositories/email-settings.infrastructure.repository.d.ts +0 -10
  165. package/src/lib/infrastructure/repositories/financial-bank.infrastructure.repository.d.ts +0 -11
  166. package/src/lib/infrastructure/repositories/group.infrastructure.repository.d.ts +0 -6
  167. package/src/lib/infrastructure/repositories/history.infrastructure.repository.d.ts +0 -7
  168. package/src/lib/infrastructure/repositories/item.infrastructure.repository.d.ts +0 -17
  169. package/src/lib/infrastructure/repositories/kit.infrastructure.repository.d.ts +0 -15
  170. package/src/lib/infrastructure/repositories/outgoing-banking-transaction.infrastructure.repository.d.ts +0 -8
  171. package/src/lib/infrastructure/repositories/price-list.infrastructure.repository.d.ts +0 -6
  172. package/src/lib/infrastructure/repositories/report-financials.infrastructure.repository.d.ts +0 -238
  173. package/src/lib/infrastructure/repositories/seat.infrastructure.repository.d.ts +0 -17
  174. package/src/lib/infrastructure/repositories/seller.infrastructure.repository.d.ts +0 -14
  175. package/src/lib/infrastructure/repositories/service-outsourcing.infrastructure.repository.d.ts +0 -17
  176. package/src/lib/infrastructure/repositories/service.infrastructure.repository.d.ts +0 -17
  177. package/src/lib/infrastructure/repositories/sri-history.infrastructure.repository.d.ts +0 -5
  178. package/src/lib/infrastructure/repositories/upload.infrastructure.repository.d.ts +0 -12
  179. package/src/lib/infrastructure/repositories/user.infrastructure.repository.d.ts +0 -18
  180. package/src/lib/infrastructure/repositories/warehouse.infrastructure.repository.d.ts +0 -11
  181. package/src/lib/infrastructure/services/alternative-item.infrastructure.service.d.ts +0 -19
  182. package/src/lib/infrastructure/services/bank-movements.infrastructure.service.d.ts +0 -11
  183. package/src/lib/infrastructure/services/bank.infrasctructure.service.d.ts +0 -15
  184. package/src/lib/infrastructure/services/card-settlement.infrastructure.service.d.ts +0 -13
  185. package/src/lib/infrastructure/services/cash-liquidation.infrastructure.service.d.ts +0 -14
  186. package/src/lib/infrastructure/services/client-branch.infrastructure.service.d.ts +0 -10
  187. package/src/lib/infrastructure/services/client-category.infrastructure.service.d.ts +0 -16
  188. package/src/lib/infrastructure/services/client-group.infrastructure.service.d.ts +0 -16
  189. package/src/lib/infrastructure/services/client.infrastructure.service.d.ts +0 -20
  190. package/src/lib/infrastructure/services/company.infrastructure.service.d.ts +0 -17
  191. package/src/lib/infrastructure/services/contact.infrastructure.service.d.ts +0 -10
  192. package/src/lib/infrastructure/services/cost-center.infrastructure.service.d.ts +0 -16
  193. package/src/lib/infrastructure/services/deadline.infrastructure.service.d.ts +0 -14
  194. package/src/lib/infrastructure/services/document-reference.infrastructure.service.d.ts +0 -17
  195. package/src/lib/infrastructure/services/document-type.infrastructure.service.d.ts +0 -2
  196. package/src/lib/infrastructure/services/driver.infrastructure.service.d.ts +0 -16
  197. package/src/lib/infrastructure/services/email-settings.infrastruture.service.d.ts +0 -14
  198. package/src/lib/infrastructure/services/financial-bank.infrastructure.service.d.ts +0 -16
  199. package/src/lib/infrastructure/services/group.infrastructure.service.d.ts +0 -11
  200. package/src/lib/infrastructure/services/history.infrastructure.service.d.ts +0 -11
  201. package/src/lib/infrastructure/services/item.infrastructure.service.d.ts +0 -21
  202. package/src/lib/infrastructure/services/kit.infrastructure.service.d.ts +0 -19
  203. package/src/lib/infrastructure/services/outgoing-banking-transaction.infrastructure.service.d.ts +0 -13
  204. package/src/lib/infrastructure/services/price-list.infrastructure.service.d.ts +0 -11
  205. package/src/lib/infrastructure/services/report-financials.infrastructure.service.d.ts +0 -246
  206. package/src/lib/infrastructure/services/seat.infrastructure.service.d.ts +0 -21
  207. package/src/lib/infrastructure/services/seller.infrastructure.service.d.ts +0 -19
  208. package/src/lib/infrastructure/services/service-outsourcing.infrastructure.service.d.ts +0 -21
  209. package/src/lib/infrastructure/services/service.infrastructure.service.d.ts +0 -21
  210. package/src/lib/infrastructure/services/sri-history.infrastructure.service.d.ts +0 -9
  211. package/src/lib/infrastructure/services/upload.infrastructure.service.d.ts +0 -16
  212. package/src/lib/infrastructure/services/user.infrastructure.service.d.ts +0 -22
  213. package/src/lib/infrastructure/services/warehouse.infrastructure.service.d.ts +0 -16
  214. package/src/lib/pipes/error-translate-pipe/error-translate-pipe.d.ts +0 -8
  215. package/src/lib/remotes/components.remote.d.ts +0 -3
  216. package/src/lib/remotes/repositories/company.repository.d.ts +0 -3
  217. package/src/lib/remotes/repositories/user.repository.d.ts +0 -3
  218. package/src/lib/remotes/repositories.remote.d.ts +0 -2
  219. package/src/lib/remotes/services/auth.service.d.ts +0 -3
  220. package/src/lib/remotes/services/web-socket.service.d.ts +0 -4
  221. package/src/lib/remotes/services.remote.d.ts +0 -3
  222. package/src/lib/remotes/types.remote.d.ts +0 -0
@@ -1,298 +0,0 @@
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,117 +0,0 @@
1
- export declare namespace CbmUploadModel {
2
- enum EStatusType {
3
- ERROR = "error",
4
- COMPLETE = "complete",
5
- SUCCESS = "success"
6
- }
7
- type TStatusType = `${EStatusType}`;
8
- interface ListImportParams {
9
- page: number;
10
- size: number;
11
- created_user?: string;
12
- status?: TStatusType;
13
- event?: string;
14
- collection_id?: string;
15
- collection_name?: string;
16
- event_module?: string;
17
- date_end?: number;
18
- date_begin?: number;
19
- }
20
- interface ListImportResponse {
21
- success: boolean;
22
- pageNum: number;
23
- pageSize: number;
24
- pages: number;
25
- total: number;
26
- items: ListImportResponse.Item[];
27
- }
28
- namespace ListImportResponse {
29
- interface Item {
30
- _id: string;
31
- company_id?: string;
32
- event?: string;
33
- collection_name?: string;
34
- event_module?: string;
35
- filename_original?: string;
36
- size?: number;
37
- count_register?: number;
38
- comment?: string;
39
- created_at?: number;
40
- created_user?: string;
41
- url?: string;
42
- size_mb?: string;
43
- }
44
- }
45
- interface ListAnnexeParams {
46
- page: number;
47
- size: number;
48
- collection_id?: string;
49
- collection_name?: string;
50
- event?: string;
51
- date_end?: number;
52
- date_begin?: number;
53
- }
54
- interface ListAnnexeResponse {
55
- success: boolean;
56
- pageNum: number;
57
- pageSize: number;
58
- pages: number;
59
- total: number;
60
- items: ListAnnexeResponse.Item[];
61
- }
62
- namespace ListAnnexeResponse {
63
- interface Item {
64
- _id: string;
65
- company_id: string;
66
- collection_id: string;
67
- collection_name: string;
68
- event: string;
69
- filename_original?: string;
70
- size?: number;
71
- created_at?: number;
72
- created_user?: string;
73
- url?: string;
74
- type_annexe?: string;
75
- comment?: string;
76
- mimetype?: string;
77
- }
78
- }
79
- interface UploadRideAndXmlFilesParams {
80
- page: number;
81
- size: number;
82
- collection_id: string;
83
- }
84
- interface UploadRideAndXmlFilesResponse {
85
- success: boolean;
86
- pageNum: number;
87
- pageSize: number;
88
- pages: number;
89
- total: number;
90
- items: UploadRideAndXmlFilesResponse.Item[];
91
- }
92
- namespace UploadRideAndXmlFilesResponse {
93
- interface Item {
94
- _id: string;
95
- company_id: string;
96
- collection_id: string;
97
- collection_name: string;
98
- event: string;
99
- size: number;
100
- created_at: number;
101
- created_user: string;
102
- filename: string;
103
- url: string;
104
- size_mb: string;
105
- }
106
- }
107
- interface DownloadFileRideAndXml {
108
- collection_origin_name: string;
109
- event_module: string;
110
- collection_origin_id: string;
111
- url: string;
112
- }
113
- interface ConfirmResponse {
114
- success: boolean;
115
- message: string;
116
- }
117
- }
@@ -1,260 +0,0 @@
1
- export declare namespace CbmUserModel {
2
- interface ListParams {
3
- page: number;
4
- size: number;
5
- enabled?: boolean;
6
- filter?: string;
7
- seller?: boolean;
8
- deleted?: boolean;
9
- }
10
- interface ListResponse {
11
- success: boolean;
12
- pageNum: number;
13
- pageSize: number;
14
- total: number;
15
- pages: number;
16
- items: ListResponse.Item[];
17
- }
18
- namespace ListResponse {
19
- interface Item {
20
- _id: string;
21
- document_type_id?: string;
22
- document_type_name?: string;
23
- document_type_code?: string;
24
- document: string;
25
- name: string;
26
- lastname: string;
27
- address: string;
28
- email: string;
29
- cellphone: string;
30
- super_admin: boolean;
31
- photo: string;
32
- access_app: boolean;
33
- multi_company: boolean;
34
- enabled: boolean;
35
- deleted?: boolean;
36
- deleted_at?: number;
37
- deleted_user?: string;
38
- created_at: number;
39
- full_name?: string;
40
- }
41
- }
42
- interface ListByCompanyParams {
43
- page: number;
44
- size: number;
45
- deleted?: boolean;
46
- enabled?: boolean;
47
- filter?: string;
48
- company_id?: string;
49
- verified?: boolean;
50
- multi_company?: boolean;
51
- access_app?: boolean;
52
- super_admin?: boolean;
53
- }
54
- interface ListByCompanyResponse {
55
- success: boolean;
56
- pageNum: number;
57
- pageSize: number;
58
- pages: number;
59
- total: number;
60
- items: ListByCompanyResponse.Item[];
61
- used_users?: number;
62
- count_users?: number;
63
- }
64
- namespace ListByCompanyResponse {
65
- interface Item {
66
- _id: string;
67
- user_id?: string;
68
- company_id?: string;
69
- created_at?: number;
70
- created_user?: string;
71
- enabled?: boolean;
72
- deleted?: boolean;
73
- deleted_at?: number;
74
- deleted_user?: string;
75
- user_inactive_at?: number;
76
- user_inactive_name?: string;
77
- user_active_at?: number;
78
- user_active_name?: string;
79
- user_active_id?: string;
80
- user: Item.User;
81
- }
82
- namespace Item {
83
- interface User {
84
- _id: string;
85
- document_type_id?: string;
86
- document_type_name?: string;
87
- document_type_code?: string;
88
- document: string;
89
- password: string;
90
- name: string;
91
- lastname: string;
92
- address: string;
93
- email: string;
94
- cellphone: string;
95
- super_admin: boolean;
96
- photo: string;
97
- access_app: boolean;
98
- multi_company: boolean;
99
- enabled: boolean;
100
- deleted?: boolean;
101
- deleted_at?: number;
102
- deleted_user?: string;
103
- created_at: number;
104
- created_user: string;
105
- verified: boolean;
106
- last_access_at?: Date;
107
- updated_at?: number;
108
- updated_user?: string;
109
- ip?: string[];
110
- disabled_reason?: string;
111
- user_inactive_at?: number;
112
- user_inactive_id?: string;
113
- user_inactive_name?: string;
114
- user_active_at?: number;
115
- user_active_id?: string;
116
- user_active_name?: string;
117
- username?: string;
118
- }
119
- }
120
- }
121
- interface GetOneResponse {
122
- success?: boolean;
123
- data?: GetOneResponse.Data;
124
- }
125
- namespace GetOneResponse {
126
- interface Data {
127
- _id: string;
128
- document_type_id?: string;
129
- document_type_name?: string;
130
- document_type_code?: string;
131
- document?: string;
132
- lastname?: string;
133
- name?: string;
134
- address?: string;
135
- email?: string;
136
- cellphone?: string;
137
- super_admin?: boolean;
138
- photo?: string;
139
- access_app?: boolean;
140
- multi_company?: boolean;
141
- enabled?: boolean;
142
- created_at?: number;
143
- created_user?: string;
144
- updated_at?: number;
145
- updated_user?: string;
146
- ip?: Data.IP[];
147
- deleted?: boolean;
148
- deleted_at?: number;
149
- deleted_user?: string;
150
- role?: Data.Role[];
151
- disabled_reason?: string;
152
- user_inactive_at?: number;
153
- user_inactive_id?: string;
154
- user_inactive_name?: string;
155
- verified?: boolean;
156
- last_access_at?: number;
157
- user_active_at?: number;
158
- user_active_id?: string;
159
- user_active_name?: string;
160
- phone_code?: string;
161
- }
162
- namespace Data {
163
- interface Role {
164
- _id: string;
165
- name?: string;
166
- description?: string;
167
- type?: string;
168
- enabled?: boolean;
169
- deleted?: boolean;
170
- created_at?: number;
171
- created_user?: string;
172
- updated_at?: number;
173
- disabled_reason?: string;
174
- company_id?: string;
175
- updated_user?: string;
176
- user_inactive_at?: number;
177
- user_inactive_id?: string;
178
- user_inactive_name?: string;
179
- user_active_at?: number;
180
- user_active_id?: string;
181
- user_active_name?: string;
182
- }
183
- interface IP {
184
- ip?: string;
185
- enabled?: boolean;
186
- }
187
- }
188
- }
189
- interface SaveBody {
190
- document_type_id?: string;
191
- document_type_name?: string;
192
- document_type_code?: string;
193
- document?: string;
194
- password?: string;
195
- lastname?: string;
196
- name?: string;
197
- address?: string;
198
- email?: string;
199
- cellphone?: string;
200
- super_admin?: boolean;
201
- photo?: string;
202
- access_app?: boolean;
203
- multi_company?: boolean;
204
- ip?: any[];
205
- rol_id?: string;
206
- company_branch?: string[];
207
- }
208
- interface UpdateBody {
209
- password?: string;
210
- photo?: string;
211
- document_type_id?: string;
212
- document_type_name?: string;
213
- document_type_code?: string;
214
- document?: string;
215
- lastname?: string;
216
- name?: string;
217
- address?: string;
218
- email?: string;
219
- cellphone?: string;
220
- super_admin?: boolean;
221
- ip?: string[];
222
- }
223
- interface UpdatePasswordBody {
224
- password: string;
225
- confirm_password: string;
226
- }
227
- interface UpdateEmailBody {
228
- email?: string;
229
- company_id?: string;
230
- }
231
- interface UpdateSuperAdminBody {
232
- super_admin?: boolean;
233
- }
234
- interface UpdateIp {
235
- ip: UpdateIp.IP[];
236
- }
237
- namespace UpdateIp {
238
- interface IP {
239
- ip?: string;
240
- enabled?: boolean;
241
- }
242
- }
243
- interface ValidatePasswordBody {
244
- password: string;
245
- }
246
- interface DownloadExcelParams {
247
- filter?: string;
248
- enabled?: boolean;
249
- }
250
- interface ChangeStatusBody {
251
- enabled: boolean;
252
- disabled_reason?: string;
253
- company_id?: string;
254
- }
255
- interface ConfirmResponse {
256
- success: boolean;
257
- message: string;
258
- data?: any;
259
- }
260
- }