@cbm-common/cbm-types 0.0.88 → 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?: string[];
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;
33
+ province_code?: string;
36
34
  province_name?: string;
37
- provice_code?: 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
  }
@@ -26,7 +26,7 @@ export declare namespace CbmClientModel {
26
26
  namespace ListResponse {
27
27
  interface Item {
28
28
  _id: string;
29
- company_id: string;
29
+ company_id?: string;
30
30
  country_id?: string;
31
31
  country_code?: string;
32
32
  country_name?: string;
@@ -36,17 +36,17 @@ export declare namespace CbmClientModel {
36
36
  professions_id?: string;
37
37
  professions_code?: string;
38
38
  professions_name?: string;
39
- price_list_id: string;
39
+ price_list_id?: string;
40
40
  price_list_name?: string;
41
- document_type_id: string;
42
- document_type_name: string;
43
- document_type_code: string;
41
+ document_type_id?: string;
42
+ document_type_name?: string;
43
+ document_type_code?: string;
44
44
  rate_id?: string;
45
45
  rate_code?: string;
46
46
  rate_name?: string;
47
- document_number: string;
48
- business_name: string;
49
- trade_name: string;
47
+ document_number?: string;
48
+ business_name?: string;
49
+ trade_name?: string;
50
50
  economic_activity?: string;
51
51
  enabled?: boolean;
52
52
  bulk_load?: boolean;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cbm-common/cbm-types",
3
- "version": "0.0.88",
3
+ "version": "0.0.90",
4
4
  "main": "index.js",
5
5
  "types": "public-api.d.ts",
6
6
  "exports": {