import { TypedDocumentNode } from "@graphql-typed-document-node/core"; //#region src/graphql/@generated/graphql.d.ts type Maybe = T | null; type InputMaybe = Maybe; type Exact = { [K in keyof T]: T[K] }; type MakeOptional = Omit & { [SubKey in K]?: Maybe }; type MakeMaybe = Omit & { [SubKey in K]: Maybe }; type MakeEmpty = { [_ in K]?: never }; type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; /** All built-in and custom scalars, mapped to their actual values */ type Scalars = { ID: { input: string; output: string; }; String: { input: string; output: string; }; Boolean: { input: boolean; output: boolean; }; Int: { input: number; output: number; }; Float: { input: number; output: number; }; /** A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.This scalar is serialized to a string in ISO 8601 format and parsed from a string in ISO 8601 format. */ DateTimeISO: { input: any; output: any; }; /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */ JSON: { input: any; output: any; }; /** The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */ JSONObject: { input: any; output: any; }; }; type ActionExecutionMessageInput = { arguments: Scalars['String']['input']; name: Scalars['String']['input']; parentMessageId?: InputMaybe; /** @deprecated This field will be removed in a future version */ scope?: InputMaybe; }; type ActionExecutionMessageOutput = BaseMessageOutput & { __typename?: 'ActionExecutionMessageOutput'; arguments: Array; createdAt: Scalars['DateTimeISO']['output']; id: Scalars['String']['output']; name: Scalars['String']['output']; parentMessageId?: Maybe; /** @deprecated This field will be removed in a future version */ scope?: Maybe; status: MessageStatus; }; type ActionInput = { available?: InputMaybe; description: Scalars['String']['input']; jsonSchema: Scalars['String']['input']; name: Scalars['String']['input']; }; /** The availability of the frontend action */ declare enum ActionInputAvailability { Disabled = "disabled", Enabled = "enabled", Remote = "remote" } type Agent = { __typename?: 'Agent'; description: Scalars['String']['output']; id: Scalars['String']['output']; name: Scalars['String']['output']; }; type AgentSessionInput = { agentName: Scalars['String']['input']; nodeName?: InputMaybe; threadId?: InputMaybe; }; type AgentStateInput = { agentName: Scalars['String']['input']; config?: InputMaybe; state: Scalars['String']['input']; }; type AgentStateMessageInput = { active: Scalars['Boolean']['input']; agentName: Scalars['String']['input']; nodeName: Scalars['String']['input']; role: MessageRole; runId: Scalars['String']['input']; running: Scalars['Boolean']['input']; state: Scalars['String']['input']; threadId: Scalars['String']['input']; }; type AgentStateMessageOutput = BaseMessageOutput & { __typename?: 'AgentStateMessageOutput'; active: Scalars['Boolean']['output']; agentName: Scalars['String']['output']; createdAt: Scalars['DateTimeISO']['output']; id: Scalars['String']['output']; nodeName: Scalars['String']['output']; role: MessageRole; runId: Scalars['String']['output']; running: Scalars['Boolean']['output']; state: Scalars['String']['output']; status: MessageStatus; threadId: Scalars['String']['output']; }; type AgentsResponse = { __typename?: 'AgentsResponse'; agents: Array; }; type BaseMessageOutput = { createdAt: Scalars['DateTimeISO']['output']; id: Scalars['String']['output']; status: MessageStatus; }; type BaseMetaEvent = { name: MetaEventName; type: Scalars['String']['output']; }; type BaseResponseStatus = { code: ResponseStatusCode; }; type CloudInput = { guardrails?: InputMaybe; }; type CopilotContextInput = { description: Scalars['String']['input']; value: Scalars['String']['input']; }; type CopilotKitLangGraphInterruptEvent = BaseMetaEvent & { __typename?: 'CopilotKitLangGraphInterruptEvent'; data: CopilotKitLangGraphInterruptEventData; name: MetaEventName; response?: Maybe; type: Scalars['String']['output']; }; type CopilotKitLangGraphInterruptEventData = { __typename?: 'CopilotKitLangGraphInterruptEventData'; messages: Array; value: Scalars['String']['output']; }; /** The type of Copilot request */ declare enum CopilotRequestType { Chat = "Chat", Suggestion = "Suggestion", Task = "Task", TextareaCompletion = "TextareaCompletion", TextareaPopover = "TextareaPopover" } type CopilotResponse = { __typename?: 'CopilotResponse'; extensions?: Maybe; messages: Array; metaEvents?: Maybe>; runId?: Maybe; status: ResponseStatus; threadId: Scalars['String']['output']; }; type ExtensionsInput = { openaiAssistantAPI?: InputMaybe; }; type ExtensionsResponse = { __typename?: 'ExtensionsResponse'; openaiAssistantAPI?: Maybe; }; type FailedMessageStatus = { __typename?: 'FailedMessageStatus'; code: MessageStatusCode; reason: Scalars['String']['output']; }; type FailedResponseStatus = BaseResponseStatus & { __typename?: 'FailedResponseStatus'; code: ResponseStatusCode; details?: Maybe; reason: FailedResponseStatusReason; }; declare enum FailedResponseStatusReason { GuardrailsValidationFailed = "GUARDRAILS_VALIDATION_FAILED", MessageStreamInterrupted = "MESSAGE_STREAM_INTERRUPTED", UnknownError = "UNKNOWN_ERROR" } type ForwardedParametersInput = { maxTokens?: InputMaybe; model?: InputMaybe; stop?: InputMaybe>; temperature?: InputMaybe; toolChoice?: InputMaybe; toolChoiceFunctionName?: InputMaybe; }; type FrontendInput = { actions: Array; toDeprecate_fullContext?: InputMaybe; url?: InputMaybe; }; type GenerateCopilotResponseInput = { agentSession?: InputMaybe; agentState?: InputMaybe; agentStates?: InputMaybe>; cloud?: InputMaybe; context?: InputMaybe>; extensions?: InputMaybe; forwardedParameters?: InputMaybe; frontend: FrontendInput; messages: Array; metaEvents?: InputMaybe>; metadata: GenerateCopilotResponseMetadataInput; runId?: InputMaybe; threadId?: InputMaybe; }; type GenerateCopilotResponseMetadataInput = { requestType?: InputMaybe; }; type GuardrailsInput = { inputValidationRules: GuardrailsRuleInput; }; type GuardrailsRuleInput = { allowList?: InputMaybe>; denyList?: InputMaybe>; }; type ImageMessageInput = { bytes: Scalars['String']['input']; format: Scalars['String']['input']; parentMessageId?: InputMaybe; role: MessageRole; }; type ImageMessageOutput = BaseMessageOutput & { __typename?: 'ImageMessageOutput'; bytes: Scalars['String']['output']; createdAt: Scalars['DateTimeISO']['output']; format: Scalars['String']['output']; id: Scalars['String']['output']; parentMessageId?: Maybe; role: MessageRole; status: MessageStatus; }; type LangGraphInterruptEvent = BaseMetaEvent & { __typename?: 'LangGraphInterruptEvent'; name: MetaEventName; response?: Maybe; type: Scalars['String']['output']; value: Scalars['String']['output']; }; type LoadAgentStateInput = { agentName: Scalars['String']['input']; threadId: Scalars['String']['input']; }; type LoadAgentStateResponse = { __typename?: 'LoadAgentStateResponse'; messages: Scalars['String']['output']; state: Scalars['String']['output']; threadExists: Scalars['Boolean']['output']; threadId: Scalars['String']['output']; }; type MessageInput = { actionExecutionMessage?: InputMaybe; agentStateMessage?: InputMaybe; createdAt: Scalars['DateTimeISO']['input']; id: Scalars['String']['input']; imageMessage?: InputMaybe; resultMessage?: InputMaybe; textMessage?: InputMaybe; }; /** The role of the message */ declare enum MessageRole { Assistant = "assistant", Developer = "developer", System = "system", Tool = "tool", User = "user" } type MessageStatus = FailedMessageStatus | PendingMessageStatus | SuccessMessageStatus; declare enum MessageStatusCode { Failed = "Failed", Pending = "Pending", Success = "Success" } type MetaEventInput = { messages?: InputMaybe>; name: MetaEventName; response?: InputMaybe; value: Scalars['String']['input']; }; /** Meta event types */ declare enum MetaEventName { CopilotKitLangGraphInterruptEvent = "CopilotKitLangGraphInterruptEvent", LangGraphInterruptEvent = "LangGraphInterruptEvent" } type Mutation = { __typename?: 'Mutation'; generateCopilotResponse: CopilotResponse; }; type MutationGenerateCopilotResponseArgs = { data: GenerateCopilotResponseInput; properties?: InputMaybe; }; type OpenAiApiAssistantApiInput = { runId?: InputMaybe; threadId?: InputMaybe; }; type OpenAiApiAssistantApiResponse = { __typename?: 'OpenAIApiAssistantAPIResponse'; runId?: Maybe; threadId?: Maybe; }; type PendingMessageStatus = { __typename?: 'PendingMessageStatus'; code: MessageStatusCode; }; type PendingResponseStatus = BaseResponseStatus & { __typename?: 'PendingResponseStatus'; code: ResponseStatusCode; }; type Query = { __typename?: 'Query'; availableAgents: AgentsResponse; hello: Scalars['String']['output']; loadAgentState: LoadAgentStateResponse; }; type QueryLoadAgentStateArgs = { data: LoadAgentStateInput; }; type ResponseStatus = FailedResponseStatus | PendingResponseStatus | SuccessResponseStatus; declare enum ResponseStatusCode { Failed = "Failed", Pending = "Pending", Success = "Success" } type ResultMessageInput = { actionExecutionId: Scalars['String']['input']; actionName: Scalars['String']['input']; parentMessageId?: InputMaybe; result: Scalars['String']['input']; }; type ResultMessageOutput = BaseMessageOutput & { __typename?: 'ResultMessageOutput'; actionExecutionId: Scalars['String']['output']; actionName: Scalars['String']['output']; createdAt: Scalars['DateTimeISO']['output']; id: Scalars['String']['output']; result: Scalars['String']['output']; status: MessageStatus; }; type SuccessMessageStatus = { __typename?: 'SuccessMessageStatus'; code: MessageStatusCode; }; type SuccessResponseStatus = BaseResponseStatus & { __typename?: 'SuccessResponseStatus'; code: ResponseStatusCode; }; type TextMessageInput = { content: Scalars['String']['input']; parentMessageId?: InputMaybe; role: MessageRole; }; type TextMessageOutput = BaseMessageOutput & { __typename?: 'TextMessageOutput'; content: Array; createdAt: Scalars['DateTimeISO']['output']; id: Scalars['String']['output']; parentMessageId?: Maybe; role: MessageRole; status: MessageStatus; }; type GenerateCopilotResponseMutationVariables = Exact<{ data: GenerateCopilotResponseInput; properties?: InputMaybe; }>; type GenerateCopilotResponseMutation = { __typename?: 'Mutation'; generateCopilotResponse: { __typename?: 'CopilotResponse'; threadId: string; runId?: string | null; extensions?: { __typename?: 'ExtensionsResponse'; openaiAssistantAPI?: { __typename?: 'OpenAIApiAssistantAPIResponse'; runId?: string | null; threadId?: string | null; } | null; } | null; messages: Array<{ __typename: 'ActionExecutionMessageOutput'; id: string; createdAt: any; name: string; arguments: Array; parentMessageId?: string | null; status: { __typename?: 'FailedMessageStatus'; code: MessageStatusCode; reason: string; } | { __typename?: 'PendingMessageStatus'; code: MessageStatusCode; } | { __typename?: 'SuccessMessageStatus'; code: MessageStatusCode; }; } | { __typename: 'AgentStateMessageOutput'; id: string; createdAt: any; threadId: string; state: string; running: boolean; agentName: string; nodeName: string; runId: string; active: boolean; role: MessageRole; status: { __typename?: 'FailedMessageStatus'; code: MessageStatusCode; reason: string; } | { __typename?: 'PendingMessageStatus'; code: MessageStatusCode; } | { __typename?: 'SuccessMessageStatus'; code: MessageStatusCode; }; } | { __typename: 'ImageMessageOutput'; id: string; createdAt: any; format: string; bytes: string; role: MessageRole; parentMessageId?: string | null; status: { __typename?: 'FailedMessageStatus'; code: MessageStatusCode; reason: string; } | { __typename?: 'PendingMessageStatus'; code: MessageStatusCode; } | { __typename?: 'SuccessMessageStatus'; code: MessageStatusCode; }; } | { __typename: 'ResultMessageOutput'; id: string; createdAt: any; result: string; actionExecutionId: string; actionName: string; status: { __typename?: 'FailedMessageStatus'; code: MessageStatusCode; reason: string; } | { __typename?: 'PendingMessageStatus'; code: MessageStatusCode; } | { __typename?: 'SuccessMessageStatus'; code: MessageStatusCode; }; } | { __typename: 'TextMessageOutput'; id: string; createdAt: any; content: Array; role: MessageRole; parentMessageId?: string | null; status: { __typename?: 'FailedMessageStatus'; code: MessageStatusCode; reason: string; } | { __typename?: 'PendingMessageStatus'; code: MessageStatusCode; } | { __typename?: 'SuccessMessageStatus'; code: MessageStatusCode; }; }>; metaEvents?: Array<{ __typename?: 'CopilotKitLangGraphInterruptEvent'; type: string; name: MetaEventName; data: { __typename?: 'CopilotKitLangGraphInterruptEventData'; value: string; messages: Array<{ __typename: 'ActionExecutionMessageOutput'; id: string; createdAt: any; name: string; arguments: Array; parentMessageId?: string | null; status: { __typename?: 'FailedMessageStatus'; code: MessageStatusCode; reason: string; } | { __typename?: 'PendingMessageStatus'; code: MessageStatusCode; } | { __typename?: 'SuccessMessageStatus'; code: MessageStatusCode; }; } | { __typename: 'AgentStateMessageOutput'; id: string; createdAt: any; status: { __typename?: 'FailedMessageStatus'; code: MessageStatusCode; reason: string; } | { __typename?: 'PendingMessageStatus'; code: MessageStatusCode; } | { __typename?: 'SuccessMessageStatus'; code: MessageStatusCode; }; } | { __typename: 'ImageMessageOutput'; id: string; createdAt: any; status: { __typename?: 'FailedMessageStatus'; code: MessageStatusCode; reason: string; } | { __typename?: 'PendingMessageStatus'; code: MessageStatusCode; } | { __typename?: 'SuccessMessageStatus'; code: MessageStatusCode; }; } | { __typename: 'ResultMessageOutput'; id: string; createdAt: any; result: string; actionExecutionId: string; actionName: string; status: { __typename?: 'FailedMessageStatus'; code: MessageStatusCode; reason: string; } | { __typename?: 'PendingMessageStatus'; code: MessageStatusCode; } | { __typename?: 'SuccessMessageStatus'; code: MessageStatusCode; }; } | { __typename: 'TextMessageOutput'; id: string; createdAt: any; content: Array; role: MessageRole; parentMessageId?: string | null; status: { __typename?: 'FailedMessageStatus'; code: MessageStatusCode; reason: string; } | { __typename?: 'PendingMessageStatus'; code: MessageStatusCode; } | { __typename?: 'SuccessMessageStatus'; code: MessageStatusCode; }; }>; }; } | { __typename?: 'LangGraphInterruptEvent'; type: string; name: MetaEventName; value: string; }> | null; } & ({ __typename?: 'CopilotResponse'; status: { __typename?: 'FailedResponseStatus'; code: ResponseStatusCode; reason: FailedResponseStatusReason; details?: any | null; } | { __typename?: 'PendingResponseStatus'; code: ResponseStatusCode; } | { __typename?: 'SuccessResponseStatus'; code: ResponseStatusCode; }; } | { __typename?: 'CopilotResponse'; status?: never; }); }; type AvailableAgentsQueryVariables = Exact<{ [key: string]: never; }>; type AvailableAgentsQuery = { __typename?: 'Query'; availableAgents: { __typename?: 'AgentsResponse'; agents: Array<{ __typename?: 'Agent'; name: string; id: string; description: string; }>; }; }; type LoadAgentStateQueryVariables = Exact<{ data: LoadAgentStateInput; }>; type LoadAgentStateQuery = { __typename?: 'Query'; loadAgentState: { __typename?: 'LoadAgentStateResponse'; threadId: string; threadExists: boolean; state: string; messages: string; }; }; declare const GenerateCopilotResponseDocument: TypedDocumentNode; declare const AvailableAgentsDocument: TypedDocumentNode; declare const LoadAgentStateDocument: TypedDocumentNode; //#endregion export { ActionExecutionMessageInput, ActionExecutionMessageOutput, ActionInput, ActionInputAvailability, Agent, AgentSessionInput, AgentStateInput, AgentStateMessageInput, AgentStateMessageOutput, AgentsResponse, AvailableAgentsDocument, AvailableAgentsQuery, AvailableAgentsQueryVariables, BaseMessageOutput, BaseMetaEvent, BaseResponseStatus, CloudInput, CopilotContextInput, CopilotKitLangGraphInterruptEvent, CopilotKitLangGraphInterruptEventData, CopilotRequestType, CopilotResponse, Exact, ExtensionsInput, ExtensionsResponse, FailedMessageStatus, FailedResponseStatus, FailedResponseStatusReason, ForwardedParametersInput, FrontendInput, GenerateCopilotResponseDocument, GenerateCopilotResponseInput, GenerateCopilotResponseMetadataInput, GenerateCopilotResponseMutation, GenerateCopilotResponseMutationVariables, GuardrailsInput, GuardrailsRuleInput, ImageMessageInput, ImageMessageOutput, Incremental, InputMaybe, LangGraphInterruptEvent, LoadAgentStateDocument, LoadAgentStateInput, LoadAgentStateQuery, LoadAgentStateQueryVariables, LoadAgentStateResponse, MakeEmpty, MakeMaybe, MakeOptional, Maybe, MessageInput, MessageRole, MessageStatus, MessageStatusCode, MetaEventInput, MetaEventName, Mutation, MutationGenerateCopilotResponseArgs, OpenAiApiAssistantApiInput, OpenAiApiAssistantApiResponse, PendingMessageStatus, PendingResponseStatus, Query, QueryLoadAgentStateArgs, ResponseStatus, ResponseStatusCode, ResultMessageInput, ResultMessageOutput, Scalars, SuccessMessageStatus, SuccessResponseStatus, TextMessageInput, TextMessageOutput }; //# sourceMappingURL=graphql.d.cts.map