chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
import { z } from '@botpress/sdk'
|
||||
|
||||
export const scheduleEventInputSchema = z.object({
|
||||
conversationId: z
|
||||
.string()
|
||||
.describe('The ID of the conversation')
|
||||
.placeholder('{{ event.conversationId }}')
|
||||
.title('Conversation ID'),
|
||||
eventTypeUrl: z.string().describe('The URL of the event type').title('Event Type URL'),
|
||||
})
|
||||
|
||||
export const scheduleEventOutputSchema = z.object({
|
||||
bookingUrl: z
|
||||
.string()
|
||||
.url()
|
||||
.describe('A link that brings the user to the event scheduling form')
|
||||
.title('Scheduling Link URL'),
|
||||
owner: z.string().url().describe('A link to the resource that owns this scheduling link').title('Event Owner'),
|
||||
ownerType: z.string().describe('The type of the resource that owns this scheduling link').title('Resource Type'),
|
||||
})
|
||||
@@ -0,0 +1,21 @@
|
||||
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'),
|
||||
})
|
||||
Reference in New Issue
Block a user