From 9e51370554d282a621ca6f488cfce89a89312855 Mon Sep 17 00:00:00 2001 From: Dimitrie Stefanescu Date: Tue, 3 Dec 2024 16:11:15 +0000 Subject: [PATCH 1/4] feat(dui3): scaffolds very basic host app test binding and page --- .../definitions/IHostAppTestBinding.ts | 16 +++++++++++ packages/dui3/pages/hostapptests.vue | 27 +++++++++++++++++++ packages/dui3/plugins/00.bindings.ts | 9 +++++++ 3 files changed, 52 insertions(+) create mode 100644 packages/dui3/lib/bindings/definitions/IHostAppTestBinding.ts create mode 100644 packages/dui3/pages/hostapptests.vue diff --git a/packages/dui3/lib/bindings/definitions/IHostAppTestBinding.ts b/packages/dui3/lib/bindings/definitions/IHostAppTestBinding.ts new file mode 100644 index 0000000000..30361f03b2 --- /dev/null +++ b/packages/dui3/lib/bindings/definitions/IHostAppTestBinding.ts @@ -0,0 +1,16 @@ +import type { + IBinding, + IBindingSharedEvents +} from '~~/lib/bindings/definitions/IBinding' + +export const IHostAppTestBindingKey = 'hostAppTestBiding' + +export interface IHostAppTestBinding extends IBinding { + getTests: () => Promise + executeTest: (testName: string) => Promise + executeAllTests: () => Promise +} + +export interface IHostAppTestBindingEvents extends IBindingSharedEvents { + setTestResult: (args: { testName: string; result: Record }) => void +} diff --git a/packages/dui3/pages/hostapptests.vue b/packages/dui3/pages/hostapptests.vue new file mode 100644 index 0000000000..f07ac9728c --- /dev/null +++ b/packages/dui3/pages/hostapptests.vue @@ -0,0 +1,27 @@ + + + diff --git a/packages/dui3/plugins/00.bindings.ts b/packages/dui3/plugins/00.bindings.ts index b8b61b3b59..d82ed3be9f 100644 --- a/packages/dui3/plugins/00.bindings.ts +++ b/packages/dui3/plugins/00.bindings.ts @@ -21,6 +21,10 @@ import { IReceiveBindingKey } from '~/lib/bindings/definitions/IReceiveBinding' import type { ISelectionBinding } from '~/lib/bindings/definitions/ISelectionBinding' import { ISelectionBindingKey } from '~/lib/bindings/definitions/ISelectionBinding' + +import type { IHostAppTestBinding } from '~/lib/bindings/definitions/IHostAppTestBinding' +import { IHostAppTestBindingKey } from '~/lib/bindings/definitions/IHostAppTestBinding' + import type { ITopLevelExpectionHandlerBinding } from '~/lib/bindings/definitions/ITopLevelExceptionHandlerBinding' import { ITopLevelExpectionHandlerBindingKey } from '~/lib/bindings/definitions/ITopLevelExceptionHandlerBinding' @@ -61,6 +65,10 @@ export default defineNuxtPlugin(async () => { ISelectionBindingKey ) + const hostAppTestBiding = await tryHoistBinding( + IHostAppTestBindingKey + ) + const topLevelExceptionHandlerBinding = await tryHoistBinding( ITopLevelExpectionHandlerBindingKey @@ -87,6 +95,7 @@ export default defineNuxtPlugin(async () => { receiveBinding, selectionBinding, topLevelExceptionHandlerBinding, + hostAppTestBiding, showDevTools, openUrl } From 3d636328f8285d0fcf7eea758194b3cd8d010fe9 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 13 Dec 2024 14:54:31 +0000 Subject: [PATCH 2/4] add changes --- .../definitions/IHostAppTestBinding.ts | 15 +- .../dui3/lib/common/generated/gql/graphql.ts | 8646 ++++++++++++----- packages/dui3/pages/hostapptests.vue | 49 +- 3 files changed, 6037 insertions(+), 2673 deletions(-) diff --git a/packages/dui3/lib/bindings/definitions/IHostAppTestBinding.ts b/packages/dui3/lib/bindings/definitions/IHostAppTestBinding.ts index 30361f03b2..9b04e537da 100644 --- a/packages/dui3/lib/bindings/definitions/IHostAppTestBinding.ts +++ b/packages/dui3/lib/bindings/definitions/IHostAppTestBinding.ts @@ -6,7 +6,9 @@ import type { export const IHostAppTestBindingKey = 'hostAppTestBiding' export interface IHostAppTestBinding extends IBinding { - getTests: () => Promise + getLoadedModel: () => Promise + getTests: () => Promise + getTestsResults: () => Promise executeTest: (testName: string) => Promise executeAllTests: () => Promise } @@ -14,3 +16,14 @@ export interface IHostAppTestBinding extends IBinding export interface IHostAppTestBindingEvents extends IBindingSharedEvents { setTestResult: (args: { testName: string; result: Record }) => void } + +export type ModelTest = { + name: string + status: string +} + +export type ModelTestResult = { + name: string + status: string + timeStamp: string +} diff --git a/packages/dui3/lib/common/generated/gql/graphql.ts b/packages/dui3/lib/common/generated/gql/graphql.ts index c372ba2d49..3533782c37 100644 --- a/packages/dui3/lib/common/generated/gql/graphql.ts +++ b/packages/dui3/lib/common/generated/gql/graphql.ts @@ -1,350 +1,358 @@ /* eslint-disable */ -import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; -export type Maybe = T | null; -export type InputMaybe = Maybe; -export type Exact = { [K in keyof T]: T[K] }; -export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; -export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; -export type MakeEmpty = { [_ in K]?: never }; -export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; +import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core' +export type Maybe = T | null +export type InputMaybe = Maybe +export type Exact = { [K in keyof T]: T[K] } +export type MakeOptional = Omit & { + [SubKey in K]?: Maybe +} +export type MakeMaybe = Omit & { + [SubKey in K]: Maybe +} +export type MakeEmpty = { + [_ in K]?: never +} +export type Incremental = + | T + | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never } /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { - ID: { input: string; output: string; } - String: { input: string; output: string; } - Boolean: { input: boolean; output: boolean; } - Int: { input: number; output: number; } - Float: { input: number; output: number; } + ID: { input: string; output: string } + String: { input: string; output: string } + Boolean: { input: boolean; output: boolean } + Int: { input: number; output: number } + Float: { input: number; output: number } /** The `BigInt` scalar type represents non-fractional signed whole numeric values. */ - BigInt: { input: any; output: any; } + BigInt: { input: any; output: any } /** A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar. */ - DateTime: { input: string; output: string; } + DateTime: { input: string; output: string } /** The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */ - JSONObject: { input: {}; output: {}; } -}; + JSONObject: { input: {}; output: {} } +} export type ActiveUserMutations = { - __typename?: 'ActiveUserMutations'; - emailMutations: UserEmailMutations; + __typename?: 'ActiveUserMutations' + emailMutations: UserEmailMutations /** Mark onboarding as complete */ - finishOnboarding: Scalars['Boolean']['output']; + finishOnboarding: Scalars['Boolean']['output'] /** Edit a user's profile */ - update: User; -}; - + update: User +} export type ActiveUserMutationsUpdateArgs = { - user: UserUpdateInput; -}; + user: UserUpdateInput +} export type Activity = { - __typename?: 'Activity'; - actionType: Scalars['String']['output']; - id: Scalars['ID']['output']; - info: Scalars['JSONObject']['output']; - message: Scalars['String']['output']; - resourceId: Scalars['String']['output']; - resourceType: Scalars['String']['output']; - streamId?: Maybe; - time: Scalars['DateTime']['output']; - userId: Scalars['String']['output']; -}; + __typename?: 'Activity' + actionType: Scalars['String']['output'] + id: Scalars['ID']['output'] + info: Scalars['JSONObject']['output'] + message: Scalars['String']['output'] + resourceId: Scalars['String']['output'] + resourceType: Scalars['String']['output'] + streamId?: Maybe + time: Scalars['DateTime']['output'] + userId: Scalars['String']['output'] +} export type ActivityCollection = { - __typename?: 'ActivityCollection'; - cursor?: Maybe; - items: Array; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'ActivityCollection' + cursor?: Maybe + items: Array + totalCount: Scalars['Int']['output'] +} export type AddDomainToWorkspaceInput = { - domain: Scalars['String']['input']; - workspaceId: Scalars['ID']['input']; -}; + domain: Scalars['String']['input'] + workspaceId: Scalars['ID']['input'] +} export type AdminInviteList = { - __typename?: 'AdminInviteList'; - cursor?: Maybe; - items: Array; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'AdminInviteList' + cursor?: Maybe + items: Array + totalCount: Scalars['Int']['output'] +} export type AdminQueries = { - __typename?: 'AdminQueries'; - inviteList: AdminInviteList; - projectList: ProjectCollection; - serverStatistics: ServerStatistics; - userList: AdminUserList; - workspaceList: WorkspaceCollection; -}; - + __typename?: 'AdminQueries' + inviteList: AdminInviteList + projectList: ProjectCollection + serverStatistics: ServerStatistics + userList: AdminUserList + workspaceList: WorkspaceCollection +} export type AdminQueriesInviteListArgs = { - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; - query?: InputMaybe; -}; - + cursor?: InputMaybe + limit?: Scalars['Int']['input'] + query?: InputMaybe +} export type AdminQueriesProjectListArgs = { - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; - orderBy?: InputMaybe; - query?: InputMaybe; - visibility?: InputMaybe; -}; - + cursor?: InputMaybe + limit?: Scalars['Int']['input'] + orderBy?: InputMaybe + query?: InputMaybe + visibility?: InputMaybe +} export type AdminQueriesUserListArgs = { - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; - query?: InputMaybe; - role?: InputMaybe; -}; - + cursor?: InputMaybe + limit?: Scalars['Int']['input'] + query?: InputMaybe + role?: InputMaybe +} export type AdminQueriesWorkspaceListArgs = { - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; - query?: InputMaybe; -}; + cursor?: InputMaybe + limit?: Scalars['Int']['input'] + query?: InputMaybe +} export type AdminUserList = { - __typename?: 'AdminUserList'; - cursor?: Maybe; - items: Array; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'AdminUserList' + cursor?: Maybe + items: Array + totalCount: Scalars['Int']['output'] +} export type AdminUserListItem = { - __typename?: 'AdminUserListItem'; - avatar?: Maybe; - company?: Maybe; - email?: Maybe; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - role?: Maybe; - verified?: Maybe; -}; + __typename?: 'AdminUserListItem' + avatar?: Maybe + company?: Maybe + email?: Maybe + id: Scalars['ID']['output'] + name: Scalars['String']['output'] + role?: Maybe + verified?: Maybe +} export type AdminUsersListCollection = { - __typename?: 'AdminUsersListCollection'; - items: Array; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'AdminUsersListCollection' + items: Array + totalCount: Scalars['Int']['output'] +} /** * A representation of a registered or invited user in the admin users list. Either registeredUser * or invitedUser will always be set, both values can't be null. */ export type AdminUsersListItem = { - __typename?: 'AdminUsersListItem'; - id: Scalars['String']['output']; - invitedUser?: Maybe; - registeredUser?: Maybe; -}; + __typename?: 'AdminUsersListItem' + id: Scalars['String']['output'] + invitedUser?: Maybe + registeredUser?: Maybe +} export type ApiToken = { - __typename?: 'ApiToken'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['String']['output']; - lastChars: Scalars['String']['output']; - lastUsed: Scalars['DateTime']['output']; - lifespan: Scalars['BigInt']['output']; - name: Scalars['String']['output']; - scopes: Array>; -}; + __typename?: 'ApiToken' + createdAt: Scalars['DateTime']['output'] + id: Scalars['String']['output'] + lastChars: Scalars['String']['output'] + lastUsed: Scalars['DateTime']['output'] + lifespan: Scalars['BigInt']['output'] + name: Scalars['String']['output'] + scopes: Array> +} export type ApiTokenCreateInput = { - lifespan?: InputMaybe; - name: Scalars['String']['input']; - scopes: Array; -}; + lifespan?: InputMaybe + name: Scalars['String']['input'] + scopes: Array +} export type AppAuthor = { - __typename?: 'AppAuthor'; - avatar?: Maybe; - id: Scalars['String']['output']; - name: Scalars['String']['output']; -}; + __typename?: 'AppAuthor' + avatar?: Maybe + id: Scalars['String']['output'] + name: Scalars['String']['output'] +} export type AppCreateInput = { - description: Scalars['String']['input']; - logo?: InputMaybe; - name: Scalars['String']['input']; - public?: InputMaybe; - redirectUrl: Scalars['String']['input']; - scopes: Array>; - termsAndConditionsLink?: InputMaybe; -}; + description: Scalars['String']['input'] + logo?: InputMaybe + name: Scalars['String']['input'] + public?: InputMaybe + redirectUrl: Scalars['String']['input'] + scopes: Array> + termsAndConditionsLink?: InputMaybe +} export type AppTokenCreateInput = { - lifespan?: InputMaybe; + lifespan?: InputMaybe /** Optionally limit the token to only have access to specific resources */ - limitResources?: InputMaybe>; - name: Scalars['String']['input']; - scopes: Array; -}; + limitResources?: InputMaybe> + name: Scalars['String']['input'] + scopes: Array +} export type AppUpdateInput = { - description: Scalars['String']['input']; - id: Scalars['String']['input']; - logo?: InputMaybe; - name: Scalars['String']['input']; - public?: InputMaybe; - redirectUrl: Scalars['String']['input']; - scopes: Array>; - termsAndConditionsLink?: InputMaybe; -}; + description: Scalars['String']['input'] + id: Scalars['String']['input'] + logo?: InputMaybe + name: Scalars['String']['input'] + public?: InputMaybe + redirectUrl: Scalars['String']['input'] + scopes: Array> + termsAndConditionsLink?: InputMaybe +} + +export type ArchiveCommentInput = { + archived: Scalars['Boolean']['input'] + commentId: Scalars['String']['input'] + projectId: Scalars['String']['input'] +} export type AuthStrategy = { - __typename?: 'AuthStrategy'; - color?: Maybe; - icon: Scalars['String']['output']; - id: Scalars['String']['output']; - name: Scalars['String']['output']; - url: Scalars['String']['output']; -}; + __typename?: 'AuthStrategy' + color?: Maybe + icon: Scalars['String']['output'] + id: Scalars['String']['output'] + name: Scalars['String']['output'] + url: Scalars['String']['output'] +} export type AutomateAuthCodePayloadTest = { - action: Scalars['String']['input']; - code: Scalars['String']['input']; - userId: Scalars['String']['input']; -}; + action: Scalars['String']['input'] + code: Scalars['String']['input'] + userId: Scalars['String']['input'] +} export type AutomateFunction = { - __typename?: 'AutomateFunction'; - automationCount: Scalars['Int']['output']; + __typename?: 'AutomateFunction' + automationCount: Scalars['Int']['output'] /** Only returned if user is a part of this speckle server */ - creator?: Maybe; - description: Scalars['String']['output']; - id: Scalars['ID']['output']; - isFeatured: Scalars['Boolean']['output']; - logo?: Maybe; - name: Scalars['String']['output']; - releases: AutomateFunctionReleaseCollection; - repo: BasicGitRepositoryMetadata; + creator?: Maybe + description: Scalars['String']['output'] + id: Scalars['ID']['output'] + isFeatured: Scalars['Boolean']['output'] + logo?: Maybe + name: Scalars['String']['output'] + releases: AutomateFunctionReleaseCollection + repo: BasicGitRepositoryMetadata /** SourceAppNames values from @speckle/shared. Empty array means - all of them */ - supportedSourceApps: Array; - tags: Array; -}; - + supportedSourceApps: Array + tags: Array +} export type AutomateFunctionReleasesArgs = { - cursor?: InputMaybe; - filter?: InputMaybe; - limit?: InputMaybe; -}; + cursor?: InputMaybe + filter?: InputMaybe + limit?: InputMaybe +} export type AutomateFunctionCollection = { - __typename?: 'AutomateFunctionCollection'; - cursor?: Maybe; - items: Array; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'AutomateFunctionCollection' + cursor?: Maybe + items: Array + totalCount: Scalars['Int']['output'] +} export type AutomateFunctionRelease = { - __typename?: 'AutomateFunctionRelease'; - commitId: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - function: AutomateFunction; - functionId: Scalars['String']['output']; - id: Scalars['ID']['output']; - inputSchema?: Maybe; - versionTag: Scalars['String']['output']; -}; + __typename?: 'AutomateFunctionRelease' + commitId: Scalars['String']['output'] + createdAt: Scalars['DateTime']['output'] + function: AutomateFunction + functionId: Scalars['String']['output'] + id: Scalars['ID']['output'] + inputSchema?: Maybe + versionTag: Scalars['String']['output'] +} export type AutomateFunctionReleaseCollection = { - __typename?: 'AutomateFunctionReleaseCollection'; - cursor?: Maybe; - items: Array; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'AutomateFunctionReleaseCollection' + cursor?: Maybe + items: Array + totalCount: Scalars['Int']['output'] +} export type AutomateFunctionReleasesFilter = { - search?: InputMaybe; -}; + search?: InputMaybe +} export type AutomateFunctionRun = { - __typename?: 'AutomateFunctionRun'; - contextView?: Maybe; - createdAt: Scalars['DateTime']['output']; - elapsed: Scalars['Float']['output']; + __typename?: 'AutomateFunctionRun' + contextView?: Maybe + createdAt: Scalars['DateTime']['output'] + elapsed: Scalars['Float']['output'] /** Nullable, in case the function is not retrievable due to poor network conditions */ - function?: Maybe; - functionId?: Maybe; - functionReleaseId?: Maybe; - id: Scalars['ID']['output']; + function?: Maybe + functionId?: Maybe + functionReleaseId?: Maybe + id: Scalars['ID']['output'] /** AutomateTypes.ResultsSchema type from @speckle/shared */ - results?: Maybe; - status: AutomateRunStatus; - statusMessage?: Maybe; - updatedAt: Scalars['DateTime']['output']; -}; + results?: Maybe + status: AutomateRunStatus + statusMessage?: Maybe + updatedAt: Scalars['DateTime']['output'] +} export type AutomateFunctionRunStatusReportInput = { - contextView?: InputMaybe; - functionRunId: Scalars['String']['input']; + contextView?: InputMaybe + functionRunId: Scalars['String']['input'] /** AutomateTypes.ResultsSchema type from @speckle/shared */ - results?: InputMaybe; - status: AutomateRunStatus; - statusMessage?: InputMaybe; -}; + results?: InputMaybe + status: AutomateRunStatus + statusMessage?: InputMaybe +} export type AutomateFunctionTemplate = { - __typename?: 'AutomateFunctionTemplate'; - id: AutomateFunctionTemplateLanguage; - logo: Scalars['String']['output']; - title: Scalars['String']['output']; - url: Scalars['String']['output']; -}; + __typename?: 'AutomateFunctionTemplate' + id: AutomateFunctionTemplateLanguage + logo: Scalars['String']['output'] + title: Scalars['String']['output'] + url: Scalars['String']['output'] +} export enum AutomateFunctionTemplateLanguage { + Demonstration = 'DEMONSTRATION', + Demonstrationpython = 'DEMONSTRATIONPYTHON', DotNet = 'DOT_NET', Python = 'PYTHON', Typescript = 'TYPESCRIPT' } export type AutomateFunctionsFilter = { - featuredFunctionsOnly?: InputMaybe; + featuredFunctionsOnly?: InputMaybe /** By default we skip functions without releases. Set this to true to include them. */ - functionsWithoutReleases?: InputMaybe; - search?: InputMaybe; -}; + functionsWithoutReleases?: InputMaybe + search?: InputMaybe +} export type AutomateMutations = { - __typename?: 'AutomateMutations'; - createFunction: AutomateFunction; - updateFunction: AutomateFunction; -}; - + __typename?: 'AutomateMutations' + createFunction: AutomateFunction + updateFunction: AutomateFunction +} export type AutomateMutationsCreateFunctionArgs = { - input: CreateAutomateFunctionInput; -}; - + input: CreateAutomateFunctionInput +} export type AutomateMutationsUpdateFunctionArgs = { - input: UpdateAutomateFunctionInput; -}; + input: UpdateAutomateFunctionInput +} export type AutomateRun = { - __typename?: 'AutomateRun'; - automation: Automation; - automationId: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; - functionRuns: Array; - id: Scalars['ID']['output']; - status: AutomateRunStatus; - trigger: AutomationRunTrigger; - updatedAt: Scalars['DateTime']['output']; -}; + __typename?: 'AutomateRun' + automation: Automation + automationId: Scalars['String']['output'] + createdAt: Scalars['DateTime']['output'] + functionRuns: Array + id: Scalars['ID']['output'] + status: AutomateRunStatus + trigger: AutomationRunTrigger + updatedAt: Scalars['DateTime']['output'] +} export type AutomateRunCollection = { - __typename?: 'AutomateRunCollection'; - cursor?: Maybe; - items: Array; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'AutomateRunCollection' + cursor?: Maybe + items: Array + totalCount: Scalars['Int']['output'] +} export enum AutomateRunStatus { Canceled = 'CANCELED', @@ -362,64 +370,63 @@ export enum AutomateRunTriggerType { } export type Automation = { - __typename?: 'Automation'; - createdAt: Scalars['DateTime']['output']; + __typename?: 'Automation' + createdAt: Scalars['DateTime']['output'] /** Only accessible to automation owners */ - creationPublicKeys: Array; - currentRevision?: Maybe; - enabled: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; - isTestAutomation: Scalars['Boolean']['output']; - name: Scalars['String']['output']; - runs: AutomateRunCollection; - updatedAt: Scalars['DateTime']['output']; -}; - + creationPublicKeys: Array + currentRevision?: Maybe + enabled: Scalars['Boolean']['output'] + id: Scalars['ID']['output'] + isTestAutomation: Scalars['Boolean']['output'] + name: Scalars['String']['output'] + runs: AutomateRunCollection + updatedAt: Scalars['DateTime']['output'] +} export type AutomationRunsArgs = { - cursor?: InputMaybe; - limit?: InputMaybe; -}; + cursor?: InputMaybe + limit?: InputMaybe +} export type AutomationCollection = { - __typename?: 'AutomationCollection'; - cursor?: Maybe; - items: Array; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'AutomationCollection' + cursor?: Maybe + items: Array + totalCount: Scalars['Int']['output'] +} export type AutomationRevision = { - __typename?: 'AutomationRevision'; - functions: Array; - id: Scalars['ID']['output']; - triggerDefinitions: Array; -}; + __typename?: 'AutomationRevision' + functions: Array + id: Scalars['ID']['output'] + triggerDefinitions: Array +} export type AutomationRevisionCreateFunctionInput = { - functionId: Scalars['String']['input']; - functionReleaseId: Scalars['String']['input']; + functionId: Scalars['String']['input'] + functionReleaseId: Scalars['String']['input'] /** Should be encrypted from the client side */ - parameters?: InputMaybe; -}; + parameters?: InputMaybe +} export type AutomationRevisionFunction = { - __typename?: 'AutomationRevisionFunction'; + __typename?: 'AutomationRevisionFunction' /** The secrets in parameters are redacted with six asterisks - ****** */ - parameters?: Maybe; - release: AutomateFunctionRelease; -}; + parameters?: Maybe + release: AutomateFunctionRelease +} -export type AutomationRevisionTriggerDefinition = VersionCreatedTriggerDefinition; +export type AutomationRevisionTriggerDefinition = VersionCreatedTriggerDefinition -export type AutomationRunTrigger = VersionCreatedTrigger; +export type AutomationRunTrigger = VersionCreatedTrigger export type BasicGitRepositoryMetadata = { - __typename?: 'BasicGitRepositoryMetadata'; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - owner: Scalars['String']['output']; - url: Scalars['String']['output']; -}; + __typename?: 'BasicGitRepositoryMetadata' + id: Scalars['ID']['output'] + name: Scalars['String']['output'] + owner: Scalars['String']['output'] + url: Scalars['String']['output'] +} export enum BillingInterval { Monthly = 'monthly', @@ -427,279 +434,269 @@ export enum BillingInterval { } export type BlobMetadata = { - __typename?: 'BlobMetadata'; - createdAt: Scalars['DateTime']['output']; - fileHash?: Maybe; - fileName: Scalars['String']['output']; - fileSize?: Maybe; - fileType: Scalars['String']['output']; - id: Scalars['String']['output']; - streamId: Scalars['String']['output']; - uploadError?: Maybe; - uploadStatus: Scalars['Int']['output']; - userId: Scalars['String']['output']; -}; + __typename?: 'BlobMetadata' + createdAt: Scalars['DateTime']['output'] + fileHash?: Maybe + fileName: Scalars['String']['output'] + fileSize?: Maybe + fileType: Scalars['String']['output'] + id: Scalars['String']['output'] + streamId: Scalars['String']['output'] + uploadError?: Maybe + uploadStatus: Scalars['Int']['output'] + userId: Scalars['String']['output'] +} export type BlobMetadataCollection = { - __typename?: 'BlobMetadataCollection'; - cursor?: Maybe; - items?: Maybe>; - totalCount: Scalars['Int']['output']; - totalSize: Scalars['Int']['output']; -}; + __typename?: 'BlobMetadataCollection' + cursor?: Maybe + items?: Maybe> + totalCount: Scalars['Int']['output'] + totalSize: Scalars['Int']['output'] +} export type Branch = { - __typename?: 'Branch'; + __typename?: 'Branch' /** * All the recent activity on this branch in chronological order * @deprecated Part of the old API surface and will be removed in the future. */ - activity?: Maybe; - author?: Maybe; - commits?: Maybe; - createdAt?: Maybe; - description?: Maybe; - id: Scalars['String']['output']; - name: Scalars['String']['output']; -}; - + activity?: Maybe + author?: Maybe + commits?: Maybe + createdAt?: Maybe + description?: Maybe + id: Scalars['String']['output'] + name: Scalars['String']['output'] +} export type BranchActivityArgs = { - actionType?: InputMaybe; - after?: InputMaybe; - before?: InputMaybe; - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - + actionType?: InputMaybe + after?: InputMaybe + before?: InputMaybe + cursor?: InputMaybe + limit?: Scalars['Int']['input'] +} export type BranchCommitsArgs = { - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; -}; + cursor?: InputMaybe + limit?: Scalars['Int']['input'] +} export type BranchCollection = { - __typename?: 'BranchCollection'; - cursor?: Maybe; - items?: Maybe>; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'BranchCollection' + cursor?: Maybe + items?: Maybe> + totalCount: Scalars['Int']['output'] +} export type BranchCreateInput = { - description?: InputMaybe; - name: Scalars['String']['input']; - streamId: Scalars['String']['input']; -}; + description?: InputMaybe + name: Scalars['String']['input'] + streamId: Scalars['String']['input'] +} export type BranchDeleteInput = { - id: Scalars['String']['input']; - streamId: Scalars['String']['input']; -}; + id: Scalars['String']['input'] + streamId: Scalars['String']['input'] +} export type BranchUpdateInput = { - description?: InputMaybe; - id: Scalars['String']['input']; - name?: InputMaybe; - streamId: Scalars['String']['input']; -}; + description?: InputMaybe + id: Scalars['String']['input'] + name?: InputMaybe + streamId: Scalars['String']['input'] +} export type CancelCheckoutSessionInput = { - sessionId: Scalars['ID']['input']; - workspaceId: Scalars['ID']['input']; -}; + sessionId: Scalars['ID']['input'] + workspaceId: Scalars['ID']['input'] +} export type CheckoutSession = { - __typename?: 'CheckoutSession'; - billingInterval: BillingInterval; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - paymentStatus: SessionPaymentStatus; - updatedAt: Scalars['DateTime']['output']; - url: Scalars['String']['output']; - workspacePlan: PaidWorkspacePlans; -}; + __typename?: 'CheckoutSession' + billingInterval: BillingInterval + createdAt: Scalars['DateTime']['output'] + id: Scalars['ID']['output'] + paymentStatus: SessionPaymentStatus + updatedAt: Scalars['DateTime']['output'] + url: Scalars['String']['output'] + workspacePlan: PaidWorkspacePlans +} export type CheckoutSessionInput = { - billingInterval: BillingInterval; - workspaceId: Scalars['ID']['input']; - workspacePlan: PaidWorkspacePlans; -}; + billingInterval: BillingInterval + workspaceId: Scalars['ID']['input'] + workspacePlan: PaidWorkspacePlans +} export type Comment = { - __typename?: 'Comment'; - archived: Scalars['Boolean']['output']; - author: LimitedUser; - authorId: Scalars['String']['output']; - createdAt: Scalars['DateTime']['output']; + __typename?: 'Comment' + archived: Scalars['Boolean']['output'] + author: LimitedUser + authorId: Scalars['String']['output'] + createdAt: Scalars['DateTime']['output'] /** * Legacy comment viewer data field * @deprecated Use the new viewerState field instead */ - data?: Maybe; + data?: Maybe /** Whether or not comment is a reply to another comment */ - hasParent: Scalars['Boolean']['output']; - id: Scalars['String']['output']; + hasParent: Scalars['Boolean']['output'] + id: Scalars['String']['output'] /** Parent thread, if there's any */ - parent?: Maybe; + parent?: Maybe /** Plain-text version of the comment text, ideal for previews */ - rawText: Scalars['String']['output']; + rawText: Scalars['String']['output'] /** @deprecated Not actually implemented */ - reactions?: Maybe>>; + reactions?: Maybe>> /** Gets the replies to this comment. */ - replies: CommentCollection; + replies: CommentCollection /** Get authors of replies to this comment */ - replyAuthors: CommentReplyAuthorCollection; + replyAuthors: CommentReplyAuthorCollection /** Resources that this comment targets. Can be a mixture of either one stream, or multiple commits and objects. */ - resources: Array; - screenshot?: Maybe; - text: SmartTextEditorValue; + resources: Array + screenshot?: Maybe + text: SmartTextEditorValue /** The time this comment was last updated. Corresponds also to the latest reply to this comment, if any. */ - updatedAt: Scalars['DateTime']['output']; + updatedAt: Scalars['DateTime']['output'] /** The last time you viewed this comment. Present only if an auth'ed request. Relevant only if a top level commit. */ - viewedAt?: Maybe; + viewedAt?: Maybe /** Resource identifiers as defined and implemented in the Viewer of the new frontend */ - viewerResources: Array; + viewerResources: Array /** SerializedViewerState */ - viewerState?: Maybe; -}; - + viewerState?: Maybe +} export type CommentRepliesArgs = { - cursor?: InputMaybe; - limit?: InputMaybe; -}; - + cursor?: InputMaybe + limit?: InputMaybe +} export type CommentReplyAuthorsArgs = { - limit?: Scalars['Int']['input']; -}; + limit?: Scalars['Int']['input'] +} export type CommentActivityMessage = { - __typename?: 'CommentActivityMessage'; - comment: Comment; - type: Scalars['String']['output']; -}; + __typename?: 'CommentActivityMessage' + comment: Comment + type: Scalars['String']['output'] +} export type CommentCollection = { - __typename?: 'CommentCollection'; - cursor?: Maybe; - items: Array; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'CommentCollection' + cursor?: Maybe + items: Array + totalCount: Scalars['Int']['output'] +} export type CommentContentInput = { - blobIds?: InputMaybe>; - doc?: InputMaybe; -}; + blobIds?: InputMaybe> + doc?: InputMaybe +} /** Deprecated: Used by old stream-based mutations */ export type CommentCreateInput = { /** IDs of uploaded blobs that should be attached to this comment */ - blobIds: Array; - data: Scalars['JSONObject']['input']; + blobIds: Array + data: Scalars['JSONObject']['input'] /** * Specifies the resources this comment is linked to. There are several use cases: * - a comment targets only one resource (commit or object) * - a comment targets one or more resources (commits or objects) * - a comment targets only a stream */ - resources: Array>; - screenshot?: InputMaybe; - streamId: Scalars['String']['input']; + resources: Array> + screenshot?: InputMaybe + streamId: Scalars['String']['input'] /** ProseMirror document object */ - text?: InputMaybe; -}; + text?: InputMaybe +} export type CommentDataFilters = { - __typename?: 'CommentDataFilters'; - hiddenIds?: Maybe>; - isolatedIds?: Maybe>; - passMax?: Maybe; - passMin?: Maybe; - propertyInfoKey?: Maybe; - sectionBox?: Maybe; -}; + __typename?: 'CommentDataFilters' + hiddenIds?: Maybe> + isolatedIds?: Maybe> + passMax?: Maybe + passMin?: Maybe + propertyInfoKey?: Maybe + sectionBox?: Maybe +} /** Equivalent to frontend-1's LocalFilterState */ export type CommentDataFiltersInput = { - hiddenIds?: InputMaybe>; - isolatedIds?: InputMaybe>; - passMax?: InputMaybe; - passMin?: InputMaybe; - propertyInfoKey?: InputMaybe; - sectionBox?: InputMaybe; -}; + hiddenIds?: InputMaybe> + isolatedIds?: InputMaybe> + passMax?: InputMaybe + passMin?: InputMaybe + propertyInfoKey?: InputMaybe + sectionBox?: InputMaybe +} /** Deprecated: Used by old stream-based mutations */ export type CommentEditInput = { /** IDs of uploaded blobs that should be attached to this comment */ - blobIds: Array; - id: Scalars['String']['input']; - streamId: Scalars['String']['input']; + blobIds: Array + id: Scalars['String']['input'] + streamId: Scalars['String']['input'] /** ProseMirror document object */ - text?: InputMaybe; -}; + text?: InputMaybe +} export type CommentMutations = { - __typename?: 'CommentMutations'; - archive: Scalars['Boolean']['output']; - create: Comment; - edit: Comment; - markViewed: Scalars['Boolean']['output']; - reply: Comment; -}; - + __typename?: 'CommentMutations' + archive: Scalars['Boolean']['output'] + create: Comment + edit: Comment + markViewed: Scalars['Boolean']['output'] + reply: Comment +} export type CommentMutationsArchiveArgs = { - archived?: Scalars['Boolean']['input']; - commentId: Scalars['String']['input']; -}; - + input: ArchiveCommentInput +} export type CommentMutationsCreateArgs = { - input: CreateCommentInput; -}; - + input: CreateCommentInput +} export type CommentMutationsEditArgs = { - input: EditCommentInput; -}; - + input: EditCommentInput +} export type CommentMutationsMarkViewedArgs = { - commentId: Scalars['String']['input']; -}; - + input: MarkCommentViewedInput +} export type CommentMutationsReplyArgs = { - input: CreateCommentReplyInput; -}; + input: CreateCommentReplyInput +} export type CommentReplyAuthorCollection = { - __typename?: 'CommentReplyAuthorCollection'; - items: Array; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'CommentReplyAuthorCollection' + items: Array + totalCount: Scalars['Int']['output'] +} export type CommentThreadActivityMessage = { - __typename?: 'CommentThreadActivityMessage'; - data?: Maybe; - reply?: Maybe; - type: Scalars['String']['output']; -}; + __typename?: 'CommentThreadActivityMessage' + data?: Maybe + reply?: Maybe + type: Scalars['String']['output'] +} export type Commit = { - __typename?: 'Commit'; + __typename?: 'Commit' /** * All the recent activity on this commit in chronological order * @deprecated Part of the old API surface and will be removed in the future. */ - activity?: Maybe; - authorAvatar?: Maybe; - authorId?: Maybe; - authorName?: Maybe; - branch?: Maybe; - branchName?: Maybe; + activity?: Maybe + authorAvatar?: Maybe + authorId?: Maybe + authorName?: Maybe + branch?: Maybe + branchName?: Maybe /** * The total number of comments for this commit. To actually get the comments, use the comments query and pass in a resource array consisting of of this commit's id. * E.g., @@ -711,165 +708,161 @@ export type Commit = { * ``` * @deprecated Part of the old API surface and will be removed in the future. */ - commentCount: Scalars['Int']['output']; - createdAt?: Maybe; - id: Scalars['String']['output']; - message?: Maybe; - parents?: Maybe>>; - referencedObject: Scalars['String']['output']; - sourceApplication?: Maybe; + commentCount: Scalars['Int']['output'] + createdAt?: Maybe + id: Scalars['String']['output'] + message?: Maybe + parents?: Maybe>> + referencedObject: Scalars['String']['output'] + sourceApplication?: Maybe /** * Will throw an authorization error if active user isn't authorized to see it, for example, * if a stream isn't public and the user doesn't have the appropriate rights. */ - stream: Stream; + stream: Stream /** @deprecated Use the stream field instead */ - streamId?: Maybe; + streamId?: Maybe /** @deprecated Use the stream field instead */ - streamName?: Maybe; - totalChildrenCount?: Maybe; -}; - + streamName?: Maybe + totalChildrenCount?: Maybe +} export type CommitActivityArgs = { - actionType?: InputMaybe; - after?: InputMaybe; - before?: InputMaybe; - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; -}; + actionType?: InputMaybe + after?: InputMaybe + before?: InputMaybe + cursor?: InputMaybe + limit?: Scalars['Int']['input'] +} export type CommitCollection = { - __typename?: 'CommitCollection'; - cursor?: Maybe; - items?: Maybe>; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'CommitCollection' + cursor?: Maybe + items?: Maybe> + totalCount: Scalars['Int']['output'] +} export type CommitCreateInput = { - branchName: Scalars['String']['input']; - message?: InputMaybe; - objectId: Scalars['String']['input']; - parents?: InputMaybe>>; - sourceApplication?: InputMaybe; - streamId: Scalars['String']['input']; - totalChildrenCount?: InputMaybe; -}; + branchName: Scalars['String']['input'] + message?: InputMaybe + objectId: Scalars['String']['input'] + parents?: InputMaybe>> + sourceApplication?: InputMaybe + streamId: Scalars['String']['input'] + totalChildrenCount?: InputMaybe +} export type CommitDeleteInput = { - id: Scalars['String']['input']; - streamId: Scalars['String']['input']; -}; + id: Scalars['String']['input'] + streamId: Scalars['String']['input'] +} export type CommitReceivedInput = { - commitId: Scalars['String']['input']; - message?: InputMaybe; - sourceApplication: Scalars['String']['input']; - streamId: Scalars['String']['input']; -}; + commitId: Scalars['String']['input'] + message?: InputMaybe + sourceApplication: Scalars['String']['input'] + streamId: Scalars['String']['input'] +} export type CommitUpdateInput = { - id: Scalars['String']['input']; - message?: InputMaybe; + id: Scalars['String']['input'] + message?: InputMaybe /** To move the commit to a different branch, please the name of the branch. */ - newBranchName?: InputMaybe; - streamId: Scalars['String']['input']; -}; + newBranchName?: InputMaybe + streamId: Scalars['String']['input'] +} export type CommitsDeleteInput = { - commitIds: Array; -}; + commitIds: Array + streamId: Scalars['ID']['input'] +} export type CommitsMoveInput = { - commitIds: Array; - targetBranch: Scalars['String']['input']; -}; + commitIds: Array + streamId: Scalars['ID']['input'] + targetBranch: Scalars['String']['input'] +} /** * Can be used instead of a full item collection, when the implementation doesn't call for it yet. Because * of the structure, it can be swapped out to a full item collection in the future */ export type CountOnlyCollection = { - __typename?: 'CountOnlyCollection'; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'CountOnlyCollection' + totalCount: Scalars['Int']['output'] +} export type CreateAutomateFunctionInput = { - description: Scalars['String']['input']; + description: Scalars['String']['input'] /** Base64 encoded image data string */ - logo?: InputMaybe; - name: Scalars['String']['input']; + logo?: InputMaybe + name: Scalars['String']['input'] /** GitHub organization to create the repository in */ - org?: InputMaybe; + org?: InputMaybe /** SourceAppNames values from @speckle/shared */ - supportedSourceApps: Array; - tags: Array; - template: AutomateFunctionTemplateLanguage; -}; + supportedSourceApps: Array + tags: Array + template: AutomateFunctionTemplateLanguage +} export type CreateCommentInput = { - content: CommentContentInput; - projectId: Scalars['String']['input']; + content: CommentContentInput + projectId: Scalars['String']['input'] /** Resources that this comment should be attached to */ - resourceIdString: Scalars['String']['input']; - screenshot?: InputMaybe; + resourceIdString: Scalars['String']['input'] + screenshot?: InputMaybe /** * SerializedViewerState. If omitted, comment won't render (correctly) inside the * viewer, but will still be retrievable through the API */ - viewerState?: InputMaybe; -}; + viewerState?: InputMaybe +} export type CreateCommentReplyInput = { - content: CommentContentInput; - threadId: Scalars['String']['input']; -}; + content: CommentContentInput + projectId: Scalars['String']['input'] + threadId: Scalars['String']['input'] +} export type CreateModelInput = { - description?: InputMaybe; - name: Scalars['String']['input']; - projectId: Scalars['ID']['input']; -}; + description?: InputMaybe + name: Scalars['String']['input'] + projectId: Scalars['ID']['input'] +} export type CreateServerRegionInput = { - description?: InputMaybe; - key: Scalars['String']['input']; - name: Scalars['String']['input']; -}; + description?: InputMaybe + key: Scalars['String']['input'] + name: Scalars['String']['input'] +} export type CreateUserEmailInput = { - email: Scalars['String']['input']; -}; + email: Scalars['String']['input'] +} export type CreateVersionInput = { - message?: InputMaybe; - modelId: Scalars['String']['input']; - objectId: Scalars['String']['input']; - parents?: InputMaybe>; - projectId: Scalars['String']['input']; - sourceApplication?: InputMaybe; - totalChildrenCount?: InputMaybe; -}; - -export enum Currency { - Eur = 'EUR', - Gbp = 'GBP', - Usd = 'USD' + message?: InputMaybe + modelId: Scalars['String']['input'] + objectId: Scalars['String']['input'] + parents?: InputMaybe> + projectId: Scalars['String']['input'] + sourceApplication?: InputMaybe + totalChildrenCount?: InputMaybe } export type DeleteModelInput = { - id: Scalars['ID']['input']; - projectId: Scalars['ID']['input']; -}; + id: Scalars['ID']['input'] + projectId: Scalars['ID']['input'] +} export type DeleteUserEmailInput = { - id: Scalars['ID']['input']; -}; + id: Scalars['ID']['input'] +} export type DeleteVersionsInput = { - projectId: Scalars['ID']['input']; - versionIds: Array; -}; + projectId: Scalars['ID']['input'] + versionIds: Array +} export enum DiscoverableStreamsSortType { CreatedDate = 'CREATED_DATE', @@ -877,823 +870,763 @@ export enum DiscoverableStreamsSortType { } export type DiscoverableStreamsSortingInput = { - direction: SortDirection; - type: DiscoverableStreamsSortType; -}; + direction: SortDirection + type: DiscoverableStreamsSortType +} export type EditCommentInput = { - commentId: Scalars['String']['input']; - content: CommentContentInput; -}; + commentId: Scalars['String']['input'] + content: CommentContentInput + projectId: Scalars['String']['input'] +} export type EmailVerificationRequestInput = { - id: Scalars['ID']['input']; -}; + id: Scalars['ID']['input'] +} export type FileUpload = { - __typename?: 'FileUpload'; - branchName: Scalars['String']['output']; + __typename?: 'FileUpload' + branchName: Scalars['String']['output'] /** If present, the conversion result is stored in this commit. */ - convertedCommitId?: Maybe; - convertedLastUpdate: Scalars['DateTime']['output']; + convertedCommitId?: Maybe + convertedLastUpdate: Scalars['DateTime']['output'] /** Holds any errors or info. */ - convertedMessage?: Maybe; + convertedMessage?: Maybe /** 0 = queued, 1 = processing, 2 = success, 3 = error */ - convertedStatus: Scalars['Int']['output']; + convertedStatus: Scalars['Int']['output'] /** Alias for convertedCommitId */ - convertedVersionId?: Maybe; - fileName: Scalars['String']['output']; - fileSize: Scalars['Int']['output']; - fileType: Scalars['String']['output']; - id: Scalars['String']['output']; + convertedVersionId?: Maybe + fileName: Scalars['String']['output'] + fileSize: Scalars['Int']['output'] + fileType: Scalars['String']['output'] + id: Scalars['String']['output'] /** Model associated with the file upload, if it exists already */ - model?: Maybe; + model?: Maybe /** Alias for branchName */ - modelName: Scalars['String']['output']; + modelName: Scalars['String']['output'] /** Alias for streamId */ - projectId: Scalars['String']['output']; - streamId: Scalars['String']['output']; - uploadComplete: Scalars['Boolean']['output']; - uploadDate: Scalars['DateTime']['output']; + projectId: Scalars['String']['output'] + streamId: Scalars['String']['output'] + uploadComplete: Scalars['Boolean']['output'] + uploadDate: Scalars['DateTime']['output'] /** The user's id that uploaded this file. */ - userId: Scalars['String']['output']; -}; + userId: Scalars['String']['output'] +} export type GendoAiRender = { - __typename?: 'GendoAIRender'; - camera?: Maybe; - createdAt: Scalars['DateTime']['output']; - gendoGenerationId?: Maybe; - id: Scalars['ID']['output']; - modelId: Scalars['String']['output']; - projectId: Scalars['String']['output']; - prompt: Scalars['String']['output']; + __typename?: 'GendoAIRender' + camera?: Maybe + createdAt: Scalars['DateTime']['output'] + gendoGenerationId?: Maybe + id: Scalars['ID']['output'] + modelId: Scalars['String']['output'] + projectId: Scalars['String']['output'] + prompt: Scalars['String']['output'] /** This is a blob id. */ - responseImage?: Maybe; - status: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; - user?: Maybe; - userId: Scalars['String']['output']; - versionId: Scalars['String']['output']; -}; + responseImage?: Maybe + status: Scalars['String']['output'] + updatedAt: Scalars['DateTime']['output'] + user?: Maybe + userId: Scalars['String']['output'] + versionId: Scalars['String']['output'] +} export type GendoAiRenderCollection = { - __typename?: 'GendoAIRenderCollection'; - items: Array>; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'GendoAIRenderCollection' + items: Array> + totalCount: Scalars['Int']['output'] +} export type GendoAiRenderInput = { /** Base64 encoded image of the depthmap. */ - baseImage: Scalars['String']['input']; - camera: Scalars['JSONObject']['input']; - modelId: Scalars['ID']['input']; - projectId: Scalars['ID']['input']; + baseImage: Scalars['String']['input'] + camera: Scalars['JSONObject']['input'] + modelId: Scalars['ID']['input'] + projectId: Scalars['ID']['input'] /** The generation prompt. */ - prompt: Scalars['String']['input']; - versionId: Scalars['ID']['input']; -}; + prompt: Scalars['String']['input'] + versionId: Scalars['ID']['input'] +} export type JoinWorkspaceInput = { - workspaceId: Scalars['ID']['input']; -}; + workspaceId: Scalars['ID']['input'] +} export type LegacyCommentViewerData = { - __typename?: 'LegacyCommentViewerData'; + __typename?: 'LegacyCommentViewerData' /** * An array representing a user's camera position: * [camPos.x, camPos.y, camPos.z, camTarget.x, camTarget.y, camTarget.z, isOrtho, zoomNumber] */ - camPos: Array; + camPos: Array /** Old FE LocalFilterState type */ - filters: CommentDataFilters; + filters: CommentDataFilters /** THREE.Vector3 {x, y, z} */ - location: Scalars['JSONObject']['output']; + location: Scalars['JSONObject']['output'] /** Viewer.getCurrentSectionBox(): THREE.Box3 */ - sectionBox?: Maybe; + sectionBox?: Maybe /** Currently unused. Ideally comments should keep track of selected objects. */ - selection?: Maybe; -}; + selection?: Maybe +} /** * Limited user type, for showing public info about a user * to another user */ export type LimitedUser = { - __typename?: 'LimitedUser'; + __typename?: 'LimitedUser' /** * All the recent activity from this user in chronological order * @deprecated Part of the old API surface and will be removed in the future. */ - activity?: Maybe; - avatar?: Maybe; - bio?: Maybe; + activity?: Maybe + avatar?: Maybe + bio?: Maybe /** * Get public stream commits authored by the user * @deprecated Part of the old API surface and will be removed in the future. */ - commits?: Maybe; - company?: Maybe; - id: Scalars['ID']['output']; - name: Scalars['String']['output']; - role?: Maybe; + commits?: Maybe + company?: Maybe + id: Scalars['ID']['output'] + name: Scalars['String']['output'] + role?: Maybe /** * Returns all discoverable streams that the user is a collaborator on * @deprecated Part of the old API surface and will be removed in the future. */ - streams: StreamCollection; + streams: StreamCollection /** * The user's timeline in chronological order * @deprecated Part of the old API surface and will be removed in the future. */ - timeline?: Maybe; + timeline?: Maybe /** * Total amount of favorites attached to streams owned by the user * @deprecated Part of the old API surface and will be removed in the future. */ - totalOwnedStreamsFavorites: Scalars['Int']['output']; - verified?: Maybe; - workspaceDomainPolicyCompliant?: Maybe; -}; - + totalOwnedStreamsFavorites: Scalars['Int']['output'] + verified?: Maybe + workspaceDomainPolicyCompliant?: Maybe +} /** * Limited user type, for showing public info about a user * to another user */ export type LimitedUserActivityArgs = { - actionType?: InputMaybe; - after?: InputMaybe; - before?: InputMaybe; - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - + actionType?: InputMaybe + after?: InputMaybe + before?: InputMaybe + cursor?: InputMaybe + limit?: Scalars['Int']['input'] +} /** * Limited user type, for showing public info about a user * to another user */ export type LimitedUserCommitsArgs = { - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - + cursor?: InputMaybe + limit?: Scalars['Int']['input'] +} /** * Limited user type, for showing public info about a user * to another user */ export type LimitedUserStreamsArgs = { - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - + cursor?: InputMaybe + limit?: Scalars['Int']['input'] +} /** * Limited user type, for showing public info about a user * to another user */ export type LimitedUserTimelineArgs = { - after?: InputMaybe; - before?: InputMaybe; - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - + after?: InputMaybe + before?: InputMaybe + cursor?: InputMaybe + limit?: Scalars['Int']['input'] +} /** * Limited user type, for showing public info about a user * to another user */ export type LimitedUserWorkspaceDomainPolicyCompliantArgs = { - workspaceId?: InputMaybe; -}; + workspaceId?: InputMaybe +} /** Workspace metadata visible to non-workspace members. */ export type LimitedWorkspace = { - __typename?: 'LimitedWorkspace'; + __typename?: 'LimitedWorkspace' /** Index of fallback workspace logo to use */ - defaultLogoIndex: Scalars['Int']['output']; + defaultLogoIndex: Scalars['Int']['output'] /** Workspace description */ - description?: Maybe; + description?: Maybe /** Workspace id */ - id: Scalars['ID']['output']; + id: Scalars['ID']['output'] /** Optional base64 encoded workspace logo image */ - logo?: Maybe; + logo?: Maybe /** Workspace name */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** Unique workspace short id. Used for navigation. */ - slug: Scalars['String']['output']; -}; + slug: Scalars['String']['output'] +} + +export type MarkCommentViewedInput = { + commentId: Scalars['String']['input'] + projectId: Scalars['String']['input'] +} export type MarkReceivedVersionInput = { - message?: InputMaybe; - projectId: Scalars['String']['input']; - sourceApplication: Scalars['String']['input']; - versionId: Scalars['String']['input']; -}; + message?: InputMaybe + projectId: Scalars['String']['input'] + sourceApplication: Scalars['String']['input'] + versionId: Scalars['String']['input'] +} export type Model = { - __typename?: 'Model'; - author: LimitedUser; - automationsStatus?: Maybe; + __typename?: 'Model' + author: LimitedUser + automationsStatus?: Maybe /** Return a model tree of children */ - childrenTree: Array; + childrenTree: Array /** All comment threads in this model */ - commentThreads: CommentCollection; - createdAt: Scalars['DateTime']['output']; - description?: Maybe; + commentThreads: CommentCollection + createdAt: Scalars['DateTime']['output'] + description?: Maybe /** The shortened/display name that doesn't include the names of parent models */ - displayName: Scalars['String']['output']; - id: Scalars['ID']['output']; + displayName: Scalars['String']['output'] + id: Scalars['ID']['output'] /** Full name including the names of parent models delimited by forward slashes */ - name: Scalars['String']['output']; + name: Scalars['String']['output'] /** Returns a list of versions that are being created from a file import */ - pendingImportedVersions: Array; - previewUrl?: Maybe; - updatedAt: Scalars['DateTime']['output']; - version: Version; - versions: VersionCollection; -}; - + pendingImportedVersions: Array + previewUrl?: Maybe + updatedAt: Scalars['DateTime']['output'] + version: Version + versions: VersionCollection +} export type ModelCommentThreadsArgs = { - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - + cursor?: InputMaybe + limit?: Scalars['Int']['input'] +} export type ModelPendingImportedVersionsArgs = { - limit?: InputMaybe; -}; - + limit?: InputMaybe +} export type ModelVersionArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type ModelVersionsArgs = { - cursor?: InputMaybe; - filter?: InputMaybe; - limit?: Scalars['Int']['input']; -}; + cursor?: InputMaybe + filter?: InputMaybe + limit?: Scalars['Int']['input'] +} export type ModelCollection = { - __typename?: 'ModelCollection'; - cursor?: Maybe; - items: Array; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'ModelCollection' + cursor?: Maybe + items: Array + totalCount: Scalars['Int']['output'] +} export type ModelMutations = { - __typename?: 'ModelMutations'; - create: Model; - delete: Scalars['Boolean']['output']; - update: Model; -}; - + __typename?: 'ModelMutations' + create: Model + delete: Scalars['Boolean']['output'] + update: Model +} export type ModelMutationsCreateArgs = { - input: CreateModelInput; -}; - + input: CreateModelInput +} export type ModelMutationsDeleteArgs = { - input: DeleteModelInput; -}; - + input: DeleteModelInput +} export type ModelMutationsUpdateArgs = { - input: UpdateModelInput; -}; + input: UpdateModelInput +} export type ModelVersionsFilter = { /** Make sure these specified versions are always loaded first */ - priorityIds?: InputMaybe>; + priorityIds?: InputMaybe> /** Only return versions specified in `priorityIds` */ - priorityIdsOnly?: InputMaybe; -}; + priorityIdsOnly?: InputMaybe +} export type ModelsTreeItem = { - __typename?: 'ModelsTreeItem'; - children: Array; - fullName: Scalars['String']['output']; + __typename?: 'ModelsTreeItem' + children: Array + fullName: Scalars['String']['output'] /** Whether or not this item has nested children models */ - hasChildren: Scalars['Boolean']['output']; - id: Scalars['ID']['output']; + hasChildren: Scalars['Boolean']['output'] + id: Scalars['ID']['output'] /** * Nullable cause the item can represent a parent that doesn't actually exist as a model on its own. * E.g. A model named "foo/bar" is supposed to be a child of "foo" and will be represented as such, * even if "foo" doesn't exist as its own model. */ - model?: Maybe; - name: Scalars['String']['output']; - updatedAt: Scalars['DateTime']['output']; -}; + model?: Maybe + name: Scalars['String']['output'] + updatedAt: Scalars['DateTime']['output'] +} export type ModelsTreeItemCollection = { - __typename?: 'ModelsTreeItemCollection'; - cursor?: Maybe; - items: Array; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'ModelsTreeItemCollection' + cursor?: Maybe + items: Array + totalCount: Scalars['Int']['output'] +} export type MoveVersionsInput = { - projectId: Scalars['ID']['input']; + projectId: Scalars['ID']['input'] /** If the name references a nonexistant model, it will be created */ - targetModelName: Scalars['String']['input']; - versionIds: Array; -}; + targetModelName: Scalars['String']['input'] + versionIds: Array +} export type Mutation = { - __typename?: 'Mutation'; + __typename?: 'Mutation' /** The void stares back. */ - _?: Maybe; + _?: Maybe /** Various Active User oriented mutations */ - activeUserMutations: ActiveUserMutations; - adminDeleteUser: Scalars['Boolean']['output']; + activeUserMutations: ActiveUserMutations + adminDeleteUser: Scalars['Boolean']['output'] /** Creates an personal api token. */ - apiTokenCreate: Scalars['String']['output']; + apiTokenCreate: Scalars['String']['output'] /** Revokes (deletes) an personal api token/app token. */ - apiTokenRevoke: Scalars['Boolean']['output']; + apiTokenRevoke: Scalars['Boolean']['output'] /** Register a new third party application. */ - appCreate: Scalars['String']['output']; + appCreate: Scalars['String']['output'] /** Deletes a thirty party application. */ - appDelete: Scalars['Boolean']['output']; + appDelete: Scalars['Boolean']['output'] /** Revokes (de-authorizes) an application that you have previously authorized. */ - appRevokeAccess?: Maybe; + appRevokeAccess?: Maybe /** Create an app token. Only apps can create app tokens and they don't show up under personal access tokens. */ - appTokenCreate: Scalars['String']['output']; + appTokenCreate: Scalars['String']['output'] /** Update an existing third party application. **Note: This will invalidate all existing tokens, refresh tokens and access codes and will require existing users to re-authorize it.** */ - appUpdate: Scalars['Boolean']['output']; - automateFunctionRunStatusReport: Scalars['Boolean']['output']; - automateMutations: AutomateMutations; + appUpdate: Scalars['Boolean']['output'] + automateFunctionRunStatusReport: Scalars['Boolean']['output'] + automateMutations: AutomateMutations /** @deprecated Part of the old API surface and will be removed in the future. Use ModelMutations.create instead. */ - branchCreate: Scalars['String']['output']; + branchCreate: Scalars['String']['output'] /** @deprecated Part of the old API surface and will be removed in the future. Use ModelMutations.delete instead. */ - branchDelete: Scalars['Boolean']['output']; + branchDelete: Scalars['Boolean']['output'] /** @deprecated Part of the old API surface and will be removed in the future. Use ModelMutations.update instead. */ - branchUpdate: Scalars['Boolean']['output']; + branchUpdate: Scalars['Boolean']['output'] /** Broadcast user activity in the viewer */ - broadcastViewerUserActivity: Scalars['Boolean']['output']; + broadcastViewerUserActivity: Scalars['Boolean']['output'] /** * Archives a comment. * @deprecated Use commentMutations version */ - commentArchive: Scalars['Boolean']['output']; + commentArchive: Scalars['Boolean']['output'] /** * Creates a comment * @deprecated Use commentMutations version */ - commentCreate: Scalars['String']['output']; + commentCreate: Scalars['String']['output'] /** * Edits a comment. * @deprecated Use commentMutations version */ - commentEdit: Scalars['Boolean']['output']; - commentMutations: CommentMutations; + commentEdit: Scalars['Boolean']['output'] + commentMutations: CommentMutations /** * Adds a reply to a comment. * @deprecated Use commentMutations version */ - commentReply: Scalars['String']['output']; + commentReply: Scalars['String']['output'] /** * Flags a comment as viewed by you (the logged in user). * @deprecated Use commentMutations version */ - commentView: Scalars['Boolean']['output']; + commentView: Scalars['Boolean']['output'] /** @deprecated Part of the old API surface and will be removed in the future. Use VersionMutations.create instead. */ - commitCreate: Scalars['String']['output']; + commitCreate: Scalars['String']['output'] /** @deprecated Part of the old API surface and will be removed in the future. Use VersionMutations.delete instead. */ - commitDelete: Scalars['Boolean']['output']; + commitDelete: Scalars['Boolean']['output'] /** @deprecated Part of the old API surface and will be removed in the future. Use VersionMutations.markReceived instead. */ - commitReceive: Scalars['Boolean']['output']; + commitReceive: Scalars['Boolean']['output'] /** @deprecated Part of the old API surface and will be removed in the future. Use VersionMutations.update/moveToModel instead. */ - commitUpdate: Scalars['Boolean']['output']; + commitUpdate: Scalars['Boolean']['output'] /** * Delete a batch of commits * @deprecated Part of the old API surface and will be removed in the future. Use VersionMutations.delete instead. */ - commitsDelete: Scalars['Boolean']['output']; + commitsDelete: Scalars['Boolean']['output'] /** * Move a batch of commits to a new branch * @deprecated Part of the old API surface and will be removed in the future. Use VersionMutations.moveToModel instead. */ - commitsMove: Scalars['Boolean']['output']; + commitsMove: Scalars['Boolean']['output'] /** * Delete a pending invite * Note: The required scope to invoke this is not given out to app or personal access tokens */ - inviteDelete: Scalars['Boolean']['output']; + inviteDelete: Scalars['Boolean']['output'] /** * Re-send a pending invite * Note: The required scope to invoke this is not given out to app or personal access tokens */ - inviteResend: Scalars['Boolean']['output']; - modelMutations: ModelMutations; + inviteResend: Scalars['Boolean']['output'] + modelMutations: ModelMutations /** @deprecated Part of the old API surface and will be removed in the future. */ - objectCreate: Array; - projectMutations: ProjectMutations; + objectCreate: Array + projectMutations: ProjectMutations /** (Re-)send the account verification e-mail */ - requestVerification: Scalars['Boolean']['output']; - requestVerificationByEmail: Scalars['Boolean']['output']; - serverInfoMutations: ServerInfoMutations; - serverInfoUpdate?: Maybe; + requestVerification: Scalars['Boolean']['output'] + requestVerificationByEmail: Scalars['Boolean']['output'] + serverInfoMutations: ServerInfoMutations + serverInfoUpdate?: Maybe /** Note: The required scope to invoke this is not given out to app or personal access tokens */ - serverInviteBatchCreate: Scalars['Boolean']['output']; + serverInviteBatchCreate: Scalars['Boolean']['output'] /** Invite a new user to the speckle server and return the invite ID */ - serverInviteCreate: Scalars['Boolean']['output']; + serverInviteCreate: Scalars['Boolean']['output'] /** * Request access to a specific stream * @deprecated Part of the old API surface and will be removed in the future. Use ProjectAccessRequestMutations.create instead. */ - streamAccessRequestCreate: StreamAccessRequest; + streamAccessRequestCreate: StreamAccessRequest /** * Accept or decline a stream access request. Must be a stream owner to invoke this. * @deprecated Part of the old API surface and will be removed in the future. Use ProjectAccessRequestMutations.use instead. */ - streamAccessRequestUse: Scalars['Boolean']['output']; + streamAccessRequestUse: Scalars['Boolean']['output'] /** * Creates a new stream. * @deprecated Part of the old API surface and will be removed in the future. Use ProjectMutations.create instead. */ - streamCreate?: Maybe; + streamCreate?: Maybe /** * Deletes an existing stream. * @deprecated Part of the old API surface and will be removed in the future. Use ProjectMutations.delete instead. */ - streamDelete: Scalars['Boolean']['output']; + streamDelete: Scalars['Boolean']['output'] /** @deprecated Part of the old API surface and will be removed in the future. */ - streamFavorite?: Maybe; + streamFavorite?: Maybe /** * Note: The required scope to invoke this is not given out to app or personal access tokens * @deprecated Part of the old API surface and will be removed in the future. Use ProjectInviteMutations.batchCreate instead. */ - streamInviteBatchCreate: Scalars['Boolean']['output']; + streamInviteBatchCreate: Scalars['Boolean']['output'] /** * Cancel a pending stream invite. Can only be invoked by a stream owner. * Note: The required scope to invoke this is not given out to app or personal access tokens * @deprecated Part of the old API surface and will be removed in the future. Use ProjectInviteMutations.cancel instead. */ - streamInviteCancel: Scalars['Boolean']['output']; + streamInviteCancel: Scalars['Boolean']['output'] /** * Invite a new or registered user to the specified stream * Note: The required scope to invoke this is not given out to app or personal access tokens * @deprecated Part of the old API surface and will be removed in the future. Use ProjectInviteMutations.create instead. */ - streamInviteCreate: Scalars['Boolean']['output']; + streamInviteCreate: Scalars['Boolean']['output'] /** * Accept or decline a stream invite * @deprecated Part of the old API surface and will be removed in the future. Use ProjectInviteMutations.use instead. */ - streamInviteUse: Scalars['Boolean']['output']; + streamInviteUse: Scalars['Boolean']['output'] /** * Remove yourself from stream collaborators (not possible for the owner) * @deprecated Part of the old API surface and will be removed in the future. Use ProjectMutations.leave instead. */ - streamLeave: Scalars['Boolean']['output']; + streamLeave: Scalars['Boolean']['output'] /** * Revokes the permissions of a user on a given stream. * @deprecated Part of the old API surface and will be removed in the future. Use ProjectMutations.updateRole instead. */ - streamRevokePermission?: Maybe; + streamRevokePermission?: Maybe /** * Updates an existing stream. * @deprecated Part of the old API surface and will be removed in the future. Use ProjectMutations.update instead. */ - streamUpdate: Scalars['Boolean']['output']; + streamUpdate: Scalars['Boolean']['output'] /** * Update permissions of a user on a given stream. * @deprecated Part of the old API surface and will be removed in the future. Use ProjectMutations.updateRole instead. */ - streamUpdatePermission?: Maybe; + streamUpdatePermission?: Maybe /** @deprecated Part of the old API surface and will be removed in the future. Use ProjectMutations.batchDelete instead. */ - streamsDelete: Scalars['Boolean']['output']; + streamsDelete: Scalars['Boolean']['output'] /** * Used for broadcasting real time typing status in comment threads. Does not persist any info. * @deprecated Use broadcastViewerUserActivity */ - userCommentThreadActivityBroadcast: Scalars['Boolean']['output']; + userCommentThreadActivityBroadcast: Scalars['Boolean']['output'] /** Delete a user's account. */ - userDelete: Scalars['Boolean']['output']; - userNotificationPreferencesUpdate?: Maybe; - userRoleChange: Scalars['Boolean']['output']; + userDelete: Scalars['Boolean']['output'] + userNotificationPreferencesUpdate?: Maybe + userRoleChange: Scalars['Boolean']['output'] /** * Edits a user's profile. * @deprecated Use activeUserMutations version */ - userUpdate: Scalars['Boolean']['output']; + userUpdate: Scalars['Boolean']['output'] /** * Used for broadcasting real time chat head bubbles and status. Does not persist any info. * @deprecated Use broadcastViewerUserActivity */ - userViewerActivityBroadcast: Scalars['Boolean']['output']; - versionMutations: VersionMutations; + userViewerActivityBroadcast: Scalars['Boolean']['output'] + versionMutations: VersionMutations /** Creates a new webhook on a stream */ - webhookCreate: Scalars['String']['output']; + webhookCreate: Scalars['String']['output'] /** Deletes an existing webhook */ - webhookDelete: Scalars['String']['output']; + webhookDelete: Scalars['String']['output'] /** Updates an existing webhook */ - webhookUpdate: Scalars['String']['output']; - workspaceMutations: WorkspaceMutations; -}; - + webhookUpdate: Scalars['String']['output'] + workspaceMutations: WorkspaceMutations +} export type MutationAdminDeleteUserArgs = { - userConfirmation: UserDeleteInput; -}; - + userConfirmation: UserDeleteInput +} export type MutationApiTokenCreateArgs = { - token: ApiTokenCreateInput; -}; - + token: ApiTokenCreateInput +} export type MutationApiTokenRevokeArgs = { - token: Scalars['String']['input']; -}; - + token: Scalars['String']['input'] +} export type MutationAppCreateArgs = { - app: AppCreateInput; -}; - + app: AppCreateInput +} export type MutationAppDeleteArgs = { - appId: Scalars['String']['input']; -}; - + appId: Scalars['String']['input'] +} export type MutationAppRevokeAccessArgs = { - appId: Scalars['String']['input']; -}; - + appId: Scalars['String']['input'] +} export type MutationAppTokenCreateArgs = { - token: AppTokenCreateInput; -}; - + token: AppTokenCreateInput +} export type MutationAppUpdateArgs = { - app: AppUpdateInput; -}; - + app: AppUpdateInput +} export type MutationAutomateFunctionRunStatusReportArgs = { - input: AutomateFunctionRunStatusReportInput; -}; - + input: AutomateFunctionRunStatusReportInput +} export type MutationBranchCreateArgs = { - branch: BranchCreateInput; -}; - + branch: BranchCreateInput +} export type MutationBranchDeleteArgs = { - branch: BranchDeleteInput; -}; - + branch: BranchDeleteInput +} export type MutationBranchUpdateArgs = { - branch: BranchUpdateInput; -}; - + branch: BranchUpdateInput +} export type MutationBroadcastViewerUserActivityArgs = { - message: ViewerUserActivityMessageInput; - projectId: Scalars['String']['input']; - resourceIdString: Scalars['String']['input']; -}; - + message: ViewerUserActivityMessageInput + projectId: Scalars['String']['input'] + resourceIdString: Scalars['String']['input'] +} export type MutationCommentArchiveArgs = { - archived?: Scalars['Boolean']['input']; - commentId: Scalars['String']['input']; - streamId: Scalars['String']['input']; -}; - + archived?: Scalars['Boolean']['input'] + commentId: Scalars['String']['input'] + streamId: Scalars['String']['input'] +} export type MutationCommentCreateArgs = { - input: CommentCreateInput; -}; - + input: CommentCreateInput +} export type MutationCommentEditArgs = { - input: CommentEditInput; -}; - + input: CommentEditInput +} export type MutationCommentReplyArgs = { - input: ReplyCreateInput; -}; - + input: ReplyCreateInput +} export type MutationCommentViewArgs = { - commentId: Scalars['String']['input']; - streamId: Scalars['String']['input']; -}; - + commentId: Scalars['String']['input'] + streamId: Scalars['String']['input'] +} export type MutationCommitCreateArgs = { - commit: CommitCreateInput; -}; - + commit: CommitCreateInput +} export type MutationCommitDeleteArgs = { - commit: CommitDeleteInput; -}; - + commit: CommitDeleteInput +} export type MutationCommitReceiveArgs = { - input: CommitReceivedInput; -}; - + input: CommitReceivedInput +} export type MutationCommitUpdateArgs = { - commit: CommitUpdateInput; -}; - + commit: CommitUpdateInput +} export type MutationCommitsDeleteArgs = { - input: CommitsDeleteInput; -}; - + input: CommitsDeleteInput +} export type MutationCommitsMoveArgs = { - input: CommitsMoveInput; -}; - + input: CommitsMoveInput +} export type MutationInviteDeleteArgs = { - inviteId: Scalars['String']['input']; -}; - + inviteId: Scalars['String']['input'] +} export type MutationInviteResendArgs = { - inviteId: Scalars['String']['input']; -}; - + inviteId: Scalars['String']['input'] +} export type MutationObjectCreateArgs = { - objectInput: ObjectCreateInput; -}; - + objectInput: ObjectCreateInput +} export type MutationRequestVerificationByEmailArgs = { - email: Scalars['String']['input']; -}; - + email: Scalars['String']['input'] +} export type MutationServerInfoUpdateArgs = { - info: ServerInfoUpdateInput; -}; - + info: ServerInfoUpdateInput +} export type MutationServerInviteBatchCreateArgs = { - input: Array; -}; - + input: Array +} export type MutationServerInviteCreateArgs = { - input: ServerInviteCreateInput; -}; - + input: ServerInviteCreateInput +} export type MutationStreamAccessRequestCreateArgs = { - streamId: Scalars['String']['input']; -}; - + streamId: Scalars['String']['input'] +} export type MutationStreamAccessRequestUseArgs = { - accept: Scalars['Boolean']['input']; - requestId: Scalars['String']['input']; - role?: StreamRole; -}; - + accept: Scalars['Boolean']['input'] + requestId: Scalars['String']['input'] + role?: StreamRole +} export type MutationStreamCreateArgs = { - stream: StreamCreateInput; -}; - + stream: StreamCreateInput +} export type MutationStreamDeleteArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type MutationStreamFavoriteArgs = { - favorited: Scalars['Boolean']['input']; - streamId: Scalars['String']['input']; -}; - + favorited: Scalars['Boolean']['input'] + streamId: Scalars['String']['input'] +} export type MutationStreamInviteBatchCreateArgs = { - input: Array; -}; - + input: Array +} export type MutationStreamInviteCancelArgs = { - inviteId: Scalars['String']['input']; - streamId: Scalars['String']['input']; -}; - + inviteId: Scalars['String']['input'] + streamId: Scalars['String']['input'] +} export type MutationStreamInviteCreateArgs = { - input: StreamInviteCreateInput; -}; - + input: StreamInviteCreateInput +} export type MutationStreamInviteUseArgs = { - accept: Scalars['Boolean']['input']; - streamId: Scalars['String']['input']; - token: Scalars['String']['input']; -}; - + accept: Scalars['Boolean']['input'] + streamId: Scalars['String']['input'] + token: Scalars['String']['input'] +} export type MutationStreamLeaveArgs = { - streamId: Scalars['String']['input']; -}; - + streamId: Scalars['String']['input'] +} export type MutationStreamRevokePermissionArgs = { - permissionParams: StreamRevokePermissionInput; -}; - + permissionParams: StreamRevokePermissionInput +} export type MutationStreamUpdateArgs = { - stream: StreamUpdateInput; -}; - + stream: StreamUpdateInput +} export type MutationStreamUpdatePermissionArgs = { - permissionParams: StreamUpdatePermissionInput; -}; - + permissionParams: StreamUpdatePermissionInput +} export type MutationStreamsDeleteArgs = { - ids?: InputMaybe>; -}; - + ids?: InputMaybe> +} export type MutationUserCommentThreadActivityBroadcastArgs = { - commentId: Scalars['String']['input']; - data?: InputMaybe; - streamId: Scalars['String']['input']; -}; - + commentId: Scalars['String']['input'] + data?: InputMaybe + streamId: Scalars['String']['input'] +} export type MutationUserDeleteArgs = { - userConfirmation: UserDeleteInput; -}; - + userConfirmation: UserDeleteInput +} export type MutationUserNotificationPreferencesUpdateArgs = { - preferences: Scalars['JSONObject']['input']; -}; - + preferences: Scalars['JSONObject']['input'] +} export type MutationUserRoleChangeArgs = { - userRoleInput: UserRoleInput; -}; - + userRoleInput: UserRoleInput +} export type MutationUserUpdateArgs = { - user: UserUpdateInput; -}; - + user: UserUpdateInput +} export type MutationUserViewerActivityBroadcastArgs = { - data?: InputMaybe; - resourceId: Scalars['String']['input']; - streamId: Scalars['String']['input']; -}; - + data?: InputMaybe + resourceId: Scalars['String']['input'] + streamId: Scalars['String']['input'] +} export type MutationWebhookCreateArgs = { - webhook: WebhookCreateInput; -}; - + webhook: WebhookCreateInput +} export type MutationWebhookDeleteArgs = { - webhook: WebhookDeleteInput; -}; - + webhook: WebhookDeleteInput +} export type MutationWebhookUpdateArgs = { - webhook: WebhookUpdateInput; -}; + webhook: WebhookUpdateInput +} export type Object = { - __typename?: 'Object'; + __typename?: 'Object' /** @deprecated Not implemented. */ - applicationId?: Maybe; + applicationId?: Maybe /** * Get any objects that this object references. In the case of commits, this will give you a commit's constituent objects. * **NOTE**: Providing any of the two last arguments ( `query`, `orderBy` ) will trigger a different code branch that executes a much more expensive SQL query. It is not recommended to do so for basic clients that are interested in purely getting all the objects of a given commit. */ - children: ObjectCollection; + children: ObjectCollection /** * The total number of comments for this commit. To actually get the comments, use the comments query and pass in a resource array consisting of of this object's id. * E.g., @@ -1705,38 +1638,37 @@ export type Object = { * ``` * @deprecated Part of the old API surface and will be removed in the future. */ - commentCount: Scalars['Int']['output']; - createdAt?: Maybe; + commentCount: Scalars['Int']['output'] + createdAt?: Maybe /** The full object, with all its props & other things. **NOTE:** If you're requesting objects for the purpose of recreating & displaying, you probably only want to request this specific field. */ - data?: Maybe; - id: Scalars['String']['output']; - speckleType?: Maybe; - totalChildrenCount?: Maybe; -}; - + data?: Maybe + id: Scalars['String']['output'] + speckleType?: Maybe + totalChildrenCount?: Maybe +} export type ObjectChildrenArgs = { - cursor?: InputMaybe; - depth?: Scalars['Int']['input']; - limit?: Scalars['Int']['input']; - orderBy?: InputMaybe; - query?: InputMaybe>; - select?: InputMaybe>>; -}; + cursor?: InputMaybe + depth?: Scalars['Int']['input'] + limit?: Scalars['Int']['input'] + orderBy?: InputMaybe + query?: InputMaybe> + select?: InputMaybe>> +} export type ObjectCollection = { - __typename?: 'ObjectCollection'; - cursor?: Maybe; - objects: Array; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'ObjectCollection' + cursor?: Maybe + objects: Array + totalCount: Scalars['Int']['output'] +} export type ObjectCreateInput = { /** The objects you want to create. */ - objects: Array>; + objects: Array> /** The stream against which these objects will be created. */ - streamId: Scalars['String']['input']; -}; + streamId: Scalars['String']['input'] +} export enum PaidWorkspacePlans { Business = 'business', @@ -1745,15 +1677,15 @@ export enum PaidWorkspacePlans { } export type PasswordStrengthCheckFeedback = { - __typename?: 'PasswordStrengthCheckFeedback'; - suggestions: Array; - warning?: Maybe; -}; + __typename?: 'PasswordStrengthCheckFeedback' + suggestions: Array + warning?: Maybe +} export type PasswordStrengthCheckResults = { - __typename?: 'PasswordStrengthCheckResults'; + __typename?: 'PasswordStrengthCheckResults' /** Verbal feedback to help choose better passwords. set when score <= 2. */ - feedback: PasswordStrengthCheckFeedback; + feedback: PasswordStrengthCheckFeedback /** * Integer from 0-4 (useful for implementing a strength bar): * 0 too guessable: risky password. (guesses < 10^3) @@ -1762,314 +1694,289 @@ export type PasswordStrengthCheckResults = { * 3 safely unguessable: moderate protection from offline slow-hash scenario. (guesses < 10^10) * 4 very unguessable: strong protection from offline slow-hash scenario. (guesses >= 10^10) */ - score: Scalars['Int']['output']; -}; + score: Scalars['Int']['output'] +} export type PendingStreamCollaborator = { - __typename?: 'PendingStreamCollaborator'; - id: Scalars['String']['output']; - inviteId: Scalars['String']['output']; - invitedBy: LimitedUser; - projectId: Scalars['String']['output']; - projectName: Scalars['String']['output']; - role: Scalars['String']['output']; + __typename?: 'PendingStreamCollaborator' + id: Scalars['String']['output'] + inviteId: Scalars['String']['output'] + invitedBy: LimitedUser + projectId: Scalars['String']['output'] + projectName: Scalars['String']['output'] + role: Scalars['String']['output'] /** @deprecated Use projectId instead */ - streamId: Scalars['String']['output']; + streamId: Scalars['String']['output'] /** @deprecated Use projectName instead */ - streamName: Scalars['String']['output']; + streamName: Scalars['String']['output'] /** E-mail address or name of the invited user */ - title: Scalars['String']['output']; + title: Scalars['String']['output'] /** Only available if the active user is the pending stream collaborator */ - token?: Maybe; + token?: Maybe /** Set only if user is registered */ - user?: Maybe; -}; + user?: Maybe +} export type PendingWorkspaceCollaborator = { - __typename?: 'PendingWorkspaceCollaborator'; + __typename?: 'PendingWorkspaceCollaborator' /** * E-mail address if target is unregistered or primary e-mail of target registered user * if token was specified to retrieve this invite */ - email?: Maybe; - id: Scalars['ID']['output']; - inviteId: Scalars['String']['output']; - invitedBy: LimitedUser; + email?: Maybe + id: Scalars['ID']['output'] + inviteId: Scalars['String']['output'] + invitedBy: LimitedUser /** Target workspace role */ - role: Scalars['String']['output']; + role: Scalars['String']['output'] /** E-mail address or name of the invited user */ - title: Scalars['String']['output']; + title: Scalars['String']['output'] /** * Only available if the active user is the pending workspace collaborator or if it was already * specified when retrieving this invite */ - token?: Maybe; - updatedAt: Scalars['DateTime']['output']; + token?: Maybe + updatedAt: Scalars['DateTime']['output'] /** Set only if user is registered */ - user?: Maybe; - workspaceId: Scalars['String']['output']; - workspaceName: Scalars['String']['output']; - workspaceSlug: Scalars['String']['output']; -}; + user?: Maybe + workspaceId: Scalars['String']['output'] + workspaceName: Scalars['String']['output'] + workspaceSlug: Scalars['String']['output'] +} export type PendingWorkspaceCollaboratorsFilter = { - search?: InputMaybe; -}; + search?: InputMaybe +} export type Project = { - __typename?: 'Project'; - allowPublicComments: Scalars['Boolean']['output']; + __typename?: 'Project' + allowPublicComments: Scalars['Boolean']['output'] /** Get a single automation by id. Error will be thrown if automation is not found or inaccessible. */ - automation: Automation; - automations: AutomationCollection; - blob?: Maybe; + automation: Automation + automations: AutomationCollection + blob?: Maybe /** Get the metadata collection of blobs stored for this stream. */ - blobs?: Maybe; + blobs?: Maybe /** Get specific project comment/thread by ID */ - comment?: Maybe; + comment?: Maybe /** All comment threads in this project */ - commentThreads: ProjectCommentCollection; - createdAt: Scalars['DateTime']['output']; - description?: Maybe; - id: Scalars['ID']['output']; + commentThreads: ProjectCommentCollection + createdAt: Scalars['DateTime']['output'] + description?: Maybe + id: Scalars['ID']['output'] /** Collaborators who have been invited, but not yet accepted. */ - invitedTeam?: Maybe>; + invitedTeam?: Maybe> /** Returns a specific model by its ID */ - model: Model; + model: Model /** Retrieve a specific project model by its ID */ - modelByName: Model; + modelByName: Model /** Return a model tree of children for the specified model name */ - modelChildrenTree: Array; + modelChildrenTree: Array /** Returns a flat list of all models */ - models: ModelCollection; + models: ModelCollection /** * Return's a project's models in a tree view with submodels being nested under parent models * real or fake (e.g., with a foo/bar model, it will be nested under foo even if such a model doesn't actually exist) */ - modelsTree: ModelsTreeItemCollection; - name: Scalars['String']['output']; - object?: Maybe; + modelsTree: ModelsTreeItemCollection + name: Scalars['String']['output'] + object?: Maybe /** Pending project access requests */ - pendingAccessRequests?: Maybe>; + pendingAccessRequests?: Maybe> /** Returns a list models that are being created from a file import */ - pendingImportedModels: Array; + pendingImportedModels: Array /** Active user's role for this project. `null` if request is not authenticated, or the project is not explicitly shared with you. */ - role?: Maybe; + role?: Maybe /** Source apps used in any models of this project */ - sourceApps: Array; - team: Array; - updatedAt: Scalars['DateTime']['output']; + sourceApps: Array + team: Array + updatedAt: Scalars['DateTime']['output'] /** Retrieve a specific project version by its ID */ - version: Version; + version: Version /** Returns a flat list of all project versions */ - versions: VersionCollection; + versions: VersionCollection /** Return metadata about resources being requested in the viewer */ - viewerResources: Array; - visibility: ProjectVisibility; - webhooks: WebhookCollection; - workspace?: Maybe; - workspaceId?: Maybe; -}; - + viewerResources: Array + visibility: ProjectVisibility + webhooks: WebhookCollection + workspace?: Maybe + workspaceId?: Maybe +} export type ProjectAutomationArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type ProjectAutomationsArgs = { - cursor?: InputMaybe; - filter?: InputMaybe; - limit?: InputMaybe; -}; - + cursor?: InputMaybe + filter?: InputMaybe + limit?: InputMaybe +} export type ProjectBlobArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type ProjectBlobsArgs = { - cursor?: InputMaybe; - limit?: InputMaybe; - query?: InputMaybe; -}; - + cursor?: InputMaybe + limit?: InputMaybe + query?: InputMaybe +} export type ProjectCommentArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type ProjectCommentThreadsArgs = { - cursor?: InputMaybe; - filter?: InputMaybe; - limit?: InputMaybe; -}; - + cursor?: InputMaybe + filter?: InputMaybe + limit?: InputMaybe +} export type ProjectModelArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type ProjectModelByNameArgs = { - name: Scalars['String']['input']; -}; - + name: Scalars['String']['input'] +} export type ProjectModelChildrenTreeArgs = { - fullName: Scalars['String']['input']; -}; - + fullName: Scalars['String']['input'] +} export type ProjectModelsArgs = { - cursor?: InputMaybe; - filter?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - + cursor?: InputMaybe + filter?: InputMaybe + limit?: Scalars['Int']['input'] +} export type ProjectModelsTreeArgs = { - cursor?: InputMaybe; - filter?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - + cursor?: InputMaybe + filter?: InputMaybe + limit?: Scalars['Int']['input'] +} export type ProjectObjectArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type ProjectPendingImportedModelsArgs = { - limit?: InputMaybe; -}; - + limit?: InputMaybe +} export type ProjectVersionArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type ProjectVersionsArgs = { - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - + cursor?: InputMaybe + limit?: Scalars['Int']['input'] +} export type ProjectViewerResourcesArgs = { - loadedVersionsOnly?: InputMaybe; - resourceIdString: Scalars['String']['input']; -}; - + loadedVersionsOnly?: InputMaybe + resourceIdString: Scalars['String']['input'] +} export type ProjectWebhooksArgs = { - id?: InputMaybe; -}; + id?: InputMaybe +} /** Created when a user requests to become a contributor on a project */ export type ProjectAccessRequest = { - __typename?: 'ProjectAccessRequest'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; + __typename?: 'ProjectAccessRequest' + createdAt: Scalars['DateTime']['output'] + id: Scalars['ID']['output'] /** Can only be selected if authed user has proper access */ - project: Project; - projectId: Scalars['String']['output']; - requester: LimitedUser; - requesterId: Scalars['String']['output']; -}; + project: Project + projectId: Scalars['String']['output'] + requester: LimitedUser + requesterId: Scalars['String']['output'] +} export type ProjectAccessRequestMutations = { - __typename?: 'ProjectAccessRequestMutations'; + __typename?: 'ProjectAccessRequestMutations' /** Request access to a specific project */ - create: ProjectAccessRequest; + create: ProjectAccessRequest /** Accept or decline a project access request. Must be a project owner to invoke this. */ - use: Project; -}; - + use: Project +} export type ProjectAccessRequestMutationsCreateArgs = { - projectId: Scalars['String']['input']; -}; - + projectId: Scalars['String']['input'] +} export type ProjectAccessRequestMutationsUseArgs = { - accept: Scalars['Boolean']['input']; - requestId: Scalars['String']['input']; - role?: StreamRole; -}; + accept: Scalars['Boolean']['input'] + requestId: Scalars['String']['input'] + role?: StreamRole +} export type ProjectAutomationCreateInput = { - enabled: Scalars['Boolean']['input']; - name: Scalars['String']['input']; -}; + enabled: Scalars['Boolean']['input'] + name: Scalars['String']['input'] +} export type ProjectAutomationMutations = { - __typename?: 'ProjectAutomationMutations'; - create: Automation; - createRevision: AutomationRevision; - createTestAutomation: Automation; - createTestAutomationRun: TestAutomationRun; + __typename?: 'ProjectAutomationMutations' + create: Automation + createRevision: AutomationRevision + createTestAutomation: Automation + createTestAutomationRun: TestAutomationRun /** * Trigger an automation with a fake "version created" trigger. The "version created" will * just refer to the last version of the model. */ - trigger: Scalars['String']['output']; - update: Automation; -}; - + trigger: Scalars['String']['output'] + update: Automation +} export type ProjectAutomationMutationsCreateArgs = { - input: ProjectAutomationCreateInput; -}; - + input: ProjectAutomationCreateInput +} export type ProjectAutomationMutationsCreateRevisionArgs = { - input: ProjectAutomationRevisionCreateInput; -}; - + input: ProjectAutomationRevisionCreateInput +} export type ProjectAutomationMutationsCreateTestAutomationArgs = { - input: ProjectTestAutomationCreateInput; -}; - + input: ProjectTestAutomationCreateInput +} export type ProjectAutomationMutationsCreateTestAutomationRunArgs = { - automationId: Scalars['ID']['input']; -}; - + automationId: Scalars['ID']['input'] +} export type ProjectAutomationMutationsTriggerArgs = { - automationId: Scalars['ID']['input']; -}; - + automationId: Scalars['ID']['input'] +} export type ProjectAutomationMutationsUpdateArgs = { - input: ProjectAutomationUpdateInput; -}; + input: ProjectAutomationUpdateInput +} export type ProjectAutomationRevisionCreateInput = { - automationId: Scalars['ID']['input']; - functions: Array; + automationId: Scalars['ID']['input'] + functions: Array /** AutomateTypes.TriggerDefinitionsSchema type from @speckle/shared */ - triggerDefinitions: Scalars['JSONObject']['input']; -}; + triggerDefinitions: Scalars['JSONObject']['input'] +} export type ProjectAutomationUpdateInput = { - enabled?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; -}; + enabled?: InputMaybe + id: Scalars['ID']['input'] + name?: InputMaybe +} export type ProjectAutomationsUpdatedMessage = { - __typename?: 'ProjectAutomationsUpdatedMessage'; - automation?: Maybe; - automationId: Scalars['String']['output']; + __typename?: 'ProjectAutomationsUpdatedMessage' + automation?: Maybe + automationId: Scalars['String']['output'] /** Only set if type === CREATED_REVISION */ - revision?: Maybe; - type: ProjectAutomationsUpdatedMessageType; -}; + revision?: Maybe + type: ProjectAutomationsUpdatedMessageType +} export enum ProjectAutomationsUpdatedMessageType { Created = 'CREATED', @@ -2078,50 +1985,50 @@ export enum ProjectAutomationsUpdatedMessageType { } export type ProjectCollaborator = { - __typename?: 'ProjectCollaborator'; - id: Scalars['ID']['output']; - role: Scalars['String']['output']; - user: LimitedUser; -}; + __typename?: 'ProjectCollaborator' + id: Scalars['ID']['output'] + role: Scalars['String']['output'] + user: LimitedUser +} export type ProjectCollection = { - __typename?: 'ProjectCollection'; - cursor?: Maybe; - items: Array; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'ProjectCollection' + cursor?: Maybe + items: Array + totalCount: Scalars['Int']['output'] +} export type ProjectCommentCollection = { - __typename?: 'ProjectCommentCollection'; - cursor?: Maybe; - items: Array; - totalArchivedCount: Scalars['Int']['output']; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'ProjectCommentCollection' + cursor?: Maybe + items: Array + totalArchivedCount: Scalars['Int']['output'] + totalCount: Scalars['Int']['output'] +} export type ProjectCommentsFilter = { /** Whether or not to include archived/resolved threads */ - includeArchived?: InputMaybe; + includeArchived?: InputMaybe /** * By default if resourceIdString is set, the "versionId" part of model resource identifiers will be ignored * and all comments of all versions of any of the referenced models will be returned. If `loadedVersionsOnly` is * enabled, then only comment threads of loaded/referenced versions in resourceIdString will be returned. */ - loadedVersionsOnly?: InputMaybe; + loadedVersionsOnly?: InputMaybe /** * Only request comments belonging to the resources identified by this * comma-delimited resouce string (same format that's used in the viewer URL) */ - resourceIdString?: InputMaybe; -}; + resourceIdString?: InputMaybe +} export type ProjectCommentsUpdatedMessage = { - __typename?: 'ProjectCommentsUpdatedMessage'; + __typename?: 'ProjectCommentsUpdatedMessage' /** Null if deleted */ - comment?: Maybe; - id: Scalars['String']['output']; - type: ProjectCommentsUpdatedMessageType; -}; + comment?: Maybe + id: Scalars['String']['output'] + type: ProjectCommentsUpdatedMessageType +} export enum ProjectCommentsUpdatedMessageType { Archived = 'ARCHIVED', @@ -2131,18 +2038,18 @@ export enum ProjectCommentsUpdatedMessageType { /** Any values left null will be ignored */ export type ProjectCreateInput = { - description?: InputMaybe; - name?: InputMaybe; - visibility?: InputMaybe; -}; + description?: InputMaybe + name?: InputMaybe + visibility?: InputMaybe +} export type ProjectFileImportUpdatedMessage = { - __typename?: 'ProjectFileImportUpdatedMessage'; + __typename?: 'ProjectFileImportUpdatedMessage' /** Upload ID */ - id: Scalars['String']['output']; - type: ProjectFileImportUpdatedMessageType; - upload: FileUpload; -}; + id: Scalars['String']['output'] + type: ProjectFileImportUpdatedMessageType + upload: FileUpload +} export enum ProjectFileImportUpdatedMessageType { Created = 'CREATED', @@ -2151,99 +2058,94 @@ export enum ProjectFileImportUpdatedMessageType { export type ProjectInviteCreateInput = { /** Either this or userId must be filled */ - email?: InputMaybe; + email?: InputMaybe /** Defaults to the contributor role, if not specified */ - role?: InputMaybe; + role?: InputMaybe /** Can only be specified if guest mode is on or if the user is an admin */ - serverRole?: InputMaybe; + serverRole?: InputMaybe /** Either this or email must be filled */ - userId?: InputMaybe; -}; + userId?: InputMaybe +} export type ProjectInviteMutations = { - __typename?: 'ProjectInviteMutations'; + __typename?: 'ProjectInviteMutations' /** Batch invite to project */ - batchCreate: Project; + batchCreate: Project /** Cancel a pending stream invite. Can only be invoked by a project owner. */ - cancel: Project; + cancel: Project /** Invite a new or registered user to be a project collaborator. Can only be invoked by a project owner. */ - create: Project; + create: Project /** * Create invite(-s) for a project in a workspace. Unlike the base create() mutation, this allows * configuring the workspace role. */ - createForWorkspace: Project; + createForWorkspace: Project /** Accept or decline a project invite */ - use: Scalars['Boolean']['output']; -}; - + use: Scalars['Boolean']['output'] +} export type ProjectInviteMutationsBatchCreateArgs = { - input: Array; - projectId: Scalars['ID']['input']; -}; - + input: Array + projectId: Scalars['ID']['input'] +} export type ProjectInviteMutationsCancelArgs = { - inviteId: Scalars['String']['input']; - projectId: Scalars['ID']['input']; -}; - + inviteId: Scalars['String']['input'] + projectId: Scalars['ID']['input'] +} export type ProjectInviteMutationsCreateArgs = { - input: ProjectInviteCreateInput; - projectId: Scalars['ID']['input']; -}; - + input: ProjectInviteCreateInput + projectId: Scalars['ID']['input'] +} export type ProjectInviteMutationsCreateForWorkspaceArgs = { - inputs: Array; - projectId: Scalars['ID']['input']; -}; - + inputs: Array + projectId: Scalars['ID']['input'] +} export type ProjectInviteMutationsUseArgs = { - input: ProjectInviteUseInput; -}; + input: ProjectInviteUseInput +} export type ProjectInviteUseInput = { - accept: Scalars['Boolean']['input']; - projectId: Scalars['ID']['input']; - token: Scalars['String']['input']; -}; + accept: Scalars['Boolean']['input'] + projectId: Scalars['ID']['input'] + token: Scalars['String']['input'] +} export type ProjectModelsFilter = { /** Filter by IDs of contributors who participated in models */ - contributors?: InputMaybe>; + contributors?: InputMaybe> /** Excldue models w/ the specified IDs */ - excludeIds?: InputMaybe>; + excludeIds?: InputMaybe> /** Only select models w/ the specified IDs */ - ids?: InputMaybe>; + ids?: InputMaybe> /** Filter out models that don't have any versions */ - onlyWithVersions?: InputMaybe; + onlyWithVersions?: InputMaybe /** Filter by model names */ - search?: InputMaybe; + search?: InputMaybe /** Filter by source apps used in models */ - sourceApps?: InputMaybe>; -}; + sourceApps?: InputMaybe> +} export type ProjectModelsTreeFilter = { /** Filter by IDs of contributors who participated in models */ - contributors?: InputMaybe>; + contributors?: InputMaybe> /** Search for specific models. If used, tree items from different levels may be mixed. */ - search?: InputMaybe; + search?: InputMaybe /** Filter by source apps used in models */ - sourceApps?: InputMaybe>; -}; + sourceApps?: InputMaybe> +} export type ProjectModelsUpdatedMessage = { - __typename?: 'ProjectModelsUpdatedMessage'; + __typename?: 'ProjectModelsUpdatedMessage' /** Model ID */ - id: Scalars['String']['output']; + id: Scalars['String']['output'] /** Null if model was deleted */ - model?: Maybe; - type: ProjectModelsUpdatedMessageType; -}; + model?: Maybe + type: ProjectModelsUpdatedMessageType +} export enum ProjectModelsUpdatedMessageType { Created = 'CREATED', @@ -2252,73 +2154,66 @@ export enum ProjectModelsUpdatedMessageType { } export type ProjectMutations = { - __typename?: 'ProjectMutations'; + __typename?: 'ProjectMutations' /** Access request related mutations */ - accessRequestMutations: ProjectAccessRequestMutations; - automationMutations: ProjectAutomationMutations; + accessRequestMutations: ProjectAccessRequestMutations + automationMutations: ProjectAutomationMutations /** Batch delete projects */ - batchDelete: Scalars['Boolean']['output']; + batchDelete: Scalars['Boolean']['output'] /** Create new project */ - create: Project; + create: Project /** * Create onboarding/tutorial project. If one is already created for the active user, that * one will be returned instead. */ - createForOnboarding: Project; + createForOnboarding: Project /** Delete an existing project */ - delete: Scalars['Boolean']['output']; + delete: Scalars['Boolean']['output'] /** Invite related mutations */ - invites: ProjectInviteMutations; + invites: ProjectInviteMutations /** Leave a project. Only possible if you're not the last remaining owner. */ - leave: Scalars['Boolean']['output']; + leave: Scalars['Boolean']['output'] /** Updates an existing project */ - update: Project; + update: Project /** Update role for a collaborator */ - updateRole: Project; -}; - + updateRole: Project +} export type ProjectMutationsAutomationMutationsArgs = { - projectId: Scalars['ID']['input']; -}; - + projectId: Scalars['ID']['input'] +} export type ProjectMutationsBatchDeleteArgs = { - ids: Array; -}; - + ids: Array +} export type ProjectMutationsCreateArgs = { - input?: InputMaybe; -}; - + input?: InputMaybe +} export type ProjectMutationsDeleteArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type ProjectMutationsLeaveArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type ProjectMutationsUpdateArgs = { - update: ProjectUpdateInput; -}; - + update: ProjectUpdateInput +} export type ProjectMutationsUpdateRoleArgs = { - input: ProjectUpdateRoleInput; -}; + input: ProjectUpdateRoleInput +} export type ProjectPendingModelsUpdatedMessage = { - __typename?: 'ProjectPendingModelsUpdatedMessage'; + __typename?: 'ProjectPendingModelsUpdatedMessage' /** Upload ID */ - id: Scalars['String']['output']; - model: FileUpload; - type: ProjectPendingModelsUpdatedMessageType; -}; + id: Scalars['String']['output'] + model: FileUpload + type: ProjectPendingModelsUpdatedMessageType +} export enum ProjectPendingModelsUpdatedMessageType { Created = 'CREATED', @@ -2326,12 +2221,12 @@ export enum ProjectPendingModelsUpdatedMessageType { } export type ProjectPendingVersionsUpdatedMessage = { - __typename?: 'ProjectPendingVersionsUpdatedMessage'; + __typename?: 'ProjectPendingVersionsUpdatedMessage' /** Upload ID */ - id: Scalars['String']['output']; - type: ProjectPendingVersionsUpdatedMessageType; - version: FileUpload; -}; + id: Scalars['String']['output'] + type: ProjectPendingVersionsUpdatedMessageType + version: FileUpload +} export enum ProjectPendingVersionsUpdatedMessageType { Created = 'CREATED', @@ -2339,25 +2234,25 @@ export enum ProjectPendingVersionsUpdatedMessageType { } export type ProjectRole = { - __typename?: 'ProjectRole'; - project: Project; - role: Scalars['String']['output']; -}; + __typename?: 'ProjectRole' + project: Project + role: Scalars['String']['output'] +} export type ProjectTestAutomationCreateInput = { - functionId: Scalars['String']['input']; - modelId: Scalars['String']['input']; - name: Scalars['String']['input']; -}; + functionId: Scalars['String']['input'] + modelId: Scalars['String']['input'] + name: Scalars['String']['input'] +} export type ProjectTriggeredAutomationsStatusUpdatedMessage = { - __typename?: 'ProjectTriggeredAutomationsStatusUpdatedMessage'; - model: Model; - project: Project; - run: AutomateRun; - type: ProjectTriggeredAutomationsStatusUpdatedMessageType; - version: Version; -}; + __typename?: 'ProjectTriggeredAutomationsStatusUpdatedMessage' + model: Model + project: Project + run: AutomateRun + type: ProjectTriggeredAutomationsStatusUpdatedMessageType + version: Version +} export enum ProjectTriggeredAutomationsStatusUpdatedMessageType { RunCreated = 'RUN_CREATED', @@ -2366,29 +2261,29 @@ export enum ProjectTriggeredAutomationsStatusUpdatedMessageType { /** Any values left null will be ignored, so only set the properties that you want updated */ export type ProjectUpdateInput = { - allowPublicComments?: InputMaybe; - description?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; - visibility?: InputMaybe; -}; + allowPublicComments?: InputMaybe + description?: InputMaybe + id: Scalars['ID']['input'] + name?: InputMaybe + visibility?: InputMaybe +} export type ProjectUpdateRoleInput = { - projectId: Scalars['String']['input']; + projectId: Scalars['String']['input'] /** Leave role as null to revoke access entirely */ - role?: InputMaybe; - userId: Scalars['String']['input']; -}; + role?: InputMaybe + userId: Scalars['String']['input'] +} export type ProjectUpdatedMessage = { - __typename?: 'ProjectUpdatedMessage'; + __typename?: 'ProjectUpdatedMessage' /** Project ID */ - id: Scalars['String']['output']; + id: Scalars['String']['output'] /** Project entity, null if project was deleted */ - project?: Maybe; + project?: Maybe /** Message type */ - type: ProjectUpdatedMessageType; -}; + type: ProjectUpdatedMessageType +} export enum ProjectUpdatedMessageType { Deleted = 'DELETED', @@ -2396,22 +2291,22 @@ export enum ProjectUpdatedMessageType { } export type ProjectVersionsPreviewGeneratedMessage = { - __typename?: 'ProjectVersionsPreviewGeneratedMessage'; - objectId: Scalars['String']['output']; - projectId: Scalars['String']['output']; - versionId: Scalars['String']['output']; -}; + __typename?: 'ProjectVersionsPreviewGeneratedMessage' + objectId: Scalars['String']['output'] + projectId: Scalars['String']['output'] + versionId: Scalars['String']['output'] +} export type ProjectVersionsUpdatedMessage = { - __typename?: 'ProjectVersionsUpdatedMessage'; + __typename?: 'ProjectVersionsUpdatedMessage' /** Version ID */ - id: Scalars['String']['output']; + id: Scalars['String']['output'] /** Only set if version was deleted, in other scenarios can be queried from 'version' */ - modelId?: Maybe; - type: ProjectVersionsUpdatedMessageType; + modelId?: Maybe + type: ProjectVersionsUpdatedMessageType /** Null if version was deleted */ - version?: Maybe; -}; + version?: Maybe +} export enum ProjectVersionsUpdatedMessageType { Created = 'CREATED', @@ -2426,115 +2321,115 @@ export enum ProjectVisibility { } export type Query = { - __typename?: 'Query'; + __typename?: 'Query' /** Stare into the void. */ - _?: Maybe; + _?: Maybe /** Gets the profile of the authenticated user or null if not authenticated */ - activeUser?: Maybe; - admin: AdminQueries; + activeUser?: Maybe + admin: AdminQueries /** * All the streams of the server. Available to admins only. * @deprecated use admin.projectList instead */ - adminStreams?: Maybe; + adminStreams?: Maybe /** * Get all (or search for specific) users, registered or invited, from the server in a paginated view. * The query looks for matches in name, company and email. * @deprecated use admin.UserList instead */ - adminUsers?: Maybe; + adminUsers?: Maybe /** Gets a specific app from the server. */ - app?: Maybe; + app?: Maybe /** * Returns all the publicly available apps on this server. * @deprecated Part of the old API surface and will be removed in the future. */ - apps?: Maybe>>; + apps?: Maybe>> /** If user is authenticated using an app token, this will describe the app */ - authenticatedAsApp?: Maybe; + authenticatedAsApp?: Maybe /** Get a single automate function by id. Error will be thrown if function is not found or inaccessible. */ - automateFunction: AutomateFunction; - automateFunctions: AutomateFunctionCollection; + automateFunction: AutomateFunction + automateFunctions: AutomateFunctionCollection /** Part of the automation/function creation handshake mechanism */ - automateValidateAuthCode: Scalars['Boolean']['output']; + automateValidateAuthCode: Scalars['Boolean']['output'] /** @deprecated Part of the old API surface and will be removed in the future. Use Project.comment instead. */ - comment?: Maybe; + comment?: Maybe /** * This query can be used in the following ways: * - get all the comments for a stream: **do not pass in any resource identifiers**. * - get the comments targeting any of a set of provided resources (comments/objects): **pass in an array of resources.** * @deprecated Use Project/Version/Model 'commentThreads' fields instead */ - comments?: Maybe; + comments?: Maybe /** * All of the discoverable streams of the server * @deprecated Part of the old API surface and will be removed in the future. */ - discoverableStreams?: Maybe; + discoverableStreams?: Maybe /** Get the (limited) profile information of another server user */ - otherUser?: Maybe; + otherUser?: Maybe /** * Find a specific project. Will throw an authorization error if active user isn't authorized * to see it, for example, if a project isn't public and the user doesn't have the appropriate rights. */ - project: Project; + project: Project /** * Look for an invitation to a project, for the current user (authed or not). If token * isn't specified, the server will look for any valid invite. */ - projectInvite?: Maybe; - serverInfo: ServerInfo; + projectInvite?: Maybe + serverInfo: ServerInfo /** Receive metadata about an invite by the invite token */ - serverInviteByToken?: Maybe; + serverInviteByToken?: Maybe /** @deprecated use admin.serverStatistics instead */ - serverStats: ServerStats; + serverStats: ServerStats /** * Returns a specific stream. Will throw an authorization error if active user isn't authorized * to see it, for example, if a stream isn't public and the user doesn't have the appropriate rights. * @deprecated Part of the old API surface and will be removed in the future. Use Query.project instead. */ - stream?: Maybe; + stream?: Maybe /** * Get authed user's stream access request * @deprecated Part of the old API surface and will be removed in the future. Use User.projectAccessRequest instead. */ - streamAccessRequest?: Maybe; + streamAccessRequest?: Maybe /** * Look for an invitation to a stream, for the current user (authed or not). If token * isn't specified, the server will look for any valid invite. * @deprecated Part of the old API surface and will be removed in the future. Use Query.projectInvite instead. */ - streamInvite?: Maybe; + streamInvite?: Maybe /** * Get all invitations to streams that the active user has * @deprecated Part of the old API surface and will be removed in the future. Use User.projectInvites instead. */ - streamInvites: Array; + streamInvites: Array /** * Returns all streams that the active user is a collaborator on. * Pass in the `query` parameter to search by name, description or ID. * @deprecated Part of the old API surface and will be removed in the future. Use User.projects instead. */ - streams?: Maybe; + streams?: Maybe /** * Gets the profile of a user. If no id argument is provided, will return the current authenticated user's profile (as extracted from the authorization header). * @deprecated To be removed in the near future! Use 'activeUser' to get info about the active user or 'otherUser' to get info about another user. */ - user?: Maybe; + user?: Maybe /** * Validate password strength * @deprecated Part of the old API surface and will be removed in the future. */ - userPwdStrength: PasswordStrengthCheckResults; + userPwdStrength: PasswordStrengthCheckResults /** * Search for users and return limited metadata about them, if you have the server:user role. * The query looks for matches in name & email */ - userSearch: UserSearchResultCollection; + userSearch: UserSearchResultCollection /** Validates the slug, to make sure it contains only valid characters and its not taken. */ - validateWorkspaceSlug: Scalars['Boolean']['output']; - workspace: Workspace; - workspaceBySlug: Workspace; + validateWorkspaceSlug: Scalars['Boolean']['output'] + workspace: Workspace + workspaceBySlug: Workspace /** * Look for an invitation to a workspace, for the current user (authed or not). * @@ -2542,183 +2437,158 @@ export type Query = { * * Either token or workspaceId must be specified, or both */ - workspaceInvite?: Maybe; - workspacePricingPlans: Scalars['JSONObject']['output']; + workspaceInvite?: Maybe + workspacePricingPlans: Scalars['JSONObject']['output'] /** Find workspaces a given user email can use SSO to sign with */ - workspaceSsoByEmail: Array; -}; - + workspaceSsoByEmail: Array +} export type QueryAdminStreamsArgs = { - limit?: InputMaybe; - offset?: InputMaybe; - orderBy?: InputMaybe; - query?: InputMaybe; - visibility?: InputMaybe; -}; - + limit?: InputMaybe + offset?: InputMaybe + orderBy?: InputMaybe + query?: InputMaybe + visibility?: InputMaybe +} export type QueryAdminUsersArgs = { - limit?: Scalars['Int']['input']; - offset?: Scalars['Int']['input']; - query?: InputMaybe; -}; - + limit?: Scalars['Int']['input'] + offset?: Scalars['Int']['input'] + query?: InputMaybe +} export type QueryAppArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type QueryAutomateFunctionArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type QueryAutomateFunctionsArgs = { - cursor?: InputMaybe; - filter?: InputMaybe; - limit?: InputMaybe; -}; - + cursor?: InputMaybe + filter?: InputMaybe + limit?: InputMaybe +} export type QueryAutomateValidateAuthCodeArgs = { - payload: AutomateAuthCodePayloadTest; -}; - + payload: AutomateAuthCodePayloadTest +} export type QueryCommentArgs = { - id: Scalars['String']['input']; - streamId: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] + streamId: Scalars['String']['input'] +} export type QueryCommentsArgs = { - archived?: Scalars['Boolean']['input']; - cursor?: InputMaybe; - limit?: InputMaybe; - resources?: InputMaybe>>; - streamId: Scalars['String']['input']; -}; - + archived?: Scalars['Boolean']['input'] + cursor?: InputMaybe + limit?: InputMaybe + resources?: InputMaybe>> + streamId: Scalars['String']['input'] +} export type QueryDiscoverableStreamsArgs = { - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; - sort?: InputMaybe; -}; - + cursor?: InputMaybe + limit?: Scalars['Int']['input'] + sort?: InputMaybe +} export type QueryOtherUserArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type QueryProjectArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type QueryProjectInviteArgs = { - projectId: Scalars['String']['input']; - token?: InputMaybe; -}; - + projectId: Scalars['String']['input'] + token?: InputMaybe +} export type QueryServerInviteByTokenArgs = { - token?: InputMaybe; -}; - + token?: InputMaybe +} export type QueryStreamArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type QueryStreamAccessRequestArgs = { - streamId: Scalars['String']['input']; -}; - + streamId: Scalars['String']['input'] +} export type QueryStreamInviteArgs = { - streamId: Scalars['String']['input']; - token?: InputMaybe; -}; - + streamId: Scalars['String']['input'] + token?: InputMaybe +} export type QueryStreamsArgs = { - cursor?: InputMaybe; - limit?: InputMaybe; - query?: InputMaybe; -}; - + cursor?: InputMaybe + limit?: InputMaybe + query?: InputMaybe +} export type QueryUserArgs = { - id?: InputMaybe; -}; - + id?: InputMaybe +} export type QueryUserPwdStrengthArgs = { - pwd: Scalars['String']['input']; -}; - + pwd: Scalars['String']['input'] +} export type QueryUserSearchArgs = { - archived?: InputMaybe; - cursor?: InputMaybe; - emailOnly?: InputMaybe; - limit?: Scalars['Int']['input']; - query: Scalars['String']['input']; -}; - + archived?: InputMaybe + cursor?: InputMaybe + emailOnly?: InputMaybe + limit?: Scalars['Int']['input'] + query: Scalars['String']['input'] +} export type QueryValidateWorkspaceSlugArgs = { - slug: Scalars['String']['input']; -}; - + slug: Scalars['String']['input'] +} export type QueryWorkspaceArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type QueryWorkspaceBySlugArgs = { - slug: Scalars['String']['input']; -}; - + slug: Scalars['String']['input'] +} export type QueryWorkspaceInviteArgs = { - options?: InputMaybe; - token?: InputMaybe; - workspaceId?: InputMaybe; -}; - + options?: InputMaybe + token?: InputMaybe + workspaceId?: InputMaybe +} export type QueryWorkspaceSsoByEmailArgs = { - email: Scalars['String']['input']; -}; + email: Scalars['String']['input'] +} /** Deprecated: Used by old stream-based mutations */ export type ReplyCreateInput = { /** IDs of uploaded blobs that should be attached to this reply */ - blobIds: Array; - data?: InputMaybe; - parentComment: Scalars['String']['input']; - streamId: Scalars['String']['input']; + blobIds: Array + data?: InputMaybe + parentComment: Scalars['String']['input'] + streamId: Scalars['String']['input'] /** ProseMirror document object */ - text?: InputMaybe; -}; + text?: InputMaybe +} export type ResourceIdentifier = { - __typename?: 'ResourceIdentifier'; - resourceId: Scalars['String']['output']; - resourceType: ResourceType; -}; + __typename?: 'ResourceIdentifier' + resourceId: Scalars['String']['output'] + resourceType: ResourceType +} export type ResourceIdentifierInput = { - resourceId: Scalars['String']['input']; - resourceType: ResourceType; -}; + resourceId: Scalars['String']['input'] + resourceType: ResourceType +} export enum ResourceType { Comment = 'comment', @@ -2728,170 +2598,168 @@ export enum ResourceType { } export type Role = { - __typename?: 'Role'; - description: Scalars['String']['output']; - name: Scalars['String']['output']; - resourceTarget: Scalars['String']['output']; -}; + __typename?: 'Role' + description: Scalars['String']['output'] + name: Scalars['String']['output'] + resourceTarget: Scalars['String']['output'] +} /** Available scopes. */ export type Scope = { - __typename?: 'Scope'; - description: Scalars['String']['output']; - name: Scalars['String']['output']; -}; + __typename?: 'Scope' + description: Scalars['String']['output'] + name: Scalars['String']['output'] +} export type ServerApp = { - __typename?: 'ServerApp'; - author?: Maybe; - createdAt: Scalars['DateTime']['output']; - description?: Maybe; - id: Scalars['String']['output']; - logo?: Maybe; - name: Scalars['String']['output']; - public?: Maybe; - redirectUrl: Scalars['String']['output']; - scopes: Array; - secret?: Maybe; - termsAndConditionsLink?: Maybe; - trustByDefault?: Maybe; -}; + __typename?: 'ServerApp' + author?: Maybe + createdAt: Scalars['DateTime']['output'] + description?: Maybe + id: Scalars['String']['output'] + logo?: Maybe + name: Scalars['String']['output'] + public?: Maybe + redirectUrl: Scalars['String']['output'] + scopes: Array + secret?: Maybe + termsAndConditionsLink?: Maybe + trustByDefault?: Maybe +} export type ServerAppListItem = { - __typename?: 'ServerAppListItem'; - author?: Maybe; - description?: Maybe; - id: Scalars['String']['output']; - logo?: Maybe; - name: Scalars['String']['output']; - redirectUrl: Scalars['String']['output']; - termsAndConditionsLink?: Maybe; - trustByDefault?: Maybe; -}; + __typename?: 'ServerAppListItem' + author?: Maybe + description?: Maybe + id: Scalars['String']['output'] + logo?: Maybe + name: Scalars['String']['output'] + redirectUrl: Scalars['String']['output'] + termsAndConditionsLink?: Maybe + trustByDefault?: Maybe +} export type ServerAutomateInfo = { - __typename?: 'ServerAutomateInfo'; - availableFunctionTemplates: Array; -}; + __typename?: 'ServerAutomateInfo' + availableFunctionTemplates: Array +} /** Server configuration. */ export type ServerConfiguration = { - __typename?: 'ServerConfiguration'; - blobSizeLimitBytes: Scalars['Int']['output']; - objectMultipartUploadSizeLimitBytes: Scalars['Int']['output']; - objectSizeLimitBytes: Scalars['Int']['output']; -}; + __typename?: 'ServerConfiguration' + blobSizeLimitBytes: Scalars['Int']['output'] + objectMultipartUploadSizeLimitBytes: Scalars['Int']['output'] + objectSizeLimitBytes: Scalars['Int']['output'] +} /** Information about this server. */ export type ServerInfo = { - __typename?: 'ServerInfo'; - adminContact?: Maybe; + __typename?: 'ServerInfo' + adminContact?: Maybe /** The authentication strategies available on this server. */ - authStrategies: Array; - automate: ServerAutomateInfo; + authStrategies: Array + automate: ServerAutomateInfo /** Base URL of Speckle Automate, if set */ - automateUrl?: Maybe; + automateUrl?: Maybe /** @deprecated Use the ServerInfo{configuration{blobSizeLimitBytes}} field instead. */ - blobSizeLimitBytes: Scalars['Int']['output']; - canonicalUrl?: Maybe; - company?: Maybe; + blobSizeLimitBytes: Scalars['Int']['output'] + canonicalUrl?: Maybe + company?: Maybe /** * Configuration values that are specific to this server. * These are read-only and can only be adjusted during server setup. * Please contact your server administrator if you wish to suggest a change to these values. */ - configuration: ServerConfiguration; - description?: Maybe; + configuration: ServerConfiguration + description?: Maybe /** Whether or not to show messaging about FE2 (banners etc.) */ - enableNewWebUiMessaging?: Maybe; - guestModeEnabled: Scalars['Boolean']['output']; - inviteOnly?: Maybe; + enableNewWebUiMessaging?: Maybe + guestModeEnabled: Scalars['Boolean']['output'] + inviteOnly?: Maybe /** Server relocation / migration info */ - migration?: Maybe; + migration?: Maybe /** Available to server admins only */ - multiRegion: ServerMultiRegionConfiguration; - name: Scalars['String']['output']; + multiRegion: ServerMultiRegionConfiguration + name: Scalars['String']['output'] /** @deprecated Use role constants from the @speckle/shared npm package instead */ - roles: Array; - scopes: Array; - serverRoles: Array; - termsOfService?: Maybe; - version?: Maybe; - workspaces: ServerWorkspacesInfo; -}; + roles: Array + scopes: Array + serverRoles: Array + termsOfService?: Maybe + version?: Maybe + workspaces: ServerWorkspacesInfo +} export type ServerInfoMutations = { - __typename?: 'ServerInfoMutations'; - multiRegion: ServerRegionMutations; -}; + __typename?: 'ServerInfoMutations' + multiRegion: ServerRegionMutations +} export type ServerInfoUpdateInput = { - adminContact?: InputMaybe; - company?: InputMaybe; - description?: InputMaybe; - guestModeEnabled?: InputMaybe; - inviteOnly?: InputMaybe; - name: Scalars['String']['input']; - termsOfService?: InputMaybe; -}; + adminContact?: InputMaybe + company?: InputMaybe + description?: InputMaybe + guestModeEnabled?: InputMaybe + inviteOnly?: InputMaybe + name: Scalars['String']['input'] + termsOfService?: InputMaybe +} export type ServerInvite = { - __typename?: 'ServerInvite'; - email: Scalars['String']['output']; - id: Scalars['String']['output']; - invitedBy: LimitedUser; -}; + __typename?: 'ServerInvite' + email: Scalars['String']['output'] + id: Scalars['String']['output'] + invitedBy: LimitedUser +} export type ServerInviteCreateInput = { - email: Scalars['String']['input']; - message?: InputMaybe; + email: Scalars['String']['input'] + message?: InputMaybe /** Can only be specified if guest mode is on or if the user is an admin */ - serverRole?: InputMaybe; -}; + serverRole?: InputMaybe +} export type ServerMigration = { - __typename?: 'ServerMigration'; - movedFrom?: Maybe; - movedTo?: Maybe; -}; + __typename?: 'ServerMigration' + movedFrom?: Maybe + movedTo?: Maybe +} export type ServerMultiRegionConfiguration = { - __typename?: 'ServerMultiRegionConfiguration'; + __typename?: 'ServerMultiRegionConfiguration' /** * Keys of available regions defined in the multi region config file. Used keys will * be filtered out from the result. */ - availableKeys: Array; + availableKeys: Array /** * List of regions that are currently enabled on the server using the available region keys * set in the multi region config file. */ - regions: Array; -}; + regions: Array +} export type ServerRegionItem = { - __typename?: 'ServerRegionItem'; - description?: Maybe; - id: Scalars['String']['output']; - key: Scalars['String']['output']; - name: Scalars['String']['output']; -}; + __typename?: 'ServerRegionItem' + description?: Maybe + id: Scalars['String']['output'] + key: Scalars['String']['output'] + name: Scalars['String']['output'] +} export type ServerRegionMutations = { - __typename?: 'ServerRegionMutations'; - create: ServerRegionItem; - update: ServerRegionItem; -}; - + __typename?: 'ServerRegionMutations' + create: ServerRegionItem + update: ServerRegionItem +} export type ServerRegionMutationsCreateArgs = { - input: CreateServerRegionInput; -}; - + input: CreateServerRegionInput +} export type ServerRegionMutationsUpdateArgs = { - input: UpdateServerRegionInput; -}; + input: UpdateServerRegionInput +} export enum ServerRole { ServerAdmin = 'SERVER_ADMIN', @@ -2901,42 +2769,42 @@ export enum ServerRole { } export type ServerRoleItem = { - __typename?: 'ServerRoleItem'; - id: Scalars['String']['output']; - title: Scalars['String']['output']; -}; + __typename?: 'ServerRoleItem' + id: Scalars['String']['output'] + title: Scalars['String']['output'] +} export type ServerStatistics = { - __typename?: 'ServerStatistics'; - totalPendingInvites: Scalars['Int']['output']; - totalProjectCount: Scalars['Int']['output']; - totalUserCount: Scalars['Int']['output']; -}; + __typename?: 'ServerStatistics' + totalPendingInvites: Scalars['Int']['output'] + totalProjectCount: Scalars['Int']['output'] + totalUserCount: Scalars['Int']['output'] +} export type ServerStats = { - __typename?: 'ServerStats'; + __typename?: 'ServerStats' /** An array of objects currently structured as { created_month: Date, count: int }. */ - commitHistory?: Maybe>>; + commitHistory?: Maybe>> /** An array of objects currently structured as { created_month: Date, count: int }. */ - objectHistory?: Maybe>>; + objectHistory?: Maybe>> /** An array of objects currently structured as { created_month: Date, count: int }. */ - streamHistory?: Maybe>>; - totalCommitCount: Scalars['Int']['output']; - totalObjectCount: Scalars['Int']['output']; - totalStreamCount: Scalars['Int']['output']; - totalUserCount: Scalars['Int']['output']; + streamHistory?: Maybe>> + totalCommitCount: Scalars['Int']['output'] + totalObjectCount: Scalars['Int']['output'] + totalStreamCount: Scalars['Int']['output'] + totalUserCount: Scalars['Int']['output'] /** An array of objects currently structured as { created_month: Date, count: int }. */ - userHistory?: Maybe>>; -}; + userHistory?: Maybe>> +} export type ServerWorkspacesInfo = { - __typename?: 'ServerWorkspacesInfo'; + __typename?: 'ServerWorkspacesInfo' /** * This is a backend control variable for the workspaces feature set. * Since workspaces need a backend logic to be enabled, this is not enough as a feature flag. */ - workspacesEnabled: Scalars['Boolean']['output']; -}; + workspacesEnabled: Scalars['Boolean']['output'] +} export enum SessionPaymentStatus { Paid = 'paid', @@ -2944,23 +2812,23 @@ export enum SessionPaymentStatus { } export type SetPrimaryUserEmailInput = { - id: Scalars['ID']['input']; -}; + id: Scalars['ID']['input'] +} export type SmartTextEditorValue = { - __typename?: 'SmartTextEditorValue'; + __typename?: 'SmartTextEditorValue' /** File attachments, if any */ - attachments?: Maybe>; + attachments?: Maybe> /** * The actual (ProseMirror) document representing the text. Can be empty, * if there are attachments. */ - doc?: Maybe; + doc?: Maybe /** The type of editor value (comment, blog post etc.) */ - type: Scalars['String']['output']; + type: Scalars['String']['output'] /** The version of the schema */ - version: Scalars['String']['output']; -}; + version: Scalars['String']['output'] +} export enum SortDirection { Asc = 'ASC', @@ -2968,25 +2836,25 @@ export enum SortDirection { } export type Stream = { - __typename?: 'Stream'; + __typename?: 'Stream' /** * All the recent activity on this stream in chronological order * @deprecated Part of the old API surface and will be removed in the future. */ - activity?: Maybe; - allowPublicComments: Scalars['Boolean']['output']; + activity?: Maybe + allowPublicComments: Scalars['Boolean']['output'] /** @deprecated Part of the old API surface and will be removed in the future. Use Project.blob instead. */ - blob?: Maybe; + blob?: Maybe /** * Get the metadata collection of blobs stored for this stream. * @deprecated Part of the old API surface and will be removed in the future. Use Project.blobs instead. */ - blobs?: Maybe; + blobs?: Maybe /** @deprecated Part of the old API surface and will be removed in the future. Use Project.model or Project.modelByName instead. */ - branch?: Maybe; + branch?: Maybe /** @deprecated Part of the old API surface and will be removed in the future. Use Project.models or Project.modelsTree instead. */ - branches?: Maybe; - collaborators: Array; + branches?: Maybe + collaborators: Array /** * The total number of comments for this stream. To actually get the comments, use the comments query without passing in a resource array. E.g.: * @@ -2998,168 +2866,158 @@ export type Stream = { * ``` * @deprecated Part of the old API surface and will be removed in the future. */ - commentCount: Scalars['Int']['output']; + commentCount: Scalars['Int']['output'] /** @deprecated Part of the old API surface and will be removed in the future. Use Project.version instead. */ - commit?: Maybe; + commit?: Maybe /** @deprecated Part of the old API surface and will be removed in the future. Use Project.versions instead. */ - commits?: Maybe; - createdAt: Scalars['DateTime']['output']; - description?: Maybe; + commits?: Maybe + createdAt: Scalars['DateTime']['output'] + description?: Maybe /** Date when you favorited this stream. `null` if stream isn't viewed from a specific user's perspective or if it isn't favorited. */ - favoritedDate?: Maybe; - favoritesCount: Scalars['Int']['output']; + favoritedDate?: Maybe + favoritesCount: Scalars['Int']['output'] /** * Returns a specific file upload that belongs to this stream. * @deprecated Part of the old API surface and will be removed in the future. Use Project.pendingImportedModels or Model.pendingImportedVersions instead. */ - fileUpload?: Maybe; + fileUpload?: Maybe /** * Returns a list of all the file uploads for this stream. * @deprecated Part of the old API surface and will be removed in the future. Use Project.pendingImportedModels or Model.pendingImportedVersions instead. */ - fileUploads: Array; - id: Scalars['String']['output']; + fileUploads: Array + id: Scalars['String']['output'] /** * Whether the stream (if public) can be found on public stream exploration pages * and searches */ - isDiscoverable: Scalars['Boolean']['output']; + isDiscoverable: Scalars['Boolean']['output'] /** Whether the stream can be viewed by non-contributors */ - isPublic: Scalars['Boolean']['output']; - name: Scalars['String']['output']; + isPublic: Scalars['Boolean']['output'] + name: Scalars['String']['output'] /** @deprecated Part of the old API surface and will be removed in the future. Use Project.object instead. */ - object?: Maybe; + object?: Maybe /** * Pending stream access requests * @deprecated Part of the old API surface and will be removed in the future. Use Project.pendingAccessRequests instead. */ - pendingAccessRequests?: Maybe>; + pendingAccessRequests?: Maybe> /** Collaborators who have been invited, but not yet accepted. */ - pendingCollaborators?: Maybe>; + pendingCollaborators?: Maybe> /** Your role for this stream. `null` if request is not authenticated, or the stream is not explicitly shared with you. */ - role?: Maybe; - size?: Maybe; - updatedAt: Scalars['DateTime']['output']; + role?: Maybe + size?: Maybe + updatedAt: Scalars['DateTime']['output'] /** @deprecated Part of the old API surface and will be removed in the future. Use Project.webhooks instead. */ - webhooks: WebhookCollection; -}; - + webhooks: WebhookCollection +} export type StreamActivityArgs = { - actionType?: InputMaybe; - after?: InputMaybe; - before?: InputMaybe; - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - + actionType?: InputMaybe + after?: InputMaybe + before?: InputMaybe + cursor?: InputMaybe + limit?: Scalars['Int']['input'] +} export type StreamBlobArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type StreamBlobsArgs = { - cursor?: InputMaybe; - limit?: InputMaybe; - query?: InputMaybe; -}; - + cursor?: InputMaybe + limit?: InputMaybe + query?: InputMaybe +} export type StreamBranchArgs = { - name?: InputMaybe; -}; - + name?: InputMaybe +} export type StreamBranchesArgs = { - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - + cursor?: InputMaybe + limit?: Scalars['Int']['input'] +} export type StreamCommitArgs = { - id?: InputMaybe; -}; - + id?: InputMaybe +} export type StreamCommitsArgs = { - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - + cursor?: InputMaybe + limit?: Scalars['Int']['input'] +} export type StreamFileUploadArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type StreamObjectArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type StreamWebhooksArgs = { - id?: InputMaybe; -}; + id?: InputMaybe +} /** Created when a user requests to become a contributor on a stream */ export type StreamAccessRequest = { - __typename?: 'StreamAccessRequest'; - createdAt: Scalars['DateTime']['output']; - id: Scalars['ID']['output']; - requester: LimitedUser; - requesterId: Scalars['String']['output']; + __typename?: 'StreamAccessRequest' + createdAt: Scalars['DateTime']['output'] + id: Scalars['ID']['output'] + requester: LimitedUser + requesterId: Scalars['String']['output'] /** Can only be selected if authed user has proper access */ - stream: Stream; - streamId: Scalars['String']['output']; -}; + stream: Stream + streamId: Scalars['String']['output'] +} export type StreamCollaborator = { - __typename?: 'StreamCollaborator'; - avatar?: Maybe; - company?: Maybe; - id: Scalars['String']['output']; - name: Scalars['String']['output']; - role: Scalars['String']['output']; - serverRole: Scalars['String']['output']; -}; + __typename?: 'StreamCollaborator' + avatar?: Maybe + company?: Maybe + id: Scalars['String']['output'] + name: Scalars['String']['output'] + role: Scalars['String']['output'] + serverRole: Scalars['String']['output'] +} export type StreamCollection = { - __typename?: 'StreamCollection'; - cursor?: Maybe; - items?: Maybe>; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'StreamCollection' + cursor?: Maybe + items?: Maybe> + totalCount: Scalars['Int']['output'] +} export type StreamCreateInput = { - description?: InputMaybe; + description?: InputMaybe /** * Whether the stream (if public) can be found on public stream exploration pages * and searches */ - isDiscoverable?: InputMaybe; + isDiscoverable?: InputMaybe /** Whether the stream can be viewed by non-contributors */ - isPublic?: InputMaybe; - name?: InputMaybe; + isPublic?: InputMaybe + name?: InputMaybe /** Optionally specify user IDs of users that you want to invite to be contributors to this stream */ - withContributors?: InputMaybe>; -}; + withContributors?: InputMaybe> +} export type StreamInviteCreateInput = { - email?: InputMaybe; - message?: InputMaybe; + email?: InputMaybe + message?: InputMaybe /** Defaults to the contributor role, if not specified */ - role?: InputMaybe; + role?: InputMaybe /** Can only be specified if guest mode is on or if the user is an admin */ - serverRole?: InputMaybe; - streamId: Scalars['String']['input']; - userId?: InputMaybe; -}; + serverRole?: InputMaybe + streamId: Scalars['String']['input'] + userId?: InputMaybe +} export type StreamRevokePermissionInput = { - streamId: Scalars['String']['input']; - userId: Scalars['String']['input']; -}; + streamId: Scalars['String']['input'] + userId: Scalars['String']['input'] +} export enum StreamRole { StreamContributor = 'STREAM_CONTRIBUTOR', @@ -3168,292 +3026,268 @@ export enum StreamRole { } export type StreamUpdateInput = { - allowPublicComments?: InputMaybe; - description?: InputMaybe; - id: Scalars['String']['input']; + allowPublicComments?: InputMaybe + description?: InputMaybe + id: Scalars['String']['input'] /** * Whether the stream (if public) can be found on public stream exploration pages * and searches */ - isDiscoverable?: InputMaybe; + isDiscoverable?: InputMaybe /** Whether the stream can be viewed by non-contributors */ - isPublic?: InputMaybe; - name?: InputMaybe; -}; + isPublic?: InputMaybe + name?: InputMaybe +} export type StreamUpdatePermissionInput = { - role: Scalars['String']['input']; - streamId: Scalars['String']['input']; - userId: Scalars['String']['input']; -}; + role: Scalars['String']['input'] + streamId: Scalars['String']['input'] + userId: Scalars['String']['input'] +} export type Subscription = { - __typename?: 'Subscription'; + __typename?: 'Subscription' /** It's lonely in the void. */ - _?: Maybe; + _?: Maybe /** * Subscribe to branch created event * @deprecated Part of the old API surface and will be removed in the future. Use 'projectModelsUpdated' instead. */ - branchCreated?: Maybe; + branchCreated?: Maybe /** * Subscribe to branch deleted event * @deprecated Part of the old API surface and will be removed in the future. Use 'projectModelsUpdated' instead. */ - branchDeleted?: Maybe; + branchDeleted?: Maybe /** * Subscribe to branch updated event. * @deprecated Part of the old API surface and will be removed in the future. Use 'projectModelsUpdated' instead. */ - branchUpdated?: Maybe; + branchUpdated?: Maybe /** * Subscribe to new comment events. There's two ways to use this subscription: * - for a whole stream: do not pass in any resourceIds; this sub will get called whenever a comment (not reply) is added to any of the stream's resources. * - for a specific resource/set of resources: pass in a list of resourceIds (commit or object ids); this sub will get called when *any* of the resources provided get a comment. * @deprecated Use projectCommentsUpdated */ - commentActivity: CommentActivityMessage; + commentActivity: CommentActivityMessage /** * Subscribes to events on a specific comment. Use to find out when: * - a top level comment is deleted (trigger a deletion event outside) * - a top level comment receives a reply. * @deprecated Use projectCommentsUpdated or viewerUserActivityBroadcasted for reply status */ - commentThreadActivity: CommentThreadActivityMessage; + commentThreadActivity: CommentThreadActivityMessage /** * Subscribe to commit created event * @deprecated Part of the old API surface and will be removed in the future. Use 'projectVersionsUpdated' instead. */ - commitCreated?: Maybe; + commitCreated?: Maybe /** * Subscribe to commit deleted event * @deprecated Part of the old API surface and will be removed in the future. Use 'projectVersionsUpdated' instead. */ - commitDeleted?: Maybe; + commitDeleted?: Maybe /** * Subscribe to commit updated event. * @deprecated Part of the old API surface and will be removed in the future. Use 'projectVersionsUpdated' instead. */ - commitUpdated?: Maybe; + commitUpdated?: Maybe /** Subscribe to updates to automations in the project */ - projectAutomationsUpdated: ProjectAutomationsUpdatedMessage; + projectAutomationsUpdated: ProjectAutomationsUpdatedMessage /** * Subscribe to updates to resource comments/threads. Optionally specify resource ID string to only receive * updates regarding comments for those resources. */ - projectCommentsUpdated: ProjectCommentsUpdatedMessage; + projectCommentsUpdated: ProjectCommentsUpdatedMessage /** * Subscribe to changes to any of a project's file imports * @deprecated Part of the old API surface and will be removed in the future. Use projectPendingModelsUpdated or projectPendingVersionsUpdated instead. */ - projectFileImportUpdated: ProjectFileImportUpdatedMessage; + projectFileImportUpdated: ProjectFileImportUpdatedMessage /** Subscribe to changes to a project's models. Optionally specify modelIds to track. */ - projectModelsUpdated: ProjectModelsUpdatedMessage; + projectModelsUpdated: ProjectModelsUpdatedMessage /** Subscribe to changes to a project's pending models */ - projectPendingModelsUpdated: ProjectPendingModelsUpdatedMessage; + projectPendingModelsUpdated: ProjectPendingModelsUpdatedMessage /** Subscribe to changes to a project's pending versions */ - projectPendingVersionsUpdated: ProjectPendingVersionsUpdatedMessage; + projectPendingVersionsUpdated: ProjectPendingVersionsUpdatedMessage /** Subscribe to updates to any triggered automations statuses in the project */ - projectTriggeredAutomationsStatusUpdated: ProjectTriggeredAutomationsStatusUpdatedMessage; + projectTriggeredAutomationsStatusUpdated: ProjectTriggeredAutomationsStatusUpdatedMessage /** Track updates to a specific project */ - projectUpdated: ProjectUpdatedMessage; - projectVersionGendoAIRenderCreated: GendoAiRender; - projectVersionGendoAIRenderUpdated: GendoAiRender; + projectUpdated: ProjectUpdatedMessage + projectVersionGendoAIRenderCreated: GendoAiRender + projectVersionGendoAIRenderUpdated: GendoAiRender /** Subscribe to when a project's versions get their preview image fully generated. */ - projectVersionsPreviewGenerated: ProjectVersionsPreviewGeneratedMessage; + projectVersionsPreviewGenerated: ProjectVersionsPreviewGeneratedMessage /** Subscribe to changes to a project's versions. */ - projectVersionsUpdated: ProjectVersionsUpdatedMessage; + projectVersionsUpdated: ProjectVersionsUpdatedMessage /** * Subscribes to stream deleted event. Use this in clients/components that pertain only to this stream. * @deprecated Part of the old API surface and will be removed in the future. Use projectUpdated instead. */ - streamDeleted?: Maybe; + streamDeleted?: Maybe /** * Subscribes to stream updated event. Use this in clients/components that pertain only to this stream. * @deprecated Part of the old API surface and will be removed in the future. Use projectUpdated instead. */ - streamUpdated?: Maybe; + streamUpdated?: Maybe /** Track newly added or deleted projects owned by the active user */ - userProjectsUpdated: UserProjectsUpdatedMessage; + userProjectsUpdated: UserProjectsUpdatedMessage /** * Subscribes to new stream added event for your profile. Use this to display an up-to-date list of streams. * **NOTE**: If someone shares a stream with you, this subscription will be triggered with an extra value of `sharedBy` in the payload. * @deprecated Part of the old API surface and will be removed in the future. Use userProjectsUpdated instead. */ - userStreamAdded?: Maybe; + userStreamAdded?: Maybe /** * Subscribes to stream removed event for your profile. Use this to display an up-to-date list of streams for your profile. * **NOTE**: If someone revokes your permissions on a stream, this subscription will be triggered with an extra value of `revokedBy` in the payload. * @deprecated Part of the old API surface and will be removed in the future. Use userProjectsUpdated instead. */ - userStreamRemoved?: Maybe; + userStreamRemoved?: Maybe /** * Broadcasts "real-time" location data for viewer users. * @deprecated Use viewerUserActivityBroadcasted */ - userViewerActivity?: Maybe; + userViewerActivity?: Maybe /** Track user activities in the viewer relating to the specified resources */ - viewerUserActivityBroadcasted: ViewerUserActivityMessage; -}; - + viewerUserActivityBroadcasted: ViewerUserActivityMessage +} export type SubscriptionBranchCreatedArgs = { - streamId: Scalars['String']['input']; -}; - + streamId: Scalars['String']['input'] +} export type SubscriptionBranchDeletedArgs = { - streamId: Scalars['String']['input']; -}; - + streamId: Scalars['String']['input'] +} export type SubscriptionBranchUpdatedArgs = { - branchId?: InputMaybe; - streamId: Scalars['String']['input']; -}; - + branchId?: InputMaybe + streamId: Scalars['String']['input'] +} export type SubscriptionCommentActivityArgs = { - resourceIds?: InputMaybe>>; - streamId: Scalars['String']['input']; -}; - + resourceIds?: InputMaybe>> + streamId: Scalars['String']['input'] +} export type SubscriptionCommentThreadActivityArgs = { - commentId: Scalars['String']['input']; - streamId: Scalars['String']['input']; -}; - + commentId: Scalars['String']['input'] + streamId: Scalars['String']['input'] +} export type SubscriptionCommitCreatedArgs = { - streamId: Scalars['String']['input']; -}; - + streamId: Scalars['String']['input'] +} export type SubscriptionCommitDeletedArgs = { - streamId: Scalars['String']['input']; -}; - + streamId: Scalars['String']['input'] +} export type SubscriptionCommitUpdatedArgs = { - commitId?: InputMaybe; - streamId: Scalars['String']['input']; -}; - + commitId?: InputMaybe + streamId: Scalars['String']['input'] +} export type SubscriptionProjectAutomationsUpdatedArgs = { - projectId: Scalars['String']['input']; -}; - + projectId: Scalars['String']['input'] +} export type SubscriptionProjectCommentsUpdatedArgs = { - target: ViewerUpdateTrackingTarget; -}; - + target: ViewerUpdateTrackingTarget +} export type SubscriptionProjectFileImportUpdatedArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type SubscriptionProjectModelsUpdatedArgs = { - id: Scalars['String']['input']; - modelIds?: InputMaybe>; -}; - + id: Scalars['String']['input'] + modelIds?: InputMaybe> +} export type SubscriptionProjectPendingModelsUpdatedArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type SubscriptionProjectPendingVersionsUpdatedArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type SubscriptionProjectTriggeredAutomationsStatusUpdatedArgs = { - projectId: Scalars['String']['input']; -}; - + projectId: Scalars['String']['input'] +} export type SubscriptionProjectUpdatedArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type SubscriptionProjectVersionGendoAiRenderCreatedArgs = { - id: Scalars['String']['input']; - versionId: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] + versionId: Scalars['String']['input'] +} export type SubscriptionProjectVersionGendoAiRenderUpdatedArgs = { - id: Scalars['String']['input']; - versionId: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] + versionId: Scalars['String']['input'] +} export type SubscriptionProjectVersionsPreviewGeneratedArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type SubscriptionProjectVersionsUpdatedArgs = { - id: Scalars['String']['input']; -}; - + id: Scalars['String']['input'] +} export type SubscriptionStreamDeletedArgs = { - streamId?: InputMaybe; -}; - + streamId?: InputMaybe +} export type SubscriptionStreamUpdatedArgs = { - streamId?: InputMaybe; -}; - + streamId?: InputMaybe +} export type SubscriptionUserViewerActivityArgs = { - resourceId: Scalars['String']['input']; - streamId: Scalars['String']['input']; -}; - + resourceId: Scalars['String']['input'] + streamId: Scalars['String']['input'] +} export type SubscriptionViewerUserActivityBroadcastedArgs = { - sessionId?: InputMaybe; - target: ViewerUpdateTrackingTarget; -}; + sessionId?: InputMaybe + target: ViewerUpdateTrackingTarget +} export type TestAutomationRun = { - __typename?: 'TestAutomationRun'; - automationRunId: Scalars['String']['output']; - functionRunId: Scalars['String']['output']; - triggers: Array; -}; + __typename?: 'TestAutomationRun' + automationRunId: Scalars['String']['output'] + functionRunId: Scalars['String']['output'] + triggers: Array +} export type TestAutomationRunTrigger = { - __typename?: 'TestAutomationRunTrigger'; - payload: TestAutomationRunTriggerPayload; - triggerType: Scalars['String']['output']; -}; + __typename?: 'TestAutomationRunTrigger' + payload: TestAutomationRunTriggerPayload + triggerType: Scalars['String']['output'] +} export type TestAutomationRunTriggerPayload = { - __typename?: 'TestAutomationRunTriggerPayload'; - modelId: Scalars['String']['output']; - versionId: Scalars['String']['output']; -}; + __typename?: 'TestAutomationRunTriggerPayload' + modelId: Scalars['String']['output'] + versionId: Scalars['String']['output'] +} export type TokenResourceIdentifier = { - __typename?: 'TokenResourceIdentifier'; - id: Scalars['String']['output']; - type: TokenResourceIdentifierType; -}; + __typename?: 'TokenResourceIdentifier' + id: Scalars['String']['output'] + type: TokenResourceIdentifierType +} export type TokenResourceIdentifierInput = { - id: Scalars['String']['input']; - type: TokenResourceIdentifierType; -}; + id: Scalars['String']['input'] + type: TokenResourceIdentifierType +} export enum TokenResourceIdentifierType { Project = 'project', @@ -3461,294 +3295,281 @@ export enum TokenResourceIdentifierType { } export type TriggeredAutomationsStatus = { - __typename?: 'TriggeredAutomationsStatus'; - automationRuns: Array; - id: Scalars['ID']['output']; - status: AutomateRunStatus; - statusMessage?: Maybe; -}; + __typename?: 'TriggeredAutomationsStatus' + automationRuns: Array + id: Scalars['ID']['output'] + status: AutomateRunStatus + statusMessage?: Maybe +} /** Any null values will be ignored */ export type UpdateAutomateFunctionInput = { - description?: InputMaybe; - id: Scalars['ID']['input']; - logo?: InputMaybe; - name?: InputMaybe; + description?: InputMaybe + id: Scalars['ID']['input'] + logo?: InputMaybe + name?: InputMaybe /** SourceAppNames values from @speckle/shared */ - supportedSourceApps?: InputMaybe>; - tags?: InputMaybe>; -}; + supportedSourceApps?: InputMaybe> + tags?: InputMaybe> +} export type UpdateModelInput = { - description?: InputMaybe; - id: Scalars['ID']['input']; - name?: InputMaybe; - projectId: Scalars['ID']['input']; -}; + description?: InputMaybe + id: Scalars['ID']['input'] + name?: InputMaybe + projectId: Scalars['ID']['input'] +} export type UpdateServerRegionInput = { - description?: InputMaybe; - key: Scalars['String']['input']; - name?: InputMaybe; -}; + description?: InputMaybe + key: Scalars['String']['input'] + name?: InputMaybe +} /** Only non-null values will be updated */ export type UpdateVersionInput = { - message?: InputMaybe; - projectId: Scalars['ID']['input']; - versionId: Scalars['ID']['input']; -}; + message?: InputMaybe + projectId: Scalars['ID']['input'] + versionId: Scalars['ID']['input'] +} /** * Full user type, should only be used in the context of admin operations or * when a user is reading/writing info about himself */ export type User = { - __typename?: 'User'; + __typename?: 'User' /** * All the recent activity from this user in chronological order * @deprecated Part of the old API surface and will be removed in the future. */ - activity?: Maybe; + activity?: Maybe /** Returns a list of your personal api tokens. */ - apiTokens: Array; + apiTokens: Array /** Returns the apps you have authorized. */ - authorizedApps?: Maybe>; - automateInfo: UserAutomateInfo; - avatar?: Maybe; - bio?: Maybe; + authorizedApps?: Maybe> + automateInfo: UserAutomateInfo + avatar?: Maybe + bio?: Maybe /** * Get commits authored by the user. If requested for another user, then only commits * from public streams will be returned. * @deprecated Part of the old API surface and will be removed in the future. Use User.versions instead. */ - commits?: Maybe; - company?: Maybe; + commits?: Maybe + company?: Maybe /** Returns the apps you have created. */ - createdApps?: Maybe>; - createdAt?: Maybe; + createdApps?: Maybe> + createdAt?: Maybe /** Get discoverable workspaces with verified domains that match the active user's */ - discoverableWorkspaces: Array; + discoverableWorkspaces: Array /** Only returned if API user is the user being requested or an admin */ - email?: Maybe; - emails: Array; + email?: Maybe + emails: Array /** * A list of workspaces for the active user where: * (1) The user is a member or admin * (2) The workspace has SSO provider enabled * (3) The user does not have a valid SSO session for the given SSO provider */ - expiredSsoSessions: Array; + expiredSsoSessions: Array /** * All the streams that a active user has favorited. * Note: You can't use this to retrieve another user's favorite streams. * @deprecated Part of the old API surface and will be removed in the future. */ - favoriteStreams: StreamCollection; + favoriteStreams: StreamCollection /** Whether the user has a pending/active email verification token */ - hasPendingVerification?: Maybe; - id: Scalars['ID']['output']; + hasPendingVerification?: Maybe + id: Scalars['ID']['output'] /** Whether post-sign up onboarding has been finished or skipped entirely */ - isOnboardingFinished?: Maybe; - name: Scalars['String']['output']; - notificationPreferences: Scalars['JSONObject']['output']; - profiles?: Maybe; + isOnboardingFinished?: Maybe + name: Scalars['String']['output'] + notificationPreferences: Scalars['JSONObject']['output'] + profiles?: Maybe /** Get pending project access request, that the user made */ - projectAccessRequest?: Maybe; + projectAccessRequest?: Maybe /** Get all invitations to projects that the active user has */ - projectInvites: Array; + projectInvites: Array /** Get projects that the user participates in */ - projects: ProjectCollection; - role?: Maybe; + projects: ProjectCollection + role?: Maybe /** * Returns all streams that the user is a collaborator on. If requested for a user, who isn't the * authenticated user, then this will only return discoverable streams. * @deprecated Part of the old API surface and will be removed in the future. Use User.projects instead. */ - streams: StreamCollection; + streams: StreamCollection /** * The user's timeline in chronological order * @deprecated Part of the old API surface and will be removed in the future. */ - timeline?: Maybe; + timeline?: Maybe /** * Total amount of favorites attached to streams owned by the user * @deprecated Part of the old API surface and will be removed in the future. */ - totalOwnedStreamsFavorites: Scalars['Int']['output']; - verified?: Maybe; + totalOwnedStreamsFavorites: Scalars['Int']['output'] + verified?: Maybe /** * Get (count of) user's versions. By default gets all versions of all projects the user has access to. * Set authoredOnly=true to only retrieve versions authored by the user. * * Note: Only count resolution is currently implemented */ - versions: CountOnlyCollection; + versions: CountOnlyCollection /** Get all invitations to workspaces that the active user has */ - workspaceInvites: Array; + workspaceInvites: Array /** Get the workspaces for the user */ - workspaces: WorkspaceCollection; -}; - + workspaces: WorkspaceCollection +} /** * Full user type, should only be used in the context of admin operations or * when a user is reading/writing info about himself */ export type UserActivityArgs = { - actionType?: InputMaybe; - after?: InputMaybe; - before?: InputMaybe; - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - + actionType?: InputMaybe + after?: InputMaybe + before?: InputMaybe + cursor?: InputMaybe + limit?: Scalars['Int']['input'] +} /** * Full user type, should only be used in the context of admin operations or * when a user is reading/writing info about himself */ export type UserCommitsArgs = { - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - + cursor?: InputMaybe + limit?: Scalars['Int']['input'] +} /** * Full user type, should only be used in the context of admin operations or * when a user is reading/writing info about himself */ export type UserFavoriteStreamsArgs = { - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - + cursor?: InputMaybe + limit?: Scalars['Int']['input'] +} /** * Full user type, should only be used in the context of admin operations or * when a user is reading/writing info about himself */ export type UserProjectAccessRequestArgs = { - projectId: Scalars['String']['input']; -}; - + projectId: Scalars['String']['input'] +} /** * Full user type, should only be used in the context of admin operations or * when a user is reading/writing info about himself */ export type UserProjectsArgs = { - cursor?: InputMaybe; - filter?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - + cursor?: InputMaybe + filter?: InputMaybe + limit?: Scalars['Int']['input'] +} /** * Full user type, should only be used in the context of admin operations or * when a user is reading/writing info about himself */ export type UserStreamsArgs = { - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - + cursor?: InputMaybe + limit?: Scalars['Int']['input'] +} /** * Full user type, should only be used in the context of admin operations or * when a user is reading/writing info about himself */ export type UserTimelineArgs = { - after?: InputMaybe; - before?: InputMaybe; - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - + after?: InputMaybe + before?: InputMaybe + cursor?: InputMaybe + limit?: Scalars['Int']['input'] +} /** * Full user type, should only be used in the context of admin operations or * when a user is reading/writing info about himself */ export type UserVersionsArgs = { - authoredOnly?: Scalars['Boolean']['input']; - limit?: Scalars['Int']['input']; -}; - + authoredOnly?: Scalars['Boolean']['input'] + limit?: Scalars['Int']['input'] +} /** * Full user type, should only be used in the context of admin operations or * when a user is reading/writing info about himself */ export type UserWorkspacesArgs = { - cursor?: InputMaybe; - filter?: InputMaybe; - limit?: Scalars['Int']['input']; -}; + cursor?: InputMaybe + filter?: InputMaybe + limit?: Scalars['Int']['input'] +} export type UserAutomateInfo = { - __typename?: 'UserAutomateInfo'; - availableGithubOrgs: Array; - hasAutomateGithubApp: Scalars['Boolean']['output']; -}; + __typename?: 'UserAutomateInfo' + availableGithubOrgs: Array + hasAutomateGithubApp: Scalars['Boolean']['output'] +} export type UserDeleteInput = { - email: Scalars['String']['input']; -}; + email: Scalars['String']['input'] +} export type UserEmail = { - __typename?: 'UserEmail'; - email: Scalars['String']['output']; - id: Scalars['ID']['output']; - primary: Scalars['Boolean']['output']; - userId: Scalars['ID']['output']; - verified: Scalars['Boolean']['output']; -}; + __typename?: 'UserEmail' + email: Scalars['String']['output'] + id: Scalars['ID']['output'] + primary: Scalars['Boolean']['output'] + userId: Scalars['ID']['output'] + verified: Scalars['Boolean']['output'] +} export type UserEmailMutations = { - __typename?: 'UserEmailMutations'; - create: User; - delete: User; - requestNewEmailVerification?: Maybe; - setPrimary: User; -}; - + __typename?: 'UserEmailMutations' + create: User + delete: User + requestNewEmailVerification?: Maybe + setPrimary: User +} export type UserEmailMutationsCreateArgs = { - input: CreateUserEmailInput; -}; - + input: CreateUserEmailInput +} export type UserEmailMutationsDeleteArgs = { - input: DeleteUserEmailInput; -}; - + input: DeleteUserEmailInput +} export type UserEmailMutationsRequestNewEmailVerificationArgs = { - input: EmailVerificationRequestInput; -}; - + input: EmailVerificationRequestInput +} export type UserEmailMutationsSetPrimaryArgs = { - input: SetPrimaryUserEmailInput; -}; + input: SetPrimaryUserEmailInput +} export type UserProjectsFilter = { /** Only include projects where user has the specified roles */ - onlyWithRoles?: InputMaybe>; + onlyWithRoles?: InputMaybe> /** Filter out projects by name */ - search?: InputMaybe; -}; + search?: InputMaybe +} export type UserProjectsUpdatedMessage = { - __typename?: 'UserProjectsUpdatedMessage'; + __typename?: 'UserProjectsUpdatedMessage' /** Project ID */ - id: Scalars['String']['output']; + id: Scalars['String']['output'] /** Project entity, null if project was deleted */ - project?: Maybe; + project?: Maybe /** Message type */ - type: UserProjectsUpdatedMessageType; -}; + type: UserProjectsUpdatedMessageType +} export enum UserProjectsUpdatedMessageType { Added = 'ADDED', @@ -3756,133 +3577,125 @@ export enum UserProjectsUpdatedMessageType { } export type UserRoleInput = { - id: Scalars['String']['input']; - role: Scalars['String']['input']; -}; + id: Scalars['String']['input'] + role: Scalars['String']['input'] +} export type UserSearchResultCollection = { - __typename?: 'UserSearchResultCollection'; - cursor?: Maybe; - items: Array; -}; + __typename?: 'UserSearchResultCollection' + cursor?: Maybe + items: Array +} export type UserUpdateInput = { - avatar?: InputMaybe; - bio?: InputMaybe; - company?: InputMaybe; - name?: InputMaybe; -}; + avatar?: InputMaybe + bio?: InputMaybe + company?: InputMaybe + name?: InputMaybe +} export type UserWorkspacesFilter = { - search?: InputMaybe; -}; + search?: InputMaybe +} export type Version = { - __typename?: 'Version'; - authorUser?: Maybe; - automationsStatus?: Maybe; + __typename?: 'Version' + authorUser?: Maybe + automationsStatus?: Maybe /** All comment threads in this version */ - commentThreads: CommentCollection; - createdAt: Scalars['DateTime']['output']; - gendoAIRender: GendoAiRender; - gendoAIRenders: GendoAiRenderCollection; - id: Scalars['ID']['output']; - message?: Maybe; - model: Model; - parents?: Maybe>>; - previewUrl: Scalars['String']['output']; - referencedObject: Scalars['String']['output']; - sourceApplication?: Maybe; - totalChildrenCount?: Maybe; -}; - + commentThreads: CommentCollection + createdAt: Scalars['DateTime']['output'] + gendoAIRender: GendoAiRender + gendoAIRenders: GendoAiRenderCollection + id: Scalars['ID']['output'] + message?: Maybe + model: Model + parents?: Maybe>> + previewUrl: Scalars['String']['output'] + referencedObject: Scalars['String']['output'] + sourceApplication?: Maybe + totalChildrenCount?: Maybe +} export type VersionCommentThreadsArgs = { - cursor?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - + cursor?: InputMaybe + limit?: Scalars['Int']['input'] +} export type VersionGendoAiRenderArgs = { - id: Scalars['String']['input']; -}; + id: Scalars['String']['input'] +} export type VersionCollection = { - __typename?: 'VersionCollection'; - cursor?: Maybe; - items: Array; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'VersionCollection' + cursor?: Maybe + items: Array + totalCount: Scalars['Int']['output'] +} export type VersionCreatedTrigger = { - __typename?: 'VersionCreatedTrigger'; - model?: Maybe; - type: AutomateRunTriggerType; - version?: Maybe; -}; + __typename?: 'VersionCreatedTrigger' + model?: Maybe + type: AutomateRunTriggerType + version?: Maybe +} export type VersionCreatedTriggerDefinition = { - __typename?: 'VersionCreatedTriggerDefinition'; - model?: Maybe; - type: AutomateRunTriggerType; -}; + __typename?: 'VersionCreatedTriggerDefinition' + model?: Maybe + type: AutomateRunTriggerType +} export type VersionMutations = { - __typename?: 'VersionMutations'; - create: Version; - delete: Scalars['Boolean']['output']; - markReceived: Scalars['Boolean']['output']; - moveToModel: Model; - requestGendoAIRender: Scalars['Boolean']['output']; - update: Version; -}; - + __typename?: 'VersionMutations' + create: Version + delete: Scalars['Boolean']['output'] + markReceived: Scalars['Boolean']['output'] + moveToModel: Model + requestGendoAIRender: Scalars['Boolean']['output'] + update: Version +} export type VersionMutationsCreateArgs = { - input: CreateVersionInput; -}; - + input: CreateVersionInput +} export type VersionMutationsDeleteArgs = { - input: DeleteVersionsInput; -}; - + input: DeleteVersionsInput +} export type VersionMutationsMarkReceivedArgs = { - input: MarkReceivedVersionInput; -}; - + input: MarkReceivedVersionInput +} export type VersionMutationsMoveToModelArgs = { - input: MoveVersionsInput; -}; - + input: MoveVersionsInput +} export type VersionMutationsRequestGendoAiRenderArgs = { - input: GendoAiRenderInput; -}; - + input: GendoAiRenderInput +} export type VersionMutationsUpdateArgs = { - input: UpdateVersionInput; -}; + input: UpdateVersionInput +} export type ViewerResourceGroup = { - __typename?: 'ViewerResourceGroup'; + __typename?: 'ViewerResourceGroup' /** Resource identifier used to refer to a collection of resource items */ - identifier: Scalars['String']['output']; + identifier: Scalars['String']['output'] /** Viewer resources that the identifier refers to */ - items: Array; -}; + items: Array +} export type ViewerResourceItem = { - __typename?: 'ViewerResourceItem'; + __typename?: 'ViewerResourceItem' /** Null if resource represents an object */ - modelId?: Maybe; - objectId: Scalars['String']['output']; + modelId?: Maybe + objectId: Scalars['String']['output'] /** Null if resource represents an object */ - versionId?: Maybe; -}; + versionId?: Maybe +} export type ViewerUpdateTrackingTarget = { /** @@ -3890,34 +3703,34 @@ export type ViewerUpdateTrackingTarget = { * and all updates to of all versions of any of the referenced models will be returned. If `loadedVersionsOnly` is * enabled, then only updates of loaded/referenced versions in resourceIdString will be returned. */ - loadedVersionsOnly?: InputMaybe; - projectId: Scalars['String']['input']; + loadedVersionsOnly?: InputMaybe + projectId: Scalars['String']['input'] /** * Only request updates to the resources identified by this * comma-delimited resouce string (same format that's used in the viewer URL) */ - resourceIdString: Scalars['String']['input']; -}; + resourceIdString: Scalars['String']['input'] +} export type ViewerUserActivityMessage = { - __typename?: 'ViewerUserActivityMessage'; - sessionId: Scalars['String']['output']; + __typename?: 'ViewerUserActivityMessage' + sessionId: Scalars['String']['output'] /** SerializedViewerState, only null if DISCONNECTED */ - state?: Maybe; - status: ViewerUserActivityStatus; - user?: Maybe; - userId?: Maybe; - userName: Scalars['String']['output']; -}; + state?: Maybe + status: ViewerUserActivityStatus + user?: Maybe + userId?: Maybe + userName: Scalars['String']['output'] +} export type ViewerUserActivityMessageInput = { - sessionId: Scalars['String']['input']; + sessionId: Scalars['String']['input'] /** SerializedViewerState, only null if DISCONNECTED */ - state?: InputMaybe; - status: ViewerUserActivityStatus; - userId?: InputMaybe; - userName: Scalars['String']['input']; -}; + state?: InputMaybe + status: ViewerUserActivityStatus + userId?: InputMaybe + userName: Scalars['String']['input'] +} export enum ViewerUserActivityStatus { Disconnected = 'DISCONNECTED', @@ -3925,359 +3738,320 @@ export enum ViewerUserActivityStatus { } export type Webhook = { - __typename?: 'Webhook'; - description?: Maybe; - enabled?: Maybe; - hasSecret: Scalars['Boolean']['output']; - history?: Maybe; - id: Scalars['String']['output']; - projectId: Scalars['String']['output']; - streamId: Scalars['String']['output']; - triggers: Array; - url: Scalars['String']['output']; -}; - + __typename?: 'Webhook' + description?: Maybe + enabled?: Maybe + hasSecret: Scalars['Boolean']['output'] + history?: Maybe + id: Scalars['String']['output'] + projectId: Scalars['String']['output'] + streamId: Scalars['String']['output'] + triggers: Array + url: Scalars['String']['output'] +} export type WebhookHistoryArgs = { - limit?: Scalars['Int']['input']; -}; + limit?: Scalars['Int']['input'] +} export type WebhookCollection = { - __typename?: 'WebhookCollection'; - items: Array; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'WebhookCollection' + items: Array + totalCount: Scalars['Int']['output'] +} export type WebhookCreateInput = { - description?: InputMaybe; - enabled?: InputMaybe; - secret?: InputMaybe; - streamId: Scalars['String']['input']; - triggers: Array; - url: Scalars['String']['input']; -}; + description?: InputMaybe + enabled?: InputMaybe + secret?: InputMaybe + streamId: Scalars['String']['input'] + triggers: Array + url: Scalars['String']['input'] +} export type WebhookDeleteInput = { - id: Scalars['String']['input']; - streamId: Scalars['String']['input']; -}; + id: Scalars['String']['input'] + streamId: Scalars['String']['input'] +} export type WebhookEvent = { - __typename?: 'WebhookEvent'; - id: Scalars['String']['output']; - lastUpdate: Scalars['DateTime']['output']; - payload: Scalars['String']['output']; - retryCount: Scalars['Int']['output']; - status: Scalars['Int']['output']; - statusInfo: Scalars['String']['output']; - webhookId: Scalars['String']['output']; -}; + __typename?: 'WebhookEvent' + id: Scalars['String']['output'] + lastUpdate: Scalars['DateTime']['output'] + payload: Scalars['String']['output'] + retryCount: Scalars['Int']['output'] + status: Scalars['Int']['output'] + statusInfo: Scalars['String']['output'] + webhookId: Scalars['String']['output'] +} export type WebhookEventCollection = { - __typename?: 'WebhookEventCollection'; - items?: Maybe>>; - totalCount?: Maybe; -}; + __typename?: 'WebhookEventCollection' + items?: Maybe>> + totalCount?: Maybe +} export type WebhookUpdateInput = { - description?: InputMaybe; - enabled?: InputMaybe; - id: Scalars['String']['input']; - secret?: InputMaybe; - streamId: Scalars['String']['input']; - triggers?: InputMaybe>; - url?: InputMaybe; -}; + description?: InputMaybe + enabled?: InputMaybe + id: Scalars['String']['input'] + secret?: InputMaybe + streamId: Scalars['String']['input'] + triggers?: InputMaybe> + url?: InputMaybe +} export type Workspace = { - __typename?: 'Workspace'; + __typename?: 'Workspace' /** Regions available to the workspace for project data residency */ - availableRegions: Array; - /** Billing data for Workspaces beta */ - billing?: Maybe; - createdAt: Scalars['DateTime']['output']; - customerPortalUrl?: Maybe; + availableRegions: Array + createdAt: Scalars['DateTime']['output'] + customerPortalUrl?: Maybe /** Selected fallback when `logo` not set */ - defaultLogoIndex: Scalars['Int']['output']; + defaultLogoIndex: Scalars['Int']['output'] /** The default role workspace members will receive for workspace projects. */ - defaultProjectRole: Scalars['String']['output']; + defaultProjectRole: Scalars['String']['output'] /** * The default region where project data will be stored, if set. If undefined, defaults to main/default * region. */ - defaultRegion?: Maybe; - description?: Maybe; + defaultRegion?: Maybe + description?: Maybe /** Enable/Disable discovery of the workspace */ - discoverabilityEnabled: Scalars['Boolean']['output']; + discoverabilityEnabled: Scalars['Boolean']['output'] /** Enable/Disable restriction to invite users to workspace as Guests only */ - domainBasedMembershipProtectionEnabled: Scalars['Boolean']['output']; + domainBasedMembershipProtectionEnabled: Scalars['Boolean']['output'] /** Verified workspace domains */ - domains?: Maybe>; - id: Scalars['ID']['output']; + domains?: Maybe> + hasAccessToFeature: Scalars['Boolean']['output'] + id: Scalars['ID']['output'] /** Only available to workspace owners/members */ - invitedTeam?: Maybe>; + invitedTeam?: Maybe> /** Logo image as base64-encoded string */ - logo?: Maybe; - name: Scalars['String']['output']; - plan?: Maybe; - projects: ProjectCollection; + logo?: Maybe + name: Scalars['String']['output'] + plan?: Maybe + projects: ProjectCollection /** Active user's role for this workspace. `null` if request is not authenticated, or the workspace is not explicitly shared with you. */ - role?: Maybe; - slug: Scalars['String']['output']; + role?: Maybe + slug: Scalars['String']['output'] /** Information about the workspace's SSO configuration and the current user's SSO session, if present */ - sso?: Maybe; - subscription?: Maybe; - team: WorkspaceCollaboratorCollection; - updatedAt: Scalars['DateTime']['output']; -}; + sso?: Maybe + subscription?: Maybe + team: WorkspaceCollaboratorCollection + updatedAt: Scalars['DateTime']['output'] +} +export type WorkspaceHasAccessToFeatureArgs = { + featureName: WorkspaceFeatureName +} export type WorkspaceInvitedTeamArgs = { - filter?: InputMaybe; -}; - + filter?: InputMaybe +} export type WorkspaceProjectsArgs = { - cursor?: InputMaybe; - filter?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - + cursor?: InputMaybe + filter?: InputMaybe + limit?: Scalars['Int']['input'] +} export type WorkspaceTeamArgs = { - cursor?: InputMaybe; - filter?: InputMaybe; - limit?: Scalars['Int']['input']; -}; - -export type WorkspaceBilling = { - __typename?: 'WorkspaceBilling'; - cost: WorkspaceCost; - versionsCount: WorkspaceVersionsCount; -}; + cursor?: InputMaybe + filter?: InputMaybe + limit?: Scalars['Int']['input'] +} export type WorkspaceBillingMutations = { - __typename?: 'WorkspaceBillingMutations'; - cancelCheckoutSession: Scalars['Boolean']['output']; - createCheckoutSession: CheckoutSession; -}; - + __typename?: 'WorkspaceBillingMutations' + cancelCheckoutSession: Scalars['Boolean']['output'] + createCheckoutSession: CheckoutSession +} export type WorkspaceBillingMutationsCancelCheckoutSessionArgs = { - input: CancelCheckoutSessionInput; -}; - + input: CancelCheckoutSessionInput +} export type WorkspaceBillingMutationsCreateCheckoutSessionArgs = { - input: CheckoutSessionInput; -}; + input: CheckoutSessionInput +} /** Overridden by `WorkspaceCollaboratorGraphQLReturn` */ export type WorkspaceCollaborator = { - __typename?: 'WorkspaceCollaborator'; - id: Scalars['ID']['output']; - projectRoles: Array; - role: Scalars['String']['output']; - user: LimitedUser; -}; + __typename?: 'WorkspaceCollaborator' + id: Scalars['ID']['output'] + projectRoles: Array + role: Scalars['String']['output'] + user: LimitedUser +} export type WorkspaceCollaboratorCollection = { - __typename?: 'WorkspaceCollaboratorCollection'; - cursor?: Maybe; - items: Array; - totalCount: Scalars['Int']['output']; -}; + __typename?: 'WorkspaceCollaboratorCollection' + cursor?: Maybe + items: Array + totalCount: Scalars['Int']['output'] +} export type WorkspaceCollection = { - __typename?: 'WorkspaceCollection'; - cursor?: Maybe; - items: Array; - totalCount: Scalars['Int']['output']; -}; - -export type WorkspaceCost = { - __typename?: 'WorkspaceCost'; - /** Currency of the price */ - currency: Currency; - /** Discount applied to the total */ - discount?: Maybe; - items: Array; - /** Estimated cost of the workspace with no discount applied */ - subTotal: Scalars['Float']['output']; - /** Total cost with discount applied */ - total: Scalars['Float']['output']; -}; - -export type WorkspaceCostDiscount = { - __typename?: 'WorkspaceCostDiscount'; - amount: Scalars['Float']['output']; - name: Scalars['String']['output']; -}; - -export type WorkspaceCostItem = { - __typename?: 'WorkspaceCostItem'; - cost: Scalars['Float']['output']; - count: Scalars['Int']['output']; - label: Scalars['String']['output']; - name: Scalars['String']['output']; -}; + __typename?: 'WorkspaceCollection' + cursor?: Maybe + items: Array + totalCount: Scalars['Int']['output'] +} export type WorkspaceCreateInput = { - defaultLogoIndex?: InputMaybe; - description?: InputMaybe; + defaultLogoIndex?: InputMaybe + description?: InputMaybe /** Logo image as base64-encoded string */ - logo?: InputMaybe; - name: Scalars['String']['input']; - slug?: InputMaybe; -}; + logo?: InputMaybe + name: Scalars['String']['input'] + slug?: InputMaybe +} export type WorkspaceDomain = { - __typename?: 'WorkspaceDomain'; - domain: Scalars['String']['output']; - id: Scalars['ID']['output']; -}; + __typename?: 'WorkspaceDomain' + domain: Scalars['String']['output'] + id: Scalars['ID']['output'] +} export type WorkspaceDomainDeleteInput = { - id: Scalars['ID']['input']; - workspaceId: Scalars['ID']['input']; -}; + id: Scalars['ID']['input'] + workspaceId: Scalars['ID']['input'] +} + +export enum WorkspaceFeatureName { + DomainBasedSecurityPolicies = 'domainBasedSecurityPolicies', + OidcSso = 'oidcSso', + WorkspaceDataRegionSpecificity = 'workspaceDataRegionSpecificity' +} export type WorkspaceInviteCreateInput = { /** Either this or userId must be filled */ - email?: InputMaybe; + email?: InputMaybe /** Defaults to the member role, if not specified */ - role?: InputMaybe; + role?: InputMaybe /** Defaults to User, if not specified */ - serverRole?: InputMaybe; + serverRole?: InputMaybe /** Either this or email must be filled */ - userId?: InputMaybe; -}; + userId?: InputMaybe +} export type WorkspaceInviteLookupOptions = { /** If true, the query will assume workspaceId is actually the workspace slug, and do the lookup by slug */ - useSlug?: InputMaybe; -}; + useSlug?: InputMaybe +} export type WorkspaceInviteMutations = { - __typename?: 'WorkspaceInviteMutations'; - batchCreate: Workspace; - cancel: Workspace; - create: Workspace; - resend: Scalars['Boolean']['output']; - use: Scalars['Boolean']['output']; -}; - + __typename?: 'WorkspaceInviteMutations' + batchCreate: Workspace + cancel: Workspace + create: Workspace + resend: Scalars['Boolean']['output'] + use: Scalars['Boolean']['output'] +} export type WorkspaceInviteMutationsBatchCreateArgs = { - input: Array; - workspaceId: Scalars['String']['input']; -}; - + input: Array + workspaceId: Scalars['String']['input'] +} export type WorkspaceInviteMutationsCancelArgs = { - inviteId: Scalars['String']['input']; - workspaceId: Scalars['String']['input']; -}; - + inviteId: Scalars['String']['input'] + workspaceId: Scalars['String']['input'] +} export type WorkspaceInviteMutationsCreateArgs = { - input: WorkspaceInviteCreateInput; - workspaceId: Scalars['String']['input']; -}; - + input: WorkspaceInviteCreateInput + workspaceId: Scalars['String']['input'] +} export type WorkspaceInviteMutationsResendArgs = { - input: WorkspaceInviteResendInput; -}; - + input: WorkspaceInviteResendInput +} export type WorkspaceInviteMutationsUseArgs = { - input: WorkspaceInviteUseInput; -}; + input: WorkspaceInviteUseInput +} export type WorkspaceInviteResendInput = { - inviteId: Scalars['String']['input']; - workspaceId: Scalars['String']['input']; -}; + inviteId: Scalars['String']['input'] + workspaceId: Scalars['String']['input'] +} export type WorkspaceInviteUseInput = { - accept: Scalars['Boolean']['input']; + accept: Scalars['Boolean']['input'] /** * If invite is attached to an unregistered email, the invite can only be used if this is set to true. * Upon accepting such an invite, the unregistered email will be added to the user's account as well. */ - addNewEmail?: InputMaybe; - token: Scalars['String']['input']; -}; + addNewEmail?: InputMaybe + token: Scalars['String']['input'] +} export type WorkspaceMutations = { - __typename?: 'WorkspaceMutations'; - addDomain: Workspace; - billing: WorkspaceBillingMutations; - create: Workspace; - delete: Scalars['Boolean']['output']; - deleteDomain: Workspace; - invites: WorkspaceInviteMutations; - join: Workspace; - leave: Scalars['Boolean']['output']; - projects: WorkspaceProjectMutations; + __typename?: 'WorkspaceMutations' + addDomain: Workspace + billing: WorkspaceBillingMutations + create: Workspace + delete: Scalars['Boolean']['output'] + deleteDomain: Workspace + deleteSsoProvider: Scalars['Boolean']['output'] + invites: WorkspaceInviteMutations + join: Workspace + leave: Scalars['Boolean']['output'] + projects: WorkspaceProjectMutations /** Set the default region where project data will be stored. Only available to admins. */ - setDefaultRegion: Workspace; - update: Workspace; - updateRole: Workspace; -}; - + setDefaultRegion: Workspace + update: Workspace + updateRole: Workspace +} export type WorkspaceMutationsAddDomainArgs = { - input: AddDomainToWorkspaceInput; -}; - + input: AddDomainToWorkspaceInput +} export type WorkspaceMutationsCreateArgs = { - input: WorkspaceCreateInput; -}; - + input: WorkspaceCreateInput +} export type WorkspaceMutationsDeleteArgs = { - workspaceId: Scalars['String']['input']; -}; - + workspaceId: Scalars['String']['input'] +} export type WorkspaceMutationsDeleteDomainArgs = { - input: WorkspaceDomainDeleteInput; -}; + input: WorkspaceDomainDeleteInput +} +export type WorkspaceMutationsDeleteSsoProviderArgs = { + workspaceId: Scalars['String']['input'] +} export type WorkspaceMutationsJoinArgs = { - input: JoinWorkspaceInput; -}; - + input: JoinWorkspaceInput +} export type WorkspaceMutationsLeaveArgs = { - id: Scalars['ID']['input']; -}; - + id: Scalars['ID']['input'] +} export type WorkspaceMutationsSetDefaultRegionArgs = { - regionKey: Scalars['String']['input']; - workspaceId: Scalars['String']['input']; -}; - + regionKey: Scalars['String']['input'] + workspaceId: Scalars['String']['input'] +} export type WorkspaceMutationsUpdateArgs = { - input: WorkspaceUpdateInput; -}; - + input: WorkspaceUpdateInput +} export type WorkspaceMutationsUpdateRoleArgs = { - input: WorkspaceRoleUpdateInput; -}; + input: WorkspaceRoleUpdateInput +} export type WorkspacePlan = { - __typename?: 'WorkspacePlan'; - name: WorkspacePlans; - status: WorkspacePlanStatuses; -}; + __typename?: 'WorkspacePlan' + name: WorkspacePlans + status: WorkspacePlanStatuses +} export enum WorkspacePlanStatuses { CancelationScheduled = 'cancelationScheduled', @@ -4297,52 +4071,49 @@ export enum WorkspacePlans { } export type WorkspaceProjectCreateInput = { - description?: InputMaybe; - name?: InputMaybe; - visibility?: InputMaybe; - workspaceId: Scalars['String']['input']; -}; + description?: InputMaybe + name?: InputMaybe + visibility?: InputMaybe + workspaceId: Scalars['String']['input'] +} export type WorkspaceProjectInviteCreateInput = { /** Either this or userId must be filled */ - email?: InputMaybe; + email?: InputMaybe /** Defaults to the contributor role, if not specified */ - role?: InputMaybe; + role?: InputMaybe /** Can only be specified if guest mode is on or if the user is an admin */ - serverRole?: InputMaybe; + serverRole?: InputMaybe /** Either this or email must be filled */ - userId?: InputMaybe; + userId?: InputMaybe /** Only taken into account, if project belongs to a workspace. Defaults to guest access. */ - workspaceRole?: InputMaybe; -}; + workspaceRole?: InputMaybe +} export type WorkspaceProjectMutations = { - __typename?: 'WorkspaceProjectMutations'; - create: Project; - moveToWorkspace: Project; - updateRole: Project; -}; - + __typename?: 'WorkspaceProjectMutations' + create: Project + moveToWorkspace: Project + updateRole: Project +} export type WorkspaceProjectMutationsCreateArgs = { - input: WorkspaceProjectCreateInput; -}; - + input: WorkspaceProjectCreateInput +} export type WorkspaceProjectMutationsMoveToWorkspaceArgs = { - projectId: Scalars['String']['input']; - workspaceId: Scalars['String']['input']; -}; - + projectId: Scalars['String']['input'] + workspaceId: Scalars['String']['input'] +} export type WorkspaceProjectMutationsUpdateRoleArgs = { - input: ProjectUpdateRoleInput; -}; + input: ProjectUpdateRoleInput +} export type WorkspaceProjectsFilter = { /** Filter out projects by name */ - search?: InputMaybe; -}; + search?: InputMaybe +} export enum WorkspaceRole { Admin = 'ADMIN', @@ -4351,308 +4122,3859 @@ export enum WorkspaceRole { } export type WorkspaceRoleDeleteInput = { - userId: Scalars['String']['input']; - workspaceId: Scalars['String']['input']; -}; + userId: Scalars['String']['input'] + workspaceId: Scalars['String']['input'] +} export type WorkspaceRoleUpdateInput = { /** Leave role null to revoke access entirely */ - role?: InputMaybe; - userId: Scalars['String']['input']; - workspaceId: Scalars['String']['input']; -}; + role?: InputMaybe + userId: Scalars['String']['input'] + workspaceId: Scalars['String']['input'] +} export type WorkspaceSso = { - __typename?: 'WorkspaceSso'; + __typename?: 'WorkspaceSso' /** If null, the workspace does not have SSO configured */ - provider?: Maybe; - session?: Maybe; -}; + provider?: Maybe + session?: Maybe +} export type WorkspaceSsoProvider = { - __typename?: 'WorkspaceSsoProvider'; - clientId: Scalars['String']['output']; - id: Scalars['ID']['output']; - issuerUrl: Scalars['String']['output']; - name: Scalars['String']['output']; -}; + __typename?: 'WorkspaceSsoProvider' + clientId: Scalars['String']['output'] + id: Scalars['ID']['output'] + issuerUrl: Scalars['String']['output'] + name: Scalars['String']['output'] +} export type WorkspaceSsoSession = { - __typename?: 'WorkspaceSsoSession'; - createdAt: Scalars['DateTime']['output']; - validUntil: Scalars['DateTime']['output']; -}; + __typename?: 'WorkspaceSsoSession' + createdAt: Scalars['DateTime']['output'] + validUntil: Scalars['DateTime']['output'] +} export type WorkspaceSubscription = { - __typename?: 'WorkspaceSubscription'; - billingInterval: BillingInterval; - createdAt: Scalars['DateTime']['output']; - currentBillingCycleEnd: Scalars['DateTime']['output']; - updatedAt: Scalars['DateTime']['output']; -}; + __typename?: 'WorkspaceSubscription' + billingInterval: BillingInterval + createdAt: Scalars['DateTime']['output'] + currentBillingCycleEnd: Scalars['DateTime']['output'] + updatedAt: Scalars['DateTime']['output'] +} export type WorkspaceTeamFilter = { /** Limit team members to provided role(s) */ - roles?: InputMaybe>; + roles?: InputMaybe> /** Search for team members by name or email */ - search?: InputMaybe; -}; + search?: InputMaybe +} export type WorkspaceUpdateInput = { - defaultLogoIndex?: InputMaybe; - defaultProjectRole?: InputMaybe; - description?: InputMaybe; - discoverabilityEnabled?: InputMaybe; - domainBasedMembershipProtectionEnabled?: InputMaybe; - id: Scalars['String']['input']; + defaultLogoIndex?: InputMaybe + defaultProjectRole?: InputMaybe + description?: InputMaybe + discoverabilityEnabled?: InputMaybe + domainBasedMembershipProtectionEnabled?: InputMaybe + id: Scalars['String']['input'] /** Logo image as base64-encoded string */ - logo?: InputMaybe; - name?: InputMaybe; - slug?: InputMaybe; -}; - -export type WorkspaceVersionsCount = { - __typename?: 'WorkspaceVersionsCount'; - /** Total number of versions of all projects in the workspace */ - current: Scalars['Int']['output']; - /** Maximum number of version of all projects in the workspace with no additional cost */ - max: Scalars['Int']['output']; -}; + logo?: InputMaybe + name?: InputMaybe + slug?: InputMaybe +} export type VersionMutationsMutationVariables = Exact<{ - input: CreateVersionInput; -}>; - - -export type VersionMutationsMutation = { __typename?: 'Mutation', versionMutations: { __typename?: 'VersionMutations', create: { __typename?: 'Version', id: string } } }; + input: CreateVersionInput +}> + +export type VersionMutationsMutation = { + __typename?: 'Mutation' + versionMutations: { + __typename?: 'VersionMutations' + create: { __typename?: 'Version'; id: string } + } +} export type MarkReceivedVersionMutationVariables = Exact<{ - input: MarkReceivedVersionInput; -}>; - + input: MarkReceivedVersionInput +}> -export type MarkReceivedVersionMutation = { __typename?: 'Mutation', versionMutations: { __typename?: 'VersionMutations', markReceived: boolean } }; +export type MarkReceivedVersionMutation = { + __typename?: 'Mutation' + versionMutations: { __typename?: 'VersionMutations'; markReceived: boolean } +} export type CreateModelMutationVariables = Exact<{ - input: CreateModelInput; -}>; - - -export type CreateModelMutation = { __typename?: 'Mutation', modelMutations: { __typename?: 'ModelMutations', create: { __typename?: 'Model', displayName: string, name: string, id: string, previewUrl?: string | null, updatedAt: string, versions: { __typename?: 'VersionCollection', totalCount: number, items: Array<{ __typename?: 'Version', id: string, referencedObject: string, message?: string | null, sourceApplication?: string | null, createdAt: string, previewUrl: string, authorUser?: { __typename?: 'LimitedUser', avatar?: string | null, id: string, name: string } | null }> } } } }; + input: CreateModelInput +}> + +export type CreateModelMutation = { + __typename?: 'Mutation' + modelMutations: { + __typename?: 'ModelMutations' + create: { + __typename?: 'Model' + displayName: string + name: string + id: string + previewUrl?: string | null + updatedAt: string + versions: { + __typename?: 'VersionCollection' + totalCount: number + items: Array<{ + __typename?: 'Version' + id: string + referencedObject: string + message?: string | null + sourceApplication?: string | null + createdAt: string + previewUrl: string + authorUser?: { + __typename?: 'LimitedUser' + avatar?: string | null + id: string + name: string + } | null + }> + } + } + } +} export type CreateProjectMutationVariables = Exact<{ - input?: InputMaybe; -}>; - - -export type CreateProjectMutation = { __typename?: 'Mutation', projectMutations: { __typename?: 'ProjectMutations', create: { __typename?: 'Project', id: string, name: string, role?: string | null, updatedAt: string, workspaceId?: string | null, models: { __typename?: 'ModelCollection', totalCount: number } } } }; + input?: InputMaybe +}> + +export type CreateProjectMutation = { + __typename?: 'Mutation' + projectMutations: { + __typename?: 'ProjectMutations' + create: { + __typename?: 'Project' + id: string + name: string + role?: string | null + updatedAt: string + workspaceId?: string | null + models: { __typename?: 'ModelCollection'; totalCount: number } + } + } +} export type CreateProjectInWorkspaceMutationVariables = Exact<{ - input: WorkspaceProjectCreateInput; -}>; - - -export type CreateProjectInWorkspaceMutation = { __typename?: 'Mutation', workspaceMutations: { __typename?: 'WorkspaceMutations', projects: { __typename?: 'WorkspaceProjectMutations', create: { __typename?: 'Project', id: string, name: string, role?: string | null, updatedAt: string, workspaceId?: string | null, models: { __typename?: 'ModelCollection', totalCount: number } } } } }; + input: WorkspaceProjectCreateInput +}> + +export type CreateProjectInWorkspaceMutation = { + __typename?: 'Mutation' + workspaceMutations: { + __typename?: 'WorkspaceMutations' + projects: { + __typename?: 'WorkspaceProjectMutations' + create: { + __typename?: 'Project' + id: string + name: string + role?: string | null + updatedAt: string + workspaceId?: string | null + models: { __typename?: 'ModelCollection'; totalCount: number } + } + } + } +} export type StreamAccessRequestCreateMutationVariables = Exact<{ - input: Scalars['String']['input']; -}>; - + input: Scalars['String']['input'] +}> -export type StreamAccessRequestCreateMutation = { __typename?: 'Mutation', streamAccessRequestCreate: { __typename?: 'StreamAccessRequest', id: string } }; +export type StreamAccessRequestCreateMutation = { + __typename?: 'Mutation' + streamAccessRequestCreate: { __typename?: 'StreamAccessRequest'; id: string } +} -export type WorkspaceListWorkspaceItemFragment = { __typename?: 'Workspace', id: string, name: string, description?: string | null, createdAt: string, updatedAt: string, logo?: string | null, role?: string | null }; +export type WorkspaceListWorkspaceItemFragment = { + __typename?: 'Workspace' + id: string + name: string + description?: string | null + createdAt: string + updatedAt: string + logo?: string | null + role?: string | null +} -export type AutomateFunctionItemFragment = { __typename?: 'AutomateFunction', name: string, isFeatured: boolean, id: string, creator?: { __typename?: 'LimitedUser', name: string } | null, releases: { __typename?: 'AutomateFunctionReleaseCollection', items: Array<{ __typename?: 'AutomateFunctionRelease', inputSchema?: {} | null }> } }; +export type AutomateFunctionItemFragment = { + __typename?: 'AutomateFunction' + name: string + isFeatured: boolean + id: string + creator?: { __typename?: 'LimitedUser'; name: string } | null + releases: { + __typename?: 'AutomateFunctionReleaseCollection' + items: Array<{ __typename?: 'AutomateFunctionRelease'; inputSchema?: {} | null }> + } +} export type CreateAutomationMutationVariables = Exact<{ - projectId: Scalars['ID']['input']; - input: ProjectAutomationCreateInput; -}>; - - -export type CreateAutomationMutation = { __typename?: 'Mutation', projectMutations: { __typename?: 'ProjectMutations', automationMutations: { __typename?: 'ProjectAutomationMutations', create: { __typename?: 'Automation', id: string, name: string } } } }; + projectId: Scalars['ID']['input'] + input: ProjectAutomationCreateInput +}> + +export type CreateAutomationMutation = { + __typename?: 'Mutation' + projectMutations: { + __typename?: 'ProjectMutations' + automationMutations: { + __typename?: 'ProjectAutomationMutations' + create: { __typename?: 'Automation'; id: string; name: string } + } + } +} -export type AutomateFunctionRunItemFragment = { __typename?: 'AutomateFunctionRun', id: string, status: AutomateRunStatus, statusMessage?: string | null, results?: {} | null, contextView?: string | null, function?: { __typename?: 'AutomateFunction', id: string, name: string, logo?: string | null } | null }; +export type AutomateFunctionRunItemFragment = { + __typename?: 'AutomateFunctionRun' + id: string + status: AutomateRunStatus + statusMessage?: string | null + results?: {} | null + contextView?: string | null + function?: { + __typename?: 'AutomateFunction' + id: string + name: string + logo?: string | null + } | null +} -export type AutomationRunItemFragment = { __typename?: 'AutomateRun', id: string, status: AutomateRunStatus, automation: { __typename?: 'Automation', id: string, name: string }, functionRuns: Array<{ __typename?: 'AutomateFunctionRun', id: string, status: AutomateRunStatus, statusMessage?: string | null, results?: {} | null, contextView?: string | null, function?: { __typename?: 'AutomateFunction', id: string, name: string, logo?: string | null } | null }> }; +export type AutomationRunItemFragment = { + __typename?: 'AutomateRun' + id: string + status: AutomateRunStatus + automation: { __typename?: 'Automation'; id: string; name: string } + functionRuns: Array<{ + __typename?: 'AutomateFunctionRun' + id: string + status: AutomateRunStatus + statusMessage?: string | null + results?: {} | null + contextView?: string | null + function?: { + __typename?: 'AutomateFunction' + id: string + name: string + logo?: string | null + } | null + }> +} export type AutomationStatusQueryVariables = Exact<{ - projectId: Scalars['String']['input']; - modelId: Scalars['String']['input']; -}>; - - -export type AutomationStatusQuery = { __typename?: 'Query', project: { __typename?: 'Project', model: { __typename?: 'Model', automationsStatus?: { __typename?: 'TriggeredAutomationsStatus', id: string, status: AutomateRunStatus, automationRuns: Array<{ __typename?: 'AutomateRun', id: string, status: AutomateRunStatus, automation: { __typename?: 'Automation', id: string, name: string }, functionRuns: Array<{ __typename?: 'AutomateFunctionRun', id: string, status: AutomateRunStatus, statusMessage?: string | null, results?: {} | null, contextView?: string | null, function?: { __typename?: 'AutomateFunction', id: string, name: string, logo?: string | null } | null }> }> } | null } } }; + projectId: Scalars['String']['input'] + modelId: Scalars['String']['input'] +}> + +export type AutomationStatusQuery = { + __typename?: 'Query' + project: { + __typename?: 'Project' + model: { + __typename?: 'Model' + automationsStatus?: { + __typename?: 'TriggeredAutomationsStatus' + id: string + status: AutomateRunStatus + automationRuns: Array<{ + __typename?: 'AutomateRun' + id: string + status: AutomateRunStatus + automation: { __typename?: 'Automation'; id: string; name: string } + functionRuns: Array<{ + __typename?: 'AutomateFunctionRun' + id: string + status: AutomateRunStatus + statusMessage?: string | null + results?: {} | null + contextView?: string | null + function?: { + __typename?: 'AutomateFunction' + id: string + name: string + logo?: string | null + } | null + }> + }> + } | null + } + } +} export type WorkspaceListQueryQueryVariables = Exact<{ - limit: Scalars['Int']['input']; - filter?: InputMaybe; - cursor?: InputMaybe; -}>; - - -export type WorkspaceListQueryQuery = { __typename?: 'Query', activeUser?: { __typename?: 'User', id: string, workspaces: { __typename?: 'WorkspaceCollection', totalCount: number, cursor?: string | null, items: Array<{ __typename?: 'Workspace', id: string, name: string, description?: string | null, createdAt: string, updatedAt: string, logo?: string | null, role?: string | null }> } } | null }; + limit: Scalars['Int']['input'] + filter?: InputMaybe + cursor?: InputMaybe +}> + +export type WorkspaceListQueryQuery = { + __typename?: 'Query' + activeUser?: { + __typename?: 'User' + id: string + workspaces: { + __typename?: 'WorkspaceCollection' + totalCount: number + cursor?: string | null + items: Array<{ + __typename?: 'Workspace' + id: string + name: string + description?: string | null + createdAt: string + updatedAt: string + logo?: string | null + role?: string | null + }> + } + } | null +} -export type ProjectListProjectItemFragment = { __typename?: 'Project', id: string, name: string, role?: string | null, updatedAt: string, workspaceId?: string | null, models: { __typename?: 'ModelCollection', totalCount: number } }; +export type ProjectListProjectItemFragment = { + __typename?: 'Project' + id: string + name: string + role?: string | null + updatedAt: string + workspaceId?: string | null + models: { __typename?: 'ModelCollection'; totalCount: number } +} export type ProjectListQueryQueryVariables = Exact<{ - limit: Scalars['Int']['input']; - filter?: InputMaybe; - cursor?: InputMaybe; -}>; - - -export type ProjectListQueryQuery = { __typename?: 'Query', activeUser?: { __typename?: 'User', id: string, projects: { __typename?: 'ProjectCollection', totalCount: number, cursor?: string | null, items: Array<{ __typename?: 'Project', id: string, name: string, role?: string | null, updatedAt: string, workspaceId?: string | null, models: { __typename?: 'ModelCollection', totalCount: number } }> } } | null }; + limit: Scalars['Int']['input'] + filter?: InputMaybe + cursor?: InputMaybe +}> + +export type ProjectListQueryQuery = { + __typename?: 'Query' + activeUser?: { + __typename?: 'User' + id: string + projects: { + __typename?: 'ProjectCollection' + totalCount: number + cursor?: string | null + items: Array<{ + __typename?: 'Project' + id: string + name: string + role?: string | null + updatedAt: string + workspaceId?: string | null + models: { __typename?: 'ModelCollection'; totalCount: number } + }> + } + } | null +} -export type ModelListModelItemFragment = { __typename?: 'Model', displayName: string, name: string, id: string, previewUrl?: string | null, updatedAt: string, versions: { __typename?: 'VersionCollection', totalCount: number, items: Array<{ __typename?: 'Version', id: string, referencedObject: string, message?: string | null, sourceApplication?: string | null, createdAt: string, previewUrl: string, authorUser?: { __typename?: 'LimitedUser', avatar?: string | null, id: string, name: string } | null }> } }; +export type ModelListModelItemFragment = { + __typename?: 'Model' + displayName: string + name: string + id: string + previewUrl?: string | null + updatedAt: string + versions: { + __typename?: 'VersionCollection' + totalCount: number + items: Array<{ + __typename?: 'Version' + id: string + referencedObject: string + message?: string | null + sourceApplication?: string | null + createdAt: string + previewUrl: string + authorUser?: { + __typename?: 'LimitedUser' + avatar?: string | null + id: string + name: string + } | null + }> + } +} export type ProjectModelsQueryVariables = Exact<{ - projectId: Scalars['String']['input']; - cursor?: InputMaybe; - limit: Scalars['Int']['input']; - filter?: InputMaybe; -}>; - - -export type ProjectModelsQuery = { __typename?: 'Query', project: { __typename?: 'Project', id: string, models: { __typename?: 'ModelCollection', totalCount: number, cursor?: string | null, items: Array<{ __typename?: 'Model', displayName: string, name: string, id: string, previewUrl?: string | null, updatedAt: string, versions: { __typename?: 'VersionCollection', totalCount: number, items: Array<{ __typename?: 'Version', id: string, referencedObject: string, message?: string | null, sourceApplication?: string | null, createdAt: string, previewUrl: string, authorUser?: { __typename?: 'LimitedUser', avatar?: string | null, id: string, name: string } | null }> } }> } } }; + projectId: Scalars['String']['input'] + cursor?: InputMaybe + limit: Scalars['Int']['input'] + filter?: InputMaybe +}> + +export type ProjectModelsQuery = { + __typename?: 'Query' + project: { + __typename?: 'Project' + id: string + models: { + __typename?: 'ModelCollection' + totalCount: number + cursor?: string | null + items: Array<{ + __typename?: 'Model' + displayName: string + name: string + id: string + previewUrl?: string | null + updatedAt: string + versions: { + __typename?: 'VersionCollection' + totalCount: number + items: Array<{ + __typename?: 'Version' + id: string + referencedObject: string + message?: string | null + sourceApplication?: string | null + createdAt: string + previewUrl: string + authorUser?: { + __typename?: 'LimitedUser' + avatar?: string | null + id: string + name: string + } | null + }> + } + }> + } + } +} -export type VersionListItemFragment = { __typename?: 'Version', id: string, referencedObject: string, message?: string | null, sourceApplication?: string | null, createdAt: string, previewUrl: string, authorUser?: { __typename?: 'LimitedUser', avatar?: string | null, id: string, name: string } | null }; +export type VersionListItemFragment = { + __typename?: 'Version' + id: string + referencedObject: string + message?: string | null + sourceApplication?: string | null + createdAt: string + previewUrl: string + authorUser?: { + __typename?: 'LimitedUser' + avatar?: string | null + id: string + name: string + } | null +} export type ModelVersionsQueryVariables = Exact<{ - modelId: Scalars['String']['input']; - projectId: Scalars['String']['input']; - limit: Scalars['Int']['input']; - cursor?: InputMaybe; - filter?: InputMaybe; -}>; - - -export type ModelVersionsQuery = { __typename?: 'Query', project: { __typename?: 'Project', id: string, model: { __typename?: 'Model', id: string, versions: { __typename?: 'VersionCollection', totalCount: number, cursor?: string | null, items: Array<{ __typename?: 'Version', id: string, referencedObject: string, message?: string | null, sourceApplication?: string | null, createdAt: string, previewUrl: string, authorUser?: { __typename?: 'LimitedUser', avatar?: string | null, id: string, name: string } | null }> } } } }; + modelId: Scalars['String']['input'] + projectId: Scalars['String']['input'] + limit: Scalars['Int']['input'] + cursor?: InputMaybe + filter?: InputMaybe +}> + +export type ModelVersionsQuery = { + __typename?: 'Query' + project: { + __typename?: 'Project' + id: string + model: { + __typename?: 'Model' + id: string + versions: { + __typename?: 'VersionCollection' + totalCount: number + cursor?: string | null + items: Array<{ + __typename?: 'Version' + id: string + referencedObject: string + message?: string | null + sourceApplication?: string | null + createdAt: string + previewUrl: string + authorUser?: { + __typename?: 'LimitedUser' + avatar?: string | null + id: string + name: string + } | null + }> + } + } + } +} export type ObjectQueryQueryVariables = Exact<{ - projectId: Scalars['String']['input']; - objectId: Scalars['String']['input']; -}>; - - -export type ObjectQueryQuery = { __typename?: 'Query', project: { __typename?: 'Project', object?: { __typename?: 'Object', id: string, data?: {} | null } | null } }; + projectId: Scalars['String']['input'] + objectId: Scalars['String']['input'] +}> + +export type ObjectQueryQuery = { + __typename?: 'Query' + project: { + __typename?: 'Project' + object?: { __typename?: 'Object'; id: string; data?: {} | null } | null + } +} export type ProjectAddByUrlQueryWithVersionQueryVariables = Exact<{ - projectId: Scalars['String']['input']; - modelId: Scalars['String']['input']; - versionId: Scalars['String']['input']; -}>; - - -export type ProjectAddByUrlQueryWithVersionQuery = { __typename?: 'Query', project: { __typename?: 'Project', id: string, name: string, role?: string | null, updatedAt: string, workspaceId?: string | null, model: { __typename?: 'Model', displayName: string, name: string, id: string, previewUrl?: string | null, updatedAt: string, version: { __typename?: 'Version', id: string, referencedObject: string, message?: string | null, sourceApplication?: string | null, createdAt: string, previewUrl: string, authorUser?: { __typename?: 'LimitedUser', avatar?: string | null, id: string, name: string } | null }, versions: { __typename?: 'VersionCollection', totalCount: number, items: Array<{ __typename?: 'Version', id: string, referencedObject: string, message?: string | null, sourceApplication?: string | null, createdAt: string, previewUrl: string, authorUser?: { __typename?: 'LimitedUser', avatar?: string | null, id: string, name: string } | null }> } }, models: { __typename?: 'ModelCollection', totalCount: number } } }; + projectId: Scalars['String']['input'] + modelId: Scalars['String']['input'] + versionId: Scalars['String']['input'] +}> + +export type ProjectAddByUrlQueryWithVersionQuery = { + __typename?: 'Query' + project: { + __typename?: 'Project' + id: string + name: string + role?: string | null + updatedAt: string + workspaceId?: string | null + model: { + __typename?: 'Model' + displayName: string + name: string + id: string + previewUrl?: string | null + updatedAt: string + version: { + __typename?: 'Version' + id: string + referencedObject: string + message?: string | null + sourceApplication?: string | null + createdAt: string + previewUrl: string + authorUser?: { + __typename?: 'LimitedUser' + avatar?: string | null + id: string + name: string + } | null + } + versions: { + __typename?: 'VersionCollection' + totalCount: number + items: Array<{ + __typename?: 'Version' + id: string + referencedObject: string + message?: string | null + sourceApplication?: string | null + createdAt: string + previewUrl: string + authorUser?: { + __typename?: 'LimitedUser' + avatar?: string | null + id: string + name: string + } | null + }> + } + } + models: { __typename?: 'ModelCollection'; totalCount: number } + } +} export type ProjectAddByUrlQueryWithoutVersionQueryVariables = Exact<{ - projectId: Scalars['String']['input']; - modelId: Scalars['String']['input']; -}>; - - -export type ProjectAddByUrlQueryWithoutVersionQuery = { __typename?: 'Query', project: { __typename?: 'Project', id: string, name: string, role?: string | null, updatedAt: string, workspaceId?: string | null, model: { __typename?: 'Model', displayName: string, name: string, id: string, previewUrl?: string | null, updatedAt: string, versions: { __typename?: 'VersionCollection', totalCount: number, items: Array<{ __typename?: 'Version', id: string, referencedObject: string, message?: string | null, sourceApplication?: string | null, createdAt: string, previewUrl: string, authorUser?: { __typename?: 'LimitedUser', avatar?: string | null, id: string, name: string } | null }> } }, models: { __typename?: 'ModelCollection', totalCount: number } } }; + projectId: Scalars['String']['input'] + modelId: Scalars['String']['input'] +}> + +export type ProjectAddByUrlQueryWithoutVersionQuery = { + __typename?: 'Query' + project: { + __typename?: 'Project' + id: string + name: string + role?: string | null + updatedAt: string + workspaceId?: string | null + model: { + __typename?: 'Model' + displayName: string + name: string + id: string + previewUrl?: string | null + updatedAt: string + versions: { + __typename?: 'VersionCollection' + totalCount: number + items: Array<{ + __typename?: 'Version' + id: string + referencedObject: string + message?: string | null + sourceApplication?: string | null + createdAt: string + previewUrl: string + authorUser?: { + __typename?: 'LimitedUser' + avatar?: string | null + id: string + name: string + } | null + }> + } + } + models: { __typename?: 'ModelCollection'; totalCount: number } + } +} export type ProjectDetailsQueryVariables = Exact<{ - projectId: Scalars['String']['input']; -}>; - - -export type ProjectDetailsQuery = { __typename?: 'Query', project: { __typename?: 'Project', id: string, role?: string | null, name: string, visibility: ProjectVisibility, team: Array<{ __typename?: 'ProjectCollaborator', user: { __typename?: 'LimitedUser', avatar?: string | null, id: string, name: string } }> } }; - -export type AutomateFunctionsQueryVariables = Exact<{ [key: string]: never; }>; - + projectId: Scalars['String']['input'] +}> + +export type ProjectDetailsQuery = { + __typename?: 'Query' + project: { + __typename?: 'Project' + id: string + role?: string | null + name: string + visibility: ProjectVisibility + team: Array<{ + __typename?: 'ProjectCollaborator' + user: { + __typename?: 'LimitedUser' + avatar?: string | null + id: string + name: string + } + }> + } +} -export type AutomateFunctionsQuery = { __typename?: 'Query', automateFunctions: { __typename?: 'AutomateFunctionCollection', items: Array<{ __typename?: 'AutomateFunction', name: string, isFeatured: boolean, id: string, creator?: { __typename?: 'LimitedUser', name: string } | null, releases: { __typename?: 'AutomateFunctionReleaseCollection', items: Array<{ __typename?: 'AutomateFunctionRelease', inputSchema?: {} | null }> } }> } }; +export type AutomateFunctionsQueryVariables = Exact<{ [key: string]: never }> + +export type AutomateFunctionsQuery = { + __typename?: 'Query' + automateFunctions: { + __typename?: 'AutomateFunctionCollection' + items: Array<{ + __typename?: 'AutomateFunction' + name: string + isFeatured: boolean + id: string + creator?: { __typename?: 'LimitedUser'; name: string } | null + releases: { + __typename?: 'AutomateFunctionReleaseCollection' + items: Array<{ + __typename?: 'AutomateFunctionRelease' + inputSchema?: {} | null + }> + } + }> + } +} export type ModelDetailsQueryVariables = Exact<{ - modelId: Scalars['String']['input']; - projectId: Scalars['String']['input']; -}>; - - -export type ModelDetailsQuery = { __typename?: 'Query', project: { __typename?: 'Project', id: string, name: string, model: { __typename?: 'Model', id: string, displayName: string, name: string, versions: { __typename?: 'VersionCollection', totalCount: number, items: Array<{ __typename?: 'Version', id: string }> }, author: { __typename?: 'LimitedUser', id: string, name: string, avatar?: string | null } } } }; + modelId: Scalars['String']['input'] + projectId: Scalars['String']['input'] +}> + +export type ModelDetailsQuery = { + __typename?: 'Query' + project: { + __typename?: 'Project' + id: string + name: string + model: { + __typename?: 'Model' + id: string + displayName: string + name: string + versions: { + __typename?: 'VersionCollection' + totalCount: number + items: Array<{ __typename?: 'Version'; id: string }> + } + author: { + __typename?: 'LimitedUser' + id: string + name: string + avatar?: string | null + } + } + } +} export type VersionDetailsQueryVariables = Exact<{ - projectId: Scalars['String']['input']; - versionId: Scalars['String']['input']; - modelId: Scalars['String']['input']; -}>; - - -export type VersionDetailsQuery = { __typename?: 'Query', project: { __typename?: 'Project', id: string, name: string, model: { __typename?: 'Model', id: string, name: string, versions: { __typename?: 'VersionCollection', items: Array<{ __typename?: 'Version', id: string, createdAt: string, sourceApplication?: string | null, authorUser?: { __typename?: 'LimitedUser', id: string } | null }> }, version: { __typename?: 'Version', id: string, referencedObject: string, message?: string | null, sourceApplication?: string | null, createdAt: string, previewUrl: string } } } }; + projectId: Scalars['String']['input'] + versionId: Scalars['String']['input'] + modelId: Scalars['String']['input'] +}> + +export type VersionDetailsQuery = { + __typename?: 'Query' + project: { + __typename?: 'Project' + id: string + name: string + model: { + __typename?: 'Model' + id: string + name: string + versions: { + __typename?: 'VersionCollection' + items: Array<{ + __typename?: 'Version' + id: string + createdAt: string + sourceApplication?: string | null + authorUser?: { __typename?: 'LimitedUser'; id: string } | null + }> + } + version: { + __typename?: 'Version' + id: string + referencedObject: string + message?: string | null + sourceApplication?: string | null + createdAt: string + previewUrl: string + } + } + } +} export type OnProjectVersionsUpdateSubscriptionVariables = Exact<{ - projectId: Scalars['String']['input']; -}>; - - -export type OnProjectVersionsUpdateSubscription = { __typename?: 'Subscription', projectVersionsUpdated: { __typename?: 'ProjectVersionsUpdatedMessage', id: string, type: ProjectVersionsUpdatedMessageType, version?: { __typename?: 'Version', id: string, createdAt: string, message?: string | null, sourceApplication?: string | null, authorUser?: { __typename?: 'LimitedUser', id: string, name: string, avatar?: string | null } | null, model: { __typename?: 'Model', id: string, name: string, displayName: string } } | null } }; + projectId: Scalars['String']['input'] +}> + +export type OnProjectVersionsUpdateSubscription = { + __typename?: 'Subscription' + projectVersionsUpdated: { + __typename?: 'ProjectVersionsUpdatedMessage' + id: string + type: ProjectVersionsUpdatedMessageType + version?: { + __typename?: 'Version' + id: string + createdAt: string + message?: string | null + sourceApplication?: string | null + authorUser?: { + __typename?: 'LimitedUser' + id: string + name: string + avatar?: string | null + } | null + model: { __typename?: 'Model'; id: string; name: string; displayName: string } + } | null + } +} export type ProjectTriggeredAutomationsStatusUpdatedSubscriptionVariables = Exact<{ - projectId: Scalars['String']['input']; -}>; - - -export type ProjectTriggeredAutomationsStatusUpdatedSubscription = { __typename?: 'Subscription', projectTriggeredAutomationsStatusUpdated: { __typename?: 'ProjectTriggeredAutomationsStatusUpdatedMessage', type: ProjectTriggeredAutomationsStatusUpdatedMessageType, version: { __typename?: 'Version', id: string }, model: { __typename?: 'Model', id: string }, project: { __typename?: 'Project', id: string }, run: { __typename?: 'AutomateRun', id: string, status: AutomateRunStatus, automation: { __typename?: 'Automation', id: string, name: string }, functionRuns: Array<{ __typename?: 'AutomateFunctionRun', id: string, status: AutomateRunStatus, statusMessage?: string | null, results?: {} | null, contextView?: string | null, function?: { __typename?: 'AutomateFunction', id: string, name: string, logo?: string | null } | null }> } } }; - -export type OnUserProjectsUpdatedSubscriptionVariables = Exact<{ [key: string]: never; }>; - + projectId: Scalars['String']['input'] +}> + +export type ProjectTriggeredAutomationsStatusUpdatedSubscription = { + __typename?: 'Subscription' + projectTriggeredAutomationsStatusUpdated: { + __typename?: 'ProjectTriggeredAutomationsStatusUpdatedMessage' + type: ProjectTriggeredAutomationsStatusUpdatedMessageType + version: { __typename?: 'Version'; id: string } + model: { __typename?: 'Model'; id: string } + project: { __typename?: 'Project'; id: string } + run: { + __typename?: 'AutomateRun' + id: string + status: AutomateRunStatus + automation: { __typename?: 'Automation'; id: string; name: string } + functionRuns: Array<{ + __typename?: 'AutomateFunctionRun' + id: string + status: AutomateRunStatus + statusMessage?: string | null + results?: {} | null + contextView?: string | null + function?: { + __typename?: 'AutomateFunction' + id: string + name: string + logo?: string | null + } | null + }> + } + } +} -export type OnUserProjectsUpdatedSubscription = { __typename?: 'Subscription', userProjectsUpdated: { __typename?: 'UserProjectsUpdatedMessage', id: string, project?: { __typename?: 'Project', id: string, visibility: ProjectVisibility, team: Array<{ __typename?: 'ProjectCollaborator', id: string, role: string }> } | null } }; +export type OnUserProjectsUpdatedSubscriptionVariables = Exact<{ [key: string]: never }> + +export type OnUserProjectsUpdatedSubscription = { + __typename?: 'Subscription' + userProjectsUpdated: { + __typename?: 'UserProjectsUpdatedMessage' + id: string + project?: { + __typename?: 'Project' + id: string + visibility: ProjectVisibility + team: Array<{ __typename?: 'ProjectCollaborator'; id: string; role: string }> + } | null + } +} export type ProjectUpdatedSubscriptionVariables = Exact<{ - projectId: Scalars['String']['input']; -}>; - - -export type ProjectUpdatedSubscription = { __typename?: 'Subscription', projectUpdated: { __typename?: 'ProjectUpdatedMessage', id: string, project?: { __typename?: 'Project', visibility: ProjectVisibility } | null } }; + projectId: Scalars['String']['input'] +}> + +export type ProjectUpdatedSubscription = { + __typename?: 'Subscription' + projectUpdated: { + __typename?: 'ProjectUpdatedMessage' + id: string + project?: { __typename?: 'Project'; visibility: ProjectVisibility } | null + } +} export type SubscriptionSubscriptionVariables = Exact<{ - target: ViewerUpdateTrackingTarget; -}>; - - -export type SubscriptionSubscription = { __typename?: 'Subscription', viewerUserActivityBroadcasted: { __typename?: 'ViewerUserActivityMessage', userName: string, userId?: string | null, sessionId: string, status: ViewerUserActivityStatus, user?: { __typename?: 'LimitedUser', name: string, id: string, avatar?: string | null } | null } }; + target: ViewerUpdateTrackingTarget +}> + +export type SubscriptionSubscription = { + __typename?: 'Subscription' + viewerUserActivityBroadcasted: { + __typename?: 'ViewerUserActivityMessage' + userName: string + userId?: string | null + sessionId: string + status: ViewerUserActivityStatus + user?: { + __typename?: 'LimitedUser' + name: string + id: string + avatar?: string | null + } | null + } +} export type ProjectCommentsUpdatedSubscriptionVariables = Exact<{ - target: ViewerUpdateTrackingTarget; -}>; - - -export type ProjectCommentsUpdatedSubscription = { __typename?: 'Subscription', projectCommentsUpdated: { __typename?: 'ProjectCommentsUpdatedMessage', type: ProjectCommentsUpdatedMessageType, comment?: { __typename?: 'Comment', id: string, hasParent: boolean, author: { __typename?: 'LimitedUser', avatar?: string | null, id: string, name: string }, parent?: { __typename?: 'Comment', id: string } | null } | null } }; - -export const WorkspaceListWorkspaceItemFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceListWorkspaceItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Workspace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"role"}}]}}]} as unknown as DocumentNode; -export const AutomateFunctionItemFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AutomateFunctionItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AutomateFunction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"isFeatured"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"releases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"inputSchema"}}]}}]}}]}}]} as unknown as DocumentNode; -export const AutomateFunctionRunItemFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AutomateFunctionRunItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AutomateFunctionRun"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"statusMessage"}},{"kind":"Field","name":{"kind":"Name","value":"results"}},{"kind":"Field","name":{"kind":"Name","value":"contextView"}},{"kind":"Field","name":{"kind":"Name","value":"function"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}}]}}]} as unknown as DocumentNode; -export const AutomationRunItemFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AutomationRunItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AutomateRun"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"automation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"functionRuns"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AutomateFunctionRunItem"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AutomateFunctionRunItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AutomateFunctionRun"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"statusMessage"}},{"kind":"Field","name":{"kind":"Name","value":"results"}},{"kind":"Field","name":{"kind":"Name","value":"contextView"}},{"kind":"Field","name":{"kind":"Name","value":"function"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}}]}}]} as unknown as DocumentNode; -export const ProjectListProjectItemFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectListProjectItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"models"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}}]} as unknown as DocumentNode; -export const VersionListItemFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VersionListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Version"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"referencedObject"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"sourceApplication"}},{"kind":"Field","name":{"kind":"Name","value":"authorUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"avatar"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"previewUrl"}}]}}]} as unknown as DocumentNode; -export const ModelListModelItemFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ModelListModelItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Model"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"previewUrl"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"versions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"1"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VersionListItem"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VersionListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Version"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"referencedObject"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"sourceApplication"}},{"kind":"Field","name":{"kind":"Name","value":"authorUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"avatar"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"previewUrl"}}]}}]} as unknown as DocumentNode; -export const VersionMutationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"VersionMutations"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateVersionInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"versionMutations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"create"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}}]} as unknown as DocumentNode; -export const MarkReceivedVersionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"MarkReceivedVersion"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"MarkReceivedVersionInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"versionMutations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"markReceived"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}]}]}}]}}]} as unknown as DocumentNode; -export const CreateModelDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateModel"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateModelInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"modelMutations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"create"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ModelListModelItem"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VersionListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Version"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"referencedObject"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"sourceApplication"}},{"kind":"Field","name":{"kind":"Name","value":"authorUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"avatar"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"previewUrl"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ModelListModelItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Model"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"previewUrl"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"versions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"1"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VersionListItem"}}]}}]}}]}}]} as unknown as DocumentNode; -export const CreateProjectDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateProject"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ProjectCreateInput"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"projectMutations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"create"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProjectListProjectItem"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectListProjectItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"models"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}}]} as unknown as DocumentNode; -export const CreateProjectInWorkspaceDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateProjectInWorkspace"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"WorkspaceProjectCreateInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"workspaceMutations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"projects"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"create"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProjectListProjectItem"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectListProjectItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"models"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}}]} as unknown as DocumentNode; -export const StreamAccessRequestCreateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"StreamAccessRequestCreate"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"streamAccessRequestCreate"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"streamId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]} as unknown as DocumentNode; -export const CreateAutomationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateAutomation"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ProjectAutomationCreateInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"projectMutations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"automationMutations"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"create"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const AutomationStatusDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AutomationStatus"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"modelId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"project"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"model"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"modelId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"automationsStatus"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"automationRuns"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AutomationRunItem"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AutomateFunctionRunItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AutomateFunctionRun"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"statusMessage"}},{"kind":"Field","name":{"kind":"Name","value":"results"}},{"kind":"Field","name":{"kind":"Name","value":"contextView"}},{"kind":"Field","name":{"kind":"Name","value":"function"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AutomationRunItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AutomateRun"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"automation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"functionRuns"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AutomateFunctionRunItem"}}]}}]}}]} as unknown as DocumentNode; -export const WorkspaceListQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"WorkspaceListQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"UserWorkspacesFilter"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cursor"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"activeUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"workspaces"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"cursor"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cursor"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"cursor"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"WorkspaceListWorkspaceItem"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"WorkspaceListWorkspaceItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Workspace"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}},{"kind":"Field","name":{"kind":"Name","value":"role"}}]}}]} as unknown as DocumentNode; -export const ProjectListQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ProjectListQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"UserProjectsFilter"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cursor"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"activeUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"projects"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}},{"kind":"Argument","name":{"kind":"Name","value":"cursor"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cursor"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"cursor"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProjectListProjectItem"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectListProjectItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"models"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}}]} as unknown as DocumentNode; -export const ProjectModelsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ProjectModels"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cursor"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ProjectModelsFilter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"project"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"models"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"cursor"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cursor"}}},{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"cursor"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ModelListModelItem"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VersionListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Version"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"referencedObject"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"sourceApplication"}},{"kind":"Field","name":{"kind":"Name","value":"authorUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"avatar"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"previewUrl"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ModelListModelItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Model"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"previewUrl"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"versions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"1"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VersionListItem"}}]}}]}}]}}]} as unknown as DocumentNode; -export const ModelVersionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ModelVersions"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"modelId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"limit"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"cursor"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"ModelVersionsFilter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"project"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"model"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"modelId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"versions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"Variable","name":{"kind":"Name","value":"limit"}}},{"kind":"Argument","name":{"kind":"Name","value":"cursor"},"value":{"kind":"Variable","name":{"kind":"Name","value":"cursor"}}},{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"cursor"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VersionListItem"}}]}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VersionListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Version"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"referencedObject"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"sourceApplication"}},{"kind":"Field","name":{"kind":"Name","value":"authorUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"avatar"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"previewUrl"}}]}}]} as unknown as DocumentNode; -export const ObjectQueryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ObjectQuery"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"objectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"project"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"object"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"objectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"data"}}]}}]}}]}}]} as unknown as DocumentNode; -export const ProjectAddByUrlQueryWithVersionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ProjectAddByUrlQueryWithVersion"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"modelId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"versionId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"project"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProjectListProjectItem"}},{"kind":"Field","name":{"kind":"Name","value":"model"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"modelId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ModelListModelItem"}},{"kind":"Field","name":{"kind":"Name","value":"version"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"versionId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VersionListItem"}}]}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VersionListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Version"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"referencedObject"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"sourceApplication"}},{"kind":"Field","name":{"kind":"Name","value":"authorUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"avatar"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"previewUrl"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectListProjectItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"models"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ModelListModelItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Model"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"previewUrl"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"versions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"1"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VersionListItem"}}]}}]}}]}}]} as unknown as DocumentNode; -export const ProjectAddByUrlQueryWithoutVersionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ProjectAddByUrlQueryWithoutVersion"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"modelId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"project"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ProjectListProjectItem"}},{"kind":"Field","name":{"kind":"Name","value":"model"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"modelId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"ModelListModelItem"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"VersionListItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Version"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"referencedObject"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"sourceApplication"}},{"kind":"Field","name":{"kind":"Name","value":"authorUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"avatar"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"previewUrl"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ProjectListProjectItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Project"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"workspaceId"}},{"kind":"Field","name":{"kind":"Name","value":"models"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"ModelListModelItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Model"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"previewUrl"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"versions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"1"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"VersionListItem"}}]}}]}}]}}]} as unknown as DocumentNode; -export const ProjectDetailsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ProjectDetails"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"project"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"role"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"team"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"avatar"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"visibility"}}]}}]}}]} as unknown as DocumentNode; -export const AutomateFunctionsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"AutomateFunctions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"automateFunctions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AutomateFunctionItem"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AutomateFunctionItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AutomateFunction"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"isFeatured"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"creator"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"releases"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"inputSchema"}}]}}]}}]}}]} as unknown as DocumentNode; -export const ModelDetailsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"ModelDetails"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"modelId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"project"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"model"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"modelId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"versions"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"avatar"}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const VersionDetailsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"VersionDetails"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"versionId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"modelId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"project"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"model"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"modelId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"versions"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"limit"},"value":{"kind":"IntValue","value":"1"}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"items"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"sourceApplication"}},{"kind":"Field","name":{"kind":"Name","value":"authorUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"version"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"versionId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"referencedObject"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"sourceApplication"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"previewUrl"}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const OnProjectVersionsUpdateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"OnProjectVersionsUpdate"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"projectVersionsUpdated"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"version"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"sourceApplication"}},{"kind":"Field","name":{"kind":"Name","value":"authorUser"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"avatar"}}]}},{"kind":"Field","name":{"kind":"Name","value":"model"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"displayName"}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const ProjectTriggeredAutomationsStatusUpdatedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"ProjectTriggeredAutomationsStatusUpdated"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"projectTriggeredAutomationsStatusUpdated"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"projectId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"version"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"model"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"project"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"run"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AutomationRunItem"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AutomateFunctionRunItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AutomateFunctionRun"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"statusMessage"}},{"kind":"Field","name":{"kind":"Name","value":"results"}},{"kind":"Field","name":{"kind":"Name","value":"contextView"}},{"kind":"Field","name":{"kind":"Name","value":"function"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"logo"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"AutomationRunItem"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"AutomateRun"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"automation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"functionRuns"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"AutomateFunctionRunItem"}}]}}]}}]} as unknown as DocumentNode; -export const OnUserProjectsUpdatedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"OnUserProjectsUpdated"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userProjectsUpdated"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"project"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"visibility"}},{"kind":"Field","name":{"kind":"Name","value":"team"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"role"}}]}}]}}]}}]}}]} as unknown as DocumentNode; -export const ProjectUpdatedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"ProjectUpdated"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"projectUpdated"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"projectId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"project"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"visibility"}}]}}]}}]}}]} as unknown as DocumentNode; -export const SubscriptionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"Subscription"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"target"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ViewerUpdateTrackingTarget"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"viewerUserActivityBroadcasted"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"target"},"value":{"kind":"Variable","name":{"kind":"Name","value":"target"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"userName"}},{"kind":"Field","name":{"kind":"Name","value":"userId"}},{"kind":"Field","name":{"kind":"Name","value":"sessionId"}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"avatar"}}]}},{"kind":"Field","name":{"kind":"Name","value":"status"}}]}}]}}]} as unknown as DocumentNode; -export const ProjectCommentsUpdatedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"ProjectCommentsUpdated"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"target"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ViewerUpdateTrackingTarget"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"projectCommentsUpdated"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"target"},"value":{"kind":"Variable","name":{"kind":"Name","value":"target"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"comment"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"avatar"}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"hasParent"}},{"kind":"Field","name":{"kind":"Name","value":"parent"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"type"}}]}}]}}]} as unknown as DocumentNode; \ No newline at end of file + target: ViewerUpdateTrackingTarget +}> + +export type ProjectCommentsUpdatedSubscription = { + __typename?: 'Subscription' + projectCommentsUpdated: { + __typename?: 'ProjectCommentsUpdatedMessage' + type: ProjectCommentsUpdatedMessageType + comment?: { + __typename?: 'Comment' + id: string + hasParent: boolean + author: { + __typename?: 'LimitedUser' + avatar?: string | null + id: string + name: string + } + parent?: { __typename?: 'Comment'; id: string } | null + } | null + } +} + +export const WorkspaceListWorkspaceItemFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'WorkspaceListWorkspaceItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Workspace' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'logo' } }, + { kind: 'Field', name: { kind: 'Name', value: 'role' } } + ] + } + } + ] +} as unknown as DocumentNode +export const AutomateFunctionItemFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AutomateFunctionItem' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'AutomateFunction' } + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isFeatured' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'name' } }] + } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'releases' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'inputSchema' } } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const AutomateFunctionRunItemFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AutomateFunctionRunItem' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'AutomateFunctionRun' } + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'status' } }, + { kind: 'Field', name: { kind: 'Name', value: 'statusMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'results' } }, + { kind: 'Field', name: { kind: 'Name', value: 'contextView' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'function' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'logo' } } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const AutomationRunItemFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AutomationRunItem' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'AutomateRun' } + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'status' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'automation' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } } + ] + } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'functionRuns' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AutomateFunctionRunItem' } + } + ] + } + } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AutomateFunctionRunItem' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'AutomateFunctionRun' } + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'status' } }, + { kind: 'Field', name: { kind: 'Name', value: 'statusMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'results' } }, + { kind: 'Field', name: { kind: 'Name', value: 'contextView' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'function' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'logo' } } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const ProjectListProjectItemFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProjectListProjectItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Project' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'role' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'workspaceId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'models' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'totalCount' } } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const VersionListItemFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VersionListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Version' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'referencedObject' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sourceApplication' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'authorUser' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'avatar' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } } + ] + } + }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'previewUrl' } } + ] + } + } + ] +} as unknown as DocumentNode +export const ModelListModelItemFragmentDoc = { + kind: 'Document', + definitions: [ + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ModelListModelItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Model' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'displayName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'previewUrl' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'versions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { kind: 'IntValue', value: '1' } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'totalCount' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'VersionListItem' } + } + ] + } + } + ] + } + } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VersionListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Version' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'referencedObject' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sourceApplication' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'authorUser' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'avatar' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } } + ] + } + }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'previewUrl' } } + ] + } + } + ] +} as unknown as DocumentNode +export const VersionMutationsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'VersionMutations' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'CreateVersionInput' } + } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'versionMutations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'create' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'input' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode< + VersionMutationsMutation, + VersionMutationsMutationVariables +> +export const MarkReceivedVersionDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'MarkReceivedVersion' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'MarkReceivedVersionInput' } + } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'versionMutations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'markReceived' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'input' } + } + } + ] + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode< + MarkReceivedVersionMutation, + MarkReceivedVersionMutationVariables +> +export const CreateModelDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateModel' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'CreateModelInput' } + } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'modelMutations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'create' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'input' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ModelListModelItem' } + } + ] + } + } + ] + } + } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VersionListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Version' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'referencedObject' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sourceApplication' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'authorUser' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'avatar' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } } + ] + } + }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'previewUrl' } } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ModelListModelItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Model' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'displayName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'previewUrl' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'versions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { kind: 'IntValue', value: '1' } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'totalCount' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'VersionListItem' } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const CreateProjectDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateProject' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'ProjectCreateInput' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'projectMutations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'create' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'input' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProjectListProjectItem' } + } + ] + } + } + ] + } + } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProjectListProjectItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Project' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'role' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'workspaceId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'models' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'totalCount' } } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const CreateProjectInWorkspaceDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateProjectInWorkspace' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'WorkspaceProjectCreateInput' } + } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'workspaceMutations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'projects' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'create' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'input' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProjectListProjectItem' } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProjectListProjectItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Project' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'role' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'workspaceId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'models' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'totalCount' } } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode< + CreateProjectInWorkspaceMutation, + CreateProjectInWorkspaceMutationVariables +> +export const StreamAccessRequestCreateDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'StreamAccessRequestCreate' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'streamAccessRequestCreate' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'streamId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }] + } + } + ] + } + } + ] +} as unknown as DocumentNode< + StreamAccessRequestCreateMutation, + StreamAccessRequestCreateMutationVariables +> +export const CreateAutomationDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'mutation', + name: { kind: 'Name', value: 'CreateAutomation' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'ID' } } + } + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'ProjectAutomationCreateInput' } + } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'projectMutations' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'automationMutations' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'projectId' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'projectId' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'create' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'input' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'input' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode< + CreateAutomationMutation, + CreateAutomationMutationVariables +> +export const AutomationStatusDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'AutomationStatus' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'modelId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'project' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'model' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'modelId' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'automationsStatus' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'status' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'automationRuns' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AutomationRunItem' } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AutomateFunctionRunItem' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'AutomateFunctionRun' } + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'status' } }, + { kind: 'Field', name: { kind: 'Name', value: 'statusMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'results' } }, + { kind: 'Field', name: { kind: 'Name', value: 'contextView' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'function' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'logo' } } + ] + } + } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AutomationRunItem' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'AutomateRun' } + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'status' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'automation' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } } + ] + } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'functionRuns' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AutomateFunctionRunItem' } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const WorkspaceListQueryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'WorkspaceListQuery' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } } + } + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'filter' } }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'UserWorkspacesFilter' } + } + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'cursor' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'activeUser' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'workspaces' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' } + } + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'filter' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'filter' } + } + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'cursor' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'cursor' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'totalCount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'cursor' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { + kind: 'Name', + value: 'WorkspaceListWorkspaceItem' + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'WorkspaceListWorkspaceItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Workspace' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'description' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'logo' } }, + { kind: 'Field', name: { kind: 'Name', value: 'role' } } + ] + } + } + ] +} as unknown as DocumentNode +export const ProjectListQueryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'ProjectListQuery' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } } + } + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'filter' } }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'UserProjectsFilter' } + } + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'cursor' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'activeUser' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'projects' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' } + } + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'filter' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'filter' } + } + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'cursor' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'cursor' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'totalCount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'cursor' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProjectListProjectItem' } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProjectListProjectItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Project' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'role' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'workspaceId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'models' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'totalCount' } } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const ProjectModelsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'ProjectModels' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'cursor' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } } + } + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'filter' } }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'ProjectModelsFilter' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'project' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'models' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'cursor' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'cursor' } + } + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' } + } + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'filter' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'filter' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'totalCount' } }, + { kind: 'Field', name: { kind: 'Name', value: 'cursor' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ModelListModelItem' } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VersionListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Version' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'referencedObject' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sourceApplication' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'authorUser' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'avatar' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } } + ] + } + }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'previewUrl' } } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ModelListModelItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Model' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'displayName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'previewUrl' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'versions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { kind: 'IntValue', value: '1' } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'totalCount' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'VersionListItem' } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const ModelVersionsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'ModelVersions' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'modelId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'limit' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'Int' } } + } + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'cursor' } }, + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'filter' } }, + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'ModelVersionsFilter' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'project' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'model' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'modelId' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'versions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'limit' } + } + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'cursor' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'cursor' } + } + }, + { + kind: 'Argument', + name: { kind: 'Name', value: 'filter' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'filter' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'totalCount' } + }, + { kind: 'Field', name: { kind: 'Name', value: 'cursor' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'VersionListItem' } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VersionListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Version' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'referencedObject' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sourceApplication' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'authorUser' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'avatar' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } } + ] + } + }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'previewUrl' } } + ] + } + } + ] +} as unknown as DocumentNode +export const ObjectQueryDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'ObjectQuery' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'objectId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'project' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'object' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'objectId' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'data' } } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const ProjectAddByUrlQueryWithVersionDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'ProjectAddByUrlQueryWithVersion' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'modelId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'versionId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'project' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProjectListProjectItem' } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'model' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'modelId' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ModelListModelItem' } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'version' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'versionId' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'VersionListItem' } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VersionListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Version' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'referencedObject' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sourceApplication' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'authorUser' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'avatar' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } } + ] + } + }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'previewUrl' } } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProjectListProjectItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Project' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'role' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'workspaceId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'models' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'totalCount' } } + ] + } + } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ModelListModelItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Model' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'displayName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'previewUrl' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'versions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { kind: 'IntValue', value: '1' } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'totalCount' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'VersionListItem' } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode< + ProjectAddByUrlQueryWithVersionQuery, + ProjectAddByUrlQueryWithVersionQueryVariables +> +export const ProjectAddByUrlQueryWithoutVersionDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'ProjectAddByUrlQueryWithoutVersion' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'modelId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'project' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ProjectListProjectItem' } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'model' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'modelId' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'ModelListModelItem' } + } + ] + } + } + ] + } + } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'VersionListItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Version' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'referencedObject' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sourceApplication' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'authorUser' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'avatar' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } } + ] + } + }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'previewUrl' } } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ProjectListProjectItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Project' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'role' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'workspaceId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'models' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'totalCount' } } + ] + } + } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'ModelListModelItem' }, + typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Model' } }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'displayName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'previewUrl' } }, + { kind: 'Field', name: { kind: 'Name', value: 'updatedAt' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'versions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { kind: 'IntValue', value: '1' } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'totalCount' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'VersionListItem' } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode< + ProjectAddByUrlQueryWithoutVersionQuery, + ProjectAddByUrlQueryWithoutVersionQueryVariables +> +export const ProjectDetailsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'ProjectDetails' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'project' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'role' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'team' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'avatar' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } } + ] + } + } + ] + } + }, + { kind: 'Field', name: { kind: 'Name', value: 'visibility' } } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const AutomateFunctionsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'AutomateFunctions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'automateFunctions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AutomateFunctionItem' } + } + ] + } + } + ] + } + } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AutomateFunctionItem' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'AutomateFunction' } + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'isFeatured' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'creator' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'name' } }] + } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'releases' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'inputSchema' } } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const ModelDetailsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'ModelDetails' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'modelId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'project' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'model' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'modelId' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'displayName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'versions' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'totalCount' } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } } + ] + } + } + ] + } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'author' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'avatar' } } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const VersionDetailsDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'query', + name: { kind: 'Name', value: 'VersionDetails' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'versionId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + }, + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'modelId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'project' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'model' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'modelId' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'versions' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'limit' }, + value: { kind: 'IntValue', value: '1' } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'items' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'createdAt' } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sourceApplication' } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'authorUser' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'id' } + } + ] + } + } + ] + } + } + ] + } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'version' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { + kind: 'Variable', + name: { kind: 'Name', value: 'versionId' } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'referencedObject' } + }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sourceApplication' } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'createdAt' } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'previewUrl' } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode +export const OnProjectVersionsUpdateDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'subscription', + name: { kind: 'Name', value: 'OnProjectVersionsUpdate' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'projectVersionsUpdated' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'version' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } }, + { kind: 'Field', name: { kind: 'Name', value: 'message' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'sourceApplication' } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'authorUser' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'avatar' } } + ] + } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'model' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'displayName' } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode< + OnProjectVersionsUpdateSubscription, + OnProjectVersionsUpdateSubscriptionVariables +> +export const ProjectTriggeredAutomationsStatusUpdatedDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'subscription', + name: { kind: 'Name', value: 'ProjectTriggeredAutomationsStatusUpdated' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'projectTriggeredAutomationsStatusUpdated' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'projectId' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'type' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'version' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }] + } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'model' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }] + } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'project' }, + selectionSet: { + kind: 'SelectionSet', + selections: [{ kind: 'Field', name: { kind: 'Name', value: 'id' } }] + } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'run' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AutomationRunItem' } + } + ] + } + } + ] + } + } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AutomateFunctionRunItem' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'AutomateFunctionRun' } + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'status' } }, + { kind: 'Field', name: { kind: 'Name', value: 'statusMessage' } }, + { kind: 'Field', name: { kind: 'Name', value: 'results' } }, + { kind: 'Field', name: { kind: 'Name', value: 'contextView' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'function' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'logo' } } + ] + } + } + ] + } + }, + { + kind: 'FragmentDefinition', + name: { kind: 'Name', value: 'AutomationRunItem' }, + typeCondition: { + kind: 'NamedType', + name: { kind: 'Name', value: 'AutomateRun' } + }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'status' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'automation' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } } + ] + } + }, + { + kind: 'Field', + name: { kind: 'Name', value: 'functionRuns' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'FragmentSpread', + name: { kind: 'Name', value: 'AutomateFunctionRunItem' } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode< + ProjectTriggeredAutomationsStatusUpdatedSubscription, + ProjectTriggeredAutomationsStatusUpdatedSubscriptionVariables +> +export const OnUserProjectsUpdatedDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'subscription', + name: { kind: 'Name', value: 'OnUserProjectsUpdated' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'userProjectsUpdated' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'project' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'visibility' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'team' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'role' } } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode< + OnUserProjectsUpdatedSubscription, + OnUserProjectsUpdatedSubscriptionVariables +> +export const ProjectUpdatedDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'subscription', + name: { kind: 'Name', value: 'ProjectUpdated' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } }, + type: { + kind: 'NonNullType', + type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'projectUpdated' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'id' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'projectId' } } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'project' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'visibility' } } + ] + } + } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode< + ProjectUpdatedSubscription, + ProjectUpdatedSubscriptionVariables +> +export const SubscriptionDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'subscription', + name: { kind: 'Name', value: 'Subscription' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'target' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'ViewerUpdateTrackingTarget' } + } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'viewerUserActivityBroadcasted' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'target' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'target' } } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'userName' } }, + { kind: 'Field', name: { kind: 'Name', value: 'userId' } }, + { kind: 'Field', name: { kind: 'Name', value: 'sessionId' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'user' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'name' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'avatar' } } + ] + } + }, + { kind: 'Field', name: { kind: 'Name', value: 'status' } } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode< + SubscriptionSubscription, + SubscriptionSubscriptionVariables +> +export const ProjectCommentsUpdatedDocument = { + kind: 'Document', + definitions: [ + { + kind: 'OperationDefinition', + operation: 'subscription', + name: { kind: 'Name', value: 'ProjectCommentsUpdated' }, + variableDefinitions: [ + { + kind: 'VariableDefinition', + variable: { kind: 'Variable', name: { kind: 'Name', value: 'target' } }, + type: { + kind: 'NonNullType', + type: { + kind: 'NamedType', + name: { kind: 'Name', value: 'ViewerUpdateTrackingTarget' } + } + } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'projectCommentsUpdated' }, + arguments: [ + { + kind: 'Argument', + name: { kind: 'Name', value: 'target' }, + value: { kind: 'Variable', name: { kind: 'Name', value: 'target' } } + } + ], + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'comment' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { + kind: 'Field', + name: { kind: 'Name', value: 'author' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'avatar' } }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'name' } } + ] + } + }, + { kind: 'Field', name: { kind: 'Name', value: 'id' } }, + { kind: 'Field', name: { kind: 'Name', value: 'hasParent' } }, + { + kind: 'Field', + name: { kind: 'Name', value: 'parent' }, + selectionSet: { + kind: 'SelectionSet', + selections: [ + { kind: 'Field', name: { kind: 'Name', value: 'id' } } + ] + } + } + ] + } + }, + { kind: 'Field', name: { kind: 'Name', value: 'type' } } + ] + } + } + ] + } + } + ] +} as unknown as DocumentNode< + ProjectCommentsUpdatedSubscription, + ProjectCommentsUpdatedSubscriptionVariables +> diff --git a/packages/dui3/pages/hostapptests.vue b/packages/dui3/pages/hostapptests.vue index f07ac9728c..2b978ca154 100644 --- a/packages/dui3/pages/hostapptests.vue +++ b/packages/dui3/pages/hostapptests.vue @@ -1,24 +1,53 @@ From b77d3b9ca3405da47fe7c609ccd548f2114d8ad1 Mon Sep 17 00:00:00 2001 From: Dimitrie Stefanescu Date: Fri, 13 Dec 2024 15:31:28 +0000 Subject: [PATCH 4/4] feat: tweaks --- packages/dui3/pages/hostapptests.vue | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/packages/dui3/pages/hostapptests.vue b/packages/dui3/pages/hostapptests.vue index f4c9f22714..e1d35edf7d 100644 --- a/packages/dui3/pages/hostapptests.vue +++ b/packages/dui3/pages/hostapptests.vue @@ -6,17 +6,19 @@ :key="test.name" class="bg-foundation shadow p-2 rounded text-foreground" > -
-
+
+
{{ test.status }}
-
{{ test.name }}
-
-
- ran at {{ test.result?.timeStamp }} +
+
{{ test.name }}
+
+ ran at {{ test.result?.timeStamp }} +
+
Run All