@satorijs/adapter-lark 3.9.1 → 3.9.2

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 (82) hide show
  1. package/lib/index.cjs +1077 -13
  2. package/lib/types/acs.d.ts +19 -19
  3. package/lib/types/admin.d.ts +58 -32
  4. package/lib/types/aily.d.ts +52 -52
  5. package/lib/types/apaas.d.ts +96 -96
  6. package/lib/types/application.d.ts +151 -67
  7. package/lib/types/approval.d.ts +182 -150
  8. package/lib/types/attendance.d.ts +395 -353
  9. package/lib/types/auth.d.ts +18 -18
  10. package/lib/types/authen.d.ts +24 -24
  11. package/lib/types/baike.d.ts +42 -42
  12. package/lib/types/bitable.d.ts +268 -184
  13. package/lib/types/calendar.d.ts +144 -144
  14. package/lib/types/cardkit.d.ts +8 -8
  15. package/lib/types/contact.d.ts +209 -137
  16. package/lib/types/corehr.d.ts +760 -620
  17. package/lib/types/document_ai.d.ts +68 -68
  18. package/lib/types/docx.d.ts +103 -95
  19. package/lib/types/drive.d.ts +236 -236
  20. package/lib/types/ehr.d.ts +26 -2
  21. package/lib/types/helpdesk.d.ts +155 -155
  22. package/lib/types/hire.d.ts +954 -510
  23. package/lib/types/im.d.ts +446 -446
  24. package/lib/types/index.d.ts +72 -30
  25. package/lib/types/lingo.d.ts +28 -28
  26. package/lib/types/mail.d.ts +192 -192
  27. package/lib/types/minutes.d.ts +4 -4
  28. package/lib/types/okr.d.ts +86 -58
  29. package/lib/types/passport.d.ts +13 -5
  30. package/lib/types/payroll.d.ts +13 -5
  31. package/lib/types/performance.d.ts +85 -79
  32. package/lib/types/personal_settings.d.ts +12 -12
  33. package/lib/types/report.d.ts +11 -5
  34. package/lib/types/search.d.ts +48 -24
  35. package/lib/types/sheets.d.ts +64 -64
  36. package/lib/types/speech_to_text.d.ts +4 -4
  37. package/lib/types/task.d.ts +191 -185
  38. package/lib/types/translation.d.ts +4 -4
  39. package/lib/types/vc.d.ts +335 -155
  40. package/lib/types/wiki.d.ts +48 -48
  41. package/package.json +1 -1
  42. package/src/internal.ts +1 -1
  43. package/src/types/acs.ts +24 -24
  44. package/src/types/admin.ts +69 -39
  45. package/src/types/aily.ts +61 -61
  46. package/src/types/apaas.ts +113 -113
  47. package/src/types/application.ts +173 -79
  48. package/src/types/approval.ts +202 -166
  49. package/src/types/attendance.ts +466 -421
  50. package/src/types/auth.ts +20 -20
  51. package/src/types/authen.ts +28 -28
  52. package/src/types/baike.ts +55 -55
  53. package/src/types/bitable.ts +305 -219
  54. package/src/types/calendar.ts +167 -167
  55. package/src/types/cardkit.ts +10 -10
  56. package/src/types/contact.ts +251 -169
  57. package/src/types/corehr.ts +903 -743
  58. package/src/types/document_ai.ts +85 -85
  59. package/src/types/docx.ts +117 -108
  60. package/src/types/drive.ts +298 -298
  61. package/src/types/ehr.ts +28 -2
  62. package/src/types/helpdesk.ts +181 -181
  63. package/src/types/hire.ts +1081 -591
  64. package/src/types/im.ts +521 -521
  65. package/src/types/index.ts +73 -30
  66. package/src/types/lingo.ts +36 -36
  67. package/src/types/mail.ts +215 -215
  68. package/src/types/minutes.ts +5 -5
  69. package/src/types/okr.ts +98 -66
  70. package/src/types/passport.ts +15 -6
  71. package/src/types/payroll.ts +15 -6
  72. package/src/types/performance.ts +98 -91
  73. package/src/types/personal_settings.ts +15 -15
  74. package/src/types/report.ts +13 -6
  75. package/src/types/search.ts +57 -29
  76. package/src/types/sheets.ts +80 -80
  77. package/src/types/speech_to_text.ts +5 -5
  78. package/src/types/task.ts +238 -231
  79. package/src/types/translation.ts +5 -5
  80. package/src/types/vc.ts +386 -186
  81. package/src/types/wiki.ts +59 -59
  82. package/src/utils.ts +11 -6
@@ -42,7 +42,7 @@ declare module '../internal' {
42
42
  * 搜索日历
43
43
  * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/search
44
44
  */
45
- searchCalendar(body: SearchCalendarRequest, query?: Pagination): Promise<SearchCalendarResponse>
45
+ searchCalendar(body: SearchCalendarRequest, query?: Pagination): Promise<SearchCalendarResponse> & AsyncIterableIterator<Calendar>
46
46
  /**
47
47
  * 订阅日历
48
48
  * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar/subscribe
@@ -117,7 +117,7 @@ declare module '../internal' {
117
117
  * 搜索日程
118
118
  * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/search
119
119
  */
120
- searchCalendarCalendarEvent(calendar_id: string, body: SearchCalendarCalendarEventRequest, query?: SearchCalendarCalendarEventQuery): Promise<SearchCalendarCalendarEventResponse>
120
+ searchCalendarCalendarEvent(calendar_id: string, body: SearchCalendarCalendarEventRequest, query?: SearchCalendarCalendarEventQuery): Promise<SearchCalendarCalendarEventResponse> & AsyncIterableIterator<CalendarEvent>
121
121
  /**
122
122
  * 订阅日程变更事件
123
123
  * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event/subscription
@@ -224,11 +224,44 @@ export interface CreateCalendarRequest {
224
224
  summary_alias?: string
225
225
  }
226
226
 
227
+ export interface CreateCalendarResponse {
228
+ /** 日历信息 */
229
+ calendar?: Calendar
230
+ }
231
+
227
232
  export interface PrimaryCalendarQuery {
228
233
  /** 此次调用中使用的用户ID的类型 */
229
234
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
230
235
  }
231
236
 
237
+ export interface PrimaryCalendarResponse {
238
+ /** 主日历列表 */
239
+ calendars?: UserCalendar[]
240
+ }
241
+
242
+ export interface GetCalendarResponse {
243
+ /** 日历OpenId */
244
+ calendar_id: string
245
+ /** 日历标题 */
246
+ summary?: string
247
+ /** 日历描述 */
248
+ description?: string
249
+ /** 权限 */
250
+ permissions?: 'private' | 'show_only_free_busy' | 'public'
251
+ /** 日历颜色,颜色RGB值的int32表示。客户端展示时会映射到色板上最接近的一种颜色。仅对当前身份生效 */
252
+ color?: number
253
+ /** 日历类型 */
254
+ type?: 'unknown' | 'primary' | 'shared' | 'google' | 'resource' | 'exchange'
255
+ /** 日历备注名,修改或添加后仅对当前身份生效 */
256
+ summary_alias?: string
257
+ /** 对于当前身份,日历是否已经被标记为删除 */
258
+ is_deleted?: boolean
259
+ /** 当前日历是否是第三方数据;三方日历及日程只支持读,不支持写入 */
260
+ is_third_party?: boolean
261
+ /** 当前身份对于该日历的访问权限 */
262
+ role?: 'unknown' | 'free_busy_reader' | 'reader' | 'writer' | 'owner'
263
+ }
264
+
232
265
  export interface ListCalendarFreebusyRequest {
233
266
  /** 查询时段开始时间,需要url编码 */
234
267
  time_min: string
@@ -249,11 +282,27 @@ export interface ListCalendarFreebusyQuery {
249
282
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
250
283
  }
251
284
 
285
+ export interface ListCalendarFreebusyResponse {
286
+ /** 日历上请求时间区间内的忙闲信息 */
287
+ freebusy_list?: Freebusy[]
288
+ }
289
+
252
290
  export interface ListCalendarQuery extends Pagination {
253
291
  /** 上次请求Response返回的增量同步标记,分页请求未结束时为空 */
254
292
  sync_token?: string
255
293
  }
256
294
 
295
+ export interface ListCalendarResponse {
296
+ /** 是否有下一页数据 */
297
+ has_more?: boolean
298
+ /** 下次请求需要带上的分页标记,90 天有效期 */
299
+ page_token?: string
300
+ /** 下次请求需要带上的增量同步标记,90 天有效期 */
301
+ sync_token?: string
302
+ /** 分页加载的日历数据列表 */
303
+ calendar_list?: Calendar[]
304
+ }
305
+
257
306
  export interface PatchCalendarRequest {
258
307
  /** 标题 */
259
308
  summary?: string
@@ -267,11 +316,28 @@ export interface PatchCalendarRequest {
267
316
  summary_alias?: string
268
317
  }
269
318
 
319
+ export interface PatchCalendarResponse {
320
+ /** 日历信息 */
321
+ calendar?: Calendar
322
+ }
323
+
270
324
  export interface SearchCalendarRequest {
271
325
  /** 搜索关键字 */
272
326
  query: string
273
327
  }
274
328
 
329
+ export interface SearchCalendarResponse {
330
+ /** 搜索命中的日历列表 */
331
+ items?: Calendar[]
332
+ /** 下次请求需要带上的分页标记 */
333
+ page_token?: string
334
+ }
335
+
336
+ export interface SubscribeCalendarResponse {
337
+ /** 日历信息 */
338
+ calendar?: Calendar
339
+ }
340
+
275
341
  export interface CreateCalendarCalendarAclRequest {
276
342
  /** 对日历的访问权限 */
277
343
  role: 'unknown' | 'free_busy_reader' | 'reader' | 'writer' | 'owner'
@@ -284,6 +350,15 @@ export interface CreateCalendarCalendarAclQuery {
284
350
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
285
351
  }
286
352
 
353
+ export interface CreateCalendarCalendarAclResponse {
354
+ /** acl资源ID */
355
+ acl_id: string
356
+ /** 对日历的访问权限 */
357
+ role: 'unknown' | 'free_busy_reader' | 'reader' | 'writer' | 'owner'
358
+ /** 权限范围 */
359
+ scope: AclScope
360
+ }
361
+
287
362
  export interface ListCalendarCalendarAclQuery extends Pagination {
288
363
  /** 此次调用中使用的用户ID的类型 */
289
364
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
@@ -329,6 +404,11 @@ export interface CreateCalendarCalendarEventQuery {
329
404
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
330
405
  }
331
406
 
407
+ export interface CreateCalendarCalendarEventResponse {
408
+ /** 日程信息 */
409
+ event?: CalendarEvent
410
+ }
411
+
332
412
  export interface DeleteCalendarCalendarEventQuery {
333
413
  /** 删除日程是否给日程参与人发送bot通知,默认为true */
334
414
  need_notification?: 'true' | 'false'
@@ -372,6 +452,11 @@ export interface PatchCalendarCalendarEventQuery {
372
452
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
373
453
  }
374
454
 
455
+ export interface PatchCalendarCalendarEventResponse {
456
+ /** 日程信息 */
457
+ event?: CalendarEvent
458
+ }
459
+
375
460
  export interface GetCalendarCalendarEventQuery {
376
461
  /** 是否需要返回会前设置 */
377
462
  need_meeting_settings?: boolean
@@ -383,6 +468,11 @@ export interface GetCalendarCalendarEventQuery {
383
468
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
384
469
  }
385
470
 
471
+ export interface GetCalendarCalendarEventResponse {
472
+ /** 日程信息 */
473
+ event?: CalendarEvent
474
+ }
475
+
386
476
  export interface ListCalendarCalendarEventQuery extends Pagination {
387
477
  /** 拉取anchor_time之后的日程,为timestamp */
388
478
  anchor_time?: string
@@ -396,6 +486,17 @@ export interface ListCalendarCalendarEventQuery extends Pagination {
396
486
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
397
487
  }
398
488
 
489
+ export interface ListCalendarCalendarEventResponse {
490
+ /** 是否有下一页数据 */
491
+ has_more?: boolean
492
+ /** 下次请求需要带上的分页标记,90 天有效期 */
493
+ page_token?: string
494
+ /** 下次请求需要带上的增量同步标记,90 天有效期 */
495
+ sync_token?: string
496
+ /** 日程列表 */
497
+ items?: CalendarEvent[]
498
+ }
499
+
399
500
  export interface SearchCalendarCalendarEventRequest {
400
501
  /** 搜索关键字 */
401
502
  query: string
@@ -408,6 +509,13 @@ export interface SearchCalendarCalendarEventQuery extends Pagination {
408
509
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
409
510
  }
410
511
 
512
+ export interface SearchCalendarCalendarEventResponse {
513
+ /** 搜索命中的日程列表 */
514
+ items?: CalendarEvent[]
515
+ /** 下次请求需要带上的分页标记 */
516
+ page_token?: string
517
+ }
518
+
411
519
  export interface ReplyCalendarCalendarEventRequest {
412
520
  /** rsvp-日程状态 */
413
521
  rsvp_status: 'accept' | 'decline' | 'tentative'
@@ -429,11 +537,28 @@ export interface InstanceViewCalendarCalendarEventQuery {
429
537
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
430
538
  }
431
539
 
540
+ export interface InstanceViewCalendarCalendarEventResponse {
541
+ /** 日程instance列表 */
542
+ items?: Instance[]
543
+ }
544
+
545
+ export interface CreateCalendarCalendarEventMeetingChatResponse {
546
+ /** 会议群ID */
547
+ meeting_chat_id?: string
548
+ /** 群分享链接 */
549
+ applink?: string
550
+ }
551
+
432
552
  export interface DeleteCalendarCalendarEventMeetingChatQuery {
433
553
  /** 会议群ID */
434
554
  meeting_chat_id: string
435
555
  }
436
556
 
557
+ export interface CreateCalendarCalendarEventMeetingMinuteResponse {
558
+ /** 文档URL */
559
+ doc_url?: string
560
+ }
561
+
437
562
  export interface CreateCalendarTimeoffEventRequest {
438
563
  /** 用户的user id */
439
564
  user_id: string
@@ -454,6 +579,23 @@ export interface CreateCalendarTimeoffEventQuery {
454
579
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
455
580
  }
456
581
 
582
+ export interface CreateCalendarTimeoffEventResponse {
583
+ /** 休假申请的唯一标识id */
584
+ timeoff_event_id: string
585
+ /** 用户的user id */
586
+ user_id: string
587
+ /** 休假人的时区 */
588
+ timezone: string
589
+ /** 休假开始时间(时间戳)/日期(2021-01-01),为日期时将生成全天日程,且与end_time对应,不符合将返回错误 */
590
+ start_time: string
591
+ /** 休假结束时间(时间戳)/日期(2021-01-01),为日期时将生成全天日程,与start_time对应,不符合将返回错误 */
592
+ end_time: string
593
+ /** 休假日程标题,可自定义例如:"请假中(全天) / 1-Day Time Off","请假中(半天) / 0.5-Day Time Off","长期休假中 / Leave of Absence","请假中" */
594
+ title?: string
595
+ /** 休假日程描述,可自定义,例如:"若拒绝或删除此日程,飞书中相应的“请假”标签将自动消失,而请假系统中的休假申请不会被撤销。If the event is rejected or deleted, corresponding "On Leave" tag in Feishu will disappear, while the leave request in the time off system will not be revoked." */
596
+ description?: string
597
+ }
598
+
457
599
  export interface CreateCalendarCalendarEventAttendeeRequest {
458
600
  /** 新增参与人列表;<br>- 单次请求会议室的数量限制为100。 */
459
601
  attendees?: CalendarEventAttendee[]
@@ -472,6 +614,11 @@ export interface CreateCalendarCalendarEventAttendeeQuery {
472
614
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
473
615
  }
474
616
 
617
+ export interface CreateCalendarCalendarEventAttendeeResponse {
618
+ /** 被添加的参与人列表 */
619
+ attendees?: CalendarEventAttendee[]
620
+ }
621
+
475
622
  export interface BatchDeleteCalendarCalendarEventAttendeeRequest {
476
623
  /** 要移除的参与人 ID 列表。参见[参与人ID说明](/ssl:ttdoc/uAjLw4CM/ukTMukTMukTM/reference/calendar-v4/calendar-event-attendee/introduction#4998889c) */
477
624
  attendee_ids?: string[]
@@ -507,6 +654,17 @@ export interface GenerateCaldavConfCalendarSettingRequest {
507
654
  device_name?: string
508
655
  }
509
656
 
657
+ export interface GenerateCaldavConfCalendarSettingResponse {
658
+ /** caldav密码 */
659
+ password?: string
660
+ /** caldav用户名 */
661
+ user_name?: string
662
+ /** 服务器地址 */
663
+ server_address?: string
664
+ /** 设备名 */
665
+ device_name?: string
666
+ }
667
+
510
668
  export interface CreateCalendarExchangeBindingRequest {
511
669
  /** admin账户 */
512
670
  admin_account?: string
@@ -521,169 +679,6 @@ export interface CreateCalendarExchangeBindingQuery {
521
679
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
522
680
  }
523
681
 
524
- export interface GetCalendarExchangeBindingQuery {
525
- /** 此次调用中使用的用户ID的类型 */
526
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
527
- }
528
-
529
- export interface CreateCalendarResponse {
530
- /** 日历信息 */
531
- calendar?: Calendar
532
- }
533
-
534
- export interface PrimaryCalendarResponse {
535
- /** 主日历列表 */
536
- calendars?: UserCalendar[]
537
- }
538
-
539
- export interface GetCalendarResponse {
540
- /** 日历OpenId */
541
- calendar_id: string
542
- /** 日历标题 */
543
- summary?: string
544
- /** 日历描述 */
545
- description?: string
546
- /** 权限 */
547
- permissions?: 'private' | 'show_only_free_busy' | 'public'
548
- /** 日历颜色,颜色RGB值的int32表示。客户端展示时会映射到色板上最接近的一种颜色。仅对当前身份生效 */
549
- color?: number
550
- /** 日历类型 */
551
- type?: 'unknown' | 'primary' | 'shared' | 'google' | 'resource' | 'exchange'
552
- /** 日历备注名,修改或添加后仅对当前身份生效 */
553
- summary_alias?: string
554
- /** 对于当前身份,日历是否已经被标记为删除 */
555
- is_deleted?: boolean
556
- /** 当前日历是否是第三方数据;三方日历及日程只支持读,不支持写入 */
557
- is_third_party?: boolean
558
- /** 当前身份对于该日历的访问权限 */
559
- role?: 'unknown' | 'free_busy_reader' | 'reader' | 'writer' | 'owner'
560
- }
561
-
562
- export interface ListCalendarFreebusyResponse {
563
- /** 日历上请求时间区间内的忙闲信息 */
564
- freebusy_list?: Freebusy[]
565
- }
566
-
567
- export interface ListCalendarResponse {
568
- /** 是否有下一页数据 */
569
- has_more?: boolean
570
- /** 下次请求需要带上的分页标记,90 天有效期 */
571
- page_token?: string
572
- /** 下次请求需要带上的增量同步标记,90 天有效期 */
573
- sync_token?: string
574
- /** 分页加载的日历数据列表 */
575
- calendar_list?: Calendar[]
576
- }
577
-
578
- export interface PatchCalendarResponse {
579
- /** 日历信息 */
580
- calendar?: Calendar
581
- }
582
-
583
- export interface SearchCalendarResponse {
584
- /** 搜索命中的日历列表 */
585
- items?: Calendar[]
586
- /** 下次请求需要带上的分页标记 */
587
- page_token?: string
588
- }
589
-
590
- export interface SubscribeCalendarResponse {
591
- /** 日历信息 */
592
- calendar?: Calendar
593
- }
594
-
595
- export interface CreateCalendarCalendarAclResponse {
596
- /** acl资源ID */
597
- acl_id: string
598
- /** 对日历的访问权限 */
599
- role: 'unknown' | 'free_busy_reader' | 'reader' | 'writer' | 'owner'
600
- /** 权限范围 */
601
- scope: AclScope
602
- }
603
-
604
- export interface CreateCalendarCalendarEventResponse {
605
- /** 日程信息 */
606
- event?: CalendarEvent
607
- }
608
-
609
- export interface PatchCalendarCalendarEventResponse {
610
- /** 日程信息 */
611
- event?: CalendarEvent
612
- }
613
-
614
- export interface GetCalendarCalendarEventResponse {
615
- /** 日程信息 */
616
- event?: CalendarEvent
617
- }
618
-
619
- export interface ListCalendarCalendarEventResponse {
620
- /** 是否有下一页数据 */
621
- has_more?: boolean
622
- /** 下次请求需要带上的分页标记,90 天有效期 */
623
- page_token?: string
624
- /** 下次请求需要带上的增量同步标记,90 天有效期 */
625
- sync_token?: string
626
- /** 日程列表 */
627
- items?: CalendarEvent[]
628
- }
629
-
630
- export interface SearchCalendarCalendarEventResponse {
631
- /** 搜索命中的日程列表 */
632
- items?: CalendarEvent[]
633
- /** 下次请求需要带上的分页标记 */
634
- page_token?: string
635
- }
636
-
637
- export interface InstanceViewCalendarCalendarEventResponse {
638
- /** 日程instance列表 */
639
- items?: Instance[]
640
- }
641
-
642
- export interface CreateCalendarCalendarEventMeetingChatResponse {
643
- /** 会议群ID */
644
- meeting_chat_id?: string
645
- /** 群分享链接 */
646
- applink?: string
647
- }
648
-
649
- export interface CreateCalendarCalendarEventMeetingMinuteResponse {
650
- /** 文档URL */
651
- doc_url?: string
652
- }
653
-
654
- export interface CreateCalendarTimeoffEventResponse {
655
- /** 休假申请的唯一标识id */
656
- timeoff_event_id: string
657
- /** 用户的user id */
658
- user_id: string
659
- /** 休假人的时区 */
660
- timezone: string
661
- /** 休假开始时间(时间戳)/日期(2021-01-01),为日期时将生成全天日程,且与end_time对应,不符合将返回错误 */
662
- start_time: string
663
- /** 休假结束时间(时间戳)/日期(2021-01-01),为日期时将生成全天日程,与start_time对应,不符合将返回错误 */
664
- end_time: string
665
- /** 休假日程标题,可自定义例如:"请假中(全天) / 1-Day Time Off","请假中(半天) / 0.5-Day Time Off","长期休假中 / Leave of Absence","请假中" */
666
- title?: string
667
- /** 休假日程描述,可自定义,例如:"若拒绝或删除此日程,飞书中相应的“请假”标签将自动消失,而请假系统中的休假申请不会被撤销。If the event is rejected or deleted, corresponding "On Leave" tag in Feishu will disappear, while the leave request in the time off system will not be revoked." */
668
- description?: string
669
- }
670
-
671
- export interface CreateCalendarCalendarEventAttendeeResponse {
672
- /** 被添加的参与人列表 */
673
- attendees?: CalendarEventAttendee[]
674
- }
675
-
676
- export interface GenerateCaldavConfCalendarSettingResponse {
677
- /** caldav密码 */
678
- password?: string
679
- /** caldav用户名 */
680
- user_name?: string
681
- /** 服务器地址 */
682
- server_address?: string
683
- /** 设备名 */
684
- device_name?: string
685
- }
686
-
687
682
  export interface CreateCalendarExchangeBindingResponse {
688
683
  /** admin账户 */
689
684
  admin_account?: string
@@ -697,6 +692,11 @@ export interface CreateCalendarExchangeBindingResponse {
697
692
  exchange_binding_id: string
698
693
  }
699
694
 
695
+ export interface GetCalendarExchangeBindingQuery {
696
+ /** 此次调用中使用的用户ID的类型 */
697
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
698
+ }
699
+
700
700
  export interface GetCalendarExchangeBindingResponse {
701
701
  /** admin账户 */
702
702
  admin_account?: string
@@ -727,7 +727,7 @@ Internal.define({
727
727
  POST: 'listCalendarFreebusy',
728
728
  },
729
729
  '/calendar/v4/calendars/search': {
730
- POST: 'searchCalendar',
730
+ POST: { name: 'searchCalendar', pagination: { argIndex: 1 } },
731
731
  },
732
732
  '/calendar/v4/calendars/{calendar_id}/subscribe': {
733
733
  POST: 'subscribeCalendar',
@@ -764,7 +764,7 @@ Internal.define({
764
764
  GET: 'getCalendarCalendarEvent',
765
765
  },
766
766
  '/calendar/v4/calendars/{calendar_id}/events/search': {
767
- POST: 'searchCalendarCalendarEvent',
767
+ POST: { name: 'searchCalendarCalendarEvent', pagination: { argIndex: 2 } },
768
768
  },
769
769
  '/calendar/v4/calendars/{calendar_id}/events/subscription': {
770
770
  POST: 'subscriptionCalendarCalendarEvent',
@@ -63,6 +63,11 @@ export interface CreateCardkitCardRequest {
63
63
  data: string
64
64
  }
65
65
 
66
+ export interface CreateCardkitCardResponse {
67
+ /** 卡片ID */
68
+ card_id: string
69
+ }
70
+
66
71
  export interface SettingsCardkitCardRequest {
67
72
  /** 卡片设置 */
68
73
  settings: string
@@ -95,6 +100,11 @@ export interface IdConvertCardkitCardRequest {
95
100
  message_id: string
96
101
  }
97
102
 
103
+ export interface IdConvertCardkitCardResponse {
104
+ /** 消息 ID 对应的卡片 ID */
105
+ card_id?: string
106
+ }
107
+
98
108
  export interface CreateCardkitCardElementRequest {
99
109
  /** 添加组件的方式 */
100
110
  type: 'insert_before' | 'insert_after' | 'append'
@@ -142,16 +152,6 @@ export interface DeleteCardkitCardElementRequest {
142
152
  sequence: number
143
153
  }
144
154
 
145
- export interface CreateCardkitCardResponse {
146
- /** 卡片ID */
147
- card_id: string
148
- }
149
-
150
- export interface IdConvertCardkitCardResponse {
151
- /** 消息 ID 对应的卡片 ID */
152
- card_id?: string
153
- }
154
-
155
155
  Internal.define({
156
156
  '/cardkit/v1/cards': {
157
157
  POST: 'createCardkitCard',