@satorijs/adapter-lark 3.10.6 → 3.11.1

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 (119) hide show
  1. package/lib/content.d.ts +211 -93
  2. package/lib/index.cjs +2954 -2474
  3. package/lib/internal.d.ts +4 -4
  4. package/lib/message.d.ts +2 -3
  5. package/lib/types/acs.d.ts +212 -172
  6. package/lib/types/admin.d.ts +331 -291
  7. package/lib/types/aily.d.ts +331 -216
  8. package/lib/types/apaas.d.ts +646 -494
  9. package/lib/types/application.d.ts +559 -458
  10. package/lib/types/approval.d.ts +826 -791
  11. package/lib/types/attendance.d.ts +1094 -994
  12. package/lib/types/auth.d.ts +66 -61
  13. package/lib/types/authen.d.ts +221 -186
  14. package/lib/types/baike.d.ts +258 -233
  15. package/lib/types/base.d.ts +74 -0
  16. package/lib/types/bitable.d.ts +830 -770
  17. package/lib/types/board.d.ts +29 -14
  18. package/lib/types/calendar.d.ts +660 -605
  19. package/lib/types/cardkit.d.ts +149 -134
  20. package/lib/types/compensation.d.ts +84 -49
  21. package/lib/types/contact.d.ts +1279 -1204
  22. package/lib/types/corehr.d.ts +4982 -4526
  23. package/lib/types/directory.d.ts +447 -0
  24. package/lib/types/docs.d.ts +28 -18
  25. package/lib/types/document_ai.d.ts +347 -252
  26. package/lib/types/docx.d.ts +428 -383
  27. package/lib/types/drive.d.ts +1093 -1048
  28. package/lib/types/ehr.d.ts +66 -51
  29. package/lib/types/event.d.ts +16 -6
  30. package/lib/types/helpdesk.d.ts +816 -741
  31. package/lib/types/hire.d.ts +3955 -3589
  32. package/lib/types/human_authentication.d.ts +32 -22
  33. package/lib/types/im.d.ts +1420 -1295
  34. package/lib/types/index.d.ts +1422 -330
  35. package/lib/types/lingo.d.ts +279 -249
  36. package/lib/types/mail.d.ts +1032 -675
  37. package/lib/types/mdm.d.ts +105 -37
  38. package/lib/types/minutes.d.ts +73 -26
  39. package/lib/types/moments.d.ts +23 -13
  40. package/lib/types/okr.d.ts +266 -225
  41. package/lib/types/optical_char_recognition.d.ts +22 -12
  42. package/lib/types/passport.d.ts +58 -48
  43. package/lib/types/payroll.d.ts +210 -53
  44. package/lib/types/performance.d.ts +463 -414
  45. package/lib/types/personal_settings.d.ts +93 -82
  46. package/lib/types/report.d.ts +79 -58
  47. package/lib/types/search.d.ts +265 -235
  48. package/lib/types/security_and_compliance.d.ts +30 -19
  49. package/lib/types/sheets.d.ts +356 -321
  50. package/lib/types/speech_to_text.d.ts +44 -34
  51. package/lib/types/task.d.ts +998 -1087
  52. package/lib/types/tenant.d.ts +25 -15
  53. package/lib/types/translation.d.ts +42 -32
  54. package/lib/types/trust_party.d.ts +81 -0
  55. package/lib/types/vc.d.ts +1218 -1123
  56. package/lib/types/verification.d.ts +11 -6
  57. package/lib/types/wiki.d.ts +270 -235
  58. package/lib/types/workplace.d.ts +58 -38
  59. package/lib/utils.d.ts +2 -2
  60. package/package.json +4 -4
  61. package/src/bot.ts +15 -15
  62. package/src/content.ts +230 -107
  63. package/src/internal.ts +29 -12
  64. package/src/message.ts +82 -111
  65. package/src/types/acs.ts +234 -186
  66. package/src/types/admin.ts +353 -305
  67. package/src/types/aily.ts +375 -233
  68. package/src/types/apaas.ts +754 -568
  69. package/src/types/application.ts +633 -507
  70. package/src/types/approval.ts +914 -872
  71. package/src/types/attendance.ts +1226 -1104
  72. package/src/types/auth.ts +72 -66
  73. package/src/types/authen.ts +233 -191
  74. package/src/types/baike.ts +276 -246
  75. package/src/types/base.ts +93 -0
  76. package/src/types/bitable.ts +966 -894
  77. package/src/types/board.ts +34 -16
  78. package/src/types/calendar.ts +751 -685
  79. package/src/types/cardkit.ts +164 -146
  80. package/src/types/compensation.ts +97 -55
  81. package/src/types/contact.ts +1465 -1375
  82. package/src/types/corehr.ts +5664 -5077
  83. package/src/types/directory.ts +569 -0
  84. package/src/types/docs.ts +31 -19
  85. package/src/types/document_ai.ts +401 -287
  86. package/src/types/docx.ts +492 -438
  87. package/src/types/drive.ts +1266 -1213
  88. package/src/types/ehr.ts +71 -53
  89. package/src/types/event.ts +19 -7
  90. package/src/types/helpdesk.ts +930 -840
  91. package/src/types/hire.ts +4453 -4019
  92. package/src/types/human_authentication.ts +35 -23
  93. package/src/types/im.ts +1626 -1476
  94. package/src/types/index.ts +1532 -346
  95. package/src/types/lingo.ts +299 -263
  96. package/src/types/mail.ts +1231 -779
  97. package/src/types/mdm.ts +122 -39
  98. package/src/types/minutes.ts +88 -28
  99. package/src/types/moments.ts +26 -14
  100. package/src/types/okr.ts +286 -238
  101. package/src/types/optical_char_recognition.ts +25 -13
  102. package/src/types/passport.ts +62 -50
  103. package/src/types/payroll.ts +254 -57
  104. package/src/types/performance.ts +528 -467
  105. package/src/types/personal_settings.ts +101 -89
  106. package/src/types/report.ts +86 -62
  107. package/src/types/search.ts +285 -249
  108. package/src/types/security_and_compliance.ts +33 -21
  109. package/src/types/sheets.ts +421 -379
  110. package/src/types/speech_to_text.ts +48 -36
  111. package/src/types/task.ts +1152 -1260
  112. package/src/types/tenant.ts +29 -17
  113. package/src/types/translation.ts +46 -34
  114. package/src/types/trust_party.ts +110 -0
  115. package/src/types/vc.ts +1397 -1283
  116. package/src/types/verification.ts +13 -7
  117. package/src/types/wiki.ts +293 -251
  118. package/src/types/workplace.ts +65 -41
  119. package/src/utils.ts +3 -3
package/src/types/vc.ts CHANGED
@@ -1,1397 +1,1511 @@
1
- import { Alert, ApprovalConfig, Device, DisableInformConfig, Meeting, MeetingInfo, MeetingInviteStatus, MeetingParticipantResult, MeetingRecording, MeetingUser, Participant, ParticipantQuality, RecordingPermissionObject, Report, ReportTopUser, Reserve, ReserveAdminConfig, ReserveCorrectionCheckInfo, ReserveFormConfig, ReserveMeetingSetting, ReserveScopeConfig, Room, RoomConfig, RoomDigitalSignage, RoomLevel, RoomMeetingReservation, RoomStatus, ScopeConfig, TimeConfig } from '.'
2
- import { Internal, Pagination } from '../internal'
1
+ import * as Lark from '.'
2
+ import { Internal, Paginated, Pagination } from '../internal'
3
3
 
4
4
  declare module '../internal' {
5
5
  interface Internal {
6
- /**
7
- * 预约会议
8
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve/apply
9
- */
10
- applyVcReserve(body: ApplyVcReserveRequest, query?: ApplyVcReserveQuery): Promise<ApplyVcReserveResponse>
11
- /**
12
- * 删除预约
13
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve/delete
14
- */
15
- deleteVcReserve(reserve_id: string): Promise<void>
16
- /**
17
- * 更新预约
18
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve/update
19
- */
20
- updateVcReserve(reserve_id: string, body: UpdateVcReserveRequest, query?: UpdateVcReserveQuery): Promise<UpdateVcReserveResponse>
21
- /**
22
- * 获取预约
23
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve/get
24
- */
25
- getVcReserve(reserve_id: string, query?: GetVcReserveQuery): Promise<GetVcReserveResponse>
26
- /**
27
- * 获取活跃会议
28
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve/get_active_meeting
29
- */
30
- getActiveMeetingVcReserve(reserve_id: string, query?: GetActiveMeetingVcReserveQuery): Promise<GetActiveMeetingVcReserveResponse>
31
- /**
32
- * 邀请参会人
33
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/invite
34
- */
35
- inviteVcMeeting(meeting_id: string, body: InviteVcMeetingRequest, query?: InviteVcMeetingQuery): Promise<InviteVcMeetingResponse>
36
- /**
37
- * 移除参会人
38
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/kickout
39
- */
40
- kickoutVcMeeting(meeting_id: string, body: KickoutVcMeetingRequest, query?: KickoutVcMeetingQuery): Promise<KickoutVcMeetingResponse>
41
- /**
42
- * 设置主持人
43
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/set_host
44
- */
45
- setHostVcMeeting(meeting_id: string, body: SetHostVcMeetingRequest, query?: SetHostVcMeetingQuery): Promise<SetHostVcMeetingResponse>
46
- /**
47
- * 结束会议
48
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/end
49
- */
50
- endVcMeeting(meeting_id: string): Promise<void>
51
- /**
52
- * 获取会议详情
53
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/get
54
- */
55
- getVcMeeting(meeting_id: string, query?: GetVcMeetingQuery): Promise<GetVcMeetingResponse>
56
- /**
57
- * 获取与会议号关联的会议列表
58
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/list_by_no
59
- */
60
- listByNoVcMeeting(query?: ListByNoVcMeetingQuery): Paginated<Meeting, 'meeting_briefs'>
61
- /**
62
- * 开始录制
63
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting-recording/start
64
- */
65
- startVcMeetingRecording(meeting_id: string, body: StartVcMeetingRecordingRequest): Promise<void>
66
- /**
67
- * 停止录制
68
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting-recording/stop
69
- */
70
- stopVcMeetingRecording(meeting_id: string): Promise<void>
71
- /**
72
- * 获取录制文件
73
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting-recording/get
74
- */
75
- getVcMeetingRecording(meeting_id: string): Promise<GetVcMeetingRecordingResponse>
76
- /**
77
- * 授权录制文件
78
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting-recording/set_permission
79
- */
80
- setPermissionVcMeetingRecording(meeting_id: string, body: SetPermissionVcMeetingRecordingRequest, query?: SetPermissionVcMeetingRecordingQuery): Promise<void>
81
- /**
82
- * 获取会议报告
83
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/report/get_daily
84
- */
85
- getDailyVcReport(query?: GetDailyVcReportQuery): Promise<GetDailyVcReportResponse>
86
- /**
87
- * 获取 Top 用户列表
88
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/report/get_top_user
89
- */
90
- getTopUserVcReport(query?: GetTopUserVcReportQuery): Promise<GetTopUserVcReportResponse>
91
- /**
92
- * 导出会议明细
93
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/export/meeting_list
94
- */
95
- meetingListVcExport(body: MeetingListVcExportRequest, query?: MeetingListVcExportQuery): Promise<MeetingListVcExportResponse>
96
- /**
97
- * 导出参会人明细
98
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/export/participant_list
99
- */
100
- participantListVcExport(body: ParticipantListVcExportRequest, query?: ParticipantListVcExportQuery): Promise<ParticipantListVcExportResponse>
101
- /**
102
- * 导出参会人会议质量数据
103
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/export/participant_quality_list
104
- */
105
- participantQualityListVcExport(body: ParticipantQualityListVcExportRequest, query?: ParticipantQualityListVcExportQuery): Promise<ParticipantQualityListVcExportResponse>
106
- /**
107
- * 导出会议室预定数据
108
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/export/resource_reservation_list
109
- */
110
- resourceReservationListVcExport(body: ResourceReservationListVcExportRequest): Promise<ResourceReservationListVcExportResponse>
111
- /**
112
- * 查询导出任务结果
113
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/export/get
114
- */
115
- getVcExport(task_id: string): Promise<GetVcExportResponse>
116
- /**
117
- * 下载导出文件
118
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/export/download
119
- */
120
- downloadVcExport(query?: DownloadVcExportQuery): Promise<ArrayBuffer>
121
- /**
122
- * 创建会议室层级
123
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/create
124
- */
125
- createVcRoomLevel(body: CreateVcRoomLevelRequest): Promise<CreateVcRoomLevelResponse>
126
- /**
127
- * 删除会议室层级
128
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/del
129
- */
130
- delVcRoomLevel(body: DelVcRoomLevelRequest): Promise<void>
131
- /**
132
- * 更新会议室层级
133
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/patch
134
- */
135
- patchVcRoomLevel(room_level_id: string, body: PatchVcRoomLevelRequest): Promise<void>
136
- /**
137
- * 查询会议室层级详情
138
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/get
139
- */
140
- getVcRoomLevel(room_level_id: string): Promise<GetVcRoomLevelResponse>
141
- /**
142
- * 批量查询会议室层级详情
143
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/mget
144
- */
145
- mgetVcRoomLevel(body: MgetVcRoomLevelRequest): Promise<MgetVcRoomLevelResponse>
146
- /**
147
- * 查询会议室层级列表
148
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/list
149
- */
150
- listVcRoomLevel(query?: ListVcRoomLevelQuery): Paginated<RoomLevel>
151
- /**
152
- * 搜索会议室层级
153
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/search
154
- */
155
- searchVcRoomLevel(query?: SearchVcRoomLevelQuery): Promise<SearchVcRoomLevelResponse>
156
- /**
157
- * 创建会议室
158
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/create
159
- */
160
- createVcRoom(body: CreateVcRoomRequest, query?: CreateVcRoomQuery): Promise<CreateVcRoomResponse>
161
- /**
162
- * 删除会议室
163
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/delete
164
- */
165
- deleteVcRoom(room_id: string): Promise<void>
166
- /**
167
- * 更新会议室
168
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/patch
169
- */
170
- patchVcRoom(room_id: string, body: PatchVcRoomRequest, query?: PatchVcRoomQuery): Promise<void>
171
- /**
172
- * 查询会议室详情
173
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/get
174
- */
175
- getVcRoom(room_id: string, query?: GetVcRoomQuery): Promise<GetVcRoomResponse>
176
- /**
177
- * 批量查询会议室详情
178
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/mget
179
- */
180
- mgetVcRoom(body: MgetVcRoomRequest, query?: MgetVcRoomQuery): Promise<MgetVcRoomResponse>
181
- /**
182
- * 查询会议室列表
183
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/list
184
- */
185
- listVcRoom(query?: ListVcRoomQuery): Paginated<Room, 'rooms'>
186
- /**
187
- * 搜索会议室
188
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/search
189
- */
190
- searchVcRoom(body: SearchVcRoomRequest, query?: SearchVcRoomQuery): Paginated<Room, 'rooms'>
191
- /**
192
- * 查询会议室配置
193
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/scope_config/get
194
- */
195
- getVcScopeConfig(query?: GetVcScopeConfigQuery): Promise<GetVcScopeConfigResponse>
196
- /**
197
- * 设置会议室配置
198
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/scope_config/create
199
- */
200
- createVcScopeConfig(body: CreateVcScopeConfigRequest, query?: CreateVcScopeConfigQuery): Promise<void>
201
- /**
202
- * 查询会议室预定限制
203
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve_config/reserve_scope
204
- */
205
- reserveScopeVcReserveConfig(query?: ReserveScopeVcReserveConfigQuery): Promise<ReserveScopeVcReserveConfigResponse>
206
- /**
207
- * 更新会议室预定限制
208
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve_config/patch
209
- */
210
- patchVcReserveConfig(reserve_config_id: string, body: PatchVcReserveConfigRequest, query?: PatchVcReserveConfigQuery): Promise<void>
211
- /**
212
- * 查询会议室预定表单
213
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve_config-form/get
214
- */
215
- getVcReserveConfigForm(reserve_config_id: string, query?: GetVcReserveConfigFormQuery): Promise<GetVcReserveConfigFormResponse>
216
- /**
217
- * 更新会议室预定表单
218
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve_config-form/patch
219
- */
220
- patchVcReserveConfigForm(reserve_config_id: string, body: PatchVcReserveConfigFormRequest, query?: PatchVcReserveConfigFormQuery): Promise<void>
221
- /**
222
- * 查询会议室预定管理员
223
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve_config-admin/get
224
- */
225
- getVcReserveConfigAdmin(reserve_config_id: string, query?: GetVcReserveConfigAdminQuery): Promise<GetVcReserveConfigAdminResponse>
226
- /**
227
- * 更新会议室预定管理员
228
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve_config-admin/patch
229
- */
230
- patchVcReserveConfigAdmin(reserve_config_id: string, body: PatchVcReserveConfigAdminRequest, query?: PatchVcReserveConfigAdminQuery): Promise<void>
231
- /**
232
- * 查询禁用状态变更通知
233
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve_config-disable_inform/get
234
- */
235
- getVcReserveConfigDisableInform(reserve_config_id: string, query?: GetVcReserveConfigDisableInformQuery): Promise<GetVcReserveConfigDisableInformResponse>
236
- /**
237
- * 更新禁用状态变更通知
238
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve_config-disable_inform/patch
239
- */
240
- patchVcReserveConfigDisableInform(reserve_config_id: string, body: PatchVcReserveConfigDisableInformRequest, query?: PatchVcReserveConfigDisableInformQuery): Promise<void>
241
- /**
242
- * 查询会议明细
243
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting_list/get
244
- */
245
- getVcMeetingList(query?: GetVcMeetingListQuery): Paginated<MeetingInfo, 'meeting_list'>
246
- /**
247
- * 查询参会人明细
248
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/participant_list/get
249
- */
250
- getVcParticipantList(query?: GetVcParticipantListQuery): Paginated<Participant, 'participants'>
251
- /**
252
- * 查询参会人会议质量数据
253
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/participant_quality_list/get
254
- */
255
- getVcParticipantQualityList(query?: GetVcParticipantQualityListQuery): Paginated<ParticipantQuality, 'participant_quality_list'>
256
- /**
257
- * 查询会议室预定数据
258
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/resource_reservation_list/get
259
- */
260
- getVcResourceReservationList(query?: GetVcResourceReservationListQuery): Paginated<RoomMeetingReservation, 'room_reservation_list'>
261
- /**
262
- * 获取告警记录
263
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/alert/list
264
- */
265
- listVcAlert(query?: ListVcAlertQuery): Paginated<Alert>
266
- /**
267
- * 创建签到板部署码
268
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_config/set_checkboard_access_code
269
- */
270
- setCheckboardAccessCodeVcRoomConfig(body: SetCheckboardAccessCodeVcRoomConfigRequest): Promise<SetCheckboardAccessCodeVcRoomConfigResponse>
271
- /**
272
- * 创建会议室部署码
273
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_config/set_room_access_code
274
- */
275
- setRoomAccessCodeVcRoomConfig(body: SetRoomAccessCodeVcRoomConfigRequest): Promise<SetRoomAccessCodeVcRoomConfigResponse>
276
- /**
277
- * 查询会议室配置
278
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_config/query
279
- */
280
- queryVcRoomConfig(query?: QueryVcRoomConfigQuery): Promise<QueryVcRoomConfigResponse>
281
- /**
282
- * 设置会议室配置
283
- * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_config/set
284
- */
285
- setVcRoomConfig(body: SetVcRoomConfigRequest, query?: SetVcRoomConfigQuery): Promise<void>
6
+ vc: Vc.Methods
286
7
  }
287
8
  }
288
9
 
289
- export interface ApplyVcReserveRequest {
290
- /** 预约到期时间(unix时间,单位sec),多人会议必填 */
291
- end_time?: string
292
- /** 指定会议归属人,使用tenant_access_token时生效且必传,使用user_access_token时不生效,必须指定为同租户下的合法lark用户 */
293
- owner_id?: string
294
- /** 会议设置 */
295
- meeting_settings: ReserveMeetingSetting
296
- }
297
-
298
- export interface ApplyVcReserveQuery {
299
- /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
300
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
301
- }
302
-
303
- export interface ApplyVcReserveResponse {
304
- reserve?: Reserve
305
- reserve_correction_check_info?: ReserveCorrectionCheckInfo
306
- }
307
-
308
- export interface UpdateVcReserveRequest {
309
- /** 预约到期时间(unix时间,单位sec) */
310
- end_time?: string
311
- /** 会议设置 */
312
- meeting_settings?: ReserveMeetingSetting
313
- }
314
-
315
- export interface UpdateVcReserveQuery {
316
- /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
317
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
318
- }
319
-
320
- export interface UpdateVcReserveResponse {
321
- reserve?: Reserve
322
- reserve_correction_check_info?: ReserveCorrectionCheckInfo
323
- }
324
-
325
- export interface GetVcReserveQuery {
326
- /** 此次调用中使用的用户ID的类型 */
327
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
328
- }
329
-
330
- export interface GetVcReserveResponse {
331
- reserve?: Reserve
332
- }
333
-
334
- export interface GetActiveMeetingVcReserveQuery {
335
- /** 是否需要参会人列表,默认为false */
336
- with_participants?: boolean
337
- /** 此次调用中使用的用户ID的类型 */
338
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
339
- }
340
-
341
- export interface GetActiveMeetingVcReserveResponse {
342
- meeting?: Meeting
343
- }
344
-
345
- export interface InviteVcMeetingRequest {
346
- /** 被邀请的用户列表 */
347
- invitees: MeetingUser[]
348
- }
349
-
350
- export interface InviteVcMeetingQuery {
351
- /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
352
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
353
- }
354
-
355
- export interface InviteVcMeetingResponse {
356
- /** 邀请结果 */
357
- invite_results?: MeetingInviteStatus[]
358
- }
359
-
360
- export interface KickoutVcMeetingRequest {
361
- /** 需踢出的用户列表 */
362
- kickout_users: MeetingUser[]
363
- }
364
-
365
- export interface KickoutVcMeetingQuery {
366
- /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
367
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
368
- }
369
-
370
- export interface KickoutVcMeetingResponse {
371
- /** 踢出结果 */
372
- kickout_results?: MeetingParticipantResult[]
373
- }
374
-
375
- export interface SetHostVcMeetingRequest {
376
- /** 将要设置的主持人 */
377
- host_user: MeetingUser
378
- /** 当前主持人(CAS并发安全:如果和会中当前主持人不符则会设置失败,可使用返回的最新数据重新设置) */
379
- old_host_user?: MeetingUser
380
- }
381
-
382
- export interface SetHostVcMeetingQuery {
383
- /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
384
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
385
- }
386
-
387
- export interface SetHostVcMeetingResponse {
388
- /** 会中当前主持人 */
389
- host_user?: MeetingUser
390
- }
391
-
392
- export interface GetVcMeetingQuery {
393
- /** 是否需要参会人列表 */
394
- with_participants?: boolean
395
- /** 是否需要会中使用能力统计(仅限tenant_access_token) */
396
- with_meeting_ability?: boolean
397
- /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
398
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
399
- }
400
-
401
- export interface GetVcMeetingResponse {
402
- meeting?: Meeting
403
- }
404
-
405
- export interface ListByNoVcMeetingQuery extends Pagination {
406
- /** 9位会议号 */
407
- meeting_no: string
408
- /** 查询开始时间(unix时间,单位sec) */
409
- start_time: string
410
- /** 查询结束时间(unix时间,单位sec) */
411
- end_time: string
412
- }
413
-
414
- export interface StartVcMeetingRecordingRequest {
415
- /** 录制文件时间显示使用的时区[-12,12] */
416
- timezone?: number
417
- }
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
-
430
- export interface SetPermissionVcMeetingRecordingRequest {
431
- /** 授权对象列表 */
432
- permission_objects: RecordingPermissionObject[]
433
- /** 授权或者取消授权,默认授权 */
434
- action_type?: SetPermissionVcMeetingRecordingRequestActionType
435
- }
436
-
437
- export interface SetPermissionVcMeetingRecordingQuery {
438
- /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
439
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
440
- }
441
-
442
- export const enum GetDailyVcReportQueryUnit {
443
- /** 中国大陆 */
444
- CN = 0,
445
- /** 美国 */
446
- VA = 1,
447
- /** 新加坡 */
448
- SG = 2,
449
- /** 日本 */
450
- JP = 3,
451
- }
452
-
453
- export interface GetDailyVcReportQuery {
454
- /** 开始时间(unix时间,单位sec) */
455
- start_time: string
456
- /** 结束时间(unix时间,单位sec) */
457
- end_time: string
458
- /** 数据驻留地 */
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,
483
- }
484
-
485
- export interface GetTopUserVcReportQuery {
486
- /** 开始时间(unix时间,单位sec) */
487
- start_time: string
488
- /** 结束时间(unix时间,单位sec) */
489
- end_time: string
490
- /** 取前多少位 */
491
- limit: number
492
- /** 排序依据(降序) */
493
- order_by: GetTopUserVcReportQueryOrderBy
494
- /** 数据驻留地 */
495
- unit?: GetTopUserVcReportQueryUnit
496
- /** 此次调用中使用的用户ID的类型 */
497
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
498
- }
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
-
523
- export interface MeetingListVcExportRequest {
524
- /** 查询开始时间(unix时间,单位sec) */
525
- start_time: string
526
- /** 查询结束时间(unix时间,单位sec) */
527
- end_time: string
528
- /** 会议状态(不传默认为已结束会议) */
529
- meeting_status?: MeetingListVcExportRequestMeetingStatus
530
- /** 按9位会议号筛选(最多一个筛选条件) */
531
- meeting_no?: string
532
- /** 按参会Lark用户筛选(最多一个筛选条件) */
533
- user_id?: string
534
- /** 按参会Rooms筛选(最多一个筛选条件) */
535
- room_id?: string
536
- /** 按会议类型筛选(最多一个筛选条件) */
537
- meeting_type?: MeetingListVcExportRequestMeetingType
538
- }
539
-
540
- export interface MeetingListVcExportQuery {
541
- /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
542
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
543
- }
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
-
559
- export interface ParticipantListVcExportRequest {
560
- /** 会议开始时间(unix时间,单位sec) */
561
- meeting_start_time: string
562
- /** 会议结束时间(unix时间,单位sec) */
563
- meeting_end_time: string
564
- /** 会议状态(不传默认为已结束会议) */
565
- meeting_status?: ParticipantListVcExportRequestMeetingStatus
566
- /** 9位会议号 */
567
- meeting_no: string
568
- /** 按参会Lark用户筛选(最多一个筛选条件) */
569
- user_id?: string
570
- /** 按参会Rooms筛选(最多一个筛选条件) */
571
- room_id?: string
572
- }
573
-
574
- export interface ParticipantListVcExportQuery {
575
- /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
576
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
577
- }
578
-
579
- export interface ParticipantListVcExportResponse {
580
- /** 任务id */
581
- task_id?: string
582
- }
583
-
584
- export interface ParticipantQualityListVcExportRequest {
585
- /** 会议开始时间(unix时间,单位sec) */
586
- meeting_start_time: string
587
- /** 会议结束时间(unix时间,单位sec) */
588
- meeting_end_time: string
589
- /** 9位会议号 */
590
- meeting_no: string
591
- /** 参会人入会时间(unix时间,单位sec) */
592
- join_time: string
593
- /** 参会人为Lark用户时填入 */
594
- user_id?: string
595
- /** 参会人为Rooms时填入 */
596
- room_id?: string
597
- }
598
-
599
- export interface ParticipantQualityListVcExportQuery {
600
- /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
601
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
602
- }
603
-
604
- export interface ParticipantQualityListVcExportResponse {
605
- /** 任务id */
606
- task_id?: string
607
- }
608
-
609
- export interface ResourceReservationListVcExportRequest {
610
- /** 层级id */
611
- room_level_id: string
612
- /** 是否展示会议主题 */
613
- need_topic?: boolean
614
- /** 查询开始时间(unix时间,单位sec) */
615
- start_time: string
616
- /** 查询结束时间(unix时间,单位sec) */
617
- end_time: string
618
- /** 待筛选的会议室id列表 */
619
- room_ids?: string[]
620
- /** 若为true表示导出room_ids范围外的会议室,默认为false */
621
- is_exclude?: boolean
622
- }
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
-
649
- export interface DownloadVcExportQuery {
650
- /** 文档token */
651
- file_token: string
652
- }
653
-
654
- export interface CreateVcRoomLevelRequest {
655
- /** 层级名称 */
656
- name: string
657
- /** 父层级ID */
658
- parent_id: string
659
- /** 自定义层级ID */
660
- custom_group_id?: string
661
- }
662
-
663
- export interface CreateVcRoomLevelResponse {
664
- room_level?: RoomLevel
665
- }
666
-
667
- export interface DelVcRoomLevelRequest {
668
- /** 层级ID */
669
- room_level_id: string
670
- /** 是否删除所有子层级 */
671
- delete_child?: boolean
672
- }
673
-
674
- export interface PatchVcRoomLevelRequest {
675
- /** 层级名称 */
676
- name: string
677
- /** 父层级ID */
678
- parent_id: string
679
- /** 自定义层级ID */
680
- custom_group_id?: string
681
- }
682
-
683
- export interface GetVcRoomLevelResponse {
684
- room_level?: RoomLevel
685
- }
686
-
687
- export interface MgetVcRoomLevelRequest {
688
- /** 层级id列表 */
689
- level_ids: string[]
690
- }
691
-
692
- export interface MgetVcRoomLevelResponse {
693
- /** 层级列表 */
694
- items?: RoomLevel[]
695
- }
696
-
697
- export interface ListVcRoomLevelQuery extends Pagination {
698
- /** 层级ID,不传则返回该租户下第一层级列表 */
699
- room_level_id?: string
700
- }
701
-
702
- export interface SearchVcRoomLevelQuery {
703
- /** 用于查询指定会议室的租户自定义会议室ID */
704
- custom_level_ids: string
705
- }
706
-
707
- export interface SearchVcRoomLevelResponse {
708
- /** 层级id列表 */
709
- level_ids?: string[]
710
- }
711
-
712
- export interface CreateVcRoomRequest {
713
- /** 会议室名称 */
714
- name: string
715
- /** 会议室能容纳的人数 */
716
- capacity: number
717
- /** 会议室的相关描述 */
718
- description?: string
719
- /** 自定义的会议室ID */
720
- custom_room_id?: string
721
- /** 层级ID */
722
- room_level_id: string
723
- /** 会议室状态 */
724
- room_status?: RoomStatus
725
- /** 设施信息列表 */
726
- device?: Device[]
727
- }
728
-
729
- export interface CreateVcRoomQuery {
730
- /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
731
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
732
- }
733
-
734
- export interface CreateVcRoomResponse {
735
- room?: Room
736
- }
737
-
738
- export interface PatchVcRoomRequest {
739
- /** 会议室名称 */
740
- name?: string
741
- /** 会议室能容纳的人数 */
742
- capacity?: number
743
- /** 会议室的相关描述 */
744
- description?: string
745
- /** 自定义的会议室ID */
746
- custom_room_id?: string
747
- /** 层级ID */
748
- room_level_id?: string
749
- /** 会议室状态 */
750
- room_status?: RoomStatus
751
- /** 设施信息列表 */
752
- device?: Device[]
753
- }
754
-
755
- export interface PatchVcRoomQuery {
756
- /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
757
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
758
- }
759
-
760
- export interface GetVcRoomQuery {
761
- /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
762
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
763
- }
764
-
765
- export interface GetVcRoomResponse {
766
- room?: Room
767
- }
768
-
769
- export interface MgetVcRoomRequest {
770
- /** 会议室id列表 */
771
- room_ids: string[]
772
- }
773
-
774
- export interface MgetVcRoomQuery {
775
- /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
776
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
777
- }
778
-
779
- export interface MgetVcRoomResponse {
780
- /** 会议室列表 */
781
- items?: Room[]
782
- }
783
-
784
- export interface ListVcRoomQuery extends Pagination {
785
- /** 层级ID,不传则返回该租户下的所有会议室 */
786
- room_level_id?: string
787
- /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
788
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
789
- }
790
-
791
- export interface SearchVcRoomRequest {
792
- /** 用于查询指定会议室的租户自定义会议室ID列表,优先使用该字段进行查询 */
793
- custom_room_ids?: string[]
794
- /** 会议室搜索关键词(当custom_room_ids为空时,使用该字段进行查询) */
795
- keyword?: string
796
- /** 在该会议室层级下进行搜索 */
797
- room_level_id?: string
798
- /** 搜索会议室是否包括层级名称 */
799
- search_level_name?: boolean
800
- /** 分页大小,该值默认为10,最大为100 */
801
- page_size?: number
802
- /** 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果 */
803
- page_token?: string
804
- }
805
-
806
- export interface SearchVcRoomQuery {
807
- /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
808
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
809
- }
810
-
811
- export const enum GetVcScopeConfigQueryScopeType {
812
- /** 会议室层级 */
813
- RoomLevel = 1,
814
- /** 会议室 */
815
- Room = 2,
816
- }
817
-
818
- export interface GetVcScopeConfigQuery {
819
- /** 查询节点范围 */
820
- scope_type: GetVcScopeConfigQueryScopeType
821
- /** 查询节点ID:如果scope_type为1,则为层级ID,如果scope_type为2,则为会议室ID */
822
- scope_id: string
823
- /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
824
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
825
- }
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
-
841
- export interface CreateVcScopeConfigRequest {
842
- /** 查询节点范围 */
843
- scope_type: CreateVcScopeConfigRequestScopeType
844
- /** 查询节点ID:如果scope_type为1,则为层级ID,如果scope_type为2,则为会议室ID */
845
- scope_id: string
846
- /** 节点配置 */
847
- scope_config?: RoomConfig
848
- }
849
-
850
- export interface CreateVcScopeConfigQuery {
851
- /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
852
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
853
- }
854
-
855
- export interface ReserveScopeVcReserveConfigQuery {
856
- /** 会议室或层级id */
857
- scope_id: string
858
- /** 1代表层级,2代表会议室 */
859
- scope_type: string
860
- /** 此次调用中使用的用户ID的类型 */
861
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
862
- }
863
-
864
- export interface ReserveScopeVcReserveConfigResponse {
865
- /** 预定审批设置 */
866
- approve_config?: ApprovalConfig
867
- /** 预定时间设置 */
868
- time_config?: TimeConfig
869
- /** 预定范围设置 */
870
- reserve_scope_config?: ReserveScopeConfig
871
- }
872
-
873
- export interface PatchVcReserveConfigRequest {
874
- /** 1代表层级,2代表会议室 */
875
- scope_type: string
876
- /** 预定审批设置 */
877
- approval_config?: ApprovalConfig
878
- /** 预定时间设置 */
879
- time_config?: TimeConfig
880
- /** 预定范围设置 */
881
- reserve_scope_config?: ReserveScopeConfig
882
- }
883
-
884
- export interface PatchVcReserveConfigQuery {
885
- /** 此次调用中使用的用户ID的类型 */
886
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
887
- }
888
-
889
- export interface GetVcReserveConfigFormQuery {
890
- /** 1代表层级,2代表会议室 */
891
- scope_type: number
892
- /** 此次调用中使用的用户ID的类型 */
893
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
894
- }
895
-
896
- export interface GetVcReserveConfigFormResponse {
897
- /** 预定表单 */
898
- reserve_form_config: ReserveFormConfig
899
- }
900
-
901
- export interface PatchVcReserveConfigFormRequest {
902
- /** 1代表层级,2代表会议室 */
903
- scope_type: number
904
- /** 预定表单设置 */
905
- reserve_form_config: ReserveFormConfig
906
- }
907
-
908
- export interface PatchVcReserveConfigFormQuery {
909
- /** 此次调用中使用的用户ID的类型 */
910
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
911
- }
912
-
913
- export interface GetVcReserveConfigAdminQuery {
914
- /** 会议室或层级 */
915
- scope_type: number
916
- /** 此次调用中使用的用户ID的类型 */
917
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
918
- }
919
-
920
- export interface GetVcReserveConfigAdminResponse {
921
- /** 预定管理员/部门 */
922
- reserve_admin_config: ReserveAdminConfig
923
- }
924
-
925
- export interface PatchVcReserveConfigAdminRequest {
926
- /** 1代表层级,2代表会议室 */
927
- scope_type: number
928
- /** 预定管理员或部门 */
929
- reserve_admin_config: ReserveAdminConfig
930
- }
931
-
932
- export interface PatchVcReserveConfigAdminQuery {
933
- /** 此次调用中使用的用户ID的类型 */
934
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
935
- }
936
-
937
- export interface GetVcReserveConfigDisableInformQuery {
938
- /** 1表示层级,2表示会议室 */
939
- scope_type: number
940
- /** 此次调用中使用的用户ID的类型 */
941
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
942
- }
943
-
944
- export interface GetVcReserveConfigDisableInformResponse {
945
- /** 会议室禁用通知配置 */
946
- disable_inform?: DisableInformConfig
947
- }
948
-
949
- export interface PatchVcReserveConfigDisableInformRequest {
950
- /** 1表示会议室层级,2表示会议室 */
951
- scope_type: number
952
- /** 禁用通知配置 */
953
- disable_inform: DisableInformConfig
954
- }
955
-
956
- export interface PatchVcReserveConfigDisableInformQuery {
957
- /** 此次调用中使用的用户ID的类型 */
958
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
959
- }
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
-
979
- export interface GetVcMeetingListQuery extends Pagination {
980
- /** 查询开始时间(unix时间,单位sec) */
981
- start_time: string
982
- /** 查询结束时间(unix时间,单位sec) */
983
- end_time: string
984
- /** 会议状态 */
985
- meeting_status?: GetVcMeetingListQueryMeetingStatus
986
- /** 按9位会议号筛选(最多一个筛选条件) */
987
- meeting_no?: string
988
- /** 按参会Lark用户筛选(最多一个筛选条件) */
989
- user_id?: string
990
- /** 按参会Rooms筛选(最多一个筛选条件) */
991
- room_id?: string
992
- /** 按会议类型筛选(最多一个筛选条件) */
993
- meeting_type?: GetVcMeetingListQueryMeetingType
994
- /** 此次调用中使用的用户ID的类型 */
995
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
996
- }
997
-
998
- export const enum GetVcParticipantListQueryMeetingStatus {
999
- /** 进行中 */
1000
- Ongoing = 1,
1001
- /** 已结束 */
1002
- Past = 2,
1003
- /** 待召开 */
1004
- Future = 3,
1005
- }
1006
-
1007
- export interface GetVcParticipantListQuery extends Pagination {
1008
- /** 会议开始时间(需要精确到一分钟,unix时间,单位sec) */
1009
- meeting_start_time: string
1010
- /** 会议结束时间(unix时间,单位sec;对于进行中会议则传0) */
1011
- meeting_end_time: string
1012
- /** 会议状态(不传默认为已结束会议) */
1013
- meeting_status?: GetVcParticipantListQueryMeetingStatus
1014
- /** 9位会议号 */
1015
- meeting_no: string
1016
- /** 按参会Lark用户筛选(最多一个筛选条件) */
1017
- user_id?: string
1018
- /** 按参会Rooms筛选(最多一个筛选条件) */
1019
- room_id?: string
1020
- /** 此次调用中使用的用户ID的类型 */
1021
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
1022
- }
1023
-
1024
- export interface GetVcParticipantQualityListQuery extends Pagination {
1025
- /** 会议开始时间(需要精确到一分钟,unix时间,单位sec) */
1026
- meeting_start_time: string
1027
- /** 会议结束时间(unix时间,单位sec) */
1028
- meeting_end_time: string
1029
- /** 9位会议号 */
1030
- meeting_no: string
1031
- /** 参会人入会时间(unix时间,单位sec) */
1032
- join_time: string
1033
- /** 参会人为Lark用户时填入 */
1034
- user_id?: string
1035
- /** 参会人为Rooms时填入 */
1036
- room_id?: string
1037
- /** 此次调用中使用的用户ID的类型 */
1038
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
1039
- }
1040
-
1041
- export interface GetVcResourceReservationListQuery extends Pagination {
1042
- /** 层级id */
1043
- room_level_id: string
1044
- /** 是否展示会议主题 */
1045
- need_topic?: boolean
1046
- /** 查询开始时间(unix时间,单位sec) */
1047
- start_time: string
1048
- /** 查询结束时间(unix时间,单位sec) */
1049
- end_time: string
1050
- /** 待筛选的会议室id列表 */
1051
- room_ids: string[]
1052
- /** 若为true表示导出room_ids范围外的会议室,默认为false */
1053
- is_exclude?: boolean
1054
- }
1055
-
1056
- export const enum ListVcAlertQueryQueryType {
1057
- /** 会议室 */
1058
- Room = 1,
1059
- /** erc */
1060
- Erc = 2,
1061
- /** SIP会议室系统 */
1062
- Sip = 3,
1063
- }
1064
-
1065
- export interface ListVcAlertQuery extends Pagination {
1066
- /** 开始时间(unix时间,单位sec) */
1067
- start_time: string
1068
- /** 结束时间(unix时间,单位sec) */
1069
- end_time: string
1070
- /** 查询对象类型 */
1071
- query_type?: ListVcAlertQueryQueryType
1072
- /** 查询对象ID */
1073
- query_value?: string
1074
- }
10
+ export namespace Vc {
11
+ export interface Methods {
12
+ reserve: Reserve.Methods
13
+ meeting: Meeting.Methods
14
+ report: Report.Methods
15
+ export: Export.Methods
16
+ roomLevel: RoomLevel.Methods
17
+ room: Room.Methods
18
+ scopeConfig: ScopeConfig.Methods
19
+ reserveConfig: ReserveConfig.Methods
20
+ meetingList: MeetingList.Methods
21
+ participantList: ParticipantList.Methods
22
+ participantQualityList: ParticipantQualityList.Methods
23
+ resourceReservationList: ResourceReservationList.Methods
24
+ alert: Alert.Methods
25
+ roomConfig: RoomConfig.Methods
26
+ }
1075
27
 
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
- }
28
+ export namespace Reserve {
29
+ export interface Methods {
30
+ /**
31
+ * 预约会议
32
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve/apply
33
+ */
34
+ apply(body: ApplyRequest, query?: ApplyQuery): Promise<ApplyResponse>
35
+ /**
36
+ * 删除预约
37
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve/delete
38
+ */
39
+ delete(reserve_id: string): Promise<void>
40
+ /**
41
+ * 更新预约
42
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve/update
43
+ */
44
+ update(reserve_id: string, body: UpdateRequest, query?: UpdateQuery): Promise<UpdateResponse>
45
+ /**
46
+ * 获取预约
47
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve/get
48
+ */
49
+ get(reserve_id: string, query?: GetQuery): Promise<GetResponse>
50
+ /**
51
+ * 获取活跃会议
52
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve/get_active_meeting
53
+ */
54
+ getActiveMeeting(reserve_id: string, query?: GetActiveMeetingQuery): Promise<GetActiveMeetingResponse>
55
+ }
56
+
57
+ export interface ApplyRequest {
58
+ /** 预约到期时间(unix时间,单位sec),多人会议必填 */
59
+ end_time?: string
60
+ /** 指定会议归属人,使用tenant_access_token时生效且必传,使用user_access_token时不生效,必须指定为同租户下的合法lark用户 */
61
+ owner_id?: string
62
+ /** 会议设置 */
63
+ meeting_settings: Lark.ReserveMeetingSetting
64
+ }
65
+
66
+ export interface ApplyQuery {
67
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
68
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
69
+ }
70
+
71
+ export interface ApplyResponse {
72
+ reserve?: Lark.Reserve
73
+ reserve_correction_check_info?: Lark.ReserveCorrectionCheckInfo
74
+ }
75
+
76
+ export interface UpdateRequest {
77
+ /** 预约到期时间(unix时间,单位sec) */
78
+ end_time?: string
79
+ /** 会议设置 */
80
+ meeting_settings?: Lark.ReserveMeetingSetting
81
+ }
82
+
83
+ export interface UpdateQuery {
84
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
85
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
86
+ }
87
+
88
+ export interface UpdateResponse {
89
+ reserve?: Lark.Reserve
90
+ reserve_correction_check_info?: Lark.ReserveCorrectionCheckInfo
91
+ }
92
+
93
+ export interface GetQuery {
94
+ /** 此次调用中使用的用户ID的类型 */
95
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
96
+ }
97
+
98
+ export interface GetResponse {
99
+ reserve?: Lark.Reserve
100
+ }
101
+
102
+ export interface GetActiveMeetingQuery {
103
+ /** 是否需要参会人列表,默认为false */
104
+ with_participants?: boolean
105
+ /** 此次调用中使用的用户ID的类型 */
106
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
107
+ }
108
+
109
+ export interface GetActiveMeetingResponse {
110
+ meeting?: Lark.Meeting
111
+ }
112
+ }
1090
113
 
1091
- export const enum SetCheckboardAccessCodeVcRoomConfigRequestValidDay {
1092
- /** 1天 */
1093
- Day = 1,
1094
- /** 7天 */
1095
- Week = 7,
1096
- /** 30天 */
1097
- Month = 30,
1098
- }
114
+ export namespace Meeting {
115
+ export interface Methods {
116
+ recording: Recording.Methods
117
+ /**
118
+ * 邀请参会人
119
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/invite
120
+ */
121
+ invite(meeting_id: string, body: InviteRequest, query?: InviteQuery): Promise<InviteResponse>
122
+ /**
123
+ * 移除参会人
124
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/kickout
125
+ */
126
+ kickout(meeting_id: string, body: KickoutRequest, query?: KickoutQuery): Promise<KickoutResponse>
127
+ /**
128
+ * 设置主持人
129
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/set_host
130
+ */
131
+ setHost(meeting_id: string, body: SetHostRequest, query?: SetHostQuery): Promise<SetHostResponse>
132
+ /**
133
+ * 结束会议
134
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/end
135
+ */
136
+ end(meeting_id: string): Promise<void>
137
+ /**
138
+ * 获取会议详情
139
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/get
140
+ */
141
+ get(meeting_id: string, query?: GetQuery): Promise<GetResponse>
142
+ /**
143
+ * 获取与会议号关联的会议列表
144
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting/list_by_no
145
+ */
146
+ listByNo(query?: ListByNoQuery): Paginated<Lark.Meeting, 'meeting_briefs'>
147
+ }
148
+
149
+ export interface InviteRequest {
150
+ /** 被邀请的用户列表 */
151
+ invitees: Lark.MeetingUser[]
152
+ }
153
+
154
+ export interface InviteQuery {
155
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
156
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
157
+ }
158
+
159
+ export interface InviteResponse {
160
+ /** 邀请结果 */
161
+ invite_results?: Lark.MeetingInviteStatus[]
162
+ }
163
+
164
+ export interface KickoutRequest {
165
+ /** 需踢出的用户列表 */
166
+ kickout_users: Lark.MeetingUser[]
167
+ }
168
+
169
+ export interface KickoutQuery {
170
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
171
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
172
+ }
173
+
174
+ export interface KickoutResponse {
175
+ /** 踢出结果 */
176
+ kickout_results?: Lark.MeetingParticipantResult[]
177
+ }
178
+
179
+ export interface SetHostRequest {
180
+ /** 将要设置的主持人 */
181
+ host_user: Lark.MeetingUser
182
+ /** 当前主持人(CAS并发安全:如果和会中当前主持人不符则会设置失败,可使用返回的最新数据重新设置) */
183
+ old_host_user?: Lark.MeetingUser
184
+ }
185
+
186
+ export interface SetHostQuery {
187
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
188
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
189
+ }
190
+
191
+ export interface SetHostResponse {
192
+ /** 会中当前主持人 */
193
+ host_user?: Lark.MeetingUser
194
+ }
195
+
196
+ export interface GetQuery {
197
+ /** 是否需要参会人列表 */
198
+ with_participants?: boolean
199
+ /** 是否需要会中使用能力统计(仅限tenant_access_token) */
200
+ with_meeting_ability?: boolean
201
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
202
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
203
+ }
204
+
205
+ export interface GetResponse {
206
+ meeting?: Lark.Meeting
207
+ }
208
+
209
+ export interface ListByNoQuery extends Pagination {
210
+ /** 9位会议号 */
211
+ meeting_no: string
212
+ /** 查询开始时间(unix时间,单位sec) */
213
+ start_time: string
214
+ /** 查询结束时间(unix时间,单位sec) */
215
+ end_time: string
216
+ }
217
+
218
+ export namespace Recording {
219
+ export interface Methods {
220
+ /**
221
+ * 开始录制
222
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting-recording/start
223
+ */
224
+ start(meeting_id: string, body: StartRequest): Promise<void>
225
+ /**
226
+ * 停止录制
227
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting-recording/stop
228
+ */
229
+ stop(meeting_id: string): Promise<void>
230
+ /**
231
+ * 获取录制文件
232
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting-recording/get
233
+ */
234
+ get(meeting_id: string): Promise<GetResponse>
235
+ /**
236
+ * 授权录制文件
237
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting-recording/set_permission
238
+ */
239
+ setPermission(meeting_id: string, body: SetPermissionRequest, query?: SetPermissionQuery): Promise<void>
240
+ }
241
+
242
+ export interface StartRequest {
243
+ /** 录制文件时间显示使用的时区[-12,12] */
244
+ timezone?: number
245
+ }
246
+
247
+ export interface GetResponse {
248
+ recording?: Lark.MeetingRecording
249
+ }
250
+
251
+ export const enum SetPermissionRequestActionType {
252
+ /** 授权 */
253
+ Authorize = 0,
254
+ /** 取消授权 */
255
+ Revoke = 1,
256
+ }
257
+
258
+ export interface SetPermissionRequest {
259
+ /** 授权对象列表 */
260
+ permission_objects: Lark.RecordingPermissionObject[]
261
+ /** 授权或者取消授权,默认授权 */
262
+ action_type?: SetPermissionRequestActionType
263
+ }
264
+
265
+ export interface SetPermissionQuery {
266
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
267
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
268
+ }
269
+ }
270
+ }
1099
271
 
1100
- export interface SetCheckboardAccessCodeVcRoomConfigRequest {
1101
- /** 设置节点范围 */
1102
- scope: SetCheckboardAccessCodeVcRoomConfigRequestScope
1103
- /** 国家/地区ID scope为2,3时需要此参数 */
1104
- country_id?: string
1105
- /** 城市ID scope为3时需要此参数 */
1106
- district_id?: string
1107
- /** 建筑ID scope为4,5时需要此参数 */
1108
- building_id?: string
1109
- /** 楼层 scope为5时需要此参数 */
1110
- floor_name?: string
1111
- /** 会议室ID scope为6时需要此参数 */
1112
- room_id?: string
1113
- /** 有效天数 */
1114
- valid_day: SetCheckboardAccessCodeVcRoomConfigRequestValidDay
1115
- }
272
+ export namespace Report {
273
+ export interface Methods {
274
+ /**
275
+ * 获取会议报告
276
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/report/get_daily
277
+ */
278
+ getDaily(query?: GetDailyQuery): Promise<GetDailyResponse>
279
+ /**
280
+ * 获取 Top 用户列表
281
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/report/get_top_user
282
+ */
283
+ getTopUser(query?: GetTopUserQuery): Promise<GetTopUserResponse>
284
+ }
285
+
286
+ export const enum GetDailyQueryUnit {
287
+ /** 中国大陆 */
288
+ CN = 0,
289
+ /** 美国 */
290
+ VA = 1,
291
+ /** 新加坡 */
292
+ SG = 2,
293
+ /** 日本 */
294
+ JP = 3,
295
+ }
296
+
297
+ export interface GetDailyQuery {
298
+ /** 开始时间(unix时间,单位sec) */
299
+ start_time: string
300
+ /** 结束时间(unix时间,单位sec) */
301
+ end_time: string
302
+ /** 数据驻留地 */
303
+ unit?: GetDailyQueryUnit
304
+ }
305
+
306
+ export interface GetDailyResponse {
307
+ /** 会议报告 */
308
+ meeting_report?: Lark.Report
309
+ }
310
+
311
+ export const enum GetTopUserQueryOrderBy {
312
+ /** 会议数量 */
313
+ MeetingCount = 1,
314
+ /** 会议时长 */
315
+ MeetingDuration = 2,
316
+ }
317
+
318
+ export const enum GetTopUserQueryUnit {
319
+ /** 中国大陆 */
320
+ CN = 0,
321
+ /** 美国 */
322
+ VA = 1,
323
+ /** 新加坡 */
324
+ SG = 2,
325
+ /** 日本 */
326
+ JP = 3,
327
+ }
328
+
329
+ export interface GetTopUserQuery {
330
+ /** 开始时间(unix时间,单位sec) */
331
+ start_time: string
332
+ /** 结束时间(unix时间,单位sec) */
333
+ end_time: string
334
+ /** 取前多少位 */
335
+ limit: number
336
+ /** 排序依据(降序) */
337
+ order_by: GetTopUserQueryOrderBy
338
+ /** 数据驻留地 */
339
+ unit?: GetTopUserQueryUnit
340
+ /** 此次调用中使用的用户ID的类型 */
341
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
342
+ }
343
+
344
+ export interface GetTopUserResponse {
345
+ /** top用户列表 */
346
+ top_user_report?: Lark.ReportTopUser[]
347
+ }
348
+ }
1116
349
 
1117
- export interface SetCheckboardAccessCodeVcRoomConfigResponse {
1118
- /** 部署访问码 */
1119
- access_code?: string
1120
- }
350
+ export namespace Export {
351
+ export interface Methods {
352
+ /**
353
+ * 导出会议明细
354
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/export/meeting_list
355
+ */
356
+ meetingList(body: MeetingListRequest, query?: MeetingListQuery): Promise<MeetingListResponse>
357
+ /**
358
+ * 导出参会人明细
359
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/export/participant_list
360
+ */
361
+ participantList(body: ParticipantListRequest, query?: ParticipantListQuery): Promise<ParticipantListResponse>
362
+ /**
363
+ * 导出参会人会议质量数据
364
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/export/participant_quality_list
365
+ */
366
+ participantQualityList(body: ParticipantQualityListRequest, query?: ParticipantQualityListQuery): Promise<ParticipantQualityListResponse>
367
+ /**
368
+ * 导出会议室预定数据
369
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/export/resource_reservation_list
370
+ */
371
+ resourceReservationList(body: ResourceReservationListRequest): Promise<ResourceReservationListResponse>
372
+ /**
373
+ * 查询导出任务结果
374
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/export/get
375
+ */
376
+ get(task_id: string): Promise<GetResponse>
377
+ /**
378
+ * 下载导出文件
379
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/export/download
380
+ */
381
+ download(query?: DownloadQuery): Promise<ArrayBuffer>
382
+ }
383
+
384
+ export const enum MeetingListRequestMeetingStatus {
385
+ /** 进行中 */
386
+ Ongoing = 1,
387
+ /** 已结束 */
388
+ Past = 2,
389
+ /** 待召开 */
390
+ Future = 3,
391
+ }
392
+
393
+ export const enum MeetingListRequestMeetingType {
394
+ /** 全部类型(默认) */
395
+ All = 1,
396
+ /** 视频会议 */
397
+ Meeting = 2,
398
+ /** 本地投屏 */
399
+ ShareScreen = 3,
400
+ }
401
+
402
+ export interface MeetingListRequest {
403
+ /** 查询开始时间(unix时间,单位sec) */
404
+ start_time: string
405
+ /** 查询结束时间(unix时间,单位sec) */
406
+ end_time: string
407
+ /** 会议状态(不传默认为已结束会议) */
408
+ meeting_status?: MeetingListRequestMeetingStatus
409
+ /** 按9位会议号筛选(最多一个筛选条件) */
410
+ meeting_no?: string
411
+ /** 按参会Lark用户筛选(最多一个筛选条件) */
412
+ user_id?: string
413
+ /** 按参会Rooms筛选(最多一个筛选条件) */
414
+ room_id?: string
415
+ /** 按会议类型筛选(最多一个筛选条件) */
416
+ meeting_type?: MeetingListRequestMeetingType
417
+ }
418
+
419
+ export interface MeetingListQuery {
420
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
421
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
422
+ }
423
+
424
+ export interface MeetingListResponse {
425
+ /** 任务id */
426
+ task_id?: string
427
+ }
428
+
429
+ export const enum ParticipantListRequestMeetingStatus {
430
+ /** 进行中 */
431
+ Ongoing = 1,
432
+ /** 已结束 */
433
+ Past = 2,
434
+ /** 待召开 */
435
+ Future = 3,
436
+ }
437
+
438
+ export interface ParticipantListRequest {
439
+ /** 会议开始时间(unix时间,单位sec) */
440
+ meeting_start_time: string
441
+ /** 会议结束时间(unix时间,单位sec) */
442
+ meeting_end_time: string
443
+ /** 会议状态(不传默认为已结束会议) */
444
+ meeting_status?: ParticipantListRequestMeetingStatus
445
+ /** 9位会议号 */
446
+ meeting_no: string
447
+ /** 按参会Lark用户筛选(最多一个筛选条件) */
448
+ user_id?: string
449
+ /** 按参会Rooms筛选(最多一个筛选条件) */
450
+ room_id?: string
451
+ }
452
+
453
+ export interface ParticipantListQuery {
454
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
455
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
456
+ }
457
+
458
+ export interface ParticipantListResponse {
459
+ /** 任务id */
460
+ task_id?: string
461
+ }
462
+
463
+ export interface ParticipantQualityListRequest {
464
+ /** 会议开始时间(unix时间,单位sec) */
465
+ meeting_start_time: string
466
+ /** 会议结束时间(unix时间,单位sec) */
467
+ meeting_end_time: string
468
+ /** 9位会议号 */
469
+ meeting_no: string
470
+ /** 参会人入会时间(unix时间,单位sec) */
471
+ join_time: string
472
+ /** 参会人为Lark用户时填入 */
473
+ user_id?: string
474
+ /** 参会人为Rooms时填入 */
475
+ room_id?: string
476
+ }
477
+
478
+ export interface ParticipantQualityListQuery {
479
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
480
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
481
+ }
482
+
483
+ export interface ParticipantQualityListResponse {
484
+ /** 任务id */
485
+ task_id?: string
486
+ }
487
+
488
+ export interface ResourceReservationListRequest {
489
+ /** 层级id */
490
+ room_level_id: string
491
+ /** 是否展示会议主题 */
492
+ need_topic?: boolean
493
+ /** 查询开始时间(unix时间,单位sec) */
494
+ start_time: string
495
+ /** 查询结束时间(unix时间,单位sec) */
496
+ end_time: string
497
+ /** 待筛选的会议室id列表 */
498
+ room_ids?: string[]
499
+ /** 若为true表示导出room_ids范围外的会议室,默认为false */
500
+ is_exclude?: boolean
501
+ }
502
+
503
+ export interface ResourceReservationListResponse {
504
+ /** 任务id */
505
+ task_id?: string
506
+ }
507
+
508
+ export const enum GetResponseStatus {
509
+ /** 处理中 */
510
+ InProgress = 1,
511
+ /** 失败 */
512
+ Failed = 2,
513
+ /** 完成 */
514
+ Done = 3,
515
+ }
516
+
517
+ export interface GetResponse {
518
+ /** 任务状态 */
519
+ status: GetResponseStatus
520
+ /** 文件下载地址 */
521
+ url?: string
522
+ /** 文件token */
523
+ file_token?: string
524
+ /** 失败信息 */
525
+ fail_msg?: string
526
+ }
527
+
528
+ export interface DownloadQuery {
529
+ /** 文档token */
530
+ file_token: string
531
+ }
532
+ }
1121
533
 
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
- }
534
+ export namespace RoomLevel {
535
+ export interface Methods {
536
+ /**
537
+ * 创建会议室层级
538
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/create
539
+ */
540
+ create(body: CreateRequest): Promise<CreateResponse>
541
+ /**
542
+ * 删除会议室层级
543
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/del
544
+ */
545
+ del(body: DelRequest): Promise<void>
546
+ /**
547
+ * 更新会议室层级
548
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/patch
549
+ */
550
+ patch(room_level_id: string, body: PatchRequest): Promise<void>
551
+ /**
552
+ * 查询会议室层级详情
553
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/get
554
+ */
555
+ get(room_level_id: string): Promise<GetResponse>
556
+ /**
557
+ * 批量查询会议室层级详情
558
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/mget
559
+ */
560
+ mget(body: MgetRequest): Promise<MgetResponse>
561
+ /**
562
+ * 查询会议室层级列表
563
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/list
564
+ */
565
+ list(query?: ListQuery): Paginated<Lark.RoomLevel>
566
+ /**
567
+ * 搜索会议室层级
568
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_level/search
569
+ */
570
+ search(query?: SearchQuery): Promise<SearchResponse>
571
+ }
572
+
573
+ export interface CreateRequest {
574
+ /** 层级名称 */
575
+ name: string
576
+ /** 父层级ID */
577
+ parent_id: string
578
+ /** 自定义层级ID */
579
+ custom_group_id?: string
580
+ }
581
+
582
+ export interface CreateResponse {
583
+ room_level?: Lark.RoomLevel
584
+ }
585
+
586
+ export interface DelRequest {
587
+ /** 层级ID */
588
+ room_level_id: string
589
+ /** 是否删除所有子层级 */
590
+ delete_child?: boolean
591
+ }
592
+
593
+ export interface PatchRequest {
594
+ /** 层级名称 */
595
+ name: string
596
+ /** 父层级ID */
597
+ parent_id: string
598
+ /** 自定义层级ID */
599
+ custom_group_id?: string
600
+ }
601
+
602
+ export interface GetResponse {
603
+ room_level?: Lark.RoomLevel
604
+ }
605
+
606
+ export interface MgetRequest {
607
+ /** 层级id列表 */
608
+ level_ids: string[]
609
+ }
610
+
611
+ export interface MgetResponse {
612
+ /** 层级列表 */
613
+ items?: Lark.RoomLevel[]
614
+ }
615
+
616
+ export interface ListQuery extends Pagination {
617
+ /** 层级ID,不传则返回该租户下第一层级列表 */
618
+ room_level_id?: string
619
+ }
620
+
621
+ export interface SearchQuery {
622
+ /** 用于查询指定会议室的租户自定义会议室ID */
623
+ custom_level_ids: string
624
+ }
625
+
626
+ export interface SearchResponse {
627
+ /** 层级id列表 */
628
+ level_ids?: string[]
629
+ }
630
+ }
1136
631
 
1137
- export const enum SetRoomAccessCodeVcRoomConfigRequestValidDay {
1138
- /** 1天 */
1139
- Day = 1,
1140
- /** 7天 */
1141
- Week = 7,
1142
- /** 30天 */
1143
- Month = 30,
1144
- }
632
+ export namespace Room {
633
+ export interface Methods {
634
+ /**
635
+ * 创建会议室
636
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/create
637
+ */
638
+ create(body: CreateRequest, query?: CreateQuery): Promise<CreateResponse>
639
+ /**
640
+ * 删除会议室
641
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/delete
642
+ */
643
+ delete(room_id: string): Promise<void>
644
+ /**
645
+ * 更新会议室
646
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/patch
647
+ */
648
+ patch(room_id: string, body: PatchRequest, query?: PatchQuery): Promise<void>
649
+ /**
650
+ * 查询会议室详情
651
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/get
652
+ */
653
+ get(room_id: string, query?: GetQuery): Promise<GetResponse>
654
+ /**
655
+ * 批量查询会议室详情
656
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/mget
657
+ */
658
+ mget(body: MgetRequest, query?: MgetQuery): Promise<MgetResponse>
659
+ /**
660
+ * 查询会议室列表
661
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/list
662
+ */
663
+ list(query?: ListQuery): Paginated<Lark.Room, 'rooms'>
664
+ /**
665
+ * 搜索会议室
666
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room/search
667
+ */
668
+ search(body: SearchRequest, query?: SearchQuery): Paginated<Lark.Room, 'rooms'>
669
+ }
670
+
671
+ export interface CreateRequest {
672
+ /** 会议室名称 */
673
+ name: string
674
+ /** 会议室能容纳的人数 */
675
+ capacity: number
676
+ /** 会议室的相关描述 */
677
+ description?: string
678
+ /** 自定义的会议室ID */
679
+ custom_room_id?: string
680
+ /** 层级ID */
681
+ room_level_id: string
682
+ /** 会议室状态 */
683
+ room_status?: Lark.RoomStatus
684
+ /** 设施信息列表 */
685
+ device?: Lark.Device[]
686
+ }
687
+
688
+ export interface CreateQuery {
689
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
690
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
691
+ }
692
+
693
+ export interface CreateResponse {
694
+ room?: Lark.Room
695
+ }
696
+
697
+ export interface PatchRequest {
698
+ /** 会议室名称 */
699
+ name?: string
700
+ /** 会议室能容纳的人数 */
701
+ capacity?: number
702
+ /** 会议室的相关描述 */
703
+ description?: string
704
+ /** 自定义的会议室ID */
705
+ custom_room_id?: string
706
+ /** 层级ID */
707
+ room_level_id?: string
708
+ /** 会议室状态 */
709
+ room_status?: Lark.RoomStatus
710
+ /** 设施信息列表 */
711
+ device?: Lark.Device[]
712
+ }
713
+
714
+ export interface PatchQuery {
715
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
716
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
717
+ }
718
+
719
+ export interface GetQuery {
720
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
721
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
722
+ }
723
+
724
+ export interface GetResponse {
725
+ room?: Lark.Room
726
+ }
727
+
728
+ export interface MgetRequest {
729
+ /** 会议室id列表 */
730
+ room_ids: string[]
731
+ }
732
+
733
+ export interface MgetQuery {
734
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
735
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
736
+ }
737
+
738
+ export interface MgetResponse {
739
+ /** 会议室列表 */
740
+ items?: Lark.Room[]
741
+ }
742
+
743
+ export interface ListQuery extends Pagination {
744
+ /** 层级ID,不传则返回该租户下的所有会议室 */
745
+ room_level_id?: string
746
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
747
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
748
+ }
749
+
750
+ export interface SearchRequest {
751
+ /** 用于查询指定会议室的租户自定义会议室ID列表,优先使用该字段进行查询 */
752
+ custom_room_ids?: string[]
753
+ /** 会议室搜索关键词(当custom_room_ids为空时,使用该字段进行查询) */
754
+ keyword?: string
755
+ /** 在该会议室层级下进行搜索 */
756
+ room_level_id?: string
757
+ /** 搜索会议室是否包括层级名称 */
758
+ search_level_name?: boolean
759
+ /** 分页大小,该值默认为10,最大为100 */
760
+ page_size?: number
761
+ /** 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果 */
762
+ page_token?: string
763
+ }
764
+
765
+ export interface SearchQuery {
766
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
767
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
768
+ }
769
+ }
1145
770
 
1146
- export interface SetRoomAccessCodeVcRoomConfigRequest {
1147
- /** 设置节点范围 */
1148
- scope: SetRoomAccessCodeVcRoomConfigRequestScope
1149
- /** 国家/地区ID scope为2,3时需要此参数 */
1150
- country_id?: string
1151
- /** 城市ID scope为3时需要此参数 */
1152
- district_id?: string
1153
- /** 建筑ID scope为4,5时需要此参数 */
1154
- building_id?: string
1155
- /** 楼层 scope为5时需要此参数 */
1156
- floor_name?: string
1157
- /** 会议室ID scope为6时需要此参数 */
1158
- room_id?: string
1159
- /** 有效天数 */
1160
- valid_day: SetRoomAccessCodeVcRoomConfigRequestValidDay
1161
- }
771
+ export namespace ScopeConfig {
772
+ export interface Methods {
773
+ /**
774
+ * 查询会议室配置
775
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/scope_config/get
776
+ */
777
+ get(query?: GetQuery): Promise<GetResponse>
778
+ /**
779
+ * 设置会议室配置
780
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/scope_config/create
781
+ */
782
+ create(body: CreateRequest, query?: CreateQuery): Promise<void>
783
+ }
784
+
785
+ export const enum GetQueryScopeType {
786
+ /** 会议室层级 */
787
+ RoomLevel = 1,
788
+ /** 会议室 */
789
+ Room = 2,
790
+ }
791
+
792
+ export interface GetQuery {
793
+ /** 查询节点范围 */
794
+ scope_type: GetQueryScopeType
795
+ /** 查询节点ID:如果scope_type为1,则为层级ID,如果scope_type为2,则为会议室ID */
796
+ scope_id: string
797
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
798
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
799
+ }
800
+
801
+ export interface GetResponse {
802
+ /** 当前节点的配置,根据层级顺序从底向上进行合并计算后的结果;如果当前节点某个值已配置,则取该节点的值,否则会从该节点的父层级节点获取,如果父节点依然未配置,则继续向上递归获取;若所有节点均未配置,则该值返回为空 */
803
+ current_config?: Lark.ScopeConfig
804
+ /** 所有节点的原始配置,按照层级顺序从底向上返回;如果某节点某个值未配置,则该值返回为空 */
805
+ origin_configs?: Lark.ScopeConfig[]
806
+ }
807
+
808
+ export const enum CreateRequestScopeType {
809
+ /** 会议室层级 */
810
+ RoomLevel = 1,
811
+ /** 会议室 */
812
+ Room = 2,
813
+ }
814
+
815
+ export interface CreateRequest {
816
+ /** 查询节点范围 */
817
+ scope_type: CreateRequestScopeType
818
+ /** 查询节点ID:如果scope_type为1,则为层级ID,如果scope_type为2,则为会议室ID */
819
+ scope_id: string
820
+ /** 节点配置 */
821
+ scope_config?: Lark.RoomConfig
822
+ }
823
+
824
+ export interface CreateQuery {
825
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
826
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
827
+ }
828
+ }
1162
829
 
1163
- export interface SetRoomAccessCodeVcRoomConfigResponse {
1164
- /** 部署访问码 */
1165
- access_code?: string
1166
- }
830
+ export namespace ReserveConfig {
831
+ export interface Methods {
832
+ form: Form.Methods
833
+ admin: Admin.Methods
834
+ disableInform: DisableInform.Methods
835
+ /**
836
+ * 查询会议室预定限制
837
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve_config/reserve_scope
838
+ */
839
+ reserveScope(query?: ReserveScopeQuery): Promise<ReserveScopeResponse>
840
+ /**
841
+ * 更新会议室预定限制
842
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve_config/patch
843
+ */
844
+ patch(reserve_config_id: string, body: PatchRequest, query?: PatchQuery): Promise<void>
845
+ }
846
+
847
+ export interface ReserveScopeQuery {
848
+ /** 会议室或层级id */
849
+ scope_id: string
850
+ /** 1代表层级,2代表会议室 */
851
+ scope_type: string
852
+ /** 此次调用中使用的用户ID的类型 */
853
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
854
+ }
855
+
856
+ export interface ReserveScopeResponse {
857
+ /** 预定审批设置 */
858
+ approve_config?: Lark.ApprovalConfig
859
+ /** 预定时间设置 */
860
+ time_config?: Lark.TimeConfig
861
+ /** 预定范围设置 */
862
+ reserve_scope_config?: Lark.ReserveScopeConfig
863
+ }
864
+
865
+ export interface PatchRequest {
866
+ /** 1代表层级,2代表会议室 */
867
+ scope_type: string
868
+ /** 预定审批设置 */
869
+ approval_config?: Lark.ApprovalConfig
870
+ /** 预定时间设置 */
871
+ time_config?: Lark.TimeConfig
872
+ /** 预定范围设置 */
873
+ reserve_scope_config?: Lark.ReserveScopeConfig
874
+ }
875
+
876
+ export interface PatchQuery {
877
+ /** 此次调用中使用的用户ID的类型 */
878
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
879
+ }
880
+
881
+ export namespace Form {
882
+ export interface Methods {
883
+ /**
884
+ * 查询会议室预定表单
885
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve_config-form/get
886
+ */
887
+ get(reserve_config_id: string, query?: GetQuery): Promise<GetResponse>
888
+ /**
889
+ * 更新会议室预定表单
890
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve_config-form/patch
891
+ */
892
+ patch(reserve_config_id: string, body: PatchRequest, query?: PatchQuery): Promise<void>
893
+ }
894
+
895
+ export interface GetQuery {
896
+ /** 1代表层级,2代表会议室 */
897
+ scope_type: number
898
+ /** 此次调用中使用的用户ID的类型 */
899
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
900
+ }
901
+
902
+ export interface GetResponse {
903
+ /** 预定表单 */
904
+ reserve_form_config: Lark.ReserveFormConfig
905
+ }
906
+
907
+ export interface PatchRequest {
908
+ /** 1代表层级,2代表会议室 */
909
+ scope_type: number
910
+ /** 预定表单设置 */
911
+ reserve_form_config: Lark.ReserveFormConfig
912
+ }
913
+
914
+ export interface PatchQuery {
915
+ /** 此次调用中使用的用户ID的类型 */
916
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
917
+ }
918
+ }
919
+
920
+ export namespace Admin {
921
+ export interface Methods {
922
+ /**
923
+ * 查询会议室预定管理员
924
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve_config-admin/get
925
+ */
926
+ get(reserve_config_id: string, query?: GetQuery): Promise<GetResponse>
927
+ /**
928
+ * 更新会议室预定管理员
929
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve_config-admin/patch
930
+ */
931
+ patch(reserve_config_id: string, body: PatchRequest, query?: PatchQuery): Promise<void>
932
+ }
933
+
934
+ export interface GetQuery {
935
+ /** 会议室或层级 */
936
+ scope_type: number
937
+ /** 此次调用中使用的用户ID的类型 */
938
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
939
+ }
940
+
941
+ export interface GetResponse {
942
+ /** 预定管理员/部门 */
943
+ reserve_admin_config: Lark.ReserveAdminConfig
944
+ }
945
+
946
+ export interface PatchRequest {
947
+ /** 1代表层级,2代表会议室 */
948
+ scope_type: number
949
+ /** 预定管理员或部门 */
950
+ reserve_admin_config: Lark.ReserveAdminConfig
951
+ }
952
+
953
+ export interface PatchQuery {
954
+ /** 此次调用中使用的用户ID的类型 */
955
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
956
+ }
957
+ }
958
+
959
+ export namespace DisableInform {
960
+ export interface Methods {
961
+ /**
962
+ * 查询禁用状态变更通知
963
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve_config-disable_inform/get
964
+ */
965
+ get(reserve_config_id: string, query?: GetQuery): Promise<GetResponse>
966
+ /**
967
+ * 更新禁用状态变更通知
968
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/reserve_config-disable_inform/patch
969
+ */
970
+ patch(reserve_config_id: string, body: PatchRequest, query?: PatchQuery): Promise<void>
971
+ }
972
+
973
+ export interface GetQuery {
974
+ /** 1表示层级,2表示会议室 */
975
+ scope_type: number
976
+ /** 此次调用中使用的用户ID的类型 */
977
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
978
+ }
979
+
980
+ export interface GetResponse {
981
+ /** 会议室禁用通知配置 */
982
+ disable_inform?: Lark.DisableInformConfig
983
+ }
984
+
985
+ export interface PatchRequest {
986
+ /** 1表示会议室层级,2表示会议室 */
987
+ scope_type: number
988
+ /** 禁用通知配置 */
989
+ disable_inform: Lark.DisableInformConfig
990
+ }
991
+
992
+ export interface PatchQuery {
993
+ /** 此次调用中使用的用户ID的类型 */
994
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
995
+ }
996
+ }
997
+ }
1167
998
 
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,
1181
- }
999
+ export namespace MeetingList {
1000
+ export interface Methods {
1001
+ /**
1002
+ * 查询会议明细
1003
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/meeting_list/get
1004
+ */
1005
+ get(query?: GetQuery): Paginated<Lark.MeetingInfo, 'meeting_list'>
1006
+ }
1007
+
1008
+ export const enum GetQueryMeetingStatus {
1009
+ /** 进行中 */
1010
+ Ongoing = 1,
1011
+ /** 已结束 */
1012
+ Past = 2,
1013
+ /** 待召开 */
1014
+ Future = 3,
1015
+ }
1016
+
1017
+ export const enum GetQueryMeetingType {
1018
+ /** 全部类型(默认) */
1019
+ All = 1,
1020
+ /** 视频会议 */
1021
+ Meeting = 2,
1022
+ /** 本地投屏 */
1023
+ ShareScreen = 3,
1024
+ }
1025
+
1026
+ export interface GetQuery extends Pagination {
1027
+ /** 查询开始时间(unix时间,单位sec) */
1028
+ start_time: string
1029
+ /** 查询结束时间(unix时间,单位sec) */
1030
+ end_time: string
1031
+ /** 会议状态 */
1032
+ meeting_status?: GetQueryMeetingStatus
1033
+ /** 按9位会议号筛选(最多一个筛选条件) */
1034
+ meeting_no?: string
1035
+ /** 按参会Lark用户筛选(最多一个筛选条件) */
1036
+ user_id?: string
1037
+ /** 按参会Rooms筛选(最多一个筛选条件) */
1038
+ room_id?: string
1039
+ /** 按会议类型筛选(最多一个筛选条件) */
1040
+ meeting_type?: GetQueryMeetingType
1041
+ /** 此次调用中使用的用户ID的类型 */
1042
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
1043
+ }
1044
+ }
1182
1045
 
1183
- export interface QueryVcRoomConfigQuery {
1184
- /** 查询节点范围 */
1185
- scope: QueryVcRoomConfigQueryScope
1186
- /** 国家/地区ID scope为2,3时需要此参数 */
1187
- country_id?: string
1188
- /** 城市ID scope为3时需要此参数 */
1189
- district_id?: string
1190
- /** 建筑ID scope为4,5时需要此参数 */
1191
- building_id?: string
1192
- /** 楼层 scope为5时需要此参数 */
1193
- floor_name?: string
1194
- /** 会议室ID scope为6时需要此参数 */
1195
- room_id?: string
1196
- /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
1197
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
1198
- }
1046
+ export namespace ParticipantList {
1047
+ export interface Methods {
1048
+ /**
1049
+ * 查询参会人明细
1050
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/participant_list/get
1051
+ */
1052
+ get(query?: GetQuery): Paginated<Lark.Participant, 'participants'>
1053
+ }
1054
+
1055
+ export const enum GetQueryMeetingStatus {
1056
+ /** 进行中 */
1057
+ Ongoing = 1,
1058
+ /** 已结束 */
1059
+ Past = 2,
1060
+ /** 待召开 */
1061
+ Future = 3,
1062
+ }
1063
+
1064
+ export interface GetQuery extends Pagination {
1065
+ /** 会议开始时间(需要精确到一分钟,unix时间,单位sec) */
1066
+ meeting_start_time: string
1067
+ /** 会议结束时间(unix时间,单位sec;对于进行中会议则传0) */
1068
+ meeting_end_time: string
1069
+ /** 会议状态(不传默认为已结束会议) */
1070
+ meeting_status?: GetQueryMeetingStatus
1071
+ /** 9位会议号 */
1072
+ meeting_no: string
1073
+ /** 按参会Lark用户筛选(最多一个筛选条件) */
1074
+ user_id?: string
1075
+ /** 按参会Rooms筛选(最多一个筛选条件) */
1076
+ room_id?: string
1077
+ /** 此次调用中使用的用户ID的类型 */
1078
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
1079
+ }
1080
+ }
1199
1081
 
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
- }
1082
+ export namespace ParticipantQualityList {
1083
+ export interface Methods {
1084
+ /**
1085
+ * 查询参会人会议质量数据
1086
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/participant_quality_list/get
1087
+ */
1088
+ get(query?: GetQuery): Paginated<Lark.ParticipantQuality, 'participant_quality_list'>
1089
+ }
1090
+
1091
+ export interface GetQuery extends Pagination {
1092
+ /** 会议开始时间(需要精确到一分钟,unix时间,单位sec) */
1093
+ meeting_start_time: string
1094
+ /** 会议结束时间(unix时间,单位sec) */
1095
+ meeting_end_time: string
1096
+ /** 9位会议号 */
1097
+ meeting_no: string
1098
+ /** 参会人入会时间(unix时间,单位sec) */
1099
+ join_time: string
1100
+ /** 参会人为Lark用户时填入 */
1101
+ user_id?: string
1102
+ /** 参会人为Rooms时填入 */
1103
+ room_id?: string
1104
+ /** 此次调用中使用的用户ID的类型 */
1105
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
1106
+ }
1107
+ }
1212
1108
 
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
- }
1109
+ export namespace ResourceReservationList {
1110
+ export interface Methods {
1111
+ /**
1112
+ * 查询会议室预定数据
1113
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/resource_reservation_list/get
1114
+ */
1115
+ get(query?: GetQuery): Paginated<Lark.RoomMeetingReservation, 'room_reservation_list'>
1116
+ }
1117
+
1118
+ export interface GetQuery extends Pagination {
1119
+ /** 层级id */
1120
+ room_level_id: string
1121
+ /** 是否展示会议主题 */
1122
+ need_topic?: boolean
1123
+ /** 查询开始时间(unix时间,单位sec) */
1124
+ start_time: string
1125
+ /** 查询结束时间(unix时间,单位sec) */
1126
+ end_time: string
1127
+ /** 待筛选的会议室id列表 */
1128
+ room_ids: string[]
1129
+ /** 若为true表示导出room_ids范围外的会议室,默认为false */
1130
+ is_exclude?: boolean
1131
+ }
1132
+ }
1227
1133
 
1228
- export interface SetVcRoomConfigRequest {
1229
- /** 设置节点范围 */
1230
- scope: SetVcRoomConfigRequestScope
1231
- /** 国家/地区ID scope为2,3时需要此参数 */
1232
- country_id?: string
1233
- /** 城市ID scope为3时需要此参数 */
1234
- district_id?: string
1235
- /** 建筑ID scope为4,5时需要此参数 */
1236
- building_id?: string
1237
- /** 楼层 scope为5时需要此参数 */
1238
- floor_name?: string
1239
- /** 会议室ID scope为6时需要此参数 */
1240
- room_id?: string
1241
- /** 会议室设置 */
1242
- room_config: RoomConfig
1243
- }
1134
+ export namespace Alert {
1135
+ export interface Methods {
1136
+ /**
1137
+ * 获取告警记录
1138
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/alert/list
1139
+ */
1140
+ list(query?: ListQuery): Paginated<Lark.Alert>
1141
+ }
1142
+
1143
+ export const enum ListQueryQueryType {
1144
+ /** 会议室 */
1145
+ Room = 1,
1146
+ /** erc */
1147
+ Erc = 2,
1148
+ /** SIP会议室系统 */
1149
+ Sip = 3,
1150
+ }
1151
+
1152
+ export interface ListQuery extends Pagination {
1153
+ /** 开始时间(unix时间,单位sec) */
1154
+ start_time: string
1155
+ /** 结束时间(unix时间,单位sec) */
1156
+ end_time: string
1157
+ /** 查询对象类型 */
1158
+ query_type?: ListQueryQueryType
1159
+ /** 查询对象ID */
1160
+ query_value?: string
1161
+ }
1162
+ }
1244
1163
 
1245
- export interface SetVcRoomConfigQuery {
1246
- /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
1247
- user_id_type?: 'user_id' | 'union_id' | 'open_id'
1164
+ export namespace RoomConfig {
1165
+ export interface Methods {
1166
+ /**
1167
+ * 创建签到板部署码
1168
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_config/set_checkboard_access_code
1169
+ */
1170
+ setCheckboardAccessCode(body: SetCheckboardAccessCodeRequest): Promise<SetCheckboardAccessCodeResponse>
1171
+ /**
1172
+ * 创建会议室部署码
1173
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_config/set_room_access_code
1174
+ */
1175
+ setRoomAccessCode(body: SetRoomAccessCodeRequest): Promise<SetRoomAccessCodeResponse>
1176
+ /**
1177
+ * 查询会议室配置
1178
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_config/query
1179
+ */
1180
+ query(query?: QueryQuery): Promise<QueryResponse>
1181
+ /**
1182
+ * 设置会议室配置
1183
+ * @see https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/vc-v1/room_config/set
1184
+ */
1185
+ set(body: SetRequest, query?: SetQuery): Promise<void>
1186
+ }
1187
+
1188
+ export const enum SetCheckboardAccessCodeRequestScope {
1189
+ /** 租户 */
1190
+ Tenant = 1,
1191
+ /** 国家/地区 */
1192
+ CountryDistrict = 2,
1193
+ /** 城市 */
1194
+ City = 3,
1195
+ /** 建筑 */
1196
+ Building = 4,
1197
+ /** 楼层 */
1198
+ Floor = 5,
1199
+ /** 会议室 */
1200
+ Room = 6,
1201
+ }
1202
+
1203
+ export const enum SetCheckboardAccessCodeRequestValidDay {
1204
+ /** 1天 */
1205
+ Day = 1,
1206
+ /** 7天 */
1207
+ Week = 7,
1208
+ /** 30天 */
1209
+ Month = 30,
1210
+ }
1211
+
1212
+ export interface SetCheckboardAccessCodeRequest {
1213
+ /** 设置节点范围 */
1214
+ scope: SetCheckboardAccessCodeRequestScope
1215
+ /** 国家/地区ID scope为2,3时需要此参数 */
1216
+ country_id?: string
1217
+ /** 城市ID scope为3时需要此参数 */
1218
+ district_id?: string
1219
+ /** 建筑ID scope为4,5时需要此参数 */
1220
+ building_id?: string
1221
+ /** 楼层 scope为5时需要此参数 */
1222
+ floor_name?: string
1223
+ /** 会议室ID scope为6时需要此参数 */
1224
+ room_id?: string
1225
+ /** 有效天数 */
1226
+ valid_day: SetCheckboardAccessCodeRequestValidDay
1227
+ }
1228
+
1229
+ export interface SetCheckboardAccessCodeResponse {
1230
+ /** 部署访问码 */
1231
+ access_code?: string
1232
+ }
1233
+
1234
+ export const enum SetRoomAccessCodeRequestScope {
1235
+ /** 租户 */
1236
+ Tenant = 1,
1237
+ /** 国家/地区 */
1238
+ CountryDistrict = 2,
1239
+ /** 城市 */
1240
+ City = 3,
1241
+ /** 建筑 */
1242
+ Building = 4,
1243
+ /** 楼层 */
1244
+ Floor = 5,
1245
+ /** 会议室 */
1246
+ Room = 6,
1247
+ }
1248
+
1249
+ export const enum SetRoomAccessCodeRequestValidDay {
1250
+ /** 1天 */
1251
+ Day = 1,
1252
+ /** 7天 */
1253
+ Week = 7,
1254
+ /** 30天 */
1255
+ Month = 30,
1256
+ }
1257
+
1258
+ export interface SetRoomAccessCodeRequest {
1259
+ /** 设置节点范围 */
1260
+ scope: SetRoomAccessCodeRequestScope
1261
+ /** 国家/地区ID scope为2,3时需要此参数 */
1262
+ country_id?: string
1263
+ /** 城市ID scope为3时需要此参数 */
1264
+ district_id?: string
1265
+ /** 建筑ID scope为4,5时需要此参数 */
1266
+ building_id?: string
1267
+ /** 楼层 scope为5时需要此参数 */
1268
+ floor_name?: string
1269
+ /** 会议室ID scope为6时需要此参数 */
1270
+ room_id?: string
1271
+ /** 有效天数 */
1272
+ valid_day: SetRoomAccessCodeRequestValidDay
1273
+ }
1274
+
1275
+ export interface SetRoomAccessCodeResponse {
1276
+ /** 部署访问码 */
1277
+ access_code?: string
1278
+ }
1279
+
1280
+ export const enum QueryQueryScope {
1281
+ /** 租户 */
1282
+ Tenant = 1,
1283
+ /** 国家/地区 */
1284
+ CountryDistrict = 2,
1285
+ /** 城市 */
1286
+ City = 3,
1287
+ /** 建筑 */
1288
+ Building = 4,
1289
+ /** 楼层 */
1290
+ Floor = 5,
1291
+ /** 会议室 */
1292
+ Room = 6,
1293
+ }
1294
+
1295
+ export interface QueryQuery {
1296
+ /** 查询节点范围 */
1297
+ scope: QueryQueryScope
1298
+ /** 国家/地区ID scope为2,3时需要此参数 */
1299
+ country_id?: string
1300
+ /** 城市ID scope为3时需要此参数 */
1301
+ district_id?: string
1302
+ /** 建筑ID scope为4,5时需要此参数 */
1303
+ building_id?: string
1304
+ /** 楼层 scope为5时需要此参数 */
1305
+ floor_name?: string
1306
+ /** 会议室ID scope为6时需要此参数 */
1307
+ room_id?: string
1308
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
1309
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
1310
+ }
1311
+
1312
+ export interface QueryResponse {
1313
+ /** 飞书会议室背景图 */
1314
+ room_background?: string
1315
+ /** 飞书签到板背景图 */
1316
+ display_background?: string
1317
+ /** 飞书会议室数字标牌 */
1318
+ digital_signage?: Lark.RoomDigitalSignage
1319
+ /** 飞书投屏盒子数字标牌 */
1320
+ room_box_digital_signage?: Lark.RoomDigitalSignage
1321
+ /** 会议室状态 */
1322
+ room_status?: Lark.RoomStatus
1323
+ }
1324
+
1325
+ export const enum SetRequestScope {
1326
+ /** 租户 */
1327
+ Tenant = 1,
1328
+ /** 国家/地区 */
1329
+ CountryDistrict = 2,
1330
+ /** 城市 */
1331
+ City = 3,
1332
+ /** 建筑 */
1333
+ Building = 4,
1334
+ /** 楼层 */
1335
+ Floor = 5,
1336
+ /** 会议室 */
1337
+ Room = 6,
1338
+ }
1339
+
1340
+ export interface SetRequest {
1341
+ /** 设置节点范围 */
1342
+ scope: SetRequestScope
1343
+ /** 国家/地区ID scope为2,3时需要此参数 */
1344
+ country_id?: string
1345
+ /** 城市ID scope为3时需要此参数 */
1346
+ district_id?: string
1347
+ /** 建筑ID scope为4,5时需要此参数 */
1348
+ building_id?: string
1349
+ /** 楼层 scope为5时需要此参数 */
1350
+ floor_name?: string
1351
+ /** 会议室ID scope为6时需要此参数 */
1352
+ room_id?: string
1353
+ /** 会议室设置 */
1354
+ room_config: Lark.RoomConfig
1355
+ }
1356
+
1357
+ export interface SetQuery {
1358
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
1359
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
1360
+ }
1361
+ }
1248
1362
  }
1249
1363
 
1250
1364
  Internal.define({
1251
1365
  '/vc/v1/reserves/apply': {
1252
- POST: 'applyVcReserve',
1366
+ POST: 'vc.reserve.apply',
1253
1367
  },
1254
1368
  '/vc/v1/reserves/{reserve_id}': {
1255
- DELETE: 'deleteVcReserve',
1256
- PUT: 'updateVcReserve',
1257
- GET: 'getVcReserve',
1369
+ DELETE: 'vc.reserve.delete',
1370
+ PUT: 'vc.reserve.update',
1371
+ GET: 'vc.reserve.get',
1258
1372
  },
1259
1373
  '/vc/v1/reserves/{reserve_id}/get_active_meeting': {
1260
- GET: 'getActiveMeetingVcReserve',
1374
+ GET: 'vc.reserve.getActiveMeeting',
1261
1375
  },
1262
1376
  '/vc/v1/meetings/{meeting_id}/invite': {
1263
- PATCH: 'inviteVcMeeting',
1377
+ PATCH: 'vc.meeting.invite',
1264
1378
  },
1265
1379
  '/vc/v1/meetings/{meeting_id}/kickout': {
1266
- POST: 'kickoutVcMeeting',
1380
+ POST: 'vc.meeting.kickout',
1267
1381
  },
1268
1382
  '/vc/v1/meetings/{meeting_id}/set_host': {
1269
- PATCH: 'setHostVcMeeting',
1383
+ PATCH: 'vc.meeting.setHost',
1270
1384
  },
1271
1385
  '/vc/v1/meetings/{meeting_id}/end': {
1272
- PATCH: 'endVcMeeting',
1386
+ PATCH: 'vc.meeting.end',
1273
1387
  },
1274
1388
  '/vc/v1/meetings/{meeting_id}': {
1275
- GET: 'getVcMeeting',
1389
+ GET: 'vc.meeting.get',
1276
1390
  },
1277
1391
  '/vc/v1/meetings/list_by_no': {
1278
- GET: { name: 'listByNoVcMeeting', pagination: { argIndex: 0, itemsKey: 'meeting_briefs' } },
1392
+ GET: { name: 'vc.meeting.listByNo', pagination: { argIndex: 0, itemsKey: 'meeting_briefs' } },
1279
1393
  },
1280
1394
  '/vc/v1/meetings/{meeting_id}/recording/start': {
1281
- PATCH: 'startVcMeetingRecording',
1395
+ PATCH: 'vc.meeting.recording.start',
1282
1396
  },
1283
1397
  '/vc/v1/meetings/{meeting_id}/recording/stop': {
1284
- PATCH: 'stopVcMeetingRecording',
1398
+ PATCH: 'vc.meeting.recording.stop',
1285
1399
  },
1286
1400
  '/vc/v1/meetings/{meeting_id}/recording': {
1287
- GET: 'getVcMeetingRecording',
1401
+ GET: 'vc.meeting.recording.get',
1288
1402
  },
1289
1403
  '/vc/v1/meetings/{meeting_id}/recording/set_permission': {
1290
- PATCH: 'setPermissionVcMeetingRecording',
1404
+ PATCH: 'vc.meeting.recording.setPermission',
1291
1405
  },
1292
1406
  '/vc/v1/reports/get_daily': {
1293
- GET: 'getDailyVcReport',
1407
+ GET: 'vc.report.getDaily',
1294
1408
  },
1295
1409
  '/vc/v1/reports/get_top_user': {
1296
- GET: 'getTopUserVcReport',
1410
+ GET: 'vc.report.getTopUser',
1297
1411
  },
1298
1412
  '/vc/v1/exports/meeting_list': {
1299
- POST: 'meetingListVcExport',
1413
+ POST: 'vc.export.meetingList',
1300
1414
  },
1301
1415
  '/vc/v1/exports/participant_list': {
1302
- POST: 'participantListVcExport',
1416
+ POST: 'vc.export.participantList',
1303
1417
  },
1304
1418
  '/vc/v1/exports/participant_quality_list': {
1305
- POST: 'participantQualityListVcExport',
1419
+ POST: 'vc.export.participantQualityList',
1306
1420
  },
1307
1421
  '/vc/v1/exports/resource_reservation_list': {
1308
- POST: 'resourceReservationListVcExport',
1422
+ POST: 'vc.export.resourceReservationList',
1309
1423
  },
1310
1424
  '/vc/v1/exports/{task_id}': {
1311
- GET: 'getVcExport',
1425
+ GET: 'vc.export.get',
1312
1426
  },
1313
1427
  '/vc/v1/exports/download': {
1314
- GET: { name: 'downloadVcExport', type: 'binary' },
1428
+ GET: { name: 'vc.export.download', type: 'binary' },
1315
1429
  },
1316
1430
  '/vc/v1/room_levels': {
1317
- POST: 'createVcRoomLevel',
1318
- GET: { name: 'listVcRoomLevel', pagination: { argIndex: 0 } },
1431
+ POST: 'vc.roomLevel.create',
1432
+ GET: { name: 'vc.roomLevel.list', pagination: { argIndex: 0 } },
1319
1433
  },
1320
1434
  '/vc/v1/room_levels/del': {
1321
- POST: 'delVcRoomLevel',
1435
+ POST: 'vc.roomLevel.del',
1322
1436
  },
1323
1437
  '/vc/v1/room_levels/{room_level_id}': {
1324
- PATCH: 'patchVcRoomLevel',
1325
- GET: 'getVcRoomLevel',
1438
+ PATCH: 'vc.roomLevel.patch',
1439
+ GET: 'vc.roomLevel.get',
1326
1440
  },
1327
1441
  '/vc/v1/room_levels/mget': {
1328
- POST: 'mgetVcRoomLevel',
1442
+ POST: 'vc.roomLevel.mget',
1329
1443
  },
1330
1444
  '/vc/v1/room_levels/search': {
1331
- GET: 'searchVcRoomLevel',
1445
+ GET: 'vc.roomLevel.search',
1332
1446
  },
1333
1447
  '/vc/v1/rooms': {
1334
- POST: 'createVcRoom',
1335
- GET: { name: 'listVcRoom', pagination: { argIndex: 0, itemsKey: 'rooms' } },
1448
+ POST: 'vc.room.create',
1449
+ GET: { name: 'vc.room.list', pagination: { argIndex: 0, itemsKey: 'rooms' } },
1336
1450
  },
1337
1451
  '/vc/v1/rooms/{room_id}': {
1338
- DELETE: 'deleteVcRoom',
1339
- PATCH: 'patchVcRoom',
1340
- GET: 'getVcRoom',
1452
+ DELETE: 'vc.room.delete',
1453
+ PATCH: 'vc.room.patch',
1454
+ GET: 'vc.room.get',
1341
1455
  },
1342
1456
  '/vc/v1/rooms/mget': {
1343
- POST: 'mgetVcRoom',
1457
+ POST: 'vc.room.mget',
1344
1458
  },
1345
1459
  '/vc/v1/rooms/search': {
1346
- POST: 'searchVcRoom',
1460
+ POST: 'vc.room.search',
1347
1461
  },
1348
1462
  '/vc/v1/scope_config': {
1349
- GET: 'getVcScopeConfig',
1350
- POST: 'createVcScopeConfig',
1463
+ GET: 'vc.scopeConfig.get',
1464
+ POST: 'vc.scopeConfig.create',
1351
1465
  },
1352
1466
  '/vc/v1/reserve_configs/reserve_scope': {
1353
- GET: 'reserveScopeVcReserveConfig',
1467
+ GET: 'vc.reserveConfig.reserveScope',
1354
1468
  },
1355
1469
  '/vc/v1/reserve_configs/{reserve_config_id}': {
1356
- PATCH: 'patchVcReserveConfig',
1470
+ PATCH: 'vc.reserveConfig.patch',
1357
1471
  },
1358
1472
  '/vc/v1/reserve_configs/{reserve_config_id}/form': {
1359
- GET: 'getVcReserveConfigForm',
1360
- PATCH: 'patchVcReserveConfigForm',
1473
+ GET: 'vc.reserveConfig.form.get',
1474
+ PATCH: 'vc.reserveConfig.form.patch',
1361
1475
  },
1362
1476
  '/vc/v1/reserve_configs/{reserve_config_id}/admin': {
1363
- GET: 'getVcReserveConfigAdmin',
1364
- PATCH: 'patchVcReserveConfigAdmin',
1477
+ GET: 'vc.reserveConfig.admin.get',
1478
+ PATCH: 'vc.reserveConfig.admin.patch',
1365
1479
  },
1366
1480
  '/vc/v1/reserve_configs/{reserve_config_id}/disable_inform': {
1367
- GET: 'getVcReserveConfigDisableInform',
1368
- PATCH: 'patchVcReserveConfigDisableInform',
1481
+ GET: 'vc.reserveConfig.disableInform.get',
1482
+ PATCH: 'vc.reserveConfig.disableInform.patch',
1369
1483
  },
1370
1484
  '/vc/v1/meeting_list': {
1371
- GET: { name: 'getVcMeetingList', pagination: { argIndex: 0, itemsKey: 'meeting_list' } },
1485
+ GET: { name: 'vc.meetingList.get', pagination: { argIndex: 0, itemsKey: 'meeting_list' } },
1372
1486
  },
1373
1487
  '/vc/v1/participant_list': {
1374
- GET: { name: 'getVcParticipantList', pagination: { argIndex: 0, itemsKey: 'participants' } },
1488
+ GET: { name: 'vc.participantList.get', pagination: { argIndex: 0, itemsKey: 'participants' } },
1375
1489
  },
1376
1490
  '/vc/v1/participant_quality_list': {
1377
- GET: { name: 'getVcParticipantQualityList', pagination: { argIndex: 0, itemsKey: 'participant_quality_list' } },
1491
+ GET: { name: 'vc.participantQualityList.get', pagination: { argIndex: 0, itemsKey: 'participant_quality_list' } },
1378
1492
  },
1379
1493
  '/vc/v1/resource_reservation_list': {
1380
- GET: { name: 'getVcResourceReservationList', pagination: { argIndex: 0, itemsKey: 'room_reservation_list' } },
1494
+ GET: { name: 'vc.resourceReservationList.get', pagination: { argIndex: 0, itemsKey: 'room_reservation_list' } },
1381
1495
  },
1382
1496
  '/vc/v1/alerts': {
1383
- GET: { name: 'listVcAlert', pagination: { argIndex: 0 } },
1497
+ GET: { name: 'vc.alert.list', pagination: { argIndex: 0 } },
1384
1498
  },
1385
1499
  '/vc/v1/room_configs/set_checkboard_access_code': {
1386
- POST: 'setCheckboardAccessCodeVcRoomConfig',
1500
+ POST: 'vc.roomConfig.setCheckboardAccessCode',
1387
1501
  },
1388
1502
  '/vc/v1/room_configs/set_room_access_code': {
1389
- POST: 'setRoomAccessCodeVcRoomConfig',
1503
+ POST: 'vc.roomConfig.setRoomAccessCode',
1390
1504
  },
1391
1505
  '/vc/v1/room_configs/query': {
1392
- GET: 'queryVcRoomConfig',
1506
+ GET: 'vc.roomConfig.query',
1393
1507
  },
1394
1508
  '/vc/v1/room_configs/set': {
1395
- POST: 'setVcRoomConfig',
1509
+ POST: 'vc.roomConfig.set',
1396
1510
  },
1397
1511
  })