@cbm-common/cbm-types 0.0.92 → 0.0.94
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.
|
@@ -54,6 +54,22 @@ export declare namespace CbmClientBranchModel {
|
|
|
54
54
|
user_inactive_at?: number;
|
|
55
55
|
user_inactive_name?: string;
|
|
56
56
|
disabled_reason?: string;
|
|
57
|
+
client_branch_contact?: Data.Contact[];
|
|
58
|
+
}
|
|
59
|
+
namespace Data {
|
|
60
|
+
interface Contact {
|
|
61
|
+
_id?: string;
|
|
62
|
+
company_id?: string;
|
|
63
|
+
client_branch_id?: string;
|
|
64
|
+
identification_number?: string;
|
|
65
|
+
full_name?: string;
|
|
66
|
+
phone_code?: string;
|
|
67
|
+
cellphone?: string;
|
|
68
|
+
enabled?: boolean;
|
|
69
|
+
deleted?: boolean;
|
|
70
|
+
created_user?: string;
|
|
71
|
+
created_at?: number;
|
|
72
|
+
}
|
|
57
73
|
}
|
|
58
74
|
}
|
|
59
75
|
}
|
|
@@ -225,15 +225,18 @@ export declare namespace CbmClientModel {
|
|
|
225
225
|
withholding_tax_account_code?: string;
|
|
226
226
|
}
|
|
227
227
|
interface Contact {
|
|
228
|
-
_id
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
228
|
+
_id?: string;
|
|
229
|
+
company_id?: string;
|
|
230
|
+
client_branch_id?: string;
|
|
231
|
+
identification_number?: string;
|
|
232
|
+
full_name?: string;
|
|
233
|
+
email?: string[];
|
|
234
|
+
phone_code?: string;
|
|
235
|
+
cellphone?: string;
|
|
236
|
+
enabled?: boolean;
|
|
237
|
+
deleted?: boolean;
|
|
238
|
+
created_user?: string;
|
|
239
|
+
created_at?: number;
|
|
237
240
|
}
|
|
238
241
|
interface CreditAplicationData {
|
|
239
242
|
_id: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CbmClientBranchModel } from '@cbm-common/cbm-types';
|
|
1
2
|
export declare namespace CbmCreditRequestModel {
|
|
2
3
|
interface ListParams {
|
|
3
4
|
page: number;
|
|
@@ -34,25 +35,6 @@ export declare namespace CbmCreditRequestModel {
|
|
|
34
35
|
company_branch_cellphone?: string;
|
|
35
36
|
company_branch_phone?: string;
|
|
36
37
|
user_id?: string;
|
|
37
|
-
client_id?: string;
|
|
38
|
-
client_branch_id?: string;
|
|
39
|
-
client_business_name?: string;
|
|
40
|
-
client_document_number?: string;
|
|
41
|
-
client_credit_limit?: number;
|
|
42
|
-
client_trade_name?: string;
|
|
43
|
-
client_email?: string;
|
|
44
|
-
client_address?: string;
|
|
45
|
-
client_phone_code?: string;
|
|
46
|
-
client_cellphone?: string;
|
|
47
|
-
client_province_id?: string;
|
|
48
|
-
client_canton_id?: string;
|
|
49
|
-
client_parish_id?: string;
|
|
50
|
-
client_province_code?: string;
|
|
51
|
-
client_province_name?: string;
|
|
52
|
-
client_canton_code?: string;
|
|
53
|
-
client_canton_name?: string;
|
|
54
|
-
client_parish_code?: string;
|
|
55
|
-
client_parish_name?: string;
|
|
56
38
|
document_nomenclature?: string;
|
|
57
39
|
document_number?: string;
|
|
58
40
|
document_state?: string;
|
|
@@ -64,22 +46,51 @@ export declare namespace CbmCreditRequestModel {
|
|
|
64
46
|
created_at?: number;
|
|
65
47
|
increase_value?: number;
|
|
66
48
|
approved_value?: number;
|
|
67
|
-
client_branch_code?: string;
|
|
68
|
-
client_branch_name?: string;
|
|
69
|
-
client_branch_address?: string;
|
|
70
|
-
client_branch_email?: string;
|
|
71
|
-
client_branch_cellphone?: string;
|
|
72
|
-
client_branch_phone?: string;
|
|
73
|
-
client_branch_phone_code?: string;
|
|
74
|
-
client_payment_deadline?: number;
|
|
75
|
-
seller_id?: string;
|
|
76
|
-
seller_identification_number?: string;
|
|
77
|
-
seller_full_name?: string;
|
|
78
|
-
seller_document_number?: string;
|
|
79
|
-
seller_address?: string;
|
|
80
|
-
seller_cellphone?: string;
|
|
81
|
-
seller_email?: string[];
|
|
82
49
|
new_credit_number?: string;
|
|
50
|
+
client_id: string;
|
|
51
|
+
client_business_name: string;
|
|
52
|
+
client_trade_name: string;
|
|
53
|
+
client_document_number: string;
|
|
54
|
+
client_credit_application: boolean;
|
|
55
|
+
client_document_type_id: string;
|
|
56
|
+
client_document_type_name: string;
|
|
57
|
+
client_document_type_code: string;
|
|
58
|
+
client_category_id: string;
|
|
59
|
+
client_category_name: string;
|
|
60
|
+
client_price_list_id?: string;
|
|
61
|
+
client_price_list_code?: string;
|
|
62
|
+
client_price_list_name?: string;
|
|
63
|
+
client_branch_id: string;
|
|
64
|
+
client_branch_code: string;
|
|
65
|
+
client_branch_name: string;
|
|
66
|
+
client_branch_address: string;
|
|
67
|
+
client_branch_email: string[];
|
|
68
|
+
client_branch_phone_code?: string;
|
|
69
|
+
client_branch_phone?: string;
|
|
70
|
+
client_branch_cellphone?: string;
|
|
71
|
+
client_branch_type_establishment: `${CbmClientBranchModel.TTypeEstablishment}`;
|
|
72
|
+
client_branch_province_id?: string;
|
|
73
|
+
client_branch_province_code?: string;
|
|
74
|
+
client_branch_province_name?: string;
|
|
75
|
+
client_branch_canton_id?: string;
|
|
76
|
+
client_branch_canton_code?: string;
|
|
77
|
+
client_branch_canton_name?: string;
|
|
78
|
+
client_branch_parish_id?: string;
|
|
79
|
+
client_branch_parish_code?: string;
|
|
80
|
+
client_branch_parish_name?: string;
|
|
81
|
+
client_branch_longitude?: number;
|
|
82
|
+
client_branch_latitude?: number;
|
|
83
|
+
client_branch_seller_id: string;
|
|
84
|
+
client_branch_seller_identification_number: string;
|
|
85
|
+
client_branch_seller_full_name: string;
|
|
86
|
+
client_branch_seller_address: string;
|
|
87
|
+
client_branch_seller_email: string[];
|
|
88
|
+
client_branch_seller_cellphone: string;
|
|
89
|
+
client_branch_contact_id?: string;
|
|
90
|
+
client_branch_contact_identification_number?: string;
|
|
91
|
+
client_branch_contact_full_name?: string;
|
|
92
|
+
client_branch_contact_cellphone?: string;
|
|
93
|
+
client_branch_contact_email?: string[];
|
|
83
94
|
}
|
|
84
95
|
}
|
|
85
96
|
interface SaveBody {
|
|
@@ -94,50 +105,60 @@ export declare namespace CbmCreditRequestModel {
|
|
|
94
105
|
company_branch_email?: string;
|
|
95
106
|
company_branch_cellphone?: string;
|
|
96
107
|
company_branch_phone?: string;
|
|
97
|
-
client_id?: string;
|
|
98
|
-
client_business_name?: string;
|
|
99
|
-
client_document_number?: string;
|
|
100
|
-
client_credit_limit?: number;
|
|
101
|
-
client_trade_name?: string;
|
|
102
|
-
client_email?: string;
|
|
103
|
-
client_address?: string;
|
|
104
|
-
client_phone_code?: string;
|
|
105
|
-
client_cellphone?: string;
|
|
106
|
-
client_province_id?: string;
|
|
107
|
-
client_canton_id?: string;
|
|
108
|
-
client_parish_id?: string;
|
|
109
|
-
client_province_code?: string;
|
|
110
|
-
client_province_name?: string;
|
|
111
|
-
client_canton_code?: string;
|
|
112
|
-
client_canton_name?: string;
|
|
113
|
-
client_parish_code?: string;
|
|
114
|
-
client_parish_name?: string;
|
|
115
108
|
reason?: string;
|
|
116
109
|
type?: string;
|
|
117
110
|
request_value?: number;
|
|
118
111
|
increase_value?: number;
|
|
119
112
|
decrease_value?: number;
|
|
120
113
|
revoke_value?: number;
|
|
121
|
-
client_branch_id?: string;
|
|
122
|
-
client_payment_deadline?: number;
|
|
123
|
-
client_branch_code?: string;
|
|
124
|
-
client_branch_name?: string;
|
|
125
|
-
client_branch_address?: string;
|
|
126
|
-
client_branch_email?: string;
|
|
127
|
-
client_branch_cellphone?: string;
|
|
128
|
-
client_branch_phone?: string;
|
|
129
|
-
client_branch_phone_code?: string;
|
|
130
|
-
seller_id?: string;
|
|
131
|
-
seller_identification_number?: string;
|
|
132
|
-
seller_document_number?: string;
|
|
133
|
-
seller_full_name?: string;
|
|
134
|
-
seller_address?: string;
|
|
135
|
-
seller_email?: string[];
|
|
136
|
-
seller_cellphone?: string;
|
|
137
114
|
reason_country_id?: string;
|
|
138
115
|
reason_country_code?: string;
|
|
139
116
|
reason_country_description?: string;
|
|
140
117
|
reason_country_description_process?: string;
|
|
118
|
+
client_id: string;
|
|
119
|
+
client_business_name: string;
|
|
120
|
+
client_trade_name: string;
|
|
121
|
+
client_document_number: string;
|
|
122
|
+
client_credit_application: boolean;
|
|
123
|
+
client_document_type_id: string;
|
|
124
|
+
client_document_type_name: string;
|
|
125
|
+
client_document_type_code: string;
|
|
126
|
+
client_category_id: string;
|
|
127
|
+
client_category_name: string;
|
|
128
|
+
client_price_list_id?: string;
|
|
129
|
+
client_price_list_code?: string;
|
|
130
|
+
client_price_list_name?: string;
|
|
131
|
+
client_branch_id: string;
|
|
132
|
+
client_branch_code: string;
|
|
133
|
+
client_branch_name: string;
|
|
134
|
+
client_branch_address: string;
|
|
135
|
+
client_branch_email: string[];
|
|
136
|
+
client_branch_phone_code?: string;
|
|
137
|
+
client_branch_phone?: string;
|
|
138
|
+
client_branch_cellphone?: string;
|
|
139
|
+
client_branch_type_establishment: `${CbmClientBranchModel.TTypeEstablishment}`;
|
|
140
|
+
client_branch_province_id?: string;
|
|
141
|
+
client_branch_province_code?: string;
|
|
142
|
+
client_branch_province_name?: string;
|
|
143
|
+
client_branch_canton_id?: string;
|
|
144
|
+
client_branch_canton_code?: string;
|
|
145
|
+
client_branch_canton_name?: string;
|
|
146
|
+
client_branch_parish_id?: string;
|
|
147
|
+
client_branch_parish_code?: string;
|
|
148
|
+
client_branch_parish_name?: string;
|
|
149
|
+
client_branch_longitude?: number;
|
|
150
|
+
client_branch_latitude?: number;
|
|
151
|
+
client_branch_seller_id: string;
|
|
152
|
+
client_branch_seller_identification_number: string;
|
|
153
|
+
client_branch_seller_full_name: string;
|
|
154
|
+
client_branch_seller_address: string;
|
|
155
|
+
client_branch_seller_email: string[];
|
|
156
|
+
client_branch_seller_cellphone: string;
|
|
157
|
+
client_branch_contact_id?: string;
|
|
158
|
+
client_branch_contact_identification_number?: string;
|
|
159
|
+
client_branch_contact_full_name?: string;
|
|
160
|
+
client_branch_contact_cellphone?: string;
|
|
161
|
+
client_branch_contact_email?: string[];
|
|
141
162
|
}
|
|
142
163
|
interface GetOneResponse {
|
|
143
164
|
success?: boolean;
|
|
@@ -160,25 +181,6 @@ export declare namespace CbmCreditRequestModel {
|
|
|
160
181
|
company_branch_cellphone?: string;
|
|
161
182
|
company_branch_phone?: string;
|
|
162
183
|
user_id?: string;
|
|
163
|
-
client_id?: string;
|
|
164
|
-
client_business_name?: string;
|
|
165
|
-
client_document_number?: string;
|
|
166
|
-
client_credit_limit?: number;
|
|
167
|
-
client_payment_deadline?: number;
|
|
168
|
-
client_trade_name?: string;
|
|
169
|
-
client_email?: string;
|
|
170
|
-
client_address?: string;
|
|
171
|
-
client_phone_code?: string;
|
|
172
|
-
client_cellphone?: string;
|
|
173
|
-
client_province_id?: string;
|
|
174
|
-
client_canton_id?: string;
|
|
175
|
-
client_parish_id?: string;
|
|
176
|
-
client_province_code?: string;
|
|
177
|
-
client_province_name?: string;
|
|
178
|
-
client_canton_code?: string;
|
|
179
|
-
client_canton_name?: string;
|
|
180
|
-
client_parish_code?: string;
|
|
181
|
-
client_parish_name?: string;
|
|
182
184
|
payment_deadline?: number;
|
|
183
185
|
previous_payment_deadline?: number;
|
|
184
186
|
commentary?: string;
|
|
@@ -195,21 +197,6 @@ export declare namespace CbmCreditRequestModel {
|
|
|
195
197
|
reason?: string;
|
|
196
198
|
created_user?: string;
|
|
197
199
|
created_at?: number;
|
|
198
|
-
client_branch_id?: string;
|
|
199
|
-
client_branch_code?: string;
|
|
200
|
-
client_branch_name?: string;
|
|
201
|
-
client_branch_address?: string;
|
|
202
|
-
client_branch_email?: string;
|
|
203
|
-
client_branch_cellphone?: string;
|
|
204
|
-
client_branch_phone?: string;
|
|
205
|
-
client_branch_phone_code?: string;
|
|
206
|
-
seller_id?: string;
|
|
207
|
-
seller_identification_number?: string;
|
|
208
|
-
seller_full_name?: string;
|
|
209
|
-
seller_document_number?: string;
|
|
210
|
-
seller_address?: string;
|
|
211
|
-
seller_cellphone?: string;
|
|
212
|
-
seller_email?: string[];
|
|
213
200
|
reason_country_id?: string;
|
|
214
201
|
reason_country_code?: string;
|
|
215
202
|
reason_country_description?: string;
|
|
@@ -218,6 +205,50 @@ export declare namespace CbmCreditRequestModel {
|
|
|
218
205
|
deny_reason_country_code?: string;
|
|
219
206
|
deny_reason_country_description?: string;
|
|
220
207
|
deny_reason_country_description_process?: string;
|
|
208
|
+
client_id: string;
|
|
209
|
+
client_business_name: string;
|
|
210
|
+
client_trade_name: string;
|
|
211
|
+
client_document_number: string;
|
|
212
|
+
client_credit_application: boolean;
|
|
213
|
+
client_document_type_id: string;
|
|
214
|
+
client_document_type_name: string;
|
|
215
|
+
client_document_type_code: string;
|
|
216
|
+
client_category_id: string;
|
|
217
|
+
client_category_name: string;
|
|
218
|
+
client_price_list_id?: string;
|
|
219
|
+
client_price_list_code?: string;
|
|
220
|
+
client_price_list_name?: string;
|
|
221
|
+
client_branch_id: string;
|
|
222
|
+
client_branch_code: string;
|
|
223
|
+
client_branch_name: string;
|
|
224
|
+
client_branch_address: string;
|
|
225
|
+
client_branch_email: string[];
|
|
226
|
+
client_branch_phone_code?: string;
|
|
227
|
+
client_branch_phone?: string;
|
|
228
|
+
client_branch_cellphone?: string;
|
|
229
|
+
client_branch_type_establishment: `${CbmClientBranchModel.TTypeEstablishment}`;
|
|
230
|
+
client_branch_province_id?: string;
|
|
231
|
+
client_branch_province_code?: string;
|
|
232
|
+
client_branch_province_name?: string;
|
|
233
|
+
client_branch_canton_id?: string;
|
|
234
|
+
client_branch_canton_code?: string;
|
|
235
|
+
client_branch_canton_name?: string;
|
|
236
|
+
client_branch_parish_id?: string;
|
|
237
|
+
client_branch_parish_code?: string;
|
|
238
|
+
client_branch_parish_name?: string;
|
|
239
|
+
client_branch_longitude?: number;
|
|
240
|
+
client_branch_latitude?: number;
|
|
241
|
+
client_branch_seller_id: string;
|
|
242
|
+
client_branch_seller_identification_number: string;
|
|
243
|
+
client_branch_seller_full_name: string;
|
|
244
|
+
client_branch_seller_address: string;
|
|
245
|
+
client_branch_seller_email: string[];
|
|
246
|
+
client_branch_seller_cellphone: string;
|
|
247
|
+
client_branch_contact_id?: string;
|
|
248
|
+
client_branch_contact_identification_number?: string;
|
|
249
|
+
client_branch_contact_full_name?: string;
|
|
250
|
+
client_branch_contact_cellphone?: string;
|
|
251
|
+
client_branch_contact_email?: string[];
|
|
221
252
|
}
|
|
222
253
|
}
|
|
223
254
|
interface TimelineResponse {
|