@larksuiteoapi/node-sdk 1.4.1 → 1.6.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 +3 -0
- package/README.zh.md +3 -0
- package/es/index.js +713 -115
- package/lib/index.js +713 -115
- package/package.json +1 -1
- package/types/index.d.ts +1471 -357
package/types/index.d.ts
CHANGED
|
@@ -364,7 +364,7 @@ declare abstract class Client$1 {
|
|
|
364
364
|
};
|
|
365
365
|
};
|
|
366
366
|
/**
|
|
367
|
-
*
|
|
367
|
+
* 管理后台-数据报表
|
|
368
368
|
*/
|
|
369
369
|
admin: {
|
|
370
370
|
/**
|
|
@@ -941,6 +941,134 @@ declare abstract class Client$1 {
|
|
|
941
941
|
* 应用信息
|
|
942
942
|
*/
|
|
943
943
|
application: {
|
|
944
|
+
/**
|
|
945
|
+
* 推荐规则
|
|
946
|
+
*/
|
|
947
|
+
appRecommendRule: {
|
|
948
|
+
listWithIterator: (payload?: {
|
|
949
|
+
params: {
|
|
950
|
+
page_size: number;
|
|
951
|
+
page_token?: string;
|
|
952
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
953
|
+
};
|
|
954
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
955
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
956
|
+
rules?: {
|
|
957
|
+
id?: string | undefined;
|
|
958
|
+
name?: string | undefined;
|
|
959
|
+
status?: "closed" | "open" | undefined;
|
|
960
|
+
visibility_info?: {
|
|
961
|
+
is_all?: boolean | undefined;
|
|
962
|
+
department_ids?: string[] | undefined;
|
|
963
|
+
user_ids?: string[] | undefined;
|
|
964
|
+
group_ids?: string[] | undefined;
|
|
965
|
+
} | undefined;
|
|
966
|
+
recommend_item_infos?: {
|
|
967
|
+
item_id?: string | undefined;
|
|
968
|
+
item_type?: "link" | "application" | undefined;
|
|
969
|
+
name?: string | undefined;
|
|
970
|
+
description?: string | undefined;
|
|
971
|
+
link_url?: string | undefined;
|
|
972
|
+
client_id?: string | undefined;
|
|
973
|
+
icon_url?: string | undefined;
|
|
974
|
+
default_locale?: "zh_cn" | "en_us" | "ja_jp" | "zh_hk" | "zh_tw" | undefined;
|
|
975
|
+
i18n_name?: {
|
|
976
|
+
zh_cn?: string | undefined;
|
|
977
|
+
zh_hk?: string | undefined;
|
|
978
|
+
zh_tw?: string | undefined;
|
|
979
|
+
en_us?: string | undefined;
|
|
980
|
+
ja_jp?: string | undefined;
|
|
981
|
+
} | undefined;
|
|
982
|
+
}[] | undefined;
|
|
983
|
+
distributed_recommend_item_infos?: {
|
|
984
|
+
item_id?: string | undefined;
|
|
985
|
+
item_type?: "link" | "application" | undefined;
|
|
986
|
+
name?: string | undefined;
|
|
987
|
+
description?: string | undefined;
|
|
988
|
+
link_url?: string | undefined;
|
|
989
|
+
client_id?: string | undefined;
|
|
990
|
+
icon_url?: string | undefined;
|
|
991
|
+
default_locale?: "zh_cn" | "en_us" | "ja_jp" | "zh_hk" | "zh_tw" | undefined;
|
|
992
|
+
i18n_name?: {
|
|
993
|
+
zh_cn?: string | undefined;
|
|
994
|
+
zh_hk?: string | undefined;
|
|
995
|
+
zh_tw?: string | undefined;
|
|
996
|
+
en_us?: string | undefined;
|
|
997
|
+
ja_jp?: string | undefined;
|
|
998
|
+
} | undefined;
|
|
999
|
+
}[] | undefined;
|
|
1000
|
+
}[] | undefined;
|
|
1001
|
+
} | null, void, unknown>;
|
|
1002
|
+
}>;
|
|
1003
|
+
/**
|
|
1004
|
+
* {@link https://open.feishu.cn/api-explorer?project=application&resource=app_recommend_rule&apiName=list&version=v6 click to debug }
|
|
1005
|
+
*
|
|
1006
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/application-v6/app_recommend_rule/list document }
|
|
1007
|
+
*
|
|
1008
|
+
* 获取当前设置的推荐规则列表
|
|
1009
|
+
*
|
|
1010
|
+
* 获取当前设置的推荐规则列表。
|
|
1011
|
+
*/
|
|
1012
|
+
list: (payload?: {
|
|
1013
|
+
params: {
|
|
1014
|
+
page_size: number;
|
|
1015
|
+
page_token?: string;
|
|
1016
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
1017
|
+
};
|
|
1018
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
1019
|
+
code?: number | undefined;
|
|
1020
|
+
msg?: string | undefined;
|
|
1021
|
+
data?: {
|
|
1022
|
+
rules?: {
|
|
1023
|
+
id?: string | undefined;
|
|
1024
|
+
name?: string | undefined;
|
|
1025
|
+
status?: "closed" | "open" | undefined;
|
|
1026
|
+
visibility_info?: {
|
|
1027
|
+
is_all?: boolean | undefined;
|
|
1028
|
+
department_ids?: string[] | undefined;
|
|
1029
|
+
user_ids?: string[] | undefined;
|
|
1030
|
+
group_ids?: string[] | undefined;
|
|
1031
|
+
} | undefined;
|
|
1032
|
+
recommend_item_infos?: {
|
|
1033
|
+
item_id?: string | undefined;
|
|
1034
|
+
item_type?: "link" | "application" | undefined;
|
|
1035
|
+
name?: string | undefined;
|
|
1036
|
+
description?: string | undefined;
|
|
1037
|
+
link_url?: string | undefined;
|
|
1038
|
+
client_id?: string | undefined;
|
|
1039
|
+
icon_url?: string | undefined;
|
|
1040
|
+
default_locale?: "zh_cn" | "en_us" | "ja_jp" | "zh_hk" | "zh_tw" | undefined;
|
|
1041
|
+
i18n_name?: {
|
|
1042
|
+
zh_cn?: string | undefined;
|
|
1043
|
+
zh_hk?: string | undefined;
|
|
1044
|
+
zh_tw?: string | undefined;
|
|
1045
|
+
en_us?: string | undefined;
|
|
1046
|
+
ja_jp?: string | undefined;
|
|
1047
|
+
} | undefined;
|
|
1048
|
+
}[] | undefined;
|
|
1049
|
+
distributed_recommend_item_infos?: {
|
|
1050
|
+
item_id?: string | undefined;
|
|
1051
|
+
item_type?: "link" | "application" | undefined;
|
|
1052
|
+
name?: string | undefined;
|
|
1053
|
+
description?: string | undefined;
|
|
1054
|
+
link_url?: string | undefined;
|
|
1055
|
+
client_id?: string | undefined;
|
|
1056
|
+
icon_url?: string | undefined;
|
|
1057
|
+
default_locale?: "zh_cn" | "en_us" | "ja_jp" | "zh_hk" | "zh_tw" | undefined;
|
|
1058
|
+
i18n_name?: {
|
|
1059
|
+
zh_cn?: string | undefined;
|
|
1060
|
+
zh_hk?: string | undefined;
|
|
1061
|
+
zh_tw?: string | undefined;
|
|
1062
|
+
en_us?: string | undefined;
|
|
1063
|
+
ja_jp?: string | undefined;
|
|
1064
|
+
} | undefined;
|
|
1065
|
+
}[] | undefined;
|
|
1066
|
+
}[] | undefined;
|
|
1067
|
+
page_token?: string | undefined;
|
|
1068
|
+
has_more?: boolean | undefined;
|
|
1069
|
+
} | undefined;
|
|
1070
|
+
}>;
|
|
1071
|
+
};
|
|
944
1072
|
/**
|
|
945
1073
|
* 应用使用情况
|
|
946
1074
|
*/
|
|
@@ -2412,7 +2540,7 @@ declare abstract class Client$1 {
|
|
|
2412
2540
|
*
|
|
2413
2541
|
* 批量获取审批实例ID
|
|
2414
2542
|
*
|
|
2415
|
-
* 根据 approval_code 批量获取审批实例的 instance_code
|
|
2543
|
+
* 根据 approval_code 批量获取审批实例的 instance_code,用于拉取租户下某个审批定义的全部审批实例。默认以审批创建时间先后顺序排列
|
|
2416
2544
|
*/
|
|
2417
2545
|
list: (payload?: {
|
|
2418
2546
|
params: {
|
|
@@ -2844,7 +2972,7 @@ declare abstract class Client$1 {
|
|
|
2844
2972
|
}>;
|
|
2845
2973
|
};
|
|
2846
2974
|
/**
|
|
2847
|
-
*
|
|
2975
|
+
* 原生审批任务
|
|
2848
2976
|
*/
|
|
2849
2977
|
task: {
|
|
2850
2978
|
/**
|
|
@@ -3847,7 +3975,7 @@ declare abstract class Client$1 {
|
|
|
3847
3975
|
*
|
|
3848
3976
|
* 由于部分企业使用的是自己的审批系统,而不是飞书审批系统,因此员工的请假、加班等数据无法流入到飞书考勤系统中,导致员工在请假时间段内依然收到打卡提醒,并且被记为缺卡。;;对于这些只使用飞书考勤系统,而未使用飞书审批系统的企业,可以通过考勤开放接口的形式,将三方审批结果数据回写到飞书考勤系统中。
|
|
3849
3977
|
*
|
|
3850
|
-
* 目前支持写入加班、请假、出差和外出这四种审批结果,写入只会追加(insert),不会覆盖(update)
|
|
3978
|
+
* 目前支持写入加班、请假、出差和外出这四种审批结果,写入只会追加(insert),不会覆盖(update)(开放接口导入的加班假期记录,在管理后台的假期加班里查不到,只能通过[获取审批通过数据](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/attendance-v1/user_approval/query)来查询)
|
|
3851
3979
|
*/
|
|
3852
3980
|
create: (payload?: {
|
|
3853
3981
|
data?: {
|
|
@@ -5258,234 +5386,257 @@ declare abstract class Client$1 {
|
|
|
5258
5386
|
} | undefined;
|
|
5259
5387
|
}>;
|
|
5260
5388
|
/**
|
|
5261
|
-
* {@link https://open.feishu.cn/api-explorer?project=baike&resource=entity&apiName=
|
|
5262
|
-
*
|
|
5263
|
-
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/baike-v1/entity/get document }
|
|
5389
|
+
* {@link https://open.feishu.cn/api-explorer?project=baike&resource=entity&apiName=extract&version=v1 click to debug }
|
|
5264
5390
|
*
|
|
5265
|
-
*
|
|
5391
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/baike-v1/entity/extract document }
|
|
5266
5392
|
*
|
|
5267
|
-
*
|
|
5393
|
+
* 提取潜在的百科词条
|
|
5268
5394
|
*
|
|
5269
|
-
*
|
|
5395
|
+
* 提取文本中可能成为百科词条的词语,且不会过滤已经成为百科词条的词语。同时,会返回推荐的别名。
|
|
5270
5396
|
*/
|
|
5271
|
-
|
|
5272
|
-
params?: {
|
|
5273
|
-
provider?: string;
|
|
5274
|
-
outer_id?: string;
|
|
5275
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
5276
|
-
};
|
|
5277
|
-
path?: {
|
|
5278
|
-
entity_id?: string;
|
|
5279
|
-
};
|
|
5280
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
5281
|
-
code?: number | undefined;
|
|
5282
|
-
msg?: string | undefined;
|
|
5397
|
+
extract: (payload?: {
|
|
5283
5398
|
data?: {
|
|
5284
|
-
|
|
5285
|
-
id?: string | undefined;
|
|
5286
|
-
main_keys: Array<{
|
|
5287
|
-
key: string;
|
|
5288
|
-
display_status: {
|
|
5289
|
-
allow_highlight: boolean;
|
|
5290
|
-
allow_search: boolean;
|
|
5291
|
-
};
|
|
5292
|
-
}>;
|
|
5293
|
-
full_names?: {
|
|
5294
|
-
key: string;
|
|
5295
|
-
display_status: {
|
|
5296
|
-
allow_highlight: boolean;
|
|
5297
|
-
allow_search: boolean;
|
|
5298
|
-
};
|
|
5299
|
-
}[] | undefined;
|
|
5300
|
-
aliases?: {
|
|
5301
|
-
key: string;
|
|
5302
|
-
display_status: {
|
|
5303
|
-
allow_highlight: boolean;
|
|
5304
|
-
allow_search: boolean;
|
|
5305
|
-
};
|
|
5306
|
-
}[] | undefined;
|
|
5307
|
-
description?: string | undefined;
|
|
5308
|
-
create_time?: string | undefined;
|
|
5309
|
-
update_time?: string | undefined;
|
|
5310
|
-
related_meta?: {
|
|
5311
|
-
users?: {
|
|
5312
|
-
id: string;
|
|
5313
|
-
title?: string | undefined;
|
|
5314
|
-
url?: string | undefined;
|
|
5315
|
-
}[] | undefined;
|
|
5316
|
-
chats?: {
|
|
5317
|
-
id: string;
|
|
5318
|
-
title?: string | undefined;
|
|
5319
|
-
url?: string | undefined;
|
|
5320
|
-
}[] | undefined;
|
|
5321
|
-
docs?: {
|
|
5322
|
-
title?: string | undefined;
|
|
5323
|
-
url?: string | undefined;
|
|
5324
|
-
}[] | undefined;
|
|
5325
|
-
oncalls?: {
|
|
5326
|
-
id: string;
|
|
5327
|
-
title?: string | undefined;
|
|
5328
|
-
url?: string | undefined;
|
|
5329
|
-
}[] | undefined;
|
|
5330
|
-
links?: {
|
|
5331
|
-
title?: string | undefined;
|
|
5332
|
-
url?: string | undefined;
|
|
5333
|
-
}[] | undefined;
|
|
5334
|
-
abbreviations?: {
|
|
5335
|
-
id?: string | undefined;
|
|
5336
|
-
}[] | undefined;
|
|
5337
|
-
classifications?: {
|
|
5338
|
-
id: string;
|
|
5339
|
-
name?: string | undefined;
|
|
5340
|
-
father_id?: string | undefined;
|
|
5341
|
-
}[] | undefined;
|
|
5342
|
-
images?: {
|
|
5343
|
-
token: string;
|
|
5344
|
-
}[] | undefined;
|
|
5345
|
-
} | undefined;
|
|
5346
|
-
statistics?: {
|
|
5347
|
-
like_count: number;
|
|
5348
|
-
dislike_count: number;
|
|
5349
|
-
} | undefined;
|
|
5350
|
-
outer_info?: {
|
|
5351
|
-
provider: string;
|
|
5352
|
-
outer_id: string;
|
|
5353
|
-
} | undefined;
|
|
5354
|
-
rich_text?: string | undefined;
|
|
5355
|
-
} | undefined;
|
|
5356
|
-
} | undefined;
|
|
5357
|
-
}>;
|
|
5358
|
-
/**
|
|
5359
|
-
* {@link https://open.feishu.cn/api-explorer?project=baike&resource=entity&apiName=highlight&version=v1 click to debug }
|
|
5360
|
-
*
|
|
5361
|
-
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/baike-v1/entity/highlight document }
|
|
5362
|
-
*
|
|
5363
|
-
* 词条高亮
|
|
5364
|
-
*
|
|
5365
|
-
* 传入一句话,智能识别句中对应的词条,并返回词条位置和 entity_id,可在外部系统中快速实现百科词条智能高亮。
|
|
5366
|
-
*/
|
|
5367
|
-
highlight: (payload?: {
|
|
5368
|
-
data: {
|
|
5369
|
-
text: string;
|
|
5399
|
+
text?: string;
|
|
5370
5400
|
};
|
|
5371
5401
|
}, options?: IRequestOptions$1) => Promise<{
|
|
5372
5402
|
code?: number | undefined;
|
|
5373
5403
|
msg?: string | undefined;
|
|
5374
5404
|
data?: {
|
|
5375
|
-
|
|
5405
|
+
entity_word: Array<{
|
|
5376
5406
|
name: string;
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
start: number;
|
|
5380
|
-
end: number;
|
|
5381
|
-
};
|
|
5382
|
-
}[] | undefined;
|
|
5407
|
+
aliases?: Array<string>;
|
|
5408
|
+
}>;
|
|
5383
5409
|
} | undefined;
|
|
5384
5410
|
}>;
|
|
5385
|
-
listWithIterator: (payload?: {
|
|
5386
|
-
params?: {
|
|
5387
|
-
page_size?: number;
|
|
5388
|
-
page_token?: string;
|
|
5389
|
-
provider?: string;
|
|
5390
|
-
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
5391
|
-
};
|
|
5392
|
-
}, options?: IRequestOptions$1) => Promise<{
|
|
5393
|
-
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
5394
|
-
entities?: {
|
|
5395
|
-
id?: string | undefined;
|
|
5396
|
-
main_keys: Array<{
|
|
5397
|
-
key: string;
|
|
5398
|
-
display_status: {
|
|
5399
|
-
allow_highlight: boolean;
|
|
5400
|
-
allow_search: boolean;
|
|
5401
|
-
};
|
|
5402
|
-
}>;
|
|
5403
|
-
full_names?: {
|
|
5404
|
-
key: string;
|
|
5405
|
-
display_status: {
|
|
5406
|
-
allow_highlight: boolean;
|
|
5407
|
-
allow_search: boolean;
|
|
5408
|
-
};
|
|
5409
|
-
}[] | undefined;
|
|
5410
|
-
aliases?: {
|
|
5411
|
-
key: string;
|
|
5412
|
-
display_status: {
|
|
5413
|
-
allow_highlight: boolean;
|
|
5414
|
-
allow_search: boolean;
|
|
5415
|
-
};
|
|
5416
|
-
}[] | undefined;
|
|
5417
|
-
description?: string | undefined;
|
|
5418
|
-
create_time?: string | undefined;
|
|
5419
|
-
update_time?: string | undefined;
|
|
5420
|
-
related_meta?: {
|
|
5421
|
-
users?: {
|
|
5422
|
-
id: string;
|
|
5423
|
-
title?: string | undefined;
|
|
5424
|
-
url?: string | undefined;
|
|
5425
|
-
}[] | undefined;
|
|
5426
|
-
chats?: {
|
|
5427
|
-
id: string;
|
|
5428
|
-
title?: string | undefined;
|
|
5429
|
-
url?: string | undefined;
|
|
5430
|
-
}[] | undefined;
|
|
5431
|
-
docs?: {
|
|
5432
|
-
title?: string | undefined;
|
|
5433
|
-
url?: string | undefined;
|
|
5434
|
-
}[] | undefined;
|
|
5435
|
-
oncalls?: {
|
|
5436
|
-
id: string;
|
|
5437
|
-
title?: string | undefined;
|
|
5438
|
-
url?: string | undefined;
|
|
5439
|
-
}[] | undefined;
|
|
5440
|
-
links?: {
|
|
5441
|
-
title?: string | undefined;
|
|
5442
|
-
url?: string | undefined;
|
|
5443
|
-
}[] | undefined;
|
|
5444
|
-
abbreviations?: {
|
|
5445
|
-
id?: string | undefined;
|
|
5446
|
-
}[] | undefined;
|
|
5447
|
-
classifications?: {
|
|
5448
|
-
id: string;
|
|
5449
|
-
name?: string | undefined;
|
|
5450
|
-
father_id?: string | undefined;
|
|
5451
|
-
}[] | undefined;
|
|
5452
|
-
images?: {
|
|
5453
|
-
token: string;
|
|
5454
|
-
}[] | undefined;
|
|
5455
|
-
} | undefined;
|
|
5456
|
-
statistics?: {
|
|
5457
|
-
like_count: number;
|
|
5458
|
-
dislike_count: number;
|
|
5459
|
-
} | undefined;
|
|
5460
|
-
outer_info?: {
|
|
5461
|
-
provider: string;
|
|
5462
|
-
outer_id: string;
|
|
5463
|
-
} | undefined;
|
|
5464
|
-
rich_text?: string | undefined;
|
|
5465
|
-
}[] | undefined;
|
|
5466
|
-
} | null, void, unknown>;
|
|
5467
|
-
}>;
|
|
5468
5411
|
/**
|
|
5469
|
-
* {@link https://open.feishu.cn/api-explorer?project=baike&resource=entity&apiName=
|
|
5412
|
+
* {@link https://open.feishu.cn/api-explorer?project=baike&resource=entity&apiName=get&version=v1 click to debug }
|
|
5470
5413
|
*
|
|
5471
|
-
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/baike-v1/entity/
|
|
5414
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/baike-v1/entity/get document }
|
|
5472
5415
|
*
|
|
5473
|
-
*
|
|
5416
|
+
* 获取词条详情
|
|
5474
5417
|
*
|
|
5475
|
-
*
|
|
5418
|
+
* 通过词条 id 拉取对应的词条详情信息。
|
|
5419
|
+
*
|
|
5420
|
+
* 也支持通过 provider 和 outer_id 返回对应实体的详情数据。此时路径中的 entity_id 为固定的 enterprise_0
|
|
5476
5421
|
*/
|
|
5477
|
-
|
|
5422
|
+
get: (payload?: {
|
|
5478
5423
|
params?: {
|
|
5479
|
-
page_size?: number;
|
|
5480
|
-
page_token?: string;
|
|
5481
5424
|
provider?: string;
|
|
5425
|
+
outer_id?: string;
|
|
5482
5426
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
5483
5427
|
};
|
|
5428
|
+
path?: {
|
|
5429
|
+
entity_id?: string;
|
|
5430
|
+
};
|
|
5484
5431
|
}, options?: IRequestOptions$1) => Promise<{
|
|
5485
5432
|
code?: number | undefined;
|
|
5486
5433
|
msg?: string | undefined;
|
|
5487
5434
|
data?: {
|
|
5488
|
-
|
|
5435
|
+
entity?: {
|
|
5436
|
+
id?: string | undefined;
|
|
5437
|
+
main_keys: Array<{
|
|
5438
|
+
key: string;
|
|
5439
|
+
display_status: {
|
|
5440
|
+
allow_highlight: boolean;
|
|
5441
|
+
allow_search: boolean;
|
|
5442
|
+
};
|
|
5443
|
+
}>;
|
|
5444
|
+
full_names?: {
|
|
5445
|
+
key: string;
|
|
5446
|
+
display_status: {
|
|
5447
|
+
allow_highlight: boolean;
|
|
5448
|
+
allow_search: boolean;
|
|
5449
|
+
};
|
|
5450
|
+
}[] | undefined;
|
|
5451
|
+
aliases?: {
|
|
5452
|
+
key: string;
|
|
5453
|
+
display_status: {
|
|
5454
|
+
allow_highlight: boolean;
|
|
5455
|
+
allow_search: boolean;
|
|
5456
|
+
};
|
|
5457
|
+
}[] | undefined;
|
|
5458
|
+
description?: string | undefined;
|
|
5459
|
+
create_time?: string | undefined;
|
|
5460
|
+
update_time?: string | undefined;
|
|
5461
|
+
related_meta?: {
|
|
5462
|
+
users?: {
|
|
5463
|
+
id: string;
|
|
5464
|
+
title?: string | undefined;
|
|
5465
|
+
url?: string | undefined;
|
|
5466
|
+
}[] | undefined;
|
|
5467
|
+
chats?: {
|
|
5468
|
+
id: string;
|
|
5469
|
+
title?: string | undefined;
|
|
5470
|
+
url?: string | undefined;
|
|
5471
|
+
}[] | undefined;
|
|
5472
|
+
docs?: {
|
|
5473
|
+
title?: string | undefined;
|
|
5474
|
+
url?: string | undefined;
|
|
5475
|
+
}[] | undefined;
|
|
5476
|
+
oncalls?: {
|
|
5477
|
+
id: string;
|
|
5478
|
+
title?: string | undefined;
|
|
5479
|
+
url?: string | undefined;
|
|
5480
|
+
}[] | undefined;
|
|
5481
|
+
links?: {
|
|
5482
|
+
title?: string | undefined;
|
|
5483
|
+
url?: string | undefined;
|
|
5484
|
+
}[] | undefined;
|
|
5485
|
+
abbreviations?: {
|
|
5486
|
+
id?: string | undefined;
|
|
5487
|
+
}[] | undefined;
|
|
5488
|
+
classifications?: {
|
|
5489
|
+
id: string;
|
|
5490
|
+
name?: string | undefined;
|
|
5491
|
+
father_id?: string | undefined;
|
|
5492
|
+
}[] | undefined;
|
|
5493
|
+
images?: {
|
|
5494
|
+
token: string;
|
|
5495
|
+
}[] | undefined;
|
|
5496
|
+
} | undefined;
|
|
5497
|
+
statistics?: {
|
|
5498
|
+
like_count: number;
|
|
5499
|
+
dislike_count: number;
|
|
5500
|
+
} | undefined;
|
|
5501
|
+
outer_info?: {
|
|
5502
|
+
provider: string;
|
|
5503
|
+
outer_id: string;
|
|
5504
|
+
} | undefined;
|
|
5505
|
+
rich_text?: string | undefined;
|
|
5506
|
+
} | undefined;
|
|
5507
|
+
} | undefined;
|
|
5508
|
+
}>;
|
|
5509
|
+
/**
|
|
5510
|
+
* {@link https://open.feishu.cn/api-explorer?project=baike&resource=entity&apiName=highlight&version=v1 click to debug }
|
|
5511
|
+
*
|
|
5512
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/baike-v1/entity/highlight document }
|
|
5513
|
+
*
|
|
5514
|
+
* 词条高亮
|
|
5515
|
+
*
|
|
5516
|
+
* 传入一句话,智能识别句中对应的词条,并返回词条位置和 entity_id,可在外部系统中快速实现百科词条智能高亮。
|
|
5517
|
+
*/
|
|
5518
|
+
highlight: (payload?: {
|
|
5519
|
+
data: {
|
|
5520
|
+
text: string;
|
|
5521
|
+
};
|
|
5522
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
5523
|
+
code?: number | undefined;
|
|
5524
|
+
msg?: string | undefined;
|
|
5525
|
+
data?: {
|
|
5526
|
+
phrases?: {
|
|
5527
|
+
name: string;
|
|
5528
|
+
entity_ids: Array<string>;
|
|
5529
|
+
span: {
|
|
5530
|
+
start: number;
|
|
5531
|
+
end: number;
|
|
5532
|
+
};
|
|
5533
|
+
}[] | undefined;
|
|
5534
|
+
} | undefined;
|
|
5535
|
+
}>;
|
|
5536
|
+
listWithIterator: (payload?: {
|
|
5537
|
+
params?: {
|
|
5538
|
+
page_size?: number;
|
|
5539
|
+
page_token?: string;
|
|
5540
|
+
provider?: string;
|
|
5541
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
5542
|
+
};
|
|
5543
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
5544
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
5545
|
+
entities?: {
|
|
5546
|
+
id?: string | undefined;
|
|
5547
|
+
main_keys: Array<{
|
|
5548
|
+
key: string;
|
|
5549
|
+
display_status: {
|
|
5550
|
+
allow_highlight: boolean;
|
|
5551
|
+
allow_search: boolean;
|
|
5552
|
+
};
|
|
5553
|
+
}>;
|
|
5554
|
+
full_names?: {
|
|
5555
|
+
key: string;
|
|
5556
|
+
display_status: {
|
|
5557
|
+
allow_highlight: boolean;
|
|
5558
|
+
allow_search: boolean;
|
|
5559
|
+
};
|
|
5560
|
+
}[] | undefined;
|
|
5561
|
+
aliases?: {
|
|
5562
|
+
key: string;
|
|
5563
|
+
display_status: {
|
|
5564
|
+
allow_highlight: boolean;
|
|
5565
|
+
allow_search: boolean;
|
|
5566
|
+
};
|
|
5567
|
+
}[] | undefined;
|
|
5568
|
+
description?: string | undefined;
|
|
5569
|
+
create_time?: string | undefined;
|
|
5570
|
+
update_time?: string | undefined;
|
|
5571
|
+
related_meta?: {
|
|
5572
|
+
users?: {
|
|
5573
|
+
id: string;
|
|
5574
|
+
title?: string | undefined;
|
|
5575
|
+
url?: string | undefined;
|
|
5576
|
+
}[] | undefined;
|
|
5577
|
+
chats?: {
|
|
5578
|
+
id: string;
|
|
5579
|
+
title?: string | undefined;
|
|
5580
|
+
url?: string | undefined;
|
|
5581
|
+
}[] | undefined;
|
|
5582
|
+
docs?: {
|
|
5583
|
+
title?: string | undefined;
|
|
5584
|
+
url?: string | undefined;
|
|
5585
|
+
}[] | undefined;
|
|
5586
|
+
oncalls?: {
|
|
5587
|
+
id: string;
|
|
5588
|
+
title?: string | undefined;
|
|
5589
|
+
url?: string | undefined;
|
|
5590
|
+
}[] | undefined;
|
|
5591
|
+
links?: {
|
|
5592
|
+
title?: string | undefined;
|
|
5593
|
+
url?: string | undefined;
|
|
5594
|
+
}[] | undefined;
|
|
5595
|
+
abbreviations?: {
|
|
5596
|
+
id?: string | undefined;
|
|
5597
|
+
}[] | undefined;
|
|
5598
|
+
classifications?: {
|
|
5599
|
+
id: string;
|
|
5600
|
+
name?: string | undefined;
|
|
5601
|
+
father_id?: string | undefined;
|
|
5602
|
+
}[] | undefined;
|
|
5603
|
+
images?: {
|
|
5604
|
+
token: string;
|
|
5605
|
+
}[] | undefined;
|
|
5606
|
+
} | undefined;
|
|
5607
|
+
statistics?: {
|
|
5608
|
+
like_count: number;
|
|
5609
|
+
dislike_count: number;
|
|
5610
|
+
} | undefined;
|
|
5611
|
+
outer_info?: {
|
|
5612
|
+
provider: string;
|
|
5613
|
+
outer_id: string;
|
|
5614
|
+
} | undefined;
|
|
5615
|
+
rich_text?: string | undefined;
|
|
5616
|
+
}[] | undefined;
|
|
5617
|
+
} | null, void, unknown>;
|
|
5618
|
+
}>;
|
|
5619
|
+
/**
|
|
5620
|
+
* {@link https://open.feishu.cn/api-explorer?project=baike&resource=entity&apiName=list&version=v1 click to debug }
|
|
5621
|
+
*
|
|
5622
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/baike-v1/entity/list document }
|
|
5623
|
+
*
|
|
5624
|
+
* 获取词条列表
|
|
5625
|
+
*
|
|
5626
|
+
* 分页拉取词条列表数据,支持拉取租户内的全部词条。
|
|
5627
|
+
*/
|
|
5628
|
+
list: (payload?: {
|
|
5629
|
+
params?: {
|
|
5630
|
+
page_size?: number;
|
|
5631
|
+
page_token?: string;
|
|
5632
|
+
provider?: string;
|
|
5633
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
5634
|
+
};
|
|
5635
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
5636
|
+
code?: number | undefined;
|
|
5637
|
+
msg?: string | undefined;
|
|
5638
|
+
data?: {
|
|
5639
|
+
entities?: {
|
|
5489
5640
|
id?: string | undefined;
|
|
5490
5641
|
main_keys: Array<{
|
|
5491
5642
|
key: string;
|
|
@@ -7854,6 +8005,20 @@ declare abstract class Client$1 {
|
|
|
7854
8005
|
view_id?: string | undefined;
|
|
7855
8006
|
view_name?: string | undefined;
|
|
7856
8007
|
view_type?: string | undefined;
|
|
8008
|
+
property?: {
|
|
8009
|
+
filter_info?: {
|
|
8010
|
+
conjunction: "and" | "or";
|
|
8011
|
+
conditions: Array<{
|
|
8012
|
+
field_id: string;
|
|
8013
|
+
operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreater" | "isLess" | "isLessEqual";
|
|
8014
|
+
value?: string;
|
|
8015
|
+
condition_id?: string;
|
|
8016
|
+
field_type?: string;
|
|
8017
|
+
}>;
|
|
8018
|
+
condition_omitted?: boolean | undefined;
|
|
8019
|
+
} | undefined;
|
|
8020
|
+
hidden_fields?: string[] | undefined;
|
|
8021
|
+
} | undefined;
|
|
7857
8022
|
} | undefined;
|
|
7858
8023
|
} | undefined;
|
|
7859
8024
|
}>;
|
|
@@ -7894,6 +8059,20 @@ declare abstract class Client$1 {
|
|
|
7894
8059
|
view_id?: string | undefined;
|
|
7895
8060
|
view_name?: string | undefined;
|
|
7896
8061
|
view_type?: string | undefined;
|
|
8062
|
+
property?: {
|
|
8063
|
+
filter_info?: {
|
|
8064
|
+
conjunction: "and" | "or";
|
|
8065
|
+
conditions: Array<{
|
|
8066
|
+
field_id: string;
|
|
8067
|
+
operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreater" | "isLess" | "isLessEqual";
|
|
8068
|
+
value?: string;
|
|
8069
|
+
condition_id?: string;
|
|
8070
|
+
field_type?: string;
|
|
8071
|
+
}>;
|
|
8072
|
+
condition_omitted?: boolean | undefined;
|
|
8073
|
+
} | undefined;
|
|
8074
|
+
hidden_fields?: string[] | undefined;
|
|
8075
|
+
} | undefined;
|
|
7897
8076
|
}[] | undefined;
|
|
7898
8077
|
total?: number | undefined;
|
|
7899
8078
|
} | null, void, unknown>;
|
|
@@ -7926,6 +8105,20 @@ declare abstract class Client$1 {
|
|
|
7926
8105
|
view_id?: string | undefined;
|
|
7927
8106
|
view_name?: string | undefined;
|
|
7928
8107
|
view_type?: string | undefined;
|
|
8108
|
+
property?: {
|
|
8109
|
+
filter_info?: {
|
|
8110
|
+
conjunction: "and" | "or";
|
|
8111
|
+
conditions: Array<{
|
|
8112
|
+
field_id: string;
|
|
8113
|
+
operator: "is" | "isNot" | "contains" | "doesNotContain" | "isEmpty" | "isNotEmpty" | "isGreater" | "isGreater" | "isLess" | "isLessEqual";
|
|
8114
|
+
value?: string;
|
|
8115
|
+
condition_id?: string;
|
|
8116
|
+
field_type?: string;
|
|
8117
|
+
}>;
|
|
8118
|
+
condition_omitted?: boolean | undefined;
|
|
8119
|
+
} | undefined;
|
|
8120
|
+
hidden_fields?: string[] | undefined;
|
|
8121
|
+
} | undefined;
|
|
7929
8122
|
}[] | undefined;
|
|
7930
8123
|
page_token?: string | undefined;
|
|
7931
8124
|
has_more?: boolean | undefined;
|
|
@@ -9052,7 +9245,7 @@ declare abstract class Client$1 {
|
|
|
9052
9245
|
*
|
|
9053
9246
|
* 该接口用于以当前身份(应用 / 用户)获取日历下的日程列表。;身份由 Header Authorization 的 Token 类型决定。
|
|
9054
9247
|
*
|
|
9055
|
-
* - 当前身份必须对日历有reader、writer或owner权限才会返回日程详细信息(调用[获取日历](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get)接口,role字段可查看权限)。;;- 仅支持primary、shared和resource类型的日历获取日程列表。;;-
|
|
9248
|
+
* - 当前身份必须对日历有reader、writer或owner权限才会返回日程详细信息(调用[获取日历](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/get)接口,role字段可查看权限)。;;- 仅支持primary、shared和resource类型的日历获取日程列表。;;- page_token 分页拉取存量数据,sync_token 增量同步变更数据;目前仅传anchor_time时,会返回page_token。;;- 为了确保调用方日程同步数据的一致性,在使用sync_token时,不能同时使用start_time和end_time,否则可能造成日程数据缺失。
|
|
9056
9249
|
*/
|
|
9057
9250
|
list: (payload?: {
|
|
9058
9251
|
params?: {
|
|
@@ -9760,6 +9953,7 @@ declare abstract class Client$1 {
|
|
|
9760
9953
|
leaderType: number;
|
|
9761
9954
|
leaderID: string;
|
|
9762
9955
|
}[] | undefined;
|
|
9956
|
+
group_chat_employee_types?: number[] | undefined;
|
|
9763
9957
|
}[] | undefined;
|
|
9764
9958
|
} | null, void, unknown>;
|
|
9765
9959
|
}>;
|
|
@@ -9814,6 +10008,7 @@ declare abstract class Client$1 {
|
|
|
9814
10008
|
leaderType: number;
|
|
9815
10009
|
leaderID: string;
|
|
9816
10010
|
}[] | undefined;
|
|
10011
|
+
group_chat_employee_types?: number[] | undefined;
|
|
9817
10012
|
}[] | undefined;
|
|
9818
10013
|
} | undefined;
|
|
9819
10014
|
}>;
|
|
@@ -9846,6 +10041,7 @@ declare abstract class Client$1 {
|
|
|
9846
10041
|
leaderType: number;
|
|
9847
10042
|
leaderID: string;
|
|
9848
10043
|
}>;
|
|
10044
|
+
group_chat_employee_types?: Array<number>;
|
|
9849
10045
|
};
|
|
9850
10046
|
params?: {
|
|
9851
10047
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
@@ -9878,6 +10074,7 @@ declare abstract class Client$1 {
|
|
|
9878
10074
|
leaderType: number;
|
|
9879
10075
|
leaderID: string;
|
|
9880
10076
|
}[] | undefined;
|
|
10077
|
+
group_chat_employee_types?: number[] | undefined;
|
|
9881
10078
|
} | undefined;
|
|
9882
10079
|
} | undefined;
|
|
9883
10080
|
}>;
|
|
@@ -9949,6 +10146,7 @@ declare abstract class Client$1 {
|
|
|
9949
10146
|
leaderType: number;
|
|
9950
10147
|
leaderID: string;
|
|
9951
10148
|
}[] | undefined;
|
|
10149
|
+
group_chat_employee_types?: number[] | undefined;
|
|
9952
10150
|
} | undefined;
|
|
9953
10151
|
} | undefined;
|
|
9954
10152
|
}>;
|
|
@@ -9985,19 +10183,14 @@ declare abstract class Client$1 {
|
|
|
9985
10183
|
leaderType: number;
|
|
9986
10184
|
leaderID: string;
|
|
9987
10185
|
}[] | undefined;
|
|
10186
|
+
group_chat_employee_types?: number[] | undefined;
|
|
9988
10187
|
}[] | undefined;
|
|
9989
10188
|
} | null, void, unknown>;
|
|
9990
10189
|
}>;
|
|
9991
10190
|
/**
|
|
9992
10191
|
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=department&apiName=list&version=v3 click to debug }
|
|
9993
10192
|
*
|
|
9994
|
-
* {@link https://open.feishu.cn/
|
|
9995
|
-
*
|
|
9996
|
-
* 获取部门信息列表
|
|
9997
|
-
*
|
|
9998
|
-
* 该接口用于获取当前部门子部门列表。[常见问题答疑](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN)。
|
|
9999
|
-
*
|
|
10000
|
-
* - 使用 user_access_token 时,返回该用户组织架构可见性范围([登陆企业管理后台进行权限配置](https://www.feishu.cn/admin/security/permission/visibility))内的所有可见部门。当进行递归查询时,只筛查最多1000个部门的可见性。;;- 使用 ; tenant_access_token 则基于应用的通讯录权限范围进行权限校验与过滤。由于 ; parent_department_id 是非必填参数,填与不填存在<b>两种数据权限校验与返回</b>情况:;<br> <br>1、请求设置了 ; parent_department_id 为A(根部门0),会检验A是否在通讯录权限内,若在( parent_department_id=0 时会校验是否为全员权限),则返回部门下子部门列表(根据fetch_child决定是否递归),否则返回无部门通讯录权限错误码。;<br> <br>2、请求未带 ; parent_department_id 参数,如通讯录范围为全员权限,只返回根部门ID(部门ID为0),否则返回根据通讯录范围配置的部门ID及子部门(根据 ; fetch_child 决定是否递归)。
|
|
10193
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=contact&resource=department&version=v3 document }
|
|
10001
10194
|
*/
|
|
10002
10195
|
list: (payload?: {
|
|
10003
10196
|
params?: {
|
|
@@ -10036,6 +10229,7 @@ declare abstract class Client$1 {
|
|
|
10036
10229
|
leaderType: number;
|
|
10037
10230
|
leaderID: string;
|
|
10038
10231
|
}[] | undefined;
|
|
10232
|
+
group_chat_employee_types?: number[] | undefined;
|
|
10039
10233
|
}[] | undefined;
|
|
10040
10234
|
} | undefined;
|
|
10041
10235
|
}>;
|
|
@@ -10071,6 +10265,7 @@ declare abstract class Client$1 {
|
|
|
10071
10265
|
leaderType: number;
|
|
10072
10266
|
leaderID: string;
|
|
10073
10267
|
}[] | undefined;
|
|
10268
|
+
group_chat_employee_types?: number[] | undefined;
|
|
10074
10269
|
}[] | undefined;
|
|
10075
10270
|
} | null, void, unknown>;
|
|
10076
10271
|
}>;
|
|
@@ -10121,6 +10316,7 @@ declare abstract class Client$1 {
|
|
|
10121
10316
|
leaderType: number;
|
|
10122
10317
|
leaderID: string;
|
|
10123
10318
|
}[] | undefined;
|
|
10319
|
+
group_chat_employee_types?: number[] | undefined;
|
|
10124
10320
|
}[] | undefined;
|
|
10125
10321
|
} | undefined;
|
|
10126
10322
|
}>;
|
|
@@ -10152,6 +10348,7 @@ declare abstract class Client$1 {
|
|
|
10152
10348
|
leaderType: number;
|
|
10153
10349
|
leaderID: string;
|
|
10154
10350
|
}>;
|
|
10351
|
+
group_chat_employee_types?: Array<number>;
|
|
10155
10352
|
};
|
|
10156
10353
|
params?: {
|
|
10157
10354
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
@@ -10186,6 +10383,7 @@ declare abstract class Client$1 {
|
|
|
10186
10383
|
leaderType: number;
|
|
10187
10384
|
leaderID: string;
|
|
10188
10385
|
}[] | undefined;
|
|
10386
|
+
group_chat_employee_types?: number[] | undefined;
|
|
10189
10387
|
} | undefined;
|
|
10190
10388
|
} | undefined;
|
|
10191
10389
|
}>;
|
|
@@ -10250,6 +10448,7 @@ declare abstract class Client$1 {
|
|
|
10250
10448
|
leaderType: number;
|
|
10251
10449
|
leaderID: string;
|
|
10252
10450
|
}[] | undefined;
|
|
10451
|
+
group_chat_employee_types?: number[] | undefined;
|
|
10253
10452
|
}[] | undefined;
|
|
10254
10453
|
page_token?: string | undefined;
|
|
10255
10454
|
has_more: boolean;
|
|
@@ -10304,6 +10503,7 @@ declare abstract class Client$1 {
|
|
|
10304
10503
|
leaderType: number;
|
|
10305
10504
|
leaderID: string;
|
|
10306
10505
|
}>;
|
|
10506
|
+
group_chat_employee_types?: Array<number>;
|
|
10307
10507
|
};
|
|
10308
10508
|
params?: {
|
|
10309
10509
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
@@ -10338,6 +10538,7 @@ declare abstract class Client$1 {
|
|
|
10338
10538
|
leaderType: number;
|
|
10339
10539
|
leaderID: string;
|
|
10340
10540
|
}[] | undefined;
|
|
10541
|
+
group_chat_employee_types?: number[] | undefined;
|
|
10341
10542
|
} | undefined;
|
|
10342
10543
|
} | undefined;
|
|
10343
10544
|
}>;
|
|
@@ -11618,13 +11819,7 @@ declare abstract class Client$1 {
|
|
|
11618
11819
|
/**
|
|
11619
11820
|
* {@link https://open.feishu.cn/api-explorer?project=contact&resource=user&apiName=list&version=v3 click to debug }
|
|
11620
11821
|
*
|
|
11621
|
-
* {@link https://open.feishu.cn/
|
|
11622
|
-
*
|
|
11623
|
-
* 获取用户列表
|
|
11624
|
-
*
|
|
11625
|
-
* 基于部门ID获取部门下直属用户列表。;[常见问题答疑](https://open.feishu.cn/document/ugTN1YjL4UTN24CO1UjN/uQzN1YjL0cTN24CN3UjN)。
|
|
11626
|
-
*
|
|
11627
|
-
* - 使用 user_access_token 情况下根据个人组织架构的通讯录可见范围进行权限过滤,返回个人组织架构通讯录范围([登陆企业管理后台进行权限配置](https://www.feishu.cn/admin/security/permission/visibility))内可见的用户数据。;- tenant_access_token 基于应用通讯录范围进行权限鉴定。由于 department_id 是非必填参数,填与不填存在<b>两种数据权限校验与返回</b>情况:<br>1、请求设置了 department_id ;(根部门为0),会检验所带部门ID是否具有通讯录权限(如果带上 ; department_id=0 会校验是否有全员权限),有则返回部门下直属的成员列表, 否则提示无部门权限的错误码返回。<br>2、请求未带 ; department_id 参数,则会返回权限范围内的独立用户(权限范围直接包含了某用户,则该用户视为权限范围内的独立用户)。
|
|
11822
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=contact&resource=user&version=v3 document }
|
|
11628
11823
|
*/
|
|
11629
11824
|
list: (payload?: {
|
|
11630
11825
|
params?: {
|
|
@@ -36188,7 +36383,7 @@ declare abstract class Client$1 {
|
|
|
36188
36383
|
*
|
|
36189
36384
|
* 创建导出任务
|
|
36190
36385
|
*
|
|
36191
|
-
*
|
|
36386
|
+
* 创建导出任务,将云文件导出为指定格式的本地文件。该接口为异步接口,需要通过轮询 [查询导出任务结果](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/export_task/get) 接口获取任务结果。
|
|
36192
36387
|
*/
|
|
36193
36388
|
create: (payload?: {
|
|
36194
36389
|
data: {
|
|
@@ -36227,7 +36422,7 @@ declare abstract class Client$1 {
|
|
|
36227
36422
|
*
|
|
36228
36423
|
* 查询导出任务结果
|
|
36229
36424
|
*
|
|
36230
|
-
*
|
|
36425
|
+
* 根据[创建导出任务](/ssl::ttdoc//uAjLw4CM/ukTMukTMukTM/reference/drive-v1/export_task/create)的ticket查询导出任务的结果,前提条件需要先调用创建导出任务接口。;;通过该接口获取到下载文件的 token 后调用[下载导出文件接口](/ssl::ttdoc//uAjLw4CM/ukTMukTMukTM/reference/drive-v1/export_task/download)将文件进行下载
|
|
36231
36426
|
*/
|
|
36232
36427
|
get: (payload?: {
|
|
36233
36428
|
params: {
|
|
@@ -36416,10 +36611,11 @@ declare abstract class Client$1 {
|
|
|
36416
36611
|
listWithIterator: (payload?: {
|
|
36417
36612
|
params: {
|
|
36418
36613
|
file_type: "doc" | "sheet" | "file" | "docx";
|
|
36419
|
-
|
|
36614
|
+
is_whole?: boolean;
|
|
36420
36615
|
is_solved?: boolean;
|
|
36421
36616
|
page_token?: string;
|
|
36422
|
-
page_size?:
|
|
36617
|
+
page_size?: string;
|
|
36618
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
36423
36619
|
};
|
|
36424
36620
|
path: {
|
|
36425
36621
|
file_token: string;
|
|
@@ -36471,17 +36667,18 @@ declare abstract class Client$1 {
|
|
|
36471
36667
|
*
|
|
36472
36668
|
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/file-comment/list document }
|
|
36473
36669
|
*
|
|
36474
|
-
*
|
|
36670
|
+
* 分页获取文档评论
|
|
36475
36671
|
*
|
|
36476
|
-
*
|
|
36672
|
+
* 该接口用于根据文档 token 分页获取文档评论。
|
|
36477
36673
|
*/
|
|
36478
36674
|
list: (payload?: {
|
|
36479
36675
|
params: {
|
|
36480
36676
|
file_type: "doc" | "sheet" | "file" | "docx";
|
|
36481
|
-
|
|
36677
|
+
is_whole?: boolean;
|
|
36482
36678
|
is_solved?: boolean;
|
|
36483
36679
|
page_token?: string;
|
|
36484
|
-
page_size?:
|
|
36680
|
+
page_size?: string;
|
|
36681
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
36485
36682
|
};
|
|
36486
36683
|
path: {
|
|
36487
36684
|
file_token: string;
|
|
@@ -40192,7 +40389,7 @@ declare abstract class Client$1 {
|
|
|
40192
40389
|
/**
|
|
40193
40390
|
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=application&apiName=create&version=v1 click to debug }
|
|
40194
40391
|
*
|
|
40195
|
-
* {@link https://open.feishu.cn/document/ukTMukTMukTM/
|
|
40392
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/application/create document }
|
|
40196
40393
|
*
|
|
40197
40394
|
* 创建投递
|
|
40198
40395
|
*
|
|
@@ -40215,7 +40412,7 @@ declare abstract class Client$1 {
|
|
|
40215
40412
|
/**
|
|
40216
40413
|
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=application&apiName=get&version=v1 click to debug }
|
|
40217
40414
|
*
|
|
40218
|
-
* {@link https://open.feishu.cn/document/ukTMukTMukTM/
|
|
40415
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/application/get document }
|
|
40219
40416
|
*
|
|
40220
40417
|
* 获取投递信息
|
|
40221
40418
|
*
|
|
@@ -40288,7 +40485,7 @@ declare abstract class Client$1 {
|
|
|
40288
40485
|
/**
|
|
40289
40486
|
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=application&apiName=list&version=v1 click to debug }
|
|
40290
40487
|
*
|
|
40291
|
-
* {@link https://open.feishu.cn/document/ukTMukTMukTM/
|
|
40488
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/application/list document }
|
|
40292
40489
|
*
|
|
40293
40490
|
* 获取投递列表
|
|
40294
40491
|
*
|
|
@@ -40318,7 +40515,7 @@ declare abstract class Client$1 {
|
|
|
40318
40515
|
/**
|
|
40319
40516
|
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=application&apiName=offer&version=v1 click to debug }
|
|
40320
40517
|
*
|
|
40321
|
-
* {@link https://open.feishu.cn/document/ukTMukTMukTM/
|
|
40518
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/application/offer document }
|
|
40322
40519
|
*
|
|
40323
40520
|
* 获取 Offer 信息
|
|
40324
40521
|
*
|
|
@@ -40460,7 +40657,7 @@ declare abstract class Client$1 {
|
|
|
40460
40657
|
/**
|
|
40461
40658
|
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=application&apiName=terminate&version=v1 click to debug }
|
|
40462
40659
|
*
|
|
40463
|
-
* {@link https://open.feishu.cn/document/ukTMukTMukTM/
|
|
40660
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/application/terminate document }
|
|
40464
40661
|
*
|
|
40465
40662
|
* 终止投递
|
|
40466
40663
|
*
|
|
@@ -40483,7 +40680,7 @@ declare abstract class Client$1 {
|
|
|
40483
40680
|
/**
|
|
40484
40681
|
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=application&apiName=transfer_onboard&version=v1 click to debug }
|
|
40485
40682
|
*
|
|
40486
|
-
* {@link https://open.feishu.cn/document/ukTMukTMukTM/
|
|
40683
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/application/transfer_onboard document }
|
|
40487
40684
|
*
|
|
40488
40685
|
* 操作候选人入职
|
|
40489
40686
|
*
|
|
@@ -40534,17 +40731,13 @@ declare abstract class Client$1 {
|
|
|
40534
40731
|
}>;
|
|
40535
40732
|
};
|
|
40536
40733
|
/**
|
|
40537
|
-
*
|
|
40734
|
+
* application.interview
|
|
40538
40735
|
*/
|
|
40539
40736
|
applicationInterview: {
|
|
40540
40737
|
/**
|
|
40541
40738
|
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=application.interview&apiName=list&version=v1 click to debug }
|
|
40542
40739
|
*
|
|
40543
|
-
* {@link https://open.feishu.cn/
|
|
40544
|
-
*
|
|
40545
|
-
* 获取面试记录列表
|
|
40546
|
-
*
|
|
40547
|
-
* 根据投递 ID 获取面试记录列表
|
|
40740
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=list&project=hire&resource=application.interview&version=v1 document }
|
|
40548
40741
|
*/
|
|
40549
40742
|
list: (payload?: {
|
|
40550
40743
|
params: {
|
|
@@ -40814,7 +41007,7 @@ declare abstract class Client$1 {
|
|
|
40814
41007
|
/**
|
|
40815
41008
|
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=job&apiName=get&version=v1 click to debug }
|
|
40816
41009
|
*
|
|
40817
|
-
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/job/get
|
|
41010
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/job/get document }
|
|
40818
41011
|
*
|
|
40819
41012
|
* 获取职位信息
|
|
40820
41013
|
*
|
|
@@ -40993,7 +41186,7 @@ declare abstract class Client$1 {
|
|
|
40993
41186
|
/**
|
|
40994
41187
|
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=job_process&apiName=list&version=v1 click to debug }
|
|
40995
41188
|
*
|
|
40996
|
-
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/
|
|
41189
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/job_process/list document }
|
|
40997
41190
|
*
|
|
40998
41191
|
* 获取招聘流程信息
|
|
40999
41192
|
*
|
|
@@ -41168,17 +41361,13 @@ declare abstract class Client$1 {
|
|
|
41168
41361
|
}>;
|
|
41169
41362
|
};
|
|
41170
41363
|
/**
|
|
41171
|
-
*
|
|
41364
|
+
* offer_schema
|
|
41172
41365
|
*/
|
|
41173
41366
|
offerSchema: {
|
|
41174
41367
|
/**
|
|
41175
41368
|
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=offer_schema&apiName=get&version=v1 click to debug }
|
|
41176
41369
|
*
|
|
41177
|
-
* {@link https://open.feishu.cn/
|
|
41178
|
-
*
|
|
41179
|
-
* 获取 Offer 申请表详细信息
|
|
41180
|
-
*
|
|
41181
|
-
* 根据 Offer 申请表 ID,获取 Offer 申请表的详细信息
|
|
41370
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=get&project=hire&resource=offer_schema&version=v1 document }
|
|
41182
41371
|
*/
|
|
41183
41372
|
get: (payload?: {
|
|
41184
41373
|
path: {
|
|
@@ -41306,7 +41495,7 @@ declare abstract class Client$1 {
|
|
|
41306
41495
|
/**
|
|
41307
41496
|
* {@link https://open.feishu.cn/api-explorer?project=hire&resource=talent&apiName=get&version=v1 click to debug }
|
|
41308
41497
|
*
|
|
41309
|
-
* {@link https://open.feishu.cn/document/ukTMukTMukTM/
|
|
41498
|
+
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/talent/get document }
|
|
41310
41499
|
*
|
|
41311
41500
|
* 获取人才信息
|
|
41312
41501
|
*
|
|
@@ -41912,7 +42101,7 @@ declare abstract class Client$1 {
|
|
|
41912
42101
|
*
|
|
41913
42102
|
* 获取会话中的群公告信息,公告信息格式与[云文档](https://open.feishu.cn/document/ukTMukTMukTM/uAzM5YjLwMTO24CMzkjN)格式相同。
|
|
41914
42103
|
*
|
|
41915
|
-
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app)
|
|
42104
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 机器人或授权用户必须在群里;- 获取内部群信息时,操作者须与群组在同一租户下
|
|
41916
42105
|
*/
|
|
41917
42106
|
get: (payload?: {
|
|
41918
42107
|
params?: {
|
|
@@ -41944,7 +42133,7 @@ declare abstract class Client$1 {
|
|
|
41944
42133
|
*
|
|
41945
42134
|
* 更新会话中的群公告信息,更新公告信息的格式和更新[云文档](https://open.feishu.cn/document/ukTMukTMukTM/uAzM5YjLwMTO24CMzkjN)格式相同。
|
|
41946
42135
|
*
|
|
41947
|
-
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 若群开启了 ==仅群主和群管理员可编辑群信息== 配置,群主/群管理员 或 创建群组且具备 ==更新应用所创建群的群信息== 权限的机器人,可更新群公告;- 若群未开启 ==仅群主和群管理员可编辑群信息== 配置,所有成员可以更新群公告
|
|
42136
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 机器人或授权用户必须在群里;- 操作者需要拥有群公告文档的阅读权限;- 获取内部群信息时,操作者须与群组在同一租户下;- 若群开启了 ==仅群主和群管理员可编辑群信息== 配置,群主/群管理员 或 创建群组且具备 ==更新应用所创建群的群信息== 权限的机器人,可更新群公告;- 若群未开启 ==仅群主和群管理员可编辑群信息== 配置,所有成员可以更新群公告
|
|
41948
42137
|
*/
|
|
41949
42138
|
patch: (payload?: {
|
|
41950
42139
|
data: {
|
|
@@ -42042,7 +42231,7 @@ declare abstract class Client$1 {
|
|
|
42042
42231
|
*
|
|
42043
42232
|
* 解散群组。
|
|
42044
42233
|
*
|
|
42045
|
-
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 如果使用tenant_access_token,需要机器人符合以下任一情况才可解散群:; - 机器人是群主; - 机器人是群的创建者且具备==更新应用所创建群的群信息==权限;- 如果使用user_access_token
|
|
42234
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 如果使用tenant_access_token,需要机器人符合以下任一情况才可解散群:; - 机器人是群主; - 机器人是群的创建者且具备==更新应用所创建群的群信息==权限;- 如果使用user_access_token,需要对应的用户是群主才可解散群
|
|
42046
42235
|
*/
|
|
42047
42236
|
delete: (payload?: {
|
|
42048
42237
|
path?: {
|
|
@@ -42062,7 +42251,7 @@ declare abstract class Client$1 {
|
|
|
42062
42251
|
*
|
|
42063
42252
|
* 获取群名称、群描述、群头像、群主 ID 等群基本信息。
|
|
42064
42253
|
*
|
|
42065
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app); - 机器人或授权用户必须在群里(否则只会返回群名称、群头像等基本信息);-
|
|
42254
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app); - 机器人或授权用户必须在群里(否则只会返回群名称、群头像等基本信息);- 获取内部群信息时,操作者须与群组在同一租户下
|
|
42066
42255
|
*/
|
|
42067
42256
|
get: (payload?: {
|
|
42068
42257
|
params?: {
|
|
@@ -42113,7 +42302,7 @@ declare abstract class Client$1 {
|
|
|
42113
42302
|
*
|
|
42114
42303
|
* 获取指定群的分享链接
|
|
42115
42304
|
*
|
|
42116
|
-
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app); - 机器人或授权用户必须在群组中;- 单聊、密聊、团队群不支持分享群链接;- 当Bot被停用或Bot退出群组时,Bot生成的群链接也将停用;- 当群聊开启了 ==仅群主和群管理员可添加群成员/分享群== 设置时,仅**群主**和**群管理员**可以获取群分享链接;-
|
|
42305
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app); - 机器人或授权用户必须在群组中;- 单聊、密聊、团队群不支持分享群链接;- 当Bot被停用或Bot退出群组时,Bot生成的群链接也将停用;- 当群聊开启了 ==仅群主和群管理员可添加群成员/分享群== 设置时,仅**群主**和**群管理员**可以获取群分享链接;- 获取内部群分享链接时,操作者须与群组在同一租户下
|
|
42117
42306
|
*/
|
|
42118
42307
|
link: (payload?: {
|
|
42119
42308
|
data?: {
|
|
@@ -42161,7 +42350,7 @@ declare abstract class Client$1 {
|
|
|
42161
42350
|
*
|
|
42162
42351
|
* 获取用户或者机器人所在群列表。
|
|
42163
42352
|
*
|
|
42164
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 请注意区分本接口和[获取群信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/get)的请求 URL;- 获取的群列表不包含
|
|
42353
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 请注意区分本接口和[获取群信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/get)的请求 URL;- 获取的群列表不包含P2P单聊
|
|
42165
42354
|
*/
|
|
42166
42355
|
list: (payload?: {
|
|
42167
42356
|
params?: {
|
|
@@ -42256,7 +42445,7 @@ declare abstract class Client$1 {
|
|
|
42256
42445
|
*
|
|
42257
42446
|
* 更新群头像、群名称、群描述、群配置、转让群主等。
|
|
42258
42447
|
*
|
|
42259
|
-
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 对于群主/群管理员 或 创建群组且具备 ==更新应用所创建群的群信息== 权限的机器人,可更新所有信息;- 对于不满足上述权限条件的群成员或机器人:; - 若未开启 ==仅群主和群管理员可编辑群信息== 配置,仅可更新群头像、群名称、群描述、群国际化名称信息; - 若开启了 ==仅群主和群管理员可编辑群信息==
|
|
42448
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 对于群主/群管理员 或 创建群组且具备 ==更新应用所创建群的群信息== 权限的机器人,可更新所有信息;- 对于不满足上述权限条件的群成员或机器人:; - 若未开启 ==仅群主和群管理员可编辑群信息== 配置,仅可更新群头像、群名称、群描述、群国际化名称信息; - 若开启了 ==仅群主和群管理员可编辑群信息== 配置,任何群信息都不能修改
|
|
42260
42449
|
*/
|
|
42261
42450
|
update: (payload?: {
|
|
42262
42451
|
data?: {
|
|
@@ -42278,6 +42467,7 @@ declare abstract class Client$1 {
|
|
|
42278
42467
|
membership_approval?: string;
|
|
42279
42468
|
labels?: Array<string>;
|
|
42280
42469
|
toolkit_ids?: Array<string>;
|
|
42470
|
+
chat_type?: string;
|
|
42281
42471
|
};
|
|
42282
42472
|
params?: {
|
|
42283
42473
|
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
@@ -42304,7 +42494,7 @@ declare abstract class Client$1 {
|
|
|
42304
42494
|
*
|
|
42305
42495
|
* 将用户或机器人指定为群管理员。
|
|
42306
42496
|
*
|
|
42307
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);-
|
|
42497
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 仅有群主可以指定群管理员
|
|
42308
42498
|
*/
|
|
42309
42499
|
addManagers: (payload?: {
|
|
42310
42500
|
data?: {
|
|
@@ -42333,7 +42523,7 @@ declare abstract class Client$1 {
|
|
|
42333
42523
|
*
|
|
42334
42524
|
* 删除指定的群管理员(用户或机器人)。
|
|
42335
42525
|
*
|
|
42336
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);-
|
|
42526
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 仅有群主可以删除群管理员
|
|
42337
42527
|
*/
|
|
42338
42528
|
deleteManagers: (payload?: {
|
|
42339
42529
|
data?: {
|
|
@@ -42367,7 +42557,7 @@ declare abstract class Client$1 {
|
|
|
42367
42557
|
*
|
|
42368
42558
|
* 将用户或机器人拉入群聊。
|
|
42369
42559
|
*
|
|
42370
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app); - 如需拉用户进群,需要机器人对用户有[可用性](https://open.feishu.cn/document/home/introduction-to-scope-and-authorization/availability); - 机器人或授权用户必须在群组中;- 外部租户不能被加入到内部群中;-
|
|
42560
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app); - 如需拉用户进群,需要机器人对用户有[可用性](https://open.feishu.cn/document/home/introduction-to-scope-and-authorization/availability); - 机器人或授权用户必须在群组中;- 外部租户不能被加入到内部群中;- 操作内部群时,操作者须与群组在同一租户下; - 在开启 ==仅群主和群管理员可添加群成员== 的设置时,仅有群主/管理员 或 创建群组且具备 ==更新应用所创建群的群信息== 权限的机器人,可以拉用户或者机器人进群; - 在未开启 ==仅群主和群管理员可添加群成员== 的设置时,所有群成员都可以拉用户或机器人进群
|
|
42371
42561
|
*/
|
|
42372
42562
|
create: (payload?: {
|
|
42373
42563
|
data?: {
|
|
@@ -42397,7 +42587,7 @@ declare abstract class Client$1 {
|
|
|
42397
42587
|
*
|
|
42398
42588
|
* 将用户或机器人移出群聊。
|
|
42399
42589
|
*
|
|
42400
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 用户或机器人在任何条件下均可移除自己出群(即主动退群);- 仅有群主/管理员 或 创建群组并且具备 ==更新应用所创建群的群信息==
|
|
42590
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 用户或机器人在任何条件下均可移除自己出群(即主动退群);- 仅有群主/管理员 或 创建群组并且具备 ==更新应用所创建群的群信息== 权限的机器人,可以移除其他用户或者机器人;- 每次请求,最多移除50个用户或者5个机器人;- 操作内部群时,操作者须与群组在同一租户下
|
|
42401
42591
|
*/
|
|
42402
42592
|
delete: (payload?: {
|
|
42403
42593
|
data?: {
|
|
@@ -42443,9 +42633,9 @@ declare abstract class Client$1 {
|
|
|
42443
42633
|
*
|
|
42444
42634
|
* 获取群成员列表
|
|
42445
42635
|
*
|
|
42446
|
-
*
|
|
42636
|
+
* 获取用户/机器人所在群的群成员列表。
|
|
42447
42637
|
*
|
|
42448
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app); - 该接口不会返回群内的机器人成员; - 由于返回的群成员列表会过滤掉机器人成员,因此返回的群成员个数可能会小于指定的page_size; - 如果有同一时间加入群的群成员,会一次性返回,这会导致返回的群成员个数可能会大于指定的page_size
|
|
42638
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app); - 机器人或授权用户必须在群组中; - 该接口不会返回群内的机器人成员; - 由于返回的群成员列表会过滤掉机器人成员,因此返回的群成员个数可能会小于指定的page_size; - 如果有同一时间加入群的群成员,会一次性返回,这会导致返回的群成员个数可能会大于指定的page_size;- 获取内部群信息时,操作者须与群组在同一租户下
|
|
42449
42639
|
*/
|
|
42450
42640
|
get: (payload?: {
|
|
42451
42641
|
params?: {
|
|
@@ -42479,6 +42669,8 @@ declare abstract class Client$1 {
|
|
|
42479
42669
|
* 判断用户或机器人是否在群里
|
|
42480
42670
|
*
|
|
42481
42671
|
* 根据使用的access_token判断对应的用户或者机器人是否在群里。
|
|
42672
|
+
*
|
|
42673
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 获取内部群信息时,操作者须与群组在同一租户下
|
|
42482
42674
|
*/
|
|
42483
42675
|
isInChat: (payload?: {
|
|
42484
42676
|
path?: {
|
|
@@ -42500,7 +42692,7 @@ declare abstract class Client$1 {
|
|
|
42500
42692
|
*
|
|
42501
42693
|
* 用户或机器人主动加入群聊。
|
|
42502
42694
|
*
|
|
42503
|
-
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app)
|
|
42695
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 目前仅支持加入公开群;- 操作内部群时,操作者须与群组在同一租户下
|
|
42504
42696
|
*/
|
|
42505
42697
|
meJoin: (payload?: {
|
|
42506
42698
|
path?: {
|
|
@@ -42609,14 +42801,13 @@ declare abstract class Client$1 {
|
|
|
42609
42801
|
*
|
|
42610
42802
|
* 添加会话标签页
|
|
42611
42803
|
*
|
|
42612
|
-
*
|
|
42804
|
+
* 添加自定义会话标签页。
|
|
42613
42805
|
*
|
|
42614
|
-
*
|
|
42806
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 机器人或授权用户必须在群里;- 只允许添加类型为`doc`和`url`的会话标签页;- 添加doc类型时,操作者(access token对应的身份)需要拥有对应文档的权限;- tab_config字段当前只对`url`类型的会话标签页生效;- 在开启 ==仅群主和管理员可管理标签页== 的设置时,仅群主和群管理员可以添加会话标签页;- 操作内部群时,操作者须与群组在同一租户下
|
|
42615
42807
|
*/
|
|
42616
42808
|
create: (payload?: {
|
|
42617
42809
|
data: {
|
|
42618
42810
|
chat_tabs: Array<{
|
|
42619
|
-
tab_id?: string;
|
|
42620
42811
|
tab_name?: string;
|
|
42621
42812
|
tab_type: "message" | "doc_list" | "doc" | "pin" | "meeting_minute" | "chat_announcement" | "url" | "file";
|
|
42622
42813
|
tab_content?: {
|
|
@@ -42624,6 +42815,10 @@ declare abstract class Client$1 {
|
|
|
42624
42815
|
doc?: string;
|
|
42625
42816
|
meeting_minute?: string;
|
|
42626
42817
|
};
|
|
42818
|
+
tab_config?: {
|
|
42819
|
+
icon_key?: string;
|
|
42820
|
+
is_built_in?: boolean;
|
|
42821
|
+
};
|
|
42627
42822
|
}>;
|
|
42628
42823
|
};
|
|
42629
42824
|
path?: {
|
|
@@ -42642,6 +42837,10 @@ declare abstract class Client$1 {
|
|
|
42642
42837
|
doc?: string | undefined;
|
|
42643
42838
|
meeting_minute?: string | undefined;
|
|
42644
42839
|
} | undefined;
|
|
42840
|
+
tab_config?: {
|
|
42841
|
+
icon_key?: string | undefined;
|
|
42842
|
+
is_built_in?: boolean | undefined;
|
|
42843
|
+
} | undefined;
|
|
42645
42844
|
}[] | undefined;
|
|
42646
42845
|
} | undefined;
|
|
42647
42846
|
}>;
|
|
@@ -42652,7 +42851,9 @@ declare abstract class Client$1 {
|
|
|
42652
42851
|
*
|
|
42653
42852
|
* 删除会话标签页
|
|
42654
42853
|
*
|
|
42655
|
-
*
|
|
42854
|
+
* 删除会话标签页。
|
|
42855
|
+
*
|
|
42856
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 机器人或授权用户必须在群里;- 只允许删除类型为`doc`和`url`的会话标签页;- 在开启 ==仅群主和管理员可管理标签页== 的设置时,仅群主和群管理员可以删除会话标签页;- 操作内部群时,操作者须与群组在同一租户下
|
|
42656
42857
|
*/
|
|
42657
42858
|
deleteTabs: (payload?: {
|
|
42658
42859
|
data: {
|
|
@@ -42674,6 +42875,10 @@ declare abstract class Client$1 {
|
|
|
42674
42875
|
doc?: string | undefined;
|
|
42675
42876
|
meeting_minute?: string | undefined;
|
|
42676
42877
|
} | undefined;
|
|
42878
|
+
tab_config?: {
|
|
42879
|
+
icon_key?: string | undefined;
|
|
42880
|
+
is_built_in?: boolean | undefined;
|
|
42881
|
+
} | undefined;
|
|
42677
42882
|
}[] | undefined;
|
|
42678
42883
|
} | undefined;
|
|
42679
42884
|
}>;
|
|
@@ -42684,7 +42889,9 @@ declare abstract class Client$1 {
|
|
|
42684
42889
|
*
|
|
42685
42890
|
* 拉取会话标签页
|
|
42686
42891
|
*
|
|
42687
|
-
*
|
|
42892
|
+
* 拉取会话标签页。
|
|
42893
|
+
*
|
|
42894
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 机器人或授权用户必须在群里;- 操作内部群时,操作者须与群组在同一租户下
|
|
42688
42895
|
*/
|
|
42689
42896
|
listTabs: (payload?: {
|
|
42690
42897
|
path?: {
|
|
@@ -42703,6 +42910,10 @@ declare abstract class Client$1 {
|
|
|
42703
42910
|
doc?: string | undefined;
|
|
42704
42911
|
meeting_minute?: string | undefined;
|
|
42705
42912
|
} | undefined;
|
|
42913
|
+
tab_config?: {
|
|
42914
|
+
icon_key?: string | undefined;
|
|
42915
|
+
is_built_in?: boolean | undefined;
|
|
42916
|
+
} | undefined;
|
|
42706
42917
|
}[] | undefined;
|
|
42707
42918
|
} | undefined;
|
|
42708
42919
|
}>;
|
|
@@ -42713,9 +42924,9 @@ declare abstract class Client$1 {
|
|
|
42713
42924
|
*
|
|
42714
42925
|
* 会话标签页排序
|
|
42715
42926
|
*
|
|
42716
|
-
*
|
|
42927
|
+
* 会话标签页排序。
|
|
42717
42928
|
*
|
|
42718
|
-
*
|
|
42929
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 机器人或授权用户必须在群里;- 消息标签页强制固定为第一顺位,不参与排序,但是请求体中必须包含该标签页的Tab ID;- 操作内部群时,操作者须与群组在同一租户下
|
|
42719
42930
|
*/
|
|
42720
42931
|
sortTabs: (payload?: {
|
|
42721
42932
|
data?: {
|
|
@@ -42737,6 +42948,10 @@ declare abstract class Client$1 {
|
|
|
42737
42948
|
doc?: string | undefined;
|
|
42738
42949
|
meeting_minute?: string | undefined;
|
|
42739
42950
|
} | undefined;
|
|
42951
|
+
tab_config?: {
|
|
42952
|
+
icon_key?: string | undefined;
|
|
42953
|
+
is_built_in?: boolean | undefined;
|
|
42954
|
+
} | undefined;
|
|
42740
42955
|
}[] | undefined;
|
|
42741
42956
|
} | undefined;
|
|
42742
42957
|
}>;
|
|
@@ -42749,7 +42964,7 @@ declare abstract class Client$1 {
|
|
|
42749
42964
|
*
|
|
42750
42965
|
* 更新会话标签页
|
|
42751
42966
|
*
|
|
42752
|
-
*
|
|
42967
|
+
* 注意事项:;- 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 机器人或授权用户必须在群里;- 只允许更新类型为`doc`和`url`的会话标签页;- 更新doc类型时,操作者(access token对应的身份)需要拥有对应文档的权限;- 在开启 ==仅群主和管理员可管理标签页== 的设置时,仅群主和群管理员可以更新会话标签页;- 操作内部群时,操作者须与群组在同一租户下
|
|
42753
42968
|
*/
|
|
42754
42969
|
updateTabs: (payload?: {
|
|
42755
42970
|
data?: {
|
|
@@ -42762,6 +42977,10 @@ declare abstract class Client$1 {
|
|
|
42762
42977
|
doc?: string;
|
|
42763
42978
|
meeting_minute?: string;
|
|
42764
42979
|
};
|
|
42980
|
+
tab_config?: {
|
|
42981
|
+
icon_key?: string;
|
|
42982
|
+
is_built_in?: boolean;
|
|
42983
|
+
};
|
|
42765
42984
|
}>;
|
|
42766
42985
|
};
|
|
42767
42986
|
path?: {
|
|
@@ -42780,6 +42999,10 @@ declare abstract class Client$1 {
|
|
|
42780
42999
|
doc?: string | undefined;
|
|
42781
43000
|
meeting_minute?: string | undefined;
|
|
42782
43001
|
} | undefined;
|
|
43002
|
+
tab_config?: {
|
|
43003
|
+
icon_key?: string | undefined;
|
|
43004
|
+
is_built_in?: boolean | undefined;
|
|
43005
|
+
} | undefined;
|
|
42783
43006
|
}[] | undefined;
|
|
42784
43007
|
} | undefined;
|
|
42785
43008
|
}>;
|
|
@@ -42797,7 +43020,7 @@ declare abstract class Client$1 {
|
|
|
42797
43020
|
*
|
|
42798
43021
|
* 撤销会话中的置顶。
|
|
42799
43022
|
*
|
|
42800
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app); - 机器人或授权用户必须在群组中;-
|
|
43023
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app); - 机器人或授权用户必须在群组中;- 撤销内部群置顶时,操作者须与群组在同一租户下
|
|
42801
43024
|
*/
|
|
42802
43025
|
deleteTopNotice: (payload?: {
|
|
42803
43026
|
path: {
|
|
@@ -42817,7 +43040,7 @@ declare abstract class Client$1 {
|
|
|
42817
43040
|
*
|
|
42818
43041
|
* 更新会话中的群置顶信息,可以将群中的某一条消息,或者群公告置顶显示。
|
|
42819
43042
|
*
|
|
42820
|
-
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app); - 机器人或授权用户必须在群组中;-
|
|
43043
|
+
* 注意事项:; - 应用需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app); - 机器人或授权用户必须在群组中;- 更新内部群置顶时,操作者须与群组在同一租户下
|
|
42821
43044
|
*/
|
|
42822
43045
|
putTopNotice: (payload?: {
|
|
42823
43046
|
data: {
|
|
@@ -42922,7 +43145,7 @@ declare abstract class Client$1 {
|
|
|
42922
43145
|
}>;
|
|
42923
43146
|
};
|
|
42924
43147
|
/**
|
|
42925
|
-
*
|
|
43148
|
+
* 消息加急
|
|
42926
43149
|
*/
|
|
42927
43150
|
message: {
|
|
42928
43151
|
/**
|
|
@@ -43091,7 +43314,7 @@ declare abstract class Client$1 {
|
|
|
43091
43314
|
/**
|
|
43092
43315
|
* {@link https://open.feishu.cn/api-explorer?project=im&resource=message&apiName=list&version=v1 click to debug }
|
|
43093
43316
|
*
|
|
43094
|
-
* {@link https://open.feishu.cn/document/ukTMukTMukTM/
|
|
43317
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/list document }
|
|
43095
43318
|
*
|
|
43096
43319
|
* 获取会话历史消息
|
|
43097
43320
|
*
|
|
@@ -43099,7 +43322,7 @@ declare abstract class Client$1 {
|
|
|
43099
43322
|
*
|
|
43100
43323
|
* - 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app) ;- 获取消息时,机器人必须在群组中
|
|
43101
43324
|
*
|
|
43102
|
-
* 接口级别权限默认只能获取单聊(p2p)消息,如果需要获取群组(group)消息,应用还必须拥有
|
|
43325
|
+
* 接口级别权限默认只能获取单聊(p2p)消息,如果需要获取群组(group)消息,应用还必须拥有 **==获取群组中所有消息==** 权限
|
|
43103
43326
|
*/
|
|
43104
43327
|
list: (payload?: {
|
|
43105
43328
|
params: {
|
|
@@ -43155,7 +43378,7 @@ declare abstract class Client$1 {
|
|
|
43155
43378
|
*
|
|
43156
43379
|
* 更新应用已发送的消息卡片内容。
|
|
43157
43380
|
*
|
|
43158
|
-
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 若以user_access_token更新消息,该操作用户必须是卡片消息的发送者;-
|
|
43381
|
+
* 注意事项:;- 需要开启[机器人能力](https://open.feishu.cn/document/home/develop-a-bot-in-5-minutes/create-an-app);- 若以user_access_token更新消息,该操作用户必须是卡片消息的发送者;- 仅支持对所有人更新**未撤回**的[「共享卡片」](ukTMukTMukTM/uAjNwUjLwYDM14CM2ATN)消息,需在卡片的config属性中,显式声明 =="update_multi":true==。 ;- **不支持更新批量消息**;- 文本消息请求体最大不能超过150KB;卡片及富文本消息请求体最大不能超过30KB;- 仅支持修改14天内发送的消息;- 单条消息更新频控为**5QPS**
|
|
43159
43382
|
*/
|
|
43160
43383
|
patch: (payload?: {
|
|
43161
43384
|
data: {
|
|
@@ -46048,7 +46271,7 @@ declare abstract class Client$1 {
|
|
|
46048
46271
|
*
|
|
46049
46272
|
* 创建表格
|
|
46050
46273
|
*
|
|
46051
|
-
*
|
|
46274
|
+
* 在指定目录下创建表格
|
|
46052
46275
|
*/
|
|
46053
46276
|
create: (payload?: {
|
|
46054
46277
|
data?: {
|
|
@@ -46528,7 +46751,7 @@ declare abstract class Client$1 {
|
|
|
46528
46751
|
}>;
|
|
46529
46752
|
};
|
|
46530
46753
|
/**
|
|
46531
|
-
*
|
|
46754
|
+
* 工作表
|
|
46532
46755
|
*/
|
|
46533
46756
|
spreadsheetSheet: {
|
|
46534
46757
|
/**
|
|
@@ -46538,7 +46761,7 @@ declare abstract class Client$1 {
|
|
|
46538
46761
|
*
|
|
46539
46762
|
* 查找单元格
|
|
46540
46763
|
*
|
|
46541
|
-
*
|
|
46764
|
+
* 在指定范围内查找符合查找条件的单元格。
|
|
46542
46765
|
*/
|
|
46543
46766
|
find: (payload?: {
|
|
46544
46767
|
data: {
|
|
@@ -46576,9 +46799,9 @@ declare abstract class Client$1 {
|
|
|
46576
46799
|
* 该接口用于通过工作表ID查询工作表属性信息。
|
|
46577
46800
|
*/
|
|
46578
46801
|
get: (payload?: {
|
|
46579
|
-
path
|
|
46580
|
-
spreadsheet_token
|
|
46581
|
-
sheet_id
|
|
46802
|
+
path: {
|
|
46803
|
+
spreadsheet_token: string;
|
|
46804
|
+
sheet_id: string;
|
|
46582
46805
|
};
|
|
46583
46806
|
}, options?: IRequestOptions$1) => Promise<{
|
|
46584
46807
|
code?: number | undefined;
|
|
@@ -47023,7 +47246,7 @@ declare abstract class Client$1 {
|
|
|
47023
47246
|
*
|
|
47024
47247
|
* 完成任务
|
|
47025
47248
|
*
|
|
47026
|
-
*
|
|
47249
|
+
* 该接口用于将任务状态修改为“已完成”。;完成任务是指整个任务全部完成,而不支持执行者分别完成任务,执行成功后,任务对所有关联用户都变为完成状态。
|
|
47027
47250
|
*/
|
|
47028
47251
|
complete: (payload?: {
|
|
47029
47252
|
path: {
|
|
@@ -47041,7 +47264,7 @@ declare abstract class Client$1 {
|
|
|
47041
47264
|
*
|
|
47042
47265
|
* 创建任务
|
|
47043
47266
|
*
|
|
47044
|
-
*
|
|
47267
|
+
* 该接口可以创建一个任务,支持填写任务的基本信息,包括任务的标题,描述及协作者等。;在此基础上,创建任务时可以设置截止时间和重复规则,将任务设置为定期执行的重复任务。通过添加协作者,则可以让其他用户协同完成该任务。;此外,接口也提供了一些支持自定义内容的字段,调用方可以实现定制化效果,如完成任务后跳转到指定结束界面。
|
|
47045
47268
|
*/
|
|
47046
47269
|
create: (payload?: {
|
|
47047
47270
|
data: {
|
|
@@ -47096,7 +47319,6 @@ declare abstract class Client$1 {
|
|
|
47096
47319
|
title?: string;
|
|
47097
47320
|
};
|
|
47098
47321
|
};
|
|
47099
|
-
can_edit?: boolean | undefined;
|
|
47100
47322
|
custom?: string | undefined;
|
|
47101
47323
|
source?: number | undefined;
|
|
47102
47324
|
followers?: {
|
|
@@ -47384,7 +47606,6 @@ declare abstract class Client$1 {
|
|
|
47384
47606
|
title?: string;
|
|
47385
47607
|
};
|
|
47386
47608
|
};
|
|
47387
|
-
can_edit?: boolean | undefined;
|
|
47388
47609
|
custom?: string | undefined;
|
|
47389
47610
|
source?: number | undefined;
|
|
47390
47611
|
followers?: {
|
|
@@ -47433,7 +47654,7 @@ declare abstract class Client$1 {
|
|
|
47433
47654
|
*
|
|
47434
47655
|
* 新增执行者
|
|
47435
47656
|
*
|
|
47436
|
-
*
|
|
47657
|
+
* 该接口用于新增任务执行者,一次性可以添加多个执行者。;只有任务的创建者和执行者才能添加执行者,关注人无权限添加。
|
|
47437
47658
|
*/
|
|
47438
47659
|
create: (payload?: {
|
|
47439
47660
|
data?: {
|
|
@@ -47543,10 +47764,12 @@ declare abstract class Client$1 {
|
|
|
47543
47764
|
data?: {
|
|
47544
47765
|
content?: string;
|
|
47545
47766
|
parent_id?: string;
|
|
47546
|
-
id?: string;
|
|
47547
47767
|
create_milli_time?: string;
|
|
47548
47768
|
rich_content?: string;
|
|
47549
47769
|
};
|
|
47770
|
+
params?: {
|
|
47771
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
47772
|
+
};
|
|
47550
47773
|
path: {
|
|
47551
47774
|
task_id: string;
|
|
47552
47775
|
};
|
|
@@ -47560,6 +47783,7 @@ declare abstract class Client$1 {
|
|
|
47560
47783
|
id?: string | undefined;
|
|
47561
47784
|
create_milli_time?: string | undefined;
|
|
47562
47785
|
rich_content?: string | undefined;
|
|
47786
|
+
creator_id?: string | undefined;
|
|
47563
47787
|
} | undefined;
|
|
47564
47788
|
} | undefined;
|
|
47565
47789
|
}>;
|
|
@@ -47592,6 +47816,9 @@ declare abstract class Client$1 {
|
|
|
47592
47816
|
* 该接口用于通过评论ID获取评论详情
|
|
47593
47817
|
*/
|
|
47594
47818
|
get: (payload?: {
|
|
47819
|
+
params?: {
|
|
47820
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
47821
|
+
};
|
|
47595
47822
|
path: {
|
|
47596
47823
|
task_id: string;
|
|
47597
47824
|
comment_id: string;
|
|
@@ -47606,6 +47833,7 @@ declare abstract class Client$1 {
|
|
|
47606
47833
|
id?: string | undefined;
|
|
47607
47834
|
create_milli_time?: string | undefined;
|
|
47608
47835
|
rich_content?: string | undefined;
|
|
47836
|
+
creator_id?: string | undefined;
|
|
47609
47837
|
} | undefined;
|
|
47610
47838
|
} | undefined;
|
|
47611
47839
|
}>;
|
|
@@ -47614,6 +47842,7 @@ declare abstract class Client$1 {
|
|
|
47614
47842
|
page_size?: number;
|
|
47615
47843
|
page_token?: string;
|
|
47616
47844
|
list_direction?: number;
|
|
47845
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
47617
47846
|
};
|
|
47618
47847
|
path?: {
|
|
47619
47848
|
task_id?: string;
|
|
@@ -47626,6 +47855,7 @@ declare abstract class Client$1 {
|
|
|
47626
47855
|
id?: string | undefined;
|
|
47627
47856
|
create_milli_time?: string | undefined;
|
|
47628
47857
|
rich_content?: string | undefined;
|
|
47858
|
+
creator_id?: string | undefined;
|
|
47629
47859
|
}[] | undefined;
|
|
47630
47860
|
} | null, void, unknown>;
|
|
47631
47861
|
}>;
|
|
@@ -47643,6 +47873,7 @@ declare abstract class Client$1 {
|
|
|
47643
47873
|
page_size?: number;
|
|
47644
47874
|
page_token?: string;
|
|
47645
47875
|
list_direction?: number;
|
|
47876
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
47646
47877
|
};
|
|
47647
47878
|
path?: {
|
|
47648
47879
|
task_id?: string;
|
|
@@ -47657,6 +47888,7 @@ declare abstract class Client$1 {
|
|
|
47657
47888
|
id?: string | undefined;
|
|
47658
47889
|
create_milli_time?: string | undefined;
|
|
47659
47890
|
rich_content?: string | undefined;
|
|
47891
|
+
creator_id?: string | undefined;
|
|
47660
47892
|
}[] | undefined;
|
|
47661
47893
|
page_token?: string | undefined;
|
|
47662
47894
|
has_more?: boolean | undefined;
|
|
@@ -47676,6 +47908,9 @@ declare abstract class Client$1 {
|
|
|
47676
47908
|
content?: string;
|
|
47677
47909
|
rich_content?: string;
|
|
47678
47910
|
};
|
|
47911
|
+
params?: {
|
|
47912
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
47913
|
+
};
|
|
47679
47914
|
path: {
|
|
47680
47915
|
task_id: string;
|
|
47681
47916
|
comment_id: string;
|
|
@@ -47690,6 +47925,7 @@ declare abstract class Client$1 {
|
|
|
47690
47925
|
id?: string | undefined;
|
|
47691
47926
|
create_milli_time?: string | undefined;
|
|
47692
47927
|
rich_content?: string | undefined;
|
|
47928
|
+
creator_id?: string | undefined;
|
|
47693
47929
|
} | undefined;
|
|
47694
47930
|
} | undefined;
|
|
47695
47931
|
}>;
|
|
@@ -48198,6 +48434,31 @@ declare abstract class Client$1 {
|
|
|
48198
48434
|
task_id?: string | undefined;
|
|
48199
48435
|
} | undefined;
|
|
48200
48436
|
}>;
|
|
48437
|
+
/**
|
|
48438
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=export&apiName=resource_reservation_list&version=v1 click to debug }
|
|
48439
|
+
*
|
|
48440
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/export/resource_reservation_list document }
|
|
48441
|
+
*
|
|
48442
|
+
* 导出会议室预定数据
|
|
48443
|
+
*
|
|
48444
|
+
* 导出会议室预定数据,具体权限要求请参考「导出概述」
|
|
48445
|
+
*/
|
|
48446
|
+
resourceReservationList: (payload?: {
|
|
48447
|
+
data: {
|
|
48448
|
+
room_level_id: string;
|
|
48449
|
+
need_topic?: boolean;
|
|
48450
|
+
start_time: string;
|
|
48451
|
+
end_time: string;
|
|
48452
|
+
room_ids?: Array<string>;
|
|
48453
|
+
is_exclude?: boolean;
|
|
48454
|
+
};
|
|
48455
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
48456
|
+
code?: number | undefined;
|
|
48457
|
+
msg?: string | undefined;
|
|
48458
|
+
data?: {
|
|
48459
|
+
task_id?: string | undefined;
|
|
48460
|
+
} | undefined;
|
|
48461
|
+
}>;
|
|
48201
48462
|
};
|
|
48202
48463
|
/**
|
|
48203
48464
|
* 会议
|
|
@@ -48887,7 +49148,7 @@ declare abstract class Client$1 {
|
|
|
48887
49148
|
}>;
|
|
48888
49149
|
};
|
|
48889
49150
|
/**
|
|
48890
|
-
*
|
|
49151
|
+
* reserve_config
|
|
48891
49152
|
*/
|
|
48892
49153
|
reserveConfig: {
|
|
48893
49154
|
/**
|
|
@@ -48987,19 +49248,338 @@ declare abstract class Client$1 {
|
|
|
48987
49248
|
}>;
|
|
48988
49249
|
};
|
|
48989
49250
|
/**
|
|
48990
|
-
*
|
|
49251
|
+
* 会议室
|
|
48991
49252
|
*/
|
|
48992
|
-
|
|
49253
|
+
room: {
|
|
48993
49254
|
/**
|
|
48994
|
-
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=
|
|
49255
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=room&apiName=create&version=v1 click to debug }
|
|
48995
49256
|
*
|
|
48996
|
-
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/
|
|
49257
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/create document }
|
|
48997
49258
|
*
|
|
48998
|
-
*
|
|
49259
|
+
* 创建会议室
|
|
49260
|
+
*
|
|
49261
|
+
* 该接口用于创建会议室
|
|
49262
|
+
*/
|
|
49263
|
+
create: (payload?: {
|
|
49264
|
+
data: {
|
|
49265
|
+
name: string;
|
|
49266
|
+
capacity: number;
|
|
49267
|
+
description?: string;
|
|
49268
|
+
custom_room_id?: string;
|
|
49269
|
+
room_level_id: string;
|
|
49270
|
+
room_status?: {
|
|
49271
|
+
status: boolean;
|
|
49272
|
+
schedule_status?: boolean;
|
|
49273
|
+
disable_start_time?: string;
|
|
49274
|
+
disable_end_time?: string;
|
|
49275
|
+
disable_reason?: string;
|
|
49276
|
+
contact_ids?: Array<string>;
|
|
49277
|
+
disable_notice?: boolean;
|
|
49278
|
+
resume_notice?: boolean;
|
|
49279
|
+
};
|
|
49280
|
+
};
|
|
49281
|
+
params?: {
|
|
49282
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
49283
|
+
};
|
|
49284
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
49285
|
+
code?: number | undefined;
|
|
49286
|
+
msg?: string | undefined;
|
|
49287
|
+
data?: {
|
|
49288
|
+
room?: {
|
|
49289
|
+
room_id?: string | undefined;
|
|
49290
|
+
name?: string | undefined;
|
|
49291
|
+
capacity?: number | undefined;
|
|
49292
|
+
description?: string | undefined;
|
|
49293
|
+
display_id?: string | undefined;
|
|
49294
|
+
custom_room_id?: string | undefined;
|
|
49295
|
+
room_level_id?: string | undefined;
|
|
49296
|
+
path?: string[] | undefined;
|
|
49297
|
+
room_status?: {
|
|
49298
|
+
status: boolean;
|
|
49299
|
+
schedule_status?: boolean | undefined;
|
|
49300
|
+
disable_start_time?: string | undefined;
|
|
49301
|
+
disable_end_time?: string | undefined;
|
|
49302
|
+
disable_reason?: string | undefined;
|
|
49303
|
+
contact_ids?: string[] | undefined;
|
|
49304
|
+
disable_notice?: boolean | undefined;
|
|
49305
|
+
resume_notice?: boolean | undefined;
|
|
49306
|
+
} | undefined;
|
|
49307
|
+
} | undefined;
|
|
49308
|
+
} | undefined;
|
|
49309
|
+
}>;
|
|
49310
|
+
/**
|
|
49311
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=room&apiName=delete&version=v1 click to debug }
|
|
49312
|
+
*
|
|
49313
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/delete document }
|
|
49314
|
+
*
|
|
49315
|
+
* 删除会议室
|
|
49316
|
+
*
|
|
49317
|
+
* 该接口可以用来删除某个会议室
|
|
49318
|
+
*/
|
|
49319
|
+
delete: (payload?: {
|
|
49320
|
+
path: {
|
|
49321
|
+
room_id: string;
|
|
49322
|
+
};
|
|
49323
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
49324
|
+
code?: number | undefined;
|
|
49325
|
+
msg?: string | undefined;
|
|
49326
|
+
data?: {} | undefined;
|
|
49327
|
+
}>;
|
|
49328
|
+
/**
|
|
49329
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=room&apiName=get&version=v1 click to debug }
|
|
49330
|
+
*
|
|
49331
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/get document }
|
|
49332
|
+
*
|
|
49333
|
+
* 查询会议室详情
|
|
49334
|
+
*
|
|
49335
|
+
* 该接口可以使用会议室ID查询会议室详情
|
|
49336
|
+
*/
|
|
49337
|
+
get: (payload?: {
|
|
49338
|
+
params?: {
|
|
49339
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
49340
|
+
};
|
|
49341
|
+
path: {
|
|
49342
|
+
room_id: string;
|
|
49343
|
+
};
|
|
49344
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
49345
|
+
code?: number | undefined;
|
|
49346
|
+
msg?: string | undefined;
|
|
49347
|
+
data?: {
|
|
49348
|
+
room?: {
|
|
49349
|
+
room_id?: string | undefined;
|
|
49350
|
+
name?: string | undefined;
|
|
49351
|
+
capacity?: number | undefined;
|
|
49352
|
+
description?: string | undefined;
|
|
49353
|
+
display_id?: string | undefined;
|
|
49354
|
+
custom_room_id?: string | undefined;
|
|
49355
|
+
room_level_id?: string | undefined;
|
|
49356
|
+
path?: string[] | undefined;
|
|
49357
|
+
room_status?: {
|
|
49358
|
+
status: boolean;
|
|
49359
|
+
schedule_status?: boolean | undefined;
|
|
49360
|
+
disable_start_time?: string | undefined;
|
|
49361
|
+
disable_end_time?: string | undefined;
|
|
49362
|
+
disable_reason?: string | undefined;
|
|
49363
|
+
contact_ids?: string[] | undefined;
|
|
49364
|
+
disable_notice?: boolean | undefined;
|
|
49365
|
+
resume_notice?: boolean | undefined;
|
|
49366
|
+
} | undefined;
|
|
49367
|
+
} | undefined;
|
|
49368
|
+
} | undefined;
|
|
49369
|
+
}>;
|
|
49370
|
+
listWithIterator: (payload?: {
|
|
49371
|
+
params?: {
|
|
49372
|
+
page_size?: number;
|
|
49373
|
+
page_token?: string;
|
|
49374
|
+
room_level_id?: string;
|
|
49375
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
49376
|
+
};
|
|
49377
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
49378
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
49379
|
+
rooms?: {
|
|
49380
|
+
room_id?: string | undefined;
|
|
49381
|
+
name?: string | undefined;
|
|
49382
|
+
capacity?: number | undefined;
|
|
49383
|
+
description?: string | undefined;
|
|
49384
|
+
display_id?: string | undefined;
|
|
49385
|
+
custom_room_id?: string | undefined;
|
|
49386
|
+
room_level_id?: string | undefined;
|
|
49387
|
+
path?: string[] | undefined;
|
|
49388
|
+
room_status?: {
|
|
49389
|
+
status: boolean;
|
|
49390
|
+
schedule_status?: boolean | undefined;
|
|
49391
|
+
disable_start_time?: string | undefined;
|
|
49392
|
+
disable_end_time?: string | undefined;
|
|
49393
|
+
disable_reason?: string | undefined;
|
|
49394
|
+
contact_ids?: string[] | undefined;
|
|
49395
|
+
disable_notice?: boolean | undefined;
|
|
49396
|
+
resume_notice?: boolean | undefined;
|
|
49397
|
+
} | undefined;
|
|
49398
|
+
}[] | undefined;
|
|
49399
|
+
} | null, void, unknown>;
|
|
49400
|
+
}>;
|
|
49401
|
+
/**
|
|
49402
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=room&apiName=list&version=v1 click to debug }
|
|
49403
|
+
*
|
|
49404
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/list document }
|
|
48999
49405
|
*
|
|
49000
|
-
*
|
|
49406
|
+
* 查询会议室列表
|
|
49001
49407
|
*
|
|
49002
|
-
*
|
|
49408
|
+
* 该接口可以用来查询某个会议室层级下会议室列表
|
|
49409
|
+
*/
|
|
49410
|
+
list: (payload?: {
|
|
49411
|
+
params?: {
|
|
49412
|
+
page_size?: number;
|
|
49413
|
+
page_token?: string;
|
|
49414
|
+
room_level_id?: string;
|
|
49415
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
49416
|
+
};
|
|
49417
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
49418
|
+
code?: number | undefined;
|
|
49419
|
+
msg?: string | undefined;
|
|
49420
|
+
data?: {
|
|
49421
|
+
rooms?: {
|
|
49422
|
+
room_id?: string | undefined;
|
|
49423
|
+
name?: string | undefined;
|
|
49424
|
+
capacity?: number | undefined;
|
|
49425
|
+
description?: string | undefined;
|
|
49426
|
+
display_id?: string | undefined;
|
|
49427
|
+
custom_room_id?: string | undefined;
|
|
49428
|
+
room_level_id?: string | undefined;
|
|
49429
|
+
path?: string[] | undefined;
|
|
49430
|
+
room_status?: {
|
|
49431
|
+
status: boolean;
|
|
49432
|
+
schedule_status?: boolean | undefined;
|
|
49433
|
+
disable_start_time?: string | undefined;
|
|
49434
|
+
disable_end_time?: string | undefined;
|
|
49435
|
+
disable_reason?: string | undefined;
|
|
49436
|
+
contact_ids?: string[] | undefined;
|
|
49437
|
+
disable_notice?: boolean | undefined;
|
|
49438
|
+
resume_notice?: boolean | undefined;
|
|
49439
|
+
} | undefined;
|
|
49440
|
+
}[] | undefined;
|
|
49441
|
+
page_token?: string | undefined;
|
|
49442
|
+
has_more?: boolean | undefined;
|
|
49443
|
+
} | undefined;
|
|
49444
|
+
}>;
|
|
49445
|
+
/**
|
|
49446
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=room&apiName=mget&version=v1 click to debug }
|
|
49447
|
+
*
|
|
49448
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/mget document }
|
|
49449
|
+
*
|
|
49450
|
+
* 批量查询会议室详情
|
|
49451
|
+
*
|
|
49452
|
+
* 该接口可以使用会议室ID批量查询会议室详情
|
|
49453
|
+
*/
|
|
49454
|
+
mget: (payload?: {
|
|
49455
|
+
data: {
|
|
49456
|
+
room_ids: Array<string>;
|
|
49457
|
+
};
|
|
49458
|
+
params?: {
|
|
49459
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
49460
|
+
};
|
|
49461
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
49462
|
+
code?: number | undefined;
|
|
49463
|
+
msg?: string | undefined;
|
|
49464
|
+
data?: {
|
|
49465
|
+
items?: {
|
|
49466
|
+
room_id?: string | undefined;
|
|
49467
|
+
name?: string | undefined;
|
|
49468
|
+
capacity?: number | undefined;
|
|
49469
|
+
description?: string | undefined;
|
|
49470
|
+
display_id?: string | undefined;
|
|
49471
|
+
custom_room_id?: string | undefined;
|
|
49472
|
+
room_level_id?: string | undefined;
|
|
49473
|
+
path?: string[] | undefined;
|
|
49474
|
+
room_status?: {
|
|
49475
|
+
status: boolean;
|
|
49476
|
+
schedule_status?: boolean | undefined;
|
|
49477
|
+
disable_start_time?: string | undefined;
|
|
49478
|
+
disable_end_time?: string | undefined;
|
|
49479
|
+
disable_reason?: string | undefined;
|
|
49480
|
+
contact_ids?: string[] | undefined;
|
|
49481
|
+
disable_notice?: boolean | undefined;
|
|
49482
|
+
resume_notice?: boolean | undefined;
|
|
49483
|
+
} | undefined;
|
|
49484
|
+
}[] | undefined;
|
|
49485
|
+
} | undefined;
|
|
49486
|
+
}>;
|
|
49487
|
+
/**
|
|
49488
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=room&apiName=patch&version=v1 click to debug }
|
|
49489
|
+
*
|
|
49490
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/patch document }
|
|
49491
|
+
*
|
|
49492
|
+
* 更新会议室
|
|
49493
|
+
*
|
|
49494
|
+
* 该接口可以用来更新某个会议室的信息
|
|
49495
|
+
*/
|
|
49496
|
+
patch: (payload?: {
|
|
49497
|
+
data?: {
|
|
49498
|
+
name?: string;
|
|
49499
|
+
capacity?: number;
|
|
49500
|
+
description?: string;
|
|
49501
|
+
custom_room_id?: string;
|
|
49502
|
+
room_level_id?: string;
|
|
49503
|
+
room_status?: {
|
|
49504
|
+
status: boolean;
|
|
49505
|
+
schedule_status?: boolean;
|
|
49506
|
+
disable_start_time?: string;
|
|
49507
|
+
disable_end_time?: string;
|
|
49508
|
+
disable_reason?: string;
|
|
49509
|
+
contact_ids?: Array<string>;
|
|
49510
|
+
disable_notice?: boolean;
|
|
49511
|
+
resume_notice?: boolean;
|
|
49512
|
+
};
|
|
49513
|
+
};
|
|
49514
|
+
params?: {
|
|
49515
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
49516
|
+
};
|
|
49517
|
+
path: {
|
|
49518
|
+
room_id: string;
|
|
49519
|
+
};
|
|
49520
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
49521
|
+
code?: number | undefined;
|
|
49522
|
+
msg?: string | undefined;
|
|
49523
|
+
data?: {} | undefined;
|
|
49524
|
+
}>;
|
|
49525
|
+
/**
|
|
49526
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=room&apiName=search&version=v1 click to debug }
|
|
49527
|
+
*
|
|
49528
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/search document }
|
|
49529
|
+
*
|
|
49530
|
+
* 搜索会议室
|
|
49531
|
+
*
|
|
49532
|
+
* 该接口可以用来搜索会议室,支持使用关键词进行搜索,也支持使用自定义会议室ID进行查询
|
|
49533
|
+
*/
|
|
49534
|
+
search: (payload?: {
|
|
49535
|
+
data?: {
|
|
49536
|
+
custom_room_ids?: Array<string>;
|
|
49537
|
+
keyword?: string;
|
|
49538
|
+
room_level_id?: string;
|
|
49539
|
+
search_level_name?: boolean;
|
|
49540
|
+
page_size?: number;
|
|
49541
|
+
page_token?: string;
|
|
49542
|
+
};
|
|
49543
|
+
params?: {
|
|
49544
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
49545
|
+
};
|
|
49546
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
49547
|
+
code?: number | undefined;
|
|
49548
|
+
msg?: string | undefined;
|
|
49549
|
+
data?: {
|
|
49550
|
+
rooms?: {
|
|
49551
|
+
room_id?: string | undefined;
|
|
49552
|
+
name?: string | undefined;
|
|
49553
|
+
capacity?: number | undefined;
|
|
49554
|
+
description?: string | undefined;
|
|
49555
|
+
display_id?: string | undefined;
|
|
49556
|
+
custom_room_id?: string | undefined;
|
|
49557
|
+
room_level_id?: string | undefined;
|
|
49558
|
+
path?: string[] | undefined;
|
|
49559
|
+
room_status?: {
|
|
49560
|
+
status: boolean;
|
|
49561
|
+
schedule_status?: boolean | undefined;
|
|
49562
|
+
disable_start_time?: string | undefined;
|
|
49563
|
+
disable_end_time?: string | undefined;
|
|
49564
|
+
disable_reason?: string | undefined;
|
|
49565
|
+
contact_ids?: string[] | undefined;
|
|
49566
|
+
disable_notice?: boolean | undefined;
|
|
49567
|
+
resume_notice?: boolean | undefined;
|
|
49568
|
+
} | undefined;
|
|
49569
|
+
}[] | undefined;
|
|
49570
|
+
page_token?: string | undefined;
|
|
49571
|
+
has_more?: boolean | undefined;
|
|
49572
|
+
} | undefined;
|
|
49573
|
+
}>;
|
|
49574
|
+
};
|
|
49575
|
+
/**
|
|
49576
|
+
* room_config
|
|
49577
|
+
*/
|
|
49578
|
+
roomConfig: {
|
|
49579
|
+
/**
|
|
49580
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=room_config&apiName=query&version=v1 click to debug }
|
|
49581
|
+
*
|
|
49582
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=query&project=vc&resource=room_config&version=v1 document }
|
|
49003
49583
|
*/
|
|
49004
49584
|
query: (payload?: {
|
|
49005
49585
|
params: {
|
|
@@ -49066,13 +49646,7 @@ declare abstract class Client$1 {
|
|
|
49066
49646
|
/**
|
|
49067
49647
|
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=room_config&apiName=set&version=v1 click to debug }
|
|
49068
49648
|
*
|
|
49069
|
-
* {@link https://open.feishu.cn/
|
|
49070
|
-
*
|
|
49071
|
-
* 设置会议室配置
|
|
49072
|
-
*
|
|
49073
|
-
* 设置一个范围内的会议室配置。
|
|
49074
|
-
*
|
|
49075
|
-
* 根据设置范围传入对应的参数
|
|
49649
|
+
* {@link https://open.feishu.cn/api-explorer?from=op_doc_tab&apiName=set&project=vc&resource=room_config&version=v1 document }
|
|
49076
49650
|
*/
|
|
49077
49651
|
set: (payload?: {
|
|
49078
49652
|
data: {
|
|
@@ -49139,6 +49713,405 @@ declare abstract class Client$1 {
|
|
|
49139
49713
|
data?: {} | undefined;
|
|
49140
49714
|
}>;
|
|
49141
49715
|
};
|
|
49716
|
+
/**
|
|
49717
|
+
* 会议室层级
|
|
49718
|
+
*/
|
|
49719
|
+
roomLevel: {
|
|
49720
|
+
/**
|
|
49721
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=room_level&apiName=create&version=v1 click to debug }
|
|
49722
|
+
*
|
|
49723
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/create document }
|
|
49724
|
+
*
|
|
49725
|
+
* 创建会议室层级
|
|
49726
|
+
*
|
|
49727
|
+
* 该接口用于创建会议室层级
|
|
49728
|
+
*/
|
|
49729
|
+
create: (payload?: {
|
|
49730
|
+
data: {
|
|
49731
|
+
name: string;
|
|
49732
|
+
parent_id: string;
|
|
49733
|
+
custom_group_id?: string;
|
|
49734
|
+
};
|
|
49735
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
49736
|
+
code?: number | undefined;
|
|
49737
|
+
msg?: string | undefined;
|
|
49738
|
+
data?: {
|
|
49739
|
+
room_level?: {
|
|
49740
|
+
room_level_id?: string | undefined;
|
|
49741
|
+
name?: string | undefined;
|
|
49742
|
+
parent_id?: string | undefined;
|
|
49743
|
+
path?: string[] | undefined;
|
|
49744
|
+
has_child?: boolean | undefined;
|
|
49745
|
+
custom_group_id?: string | undefined;
|
|
49746
|
+
} | undefined;
|
|
49747
|
+
} | undefined;
|
|
49748
|
+
}>;
|
|
49749
|
+
/**
|
|
49750
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=room_level&apiName=del&version=v1 click to debug }
|
|
49751
|
+
*
|
|
49752
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/del document }
|
|
49753
|
+
*
|
|
49754
|
+
* 删除会议室层级
|
|
49755
|
+
*
|
|
49756
|
+
* 该接口可以用来删除某个会议室层级
|
|
49757
|
+
*/
|
|
49758
|
+
del: (payload?: {
|
|
49759
|
+
data: {
|
|
49760
|
+
room_level_id: string;
|
|
49761
|
+
delete_child?: boolean;
|
|
49762
|
+
};
|
|
49763
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
49764
|
+
code?: number | undefined;
|
|
49765
|
+
msg?: string | undefined;
|
|
49766
|
+
data?: {} | undefined;
|
|
49767
|
+
}>;
|
|
49768
|
+
/**
|
|
49769
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=room_level&apiName=get&version=v1 click to debug }
|
|
49770
|
+
*
|
|
49771
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/get document }
|
|
49772
|
+
*
|
|
49773
|
+
* 查询会议室层级详情
|
|
49774
|
+
*
|
|
49775
|
+
* 该接口可以使用会议室层级ID查询会议室层级详情
|
|
49776
|
+
*/
|
|
49777
|
+
get: (payload?: {
|
|
49778
|
+
path: {
|
|
49779
|
+
room_level_id: string;
|
|
49780
|
+
};
|
|
49781
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
49782
|
+
code?: number | undefined;
|
|
49783
|
+
msg?: string | undefined;
|
|
49784
|
+
data?: {
|
|
49785
|
+
room_level?: {
|
|
49786
|
+
room_level_id?: string | undefined;
|
|
49787
|
+
name?: string | undefined;
|
|
49788
|
+
parent_id?: string | undefined;
|
|
49789
|
+
path?: string[] | undefined;
|
|
49790
|
+
has_child?: boolean | undefined;
|
|
49791
|
+
custom_group_id?: string | undefined;
|
|
49792
|
+
} | undefined;
|
|
49793
|
+
} | undefined;
|
|
49794
|
+
}>;
|
|
49795
|
+
listWithIterator: (payload?: {
|
|
49796
|
+
params?: {
|
|
49797
|
+
room_level_id?: string;
|
|
49798
|
+
page_size?: number;
|
|
49799
|
+
page_token?: string;
|
|
49800
|
+
};
|
|
49801
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
49802
|
+
[Symbol.asyncIterator](): AsyncGenerator<{
|
|
49803
|
+
items?: {
|
|
49804
|
+
room_level_id?: string | undefined;
|
|
49805
|
+
name?: string | undefined;
|
|
49806
|
+
parent_id?: string | undefined;
|
|
49807
|
+
path?: string[] | undefined;
|
|
49808
|
+
has_child?: boolean | undefined;
|
|
49809
|
+
custom_group_id?: string | undefined;
|
|
49810
|
+
}[] | undefined;
|
|
49811
|
+
} | null, void, unknown>;
|
|
49812
|
+
}>;
|
|
49813
|
+
/**
|
|
49814
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=room_level&apiName=list&version=v1 click to debug }
|
|
49815
|
+
*
|
|
49816
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/list document }
|
|
49817
|
+
*
|
|
49818
|
+
* 查询会议室层级列表
|
|
49819
|
+
*
|
|
49820
|
+
* 该接口用来查询某个会议室层级下的子层级列表
|
|
49821
|
+
*/
|
|
49822
|
+
list: (payload?: {
|
|
49823
|
+
params?: {
|
|
49824
|
+
room_level_id?: string;
|
|
49825
|
+
page_size?: number;
|
|
49826
|
+
page_token?: string;
|
|
49827
|
+
};
|
|
49828
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
49829
|
+
code?: number | undefined;
|
|
49830
|
+
msg?: string | undefined;
|
|
49831
|
+
data?: {
|
|
49832
|
+
items?: {
|
|
49833
|
+
room_level_id?: string | undefined;
|
|
49834
|
+
name?: string | undefined;
|
|
49835
|
+
parent_id?: string | undefined;
|
|
49836
|
+
path?: string[] | undefined;
|
|
49837
|
+
has_child?: boolean | undefined;
|
|
49838
|
+
custom_group_id?: string | undefined;
|
|
49839
|
+
}[] | undefined;
|
|
49840
|
+
page_token?: string | undefined;
|
|
49841
|
+
has_more?: boolean | undefined;
|
|
49842
|
+
} | undefined;
|
|
49843
|
+
}>;
|
|
49844
|
+
/**
|
|
49845
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=room_level&apiName=mget&version=v1 click to debug }
|
|
49846
|
+
*
|
|
49847
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/mget document }
|
|
49848
|
+
*
|
|
49849
|
+
* 批量查询会议室层级详情
|
|
49850
|
+
*
|
|
49851
|
+
* 该接口可以使用会议室层级ID批量查询会议室层级详情
|
|
49852
|
+
*/
|
|
49853
|
+
mget: (payload?: {
|
|
49854
|
+
data: {
|
|
49855
|
+
level_ids: Array<string>;
|
|
49856
|
+
};
|
|
49857
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
49858
|
+
code?: number | undefined;
|
|
49859
|
+
msg?: string | undefined;
|
|
49860
|
+
data?: {
|
|
49861
|
+
items?: {
|
|
49862
|
+
room_level_id?: string | undefined;
|
|
49863
|
+
name?: string | undefined;
|
|
49864
|
+
parent_id?: string | undefined;
|
|
49865
|
+
path?: string[] | undefined;
|
|
49866
|
+
has_child?: boolean | undefined;
|
|
49867
|
+
custom_group_id?: string | undefined;
|
|
49868
|
+
}[] | undefined;
|
|
49869
|
+
} | undefined;
|
|
49870
|
+
}>;
|
|
49871
|
+
/**
|
|
49872
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=room_level&apiName=patch&version=v1 click to debug }
|
|
49873
|
+
*
|
|
49874
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/patch document }
|
|
49875
|
+
*
|
|
49876
|
+
* 更新会议室层级
|
|
49877
|
+
*
|
|
49878
|
+
* 该接口可以用来更新某个会议室层级的信息
|
|
49879
|
+
*/
|
|
49880
|
+
patch: (payload?: {
|
|
49881
|
+
data: {
|
|
49882
|
+
name: string;
|
|
49883
|
+
parent_id: string;
|
|
49884
|
+
custom_group_id?: string;
|
|
49885
|
+
};
|
|
49886
|
+
path: {
|
|
49887
|
+
room_level_id: string;
|
|
49888
|
+
};
|
|
49889
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
49890
|
+
code?: number | undefined;
|
|
49891
|
+
msg?: string | undefined;
|
|
49892
|
+
data?: {} | undefined;
|
|
49893
|
+
}>;
|
|
49894
|
+
/**
|
|
49895
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=room_level&apiName=search&version=v1 click to debug }
|
|
49896
|
+
*
|
|
49897
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/search document }
|
|
49898
|
+
*
|
|
49899
|
+
* 搜索会议室层级
|
|
49900
|
+
*
|
|
49901
|
+
* 该接口可以用来搜索会议室层级,支持使用自定义会议室层级ID进行查询
|
|
49902
|
+
*/
|
|
49903
|
+
search: (payload?: {
|
|
49904
|
+
params: {
|
|
49905
|
+
custom_level_ids: string;
|
|
49906
|
+
};
|
|
49907
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
49908
|
+
code?: number | undefined;
|
|
49909
|
+
msg?: string | undefined;
|
|
49910
|
+
data?: {
|
|
49911
|
+
level_ids?: string[] | undefined;
|
|
49912
|
+
} | undefined;
|
|
49913
|
+
}>;
|
|
49914
|
+
};
|
|
49915
|
+
/**
|
|
49916
|
+
* 会议室配置
|
|
49917
|
+
*/
|
|
49918
|
+
scopeConfig: {
|
|
49919
|
+
/**
|
|
49920
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=scope_config&apiName=create&version=v1 click to debug }
|
|
49921
|
+
*
|
|
49922
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/scope_config/create document }
|
|
49923
|
+
*
|
|
49924
|
+
* 设置会议室配置
|
|
49925
|
+
*
|
|
49926
|
+
* 该接口可以用来设置某个会议层级范围下或者某个会议室的配置
|
|
49927
|
+
*/
|
|
49928
|
+
create: (payload?: {
|
|
49929
|
+
data: {
|
|
49930
|
+
scope_type: number;
|
|
49931
|
+
scope_id: string;
|
|
49932
|
+
scope_config?: {
|
|
49933
|
+
room_background?: string;
|
|
49934
|
+
display_background?: string;
|
|
49935
|
+
digital_signage?: {
|
|
49936
|
+
enable?: boolean;
|
|
49937
|
+
mute?: boolean;
|
|
49938
|
+
start_display?: number;
|
|
49939
|
+
stop_display?: number;
|
|
49940
|
+
materials?: Array<{
|
|
49941
|
+
id?: string;
|
|
49942
|
+
name?: string;
|
|
49943
|
+
material_type?: number;
|
|
49944
|
+
url?: string;
|
|
49945
|
+
duration?: number;
|
|
49946
|
+
cover?: string;
|
|
49947
|
+
md5?: string;
|
|
49948
|
+
vid?: string;
|
|
49949
|
+
size?: string;
|
|
49950
|
+
}>;
|
|
49951
|
+
};
|
|
49952
|
+
room_box_digital_signage?: {
|
|
49953
|
+
enable?: boolean;
|
|
49954
|
+
mute?: boolean;
|
|
49955
|
+
start_display?: number;
|
|
49956
|
+
stop_display?: number;
|
|
49957
|
+
materials?: Array<{
|
|
49958
|
+
id?: string;
|
|
49959
|
+
name?: string;
|
|
49960
|
+
material_type?: number;
|
|
49961
|
+
url?: string;
|
|
49962
|
+
duration?: number;
|
|
49963
|
+
cover?: string;
|
|
49964
|
+
md5?: string;
|
|
49965
|
+
vid?: string;
|
|
49966
|
+
size?: string;
|
|
49967
|
+
}>;
|
|
49968
|
+
};
|
|
49969
|
+
room_status?: {
|
|
49970
|
+
status: boolean;
|
|
49971
|
+
schedule_status?: boolean;
|
|
49972
|
+
disable_start_time?: string;
|
|
49973
|
+
disable_end_time?: string;
|
|
49974
|
+
disable_reason?: string;
|
|
49975
|
+
contact_ids?: Array<string>;
|
|
49976
|
+
disable_notice?: boolean;
|
|
49977
|
+
resume_notice?: boolean;
|
|
49978
|
+
};
|
|
49979
|
+
};
|
|
49980
|
+
};
|
|
49981
|
+
params?: {
|
|
49982
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
49983
|
+
};
|
|
49984
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
49985
|
+
code?: number | undefined;
|
|
49986
|
+
msg?: string | undefined;
|
|
49987
|
+
data?: {} | undefined;
|
|
49988
|
+
}>;
|
|
49989
|
+
/**
|
|
49990
|
+
* {@link https://open.feishu.cn/api-explorer?project=vc&resource=scope_config&apiName=get&version=v1 click to debug }
|
|
49991
|
+
*
|
|
49992
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/scope_config/get document }
|
|
49993
|
+
*
|
|
49994
|
+
* 查询会议室配置
|
|
49995
|
+
*
|
|
49996
|
+
* 该接口可以用来查询某个会议层级范围下或者某个会议室的配置
|
|
49997
|
+
*/
|
|
49998
|
+
get: (payload?: {
|
|
49999
|
+
params: {
|
|
50000
|
+
scope_type: number;
|
|
50001
|
+
scope_id: string;
|
|
50002
|
+
user_id_type?: "user_id" | "union_id" | "open_id";
|
|
50003
|
+
};
|
|
50004
|
+
}, options?: IRequestOptions$1) => Promise<{
|
|
50005
|
+
code?: number | undefined;
|
|
50006
|
+
msg?: string | undefined;
|
|
50007
|
+
data?: {
|
|
50008
|
+
current_config?: {
|
|
50009
|
+
scope_type: number;
|
|
50010
|
+
scope_id: string;
|
|
50011
|
+
scope_config?: {
|
|
50012
|
+
room_background?: string | undefined;
|
|
50013
|
+
display_background?: string | undefined;
|
|
50014
|
+
digital_signage?: {
|
|
50015
|
+
enable?: boolean | undefined;
|
|
50016
|
+
mute?: boolean | undefined;
|
|
50017
|
+
start_display?: number | undefined;
|
|
50018
|
+
stop_display?: number | undefined;
|
|
50019
|
+
materials?: {
|
|
50020
|
+
id?: string | undefined;
|
|
50021
|
+
name?: string | undefined;
|
|
50022
|
+
material_type?: number | undefined;
|
|
50023
|
+
url?: string | undefined;
|
|
50024
|
+
duration?: number | undefined;
|
|
50025
|
+
cover?: string | undefined;
|
|
50026
|
+
md5?: string | undefined;
|
|
50027
|
+
vid?: string | undefined;
|
|
50028
|
+
size?: string | undefined;
|
|
50029
|
+
}[] | undefined;
|
|
50030
|
+
} | undefined;
|
|
50031
|
+
room_box_digital_signage?: {
|
|
50032
|
+
enable?: boolean | undefined;
|
|
50033
|
+
mute?: boolean | undefined;
|
|
50034
|
+
start_display?: number | undefined;
|
|
50035
|
+
stop_display?: number | undefined;
|
|
50036
|
+
materials?: {
|
|
50037
|
+
id?: string | undefined;
|
|
50038
|
+
name?: string | undefined;
|
|
50039
|
+
material_type?: number | undefined;
|
|
50040
|
+
url?: string | undefined;
|
|
50041
|
+
duration?: number | undefined;
|
|
50042
|
+
cover?: string | undefined;
|
|
50043
|
+
md5?: string | undefined;
|
|
50044
|
+
vid?: string | undefined;
|
|
50045
|
+
size?: string | undefined;
|
|
50046
|
+
}[] | undefined;
|
|
50047
|
+
} | undefined;
|
|
50048
|
+
room_status?: {
|
|
50049
|
+
status: boolean;
|
|
50050
|
+
schedule_status?: boolean | undefined;
|
|
50051
|
+
disable_start_time?: string | undefined;
|
|
50052
|
+
disable_end_time?: string | undefined;
|
|
50053
|
+
disable_reason?: string | undefined;
|
|
50054
|
+
contact_ids?: string[] | undefined;
|
|
50055
|
+
disable_notice?: boolean | undefined;
|
|
50056
|
+
resume_notice?: boolean | undefined;
|
|
50057
|
+
} | undefined;
|
|
50058
|
+
} | undefined;
|
|
50059
|
+
} | undefined;
|
|
50060
|
+
origin_configs?: {
|
|
50061
|
+
scope_type: number;
|
|
50062
|
+
scope_id: string;
|
|
50063
|
+
scope_config?: {
|
|
50064
|
+
room_background?: string | undefined;
|
|
50065
|
+
display_background?: string | undefined;
|
|
50066
|
+
digital_signage?: {
|
|
50067
|
+
enable?: boolean | undefined;
|
|
50068
|
+
mute?: boolean | undefined;
|
|
50069
|
+
start_display?: number | undefined;
|
|
50070
|
+
stop_display?: number | undefined;
|
|
50071
|
+
materials?: {
|
|
50072
|
+
id?: string | undefined;
|
|
50073
|
+
name?: string | undefined;
|
|
50074
|
+
material_type?: number | undefined;
|
|
50075
|
+
url?: string | undefined;
|
|
50076
|
+
duration?: number | undefined;
|
|
50077
|
+
cover?: string | undefined;
|
|
50078
|
+
md5?: string | undefined;
|
|
50079
|
+
vid?: string | undefined;
|
|
50080
|
+
size?: string | undefined;
|
|
50081
|
+
}[] | undefined;
|
|
50082
|
+
} | undefined;
|
|
50083
|
+
room_box_digital_signage?: {
|
|
50084
|
+
enable?: boolean | undefined;
|
|
50085
|
+
mute?: boolean | undefined;
|
|
50086
|
+
start_display?: number | undefined;
|
|
50087
|
+
stop_display?: number | undefined;
|
|
50088
|
+
materials?: {
|
|
50089
|
+
id?: string | undefined;
|
|
50090
|
+
name?: string | undefined;
|
|
50091
|
+
material_type?: number | undefined;
|
|
50092
|
+
url?: string | undefined;
|
|
50093
|
+
duration?: number | undefined;
|
|
50094
|
+
cover?: string | undefined;
|
|
50095
|
+
md5?: string | undefined;
|
|
50096
|
+
vid?: string | undefined;
|
|
50097
|
+
size?: string | undefined;
|
|
50098
|
+
}[] | undefined;
|
|
50099
|
+
} | undefined;
|
|
50100
|
+
room_status?: {
|
|
50101
|
+
status: boolean;
|
|
50102
|
+
schedule_status?: boolean | undefined;
|
|
50103
|
+
disable_start_time?: string | undefined;
|
|
50104
|
+
disable_end_time?: string | undefined;
|
|
50105
|
+
disable_reason?: string | undefined;
|
|
50106
|
+
contact_ids?: string[] | undefined;
|
|
50107
|
+
disable_notice?: boolean | undefined;
|
|
50108
|
+
resume_notice?: boolean | undefined;
|
|
50109
|
+
} | undefined;
|
|
50110
|
+
} | undefined;
|
|
50111
|
+
}[] | undefined;
|
|
50112
|
+
} | undefined;
|
|
50113
|
+
}>;
|
|
50114
|
+
};
|
|
49142
50115
|
};
|
|
49143
50116
|
/**
|
|
49144
50117
|
* 云文档-知识库
|
|
@@ -49210,11 +50183,11 @@ declare abstract class Client$1 {
|
|
|
49210
50183
|
*
|
|
49211
50184
|
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space/get_node document }
|
|
49212
50185
|
*
|
|
49213
|
-
*
|
|
50186
|
+
* 获取知识空间节点信息
|
|
49214
50187
|
*
|
|
49215
|
-
*
|
|
50188
|
+
* 获取知识空间节点信息
|
|
49216
50189
|
*
|
|
49217
|
-
*
|
|
50190
|
+
* 知识库权限要求,当前使用的 access token 所代表的应用或用户拥有:;- 节点阅读权限
|
|
49218
50191
|
*/
|
|
49219
50192
|
getNode: (payload?: {
|
|
49220
50193
|
params: {
|
|
@@ -49302,9 +50275,9 @@ declare abstract class Client$1 {
|
|
|
49302
50275
|
*
|
|
49303
50276
|
* 添加知识空间成员
|
|
49304
50277
|
*
|
|
49305
|
-
*
|
|
50278
|
+
* 添加知识空间成员或管理员。
|
|
49306
50279
|
*
|
|
49307
|
-
*
|
|
50280
|
+
* 知识空间具有[类型](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-overview)和[可见性](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-overview)的概念。不同的类型或可见性可以对本操作做出限制:;- 可见性限制:公开知识空间(visibility为public)对租户所有用户可见,因此不支持再添加成员,但可以添加管理员。;- 类型限制:个人知识空间 (type为person)为个人管理的知识空间,不支持添加其他管理员(包括应用/机器人)。但可以添加成员。;;;知识空间权限要求,当前使用的 access token 所代表的应用或用户拥有:;- 为知识空间管理员
|
|
49308
50281
|
*/
|
|
49309
50282
|
create: (payload?: {
|
|
49310
50283
|
data: {
|
|
@@ -49336,9 +50309,9 @@ declare abstract class Client$1 {
|
|
|
49336
50309
|
*
|
|
49337
50310
|
* 删除知识空间成员
|
|
49338
50311
|
*
|
|
49339
|
-
*
|
|
50312
|
+
* 此接口用于删除知识空间成员或管理员。
|
|
49340
50313
|
*
|
|
49341
|
-
*
|
|
50314
|
+
* 知识空间具有[类型](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-overview)和[可见性](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-overview)的概念。不同的类型或可见性可以对本操作做出限制:;- 可见性限制:公开知识空间(visibility为public)对租户所有用户可见,因此不支持再删除成员,但可以删除管理员。;- 类型限制:个人知识空间 (type为person)为个人管理的知识空间,不支持删除管理员。但可以删除成员。;;;知识空间权限要求,当前使用的 access token 所代表的应用或用户拥有:;- 为知识空间管理员
|
|
49342
50315
|
*/
|
|
49343
50316
|
delete: (payload?: {
|
|
49344
50317
|
data: {
|
|
@@ -49370,9 +50343,9 @@ declare abstract class Client$1 {
|
|
|
49370
50343
|
*
|
|
49371
50344
|
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space-node/copy document }
|
|
49372
50345
|
*
|
|
49373
|
-
*
|
|
50346
|
+
* 创建知识空间节点副本
|
|
49374
50347
|
*
|
|
49375
|
-
*
|
|
50348
|
+
* 此接口用于在知识空间创建节点副本到指定位置。
|
|
49376
50349
|
*/
|
|
49377
50350
|
copy: (payload?: {
|
|
49378
50351
|
data?: {
|
|
@@ -49412,11 +50385,11 @@ declare abstract class Client$1 {
|
|
|
49412
50385
|
*
|
|
49413
50386
|
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space-node/create document }
|
|
49414
50387
|
*
|
|
49415
|
-
*
|
|
50388
|
+
* 创建知识空间节点
|
|
49416
50389
|
*
|
|
49417
|
-
*
|
|
50390
|
+
* 此接口用于在知识节点里创建[节点](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-overview)到指定位置。
|
|
49418
50391
|
*
|
|
49419
|
-
*
|
|
50392
|
+
* 知识空间权限要求,当前使用的 access token 所代表的应用或用户拥有:;- **父节点**容器编辑权限
|
|
49420
50393
|
*/
|
|
49421
50394
|
create: (payload?: {
|
|
49422
50395
|
data: {
|
|
@@ -49487,11 +50460,11 @@ declare abstract class Client$1 {
|
|
|
49487
50460
|
*
|
|
49488
50461
|
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space-node/list document }
|
|
49489
50462
|
*
|
|
49490
|
-
*
|
|
50463
|
+
* 获取知识空间子节点列表
|
|
49491
50464
|
*
|
|
49492
50465
|
* 此接口用于分页获取Wiki节点的子节点列表。;;此接口为分页接口。由于权限过滤,可能返回列表为空,但分页标记(has_more)为true,可以继续分页请求。
|
|
49493
50466
|
*
|
|
49494
|
-
*
|
|
50467
|
+
* 知识库权限要求,当前使用的 access token 所代表的应用或用户拥有:;- 父节点阅读权限
|
|
49495
50468
|
*/
|
|
49496
50469
|
list: (payload?: {
|
|
49497
50470
|
params?: {
|
|
@@ -49575,13 +50548,13 @@ declare abstract class Client$1 {
|
|
|
49575
50548
|
*
|
|
49576
50549
|
* {@link https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space-node/move_docs_to_wiki document }
|
|
49577
50550
|
*
|
|
49578
|
-
*
|
|
50551
|
+
* 移动云空间文档至知识空间
|
|
49579
50552
|
*
|
|
49580
|
-
*
|
|
50553
|
+
* 该接口允许移动云空间文档至知识空间,并挂载在指定位置
|
|
49581
50554
|
*
|
|
49582
|
-
*
|
|
50555
|
+
* 此接口为异步接口。若移动已完成(或文档已在Wiki中),则直接返回结果(Wiki token)。若尚未完成,则返回task id。请使用[获取任务结果](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/task/get)接口进行查询。;;知识库权限要求,当前使用的 access token 所代表的应用或用户拥有:;- 文档可管理权限;- 原文件夹编辑权限;- 目标父节点容器编辑权限
|
|
49583
50556
|
*
|
|
49584
|
-
* ### 移动操作
|
|
50557
|
+
* ### 移动操作 ###;移动后,文档将从“我的空间”或“共享空间”转移至“知识库”后,无法从下列入口查看到文档:;- 云空间主页:快速访问;- 我的空间;- 共享空间;;### 权限变更 ###;移动后,文档会向所有可查看“页面树”的用户显示,默认继承父页面的权限设置。;</md-alert
|
|
49585
50558
|
*/
|
|
49586
50559
|
moveDocsToWiki: (payload?: {
|
|
49587
50560
|
data: {
|
|
@@ -49676,7 +50649,7 @@ declare abstract class Client$1 {
|
|
|
49676
50649
|
*
|
|
49677
50650
|
* 该方法用于获取wiki异步任务的结果
|
|
49678
50651
|
*
|
|
49679
|
-
*
|
|
50652
|
+
* 知识库权限要求,当前 access token 所代表的用户或应用(机器人):;- 为任务创建者
|
|
49680
50653
|
*/
|
|
49681
50654
|
get: (payload?: {
|
|
49682
50655
|
params: {
|
|
@@ -51246,6 +52219,7 @@ interface IHandles extends IOtherEventHandles {
|
|
|
51246
52219
|
leaderType: number;
|
|
51247
52220
|
leaderID: string;
|
|
51248
52221
|
}>;
|
|
52222
|
+
group_chat_employee_types?: Array<number>;
|
|
51249
52223
|
}>;
|
|
51250
52224
|
users?: Array<{
|
|
51251
52225
|
union_id?: string;
|
|
@@ -51344,6 +52318,7 @@ interface IHandles extends IOtherEventHandles {
|
|
|
51344
52318
|
leaderType: number;
|
|
51345
52319
|
leaderID: string;
|
|
51346
52320
|
}>;
|
|
52321
|
+
group_chat_employee_types?: Array<number>;
|
|
51347
52322
|
}>;
|
|
51348
52323
|
users?: Array<{
|
|
51349
52324
|
union_id?: string;
|
|
@@ -52269,6 +53244,12 @@ interface IHandles extends IOtherEventHandles {
|
|
|
52269
53244
|
};
|
|
52270
53245
|
external?: boolean;
|
|
52271
53246
|
operator_tenant_key?: string;
|
|
53247
|
+
name?: string;
|
|
53248
|
+
i18n_names?: {
|
|
53249
|
+
zh_cn?: string;
|
|
53250
|
+
en_us?: string;
|
|
53251
|
+
ja_jp?: string;
|
|
53252
|
+
};
|
|
52272
53253
|
}) => Promise<any> | any;
|
|
52273
53254
|
/**
|
|
52274
53255
|
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-member-bot/events/added document }
|
|
@@ -52297,6 +53278,12 @@ interface IHandles extends IOtherEventHandles {
|
|
|
52297
53278
|
};
|
|
52298
53279
|
external?: boolean;
|
|
52299
53280
|
operator_tenant_key?: string;
|
|
53281
|
+
name?: string;
|
|
53282
|
+
i18n_names?: {
|
|
53283
|
+
zh_cn?: string;
|
|
53284
|
+
en_us?: string;
|
|
53285
|
+
ja_jp?: string;
|
|
53286
|
+
};
|
|
52300
53287
|
}) => Promise<any> | any;
|
|
52301
53288
|
/**
|
|
52302
53289
|
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-member-bot/events/deleted document }
|
|
@@ -52325,6 +53312,12 @@ interface IHandles extends IOtherEventHandles {
|
|
|
52325
53312
|
};
|
|
52326
53313
|
external?: boolean;
|
|
52327
53314
|
operator_tenant_key?: string;
|
|
53315
|
+
name?: string;
|
|
53316
|
+
i18n_names?: {
|
|
53317
|
+
zh_cn?: string;
|
|
53318
|
+
en_us?: string;
|
|
53319
|
+
ja_jp?: string;
|
|
53320
|
+
};
|
|
52328
53321
|
}) => Promise<any> | any;
|
|
52329
53322
|
/**
|
|
52330
53323
|
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-member-user/events/added document }
|
|
@@ -52362,11 +53355,17 @@ interface IHandles extends IOtherEventHandles {
|
|
|
52362
53355
|
open_id?: string;
|
|
52363
53356
|
};
|
|
52364
53357
|
}>;
|
|
53358
|
+
name?: string;
|
|
53359
|
+
i18n_names?: {
|
|
53360
|
+
zh_cn?: string;
|
|
53361
|
+
en_us?: string;
|
|
53362
|
+
ja_jp?: string;
|
|
53363
|
+
};
|
|
52365
53364
|
}) => Promise<any> | any;
|
|
52366
53365
|
/**
|
|
52367
53366
|
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-member-user/events/deleted document }
|
|
52368
53367
|
*
|
|
52369
|
-
*
|
|
53368
|
+
* 用户出群
|
|
52370
53369
|
*
|
|
52371
53370
|
* 用户主动退群或被移出群聊时推送事件。
|
|
52372
53371
|
*
|
|
@@ -52399,6 +53398,12 @@ interface IHandles extends IOtherEventHandles {
|
|
|
52399
53398
|
open_id?: string;
|
|
52400
53399
|
};
|
|
52401
53400
|
}>;
|
|
53401
|
+
name?: string;
|
|
53402
|
+
i18n_names?: {
|
|
53403
|
+
zh_cn?: string;
|
|
53404
|
+
en_us?: string;
|
|
53405
|
+
ja_jp?: string;
|
|
53406
|
+
};
|
|
52402
53407
|
}) => Promise<any> | any;
|
|
52403
53408
|
/**
|
|
52404
53409
|
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-member-user/events/withdrawn document }
|
|
@@ -52436,6 +53441,12 @@ interface IHandles extends IOtherEventHandles {
|
|
|
52436
53441
|
open_id?: string;
|
|
52437
53442
|
};
|
|
52438
53443
|
}>;
|
|
53444
|
+
name?: string;
|
|
53445
|
+
i18n_names?: {
|
|
53446
|
+
zh_cn?: string;
|
|
53447
|
+
en_us?: string;
|
|
53448
|
+
ja_jp?: string;
|
|
53449
|
+
};
|
|
52439
53450
|
}) => Promise<any> | any;
|
|
52440
53451
|
/**
|
|
52441
53452
|
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat/events/updated document }
|
|
@@ -52623,6 +53634,28 @@ interface IHandles extends IOtherEventHandles {
|
|
|
52623
53634
|
};
|
|
52624
53635
|
action_time?: string;
|
|
52625
53636
|
}) => Promise<any> | any;
|
|
53637
|
+
/**
|
|
53638
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/events/recalled document }
|
|
53639
|
+
*
|
|
53640
|
+
* 消息撤回事件
|
|
53641
|
+
*
|
|
53642
|
+
* 消息被撤回后触发此事件。
|
|
53643
|
+
*/
|
|
53644
|
+
"im.message.recalled_v1"?: (data: {
|
|
53645
|
+
event_id?: string;
|
|
53646
|
+
token?: string;
|
|
53647
|
+
create_time?: string;
|
|
53648
|
+
event_type?: string;
|
|
53649
|
+
tenant_key?: string;
|
|
53650
|
+
ts?: string;
|
|
53651
|
+
uuid?: string;
|
|
53652
|
+
type?: string;
|
|
53653
|
+
app_id?: string;
|
|
53654
|
+
message_id?: string;
|
|
53655
|
+
chat_id?: string;
|
|
53656
|
+
recall_time?: string;
|
|
53657
|
+
recall_type?: "message_owner" | "group_owner" | "group_manager" | "enterprise_manager";
|
|
53658
|
+
}) => Promise<any> | any;
|
|
52626
53659
|
/**
|
|
52627
53660
|
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/events/receive document }
|
|
52628
53661
|
*
|
|
@@ -52673,14 +53706,8 @@ interface IHandles extends IOtherEventHandles {
|
|
|
52673
53706
|
};
|
|
52674
53707
|
}) => Promise<any> | any;
|
|
52675
53708
|
/**
|
|
52676
|
-
|
|
52677
|
-
|
|
52678
|
-
* 会议室创建
|
|
52679
|
-
*
|
|
52680
|
-
* 会议室被创建将触发此事件。
|
|
52681
|
-
*
|
|
52682
|
-
* 了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM)
|
|
52683
|
-
*/
|
|
53709
|
+
|
|
53710
|
+
*/
|
|
52684
53711
|
"meeting_room.meeting_room.created_v1"?: (data: {
|
|
52685
53712
|
event_id?: string;
|
|
52686
53713
|
token?: string;
|
|
@@ -52695,14 +53722,8 @@ interface IHandles extends IOtherEventHandles {
|
|
|
52695
53722
|
room_id?: string;
|
|
52696
53723
|
}) => Promise<any> | any;
|
|
52697
53724
|
/**
|
|
52698
|
-
|
|
52699
|
-
|
|
52700
|
-
* 会议室删除
|
|
52701
|
-
*
|
|
52702
|
-
* 会议室被删除将触发此事件。
|
|
52703
|
-
*
|
|
52704
|
-
* 了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM)
|
|
52705
|
-
*/
|
|
53725
|
+
|
|
53726
|
+
*/
|
|
52706
53727
|
"meeting_room.meeting_room.deleted_v1"?: (data: {
|
|
52707
53728
|
event_id?: string;
|
|
52708
53729
|
token?: string;
|
|
@@ -52717,14 +53738,8 @@ interface IHandles extends IOtherEventHandles {
|
|
|
52717
53738
|
room_id?: string;
|
|
52718
53739
|
}) => Promise<any> | any;
|
|
52719
53740
|
/**
|
|
52720
|
-
|
|
52721
|
-
|
|
52722
|
-
* 会议室状态信息变更
|
|
52723
|
-
*
|
|
52724
|
-
* 会议室状态信息变更将触发此事件。
|
|
52725
|
-
*
|
|
52726
|
-
* 了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM)
|
|
52727
|
-
*/
|
|
53741
|
+
|
|
53742
|
+
*/
|
|
52728
53743
|
"meeting_room.meeting_room.status_changed_v1"?: (data: {
|
|
52729
53744
|
event_id?: string;
|
|
52730
53745
|
token?: string;
|
|
@@ -52739,14 +53754,8 @@ interface IHandles extends IOtherEventHandles {
|
|
|
52739
53754
|
room_id?: string;
|
|
52740
53755
|
}) => Promise<any> | any;
|
|
52741
53756
|
/**
|
|
52742
|
-
|
|
52743
|
-
|
|
52744
|
-
* 会议室属性变更
|
|
52745
|
-
*
|
|
52746
|
-
* 会议室属性更新将触发此事件。
|
|
52747
|
-
*
|
|
52748
|
-
* 了解事件订阅的使用场景和配置流程,请点击查看 [事件订阅概述](https://open.feishu.cn/document/ukTMukTMukTM/uUTNz4SN1MjL1UzM)
|
|
52749
|
-
*/
|
|
53757
|
+
|
|
53758
|
+
*/
|
|
52750
53759
|
"meeting_room.meeting_room.updated_v1"?: (data: {
|
|
52751
53760
|
event_id?: string;
|
|
52752
53761
|
token?: string;
|
|
@@ -53280,6 +54289,111 @@ interface IHandles extends IOtherEventHandles {
|
|
|
53280
54289
|
user_type?: number;
|
|
53281
54290
|
};
|
|
53282
54291
|
}) => Promise<any> | any;
|
|
54292
|
+
/**
|
|
54293
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/events/created document }
|
|
54294
|
+
*
|
|
54295
|
+
* 创建会议室
|
|
54296
|
+
*
|
|
54297
|
+
* 当创建会议室时,会触发该事件
|
|
54298
|
+
*/
|
|
54299
|
+
"vc.room.created_v1"?: (data: {
|
|
54300
|
+
event_id?: string;
|
|
54301
|
+
token?: string;
|
|
54302
|
+
create_time?: string;
|
|
54303
|
+
event_type?: string;
|
|
54304
|
+
tenant_key?: string;
|
|
54305
|
+
ts?: string;
|
|
54306
|
+
uuid?: string;
|
|
54307
|
+
type?: string;
|
|
54308
|
+
app_id?: string;
|
|
54309
|
+
room?: {
|
|
54310
|
+
room_id?: string;
|
|
54311
|
+
name?: string;
|
|
54312
|
+
capacity?: number;
|
|
54313
|
+
description?: string;
|
|
54314
|
+
display_id?: string;
|
|
54315
|
+
custom_room_id?: string;
|
|
54316
|
+
room_level_id?: string;
|
|
54317
|
+
path?: Array<string>;
|
|
54318
|
+
room_status?: {
|
|
54319
|
+
status: boolean;
|
|
54320
|
+
schedule_status?: boolean;
|
|
54321
|
+
disable_start_time?: string;
|
|
54322
|
+
disable_end_time?: string;
|
|
54323
|
+
disable_reason?: string;
|
|
54324
|
+
contact_ids?: Array<{
|
|
54325
|
+
union_id?: string;
|
|
54326
|
+
user_id?: string;
|
|
54327
|
+
open_id?: string;
|
|
54328
|
+
}>;
|
|
54329
|
+
disable_notice?: boolean;
|
|
54330
|
+
resume_notice?: boolean;
|
|
54331
|
+
};
|
|
54332
|
+
};
|
|
54333
|
+
}) => Promise<any> | any;
|
|
54334
|
+
/**
|
|
54335
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/events/deleted document }
|
|
54336
|
+
*
|
|
54337
|
+
* 删除会议室
|
|
54338
|
+
*
|
|
54339
|
+
* 当删除会议室时,会触发该事件
|
|
54340
|
+
*/
|
|
54341
|
+
"vc.room.deleted_v1"?: (data: {
|
|
54342
|
+
event_id?: string;
|
|
54343
|
+
token?: string;
|
|
54344
|
+
create_time?: string;
|
|
54345
|
+
event_type?: string;
|
|
54346
|
+
tenant_key?: string;
|
|
54347
|
+
ts?: string;
|
|
54348
|
+
uuid?: string;
|
|
54349
|
+
type?: string;
|
|
54350
|
+
app_id?: string;
|
|
54351
|
+
room?: {
|
|
54352
|
+
room_id?: string;
|
|
54353
|
+
};
|
|
54354
|
+
}) => Promise<any> | any;
|
|
54355
|
+
/**
|
|
54356
|
+
* {@link https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/events/updated document }
|
|
54357
|
+
*
|
|
54358
|
+
* 更新会议室
|
|
54359
|
+
*
|
|
54360
|
+
* 当更新会议室时,会触发该事件
|
|
54361
|
+
*/
|
|
54362
|
+
"vc.room.updated_v1"?: (data: {
|
|
54363
|
+
event_id?: string;
|
|
54364
|
+
token?: string;
|
|
54365
|
+
create_time?: string;
|
|
54366
|
+
event_type?: string;
|
|
54367
|
+
tenant_key?: string;
|
|
54368
|
+
ts?: string;
|
|
54369
|
+
uuid?: string;
|
|
54370
|
+
type?: string;
|
|
54371
|
+
app_id?: string;
|
|
54372
|
+
room?: {
|
|
54373
|
+
room_id?: string;
|
|
54374
|
+
name?: string;
|
|
54375
|
+
capacity?: number;
|
|
54376
|
+
description?: string;
|
|
54377
|
+
display_id?: string;
|
|
54378
|
+
custom_room_id?: string;
|
|
54379
|
+
room_level_id?: string;
|
|
54380
|
+
path?: Array<string>;
|
|
54381
|
+
room_status?: {
|
|
54382
|
+
status: boolean;
|
|
54383
|
+
schedule_status?: boolean;
|
|
54384
|
+
disable_start_time?: string;
|
|
54385
|
+
disable_end_time?: string;
|
|
54386
|
+
disable_reason?: string;
|
|
54387
|
+
contact_ids?: Array<{
|
|
54388
|
+
union_id?: string;
|
|
54389
|
+
user_id?: string;
|
|
54390
|
+
open_id?: string;
|
|
54391
|
+
}>;
|
|
54392
|
+
disable_notice?: boolean;
|
|
54393
|
+
resume_notice?: boolean;
|
|
54394
|
+
};
|
|
54395
|
+
};
|
|
54396
|
+
}) => Promise<any> | any;
|
|
53283
54397
|
}
|
|
53284
54398
|
|
|
53285
54399
|
declare class AESCipher {
|