export type Json = | string | number | boolean | null | { [key: string]: Json | undefined } | Json[] export type Database = { // Allows to automatically instantiate createClient with right options // instead of createClient(URL, KEY) __InternalSupabase: { PostgrestVersion: "13.0.5" } public: { Tables: { active_bots: { Row: { bot_id: string bot_type: string created_at: string deck_url: string error_message: string | null log_file_path: string | null pid: number room_url: string session_id: string spawned_at: string status: string stopped_at: string | null updated_at: string } Insert: { bot_id?: string bot_type?: string created_at?: string deck_url: string error_message?: string | null log_file_path?: string | null pid: number room_url: string session_id: string spawned_at?: string status: string stopped_at?: string | null updated_at?: string } Update: { bot_id?: string bot_type?: string created_at?: string deck_url?: string error_message?: string | null log_file_path?: string | null pid?: number room_url?: string session_id?: string spawned_at?: string status?: string stopped_at?: string | null updated_at?: string } Relationships: [] } conversation_sessions: { Row: { client_id: string | null created_at: string | null customer_email: string | null customer_name: string | null daily_recording_duration_seconds: number | null daily_recording_id: string | null daily_recording_started_at: string | null daily_recording_url: string | null daily_room_config: Json | null daily_room_name: string | null daily_room_url: string | null discovery_data: Json | null discovery_duration_seconds: number | null discovery_ended_at: string | null discovery_insights: Json | null discovery_started_at: string | null discovery_transcript: Json | null environment: string | null error_code: string | null error_context: Json | null error_message: string | null error_timestamp: string | null id: string livekit_recording_url: string | null livekit_room_id: string | null livekit_room_name: string | null persona_id: string | null pipecat_session_id: string | null presentation_duration_seconds: number | null presentation_ended_at: string | null presentation_slide_history: Json | null presentation_started_at: string | null presentation_transcript: Json | null referrer_url: string | null session_type: string | null slide_customization: Json | null slidev_generated_at: string | null slidev_markdown: string | null slidev_url: string | null source: string | null status: string | null tavus_conversation_id: string | null tavus_replica_id: string | null updated_at: string | null utm_campaign: string | null utm_medium: string | null utm_source: string | null voice_agent_session_id: string | null } Insert: { client_id?: string | null created_at?: string | null customer_email?: string | null customer_name?: string | null daily_recording_duration_seconds?: number | null daily_recording_id?: string | null daily_recording_started_at?: string | null daily_recording_url?: string | null daily_room_config?: Json | null daily_room_name?: string | null daily_room_url?: string | null discovery_data?: Json | null discovery_duration_seconds?: number | null discovery_ended_at?: string | null discovery_insights?: Json | null discovery_started_at?: string | null discovery_transcript?: Json | null environment?: string | null error_code?: string | null error_context?: Json | null error_message?: string | null error_timestamp?: string | null id?: string livekit_recording_url?: string | null livekit_room_id?: string | null livekit_room_name?: string | null persona_id?: string | null pipecat_session_id?: string | null presentation_duration_seconds?: number | null presentation_ended_at?: string | null presentation_slide_history?: Json | null presentation_started_at?: string | null presentation_transcript?: Json | null referrer_url?: string | null session_type?: string | null slide_customization?: Json | null slidev_generated_at?: string | null slidev_markdown?: string | null slidev_url?: string | null source?: string | null status?: string | null tavus_conversation_id?: string | null tavus_replica_id?: string | null updated_at?: string | null utm_campaign?: string | null utm_medium?: string | null utm_source?: string | null voice_agent_session_id?: string | null } Update: { client_id?: string | null created_at?: string | null customer_email?: string | null customer_name?: string | null daily_recording_duration_seconds?: number | null daily_recording_id?: string | null daily_recording_started_at?: string | null daily_recording_url?: string | null daily_room_config?: Json | null daily_room_name?: string | null daily_room_url?: string | null discovery_data?: Json | null discovery_duration_seconds?: number | null discovery_ended_at?: string | null discovery_insights?: Json | null discovery_started_at?: string | null discovery_transcript?: Json | null environment?: string | null error_code?: string | null error_context?: Json | null error_message?: string | null error_timestamp?: string | null id?: string livekit_recording_url?: string | null livekit_room_id?: string | null livekit_room_name?: string | null persona_id?: string | null pipecat_session_id?: string | null presentation_duration_seconds?: number | null presentation_ended_at?: string | null presentation_slide_history?: Json | null presentation_started_at?: string | null presentation_transcript?: Json | null referrer_url?: string | null session_type?: string | null slide_customization?: Json | null slidev_generated_at?: string | null slidev_markdown?: string | null slidev_url?: string | null source?: string | null status?: string | null tavus_conversation_id?: string | null tavus_replica_id?: string | null updated_at?: string | null utm_campaign?: string | null utm_medium?: string | null utm_source?: string | null voice_agent_session_id?: string | null } Relationships: [] } slide_control_commands: { Row: { command: string deck_id: string id: string slide_id: string | null timestamp: string | null } Insert: { command: string deck_id: string id?: string slide_id?: string | null timestamp?: string | null } Update: { command?: string deck_id?: string id?: string slide_id?: string | null timestamp?: string | null } Relationships: [] } slidev_decks: { Row: { created_at: string | null deck_id: string deck_url: string | null generation_data: Json | null html_content: string | null id: string session_id: string | null template_id: string } Insert: { created_at?: string | null deck_id: string deck_url?: string | null generation_data?: Json | null html_content?: string | null id?: string session_id?: string | null template_id?: string } Update: { created_at?: string | null deck_id?: string deck_url?: string | null generation_data?: Json | null html_content?: string | null id?: string session_id?: string | null template_id?: string } Relationships: [ { foreignKeyName: "slidev_decks_session_id_fkey" columns: ["session_id"] isOneToOne: false referencedRelation: "conversation_sessions" referencedColumns: ["id"] }, ] } } Views: { [_ in never]: never } Functions: { [_ in never]: never } Enums: { [_ in never]: never } CompositeTypes: { [_ in never]: never } } } type DatabaseWithoutInternals = Omit type DefaultSchema = DatabaseWithoutInternals[Extract] export type Tables< DefaultSchemaTableNameOrOptions extends | keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) | { schema: keyof DatabaseWithoutInternals }, TableName extends DefaultSchemaTableNameOrOptions extends { schema: keyof DatabaseWithoutInternals } ? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"]) : never = never, > = DefaultSchemaTableNameOrOptions extends { schema: keyof DatabaseWithoutInternals } ? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] & DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Views"])[TableName] extends { Row: infer R } ? R : never : DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema["Tables"] & DefaultSchema["Views"]) ? (DefaultSchema["Tables"] & DefaultSchema["Views"])[DefaultSchemaTableNameOrOptions] extends { Row: infer R } ? R : never : never export type TablesInsert< DefaultSchemaTableNameOrOptions extends | keyof DefaultSchema["Tables"] | { schema: keyof DatabaseWithoutInternals }, TableName extends DefaultSchemaTableNameOrOptions extends { schema: keyof DatabaseWithoutInternals } ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never = never, > = DefaultSchemaTableNameOrOptions extends { schema: keyof DatabaseWithoutInternals } ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends { Insert: infer I } ? I : never : DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] ? DefaultSchema["Tables"][DefaultSchemaTableNameOrOptions] extends { Insert: infer I } ? I : never : never export type TablesUpdate< DefaultSchemaTableNameOrOptions extends | keyof DefaultSchema["Tables"] | { schema: keyof DatabaseWithoutInternals }, TableName extends DefaultSchemaTableNameOrOptions extends { schema: keyof DatabaseWithoutInternals } ? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"] : never = never, > = DefaultSchemaTableNameOrOptions extends { schema: keyof DatabaseWithoutInternals } ? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions["schema"]]["Tables"][TableName] extends { Update: infer U } ? U : never : DefaultSchemaTableNameOrOptions extends keyof DefaultSchema["Tables"] ? DefaultSchema["Tables"][DefaultSchemaTableNameOrOptions] extends { Update: infer U } ? U : never : never export type Enums< DefaultSchemaEnumNameOrOptions extends | keyof DefaultSchema["Enums"] | { schema: keyof DatabaseWithoutInternals }, EnumName extends DefaultSchemaEnumNameOrOptions extends { schema: keyof DatabaseWithoutInternals } ? keyof DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"] : never = never, > = DefaultSchemaEnumNameOrOptions extends { schema: keyof DatabaseWithoutInternals } ? DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions["schema"]]["Enums"][EnumName] : DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema["Enums"] ? DefaultSchema["Enums"][DefaultSchemaEnumNameOrOptions] : never export type CompositeTypes< PublicCompositeTypeNameOrOptions extends | keyof DefaultSchema["CompositeTypes"] | { schema: keyof DatabaseWithoutInternals }, CompositeTypeName extends PublicCompositeTypeNameOrOptions extends { schema: keyof DatabaseWithoutInternals } ? keyof DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"] : never = never, > = PublicCompositeTypeNameOrOptions extends { schema: keyof DatabaseWithoutInternals } ? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions["schema"]]["CompositeTypes"][CompositeTypeName] : PublicCompositeTypeNameOrOptions extends keyof DefaultSchema["CompositeTypes"] ? DefaultSchema["CompositeTypes"][PublicCompositeTypeNameOrOptions] : never export const Constants = { public: { Enums: {}, }, } as const