@satorijs/adapter-lark 3.8.6 → 3.9.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 (121) hide show
  1. package/lib/bot.d.ts +1 -1
  2. package/lib/content.d.ts +433 -0
  3. package/lib/http.d.ts +1 -1
  4. package/lib/index.cjs +2792 -1719
  5. package/lib/index.d.ts +4 -2
  6. package/lib/internal.d.ts +37 -0
  7. package/lib/message.d.ts +2 -0
  8. package/lib/types/acs.d.ts +177 -0
  9. package/lib/types/admin.d.ts +270 -0
  10. package/lib/types/aily.d.ts +221 -0
  11. package/lib/types/apaas.d.ts +499 -0
  12. package/lib/types/application.d.ts +406 -0
  13. package/lib/types/approval.d.ts +779 -0
  14. package/lib/types/attendance.d.ts +957 -0
  15. package/lib/types/auth.d.ts +86 -0
  16. package/lib/types/authen.d.ts +191 -0
  17. package/lib/types/baike.d.ts +239 -0
  18. package/lib/types/bitable.d.ts +691 -0
  19. package/lib/types/board.d.ts +19 -0
  20. package/lib/types/calendar.d.ts +653 -0
  21. package/lib/types/cardkit.d.ts +139 -0
  22. package/lib/types/compensation.d.ts +54 -0
  23. package/lib/types/contact.d.ts +1137 -0
  24. package/lib/types/corehr.d.ts +4391 -0
  25. package/lib/types/docs.d.ts +23 -0
  26. package/lib/types/document_ai.d.ts +257 -0
  27. package/lib/types/docx.d.ts +380 -0
  28. package/lib/types/drive.d.ts +1053 -0
  29. package/lib/types/ehr.d.ts +32 -0
  30. package/lib/types/event.d.ts +9 -18
  31. package/lib/types/helpdesk.d.ts +746 -0
  32. package/lib/types/hire.d.ts +3150 -0
  33. package/lib/types/human_authentication.d.ts +27 -0
  34. package/lib/types/im.d.ts +1300 -0
  35. package/lib/types/index.d.ts +16432 -34
  36. package/lib/types/lingo.d.ts +254 -0
  37. package/lib/types/mail.d.ts +680 -0
  38. package/lib/types/mdm.d.ts +42 -0
  39. package/lib/types/minutes.d.ts +31 -0
  40. package/lib/types/moments.d.ts +18 -0
  41. package/lib/types/okr.d.ts +205 -0
  42. package/lib/types/optical_char_recognition.d.ts +17 -0
  43. package/lib/types/passport.d.ts +45 -0
  44. package/lib/types/payroll.d.ts +50 -0
  45. package/lib/types/performance.d.ts +413 -0
  46. package/lib/types/personal_settings.d.ts +87 -0
  47. package/lib/types/report.d.ts +57 -0
  48. package/lib/types/search.d.ts +216 -0
  49. package/lib/types/security_and_compliance.d.ts +24 -0
  50. package/lib/types/sheets.d.ts +326 -0
  51. package/lib/types/speech_to_text.d.ts +39 -0
  52. package/lib/types/task.d.ts +1153 -0
  53. package/lib/types/tenant.d.ts +23 -0
  54. package/lib/types/translation.d.ts +37 -0
  55. package/lib/types/vc.d.ts +948 -0
  56. package/lib/types/verification.d.ts +14 -0
  57. package/lib/types/wiki.d.ts +240 -0
  58. package/lib/types/workplace.d.ts +43 -0
  59. package/lib/utils.d.ts +143 -7
  60. package/package.json +6 -4
  61. package/src/bot.ts +19 -3
  62. package/src/{types/message/content.ts → content.ts} +1 -0
  63. package/src/http.ts +1 -3
  64. package/src/index.ts +4 -2
  65. package/src/internal.ts +143 -0
  66. package/src/message.ts +13 -11
  67. package/src/types/acs.ts +236 -0
  68. package/src/types/admin.ts +328 -0
  69. package/src/types/aily.ts +288 -0
  70. package/src/types/apaas.ts +646 -0
  71. package/src/types/application.ts +520 -0
  72. package/src/types/approval.ts +924 -0
  73. package/src/types/attendance.ts +1153 -0
  74. package/src/types/auth.ts +114 -0
  75. package/src/types/authen.ts +220 -0
  76. package/src/types/baike.ts +306 -0
  77. package/src/types/bitable.ts +879 -0
  78. package/src/types/board.ts +31 -0
  79. package/src/types/calendar.ts +817 -0
  80. package/src/types/cardkit.ts +182 -0
  81. package/src/types/compensation.ts +79 -0
  82. package/src/types/contact.ts +1411 -0
  83. package/src/types/corehr.ts +5297 -0
  84. package/src/types/docs.ts +33 -0
  85. package/src/types/document_ai.ts +352 -0
  86. package/src/types/docx.ts +471 -0
  87. package/src/types/drive.ts +1321 -0
  88. package/src/types/ehr.ts +43 -0
  89. package/src/types/event.ts +15 -21
  90. package/src/types/helpdesk.ts +925 -0
  91. package/src/types/hire.ts +3918 -0
  92. package/src/types/human_authentication.ts +38 -0
  93. package/src/types/im.ts +1605 -0
  94. package/src/types/index.ts +17754 -39
  95. package/src/types/lingo.ts +321 -0
  96. package/src/types/mail.ts +851 -0
  97. package/src/types/mdm.ts +57 -0
  98. package/src/types/minutes.ts +46 -0
  99. package/src/types/moments.ts +28 -0
  100. package/src/types/okr.ts +261 -0
  101. package/src/types/optical_char_recognition.ts +27 -0
  102. package/src/types/passport.ts +61 -0
  103. package/src/types/payroll.ts +69 -0
  104. package/src/types/performance.ts +524 -0
  105. package/src/types/personal_settings.ts +116 -0
  106. package/src/types/report.ts +77 -0
  107. package/src/types/search.ts +268 -0
  108. package/src/types/security_and_compliance.ts +33 -0
  109. package/src/types/sheets.ts +425 -0
  110. package/src/types/speech_to_text.ts +54 -0
  111. package/src/types/task.ts +1464 -0
  112. package/src/types/tenant.ts +36 -0
  113. package/src/types/translation.ts +52 -0
  114. package/src/types/vc.ts +1197 -0
  115. package/src/types/verification.ts +23 -0
  116. package/src/types/wiki.ts +313 -0
  117. package/src/types/workplace.ts +59 -0
  118. package/src/utils.ts +160 -8
  119. package/src/types/api.ts +0 -30848
  120. package/src/types/internal.ts +0 -84
  121. package/src/types/message/index.ts +0 -97
@@ -0,0 +1,1197 @@
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'
3
+
4
+ declare module '../internal' {
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>
286
+ }
287
+ }
288
+
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 UpdateVcReserveRequest {
304
+ /** 预约到期时间(unix时间,单位sec) */
305
+ end_time?: string
306
+ /** 会议设置 */
307
+ meeting_settings?: ReserveMeetingSetting
308
+ }
309
+
310
+ export interface UpdateVcReserveQuery {
311
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
312
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
313
+ }
314
+
315
+ export interface GetVcReserveQuery {
316
+ /** 此次调用中使用的用户ID的类型 */
317
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
318
+ }
319
+
320
+ export interface GetActiveMeetingVcReserveQuery {
321
+ /** 是否需要参会人列表,默认为false */
322
+ with_participants?: boolean
323
+ /** 此次调用中使用的用户ID的类型 */
324
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
325
+ }
326
+
327
+ export interface InviteVcMeetingRequest {
328
+ /** 被邀请的用户列表 */
329
+ invitees: MeetingUser[]
330
+ }
331
+
332
+ export interface InviteVcMeetingQuery {
333
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
334
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
335
+ }
336
+
337
+ export interface KickoutVcMeetingRequest {
338
+ /** 需踢出的用户列表 */
339
+ kickout_users: MeetingUser[]
340
+ }
341
+
342
+ export interface KickoutVcMeetingQuery {
343
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
344
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
345
+ }
346
+
347
+ export interface SetHostVcMeetingRequest {
348
+ /** 将要设置的主持人 */
349
+ host_user: MeetingUser
350
+ /** 当前主持人(CAS并发安全:如果和会中当前主持人不符则会设置失败,可使用返回的最新数据重新设置) */
351
+ old_host_user?: MeetingUser
352
+ }
353
+
354
+ export interface SetHostVcMeetingQuery {
355
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
356
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
357
+ }
358
+
359
+ export interface GetVcMeetingQuery {
360
+ /** 是否需要参会人列表 */
361
+ with_participants?: boolean
362
+ /** 是否需要会中使用能力统计(仅限tenant_access_token) */
363
+ with_meeting_ability?: boolean
364
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
365
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
366
+ }
367
+
368
+ export interface ListByNoVcMeetingQuery extends Pagination {
369
+ /** 9位会议号 */
370
+ meeting_no: string
371
+ /** 查询开始时间(unix时间,单位sec) */
372
+ start_time: string
373
+ /** 查询结束时间(unix时间,单位sec) */
374
+ end_time: string
375
+ }
376
+
377
+ export interface StartVcMeetingRecordingRequest {
378
+ /** 录制文件时间显示使用的时区[-12,12] */
379
+ timezone?: number
380
+ }
381
+
382
+ export interface SetPermissionVcMeetingRecordingRequest {
383
+ /** 授权对象列表 */
384
+ permission_objects: RecordingPermissionObject[]
385
+ /** 授权或者取消授权,默认授权 */
386
+ action_type?: 0 | 1
387
+ }
388
+
389
+ export interface SetPermissionVcMeetingRecordingQuery {
390
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
391
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
392
+ }
393
+
394
+ export interface GetDailyVcReportQuery {
395
+ /** 开始时间(unix时间,单位sec) */
396
+ start_time: string
397
+ /** 结束时间(unix时间,单位sec) */
398
+ end_time: string
399
+ /** 数据驻留地 */
400
+ unit?: 0 | 1 | 2 | 3
401
+ }
402
+
403
+ export interface GetTopUserVcReportQuery {
404
+ /** 开始时间(unix时间,单位sec) */
405
+ start_time: string
406
+ /** 结束时间(unix时间,单位sec) */
407
+ end_time: string
408
+ /** 取前多少位 */
409
+ limit: number
410
+ /** 排序依据(降序) */
411
+ order_by: 1 | 2
412
+ /** 数据驻留地 */
413
+ unit?: 0 | 1 | 2 | 3
414
+ /** 此次调用中使用的用户ID的类型 */
415
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
416
+ }
417
+
418
+ export interface MeetingListVcExportRequest {
419
+ /** 查询开始时间(unix时间,单位sec) */
420
+ start_time: string
421
+ /** 查询结束时间(unix时间,单位sec) */
422
+ end_time: string
423
+ /** 会议状态(不传默认为已结束会议) */
424
+ meeting_status?: 1 | 2 | 3
425
+ /** 按9位会议号筛选(最多一个筛选条件) */
426
+ meeting_no?: string
427
+ /** 按参会Lark用户筛选(最多一个筛选条件) */
428
+ user_id?: string
429
+ /** 按参会Rooms筛选(最多一个筛选条件) */
430
+ room_id?: string
431
+ /** 按会议类型筛选(最多一个筛选条件) */
432
+ meeting_type?: 1 | 2 | 3
433
+ }
434
+
435
+ export interface MeetingListVcExportQuery {
436
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
437
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
438
+ }
439
+
440
+ export interface ParticipantListVcExportRequest {
441
+ /** 会议开始时间(unix时间,单位sec) */
442
+ meeting_start_time: string
443
+ /** 会议结束时间(unix时间,单位sec) */
444
+ meeting_end_time: string
445
+ /** 会议状态(不传默认为已结束会议) */
446
+ meeting_status?: 1 | 2 | 3
447
+ /** 9位会议号 */
448
+ meeting_no: string
449
+ /** 按参会Lark用户筛选(最多一个筛选条件) */
450
+ user_id?: string
451
+ /** 按参会Rooms筛选(最多一个筛选条件) */
452
+ room_id?: string
453
+ }
454
+
455
+ export interface ParticipantListVcExportQuery {
456
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
457
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
458
+ }
459
+
460
+ export interface ParticipantQualityListVcExportRequest {
461
+ /** 会议开始时间(unix时间,单位sec) */
462
+ meeting_start_time: string
463
+ /** 会议结束时间(unix时间,单位sec) */
464
+ meeting_end_time: string
465
+ /** 9位会议号 */
466
+ meeting_no: string
467
+ /** 参会人入会时间(unix时间,单位sec) */
468
+ join_time: string
469
+ /** 参会人为Lark用户时填入 */
470
+ user_id?: string
471
+ /** 参会人为Rooms时填入 */
472
+ room_id?: string
473
+ }
474
+
475
+ export interface ParticipantQualityListVcExportQuery {
476
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
477
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
478
+ }
479
+
480
+ export interface ResourceReservationListVcExportRequest {
481
+ /** 层级id */
482
+ room_level_id: string
483
+ /** 是否展示会议主题 */
484
+ need_topic?: boolean
485
+ /** 查询开始时间(unix时间,单位sec) */
486
+ start_time: string
487
+ /** 查询结束时间(unix时间,单位sec) */
488
+ end_time: string
489
+ /** 待筛选的会议室id列表 */
490
+ room_ids?: string[]
491
+ /** 若为true表示导出room_ids范围外的会议室,默认为false */
492
+ is_exclude?: boolean
493
+ }
494
+
495
+ export interface DownloadVcExportQuery {
496
+ /** 文档token */
497
+ file_token: string
498
+ }
499
+
500
+ export interface CreateVcRoomLevelRequest {
501
+ /** 层级名称 */
502
+ name: string
503
+ /** 父层级ID */
504
+ parent_id: string
505
+ /** 自定义层级ID */
506
+ custom_group_id?: string
507
+ }
508
+
509
+ export interface DelVcRoomLevelRequest {
510
+ /** 层级ID */
511
+ room_level_id: string
512
+ /** 是否删除所有子层级 */
513
+ delete_child?: boolean
514
+ }
515
+
516
+ export interface PatchVcRoomLevelRequest {
517
+ /** 层级名称 */
518
+ name: string
519
+ /** 父层级ID */
520
+ parent_id: string
521
+ /** 自定义层级ID */
522
+ custom_group_id?: string
523
+ }
524
+
525
+ export interface MgetVcRoomLevelRequest {
526
+ /** 层级id列表 */
527
+ level_ids: string[]
528
+ }
529
+
530
+ export interface ListVcRoomLevelQuery extends Pagination {
531
+ /** 层级ID,不传则返回该租户下第一层级列表 */
532
+ room_level_id?: string
533
+ }
534
+
535
+ export interface SearchVcRoomLevelQuery {
536
+ /** 用于查询指定会议室的租户自定义会议室ID */
537
+ custom_level_ids: string
538
+ }
539
+
540
+ export interface CreateVcRoomRequest {
541
+ /** 会议室名称 */
542
+ name: string
543
+ /** 会议室能容纳的人数 */
544
+ capacity: number
545
+ /** 会议室的相关描述 */
546
+ description?: string
547
+ /** 自定义的会议室ID */
548
+ custom_room_id?: string
549
+ /** 层级ID */
550
+ room_level_id: string
551
+ /** 会议室状态 */
552
+ room_status?: RoomStatus
553
+ /** 设施信息列表 */
554
+ device?: Device[]
555
+ }
556
+
557
+ export interface CreateVcRoomQuery {
558
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
559
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
560
+ }
561
+
562
+ export interface PatchVcRoomRequest {
563
+ /** 会议室名称 */
564
+ name?: string
565
+ /** 会议室能容纳的人数 */
566
+ capacity?: number
567
+ /** 会议室的相关描述 */
568
+ description?: string
569
+ /** 自定义的会议室ID */
570
+ custom_room_id?: string
571
+ /** 层级ID */
572
+ room_level_id?: string
573
+ /** 会议室状态 */
574
+ room_status?: RoomStatus
575
+ /** 设施信息列表 */
576
+ device?: Device[]
577
+ }
578
+
579
+ export interface PatchVcRoomQuery {
580
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
581
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
582
+ }
583
+
584
+ export interface GetVcRoomQuery {
585
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
586
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
587
+ }
588
+
589
+ export interface MgetVcRoomRequest {
590
+ /** 会议室id列表 */
591
+ room_ids: string[]
592
+ }
593
+
594
+ export interface MgetVcRoomQuery {
595
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
596
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
597
+ }
598
+
599
+ export interface ListVcRoomQuery extends Pagination {
600
+ /** 层级ID,不传则返回该租户下的所有会议室 */
601
+ room_level_id?: string
602
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
603
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
604
+ }
605
+
606
+ export interface SearchVcRoomRequest {
607
+ /** 用于查询指定会议室的租户自定义会议室ID列表,优先使用该字段进行查询 */
608
+ custom_room_ids?: string[]
609
+ /** 会议室搜索关键词(当custom_room_ids为空时,使用该字段进行查询) */
610
+ keyword?: string
611
+ /** 在该会议室层级下进行搜索 */
612
+ room_level_id?: string
613
+ /** 搜索会议室是否包括层级名称 */
614
+ search_level_name?: boolean
615
+ /** 分页大小,该值默认为10,最大为100 */
616
+ page_size?: number
617
+ /** 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果 */
618
+ page_token?: string
619
+ }
620
+
621
+ export interface SearchVcRoomQuery {
622
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
623
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
624
+ }
625
+
626
+ export interface GetVcScopeConfigQuery {
627
+ /** 查询节点范围 */
628
+ scope_type: 1 | 2
629
+ /** 查询节点ID:如果scope_type为1,则为层级ID,如果scope_type为2,则为会议室ID */
630
+ scope_id: string
631
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
632
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
633
+ }
634
+
635
+ export interface CreateVcScopeConfigRequest {
636
+ /** 查询节点范围 */
637
+ scope_type: 1 | 2
638
+ /** 查询节点ID:如果scope_type为1,则为层级ID,如果scope_type为2,则为会议室ID */
639
+ scope_id: string
640
+ /** 节点配置 */
641
+ scope_config?: RoomConfig
642
+ }
643
+
644
+ export interface CreateVcScopeConfigQuery {
645
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
646
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
647
+ }
648
+
649
+ export interface ReserveScopeVcReserveConfigQuery {
650
+ /** 会议室或层级id */
651
+ scope_id: string
652
+ /** 1代表层级,2代表会议室 */
653
+ scope_type: string
654
+ /** 此次调用中使用的用户ID的类型 */
655
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
656
+ }
657
+
658
+ export interface PatchVcReserveConfigRequest {
659
+ /** 1代表层级,2代表会议室 */
660
+ scope_type: string
661
+ /** 预定审批设置 */
662
+ approval_config?: ApprovalConfig
663
+ /** 预定时间设置 */
664
+ time_config?: TimeConfig
665
+ /** 预定范围设置 */
666
+ reserve_scope_config?: ReserveScopeConfig
667
+ }
668
+
669
+ export interface PatchVcReserveConfigQuery {
670
+ /** 此次调用中使用的用户ID的类型 */
671
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
672
+ }
673
+
674
+ export interface GetVcReserveConfigFormQuery {
675
+ /** 1代表层级,2代表会议室 */
676
+ scope_type: number
677
+ /** 此次调用中使用的用户ID的类型 */
678
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
679
+ }
680
+
681
+ export interface PatchVcReserveConfigFormRequest {
682
+ /** 1代表层级,2代表会议室 */
683
+ scope_type: number
684
+ /** 预定表单设置 */
685
+ reserve_form_config: ReserveFormConfig
686
+ }
687
+
688
+ export interface PatchVcReserveConfigFormQuery {
689
+ /** 此次调用中使用的用户ID的类型 */
690
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
691
+ }
692
+
693
+ export interface GetVcReserveConfigAdminQuery {
694
+ /** 会议室或层级 */
695
+ scope_type: number
696
+ /** 此次调用中使用的用户ID的类型 */
697
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
698
+ }
699
+
700
+ export interface PatchVcReserveConfigAdminRequest {
701
+ /** 1代表层级,2代表会议室 */
702
+ scope_type: number
703
+ /** 预定管理员或部门 */
704
+ reserve_admin_config: ReserveAdminConfig
705
+ }
706
+
707
+ export interface PatchVcReserveConfigAdminQuery {
708
+ /** 此次调用中使用的用户ID的类型 */
709
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
710
+ }
711
+
712
+ export interface GetVcReserveConfigDisableInformQuery {
713
+ /** 1表示层级,2表示会议室 */
714
+ scope_type: number
715
+ /** 此次调用中使用的用户ID的类型 */
716
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
717
+ }
718
+
719
+ export interface PatchVcReserveConfigDisableInformRequest {
720
+ /** 1表示会议室层级,2表示会议室 */
721
+ scope_type: number
722
+ /** 禁用通知配置 */
723
+ disable_inform: DisableInformConfig
724
+ }
725
+
726
+ export interface PatchVcReserveConfigDisableInformQuery {
727
+ /** 此次调用中使用的用户ID的类型 */
728
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
729
+ }
730
+
731
+ export interface GetVcMeetingListQuery extends Pagination {
732
+ /** 查询开始时间(unix时间,单位sec) */
733
+ start_time: string
734
+ /** 查询结束时间(unix时间,单位sec) */
735
+ end_time: string
736
+ /** 会议状态 */
737
+ meeting_status?: 1 | 2 | 3
738
+ /** 按9位会议号筛选(最多一个筛选条件) */
739
+ meeting_no?: string
740
+ /** 按参会Lark用户筛选(最多一个筛选条件) */
741
+ user_id?: string
742
+ /** 按参会Rooms筛选(最多一个筛选条件) */
743
+ room_id?: string
744
+ /** 按会议类型筛选(最多一个筛选条件) */
745
+ meeting_type?: 1 | 2 | 3
746
+ /** 此次调用中使用的用户ID的类型 */
747
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
748
+ }
749
+
750
+ export interface GetVcParticipantListQuery extends Pagination {
751
+ /** 会议开始时间(需要精确到一分钟,unix时间,单位sec) */
752
+ meeting_start_time: string
753
+ /** 会议结束时间(unix时间,单位sec;对于进行中会议则传0) */
754
+ meeting_end_time: string
755
+ /** 会议状态(不传默认为已结束会议) */
756
+ meeting_status?: 1 | 2 | 3
757
+ /** 9位会议号 */
758
+ meeting_no: string
759
+ /** 按参会Lark用户筛选(最多一个筛选条件) */
760
+ user_id?: string
761
+ /** 按参会Rooms筛选(最多一个筛选条件) */
762
+ room_id?: string
763
+ /** 此次调用中使用的用户ID的类型 */
764
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
765
+ }
766
+
767
+ export interface GetVcParticipantQualityListQuery extends Pagination {
768
+ /** 会议开始时间(需要精确到一分钟,unix时间,单位sec) */
769
+ meeting_start_time: string
770
+ /** 会议结束时间(unix时间,单位sec) */
771
+ meeting_end_time: string
772
+ /** 9位会议号 */
773
+ meeting_no: string
774
+ /** 参会人入会时间(unix时间,单位sec) */
775
+ join_time: string
776
+ /** 参会人为Lark用户时填入 */
777
+ user_id?: string
778
+ /** 参会人为Rooms时填入 */
779
+ room_id?: string
780
+ /** 此次调用中使用的用户ID的类型 */
781
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
782
+ }
783
+
784
+ export interface GetVcResourceReservationListQuery extends Pagination {
785
+ /** 层级id */
786
+ room_level_id: string
787
+ /** 是否展示会议主题 */
788
+ need_topic?: boolean
789
+ /** 查询开始时间(unix时间,单位sec) */
790
+ start_time: string
791
+ /** 查询结束时间(unix时间,单位sec) */
792
+ end_time: string
793
+ /** 待筛选的会议室id列表 */
794
+ room_ids: string[]
795
+ /** 若为true表示导出room_ids范围外的会议室,默认为false */
796
+ is_exclude?: boolean
797
+ }
798
+
799
+ export interface ListVcAlertQuery extends Pagination {
800
+ /** 开始时间(unix时间,单位sec) */
801
+ start_time: string
802
+ /** 结束时间(unix时间,单位sec) */
803
+ end_time: string
804
+ /** 查询对象类型 */
805
+ query_type?: 1 | 2 | 3
806
+ /** 查询对象ID */
807
+ query_value?: string
808
+ }
809
+
810
+ export interface SetCheckboardAccessCodeVcRoomConfigRequest {
811
+ /** 设置节点范围 */
812
+ scope: 1 | 2 | 3 | 4 | 5 | 6
813
+ /** 国家/地区ID scope为2,3时需要此参数 */
814
+ country_id?: string
815
+ /** 城市ID scope为3时需要此参数 */
816
+ district_id?: string
817
+ /** 建筑ID scope为4,5时需要此参数 */
818
+ building_id?: string
819
+ /** 楼层 scope为5时需要此参数 */
820
+ floor_name?: string
821
+ /** 会议室ID scope为6时需要此参数 */
822
+ room_id?: string
823
+ /** 有效天数 */
824
+ valid_day: 1 | 7 | 30
825
+ }
826
+
827
+ export interface SetRoomAccessCodeVcRoomConfigRequest {
828
+ /** 设置节点范围 */
829
+ scope: 1 | 2 | 3 | 4 | 5 | 6
830
+ /** 国家/地区ID scope为2,3时需要此参数 */
831
+ country_id?: string
832
+ /** 城市ID scope为3时需要此参数 */
833
+ district_id?: string
834
+ /** 建筑ID scope为4,5时需要此参数 */
835
+ building_id?: string
836
+ /** 楼层 scope为5时需要此参数 */
837
+ floor_name?: string
838
+ /** 会议室ID scope为6时需要此参数 */
839
+ room_id?: string
840
+ /** 有效天数 */
841
+ valid_day: 1 | 7 | 30
842
+ }
843
+
844
+ export interface QueryVcRoomConfigQuery {
845
+ /** 查询节点范围 */
846
+ scope: 1 | 2 | 3 | 4 | 5 | 6
847
+ /** 国家/地区ID scope为2,3时需要此参数 */
848
+ country_id?: string
849
+ /** 城市ID scope为3时需要此参数 */
850
+ district_id?: string
851
+ /** 建筑ID scope为4,5时需要此参数 */
852
+ building_id?: string
853
+ /** 楼层 scope为5时需要此参数 */
854
+ floor_name?: string
855
+ /** 会议室ID scope为6时需要此参数 */
856
+ room_id?: string
857
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
858
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
859
+ }
860
+
861
+ export interface SetVcRoomConfigRequest {
862
+ /** 设置节点范围 */
863
+ scope: 1 | 2 | 3 | 4 | 5 | 6
864
+ /** 国家/地区ID scope为2,3时需要此参数 */
865
+ country_id?: string
866
+ /** 城市ID scope为3时需要此参数 */
867
+ district_id?: string
868
+ /** 建筑ID scope为4,5时需要此参数 */
869
+ building_id?: string
870
+ /** 楼层 scope为5时需要此参数 */
871
+ floor_name?: string
872
+ /** 会议室ID scope为6时需要此参数 */
873
+ room_id?: string
874
+ /** 会议室设置 */
875
+ room_config: RoomConfig
876
+ }
877
+
878
+ export interface SetVcRoomConfigQuery {
879
+ /** 此次调用中使用的用户ID的类型,默认使用open_id可不填 */
880
+ user_id_type?: 'user_id' | 'union_id' | 'open_id'
881
+ }
882
+
883
+ export interface ApplyVcReserveResponse {
884
+ reserve?: Reserve
885
+ reserve_correction_check_info?: ReserveCorrectionCheckInfo
886
+ }
887
+
888
+ export interface UpdateVcReserveResponse {
889
+ reserve?: Reserve
890
+ reserve_correction_check_info?: ReserveCorrectionCheckInfo
891
+ }
892
+
893
+ export interface GetVcReserveResponse {
894
+ reserve?: Reserve
895
+ }
896
+
897
+ export interface GetActiveMeetingVcReserveResponse {
898
+ meeting?: Meeting
899
+ }
900
+
901
+ export interface InviteVcMeetingResponse {
902
+ /** 邀请结果 */
903
+ invite_results?: MeetingInviteStatus[]
904
+ }
905
+
906
+ export interface KickoutVcMeetingResponse {
907
+ /** 踢出结果 */
908
+ kickout_results?: MeetingParticipantResult[]
909
+ }
910
+
911
+ export interface SetHostVcMeetingResponse {
912
+ /** 会中当前主持人 */
913
+ host_user?: MeetingUser
914
+ }
915
+
916
+ export interface GetVcMeetingResponse {
917
+ meeting?: Meeting
918
+ }
919
+
920
+ export interface GetVcMeetingRecordingResponse {
921
+ recording?: MeetingRecording
922
+ }
923
+
924
+ export interface GetDailyVcReportResponse {
925
+ /** 会议报告 */
926
+ meeting_report?: Report
927
+ }
928
+
929
+ export interface GetTopUserVcReportResponse {
930
+ /** top用户列表 */
931
+ top_user_report?: ReportTopUser[]
932
+ }
933
+
934
+ export interface MeetingListVcExportResponse {
935
+ /** 任务id */
936
+ task_id?: string
937
+ }
938
+
939
+ export interface ParticipantListVcExportResponse {
940
+ /** 任务id */
941
+ task_id?: string
942
+ }
943
+
944
+ export interface ParticipantQualityListVcExportResponse {
945
+ /** 任务id */
946
+ task_id?: string
947
+ }
948
+
949
+ export interface ResourceReservationListVcExportResponse {
950
+ /** 任务id */
951
+ task_id?: string
952
+ }
953
+
954
+ export interface GetVcExportResponse {
955
+ /** 任务状态 */
956
+ status: 1 | 2 | 3
957
+ /** 文件下载地址 */
958
+ url?: string
959
+ /** 文件token */
960
+ file_token?: string
961
+ /** 失败信息 */
962
+ fail_msg?: string
963
+ }
964
+
965
+ export interface CreateVcRoomLevelResponse {
966
+ room_level?: RoomLevel
967
+ }
968
+
969
+ export interface GetVcRoomLevelResponse {
970
+ room_level?: RoomLevel
971
+ }
972
+
973
+ export interface MgetVcRoomLevelResponse {
974
+ /** 层级列表 */
975
+ items?: RoomLevel[]
976
+ }
977
+
978
+ export interface SearchVcRoomLevelResponse {
979
+ /** 层级id列表 */
980
+ level_ids?: string[]
981
+ }
982
+
983
+ export interface CreateVcRoomResponse {
984
+ room?: Room
985
+ }
986
+
987
+ export interface GetVcRoomResponse {
988
+ room?: Room
989
+ }
990
+
991
+ export interface MgetVcRoomResponse {
992
+ /** 会议室列表 */
993
+ items?: Room[]
994
+ }
995
+
996
+ export interface GetVcScopeConfigResponse {
997
+ /** 当前节点的配置,根据层级顺序从底向上进行合并计算后的结果;如果当前节点某个值已配置,则取该节点的值,否则会从该节点的父层级节点获取,如果父节点依然未配置,则继续向上递归获取;若所有节点均未配置,则该值返回为空 */
998
+ current_config?: ScopeConfig
999
+ /** 所有节点的原始配置,按照层级顺序从底向上返回;如果某节点某个值未配置,则该值返回为空 */
1000
+ origin_configs?: ScopeConfig[]
1001
+ }
1002
+
1003
+ export interface ReserveScopeVcReserveConfigResponse {
1004
+ /** 预定审批设置 */
1005
+ approve_config?: ApprovalConfig
1006
+ /** 预定时间设置 */
1007
+ time_config?: TimeConfig
1008
+ /** 预定范围设置 */
1009
+ reserve_scope_config?: ReserveScopeConfig
1010
+ }
1011
+
1012
+ export interface GetVcReserveConfigFormResponse {
1013
+ /** 预定表单 */
1014
+ reserve_form_config: ReserveFormConfig
1015
+ }
1016
+
1017
+ export interface GetVcReserveConfigAdminResponse {
1018
+ /** 预定管理员/部门 */
1019
+ reserve_admin_config: ReserveAdminConfig
1020
+ }
1021
+
1022
+ export interface GetVcReserveConfigDisableInformResponse {
1023
+ /** 会议室禁用通知配置 */
1024
+ disable_inform?: DisableInformConfig
1025
+ }
1026
+
1027
+ export interface SetCheckboardAccessCodeVcRoomConfigResponse {
1028
+ /** 部署访问码 */
1029
+ access_code?: string
1030
+ }
1031
+
1032
+ export interface SetRoomAccessCodeVcRoomConfigResponse {
1033
+ /** 部署访问码 */
1034
+ access_code?: string
1035
+ }
1036
+
1037
+ export interface QueryVcRoomConfigResponse {
1038
+ /** 飞书会议室背景图 */
1039
+ room_background?: string
1040
+ /** 飞书签到板背景图 */
1041
+ display_background?: string
1042
+ /** 飞书会议室数字标牌 */
1043
+ digital_signage?: RoomDigitalSignage
1044
+ /** 飞书投屏盒子数字标牌 */
1045
+ room_box_digital_signage?: RoomDigitalSignage
1046
+ /** 会议室状态 */
1047
+ room_status?: RoomStatus
1048
+ }
1049
+
1050
+ Internal.define({
1051
+ '/vc/v1/reserves/apply': {
1052
+ POST: 'applyVcReserve',
1053
+ },
1054
+ '/vc/v1/reserves/{reserve_id}': {
1055
+ DELETE: 'deleteVcReserve',
1056
+ PUT: 'updateVcReserve',
1057
+ GET: 'getVcReserve',
1058
+ },
1059
+ '/vc/v1/reserves/{reserve_id}/get_active_meeting': {
1060
+ GET: 'getActiveMeetingVcReserve',
1061
+ },
1062
+ '/vc/v1/meetings/{meeting_id}/invite': {
1063
+ PATCH: 'inviteVcMeeting',
1064
+ },
1065
+ '/vc/v1/meetings/{meeting_id}/kickout': {
1066
+ POST: 'kickoutVcMeeting',
1067
+ },
1068
+ '/vc/v1/meetings/{meeting_id}/set_host': {
1069
+ PATCH: 'setHostVcMeeting',
1070
+ },
1071
+ '/vc/v1/meetings/{meeting_id}/end': {
1072
+ PATCH: 'endVcMeeting',
1073
+ },
1074
+ '/vc/v1/meetings/{meeting_id}': {
1075
+ GET: 'getVcMeeting',
1076
+ },
1077
+ '/vc/v1/meetings/list_by_no': {
1078
+ GET: { name: 'listByNoVcMeeting', pagination: { argIndex: 0, itemsKey: 'meeting_briefs' } },
1079
+ },
1080
+ '/vc/v1/meetings/{meeting_id}/recording/start': {
1081
+ PATCH: 'startVcMeetingRecording',
1082
+ },
1083
+ '/vc/v1/meetings/{meeting_id}/recording/stop': {
1084
+ PATCH: 'stopVcMeetingRecording',
1085
+ },
1086
+ '/vc/v1/meetings/{meeting_id}/recording': {
1087
+ GET: 'getVcMeetingRecording',
1088
+ },
1089
+ '/vc/v1/meetings/{meeting_id}/recording/set_permission': {
1090
+ PATCH: 'setPermissionVcMeetingRecording',
1091
+ },
1092
+ '/vc/v1/reports/get_daily': {
1093
+ GET: 'getDailyVcReport',
1094
+ },
1095
+ '/vc/v1/reports/get_top_user': {
1096
+ GET: 'getTopUserVcReport',
1097
+ },
1098
+ '/vc/v1/exports/meeting_list': {
1099
+ POST: 'meetingListVcExport',
1100
+ },
1101
+ '/vc/v1/exports/participant_list': {
1102
+ POST: 'participantListVcExport',
1103
+ },
1104
+ '/vc/v1/exports/participant_quality_list': {
1105
+ POST: 'participantQualityListVcExport',
1106
+ },
1107
+ '/vc/v1/exports/resource_reservation_list': {
1108
+ POST: 'resourceReservationListVcExport',
1109
+ },
1110
+ '/vc/v1/exports/{task_id}': {
1111
+ GET: 'getVcExport',
1112
+ },
1113
+ '/vc/v1/exports/download': {
1114
+ GET: { name: 'downloadVcExport', type: 'binary' },
1115
+ },
1116
+ '/vc/v1/room_levels': {
1117
+ POST: 'createVcRoomLevel',
1118
+ GET: { name: 'listVcRoomLevel', pagination: { argIndex: 0 } },
1119
+ },
1120
+ '/vc/v1/room_levels/del': {
1121
+ POST: 'delVcRoomLevel',
1122
+ },
1123
+ '/vc/v1/room_levels/{room_level_id}': {
1124
+ PATCH: 'patchVcRoomLevel',
1125
+ GET: 'getVcRoomLevel',
1126
+ },
1127
+ '/vc/v1/room_levels/mget': {
1128
+ POST: 'mgetVcRoomLevel',
1129
+ },
1130
+ '/vc/v1/room_levels/search': {
1131
+ GET: 'searchVcRoomLevel',
1132
+ },
1133
+ '/vc/v1/rooms': {
1134
+ POST: 'createVcRoom',
1135
+ GET: { name: 'listVcRoom', pagination: { argIndex: 0, itemsKey: 'rooms' } },
1136
+ },
1137
+ '/vc/v1/rooms/{room_id}': {
1138
+ DELETE: 'deleteVcRoom',
1139
+ PATCH: 'patchVcRoom',
1140
+ GET: 'getVcRoom',
1141
+ },
1142
+ '/vc/v1/rooms/mget': {
1143
+ POST: 'mgetVcRoom',
1144
+ },
1145
+ '/vc/v1/rooms/search': {
1146
+ POST: 'searchVcRoom',
1147
+ },
1148
+ '/vc/v1/scope_config': {
1149
+ GET: 'getVcScopeConfig',
1150
+ POST: 'createVcScopeConfig',
1151
+ },
1152
+ '/vc/v1/reserve_configs/reserve_scope': {
1153
+ GET: 'reserveScopeVcReserveConfig',
1154
+ },
1155
+ '/vc/v1/reserve_configs/{reserve_config_id}': {
1156
+ PATCH: 'patchVcReserveConfig',
1157
+ },
1158
+ '/vc/v1/reserve_configs/{reserve_config_id}/form': {
1159
+ GET: 'getVcReserveConfigForm',
1160
+ PATCH: 'patchVcReserveConfigForm',
1161
+ },
1162
+ '/vc/v1/reserve_configs/{reserve_config_id}/admin': {
1163
+ GET: 'getVcReserveConfigAdmin',
1164
+ PATCH: 'patchVcReserveConfigAdmin',
1165
+ },
1166
+ '/vc/v1/reserve_configs/{reserve_config_id}/disable_inform': {
1167
+ GET: 'getVcReserveConfigDisableInform',
1168
+ PATCH: 'patchVcReserveConfigDisableInform',
1169
+ },
1170
+ '/vc/v1/meeting_list': {
1171
+ GET: { name: 'getVcMeetingList', pagination: { argIndex: 0, itemsKey: 'meeting_list' } },
1172
+ },
1173
+ '/vc/v1/participant_list': {
1174
+ GET: { name: 'getVcParticipantList', pagination: { argIndex: 0, itemsKey: 'participants' } },
1175
+ },
1176
+ '/vc/v1/participant_quality_list': {
1177
+ GET: { name: 'getVcParticipantQualityList', pagination: { argIndex: 0, itemsKey: 'participant_quality_list' } },
1178
+ },
1179
+ '/vc/v1/resource_reservation_list': {
1180
+ GET: { name: 'getVcResourceReservationList', pagination: { argIndex: 0, itemsKey: 'room_reservation_list' } },
1181
+ },
1182
+ '/vc/v1/alerts': {
1183
+ GET: { name: 'listVcAlert', pagination: { argIndex: 0 } },
1184
+ },
1185
+ '/vc/v1/room_configs/set_checkboard_access_code': {
1186
+ POST: 'setCheckboardAccessCodeVcRoomConfig',
1187
+ },
1188
+ '/vc/v1/room_configs/set_room_access_code': {
1189
+ POST: 'setRoomAccessCodeVcRoomConfig',
1190
+ },
1191
+ '/vc/v1/room_configs/query': {
1192
+ GET: 'queryVcRoomConfig',
1193
+ },
1194
+ '/vc/v1/room_configs/set': {
1195
+ POST: 'setVcRoomConfig',
1196
+ },
1197
+ })