GitHub Raw JSON API

browseros-ai / BrowserOS

12,951 TypeScript

🌐 The open-source Agentic browser; alternative to ChatGPT Atlas, Perplexity Comet, Dia.

BrowserOS Specification

Located in packages/browseros-agent/apps/app/schema/schema.graphql on branch HEAD

Unknown GRAPHQL 63.5 KB
Raw GRAPHQL Specification
schema {
  query: Query
  mutation: Mutation
}

"""
All input for the `bulkCreateConversationMessages` mutation.
"""
input BulkCreateConversationMessagesInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  pConversationId: String
  pMessages: [ConversationMessageInputRecordInput]
}

"""
The output of our `bulkCreateConversationMessages` mutation.
"""
type BulkCreateConversationMessagesPayload {
  """
  The exact same `clientMutationId` that was provided in the mutation input,
  unchanged and unused. May be used by a client to track mutations.
  """
  clientMutationId: String
  """
  Our root query field type. Allows us to run any query from our mutation payload.
  """
  query: Query
  result: [ConversationMessage]
}

type Conversation implements Node {
  """
  Reads and enables pagination through a set of `ConversationMessage`.
  """
  conversationMessages(
    """
    Read all values in the set after (below) this cursor.
    """
    after: Cursor
    """
    Read all values in the set before (above) this cursor.
    """
    before: Cursor
    """
    A condition to be used in determining which values should be returned by the collection.
    """
    condition: ConversationMessageCondition
    """
    Only read the first `n` values of the set.
    Max: 100
    """
    first: Int = 10
    """
    Only read the last `n` values of the set.
    Max: 100
    """
    last: Int
    """
    Skip the first `n` values from our `after` cursor, an alternative to cursor
    based pagination. May not be used with `last`.
    """
    offset: Int
    """
    The method to use when ordering `ConversationMessage`.
    """
    orderBy: [ConversationMessageOrderBy!] = [PRIMARY_KEY_ASC]
  ): ConversationMessageConnection!
  createdAt: Datetime!
  """
  A globally unique identifier. Can be used in various places throughout the system to identify this single value.
  """
  id: ID!
  lastMessagedAt: Datetime!
  """
  Reads a single `Profile` that is related to this `Conversation`.
  """
  profile: Profile
  profileId: String!
  rowId: String!
}

"""
A condition to be used against `Conversation` object types. All fields are
tested for equality and combined with a logical ‘and.’
"""
input ConversationCondition {
  """
  Checks for equality with the object’s `lastMessagedAt` field.
  """
  lastMessagedAt: Datetime
  """
  Checks for equality with the object’s `profileId` field.
  """
  profileId: String
  """
  Checks for equality with the object’s `rowId` field.
  """
  rowId: String
}

"""
A connection to a list of `Conversation` values.
"""
type ConversationConnection {
  """
  A list of edges which contains the `Conversation` and cursor to aid in pagination.
  """
  edges: [ConversationEdge]!
  """
  A list of `Conversation` objects.
  """
  nodes: [Conversation]!
  """
  Information to aid in pagination.
  """
  pageInfo: PageInfo!
  """
  The count of *all* `Conversation` you could get from the connection.
  """
  totalCount: Int!
}

"""
A `Conversation` edge in the connection.
"""
type ConversationEdge {
  """
  A cursor for use in pagination.
  """
  cursor: Cursor
  """
  The `Conversation` at the end of the edge.
  """
  node: Conversation
}

"""
An input for mutations affecting `Conversation`
"""
input ConversationInput {
  createdAt: Datetime
  lastMessagedAt: Datetime
  profileId: String!
  rowId: String!
}

type ConversationMessage implements Node {
  """
  Reads a single `Conversation` that is related to this `ConversationMessage`.
  """
  conversation: Conversation
  conversationId: String!
  createdAt: Datetime!
  """
  A globally unique identifier. Can be used in various places throughout the system to identify this single value.
  """
  id: ID!
  message: JSON!
  orderIndex: Int!
  rowId: String!
}

"""
A condition to be used against `ConversationMessage` object types. All fields
are tested for equality and combined with a logical ‘and.’
"""
input ConversationMessageCondition {
  """
  Checks for equality with the object’s `conversationId` field.
  """
  conversationId: String
  """
  Checks for equality with the object’s `orderIndex` field.
  """
  orderIndex: Int
  """
  Checks for equality with the object’s `rowId` field.
  """
  rowId: String
}

"""
A connection to a list of `ConversationMessage` values.
"""
type ConversationMessageConnection {
  """
  A list of edges which contains the `ConversationMessage` and cursor to aid in pagination.
  """
  edges: [ConversationMessageEdge]!
  """
  A list of `ConversationMessage` objects.
  """
  nodes: [ConversationMessage]!
  """
  Information to aid in pagination.
  """
  pageInfo: PageInfo!
  """
  The count of *all* `ConversationMessage` you could get from the connection.
  """
  totalCount: Int!
}

"""
A `ConversationMessage` edge in the connection.
"""
type ConversationMessageEdge {
  """
  A cursor for use in pagination.
  """
  cursor: Cursor
  """
  The `ConversationMessage` at the end of the edge.
  """
  node: ConversationMessage
}

"""
An input for mutations affecting `ConversationMessage`
"""
input ConversationMessageInput {
  conversationId: String!
  createdAt: Datetime
  message: JSON!
  orderIndex: Int!
  rowId: String!
}

"""
An input for mutations affecting `ConversationMessageInputRecord`
"""
input ConversationMessageInputRecordInput {
  message: JSON
  orderIndex: Int
}

"""
Methods to use when ordering `ConversationMessage`.
"""
enum ConversationMessageOrderBy {
  CONVERSATION_ID_ASC
  CONVERSATION_ID_DESC
  NATURAL
  ORDER_INDEX_ASC
  ORDER_INDEX_DESC
  PRIMARY_KEY_ASC
  PRIMARY_KEY_DESC
  ROW_ID_ASC
  ROW_ID_DESC
}

"""
Represents an update to a `ConversationMessage`. Fields that are set will be updated.
"""
input ConversationMessagePatch {
  conversationId: String
  createdAt: Datetime
  message: JSON
  orderIndex: Int
  rowId: String
}

"""
Methods to use when ordering `Conversation`.
"""
enum ConversationOrderBy {
  LAST_MESSAGED_AT_ASC
  LAST_MESSAGED_AT_DESC
  NATURAL
  PRIMARY_KEY_ASC
  PRIMARY_KEY_DESC
  PROFILE_ID_ASC
  PROFILE_ID_DESC
  ROW_ID_ASC
  ROW_ID_DESC
}

"""
Represents an update to a `Conversation`. Fields that are set will be updated.
"""
input ConversationPatch {
  createdAt: Datetime
  lastMessagedAt: Datetime
  profileId: String
  rowId: String
}

"""
All input for the create `Conversation` mutation.
"""
input CreateConversationInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  The `Conversation` to be created by this mutation.
  """
  conversation: ConversationInput!
}

"""
All input for the create `ConversationMessage` mutation.
"""
input CreateConversationMessageInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  The `ConversationMessage` to be created by this mutation.
  """
  conversationMessage: ConversationMessageInput!
}

"""
The output of our create `ConversationMessage` mutation.
"""
type CreateConversationMessagePayload {
  """
  The exact same `clientMutationId` that was provided in the mutation input,
  unchanged and unused. May be used by a client to track mutations.
  """
  clientMutationId: String
  """
  The `ConversationMessage` that was created by this mutation.
  """
  conversationMessage: ConversationMessage
  """
  An edge for our `ConversationMessage`. May be used by Relay 1.
  """
  conversationMessageEdge(
    """
    The method to use when ordering `ConversationMessage`.
    """
    orderBy: [ConversationMessageOrderBy!]! = [PRIMARY_KEY_ASC]
  ): ConversationMessageEdge
  """
  Our root query field type. Allows us to run any query from our mutation payload.
  """
  query: Query
}

"""
The output of our create `Conversation` mutation.
"""
type CreateConversationPayload {
  """
  The exact same `clientMutationId` that was provided in the mutation input,
  unchanged and unused. May be used by a client to track mutations.
  """
  clientMutationId: String
  """
  The `Conversation` that was created by this mutation.
  """
  conversation: Conversation
  """
  An edge for our `Conversation`. May be used by Relay 1.
  """
  conversationEdge(
    """
    The method to use when ordering `Conversation`.
    """
    orderBy: [ConversationOrderBy!]! = [PRIMARY_KEY_ASC]
  ): ConversationEdge
  """
  Our root query field type. Allows us to run any query from our mutation payload.
  """
  query: Query
}

"""
All input for the create `LlmProvider` mutation.
"""
input CreateLlmProviderInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  The `LlmProvider` to be created by this mutation.
  """
  llmProvider: LlmProviderInput!
}

"""
The output of our create `LlmProvider` mutation.
"""
type CreateLlmProviderPayload {
  """
  The exact same `clientMutationId` that was provided in the mutation input,
  unchanged and unused. May be used by a client to track mutations.
  """
  clientMutationId: String
  """
  The `LlmProvider` that was created by this mutation.
  """
  llmProvider: LlmProvider
  """
  An edge for our `LlmProvider`. May be used by Relay 1.
  """
  llmProviderEdge(
    """
    The method to use when ordering `LlmProvider`.
    """
    orderBy: [LlmProviderOrderBy!]! = [PRIMARY_KEY_ASC]
  ): LlmProviderEdge
  """
  Our root query field type. Allows us to run any query from our mutation payload.
  """
  query: Query
}

"""
All input for the create `Profile` mutation.
"""
input CreateProfileInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  The `Profile` to be created by this mutation.
  """
  profile: ProfileInput!
}

"""
The output of our create `Profile` mutation.
"""
type CreateProfilePayload {
  """
  The exact same `clientMutationId` that was provided in the mutation input,
  unchanged and unused. May be used by a client to track mutations.
  """
  clientMutationId: String
  """
  The `Profile` that was created by this mutation.
  """
  profile: Profile
  """
  An edge for our `Profile`. May be used by Relay 1.
  """
  profileEdge(
    """
    The method to use when ordering `Profile`.
    """
    orderBy: [ProfileOrderBy!]! = [PRIMARY_KEY_ASC]
  ): ProfileEdge
  """
  Our root query field type. Allows us to run any query from our mutation payload.
  """
  query: Query
}

"""
All input for the create `ScheduledJob` mutation.
"""
input CreateScheduledJobInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  The `ScheduledJob` to be created by this mutation.
  """
  scheduledJob: ScheduledJobInput!
}

"""
The output of our create `ScheduledJob` mutation.
"""
type CreateScheduledJobPayload {
  """
  The exact same `clientMutationId` that was provided in the mutation input,
  unchanged and unused. May be used by a client to track mutations.
  """
  clientMutationId: String
  """
  Our root query field type. Allows us to run any query from our mutation payload.
  """
  query: Query
  """
  The `ScheduledJob` that was created by this mutation.
  """
  scheduledJob: ScheduledJob
  """
  An edge for our `ScheduledJob`. May be used by Relay 1.
  """
  scheduledJobEdge(
    """
    The method to use when ordering `ScheduledJob`.
    """
    orderBy: [ScheduledJobOrderBy!]! = [PRIMARY_KEY_ASC]
  ): ScheduledJobEdge
}

"""
All input for the create `ScheduledJobRun` mutation.
"""
input CreateScheduledJobRunInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  The `ScheduledJobRun` to be created by this mutation.
  """
  scheduledJobRun: ScheduledJobRunInput!
}

"""
The output of our create `ScheduledJobRun` mutation.
"""
type CreateScheduledJobRunPayload {
  """
  The exact same `clientMutationId` that was provided in the mutation input,
  unchanged and unused. May be used by a client to track mutations.
  """
  clientMutationId: String
  """
  Our root query field type. Allows us to run any query from our mutation payload.
  """
  query: Query
  """
  The `ScheduledJobRun` that was created by this mutation.
  """
  scheduledJobRun: ScheduledJobRun
  """
  An edge for our `ScheduledJobRun`. May be used by Relay 1.
  """
  scheduledJobRunEdge(
    """
    The method to use when ordering `ScheduledJobRun`.
    """
    orderBy: [ScheduledJobRunOrderBy!]! = [PRIMARY_KEY_ASC]
  ): ScheduledJobRunEdge
}

"""
A location in a connection that can be used for resuming pagination.
"""
scalar Cursor

"""
A point in time as described by the [ISO
8601](https://en.wikipedia.org/wiki/ISO_8601) and, if it has a timezone, [RFC
3339](https://datatracker.ietf.org/doc/html/rfc3339) standards. Input values
that do not conform to both ISO 8601 and RFC 3339 may be coerced, which may lead
to unexpected results.
"""
scalar Datetime

"""
All input for the `deleteConversationById` mutation.
"""
input DeleteConversationByIdInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  The globally unique `ID` which will identify a single `Conversation` to be deleted.
  """
  id: ID!
}

"""
All input for the `deleteConversation` mutation.
"""
input DeleteConversationInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  rowId: String!
}

"""
All input for the `deleteConversationMessageById` mutation.
"""
input DeleteConversationMessageByIdInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  The globally unique `ID` which will identify a single `ConversationMessage` to be deleted.
  """
  id: ID!
}

"""
All input for the `deleteConversationMessage` mutation.
"""
input DeleteConversationMessageInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  rowId: String!
}

"""
The output of our delete `ConversationMessage` mutation.
"""
type DeleteConversationMessagePayload {
  """
  The exact same `clientMutationId` that was provided in the mutation input,
  unchanged and unused. May be used by a client to track mutations.
  """
  clientMutationId: String
  """
  The `ConversationMessage` that was deleted by this mutation.
  """
  conversationMessage: ConversationMessage
  """
  An edge for our `ConversationMessage`. May be used by Relay 1.
  """
  conversationMessageEdge(
    """
    The method to use when ordering `ConversationMessage`.
    """
    orderBy: [ConversationMessageOrderBy!]! = [PRIMARY_KEY_ASC]
  ): ConversationMessageEdge
  deletedConversationMessageId: ID
  """
  Our root query field type. Allows us to run any query from our mutation payload.
  """
  query: Query
}

"""
The output of our delete `Conversation` mutation.
"""
type DeleteConversationPayload {
  """
  The exact same `clientMutationId` that was provided in the mutation input,
  unchanged and unused. May be used by a client to track mutations.
  """
  clientMutationId: String
  """
  The `Conversation` that was deleted by this mutation.
  """
  conversation: Conversation
  """
  An edge for our `Conversation`. May be used by Relay 1.
  """
  conversationEdge(
    """
    The method to use when ordering `Conversation`.
    """
    orderBy: [ConversationOrderBy!]! = [PRIMARY_KEY_ASC]
  ): ConversationEdge
  deletedConversationId: ID
  """
  Our root query field type. Allows us to run any query from our mutation payload.
  """
  query: Query
}

"""
All input for the `deleteLlmProviderById` mutation.
"""
input DeleteLlmProviderByIdInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  The globally unique `ID` which will identify a single `LlmProvider` to be deleted.
  """
  id: ID!
}

"""
All input for the `deleteLlmProvider` mutation.
"""
input DeleteLlmProviderInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  rowId: String!
}

"""
The output of our delete `LlmProvider` mutation.
"""
type DeleteLlmProviderPayload {
  """
  The exact same `clientMutationId` that was provided in the mutation input,
  unchanged and unused. May be used by a client to track mutations.
  """
  clientMutationId: String
  deletedLlmProviderId: ID
  """
  The `LlmProvider` that was deleted by this mutation.
  """
  llmProvider: LlmProvider
  """
  An edge for our `LlmProvider`. May be used by Relay 1.
  """
  llmProviderEdge(
    """
    The method to use when ordering `LlmProvider`.
    """
    orderBy: [LlmProviderOrderBy!]! = [PRIMARY_KEY_ASC]
  ): LlmProviderEdge
  """
  Our root query field type. Allows us to run any query from our mutation payload.
  """
  query: Query
}

"""
All input for the `deleteProfileById` mutation.
"""
input DeleteProfileByIdInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  The globally unique `ID` which will identify a single `Profile` to be deleted.
  """
  id: ID!
}

"""
All input for the `deleteProfileByUserId` mutation.
"""
input DeleteProfileByUserIdInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  userId: String!
}

"""
All input for the `deleteProfile` mutation.
"""
input DeleteProfileInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  rowId: String!
}

"""
The output of our delete `Profile` mutation.
"""
type DeleteProfilePayload {
  """
  The exact same `clientMutationId` that was provided in the mutation input,
  unchanged and unused. May be used by a client to track mutations.
  """
  clientMutationId: String
  deletedProfileId: ID
  """
  The `Profile` that was deleted by this mutation.
  """
  profile: Profile
  """
  An edge for our `Profile`. May be used by Relay 1.
  """
  profileEdge(
    """
    The method to use when ordering `Profile`.
    """
    orderBy: [ProfileOrderBy!]! = [PRIMARY_KEY_ASC]
  ): ProfileEdge
  """
  Our root query field type. Allows us to run any query from our mutation payload.
  """
  query: Query
}

"""
All input for the `deleteScheduledJobById` mutation.
"""
input DeleteScheduledJobByIdInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  The globally unique `ID` which will identify a single `ScheduledJob` to be deleted.
  """
  id: ID!
}

"""
All input for the `deleteScheduledJob` mutation.
"""
input DeleteScheduledJobInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  rowId: String!
}

"""
The output of our delete `ScheduledJob` mutation.
"""
type DeleteScheduledJobPayload {
  """
  The exact same `clientMutationId` that was provided in the mutation input,
  unchanged and unused. May be used by a client to track mutations.
  """
  clientMutationId: String
  deletedScheduledJobId: ID
  """
  Our root query field type. Allows us to run any query from our mutation payload.
  """
  query: Query
  """
  The `ScheduledJob` that was deleted by this mutation.
  """
  scheduledJob: ScheduledJob
  """
  An edge for our `ScheduledJob`. May be used by Relay 1.
  """
  scheduledJobEdge(
    """
    The method to use when ordering `ScheduledJob`.
    """
    orderBy: [ScheduledJobOrderBy!]! = [PRIMARY_KEY_ASC]
  ): ScheduledJobEdge
}

"""
All input for the `deleteScheduledJobRunById` mutation.
"""
input DeleteScheduledJobRunByIdInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  The globally unique `ID` which will identify a single `ScheduledJobRun` to be deleted.
  """
  id: ID!
}

"""
All input for the `deleteScheduledJobRun` mutation.
"""
input DeleteScheduledJobRunInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  rowId: String!
}

"""
The output of our delete `ScheduledJobRun` mutation.
"""
type DeleteScheduledJobRunPayload {
  """
  The exact same `clientMutationId` that was provided in the mutation input,
  unchanged and unused. May be used by a client to track mutations.
  """
  clientMutationId: String
  deletedScheduledJobRunId: ID
  """
  Our root query field type. Allows us to run any query from our mutation payload.
  """
  query: Query
  """
  The `ScheduledJobRun` that was deleted by this mutation.
  """
  scheduledJobRun: ScheduledJobRun
  """
  An edge for our `ScheduledJobRun`. May be used by Relay 1.
  """
  scheduledJobRunEdge(
    """
    The method to use when ordering `ScheduledJobRun`.
    """
    orderBy: [ScheduledJobRunOrderBy!]! = [PRIMARY_KEY_ASC]
  ): ScheduledJobRunEdge
}

"""
Represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
"""
scalar JSON

type LlmProvider implements Node {
  baseUrl: String
  contextWindow: Int
  createdAt: Datetime!
  """
  A globally unique identifier. Can be used in various places throughout the system to identify this single value.
  """
  id: ID!
  modelId: String!
  name: String!
  """
  Reads a single `Profile` that is related to this `LlmProvider`.
  """
  profile: Profile
  profileId: String!
  region: String
  resourceName: String
  rowId: String!
  supportsImages: Boolean!
  temperature: Float
  type: String!
  updatedAt: Datetime!
}

"""
A condition to be used against `LlmProvider` object types. All fields are tested
for equality and combined with a logical ‘and.’
"""
input LlmProviderCondition {
  """
  Checks for equality with the object’s `profileId` field.
  """
  profileId: String
  """
  Checks for equality with the object’s `rowId` field.
  """
  rowId: String
}

"""
A connection to a list of `LlmProvider` values.
"""
type LlmProviderConnection {
  """
  A list of edges which contains the `LlmProvider` and cursor to aid in pagination.
  """
  edges: [LlmProviderEdge]!
  """
  A list of `LlmProvider` objects.
  """
  nodes: [LlmProvider]!
  """
  Information to aid in pagination.
  """
  pageInfo: PageInfo!
  """
  The count of *all* `LlmProvider` you could get from the connection.
  """
  totalCount: Int!
}

"""
A `LlmProvider` edge in the connection.
"""
type LlmProviderEdge {
  """
  A cursor for use in pagination.
  """
  cursor: Cursor
  """
  The `LlmProvider` at the end of the edge.
  """
  node: LlmProvider
}

"""
An input for mutations affecting `LlmProvider`
"""
input LlmProviderInput {
  baseUrl: String
  contextWindow: Int
  createdAt: Datetime
  modelId: String!
  name: String!
  profileId: String!
  region: String
  resourceName: String
  rowId: String!
  supportsImages: Boolean
  temperature: Float
  type: String!
  updatedAt: Datetime
}

"""
Methods to use when ordering `LlmProvider`.
"""
enum LlmProviderOrderBy {
  NATURAL
  PRIMARY_KEY_ASC
  PRIMARY_KEY_DESC
  PROFILE_ID_ASC
  PROFILE_ID_DESC
  ROW_ID_ASC
  ROW_ID_DESC
}

"""
Represents an update to a `LlmProvider`. Fields that are set will be updated.
"""
input LlmProviderPatch {
  baseUrl: String
  contextWindow: Int
  createdAt: Datetime
  modelId: String
  name: String
  profileId: String
  region: String
  resourceName: String
  rowId: String
  supportsImages: Boolean
  temperature: Float
  type: String
  updatedAt: Datetime
}

"""
The root mutation type which contains root level fields which mutate data.
"""
type Mutation {
  """
  Bulk insert up to 50 messages into a conversation. Each item must have {orderIndex: number, message: object}. Returns the created messages.
  """
  bulkCreateConversationMessages(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: BulkCreateConversationMessagesInput!
  ): BulkCreateConversationMessagesPayload
  """
  Creates a single `Conversation`.
  """
  createConversation(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: CreateConversationInput!
  ): CreateConversationPayload
  """
  Creates a single `ConversationMessage`.
  """
  createConversationMessage(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: CreateConversationMessageInput!
  ): CreateConversationMessagePayload
  """
  Creates a single `LlmProvider`.
  """
  createLlmProvider(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: CreateLlmProviderInput!
  ): CreateLlmProviderPayload
  """
  Creates a single `Profile`.
  """
  createProfile(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: CreateProfileInput!
  ): CreateProfilePayload
  """
  Creates a single `ScheduledJob`.
  """
  createScheduledJob(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: CreateScheduledJobInput!
  ): CreateScheduledJobPayload
  """
  Creates a single `ScheduledJobRun`.
  """
  createScheduledJobRun(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: CreateScheduledJobRunInput!
  ): CreateScheduledJobRunPayload
  """
  Deletes a single `Conversation` using a unique key.
  """
  deleteConversation(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: DeleteConversationInput!
  ): DeleteConversationPayload
  """
  Deletes a single `Conversation` using its globally unique id.
  """
  deleteConversationById(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: DeleteConversationByIdInput!
  ): DeleteConversationPayload
  """
  Deletes a single `ConversationMessage` using a unique key.
  """
  deleteConversationMessage(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: DeleteConversationMessageInput!
  ): DeleteConversationMessagePayload
  """
  Deletes a single `ConversationMessage` using its globally unique id.
  """
  deleteConversationMessageById(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: DeleteConversationMessageByIdInput!
  ): DeleteConversationMessagePayload
  """
  Deletes a single `LlmProvider` using a unique key.
  """
  deleteLlmProvider(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: DeleteLlmProviderInput!
  ): DeleteLlmProviderPayload
  """
  Deletes a single `LlmProvider` using its globally unique id.
  """
  deleteLlmProviderById(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: DeleteLlmProviderByIdInput!
  ): DeleteLlmProviderPayload
  """
  Deletes a single `Profile` using a unique key.
  """
  deleteProfile(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: DeleteProfileInput!
  ): DeleteProfilePayload
  """
  Deletes a single `Profile` using its globally unique id.
  """
  deleteProfileById(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: DeleteProfileByIdInput!
  ): DeleteProfilePayload
  """
  Deletes a single `Profile` using a unique key.
  """
  deleteProfileByUserId(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: DeleteProfileByUserIdInput!
  ): DeleteProfilePayload
  """
  Deletes a single `ScheduledJob` using a unique key.
  """
  deleteScheduledJob(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: DeleteScheduledJobInput!
  ): DeleteScheduledJobPayload
  """
  Deletes a single `ScheduledJob` using its globally unique id.
  """
  deleteScheduledJobById(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: DeleteScheduledJobByIdInput!
  ): DeleteScheduledJobPayload
  """
  Deletes a single `ScheduledJobRun` using a unique key.
  """
  deleteScheduledJobRun(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: DeleteScheduledJobRunInput!
  ): DeleteScheduledJobRunPayload
  """
  Deletes a single `ScheduledJobRun` using its globally unique id.
  """
  deleteScheduledJobRunById(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: DeleteScheduledJobRunByIdInput!
  ): DeleteScheduledJobRunPayload
  """
  Updates a single `Conversation` using a unique key and a patch.
  """
  updateConversation(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: UpdateConversationInput!
  ): UpdateConversationPayload
  """
  Updates a single `Conversation` using its globally unique id and a patch.
  """
  updateConversationById(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: UpdateConversationByIdInput!
  ): UpdateConversationPayload
  """
  Updates a single `ConversationMessage` using a unique key and a patch.
  """
  updateConversationMessage(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: UpdateConversationMessageInput!
  ): UpdateConversationMessagePayload
  """
  Updates a single `ConversationMessage` using its globally unique id and a patch.
  """
  updateConversationMessageById(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: UpdateConversationMessageByIdInput!
  ): UpdateConversationMessagePayload
  """
  Updates a single `LlmProvider` using a unique key and a patch.
  """
  updateLlmProvider(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: UpdateLlmProviderInput!
  ): UpdateLlmProviderPayload
  """
  Updates a single `LlmProvider` using its globally unique id and a patch.
  """
  updateLlmProviderById(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: UpdateLlmProviderByIdInput!
  ): UpdateLlmProviderPayload
  """
  Updates a single `Profile` using a unique key and a patch.
  """
  updateProfile(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: UpdateProfileInput!
  ): UpdateProfilePayload
  """
  Updates a single `Profile` using its globally unique id and a patch.
  """
  updateProfileById(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: UpdateProfileByIdInput!
  ): UpdateProfilePayload
  """
  Updates a single `Profile` using a unique key and a patch.
  """
  updateProfileByUserId(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: UpdateProfileByUserIdInput!
  ): UpdateProfilePayload
  """
  Updates a single `ScheduledJob` using a unique key and a patch.
  """
  updateScheduledJob(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: UpdateScheduledJobInput!
  ): UpdateScheduledJobPayload
  """
  Updates a single `ScheduledJob` using its globally unique id and a patch.
  """
  updateScheduledJobById(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: UpdateScheduledJobByIdInput!
  ): UpdateScheduledJobPayload
  """
  Updates a single `ScheduledJobRun` using a unique key and a patch.
  """
  updateScheduledJobRun(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: UpdateScheduledJobRunInput!
  ): UpdateScheduledJobRunPayload
  """
  Updates a single `ScheduledJobRun` using its globally unique id and a patch.
  """
  updateScheduledJobRunById(
    """
    The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
    """
    input: UpdateScheduledJobRunByIdInput!
  ): UpdateScheduledJobRunPayload
}

"""
An object with a globally unique `ID`.
"""
interface Node {
  """
  A globally unique identifier. Can be used in various places throughout the system to identify this single value.
  """
  id: ID!
}

"""
Information about pagination in a connection.
"""
type PageInfo {
  """
  When paginating forwards, the cursor to continue.
  """
  endCursor: Cursor
  """
  When paginating forwards, are there more items?
  """
  hasNextPage: Boolean!
  """
  When paginating backwards, are there more items?
  """
  hasPreviousPage: Boolean!
  """
  When paginating backwards, the cursor to continue.
  """
  startCursor: Cursor
}

type Profile implements Node {
  avatarUrl: String
  """
  Reads and enables pagination through a set of `Conversation`.
  """
  conversations(
    """
    Read all values in the set after (below) this cursor.
    """
    after: Cursor
    """
    Read all values in the set before (above) this cursor.
    """
    before: Cursor
    """
    A condition to be used in determining which values should be returned by the collection.
    """
    condition: ConversationCondition
    """
    Only read the first `n` values of the set.
    Max: 100
    """
    first: Int = 10
    """
    Only read the last `n` values of the set.
    Max: 100
    """
    last: Int
    """
    Skip the first `n` values from our `after` cursor, an alternative to cursor
    based pagination. May not be used with `last`.
    """
    offset: Int
    """
    The method to use when ordering `Conversation`.
    """
    orderBy: [ConversationOrderBy!] = [PRIMARY_KEY_ASC]
  ): ConversationConnection!
  createdAt: Datetime!
  firstName: String
  """
  A globally unique identifier. Can be used in various places throughout the system to identify this single value.
  """
  id: ID!
  lastName: String
  """
  Reads and enables pagination through a set of `LlmProvider`.
  """
  llmProviders(
    """
    Read all values in the set after (below) this cursor.
    """
    after: Cursor
    """
    Read all values in the set before (above) this cursor.
    """
    before: Cursor
    """
    A condition to be used in determining which values should be returned by the collection.
    """
    condition: LlmProviderCondition
    """
    Only read the first `n` values of the set.
    Max: 100
    """
    first: Int = 10
    """
    Only read the last `n` values of the set.
    Max: 100
    """
    last: Int
    """
    Skip the first `n` values from our `after` cursor, an alternative to cursor
    based pagination. May not be used with `last`.
    """
    offset: Int
    """
    The method to use when ordering `LlmProvider`.
    """
    orderBy: [LlmProviderOrderBy!] = [PRIMARY_KEY_ASC]
  ): LlmProviderConnection!
  preferences: JSON
  rowId: String!
  """
  Reads and enables pagination through a set of `ScheduledJob`.
  """
  scheduledJobs(
    """
    Read all values in the set after (below) this cursor.
    """
    after: Cursor
    """
    Read all values in the set before (above) this cursor.
    """
    before: Cursor
    """
    A condition to be used in determining which values should be returned by the collection.
    """
    condition: ScheduledJobCondition
    """
    Only read the first `n` values of the set.
    Max: 100
    """
    first: Int = 10
    """
    Only read the last `n` values of the set.
    Max: 100
    """
    last: Int
    """
    Skip the first `n` values from our `after` cursor, an alternative to cursor
    based pagination. May not be used with `last`.
    """
    offset: Int
    """
    The method to use when ordering `ScheduledJob`.
    """
    orderBy: [ScheduledJobOrderBy!] = [PRIMARY_KEY_ASC]
  ): ScheduledJobConnection!
  updatedAt: Datetime!
  userId: String!
}

"""
A condition to be used against `Profile` object types. All fields are tested for equality and combined with a logical ‘and.’
"""
input ProfileCondition {
  """
  Checks for equality with the object’s `rowId` field.
  """
  rowId: String
  """
  Checks for equality with the object’s `userId` field.
  """
  userId: String
}

"""
A connection to a list of `Profile` values.
"""
type ProfileConnection {
  """
  A list of edges which contains the `Profile` and cursor to aid in pagination.
  """
  edges: [ProfileEdge]!
  """
  A list of `Profile` objects.
  """
  nodes: [Profile]!
  """
  Information to aid in pagination.
  """
  pageInfo: PageInfo!
  """
  The count of *all* `Profile` you could get from the connection.
  """
  totalCount: Int!
}

"""
A `Profile` edge in the connection.
"""
type ProfileEdge {
  """
  A cursor for use in pagination.
  """
  cursor: Cursor
  """
  The `Profile` at the end of the edge.
  """
  node: Profile
}

"""
An input for mutations affecting `Profile`
"""
input ProfileInput {
  avatarUrl: String
  createdAt: Datetime
  firstName: String
  lastName: String
  preferences: JSON
  rowId: String!
  updatedAt: Datetime
  userId: String!
}

"""
Methods to use when ordering `Profile`.
"""
enum ProfileOrderBy {
  NATURAL
  PRIMARY_KEY_ASC
  PRIMARY_KEY_DESC
  ROW_ID_ASC
  ROW_ID_DESC
  USER_ID_ASC
  USER_ID_DESC
}

"""
Represents an update to a `Profile`. Fields that are set will be updated.
"""
input ProfilePatch {
  avatarUrl: String
  createdAt: Datetime
  firstName: String
  lastName: String
  preferences: JSON
  rowId: String
  updatedAt: Datetime
  userId: String
}

"""
The root query type which gives access points into the data universe.
"""
type Query implements Node {
  """
  Get a single `Conversation`.
  """
  conversation(rowId: String!): Conversation
  """
  Reads a single `Conversation` using its globally unique `ID`.
  """
  conversationById(
    """
    The globally unique `ID` to be used in selecting a single `Conversation`.
    """
    id: ID!
  ): Conversation
  """
  Check if a conversation exists and is accessible to the current user.
  """
  conversationExists(pConversationId: String): Boolean
  """
  Get a single `ConversationMessage`.
  """
  conversationMessage(rowId: String!): ConversationMessage
  """
  Reads a single `ConversationMessage` using its globally unique `ID`.
  """
  conversationMessageById(
    """
    The globally unique `ID` to be used in selecting a single `ConversationMessage`.
    """
    id: ID!
  ): ConversationMessage
  """
  Reads and enables pagination through a set of `ConversationMessage`.
  """
  conversationMessages(
    """
    Read all values in the set after (below) this cursor.
    """
    after: Cursor
    """
    Read all values in the set before (above) this cursor.
    """
    before: Cursor
    """
    A condition to be used in determining which values should be returned by the collection.
    """
    condition: ConversationMessageCondition
    """
    Only read the first `n` values of the set.
    Max: 100
    """
    first: Int = 10
    """
    Only read the last `n` values of the set.
    Max: 100
    """
    last: Int
    """
    Skip the first `n` values from our `after` cursor, an alternative to cursor
    based pagination. May not be used with `last`.
    """
    offset: Int
    """
    The method to use when ordering `ConversationMessage`.
    """
    orderBy: [ConversationMessageOrderBy!] = [PRIMARY_KEY_ASC]
  ): ConversationMessageConnection
  """
  Reads and enables pagination through a set of `Conversation`.
  """
  conversations(
    """
    Read all values in the set after (below) this cursor.
    """
    after: Cursor
    """
    Read all values in the set before (above) this cursor.
    """
    before: Cursor
    """
    A condition to be used in determining which values should be returned by the collection.
    """
    condition: ConversationCondition
    """
    Only read the first `n` values of the set.
    Max: 100
    """
    first: Int = 10
    """
    Only read the last `n` values of the set.
    Max: 100
    """
    last: Int
    """
    Skip the first `n` values from our `after` cursor, an alternative to cursor
    based pagination. May not be used with `last`.
    """
    offset: Int
    """
    The method to use when ordering `Conversation`.
    """
    orderBy: [ConversationOrderBy!] = [PRIMARY_KEY_ASC]
  ): ConversationConnection
  """
  The root query type must be a `Node` to work well with Relay 1 mutations. This just resolves to `query`.
  """
  id: ID!
  """
  Get a single `LlmProvider`.
  """
  llmProvider(rowId: String!): LlmProvider
  """
  Reads a single `LlmProvider` using its globally unique `ID`.
  """
  llmProviderById(
    """
    The globally unique `ID` to be used in selecting a single `LlmProvider`.
    """
    id: ID!
  ): LlmProvider
  """
  Reads and enables pagination through a set of `LlmProvider`.
  """
  llmProviders(
    """
    Read all values in the set after (below) this cursor.
    """
    after: Cursor
    """
    Read all values in the set before (above) this cursor.
    """
    before: Cursor
    """
    A condition to be used in determining which values should be returned by the collection.
    """
    condition: LlmProviderCondition
    """
    Only read the first `n` values of the set.
    Max: 100
    """
    first: Int = 10
    """
    Only read the last `n` values of the set.
    Max: 100
    """
    last: Int
    """
    Skip the first `n` values from our `after` cursor, an alternative to cursor
    based pagination. May not be used with `last`.
    """
    offset: Int
    """
    The method to use when ordering `LlmProvider`.
    """
    orderBy: [LlmProviderOrderBy!] = [PRIMARY_KEY_ASC]
  ): LlmProviderConnection
  """
  Fetches an object given its globally unique `ID`.
  """
  node(
    """
    The globally unique `ID`.
    """
    id: ID!
  ): Node
  """
  Get a single `Profile`.
  """
  profile(rowId: String!): Profile
  """
  Reads a single `Profile` using its globally unique `ID`.
  """
  profileById(
    """
    The globally unique `ID` to be used in selecting a single `Profile`.
    """
    id: ID!
  ): Profile
  """
  Get a single `Profile`.
  """
  profileByUserId(userId: String!): Profile
  """
  Reads and enables pagination through a set of `Profile`.
  """
  profiles(
    """
    Read all values in the set after (below) this cursor.
    """
    after: Cursor
    """
    Read all values in the set before (above) this cursor.
    """
    before: Cursor
    """
    A condition to be used in determining which values should be returned by the collection.
    """
    condition: ProfileCondition
    """
    Only read the first `n` values of the set.
    Max: 100
    """
    first: Int = 10
    """
    Only read the last `n` values of the set.
    Max: 100
    """
    last: Int
    """
    Skip the first `n` values from our `after` cursor, an alternative to cursor
    based pagination. May not be used with `last`.
    """
    offset: Int
    """
    The method to use when ordering `Profile`.
    """
    orderBy: [ProfileOrderBy!] = [PRIMARY_KEY_ASC]
  ): ProfileConnection
  """
  Exposes the root query type nested one level down. This is helpful for Relay 1
  which can only query top level fields if they are in a particular form.
  """
  query: Query!
  """
  Get a single `ScheduledJob`.
  """
  scheduledJob(rowId: String!): ScheduledJob
  """
  Reads a single `ScheduledJob` using its globally unique `ID`.
  """
  scheduledJobById(
    """
    The globally unique `ID` to be used in selecting a single `ScheduledJob`.
    """
    id: ID!
  ): ScheduledJob
  """
  Get a single `ScheduledJobRun`.
  """
  scheduledJobRun(rowId: String!): ScheduledJobRun
  """
  Reads a single `ScheduledJobRun` using its globally unique `ID`.
  """
  scheduledJobRunById(
    """
    The globally unique `ID` to be used in selecting a single `ScheduledJobRun`.
    """
    id: ID!
  ): ScheduledJobRun
  """
  Reads and enables pagination through a set of `ScheduledJobRun`.
  """
  scheduledJobRuns(
    """
    Read all values in the set after (below) this cursor.
    """
    after: Cursor
    """
    Read all values in the set before (above) this cursor.
    """
    before: Cursor
    """
    A condition to be used in determining which values should be returned by the collection.
    """
    condition: ScheduledJobRunCondition
    """
    Only read the first `n` values of the set.
    Max: 100
    """
    first: Int = 10
    """
    Only read the last `n` values of the set.
    Max: 100
    """
    last: Int
    """
    Skip the first `n` values from our `after` cursor, an alternative to cursor
    based pagination. May not be used with `last`.
    """
    offset: Int
    """
    The method to use when ordering `ScheduledJobRun`.
    """
    orderBy: [ScheduledJobRunOrderBy!] = [PRIMARY_KEY_ASC]
  ): ScheduledJobRunConnection
  """
  Reads and enables pagination through a set of `ScheduledJob`.
  """
  scheduledJobs(
    """
    Read all values in the set after (below) this cursor.
    """
    after: Cursor
    """
    Read all values in the set before (above) this cursor.
    """
    before: Cursor
    """
    A condition to be used in determining which values should be returned by the collection.
    """
    condition: ScheduledJobCondition
    """
    Only read the first `n` values of the set.
    Max: 100
    """
    first: Int = 10
    """
    Only read the last `n` values of the set.
    Max: 100
    """
    last: Int
    """
    Skip the first `n` values from our `after` cursor, an alternative to cursor
    based pagination. May not be used with `last`.
    """
    offset: Int
    """
    The method to use when ordering `ScheduledJob`.
    """
    orderBy: [ScheduledJobOrderBy!] = [PRIMARY_KEY_ASC]
  ): ScheduledJobConnection
}

type ScheduledJob implements Node {
  createdAt: Datetime!
  enabled: Boolean!
  """
  A globally unique identifier. Can be used in various places throughout the system to identify this single value.
  """
  id: ID!
  lastRunAt: Datetime
  llmProviderId: String
  name: String!
  """
  Reads a single `Profile` that is related to this `ScheduledJob`.
  """
  profile: Profile
  profileId: String!
  query: String!
  rowId: String!
  scheduleInterval: Int
  scheduleTime: String
  scheduleType: String!
  """
  Reads and enables pagination through a set of `ScheduledJobRun`.
  """
  scheduledJobRunsByJobId(
    """
    Read all values in the set after (below) this cursor.
    """
    after: Cursor
    """
    Read all values in the set before (above) this cursor.
    """
    before: Cursor
    """
    A condition to be used in determining which values should be returned by the collection.
    """
    condition: ScheduledJobRunCondition
    """
    Only read the first `n` values of the set.
    Max: 100
    """
    first: Int = 10
    """
    Only read the last `n` values of the set.
    Max: 100
    """
    last: Int
    """
    Skip the first `n` values from our `after` cursor, an alternative to cursor
    based pagination. May not be used with `last`.
    """
    offset: Int
    """
    The method to use when ordering `ScheduledJobRun`.
    """
    orderBy: [ScheduledJobRunOrderBy!] = [PRIMARY_KEY_ASC]
  ): ScheduledJobRunConnection!
  updatedAt: Datetime!
}

"""
A condition to be used against `ScheduledJob` object types. All fields are
tested for equality and combined with a logical ‘and.’
"""
input ScheduledJobCondition {
  """
  Checks for equality with the object’s `profileId` field.
  """
  profileId: String
  """
  Checks for equality with the object’s `rowId` field.
  """
  rowId: String
}

"""
A connection to a list of `ScheduledJob` values.
"""
type ScheduledJobConnection {
  """
  A list of edges which contains the `ScheduledJob` and cursor to aid in pagination.
  """
  edges: [ScheduledJobEdge]!
  """
  A list of `ScheduledJob` objects.
  """
  nodes: [ScheduledJob]!
  """
  Information to aid in pagination.
  """
  pageInfo: PageInfo!
  """
  The count of *all* `ScheduledJob` you could get from the connection.
  """
  totalCount: Int!
}

"""
A `ScheduledJob` edge in the connection.
"""
type ScheduledJobEdge {
  """
  A cursor for use in pagination.
  """
  cursor: Cursor
  """
  The `ScheduledJob` at the end of the edge.
  """
  node: ScheduledJob
}

"""
An input for mutations affecting `ScheduledJob`
"""
input ScheduledJobInput {
  createdAt: Datetime
  enabled: Boolean
  lastRunAt: Datetime
  llmProviderId: String
  name: String!
  profileId: String!
  query: String!
  rowId: String!
  scheduleInterval: Int
  scheduleTime: String
  scheduleType: String!
  updatedAt: Datetime
}

"""
Methods to use when ordering `ScheduledJob`.
"""
enum ScheduledJobOrderBy {
  NATURAL
  PRIMARY_KEY_ASC
  PRIMARY_KEY_DESC
  PROFILE_ID_ASC
  PROFILE_ID_DESC
  ROW_ID_ASC
  ROW_ID_DESC
}

"""
Represents an update to a `ScheduledJob`. Fields that are set will be updated.
"""
input ScheduledJobPatch {
  createdAt: Datetime
  enabled: Boolean
  lastRunAt: Datetime
  llmProviderId: String
  name: String
  profileId: String
  query: String
  rowId: String
  scheduleInterval: Int
  scheduleTime: String
  scheduleType: String
  updatedAt: Datetime
}

type ScheduledJobRun implements Node {
  completedAt: Datetime
  error: String
  executionLog: String
  finalResult: String
  """
  A globally unique identifier. Can be used in various places throughout the system to identify this single value.
  """
  id: ID!
  """
  Reads a single `ScheduledJob` that is related to this `ScheduledJobRun`.
  """
  job: ScheduledJob
  jobId: String!
  result: String
  rowId: String!
  startedAt: Datetime!
  status: String!
  toolCalls: JSON
}

"""
A condition to be used against `ScheduledJobRun` object types. All fields are
tested for equality and combined with a logical ‘and.’
"""
input ScheduledJobRunCondition {
  """
  Checks for equality with the object’s `jobId` field.
  """
  jobId: String
  """
  Checks for equality with the object’s `rowId` field.
  """
  rowId: String
}

"""
A connection to a list of `ScheduledJobRun` values.
"""
type ScheduledJobRunConnection {
  """
  A list of edges which contains the `ScheduledJobRun` and cursor to aid in pagination.
  """
  edges: [ScheduledJobRunEdge]!
  """
  A list of `ScheduledJobRun` objects.
  """
  nodes: [ScheduledJobRun]!
  """
  Information to aid in pagination.
  """
  pageInfo: PageInfo!
  """
  The count of *all* `ScheduledJobRun` you could get from the connection.
  """
  totalCount: Int!
}

"""
A `ScheduledJobRun` edge in the connection.
"""
type ScheduledJobRunEdge {
  """
  A cursor for use in pagination.
  """
  cursor: Cursor
  """
  The `ScheduledJobRun` at the end of the edge.
  """
  node: ScheduledJobRun
}

"""
An input for mutations affecting `ScheduledJobRun`
"""
input ScheduledJobRunInput {
  completedAt: Datetime
  error: String
  executionLog: String
  finalResult: String
  jobId: String!
  result: String
  rowId: String!
  startedAt: Datetime
  status: String!
  toolCalls: JSON
}

"""
Methods to use when ordering `ScheduledJobRun`.
"""
enum ScheduledJobRunOrderBy {
  JOB_ID_ASC
  JOB_ID_DESC
  NATURAL
  PRIMARY_KEY_ASC
  PRIMARY_KEY_DESC
  ROW_ID_ASC
  ROW_ID_DESC
}

"""
Represents an update to a `ScheduledJobRun`. Fields that are set will be updated.
"""
input ScheduledJobRunPatch {
  completedAt: Datetime
  error: String
  executionLog: String
  finalResult: String
  jobId: String
  result: String
  rowId: String
  startedAt: Datetime
  status: String
  toolCalls: JSON
}

"""
All input for the `updateConversationById` mutation.
"""
input UpdateConversationByIdInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  The globally unique `ID` which will identify a single `Conversation` to be updated.
  """
  id: ID!
  """
  An object where the defined keys will be set on the `Conversation` being updated.
  """
  patch: ConversationPatch!
}

"""
All input for the `updateConversation` mutation.
"""
input UpdateConversationInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  An object where the defined keys will be set on the `Conversation` being updated.
  """
  patch: ConversationPatch!
  rowId: String!
}

"""
All input for the `updateConversationMessageById` mutation.
"""
input UpdateConversationMessageByIdInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  The globally unique `ID` which will identify a single `ConversationMessage` to be updated.
  """
  id: ID!
  """
  An object where the defined keys will be set on the `ConversationMessage` being updated.
  """
  patch: ConversationMessagePatch!
}

"""
All input for the `updateConversationMessage` mutation.
"""
input UpdateConversationMessageInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  An object where the defined keys will be set on the `ConversationMessage` being updated.
  """
  patch: ConversationMessagePatch!
  rowId: String!
}

"""
The output of our update `ConversationMessage` mutation.
"""
type UpdateConversationMessagePayload {
  """
  The exact same `clientMutationId` that was provided in the mutation input,
  unchanged and unused. May be used by a client to track mutations.
  """
  clientMutationId: String
  """
  The `ConversationMessage` that was updated by this mutation.
  """
  conversationMessage: ConversationMessage
  """
  An edge for our `ConversationMessage`. May be used by Relay 1.
  """
  conversationMessageEdge(
    """
    The method to use when ordering `ConversationMessage`.
    """
    orderBy: [ConversationMessageOrderBy!]! = [PRIMARY_KEY_ASC]
  ): ConversationMessageEdge
  """
  Our root query field type. Allows us to run any query from our mutation payload.
  """
  query: Query
}

"""
The output of our update `Conversation` mutation.
"""
type UpdateConversationPayload {
  """
  The exact same `clientMutationId` that was provided in the mutation input,
  unchanged and unused. May be used by a client to track mutations.
  """
  clientMutationId: String
  """
  The `Conversation` that was updated by this mutation.
  """
  conversation: Conversation
  """
  An edge for our `Conversation`. May be used by Relay 1.
  """
  conversationEdge(
    """
    The method to use when ordering `Conversation`.
    """
    orderBy: [ConversationOrderBy!]! = [PRIMARY_KEY_ASC]
  ): ConversationEdge
  """
  Our root query field type. Allows us to run any query from our mutation payload.
  """
  query: Query
}

"""
All input for the `updateLlmProviderById` mutation.
"""
input UpdateLlmProviderByIdInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  The globally unique `ID` which will identify a single `LlmProvider` to be updated.
  """
  id: ID!
  """
  An object where the defined keys will be set on the `LlmProvider` being updated.
  """
  patch: LlmProviderPatch!
}

"""
All input for the `updateLlmProvider` mutation.
"""
input UpdateLlmProviderInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  An object where the defined keys will be set on the `LlmProvider` being updated.
  """
  patch: LlmProviderPatch!
  rowId: String!
}

"""
The output of our update `LlmProvider` mutation.
"""
type UpdateLlmProviderPayload {
  """
  The exact same `clientMutationId` that was provided in the mutation input,
  unchanged and unused. May be used by a client to track mutations.
  """
  clientMutationId: String
  """
  The `LlmProvider` that was updated by this mutation.
  """
  llmProvider: LlmProvider
  """
  An edge for our `LlmProvider`. May be used by Relay 1.
  """
  llmProviderEdge(
    """
    The method to use when ordering `LlmProvider`.
    """
    orderBy: [LlmProviderOrderBy!]! = [PRIMARY_KEY_ASC]
  ): LlmProviderEdge
  """
  Our root query field type. Allows us to run any query from our mutation payload.
  """
  query: Query
}

"""
All input for the `updateProfileById` mutation.
"""
input UpdateProfileByIdInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  The globally unique `ID` which will identify a single `Profile` to be updated.
  """
  id: ID!
  """
  An object where the defined keys will be set on the `Profile` being updated.
  """
  patch: ProfilePatch!
}

"""
All input for the `updateProfileByUserId` mutation.
"""
input UpdateProfileByUserIdInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  An object where the defined keys will be set on the `Profile` being updated.
  """
  patch: ProfilePatch!
  userId: String!
}

"""
All input for the `updateProfile` mutation.
"""
input UpdateProfileInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  An object where the defined keys will be set on the `Profile` being updated.
  """
  patch: ProfilePatch!
  rowId: String!
}

"""
The output of our update `Profile` mutation.
"""
type UpdateProfilePayload {
  """
  The exact same `clientMutationId` that was provided in the mutation input,
  unchanged and unused. May be used by a client to track mutations.
  """
  clientMutationId: String
  """
  The `Profile` that was updated by this mutation.
  """
  profile: Profile
  """
  An edge for our `Profile`. May be used by Relay 1.
  """
  profileEdge(
    """
    The method to use when ordering `Profile`.
    """
    orderBy: [ProfileOrderBy!]! = [PRIMARY_KEY_ASC]
  ): ProfileEdge
  """
  Our root query field type. Allows us to run any query from our mutation payload.
  """
  query: Query
}

"""
All input for the `updateScheduledJobById` mutation.
"""
input UpdateScheduledJobByIdInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  The globally unique `ID` which will identify a single `ScheduledJob` to be updated.
  """
  id: ID!
  """
  An object where the defined keys will be set on the `ScheduledJob` being updated.
  """
  patch: ScheduledJobPatch!
}

"""
All input for the `updateScheduledJob` mutation.
"""
input UpdateScheduledJobInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  An object where the defined keys will be set on the `ScheduledJob` being updated.
  """
  patch: ScheduledJobPatch!
  rowId: String!
}

"""
The output of our update `ScheduledJob` mutation.
"""
type UpdateScheduledJobPayload {
  """
  The exact same `clientMutationId` that was provided in the mutation input,
  unchanged and unused. May be used by a client to track mutations.
  """
  clientMutationId: String
  """
  Our root query field type. Allows us to run any query from our mutation payload.
  """
  query: Query
  """
  The `ScheduledJob` that was updated by this mutation.
  """
  scheduledJob: ScheduledJob
  """
  An edge for our `ScheduledJob`. May be used by Relay 1.
  """
  scheduledJobEdge(
    """
    The method to use when ordering `ScheduledJob`.
    """
    orderBy: [ScheduledJobOrderBy!]! = [PRIMARY_KEY_ASC]
  ): ScheduledJobEdge
}

"""
All input for the `updateScheduledJobRunById` mutation.
"""
input UpdateScheduledJobRunByIdInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  The globally unique `ID` which will identify a single `ScheduledJobRun` to be updated.
  """
  id: ID!
  """
  An object where the defined keys will be set on the `ScheduledJobRun` being updated.
  """
  patch: ScheduledJobRunPatch!
}

"""
All input for the `updateScheduledJobRun` mutation.
"""
input UpdateScheduledJobRunInput {
  """
  An arbitrary string value with no semantic meaning. Will be included in the
  payload verbatim. May be used to track mutations by the client.
  """
  clientMutationId: String
  """
  An object where the defined keys will be set on the `ScheduledJobRun` being updated.
  """
  patch: ScheduledJobRunPatch!
  rowId: String!
}

"""
The output of our update `ScheduledJobRun` mutation.
"""
type UpdateScheduledJobRunPayload {
  """
  The exact same `clientMutationId` that was provided in the mutation input,
  unchanged and unused. May be used by a client to track mutations.
  """
  clientMutationId: String
  """
  Our root query field type. Allows us to run any query from our mutation payload.
  """
  query: Query
  """
  The `ScheduledJobRun` that was updated by this mutation.
  """
  scheduledJobRun: ScheduledJobRun
  """
  An edge for our `ScheduledJobRun`. May be used by Relay 1.
  """
  scheduledJobRunEdge(
    """
    The method to use when ordering `ScheduledJobRun`.
    """
    orderBy: [ScheduledJobRunOrderBy!]! = [PRIMARY_KEY_ASC]
  ): ScheduledJobRunEdge
}