@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,375 @@
1
+ export declare namespace CbmClientModel {
2
+ interface ListParams {
3
+ page: number;
4
+ size: number;
5
+ category_client_id?: string;
6
+ document_type_id?: string;
7
+ document_number?: string;
8
+ credit_application?: boolean;
9
+ deleted?: boolean;
10
+ enabled?: boolean;
11
+ filter?: string;
12
+ user_id?: string;
13
+ seller_id?: string;
14
+ orderByName?: boolean;
15
+ price_list_id?: string;
16
+ }
17
+ interface ListResponse {
18
+ success: boolean;
19
+ pageNum: number;
20
+ pageSize: number;
21
+ pages: number;
22
+ total: number;
23
+ items: ListResponse.Item[];
24
+ }
25
+ namespace ListResponse {
26
+ interface Item {
27
+ _id: string;
28
+ company_id?: string;
29
+ category_client_id?: string;
30
+ seller_id?: string;
31
+ price_list_id?: string;
32
+ document_type_id?: string;
33
+ document_type_name?: string;
34
+ document_type_code?: string;
35
+ document_number?: string;
36
+ business_name?: string;
37
+ trade_name?: string;
38
+ address?: string;
39
+ cellphone?: string;
40
+ rate_id?: string;
41
+ rate_name?: string;
42
+ rate_code?: string;
43
+ phone_number?: string;
44
+ reason_request?: string;
45
+ emails?: string[];
46
+ economic_activity?: string;
47
+ phone_code?: string;
48
+ enabled?: boolean;
49
+ created_user?: string;
50
+ created_at?: number;
51
+ billing_date?: number | null;
52
+ gender?: string;
53
+ payment_deadline?: number;
54
+ updated_at?: number;
55
+ updated_user?: string;
56
+ birthdate?: number | null;
57
+ marital_status?: string;
58
+ canton_id?: string;
59
+ comment?: string;
60
+ credit_limit?: number;
61
+ latitude?: number;
62
+ longitude?: number;
63
+ parish_id?: string;
64
+ province_id?: string;
65
+ category_name?: string;
66
+ data?: {} | string;
67
+ disabled_reason?: string;
68
+ num_contact?: number;
69
+ num_branch?: number;
70
+ seller?: Item.Seller;
71
+ province?: Item.TerritorialData;
72
+ canton?: Item.TerritorialData;
73
+ parish?: Item.TerritorialData;
74
+ has_cellphone?: boolean;
75
+ credit_application?: boolean;
76
+ credit_application_commentary?: string;
77
+ credit_application_status?: string;
78
+ deleted?: boolean;
79
+ deleted_at?: number;
80
+ deleted_user?: string;
81
+ }
82
+ namespace Item {
83
+ interface Seller {
84
+ seller_category_id: string;
85
+ user_id: string;
86
+ document_type_id: string;
87
+ identification_number: string;
88
+ full_name: string;
89
+ address: string;
90
+ cellphone: string;
91
+ emails: any[];
92
+ related_user: boolean;
93
+ enabled: boolean;
94
+ }
95
+ interface TerritorialData {
96
+ _id: string;
97
+ province_code: string;
98
+ canton_code: string;
99
+ parish_code: string;
100
+ province_name: string;
101
+ canton_name: string;
102
+ parish_name: string;
103
+ }
104
+ }
105
+ }
106
+ interface GetOneResponse {
107
+ success: boolean;
108
+ data: GetOneResponse.Data;
109
+ }
110
+ namespace GetOneResponse {
111
+ interface Data {
112
+ _id?: string;
113
+ company_id?: string;
114
+ category_client_id?: string;
115
+ seller_id?: string;
116
+ price_list_id?: string;
117
+ document_type_id?: string;
118
+ document_type_code?: string;
119
+ document_type_name?: string;
120
+ province_id?: string;
121
+ rate_id?: string;
122
+ rate_name?: string;
123
+ rate_code?: string;
124
+ phone_number?: string;
125
+ reason_request?: string;
126
+ canton_id?: string;
127
+ parish_id?: string;
128
+ document_number?: string;
129
+ business_name?: string;
130
+ trade_name?: string;
131
+ address?: string;
132
+ phone_code?: string;
133
+ cellphone?: string;
134
+ emails?: string[];
135
+ economic_activity?: string;
136
+ enabled?: boolean;
137
+ deleted?: boolean;
138
+ deleted_at?: number;
139
+ deleted_user?: string;
140
+ created_at?: number;
141
+ created_user?: string;
142
+ user_inactive_at?: number;
143
+ disabled_reason?: string;
144
+ user_inactive_name?: string;
145
+ category_name?: string;
146
+ billing_date?: string;
147
+ birthdate?: string;
148
+ comment?: string;
149
+ credit_limit?: number;
150
+ gender?: string;
151
+ payment_deadline?: number;
152
+ marital_status?: string;
153
+ longitude?: number;
154
+ latitude?: number;
155
+ contact?: Data.Contact[];
156
+ has_cellphone?: boolean;
157
+ credit_application?: boolean;
158
+ credit_application_commentary?: string;
159
+ credit_application_status?: string;
160
+ categoria_full_data: Data.CategoriaFullData;
161
+ credit_aplication_data?: Data.CreditAplicationData;
162
+ professions_id?: string;
163
+ professions_code?: string;
164
+ professions_name?: string;
165
+ bulk_load?: boolean;
166
+ user_id?: string;
167
+ detail_client_branch?: any[];
168
+ price_list_name?: string;
169
+ seller?: Data.Seller;
170
+ request_credit_value?: number;
171
+ updated_at?: number;
172
+ updated_user?: string;
173
+ province_name?: string;
174
+ canton_name?: string;
175
+ parish_name?: string;
176
+ }
177
+ namespace Data {
178
+ interface Seller {
179
+ company_id?: string;
180
+ company_branch_id?: string;
181
+ seller_category_id?: string;
182
+ document_type_id?: string;
183
+ identification_number?: string;
184
+ full_name?: string;
185
+ address?: string;
186
+ cellphone?: string;
187
+ emails?: string[];
188
+ related_user?: boolean;
189
+ enabled?: boolean;
190
+ deleted?: boolean;
191
+ created_user?: string;
192
+ deleted_at?: number;
193
+ created_at?: number;
194
+ updated_at?: number;
195
+ updated_user?: string;
196
+ user_id?: string;
197
+ deleted_user?: string;
198
+ }
199
+ interface PaymentDeadline {
200
+ name?: number;
201
+ value?: boolean;
202
+ }
203
+ interface CategoriaFullData {
204
+ _id: string;
205
+ company_id: string;
206
+ group_id: string;
207
+ name: string;
208
+ enabled: boolean;
209
+ deleted: boolean;
210
+ created_user: string;
211
+ created_at: number;
212
+ advanced_acount_id: string;
213
+ receivable_account_id: string;
214
+ updated_at: number;
215
+ updated_user: string;
216
+ account_receivable_name: string;
217
+ account_receivable_code: string;
218
+ account_advanced_name: string;
219
+ account_advanced_code: string;
220
+ credit_note_in_favor_account_id?: string;
221
+ withholding_tax_account_id?: string;
222
+ credit_note_in_favor_account_name?: string;
223
+ credit_note_in_favor_account_code?: string;
224
+ withholding_tax_account_name?: string;
225
+ withholding_tax_account_code?: string;
226
+ }
227
+ interface Contact {
228
+ _id: string;
229
+ client_id: string;
230
+ identification_number: string;
231
+ full_name: string;
232
+ phone_code: string;
233
+ cellphone: string;
234
+ email: string;
235
+ country_name?: string;
236
+ country_code?: string;
237
+ }
238
+ interface CreditAplicationData {
239
+ _id: string;
240
+ company_id?: string;
241
+ company_branch_id?: string;
242
+ user_id?: string;
243
+ client_id?: string;
244
+ client_business_name?: string;
245
+ client_document_number?: string;
246
+ document_nomenclature?: string;
247
+ document_number?: string;
248
+ document_state?: string;
249
+ request_value?: number;
250
+ type?: string;
251
+ reason?: string;
252
+ created_user?: string;
253
+ created_at?: number;
254
+ company_NIF?: string;
255
+ company_address?: string;
256
+ company_trade_name?: string;
257
+ company_business_name?: string;
258
+ company_branch_identification_number?: string;
259
+ company_branch_trade_name?: string;
260
+ company_branch_logo?: string;
261
+ company_branch_address?: string;
262
+ company_branch_email?: string;
263
+ company_branch_cellphone?: string;
264
+ company_branch_phone?: string;
265
+ client_phone_code?: string;
266
+ client_address?: string;
267
+ client_cellphone?: string;
268
+ client_email?: string;
269
+ client_province_id?: string;
270
+ client_canton_id?: string;
271
+ client_parish_id?: string;
272
+ client_credit_limit?: number;
273
+ client_payment_deadline?: number;
274
+ client_province_code?: string;
275
+ client_province_name?: string;
276
+ client_canton_code?: string;
277
+ client_canton_name?: string;
278
+ client_parish_code?: string;
279
+ client_parish_name?: string;
280
+ seller_id?: string;
281
+ seller_identification_number?: string;
282
+ seller_full_name?: string;
283
+ seller_document_number?: string;
284
+ seller_address?: string;
285
+ seller_cellphone?: string;
286
+ seller_email?: string[];
287
+ increase_value?: number;
288
+ reason_country_code?: string;
289
+ reason_country_description?: string;
290
+ reason_country_description_process?: string;
291
+ }
292
+ }
293
+ }
294
+ interface SaveBody {
295
+ category_client_id: string;
296
+ seller_id: string;
297
+ price_list_id: string;
298
+ document_type_id: string;
299
+ document_type_code: string;
300
+ document_type_name: string;
301
+ document_number: string;
302
+ business_name: string;
303
+ trade_name: string;
304
+ rate_id?: string;
305
+ rate_name?: string;
306
+ rate_code?: string;
307
+ phone_number?: string;
308
+ reason_request?: string;
309
+ address: string;
310
+ cellphone?: string;
311
+ emails: string[];
312
+ economic_activity?: string;
313
+ phone_code?: string;
314
+ payment_deadline?: SaveBody.PaymentDeadline[];
315
+ has_cellphone: boolean;
316
+ credit_application: boolean;
317
+ credit_application_commentary?: string;
318
+ credit_application_status?: string;
319
+ request_credit_value?: number;
320
+ professions_id?: string;
321
+ professions_code?: string;
322
+ professions_name?: string;
323
+ category_client_name?: string;
324
+ seller_identification_number?: string;
325
+ seller_full_name?: string;
326
+ price_list_name?: string;
327
+ price_list_code?: string;
328
+ }
329
+ namespace SaveBody {
330
+ interface PaymentDeadline {
331
+ name: string;
332
+ value: boolean;
333
+ }
334
+ }
335
+ interface UpdateBody {
336
+ category_client_id?: string;
337
+ document_type_id?: string;
338
+ document_type_code?: string;
339
+ document_type_name?: string;
340
+ document_number?: string;
341
+ rate_id?: string;
342
+ rate_name?: string;
343
+ rate_code?: string;
344
+ phone_number?: string;
345
+ reason_request?: string;
346
+ business_name?: string;
347
+ trade_name?: string;
348
+ address?: string;
349
+ cellphone?: string;
350
+ emails?: string[];
351
+ economic_activity?: string;
352
+ phone_code?: string;
353
+ payment_deadline?: UpdateBody.PaymentDeadline[];
354
+ has_cellphone?: boolean;
355
+ credit_application?: boolean;
356
+ credit_application_commentary?: string;
357
+ credit_application_status?: string;
358
+ professions_id?: string;
359
+ professions_code?: string;
360
+ professions_name?: string;
361
+ category_client_name?: string;
362
+ request_credit_value?: number;
363
+ }
364
+ namespace UpdateBody {
365
+ interface PaymentDeadline {
366
+ name?: string;
367
+ value?: boolean;
368
+ }
369
+ }
370
+ interface ConfirmResponse {
371
+ success: boolean;
372
+ message: string;
373
+ data?: any;
374
+ }
375
+ }
@@ -0,0 +1,28 @@
1
+ export declare namespace CbmContactModel {
2
+ interface ListParams {
3
+ identification_number?: string;
4
+ provider_id?: string;
5
+ client_id?: string;
6
+ }
7
+ interface ListResponse {
8
+ success: boolean;
9
+ data: ListResponse.Data[];
10
+ }
11
+ namespace ListResponse {
12
+ interface Data {
13
+ _id: string;
14
+ company_id?: string;
15
+ client_id?: string;
16
+ identification_number?: string;
17
+ full_name?: string;
18
+ phone_code?: string;
19
+ cellphone?: string;
20
+ email?: string;
21
+ created_user?: string;
22
+ created_at?: number;
23
+ updated_at?: number;
24
+ updated_user?: string;
25
+ provider_id?: string;
26
+ }
27
+ }
28
+ }
@@ -0,0 +1,111 @@
1
+ export declare namespace CbmCostCenterModel {
2
+ interface ListParams {
3
+ deleted?: boolean;
4
+ company_branch_id?: string;
5
+ move?: boolean;
6
+ filter?: string;
7
+ enabled?: boolean;
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
+ code: string;
18
+ code_manual?: string;
19
+ name: string;
20
+ description?: string;
21
+ code_father?: string;
22
+ level?: number;
23
+ move?: boolean;
24
+ company_branch?: CompanyBranch[];
25
+ enabled?: boolean;
26
+ deleted_at?: number;
27
+ deleted_user?: string;
28
+ created_at?: number;
29
+ created_user?: string;
30
+ type?: string;
31
+ cc_code_father?: string;
32
+ updated_at?: number;
33
+ updated_user?: string;
34
+ }
35
+ interface CompanyBranch {
36
+ company_branch_id?: string;
37
+ identification_number?: string;
38
+ trade_name?: string;
39
+ address?: string;
40
+ activated?: boolean;
41
+ _id?: string;
42
+ }
43
+ }
44
+ interface SaveBody {
45
+ code: string;
46
+ code_manual?: string;
47
+ name: string;
48
+ description: string;
49
+ code_father: string;
50
+ level: number;
51
+ move: boolean;
52
+ }
53
+ interface UpdateBody {
54
+ code?: string;
55
+ code_manual?: string;
56
+ name?: string;
57
+ description?: string;
58
+ code_father?: string;
59
+ level?: number;
60
+ move?: boolean;
61
+ }
62
+ interface GetOneResponse {
63
+ success: boolean;
64
+ data: GetOneResponse.Data;
65
+ }
66
+ namespace GetOneResponse {
67
+ interface Data {
68
+ _id?: string;
69
+ company_id?: string;
70
+ code?: string;
71
+ code_manual?: string;
72
+ name?: string;
73
+ description?: string;
74
+ code_father?: string;
75
+ level?: number;
76
+ move?: boolean;
77
+ company_branch?: CompanyBranch[];
78
+ enabled?: boolean;
79
+ deleted?: boolean;
80
+ deleted_at?: number;
81
+ deleted_user?: string;
82
+ created_at?: number;
83
+ created_user?: string;
84
+ cc_code_father?: string;
85
+ updated_at?: number;
86
+ updated_user?: string;
87
+ disabled_reason?: string;
88
+ user_inactive_at?: number;
89
+ user_inactive_id?: string;
90
+ user_inactive_name?: string;
91
+ type?: string;
92
+ }
93
+ interface CompanyBranch {
94
+ company_branch_id?: string;
95
+ identification_number?: string;
96
+ trade_name?: string;
97
+ address?: string;
98
+ activated?: boolean;
99
+ _id?: string;
100
+ }
101
+ }
102
+ interface ChangeStatusBody {
103
+ enabled: boolean;
104
+ disabled_reason?: string;
105
+ }
106
+ interface ConfirmResponse {
107
+ success: boolean;
108
+ message: string;
109
+ data?: any;
110
+ }
111
+ }
@@ -0,0 +1,76 @@
1
+ export declare namespace CbmDeadlineModel {
2
+ interface ListParams {
3
+ sort?: string;
4
+ deadlines?: string;
5
+ enabled?: boolean;
6
+ }
7
+ interface ListResponse {
8
+ success: boolean;
9
+ data: ListResponse.Data[];
10
+ }
11
+ namespace ListResponse {
12
+ interface Data {
13
+ _id: string;
14
+ company_id?: string;
15
+ deadlines?: number;
16
+ quota_number?: number;
17
+ grace_days?: number;
18
+ created_user?: string;
19
+ created_at?: number;
20
+ updated_at?: string;
21
+ updated_user?: string;
22
+ enabled?: boolean;
23
+ disabled_reason: string;
24
+ user_inactive_at: number;
25
+ user_inactive_id: string;
26
+ user_inactive_name: string;
27
+ user_active_at: number;
28
+ user_active_id: string;
29
+ user_active_name: string;
30
+ }
31
+ }
32
+ interface GetOneResponse {
33
+ success: boolean;
34
+ data: GetOneResponse.Data;
35
+ }
36
+ namespace GetOneResponse {
37
+ interface Data {
38
+ _id: string;
39
+ company_id?: string;
40
+ deadlines?: number;
41
+ quota_number?: number;
42
+ grace_days?: number;
43
+ created_user?: string;
44
+ created_at?: number;
45
+ updated_at?: string;
46
+ updated_user?: string;
47
+ enabled?: boolean;
48
+ disabled_reason?: string;
49
+ user_inactive_at?: number;
50
+ user_inactive_id?: string;
51
+ user_inactive_name?: string;
52
+ user_active_at?: number;
53
+ user_active_id?: string;
54
+ user_active_name?: string;
55
+ }
56
+ }
57
+ interface SaveBody {
58
+ deadlines: number;
59
+ quota_number?: number;
60
+ grace_days?: number;
61
+ }
62
+ interface UpdateBody {
63
+ deadlines?: number;
64
+ quota_number?: number;
65
+ grace_days?: number;
66
+ }
67
+ interface ChangeStatusBody {
68
+ enabled: boolean;
69
+ disabled_reason?: string;
70
+ }
71
+ interface ConfirmResponse {
72
+ success: boolean;
73
+ message: string;
74
+ data?: any;
75
+ }
76
+ }
@@ -0,0 +1,94 @@
1
+ export declare namespace CbmDriverModel {
2
+ interface ListParams {
3
+ deleted?: boolean;
4
+ document_number?: string;
5
+ enabled?: boolean;
6
+ name?: string;
7
+ }
8
+ interface ListResponse {
9
+ success: boolean;
10
+ data: ListResponse.Data[];
11
+ }
12
+ namespace ListResponse {
13
+ interface Data {
14
+ _id: string;
15
+ company_id?: string;
16
+ company_branch_id?: string;
17
+ document_type_id?: string;
18
+ document_name?: string;
19
+ document_number?: string;
20
+ document_code?: string;
21
+ name?: string;
22
+ address?: string;
23
+ enabled?: boolean;
24
+ created_user?: string;
25
+ created_at?: number;
26
+ updated_at?: number;
27
+ updated_user?: string;
28
+ deleted?: boolean;
29
+ deleted_at?: number;
30
+ deleted_user?: string;
31
+ disabled_reason?: string;
32
+ }
33
+ }
34
+ interface GetOneResponse {
35
+ success: boolean;
36
+ data: GetOneResponse.Data;
37
+ }
38
+ namespace GetOneResponse {
39
+ interface Data {
40
+ _id: string;
41
+ company_id?: string;
42
+ company_branch_id?: string;
43
+ document_type_id?: string;
44
+ document_name?: string;
45
+ document_number?: string;
46
+ document_code?: string;
47
+ name?: string;
48
+ address?: string;
49
+ enabled?: boolean;
50
+ created_user?: string;
51
+ created_at?: number;
52
+ updated_at?: number;
53
+ updated_user?: string;
54
+ deleted?: boolean;
55
+ deleted_at?: number;
56
+ deleted_user?: string;
57
+ disabled_reason?: string;
58
+ user_active_at?: number;
59
+ user_active_id?: string;
60
+ user_active_name?: string;
61
+ user_inactive_at?: number;
62
+ user_inactive_id?: string;
63
+ user_inactive_name?: string;
64
+ }
65
+ }
66
+ interface SaveBody {
67
+ document_name: string;
68
+ document_number: string;
69
+ document_code: string;
70
+ name: string;
71
+ address: string;
72
+ document_type_id: string;
73
+ }
74
+ interface UpdateBody {
75
+ document_name: string;
76
+ document_number: string;
77
+ name: string;
78
+ address: string;
79
+ document_type_id: string;
80
+ document_code: string;
81
+ }
82
+ interface ChangeStatusBody {
83
+ enabled: boolean;
84
+ disabled_reason?: string;
85
+ }
86
+ interface ConfirmResponse {
87
+ success: boolean;
88
+ message: string;
89
+ data?: any;
90
+ }
91
+ interface RestoreBody {
92
+ deleted: boolean;
93
+ }
94
+ }