@satorijs/adapter-lark 3.11.8 → 3.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/lib/bot.d.ts +5 -5
  2. package/lib/http.d.ts +6 -3
  3. package/lib/index.cjs +634 -261
  4. package/lib/types/acs.d.ts +4 -1
  5. package/lib/types/aily.d.ts +3 -3
  6. package/lib/types/apaas.d.ts +190 -28
  7. package/lib/types/application.d.ts +20 -4
  8. package/lib/types/approval.d.ts +0 -13
  9. package/lib/types/attendance.d.ts +11 -5
  10. package/lib/types/authen.d.ts +8 -2
  11. package/lib/types/bitable.d.ts +25 -4
  12. package/lib/types/board.d.ts +56 -0
  13. package/lib/types/calendar.d.ts +71 -5
  14. package/lib/types/cardkit.d.ts +2 -2
  15. package/lib/types/compensation.d.ts +400 -0
  16. package/lib/types/contact.d.ts +55 -12
  17. package/lib/types/corehr.d.ts +1287 -79
  18. package/lib/types/directory.d.ts +3 -41
  19. package/lib/types/docx.d.ts +23 -0
  20. package/lib/types/drive.d.ts +107 -90
  21. package/lib/types/ehr.d.ts +11 -2
  22. package/lib/types/helpdesk.d.ts +15 -6
  23. package/lib/types/hire.d.ts +52 -3
  24. package/lib/types/human_authentication.d.ts +1 -1
  25. package/lib/types/im.d.ts +77 -21
  26. package/lib/types/index.d.ts +1670 -105
  27. package/lib/types/mail.d.ts +106 -16
  28. package/lib/types/payroll.d.ts +117 -81
  29. package/lib/types/performance.d.ts +1 -1
  30. package/lib/types/search.d.ts +4 -1
  31. package/lib/types/security_and_compliance.d.ts +254 -1
  32. package/lib/ws.d.ts +30 -0
  33. package/package.json +6 -3
  34. package/src/bot.ts +28 -15
  35. package/src/http.ts +10 -4
  36. package/src/types/acs.ts +4 -1
  37. package/src/types/aily.ts +3 -3
  38. package/src/types/apaas.ts +237 -38
  39. package/src/types/application.ts +20 -4
  40. package/src/types/approval.ts +0 -15
  41. package/src/types/attendance.ts +11 -5
  42. package/src/types/authen.ts +8 -2
  43. package/src/types/bitable.ts +25 -4
  44. package/src/types/board.ts +75 -2
  45. package/src/types/calendar.ts +88 -5
  46. package/src/types/cardkit.ts +2 -2
  47. package/src/types/compensation.ts +485 -0
  48. package/src/types/contact.ts +55 -12
  49. package/src/types/corehr.ts +1480 -123
  50. package/src/types/directory.ts +3 -53
  51. package/src/types/docx.ts +29 -0
  52. package/src/types/drive.ts +129 -112
  53. package/src/types/ehr.ts +11 -2
  54. package/src/types/helpdesk.ts +15 -6
  55. package/src/types/hire.ts +66 -3
  56. package/src/types/human_authentication.ts +1 -1
  57. package/src/types/im.ts +77 -21
  58. package/src/types/index.ts +1751 -107
  59. package/src/types/mail.ts +106 -16
  60. package/src/types/payroll.ts +146 -103
  61. package/src/types/performance.ts +1 -1
  62. package/src/types/search.ts +4 -1
  63. package/src/types/security_and_compliance.ts +292 -1
  64. package/src/ws.ts +183 -0
  65. package/lib/types/api.d.ts +0 -28510
  66. package/lib/types/internal.d.ts +0 -21
  67. package/lib/types/message/content.d.ts +0 -433
  68. package/lib/types/message/index.d.ts +0 -95
package/src/types/hire.ts CHANGED
@@ -28,10 +28,12 @@ export namespace Hire {
28
28
  interviewRoundType: InterviewRoundType.Methods
29
29
  interviewRegistrationSchema: InterviewRegistrationSchema.Methods
30
30
  interviewer: Interviewer.Methods
31
+ offerApprovalTemplate: OfferApprovalTemplate.Methods
31
32
  offerCustomField: OfferCustomField.Methods
32
33
  offerApplicationForm: OfferApplicationForm.Methods
33
34
  referral: Referral.Methods
34
35
  referralWebsite: ReferralWebsite.Methods
36
+ portalApplySchema: PortalApplySchema.Methods
35
37
  website: Website.Methods
36
38
  agency: Agency.Methods
37
39
  talent: Talent.Methods
@@ -1238,6 +1240,21 @@ export namespace Hire {
1238
1240
  }
1239
1241
  }
1240
1242
 
1243
+ export namespace OfferApprovalTemplate {
1244
+ export interface Methods {
1245
+ /**
1246
+ * 获取 Offer 审批流列表
1247
+ * @see https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/offer_approval_template/list
1248
+ */
1249
+ list(query?: ListQuery): Paginated<Lark.OfferApprovalTemplate>
1250
+ }
1251
+
1252
+ export interface ListQuery extends Pagination {
1253
+ /** 此次调用中使用的部门 ID 的类型 */
1254
+ department_id_type?: 'open_department_id' | 'department_id' | 'people_admin_department_id'
1255
+ }
1256
+ }
1257
+
1241
1258
  export namespace OfferCustomField {
1242
1259
  export interface Methods {
1243
1260
  /**
@@ -1373,6 +1390,16 @@ export namespace Hire {
1373
1390
  }
1374
1391
  }
1375
1392
 
1393
+ export namespace PortalApplySchema {
1394
+ export interface Methods {
1395
+ /**
1396
+ * 获取申请表模板列表
1397
+ * @see https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/portal_apply_schema/list
1398
+ */
1399
+ list(query?: Pagination): Paginated<Lark.RegistrationSchema>
1400
+ }
1401
+ }
1402
+
1376
1403
  export namespace Website {
1377
1404
  export interface Methods {
1378
1405
  channel: Channel.Methods
@@ -1855,7 +1882,7 @@ export namespace Hire {
1855
1882
  }
1856
1883
 
1857
1884
  export interface CombinedCreateRequest {
1858
- /** 简历来源 ID,可通过[获取简历来源列表](/ssl:ttdoc/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/talent_object/query)接口查询 */
1885
+ /** 简历来源 ID,可通过[获取简历来源列表](https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/talent_object/query)接口查询 */
1859
1886
  init_source_id?: string
1860
1887
  /** 简历来源 ID */
1861
1888
  resume_source_id?: string
@@ -1908,7 +1935,7 @@ export namespace Hire {
1908
1935
  export interface CombinedUpdateRequest {
1909
1936
  /** 人才 ID */
1910
1937
  talent_id: string
1911
- /** 简历来源 ID,可通过[获取简历来源列表](/ssl:ttdoc/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/talent_object/query)接口查询 */
1938
+ /** 简历来源 ID,可通过[获取简历来源列表](https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/talent_object/query)接口查询 */
1912
1939
  init_source_id?: string
1913
1940
  /** 文件夹 ID 列表 */
1914
1941
  folder_id_list?: string[]
@@ -3054,7 +3081,7 @@ export namespace Hire {
3054
3081
  exam_resource_name: string
3055
3082
  /** 笔试分数 */
3056
3083
  score: number
3057
- /** 报告附件,使用[创建附件](/ssl:ttdoc/ukTMukTMukTM/uIDN1YjLyQTN24iM0UjN/create_attachment)上传,获取附件ID,支持的文件格式:JPG、JPEG、PNG、PDF,不超过 100MB。 */
3084
+ /** 报告附件,使用[创建附件](https://open.feishu.cn/document/ukTMukTMukTM/uIDN1YjLyQTN24iM0UjN/create_attachment)上传,获取附件ID,支持的文件格式:JPG、JPEG、PNG、PDF,不超过 100MB。 */
3058
3085
  uuid?: string
3059
3086
  /** 添加人 ID */
3060
3087
  operator_id: string
@@ -3461,6 +3488,11 @@ export namespace Hire {
3461
3488
  * @see https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/background_check_order/list
3462
3489
  */
3463
3490
  list(query?: ListQuery): Paginated<Lark.BackgroundCheckOrder>
3491
+ /**
3492
+ * 查询背调信息列表
3493
+ * @see https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/background_check_order/batch_query
3494
+ */
3495
+ batchQuery(body: BatchQueryRequest, query?: BatchQueryQuery): Paginated<Lark.BackgroundCheckOrder>
3464
3496
  }
3465
3497
 
3466
3498
  export interface ListQuery extends Pagination {
@@ -3473,6 +3505,28 @@ export namespace Hire {
3473
3505
  /** 最晚更新时间,毫秒级时间戳 */
3474
3506
  update_end_time?: string
3475
3507
  }
3508
+
3509
+ export interface BatchQueryRequest {
3510
+ /** 背调订单 ID 列表 */
3511
+ background_check_order_id_list?: string[]
3512
+ /** 最早更新时间,毫秒级时间戳 */
3513
+ update_start_time?: string
3514
+ /** 最晚更新时间,毫秒级时间戳 */
3515
+ update_end_time?: string
3516
+ /** 最早创建时间,毫秒级时间戳 */
3517
+ begin_start_time?: string
3518
+ /** 最晚创建时间,毫秒级时间戳 */
3519
+ begin_end_time?: string
3520
+ /** 投递 ID */
3521
+ application_id?: string
3522
+ /** 订单状态 */
3523
+ order_status?: '2' | '3' | '4' | '5' | '6' | '8' | '9'
3524
+ }
3525
+
3526
+ export interface BatchQueryQuery extends Pagination {
3527
+ /** 用户 ID 类型 */
3528
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
3529
+ }
3476
3530
  }
3477
3531
 
3478
3532
  export namespace TripartiteAgreement {
@@ -4453,6 +4507,9 @@ Internal.define({
4453
4507
  '/hire/v1/interviewers/{interviewer_id}': {
4454
4508
  PATCH: 'hire.interviewer.patch',
4455
4509
  },
4510
+ '/hire/v1/offer_approval_templates': {
4511
+ GET: { name: 'hire.offerApprovalTemplate.list', pagination: { argIndex: 0 } },
4512
+ },
4456
4513
  '/hire/v1/offer_custom_fields/{offer_custom_field_id}': {
4457
4514
  PUT: 'hire.offerCustomField.update',
4458
4515
  },
@@ -4474,6 +4531,9 @@ Internal.define({
4474
4531
  '/hire/v1/referrals/get_by_application': {
4475
4532
  GET: 'hire.referral.getByApplication',
4476
4533
  },
4534
+ '/hire/v1/portal_apply_schemas': {
4535
+ GET: { name: 'hire.portalApplySchema.list', pagination: { argIndex: 0 } },
4536
+ },
4477
4537
  '/hire/v1/websites/{website_id}/channels': {
4478
4538
  POST: 'hire.website.channel.create',
4479
4539
  GET: { name: 'hire.website.channel.list', pagination: { argIndex: 1, itemsKey: 'website_channel_list' } },
@@ -4701,6 +4761,9 @@ Internal.define({
4701
4761
  '/hire/v1/background_check_orders': {
4702
4762
  GET: { name: 'hire.backgroundCheckOrder.list', pagination: { argIndex: 0 } },
4703
4763
  },
4764
+ '/hire/v1/background_check_orders/batch_query': {
4765
+ POST: { name: 'hire.backgroundCheckOrder.batchQuery', pagination: { argIndex: 1 } },
4766
+ },
4704
4767
  '/hire/v1/tripartite_agreements': {
4705
4768
  POST: 'hire.tripartiteAgreement.create',
4706
4769
  GET: { name: 'hire.tripartiteAgreement.list', pagination: { argIndex: 0 } },
@@ -30,7 +30,7 @@ export namespace HumanAuthentication {
30
30
  }
31
31
 
32
32
  export interface CreateQuery {
33
- /** 用户的唯一标识(使用的ID类型见下一参数描述,不同ID类型的区别和获取,参考文档:[如何获得 User ID、Open ID 和 Union ID?](/ssl:ttdoc/home/user-identity-introduction/how-to-get)) */
33
+ /** 用户的唯一标识(使用的ID类型见下一参数描述,不同ID类型的区别和获取,参考文档:[如何获得 User ID、Open ID 和 Union ID?](https://open.feishu.cn/document/home/user-identity-introduction/how-to-get)) */
34
34
  user_id: string
35
35
  /** 用户ID类型 open_id/user_id/union_id */
36
36
  user_id_type?: 'open_id' | 'user_id' | 'union_id'
package/src/types/im.ts CHANGED
@@ -94,7 +94,7 @@ export namespace Im {
94
94
  */
95
95
  urgentPhone(message_id: string, body: UrgentPhoneRequest, query?: UrgentPhoneQuery): Promise<UrgentPhoneResponse>
96
96
  /**
97
- * 更新应用发送的消息卡片
97
+ * 更新已发送的消息卡片
98
98
  * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message/patch
99
99
  */
100
100
  patch(message_id: string, body: PatchRequest): Promise<void>
@@ -103,9 +103,14 @@ export namespace Im {
103
103
  export interface CreateRequest {
104
104
  /** 依据receive_id_type的值,填写对应的消息接收者id */
105
105
  receive_id: string
106
- /** 消息类型 包括:text、post、image、file、audio、media、sticker、interactive、share_chat、share_user等,类型定义请参考[发送消息content说明](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/im-v1/message/create_json) */
106
+ /** 消息类型 包括:text、post、image、file、audio、media、sticker、interactive、share_chat、share_user等,类型定义请参考[发送消息content说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/im-v1/message/create_json) */
107
107
  msg_type: string
108
- /** 消息内容,json结构序列化后的字符串。不同msg_type对应不同内容。消息类型 包括:text、post、image、file、audio、media、sticker、interactive、share_chat、share_user等,具体格式说明参考:[发送消息content说明](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/im-v1/message/create_json)<b>请求体大小限制</b>:- 文本消息请求体最大不能超过150KB- 卡片及富文本消息请求体最大不能超过30KB */
108
+ /**
109
+ * 消息内容,json结构序列化后的字符串。不同msg_type对应不同内容。消息类型 包括:text、post、image、file、audio、media、sticker、interactive、share_chat、share_user等,具体格式说明参考:[发送消息content说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/im-v1/message/create_json)
110
+ * <b>请求体大小限制</b>:
111
+ * - 文本消息请求体最大不能超过150KB
112
+ * - 卡片及富文本消息请求体最大不能超过30KB
113
+ */
109
114
  content: string
110
115
  /** 由开发者生成的唯一字符串序列,用于发送消息请求去重;持有相同uuid的请求1小时内至多成功执行一次 */
111
116
  uuid?: string
@@ -148,7 +153,7 @@ export namespace Im {
148
153
  }
149
154
 
150
155
  export interface ReplyRequest {
151
- /** 消息内容 json 格式,格式说明参考: [发送消息content说明](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/im-v1/message/create_json) */
156
+ /** 消息内容 json 格式,格式说明参考: [发送消息content说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/im-v1/message/create_json) */
152
157
  content: string
153
158
  /** 消息类型,包括:text、post、image、file、audio、media、sticker、interactive、share_card、share_user */
154
159
  msg_type: string
@@ -304,7 +309,7 @@ export namespace Im {
304
309
  export interface ListQuery extends Pagination {
305
310
  /** 容器类型 ,目前可选值仅有"chat",包含单聊(p2p)和群聊(group) */
306
311
  container_id_type: string
307
- /** 容器的id,即chat的id,详情参见[群ID 说明](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description) */
312
+ /** 容器的id,即chat的id,详情参见[群ID 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/chat-id-description) */
308
313
  container_id: string
309
314
  /** 历史信息的起始时间(秒级时间戳) */
310
315
  start_time?: string
@@ -370,7 +375,7 @@ export namespace Im {
370
375
  }
371
376
 
372
377
  export interface PatchRequest {
373
- /** 消息内容 json 格式,[发送消息 content 说明](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/im-v1/message/create_json),参考文档中的卡片格式 */
378
+ /** 消息内容 json 格式,[发送消息 content 说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/im-v1/message/create_json),参考文档中的卡片格式 */
374
379
  content: string
375
380
  }
376
381
 
@@ -425,7 +430,10 @@ export namespace Im {
425
430
  }
426
431
 
427
432
  export interface ListQuery extends Pagination {
428
- /** 待查询消息reaction的类型[emoji类型列举](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-reaction/emojis-introduce)。- 不传入该参数,表示拉取所有类型reaction */
433
+ /**
434
+ * 待查询消息reaction的类型[emoji类型列举](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/message-reaction/emojis-introduce)。
435
+ * - 不传入该参数,表示拉取所有类型reaction
436
+ */
429
437
  reaction_type?: string
430
438
  /** 当操作人为用户时返回用户ID的类型 */
431
439
  user_id_type?: 'open_id' | 'union_id' | 'user_id'
@@ -545,7 +553,10 @@ export namespace Im {
545
553
  export interface CreateForm {
546
554
  /** 图片类型 */
547
555
  image_type: 'message' | 'avatar'
548
- /** 图片内容 **注意:** 上传的图片大小不能超过10MB */
556
+ /**
557
+ * 图片内容
558
+ * **注意:** 上传的图片大小不能超过10MB
559
+ */
549
560
  image: Blob
550
561
  }
551
562
 
@@ -689,31 +700,67 @@ export namespace Im {
689
700
  }
690
701
 
691
702
  export interface CreateRequest {
692
- /** 群头像对应的 Image Key,可通过[上传图片](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/im-v1/image/create)获取(注意:上传图片的 ==image_type== 需要指定为 ==avatar==) */
703
+ /** 群头像对应的 Image Key,可通过[上传图片](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/im-v1/image/create)获取(注意:上传图片的 ==image_type== 需要指定为 ==avatar==) */
693
704
  avatar?: string
694
- /** 群名称 **注意:** 公开群名称的长度不得少于2个字符 */
705
+ /**
706
+ * 群名称
707
+ * **注意:** 公开群名称的长度不得少于2个字符
708
+ */
695
709
  name?: string
696
710
  /** 群描述 */
697
711
  description?: string
698
712
  /** 群国际化名称 */
699
713
  i18n_names?: Lark.I18nNames
700
- /** 创建群时指定的群主,不填时指定建群的机器人为群主。群主 ID,ID值与查询参数中的 user_id_type 对应。不同 ID 的说明参见 [用户相关的 ID 概念](/ssl:ttdoc/home/user-identity-introduction/introduction) */
714
+ /**
715
+ * 创建群时指定的群主,不填时指定建群的机器人为群主。
716
+ * 群主 ID,ID值与查询参数中的 user_id_type 对应。
717
+ * 不同 ID 的说明参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction)
718
+ */
701
719
  owner_id?: string
702
720
  /** 创建群时邀请的群成员,id 类型为 user_id_type */
703
721
  user_id_list?: string[]
704
- /** 创建群时邀请的群机器人 **注意:** 拉机器人入群请使用 ==app_id== */
722
+ /**
723
+ * 创建群时邀请的群机器人
724
+ * **注意:** 拉机器人入群请使用 ==app_id==
725
+ */
705
726
  bot_id_list?: string[]
706
727
  /** 群消息模式 */
707
728
  group_message_type?: 'chat' | 'thread'
708
- /** 群模式**可选值有**:- `group`:群组 */
729
+ /**
730
+ * 群模式
731
+ * **可选值有**:
732
+ * - `group`:群组
733
+ */
709
734
  chat_mode?: string
710
- /** 群类型**可选值有**:- `private`:私有群- `public`:公开群 */
735
+ /**
736
+ * 群类型
737
+ * **可选值有**:
738
+ * - `private`:私有群
739
+ * - `public`:公开群
740
+ */
711
741
  chat_type?: string
712
- /** 入群消息可见性**可选值有**:- `only_owner`:仅群主和管理员可见- `all_members`:所有成员可见- `not_anyone`:任何人均不可见 */
742
+ /**
743
+ * 入群消息可见性
744
+ * **可选值有**:
745
+ * - `only_owner`:仅群主和管理员可见
746
+ * - `all_members`:所有成员可见
747
+ * - `not_anyone`:任何人均不可见
748
+ */
713
749
  join_message_visibility?: string
714
- /** 退群消息可见性**可选值有**:- `only_owner`:仅群主和管理员可见- `all_members`:所有成员可见- `not_anyone`:任何人均不可见 */
750
+ /**
751
+ * 退群消息可见性
752
+ * **可选值有**:
753
+ * - `only_owner`:仅群主和管理员可见
754
+ * - `all_members`:所有成员可见
755
+ * - `not_anyone`:任何人均不可见
756
+ */
715
757
  leave_message_visibility?: string
716
- /** 加群审批**可选值有**:- `no_approval_required`:无需审批- `approval_required`:需要审批 */
758
+ /**
759
+ * 加群审批
760
+ * **可选值有**:
761
+ * - `no_approval_required`:无需审批
762
+ * - `approval_required`:需要审批
763
+ */
717
764
  membership_approval?: string
718
765
  /** 防泄密模式设置 */
719
766
  restricted_mode_setting?: Lark.RestrictedModeSetting
@@ -1071,12 +1118,18 @@ export namespace Im {
1071
1118
  }
1072
1119
 
1073
1120
  export interface CreateRequest {
1074
- /** 成员列表<b>注意:</b>每次请求,最多拉50个用户或者5个机器人,并且群组最多容纳15个机器人 */
1121
+ /**
1122
+ * 成员列表
1123
+ * <b>注意:</b>每次请求,最多拉50个用户或者5个机器人,并且群组最多容纳15个机器人
1124
+ */
1075
1125
  id_list?: string[]
1076
1126
  }
1077
1127
 
1078
1128
  export interface CreateQuery {
1079
- /** 进群成员 id 类型 open_id/user_id/union_id/app_id<b>注意:</b>拉机器人入群请使用 ==app_id== */
1129
+ /**
1130
+ * 进群成员 id 类型 open_id/user_id/union_id/app_id
1131
+ * <b>注意:</b>拉机器人入群请使用 ==app_id==
1132
+ */
1080
1133
  member_id_type?: 'user_id' | 'union_id' | 'open_id' | 'app_id'
1081
1134
  /** 出现不可用ID后的处理方式 0/1/2 */
1082
1135
  succeed_type?: 0 | 1 | 2
@@ -1107,7 +1160,7 @@ export namespace Im {
1107
1160
  }
1108
1161
 
1109
1162
  export interface GetQuery extends Pagination {
1110
- /** 群成员 用户 ID 类型,详情参见 [用户相关的 ID 概念](/ssl:ttdoc/home/user-identity-introduction/introduction) */
1163
+ /** 群成员 用户 ID 类型,详情参见 [用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction) */
1111
1164
  member_id_type?: 'user_id' | 'union_id' | 'open_id'
1112
1165
  }
1113
1166
 
@@ -1145,7 +1198,10 @@ export namespace Im {
1145
1198
  export interface PatchRequest {
1146
1199
  /** 文档当前版本号 int64 类型,get 接口会返回 */
1147
1200
  revision: string
1148
- /** 修改文档请求的序列化字段更新公告信息的格式和更新[云文档](/ssl:ttdoc/ukTMukTMukTM/uYDM2YjL2AjN24iNwYjN)格式相同 */
1201
+ /**
1202
+ * 修改文档请求的序列化字段
1203
+ * 更新公告信息的格式和更新[云文档](https://open.feishu.cn/document/ukTMukTMukTM/uYDM2YjL2AjN24iNwYjN)格式相同
1204
+ */
1149
1205
  requests?: string[]
1150
1206
  }
1151
1207