{"version":3,"file":"ConversationSchemaGraphQLTypes.mjs","sources":["../../../src/ai/ConversationSchemaGraphQLTypes.ts"],"sourcesContent":["export const CONVERSATION_SCHEMA_GRAPHQL_TYPES = \n/* GraphQL */ `enum AmplifyAIConversationParticipantRole {\n  user\n  assistant\n}\n\ninterface AmplifyAIConversationMessage {\n  id: ID!\n  conversationId: ID!\n  associatedUserMessageId: ID\n  role: AmplifyAIConversationParticipantRole\n  content: [AmplifyAIContentBlock]\n  aiContext: AWSJSON\n  toolConfiguration: AmplifyAIToolConfiguration\n  createdAt: AWSDateTime\n  updatedAt: AWSDateTime\n  owner: String\n}\n\ninput AmplifyAIDocumentBlockSourceInput {\n  bytes: String\n}\n\ninput AmplifyAIDocumentBlockInput {\n  format: String!\n  name: String!\n  source: AmplifyAIDocumentBlockSourceInput!\n}\n\ninput AmplifyAIImageBlockSourceInput {\n  bytes: String\n}\n\ninput AmplifyAIImageBlockInput {\n  format: String!\n  source: AmplifyAIImageBlockSourceInput!\n}\n\ninput AmplifyAIToolUseBlockInput {\n  toolUseId: String!\n  name: String!\n  input: AWSJSON!\n  type: String\n}\n\ninput AmplifyAIToolResultContentBlockInput {\n  document: AmplifyAIDocumentBlockInput\n  image: AmplifyAIImageBlockInput\n  json: AWSJSON\n  text: String\n}\n\ninput AmplifyAIToolResultBlockInput {\n  content: [AmplifyAIToolResultContentBlockInput!]!\n  toolUseId: String!\n  status: String\n}\n\ntype AmplifyAIDocumentBlockSource {\n  bytes: String\n}\n\ntype AmplifyAIDocumentBlock {\n  format: String!\n  name: String!\n  source: AmplifyAIDocumentBlockSource!\n}\n\ntype AmplifyAIImageBlock {\n  format: String!\n  source: AmplifyAIImageBlockSource!\n}\n\ntype AmplifyAIImageBlockSource {\n  bytes: String\n}\n\ntype AmplifyAIToolUseBlock {\n  toolUseId: String!\n  name: String!\n  input: AWSJSON!\n  type: String\n}\n\ntype AmplifyAIToolResultContentBlock {\n  document: AmplifyAIDocumentBlock\n  image: AmplifyAIImageBlock\n  json: AWSJSON\n  text: String\n}\n\ntype AmplifyAIToolResultBlock {\n  content: [AmplifyAIToolResultContentBlock!]!\n  toolUseId: String!\n  status: String\n}\n\ntype AmplifyAIContentBlockText {\n  text: String\n}\n\ntype AmplifyAIContentBlockImage {\n  image: AmplifyAIImageBlock\n}\n\ntype AmplifyAIContentBlockDocument {\n  document: AmplifyAIDocumentBlock\n}\n\ntype AmplifyAIContentBlockToolUse {\n  toolUse: AmplifyAIToolUseBlock\n}\n\ntype AmplifyAIContentBlockToolResult {\n  toolResult: AmplifyAIToolResultBlock\n}\n\ninput AmplifyAIContentBlockInput {\n  text: String\n  document: AmplifyAIDocumentBlockInput\n  image: AmplifyAIImageBlockInput\n  toolResult: AmplifyAIToolResultBlockInput\n  toolUse: AmplifyAIToolUseBlockInput\n}\n\ntype AmplifyAIContentBlock {\n  text: String\n  document: AmplifyAIDocumentBlock\n  image: AmplifyAIImageBlock\n  toolResult: AmplifyAIToolResultBlock\n  toolUse: AmplifyAIToolUseBlock\n}\n\ninput AmplifyAIToolConfigurationInput {\n  tools: [AmplifyAIToolInput]\n}\n\ninput AmplifyAIToolInput {\n  toolSpec: AmplifyAIToolSpecificationInput\n}\n\ninput AmplifyAIToolSpecificationInput {\n  name: String!\n  description: String\n  inputSchema: AmplifyAIToolInputSchemaInput!\n}\n\ninput AmplifyAIToolInputSchemaInput {\n  json: AWSJSON\n}\n\ntype AmplifyAIToolConfiguration {\n  tools: [AmplifyAITool]\n}\n\ntype AmplifyAITool {\n  toolSpec: AmplifyAIToolSpecification\n}\n\ntype AmplifyAIToolSpecification {\n  name: String!\n  description: String\n  inputSchema: AmplifyAIToolInputSchema!\n}\n\ntype AmplifyAIToolInputSchema {\n  json: AWSJSON\n}\n\ntype AmplifyAIConversationMessageStreamPart @aws_cognito_user_pools {\n  id: ID!\n  owner: String\n  conversationId: ID!\n  associatedUserMessageId: ID!\n  contentBlockIndex: Int\n  contentBlockText: String\n  contentBlockDeltaIndex: Int\n  contentBlockToolUse: AmplifyAIToolUseBlock\n  contentBlockDoneAtIndex: Int\n  stopReason: String\n  errors: [AmplifyAIConversationTurnError]\n  p: String\n}\n\ntype AmplifyAIConversationTurnError @aws_cognito_user_pools {\n  message: String!\n  errorType: String!\n}`;\n"],"names":[],"mappings":"AAAY,MAAC,iCAAiC;AAC9C,cAAc,CAAC;AACf;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC;;;;"}