@cbm-common/cbm-types 0.0.3 → 0.0.5

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 (217) hide show
  1. package/lib/domain/models/bank-movements.domain.model.d.ts +60 -0
  2. package/lib/domain/models/bank.domain.model.d.ts +92 -0
  3. package/lib/domain/models/card-settlement.domain.model.d.ts +260 -0
  4. package/lib/domain/models/cash-liquidation.domain.model.d.ts +319 -0
  5. package/lib/domain/models/client-branch.domain.model.d.ts +35 -0
  6. package/lib/domain/models/client-category.domain.model.d.ts +69 -0
  7. package/lib/domain/models/client-group.domain.model.d.ts +102 -0
  8. package/lib/domain/models/client.domain.model.d.ts +375 -0
  9. package/lib/domain/models/contact.domain.model.d.ts +28 -0
  10. package/lib/domain/models/cost-center.domain.model.d.ts +111 -0
  11. package/lib/domain/models/deadline.domian.model.d.ts +76 -0
  12. package/lib/domain/models/driver.domian.model.d.ts +94 -0
  13. package/lib/domain/models/financial-bank.domain.model.d.ts +153 -0
  14. package/lib/domain/models/kit.domain.model.d.ts +508 -0
  15. package/lib/domain/models/outgoing-banking-transaction.domain.model.d.ts +125 -0
  16. package/lib/domain/models/seller.domain.model.d.ts +135 -0
  17. package/lib/domain/models/service-outsourcing.domain.model.d.ts +273 -0
  18. package/lib/domain/models/service.domain.model.d.ts +314 -0
  19. package/lib/domain/models/warehouse.domain.model.d.ts +97 -0
  20. package/lib/domain/repositories/bank-movements.domain.repository.d.ts +10 -0
  21. package/lib/domain/repositories/bank.domain.repository.d.ts +14 -0
  22. package/lib/domain/repositories/card-settlement.domain.repository.d.ts +12 -0
  23. package/lib/domain/repositories/cash-liquidation.domain.repository.d.ts +13 -0
  24. package/lib/domain/repositories/client-branch.domain.repository.d.ts +8 -0
  25. package/lib/domain/repositories/client-category.domain.repository.d.ts +14 -0
  26. package/lib/domain/repositories/client-group.domain.repository.d.ts +14 -0
  27. package/lib/domain/repositories/client.domain.repository.d.ts +18 -0
  28. package/lib/domain/repositories/contact.domain.repository.d.ts +8 -0
  29. package/lib/domain/repositories/cost-center.domain.repository.d.ts +15 -0
  30. package/lib/domain/repositories/deadline.domain.repository.d.ts +12 -0
  31. package/lib/domain/repositories/driver.domain.repository.d.ts +14 -0
  32. package/lib/domain/repositories/financial-bank.domain.repository.d.ts +15 -0
  33. package/lib/domain/repositories/kit.domain.repository.d.ts +18 -0
  34. package/lib/domain/repositories/outgoing-banking-transaction.domain.repository.d.ts +12 -0
  35. package/lib/domain/repositories/seller.domain.repository.d.ts +17 -0
  36. package/lib/domain/repositories/service-outsourcing.domain.repository.d.ts +20 -0
  37. package/lib/domain/repositories/service.domain.repository.d.ts +20 -0
  38. package/lib/domain/repositories/warehouse.domain.repository.d.ts +14 -0
  39. package/lib/domain/services/web-socket/web-socket.service.d.ts +18 -0
  40. package/lib/infrastructure/repositories/bank-movements.infrastructure.repository.d.ts +6 -0
  41. package/lib/infrastructure/repositories/bank.infrastructure.repository.d.ts +10 -0
  42. package/lib/infrastructure/repositories/card-settlement.infrastructure.repository.d.ts +8 -0
  43. package/lib/infrastructure/repositories/cash-liquidation.infrastructure.repository.d.ts +9 -0
  44. package/lib/infrastructure/repositories/client-branch.infrastructure.repository.d.ts +5 -0
  45. package/lib/infrastructure/repositories/client-category.infrastructure.repository.d.ts +11 -0
  46. package/lib/infrastructure/repositories/client-group.infrastructure.repository.d.ts +11 -0
  47. package/lib/infrastructure/repositories/client.infrastructure.repository.d.ts +15 -0
  48. package/lib/infrastructure/repositories/contac.infrastrucutre.repository.d.ts +5 -0
  49. package/lib/infrastructure/repositories/cost-center.infrastructure.repository.d.ts +11 -0
  50. package/lib/infrastructure/repositories/deadline.infrastructure.repository.d.ts +9 -0
  51. package/lib/infrastructure/repositories/driver.infrastructure.repository.d.ts +11 -0
  52. package/lib/infrastructure/repositories/financial-bank.infrastructure.repository.d.ts +11 -0
  53. package/lib/infrastructure/repositories/kit.infrastructure.repository.d.ts +15 -0
  54. package/lib/infrastructure/repositories/outgoing-banking-transaction.infrastructure.repository.d.ts +8 -0
  55. package/lib/infrastructure/repositories/seller.infrastructure.repository.d.ts +14 -0
  56. package/lib/infrastructure/repositories/service-outsourcing.infrastructure.repository.d.ts +17 -0
  57. package/lib/infrastructure/repositories/service.infrastructure.repository.d.ts +17 -0
  58. package/lib/infrastructure/repositories/warehouse.infrastructure.repository.d.ts +11 -0
  59. package/lib/infrastructure/services/bank-movements.infrastructure.service.d.ts +11 -0
  60. package/lib/infrastructure/services/bank.infrasctructure.service.d.ts +15 -0
  61. package/lib/infrastructure/services/card-settlement.infrastructure.service.d.ts +13 -0
  62. package/lib/infrastructure/services/cash-liquidation.infrastructure.service.d.ts +14 -0
  63. package/lib/infrastructure/services/client-branch.infrastructure.service.d.ts +10 -0
  64. package/lib/infrastructure/services/client-category.infrastructure.service.d.ts +16 -0
  65. package/lib/infrastructure/services/client-group.infrastructure.service.d.ts +16 -0
  66. package/lib/infrastructure/services/client.infrastructure.service.d.ts +20 -0
  67. package/lib/infrastructure/services/contact.infrastructure.service.d.ts +10 -0
  68. package/lib/infrastructure/services/cost-center.infrastructure.service.d.ts +16 -0
  69. package/lib/infrastructure/services/deadline.infrastructure.service.d.ts +14 -0
  70. package/lib/infrastructure/services/driver.infrastructure.service.d.ts +16 -0
  71. package/lib/infrastructure/services/financial-bank.infrastructure.service.d.ts +16 -0
  72. package/lib/infrastructure/services/kit.infrastructure.service.d.ts +19 -0
  73. package/lib/infrastructure/services/outgoing-banking-transaction.infrastructure.service.d.ts +13 -0
  74. package/lib/infrastructure/services/seller.infrastructure.service.d.ts +19 -0
  75. package/lib/infrastructure/services/service-outsourcing.infrastructure.service.d.ts +21 -0
  76. package/lib/infrastructure/services/service.infrastructure.service.d.ts +21 -0
  77. package/lib/infrastructure/services/warehouse.infrastructure.service.d.ts +16 -0
  78. package/{src/lib/types/app/remotes/repositories.remote.d.ts → lib/remotes/repositories/company.repository.d.ts} +1 -3
  79. package/lib/remotes/repositories.remote.d.ts +1 -0
  80. package/lib/remotes/services/auth.service.d.ts +3 -0
  81. package/lib/remotes/services/web-socket.service.d.ts +4 -0
  82. package/lib/remotes/services.remote.d.ts +3 -0
  83. package/package.json +3 -10
  84. package/public-api.d.ts +20 -0
  85. package/src/lib/index.d.ts +0 -16
  86. package/src/lib/types/app/domain/services/web-socket/web-socket.service.d.ts +0 -0
  87. package/src/lib/types/app/remotes/services.remote.d.ts +0 -1
  88. package/src/public-api.d.ts +0 -1
  89. package/tsconfig.lib.tsbuildinfo +0 -1
  90. /package/{src/lib/types/app → lib}/app.config.d.ts +0 -0
  91. /package/{src/lib/types/app → lib}/app.d.ts +0 -0
  92. /package/{src/lib/types/app → lib}/app.routes.d.ts +0 -0
  93. /package/{src/lib/types/app → lib}/components/accounting-seat/accounting-seat.d.ts +0 -0
  94. /package/{src/lib/types/app → lib}/components/accounting-seat/directives/drop-down-menu.directive.d.ts +0 -0
  95. /package/{src/lib/types/app → lib}/components/accounting-seat/directives/drop-down.directive.d.ts +0 -0
  96. /package/{src/lib/types/app → lib}/components/accounting-seat/types.d.ts +0 -0
  97. /package/{src/lib/types/app → lib}/components/advanced-item-search-modal/advanced-item-search-modal.d.ts +0 -0
  98. /package/{src/lib/types/app → lib}/components/advanced-item-search-modal/alternative-item-list/alternative-item-list.d.ts +0 -0
  99. /package/{src/lib/types/app → lib}/components/advanced-item-search-modal/animations.d.ts +0 -0
  100. /package/{src/lib/types/app → lib}/components/advanced-item-search-modal/constants.d.ts +0 -0
  101. /package/{src/lib/types/app → lib}/components/advanced-item-search-modal/item-list/item-list.d.ts +0 -0
  102. /package/{src/lib/types/app → lib}/components/advanced-item-search-modal/types.d.ts +0 -0
  103. /package/{src/lib/types/app → lib}/components/attachments/animations.d.ts +0 -0
  104. /package/{src/lib/types/app → lib}/components/attachments/attachments.d.ts +0 -0
  105. /package/{src/lib/types/app → lib}/components/attachments/components/button-item/button-item.d.ts +0 -0
  106. /package/{src/lib/types/app → lib}/components/attachments/components/buttons/buttons.d.ts +0 -0
  107. /package/{src/lib/types/app → lib}/components/attachments/components/grid-view/grid-view.d.ts +0 -0
  108. /package/{src/lib/types/app → lib}/components/attachments/components/icons/delete-icon/delete-icon.d.ts +0 -0
  109. /package/{src/lib/types/app → lib}/components/attachments/components/icons/download-icon/download-icon.d.ts +0 -0
  110. /package/{src/lib/types/app → lib}/components/attachments/components/list-view/list-view.d.ts +0 -0
  111. /package/{src/lib/types/app → lib}/components/attachments/types.d.ts +0 -0
  112. /package/{src/lib/types/app → lib}/components/documents-reference/animations.d.ts +0 -0
  113. /package/{src/lib/types/app → lib}/components/documents-reference/components/add/add.d.ts +0 -0
  114. /package/{src/lib/types/app → lib}/components/documents-reference/components/delete/delete.d.ts +0 -0
  115. /package/{src/lib/types/app → lib}/components/documents-reference/components/reference-document-by-tab/reference-document-by-tab.d.ts +0 -0
  116. /package/{src/lib/types/app → lib}/components/documents-reference/components/reference-document-to-tab/reference-document-to-tab.d.ts +0 -0
  117. /package/{src/lib/types/app → lib}/components/documents-reference/documents-reference.d.ts +0 -0
  118. /package/{src/lib/types/app → lib}/components/documents-reference/types.d.ts +0 -0
  119. /package/{src/lib/types/app → lib}/components/dropzone/dropzone.d.ts +0 -0
  120. /package/{src/lib/types/app → lib}/components/empty/empty.d.ts +0 -0
  121. /package/{src/lib/types/app → lib}/components/json-modal/json-modal.d.ts +0 -0
  122. /package/{src/lib/types/app → lib}/components/modal-confirm/modal-confirm.d.ts +0 -0
  123. /package/{src/lib/types/app → lib}/components/modal-confirm/ng-content.d.ts +0 -0
  124. /package/{src/lib/types/app → lib}/components/modal-confirm/types.d.ts +0 -0
  125. /package/{src/lib/types/app → lib}/components/pagination-nav/pagination-nav.d.ts +0 -0
  126. /package/{src/lib/types/app → lib}/components/pagination-nav/pagination-nav.model.d.ts +0 -0
  127. /package/{src/lib/types/app → lib}/components/record-detail-metadata/components/options/options.d.ts +0 -0
  128. /package/{src/lib/types/app → lib}/components/record-detail-metadata/directives/drop-down-menu.directive.d.ts +0 -0
  129. /package/{src/lib/types/app → lib}/components/record-detail-metadata/directives/drop-down.directive.d.ts +0 -0
  130. /package/{src/lib/types/app → lib}/components/record-detail-metadata/record-detail-metadata.d.ts +0 -0
  131. /package/{src/lib/types/app → lib}/components/record-detail-metadata/types.d.ts +0 -0
  132. /package/{src/lib/types/app → lib}/components/tree-select/tree-select.d.ts +0 -0
  133. /package/{src/lib/types/app → lib}/components/tree-select/types.d.ts +0 -0
  134. /package/{src/lib/types/app → lib}/components/user-history/components/email-history/email-history.component.d.ts +0 -0
  135. /package/{src/lib/types/app → lib}/components/user-history/components/email-history/emails-modal/emails-modal.component.d.ts +0 -0
  136. /package/{src/lib/types/app → lib}/components/user-history/components/general-history/general-history.component.d.ts +0 -0
  137. /package/{src/lib/types/app → lib}/components/user-history/components/print-history/print-history.component.d.ts +0 -0
  138. /package/{src/lib/types/app → lib}/components/user-history/components/sri-history/sri-history.component.d.ts +0 -0
  139. /package/{src/lib/types/app → lib}/components/user-history/components/tab-item/tab-item.component.d.ts +0 -0
  140. /package/{src/lib/types/app → lib}/components/user-history/components/tabs/tabs.component.d.ts +0 -0
  141. /package/{src/lib/types/app → lib}/components/user-history/constants.d.ts +0 -0
  142. /package/{src/lib/types/app → lib}/components/user-history/directives/drop-down.directive.d.ts +0 -0
  143. /package/{src/lib/types/app → lib}/components/user-history/types.d.ts +0 -0
  144. /package/{src/lib/types/app → lib}/components/user-history/user-history.d.ts +0 -0
  145. /package/{src/lib/types/app → lib}/directives/character-counter/character-counter.directive.d.ts +0 -0
  146. /package/{src/lib/types/app → lib}/directives/horizontal-overflow/components/arrow-left/arrow-left.component.d.ts +0 -0
  147. /package/{src/lib/types/app → lib}/directives/horizontal-overflow/components/arrow-right/arrow-right.component.d.ts +0 -0
  148. /package/{src/lib/types/app → lib}/directives/horizontal-overflow/horizontal-overflow-arrows.directive.d.ts +0 -0
  149. /package/{src/lib/types/app → lib}/directives/horizontal-overflow/horizontal-overflow-shadow.directive.d.ts +0 -0
  150. /package/{src/lib/types/app → lib}/directives/number-input.directive.d.ts +0 -0
  151. /package/{src/lib/types/app → lib}/directives/resize-container/resize-container.directive.d.ts +0 -0
  152. /package/{src/lib/types/app → lib}/directives/resize-container/resize-container.model.d.ts +0 -0
  153. /package/{src/lib/types/app → lib}/directives/text-input/text-input.directive.d.ts +0 -0
  154. /package/{src/lib/types/app → lib}/directives/text-input/types.d.ts +0 -0
  155. /package/{src/lib/types/app → lib}/directives/tooltip/tooltip/tooltip.d.ts +0 -0
  156. /package/{src/lib/types/app → lib}/directives/tooltip/tooltip/types.d.ts +0 -0
  157. /package/{src/lib/types/app → lib}/directives/tooltip/tooltip.directive.d.ts +0 -0
  158. /package/{src/lib/types/app → lib}/domain/models/alternative-item.domain.model.d.ts +0 -0
  159. /package/{src/lib/types/app → lib}/domain/models/company.domain.model.d.ts +0 -0
  160. /package/{src/lib/types/app → lib}/domain/models/document-reference.domain.model.d.ts +0 -0
  161. /package/{src/lib/types/app → lib}/domain/models/email-settings.domain.model.d.ts +0 -0
  162. /package/{src/lib/types/app → lib}/domain/models/group.domain.model.d.ts +0 -0
  163. /package/{src/lib/types/app → lib}/domain/models/history.domain.model.d.ts +0 -0
  164. /package/{src/lib/types/app → lib}/domain/models/item.domain.model.d.ts +0 -0
  165. /package/{src/lib/types/app → lib}/domain/models/price-list.domain.model.d.ts +0 -0
  166. /package/{src/lib/types/app → lib}/domain/models/report-financials.domain.model.d.ts +0 -0
  167. /package/{src/lib/types/app → lib}/domain/models/seat.domain.model.d.ts +0 -0
  168. /package/{src/lib/types/app → lib}/domain/models/sri-history.domain.model.d.ts +0 -0
  169. /package/{src/lib/types/app → lib}/domain/models/upload.domain.model.d.ts +0 -0
  170. /package/{src/lib/types/app → lib}/domain/models/user.domain.model.d.ts +0 -0
  171. /package/{src/lib/types/app → lib}/domain/repositories/alternative-item.domain.repository.d.ts +0 -0
  172. /package/{src/lib/types/app → lib}/domain/repositories/company.domain.repository.d.ts +0 -0
  173. /package/{src/lib/types/app → lib}/domain/repositories/document-reference.domain.repository.d.ts +0 -0
  174. /package/{src/lib/types/app → lib}/domain/repositories/email-settings.domain.repository.d.ts +0 -0
  175. /package/{src/lib/types/app → lib}/domain/repositories/group.domain.repository.d.ts +0 -0
  176. /package/{src/lib/types/app → lib}/domain/repositories/history.domain.repository.d.ts +0 -0
  177. /package/{src/lib/types/app → lib}/domain/repositories/item.domain.repository.d.ts +0 -0
  178. /package/{src/lib/types/app → lib}/domain/repositories/price-list.domain.repository.d.ts +0 -0
  179. /package/{src/lib/types/app → lib}/domain/repositories/report-financials.domain.repository.d.ts +0 -0
  180. /package/{src/lib/types/app → lib}/domain/repositories/seat.domain.repository.d.ts +0 -0
  181. /package/{src/lib/types/app → lib}/domain/repositories/sri-history.domain.repository.d.ts +0 -0
  182. /package/{src/lib/types/app → lib}/domain/repositories/upload.domain.repository.d.ts +0 -0
  183. /package/{src/lib/types/app → lib}/domain/repositories/user.domain.repository.d.ts +0 -0
  184. /package/{src/lib/types/app → lib}/domain/services/auth/auth.model.d.ts +0 -0
  185. /package/{src/lib/types/app → lib}/domain/services/auth/auth.service.d.ts +0 -0
  186. /package/{src/lib/types/app → lib}/domain/services/notification/notification.model.d.ts +0 -0
  187. /package/{src/lib/types/app → lib}/domain/services/notification/notification.service.d.ts +0 -0
  188. /package/{src/lib/types/app → lib}/domain/services/web-socket/web-socket.model.d.ts +0 -0
  189. /package/{src/lib/types → lib}/environments/environment.d.ts +0 -0
  190. /package/{src/lib/types/app → lib}/infrastructure/repositories/alternative-item.infrastructure.repository.d.ts +0 -0
  191. /package/{src/lib/types/app → lib}/infrastructure/repositories/company.infrastructure.repository.d.ts +0 -0
  192. /package/{src/lib/types/app → lib}/infrastructure/repositories/document-reference.infrastructure.repository.d.ts +0 -0
  193. /package/{src/lib/types/app → lib}/infrastructure/repositories/email-settings.infrastructure.repository.d.ts +0 -0
  194. /package/{src/lib/types/app → lib}/infrastructure/repositories/group.infrastructure.repository.d.ts +0 -0
  195. /package/{src/lib/types/app → lib}/infrastructure/repositories/history.infrastructure.repository.d.ts +0 -0
  196. /package/{src/lib/types/app → lib}/infrastructure/repositories/item.infrastructure.repository.d.ts +0 -0
  197. /package/{src/lib/types/app → lib}/infrastructure/repositories/price-list.infrastructure.repository.d.ts +0 -0
  198. /package/{src/lib/types/app → lib}/infrastructure/repositories/report-financials.infrastructure.repository.d.ts +0 -0
  199. /package/{src/lib/types/app → lib}/infrastructure/repositories/seat.infrastructure.repository.d.ts +0 -0
  200. /package/{src/lib/types/app → lib}/infrastructure/repositories/sri-history.infrastructure.repository.d.ts +0 -0
  201. /package/{src/lib/types/app → lib}/infrastructure/repositories/upload.infrastructure.repository.d.ts +0 -0
  202. /package/{src/lib/types/app → lib}/infrastructure/repositories/user.infrastructure.repository.d.ts +0 -0
  203. /package/{src/lib/types/app → lib}/infrastructure/services/alternative-item.infrastructure.service.d.ts +0 -0
  204. /package/{src/lib/types/app → lib}/infrastructure/services/company.infrastructure.service.d.ts +0 -0
  205. /package/{src/lib/types/app → lib}/infrastructure/services/document-reference.infrastructure.service.d.ts +0 -0
  206. /package/{src/lib/types/app → lib}/infrastructure/services/email-settings.infrastruture.service.d.ts +0 -0
  207. /package/{src/lib/types/app → lib}/infrastructure/services/group.infrastructure.service.d.ts +0 -0
  208. /package/{src/lib/types/app → lib}/infrastructure/services/history.infrastructure.service.d.ts +0 -0
  209. /package/{src/lib/types/app → lib}/infrastructure/services/item.infrastructure.service.d.ts +0 -0
  210. /package/{src/lib/types/app → lib}/infrastructure/services/price-list.infrastructure.service.d.ts +0 -0
  211. /package/{src/lib/types/app → lib}/infrastructure/services/report-financials.infrastructure.service.d.ts +0 -0
  212. /package/{src/lib/types/app → lib}/infrastructure/services/seat.infrastructure.service.d.ts +0 -0
  213. /package/{src/lib/types/app → lib}/infrastructure/services/sri-history.infrastructure.service.d.ts +0 -0
  214. /package/{src/lib/types/app → lib}/infrastructure/services/upload.infrastructure.service.d.ts +0 -0
  215. /package/{src/lib/types/app → lib}/infrastructure/services/user.infrastructure.service.d.ts +0 -0
  216. /package/{src/lib/types/app → lib}/pipes/error-translate-pipe/error-translate-pipe.d.ts +0 -0
  217. /package/{src/lib/types/app → lib}/remotes/components.remote.d.ts +0 -0
@@ -0,0 +1,319 @@
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
+ }
@@ -0,0 +1,35 @@
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
+ }
@@ -0,0 +1,69 @@
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
+ }
@@ -0,0 +1,102 @@
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
+ }