@larksuiteoapi/node-sdk 1.18.0 → 1.19.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/README.md +4 -2
- package/README.zh.md +4 -2
- package/es/index.js +643 -13
- package/lib/index.js +643 -13
- package/package.json +1 -1
- package/types/index.d.ts +1531 -68
package/types/index.d.ts
CHANGED
|
@@ -394,7 +394,7 @@ declare abstract class Client$1 {
|
|
|
394
394
|
};
|
|
395
395
|
};
|
|
396
396
|
/**
|
|
397
|
-
*
|
|
397
|
+
* 管理后台-密码
|
|
398
398
|
*/
|
|
399
399
|
admin: {
|
|
400
400
|
/**
|
|
@@ -461,6 +461,12 @@ declare abstract class Client$1 {
|
|
|
461
461
|
create_task_user_num?: number | undefined;
|
|
462
462
|
create_task_num?: number | undefined;
|
|
463
463
|
avg_create_task_num?: string | undefined;
|
|
464
|
+
email_send_count?: string | undefined;
|
|
465
|
+
email_receive_count?: string | undefined;
|
|
466
|
+
email_send_ext_count?: string | undefined;
|
|
467
|
+
email_receive_ext_count?: string | undefined;
|
|
468
|
+
email_send_in_count?: string | undefined;
|
|
469
|
+
email_receive_in_count?: string | undefined;
|
|
464
470
|
}[] | undefined;
|
|
465
471
|
} | undefined;
|
|
466
472
|
}>;
|
|
@@ -521,6 +527,12 @@ declare abstract class Client$1 {
|
|
|
521
527
|
vc_num?: number | undefined;
|
|
522
528
|
app_package_type?: string | undefined;
|
|
523
529
|
os_name?: string | undefined;
|
|
530
|
+
email_send_count?: string | undefined;
|
|
531
|
+
email_receive_count?: string | undefined;
|
|
532
|
+
email_send_ext_count?: string | undefined;
|
|
533
|
+
email_receive_ext_count?: string | undefined;
|
|
534
|
+
email_send_in_count?: string | undefined;
|
|
535
|
+
email_receive_in_count?: string | undefined;
|
|
524
536
|
}[] | undefined;
|
|
525
537
|
} | undefined;
|
|
526
538
|
}>;
|
|
@@ -2001,6 +2013,7 @@ declare abstract class Client$1 {
|
|
|
2001
2013
|
}>;
|
|
2002
2014
|
form: {
|
|
2003
2015
|
form_content: string;
|
|
2016
|
+
widget_relation?: string;
|
|
2004
2017
|
};
|
|
2005
2018
|
node_list: Array<{
|
|
2006
2019
|
id: string;
|
|
@@ -2107,6 +2120,7 @@ declare abstract class Client$1 {
|
|
|
2107
2120
|
user_id?: string;
|
|
2108
2121
|
}>;
|
|
2109
2122
|
approval_admin_ids?: string[] | undefined;
|
|
2123
|
+
form_widget_relation?: string | undefined;
|
|
2110
2124
|
} | undefined;
|
|
2111
2125
|
}>;
|
|
2112
2126
|
/**
|
|
@@ -3187,7 +3201,7 @@ declare abstract class Client$1 {
|
|
|
3187
3201
|
}>;
|
|
3188
3202
|
};
|
|
3189
3203
|
/**
|
|
3190
|
-
*
|
|
3204
|
+
* 审批查询
|
|
3191
3205
|
*/
|
|
3192
3206
|
task: {
|
|
3193
3207
|
/**
|
|
@@ -4073,6 +4087,9 @@ declare abstract class Client$1 {
|
|
|
4073
4087
|
expiration_date?: string;
|
|
4074
4088
|
quantity?: string;
|
|
4075
4089
|
};
|
|
4090
|
+
params?: {
|
|
4091
|
+
user_id_type?: "open_id" | "people_corehr_id" | "union_id" | "user_id";
|
|
4092
|
+
};
|
|
4076
4093
|
path?: {
|
|
4077
4094
|
leave_id?: string;
|
|
4078
4095
|
};
|
|
@@ -4118,6 +4135,9 @@ declare abstract class Client$1 {
|
|
|
4118
4135
|
end_expiration_date: string;
|
|
4119
4136
|
time_offset?: number;
|
|
4120
4137
|
};
|
|
4138
|
+
params?: {
|
|
4139
|
+
user_id_type?: "open_id" | "people_corehr_id" | "union_id" | "user_id";
|
|
4140
|
+
};
|
|
4121
4141
|
path?: {
|
|
4122
4142
|
leave_id?: string;
|
|
4123
4143
|
};
|
|
@@ -4190,6 +4210,10 @@ declare abstract class Client$1 {
|
|
|
4190
4210
|
rest_begin_time: string;
|
|
4191
4211
|
rest_end_time: string;
|
|
4192
4212
|
}>;
|
|
4213
|
+
overtime_rule?: Array<{
|
|
4214
|
+
on_overtime: string;
|
|
4215
|
+
off_overtime: string;
|
|
4216
|
+
}>;
|
|
4193
4217
|
};
|
|
4194
4218
|
}, options?: IRequestOptions$1) => Promise<{
|
|
4195
4219
|
code?: number | undefined;
|
|
@@ -4225,6 +4249,10 @@ declare abstract class Client$1 {
|
|
|
4225
4249
|
rest_begin_time: string;
|
|
4226
4250
|
rest_end_time: string;
|
|
4227
4251
|
}[] | undefined;
|
|
4252
|
+
overtime_rule?: {
|
|
4253
|
+
on_overtime: string;
|
|
4254
|
+
off_overtime: string;
|
|
4255
|
+
}[] | undefined;
|
|
4228
4256
|
} | undefined;
|
|
4229
4257
|
} | undefined;
|
|
4230
4258
|
}>;
|
|
@@ -4292,6 +4320,10 @@ declare abstract class Client$1 {
|
|
|
4292
4320
|
rest_begin_time: string;
|
|
4293
4321
|
rest_end_time: string;
|
|
4294
4322
|
}[] | undefined;
|
|
4323
|
+
overtime_rule?: {
|
|
4324
|
+
on_overtime: string;
|
|
4325
|
+
off_overtime: string;
|
|
4326
|
+
}[] | undefined;
|
|
4295
4327
|
} | undefined;
|
|
4296
4328
|
}>;
|
|
4297
4329
|
listWithIterator: (payload?: {
|
|
@@ -4331,6 +4363,10 @@ declare abstract class Client$1 {
|
|
|
4331
4363
|
rest_begin_time: string;
|
|
4332
4364
|
rest_end_time: string;
|
|
4333
4365
|
}[] | undefined;
|
|
4366
|
+
overtime_rule?: {
|
|
4367
|
+
on_overtime: string;
|
|
4368
|
+
off_overtime: string;
|
|
4369
|
+
}[] | undefined;
|
|
4334
4370
|
}[] | undefined;
|
|
4335
4371
|
} | null, void, unknown>;
|
|
4336
4372
|
}>;
|
|
@@ -4382,6 +4418,10 @@ declare abstract class Client$1 {
|
|
|
4382
4418
|
rest_begin_time: string;
|
|
4383
4419
|
rest_end_time: string;
|
|
4384
4420
|
}[] | undefined;
|
|
4421
|
+
overtime_rule?: {
|
|
4422
|
+
on_overtime: string;
|
|
4423
|
+
off_overtime: string;
|
|
4424
|
+
}[] | undefined;
|
|
4385
4425
|
}[] | undefined;
|
|
4386
4426
|
page_token?: string | undefined;
|
|
4387
4427
|
has_more?: boolean | undefined;
|
|
@@ -4433,6 +4473,10 @@ declare abstract class Client$1 {
|
|
|
4433
4473
|
rest_begin_time: string;
|
|
4434
4474
|
rest_end_time: string;
|
|
4435
4475
|
}[] | undefined;
|
|
4476
|
+
overtime_rule?: {
|
|
4477
|
+
on_overtime: string;
|
|
4478
|
+
off_overtime: string;
|
|
4479
|
+
}[] | undefined;
|
|
4436
4480
|
} | undefined;
|
|
4437
4481
|
}>;
|
|
4438
4482
|
};
|
|
@@ -5148,6 +5192,7 @@ declare abstract class Client$1 {
|
|
|
5148
5192
|
user_ids: Array<string>;
|
|
5149
5193
|
check_date_from: number;
|
|
5150
5194
|
check_date_to: number;
|
|
5195
|
+
need_overtime_result?: boolean;
|
|
5151
5196
|
};
|
|
5152
5197
|
params: {
|
|
5153
5198
|
employee_type: "employee_id" | "employee_no";
|
|
@@ -5210,6 +5255,7 @@ declare abstract class Client$1 {
|
|
|
5210
5255
|
check_out_result_supplement: "None" | "ManagerModification" | "CardReplacement" | "ShiftChange" | "Travel" | "Leave" | "GoOut" | "CardReplacementApplication" | "FieldPunch";
|
|
5211
5256
|
check_in_shift_time?: string;
|
|
5212
5257
|
check_out_shift_time?: string;
|
|
5258
|
+
task_shift_type?: number;
|
|
5213
5259
|
}>;
|
|
5214
5260
|
}[] | undefined;
|
|
5215
5261
|
invalid_user_ids?: string[] | undefined;
|
|
@@ -7505,6 +7551,17 @@ declare abstract class Client$1 {
|
|
|
7505
7551
|
input_type: "only_mobile" | "not_limit";
|
|
7506
7552
|
} | undefined;
|
|
7507
7553
|
formula_expression?: string | undefined;
|
|
7554
|
+
allowed_edit_modes?: {
|
|
7555
|
+
manual?: boolean | undefined;
|
|
7556
|
+
scan?: boolean | undefined;
|
|
7557
|
+
} | undefined;
|
|
7558
|
+
min?: number | undefined;
|
|
7559
|
+
max?: number | undefined;
|
|
7560
|
+
range_customize?: boolean | undefined;
|
|
7561
|
+
currency_code?: string | undefined;
|
|
7562
|
+
rating?: {
|
|
7563
|
+
symbol?: string | undefined;
|
|
7564
|
+
} | undefined;
|
|
7508
7565
|
} | undefined;
|
|
7509
7566
|
description?: {
|
|
7510
7567
|
disable_sync?: boolean | undefined;
|
|
@@ -7592,6 +7649,17 @@ declare abstract class Client$1 {
|
|
|
7592
7649
|
input_type: "only_mobile" | "not_limit";
|
|
7593
7650
|
} | undefined;
|
|
7594
7651
|
formula_expression?: string | undefined;
|
|
7652
|
+
allowed_edit_modes?: {
|
|
7653
|
+
manual?: boolean | undefined;
|
|
7654
|
+
scan?: boolean | undefined;
|
|
7655
|
+
} | undefined;
|
|
7656
|
+
min?: number | undefined;
|
|
7657
|
+
max?: number | undefined;
|
|
7658
|
+
range_customize?: boolean | undefined;
|
|
7659
|
+
currency_code?: string | undefined;
|
|
7660
|
+
rating?: {
|
|
7661
|
+
symbol?: string | undefined;
|
|
7662
|
+
} | undefined;
|
|
7595
7663
|
} | undefined;
|
|
7596
7664
|
description?: {
|
|
7597
7665
|
disable_sync?: boolean | undefined;
|
|
@@ -7748,6 +7816,17 @@ declare abstract class Client$1 {
|
|
|
7748
7816
|
input_type: "only_mobile" | "not_limit";
|
|
7749
7817
|
} | undefined;
|
|
7750
7818
|
formula_expression?: string | undefined;
|
|
7819
|
+
allowed_edit_modes?: {
|
|
7820
|
+
manual?: boolean | undefined;
|
|
7821
|
+
scan?: boolean | undefined;
|
|
7822
|
+
} | undefined;
|
|
7823
|
+
min?: number | undefined;
|
|
7824
|
+
max?: number | undefined;
|
|
7825
|
+
range_customize?: boolean | undefined;
|
|
7826
|
+
currency_code?: string | undefined;
|
|
7827
|
+
rating?: {
|
|
7828
|
+
symbol?: string | undefined;
|
|
7829
|
+
} | undefined;
|
|
7751
7830
|
} | undefined;
|
|
7752
7831
|
description?: {
|
|
7753
7832
|
disable_sync?: boolean | undefined;
|
|
@@ -7794,6 +7873,17 @@ declare abstract class Client$1 {
|
|
|
7794
7873
|
input_type: "only_mobile" | "not_limit";
|
|
7795
7874
|
} | undefined;
|
|
7796
7875
|
formula_expression?: string | undefined;
|
|
7876
|
+
allowed_edit_modes?: {
|
|
7877
|
+
manual?: boolean | undefined;
|
|
7878
|
+
scan?: boolean | undefined;
|
|
7879
|
+
} | undefined;
|
|
7880
|
+
min?: number | undefined;
|
|
7881
|
+
max?: number | undefined;
|
|
7882
|
+
range_customize?: boolean | undefined;
|
|
7883
|
+
currency_code?: string | undefined;
|
|
7884
|
+
rating?: {
|
|
7885
|
+
symbol?: string | undefined;
|
|
7886
|
+
} | undefined;
|
|
7797
7887
|
} | undefined;
|
|
7798
7888
|
description?: {
|
|
7799
7889
|
disable_sync?: boolean | undefined;
|
|
@@ -7872,6 +7962,17 @@ declare abstract class Client$1 {
|
|
|
7872
7962
|
input_type: "only_mobile" | "not_limit";
|
|
7873
7963
|
} | undefined;
|
|
7874
7964
|
formula_expression?: string | undefined;
|
|
7965
|
+
allowed_edit_modes?: {
|
|
7966
|
+
manual?: boolean | undefined;
|
|
7967
|
+
scan?: boolean | undefined;
|
|
7968
|
+
} | undefined;
|
|
7969
|
+
min?: number | undefined;
|
|
7970
|
+
max?: number | undefined;
|
|
7971
|
+
range_customize?: boolean | undefined;
|
|
7972
|
+
currency_code?: string | undefined;
|
|
7973
|
+
rating?: {
|
|
7974
|
+
symbol?: string | undefined;
|
|
7975
|
+
} | undefined;
|
|
7875
7976
|
} | undefined;
|
|
7876
7977
|
description?: {
|
|
7877
7978
|
disable_sync?: boolean | undefined;
|
|
@@ -7940,6 +8041,17 @@ declare abstract class Client$1 {
|
|
|
7940
8041
|
input_type: "only_mobile" | "not_limit";
|
|
7941
8042
|
} | undefined;
|
|
7942
8043
|
formula_expression?: string | undefined;
|
|
8044
|
+
allowed_edit_modes?: {
|
|
8045
|
+
manual?: boolean | undefined;
|
|
8046
|
+
scan?: boolean | undefined;
|
|
8047
|
+
} | undefined;
|
|
8048
|
+
min?: number | undefined;
|
|
8049
|
+
max?: number | undefined;
|
|
8050
|
+
range_customize?: boolean | undefined;
|
|
8051
|
+
currency_code?: string | undefined;
|
|
8052
|
+
rating?: {
|
|
8053
|
+
symbol?: string | undefined;
|
|
8054
|
+
} | undefined;
|
|
7943
8055
|
} | undefined;
|
|
7944
8056
|
description?: {
|
|
7945
8057
|
disable_sync?: boolean | undefined;
|
|
@@ -7990,6 +8102,17 @@ declare abstract class Client$1 {
|
|
|
7990
8102
|
input_type: "only_mobile" | "not_limit";
|
|
7991
8103
|
} | undefined;
|
|
7992
8104
|
formula_expression?: string | undefined;
|
|
8105
|
+
allowed_edit_modes?: {
|
|
8106
|
+
manual?: boolean | undefined;
|
|
8107
|
+
scan?: boolean | undefined;
|
|
8108
|
+
} | undefined;
|
|
8109
|
+
min?: number | undefined;
|
|
8110
|
+
max?: number | undefined;
|
|
8111
|
+
range_customize?: boolean | undefined;
|
|
8112
|
+
currency_code?: string | undefined;
|
|
8113
|
+
rating?: {
|
|
8114
|
+
symbol?: string | undefined;
|
|
8115
|
+
} | undefined;
|
|
7993
8116
|
} | undefined;
|
|
7994
8117
|
description?: {
|
|
7995
8118
|
disable_sync?: boolean | undefined;
|
|
@@ -8034,6 +8157,17 @@ declare abstract class Client$1 {
|
|
|
8034
8157
|
input_type: "only_mobile" | "not_limit";
|
|
8035
8158
|
} | undefined;
|
|
8036
8159
|
formula_expression?: string | undefined;
|
|
8160
|
+
allowed_edit_modes?: {
|
|
8161
|
+
manual?: boolean | undefined;
|
|
8162
|
+
scan?: boolean | undefined;
|
|
8163
|
+
} | undefined;
|
|
8164
|
+
min?: number | undefined;
|
|
8165
|
+
max?: number | undefined;
|
|
8166
|
+
range_customize?: boolean | undefined;
|
|
8167
|
+
currency_code?: string | undefined;
|
|
8168
|
+
rating?: {
|
|
8169
|
+
symbol?: string | undefined;
|
|
8170
|
+
} | undefined;
|
|
8037
8171
|
} | undefined;
|
|
8038
8172
|
description?: {
|
|
8039
8173
|
disable_sync?: boolean | undefined;
|
|
@@ -8258,7 +8392,11 @@ declare abstract class Client$1 {
|
|
|
8258
8392
|
address?: string;
|
|
8259
8393
|
name?: string;
|
|
8260
8394
|
full_address?: string;
|
|
8261
|
-
} | Array<
|
|
8395
|
+
} | Array<{
|
|
8396
|
+
id?: string;
|
|
8397
|
+
name?: string;
|
|
8398
|
+
avatar_url?: string;
|
|
8399
|
+
}> | Array<string> | Array<{
|
|
8262
8400
|
id?: string;
|
|
8263
8401
|
name?: string;
|
|
8264
8402
|
en_name?: string;
|
|
@@ -8315,7 +8453,11 @@ declare abstract class Client$1 {
|
|
|
8315
8453
|
address?: string;
|
|
8316
8454
|
name?: string;
|
|
8317
8455
|
full_address?: string;
|
|
8318
|
-
} | Array<
|
|
8456
|
+
} | Array<{
|
|
8457
|
+
id?: string;
|
|
8458
|
+
name?: string;
|
|
8459
|
+
avatar_url?: string;
|
|
8460
|
+
}> | Array<string> | Array<{
|
|
8319
8461
|
id?: string;
|
|
8320
8462
|
name?: string;
|
|
8321
8463
|
en_name?: string;
|
|
@@ -8403,7 +8545,11 @@ declare abstract class Client$1 {
|
|
|
8403
8545
|
address?: string;
|
|
8404
8546
|
name?: string;
|
|
8405
8547
|
full_address?: string;
|
|
8406
|
-
} | Array<
|
|
8548
|
+
} | Array<{
|
|
8549
|
+
id?: string;
|
|
8550
|
+
name?: string;
|
|
8551
|
+
avatar_url?: string;
|
|
8552
|
+
}> | Array<string> | Array<{
|
|
8407
8553
|
id?: string;
|
|
8408
8554
|
name?: string;
|
|
8409
8555
|
en_name?: string;
|
|
@@ -8459,7 +8605,11 @@ declare abstract class Client$1 {
|
|
|
8459
8605
|
address?: string;
|
|
8460
8606
|
name?: string;
|
|
8461
8607
|
full_address?: string;
|
|
8462
|
-
} | Array<
|
|
8608
|
+
} | Array<{
|
|
8609
|
+
id?: string;
|
|
8610
|
+
name?: string;
|
|
8611
|
+
avatar_url?: string;
|
|
8612
|
+
}> | Array<string> | Array<{
|
|
8463
8613
|
id?: string;
|
|
8464
8614
|
name?: string;
|
|
8465
8615
|
en_name?: string;
|
|
@@ -8500,7 +8650,11 @@ declare abstract class Client$1 {
|
|
|
8500
8650
|
address?: string;
|
|
8501
8651
|
name?: string;
|
|
8502
8652
|
full_address?: string;
|
|
8503
|
-
} | Array<
|
|
8653
|
+
} | Array<{
|
|
8654
|
+
id?: string;
|
|
8655
|
+
name?: string;
|
|
8656
|
+
avatar_url?: string;
|
|
8657
|
+
}> | Array<string> | Array<{
|
|
8504
8658
|
id?: string;
|
|
8505
8659
|
name?: string;
|
|
8506
8660
|
en_name?: string;
|
|
@@ -8555,7 +8709,11 @@ declare abstract class Client$1 {
|
|
|
8555
8709
|
address?: string;
|
|
8556
8710
|
name?: string;
|
|
8557
8711
|
full_address?: string;
|
|
8558
|
-
} | Array<
|
|
8712
|
+
} | Array<{
|
|
8713
|
+
id?: string;
|
|
8714
|
+
name?: string;
|
|
8715
|
+
avatar_url?: string;
|
|
8716
|
+
}> | Array<string> | Array<{
|
|
8559
8717
|
id?: string;
|
|
8560
8718
|
name?: string;
|
|
8561
8719
|
en_name?: string;
|
|
@@ -8653,7 +8811,11 @@ declare abstract class Client$1 {
|
|
|
8653
8811
|
address?: string;
|
|
8654
8812
|
name?: string;
|
|
8655
8813
|
full_address?: string;
|
|
8656
|
-
} | Array<
|
|
8814
|
+
} | Array<{
|
|
8815
|
+
id?: string;
|
|
8816
|
+
name?: string;
|
|
8817
|
+
avatar_url?: string;
|
|
8818
|
+
}> | Array<string> | Array<{
|
|
8657
8819
|
id?: string;
|
|
8658
8820
|
name?: string;
|
|
8659
8821
|
en_name?: string;
|
|
@@ -8719,7 +8881,11 @@ declare abstract class Client$1 {
|
|
|
8719
8881
|
address?: string;
|
|
8720
8882
|
name?: string;
|
|
8721
8883
|
full_address?: string;
|
|
8722
|
-
} | Array<
|
|
8884
|
+
} | Array<{
|
|
8885
|
+
id?: string;
|
|
8886
|
+
name?: string;
|
|
8887
|
+
avatar_url?: string;
|
|
8888
|
+
}> | Array<string> | Array<{
|
|
8723
8889
|
id?: string;
|
|
8724
8890
|
name?: string;
|
|
8725
8891
|
en_name?: string;
|
|
@@ -8800,7 +8966,11 @@ declare abstract class Client$1 {
|
|
|
8800
8966
|
address?: string;
|
|
8801
8967
|
name?: string;
|
|
8802
8968
|
full_address?: string;
|
|
8803
|
-
} | Array<
|
|
8969
|
+
} | Array<{
|
|
8970
|
+
id?: string;
|
|
8971
|
+
name?: string;
|
|
8972
|
+
avatar_url?: string;
|
|
8973
|
+
}> | Array<string> | Array<{
|
|
8804
8974
|
id?: string;
|
|
8805
8975
|
name?: string;
|
|
8806
8976
|
en_name?: string;
|
|
@@ -8841,7 +9011,11 @@ declare abstract class Client$1 {
|
|
|
8841
9011
|
address?: string;
|
|
8842
9012
|
name?: string;
|
|
8843
9013
|
full_address?: string;
|
|
8844
|
-
} | Array<
|
|
9014
|
+
} | Array<{
|
|
9015
|
+
id?: string;
|
|
9016
|
+
name?: string;
|
|
9017
|
+
avatar_url?: string;
|
|
9018
|
+
}> | Array<string> | Array<{
|
|
8845
9019
|
id?: string;
|
|
8846
9020
|
name?: string;
|
|
8847
9021
|
en_name?: string;
|
|
@@ -8896,7 +9070,11 @@ declare abstract class Client$1 {
|
|
|
8896
9070
|
address?: string;
|
|
8897
9071
|
name?: string;
|
|
8898
9072
|
full_address?: string;
|
|
8899
|
-
} | Array<
|
|
9073
|
+
} | Array<{
|
|
9074
|
+
id?: string;
|
|
9075
|
+
name?: string;
|
|
9076
|
+
avatar_url?: string;
|
|
9077
|
+
}> | Array<string> | Array<{
|
|
8900
9078
|
id?: string;
|
|
8901
9079
|
name?: string;
|
|
8902
9080
|
en_name?: string;
|
|
@@ -8959,6 +9137,9 @@ declare abstract class Client$1 {
|
|
|
8959
9137
|
condition_omitted?: boolean | undefined;
|
|
8960
9138
|
} | undefined;
|
|
8961
9139
|
hidden_fields?: string[] | undefined;
|
|
9140
|
+
hierarchy_config?: {
|
|
9141
|
+
field_id?: string | undefined;
|
|
9142
|
+
} | undefined;
|
|
8962
9143
|
} | undefined;
|
|
8963
9144
|
view_public_level?: "Public" | "Locked" | "Private" | undefined;
|
|
8964
9145
|
view_private_owner_id?: string | undefined;
|
|
@@ -9023,6 +9204,9 @@ declare abstract class Client$1 {
|
|
|
9023
9204
|
condition_omitted?: boolean | undefined;
|
|
9024
9205
|
} | undefined;
|
|
9025
9206
|
hidden_fields?: string[] | undefined;
|
|
9207
|
+
hierarchy_config?: {
|
|
9208
|
+
field_id?: string | undefined;
|
|
9209
|
+
} | undefined;
|
|
9026
9210
|
} | undefined;
|
|
9027
9211
|
view_public_level?: "Public" | "Locked" | "Private" | undefined;
|
|
9028
9212
|
view_private_owner_id?: string | undefined;
|
|
@@ -9058,6 +9242,9 @@ declare abstract class Client$1 {
|
|
|
9058
9242
|
condition_omitted?: boolean | undefined;
|
|
9059
9243
|
} | undefined;
|
|
9060
9244
|
hidden_fields?: string[] | undefined;
|
|
9245
|
+
hierarchy_config?: {
|
|
9246
|
+
field_id?: string | undefined;
|
|
9247
|
+
} | undefined;
|
|
9061
9248
|
} | undefined;
|
|
9062
9249
|
view_public_level?: "Public" | "Locked" | "Private" | undefined;
|
|
9063
9250
|
view_private_owner_id?: string | undefined;
|
|
@@ -9107,6 +9294,9 @@ declare abstract class Client$1 {
|
|
|
9107
9294
|
condition_omitted?: boolean | undefined;
|
|
9108
9295
|
} | undefined;
|
|
9109
9296
|
hidden_fields?: string[] | undefined;
|
|
9297
|
+
hierarchy_config?: {
|
|
9298
|
+
field_id?: string | undefined;
|
|
9299
|
+
} | undefined;
|
|
9110
9300
|
} | undefined;
|
|
9111
9301
|
view_public_level?: "Public" | "Locked" | "Private" | undefined;
|
|
9112
9302
|
view_private_owner_id?: string | undefined;
|
|
@@ -9138,6 +9328,9 @@ declare abstract class Client$1 {
|
|
|
9138
9328
|
}>;
|
|
9139
9329
|
};
|
|
9140
9330
|
hidden_fields?: Array<string>;
|
|
9331
|
+
hierarchy_config?: {
|
|
9332
|
+
field_id?: string;
|
|
9333
|
+
};
|
|
9141
9334
|
};
|
|
9142
9335
|
};
|
|
9143
9336
|
path?: {
|
|
@@ -9166,6 +9359,9 @@ declare abstract class Client$1 {
|
|
|
9166
9359
|
condition_omitted?: boolean | undefined;
|
|
9167
9360
|
} | undefined;
|
|
9168
9361
|
hidden_fields?: string[] | undefined;
|
|
9362
|
+
hierarchy_config?: {
|
|
9363
|
+
field_id?: string | undefined;
|
|
9364
|
+
} | undefined;
|
|
9169
9365
|
} | undefined;
|
|
9170
9366
|
view_public_level?: "Public" | "Locked" | "Private" | undefined;
|
|
9171
9367
|
view_private_owner_id?: string | undefined;
|
|
@@ -10998,6 +11194,50 @@ declare abstract class Client$1 {
|
|
|
10998
11194
|
* 部门
|
|
10999
11195
|
*/
|
|
11000
11196
|
department: {
|
|
11197
|
+
/**
|
|
11198
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=department&apiName=batch&version=v3 click to debug }
|
|
11199
|
+
*
|
|
11200
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch&project=contact&resource=department&version=v3 document }
|
|
11201
|
+
*/
|
|
11202
|
+
batch: (payload?: {
|
|
11203
|
+
params: {
|
|
11204
|
+
department_ids: number;
|
|
11205
|
+
department_id_type?: "open_department_id" | "department_id";
|
|
11206
|
+
user_id_type?: "open_id" | "union_id" | "user_id";
|
|
11207
|
+
};
|
|
11208
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
11209
|
+
code?: number | undefined;
|
|
11210
|
+
msg?: string | undefined;
|
|
11211
|
+
data?: {
|
|
11212
|
+
items?: {
|
|
11213
|
+
name: string;
|
|
11214
|
+
i18n_name?: {
|
|
11215
|
+
zh_cn?: string | undefined;
|
|
11216
|
+
ja_jp?: string | undefined;
|
|
11217
|
+
en_us?: string | undefined;
|
|
11218
|
+
} | undefined;
|
|
11219
|
+
parent_department_id: string;
|
|
11220
|
+
department_id?: string | undefined;
|
|
11221
|
+
open_department_id?: string | undefined;
|
|
11222
|
+
leader_user_id?: string | undefined;
|
|
11223
|
+
chat_id?: string | undefined;
|
|
11224
|
+
order?: string | undefined;
|
|
11225
|
+
unit_ids?: string[] | undefined;
|
|
11226
|
+
member_count?: number | undefined;
|
|
11227
|
+
status?: {
|
|
11228
|
+
is_deleted?: boolean | undefined;
|
|
11229
|
+
} | undefined;
|
|
11230
|
+
create_group_chat?: boolean | undefined;
|
|
11231
|
+
leaders?: {
|
|
11232
|
+
leaderType: number;
|
|
11233
|
+
leaderID: string;
|
|
11234
|
+
}[] | undefined;
|
|
11235
|
+
group_chat_employee_types?: number[] | undefined;
|
|
11236
|
+
department_hrbps?: string[] | undefined;
|
|
11237
|
+
primary_member_count?: number | undefined;
|
|
11238
|
+
}[] | undefined;
|
|
11239
|
+
} | undefined;
|
|
11240
|
+
}>;
|
|
11001
11241
|
childrenWithIterator: (payload?: {
|
|
11002
11242
|
params?: {
|
|
11003
11243
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
@@ -12023,7 +12263,6 @@ declare abstract class Client$1 {
|
|
|
12023
12263
|
description?: string;
|
|
12024
12264
|
type?: number;
|
|
12025
12265
|
dynamic_group_rule?: {
|
|
12026
|
-
department_ids?: Array<string>;
|
|
12027
12266
|
department_level?: "recursive" | "non_recursive";
|
|
12028
12267
|
expressions?: Array<{
|
|
12029
12268
|
field?: string;
|
|
@@ -12032,9 +12271,6 @@ declare abstract class Client$1 {
|
|
|
12032
12271
|
values?: Array<string>;
|
|
12033
12272
|
}>;
|
|
12034
12273
|
joiner_rule?: string;
|
|
12035
|
-
white_list?: Array<string>;
|
|
12036
|
-
black_list?: Array<string>;
|
|
12037
|
-
group_status?: "completed" | "failure" | "creating" | "updating";
|
|
12038
12274
|
};
|
|
12039
12275
|
visible_scope?: {
|
|
12040
12276
|
visible_scope_type?: "invisible" | "public" | "group_member_visible" | "specified_scope_visible";
|
|
@@ -12103,7 +12339,6 @@ declare abstract class Client$1 {
|
|
|
12103
12339
|
member_department_count?: number;
|
|
12104
12340
|
type?: number;
|
|
12105
12341
|
dynamic_group_rule?: {
|
|
12106
|
-
department_ids?: Array<string>;
|
|
12107
12342
|
department_level?: "recursive" | "non_recursive";
|
|
12108
12343
|
expressions?: Array<{
|
|
12109
12344
|
field?: string;
|
|
@@ -12112,8 +12347,6 @@ declare abstract class Client$1 {
|
|
|
12112
12347
|
values?: Array<string>;
|
|
12113
12348
|
}>;
|
|
12114
12349
|
joiner_rule?: string;
|
|
12115
|
-
white_list?: Array<string>;
|
|
12116
|
-
black_list?: Array<string>;
|
|
12117
12350
|
group_status?: "completed" | "failure" | "creating" | "updating";
|
|
12118
12351
|
};
|
|
12119
12352
|
visible_scope?: {
|
|
@@ -12166,7 +12399,6 @@ declare abstract class Client$1 {
|
|
|
12166
12399
|
name?: string;
|
|
12167
12400
|
description?: string;
|
|
12168
12401
|
dynamic_group_rule?: {
|
|
12169
|
-
department_ids?: Array<string>;
|
|
12170
12402
|
department_level?: "recursive" | "non_recursive";
|
|
12171
12403
|
expressions?: Array<{
|
|
12172
12404
|
field?: string;
|
|
@@ -12175,9 +12407,6 @@ declare abstract class Client$1 {
|
|
|
12175
12407
|
values?: Array<string>;
|
|
12176
12408
|
}>;
|
|
12177
12409
|
joiner_rule?: string;
|
|
12178
|
-
white_list?: Array<string>;
|
|
12179
|
-
black_list?: Array<string>;
|
|
12180
|
-
group_status?: "completed" | "failure" | "creating" | "updating";
|
|
12181
12410
|
};
|
|
12182
12411
|
visible_scope?: {
|
|
12183
12412
|
visible_scope_type?: "invisible" | "public" | "group_member_visible" | "specified_scope_visible";
|
|
@@ -13005,6 +13234,138 @@ declare abstract class Client$1 {
|
|
|
13005
13234
|
* 用户
|
|
13006
13235
|
*/
|
|
13007
13236
|
user: {
|
|
13237
|
+
/**
|
|
13238
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=user&apiName=batch&version=v3 click to debug }
|
|
13239
|
+
*
|
|
13240
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch&project=contact&resource=user&version=v3 document }
|
|
13241
|
+
*/
|
|
13242
|
+
batch: (payload?: {
|
|
13243
|
+
params: {
|
|
13244
|
+
user_ids: number;
|
|
13245
|
+
user_id_type?: "open_id" | "union_id" | "user_id";
|
|
13246
|
+
department_id_type?: "open_department_id" | "department_id";
|
|
13247
|
+
};
|
|
13248
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
13249
|
+
code?: number | undefined;
|
|
13250
|
+
msg?: string | undefined;
|
|
13251
|
+
data?: {
|
|
13252
|
+
items?: {
|
|
13253
|
+
union_id?: string | undefined;
|
|
13254
|
+
user_id?: string | undefined;
|
|
13255
|
+
open_id?: string | undefined;
|
|
13256
|
+
name: string;
|
|
13257
|
+
en_name?: string | undefined;
|
|
13258
|
+
nickname?: string | undefined;
|
|
13259
|
+
email?: string | undefined;
|
|
13260
|
+
mobile: string;
|
|
13261
|
+
mobile_visible?: boolean | undefined;
|
|
13262
|
+
gender?: number | undefined;
|
|
13263
|
+
avatar_key?: string | undefined;
|
|
13264
|
+
avatar?: {
|
|
13265
|
+
avatar_72?: string | undefined;
|
|
13266
|
+
avatar_240?: string | undefined;
|
|
13267
|
+
avatar_640?: string | undefined;
|
|
13268
|
+
avatar_origin?: string | undefined;
|
|
13269
|
+
} | undefined;
|
|
13270
|
+
status?: {
|
|
13271
|
+
is_frozen?: boolean | undefined;
|
|
13272
|
+
is_resigned?: boolean | undefined;
|
|
13273
|
+
is_activated?: boolean | undefined;
|
|
13274
|
+
is_exited?: boolean | undefined;
|
|
13275
|
+
is_unjoin?: boolean | undefined;
|
|
13276
|
+
} | undefined;
|
|
13277
|
+
department_ids?: string[] | undefined;
|
|
13278
|
+
leader_user_id?: string | undefined;
|
|
13279
|
+
city?: string | undefined;
|
|
13280
|
+
country?: string | undefined;
|
|
13281
|
+
work_station?: string | undefined;
|
|
13282
|
+
join_time?: number | undefined;
|
|
13283
|
+
is_tenant_manager?: boolean | undefined;
|
|
13284
|
+
employee_no?: string | undefined;
|
|
13285
|
+
employee_type?: number | undefined;
|
|
13286
|
+
positions?: {
|
|
13287
|
+
position_code?: string | undefined;
|
|
13288
|
+
position_name?: string | undefined;
|
|
13289
|
+
department_id?: string | undefined;
|
|
13290
|
+
leader_user_id?: string | undefined;
|
|
13291
|
+
leader_position_code?: string | undefined;
|
|
13292
|
+
is_major?: boolean | undefined;
|
|
13293
|
+
}[] | undefined;
|
|
13294
|
+
orders?: {
|
|
13295
|
+
department_id?: string | undefined;
|
|
13296
|
+
user_order?: number | undefined;
|
|
13297
|
+
department_order?: number | undefined;
|
|
13298
|
+
is_primary_dept?: boolean | undefined;
|
|
13299
|
+
}[] | undefined;
|
|
13300
|
+
custom_attrs?: {
|
|
13301
|
+
type?: string | undefined;
|
|
13302
|
+
id?: string | undefined;
|
|
13303
|
+
value?: {
|
|
13304
|
+
text?: string | undefined;
|
|
13305
|
+
url?: string | undefined;
|
|
13306
|
+
pc_url?: string | undefined;
|
|
13307
|
+
option_id?: string | undefined;
|
|
13308
|
+
option_value?: string | undefined;
|
|
13309
|
+
name?: string | undefined;
|
|
13310
|
+
picture_url?: string | undefined;
|
|
13311
|
+
generic_user?: {
|
|
13312
|
+
id: string;
|
|
13313
|
+
type: number;
|
|
13314
|
+
} | undefined;
|
|
13315
|
+
} | undefined;
|
|
13316
|
+
}[] | undefined;
|
|
13317
|
+
enterprise_email?: string | undefined;
|
|
13318
|
+
idp_type?: string | undefined;
|
|
13319
|
+
time_zone?: string | undefined;
|
|
13320
|
+
description?: string | undefined;
|
|
13321
|
+
job_title?: string | undefined;
|
|
13322
|
+
need_send_notification?: boolean | undefined;
|
|
13323
|
+
notification_option?: {
|
|
13324
|
+
channels?: string[] | undefined;
|
|
13325
|
+
language?: "zh-CN" | "en-US" | "ja-JP" | undefined;
|
|
13326
|
+
} | undefined;
|
|
13327
|
+
is_frozen?: boolean | undefined;
|
|
13328
|
+
geo?: string | undefined;
|
|
13329
|
+
job_level_id?: string | undefined;
|
|
13330
|
+
job_family_id?: string | undefined;
|
|
13331
|
+
subscription_ids?: string[] | undefined;
|
|
13332
|
+
assign_info?: {
|
|
13333
|
+
subscription_id?: string | undefined;
|
|
13334
|
+
license_plan_key?: string | undefined;
|
|
13335
|
+
product_name?: string | undefined;
|
|
13336
|
+
i18n_name?: {
|
|
13337
|
+
zh_cn?: string | undefined;
|
|
13338
|
+
ja_jp?: string | undefined;
|
|
13339
|
+
en_us?: string | undefined;
|
|
13340
|
+
} | undefined;
|
|
13341
|
+
start_time?: string | undefined;
|
|
13342
|
+
end_time?: string | undefined;
|
|
13343
|
+
}[] | undefined;
|
|
13344
|
+
department_path?: {
|
|
13345
|
+
department_id?: string | undefined;
|
|
13346
|
+
department_name?: {
|
|
13347
|
+
name?: string | undefined;
|
|
13348
|
+
i18n_name?: {
|
|
13349
|
+
zh_cn?: string | undefined;
|
|
13350
|
+
ja_jp?: string | undefined;
|
|
13351
|
+
en_us?: string | undefined;
|
|
13352
|
+
} | undefined;
|
|
13353
|
+
} | undefined;
|
|
13354
|
+
department_path?: {
|
|
13355
|
+
department_ids?: string[] | undefined;
|
|
13356
|
+
department_path_name?: {
|
|
13357
|
+
name?: string | undefined;
|
|
13358
|
+
i18n_name?: {
|
|
13359
|
+
zh_cn?: string | undefined;
|
|
13360
|
+
ja_jp?: string | undefined;
|
|
13361
|
+
en_us?: string | undefined;
|
|
13362
|
+
} | undefined;
|
|
13363
|
+
} | undefined;
|
|
13364
|
+
} | undefined;
|
|
13365
|
+
}[] | undefined;
|
|
13366
|
+
}[] | undefined;
|
|
13367
|
+
} | undefined;
|
|
13368
|
+
}>;
|
|
13008
13369
|
/**
|
|
13009
13370
|
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=user&apiName=batch_get_id&version=v3 click to debug }
|
|
13010
13371
|
*
|
|
@@ -14403,7 +14764,7 @@ declare abstract class Client$1 {
|
|
|
14403
14764
|
lang: string;
|
|
14404
14765
|
value: string;
|
|
14405
14766
|
}>;
|
|
14406
|
-
type
|
|
14767
|
+
type?: {
|
|
14407
14768
|
enum_name: string;
|
|
14408
14769
|
};
|
|
14409
14770
|
active: boolean;
|
|
@@ -14460,7 +14821,7 @@ declare abstract class Client$1 {
|
|
|
14460
14821
|
lang: string;
|
|
14461
14822
|
value: string;
|
|
14462
14823
|
}>;
|
|
14463
|
-
type
|
|
14824
|
+
type?: {
|
|
14464
14825
|
enum_name: string;
|
|
14465
14826
|
display?: Array<{
|
|
14466
14827
|
lang: string;
|
|
@@ -14565,7 +14926,7 @@ declare abstract class Client$1 {
|
|
|
14565
14926
|
lang: string;
|
|
14566
14927
|
value: string;
|
|
14567
14928
|
}>;
|
|
14568
|
-
type
|
|
14929
|
+
type?: {
|
|
14569
14930
|
enum_name: string;
|
|
14570
14931
|
display?: Array<{
|
|
14571
14932
|
lang: string;
|
|
@@ -14653,7 +15014,7 @@ declare abstract class Client$1 {
|
|
|
14653
15014
|
lang: string;
|
|
14654
15015
|
value: string;
|
|
14655
15016
|
}>;
|
|
14656
|
-
type
|
|
15017
|
+
type?: {
|
|
14657
15018
|
enum_name: string;
|
|
14658
15019
|
display?: Array<{
|
|
14659
15020
|
lang: string;
|
|
@@ -15311,14 +15672,14 @@ declare abstract class Client$1 {
|
|
|
15311
15672
|
enum_name: string;
|
|
15312
15673
|
};
|
|
15313
15674
|
manager?: string;
|
|
15314
|
-
is_confidential
|
|
15675
|
+
is_confidential?: boolean;
|
|
15315
15676
|
hiberarchy_common: {
|
|
15316
15677
|
parent_id?: string;
|
|
15317
15678
|
name: Array<{
|
|
15318
15679
|
lang: string;
|
|
15319
15680
|
value: string;
|
|
15320
15681
|
}>;
|
|
15321
|
-
type
|
|
15682
|
+
type?: {
|
|
15322
15683
|
enum_name: string;
|
|
15323
15684
|
};
|
|
15324
15685
|
active: boolean;
|
|
@@ -15360,14 +15721,14 @@ declare abstract class Client$1 {
|
|
|
15360
15721
|
}[] | undefined;
|
|
15361
15722
|
} | undefined;
|
|
15362
15723
|
manager?: string | undefined;
|
|
15363
|
-
is_confidential
|
|
15724
|
+
is_confidential?: boolean | undefined;
|
|
15364
15725
|
hiberarchy_common: {
|
|
15365
15726
|
parent_id?: string;
|
|
15366
15727
|
name: Array<{
|
|
15367
15728
|
lang: string;
|
|
15368
15729
|
value: string;
|
|
15369
15730
|
}>;
|
|
15370
|
-
type
|
|
15731
|
+
type?: {
|
|
15371
15732
|
enum_name: string;
|
|
15372
15733
|
display?: Array<{
|
|
15373
15734
|
lang: string;
|
|
@@ -15448,14 +15809,14 @@ declare abstract class Client$1 {
|
|
|
15448
15809
|
}[] | undefined;
|
|
15449
15810
|
} | undefined;
|
|
15450
15811
|
manager?: string | undefined;
|
|
15451
|
-
is_confidential
|
|
15812
|
+
is_confidential?: boolean | undefined;
|
|
15452
15813
|
hiberarchy_common: {
|
|
15453
15814
|
parent_id?: string;
|
|
15454
15815
|
name: Array<{
|
|
15455
15816
|
lang: string;
|
|
15456
15817
|
value: string;
|
|
15457
15818
|
}>;
|
|
15458
|
-
type
|
|
15819
|
+
type?: {
|
|
15459
15820
|
enum_name: string;
|
|
15460
15821
|
display?: Array<{
|
|
15461
15822
|
lang: string;
|
|
@@ -15519,14 +15880,14 @@ declare abstract class Client$1 {
|
|
|
15519
15880
|
}[] | undefined;
|
|
15520
15881
|
} | undefined;
|
|
15521
15882
|
manager?: string | undefined;
|
|
15522
|
-
is_confidential
|
|
15883
|
+
is_confidential?: boolean | undefined;
|
|
15523
15884
|
hiberarchy_common: {
|
|
15524
15885
|
parent_id?: string;
|
|
15525
15886
|
name: Array<{
|
|
15526
15887
|
lang: string;
|
|
15527
15888
|
value: string;
|
|
15528
15889
|
}>;
|
|
15529
|
-
type
|
|
15890
|
+
type?: {
|
|
15530
15891
|
enum_name: string;
|
|
15531
15892
|
display?: Array<{
|
|
15532
15893
|
lang: string;
|
|
@@ -15576,14 +15937,14 @@ declare abstract class Client$1 {
|
|
|
15576
15937
|
enum_name: string;
|
|
15577
15938
|
};
|
|
15578
15939
|
manager?: string;
|
|
15579
|
-
is_confidential
|
|
15940
|
+
is_confidential?: boolean;
|
|
15580
15941
|
hiberarchy_common: {
|
|
15581
15942
|
parent_id?: string;
|
|
15582
15943
|
name: Array<{
|
|
15583
15944
|
lang: string;
|
|
15584
15945
|
value: string;
|
|
15585
15946
|
}>;
|
|
15586
|
-
type
|
|
15947
|
+
type?: {
|
|
15587
15948
|
enum_name: string;
|
|
15588
15949
|
};
|
|
15589
15950
|
active: boolean;
|
|
@@ -15629,14 +15990,14 @@ declare abstract class Client$1 {
|
|
|
15629
15990
|
}[] | undefined;
|
|
15630
15991
|
} | undefined;
|
|
15631
15992
|
manager?: string | undefined;
|
|
15632
|
-
is_confidential
|
|
15993
|
+
is_confidential?: boolean | undefined;
|
|
15633
15994
|
hiberarchy_common: {
|
|
15634
15995
|
parent_id?: string;
|
|
15635
15996
|
name: Array<{
|
|
15636
15997
|
lang: string;
|
|
15637
15998
|
value: string;
|
|
15638
15999
|
}>;
|
|
15639
|
-
type
|
|
16000
|
+
type?: {
|
|
15640
16001
|
enum_name: string;
|
|
15641
16002
|
display?: Array<{
|
|
15642
16003
|
lang: string;
|
|
@@ -17565,7 +17926,7 @@ declare abstract class Client$1 {
|
|
|
17565
17926
|
lang: string;
|
|
17566
17927
|
value: string;
|
|
17567
17928
|
}>;
|
|
17568
|
-
type
|
|
17929
|
+
type?: {
|
|
17569
17930
|
enum_name: string;
|
|
17570
17931
|
};
|
|
17571
17932
|
active: boolean;
|
|
@@ -17636,7 +17997,7 @@ declare abstract class Client$1 {
|
|
|
17636
17997
|
lang: string;
|
|
17637
17998
|
value: string;
|
|
17638
17999
|
}>;
|
|
17639
|
-
type
|
|
18000
|
+
type?: {
|
|
17640
18001
|
enum_name: string;
|
|
17641
18002
|
display?: Array<{
|
|
17642
18003
|
lang: string;
|
|
@@ -17759,7 +18120,7 @@ declare abstract class Client$1 {
|
|
|
17759
18120
|
lang: string;
|
|
17760
18121
|
value: string;
|
|
17761
18122
|
}>;
|
|
17762
|
-
type
|
|
18123
|
+
type?: {
|
|
17763
18124
|
enum_name: string;
|
|
17764
18125
|
display?: Array<{
|
|
17765
18126
|
lang: string;
|
|
@@ -17865,7 +18226,7 @@ declare abstract class Client$1 {
|
|
|
17865
18226
|
lang: string;
|
|
17866
18227
|
value: string;
|
|
17867
18228
|
}>;
|
|
17868
|
-
type
|
|
18229
|
+
type?: {
|
|
17869
18230
|
enum_name: string;
|
|
17870
18231
|
display?: Array<{
|
|
17871
18232
|
lang: string;
|
|
@@ -18287,6 +18648,15 @@ declare abstract class Client$1 {
|
|
|
18287
18648
|
}[] | undefined;
|
|
18288
18649
|
} | undefined;
|
|
18289
18650
|
employee_reason_explanation?: string | undefined;
|
|
18651
|
+
add_block_list?: string | undefined;
|
|
18652
|
+
block_reason?: {
|
|
18653
|
+
enum_name: string;
|
|
18654
|
+
display?: {
|
|
18655
|
+
lang: string;
|
|
18656
|
+
value: string;
|
|
18657
|
+
}[] | undefined;
|
|
18658
|
+
} | undefined;
|
|
18659
|
+
block_reason_explanation?: string | undefined;
|
|
18290
18660
|
custom_fields?: {
|
|
18291
18661
|
custom_api_name: string;
|
|
18292
18662
|
name?: {
|
|
@@ -18365,6 +18735,15 @@ declare abstract class Client$1 {
|
|
|
18365
18735
|
}[] | undefined;
|
|
18366
18736
|
} | undefined;
|
|
18367
18737
|
employee_reason_explanation?: string | undefined;
|
|
18738
|
+
add_block_list?: string | undefined;
|
|
18739
|
+
block_reason?: {
|
|
18740
|
+
enum_name: string;
|
|
18741
|
+
display?: {
|
|
18742
|
+
lang: string;
|
|
18743
|
+
value: string;
|
|
18744
|
+
}[] | undefined;
|
|
18745
|
+
} | undefined;
|
|
18746
|
+
block_reason_explanation?: string | undefined;
|
|
18368
18747
|
custom_fields?: {
|
|
18369
18748
|
custom_api_name: string;
|
|
18370
18749
|
name?: {
|
|
@@ -18403,6 +18782,9 @@ declare abstract class Client$1 {
|
|
|
18403
18782
|
offboarding_reason_unique_identifier: string;
|
|
18404
18783
|
offboarding_reason_explanation?: string;
|
|
18405
18784
|
initiator_id?: string;
|
|
18785
|
+
add_block_list?: boolean;
|
|
18786
|
+
block_reason?: string;
|
|
18787
|
+
block_reason_explanation?: string;
|
|
18406
18788
|
custom_fields?: Array<{
|
|
18407
18789
|
field_name: string;
|
|
18408
18790
|
value: string;
|
|
@@ -18420,6 +18802,9 @@ declare abstract class Client$1 {
|
|
|
18420
18802
|
offboarding_reason_unique_identifier?: string | undefined;
|
|
18421
18803
|
offboarding_date?: string | undefined;
|
|
18422
18804
|
offboarding_reason_explanation?: string | undefined;
|
|
18805
|
+
add_block_list?: boolean | undefined;
|
|
18806
|
+
block_reason?: string | undefined;
|
|
18807
|
+
block_reason_explanation?: string | undefined;
|
|
18423
18808
|
created_time?: string | undefined;
|
|
18424
18809
|
} | undefined;
|
|
18425
18810
|
}>;
|
|
@@ -36125,6 +36510,7 @@ declare abstract class Client$1 {
|
|
|
36125
36510
|
property: {
|
|
36126
36511
|
row_size: number;
|
|
36127
36512
|
column_size: number;
|
|
36513
|
+
column_width?: Array<number>;
|
|
36128
36514
|
merge_info?: Array<{
|
|
36129
36515
|
row_span?: number;
|
|
36130
36516
|
col_span?: number;
|
|
@@ -44300,8 +44686,8 @@ declare abstract class Client$1 {
|
|
|
44300
44686
|
params: {
|
|
44301
44687
|
token: string;
|
|
44302
44688
|
};
|
|
44303
|
-
path
|
|
44304
|
-
ticket
|
|
44689
|
+
path: {
|
|
44690
|
+
ticket: string;
|
|
44305
44691
|
};
|
|
44306
44692
|
}, options?: IRequestOptions$1) => Promise<{
|
|
44307
44693
|
code?: number | undefined;
|
|
@@ -44760,7 +45146,7 @@ declare abstract class Client$1 {
|
|
|
44760
45146
|
}>;
|
|
44761
45147
|
};
|
|
44762
45148
|
/**
|
|
44763
|
-
*
|
|
45149
|
+
* 文件
|
|
44764
45150
|
*/
|
|
44765
45151
|
file: {
|
|
44766
45152
|
/**
|
|
@@ -48648,7 +49034,7 @@ declare abstract class Client$1 {
|
|
|
48648
49034
|
id?: string | undefined;
|
|
48649
49035
|
job_id?: string | undefined;
|
|
48650
49036
|
talent_id?: string | undefined;
|
|
48651
|
-
|
|
49037
|
+
resume_source_id?: string | undefined;
|
|
48652
49038
|
stage?: {
|
|
48653
49039
|
id?: string | undefined;
|
|
48654
49040
|
zh_name?: string | undefined;
|
|
@@ -49937,7 +50323,7 @@ declare abstract class Client$1 {
|
|
|
49937
50323
|
assistant_id_list?: string[] | undefined;
|
|
49938
50324
|
} | undefined;
|
|
49939
50325
|
interview_registration_schema_info?: {
|
|
49940
|
-
|
|
50326
|
+
schema_id?: string | undefined;
|
|
49941
50327
|
name?: string | undefined;
|
|
49942
50328
|
} | undefined;
|
|
49943
50329
|
} | undefined;
|
|
@@ -49987,7 +50373,6 @@ declare abstract class Client$1 {
|
|
|
49987
50373
|
address_id_list?: Array<string>;
|
|
49988
50374
|
job_attribute?: number;
|
|
49989
50375
|
expiry_timestamp?: string;
|
|
49990
|
-
interview_registration_schema_id?: string;
|
|
49991
50376
|
};
|
|
49992
50377
|
params?: {
|
|
49993
50378
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
@@ -50131,7 +50516,7 @@ declare abstract class Client$1 {
|
|
|
50131
50516
|
assistant_id_list?: string[] | undefined;
|
|
50132
50517
|
} | undefined;
|
|
50133
50518
|
interview_registration_schema_info?: {
|
|
50134
|
-
|
|
50519
|
+
schema_id?: string | undefined;
|
|
50135
50520
|
name?: string | undefined;
|
|
50136
50521
|
} | undefined;
|
|
50137
50522
|
} | undefined;
|
|
@@ -50204,7 +50589,7 @@ declare abstract class Client$1 {
|
|
|
50204
50589
|
} | undefined;
|
|
50205
50590
|
}[] | undefined;
|
|
50206
50591
|
interview_registration_schema?: {
|
|
50207
|
-
|
|
50592
|
+
schema_id?: string | undefined;
|
|
50208
50593
|
name?: string | undefined;
|
|
50209
50594
|
} | undefined;
|
|
50210
50595
|
interview_round_type_list?: {
|
|
@@ -50481,7 +50866,7 @@ declare abstract class Client$1 {
|
|
|
50481
50866
|
} | undefined;
|
|
50482
50867
|
}[] | undefined;
|
|
50483
50868
|
interview_registration_schema?: {
|
|
50484
|
-
|
|
50869
|
+
schema_id?: string | undefined;
|
|
50485
50870
|
name?: string | undefined;
|
|
50486
50871
|
} | undefined;
|
|
50487
50872
|
interview_round_type_list?: {
|
|
@@ -51863,6 +52248,543 @@ declare abstract class Client$1 {
|
|
|
51863
52248
|
} | undefined;
|
|
51864
52249
|
}>;
|
|
51865
52250
|
};
|
|
52251
|
+
/**
|
|
52252
|
+
* referral_website.job_post
|
|
52253
|
+
*/
|
|
52254
|
+
referralWebsiteJobPost: {
|
|
52255
|
+
/**
|
|
52256
|
+
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=referral_website.job_post&apiName=get&version=v1 click to debug }
|
|
52257
|
+
*
|
|
52258
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=hire&resource=referral_website.job_post&version=v1 document }
|
|
52259
|
+
*
|
|
52260
|
+
* 获取内推官网下职位广告详情
|
|
52261
|
+
*/
|
|
52262
|
+
get: (payload?: {
|
|
52263
|
+
params?: {
|
|
52264
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
52265
|
+
department_id_type?: "open_department_id" | "department_id";
|
|
52266
|
+
};
|
|
52267
|
+
path: {
|
|
52268
|
+
job_post_id: string;
|
|
52269
|
+
};
|
|
52270
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
52271
|
+
code?: number | undefined;
|
|
52272
|
+
msg?: string | undefined;
|
|
52273
|
+
data?: {
|
|
52274
|
+
job_post?: {
|
|
52275
|
+
id?: string | undefined;
|
|
52276
|
+
title?: string | undefined;
|
|
52277
|
+
job_id?: string | undefined;
|
|
52278
|
+
job_code?: string | undefined;
|
|
52279
|
+
job_expire_time?: string | undefined;
|
|
52280
|
+
job_active_status?: number | undefined;
|
|
52281
|
+
job_process_type?: number | undefined;
|
|
52282
|
+
job_recruitment_type?: {
|
|
52283
|
+
id?: string | undefined;
|
|
52284
|
+
name?: {
|
|
52285
|
+
zh_cn?: string | undefined;
|
|
52286
|
+
en_us?: string | undefined;
|
|
52287
|
+
} | undefined;
|
|
52288
|
+
} | undefined;
|
|
52289
|
+
job_department?: {
|
|
52290
|
+
id?: string | undefined;
|
|
52291
|
+
name?: {
|
|
52292
|
+
zh_cn?: string | undefined;
|
|
52293
|
+
en_us?: string | undefined;
|
|
52294
|
+
} | undefined;
|
|
52295
|
+
} | undefined;
|
|
52296
|
+
job_type?: {
|
|
52297
|
+
id?: string | undefined;
|
|
52298
|
+
name?: {
|
|
52299
|
+
zh_cn?: string | undefined;
|
|
52300
|
+
en_us?: string | undefined;
|
|
52301
|
+
} | undefined;
|
|
52302
|
+
} | undefined;
|
|
52303
|
+
address?: {
|
|
52304
|
+
id?: string | undefined;
|
|
52305
|
+
name?: {
|
|
52306
|
+
zh_cn?: string | undefined;
|
|
52307
|
+
en_us?: string | undefined;
|
|
52308
|
+
} | undefined;
|
|
52309
|
+
district?: {
|
|
52310
|
+
code?: string | undefined;
|
|
52311
|
+
name?: {
|
|
52312
|
+
zh_cn?: string | undefined;
|
|
52313
|
+
en_us?: string | undefined;
|
|
52314
|
+
} | undefined;
|
|
52315
|
+
} | undefined;
|
|
52316
|
+
city?: {
|
|
52317
|
+
code?: string | undefined;
|
|
52318
|
+
name?: {
|
|
52319
|
+
zh_cn?: string | undefined;
|
|
52320
|
+
en_us?: string | undefined;
|
|
52321
|
+
} | undefined;
|
|
52322
|
+
} | undefined;
|
|
52323
|
+
state?: {
|
|
52324
|
+
code?: string | undefined;
|
|
52325
|
+
name?: {
|
|
52326
|
+
zh_cn?: string | undefined;
|
|
52327
|
+
en_us?: string | undefined;
|
|
52328
|
+
} | undefined;
|
|
52329
|
+
} | undefined;
|
|
52330
|
+
country?: {
|
|
52331
|
+
code?: string | undefined;
|
|
52332
|
+
name?: {
|
|
52333
|
+
zh_cn?: string | undefined;
|
|
52334
|
+
en_us?: string | undefined;
|
|
52335
|
+
} | undefined;
|
|
52336
|
+
} | undefined;
|
|
52337
|
+
} | undefined;
|
|
52338
|
+
min_salary?: string | undefined;
|
|
52339
|
+
max_salary?: string | undefined;
|
|
52340
|
+
required_degree?: number | undefined;
|
|
52341
|
+
experience?: number | undefined;
|
|
52342
|
+
headcount?: number | undefined;
|
|
52343
|
+
high_light_list?: {
|
|
52344
|
+
id?: string | undefined;
|
|
52345
|
+
name?: {
|
|
52346
|
+
zh_cn?: string | undefined;
|
|
52347
|
+
en_us?: string | undefined;
|
|
52348
|
+
} | undefined;
|
|
52349
|
+
}[] | undefined;
|
|
52350
|
+
description?: string | undefined;
|
|
52351
|
+
requirement?: string | undefined;
|
|
52352
|
+
creator?: {
|
|
52353
|
+
id?: string | undefined;
|
|
52354
|
+
name?: {
|
|
52355
|
+
zh_cn?: string | undefined;
|
|
52356
|
+
en_us?: string | undefined;
|
|
52357
|
+
} | undefined;
|
|
52358
|
+
} | undefined;
|
|
52359
|
+
create_time?: string | undefined;
|
|
52360
|
+
modify_time?: string | undefined;
|
|
52361
|
+
customized_data_list?: {
|
|
52362
|
+
object_id?: string | undefined;
|
|
52363
|
+
name?: {
|
|
52364
|
+
zh_cn?: string | undefined;
|
|
52365
|
+
en_us?: string | undefined;
|
|
52366
|
+
} | undefined;
|
|
52367
|
+
object_type?: number | undefined;
|
|
52368
|
+
value?: {
|
|
52369
|
+
content?: string | undefined;
|
|
52370
|
+
option?: {
|
|
52371
|
+
key?: string | undefined;
|
|
52372
|
+
name?: {
|
|
52373
|
+
zh_cn?: string | undefined;
|
|
52374
|
+
en_us?: string | undefined;
|
|
52375
|
+
} | undefined;
|
|
52376
|
+
} | undefined;
|
|
52377
|
+
option_list?: {
|
|
52378
|
+
key?: string | undefined;
|
|
52379
|
+
name?: {
|
|
52380
|
+
zh_cn?: string | undefined;
|
|
52381
|
+
en_us?: string | undefined;
|
|
52382
|
+
} | undefined;
|
|
52383
|
+
}[] | undefined;
|
|
52384
|
+
time_range?: {
|
|
52385
|
+
start_time?: string | undefined;
|
|
52386
|
+
end_time?: string | undefined;
|
|
52387
|
+
} | undefined;
|
|
52388
|
+
time?: string | undefined;
|
|
52389
|
+
number?: string | undefined;
|
|
52390
|
+
} | undefined;
|
|
52391
|
+
}[] | undefined;
|
|
52392
|
+
job_function?: {
|
|
52393
|
+
id?: string | undefined;
|
|
52394
|
+
name?: {
|
|
52395
|
+
zh_cn?: string | undefined;
|
|
52396
|
+
en_us?: string | undefined;
|
|
52397
|
+
} | undefined;
|
|
52398
|
+
} | undefined;
|
|
52399
|
+
subject?: {
|
|
52400
|
+
id?: string | undefined;
|
|
52401
|
+
name?: {
|
|
52402
|
+
zh_cn?: string | undefined;
|
|
52403
|
+
en_us?: string | undefined;
|
|
52404
|
+
} | undefined;
|
|
52405
|
+
} | undefined;
|
|
52406
|
+
address_list?: {
|
|
52407
|
+
id?: string | undefined;
|
|
52408
|
+
name?: {
|
|
52409
|
+
zh_cn?: string | undefined;
|
|
52410
|
+
en_us?: string | undefined;
|
|
52411
|
+
} | undefined;
|
|
52412
|
+
district?: {
|
|
52413
|
+
code?: string | undefined;
|
|
52414
|
+
name?: {
|
|
52415
|
+
zh_cn?: string | undefined;
|
|
52416
|
+
en_us?: string | undefined;
|
|
52417
|
+
} | undefined;
|
|
52418
|
+
} | undefined;
|
|
52419
|
+
city?: {
|
|
52420
|
+
code?: string | undefined;
|
|
52421
|
+
name?: {
|
|
52422
|
+
zh_cn?: string | undefined;
|
|
52423
|
+
en_us?: string | undefined;
|
|
52424
|
+
} | undefined;
|
|
52425
|
+
} | undefined;
|
|
52426
|
+
state?: {
|
|
52427
|
+
code?: string | undefined;
|
|
52428
|
+
name?: {
|
|
52429
|
+
zh_cn?: string | undefined;
|
|
52430
|
+
en_us?: string | undefined;
|
|
52431
|
+
} | undefined;
|
|
52432
|
+
} | undefined;
|
|
52433
|
+
country?: {
|
|
52434
|
+
code?: string | undefined;
|
|
52435
|
+
name?: {
|
|
52436
|
+
zh_cn?: string | undefined;
|
|
52437
|
+
en_us?: string | undefined;
|
|
52438
|
+
} | undefined;
|
|
52439
|
+
} | undefined;
|
|
52440
|
+
}[] | undefined;
|
|
52441
|
+
} | undefined;
|
|
52442
|
+
} | undefined;
|
|
52443
|
+
}>;
|
|
52444
|
+
listWithIterator: (payload?: {
|
|
52445
|
+
params?: {
|
|
52446
|
+
process_type?: number;
|
|
52447
|
+
page_token?: string;
|
|
52448
|
+
page_size?: number;
|
|
52449
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
52450
|
+
department_id_type?: "open_department_id" | "department_id";
|
|
52451
|
+
};
|
|
52452
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
52453
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
52454
|
+
items?: {
|
|
52455
|
+
id?: string | undefined;
|
|
52456
|
+
title?: string | undefined;
|
|
52457
|
+
job_id?: string | undefined;
|
|
52458
|
+
job_code?: string | undefined;
|
|
52459
|
+
job_expire_time?: string | undefined;
|
|
52460
|
+
job_active_status?: number | undefined;
|
|
52461
|
+
job_process_type?: number | undefined;
|
|
52462
|
+
job_recruitment_type?: {
|
|
52463
|
+
id?: string | undefined;
|
|
52464
|
+
name?: {
|
|
52465
|
+
zh_cn?: string | undefined;
|
|
52466
|
+
en_us?: string | undefined;
|
|
52467
|
+
} | undefined;
|
|
52468
|
+
} | undefined;
|
|
52469
|
+
job_department?: {
|
|
52470
|
+
id?: string | undefined;
|
|
52471
|
+
name?: {
|
|
52472
|
+
zh_cn?: string | undefined;
|
|
52473
|
+
en_us?: string | undefined;
|
|
52474
|
+
} | undefined;
|
|
52475
|
+
} | undefined;
|
|
52476
|
+
job_type?: {
|
|
52477
|
+
id?: string | undefined;
|
|
52478
|
+
name?: {
|
|
52479
|
+
zh_cn?: string | undefined;
|
|
52480
|
+
en_us?: string | undefined;
|
|
52481
|
+
} | undefined;
|
|
52482
|
+
} | undefined;
|
|
52483
|
+
address?: {
|
|
52484
|
+
id?: string | undefined;
|
|
52485
|
+
name?: {
|
|
52486
|
+
zh_cn?: string | undefined;
|
|
52487
|
+
en_us?: string | undefined;
|
|
52488
|
+
} | undefined;
|
|
52489
|
+
district?: {
|
|
52490
|
+
code?: string | undefined;
|
|
52491
|
+
name?: {
|
|
52492
|
+
zh_cn?: string | undefined;
|
|
52493
|
+
en_us?: string | undefined;
|
|
52494
|
+
} | undefined;
|
|
52495
|
+
} | undefined;
|
|
52496
|
+
city?: {
|
|
52497
|
+
code?: string | undefined;
|
|
52498
|
+
name?: {
|
|
52499
|
+
zh_cn?: string | undefined;
|
|
52500
|
+
en_us?: string | undefined;
|
|
52501
|
+
} | undefined;
|
|
52502
|
+
} | undefined;
|
|
52503
|
+
state?: {
|
|
52504
|
+
code?: string | undefined;
|
|
52505
|
+
name?: {
|
|
52506
|
+
zh_cn?: string | undefined;
|
|
52507
|
+
en_us?: string | undefined;
|
|
52508
|
+
} | undefined;
|
|
52509
|
+
} | undefined;
|
|
52510
|
+
country?: {
|
|
52511
|
+
code?: string | undefined;
|
|
52512
|
+
name?: {
|
|
52513
|
+
zh_cn?: string | undefined;
|
|
52514
|
+
en_us?: string | undefined;
|
|
52515
|
+
} | undefined;
|
|
52516
|
+
} | undefined;
|
|
52517
|
+
} | undefined;
|
|
52518
|
+
min_salary?: string | undefined;
|
|
52519
|
+
max_salary?: string | undefined;
|
|
52520
|
+
required_degree?: number | undefined;
|
|
52521
|
+
experience?: number | undefined;
|
|
52522
|
+
headcount?: number | undefined;
|
|
52523
|
+
high_light_list?: {
|
|
52524
|
+
id?: string | undefined;
|
|
52525
|
+
name?: {
|
|
52526
|
+
zh_cn?: string | undefined;
|
|
52527
|
+
en_us?: string | undefined;
|
|
52528
|
+
} | undefined;
|
|
52529
|
+
}[] | undefined;
|
|
52530
|
+
description?: string | undefined;
|
|
52531
|
+
requirement?: string | undefined;
|
|
52532
|
+
creator?: {
|
|
52533
|
+
id?: string | undefined;
|
|
52534
|
+
name?: {
|
|
52535
|
+
zh_cn?: string | undefined;
|
|
52536
|
+
en_us?: string | undefined;
|
|
52537
|
+
} | undefined;
|
|
52538
|
+
} | undefined;
|
|
52539
|
+
create_time?: string | undefined;
|
|
52540
|
+
modify_time?: string | undefined;
|
|
52541
|
+
customized_data_list?: {
|
|
52542
|
+
object_id?: string | undefined;
|
|
52543
|
+
name?: {
|
|
52544
|
+
zh_cn?: string | undefined;
|
|
52545
|
+
en_us?: string | undefined;
|
|
52546
|
+
} | undefined;
|
|
52547
|
+
object_type?: number | undefined;
|
|
52548
|
+
value?: {
|
|
52549
|
+
content?: string | undefined;
|
|
52550
|
+
option?: {
|
|
52551
|
+
key?: string | undefined;
|
|
52552
|
+
name?: {
|
|
52553
|
+
zh_cn?: string | undefined;
|
|
52554
|
+
en_us?: string | undefined;
|
|
52555
|
+
} | undefined;
|
|
52556
|
+
} | undefined;
|
|
52557
|
+
option_list?: {
|
|
52558
|
+
key?: string | undefined;
|
|
52559
|
+
name?: {
|
|
52560
|
+
zh_cn?: string | undefined;
|
|
52561
|
+
en_us?: string | undefined;
|
|
52562
|
+
} | undefined;
|
|
52563
|
+
}[] | undefined;
|
|
52564
|
+
time_range?: {
|
|
52565
|
+
start_time?: string | undefined;
|
|
52566
|
+
end_time?: string | undefined;
|
|
52567
|
+
} | undefined;
|
|
52568
|
+
time?: string | undefined;
|
|
52569
|
+
number?: string | undefined;
|
|
52570
|
+
} | undefined;
|
|
52571
|
+
}[] | undefined;
|
|
52572
|
+
address_list?: {
|
|
52573
|
+
id?: string | undefined;
|
|
52574
|
+
name?: {
|
|
52575
|
+
zh_cn?: string | undefined;
|
|
52576
|
+
en_us?: string | undefined;
|
|
52577
|
+
} | undefined;
|
|
52578
|
+
district?: {
|
|
52579
|
+
code?: string | undefined;
|
|
52580
|
+
name?: {
|
|
52581
|
+
zh_cn?: string | undefined;
|
|
52582
|
+
en_us?: string | undefined;
|
|
52583
|
+
} | undefined;
|
|
52584
|
+
} | undefined;
|
|
52585
|
+
city?: {
|
|
52586
|
+
code?: string | undefined;
|
|
52587
|
+
name?: {
|
|
52588
|
+
zh_cn?: string | undefined;
|
|
52589
|
+
en_us?: string | undefined;
|
|
52590
|
+
} | undefined;
|
|
52591
|
+
} | undefined;
|
|
52592
|
+
state?: {
|
|
52593
|
+
code?: string | undefined;
|
|
52594
|
+
name?: {
|
|
52595
|
+
zh_cn?: string | undefined;
|
|
52596
|
+
en_us?: string | undefined;
|
|
52597
|
+
} | undefined;
|
|
52598
|
+
} | undefined;
|
|
52599
|
+
country?: {
|
|
52600
|
+
code?: string | undefined;
|
|
52601
|
+
name?: {
|
|
52602
|
+
zh_cn?: string | undefined;
|
|
52603
|
+
en_us?: string | undefined;
|
|
52604
|
+
} | undefined;
|
|
52605
|
+
} | undefined;
|
|
52606
|
+
}[] | undefined;
|
|
52607
|
+
}[] | undefined;
|
|
52608
|
+
} | null, void, unknown>;
|
|
52609
|
+
}>;
|
|
52610
|
+
/**
|
|
52611
|
+
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=referral_website.job_post&apiName=list&version=v1 click to debug }
|
|
52612
|
+
*
|
|
52613
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=hire&resource=referral_website.job_post&version=v1 document }
|
|
52614
|
+
*
|
|
52615
|
+
* 获取内推官网下的职位列表。自定义数据暂不支持列表获取,请从「获取内推官网下职位广告详情」接口获取
|
|
52616
|
+
*/
|
|
52617
|
+
list: (payload?: {
|
|
52618
|
+
params?: {
|
|
52619
|
+
process_type?: number;
|
|
52620
|
+
page_token?: string;
|
|
52621
|
+
page_size?: number;
|
|
52622
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
52623
|
+
department_id_type?: "open_department_id" | "department_id";
|
|
52624
|
+
};
|
|
52625
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
52626
|
+
code?: number | undefined;
|
|
52627
|
+
msg?: string | undefined;
|
|
52628
|
+
data?: {
|
|
52629
|
+
items?: {
|
|
52630
|
+
id?: string | undefined;
|
|
52631
|
+
title?: string | undefined;
|
|
52632
|
+
job_id?: string | undefined;
|
|
52633
|
+
job_code?: string | undefined;
|
|
52634
|
+
job_expire_time?: string | undefined;
|
|
52635
|
+
job_active_status?: number | undefined;
|
|
52636
|
+
job_process_type?: number | undefined;
|
|
52637
|
+
job_recruitment_type?: {
|
|
52638
|
+
id?: string | undefined;
|
|
52639
|
+
name?: {
|
|
52640
|
+
zh_cn?: string | undefined;
|
|
52641
|
+
en_us?: string | undefined;
|
|
52642
|
+
} | undefined;
|
|
52643
|
+
} | undefined;
|
|
52644
|
+
job_department?: {
|
|
52645
|
+
id?: string | undefined;
|
|
52646
|
+
name?: {
|
|
52647
|
+
zh_cn?: string | undefined;
|
|
52648
|
+
en_us?: string | undefined;
|
|
52649
|
+
} | undefined;
|
|
52650
|
+
} | undefined;
|
|
52651
|
+
job_type?: {
|
|
52652
|
+
id?: string | undefined;
|
|
52653
|
+
name?: {
|
|
52654
|
+
zh_cn?: string | undefined;
|
|
52655
|
+
en_us?: string | undefined;
|
|
52656
|
+
} | undefined;
|
|
52657
|
+
} | undefined;
|
|
52658
|
+
address?: {
|
|
52659
|
+
id?: string | undefined;
|
|
52660
|
+
name?: {
|
|
52661
|
+
zh_cn?: string | undefined;
|
|
52662
|
+
en_us?: string | undefined;
|
|
52663
|
+
} | undefined;
|
|
52664
|
+
district?: {
|
|
52665
|
+
code?: string | undefined;
|
|
52666
|
+
name?: {
|
|
52667
|
+
zh_cn?: string | undefined;
|
|
52668
|
+
en_us?: string | undefined;
|
|
52669
|
+
} | undefined;
|
|
52670
|
+
} | undefined;
|
|
52671
|
+
city?: {
|
|
52672
|
+
code?: string | undefined;
|
|
52673
|
+
name?: {
|
|
52674
|
+
zh_cn?: string | undefined;
|
|
52675
|
+
en_us?: string | undefined;
|
|
52676
|
+
} | undefined;
|
|
52677
|
+
} | undefined;
|
|
52678
|
+
state?: {
|
|
52679
|
+
code?: string | undefined;
|
|
52680
|
+
name?: {
|
|
52681
|
+
zh_cn?: string | undefined;
|
|
52682
|
+
en_us?: string | undefined;
|
|
52683
|
+
} | undefined;
|
|
52684
|
+
} | undefined;
|
|
52685
|
+
country?: {
|
|
52686
|
+
code?: string | undefined;
|
|
52687
|
+
name?: {
|
|
52688
|
+
zh_cn?: string | undefined;
|
|
52689
|
+
en_us?: string | undefined;
|
|
52690
|
+
} | undefined;
|
|
52691
|
+
} | undefined;
|
|
52692
|
+
} | undefined;
|
|
52693
|
+
min_salary?: string | undefined;
|
|
52694
|
+
max_salary?: string | undefined;
|
|
52695
|
+
required_degree?: number | undefined;
|
|
52696
|
+
experience?: number | undefined;
|
|
52697
|
+
headcount?: number | undefined;
|
|
52698
|
+
high_light_list?: {
|
|
52699
|
+
id?: string | undefined;
|
|
52700
|
+
name?: {
|
|
52701
|
+
zh_cn?: string | undefined;
|
|
52702
|
+
en_us?: string | undefined;
|
|
52703
|
+
} | undefined;
|
|
52704
|
+
}[] | undefined;
|
|
52705
|
+
description?: string | undefined;
|
|
52706
|
+
requirement?: string | undefined;
|
|
52707
|
+
creator?: {
|
|
52708
|
+
id?: string | undefined;
|
|
52709
|
+
name?: {
|
|
52710
|
+
zh_cn?: string | undefined;
|
|
52711
|
+
en_us?: string | undefined;
|
|
52712
|
+
} | undefined;
|
|
52713
|
+
} | undefined;
|
|
52714
|
+
create_time?: string | undefined;
|
|
52715
|
+
modify_time?: string | undefined;
|
|
52716
|
+
customized_data_list?: {
|
|
52717
|
+
object_id?: string | undefined;
|
|
52718
|
+
name?: {
|
|
52719
|
+
zh_cn?: string | undefined;
|
|
52720
|
+
en_us?: string | undefined;
|
|
52721
|
+
} | undefined;
|
|
52722
|
+
object_type?: number | undefined;
|
|
52723
|
+
value?: {
|
|
52724
|
+
content?: string | undefined;
|
|
52725
|
+
option?: {
|
|
52726
|
+
key?: string | undefined;
|
|
52727
|
+
name?: {
|
|
52728
|
+
zh_cn?: string | undefined;
|
|
52729
|
+
en_us?: string | undefined;
|
|
52730
|
+
} | undefined;
|
|
52731
|
+
} | undefined;
|
|
52732
|
+
option_list?: {
|
|
52733
|
+
key?: string | undefined;
|
|
52734
|
+
name?: {
|
|
52735
|
+
zh_cn?: string | undefined;
|
|
52736
|
+
en_us?: string | undefined;
|
|
52737
|
+
} | undefined;
|
|
52738
|
+
}[] | undefined;
|
|
52739
|
+
time_range?: {
|
|
52740
|
+
start_time?: string | undefined;
|
|
52741
|
+
end_time?: string | undefined;
|
|
52742
|
+
} | undefined;
|
|
52743
|
+
time?: string | undefined;
|
|
52744
|
+
number?: string | undefined;
|
|
52745
|
+
} | undefined;
|
|
52746
|
+
}[] | undefined;
|
|
52747
|
+
address_list?: {
|
|
52748
|
+
id?: string | undefined;
|
|
52749
|
+
name?: {
|
|
52750
|
+
zh_cn?: string | undefined;
|
|
52751
|
+
en_us?: string | undefined;
|
|
52752
|
+
} | undefined;
|
|
52753
|
+
district?: {
|
|
52754
|
+
code?: string | undefined;
|
|
52755
|
+
name?: {
|
|
52756
|
+
zh_cn?: string | undefined;
|
|
52757
|
+
en_us?: string | undefined;
|
|
52758
|
+
} | undefined;
|
|
52759
|
+
} | undefined;
|
|
52760
|
+
city?: {
|
|
52761
|
+
code?: string | undefined;
|
|
52762
|
+
name?: {
|
|
52763
|
+
zh_cn?: string | undefined;
|
|
52764
|
+
en_us?: string | undefined;
|
|
52765
|
+
} | undefined;
|
|
52766
|
+
} | undefined;
|
|
52767
|
+
state?: {
|
|
52768
|
+
code?: string | undefined;
|
|
52769
|
+
name?: {
|
|
52770
|
+
zh_cn?: string | undefined;
|
|
52771
|
+
en_us?: string | undefined;
|
|
52772
|
+
} | undefined;
|
|
52773
|
+
} | undefined;
|
|
52774
|
+
country?: {
|
|
52775
|
+
code?: string | undefined;
|
|
52776
|
+
name?: {
|
|
52777
|
+
zh_cn?: string | undefined;
|
|
52778
|
+
en_us?: string | undefined;
|
|
52779
|
+
} | undefined;
|
|
52780
|
+
} | undefined;
|
|
52781
|
+
}[] | undefined;
|
|
52782
|
+
}[] | undefined;
|
|
52783
|
+
has_more?: boolean | undefined;
|
|
52784
|
+
page_token?: string | undefined;
|
|
52785
|
+
} | undefined;
|
|
52786
|
+
}>;
|
|
52787
|
+
};
|
|
51866
52788
|
/**
|
|
51867
52789
|
* 简历来源
|
|
51868
52790
|
*/
|
|
@@ -51960,7 +52882,7 @@ declare abstract class Client$1 {
|
|
|
51960
52882
|
code?: number | undefined;
|
|
51961
52883
|
msg?: string | undefined;
|
|
51962
52884
|
data?: {
|
|
51963
|
-
|
|
52885
|
+
talent_list?: {
|
|
51964
52886
|
talent_id?: string | undefined;
|
|
51965
52887
|
mobile_code?: string | undefined;
|
|
51966
52888
|
mobile_number?: string | undefined;
|
|
@@ -52066,7 +52988,7 @@ declare abstract class Client$1 {
|
|
|
52066
52988
|
file_id?: string | undefined;
|
|
52067
52989
|
file_name?: string | undefined;
|
|
52068
52990
|
content_type?: string | undefined;
|
|
52069
|
-
file_size?:
|
|
52991
|
+
file_size?: number | undefined;
|
|
52070
52992
|
}[] | undefined;
|
|
52071
52993
|
} | undefined;
|
|
52072
52994
|
}[] | undefined;
|
|
@@ -52115,7 +53037,7 @@ declare abstract class Client$1 {
|
|
|
52115
53037
|
file_id?: string | undefined;
|
|
52116
53038
|
file_name?: string | undefined;
|
|
52117
53039
|
content_type?: string | undefined;
|
|
52118
|
-
file_size?:
|
|
53040
|
+
file_size?: number | undefined;
|
|
52119
53041
|
}[] | undefined;
|
|
52120
53042
|
} | undefined;
|
|
52121
53043
|
}[] | undefined;
|
|
@@ -52162,7 +53084,7 @@ declare abstract class Client$1 {
|
|
|
52162
53084
|
file_id?: string | undefined;
|
|
52163
53085
|
file_name?: string | undefined;
|
|
52164
53086
|
content_type?: string | undefined;
|
|
52165
|
-
file_size?:
|
|
53087
|
+
file_size?: number | undefined;
|
|
52166
53088
|
}[] | undefined;
|
|
52167
53089
|
} | undefined;
|
|
52168
53090
|
}[] | undefined;
|
|
@@ -52208,7 +53130,7 @@ declare abstract class Client$1 {
|
|
|
52208
53130
|
file_id?: string | undefined;
|
|
52209
53131
|
file_name?: string | undefined;
|
|
52210
53132
|
content_type?: string | undefined;
|
|
52211
|
-
file_size?:
|
|
53133
|
+
file_size?: number | undefined;
|
|
52212
53134
|
}[] | undefined;
|
|
52213
53135
|
} | undefined;
|
|
52214
53136
|
}[] | undefined;
|
|
@@ -52251,7 +53173,7 @@ declare abstract class Client$1 {
|
|
|
52251
53173
|
file_id?: string | undefined;
|
|
52252
53174
|
file_name?: string | undefined;
|
|
52253
53175
|
content_type?: string | undefined;
|
|
52254
|
-
file_size?:
|
|
53176
|
+
file_size?: number | undefined;
|
|
52255
53177
|
}[] | undefined;
|
|
52256
53178
|
} | undefined;
|
|
52257
53179
|
}[] | undefined;
|
|
@@ -52294,7 +53216,7 @@ declare abstract class Client$1 {
|
|
|
52294
53216
|
file_id?: string | undefined;
|
|
52295
53217
|
file_name?: string | undefined;
|
|
52296
53218
|
content_type?: string | undefined;
|
|
52297
|
-
file_size?:
|
|
53219
|
+
file_size?: number | undefined;
|
|
52298
53220
|
}[] | undefined;
|
|
52299
53221
|
} | undefined;
|
|
52300
53222
|
}[] | undefined;
|
|
@@ -52336,7 +53258,7 @@ declare abstract class Client$1 {
|
|
|
52336
53258
|
file_id?: string | undefined;
|
|
52337
53259
|
file_name?: string | undefined;
|
|
52338
53260
|
content_type?: string | undefined;
|
|
52339
|
-
file_size?:
|
|
53261
|
+
file_size?: number | undefined;
|
|
52340
53262
|
}[] | undefined;
|
|
52341
53263
|
} | undefined;
|
|
52342
53264
|
}[] | undefined;
|
|
@@ -52378,7 +53300,7 @@ declare abstract class Client$1 {
|
|
|
52378
53300
|
file_id?: string | undefined;
|
|
52379
53301
|
file_name?: string | undefined;
|
|
52380
53302
|
content_type?: string | undefined;
|
|
52381
|
-
file_size?:
|
|
53303
|
+
file_size?: number | undefined;
|
|
52382
53304
|
}[] | undefined;
|
|
52383
53305
|
} | undefined;
|
|
52384
53306
|
}[] | undefined;
|
|
@@ -52434,7 +53356,7 @@ declare abstract class Client$1 {
|
|
|
52434
53356
|
file_id?: string | undefined;
|
|
52435
53357
|
file_name?: string | undefined;
|
|
52436
53358
|
content_type?: string | undefined;
|
|
52437
|
-
file_size?:
|
|
53359
|
+
file_size?: number | undefined;
|
|
52438
53360
|
}[] | undefined;
|
|
52439
53361
|
} | undefined;
|
|
52440
53362
|
}[] | undefined;
|
|
@@ -54072,7 +54994,7 @@ declare abstract class Client$1 {
|
|
|
54072
54994
|
}>;
|
|
54073
54995
|
};
|
|
54074
54996
|
/**
|
|
54075
|
-
* 消息
|
|
54997
|
+
* 消息
|
|
54076
54998
|
*/
|
|
54077
54999
|
message: {
|
|
54078
55000
|
/**
|
|
@@ -54508,6 +55430,53 @@ declare abstract class Client$1 {
|
|
|
54508
55430
|
upper_message_id?: string | undefined;
|
|
54509
55431
|
} | undefined;
|
|
54510
55432
|
}>;
|
|
55433
|
+
/**
|
|
55434
|
+
* {@link https://open.feishu.cn/api-explorer?project=im&resource=message&apiName=update&version=v1 click to debug }
|
|
55435
|
+
*
|
|
55436
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=update&project=im&resource=message&version=v1 document }
|
|
55437
|
+
*
|
|
55438
|
+
* 编辑已发送的消息内容,当前仅支持编辑文本和富文本消息。
|
|
55439
|
+
*/
|
|
55440
|
+
update: (payload?: {
|
|
55441
|
+
data: {
|
|
55442
|
+
msg_type: string;
|
|
55443
|
+
content: string;
|
|
55444
|
+
};
|
|
55445
|
+
path: {
|
|
55446
|
+
message_id: string;
|
|
55447
|
+
};
|
|
55448
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
55449
|
+
code?: number | undefined;
|
|
55450
|
+
msg?: string | undefined;
|
|
55451
|
+
data?: {
|
|
55452
|
+
message_id?: string | undefined;
|
|
55453
|
+
root_id?: string | undefined;
|
|
55454
|
+
parent_id?: string | undefined;
|
|
55455
|
+
msg_type?: string | undefined;
|
|
55456
|
+
create_time?: string | undefined;
|
|
55457
|
+
update_time?: string | undefined;
|
|
55458
|
+
deleted?: boolean | undefined;
|
|
55459
|
+
updated?: boolean | undefined;
|
|
55460
|
+
chat_id?: string | undefined;
|
|
55461
|
+
sender?: {
|
|
55462
|
+
id: string;
|
|
55463
|
+
id_type: string;
|
|
55464
|
+
sender_type: string;
|
|
55465
|
+
tenant_key?: string | undefined;
|
|
55466
|
+
} | undefined;
|
|
55467
|
+
body?: {
|
|
55468
|
+
content: string;
|
|
55469
|
+
} | undefined;
|
|
55470
|
+
mentions?: {
|
|
55471
|
+
key: string;
|
|
55472
|
+
id: string;
|
|
55473
|
+
id_type: string;
|
|
55474
|
+
name: string;
|
|
55475
|
+
tenant_key?: string | undefined;
|
|
55476
|
+
}[] | undefined;
|
|
55477
|
+
upper_message_id?: string | undefined;
|
|
55478
|
+
} | undefined;
|
|
55479
|
+
}>;
|
|
54511
55480
|
/**
|
|
54512
55481
|
* {@link https://open.feishu.cn/api-explorer?project=im&resource=message&apiName=urgent_app&version=v1 click to debug }
|
|
54513
55482
|
*
|
|
@@ -54699,6 +55668,53 @@ declare abstract class Client$1 {
|
|
|
54699
55668
|
upper_message_id?: string | undefined;
|
|
54700
55669
|
} | undefined;
|
|
54701
55670
|
}>;
|
|
55671
|
+
/**
|
|
55672
|
+
* {@link https://open.feishu.cn/api-explorer?project=im&resource=message&apiName=update&version=v1 click to debug }
|
|
55673
|
+
*
|
|
55674
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=update&project=im&resource=message&version=v1 document }
|
|
55675
|
+
*
|
|
55676
|
+
* 通过模版消息卡片
|
|
55677
|
+
*/
|
|
55678
|
+
updateByCard: (payload?: {
|
|
55679
|
+
data: {
|
|
55680
|
+
template_id: string;
|
|
55681
|
+
template_variable?: Record<string, any>;
|
|
55682
|
+
};
|
|
55683
|
+
path: {
|
|
55684
|
+
message_id: string;
|
|
55685
|
+
};
|
|
55686
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
55687
|
+
code?: number | undefined;
|
|
55688
|
+
msg?: string | undefined;
|
|
55689
|
+
data?: {
|
|
55690
|
+
message_id?: string | undefined;
|
|
55691
|
+
root_id?: string | undefined;
|
|
55692
|
+
parent_id?: string | undefined;
|
|
55693
|
+
msg_type?: string | undefined;
|
|
55694
|
+
create_time?: string | undefined;
|
|
55695
|
+
update_time?: string | undefined;
|
|
55696
|
+
deleted?: boolean | undefined;
|
|
55697
|
+
updated?: boolean | undefined;
|
|
55698
|
+
chat_id?: string | undefined;
|
|
55699
|
+
sender?: {
|
|
55700
|
+
id: string;
|
|
55701
|
+
id_type: string;
|
|
55702
|
+
sender_type: string;
|
|
55703
|
+
tenant_key?: string | undefined;
|
|
55704
|
+
} | undefined;
|
|
55705
|
+
body?: {
|
|
55706
|
+
content: string;
|
|
55707
|
+
} | undefined;
|
|
55708
|
+
mentions?: {
|
|
55709
|
+
key: string;
|
|
55710
|
+
id: string;
|
|
55711
|
+
id_type: string;
|
|
55712
|
+
name: string;
|
|
55713
|
+
tenant_key?: string | undefined;
|
|
55714
|
+
}[] | undefined;
|
|
55715
|
+
upper_message_id?: string | undefined;
|
|
55716
|
+
} | undefined;
|
|
55717
|
+
}>;
|
|
54702
55718
|
};
|
|
54703
55719
|
/**
|
|
54704
55720
|
* 消息 - 表情回复
|
|
@@ -54957,6 +55973,80 @@ declare abstract class Client$1 {
|
|
|
54957
55973
|
} | undefined;
|
|
54958
55974
|
}>;
|
|
54959
55975
|
};
|
|
55976
|
+
/**
|
|
55977
|
+
* 特别关注(灰度租户可见)
|
|
55978
|
+
*/
|
|
55979
|
+
specialFocus: {
|
|
55980
|
+
listWithIterator: (payload?: {
|
|
55981
|
+
params?: {
|
|
55982
|
+
member_id_type?: "user_id" | "union_id" | "open_id";
|
|
55983
|
+
page_size?: number;
|
|
55984
|
+
page_token?: string;
|
|
55985
|
+
};
|
|
55986
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
55987
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
55988
|
+
items?: {
|
|
55989
|
+
id: string;
|
|
55990
|
+
id_type?: "user_id" | "union_id" | "open_id" | "app_id" | undefined;
|
|
55991
|
+
}[] | undefined;
|
|
55992
|
+
} | null, void, unknown>;
|
|
55993
|
+
}>;
|
|
55994
|
+
/**
|
|
55995
|
+
* {@link https://open.feishu.cn/api-explorer?project=im&resource=special_focus&apiName=list&version=v1 click to debug }
|
|
55996
|
+
*
|
|
55997
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/special_focus/list document }
|
|
55998
|
+
*
|
|
55999
|
+
* 获取特别关注列表
|
|
56000
|
+
*
|
|
56001
|
+
* 获取用户的特别关注列表。
|
|
56002
|
+
*/
|
|
56003
|
+
list: (payload?: {
|
|
56004
|
+
params?: {
|
|
56005
|
+
member_id_type?: "user_id" | "union_id" | "open_id";
|
|
56006
|
+
page_size?: number;
|
|
56007
|
+
page_token?: string;
|
|
56008
|
+
};
|
|
56009
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
56010
|
+
code?: number | undefined;
|
|
56011
|
+
msg?: string | undefined;
|
|
56012
|
+
data?: {
|
|
56013
|
+
items?: {
|
|
56014
|
+
id: string;
|
|
56015
|
+
id_type?: "user_id" | "union_id" | "open_id" | "app_id" | undefined;
|
|
56016
|
+
}[] | undefined;
|
|
56017
|
+
page_token?: string | undefined;
|
|
56018
|
+
has_more?: boolean | undefined;
|
|
56019
|
+
} | undefined;
|
|
56020
|
+
}>;
|
|
56021
|
+
/**
|
|
56022
|
+
* {@link https://open.feishu.cn/api-explorer?project=im&resource=special_focus&apiName=unread&version=v1 click to debug }
|
|
56023
|
+
*
|
|
56024
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/special_focus/unread document }
|
|
56025
|
+
*
|
|
56026
|
+
* 获取特别关注未读信息
|
|
56027
|
+
*
|
|
56028
|
+
* 支持按单聊类型和群聊类型获取用户的特别关注未读消息数。
|
|
56029
|
+
*/
|
|
56030
|
+
unread: (payload?: {
|
|
56031
|
+
data?: {
|
|
56032
|
+
id_list?: Array<string>;
|
|
56033
|
+
chat_mode?: "group" | "p2p";
|
|
56034
|
+
};
|
|
56035
|
+
params?: {
|
|
56036
|
+
member_id_type?: "user_id" | "union_id" | "open_id" | "app_id";
|
|
56037
|
+
};
|
|
56038
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
56039
|
+
code?: number | undefined;
|
|
56040
|
+
msg?: string | undefined;
|
|
56041
|
+
data?: {
|
|
56042
|
+
special_focus_unread?: {
|
|
56043
|
+
id: string;
|
|
56044
|
+
id_type?: "user_id" | "union_id" | "open_id" | "app_id" | undefined;
|
|
56045
|
+
unread_count?: string | undefined;
|
|
56046
|
+
}[] | undefined;
|
|
56047
|
+
} | undefined;
|
|
56048
|
+
}>;
|
|
56049
|
+
};
|
|
54960
56050
|
};
|
|
54961
56051
|
/**
|
|
54962
56052
|
* 邮箱
|
|
@@ -55236,6 +56326,108 @@ declare abstract class Client$1 {
|
|
|
55236
56326
|
} | undefined;
|
|
55237
56327
|
}>;
|
|
55238
56328
|
};
|
|
56329
|
+
/**
|
|
56330
|
+
* 邮件组管理员
|
|
56331
|
+
*/
|
|
56332
|
+
mailgroupManager: {
|
|
56333
|
+
/**
|
|
56334
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=mailgroup.manager&apiName=batch_create&version=v1 click to debug }
|
|
56335
|
+
*
|
|
56336
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-manager/batch_create document }
|
|
56337
|
+
*
|
|
56338
|
+
* 批量创建邮件组管理员
|
|
56339
|
+
*
|
|
56340
|
+
* 批量创建邮件组管理员
|
|
56341
|
+
*/
|
|
56342
|
+
batchCreate: (payload?: {
|
|
56343
|
+
data?: {
|
|
56344
|
+
mailgroup_manager_list?: Array<{
|
|
56345
|
+
user_id?: string;
|
|
56346
|
+
}>;
|
|
56347
|
+
};
|
|
56348
|
+
params?: {
|
|
56349
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
56350
|
+
};
|
|
56351
|
+
path?: {
|
|
56352
|
+
mailgroup_id?: string;
|
|
56353
|
+
};
|
|
56354
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
56355
|
+
code?: number | undefined;
|
|
56356
|
+
msg?: string | undefined;
|
|
56357
|
+
data?: {} | undefined;
|
|
56358
|
+
}>;
|
|
56359
|
+
/**
|
|
56360
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=mailgroup.manager&apiName=batch_delete&version=v1 click to debug }
|
|
56361
|
+
*
|
|
56362
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-manager/batch_delete document }
|
|
56363
|
+
*
|
|
56364
|
+
* 批量删除邮件组管理员
|
|
56365
|
+
*
|
|
56366
|
+
* 批量删除邮件组管理员
|
|
56367
|
+
*/
|
|
56368
|
+
batchDelete: (payload?: {
|
|
56369
|
+
data?: {
|
|
56370
|
+
mailgroup_manager_list?: Array<{
|
|
56371
|
+
user_id?: string;
|
|
56372
|
+
}>;
|
|
56373
|
+
};
|
|
56374
|
+
params?: {
|
|
56375
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
56376
|
+
};
|
|
56377
|
+
path?: {
|
|
56378
|
+
mailgroup_id?: string;
|
|
56379
|
+
};
|
|
56380
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
56381
|
+
code?: number | undefined;
|
|
56382
|
+
msg?: string | undefined;
|
|
56383
|
+
data?: {} | undefined;
|
|
56384
|
+
}>;
|
|
56385
|
+
listWithIterator: (payload?: {
|
|
56386
|
+
params?: {
|
|
56387
|
+
page_size?: number;
|
|
56388
|
+
page_token?: string;
|
|
56389
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
56390
|
+
};
|
|
56391
|
+
path?: {
|
|
56392
|
+
mailgroup_id?: string;
|
|
56393
|
+
};
|
|
56394
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
56395
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
56396
|
+
items?: {
|
|
56397
|
+
user_id?: string | undefined;
|
|
56398
|
+
}[] | undefined;
|
|
56399
|
+
} | null, void, unknown>;
|
|
56400
|
+
}>;
|
|
56401
|
+
/**
|
|
56402
|
+
* {@link https://open.feishu.cn/api-explorer?project=mail&resource=mailgroup.manager&apiName=list&version=v1 click to debug }
|
|
56403
|
+
*
|
|
56404
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/mail-v1/mailgroup-manager/list document }
|
|
56405
|
+
*
|
|
56406
|
+
* 批量获取邮件组管理员
|
|
56407
|
+
*
|
|
56408
|
+
* 批量获取邮件组管理员
|
|
56409
|
+
*/
|
|
56410
|
+
list: (payload?: {
|
|
56411
|
+
params?: {
|
|
56412
|
+
page_size?: number;
|
|
56413
|
+
page_token?: string;
|
|
56414
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
56415
|
+
};
|
|
56416
|
+
path?: {
|
|
56417
|
+
mailgroup_id?: string;
|
|
56418
|
+
};
|
|
56419
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
56420
|
+
code?: number | undefined;
|
|
56421
|
+
msg?: string | undefined;
|
|
56422
|
+
data?: {
|
|
56423
|
+
items?: {
|
|
56424
|
+
user_id?: string | undefined;
|
|
56425
|
+
}[] | undefined;
|
|
56426
|
+
page_token?: string | undefined;
|
|
56427
|
+
has_more?: boolean | undefined;
|
|
56428
|
+
} | undefined;
|
|
56429
|
+
}>;
|
|
56430
|
+
};
|
|
55239
56431
|
/**
|
|
55240
56432
|
* 邮件组成员
|
|
55241
56433
|
*/
|
|
@@ -56201,9 +57393,63 @@ declare abstract class Client$1 {
|
|
|
56201
57393
|
};
|
|
56202
57394
|
};
|
|
56203
57395
|
/**
|
|
56204
|
-
|
|
57396
|
+
* 主数据
|
|
57397
|
+
*/
|
|
57398
|
+
mdm: {
|
|
57399
|
+
/**
|
|
57400
|
+
* 数据维度
|
|
56205
57401
|
*/
|
|
56206
|
-
|
|
57402
|
+
userAuthDataRelation: {
|
|
57403
|
+
/**
|
|
57404
|
+
* {@link https://open.feishu.cn/api-explorer?project=mdm&resource=user_auth_data_relation&apiName=bind&version=v1 click to debug }
|
|
57405
|
+
*
|
|
57406
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/mdm-v1/user_auth_data_relation/bind document }
|
|
57407
|
+
*
|
|
57408
|
+
* 用户数据维度绑定
|
|
57409
|
+
*
|
|
57410
|
+
* 通过该接口,可为指定应用下的用户绑定一类数据维度,支持批量给多个用户同时增量授权。
|
|
57411
|
+
*/
|
|
57412
|
+
bind: (payload?: {
|
|
57413
|
+
data: {
|
|
57414
|
+
root_dimension_type: string;
|
|
57415
|
+
sub_dimension_types: Array<string>;
|
|
57416
|
+
authorized_user_ids: Array<string>;
|
|
57417
|
+
uams_app_id: string;
|
|
57418
|
+
};
|
|
57419
|
+
params?: {
|
|
57420
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
57421
|
+
};
|
|
57422
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
57423
|
+
code?: number | undefined;
|
|
57424
|
+
msg?: string | undefined;
|
|
57425
|
+
data?: {} | undefined;
|
|
57426
|
+
}>;
|
|
57427
|
+
/**
|
|
57428
|
+
* {@link https://open.feishu.cn/api-explorer?project=mdm&resource=user_auth_data_relation&apiName=unbind&version=v1 click to debug }
|
|
57429
|
+
*
|
|
57430
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/mdm-v1/user_auth_data_relation/unbind document }
|
|
57431
|
+
*
|
|
57432
|
+
* 用户数据维度解绑
|
|
57433
|
+
*
|
|
57434
|
+
* 通过该接口,可为指定应用下的指定用户解除一类数据维度。
|
|
57435
|
+
*/
|
|
57436
|
+
unbind: (payload?: {
|
|
57437
|
+
data: {
|
|
57438
|
+
root_dimension_type: string;
|
|
57439
|
+
sub_dimension_types: Array<string>;
|
|
57440
|
+
authorized_user_ids: Array<string>;
|
|
57441
|
+
uams_app_id: string;
|
|
57442
|
+
};
|
|
57443
|
+
params?: {
|
|
57444
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
57445
|
+
};
|
|
57446
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
57447
|
+
code?: number | undefined;
|
|
57448
|
+
msg?: string | undefined;
|
|
57449
|
+
data?: {} | undefined;
|
|
57450
|
+
}>;
|
|
57451
|
+
};
|
|
57452
|
+
};
|
|
56207
57453
|
/**
|
|
56208
57454
|
|
|
56209
57455
|
*/
|
|
@@ -56632,6 +57878,8 @@ declare abstract class Client$1 {
|
|
|
56632
57878
|
zh_name?: string | undefined;
|
|
56633
57879
|
en_name?: string | undefined;
|
|
56634
57880
|
status?: number | undefined;
|
|
57881
|
+
period_start_time?: string | undefined;
|
|
57882
|
+
period_end_time?: string | undefined;
|
|
56635
57883
|
}[] | undefined;
|
|
56636
57884
|
} | undefined;
|
|
56637
57885
|
}>;
|
|
@@ -58690,7 +59938,7 @@ declare abstract class Client$1 {
|
|
|
58690
59938
|
}>;
|
|
58691
59939
|
};
|
|
58692
59940
|
/**
|
|
58693
|
-
*
|
|
59941
|
+
* 单元格
|
|
58694
59942
|
*/
|
|
58695
59943
|
spreadsheetSheet: {
|
|
58696
59944
|
/**
|
|
@@ -61520,6 +62768,68 @@ declare abstract class Client$1 {
|
|
|
61520
62768
|
data?: {} | undefined;
|
|
61521
62769
|
}>;
|
|
61522
62770
|
};
|
|
62771
|
+
/**
|
|
62772
|
+
* reserve_config.disable_inform
|
|
62773
|
+
*/
|
|
62774
|
+
reserveConfigDisableInform: {
|
|
62775
|
+
/**
|
|
62776
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=reserve_config.disable_inform&apiName=get&version=v1 click to debug }
|
|
62777
|
+
*
|
|
62778
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=vc&resource=reserve_config.disable_inform&version=v1 document }
|
|
62779
|
+
*/
|
|
62780
|
+
get: (payload?: {
|
|
62781
|
+
params: {
|
|
62782
|
+
scope_type: number;
|
|
62783
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
62784
|
+
};
|
|
62785
|
+
path: {
|
|
62786
|
+
reserve_config_id: string;
|
|
62787
|
+
};
|
|
62788
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
62789
|
+
code?: number | undefined;
|
|
62790
|
+
msg?: string | undefined;
|
|
62791
|
+
data?: {
|
|
62792
|
+
disable_inform?: {
|
|
62793
|
+
if_inform: boolean;
|
|
62794
|
+
informed_users?: {
|
|
62795
|
+
user_id: string;
|
|
62796
|
+
}[] | undefined;
|
|
62797
|
+
informed_depts?: {
|
|
62798
|
+
department_id: string;
|
|
62799
|
+
}[] | undefined;
|
|
62800
|
+
} | undefined;
|
|
62801
|
+
} | undefined;
|
|
62802
|
+
}>;
|
|
62803
|
+
/**
|
|
62804
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=reserve_config.disable_inform&apiName=patch&version=v1 click to debug }
|
|
62805
|
+
*
|
|
62806
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=vc&resource=reserve_config.disable_inform&version=v1 document }
|
|
62807
|
+
*/
|
|
62808
|
+
patch: (payload?: {
|
|
62809
|
+
data: {
|
|
62810
|
+
scope_type: number;
|
|
62811
|
+
disable_inform: {
|
|
62812
|
+
if_inform: boolean;
|
|
62813
|
+
informed_users?: Array<{
|
|
62814
|
+
user_id: string;
|
|
62815
|
+
}>;
|
|
62816
|
+
informed_depts?: Array<{
|
|
62817
|
+
department_id: string;
|
|
62818
|
+
}>;
|
|
62819
|
+
};
|
|
62820
|
+
};
|
|
62821
|
+
params?: {
|
|
62822
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
62823
|
+
};
|
|
62824
|
+
path: {
|
|
62825
|
+
reserve_config_id: string;
|
|
62826
|
+
};
|
|
62827
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
62828
|
+
code?: number | undefined;
|
|
62829
|
+
msg?: string | undefined;
|
|
62830
|
+
data?: {} | undefined;
|
|
62831
|
+
}>;
|
|
62832
|
+
};
|
|
61523
62833
|
/**
|
|
61524
62834
|
* reserve_config.form
|
|
61525
62835
|
*/
|
|
@@ -62281,6 +63591,50 @@ declare abstract class Client$1 {
|
|
|
62281
63591
|
msg?: string | undefined;
|
|
62282
63592
|
data?: {} | undefined;
|
|
62283
63593
|
}>;
|
|
63594
|
+
/**
|
|
63595
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=room_config&apiName=set_checkboard_access_code&version=v1 click to debug }
|
|
63596
|
+
*
|
|
63597
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=set_checkboard_access_code&project=vc&resource=room_config&version=v1 document }
|
|
63598
|
+
*/
|
|
63599
|
+
setCheckboardAccessCode: (payload?: {
|
|
63600
|
+
data: {
|
|
63601
|
+
scope: number;
|
|
63602
|
+
country_id?: string;
|
|
63603
|
+
district_id?: string;
|
|
63604
|
+
building_id?: string;
|
|
63605
|
+
floor_name?: string;
|
|
63606
|
+
room_id?: string;
|
|
63607
|
+
valid_day: number;
|
|
63608
|
+
};
|
|
63609
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
63610
|
+
code?: number | undefined;
|
|
63611
|
+
msg?: string | undefined;
|
|
63612
|
+
data?: {
|
|
63613
|
+
access_code?: string | undefined;
|
|
63614
|
+
} | undefined;
|
|
63615
|
+
}>;
|
|
63616
|
+
/**
|
|
63617
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=room_config&apiName=set_room_access_code&version=v1 click to debug }
|
|
63618
|
+
*
|
|
63619
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=set_room_access_code&project=vc&resource=room_config&version=v1 document }
|
|
63620
|
+
*/
|
|
63621
|
+
setRoomAccessCode: (payload?: {
|
|
63622
|
+
data: {
|
|
63623
|
+
scope: number;
|
|
63624
|
+
country_id?: string;
|
|
63625
|
+
district_id?: string;
|
|
63626
|
+
building_id?: string;
|
|
63627
|
+
floor_name?: string;
|
|
63628
|
+
room_id?: string;
|
|
63629
|
+
valid_day: number;
|
|
63630
|
+
};
|
|
63631
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
63632
|
+
code?: number | undefined;
|
|
63633
|
+
msg?: string | undefined;
|
|
63634
|
+
data?: {
|
|
63635
|
+
access_code?: string | undefined;
|
|
63636
|
+
} | undefined;
|
|
63637
|
+
}>;
|
|
62284
63638
|
};
|
|
62285
63639
|
/**
|
|
62286
63640
|
* 会议室层级
|
|
@@ -63262,7 +64616,116 @@ declare abstract class Client$1 {
|
|
|
63262
64616
|
/**
|
|
63263
64617
|
|
|
63264
64618
|
*/
|
|
63265
|
-
workplace: {
|
|
64619
|
+
workplace: {
|
|
64620
|
+
/**
|
|
64621
|
+
* custom_workplace_access_data
|
|
64622
|
+
*/
|
|
64623
|
+
customWorkplaceAccessData: {
|
|
64624
|
+
/**
|
|
64625
|
+
* {@link https://open.feishu.cn/api-explorer?project=workplace&resource=custom_workplace_access_data&apiName=search&version=v1 click to debug }
|
|
64626
|
+
*
|
|
64627
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=search&project=workplace&resource=custom_workplace_access_data&version=v1 document }
|
|
64628
|
+
*/
|
|
64629
|
+
search: (payload?: {
|
|
64630
|
+
params: {
|
|
64631
|
+
from_date: string;
|
|
64632
|
+
to_date: string;
|
|
64633
|
+
page_size: number;
|
|
64634
|
+
page_token?: string;
|
|
64635
|
+
custom_workplace_id?: string;
|
|
64636
|
+
};
|
|
64637
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
64638
|
+
code?: number | undefined;
|
|
64639
|
+
msg?: string | undefined;
|
|
64640
|
+
data?: {
|
|
64641
|
+
items?: {
|
|
64642
|
+
custom_workplace_id?: string | undefined;
|
|
64643
|
+
access_data?: {
|
|
64644
|
+
pv?: number | undefined;
|
|
64645
|
+
uv?: number | undefined;
|
|
64646
|
+
} | undefined;
|
|
64647
|
+
date?: string | undefined;
|
|
64648
|
+
custom_workplace_name?: {
|
|
64649
|
+
language?: string | undefined;
|
|
64650
|
+
name?: string | undefined;
|
|
64651
|
+
}[] | undefined;
|
|
64652
|
+
}[] | undefined;
|
|
64653
|
+
has_more?: boolean | undefined;
|
|
64654
|
+
page_token?: string | undefined;
|
|
64655
|
+
} | undefined;
|
|
64656
|
+
}>;
|
|
64657
|
+
};
|
|
64658
|
+
/**
|
|
64659
|
+
* workplace_access_data
|
|
64660
|
+
*/
|
|
64661
|
+
workplaceAccessData: {
|
|
64662
|
+
/**
|
|
64663
|
+
* {@link https://open.feishu.cn/api-explorer?project=workplace&resource=workplace_access_data&apiName=search&version=v1 click to debug }
|
|
64664
|
+
*
|
|
64665
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=search&project=workplace&resource=workplace_access_data&version=v1 document }
|
|
64666
|
+
*/
|
|
64667
|
+
search: (payload?: {
|
|
64668
|
+
params: {
|
|
64669
|
+
from_date: string;
|
|
64670
|
+
to_date: string;
|
|
64671
|
+
page_size: number;
|
|
64672
|
+
page_token?: string;
|
|
64673
|
+
};
|
|
64674
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
64675
|
+
code?: number | undefined;
|
|
64676
|
+
msg?: string | undefined;
|
|
64677
|
+
data?: {
|
|
64678
|
+
items?: {
|
|
64679
|
+
date?: string | undefined;
|
|
64680
|
+
all_workplace?: {
|
|
64681
|
+
pv?: number | undefined;
|
|
64682
|
+
uv?: number | undefined;
|
|
64683
|
+
} | undefined;
|
|
64684
|
+
default_workplace?: {
|
|
64685
|
+
pv?: number | undefined;
|
|
64686
|
+
uv?: number | undefined;
|
|
64687
|
+
} | undefined;
|
|
64688
|
+
}[] | undefined;
|
|
64689
|
+
has_more?: boolean | undefined;
|
|
64690
|
+
page_token?: string | undefined;
|
|
64691
|
+
} | undefined;
|
|
64692
|
+
}>;
|
|
64693
|
+
};
|
|
64694
|
+
/**
|
|
64695
|
+
* workplace_block_access_data
|
|
64696
|
+
*/
|
|
64697
|
+
workplaceBlockAccessData: {
|
|
64698
|
+
/**
|
|
64699
|
+
* {@link https://open.feishu.cn/api-explorer?project=workplace&resource=workplace_block_access_data&apiName=search&version=v1 click to debug }
|
|
64700
|
+
*
|
|
64701
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=search&project=workplace&resource=workplace_block_access_data&version=v1 document }
|
|
64702
|
+
*/
|
|
64703
|
+
search: (payload?: {
|
|
64704
|
+
params: {
|
|
64705
|
+
from_date: string;
|
|
64706
|
+
to_date: string;
|
|
64707
|
+
page_size: number;
|
|
64708
|
+
page_token?: string;
|
|
64709
|
+
block_id?: string;
|
|
64710
|
+
};
|
|
64711
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
64712
|
+
code?: number | undefined;
|
|
64713
|
+
msg?: string | undefined;
|
|
64714
|
+
data?: {
|
|
64715
|
+
items?: {
|
|
64716
|
+
date?: string | undefined;
|
|
64717
|
+
block_id?: string | undefined;
|
|
64718
|
+
access_data?: {
|
|
64719
|
+
pv?: number | undefined;
|
|
64720
|
+
uv?: number | undefined;
|
|
64721
|
+
} | undefined;
|
|
64722
|
+
}[] | undefined;
|
|
64723
|
+
has_more?: boolean | undefined;
|
|
64724
|
+
page_token?: string | undefined;
|
|
64725
|
+
} | undefined;
|
|
64726
|
+
}>;
|
|
64727
|
+
};
|
|
64728
|
+
};
|
|
63266
64729
|
}
|
|
63267
64730
|
|
|
63268
64731
|
interface IParams$1 {
|