@satorijs/adapter-lark 3.12.4 → 3.12.5
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/lib/index.cjs +160 -1
- package/lib/types/application.d.ts +117 -0
- package/lib/types/approval.d.ts +45 -0
- package/lib/types/bitable.d.ts +51 -0
- package/lib/types/contact.d.ts +17 -0
- package/lib/types/corehr.d.ts +223 -0
- package/lib/types/drive.d.ts +89 -0
- package/lib/types/im.d.ts +26 -1
- package/lib/types/index.d.ts +463 -36
- package/lib/types/minutes.d.ts +13 -0
- package/lib/types/security_and_compliance.d.ts +86 -0
- package/lib/types/spark.d.ts +356 -0
- package/lib/types/vc.d.ts +42 -0
- package/package.json +3 -3
- package/src/types/application.ts +146 -0
- package/src/types/approval.ts +57 -0
- package/src/types/bitable.ts +67 -0
- package/src/types/contact.ts +23 -0
- package/src/types/corehr.ts +274 -0
- package/src/types/drive.ts +113 -0
- package/src/types/im.ts +32 -1
- package/src/types/index.ts +509 -36
- package/src/types/minutes.ts +17 -0
- package/src/types/security_and_compliance.ts +115 -0
- package/src/types/spark.ts +432 -0
- package/src/types/vc.ts +53 -0
- package/src/utils.ts +2 -1
package/lib/types/index.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ export * from './report';
|
|
|
42
42
|
export * from './search';
|
|
43
43
|
export * from './security_and_compliance';
|
|
44
44
|
export * from './sheets';
|
|
45
|
+
export * from './spark';
|
|
45
46
|
export * from './speech_to_text';
|
|
46
47
|
export * from './task';
|
|
47
48
|
export * from './tenant';
|
|
@@ -886,19 +887,107 @@ export interface AppAbility {
|
|
|
886
887
|
/** 加号菜单 */
|
|
887
888
|
plus_menu?: PlusMenu;
|
|
888
889
|
}
|
|
890
|
+
export interface AppAbilityBot {
|
|
891
|
+
/** 是否开启 */
|
|
892
|
+
enable: boolean;
|
|
893
|
+
/** 消息卡片的回调地址 */
|
|
894
|
+
message_card_callback_url?: string;
|
|
895
|
+
/** 国际化内容 */
|
|
896
|
+
i18ns?: AppAbilityBotI18n[];
|
|
897
|
+
}
|
|
898
|
+
export interface AppAbilityBotI18n {
|
|
899
|
+
/** 语种类型 */
|
|
900
|
+
i18n_key: 'zh_cn' | 'en_us' | 'ja_jp' | 'zh_hk' | 'zh_tw' | 'id_id' | 'ms_my' | 'de_de' | 'es_es' | 'fr_fr' | 'it_it' | 'pt_br' | 'vi_vn' | 'ru_ru' | 'th_th' | 'ko_kr';
|
|
901
|
+
/** 如何开始使用描述文案 */
|
|
902
|
+
get_started_desc: string;
|
|
903
|
+
}
|
|
904
|
+
export interface AppAbilityWeb {
|
|
905
|
+
/** 是否开启网页应用能力 */
|
|
906
|
+
enable: boolean;
|
|
907
|
+
/** PC端链接 */
|
|
908
|
+
pc_url?: string;
|
|
909
|
+
/** PC端新页面打开方式 */
|
|
910
|
+
pc_new_page_open_mode?: 'new_tab' | 'browser';
|
|
911
|
+
/** 移动端链接 */
|
|
912
|
+
mobile_url?: string;
|
|
913
|
+
}
|
|
889
914
|
export interface AppCollaborator {
|
|
890
915
|
/** 人员类型 */
|
|
891
916
|
type: 'administrator' | 'developer' | 'operator';
|
|
892
917
|
/** 用户ID */
|
|
893
918
|
user_id: string;
|
|
894
919
|
}
|
|
920
|
+
export interface AppConfigCallback {
|
|
921
|
+
/** 回调类型 */
|
|
922
|
+
callback_type: 'webhook' | 'websocket';
|
|
923
|
+
/** 如果回调是 webhook,webhook 的请求地址 */
|
|
924
|
+
request_url?: string;
|
|
925
|
+
/** 添加哪些回调 */
|
|
926
|
+
add_callbacks?: string[];
|
|
927
|
+
/** 移除哪些回调 */
|
|
928
|
+
remove_callbacks?: string[];
|
|
929
|
+
}
|
|
930
|
+
export interface AppConfigContactsRange {
|
|
931
|
+
/** 更新范围方式 */
|
|
932
|
+
contacts_range_type: 'equal_to_availability' | 'some' | 'all';
|
|
933
|
+
/** 通讯录可用人员列表 */
|
|
934
|
+
visible_list?: AppContactsRangeIdList;
|
|
935
|
+
}
|
|
936
|
+
export interface AppConfigEvent {
|
|
937
|
+
/** 订阅方式 */
|
|
938
|
+
subscription_type: 'webhook' | 'websocket';
|
|
939
|
+
/** 接收事件的服务器地址 */
|
|
940
|
+
request_url?: string;
|
|
941
|
+
/** 添加事件列表 */
|
|
942
|
+
add_events?: string[];
|
|
943
|
+
/** 删除事件列表 */
|
|
944
|
+
remove_events?: string[];
|
|
945
|
+
}
|
|
946
|
+
export interface AppConfigScope {
|
|
947
|
+
/** 新增权限 */
|
|
948
|
+
add_scopes?: AppConfigScopeItem[];
|
|
949
|
+
/** 删除权限 */
|
|
950
|
+
remove_scopes?: AppConfigScopeItem[];
|
|
951
|
+
}
|
|
952
|
+
export interface AppConfigScopeItem {
|
|
953
|
+
/** 权限名称 */
|
|
954
|
+
scope_name: string;
|
|
955
|
+
/** 身份类型 */
|
|
956
|
+
token_type: 'user' | 'tenant';
|
|
957
|
+
}
|
|
958
|
+
export interface AppConfigSecurity {
|
|
959
|
+
/** 新增项 */
|
|
960
|
+
add?: AppConfigSecurityItem;
|
|
961
|
+
/** 删除列表 */
|
|
962
|
+
remove?: AppConfigSecurityItem;
|
|
963
|
+
/** 是否允许刷新 user_access_token */
|
|
964
|
+
allow_refresh_token?: boolean;
|
|
965
|
+
}
|
|
966
|
+
export interface AppConfigSecurityItem {
|
|
967
|
+
/** 重定向URL */
|
|
968
|
+
redirect_urls?: string[];
|
|
969
|
+
/** IP白名单 IP需要填写调用方出口公网IP地址 */
|
|
970
|
+
allowed_ips?: string[];
|
|
971
|
+
/** H5可信域名仅可信域名内的 H5 可以访问 JSAPI,部分需要鉴权的 JSAPI 必填。 */
|
|
972
|
+
h5_trusted_domains?: string[];
|
|
973
|
+
/** Web-View 可信域名 */
|
|
974
|
+
web_view_trusted_domains?: string[];
|
|
975
|
+
/** 小程序协议名白名单 */
|
|
976
|
+
allowed_schemas?: string[];
|
|
977
|
+
/** 服务器可信域名 */
|
|
978
|
+
allowed_server_domains?: string[];
|
|
979
|
+
}
|
|
980
|
+
export interface AppConfigVisibility {
|
|
981
|
+
/** 是否全员可见,false:否;true:是;不填:继续当前状态不改变.如果可见范围为全员后添加的可用人员则无效,禁用人员仍然有效 */
|
|
982
|
+
is_visible_to_all: boolean;
|
|
983
|
+
/** 可用人员列表 */
|
|
984
|
+
visible_list?: AppVisibilityIdList;
|
|
985
|
+
}
|
|
895
986
|
export interface AppContactsRangeIdList {
|
|
896
987
|
/** 成员id列表 */
|
|
897
988
|
user_ids?: string[];
|
|
898
989
|
/** 部门id列表 */
|
|
899
990
|
department_ids?: string[];
|
|
900
|
-
/** 用户组列表 */
|
|
901
|
-
group_ids?: string[];
|
|
902
991
|
}
|
|
903
992
|
export interface AppDashboard {
|
|
904
993
|
/** 仪表盘 ID */
|
|
@@ -906,6 +995,16 @@ export interface AppDashboard {
|
|
|
906
995
|
/** 仪表盘名字 */
|
|
907
996
|
name: string;
|
|
908
997
|
}
|
|
998
|
+
export interface AppEnum {
|
|
999
|
+
/** 枚举名称 */
|
|
1000
|
+
name: string;
|
|
1001
|
+
/** 枚举描述 */
|
|
1002
|
+
description: string;
|
|
1003
|
+
/** 枚举值列表 */
|
|
1004
|
+
options: string[];
|
|
1005
|
+
/** 创建时间,毫秒时间戳 */
|
|
1006
|
+
created_at: number;
|
|
1007
|
+
}
|
|
909
1008
|
export interface AppFeedNotify {
|
|
910
1009
|
/** 是否关闭通知 */
|
|
911
1010
|
close_notify?: boolean;
|
|
@@ -1659,6 +1758,26 @@ export interface AppTable {
|
|
|
1659
1758
|
/** 数据表 名字 */
|
|
1660
1759
|
name?: string;
|
|
1661
1760
|
}
|
|
1761
|
+
export interface AppTableColumn {
|
|
1762
|
+
/** 列名 */
|
|
1763
|
+
name: string;
|
|
1764
|
+
/** 列描述 */
|
|
1765
|
+
description: string;
|
|
1766
|
+
/** 数据库数据类型 */
|
|
1767
|
+
data_type: string;
|
|
1768
|
+
/** 是否是主键 */
|
|
1769
|
+
is_primary_key: boolean;
|
|
1770
|
+
/** 是否唯一 */
|
|
1771
|
+
is_unique: boolean;
|
|
1772
|
+
/** 是否是自增 */
|
|
1773
|
+
is_auto_increment: boolean;
|
|
1774
|
+
/** 是否是数组类型 */
|
|
1775
|
+
is_array: boolean;
|
|
1776
|
+
/** 是否允许为空 */
|
|
1777
|
+
is_allow_null: boolean;
|
|
1778
|
+
/** 默认值 */
|
|
1779
|
+
default_value: string;
|
|
1780
|
+
}
|
|
1662
1781
|
export interface AppTableCreateHeader {
|
|
1663
1782
|
/** 字段名 */
|
|
1664
1783
|
field_name: string;
|
|
@@ -1894,8 +2013,6 @@ export interface AppVisibilityIdList {
|
|
|
1894
2013
|
user_ids?: string[];
|
|
1895
2014
|
/** 部门id列表(自定义部门id/open_department_id) */
|
|
1896
2015
|
department_ids?: string[];
|
|
1897
|
-
/** 用户组id */
|
|
1898
|
-
group_ids?: string[];
|
|
1899
2016
|
}
|
|
1900
2017
|
export interface AppVisibleList {
|
|
1901
2018
|
/** 可见性成员 open_id 列表 */
|
|
@@ -2865,6 +2982,14 @@ export interface BasicInfoUpdate {
|
|
|
2865
2982
|
/** 户口所在地 */
|
|
2866
2983
|
hukou_location?: string;
|
|
2867
2984
|
}
|
|
2985
|
+
export interface BasicUser {
|
|
2986
|
+
/** 用户ID */
|
|
2987
|
+
user_id?: string;
|
|
2988
|
+
/** 用户名 */
|
|
2989
|
+
name?: string;
|
|
2990
|
+
/** 用户国际化名 */
|
|
2991
|
+
i18n_name?: I18nName;
|
|
2992
|
+
}
|
|
2868
2993
|
export interface BasicUserInfo {
|
|
2869
2994
|
/** 用户 ID */
|
|
2870
2995
|
id?: string;
|
|
@@ -3037,6 +3162,14 @@ export interface BlockRole {
|
|
|
3037
3162
|
/** Block权限 */
|
|
3038
3163
|
block_perm: 0 | 1;
|
|
3039
3164
|
}
|
|
3165
|
+
export interface BlockWorkflow {
|
|
3166
|
+
/** 工作流唯一键 */
|
|
3167
|
+
workflow_id?: string;
|
|
3168
|
+
/** 工作流标题 */
|
|
3169
|
+
title?: string;
|
|
3170
|
+
/** 工作流状态 */
|
|
3171
|
+
status?: 'Enable' | 'Disable';
|
|
3172
|
+
}
|
|
3040
3173
|
export interface Board {
|
|
3041
3174
|
/** 画板 token */
|
|
3042
3175
|
token?: string;
|
|
@@ -3877,6 +4010,62 @@ export interface Company {
|
|
|
3877
4010
|
/** 办公地址详细信息 */
|
|
3878
4011
|
office_address_info?: Address;
|
|
3879
4012
|
}
|
|
4013
|
+
export interface CompanyTimeline {
|
|
4014
|
+
/** 公司版本信息 */
|
|
4015
|
+
company_version_data?: CompanyVersionData[];
|
|
4016
|
+
/** 性质 */
|
|
4017
|
+
type?: Enum;
|
|
4018
|
+
/** 行业 */
|
|
4019
|
+
industry_list?: Enum[];
|
|
4020
|
+
/** 法定代表人 */
|
|
4021
|
+
legal_representative?: I18n[];
|
|
4022
|
+
/** 邮编 */
|
|
4023
|
+
post_code?: string;
|
|
4024
|
+
/** 纳税人识别号 */
|
|
4025
|
+
tax_payer_id?: string;
|
|
4026
|
+
/** 是否保密 */
|
|
4027
|
+
confidential?: boolean;
|
|
4028
|
+
/** 主体类型 */
|
|
4029
|
+
sub_type_list?: Enum[];
|
|
4030
|
+
/** 是否为分公司 */
|
|
4031
|
+
branch_company?: boolean;
|
|
4032
|
+
/** 主要负责人 */
|
|
4033
|
+
primary_manager?: I18n[];
|
|
4034
|
+
/** 默认币种 */
|
|
4035
|
+
currency?: Currency;
|
|
4036
|
+
/** 电话 */
|
|
4037
|
+
phone?: PhoneNumberAndAreaCode;
|
|
4038
|
+
/** 传真 */
|
|
4039
|
+
fax?: PhoneNumberAndAreaCode;
|
|
4040
|
+
/** 完整注册地址 */
|
|
4041
|
+
registered_office_address?: I18n[];
|
|
4042
|
+
/** 完整办公地址 */
|
|
4043
|
+
office_address?: I18n[];
|
|
4044
|
+
/** 注册地址 */
|
|
4045
|
+
registered_office_address_info?: Address;
|
|
4046
|
+
/** 办公地址 */
|
|
4047
|
+
office_address_info?: Address;
|
|
4048
|
+
}
|
|
4049
|
+
export interface CompanyVersionData {
|
|
4050
|
+
/** 公司 ID */
|
|
4051
|
+
company_id?: string;
|
|
4052
|
+
/** 公司版本 ID */
|
|
4053
|
+
company_version_id?: string;
|
|
4054
|
+
/** 公司名称 */
|
|
4055
|
+
company_names?: I18n[];
|
|
4056
|
+
/** 上级公司 ID */
|
|
4057
|
+
parent_company_id?: string;
|
|
4058
|
+
/** 生效日期 */
|
|
4059
|
+
effective_date?: string;
|
|
4060
|
+
/** 失效日期 */
|
|
4061
|
+
expiration_date?: string;
|
|
4062
|
+
/** 是否启用 */
|
|
4063
|
+
active?: boolean;
|
|
4064
|
+
/** 描述 */
|
|
4065
|
+
descriptions?: I18n[];
|
|
4066
|
+
/** 编码 */
|
|
4067
|
+
code?: string;
|
|
4068
|
+
}
|
|
3880
4069
|
export type CompareOperator = string;
|
|
3881
4070
|
export interface CompensationCost {
|
|
3882
4071
|
/** 成本项值 */
|
|
@@ -4800,6 +4989,20 @@ export interface CustomOrg {
|
|
|
4800
4989
|
/** 自定义字段 */
|
|
4801
4990
|
custom_fields?: CustomFieldData[];
|
|
4802
4991
|
}
|
|
4992
|
+
export interface CustomOrgList {
|
|
4993
|
+
/** 自定义组织名称 */
|
|
4994
|
+
custom_org_name?: I18nV2;
|
|
4995
|
+
/** 自定义组织ID */
|
|
4996
|
+
custom_org_id?: string;
|
|
4997
|
+
/** 比例 */
|
|
4998
|
+
rate?: string;
|
|
4999
|
+
}
|
|
5000
|
+
export interface CustomOrgWithRate {
|
|
5001
|
+
/** 自定义组织id */
|
|
5002
|
+
id: string;
|
|
5003
|
+
/** 比例 */
|
|
5004
|
+
rate?: string;
|
|
5005
|
+
}
|
|
4803
5006
|
export interface CustomWorkplaceAccessData {
|
|
4804
5007
|
/** 定制工作台ID */
|
|
4805
5008
|
custom_workplace_id?: string;
|
|
@@ -5467,16 +5670,24 @@ export interface DisplayAppV2 {
|
|
|
5467
5670
|
time_zone?: string;
|
|
5468
5671
|
}
|
|
5469
5672
|
export interface District {
|
|
5470
|
-
/**
|
|
5471
|
-
|
|
5673
|
+
/** 区域的唯一标识 */
|
|
5674
|
+
id?: string;
|
|
5472
5675
|
/** 名称 */
|
|
5473
|
-
name?:
|
|
5474
|
-
/**
|
|
5475
|
-
|
|
5476
|
-
/**
|
|
5477
|
-
|
|
5478
|
-
/**
|
|
5479
|
-
|
|
5676
|
+
name?: string;
|
|
5677
|
+
/** 层级 */
|
|
5678
|
+
level?: string;
|
|
5679
|
+
/** 是否有子区域 */
|
|
5680
|
+
has_sub_district?: boolean;
|
|
5681
|
+
/** 父区域列表,顺序由叶子节点到根节点,不包含叶子节点本身,仅遍历方式为leaf_level时返回 */
|
|
5682
|
+
parent_districts?: DistrictBaseInfo[];
|
|
5683
|
+
}
|
|
5684
|
+
export interface DistrictBaseInfo {
|
|
5685
|
+
/** 区域的唯一标识 */
|
|
5686
|
+
id?: string;
|
|
5687
|
+
/** 名称 */
|
|
5688
|
+
name?: string;
|
|
5689
|
+
/** 层级 */
|
|
5690
|
+
level?: string;
|
|
5480
5691
|
}
|
|
5481
5692
|
export type Divider = unknown;
|
|
5482
5693
|
export interface DocFilter {
|
|
@@ -5770,6 +5981,22 @@ export interface Emoji {
|
|
|
5770
5981
|
/** emoji类型 */
|
|
5771
5982
|
emoji_type: string;
|
|
5772
5983
|
}
|
|
5984
|
+
export interface EmpCustomOrgList {
|
|
5985
|
+
/** 自定义组织列表 */
|
|
5986
|
+
custom_org_list?: CustomOrgList[];
|
|
5987
|
+
/** 生效时间 */
|
|
5988
|
+
effective_time?: string;
|
|
5989
|
+
/** 变动原因 */
|
|
5990
|
+
start_reason?: string;
|
|
5991
|
+
/** ID */
|
|
5992
|
+
job_data_custom_org_id?: string;
|
|
5993
|
+
/** 版本号 */
|
|
5994
|
+
version_id?: string;
|
|
5995
|
+
/** 自定义组织类型 */
|
|
5996
|
+
object_api_name?: string;
|
|
5997
|
+
/** 用户id */
|
|
5998
|
+
user_id?: string;
|
|
5999
|
+
}
|
|
5773
6000
|
export interface Employee {
|
|
5774
6001
|
/** user_id转换 */
|
|
5775
6002
|
user_id?: string;
|
|
@@ -6681,6 +6908,12 @@ export interface Event {
|
|
|
6681
6908
|
/** event subtype */
|
|
6682
6909
|
subtype: string;
|
|
6683
6910
|
}
|
|
6911
|
+
export interface EventAndCallbackEncryptStrategy {
|
|
6912
|
+
/** 加密key, 配置 Encrypt Key 后,开放平台将向请求地址推送加密后的事件 */
|
|
6913
|
+
encryption_key?: string;
|
|
6914
|
+
/** 开放平台向应用推送的事件中都带有此 Token,应用可以据此 Token 验证推送的事件是否属于该应用。 */
|
|
6915
|
+
verification_token?: string;
|
|
6916
|
+
}
|
|
6684
6917
|
export interface EventLocation {
|
|
6685
6918
|
/** 地点名称 */
|
|
6686
6919
|
name?: string;
|
|
@@ -7053,6 +7286,12 @@ export interface FailedReason {
|
|
|
7053
7286
|
/** 用户id */
|
|
7054
7287
|
user_id?: string;
|
|
7055
7288
|
}
|
|
7289
|
+
export interface FailMsgReactionDetails {
|
|
7290
|
+
/** 消息id */
|
|
7291
|
+
message_id?: string;
|
|
7292
|
+
/** 获取表情失败的原因 */
|
|
7293
|
+
fail_reason?: 'invalid' | 'invalid_page_token' | 'no_permission';
|
|
7294
|
+
}
|
|
7056
7295
|
export interface Faq {
|
|
7057
7296
|
/** faq id */
|
|
7058
7297
|
faq_id?: string;
|
|
@@ -7118,10 +7357,24 @@ export interface Field {
|
|
|
7118
7357
|
child_fields?: ChildField[];
|
|
7119
7358
|
}
|
|
7120
7359
|
export interface FieldGroup {
|
|
7121
|
-
/**
|
|
7122
|
-
|
|
7123
|
-
/**
|
|
7124
|
-
|
|
7360
|
+
/** 字段编组的ID */
|
|
7361
|
+
id?: string;
|
|
7362
|
+
/** 字段编组的名称 */
|
|
7363
|
+
name: string;
|
|
7364
|
+
/** 字段编组的成员 */
|
|
7365
|
+
children: FieldGroupChild[];
|
|
7366
|
+
/** 字段编组的描述 */
|
|
7367
|
+
description?: string;
|
|
7368
|
+
}
|
|
7369
|
+
export interface FieldGroupChild {
|
|
7370
|
+
/** 编组成员类型 */
|
|
7371
|
+
type: FieldGroupChildType;
|
|
7372
|
+
/** 编组成员ID */
|
|
7373
|
+
id: string;
|
|
7374
|
+
}
|
|
7375
|
+
export declare const enum FieldGroupChildType {
|
|
7376
|
+
/** 字段 */
|
|
7377
|
+
Field = "field"
|
|
7125
7378
|
}
|
|
7126
7379
|
export type FieldName = string;
|
|
7127
7380
|
export interface FieldVariableSubVlaue {
|
|
@@ -7290,6 +7543,14 @@ export interface FileCommentReply {
|
|
|
7290
7543
|
/** 回复的其他内容,图片 Token 等 */
|
|
7291
7544
|
extra?: ReplyExtra;
|
|
7292
7545
|
}
|
|
7546
|
+
export interface FileCommentV2BatchQueryReactionData {
|
|
7547
|
+
/** 表情回复的唯一标识,用于区分不同类型的评论表情(如点赞、鼓掌等)。 */
|
|
7548
|
+
reaction_key: string;
|
|
7549
|
+
/** 该表情回复的累计使用次数,统计范围为当前评论下所有用户的有效回复记录。 */
|
|
7550
|
+
count: number;
|
|
7551
|
+
/** 用于在界面优先展示核心互动用户。用户ID可通过用户信息查询接口获取。 */
|
|
7552
|
+
ahead_users?: string[];
|
|
7553
|
+
}
|
|
7293
7554
|
export interface FileConfig {
|
|
7294
7555
|
/** 仅包含字母数字和下划线的 16 位字符串作为文件的标识,用户生成 */
|
|
7295
7556
|
file_id: string;
|
|
@@ -7482,6 +7743,12 @@ export interface FoodProduceLicense {
|
|
|
7482
7743
|
/** 识别出的实体列表 */
|
|
7483
7744
|
entities?: FoodProduceEntity[];
|
|
7484
7745
|
}
|
|
7746
|
+
export declare const enum FormDisplayMode {
|
|
7747
|
+
/** 传统布局 */
|
|
7748
|
+
Traditional = "traditional",
|
|
7749
|
+
/** 一页一题布局 */
|
|
7750
|
+
OneQuestionPerPage = "one_question_per_page"
|
|
7751
|
+
}
|
|
7485
7752
|
export interface Formula {
|
|
7486
7753
|
/** 公式表达式 */
|
|
7487
7754
|
expr?: string;
|
|
@@ -7733,6 +8000,12 @@ export interface I18nText {
|
|
|
7733
8000
|
/** 国际化值,key为zh_cn, ja_jp, en_us, value为对应的值 */
|
|
7734
8001
|
i18n_value?: Record<string, string>;
|
|
7735
8002
|
}
|
|
8003
|
+
export interface I18nV2 {
|
|
8004
|
+
/** zh-CN */
|
|
8005
|
+
zh_cn?: string;
|
|
8006
|
+
/** en-US */
|
|
8007
|
+
en_us?: string;
|
|
8008
|
+
}
|
|
7736
8009
|
export interface IdCard {
|
|
7737
8010
|
/** 识别的实体列表 */
|
|
7738
8011
|
entities?: IdEntity[];
|
|
@@ -7743,6 +8016,16 @@ export interface IdCard {
|
|
|
7743
8016
|
/** 人像四角坐标[x0,y0,x1,y1,x2,y2,x3,y3] */
|
|
7744
8017
|
face_conners?: number[];
|
|
7745
8018
|
}
|
|
8019
|
+
export declare const enum IdConvertType {
|
|
8020
|
+
/** 妙搭用户 ID 转飞书开放平台 Open ID */
|
|
8021
|
+
ForceUserID2FeishuOpenID = 10,
|
|
8022
|
+
/** 妙搭用户 ID 转飞书开放平台 Union ID */
|
|
8023
|
+
ForceUserID2FeishuUnionID = 11,
|
|
8024
|
+
/** 飞书开放平台 Open ID 转妙搭用户 ID */
|
|
8025
|
+
FeishuOpenID2ForceUserID = 20,
|
|
8026
|
+
/** 飞书开放平台 Union ID 转妙搭用户 ID */
|
|
8027
|
+
FeishuUnionID2ForceUserID = 21
|
|
8028
|
+
}
|
|
7746
8029
|
export interface IdEntity {
|
|
7747
8030
|
/** 识别的字段种类 */
|
|
7748
8031
|
type?: 'identity_code' | 'identity_name' | 'address' | 'valid_date_start' | 'valid_date_end' | 'gender' | 'race' | 'issued_by' | 'birth';
|
|
@@ -7761,6 +8044,12 @@ export interface IdInfo {
|
|
|
7761
8044
|
/** 目标 ID 值 */
|
|
7762
8045
|
target_id?: string;
|
|
7763
8046
|
}
|
|
8047
|
+
export interface IdMapItem {
|
|
8048
|
+
/** 源 ID */
|
|
8049
|
+
source_id: string;
|
|
8050
|
+
/** 目标 ID */
|
|
8051
|
+
target_id: string;
|
|
8052
|
+
}
|
|
7764
8053
|
export interface IdNameObject {
|
|
7765
8054
|
/** 权限点ID */
|
|
7766
8055
|
id?: string;
|
|
@@ -9646,6 +9935,42 @@ export interface LocationState {
|
|
|
9646
9935
|
/** 省份/州地址名称信息聚合 */
|
|
9647
9936
|
state_name_info?: LocationNameInfo;
|
|
9648
9937
|
}
|
|
9938
|
+
export interface LocationTimeline {
|
|
9939
|
+
/** 地点版本信息 */
|
|
9940
|
+
location_version_data?: LocationVersionData[];
|
|
9941
|
+
/** 地址信息 */
|
|
9942
|
+
address?: Address[];
|
|
9943
|
+
}
|
|
9944
|
+
export interface LocationVersionData {
|
|
9945
|
+
/** 地点ID */
|
|
9946
|
+
location_id?: string;
|
|
9947
|
+
/** 地点版本ID */
|
|
9948
|
+
location_version_id?: string;
|
|
9949
|
+
/** 地点名称 */
|
|
9950
|
+
location_names?: I18n[];
|
|
9951
|
+
/** 上级地点ID */
|
|
9952
|
+
parent_location_id?: string;
|
|
9953
|
+
/** 生效日期 */
|
|
9954
|
+
effective_date?: string;
|
|
9955
|
+
/** 失效时间 */
|
|
9956
|
+
expiration_date?: string;
|
|
9957
|
+
/** 是否启用 */
|
|
9958
|
+
active?: boolean;
|
|
9959
|
+
/** 描述 */
|
|
9960
|
+
descriptions?: I18n[];
|
|
9961
|
+
/** 编码 */
|
|
9962
|
+
code?: string;
|
|
9963
|
+
/** 地点用途 */
|
|
9964
|
+
location_usages?: Enum[];
|
|
9965
|
+
/** 区域设置 */
|
|
9966
|
+
locale?: Enum;
|
|
9967
|
+
/** 时区 */
|
|
9968
|
+
time_zone_id?: string;
|
|
9969
|
+
/** 默认语言 */
|
|
9970
|
+
display_language_id?: string;
|
|
9971
|
+
/** 工时制度 */
|
|
9972
|
+
working_hours_type_id?: string;
|
|
9973
|
+
}
|
|
9649
9974
|
export type Logic = string;
|
|
9650
9975
|
export interface LookupWithAvatar {
|
|
9651
9976
|
/** 用户ID */
|
|
@@ -10001,6 +10326,16 @@ export interface MeetingAbility {
|
|
|
10001
10326
|
/** 是否使用PSTN */
|
|
10002
10327
|
use_pstn?: boolean;
|
|
10003
10328
|
}
|
|
10329
|
+
export interface MeetingFilter {
|
|
10330
|
+
/** 组织者OpenID */
|
|
10331
|
+
organizer_ids?: string[];
|
|
10332
|
+
/** 参与者OpenID */
|
|
10333
|
+
participant_ids?: string[];
|
|
10334
|
+
/** 会议室ID */
|
|
10335
|
+
open_room_ids?: string[];
|
|
10336
|
+
/** 会议开始时间区间(iso8601格式) */
|
|
10337
|
+
start_time?: TimeRange;
|
|
10338
|
+
}
|
|
10004
10339
|
export interface MeetingInfo {
|
|
10005
10340
|
/** 9位会议号 */
|
|
10006
10341
|
meeting_id?: string;
|
|
@@ -10053,6 +10388,14 @@ export interface MeetingInviteStatus {
|
|
|
10053
10388
|
/** 邀请结果 */
|
|
10054
10389
|
status?: 1 | 2;
|
|
10055
10390
|
}
|
|
10391
|
+
export interface MeetingMeta {
|
|
10392
|
+
/** 跳转链接 */
|
|
10393
|
+
app_link?: string;
|
|
10394
|
+
/** 图标url */
|
|
10395
|
+
avatar?: string;
|
|
10396
|
+
/** 描述,包含会议时间、组织者和会议ID */
|
|
10397
|
+
description?: string;
|
|
10398
|
+
}
|
|
10056
10399
|
export interface MeetingParticipant {
|
|
10057
10400
|
/** 用户ID */
|
|
10058
10401
|
id?: string;
|
|
@@ -10087,6 +10430,14 @@ export interface MeetingRecording {
|
|
|
10087
10430
|
/** 录制总时长(单位msec) */
|
|
10088
10431
|
duration?: string;
|
|
10089
10432
|
}
|
|
10433
|
+
export interface MeetingSearchItem {
|
|
10434
|
+
/** 会议ID(视频会议的唯一标识,视频会议开始后才会产生) */
|
|
10435
|
+
id?: string;
|
|
10436
|
+
/** 包含基本信息的卡片,用户搜索关键词命中的文本片段,使用<h></h>标签包裹标注 */
|
|
10437
|
+
display_info?: string;
|
|
10438
|
+
/** 会议元信息 */
|
|
10439
|
+
meta_data?: MeetingMeta;
|
|
10440
|
+
}
|
|
10090
10441
|
export interface MeetingSettings {
|
|
10091
10442
|
/** 设置会议 owner */
|
|
10092
10443
|
owner_id?: string;
|
|
@@ -10239,6 +10590,12 @@ export interface MessageBody {
|
|
|
10239
10590
|
/** 消息jsonContent */
|
|
10240
10591
|
content: string;
|
|
10241
10592
|
}
|
|
10593
|
+
export interface MessageQuery {
|
|
10594
|
+
/** 消息ID */
|
|
10595
|
+
message_id?: string;
|
|
10596
|
+
/** 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果。 */
|
|
10597
|
+
page_token?: string;
|
|
10598
|
+
}
|
|
10242
10599
|
export interface MessageReaction {
|
|
10243
10600
|
/** reaction资源ID */
|
|
10244
10601
|
reaction_id?: string;
|
|
@@ -10501,10 +10858,26 @@ export interface Minute {
|
|
|
10501
10858
|
/** 妙记链接 */
|
|
10502
10859
|
url?: string;
|
|
10503
10860
|
}
|
|
10861
|
+
export interface MinuteChapter {
|
|
10862
|
+
/** 章节标题,用于区分纪要内不同的讨论模块,需简洁明确概括章节核心内容 */
|
|
10863
|
+
title?: string;
|
|
10864
|
+
/** 章节对应的讨论内容开始时间戳,单位为毫秒,用于定位会议录像或录音的对应片段。需与stop_ms配合使用,且数值需小于stop_ms。 */
|
|
10865
|
+
start_ms?: string;
|
|
10866
|
+
/** 章节对应的讨论内容结束时间戳,单位为毫秒,用于定位会议录像或录音的对应片段。需与start_ms配合使用,且数值需大于start_ms。 */
|
|
10867
|
+
stop_ms?: string;
|
|
10868
|
+
/** 章节的核心讨论内容摘要,需准确提炼该章节的决策结果、行动项、待跟进事项等关键信息。支持富文本格式,最大长度限制为10000字符。 */
|
|
10869
|
+
summary_content?: string;
|
|
10870
|
+
}
|
|
10504
10871
|
export interface Minutes {
|
|
10505
10872
|
/** 速记语音文本列表 */
|
|
10506
10873
|
sentences?: Sentence[];
|
|
10507
10874
|
}
|
|
10875
|
+
export interface MinuteTodo {
|
|
10876
|
+
/** 待办内容 */
|
|
10877
|
+
content?: string;
|
|
10878
|
+
/** 负责人 */
|
|
10879
|
+
assignees?: string[];
|
|
10880
|
+
}
|
|
10508
10881
|
export interface Mobile {
|
|
10509
10882
|
/** 国家代码 */
|
|
10510
10883
|
code?: string;
|
|
@@ -10704,22 +11077,28 @@ export interface NodeCc {
|
|
|
10704
11077
|
value?: string[];
|
|
10705
11078
|
}
|
|
10706
11079
|
export interface Note {
|
|
10707
|
-
/** ID
|
|
10708
|
-
|
|
10709
|
-
/**
|
|
10710
|
-
|
|
10711
|
-
/**
|
|
10712
|
-
|
|
10713
|
-
/**
|
|
10714
|
-
|
|
11080
|
+
/** 纪要创建者 User ID */
|
|
11081
|
+
creator_id: string;
|
|
11082
|
+
/** 纪要创建时间 */
|
|
11083
|
+
create_time: string;
|
|
11084
|
+
/** 纪要产物 */
|
|
11085
|
+
artifacts: NoteArtifactInfo[];
|
|
11086
|
+
/** 关联引用 */
|
|
11087
|
+
references: NoteReferenceInfo[];
|
|
11088
|
+
}
|
|
11089
|
+
export interface NoteArtifactInfo {
|
|
11090
|
+
/** 纪要产物类型 */
|
|
11091
|
+
artifact_type: 0 | 1 | 2;
|
|
10715
11092
|
/** 创建时间 */
|
|
10716
|
-
create_time
|
|
10717
|
-
/**
|
|
10718
|
-
|
|
10719
|
-
|
|
10720
|
-
|
|
10721
|
-
/**
|
|
10722
|
-
|
|
11093
|
+
create_time: string;
|
|
11094
|
+
/** 产物doc token */
|
|
11095
|
+
doc_token: string;
|
|
11096
|
+
}
|
|
11097
|
+
export interface NoteReferenceInfo {
|
|
11098
|
+
/** 纪要关联引用类型 */
|
|
11099
|
+
reference_type: 0 | 1;
|
|
11100
|
+
/** 纪要关联引用的doc token */
|
|
11101
|
+
doc_token: string;
|
|
10723
11102
|
}
|
|
10724
11103
|
export interface Notification {
|
|
10725
11104
|
/** 唯一ID */
|
|
@@ -13896,6 +14275,22 @@ export interface Rating {
|
|
|
13896
14275
|
/** 评分字段的符号展示 */
|
|
13897
14276
|
symbol?: string;
|
|
13898
14277
|
}
|
|
14278
|
+
export interface Reaction {
|
|
14279
|
+
/** 表情ID */
|
|
14280
|
+
reaction_id?: string;
|
|
14281
|
+
/** 操作者信息 */
|
|
14282
|
+
operator?: Operator;
|
|
14283
|
+
/** 表情添加时间 */
|
|
14284
|
+
action_time?: string;
|
|
14285
|
+
/** 表情类型 */
|
|
14286
|
+
emoji_type?: string;
|
|
14287
|
+
}
|
|
14288
|
+
export interface ReactionCount {
|
|
14289
|
+
/** 表情类型 */
|
|
14290
|
+
reaction_type?: string;
|
|
14291
|
+
/** 表情数量 */
|
|
14292
|
+
count?: string;
|
|
14293
|
+
}
|
|
13899
14294
|
export interface ReactionList {
|
|
13900
14295
|
/** 表情类型 */
|
|
13901
14296
|
type?: string;
|
|
@@ -16250,6 +16645,22 @@ export interface SubscribeUser {
|
|
|
16250
16645
|
/** 预订人id */
|
|
16251
16646
|
user_id: string;
|
|
16252
16647
|
}
|
|
16648
|
+
export interface SuccessMsgReactionCount {
|
|
16649
|
+
/** 消息ID */
|
|
16650
|
+
message_id?: string;
|
|
16651
|
+
/** 消息上不同表情的数量 */
|
|
16652
|
+
reaction_count?: ReactionCount[];
|
|
16653
|
+
}
|
|
16654
|
+
export interface SuccessMsgReactionDetails {
|
|
16655
|
+
/** 消息id */
|
|
16656
|
+
message_id?: string;
|
|
16657
|
+
/** 是否还有更多项 */
|
|
16658
|
+
has_more?: boolean;
|
|
16659
|
+
/** 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token */
|
|
16660
|
+
page_token?: string;
|
|
16661
|
+
/** 表情实体 */
|
|
16662
|
+
message_reaction_items?: Reaction[];
|
|
16663
|
+
}
|
|
16253
16664
|
export interface SupportCostCenterItem {
|
|
16254
16665
|
/** 支持的成本中心id */
|
|
16255
16666
|
cost_center_id?: string;
|
|
@@ -17557,10 +17968,10 @@ export interface TimeInfo {
|
|
|
17557
17968
|
timezone?: string;
|
|
17558
17969
|
}
|
|
17559
17970
|
export interface TimeRange {
|
|
17560
|
-
/**
|
|
17561
|
-
|
|
17562
|
-
/**
|
|
17563
|
-
|
|
17971
|
+
/** 起始时间(iso8601,精确到秒) */
|
|
17972
|
+
start_time?: string;
|
|
17973
|
+
/** 截止时间(iso8601,精确到秒) */
|
|
17974
|
+
end_time?: string;
|
|
17564
17975
|
}
|
|
17565
17976
|
export interface TimeZone {
|
|
17566
17977
|
/** 时区 ID */
|
|
@@ -17915,6 +18326,10 @@ export interface UpdateTextStyleRequest {
|
|
|
17915
18326
|
/** 应更新的字段,必须至少指定一个字段。例如,要调整 Block 对齐方式,请设置 fields 为 [1]。 */
|
|
17916
18327
|
fields: (1 | 2 | 3 | 4 | 5 | 6 | 7)[];
|
|
17917
18328
|
}
|
|
18329
|
+
export interface UpgradedForm {
|
|
18330
|
+
/** 升级后的表单ID */
|
|
18331
|
+
id?: string;
|
|
18332
|
+
}
|
|
17918
18333
|
export interface UpsertName {
|
|
17919
18334
|
/** i18n文本 */
|
|
17920
18335
|
name: I18nText;
|
|
@@ -18231,6 +18646,18 @@ export interface UserLeave {
|
|
|
18231
18646
|
/** 唯一幂等键 */
|
|
18232
18647
|
idempotent_id?: string;
|
|
18233
18648
|
}
|
|
18649
|
+
export interface UserMigration {
|
|
18650
|
+
/** 用户 id */
|
|
18651
|
+
user_id?: string;
|
|
18652
|
+
/** 目标地理位置区域 */
|
|
18653
|
+
dest_geo?: string;
|
|
18654
|
+
/** 最新迁移任务 id */
|
|
18655
|
+
task_id?: string;
|
|
18656
|
+
/** 用户迁移状态 */
|
|
18657
|
+
status?: '0' | '1' | '2';
|
|
18658
|
+
/** 用户迁移进度 */
|
|
18659
|
+
progress?: number;
|
|
18660
|
+
}
|
|
18234
18661
|
export interface UserOpenAppFeedCardDeleter {
|
|
18235
18662
|
/** 业务 ID */
|
|
18236
18663
|
biz_id: string;
|