@cbm-common/cbm-types 0.0.251 → 0.0.252

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.
@@ -17,6 +17,7 @@ export declare namespace CbmCountryCodeModel {
17
17
  code_export?: string;
18
18
  old_code_export?: string;
19
19
  code_uafe?: string;
20
+ demonym?: string;
20
21
  }
21
22
  }
22
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cbm-common/cbm-types",
3
- "version": "0.0.251",
3
+ "version": "0.0.252",
4
4
  "main": "index.js",
5
5
  "types": "public-api.d.ts",
6
6
  "exports": {
@@ -9,4 +9,4 @@
9
9
  "types": "./public-api.d.ts"
10
10
  }
11
11
  }
12
- }
12
+ }
@@ -1,176 +0,0 @@
1
- export declare namespace CbmEmployeeModel {
2
- interface ListParams {
3
- page: number;
4
- size: number;
5
- department_id?: string;
6
- position_id?: string;
7
- marital_status_id?: string;
8
- document_type_id?: string;
9
- name_surname?: string;
10
- enabled?: boolean;
11
- }
12
- interface ListResponse {
13
- success: boolean;
14
- items: ListResponse.Data[];
15
- }
16
- namespace ListResponse {
17
- interface Data {
18
- _id: string;
19
- company_id: string;
20
- company_NIF: string;
21
- company_trade_name: string;
22
- company_business_name: string;
23
- company_address: string;
24
- company_logo: string;
25
- country_id: string;
26
- country_code: string;
27
- country_name: string;
28
- country_short_name: string;
29
- period_id: string;
30
- period_year: string;
31
- department_id: string;
32
- department_code: number;
33
- department_name: string;
34
- position_id: string;
35
- position_code: number;
36
- position_name: string;
37
- marital_status_id: string;
38
- marital_status_code: string;
39
- marital_status_name: string;
40
- document_type_id: string;
41
- document_type_code: string;
42
- document_type_name: string;
43
- sequence_number: number;
44
- document_number: string;
45
- names: string;
46
- surnames: string;
47
- address: string;
48
- phone_code: string;
49
- phone: string;
50
- cellphone: string;
51
- email: string[];
52
- gender: string;
53
- birthdate: number;
54
- enabled: boolean;
55
- deleted: boolean;
56
- user_id: string;
57
- created_user: string;
58
- created_at: number;
59
- }
60
- }
61
- interface SaveBody {
62
- company_NIF: string;
63
- company_trade_name: string;
64
- company_business_name: string;
65
- company_address: string;
66
- company_email?: string;
67
- company_logo: string;
68
- department_id: string;
69
- department_code: number;
70
- department_name: string;
71
- position_id: string;
72
- position_code: number;
73
- position_name: string;
74
- marital_status_id: string;
75
- marital_status_code: string;
76
- marital_status_name: string;
77
- document_type_id: string;
78
- document_type_code: string;
79
- document_type_name: string;
80
- document_number: string;
81
- names: string;
82
- surnames: string;
83
- address: string;
84
- phone_code: string;
85
- phone: string;
86
- cellphone: string;
87
- email: string[];
88
- email_business: string[];
89
- gender: string;
90
- birthdate: number;
91
- }
92
- interface UpdateBody {
93
- company_NIF: string;
94
- company_trade_name: string;
95
- company_business_name: string;
96
- company_address: string;
97
- company_email?: string;
98
- company_logo: string;
99
- department_id: string;
100
- department_code: number;
101
- department_name: string;
102
- position_id: string;
103
- position_code: number;
104
- position_name: string;
105
- marital_status_id: string;
106
- marital_status_code: string;
107
- marital_status_name: string;
108
- document_type_id: string;
109
- document_type_code: string;
110
- document_type_name: string;
111
- document_number: string;
112
- names: string;
113
- surnames: string;
114
- address: string;
115
- phone_code: string;
116
- phone: string;
117
- cellphone: string;
118
- email: string[];
119
- email_business: string[];
120
- gender: string;
121
- birthdate: number;
122
- }
123
- interface GetOneResponse {
124
- success: boolean;
125
- data: GetOneResponse.Data;
126
- }
127
- namespace GetOneResponse {
128
- interface Data {
129
- _id: string;
130
- company_id: string;
131
- company_NIF: string;
132
- company_trade_name: string;
133
- company_business_name: string;
134
- company_address: string;
135
- company_logo: string;
136
- country_id: string;
137
- country_code: string;
138
- country_name: string;
139
- country_short_name: string;
140
- period_id: string;
141
- period_year: string;
142
- department_id: string;
143
- department_code: number;
144
- department_name: string;
145
- position_id: string;
146
- position_code: number;
147
- position_name: string;
148
- marital_status_id: string;
149
- marital_status_code: string;
150
- marital_status_name: string;
151
- document_type_id: string;
152
- document_type_code: string;
153
- document_type_name: string;
154
- sequence_number: number;
155
- document_number: string;
156
- names: string;
157
- surnames: string;
158
- address: string;
159
- phone_code: string;
160
- phone: string;
161
- cellphone: string;
162
- email: string[];
163
- emails_company: string[];
164
- gender: string;
165
- birthdate: number;
166
- enabled: boolean;
167
- deleted: boolean;
168
- user_id: string;
169
- user_inactive_at: number;
170
- disabled_reason: string;
171
- user_inactive_name: string;
172
- created_user: string;
173
- created_at: number;
174
- }
175
- }
176
- }