@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,60 @@
1
+ export declare namespace CbmBankMovementsModel {
2
+ interface ListParams {
3
+ page: number;
4
+ size: number;
5
+ reverse_status?: boolean;
6
+ operation_number?: string;
7
+ payment_term_id?: string;
8
+ bank_id?: string;
9
+ date_end?: number;
10
+ date_begin?: number;
11
+ }
12
+ interface ListResponse {
13
+ success: boolean;
14
+ pageNum: number;
15
+ pageSize: number;
16
+ pages: number;
17
+ total: number;
18
+ items: ListResponse.Item[];
19
+ }
20
+ namespace ListResponse {
21
+ interface Item {
22
+ _id?: string;
23
+ company_id?: string;
24
+ company_branch_id?: string;
25
+ bank_id?: string;
26
+ bank_name?: string;
27
+ payment_term_id?: string;
28
+ payment_term_code?: string;
29
+ payment_term_name?: string;
30
+ collection_origin_id?: string;
31
+ collection_origin_name?: string;
32
+ operation_number?: string;
33
+ date?: number;
34
+ value?: number;
35
+ type?: string;
36
+ created_user?: string;
37
+ reverse_status?: boolean;
38
+ created_at?: number;
39
+ reverse_at?: number;
40
+ reverse_reason?: string;
41
+ reverse_user?: string;
42
+ }
43
+ }
44
+ interface ValidationOperationParams {
45
+ operation_number: string;
46
+ bank_id: string;
47
+ }
48
+ interface ValidationOperationResponse {
49
+ success?: boolean;
50
+ data?: ValidationOperationResponse.Data;
51
+ message?: string;
52
+ }
53
+ namespace ValidationOperationResponse {
54
+ interface Data {
55
+ collection_origin_id: string;
56
+ collection_origin_name: string;
57
+ event_module: string;
58
+ }
59
+ }
60
+ }
@@ -0,0 +1,92 @@
1
+ export declare namespace CbmBankModel {
2
+ type TTypeBank = 'bank' | 'cooperative';
3
+ interface ListParams {
4
+ page: number;
5
+ size: number;
6
+ enabled?: boolean;
7
+ type?: TTypeBank;
8
+ name?: string;
9
+ }
10
+ interface ListResponse {
11
+ success: boolean;
12
+ pageNum: number;
13
+ pageSize: number;
14
+ pages: number;
15
+ total: number;
16
+ items: ListResponse.Item[];
17
+ }
18
+ namespace ListResponse {
19
+ interface Item {
20
+ _id: string;
21
+ country: string;
22
+ country_id: string;
23
+ code: string;
24
+ name: string;
25
+ cash?: string;
26
+ type?: TTypeBank;
27
+ enabled: boolean;
28
+ deleted: boolean;
29
+ created_at: number;
30
+ created_user: string;
31
+ deleted_at: number;
32
+ updated_at: number;
33
+ updated_user: string;
34
+ disabled_reason: string;
35
+ user_active_at: number;
36
+ user_active_id: string;
37
+ user_active_name: string;
38
+ user_inactive_at: number;
39
+ user_inactive_id: string;
40
+ user_inactive_name: string;
41
+ }
42
+ }
43
+ interface GetOneResponse {
44
+ success: boolean;
45
+ data: GetOneResponse.Data;
46
+ }
47
+ namespace GetOneResponse {
48
+ interface Data {
49
+ _id: string;
50
+ country_id: string;
51
+ code: string;
52
+ name: string;
53
+ cash?: string;
54
+ type?: TTypeBank;
55
+ enabled: boolean;
56
+ deleted?: boolean;
57
+ created_at: number;
58
+ created_user: string;
59
+ updated_at?: number;
60
+ updated_user?: string;
61
+ disabled_reason?: string;
62
+ user_active_at?: number;
63
+ user_active_id?: string;
64
+ user_active_name?: string;
65
+ user_inactive_at?: number;
66
+ user_inactive_id?: string;
67
+ user_inactive_name?: string;
68
+ deleted_at?: number;
69
+ }
70
+ }
71
+ interface SaveBody {
72
+ code: string;
73
+ name: string;
74
+ cash: string;
75
+ type: TTypeBank;
76
+ }
77
+ interface UpdateBody {
78
+ code?: string;
79
+ name?: string;
80
+ cash?: string;
81
+ type?: TTypeBank;
82
+ }
83
+ interface ChangeStatusBody {
84
+ enabled: boolean;
85
+ disabled_reason?: string;
86
+ }
87
+ interface ConfirmResponse {
88
+ success: boolean;
89
+ message: string;
90
+ data?: any;
91
+ }
92
+ }
@@ -0,0 +1,260 @@
1
+ export declare namespace CbmCardSettlementModel {
2
+ interface ListParams {
3
+ page: number;
4
+ size: number;
5
+ movement_number?: string;
6
+ reverse_status?: boolean;
7
+ document_number?: string;
8
+ date_end?: number;
9
+ date_begin?: number;
10
+ cost_center_id?: string;
11
+ }
12
+ interface ListResponse {
13
+ success: boolean;
14
+ pageNum: number;
15
+ pageSize: number;
16
+ pages: number;
17
+ total: number;
18
+ items: ListResponse.Item[];
19
+ }
20
+ namespace ListResponse {
21
+ interface Item {
22
+ _id: string;
23
+ company_id?: string;
24
+ company_branch_id?: string;
25
+ cost_center_id?: string;
26
+ cost_center_name?: string;
27
+ cost_center_code?: string;
28
+ commentary?: string;
29
+ date?: number;
30
+ document_nomenclature?: string;
31
+ document_number?: string;
32
+ retention?: boolean;
33
+ total_card?: number;
34
+ total_retention?: number;
35
+ total_bank_deposit?: number;
36
+ bank_fee?: number;
37
+ company_NIF?: string;
38
+ company_address?: string;
39
+ company_trade_name?: string;
40
+ company_business_name?: string;
41
+ company_branch_identification_number?: string;
42
+ company_branch_trade_name?: string;
43
+ company_branch_address?: string;
44
+ company_branch_email?: string;
45
+ company_branch_cellphone?: string;
46
+ company_branch_phone?: string;
47
+ company_branch_logo?: string;
48
+ enabled?: boolean;
49
+ created_user?: string;
50
+ deleted_at?: number;
51
+ reverse_status?: boolean;
52
+ created_at?: number;
53
+ reverse_at?: number;
54
+ reverse_date?: number;
55
+ reverse_reason?: string;
56
+ reverse_user?: string;
57
+ updated_at?: number;
58
+ updated_user?: string;
59
+ movement_number?: string;
60
+ }
61
+ }
62
+ interface SaveBody {
63
+ cost_center_id?: string;
64
+ account_id?: string;
65
+ cost_center_name?: string;
66
+ cost_center_code?: string;
67
+ commentary?: string;
68
+ date?: number;
69
+ retention?: boolean;
70
+ total_card?: number;
71
+ total_retention?: number;
72
+ total_bank_deposit?: number;
73
+ total_provider_credits?: number;
74
+ bank_fee?: number;
75
+ card_settlement_detail: SaveBody.Detail[];
76
+ card_settlement_retention?: SaveBody.Retention[];
77
+ card_settlement_bank_deposits: SaveBody.BankDeposit[];
78
+ card_settlement_provider_credit: SaveBody.ProviderCredit[];
79
+ }
80
+ namespace SaveBody {
81
+ interface Detail {
82
+ card_management_id: string | null;
83
+ module_name_origin: string | null;
84
+ batch_code?: string | null;
85
+ operation_number?: string | null;
86
+ date: number | null;
87
+ client_document_number?: string | null;
88
+ client_business_name: string | null;
89
+ payment_term_name?: string | null;
90
+ total: number | null;
91
+ card_movement_number: string | null;
92
+ card_document_nomenclature: string | null;
93
+ card_document_number: string | null;
94
+ bank_name?: string | null;
95
+ }
96
+ interface Retention {
97
+ retention_id: string | null;
98
+ document_date: number | null;
99
+ document_number: string | null;
100
+ previous_balance: number | null;
101
+ subsequent_balance: number | null;
102
+ liquidated_value: number | null;
103
+ }
104
+ interface BankDeposit {
105
+ financials_bank_id?: string;
106
+ financials_bank_name?: string;
107
+ document_date?: number;
108
+ document_number?: string;
109
+ operation_number?: string;
110
+ payment_value?: number;
111
+ }
112
+ interface ProviderCredit {
113
+ credit_document_nomenclature: string | null;
114
+ credit_document_number: string | null;
115
+ credit_management_detail_id: string | null;
116
+ credit_management_id: string | null;
117
+ installment: string | null;
118
+ paid: number | null;
119
+ previous_balance: number | null;
120
+ provider_address: string | null;
121
+ provider_business_name: string | null;
122
+ provider_cellphone: string | null;
123
+ provider_document_number: string | null;
124
+ provider_email: string | null;
125
+ provider_id: string | null;
126
+ provider_phone_code: string | null;
127
+ provider_trade_name: string | null;
128
+ purchase_receipt_date: number | null;
129
+ purchase_receipt_number: string | null;
130
+ subsequent_balance: number | null;
131
+ }
132
+ }
133
+ interface GetOneResponse {
134
+ success: boolean;
135
+ data: GetOneResponse.Data;
136
+ }
137
+ namespace GetOneResponse {
138
+ interface Data {
139
+ _id?: string;
140
+ company_id?: string;
141
+ company_branch_id?: string;
142
+ cost_center_id?: string;
143
+ cost_center_name?: string;
144
+ cost_center_code?: string;
145
+ commentary?: string;
146
+ date?: number;
147
+ document_nomenclature?: string;
148
+ document_number?: string;
149
+ retention?: boolean;
150
+ total_card?: number;
151
+ total_retention?: number;
152
+ total_bank_deposit?: number;
153
+ bank_fee?: number;
154
+ enabled?: boolean;
155
+ created_user?: string;
156
+ deleted_at?: number;
157
+ reverse_status?: boolean;
158
+ created_at?: number;
159
+ reverse_at?: number;
160
+ reverse_date?: number;
161
+ reverse_reason?: string;
162
+ reverse_user?: string;
163
+ updated_at?: number;
164
+ updated_user?: string;
165
+ movement_number?: string;
166
+ card_settlement_detail?: Data.Detail[];
167
+ card_settlement_retention?: Data.Retention[];
168
+ card_settlement_bank_deposits?: Data.BankDeposit[];
169
+ card_settlement_provider_credit?: Data.ProviderCredit[];
170
+ companyBranch?: Data.CompanyBranch;
171
+ }
172
+ namespace Data {
173
+ interface Detail {
174
+ _id?: string;
175
+ card_settlement_id?: string;
176
+ card_management_id?: string;
177
+ module_name_origin?: string;
178
+ operation_number?: string;
179
+ batch_code?: string;
180
+ date?: number;
181
+ client_document_number?: string;
182
+ client_business_name?: string;
183
+ total?: number;
184
+ created_user?: string;
185
+ created_at?: number;
186
+ bank_name?: string;
187
+ payment_term_name?: string;
188
+ card_movement_number?: string;
189
+ card_document_nomenclature?: string;
190
+ card_document_number?: string;
191
+ }
192
+ interface Retention {
193
+ _id?: string;
194
+ card_settlement_id?: string;
195
+ retention_id?: string;
196
+ document_date?: number;
197
+ document_number?: string;
198
+ document_sequence?: string;
199
+ client_business_name?: string;
200
+ client_document_number?: string;
201
+ previous_balance?: number;
202
+ subsequent_balance?: number;
203
+ liquidated_value?: number;
204
+ created_user?: string;
205
+ created_at?: number;
206
+ }
207
+ interface BankDeposit {
208
+ _id?: string;
209
+ card_settlement_id?: string;
210
+ financials_bank_id?: string;
211
+ financials_bank_name?: string;
212
+ financials_bank_code?: string;
213
+ document_date?: number;
214
+ operation_number?: string;
215
+ payment_value?: number;
216
+ created_user?: string;
217
+ created_at?: number;
218
+ }
219
+ interface ProviderCredit {
220
+ credit_document_nomenclature?: string;
221
+ credit_document_number?: string;
222
+ credit_management_detail_id?: string;
223
+ credit_management_id?: string;
224
+ installment?: string;
225
+ paid?: number;
226
+ previous_balance?: number;
227
+ provider_address?: string;
228
+ provider_business_name?: string;
229
+ provider_cellphone?: string;
230
+ provider_document_number?: string;
231
+ provider_email?: string;
232
+ provider_id?: string;
233
+ provider_phone_code?: string;
234
+ provider_trade_name?: string;
235
+ purchase_receipt_date?: number;
236
+ purchase_receipt_number?: string;
237
+ subsequent_balance?: number;
238
+ }
239
+ interface CompanyBranch {
240
+ _id?: string;
241
+ company_id?: string;
242
+ identification_number?: string;
243
+ trade_name?: string;
244
+ address?: string;
245
+ email?: string;
246
+ cellphone?: string;
247
+ phone?: string;
248
+ environment?: number;
249
+ enabled?: boolean;
250
+ created_at?: number;
251
+ logo?: string;
252
+ }
253
+ }
254
+ }
255
+ interface ConfirmResponse {
256
+ success: boolean;
257
+ message: string;
258
+ data?: any;
259
+ }
260
+ }