Skip to content

Commit 5e6df92

Browse files
committed
chore: Update GraphQL schema
1 parent 086cefc commit 5e6df92

1 file changed

Lines changed: 89 additions & 9 deletions

File tree

openhexa/graphql/schema.generated.graphql

Lines changed: 89 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -447,13 +447,12 @@ type AssistantConversation {
447447
}
448448

449449
type AssistantMessage {
450-
content: String!
450+
content: [AssistantMessageSegment!]!
451451
createdAt: DateTime!
452452
id: UUID!
453453
inputTokens: Int
454454
outputTokens: Int
455455
role: String!
456-
toolInvocations: [AssistantToolInvocation!]!
457456
}
458457

459458
type AssistantMessagePage {
@@ -462,10 +461,17 @@ type AssistantMessagePage {
462461
totalPages: Int!
463462
}
464463

465-
type AssistantToolInvocation {
466-
createdAt: DateTime!
467-
id: UUID!
464+
union AssistantMessageSegment = AssistantTextSegment | AssistantToolSegment
465+
466+
type AssistantTextSegment {
467+
content: String!
468+
}
469+
470+
type AssistantToolSegment {
471+
id: UUID
472+
proposalPending: Boolean!
468473
success: Boolean!
474+
toolCallId: String!
469475
toolInput: JSON!
470476
toolName: String!
471477
toolOutput: JSON
@@ -519,6 +525,14 @@ type Config {
519525
"""Whether self-registration is enabled."""
520526
allowSelfRegistration: Boolean!
521527

528+
"""Configured external OIDC login providers. Empty when none are enabled."""
529+
oidcProviders: [OidcProvider!]!
530+
531+
"""
532+
Whether username/password login is enabled. False when OIDC providers are configured.
533+
"""
534+
passwordLoginEnabled: Boolean!
535+
522536
"""List of requirements for the password."""
523537
passwordRequirements: [String!]
524538
}
@@ -1042,8 +1056,8 @@ input CreatePipelineInput {
10421056
name: String!
10431057
notebookPath: String
10441058
tags: [String!]
1059+
version: CreatePipelineVersionInput
10451060
workspaceSlug: String!
1046-
zipfile: String
10471061
}
10481062

10491063
"""Represents the input for adding a recipient to a pipeline."""
@@ -1055,6 +1069,7 @@ input CreatePipelineRecipientInput {
10551069

10561070
"""Represents the result of creating a pipeline."""
10571071
type CreatePipelineResult {
1072+
details: String
10581073
errors: [PipelineError!]!
10591074
pipeline: Pipeline
10601075
pipelineVersion: PipelineVersion
@@ -1095,6 +1110,24 @@ type CreatePipelineTemplateVersionResult {
10951110
success: Boolean!
10961111
}
10971112

1113+
"""
1114+
Configures the first pipeline version, created atomically alongside the pipeline.
1115+
Providing this sub-input signals that a first version should be created.
1116+
1117+
Provide exactly one of `zipfile` (base64-encoded ZIP) or `files` (list of source files
1118+
the server will zip up). `files` requires a `pipeline.py` at the root.
1119+
"""
1120+
input CreatePipelineVersionInput {
1121+
config: JSON
1122+
description: String
1123+
externalLink: URL
1124+
files: [PipelineFileInput!]
1125+
name: String
1126+
parameters: [ParameterInput!]
1127+
timeout: Int
1128+
zipfile: String
1129+
}
1130+
10981131
"""
10991132
The CreateTeamError enum represents the possible errors that can occur during the createTeam mutation.
11001133
"""
@@ -2993,6 +3026,7 @@ type Mutation {
29933026

29943027
"""Sends a password reset email to the user."""
29953028
resetPassword(input: ResetPasswordInput!): ResetPasswordResult!
3029+
resolveAssistantProposal(toolInvocationId: UUID!): ResolveAssistantProposalResult!
29963030
runDAG(input: RunDAGInput!): RunDAGResult!
29973031

29983032
"""Runs a pipeline."""
@@ -3083,6 +3117,14 @@ type NotebookServer {
30833117
url: String!
30843118
}
30853119

3120+
type OidcProvider {
3121+
displayName: String!
3122+
id: String!
3123+
3124+
"""URL to initiate the login flow for this provider."""
3125+
loginUrl: String!
3126+
}
3127+
30863128
scalar OpaqueID
30873129

30883130
"""The direction in which to order a list of items."""
@@ -3370,6 +3412,7 @@ enum PipelineError {
33703412
FILE_NOT_FOUND
33713413
INVALID_CONFIG
33723414
INVALID_TIMEOUT_VALUE
3415+
INVALID_VERSION_FILES
33733416
PERMISSION_DENIED
33743417
PIPELINE_ALREADY_COMPLETED
33753418
PIPELINE_ALREADY_STOPPED
@@ -3382,6 +3425,19 @@ enum PipelineError {
33823425
WORKSPACE_NOT_FOUND
33833426
}
33843427

3428+
"""
3429+
A single file in a pipeline version.
3430+
3431+
`content` is interpreted according to `encoding`:
3432+
* TEXT (default) — content is a UTF-8 string; suitable for Python code, requirements.txt, READMEs.
3433+
* BASE64 — content is base64-encoded raw bytes; use for binary assets bundled with the pipeline.
3434+
"""
3435+
input PipelineFileInput {
3436+
content: String!
3437+
encoding: FileEncoding = TEXT
3438+
path: String!
3439+
}
3440+
33853441
"""
33863442
Represents the functional purpose of a pipeline in data workflows.
33873443
@@ -3408,6 +3464,8 @@ enum PipelineNotificationLevel {
34083464

34093465
"""Enum representing the possible orderings for pipelines."""
34103466
enum PipelineOrderBy {
3467+
CREATED_AT_ASC
3468+
CREATED_AT_DESC
34113469
LAST_RUN_DATE_ASC
34123470
LAST_RUN_DATE_DESC
34133471
NAME_ASC
@@ -3797,7 +3855,7 @@ enum PrepareObjectUploadError {
37973855

37983856
"""
37993857
Input for preparing to upload an object to a workspace's bucket.
3800-
The `contentType`
3858+
The `contentType`
38013859
"""
38023860
input PrepareObjectUploadInput {
38033861
contentType: String
@@ -4118,6 +4176,17 @@ type ResetPasswordResult {
41184176
success: Boolean!
41194177
}
41204178

4179+
enum ResolveAssistantProposalError {
4180+
NOT_FOUND
4181+
PERMISSION_DENIED
4182+
}
4183+
4184+
type ResolveAssistantProposalResult {
4185+
errors: [ResolveAssistantProposalError!]!
4186+
success: Boolean!
4187+
toolInvocation: AssistantToolSegment
4188+
}
4189+
41214190
"""Resource counts"""
41224191
type ResourceCounts {
41234192
"""Number of pipeline runs."""
@@ -5339,14 +5408,15 @@ input UploadPipelineInput {
53395408
config: JSON
53405409
description: String
53415410
externalLink: URL
5411+
files: [PipelineFileInput!]
53425412
functionalType: PipelineFunctionalType
53435413
name: String
53445414
parameters: [ParameterInput!]
53455415
pipelineCode: String
53465416
tags: [String!]
53475417
timeout: Int
53485418
workspaceSlug: String!
5349-
zipfile: String!
5419+
zipfile: String
53505420
}
53515421

53525422
"""Represents the result of uploading a pipeline."""
@@ -5436,6 +5506,7 @@ type WHORegion {
54365506
"""Represents a web app."""
54375507
type Webapp {
54385508
allowedOperations: [WebappOperationScope!]!
5509+
commitDiff(ref: String!): WebappCommitDiff
54395510
createdBy: User!
54405511
description: String
54415512
files(ref: String): [FileNode!]
@@ -5458,6 +5529,15 @@ type Webapp {
54585529
workspace: Workspace!
54595530
}
54605531

5532+
type WebappCommitDiff {
5533+
authorEmail: String!
5534+
authorName: String!
5535+
date: DateTime!
5536+
id: String!
5537+
message: String!
5538+
rawDiff: String!
5539+
}
5540+
54615541
"""
54625542
A file to write to a webapp's git repository.
54635543
@@ -5697,4 +5777,4 @@ type WriteFileContentResult {
56975777
filePath: String
56985778
size: Int
56995779
success: Boolean!
5700-
}
5780+
}

0 commit comments

Comments
 (0)