@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/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,16 +6127,25 @@ 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
|
|
@@ -6243,6 +6474,23 @@ export interface Emoji {
|
|
|
6243
6474
|
emoji_type: string
|
|
6244
6475
|
}
|
|
6245
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
|
+
|
|
6246
6494
|
export interface Employee {
|
|
6247
6495
|
/** user_id转换 */
|
|
6248
6496
|
user_id?: string
|
|
@@ -7195,6 +7443,13 @@ export interface Event {
|
|
|
7195
7443
|
subtype: string
|
|
7196
7444
|
}
|
|
7197
7445
|
|
|
7446
|
+
export interface EventAndCallbackEncryptStrategy {
|
|
7447
|
+
/** 加密key, 配置 Encrypt Key 后,开放平台将向请求地址推送加密后的事件 */
|
|
7448
|
+
encryption_key?: string
|
|
7449
|
+
/** 开放平台向应用推送的事件中都带有此 Token,应用可以据此 Token 验证推送的事件是否属于该应用。 */
|
|
7450
|
+
verification_token?: string
|
|
7451
|
+
}
|
|
7452
|
+
|
|
7198
7453
|
export interface EventLocation {
|
|
7199
7454
|
/** 地点名称 */
|
|
7200
7455
|
name?: string
|
|
@@ -7596,6 +7851,13 @@ export interface FailedReason {
|
|
|
7596
7851
|
user_id?: string
|
|
7597
7852
|
}
|
|
7598
7853
|
|
|
7854
|
+
export interface FailMsgReactionDetails {
|
|
7855
|
+
/** 消息id */
|
|
7856
|
+
message_id?: string
|
|
7857
|
+
/** 获取表情失败的原因 */
|
|
7858
|
+
fail_reason?: 'invalid' | 'invalid_page_token' | 'no_permission'
|
|
7859
|
+
}
|
|
7860
|
+
|
|
7599
7861
|
export interface Faq {
|
|
7600
7862
|
/** faq id */
|
|
7601
7863
|
faq_id?: string
|
|
@@ -7666,10 +7928,26 @@ export interface Field {
|
|
|
7666
7928
|
}
|
|
7667
7929
|
|
|
7668
7930
|
export interface FieldGroup {
|
|
7669
|
-
/**
|
|
7670
|
-
|
|
7671
|
-
/**
|
|
7672
|
-
|
|
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',
|
|
7673
7951
|
}
|
|
7674
7952
|
|
|
7675
7953
|
export type FieldName = string
|
|
@@ -7853,6 +8131,15 @@ export interface FileCommentReply {
|
|
|
7853
8131
|
extra?: ReplyExtra
|
|
7854
8132
|
}
|
|
7855
8133
|
|
|
8134
|
+
export interface FileCommentV2BatchQueryReactionData {
|
|
8135
|
+
/** 表情回复的唯一标识,用于区分不同类型的评论表情(如点赞、鼓掌等)。 */
|
|
8136
|
+
reaction_key: string
|
|
8137
|
+
/** 该表情回复的累计使用次数,统计范围为当前评论下所有用户的有效回复记录。 */
|
|
8138
|
+
count: number
|
|
8139
|
+
/** 用于在界面优先展示核心互动用户。用户ID可通过用户信息查询接口获取。 */
|
|
8140
|
+
ahead_users?: string[]
|
|
8141
|
+
}
|
|
8142
|
+
|
|
7856
8143
|
export interface FileConfig {
|
|
7857
8144
|
/** 仅包含字母数字和下划线的 16 位字符串作为文件的标识,用户生成 */
|
|
7858
8145
|
file_id: string
|
|
@@ -8067,6 +8354,13 @@ export interface FoodProduceLicense {
|
|
|
8067
8354
|
entities?: FoodProduceEntity[]
|
|
8068
8355
|
}
|
|
8069
8356
|
|
|
8357
|
+
export const enum FormDisplayMode {
|
|
8358
|
+
/** 传统布局 */
|
|
8359
|
+
Traditional = 'traditional',
|
|
8360
|
+
/** 一页一题布局 */
|
|
8361
|
+
OneQuestionPerPage = 'one_question_per_page',
|
|
8362
|
+
}
|
|
8363
|
+
|
|
8070
8364
|
export interface Formula {
|
|
8071
8365
|
/** 公式表达式 */
|
|
8072
8366
|
expr?: string
|
|
@@ -8350,6 +8644,13 @@ export interface I18nText {
|
|
|
8350
8644
|
i18n_value?: Record<string, string>
|
|
8351
8645
|
}
|
|
8352
8646
|
|
|
8647
|
+
export interface I18nV2 {
|
|
8648
|
+
/** zh-CN */
|
|
8649
|
+
zh_cn?: string
|
|
8650
|
+
/** en-US */
|
|
8651
|
+
en_us?: string
|
|
8652
|
+
}
|
|
8653
|
+
|
|
8353
8654
|
export interface IdCard {
|
|
8354
8655
|
/** 识别的实体列表 */
|
|
8355
8656
|
entities?: IdEntity[]
|
|
@@ -8361,6 +8662,17 @@ export interface IdCard {
|
|
|
8361
8662
|
face_conners?: number[]
|
|
8362
8663
|
}
|
|
8363
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
|
+
|
|
8364
8676
|
export interface IdEntity {
|
|
8365
8677
|
/** 识别的字段种类 */
|
|
8366
8678
|
type?: 'identity_code' | 'identity_name' | 'address' | 'valid_date_start' | 'valid_date_end' | 'gender' | 'race' | 'issued_by' | 'birth'
|
|
@@ -8382,6 +8694,13 @@ export interface IdInfo {
|
|
|
8382
8694
|
target_id?: string
|
|
8383
8695
|
}
|
|
8384
8696
|
|
|
8697
|
+
export interface IdMapItem {
|
|
8698
|
+
/** 源 ID */
|
|
8699
|
+
source_id: string
|
|
8700
|
+
/** 目标 ID */
|
|
8701
|
+
target_id: string
|
|
8702
|
+
}
|
|
8703
|
+
|
|
8385
8704
|
export interface IdNameObject {
|
|
8386
8705
|
/** 权限点ID */
|
|
8387
8706
|
id?: string
|
|
@@ -10413,6 +10732,44 @@ export interface LocationState {
|
|
|
10413
10732
|
state_name_info?: LocationNameInfo
|
|
10414
10733
|
}
|
|
10415
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
|
+
|
|
10416
10773
|
export type Logic = string
|
|
10417
10774
|
|
|
10418
10775
|
export interface LookupWithAvatar {
|
|
@@ -10792,6 +11149,17 @@ export interface MeetingAbility {
|
|
|
10792
11149
|
use_pstn?: boolean
|
|
10793
11150
|
}
|
|
10794
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
|
+
|
|
10795
11163
|
export interface MeetingInfo {
|
|
10796
11164
|
/** 9位会议号 */
|
|
10797
11165
|
meeting_id?: string
|
|
@@ -10846,6 +11214,15 @@ export interface MeetingInviteStatus {
|
|
|
10846
11214
|
status?: 1 | 2
|
|
10847
11215
|
}
|
|
10848
11216
|
|
|
11217
|
+
export interface MeetingMeta {
|
|
11218
|
+
/** 跳转链接 */
|
|
11219
|
+
app_link?: string
|
|
11220
|
+
/** 图标url */
|
|
11221
|
+
avatar?: string
|
|
11222
|
+
/** 描述,包含会议时间、组织者和会议ID */
|
|
11223
|
+
description?: string
|
|
11224
|
+
}
|
|
11225
|
+
|
|
10849
11226
|
export interface MeetingParticipant {
|
|
10850
11227
|
/** 用户ID */
|
|
10851
11228
|
id?: string
|
|
@@ -10883,6 +11260,15 @@ export interface MeetingRecording {
|
|
|
10883
11260
|
duration?: string
|
|
10884
11261
|
}
|
|
10885
11262
|
|
|
11263
|
+
export interface MeetingSearchItem {
|
|
11264
|
+
/** 会议ID(视频会议的唯一标识,视频会议开始后才会产生) */
|
|
11265
|
+
id?: string
|
|
11266
|
+
/** 包含基本信息的卡片,用户搜索关键词命中的文本片段,使用<h></h>标签包裹标注 */
|
|
11267
|
+
display_info?: string
|
|
11268
|
+
/** 会议元信息 */
|
|
11269
|
+
meta_data?: MeetingMeta
|
|
11270
|
+
}
|
|
11271
|
+
|
|
10886
11272
|
export interface MeetingSettings {
|
|
10887
11273
|
/** 设置会议 owner */
|
|
10888
11274
|
owner_id?: string
|
|
@@ -11051,6 +11437,13 @@ export interface MessageBody {
|
|
|
11051
11437
|
content: string
|
|
11052
11438
|
}
|
|
11053
11439
|
|
|
11440
|
+
export interface MessageQuery {
|
|
11441
|
+
/** 消息ID */
|
|
11442
|
+
message_id?: string
|
|
11443
|
+
/** 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果。 */
|
|
11444
|
+
page_token?: string
|
|
11445
|
+
}
|
|
11446
|
+
|
|
11054
11447
|
export interface MessageReaction {
|
|
11055
11448
|
/** reaction资源ID */
|
|
11056
11449
|
reaction_id?: string
|
|
@@ -11335,11 +11728,29 @@ export interface Minute {
|
|
|
11335
11728
|
url?: string
|
|
11336
11729
|
}
|
|
11337
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
|
+
|
|
11338
11742
|
export interface Minutes {
|
|
11339
11743
|
/** 速记语音文本列表 */
|
|
11340
11744
|
sentences?: Sentence[]
|
|
11341
11745
|
}
|
|
11342
11746
|
|
|
11747
|
+
export interface MinuteTodo {
|
|
11748
|
+
/** 待办内容 */
|
|
11749
|
+
content?: string
|
|
11750
|
+
/** 负责人 */
|
|
11751
|
+
assignees?: string[]
|
|
11752
|
+
}
|
|
11753
|
+
|
|
11343
11754
|
export interface Mobile {
|
|
11344
11755
|
/** 国家代码 */
|
|
11345
11756
|
code?: string
|
|
@@ -11556,22 +11967,30 @@ export interface NodeCc {
|
|
|
11556
11967
|
}
|
|
11557
11968
|
|
|
11558
11969
|
export interface Note {
|
|
11559
|
-
/** ID
|
|
11560
|
-
|
|
11561
|
-
/**
|
|
11562
|
-
|
|
11563
|
-
/**
|
|
11564
|
-
|
|
11565
|
-
/**
|
|
11566
|
-
|
|
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
|
|
11567
11983
|
/** 创建时间 */
|
|
11568
|
-
create_time
|
|
11569
|
-
/**
|
|
11570
|
-
|
|
11571
|
-
|
|
11572
|
-
|
|
11573
|
-
|
|
11574
|
-
|
|
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
|
|
11575
11994
|
}
|
|
11576
11995
|
|
|
11577
11996
|
export interface Notification {
|
|
@@ -14958,6 +15377,24 @@ export interface Rating {
|
|
|
14958
15377
|
symbol?: string
|
|
14959
15378
|
}
|
|
14960
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
|
+
|
|
14961
15398
|
export interface ReactionList {
|
|
14962
15399
|
/** 表情类型 */
|
|
14963
15400
|
type?: string
|
|
@@ -17519,6 +17956,24 @@ export interface SubscribeUser {
|
|
|
17519
17956
|
user_id: string
|
|
17520
17957
|
}
|
|
17521
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
|
+
|
|
17522
17977
|
export interface SupportCostCenterItem {
|
|
17523
17978
|
/** 支持的成本中心id */
|
|
17524
17979
|
cost_center_id?: string
|
|
@@ -18925,10 +19380,10 @@ export interface TimeInfo {
|
|
|
18925
19380
|
}
|
|
18926
19381
|
|
|
18927
19382
|
export interface TimeRange {
|
|
18928
|
-
/**
|
|
18929
|
-
|
|
18930
|
-
/**
|
|
18931
|
-
|
|
19383
|
+
/** 起始时间(iso8601,精确到秒) */
|
|
19384
|
+
start_time?: string
|
|
19385
|
+
/** 截止时间(iso8601,精确到秒) */
|
|
19386
|
+
end_time?: string
|
|
18932
19387
|
}
|
|
18933
19388
|
|
|
18934
19389
|
export interface TimeZone {
|
|
@@ -19315,6 +19770,11 @@ export interface UpdateTextStyleRequest {
|
|
|
19315
19770
|
fields: (1 | 2 | 3 | 4 | 5 | 6 | 7)[]
|
|
19316
19771
|
}
|
|
19317
19772
|
|
|
19773
|
+
export interface UpgradedForm {
|
|
19774
|
+
/** 升级后的表单ID */
|
|
19775
|
+
id?: string
|
|
19776
|
+
}
|
|
19777
|
+
|
|
19318
19778
|
export interface UpsertName {
|
|
19319
19779
|
/** i18n文本 */
|
|
19320
19780
|
name: I18nText
|
|
@@ -19652,6 +20112,19 @@ export interface UserLeave {
|
|
|
19652
20112
|
idempotent_id?: string
|
|
19653
20113
|
}
|
|
19654
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
|
+
|
|
19655
20128
|
export interface UserOpenAppFeedCardDeleter {
|
|
19656
20129
|
/** 业务 ID */
|
|
19657
20130
|
biz_id: string
|