@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,125 @@
1
+ export declare namespace CbmOutgoingBankingTransactionModel {
2
+ interface ListParams {
3
+ page: number;
4
+ size: number;
5
+ date_end?: number;
6
+ date_begin?: number;
7
+ reverse_status?: boolean;
8
+ document_number?: string;
9
+ operation_number?: number;
10
+ cost_center_id?: string;
11
+ total?: number;
12
+ financials_bank_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
+ company_branch_id: string;
27
+ financials_bank_id: string;
28
+ cost_center_id: string;
29
+ date: number;
30
+ financials_bank_name: string;
31
+ financials_bank_account_number: string;
32
+ document_nomenclature: string;
33
+ document_number: string;
34
+ operation_number: string;
35
+ total: number;
36
+ reason: string;
37
+ beneficiary: string;
38
+ cost_center_name: string;
39
+ cost_center_code: string;
40
+ cost_center_code_manual: string;
41
+ enabled: boolean;
42
+ created_user: string;
43
+ reverse_status: boolean;
44
+ created_at: number;
45
+ reverse_at?: number;
46
+ reverse_reason?: string;
47
+ reverse_user?: string;
48
+ movement_number: string;
49
+ }
50
+ }
51
+ interface SaveBody {
52
+ financials_bank_id: string;
53
+ financials_bank_name: string;
54
+ financials_bank_account_number: string;
55
+ cost_center_id: string;
56
+ date: number;
57
+ operation_number: string;
58
+ total: number;
59
+ reason: string;
60
+ beneficiary: string;
61
+ cost_center_name: string;
62
+ cost_center_code: string;
63
+ cost_center_code_manual: string;
64
+ outgoing_banking_transaction_detail: SaveBody.Detail[];
65
+ }
66
+ namespace SaveBody {
67
+ interface Detail {
68
+ account_id: string;
69
+ account_name: string;
70
+ account_code: string;
71
+ value: number;
72
+ }
73
+ }
74
+ interface GetOneResponse {
75
+ success: boolean;
76
+ data: GetOneResponse.Data;
77
+ }
78
+ namespace GetOneResponse {
79
+ interface Data {
80
+ _id: string;
81
+ company_id: string;
82
+ company_branch_id: string;
83
+ financials_bank_id: string;
84
+ financials_bank_name: string;
85
+ financials_bank_account_number: string;
86
+ cost_center_id: string;
87
+ date: number;
88
+ document_nomenclature: string;
89
+ document_number: string;
90
+ operation_number: string;
91
+ total: number;
92
+ reason: string;
93
+ beneficiary: string;
94
+ cost_center_name: string;
95
+ cost_center_code: string;
96
+ cost_center_code_manual: string;
97
+ enabled: boolean;
98
+ created_user: string;
99
+ reverse_status: boolean;
100
+ created_at: number;
101
+ reverse_at: number;
102
+ reverse_reason: string;
103
+ reverse_user: string;
104
+ movement_number: string;
105
+ outgoing_banking_transaction_detail: Data.Detail[];
106
+ }
107
+ namespace Data {
108
+ interface Detail {
109
+ _id: string;
110
+ outgoing_banking_transaction_id: string;
111
+ account_id: string;
112
+ account_name: string;
113
+ account_code: string;
114
+ value: number;
115
+ created_user: string;
116
+ created_at: number;
117
+ }
118
+ }
119
+ }
120
+ interface ConfirmResponse {
121
+ success: boolean;
122
+ message: string;
123
+ data?: any;
124
+ }
125
+ }
@@ -0,0 +1,135 @@
1
+ export declare namespace CbmSellerModel {
2
+ interface ListParams {
3
+ filter_text?: string;
4
+ deleted?: boolean;
5
+ enabled?: boolean;
6
+ identification_number?: string;
7
+ seller_category_id?: string;
8
+ }
9
+ interface ListResponse {
10
+ success: boolean;
11
+ data: ListResponse.Data[];
12
+ }
13
+ namespace ListResponse {
14
+ interface Data {
15
+ _id: string;
16
+ company_id?: string;
17
+ seller_category_id?: string;
18
+ document_type_id?: string;
19
+ identification_number?: string;
20
+ full_name?: string;
21
+ address?: string;
22
+ cellphone?: string;
23
+ emails?: string[];
24
+ phone_code?: string;
25
+ related_user?: boolean;
26
+ enabled?: boolean;
27
+ deleted?: boolean;
28
+ created_user?: string;
29
+ deleted_at?: number;
30
+ deleted_user?: string;
31
+ created_at?: number;
32
+ category_name?: string;
33
+ updated_at?: number;
34
+ updated_user?: string;
35
+ user_id?: string;
36
+ document_type_name?: string;
37
+ document_type_code?: string;
38
+ }
39
+ }
40
+ interface GetOneResponse {
41
+ success: boolean;
42
+ data: GetOneResponse.Data;
43
+ }
44
+ namespace GetOneResponse {
45
+ interface Data {
46
+ _id?: string;
47
+ company_id?: string;
48
+ seller_category_id?: string;
49
+ category_name?: string;
50
+ user_id?: string;
51
+ user_name?: string;
52
+ document_type_id?: string;
53
+ identification_number?: string;
54
+ full_name?: string;
55
+ cellphone?: string;
56
+ phone_code?: string;
57
+ address?: string;
58
+ emails?: [];
59
+ related_user?: boolean;
60
+ company_NIF?: string;
61
+ company_address?: string;
62
+ company_trade_name?: string;
63
+ company_business_name?: string;
64
+ user_document_number_related?: string;
65
+ user_name_related?: string;
66
+ enabled?: boolean;
67
+ created_user?: string;
68
+ deleted?: boolean;
69
+ deleted_at?: number;
70
+ deleted_user?: string;
71
+ created_at?: number;
72
+ user_inactive_at?: number;
73
+ disabled_reason?: string;
74
+ user_inactive_name?: string;
75
+ document_type_name?: string;
76
+ document_type_code?: string;
77
+ updated_at?: number;
78
+ updated_user?: string;
79
+ }
80
+ }
81
+ interface SaveBody {
82
+ seller_category_id: string;
83
+ user_id: string;
84
+ document_type_id: string;
85
+ document_type_name: string;
86
+ document_type_code: string;
87
+ identification_number: string;
88
+ full_name: string;
89
+ address: string;
90
+ cellphone: string;
91
+ phone_code: string;
92
+ emails: string[];
93
+ related_user: boolean;
94
+ company_NIF: string;
95
+ company_address: string;
96
+ company_trade_name: string;
97
+ company_business_name: string;
98
+ user_document_number_related: string;
99
+ user_name_related: string;
100
+ }
101
+ interface UpdateBody {
102
+ seller_category_id: string;
103
+ user_id: string;
104
+ document_type_id: string;
105
+ identification_number: string;
106
+ full_name: string;
107
+ address: string;
108
+ cellphone: string;
109
+ phone_code: string;
110
+ emails: string[];
111
+ related_user: boolean;
112
+ company_NIF: string;
113
+ company_address: string;
114
+ company_trade_name: string;
115
+ company_business_name: string;
116
+ user_document_number_related: string;
117
+ user_name_related: string;
118
+ }
119
+ interface ChangeStatusBody {
120
+ enabled: boolean;
121
+ disabled_reason?: string;
122
+ }
123
+ interface ConfirmResponse {
124
+ success: boolean;
125
+ message: string;
126
+ data?: any;
127
+ }
128
+ interface DownloadExcelCarga {
129
+ }
130
+ interface DownloadExcelReportParams {
131
+ enabled?: boolean;
132
+ seller_category_id?: string;
133
+ filter_text?: string;
134
+ }
135
+ }
@@ -0,0 +1,273 @@
1
+ export declare namespace CbmOutsourcingServiceModel {
2
+ interface ListParams {
3
+ page: number;
4
+ size: number;
5
+ deleted?: boolean;
6
+ enabled?: boolean;
7
+ code_filter?: string;
8
+ name?: string;
9
+ company_branch_id?: string;
10
+ category_id?: string;
11
+ tax_iva_id?: string;
12
+ price_list_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
+ company_branch_id: string;
27
+ category_outsourcing_id: string;
28
+ tax_iva_id: string;
29
+ tax_iva_code: string;
30
+ automatic_code: boolean;
31
+ code: string;
32
+ barcode: string;
33
+ name: string;
34
+ comment: string;
35
+ iva: number;
36
+ tax_ice: boolean;
37
+ enabled: boolean;
38
+ created_user: string;
39
+ created_at: number;
40
+ category_name: string;
41
+ tax_iva: Item.TaxIva;
42
+ price_list_service_outsourcing: Item.PriceListOutsourcing[];
43
+ disabled_reason?: string;
44
+ updated_at?: number;
45
+ updated_user?: string;
46
+ loading?: boolean;
47
+ cost?: number;
48
+ bulk_load?: boolean;
49
+ deleted_at?: number;
50
+ deleted?: boolean;
51
+ deleted_user?: string;
52
+ company_branch_name: string;
53
+ tax_iva_description: string;
54
+ tax_iva_rate: number;
55
+ }
56
+ namespace Item {
57
+ interface TaxIva {
58
+ _id: string;
59
+ country_id?: string;
60
+ code?: string;
61
+ percentage?: number;
62
+ description?: string;
63
+ enabled?: boolean;
64
+ created_at?: number;
65
+ created_user?: string;
66
+ }
67
+ interface PriceListOutsourcing {
68
+ _id: string;
69
+ price_list_id?: string;
70
+ price_list_name?: string;
71
+ base_price?: number;
72
+ tax_price?: number;
73
+ created_user?: string;
74
+ created_at?: number;
75
+ updated_at?: number;
76
+ updated_user?: string;
77
+ company_id?: string;
78
+ company_branch_id?: string;
79
+ country_id?: string;
80
+ service_outsourcing_id?: string;
81
+ }
82
+ }
83
+ }
84
+ interface GetOneResponse {
85
+ success: boolean;
86
+ data: GetOneResponse.Data;
87
+ }
88
+ namespace GetOneResponse {
89
+ interface Data {
90
+ _id?: string;
91
+ company_id?: string;
92
+ company_branch_id?: string;
93
+ category_outsourcing_id?: string;
94
+ tax_iva_id?: string;
95
+ tax_iva_code?: string;
96
+ cost?: number;
97
+ automatic_code?: boolean;
98
+ code?: string;
99
+ barcode?: string;
100
+ name?: string;
101
+ comment?: string;
102
+ iva?: number;
103
+ tax_ice?: boolean;
104
+ enabled?: boolean;
105
+ deleted_at?: number;
106
+ deleted?: boolean;
107
+ deleted_user?: string;
108
+ created_user?: string;
109
+ created_at?: number;
110
+ user_inactive_at?: number;
111
+ user_inactive_id?: string;
112
+ user_inactive_name?: string;
113
+ disabled_reason?: string;
114
+ updated_at?: number;
115
+ updated_user?: string;
116
+ category_name?: string;
117
+ price_list_service_outsourcing?: Data.PriceListService[];
118
+ tax_iva?: Data.TaxIva;
119
+ bulk_load?: boolean;
120
+ tax_iva_description?: string;
121
+ tax_iva_rate?: number;
122
+ }
123
+ namespace Data {
124
+ interface PriceListService {
125
+ price_list_name: string;
126
+ price_list_id: string;
127
+ independent?: boolean;
128
+ factor?: number;
129
+ base_price: number;
130
+ tax_price: number;
131
+ _id?: string;
132
+ created_user?: string;
133
+ created_at?: number;
134
+ updated_at?: number;
135
+ updated_user?: string;
136
+ service_outsourcing_id?: string;
137
+ }
138
+ interface TaxIva {
139
+ _id?: string;
140
+ country_id?: string;
141
+ code?: string;
142
+ percentage?: number;
143
+ description?: string;
144
+ enabled?: boolean;
145
+ created_user?: string;
146
+ created_at?: number;
147
+ }
148
+ }
149
+ }
150
+ interface GetOneByCodeResponse {
151
+ success: boolean;
152
+ data: GetOneByCodeResponse.Data;
153
+ }
154
+ namespace GetOneByCodeResponse {
155
+ interface Data {
156
+ _id?: string;
157
+ company_id?: string;
158
+ company_branch_id?: string;
159
+ category_outsourcing_id?: string;
160
+ tax_iva_id?: string;
161
+ tax_iva_code?: string;
162
+ cost?: number;
163
+ automatic_code?: boolean;
164
+ code?: string;
165
+ barcode?: string;
166
+ name?: string;
167
+ comment?: string;
168
+ iva?: number;
169
+ tax_ice?: boolean;
170
+ enabled?: boolean;
171
+ bulk_load?: boolean;
172
+ deleted?: boolean;
173
+ created_user?: string;
174
+ created_at?: number;
175
+ category_name?: string;
176
+ price_list_service_outsourcing?: Data.PriceListService[];
177
+ deleted_at: number;
178
+ tax_iva: Data.TaxIva;
179
+ tax_iva_description?: string;
180
+ tax_iva_rate?: number;
181
+ }
182
+ namespace Data {
183
+ interface PriceListService {
184
+ created_user?: string;
185
+ created_at?: number;
186
+ price_list_name: string;
187
+ price_list_id: string;
188
+ base_price: number;
189
+ tax_price: number;
190
+ _id?: string;
191
+ service_outsourcing_id: string;
192
+ }
193
+ interface TaxIva {
194
+ _id: string;
195
+ country_id: string;
196
+ code: string;
197
+ percentage: number;
198
+ description: string;
199
+ enabled: boolean;
200
+ created_user: string;
201
+ created_at: number;
202
+ }
203
+ }
204
+ }
205
+ interface SaveBody {
206
+ category_outsourcing_id: string;
207
+ tax_iva_id: string;
208
+ tax_iva_code: string;
209
+ automatic_code: boolean;
210
+ code: string;
211
+ price: number;
212
+ barcode: string;
213
+ name: string;
214
+ comment?: string;
215
+ iva: number;
216
+ tax_ice: boolean;
217
+ tax_iva_description: string;
218
+ tax_iva_rate: number;
219
+ price_list_service_outsourcing?: SaveBody.DetailPriceList[];
220
+ }
221
+ namespace SaveBody {
222
+ interface DetailPriceList {
223
+ price_list_name: string;
224
+ price_list_id: string;
225
+ base_price: number;
226
+ tax_price: number;
227
+ _id?: string;
228
+ }
229
+ }
230
+ interface UpdateBody {
231
+ category_outsourcing_id?: string;
232
+ tax_iva_id?: string;
233
+ tax_iva_code?: string;
234
+ automatic_code?: boolean;
235
+ code?: string;
236
+ price?: number;
237
+ barcode?: string;
238
+ name?: string;
239
+ comment?: string;
240
+ iva?: number;
241
+ tax_ice?: boolean;
242
+ tax_iva_description?: string;
243
+ tax_iva_rate?: number;
244
+ price_list_service_outsourcing?: UpdateBody.PriceLists[];
245
+ }
246
+ namespace UpdateBody {
247
+ interface PriceLists {
248
+ price_list_id?: string;
249
+ price_list_name?: string;
250
+ base_price?: number;
251
+ tax_price?: number;
252
+ _id?: string;
253
+ }
254
+ }
255
+ interface DownloadExcelParams {
256
+ company_branch_id?: string;
257
+ category_id?: string;
258
+ name?: string;
259
+ enabled?: boolean;
260
+ }
261
+ interface ChangeStatusBody {
262
+ enabled: boolean;
263
+ disabled_reason?: string;
264
+ }
265
+ interface ConfirmResponse {
266
+ success: boolean;
267
+ message: string;
268
+ data?: any;
269
+ }
270
+ interface RestoreBody {
271
+ deleted: boolean;
272
+ }
273
+ }