UNPKG

@larksuiteoapi/lark-mcp

Version:
838 lines 98.2 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.vcV1RoomList = exports.vcV1RoomGet = exports.vcV1RoomDelete = exports.vcV1RoomCreate = exports.vcV1RoomLevelSearch = exports.vcV1RoomLevelPatch = exports.vcV1RoomLevelMget = exports.vcV1RoomLevelList = exports.vcV1RoomLevelGet = exports.vcV1RoomLevelDel = exports.vcV1RoomLevelCreate = exports.vcV1RoomConfigSetRoomAccessCode = exports.vcV1RoomConfigSetCheckboardAccessCode = exports.vcV1RoomConfigSet = exports.vcV1RoomConfigQuery = exports.vcV1ResourceReservationListGet = exports.vcV1ReserveUpdate = exports.vcV1ReserveGetActiveMeeting = exports.vcV1ReserveGet = exports.vcV1ReserveDelete = exports.vcV1ReserveApply = exports.vcV1ReserveConfigReserveScope = exports.vcV1ReserveConfigPatch = exports.vcV1ReserveConfigFormPatch = exports.vcV1ReserveConfigFormGet = exports.vcV1ReserveConfigDisableInformPatch = exports.vcV1ReserveConfigDisableInformGet = exports.vcV1ReserveConfigAdminPatch = exports.vcV1ReserveConfigAdminGet = exports.vcV1ReportGetTopUser = exports.vcV1ReportGetDaily = exports.vcV1ParticipantQualityListGet = exports.vcV1ParticipantListGet = exports.vcV1MeetingSetHost = exports.vcV1MeetingRecordingStop = exports.vcV1MeetingRecordingStart = exports.vcV1MeetingRecordingSetPermission = exports.vcV1MeetingRecordingGet = exports.vcV1MeetingListByNo = exports.vcV1MeetingKickout = exports.vcV1MeetingInvite = exports.vcV1MeetingGet = exports.vcV1MeetingEnd = exports.vcV1MeetingListGet = exports.vcV1ExportResourceReservationList = exports.vcV1ExportParticipantQualityList = exports.vcV1ExportParticipantList = exports.vcV1ExportMeetingList = exports.vcV1ExportGet = exports.vcV1AlertList = void 0; exports.vcV1Tools = exports.vcV1ScopeConfigGet = exports.vcV1ScopeConfigCreate = exports.vcV1RoomSearch = exports.vcV1RoomPatch = exports.vcV1RoomMget = void 0; const zod_1 = require("zod"); exports.vcV1AlertList = { project: 'vc', name: 'vc.v1.alert.list', sdkName: 'vc.v1.alert.list', path: '/open-apis/vc/v1/alerts', httpMethod: 'GET', description: "[Feishu/Lark]-Video Conferencing-Alert center-Get alert center history-Get tenant's equipment warning record under specific conditions", accessTokens: ['tenant'], schema: { params: zod_1.z.object({ start_time: zod_1.z.string().describe('Start time (UNIX time, unit SEC)'), end_time: zod_1.z.string().describe('End time (UNIX time, unit SEC)'), query_type: zod_1.z.number().describe('Query object type Options:1(room Rooms),2(erc),3(sip)').optional(), query_value: zod_1.z.string().describe('Query object ID').optional(), page_size: zod_1.z.number().optional(), page_token: zod_1.z .string() .describe('Page identifier. It is not filled in the first request, indicating traversal from the beginning; when there will be more groups, the new page_token will be returned at the same time, and the next traversal can use the page_token to get more groups') .optional(), }), }, }; exports.vcV1ExportGet = { project: 'vc', name: 'vc.v1.export.get', sdkName: 'vc.v1.export.get', path: '/open-apis/vc/v1/exports/:task_id', httpMethod: 'GET', description: '[Feishu/Lark]-Video Conferencing-Export-Query export task results-View the progress of asynchronous export', accessTokens: ['tenant', 'user'], schema: { path: zod_1.z.object({ task_id: zod_1.z.string().describe('Task id').optional() }), useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(), }, }; exports.vcV1ExportMeetingList = { project: 'vc', name: 'vc.v1.export.meetingList', sdkName: 'vc.v1.export.meetingList', path: '/open-apis/vc/v1/exports/meeting_list', httpMethod: 'POST', description: '[Feishu/Lark]-Video Conferencing-Export-Export meeting details-Export meeting details. For specific permission requirements, please refer to "Resource introduction"', accessTokens: ['tenant', 'user'], schema: { data: zod_1.z.object({ start_time: zod_1.z.string().describe('Query start time (unix time, unit sec)'), end_time: zod_1.z.string().describe('Query end time (unix time, unit sec)'), meeting_status: zod_1.z .number() .describe('Meeting status (defaults to ended meeting if not passed on) Options:1(ongoing in progress),2(past It has ended.),3(future to be held)') .optional(), meeting_no: zod_1.z.string().describe('Filter by 9-digit meeting number (up to one filter)').optional(), user_id: zod_1.z.string().describe('Filter by participating Lark users (up to one filter)').optional(), room_id: zod_1.z.string().describe('Filter by Rooms (maximum one filter)').optional(), meeting_type: zod_1.z .number() .describe('Filter by meeting type (up to one filter) Options:1(all All types (default)),2(meeting video conferencing),3(share_screen share screen)') .optional(), }), params: zod_1.z.object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() }), useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(), }, }; exports.vcV1ExportParticipantList = { project: 'vc', name: 'vc.v1.export.participantList', sdkName: 'vc.v1.export.participantList', path: '/open-apis/vc/v1/exports/participant_list', httpMethod: 'POST', description: '[Feishu/Lark]-Video Conferencing-Export-Export participant details-Export a list of participant details for a conference.For specific permission requirements, please refer to "Resource introduction"', accessTokens: ['tenant', 'user'], schema: { data: zod_1.z.object({ meeting_start_time: zod_1.z.string().describe('Meeting start time (unix time,unit second)'), meeting_end_time: zod_1.z .string() .describe('Meeting end time (Unix time, unit sec, if the meeting is in progress, fill in the current time, otherwise fill in the accurate meeting end time)'), meeting_status: zod_1.z .number() .describe('Meeting status (defaults to ended meeting if not passed on) Options:1(ongoing in progress),2(past It has ended.),3(future to be held)') .optional(), meeting_no: zod_1.z.string().describe('9-Digit conference number'), user_id: zod_1.z.string().describe('Filter by participating Lark users (up to one filter)').optional(), room_id: zod_1.z.string().describe('Filter by Rooms (maximum one filter)').optional(), }), params: zod_1.z.object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() }), useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(), }, }; exports.vcV1ExportParticipantQualityList = { project: 'vc', name: 'vc.v1.export.participantQualityList', sdkName: 'vc.v1.export.participantQualityList', path: '/open-apis/vc/v1/exports/participant_quality_list', httpMethod: 'POST', description: '[Feishu/Lark]-Video Conferencing-Export-Export participant meeting quality data-Export audio and video & share quality data of a participant in a conference,(Only supports ended meetings.) please refer to "Resource introduction" for specific permission requirements', accessTokens: ['tenant', 'user'], schema: { data: zod_1.z.object({ meeting_start_time: zod_1.z .string() .describe('Meeting start time (need to be accurate to the minute,unix time,unit second)'), meeting_end_time: zod_1.z.string().describe('Meeting end time (unix time, unit sec)'), meeting_no: zod_1.z.string().describe('9-Digit conference number'), join_time: zod_1.z .string() .describe('Entry time of participants (unix time, unit sec).It can be obtained from the results returned by "Participant Details"'), user_id: zod_1.z .string() .describe('Fill in when the participant is a Lark user, and room_id and user_id must be filled in only one') .optional(), room_id: zod_1.z .string() .describe('Fill in when the participant is a Room, and room_id and user_id must be filled in only one') .optional(), }), params: zod_1.z.object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() }), useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(), }, }; exports.vcV1ExportResourceReservationList = { project: 'vc', name: 'vc.v1.export.resourceReservationList', sdkName: 'vc.v1.export.resourceReservationList', path: '/open-apis/vc/v1/exports/resource_reservation_list', httpMethod: 'POST', description: '[Feishu/Lark]-Video Conferencing-Export-Export meeting room reservation data-Export meeting room reservation data. For specific permission requirements, please refer to "Resource introduction"', accessTokens: ['tenant', 'user'], schema: { data: zod_1.z.object({ room_level_id: zod_1.z.string().describe('room level id'), need_topic: zod_1.z.boolean().describe('Whether to show the conference theme').optional(), start_time: zod_1.z.string().describe('Query start time (unix time, unit sec)'), end_time: zod_1.z.string().describe('Query end time (unix time, unit sec)'), room_ids: zod_1.z.array(zod_1.z.string()).describe('List of meeting room ids to filter').optional(), is_exclude: zod_1.z .boolean() .describe('If true, it means that the conference room outside the scope of the export room_ids, the default is false') .optional(), }), useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(), }, }; exports.vcV1MeetingListGet = { project: 'vc', name: 'vc.v1.meetingList.get', sdkName: 'vc.v1.meetingList.get', path: '/open-apis/vc/v1/meeting_list', httpMethod: 'GET', description: '[Feishu/Lark]-Video Conferencing-Meeting data-Get meeting details-Get meeting details.For specific permission requirements, please refer to "Resource introduction"', accessTokens: ['tenant', 'user'], schema: { params: zod_1.z.object({ start_time: zod_1.z.string().describe('Start time (unix time, in sec)'), end_time: zod_1.z.string().describe('End time (unix time, in sec)'), meeting_status: zod_1.z .number() .describe('meeting status(defaults to ended meeting if not passed on) Options:1(ongoing in progress),2(past It has ended.),3(future to be held. This enumeration value is read-only and does not support selection during request.)') .optional(), meeting_no: zod_1.z.string().describe('Filter by 9-digit meeting number (at most one filter)').optional(), user_id: zod_1.z.string().describe('Filter by participating Lark users (at most one filter)').optional(), room_id: zod_1.z.string().describe('Filter by Participating Rooms (at most one filter)').optional(), meeting_type: zod_1.z .number() .describe('Filter by meeting type (up to one filter) Options:1(all All types (default)),2(meeting video conferencing),3(share_screen share screen)') .optional(), page_size: zod_1.z.number().describe('paging size').optional(), page_token: zod_1.z .string() .describe('Page identifier. It is not filled in the first request, indicating traversal from the beginning; when there will be more groups, the new page_token will be returned at the same time, and the next traversal can use the page_token to get more groups') .optional(), user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(), }), useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(), }, }; exports.vcV1MeetingEnd = { project: 'vc', name: 'vc.v1.meeting.end', sdkName: 'vc.v1.meeting.end', path: '/open-apis/vc/v1/meetings/:meeting_id/end', httpMethod: 'PATCH', description: '[Feishu/Lark]-Video Conferencing-Meeting management-End a meeting-Ends an ongoing meeting', accessTokens: ['user'], schema: { path: zod_1.z.object({ meeting_id: zod_1.z .string() .describe('Meeting ID (Unique identifier of a video conference, generated after the conference is started)') .optional(), }), useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(), }, }; exports.vcV1MeetingGet = { project: 'vc', name: 'vc.v1.meeting.get', sdkName: 'vc.v1.meeting.get', path: '/open-apis/vc/v1/meetings/:meeting_id', httpMethod: 'GET', description: '[Feishu/Lark]-Video Conferencing-Meeting management-Obtain meeting details-Obtains the detailed data of a meeting', accessTokens: ['tenant', 'user'], schema: { params: zod_1.z.object({ with_participants: zod_1.z.boolean().describe('Indicates whether the participant list is required').optional(), with_meeting_ability: zod_1.z .boolean() .describe('Indicates whether individual statistics is required in the meeting (only for tenant_access_token)') .optional(), user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(), }), path: zod_1.z.object({ meeting_id: zod_1.z .string() .describe('Meeting ID (Unique identifier of a video conference, generated after the conference is started)') .optional(), }), useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(), }, }; exports.vcV1MeetingInvite = { project: 'vc', name: 'vc.v1.meeting.invite', sdkName: 'vc.v1.meeting.invite', path: '/open-apis/vc/v1/meetings/:meeting_id/invite', httpMethod: 'PATCH', description: '[Feishu/Lark]-Video Conferencing-Meeting management-Invite participants-Invites participants to a meeting', accessTokens: ['user'], schema: { data: zod_1.z.object({ invitees: zod_1.z .array(zod_1.z.object({ id: zod_1.z.string().describe('User ID').optional(), user_type: zod_1.z .number() .describe('User type Options:1(lark_user Lark user),2(room_user Rooms user),3(doc_user Docs user),4(neo_user neo Feishu Meetings user),5(neo_guest_user neo Feishu Meetings guest),6(pstn_user PSTN user),7(sip_user SIP user)') .optional(), })) .describe('List of invited users [Up to 10 people can be invited at one time]'), }), params: zod_1.z.object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() }), path: zod_1.z.object({ meeting_id: zod_1.z .string() .describe('Meeting ID (Unique identifier of a video conference, generated after the conference is started)') .optional(), }), useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(), }, }; exports.vcV1MeetingKickout = { project: 'vc', name: 'vc.v1.meeting.kickout', sdkName: 'vc.v1.meeting.kickout', path: '/open-apis/vc/v1/meetings/:meeting_id/kickout', httpMethod: 'POST', description: '[Feishu/Lark]-Video Conferencing-Meeting management-Remove participants-Removes participants from a meeting', accessTokens: ['tenant'], schema: { data: zod_1.z.object({ kickout_users: zod_1.z .array(zod_1.z.object({ id: zod_1.z.string().describe('User ID').optional(), user_type: zod_1.z .number() .describe('User type Options:1(lark_user Lark user),2(room_user Rooms user),3(doc_user Docs user),4(neo_user neo Feishu Meetings user),5(neo_guest_user neo Feishu Meetings guest),6(pstn_user PSTN user),7(sip_user SIP user)') .optional(), })) .describe('List of users to be removed'), }), params: zod_1.z.object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() }), path: zod_1.z.object({ meeting_id: zod_1.z.string().describe('Meeting ID').optional() }), }, }; exports.vcV1MeetingListByNo = { project: 'vc', name: 'vc.v1.meeting.listByNo', sdkName: 'vc.v1.meeting.listByNo', path: '/open-apis/vc/v1/meetings/list_by_no', httpMethod: 'GET', description: '[Feishu/Lark]-Video Conferencing-Meeting management-List meetings of same meeting number-Obtains the meeting brief list associated with the meeting number for a specified time period (within 90 days)', accessTokens: ['tenant', 'user'], schema: { params: zod_1.z.object({ meeting_no: zod_1.z.string().describe('9-digit meeting number'), start_time: zod_1.z.string().describe('Query start time (unix time in sec)'), end_time: zod_1.z.string().describe('Query end time (unix time in sec)'), page_token: zod_1.z .string() .describe('Page identifier. It is not filled in the first request, indicating traversal from the beginning; when there will be more groups, the new page_token will be returned at the same time, and the next traversal can use the page_token to get more groups') .optional(), page_size: zod_1.z.number().optional(), }), useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(), }, }; exports.vcV1MeetingRecordingGet = { project: 'vc', name: 'vc.v1.meetingRecording.get', sdkName: 'vc.v1.meetingRecording.get', path: '/open-apis/vc/v1/meetings/:meeting_id/recording', httpMethod: 'GET', description: '[Feishu/Lark]-Video Conferencing-Meeting record-Obtain recording files-Obtain recording files of a meeting.', accessTokens: ['tenant', 'user'], schema: { path: zod_1.z.object({ meeting_id: zod_1.z .string() .describe('Meeting ID (Unique identifier of a video conference, generated after the conference is started)') .optional(), }), useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(), }, }; exports.vcV1MeetingRecordingSetPermission = { project: 'vc', name: 'vc.v1.meetingRecording.setPermission', sdkName: 'vc.v1.meetingRecording.setPermission', path: '/open-apis/vc/v1/meetings/:meeting_id/recording/set_permission', httpMethod: 'PATCH', description: "[Feishu/Lark]-Video Conferencing-Meeting record-Authorize recording files-Authorizes a meeting's recording files to an organization/user or makes them public to the public network", accessTokens: ['user'], schema: { data: zod_1.z.object({ permission_objects: zod_1.z .array(zod_1.z.object({ id: zod_1.z.string().describe('Authorization object ID').optional(), type: zod_1.z .number() .describe('Authorization object type Options:1(User User authorization (fill in the user ID in the id field)),2(Group Group authorization (fill in the group open_chat_id in the id field)),3(Tenant In-tenant authorization (id field not filled in)),4(Public Public network authorization (id field is not filled in))'), permission: zod_1.z.number().describe('permission Options:1(View)'), })) .describe('List of authorized objects'), action_type: zod_1.z .number() .describe('Authorize or cancel authorization, default authorization Options:0(authorize authorization),1(revoke Cancel authorization)') .optional(), }), params: zod_1.z.object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() }), path: zod_1.z.object({ meeting_id: zod_1.z .string() .describe('Meeting ID (unique identifier of the video conference, which will not be generated until the video conference starts)') .optional(), }), useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(), }, }; exports.vcV1MeetingRecordingStart = { project: 'vc', name: 'vc.v1.meetingRecording.start', sdkName: 'vc.v1.meetingRecording.start', path: '/open-apis/vc/v1/meetings/:meeting_id/recording/start', httpMethod: 'PATCH', description: '[Feishu/Lark]-Video Conferencing-Meeting record-Start recording-Start recording in a meeting.', accessTokens: ['user'], schema: { data: zod_1.z.object({ timezone: zod_1.z.number().describe('Time zone used for displaying the file recording time [-12,12]').optional(), }), path: zod_1.z.object({ meeting_id: zod_1.z .string() .describe('Meeting ID (Unique identifier of video conference, generated after the conference is started)') .optional(), }), useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(), }, }; exports.vcV1MeetingRecordingStop = { project: 'vc', name: 'vc.v1.meetingRecording.stop', sdkName: 'vc.v1.meetingRecording.stop', path: '/open-apis/vc/v1/meetings/:meeting_id/recording/stop', httpMethod: 'PATCH', description: '[Feishu/Lark]-Video Conferencing-Meeting record-Stop recording-Stop recording in the meeting.', accessTokens: ['user'], schema: { path: zod_1.z.object({ meeting_id: zod_1.z .string() .describe('Meeting ID (Unique identifier of a video conference, generated after the conference is started)') .optional(), }), useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(), }, }; exports.vcV1MeetingSetHost = { project: 'vc', name: 'vc.v1.meeting.setHost', sdkName: 'vc.v1.meeting.setHost', path: '/open-apis/vc/v1/meetings/:meeting_id/set_host', httpMethod: 'PATCH', description: '[Feishu/Lark]-Video Conferencing-Meeting management-Set meeting host-Sets a host for a meeting', accessTokens: ['tenant', 'user'], schema: { data: zod_1.z.object({ host_user: zod_1.z .object({ id: zod_1.z.string().describe('User ID').optional(), user_type: zod_1.z .number() .describe('User type Options:1(lark_user Lark user),2(room_user Rooms user),3(doc_user Docs user),4(neo_user neo Feishu Meetings user),5(neo_guest_user neo Feishu Meetings guest),6(pstn_user PSTN user),7(sip_user SIP user)') .optional(), }) .describe('The user to be set as the host'), old_host_user: zod_1.z .object({ id: zod_1.z.string().describe('User ID').optional(), user_type: zod_1.z .number() .describe('User type Options:1(lark_user Lark user),2(room_user Rooms user),3(doc_user Docs user),4(neo_user neo Feishu Meetings user),5(neo_guest_user neo Feishu Meetings guest),6(pstn_user PSTN user),7(sip_user SIP user)') .optional(), }) .describe('Current host (CAS concurrency security: If this field is inconsistent with the current host in the meeting, the setting will fail. Try again by using the latest returned data.)') .optional(), }), params: zod_1.z.object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() }), path: zod_1.z.object({ meeting_id: zod_1.z .string() .describe('Meeting ID (Unique identifier of a video conference, generated after the conference is started)') .optional(), }), useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(), }, }; exports.vcV1ParticipantListGet = { project: 'vc', name: 'vc.v1.participantList.get', sdkName: 'vc.v1.participantList.get', path: '/open-apis/vc/v1/participant_list', httpMethod: 'GET', description: '[Feishu/Lark]-Video Conferencing-Meeting data-Get participant details-Get participant details. For specific permission requirements, please refer to "Resource introduction"', accessTokens: ['tenant', 'user'], schema: { params: zod_1.z.object({ meeting_start_time: zod_1.z.string().describe('Meeting start time(unix time,unit second)'), meeting_end_time: zod_1.z .string() .describe('Meeting end time (Unix time, unit sec, if the meeting is in progress, fill in the current time, otherwise fill in the accurate meeting end time)'), meeting_status: zod_1.z .number() .describe('Meeting status (defaults to ended meeting if not passed on) Options:1(ongoing in progress),2(past It has ended.),3(future to be held)') .optional(), meeting_no: zod_1.z.string().describe('Meeting number'), user_id: zod_1.z.string().describe('User ID').optional(), room_id: zod_1.z.string().describe('Room ID').optional(), page_size: zod_1.z.number().describe('paging size').optional(), page_token: zod_1.z .string() .describe('Page identifier. It is not filled in the first request, indicating traversal from the beginning; when there will be more groups, the new page_token will be returned at the same time, and the next traversal can use the page_token to get more groups') .optional(), user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(), }), useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(), }, }; exports.vcV1ParticipantQualityListGet = { project: 'vc', name: 'vc.v1.participantQualityList.get', sdkName: 'vc.v1.participantQualityList.get', path: '/open-apis/vc/v1/participant_quality_list', httpMethod: 'GET', description: '[Feishu/Lark]-Video Conferencing-Meeting data-Get participant meeting quality data-Get participant meeting quality data.(Only supports ended meetings) For specific permission requirements, please refer to "Resource introduction"', accessTokens: ['tenant', 'user'], schema: { params: zod_1.z.object({ meeting_start_time: zod_1.z .string() .describe('Meeting start time(need to be accurate to the minute,unix time,unit second)'), meeting_end_time: zod_1.z.string().describe('Meeting end time'), meeting_no: zod_1.z.string().describe('Meeting number'), join_time: zod_1.z .string() .describe('Time of joining the meeting.It can be obtained from the results returned by "Participant Details"'), user_id: zod_1.z .string() .describe('User ID.Fill in when the participant is a Lark user, and room_id and user_id must be filled in only one') .optional(), room_id: zod_1.z .string() .describe('Room ID.Fill in when the participant is a Room, and room_id and user_id must be filled in only one') .optional(), page_size: zod_1.z.number().optional(), page_token: zod_1.z .string() .describe('Page identifier. It is not filled in the first request, indicating traversal from the beginning; when there will be more groups, the new page_token will be returned at the same time, and the next traversal can use the page_token to get more groups') .optional(), user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(), }), useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(), }, }; exports.vcV1ReportGetDaily = { project: 'vc', name: 'vc.v1.report.getDaily', sdkName: 'vc.v1.report.getDaily', path: '/open-apis/vc/v1/reports/get_daily', httpMethod: 'GET', description: "[Feishu/Lark]-Video Conferencing-Meeting report-Obtain meeting reports-Obtains an organizations' daily meeting usage reports for a period of time", accessTokens: ['tenant'], schema: { params: zod_1.z.object({ start_time: zod_1.z.string().describe('Start time (unix time in sec)'), end_time: zod_1.z.string().describe('End time (unix time in sec)'), unit: zod_1.z .number() .describe('Data residency (the premise of parameter transfer is that the tenant has multiple residency data and the query function is enabled) Options:0(CN Chinese mainland),1(VA United States),2(SG Singapore),3(JP Japan)') .optional(), }), }, }; exports.vcV1ReportGetTopUser = { project: 'vc', name: 'vc.v1.report.getTopUser', sdkName: 'vc.v1.report.getTopUser', path: '/open-apis/vc/v1/reports/get_top_user', httpMethod: 'GET', description: '[Feishu/Lark]-Video Conferencing-Meeting report-Get top user list-Obtains the list of top users who use the Meetings feature most in an organization for a period of time', accessTokens: ['tenant'], schema: { params: zod_1.z.object({ start_time: zod_1.z.string().describe('Start time (unix time in sec)'), end_time: zod_1.z.string().describe('End time (unix time in sec)'), limit: zod_1.z.number().describe('Number of users to be obtained'), order_by: zod_1.z .number() .describe('Sorting criteria (descending) Options:1(meeting_count Number of meetings),2(meeting_duration Meeting duration)'), unit: zod_1.z .number() .describe('Data residency (the premise of parameter transfer is that the tenant has multiple residency data and the query function is enabled) Options:0(CN Chinese mainland),1(VA United States),2(SG Singapore),3(JP Japan)') .optional(), user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(), }), }, }; exports.vcV1ReserveConfigAdminGet = { project: 'vc', name: 'vc.v1.reserveConfigAdmin.get', sdkName: 'vc.v1.reserveConfigAdmin.get', path: '/open-apis/vc/v1/reserve_configs/:reserve_config_id/admin', httpMethod: 'GET', description: '[Feishu/Lark]-Video Conferencing-Meeting room configuration-Get reserve admin-Get reserve admin', accessTokens: ['tenant'], schema: { params: zod_1.z.object({ scope_type: zod_1.z.number().describe('1 means room level, 2 means room'), user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(), }), path: zod_1.z.object({ reserve_config_id: zod_1.z.string().describe('Room ID or room level ID').optional() }), }, }; exports.vcV1ReserveConfigAdminPatch = { project: 'vc', name: 'vc.v1.reserveConfigAdmin.patch', sdkName: 'vc.v1.reserveConfigAdmin.patch', path: '/open-apis/vc/v1/reserve_configs/:reserve_config_id/admin', httpMethod: 'PATCH', description: '[Feishu/Lark]-Video Conferencing-Meeting room configuration-Update reserve admin-Update reserve admin', accessTokens: ['tenant'], schema: { data: zod_1.z.object({ scope_type: zod_1.z.number().describe('1 means room level, 2 means room'), reserve_admin_config: zod_1.z .object({ depts: zod_1.z .array(zod_1.z.object({ department_id: zod_1.z.string().describe('Reserve admin department ID') })) .describe('Reserve admin departments') .optional(), users: zod_1.z .array(zod_1.z.object({ user_id: zod_1.z.string().describe('Reserve admin user ID') })) .describe('Reserve admin users') .optional(), }) .describe('Reserve admin configuration'), }), params: zod_1.z.object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() }), path: zod_1.z.object({ reserve_config_id: zod_1.z.string().describe('Room level ID or Room ID').optional() }), }, }; exports.vcV1ReserveConfigDisableInformGet = { project: 'vc', name: 'vc.v1.reserveConfigDisableInform.get', sdkName: 'vc.v1.reserveConfigDisableInform.get', path: '/open-apis/vc/v1/reserve_configs/:reserve_config_id/disable_inform', httpMethod: 'GET', description: '[Feishu/Lark]-Video Conferencing-Meeting room configuration-Get disable status change notifications-Get disable status change notifications', accessTokens: ['tenant'], schema: { params: zod_1.z.object({ scope_type: zod_1.z.number().describe('1 means level, 2 means room'), user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(), }), path: zod_1.z.object({ reserve_config_id: zod_1.z .string() .describe('Room or level ID which can be obtained by room or level related query interface'), }), }, }; exports.vcV1ReserveConfigDisableInformPatch = { project: 'vc', name: 'vc.v1.reserveConfigDisableInform.patch', sdkName: 'vc.v1.reserveConfigDisableInform.patch', path: '/open-apis/vc/v1/reserve_configs/:reserve_config_id/disable_inform', httpMethod: 'PATCH', description: '[Feishu/Lark]-Video Conferencing-Meeting room configuration-Update disable status change notifications-Update disable status change notifications', accessTokens: ['tenant'], schema: { data: zod_1.z.object({ scope_type: zod_1.z.number().describe('1 means room level, 2 means room'), disable_inform: zod_1.z .object({ if_cover_child_scope: zod_1.z.boolean().describe('Whether to cover sub-levels and meeting rooms').optional(), if_inform: zod_1.z.boolean().describe('Disable status change notification switch'), informed_users: zod_1.z .array(zod_1.z.object({ user_id: zod_1.z.string().describe('Reserve admin user ID') })) .describe('Notify member list') .optional(), informed_depts: zod_1.z .array(zod_1.z.object({ department_id: zod_1.z.string().describe('Reserve admin department ID') })) .describe('Notification departments list') .optional(), }) .describe('Configuration for disable status change notifications'), }), params: zod_1.z.object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() }), path: zod_1.z.object({ reserve_config_id: zod_1.z.string().describe('Room or level ID') }), }, }; exports.vcV1ReserveConfigFormGet = { project: 'vc', name: 'vc.v1.reserveConfigForm.get', sdkName: 'vc.v1.reserveConfigForm.get', path: '/open-apis/vc/v1/reserve_configs/:reserve_config_id/form', httpMethod: 'GET', description: '[Feishu/Lark]-Video Conferencing-Meeting room configuration-Get reserve form-Get reserve form', accessTokens: ['tenant'], schema: { params: zod_1.z.object({ scope_type: zod_1.z.number().describe('1 means room level, 2 means room'), user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(), }), path: zod_1.z.object({ reserve_config_id: zod_1.z.string().describe('room or room level ID').optional() }), }, }; exports.vcV1ReserveConfigFormPatch = { project: 'vc', name: 'vc.v1.reserveConfigForm.patch', sdkName: 'vc.v1.reserveConfigForm.patch', path: '/open-apis/vc/v1/reserve_configs/:reserve_config_id/form', httpMethod: 'PATCH', description: '[Feishu/Lark]-Video Conferencing-Meeting room configuration-Update reserve form-Update reserve form', accessTokens: ['tenant'], schema: { data: zod_1.z.object({ scope_type: zod_1.z.number().describe('1 means room level, 2 means room'), reserve_form_config: zod_1.z .object({ if_cover_child_scope: zod_1.z.boolean().describe('need cover child scope').optional(), reserve_form: zod_1.z.boolean().describe('Reserve form switch, true means open, false means close'), notified_users: zod_1.z .array(zod_1.z.object({ user_id: zod_1.z.string().describe('Reserve admin user ID') })) .describe('List of notifiers') .optional(), notified_time: zod_1.z .number() .describe('notified_time that no later than the start of the meeting when receiving the notification (unit: minute/hour/day)') .optional(), time_unit: zod_1.z.number().describe('Time unit, 1 is minute; 2 is hour; 3 is day, default is day').optional(), }) .describe('Reserve form configuration'), }), params: zod_1.z.object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() }), path: zod_1.z.object({ reserve_config_id: zod_1.z.string().describe('Room ID or room level ID').optional() }), }, }; exports.vcV1ReserveConfigPatch = { project: 'vc', name: 'vc.v1.reserveConfig.patch', sdkName: 'vc.v1.reserveConfig.patch', path: '/open-apis/vc/v1/reserve_configs/:reserve_config_id', httpMethod: 'PATCH', description: '[Feishu/Lark]-Video Conferencing-Meeting room configuration-Update reserve limitation-Update reserve limitation', accessTokens: ['tenant'], schema: { data: zod_1.z.object({ scope_type: zod_1.z.string().describe('1 means level, 2 means room'), approval_config: zod_1.z .object({ approval_switch: zod_1.z .number() .describe('approval_switch: 0 means closed, 1 means open.<b>Note</b>: 1. If the value is not set, the value of the original switch will not be updated, but the approval_condition is required at this time2. When the value is set to 1, approval_condition is required3. When the value is set to 0, other fields of the entire approval_config can be omitted') .optional(), approval_condition: zod_1.z .number() .describe('approval_condition: 0 means that all reservations require approval, 1 means that approval is required for those that meet the conditions<b>Note</b>: meeting_duration is required when approval_condition is 1') .optional(), meeting_duration: zod_1.z .number() .describe('bookings exceeding meeting_duration need to be approved (unit: hour, value range [0.1-99])<b>Note</b>: 1. When the approval_condition is 0, if the value is not set when updating, the default update is 99.2. If the incoming value exceeds 2 decimal places, it will be automatically rounded to the nearest 2 digits') .optional(), approvers: zod_1.z .array(zod_1.z.object({ user_id: zod_1.z.string().describe('Reserve admin user ID') })) .describe('Approvers list, when the approval_switch is 1, at least one approver needs to be set') .optional(), }) .describe('reservation approval settings') .optional(), time_config: zod_1.z .object({ if_cover_child_scope: zod_1.z.boolean().describe('Whether to cover sub-levels and meeting rooms').optional(), time_switch: zod_1.z.number().describe('reservation time switch: 0 for off, 1 for on'), days_in_advance: zod_1.z .number() .describe('the earliest time when the conference room can be reserved in advance (unit: day, value range [1-730])<b>Note</b>: When not filled in, the default update is 365') .optional(), opening_hour: zod_1.z .string() .describe('You can start booking from opening_hour on the opening day (unit: second, value range [0,86400])<b>Note</b>: 1. If not filled in, it will be updated to 28800 by default2. If the filled value is not a multiple of 60, it will be automatically updated to the nearest integer multiple of 60') .optional(), start_time: zod_1.z .string() .describe('The start time of the daily scheduled time range (unit: second, value range [0,86400])<b>Note</b>: 1. When not filled in, it will be updated to 0 by default, and the end_time filled in at this time must not be less than 30.2. When both start_time and end_time are filled in, end_time should be at least 30 times longer than start_time.3. If the filled value is not a multiple of 60, it will be automatically updated to the nearest integer multiple of 60') .optional(), end_time: zod_1.z .string() .describe('End time of daily pre-determinable time range (unit: second, value range [0,86400])<b>Note</b>: 1. When not filled in, the default update is 86400, and the start_time filled in at this time must not be greater than or equal to 86370.2. When both start_time and end_time are filled in, end_time must be at least 30 longer than start_time.3. If the filled value is not a multiple of 60, it will be automatically updated to the nearest integer multiple of 60') .optional(), max_duration: zod_1.z .number() .describe('The upper limit of the duration of a single conference room reservation (unit: hour, value range [1,99])<b>Note</b>: The default update is 2 when not filled in') .optional(), }) .describe('reservation time settings') .optional(), reserve_scope_config: zod_1.z .object({ if_cover_child_scope: zod_1.z.boolean().describe('Whether to cover sub-levels and meeting rooms').optional(), allow_all_users: zod_1.z .number() .describe('The range of members that can book conference: 0 for some members, 1 for all members.<b>Note</b>: 1. This value is required.2. When set to 0, at least 1 reservation department or reservation person is required') .optional(), allow_users: zod_1.z .array(zod_1.z.object({ user_id: zod_1.z.string().describe('Reserve admin user ID') })) .describe('List of available members') .optional(), allow_depts: zod_1.z .array(zod_1.z.object({ department_id: zod_1.z.string().describe('Reserve admin department ID') })) .describe('List of available departments') .optional(), }) .describe('reservation range settings') .optional(), }), params: zod_1.z.object({ user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional() }), path: zod_1.z.object({ reserve_config_id: zod_1.z.string().describe('room id or room level id') }), }, }; exports.vcV1ReserveConfigReserveScope = { project: 'vc', name: 'vc.v1.reserveConfig.reserveScope', sdkName: 'vc.v1.reserveConfig.reserveScope', path: '/open-apis/vc/v1/reserve_configs/reserve_scope', httpMethod: 'GET', description: '[Feishu/Lark]-Video Conferencing-Meeting room configuration-Get reserve limitation-Get reserve limitation', accessTokens: ['tenant'], schema: { params: zod_1.z.object({ scope_id: zod_1.z.string().describe('room id or room level id'), scope_type: zod_1.z.string().describe('1 means room level, 2 means room'), user_id_type: zod_1.z.enum(['open_id', 'union_id', 'user_id']).describe('User ID type').optional(), }), }, }; exports.vcV1ReserveApply = { project: 'vc', name: 'vc.v1.reserve.apply', sdkName: 'vc.v1.reserve.apply', path: '/open-apis/vc/v1/reserves/apply', httpMethod: 'POST', description: '[Feishu/Lark]-Video Conferencing-Meeting reservation-Schedule a meeting-Creates a meeting scheduling', accessTokens: ['tenant', 'user'], schema: { data: zod_1.z.object({ end_time: zod_1.z .string() .describe('Expiration time (Unix time in seconds), which is required for multi-person meetings') .optional(), owner_id: zod_1.z .string() .describe('Assign meeting owner (Only take effect when using tenant_access_token. Will not take effect when using user_access_token). Must assign user with the same tenant') .optional(), meeting_settings: zod_1.z .object({ topic: zod_1.z.string().describe('Meeting topic').optional(), action_permissions: zod_1.z .array(zod_1.z.object({ permission: zod_1.z .number() .describe('Permission options Options:1(can_be_host Whether a participant can be a host),2(can_invite Whether a participant can invite other participants),3(can_join Whether a participant can join a meeting)'), permission_checkers: zod_1.z .array(zod_1.z.object({ check_field: zod_1.z .number() .describe('Type of the fields to be checked Options:1(user_id User ID (check_list fill in the user ID)),2(user_type User type (check_list optional values are"1": lark user,"2": rooms users,"6": pstn users,"7": sip user)),3(tenant_id Tenant ID (check_list fill in the tenant_key))'), check_mode: zod_1.z .number() .describe('Check method Options:1(within Being in the check_list indicates that the participant has the permission (allowlist)),2(without Not being in the check_list indicates that the participant has the permission (blocklist))'), check_list: zod_1.z .array(zod_1.z.string()) .describe('Check the list of fields (fill in the corresponding content according to the type of check_field)'), })) .describe('List of permission checkers. The relationship between permission checkers is "Logical OR" (that is, the permission is obtained if any one of them is true)'), })) .describe('List of permission configurations for a meeting. If the same configuration option exists, the relationship between them is "Logical OR" (that is, the permission is obtained if any one of them is true)') .optional(), meeting_initial_type: zod_1.z .number() .describe('Initial type of meeting Options:1(group_meeting Multi-person meeting),2(call 1v1 calling(Only support PSTN))') .optional(), meeting_connect: zod_1.z .boolean() .describe('Whether the meeting supports interoperability and does not support updates (Note: This field is in closed beta)') .optional(), call_setting: zod_1.z .object({ callee: zod_1.z .object({ id: zod_1.z.string().describe('User ID').optional(), user_type: zod_1.z .