@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.
@@ -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,18 +5670,76 @@ export interface DisplayAppV2 {
5467
5670
  time_zone?: string;
5468
5671
  }
5469
5672
  export interface District {
5470
- /** 区/县 ID */
5471
- district_id?: string;
5673
+ /** 区域的唯一标识 */
5674
+ id?: string;
5472
5675
  /** 名称 */
5473
- name?: I18n[];
5474
- /** 所属城市 ID,详细信息可通过[查询城市信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-city/search)接口获得 */
5475
- city_id?: string;
5476
- /** 行政区划代码 */
5477
- subregion_code?: string;
5478
- /** 状态 */
5479
- status?: 1 | 0;
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;
5693
+ export interface DocFilter {
5694
+ /** 文档所有者OpenID */
5695
+ creator_ids?: string[];
5696
+ /** 文档类型 */
5697
+ doc_types?: ('DOC' | 'SHEET' | 'BITABLE' | 'MINDNOTE' | 'FILE' | 'WIKI' | 'DOCX' | 'FOLDER' | 'CATALOG' | 'SLIDES' | 'SHORTCUT')[];
5698
+ /** 搜索文件夹内的文档(文件夹token列表) */
5699
+ folder_tokens?: string[];
5700
+ /** 仅搜文档标题 */
5701
+ only_title?: boolean;
5702
+ /** 浏览文档的时间范围(秒级时间戳,包含start和end字段) */
5703
+ open_time?: TimeRange;
5704
+ /** 排序方式 */
5705
+ sort_type?: 'DEFAULT_TYPE' | 'OPEN_TIME' | 'EDIT_TIME' | 'EDIT_TIME_ASC' | 'ENTITY_CREATE_TIME_ASC' | 'ENTITY_CREATE_TIME_DESC' | 'CREATE_TIME' | 'CREATE_TIME_ASC';
5706
+ /** 文档创建的时间范围(秒级时间戳,包含start和end字段) */
5707
+ create_time?: TimeRange;
5708
+ }
5709
+ export interface DocMeta {
5710
+ /** 文档类型 */
5711
+ doc_types?: 'DOC' | 'SHEET' | 'BITABLE' | 'MINDNOTE' | 'FILE' | 'WIKI' | 'DOCX' | 'FOLDER' | 'CATALOG' | 'SLIDES' | 'SHORTCUT';
5712
+ /** 更新时间戳(秒) */
5713
+ update_time?: number;
5714
+ /** 文档链接 */
5715
+ url?: string;
5716
+ /** 所有者名称 */
5717
+ owner_name?: string;
5718
+ /** 所有者OpenID */
5719
+ owner_id?: string;
5720
+ /** 是否跨租户 */
5721
+ is_cross_tenant?: boolean;
5722
+ /** 文档创建时间戳(秒) */
5723
+ create_time?: number;
5724
+ /** 上次打开时间戳(秒) */
5725
+ last_open_time?: number;
5726
+ /** 最后一次编辑用户OpenID */
5727
+ edit_user_id?: string;
5728
+ /** 最后一次编辑用户名称 */
5729
+ edit_user_name?: string;
5730
+ /** 文档token */
5731
+ token?: string;
5732
+ }
5733
+ export interface DocResUnit {
5734
+ /** 标题高亮 */
5735
+ title_highlighted?: string;
5736
+ /** 摘要高亮 */
5737
+ summary_highlighted?: string;
5738
+ /** 结果类型 */
5739
+ entity_type?: 'DOC' | 'WIKI';
5740
+ /** 文档搜索元信息 */
5741
+ result_meta?: DocMeta;
5742
+ }
5482
5743
  export interface DocsBlock {
5483
5744
  /** BlockTypeID */
5484
5745
  block_type_id?: string;
@@ -5720,6 +5981,22 @@ export interface Emoji {
5720
5981
  /** emoji类型 */
5721
5982
  emoji_type: string;
5722
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
+ }
5723
6000
  export interface Employee {
5724
6001
  /** user_id转换 */
5725
6002
  user_id?: string;
@@ -6631,6 +6908,12 @@ export interface Event {
6631
6908
  /** event subtype */
6632
6909
  subtype: string;
6633
6910
  }
6911
+ export interface EventAndCallbackEncryptStrategy {
6912
+ /** 加密key, 配置 Encrypt Key 后,开放平台将向请求地址推送加密后的事件 */
6913
+ encryption_key?: string;
6914
+ /** 开放平台向应用推送的事件中都带有此 Token,应用可以据此 Token 验证推送的事件是否属于该应用。 */
6915
+ verification_token?: string;
6916
+ }
6634
6917
  export interface EventLocation {
6635
6918
  /** 地点名称 */
6636
6919
  name?: string;
@@ -7003,6 +7286,12 @@ export interface FailedReason {
7003
7286
  /** 用户id */
7004
7287
  user_id?: string;
7005
7288
  }
7289
+ export interface FailMsgReactionDetails {
7290
+ /** 消息id */
7291
+ message_id?: string;
7292
+ /** 获取表情失败的原因 */
7293
+ fail_reason?: 'invalid' | 'invalid_page_token' | 'no_permission';
7294
+ }
7006
7295
  export interface Faq {
7007
7296
  /** faq id */
7008
7297
  faq_id?: string;
@@ -7068,10 +7357,24 @@ export interface Field {
7068
7357
  child_fields?: ChildField[];
7069
7358
  }
7070
7359
  export interface FieldGroup {
7071
- /** 可写权限的表单项的 id列表 */
7072
- writable: string[];
7073
- /** 可读权限的表单项的 id列表 */
7074
- readable: string[];
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"
7075
7378
  }
7076
7379
  export type FieldName = string;
7077
7380
  export interface FieldVariableSubVlaue {
@@ -7142,6 +7445,14 @@ export interface FieldVariableValueToFile {
7142
7445
  /** 文件类型,如`application/pdf` */
7143
7446
  mime_type?: string;
7144
7447
  }
7448
+ export interface FieldVariableValueToFileForWrite {
7449
+ /** 主数据的文件id */
7450
+ open_file_id?: string;
7451
+ /** 文件名称 */
7452
+ file_name?: string;
7453
+ /** 文件大小,单位:Byte */
7454
+ length?: number;
7455
+ }
7145
7456
  export interface FieldVariableValueToForReview {
7146
7457
  /** 文本值 */
7147
7458
  text_value?: string;
@@ -7165,6 +7476,10 @@ export interface FieldVariableValueToForReview {
7165
7476
  employment_value?: string;
7166
7477
  /** 数组类型值,里面包含多个值,每个元素都对应subValues中的key */
7167
7478
  list_values?: string[];
7479
+ /** 文件类型字段值 */
7480
+ file_value?: FieldVariableValueToFileForWrite;
7481
+ /** record类型字段值 */
7482
+ record_values?: FieldVariableValueToRecord[];
7168
7483
  }
7169
7484
  export interface FieldVariableValueToObject {
7170
7485
  /** wukong的对象唯一标识 */
@@ -7228,6 +7543,14 @@ export interface FileCommentReply {
7228
7543
  /** 回复的其他内容,图片 Token 等 */
7229
7544
  extra?: ReplyExtra;
7230
7545
  }
7546
+ export interface FileCommentV2BatchQueryReactionData {
7547
+ /** 表情回复的唯一标识,用于区分不同类型的评论表情(如点赞、鼓掌等)。 */
7548
+ reaction_key: string;
7549
+ /** 该表情回复的累计使用次数,统计范围为当前评论下所有用户的有效回复记录。 */
7550
+ count: number;
7551
+ /** 用于在界面优先展示核心互动用户。用户ID可通过用户信息查询接口获取。 */
7552
+ ahead_users?: string[];
7553
+ }
7231
7554
  export interface FileConfig {
7232
7555
  /** 仅包含字母数字和下划线的 16 位字符串作为文件的标识,用户生成 */
7233
7556
  file_id: string;
@@ -7420,6 +7743,12 @@ export interface FoodProduceLicense {
7420
7743
  /** 识别出的实体列表 */
7421
7744
  entities?: FoodProduceEntity[];
7422
7745
  }
7746
+ export declare const enum FormDisplayMode {
7747
+ /** 传统布局 */
7748
+ Traditional = "traditional",
7749
+ /** 一页一题布局 */
7750
+ OneQuestionPerPage = "one_question_per_page"
7751
+ }
7423
7752
  export interface Formula {
7424
7753
  /** 公式表达式 */
7425
7754
  expr?: string;
@@ -7671,6 +8000,12 @@ export interface I18nText {
7671
8000
  /** 国际化值,key为zh_cn, ja_jp, en_us, value为对应的值 */
7672
8001
  i18n_value?: Record<string, string>;
7673
8002
  }
8003
+ export interface I18nV2 {
8004
+ /** zh-CN */
8005
+ zh_cn?: string;
8006
+ /** en-US */
8007
+ en_us?: string;
8008
+ }
7674
8009
  export interface IdCard {
7675
8010
  /** 识别的实体列表 */
7676
8011
  entities?: IdEntity[];
@@ -7681,6 +8016,16 @@ export interface IdCard {
7681
8016
  /** 人像四角坐标[x0,y0,x1,y1,x2,y2,x3,y3] */
7682
8017
  face_conners?: number[];
7683
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
+ }
7684
8029
  export interface IdEntity {
7685
8030
  /** 识别的字段种类 */
7686
8031
  type?: 'identity_code' | 'identity_name' | 'address' | 'valid_date_start' | 'valid_date_end' | 'gender' | 'race' | 'issued_by' | 'birth';
@@ -7699,6 +8044,12 @@ export interface IdInfo {
7699
8044
  /** 目标 ID 值 */
7700
8045
  target_id?: string;
7701
8046
  }
8047
+ export interface IdMapItem {
8048
+ /** 源 ID */
8049
+ source_id: string;
8050
+ /** 目标 ID */
8051
+ target_id: string;
8052
+ }
7702
8053
  export interface IdNameObject {
7703
8054
  /** 权限点ID */
7704
8055
  id?: string;
@@ -9584,6 +9935,42 @@ export interface LocationState {
9584
9935
  /** 省份/州地址名称信息聚合 */
9585
9936
  state_name_info?: LocationNameInfo;
9586
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
+ }
9587
9974
  export type Logic = string;
9588
9975
  export interface LookupWithAvatar {
9589
9976
  /** 用户ID */
@@ -9939,6 +10326,16 @@ export interface MeetingAbility {
9939
10326
  /** 是否使用PSTN */
9940
10327
  use_pstn?: boolean;
9941
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
+ }
9942
10339
  export interface MeetingInfo {
9943
10340
  /** 9位会议号 */
9944
10341
  meeting_id?: string;
@@ -9991,6 +10388,14 @@ export interface MeetingInviteStatus {
9991
10388
  /** 邀请结果 */
9992
10389
  status?: 1 | 2;
9993
10390
  }
10391
+ export interface MeetingMeta {
10392
+ /** 跳转链接 */
10393
+ app_link?: string;
10394
+ /** 图标url */
10395
+ avatar?: string;
10396
+ /** 描述,包含会议时间、组织者和会议ID */
10397
+ description?: string;
10398
+ }
9994
10399
  export interface MeetingParticipant {
9995
10400
  /** 用户ID */
9996
10401
  id?: string;
@@ -10025,6 +10430,14 @@ export interface MeetingRecording {
10025
10430
  /** 录制总时长(单位msec) */
10026
10431
  duration?: string;
10027
10432
  }
10433
+ export interface MeetingSearchItem {
10434
+ /** 会议ID(视频会议的唯一标识,视频会议开始后才会产生) */
10435
+ id?: string;
10436
+ /** 包含基本信息的卡片,用户搜索关键词命中的文本片段,使用<h></h>标签包裹标注 */
10437
+ display_info?: string;
10438
+ /** 会议元信息 */
10439
+ meta_data?: MeetingMeta;
10440
+ }
10028
10441
  export interface MeetingSettings {
10029
10442
  /** 设置会议 owner */
10030
10443
  owner_id?: string;
@@ -10177,6 +10590,12 @@ export interface MessageBody {
10177
10590
  /** 消息jsonContent */
10178
10591
  content: string;
10179
10592
  }
10593
+ export interface MessageQuery {
10594
+ /** 消息ID */
10595
+ message_id?: string;
10596
+ /** 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果。 */
10597
+ page_token?: string;
10598
+ }
10180
10599
  export interface MessageReaction {
10181
10600
  /** reaction资源ID */
10182
10601
  reaction_id?: string;
@@ -10439,10 +10858,26 @@ export interface Minute {
10439
10858
  /** 妙记链接 */
10440
10859
  url?: string;
10441
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
+ }
10442
10871
  export interface Minutes {
10443
10872
  /** 速记语音文本列表 */
10444
10873
  sentences?: Sentence[];
10445
10874
  }
10875
+ export interface MinuteTodo {
10876
+ /** 待办内容 */
10877
+ content?: string;
10878
+ /** 负责人 */
10879
+ assignees?: string[];
10880
+ }
10446
10881
  export interface Mobile {
10447
10882
  /** 国家代码 */
10448
10883
  code?: string;
@@ -10642,22 +11077,28 @@ export interface NodeCc {
10642
11077
  value?: string[];
10643
11078
  }
10644
11079
  export interface Note {
10645
- /** ID备注 */
10646
- id?: string;
10647
- /** 人才ID */
10648
- talent_id: string;
10649
- /** 投递ID */
10650
- application_id?: string;
10651
- /** 是否私密 */
10652
- is_private?: boolean;
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;
10653
11092
  /** 创建时间 */
10654
- create_time?: number;
10655
- /** 更新时间 */
10656
- modify_time?: number;
10657
- /** 创建人ID */
10658
- creator_id?: string;
10659
- /** 内容 */
10660
- content: string;
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;
10661
11102
  }
10662
11103
  export interface Notification {
10663
11104
  /** 唯一ID */
@@ -13834,6 +14275,22 @@ export interface Rating {
13834
14275
  /** 评分字段的符号展示 */
13835
14276
  symbol?: string;
13836
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
+ }
13837
14294
  export interface ReactionList {
13838
14295
  /** 表情类型 */
13839
14296
  type?: string;
@@ -16188,6 +16645,22 @@ export interface SubscribeUser {
16188
16645
  /** 预订人id */
16189
16646
  user_id: string;
16190
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
+ }
16191
16664
  export interface SupportCostCenterItem {
16192
16665
  /** 支持的成本中心id */
16193
16666
  cost_center_id?: string;
@@ -17494,6 +17967,12 @@ export interface TimeInfo {
17494
17967
  /** 时区名称,使用IANA Time Zone Database标准,如Asia/Shanghai;全天日程时区固定为UTC,非全天日程时区默认为Asia/Shanghai */
17495
17968
  timezone?: string;
17496
17969
  }
17970
+ export interface TimeRange {
17971
+ /** 起始时间(iso8601,精确到秒) */
17972
+ start_time?: string;
17973
+ /** 截止时间(iso8601,精确到秒) */
17974
+ end_time?: string;
17975
+ }
17497
17976
  export interface TimeZone {
17498
17977
  /** 时区 ID */
17499
17978
  time_zone_id?: string;
@@ -17847,6 +18326,10 @@ export interface UpdateTextStyleRequest {
17847
18326
  /** 应更新的字段,必须至少指定一个字段。例如,要调整 Block 对齐方式,请设置 fields 为 [1]。 */
17848
18327
  fields: (1 | 2 | 3 | 4 | 5 | 6 | 7)[];
17849
18328
  }
18329
+ export interface UpgradedForm {
18330
+ /** 升级后的表单ID */
18331
+ id?: string;
18332
+ }
17850
18333
  export interface UpsertName {
17851
18334
  /** i18n文本 */
17852
18335
  name: I18nText;
@@ -18163,6 +18646,18 @@ export interface UserLeave {
18163
18646
  /** 唯一幂等键 */
18164
18647
  idempotent_id?: string;
18165
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
+ }
18166
18661
  export interface UserOpenAppFeedCardDeleter {
18167
18662
  /** 业务 ID */
18168
18663
  biz_id: string;
@@ -18938,6 +19433,22 @@ export interface WikiCatalog {
18938
19433
  /** 知识库 token */
18939
19434
  wiki_token?: string;
18940
19435
  }
19436
+ export interface WikiFilter {
19437
+ /** Wiki所有者OpenID */
19438
+ creator_ids?: string[];
19439
+ /** Wiki类型 */
19440
+ doc_types?: ('DOC' | 'SHEET' | 'BITABLE' | 'MINDNOTE' | 'FILE' | 'WIKI' | 'DOCX' | 'FOLDER' | 'CATALOG' | 'SLIDES' | 'SHORTCUT')[];
19441
+ /** 搜索某个Space下的Wiki(Space ID列表) */
19442
+ space_ids?: string[];
19443
+ /** 仅搜Wiki标题 */
19444
+ only_title?: boolean;
19445
+ /** 浏览文档的时间范围(秒级时间戳,包含start和end字段) */
19446
+ open_time?: TimeRange;
19447
+ /** 排序方式 */
19448
+ sort_type?: 'DEFAULT_TYPE' | 'OPEN_TIME' | 'EDIT_TIME' | 'EDIT_TIME_ASC' | 'ENTITY_CREATE_TIME_ASC' | 'ENTITY_CREATE_TIME_DESC' | 'CREATE_TIME' | 'CREATE_TIME_ASC';
19449
+ /** Wiki创建的时间范围(秒级时间戳,包含start和end字段) */
19450
+ create_time?: TimeRange;
19451
+ }
18941
19452
  export interface WkCalendarDate {
18942
19453
  /** 工作日历WKID */
18943
19454
  calendar_id?: string;
@@ -19118,6 +19629,54 @@ export interface WorkplaceWidget {
19118
19629
  /** 最低兼容 lark 版本号 */
19119
19630
  min_lark_version?: string;
19120
19631
  }
19632
+ export interface WorkspaceDataTable {
19633
+ /** 数据表名,如 student */
19634
+ name: string;
19635
+ /** 数据表描述 */
19636
+ description: string;
19637
+ /** 数据表列 */
19638
+ columns: WorkspaceDataTableColumnInfo[];
19639
+ }
19640
+ export interface WorkspaceDataTableColumnInfo {
19641
+ /** 列名 */
19642
+ name: string;
19643
+ /** 列描述 */
19644
+ description: string;
19645
+ /** 数据库数据类型 */
19646
+ data_type: string;
19647
+ /** 是否是主键 */
19648
+ is_primary_key: boolean;
19649
+ /** 是否唯一 */
19650
+ is_unique: boolean;
19651
+ /** 是否是自增 */
19652
+ is_auto_increment: boolean;
19653
+ /** 是否是数组类型 */
19654
+ is_array: boolean;
19655
+ /** 是否允许为空 */
19656
+ is_allow_null: boolean;
19657
+ /** 默认值 */
19658
+ default_value: string;
19659
+ }
19660
+ export interface WorkspaceEnum {
19661
+ /** 枚举名称 */
19662
+ name: string;
19663
+ /** 枚举描述 */
19664
+ description: string;
19665
+ /** 枚举值列表 */
19666
+ options: string[];
19667
+ /** 创建时间,毫秒时间戳 */
19668
+ created_at: number;
19669
+ /** 创建人 */
19670
+ created_by?: WorkspaceUserInfo;
19671
+ }
19672
+ export interface WorkspaceUserInfo {
19673
+ /** 用户 id,如 1693861178143800 */
19674
+ id?: string;
19675
+ /** 用户姓名,如王小小 */
19676
+ name?: string;
19677
+ /** 用户头像 URL */
19678
+ avatar?: string;
19679
+ }
19121
19680
  export interface WriteUserGroupScopeData {
19122
19681
  /** 写入成功员工user_id列表 */
19123
19682
  success_user_ids?: string[];