@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/lib/types/vc.d.ts CHANGED
@@ -296,6 +296,10 @@ export interface ApplyVcReserveQuery {
296
296
  /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
297
297
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
298
298
  }
299
+ export interface ApplyVcReserveResponse {
300
+ reserve?: Reserve;
301
+ reserve_correction_check_info?: ReserveCorrectionCheckInfo;
302
+ }
299
303
  export interface UpdateVcReserveRequest {
300
304
  /** 预约到期时间(unix时间,单位sec) */
301
305
  end_time?: string;
@@ -306,16 +310,26 @@ export interface UpdateVcReserveQuery {
306
310
  /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
307
311
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
308
312
  }
313
+ export interface UpdateVcReserveResponse {
314
+ reserve?: Reserve;
315
+ reserve_correction_check_info?: ReserveCorrectionCheckInfo;
316
+ }
309
317
  export interface GetVcReserveQuery {
310
318
  /** 此次调用中使用的用户ID的类型 */
311
319
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
312
320
  }
321
+ export interface GetVcReserveResponse {
322
+ reserve?: Reserve;
323
+ }
313
324
  export interface GetActiveMeetingVcReserveQuery {
314
325
  /** 是否需要参会人列表,默认为false */
315
326
  with_participants?: boolean;
316
327
  /** 此次调用中使用的用户ID的类型 */
317
328
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
318
329
  }
330
+ export interface GetActiveMeetingVcReserveResponse {
331
+ meeting?: Meeting;
332
+ }
319
333
  export interface InviteVcMeetingRequest {
320
334
  /** 被邀请的用户列表 */
321
335
  invitees: MeetingUser[];
@@ -324,6 +338,10 @@ export interface InviteVcMeetingQuery {
324
338
  /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
325
339
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
326
340
  }
341
+ export interface InviteVcMeetingResponse {
342
+ /** 邀请结果 */
343
+ invite_results?: MeetingInviteStatus[];
344
+ }
327
345
  export interface KickoutVcMeetingRequest {
328
346
  /** 需踢出的用户列表 */
329
347
  kickout_users: MeetingUser[];
@@ -332,6 +350,10 @@ export interface KickoutVcMeetingQuery {
332
350
  /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
333
351
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
334
352
  }
353
+ export interface KickoutVcMeetingResponse {
354
+ /** 踢出结果 */
355
+ kickout_results?: MeetingParticipantResult[];
356
+ }
335
357
  export interface SetHostVcMeetingRequest {
336
358
  /** 将要设置的主持人 */
337
359
  host_user: MeetingUser;
@@ -342,6 +364,10 @@ export interface SetHostVcMeetingQuery {
342
364
  /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
343
365
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
344
366
  }
367
+ export interface SetHostVcMeetingResponse {
368
+ /** 会中当前主持人 */
369
+ host_user?: MeetingUser;
370
+ }
345
371
  export interface GetVcMeetingQuery {
346
372
  /** 是否需要参会人列表 */
347
373
  with_participants?: boolean;
@@ -350,6 +376,9 @@ export interface GetVcMeetingQuery {
350
376
  /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
351
377
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
352
378
  }
379
+ export interface GetVcMeetingResponse {
380
+ meeting?: Meeting;
381
+ }
353
382
  export interface ListByNoVcMeetingQuery extends Pagination {
354
383
  /** 9位会议号 */
355
384
  meeting_no: string;
@@ -362,23 +391,62 @@ export interface StartVcMeetingRecordingRequest {
362
391
  /** 录制文件时间显示使用的时区[-12,12] */
363
392
  timezone?: number;
364
393
  }
394
+ export interface GetVcMeetingRecordingResponse {
395
+ recording?: MeetingRecording;
396
+ }
397
+ export declare const enum SetPermissionVcMeetingRecordingRequestActionType {
398
+ /** 授权 */
399
+ Authorize = 0,
400
+ /** 取消授权 */
401
+ Revoke = 1
402
+ }
365
403
  export interface SetPermissionVcMeetingRecordingRequest {
366
404
  /** 授权对象列表 */
367
405
  permission_objects: RecordingPermissionObject[];
368
406
  /** 授权或者取消授权,默认授权 */
369
- action_type?: 0 | 1;
407
+ action_type?: SetPermissionVcMeetingRecordingRequestActionType;
370
408
  }
371
409
  export interface SetPermissionVcMeetingRecordingQuery {
372
410
  /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
373
411
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
374
412
  }
413
+ export declare const enum GetDailyVcReportQueryUnit {
414
+ /** 中国大陆 */
415
+ CN = 0,
416
+ /** 美国 */
417
+ VA = 1,
418
+ /** 新加坡 */
419
+ SG = 2,
420
+ /** 日本 */
421
+ JP = 3
422
+ }
375
423
  export interface GetDailyVcReportQuery {
376
424
  /** 开始时间(unix时间,单位sec) */
377
425
  start_time: string;
378
426
  /** 结束时间(unix时间,单位sec) */
379
427
  end_time: string;
380
428
  /** 数据驻留地 */
381
- unit?: 0 | 1 | 2 | 3;
429
+ unit?: GetDailyVcReportQueryUnit;
430
+ }
431
+ export interface GetDailyVcReportResponse {
432
+ /** 会议报告 */
433
+ meeting_report?: Report;
434
+ }
435
+ export declare const enum GetTopUserVcReportQueryOrderBy {
436
+ /** 会议数量 */
437
+ MeetingCount = 1,
438
+ /** 会议时长 */
439
+ MeetingDuration = 2
440
+ }
441
+ export declare const enum GetTopUserVcReportQueryUnit {
442
+ /** 中国大陆 */
443
+ CN = 0,
444
+ /** 美国 */
445
+ VA = 1,
446
+ /** 新加坡 */
447
+ SG = 2,
448
+ /** 日本 */
449
+ JP = 3
382
450
  }
383
451
  export interface GetTopUserVcReportQuery {
384
452
  /** 开始时间(unix时间,单位sec) */
@@ -388,19 +456,39 @@ export interface GetTopUserVcReportQuery {
388
456
  /** 取前多少位 */
389
457
  limit: number;
390
458
  /** 排序依据(降序) */
391
- order_by: 1 | 2;
459
+ order_by: GetTopUserVcReportQueryOrderBy;
392
460
  /** 数据驻留地 */
393
- unit?: 0 | 1 | 2 | 3;
461
+ unit?: GetTopUserVcReportQueryUnit;
394
462
  /** 此次调用中使用的用户ID的类型 */
395
463
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
396
464
  }
465
+ export interface GetTopUserVcReportResponse {
466
+ /** top用户列表 */
467
+ top_user_report?: ReportTopUser[];
468
+ }
469
+ export declare const enum MeetingListVcExportRequestMeetingStatus {
470
+ /** 进行中 */
471
+ Ongoing = 1,
472
+ /** 已结束 */
473
+ Past = 2,
474
+ /** 待召开 */
475
+ Future = 3
476
+ }
477
+ export declare const enum MeetingListVcExportRequestMeetingType {
478
+ /** 全部类型(默认) */
479
+ All = 1,
480
+ /** 视频会议 */
481
+ Meeting = 2,
482
+ /** 本地投屏 */
483
+ ShareScreen = 3
484
+ }
397
485
  export interface MeetingListVcExportRequest {
398
486
  /** 查询开始时间(unix时间,单位sec) */
399
487
  start_time: string;
400
488
  /** 查询结束时间(unix时间,单位sec) */
401
489
  end_time: string;
402
490
  /** 会议状态(不传默认为已结束会议) */
403
- meeting_status?: 1 | 2 | 3;
491
+ meeting_status?: MeetingListVcExportRequestMeetingStatus;
404
492
  /** 按9位会议号筛选(最多一个筛选条件) */
405
493
  meeting_no?: string;
406
494
  /** 按参会Lark用户筛选(最多一个筛选条件) */
@@ -408,19 +496,31 @@ export interface MeetingListVcExportRequest {
408
496
  /** 按参会Rooms筛选(最多一个筛选条件) */
409
497
  room_id?: string;
410
498
  /** 按会议类型筛选(最多一个筛选条件) */
411
- meeting_type?: 1 | 2 | 3;
499
+ meeting_type?: MeetingListVcExportRequestMeetingType;
412
500
  }
413
501
  export interface MeetingListVcExportQuery {
414
502
  /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
415
503
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
416
504
  }
505
+ export interface MeetingListVcExportResponse {
506
+ /** 任务id */
507
+ task_id?: string;
508
+ }
509
+ export declare const enum ParticipantListVcExportRequestMeetingStatus {
510
+ /** 进行中 */
511
+ Ongoing = 1,
512
+ /** 已结束 */
513
+ Past = 2,
514
+ /** 待召开 */
515
+ Future = 3
516
+ }
417
517
  export interface ParticipantListVcExportRequest {
418
518
  /** 会议开始时间(unix时间,单位sec) */
419
519
  meeting_start_time: string;
420
520
  /** 会议结束时间(unix时间,单位sec) */
421
521
  meeting_end_time: string;
422
522
  /** 会议状态(不传默认为已结束会议) */
423
- meeting_status?: 1 | 2 | 3;
523
+ meeting_status?: ParticipantListVcExportRequestMeetingStatus;
424
524
  /** 9位会议号 */
425
525
  meeting_no: string;
426
526
  /** 按参会Lark用户筛选(最多一个筛选条件) */
@@ -432,6 +532,10 @@ export interface ParticipantListVcExportQuery {
432
532
  /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
433
533
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
434
534
  }
535
+ export interface ParticipantListVcExportResponse {
536
+ /** 任务id */
537
+ task_id?: string;
538
+ }
435
539
  export interface ParticipantQualityListVcExportRequest {
436
540
  /** 会议开始时间(unix时间,单位sec) */
437
541
  meeting_start_time: string;
@@ -450,6 +554,10 @@ export interface ParticipantQualityListVcExportQuery {
450
554
  /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
451
555
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
452
556
  }
557
+ export interface ParticipantQualityListVcExportResponse {
558
+ /** 任务id */
559
+ task_id?: string;
560
+ }
453
561
  export interface ResourceReservationListVcExportRequest {
454
562
  /** 层级id */
455
563
  room_level_id: string;
@@ -464,6 +572,28 @@ export interface ResourceReservationListVcExportRequest {
464
572
  /** 若为true表示导出room_ids范围外的会议室,默认为false */
465
573
  is_exclude?: boolean;
466
574
  }
575
+ export interface ResourceReservationListVcExportResponse {
576
+ /** 任务id */
577
+ task_id?: string;
578
+ }
579
+ export declare const enum GetVcExportResponseStatus {
580
+ /** 处理中 */
581
+ InProgress = 1,
582
+ /** 失败 */
583
+ Failed = 2,
584
+ /** 完成 */
585
+ Done = 3
586
+ }
587
+ export interface GetVcExportResponse {
588
+ /** 任务状态 */
589
+ status: GetVcExportResponseStatus;
590
+ /** 文件下载地址 */
591
+ url?: string;
592
+ /** 文件token */
593
+ file_token?: string;
594
+ /** 失败信息 */
595
+ fail_msg?: string;
596
+ }
467
597
  export interface DownloadVcExportQuery {
468
598
  /** 文档token */
469
599
  file_token: string;
@@ -476,6 +606,9 @@ export interface CreateVcRoomLevelRequest {
476
606
  /** 自定义层级ID */
477
607
  custom_group_id?: string;
478
608
  }
609
+ export interface CreateVcRoomLevelResponse {
610
+ room_level?: RoomLevel;
611
+ }
479
612
  export interface DelVcRoomLevelRequest {
480
613
  /** 层级ID */
481
614
  room_level_id: string;
@@ -490,10 +623,17 @@ export interface PatchVcRoomLevelRequest {
490
623
  /** 自定义层级ID */
491
624
  custom_group_id?: string;
492
625
  }
626
+ export interface GetVcRoomLevelResponse {
627
+ room_level?: RoomLevel;
628
+ }
493
629
  export interface MgetVcRoomLevelRequest {
494
630
  /** 层级id列表 */
495
631
  level_ids: string[];
496
632
  }
633
+ export interface MgetVcRoomLevelResponse {
634
+ /** 层级列表 */
635
+ items?: RoomLevel[];
636
+ }
497
637
  export interface ListVcRoomLevelQuery extends Pagination {
498
638
  /** 层级ID,不传则返回该租户下第一层级列表 */
499
639
  room_level_id?: string;
@@ -502,6 +642,10 @@ export interface SearchVcRoomLevelQuery {
502
642
  /** 用于查询指定会议室的租户自定义会议室ID */
503
643
  custom_level_ids: string;
504
644
  }
645
+ export interface SearchVcRoomLevelResponse {
646
+ /** 层级id列表 */
647
+ level_ids?: string[];
648
+ }
505
649
  export interface CreateVcRoomRequest {
506
650
  /** 会议室名称 */
507
651
  name: string;
@@ -522,6 +666,9 @@ export interface CreateVcRoomQuery {
522
666
  /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
523
667
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
524
668
  }
669
+ export interface CreateVcRoomResponse {
670
+ room?: Room;
671
+ }
525
672
  export interface PatchVcRoomRequest {
526
673
  /** 会议室名称 */
527
674
  name?: string;
@@ -546,6 +693,9 @@ export interface GetVcRoomQuery {
546
693
  /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
547
694
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
548
695
  }
696
+ export interface GetVcRoomResponse {
697
+ room?: Room;
698
+ }
549
699
  export interface MgetVcRoomRequest {
550
700
  /** 会议室id列表 */
551
701
  room_ids: string[];
@@ -554,6 +704,10 @@ export interface MgetVcRoomQuery {
554
704
  /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
555
705
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
556
706
  }
707
+ export interface MgetVcRoomResponse {
708
+ /** 会议室列表 */
709
+ items?: Room[];
710
+ }
557
711
  export interface ListVcRoomQuery extends Pagination {
558
712
  /** 层级ID,不传则返回该租户下的所有会议室 */
559
713
  room_level_id?: string;
@@ -578,17 +732,35 @@ export interface SearchVcRoomQuery {
578
732
  /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
579
733
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
580
734
  }
735
+ export declare const enum GetVcScopeConfigQueryScopeType {
736
+ /** 会议室层级 */
737
+ RoomLevel = 1,
738
+ /** 会议室 */
739
+ Room = 2
740
+ }
581
741
  export interface GetVcScopeConfigQuery {
582
742
  /** 查询节点范围 */
583
- scope_type: 1 | 2;
743
+ scope_type: GetVcScopeConfigQueryScopeType;
584
744
  /** 查询节点ID:如果scope_type为1,则为层级ID,如果scope_type为2,则为会议室ID */
585
745
  scope_id: string;
586
746
  /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
587
747
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
588
748
  }
749
+ export interface GetVcScopeConfigResponse {
750
+ /** 当前节点的配置,根据层级顺序从底向上进行合并计算后的结果;如果当前节点某个值已配置,则取该节点的值,否则会从该节点的父层级节点获取,如果父节点依然未配置,则继续向上递归获取;若所有节点均未配置,则该值返回为空 */
751
+ current_config?: ScopeConfig;
752
+ /** 所有节点的原始配置,按照层级顺序从底向上返回;如果某节点某个值未配置,则该值返回为空 */
753
+ origin_configs?: ScopeConfig[];
754
+ }
755
+ export declare const enum CreateVcScopeConfigRequestScopeType {
756
+ /** 会议室层级 */
757
+ RoomLevel = 1,
758
+ /** 会议室 */
759
+ Room = 2
760
+ }
589
761
  export interface CreateVcScopeConfigRequest {
590
762
  /** 查询节点范围 */
591
- scope_type: 1 | 2;
763
+ scope_type: CreateVcScopeConfigRequestScopeType;
592
764
  /** 查询节点ID:如果scope_type为1,则为层级ID,如果scope_type为2,则为会议室ID */
593
765
  scope_id: string;
594
766
  /** 节点配置 */
@@ -606,6 +778,14 @@ export interface ReserveScopeVcReserveConfigQuery {
606
778
  /** 此次调用中使用的用户ID的类型 */
607
779
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
608
780
  }
781
+ export interface ReserveScopeVcReserveConfigResponse {
782
+ /** 预定审批设置 */
783
+ approve_config?: ApprovalConfig;
784
+ /** 预定时间设置 */
785
+ time_config?: TimeConfig;
786
+ /** 预定范围设置 */
787
+ reserve_scope_config?: ReserveScopeConfig;
788
+ }
609
789
  export interface PatchVcReserveConfigRequest {
610
790
  /** 1代表层级,2代表会议室 */
611
791
  scope_type: string;
@@ -626,6 +806,10 @@ export interface GetVcReserveConfigFormQuery {
626
806
  /** 此次调用中使用的用户ID的类型 */
627
807
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
628
808
  }
809
+ export interface GetVcReserveConfigFormResponse {
810
+ /** 预定表单 */
811
+ reserve_form_config: ReserveFormConfig;
812
+ }
629
813
  export interface PatchVcReserveConfigFormRequest {
630
814
  /** 1代表层级,2代表会议室 */
631
815
  scope_type: number;
@@ -642,6 +826,10 @@ export interface GetVcReserveConfigAdminQuery {
642
826
  /** 此次调用中使用的用户ID的类型 */
643
827
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
644
828
  }
829
+ export interface GetVcReserveConfigAdminResponse {
830
+ /** 预定管理员/部门 */
831
+ reserve_admin_config: ReserveAdminConfig;
832
+ }
645
833
  export interface PatchVcReserveConfigAdminRequest {
646
834
  /** 1代表层级,2代表会议室 */
647
835
  scope_type: number;
@@ -658,6 +846,10 @@ export interface GetVcReserveConfigDisableInformQuery {
658
846
  /** 此次调用中使用的用户ID的类型 */
659
847
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
660
848
  }
849
+ export interface GetVcReserveConfigDisableInformResponse {
850
+ /** 会议室禁用通知配置 */
851
+ disable_inform?: DisableInformConfig;
852
+ }
661
853
  export interface PatchVcReserveConfigDisableInformRequest {
662
854
  /** 1表示会议室层级,2表示会议室 */
663
855
  scope_type: number;
@@ -668,13 +860,29 @@ export interface PatchVcReserveConfigDisableInformQuery {
668
860
  /** 此次调用中使用的用户ID的类型 */
669
861
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
670
862
  }
863
+ export declare const enum GetVcMeetingListQueryMeetingStatus {
864
+ /** 进行中 */
865
+ Ongoing = 1,
866
+ /** 已结束 */
867
+ Past = 2,
868
+ /** 待召开 */
869
+ Future = 3
870
+ }
871
+ export declare const enum GetVcMeetingListQueryMeetingType {
872
+ /** 全部类型(默认) */
873
+ All = 1,
874
+ /** 视频会议 */
875
+ Meeting = 2,
876
+ /** 本地投屏 */
877
+ ShareScreen = 3
878
+ }
671
879
  export interface GetVcMeetingListQuery extends Pagination {
672
880
  /** 查询开始时间(unix时间,单位sec) */
673
881
  start_time: string;
674
882
  /** 查询结束时间(unix时间,单位sec) */
675
883
  end_time: string;
676
884
  /** 会议状态 */
677
- meeting_status?: 1 | 2 | 3;
885
+ meeting_status?: GetVcMeetingListQueryMeetingStatus;
678
886
  /** 按9位会议号筛选(最多一个筛选条件) */
679
887
  meeting_no?: string;
680
888
  /** 按参会Lark用户筛选(最多一个筛选条件) */
@@ -682,17 +890,25 @@ export interface GetVcMeetingListQuery extends Pagination {
682
890
  /** 按参会Rooms筛选(最多一个筛选条件) */
683
891
  room_id?: string;
684
892
  /** 按会议类型筛选(最多一个筛选条件) */
685
- meeting_type?: 1 | 2 | 3;
893
+ meeting_type?: GetVcMeetingListQueryMeetingType;
686
894
  /** 此次调用中使用的用户ID的类型 */
687
895
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
688
896
  }
897
+ export declare const enum GetVcParticipantListQueryMeetingStatus {
898
+ /** 进行中 */
899
+ Ongoing = 1,
900
+ /** 已结束 */
901
+ Past = 2,
902
+ /** 待召开 */
903
+ Future = 3
904
+ }
689
905
  export interface GetVcParticipantListQuery extends Pagination {
690
906
  /** 会议开始时间(需要精确到一分钟,unix时间,单位sec) */
691
907
  meeting_start_time: string;
692
908
  /** 会议结束时间(unix时间,单位sec;对于进行中会议则传0) */
693
909
  meeting_end_time: string;
694
910
  /** 会议状态(不传默认为已结束会议) */
695
- meeting_status?: 1 | 2 | 3;
911
+ meeting_status?: GetVcParticipantListQueryMeetingStatus;
696
912
  /** 9位会议号 */
697
913
  meeting_no: string;
698
914
  /** 按参会Lark用户筛选(最多一个筛选条件) */
@@ -732,19 +948,49 @@ export interface GetVcResourceReservationListQuery extends Pagination {
732
948
  /** 若为true表示导出room_ids范围外的会议室,默认为false */
733
949
  is_exclude?: boolean;
734
950
  }
951
+ export declare const enum ListVcAlertQueryQueryType {
952
+ /** 会议室 */
953
+ Room = 1,
954
+ /** erc */
955
+ Erc = 2,
956
+ /** SIP会议室系统 */
957
+ Sip = 3
958
+ }
735
959
  export interface ListVcAlertQuery extends Pagination {
736
960
  /** 开始时间(unix时间,单位sec) */
737
961
  start_time: string;
738
962
  /** 结束时间(unix时间,单位sec) */
739
963
  end_time: string;
740
964
  /** 查询对象类型 */
741
- query_type?: 1 | 2 | 3;
965
+ query_type?: ListVcAlertQueryQueryType;
742
966
  /** 查询对象ID */
743
967
  query_value?: string;
744
968
  }
969
+ export declare const enum SetCheckboardAccessCodeVcRoomConfigRequestScope {
970
+ /** 租户 */
971
+ Tenant = 1,
972
+ /** 国家/地区 */
973
+ CountryDistrict = 2,
974
+ /** 城市 */
975
+ City = 3,
976
+ /** 建筑 */
977
+ Building = 4,
978
+ /** 楼层 */
979
+ Floor = 5,
980
+ /** 会议室 */
981
+ Room = 6
982
+ }
983
+ export declare const enum SetCheckboardAccessCodeVcRoomConfigRequestValidDay {
984
+ /** 1天 */
985
+ Day = 1,
986
+ /** 7天 */
987
+ Week = 7,
988
+ /** 30天 */
989
+ Month = 30
990
+ }
745
991
  export interface SetCheckboardAccessCodeVcRoomConfigRequest {
746
992
  /** 设置节点范围 */
747
- scope: 1 | 2 | 3 | 4 | 5 | 6;
993
+ scope: SetCheckboardAccessCodeVcRoomConfigRequestScope;
748
994
  /** 国家/地区ID scope为2,3时需要此参数 */
749
995
  country_id?: string;
750
996
  /** 城市ID scope为3时需要此参数 */
@@ -756,11 +1002,37 @@ export interface SetCheckboardAccessCodeVcRoomConfigRequest {
756
1002
  /** 会议室ID scope为6时需要此参数 */
757
1003
  room_id?: string;
758
1004
  /** 有效天数 */
759
- valid_day: 1 | 7 | 30;
1005
+ valid_day: SetCheckboardAccessCodeVcRoomConfigRequestValidDay;
1006
+ }
1007
+ export interface SetCheckboardAccessCodeVcRoomConfigResponse {
1008
+ /** 部署访问码 */
1009
+ access_code?: string;
1010
+ }
1011
+ export declare const enum SetRoomAccessCodeVcRoomConfigRequestScope {
1012
+ /** 租户 */
1013
+ Tenant = 1,
1014
+ /** 国家/地区 */
1015
+ CountryDistrict = 2,
1016
+ /** 城市 */
1017
+ City = 3,
1018
+ /** 建筑 */
1019
+ Building = 4,
1020
+ /** 楼层 */
1021
+ Floor = 5,
1022
+ /** 会议室 */
1023
+ Room = 6
1024
+ }
1025
+ export declare const enum SetRoomAccessCodeVcRoomConfigRequestValidDay {
1026
+ /** 1天 */
1027
+ Day = 1,
1028
+ /** 7天 */
1029
+ Week = 7,
1030
+ /** 30天 */
1031
+ Month = 30
760
1032
  }
761
1033
  export interface SetRoomAccessCodeVcRoomConfigRequest {
762
1034
  /** 设置节点范围 */
763
- scope: 1 | 2 | 3 | 4 | 5 | 6;
1035
+ scope: SetRoomAccessCodeVcRoomConfigRequestScope;
764
1036
  /** 国家/地区ID scope为2,3时需要此参数 */
765
1037
  country_id?: string;
766
1038
  /** 城市ID scope为3时需要此参数 */
@@ -772,11 +1044,29 @@ export interface SetRoomAccessCodeVcRoomConfigRequest {
772
1044
  /** 会议室ID scope为6时需要此参数 */
773
1045
  room_id?: string;
774
1046
  /** 有效天数 */
775
- valid_day: 1 | 7 | 30;
1047
+ valid_day: SetRoomAccessCodeVcRoomConfigRequestValidDay;
1048
+ }
1049
+ export interface SetRoomAccessCodeVcRoomConfigResponse {
1050
+ /** 部署访问码 */
1051
+ access_code?: string;
1052
+ }
1053
+ export declare const enum QueryVcRoomConfigQueryScope {
1054
+ /** 租户 */
1055
+ Tenant = 1,
1056
+ /** 国家/地区 */
1057
+ CountryDistrict = 2,
1058
+ /** 城市 */
1059
+ City = 3,
1060
+ /** 建筑 */
1061
+ Building = 4,
1062
+ /** 楼层 */
1063
+ Floor = 5,
1064
+ /** 会议室 */
1065
+ Room = 6
776
1066
  }
777
1067
  export interface QueryVcRoomConfigQuery {
778
1068
  /** 查询节点范围 */
779
- scope: 1 | 2 | 3 | 4 | 5 | 6;
1069
+ scope: QueryVcRoomConfigQueryScope;
780
1070
  /** 国家/地区ID scope为2,3时需要此参数 */
781
1071
  country_id?: string;
782
1072
  /** 城市ID scope为3时需要此参数 */
@@ -790,9 +1080,35 @@ export interface QueryVcRoomConfigQuery {
790
1080
  /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
791
1081
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
792
1082
  }
1083
+ export interface QueryVcRoomConfigResponse {
1084
+ /** 飞书会议室背景图 */
1085
+ room_background?: string;
1086
+ /** 飞书签到板背景图 */
1087
+ display_background?: string;
1088
+ /** 飞书会议室数字标牌 */
1089
+ digital_signage?: RoomDigitalSignage;
1090
+ /** 飞书投屏盒子数字标牌 */
1091
+ room_box_digital_signage?: RoomDigitalSignage;
1092
+ /** 会议室状态 */
1093
+ room_status?: RoomStatus;
1094
+ }
1095
+ export declare const enum SetVcRoomConfigRequestScope {
1096
+ /** 租户 */
1097
+ Tenant = 1,
1098
+ /** 国家/地区 */
1099
+ CountryDistrict = 2,
1100
+ /** 城市 */
1101
+ City = 3,
1102
+ /** 建筑 */
1103
+ Building = 4,
1104
+ /** 楼层 */
1105
+ Floor = 5,
1106
+ /** 会议室 */
1107
+ Room = 6
1108
+ }
793
1109
  export interface SetVcRoomConfigRequest {
794
1110
  /** 设置节点范围 */
795
- scope: 1 | 2 | 3 | 4 | 5 | 6;
1111
+ scope: SetVcRoomConfigRequestScope;
796
1112
  /** 国家/地区ID scope为2,3时需要此参数 */
797
1113
  country_id?: string;
798
1114
  /** 城市ID scope为3时需要此参数 */
@@ -810,139 +1126,3 @@ export interface SetVcRoomConfigQuery {
810
1126
  /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
811
1127
  user_id_type?: 'user_id' | 'union_id' | 'open_id';
812
1128
  }
813
- export interface ApplyVcReserveResponse {
814
- reserve?: Reserve;
815
- reserve_correction_check_info?: ReserveCorrectionCheckInfo;
816
- }
817
- export interface UpdateVcReserveResponse {
818
- reserve?: Reserve;
819
- reserve_correction_check_info?: ReserveCorrectionCheckInfo;
820
- }
821
- export interface GetVcReserveResponse {
822
- reserve?: Reserve;
823
- }
824
- export interface GetActiveMeetingVcReserveResponse {
825
- meeting?: Meeting;
826
- }
827
- export interface InviteVcMeetingResponse {
828
- /** 邀请结果 */
829
- invite_results?: MeetingInviteStatus[];
830
- }
831
- export interface KickoutVcMeetingResponse {
832
- /** 踢出结果 */
833
- kickout_results?: MeetingParticipantResult[];
834
- }
835
- export interface SetHostVcMeetingResponse {
836
- /** 会中当前主持人 */
837
- host_user?: MeetingUser;
838
- }
839
- export interface GetVcMeetingResponse {
840
- meeting?: Meeting;
841
- }
842
- export interface GetVcMeetingRecordingResponse {
843
- recording?: MeetingRecording;
844
- }
845
- export interface GetDailyVcReportResponse {
846
- /** 会议报告 */
847
- meeting_report?: Report;
848
- }
849
- export interface GetTopUserVcReportResponse {
850
- /** top用户列表 */
851
- top_user_report?: ReportTopUser[];
852
- }
853
- export interface MeetingListVcExportResponse {
854
- /** 任务id */
855
- task_id?: string;
856
- }
857
- export interface ParticipantListVcExportResponse {
858
- /** 任务id */
859
- task_id?: string;
860
- }
861
- export interface ParticipantQualityListVcExportResponse {
862
- /** 任务id */
863
- task_id?: string;
864
- }
865
- export interface ResourceReservationListVcExportResponse {
866
- /** 任务id */
867
- task_id?: string;
868
- }
869
- export interface GetVcExportResponse {
870
- /** 任务状态 */
871
- status: 1 | 2 | 3;
872
- /** 文件下载地址 */
873
- url?: string;
874
- /** 文件token */
875
- file_token?: string;
876
- /** 失败信息 */
877
- fail_msg?: string;
878
- }
879
- export interface CreateVcRoomLevelResponse {
880
- room_level?: RoomLevel;
881
- }
882
- export interface GetVcRoomLevelResponse {
883
- room_level?: RoomLevel;
884
- }
885
- export interface MgetVcRoomLevelResponse {
886
- /** 层级列表 */
887
- items?: RoomLevel[];
888
- }
889
- export interface SearchVcRoomLevelResponse {
890
- /** 层级id列表 */
891
- level_ids?: string[];
892
- }
893
- export interface CreateVcRoomResponse {
894
- room?: Room;
895
- }
896
- export interface GetVcRoomResponse {
897
- room?: Room;
898
- }
899
- export interface MgetVcRoomResponse {
900
- /** 会议室列表 */
901
- items?: Room[];
902
- }
903
- export interface GetVcScopeConfigResponse {
904
- /** 当前节点的配置,根据层级顺序从底向上进行合并计算后的结果;如果当前节点某个值已配置,则取该节点的值,否则会从该节点的父层级节点获取,如果父节点依然未配置,则继续向上递归获取;若所有节点均未配置,则该值返回为空 */
905
- current_config?: ScopeConfig;
906
- /** 所有节点的原始配置,按照层级顺序从底向上返回;如果某节点某个值未配置,则该值返回为空 */
907
- origin_configs?: ScopeConfig[];
908
- }
909
- export interface ReserveScopeVcReserveConfigResponse {
910
- /** 预定审批设置 */
911
- approve_config?: ApprovalConfig;
912
- /** 预定时间设置 */
913
- time_config?: TimeConfig;
914
- /** 预定范围设置 */
915
- reserve_scope_config?: ReserveScopeConfig;
916
- }
917
- export interface GetVcReserveConfigFormResponse {
918
- /** 预定表单 */
919
- reserve_form_config: ReserveFormConfig;
920
- }
921
- export interface GetVcReserveConfigAdminResponse {
922
- /** 预定管理员/部门 */
923
- reserve_admin_config: ReserveAdminConfig;
924
- }
925
- export interface GetVcReserveConfigDisableInformResponse {
926
- /** 会议室禁用通知配置 */
927
- disable_inform?: DisableInformConfig;
928
- }
929
- export interface SetCheckboardAccessCodeVcRoomConfigResponse {
930
- /** 部署访问码 */
931
- access_code?: string;
932
- }
933
- export interface SetRoomAccessCodeVcRoomConfigResponse {
934
- /** 部署访问码 */
935
- access_code?: string;
936
- }
937
- export interface QueryVcRoomConfigResponse {
938
- /** 飞书会议室背景图 */
939
- room_background?: string;
940
- /** 飞书签到板背景图 */
941
- display_background?: string;
942
- /** 飞书会议室数字标牌 */
943
- digital_signage?: RoomDigitalSignage;
944
- /** 飞书投屏盒子数字标牌 */
945
- room_box_digital_signage?: RoomDigitalSignage;
946
- /** 会议室状态 */
947
- room_status?: RoomStatus;
948
- }