@cbm-common/cbm-types 0.0.14 → 0.0.15

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