/* eslint-disable */
import * as types from './graphql';
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';

/**
 * Map of all GraphQL operations in the project.
 *
 * This map has several performance disadvantages:
 * 1. It is not tree-shakeable, so it will include all operations in the project.
 * 2. It is not minifiable, so the string of a GraphQL query will be multiple times inside the bundle.
 * 3. It does not support dead code elimination, so it will add unused operations.
 *
 * Therefore it is highly recommended to use the babel or swc plugin for production.
 * Learn more about it here: https://the-guild.dev/graphql/codegen/plugins/presets/preset-client#reducing-bundle-size
 */
type Documents = {
    "\n  query AgentDetail($id: ID!) {\n    agent(id: $id) {\n      id\n      name\n      slug\n    }\n  }\n": typeof types.AgentDetailDocument,
    "\n  mutation CreateSubAgent($input: CreateAgentInput!) {\n    createAgent(input: $input) {\n      id\n      name\n      slug\n    }\n  }\n": typeof types.CreateSubAgentDocument,
    "\n  mutation DeleteSubAgent($id: ID!) {\n    deleteAgent(id: $id)\n  }\n": typeof types.DeleteSubAgentDocument,
    "\n  mutation CreateThread($input: CreateThreadInput!) {\n    createThread(input: $input) {\n      id\n      number\n      title\n      status\n      createdAt\n    }\n  }\n": typeof types.CreateThreadDocument,
    "\n  query TenantLabels($tenantId: ID!) {\n    threadLabels(tenantId: $tenantId) {\n      id\n      name\n      color\n    }\n  }\n": typeof types.TenantLabelsDocument,
    "\n  mutation CreateThreadLabel($input: CreateThreadLabelInput!) {\n    createThreadLabel(input: $input) {\n      id\n      name\n      color\n    }\n  }\n": typeof types.CreateThreadLabelDocument,
    "\n  mutation AssignThreadLabel($threadId: ID!, $labelId: ID!) {\n    assignThreadLabel(threadId: $threadId, labelId: $labelId) {\n      id\n      labelId\n    }\n  }\n": typeof types.AssignThreadLabelDocument,
    "\n  mutation RemoveThreadLabel($threadId: ID!, $labelId: ID!) {\n    removeThreadLabel(threadId: $threadId, labelId: $labelId)\n  }\n": typeof types.RemoveThreadLabelDocument,
    "\n  mutation CreateComplianceExport(\n    $filter: ComplianceEventFilter!\n    $format: ComplianceExportFormat!\n  ) {\n    createComplianceExport(filter: $filter, format: $format) {\n      jobId\n      tenantId\n      requestedByActorId\n      requestedAt\n      status\n      format\n      filter\n      s3Key\n      presignedUrl\n      presignedUrlExpiresAt\n      jobError\n      startedAt\n      completedAt\n    }\n  }\n": typeof types.CreateComplianceExportDocument,
    "\n  query ComplianceExports {\n    complianceExports {\n      jobId\n      tenantId\n      requestedByActorId\n      requestedAt\n      status\n      format\n      filter\n      s3Key\n      presignedUrl\n      presignedUrlExpiresAt\n      jobError\n      startedAt\n      completedAt\n    }\n  }\n": typeof types.ComplianceExportsDocument,
    "\n  query ComplianceEventsList(\n    $filter: ComplianceEventFilter\n    $after: String\n    $first: Int\n  ) {\n    complianceEvents(filter: $filter, after: $after, first: $first) {\n      edges {\n        node {\n          eventId\n          tenantId\n          occurredAt\n          recordedAt\n          actor\n          actorType\n          source\n          eventType\n          eventHash\n          prevHash\n          anchorStatus {\n            state\n            cadenceId\n            anchoredRecordedAt\n            nextCadenceWithinMinutes\n          }\n        }\n        cursor\n      }\n      pageInfo {\n        hasNextPage\n        endCursor\n      }\n    }\n  }\n": typeof types.ComplianceEventsListDocument,
    "\n  query ComplianceEventDetail($eventId: ID!) {\n    complianceEvent(eventId: $eventId) {\n      eventId\n      tenantId\n      occurredAt\n      recordedAt\n      actor\n      actorType\n      source\n      eventType\n      eventHash\n      prevHash\n      payload\n      anchorStatus {\n        state\n        cadenceId\n        anchoredRecordedAt\n        nextCadenceWithinMinutes\n      }\n    }\n  }\n": typeof types.ComplianceEventDetailDocument,
    "\n  query ComplianceEventByHash($eventHash: String!) {\n    complianceEventByHash(eventHash: $eventHash) {\n      eventId\n      tenantId\n      occurredAt\n      recordedAt\n      actor\n      actorType\n      source\n      eventType\n      eventHash\n      prevHash\n      anchorStatus {\n        state\n        cadenceId\n        anchoredRecordedAt\n        nextCadenceWithinMinutes\n      }\n    }\n  }\n": typeof types.ComplianceEventByHashDocument,
    "\n  query ComplianceTenants {\n    complianceTenants\n  }\n": typeof types.ComplianceTenantsDocument,
    "\n  query ComplianceOperatorCheck {\n    complianceOperatorCheck {\n      isOperator\n      allowlistConfigured\n    }\n  }\n": typeof types.ComplianceOperatorCheckDocument,
    "\n  query AgentsList($tenantId: ID!) {\n    agents: allTenantAgents(tenantId: $tenantId) {\n      id\n      name\n      slug\n      role\n      type\n      status\n      runtime\n      budgetMonthlyCents\n      avatarUrl\n      createdAt\n    }\n    modelCatalog {\n      modelId\n      displayName\n    }\n  }\n": typeof types.AgentsListDocument,
    "\n  query AgentProfileDetail($id: ID!) {\n    agent(id: $id) {\n      id\n      tenantId\n      name\n      slug\n      role\n      type\n      status\n      runtime\n      budgetMonthlyCents\n      systemPrompt\n      avatarUrl\n      lastHeartbeatAt\n      runtimeConfig\n      adapterType\n      adapterConfig\n      humanPairId\n      humanPair {\n        id\n        name\n        email\n      }\n      version\n      capabilities {\n        id\n        capability\n        config\n        enabled\n      }\n      skills {\n        id\n        skillId\n        enabled\n        config\n        permissions\n      }\n      budgetPolicy {\n        id\n        limitUsd\n        actionOnExceed\n        enabled\n      }\n      parentAgentId\n      subAgents {\n        id\n        name\n        slug\n        role\n        status\n      }\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.AgentProfileDetailDocument,
    "\n  mutation CreateAgent($input: CreateAgentInput!) {\n    createAgent(input: $input) {\n      id\n      name\n      role\n      type\n      status\n      runtime\n      budgetMonthlyCents\n      createdAt\n    }\n  }\n": typeof types.CreateAgentDocument,
    "\n  query AgentKnowledgeBases($id: ID!) {\n    agent(id: $id) {\n      knowledgeBases {\n        id\n        knowledgeBaseId\n        enabled\n        knowledgeBase {\n          id\n          name\n          description\n          status\n        }\n      }\n    }\n  }\n": typeof types.AgentKnowledgeBasesDocument,
    "\n  mutation UpdateAgent($id: ID!, $input: UpdateAgentInput!) {\n    updateAgent(id: $id, input: $input) {\n      id\n      name\n      role\n      type\n      runtime\n      systemPrompt\n      adapterType\n      budgetMonthlyCents\n      updatedAt\n    }\n  }\n": typeof types.UpdateAgentDocument,
    "\n  mutation UpdateAgentRuntime($id: ID!, $runtime: AgentRuntime!) {\n    updateAgentRuntime(id: $id, runtime: $runtime) {\n      id\n      runtime\n      updatedAt\n    }\n  }\n": typeof types.UpdateAgentRuntimeDocument,
    "\n  mutation DeleteAgent($id: ID!) {\n    deleteAgent(id: $id)\n  }\n": typeof types.DeleteAgentDocument,
    "\n  query SpacesList($tenantId: ID!) {\n    spaces(tenantId: $tenantId, status: ACTIVE, includeAllForAdmin: true) {\n      id\n      tenantId\n      slug\n      name\n      description\n      status\n      kind\n      accessMode\n      contextConfig\n      connectedDataConfig\n      toolPolicy\n      mcpPolicy\n      agentAvailabilityPolicy\n      triggerConfig\n      updatedAt\n      agentAssignments {\n        id\n        localRole\n        autoSubscribe\n        status\n        agent {\n          id\n          name\n          slug\n          avatarUrl\n        }\n      }\n      mcpServers {\n        id\n        enabled\n        mcpServer {\n          id\n          name\n          slug\n          status\n        }\n      }\n    }\n  }\n": typeof types.SpacesListDocument,
    "\n  mutation CreateSpace($input: CreateSpaceInput!) {\n    createSpace(input: $input) {\n      id\n      tenantId\n      slug\n      name\n      description\n      status\n      kind\n      accessMode\n      contextConfig\n      connectedDataConfig\n      toolPolicy\n      mcpPolicy\n      agentAvailabilityPolicy\n      triggerConfig\n      updatedAt\n      agentAssignments {\n        id\n        status\n      }\n      mcpServers {\n        id\n        enabled\n      }\n    }\n  }\n": typeof types.CreateSpaceDocument,
    "\n  mutation UpdateSpace($input: UpdateSpaceInput!) {\n    updateSpace(input: $input) {\n      id\n      tenantId\n      slug\n      name\n      description\n      status\n      kind\n      accessMode\n      contextConfig\n      connectedDataConfig\n      toolPolicy\n      mcpPolicy\n      agentAvailabilityPolicy\n      triggerConfig\n      updatedAt\n    }\n  }\n": typeof types.UpdateSpaceDocument,
    "\n  mutation SetSpaceAgentAvailability($input: SetSpaceAgentAvailabilityInput!) {\n    setSpaceAgentAvailability(input: $input) {\n      id\n      agentId\n      spaceId\n      localRole\n      autoSubscribe\n      allowedTools\n      status\n    }\n  }\n": typeof types.SetSpaceAgentAvailabilityDocument,
    "\n  query SpaceAdminDetail($id: ID!) {\n    space(id: $id) {\n      id\n      tenantId\n      slug\n      name\n      description\n      prompt\n      status\n      kind\n      accessMode\n      contextConfig\n      connectedDataConfig\n      toolPolicy\n      mcpPolicy\n      agentAvailabilityPolicy\n      triggerConfig\n      renderDiagnostics\n      config\n      createdAt\n      updatedAt\n      agentAssignments {\n        id\n        agentId\n        localRole\n        localInstructions\n        autoSubscribe\n        allowedCapabilities\n        allowedTools\n        status\n        agent {\n          id\n          name\n          slug\n          avatarUrl\n          status\n        }\n      }\n      mcpServers {\n        id\n        mcpServerId\n        enabled\n        config\n        mcpServer {\n          id\n          name\n          slug\n          transport\n          authType\n          oauthProvider\n          tools\n          enabled\n          status\n        }\n      }\n    }\n  }\n": typeof types.SpaceAdminDetailDocument,
    "\n  mutation UpdateAgentStatus($id: ID!, $status: AgentStatus!) {\n    updateAgentStatus(id: $id, status: $status) {\n      id\n      status\n      updatedAt\n    }\n  }\n": typeof types.UpdateAgentStatusDocument,
    "\n  mutation SetAgentCapabilities(\n    $agentId: ID!\n    $capabilities: [AgentCapabilityInput!]!\n  ) {\n    setAgentCapabilities(agentId: $agentId, capabilities: $capabilities) {\n      id\n      capability\n      enabled\n    }\n  }\n": typeof types.SetAgentCapabilitiesDocument,
    "\n  mutation SetAgentBudgetPolicy(\n    $agentId: ID!\n    $input: AgentBudgetPolicyInput!\n  ) {\n    setAgentBudgetPolicy(agentId: $agentId, input: $input) {\n      id\n      limitUsd\n      actionOnExceed\n      enabled\n    }\n  }\n": typeof types.SetAgentBudgetPolicyDocument,
    "\n  mutation DeleteAgentBudgetPolicy($agentId: ID!) {\n    deleteAgentBudgetPolicy(agentId: $agentId)\n  }\n": typeof types.DeleteAgentBudgetPolicyDocument,
    "\n  query ComputersList($tenantId: ID!) {\n    computers(tenantId: $tenantId) {\n      id\n      tenantId\n      ownerUserId\n      owner {\n        id\n        name\n        email\n      }\n      sourceAgent {\n        id\n        name\n        slug\n      }\n      name\n      slug\n      scope\n      status\n      desiredRuntimeStatus\n      runtimeStatus\n      liveWorkspaceRoot\n      efsAccessPointId\n      ecsServiceName\n      lastHeartbeatAt\n      lastActiveAt\n      budgetMonthlyCents\n      spentMonthlyCents\n      budgetPausedAt\n      budgetPausedReason\n      migratedFromAgentId\n      migrationMetadata\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.ComputersListDocument,
    "\n  query ComputerDetail($id: ID!) {\n    computer(id: $id) {\n      id\n      tenantId\n      ownerUserId\n      owner {\n        id\n        name\n        email\n      }\n      sourceAgent {\n        id\n        name\n        slug\n      }\n      name\n      slug\n      scope\n      status\n      desiredRuntimeStatus\n      runtimeStatus\n      runtimeConfig\n      liveWorkspaceRoot\n      efsAccessPointId\n      ecsServiceName\n      lastHeartbeatAt\n      lastActiveAt\n      budgetMonthlyCents\n      spentMonthlyCents\n      budgetPausedAt\n      budgetPausedReason\n      migratedFromAgentId\n      migrationMetadata\n      createdBy\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.ComputerDetailDocument,
    "\n  mutation CreateComputer($input: CreateComputerInput!) {\n    createComputer(input: $input) {\n      id\n      name\n      slug\n      scope\n      status\n      desiredRuntimeStatus\n      runtimeStatus\n      tenantId\n      ownerUserId\n      budgetMonthlyCents\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.CreateComputerDocument,
    "\n  mutation UpdateComputer($id: ID!, $input: UpdateComputerInput!) {\n    updateComputer(id: $id, input: $input) {\n      id\n      name\n      status\n      desiredRuntimeStatus\n      runtimeStatus\n      liveWorkspaceRoot\n      efsAccessPointId\n      ecsServiceName\n      lastHeartbeatAt\n      lastActiveAt\n      budgetMonthlyCents\n      spentMonthlyCents\n      budgetPausedReason\n      updatedAt\n    }\n  }\n": typeof types.UpdateComputerDocument,
    "\n  query ComputerAssignments($computerId: ID!) {\n    computerAssignments(computerId: $computerId) {\n      id\n      subjectType\n      userId\n      user {\n        id\n        name\n        email\n      }\n      teamId\n      team {\n        id\n        name\n        status\n      }\n      role\n      createdAt\n    }\n  }\n": typeof types.ComputerAssignmentsDocument,
    "\n  query ComputerAccessUsers($computerId: ID!) {\n    computerAccessUsers(computerId: $computerId) {\n      userId\n      user {\n        id\n        name\n        email\n      }\n      accessSource\n      directAssignment {\n        id\n        role\n      }\n      teams {\n        id\n        name\n        status\n      }\n      teamAssignments {\n        id\n        teamId\n        role\n      }\n    }\n  }\n": typeof types.ComputerAccessUsersDocument,
    "\n  query UserComputerAssignments($userId: ID!) {\n    userComputerAssignments(userId: $userId) {\n      computerId\n      computer {\n        id\n        name\n        slug\n        scope\n        status\n        runtimeStatus\n      }\n      accessSource\n      directAssignment {\n        id\n        role\n      }\n      teams {\n        id\n        name\n        status\n      }\n      teamAssignments {\n        id\n        teamId\n        role\n      }\n    }\n  }\n": typeof types.UserComputerAssignmentsDocument,
    "\n  mutation SetComputerAssignments($input: SetComputerAssignmentsInput!) {\n    setComputerAssignments(input: $input) {\n      id\n      computerId\n      subjectType\n      userId\n      teamId\n      role\n      updatedAt\n    }\n  }\n": typeof types.SetComputerAssignmentsDocument,
    "\n  mutation SetUserComputerAssignments(\n    $input: SetUserComputerAssignmentsInput!\n  ) {\n    setUserComputerAssignments(input: $input) {\n      id\n      computerId\n      subjectType\n      userId\n      teamId\n      role\n      updatedAt\n    }\n  }\n": typeof types.SetUserComputerAssignmentsDocument,
    "\n  mutation EnqueueComputerTask($input: EnqueueComputerTaskInput!) {\n    enqueueComputerTask(input: $input) {\n      id\n      taskType\n      status\n      input\n      output\n      error\n      idempotencyKey\n      claimedAt\n      completedAt\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.EnqueueComputerTaskDocument,
    "\n  query ModelCatalog {\n    modelCatalog {\n      id\n      modelId\n      displayName\n      provider\n      inputCostPerMillion\n      outputCostPerMillion\n    }\n  }\n": typeof types.ModelCatalogDocument,
    "\n  query AgentEmailCapability($agentId: ID!) {\n    agentEmailCapability(agentId: $agentId) {\n      id\n      agentId\n      enabled\n      emailAddress\n      vanityAddress\n      allowedSenders\n    }\n  }\n": typeof types.AgentEmailCapabilityDocument,
    "\n  mutation UpdateAgentEmailAllowlist(\n    $agentId: ID!\n    $allowedSenders: [String!]!\n  ) {\n    updateAgentEmailAllowlist(\n      agentId: $agentId\n      allowedSenders: $allowedSenders\n    ) {\n      id\n      config\n      enabled\n    }\n  }\n": typeof types.UpdateAgentEmailAllowlistDocument,
    "\n  mutation ToggleAgentEmailChannel($agentId: ID!, $enabled: Boolean!) {\n    toggleAgentEmailChannel(agentId: $agentId, enabled: $enabled) {\n      id\n      enabled\n    }\n  }\n": typeof types.ToggleAgentEmailChannelDocument,
    "\n  mutation ClaimVanityEmailAddress($agentId: ID!, $localPart: String!) {\n    claimVanityEmailAddress(agentId: $agentId, localPart: $localPart) {\n      id\n      config\n    }\n  }\n": typeof types.ClaimVanityEmailAddressDocument,
    "\n  mutation ReleaseVanityEmailAddress($agentId: ID!) {\n    releaseVanityEmailAddress(agentId: $agentId) {\n      id\n      config\n    }\n  }\n": typeof types.ReleaseVanityEmailAddressDocument,
    "\n  query KnowledgeBasesList($tenantId: ID!) {\n    knowledgeBases(tenantId: $tenantId) {\n      id\n      tenantId\n      name\n      slug\n      description\n      status\n      documentCount\n      lastSyncAt\n      lastSyncStatus\n      errorMessage\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.KnowledgeBasesListDocument,
    "\n  query KnowledgeBaseDetail($id: ID!) {\n    knowledgeBase(id: $id) {\n      id\n      tenantId\n      name\n      slug\n      description\n      embeddingModel\n      chunkingStrategy\n      chunkSizeTokens\n      chunkOverlapPercent\n      status\n      awsKbId\n      lastSyncAt\n      lastSyncStatus\n      documentCount\n      errorMessage\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.KnowledgeBaseDetailDocument,
    "\n  mutation CreateKnowledgeBase($input: CreateKnowledgeBaseInput!) {\n    createKnowledgeBase(input: $input) {\n      id\n      name\n      slug\n      status\n      createdAt\n    }\n  }\n": typeof types.CreateKnowledgeBaseDocument,
    "\n  mutation UpdateKnowledgeBase($id: ID!, $input: UpdateKnowledgeBaseInput!) {\n    updateKnowledgeBase(id: $id, input: $input) {\n      id\n      name\n      description\n      updatedAt\n    }\n  }\n": typeof types.UpdateKnowledgeBaseDocument,
    "\n  mutation DeleteKnowledgeBase($id: ID!) {\n    deleteKnowledgeBase(id: $id)\n  }\n": typeof types.DeleteKnowledgeBaseDocument,
    "\n  mutation SyncKnowledgeBase($id: ID!) {\n    syncKnowledgeBase(id: $id) {\n      id\n      status\n      lastSyncStatus\n      updatedAt\n    }\n  }\n": typeof types.SyncKnowledgeBaseDocument,
    "\n  mutation SetAgentKnowledgeBases(\n    $agentId: ID!\n    $knowledgeBases: [AgentKnowledgeBaseInput!]!\n  ) {\n    setAgentKnowledgeBases(agentId: $agentId, knowledgeBases: $knowledgeBases) {\n      id\n      knowledgeBaseId\n      enabled\n      knowledgeBase {\n        id\n        name\n        description\n        status\n      }\n    }\n  }\n": typeof types.SetAgentKnowledgeBasesDocument,
    "\n  query ThreadsList($tenantId: ID!, $status: ThreadStatus, $search: String) {\n    threads(tenantId: $tenantId, status: $status, search: $search) {\n      id\n      number\n      identifier\n      title\n      status\n      assigneeType\n      assigneeId\n      agentId\n      computerId\n      userId\n      agent {\n        id\n        name\n        avatarUrl\n      }\n      computer {\n        id\n        name\n        slug\n      }\n      user {\n        id\n        name\n        email\n        image\n      }\n      checkoutRunId\n      channel\n      costSummary\n      lastActivityAt\n      lastTurnCompletedAt\n      lastReadAt\n      archivedAt\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.ThreadsListDocument,
    "\n  query ThreadsPaged(\n    $tenantId: ID!\n    $search: String\n    $showArchived: Boolean\n    $sortField: String\n    $sortDir: String\n    $limit: Int\n    $offset: Int\n    $computerId: ID\n    $spaceId: ID\n  ) {\n    threadsPaged(\n      tenantId: $tenantId\n      search: $search\n      showArchived: $showArchived\n      sortField: $sortField\n      sortDir: $sortDir\n      limit: $limit\n      offset: $offset\n      computerId: $computerId\n      spaceId: $spaceId\n    ) {\n      items {\n        id\n        number\n        identifier\n        title\n        status\n        assigneeType\n        assigneeId\n        agentId\n        computerId\n        spaceId\n        userId\n        agent {\n          id\n          name\n          avatarUrl\n        }\n        computer {\n          id\n          name\n          slug\n        }\n        user {\n          id\n          name\n          email\n          image\n        }\n        checkoutRunId\n        channel\n        costSummary\n        lastActivityAt\n        lastTurnCompletedAt\n        lastReadAt\n        archivedAt\n        createdAt\n        updatedAt\n      }\n      totalCount\n    }\n  }\n": typeof types.ThreadsPagedDocument,
    "\n  query ThreadDetail($id: ID!) {\n    thread(id: $id) {\n      id\n      tenantId\n      number\n      identifier\n      title\n      status\n      lifecycleStatus\n      assigneeType\n      assigneeId\n      agentId\n      computerId\n      userId\n      agent {\n        id\n        name\n        avatarUrl\n      }\n      computer {\n        id\n        name\n        slug\n      }\n      user {\n        id\n        name\n        email\n        image\n      }\n      channel\n      messages(limit: 50) {\n        edges {\n          node {\n            id\n            threadId\n            tenantId\n            role\n            content\n            senderType\n            senderId\n            ownerType\n            ownerId\n            toolCalls\n            toolResults\n            metadata\n            tokenCount\n            createdAt\n            durableArtifact {\n              id\n              title\n              type\n              status\n            }\n          }\n        }\n      }\n      costSummary\n      checkoutRunId\n      checkoutVersion\n      billingCode\n      labels\n      metadata\n      dueAt\n      startedAt\n      completedAt\n      cancelledAt\n      closedAt\n      createdByType\n      createdById\n      attachments {\n        id\n        threadId\n        name\n        mimeType\n        sizeBytes\n        uploadedBy\n        createdAt\n      }\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.ThreadDetailDocument,
    "\n  mutation UpdateThread($id: ID!, $input: UpdateThreadInput!) {\n    updateThread(id: $id, input: $input) {\n      id\n      status\n      title\n      assigneeType\n      assigneeId\n      billingCode\n      dueAt\n      updatedAt\n    }\n  }\n": typeof types.UpdateThreadDocument,
    "\n  mutation DeleteThread($id: ID!) {\n    deleteThread(id: $id)\n  }\n": typeof types.DeleteThreadDocument,
    "\n  mutation CheckoutThread($id: ID!, $input: CheckoutThreadInput!) {\n    checkoutThread(id: $id, input: $input) {\n      id\n      checkoutRunId\n      checkoutVersion\n    }\n  }\n": typeof types.CheckoutThreadDocument,
    "\n  mutation ReleaseThread($id: ID!, $input: ReleaseThreadInput!) {\n    releaseThread(id: $id, input: $input) {\n      id\n      checkoutRunId\n      status\n    }\n  }\n": typeof types.ReleaseThreadDocument,
    "\n  query TeamsList($tenantId: ID!) {\n    teams(tenantId: $tenantId) {\n      id\n      name\n      description\n      type\n      status\n      budgetMonthlyCents\n      agents {\n        id\n        agentId\n        agent {\n          id\n          name\n          status\n          avatarUrl\n        }\n        role\n      }\n      users {\n        id\n        userId\n        role\n      }\n      createdAt\n    }\n  }\n": typeof types.TeamsListDocument,
    "\n  query TeamDetail($id: ID!) {\n    team(id: $id) {\n      id\n      tenantId\n      name\n      description\n      type\n      status\n      budgetMonthlyCents\n      metadata\n      agents {\n        id\n        agentId\n        agent {\n          id\n          name\n          role\n          status\n          avatarUrl\n        }\n        role\n        createdAt\n      }\n      users {\n        id\n        userId\n        user {\n          id\n          name\n          email\n        }\n        role\n        createdAt\n      }\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.TeamDetailDocument,
    "\n  query RoutinesList($tenantId: ID!) {\n    routines(tenantId: $tenantId) {\n      id\n      name\n      description\n      status\n      lastRunAt\n      engine\n      createdAt\n    }\n  }\n": typeof types.RoutinesListDocument,
    "\n  query RoutineDetail($id: ID!) {\n    routine(id: $id) {\n      id\n      tenantId\n      name\n      description\n      type\n      status\n      schedule\n      engine\n      currentVersion\n      config\n      lastRunAt\n      nextRunAt\n      agentId\n      agent {\n        id\n        name\n        avatarUrl\n      }\n      teamId\n      team {\n        id\n        name\n      }\n      triggers {\n        id\n        triggerType\n        config\n        enabled\n      }\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.RoutineDetailDocument,
    "\n  mutation CreateRoutine($input: CreateRoutineInput!) {\n    createRoutine(input: $input) {\n      id\n      name\n      currentVersion\n    }\n  }\n": typeof types.CreateRoutineDocument,
    "\n  mutation PlanRoutineDraft($input: PlanRoutineDraftInput!) {\n    planRoutineDraft(input: $input) {\n      title\n      description\n      kind\n      asl\n      markdownSummary\n      stepManifest\n      steps {\n        nodeId\n        recipeId\n        recipeName\n        label\n        args\n        configFields {\n          key\n          label\n          value\n          inputType\n          control\n          required\n          editable\n          options\n          placeholder\n          helpText\n          min\n          max\n          pattern\n        }\n      }\n    }\n  }\n": typeof types.PlanRoutineDraftDocument,
    "\n  query RoutineRecipeCatalog($tenantId: ID!) {\n    routineRecipeCatalog(tenantId: $tenantId) {\n      id\n      displayName\n      description\n      category\n      hitlCapable\n      defaultArgs\n      configFields {\n        key\n        label\n        value\n        inputType\n        control\n        required\n        editable\n        options\n        placeholder\n        helpText\n        min\n        max\n        pattern\n      }\n    }\n  }\n": typeof types.RoutineRecipeCatalogDocument,
    "\n  query TenantCredentials($tenantId: ID!, $status: TenantCredentialStatus) {\n    tenantCredentials(tenantId: $tenantId, status: $status) {\n      id\n      tenantId\n      displayName\n      slug\n      kind\n      status\n      metadataJson\n      schemaJson\n      eventbridgeConnectionArn\n      lastUsedAt\n      lastValidatedAt\n      createdAt\n      updatedAt\n      deletedAt\n    }\n  }\n": typeof types.TenantCredentialsDocument,
    "\n  query CredentialRoutineUsage($tenantId: ID!) {\n    routines(tenantId: $tenantId) {\n      id\n      name\n      status\n      config\n      engine\n      updatedAt\n    }\n  }\n": typeof types.CredentialRoutineUsageDocument,
    "\n  mutation CreateTenantCredential($input: CreateTenantCredentialInput!) {\n    createTenantCredential(input: $input) {\n      id\n      displayName\n      slug\n      kind\n      status\n      metadataJson\n      eventbridgeConnectionArn\n      lastValidatedAt\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.CreateTenantCredentialDocument,
    "\n  mutation UpdateTenantCredential(\n    $id: ID!\n    $input: UpdateTenantCredentialInput!\n  ) {\n    updateTenantCredential(id: $id, input: $input) {\n      id\n      displayName\n      slug\n      status\n      metadataJson\n      updatedAt\n    }\n  }\n": typeof types.UpdateTenantCredentialDocument,
    "\n  mutation RotateTenantCredential($input: RotateTenantCredentialInput!) {\n    rotateTenantCredential(input: $input) {\n      id\n      status\n      lastValidatedAt\n      updatedAt\n    }\n  }\n": typeof types.RotateTenantCredentialDocument,
    "\n  mutation DeleteTenantCredential($id: ID!) {\n    deleteTenantCredential(id: $id)\n  }\n": typeof types.DeleteTenantCredentialDocument,
    "\n  query SlackWorkspaces($tenantId: ID!) {\n    slackWorkspaces(tenantId: $tenantId) {\n      id\n      tenantId\n      slackTeamId\n      slackTeamName\n      botUserId\n      appId\n      installedByUserId\n      status\n      installedAt\n      uninstalledAt\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.SlackWorkspacesDocument,
    "\n  mutation StartSlackWorkspaceInstall(\n    $input: StartSlackWorkspaceInstallInput!\n  ) {\n    startSlackWorkspaceInstall(input: $input) {\n      authorizeUrl\n      state\n      expiresAt\n    }\n  }\n": typeof types.StartSlackWorkspaceInstallDocument,
    "\n  mutation UninstallSlackWorkspace($id: ID!) {\n    uninstallSlackWorkspace(id: $id) {\n      id\n      status\n      uninstalledAt\n      updatedAt\n    }\n  }\n": typeof types.UninstallSlackWorkspaceDocument,
    "\n  mutation TriggerRoutineRun($routineId: ID!, $input: AWSJSON) {\n    triggerRoutineRun(routineId: $routineId, input: $input) {\n      id\n      status\n      triggerSource\n      startedAt\n    }\n  }\n": typeof types.TriggerRoutineRunDocument,
    "\n  mutation RebuildRoutineVersion($input: RebuildRoutineVersionInput!) {\n    rebuildRoutineVersion(input: $input) {\n      id\n      versionNumber\n    }\n  }\n": typeof types.RebuildRoutineVersionDocument,
    "\n  query RoutineDefinition($routineId: ID!) {\n    routineDefinition(routineId: $routineId) {\n      routineId\n      currentVersion\n      versionId\n      title\n      description\n      kind\n      steps {\n        nodeId\n        recipeId\n        recipeName\n        label\n        args\n        configFields {\n          key\n          label\n          value\n          inputType\n          control\n          required\n          editable\n          options\n          placeholder\n          helpText\n          min\n          max\n          pattern\n        }\n      }\n    }\n  }\n": typeof types.RoutineDefinitionDocument,
    "\n  query RoutineDefinitionArtifacts($routineId: ID!) {\n    routineDefinition(routineId: $routineId) {\n      routineId\n      versionId\n      aslJson\n      markdownSummary\n      stepManifestJson\n    }\n  }\n": typeof types.RoutineDefinitionArtifactsDocument,
    "\n  mutation UpdateRoutineDefinition($input: UpdateRoutineDefinitionInput!) {\n    updateRoutineDefinition(input: $input) {\n      routineId\n      currentVersion\n      versionId\n      description\n      steps {\n        nodeId\n        args\n        configFields {\n          key\n          value\n          editable\n        }\n      }\n    }\n  }\n": typeof types.UpdateRoutineDefinitionDocument,
    "\n  query RoutineExecutionsList(\n    $routineId: ID!\n    $status: RoutineExecutionStatus\n    $limit: Int\n    $cursor: String\n  ) {\n    routineExecutions(\n      routineId: $routineId\n      status: $status\n      limit: $limit\n      cursor: $cursor\n    ) {\n      id\n      status\n      triggerSource\n      startedAt\n      finishedAt\n      totalLlmCostUsdCents\n      errorCode\n      createdAt\n    }\n  }\n": typeof types.RoutineExecutionsListDocument,
    "\n  query RoutineExecutionDetail($id: ID!) {\n    routineExecution(id: $id) {\n      id\n      tenantId\n      routineId\n      stateMachineArn\n      aliasArn\n      versionArn\n      sfnExecutionArn\n      triggerSource\n      inputJson\n      outputJson\n      status\n      startedAt\n      finishedAt\n      errorCode\n      errorMessage\n      totalLlmCostUsdCents\n      stepEvents {\n        id\n        nodeId\n        recipeType\n        status\n        startedAt\n        finishedAt\n        inputJson\n        outputJson\n        errorJson\n        llmCostUsdCents\n        retryCount\n        stdoutS3Uri\n        stderrS3Uri\n        stdoutPreview\n        truncated\n        createdAt\n      }\n      routine {\n        id\n        name\n        description\n        currentVersion\n        documentationMd\n      }\n      aslVersion {\n        id\n        versionNumber\n        aslJson\n        markdownSummary\n        stepManifestJson\n      }\n      createdAt\n    }\n  }\n": typeof types.RoutineExecutionDetailDocument,
    "\n  query RoutineAslVersionDetail($id: ID!) {\n    routineAslVersion(id: $id) {\n      id\n      versionNumber\n      aslJson\n      markdownSummary\n      stepManifestJson\n      createdAt\n    }\n  }\n": typeof types.RoutineAslVersionDetailDocument,
    "\n  query InboxItemsList($tenantId: ID!, $status: InboxItemStatus) {\n    inboxItems(tenantId: $tenantId, status: $status) {\n      id\n      type\n      status\n      title\n      description\n      requesterType\n      requesterId\n      entityType\n      entityId\n      revision\n      expiresAt\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.InboxItemsListDocument,
    "\n  query InboxItemDetail($id: ID!) {\n    inboxItem(id: $id) {\n      id\n      tenantId\n      type\n      status\n      title\n      description\n      requesterType\n      requesterId\n      entityType\n      entityId\n      config\n      revision\n      reviewNotes\n      decidedBy\n      decidedAt\n      expiresAt\n      comments {\n        id\n        authorType\n        authorId\n        content\n        createdAt\n      }\n      links {\n        id\n        linkedType\n        linkedId\n      }\n      linkedThreads {\n        id\n        number\n        identifier\n        title\n        status\n      }\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.InboxItemDetailDocument,
    "\n  mutation ApproveInboxItem($id: ID!, $input: ApproveInboxItemInput) {\n    approveInboxItem(id: $id, input: $input) {\n      id\n      status\n      reviewNotes\n      decidedAt\n      updatedAt\n    }\n  }\n": typeof types.ApproveInboxItemDocument,
    "\n  mutation RejectInboxItem($id: ID!, $input: RejectInboxItemInput) {\n    rejectInboxItem(id: $id, input: $input) {\n      id\n      status\n      reviewNotes\n      decidedAt\n      updatedAt\n    }\n  }\n": typeof types.RejectInboxItemDocument,
    "\n  mutation RequestRevision($id: ID!, $input: RequestRevisionInput!) {\n    requestRevision(id: $id, input: $input) {\n      id\n      status\n      reviewNotes\n      updatedAt\n    }\n  }\n": typeof types.RequestRevisionDocument,
    "\n  mutation ResubmitInboxItem($id: ID!, $input: ResubmitInboxItemInput) {\n    resubmitInboxItem(id: $id, input: $input) {\n      id\n      status\n      revision\n      updatedAt\n    }\n  }\n": typeof types.ResubmitInboxItemDocument,
    "\n  mutation AddInboxItemComment($input: AddInboxItemCommentInput!) {\n    addInboxItemComment(input: $input) {\n      id\n      authorType\n      authorId\n      content\n      createdAt\n    }\n  }\n": typeof types.AddInboxItemCommentDocument,
    "\n  query ActivityLog(\n    $tenantId: ID!\n    $entityType: String\n    $entityId: ID\n    $limit: Int\n  ) {\n    activityLog(\n      tenantId: $tenantId\n      entityType: $entityType\n      entityId: $entityId\n      limit: $limit\n    ) {\n      id\n      actorType\n      actorId\n      action\n      entityType\n      entityId\n      changes\n      createdAt\n    }\n  }\n": typeof types.ActivityLogDocument,
    "\n  query TenantDetail($id: ID!) {\n    tenant(id: $id) {\n      id\n      name\n      slug\n      plan\n      issuePrefix\n      issueCounter\n      settings {\n        id\n        defaultModel\n        budgetMonthlyCents\n        autoCloseThreadMinutes\n        maxAgents\n        features\n      }\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.TenantDetailDocument,
    "\n  query DeploymentStatus {\n    deploymentStatus {\n      stage\n      source\n      region\n      accountId\n      bucketName\n      databaseEndpoint\n      ecrUrl\n      adminUrl\n      docsUrl\n      apiEndpoint\n      appsyncUrl\n      appsyncRealtimeUrl\n      hindsightEndpoint\n      agentcoreStatus\n      hindsightEnabled\n      managedMemoryEnabled\n    }\n  }\n": typeof types.DeploymentStatusDocument,
    "\n  query TenantMembersList($tenantId: ID!) {\n    tenantMembers(tenantId: $tenantId) {\n      id\n      tenantId\n      principalType\n      principalId\n      role\n      status\n      user {\n        id\n        name\n        email\n        image\n        phone\n        profile {\n          id\n          title\n          timezone\n          pronouns\n          callBy\n          notes\n          family\n          context\n          updatedAt\n        }\n      }\n      agent {\n        id\n        name\n        status\n        avatarUrl\n      }\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.TenantMembersListDocument,
    "\n  mutation InviteMember($tenantId: ID!, $input: InviteMemberInput!) {\n    inviteMember(tenantId: $tenantId, input: $input) {\n      id\n      tenantId\n      principalType\n      principalId\n      role\n      status\n      user {\n        id\n        name\n        email\n      }\n      createdAt\n    }\n  }\n": typeof types.InviteMemberDocument,
    "\n  mutation UpdateUser($id: ID!, $input: UpdateUserInput!) {\n    updateUser(id: $id, input: $input) {\n      id\n      tenantId\n      email\n      name\n      image\n      phone\n      updatedAt\n    }\n  }\n": typeof types.UpdateUserDocument,
    "\n  mutation UpdateUserProfile($userId: ID!, $input: UpdateUserProfileInput!) {\n    updateUserProfile(userId: $userId, input: $input) {\n      id\n      userId\n      title\n      timezone\n      pronouns\n      callBy\n      notes\n      family\n      context\n      updatedAt\n    }\n  }\n": typeof types.UpdateUserProfileDocument,
    "\n  mutation UpdateTenantMember($id: ID!, $input: UpdateTenantMemberInput!) {\n    updateTenantMember(id: $id, input: $input) {\n      id\n      tenantId\n      principalType\n      principalId\n      role\n      status\n      updatedAt\n    }\n  }\n": typeof types.UpdateTenantMemberDocument,
    "\n  mutation RemoveTenantMember($id: ID!) {\n    removeTenantMember(id: $id)\n  }\n": typeof types.RemoveTenantMemberDocument,
    "\n  query AgentApiKeys($agentId: ID!) {\n    agentApiKeys(agentId: $agentId) {\n      id\n      tenantId\n      agentId\n      name\n      keyPrefix\n      lastUsedAt\n      revokedAt\n      createdAt\n    }\n  }\n": typeof types.AgentApiKeysDocument,
    "\n  mutation CreateAgentApiKey($input: CreateAgentApiKeyInput!) {\n    createAgentApiKey(input: $input) {\n      apiKey {\n        id\n        agentId\n        name\n        keyPrefix\n        createdAt\n      }\n      plainTextKey\n    }\n  }\n": typeof types.CreateAgentApiKeyDocument,
    "\n  mutation RevokeAgentApiKey($id: ID!) {\n    revokeAgentApiKey(id: $id) {\n      id\n      revokedAt\n    }\n  }\n": typeof types.RevokeAgentApiKeyDocument,
    "\n  query CostSummary($tenantId: ID!, $from: AWSDateTime, $to: AWSDateTime) {\n    costSummary(tenantId: $tenantId, from: $from, to: $to) {\n      totalUsd\n      llmUsd\n      computeUsd\n      toolsUsd\n      evalUsd\n      totalInputTokens\n      totalOutputTokens\n      eventCount\n      periodStart\n      periodEnd\n    }\n  }\n": typeof types.CostSummaryDocument,
    "\n  query CostByAgent($tenantId: ID!, $from: AWSDateTime, $to: AWSDateTime) {\n    costByAgent(tenantId: $tenantId, from: $from, to: $to) {\n      agentId\n      agentName\n      totalUsd\n      eventCount\n    }\n  }\n": typeof types.CostByAgentDocument,
    "\n  query CostByModel($tenantId: ID!, $from: AWSDateTime, $to: AWSDateTime) {\n    costByModel(tenantId: $tenantId, from: $from, to: $to) {\n      model\n      totalUsd\n      inputTokens\n      outputTokens\n    }\n  }\n": typeof types.CostByModelDocument,
    "\n  query CostTimeSeries($tenantId: ID!, $days: Int) {\n    costTimeSeries(tenantId: $tenantId, days: $days) {\n      day\n      totalUsd\n      llmUsd\n      computeUsd\n      toolsUsd\n      eventCount\n    }\n  }\n": typeof types.CostTimeSeriesDocument,
    "\n  query BudgetStatus($tenantId: ID!) {\n    budgetStatus(tenantId: $tenantId) {\n      policy {\n        id\n        tenantId\n        agentId\n        scope\n        period\n        limitUsd\n        actionOnExceed\n        enabled\n      }\n      spentUsd\n      remainingUsd\n      percentUsed\n      status\n    }\n  }\n": typeof types.BudgetStatusDocument,
    "\n  mutation UpsertBudgetPolicy(\n    $tenantId: ID!\n    $input: UpsertBudgetPolicyInput!\n  ) {\n    upsertBudgetPolicy(tenantId: $tenantId, input: $input) {\n      id\n      scope\n      limitUsd\n      actionOnExceed\n      enabled\n    }\n  }\n": typeof types.UpsertBudgetPolicyDocument,
    "\n  mutation DeleteBudgetPolicy($id: ID!) {\n    deleteBudgetPolicy(id: $id)\n  }\n": typeof types.DeleteBudgetPolicyDocument,
    "\n  mutation UnpauseAgent($agentId: ID!) {\n    unpauseAgent(agentId: $agentId) {\n      id\n      name\n    }\n  }\n": typeof types.UnpauseAgentDocument,
    "\n  mutation NotifyAgentStatus(\n    $agentId: ID!\n    $tenantId: ID!\n    $status: String!\n    $name: String!\n  ) {\n    notifyAgentStatus(\n      agentId: $agentId\n      tenantId: $tenantId\n      status: $status\n      name: $name\n    ) {\n      agentId\n      tenantId\n      status\n      name\n      updatedAt\n    }\n  }\n": typeof types.NotifyAgentStatusDocument,
    "\n  subscription OnAgentStatusChanged($tenantId: ID!) {\n    onAgentStatusChanged(tenantId: $tenantId) {\n      agentId\n      tenantId\n      status\n      name\n      updatedAt\n    }\n  }\n": typeof types.OnAgentStatusChangedDocument,
    "\n  subscription OnThreadUpdated($tenantId: ID!) {\n    onThreadUpdated(tenantId: $tenantId) {\n      threadId\n      tenantId\n      status\n      title\n      updatedAt\n    }\n  }\n": typeof types.OnThreadUpdatedDocument,
    "\n  subscription OnInboxItemStatusChanged($tenantId: ID!) {\n    onInboxItemStatusChanged(tenantId: $tenantId) {\n      inboxItemId\n      tenantId\n      status\n      title\n      updatedAt\n    }\n  }\n": typeof types.OnInboxItemStatusChangedDocument,
    "\n  query ThreadTurns($tenantId: ID!, $limit: Int) {\n    threadTurns(tenantId: $tenantId, limit: $limit) {\n      id\n      tenantId\n      triggerId\n      threadId\n      agentId\n      invocationSource\n      triggerDetail\n      status\n      startedAt\n      finishedAt\n      error\n      resultJson\n      usageJson\n      triggerName\n      totalCost\n      createdAt\n    }\n  }\n": typeof types.ThreadTurnsDocument,
    "\n  query ThreadTurnsForThread($tenantId: ID!, $threadId: ID!, $limit: Int) {\n    threadTurns(tenantId: $tenantId, threadId: $threadId, limit: $limit) {\n      id\n      tenantId\n      agentId\n      invocationSource\n      triggerDetail\n      triggerName\n      threadId\n      turnNumber\n      status\n      startedAt\n      finishedAt\n      error\n      resultJson\n      usageJson\n      totalCost\n      retryAttempt\n      originTurnId\n      createdAt\n    }\n  }\n": typeof types.ThreadTurnsForThreadDocument,
    "\n  query ThreadTurnEvents($runId: ID!, $limit: Int) {\n    threadTurnEvents(runId: $runId, limit: $limit) {\n      id\n      runId\n      agentId\n      seq\n      eventType\n      stream\n      level\n      message\n      payload\n      createdAt\n    }\n  }\n": typeof types.ThreadTurnEventsDocument,
    "\n  subscription OnThreadTurnUpdated($tenantId: ID!) {\n    onThreadTurnUpdated(tenantId: $tenantId) {\n      runId\n      triggerId\n      tenantId\n      threadId\n      agentId\n      status\n      triggerName\n      updatedAt\n    }\n  }\n": typeof types.OnThreadTurnUpdatedDocument,
    "\n  query ActiveTurns($tenantId: ID!) {\n    running: threadTurns(tenantId: $tenantId, status: \"running\") {\n      id\n      tenantId\n      threadId\n      agentId\n      status\n      startedAt\n    }\n    queued: threadTurns(tenantId: $tenantId, status: \"queued\") {\n      id\n      tenantId\n      threadId\n      agentId\n      status\n      startedAt\n    }\n    queuedWakeups(tenantId: $tenantId) {\n      id\n      tenantId\n      agentId\n      source\n      triggerDetail\n      status\n    }\n  }\n": typeof types.ActiveTurnsDocument,
    "\n  subscription OnNewMessage($threadId: ID!) {\n    onNewMessage(threadId: $threadId) {\n      messageId\n      threadId\n      tenantId\n      role\n      content\n      senderType\n      senderId\n      ownerType\n      ownerId\n      createdAt\n    }\n  }\n": typeof types.OnNewMessageDocument,
    "\n  query ArtifactsList(\n    $tenantId: ID!\n    $threadId: ID\n    $agentId: ID\n    $type: ArtifactType\n    $status: ArtifactStatus\n    $limit: Int\n  ) {\n    artifacts(\n      tenantId: $tenantId\n      threadId: $threadId\n      agentId: $agentId\n      type: $type\n      status: $status\n      limit: $limit\n    ) {\n      id\n      tenantId\n      agentId\n      threadId\n      title\n      type\n      status\n      summary\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.ArtifactsListDocument,
    "\n  query ArtifactDetail($id: ID!) {\n    artifact(id: $id) {\n      id\n      title\n      type\n      status\n      content\n      summary\n      agentId\n      threadId\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.ArtifactDetailDocument,
    "\n  query AdminApplets(\n    $tenantId: ID!\n    $userId: ID\n    $cursor: String\n    $limit: Int\n  ) {\n    adminApplets(\n      tenantId: $tenantId\n      userId: $userId\n      cursor: $cursor\n      limit: $limit\n    ) {\n      nodes {\n        appId\n        name\n        version\n        tenantId\n        threadId\n        prompt\n        agentVersion\n        modelId\n        generatedAt\n        stdlibVersionAtGeneration\n        artifact {\n          id\n          agentId\n          threadId\n          createdAt\n          updatedAt\n        }\n      }\n      nextCursor\n    }\n  }\n": typeof types.AdminAppletsDocument,
    "\n  mutation UpdateTenantArtifactStyle(\n    $tenantId: ID!\n    $input: UpdateTenantSettingsInput!\n  ) {\n    updateTenantSettings(tenantId: $tenantId, input: $input) {\n      id\n      features\n      updatedAt\n    }\n  }\n": typeof types.UpdateTenantArtifactStyleDocument,
    "\n  query AdminApplet($appId: ID!) {\n    adminApplet(appId: $appId) {\n      applet {\n        appId\n        name\n        version\n        tenantId\n        threadId\n        prompt\n        agentVersion\n        modelId\n        generatedAt\n        stdlibVersionAtGeneration\n        artifact {\n          id\n          agentId\n          threadId\n          createdAt\n          updatedAt\n        }\n      }\n      source\n      metadata\n      themeCss\n    }\n  }\n": typeof types.AdminAppletDocument,
    "\n  mutation AdminUpdateAppletSource($input: AdminUpdateAppletSourceInput!) {\n    adminUpdateAppletSource(input: $input) {\n      ok\n      appId\n      version\n      validated\n      persisted\n      errors\n    }\n  }\n": typeof types.AdminUpdateAppletSourceDocument,
    "\n  query MemoryRecords($userId: ID!, $namespace: String!) {\n    memoryRecords(userId: $userId, namespace: $namespace) {\n      memoryRecordId\n      content {\n        text\n      }\n      createdAt\n      updatedAt\n      namespace\n      strategyId\n      strategy\n      userSlug\n      agentSlug\n      factType\n      confidence\n      eventDate\n      occurredStart\n      occurredEnd\n      mentionedAt\n      tags\n      accessCount\n      proofCount\n      context\n      threadId\n    }\n  }\n": typeof types.MemoryRecordsDocument,
    "\n  mutation DeleteMemoryRecord($userId: ID!, $memoryRecordId: ID!) {\n    deleteMemoryRecord(userId: $userId, memoryRecordId: $memoryRecordId)\n  }\n": typeof types.DeleteMemoryRecordDocument,
    "\n  mutation UpdateMemoryRecord(\n    $userId: ID!\n    $memoryRecordId: ID!\n    $content: String!\n  ) {\n    updateMemoryRecord(\n      userId: $userId\n      memoryRecordId: $memoryRecordId\n      content: $content\n    )\n  }\n": typeof types.UpdateMemoryRecordDocument,
    "\n  mutation ResetUserWikiCursor(\n    $tenantId: ID!\n    $userId: ID!\n    $force: Boolean\n    $includeBrain: Boolean\n  ) {\n    resetWikiCursor(\n      tenantId: $tenantId\n      userId: $userId\n      force: $force\n      includeBrain: $includeBrain\n    ) {\n      tenantId\n      userId\n      cursorCleared\n      pagesArchived\n      brainIncluded\n      impact\n    }\n  }\n": typeof types.ResetUserWikiCursorDocument,
    "\n  mutation CompileUserWikiNow(\n    $tenantId: ID!\n    $userId: ID!\n    $forceNew: Boolean\n  ) {\n    compileWikiNow(tenantId: $tenantId, userId: $userId, forceNew: $forceNew) {\n      id\n      tenantId\n      userId\n      status\n      trigger\n      attempt\n      createdAt\n    }\n  }\n": typeof types.CompileUserWikiNowDocument,
    "\n  query MemorySearch(\n    $userId: ID!\n    $query: String!\n    $strategy: MemoryStrategy\n    $limit: Int\n  ) {\n    memorySearch(\n      userId: $userId\n      query: $query\n      strategy: $strategy\n      limit: $limit\n    ) {\n      records {\n        memoryRecordId\n        content {\n          text\n        }\n        score\n        namespace\n        strategy\n        createdAt\n        threadId\n      }\n      totalCount\n    }\n  }\n": typeof types.MemorySearchDocument,
    "\n  query MemorySystemConfig {\n    memorySystemConfig {\n      managedMemoryEnabled\n      hindsightEnabled\n    }\n  }\n": typeof types.MemorySystemConfigDocument,
    "\n  query ThreadIdleLearningRuns($userId: ID!, $limit: Int) {\n    threadIdleLearningRuns(userId: $userId, limit: $limit) {\n      id\n      threadId\n      computerId\n      requesterUserId\n      status\n      startedAt\n      finishedAt\n      reportS3Key\n      error\n      canRollback\n      changedFiles {\n        path\n        beforeHash\n        afterHash\n        snapshotKey\n        hindsightDocumentId\n        hindsightStatus\n      }\n    }\n  }\n": typeof types.ThreadIdleLearningRunsDocument,
    "\n  mutation RollbackThreadIdleLearningRun($userId: ID!, $runId: ID!) {\n    rollbackThreadIdleLearningRun(userId: $userId, runId: $runId) {\n      id\n      status\n      error\n      canRollback\n      changedFiles {\n        path\n        hindsightStatus\n      }\n    }\n  }\n": typeof types.RollbackThreadIdleLearningRunDocument,
    "\n  query OntologyDefinitions($tenantId: ID!) {\n    ontologyDefinitions(tenantId: $tenantId) {\n      tenantId\n      activeVersion {\n        id\n        versionNumber\n        status\n        sourceChangeSetId\n        activatedAt\n        createdAt\n      }\n      entityTypes {\n        id\n        slug\n        name\n        description\n        broadType\n        aliases\n        propertiesSchema\n        guidanceNotes\n        lifecycleStatus\n        approvedAt\n        updatedAt\n        facetTemplates {\n          id\n          slug\n          heading\n          facetType\n          position\n          sourcePriority\n          prompt\n          guidanceNotes\n          lifecycleStatus\n        }\n        externalMappings {\n          id\n          subjectKind\n          subjectId\n          mappingKind\n          vocabulary\n          externalUri\n          externalLabel\n          notes\n        }\n      }\n      relationshipTypes {\n        id\n        slug\n        name\n        description\n        inverseName\n        sourceTypeSlugs\n        targetTypeSlugs\n        aliases\n        guidanceNotes\n        lifecycleStatus\n        approvedAt\n        updatedAt\n        externalMappings {\n          id\n          subjectKind\n          subjectId\n          mappingKind\n          vocabulary\n          externalUri\n          externalLabel\n          notes\n        }\n      }\n      facetTemplates {\n        id\n        entityTypeId\n        slug\n        heading\n        facetType\n        position\n        sourcePriority\n        prompt\n        guidanceNotes\n        lifecycleStatus\n      }\n      externalMappings {\n        id\n        subjectKind\n        subjectId\n        mappingKind\n        vocabulary\n        externalUri\n        externalLabel\n        notes\n      }\n    }\n  }\n": typeof types.OntologyDefinitionsDocument,
    "\n  query OntologyChangeSets($tenantId: ID!, $status: OntologyChangeSetStatus) {\n    ontologyChangeSets(tenantId: $tenantId, status: $status) {\n      id\n      tenantId\n      title\n      summary\n      status\n      confidence\n      observedFrequency\n      expectedImpact\n      proposedBy\n      approvedByUserId\n      approvedAt\n      rejectedByUserId\n      rejectedAt\n      appliedVersionId\n      createdAt\n      updatedAt\n      items {\n        id\n        itemType\n        action\n        status\n        targetKind\n        targetSlug\n        title\n        description\n        proposedValue\n        editedValue\n        confidence\n        position\n        evidenceExamples {\n          id\n          sourceKind\n          sourceRef\n          sourceLabel\n          quote\n          metadata\n          observedAt\n        }\n      }\n      evidenceExamples {\n        id\n        sourceKind\n        sourceRef\n        sourceLabel\n        quote\n        metadata\n        observedAt\n      }\n    }\n  }\n": typeof types.OntologyChangeSetsDocument,
    "\n  query OntologySuggestionScanJob($tenantId: ID!, $jobId: ID!) {\n    ontologySuggestionScanJob(tenantId: $tenantId, jobId: $jobId) {\n      id\n      status\n      trigger\n      dedupeKey\n      startedAt\n      finishedAt\n      error\n      result\n      metrics\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.OntologySuggestionScanJobDocument,
    "\n  query OntologyReprocessJob($tenantId: ID!, $jobId: ID!) {\n    ontologyReprocessJob(tenantId: $tenantId, jobId: $jobId) {\n      id\n      changeSetId\n      ontologyVersionId\n      dedupeKey\n      status\n      attempt\n      claimedAt\n      startedAt\n      finishedAt\n      input\n      impact\n      metrics\n      error\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.OntologyReprocessJobDocument,
    "\n  mutation StartOntologySuggestionScan(\n    $input: StartOntologySuggestionScanInput!\n  ) {\n    startOntologySuggestionScan(input: $input) {\n      id\n      status\n      trigger\n      dedupeKey\n      result\n      metrics\n      error\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.StartOntologySuggestionScanDocument,
    "\n  mutation UpdateOntologyChangeSet($input: UpdateOntologyChangeSetInput!) {\n    updateOntologyChangeSet(input: $input) {\n      id\n      title\n      summary\n      status\n      confidence\n      observedFrequency\n      expectedImpact\n      updatedAt\n      items {\n        id\n        status\n        editedValue\n        updatedAt\n      }\n    }\n  }\n": typeof types.UpdateOntologyChangeSetDocument,
    "\n  mutation UpdateOntologyEntityType($input: UpdateOntologyEntityTypeInput!) {\n    updateOntologyEntityType(input: $input) {\n      id\n      slug\n      name\n      description\n      broadType\n      aliases\n      guidanceNotes\n      lifecycleStatus\n      approvedAt\n      updatedAt\n      facetTemplates {\n        id\n        slug\n        heading\n        facetType\n        position\n        sourcePriority\n        prompt\n        guidanceNotes\n        lifecycleStatus\n      }\n      externalMappings {\n        id\n        subjectKind\n        subjectId\n        mappingKind\n        vocabulary\n        externalUri\n        externalLabel\n        notes\n      }\n    }\n  }\n": typeof types.UpdateOntologyEntityTypeDocument,
    "\n  mutation UpdateOntologyRelationshipType(\n    $input: UpdateOntologyRelationshipTypeInput!\n  ) {\n    updateOntologyRelationshipType(input: $input) {\n      id\n      slug\n      name\n      description\n      inverseName\n      sourceTypeSlugs\n      targetTypeSlugs\n      aliases\n      guidanceNotes\n      lifecycleStatus\n      approvedAt\n      updatedAt\n      externalMappings {\n        id\n        subjectKind\n        subjectId\n        mappingKind\n        vocabulary\n        externalUri\n        externalLabel\n        notes\n      }\n    }\n  }\n": typeof types.UpdateOntologyRelationshipTypeDocument,
    "\n  mutation ApproveOntologyChangeSet($input: ApproveOntologyChangeSetInput!) {\n    approveOntologyChangeSet(input: $input) {\n      id\n      status\n      approvedAt\n      appliedVersionId\n      updatedAt\n    }\n  }\n": typeof types.ApproveOntologyChangeSetDocument,
    "\n  mutation RejectOntologyChangeSet($input: RejectOntologyChangeSetInput!) {\n    rejectOntologyChangeSet(input: $input) {\n      id\n      status\n      rejectedAt\n      updatedAt\n    }\n  }\n": typeof types.RejectOntologyChangeSetDocument,
    "\n  query TenantSandboxStatus($id: ID!) {\n    tenant(id: $id) {\n      id\n      sandboxEnabled\n      complianceTier\n      sandboxInterpreterPublicId\n      sandboxInterpreterInternalId\n    }\n  }\n": typeof types.TenantSandboxStatusDocument,
    "\n  query AdminWikiPage(\n    $tenantId: ID!\n    $userId: ID!\n    $type: WikiPageType!\n    $slug: String!\n  ) {\n    wikiPage(tenantId: $tenantId, userId: $userId, type: $type, slug: $slug) {\n      id\n      type\n      entitySubtype\n      displayType\n      slug\n      title\n      summary\n      bodyMd\n      status\n      lastCompiledAt\n      updatedAt\n      aliases\n      sections {\n        id\n        sectionSlug\n        heading\n        bodyMd\n        position\n        lastSourceAt\n      }\n    }\n  }\n": typeof types.AdminWikiPageDocument,
    "\n  query AdminWikiBacklinks($pageId: ID!) {\n    wikiBacklinks(pageId: $pageId) {\n      id\n      type\n      entitySubtype\n      displayType\n      slug\n      title\n      summary\n    }\n  }\n": typeof types.AdminWikiBacklinksDocument,
    "\n  query AdminRecentWikiPages($userId: ID!, $limit: Int) {\n    recentWikiPages(userId: $userId, limit: $limit) {\n      id\n      type\n      entitySubtype\n      displayType\n      slug\n      title\n      summary\n      lastCompiledAt\n      updatedAt\n    }\n  }\n": typeof types.AdminRecentWikiPagesDocument,
    "\n  query AdminWikiSearch(\n    $tenantId: ID!\n    $userId: ID!\n    $query: String!\n    $limit: Int\n  ) {\n    wikiSearch(\n      tenantId: $tenantId\n      userId: $userId\n      query: $query\n      limit: $limit\n    ) {\n      score\n      matchedAlias\n      page {\n        id\n        type\n        entitySubtype\n        displayType\n        slug\n        title\n        summary\n        lastCompiledAt\n        updatedAt\n      }\n    }\n  }\n": typeof types.AdminWikiSearchDocument,
    "\n  query AdminWikiCompileJobs($tenantId: ID!, $ownerId: ID, $limit: Int) {\n    wikiCompileJobs(tenantId: $tenantId, ownerId: $ownerId, limit: $limit) {\n      id\n      tenantId\n      ownerId\n      status\n      trigger\n      attempt\n      startedAt\n      finishedAt\n      error\n      metrics\n      createdAt\n    }\n  }\n": typeof types.AdminWikiCompileJobsDocument,
    "\n  query ThreadTraces($threadId: ID!, $tenantId: ID!) {\n    threadTraces(threadId: $threadId, tenantId: $tenantId) {\n      traceId\n      threadId\n      agentId\n      agentName\n      model\n      inputTokens\n      outputTokens\n      durationMs\n      costUsd\n      estimated\n      createdAt\n    }\n  }\n": typeof types.ThreadTracesDocument,
    "\n  query TurnInvocationLogs($tenantId: ID!, $turnId: ID!) {\n    turnInvocationLogs(tenantId: $tenantId, turnId: $turnId) {\n      requestId\n      modelId\n      timestamp\n      inputTokenCount\n      outputTokenCount\n      cacheReadTokenCount\n      inputPreview\n      outputPreview\n      toolCount\n      costUsd\n      toolUses\n      hasToolResult\n      branch\n    }\n  }\n": typeof types.TurnInvocationLogsDocument,
    "\n  query EvalSummary($tenantId: ID!) {\n    evalSummary(tenantId: $tenantId) {\n      totalRuns\n      latestPassRate\n      avgPassRate\n      regressionCount\n    }\n  }\n": typeof types.EvalSummaryDocument,
    "\n  query EvalRuns($tenantId: ID!, $limit: Int, $offset: Int, $agentId: ID) {\n    evalRuns(\n      tenantId: $tenantId\n      limit: $limit\n      offset: $offset\n      agentId: $agentId\n    ) {\n      items {\n        id\n        status\n        model\n        categories\n        totalTests\n        passed\n        failed\n        passRate\n        regression\n        costUsd\n        agentId\n        agentName\n        scheduledJobId\n        startedAt\n        completedAt\n        createdAt\n      }\n      totalCount\n    }\n  }\n": typeof types.EvalRunsDocument,
    "\n  query EvalRun($id: ID!) {\n    evalRun(id: $id) {\n      id\n      status\n      model\n      categories\n      totalTests\n      passed\n      failed\n      passRate\n      regression\n      costUsd\n      errorMessage\n      agentId\n      agentName\n      scheduledJobId\n      startedAt\n      completedAt\n      createdAt\n    }\n  }\n": typeof types.EvalRunDocument,
    "\n  query EvalRunResults($runId: ID!) {\n    evalRunResults(runId: $runId) {\n      id\n      testCaseId\n      testCaseName\n      category\n      status\n      score\n      durationMs\n      agentSessionId\n      input\n      actualOutput\n      evaluatorResults\n      assertions\n      errorMessage\n      createdAt\n    }\n  }\n": typeof types.EvalRunResultsDocument,
    "\n  query EvalResultSpans($runId: ID!, $testCaseId: ID!) {\n    evalResultSpans(runId: $runId, testCaseId: $testCaseId) {\n      timestamp\n      name\n      attributes\n    }\n  }\n": typeof types.EvalResultSpansDocument,
    "\n  query EvalTimeSeries($tenantId: ID!, $days: Int) {\n    evalTimeSeries(tenantId: $tenantId, days: $days) {\n      day\n      passRate\n      runCount\n      passed\n      failed\n    }\n  }\n": typeof types.EvalTimeSeriesDocument,
    "\n  query EvalTestCases($tenantId: ID!, $category: String, $search: String) {\n    evalTestCases(tenantId: $tenantId, category: $category, search: $search) {\n      id\n      name\n      category\n      query\n      systemPrompt\n      agentId\n      assertions\n      agentcoreEvaluatorIds\n      tags\n      enabled\n      source\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.EvalTestCasesDocument,
    "\n  query EvalTestCase($id: ID!) {\n    evalTestCase(id: $id) {\n      id\n      name\n      category\n      query\n      systemPrompt\n      agentId\n      assertions\n      agentcoreEvaluatorIds\n      tags\n      enabled\n      source\n      createdAt\n      updatedAt\n    }\n  }\n": typeof types.EvalTestCaseDocument,
    "\n  mutation StartEvalRun($tenantId: ID!, $input: StartEvalRunInput!) {\n    startEvalRun(tenantId: $tenantId, input: $input) {\n      id\n      status\n      categories\n      createdAt\n    }\n  }\n": typeof types.StartEvalRunDocument,
    "\n  mutation CreateEvalTestCase(\n    $tenantId: ID!\n    $input: CreateEvalTestCaseInput!\n  ) {\n    createEvalTestCase(tenantId: $tenantId, input: $input) {\n      id\n      name\n      category\n      query\n      systemPrompt\n      agentId\n      assertions\n      agentcoreEvaluatorIds\n      enabled\n      createdAt\n    }\n  }\n": typeof types.CreateEvalTestCaseDocument,
    "\n  mutation UpdateEvalTestCase($id: ID!, $input: UpdateEvalTestCaseInput!) {\n    updateEvalTestCase(id: $id, input: $input) {\n      id\n      name\n      category\n      query\n      systemPrompt\n      agentId\n      assertions\n      agentcoreEvaluatorIds\n      enabled\n      updatedAt\n    }\n  }\n": typeof types.UpdateEvalTestCaseDocument,
    "\n  mutation SeedEvalTestCases($tenantId: ID!, $categories: [String!]) {\n    seedEvalTestCases(tenantId: $tenantId, categories: $categories)\n  }\n": typeof types.SeedEvalTestCasesDocument,
    "\n  mutation DeleteEvalTestCase($id: ID!) {\n    deleteEvalTestCase(id: $id)\n  }\n": typeof types.DeleteEvalTestCaseDocument,
    "\n  mutation DeleteEvalRun($id: ID!) {\n    deleteEvalRun(id: $id)\n  }\n": typeof types.DeleteEvalRunDocument,
    "\n  mutation CancelEvalRun($id: ID!) {\n    cancelEvalRun(id: $id) {\n      id\n      status\n      completedAt\n    }\n  }\n": typeof types.CancelEvalRunDocument,
    "\n  query EvalTestCaseHistory($testCaseId: ID!, $limit: Int) {\n    evalTestCaseHistory(testCaseId: $testCaseId, limit: $limit) {\n      id\n      runId\n      testCaseName\n      category\n      status\n      score\n      durationMs\n      input\n      expected\n      actualOutput\n      assertions\n      evaluatorResults\n      errorMessage\n      createdAt\n    }\n  }\n": typeof types.EvalTestCaseHistoryDocument,
    "\n  subscription OnEvalRunUpdated($tenantId: ID!) {\n    onEvalRunUpdated(tenantId: $tenantId) {\n      runId\n      tenantId\n      agentId\n      status\n      totalTests\n      passed\n      failed\n      passRate\n      errorMessage\n      updatedAt\n    }\n  }\n": typeof types.OnEvalRunUpdatedDocument,
};
const documents: Documents = {
    "\n  query AgentDetail($id: ID!) {\n    agent(id: $id) {\n      id\n      name\n      slug\n    }\n  }\n": types.AgentDetailDocument,
    "\n  mutation CreateSubAgent($input: CreateAgentInput!) {\n    createAgent(input: $input) {\n      id\n      name\n      slug\n    }\n  }\n": types.CreateSubAgentDocument,
    "\n  mutation DeleteSubAgent($id: ID!) {\n    deleteAgent(id: $id)\n  }\n": types.DeleteSubAgentDocument,
    "\n  mutation CreateThread($input: CreateThreadInput!) {\n    createThread(input: $input) {\n      id\n      number\n      title\n      status\n      createdAt\n    }\n  }\n": types.CreateThreadDocument,
    "\n  query TenantLabels($tenantId: ID!) {\n    threadLabels(tenantId: $tenantId) {\n      id\n      name\n      color\n    }\n  }\n": types.TenantLabelsDocument,
    "\n  mutation CreateThreadLabel($input: CreateThreadLabelInput!) {\n    createThreadLabel(input: $input) {\n      id\n      name\n      color\n    }\n  }\n": types.CreateThreadLabelDocument,
    "\n  mutation AssignThreadLabel($threadId: ID!, $labelId: ID!) {\n    assignThreadLabel(threadId: $threadId, labelId: $labelId) {\n      id\n      labelId\n    }\n  }\n": types.AssignThreadLabelDocument,
    "\n  mutation RemoveThreadLabel($threadId: ID!, $labelId: ID!) {\n    removeThreadLabel(threadId: $threadId, labelId: $labelId)\n  }\n": types.RemoveThreadLabelDocument,
    "\n  mutation CreateComplianceExport(\n    $filter: ComplianceEventFilter!\n    $format: ComplianceExportFormat!\n  ) {\n    createComplianceExport(filter: $filter, format: $format) {\n      jobId\n      tenantId\n      requestedByActorId\n      requestedAt\n      status\n      format\n      filter\n      s3Key\n      presignedUrl\n      presignedUrlExpiresAt\n      jobError\n      startedAt\n      completedAt\n    }\n  }\n": types.CreateComplianceExportDocument,
    "\n  query ComplianceExports {\n    complianceExports {\n      jobId\n      tenantId\n      requestedByActorId\n      requestedAt\n      status\n      format\n      filter\n      s3Key\n      presignedUrl\n      presignedUrlExpiresAt\n      jobError\n      startedAt\n      completedAt\n    }\n  }\n": types.ComplianceExportsDocument,
    "\n  query ComplianceEventsList(\n    $filter: ComplianceEventFilter\n    $after: String\n    $first: Int\n  ) {\n    complianceEvents(filter: $filter, after: $after, first: $first) {\n      edges {\n        node {\n          eventId\n          tenantId\n          occurredAt\n          recordedAt\n          actor\n          actorType\n          source\n          eventType\n          eventHash\n          prevHash\n          anchorStatus {\n            state\n            cadenceId\n            anchoredRecordedAt\n            nextCadenceWithinMinutes\n          }\n        }\n        cursor\n      }\n      pageInfo {\n        hasNextPage\n        endCursor\n      }\n    }\n  }\n": types.ComplianceEventsListDocument,
    "\n  query ComplianceEventDetail($eventId: ID!) {\n    complianceEvent(eventId: $eventId) {\n      eventId\n      tenantId\n      occurredAt\n      recordedAt\n      actor\n      actorType\n      source\n      eventType\n      eventHash\n      prevHash\n      payload\n      anchorStatus {\n        state\n        cadenceId\n        anchoredRecordedAt\n        nextCadenceWithinMinutes\n      }\n    }\n  }\n": types.ComplianceEventDetailDocument,
    "\n  query ComplianceEventByHash($eventHash: String!) {\n    complianceEventByHash(eventHash: $eventHash) {\n      eventId\n      tenantId\n      occurredAt\n      recordedAt\n      actor\n      actorType\n      source\n      eventType\n      eventHash\n      prevHash\n      anchorStatus {\n        state\n        cadenceId\n        anchoredRecordedAt\n        nextCadenceWithinMinutes\n      }\n    }\n  }\n": types.ComplianceEventByHashDocument,
    "\n  query ComplianceTenants {\n    complianceTenants\n  }\n": types.ComplianceTenantsDocument,
    "\n  query ComplianceOperatorCheck {\n    complianceOperatorCheck {\n      isOperator\n      allowlistConfigured\n    }\n  }\n": types.ComplianceOperatorCheckDocument,
    "\n  query AgentsList($tenantId: ID!) {\n    agents: allTenantAgents(tenantId: $tenantId) {\n      id\n      name\n      slug\n      role\n      type\n      status\n      runtime\n      budgetMonthlyCents\n      avatarUrl\n      createdAt\n    }\n    modelCatalog {\n      modelId\n      displayName\n    }\n  }\n": types.AgentsListDocument,
    "\n  query AgentProfileDetail($id: ID!) {\n    agent(id: $id) {\n      id\n      tenantId\n      name\n      slug\n      role\n      type\n      status\n      runtime\n      budgetMonthlyCents\n      systemPrompt\n      avatarUrl\n      lastHeartbeatAt\n      runtimeConfig\n      adapterType\n      adapterConfig\n      humanPairId\n      humanPair {\n        id\n        name\n        email\n      }\n      version\n      capabilities {\n        id\n        capability\n        config\n        enabled\n      }\n      skills {\n        id\n        skillId\n        enabled\n        config\n        permissions\n      }\n      budgetPolicy {\n        id\n        limitUsd\n        actionOnExceed\n        enabled\n      }\n      parentAgentId\n      subAgents {\n        id\n        name\n        slug\n        role\n        status\n      }\n      createdAt\n      updatedAt\n    }\n  }\n": types.AgentProfileDetailDocument,
    "\n  mutation CreateAgent($input: CreateAgentInput!) {\n    createAgent(input: $input) {\n      id\n      name\n      role\n      type\n      status\n      runtime\n      budgetMonthlyCents\n      createdAt\n    }\n  }\n": types.CreateAgentDocument,
    "\n  query AgentKnowledgeBases($id: ID!) {\n    agent(id: $id) {\n      knowledgeBases {\n        id\n        knowledgeBaseId\n        enabled\n        knowledgeBase {\n          id\n          name\n          description\n          status\n        }\n      }\n    }\n  }\n": types.AgentKnowledgeBasesDocument,
    "\n  mutation UpdateAgent($id: ID!, $input: UpdateAgentInput!) {\n    updateAgent(id: $id, input: $input) {\n      id\n      name\n      role\n      type\n      runtime\n      systemPrompt\n      adapterType\n      budgetMonthlyCents\n      updatedAt\n    }\n  }\n": types.UpdateAgentDocument,
    "\n  mutation UpdateAgentRuntime($id: ID!, $runtime: AgentRuntime!) {\n    updateAgentRuntime(id: $id, runtime: $runtime) {\n      id\n      runtime\n      updatedAt\n    }\n  }\n": types.UpdateAgentRuntimeDocument,
    "\n  mutation DeleteAgent($id: ID!) {\n    deleteAgent(id: $id)\n  }\n": types.DeleteAgentDocument,
    "\n  query SpacesList($tenantId: ID!) {\n    spaces(tenantId: $tenantId, status: ACTIVE, includeAllForAdmin: true) {\n      id\n      tenantId\n      slug\n      name\n      description\n      status\n      kind\n      accessMode\n      contextConfig\n      connectedDataConfig\n      toolPolicy\n      mcpPolicy\n      agentAvailabilityPolicy\n      triggerConfig\n      updatedAt\n      agentAssignments {\n        id\n        localRole\n        autoSubscribe\n        status\n        agent {\n          id\n          name\n          slug\n          avatarUrl\n        }\n      }\n      mcpServers {\n        id\n        enabled\n        mcpServer {\n          id\n          name\n          slug\n          status\n        }\n      }\n    }\n  }\n": types.SpacesListDocument,
    "\n  mutation CreateSpace($input: CreateSpaceInput!) {\n    createSpace(input: $input) {\n      id\n      tenantId\n      slug\n      name\n      description\n      status\n      kind\n      accessMode\n      contextConfig\n      connectedDataConfig\n      toolPolicy\n      mcpPolicy\n      agentAvailabilityPolicy\n      triggerConfig\n      updatedAt\n      agentAssignments {\n        id\n        status\n      }\n      mcpServers {\n        id\n        enabled\n      }\n    }\n  }\n": types.CreateSpaceDocument,
    "\n  mutation UpdateSpace($input: UpdateSpaceInput!) {\n    updateSpace(input: $input) {\n      id\n      tenantId\n      slug\n      name\n      description\n      status\n      kind\n      accessMode\n      contextConfig\n      connectedDataConfig\n      toolPolicy\n      mcpPolicy\n      agentAvailabilityPolicy\n      triggerConfig\n      updatedAt\n    }\n  }\n": types.UpdateSpaceDocument,
    "\n  mutation SetSpaceAgentAvailability($input: SetSpaceAgentAvailabilityInput!) {\n    setSpaceAgentAvailability(input: $input) {\n      id\n      agentId\n      spaceId\n      localRole\n      autoSubscribe\n      allowedTools\n      status\n    }\n  }\n": types.SetSpaceAgentAvailabilityDocument,
    "\n  query SpaceAdminDetail($id: ID!) {\n    space(id: $id) {\n      id\n      tenantId\n      slug\n      name\n      description\n      prompt\n      status\n      kind\n      accessMode\n      contextConfig\n      connectedDataConfig\n      toolPolicy\n      mcpPolicy\n      agentAvailabilityPolicy\n      triggerConfig\n      renderDiagnostics\n      config\n      createdAt\n      updatedAt\n      agentAssignments {\n        id\n        agentId\n        localRole\n        localInstructions\n        autoSubscribe\n        allowedCapabilities\n        allowedTools\n        status\n        agent {\n          id\n          name\n          slug\n          avatarUrl\n          status\n        }\n      }\n      mcpServers {\n        id\n        mcpServerId\n        enabled\n        config\n        mcpServer {\n          id\n          name\n          slug\n          transport\n          authType\n          oauthProvider\n          tools\n          enabled\n          status\n        }\n      }\n    }\n  }\n": types.SpaceAdminDetailDocument,
    "\n  mutation UpdateAgentStatus($id: ID!, $status: AgentStatus!) {\n    updateAgentStatus(id: $id, status: $status) {\n      id\n      status\n      updatedAt\n    }\n  }\n": types.UpdateAgentStatusDocument,
    "\n  mutation SetAgentCapabilities(\n    $agentId: ID!\n    $capabilities: [AgentCapabilityInput!]!\n  ) {\n    setAgentCapabilities(agentId: $agentId, capabilities: $capabilities) {\n      id\n      capability\n      enabled\n    }\n  }\n": types.SetAgentCapabilitiesDocument,
    "\n  mutation SetAgentBudgetPolicy(\n    $agentId: ID!\n    $input: AgentBudgetPolicyInput!\n  ) {\n    setAgentBudgetPolicy(agentId: $agentId, input: $input) {\n      id\n      limitUsd\n      actionOnExceed\n      enabled\n    }\n  }\n": types.SetAgentBudgetPolicyDocument,
    "\n  mutation DeleteAgentBudgetPolicy($agentId: ID!) {\n    deleteAgentBudgetPolicy(agentId: $agentId)\n  }\n": types.DeleteAgentBudgetPolicyDocument,
    "\n  query ComputersList($tenantId: ID!) {\n    computers(tenantId: $tenantId) {\n      id\n      tenantId\n      ownerUserId\n      owner {\n        id\n        name\n        email\n      }\n      sourceAgent {\n        id\n        name\n        slug\n      }\n      name\n      slug\n      scope\n      status\n      desiredRuntimeStatus\n      runtimeStatus\n      liveWorkspaceRoot\n      efsAccessPointId\n      ecsServiceName\n      lastHeartbeatAt\n      lastActiveAt\n      budgetMonthlyCents\n      spentMonthlyCents\n      budgetPausedAt\n      budgetPausedReason\n      migratedFromAgentId\n      migrationMetadata\n      createdAt\n      updatedAt\n    }\n  }\n": types.ComputersListDocument,
    "\n  query ComputerDetail($id: ID!) {\n    computer(id: $id) {\n      id\n      tenantId\n      ownerUserId\n      owner {\n        id\n        name\n        email\n      }\n      sourceAgent {\n        id\n        name\n        slug\n      }\n      name\n      slug\n      scope\n      status\n      desiredRuntimeStatus\n      runtimeStatus\n      runtimeConfig\n      liveWorkspaceRoot\n      efsAccessPointId\n      ecsServiceName\n      lastHeartbeatAt\n      lastActiveAt\n      budgetMonthlyCents\n      spentMonthlyCents\n      budgetPausedAt\n      budgetPausedReason\n      migratedFromAgentId\n      migrationMetadata\n      createdBy\n      createdAt\n      updatedAt\n    }\n  }\n": types.ComputerDetailDocument,
    "\n  mutation CreateComputer($input: CreateComputerInput!) {\n    createComputer(input: $input) {\n      id\n      name\n      slug\n      scope\n      status\n      desiredRuntimeStatus\n      runtimeStatus\n      tenantId\n      ownerUserId\n      budgetMonthlyCents\n      createdAt\n      updatedAt\n    }\n  }\n": types.CreateComputerDocument,
    "\n  mutation UpdateComputer($id: ID!, $input: UpdateComputerInput!) {\n    updateComputer(id: $id, input: $input) {\n      id\n      name\n      status\n      desiredRuntimeStatus\n      runtimeStatus\n      liveWorkspaceRoot\n      efsAccessPointId\n      ecsServiceName\n      lastHeartbeatAt\n      lastActiveAt\n      budgetMonthlyCents\n      spentMonthlyCents\n      budgetPausedReason\n      updatedAt\n    }\n  }\n": types.UpdateComputerDocument,
    "\n  query ComputerAssignments($computerId: ID!) {\n    computerAssignments(computerId: $computerId) {\n      id\n      subjectType\n      userId\n      user {\n        id\n        name\n        email\n      }\n      teamId\n      team {\n        id\n        name\n        status\n      }\n      role\n      createdAt\n    }\n  }\n": types.ComputerAssignmentsDocument,
    "\n  query ComputerAccessUsers($computerId: ID!) {\n    computerAccessUsers(computerId: $computerId) {\n      userId\n      user {\n        id\n        name\n        email\n      }\n      accessSource\n      directAssignment {\n        id\n        role\n      }\n      teams {\n        id\n        name\n        status\n      }\n      teamAssignments {\n        id\n        teamId\n        role\n      }\n    }\n  }\n": types.ComputerAccessUsersDocument,
    "\n  query UserComputerAssignments($userId: ID!) {\n    userComputerAssignments(userId: $userId) {\n      computerId\n      computer {\n        id\n        name\n        slug\n        scope\n        status\n        runtimeStatus\n      }\n      accessSource\n      directAssignment {\n        id\n        role\n      }\n      teams {\n        id\n        name\n        status\n      }\n      teamAssignments {\n        id\n        teamId\n        role\n      }\n    }\n  }\n": types.UserComputerAssignmentsDocument,
    "\n  mutation SetComputerAssignments($input: SetComputerAssignmentsInput!) {\n    setComputerAssignments(input: $input) {\n      id\n      computerId\n      subjectType\n      userId\n      teamId\n      role\n      updatedAt\n    }\n  }\n": types.SetComputerAssignmentsDocument,
    "\n  mutation SetUserComputerAssignments(\n    $input: SetUserComputerAssignmentsInput!\n  ) {\n    setUserComputerAssignments(input: $input) {\n      id\n      computerId\n      subjectType\n      userId\n      teamId\n      role\n      updatedAt\n    }\n  }\n": types.SetUserComputerAssignmentsDocument,
    "\n  mutation EnqueueComputerTask($input: EnqueueComputerTaskInput!) {\n    enqueueComputerTask(input: $input) {\n      id\n      taskType\n      status\n      input\n      output\n      error\n      idempotencyKey\n      claimedAt\n      completedAt\n      createdAt\n      updatedAt\n    }\n  }\n": types.EnqueueComputerTaskDocument,
    "\n  query ModelCatalog {\n    modelCatalog {\n      id\n      modelId\n      displayName\n      provider\n      inputCostPerMillion\n      outputCostPerMillion\n    }\n  }\n": types.ModelCatalogDocument,
    "\n  query AgentEmailCapability($agentId: ID!) {\n    agentEmailCapability(agentId: $agentId) {\n      id\n      agentId\n      enabled\n      emailAddress\n      vanityAddress\n      allowedSenders\n    }\n  }\n": types.AgentEmailCapabilityDocument,
    "\n  mutation UpdateAgentEmailAllowlist(\n    $agentId: ID!\n    $allowedSenders: [String!]!\n  ) {\n    updateAgentEmailAllowlist(\n      agentId: $agentId\n      allowedSenders: $allowedSenders\n    ) {\n      id\n      config\n      enabled\n    }\n  }\n": types.UpdateAgentEmailAllowlistDocument,
    "\n  mutation ToggleAgentEmailChannel($agentId: ID!, $enabled: Boolean!) {\n    toggleAgentEmailChannel(agentId: $agentId, enabled: $enabled) {\n      id\n      enabled\n    }\n  }\n": types.ToggleAgentEmailChannelDocument,
    "\n  mutation ClaimVanityEmailAddress($agentId: ID!, $localPart: String!) {\n    claimVanityEmailAddress(agentId: $agentId, localPart: $localPart) {\n      id\n      config\n    }\n  }\n": types.ClaimVanityEmailAddressDocument,
    "\n  mutation ReleaseVanityEmailAddress($agentId: ID!) {\n    releaseVanityEmailAddress(agentId: $agentId) {\n      id\n      config\n    }\n  }\n": types.ReleaseVanityEmailAddressDocument,
    "\n  query KnowledgeBasesList($tenantId: ID!) {\n    knowledgeBases(tenantId: $tenantId) {\n      id\n      tenantId\n      name\n      slug\n      description\n      status\n      documentCount\n      lastSyncAt\n      lastSyncStatus\n      errorMessage\n      createdAt\n      updatedAt\n    }\n  }\n": types.KnowledgeBasesListDocument,
    "\n  query KnowledgeBaseDetail($id: ID!) {\n    knowledgeBase(id: $id) {\n      id\n      tenantId\n      name\n      slug\n      description\n      embeddingModel\n      chunkingStrategy\n      chunkSizeTokens\n      chunkOverlapPercent\n      status\n      awsKbId\n      lastSyncAt\n      lastSyncStatus\n      documentCount\n      errorMessage\n      createdAt\n      updatedAt\n    }\n  }\n": types.KnowledgeBaseDetailDocument,
    "\n  mutation CreateKnowledgeBase($input: CreateKnowledgeBaseInput!) {\n    createKnowledgeBase(input: $input) {\n      id\n      name\n      slug\n      status\n      createdAt\n    }\n  }\n": types.CreateKnowledgeBaseDocument,
    "\n  mutation UpdateKnowledgeBase($id: ID!, $input: UpdateKnowledgeBaseInput!) {\n    updateKnowledgeBase(id: $id, input: $input) {\n      id\n      name\n      description\n      updatedAt\n    }\n  }\n": types.UpdateKnowledgeBaseDocument,
    "\n  mutation DeleteKnowledgeBase($id: ID!) {\n    deleteKnowledgeBase(id: $id)\n  }\n": types.DeleteKnowledgeBaseDocument,
    "\n  mutation SyncKnowledgeBase($id: ID!) {\n    syncKnowledgeBase(id: $id) {\n      id\n      status\n      lastSyncStatus\n      updatedAt\n    }\n  }\n": types.SyncKnowledgeBaseDocument,
    "\n  mutation SetAgentKnowledgeBases(\n    $agentId: ID!\n    $knowledgeBases: [AgentKnowledgeBaseInput!]!\n  ) {\n    setAgentKnowledgeBases(agentId: $agentId, knowledgeBases: $knowledgeBases) {\n      id\n      knowledgeBaseId\n      enabled\n      knowledgeBase {\n        id\n        name\n        description\n        status\n      }\n    }\n  }\n": types.SetAgentKnowledgeBasesDocument,
    "\n  query ThreadsList($tenantId: ID!, $status: ThreadStatus, $search: String) {\n    threads(tenantId: $tenantId, status: $status, search: $search) {\n      id\n      number\n      identifier\n      title\n      status\n      assigneeType\n      assigneeId\n      agentId\n      computerId\n      userId\n      agent {\n        id\n        name\n        avatarUrl\n      }\n      computer {\n        id\n        name\n        slug\n      }\n      user {\n        id\n        name\n        email\n        image\n      }\n      checkoutRunId\n      channel\n      costSummary\n      lastActivityAt\n      lastTurnCompletedAt\n      lastReadAt\n      archivedAt\n      createdAt\n      updatedAt\n    }\n  }\n": types.ThreadsListDocument,
    "\n  query ThreadsPaged(\n    $tenantId: ID!\n    $search: String\n    $showArchived: Boolean\n    $sortField: String\n    $sortDir: String\n    $limit: Int\n    $offset: Int\n    $computerId: ID\n    $spaceId: ID\n  ) {\n    threadsPaged(\n      tenantId: $tenantId\n      search: $search\n      showArchived: $showArchived\n      sortField: $sortField\n      sortDir: $sortDir\n      limit: $limit\n      offset: $offset\n      computerId: $computerId\n      spaceId: $spaceId\n    ) {\n      items {\n        id\n        number\n        identifier\n        title\n        status\n        assigneeType\n        assigneeId\n        agentId\n        computerId\n        spaceId\n        userId\n        agent {\n          id\n          name\n          avatarUrl\n        }\n        computer {\n          id\n          name\n          slug\n        }\n        user {\n          id\n          name\n          email\n          image\n        }\n        checkoutRunId\n        channel\n        costSummary\n        lastActivityAt\n        lastTurnCompletedAt\n        lastReadAt\n        archivedAt\n        createdAt\n        updatedAt\n      }\n      totalCount\n    }\n  }\n": types.ThreadsPagedDocument,
    "\n  query ThreadDetail($id: ID!) {\n    thread(id: $id) {\n      id\n      tenantId\n      number\n      identifier\n      title\n      status\n      lifecycleStatus\n      assigneeType\n      assigneeId\n      agentId\n      computerId\n      userId\n      agent {\n        id\n        name\n        avatarUrl\n      }\n      computer {\n        id\n        name\n        slug\n      }\n      user {\n        id\n        name\n        email\n        image\n      }\n      channel\n      messages(limit: 50) {\n        edges {\n          node {\n            id\n            threadId\n            tenantId\n            role\n            content\n            senderType\n            senderId\n            ownerType\n            ownerId\n            toolCalls\n            toolResults\n            metadata\n            tokenCount\n            createdAt\n            durableArtifact {\n              id\n              title\n              type\n              status\n            }\n          }\n        }\n      }\n      costSummary\n      checkoutRunId\n      checkoutVersion\n      billingCode\n      labels\n      metadata\n      dueAt\n      startedAt\n      completedAt\n      cancelledAt\n      closedAt\n      createdByType\n      createdById\n      attachments {\n        id\n        threadId\n        name\n        mimeType\n        sizeBytes\n        uploadedBy\n        createdAt\n      }\n      createdAt\n      updatedAt\n    }\n  }\n": types.ThreadDetailDocument,
    "\n  mutation UpdateThread($id: ID!, $input: UpdateThreadInput!) {\n    updateThread(id: $id, input: $input) {\n      id\n      status\n      title\n      assigneeType\n      assigneeId\n      billingCode\n      dueAt\n      updatedAt\n    }\n  }\n": types.UpdateThreadDocument,
    "\n  mutation DeleteThread($id: ID!) {\n    deleteThread(id: $id)\n  }\n": types.DeleteThreadDocument,
    "\n  mutation CheckoutThread($id: ID!, $input: CheckoutThreadInput!) {\n    checkoutThread(id: $id, input: $input) {\n      id\n      checkoutRunId\n      checkoutVersion\n    }\n  }\n": types.CheckoutThreadDocument,
    "\n  mutation ReleaseThread($id: ID!, $input: ReleaseThreadInput!) {\n    releaseThread(id: $id, input: $input) {\n      id\n      checkoutRunId\n      status\n    }\n  }\n": types.ReleaseThreadDocument,
    "\n  query TeamsList($tenantId: ID!) {\n    teams(tenantId: $tenantId) {\n      id\n      name\n      description\n      type\n      status\n      budgetMonthlyCents\n      agents {\n        id\n        agentId\n        agent {\n          id\n          name\n          status\n          avatarUrl\n        }\n        role\n      }\n      users {\n        id\n        userId\n        role\n      }\n      createdAt\n    }\n  }\n": types.TeamsListDocument,
    "\n  query TeamDetail($id: ID!) {\n    team(id: $id) {\n      id\n      tenantId\n      name\n      description\n      type\n      status\n      budgetMonthlyCents\n      metadata\n      agents {\n        id\n        agentId\n        agent {\n          id\n          name\n          role\n          status\n          avatarUrl\n        }\n        role\n        createdAt\n      }\n      users {\n        id\n        userId\n        user {\n          id\n          name\n          email\n        }\n        role\n        createdAt\n      }\n      createdAt\n      updatedAt\n    }\n  }\n": types.TeamDetailDocument,
    "\n  query RoutinesList($tenantId: ID!) {\n    routines(tenantId: $tenantId) {\n      id\n      name\n      description\n      status\n      lastRunAt\n      engine\n      createdAt\n    }\n  }\n": types.RoutinesListDocument,
    "\n  query RoutineDetail($id: ID!) {\n    routine(id: $id) {\n      id\n      tenantId\n      name\n      description\n      type\n      status\n      schedule\n      engine\n      currentVersion\n      config\n      lastRunAt\n      nextRunAt\n      agentId\n      agent {\n        id\n        name\n        avatarUrl\n      }\n      teamId\n      team {\n        id\n        name\n      }\n      triggers {\n        id\n        triggerType\n        config\n        enabled\n      }\n      createdAt\n      updatedAt\n    }\n  }\n": types.RoutineDetailDocument,
    "\n  mutation CreateRoutine($input: CreateRoutineInput!) {\n    createRoutine(input: $input) {\n      id\n      name\n      currentVersion\n    }\n  }\n": types.CreateRoutineDocument,
    "\n  mutation PlanRoutineDraft($input: PlanRoutineDraftInput!) {\n    planRoutineDraft(input: $input) {\n      title\n      description\n      kind\n      asl\n      markdownSummary\n      stepManifest\n      steps {\n        nodeId\n        recipeId\n        recipeName\n        label\n        args\n        configFields {\n          key\n          label\n          value\n          inputType\n          control\n          required\n          editable\n          options\n          placeholder\n          helpText\n          min\n          max\n          pattern\n        }\n      }\n    }\n  }\n": types.PlanRoutineDraftDocument,
    "\n  query RoutineRecipeCatalog($tenantId: ID!) {\n    routineRecipeCatalog(tenantId: $tenantId) {\n      id\n      displayName\n      description\n      category\n      hitlCapable\n      defaultArgs\n      configFields {\n        key\n        label\n        value\n        inputType\n        control\n        required\n        editable\n        options\n        placeholder\n        helpText\n        min\n        max\n        pattern\n      }\n    }\n  }\n": types.RoutineRecipeCatalogDocument,
    "\n  query TenantCredentials($tenantId: ID!, $status: TenantCredentialStatus) {\n    tenantCredentials(tenantId: $tenantId, status: $status) {\n      id\n      tenantId\n      displayName\n      slug\n      kind\n      status\n      metadataJson\n      schemaJson\n      eventbridgeConnectionArn\n      lastUsedAt\n      lastValidatedAt\n      createdAt\n      updatedAt\n      deletedAt\n    }\n  }\n": types.TenantCredentialsDocument,
    "\n  query CredentialRoutineUsage($tenantId: ID!) {\n    routines(tenantId: $tenantId) {\n      id\n      name\n      status\n      config\n      engine\n      updatedAt\n    }\n  }\n": types.CredentialRoutineUsageDocument,
    "\n  mutation CreateTenantCredential($input: CreateTenantCredentialInput!) {\n    createTenantCredential(input: $input) {\n      id\n      displayName\n      slug\n      kind\n      status\n      metadataJson\n      eventbridgeConnectionArn\n      lastValidatedAt\n      createdAt\n      updatedAt\n    }\n  }\n": types.CreateTenantCredentialDocument,
    "\n  mutation UpdateTenantCredential(\n    $id: ID!\n    $input: UpdateTenantCredentialInput!\n  ) {\n    updateTenantCredential(id: $id, input: $input) {\n      id\n      displayName\n      slug\n      status\n      metadataJson\n      updatedAt\n    }\n  }\n": types.UpdateTenantCredentialDocument,
    "\n  mutation RotateTenantCredential($input: RotateTenantCredentialInput!) {\n    rotateTenantCredential(input: $input) {\n      id\n      status\n      lastValidatedAt\n      updatedAt\n    }\n  }\n": types.RotateTenantCredentialDocument,
    "\n  mutation DeleteTenantCredential($id: ID!) {\n    deleteTenantCredential(id: $id)\n  }\n": types.DeleteTenantCredentialDocument,
    "\n  query SlackWorkspaces($tenantId: ID!) {\n    slackWorkspaces(tenantId: $tenantId) {\n      id\n      tenantId\n      slackTeamId\n      slackTeamName\n      botUserId\n      appId\n      installedByUserId\n      status\n      installedAt\n      uninstalledAt\n      createdAt\n      updatedAt\n    }\n  }\n": types.SlackWorkspacesDocument,
    "\n  mutation StartSlackWorkspaceInstall(\n    $input: StartSlackWorkspaceInstallInput!\n  ) {\n    startSlackWorkspaceInstall(input: $input) {\n      authorizeUrl\n      state\n      expiresAt\n    }\n  }\n": types.StartSlackWorkspaceInstallDocument,
    "\n  mutation UninstallSlackWorkspace($id: ID!) {\n    uninstallSlackWorkspace(id: $id) {\n      id\n      status\n      uninstalledAt\n      updatedAt\n    }\n  }\n": types.UninstallSlackWorkspaceDocument,
    "\n  mutation TriggerRoutineRun($routineId: ID!, $input: AWSJSON) {\n    triggerRoutineRun(routineId: $routineId, input: $input) {\n      id\n      status\n      triggerSource\n      startedAt\n    }\n  }\n": types.TriggerRoutineRunDocument,
    "\n  mutation RebuildRoutineVersion($input: RebuildRoutineVersionInput!) {\n    rebuildRoutineVersion(input: $input) {\n      id\n      versionNumber\n    }\n  }\n": types.RebuildRoutineVersionDocument,
    "\n  query RoutineDefinition($routineId: ID!) {\n    routineDefinition(routineId: $routineId) {\n      routineId\n      currentVersion\n      versionId\n      title\n      description\n      kind\n      steps {\n        nodeId\n        recipeId\n        recipeName\n        label\n        args\n        configFields {\n          key\n          label\n          value\n          inputType\n          control\n          required\n          editable\n          options\n          placeholder\n          helpText\n          min\n          max\n          pattern\n        }\n      }\n    }\n  }\n": types.RoutineDefinitionDocument,
    "\n  query RoutineDefinitionArtifacts($routineId: ID!) {\n    routineDefinition(routineId: $routineId) {\n      routineId\n      versionId\n      aslJson\n      markdownSummary\n      stepManifestJson\n    }\n  }\n": types.RoutineDefinitionArtifactsDocument,
    "\n  mutation UpdateRoutineDefinition($input: UpdateRoutineDefinitionInput!) {\n    updateRoutineDefinition(input: $input) {\n      routineId\n      currentVersion\n      versionId\n      description\n      steps {\n        nodeId\n        args\n        configFields {\n          key\n          value\n          editable\n        }\n      }\n    }\n  }\n": types.UpdateRoutineDefinitionDocument,
    "\n  query RoutineExecutionsList(\n    $routineId: ID!\n    $status: RoutineExecutionStatus\n    $limit: Int\n    $cursor: String\n  ) {\n    routineExecutions(\n      routineId: $routineId\n      status: $status\n      limit: $limit\n      cursor: $cursor\n    ) {\n      id\n      status\n      triggerSource\n      startedAt\n      finishedAt\n      totalLlmCostUsdCents\n      errorCode\n      createdAt\n    }\n  }\n": types.RoutineExecutionsListDocument,
    "\n  query RoutineExecutionDetail($id: ID!) {\n    routineExecution(id: $id) {\n      id\n      tenantId\n      routineId\n      stateMachineArn\n      aliasArn\n      versionArn\n      sfnExecutionArn\n      triggerSource\n      inputJson\n      outputJson\n      status\n      startedAt\n      finishedAt\n      errorCode\n      errorMessage\n      totalLlmCostUsdCents\n      stepEvents {\n        id\n        nodeId\n        recipeType\n        status\n        startedAt\n        finishedAt\n        inputJson\n        outputJson\n        errorJson\n        llmCostUsdCents\n        retryCount\n        stdoutS3Uri\n        stderrS3Uri\n        stdoutPreview\n        truncated\n        createdAt\n      }\n      routine {\n        id\n        name\n        description\n        currentVersion\n        documentationMd\n      }\n      aslVersion {\n        id\n        versionNumber\n        aslJson\n        markdownSummary\n        stepManifestJson\n      }\n      createdAt\n    }\n  }\n": types.RoutineExecutionDetailDocument,
    "\n  query RoutineAslVersionDetail($id: ID!) {\n    routineAslVersion(id: $id) {\n      id\n      versionNumber\n      aslJson\n      markdownSummary\n      stepManifestJson\n      createdAt\n    }\n  }\n": types.RoutineAslVersionDetailDocument,
    "\n  query InboxItemsList($tenantId: ID!, $status: InboxItemStatus) {\n    inboxItems(tenantId: $tenantId, status: $status) {\n      id\n      type\n      status\n      title\n      description\n      requesterType\n      requesterId\n      entityType\n      entityId\n      revision\n      expiresAt\n      createdAt\n      updatedAt\n    }\n  }\n": types.InboxItemsListDocument,
    "\n  query InboxItemDetail($id: ID!) {\n    inboxItem(id: $id) {\n      id\n      tenantId\n      type\n      status\n      title\n      description\n      requesterType\n      requesterId\n      entityType\n      entityId\n      config\n      revision\n      reviewNotes\n      decidedBy\n      decidedAt\n      expiresAt\n      comments {\n        id\n        authorType\n        authorId\n        content\n        createdAt\n      }\n      links {\n        id\n        linkedType\n        linkedId\n      }\n      linkedThreads {\n        id\n        number\n        identifier\n        title\n        status\n      }\n      createdAt\n      updatedAt\n    }\n  }\n": types.InboxItemDetailDocument,
    "\n  mutation ApproveInboxItem($id: ID!, $input: ApproveInboxItemInput) {\n    approveInboxItem(id: $id, input: $input) {\n      id\n      status\n      reviewNotes\n      decidedAt\n      updatedAt\n    }\n  }\n": types.ApproveInboxItemDocument,
    "\n  mutation RejectInboxItem($id: ID!, $input: RejectInboxItemInput) {\n    rejectInboxItem(id: $id, input: $input) {\n      id\n      status\n      reviewNotes\n      decidedAt\n      updatedAt\n    }\n  }\n": types.RejectInboxItemDocument,
    "\n  mutation RequestRevision($id: ID!, $input: RequestRevisionInput!) {\n    requestRevision(id: $id, input: $input) {\n      id\n      status\n      reviewNotes\n      updatedAt\n    }\n  }\n": types.RequestRevisionDocument,
    "\n  mutation ResubmitInboxItem($id: ID!, $input: ResubmitInboxItemInput) {\n    resubmitInboxItem(id: $id, input: $input) {\n      id\n      status\n      revision\n      updatedAt\n    }\n  }\n": types.ResubmitInboxItemDocument,
    "\n  mutation AddInboxItemComment($input: AddInboxItemCommentInput!) {\n    addInboxItemComment(input: $input) {\n      id\n      authorType\n      authorId\n      content\n      createdAt\n    }\n  }\n": types.AddInboxItemCommentDocument,
    "\n  query ActivityLog(\n    $tenantId: ID!\n    $entityType: String\n    $entityId: ID\n    $limit: Int\n  ) {\n    activityLog(\n      tenantId: $tenantId\n      entityType: $entityType\n      entityId: $entityId\n      limit: $limit\n    ) {\n      id\n      actorType\n      actorId\n      action\n      entityType\n      entityId\n      changes\n      createdAt\n    }\n  }\n": types.ActivityLogDocument,
    "\n  query TenantDetail($id: ID!) {\n    tenant(id: $id) {\n      id\n      name\n      slug\n      plan\n      issuePrefix\n      issueCounter\n      settings {\n        id\n        defaultModel\n        budgetMonthlyCents\n        autoCloseThreadMinutes\n        maxAgents\n        features\n      }\n      createdAt\n      updatedAt\n    }\n  }\n": types.TenantDetailDocument,
    "\n  query DeploymentStatus {\n    deploymentStatus {\n      stage\n      source\n      region\n      accountId\n      bucketName\n      databaseEndpoint\n      ecrUrl\n      adminUrl\n      docsUrl\n      apiEndpoint\n      appsyncUrl\n      appsyncRealtimeUrl\n      hindsightEndpoint\n      agentcoreStatus\n      hindsightEnabled\n      managedMemoryEnabled\n    }\n  }\n": types.DeploymentStatusDocument,
    "\n  query TenantMembersList($tenantId: ID!) {\n    tenantMembers(tenantId: $tenantId) {\n      id\n      tenantId\n      principalType\n      principalId\n      role\n      status\n      user {\n        id\n        name\n        email\n        image\n        phone\n        profile {\n          id\n          title\n          timezone\n          pronouns\n          callBy\n          notes\n          family\n          context\n          updatedAt\n        }\n      }\n      agent {\n        id\n        name\n        status\n        avatarUrl\n      }\n      createdAt\n      updatedAt\n    }\n  }\n": types.TenantMembersListDocument,
    "\n  mutation InviteMember($tenantId: ID!, $input: InviteMemberInput!) {\n    inviteMember(tenantId: $tenantId, input: $input) {\n      id\n      tenantId\n      principalType\n      principalId\n      role\n      status\n      user {\n        id\n        name\n        email\n      }\n      createdAt\n    }\n  }\n": types.InviteMemberDocument,
    "\n  mutation UpdateUser($id: ID!, $input: UpdateUserInput!) {\n    updateUser(id: $id, input: $input) {\n      id\n      tenantId\n      email\n      name\n      image\n      phone\n      updatedAt\n    }\n  }\n": types.UpdateUserDocument,
    "\n  mutation UpdateUserProfile($userId: ID!, $input: UpdateUserProfileInput!) {\n    updateUserProfile(userId: $userId, input: $input) {\n      id\n      userId\n      title\n      timezone\n      pronouns\n      callBy\n      notes\n      family\n      context\n      updatedAt\n    }\n  }\n": types.UpdateUserProfileDocument,
    "\n  mutation UpdateTenantMember($id: ID!, $input: UpdateTenantMemberInput!) {\n    updateTenantMember(id: $id, input: $input) {\n      id\n      tenantId\n      principalType\n      principalId\n      role\n      status\n      updatedAt\n    }\n  }\n": types.UpdateTenantMemberDocument,
    "\n  mutation RemoveTenantMember($id: ID!) {\n    removeTenantMember(id: $id)\n  }\n": types.RemoveTenantMemberDocument,
    "\n  query AgentApiKeys($agentId: ID!) {\n    agentApiKeys(agentId: $agentId) {\n      id\n      tenantId\n      agentId\n      name\n      keyPrefix\n      lastUsedAt\n      revokedAt\n      createdAt\n    }\n  }\n": types.AgentApiKeysDocument,
    "\n  mutation CreateAgentApiKey($input: CreateAgentApiKeyInput!) {\n    createAgentApiKey(input: $input) {\n      apiKey {\n        id\n        agentId\n        name\n        keyPrefix\n        createdAt\n      }\n      plainTextKey\n    }\n  }\n": types.CreateAgentApiKeyDocument,
    "\n  mutation RevokeAgentApiKey($id: ID!) {\n    revokeAgentApiKey(id: $id) {\n      id\n      revokedAt\n    }\n  }\n": types.RevokeAgentApiKeyDocument,
    "\n  query CostSummary($tenantId: ID!, $from: AWSDateTime, $to: AWSDateTime) {\n    costSummary(tenantId: $tenantId, from: $from, to: $to) {\n      totalUsd\n      llmUsd\n      computeUsd\n      toolsUsd\n      evalUsd\n      totalInputTokens\n      totalOutputTokens\n      eventCount\n      periodStart\n      periodEnd\n    }\n  }\n": types.CostSummaryDocument,
    "\n  query CostByAgent($tenantId: ID!, $from: AWSDateTime, $to: AWSDateTime) {\n    costByAgent(tenantId: $tenantId, from: $from, to: $to) {\n      agentId\n      agentName\n      totalUsd\n      eventCount\n    }\n  }\n": types.CostByAgentDocument,
    "\n  query CostByModel($tenantId: ID!, $from: AWSDateTime, $to: AWSDateTime) {\n    costByModel(tenantId: $tenantId, from: $from, to: $to) {\n      model\n      totalUsd\n      inputTokens\n      outputTokens\n    }\n  }\n": types.CostByModelDocument,
    "\n  query CostTimeSeries($tenantId: ID!, $days: Int) {\n    costTimeSeries(tenantId: $tenantId, days: $days) {\n      day\n      totalUsd\n      llmUsd\n      computeUsd\n      toolsUsd\n      eventCount\n    }\n  }\n": types.CostTimeSeriesDocument,
    "\n  query BudgetStatus($tenantId: ID!) {\n    budgetStatus(tenantId: $tenantId) {\n      policy {\n        id\n        tenantId\n        agentId\n        scope\n        period\n        limitUsd\n        actionOnExceed\n        enabled\n      }\n      spentUsd\n      remainingUsd\n      percentUsed\n      status\n    }\n  }\n": types.BudgetStatusDocument,
    "\n  mutation UpsertBudgetPolicy(\n    $tenantId: ID!\n    $input: UpsertBudgetPolicyInput!\n  ) {\n    upsertBudgetPolicy(tenantId: $tenantId, input: $input) {\n      id\n      scope\n      limitUsd\n      actionOnExceed\n      enabled\n    }\n  }\n": types.UpsertBudgetPolicyDocument,
    "\n  mutation DeleteBudgetPolicy($id: ID!) {\n    deleteBudgetPolicy(id: $id)\n  }\n": types.DeleteBudgetPolicyDocument,
    "\n  mutation UnpauseAgent($agentId: ID!) {\n    unpauseAgent(agentId: $agentId) {\n      id\n      name\n    }\n  }\n": types.UnpauseAgentDocument,
    "\n  mutation NotifyAgentStatus(\n    $agentId: ID!\n    $tenantId: ID!\n    $status: String!\n    $name: String!\n  ) {\n    notifyAgentStatus(\n      agentId: $agentId\n      tenantId: $tenantId\n      status: $status\n      name: $name\n    ) {\n      agentId\n      tenantId\n      status\n      name\n      updatedAt\n    }\n  }\n": types.NotifyAgentStatusDocument,
    "\n  subscription OnAgentStatusChanged($tenantId: ID!) {\n    onAgentStatusChanged(tenantId: $tenantId) {\n      agentId\n      tenantId\n      status\n      name\n      updatedAt\n    }\n  }\n": types.OnAgentStatusChangedDocument,
    "\n  subscription OnThreadUpdated($tenantId: ID!) {\n    onThreadUpdated(tenantId: $tenantId) {\n      threadId\n      tenantId\n      status\n      title\n      updatedAt\n    }\n  }\n": types.OnThreadUpdatedDocument,
    "\n  subscription OnInboxItemStatusChanged($tenantId: ID!) {\n    onInboxItemStatusChanged(tenantId: $tenantId) {\n      inboxItemId\n      tenantId\n      status\n      title\n      updatedAt\n    }\n  }\n": types.OnInboxItemStatusChangedDocument,
    "\n  query ThreadTurns($tenantId: ID!, $limit: Int) {\n    threadTurns(tenantId: $tenantId, limit: $limit) {\n      id\n      tenantId\n      triggerId\n      threadId\n      agentId\n      invocationSource\n      triggerDetail\n      status\n      startedAt\n      finishedAt\n      error\n      resultJson\n      usageJson\n      triggerName\n      totalCost\n      createdAt\n    }\n  }\n": types.ThreadTurnsDocument,
    "\n  query ThreadTurnsForThread($tenantId: ID!, $threadId: ID!, $limit: Int) {\n    threadTurns(tenantId: $tenantId, threadId: $threadId, limit: $limit) {\n      id\n      tenantId\n      agentId\n      invocationSource\n      triggerDetail\n      triggerName\n      threadId\n      turnNumber\n      status\n      startedAt\n      finishedAt\n      error\n      resultJson\n      usageJson\n      totalCost\n      retryAttempt\n      originTurnId\n      createdAt\n    }\n  }\n": types.ThreadTurnsForThreadDocument,
    "\n  query ThreadTurnEvents($runId: ID!, $limit: Int) {\n    threadTurnEvents(runId: $runId, limit: $limit) {\n      id\n      runId\n      agentId\n      seq\n      eventType\n      stream\n      level\n      message\n      payload\n      createdAt\n    }\n  }\n": types.ThreadTurnEventsDocument,
    "\n  subscription OnThreadTurnUpdated($tenantId: ID!) {\n    onThreadTurnUpdated(tenantId: $tenantId) {\n      runId\n      triggerId\n      tenantId\n      threadId\n      agentId\n      status\n      triggerName\n      updatedAt\n    }\n  }\n": types.OnThreadTurnUpdatedDocument,
    "\n  query ActiveTurns($tenantId: ID!) {\n    running: threadTurns(tenantId: $tenantId, status: \"running\") {\n      id\n      tenantId\n      threadId\n      agentId\n      status\n      startedAt\n    }\n    queued: threadTurns(tenantId: $tenantId, status: \"queued\") {\n      id\n      tenantId\n      threadId\n      agentId\n      status\n      startedAt\n    }\n    queuedWakeups(tenantId: $tenantId) {\n      id\n      tenantId\n      agentId\n      source\n      triggerDetail\n      status\n    }\n  }\n": types.ActiveTurnsDocument,
    "\n  subscription OnNewMessage($threadId: ID!) {\n    onNewMessage(threadId: $threadId) {\n      messageId\n      threadId\n      tenantId\n      role\n      content\n      senderType\n      senderId\n      ownerType\n      ownerId\n      createdAt\n    }\n  }\n": types.OnNewMessageDocument,
    "\n  query ArtifactsList(\n    $tenantId: ID!\n    $threadId: ID\n    $agentId: ID\n    $type: ArtifactType\n    $status: ArtifactStatus\n    $limit: Int\n  ) {\n    artifacts(\n      tenantId: $tenantId\n      threadId: $threadId\n      agentId: $agentId\n      type: $type\n      status: $status\n      limit: $limit\n    ) {\n      id\n      tenantId\n      agentId\n      threadId\n      title\n      type\n      status\n      summary\n      createdAt\n      updatedAt\n    }\n  }\n": types.ArtifactsListDocument,
    "\n  query ArtifactDetail($id: ID!) {\n    artifact(id: $id) {\n      id\n      title\n      type\n      status\n      content\n      summary\n      agentId\n      threadId\n      createdAt\n      updatedAt\n    }\n  }\n": types.ArtifactDetailDocument,
    "\n  query AdminApplets(\n    $tenantId: ID!\n    $userId: ID\n    $cursor: String\n    $limit: Int\n  ) {\n    adminApplets(\n      tenantId: $tenantId\n      userId: $userId\n      cursor: $cursor\n      limit: $limit\n    ) {\n      nodes {\n        appId\n        name\n        version\n        tenantId\n        threadId\n        prompt\n        agentVersion\n        modelId\n        generatedAt\n        stdlibVersionAtGeneration\n        artifact {\n          id\n          agentId\n          threadId\n          createdAt\n          updatedAt\n        }\n      }\n      nextCursor\n    }\n  }\n": types.AdminAppletsDocument,
    "\n  mutation UpdateTenantArtifactStyle(\n    $tenantId: ID!\n    $input: UpdateTenantSettingsInput!\n  ) {\n    updateTenantSettings(tenantId: $tenantId, input: $input) {\n      id\n      features\n      updatedAt\n    }\n  }\n": types.UpdateTenantArtifactStyleDocument,
    "\n  query AdminApplet($appId: ID!) {\n    adminApplet(appId: $appId) {\n      applet {\n        appId\n        name\n        version\n        tenantId\n        threadId\n        prompt\n        agentVersion\n        modelId\n        generatedAt\n        stdlibVersionAtGeneration\n        artifact {\n          id\n          agentId\n          threadId\n          createdAt\n          updatedAt\n        }\n      }\n      source\n      metadata\n      themeCss\n    }\n  }\n": types.AdminAppletDocument,
    "\n  mutation AdminUpdateAppletSource($input: AdminUpdateAppletSourceInput!) {\n    adminUpdateAppletSource(input: $input) {\n      ok\n      appId\n      version\n      validated\n      persisted\n      errors\n    }\n  }\n": types.AdminUpdateAppletSourceDocument,
    "\n  query MemoryRecords($userId: ID!, $namespace: String!) {\n    memoryRecords(userId: $userId, namespace: $namespace) {\n      memoryRecordId\n      content {\n        text\n      }\n      createdAt\n      updatedAt\n      namespace\n      strategyId\n      strategy\n      userSlug\n      agentSlug\n      factType\n      confidence\n      eventDate\n      occurredStart\n      occurredEnd\n      mentionedAt\n      tags\n      accessCount\n      proofCount\n      context\n      threadId\n    }\n  }\n": types.MemoryRecordsDocument,
    "\n  mutation DeleteMemoryRecord($userId: ID!, $memoryRecordId: ID!) {\n    deleteMemoryRecord(userId: $userId, memoryRecordId: $memoryRecordId)\n  }\n": types.DeleteMemoryRecordDocument,
    "\n  mutation UpdateMemoryRecord(\n    $userId: ID!\n    $memoryRecordId: ID!\n    $content: String!\n  ) {\n    updateMemoryRecord(\n      userId: $userId\n      memoryRecordId: $memoryRecordId\n      content: $content\n    )\n  }\n": types.UpdateMemoryRecordDocument,
    "\n  mutation ResetUserWikiCursor(\n    $tenantId: ID!\n    $userId: ID!\n    $force: Boolean\n    $includeBrain: Boolean\n  ) {\n    resetWikiCursor(\n      tenantId: $tenantId\n      userId: $userId\n      force: $force\n      includeBrain: $includeBrain\n    ) {\n      tenantId\n      userId\n      cursorCleared\n      pagesArchived\n      brainIncluded\n      impact\n    }\n  }\n": types.ResetUserWikiCursorDocument,
    "\n  mutation CompileUserWikiNow(\n    $tenantId: ID!\n    $userId: ID!\n    $forceNew: Boolean\n  ) {\n    compileWikiNow(tenantId: $tenantId, userId: $userId, forceNew: $forceNew) {\n      id\n      tenantId\n      userId\n      status\n      trigger\n      attempt\n      createdAt\n    }\n  }\n": types.CompileUserWikiNowDocument,
    "\n  query MemorySearch(\n    $userId: ID!\n    $query: String!\n    $strategy: MemoryStrategy\n    $limit: Int\n  ) {\n    memorySearch(\n      userId: $userId\n      query: $query\n      strategy: $strategy\n      limit: $limit\n    ) {\n      records {\n        memoryRecordId\n        content {\n          text\n        }\n        score\n        namespace\n        strategy\n        createdAt\n        threadId\n      }\n      totalCount\n    }\n  }\n": types.MemorySearchDocument,
    "\n  query MemorySystemConfig {\n    memorySystemConfig {\n      managedMemoryEnabled\n      hindsightEnabled\n    }\n  }\n": types.MemorySystemConfigDocument,
    "\n  query ThreadIdleLearningRuns($userId: ID!, $limit: Int) {\n    threadIdleLearningRuns(userId: $userId, limit: $limit) {\n      id\n      threadId\n      computerId\n      requesterUserId\n      status\n      startedAt\n      finishedAt\n      reportS3Key\n      error\n      canRollback\n      changedFiles {\n        path\n        beforeHash\n        afterHash\n        snapshotKey\n        hindsightDocumentId\n        hindsightStatus\n      }\n    }\n  }\n": types.ThreadIdleLearningRunsDocument,
    "\n  mutation RollbackThreadIdleLearningRun($userId: ID!, $runId: ID!) {\n    rollbackThreadIdleLearningRun(userId: $userId, runId: $runId) {\n      id\n      status\n      error\n      canRollback\n      changedFiles {\n        path\n        hindsightStatus\n      }\n    }\n  }\n": types.RollbackThreadIdleLearningRunDocument,
    "\n  query OntologyDefinitions($tenantId: ID!) {\n    ontologyDefinitions(tenantId: $tenantId) {\n      tenantId\n      activeVersion {\n        id\n        versionNumber\n        status\n        sourceChangeSetId\n        activatedAt\n        createdAt\n      }\n      entityTypes {\n        id\n        slug\n        name\n        description\n        broadType\n        aliases\n        propertiesSchema\n        guidanceNotes\n        lifecycleStatus\n        approvedAt\n        updatedAt\n        facetTemplates {\n          id\n          slug\n          heading\n          facetType\n          position\n          sourcePriority\n          prompt\n          guidanceNotes\n          lifecycleStatus\n        }\n        externalMappings {\n          id\n          subjectKind\n          subjectId\n          mappingKind\n          vocabulary\n          externalUri\n          externalLabel\n          notes\n        }\n      }\n      relationshipTypes {\n        id\n        slug\n        name\n        description\n        inverseName\n        sourceTypeSlugs\n        targetTypeSlugs\n        aliases\n        guidanceNotes\n        lifecycleStatus\n        approvedAt\n        updatedAt\n        externalMappings {\n          id\n          subjectKind\n          subjectId\n          mappingKind\n          vocabulary\n          externalUri\n          externalLabel\n          notes\n        }\n      }\n      facetTemplates {\n        id\n        entityTypeId\n        slug\n        heading\n        facetType\n        position\n        sourcePriority\n        prompt\n        guidanceNotes\n        lifecycleStatus\n      }\n      externalMappings {\n        id\n        subjectKind\n        subjectId\n        mappingKind\n        vocabulary\n        externalUri\n        externalLabel\n        notes\n      }\n    }\n  }\n": types.OntologyDefinitionsDocument,
    "\n  query OntologyChangeSets($tenantId: ID!, $status: OntologyChangeSetStatus) {\n    ontologyChangeSets(tenantId: $tenantId, status: $status) {\n      id\n      tenantId\n      title\n      summary\n      status\n      confidence\n      observedFrequency\n      expectedImpact\n      proposedBy\n      approvedByUserId\n      approvedAt\n      rejectedByUserId\n      rejectedAt\n      appliedVersionId\n      createdAt\n      updatedAt\n      items {\n        id\n        itemType\n        action\n        status\n        targetKind\n        targetSlug\n        title\n        description\n        proposedValue\n        editedValue\n        confidence\n        position\n        evidenceExamples {\n          id\n          sourceKind\n          sourceRef\n          sourceLabel\n          quote\n          metadata\n          observedAt\n        }\n      }\n      evidenceExamples {\n        id\n        sourceKind\n        sourceRef\n        sourceLabel\n        quote\n        metadata\n        observedAt\n      }\n    }\n  }\n": types.OntologyChangeSetsDocument,
    "\n  query OntologySuggestionScanJob($tenantId: ID!, $jobId: ID!) {\n    ontologySuggestionScanJob(tenantId: $tenantId, jobId: $jobId) {\n      id\n      status\n      trigger\n      dedupeKey\n      startedAt\n      finishedAt\n      error\n      result\n      metrics\n      createdAt\n      updatedAt\n    }\n  }\n": types.OntologySuggestionScanJobDocument,
    "\n  query OntologyReprocessJob($tenantId: ID!, $jobId: ID!) {\n    ontologyReprocessJob(tenantId: $tenantId, jobId: $jobId) {\n      id\n      changeSetId\n      ontologyVersionId\n      dedupeKey\n      status\n      attempt\n      claimedAt\n      startedAt\n      finishedAt\n      input\n      impact\n      metrics\n      error\n      createdAt\n      updatedAt\n    }\n  }\n": types.OntologyReprocessJobDocument,
    "\n  mutation StartOntologySuggestionScan(\n    $input: StartOntologySuggestionScanInput!\n  ) {\n    startOntologySuggestionScan(input: $input) {\n      id\n      status\n      trigger\n      dedupeKey\n      result\n      metrics\n      error\n      createdAt\n      updatedAt\n    }\n  }\n": types.StartOntologySuggestionScanDocument,
    "\n  mutation UpdateOntologyChangeSet($input: UpdateOntologyChangeSetInput!) {\n    updateOntologyChangeSet(input: $input) {\n      id\n      title\n      summary\n      status\n      confidence\n      observedFrequency\n      expectedImpact\n      updatedAt\n      items {\n        id\n        status\n        editedValue\n        updatedAt\n      }\n    }\n  }\n": types.UpdateOntologyChangeSetDocument,
    "\n  mutation UpdateOntologyEntityType($input: UpdateOntologyEntityTypeInput!) {\n    updateOntologyEntityType(input: $input) {\n      id\n      slug\n      name\n      description\n      broadType\n      aliases\n      guidanceNotes\n      lifecycleStatus\n      approvedAt\n      updatedAt\n      facetTemplates {\n        id\n        slug\n        heading\n        facetType\n        position\n        sourcePriority\n        prompt\n        guidanceNotes\n        lifecycleStatus\n      }\n      externalMappings {\n        id\n        subjectKind\n        subjectId\n        mappingKind\n        vocabulary\n        externalUri\n        externalLabel\n        notes\n      }\n    }\n  }\n": types.UpdateOntologyEntityTypeDocument,
    "\n  mutation UpdateOntologyRelationshipType(\n    $input: UpdateOntologyRelationshipTypeInput!\n  ) {\n    updateOntologyRelationshipType(input: $input) {\n      id\n      slug\n      name\n      description\n      inverseName\n      sourceTypeSlugs\n      targetTypeSlugs\n      aliases\n      guidanceNotes\n      lifecycleStatus\n      approvedAt\n      updatedAt\n      externalMappings {\n        id\n        subjectKind\n        subjectId\n        mappingKind\n        vocabulary\n        externalUri\n        externalLabel\n        notes\n      }\n    }\n  }\n": types.UpdateOntologyRelationshipTypeDocument,
    "\n  mutation ApproveOntologyChangeSet($input: ApproveOntologyChangeSetInput!) {\n    approveOntologyChangeSet(input: $input) {\n      id\n      status\n      approvedAt\n      appliedVersionId\n      updatedAt\n    }\n  }\n": types.ApproveOntologyChangeSetDocument,
    "\n  mutation RejectOntologyChangeSet($input: RejectOntologyChangeSetInput!) {\n    rejectOntologyChangeSet(input: $input) {\n      id\n      status\n      rejectedAt\n      updatedAt\n    }\n  }\n": types.RejectOntologyChangeSetDocument,
    "\n  query TenantSandboxStatus($id: ID!) {\n    tenant(id: $id) {\n      id\n      sandboxEnabled\n      complianceTier\n      sandboxInterpreterPublicId\n      sandboxInterpreterInternalId\n    }\n  }\n": types.TenantSandboxStatusDocument,
    "\n  query AdminWikiPage(\n    $tenantId: ID!\n    $userId: ID!\n    $type: WikiPageType!\n    $slug: String!\n  ) {\n    wikiPage(tenantId: $tenantId, userId: $userId, type: $type, slug: $slug) {\n      id\n      type\n      entitySubtype\n      displayType\n      slug\n      title\n      summary\n      bodyMd\n      status\n      lastCompiledAt\n      updatedAt\n      aliases\n      sections {\n        id\n        sectionSlug\n        heading\n        bodyMd\n        position\n        lastSourceAt\n      }\n    }\n  }\n": types.AdminWikiPageDocument,
    "\n  query AdminWikiBacklinks($pageId: ID!) {\n    wikiBacklinks(pageId: $pageId) {\n      id\n      type\n      entitySubtype\n      displayType\n      slug\n      title\n      summary\n    }\n  }\n": types.AdminWikiBacklinksDocument,
    "\n  query AdminRecentWikiPages($userId: ID!, $limit: Int) {\n    recentWikiPages(userId: $userId, limit: $limit) {\n      id\n      type\n      entitySubtype\n      displayType\n      slug\n      title\n      summary\n      lastCompiledAt\n      updatedAt\n    }\n  }\n": types.AdminRecentWikiPagesDocument,
    "\n  query AdminWikiSearch(\n    $tenantId: ID!\n    $userId: ID!\n    $query: String!\n    $limit: Int\n  ) {\n    wikiSearch(\n      tenantId: $tenantId\n      userId: $userId\n      query: $query\n      limit: $limit\n    ) {\n      score\n      matchedAlias\n      page {\n        id\n        type\n        entitySubtype\n        displayType\n        slug\n        title\n        summary\n        lastCompiledAt\n        updatedAt\n      }\n    }\n  }\n": types.AdminWikiSearchDocument,
    "\n  query AdminWikiCompileJobs($tenantId: ID!, $ownerId: ID, $limit: Int) {\n    wikiCompileJobs(tenantId: $tenantId, ownerId: $ownerId, limit: $limit) {\n      id\n      tenantId\n      ownerId\n      status\n      trigger\n      attempt\n      startedAt\n      finishedAt\n      error\n      metrics\n      createdAt\n    }\n  }\n": types.AdminWikiCompileJobsDocument,
    "\n  query ThreadTraces($threadId: ID!, $tenantId: ID!) {\n    threadTraces(threadId: $threadId, tenantId: $tenantId) {\n      traceId\n      threadId\n      agentId\n      agentName\n      model\n      inputTokens\n      outputTokens\n      durationMs\n      costUsd\n      estimated\n      createdAt\n    }\n  }\n": types.ThreadTracesDocument,
    "\n  query TurnInvocationLogs($tenantId: ID!, $turnId: ID!) {\n    turnInvocationLogs(tenantId: $tenantId, turnId: $turnId) {\n      requestId\n      modelId\n      timestamp\n      inputTokenCount\n      outputTokenCount\n      cacheReadTokenCount\n      inputPreview\n      outputPreview\n      toolCount\n      costUsd\n      toolUses\n      hasToolResult\n      branch\n    }\n  }\n": types.TurnInvocationLogsDocument,
    "\n  query EvalSummary($tenantId: ID!) {\n    evalSummary(tenantId: $tenantId) {\n      totalRuns\n      latestPassRate\n      avgPassRate\n      regressionCount\n    }\n  }\n": types.EvalSummaryDocument,
    "\n  query EvalRuns($tenantId: ID!, $limit: Int, $offset: Int, $agentId: ID) {\n    evalRuns(\n      tenantId: $tenantId\n      limit: $limit\n      offset: $offset\n      agentId: $agentId\n    ) {\n      items {\n        id\n        status\n        model\n        categories\n        totalTests\n        passed\n        failed\n        passRate\n        regression\n        costUsd\n        agentId\n        agentName\n        scheduledJobId\n        startedAt\n        completedAt\n        createdAt\n      }\n      totalCount\n    }\n  }\n": types.EvalRunsDocument,
    "\n  query EvalRun($id: ID!) {\n    evalRun(id: $id) {\n      id\n      status\n      model\n      categories\n      totalTests\n      passed\n      failed\n      passRate\n      regression\n      costUsd\n      errorMessage\n      agentId\n      agentName\n      scheduledJobId\n      startedAt\n      completedAt\n      createdAt\n    }\n  }\n": types.EvalRunDocument,
    "\n  query EvalRunResults($runId: ID!) {\n    evalRunResults(runId: $runId) {\n      id\n      testCaseId\n      testCaseName\n      category\n      status\n      score\n      durationMs\n      agentSessionId\n      input\n      actualOutput\n      evaluatorResults\n      assertions\n      errorMessage\n      createdAt\n    }\n  }\n": types.EvalRunResultsDocument,
    "\n  query EvalResultSpans($runId: ID!, $testCaseId: ID!) {\n    evalResultSpans(runId: $runId, testCaseId: $testCaseId) {\n      timestamp\n      name\n      attributes\n    }\n  }\n": types.EvalResultSpansDocument,
    "\n  query EvalTimeSeries($tenantId: ID!, $days: Int) {\n    evalTimeSeries(tenantId: $tenantId, days: $days) {\n      day\n      passRate\n      runCount\n      passed\n      failed\n    }\n  }\n": types.EvalTimeSeriesDocument,
    "\n  query EvalTestCases($tenantId: ID!, $category: String, $search: String) {\n    evalTestCases(tenantId: $tenantId, category: $category, search: $search) {\n      id\n      name\n      category\n      query\n      systemPrompt\n      agentId\n      assertions\n      agentcoreEvaluatorIds\n      tags\n      enabled\n      source\n      createdAt\n      updatedAt\n    }\n  }\n": types.EvalTestCasesDocument,
    "\n  query EvalTestCase($id: ID!) {\n    evalTestCase(id: $id) {\n      id\n      name\n      category\n      query\n      systemPrompt\n      agentId\n      assertions\n      agentcoreEvaluatorIds\n      tags\n      enabled\n      source\n      createdAt\n      updatedAt\n    }\n  }\n": types.EvalTestCaseDocument,
    "\n  mutation StartEvalRun($tenantId: ID!, $input: StartEvalRunInput!) {\n    startEvalRun(tenantId: $tenantId, input: $input) {\n      id\n      status\n      categories\n      createdAt\n    }\n  }\n": types.StartEvalRunDocument,
    "\n  mutation CreateEvalTestCase(\n    $tenantId: ID!\n    $input: CreateEvalTestCaseInput!\n  ) {\n    createEvalTestCase(tenantId: $tenantId, input: $input) {\n      id\n      name\n      category\n      query\n      systemPrompt\n      agentId\n      assertions\n      agentcoreEvaluatorIds\n      enabled\n      createdAt\n    }\n  }\n": types.CreateEvalTestCaseDocument,
    "\n  mutation UpdateEvalTestCase($id: ID!, $input: UpdateEvalTestCaseInput!) {\n    updateEvalTestCase(id: $id, input: $input) {\n      id\n      name\n      category\n      query\n      systemPrompt\n      agentId\n      assertions\n      agentcoreEvaluatorIds\n      enabled\n      updatedAt\n    }\n  }\n": types.UpdateEvalTestCaseDocument,
    "\n  mutation SeedEvalTestCases($tenantId: ID!, $categories: [String!]) {\n    seedEvalTestCases(tenantId: $tenantId, categories: $categories)\n  }\n": types.SeedEvalTestCasesDocument,
    "\n  mutation DeleteEvalTestCase($id: ID!) {\n    deleteEvalTestCase(id: $id)\n  }\n": types.DeleteEvalTestCaseDocument,
    "\n  mutation DeleteEvalRun($id: ID!) {\n    deleteEvalRun(id: $id)\n  }\n": types.DeleteEvalRunDocument,
    "\n  mutation CancelEvalRun($id: ID!) {\n    cancelEvalRun(id: $id) {\n      id\n      status\n      completedAt\n    }\n  }\n": types.CancelEvalRunDocument,
    "\n  query EvalTestCaseHistory($testCaseId: ID!, $limit: Int) {\n    evalTestCaseHistory(testCaseId: $testCaseId, limit: $limit) {\n      id\n      runId\n      testCaseName\n      category\n      status\n      score\n      durationMs\n      input\n      expected\n      actualOutput\n      assertions\n      evaluatorResults\n      errorMessage\n      createdAt\n    }\n  }\n": types.EvalTestCaseHistoryDocument,
    "\n  subscription OnEvalRunUpdated($tenantId: ID!) {\n    onEvalRunUpdated(tenantId: $tenantId) {\n      runId\n      tenantId\n      agentId\n      status\n      totalTests\n      passed\n      failed\n      passRate\n      errorMessage\n      updatedAt\n    }\n  }\n": types.OnEvalRunUpdatedDocument,
};

/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 *
 *
 * @example
 * ```ts
 * const query = graphql(`query GetUser($id: ID!) { user(id: $id) { name } }`);
 * ```
 *
 * The query argument is unknown!
 * Please regenerate the types.
 */
export function graphql(source: string): unknown;

/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AgentDetail($id: ID!) {\n    agent(id: $id) {\n      id\n      name\n      slug\n    }\n  }\n"): (typeof documents)["\n  query AgentDetail($id: ID!) {\n    agent(id: $id) {\n      id\n      name\n      slug\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation CreateSubAgent($input: CreateAgentInput!) {\n    createAgent(input: $input) {\n      id\n      name\n      slug\n    }\n  }\n"): (typeof documents)["\n  mutation CreateSubAgent($input: CreateAgentInput!) {\n    createAgent(input: $input) {\n      id\n      name\n      slug\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation DeleteSubAgent($id: ID!) {\n    deleteAgent(id: $id)\n  }\n"): (typeof documents)["\n  mutation DeleteSubAgent($id: ID!) {\n    deleteAgent(id: $id)\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation CreateThread($input: CreateThreadInput!) {\n    createThread(input: $input) {\n      id\n      number\n      title\n      status\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  mutation CreateThread($input: CreateThreadInput!) {\n    createThread(input: $input) {\n      id\n      number\n      title\n      status\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query TenantLabels($tenantId: ID!) {\n    threadLabels(tenantId: $tenantId) {\n      id\n      name\n      color\n    }\n  }\n"): (typeof documents)["\n  query TenantLabels($tenantId: ID!) {\n    threadLabels(tenantId: $tenantId) {\n      id\n      name\n      color\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation CreateThreadLabel($input: CreateThreadLabelInput!) {\n    createThreadLabel(input: $input) {\n      id\n      name\n      color\n    }\n  }\n"): (typeof documents)["\n  mutation CreateThreadLabel($input: CreateThreadLabelInput!) {\n    createThreadLabel(input: $input) {\n      id\n      name\n      color\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation AssignThreadLabel($threadId: ID!, $labelId: ID!) {\n    assignThreadLabel(threadId: $threadId, labelId: $labelId) {\n      id\n      labelId\n    }\n  }\n"): (typeof documents)["\n  mutation AssignThreadLabel($threadId: ID!, $labelId: ID!) {\n    assignThreadLabel(threadId: $threadId, labelId: $labelId) {\n      id\n      labelId\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation RemoveThreadLabel($threadId: ID!, $labelId: ID!) {\n    removeThreadLabel(threadId: $threadId, labelId: $labelId)\n  }\n"): (typeof documents)["\n  mutation RemoveThreadLabel($threadId: ID!, $labelId: ID!) {\n    removeThreadLabel(threadId: $threadId, labelId: $labelId)\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation CreateComplianceExport(\n    $filter: ComplianceEventFilter!\n    $format: ComplianceExportFormat!\n  ) {\n    createComplianceExport(filter: $filter, format: $format) {\n      jobId\n      tenantId\n      requestedByActorId\n      requestedAt\n      status\n      format\n      filter\n      s3Key\n      presignedUrl\n      presignedUrlExpiresAt\n      jobError\n      startedAt\n      completedAt\n    }\n  }\n"): (typeof documents)["\n  mutation CreateComplianceExport(\n    $filter: ComplianceEventFilter!\n    $format: ComplianceExportFormat!\n  ) {\n    createComplianceExport(filter: $filter, format: $format) {\n      jobId\n      tenantId\n      requestedByActorId\n      requestedAt\n      status\n      format\n      filter\n      s3Key\n      presignedUrl\n      presignedUrlExpiresAt\n      jobError\n      startedAt\n      completedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ComplianceExports {\n    complianceExports {\n      jobId\n      tenantId\n      requestedByActorId\n      requestedAt\n      status\n      format\n      filter\n      s3Key\n      presignedUrl\n      presignedUrlExpiresAt\n      jobError\n      startedAt\n      completedAt\n    }\n  }\n"): (typeof documents)["\n  query ComplianceExports {\n    complianceExports {\n      jobId\n      tenantId\n      requestedByActorId\n      requestedAt\n      status\n      format\n      filter\n      s3Key\n      presignedUrl\n      presignedUrlExpiresAt\n      jobError\n      startedAt\n      completedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ComplianceEventsList(\n    $filter: ComplianceEventFilter\n    $after: String\n    $first: Int\n  ) {\n    complianceEvents(filter: $filter, after: $after, first: $first) {\n      edges {\n        node {\n          eventId\n          tenantId\n          occurredAt\n          recordedAt\n          actor\n          actorType\n          source\n          eventType\n          eventHash\n          prevHash\n          anchorStatus {\n            state\n            cadenceId\n            anchoredRecordedAt\n            nextCadenceWithinMinutes\n          }\n        }\n        cursor\n      }\n      pageInfo {\n        hasNextPage\n        endCursor\n      }\n    }\n  }\n"): (typeof documents)["\n  query ComplianceEventsList(\n    $filter: ComplianceEventFilter\n    $after: String\n    $first: Int\n  ) {\n    complianceEvents(filter: $filter, after: $after, first: $first) {\n      edges {\n        node {\n          eventId\n          tenantId\n          occurredAt\n          recordedAt\n          actor\n          actorType\n          source\n          eventType\n          eventHash\n          prevHash\n          anchorStatus {\n            state\n            cadenceId\n            anchoredRecordedAt\n            nextCadenceWithinMinutes\n          }\n        }\n        cursor\n      }\n      pageInfo {\n        hasNextPage\n        endCursor\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ComplianceEventDetail($eventId: ID!) {\n    complianceEvent(eventId: $eventId) {\n      eventId\n      tenantId\n      occurredAt\n      recordedAt\n      actor\n      actorType\n      source\n      eventType\n      eventHash\n      prevHash\n      payload\n      anchorStatus {\n        state\n        cadenceId\n        anchoredRecordedAt\n        nextCadenceWithinMinutes\n      }\n    }\n  }\n"): (typeof documents)["\n  query ComplianceEventDetail($eventId: ID!) {\n    complianceEvent(eventId: $eventId) {\n      eventId\n      tenantId\n      occurredAt\n      recordedAt\n      actor\n      actorType\n      source\n      eventType\n      eventHash\n      prevHash\n      payload\n      anchorStatus {\n        state\n        cadenceId\n        anchoredRecordedAt\n        nextCadenceWithinMinutes\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ComplianceEventByHash($eventHash: String!) {\n    complianceEventByHash(eventHash: $eventHash) {\n      eventId\n      tenantId\n      occurredAt\n      recordedAt\n      actor\n      actorType\n      source\n      eventType\n      eventHash\n      prevHash\n      anchorStatus {\n        state\n        cadenceId\n        anchoredRecordedAt\n        nextCadenceWithinMinutes\n      }\n    }\n  }\n"): (typeof documents)["\n  query ComplianceEventByHash($eventHash: String!) {\n    complianceEventByHash(eventHash: $eventHash) {\n      eventId\n      tenantId\n      occurredAt\n      recordedAt\n      actor\n      actorType\n      source\n      eventType\n      eventHash\n      prevHash\n      anchorStatus {\n        state\n        cadenceId\n        anchoredRecordedAt\n        nextCadenceWithinMinutes\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ComplianceTenants {\n    complianceTenants\n  }\n"): (typeof documents)["\n  query ComplianceTenants {\n    complianceTenants\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ComplianceOperatorCheck {\n    complianceOperatorCheck {\n      isOperator\n      allowlistConfigured\n    }\n  }\n"): (typeof documents)["\n  query ComplianceOperatorCheck {\n    complianceOperatorCheck {\n      isOperator\n      allowlistConfigured\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AgentsList($tenantId: ID!) {\n    agents: allTenantAgents(tenantId: $tenantId) {\n      id\n      name\n      slug\n      role\n      type\n      status\n      runtime\n      budgetMonthlyCents\n      avatarUrl\n      createdAt\n    }\n    modelCatalog {\n      modelId\n      displayName\n    }\n  }\n"): (typeof documents)["\n  query AgentsList($tenantId: ID!) {\n    agents: allTenantAgents(tenantId: $tenantId) {\n      id\n      name\n      slug\n      role\n      type\n      status\n      runtime\n      budgetMonthlyCents\n      avatarUrl\n      createdAt\n    }\n    modelCatalog {\n      modelId\n      displayName\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AgentProfileDetail($id: ID!) {\n    agent(id: $id) {\n      id\n      tenantId\n      name\n      slug\n      role\n      type\n      status\n      runtime\n      budgetMonthlyCents\n      systemPrompt\n      avatarUrl\n      lastHeartbeatAt\n      runtimeConfig\n      adapterType\n      adapterConfig\n      humanPairId\n      humanPair {\n        id\n        name\n        email\n      }\n      version\n      capabilities {\n        id\n        capability\n        config\n        enabled\n      }\n      skills {\n        id\n        skillId\n        enabled\n        config\n        permissions\n      }\n      budgetPolicy {\n        id\n        limitUsd\n        actionOnExceed\n        enabled\n      }\n      parentAgentId\n      subAgents {\n        id\n        name\n        slug\n        role\n        status\n      }\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query AgentProfileDetail($id: ID!) {\n    agent(id: $id) {\n      id\n      tenantId\n      name\n      slug\n      role\n      type\n      status\n      runtime\n      budgetMonthlyCents\n      systemPrompt\n      avatarUrl\n      lastHeartbeatAt\n      runtimeConfig\n      adapterType\n      adapterConfig\n      humanPairId\n      humanPair {\n        id\n        name\n        email\n      }\n      version\n      capabilities {\n        id\n        capability\n        config\n        enabled\n      }\n      skills {\n        id\n        skillId\n        enabled\n        config\n        permissions\n      }\n      budgetPolicy {\n        id\n        limitUsd\n        actionOnExceed\n        enabled\n      }\n      parentAgentId\n      subAgents {\n        id\n        name\n        slug\n        role\n        status\n      }\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation CreateAgent($input: CreateAgentInput!) {\n    createAgent(input: $input) {\n      id\n      name\n      role\n      type\n      status\n      runtime\n      budgetMonthlyCents\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  mutation CreateAgent($input: CreateAgentInput!) {\n    createAgent(input: $input) {\n      id\n      name\n      role\n      type\n      status\n      runtime\n      budgetMonthlyCents\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AgentKnowledgeBases($id: ID!) {\n    agent(id: $id) {\n      knowledgeBases {\n        id\n        knowledgeBaseId\n        enabled\n        knowledgeBase {\n          id\n          name\n          description\n          status\n        }\n      }\n    }\n  }\n"): (typeof documents)["\n  query AgentKnowledgeBases($id: ID!) {\n    agent(id: $id) {\n      knowledgeBases {\n        id\n        knowledgeBaseId\n        enabled\n        knowledgeBase {\n          id\n          name\n          description\n          status\n        }\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateAgent($id: ID!, $input: UpdateAgentInput!) {\n    updateAgent(id: $id, input: $input) {\n      id\n      name\n      role\n      type\n      runtime\n      systemPrompt\n      adapterType\n      budgetMonthlyCents\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateAgent($id: ID!, $input: UpdateAgentInput!) {\n    updateAgent(id: $id, input: $input) {\n      id\n      name\n      role\n      type\n      runtime\n      systemPrompt\n      adapterType\n      budgetMonthlyCents\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateAgentRuntime($id: ID!, $runtime: AgentRuntime!) {\n    updateAgentRuntime(id: $id, runtime: $runtime) {\n      id\n      runtime\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateAgentRuntime($id: ID!, $runtime: AgentRuntime!) {\n    updateAgentRuntime(id: $id, runtime: $runtime) {\n      id\n      runtime\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation DeleteAgent($id: ID!) {\n    deleteAgent(id: $id)\n  }\n"): (typeof documents)["\n  mutation DeleteAgent($id: ID!) {\n    deleteAgent(id: $id)\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query SpacesList($tenantId: ID!) {\n    spaces(tenantId: $tenantId, status: ACTIVE, includeAllForAdmin: true) {\n      id\n      tenantId\n      slug\n      name\n      description\n      status\n      kind\n      accessMode\n      contextConfig\n      connectedDataConfig\n      toolPolicy\n      mcpPolicy\n      agentAvailabilityPolicy\n      triggerConfig\n      updatedAt\n      agentAssignments {\n        id\n        localRole\n        autoSubscribe\n        status\n        agent {\n          id\n          name\n          slug\n          avatarUrl\n        }\n      }\n      mcpServers {\n        id\n        enabled\n        mcpServer {\n          id\n          name\n          slug\n          status\n        }\n      }\n    }\n  }\n"): (typeof documents)["\n  query SpacesList($tenantId: ID!) {\n    spaces(tenantId: $tenantId, status: ACTIVE, includeAllForAdmin: true) {\n      id\n      tenantId\n      slug\n      name\n      description\n      status\n      kind\n      accessMode\n      contextConfig\n      connectedDataConfig\n      toolPolicy\n      mcpPolicy\n      agentAvailabilityPolicy\n      triggerConfig\n      updatedAt\n      agentAssignments {\n        id\n        localRole\n        autoSubscribe\n        status\n        agent {\n          id\n          name\n          slug\n          avatarUrl\n        }\n      }\n      mcpServers {\n        id\n        enabled\n        mcpServer {\n          id\n          name\n          slug\n          status\n        }\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation CreateSpace($input: CreateSpaceInput!) {\n    createSpace(input: $input) {\n      id\n      tenantId\n      slug\n      name\n      description\n      status\n      kind\n      accessMode\n      contextConfig\n      connectedDataConfig\n      toolPolicy\n      mcpPolicy\n      agentAvailabilityPolicy\n      triggerConfig\n      updatedAt\n      agentAssignments {\n        id\n        status\n      }\n      mcpServers {\n        id\n        enabled\n      }\n    }\n  }\n"): (typeof documents)["\n  mutation CreateSpace($input: CreateSpaceInput!) {\n    createSpace(input: $input) {\n      id\n      tenantId\n      slug\n      name\n      description\n      status\n      kind\n      accessMode\n      contextConfig\n      connectedDataConfig\n      toolPolicy\n      mcpPolicy\n      agentAvailabilityPolicy\n      triggerConfig\n      updatedAt\n      agentAssignments {\n        id\n        status\n      }\n      mcpServers {\n        id\n        enabled\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateSpace($input: UpdateSpaceInput!) {\n    updateSpace(input: $input) {\n      id\n      tenantId\n      slug\n      name\n      description\n      status\n      kind\n      accessMode\n      contextConfig\n      connectedDataConfig\n      toolPolicy\n      mcpPolicy\n      agentAvailabilityPolicy\n      triggerConfig\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateSpace($input: UpdateSpaceInput!) {\n    updateSpace(input: $input) {\n      id\n      tenantId\n      slug\n      name\n      description\n      status\n      kind\n      accessMode\n      contextConfig\n      connectedDataConfig\n      toolPolicy\n      mcpPolicy\n      agentAvailabilityPolicy\n      triggerConfig\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation SetSpaceAgentAvailability($input: SetSpaceAgentAvailabilityInput!) {\n    setSpaceAgentAvailability(input: $input) {\n      id\n      agentId\n      spaceId\n      localRole\n      autoSubscribe\n      allowedTools\n      status\n    }\n  }\n"): (typeof documents)["\n  mutation SetSpaceAgentAvailability($input: SetSpaceAgentAvailabilityInput!) {\n    setSpaceAgentAvailability(input: $input) {\n      id\n      agentId\n      spaceId\n      localRole\n      autoSubscribe\n      allowedTools\n      status\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query SpaceAdminDetail($id: ID!) {\n    space(id: $id) {\n      id\n      tenantId\n      slug\n      name\n      description\n      prompt\n      status\n      kind\n      accessMode\n      contextConfig\n      connectedDataConfig\n      toolPolicy\n      mcpPolicy\n      agentAvailabilityPolicy\n      triggerConfig\n      renderDiagnostics\n      config\n      createdAt\n      updatedAt\n      agentAssignments {\n        id\n        agentId\n        localRole\n        localInstructions\n        autoSubscribe\n        allowedCapabilities\n        allowedTools\n        status\n        agent {\n          id\n          name\n          slug\n          avatarUrl\n          status\n        }\n      }\n      mcpServers {\n        id\n        mcpServerId\n        enabled\n        config\n        mcpServer {\n          id\n          name\n          slug\n          transport\n          authType\n          oauthProvider\n          tools\n          enabled\n          status\n        }\n      }\n    }\n  }\n"): (typeof documents)["\n  query SpaceAdminDetail($id: ID!) {\n    space(id: $id) {\n      id\n      tenantId\n      slug\n      name\n      description\n      prompt\n      status\n      kind\n      accessMode\n      contextConfig\n      connectedDataConfig\n      toolPolicy\n      mcpPolicy\n      agentAvailabilityPolicy\n      triggerConfig\n      renderDiagnostics\n      config\n      createdAt\n      updatedAt\n      agentAssignments {\n        id\n        agentId\n        localRole\n        localInstructions\n        autoSubscribe\n        allowedCapabilities\n        allowedTools\n        status\n        agent {\n          id\n          name\n          slug\n          avatarUrl\n          status\n        }\n      }\n      mcpServers {\n        id\n        mcpServerId\n        enabled\n        config\n        mcpServer {\n          id\n          name\n          slug\n          transport\n          authType\n          oauthProvider\n          tools\n          enabled\n          status\n        }\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateAgentStatus($id: ID!, $status: AgentStatus!) {\n    updateAgentStatus(id: $id, status: $status) {\n      id\n      status\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateAgentStatus($id: ID!, $status: AgentStatus!) {\n    updateAgentStatus(id: $id, status: $status) {\n      id\n      status\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation SetAgentCapabilities(\n    $agentId: ID!\n    $capabilities: [AgentCapabilityInput!]!\n  ) {\n    setAgentCapabilities(agentId: $agentId, capabilities: $capabilities) {\n      id\n      capability\n      enabled\n    }\n  }\n"): (typeof documents)["\n  mutation SetAgentCapabilities(\n    $agentId: ID!\n    $capabilities: [AgentCapabilityInput!]!\n  ) {\n    setAgentCapabilities(agentId: $agentId, capabilities: $capabilities) {\n      id\n      capability\n      enabled\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation SetAgentBudgetPolicy(\n    $agentId: ID!\n    $input: AgentBudgetPolicyInput!\n  ) {\n    setAgentBudgetPolicy(agentId: $agentId, input: $input) {\n      id\n      limitUsd\n      actionOnExceed\n      enabled\n    }\n  }\n"): (typeof documents)["\n  mutation SetAgentBudgetPolicy(\n    $agentId: ID!\n    $input: AgentBudgetPolicyInput!\n  ) {\n    setAgentBudgetPolicy(agentId: $agentId, input: $input) {\n      id\n      limitUsd\n      actionOnExceed\n      enabled\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation DeleteAgentBudgetPolicy($agentId: ID!) {\n    deleteAgentBudgetPolicy(agentId: $agentId)\n  }\n"): (typeof documents)["\n  mutation DeleteAgentBudgetPolicy($agentId: ID!) {\n    deleteAgentBudgetPolicy(agentId: $agentId)\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ComputersList($tenantId: ID!) {\n    computers(tenantId: $tenantId) {\n      id\n      tenantId\n      ownerUserId\n      owner {\n        id\n        name\n        email\n      }\n      sourceAgent {\n        id\n        name\n        slug\n      }\n      name\n      slug\n      scope\n      status\n      desiredRuntimeStatus\n      runtimeStatus\n      liveWorkspaceRoot\n      efsAccessPointId\n      ecsServiceName\n      lastHeartbeatAt\n      lastActiveAt\n      budgetMonthlyCents\n      spentMonthlyCents\n      budgetPausedAt\n      budgetPausedReason\n      migratedFromAgentId\n      migrationMetadata\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query ComputersList($tenantId: ID!) {\n    computers(tenantId: $tenantId) {\n      id\n      tenantId\n      ownerUserId\n      owner {\n        id\n        name\n        email\n      }\n      sourceAgent {\n        id\n        name\n        slug\n      }\n      name\n      slug\n      scope\n      status\n      desiredRuntimeStatus\n      runtimeStatus\n      liveWorkspaceRoot\n      efsAccessPointId\n      ecsServiceName\n      lastHeartbeatAt\n      lastActiveAt\n      budgetMonthlyCents\n      spentMonthlyCents\n      budgetPausedAt\n      budgetPausedReason\n      migratedFromAgentId\n      migrationMetadata\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ComputerDetail($id: ID!) {\n    computer(id: $id) {\n      id\n      tenantId\n      ownerUserId\n      owner {\n        id\n        name\n        email\n      }\n      sourceAgent {\n        id\n        name\n        slug\n      }\n      name\n      slug\n      scope\n      status\n      desiredRuntimeStatus\n      runtimeStatus\n      runtimeConfig\n      liveWorkspaceRoot\n      efsAccessPointId\n      ecsServiceName\n      lastHeartbeatAt\n      lastActiveAt\n      budgetMonthlyCents\n      spentMonthlyCents\n      budgetPausedAt\n      budgetPausedReason\n      migratedFromAgentId\n      migrationMetadata\n      createdBy\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query ComputerDetail($id: ID!) {\n    computer(id: $id) {\n      id\n      tenantId\n      ownerUserId\n      owner {\n        id\n        name\n        email\n      }\n      sourceAgent {\n        id\n        name\n        slug\n      }\n      name\n      slug\n      scope\n      status\n      desiredRuntimeStatus\n      runtimeStatus\n      runtimeConfig\n      liveWorkspaceRoot\n      efsAccessPointId\n      ecsServiceName\n      lastHeartbeatAt\n      lastActiveAt\n      budgetMonthlyCents\n      spentMonthlyCents\n      budgetPausedAt\n      budgetPausedReason\n      migratedFromAgentId\n      migrationMetadata\n      createdBy\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation CreateComputer($input: CreateComputerInput!) {\n    createComputer(input: $input) {\n      id\n      name\n      slug\n      scope\n      status\n      desiredRuntimeStatus\n      runtimeStatus\n      tenantId\n      ownerUserId\n      budgetMonthlyCents\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation CreateComputer($input: CreateComputerInput!) {\n    createComputer(input: $input) {\n      id\n      name\n      slug\n      scope\n      status\n      desiredRuntimeStatus\n      runtimeStatus\n      tenantId\n      ownerUserId\n      budgetMonthlyCents\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateComputer($id: ID!, $input: UpdateComputerInput!) {\n    updateComputer(id: $id, input: $input) {\n      id\n      name\n      status\n      desiredRuntimeStatus\n      runtimeStatus\n      liveWorkspaceRoot\n      efsAccessPointId\n      ecsServiceName\n      lastHeartbeatAt\n      lastActiveAt\n      budgetMonthlyCents\n      spentMonthlyCents\n      budgetPausedReason\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateComputer($id: ID!, $input: UpdateComputerInput!) {\n    updateComputer(id: $id, input: $input) {\n      id\n      name\n      status\n      desiredRuntimeStatus\n      runtimeStatus\n      liveWorkspaceRoot\n      efsAccessPointId\n      ecsServiceName\n      lastHeartbeatAt\n      lastActiveAt\n      budgetMonthlyCents\n      spentMonthlyCents\n      budgetPausedReason\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ComputerAssignments($computerId: ID!) {\n    computerAssignments(computerId: $computerId) {\n      id\n      subjectType\n      userId\n      user {\n        id\n        name\n        email\n      }\n      teamId\n      team {\n        id\n        name\n        status\n      }\n      role\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  query ComputerAssignments($computerId: ID!) {\n    computerAssignments(computerId: $computerId) {\n      id\n      subjectType\n      userId\n      user {\n        id\n        name\n        email\n      }\n      teamId\n      team {\n        id\n        name\n        status\n      }\n      role\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ComputerAccessUsers($computerId: ID!) {\n    computerAccessUsers(computerId: $computerId) {\n      userId\n      user {\n        id\n        name\n        email\n      }\n      accessSource\n      directAssignment {\n        id\n        role\n      }\n      teams {\n        id\n        name\n        status\n      }\n      teamAssignments {\n        id\n        teamId\n        role\n      }\n    }\n  }\n"): (typeof documents)["\n  query ComputerAccessUsers($computerId: ID!) {\n    computerAccessUsers(computerId: $computerId) {\n      userId\n      user {\n        id\n        name\n        email\n      }\n      accessSource\n      directAssignment {\n        id\n        role\n      }\n      teams {\n        id\n        name\n        status\n      }\n      teamAssignments {\n        id\n        teamId\n        role\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query UserComputerAssignments($userId: ID!) {\n    userComputerAssignments(userId: $userId) {\n      computerId\n      computer {\n        id\n        name\n        slug\n        scope\n        status\n        runtimeStatus\n      }\n      accessSource\n      directAssignment {\n        id\n        role\n      }\n      teams {\n        id\n        name\n        status\n      }\n      teamAssignments {\n        id\n        teamId\n        role\n      }\n    }\n  }\n"): (typeof documents)["\n  query UserComputerAssignments($userId: ID!) {\n    userComputerAssignments(userId: $userId) {\n      computerId\n      computer {\n        id\n        name\n        slug\n        scope\n        status\n        runtimeStatus\n      }\n      accessSource\n      directAssignment {\n        id\n        role\n      }\n      teams {\n        id\n        name\n        status\n      }\n      teamAssignments {\n        id\n        teamId\n        role\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation SetComputerAssignments($input: SetComputerAssignmentsInput!) {\n    setComputerAssignments(input: $input) {\n      id\n      computerId\n      subjectType\n      userId\n      teamId\n      role\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation SetComputerAssignments($input: SetComputerAssignmentsInput!) {\n    setComputerAssignments(input: $input) {\n      id\n      computerId\n      subjectType\n      userId\n      teamId\n      role\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation SetUserComputerAssignments(\n    $input: SetUserComputerAssignmentsInput!\n  ) {\n    setUserComputerAssignments(input: $input) {\n      id\n      computerId\n      subjectType\n      userId\n      teamId\n      role\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation SetUserComputerAssignments(\n    $input: SetUserComputerAssignmentsInput!\n  ) {\n    setUserComputerAssignments(input: $input) {\n      id\n      computerId\n      subjectType\n      userId\n      teamId\n      role\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation EnqueueComputerTask($input: EnqueueComputerTaskInput!) {\n    enqueueComputerTask(input: $input) {\n      id\n      taskType\n      status\n      input\n      output\n      error\n      idempotencyKey\n      claimedAt\n      completedAt\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation EnqueueComputerTask($input: EnqueueComputerTaskInput!) {\n    enqueueComputerTask(input: $input) {\n      id\n      taskType\n      status\n      input\n      output\n      error\n      idempotencyKey\n      claimedAt\n      completedAt\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ModelCatalog {\n    modelCatalog {\n      id\n      modelId\n      displayName\n      provider\n      inputCostPerMillion\n      outputCostPerMillion\n    }\n  }\n"): (typeof documents)["\n  query ModelCatalog {\n    modelCatalog {\n      id\n      modelId\n      displayName\n      provider\n      inputCostPerMillion\n      outputCostPerMillion\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AgentEmailCapability($agentId: ID!) {\n    agentEmailCapability(agentId: $agentId) {\n      id\n      agentId\n      enabled\n      emailAddress\n      vanityAddress\n      allowedSenders\n    }\n  }\n"): (typeof documents)["\n  query AgentEmailCapability($agentId: ID!) {\n    agentEmailCapability(agentId: $agentId) {\n      id\n      agentId\n      enabled\n      emailAddress\n      vanityAddress\n      allowedSenders\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateAgentEmailAllowlist(\n    $agentId: ID!\n    $allowedSenders: [String!]!\n  ) {\n    updateAgentEmailAllowlist(\n      agentId: $agentId\n      allowedSenders: $allowedSenders\n    ) {\n      id\n      config\n      enabled\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateAgentEmailAllowlist(\n    $agentId: ID!\n    $allowedSenders: [String!]!\n  ) {\n    updateAgentEmailAllowlist(\n      agentId: $agentId\n      allowedSenders: $allowedSenders\n    ) {\n      id\n      config\n      enabled\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation ToggleAgentEmailChannel($agentId: ID!, $enabled: Boolean!) {\n    toggleAgentEmailChannel(agentId: $agentId, enabled: $enabled) {\n      id\n      enabled\n    }\n  }\n"): (typeof documents)["\n  mutation ToggleAgentEmailChannel($agentId: ID!, $enabled: Boolean!) {\n    toggleAgentEmailChannel(agentId: $agentId, enabled: $enabled) {\n      id\n      enabled\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation ClaimVanityEmailAddress($agentId: ID!, $localPart: String!) {\n    claimVanityEmailAddress(agentId: $agentId, localPart: $localPart) {\n      id\n      config\n    }\n  }\n"): (typeof documents)["\n  mutation ClaimVanityEmailAddress($agentId: ID!, $localPart: String!) {\n    claimVanityEmailAddress(agentId: $agentId, localPart: $localPart) {\n      id\n      config\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation ReleaseVanityEmailAddress($agentId: ID!) {\n    releaseVanityEmailAddress(agentId: $agentId) {\n      id\n      config\n    }\n  }\n"): (typeof documents)["\n  mutation ReleaseVanityEmailAddress($agentId: ID!) {\n    releaseVanityEmailAddress(agentId: $agentId) {\n      id\n      config\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query KnowledgeBasesList($tenantId: ID!) {\n    knowledgeBases(tenantId: $tenantId) {\n      id\n      tenantId\n      name\n      slug\n      description\n      status\n      documentCount\n      lastSyncAt\n      lastSyncStatus\n      errorMessage\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query KnowledgeBasesList($tenantId: ID!) {\n    knowledgeBases(tenantId: $tenantId) {\n      id\n      tenantId\n      name\n      slug\n      description\n      status\n      documentCount\n      lastSyncAt\n      lastSyncStatus\n      errorMessage\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query KnowledgeBaseDetail($id: ID!) {\n    knowledgeBase(id: $id) {\n      id\n      tenantId\n      name\n      slug\n      description\n      embeddingModel\n      chunkingStrategy\n      chunkSizeTokens\n      chunkOverlapPercent\n      status\n      awsKbId\n      lastSyncAt\n      lastSyncStatus\n      documentCount\n      errorMessage\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query KnowledgeBaseDetail($id: ID!) {\n    knowledgeBase(id: $id) {\n      id\n      tenantId\n      name\n      slug\n      description\n      embeddingModel\n      chunkingStrategy\n      chunkSizeTokens\n      chunkOverlapPercent\n      status\n      awsKbId\n      lastSyncAt\n      lastSyncStatus\n      documentCount\n      errorMessage\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation CreateKnowledgeBase($input: CreateKnowledgeBaseInput!) {\n    createKnowledgeBase(input: $input) {\n      id\n      name\n      slug\n      status\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  mutation CreateKnowledgeBase($input: CreateKnowledgeBaseInput!) {\n    createKnowledgeBase(input: $input) {\n      id\n      name\n      slug\n      status\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateKnowledgeBase($id: ID!, $input: UpdateKnowledgeBaseInput!) {\n    updateKnowledgeBase(id: $id, input: $input) {\n      id\n      name\n      description\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateKnowledgeBase($id: ID!, $input: UpdateKnowledgeBaseInput!) {\n    updateKnowledgeBase(id: $id, input: $input) {\n      id\n      name\n      description\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation DeleteKnowledgeBase($id: ID!) {\n    deleteKnowledgeBase(id: $id)\n  }\n"): (typeof documents)["\n  mutation DeleteKnowledgeBase($id: ID!) {\n    deleteKnowledgeBase(id: $id)\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation SyncKnowledgeBase($id: ID!) {\n    syncKnowledgeBase(id: $id) {\n      id\n      status\n      lastSyncStatus\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation SyncKnowledgeBase($id: ID!) {\n    syncKnowledgeBase(id: $id) {\n      id\n      status\n      lastSyncStatus\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation SetAgentKnowledgeBases(\n    $agentId: ID!\n    $knowledgeBases: [AgentKnowledgeBaseInput!]!\n  ) {\n    setAgentKnowledgeBases(agentId: $agentId, knowledgeBases: $knowledgeBases) {\n      id\n      knowledgeBaseId\n      enabled\n      knowledgeBase {\n        id\n        name\n        description\n        status\n      }\n    }\n  }\n"): (typeof documents)["\n  mutation SetAgentKnowledgeBases(\n    $agentId: ID!\n    $knowledgeBases: [AgentKnowledgeBaseInput!]!\n  ) {\n    setAgentKnowledgeBases(agentId: $agentId, knowledgeBases: $knowledgeBases) {\n      id\n      knowledgeBaseId\n      enabled\n      knowledgeBase {\n        id\n        name\n        description\n        status\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ThreadsList($tenantId: ID!, $status: ThreadStatus, $search: String) {\n    threads(tenantId: $tenantId, status: $status, search: $search) {\n      id\n      number\n      identifier\n      title\n      status\n      assigneeType\n      assigneeId\n      agentId\n      computerId\n      userId\n      agent {\n        id\n        name\n        avatarUrl\n      }\n      computer {\n        id\n        name\n        slug\n      }\n      user {\n        id\n        name\n        email\n        image\n      }\n      checkoutRunId\n      channel\n      costSummary\n      lastActivityAt\n      lastTurnCompletedAt\n      lastReadAt\n      archivedAt\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query ThreadsList($tenantId: ID!, $status: ThreadStatus, $search: String) {\n    threads(tenantId: $tenantId, status: $status, search: $search) {\n      id\n      number\n      identifier\n      title\n      status\n      assigneeType\n      assigneeId\n      agentId\n      computerId\n      userId\n      agent {\n        id\n        name\n        avatarUrl\n      }\n      computer {\n        id\n        name\n        slug\n      }\n      user {\n        id\n        name\n        email\n        image\n      }\n      checkoutRunId\n      channel\n      costSummary\n      lastActivityAt\n      lastTurnCompletedAt\n      lastReadAt\n      archivedAt\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ThreadsPaged(\n    $tenantId: ID!\n    $search: String\n    $showArchived: Boolean\n    $sortField: String\n    $sortDir: String\n    $limit: Int\n    $offset: Int\n    $computerId: ID\n    $spaceId: ID\n  ) {\n    threadsPaged(\n      tenantId: $tenantId\n      search: $search\n      showArchived: $showArchived\n      sortField: $sortField\n      sortDir: $sortDir\n      limit: $limit\n      offset: $offset\n      computerId: $computerId\n      spaceId: $spaceId\n    ) {\n      items {\n        id\n        number\n        identifier\n        title\n        status\n        assigneeType\n        assigneeId\n        agentId\n        computerId\n        spaceId\n        userId\n        agent {\n          id\n          name\n          avatarUrl\n        }\n        computer {\n          id\n          name\n          slug\n        }\n        user {\n          id\n          name\n          email\n          image\n        }\n        checkoutRunId\n        channel\n        costSummary\n        lastActivityAt\n        lastTurnCompletedAt\n        lastReadAt\n        archivedAt\n        createdAt\n        updatedAt\n      }\n      totalCount\n    }\n  }\n"): (typeof documents)["\n  query ThreadsPaged(\n    $tenantId: ID!\n    $search: String\n    $showArchived: Boolean\n    $sortField: String\n    $sortDir: String\n    $limit: Int\n    $offset: Int\n    $computerId: ID\n    $spaceId: ID\n  ) {\n    threadsPaged(\n      tenantId: $tenantId\n      search: $search\n      showArchived: $showArchived\n      sortField: $sortField\n      sortDir: $sortDir\n      limit: $limit\n      offset: $offset\n      computerId: $computerId\n      spaceId: $spaceId\n    ) {\n      items {\n        id\n        number\n        identifier\n        title\n        status\n        assigneeType\n        assigneeId\n        agentId\n        computerId\n        spaceId\n        userId\n        agent {\n          id\n          name\n          avatarUrl\n        }\n        computer {\n          id\n          name\n          slug\n        }\n        user {\n          id\n          name\n          email\n          image\n        }\n        checkoutRunId\n        channel\n        costSummary\n        lastActivityAt\n        lastTurnCompletedAt\n        lastReadAt\n        archivedAt\n        createdAt\n        updatedAt\n      }\n      totalCount\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ThreadDetail($id: ID!) {\n    thread(id: $id) {\n      id\n      tenantId\n      number\n      identifier\n      title\n      status\n      lifecycleStatus\n      assigneeType\n      assigneeId\n      agentId\n      computerId\n      userId\n      agent {\n        id\n        name\n        avatarUrl\n      }\n      computer {\n        id\n        name\n        slug\n      }\n      user {\n        id\n        name\n        email\n        image\n      }\n      channel\n      messages(limit: 50) {\n        edges {\n          node {\n            id\n            threadId\n            tenantId\n            role\n            content\n            senderType\n            senderId\n            ownerType\n            ownerId\n            toolCalls\n            toolResults\n            metadata\n            tokenCount\n            createdAt\n            durableArtifact {\n              id\n              title\n              type\n              status\n            }\n          }\n        }\n      }\n      costSummary\n      checkoutRunId\n      checkoutVersion\n      billingCode\n      labels\n      metadata\n      dueAt\n      startedAt\n      completedAt\n      cancelledAt\n      closedAt\n      createdByType\n      createdById\n      attachments {\n        id\n        threadId\n        name\n        mimeType\n        sizeBytes\n        uploadedBy\n        createdAt\n      }\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query ThreadDetail($id: ID!) {\n    thread(id: $id) {\n      id\n      tenantId\n      number\n      identifier\n      title\n      status\n      lifecycleStatus\n      assigneeType\n      assigneeId\n      agentId\n      computerId\n      userId\n      agent {\n        id\n        name\n        avatarUrl\n      }\n      computer {\n        id\n        name\n        slug\n      }\n      user {\n        id\n        name\n        email\n        image\n      }\n      channel\n      messages(limit: 50) {\n        edges {\n          node {\n            id\n            threadId\n            tenantId\n            role\n            content\n            senderType\n            senderId\n            ownerType\n            ownerId\n            toolCalls\n            toolResults\n            metadata\n            tokenCount\n            createdAt\n            durableArtifact {\n              id\n              title\n              type\n              status\n            }\n          }\n        }\n      }\n      costSummary\n      checkoutRunId\n      checkoutVersion\n      billingCode\n      labels\n      metadata\n      dueAt\n      startedAt\n      completedAt\n      cancelledAt\n      closedAt\n      createdByType\n      createdById\n      attachments {\n        id\n        threadId\n        name\n        mimeType\n        sizeBytes\n        uploadedBy\n        createdAt\n      }\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateThread($id: ID!, $input: UpdateThreadInput!) {\n    updateThread(id: $id, input: $input) {\n      id\n      status\n      title\n      assigneeType\n      assigneeId\n      billingCode\n      dueAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateThread($id: ID!, $input: UpdateThreadInput!) {\n    updateThread(id: $id, input: $input) {\n      id\n      status\n      title\n      assigneeType\n      assigneeId\n      billingCode\n      dueAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation DeleteThread($id: ID!) {\n    deleteThread(id: $id)\n  }\n"): (typeof documents)["\n  mutation DeleteThread($id: ID!) {\n    deleteThread(id: $id)\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation CheckoutThread($id: ID!, $input: CheckoutThreadInput!) {\n    checkoutThread(id: $id, input: $input) {\n      id\n      checkoutRunId\n      checkoutVersion\n    }\n  }\n"): (typeof documents)["\n  mutation CheckoutThread($id: ID!, $input: CheckoutThreadInput!) {\n    checkoutThread(id: $id, input: $input) {\n      id\n      checkoutRunId\n      checkoutVersion\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation ReleaseThread($id: ID!, $input: ReleaseThreadInput!) {\n    releaseThread(id: $id, input: $input) {\n      id\n      checkoutRunId\n      status\n    }\n  }\n"): (typeof documents)["\n  mutation ReleaseThread($id: ID!, $input: ReleaseThreadInput!) {\n    releaseThread(id: $id, input: $input) {\n      id\n      checkoutRunId\n      status\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query TeamsList($tenantId: ID!) {\n    teams(tenantId: $tenantId) {\n      id\n      name\n      description\n      type\n      status\n      budgetMonthlyCents\n      agents {\n        id\n        agentId\n        agent {\n          id\n          name\n          status\n          avatarUrl\n        }\n        role\n      }\n      users {\n        id\n        userId\n        role\n      }\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  query TeamsList($tenantId: ID!) {\n    teams(tenantId: $tenantId) {\n      id\n      name\n      description\n      type\n      status\n      budgetMonthlyCents\n      agents {\n        id\n        agentId\n        agent {\n          id\n          name\n          status\n          avatarUrl\n        }\n        role\n      }\n      users {\n        id\n        userId\n        role\n      }\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query TeamDetail($id: ID!) {\n    team(id: $id) {\n      id\n      tenantId\n      name\n      description\n      type\n      status\n      budgetMonthlyCents\n      metadata\n      agents {\n        id\n        agentId\n        agent {\n          id\n          name\n          role\n          status\n          avatarUrl\n        }\n        role\n        createdAt\n      }\n      users {\n        id\n        userId\n        user {\n          id\n          name\n          email\n        }\n        role\n        createdAt\n      }\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query TeamDetail($id: ID!) {\n    team(id: $id) {\n      id\n      tenantId\n      name\n      description\n      type\n      status\n      budgetMonthlyCents\n      metadata\n      agents {\n        id\n        agentId\n        agent {\n          id\n          name\n          role\n          status\n          avatarUrl\n        }\n        role\n        createdAt\n      }\n      users {\n        id\n        userId\n        user {\n          id\n          name\n          email\n        }\n        role\n        createdAt\n      }\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query RoutinesList($tenantId: ID!) {\n    routines(tenantId: $tenantId) {\n      id\n      name\n      description\n      status\n      lastRunAt\n      engine\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  query RoutinesList($tenantId: ID!) {\n    routines(tenantId: $tenantId) {\n      id\n      name\n      description\n      status\n      lastRunAt\n      engine\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query RoutineDetail($id: ID!) {\n    routine(id: $id) {\n      id\n      tenantId\n      name\n      description\n      type\n      status\n      schedule\n      engine\n      currentVersion\n      config\n      lastRunAt\n      nextRunAt\n      agentId\n      agent {\n        id\n        name\n        avatarUrl\n      }\n      teamId\n      team {\n        id\n        name\n      }\n      triggers {\n        id\n        triggerType\n        config\n        enabled\n      }\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query RoutineDetail($id: ID!) {\n    routine(id: $id) {\n      id\n      tenantId\n      name\n      description\n      type\n      status\n      schedule\n      engine\n      currentVersion\n      config\n      lastRunAt\n      nextRunAt\n      agentId\n      agent {\n        id\n        name\n        avatarUrl\n      }\n      teamId\n      team {\n        id\n        name\n      }\n      triggers {\n        id\n        triggerType\n        config\n        enabled\n      }\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation CreateRoutine($input: CreateRoutineInput!) {\n    createRoutine(input: $input) {\n      id\n      name\n      currentVersion\n    }\n  }\n"): (typeof documents)["\n  mutation CreateRoutine($input: CreateRoutineInput!) {\n    createRoutine(input: $input) {\n      id\n      name\n      currentVersion\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation PlanRoutineDraft($input: PlanRoutineDraftInput!) {\n    planRoutineDraft(input: $input) {\n      title\n      description\n      kind\n      asl\n      markdownSummary\n      stepManifest\n      steps {\n        nodeId\n        recipeId\n        recipeName\n        label\n        args\n        configFields {\n          key\n          label\n          value\n          inputType\n          control\n          required\n          editable\n          options\n          placeholder\n          helpText\n          min\n          max\n          pattern\n        }\n      }\n    }\n  }\n"): (typeof documents)["\n  mutation PlanRoutineDraft($input: PlanRoutineDraftInput!) {\n    planRoutineDraft(input: $input) {\n      title\n      description\n      kind\n      asl\n      markdownSummary\n      stepManifest\n      steps {\n        nodeId\n        recipeId\n        recipeName\n        label\n        args\n        configFields {\n          key\n          label\n          value\n          inputType\n          control\n          required\n          editable\n          options\n          placeholder\n          helpText\n          min\n          max\n          pattern\n        }\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query RoutineRecipeCatalog($tenantId: ID!) {\n    routineRecipeCatalog(tenantId: $tenantId) {\n      id\n      displayName\n      description\n      category\n      hitlCapable\n      defaultArgs\n      configFields {\n        key\n        label\n        value\n        inputType\n        control\n        required\n        editable\n        options\n        placeholder\n        helpText\n        min\n        max\n        pattern\n      }\n    }\n  }\n"): (typeof documents)["\n  query RoutineRecipeCatalog($tenantId: ID!) {\n    routineRecipeCatalog(tenantId: $tenantId) {\n      id\n      displayName\n      description\n      category\n      hitlCapable\n      defaultArgs\n      configFields {\n        key\n        label\n        value\n        inputType\n        control\n        required\n        editable\n        options\n        placeholder\n        helpText\n        min\n        max\n        pattern\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query TenantCredentials($tenantId: ID!, $status: TenantCredentialStatus) {\n    tenantCredentials(tenantId: $tenantId, status: $status) {\n      id\n      tenantId\n      displayName\n      slug\n      kind\n      status\n      metadataJson\n      schemaJson\n      eventbridgeConnectionArn\n      lastUsedAt\n      lastValidatedAt\n      createdAt\n      updatedAt\n      deletedAt\n    }\n  }\n"): (typeof documents)["\n  query TenantCredentials($tenantId: ID!, $status: TenantCredentialStatus) {\n    tenantCredentials(tenantId: $tenantId, status: $status) {\n      id\n      tenantId\n      displayName\n      slug\n      kind\n      status\n      metadataJson\n      schemaJson\n      eventbridgeConnectionArn\n      lastUsedAt\n      lastValidatedAt\n      createdAt\n      updatedAt\n      deletedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query CredentialRoutineUsage($tenantId: ID!) {\n    routines(tenantId: $tenantId) {\n      id\n      name\n      status\n      config\n      engine\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query CredentialRoutineUsage($tenantId: ID!) {\n    routines(tenantId: $tenantId) {\n      id\n      name\n      status\n      config\n      engine\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation CreateTenantCredential($input: CreateTenantCredentialInput!) {\n    createTenantCredential(input: $input) {\n      id\n      displayName\n      slug\n      kind\n      status\n      metadataJson\n      eventbridgeConnectionArn\n      lastValidatedAt\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation CreateTenantCredential($input: CreateTenantCredentialInput!) {\n    createTenantCredential(input: $input) {\n      id\n      displayName\n      slug\n      kind\n      status\n      metadataJson\n      eventbridgeConnectionArn\n      lastValidatedAt\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateTenantCredential(\n    $id: ID!\n    $input: UpdateTenantCredentialInput!\n  ) {\n    updateTenantCredential(id: $id, input: $input) {\n      id\n      displayName\n      slug\n      status\n      metadataJson\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateTenantCredential(\n    $id: ID!\n    $input: UpdateTenantCredentialInput!\n  ) {\n    updateTenantCredential(id: $id, input: $input) {\n      id\n      displayName\n      slug\n      status\n      metadataJson\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation RotateTenantCredential($input: RotateTenantCredentialInput!) {\n    rotateTenantCredential(input: $input) {\n      id\n      status\n      lastValidatedAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation RotateTenantCredential($input: RotateTenantCredentialInput!) {\n    rotateTenantCredential(input: $input) {\n      id\n      status\n      lastValidatedAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation DeleteTenantCredential($id: ID!) {\n    deleteTenantCredential(id: $id)\n  }\n"): (typeof documents)["\n  mutation DeleteTenantCredential($id: ID!) {\n    deleteTenantCredential(id: $id)\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query SlackWorkspaces($tenantId: ID!) {\n    slackWorkspaces(tenantId: $tenantId) {\n      id\n      tenantId\n      slackTeamId\n      slackTeamName\n      botUserId\n      appId\n      installedByUserId\n      status\n      installedAt\n      uninstalledAt\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query SlackWorkspaces($tenantId: ID!) {\n    slackWorkspaces(tenantId: $tenantId) {\n      id\n      tenantId\n      slackTeamId\n      slackTeamName\n      botUserId\n      appId\n      installedByUserId\n      status\n      installedAt\n      uninstalledAt\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation StartSlackWorkspaceInstall(\n    $input: StartSlackWorkspaceInstallInput!\n  ) {\n    startSlackWorkspaceInstall(input: $input) {\n      authorizeUrl\n      state\n      expiresAt\n    }\n  }\n"): (typeof documents)["\n  mutation StartSlackWorkspaceInstall(\n    $input: StartSlackWorkspaceInstallInput!\n  ) {\n    startSlackWorkspaceInstall(input: $input) {\n      authorizeUrl\n      state\n      expiresAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UninstallSlackWorkspace($id: ID!) {\n    uninstallSlackWorkspace(id: $id) {\n      id\n      status\n      uninstalledAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation UninstallSlackWorkspace($id: ID!) {\n    uninstallSlackWorkspace(id: $id) {\n      id\n      status\n      uninstalledAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation TriggerRoutineRun($routineId: ID!, $input: AWSJSON) {\n    triggerRoutineRun(routineId: $routineId, input: $input) {\n      id\n      status\n      triggerSource\n      startedAt\n    }\n  }\n"): (typeof documents)["\n  mutation TriggerRoutineRun($routineId: ID!, $input: AWSJSON) {\n    triggerRoutineRun(routineId: $routineId, input: $input) {\n      id\n      status\n      triggerSource\n      startedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation RebuildRoutineVersion($input: RebuildRoutineVersionInput!) {\n    rebuildRoutineVersion(input: $input) {\n      id\n      versionNumber\n    }\n  }\n"): (typeof documents)["\n  mutation RebuildRoutineVersion($input: RebuildRoutineVersionInput!) {\n    rebuildRoutineVersion(input: $input) {\n      id\n      versionNumber\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query RoutineDefinition($routineId: ID!) {\n    routineDefinition(routineId: $routineId) {\n      routineId\n      currentVersion\n      versionId\n      title\n      description\n      kind\n      steps {\n        nodeId\n        recipeId\n        recipeName\n        label\n        args\n        configFields {\n          key\n          label\n          value\n          inputType\n          control\n          required\n          editable\n          options\n          placeholder\n          helpText\n          min\n          max\n          pattern\n        }\n      }\n    }\n  }\n"): (typeof documents)["\n  query RoutineDefinition($routineId: ID!) {\n    routineDefinition(routineId: $routineId) {\n      routineId\n      currentVersion\n      versionId\n      title\n      description\n      kind\n      steps {\n        nodeId\n        recipeId\n        recipeName\n        label\n        args\n        configFields {\n          key\n          label\n          value\n          inputType\n          control\n          required\n          editable\n          options\n          placeholder\n          helpText\n          min\n          max\n          pattern\n        }\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query RoutineDefinitionArtifacts($routineId: ID!) {\n    routineDefinition(routineId: $routineId) {\n      routineId\n      versionId\n      aslJson\n      markdownSummary\n      stepManifestJson\n    }\n  }\n"): (typeof documents)["\n  query RoutineDefinitionArtifacts($routineId: ID!) {\n    routineDefinition(routineId: $routineId) {\n      routineId\n      versionId\n      aslJson\n      markdownSummary\n      stepManifestJson\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateRoutineDefinition($input: UpdateRoutineDefinitionInput!) {\n    updateRoutineDefinition(input: $input) {\n      routineId\n      currentVersion\n      versionId\n      description\n      steps {\n        nodeId\n        args\n        configFields {\n          key\n          value\n          editable\n        }\n      }\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateRoutineDefinition($input: UpdateRoutineDefinitionInput!) {\n    updateRoutineDefinition(input: $input) {\n      routineId\n      currentVersion\n      versionId\n      description\n      steps {\n        nodeId\n        args\n        configFields {\n          key\n          value\n          editable\n        }\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query RoutineExecutionsList(\n    $routineId: ID!\n    $status: RoutineExecutionStatus\n    $limit: Int\n    $cursor: String\n  ) {\n    routineExecutions(\n      routineId: $routineId\n      status: $status\n      limit: $limit\n      cursor: $cursor\n    ) {\n      id\n      status\n      triggerSource\n      startedAt\n      finishedAt\n      totalLlmCostUsdCents\n      errorCode\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  query RoutineExecutionsList(\n    $routineId: ID!\n    $status: RoutineExecutionStatus\n    $limit: Int\n    $cursor: String\n  ) {\n    routineExecutions(\n      routineId: $routineId\n      status: $status\n      limit: $limit\n      cursor: $cursor\n    ) {\n      id\n      status\n      triggerSource\n      startedAt\n      finishedAt\n      totalLlmCostUsdCents\n      errorCode\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query RoutineExecutionDetail($id: ID!) {\n    routineExecution(id: $id) {\n      id\n      tenantId\n      routineId\n      stateMachineArn\n      aliasArn\n      versionArn\n      sfnExecutionArn\n      triggerSource\n      inputJson\n      outputJson\n      status\n      startedAt\n      finishedAt\n      errorCode\n      errorMessage\n      totalLlmCostUsdCents\n      stepEvents {\n        id\n        nodeId\n        recipeType\n        status\n        startedAt\n        finishedAt\n        inputJson\n        outputJson\n        errorJson\n        llmCostUsdCents\n        retryCount\n        stdoutS3Uri\n        stderrS3Uri\n        stdoutPreview\n        truncated\n        createdAt\n      }\n      routine {\n        id\n        name\n        description\n        currentVersion\n        documentationMd\n      }\n      aslVersion {\n        id\n        versionNumber\n        aslJson\n        markdownSummary\n        stepManifestJson\n      }\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  query RoutineExecutionDetail($id: ID!) {\n    routineExecution(id: $id) {\n      id\n      tenantId\n      routineId\n      stateMachineArn\n      aliasArn\n      versionArn\n      sfnExecutionArn\n      triggerSource\n      inputJson\n      outputJson\n      status\n      startedAt\n      finishedAt\n      errorCode\n      errorMessage\n      totalLlmCostUsdCents\n      stepEvents {\n        id\n        nodeId\n        recipeType\n        status\n        startedAt\n        finishedAt\n        inputJson\n        outputJson\n        errorJson\n        llmCostUsdCents\n        retryCount\n        stdoutS3Uri\n        stderrS3Uri\n        stdoutPreview\n        truncated\n        createdAt\n      }\n      routine {\n        id\n        name\n        description\n        currentVersion\n        documentationMd\n      }\n      aslVersion {\n        id\n        versionNumber\n        aslJson\n        markdownSummary\n        stepManifestJson\n      }\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query RoutineAslVersionDetail($id: ID!) {\n    routineAslVersion(id: $id) {\n      id\n      versionNumber\n      aslJson\n      markdownSummary\n      stepManifestJson\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  query RoutineAslVersionDetail($id: ID!) {\n    routineAslVersion(id: $id) {\n      id\n      versionNumber\n      aslJson\n      markdownSummary\n      stepManifestJson\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query InboxItemsList($tenantId: ID!, $status: InboxItemStatus) {\n    inboxItems(tenantId: $tenantId, status: $status) {\n      id\n      type\n      status\n      title\n      description\n      requesterType\n      requesterId\n      entityType\n      entityId\n      revision\n      expiresAt\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query InboxItemsList($tenantId: ID!, $status: InboxItemStatus) {\n    inboxItems(tenantId: $tenantId, status: $status) {\n      id\n      type\n      status\n      title\n      description\n      requesterType\n      requesterId\n      entityType\n      entityId\n      revision\n      expiresAt\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query InboxItemDetail($id: ID!) {\n    inboxItem(id: $id) {\n      id\n      tenantId\n      type\n      status\n      title\n      description\n      requesterType\n      requesterId\n      entityType\n      entityId\n      config\n      revision\n      reviewNotes\n      decidedBy\n      decidedAt\n      expiresAt\n      comments {\n        id\n        authorType\n        authorId\n        content\n        createdAt\n      }\n      links {\n        id\n        linkedType\n        linkedId\n      }\n      linkedThreads {\n        id\n        number\n        identifier\n        title\n        status\n      }\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query InboxItemDetail($id: ID!) {\n    inboxItem(id: $id) {\n      id\n      tenantId\n      type\n      status\n      title\n      description\n      requesterType\n      requesterId\n      entityType\n      entityId\n      config\n      revision\n      reviewNotes\n      decidedBy\n      decidedAt\n      expiresAt\n      comments {\n        id\n        authorType\n        authorId\n        content\n        createdAt\n      }\n      links {\n        id\n        linkedType\n        linkedId\n      }\n      linkedThreads {\n        id\n        number\n        identifier\n        title\n        status\n      }\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation ApproveInboxItem($id: ID!, $input: ApproveInboxItemInput) {\n    approveInboxItem(id: $id, input: $input) {\n      id\n      status\n      reviewNotes\n      decidedAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation ApproveInboxItem($id: ID!, $input: ApproveInboxItemInput) {\n    approveInboxItem(id: $id, input: $input) {\n      id\n      status\n      reviewNotes\n      decidedAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation RejectInboxItem($id: ID!, $input: RejectInboxItemInput) {\n    rejectInboxItem(id: $id, input: $input) {\n      id\n      status\n      reviewNotes\n      decidedAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation RejectInboxItem($id: ID!, $input: RejectInboxItemInput) {\n    rejectInboxItem(id: $id, input: $input) {\n      id\n      status\n      reviewNotes\n      decidedAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation RequestRevision($id: ID!, $input: RequestRevisionInput!) {\n    requestRevision(id: $id, input: $input) {\n      id\n      status\n      reviewNotes\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation RequestRevision($id: ID!, $input: RequestRevisionInput!) {\n    requestRevision(id: $id, input: $input) {\n      id\n      status\n      reviewNotes\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation ResubmitInboxItem($id: ID!, $input: ResubmitInboxItemInput) {\n    resubmitInboxItem(id: $id, input: $input) {\n      id\n      status\n      revision\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation ResubmitInboxItem($id: ID!, $input: ResubmitInboxItemInput) {\n    resubmitInboxItem(id: $id, input: $input) {\n      id\n      status\n      revision\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation AddInboxItemComment($input: AddInboxItemCommentInput!) {\n    addInboxItemComment(input: $input) {\n      id\n      authorType\n      authorId\n      content\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  mutation AddInboxItemComment($input: AddInboxItemCommentInput!) {\n    addInboxItemComment(input: $input) {\n      id\n      authorType\n      authorId\n      content\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ActivityLog(\n    $tenantId: ID!\n    $entityType: String\n    $entityId: ID\n    $limit: Int\n  ) {\n    activityLog(\n      tenantId: $tenantId\n      entityType: $entityType\n      entityId: $entityId\n      limit: $limit\n    ) {\n      id\n      actorType\n      actorId\n      action\n      entityType\n      entityId\n      changes\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  query ActivityLog(\n    $tenantId: ID!\n    $entityType: String\n    $entityId: ID\n    $limit: Int\n  ) {\n    activityLog(\n      tenantId: $tenantId\n      entityType: $entityType\n      entityId: $entityId\n      limit: $limit\n    ) {\n      id\n      actorType\n      actorId\n      action\n      entityType\n      entityId\n      changes\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query TenantDetail($id: ID!) {\n    tenant(id: $id) {\n      id\n      name\n      slug\n      plan\n      issuePrefix\n      issueCounter\n      settings {\n        id\n        defaultModel\n        budgetMonthlyCents\n        autoCloseThreadMinutes\n        maxAgents\n        features\n      }\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query TenantDetail($id: ID!) {\n    tenant(id: $id) {\n      id\n      name\n      slug\n      plan\n      issuePrefix\n      issueCounter\n      settings {\n        id\n        defaultModel\n        budgetMonthlyCents\n        autoCloseThreadMinutes\n        maxAgents\n        features\n      }\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query DeploymentStatus {\n    deploymentStatus {\n      stage\n      source\n      region\n      accountId\n      bucketName\n      databaseEndpoint\n      ecrUrl\n      adminUrl\n      docsUrl\n      apiEndpoint\n      appsyncUrl\n      appsyncRealtimeUrl\n      hindsightEndpoint\n      agentcoreStatus\n      hindsightEnabled\n      managedMemoryEnabled\n    }\n  }\n"): (typeof documents)["\n  query DeploymentStatus {\n    deploymentStatus {\n      stage\n      source\n      region\n      accountId\n      bucketName\n      databaseEndpoint\n      ecrUrl\n      adminUrl\n      docsUrl\n      apiEndpoint\n      appsyncUrl\n      appsyncRealtimeUrl\n      hindsightEndpoint\n      agentcoreStatus\n      hindsightEnabled\n      managedMemoryEnabled\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query TenantMembersList($tenantId: ID!) {\n    tenantMembers(tenantId: $tenantId) {\n      id\n      tenantId\n      principalType\n      principalId\n      role\n      status\n      user {\n        id\n        name\n        email\n        image\n        phone\n        profile {\n          id\n          title\n          timezone\n          pronouns\n          callBy\n          notes\n          family\n          context\n          updatedAt\n        }\n      }\n      agent {\n        id\n        name\n        status\n        avatarUrl\n      }\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query TenantMembersList($tenantId: ID!) {\n    tenantMembers(tenantId: $tenantId) {\n      id\n      tenantId\n      principalType\n      principalId\n      role\n      status\n      user {\n        id\n        name\n        email\n        image\n        phone\n        profile {\n          id\n          title\n          timezone\n          pronouns\n          callBy\n          notes\n          family\n          context\n          updatedAt\n        }\n      }\n      agent {\n        id\n        name\n        status\n        avatarUrl\n      }\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation InviteMember($tenantId: ID!, $input: InviteMemberInput!) {\n    inviteMember(tenantId: $tenantId, input: $input) {\n      id\n      tenantId\n      principalType\n      principalId\n      role\n      status\n      user {\n        id\n        name\n        email\n      }\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  mutation InviteMember($tenantId: ID!, $input: InviteMemberInput!) {\n    inviteMember(tenantId: $tenantId, input: $input) {\n      id\n      tenantId\n      principalType\n      principalId\n      role\n      status\n      user {\n        id\n        name\n        email\n      }\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateUser($id: ID!, $input: UpdateUserInput!) {\n    updateUser(id: $id, input: $input) {\n      id\n      tenantId\n      email\n      name\n      image\n      phone\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateUser($id: ID!, $input: UpdateUserInput!) {\n    updateUser(id: $id, input: $input) {\n      id\n      tenantId\n      email\n      name\n      image\n      phone\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateUserProfile($userId: ID!, $input: UpdateUserProfileInput!) {\n    updateUserProfile(userId: $userId, input: $input) {\n      id\n      userId\n      title\n      timezone\n      pronouns\n      callBy\n      notes\n      family\n      context\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateUserProfile($userId: ID!, $input: UpdateUserProfileInput!) {\n    updateUserProfile(userId: $userId, input: $input) {\n      id\n      userId\n      title\n      timezone\n      pronouns\n      callBy\n      notes\n      family\n      context\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateTenantMember($id: ID!, $input: UpdateTenantMemberInput!) {\n    updateTenantMember(id: $id, input: $input) {\n      id\n      tenantId\n      principalType\n      principalId\n      role\n      status\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateTenantMember($id: ID!, $input: UpdateTenantMemberInput!) {\n    updateTenantMember(id: $id, input: $input) {\n      id\n      tenantId\n      principalType\n      principalId\n      role\n      status\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation RemoveTenantMember($id: ID!) {\n    removeTenantMember(id: $id)\n  }\n"): (typeof documents)["\n  mutation RemoveTenantMember($id: ID!) {\n    removeTenantMember(id: $id)\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AgentApiKeys($agentId: ID!) {\n    agentApiKeys(agentId: $agentId) {\n      id\n      tenantId\n      agentId\n      name\n      keyPrefix\n      lastUsedAt\n      revokedAt\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  query AgentApiKeys($agentId: ID!) {\n    agentApiKeys(agentId: $agentId) {\n      id\n      tenantId\n      agentId\n      name\n      keyPrefix\n      lastUsedAt\n      revokedAt\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation CreateAgentApiKey($input: CreateAgentApiKeyInput!) {\n    createAgentApiKey(input: $input) {\n      apiKey {\n        id\n        agentId\n        name\n        keyPrefix\n        createdAt\n      }\n      plainTextKey\n    }\n  }\n"): (typeof documents)["\n  mutation CreateAgentApiKey($input: CreateAgentApiKeyInput!) {\n    createAgentApiKey(input: $input) {\n      apiKey {\n        id\n        agentId\n        name\n        keyPrefix\n        createdAt\n      }\n      plainTextKey\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation RevokeAgentApiKey($id: ID!) {\n    revokeAgentApiKey(id: $id) {\n      id\n      revokedAt\n    }\n  }\n"): (typeof documents)["\n  mutation RevokeAgentApiKey($id: ID!) {\n    revokeAgentApiKey(id: $id) {\n      id\n      revokedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query CostSummary($tenantId: ID!, $from: AWSDateTime, $to: AWSDateTime) {\n    costSummary(tenantId: $tenantId, from: $from, to: $to) {\n      totalUsd\n      llmUsd\n      computeUsd\n      toolsUsd\n      evalUsd\n      totalInputTokens\n      totalOutputTokens\n      eventCount\n      periodStart\n      periodEnd\n    }\n  }\n"): (typeof documents)["\n  query CostSummary($tenantId: ID!, $from: AWSDateTime, $to: AWSDateTime) {\n    costSummary(tenantId: $tenantId, from: $from, to: $to) {\n      totalUsd\n      llmUsd\n      computeUsd\n      toolsUsd\n      evalUsd\n      totalInputTokens\n      totalOutputTokens\n      eventCount\n      periodStart\n      periodEnd\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query CostByAgent($tenantId: ID!, $from: AWSDateTime, $to: AWSDateTime) {\n    costByAgent(tenantId: $tenantId, from: $from, to: $to) {\n      agentId\n      agentName\n      totalUsd\n      eventCount\n    }\n  }\n"): (typeof documents)["\n  query CostByAgent($tenantId: ID!, $from: AWSDateTime, $to: AWSDateTime) {\n    costByAgent(tenantId: $tenantId, from: $from, to: $to) {\n      agentId\n      agentName\n      totalUsd\n      eventCount\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query CostByModel($tenantId: ID!, $from: AWSDateTime, $to: AWSDateTime) {\n    costByModel(tenantId: $tenantId, from: $from, to: $to) {\n      model\n      totalUsd\n      inputTokens\n      outputTokens\n    }\n  }\n"): (typeof documents)["\n  query CostByModel($tenantId: ID!, $from: AWSDateTime, $to: AWSDateTime) {\n    costByModel(tenantId: $tenantId, from: $from, to: $to) {\n      model\n      totalUsd\n      inputTokens\n      outputTokens\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query CostTimeSeries($tenantId: ID!, $days: Int) {\n    costTimeSeries(tenantId: $tenantId, days: $days) {\n      day\n      totalUsd\n      llmUsd\n      computeUsd\n      toolsUsd\n      eventCount\n    }\n  }\n"): (typeof documents)["\n  query CostTimeSeries($tenantId: ID!, $days: Int) {\n    costTimeSeries(tenantId: $tenantId, days: $days) {\n      day\n      totalUsd\n      llmUsd\n      computeUsd\n      toolsUsd\n      eventCount\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query BudgetStatus($tenantId: ID!) {\n    budgetStatus(tenantId: $tenantId) {\n      policy {\n        id\n        tenantId\n        agentId\n        scope\n        period\n        limitUsd\n        actionOnExceed\n        enabled\n      }\n      spentUsd\n      remainingUsd\n      percentUsed\n      status\n    }\n  }\n"): (typeof documents)["\n  query BudgetStatus($tenantId: ID!) {\n    budgetStatus(tenantId: $tenantId) {\n      policy {\n        id\n        tenantId\n        agentId\n        scope\n        period\n        limitUsd\n        actionOnExceed\n        enabled\n      }\n      spentUsd\n      remainingUsd\n      percentUsed\n      status\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpsertBudgetPolicy(\n    $tenantId: ID!\n    $input: UpsertBudgetPolicyInput!\n  ) {\n    upsertBudgetPolicy(tenantId: $tenantId, input: $input) {\n      id\n      scope\n      limitUsd\n      actionOnExceed\n      enabled\n    }\n  }\n"): (typeof documents)["\n  mutation UpsertBudgetPolicy(\n    $tenantId: ID!\n    $input: UpsertBudgetPolicyInput!\n  ) {\n    upsertBudgetPolicy(tenantId: $tenantId, input: $input) {\n      id\n      scope\n      limitUsd\n      actionOnExceed\n      enabled\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation DeleteBudgetPolicy($id: ID!) {\n    deleteBudgetPolicy(id: $id)\n  }\n"): (typeof documents)["\n  mutation DeleteBudgetPolicy($id: ID!) {\n    deleteBudgetPolicy(id: $id)\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UnpauseAgent($agentId: ID!) {\n    unpauseAgent(agentId: $agentId) {\n      id\n      name\n    }\n  }\n"): (typeof documents)["\n  mutation UnpauseAgent($agentId: ID!) {\n    unpauseAgent(agentId: $agentId) {\n      id\n      name\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation NotifyAgentStatus(\n    $agentId: ID!\n    $tenantId: ID!\n    $status: String!\n    $name: String!\n  ) {\n    notifyAgentStatus(\n      agentId: $agentId\n      tenantId: $tenantId\n      status: $status\n      name: $name\n    ) {\n      agentId\n      tenantId\n      status\n      name\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation NotifyAgentStatus(\n    $agentId: ID!\n    $tenantId: ID!\n    $status: String!\n    $name: String!\n  ) {\n    notifyAgentStatus(\n      agentId: $agentId\n      tenantId: $tenantId\n      status: $status\n      name: $name\n    ) {\n      agentId\n      tenantId\n      status\n      name\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  subscription OnAgentStatusChanged($tenantId: ID!) {\n    onAgentStatusChanged(tenantId: $tenantId) {\n      agentId\n      tenantId\n      status\n      name\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  subscription OnAgentStatusChanged($tenantId: ID!) {\n    onAgentStatusChanged(tenantId: $tenantId) {\n      agentId\n      tenantId\n      status\n      name\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  subscription OnThreadUpdated($tenantId: ID!) {\n    onThreadUpdated(tenantId: $tenantId) {\n      threadId\n      tenantId\n      status\n      title\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  subscription OnThreadUpdated($tenantId: ID!) {\n    onThreadUpdated(tenantId: $tenantId) {\n      threadId\n      tenantId\n      status\n      title\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  subscription OnInboxItemStatusChanged($tenantId: ID!) {\n    onInboxItemStatusChanged(tenantId: $tenantId) {\n      inboxItemId\n      tenantId\n      status\n      title\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  subscription OnInboxItemStatusChanged($tenantId: ID!) {\n    onInboxItemStatusChanged(tenantId: $tenantId) {\n      inboxItemId\n      tenantId\n      status\n      title\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ThreadTurns($tenantId: ID!, $limit: Int) {\n    threadTurns(tenantId: $tenantId, limit: $limit) {\n      id\n      tenantId\n      triggerId\n      threadId\n      agentId\n      invocationSource\n      triggerDetail\n      status\n      startedAt\n      finishedAt\n      error\n      resultJson\n      usageJson\n      triggerName\n      totalCost\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  query ThreadTurns($tenantId: ID!, $limit: Int) {\n    threadTurns(tenantId: $tenantId, limit: $limit) {\n      id\n      tenantId\n      triggerId\n      threadId\n      agentId\n      invocationSource\n      triggerDetail\n      status\n      startedAt\n      finishedAt\n      error\n      resultJson\n      usageJson\n      triggerName\n      totalCost\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ThreadTurnsForThread($tenantId: ID!, $threadId: ID!, $limit: Int) {\n    threadTurns(tenantId: $tenantId, threadId: $threadId, limit: $limit) {\n      id\n      tenantId\n      agentId\n      invocationSource\n      triggerDetail\n      triggerName\n      threadId\n      turnNumber\n      status\n      startedAt\n      finishedAt\n      error\n      resultJson\n      usageJson\n      totalCost\n      retryAttempt\n      originTurnId\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  query ThreadTurnsForThread($tenantId: ID!, $threadId: ID!, $limit: Int) {\n    threadTurns(tenantId: $tenantId, threadId: $threadId, limit: $limit) {\n      id\n      tenantId\n      agentId\n      invocationSource\n      triggerDetail\n      triggerName\n      threadId\n      turnNumber\n      status\n      startedAt\n      finishedAt\n      error\n      resultJson\n      usageJson\n      totalCost\n      retryAttempt\n      originTurnId\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ThreadTurnEvents($runId: ID!, $limit: Int) {\n    threadTurnEvents(runId: $runId, limit: $limit) {\n      id\n      runId\n      agentId\n      seq\n      eventType\n      stream\n      level\n      message\n      payload\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  query ThreadTurnEvents($runId: ID!, $limit: Int) {\n    threadTurnEvents(runId: $runId, limit: $limit) {\n      id\n      runId\n      agentId\n      seq\n      eventType\n      stream\n      level\n      message\n      payload\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  subscription OnThreadTurnUpdated($tenantId: ID!) {\n    onThreadTurnUpdated(tenantId: $tenantId) {\n      runId\n      triggerId\n      tenantId\n      threadId\n      agentId\n      status\n      triggerName\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  subscription OnThreadTurnUpdated($tenantId: ID!) {\n    onThreadTurnUpdated(tenantId: $tenantId) {\n      runId\n      triggerId\n      tenantId\n      threadId\n      agentId\n      status\n      triggerName\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ActiveTurns($tenantId: ID!) {\n    running: threadTurns(tenantId: $tenantId, status: \"running\") {\n      id\n      tenantId\n      threadId\n      agentId\n      status\n      startedAt\n    }\n    queued: threadTurns(tenantId: $tenantId, status: \"queued\") {\n      id\n      tenantId\n      threadId\n      agentId\n      status\n      startedAt\n    }\n    queuedWakeups(tenantId: $tenantId) {\n      id\n      tenantId\n      agentId\n      source\n      triggerDetail\n      status\n    }\n  }\n"): (typeof documents)["\n  query ActiveTurns($tenantId: ID!) {\n    running: threadTurns(tenantId: $tenantId, status: \"running\") {\n      id\n      tenantId\n      threadId\n      agentId\n      status\n      startedAt\n    }\n    queued: threadTurns(tenantId: $tenantId, status: \"queued\") {\n      id\n      tenantId\n      threadId\n      agentId\n      status\n      startedAt\n    }\n    queuedWakeups(tenantId: $tenantId) {\n      id\n      tenantId\n      agentId\n      source\n      triggerDetail\n      status\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  subscription OnNewMessage($threadId: ID!) {\n    onNewMessage(threadId: $threadId) {\n      messageId\n      threadId\n      tenantId\n      role\n      content\n      senderType\n      senderId\n      ownerType\n      ownerId\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  subscription OnNewMessage($threadId: ID!) {\n    onNewMessage(threadId: $threadId) {\n      messageId\n      threadId\n      tenantId\n      role\n      content\n      senderType\n      senderId\n      ownerType\n      ownerId\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ArtifactsList(\n    $tenantId: ID!\n    $threadId: ID\n    $agentId: ID\n    $type: ArtifactType\n    $status: ArtifactStatus\n    $limit: Int\n  ) {\n    artifacts(\n      tenantId: $tenantId\n      threadId: $threadId\n      agentId: $agentId\n      type: $type\n      status: $status\n      limit: $limit\n    ) {\n      id\n      tenantId\n      agentId\n      threadId\n      title\n      type\n      status\n      summary\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query ArtifactsList(\n    $tenantId: ID!\n    $threadId: ID\n    $agentId: ID\n    $type: ArtifactType\n    $status: ArtifactStatus\n    $limit: Int\n  ) {\n    artifacts(\n      tenantId: $tenantId\n      threadId: $threadId\n      agentId: $agentId\n      type: $type\n      status: $status\n      limit: $limit\n    ) {\n      id\n      tenantId\n      agentId\n      threadId\n      title\n      type\n      status\n      summary\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ArtifactDetail($id: ID!) {\n    artifact(id: $id) {\n      id\n      title\n      type\n      status\n      content\n      summary\n      agentId\n      threadId\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query ArtifactDetail($id: ID!) {\n    artifact(id: $id) {\n      id\n      title\n      type\n      status\n      content\n      summary\n      agentId\n      threadId\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AdminApplets(\n    $tenantId: ID!\n    $userId: ID\n    $cursor: String\n    $limit: Int\n  ) {\n    adminApplets(\n      tenantId: $tenantId\n      userId: $userId\n      cursor: $cursor\n      limit: $limit\n    ) {\n      nodes {\n        appId\n        name\n        version\n        tenantId\n        threadId\n        prompt\n        agentVersion\n        modelId\n        generatedAt\n        stdlibVersionAtGeneration\n        artifact {\n          id\n          agentId\n          threadId\n          createdAt\n          updatedAt\n        }\n      }\n      nextCursor\n    }\n  }\n"): (typeof documents)["\n  query AdminApplets(\n    $tenantId: ID!\n    $userId: ID\n    $cursor: String\n    $limit: Int\n  ) {\n    adminApplets(\n      tenantId: $tenantId\n      userId: $userId\n      cursor: $cursor\n      limit: $limit\n    ) {\n      nodes {\n        appId\n        name\n        version\n        tenantId\n        threadId\n        prompt\n        agentVersion\n        modelId\n        generatedAt\n        stdlibVersionAtGeneration\n        artifact {\n          id\n          agentId\n          threadId\n          createdAt\n          updatedAt\n        }\n      }\n      nextCursor\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateTenantArtifactStyle(\n    $tenantId: ID!\n    $input: UpdateTenantSettingsInput!\n  ) {\n    updateTenantSettings(tenantId: $tenantId, input: $input) {\n      id\n      features\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateTenantArtifactStyle(\n    $tenantId: ID!\n    $input: UpdateTenantSettingsInput!\n  ) {\n    updateTenantSettings(tenantId: $tenantId, input: $input) {\n      id\n      features\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AdminApplet($appId: ID!) {\n    adminApplet(appId: $appId) {\n      applet {\n        appId\n        name\n        version\n        tenantId\n        threadId\n        prompt\n        agentVersion\n        modelId\n        generatedAt\n        stdlibVersionAtGeneration\n        artifact {\n          id\n          agentId\n          threadId\n          createdAt\n          updatedAt\n        }\n      }\n      source\n      metadata\n      themeCss\n    }\n  }\n"): (typeof documents)["\n  query AdminApplet($appId: ID!) {\n    adminApplet(appId: $appId) {\n      applet {\n        appId\n        name\n        version\n        tenantId\n        threadId\n        prompt\n        agentVersion\n        modelId\n        generatedAt\n        stdlibVersionAtGeneration\n        artifact {\n          id\n          agentId\n          threadId\n          createdAt\n          updatedAt\n        }\n      }\n      source\n      metadata\n      themeCss\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation AdminUpdateAppletSource($input: AdminUpdateAppletSourceInput!) {\n    adminUpdateAppletSource(input: $input) {\n      ok\n      appId\n      version\n      validated\n      persisted\n      errors\n    }\n  }\n"): (typeof documents)["\n  mutation AdminUpdateAppletSource($input: AdminUpdateAppletSourceInput!) {\n    adminUpdateAppletSource(input: $input) {\n      ok\n      appId\n      version\n      validated\n      persisted\n      errors\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query MemoryRecords($userId: ID!, $namespace: String!) {\n    memoryRecords(userId: $userId, namespace: $namespace) {\n      memoryRecordId\n      content {\n        text\n      }\n      createdAt\n      updatedAt\n      namespace\n      strategyId\n      strategy\n      userSlug\n      agentSlug\n      factType\n      confidence\n      eventDate\n      occurredStart\n      occurredEnd\n      mentionedAt\n      tags\n      accessCount\n      proofCount\n      context\n      threadId\n    }\n  }\n"): (typeof documents)["\n  query MemoryRecords($userId: ID!, $namespace: String!) {\n    memoryRecords(userId: $userId, namespace: $namespace) {\n      memoryRecordId\n      content {\n        text\n      }\n      createdAt\n      updatedAt\n      namespace\n      strategyId\n      strategy\n      userSlug\n      agentSlug\n      factType\n      confidence\n      eventDate\n      occurredStart\n      occurredEnd\n      mentionedAt\n      tags\n      accessCount\n      proofCount\n      context\n      threadId\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation DeleteMemoryRecord($userId: ID!, $memoryRecordId: ID!) {\n    deleteMemoryRecord(userId: $userId, memoryRecordId: $memoryRecordId)\n  }\n"): (typeof documents)["\n  mutation DeleteMemoryRecord($userId: ID!, $memoryRecordId: ID!) {\n    deleteMemoryRecord(userId: $userId, memoryRecordId: $memoryRecordId)\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateMemoryRecord(\n    $userId: ID!\n    $memoryRecordId: ID!\n    $content: String!\n  ) {\n    updateMemoryRecord(\n      userId: $userId\n      memoryRecordId: $memoryRecordId\n      content: $content\n    )\n  }\n"): (typeof documents)["\n  mutation UpdateMemoryRecord(\n    $userId: ID!\n    $memoryRecordId: ID!\n    $content: String!\n  ) {\n    updateMemoryRecord(\n      userId: $userId\n      memoryRecordId: $memoryRecordId\n      content: $content\n    )\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation ResetUserWikiCursor(\n    $tenantId: ID!\n    $userId: ID!\n    $force: Boolean\n    $includeBrain: Boolean\n  ) {\n    resetWikiCursor(\n      tenantId: $tenantId\n      userId: $userId\n      force: $force\n      includeBrain: $includeBrain\n    ) {\n      tenantId\n      userId\n      cursorCleared\n      pagesArchived\n      brainIncluded\n      impact\n    }\n  }\n"): (typeof documents)["\n  mutation ResetUserWikiCursor(\n    $tenantId: ID!\n    $userId: ID!\n    $force: Boolean\n    $includeBrain: Boolean\n  ) {\n    resetWikiCursor(\n      tenantId: $tenantId\n      userId: $userId\n      force: $force\n      includeBrain: $includeBrain\n    ) {\n      tenantId\n      userId\n      cursorCleared\n      pagesArchived\n      brainIncluded\n      impact\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation CompileUserWikiNow(\n    $tenantId: ID!\n    $userId: ID!\n    $forceNew: Boolean\n  ) {\n    compileWikiNow(tenantId: $tenantId, userId: $userId, forceNew: $forceNew) {\n      id\n      tenantId\n      userId\n      status\n      trigger\n      attempt\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  mutation CompileUserWikiNow(\n    $tenantId: ID!\n    $userId: ID!\n    $forceNew: Boolean\n  ) {\n    compileWikiNow(tenantId: $tenantId, userId: $userId, forceNew: $forceNew) {\n      id\n      tenantId\n      userId\n      status\n      trigger\n      attempt\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query MemorySearch(\n    $userId: ID!\n    $query: String!\n    $strategy: MemoryStrategy\n    $limit: Int\n  ) {\n    memorySearch(\n      userId: $userId\n      query: $query\n      strategy: $strategy\n      limit: $limit\n    ) {\n      records {\n        memoryRecordId\n        content {\n          text\n        }\n        score\n        namespace\n        strategy\n        createdAt\n        threadId\n      }\n      totalCount\n    }\n  }\n"): (typeof documents)["\n  query MemorySearch(\n    $userId: ID!\n    $query: String!\n    $strategy: MemoryStrategy\n    $limit: Int\n  ) {\n    memorySearch(\n      userId: $userId\n      query: $query\n      strategy: $strategy\n      limit: $limit\n    ) {\n      records {\n        memoryRecordId\n        content {\n          text\n        }\n        score\n        namespace\n        strategy\n        createdAt\n        threadId\n      }\n      totalCount\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query MemorySystemConfig {\n    memorySystemConfig {\n      managedMemoryEnabled\n      hindsightEnabled\n    }\n  }\n"): (typeof documents)["\n  query MemorySystemConfig {\n    memorySystemConfig {\n      managedMemoryEnabled\n      hindsightEnabled\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ThreadIdleLearningRuns($userId: ID!, $limit: Int) {\n    threadIdleLearningRuns(userId: $userId, limit: $limit) {\n      id\n      threadId\n      computerId\n      requesterUserId\n      status\n      startedAt\n      finishedAt\n      reportS3Key\n      error\n      canRollback\n      changedFiles {\n        path\n        beforeHash\n        afterHash\n        snapshotKey\n        hindsightDocumentId\n        hindsightStatus\n      }\n    }\n  }\n"): (typeof documents)["\n  query ThreadIdleLearningRuns($userId: ID!, $limit: Int) {\n    threadIdleLearningRuns(userId: $userId, limit: $limit) {\n      id\n      threadId\n      computerId\n      requesterUserId\n      status\n      startedAt\n      finishedAt\n      reportS3Key\n      error\n      canRollback\n      changedFiles {\n        path\n        beforeHash\n        afterHash\n        snapshotKey\n        hindsightDocumentId\n        hindsightStatus\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation RollbackThreadIdleLearningRun($userId: ID!, $runId: ID!) {\n    rollbackThreadIdleLearningRun(userId: $userId, runId: $runId) {\n      id\n      status\n      error\n      canRollback\n      changedFiles {\n        path\n        hindsightStatus\n      }\n    }\n  }\n"): (typeof documents)["\n  mutation RollbackThreadIdleLearningRun($userId: ID!, $runId: ID!) {\n    rollbackThreadIdleLearningRun(userId: $userId, runId: $runId) {\n      id\n      status\n      error\n      canRollback\n      changedFiles {\n        path\n        hindsightStatus\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query OntologyDefinitions($tenantId: ID!) {\n    ontologyDefinitions(tenantId: $tenantId) {\n      tenantId\n      activeVersion {\n        id\n        versionNumber\n        status\n        sourceChangeSetId\n        activatedAt\n        createdAt\n      }\n      entityTypes {\n        id\n        slug\n        name\n        description\n        broadType\n        aliases\n        propertiesSchema\n        guidanceNotes\n        lifecycleStatus\n        approvedAt\n        updatedAt\n        facetTemplates {\n          id\n          slug\n          heading\n          facetType\n          position\n          sourcePriority\n          prompt\n          guidanceNotes\n          lifecycleStatus\n        }\n        externalMappings {\n          id\n          subjectKind\n          subjectId\n          mappingKind\n          vocabulary\n          externalUri\n          externalLabel\n          notes\n        }\n      }\n      relationshipTypes {\n        id\n        slug\n        name\n        description\n        inverseName\n        sourceTypeSlugs\n        targetTypeSlugs\n        aliases\n        guidanceNotes\n        lifecycleStatus\n        approvedAt\n        updatedAt\n        externalMappings {\n          id\n          subjectKind\n          subjectId\n          mappingKind\n          vocabulary\n          externalUri\n          externalLabel\n          notes\n        }\n      }\n      facetTemplates {\n        id\n        entityTypeId\n        slug\n        heading\n        facetType\n        position\n        sourcePriority\n        prompt\n        guidanceNotes\n        lifecycleStatus\n      }\n      externalMappings {\n        id\n        subjectKind\n        subjectId\n        mappingKind\n        vocabulary\n        externalUri\n        externalLabel\n        notes\n      }\n    }\n  }\n"): (typeof documents)["\n  query OntologyDefinitions($tenantId: ID!) {\n    ontologyDefinitions(tenantId: $tenantId) {\n      tenantId\n      activeVersion {\n        id\n        versionNumber\n        status\n        sourceChangeSetId\n        activatedAt\n        createdAt\n      }\n      entityTypes {\n        id\n        slug\n        name\n        description\n        broadType\n        aliases\n        propertiesSchema\n        guidanceNotes\n        lifecycleStatus\n        approvedAt\n        updatedAt\n        facetTemplates {\n          id\n          slug\n          heading\n          facetType\n          position\n          sourcePriority\n          prompt\n          guidanceNotes\n          lifecycleStatus\n        }\n        externalMappings {\n          id\n          subjectKind\n          subjectId\n          mappingKind\n          vocabulary\n          externalUri\n          externalLabel\n          notes\n        }\n      }\n      relationshipTypes {\n        id\n        slug\n        name\n        description\n        inverseName\n        sourceTypeSlugs\n        targetTypeSlugs\n        aliases\n        guidanceNotes\n        lifecycleStatus\n        approvedAt\n        updatedAt\n        externalMappings {\n          id\n          subjectKind\n          subjectId\n          mappingKind\n          vocabulary\n          externalUri\n          externalLabel\n          notes\n        }\n      }\n      facetTemplates {\n        id\n        entityTypeId\n        slug\n        heading\n        facetType\n        position\n        sourcePriority\n        prompt\n        guidanceNotes\n        lifecycleStatus\n      }\n      externalMappings {\n        id\n        subjectKind\n        subjectId\n        mappingKind\n        vocabulary\n        externalUri\n        externalLabel\n        notes\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query OntologyChangeSets($tenantId: ID!, $status: OntologyChangeSetStatus) {\n    ontologyChangeSets(tenantId: $tenantId, status: $status) {\n      id\n      tenantId\n      title\n      summary\n      status\n      confidence\n      observedFrequency\n      expectedImpact\n      proposedBy\n      approvedByUserId\n      approvedAt\n      rejectedByUserId\n      rejectedAt\n      appliedVersionId\n      createdAt\n      updatedAt\n      items {\n        id\n        itemType\n        action\n        status\n        targetKind\n        targetSlug\n        title\n        description\n        proposedValue\n        editedValue\n        confidence\n        position\n        evidenceExamples {\n          id\n          sourceKind\n          sourceRef\n          sourceLabel\n          quote\n          metadata\n          observedAt\n        }\n      }\n      evidenceExamples {\n        id\n        sourceKind\n        sourceRef\n        sourceLabel\n        quote\n        metadata\n        observedAt\n      }\n    }\n  }\n"): (typeof documents)["\n  query OntologyChangeSets($tenantId: ID!, $status: OntologyChangeSetStatus) {\n    ontologyChangeSets(tenantId: $tenantId, status: $status) {\n      id\n      tenantId\n      title\n      summary\n      status\n      confidence\n      observedFrequency\n      expectedImpact\n      proposedBy\n      approvedByUserId\n      approvedAt\n      rejectedByUserId\n      rejectedAt\n      appliedVersionId\n      createdAt\n      updatedAt\n      items {\n        id\n        itemType\n        action\n        status\n        targetKind\n        targetSlug\n        title\n        description\n        proposedValue\n        editedValue\n        confidence\n        position\n        evidenceExamples {\n          id\n          sourceKind\n          sourceRef\n          sourceLabel\n          quote\n          metadata\n          observedAt\n        }\n      }\n      evidenceExamples {\n        id\n        sourceKind\n        sourceRef\n        sourceLabel\n        quote\n        metadata\n        observedAt\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query OntologySuggestionScanJob($tenantId: ID!, $jobId: ID!) {\n    ontologySuggestionScanJob(tenantId: $tenantId, jobId: $jobId) {\n      id\n      status\n      trigger\n      dedupeKey\n      startedAt\n      finishedAt\n      error\n      result\n      metrics\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query OntologySuggestionScanJob($tenantId: ID!, $jobId: ID!) {\n    ontologySuggestionScanJob(tenantId: $tenantId, jobId: $jobId) {\n      id\n      status\n      trigger\n      dedupeKey\n      startedAt\n      finishedAt\n      error\n      result\n      metrics\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query OntologyReprocessJob($tenantId: ID!, $jobId: ID!) {\n    ontologyReprocessJob(tenantId: $tenantId, jobId: $jobId) {\n      id\n      changeSetId\n      ontologyVersionId\n      dedupeKey\n      status\n      attempt\n      claimedAt\n      startedAt\n      finishedAt\n      input\n      impact\n      metrics\n      error\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query OntologyReprocessJob($tenantId: ID!, $jobId: ID!) {\n    ontologyReprocessJob(tenantId: $tenantId, jobId: $jobId) {\n      id\n      changeSetId\n      ontologyVersionId\n      dedupeKey\n      status\n      attempt\n      claimedAt\n      startedAt\n      finishedAt\n      input\n      impact\n      metrics\n      error\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation StartOntologySuggestionScan(\n    $input: StartOntologySuggestionScanInput!\n  ) {\n    startOntologySuggestionScan(input: $input) {\n      id\n      status\n      trigger\n      dedupeKey\n      result\n      metrics\n      error\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation StartOntologySuggestionScan(\n    $input: StartOntologySuggestionScanInput!\n  ) {\n    startOntologySuggestionScan(input: $input) {\n      id\n      status\n      trigger\n      dedupeKey\n      result\n      metrics\n      error\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateOntologyChangeSet($input: UpdateOntologyChangeSetInput!) {\n    updateOntologyChangeSet(input: $input) {\n      id\n      title\n      summary\n      status\n      confidence\n      observedFrequency\n      expectedImpact\n      updatedAt\n      items {\n        id\n        status\n        editedValue\n        updatedAt\n      }\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateOntologyChangeSet($input: UpdateOntologyChangeSetInput!) {\n    updateOntologyChangeSet(input: $input) {\n      id\n      title\n      summary\n      status\n      confidence\n      observedFrequency\n      expectedImpact\n      updatedAt\n      items {\n        id\n        status\n        editedValue\n        updatedAt\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateOntologyEntityType($input: UpdateOntologyEntityTypeInput!) {\n    updateOntologyEntityType(input: $input) {\n      id\n      slug\n      name\n      description\n      broadType\n      aliases\n      guidanceNotes\n      lifecycleStatus\n      approvedAt\n      updatedAt\n      facetTemplates {\n        id\n        slug\n        heading\n        facetType\n        position\n        sourcePriority\n        prompt\n        guidanceNotes\n        lifecycleStatus\n      }\n      externalMappings {\n        id\n        subjectKind\n        subjectId\n        mappingKind\n        vocabulary\n        externalUri\n        externalLabel\n        notes\n      }\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateOntologyEntityType($input: UpdateOntologyEntityTypeInput!) {\n    updateOntologyEntityType(input: $input) {\n      id\n      slug\n      name\n      description\n      broadType\n      aliases\n      guidanceNotes\n      lifecycleStatus\n      approvedAt\n      updatedAt\n      facetTemplates {\n        id\n        slug\n        heading\n        facetType\n        position\n        sourcePriority\n        prompt\n        guidanceNotes\n        lifecycleStatus\n      }\n      externalMappings {\n        id\n        subjectKind\n        subjectId\n        mappingKind\n        vocabulary\n        externalUri\n        externalLabel\n        notes\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateOntologyRelationshipType(\n    $input: UpdateOntologyRelationshipTypeInput!\n  ) {\n    updateOntologyRelationshipType(input: $input) {\n      id\n      slug\n      name\n      description\n      inverseName\n      sourceTypeSlugs\n      targetTypeSlugs\n      aliases\n      guidanceNotes\n      lifecycleStatus\n      approvedAt\n      updatedAt\n      externalMappings {\n        id\n        subjectKind\n        subjectId\n        mappingKind\n        vocabulary\n        externalUri\n        externalLabel\n        notes\n      }\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateOntologyRelationshipType(\n    $input: UpdateOntologyRelationshipTypeInput!\n  ) {\n    updateOntologyRelationshipType(input: $input) {\n      id\n      slug\n      name\n      description\n      inverseName\n      sourceTypeSlugs\n      targetTypeSlugs\n      aliases\n      guidanceNotes\n      lifecycleStatus\n      approvedAt\n      updatedAt\n      externalMappings {\n        id\n        subjectKind\n        subjectId\n        mappingKind\n        vocabulary\n        externalUri\n        externalLabel\n        notes\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation ApproveOntologyChangeSet($input: ApproveOntologyChangeSetInput!) {\n    approveOntologyChangeSet(input: $input) {\n      id\n      status\n      approvedAt\n      appliedVersionId\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation ApproveOntologyChangeSet($input: ApproveOntologyChangeSetInput!) {\n    approveOntologyChangeSet(input: $input) {\n      id\n      status\n      approvedAt\n      appliedVersionId\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation RejectOntologyChangeSet($input: RejectOntologyChangeSetInput!) {\n    rejectOntologyChangeSet(input: $input) {\n      id\n      status\n      rejectedAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation RejectOntologyChangeSet($input: RejectOntologyChangeSetInput!) {\n    rejectOntologyChangeSet(input: $input) {\n      id\n      status\n      rejectedAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query TenantSandboxStatus($id: ID!) {\n    tenant(id: $id) {\n      id\n      sandboxEnabled\n      complianceTier\n      sandboxInterpreterPublicId\n      sandboxInterpreterInternalId\n    }\n  }\n"): (typeof documents)["\n  query TenantSandboxStatus($id: ID!) {\n    tenant(id: $id) {\n      id\n      sandboxEnabled\n      complianceTier\n      sandboxInterpreterPublicId\n      sandboxInterpreterInternalId\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AdminWikiPage(\n    $tenantId: ID!\n    $userId: ID!\n    $type: WikiPageType!\n    $slug: String!\n  ) {\n    wikiPage(tenantId: $tenantId, userId: $userId, type: $type, slug: $slug) {\n      id\n      type\n      entitySubtype\n      displayType\n      slug\n      title\n      summary\n      bodyMd\n      status\n      lastCompiledAt\n      updatedAt\n      aliases\n      sections {\n        id\n        sectionSlug\n        heading\n        bodyMd\n        position\n        lastSourceAt\n      }\n    }\n  }\n"): (typeof documents)["\n  query AdminWikiPage(\n    $tenantId: ID!\n    $userId: ID!\n    $type: WikiPageType!\n    $slug: String!\n  ) {\n    wikiPage(tenantId: $tenantId, userId: $userId, type: $type, slug: $slug) {\n      id\n      type\n      entitySubtype\n      displayType\n      slug\n      title\n      summary\n      bodyMd\n      status\n      lastCompiledAt\n      updatedAt\n      aliases\n      sections {\n        id\n        sectionSlug\n        heading\n        bodyMd\n        position\n        lastSourceAt\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AdminWikiBacklinks($pageId: ID!) {\n    wikiBacklinks(pageId: $pageId) {\n      id\n      type\n      entitySubtype\n      displayType\n      slug\n      title\n      summary\n    }\n  }\n"): (typeof documents)["\n  query AdminWikiBacklinks($pageId: ID!) {\n    wikiBacklinks(pageId: $pageId) {\n      id\n      type\n      entitySubtype\n      displayType\n      slug\n      title\n      summary\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AdminRecentWikiPages($userId: ID!, $limit: Int) {\n    recentWikiPages(userId: $userId, limit: $limit) {\n      id\n      type\n      entitySubtype\n      displayType\n      slug\n      title\n      summary\n      lastCompiledAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query AdminRecentWikiPages($userId: ID!, $limit: Int) {\n    recentWikiPages(userId: $userId, limit: $limit) {\n      id\n      type\n      entitySubtype\n      displayType\n      slug\n      title\n      summary\n      lastCompiledAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AdminWikiSearch(\n    $tenantId: ID!\n    $userId: ID!\n    $query: String!\n    $limit: Int\n  ) {\n    wikiSearch(\n      tenantId: $tenantId\n      userId: $userId\n      query: $query\n      limit: $limit\n    ) {\n      score\n      matchedAlias\n      page {\n        id\n        type\n        entitySubtype\n        displayType\n        slug\n        title\n        summary\n        lastCompiledAt\n        updatedAt\n      }\n    }\n  }\n"): (typeof documents)["\n  query AdminWikiSearch(\n    $tenantId: ID!\n    $userId: ID!\n    $query: String!\n    $limit: Int\n  ) {\n    wikiSearch(\n      tenantId: $tenantId\n      userId: $userId\n      query: $query\n      limit: $limit\n    ) {\n      score\n      matchedAlias\n      page {\n        id\n        type\n        entitySubtype\n        displayType\n        slug\n        title\n        summary\n        lastCompiledAt\n        updatedAt\n      }\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query AdminWikiCompileJobs($tenantId: ID!, $ownerId: ID, $limit: Int) {\n    wikiCompileJobs(tenantId: $tenantId, ownerId: $ownerId, limit: $limit) {\n      id\n      tenantId\n      ownerId\n      status\n      trigger\n      attempt\n      startedAt\n      finishedAt\n      error\n      metrics\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  query AdminWikiCompileJobs($tenantId: ID!, $ownerId: ID, $limit: Int) {\n    wikiCompileJobs(tenantId: $tenantId, ownerId: $ownerId, limit: $limit) {\n      id\n      tenantId\n      ownerId\n      status\n      trigger\n      attempt\n      startedAt\n      finishedAt\n      error\n      metrics\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query ThreadTraces($threadId: ID!, $tenantId: ID!) {\n    threadTraces(threadId: $threadId, tenantId: $tenantId) {\n      traceId\n      threadId\n      agentId\n      agentName\n      model\n      inputTokens\n      outputTokens\n      durationMs\n      costUsd\n      estimated\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  query ThreadTraces($threadId: ID!, $tenantId: ID!) {\n    threadTraces(threadId: $threadId, tenantId: $tenantId) {\n      traceId\n      threadId\n      agentId\n      agentName\n      model\n      inputTokens\n      outputTokens\n      durationMs\n      costUsd\n      estimated\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query TurnInvocationLogs($tenantId: ID!, $turnId: ID!) {\n    turnInvocationLogs(tenantId: $tenantId, turnId: $turnId) {\n      requestId\n      modelId\n      timestamp\n      inputTokenCount\n      outputTokenCount\n      cacheReadTokenCount\n      inputPreview\n      outputPreview\n      toolCount\n      costUsd\n      toolUses\n      hasToolResult\n      branch\n    }\n  }\n"): (typeof documents)["\n  query TurnInvocationLogs($tenantId: ID!, $turnId: ID!) {\n    turnInvocationLogs(tenantId: $tenantId, turnId: $turnId) {\n      requestId\n      modelId\n      timestamp\n      inputTokenCount\n      outputTokenCount\n      cacheReadTokenCount\n      inputPreview\n      outputPreview\n      toolCount\n      costUsd\n      toolUses\n      hasToolResult\n      branch\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query EvalSummary($tenantId: ID!) {\n    evalSummary(tenantId: $tenantId) {\n      totalRuns\n      latestPassRate\n      avgPassRate\n      regressionCount\n    }\n  }\n"): (typeof documents)["\n  query EvalSummary($tenantId: ID!) {\n    evalSummary(tenantId: $tenantId) {\n      totalRuns\n      latestPassRate\n      avgPassRate\n      regressionCount\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query EvalRuns($tenantId: ID!, $limit: Int, $offset: Int, $agentId: ID) {\n    evalRuns(\n      tenantId: $tenantId\n      limit: $limit\n      offset: $offset\n      agentId: $agentId\n    ) {\n      items {\n        id\n        status\n        model\n        categories\n        totalTests\n        passed\n        failed\n        passRate\n        regression\n        costUsd\n        agentId\n        agentName\n        scheduledJobId\n        startedAt\n        completedAt\n        createdAt\n      }\n      totalCount\n    }\n  }\n"): (typeof documents)["\n  query EvalRuns($tenantId: ID!, $limit: Int, $offset: Int, $agentId: ID) {\n    evalRuns(\n      tenantId: $tenantId\n      limit: $limit\n      offset: $offset\n      agentId: $agentId\n    ) {\n      items {\n        id\n        status\n        model\n        categories\n        totalTests\n        passed\n        failed\n        passRate\n        regression\n        costUsd\n        agentId\n        agentName\n        scheduledJobId\n        startedAt\n        completedAt\n        createdAt\n      }\n      totalCount\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query EvalRun($id: ID!) {\n    evalRun(id: $id) {\n      id\n      status\n      model\n      categories\n      totalTests\n      passed\n      failed\n      passRate\n      regression\n      costUsd\n      errorMessage\n      agentId\n      agentName\n      scheduledJobId\n      startedAt\n      completedAt\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  query EvalRun($id: ID!) {\n    evalRun(id: $id) {\n      id\n      status\n      model\n      categories\n      totalTests\n      passed\n      failed\n      passRate\n      regression\n      costUsd\n      errorMessage\n      agentId\n      agentName\n      scheduledJobId\n      startedAt\n      completedAt\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query EvalRunResults($runId: ID!) {\n    evalRunResults(runId: $runId) {\n      id\n      testCaseId\n      testCaseName\n      category\n      status\n      score\n      durationMs\n      agentSessionId\n      input\n      actualOutput\n      evaluatorResults\n      assertions\n      errorMessage\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  query EvalRunResults($runId: ID!) {\n    evalRunResults(runId: $runId) {\n      id\n      testCaseId\n      testCaseName\n      category\n      status\n      score\n      durationMs\n      agentSessionId\n      input\n      actualOutput\n      evaluatorResults\n      assertions\n      errorMessage\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query EvalResultSpans($runId: ID!, $testCaseId: ID!) {\n    evalResultSpans(runId: $runId, testCaseId: $testCaseId) {\n      timestamp\n      name\n      attributes\n    }\n  }\n"): (typeof documents)["\n  query EvalResultSpans($runId: ID!, $testCaseId: ID!) {\n    evalResultSpans(runId: $runId, testCaseId: $testCaseId) {\n      timestamp\n      name\n      attributes\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query EvalTimeSeries($tenantId: ID!, $days: Int) {\n    evalTimeSeries(tenantId: $tenantId, days: $days) {\n      day\n      passRate\n      runCount\n      passed\n      failed\n    }\n  }\n"): (typeof documents)["\n  query EvalTimeSeries($tenantId: ID!, $days: Int) {\n    evalTimeSeries(tenantId: $tenantId, days: $days) {\n      day\n      passRate\n      runCount\n      passed\n      failed\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query EvalTestCases($tenantId: ID!, $category: String, $search: String) {\n    evalTestCases(tenantId: $tenantId, category: $category, search: $search) {\n      id\n      name\n      category\n      query\n      systemPrompt\n      agentId\n      assertions\n      agentcoreEvaluatorIds\n      tags\n      enabled\n      source\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query EvalTestCases($tenantId: ID!, $category: String, $search: String) {\n    evalTestCases(tenantId: $tenantId, category: $category, search: $search) {\n      id\n      name\n      category\n      query\n      systemPrompt\n      agentId\n      assertions\n      agentcoreEvaluatorIds\n      tags\n      enabled\n      source\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query EvalTestCase($id: ID!) {\n    evalTestCase(id: $id) {\n      id\n      name\n      category\n      query\n      systemPrompt\n      agentId\n      assertions\n      agentcoreEvaluatorIds\n      tags\n      enabled\n      source\n      createdAt\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  query EvalTestCase($id: ID!) {\n    evalTestCase(id: $id) {\n      id\n      name\n      category\n      query\n      systemPrompt\n      agentId\n      assertions\n      agentcoreEvaluatorIds\n      tags\n      enabled\n      source\n      createdAt\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation StartEvalRun($tenantId: ID!, $input: StartEvalRunInput!) {\n    startEvalRun(tenantId: $tenantId, input: $input) {\n      id\n      status\n      categories\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  mutation StartEvalRun($tenantId: ID!, $input: StartEvalRunInput!) {\n    startEvalRun(tenantId: $tenantId, input: $input) {\n      id\n      status\n      categories\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation CreateEvalTestCase(\n    $tenantId: ID!\n    $input: CreateEvalTestCaseInput!\n  ) {\n    createEvalTestCase(tenantId: $tenantId, input: $input) {\n      id\n      name\n      category\n      query\n      systemPrompt\n      agentId\n      assertions\n      agentcoreEvaluatorIds\n      enabled\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  mutation CreateEvalTestCase(\n    $tenantId: ID!\n    $input: CreateEvalTestCaseInput!\n  ) {\n    createEvalTestCase(tenantId: $tenantId, input: $input) {\n      id\n      name\n      category\n      query\n      systemPrompt\n      agentId\n      assertions\n      agentcoreEvaluatorIds\n      enabled\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation UpdateEvalTestCase($id: ID!, $input: UpdateEvalTestCaseInput!) {\n    updateEvalTestCase(id: $id, input: $input) {\n      id\n      name\n      category\n      query\n      systemPrompt\n      agentId\n      assertions\n      agentcoreEvaluatorIds\n      enabled\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  mutation UpdateEvalTestCase($id: ID!, $input: UpdateEvalTestCaseInput!) {\n    updateEvalTestCase(id: $id, input: $input) {\n      id\n      name\n      category\n      query\n      systemPrompt\n      agentId\n      assertions\n      agentcoreEvaluatorIds\n      enabled\n      updatedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation SeedEvalTestCases($tenantId: ID!, $categories: [String!]) {\n    seedEvalTestCases(tenantId: $tenantId, categories: $categories)\n  }\n"): (typeof documents)["\n  mutation SeedEvalTestCases($tenantId: ID!, $categories: [String!]) {\n    seedEvalTestCases(tenantId: $tenantId, categories: $categories)\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation DeleteEvalTestCase($id: ID!) {\n    deleteEvalTestCase(id: $id)\n  }\n"): (typeof documents)["\n  mutation DeleteEvalTestCase($id: ID!) {\n    deleteEvalTestCase(id: $id)\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation DeleteEvalRun($id: ID!) {\n    deleteEvalRun(id: $id)\n  }\n"): (typeof documents)["\n  mutation DeleteEvalRun($id: ID!) {\n    deleteEvalRun(id: $id)\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  mutation CancelEvalRun($id: ID!) {\n    cancelEvalRun(id: $id) {\n      id\n      status\n      completedAt\n    }\n  }\n"): (typeof documents)["\n  mutation CancelEvalRun($id: ID!) {\n    cancelEvalRun(id: $id) {\n      id\n      status\n      completedAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  query EvalTestCaseHistory($testCaseId: ID!, $limit: Int) {\n    evalTestCaseHistory(testCaseId: $testCaseId, limit: $limit) {\n      id\n      runId\n      testCaseName\n      category\n      status\n      score\n      durationMs\n      input\n      expected\n      actualOutput\n      assertions\n      evaluatorResults\n      errorMessage\n      createdAt\n    }\n  }\n"): (typeof documents)["\n  query EvalTestCaseHistory($testCaseId: ID!, $limit: Int) {\n    evalTestCaseHistory(testCaseId: $testCaseId, limit: $limit) {\n      id\n      runId\n      testCaseName\n      category\n      status\n      score\n      durationMs\n      input\n      expected\n      actualOutput\n      assertions\n      evaluatorResults\n      errorMessage\n      createdAt\n    }\n  }\n"];
/**
 * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
 */
export function graphql(source: "\n  subscription OnEvalRunUpdated($tenantId: ID!) {\n    onEvalRunUpdated(tenantId: $tenantId) {\n      runId\n      tenantId\n      agentId\n      status\n      totalTests\n      passed\n      failed\n      passRate\n      errorMessage\n      updatedAt\n    }\n  }\n"): (typeof documents)["\n  subscription OnEvalRunUpdated($tenantId: ID!) {\n    onEvalRunUpdated(tenantId: $tenantId) {\n      runId\n      tenantId\n      agentId\n      status\n      totalTests\n      passed\n      failed\n      passRate\n      errorMessage\n      updatedAt\n    }\n  }\n"];

export function graphql(source: string) {
  return (documents as any)[source] ?? {};
}

export type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode<  infer TType,  any>  ? TType  : never;