@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,319 +0,0 @@
1
- export declare namespace CbmCashLiquidationModel {
2
- interface ListParams {
3
- page: number;
4
- size: number;
5
- user_id?: string;
6
- reverse_status?: boolean;
7
- document_number?: string;
8
- payment_term_id?: string;
9
- date_end?: number;
10
- date_begin?: number;
11
- cost_center_id?: string;
12
- client_id?: string;
13
- }
14
- interface ListResponse {
15
- success: boolean;
16
- pageNum: number;
17
- pageSize: number;
18
- pages: number;
19
- total: number;
20
- items: ListResponse.Item[];
21
- }
22
- namespace ListResponse {
23
- interface Item {
24
- _id: string;
25
- company_id: string;
26
- cost_center_id: string;
27
- document_nomenclature: string;
28
- document_number: string;
29
- movement_number?: string;
30
- date: number;
31
- commentary?: string;
32
- company_NIF: string;
33
- company_address: string;
34
- company_trade_name: string;
35
- company_business_name: string;
36
- cost_center_code: string;
37
- cost_center_name: string;
38
- created_at: number;
39
- user_id: string;
40
- cash_register: boolean;
41
- created_user: string;
42
- reverse_status: boolean;
43
- cash_liquidation_detail: Item.Detail[];
44
- cash_liquidation_payment_options: Item.Payment[];
45
- total_liquidation: number;
46
- total_payment: number;
47
- reverse_at?: number;
48
- reverse_reason?: string;
49
- reverse_user?: string;
50
- }
51
- namespace Item {
52
- interface Detail {
53
- _id: string;
54
- cash_liquidation_id: string;
55
- client_id?: string;
56
- client_document_number?: string;
57
- client_trade_name?: string;
58
- client_business_name?: string;
59
- client_phone_code?: string;
60
- client_address?: string;
61
- client_cellphone?: string;
62
- client_email?: string;
63
- collection_origin_id: string;
64
- collection_origin_name: string;
65
- client_branch_id?: null;
66
- client_branch_code?: null;
67
- client_branch_name?: null;
68
- client_branch_address?: null;
69
- client_branch_email?: null;
70
- client_branch_cellphone?: null;
71
- client_branch_phone?: null;
72
- client_branch_phone_code?: null;
73
- client_province_id?: string;
74
- client_canton_id?: string;
75
- client_parish_id?: string;
76
- client_province_code?: string;
77
- client_province_name?: string;
78
- client_canton_code?: string;
79
- client_canton_name?: string;
80
- client_parish_code?: string;
81
- client_parish_name?: string;
82
- document_number: string;
83
- document_date: number;
84
- previous_balance: number;
85
- subsequent_balance: number;
86
- liquidated_value: number;
87
- created_at: number;
88
- created_user: string;
89
- }
90
- interface Payment {
91
- _id: string;
92
- cash_liquidation_id: string;
93
- payment_term_id: string;
94
- financial_bank_id?: string;
95
- financial_bank_account_number?: string;
96
- card_type?: string;
97
- batch_code?: string;
98
- value: number;
99
- financial_bank_name?: string;
100
- operation_number?: null | string;
101
- payment_term_code: string;
102
- payment_term_name: string;
103
- account_id?: string;
104
- date?: number;
105
- account_name?: string;
106
- account_code?: string;
107
- bank_cheque?: string;
108
- number_cheque?: string;
109
- }
110
- }
111
- }
112
- interface SaveBody {
113
- cost_center_id: string;
114
- date: number;
115
- date_deposit: number;
116
- commentary?: string;
117
- company_NIF: string;
118
- company_address: string;
119
- company_trade_name: string;
120
- company_business_name: string;
121
- cost_center_name: string;
122
- cost_center_code: string;
123
- cash_liquidation_detail: SaveBody.Detail[];
124
- cash_liquidation_payment_options: SaveBody.Payment[];
125
- }
126
- namespace SaveBody {
127
- interface Detail {
128
- client_id: string;
129
- client_document_number: string;
130
- client_trade_name: string;
131
- client_business_name: string;
132
- client_phone_code?: string;
133
- client_address: string;
134
- client_cellphone?: string;
135
- client_email: string;
136
- collection_origin_id: string;
137
- collection_origin_name: string;
138
- client_branch_id?: string;
139
- client_branch_code?: string;
140
- client_branch_name?: string;
141
- client_branch_address?: string;
142
- client_branch_email?: string;
143
- client_branch_cellphone?: string;
144
- client_branch_phone?: string;
145
- client_branch_phone_code?: string;
146
- client_province_id?: string;
147
- client_canton_id?: string;
148
- client_parish_id?: string;
149
- client_province_code?: string;
150
- client_province_name?: string;
151
- client_canton_code?: string;
152
- client_canton_name?: string;
153
- client_parish_code?: string;
154
- client_parish_name?: string;
155
- document_date: number;
156
- document_number: string;
157
- previous_balance: number;
158
- subsequent_balance: number;
159
- liquidated_value: number;
160
- }
161
- interface Payment {
162
- payment_term_id: string;
163
- financial_bank_id?: string;
164
- financial_bank_account_number?: string;
165
- account_id?: string;
166
- card_type?: string;
167
- batch_code?: string;
168
- value: number;
169
- financial_bank_name?: string;
170
- account_name?: string;
171
- account_code?: string;
172
- payment_term_name: string;
173
- payment_term_code: string;
174
- operation_number?: string;
175
- bank_cheque?: string;
176
- number_cheque?: string;
177
- }
178
- }
179
- interface GetOneResponse {
180
- success: boolean;
181
- data: GetOneResponse.Data;
182
- }
183
- namespace GetOneResponse {
184
- interface Data {
185
- _id: string;
186
- company_id: string;
187
- cost_center_id: string;
188
- document_nomenclature: string;
189
- document_number: string;
190
- movement_number?: string;
191
- date: number;
192
- date_deposit?: number;
193
- commentary?: string;
194
- company_NIF: string;
195
- company_address: string;
196
- company_trade_name: string;
197
- company_business_name: string;
198
- cost_center_code: string;
199
- cost_center_name: string;
200
- created_at: number;
201
- user_id: string;
202
- cash_register: boolean;
203
- created_user: string;
204
- reverse_status: boolean;
205
- reverse_user?: string;
206
- reverse_at?: number;
207
- reverse_reason?: string;
208
- cash_liquidation_detail: Data.Detail[];
209
- cash_liquidation_payment_options: Data.Payment[];
210
- total_liquidation: number;
211
- total_payment: number;
212
- }
213
- namespace Data {
214
- interface Detail {
215
- _id: string;
216
- cash_liquidation_id: string;
217
- client_id: string;
218
- client_document_number: string;
219
- client_trade_name: string;
220
- client_business_name: string;
221
- client_phone_code?: string;
222
- client_address: string;
223
- client_cellphone?: string;
224
- client_email: string;
225
- collection_origin_id: string;
226
- collection_origin_name: string;
227
- client_branch_id?: string;
228
- client_branch_code?: string;
229
- client_branch_name?: string;
230
- client_branch_address?: string;
231
- client_branch_email?: string;
232
- client_branch_cellphone?: string;
233
- client_branch_phone?: string;
234
- client_branch_phone_code?: string;
235
- client_province_id?: string;
236
- client_canton_id?: string;
237
- client_parish_id?: string;
238
- client_province_code?: string;
239
- client_province_name?: string;
240
- client_canton_code?: string;
241
- client_canton_name?: string;
242
- client_parish_code?: string;
243
- client_parish_name?: string;
244
- document_number: string;
245
- previous_balance: number;
246
- subsequent_balance: number;
247
- liquidated_value: number;
248
- document_date: number;
249
- created_at: number;
250
- created_user: string;
251
- }
252
- interface Payment {
253
- _id: string;
254
- account_id?: string;
255
- cash_liquidation_id: string;
256
- payment_term_id: string;
257
- financial_bank_id?: string;
258
- financial_bank_account_number?: string;
259
- card_type?: string;
260
- batch_code?: string;
261
- value: number;
262
- account_name?: string;
263
- account_code?: string;
264
- financial_bank_name?: string;
265
- operation_number?: string;
266
- payment_term_code: string;
267
- payment_term_name: string;
268
- bank_cheque?: string;
269
- number_cheque?: string;
270
- }
271
- }
272
- }
273
- interface ConfirmResponse {
274
- success: boolean;
275
- message: string;
276
- data?: any;
277
- }
278
- interface DownloadExcelParams {
279
- timezone: string;
280
- locale: string;
281
- user_id?: string;
282
- payment_term_id?: string;
283
- reverse_status?: boolean;
284
- document_number?: string;
285
- date_end?: number;
286
- date_begin?: number;
287
- type?: string;
288
- cost_center_id?: string;
289
- client_id?: string;
290
- }
291
- interface DownloadGeneralPdfParams {
292
- timezone: string;
293
- locale: string;
294
- user_id?: string;
295
- payment_term_id?: string;
296
- reverse_status?: boolean;
297
- document_number?: string;
298
- date_end?: number;
299
- date_begin?: number;
300
- type?: string;
301
- cost_center_id?: string;
302
- client_id?: string;
303
- }
304
- interface DownloadIndividualPdfParams {
305
- timezone: string;
306
- locale: string;
307
- id: string;
308
- }
309
- interface DownloadIndividualExcelParams {
310
- timezone: string;
311
- locale: string;
312
- id: string;
313
- }
314
- interface SendEmailParams {
315
- timezone: string;
316
- locale: string;
317
- emails?: string;
318
- }
319
- }
@@ -1,35 +0,0 @@
1
- export declare namespace CbmClientBranchModel {
2
- interface ListParams {
3
- enabled?: boolean;
4
- client_id: string;
5
- filter?: string;
6
- }
7
- interface ListResponse {
8
- success: boolean;
9
- data: ListResponse.Data[];
10
- }
11
- namespace ListResponse {
12
- interface Data {
13
- _id: string;
14
- client_id?: string;
15
- province_id?: string;
16
- canton_id?: string;
17
- parish_id?: string;
18
- seller_id?: string;
19
- name?: string;
20
- code?: string;
21
- address?: string;
22
- email?: string;
23
- cellphone?: string;
24
- phone?: string;
25
- phone_code?: string;
26
- enabled?: boolean;
27
- deleted?: boolean;
28
- created_user?: string;
29
- created_at?: number;
30
- disabled_reason?: string;
31
- updated_at?: number;
32
- updated_user?: string;
33
- }
34
- }
35
- }
@@ -1,69 +0,0 @@
1
- export declare namespace CbmClientCategoryModel {
2
- interface ListParams {
3
- enabled?: boolean;
4
- name?: string;
5
- group_id?: string;
6
- }
7
- interface ListResponse {
8
- success: boolean;
9
- data: ListResponse.Data[];
10
- }
11
- namespace ListResponse {
12
- interface Data {
13
- _id: string;
14
- name: string;
15
- company_id: string;
16
- group_id: string;
17
- receivable_account_id: string;
18
- advanced_account_id: string;
19
- enabled: boolean;
20
- created_user: string;
21
- created_at: number;
22
- updated_at: number;
23
- updated_user: string;
24
- }
25
- }
26
- interface SaveBody {
27
- group_id: string;
28
- name: string;
29
- receivable_account_id: string;
30
- advanced_acount_id: string;
31
- }
32
- interface UpdateBody {
33
- group_id?: string;
34
- name?: string;
35
- receivable_account_id?: string;
36
- advanced_acount_id?: string;
37
- }
38
- interface GetOneResponse {
39
- success: boolean;
40
- data: GetOneResponse.Data;
41
- }
42
- namespace GetOneResponse {
43
- interface Data {
44
- _id?: string;
45
- company_id?: string;
46
- group_id?: string;
47
- name?: string;
48
- enabled?: string;
49
- created_user?: string;
50
- receivable_account_id?: string;
51
- advanced_acount_id?: string;
52
- created_at?: string;
53
- updated_at?: string;
54
- updated_user?: string;
55
- }
56
- }
57
- interface ConfirmResponse {
58
- success: boolean;
59
- message: string;
60
- data?: any;
61
- }
62
- interface ChangeStatusBody {
63
- enabled: boolean;
64
- disabled_reason?: string;
65
- }
66
- interface ValidateAccountResponse {
67
- success: boolean;
68
- }
69
- }
@@ -1,102 +0,0 @@
1
- export declare namespace CbmClientGroupModel {
2
- interface ListResponse {
3
- success: boolean;
4
- data: ListResponse.Data[];
5
- }
6
- namespace ListResponse {
7
- interface Data {
8
- _id: string;
9
- company_id: string;
10
- group_id: string;
11
- initial: boolean;
12
- level: number;
13
- name: string;
14
- enabled: boolean;
15
- created_user: string;
16
- created_at: number;
17
- }
18
- }
19
- interface ListAsTreeParams {
20
- name?: string;
21
- }
22
- interface ListAsTreeResponse {
23
- success: boolean;
24
- data: ListAsTreeResponse.Children;
25
- }
26
- namespace ListAsTreeResponse {
27
- type Children = Child[];
28
- interface Child {
29
- label: string;
30
- value: Group | Category;
31
- children?: Children;
32
- }
33
- interface Group {
34
- _id: string;
35
- company_id?: string;
36
- group_id?: string;
37
- initial?: boolean;
38
- level?: number;
39
- name?: string;
40
- enabled?: boolean;
41
- deleted?: boolean;
42
- created_user?: string;
43
- created_at?: number;
44
- updated_user?: string;
45
- updated_at?: number;
46
- disabled_reason?: string;
47
- }
48
- interface Category {
49
- _id: string;
50
- company_id?: string;
51
- group_id?: string;
52
- name?: string;
53
- receivable_account_id?: string;
54
- advanced_account_id?: string;
55
- enabled?: boolean;
56
- deleted?: boolean;
57
- created_user?: string;
58
- created_at?: number;
59
- updated_user?: string;
60
- updated_at?: number;
61
- disabled_reason?: string;
62
- }
63
- }
64
- interface GetOneResponse {
65
- success: boolean;
66
- data: GetOneResponse.Data;
67
- }
68
- namespace GetOneResponse {
69
- interface Data {
70
- _id?: string;
71
- company_id?: string;
72
- group_id?: string;
73
- initial?: boolean;
74
- level?: number;
75
- name?: string;
76
- enabled?: boolean;
77
- created_user?: string;
78
- created_at?: number;
79
- }
80
- }
81
- interface SaveBody {
82
- group_id: string;
83
- initial: boolean;
84
- level: number;
85
- name: string;
86
- }
87
- interface UpdateBody {
88
- group_id?: string;
89
- initial?: boolean;
90
- level?: number;
91
- name?: string;
92
- }
93
- interface ChangeStatusBody {
94
- enabled: boolean;
95
- disabled_reason?: string;
96
- }
97
- interface ConfirmResponse {
98
- success: boolean;
99
- message: string;
100
- data?: any;
101
- }
102
- }