@nest-packages/nestjs-lark-sdk 0.1.1 → 0.2.0
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.
- package/dist/bitable-base-field.d.ts +407 -144
- package/dist/bitable-base-field.js +133 -1
- package/dist/bitable-base-field.js.map +1 -1
- package/dist/bitable-base-record.d.ts +312 -195
- package/dist/bitable-base-record.js +13 -0
- package/dist/bitable-base-record.js.map +1 -1
- package/dist/bitable-base.abstract.d.ts +10 -10
- package/dist/contact-base.d.ts +328 -233
- package/dist/contact-base.js +1 -0
- package/dist/contact-base.js.map +1 -1
- package/dist/feishu-base-plus.d.ts +22 -15
- package/dist/feishu.utils.d.ts +9 -3
- package/dist/im-base.d.ts +186 -89
- package/dist/im-base.js +20 -2
- package/dist/im-base.js.map +1 -1
- package/dist/im-base.type.d.ts +29 -5
- package/dist/nestjs-lark-sdk.module.d.ts +21 -6
- package/dist/nestjs-lark-sdk.service.d.ts +1 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/type.bitable.d.ts +6 -3
- package/dist/type.d.ts +63 -58
- package/dist/types/index.d.ts +169 -113
- package/package.json +3 -2
package/dist/contact-base.d.ts
CHANGED
|
@@ -3,29 +3,39 @@ import { Logger } from '@nestjs/common';
|
|
|
3
3
|
import { FeishuBasePlus } from './feishu-base-plus';
|
|
4
4
|
import { TypeDepartment, TypeUserStore } from './type';
|
|
5
5
|
export declare class ContactBase {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
readonly logger: Logger;
|
|
7
|
+
feishuBaseInstance: FeishuBasePlus;
|
|
8
|
+
readonly larkClient: Client;
|
|
9
|
+
constructor(feishuBaseInstance: FeishuBasePlus);
|
|
10
|
+
getOpenIdByMobile(
|
|
11
|
+
mobiles: string[],
|
|
12
|
+
user_id_type?: 'open_id' | 'union_id' | 'user_id',
|
|
13
|
+
): Promise<{
|
|
14
|
+
code?: number | undefined;
|
|
15
|
+
msg?: string | undefined;
|
|
16
|
+
data?:
|
|
17
|
+
| {
|
|
18
|
+
user_list?:
|
|
19
|
+
| {
|
|
15
20
|
user_id?: string | undefined;
|
|
16
21
|
mobile?: string | undefined;
|
|
17
22
|
email?: string | undefined;
|
|
18
|
-
status?:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
status?:
|
|
24
|
+
| {
|
|
25
|
+
is_frozen?: boolean | undefined;
|
|
26
|
+
is_resigned?: boolean | undefined;
|
|
27
|
+
is_activated?: boolean | undefined;
|
|
28
|
+
is_exited?: boolean | undefined;
|
|
29
|
+
is_unjoin?: boolean | undefined;
|
|
30
|
+
}
|
|
31
|
+
| undefined;
|
|
32
|
+
}[]
|
|
33
|
+
| undefined;
|
|
34
|
+
}
|
|
35
|
+
| undefined;
|
|
36
|
+
}>;
|
|
37
|
+
getFeishuUserInfo(openId: string): Promise<
|
|
38
|
+
| {
|
|
29
39
|
msg: string;
|
|
30
40
|
mobile: string;
|
|
31
41
|
open_id: string;
|
|
@@ -33,12 +43,13 @@ export declare class ContactBase {
|
|
|
33
43
|
union_id: string;
|
|
34
44
|
name: string;
|
|
35
45
|
avatar: {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
46
|
+
avatar_72?: string | undefined;
|
|
47
|
+
avatar_240?: string | undefined;
|
|
48
|
+
avatar_640?: string | undefined;
|
|
49
|
+
avatar_origin?: string | undefined;
|
|
40
50
|
};
|
|
41
|
-
|
|
51
|
+
}
|
|
52
|
+
| {
|
|
42
53
|
msg: string;
|
|
43
54
|
mobile: string;
|
|
44
55
|
open_id: string;
|
|
@@ -46,12 +57,15 @@ export declare class ContactBase {
|
|
|
46
57
|
avatar: {};
|
|
47
58
|
user_id?: undefined;
|
|
48
59
|
union_id?: undefined;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
60
|
+
}
|
|
61
|
+
>;
|
|
62
|
+
getUserInfo(user_id: string): Promise<{
|
|
63
|
+
code?: number | undefined;
|
|
64
|
+
msg?: string | undefined;
|
|
65
|
+
data?:
|
|
66
|
+
| {
|
|
67
|
+
user?:
|
|
68
|
+
| {
|
|
55
69
|
union_id?: string | undefined;
|
|
56
70
|
user_id?: string | undefined;
|
|
57
71
|
open_id?: string | undefined;
|
|
@@ -62,19 +76,23 @@ export declare class ContactBase {
|
|
|
62
76
|
mobile?: string | undefined;
|
|
63
77
|
mobile_visible?: boolean | undefined;
|
|
64
78
|
gender?: number | undefined;
|
|
65
|
-
avatar?:
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
79
|
+
avatar?:
|
|
80
|
+
| {
|
|
81
|
+
avatar_72?: string | undefined;
|
|
82
|
+
avatar_240?: string | undefined;
|
|
83
|
+
avatar_640?: string | undefined;
|
|
84
|
+
avatar_origin?: string | undefined;
|
|
85
|
+
}
|
|
86
|
+
| undefined;
|
|
87
|
+
status?:
|
|
88
|
+
| {
|
|
89
|
+
is_frozen?: boolean | undefined;
|
|
90
|
+
is_resigned?: boolean | undefined;
|
|
91
|
+
is_activated?: boolean | undefined;
|
|
92
|
+
is_exited?: boolean | undefined;
|
|
93
|
+
is_unjoin?: boolean | undefined;
|
|
94
|
+
}
|
|
95
|
+
| undefined;
|
|
78
96
|
department_ids?: string[] | undefined;
|
|
79
97
|
leader_user_id?: string | undefined;
|
|
80
98
|
city?: string | undefined;
|
|
@@ -84,36 +102,46 @@ export declare class ContactBase {
|
|
|
84
102
|
is_tenant_manager?: boolean | undefined;
|
|
85
103
|
employee_no?: string | undefined;
|
|
86
104
|
employee_type?: number | undefined;
|
|
87
|
-
positions?:
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
105
|
+
positions?:
|
|
106
|
+
| {
|
|
107
|
+
position_code?: string | undefined;
|
|
108
|
+
position_name?: string | undefined;
|
|
109
|
+
department_id?: string | undefined;
|
|
110
|
+
leader_user_id?: string | undefined;
|
|
111
|
+
leader_position_code?: string | undefined;
|
|
112
|
+
is_major?: boolean | undefined;
|
|
113
|
+
}[]
|
|
114
|
+
| undefined;
|
|
115
|
+
orders?:
|
|
116
|
+
| {
|
|
117
|
+
department_id?: string | undefined;
|
|
118
|
+
user_order?: number | undefined;
|
|
119
|
+
department_order?: number | undefined;
|
|
120
|
+
is_primary_dept?: boolean | undefined;
|
|
121
|
+
}[]
|
|
122
|
+
| undefined;
|
|
123
|
+
custom_attrs?:
|
|
124
|
+
| {
|
|
125
|
+
type?: string | undefined;
|
|
126
|
+
id?: string | undefined;
|
|
127
|
+
value?:
|
|
128
|
+
| {
|
|
129
|
+
text?: string | undefined;
|
|
130
|
+
url?: string | undefined;
|
|
131
|
+
pc_url?: string | undefined;
|
|
132
|
+
option_value?: string | undefined;
|
|
133
|
+
name?: string | undefined;
|
|
134
|
+
picture_url?: string | undefined;
|
|
135
|
+
generic_user?:
|
|
136
|
+
| {
|
|
137
|
+
id: string;
|
|
138
|
+
type: number;
|
|
139
|
+
}
|
|
140
|
+
| undefined;
|
|
141
|
+
}
|
|
142
|
+
| undefined;
|
|
143
|
+
}[]
|
|
144
|
+
| undefined;
|
|
117
145
|
enterprise_email?: string | undefined;
|
|
118
146
|
time_zone?: string | undefined;
|
|
119
147
|
description?: string | undefined;
|
|
@@ -121,84 +149,119 @@ export declare class ContactBase {
|
|
|
121
149
|
geo?: string | undefined;
|
|
122
150
|
job_level_id?: string | undefined;
|
|
123
151
|
job_family_id?: string | undefined;
|
|
124
|
-
assign_info?:
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
en_us?: string | undefined;
|
|
132
|
-
} | undefined;
|
|
133
|
-
start_time?: string | undefined;
|
|
134
|
-
end_time?: string | undefined;
|
|
135
|
-
}[] | undefined;
|
|
136
|
-
department_path?: {
|
|
137
|
-
department_id?: string | undefined;
|
|
138
|
-
department_name?: {
|
|
139
|
-
name?: string | undefined;
|
|
140
|
-
i18n_name?: {
|
|
152
|
+
assign_info?:
|
|
153
|
+
| {
|
|
154
|
+
subscription_id?: string | undefined;
|
|
155
|
+
license_plan_key?: string | undefined;
|
|
156
|
+
product_name?: string | undefined;
|
|
157
|
+
i18n_name?:
|
|
158
|
+
| {
|
|
141
159
|
zh_cn?: string | undefined;
|
|
142
160
|
ja_jp?: string | undefined;
|
|
143
161
|
en_us?: string | undefined;
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
162
|
+
}
|
|
163
|
+
| undefined;
|
|
164
|
+
start_time?: string | undefined;
|
|
165
|
+
end_time?: string | undefined;
|
|
166
|
+
}[]
|
|
167
|
+
| undefined;
|
|
168
|
+
department_path?:
|
|
169
|
+
| {
|
|
170
|
+
department_id?: string | undefined;
|
|
171
|
+
department_name?:
|
|
172
|
+
| {
|
|
149
173
|
name?: string | undefined;
|
|
150
|
-
i18n_name?:
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
174
|
+
i18n_name?:
|
|
175
|
+
| {
|
|
176
|
+
zh_cn?: string | undefined;
|
|
177
|
+
ja_jp?: string | undefined;
|
|
178
|
+
en_us?: string | undefined;
|
|
179
|
+
}
|
|
180
|
+
| undefined;
|
|
181
|
+
}
|
|
182
|
+
| undefined;
|
|
183
|
+
department_path?:
|
|
184
|
+
| {
|
|
185
|
+
department_ids?: string[] | undefined;
|
|
186
|
+
department_path_name?:
|
|
187
|
+
| {
|
|
188
|
+
name?: string | undefined;
|
|
189
|
+
i18n_name?:
|
|
190
|
+
| {
|
|
191
|
+
zh_cn?: string | undefined;
|
|
192
|
+
ja_jp?: string | undefined;
|
|
193
|
+
en_us?: string | undefined;
|
|
194
|
+
}
|
|
195
|
+
| undefined;
|
|
196
|
+
}
|
|
197
|
+
| undefined;
|
|
198
|
+
}
|
|
199
|
+
| undefined;
|
|
200
|
+
}[]
|
|
201
|
+
| undefined;
|
|
158
202
|
dotted_line_leader_user_ids?: string[] | undefined;
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
203
|
+
}
|
|
204
|
+
| undefined;
|
|
205
|
+
}
|
|
206
|
+
| undefined;
|
|
207
|
+
}>;
|
|
208
|
+
getOpenid(nickName: string | string[]): Promise<
|
|
209
|
+
{
|
|
210
|
+
id: string;
|
|
211
|
+
}[]
|
|
212
|
+
>;
|
|
213
|
+
getReceiveIds(nickNameList: string[]): Promise<string[]>;
|
|
214
|
+
getReceiveIdsByEhr(nickNameList: string[]): Promise<string[]>;
|
|
215
|
+
getDepartmentList(
|
|
216
|
+
department_id: any,
|
|
217
|
+
department_id_type?: 'department_id' | 'open_department_id',
|
|
218
|
+
): Promise<TypeDepartment[]>;
|
|
219
|
+
private contactUserList;
|
|
220
|
+
private contactListAll;
|
|
221
|
+
getContacts(): Promise<TypeUserStore[]>;
|
|
222
|
+
getAllContacts(user_id_type?: 'open_id' | 'user_id' | 'union_id'): Promise<
|
|
223
|
+
{
|
|
224
|
+
user_id?: string | undefined;
|
|
225
|
+
system_fields?:
|
|
226
|
+
| {
|
|
174
227
|
name?: string | undefined;
|
|
175
228
|
en_name?: string | undefined;
|
|
176
229
|
email?: string | undefined;
|
|
177
230
|
mobile?: string | undefined;
|
|
178
231
|
department_id?: string | undefined;
|
|
179
|
-
manager?:
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
232
|
+
manager?:
|
|
233
|
+
| {
|
|
234
|
+
user_id?: string | undefined;
|
|
235
|
+
name?: string | undefined;
|
|
236
|
+
en_name?: string | undefined;
|
|
237
|
+
}
|
|
238
|
+
| undefined;
|
|
239
|
+
job?:
|
|
240
|
+
| {
|
|
241
|
+
id?: number | undefined;
|
|
242
|
+
name?: string | undefined;
|
|
243
|
+
}
|
|
244
|
+
| undefined;
|
|
245
|
+
job_level?:
|
|
246
|
+
| {
|
|
247
|
+
id?: number | undefined;
|
|
248
|
+
name?: string | undefined;
|
|
249
|
+
}
|
|
250
|
+
| undefined;
|
|
251
|
+
work_location?:
|
|
252
|
+
| {
|
|
253
|
+
id?: number | undefined;
|
|
254
|
+
name?: string | undefined;
|
|
255
|
+
}
|
|
256
|
+
| undefined;
|
|
196
257
|
gender?: number | undefined;
|
|
197
258
|
birthday?: string | undefined;
|
|
198
|
-
native_region?:
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
259
|
+
native_region?:
|
|
260
|
+
| {
|
|
261
|
+
iso_code?: string | undefined;
|
|
262
|
+
name?: string | undefined;
|
|
263
|
+
}
|
|
264
|
+
| undefined;
|
|
202
265
|
ethnicity?: number | undefined;
|
|
203
266
|
marital_status?: number | undefined;
|
|
204
267
|
political_status?: number | undefined;
|
|
@@ -223,111 +286,143 @@ export declare class ContactBase {
|
|
|
223
286
|
departure_type?: number | undefined;
|
|
224
287
|
departure_reason?: number | undefined;
|
|
225
288
|
departure_notes?: string | undefined;
|
|
226
|
-
contract_company?:
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
289
|
+
contract_company?:
|
|
290
|
+
| {
|
|
291
|
+
id?: number | undefined;
|
|
292
|
+
name?: string | undefined;
|
|
293
|
+
}
|
|
294
|
+
| undefined;
|
|
230
295
|
contract_type?: number | undefined;
|
|
231
296
|
contract_start_date?: string | undefined;
|
|
232
297
|
contract_expiration_date?: string | undefined;
|
|
233
298
|
contract_sign_times?: number | undefined;
|
|
234
299
|
personal_email?: string | undefined;
|
|
235
300
|
family_address?: string | undefined;
|
|
236
|
-
primary_emergency_contact?:
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
301
|
+
primary_emergency_contact?:
|
|
302
|
+
| {
|
|
303
|
+
name?: string | undefined;
|
|
304
|
+
relationship?: number | undefined;
|
|
305
|
+
mobile?: string | undefined;
|
|
306
|
+
}
|
|
307
|
+
| undefined;
|
|
308
|
+
emergency_contact?:
|
|
309
|
+
| {
|
|
310
|
+
name?: string | undefined;
|
|
311
|
+
relationship?: number | undefined;
|
|
312
|
+
mobile?: string | undefined;
|
|
313
|
+
}[]
|
|
314
|
+
| undefined;
|
|
315
|
+
highest_level_of_edu?:
|
|
316
|
+
| {
|
|
317
|
+
level?: number | undefined;
|
|
318
|
+
school?: string | undefined;
|
|
319
|
+
major?: string | undefined;
|
|
320
|
+
degree?: number | undefined;
|
|
321
|
+
start?: string | undefined;
|
|
322
|
+
end?: string | undefined;
|
|
323
|
+
}
|
|
324
|
+
| undefined;
|
|
325
|
+
education?:
|
|
326
|
+
| {
|
|
327
|
+
level?: number | undefined;
|
|
328
|
+
school?: string | undefined;
|
|
329
|
+
major?: string | undefined;
|
|
330
|
+
degree?: number | undefined;
|
|
331
|
+
start?: string | undefined;
|
|
332
|
+
end?: string | undefined;
|
|
333
|
+
}[]
|
|
334
|
+
| undefined;
|
|
335
|
+
former_work_exp?:
|
|
336
|
+
| {
|
|
337
|
+
company?: string | undefined;
|
|
338
|
+
department?: string | undefined;
|
|
339
|
+
job?: string | undefined;
|
|
340
|
+
start?: string | undefined;
|
|
341
|
+
end?: string | undefined;
|
|
342
|
+
description?: string | undefined;
|
|
343
|
+
}
|
|
344
|
+
| undefined;
|
|
345
|
+
work_exp?:
|
|
346
|
+
| {
|
|
347
|
+
company?: string | undefined;
|
|
348
|
+
department?: string | undefined;
|
|
349
|
+
job?: string | undefined;
|
|
350
|
+
start?: string | undefined;
|
|
351
|
+
end?: string | undefined;
|
|
352
|
+
description?: string | undefined;
|
|
353
|
+
}[]
|
|
354
|
+
| undefined;
|
|
355
|
+
id_photo_po_side?:
|
|
356
|
+
| {
|
|
357
|
+
id?: string | undefined;
|
|
358
|
+
mime_type?: string | undefined;
|
|
359
|
+
name?: string | undefined;
|
|
360
|
+
size?: number | undefined;
|
|
361
|
+
}[]
|
|
362
|
+
| undefined;
|
|
363
|
+
id_photo_em_side?:
|
|
364
|
+
| {
|
|
365
|
+
id?: string | undefined;
|
|
366
|
+
mime_type?: string | undefined;
|
|
367
|
+
name?: string | undefined;
|
|
368
|
+
size?: number | undefined;
|
|
369
|
+
}[]
|
|
370
|
+
| undefined;
|
|
371
|
+
id_photo?:
|
|
372
|
+
| {
|
|
373
|
+
id?: string | undefined;
|
|
374
|
+
mime_type?: string | undefined;
|
|
375
|
+
name?: string | undefined;
|
|
376
|
+
size?: number | undefined;
|
|
377
|
+
}[]
|
|
378
|
+
| undefined;
|
|
379
|
+
diploma_photo?:
|
|
380
|
+
| {
|
|
381
|
+
id?: string | undefined;
|
|
382
|
+
mime_type?: string | undefined;
|
|
383
|
+
name?: string | undefined;
|
|
384
|
+
size?: number | undefined;
|
|
385
|
+
}[]
|
|
386
|
+
| undefined;
|
|
387
|
+
graduation_cert?:
|
|
388
|
+
| {
|
|
389
|
+
id?: string | undefined;
|
|
390
|
+
mime_type?: string | undefined;
|
|
391
|
+
name?: string | undefined;
|
|
392
|
+
size?: number | undefined;
|
|
393
|
+
}[]
|
|
394
|
+
| undefined;
|
|
395
|
+
cert_of_merit?:
|
|
396
|
+
| {
|
|
397
|
+
id?: string | undefined;
|
|
398
|
+
mime_type?: string | undefined;
|
|
399
|
+
name?: string | undefined;
|
|
400
|
+
size?: number | undefined;
|
|
401
|
+
}[]
|
|
402
|
+
| undefined;
|
|
403
|
+
offboarding_file?:
|
|
404
|
+
| {
|
|
405
|
+
id?: string | undefined;
|
|
406
|
+
mime_type?: string | undefined;
|
|
407
|
+
name?: string | undefined;
|
|
408
|
+
size?: number | undefined;
|
|
409
|
+
}[]
|
|
410
|
+
| undefined;
|
|
320
411
|
cancel_onboarding_reason?: number | undefined;
|
|
321
412
|
cancel_onboarding_notes?: string | undefined;
|
|
322
413
|
employee_form_status?: number | undefined;
|
|
323
414
|
create_time?: number | undefined;
|
|
324
415
|
update_time?: number | undefined;
|
|
325
|
-
|
|
326
|
-
|
|
416
|
+
}
|
|
417
|
+
| undefined;
|
|
418
|
+
custom_fields?:
|
|
419
|
+
| {
|
|
327
420
|
key?: string | undefined;
|
|
328
421
|
label?: string | undefined;
|
|
329
|
-
type?:
|
|
422
|
+
type?: 'text' | 'file' | 'date' | 'option' | undefined;
|
|
330
423
|
value?: string | undefined;
|
|
331
|
-
|
|
332
|
-
|
|
424
|
+
}[]
|
|
425
|
+
| undefined;
|
|
426
|
+
}[]
|
|
427
|
+
>;
|
|
333
428
|
}
|
package/dist/contact-base.js
CHANGED