@larksuiteoapi/node-sdk 1.13.1 → 1.14.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/es/index.js +696 -178
- package/lib/index.js +696 -178
- package/package.json +1 -1
- package/types/index.d.ts +1124 -56
package/types/index.d.ts
CHANGED
|
@@ -393,7 +393,7 @@ declare abstract class Client$1 {
|
|
|
393
393
|
};
|
|
394
394
|
};
|
|
395
395
|
/**
|
|
396
|
-
*
|
|
396
|
+
* 管理后台-密码
|
|
397
397
|
*/
|
|
398
398
|
admin: {
|
|
399
399
|
/**
|
|
@@ -1332,10 +1332,12 @@ declare abstract class Client$1 {
|
|
|
1332
1332
|
visible_list?: {
|
|
1333
1333
|
open_ids?: string[] | undefined;
|
|
1334
1334
|
department_ids?: string[] | undefined;
|
|
1335
|
+
group_ids?: string[] | undefined;
|
|
1335
1336
|
} | undefined;
|
|
1336
1337
|
invisible_list?: {
|
|
1337
1338
|
open_ids?: string[] | undefined;
|
|
1338
1339
|
department_ids?: string[] | undefined;
|
|
1340
|
+
group_ids?: string[] | undefined;
|
|
1339
1341
|
} | undefined;
|
|
1340
1342
|
} | undefined;
|
|
1341
1343
|
} | undefined;
|
|
@@ -1452,10 +1454,12 @@ declare abstract class Client$1 {
|
|
|
1452
1454
|
visible_list?: {
|
|
1453
1455
|
open_ids?: string[] | undefined;
|
|
1454
1456
|
department_ids?: string[] | undefined;
|
|
1457
|
+
group_ids?: string[] | undefined;
|
|
1455
1458
|
} | undefined;
|
|
1456
1459
|
invisible_list?: {
|
|
1457
1460
|
open_ids?: string[] | undefined;
|
|
1458
1461
|
department_ids?: string[] | undefined;
|
|
1462
|
+
group_ids?: string[] | undefined;
|
|
1459
1463
|
} | undefined;
|
|
1460
1464
|
} | undefined;
|
|
1461
1465
|
} | undefined;
|
|
@@ -1583,10 +1587,12 @@ declare abstract class Client$1 {
|
|
|
1583
1587
|
visible_list?: {
|
|
1584
1588
|
open_ids?: string[] | undefined;
|
|
1585
1589
|
department_ids?: string[] | undefined;
|
|
1590
|
+
group_ids?: string[] | undefined;
|
|
1586
1591
|
} | undefined;
|
|
1587
1592
|
invisible_list?: {
|
|
1588
1593
|
open_ids?: string[] | undefined;
|
|
1589
1594
|
department_ids?: string[] | undefined;
|
|
1595
|
+
group_ids?: string[] | undefined;
|
|
1590
1596
|
} | undefined;
|
|
1591
1597
|
} | undefined;
|
|
1592
1598
|
} | undefined;
|
|
@@ -1918,6 +1924,7 @@ declare abstract class Client$1 {
|
|
|
1918
1924
|
revert_interval?: number;
|
|
1919
1925
|
revert_option?: number;
|
|
1920
1926
|
reject_option?: number;
|
|
1927
|
+
quick_approval_option?: number;
|
|
1921
1928
|
};
|
|
1922
1929
|
config?: {
|
|
1923
1930
|
can_update_viewer: boolean;
|
|
@@ -1995,42 +2002,6 @@ declare abstract class Client$1 {
|
|
|
1995
2002
|
approval_admin_ids?: string[] | undefined;
|
|
1996
2003
|
} | undefined;
|
|
1997
2004
|
}>;
|
|
1998
|
-
listWithIterator: (payload?: {
|
|
1999
|
-
params?: {
|
|
2000
|
-
page_size?: number;
|
|
2001
|
-
page_token?: string;
|
|
2002
|
-
locale?: string;
|
|
2003
|
-
};
|
|
2004
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
2005
|
-
[Symbol.asyncIterator](): AsyncGenerator<{} | null, void, unknown>;
|
|
2006
|
-
}>;
|
|
2007
|
-
/**
|
|
2008
|
-
* {@link https://open.feishu.cn/api-explorer?project=approval&resource=approval&apiName=list&version=v4 click to debug }
|
|
2009
|
-
*
|
|
2010
|
-
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/approval-v4/approval/list document }
|
|
2011
|
-
*
|
|
2012
|
-
* 查询审批定义列表
|
|
2013
|
-
*
|
|
2014
|
-
* 查询当前用户可发起的审批定义列表。
|
|
2015
|
-
*/
|
|
2016
|
-
list: (payload?: {
|
|
2017
|
-
params?: {
|
|
2018
|
-
page_size?: number;
|
|
2019
|
-
page_token?: string;
|
|
2020
|
-
locale?: string;
|
|
2021
|
-
};
|
|
2022
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
2023
|
-
code?: number | undefined;
|
|
2024
|
-
msg?: string | undefined;
|
|
2025
|
-
data?: {
|
|
2026
|
-
items?: {
|
|
2027
|
-
approval_code: string;
|
|
2028
|
-
approval_name?: string | undefined;
|
|
2029
|
-
}[] | undefined;
|
|
2030
|
-
page_token?: string | undefined;
|
|
2031
|
-
has_more: boolean;
|
|
2032
|
-
} | undefined;
|
|
2033
|
-
}>;
|
|
2034
2005
|
/**
|
|
2035
2006
|
* {@link https://open.feishu.cn/api-explorer?project=approval&resource=approval&apiName=subscribe&version=v4 click to debug }
|
|
2036
2007
|
*
|
|
@@ -7822,7 +7793,7 @@ declare abstract class Client$1 {
|
|
|
7822
7793
|
avatar_url?: string;
|
|
7823
7794
|
};
|
|
7824
7795
|
last_modified_time?: number;
|
|
7825
|
-
fields: Record<string, string | boolean | {
|
|
7796
|
+
fields: Record<string, string | number | number | number | boolean | {
|
|
7826
7797
|
text?: string;
|
|
7827
7798
|
link?: string;
|
|
7828
7799
|
} | {
|
|
@@ -7879,7 +7850,7 @@ declare abstract class Client$1 {
|
|
|
7879
7850
|
avatar_url?: string | undefined;
|
|
7880
7851
|
} | undefined;
|
|
7881
7852
|
last_modified_time?: number | undefined;
|
|
7882
|
-
fields: Record<string, string | boolean | {
|
|
7853
|
+
fields: Record<string, string | number | number | number | boolean | {
|
|
7883
7854
|
text?: string;
|
|
7884
7855
|
link?: string;
|
|
7885
7856
|
} | {
|
|
@@ -7967,7 +7938,7 @@ declare abstract class Client$1 {
|
|
|
7967
7938
|
avatar_url?: string;
|
|
7968
7939
|
};
|
|
7969
7940
|
last_modified_time?: number;
|
|
7970
|
-
fields: Record<string, string | boolean | {
|
|
7941
|
+
fields: Record<string, string | number | number | number | boolean | {
|
|
7971
7942
|
text?: string;
|
|
7972
7943
|
link?: string;
|
|
7973
7944
|
} | {
|
|
@@ -8023,7 +7994,7 @@ declare abstract class Client$1 {
|
|
|
8023
7994
|
avatar_url?: string | undefined;
|
|
8024
7995
|
} | undefined;
|
|
8025
7996
|
last_modified_time?: number | undefined;
|
|
8026
|
-
fields: Record<string, string | boolean | {
|
|
7997
|
+
fields: Record<string, string | number | number | number | boolean | {
|
|
8027
7998
|
text?: string;
|
|
8028
7999
|
link?: string;
|
|
8029
8000
|
} | {
|
|
@@ -8064,7 +8035,7 @@ declare abstract class Client$1 {
|
|
|
8064
8035
|
*/
|
|
8065
8036
|
create: (payload?: {
|
|
8066
8037
|
data: {
|
|
8067
|
-
fields: Record<string, string | boolean | {
|
|
8038
|
+
fields: Record<string, string | number | number | number | boolean | {
|
|
8068
8039
|
text?: string;
|
|
8069
8040
|
link?: string;
|
|
8070
8041
|
} | {
|
|
@@ -8119,7 +8090,7 @@ declare abstract class Client$1 {
|
|
|
8119
8090
|
avatar_url?: string | undefined;
|
|
8120
8091
|
} | undefined;
|
|
8121
8092
|
last_modified_time?: number | undefined;
|
|
8122
|
-
fields: Record<string, string | boolean | {
|
|
8093
|
+
fields: Record<string, string | number | number | number | boolean | {
|
|
8123
8094
|
text?: string;
|
|
8124
8095
|
link?: string;
|
|
8125
8096
|
} | {
|
|
@@ -8217,7 +8188,7 @@ declare abstract class Client$1 {
|
|
|
8217
8188
|
avatar_url?: string | undefined;
|
|
8218
8189
|
} | undefined;
|
|
8219
8190
|
last_modified_time?: number | undefined;
|
|
8220
|
-
fields: Record<string, string | boolean | {
|
|
8191
|
+
fields: Record<string, string | number | number | number | boolean | {
|
|
8221
8192
|
text?: string;
|
|
8222
8193
|
link?: string;
|
|
8223
8194
|
} | {
|
|
@@ -8283,7 +8254,7 @@ declare abstract class Client$1 {
|
|
|
8283
8254
|
avatar_url?: string | undefined;
|
|
8284
8255
|
} | undefined;
|
|
8285
8256
|
last_modified_time?: number | undefined;
|
|
8286
|
-
fields: Record<string, string | boolean | {
|
|
8257
|
+
fields: Record<string, string | number | number | number | boolean | {
|
|
8287
8258
|
text?: string;
|
|
8288
8259
|
link?: string;
|
|
8289
8260
|
} | {
|
|
@@ -8364,7 +8335,7 @@ declare abstract class Client$1 {
|
|
|
8364
8335
|
avatar_url?: string | undefined;
|
|
8365
8336
|
} | undefined;
|
|
8366
8337
|
last_modified_time?: number | undefined;
|
|
8367
|
-
fields: Record<string, string | boolean | {
|
|
8338
|
+
fields: Record<string, string | number | number | number | boolean | {
|
|
8368
8339
|
text?: string;
|
|
8369
8340
|
link?: string;
|
|
8370
8341
|
} | {
|
|
@@ -8405,7 +8376,7 @@ declare abstract class Client$1 {
|
|
|
8405
8376
|
*/
|
|
8406
8377
|
update: (payload?: {
|
|
8407
8378
|
data: {
|
|
8408
|
-
fields: Record<string, string | boolean | {
|
|
8379
|
+
fields: Record<string, string | number | number | number | boolean | {
|
|
8409
8380
|
text?: string;
|
|
8410
8381
|
link?: string;
|
|
8411
8382
|
} | {
|
|
@@ -8460,7 +8431,7 @@ declare abstract class Client$1 {
|
|
|
8460
8431
|
avatar_url?: string | undefined;
|
|
8461
8432
|
} | undefined;
|
|
8462
8433
|
last_modified_time?: number | undefined;
|
|
8463
|
-
fields: Record<string, string | boolean | {
|
|
8434
|
+
fields: Record<string, string | number | number | number | boolean | {
|
|
8464
8435
|
text?: string;
|
|
8465
8436
|
link?: string;
|
|
8466
8437
|
} | {
|
|
@@ -11334,6 +11305,212 @@ declare abstract class Client$1 {
|
|
|
11334
11305
|
} | undefined;
|
|
11335
11306
|
}>;
|
|
11336
11307
|
};
|
|
11308
|
+
/**
|
|
11309
|
+
* functional_role
|
|
11310
|
+
*/
|
|
11311
|
+
functionalRole: {
|
|
11312
|
+
/**
|
|
11313
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=functional_role&apiName=create&version=v3 click to debug }
|
|
11314
|
+
*
|
|
11315
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=contact&resource=functional_role&version=v3 document }
|
|
11316
|
+
*/
|
|
11317
|
+
create: (payload?: {
|
|
11318
|
+
data: {
|
|
11319
|
+
role_name: string;
|
|
11320
|
+
};
|
|
11321
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
11322
|
+
code?: number | undefined;
|
|
11323
|
+
msg?: string | undefined;
|
|
11324
|
+
data?: {
|
|
11325
|
+
role_id: string;
|
|
11326
|
+
} | undefined;
|
|
11327
|
+
}>;
|
|
11328
|
+
/**
|
|
11329
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=functional_role&apiName=delete&version=v3 click to debug }
|
|
11330
|
+
*
|
|
11331
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=contact&resource=functional_role&version=v3 document }
|
|
11332
|
+
*/
|
|
11333
|
+
delete: (payload?: {
|
|
11334
|
+
path: {
|
|
11335
|
+
role_id: string;
|
|
11336
|
+
};
|
|
11337
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
11338
|
+
code?: number | undefined;
|
|
11339
|
+
msg?: string | undefined;
|
|
11340
|
+
data?: {} | undefined;
|
|
11341
|
+
}>;
|
|
11342
|
+
/**
|
|
11343
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=functional_role&apiName=update&version=v3 click to debug }
|
|
11344
|
+
*
|
|
11345
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=update&project=contact&resource=functional_role&version=v3 document }
|
|
11346
|
+
*/
|
|
11347
|
+
update: (payload?: {
|
|
11348
|
+
data: {
|
|
11349
|
+
role_name: string;
|
|
11350
|
+
};
|
|
11351
|
+
path: {
|
|
11352
|
+
role_id: string;
|
|
11353
|
+
};
|
|
11354
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
11355
|
+
code?: number | undefined;
|
|
11356
|
+
msg?: string | undefined;
|
|
11357
|
+
data?: {} | undefined;
|
|
11358
|
+
}>;
|
|
11359
|
+
};
|
|
11360
|
+
/**
|
|
11361
|
+
* functional_role.member
|
|
11362
|
+
*/
|
|
11363
|
+
functionalRoleMember: {
|
|
11364
|
+
/**
|
|
11365
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=functional_role.member&apiName=batch_create&version=v3 click to debug }
|
|
11366
|
+
*
|
|
11367
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_create&project=contact&resource=functional_role.member&version=v3 document }
|
|
11368
|
+
*/
|
|
11369
|
+
batchCreate: (payload?: {
|
|
11370
|
+
data: {
|
|
11371
|
+
members: Array<string>;
|
|
11372
|
+
};
|
|
11373
|
+
params?: {
|
|
11374
|
+
user_id_type?: "open_id" | "union_id" | "user_id";
|
|
11375
|
+
};
|
|
11376
|
+
path: {
|
|
11377
|
+
role_id: string;
|
|
11378
|
+
};
|
|
11379
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
11380
|
+
code?: number | undefined;
|
|
11381
|
+
msg?: string | undefined;
|
|
11382
|
+
data?: {
|
|
11383
|
+
results?: {
|
|
11384
|
+
user_id: string;
|
|
11385
|
+
reason: number;
|
|
11386
|
+
}[] | undefined;
|
|
11387
|
+
} | undefined;
|
|
11388
|
+
}>;
|
|
11389
|
+
/**
|
|
11390
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=functional_role.member&apiName=batch_delete&version=v3 click to debug }
|
|
11391
|
+
*
|
|
11392
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=batch_delete&project=contact&resource=functional_role.member&version=v3 document }
|
|
11393
|
+
*/
|
|
11394
|
+
batchDelete: (payload?: {
|
|
11395
|
+
data?: {
|
|
11396
|
+
members?: Array<string>;
|
|
11397
|
+
};
|
|
11398
|
+
params?: {
|
|
11399
|
+
user_id_type?: "open_id" | "union_id" | "user_id";
|
|
11400
|
+
};
|
|
11401
|
+
path: {
|
|
11402
|
+
role_id: string;
|
|
11403
|
+
};
|
|
11404
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
11405
|
+
code?: number | undefined;
|
|
11406
|
+
msg?: string | undefined;
|
|
11407
|
+
data?: {
|
|
11408
|
+
result?: {
|
|
11409
|
+
user_id: string;
|
|
11410
|
+
reason: number;
|
|
11411
|
+
}[] | undefined;
|
|
11412
|
+
} | undefined;
|
|
11413
|
+
}>;
|
|
11414
|
+
/**
|
|
11415
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=functional_role.member&apiName=get&version=v3 click to debug }
|
|
11416
|
+
*
|
|
11417
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=contact&resource=functional_role.member&version=v3 document }
|
|
11418
|
+
*/
|
|
11419
|
+
get: (payload?: {
|
|
11420
|
+
params?: {
|
|
11421
|
+
user_id_type?: "open_id" | "union_id" | "user_id";
|
|
11422
|
+
department_id_type?: "department_id" | "open_department_id";
|
|
11423
|
+
};
|
|
11424
|
+
path: {
|
|
11425
|
+
role_id: string;
|
|
11426
|
+
member_id: string;
|
|
11427
|
+
};
|
|
11428
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
11429
|
+
code?: number | undefined;
|
|
11430
|
+
msg?: string | undefined;
|
|
11431
|
+
data?: {
|
|
11432
|
+
member?: {
|
|
11433
|
+
user_id?: string | undefined;
|
|
11434
|
+
scope_type?: "None" | "All" | "Part" | undefined;
|
|
11435
|
+
department_ids?: string[] | undefined;
|
|
11436
|
+
} | undefined;
|
|
11437
|
+
} | undefined;
|
|
11438
|
+
}>;
|
|
11439
|
+
listWithIterator: (payload?: {
|
|
11440
|
+
params?: {
|
|
11441
|
+
page_size?: number;
|
|
11442
|
+
page_token?: string;
|
|
11443
|
+
user_id_type?: "open_id" | "union_id" | "user_id";
|
|
11444
|
+
department_id_type?: "department_id" | "open_department_id";
|
|
11445
|
+
};
|
|
11446
|
+
path: {
|
|
11447
|
+
role_id: string;
|
|
11448
|
+
};
|
|
11449
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
11450
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
11451
|
+
members?: {
|
|
11452
|
+
user_id?: string | undefined;
|
|
11453
|
+
scope_type?: "None" | "All" | "Part" | undefined;
|
|
11454
|
+
department_ids?: string[] | undefined;
|
|
11455
|
+
}[] | undefined;
|
|
11456
|
+
} | null, void, unknown>;
|
|
11457
|
+
}>;
|
|
11458
|
+
/**
|
|
11459
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=functional_role.member&apiName=list&version=v3 click to debug }
|
|
11460
|
+
*
|
|
11461
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=contact&resource=functional_role.member&version=v3 document }
|
|
11462
|
+
*/
|
|
11463
|
+
list: (payload?: {
|
|
11464
|
+
params?: {
|
|
11465
|
+
page_size?: number;
|
|
11466
|
+
page_token?: string;
|
|
11467
|
+
user_id_type?: "open_id" | "union_id" | "user_id";
|
|
11468
|
+
department_id_type?: "department_id" | "open_department_id";
|
|
11469
|
+
};
|
|
11470
|
+
path: {
|
|
11471
|
+
role_id: string;
|
|
11472
|
+
};
|
|
11473
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
11474
|
+
code?: number | undefined;
|
|
11475
|
+
msg?: string | undefined;
|
|
11476
|
+
data?: {
|
|
11477
|
+
members?: {
|
|
11478
|
+
user_id?: string | undefined;
|
|
11479
|
+
scope_type?: "None" | "All" | "Part" | undefined;
|
|
11480
|
+
department_ids?: string[] | undefined;
|
|
11481
|
+
}[] | undefined;
|
|
11482
|
+
page_token?: string | undefined;
|
|
11483
|
+
has_more?: boolean | undefined;
|
|
11484
|
+
} | undefined;
|
|
11485
|
+
}>;
|
|
11486
|
+
/**
|
|
11487
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=functional_role.member&apiName=scopes&version=v3 click to debug }
|
|
11488
|
+
*
|
|
11489
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=scopes&project=contact&resource=functional_role.member&version=v3 document }
|
|
11490
|
+
*/
|
|
11491
|
+
scopes: (payload?: {
|
|
11492
|
+
data: {
|
|
11493
|
+
members: Array<string>;
|
|
11494
|
+
departments: Array<string>;
|
|
11495
|
+
};
|
|
11496
|
+
params?: {
|
|
11497
|
+
user_id_type?: "open_id" | "union_id" | "user_id";
|
|
11498
|
+
department_id_type?: "department_id" | "open_department_id";
|
|
11499
|
+
};
|
|
11500
|
+
path: {
|
|
11501
|
+
role_id: string;
|
|
11502
|
+
};
|
|
11503
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
11504
|
+
code?: number | undefined;
|
|
11505
|
+
msg?: string | undefined;
|
|
11506
|
+
data?: {
|
|
11507
|
+
results?: {
|
|
11508
|
+
user_id: string;
|
|
11509
|
+
reason: number;
|
|
11510
|
+
}[] | undefined;
|
|
11511
|
+
} | undefined;
|
|
11512
|
+
}>;
|
|
11513
|
+
};
|
|
11337
11514
|
/**
|
|
11338
11515
|
* 用户组
|
|
11339
11516
|
*/
|
|
@@ -11353,6 +11530,30 @@ declare abstract class Client$1 {
|
|
|
11353
11530
|
name: string;
|
|
11354
11531
|
description?: string;
|
|
11355
11532
|
type?: number;
|
|
11533
|
+
dynamic_group_rule?: {
|
|
11534
|
+
department_ids?: Array<string>;
|
|
11535
|
+
department_level?: "recursive" | "non_recursive";
|
|
11536
|
+
expressions?: Array<{
|
|
11537
|
+
field?: string;
|
|
11538
|
+
operator?: string;
|
|
11539
|
+
value?: string;
|
|
11540
|
+
values?: Array<string>;
|
|
11541
|
+
}>;
|
|
11542
|
+
joiner_rule?: string;
|
|
11543
|
+
white_list?: Array<string>;
|
|
11544
|
+
black_list?: Array<string>;
|
|
11545
|
+
group_status?: "completed" | "failure" | "creating" | "updating";
|
|
11546
|
+
};
|
|
11547
|
+
visible_scope?: {
|
|
11548
|
+
visible_scope_type?: "invisible" | "public" | "group_member_visible" | "specified_scope_visible";
|
|
11549
|
+
visible_users?: Array<string>;
|
|
11550
|
+
visible_departments?: Array<string>;
|
|
11551
|
+
scene_types?: Array<number>;
|
|
11552
|
+
};
|
|
11553
|
+
};
|
|
11554
|
+
params?: {
|
|
11555
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
11556
|
+
department_id_type?: "open_department_id" | "department_id";
|
|
11356
11557
|
};
|
|
11357
11558
|
}, options?: IRequestOptions$1) => Promise<{
|
|
11358
11559
|
code?: number | undefined;
|
|
@@ -11389,6 +11590,10 @@ declare abstract class Client$1 {
|
|
|
11389
11590
|
* 根据用户组 ID 查询某个用户组的基本信息,支持查询普通用户组和动态用户组。请确保应用的通讯录权限范围里包括该用户组或者是“全部员工”,[点击了解通讯录权限范围](https://open.feishu.cn/document/ukTMukTMukTM/uETNz4SM1MjLxUzM/v3/guides/scope_authority)。
|
|
11390
11591
|
*/
|
|
11391
11592
|
get: (payload?: {
|
|
11593
|
+
params?: {
|
|
11594
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
11595
|
+
department_id_type?: "open_department_id" | "department_id";
|
|
11596
|
+
};
|
|
11392
11597
|
path: {
|
|
11393
11598
|
group_id: string;
|
|
11394
11599
|
};
|
|
@@ -11402,6 +11607,27 @@ declare abstract class Client$1 {
|
|
|
11402
11607
|
description?: string;
|
|
11403
11608
|
member_user_count?: number;
|
|
11404
11609
|
member_department_count?: number;
|
|
11610
|
+
type?: number;
|
|
11611
|
+
dynamic_group_rule?: {
|
|
11612
|
+
department_ids?: Array<string>;
|
|
11613
|
+
department_level?: "recursive" | "non_recursive";
|
|
11614
|
+
expressions?: Array<{
|
|
11615
|
+
field?: string;
|
|
11616
|
+
operator?: string;
|
|
11617
|
+
value?: string;
|
|
11618
|
+
values?: Array<string>;
|
|
11619
|
+
}>;
|
|
11620
|
+
joiner_rule?: string;
|
|
11621
|
+
white_list?: Array<string>;
|
|
11622
|
+
black_list?: Array<string>;
|
|
11623
|
+
group_status?: "completed" | "failure" | "creating" | "updating";
|
|
11624
|
+
};
|
|
11625
|
+
visible_scope?: {
|
|
11626
|
+
visible_scope_type?: "invisible" | "public" | "group_member_visible" | "specified_scope_visible";
|
|
11627
|
+
visible_users?: Array<string>;
|
|
11628
|
+
visible_departments?: Array<string>;
|
|
11629
|
+
scene_types?: Array<number>;
|
|
11630
|
+
};
|
|
11405
11631
|
};
|
|
11406
11632
|
} | undefined;
|
|
11407
11633
|
}>;
|
|
@@ -11444,6 +11670,30 @@ declare abstract class Client$1 {
|
|
|
11444
11670
|
data?: {
|
|
11445
11671
|
name?: string;
|
|
11446
11672
|
description?: string;
|
|
11673
|
+
dynamic_group_rule?: {
|
|
11674
|
+
department_ids?: Array<string>;
|
|
11675
|
+
department_level?: "recursive" | "non_recursive";
|
|
11676
|
+
expressions?: Array<{
|
|
11677
|
+
field?: string;
|
|
11678
|
+
operator?: string;
|
|
11679
|
+
value?: string;
|
|
11680
|
+
values?: Array<string>;
|
|
11681
|
+
}>;
|
|
11682
|
+
joiner_rule?: string;
|
|
11683
|
+
white_list?: Array<string>;
|
|
11684
|
+
black_list?: Array<string>;
|
|
11685
|
+
group_status?: "completed" | "failure" | "creating" | "updating";
|
|
11686
|
+
};
|
|
11687
|
+
visible_scope?: {
|
|
11688
|
+
visible_scope_type?: "invisible" | "public" | "group_member_visible" | "specified_scope_visible";
|
|
11689
|
+
visible_users?: Array<string>;
|
|
11690
|
+
visible_departments?: Array<string>;
|
|
11691
|
+
scene_types?: Array<number>;
|
|
11692
|
+
};
|
|
11693
|
+
};
|
|
11694
|
+
params?: {
|
|
11695
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
11696
|
+
department_id_type?: "department_id" | "open_department_id";
|
|
11447
11697
|
};
|
|
11448
11698
|
path: {
|
|
11449
11699
|
group_id: string;
|
|
@@ -11487,6 +11737,27 @@ declare abstract class Client$1 {
|
|
|
11487
11737
|
description?: string;
|
|
11488
11738
|
member_user_count?: number;
|
|
11489
11739
|
member_department_count?: number;
|
|
11740
|
+
type?: number;
|
|
11741
|
+
dynamic_group_rule?: {
|
|
11742
|
+
department_ids?: Array<string>;
|
|
11743
|
+
department_level?: "recursive" | "non_recursive";
|
|
11744
|
+
expressions?: Array<{
|
|
11745
|
+
field?: string;
|
|
11746
|
+
operator?: string;
|
|
11747
|
+
value?: string;
|
|
11748
|
+
values?: Array<string>;
|
|
11749
|
+
}>;
|
|
11750
|
+
joiner_rule?: string;
|
|
11751
|
+
white_list?: Array<string>;
|
|
11752
|
+
black_list?: Array<string>;
|
|
11753
|
+
group_status?: "completed" | "failure" | "creating" | "updating";
|
|
11754
|
+
};
|
|
11755
|
+
visible_scope?: {
|
|
11756
|
+
visible_scope_type?: "invisible" | "public" | "group_member_visible" | "specified_scope_visible";
|
|
11757
|
+
visible_users?: Array<string>;
|
|
11758
|
+
visible_departments?: Array<string>;
|
|
11759
|
+
scene_types?: Array<number>;
|
|
11760
|
+
};
|
|
11490
11761
|
}>;
|
|
11491
11762
|
page_token: string;
|
|
11492
11763
|
has_more: boolean;
|
|
@@ -11635,6 +11906,392 @@ declare abstract class Client$1 {
|
|
|
11635
11906
|
} | undefined;
|
|
11636
11907
|
}>;
|
|
11637
11908
|
};
|
|
11909
|
+
/**
|
|
11910
|
+
* job_family
|
|
11911
|
+
*/
|
|
11912
|
+
jobFamily: {
|
|
11913
|
+
/**
|
|
11914
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=job_family&apiName=create&version=v3 click to debug }
|
|
11915
|
+
*
|
|
11916
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=contact&resource=job_family&version=v3 document }
|
|
11917
|
+
*/
|
|
11918
|
+
create: (payload?: {
|
|
11919
|
+
data: {
|
|
11920
|
+
name: string;
|
|
11921
|
+
description?: string;
|
|
11922
|
+
parent_job_family_id?: string;
|
|
11923
|
+
status: boolean;
|
|
11924
|
+
i18n_name?: Array<{
|
|
11925
|
+
locale?: string;
|
|
11926
|
+
value?: string;
|
|
11927
|
+
}>;
|
|
11928
|
+
i18n_description?: Array<{
|
|
11929
|
+
locale?: string;
|
|
11930
|
+
value?: string;
|
|
11931
|
+
}>;
|
|
11932
|
+
};
|
|
11933
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
11934
|
+
code?: number | undefined;
|
|
11935
|
+
msg?: string | undefined;
|
|
11936
|
+
data?: {
|
|
11937
|
+
job_family?: {
|
|
11938
|
+
name?: string | undefined;
|
|
11939
|
+
description?: string | undefined;
|
|
11940
|
+
parent_job_family_id?: string | undefined;
|
|
11941
|
+
status?: boolean | undefined;
|
|
11942
|
+
i18n_name?: {
|
|
11943
|
+
locale?: string | undefined;
|
|
11944
|
+
value?: string | undefined;
|
|
11945
|
+
}[] | undefined;
|
|
11946
|
+
i18n_description?: {
|
|
11947
|
+
locale?: string | undefined;
|
|
11948
|
+
value?: string | undefined;
|
|
11949
|
+
}[] | undefined;
|
|
11950
|
+
job_family_id?: string | undefined;
|
|
11951
|
+
} | undefined;
|
|
11952
|
+
} | undefined;
|
|
11953
|
+
}>;
|
|
11954
|
+
/**
|
|
11955
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=job_family&apiName=delete&version=v3 click to debug }
|
|
11956
|
+
*
|
|
11957
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=contact&resource=job_family&version=v3 document }
|
|
11958
|
+
*/
|
|
11959
|
+
delete: (payload?: {
|
|
11960
|
+
path: {
|
|
11961
|
+
job_family_id: string;
|
|
11962
|
+
};
|
|
11963
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
11964
|
+
code?: number | undefined;
|
|
11965
|
+
msg?: string | undefined;
|
|
11966
|
+
data?: {} | undefined;
|
|
11967
|
+
}>;
|
|
11968
|
+
/**
|
|
11969
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=job_family&apiName=get&version=v3 click to debug }
|
|
11970
|
+
*
|
|
11971
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=contact&resource=job_family&version=v3 document }
|
|
11972
|
+
*/
|
|
11973
|
+
get: (payload?: {
|
|
11974
|
+
path: {
|
|
11975
|
+
job_family_id: string;
|
|
11976
|
+
};
|
|
11977
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
11978
|
+
code?: number | undefined;
|
|
11979
|
+
msg?: string | undefined;
|
|
11980
|
+
data?: {
|
|
11981
|
+
job_family?: {
|
|
11982
|
+
name?: string | undefined;
|
|
11983
|
+
description?: string | undefined;
|
|
11984
|
+
parent_job_family_id?: string | undefined;
|
|
11985
|
+
status?: boolean | undefined;
|
|
11986
|
+
i18n_name?: {
|
|
11987
|
+
locale?: string | undefined;
|
|
11988
|
+
value?: string | undefined;
|
|
11989
|
+
}[] | undefined;
|
|
11990
|
+
i18n_description?: {
|
|
11991
|
+
locale?: string | undefined;
|
|
11992
|
+
value?: string | undefined;
|
|
11993
|
+
}[] | undefined;
|
|
11994
|
+
job_family_id?: string | undefined;
|
|
11995
|
+
} | undefined;
|
|
11996
|
+
} | undefined;
|
|
11997
|
+
}>;
|
|
11998
|
+
listWithIterator: (payload?: {
|
|
11999
|
+
params?: {
|
|
12000
|
+
page_size?: number;
|
|
12001
|
+
page_token?: string;
|
|
12002
|
+
name?: string;
|
|
12003
|
+
};
|
|
12004
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
12005
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
12006
|
+
items?: {
|
|
12007
|
+
name?: string | undefined;
|
|
12008
|
+
description?: string | undefined;
|
|
12009
|
+
parent_job_family_id?: string | undefined;
|
|
12010
|
+
status?: boolean | undefined;
|
|
12011
|
+
i18n_name?: {
|
|
12012
|
+
locale?: string | undefined;
|
|
12013
|
+
value?: string | undefined;
|
|
12014
|
+
}[] | undefined;
|
|
12015
|
+
i18n_description?: {
|
|
12016
|
+
locale?: string | undefined;
|
|
12017
|
+
value?: string | undefined;
|
|
12018
|
+
}[] | undefined;
|
|
12019
|
+
job_family_id?: string | undefined;
|
|
12020
|
+
}[] | undefined;
|
|
12021
|
+
} | null, void, unknown>;
|
|
12022
|
+
}>;
|
|
12023
|
+
/**
|
|
12024
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=job_family&apiName=list&version=v3 click to debug }
|
|
12025
|
+
*
|
|
12026
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=contact&resource=job_family&version=v3 document }
|
|
12027
|
+
*/
|
|
12028
|
+
list: (payload?: {
|
|
12029
|
+
params?: {
|
|
12030
|
+
page_size?: number;
|
|
12031
|
+
page_token?: string;
|
|
12032
|
+
name?: string;
|
|
12033
|
+
};
|
|
12034
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
12035
|
+
code?: number | undefined;
|
|
12036
|
+
msg?: string | undefined;
|
|
12037
|
+
data?: {
|
|
12038
|
+
items?: {
|
|
12039
|
+
name?: string | undefined;
|
|
12040
|
+
description?: string | undefined;
|
|
12041
|
+
parent_job_family_id?: string | undefined;
|
|
12042
|
+
status?: boolean | undefined;
|
|
12043
|
+
i18n_name?: {
|
|
12044
|
+
locale?: string | undefined;
|
|
12045
|
+
value?: string | undefined;
|
|
12046
|
+
}[] | undefined;
|
|
12047
|
+
i18n_description?: {
|
|
12048
|
+
locale?: string | undefined;
|
|
12049
|
+
value?: string | undefined;
|
|
12050
|
+
}[] | undefined;
|
|
12051
|
+
job_family_id?: string | undefined;
|
|
12052
|
+
}[] | undefined;
|
|
12053
|
+
page_token?: string | undefined;
|
|
12054
|
+
has_more?: boolean | undefined;
|
|
12055
|
+
} | undefined;
|
|
12056
|
+
}>;
|
|
12057
|
+
/**
|
|
12058
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=job_family&apiName=update&version=v3 click to debug }
|
|
12059
|
+
*
|
|
12060
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=update&project=contact&resource=job_family&version=v3 document }
|
|
12061
|
+
*/
|
|
12062
|
+
update: (payload?: {
|
|
12063
|
+
data?: {
|
|
12064
|
+
name?: string;
|
|
12065
|
+
description?: string;
|
|
12066
|
+
parent_job_family_id?: string;
|
|
12067
|
+
status?: boolean;
|
|
12068
|
+
i18n_name?: Array<{
|
|
12069
|
+
locale?: string;
|
|
12070
|
+
value?: string;
|
|
12071
|
+
}>;
|
|
12072
|
+
i18n_description?: Array<{
|
|
12073
|
+
locale?: string;
|
|
12074
|
+
value?: string;
|
|
12075
|
+
}>;
|
|
12076
|
+
};
|
|
12077
|
+
path: {
|
|
12078
|
+
job_family_id: string;
|
|
12079
|
+
};
|
|
12080
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
12081
|
+
code?: number | undefined;
|
|
12082
|
+
msg?: string | undefined;
|
|
12083
|
+
data?: {
|
|
12084
|
+
job_family?: {
|
|
12085
|
+
name?: string | undefined;
|
|
12086
|
+
description?: string | undefined;
|
|
12087
|
+
parent_job_family_id?: string | undefined;
|
|
12088
|
+
status?: boolean | undefined;
|
|
12089
|
+
i18n_name?: {
|
|
12090
|
+
locale?: string | undefined;
|
|
12091
|
+
value?: string | undefined;
|
|
12092
|
+
}[] | undefined;
|
|
12093
|
+
i18n_description?: {
|
|
12094
|
+
locale?: string | undefined;
|
|
12095
|
+
value?: string | undefined;
|
|
12096
|
+
}[] | undefined;
|
|
12097
|
+
job_family_id?: string | undefined;
|
|
12098
|
+
} | undefined;
|
|
12099
|
+
} | undefined;
|
|
12100
|
+
}>;
|
|
12101
|
+
};
|
|
12102
|
+
/**
|
|
12103
|
+
* job_level
|
|
12104
|
+
*/
|
|
12105
|
+
jobLevel: {
|
|
12106
|
+
/**
|
|
12107
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=job_level&apiName=create&version=v3 click to debug }
|
|
12108
|
+
*
|
|
12109
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=create&project=contact&resource=job_level&version=v3 document }
|
|
12110
|
+
*/
|
|
12111
|
+
create: (payload?: {
|
|
12112
|
+
data: {
|
|
12113
|
+
name: string;
|
|
12114
|
+
description?: string;
|
|
12115
|
+
order?: number;
|
|
12116
|
+
status: boolean;
|
|
12117
|
+
i18n_name?: Array<{
|
|
12118
|
+
locale?: string;
|
|
12119
|
+
value?: string;
|
|
12120
|
+
}>;
|
|
12121
|
+
i18n_description?: Array<{
|
|
12122
|
+
locale?: string;
|
|
12123
|
+
value?: string;
|
|
12124
|
+
}>;
|
|
12125
|
+
};
|
|
12126
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
12127
|
+
code?: number | undefined;
|
|
12128
|
+
msg?: string | undefined;
|
|
12129
|
+
data?: {
|
|
12130
|
+
job_level?: {
|
|
12131
|
+
name?: string | undefined;
|
|
12132
|
+
description?: string | undefined;
|
|
12133
|
+
order?: number | undefined;
|
|
12134
|
+
status?: boolean | undefined;
|
|
12135
|
+
job_level_id?: string | undefined;
|
|
12136
|
+
i18n_name?: {
|
|
12137
|
+
locale?: string | undefined;
|
|
12138
|
+
value?: string | undefined;
|
|
12139
|
+
}[] | undefined;
|
|
12140
|
+
i18n_description?: {
|
|
12141
|
+
locale?: string | undefined;
|
|
12142
|
+
value?: string | undefined;
|
|
12143
|
+
}[] | undefined;
|
|
12144
|
+
} | undefined;
|
|
12145
|
+
} | undefined;
|
|
12146
|
+
}>;
|
|
12147
|
+
/**
|
|
12148
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=job_level&apiName=delete&version=v3 click to debug }
|
|
12149
|
+
*
|
|
12150
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=delete&project=contact&resource=job_level&version=v3 document }
|
|
12151
|
+
*/
|
|
12152
|
+
delete: (payload?: {
|
|
12153
|
+
path: {
|
|
12154
|
+
job_level_id: string;
|
|
12155
|
+
};
|
|
12156
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
12157
|
+
code?: number | undefined;
|
|
12158
|
+
msg?: string | undefined;
|
|
12159
|
+
data?: {} | undefined;
|
|
12160
|
+
}>;
|
|
12161
|
+
/**
|
|
12162
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=job_level&apiName=get&version=v3 click to debug }
|
|
12163
|
+
*
|
|
12164
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=contact&resource=job_level&version=v3 document }
|
|
12165
|
+
*/
|
|
12166
|
+
get: (payload?: {
|
|
12167
|
+
path: {
|
|
12168
|
+
job_level_id: string;
|
|
12169
|
+
};
|
|
12170
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
12171
|
+
code?: number | undefined;
|
|
12172
|
+
msg?: string | undefined;
|
|
12173
|
+
data?: {
|
|
12174
|
+
job_level?: {
|
|
12175
|
+
name?: string | undefined;
|
|
12176
|
+
description?: string | undefined;
|
|
12177
|
+
order?: number | undefined;
|
|
12178
|
+
status?: boolean | undefined;
|
|
12179
|
+
job_level_id?: string | undefined;
|
|
12180
|
+
i18n_name?: {
|
|
12181
|
+
locale?: string | undefined;
|
|
12182
|
+
value?: string | undefined;
|
|
12183
|
+
}[] | undefined;
|
|
12184
|
+
i18n_description?: {
|
|
12185
|
+
locale?: string | undefined;
|
|
12186
|
+
value?: string | undefined;
|
|
12187
|
+
}[] | undefined;
|
|
12188
|
+
} | undefined;
|
|
12189
|
+
} | undefined;
|
|
12190
|
+
}>;
|
|
12191
|
+
listWithIterator: (payload?: {
|
|
12192
|
+
params?: {
|
|
12193
|
+
page_size?: number;
|
|
12194
|
+
page_token?: string;
|
|
12195
|
+
name?: string;
|
|
12196
|
+
};
|
|
12197
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
12198
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
12199
|
+
items?: {
|
|
12200
|
+
name?: string | undefined;
|
|
12201
|
+
description?: string | undefined;
|
|
12202
|
+
order?: number | undefined;
|
|
12203
|
+
status?: boolean | undefined;
|
|
12204
|
+
job_level_id?: string | undefined;
|
|
12205
|
+
i18n_name?: {
|
|
12206
|
+
locale?: string | undefined;
|
|
12207
|
+
value?: string | undefined;
|
|
12208
|
+
}[] | undefined;
|
|
12209
|
+
i18n_description?: {
|
|
12210
|
+
locale?: string | undefined;
|
|
12211
|
+
value?: string | undefined;
|
|
12212
|
+
}[] | undefined;
|
|
12213
|
+
}[] | undefined;
|
|
12214
|
+
} | null, void, unknown>;
|
|
12215
|
+
}>;
|
|
12216
|
+
/**
|
|
12217
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=job_level&apiName=list&version=v3 click to debug }
|
|
12218
|
+
*
|
|
12219
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=contact&resource=job_level&version=v3 document }
|
|
12220
|
+
*/
|
|
12221
|
+
list: (payload?: {
|
|
12222
|
+
params?: {
|
|
12223
|
+
page_size?: number;
|
|
12224
|
+
page_token?: string;
|
|
12225
|
+
name?: string;
|
|
12226
|
+
};
|
|
12227
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
12228
|
+
code?: number | undefined;
|
|
12229
|
+
msg?: string | undefined;
|
|
12230
|
+
data?: {
|
|
12231
|
+
items?: {
|
|
12232
|
+
name?: string | undefined;
|
|
12233
|
+
description?: string | undefined;
|
|
12234
|
+
order?: number | undefined;
|
|
12235
|
+
status?: boolean | undefined;
|
|
12236
|
+
job_level_id?: string | undefined;
|
|
12237
|
+
i18n_name?: {
|
|
12238
|
+
locale?: string | undefined;
|
|
12239
|
+
value?: string | undefined;
|
|
12240
|
+
}[] | undefined;
|
|
12241
|
+
i18n_description?: {
|
|
12242
|
+
locale?: string | undefined;
|
|
12243
|
+
value?: string | undefined;
|
|
12244
|
+
}[] | undefined;
|
|
12245
|
+
}[] | undefined;
|
|
12246
|
+
page_token?: string | undefined;
|
|
12247
|
+
has_more?: boolean | undefined;
|
|
12248
|
+
} | undefined;
|
|
12249
|
+
}>;
|
|
12250
|
+
/**
|
|
12251
|
+
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=job_level&apiName=update&version=v3 click to debug }
|
|
12252
|
+
*
|
|
12253
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=update&project=contact&resource=job_level&version=v3 document }
|
|
12254
|
+
*/
|
|
12255
|
+
update: (payload?: {
|
|
12256
|
+
data?: {
|
|
12257
|
+
name?: string;
|
|
12258
|
+
description?: string;
|
|
12259
|
+
order?: number;
|
|
12260
|
+
status?: boolean;
|
|
12261
|
+
i18n_name?: Array<{
|
|
12262
|
+
locale?: string;
|
|
12263
|
+
value?: string;
|
|
12264
|
+
}>;
|
|
12265
|
+
i18n_description?: Array<{
|
|
12266
|
+
locale?: string;
|
|
12267
|
+
value?: string;
|
|
12268
|
+
}>;
|
|
12269
|
+
};
|
|
12270
|
+
path: {
|
|
12271
|
+
job_level_id: string;
|
|
12272
|
+
};
|
|
12273
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
12274
|
+
code?: number | undefined;
|
|
12275
|
+
msg?: string | undefined;
|
|
12276
|
+
data?: {
|
|
12277
|
+
job_level?: {
|
|
12278
|
+
name?: string | undefined;
|
|
12279
|
+
description?: string | undefined;
|
|
12280
|
+
order?: number | undefined;
|
|
12281
|
+
status?: boolean | undefined;
|
|
12282
|
+
job_level_id?: string | undefined;
|
|
12283
|
+
i18n_name?: {
|
|
12284
|
+
locale?: string | undefined;
|
|
12285
|
+
value?: string | undefined;
|
|
12286
|
+
}[] | undefined;
|
|
12287
|
+
i18n_description?: {
|
|
12288
|
+
locale?: string | undefined;
|
|
12289
|
+
value?: string | undefined;
|
|
12290
|
+
}[] | undefined;
|
|
12291
|
+
} | undefined;
|
|
12292
|
+
} | undefined;
|
|
12293
|
+
}>;
|
|
12294
|
+
};
|
|
11638
12295
|
/**
|
|
11639
12296
|
* 通讯录权限范围
|
|
11640
12297
|
*/
|
|
@@ -11970,6 +12627,28 @@ declare abstract class Client$1 {
|
|
|
11970
12627
|
job_level_id?: string;
|
|
11971
12628
|
job_family_id?: string;
|
|
11972
12629
|
subscription_ids?: Array<string>;
|
|
12630
|
+
department_path?: Array<{
|
|
12631
|
+
department_id?: string;
|
|
12632
|
+
department_name?: {
|
|
12633
|
+
name?: string;
|
|
12634
|
+
i18n_name?: {
|
|
12635
|
+
zh_cn?: string;
|
|
12636
|
+
ja_jp?: string;
|
|
12637
|
+
en_us?: string;
|
|
12638
|
+
};
|
|
12639
|
+
};
|
|
12640
|
+
department_path?: {
|
|
12641
|
+
department_ids?: Array<string>;
|
|
12642
|
+
department_path_name?: {
|
|
12643
|
+
name?: string;
|
|
12644
|
+
i18n_name?: {
|
|
12645
|
+
zh_cn?: string;
|
|
12646
|
+
ja_jp?: string;
|
|
12647
|
+
en_us?: string;
|
|
12648
|
+
};
|
|
12649
|
+
};
|
|
12650
|
+
};
|
|
12651
|
+
}>;
|
|
11973
12652
|
};
|
|
11974
12653
|
params?: {
|
|
11975
12654
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
@@ -12058,6 +12737,28 @@ declare abstract class Client$1 {
|
|
|
12058
12737
|
geo?: string | undefined;
|
|
12059
12738
|
job_level_id?: string | undefined;
|
|
12060
12739
|
job_family_id?: string | undefined;
|
|
12740
|
+
department_path?: {
|
|
12741
|
+
department_id?: string | undefined;
|
|
12742
|
+
department_name?: {
|
|
12743
|
+
name?: string | undefined;
|
|
12744
|
+
i18n_name?: {
|
|
12745
|
+
zh_cn?: string | undefined;
|
|
12746
|
+
ja_jp?: string | undefined;
|
|
12747
|
+
en_us?: string | undefined;
|
|
12748
|
+
} | undefined;
|
|
12749
|
+
} | undefined;
|
|
12750
|
+
department_path?: {
|
|
12751
|
+
department_ids?: string[] | undefined;
|
|
12752
|
+
department_path_name?: {
|
|
12753
|
+
name?: string | undefined;
|
|
12754
|
+
i18n_name?: {
|
|
12755
|
+
zh_cn?: string | undefined;
|
|
12756
|
+
ja_jp?: string | undefined;
|
|
12757
|
+
en_us?: string | undefined;
|
|
12758
|
+
} | undefined;
|
|
12759
|
+
} | undefined;
|
|
12760
|
+
} | undefined;
|
|
12761
|
+
}[] | undefined;
|
|
12061
12762
|
} | undefined;
|
|
12062
12763
|
} | undefined;
|
|
12063
12764
|
}>;
|
|
@@ -12185,6 +12886,28 @@ declare abstract class Client$1 {
|
|
|
12185
12886
|
geo?: string | undefined;
|
|
12186
12887
|
job_level_id?: string | undefined;
|
|
12187
12888
|
job_family_id?: string | undefined;
|
|
12889
|
+
department_path?: {
|
|
12890
|
+
department_id?: string | undefined;
|
|
12891
|
+
department_name?: {
|
|
12892
|
+
name?: string | undefined;
|
|
12893
|
+
i18n_name?: {
|
|
12894
|
+
zh_cn?: string | undefined;
|
|
12895
|
+
ja_jp?: string | undefined;
|
|
12896
|
+
en_us?: string | undefined;
|
|
12897
|
+
} | undefined;
|
|
12898
|
+
} | undefined;
|
|
12899
|
+
department_path?: {
|
|
12900
|
+
department_ids?: string[] | undefined;
|
|
12901
|
+
department_path_name?: {
|
|
12902
|
+
name?: string | undefined;
|
|
12903
|
+
i18n_name?: {
|
|
12904
|
+
zh_cn?: string | undefined;
|
|
12905
|
+
ja_jp?: string | undefined;
|
|
12906
|
+
en_us?: string | undefined;
|
|
12907
|
+
} | undefined;
|
|
12908
|
+
} | undefined;
|
|
12909
|
+
} | undefined;
|
|
12910
|
+
}[] | undefined;
|
|
12188
12911
|
}[] | undefined;
|
|
12189
12912
|
} | null, void, unknown>;
|
|
12190
12913
|
}>;
|
|
@@ -12291,6 +13014,28 @@ declare abstract class Client$1 {
|
|
|
12291
13014
|
geo?: string | undefined;
|
|
12292
13015
|
job_level_id?: string | undefined;
|
|
12293
13016
|
job_family_id?: string | undefined;
|
|
13017
|
+
department_path?: {
|
|
13018
|
+
department_id?: string | undefined;
|
|
13019
|
+
department_name?: {
|
|
13020
|
+
name?: string | undefined;
|
|
13021
|
+
i18n_name?: {
|
|
13022
|
+
zh_cn?: string | undefined;
|
|
13023
|
+
ja_jp?: string | undefined;
|
|
13024
|
+
en_us?: string | undefined;
|
|
13025
|
+
} | undefined;
|
|
13026
|
+
} | undefined;
|
|
13027
|
+
department_path?: {
|
|
13028
|
+
department_ids?: string[] | undefined;
|
|
13029
|
+
department_path_name?: {
|
|
13030
|
+
name?: string | undefined;
|
|
13031
|
+
i18n_name?: {
|
|
13032
|
+
zh_cn?: string | undefined;
|
|
13033
|
+
ja_jp?: string | undefined;
|
|
13034
|
+
en_us?: string | undefined;
|
|
13035
|
+
} | undefined;
|
|
13036
|
+
} | undefined;
|
|
13037
|
+
} | undefined;
|
|
13038
|
+
}[] | undefined;
|
|
12294
13039
|
}[] | undefined;
|
|
12295
13040
|
} | undefined;
|
|
12296
13041
|
}>;
|
|
@@ -12396,6 +13141,28 @@ declare abstract class Client$1 {
|
|
|
12396
13141
|
start_time?: string | undefined;
|
|
12397
13142
|
end_time?: string | undefined;
|
|
12398
13143
|
}[] | undefined;
|
|
13144
|
+
department_path?: {
|
|
13145
|
+
department_id?: string | undefined;
|
|
13146
|
+
department_name?: {
|
|
13147
|
+
name?: string | undefined;
|
|
13148
|
+
i18n_name?: {
|
|
13149
|
+
zh_cn?: string | undefined;
|
|
13150
|
+
ja_jp?: string | undefined;
|
|
13151
|
+
en_us?: string | undefined;
|
|
13152
|
+
} | undefined;
|
|
13153
|
+
} | undefined;
|
|
13154
|
+
department_path?: {
|
|
13155
|
+
department_ids?: string[] | undefined;
|
|
13156
|
+
department_path_name?: {
|
|
13157
|
+
name?: string | undefined;
|
|
13158
|
+
i18n_name?: {
|
|
13159
|
+
zh_cn?: string | undefined;
|
|
13160
|
+
ja_jp?: string | undefined;
|
|
13161
|
+
en_us?: string | undefined;
|
|
13162
|
+
} | undefined;
|
|
13163
|
+
} | undefined;
|
|
13164
|
+
} | undefined;
|
|
13165
|
+
}[] | undefined;
|
|
12399
13166
|
} | undefined;
|
|
12400
13167
|
} | undefined;
|
|
12401
13168
|
}>;
|
|
@@ -12490,6 +13257,28 @@ declare abstract class Client$1 {
|
|
|
12490
13257
|
start_time?: string | undefined;
|
|
12491
13258
|
end_time?: string | undefined;
|
|
12492
13259
|
}[] | undefined;
|
|
13260
|
+
department_path?: {
|
|
13261
|
+
department_id?: string | undefined;
|
|
13262
|
+
department_name?: {
|
|
13263
|
+
name?: string | undefined;
|
|
13264
|
+
i18n_name?: {
|
|
13265
|
+
zh_cn?: string | undefined;
|
|
13266
|
+
ja_jp?: string | undefined;
|
|
13267
|
+
en_us?: string | undefined;
|
|
13268
|
+
} | undefined;
|
|
13269
|
+
} | undefined;
|
|
13270
|
+
department_path?: {
|
|
13271
|
+
department_ids?: string[] | undefined;
|
|
13272
|
+
department_path_name?: {
|
|
13273
|
+
name?: string | undefined;
|
|
13274
|
+
i18n_name?: {
|
|
13275
|
+
zh_cn?: string | undefined;
|
|
13276
|
+
ja_jp?: string | undefined;
|
|
13277
|
+
en_us?: string | undefined;
|
|
13278
|
+
} | undefined;
|
|
13279
|
+
} | undefined;
|
|
13280
|
+
} | undefined;
|
|
13281
|
+
}[] | undefined;
|
|
12493
13282
|
}[] | undefined;
|
|
12494
13283
|
} | null, void, unknown>;
|
|
12495
13284
|
}>;
|
|
@@ -12593,6 +13382,28 @@ declare abstract class Client$1 {
|
|
|
12593
13382
|
start_time?: string | undefined;
|
|
12594
13383
|
end_time?: string | undefined;
|
|
12595
13384
|
}[] | undefined;
|
|
13385
|
+
department_path?: {
|
|
13386
|
+
department_id?: string | undefined;
|
|
13387
|
+
department_name?: {
|
|
13388
|
+
name?: string | undefined;
|
|
13389
|
+
i18n_name?: {
|
|
13390
|
+
zh_cn?: string | undefined;
|
|
13391
|
+
ja_jp?: string | undefined;
|
|
13392
|
+
en_us?: string | undefined;
|
|
13393
|
+
} | undefined;
|
|
13394
|
+
} | undefined;
|
|
13395
|
+
department_path?: {
|
|
13396
|
+
department_ids?: string[] | undefined;
|
|
13397
|
+
department_path_name?: {
|
|
13398
|
+
name?: string | undefined;
|
|
13399
|
+
i18n_name?: {
|
|
13400
|
+
zh_cn?: string | undefined;
|
|
13401
|
+
ja_jp?: string | undefined;
|
|
13402
|
+
en_us?: string | undefined;
|
|
13403
|
+
} | undefined;
|
|
13404
|
+
} | undefined;
|
|
13405
|
+
} | undefined;
|
|
13406
|
+
}[] | undefined;
|
|
12596
13407
|
}[] | undefined;
|
|
12597
13408
|
} | undefined;
|
|
12598
13409
|
}>;
|
|
@@ -12659,6 +13470,28 @@ declare abstract class Client$1 {
|
|
|
12659
13470
|
job_level_id?: string;
|
|
12660
13471
|
job_family_id?: string;
|
|
12661
13472
|
subscription_ids?: Array<string>;
|
|
13473
|
+
department_path?: Array<{
|
|
13474
|
+
department_id?: string;
|
|
13475
|
+
department_name?: {
|
|
13476
|
+
name?: string;
|
|
13477
|
+
i18n_name?: {
|
|
13478
|
+
zh_cn?: string;
|
|
13479
|
+
ja_jp?: string;
|
|
13480
|
+
en_us?: string;
|
|
13481
|
+
};
|
|
13482
|
+
};
|
|
13483
|
+
department_path?: {
|
|
13484
|
+
department_ids?: Array<string>;
|
|
13485
|
+
department_path_name?: {
|
|
13486
|
+
name?: string;
|
|
13487
|
+
i18n_name?: {
|
|
13488
|
+
zh_cn?: string;
|
|
13489
|
+
ja_jp?: string;
|
|
13490
|
+
en_us?: string;
|
|
13491
|
+
};
|
|
13492
|
+
};
|
|
13493
|
+
};
|
|
13494
|
+
}>;
|
|
12662
13495
|
};
|
|
12663
13496
|
params?: {
|
|
12664
13497
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
@@ -12749,6 +13582,28 @@ declare abstract class Client$1 {
|
|
|
12749
13582
|
geo?: string | undefined;
|
|
12750
13583
|
job_level_id?: string | undefined;
|
|
12751
13584
|
job_family_id?: string | undefined;
|
|
13585
|
+
department_path?: {
|
|
13586
|
+
department_id?: string | undefined;
|
|
13587
|
+
department_name?: {
|
|
13588
|
+
name?: string | undefined;
|
|
13589
|
+
i18n_name?: {
|
|
13590
|
+
zh_cn?: string | undefined;
|
|
13591
|
+
ja_jp?: string | undefined;
|
|
13592
|
+
en_us?: string | undefined;
|
|
13593
|
+
} | undefined;
|
|
13594
|
+
} | undefined;
|
|
13595
|
+
department_path?: {
|
|
13596
|
+
department_ids?: string[] | undefined;
|
|
13597
|
+
department_path_name?: {
|
|
13598
|
+
name?: string | undefined;
|
|
13599
|
+
i18n_name?: {
|
|
13600
|
+
zh_cn?: string | undefined;
|
|
13601
|
+
ja_jp?: string | undefined;
|
|
13602
|
+
en_us?: string | undefined;
|
|
13603
|
+
} | undefined;
|
|
13604
|
+
} | undefined;
|
|
13605
|
+
} | undefined;
|
|
13606
|
+
}[] | undefined;
|
|
12752
13607
|
} | undefined;
|
|
12753
13608
|
} | undefined;
|
|
12754
13609
|
}>;
|
|
@@ -12814,6 +13669,28 @@ declare abstract class Client$1 {
|
|
|
12814
13669
|
job_title?: string;
|
|
12815
13670
|
is_frozen?: boolean;
|
|
12816
13671
|
geo?: string;
|
|
13672
|
+
department_path?: Array<{
|
|
13673
|
+
department_id?: string;
|
|
13674
|
+
department_name?: {
|
|
13675
|
+
name?: string;
|
|
13676
|
+
i18n_name?: {
|
|
13677
|
+
zh_cn?: string;
|
|
13678
|
+
ja_jp?: string;
|
|
13679
|
+
en_us?: string;
|
|
13680
|
+
};
|
|
13681
|
+
};
|
|
13682
|
+
department_path?: {
|
|
13683
|
+
department_ids?: Array<string>;
|
|
13684
|
+
department_path_name?: {
|
|
13685
|
+
name?: string;
|
|
13686
|
+
i18n_name?: {
|
|
13687
|
+
zh_cn?: string;
|
|
13688
|
+
ja_jp?: string;
|
|
13689
|
+
en_us?: string;
|
|
13690
|
+
};
|
|
13691
|
+
};
|
|
13692
|
+
};
|
|
13693
|
+
}>;
|
|
12817
13694
|
};
|
|
12818
13695
|
params?: {
|
|
12819
13696
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
@@ -12902,6 +13779,28 @@ declare abstract class Client$1 {
|
|
|
12902
13779
|
} | undefined;
|
|
12903
13780
|
is_frozen?: boolean | undefined;
|
|
12904
13781
|
geo?: string | undefined;
|
|
13782
|
+
department_path?: {
|
|
13783
|
+
department_id?: string | undefined;
|
|
13784
|
+
department_name?: {
|
|
13785
|
+
name?: string | undefined;
|
|
13786
|
+
i18n_name?: {
|
|
13787
|
+
zh_cn?: string | undefined;
|
|
13788
|
+
ja_jp?: string | undefined;
|
|
13789
|
+
en_us?: string | undefined;
|
|
13790
|
+
} | undefined;
|
|
13791
|
+
} | undefined;
|
|
13792
|
+
department_path?: {
|
|
13793
|
+
department_ids?: string[] | undefined;
|
|
13794
|
+
department_path_name?: {
|
|
13795
|
+
name?: string | undefined;
|
|
13796
|
+
i18n_name?: {
|
|
13797
|
+
zh_cn?: string | undefined;
|
|
13798
|
+
ja_jp?: string | undefined;
|
|
13799
|
+
en_us?: string | undefined;
|
|
13800
|
+
} | undefined;
|
|
13801
|
+
} | undefined;
|
|
13802
|
+
} | undefined;
|
|
13803
|
+
}[] | undefined;
|
|
12905
13804
|
} | undefined;
|
|
12906
13805
|
} | undefined;
|
|
12907
13806
|
}>;
|
|
@@ -37630,7 +38529,7 @@ declare abstract class Client$1 {
|
|
|
37630
38529
|
}>;
|
|
37631
38530
|
};
|
|
37632
38531
|
/**
|
|
37633
|
-
*
|
|
38532
|
+
* 分片上传
|
|
37634
38533
|
*/
|
|
37635
38534
|
file: {
|
|
37636
38535
|
/**
|
|
@@ -38353,7 +39252,7 @@ declare abstract class Client$1 {
|
|
|
38353
39252
|
}>;
|
|
38354
39253
|
};
|
|
38355
39254
|
/**
|
|
38356
|
-
*
|
|
39255
|
+
* 素材
|
|
38357
39256
|
*/
|
|
38358
39257
|
media: {
|
|
38359
39258
|
/**
|
|
@@ -41354,7 +42253,7 @@ declare abstract class Client$1 {
|
|
|
41354
42253
|
*/
|
|
41355
42254
|
hire: {
|
|
41356
42255
|
/**
|
|
41357
|
-
*
|
|
42256
|
+
* 投递
|
|
41358
42257
|
*/
|
|
41359
42258
|
application: {
|
|
41360
42259
|
/**
|
|
@@ -43546,6 +44445,7 @@ declare abstract class Client$1 {
|
|
|
43546
44445
|
interview_registration_list?: {
|
|
43547
44446
|
id?: string | undefined;
|
|
43548
44447
|
registration_time?: number | undefined;
|
|
44448
|
+
download_url?: string | undefined;
|
|
43549
44449
|
}[] | undefined;
|
|
43550
44450
|
resume_attachment_id_list?: string[] | undefined;
|
|
43551
44451
|
customized_data_list?: {
|
|
@@ -43912,6 +44812,8 @@ declare abstract class Client$1 {
|
|
|
43912
44812
|
edit_permission?: string | undefined;
|
|
43913
44813
|
owner_id_type?: string | undefined;
|
|
43914
44814
|
owner_id?: string | undefined;
|
|
44815
|
+
user_manager_id_list?: string[] | undefined;
|
|
44816
|
+
bot_manager_id_list?: string[] | undefined;
|
|
43915
44817
|
chat_mode?: string | undefined;
|
|
43916
44818
|
chat_type?: string | undefined;
|
|
43917
44819
|
chat_tag?: string | undefined;
|
|
@@ -44210,6 +45112,7 @@ declare abstract class Client$1 {
|
|
|
44210
45112
|
data?: {
|
|
44211
45113
|
invalid_id_list?: string[] | undefined;
|
|
44212
45114
|
not_existed_id_list?: string[] | undefined;
|
|
45115
|
+
pending_approval_id_list?: string[] | undefined;
|
|
44213
45116
|
} | undefined;
|
|
44214
45117
|
}>;
|
|
44215
45118
|
/**
|
|
@@ -47581,6 +48484,8 @@ declare abstract class Client$1 {
|
|
|
47581
48484
|
};
|
|
47582
48485
|
}>;
|
|
47583
48486
|
};
|
|
48487
|
+
source_url_pc?: string;
|
|
48488
|
+
source_url_mobile?: string;
|
|
47584
48489
|
};
|
|
47585
48490
|
params?: {
|
|
47586
48491
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
@@ -48062,10 +48967,6 @@ declare abstract class Client$1 {
|
|
|
48062
48967
|
|
|
48063
48968
|
*/
|
|
48064
48969
|
people_bytedance: {};
|
|
48065
|
-
/**
|
|
48066
|
-
|
|
48067
|
-
*/
|
|
48068
|
-
performance: {};
|
|
48069
48970
|
/**
|
|
48070
48971
|
|
|
48071
48972
|
*/
|
|
@@ -49175,7 +50076,7 @@ declare abstract class Client$1 {
|
|
|
49175
50076
|
}>;
|
|
49176
50077
|
};
|
|
49177
50078
|
/**
|
|
49178
|
-
*
|
|
50079
|
+
* 单元格
|
|
49179
50080
|
*/
|
|
49180
50081
|
spreadsheetSheet: {
|
|
49181
50082
|
/**
|
|
@@ -50558,6 +51459,36 @@ declare abstract class Client$1 {
|
|
|
50558
51459
|
* 企业信息
|
|
50559
51460
|
*/
|
|
50560
51461
|
tenant: {
|
|
51462
|
+
/**
|
|
51463
|
+
* tenant.product_assign_info
|
|
51464
|
+
*/
|
|
51465
|
+
tenantProductAssignInfo: {
|
|
51466
|
+
/**
|
|
51467
|
+
* {@link https://open.feishu.cn/api-explorer?project=tenant&resource=tenant.product_assign_info&apiName=query&version=v2 click to debug }
|
|
51468
|
+
*
|
|
51469
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=query&project=tenant&resource=tenant.product_assign_info&version=v2 document }
|
|
51470
|
+
*/
|
|
51471
|
+
query: (payload?: {}, options?: IRequestOptions$1) => Promise<{
|
|
51472
|
+
code?: number | undefined;
|
|
51473
|
+
msg?: string | undefined;
|
|
51474
|
+
data?: {
|
|
51475
|
+
assign_info_list?: {
|
|
51476
|
+
subscription_id?: string | undefined;
|
|
51477
|
+
license_plan_key?: string | undefined;
|
|
51478
|
+
product_name?: string | undefined;
|
|
51479
|
+
i18n_name?: {
|
|
51480
|
+
zh_cn?: string | undefined;
|
|
51481
|
+
ja_jp?: string | undefined;
|
|
51482
|
+
en_us?: string | undefined;
|
|
51483
|
+
} | undefined;
|
|
51484
|
+
total_seats?: string | undefined;
|
|
51485
|
+
assigned_seats?: string | undefined;
|
|
51486
|
+
start_time?: string | undefined;
|
|
51487
|
+
end_time?: string | undefined;
|
|
51488
|
+
}[] | undefined;
|
|
51489
|
+
} | undefined;
|
|
51490
|
+
}>;
|
|
51491
|
+
};
|
|
50561
51492
|
/**
|
|
50562
51493
|
* 企业信息
|
|
50563
51494
|
*/
|
|
@@ -51100,6 +52031,7 @@ declare abstract class Client$1 {
|
|
|
51100
52031
|
type: number;
|
|
51101
52032
|
permission: number;
|
|
51102
52033
|
}>;
|
|
52034
|
+
action_type?: number;
|
|
51103
52035
|
};
|
|
51104
52036
|
params?: {
|
|
51105
52037
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
@@ -51896,6 +52828,98 @@ declare abstract class Client$1 {
|
|
|
51896
52828
|
data?: {} | undefined;
|
|
51897
52829
|
}>;
|
|
51898
52830
|
};
|
|
52831
|
+
/**
|
|
52832
|
+
* reserve_config.form
|
|
52833
|
+
*/
|
|
52834
|
+
reserveConfigForm: {
|
|
52835
|
+
/**
|
|
52836
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=reserve_config.form&apiName=get&version=v1 click to debug }
|
|
52837
|
+
*
|
|
52838
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=vc&resource=reserve_config.form&version=v1 document }
|
|
52839
|
+
*/
|
|
52840
|
+
get: (payload?: {
|
|
52841
|
+
params: {
|
|
52842
|
+
scope_type: number;
|
|
52843
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
52844
|
+
};
|
|
52845
|
+
path?: {
|
|
52846
|
+
reserve_config_id?: string;
|
|
52847
|
+
};
|
|
52848
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
52849
|
+
code?: number | undefined;
|
|
52850
|
+
msg?: string | undefined;
|
|
52851
|
+
data?: {
|
|
52852
|
+
reserve_form_config: {
|
|
52853
|
+
reserve_form: boolean;
|
|
52854
|
+
notified_users?: {
|
|
52855
|
+
user_id: string;
|
|
52856
|
+
}[] | undefined;
|
|
52857
|
+
notified_time?: number | undefined;
|
|
52858
|
+
time_unit?: number | undefined;
|
|
52859
|
+
custom_list?: {
|
|
52860
|
+
custom_type: number;
|
|
52861
|
+
key: string;
|
|
52862
|
+
need_fill: boolean;
|
|
52863
|
+
title: string;
|
|
52864
|
+
placeholder?: string | undefined;
|
|
52865
|
+
options?: {
|
|
52866
|
+
text: string;
|
|
52867
|
+
key: string;
|
|
52868
|
+
is_other?: boolean | undefined;
|
|
52869
|
+
}[] | undefined;
|
|
52870
|
+
conditions?: {
|
|
52871
|
+
custom_key?: string | undefined;
|
|
52872
|
+
option_keys?: string[] | undefined;
|
|
52873
|
+
}[] | undefined;
|
|
52874
|
+
}[] | undefined;
|
|
52875
|
+
};
|
|
52876
|
+
} | undefined;
|
|
52877
|
+
}>;
|
|
52878
|
+
/**
|
|
52879
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=reserve_config.form&apiName=patch&version=v1 click to debug }
|
|
52880
|
+
*
|
|
52881
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=patch&project=vc&resource=reserve_config.form&version=v1 document }
|
|
52882
|
+
*/
|
|
52883
|
+
patch: (payload?: {
|
|
52884
|
+
data: {
|
|
52885
|
+
scope_type: number;
|
|
52886
|
+
reserve_form_config: {
|
|
52887
|
+
reserve_form: boolean;
|
|
52888
|
+
notified_users?: {
|
|
52889
|
+
user_id: string;
|
|
52890
|
+
}[] | undefined;
|
|
52891
|
+
notified_time?: number | undefined;
|
|
52892
|
+
time_unit?: number | undefined;
|
|
52893
|
+
custom_list?: {
|
|
52894
|
+
custom_type: number;
|
|
52895
|
+
key: string;
|
|
52896
|
+
need_fill: boolean;
|
|
52897
|
+
title: string;
|
|
52898
|
+
placeholder?: string | undefined;
|
|
52899
|
+
options?: {
|
|
52900
|
+
text: string;
|
|
52901
|
+
key: string;
|
|
52902
|
+
is_other?: boolean | undefined;
|
|
52903
|
+
}[] | undefined;
|
|
52904
|
+
conditions?: {
|
|
52905
|
+
custom_key?: string | undefined;
|
|
52906
|
+
option_keys?: string[] | undefined;
|
|
52907
|
+
}[] | undefined;
|
|
52908
|
+
}[] | undefined;
|
|
52909
|
+
};
|
|
52910
|
+
};
|
|
52911
|
+
params?: {
|
|
52912
|
+
user_id_type?: "user_id" | "union_id" | "open_id" | undefined;
|
|
52913
|
+
} | undefined;
|
|
52914
|
+
path?: {
|
|
52915
|
+
reserve_config_id?: string | undefined;
|
|
52916
|
+
} | undefined;
|
|
52917
|
+
} | undefined, options?: IRequestOptions$1) => Promise<{
|
|
52918
|
+
code?: number | undefined;
|
|
52919
|
+
msg?: string | undefined;
|
|
52920
|
+
data?: {} | undefined;
|
|
52921
|
+
}>;
|
|
52922
|
+
};
|
|
51899
52923
|
/**
|
|
51900
52924
|
* reserve_config
|
|
51901
52925
|
*/
|
|
@@ -55179,6 +56203,28 @@ interface IHandles extends IOtherEventHandles {
|
|
|
55179
56203
|
start_time?: string;
|
|
55180
56204
|
end_time?: string;
|
|
55181
56205
|
}>;
|
|
56206
|
+
department_path?: Array<{
|
|
56207
|
+
department_id?: string;
|
|
56208
|
+
department_name?: {
|
|
56209
|
+
name?: string;
|
|
56210
|
+
i18n_name?: {
|
|
56211
|
+
zh_cn?: string;
|
|
56212
|
+
ja_jp?: string;
|
|
56213
|
+
en_us?: string;
|
|
56214
|
+
};
|
|
56215
|
+
};
|
|
56216
|
+
department_path?: {
|
|
56217
|
+
department_ids?: Array<string>;
|
|
56218
|
+
department_path_name?: {
|
|
56219
|
+
name?: string;
|
|
56220
|
+
i18n_name?: {
|
|
56221
|
+
zh_cn?: string;
|
|
56222
|
+
ja_jp?: string;
|
|
56223
|
+
en_us?: string;
|
|
56224
|
+
};
|
|
56225
|
+
};
|
|
56226
|
+
};
|
|
56227
|
+
}>;
|
|
55182
56228
|
}>;
|
|
55183
56229
|
user_groups?: Array<{
|
|
55184
56230
|
user_group_id: string;
|
|
@@ -55293,6 +56339,28 @@ interface IHandles extends IOtherEventHandles {
|
|
|
55293
56339
|
start_time?: string;
|
|
55294
56340
|
end_time?: string;
|
|
55295
56341
|
}>;
|
|
56342
|
+
department_path?: Array<{
|
|
56343
|
+
department_id?: string;
|
|
56344
|
+
department_name?: {
|
|
56345
|
+
name?: string;
|
|
56346
|
+
i18n_name?: {
|
|
56347
|
+
zh_cn?: string;
|
|
56348
|
+
ja_jp?: string;
|
|
56349
|
+
en_us?: string;
|
|
56350
|
+
};
|
|
56351
|
+
};
|
|
56352
|
+
department_path?: {
|
|
56353
|
+
department_ids?: Array<string>;
|
|
56354
|
+
department_path_name?: {
|
|
56355
|
+
name?: string;
|
|
56356
|
+
i18n_name?: {
|
|
56357
|
+
zh_cn?: string;
|
|
56358
|
+
ja_jp?: string;
|
|
56359
|
+
en_us?: string;
|
|
56360
|
+
};
|
|
56361
|
+
};
|
|
56362
|
+
};
|
|
56363
|
+
}>;
|
|
55296
56364
|
}>;
|
|
55297
56365
|
user_groups?: Array<{
|
|
55298
56366
|
user_group_id: string;
|