@satorijs/adapter-lark 3.12.3 → 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 +183 -3
- package/lib/types/apaas.d.ts +45 -0
- package/lib/types/application.d.ts +117 -0
- package/lib/types/approval.d.ts +58 -0
- package/lib/types/bitable.d.ts +51 -0
- package/lib/types/contact.d.ts +17 -0
- package/lib/types/corehr.d.ts +249 -0
- package/lib/types/drive.d.ts +89 -0
- package/lib/types/im.d.ts +26 -1
- package/lib/types/index.d.ts +591 -32
- package/lib/types/minutes.d.ts +13 -0
- package/lib/types/performance.d.ts +27 -0
- package/lib/types/search.d.ts +32 -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/bot.ts +0 -1
- package/src/types/apaas.ts +60 -0
- package/src/types/application.ts +146 -0
- package/src/types/approval.ts +72 -0
- package/src/types/bitable.ts +67 -0
- package/src/types/contact.ts +23 -0
- package/src/types/corehr.ts +307 -0
- package/src/types/drive.ts +113 -0
- package/src/types/im.ts +32 -1
- package/src/types/index.ts +647 -32
- package/src/types/minutes.ts +17 -0
- package/src/types/performance.ts +34 -0
- package/src/types/search.ts +38 -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/src/types/index.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'
|
|
@@ -949,6 +950,33 @@ export interface AppAbility {
|
|
|
949
950
|
plus_menu?: PlusMenu
|
|
950
951
|
}
|
|
951
952
|
|
|
953
|
+
export interface AppAbilityBot {
|
|
954
|
+
/** 是否开启 */
|
|
955
|
+
enable: boolean
|
|
956
|
+
/** 消息卡片的回调地址 */
|
|
957
|
+
message_card_callback_url?: string
|
|
958
|
+
/** 国际化内容 */
|
|
959
|
+
i18ns?: AppAbilityBotI18n[]
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
export interface AppAbilityBotI18n {
|
|
963
|
+
/** 语种类型 */
|
|
964
|
+
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'
|
|
965
|
+
/** 如何开始使用描述文案 */
|
|
966
|
+
get_started_desc: string
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
export interface AppAbilityWeb {
|
|
970
|
+
/** 是否开启网页应用能力 */
|
|
971
|
+
enable: boolean
|
|
972
|
+
/** PC端链接 */
|
|
973
|
+
pc_url?: string
|
|
974
|
+
/** PC端新页面打开方式 */
|
|
975
|
+
pc_new_page_open_mode?: 'new_tab' | 'browser'
|
|
976
|
+
/** 移动端链接 */
|
|
977
|
+
mobile_url?: string
|
|
978
|
+
}
|
|
979
|
+
|
|
952
980
|
export interface AppCollaborator {
|
|
953
981
|
/** 人员类型 */
|
|
954
982
|
type: 'administrator' | 'developer' | 'operator'
|
|
@@ -956,13 +984,85 @@ export interface AppCollaborator {
|
|
|
956
984
|
user_id: string
|
|
957
985
|
}
|
|
958
986
|
|
|
987
|
+
export interface AppConfigCallback {
|
|
988
|
+
/** 回调类型 */
|
|
989
|
+
callback_type: 'webhook' | 'websocket'
|
|
990
|
+
/** 如果回调是 webhook,webhook 的请求地址 */
|
|
991
|
+
request_url?: string
|
|
992
|
+
/** 添加哪些回调 */
|
|
993
|
+
add_callbacks?: string[]
|
|
994
|
+
/** 移除哪些回调 */
|
|
995
|
+
remove_callbacks?: string[]
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
export interface AppConfigContactsRange {
|
|
999
|
+
/** 更新范围方式 */
|
|
1000
|
+
contacts_range_type: 'equal_to_availability' | 'some' | 'all'
|
|
1001
|
+
/** 通讯录可用人员列表 */
|
|
1002
|
+
visible_list?: AppContactsRangeIdList
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
export interface AppConfigEvent {
|
|
1006
|
+
/** 订阅方式 */
|
|
1007
|
+
subscription_type: 'webhook' | 'websocket'
|
|
1008
|
+
/** 接收事件的服务器地址 */
|
|
1009
|
+
request_url?: string
|
|
1010
|
+
/** 添加事件列表 */
|
|
1011
|
+
add_events?: string[]
|
|
1012
|
+
/** 删除事件列表 */
|
|
1013
|
+
remove_events?: string[]
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
export interface AppConfigScope {
|
|
1017
|
+
/** 新增权限 */
|
|
1018
|
+
add_scopes?: AppConfigScopeItem[]
|
|
1019
|
+
/** 删除权限 */
|
|
1020
|
+
remove_scopes?: AppConfigScopeItem[]
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
export interface AppConfigScopeItem {
|
|
1024
|
+
/** 权限名称 */
|
|
1025
|
+
scope_name: string
|
|
1026
|
+
/** 身份类型 */
|
|
1027
|
+
token_type: 'user' | 'tenant'
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
export interface AppConfigSecurity {
|
|
1031
|
+
/** 新增项 */
|
|
1032
|
+
add?: AppConfigSecurityItem
|
|
1033
|
+
/** 删除列表 */
|
|
1034
|
+
remove?: AppConfigSecurityItem
|
|
1035
|
+
/** 是否允许刷新 user_access_token */
|
|
1036
|
+
allow_refresh_token?: boolean
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
export interface AppConfigSecurityItem {
|
|
1040
|
+
/** 重定向URL */
|
|
1041
|
+
redirect_urls?: string[]
|
|
1042
|
+
/** IP白名单 IP需要填写调用方出口公网IP地址 */
|
|
1043
|
+
allowed_ips?: string[]
|
|
1044
|
+
/** H5可信域名仅可信域名内的 H5 可以访问 JSAPI,部分需要鉴权的 JSAPI 必填。 */
|
|
1045
|
+
h5_trusted_domains?: string[]
|
|
1046
|
+
/** Web-View 可信域名 */
|
|
1047
|
+
web_view_trusted_domains?: string[]
|
|
1048
|
+
/** 小程序协议名白名单 */
|
|
1049
|
+
allowed_schemas?: string[]
|
|
1050
|
+
/** 服务器可信域名 */
|
|
1051
|
+
allowed_server_domains?: string[]
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
export interface AppConfigVisibility {
|
|
1055
|
+
/** 是否全员可见,false:否;true:是;不填:继续当前状态不改变.如果可见范围为全员后添加的可用人员则无效,禁用人员仍然有效 */
|
|
1056
|
+
is_visible_to_all: boolean
|
|
1057
|
+
/** 可用人员列表 */
|
|
1058
|
+
visible_list?: AppVisibilityIdList
|
|
1059
|
+
}
|
|
1060
|
+
|
|
959
1061
|
export interface AppContactsRangeIdList {
|
|
960
1062
|
/** 成员id列表 */
|
|
961
1063
|
user_ids?: string[]
|
|
962
1064
|
/** 部门id列表 */
|
|
963
1065
|
department_ids?: string[]
|
|
964
|
-
/** 用户组列表 */
|
|
965
|
-
group_ids?: string[]
|
|
966
1066
|
}
|
|
967
1067
|
|
|
968
1068
|
export interface AppDashboard {
|
|
@@ -972,6 +1072,17 @@ export interface AppDashboard {
|
|
|
972
1072
|
name: string
|
|
973
1073
|
}
|
|
974
1074
|
|
|
1075
|
+
export interface AppEnum {
|
|
1076
|
+
/** 枚举名称 */
|
|
1077
|
+
name: string
|
|
1078
|
+
/** 枚举描述 */
|
|
1079
|
+
description: string
|
|
1080
|
+
/** 枚举值列表 */
|
|
1081
|
+
options: string[]
|
|
1082
|
+
/** 创建时间,毫秒时间戳 */
|
|
1083
|
+
created_at: number
|
|
1084
|
+
}
|
|
1085
|
+
|
|
975
1086
|
export interface AppFeedNotify {
|
|
976
1087
|
/** 是否关闭通知 */
|
|
977
1088
|
close_notify?: boolean
|
|
@@ -1781,6 +1892,27 @@ export interface AppTable {
|
|
|
1781
1892
|
name?: string
|
|
1782
1893
|
}
|
|
1783
1894
|
|
|
1895
|
+
export interface AppTableColumn {
|
|
1896
|
+
/** 列名 */
|
|
1897
|
+
name: string
|
|
1898
|
+
/** 列描述 */
|
|
1899
|
+
description: string
|
|
1900
|
+
/** 数据库数据类型 */
|
|
1901
|
+
data_type: string
|
|
1902
|
+
/** 是否是主键 */
|
|
1903
|
+
is_primary_key: boolean
|
|
1904
|
+
/** 是否唯一 */
|
|
1905
|
+
is_unique: boolean
|
|
1906
|
+
/** 是否是自增 */
|
|
1907
|
+
is_auto_increment: boolean
|
|
1908
|
+
/** 是否是数组类型 */
|
|
1909
|
+
is_array: boolean
|
|
1910
|
+
/** 是否允许为空 */
|
|
1911
|
+
is_allow_null: boolean
|
|
1912
|
+
/** 默认值 */
|
|
1913
|
+
default_value: string
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1784
1916
|
export interface AppTableCreateHeader {
|
|
1785
1917
|
/** 字段名 */
|
|
1786
1918
|
field_name: string
|
|
@@ -2035,8 +2167,6 @@ export interface AppVisibilityIdList {
|
|
|
2035
2167
|
user_ids?: string[]
|
|
2036
2168
|
/** 部门id列表(自定义部门id/open_department_id) */
|
|
2037
2169
|
department_ids?: string[]
|
|
2038
|
-
/** 用户组id */
|
|
2039
|
-
group_ids?: string[]
|
|
2040
2170
|
}
|
|
2041
2171
|
|
|
2042
2172
|
export interface AppVisibleList {
|
|
@@ -3072,6 +3202,15 @@ export interface BasicInfoUpdate {
|
|
|
3072
3202
|
hukou_location?: string
|
|
3073
3203
|
}
|
|
3074
3204
|
|
|
3205
|
+
export interface BasicUser {
|
|
3206
|
+
/** 用户ID */
|
|
3207
|
+
user_id?: string
|
|
3208
|
+
/** 用户名 */
|
|
3209
|
+
name?: string
|
|
3210
|
+
/** 用户国际化名 */
|
|
3211
|
+
i18n_name?: I18nName
|
|
3212
|
+
}
|
|
3213
|
+
|
|
3075
3214
|
export interface BasicUserInfo {
|
|
3076
3215
|
/** 用户 ID */
|
|
3077
3216
|
id?: string
|
|
@@ -3255,6 +3394,15 @@ export interface BlockRole {
|
|
|
3255
3394
|
block_perm: 0 | 1
|
|
3256
3395
|
}
|
|
3257
3396
|
|
|
3397
|
+
export interface BlockWorkflow {
|
|
3398
|
+
/** 工作流唯一键 */
|
|
3399
|
+
workflow_id?: string
|
|
3400
|
+
/** 工作流标题 */
|
|
3401
|
+
title?: string
|
|
3402
|
+
/** 工作流状态 */
|
|
3403
|
+
status?: 'Enable' | 'Disable'
|
|
3404
|
+
}
|
|
3405
|
+
|
|
3258
3406
|
export interface Board {
|
|
3259
3407
|
/** 画板 token */
|
|
3260
3408
|
token?: string
|
|
@@ -4171,6 +4319,64 @@ export interface Company {
|
|
|
4171
4319
|
office_address_info?: Address
|
|
4172
4320
|
}
|
|
4173
4321
|
|
|
4322
|
+
export interface CompanyTimeline {
|
|
4323
|
+
/** 公司版本信息 */
|
|
4324
|
+
company_version_data?: CompanyVersionData[]
|
|
4325
|
+
/** 性质 */
|
|
4326
|
+
type?: Enum
|
|
4327
|
+
/** 行业 */
|
|
4328
|
+
industry_list?: Enum[]
|
|
4329
|
+
/** 法定代表人 */
|
|
4330
|
+
legal_representative?: I18n[]
|
|
4331
|
+
/** 邮编 */
|
|
4332
|
+
post_code?: string
|
|
4333
|
+
/** 纳税人识别号 */
|
|
4334
|
+
tax_payer_id?: string
|
|
4335
|
+
/** 是否保密 */
|
|
4336
|
+
confidential?: boolean
|
|
4337
|
+
/** 主体类型 */
|
|
4338
|
+
sub_type_list?: Enum[]
|
|
4339
|
+
/** 是否为分公司 */
|
|
4340
|
+
branch_company?: boolean
|
|
4341
|
+
/** 主要负责人 */
|
|
4342
|
+
primary_manager?: I18n[]
|
|
4343
|
+
/** 默认币种 */
|
|
4344
|
+
currency?: Currency
|
|
4345
|
+
/** 电话 */
|
|
4346
|
+
phone?: PhoneNumberAndAreaCode
|
|
4347
|
+
/** 传真 */
|
|
4348
|
+
fax?: PhoneNumberAndAreaCode
|
|
4349
|
+
/** 完整注册地址 */
|
|
4350
|
+
registered_office_address?: I18n[]
|
|
4351
|
+
/** 完整办公地址 */
|
|
4352
|
+
office_address?: I18n[]
|
|
4353
|
+
/** 注册地址 */
|
|
4354
|
+
registered_office_address_info?: Address
|
|
4355
|
+
/** 办公地址 */
|
|
4356
|
+
office_address_info?: Address
|
|
4357
|
+
}
|
|
4358
|
+
|
|
4359
|
+
export interface CompanyVersionData {
|
|
4360
|
+
/** 公司 ID */
|
|
4361
|
+
company_id?: string
|
|
4362
|
+
/** 公司版本 ID */
|
|
4363
|
+
company_version_id?: string
|
|
4364
|
+
/** 公司名称 */
|
|
4365
|
+
company_names?: I18n[]
|
|
4366
|
+
/** 上级公司 ID */
|
|
4367
|
+
parent_company_id?: string
|
|
4368
|
+
/** 生效日期 */
|
|
4369
|
+
effective_date?: string
|
|
4370
|
+
/** 失效日期 */
|
|
4371
|
+
expiration_date?: string
|
|
4372
|
+
/** 是否启用 */
|
|
4373
|
+
active?: boolean
|
|
4374
|
+
/** 描述 */
|
|
4375
|
+
descriptions?: I18n[]
|
|
4376
|
+
/** 编码 */
|
|
4377
|
+
code?: string
|
|
4378
|
+
}
|
|
4379
|
+
|
|
4174
4380
|
export type CompareOperator = string
|
|
4175
4381
|
|
|
4176
4382
|
export interface CompensationCost {
|
|
@@ -5177,6 +5383,22 @@ export interface CustomOrg {
|
|
|
5177
5383
|
custom_fields?: CustomFieldData[]
|
|
5178
5384
|
}
|
|
5179
5385
|
|
|
5386
|
+
export interface CustomOrgList {
|
|
5387
|
+
/** 自定义组织名称 */
|
|
5388
|
+
custom_org_name?: I18nV2
|
|
5389
|
+
/** 自定义组织ID */
|
|
5390
|
+
custom_org_id?: string
|
|
5391
|
+
/** 比例 */
|
|
5392
|
+
rate?: string
|
|
5393
|
+
}
|
|
5394
|
+
|
|
5395
|
+
export interface CustomOrgWithRate {
|
|
5396
|
+
/** 自定义组织id */
|
|
5397
|
+
id: string
|
|
5398
|
+
/** 比例 */
|
|
5399
|
+
rate?: string
|
|
5400
|
+
}
|
|
5401
|
+
|
|
5180
5402
|
export interface CustomWorkplaceAccessData {
|
|
5181
5403
|
/** 定制工作台ID */
|
|
5182
5404
|
custom_workplace_id?: string
|
|
@@ -5905,20 +6127,82 @@ export interface DisplayAppV2 {
|
|
|
5905
6127
|
}
|
|
5906
6128
|
|
|
5907
6129
|
export interface District {
|
|
5908
|
-
/**
|
|
5909
|
-
|
|
6130
|
+
/** 区域的唯一标识 */
|
|
6131
|
+
id?: string
|
|
5910
6132
|
/** 名称 */
|
|
5911
|
-
name?:
|
|
5912
|
-
/**
|
|
5913
|
-
|
|
5914
|
-
/**
|
|
5915
|
-
|
|
5916
|
-
/**
|
|
5917
|
-
|
|
6133
|
+
name?: string
|
|
6134
|
+
/** 层级 */
|
|
6135
|
+
level?: string
|
|
6136
|
+
/** 是否有子区域 */
|
|
6137
|
+
has_sub_district?: boolean
|
|
6138
|
+
/** 父区域列表,顺序由叶子节点到根节点,不包含叶子节点本身,仅遍历方式为leaf_level时返回 */
|
|
6139
|
+
parent_districts?: DistrictBaseInfo[]
|
|
6140
|
+
}
|
|
6141
|
+
|
|
6142
|
+
export interface DistrictBaseInfo {
|
|
6143
|
+
/** 区域的唯一标识 */
|
|
6144
|
+
id?: string
|
|
6145
|
+
/** 名称 */
|
|
6146
|
+
name?: string
|
|
6147
|
+
/** 层级 */
|
|
6148
|
+
level?: string
|
|
5918
6149
|
}
|
|
5919
6150
|
|
|
5920
6151
|
export type Divider = unknown
|
|
5921
6152
|
|
|
6153
|
+
export interface DocFilter {
|
|
6154
|
+
/** 文档所有者OpenID */
|
|
6155
|
+
creator_ids?: string[]
|
|
6156
|
+
/** 文档类型 */
|
|
6157
|
+
doc_types?: ('DOC' | 'SHEET' | 'BITABLE' | 'MINDNOTE' | 'FILE' | 'WIKI' | 'DOCX' | 'FOLDER' | 'CATALOG' | 'SLIDES' | 'SHORTCUT')[]
|
|
6158
|
+
/** 搜索文件夹内的文档(文件夹token列表) */
|
|
6159
|
+
folder_tokens?: string[]
|
|
6160
|
+
/** 仅搜文档标题 */
|
|
6161
|
+
only_title?: boolean
|
|
6162
|
+
/** 浏览文档的时间范围(秒级时间戳,包含start和end字段) */
|
|
6163
|
+
open_time?: TimeRange
|
|
6164
|
+
/** 排序方式 */
|
|
6165
|
+
sort_type?: 'DEFAULT_TYPE' | 'OPEN_TIME' | 'EDIT_TIME' | 'EDIT_TIME_ASC' | 'ENTITY_CREATE_TIME_ASC' | 'ENTITY_CREATE_TIME_DESC' | 'CREATE_TIME' | 'CREATE_TIME_ASC'
|
|
6166
|
+
/** 文档创建的时间范围(秒级时间戳,包含start和end字段) */
|
|
6167
|
+
create_time?: TimeRange
|
|
6168
|
+
}
|
|
6169
|
+
|
|
6170
|
+
export interface DocMeta {
|
|
6171
|
+
/** 文档类型 */
|
|
6172
|
+
doc_types?: 'DOC' | 'SHEET' | 'BITABLE' | 'MINDNOTE' | 'FILE' | 'WIKI' | 'DOCX' | 'FOLDER' | 'CATALOG' | 'SLIDES' | 'SHORTCUT'
|
|
6173
|
+
/** 更新时间戳(秒) */
|
|
6174
|
+
update_time?: number
|
|
6175
|
+
/** 文档链接 */
|
|
6176
|
+
url?: string
|
|
6177
|
+
/** 所有者名称 */
|
|
6178
|
+
owner_name?: string
|
|
6179
|
+
/** 所有者OpenID */
|
|
6180
|
+
owner_id?: string
|
|
6181
|
+
/** 是否跨租户 */
|
|
6182
|
+
is_cross_tenant?: boolean
|
|
6183
|
+
/** 文档创建时间戳(秒) */
|
|
6184
|
+
create_time?: number
|
|
6185
|
+
/** 上次打开时间戳(秒) */
|
|
6186
|
+
last_open_time?: number
|
|
6187
|
+
/** 最后一次编辑用户OpenID */
|
|
6188
|
+
edit_user_id?: string
|
|
6189
|
+
/** 最后一次编辑用户名称 */
|
|
6190
|
+
edit_user_name?: string
|
|
6191
|
+
/** 文档token */
|
|
6192
|
+
token?: string
|
|
6193
|
+
}
|
|
6194
|
+
|
|
6195
|
+
export interface DocResUnit {
|
|
6196
|
+
/** 标题高亮 */
|
|
6197
|
+
title_highlighted?: string
|
|
6198
|
+
/** 摘要高亮 */
|
|
6199
|
+
summary_highlighted?: string
|
|
6200
|
+
/** 结果类型 */
|
|
6201
|
+
entity_type?: 'DOC' | 'WIKI'
|
|
6202
|
+
/** 文档搜索元信息 */
|
|
6203
|
+
result_meta?: DocMeta
|
|
6204
|
+
}
|
|
6205
|
+
|
|
5922
6206
|
export interface DocsBlock {
|
|
5923
6207
|
/** BlockTypeID */
|
|
5924
6208
|
block_type_id?: string
|
|
@@ -6190,6 +6474,23 @@ export interface Emoji {
|
|
|
6190
6474
|
emoji_type: string
|
|
6191
6475
|
}
|
|
6192
6476
|
|
|
6477
|
+
export interface EmpCustomOrgList {
|
|
6478
|
+
/** 自定义组织列表 */
|
|
6479
|
+
custom_org_list?: CustomOrgList[]
|
|
6480
|
+
/** 生效时间 */
|
|
6481
|
+
effective_time?: string
|
|
6482
|
+
/** 变动原因 */
|
|
6483
|
+
start_reason?: string
|
|
6484
|
+
/** ID */
|
|
6485
|
+
job_data_custom_org_id?: string
|
|
6486
|
+
/** 版本号 */
|
|
6487
|
+
version_id?: string
|
|
6488
|
+
/** 自定义组织类型 */
|
|
6489
|
+
object_api_name?: string
|
|
6490
|
+
/** 用户id */
|
|
6491
|
+
user_id?: string
|
|
6492
|
+
}
|
|
6493
|
+
|
|
6193
6494
|
export interface Employee {
|
|
6194
6495
|
/** user_id转换 */
|
|
6195
6496
|
user_id?: string
|
|
@@ -7142,6 +7443,13 @@ export interface Event {
|
|
|
7142
7443
|
subtype: string
|
|
7143
7444
|
}
|
|
7144
7445
|
|
|
7446
|
+
export interface EventAndCallbackEncryptStrategy {
|
|
7447
|
+
/** 加密key, 配置 Encrypt Key 后,开放平台将向请求地址推送加密后的事件 */
|
|
7448
|
+
encryption_key?: string
|
|
7449
|
+
/** 开放平台向应用推送的事件中都带有此 Token,应用可以据此 Token 验证推送的事件是否属于该应用。 */
|
|
7450
|
+
verification_token?: string
|
|
7451
|
+
}
|
|
7452
|
+
|
|
7145
7453
|
export interface EventLocation {
|
|
7146
7454
|
/** 地点名称 */
|
|
7147
7455
|
name?: string
|
|
@@ -7543,6 +7851,13 @@ export interface FailedReason {
|
|
|
7543
7851
|
user_id?: string
|
|
7544
7852
|
}
|
|
7545
7853
|
|
|
7854
|
+
export interface FailMsgReactionDetails {
|
|
7855
|
+
/** 消息id */
|
|
7856
|
+
message_id?: string
|
|
7857
|
+
/** 获取表情失败的原因 */
|
|
7858
|
+
fail_reason?: 'invalid' | 'invalid_page_token' | 'no_permission'
|
|
7859
|
+
}
|
|
7860
|
+
|
|
7546
7861
|
export interface Faq {
|
|
7547
7862
|
/** faq id */
|
|
7548
7863
|
faq_id?: string
|
|
@@ -7613,10 +7928,26 @@ export interface Field {
|
|
|
7613
7928
|
}
|
|
7614
7929
|
|
|
7615
7930
|
export interface FieldGroup {
|
|
7616
|
-
/**
|
|
7617
|
-
|
|
7618
|
-
/**
|
|
7619
|
-
|
|
7931
|
+
/** 字段编组的ID */
|
|
7932
|
+
id?: string
|
|
7933
|
+
/** 字段编组的名称 */
|
|
7934
|
+
name: string
|
|
7935
|
+
/** 字段编组的成员 */
|
|
7936
|
+
children: FieldGroupChild[]
|
|
7937
|
+
/** 字段编组的描述 */
|
|
7938
|
+
description?: string
|
|
7939
|
+
}
|
|
7940
|
+
|
|
7941
|
+
export interface FieldGroupChild {
|
|
7942
|
+
/** 编组成员类型 */
|
|
7943
|
+
type: FieldGroupChildType
|
|
7944
|
+
/** 编组成员ID */
|
|
7945
|
+
id: string
|
|
7946
|
+
}
|
|
7947
|
+
|
|
7948
|
+
export const enum FieldGroupChildType {
|
|
7949
|
+
/** 字段 */
|
|
7950
|
+
Field = 'field',
|
|
7620
7951
|
}
|
|
7621
7952
|
|
|
7622
7953
|
export type FieldName = string
|
|
@@ -7695,6 +8026,15 @@ export interface FieldVariableValueToFile {
|
|
|
7695
8026
|
mime_type?: string
|
|
7696
8027
|
}
|
|
7697
8028
|
|
|
8029
|
+
export interface FieldVariableValueToFileForWrite {
|
|
8030
|
+
/** 主数据的文件id */
|
|
8031
|
+
open_file_id?: string
|
|
8032
|
+
/** 文件名称 */
|
|
8033
|
+
file_name?: string
|
|
8034
|
+
/** 文件大小,单位:Byte */
|
|
8035
|
+
length?: number
|
|
8036
|
+
}
|
|
8037
|
+
|
|
7698
8038
|
export interface FieldVariableValueToForReview {
|
|
7699
8039
|
/** 文本值 */
|
|
7700
8040
|
text_value?: string
|
|
@@ -7718,6 +8058,10 @@ export interface FieldVariableValueToForReview {
|
|
|
7718
8058
|
employment_value?: string
|
|
7719
8059
|
/** 数组类型值,里面包含多个值,每个元素都对应subValues中的key */
|
|
7720
8060
|
list_values?: string[]
|
|
8061
|
+
/** 文件类型字段值 */
|
|
8062
|
+
file_value?: FieldVariableValueToFileForWrite
|
|
8063
|
+
/** record类型字段值 */
|
|
8064
|
+
record_values?: FieldVariableValueToRecord[]
|
|
7721
8065
|
}
|
|
7722
8066
|
|
|
7723
8067
|
export interface FieldVariableValueToObject {
|
|
@@ -7787,6 +8131,15 @@ export interface FileCommentReply {
|
|
|
7787
8131
|
extra?: ReplyExtra
|
|
7788
8132
|
}
|
|
7789
8133
|
|
|
8134
|
+
export interface FileCommentV2BatchQueryReactionData {
|
|
8135
|
+
/** 表情回复的唯一标识,用于区分不同类型的评论表情(如点赞、鼓掌等)。 */
|
|
8136
|
+
reaction_key: string
|
|
8137
|
+
/** 该表情回复的累计使用次数,统计范围为当前评论下所有用户的有效回复记录。 */
|
|
8138
|
+
count: number
|
|
8139
|
+
/** 用于在界面优先展示核心互动用户。用户ID可通过用户信息查询接口获取。 */
|
|
8140
|
+
ahead_users?: string[]
|
|
8141
|
+
}
|
|
8142
|
+
|
|
7790
8143
|
export interface FileConfig {
|
|
7791
8144
|
/** 仅包含字母数字和下划线的 16 位字符串作为文件的标识,用户生成 */
|
|
7792
8145
|
file_id: string
|
|
@@ -8001,6 +8354,13 @@ export interface FoodProduceLicense {
|
|
|
8001
8354
|
entities?: FoodProduceEntity[]
|
|
8002
8355
|
}
|
|
8003
8356
|
|
|
8357
|
+
export const enum FormDisplayMode {
|
|
8358
|
+
/** 传统布局 */
|
|
8359
|
+
Traditional = 'traditional',
|
|
8360
|
+
/** 一页一题布局 */
|
|
8361
|
+
OneQuestionPerPage = 'one_question_per_page',
|
|
8362
|
+
}
|
|
8363
|
+
|
|
8004
8364
|
export interface Formula {
|
|
8005
8365
|
/** 公式表达式 */
|
|
8006
8366
|
expr?: string
|
|
@@ -8284,6 +8644,13 @@ export interface I18nText {
|
|
|
8284
8644
|
i18n_value?: Record<string, string>
|
|
8285
8645
|
}
|
|
8286
8646
|
|
|
8647
|
+
export interface I18nV2 {
|
|
8648
|
+
/** zh-CN */
|
|
8649
|
+
zh_cn?: string
|
|
8650
|
+
/** en-US */
|
|
8651
|
+
en_us?: string
|
|
8652
|
+
}
|
|
8653
|
+
|
|
8287
8654
|
export interface IdCard {
|
|
8288
8655
|
/** 识别的实体列表 */
|
|
8289
8656
|
entities?: IdEntity[]
|
|
@@ -8295,6 +8662,17 @@ export interface IdCard {
|
|
|
8295
8662
|
face_conners?: number[]
|
|
8296
8663
|
}
|
|
8297
8664
|
|
|
8665
|
+
export const enum IdConvertType {
|
|
8666
|
+
/** 妙搭用户 ID 转飞书开放平台 Open ID */
|
|
8667
|
+
ForceUserID2FeishuOpenID = 10,
|
|
8668
|
+
/** 妙搭用户 ID 转飞书开放平台 Union ID */
|
|
8669
|
+
ForceUserID2FeishuUnionID = 11,
|
|
8670
|
+
/** 飞书开放平台 Open ID 转妙搭用户 ID */
|
|
8671
|
+
FeishuOpenID2ForceUserID = 20,
|
|
8672
|
+
/** 飞书开放平台 Union ID 转妙搭用户 ID */
|
|
8673
|
+
FeishuUnionID2ForceUserID = 21,
|
|
8674
|
+
}
|
|
8675
|
+
|
|
8298
8676
|
export interface IdEntity {
|
|
8299
8677
|
/** 识别的字段种类 */
|
|
8300
8678
|
type?: 'identity_code' | 'identity_name' | 'address' | 'valid_date_start' | 'valid_date_end' | 'gender' | 'race' | 'issued_by' | 'birth'
|
|
@@ -8316,6 +8694,13 @@ export interface IdInfo {
|
|
|
8316
8694
|
target_id?: string
|
|
8317
8695
|
}
|
|
8318
8696
|
|
|
8697
|
+
export interface IdMapItem {
|
|
8698
|
+
/** 源 ID */
|
|
8699
|
+
source_id: string
|
|
8700
|
+
/** 目标 ID */
|
|
8701
|
+
target_id: string
|
|
8702
|
+
}
|
|
8703
|
+
|
|
8319
8704
|
export interface IdNameObject {
|
|
8320
8705
|
/** 权限点ID */
|
|
8321
8706
|
id?: string
|
|
@@ -10347,6 +10732,44 @@ export interface LocationState {
|
|
|
10347
10732
|
state_name_info?: LocationNameInfo
|
|
10348
10733
|
}
|
|
10349
10734
|
|
|
10735
|
+
export interface LocationTimeline {
|
|
10736
|
+
/** 地点版本信息 */
|
|
10737
|
+
location_version_data?: LocationVersionData[]
|
|
10738
|
+
/** 地址信息 */
|
|
10739
|
+
address?: Address[]
|
|
10740
|
+
}
|
|
10741
|
+
|
|
10742
|
+
export interface LocationVersionData {
|
|
10743
|
+
/** 地点ID */
|
|
10744
|
+
location_id?: string
|
|
10745
|
+
/** 地点版本ID */
|
|
10746
|
+
location_version_id?: string
|
|
10747
|
+
/** 地点名称 */
|
|
10748
|
+
location_names?: I18n[]
|
|
10749
|
+
/** 上级地点ID */
|
|
10750
|
+
parent_location_id?: string
|
|
10751
|
+
/** 生效日期 */
|
|
10752
|
+
effective_date?: string
|
|
10753
|
+
/** 失效时间 */
|
|
10754
|
+
expiration_date?: string
|
|
10755
|
+
/** 是否启用 */
|
|
10756
|
+
active?: boolean
|
|
10757
|
+
/** 描述 */
|
|
10758
|
+
descriptions?: I18n[]
|
|
10759
|
+
/** 编码 */
|
|
10760
|
+
code?: string
|
|
10761
|
+
/** 地点用途 */
|
|
10762
|
+
location_usages?: Enum[]
|
|
10763
|
+
/** 区域设置 */
|
|
10764
|
+
locale?: Enum
|
|
10765
|
+
/** 时区 */
|
|
10766
|
+
time_zone_id?: string
|
|
10767
|
+
/** 默认语言 */
|
|
10768
|
+
display_language_id?: string
|
|
10769
|
+
/** 工时制度 */
|
|
10770
|
+
working_hours_type_id?: string
|
|
10771
|
+
}
|
|
10772
|
+
|
|
10350
10773
|
export type Logic = string
|
|
10351
10774
|
|
|
10352
10775
|
export interface LookupWithAvatar {
|
|
@@ -10726,6 +11149,17 @@ export interface MeetingAbility {
|
|
|
10726
11149
|
use_pstn?: boolean
|
|
10727
11150
|
}
|
|
10728
11151
|
|
|
11152
|
+
export interface MeetingFilter {
|
|
11153
|
+
/** 组织者OpenID */
|
|
11154
|
+
organizer_ids?: string[]
|
|
11155
|
+
/** 参与者OpenID */
|
|
11156
|
+
participant_ids?: string[]
|
|
11157
|
+
/** 会议室ID */
|
|
11158
|
+
open_room_ids?: string[]
|
|
11159
|
+
/** 会议开始时间区间(iso8601格式) */
|
|
11160
|
+
start_time?: TimeRange
|
|
11161
|
+
}
|
|
11162
|
+
|
|
10729
11163
|
export interface MeetingInfo {
|
|
10730
11164
|
/** 9位会议号 */
|
|
10731
11165
|
meeting_id?: string
|
|
@@ -10780,6 +11214,15 @@ export interface MeetingInviteStatus {
|
|
|
10780
11214
|
status?: 1 | 2
|
|
10781
11215
|
}
|
|
10782
11216
|
|
|
11217
|
+
export interface MeetingMeta {
|
|
11218
|
+
/** 跳转链接 */
|
|
11219
|
+
app_link?: string
|
|
11220
|
+
/** 图标url */
|
|
11221
|
+
avatar?: string
|
|
11222
|
+
/** 描述,包含会议时间、组织者和会议ID */
|
|
11223
|
+
description?: string
|
|
11224
|
+
}
|
|
11225
|
+
|
|
10783
11226
|
export interface MeetingParticipant {
|
|
10784
11227
|
/** 用户ID */
|
|
10785
11228
|
id?: string
|
|
@@ -10817,6 +11260,15 @@ export interface MeetingRecording {
|
|
|
10817
11260
|
duration?: string
|
|
10818
11261
|
}
|
|
10819
11262
|
|
|
11263
|
+
export interface MeetingSearchItem {
|
|
11264
|
+
/** 会议ID(视频会议的唯一标识,视频会议开始后才会产生) */
|
|
11265
|
+
id?: string
|
|
11266
|
+
/** 包含基本信息的卡片,用户搜索关键词命中的文本片段,使用<h></h>标签包裹标注 */
|
|
11267
|
+
display_info?: string
|
|
11268
|
+
/** 会议元信息 */
|
|
11269
|
+
meta_data?: MeetingMeta
|
|
11270
|
+
}
|
|
11271
|
+
|
|
10820
11272
|
export interface MeetingSettings {
|
|
10821
11273
|
/** 设置会议 owner */
|
|
10822
11274
|
owner_id?: string
|
|
@@ -10985,6 +11437,13 @@ export interface MessageBody {
|
|
|
10985
11437
|
content: string
|
|
10986
11438
|
}
|
|
10987
11439
|
|
|
11440
|
+
export interface MessageQuery {
|
|
11441
|
+
/** 消息ID */
|
|
11442
|
+
message_id?: string
|
|
11443
|
+
/** 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果。 */
|
|
11444
|
+
page_token?: string
|
|
11445
|
+
}
|
|
11446
|
+
|
|
10988
11447
|
export interface MessageReaction {
|
|
10989
11448
|
/** reaction资源ID */
|
|
10990
11449
|
reaction_id?: string
|
|
@@ -11269,11 +11728,29 @@ export interface Minute {
|
|
|
11269
11728
|
url?: string
|
|
11270
11729
|
}
|
|
11271
11730
|
|
|
11731
|
+
export interface MinuteChapter {
|
|
11732
|
+
/** 章节标题,用于区分纪要内不同的讨论模块,需简洁明确概括章节核心内容 */
|
|
11733
|
+
title?: string
|
|
11734
|
+
/** 章节对应的讨论内容开始时间戳,单位为毫秒,用于定位会议录像或录音的对应片段。需与stop_ms配合使用,且数值需小于stop_ms。 */
|
|
11735
|
+
start_ms?: string
|
|
11736
|
+
/** 章节对应的讨论内容结束时间戳,单位为毫秒,用于定位会议录像或录音的对应片段。需与start_ms配合使用,且数值需大于start_ms。 */
|
|
11737
|
+
stop_ms?: string
|
|
11738
|
+
/** 章节的核心讨论内容摘要,需准确提炼该章节的决策结果、行动项、待跟进事项等关键信息。支持富文本格式,最大长度限制为10000字符。 */
|
|
11739
|
+
summary_content?: string
|
|
11740
|
+
}
|
|
11741
|
+
|
|
11272
11742
|
export interface Minutes {
|
|
11273
11743
|
/** 速记语音文本列表 */
|
|
11274
11744
|
sentences?: Sentence[]
|
|
11275
11745
|
}
|
|
11276
11746
|
|
|
11747
|
+
export interface MinuteTodo {
|
|
11748
|
+
/** 待办内容 */
|
|
11749
|
+
content?: string
|
|
11750
|
+
/** 负责人 */
|
|
11751
|
+
assignees?: string[]
|
|
11752
|
+
}
|
|
11753
|
+
|
|
11277
11754
|
export interface Mobile {
|
|
11278
11755
|
/** 国家代码 */
|
|
11279
11756
|
code?: string
|
|
@@ -11490,22 +11967,30 @@ export interface NodeCc {
|
|
|
11490
11967
|
}
|
|
11491
11968
|
|
|
11492
11969
|
export interface Note {
|
|
11493
|
-
/** ID
|
|
11494
|
-
|
|
11495
|
-
/**
|
|
11496
|
-
|
|
11497
|
-
/**
|
|
11498
|
-
|
|
11499
|
-
/**
|
|
11500
|
-
|
|
11970
|
+
/** 纪要创建者 User ID */
|
|
11971
|
+
creator_id: string
|
|
11972
|
+
/** 纪要创建时间 */
|
|
11973
|
+
create_time: string
|
|
11974
|
+
/** 纪要产物 */
|
|
11975
|
+
artifacts: NoteArtifactInfo[]
|
|
11976
|
+
/** 关联引用 */
|
|
11977
|
+
references: NoteReferenceInfo[]
|
|
11978
|
+
}
|
|
11979
|
+
|
|
11980
|
+
export interface NoteArtifactInfo {
|
|
11981
|
+
/** 纪要产物类型 */
|
|
11982
|
+
artifact_type: 0 | 1 | 2
|
|
11501
11983
|
/** 创建时间 */
|
|
11502
|
-
create_time
|
|
11503
|
-
/**
|
|
11504
|
-
|
|
11505
|
-
|
|
11506
|
-
|
|
11507
|
-
|
|
11508
|
-
|
|
11984
|
+
create_time: string
|
|
11985
|
+
/** 产物doc token */
|
|
11986
|
+
doc_token: string
|
|
11987
|
+
}
|
|
11988
|
+
|
|
11989
|
+
export interface NoteReferenceInfo {
|
|
11990
|
+
/** 纪要关联引用类型 */
|
|
11991
|
+
reference_type: 0 | 1
|
|
11992
|
+
/** 纪要关联引用的doc token */
|
|
11993
|
+
doc_token: string
|
|
11509
11994
|
}
|
|
11510
11995
|
|
|
11511
11996
|
export interface Notification {
|
|
@@ -14892,6 +15377,24 @@ export interface Rating {
|
|
|
14892
15377
|
symbol?: string
|
|
14893
15378
|
}
|
|
14894
15379
|
|
|
15380
|
+
export interface Reaction {
|
|
15381
|
+
/** 表情ID */
|
|
15382
|
+
reaction_id?: string
|
|
15383
|
+
/** 操作者信息 */
|
|
15384
|
+
operator?: Operator
|
|
15385
|
+
/** 表情添加时间 */
|
|
15386
|
+
action_time?: string
|
|
15387
|
+
/** 表情类型 */
|
|
15388
|
+
emoji_type?: string
|
|
15389
|
+
}
|
|
15390
|
+
|
|
15391
|
+
export interface ReactionCount {
|
|
15392
|
+
/** 表情类型 */
|
|
15393
|
+
reaction_type?: string
|
|
15394
|
+
/** 表情数量 */
|
|
15395
|
+
count?: string
|
|
15396
|
+
}
|
|
15397
|
+
|
|
14895
15398
|
export interface ReactionList {
|
|
14896
15399
|
/** 表情类型 */
|
|
14897
15400
|
type?: string
|
|
@@ -17453,6 +17956,24 @@ export interface SubscribeUser {
|
|
|
17453
17956
|
user_id: string
|
|
17454
17957
|
}
|
|
17455
17958
|
|
|
17959
|
+
export interface SuccessMsgReactionCount {
|
|
17960
|
+
/** 消息ID */
|
|
17961
|
+
message_id?: string
|
|
17962
|
+
/** 消息上不同表情的数量 */
|
|
17963
|
+
reaction_count?: ReactionCount[]
|
|
17964
|
+
}
|
|
17965
|
+
|
|
17966
|
+
export interface SuccessMsgReactionDetails {
|
|
17967
|
+
/** 消息id */
|
|
17968
|
+
message_id?: string
|
|
17969
|
+
/** 是否还有更多项 */
|
|
17970
|
+
has_more?: boolean
|
|
17971
|
+
/** 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token */
|
|
17972
|
+
page_token?: string
|
|
17973
|
+
/** 表情实体 */
|
|
17974
|
+
message_reaction_items?: Reaction[]
|
|
17975
|
+
}
|
|
17976
|
+
|
|
17456
17977
|
export interface SupportCostCenterItem {
|
|
17457
17978
|
/** 支持的成本中心id */
|
|
17458
17979
|
cost_center_id?: string
|
|
@@ -18858,6 +19379,13 @@ export interface TimeInfo {
|
|
|
18858
19379
|
timezone?: string
|
|
18859
19380
|
}
|
|
18860
19381
|
|
|
19382
|
+
export interface TimeRange {
|
|
19383
|
+
/** 起始时间(iso8601,精确到秒) */
|
|
19384
|
+
start_time?: string
|
|
19385
|
+
/** 截止时间(iso8601,精确到秒) */
|
|
19386
|
+
end_time?: string
|
|
19387
|
+
}
|
|
19388
|
+
|
|
18861
19389
|
export interface TimeZone {
|
|
18862
19390
|
/** 时区 ID */
|
|
18863
19391
|
time_zone_id?: string
|
|
@@ -19242,6 +19770,11 @@ export interface UpdateTextStyleRequest {
|
|
|
19242
19770
|
fields: (1 | 2 | 3 | 4 | 5 | 6 | 7)[]
|
|
19243
19771
|
}
|
|
19244
19772
|
|
|
19773
|
+
export interface UpgradedForm {
|
|
19774
|
+
/** 升级后的表单ID */
|
|
19775
|
+
id?: string
|
|
19776
|
+
}
|
|
19777
|
+
|
|
19245
19778
|
export interface UpsertName {
|
|
19246
19779
|
/** i18n文本 */
|
|
19247
19780
|
name: I18nText
|
|
@@ -19579,6 +20112,19 @@ export interface UserLeave {
|
|
|
19579
20112
|
idempotent_id?: string
|
|
19580
20113
|
}
|
|
19581
20114
|
|
|
20115
|
+
export interface UserMigration {
|
|
20116
|
+
/** 用户 id */
|
|
20117
|
+
user_id?: string
|
|
20118
|
+
/** 目标地理位置区域 */
|
|
20119
|
+
dest_geo?: string
|
|
20120
|
+
/** 最新迁移任务 id */
|
|
20121
|
+
task_id?: string
|
|
20122
|
+
/** 用户迁移状态 */
|
|
20123
|
+
status?: '0' | '1' | '2'
|
|
20124
|
+
/** 用户迁移进度 */
|
|
20125
|
+
progress?: number
|
|
20126
|
+
}
|
|
20127
|
+
|
|
19582
20128
|
export interface UserOpenAppFeedCardDeleter {
|
|
19583
20129
|
/** 业务 ID */
|
|
19584
20130
|
biz_id: string
|
|
@@ -20416,6 +20962,23 @@ export interface WikiCatalog {
|
|
|
20416
20962
|
wiki_token?: string
|
|
20417
20963
|
}
|
|
20418
20964
|
|
|
20965
|
+
export interface WikiFilter {
|
|
20966
|
+
/** Wiki所有者OpenID */
|
|
20967
|
+
creator_ids?: string[]
|
|
20968
|
+
/** Wiki类型 */
|
|
20969
|
+
doc_types?: ('DOC' | 'SHEET' | 'BITABLE' | 'MINDNOTE' | 'FILE' | 'WIKI' | 'DOCX' | 'FOLDER' | 'CATALOG' | 'SLIDES' | 'SHORTCUT')[]
|
|
20970
|
+
/** 搜索某个Space下的Wiki(Space ID列表) */
|
|
20971
|
+
space_ids?: string[]
|
|
20972
|
+
/** 仅搜Wiki标题 */
|
|
20973
|
+
only_title?: boolean
|
|
20974
|
+
/** 浏览文档的时间范围(秒级时间戳,包含start和end字段) */
|
|
20975
|
+
open_time?: TimeRange
|
|
20976
|
+
/** 排序方式 */
|
|
20977
|
+
sort_type?: 'DEFAULT_TYPE' | 'OPEN_TIME' | 'EDIT_TIME' | 'EDIT_TIME_ASC' | 'ENTITY_CREATE_TIME_ASC' | 'ENTITY_CREATE_TIME_DESC' | 'CREATE_TIME' | 'CREATE_TIME_ASC'
|
|
20978
|
+
/** Wiki创建的时间范围(秒级时间戳,包含start和end字段) */
|
|
20979
|
+
create_time?: TimeRange
|
|
20980
|
+
}
|
|
20981
|
+
|
|
20419
20982
|
export interface WkCalendarDate {
|
|
20420
20983
|
/** 工作日历WKID */
|
|
20421
20984
|
calendar_id?: string
|
|
@@ -20613,6 +21176,58 @@ export interface WorkplaceWidget {
|
|
|
20613
21176
|
min_lark_version?: string
|
|
20614
21177
|
}
|
|
20615
21178
|
|
|
21179
|
+
export interface WorkspaceDataTable {
|
|
21180
|
+
/** 数据表名,如 student */
|
|
21181
|
+
name: string
|
|
21182
|
+
/** 数据表描述 */
|
|
21183
|
+
description: string
|
|
21184
|
+
/** 数据表列 */
|
|
21185
|
+
columns: WorkspaceDataTableColumnInfo[]
|
|
21186
|
+
}
|
|
21187
|
+
|
|
21188
|
+
export interface WorkspaceDataTableColumnInfo {
|
|
21189
|
+
/** 列名 */
|
|
21190
|
+
name: string
|
|
21191
|
+
/** 列描述 */
|
|
21192
|
+
description: string
|
|
21193
|
+
/** 数据库数据类型 */
|
|
21194
|
+
data_type: string
|
|
21195
|
+
/** 是否是主键 */
|
|
21196
|
+
is_primary_key: boolean
|
|
21197
|
+
/** 是否唯一 */
|
|
21198
|
+
is_unique: boolean
|
|
21199
|
+
/** 是否是自增 */
|
|
21200
|
+
is_auto_increment: boolean
|
|
21201
|
+
/** 是否是数组类型 */
|
|
21202
|
+
is_array: boolean
|
|
21203
|
+
/** 是否允许为空 */
|
|
21204
|
+
is_allow_null: boolean
|
|
21205
|
+
/** 默认值 */
|
|
21206
|
+
default_value: string
|
|
21207
|
+
}
|
|
21208
|
+
|
|
21209
|
+
export interface WorkspaceEnum {
|
|
21210
|
+
/** 枚举名称 */
|
|
21211
|
+
name: string
|
|
21212
|
+
/** 枚举描述 */
|
|
21213
|
+
description: string
|
|
21214
|
+
/** 枚举值列表 */
|
|
21215
|
+
options: string[]
|
|
21216
|
+
/** 创建时间,毫秒时间戳 */
|
|
21217
|
+
created_at: number
|
|
21218
|
+
/** 创建人 */
|
|
21219
|
+
created_by?: WorkspaceUserInfo
|
|
21220
|
+
}
|
|
21221
|
+
|
|
21222
|
+
export interface WorkspaceUserInfo {
|
|
21223
|
+
/** 用户 id,如 1693861178143800 */
|
|
21224
|
+
id?: string
|
|
21225
|
+
/** 用户姓名,如王小小 */
|
|
21226
|
+
name?: string
|
|
21227
|
+
/** 用户头像 URL */
|
|
21228
|
+
avatar?: string
|
|
21229
|
+
}
|
|
21230
|
+
|
|
20616
21231
|
export interface WriteUserGroupScopeData {
|
|
20617
21232
|
/** 写入成功员工user_id列表 */
|
|
20618
21233
|
success_user_ids?: string[]
|