22 lines
1.2 KiB
TypeScript
22 lines
1.2 KiB
TypeScript
import { z } from '@botpress/sdk'
|
|
|
|
export const inviteeEventOutputSchema = z.object({
|
|
scheduledEventUri: z.string().url().describe('The URI of the scheduled event').title('Scheduled Event URI'),
|
|
eventName: z.string().describe('The name of the scheduled event').title('Scheduled Event Name'),
|
|
startTime: z.string().datetime().describe('The start time of the scheduled event').title('Start Time'),
|
|
endTime: z.string().datetime().describe('The end time of the scheduled event').title('End Time'),
|
|
locationType: z
|
|
.string()
|
|
.describe('The type of location for the scheduled event')
|
|
.title("Location Type (e.g. 'zoom', 'google_conference', 'microsoft_teams_conference')"),
|
|
organizerName: z.string().describe('The name of the event organizer').title('Organizer Name'),
|
|
organizerEmail: z.string().email().describe('The email of the event organizer').title('Organizer Email'),
|
|
inviteeName: z.string().describe('The name of the invitee').title('Invitee Name'),
|
|
inviteeEmail: z.string().email().describe('The email of the invitee').title('Invitee Email'),
|
|
conversationId: z
|
|
.string()
|
|
.nullable()
|
|
.describe('The conversation ID associated with the event, if available')
|
|
.title('Conversation ID'),
|
|
})
|