@cbm-common/cbm-types 0.0.89 → 0.0.90
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare namespace CbmClientBranchModel {
|
|
2
|
+
type TTypeEstablishment = 'matrix' | 'branch';
|
|
2
3
|
interface ListParams {
|
|
3
4
|
enabled?: boolean;
|
|
4
5
|
client_id: string;
|
|
@@ -17,7 +18,7 @@ export declare namespace CbmClientBranchModel {
|
|
|
17
18
|
code: string;
|
|
18
19
|
name: string;
|
|
19
20
|
address: string;
|
|
20
|
-
email
|
|
21
|
+
email: string[];
|
|
21
22
|
has_cellphone?: boolean;
|
|
22
23
|
phone_code?: string;
|
|
23
24
|
cellphone_number?: string;
|
|
@@ -25,22 +26,34 @@ export declare namespace CbmClientBranchModel {
|
|
|
25
26
|
seller_id: string;
|
|
26
27
|
seller_identification_number: string;
|
|
27
28
|
seller_full_name: string;
|
|
28
|
-
enabled?: boolean;
|
|
29
|
-
type_establishment?: string;
|
|
30
|
-
deleted?: boolean;
|
|
31
|
-
created_user?: string;
|
|
32
|
-
created_at?: number;
|
|
33
|
-
seller_name: string;
|
|
34
29
|
seller_address: string;
|
|
30
|
+
seller_email: string[];
|
|
31
|
+
seller_cellphone: string;
|
|
35
32
|
province_id?: string;
|
|
36
|
-
province_name?: string;
|
|
37
33
|
province_code?: string;
|
|
34
|
+
province_name?: string;
|
|
38
35
|
canton_id?: string;
|
|
39
|
-
canton_name?: string;
|
|
40
36
|
canton_code?: string;
|
|
37
|
+
canton_name?: string;
|
|
41
38
|
parish_id?: string;
|
|
42
|
-
parish_name?: string;
|
|
43
39
|
parish_code?: string;
|
|
40
|
+
parish_name?: string;
|
|
41
|
+
longitude?: number;
|
|
42
|
+
latitude?: number;
|
|
43
|
+
enabled?: boolean;
|
|
44
|
+
type_establishment: `${TTypeEstablishment}`;
|
|
45
|
+
deleted?: boolean;
|
|
46
|
+
created_at?: number;
|
|
47
|
+
created_user?: string;
|
|
48
|
+
updated_at?: number;
|
|
49
|
+
updated_user?: string;
|
|
50
|
+
user_active_id?: string;
|
|
51
|
+
user_active_at?: number;
|
|
52
|
+
user_active_name?: string;
|
|
53
|
+
user_inactive_id?: string;
|
|
54
|
+
user_inactive_at?: number;
|
|
55
|
+
user_inactive_name?: string;
|
|
56
|
+
disabled_reason?: string;
|
|
44
57
|
}
|
|
45
58
|
}
|
|
46
59
|
}
|
|
@@ -58,18 +58,12 @@ export declare namespace CbmClientModel {
|
|
|
58
58
|
created_at?: number;
|
|
59
59
|
num_branch?: number;
|
|
60
60
|
data?: string;
|
|
61
|
-
seller_id?: string;
|
|
62
|
-
seller_identification_number?: string;
|
|
63
|
-
seller_full_name?: string;
|
|
64
61
|
request_credit_value?: number;
|
|
65
62
|
reason_request?: string;
|
|
66
63
|
credit_limit?: number;
|
|
67
64
|
payment_deadline?: number;
|
|
68
65
|
updated_at?: number;
|
|
69
66
|
updated_user?: string;
|
|
70
|
-
canton_id?: string;
|
|
71
|
-
parish_id?: string;
|
|
72
|
-
province_id?: string;
|
|
73
67
|
company_branch_id?: string;
|
|
74
68
|
deleted_at?: number;
|
|
75
69
|
deleted_user?: string;
|
|
@@ -353,12 +347,8 @@ export declare namespace CbmClientModel {
|
|
|
353
347
|
business_name?: string;
|
|
354
348
|
trade_name?: string;
|
|
355
349
|
address?: string;
|
|
356
|
-
cellphone?: string;
|
|
357
|
-
emails?: string[];
|
|
358
350
|
economic_activity?: string;
|
|
359
|
-
phone_code?: string;
|
|
360
351
|
payment_deadline?: UpdateBody.PaymentDeadline[];
|
|
361
|
-
has_cellphone?: boolean;
|
|
362
352
|
credit_application?: boolean;
|
|
363
353
|
ind_retention_agent?: boolean;
|
|
364
354
|
credit_application_commentary?: string;
|