@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
package/src/types/vc.ts CHANGED
@@ -300,6 +300,11 @@ export interface ApplyVcReserveQuery {
300
300
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
301
301
  }
302
302
 
303
+ export interface ApplyVcReserveResponse {
304
+ reserve?: Reserve
305
+ reserve_correction_check_info?: ReserveCorrectionCheckInfo
306
+ }
307
+
303
308
  export interface UpdateVcReserveRequest {
304
309
  /** 预约到期时间(unix时间,单位sec) */
305
310
  end_time?: string
@@ -312,11 +317,20 @@ export interface UpdateVcReserveQuery {
312
317
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
313
318
  }
314
319
 
320
+ export interface UpdateVcReserveResponse {
321
+ reserve?: Reserve
322
+ reserve_correction_check_info?: ReserveCorrectionCheckInfo
323
+ }
324
+
315
325
  export interface GetVcReserveQuery {
316
326
  /** 此次调用中使用的用户ID的类型 */
317
327
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
318
328
  }
319
329
 
330
+ export interface GetVcReserveResponse {
331
+ reserve?: Reserve
332
+ }
333
+
320
334
  export interface GetActiveMeetingVcReserveQuery {
321
335
  /** 是否需要参会人列表,默认为false */
322
336
  with_participants?: boolean
@@ -324,6 +338,10 @@ export interface GetActiveMeetingVcReserveQuery {
324
338
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
325
339
  }
326
340
 
341
+ export interface GetActiveMeetingVcReserveResponse {
342
+ meeting?: Meeting
343
+ }
344
+
327
345
  export interface InviteVcMeetingRequest {
328
346
  /** 被邀请的用户列表 */
329
347
  invitees: MeetingUser[]
@@ -334,6 +352,11 @@ export interface InviteVcMeetingQuery {
334
352
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
335
353
  }
336
354
 
355
+ export interface InviteVcMeetingResponse {
356
+ /** 邀请结果 */
357
+ invite_results?: MeetingInviteStatus[]
358
+ }
359
+
337
360
  export interface KickoutVcMeetingRequest {
338
361
  /** 需踢出的用户列表 */
339
362
  kickout_users: MeetingUser[]
@@ -344,6 +367,11 @@ export interface KickoutVcMeetingQuery {
344
367
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
345
368
  }
346
369
 
370
+ export interface KickoutVcMeetingResponse {
371
+ /** 踢出结果 */
372
+ kickout_results?: MeetingParticipantResult[]
373
+ }
374
+
347
375
  export interface SetHostVcMeetingRequest {
348
376
  /** 将要设置的主持人 */
349
377
  host_user: MeetingUser
@@ -356,6 +384,11 @@ export interface SetHostVcMeetingQuery {
356
384
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
357
385
  }
358
386
 
387
+ export interface SetHostVcMeetingResponse {
388
+ /** 会中当前主持人 */
389
+ host_user?: MeetingUser
390
+ }
391
+
359
392
  export interface GetVcMeetingQuery {
360
393
  /** 是否需要参会人列表 */
361
394
  with_participants?: boolean
@@ -365,6 +398,10 @@ export interface GetVcMeetingQuery {
365
398
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
366
399
  }
367
400
 
401
+ export interface GetVcMeetingResponse {
402
+ meeting?: Meeting
403
+ }
404
+
368
405
  export interface ListByNoVcMeetingQuery extends Pagination {
369
406
  /** 9位会议号 */
370
407
  meeting_no: string
@@ -379,11 +416,22 @@ export interface StartVcMeetingRecordingRequest {
379
416
  timezone?: number
380
417
  }
381
418
 
419
+ export interface GetVcMeetingRecordingResponse {
420
+ recording?: MeetingRecording
421
+ }
422
+
423
+ export const enum SetPermissionVcMeetingRecordingRequestActionType {
424
+ /** 授权 */
425
+ Authorize = 0,
426
+ /** 取消授权 */
427
+ Revoke = 1,
428
+ }
429
+
382
430
  export interface SetPermissionVcMeetingRecordingRequest {
383
431
  /** 授权对象列表 */
384
432
  permission_objects: RecordingPermissionObject[]
385
433
  /** 授权或者取消授权,默认授权 */
386
- action_type?: 0 | 1
434
+ action_type?: SetPermissionVcMeetingRecordingRequestActionType
387
435
  }
388
436
 
389
437
  export interface SetPermissionVcMeetingRecordingQuery {
@@ -391,13 +439,47 @@ export interface SetPermissionVcMeetingRecordingQuery {
391
439
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
392
440
  }
393
441
 
442
+ export const enum GetDailyVcReportQueryUnit {
443
+ /** 中国大陆 */
444
+ CN = 0,
445
+ /** 美国 */
446
+ VA = 1,
447
+ /** 新加坡 */
448
+ SG = 2,
449
+ /** 日本 */
450
+ JP = 3,
451
+ }
452
+
394
453
  export interface GetDailyVcReportQuery {
395
454
  /** 开始时间(unix时间,单位sec) */
396
455
  start_time: string
397
456
  /** 结束时间(unix时间,单位sec) */
398
457
  end_time: string
399
458
  /** 数据驻留地 */
400
- unit?: 0 | 1 | 2 | 3
459
+ unit?: GetDailyVcReportQueryUnit
460
+ }
461
+
462
+ export interface GetDailyVcReportResponse {
463
+ /** 会议报告 */
464
+ meeting_report?: Report
465
+ }
466
+
467
+ export const enum GetTopUserVcReportQueryOrderBy {
468
+ /** 会议数量 */
469
+ MeetingCount = 1,
470
+ /** 会议时长 */
471
+ MeetingDuration = 2,
472
+ }
473
+
474
+ export const enum GetTopUserVcReportQueryUnit {
475
+ /** 中国大陆 */
476
+ CN = 0,
477
+ /** 美国 */
478
+ VA = 1,
479
+ /** 新加坡 */
480
+ SG = 2,
481
+ /** 日本 */
482
+ JP = 3,
401
483
  }
402
484
 
403
485
  export interface GetTopUserVcReportQuery {
@@ -408,20 +490,43 @@ export interface GetTopUserVcReportQuery {
408
490
  /** 取前多少位 */
409
491
  limit: number
410
492
  /** 排序依据(降序) */
411
- order_by: 1 | 2
493
+ order_by: GetTopUserVcReportQueryOrderBy
412
494
  /** 数据驻留地 */
413
- unit?: 0 | 1 | 2 | 3
495
+ unit?: GetTopUserVcReportQueryUnit
414
496
  /** 此次调用中使用的用户ID的类型 */
415
497
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
416
498
  }
417
499
 
500
+ export interface GetTopUserVcReportResponse {
501
+ /** top用户列表 */
502
+ top_user_report?: ReportTopUser[]
503
+ }
504
+
505
+ export const enum MeetingListVcExportRequestMeetingStatus {
506
+ /** 进行中 */
507
+ Ongoing = 1,
508
+ /** 已结束 */
509
+ Past = 2,
510
+ /** 待召开 */
511
+ Future = 3,
512
+ }
513
+
514
+ export const enum MeetingListVcExportRequestMeetingType {
515
+ /** 全部类型(默认) */
516
+ All = 1,
517
+ /** 视频会议 */
518
+ Meeting = 2,
519
+ /** 本地投屏 */
520
+ ShareScreen = 3,
521
+ }
522
+
418
523
  export interface MeetingListVcExportRequest {
419
524
  /** 查询开始时间(unix时间,单位sec) */
420
525
  start_time: string
421
526
  /** 查询结束时间(unix时间,单位sec) */
422
527
  end_time: string
423
528
  /** 会议状态(不传默认为已结束会议) */
424
- meeting_status?: 1 | 2 | 3
529
+ meeting_status?: MeetingListVcExportRequestMeetingStatus
425
530
  /** 按9位会议号筛选(最多一个筛选条件) */
426
531
  meeting_no?: string
427
532
  /** 按参会Lark用户筛选(最多一个筛选条件) */
@@ -429,7 +534,7 @@ export interface MeetingListVcExportRequest {
429
534
  /** 按参会Rooms筛选(最多一个筛选条件) */
430
535
  room_id?: string
431
536
  /** 按会议类型筛选(最多一个筛选条件) */
432
- meeting_type?: 1 | 2 | 3
537
+ meeting_type?: MeetingListVcExportRequestMeetingType
433
538
  }
434
539
 
435
540
  export interface MeetingListVcExportQuery {
@@ -437,13 +542,27 @@ export interface MeetingListVcExportQuery {
437
542
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
438
543
  }
439
544
 
545
+ export interface MeetingListVcExportResponse {
546
+ /** 任务id */
547
+ task_id?: string
548
+ }
549
+
550
+ export const enum ParticipantListVcExportRequestMeetingStatus {
551
+ /** 进行中 */
552
+ Ongoing = 1,
553
+ /** 已结束 */
554
+ Past = 2,
555
+ /** 待召开 */
556
+ Future = 3,
557
+ }
558
+
440
559
  export interface ParticipantListVcExportRequest {
441
560
  /** 会议开始时间(unix时间,单位sec) */
442
561
  meeting_start_time: string
443
562
  /** 会议结束时间(unix时间,单位sec) */
444
563
  meeting_end_time: string
445
564
  /** 会议状态(不传默认为已结束会议) */
446
- meeting_status?: 1 | 2 | 3
565
+ meeting_status?: ParticipantListVcExportRequestMeetingStatus
447
566
  /** 9位会议号 */
448
567
  meeting_no: string
449
568
  /** 按参会Lark用户筛选(最多一个筛选条件) */
@@ -457,6 +576,11 @@ export interface ParticipantListVcExportQuery {
457
576
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
458
577
  }
459
578
 
579
+ export interface ParticipantListVcExportResponse {
580
+ /** 任务id */
581
+ task_id?: string
582
+ }
583
+
460
584
  export interface ParticipantQualityListVcExportRequest {
461
585
  /** 会议开始时间(unix时间,单位sec) */
462
586
  meeting_start_time: string
@@ -477,6 +601,11 @@ export interface ParticipantQualityListVcExportQuery {
477
601
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
478
602
  }
479
603
 
604
+ export interface ParticipantQualityListVcExportResponse {
605
+ /** 任务id */
606
+ task_id?: string
607
+ }
608
+
480
609
  export interface ResourceReservationListVcExportRequest {
481
610
  /** 层级id */
482
611
  room_level_id: string
@@ -492,6 +621,31 @@ export interface ResourceReservationListVcExportRequest {
492
621
  is_exclude?: boolean
493
622
  }
494
623
 
624
+ export interface ResourceReservationListVcExportResponse {
625
+ /** 任务id */
626
+ task_id?: string
627
+ }
628
+
629
+ export const enum GetVcExportResponseStatus {
630
+ /** 处理中 */
631
+ InProgress = 1,
632
+ /** 失败 */
633
+ Failed = 2,
634
+ /** 完成 */
635
+ Done = 3,
636
+ }
637
+
638
+ export interface GetVcExportResponse {
639
+ /** 任务状态 */
640
+ status: GetVcExportResponseStatus
641
+ /** 文件下载地址 */
642
+ url?: string
643
+ /** 文件token */
644
+ file_token?: string
645
+ /** 失败信息 */
646
+ fail_msg?: string
647
+ }
648
+
495
649
  export interface DownloadVcExportQuery {
496
650
  /** 文档token */
497
651
  file_token: string
@@ -506,6 +660,10 @@ export interface CreateVcRoomLevelRequest {
506
660
  custom_group_id?: string
507
661
  }
508
662
 
663
+ export interface CreateVcRoomLevelResponse {
664
+ room_level?: RoomLevel
665
+ }
666
+
509
667
  export interface DelVcRoomLevelRequest {
510
668
  /** 层级ID */
511
669
  room_level_id: string
@@ -522,11 +680,20 @@ export interface PatchVcRoomLevelRequest {
522
680
  custom_group_id?: string
523
681
  }
524
682
 
683
+ export interface GetVcRoomLevelResponse {
684
+ room_level?: RoomLevel
685
+ }
686
+
525
687
  export interface MgetVcRoomLevelRequest {
526
688
  /** 层级id列表 */
527
689
  level_ids: string[]
528
690
  }
529
691
 
692
+ export interface MgetVcRoomLevelResponse {
693
+ /** 层级列表 */
694
+ items?: RoomLevel[]
695
+ }
696
+
530
697
  export interface ListVcRoomLevelQuery extends Pagination {
531
698
  /** 层级ID,不传则返回该租户下第一层级列表 */
532
699
  room_level_id?: string
@@ -537,6 +704,11 @@ export interface SearchVcRoomLevelQuery {
537
704
  custom_level_ids: string
538
705
  }
539
706
 
707
+ export interface SearchVcRoomLevelResponse {
708
+ /** 层级id列表 */
709
+ level_ids?: string[]
710
+ }
711
+
540
712
  export interface CreateVcRoomRequest {
541
713
  /** 会议室名称 */
542
714
  name: string
@@ -559,6 +731,10 @@ export interface CreateVcRoomQuery {
559
731
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
560
732
  }
561
733
 
734
+ export interface CreateVcRoomResponse {
735
+ room?: Room
736
+ }
737
+
562
738
  export interface PatchVcRoomRequest {
563
739
  /** 会议室名称 */
564
740
  name?: string
@@ -586,6 +762,10 @@ export interface GetVcRoomQuery {
586
762
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
587
763
  }
588
764
 
765
+ export interface GetVcRoomResponse {
766
+ room?: Room
767
+ }
768
+
589
769
  export interface MgetVcRoomRequest {
590
770
  /** 会议室id列表 */
591
771
  room_ids: string[]
@@ -596,6 +776,11 @@ export interface MgetVcRoomQuery {
596
776
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
597
777
  }
598
778
 
779
+ export interface MgetVcRoomResponse {
780
+ /** 会议室列表 */
781
+ items?: Room[]
782
+ }
783
+
599
784
  export interface ListVcRoomQuery extends Pagination {
600
785
  /** 层级ID,不传则返回该租户下的所有会议室 */
601
786
  room_level_id?: string
@@ -623,18 +808,39 @@ export interface SearchVcRoomQuery {
623
808
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
624
809
  }
625
810
 
811
+ export const enum GetVcScopeConfigQueryScopeType {
812
+ /** 会议室层级 */
813
+ RoomLevel = 1,
814
+ /** 会议室 */
815
+ Room = 2,
816
+ }
817
+
626
818
  export interface GetVcScopeConfigQuery {
627
819
  /** 查询节点范围 */
628
- scope_type: 1 | 2
820
+ scope_type: GetVcScopeConfigQueryScopeType
629
821
  /** 查询节点ID:如果scope_type为1,则为层级ID,如果scope_type为2,则为会议室ID */
630
822
  scope_id: string
631
823
  /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
632
824
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
633
825
  }
634
826
 
827
+ export interface GetVcScopeConfigResponse {
828
+ /** 当前节点的配置,根据层级顺序从底向上进行合并计算后的结果;如果当前节点某个值已配置,则取该节点的值,否则会从该节点的父层级节点获取,如果父节点依然未配置,则继续向上递归获取;若所有节点均未配置,则该值返回为空 */
829
+ current_config?: ScopeConfig
830
+ /** 所有节点的原始配置,按照层级顺序从底向上返回;如果某节点某个值未配置,则该值返回为空 */
831
+ origin_configs?: ScopeConfig[]
832
+ }
833
+
834
+ export const enum CreateVcScopeConfigRequestScopeType {
835
+ /** 会议室层级 */
836
+ RoomLevel = 1,
837
+ /** 会议室 */
838
+ Room = 2,
839
+ }
840
+
635
841
  export interface CreateVcScopeConfigRequest {
636
842
  /** 查询节点范围 */
637
- scope_type: 1 | 2
843
+ scope_type: CreateVcScopeConfigRequestScopeType
638
844
  /** 查询节点ID:如果scope_type为1,则为层级ID,如果scope_type为2,则为会议室ID */
639
845
  scope_id: string
640
846
  /** 节点配置 */
@@ -655,6 +861,15 @@ export interface ReserveScopeVcReserveConfigQuery {
655
861
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
656
862
  }
657
863
 
864
+ export interface ReserveScopeVcReserveConfigResponse {
865
+ /** 预定审批设置 */
866
+ approve_config?: ApprovalConfig
867
+ /** 预定时间设置 */
868
+ time_config?: TimeConfig
869
+ /** 预定范围设置 */
870
+ reserve_scope_config?: ReserveScopeConfig
871
+ }
872
+
658
873
  export interface PatchVcReserveConfigRequest {
659
874
  /** 1代表层级,2代表会议室 */
660
875
  scope_type: string
@@ -678,6 +893,11 @@ export interface GetVcReserveConfigFormQuery {
678
893
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
679
894
  }
680
895
 
896
+ export interface GetVcReserveConfigFormResponse {
897
+ /** 预定表单 */
898
+ reserve_form_config: ReserveFormConfig
899
+ }
900
+
681
901
  export interface PatchVcReserveConfigFormRequest {
682
902
  /** 1代表层级,2代表会议室 */
683
903
  scope_type: number
@@ -697,6 +917,11 @@ export interface GetVcReserveConfigAdminQuery {
697
917
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
698
918
  }
699
919
 
920
+ export interface GetVcReserveConfigAdminResponse {
921
+ /** 预定管理员/部门 */
922
+ reserve_admin_config: ReserveAdminConfig
923
+ }
924
+
700
925
  export interface PatchVcReserveConfigAdminRequest {
701
926
  /** 1代表层级,2代表会议室 */
702
927
  scope_type: number
@@ -716,6 +941,11 @@ export interface GetVcReserveConfigDisableInformQuery {
716
941
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
717
942
  }
718
943
 
944
+ export interface GetVcReserveConfigDisableInformResponse {
945
+ /** 会议室禁用通知配置 */
946
+ disable_inform?: DisableInformConfig
947
+ }
948
+
719
949
  export interface PatchVcReserveConfigDisableInformRequest {
720
950
  /** 1表示会议室层级,2表示会议室 */
721
951
  scope_type: number
@@ -728,13 +958,31 @@ export interface PatchVcReserveConfigDisableInformQuery {
728
958
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
729
959
  }
730
960
 
961
+ export const enum GetVcMeetingListQueryMeetingStatus {
962
+ /** 进行中 */
963
+ Ongoing = 1,
964
+ /** 已结束 */
965
+ Past = 2,
966
+ /** 待召开 */
967
+ Future = 3,
968
+ }
969
+
970
+ export const enum GetVcMeetingListQueryMeetingType {
971
+ /** 全部类型(默认) */
972
+ All = 1,
973
+ /** 视频会议 */
974
+ Meeting = 2,
975
+ /** 本地投屏 */
976
+ ShareScreen = 3,
977
+ }
978
+
731
979
  export interface GetVcMeetingListQuery extends Pagination {
732
980
  /** 查询开始时间(unix时间,单位sec) */
733
981
  start_time: string
734
982
  /** 查询结束时间(unix时间,单位sec) */
735
983
  end_time: string
736
984
  /** 会议状态 */
737
- meeting_status?: 1 | 2 | 3
985
+ meeting_status?: GetVcMeetingListQueryMeetingStatus
738
986
  /** 按9位会议号筛选(最多一个筛选条件) */
739
987
  meeting_no?: string
740
988
  /** 按参会Lark用户筛选(最多一个筛选条件) */
@@ -742,18 +990,27 @@ export interface GetVcMeetingListQuery extends Pagination {
742
990
  /** 按参会Rooms筛选(最多一个筛选条件) */
743
991
  room_id?: string
744
992
  /** 按会议类型筛选(最多一个筛选条件) */
745
- meeting_type?: 1 | 2 | 3
993
+ meeting_type?: GetVcMeetingListQueryMeetingType
746
994
  /** 此次调用中使用的用户ID的类型 */
747
995
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
748
996
  }
749
997
 
998
+ export const enum GetVcParticipantListQueryMeetingStatus {
999
+ /** 进行中 */
1000
+ Ongoing = 1,
1001
+ /** 已结束 */
1002
+ Past = 2,
1003
+ /** 待召开 */
1004
+ Future = 3,
1005
+ }
1006
+
750
1007
  export interface GetVcParticipantListQuery extends Pagination {
751
1008
  /** 会议开始时间(需要精确到一分钟,unix时间,单位sec) */
752
1009
  meeting_start_time: string
753
1010
  /** 会议结束时间(unix时间,单位sec;对于进行中会议则传0) */
754
1011
  meeting_end_time: string
755
1012
  /** 会议状态(不传默认为已结束会议) */
756
- meeting_status?: 1 | 2 | 3
1013
+ meeting_status?: GetVcParticipantListQueryMeetingStatus
757
1014
  /** 9位会议号 */
758
1015
  meeting_no: string
759
1016
  /** 按参会Lark用户筛选(最多一个筛选条件) */
@@ -796,20 +1053,53 @@ export interface GetVcResourceReservationListQuery extends Pagination {
796
1053
  is_exclude?: boolean
797
1054
  }
798
1055
 
1056
+ export const enum ListVcAlertQueryQueryType {
1057
+ /** 会议室 */
1058
+ Room = 1,
1059
+ /** erc */
1060
+ Erc = 2,
1061
+ /** SIP会议室系统 */
1062
+ Sip = 3,
1063
+ }
1064
+
799
1065
  export interface ListVcAlertQuery extends Pagination {
800
1066
  /** 开始时间(unix时间,单位sec) */
801
1067
  start_time: string
802
1068
  /** 结束时间(unix时间,单位sec) */
803
1069
  end_time: string
804
1070
  /** 查询对象类型 */
805
- query_type?: 1 | 2 | 3
1071
+ query_type?: ListVcAlertQueryQueryType
806
1072
  /** 查询对象ID */
807
1073
  query_value?: string
808
1074
  }
809
1075
 
1076
+ export const enum SetCheckboardAccessCodeVcRoomConfigRequestScope {
1077
+ /** 租户 */
1078
+ Tenant = 1,
1079
+ /** 国家/地区 */
1080
+ CountryDistrict = 2,
1081
+ /** 城市 */
1082
+ City = 3,
1083
+ /** 建筑 */
1084
+ Building = 4,
1085
+ /** 楼层 */
1086
+ Floor = 5,
1087
+ /** 会议室 */
1088
+ Room = 6,
1089
+ }
1090
+
1091
+ export const enum SetCheckboardAccessCodeVcRoomConfigRequestValidDay {
1092
+ /** 1天 */
1093
+ Day = 1,
1094
+ /** 7天 */
1095
+ Week = 7,
1096
+ /** 30天 */
1097
+ Month = 30,
1098
+ }
1099
+
810
1100
  export interface SetCheckboardAccessCodeVcRoomConfigRequest {
811
1101
  /** 设置节点范围 */
812
- scope: 1 | 2 | 3 | 4 | 5 | 6
1102
+ scope: SetCheckboardAccessCodeVcRoomConfigRequestScope
813
1103
  /** 国家/地区ID scope为2,3时需要此参数 */
814
1104
  country_id?: string
815
1105
  /** 城市ID scope为3时需要此参数 */
@@ -821,12 +1111,41 @@ export interface SetCheckboardAccessCodeVcRoomConfigRequest {
821
1111
  /** 会议室ID scope为6时需要此参数 */
822
1112
  room_id?: string
823
1113
  /** 有效天数 */
824
- valid_day: 1 | 7 | 30
1114
+ valid_day: SetCheckboardAccessCodeVcRoomConfigRequestValidDay
1115
+ }
1116
+
1117
+ export interface SetCheckboardAccessCodeVcRoomConfigResponse {
1118
+ /** 部署访问码 */
1119
+ access_code?: string
1120
+ }
1121
+
1122
+ export const enum SetRoomAccessCodeVcRoomConfigRequestScope {
1123
+ /** 租户 */
1124
+ Tenant = 1,
1125
+ /** 国家/地区 */
1126
+ CountryDistrict = 2,
1127
+ /** 城市 */
1128
+ City = 3,
1129
+ /** 建筑 */
1130
+ Building = 4,
1131
+ /** 楼层 */
1132
+ Floor = 5,
1133
+ /** 会议室 */
1134
+ Room = 6,
1135
+ }
1136
+
1137
+ export const enum SetRoomAccessCodeVcRoomConfigRequestValidDay {
1138
+ /** 1天 */
1139
+ Day = 1,
1140
+ /** 7天 */
1141
+ Week = 7,
1142
+ /** 30天 */
1143
+ Month = 30,
825
1144
  }
826
1145
 
827
1146
  export interface SetRoomAccessCodeVcRoomConfigRequest {
828
1147
  /** 设置节点范围 */
829
- scope: 1 | 2 | 3 | 4 | 5 | 6
1148
+ scope: SetRoomAccessCodeVcRoomConfigRequestScope
830
1149
  /** 国家/地区ID scope为2,3时需要此参数 */
831
1150
  country_id?: string
832
1151
  /** 城市ID scope为3时需要此参数 */
@@ -838,12 +1157,32 @@ export interface SetRoomAccessCodeVcRoomConfigRequest {
838
1157
  /** 会议室ID scope为6时需要此参数 */
839
1158
  room_id?: string
840
1159
  /** 有效天数 */
841
- valid_day: 1 | 7 | 30
1160
+ valid_day: SetRoomAccessCodeVcRoomConfigRequestValidDay
1161
+ }
1162
+
1163
+ export interface SetRoomAccessCodeVcRoomConfigResponse {
1164
+ /** 部署访问码 */
1165
+ access_code?: string
1166
+ }
1167
+
1168
+ export const enum QueryVcRoomConfigQueryScope {
1169
+ /** 租户 */
1170
+ Tenant = 1,
1171
+ /** 国家/地区 */
1172
+ CountryDistrict = 2,
1173
+ /** 城市 */
1174
+ City = 3,
1175
+ /** 建筑 */
1176
+ Building = 4,
1177
+ /** 楼层 */
1178
+ Floor = 5,
1179
+ /** 会议室 */
1180
+ Room = 6,
842
1181
  }
843
1182
 
844
1183
  export interface QueryVcRoomConfigQuery {
845
1184
  /** 查询节点范围 */
846
- scope: 1 | 2 | 3 | 4 | 5 | 6
1185
+ scope: QueryVcRoomConfigQueryScope
847
1186
  /** 国家/地区ID scope为2,3时需要此参数 */
848
1187
  country_id?: string
849
1188
  /** 城市ID scope为3时需要此参数 */
@@ -858,9 +1197,37 @@ export interface QueryVcRoomConfigQuery {
858
1197
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
859
1198
  }
860
1199
 
1200
+ export interface QueryVcRoomConfigResponse {
1201
+ /** 飞书会议室背景图 */
1202
+ room_background?: string
1203
+ /** 飞书签到板背景图 */
1204
+ display_background?: string
1205
+ /** 飞书会议室数字标牌 */
1206
+ digital_signage?: RoomDigitalSignage
1207
+ /** 飞书投屏盒子数字标牌 */
1208
+ room_box_digital_signage?: RoomDigitalSignage
1209
+ /** 会议室状态 */
1210
+ room_status?: RoomStatus
1211
+ }
1212
+
1213
+ export const enum SetVcRoomConfigRequestScope {
1214
+ /** 租户 */
1215
+ Tenant = 1,
1216
+ /** 国家/地区 */
1217
+ CountryDistrict = 2,
1218
+ /** 城市 */
1219
+ City = 3,
1220
+ /** 建筑 */
1221
+ Building = 4,
1222
+ /** 楼层 */
1223
+ Floor = 5,
1224
+ /** 会议室 */
1225
+ Room = 6,
1226
+ }
1227
+
861
1228
  export interface SetVcRoomConfigRequest {
862
1229
  /** 设置节点范围 */
863
- scope: 1 | 2 | 3 | 4 | 5 | 6
1230
+ scope: SetVcRoomConfigRequestScope
864
1231
  /** 国家/地区ID scope为2,3时需要此参数 */
865
1232
  country_id?: string
866
1233
  /** 城市ID scope为3时需要此参数 */
@@ -880,173 +1247,6 @@ export interface SetVcRoomConfigQuery {
880
1247
  user_id_type?: 'user_id' | 'union_id' | 'open_id'
881
1248
  }
882
1249
 
883
- export interface ApplyVcReserveResponse {
884
- reserve?: Reserve
885
- reserve_correction_check_info?: ReserveCorrectionCheckInfo
886
- }
887
-
888
- export interface UpdateVcReserveResponse {
889
- reserve?: Reserve
890
- reserve_correction_check_info?: ReserveCorrectionCheckInfo
891
- }
892
-
893
- export interface GetVcReserveResponse {
894
- reserve?: Reserve
895
- }
896
-
897
- export interface GetActiveMeetingVcReserveResponse {
898
- meeting?: Meeting
899
- }
900
-
901
- export interface InviteVcMeetingResponse {
902
- /** 邀请结果 */
903
- invite_results?: MeetingInviteStatus[]
904
- }
905
-
906
- export interface KickoutVcMeetingResponse {
907
- /** 踢出结果 */
908
- kickout_results?: MeetingParticipantResult[]
909
- }
910
-
911
- export interface SetHostVcMeetingResponse {
912
- /** 会中当前主持人 */
913
- host_user?: MeetingUser
914
- }
915
-
916
- export interface GetVcMeetingResponse {
917
- meeting?: Meeting
918
- }
919
-
920
- export interface GetVcMeetingRecordingResponse {
921
- recording?: MeetingRecording
922
- }
923
-
924
- export interface GetDailyVcReportResponse {
925
- /** 会议报告 */
926
- meeting_report?: Report
927
- }
928
-
929
- export interface GetTopUserVcReportResponse {
930
- /** top用户列表 */
931
- top_user_report?: ReportTopUser[]
932
- }
933
-
934
- export interface MeetingListVcExportResponse {
935
- /** 任务id */
936
- task_id?: string
937
- }
938
-
939
- export interface ParticipantListVcExportResponse {
940
- /** 任务id */
941
- task_id?: string
942
- }
943
-
944
- export interface ParticipantQualityListVcExportResponse {
945
- /** 任务id */
946
- task_id?: string
947
- }
948
-
949
- export interface ResourceReservationListVcExportResponse {
950
- /** 任务id */
951
- task_id?: string
952
- }
953
-
954
- export interface GetVcExportResponse {
955
- /** 任务状态 */
956
- status: 1 | 2 | 3
957
- /** 文件下载地址 */
958
- url?: string
959
- /** 文件token */
960
- file_token?: string
961
- /** 失败信息 */
962
- fail_msg?: string
963
- }
964
-
965
- export interface CreateVcRoomLevelResponse {
966
- room_level?: RoomLevel
967
- }
968
-
969
- export interface GetVcRoomLevelResponse {
970
- room_level?: RoomLevel
971
- }
972
-
973
- export interface MgetVcRoomLevelResponse {
974
- /** 层级列表 */
975
- items?: RoomLevel[]
976
- }
977
-
978
- export interface SearchVcRoomLevelResponse {
979
- /** 层级id列表 */
980
- level_ids?: string[]
981
- }
982
-
983
- export interface CreateVcRoomResponse {
984
- room?: Room
985
- }
986
-
987
- export interface GetVcRoomResponse {
988
- room?: Room
989
- }
990
-
991
- export interface MgetVcRoomResponse {
992
- /** 会议室列表 */
993
- items?: Room[]
994
- }
995
-
996
- export interface GetVcScopeConfigResponse {
997
- /** 当前节点的配置,根据层级顺序从底向上进行合并计算后的结果;如果当前节点某个值已配置,则取该节点的值,否则会从该节点的父层级节点获取,如果父节点依然未配置,则继续向上递归获取;若所有节点均未配置,则该值返回为空 */
998
- current_config?: ScopeConfig
999
- /** 所有节点的原始配置,按照层级顺序从底向上返回;如果某节点某个值未配置,则该值返回为空 */
1000
- origin_configs?: ScopeConfig[]
1001
- }
1002
-
1003
- export interface ReserveScopeVcReserveConfigResponse {
1004
- /** 预定审批设置 */
1005
- approve_config?: ApprovalConfig
1006
- /** 预定时间设置 */
1007
- time_config?: TimeConfig
1008
- /** 预定范围设置 */
1009
- reserve_scope_config?: ReserveScopeConfig
1010
- }
1011
-
1012
- export interface GetVcReserveConfigFormResponse {
1013
- /** 预定表单 */
1014
- reserve_form_config: ReserveFormConfig
1015
- }
1016
-
1017
- export interface GetVcReserveConfigAdminResponse {
1018
- /** 预定管理员/部门 */
1019
- reserve_admin_config: ReserveAdminConfig
1020
- }
1021
-
1022
- export interface GetVcReserveConfigDisableInformResponse {
1023
- /** 会议室禁用通知配置 */
1024
- disable_inform?: DisableInformConfig
1025
- }
1026
-
1027
- export interface SetCheckboardAccessCodeVcRoomConfigResponse {
1028
- /** 部署访问码 */
1029
- access_code?: string
1030
- }
1031
-
1032
- export interface SetRoomAccessCodeVcRoomConfigResponse {
1033
- /** 部署访问码 */
1034
- access_code?: string
1035
- }
1036
-
1037
- export interface QueryVcRoomConfigResponse {
1038
- /** 飞书会议室背景图 */
1039
- room_background?: string
1040
- /** 飞书签到板背景图 */
1041
- display_background?: string
1042
- /** 飞书会议室数字标牌 */
1043
- digital_signage?: RoomDigitalSignage
1044
- /** 飞书投屏盒子数字标牌 */
1045
- room_box_digital_signage?: RoomDigitalSignage
1046
- /** 会议室状态 */
1047
- room_status?: RoomStatus
1048
- }
1049
-
1050
1250
  Internal.define({
1051
1251
  '/vc/v1/reserves/apply': {
1052
1252
  POST: 'applyVcReserve',