@cbm-common/cbm-types 0.0.13 → 0.0.14

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