From 7fbf43e9ab4bf87f3e67b9546d2e69fc65836c9a Mon Sep 17 00:00:00 2001 From: Piyush Kumar Date: Mon, 26 Aug 2024 11:38:26 +0530 Subject: [PATCH] - provide cli queries fro clone and byok cluster listings - fix cluster listing while creating environments and integrated services after switching account --- gql-queries-generator/doc/queries.graphql | 45 + src/apps/auth/server/gql/cli-queries.ts | 70 + .../page-components/handle-environment.tsx | 22 +- .../environments/clone-environment.tsx | 4 +- .../_main+/$account+/environments/route.tsx | 12 +- .../$account+/new-managed-service/_index.tsx | 75 +- .../server/gql/queries/environment-queries.ts | 8 +- src/apps/console/server/utils/auth-utils.ts | 2 +- src/generated/gql/server.ts | 6396 ++++++++++++++--- 9 files changed, 5595 insertions(+), 1039 deletions(-) diff --git a/gql-queries-generator/doc/queries.graphql b/gql-queries-generator/doc/queries.graphql index cd800abee..88f55ca2a 100644 --- a/gql-queries-generator/doc/queries.graphql +++ b/gql-queries-generator/doc/queries.graphql @@ -6130,6 +6130,33 @@ query authCli_getEnvironment($name: String!) { } } +mutation authCli_cloneEnvironment($clusterName: String!, $sourceEnvName: String!, $destinationEnvName: String!, $displayName: String!, $environmentRoutingMode: Github__com___kloudlite___operator___apis___crds___v1__EnvironmentRoutingMode!) { + core_cloneEnvironment( + clusterName: $clusterName + sourceEnvName: $sourceEnvName + destinationEnvName: $destinationEnvName + displayName: $displayName + environmentRoutingMode: $environmentRoutingMode + ) { + id + displayName + clusterName + metadata { + name + namespace + } + status { + isReady + message { + RawMessage + } + } + spec { + targetNamespace + } + } +} + query authCli_getSecret($envName: String!, $name: String!) { core_getSecret(envName: $envName, name: $name) { displayName @@ -6486,6 +6513,24 @@ query authCli_listImportedManagedResources($envName: String!, $search: SearchImp } } +query authCli_listByokClusters($search: SearchCluster, $pagination: CursorPaginationIn) { + infra_listBYOKClusters(search: $search, pagination: $pagination) { + edges { + cursor + node { + displayName + id + metadata { + name + namespace + } + updateTime + } + } + totalCount + } +} + mutation authSetRemoteAuthHeader($loginId: String!, $authHeader: String) { auth_setRemoteAuthHeader(loginId: $loginId, authHeader: $authHeader) } diff --git a/src/apps/auth/server/gql/cli-queries.ts b/src/apps/auth/server/gql/cli-queries.ts index 6c387b844..c5ee73531 100644 --- a/src/apps/auth/server/gql/cli-queries.ts +++ b/src/apps/auth/server/gql/cli-queries.ts @@ -354,6 +354,46 @@ export const cliQueries = (executor: IExecutor) => ({ vars: (_: any) => {}, } ), + cli_cloneEnvironment: executor( + gql` + mutation Core_cloneEnvironment( + $clusterName: String! + $sourceEnvName: String! + $destinationEnvName: String! + $displayName: String! + $environmentRoutingMode: Github__com___kloudlite___operator___apis___crds___v1__EnvironmentRoutingMode! + ) { + core_cloneEnvironment( + clusterName: $clusterName + sourceEnvName: $sourceEnvName + destinationEnvName: $destinationEnvName + displayName: $displayName + environmentRoutingMode: $environmentRoutingMode + ) { + id + displayName + clusterName + metadata { + name + namespace + } + status { + isReady + message { + RawMessage + } + } + spec { + targetNamespace + } + } + } + `, + { + transformer: (data: any) => data.core_cloneEnvironment, + vars(_: any) {}, + } + ), cli_getSecret: executor( gql` query Core_getSecret($envName: String!, $name: String!) { @@ -863,4 +903,34 @@ export const cliQueries = (executor: IExecutor) => ({ vars(_: any) {}, } ), + cli_listByokClusters: executor( + gql` + query Infra_listBYOKClusters( + $search: SearchCluster + $pagination: CursorPaginationIn + ) { + infra_listBYOKClusters(search: $search, pagination: $pagination) { + edges { + cursor + node { + displayName + id + metadata { + name + namespace + } + updateTime + } + } + totalCount + } + } + `, + { + transformer: (data: any) => { + return data.infra_listBYOKClusters; + }, + vars(_: any) {}, + } + ), }); diff --git a/src/apps/console/page-components/handle-environment.tsx b/src/apps/console/page-components/handle-environment.tsx index 1acb02fe7..4e3cc7a42 100644 --- a/src/apps/console/page-components/handle-environment.tsx +++ b/src/apps/console/page-components/handle-environment.tsx @@ -1,17 +1,17 @@ import { useCallback, useEffect, useState } from 'react'; +import Select from '~/components/atoms/select'; import Popup from '~/components/molecule/popup'; import { toast } from '~/components/molecule/toast'; import { useReload } from '~/root/lib/client/helpers/reloader'; import useForm, { dummyEvent } from '~/root/lib/client/hooks/use-form'; import Yup from '~/root/lib/server/helpers/yup'; import { handleError } from '~/root/lib/utils/common'; -import Select from '~/components/atoms/select'; +import { NameIdView } from '../components/name-id-view'; import { IDialog } from '../components/types.d'; import { useConsoleApi } from '../server/gql/api-provider'; -import { DIALOG_TYPE } from '../utils/commons'; import { IEnvironment } from '../server/gql/queries/environment-queries'; -import { NameIdView } from '../components/name-id-view'; import { parseName, parseNodes } from '../server/r-utils/common'; +import { DIALOG_TYPE } from '../utils/commons'; const ClusterSelectItem = ({ label, @@ -55,7 +55,7 @@ const HandleEnvironment = ({ show, setShow }: IDialog) => { useEffect(() => { getClusters(); - }, []); + }, [show]); const [validationSchema] = useState( Yup.object({ @@ -127,14 +127,14 @@ const HandleEnvironment = ({ show, setShow }: IDialog) => { } }, }); - useEffect(() => { - if (clusterList.length > 0) { - setValues((v) => ({ - ...v, - clusterName: clusterList.find((c) => c.ready)?.value || '', - })); - } + setValues((v) => ({ + ...v, + clusterName: + clusterList.length > 0 + ? clusterList.find((c) => c.ready)?.value || '' + : '', + })); }, [clusterList, show]); return ( diff --git a/src/apps/console/routes/_main+/$account+/environments/clone-environment.tsx b/src/apps/console/routes/_main+/$account+/environments/clone-environment.tsx index 7b0370d08..a56fa84dd 100644 --- a/src/apps/console/routes/_main+/$account+/environments/clone-environment.tsx +++ b/src/apps/console/routes/_main+/$account+/environments/clone-environment.tsx @@ -1,4 +1,6 @@ /* eslint-disable react/destructuring-assignment */ +import { useCallback, useEffect, useState } from 'react'; +import Select from '~/components/atoms/select'; import Popup from '~/components/molecule/popup'; import { toast } from '~/components/molecule/toast'; import CommonPopupHandle from '~/console/components/common-popup-handle'; @@ -15,8 +17,6 @@ import { useReload } from '~/root/lib/client/helpers/reloader'; import useForm, { dummyEvent } from '~/root/lib/client/hooks/use-form'; import Yup from '~/root/lib/server/helpers/yup'; import { handleError } from '~/root/lib/utils/common'; -import Select from '~/components/atoms/select'; -import { useCallback, useEffect, useState } from 'react'; type IDialog = IDialogBase>; diff --git a/src/apps/console/routes/_main+/$account+/environments/route.tsx b/src/apps/console/routes/_main+/$account+/environments/route.tsx index 8dd95b2a1..aa46ccaff 100644 --- a/src/apps/console/routes/_main+/$account+/environments/route.tsx +++ b/src/apps/console/routes/_main+/$account+/environments/route.tsx @@ -1,23 +1,23 @@ -import { Plus } from '~/console/components/icons'; import { defer } from '@remix-run/node'; import { useLoaderData } from '@remix-run/react'; import { useState } from 'react'; import { Button } from '~/components/atoms/button.jsx'; +import { Plus } from '~/console/components/icons'; import { LoadingComp, pWrapper } from '~/console/components/loading-component'; import { IShowDialog } from '~/console/components/types.d'; import Wrapper from '~/console/components/wrapper'; import HandleScope from '~/console/page-components/handle-environment'; import { parseNodes } from '~/console/server/r-utils/common'; import { getPagination, getSearch } from '~/console/server/utils/common'; -import { IRemixCtx } from '~/root/lib/types/common'; import fake from '~/root/fake-data-generator/fake'; +import { IRemixCtx } from '~/root/lib/types/common'; -import { ensureAccountSet } from '~/console/server/utils/auth-utils'; -import { GQLServerHandler } from '~/console/server/gql/saved-queries'; -import { IEnvironment } from '~/console/server/gql/queries/environment-queries'; import { EmptyEnvironmentImage } from '~/console/components/empty-resource-images'; -import Tools from './tools'; +import { IEnvironment } from '~/console/server/gql/queries/environment-queries'; +import { GQLServerHandler } from '~/console/server/gql/saved-queries'; +import { ensureAccountSet } from '~/console/server/utils/auth-utils'; import EnvironmentResourcesV2 from './environment-resources-v2'; +import Tools from './tools'; export const loader = async (ctx: IRemixCtx) => { ensureAccountSet(ctx); diff --git a/src/apps/console/routes/_main+/$account+/new-managed-service/_index.tsx b/src/apps/console/routes/_main+/$account+/new-managed-service/_index.tsx index fdd346aa9..677ec10f9 100644 --- a/src/apps/console/routes/_main+/$account+/new-managed-service/_index.tsx +++ b/src/apps/console/routes/_main+/$account+/new-managed-service/_index.tsx @@ -1,9 +1,4 @@ import { useNavigate, useOutletContext } from '@remix-run/react'; -import Select from '~/components/atoms/select'; -import { NameIdView } from '~/console/components/name-id-view'; -import { useConsoleApi } from '~/console/server/gql/api-provider'; -import useForm, { dummyEvent } from '~/root/lib/client/hooks/use-form'; -import Yup from '~/root/lib/server/helpers/yup'; import { FormEventHandler, ReactNode, @@ -12,26 +7,31 @@ import { useRef, useState, } from 'react'; -import { - IMSvTemplate, - IMSvTemplates, -} from '~/console/server/gql/queries/managed-templates-queries'; -import { Switch } from '~/components/atoms/switch'; +import { toast } from 'react-toastify'; import { NumberInput, TextInput } from '~/components/atoms/input'; -import { handleError } from '~/root/lib/utils/common'; +import Select from '~/components/atoms/select'; +import { Switch } from '~/components/atoms/switch'; import { titleCase } from '~/components/utils'; -import { flatMapValidations, flatM } from '~/console/utils/commons'; +import { + BottomNavigation, + ReviewComponent, +} from '~/console/components/commons'; import MultiStepProgress, { useMultiStepProgress, } from '~/console/components/multi-step-progress'; import MultiStepProgressWrapper from '~/console/components/multi-step-progress-wrapper'; +import { NameIdView } from '~/console/components/name-id-view'; +import { useConsoleApi } from '~/console/server/gql/api-provider'; import { - BottomNavigation, - ReviewComponent, -} from '~/console/components/commons'; + IMSvTemplate, + IMSvTemplates, +} from '~/console/server/gql/queries/managed-templates-queries'; import { parseName, parseNodes } from '~/console/server/r-utils/common'; import { keyconstants } from '~/console/server/r-utils/key-constants'; -import { toast } from 'react-toastify'; +import { flatM, flatMapValidations } from '~/console/utils/commons'; +import useForm, { dummyEvent } from '~/root/lib/client/hooks/use-form'; +import Yup from '~/root/lib/server/helpers/yup'; +import { handleError } from '~/root/lib/utils/common'; import { IAccountContext } from '../_layout'; const valueRender = ({ label, icon }: { label: string; icon: string }) => { @@ -75,8 +75,8 @@ const RenderField = ({ dummyEvent( `${parseFloat(target.value) * (field.multiplier || 1)}${ field.unit - }`, - ), + }` + ) ); }} suffix={field.displayUnit} @@ -117,16 +117,16 @@ const RenderField = ({ dummyEvent( `${parseFloat(target.value) * (field.multiplier || 1)}${ field.unit - }`, - ), + }` + ) ); if (qos) { onChange(`res.${field.name}.max`)( dummyEvent( `${parseFloat(target.value) * (field.multiplier || 1)}${ field.unit - }`, - ), + }` + ) ); } }} @@ -146,8 +146,8 @@ const RenderField = ({ dummyEvent( `${parseFloat(target.value) * (field.multiplier || 1)}${ field.unit - }`, - ), + }` + ) ); }} suffix={field.displayUnit} @@ -387,7 +387,7 @@ const ReviewView = ({ }) => { const renderFieldView = () => { const fields = Object.entries(values.res).filter( - ([k, _v]) => !['resources'].includes(k), + ([k, _v]) => !['resources'].includes(k) ); if (fields.length > 0) { return ( @@ -563,7 +563,7 @@ const ManagedServiceLayout = () => { useEffect(() => { getClusters(); - }, []); + }, [clusterList]); const { values, errors, handleSubmit, handleChange, isLoading, setValues } = useForm({ @@ -588,7 +588,7 @@ const ManagedServiceLayout = () => { 'Cluster name is required', (v) => { return !(currentStep === 2 && !v); - }, + } ), selectedTemplate: Yup.object({}).required('Template is required.'), // @ts-ignore @@ -608,9 +608,9 @@ const ManagedServiceLayout = () => { (acc: any, curr: any) => { return { ...acc, [curr.name]: curr }; }, - {}, - ), - ), + {} + ) + ) ); } @@ -693,7 +693,7 @@ const ManagedServiceLayout = () => { ...flatM( selectedTemplate?.template?.fields.reduce((acc, curr) => { return { ...acc, [curr.name]: curr }; - }, {}), + }, {}) ), }, })); @@ -701,12 +701,13 @@ const ManagedServiceLayout = () => { }, [values.selectedTemplate]); useEffect(() => { - if (clusterList.length > 0) { - setValues((v) => ({ - ...v, - clusterName: clusterList.find((c) => c.ready)?.value || '', - })); - } + setValues((v) => ({ + ...v, + clusterName: + clusterList.length > 0 + ? clusterList.find((c) => c.ready)?.value || '' + : '', + })); }, [clusterList]); return ( diff --git a/src/apps/console/server/gql/queries/environment-queries.ts b/src/apps/console/server/gql/queries/environment-queries.ts index 78a8b38d1..481aeb903 100644 --- a/src/apps/console/server/gql/queries/environment-queries.ts +++ b/src/apps/console/server/gql/queries/environment-queries.ts @@ -2,18 +2,18 @@ import gql from 'graphql-tag'; import { IExecutor } from '~/root/lib/server/helpers/execute-query-with-context'; import { NN } from '~/root/lib/types/common'; import { + ConsoleCloneEnvironmentMutation, + ConsoleCloneEnvironmentMutationVariables, ConsoleCreateEnvironmentMutation, ConsoleCreateEnvironmentMutationVariables, + ConsoleDeleteEnvironmentMutation, + ConsoleDeleteEnvironmentMutationVariables, ConsoleGetEnvironmentQuery, ConsoleGetEnvironmentQueryVariables, ConsoleListEnvironmentsQuery, ConsoleListEnvironmentsQueryVariables, ConsoleUpdateEnvironmentMutation, ConsoleUpdateEnvironmentMutationVariables, - ConsoleDeleteEnvironmentMutation, - ConsoleDeleteEnvironmentMutationVariables, - ConsoleCloneEnvironmentMutation, - ConsoleCloneEnvironmentMutationVariables, } from '~/root/src/generated/gql/server'; export type IEnvironment = NN< diff --git a/src/apps/console/server/utils/auth-utils.ts b/src/apps/console/server/utils/auth-utils.ts index ee40f3250..bc4a4f33a 100644 --- a/src/apps/console/server/utils/auth-utils.ts +++ b/src/apps/console/server/utils/auth-utils.ts @@ -1,6 +1,6 @@ -import { minimalAuth } from '~/root/lib/server/helpers/minimal-auth'; import { redirect } from 'react-router-dom'; import { getCookie } from '~/root/lib/app-setup/cookies'; +import { minimalAuth } from '~/root/lib/server/helpers/minimal-auth'; import { IExtRemixCtx, IRemixCtx, MapType } from '~/root/lib/types/common'; import { GQLServerHandler } from '../gql/saved-queries'; diff --git a/src/generated/gql/server.ts b/src/generated/gql/server.ts index 80e2ee474..dd36c5a82 100644 --- a/src/generated/gql/server.ts +++ b/src/generated/gql/server.ts @@ -1,23 +1,36 @@ export type Maybe = T; export type InputMaybe = T; -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 }; +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< + T extends { [key: string]: unknown }, + K extends keyof T +> = { [_ 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; } - Date: { input: any; output: any; } - Map: { input: any; output: any; } - Json: { input: any; output: any; } - ProviderDetail: { input: any; output: any; } - Any: { input: any; output: any; } - URL: { input: any; output: any; } + 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 }; + Date: { input: any; output: any }; + Map: { input: any; output: any }; + Json: { input: any; output: any }; + ProviderDetail: { input: any; output: any }; + Any: { input: any; output: any }; + URL: { input: any; output: any }; }; export type Github__Com___Kloudlite___Api___Apps___Iam___Types__Role = @@ -37,13 +50,10 @@ export type CursorPaginationIn = { sortDirection?: InputMaybe; }; -export type CursorPaginationSortDirection = - | 'ASC' - | 'DESC'; +export type CursorPaginationSortDirection = 'ASC' | 'DESC'; export type Github__Com___Kloudlite___Api___Apps___Comms___Types__NotificationType = - | 'alert' - | 'notification'; + 'alert' | 'notification'; export type ConsoleResType = | 'app' @@ -70,37 +80,23 @@ export type Github__Com___Kloudlite___Api___Pkg___Types__SyncState = | 'UPDATED_AT_AGENT'; export type Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GitProvider = - | 'github' - | 'gitlab'; + 'github' | 'gitlab'; export type Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__BuildStatus = - | 'error' - | 'failed' - | 'idle' - | 'pending' - | 'queued' - | 'running' - | 'success'; + 'error' | 'failed' | 'idle' | 'pending' | 'queued' | 'running' | 'success'; export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret = - | 'config' - | 'pvc' - | 'secret'; + 'config' | 'pvc' | 'secret'; export type K8s__Io___Api___Core___V1__TaintEffect = | 'NoExecute' | 'NoSchedule' | 'PreferNoSchedule'; -export type K8s__Io___Api___Core___V1__TolerationOperator = - | 'Equal' - | 'Exists'; +export type K8s__Io___Api___Core___V1__TolerationOperator = 'Equal' | 'Exists'; export type K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorOperator = - | 'DoesNotExist' - | 'Exists' - | 'In' - | 'NotIn'; + 'DoesNotExist' | 'Exists' | 'In' | 'NotIn'; export type K8s__Io___Api___Core___V1__UnsatisfiableConstraintAction = | 'DoNotSchedule' @@ -112,16 +108,13 @@ export type ConfigKeyRefIn = { }; export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvironmentRoutingMode = - | 'private' - | 'public'; + 'private' | 'public'; export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ExternalAppRecordType = - | 'CNAME' - | 'IPAddr'; + 'CNAME' | 'IPAddr'; export type Github__Com___Kloudlite___Api___Apps___Console___Internal___Entities__PullSecretFormat = - | 'dockerConfigJson' - | 'params'; + 'dockerConfigJson' | 'params'; export type ManagedResourceKeyRefIn = { key: Scalars['String']['input']; @@ -139,17 +132,18 @@ export type K8s__Io___Api___Core___V1__SecretType = | 'Opaque'; export type Github__Com___Kloudlite___Api___Apps___Console___Internal___Entities__ResourceType = - | 'app' - | 'cluster_managed_service' - | 'config' - | 'environment' - | 'external_app' - | 'image_pull_secret' - | 'imported_managed_resource' - | 'managed_resource' - | 'router' - | 'secret' - | 'service_binding'; + + | 'app' + | 'cluster_managed_service' + | 'config' + | 'environment' + | 'external_app' + | 'image_pull_secret' + | 'imported_managed_resource' + | 'managed_resource' + | 'router' + | 'secret' + | 'service_binding'; export type SecretKeyRefIn = { key: Scalars['String']['input']; @@ -240,15 +234,10 @@ export type SearchCreds = { }; export type Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__RepoAccess = - | 'read' - | 'read_write'; + 'read' | 'read_write'; export type Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__ExpirationUnit = - | 'd' - | 'h' - | 'm' - | 'w' - | 'y'; + 'd' | 'h' | 'm' | 'w' | 'y'; export type SearchRepos = { text?: InputMaybe; @@ -269,22 +258,16 @@ export type ResType = | 'providersecret'; export type Github__Com___Kloudlite___Api___Apps___Infra___Internal___Entities__ClusterVisibilityMode = - | 'private' - | 'public'; + 'private' | 'public'; export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecAvailabilityMode = - | 'dev' - | 'HA'; + 'dev' | 'HA'; export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsAuthMechanism = - | 'assume_role' - | 'secret_keys'; + 'assume_role' | 'secret_keys'; export type Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider = - | 'aws' - | 'azure' - | 'digitalocean' - | 'gcp'; + 'aws' | 'azure' | 'digitalocean' | 'gcp'; export type K8s__Io___Api___Core___V1__NodeSelectorOperator = | 'DoesNotExist' @@ -311,12 +294,10 @@ export type K8s__Io___Api___Core___V1__NamespacePhase = | 'Terminating'; export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsPoolType = - | 'ec2' - | 'spot'; + 'ec2' | 'spot'; export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__GcpPoolType = - | 'SPOT' - | 'STANDARD'; + 'SPOT' | 'STANDARD'; export type K8s__Io___Api___Core___V1__PersistentVolumeReclaimPolicy = | 'Delete' @@ -396,8 +377,7 @@ export type SearchVolumeAttachments = { }; export type Github__Com___Kloudlite___Api___Apps___Iot____Console___Internal___Entities__BluePrintType = - | 'group_blueprint' - | 'singleton_blueprint'; + 'group_blueprint' | 'singleton_blueprint'; export type SearchIotApps = { isReady?: InputMaybe; @@ -458,26 +438,30 @@ export type NotificationConfIn = { webhook?: InputMaybe; }; -export type Github__Com___Kloudlite___Api___Apps___Comms___Internal___Domain___Entities__EmailIn = { - enabled: Scalars['Boolean']['input']; - mailAddress: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Api___Apps___Comms___Internal___Domain___Entities__EmailIn = + { + enabled: Scalars['Boolean']['input']; + mailAddress: Scalars['String']['input']; + }; -export type Github__Com___Kloudlite___Api___Apps___Comms___Internal___Domain___Entities__SlackIn = { - enabled: Scalars['Boolean']['input']; - url: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Api___Apps___Comms___Internal___Domain___Entities__SlackIn = + { + enabled: Scalars['Boolean']['input']; + url: Scalars['String']['input']; + }; -export type Github__Com___Kloudlite___Api___Apps___Comms___Internal___Domain___Entities__TelegramIn = { - chatId: Scalars['String']['input']; - enabled: Scalars['Boolean']['input']; - token: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Api___Apps___Comms___Internal___Domain___Entities__TelegramIn = + { + chatId: Scalars['String']['input']; + enabled: Scalars['Boolean']['input']; + token: Scalars['String']['input']; + }; -export type Github__Com___Kloudlite___Api___Apps___Comms___Internal___Domain___Entities__WebhookIn = { - enabled: Scalars['Boolean']['input']; - url: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Api___Apps___Comms___Internal___Domain___Entities__WebhookIn = + { + enabled: Scalars['Boolean']['input']; + url: Scalars['String']['input']; + }; export type SubscriptionIn = { enabled: Scalars['Boolean']['input']; @@ -505,34 +489,46 @@ export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__AppSpecIn = { replicas?: InputMaybe; router?: InputMaybe; serviceAccount?: InputMaybe; - services?: InputMaybe>; + services?: InputMaybe< + Array + >; tolerations?: InputMaybe>; - topologySpreadConstraints?: InputMaybe>; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__AppContainerIn = { - args?: InputMaybe>; - command?: InputMaybe>; - env?: InputMaybe>; - envFrom?: InputMaybe>; - image: Scalars['String']['input']; - imagePullPolicy?: InputMaybe; - livenessProbe?: InputMaybe; - name: Scalars['String']['input']; - readinessProbe?: InputMaybe; - resourceCpu?: InputMaybe; - resourceMemory?: InputMaybe; - volumes?: InputMaybe>; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ContainerEnvIn = { - key: Scalars['String']['input']; - optional?: InputMaybe; - refKey?: InputMaybe; - refName?: InputMaybe; - type?: InputMaybe; - value?: InputMaybe; -}; + topologySpreadConstraints?: InputMaybe< + Array + >; +}; + +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__AppContainerIn = + { + args?: InputMaybe>; + command?: InputMaybe>; + env?: InputMaybe< + Array + >; + envFrom?: InputMaybe< + Array + >; + image: Scalars['String']['input']; + imagePullPolicy?: InputMaybe; + livenessProbe?: InputMaybe; + name: Scalars['String']['input']; + readinessProbe?: InputMaybe; + resourceCpu?: InputMaybe; + resourceMemory?: InputMaybe; + volumes?: InputMaybe< + Array + >; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ContainerEnvIn = + { + key: Scalars['String']['input']; + optional?: InputMaybe; + refKey?: InputMaybe; + refName?: InputMaybe; + type?: InputMaybe; + value?: InputMaybe; + }; export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvFromIn = { refName: Scalars['String']['input']; @@ -549,36 +545,44 @@ export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ProbeIn = { type: Scalars['String']['input']; }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__HttpGetProbeIn = { - httpHeaders?: InputMaybe; - path: Scalars['String']['input']; - port: Scalars['Int']['input']; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ShellProbeIn = { - command?: InputMaybe>; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__TcpProbeIn = { - port: Scalars['Int']['input']; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ContainerResourceIn = { - max?: InputMaybe; - min?: InputMaybe; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ContainerVolumeIn = { - items?: InputMaybe>; - mountPath: Scalars['String']['input']; - refName: Scalars['String']['input']; - type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ContainerVolumeItemIn = { - fileName?: InputMaybe; - key: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__HttpGetProbeIn = + { + httpHeaders?: InputMaybe; + path: Scalars['String']['input']; + port: Scalars['Int']['input']; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ShellProbeIn = + { + command?: InputMaybe>; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__TcpProbeIn = + { + port: Scalars['Int']['input']; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ContainerResourceIn = + { + max?: InputMaybe; + min?: InputMaybe; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ContainerVolumeIn = + { + items?: InputMaybe< + Array + >; + mountPath: Scalars['String']['input']; + refName: Scalars['String']['input']; + type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ContainerVolumeItemIn = + { + fileName?: InputMaybe; + key: Scalars['String']['input']; + }; export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__HpaIn = { enabled: Scalars['Boolean']['input']; @@ -588,34 +592,42 @@ export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__HpaIn = { thresholdMemory?: InputMaybe; }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__InterceptIn = { - enabled: Scalars['Boolean']['input']; - portMappings?: InputMaybe>; - toDevice: Scalars['String']['input']; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__AppInterceptPortMappingsIn = { - appPort: Scalars['Int']['input']; - devicePort: Scalars['Int']['input']; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__AppRouterIn = { - backendProtocol?: InputMaybe; - basicAuth?: InputMaybe; - cors?: InputMaybe; - domains: Array; - https?: InputMaybe; - ingressClass?: InputMaybe; - maxBodySizeInMB?: InputMaybe; - rateLimit?: InputMaybe; - routes?: InputMaybe>; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__BasicAuthIn = { - enabled: Scalars['Boolean']['input']; - secretName?: InputMaybe; - username?: InputMaybe; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__InterceptIn = + { + enabled: Scalars['Boolean']['input']; + portMappings?: InputMaybe< + Array + >; + toDevice: Scalars['String']['input']; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__AppInterceptPortMappingsIn = + { + appPort: Scalars['Int']['input']; + devicePort: Scalars['Int']['input']; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__AppRouterIn = + { + backendProtocol?: InputMaybe; + basicAuth?: InputMaybe; + cors?: InputMaybe; + domains: Array; + https?: InputMaybe; + ingressClass?: InputMaybe; + maxBodySizeInMB?: InputMaybe; + rateLimit?: InputMaybe; + routes?: InputMaybe< + Array + >; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__BasicAuthIn = + { + enabled: Scalars['Boolean']['input']; + secretName?: InputMaybe; + username?: InputMaybe; + }; export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__CorsIn = { allowCredentials?: InputMaybe; @@ -629,12 +641,13 @@ export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__HttpsIn = { forceRedirect?: InputMaybe; }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__RateLimitIn = { - connections?: InputMaybe; - enabled?: InputMaybe; - rpm?: InputMaybe; - rps?: InputMaybe; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__RateLimitIn = + { + connections?: InputMaybe; + enabled?: InputMaybe; + rpm?: InputMaybe; + rps?: InputMaybe; + }; export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__RouteIn = { app: Scalars['String']['input']; @@ -668,15 +681,18 @@ export type K8s__Io___Api___Core___V1__TopologySpreadConstraintIn = { }; export type K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorIn = { - matchExpressions?: InputMaybe>; + matchExpressions?: InputMaybe< + Array + >; matchLabels?: InputMaybe; }; -export type K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorRequirementIn = { - key: Scalars['String']['input']; - operator: K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorOperator; - values?: InputMaybe>; -}; +export type K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorRequirementIn = + { + key: Scalars['String']['input']; + operator: K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorOperator; + values?: InputMaybe>; + }; export type ConfigIn = { apiVersion?: InputMaybe; @@ -697,14 +713,16 @@ export type EnvironmentIn = { spec?: InputMaybe; }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvironmentSpecIn = { - routing?: InputMaybe; - targetNamespace?: InputMaybe; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvironmentSpecIn = + { + routing?: InputMaybe; + targetNamespace?: InputMaybe; + }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvironmentRoutingIn = { - mode?: InputMaybe; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvironmentRoutingIn = + { + mode?: InputMaybe; + }; export type ExternalAppIn = { apiVersion?: InputMaybe; @@ -715,20 +733,25 @@ export type ExternalAppIn = { status?: InputMaybe; }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ExternalAppSpecIn = { - intercept?: InputMaybe; - record: Scalars['String']['input']; - recordType: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ExternalAppRecordType; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ExternalAppSpecIn = + { + intercept?: InputMaybe; + record: Scalars['String']['input']; + recordType: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ExternalAppRecordType; + }; export type Github__Com___Kloudlite___Operator___Pkg___Operator__StatusIn = { - checkList?: InputMaybe>; + checkList?: InputMaybe< + Array + >; checks?: InputMaybe; isReady: Scalars['Boolean']['input']; lastReadyGeneration?: InputMaybe; lastReconcileTime?: InputMaybe; message?: InputMaybe; - resources?: InputMaybe>; + resources?: InputMaybe< + Array + >; }; export type Github__Com___Kloudlite___Operator___Pkg___Operator__CheckMetaIn = { @@ -739,16 +762,18 @@ export type Github__Com___Kloudlite___Operator___Pkg___Operator__CheckMetaIn = { title: Scalars['String']['input']; }; -export type Github__Com___Kloudlite___Operator___Pkg___Raw____Json__RawJsonIn = { - RawMessage?: InputMaybe; -}; +export type Github__Com___Kloudlite___Operator___Pkg___Raw____Json__RawJsonIn = + { + RawMessage?: InputMaybe; + }; -export type Github__Com___Kloudlite___Operator___Pkg___Operator__ResourceRefIn = { - apiVersion: Scalars['String']['input']; - kind: Scalars['String']['input']; - name: Scalars['String']['input']; - namespace: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Operator___Pkg___Operator__ResourceRefIn = + { + apiVersion: Scalars['String']['input']; + kind: Scalars['String']['input']; + name: Scalars['String']['input']; + namespace: Scalars['String']['input']; + }; export type ImagePullSecretIn = { displayName: Scalars['String']['input']; @@ -770,24 +795,27 @@ export type ManagedResourceIn = { spec: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ManagedResourceSpecIn; }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ManagedResourceSpecIn = { - resourceNamePrefix?: InputMaybe; - resourceTemplate: Github__Com___Kloudlite___Operator___Apis___Crds___V1__MresResourceTemplateIn; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__MresResourceTemplateIn = { - apiVersion: Scalars['String']['input']; - kind: Scalars['String']['input']; - msvcRef: Github__Com___Kloudlite___Operator___Apis___Common____Types__MsvcRefIn; - spec?: InputMaybe; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Common____Types__MsvcRefIn = { - apiVersion?: InputMaybe; - kind?: InputMaybe; - name: Scalars['String']['input']; - namespace: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ManagedResourceSpecIn = + { + resourceNamePrefix?: InputMaybe; + resourceTemplate: Github__Com___Kloudlite___Operator___Apis___Crds___V1__MresResourceTemplateIn; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__MresResourceTemplateIn = + { + apiVersion: Scalars['String']['input']; + kind: Scalars['String']['input']; + msvcRef: Github__Com___Kloudlite___Operator___Apis___Common____Types__MsvcRefIn; + spec?: InputMaybe; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Common____Types__MsvcRefIn = + { + apiVersion?: InputMaybe; + kind?: InputMaybe; + name: Scalars['String']['input']; + namespace: Scalars['String']['input']; + }; export type RouterIn = { apiVersion?: InputMaybe; @@ -798,17 +826,20 @@ export type RouterIn = { spec: Github__Com___Kloudlite___Operator___Apis___Crds___V1__RouterSpecIn; }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__RouterSpecIn = { - backendProtocol?: InputMaybe; - basicAuth?: InputMaybe; - cors?: InputMaybe; - domains: Array; - https?: InputMaybe; - ingressClass?: InputMaybe; - maxBodySizeInMB?: InputMaybe; - rateLimit?: InputMaybe; - routes?: InputMaybe>; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__RouterSpecIn = + { + backendProtocol?: InputMaybe; + basicAuth?: InputMaybe; + cors?: InputMaybe; + domains: Array; + https?: InputMaybe; + ingressClass?: InputMaybe; + maxBodySizeInMB?: InputMaybe; + rateLimit?: InputMaybe; + routes?: InputMaybe< + Array + >; + }; export type SecretIn = { apiVersion?: InputMaybe; @@ -828,46 +859,55 @@ export type BuildIn = { spec: Github__Com___Kloudlite___Operator___Apis___Distribution___V1__BuildRunSpecIn; }; -export type Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GitSourceIn = { - branch: Scalars['String']['input']; - provider: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GitProvider; - repository: Scalars['String']['input']; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__BuildRunSpecIn = { - buildOptions?: InputMaybe; - caches?: InputMaybe>; - registry: Github__Com___Kloudlite___Operator___Apis___Distribution___V1__RegistryIn; - resource: Github__Com___Kloudlite___Operator___Apis___Distribution___V1__ResourceIn; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__BuildOptionsIn = { - buildArgs?: InputMaybe; - buildContexts?: InputMaybe; - contextDir?: InputMaybe; - dockerfileContent?: InputMaybe; - dockerfilePath?: InputMaybe; - targetPlatforms?: InputMaybe>; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__CacheIn = { - name: Scalars['String']['input']; - path: Scalars['String']['input']; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__RegistryIn = { - repo: Github__Com___Kloudlite___Operator___Apis___Distribution___V1__RepoIn; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__RepoIn = { - name: Scalars['String']['input']; - tags: Array; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__ResourceIn = { - cpu: Scalars['Int']['input']; - memoryInMb: Scalars['Int']['input']; -}; +export type Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GitSourceIn = + { + branch: Scalars['String']['input']; + provider: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GitProvider; + repository: Scalars['String']['input']; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__BuildRunSpecIn = + { + buildOptions?: InputMaybe; + caches?: InputMaybe< + Array + >; + registry: Github__Com___Kloudlite___Operator___Apis___Distribution___V1__RegistryIn; + resource: Github__Com___Kloudlite___Operator___Apis___Distribution___V1__ResourceIn; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__BuildOptionsIn = + { + buildArgs?: InputMaybe; + buildContexts?: InputMaybe; + contextDir?: InputMaybe; + dockerfileContent?: InputMaybe; + dockerfilePath?: InputMaybe; + targetPlatforms?: InputMaybe>; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__CacheIn = + { + name: Scalars['String']['input']; + path: Scalars['String']['input']; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__RegistryIn = + { + repo: Github__Com___Kloudlite___Operator___Apis___Distribution___V1__RepoIn; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__RepoIn = + { + name: Scalars['String']['input']; + tags: Array; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Distribution___V1__ResourceIn = + { + cpu: Scalars['Int']['input']; + memoryInMb: Scalars['Int']['input']; + }; export type CredentialIn = { access: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__RepoAccess; @@ -876,10 +916,11 @@ export type CredentialIn = { username: Scalars['String']['input']; }; -export type Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__ExpirationIn = { - unit: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__ExpirationUnit; - value: Scalars['Int']['input']; -}; +export type Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__ExpirationIn = + { + unit: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__ExpirationUnit; + value: Scalars['Int']['input']; + }; export type RepositoryIn = { name: Scalars['String']['input']; @@ -891,9 +932,10 @@ export type ByokClusterIn = { visibility: Github__Com___Kloudlite___Api___Apps___Infra___Internal___Entities__ClusterVisbilityIn; }; -export type Github__Com___Kloudlite___Api___Apps___Infra___Internal___Entities__ClusterVisbilityIn = { - mode: Github__Com___Kloudlite___Api___Apps___Infra___Internal___Entities__ClusterVisibilityMode; -}; +export type Github__Com___Kloudlite___Api___Apps___Infra___Internal___Entities__ClusterVisbilityIn = + { + mode: Github__Com___Kloudlite___Api___Apps___Infra___Internal___Entities__ClusterVisibilityMode; + }; export type ClusterIn = { apiVersion?: InputMaybe; @@ -904,39 +946,45 @@ export type ClusterIn = { spec: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecIn; }; -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecIn = { - availabilityMode: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecAvailabilityMode; - aws?: InputMaybe; - cloudflareEnabled?: InputMaybe; - cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider; - gcp?: InputMaybe; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsClusterConfigIn = { - credentials: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsCredentialsIn; - k3sMasters?: InputMaybe; - region: Scalars['String']['input']; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsCredentialsIn = { - authMechanism: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsAuthMechanism; - secretRef: Github__Com___Kloudlite___Operator___Apis___Common____Types__SecretRefIn; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Common____Types__SecretRefIn = { - name: Scalars['String']['input']; - namespace?: InputMaybe; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__Awsk3sMastersConfigIn = { - instanceType: Scalars['String']['input']; - nvidiaGpuEnabled: Scalars['Boolean']['input']; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__GcpClusterConfigIn = { - credentialsRef: Github__Com___Kloudlite___Operator___Apis___Common____Types__SecretRefIn; - region: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecIn = + { + availabilityMode: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecAvailabilityMode; + aws?: InputMaybe; + cloudflareEnabled?: InputMaybe; + cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider; + gcp?: InputMaybe; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsClusterConfigIn = + { + credentials: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsCredentialsIn; + k3sMasters?: InputMaybe; + region: Scalars['String']['input']; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsCredentialsIn = + { + authMechanism: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsAuthMechanism; + secretRef: Github__Com___Kloudlite___Operator___Apis___Common____Types__SecretRefIn; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Common____Types__SecretRefIn = + { + name: Scalars['String']['input']; + namespace?: InputMaybe; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__Awsk3sMastersConfigIn = + { + instanceType: Scalars['String']['input']; + nvidiaGpuEnabled: Scalars['Boolean']['input']; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__GcpClusterConfigIn = + { + credentialsRef: Github__Com___Kloudlite___Operator___Apis___Common____Types__SecretRefIn; + region: Scalars['String']['input']; + }; export type ClusterManagedServiceIn = { apiVersion?: InputMaybe; @@ -947,21 +995,24 @@ export type ClusterManagedServiceIn = { spec?: InputMaybe; }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ClusterManagedServiceSpecIn = { - msvcSpec: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ManagedServiceSpecIn; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ClusterManagedServiceSpecIn = + { + msvcSpec: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ManagedServiceSpecIn; + }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ManagedServiceSpecIn = { - nodeSelector?: InputMaybe; - serviceTemplate: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ServiceTemplateIn; - tolerations?: InputMaybe>; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ManagedServiceSpecIn = + { + nodeSelector?: InputMaybe; + serviceTemplate: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ServiceTemplateIn; + tolerations?: InputMaybe>; + }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ServiceTemplateIn = { - apiVersion: Scalars['String']['input']; - kind: Scalars['String']['input']; - spec?: InputMaybe; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__ServiceTemplateIn = + { + apiVersion: Scalars['String']['input']; + kind: Scalars['String']['input']; + spec?: InputMaybe; + }; export type DomainEntryIn = { clusterName: Scalars['String']['input']; @@ -996,17 +1047,18 @@ export type HelmReleaseIn = { spec?: InputMaybe; }; -export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__HelmChartSpecIn = { - chartName: Scalars['String']['input']; - chartRepoURL: Scalars['String']['input']; - chartVersion: Scalars['String']['input']; - jobVars?: InputMaybe; - postInstall?: InputMaybe; - postUninstall?: InputMaybe; - preInstall?: InputMaybe; - preUninstall?: InputMaybe; - values: Scalars['Map']['input']; -}; +export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__HelmChartSpecIn = + { + chartName: Scalars['String']['input']; + chartRepoURL: Scalars['String']['input']; + chartVersion: Scalars['String']['input']; + jobVars?: InputMaybe; + postInstall?: InputMaybe; + postUninstall?: InputMaybe; + preInstall?: InputMaybe; + preUninstall?: InputMaybe; + values: Scalars['Map']['input']; + }; export type Github__Com___Kloudlite___Operator___Apis___Crds___V1__JobVarsIn = { affinity?: InputMaybe; @@ -1022,7 +1074,9 @@ export type K8s__Io___Api___Core___V1__AffinityIn = { }; export type K8s__Io___Api___Core___V1__NodeAffinityIn = { - preferredDuringSchedulingIgnoredDuringExecution?: InputMaybe>; + preferredDuringSchedulingIgnoredDuringExecution?: InputMaybe< + Array + >; requiredDuringSchedulingIgnoredDuringExecution?: InputMaybe; }; @@ -1032,8 +1086,12 @@ export type K8s__Io___Api___Core___V1__PreferredSchedulingTermIn = { }; export type K8s__Io___Api___Core___V1__NodeSelectorTermIn = { - matchExpressions?: InputMaybe>; - matchFields?: InputMaybe>; + matchExpressions?: InputMaybe< + Array + >; + matchFields?: InputMaybe< + Array + >; }; export type K8s__Io___Api___Core___V1__NodeSelectorRequirementIn = { @@ -1047,8 +1105,12 @@ export type K8s__Io___Api___Core___V1__NodeSelectorIn = { }; export type K8s__Io___Api___Core___V1__PodAffinityIn = { - preferredDuringSchedulingIgnoredDuringExecution?: InputMaybe>; - requiredDuringSchedulingIgnoredDuringExecution?: InputMaybe>; + preferredDuringSchedulingIgnoredDuringExecution?: InputMaybe< + Array + >; + requiredDuringSchedulingIgnoredDuringExecution?: InputMaybe< + Array + >; }; export type K8s__Io___Api___Core___V1__WeightedPodAffinityTermIn = { @@ -1064,8 +1126,12 @@ export type K8s__Io___Api___Core___V1__PodAffinityTermIn = { }; export type K8s__Io___Api___Core___V1__PodAntiAffinityIn = { - preferredDuringSchedulingIgnoredDuringExecution?: InputMaybe>; - requiredDuringSchedulingIgnoredDuringExecution?: InputMaybe>; + preferredDuringSchedulingIgnoredDuringExecution?: InputMaybe< + Array + >; + requiredDuringSchedulingIgnoredDuringExecution?: InputMaybe< + Array + >; }; export type NodePoolIn = { @@ -1076,54 +1142,62 @@ export type NodePoolIn = { spec: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__NodePoolSpecIn; }; -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__NodePoolSpecIn = { - aws?: InputMaybe; - cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider; - gcp?: InputMaybe; - maxCount: Scalars['Int']['input']; - minCount: Scalars['Int']['input']; - nodeLabels?: InputMaybe; - nodeTaints?: InputMaybe>; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsNodePoolConfigIn = { - availabilityZone: Scalars['String']['input']; - ec2Pool?: InputMaybe; - nvidiaGpuEnabled: Scalars['Boolean']['input']; - poolType: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsPoolType; - spotPool?: InputMaybe; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsEc2PoolConfigIn = { - instanceType: Scalars['String']['input']; - nodes?: InputMaybe; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsSpotPoolConfigIn = { - cpuNode?: InputMaybe; - gpuNode?: InputMaybe; - nodes?: InputMaybe; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsSpotCpuNodeIn = { - memoryPerVcpu?: InputMaybe; - vcpu: Github__Com___Kloudlite___Operator___Apis___Common____Types__MinMaxFloatIn; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Common____Types__MinMaxFloatIn = { - max: Scalars['String']['input']; - min: Scalars['String']['input']; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsSpotGpuNodeIn = { - instanceTypes: Array; -}; - -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__GcpNodePoolConfigIn = { - availabilityZone: Scalars['String']['input']; - machineType: Scalars['String']['input']; - poolType: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__GcpPoolType; -}; +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__NodePoolSpecIn = + { + aws?: InputMaybe; + cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider; + gcp?: InputMaybe; + maxCount: Scalars['Int']['input']; + minCount: Scalars['Int']['input']; + nodeLabels?: InputMaybe; + nodeTaints?: InputMaybe>; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsNodePoolConfigIn = + { + availabilityZone: Scalars['String']['input']; + ec2Pool?: InputMaybe; + nvidiaGpuEnabled: Scalars['Boolean']['input']; + poolType: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsPoolType; + spotPool?: InputMaybe; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsEc2PoolConfigIn = + { + instanceType: Scalars['String']['input']; + nodes?: InputMaybe; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsSpotPoolConfigIn = + { + cpuNode?: InputMaybe; + gpuNode?: InputMaybe; + nodes?: InputMaybe; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsSpotCpuNodeIn = + { + memoryPerVcpu?: InputMaybe; + vcpu: Github__Com___Kloudlite___Operator___Apis___Common____Types__MinMaxFloatIn; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Common____Types__MinMaxFloatIn = + { + max: Scalars['String']['input']; + min: Scalars['String']['input']; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsSpotGpuNodeIn = + { + instanceTypes: Array; + }; + +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__GcpNodePoolConfigIn = + { + availabilityZone: Scalars['String']['input']; + machineType: Scalars['String']['input']; + poolType: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__GcpPoolType; + }; export type K8s__Io___Api___Core___V1__TaintIn = { effect: K8s__Io___Api___Core___V1__TaintEffect; @@ -1140,24 +1214,28 @@ export type CloudProviderSecretIn = { metadata: MetadataIn; }; -export type Github__Com___Kloudlite___Api___Apps___Infra___Internal___Entities__AwsSecretCredentialsIn = { - assumeRoleParams?: InputMaybe; - authMechanism: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsAuthMechanism; - authSecretKeys?: InputMaybe; -}; +export type Github__Com___Kloudlite___Api___Apps___Infra___Internal___Entities__AwsSecretCredentialsIn = + { + assumeRoleParams?: InputMaybe; + authMechanism: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsAuthMechanism; + authSecretKeys?: InputMaybe; + }; -export type Github__Com___Kloudlite___Api___Apps___Infra___Internal___Entities__AwsAssumeRoleParamsIn = { - awsAccountId: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Api___Apps___Infra___Internal___Entities__AwsAssumeRoleParamsIn = + { + awsAccountId: Scalars['String']['input']; + }; -export type Github__Com___Kloudlite___Api___Apps___Infra___Internal___Entities__AwsAuthSecretKeysIn = { - accessKey: Scalars['String']['input']; - secretKey: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Api___Apps___Infra___Internal___Entities__AwsAuthSecretKeysIn = + { + accessKey: Scalars['String']['input']; + secretKey: Scalars['String']['input']; + }; -export type Github__Com___Kloudlite___Api___Apps___Infra___Internal___Entities__GcpSecretCredentialsIn = { - serviceAccountJSON: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Api___Apps___Infra___Internal___Entities__GcpSecretCredentialsIn = + { + serviceAccountJSON: Scalars['String']['input']; + }; export type IotAppIn = { apiVersion?: InputMaybe; @@ -1175,10 +1253,11 @@ export type IotDeploymentIn = { name: Scalars['String']['input']; }; -export type Github__Com___Kloudlite___Api___Apps___Iot____Console___Internal___Entities__ExposedServiceIn = { - ip: Scalars['String']['input']; - name: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Api___Apps___Iot____Console___Internal___Entities__ExposedServiceIn = + { + ip: Scalars['String']['input']; + name: Scalars['String']['input']; + }; export type IotDeviceIn = { displayName: Scalars['String']['input']; @@ -1234,19 +1313,21 @@ export type CoreSearchVpnDevices = { text?: InputMaybe; }; -export type Github__Com___Kloudlite___Api___Apps___Console___Internal___Entities__ManagedResourceRefIn = { - id: Scalars['String']['input']; - name: Scalars['String']['input']; - namespace: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Api___Apps___Console___Internal___Entities__ManagedResourceRefIn = + { + id: Scalars['String']['input']; + name: Scalars['String']['input']; + namespace: Scalars['String']['input']; + }; -export type Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GithubUserAccountIn = { - avatarUrl?: InputMaybe; - id?: InputMaybe; - login?: InputMaybe; - nodeId?: InputMaybe; - type?: InputMaybe; -}; +export type Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GithubUserAccountIn = + { + avatarUrl?: InputMaybe; + id?: InputMaybe; + login?: InputMaybe; + nodeId?: InputMaybe; + type?: InputMaybe; + }; export type Github__Com___Kloudlite___Api___Pkg___Types__SyncStatusIn = { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; @@ -1257,13 +1338,15 @@ export type Github__Com___Kloudlite___Api___Pkg___Types__SyncStatusIn = { syncScheduledAt?: InputMaybe; }; -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__NodePropsIn = { - lastRecreatedAt?: InputMaybe; -}; +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__NodePropsIn = + { + lastRecreatedAt?: InputMaybe; + }; -export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__NodeSpecIn = { - nodepoolName: Scalars['String']['input']; -}; +export type Github__Com___Kloudlite___Operator___Apis___Clusters___V1__NodeSpecIn = + { + nodepoolName: Scalars['String']['input']; + }; export type Github__Com___Kloudlite___Operator___Pkg___Operator__State = | 'errored____during____reconcilation' @@ -1425,7 +1508,9 @@ export type K8s__Io___Api___Core___V1__NamespaceSpecIn = { }; export type K8s__Io___Api___Core___V1__NamespaceStatusIn = { - conditions?: InputMaybe>; + conditions?: InputMaybe< + Array + >; phase?: InputMaybe; }; @@ -1493,7 +1578,9 @@ export type K8s__Io___Api___Core___V1__PersistentVolumeClaimStatusIn = { allocatedResources?: InputMaybe; allocatedResourceStatuses?: InputMaybe; capacity?: InputMaybe; - conditions?: InputMaybe>; + conditions?: InputMaybe< + Array + >; phase?: InputMaybe; }; @@ -1697,15 +1784,23 @@ export type ConsoleAccountCheckNameAvailabilityQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleAccountCheckNameAvailabilityQuery = { accounts_checkNameAvailability: { result: boolean, suggestedNames?: Array } }; +export type ConsoleAccountCheckNameAvailabilityQuery = { + accounts_checkNameAvailability: { + result: boolean; + suggestedNames?: Array; + }; +}; export type ConsoleCrCheckNameAvailabilityQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleCrCheckNameAvailabilityQuery = { cr_checkUserNameAvailability: { result: boolean, suggestedNames?: Array } }; +export type ConsoleCrCheckNameAvailabilityQuery = { + cr_checkUserNameAvailability: { + result: boolean; + suggestedNames?: Array; + }; +}; export type ConsoleInfraCheckNameAvailabilityQueryVariables = Exact<{ resType: ResType; @@ -1713,8 +1808,12 @@ export type ConsoleInfraCheckNameAvailabilityQueryVariables = Exact<{ clusterName?: InputMaybe; }>; - -export type ConsoleInfraCheckNameAvailabilityQuery = { infra_checkNameAvailability: { suggestedNames: Array, result: boolean } }; +export type ConsoleInfraCheckNameAvailabilityQuery = { + infra_checkNameAvailability: { + suggestedNames: Array; + result: boolean; + }; +}; export type ConsoleCoreCheckNameAvailabilityQueryVariables = Exact<{ resType: ConsoleResType; @@ -1723,179 +1822,542 @@ export type ConsoleCoreCheckNameAvailabilityQueryVariables = Exact<{ msvcName?: InputMaybe; }>; +export type ConsoleCoreCheckNameAvailabilityQuery = { + core_checkNameAvailability: { result: boolean }; +}; -export type ConsoleCoreCheckNameAvailabilityQuery = { core_checkNameAvailability: { result: boolean } }; - -export type ConsoleWhoAmIQueryVariables = Exact<{ [key: string]: never; }>; - +export type ConsoleWhoAmIQueryVariables = Exact<{ [key: string]: never }>; -export type ConsoleWhoAmIQuery = { auth_me?: { id: string, email: string, providerGitlab?: any, providerGithub?: any, providerGoogle?: any } }; +export type ConsoleWhoAmIQuery = { + auth_me?: { + id: string; + email: string; + providerGitlab?: any; + providerGithub?: any; + providerGoogle?: any; + }; +}; export type ConsoleCreateAccountMutationVariables = Exact<{ account: AccountIn; }>; +export type ConsoleCreateAccountMutation = { + accounts_createAccount: { displayName: string }; +}; -export type ConsoleCreateAccountMutation = { accounts_createAccount: { displayName: string } }; - -export type ConsoleGetAvailableKloudliteRegionsQueryVariables = Exact<{ [key: string]: never; }>; - - -export type ConsoleGetAvailableKloudliteRegionsQuery = { accounts_availableKloudliteRegions?: Array<{ displayName: string, id: string }> }; +export type ConsoleGetAvailableKloudliteRegionsQueryVariables = Exact<{ + [key: string]: never; +}>; -export type ConsoleListAccountsQueryVariables = Exact<{ [key: string]: never; }>; +export type ConsoleGetAvailableKloudliteRegionsQuery = { + accounts_availableKloudliteRegions?: Array<{ + displayName: string; + id: string; + }>; +}; +export type ConsoleListAccountsQueryVariables = Exact<{ [key: string]: never }>; -export type ConsoleListAccountsQuery = { accounts_listAccounts?: Array<{ id: string, updateTime: any, displayName: string, kloudliteGatewayRegion: string, metadata?: { name: string, annotations?: any } }> }; +export type ConsoleListAccountsQuery = { + accounts_listAccounts?: Array<{ + id: string; + updateTime: any; + displayName: string; + kloudliteGatewayRegion: string; + metadata?: { name: string; annotations?: any }; + }>; +}; export type ConsoleUpdateAccountMutationVariables = Exact<{ account: AccountIn; }>; - -export type ConsoleUpdateAccountMutation = { accounts_updateAccount: { id: string } }; +export type ConsoleUpdateAccountMutation = { + accounts_updateAccount: { id: string }; +}; export type ConsoleGetAccountQueryVariables = Exact<{ accountName: Scalars['String']['input']; }>; - -export type ConsoleGetAccountQuery = { accounts_getAccount?: { targetNamespace?: string, updateTime: any, contactEmail?: string, displayName: string, kloudliteGatewayRegion: string, metadata?: { name: string, annotations?: any } } }; +export type ConsoleGetAccountQuery = { + accounts_getAccount?: { + targetNamespace?: string; + updateTime: any; + contactEmail?: string; + displayName: string; + kloudliteGatewayRegion: string; + metadata?: { name: string; annotations?: any }; + }; +}; export type ConsoleDeleteAccountMutationVariables = Exact<{ accountName: Scalars['String']['input']; }>; - export type ConsoleDeleteAccountMutation = { accounts_deleteAccount: boolean }; -export type ConsoleListDnsHostsQueryVariables = Exact<{ [key: string]: never; }>; +export type ConsoleListDnsHostsQueryVariables = Exact<{ [key: string]: never }>; - -export type ConsoleListDnsHostsQuery = { infra_listClusters?: { edges: Array<{ node: { metadata: { name: string, namespace?: string }, spec: { publicDNSHost: string } } }> } }; +export type ConsoleListDnsHostsQuery = { + infra_listClusters?: { + edges: Array<{ + node: { + metadata: { name: string; namespace?: string }; + spec: { publicDNSHost: string }; + }; + }>; + }; +}; export type ConsoleCreateClusterMutationVariables = Exact<{ cluster: ClusterIn; }>; - -export type ConsoleCreateClusterMutation = { infra_createCluster?: { id: string } }; +export type ConsoleCreateClusterMutation = { + infra_createCluster?: { id: string }; +}; export type ConsoleDeleteClusterMutationVariables = Exact<{ name: Scalars['String']['input']; }>; - export type ConsoleDeleteClusterMutation = { infra_deleteCluster: boolean }; -export type ConsoleClustersCountQueryVariables = Exact<{ [key: string]: never; }>; - +export type ConsoleClustersCountQueryVariables = Exact<{ + [key: string]: never; +}>; -export type ConsoleClustersCountQuery = { infra_listClusters?: { totalCount: number } }; +export type ConsoleClustersCountQuery = { + infra_listClusters?: { totalCount: number }; +}; export type ConsoleListAllClustersQueryVariables = Exact<{ search?: InputMaybe; pagination?: InputMaybe; }>; - -export type ConsoleListAllClustersQuery = { byok_clusters?: { totalCount: number, edges: Array<{ cursor: string, node: { accountName: string, clusterSvcCIDR: string, lastOnlineAt?: any, creationTime: any, displayName: string, globalVPN: string, id: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListAllClustersQuery = { + byok_clusters?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + accountName: string; + clusterSvcCIDR: string; + lastOnlineAt?: any; + creationTime: any; + displayName: string; + globalVPN: string; + id: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleListClustersQueryVariables = Exact<{ search?: InputMaybe; pagination?: InputMaybe; }>; - -export type ConsoleListClustersQuery = { infra_listClusters?: { totalCount: number, pageInfo: { startCursor?: string, hasPrevPage?: boolean, hasNextPage?: boolean, endCursor?: string }, edges: Array<{ cursor: string, node: { id: string, displayName: string, markedForDeletion?: boolean, lastOnlineAt?: any, creationTime: any, updateTime: any, recordVersion: number, metadata: { name: string, annotations?: any, generation: number }, lastUpdatedBy: { userId: string, userName: string, userEmail: string }, createdBy: { userEmail: string, userId: string, userName: string }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ description?: string, debug?: boolean, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any }, spec: { messageQueueTopicName: string, kloudliteRelease: string, accountId: string, accountName: string, availabilityMode: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecAvailabilityMode, cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider, backupToS3Enabled: boolean, cloudflareEnabled?: boolean, clusterInternalDnsHost?: string, publicDNSHost: string, taintMasterNodes: boolean, clusterTokenRef?: { key: string, name: string, namespace?: string }, aws?: { nodePools?: any, region: string, spotNodePools?: any, k3sMasters?: { iamInstanceProfileRole?: string, instanceType: string, nodes?: any, nvidiaGpuEnabled: boolean, rootVolumeSize: number, rootVolumeType: string } }, gcp?: { gcpProjectID: string, region: string, credentialsRef: { name: string, namespace?: string } }, output?: { keyK3sAgentJoinToken: string, keyK3sServerJoinToken: string, keyKubeconfig: string, secretName: string } } } }> } }; +export type ConsoleListClustersQuery = { + infra_listClusters?: { + totalCount: number; + pageInfo: { + startCursor?: string; + hasPrevPage?: boolean; + hasNextPage?: boolean; + endCursor?: string; + }; + edges: Array<{ + cursor: string; + node: { + id: string; + displayName: string; + markedForDeletion?: boolean; + lastOnlineAt?: any; + creationTime: any; + updateTime: any; + recordVersion: number; + metadata: { name: string; annotations?: any; generation: number }; + lastUpdatedBy: { userId: string; userName: string; userEmail: string }; + createdBy: { userEmail: string; userId: string; userName: string }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + description?: string; + debug?: boolean; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + spec: { + messageQueueTopicName: string; + kloudliteRelease: string; + accountId: string; + accountName: string; + availabilityMode: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecAvailabilityMode; + cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider; + backupToS3Enabled: boolean; + cloudflareEnabled?: boolean; + clusterInternalDnsHost?: string; + publicDNSHost: string; + taintMasterNodes: boolean; + clusterTokenRef?: { key: string; name: string; namespace?: string }; + aws?: { + nodePools?: any; + region: string; + spotNodePools?: any; + k3sMasters?: { + iamInstanceProfileRole?: string; + instanceType: string; + nodes?: any; + nvidiaGpuEnabled: boolean; + rootVolumeSize: number; + rootVolumeType: string; + }; + }; + gcp?: { + gcpProjectID: string; + region: string; + credentialsRef: { name: string; namespace?: string }; + }; + output?: { + keyK3sAgentJoinToken: string; + keyK3sServerJoinToken: string; + keyKubeconfig: string; + secretName: string; + }; + }; + }; + }>; + }; +}; export type ConsoleGetClusterQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleGetClusterQuery = { infra_getCluster?: { accountName: string, apiVersion?: string, lastOnlineAt?: any, creationTime: any, displayName: string, id: string, kind?: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec: { accountId: string, accountName: string, availabilityMode: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecAvailabilityMode, backupToS3Enabled: boolean, cloudflareEnabled?: boolean, cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider, clusterInternalDnsHost?: string, kloudliteRelease: string, messageQueueTopicName: string, publicDNSHost: string, taintMasterNodes: boolean, aws?: { nodePools?: any, region: string, spotNodePools?: any, k3sMasters?: { iamInstanceProfileRole?: string, instanceType: string, nodes?: any, nvidiaGpuEnabled: boolean, rootVolumeSize: number, rootVolumeType: string } }, clusterTokenRef?: { key: string, name: string, namespace?: string }, output?: { keyK3sAgentJoinToken: string, keyK3sServerJoinToken: string, keyKubeconfig: string, secretName: string } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ description?: string, debug?: boolean, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { error?: string, lastSyncedAt?: any, recordVersion: number, syncScheduledAt?: any } } }; +export type ConsoleGetClusterQuery = { + infra_getCluster?: { + accountName: string; + apiVersion?: string; + lastOnlineAt?: any; + creationTime: any; + displayName: string; + id: string; + kind?: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec: { + accountId: string; + accountName: string; + availabilityMode: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__ClusterSpecAvailabilityMode; + backupToS3Enabled: boolean; + cloudflareEnabled?: boolean; + cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider; + clusterInternalDnsHost?: string; + kloudliteRelease: string; + messageQueueTopicName: string; + publicDNSHost: string; + taintMasterNodes: boolean; + aws?: { + nodePools?: any; + region: string; + spotNodePools?: any; + k3sMasters?: { + iamInstanceProfileRole?: string; + instanceType: string; + nodes?: any; + nvidiaGpuEnabled: boolean; + rootVolumeSize: number; + rootVolumeType: string; + }; + }; + clusterTokenRef?: { key: string; name: string; namespace?: string }; + output?: { + keyK3sAgentJoinToken: string; + keyK3sServerJoinToken: string; + keyKubeconfig: string; + secretName: string; + }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + description?: string; + debug?: boolean; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + error?: string; + lastSyncedAt?: any; + recordVersion: number; + syncScheduledAt?: any; + }; + }; +}; export type ConsoleGetKubeConfigQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleGetKubeConfigQuery = { infra_getCluster?: { adminKubeconfig?: { encoding: string, value: string } } }; +export type ConsoleGetKubeConfigQuery = { + infra_getCluster?: { adminKubeconfig?: { encoding: string; value: string } }; +}; export type ConsoleUpdateClusterMutationVariables = Exact<{ cluster: ClusterIn; }>; - -export type ConsoleUpdateClusterMutation = { infra_updateCluster?: { id: string } }; +export type ConsoleUpdateClusterMutation = { + infra_updateCluster?: { id: string }; +}; export type ConsoleCheckAwsAccessQueryVariables = Exact<{ cloudproviderName: Scalars['String']['input']; }>; - -export type ConsoleCheckAwsAccessQuery = { infra_checkAwsAccess: { result: boolean, installationUrl?: string } }; +export type ConsoleCheckAwsAccessQuery = { + infra_checkAwsAccess: { result: boolean; installationUrl?: string }; +}; export type ConsoleListProviderSecretsQueryVariables = Exact<{ search?: InputMaybe; pagination?: InputMaybe; }>; - -export type ConsoleListProviderSecretsQuery = { infra_listProviderSecrets?: { totalCount: number, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string }, edges: Array<{ cursor: string, node: { cloudProviderName: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider, creationTime: any, displayName: string, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, aws?: { authMechanism: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsAuthMechanism }, gcp?: { serviceAccountJSON: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata: { namespace?: string, name: string, labels?: any, annotations?: any } } }> } }; +export type ConsoleListProviderSecretsQuery = { + infra_listProviderSecrets?: { + totalCount: number; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + edges: Array<{ + cursor: string; + node: { + cloudProviderName: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider; + creationTime: any; + displayName: string; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + aws?: { + authMechanism: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsAuthMechanism; + }; + gcp?: { serviceAccountJSON: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata: { + namespace?: string; + name: string; + labels?: any; + annotations?: any; + }; + }; + }>; + }; +}; export type ConsoleCreateProviderSecretMutationVariables = Exact<{ secret: CloudProviderSecretIn; }>; - -export type ConsoleCreateProviderSecretMutation = { infra_createProviderSecret?: { metadata: { name: string } } }; +export type ConsoleCreateProviderSecretMutation = { + infra_createProviderSecret?: { metadata: { name: string } }; +}; export type ConsoleUpdateProviderSecretMutationVariables = Exact<{ secret: CloudProviderSecretIn; }>; - -export type ConsoleUpdateProviderSecretMutation = { infra_updateProviderSecret?: { id: string } }; +export type ConsoleUpdateProviderSecretMutation = { + infra_updateProviderSecret?: { id: string }; +}; export type ConsoleDeleteProviderSecretMutationVariables = Exact<{ secretName: Scalars['String']['input']; }>; - -export type ConsoleDeleteProviderSecretMutation = { infra_deleteProviderSecret: boolean }; +export type ConsoleDeleteProviderSecretMutation = { + infra_deleteProviderSecret: boolean; +}; export type ConsoleGetProviderSecretQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleGetProviderSecretQuery = { infra_getProviderSecret?: { cloudProviderName: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider, creationTime: any, displayName: string, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata: { namespace?: string, name: string, labels?: any } } }; +export type ConsoleGetProviderSecretQuery = { + infra_getProviderSecret?: { + cloudProviderName: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider; + creationTime: any; + displayName: string; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata: { namespace?: string; name: string; labels?: any }; + }; +}; export type ConsoleGetNodePoolQueryVariables = Exact<{ clusterName: Scalars['String']['input']; poolName: Scalars['String']['input']; }>; - -export type ConsoleGetNodePoolQuery = { infra_getNodePool?: { id: string, clusterName: string, creationTime: any, displayName: string, kind?: string, markedForDeletion?: boolean, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec: { cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider, maxCount: number, minCount: number, nodeLabels?: any, gcp?: { availabilityZone: string, machineType: string, poolType: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__GcpPoolType }, aws?: { availabilityZone: string, iamInstanceProfileRole?: string, nvidiaGpuEnabled: boolean, poolType: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsPoolType, rootVolumeSize: number, rootVolumeType: string, ec2Pool?: { instanceType: string, nodes?: any }, spotPool?: { nodes?: any, spotFleetTaggingRoleName: string, cpuNode?: { memoryPerVcpu?: { max: string, min: string }, vcpu: { max: string, min: string } }, gpuNode?: { instanceTypes: Array } } } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> } } }; +export type ConsoleGetNodePoolQuery = { + infra_getNodePool?: { + id: string; + clusterName: string; + creationTime: any; + displayName: string; + kind?: string; + markedForDeletion?: boolean; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec: { + cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider; + maxCount: number; + minCount: number; + nodeLabels?: any; + gcp?: { + availabilityZone: string; + machineType: string; + poolType: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__GcpPoolType; + }; + aws?: { + availabilityZone: string; + iamInstanceProfileRole?: string; + nvidiaGpuEnabled: boolean; + poolType: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsPoolType; + rootVolumeSize: number; + rootVolumeType: string; + ec2Pool?: { instanceType: string; nodes?: any }; + spotPool?: { + nodes?: any; + spotFleetTaggingRoleName: string; + cpuNode?: { + memoryPerVcpu?: { max: string; min: string }; + vcpu: { max: string; min: string }; + }; + gpuNode?: { instanceTypes: Array }; + }; + }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + }; +}; export type ConsoleCreateNodePoolMutationVariables = Exact<{ clusterName: Scalars['String']['input']; pool: NodePoolIn; }>; - -export type ConsoleCreateNodePoolMutation = { infra_createNodePool?: { id: string } }; +export type ConsoleCreateNodePoolMutation = { + infra_createNodePool?: { id: string }; +}; export type ConsoleUpdateNodePoolMutationVariables = Exact<{ clusterName: Scalars['String']['input']; pool: NodePoolIn; }>; - -export type ConsoleUpdateNodePoolMutation = { infra_updateNodePool?: { id: string } }; +export type ConsoleUpdateNodePoolMutation = { + infra_updateNodePool?: { id: string }; +}; export type ConsoleListNodePoolsQueryVariables = Exact<{ clusterName: Scalars['String']['input']; @@ -1903,52 +2365,230 @@ export type ConsoleListNodePoolsQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleListNodePoolsQuery = { infra_listNodePools?: { totalCount: number, edges: Array<{ cursor: string, node: { id: string, clusterName: string, creationTime: any, displayName: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { generation: number, name: string, namespace?: string }, spec: { cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider, maxCount: number, minCount: number, nodeLabels?: any, gcp?: { availabilityZone: string, machineType: string, poolType: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__GcpPoolType }, aws?: { availabilityZone: string, nvidiaGpuEnabled: boolean, poolType: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsPoolType, ec2Pool?: { instanceType: string, nodes?: any }, spotPool?: { nodes?: any, spotFleetTaggingRoleName: string, cpuNode?: { memoryPerVcpu?: { max: string, min: string }, vcpu: { max: string, min: string } }, gpuNode?: { instanceTypes: Array } } } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListNodePoolsQuery = { + infra_listNodePools?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + id: string; + clusterName: string; + creationTime: any; + displayName: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { generation: number; name: string; namespace?: string }; + spec: { + cloudProvider: Github__Com___Kloudlite___Operator___Apis___Common____Types__CloudProvider; + maxCount: number; + minCount: number; + nodeLabels?: any; + gcp?: { + availabilityZone: string; + machineType: string; + poolType: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__GcpPoolType; + }; + aws?: { + availabilityZone: string; + nvidiaGpuEnabled: boolean; + poolType: Github__Com___Kloudlite___Operator___Apis___Clusters___V1__AwsPoolType; + ec2Pool?: { instanceType: string; nodes?: any }; + spotPool?: { + nodes?: any; + spotFleetTaggingRoleName: string; + cpuNode?: { + memoryPerVcpu?: { max: string; min: string }; + vcpu: { max: string; min: string }; + }; + gpuNode?: { instanceTypes: Array }; + }; + }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleDeleteNodePoolMutationVariables = Exact<{ clusterName: Scalars['String']['input']; poolName: Scalars['String']['input']; }>; - export type ConsoleDeleteNodePoolMutation = { infra_deleteNodePool: boolean }; export type ConsoleGetEnvironmentQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleGetEnvironmentQuery = { core_getEnvironment?: { creationTime: any, displayName: string, clusterName: string, isArchived?: boolean, markedForDeletion?: boolean, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { targetNamespace?: string, routing?: { mode?: Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvironmentRoutingMode, privateIngressClass?: string, publicIngressClass?: string } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ description?: string, debug?: boolean, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> } } }; +export type ConsoleGetEnvironmentQuery = { + core_getEnvironment?: { + creationTime: any; + displayName: string; + clusterName: string; + isArchived?: boolean; + markedForDeletion?: boolean; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + targetNamespace?: string; + routing?: { + mode?: Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvironmentRoutingMode; + privateIngressClass?: string; + publicIngressClass?: string; + }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + description?: string; + debug?: boolean; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + }; +}; export type ConsoleCreateEnvironmentMutationVariables = Exact<{ env: EnvironmentIn; }>; - -export type ConsoleCreateEnvironmentMutation = { core_createEnvironment?: { id: string } }; +export type ConsoleCreateEnvironmentMutation = { + core_createEnvironment?: { id: string }; +}; export type ConsoleUpdateEnvironmentMutationVariables = Exact<{ env: EnvironmentIn; }>; - -export type ConsoleUpdateEnvironmentMutation = { core_updateEnvironment?: { id: string } }; +export type ConsoleUpdateEnvironmentMutation = { + core_updateEnvironment?: { id: string }; +}; export type ConsoleDeleteEnvironmentMutationVariables = Exact<{ envName: Scalars['String']['input']; }>; - -export type ConsoleDeleteEnvironmentMutation = { core_deleteEnvironment: boolean }; +export type ConsoleDeleteEnvironmentMutation = { + core_deleteEnvironment: boolean; +}; export type ConsoleListEnvironmentsQueryVariables = Exact<{ search?: InputMaybe; pq?: InputMaybe; }>; - -export type ConsoleListEnvironmentsQuery = { core_listEnvironments?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, displayName: string, clusterName: string, isArchived?: boolean, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { generation: number, name: string, namespace?: string }, spec?: { targetNamespace?: string, routing?: { mode?: Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvironmentRoutingMode, privateIngressClass?: string, publicIngressClass?: string } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ description?: string, debug?: boolean, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListEnvironmentsQuery = { + core_listEnvironments?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + displayName: string; + clusterName: string; + isArchived?: boolean; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { generation: number; name: string; namespace?: string }; + spec?: { + targetNamespace?: string; + routing?: { + mode?: Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvironmentRoutingMode; + privateIngressClass?: string; + publicIngressClass?: string; + }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + description?: string; + debug?: boolean; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCloneEnvironmentMutationVariables = Exact<{ clusterName: Scalars['String']['input']; @@ -1958,15 +2598,15 @@ export type ConsoleCloneEnvironmentMutationVariables = Exact<{ environmentRoutingMode: Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvironmentRoutingMode; }>; - -export type ConsoleCloneEnvironmentMutation = { core_cloneEnvironment?: { id: string } }; +export type ConsoleCloneEnvironmentMutation = { + core_cloneEnvironment?: { id: string }; +}; export type ConsoleRestartAppQueryVariables = Exact<{ envName: Scalars['String']['input']; appName: Scalars['String']['input']; }>; - export type ConsoleRestartAppQuery = { core_restartApp: boolean }; export type ConsoleCreateAppMutationVariables = Exact<{ @@ -1974,7 +2614,6 @@ export type ConsoleCreateAppMutationVariables = Exact<{ app: AppIn; }>; - export type ConsoleCreateAppMutation = { core_createApp?: { id: string } }; export type ConsoleUpdateAppMutationVariables = Exact<{ @@ -1982,18 +2621,19 @@ export type ConsoleUpdateAppMutationVariables = Exact<{ app: AppIn; }>; - export type ConsoleUpdateAppMutation = { core_updateApp?: { id: string } }; export type ConsoleInterceptAppMutationVariables = Exact<{ - portMappings?: InputMaybe | Github__Com___Kloudlite___Operator___Apis___Crds___V1__AppInterceptPortMappingsIn>; + portMappings?: InputMaybe< + | Array + | Github__Com___Kloudlite___Operator___Apis___Crds___V1__AppInterceptPortMappingsIn + >; intercept: Scalars['Boolean']['input']; deviceName: Scalars['String']['input']; appname: Scalars['String']['input']; envName: Scalars['String']['input']; }>; - export type ConsoleInterceptAppMutation = { core_interceptApp: boolean }; export type ConsoleRemoveDeviceInterceptsMutationVariables = Exact<{ @@ -2001,15 +2641,15 @@ export type ConsoleRemoveDeviceInterceptsMutationVariables = Exact<{ deviceName: Scalars['String']['input']; }>; - -export type ConsoleRemoveDeviceInterceptsMutation = { core_removeDeviceIntercepts: boolean }; +export type ConsoleRemoveDeviceInterceptsMutation = { + core_removeDeviceIntercepts: boolean; +}; export type ConsoleDeleteAppMutationVariables = Exact<{ envName: Scalars['String']['input']; appName: Scalars['String']['input']; }>; - export type ConsoleDeleteAppMutation = { core_deleteApp: boolean }; export type ConsoleGetAppQueryVariables = Exact<{ @@ -2017,8 +2657,134 @@ export type ConsoleGetAppQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleGetAppQuery = { core_getApp?: { id: string, recordVersion: number, creationTime: any, displayName: string, enabled?: boolean, environmentName: string, markedForDeletion?: boolean, ciBuildId?: string, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, name: string, namespace?: string }, spec: { displayName?: string, freeze?: boolean, nodeSelector?: any, region?: string, replicas?: number, serviceAccount?: string, router?: { domains: Array }, containers: Array<{ args?: Array, command?: Array, image: string, imagePullPolicy?: string, name: string, env?: Array<{ key: string, optional?: boolean, refKey?: string, refName?: string, type?: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret, value?: string }>, envFrom?: Array<{ refName: string, type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret }>, livenessProbe?: { failureThreshold?: number, initialDelay?: number, interval?: number, type: string, httpGet?: { httpHeaders?: any, path: string, port: number }, shell?: { command?: Array }, tcp?: { port: number } }, readinessProbe?: { failureThreshold?: number, initialDelay?: number, interval?: number, type: string }, resourceCpu?: { max?: string, min?: string }, resourceMemory?: { max?: string, min?: string }, volumes?: Array<{ mountPath: string, refName: string, type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret, items?: Array<{ fileName?: string, key: string }> }> }>, hpa?: { enabled: boolean, maxReplicas?: number, minReplicas?: number, thresholdCpu?: number, thresholdMemory?: number }, intercept?: { enabled: boolean, toDevice: string, portMappings?: Array<{ devicePort: number, appPort: number }> }, services?: Array<{ port: number }>, tolerations?: Array<{ effect?: K8s__Io___Api___Core___V1__TaintEffect, key?: string, operator?: K8s__Io___Api___Core___V1__TolerationOperator, tolerationSeconds?: number, value?: string }> }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ description?: string, debug?: boolean, title: string, name: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, build?: { id: string, buildClusterName: string, name: string, source: { branch: string, provider: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GitProvider, repository: string }, spec: { buildOptions?: { buildArgs?: any, buildContexts?: any, contextDir?: string, dockerfileContent?: string, dockerfilePath?: string, targetPlatforms?: Array }, registry: { repo: { name: string, tags: Array } }, resource: { cpu: number, memoryInMb: number } } } } }; +export type ConsoleGetAppQuery = { + core_getApp?: { + id: string; + recordVersion: number; + creationTime: any; + displayName: string; + enabled?: boolean; + environmentName: string; + markedForDeletion?: boolean; + ciBuildId?: string; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { annotations?: any; name: string; namespace?: string }; + spec: { + displayName?: string; + freeze?: boolean; + nodeSelector?: any; + region?: string; + replicas?: number; + serviceAccount?: string; + router?: { domains: Array }; + containers: Array<{ + args?: Array; + command?: Array; + image: string; + imagePullPolicy?: string; + name: string; + env?: Array<{ + key: string; + optional?: boolean; + refKey?: string; + refName?: string; + type?: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + value?: string; + }>; + envFrom?: Array<{ + refName: string; + type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + }>; + livenessProbe?: { + failureThreshold?: number; + initialDelay?: number; + interval?: number; + type: string; + httpGet?: { httpHeaders?: any; path: string; port: number }; + shell?: { command?: Array }; + tcp?: { port: number }; + }; + readinessProbe?: { + failureThreshold?: number; + initialDelay?: number; + interval?: number; + type: string; + }; + resourceCpu?: { max?: string; min?: string }; + resourceMemory?: { max?: string; min?: string }; + volumes?: Array<{ + mountPath: string; + refName: string; + type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + items?: Array<{ fileName?: string; key: string }>; + }>; + }>; + hpa?: { + enabled: boolean; + maxReplicas?: number; + minReplicas?: number; + thresholdCpu?: number; + thresholdMemory?: number; + }; + intercept?: { + enabled: boolean; + toDevice: string; + portMappings?: Array<{ devicePort: number; appPort: number }>; + }; + services?: Array<{ port: number }>; + tolerations?: Array<{ + effect?: K8s__Io___Api___Core___V1__TaintEffect; + key?: string; + operator?: K8s__Io___Api___Core___V1__TolerationOperator; + tolerationSeconds?: number; + value?: string; + }>; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + description?: string; + debug?: boolean; + title: string; + name: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + build?: { + id: string; + buildClusterName: string; + name: string; + source: { + branch: string; + provider: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GitProvider; + repository: string; + }; + spec: { + buildOptions?: { + buildArgs?: any; + buildContexts?: any; + contextDir?: string; + dockerfileContent?: string; + dockerfilePath?: string; + targetPlatforms?: Array; + }; + registry: { repo: { name: string; tags: Array } }; + resource: { cpu: number; memoryInMb: number }; + }; + }; + }; +}; export type ConsoleListAppsQueryVariables = Exact<{ envName: Scalars['String']['input']; @@ -2026,51 +2792,349 @@ export type ConsoleListAppsQueryVariables = Exact<{ search?: InputMaybe; }>; - -export type ConsoleListAppsQuery = { core_listApps?: { totalCount: number, edges: Array<{ cursor: string, node: { accountName: string, apiVersion?: string, ciBuildId?: string, creationTime: any, displayName: string, enabled?: boolean, environmentName: string, id: string, kind?: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, serviceHost?: string, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec: { displayName?: string, freeze?: boolean, nodeSelector?: any, region?: string, replicas?: number, serviceAccount?: string, containers: Array<{ args?: Array, command?: Array, image: string, imagePullPolicy?: string, name: string, env?: Array<{ key: string, optional?: boolean, refKey?: string, refName?: string, type?: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret, value?: string }>, envFrom?: Array<{ refName: string, type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret }>, livenessProbe?: { failureThreshold?: number, initialDelay?: number, interval?: number, type: string, httpGet?: { httpHeaders?: any, path: string, port: number }, shell?: { command?: Array }, tcp?: { port: number } }, readinessProbe?: { failureThreshold?: number, initialDelay?: number, interval?: number, type: string }, resourceCpu?: { max?: string, min?: string }, resourceMemory?: { max?: string, min?: string }, volumes?: Array<{ mountPath: string, refName: string, type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret, items?: Array<{ fileName?: string, key: string }> }> }>, hpa?: { enabled: boolean, maxReplicas?: number, minReplicas?: number, thresholdCpu?: number, thresholdMemory?: number }, intercept?: { enabled: boolean, toDevice: string, portMappings?: Array<{ appPort: number, devicePort: number }> }, router?: { backendProtocol?: string, domains: Array, ingressClass?: string, maxBodySizeInMB?: number, basicAuth?: { enabled: boolean, secretName?: string, username?: string }, cors?: { allowCredentials?: boolean, enabled?: boolean, origins?: Array }, https?: { clusterIssuer?: string, enabled: boolean, forceRedirect?: boolean }, rateLimit?: { connections?: number, enabled?: boolean, rpm?: number, rps?: number }, routes?: Array<{ app: string, path: string, port: number, rewrite?: boolean }> }, services?: Array<{ port: number, protocol?: string }>, tolerations?: Array<{ effect?: K8s__Io___Api___Core___V1__TaintEffect, key?: string, operator?: K8s__Io___Api___Core___V1__TolerationOperator, tolerationSeconds?: number, value?: string }>, topologySpreadConstraints?: Array<{ matchLabelKeys?: Array, maxSkew: number, minDomains?: number, nodeAffinityPolicy?: string, nodeTaintsPolicy?: string, topologyKey: string, whenUnsatisfiable: K8s__Io___Api___Core___V1__UnsatisfiableConstraintAction, labelSelector?: { matchLabels?: any, matchExpressions?: Array<{ key: string, operator: K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorOperator, values?: Array }> } }> }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ debug?: boolean, description?: string, hide?: boolean, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any }, build?: { id: string, buildClusterName: string, creationTime: any, errorMessages: any, markedForDeletion?: boolean, name: string, recordVersion: number, status: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__BuildStatus, updateTime: any, credUser: { userEmail: string, userId: string, userName: string }, source: { branch: string, provider: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GitProvider, repository: string, webhookId?: number }, spec: { accountName: string, buildOptions?: { buildArgs?: any, buildContexts?: any, contextDir?: string, dockerfileContent?: string, dockerfilePath?: string, targetPlatforms?: Array }, caches?: Array<{ name: string, path: string }>, registry: { repo: { name: string, tags: Array } }, resource: { cpu: number, memoryInMb: number } }, latestBuildRun?: { accountName: string, apiVersion?: string, buildId: string, clusterName: string, creationTime: any, displayName: string, id: string, kind?: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any } } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListAppsQuery = { + core_listApps?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + accountName: string; + apiVersion?: string; + ciBuildId?: string; + creationTime: any; + displayName: string; + enabled?: boolean; + environmentName: string; + id: string; + kind?: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + serviceHost?: string; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec: { + displayName?: string; + freeze?: boolean; + nodeSelector?: any; + region?: string; + replicas?: number; + serviceAccount?: string; + containers: Array<{ + args?: Array; + command?: Array; + image: string; + imagePullPolicy?: string; + name: string; + env?: Array<{ + key: string; + optional?: boolean; + refKey?: string; + refName?: string; + type?: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + value?: string; + }>; + envFrom?: Array<{ + refName: string; + type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + }>; + livenessProbe?: { + failureThreshold?: number; + initialDelay?: number; + interval?: number; + type: string; + httpGet?: { httpHeaders?: any; path: string; port: number }; + shell?: { command?: Array }; + tcp?: { port: number }; + }; + readinessProbe?: { + failureThreshold?: number; + initialDelay?: number; + interval?: number; + type: string; + }; + resourceCpu?: { max?: string; min?: string }; + resourceMemory?: { max?: string; min?: string }; + volumes?: Array<{ + mountPath: string; + refName: string; + type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + items?: Array<{ fileName?: string; key: string }>; + }>; + }>; + hpa?: { + enabled: boolean; + maxReplicas?: number; + minReplicas?: number; + thresholdCpu?: number; + thresholdMemory?: number; + }; + intercept?: { + enabled: boolean; + toDevice: string; + portMappings?: Array<{ appPort: number; devicePort: number }>; + }; + router?: { + backendProtocol?: string; + domains: Array; + ingressClass?: string; + maxBodySizeInMB?: number; + basicAuth?: { + enabled: boolean; + secretName?: string; + username?: string; + }; + cors?: { + allowCredentials?: boolean; + enabled?: boolean; + origins?: Array; + }; + https?: { + clusterIssuer?: string; + enabled: boolean; + forceRedirect?: boolean; + }; + rateLimit?: { + connections?: number; + enabled?: boolean; + rpm?: number; + rps?: number; + }; + routes?: Array<{ + app: string; + path: string; + port: number; + rewrite?: boolean; + }>; + }; + services?: Array<{ port: number; protocol?: string }>; + tolerations?: Array<{ + effect?: K8s__Io___Api___Core___V1__TaintEffect; + key?: string; + operator?: K8s__Io___Api___Core___V1__TolerationOperator; + tolerationSeconds?: number; + value?: string; + }>; + topologySpreadConstraints?: Array<{ + matchLabelKeys?: Array; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: K8s__Io___Api___Core___V1__UnsatisfiableConstraintAction; + labelSelector?: { + matchLabels?: any; + matchExpressions?: Array<{ + key: string; + operator: K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorOperator; + values?: Array; + }>; + }; + }>; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + debug?: boolean; + description?: string; + hide?: boolean; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + build?: { + id: string; + buildClusterName: string; + creationTime: any; + errorMessages: any; + markedForDeletion?: boolean; + name: string; + recordVersion: number; + status: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__BuildStatus; + updateTime: any; + credUser: { userEmail: string; userId: string; userName: string }; + source: { + branch: string; + provider: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GitProvider; + repository: string; + webhookId?: number; + }; + spec: { + accountName: string; + buildOptions?: { + buildArgs?: any; + buildContexts?: any; + contextDir?: string; + dockerfileContent?: string; + dockerfilePath?: string; + targetPlatforms?: Array; + }; + caches?: Array<{ name: string; path: string }>; + registry: { repo: { name: string; tags: Array } }; + resource: { cpu: number; memoryInMb: number }; + }; + latestBuildRun?: { + accountName: string; + apiVersion?: string; + buildId: string; + clusterName: string; + creationTime: any; + displayName: string; + id: string; + kind?: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + }; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCreateExternalAppMutationVariables = Exact<{ envName: Scalars['String']['input']; externalApp: ExternalAppIn; }>; - -export type ConsoleCreateExternalAppMutation = { core_createExternalApp?: { id: string } }; +export type ConsoleCreateExternalAppMutation = { + core_createExternalApp?: { id: string }; +}; export type ConsoleUpdateExternalAppMutationVariables = Exact<{ envName: Scalars['String']['input']; externalApp: ExternalAppIn; }>; - -export type ConsoleUpdateExternalAppMutation = { core_updateExternalApp?: { id: string } }; +export type ConsoleUpdateExternalAppMutation = { + core_updateExternalApp?: { id: string }; +}; export type ConsoleInterceptExternalAppMutationVariables = Exact<{ envName: Scalars['String']['input']; externalAppName: Scalars['String']['input']; deviceName: Scalars['String']['input']; intercept: Scalars['Boolean']['input']; - portMappings?: InputMaybe | Github__Com___Kloudlite___Operator___Apis___Crds___V1__AppInterceptPortMappingsIn>; + portMappings?: InputMaybe< + | Array + | Github__Com___Kloudlite___Operator___Apis___Crds___V1__AppInterceptPortMappingsIn + >; }>; - -export type ConsoleInterceptExternalAppMutation = { core_interceptExternalApp: boolean }; +export type ConsoleInterceptExternalAppMutation = { + core_interceptExternalApp: boolean; +}; export type ConsoleDeleteExternalAppMutationVariables = Exact<{ envName: Scalars['String']['input']; externalAppName: Scalars['String']['input']; }>; - -export type ConsoleDeleteExternalAppMutation = { core_deleteExternalApp: boolean }; +export type ConsoleDeleteExternalAppMutation = { + core_deleteExternalApp: boolean; +}; export type ConsoleGetExternalAppQueryVariables = Exact<{ envName: Scalars['String']['input']; name: Scalars['String']['input']; }>; - -export type ConsoleGetExternalAppQuery = { core_getExternalApp?: { accountName: string, apiVersion?: string, creationTime: any, displayName: string, environmentName: string, id: string, kind?: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { record: string, recordType: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ExternalAppRecordType, intercept?: { enabled: boolean, toDevice: string, portMappings?: Array<{ appPort: number, devicePort: number }> } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ debug?: boolean, description?: string, hide?: boolean, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }; +export type ConsoleGetExternalAppQuery = { + core_getExternalApp?: { + accountName: string; + apiVersion?: string; + creationTime: any; + displayName: string; + environmentName: string; + id: string; + kind?: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + record: string; + recordType: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ExternalAppRecordType; + intercept?: { + enabled: boolean; + toDevice: string; + portMappings?: Array<{ appPort: number; devicePort: number }>; + }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + debug?: boolean; + description?: string; + hide?: boolean; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; +}; export type ConsoleListExternalAppsQueryVariables = Exact<{ envName: Scalars['String']['input']; @@ -2078,31 +3142,104 @@ export type ConsoleListExternalAppsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type ConsoleListExternalAppsQuery = { core_listExternalApps?: { totalCount: number, edges: Array<{ cursor: string, node: { accountName: string, apiVersion?: string, creationTime: any, displayName: string, environmentName: string, id: string, kind?: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { record: string, recordType: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ExternalAppRecordType, intercept?: { enabled: boolean, toDevice: string, portMappings?: Array<{ appPort: number, devicePort: number }> } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ debug?: boolean, description?: string, hide?: boolean, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListExternalAppsQuery = { + core_listExternalApps?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + accountName: string; + apiVersion?: string; + creationTime: any; + displayName: string; + environmentName: string; + id: string; + kind?: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + record: string; + recordType: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ExternalAppRecordType; + intercept?: { + enabled: boolean; + toDevice: string; + portMappings?: Array<{ appPort: number; devicePort: number }>; + }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + debug?: boolean; + description?: string; + hide?: boolean; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCreateRouterMutationVariables = Exact<{ envName: Scalars['String']['input']; router: RouterIn; }>; - -export type ConsoleCreateRouterMutation = { core_createRouter?: { id: string } }; +export type ConsoleCreateRouterMutation = { + core_createRouter?: { id: string }; +}; export type ConsoleUpdateRouterMutationVariables = Exact<{ envName: Scalars['String']['input']; router: RouterIn; }>; - -export type ConsoleUpdateRouterMutation = { core_updateRouter?: { id: string } }; +export type ConsoleUpdateRouterMutation = { + core_updateRouter?: { id: string }; +}; export type ConsoleDeleteRouterMutationVariables = Exact<{ envName: Scalars['String']['input']; routerName: Scalars['String']['input']; }>; - export type ConsoleDeleteRouterMutation = { core_deleteRouter: boolean }; export type ConsoleListRoutersQueryVariables = Exact<{ @@ -2111,31 +3248,165 @@ export type ConsoleListRoutersQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type ConsoleListRoutersQuery = { core_listRouters?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, displayName: string, enabled?: boolean, environmentName: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { generation: number, name: string, namespace?: string }, spec: { backendProtocol?: string, domains: Array, ingressClass?: string, maxBodySizeInMB?: number, basicAuth?: { enabled: boolean, secretName?: string, username?: string }, cors?: { allowCredentials?: boolean, enabled?: boolean, origins?: Array }, https?: { clusterIssuer?: string, enabled: boolean, forceRedirect?: boolean }, rateLimit?: { connections?: number, enabled?: boolean, rpm?: number, rps?: number }, routes?: Array<{ app: string, path: string, port: number, rewrite?: boolean }> }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ description?: string, debug?: boolean, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListRoutersQuery = { + core_listRouters?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + displayName: string; + enabled?: boolean; + environmentName: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { generation: number; name: string; namespace?: string }; + spec: { + backendProtocol?: string; + domains: Array; + ingressClass?: string; + maxBodySizeInMB?: number; + basicAuth?: { + enabled: boolean; + secretName?: string; + username?: string; + }; + cors?: { + allowCredentials?: boolean; + enabled?: boolean; + origins?: Array; + }; + https?: { + clusterIssuer?: string; + enabled: boolean; + forceRedirect?: boolean; + }; + rateLimit?: { + connections?: number; + enabled?: boolean; + rpm?: number; + rps?: number; + }; + routes?: Array<{ + app: string; + path: string; + port: number; + rewrite?: boolean; + }>; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + description?: string; + debug?: boolean; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleGetRouterQueryVariables = Exact<{ envName: Scalars['String']['input']; name: Scalars['String']['input']; }>; - -export type ConsoleGetRouterQuery = { core_getRouter?: { creationTime: any, displayName: string, enabled?: boolean, environmentName: string, markedForDeletion?: boolean, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { name: string, namespace?: string }, spec: { backendProtocol?: string, domains: Array, ingressClass?: string, maxBodySizeInMB?: number, basicAuth?: { enabled: boolean, secretName?: string, username?: string }, cors?: { allowCredentials?: boolean, enabled?: boolean, origins?: Array }, https?: { clusterIssuer?: string, enabled: boolean, forceRedirect?: boolean }, rateLimit?: { connections?: number, enabled?: boolean, rpm?: number, rps?: number }, routes?: Array<{ app: string, path: string, port: number, rewrite?: boolean }> }, status?: { checks?: any, isReady: boolean, checkList?: Array<{ description?: string, debug?: boolean, name: string, title: string }> } } }; +export type ConsoleGetRouterQuery = { + core_getRouter?: { + creationTime: any; + displayName: string; + enabled?: boolean; + environmentName: string; + markedForDeletion?: boolean; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { name: string; namespace?: string }; + spec: { + backendProtocol?: string; + domains: Array; + ingressClass?: string; + maxBodySizeInMB?: number; + basicAuth?: { enabled: boolean; secretName?: string; username?: string }; + cors?: { + allowCredentials?: boolean; + enabled?: boolean; + origins?: Array; + }; + https?: { + clusterIssuer?: string; + enabled: boolean; + forceRedirect?: boolean; + }; + rateLimit?: { + connections?: number; + enabled?: boolean; + rpm?: number; + rps?: number; + }; + routes?: Array<{ + app: string; + path: string; + port: number; + rewrite?: boolean; + }>; + }; + status?: { + checks?: any; + isReady: boolean; + checkList?: Array<{ + description?: string; + debug?: boolean; + name: string; + title: string; + }>; + }; + }; +}; export type ConsoleUpdateConfigMutationVariables = Exact<{ envName: Scalars['String']['input']; config: ConfigIn; }>; - -export type ConsoleUpdateConfigMutation = { core_updateConfig?: { id: string } }; +export type ConsoleUpdateConfigMutation = { + core_updateConfig?: { id: string }; +}; export type ConsoleDeleteConfigMutationVariables = Exact<{ envName: Scalars['String']['input']; configName: Scalars['String']['input']; }>; - export type ConsoleDeleteConfigMutation = { core_deleteConfig: boolean }; export type ConsoleGetConfigQueryVariables = Exact<{ @@ -2143,8 +3414,24 @@ export type ConsoleGetConfigQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleGetConfigQuery = { core_getConfig?: { binaryData?: any, data?: any, displayName: string, environmentName: string, immutable?: boolean, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string } } }; +export type ConsoleGetConfigQuery = { + core_getConfig?: { + binaryData?: any; + data?: any; + displayName: string; + environmentName: string; + immutable?: boolean; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + }; +}; export type ConsoleListConfigsQueryVariables = Exact<{ envName: Scalars['String']['input']; @@ -2152,16 +3439,49 @@ export type ConsoleListConfigsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type ConsoleListConfigsQuery = { core_listConfigs?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, displayName: string, data?: any, environmentName: string, immutable?: boolean, markedForDeletion?: boolean, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListConfigsQuery = { + core_listConfigs?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + displayName: string; + data?: any; + environmentName: string; + immutable?: boolean; + markedForDeletion?: boolean; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCreateConfigMutationVariables = Exact<{ envName: Scalars['String']['input']; config: ConfigIn; }>; - -export type ConsoleCreateConfigMutation = { core_createConfig?: { id: string } }; +export type ConsoleCreateConfigMutation = { + core_createConfig?: { id: string }; +}; export type ConsoleListSecretsQueryVariables = Exact<{ envName: Scalars['String']['input']; @@ -2169,93 +3489,175 @@ export type ConsoleListSecretsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type ConsoleListSecretsQuery = { core_listSecrets?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, displayName: string, stringData?: any, environmentName: string, isReadyOnly: boolean, immutable?: boolean, markedForDeletion?: boolean, type?: K8s__Io___Api___Core___V1__SecretType, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListSecretsQuery = { + core_listSecrets?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + displayName: string; + stringData?: any; + environmentName: string; + isReadyOnly: boolean; + immutable?: boolean; + markedForDeletion?: boolean; + type?: K8s__Io___Api___Core___V1__SecretType; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCreateSecretMutationVariables = Exact<{ envName: Scalars['String']['input']; secret: SecretIn; }>; - -export type ConsoleCreateSecretMutation = { core_createSecret?: { id: string } }; +export type ConsoleCreateSecretMutation = { + core_createSecret?: { id: string }; +}; export type ConsoleGetSecretQueryVariables = Exact<{ envName: Scalars['String']['input']; name: Scalars['String']['input']; }>; - -export type ConsoleGetSecretQuery = { core_getSecret?: { data?: any, displayName: string, environmentName: string, immutable?: boolean, markedForDeletion?: boolean, stringData?: any, type?: K8s__Io___Api___Core___V1__SecretType, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string } } }; +export type ConsoleGetSecretQuery = { + core_getSecret?: { + data?: any; + displayName: string; + environmentName: string; + immutable?: boolean; + markedForDeletion?: boolean; + stringData?: any; + type?: K8s__Io___Api___Core___V1__SecretType; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + }; +}; export type ConsoleUpdateSecretMutationVariables = Exact<{ envName: Scalars['String']['input']; secret: SecretIn; }>; - -export type ConsoleUpdateSecretMutation = { core_updateSecret?: { id: string } }; +export type ConsoleUpdateSecretMutation = { + core_updateSecret?: { id: string }; +}; export type ConsoleDeleteSecretMutationVariables = Exact<{ envName: Scalars['String']['input']; secretName: Scalars['String']['input']; }>; - export type ConsoleDeleteSecretMutation = { core_deleteSecret: boolean }; export type ConsoleListInvitationsForAccountQueryVariables = Exact<{ accountName: Scalars['String']['input']; }>; - -export type ConsoleListInvitationsForAccountQuery = { accounts_listInvitations?: Array<{ accepted?: boolean, accountName: string, creationTime: any, id: string, inviteToken: string, invitedBy: string, markedForDeletion?: boolean, recordVersion: number, rejected?: boolean, updateTime: any, userEmail?: string, userName?: string, userRole: Github__Com___Kloudlite___Api___Apps___Iam___Types__Role }> }; +export type ConsoleListInvitationsForAccountQuery = { + accounts_listInvitations?: Array<{ + accepted?: boolean; + accountName: string; + creationTime: any; + id: string; + inviteToken: string; + invitedBy: string; + markedForDeletion?: boolean; + recordVersion: number; + rejected?: boolean; + updateTime: any; + userEmail?: string; + userName?: string; + userRole: Github__Com___Kloudlite___Api___Apps___Iam___Types__Role; + }>; +}; export type ConsoleListMembershipsForAccountQueryVariables = Exact<{ accountName: Scalars['String']['input']; }>; - -export type ConsoleListMembershipsForAccountQuery = { accounts_listMembershipsForAccount?: Array<{ role: Github__Com___Kloudlite___Api___Apps___Iam___Types__Role, user: { verified: boolean, name: string, joined: any, email: string } }> }; +export type ConsoleListMembershipsForAccountQuery = { + accounts_listMembershipsForAccount?: Array<{ + role: Github__Com___Kloudlite___Api___Apps___Iam___Types__Role; + user: { verified: boolean; name: string; joined: any; email: string }; + }>; +}; export type ConsoleDeleteAccountInvitationMutationVariables = Exact<{ accountName: Scalars['String']['input']; invitationId: Scalars['String']['input']; }>; - -export type ConsoleDeleteAccountInvitationMutation = { accounts_deleteInvitation: boolean }; +export type ConsoleDeleteAccountInvitationMutation = { + accounts_deleteInvitation: boolean; +}; export type ConsoleInviteMembersForAccountMutationVariables = Exact<{ accountName: Scalars['String']['input']; invitations: Array | InvitationIn; }>; - -export type ConsoleInviteMembersForAccountMutation = { accounts_inviteMembers?: Array<{ id: string }> }; +export type ConsoleInviteMembersForAccountMutation = { + accounts_inviteMembers?: Array<{ id: string }>; +}; export type ConsoleListInvitationsForUserQueryVariables = Exact<{ onlyPending: Scalars['Boolean']['input']; }>; - -export type ConsoleListInvitationsForUserQuery = { accounts_listInvitationsForUser?: Array<{ accountName: string, id: string, updateTime: any, inviteToken: string }> }; +export type ConsoleListInvitationsForUserQuery = { + accounts_listInvitationsForUser?: Array<{ + accountName: string; + id: string; + updateTime: any; + inviteToken: string; + }>; +}; export type ConsoleAcceptInvitationMutationVariables = Exact<{ accountName: Scalars['String']['input']; inviteToken: Scalars['String']['input']; }>; - -export type ConsoleAcceptInvitationMutation = { accounts_acceptInvitation: boolean }; +export type ConsoleAcceptInvitationMutation = { + accounts_acceptInvitation: boolean; +}; export type ConsoleRejectInvitationMutationVariables = Exact<{ accountName: Scalars['String']['input']; inviteToken: Scalars['String']['input']; }>; - -export type ConsoleRejectInvitationMutation = { accounts_rejectInvitation: boolean }; +export type ConsoleRejectInvitationMutation = { + accounts_rejectInvitation: boolean; +}; export type ConsoleUpdateAccountMembershipMutationVariables = Exact<{ accountName: Scalars['String']['input']; @@ -2263,22 +3665,23 @@ export type ConsoleUpdateAccountMembershipMutationVariables = Exact<{ role: Github__Com___Kloudlite___Api___Apps___Iam___Types__Role; }>; - -export type ConsoleUpdateAccountMembershipMutation = { accounts_updateAccountMembership: boolean }; +export type ConsoleUpdateAccountMembershipMutation = { + accounts_updateAccountMembership: boolean; +}; export type ConsoleDeleteAccountMembershipMutationVariables = Exact<{ accountName: Scalars['String']['input']; memberId: Scalars['ID']['input']; }>; - -export type ConsoleDeleteAccountMembershipMutation = { accounts_removeAccountMembership: boolean }; +export type ConsoleDeleteAccountMembershipMutation = { + accounts_removeAccountMembership: boolean; +}; export type ConsoleGetCredTokenQueryVariables = Exact<{ username: Scalars['String']['input']; }>; - export type ConsoleGetCredTokenQuery = { cr_getCredToken: string }; export type ConsoleListCredQueryVariables = Exact<{ @@ -2286,21 +3689,48 @@ export type ConsoleListCredQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleListCredQuery = { cr_listCreds?: { totalCount: number, edges: Array<{ cursor: string, node: { access: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__RepoAccess, accountName: string, creationTime: any, id: string, markedForDeletion?: boolean, name: string, recordVersion: number, updateTime: any, username: string, createdBy: { userEmail: string, userId: string, userName: string }, expiration: { unit: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__ExpirationUnit, value: number }, lastUpdatedBy: { userEmail: string, userId: string, userName: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListCredQuery = { + cr_listCreds?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + access: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__RepoAccess; + accountName: string; + creationTime: any; + id: string; + markedForDeletion?: boolean; + name: string; + recordVersion: number; + updateTime: any; + username: string; + createdBy: { userEmail: string; userId: string; userName: string }; + expiration: { + unit: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__ExpirationUnit; + value: number; + }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCreateCredMutationVariables = Exact<{ credential: CredentialIn; }>; - export type ConsoleCreateCredMutation = { cr_createCred?: { id: string } }; export type ConsoleDeleteCredMutationVariables = Exact<{ username: Scalars['String']['input']; }>; - export type ConsoleDeleteCredMutation = { cr_deleteCred: boolean }; export type ConsoleListRepoQueryVariables = Exact<{ @@ -2308,21 +3738,42 @@ export type ConsoleListRepoQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleListRepoQuery = { cr_listRepos?: { totalCount: number, edges: Array<{ cursor: string, node: { accountName: string, creationTime: any, id: string, markedForDeletion?: boolean, name: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListRepoQuery = { + cr_listRepos?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + accountName: string; + creationTime: any; + id: string; + markedForDeletion?: boolean; + name: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCreateRepoMutationVariables = Exact<{ repository: RepositoryIn; }>; - export type ConsoleCreateRepoMutation = { cr_createRepo?: { id: string } }; export type ConsoleDeleteRepoMutationVariables = Exact<{ name: Scalars['String']['input']; }>; - export type ConsoleDeleteRepoMutation = { cr_deleteRepo: boolean }; export type ConsoleListDigestQueryVariables = Exact<{ @@ -2331,56 +3782,112 @@ export type ConsoleListDigestQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleListDigestQuery = { cr_listDigests?: { totalCount: number, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string }, edges: Array<{ cursor: string, node: { url: string, updateTime: any, tags: Array, size: number, repository: string, digest: string, creationTime: any } }> } }; +export type ConsoleListDigestQuery = { + cr_listDigests?: { + totalCount: number; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + edges: Array<{ + cursor: string; + node: { + url: string; + updateTime: any; + tags: Array; + size: number; + repository: string; + digest: string; + creationTime: any; + }; + }>; + }; +}; export type ConsoleDeleteDigestMutationVariables = Exact<{ repoName: Scalars['String']['input']; digest: Scalars['String']['input']; }>; - export type ConsoleDeleteDigestMutation = { cr_deleteDigest: boolean }; export type ConsoleGetGitConnectionsQueryVariables = Exact<{ state?: InputMaybe; }>; +export type ConsoleGetGitConnectionsQuery = { + githubLoginUrl: any; + gitlabLoginUrl: any; + auth_me?: { + providerGitlab?: any; + providerGithub?: any; + providerGoogle?: any; + }; +}; -export type ConsoleGetGitConnectionsQuery = { githubLoginUrl: any, gitlabLoginUrl: any, auth_me?: { providerGitlab?: any, providerGithub?: any, providerGoogle?: any } }; - -export type ConsoleGetLoginsQueryVariables = Exact<{ [key: string]: never; }>; - - -export type ConsoleGetLoginsQuery = { auth_me?: { providerGithub?: any, providerGitlab?: any } }; +export type ConsoleGetLoginsQueryVariables = Exact<{ [key: string]: never }>; -export type ConsoleLoginUrlsQueryVariables = Exact<{ [key: string]: never; }>; +export type ConsoleGetLoginsQuery = { + auth_me?: { providerGithub?: any; providerGitlab?: any }; +}; +export type ConsoleLoginUrlsQueryVariables = Exact<{ [key: string]: never }>; -export type ConsoleLoginUrlsQuery = { githubLoginUrl: any, gitlabLoginUrl: any }; +export type ConsoleLoginUrlsQuery = { + githubLoginUrl: any; + gitlabLoginUrl: any; +}; export type ConsoleListGithubReposQueryVariables = Exact<{ installationId: Scalars['Int']['input']; pagination?: InputMaybe; }>; - -export type ConsoleListGithubReposQuery = { cr_listGithubRepos?: { totalCount?: number, repositories: Array<{ cloneUrl?: string, defaultBranch?: string, fullName?: string, private?: boolean, updatedAt?: any }> } }; +export type ConsoleListGithubReposQuery = { + cr_listGithubRepos?: { + totalCount?: number; + repositories: Array<{ + cloneUrl?: string; + defaultBranch?: string; + fullName?: string; + private?: boolean; + updatedAt?: any; + }>; + }; +}; export type ConsoleListGithubInstalltionsQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleListGithubInstalltionsQuery = { cr_listGithubInstallations?: Array<{ appId?: number, id?: number, nodeId?: string, repositoriesUrl?: string, targetId?: number, targetType?: string, account?: { avatarUrl?: string, id?: number, login?: string, nodeId?: string, type?: string } }> }; +export type ConsoleListGithubInstalltionsQuery = { + cr_listGithubInstallations?: Array<{ + appId?: number; + id?: number; + nodeId?: string; + repositoriesUrl?: string; + targetId?: number; + targetType?: string; + account?: { + avatarUrl?: string; + id?: number; + login?: string; + nodeId?: string; + type?: string; + }; + }>; +}; export type ConsoleListGithubBranchesQueryVariables = Exact<{ repoUrl: Scalars['String']['input']; pagination?: InputMaybe; }>; - -export type ConsoleListGithubBranchesQuery = { cr_listGithubBranches?: Array<{ name?: string }> }; +export type ConsoleListGithubBranchesQuery = { + cr_listGithubBranches?: Array<{ name?: string }>; +}; export type ConsoleSearchGithubReposQueryVariables = Exact<{ organization: Scalars['String']['input']; @@ -2388,16 +3895,26 @@ export type ConsoleSearchGithubReposQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleSearchGithubReposQuery = { cr_searchGithubRepos?: { repositories: Array<{ cloneUrl?: string, defaultBranch?: string, fullName?: string, private?: boolean, updatedAt?: any }> } }; +export type ConsoleSearchGithubReposQuery = { + cr_searchGithubRepos?: { + repositories: Array<{ + cloneUrl?: string; + defaultBranch?: string; + fullName?: string; + private?: boolean; + updatedAt?: any; + }>; + }; +}; export type ConsoleListGitlabGroupsQueryVariables = Exact<{ query?: InputMaybe; pagination?: InputMaybe; }>; - -export type ConsoleListGitlabGroupsQuery = { cr_listGitlabGroups?: Array<{ fullName: string, id: string }> }; +export type ConsoleListGitlabGroupsQuery = { + cr_listGitlabGroups?: Array<{ fullName: string; id: string }>; +}; export type ConsoleListGitlabReposQueryVariables = Exact<{ query?: InputMaybe; @@ -2405,8 +3922,15 @@ export type ConsoleListGitlabReposQueryVariables = Exact<{ groupId: Scalars['String']['input']; }>; - -export type ConsoleListGitlabReposQuery = { cr_listGitlabRepositories?: Array<{ createdAt?: any, name: string, id: number, public: boolean, httpUrlToRepo: string }> }; +export type ConsoleListGitlabReposQuery = { + cr_listGitlabRepositories?: Array<{ + createdAt?: any; + name: string; + id: number; + public: boolean; + httpUrlToRepo: string; + }>; +}; export type ConsoleListGitlabBranchesQueryVariables = Exact<{ repoId: Scalars['String']['input']; @@ -2414,35 +3938,47 @@ export type ConsoleListGitlabBranchesQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleListGitlabBranchesQuery = { cr_listGitlabBranches?: Array<{ name?: string, protected?: boolean }> }; +export type ConsoleListGitlabBranchesQuery = { + cr_listGitlabBranches?: Array<{ name?: string; protected?: boolean }>; +}; export type ConsoleGetDomainQueryVariables = Exact<{ domainName: Scalars['String']['input']; }>; - -export type ConsoleGetDomainQuery = { infra_getDomainEntry?: { updateTime: any, id: string, domainName: string, displayName: string, creationTime: any, clusterName: string, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, createdBy: { userEmail: string, userId: string, userName: string } } }; +export type ConsoleGetDomainQuery = { + infra_getDomainEntry?: { + updateTime: any; + id: string; + domainName: string; + displayName: string; + creationTime: any; + clusterName: string; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + createdBy: { userEmail: string; userId: string; userName: string }; + }; +}; export type ConsoleCreateDomainMutationVariables = Exact<{ domainEntry: DomainEntryIn; }>; - -export type ConsoleCreateDomainMutation = { infra_createDomainEntry?: { id: string } }; +export type ConsoleCreateDomainMutation = { + infra_createDomainEntry?: { id: string }; +}; export type ConsoleUpdateDomainMutationVariables = Exact<{ domainEntry: DomainEntryIn; }>; - -export type ConsoleUpdateDomainMutation = { infra_updateDomainEntry?: { id: string } }; +export type ConsoleUpdateDomainMutation = { + infra_updateDomainEntry?: { id: string }; +}; export type ConsoleDeleteDomainMutationVariables = Exact<{ domainName: Scalars['String']['input']; }>; - export type ConsoleDeleteDomainMutation = { infra_deleteDomainEntry: boolean }; export type ConsoleListDomainsQueryVariables = Exact<{ @@ -2450,8 +3986,29 @@ export type ConsoleListDomainsQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleListDomainsQuery = { infra_listDomainEntries?: { totalCount: number, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string }, edges: Array<{ cursor: string, node: { updateTime: any, id: string, domainName: string, displayName: string, creationTime: any, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, createdBy: { userEmail: string, userId: string, userName: string } } }> } }; +export type ConsoleListDomainsQuery = { + infra_listDomainEntries?: { + totalCount: number; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + edges: Array<{ + cursor: string; + node: { + updateTime: any; + id: string; + domainName: string; + displayName: string; + creationTime: any; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + createdBy: { userEmail: string; userId: string; userName: string }; + }; + }>; + }; +}; export type ConsoleListBuildsQueryVariables = Exact<{ repoName: Scalars['String']['input']; @@ -2459,14 +4016,88 @@ export type ConsoleListBuildsQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleListBuildsQuery = { cr_listBuilds?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, buildClusterName: string, errorMessages: any, id: string, markedForDeletion?: boolean, name: string, status: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__BuildStatus, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, credUser: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, source: { branch: string, provider: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GitProvider, repository: string, webhookId?: number }, spec: { buildOptions?: { buildArgs?: any, buildContexts?: any, contextDir?: string, dockerfileContent?: string, dockerfilePath?: string, targetPlatforms?: Array }, registry: { repo: { name: string, tags: Array } }, resource: { cpu: number, memoryInMb: number }, caches?: Array<{ name: string, path: string }> }, latestBuildRun?: { recordVersion: number, markedForDeletion?: boolean, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ debug?: boolean, description?: string, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListBuildsQuery = { + cr_listBuilds?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + buildClusterName: string; + errorMessages: any; + id: string; + markedForDeletion?: boolean; + name: string; + status: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__BuildStatus; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + credUser: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + source: { + branch: string; + provider: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GitProvider; + repository: string; + webhookId?: number; + }; + spec: { + buildOptions?: { + buildArgs?: any; + buildContexts?: any; + contextDir?: string; + dockerfileContent?: string; + dockerfilePath?: string; + targetPlatforms?: Array; + }; + registry: { repo: { name: string; tags: Array } }; + resource: { cpu: number; memoryInMb: number }; + caches?: Array<{ name: string; path: string }>; + }; + latestBuildRun?: { + recordVersion: number; + markedForDeletion?: boolean; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + debug?: boolean; + description?: string; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCreateBuildMutationVariables = Exact<{ build: BuildIn; }>; - export type ConsoleCreateBuildMutation = { cr_addBuild?: { id: string } }; export type ConsoleUpdateBuildMutationVariables = Exact<{ @@ -2474,21 +4105,18 @@ export type ConsoleUpdateBuildMutationVariables = Exact<{ build: BuildIn; }>; - export type ConsoleUpdateBuildMutation = { cr_updateBuild?: { id: string } }; export type ConsoleDeleteBuildMutationVariables = Exact<{ crDeleteBuildId: Scalars['ID']['input']; }>; - export type ConsoleDeleteBuildMutation = { cr_deleteBuild: boolean }; export type ConsoleTriggerBuildMutationVariables = Exact<{ crTriggerBuildId: Scalars['ID']['input']; }>; - export type ConsoleTriggerBuildMutation = { cr_triggerBuild: boolean }; export type ConsoleGetPvcQueryVariables = Exact<{ @@ -2496,8 +4124,63 @@ export type ConsoleGetPvcQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleGetPvcQuery = { infra_getPVC?: { clusterName: string, creationTime: any, markedForDeletion?: boolean, updateTime: any, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { accessModes?: Array, storageClassName?: string, volumeMode?: string, volumeName?: string, dataSource?: { apiGroup?: string, kind: string, name: string }, dataSourceRef?: { apiGroup?: string, kind: string, name: string, namespace?: string }, resources?: { limits?: any, requests?: any, claims?: Array<{ name: string }> }, selector?: { matchLabels?: any, matchExpressions?: Array<{ key: string, operator: K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorOperator, values?: Array }> } }, status?: { accessModes?: Array, allocatedResources?: any, capacity?: any, phase?: K8s__Io___Api___Core___V1__PersistentVolumeClaimPhase, conditions?: Array<{ lastProbeTime?: any, lastTransitionTime?: any, message?: string, reason?: string, status: K8s__Io___Api___Core___V1__ConditionStatus, type: K8s__Io___Api___Core___V1__PersistentVolumeClaimConditionType }> } } }; +export type ConsoleGetPvcQuery = { + infra_getPVC?: { + clusterName: string; + creationTime: any; + markedForDeletion?: boolean; + updateTime: any; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + accessModes?: Array; + storageClassName?: string; + volumeMode?: string; + volumeName?: string; + dataSource?: { apiGroup?: string; kind: string; name: string }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: any; + requests?: any; + claims?: Array<{ name: string }>; + }; + selector?: { + matchLabels?: any; + matchExpressions?: Array<{ + key: string; + operator: K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorOperator; + values?: Array; + }>; + }; + }; + status?: { + accessModes?: Array; + allocatedResources?: any; + capacity?: any; + phase?: K8s__Io___Api___Core___V1__PersistentVolumeClaimPhase; + conditions?: Array<{ + lastProbeTime?: any; + lastTransitionTime?: any; + message?: string; + reason?: string; + status: K8s__Io___Api___Core___V1__ConditionStatus; + type: K8s__Io___Api___Core___V1__PersistentVolumeClaimConditionType; + }>; + }; + }; +}; export type ConsoleListPvcsQueryVariables = Exact<{ clusterName: Scalars['String']['input']; @@ -2505,16 +4188,278 @@ export type ConsoleListPvcsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type ConsoleListPvcsQuery = { infra_listPVCs?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, id: string, markedForDeletion?: boolean, updateTime: any, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { accessModes?: Array, storageClassName?: string, volumeMode?: string, volumeName?: string, dataSource?: { apiGroup?: string, kind: string, name: string }, dataSourceRef?: { apiGroup?: string, kind: string, name: string, namespace?: string }, resources?: { limits?: any, requests?: any, claims?: Array<{ name: string }> }, selector?: { matchLabels?: any, matchExpressions?: Array<{ key: string, operator: K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorOperator, values?: Array }> } }, status?: { accessModes?: Array, allocatedResources?: any, capacity?: any, phase?: K8s__Io___Api___Core___V1__PersistentVolumeClaimPhase, conditions?: Array<{ lastProbeTime?: any, lastTransitionTime?: any, message?: string, reason?: string, status: K8s__Io___Api___Core___V1__ConditionStatus, type: K8s__Io___Api___Core___V1__PersistentVolumeClaimConditionType }> } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListPvcsQuery = { + infra_listPVCs?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + id: string; + markedForDeletion?: boolean; + updateTime: any; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + accessModes?: Array; + storageClassName?: string; + volumeMode?: string; + volumeName?: string; + dataSource?: { apiGroup?: string; kind: string; name: string }; + dataSourceRef?: { + apiGroup?: string; + kind: string; + name: string; + namespace?: string; + }; + resources?: { + limits?: any; + requests?: any; + claims?: Array<{ name: string }>; + }; + selector?: { + matchLabels?: any; + matchExpressions?: Array<{ + key: string; + operator: K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorOperator; + values?: Array; + }>; + }; + }; + status?: { + accessModes?: Array; + allocatedResources?: any; + capacity?: any; + phase?: K8s__Io___Api___Core___V1__PersistentVolumeClaimPhase; + conditions?: Array<{ + lastProbeTime?: any; + lastTransitionTime?: any; + message?: string; + reason?: string; + status: K8s__Io___Api___Core___V1__ConditionStatus; + type: K8s__Io___Api___Core___V1__PersistentVolumeClaimConditionType; + }>; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleGetPvQueryVariables = Exact<{ clusterName: Scalars['String']['input']; name: Scalars['String']['input']; }>; - -export type ConsoleGetPvQuery = { infra_getPV?: { clusterName: string, creationTime: any, displayName: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { accessModes?: Array, capacity?: any, mountOptions?: Array, persistentVolumeReclaimPolicy?: K8s__Io___Api___Core___V1__PersistentVolumeReclaimPolicy, storageClassName?: string, volumeMode?: string, awsElasticBlockStore?: { fsType?: string, partition?: number, readOnly?: boolean, volumeID: string }, azureDisk?: { cachingMode?: string, diskName: string, diskURI: string, fsType?: string, kind?: string, readOnly?: boolean }, azureFile?: { readOnly?: boolean, secretName: string, secretNamespace?: string, shareName: string }, cephfs?: { monitors: Array, path?: string, readOnly?: boolean, secretFile?: string, user?: string, secretRef?: { name?: string, namespace?: string } }, cinder?: { fsType?: string, readOnly?: boolean, volumeID: string }, claimRef?: { apiVersion?: string, fieldPath?: string, kind?: string, name?: string, namespace?: string, resourceVersion?: string, uid?: string }, csi?: { driver: string, fsType?: string, readOnly?: boolean, volumeAttributes?: any, volumeHandle: string, controllerExpandSecretRef?: { name?: string, namespace?: string }, controllerPublishSecretRef?: { name?: string, namespace?: string }, nodeExpandSecretRef?: { name?: string, namespace?: string }, nodePublishSecretRef?: { name?: string, namespace?: string }, nodeStageSecretRef?: { name?: string, namespace?: string } }, fc?: { fsType?: string, lun?: number, readOnly?: boolean, targetWWNs?: Array, wwids?: Array }, flexVolume?: { driver: string, fsType?: string, options?: any, readOnly?: boolean }, flocker?: { datasetName?: string, datasetUUID?: string }, gcePersistentDisk?: { fsType?: string, partition?: number, pdName: string, readOnly?: boolean }, glusterfs?: { endpoints: string, endpointsNamespace?: string, path: string, readOnly?: boolean }, hostPath?: { path: string, type?: string }, iscsi?: { chapAuthDiscovery?: boolean, chapAuthSession?: boolean, fsType?: string, initiatorName?: string, iqn: string, iscsiInterface?: string, lun: number, portals?: Array, readOnly?: boolean, targetPortal: string }, local?: { fsType?: string, path: string }, nfs?: { path: string, readOnly?: boolean, server: string }, nodeAffinity?: { required?: { nodeSelectorTerms: Array<{ matchExpressions?: Array<{ key: string, operator: K8s__Io___Api___Core___V1__NodeSelectorOperator, values?: Array }>, matchFields?: Array<{ key: string, operator: K8s__Io___Api___Core___V1__NodeSelectorOperator, values?: Array }> }> } }, photonPersistentDisk?: { fsType?: string, pdID: string }, portworxVolume?: { fsType?: string, readOnly?: boolean, volumeID: string }, quobyte?: { group?: string, readOnly?: boolean, registry: string, tenant?: string, user?: string, volume: string }, rbd?: { fsType?: string, image: string, keyring?: string, monitors: Array, pool?: string, readOnly?: boolean, user?: string }, scaleIO?: { fsType?: string, gateway: string, protectionDomain?: string, readOnly?: boolean, sslEnabled?: boolean, storageMode?: string, storagePool?: string, system: string, volumeName?: string }, storageos?: { fsType?: string, readOnly?: boolean, volumeName?: string, volumeNamespace?: string, secretRef?: { apiVersion?: string, fieldPath?: string, kind?: string, name?: string, namespace?: string, resourceVersion?: string, uid?: string } }, vsphereVolume?: { fsType?: string, storagePolicyID?: string, storagePolicyName?: string, volumePath: string } }, status?: { lastPhaseTransitionTime?: any, message?: string, phase?: K8s__Io___Api___Core___V1__PersistentVolumePhase, reason?: string } } }; +export type ConsoleGetPvQuery = { + infra_getPV?: { + clusterName: string; + creationTime: any; + displayName: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + accessModes?: Array; + capacity?: any; + mountOptions?: Array; + persistentVolumeReclaimPolicy?: K8s__Io___Api___Core___V1__PersistentVolumeReclaimPolicy; + storageClassName?: string; + volumeMode?: string; + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + secretNamespace?: string; + shareName: string; + }; + cephfs?: { + monitors: Array; + path?: string; + readOnly?: boolean; + secretFile?: string; + user?: string; + secretRef?: { name?: string; namespace?: string }; + }; + cinder?: { fsType?: string; readOnly?: boolean; volumeID: string }; + claimRef?: { + apiVersion?: string; + fieldPath?: string; + kind?: string; + name?: string; + namespace?: string; + resourceVersion?: string; + uid?: string; + }; + csi?: { + driver: string; + fsType?: string; + readOnly?: boolean; + volumeAttributes?: any; + volumeHandle: string; + controllerExpandSecretRef?: { name?: string; namespace?: string }; + controllerPublishSecretRef?: { name?: string; namespace?: string }; + nodeExpandSecretRef?: { name?: string; namespace?: string }; + nodePublishSecretRef?: { name?: string; namespace?: string }; + nodeStageSecretRef?: { name?: string; namespace?: string }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: Array; + wwids?: Array; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: any; + readOnly?: boolean; + }; + flocker?: { datasetName?: string; datasetUUID?: string }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + glusterfs?: { + endpoints: string; + endpointsNamespace?: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { path: string; type?: string }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: Array; + readOnly?: boolean; + targetPortal: string; + }; + local?: { fsType?: string; path: string }; + nfs?: { path: string; readOnly?: boolean; server: string }; + nodeAffinity?: { + required?: { + nodeSelectorTerms: Array<{ + matchExpressions?: Array<{ + key: string; + operator: K8s__Io___Api___Core___V1__NodeSelectorOperator; + values?: Array; + }>; + matchFields?: Array<{ + key: string; + operator: K8s__Io___Api___Core___V1__NodeSelectorOperator; + values?: Array; + }>; + }>; + }; + }; + photonPersistentDisk?: { fsType?: string; pdID: string }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: Array; + pool?: string; + readOnly?: boolean; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + volumeName?: string; + volumeNamespace?: string; + secretRef?: { + apiVersion?: string; + fieldPath?: string; + kind?: string; + name?: string; + namespace?: string; + resourceVersion?: string; + uid?: string; + }; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }; + status?: { + lastPhaseTransitionTime?: any; + message?: string; + phase?: K8s__Io___Api___Core___V1__PersistentVolumePhase; + reason?: string; + }; + }; +}; export type ConsoleListPvsQueryVariables = Exact<{ clusterName: Scalars['String']['input']; @@ -2522,15 +4467,205 @@ export type ConsoleListPvsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type ConsoleListPvsQuery = { infra_listPVs?: { totalCount: number, edges: Array<{ cursor: string, node: { clusterName: string, creationTime: any, displayName: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { accessModes?: Array, capacity?: any, mountOptions?: Array, persistentVolumeReclaimPolicy?: K8s__Io___Api___Core___V1__PersistentVolumeReclaimPolicy, storageClassName?: string, volumeMode?: string, awsElasticBlockStore?: { fsType?: string, partition?: number, readOnly?: boolean, volumeID: string }, azureDisk?: { cachingMode?: string, diskName: string, diskURI: string, fsType?: string, kind?: string, readOnly?: boolean }, azureFile?: { readOnly?: boolean, secretName: string, secretNamespace?: string, shareName: string }, cephfs?: { monitors: Array, path?: string, readOnly?: boolean, secretFile?: string, user?: string, secretRef?: { name?: string, namespace?: string } }, cinder?: { fsType?: string, readOnly?: boolean, volumeID: string }, claimRef?: { apiVersion?: string, fieldPath?: string, kind?: string, name?: string, namespace?: string, resourceVersion?: string, uid?: string }, csi?: { driver: string, fsType?: string, readOnly?: boolean, volumeAttributes?: any, volumeHandle: string, controllerExpandSecretRef?: { name?: string, namespace?: string }, controllerPublishSecretRef?: { name?: string, namespace?: string }, nodeExpandSecretRef?: { name?: string, namespace?: string }, nodePublishSecretRef?: { name?: string, namespace?: string }, nodeStageSecretRef?: { name?: string, namespace?: string } }, fc?: { fsType?: string, lun?: number, readOnly?: boolean, targetWWNs?: Array, wwids?: Array }, flexVolume?: { driver: string, fsType?: string, options?: any, readOnly?: boolean }, flocker?: { datasetName?: string, datasetUUID?: string }, gcePersistentDisk?: { fsType?: string, partition?: number, pdName: string, readOnly?: boolean }, glusterfs?: { endpoints: string, endpointsNamespace?: string, path: string, readOnly?: boolean }, hostPath?: { path: string, type?: string }, iscsi?: { chapAuthDiscovery?: boolean, chapAuthSession?: boolean, fsType?: string, initiatorName?: string, iqn: string, iscsiInterface?: string, lun: number, portals?: Array, readOnly?: boolean, targetPortal: string }, local?: { fsType?: string, path: string }, nfs?: { path: string, readOnly?: boolean, server: string }, photonPersistentDisk?: { fsType?: string, pdID: string }, portworxVolume?: { fsType?: string, readOnly?: boolean, volumeID: string }, quobyte?: { group?: string, readOnly?: boolean, registry: string, tenant?: string, user?: string, volume: string }, rbd?: { fsType?: string, image: string, keyring?: string, monitors: Array, pool?: string, readOnly?: boolean, user?: string }, scaleIO?: { fsType?: string, gateway: string, protectionDomain?: string, readOnly?: boolean, sslEnabled?: boolean, storageMode?: string, storagePool?: string, system: string, volumeName?: string }, storageos?: { fsType?: string, readOnly?: boolean, volumeName?: string, volumeNamespace?: string, secretRef?: { apiVersion?: string, fieldPath?: string, kind?: string, name?: string, namespace?: string, resourceVersion?: string, uid?: string } }, vsphereVolume?: { fsType?: string, storagePolicyID?: string, storagePolicyName?: string, volumePath: string } }, status?: { lastPhaseTransitionTime?: any, message?: string, phase?: K8s__Io___Api___Core___V1__PersistentVolumePhase, reason?: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListPvsQuery = { + infra_listPVs?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + clusterName: string; + creationTime: any; + displayName: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + accessModes?: Array; + capacity?: any; + mountOptions?: Array; + persistentVolumeReclaimPolicy?: K8s__Io___Api___Core___V1__PersistentVolumeReclaimPolicy; + storageClassName?: string; + volumeMode?: string; + awsElasticBlockStore?: { + fsType?: string; + partition?: number; + readOnly?: boolean; + volumeID: string; + }; + azureDisk?: { + cachingMode?: string; + diskName: string; + diskURI: string; + fsType?: string; + kind?: string; + readOnly?: boolean; + }; + azureFile?: { + readOnly?: boolean; + secretName: string; + secretNamespace?: string; + shareName: string; + }; + cephfs?: { + monitors: Array; + path?: string; + readOnly?: boolean; + secretFile?: string; + user?: string; + secretRef?: { name?: string; namespace?: string }; + }; + cinder?: { fsType?: string; readOnly?: boolean; volumeID: string }; + claimRef?: { + apiVersion?: string; + fieldPath?: string; + kind?: string; + name?: string; + namespace?: string; + resourceVersion?: string; + uid?: string; + }; + csi?: { + driver: string; + fsType?: string; + readOnly?: boolean; + volumeAttributes?: any; + volumeHandle: string; + controllerExpandSecretRef?: { name?: string; namespace?: string }; + controllerPublishSecretRef?: { name?: string; namespace?: string }; + nodeExpandSecretRef?: { name?: string; namespace?: string }; + nodePublishSecretRef?: { name?: string; namespace?: string }; + nodeStageSecretRef?: { name?: string; namespace?: string }; + }; + fc?: { + fsType?: string; + lun?: number; + readOnly?: boolean; + targetWWNs?: Array; + wwids?: Array; + }; + flexVolume?: { + driver: string; + fsType?: string; + options?: any; + readOnly?: boolean; + }; + flocker?: { datasetName?: string; datasetUUID?: string }; + gcePersistentDisk?: { + fsType?: string; + partition?: number; + pdName: string; + readOnly?: boolean; + }; + glusterfs?: { + endpoints: string; + endpointsNamespace?: string; + path: string; + readOnly?: boolean; + }; + hostPath?: { path: string; type?: string }; + iscsi?: { + chapAuthDiscovery?: boolean; + chapAuthSession?: boolean; + fsType?: string; + initiatorName?: string; + iqn: string; + iscsiInterface?: string; + lun: number; + portals?: Array; + readOnly?: boolean; + targetPortal: string; + }; + local?: { fsType?: string; path: string }; + nfs?: { path: string; readOnly?: boolean; server: string }; + photonPersistentDisk?: { fsType?: string; pdID: string }; + portworxVolume?: { + fsType?: string; + readOnly?: boolean; + volumeID: string; + }; + quobyte?: { + group?: string; + readOnly?: boolean; + registry: string; + tenant?: string; + user?: string; + volume: string; + }; + rbd?: { + fsType?: string; + image: string; + keyring?: string; + monitors: Array; + pool?: string; + readOnly?: boolean; + user?: string; + }; + scaleIO?: { + fsType?: string; + gateway: string; + protectionDomain?: string; + readOnly?: boolean; + sslEnabled?: boolean; + storageMode?: string; + storagePool?: string; + system: string; + volumeName?: string; + }; + storageos?: { + fsType?: string; + readOnly?: boolean; + volumeName?: string; + volumeNamespace?: string; + secretRef?: { + apiVersion?: string; + fieldPath?: string; + kind?: string; + name?: string; + namespace?: string; + resourceVersion?: string; + uid?: string; + }; + }; + vsphereVolume?: { + fsType?: string; + storagePolicyID?: string; + storagePolicyName?: string; + volumePath: string; + }; + }; + status?: { + lastPhaseTransitionTime?: any; + message?: string; + phase?: K8s__Io___Api___Core___V1__PersistentVolumePhase; + reason?: string; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleDeletePvMutationVariables = Exact<{ clusterName: Scalars['String']['input']; pvName: Scalars['String']['input']; }>; - export type ConsoleDeletePvMutation = { infra_deletePV: boolean }; export type ConsoleListBuildRunsQueryVariables = Exact<{ @@ -2538,30 +4673,191 @@ export type ConsoleListBuildRunsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type ConsoleListBuildRunsQuery = { cr_listBuildRuns?: { totalCount: number, edges: Array<{ cursor: string, node: { id: string, clusterName: string, creationTime: any, markedForDeletion?: boolean, recordVersion: number, updateTime: any, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { accountName: string, buildOptions?: { buildArgs?: any, buildContexts?: any, contextDir?: string, dockerfileContent?: string, dockerfilePath?: string, targetPlatforms?: Array }, registry: { repo: { name: string, tags: Array } }, resource: { cpu: number, memoryInMb: number } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ description?: string, debug?: boolean, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListBuildRunsQuery = { + cr_listBuildRuns?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + id: string; + clusterName: string; + creationTime: any; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + accountName: string; + buildOptions?: { + buildArgs?: any; + buildContexts?: any; + contextDir?: string; + dockerfileContent?: string; + dockerfilePath?: string; + targetPlatforms?: Array; + }; + registry: { repo: { name: string; tags: Array } }; + resource: { cpu: number; memoryInMb: number }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + description?: string; + debug?: boolean; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleGetBuildRunQueryVariables = Exact<{ buildId: Scalars['ID']['input']; buildRunName: Scalars['String']['input']; }>; - -export type ConsoleGetBuildRunQuery = { cr_getBuildRun?: { clusterName: string, creationTime: any, markedForDeletion?: boolean, recordVersion: number, updateTime: any, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { accountName: string, buildOptions?: { buildArgs?: any, buildContexts?: any, contextDir?: string, dockerfileContent?: string, dockerfilePath?: string, targetPlatforms?: Array }, registry: { repo: { name: string, tags: Array } }, resource: { cpu: number, memoryInMb: number } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ description?: string, debug?: boolean, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }; +export type ConsoleGetBuildRunQuery = { + cr_getBuildRun?: { + clusterName: string; + creationTime: any; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + accountName: string; + buildOptions?: { + buildArgs?: any; + buildContexts?: any; + contextDir?: string; + dockerfileContent?: string; + dockerfilePath?: string; + targetPlatforms?: Array; + }; + registry: { repo: { name: string; tags: Array } }; + resource: { cpu: number; memoryInMb: number }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + description?: string; + debug?: boolean; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; +}; export type ConsoleGetClusterMSvQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleGetClusterMSvQuery = { infra_getClusterManagedService?: { clusterName: string, creationTime: any, displayName: string, isArchived?: boolean, id: string, kind?: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { targetNamespace: string, msvcSpec: { nodeSelector?: any, serviceTemplate: { apiVersion: string, kind: string, spec?: any }, tolerations?: Array<{ effect?: K8s__Io___Api___Core___V1__TaintEffect, key?: string, operator?: K8s__Io___Api___Core___V1__TolerationOperator, tolerationSeconds?: number, value?: string }> } } } }; +export type ConsoleGetClusterMSvQuery = { + infra_getClusterManagedService?: { + clusterName: string; + creationTime: any; + displayName: string; + isArchived?: boolean; + id: string; + kind?: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + targetNamespace: string; + msvcSpec: { + nodeSelector?: any; + serviceTemplate: { apiVersion: string; kind: string; spec?: any }; + tolerations?: Array<{ + effect?: K8s__Io___Api___Core___V1__TaintEffect; + key?: string; + operator?: K8s__Io___Api___Core___V1__TolerationOperator; + tolerationSeconds?: number; + value?: string; + }>; + }; + }; + }; +}; export type ConsoleCreateClusterMSvMutationVariables = Exact<{ service: ClusterManagedServiceIn; }>; - -export type ConsoleCreateClusterMSvMutation = { infra_createClusterManagedService?: { id: string } }; +export type ConsoleCreateClusterMSvMutation = { + infra_createClusterManagedService?: { id: string }; +}; export type ConsoleCloneClusterMSvMutationVariables = Exact<{ clusterName: Scalars['String']['input']; @@ -2570,88 +4866,337 @@ export type ConsoleCloneClusterMSvMutationVariables = Exact<{ displayName: Scalars['String']['input']; }>; - -export type ConsoleCloneClusterMSvMutation = { infra_cloneClusterManagedService?: { id: string } }; +export type ConsoleCloneClusterMSvMutation = { + infra_cloneClusterManagedService?: { id: string }; +}; export type ConsoleUpdateClusterMSvMutationVariables = Exact<{ service: ClusterManagedServiceIn; }>; - -export type ConsoleUpdateClusterMSvMutation = { infra_updateClusterManagedService?: { id: string } }; +export type ConsoleUpdateClusterMSvMutation = { + infra_updateClusterManagedService?: { id: string }; +}; export type ConsoleListClusterMSvsQueryVariables = Exact<{ pagination?: InputMaybe; search?: InputMaybe; }>; - -export type ConsoleListClusterMSvsQuery = { infra_listClusterManagedServices?: { totalCount: number, edges: Array<{ cursor: string, node: { accountName: string, apiVersion?: string, clusterName: string, isArchived?: boolean, creationTime: any, displayName: string, id: string, kind?: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { targetNamespace: string, msvcSpec: { nodeSelector?: any, serviceTemplate: { apiVersion: string, kind: string, spec?: any }, tolerations?: Array<{ effect?: K8s__Io___Api___Core___V1__TaintEffect, key?: string, operator?: K8s__Io___Api___Core___V1__TolerationOperator, tolerationSeconds?: number, value?: string }> } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ debug?: boolean, description?: string, hide?: boolean, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListClusterMSvsQuery = { + infra_listClusterManagedServices?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + accountName: string; + apiVersion?: string; + clusterName: string; + isArchived?: boolean; + creationTime: any; + displayName: string; + id: string; + kind?: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + targetNamespace: string; + msvcSpec: { + nodeSelector?: any; + serviceTemplate: { apiVersion: string; kind: string; spec?: any }; + tolerations?: Array<{ + effect?: K8s__Io___Api___Core___V1__TaintEffect; + key?: string; + operator?: K8s__Io___Api___Core___V1__TolerationOperator; + tolerationSeconds?: number; + value?: string; + }>; + }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + debug?: boolean; + description?: string; + hide?: boolean; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleDeleteClusterMSvMutationVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleDeleteClusterMSvMutation = { infra_deleteClusterManagedService: boolean }; +export type ConsoleDeleteClusterMSvMutation = { + infra_deleteClusterManagedService: boolean; +}; export type ConsoleDeleteByokClusterMutationVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleDeleteByokClusterMutation = { infra_deleteBYOKCluster: boolean }; +export type ConsoleDeleteByokClusterMutation = { + infra_deleteBYOKCluster: boolean; +}; export type ConsoleCreateByokClusterMutationVariables = Exact<{ cluster: ByokClusterIn; }>; - -export type ConsoleCreateByokClusterMutation = { infra_createBYOKCluster?: { id: string } }; +export type ConsoleCreateByokClusterMutation = { + infra_createBYOKCluster?: { id: string }; +}; export type ConsoleUpdateByokClusterMutationVariables = Exact<{ clusterName: Scalars['String']['input']; displayName: Scalars['String']['input']; }>; - -export type ConsoleUpdateByokClusterMutation = { infra_updateBYOKCluster?: { id: string } }; +export type ConsoleUpdateByokClusterMutation = { + infra_updateBYOKCluster?: { id: string }; +}; export type ConsoleGetByokClusterInstructionsQueryVariables = Exact<{ name: Scalars['String']['input']; onlyHelmValues?: InputMaybe; }>; - -export type ConsoleGetByokClusterInstructionsQuery = { infrat_getBYOKClusterSetupInstructions?: Array<{ command: string, title: string }> }; +export type ConsoleGetByokClusterInstructionsQuery = { + infrat_getBYOKClusterSetupInstructions?: Array<{ + command: string; + title: string; + }>; +}; export type ConsoleGetByokClusterQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleGetByokClusterQuery = { infra_getBYOKCluster?: { accountName: string, creationTime: any, displayName: string, id: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, clusterSvcCIDR: string, globalVPN: string, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }; +export type ConsoleGetByokClusterQuery = { + infra_getBYOKCluster?: { + accountName: string; + creationTime: any; + displayName: string; + id: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + clusterSvcCIDR: string; + globalVPN: string; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; +}; export type ConsoleListByokClustersQueryVariables = Exact<{ search?: InputMaybe; pagination?: InputMaybe; }>; - -export type ConsoleListByokClustersQuery = { infra_listBYOKClusters?: { totalCount: number, edges: Array<{ cursor: string, node: { accountName: string, clusterSvcCIDR: string, lastOnlineAt?: any, creationTime: any, displayName: string, globalVPN: string, id: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListByokClustersQuery = { + infra_listBYOKClusters?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + accountName: string; + clusterSvcCIDR: string; + lastOnlineAt?: any; + creationTime: any; + displayName: string; + globalVPN: string; + id: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleGetMSvTemplateQueryVariables = Exact<{ category: Scalars['String']['input']; name: Scalars['String']['input']; }>; - -export type ConsoleGetMSvTemplateQuery = { infra_getManagedServiceTemplate?: { active: boolean, apiVersion?: string, description: string, displayName: string, kind?: string, logoUrl: string, name: string, fields: Array<{ defaultValue?: any, inputType: string, label: string, max?: number, min?: number, name: string, required?: boolean, unit?: string, displayUnit?: string, multiplier?: number }>, outputs: Array<{ description: string, label: string, name: string }>, resources: Array<{ apiVersion?: string, description: string, displayName: string, kind?: string, name: string, fields: Array<{ defaultValue?: any, displayUnit?: string, inputType: string, label: string, max?: number, min?: number, multiplier?: number, name: string, required?: boolean, unit?: string }> }> } }; - -export type ConsoleListMSvTemplatesQueryVariables = Exact<{ [key: string]: never; }>; - - -export type ConsoleListMSvTemplatesQuery = { infra_listManagedServiceTemplates?: Array<{ category: string, displayName: string, items: Array<{ active: boolean, apiVersion?: string, description: string, displayName: string, kind?: string, logoUrl: string, name: string, fields: Array<{ defaultValue?: any, inputType: string, label: string, max?: number, min?: number, name: string, required?: boolean, unit?: string, displayUnit?: string, multiplier?: number }>, outputs: Array<{ description: string, label: string, name: string }>, resources: Array<{ apiVersion?: string, description: string, displayName: string, kind?: string, name: string, fields: Array<{ defaultValue?: any, displayUnit?: string, inputType: string, label: string, max?: number, min?: number, multiplier?: number, name: string, required?: boolean, unit?: string }> }> }> }> }; +export type ConsoleGetMSvTemplateQuery = { + infra_getManagedServiceTemplate?: { + active: boolean; + apiVersion?: string; + description: string; + displayName: string; + kind?: string; + logoUrl: string; + name: string; + fields: Array<{ + defaultValue?: any; + inputType: string; + label: string; + max?: number; + min?: number; + name: string; + required?: boolean; + unit?: string; + displayUnit?: string; + multiplier?: number; + }>; + outputs: Array<{ description: string; label: string; name: string }>; + resources: Array<{ + apiVersion?: string; + description: string; + displayName: string; + kind?: string; + name: string; + fields: Array<{ + defaultValue?: any; + displayUnit?: string; + inputType: string; + label: string; + max?: number; + min?: number; + multiplier?: number; + name: string; + required?: boolean; + unit?: string; + }>; + }>; + }; +}; + +export type ConsoleListMSvTemplatesQueryVariables = Exact<{ + [key: string]: never; +}>; + +export type ConsoleListMSvTemplatesQuery = { + infra_listManagedServiceTemplates?: Array<{ + category: string; + displayName: string; + items: Array<{ + active: boolean; + apiVersion?: string; + description: string; + displayName: string; + kind?: string; + logoUrl: string; + name: string; + fields: Array<{ + defaultValue?: any; + inputType: string; + label: string; + max?: number; + min?: number; + name: string; + required?: boolean; + unit?: string; + displayUnit?: string; + multiplier?: number; + }>; + outputs: Array<{ description: string; label: string; name: string }>; + resources: Array<{ + apiVersion?: string; + description: string; + displayName: string; + kind?: string; + name: string; + fields: Array<{ + defaultValue?: any; + displayUnit?: string; + inputType: string; + label: string; + max?: number; + min?: number; + multiplier?: number; + name: string; + required?: boolean; + unit?: string; + }>; + }>; + }>; + }>; +}; export type ConsoleGetManagedResourceQueryVariables = Exact<{ name: Scalars['String']['input']; @@ -2659,48 +5204,255 @@ export type ConsoleGetManagedResourceQueryVariables = Exact<{ envName?: InputMaybe; }>; - -export type ConsoleGetManagedResourceQuery = { core_getManagedResource?: { accountName: string, apiVersion?: string, clusterName: string, creationTime: any, displayName: string, enabled?: boolean, environmentName: string, id: string, isImported: boolean, kind?: string, managedServiceName: string, markedForDeletion?: boolean, mresRef: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec: { resourceNamePrefix?: string, resourceTemplate: { apiVersion: string, kind: string, msvcRef: { apiVersion?: string, kind?: string, name: string, namespace: string } } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ debug?: boolean, description?: string, hide?: boolean, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncedOutputSecretRef?: { apiVersion?: string, data?: any, immutable?: boolean, kind?: string, stringData?: any, type?: K8s__Io___Api___Core___V1__SecretType, metadata?: { name: string } }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }; +export type ConsoleGetManagedResourceQuery = { + core_getManagedResource?: { + accountName: string; + apiVersion?: string; + clusterName: string; + creationTime: any; + displayName: string; + enabled?: boolean; + environmentName: string; + id: string; + isImported: boolean; + kind?: string; + managedServiceName: string; + markedForDeletion?: boolean; + mresRef: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec: { + resourceNamePrefix?: string; + resourceTemplate: { + apiVersion: string; + kind: string; + msvcRef: { + apiVersion?: string; + kind?: string; + name: string; + namespace: string; + }; + }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + debug?: boolean; + description?: string; + hide?: boolean; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncedOutputSecretRef?: { + apiVersion?: string; + data?: any; + immutable?: boolean; + kind?: string; + stringData?: any; + type?: K8s__Io___Api___Core___V1__SecretType; + metadata?: { name: string }; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; +}; export type ConsoleCreateManagedResourceMutationVariables = Exact<{ msvcName: Scalars['String']['input']; mres: ManagedResourceIn; }>; - -export type ConsoleCreateManagedResourceMutation = { core_createManagedResource?: { id: string } }; +export type ConsoleCreateManagedResourceMutation = { + core_createManagedResource?: { id: string }; +}; export type ConsoleUpdateManagedResourceMutationVariables = Exact<{ msvcName: Scalars['String']['input']; mres: ManagedResourceIn; }>; - -export type ConsoleUpdateManagedResourceMutation = { core_updateManagedResource?: { id: string } }; +export type ConsoleUpdateManagedResourceMutation = { + core_updateManagedResource?: { id: string }; +}; export type ConsoleListManagedResourcesQueryVariables = Exact<{ search?: InputMaybe; pq?: InputMaybe; }>; - -export type ConsoleListManagedResourcesQuery = { core_listManagedResources?: { totalCount: number, edges: Array<{ cursor: string, node: { accountName: string, apiVersion?: string, clusterName: string, creationTime: any, displayName: string, enabled?: boolean, environmentName: string, id: string, isImported: boolean, kind?: string, managedServiceName: string, markedForDeletion?: boolean, mresRef: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec: { resourceNamePrefix?: string, resourceTemplate: { apiVersion: string, kind: string, msvcRef: { apiVersion?: string, kind?: string, name: string, namespace: string } } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ debug?: boolean, description?: string, hide?: boolean, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncedOutputSecretRef?: { apiVersion?: string, data?: any, immutable?: boolean, kind?: string, stringData?: any, type?: K8s__Io___Api___Core___V1__SecretType, metadata?: { name: string } }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasPrevPage?: boolean, hasNextPage?: boolean, startCursor?: string } } }; +export type ConsoleListManagedResourcesQuery = { + core_listManagedResources?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + accountName: string; + apiVersion?: string; + clusterName: string; + creationTime: any; + displayName: string; + enabled?: boolean; + environmentName: string; + id: string; + isImported: boolean; + kind?: string; + managedServiceName: string; + markedForDeletion?: boolean; + mresRef: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec: { + resourceNamePrefix?: string; + resourceTemplate: { + apiVersion: string; + kind: string; + msvcRef: { + apiVersion?: string; + kind?: string; + name: string; + namespace: string; + }; + }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + debug?: boolean; + description?: string; + hide?: boolean; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncedOutputSecretRef?: { + apiVersion?: string; + data?: any; + immutable?: boolean; + kind?: string; + stringData?: any; + type?: K8s__Io___Api___Core___V1__SecretType; + metadata?: { name: string }; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasPrevPage?: boolean; + hasNextPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleDeleteManagedResourceMutationVariables = Exact<{ msvcName: Scalars['String']['input']; mresName: Scalars['String']['input']; }>; - -export type ConsoleDeleteManagedResourceMutation = { core_deleteManagedResource: boolean }; +export type ConsoleDeleteManagedResourceMutation = { + core_deleteManagedResource: boolean; +}; export type ConsoleGetHelmChartQueryVariables = Exact<{ clusterName: Scalars['String']['input']; name: Scalars['String']['input']; }>; - -export type ConsoleGetHelmChartQuery = { infra_getHelmRelease?: { creationTime: any, displayName: string, markedForDeletion?: boolean, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { name: string, namespace?: string }, spec?: { chartName: string, chartRepoURL: string, chartVersion: string, values: any }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, releaseNotes: string, releaseStatus: string, checkList?: Array<{ description?: string, debug?: boolean, title: string, name: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> } } }; +export type ConsoleGetHelmChartQuery = { + infra_getHelmRelease?: { + creationTime: any; + displayName: string; + markedForDeletion?: boolean; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { name: string; namespace?: string }; + spec?: { + chartName: string; + chartRepoURL: string; + chartVersion: string; + values: any; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + releaseNotes: string; + releaseStatus: string; + checkList?: Array<{ + description?: string; + debug?: boolean; + title: string; + name: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + }; +}; export type ConsoleListHelmChartQueryVariables = Exact<{ clusterName: Scalars['String']['input']; @@ -2708,98 +5460,276 @@ export type ConsoleListHelmChartQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleListHelmChartQuery = { infra_listHelmReleases?: { totalCount: number, edges: Array<{ cursor: string, node: { clusterName: string, creationTime: any, displayName: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { generation: number, name: string, namespace?: string, annotations?: any }, spec?: { chartName: string, chartRepoURL: string, chartVersion: string, values: any }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, releaseNotes: string, releaseStatus: string, checkList?: Array<{ description?: string, debug?: boolean, title: string, name: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListHelmChartQuery = { + infra_listHelmReleases?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + clusterName: string; + creationTime: any; + displayName: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + generation: number; + name: string; + namespace?: string; + annotations?: any; + }; + spec?: { + chartName: string; + chartRepoURL: string; + chartVersion: string; + values: any; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + releaseNotes: string; + releaseStatus: string; + checkList?: Array<{ + description?: string; + debug?: boolean; + title: string; + name: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCreateHelmChartMutationVariables = Exact<{ clusterName: Scalars['String']['input']; release: HelmReleaseIn; }>; - -export type ConsoleCreateHelmChartMutation = { infra_createHelmRelease?: { id: string } }; +export type ConsoleCreateHelmChartMutation = { + infra_createHelmRelease?: { id: string }; +}; export type ConsoleUpdateHelmChartMutationVariables = Exact<{ clusterName: Scalars['String']['input']; release: HelmReleaseIn; }>; - -export type ConsoleUpdateHelmChartMutation = { infra_updateHelmRelease?: { id: string } }; +export type ConsoleUpdateHelmChartMutation = { + infra_updateHelmRelease?: { id: string }; +}; export type ConsoleDeleteHelmChartMutationVariables = Exact<{ clusterName: Scalars['String']['input']; releaseName: Scalars['String']['input']; }>; - -export type ConsoleDeleteHelmChartMutation = { infra_deleteHelmRelease: boolean }; +export type ConsoleDeleteHelmChartMutation = { + infra_deleteHelmRelease: boolean; +}; export type ConsoleListNamespacesQueryVariables = Exact<{ clusterName: Scalars['String']['input']; }>; - -export type ConsoleListNamespacesQuery = { infra_listNamespaces?: { totalCount: number, edges: Array<{ cursor: string, node: { accountName: string, apiVersion?: string, clusterName: string, creationTime: any, displayName: string, id: string, kind?: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { finalizers?: Array } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListNamespacesQuery = { + infra_listNamespaces?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + accountName: string; + apiVersion?: string; + clusterName: string; + creationTime: any; + displayName: string; + id: string; + kind?: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { finalizers?: Array }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleCreateImagePullSecretMutationVariables = Exact<{ pullSecret: ImagePullSecretIn; }>; - -export type ConsoleCreateImagePullSecretMutation = { core_createImagePullSecret?: { id: string } }; +export type ConsoleCreateImagePullSecretMutation = { + core_createImagePullSecret?: { id: string }; +}; export type ConsoleUpdateImagePullSecretMutationVariables = Exact<{ pullSecret: ImagePullSecretIn; }>; - -export type ConsoleUpdateImagePullSecretMutation = { core_updateImagePullSecret?: { id: string } }; +export type ConsoleUpdateImagePullSecretMutation = { + core_updateImagePullSecret?: { id: string }; +}; export type ConsoleDeleteImagePullSecretsMutationVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type ConsoleDeleteImagePullSecretsMutation = { core_deleteImagePullSecret: boolean }; +export type ConsoleDeleteImagePullSecretsMutation = { + core_deleteImagePullSecret: boolean; +}; export type ConsoleListImagePullSecretsQueryVariables = Exact<{ search?: InputMaybe; pq?: InputMaybe; }>; - -export type ConsoleListImagePullSecretsQuery = { core_listImagePullSecrets?: { totalCount: number, edges: Array<{ cursor: string, node: { accountName: string, creationTime: any, displayName: string, dockerConfigJson?: string, format: Github__Com___Kloudlite___Api___Apps___Console___Internal___Entities__PullSecretFormat, id: string, markedForDeletion?: boolean, recordVersion: number, registryPassword?: string, registryURL?: string, registryUsername?: string, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListImagePullSecretsQuery = { + core_listImagePullSecrets?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + accountName: string; + creationTime: any; + displayName: string; + dockerConfigJson?: string; + format: Github__Com___Kloudlite___Api___Apps___Console___Internal___Entities__PullSecretFormat; + id: string; + markedForDeletion?: boolean; + recordVersion: number; + registryPassword?: string; + registryURL?: string; + registryUsername?: string; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleDeleteGlobalVpnDeviceMutationVariables = Exact<{ gvpn: Scalars['String']['input']; deviceName: Scalars['String']['input']; }>; - -export type ConsoleDeleteGlobalVpnDeviceMutation = { infra_deleteGlobalVPNDevice: boolean }; +export type ConsoleDeleteGlobalVpnDeviceMutation = { + infra_deleteGlobalVPNDevice: boolean; +}; export type ConsoleCreateGlobalVpnDeviceMutationVariables = Exact<{ gvpnDevice: GlobalVpnDeviceIn; }>; - -export type ConsoleCreateGlobalVpnDeviceMutation = { infra_createGlobalVPNDevice?: { id: string } }; +export type ConsoleCreateGlobalVpnDeviceMutation = { + infra_createGlobalVPNDevice?: { id: string }; +}; export type ConsoleUpdateGlobalVpnDeviceMutationVariables = Exact<{ gvpnDevice: GlobalVpnDeviceIn; }>; - -export type ConsoleUpdateGlobalVpnDeviceMutation = { infra_updateGlobalVPNDevice?: { id: string } }; +export type ConsoleUpdateGlobalVpnDeviceMutation = { + infra_updateGlobalVPNDevice?: { id: string }; +}; export type ConsoleGetGlobalVpnDeviceQueryVariables = Exact<{ gvpn: Scalars['String']['input']; deviceName: Scalars['String']['input']; }>; - -export type ConsoleGetGlobalVpnDeviceQuery = { infra_getGlobalVPNDevice?: { accountName: string, creationTime: any, displayName: string, globalVPNName: string, id: string, ipAddr: string, markedForDeletion?: boolean, privateKey: string, publicKey: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, wireguardConfig?: { value: string, encoding: string } } }; +export type ConsoleGetGlobalVpnDeviceQuery = { + infra_getGlobalVPNDevice?: { + accountName: string; + creationTime: any; + displayName: string; + globalVPNName: string; + id: string; + ipAddr: string; + markedForDeletion?: boolean; + privateKey: string; + publicKey: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + wireguardConfig?: { value: string; encoding: string }; + }; +}; export type ConsoleListGlobalVpnDevicesQueryVariables = Exact<{ gvpn: Scalars['String']['input']; @@ -2807,47 +5737,147 @@ export type ConsoleListGlobalVpnDevicesQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleListGlobalVpnDevicesQuery = { infra_listGlobalVPNDevices?: { totalCount: number, edges: Array<{ cursor: string, node: { accountName: string, creationMethod?: string, creationTime: any, displayName: string, globalVPNName: string, id: string, ipAddr: string, markedForDeletion?: boolean, privateKey: string, publicKey: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListGlobalVpnDevicesQuery = { + infra_listGlobalVPNDevices?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + accountName: string; + creationMethod?: string; + creationTime: any; + displayName: string; + globalVPNName: string; + id: string; + ipAddr: string; + markedForDeletion?: boolean; + privateKey: string; + publicKey: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleUpdateNotificationConfigMutationVariables = Exact<{ config: NotificationConfIn; }>; - -export type ConsoleUpdateNotificationConfigMutation = { comms_updateNotificationConfig?: { id: string } }; +export type ConsoleUpdateNotificationConfigMutation = { + comms_updateNotificationConfig?: { id: string }; +}; export type ConsoleUpdateSubscriptionConfigMutationVariables = Exact<{ config: SubscriptionIn; commsUpdateSubscriptionConfigId: Scalars['ID']['input']; }>; +export type ConsoleUpdateSubscriptionConfigMutation = { + comms_updateSubscriptionConfig?: { id: string }; +}; -export type ConsoleUpdateSubscriptionConfigMutation = { comms_updateSubscriptionConfig?: { id: string } }; - -export type ConsoleMarkAllNotificationAsReadMutationVariables = Exact<{ [key: string]: never; }>; - - -export type ConsoleMarkAllNotificationAsReadMutation = { comms_markAllNotificationAsRead: boolean }; +export type ConsoleMarkAllNotificationAsReadMutationVariables = Exact<{ + [key: string]: never; +}>; -export type ConsoleGetNotificationConfigQueryVariables = Exact<{ [key: string]: never; }>; +export type ConsoleMarkAllNotificationAsReadMutation = { + comms_markAllNotificationAsRead: boolean; +}; +export type ConsoleGetNotificationConfigQueryVariables = Exact<{ + [key: string]: never; +}>; -export type ConsoleGetNotificationConfigQuery = { comms_getNotificationConfig?: { accountName: string, creationTime: any, id: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, email?: { enabled: boolean, mailAddress: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, slack?: { enabled: boolean, url: string }, telegram?: { chatId: string, enabled: boolean, token: string }, webhook?: { enabled: boolean, url: string } } }; +export type ConsoleGetNotificationConfigQuery = { + comms_getNotificationConfig?: { + accountName: string; + creationTime: any; + id: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + email?: { enabled: boolean; mailAddress: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + slack?: { enabled: boolean; url: string }; + telegram?: { chatId: string; enabled: boolean; token: string }; + webhook?: { enabled: boolean; url: string }; + }; +}; export type ConsoleGetSubscriptionConfigQueryVariables = Exact<{ commsGetSubscriptionConfigId: Scalars['ID']['input']; }>; - -export type ConsoleGetSubscriptionConfigQuery = { comms_getSubscriptionConfig?: { accountName: string, creationTime: any, enabled: boolean, id: string, mailAddress: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string } } }; +export type ConsoleGetSubscriptionConfigQuery = { + comms_getSubscriptionConfig?: { + accountName: string; + creationTime: any; + enabled: boolean; + id: string; + mailAddress: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + }; +}; export type ConsoleListNotificationsQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type ConsoleListNotificationsQuery = { comms_listNotifications?: { totalCount: number, edges: Array<{ cursor: string, node: { accountName: string, creationTime: any, id: string, markedForDeletion?: boolean, notificationType: Github__Com___Kloudlite___Api___Apps___Comms___Types__NotificationType, priority: number, read: boolean, recordVersion: number, updateTime: any, content: { body: string, image: string, link: string, subject: string, title: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListNotificationsQuery = { + comms_listNotifications?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + accountName: string; + creationTime: any; + id: string; + markedForDeletion?: boolean; + notificationType: Github__Com___Kloudlite___Api___Apps___Comms___Types__NotificationType; + priority: number; + read: boolean; + recordVersion: number; + updateTime: any; + content: { + body: string; + image: string; + link: string; + subject: string; + title: string; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type ConsoleImportManagedResourceMutationVariables = Exact<{ envName: Scalars['String']['input']; @@ -2856,16 +5886,18 @@ export type ConsoleImportManagedResourceMutationVariables = Exact<{ importName: Scalars['String']['input']; }>; - -export type ConsoleImportManagedResourceMutation = { core_importManagedResource?: { id: string } }; +export type ConsoleImportManagedResourceMutation = { + core_importManagedResource?: { id: string }; +}; export type ConsoleDeleteImportedManagedResourceMutationVariables = Exact<{ envName: Scalars['String']['input']; importName: Scalars['String']['input']; }>; - -export type ConsoleDeleteImportedManagedResourceMutation = { core_deleteImportedManagedResource: boolean }; +export type ConsoleDeleteImportedManagedResourceMutation = { + core_deleteImportedManagedResource: boolean; +}; export type ConsoleListImportedManagedResourcesQueryVariables = Exact<{ envName: Scalars['String']['input']; @@ -2873,22 +5905,133 @@ export type ConsoleListImportedManagedResourcesQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type ConsoleListImportedManagedResourcesQuery = { core_listImportedManagedResources?: { totalCount: number, edges: Array<{ cursor: string, node: { accountName: string, creationTime: any, displayName: string, environmentName: string, id: string, markedForDeletion?: boolean, name: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, managedResourceRef: { id: string, name: string, namespace: string }, secretRef: { name: string, namespace?: string }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any }, managedResource?: { accountName: string, apiVersion?: string, clusterName: string, creationTime: any, displayName: string, enabled?: boolean, environmentName: string, id: string, isImported: boolean, kind?: string, managedServiceName: string, markedForDeletion?: boolean, mresRef: string, recordVersion: number, updateTime: any, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec: { resourceNamePrefix?: string, resourceTemplate: { apiVersion: string, kind: string, spec?: any, msvcRef: { apiVersion?: string, kind?: string, name: string, namespace: string } } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ debug?: boolean, description?: string, hide?: boolean, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncedOutputSecretRef?: { apiVersion?: string, data?: any, immutable?: boolean, kind?: string, stringData?: any, type?: K8s__Io___Api___Core___V1__SecretType } } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type ConsoleListImportedManagedResourcesQuery = { + core_listImportedManagedResources?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + accountName: string; + creationTime: any; + displayName: string; + environmentName: string; + id: string; + markedForDeletion?: boolean; + name: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + managedResourceRef: { id: string; name: string; namespace: string }; + secretRef: { name: string; namespace?: string }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + managedResource?: { + accountName: string; + apiVersion?: string; + clusterName: string; + creationTime: any; + displayName: string; + enabled?: boolean; + environmentName: string; + id: string; + isImported: boolean; + kind?: string; + managedServiceName: string; + markedForDeletion?: boolean; + mresRef: string; + recordVersion: number; + updateTime: any; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec: { + resourceNamePrefix?: string; + resourceTemplate: { + apiVersion: string; + kind: string; + spec?: any; + msvcRef: { + apiVersion?: string; + kind?: string; + name: string; + namespace: string; + }; + }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + debug?: boolean; + description?: string; + hide?: boolean; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncedOutputSecretRef?: { + apiVersion?: string; + data?: any; + immutable?: boolean; + kind?: string; + stringData?: any; + type?: K8s__Io___Api___Core___V1__SecretType; + }; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type IotconsoleAccountCheckNameAvailabilityQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type IotconsoleAccountCheckNameAvailabilityQuery = { accounts_checkNameAvailability: { result: boolean, suggestedNames?: Array } }; +export type IotconsoleAccountCheckNameAvailabilityQuery = { + accounts_checkNameAvailability: { + result: boolean; + suggestedNames?: Array; + }; +}; export type IotconsoleCrCheckNameAvailabilityQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type IotconsoleCrCheckNameAvailabilityQuery = { cr_checkUserNameAvailability: { result: boolean, suggestedNames?: Array } }; +export type IotconsoleCrCheckNameAvailabilityQuery = { + cr_checkUserNameAvailability: { + result: boolean; + suggestedNames?: Array; + }; +}; export type IotconsoleInfraCheckNameAvailabilityQueryVariables = Exact<{ resType: ResType; @@ -2896,8 +6039,12 @@ export type IotconsoleInfraCheckNameAvailabilityQueryVariables = Exact<{ clusterName?: InputMaybe; }>; - -export type IotconsoleInfraCheckNameAvailabilityQuery = { infra_checkNameAvailability: { suggestedNames: Array, result: boolean } }; +export type IotconsoleInfraCheckNameAvailabilityQuery = { + infra_checkNameAvailability: { + suggestedNames: Array; + result: boolean; + }; +}; export type IotconsoleCoreCheckNameAvailabilityQueryVariables = Exact<{ resType: ConsoleResType; @@ -2906,114 +6053,191 @@ export type IotconsoleCoreCheckNameAvailabilityQueryVariables = Exact<{ envName?: InputMaybe; }>; +export type IotconsoleCoreCheckNameAvailabilityQuery = { + core_checkNameAvailability: { result: boolean }; +}; -export type IotconsoleCoreCheckNameAvailabilityQuery = { core_checkNameAvailability: { result: boolean } }; - -export type IotconsoleWhoAmIQueryVariables = Exact<{ [key: string]: never; }>; - +export type IotconsoleWhoAmIQueryVariables = Exact<{ [key: string]: never }>; -export type IotconsoleWhoAmIQuery = { auth_me?: { id: string, email: string, providerGitlab?: any, providerGithub?: any, providerGoogle?: any } }; +export type IotconsoleWhoAmIQuery = { + auth_me?: { + id: string; + email: string; + providerGitlab?: any; + providerGithub?: any; + providerGoogle?: any; + }; +}; export type IotconsoleCreateAccountMutationVariables = Exact<{ account: AccountIn; }>; +export type IotconsoleCreateAccountMutation = { + accounts_createAccount: { displayName: string }; +}; -export type IotconsoleCreateAccountMutation = { accounts_createAccount: { displayName: string } }; - -export type IotconsoleListAccountsQueryVariables = Exact<{ [key: string]: never; }>; - +export type IotconsoleListAccountsQueryVariables = Exact<{ + [key: string]: never; +}>; -export type IotconsoleListAccountsQuery = { accounts_listAccounts?: Array<{ id: string, updateTime: any, displayName: string, metadata?: { name: string, annotations?: any } }> }; +export type IotconsoleListAccountsQuery = { + accounts_listAccounts?: Array<{ + id: string; + updateTime: any; + displayName: string; + metadata?: { name: string; annotations?: any }; + }>; +}; export type IotconsoleUpdateAccountMutationVariables = Exact<{ account: AccountIn; }>; - -export type IotconsoleUpdateAccountMutation = { accounts_updateAccount: { id: string } }; +export type IotconsoleUpdateAccountMutation = { + accounts_updateAccount: { id: string }; +}; export type IotconsoleGetAccountQueryVariables = Exact<{ accountName: Scalars['String']['input']; }>; - -export type IotconsoleGetAccountQuery = { accounts_getAccount?: { targetNamespace?: string, updateTime: any, contactEmail?: string, displayName: string, metadata?: { name: string, annotations?: any } } }; +export type IotconsoleGetAccountQuery = { + accounts_getAccount?: { + targetNamespace?: string; + updateTime: any; + contactEmail?: string; + displayName: string; + metadata?: { name: string; annotations?: any }; + }; +}; export type IotconsoleDeleteAccountMutationVariables = Exact<{ accountName: Scalars['String']['input']; }>; - -export type IotconsoleDeleteAccountMutation = { accounts_deleteAccount: boolean }; +export type IotconsoleDeleteAccountMutation = { + accounts_deleteAccount: boolean; +}; export type IotconsoleDeleteIotProjectMutationVariables = Exact<{ name: Scalars['String']['input']; }>; - export type IotconsoleDeleteIotProjectMutation = { iot_deleteProject: boolean }; export type IotconsoleCreateIotProjectMutationVariables = Exact<{ project: IotProjectIn; }>; - -export type IotconsoleCreateIotProjectMutation = { iot_createProject?: { id: string } }; +export type IotconsoleCreateIotProjectMutation = { + iot_createProject?: { id: string }; +}; export type IotconsoleUpdateIotProjectMutationVariables = Exact<{ project: IotProjectIn; }>; - -export type IotconsoleUpdateIotProjectMutation = { iot_updateProject?: { id: string } }; +export type IotconsoleUpdateIotProjectMutation = { + iot_updateProject?: { id: string }; +}; export type IotconsoleGetIotProjectQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type IotconsoleGetIotProjectQuery = { iot_getProject?: { accountName: string, creationTime: any, displayName: string, id: string, markedForDeletion?: boolean, name: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string } } }; +export type IotconsoleGetIotProjectQuery = { + iot_getProject?: { + accountName: string; + creationTime: any; + displayName: string; + id: string; + markedForDeletion?: boolean; + name: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + }; +}; export type IotconsoleListIotProjectsQueryVariables = Exact<{ search?: InputMaybe; pq?: InputMaybe; }>; - -export type IotconsoleListIotProjectsQuery = { iot_listProjects?: { totalCount: number, edges: Array<{ cursor: string, node: { displayName: string, name: string, creationTime: any, markedForDeletion?: boolean, updateTime: any, createdBy: { userEmail: string, userName: string, userId: string }, lastUpdatedBy: { userEmail: string, userName: string, userId: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type IotconsoleListIotProjectsQuery = { + iot_listProjects?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + displayName: string; + name: string; + creationTime: any; + markedForDeletion?: boolean; + updateTime: any; + createdBy: { userEmail: string; userName: string; userId: string }; + lastUpdatedBy: { userEmail: string; userName: string; userId: string }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type IotconsoleDeleteIotDeviceBlueprintMutationVariables = Exact<{ projectName: Scalars['String']['input']; name: Scalars['String']['input']; }>; - -export type IotconsoleDeleteIotDeviceBlueprintMutation = { iot_deleteDeviceBlueprint: boolean }; +export type IotconsoleDeleteIotDeviceBlueprintMutation = { + iot_deleteDeviceBlueprint: boolean; +}; export type IotconsoleCreateIotDeviceBlueprintMutationVariables = Exact<{ deviceBlueprint: IotDeviceBlueprintIn; projectName: Scalars['String']['input']; }>; - -export type IotconsoleCreateIotDeviceBlueprintMutation = { iot_createDeviceBlueprint?: { id: string } }; +export type IotconsoleCreateIotDeviceBlueprintMutation = { + iot_createDeviceBlueprint?: { id: string }; +}; export type IotconsoleUpdateIotDeviceBlueprintMutationVariables = Exact<{ deviceBlueprint: IotDeviceBlueprintIn; projectName: Scalars['String']['input']; }>; - -export type IotconsoleUpdateIotDeviceBlueprintMutation = { iot_updateDeviceBlueprint?: { id: string } }; +export type IotconsoleUpdateIotDeviceBlueprintMutation = { + iot_updateDeviceBlueprint?: { id: string }; +}; export type IotconsoleGetIotDeviceBlueprintQueryVariables = Exact<{ projectName: Scalars['String']['input']; name: Scalars['String']['input']; }>; - -export type IotconsoleGetIotDeviceBlueprintQuery = { iot_getDeviceBlueprint?: { accountName: string, bluePrintType: Github__Com___Kloudlite___Api___Apps___Iot____Console___Internal___Entities__BluePrintType, creationTime: any, displayName: string, id: string, markedForDeletion?: boolean, name: string, recordVersion: number, updateTime: any, version: string, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string } } }; +export type IotconsoleGetIotDeviceBlueprintQuery = { + iot_getDeviceBlueprint?: { + accountName: string; + bluePrintType: Github__Com___Kloudlite___Api___Apps___Iot____Console___Internal___Entities__BluePrintType; + creationTime: any; + displayName: string; + id: string; + markedForDeletion?: boolean; + name: string; + recordVersion: number; + updateTime: any; + version: string; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + }; +}; export type IotconsoleListIotDeviceBlueprintsQueryVariables = Exact<{ search?: InputMaybe; @@ -3021,40 +6245,83 @@ export type IotconsoleListIotDeviceBlueprintsQueryVariables = Exact<{ projectName: Scalars['String']['input']; }>; - -export type IotconsoleListIotDeviceBlueprintsQuery = { iot_listDeviceBlueprints?: { totalCount: number, edges: Array<{ cursor: string, node: { accountName: string, bluePrintType: Github__Com___Kloudlite___Api___Apps___Iot____Console___Internal___Entities__BluePrintType, creationTime: any, displayName: string, id: string, markedForDeletion?: boolean, name: string, recordVersion: number, updateTime: any, version: string, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type IotconsoleListIotDeviceBlueprintsQuery = { + iot_listDeviceBlueprints?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + accountName: string; + bluePrintType: Github__Com___Kloudlite___Api___Apps___Iot____Console___Internal___Entities__BluePrintType; + creationTime: any; + displayName: string; + id: string; + markedForDeletion?: boolean; + name: string; + recordVersion: number; + updateTime: any; + version: string; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type IotconsoleDeleteIotDeploymentMutationVariables = Exact<{ projectName: Scalars['String']['input']; name: Scalars['String']['input']; }>; - -export type IotconsoleDeleteIotDeploymentMutation = { iot_deleteDeployment: boolean }; +export type IotconsoleDeleteIotDeploymentMutation = { + iot_deleteDeployment: boolean; +}; export type IotconsoleCreateIotDeploymentMutationVariables = Exact<{ projectName: Scalars['String']['input']; deployment: IotDeploymentIn; }>; - -export type IotconsoleCreateIotDeploymentMutation = { iot_createDeployment?: { id: string } }; +export type IotconsoleCreateIotDeploymentMutation = { + iot_createDeployment?: { id: string }; +}; export type IotconsoleUpdateIotDeploymentMutationVariables = Exact<{ projectName: Scalars['String']['input']; deployment: IotDeploymentIn; }>; - -export type IotconsoleUpdateIotDeploymentMutation = { iot_updateDeployment?: { id: string } }; +export type IotconsoleUpdateIotDeploymentMutation = { + iot_updateDeployment?: { id: string }; +}; export type IotconsoleGetIotDeploymentQueryVariables = Exact<{ projectName: Scalars['String']['input']; name: Scalars['String']['input']; }>; - -export type IotconsoleGetIotDeploymentQuery = { iot_getDeployment?: { accountName: string, CIDR: string, creationTime: any, displayName: string, id: string, markedForDeletion?: boolean, name: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, exposedServices: Array<{ ip: string, name: string }>, lastUpdatedBy: { userEmail: string, userId: string, userName: string } } }; +export type IotconsoleGetIotDeploymentQuery = { + iot_getDeployment?: { + accountName: string; + CIDR: string; + creationTime: any; + displayName: string; + id: string; + markedForDeletion?: boolean; + name: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + exposedServices: Array<{ ip: string; name: string }>; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + }; +}; export type IotconsoleListIotDeploymentsQueryVariables = Exact<{ search?: InputMaybe; @@ -3062,8 +6329,34 @@ export type IotconsoleListIotDeploymentsQueryVariables = Exact<{ projectName: Scalars['String']['input']; }>; - -export type IotconsoleListIotDeploymentsQuery = { iot_listDeployments?: { totalCount: number, edges: Array<{ cursor: string, node: { accountName: string, CIDR: string, creationTime: any, displayName: string, id: string, markedForDeletion?: boolean, name: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, exposedServices: Array<{ ip: string, name: string }>, lastUpdatedBy: { userEmail: string, userId: string, userName: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type IotconsoleListIotDeploymentsQuery = { + iot_listDeployments?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + accountName: string; + CIDR: string; + creationTime: any; + displayName: string; + id: string; + markedForDeletion?: boolean; + name: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + exposedServices: Array<{ ip: string; name: string }>; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type IotconsoleDeleteIotAppMutationVariables = Exact<{ projectName: Scalars['String']['input']; @@ -3071,7 +6364,6 @@ export type IotconsoleDeleteIotAppMutationVariables = Exact<{ name: Scalars['String']['input']; }>; - export type IotconsoleDeleteIotAppMutation = { iot_deleteApp: boolean }; export type IotconsoleCreateIotAppMutationVariables = Exact<{ @@ -3080,7 +6372,6 @@ export type IotconsoleCreateIotAppMutationVariables = Exact<{ projectName: Scalars['String']['input']; }>; - export type IotconsoleCreateIotAppMutation = { iot_createApp?: { id: string } }; export type IotconsoleUpdateIotAppMutationVariables = Exact<{ @@ -3089,7 +6380,6 @@ export type IotconsoleUpdateIotAppMutationVariables = Exact<{ app: IotAppIn; }>; - export type IotconsoleUpdateIotAppMutation = { iot_updateApp?: { id: string } }; export type IotconsoleGetIotAppQueryVariables = Exact<{ @@ -3098,8 +6388,131 @@ export type IotconsoleGetIotAppQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type IotconsoleGetIotAppQuery = { iot_getApp?: { accountName: string, apiVersion?: string, creationTime: any, deviceBlueprintName: string, displayName: string, enabled?: boolean, id: string, kind?: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, labels?: any, name: string, namespace?: string }, spec: { displayName?: string, freeze?: boolean, nodeSelector?: any, region?: string, replicas?: number, serviceAccount?: string, containers: Array<{ args?: Array, command?: Array, image: string, imagePullPolicy?: string, name: string, env?: Array<{ key: string, optional?: boolean, refKey?: string, refName?: string, type?: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret, value?: string }>, envFrom?: Array<{ refName: string, type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret }>, livenessProbe?: { failureThreshold?: number, initialDelay?: number, interval?: number, type: string, httpGet?: { httpHeaders?: any, path: string, port: number }, shell?: { command?: Array }, tcp?: { port: number } }, readinessProbe?: { failureThreshold?: number, initialDelay?: number, interval?: number, type: string }, resourceCpu?: { max?: string, min?: string }, resourceMemory?: { max?: string, min?: string }, volumes?: Array<{ mountPath: string, refName: string, type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret, items?: Array<{ fileName?: string, key: string }> }> }>, hpa?: { enabled: boolean, maxReplicas?: number, minReplicas?: number, thresholdCpu?: number, thresholdMemory?: number }, intercept?: { enabled: boolean, toDevice: string }, services?: Array<{ port: number }>, tolerations?: Array<{ effect?: K8s__Io___Api___Core___V1__TaintEffect, key?: string, operator?: K8s__Io___Api___Core___V1__TolerationOperator, tolerationSeconds?: number, value?: string }>, topologySpreadConstraints?: Array<{ matchLabelKeys?: Array, maxSkew: number, minDomains?: number, nodeAffinityPolicy?: string, nodeTaintsPolicy?: string, topologyKey: string, whenUnsatisfiable: K8s__Io___Api___Core___V1__UnsatisfiableConstraintAction, labelSelector?: { matchLabels?: any, matchExpressions?: Array<{ key: string, operator: K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorOperator, values?: Array }> } }> }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ debug?: boolean, description?: string, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> } } }; +export type IotconsoleGetIotAppQuery = { + iot_getApp?: { + accountName: string; + apiVersion?: string; + creationTime: any; + deviceBlueprintName: string; + displayName: string; + enabled?: boolean; + id: string; + kind?: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + labels?: any; + name: string; + namespace?: string; + }; + spec: { + displayName?: string; + freeze?: boolean; + nodeSelector?: any; + region?: string; + replicas?: number; + serviceAccount?: string; + containers: Array<{ + args?: Array; + command?: Array; + image: string; + imagePullPolicy?: string; + name: string; + env?: Array<{ + key: string; + optional?: boolean; + refKey?: string; + refName?: string; + type?: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + value?: string; + }>; + envFrom?: Array<{ + refName: string; + type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + }>; + livenessProbe?: { + failureThreshold?: number; + initialDelay?: number; + interval?: number; + type: string; + httpGet?: { httpHeaders?: any; path: string; port: number }; + shell?: { command?: Array }; + tcp?: { port: number }; + }; + readinessProbe?: { + failureThreshold?: number; + initialDelay?: number; + interval?: number; + type: string; + }; + resourceCpu?: { max?: string; min?: string }; + resourceMemory?: { max?: string; min?: string }; + volumes?: Array<{ + mountPath: string; + refName: string; + type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + items?: Array<{ fileName?: string; key: string }>; + }>; + }>; + hpa?: { + enabled: boolean; + maxReplicas?: number; + minReplicas?: number; + thresholdCpu?: number; + thresholdMemory?: number; + }; + intercept?: { enabled: boolean; toDevice: string }; + services?: Array<{ port: number }>; + tolerations?: Array<{ + effect?: K8s__Io___Api___Core___V1__TaintEffect; + key?: string; + operator?: K8s__Io___Api___Core___V1__TolerationOperator; + tolerationSeconds?: number; + value?: string; + }>; + topologySpreadConstraints?: Array<{ + matchLabelKeys?: Array; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: K8s__Io___Api___Core___V1__UnsatisfiableConstraintAction; + labelSelector?: { + matchLabels?: any; + matchExpressions?: Array<{ + key: string; + operator: K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorOperator; + values?: Array; + }>; + }; + }>; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + debug?: boolean; + description?: string; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + }; +}; export type IotconsoleListIotAppsQueryVariables = Exact<{ deviceBlueprintName: Scalars['String']['input']; @@ -3108,8 +6521,144 @@ export type IotconsoleListIotAppsQueryVariables = Exact<{ projectName: Scalars['String']['input']; }>; - -export type IotconsoleListIotAppsQuery = { iot_listApps?: { totalCount: number, edges: Array<{ cursor: string, node: { accountName: string, apiVersion?: string, creationTime: any, deviceBlueprintName: string, displayName: string, enabled?: boolean, id: string, kind?: string, markedForDeletion?: boolean, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, labels?: any, name: string, namespace?: string }, spec: { displayName?: string, freeze?: boolean, nodeSelector?: any, region?: string, replicas?: number, serviceAccount?: string, containers: Array<{ args?: Array, command?: Array, image: string, imagePullPolicy?: string, name: string, env?: Array<{ key: string, optional?: boolean, refKey?: string, refName?: string, type?: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret, value?: string }>, envFrom?: Array<{ refName: string, type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret }>, livenessProbe?: { failureThreshold?: number, initialDelay?: number, interval?: number, type: string, httpGet?: { httpHeaders?: any, path: string, port: number }, shell?: { command?: Array }, tcp?: { port: number } }, readinessProbe?: { failureThreshold?: number, initialDelay?: number, interval?: number, type: string }, resourceCpu?: { max?: string, min?: string }, resourceMemory?: { max?: string, min?: string }, volumes?: Array<{ mountPath: string, refName: string, type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret, items?: Array<{ fileName?: string, key: string }> }> }>, hpa?: { enabled: boolean, maxReplicas?: number, minReplicas?: number, thresholdCpu?: number, thresholdMemory?: number }, intercept?: { enabled: boolean, toDevice: string }, services?: Array<{ port: number }>, tolerations?: Array<{ effect?: K8s__Io___Api___Core___V1__TaintEffect, key?: string, operator?: K8s__Io___Api___Core___V1__TolerationOperator, tolerationSeconds?: number, value?: string }>, topologySpreadConstraints?: Array<{ matchLabelKeys?: Array, maxSkew: number, minDomains?: number, nodeAffinityPolicy?: string, nodeTaintsPolicy?: string, topologyKey: string, whenUnsatisfiable: K8s__Io___Api___Core___V1__UnsatisfiableConstraintAction, labelSelector?: { matchLabels?: any, matchExpressions?: Array<{ key: string, operator: K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorOperator, values?: Array }> } }> }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ debug?: boolean, description?: string, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type IotconsoleListIotAppsQuery = { + iot_listApps?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + accountName: string; + apiVersion?: string; + creationTime: any; + deviceBlueprintName: string; + displayName: string; + enabled?: boolean; + id: string; + kind?: string; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + labels?: any; + name: string; + namespace?: string; + }; + spec: { + displayName?: string; + freeze?: boolean; + nodeSelector?: any; + region?: string; + replicas?: number; + serviceAccount?: string; + containers: Array<{ + args?: Array; + command?: Array; + image: string; + imagePullPolicy?: string; + name: string; + env?: Array<{ + key: string; + optional?: boolean; + refKey?: string; + refName?: string; + type?: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + value?: string; + }>; + envFrom?: Array<{ + refName: string; + type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + }>; + livenessProbe?: { + failureThreshold?: number; + initialDelay?: number; + interval?: number; + type: string; + httpGet?: { httpHeaders?: any; path: string; port: number }; + shell?: { command?: Array }; + tcp?: { port: number }; + }; + readinessProbe?: { + failureThreshold?: number; + initialDelay?: number; + interval?: number; + type: string; + }; + resourceCpu?: { max?: string; min?: string }; + resourceMemory?: { max?: string; min?: string }; + volumes?: Array<{ + mountPath: string; + refName: string; + type: Github__Com___Kloudlite___Operator___Apis___Crds___V1__ConfigOrSecret; + items?: Array<{ fileName?: string; key: string }>; + }>; + }>; + hpa?: { + enabled: boolean; + maxReplicas?: number; + minReplicas?: number; + thresholdCpu?: number; + thresholdMemory?: number; + }; + intercept?: { enabled: boolean; toDevice: string }; + services?: Array<{ port: number }>; + tolerations?: Array<{ + effect?: K8s__Io___Api___Core___V1__TaintEffect; + key?: string; + operator?: K8s__Io___Api___Core___V1__TolerationOperator; + tolerationSeconds?: number; + value?: string; + }>; + topologySpreadConstraints?: Array<{ + matchLabelKeys?: Array; + maxSkew: number; + minDomains?: number; + nodeAffinityPolicy?: string; + nodeTaintsPolicy?: string; + topologyKey: string; + whenUnsatisfiable: K8s__Io___Api___Core___V1__UnsatisfiableConstraintAction; + labelSelector?: { + matchLabels?: any; + matchExpressions?: Array<{ + key: string; + operator: K8s__Io___Apimachinery___Pkg___Apis___Meta___V1__LabelSelectorOperator; + values?: Array; + }>; + }; + }>; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + debug?: boolean; + description?: string; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type IotconsoleDeleteIotDeviceMutationVariables = Exact<{ projectName: Scalars['String']['input']; @@ -3117,7 +6666,6 @@ export type IotconsoleDeleteIotDeviceMutationVariables = Exact<{ name: Scalars['String']['input']; }>; - export type IotconsoleDeleteIotDeviceMutation = { iot_deleteDevice: boolean }; export type IotconsoleCreateIotDeviceMutationVariables = Exact<{ @@ -3126,8 +6674,9 @@ export type IotconsoleCreateIotDeviceMutationVariables = Exact<{ projectName: Scalars['String']['input']; }>; - -export type IotconsoleCreateIotDeviceMutation = { iot_createDevice?: { id: string } }; +export type IotconsoleCreateIotDeviceMutation = { + iot_createDevice?: { id: string }; +}; export type IotconsoleUpdateIotDeviceMutationVariables = Exact<{ deploymentName: Scalars['String']['input']; @@ -3135,8 +6684,9 @@ export type IotconsoleUpdateIotDeviceMutationVariables = Exact<{ projectName: Scalars['String']['input']; }>; - -export type IotconsoleUpdateIotDeviceMutation = { iot_updateDevice?: { id: string } }; +export type IotconsoleUpdateIotDeviceMutation = { + iot_updateDevice?: { id: string }; +}; export type IotconsoleGetIotDeviceQueryVariables = Exact<{ projectName: Scalars['String']['input']; @@ -3144,8 +6694,26 @@ export type IotconsoleGetIotDeviceQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type IotconsoleGetIotDeviceQuery = { iot_getDevice?: { accountName: string, creationTime: any, deploymentName: string, displayName: string, id: string, ip: string, markedForDeletion?: boolean, name: string, podCIDR: string, publicKey: string, recordVersion: number, serviceCIDR: string, updateTime: any, version: string, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string } } }; +export type IotconsoleGetIotDeviceQuery = { + iot_getDevice?: { + accountName: string; + creationTime: any; + deploymentName: string; + displayName: string; + id: string; + ip: string; + markedForDeletion?: boolean; + name: string; + podCIDR: string; + publicKey: string; + recordVersion: number; + serviceCIDR: string; + updateTime: any; + version: string; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + }; +}; export type IotconsoleListIotDevicesQueryVariables = Exact<{ deploymentName: Scalars['String']['input']; @@ -3154,29 +6722,80 @@ export type IotconsoleListIotDevicesQueryVariables = Exact<{ projectName: Scalars['String']['input']; }>; - -export type IotconsoleListIotDevicesQuery = { iot_listDevices?: { totalCount: number, edges: Array<{ cursor: string, node: { accountName: string, creationTime: any, deploymentName: string, displayName: string, id: string, ip: string, markedForDeletion?: boolean, name: string, podCIDR: string, publicKey: string, recordVersion: number, serviceCIDR: string, updateTime: any, version: string, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type IotconsoleListIotDevicesQuery = { + iot_listDevices?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + accountName: string; + creationTime: any; + deploymentName: string; + displayName: string; + id: string; + ip: string; + markedForDeletion?: boolean; + name: string; + podCIDR: string; + publicKey: string; + recordVersion: number; + serviceCIDR: string; + updateTime: any; + version: string; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type IotconsoleListRepoQueryVariables = Exact<{ search?: InputMaybe; pagination?: InputMaybe; }>; - -export type IotconsoleListRepoQuery = { cr_listRepos?: { totalCount: number, edges: Array<{ cursor: string, node: { accountName: string, creationTime: any, id: string, markedForDeletion?: boolean, name: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type IotconsoleListRepoQuery = { + cr_listRepos?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + accountName: string; + creationTime: any; + id: string; + markedForDeletion?: boolean; + name: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type IotconsoleCreateRepoMutationVariables = Exact<{ repository: RepositoryIn; }>; - export type IotconsoleCreateRepoMutation = { cr_createRepo?: { id: string } }; export type IotconsoleDeleteRepoMutationVariables = Exact<{ name: Scalars['String']['input']; }>; - export type IotconsoleDeleteRepoMutation = { cr_deleteRepo: boolean }; export type IotconsoleListDigestQueryVariables = Exact<{ @@ -3185,15 +6804,35 @@ export type IotconsoleListDigestQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type IotconsoleListDigestQuery = { cr_listDigests?: { totalCount: number, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string }, edges: Array<{ cursor: string, node: { url: string, updateTime: any, tags: Array, size: number, repository: string, digest: string, creationTime: any } }> } }; +export type IotconsoleListDigestQuery = { + cr_listDigests?: { + totalCount: number; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + edges: Array<{ + cursor: string; + node: { + url: string; + updateTime: any; + tags: Array; + size: number; + repository: string; + digest: string; + creationTime: any; + }; + }>; + }; +}; export type IotconsoleDeleteDigestMutationVariables = Exact<{ repoName: Scalars['String']['input']; digest: Scalars['String']['input']; }>; - export type IotconsoleDeleteDigestMutation = { cr_deleteDigest: boolean }; export type IotconsoleUpdateConfigMutationVariables = Exact<{ @@ -3201,15 +6840,15 @@ export type IotconsoleUpdateConfigMutationVariables = Exact<{ config: ConfigIn; }>; - -export type IotconsoleUpdateConfigMutation = { core_updateConfig?: { id: string } }; +export type IotconsoleUpdateConfigMutation = { + core_updateConfig?: { id: string }; +}; export type IotconsoleDeleteConfigMutationVariables = Exact<{ envName: Scalars['String']['input']; configName: Scalars['String']['input']; }>; - export type IotconsoleDeleteConfigMutation = { core_deleteConfig: boolean }; export type IotconsoleGetConfigQueryVariables = Exact<{ @@ -3217,8 +6856,24 @@ export type IotconsoleGetConfigQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type IotconsoleGetConfigQuery = { core_getConfig?: { binaryData?: any, data?: any, displayName: string, environmentName: string, immutable?: boolean, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string } } }; +export type IotconsoleGetConfigQuery = { + core_getConfig?: { + binaryData?: any; + data?: any; + displayName: string; + environmentName: string; + immutable?: boolean; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + }; +}; export type IotconsoleListConfigsQueryVariables = Exact<{ envName: Scalars['String']['input']; @@ -3226,16 +6881,49 @@ export type IotconsoleListConfigsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type IotconsoleListConfigsQuery = { core_listConfigs?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, displayName: string, data?: any, environmentName: string, immutable?: boolean, markedForDeletion?: boolean, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type IotconsoleListConfigsQuery = { + core_listConfigs?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + displayName: string; + data?: any; + environmentName: string; + immutable?: boolean; + markedForDeletion?: boolean; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type IotconsoleCreateConfigMutationVariables = Exact<{ envName: Scalars['String']['input']; config: ConfigIn; }>; - -export type IotconsoleCreateConfigMutation = { core_createConfig?: { id: string } }; +export type IotconsoleCreateConfigMutation = { + core_createConfig?: { id: string }; +}; export type IotconsoleListSecretsQueryVariables = Exact<{ envName: Scalars['String']['input']; @@ -3243,46 +6931,98 @@ export type IotconsoleListSecretsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type IotconsoleListSecretsQuery = { core_listSecrets?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, displayName: string, stringData?: any, environmentName: string, isReadyOnly: boolean, immutable?: boolean, markedForDeletion?: boolean, type?: K8s__Io___Api___Core___V1__SecretType, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type IotconsoleListSecretsQuery = { + core_listSecrets?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + displayName: string; + stringData?: any; + environmentName: string; + isReadyOnly: boolean; + immutable?: boolean; + markedForDeletion?: boolean; + type?: K8s__Io___Api___Core___V1__SecretType; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type IotconsoleCreateSecretMutationVariables = Exact<{ envName: Scalars['String']['input']; secret: SecretIn; }>; - -export type IotconsoleCreateSecretMutation = { core_createSecret?: { id: string } }; +export type IotconsoleCreateSecretMutation = { + core_createSecret?: { id: string }; +}; export type IotconsoleGetSecretQueryVariables = Exact<{ envName: Scalars['String']['input']; name: Scalars['String']['input']; }>; - -export type IotconsoleGetSecretQuery = { core_getSecret?: { data?: any, displayName: string, environmentName: string, immutable?: boolean, markedForDeletion?: boolean, stringData?: any, type?: K8s__Io___Api___Core___V1__SecretType, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string } } }; +export type IotconsoleGetSecretQuery = { + core_getSecret?: { + data?: any; + displayName: string; + environmentName: string; + immutable?: boolean; + markedForDeletion?: boolean; + stringData?: any; + type?: K8s__Io___Api___Core___V1__SecretType; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + }; +}; export type IotconsoleUpdateSecretMutationVariables = Exact<{ envName: Scalars['String']['input']; secret: SecretIn; }>; - -export type IotconsoleUpdateSecretMutation = { core_updateSecret?: { id: string } }; +export type IotconsoleUpdateSecretMutation = { + core_updateSecret?: { id: string }; +}; export type IotconsoleDeleteSecretMutationVariables = Exact<{ envName: Scalars['String']['input']; secretName: Scalars['String']['input']; }>; - export type IotconsoleDeleteSecretMutation = { core_deleteSecret: boolean }; export type IotconsoleGetCredTokenQueryVariables = Exact<{ username: Scalars['String']['input']; }>; - export type IotconsoleGetCredTokenQuery = { cr_getCredToken: string }; export type IotconsoleListCredQueryVariables = Exact<{ @@ -3290,62 +7030,125 @@ export type IotconsoleListCredQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type IotconsoleListCredQuery = { cr_listCreds?: { totalCount: number, edges: Array<{ cursor: string, node: { access: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__RepoAccess, accountName: string, creationTime: any, id: string, markedForDeletion?: boolean, name: string, recordVersion: number, updateTime: any, username: string, createdBy: { userEmail: string, userId: string, userName: string }, expiration: { unit: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__ExpirationUnit, value: number }, lastUpdatedBy: { userEmail: string, userId: string, userName: string } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type IotconsoleListCredQuery = { + cr_listCreds?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + access: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__RepoAccess; + accountName: string; + creationTime: any; + id: string; + markedForDeletion?: boolean; + name: string; + recordVersion: number; + updateTime: any; + username: string; + createdBy: { userEmail: string; userId: string; userName: string }; + expiration: { + unit: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__ExpirationUnit; + value: number; + }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type IotconsoleCreateCredMutationVariables = Exact<{ credential: CredentialIn; }>; - export type IotconsoleCreateCredMutation = { cr_createCred?: { id: string } }; export type IotconsoleDeleteCredMutationVariables = Exact<{ username: Scalars['String']['input']; }>; - export type IotconsoleDeleteCredMutation = { cr_deleteCred: boolean }; export type IotconsoleGetGitConnectionsQueryVariables = Exact<{ state?: InputMaybe; }>; +export type IotconsoleGetGitConnectionsQuery = { + githubLoginUrl: any; + gitlabLoginUrl: any; + auth_me?: { + providerGitlab?: any; + providerGithub?: any; + providerGoogle?: any; + }; +}; -export type IotconsoleGetGitConnectionsQuery = { githubLoginUrl: any, gitlabLoginUrl: any, auth_me?: { providerGitlab?: any, providerGithub?: any, providerGoogle?: any } }; - -export type IotconsoleGetLoginsQueryVariables = Exact<{ [key: string]: never; }>; - - -export type IotconsoleGetLoginsQuery = { auth_me?: { providerGithub?: any, providerGitlab?: any } }; +export type IotconsoleGetLoginsQueryVariables = Exact<{ [key: string]: never }>; -export type IotconsoleLoginUrlsQueryVariables = Exact<{ [key: string]: never; }>; +export type IotconsoleGetLoginsQuery = { + auth_me?: { providerGithub?: any; providerGitlab?: any }; +}; +export type IotconsoleLoginUrlsQueryVariables = Exact<{ [key: string]: never }>; -export type IotconsoleLoginUrlsQuery = { githubLoginUrl: any, gitlabLoginUrl: any }; +export type IotconsoleLoginUrlsQuery = { + githubLoginUrl: any; + gitlabLoginUrl: any; +}; export type IotconsoleListGithubReposQueryVariables = Exact<{ installationId: Scalars['Int']['input']; pagination?: InputMaybe; }>; - -export type IotconsoleListGithubReposQuery = { cr_listGithubRepos?: { totalCount?: number, repositories: Array<{ cloneUrl?: string, defaultBranch?: string, fullName?: string, private?: boolean, updatedAt?: any }> } }; +export type IotconsoleListGithubReposQuery = { + cr_listGithubRepos?: { + totalCount?: number; + repositories: Array<{ + cloneUrl?: string; + defaultBranch?: string; + fullName?: string; + private?: boolean; + updatedAt?: any; + }>; + }; +}; export type IotconsoleListGithubInstalltionsQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type IotconsoleListGithubInstalltionsQuery = { cr_listGithubInstallations?: Array<{ appId?: number, id?: number, nodeId?: string, repositoriesUrl?: string, targetId?: number, targetType?: string, account?: { avatarUrl?: string, id?: number, login?: string, nodeId?: string, type?: string } }> }; +export type IotconsoleListGithubInstalltionsQuery = { + cr_listGithubInstallations?: Array<{ + appId?: number; + id?: number; + nodeId?: string; + repositoriesUrl?: string; + targetId?: number; + targetType?: string; + account?: { + avatarUrl?: string; + id?: number; + login?: string; + nodeId?: string; + type?: string; + }; + }>; +}; export type IotconsoleListGithubBranchesQueryVariables = Exact<{ repoUrl: Scalars['String']['input']; pagination?: InputMaybe; }>; - -export type IotconsoleListGithubBranchesQuery = { cr_listGithubBranches?: Array<{ name?: string }> }; +export type IotconsoleListGithubBranchesQuery = { + cr_listGithubBranches?: Array<{ name?: string }>; +}; export type IotconsoleSearchGithubReposQueryVariables = Exact<{ organization: Scalars['String']['input']; @@ -3353,16 +7156,26 @@ export type IotconsoleSearchGithubReposQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type IotconsoleSearchGithubReposQuery = { cr_searchGithubRepos?: { repositories: Array<{ cloneUrl?: string, defaultBranch?: string, fullName?: string, private?: boolean, updatedAt?: any }> } }; +export type IotconsoleSearchGithubReposQuery = { + cr_searchGithubRepos?: { + repositories: Array<{ + cloneUrl?: string; + defaultBranch?: string; + fullName?: string; + private?: boolean; + updatedAt?: any; + }>; + }; +}; export type IotconsoleListGitlabGroupsQueryVariables = Exact<{ query?: InputMaybe; pagination?: InputMaybe; }>; - -export type IotconsoleListGitlabGroupsQuery = { cr_listGitlabGroups?: Array<{ fullName: string, id: string }> }; +export type IotconsoleListGitlabGroupsQuery = { + cr_listGitlabGroups?: Array<{ fullName: string; id: string }>; +}; export type IotconsoleListGitlabReposQueryVariables = Exact<{ query?: InputMaybe; @@ -3370,8 +7183,15 @@ export type IotconsoleListGitlabReposQueryVariables = Exact<{ groupId: Scalars['String']['input']; }>; - -export type IotconsoleListGitlabReposQuery = { cr_listGitlabRepositories?: Array<{ createdAt?: any, name: string, id: number, public: boolean, httpUrlToRepo: string }> }; +export type IotconsoleListGitlabReposQuery = { + cr_listGitlabRepositories?: Array<{ + createdAt?: any; + name: string; + id: number; + public: boolean; + httpUrlToRepo: string; + }>; +}; export type IotconsoleListGitlabBranchesQueryVariables = Exact<{ repoId: Scalars['String']['input']; @@ -3379,8 +7199,9 @@ export type IotconsoleListGitlabBranchesQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type IotconsoleListGitlabBranchesQuery = { cr_listGitlabBranches?: Array<{ name?: string, protected?: boolean }> }; +export type IotconsoleListGitlabBranchesQuery = { + cr_listGitlabBranches?: Array<{ name?: string; protected?: boolean }>; +}; export type IotconsoleListBuildsQueryVariables = Exact<{ repoName: Scalars['String']['input']; @@ -3388,14 +7209,88 @@ export type IotconsoleListBuildsQueryVariables = Exact<{ pagination?: InputMaybe; }>; - -export type IotconsoleListBuildsQuery = { cr_listBuilds?: { totalCount: number, edges: Array<{ cursor: string, node: { creationTime: any, buildClusterName: string, errorMessages: any, id: string, markedForDeletion?: boolean, name: string, status: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__BuildStatus, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, credUser: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, source: { branch: string, provider: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GitProvider, repository: string, webhookId?: number }, spec: { buildOptions?: { buildArgs?: any, buildContexts?: any, contextDir?: string, dockerfileContent?: string, dockerfilePath?: string, targetPlatforms?: Array }, registry: { repo: { name: string, tags: Array } }, resource: { cpu: number, memoryInMb: number }, caches?: Array<{ name: string, path: string }> }, latestBuildRun?: { recordVersion: number, markedForDeletion?: boolean, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ debug?: boolean, description?: string, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type IotconsoleListBuildsQuery = { + cr_listBuilds?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + creationTime: any; + buildClusterName: string; + errorMessages: any; + id: string; + markedForDeletion?: boolean; + name: string; + status: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__BuildStatus; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + credUser: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + source: { + branch: string; + provider: Github__Com___Kloudlite___Api___Apps___Container____Registry___Internal___Domain___Entities__GitProvider; + repository: string; + webhookId?: number; + }; + spec: { + buildOptions?: { + buildArgs?: any; + buildContexts?: any; + contextDir?: string; + dockerfileContent?: string; + dockerfilePath?: string; + targetPlatforms?: Array; + }; + registry: { repo: { name: string; tags: Array } }; + resource: { cpu: number; memoryInMb: number }; + caches?: Array<{ name: string; path: string }>; + }; + latestBuildRun?: { + recordVersion: number; + markedForDeletion?: boolean; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + debug?: boolean; + description?: string; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type IotconsoleCreateBuildMutationVariables = Exact<{ build: BuildIn; }>; - export type IotconsoleCreateBuildMutation = { cr_addBuild?: { id: string } }; export type IotconsoleUpdateBuildMutationVariables = Exact<{ @@ -3403,21 +7298,18 @@ export type IotconsoleUpdateBuildMutationVariables = Exact<{ build: BuildIn; }>; - export type IotconsoleUpdateBuildMutation = { cr_updateBuild?: { id: string } }; export type IotconsoleDeleteBuildMutationVariables = Exact<{ crDeleteBuildId: Scalars['ID']['input']; }>; - export type IotconsoleDeleteBuildMutation = { cr_deleteBuild: boolean }; export type IotconsoleTriggerBuildMutationVariables = Exact<{ crTriggerBuildId: Scalars['ID']['input']; }>; - export type IotconsoleTriggerBuildMutation = { cr_triggerBuild: boolean }; export type IotconsoleListBuildRunsQueryVariables = Exact<{ @@ -3425,69 +7317,223 @@ export type IotconsoleListBuildRunsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type IotconsoleListBuildRunsQuery = { cr_listBuildRuns?: { totalCount: number, edges: Array<{ cursor: string, node: { id: string, clusterName: string, creationTime: any, markedForDeletion?: boolean, recordVersion: number, updateTime: any, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { accountName: string, buildOptions?: { buildArgs?: any, buildContexts?: any, contextDir?: string, dockerfileContent?: string, dockerfilePath?: string, targetPlatforms?: Array }, registry: { repo: { name: string, tags: Array } }, resource: { cpu: number, memoryInMb: number } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ description?: string, debug?: boolean, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type IotconsoleListBuildRunsQuery = { + cr_listBuildRuns?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + id: string; + clusterName: string; + creationTime: any; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + accountName: string; + buildOptions?: { + buildArgs?: any; + buildContexts?: any; + contextDir?: string; + dockerfileContent?: string; + dockerfilePath?: string; + targetPlatforms?: Array; + }; + registry: { repo: { name: string; tags: Array } }; + resource: { cpu: number; memoryInMb: number }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + description?: string; + debug?: boolean; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type IotconsoleGetBuildRunQueryVariables = Exact<{ buildId: Scalars['ID']['input']; buildRunName: Scalars['String']['input']; }>; - -export type IotconsoleGetBuildRunQuery = { cr_getBuildRun?: { clusterName: string, creationTime: any, markedForDeletion?: boolean, recordVersion: number, updateTime: any, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec?: { accountName: string, buildOptions?: { buildArgs?: any, buildContexts?: any, contextDir?: string, dockerfileContent?: string, dockerfilePath?: string, targetPlatforms?: Array }, registry: { repo: { name: string, tags: Array } }, resource: { cpu: number, memoryInMb: number } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ description?: string, debug?: boolean, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any } } }; +export type IotconsoleGetBuildRunQuery = { + cr_getBuildRun?: { + clusterName: string; + creationTime: any; + markedForDeletion?: boolean; + recordVersion: number; + updateTime: any; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec?: { + accountName: string; + buildOptions?: { + buildArgs?: any; + buildContexts?: any; + contextDir?: string; + dockerfileContent?: string; + dockerfilePath?: string; + targetPlatforms?: Array; + }; + registry: { repo: { name: string; tags: Array } }; + resource: { cpu: number; memoryInMb: number }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + description?: string; + debug?: boolean; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + }; +}; export type IotconsoleListInvitationsForAccountQueryVariables = Exact<{ accountName: Scalars['String']['input']; }>; - -export type IotconsoleListInvitationsForAccountQuery = { accounts_listInvitations?: Array<{ accepted?: boolean, accountName: string, creationTime: any, id: string, inviteToken: string, invitedBy: string, markedForDeletion?: boolean, recordVersion: number, rejected?: boolean, updateTime: any, userEmail?: string, userName?: string, userRole: Github__Com___Kloudlite___Api___Apps___Iam___Types__Role }> }; +export type IotconsoleListInvitationsForAccountQuery = { + accounts_listInvitations?: Array<{ + accepted?: boolean; + accountName: string; + creationTime: any; + id: string; + inviteToken: string; + invitedBy: string; + markedForDeletion?: boolean; + recordVersion: number; + rejected?: boolean; + updateTime: any; + userEmail?: string; + userName?: string; + userRole: Github__Com___Kloudlite___Api___Apps___Iam___Types__Role; + }>; +}; export type IotconsoleListMembershipsForAccountQueryVariables = Exact<{ accountName: Scalars['String']['input']; }>; - -export type IotconsoleListMembershipsForAccountQuery = { accounts_listMembershipsForAccount?: Array<{ role: Github__Com___Kloudlite___Api___Apps___Iam___Types__Role, user: { verified: boolean, name: string, joined: any, email: string } }> }; +export type IotconsoleListMembershipsForAccountQuery = { + accounts_listMembershipsForAccount?: Array<{ + role: Github__Com___Kloudlite___Api___Apps___Iam___Types__Role; + user: { verified: boolean; name: string; joined: any; email: string }; + }>; +}; export type IotconsoleDeleteAccountInvitationMutationVariables = Exact<{ accountName: Scalars['String']['input']; invitationId: Scalars['String']['input']; }>; - -export type IotconsoleDeleteAccountInvitationMutation = { accounts_deleteInvitation: boolean }; +export type IotconsoleDeleteAccountInvitationMutation = { + accounts_deleteInvitation: boolean; +}; export type IotconsoleInviteMembersForAccountMutationVariables = Exact<{ accountName: Scalars['String']['input']; invitations: Array | InvitationIn; }>; - -export type IotconsoleInviteMembersForAccountMutation = { accounts_inviteMembers?: Array<{ id: string }> }; +export type IotconsoleInviteMembersForAccountMutation = { + accounts_inviteMembers?: Array<{ id: string }>; +}; export type IotconsoleListInvitationsForUserQueryVariables = Exact<{ onlyPending: Scalars['Boolean']['input']; }>; - -export type IotconsoleListInvitationsForUserQuery = { accounts_listInvitationsForUser?: Array<{ accountName: string, id: string, updateTime: any, inviteToken: string }> }; +export type IotconsoleListInvitationsForUserQuery = { + accounts_listInvitationsForUser?: Array<{ + accountName: string; + id: string; + updateTime: any; + inviteToken: string; + }>; +}; export type IotconsoleAcceptInvitationMutationVariables = Exact<{ accountName: Scalars['String']['input']; inviteToken: Scalars['String']['input']; }>; - -export type IotconsoleAcceptInvitationMutation = { accounts_acceptInvitation: boolean }; +export type IotconsoleAcceptInvitationMutation = { + accounts_acceptInvitation: boolean; +}; export type IotconsoleRejectInvitationMutationVariables = Exact<{ accountName: Scalars['String']['input']; inviteToken: Scalars['String']['input']; }>; - -export type IotconsoleRejectInvitationMutation = { accounts_rejectInvitation: boolean }; +export type IotconsoleRejectInvitationMutation = { + accounts_rejectInvitation: boolean; +}; export type IotconsoleUpdateAccountMembershipMutationVariables = Exact<{ accountName: Scalars['String']['input']; @@ -3495,71 +7541,152 @@ export type IotconsoleUpdateAccountMembershipMutationVariables = Exact<{ role: Github__Com___Kloudlite___Api___Apps___Iam___Types__Role; }>; - -export type IotconsoleUpdateAccountMembershipMutation = { accounts_updateAccountMembership: boolean }; +export type IotconsoleUpdateAccountMembershipMutation = { + accounts_updateAccountMembership: boolean; +}; export type IotconsoleDeleteAccountMembershipMutationVariables = Exact<{ accountName: Scalars['String']['input']; memberId: Scalars['ID']['input']; }>; - -export type IotconsoleDeleteAccountMembershipMutation = { accounts_removeAccountMembership: boolean }; +export type IotconsoleDeleteAccountMembershipMutation = { + accounts_removeAccountMembership: boolean; +}; export type AuthCli_CreateGlobalVpnDeviceMutationVariables = Exact<{ gvpnDevice: GlobalVpnDeviceIn; }>; - -export type AuthCli_CreateGlobalVpnDeviceMutation = { infra_createGlobalVPNDevice?: { accountName: string, creationTime: any, displayName: string, globalVPNName: string, id: string, ipAddr: string, markedForDeletion?: boolean, privateKey: string, publicKey: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userName: string, userId: string, userEmail: string }, metadata: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, wireguardConfig?: { value: string, encoding: string } } }; +export type AuthCli_CreateGlobalVpnDeviceMutation = { + infra_createGlobalVPNDevice?: { + accountName: string; + creationTime: any; + displayName: string; + globalVPNName: string; + id: string; + ipAddr: string; + markedForDeletion?: boolean; + privateKey: string; + publicKey: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userName: string; userId: string; userEmail: string }; + metadata: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + wireguardConfig?: { value: string; encoding: string }; + }; +}; export type AuthCli_GetMresOutputKeyValuesQueryVariables = Exact<{ msvcName: Scalars['String']['input']; - keyrefs?: InputMaybe> | InputMaybe>; + keyrefs?: InputMaybe< + | Array> + | InputMaybe + >; }>; - -export type AuthCli_GetMresOutputKeyValuesQuery = { core_getManagedResouceOutputKeyValues: Array<{ key: string, mresName: string, value: string }> }; +export type AuthCli_GetMresOutputKeyValuesQuery = { + core_getManagedResouceOutputKeyValues: Array<{ + key: string; + mresName: string; + value: string; + }>; +}; export type AuthCli_GetGlobalVpnDeviceQueryVariables = Exact<{ gvpn: Scalars['String']['input']; deviceName: Scalars['String']['input']; }>; - -export type AuthCli_GetGlobalVpnDeviceQuery = { infra_getGlobalVPNDevice?: { accountName: string, creationTime: any, displayName: string, globalVPNName: string, id: string, ipAddr: string, markedForDeletion?: boolean, privateKey: string, publicKey: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userName: string, userId: string, userEmail: string }, metadata: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, wireguardConfig?: { value: string, encoding: string } } }; +export type AuthCli_GetGlobalVpnDeviceQuery = { + infra_getGlobalVPNDevice?: { + accountName: string; + creationTime: any; + displayName: string; + globalVPNName: string; + id: string; + ipAddr: string; + markedForDeletion?: boolean; + privateKey: string; + publicKey: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userName: string; userId: string; userEmail: string }; + metadata: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + wireguardConfig?: { value: string; encoding: string }; + }; +}; export type AuthCli_CoreCheckNameAvailabilityQueryVariables = Exact<{ resType: ConsoleResType; name: Scalars['String']['input']; }>; - -export type AuthCli_CoreCheckNameAvailabilityQuery = { core_checkNameAvailability: { result: boolean, suggestedNames?: Array } }; +export type AuthCli_CoreCheckNameAvailabilityQuery = { + core_checkNameAvailability: { + result: boolean; + suggestedNames?: Array; + }; +}; export type AuthCli_GetMresKeysQueryVariables = Exact<{ name: Scalars['String']['input']; envName?: InputMaybe; }>; - -export type AuthCli_GetMresKeysQuery = { core_getManagedResouceOutputKeys: Array }; +export type AuthCli_GetMresKeysQuery = { + core_getManagedResouceOutputKeys: Array; +}; export type AuthCli_ListMresesQueryVariables = Exact<{ pq?: InputMaybe; search?: InputMaybe; }>; - -export type AuthCli_ListMresesQuery = { core_listManagedResources?: { edges: Array<{ node: { displayName: string, metadata?: { name: string, namespace?: string } } }> } }; +export type AuthCli_ListMresesQuery = { + core_listManagedResources?: { + edges: Array<{ + node: { + displayName: string; + metadata?: { name: string; namespace?: string }; + }; + }>; + }; +}; export type AuthCli_GetMresConfigsValuesQueryVariables = Exact<{ - keyrefs?: InputMaybe> | InputMaybe>; + keyrefs?: InputMaybe< + | Array> + | InputMaybe + >; envName?: InputMaybe; }>; - -export type AuthCli_GetMresConfigsValuesQuery = { core_getManagedResouceOutputKeyValues: Array<{ key: string, mresName: string, value: string }> }; +export type AuthCli_GetMresConfigsValuesQuery = { + core_getManagedResouceOutputKeyValues: Array<{ + key: string; + mresName: string; + value: string; + }>; +}; export type AuthCli_InfraCheckNameAvailabilityQueryVariables = Exact<{ resType: ResType; @@ -3567,8 +7694,12 @@ export type AuthCli_InfraCheckNameAvailabilityQueryVariables = Exact<{ clusterName?: InputMaybe; }>; - -export type AuthCli_InfraCheckNameAvailabilityQuery = { infra_checkNameAvailability: { result: boolean, suggestedNames: Array } }; +export type AuthCli_InfraCheckNameAvailabilityQuery = { + infra_checkNameAvailability: { + result: boolean; + suggestedNames: Array; + }; +}; export type AuthCli_GetConfigSecretMapQueryVariables = Exact<{ envName: Scalars['String']['input']; @@ -3577,29 +7708,38 @@ export type AuthCli_GetConfigSecretMapQueryVariables = Exact<{ mresQueries?: InputMaybe | SecretKeyRefIn>; }>; - -export type AuthCli_GetConfigSecretMapQuery = { configs?: Array<{ configName: string, key: string, value: string }>, secrets?: Array<{ key: string, secretName: string, value: string }>, mreses?: Array<{ key: string, secretName: string, value: string }> }; +export type AuthCli_GetConfigSecretMapQuery = { + configs?: Array<{ configName: string; key: string; value: string }>; + secrets?: Array<{ key: string; secretName: string; value: string }>; + mreses?: Array<{ key: string; secretName: string; value: string }>; +}; export type AuthCli_IntercepExternalAppMutationVariables = Exact<{ envName: Scalars['String']['input']; appName: Scalars['String']['input']; deviceName: Scalars['String']['input']; intercept: Scalars['Boolean']['input']; - portMappings?: InputMaybe | Github__Com___Kloudlite___Operator___Apis___Crds___V1__AppInterceptPortMappingsIn>; + portMappings?: InputMaybe< + | Array + | Github__Com___Kloudlite___Operator___Apis___Crds___V1__AppInterceptPortMappingsIn + >; }>; - -export type AuthCli_IntercepExternalAppMutation = { core_interceptExternalApp: boolean }; +export type AuthCli_IntercepExternalAppMutation = { + core_interceptExternalApp: boolean; +}; export type AuthCli_InterceptAppMutationVariables = Exact<{ - portMappings?: InputMaybe | Github__Com___Kloudlite___Operator___Apis___Crds___V1__AppInterceptPortMappingsIn>; + portMappings?: InputMaybe< + | Array + | Github__Com___Kloudlite___Operator___Apis___Crds___V1__AppInterceptPortMappingsIn + >; intercept: Scalars['Boolean']['input']; deviceName: Scalars['String']['input']; appName: Scalars['String']['input']; envName: Scalars['String']['input']; }>; - export type AuthCli_InterceptAppMutation = { core_interceptApp: boolean }; export type AuthCli_RemoveDeviceInterceptsMutationVariables = Exact<{ @@ -3607,122 +7747,277 @@ export type AuthCli_RemoveDeviceInterceptsMutationVariables = Exact<{ deviceName: Scalars['String']['input']; }>; - -export type AuthCli_RemoveDeviceInterceptsMutation = { core_removeDeviceIntercepts: boolean }; +export type AuthCli_RemoveDeviceInterceptsMutation = { + core_removeDeviceIntercepts: boolean; +}; export type AuthCli_GetEnvironmentQueryVariables = Exact<{ name: Scalars['String']['input']; }>; +export type AuthCli_GetEnvironmentQuery = { + core_getEnvironment?: { + displayName: string; + clusterName: string; + status?: { isReady: boolean; message?: { RawMessage?: any } }; + metadata?: { name: string }; + spec?: { targetNamespace?: string }; + }; +}; + +export type AuthCli_CloneEnvironmentMutationVariables = Exact<{ + clusterName: Scalars['String']['input']; + sourceEnvName: Scalars['String']['input']; + destinationEnvName: Scalars['String']['input']; + displayName: Scalars['String']['input']; + environmentRoutingMode: Github__Com___Kloudlite___Operator___Apis___Crds___V1__EnvironmentRoutingMode; +}>; -export type AuthCli_GetEnvironmentQuery = { core_getEnvironment?: { displayName: string, clusterName: string, status?: { isReady: boolean, message?: { RawMessage?: any } }, metadata?: { name: string }, spec?: { targetNamespace?: string } } }; +export type AuthCli_CloneEnvironmentMutation = { + core_cloneEnvironment?: { + id: string; + displayName: string; + clusterName: string; + metadata?: { name: string; namespace?: string }; + status?: { isReady: boolean; message?: { RawMessage?: any } }; + spec?: { targetNamespace?: string }; + }; +}; export type AuthCli_GetSecretQueryVariables = Exact<{ envName: Scalars['String']['input']; name: Scalars['String']['input']; }>; - -export type AuthCli_GetSecretQuery = { core_getSecret?: { displayName: string, stringData?: any, metadata?: { name: string, namespace?: string } } }; +export type AuthCli_GetSecretQuery = { + core_getSecret?: { + displayName: string; + stringData?: any; + metadata?: { name: string; namespace?: string }; + }; +}; export type AuthCli_GetConfigQueryVariables = Exact<{ envName: Scalars['String']['input']; name: Scalars['String']['input']; }>; - -export type AuthCli_GetConfigQuery = { core_getConfig?: { data?: any, displayName: string, metadata?: { name: string, namespace?: string } } }; +export type AuthCli_GetConfigQuery = { + core_getConfig?: { + data?: any; + displayName: string; + metadata?: { name: string; namespace?: string }; + }; +}; export type AuthCli_ListAppsQueryVariables = Exact<{ pq?: InputMaybe; envName: Scalars['String']['input']; }>; - -export type AuthCli_ListAppsQuery = { apps?: { edges: Array<{ node: { displayName: string, environmentName: string, markedForDeletion?: boolean, spec?: { intercept?: { enabled: boolean, toDevice: string, portMappings?: Array<{ devicePort: number, appPort: number }> } }, metadata?: { name: string, annotations?: any, namespace?: string }, status?: { checks?: any, isReady: boolean, message?: { RawMessage?: any } } } }> }, mapps?: { edges: Array<{ node: { displayName: string, environmentName: string, markedForDeletion?: boolean, metadata?: { annotations?: any, name: string, namespace?: string }, spec: { displayName?: string, intercept?: { enabled: boolean, toDevice: string, portMappings?: Array<{ devicePort: number, appPort: number }> }, services?: Array<{ port: number }> }, status?: { checks?: any, isReady: boolean, message?: { RawMessage?: any } } } }> } }; +export type AuthCli_ListAppsQuery = { + apps?: { + edges: Array<{ + node: { + displayName: string; + environmentName: string; + markedForDeletion?: boolean; + spec?: { + intercept?: { + enabled: boolean; + toDevice: string; + portMappings?: Array<{ devicePort: number; appPort: number }>; + }; + }; + metadata?: { name: string; annotations?: any; namespace?: string }; + status?: { + checks?: any; + isReady: boolean; + message?: { RawMessage?: any }; + }; + }; + }>; + }; + mapps?: { + edges: Array<{ + node: { + displayName: string; + environmentName: string; + markedForDeletion?: boolean; + metadata?: { annotations?: any; name: string; namespace?: string }; + spec: { + displayName?: string; + intercept?: { + enabled: boolean; + toDevice: string; + portMappings?: Array<{ devicePort: number; appPort: number }>; + }; + services?: Array<{ port: number }>; + }; + status?: { + checks?: any; + isReady: boolean; + message?: { RawMessage?: any }; + }; + }; + }>; + }; +}; export type AuthCli_ListConfigsQueryVariables = Exact<{ pq?: InputMaybe; envName: Scalars['String']['input']; }>; - -export type AuthCli_ListConfigsQuery = { core_listConfigs?: { totalCount: number, edges: Array<{ node: { data?: any, displayName: string, metadata?: { name: string, namespace?: string } } }> } }; +export type AuthCli_ListConfigsQuery = { + core_listConfigs?: { + totalCount: number; + edges: Array<{ + node: { + data?: any; + displayName: string; + metadata?: { name: string; namespace?: string }; + }; + }>; + }; +}; export type AuthCli_ListSecretsQueryVariables = Exact<{ envName: Scalars['String']['input']; pq?: InputMaybe; }>; - -export type AuthCli_ListSecretsQuery = { core_listSecrets?: { edges: Array<{ cursor: string, node: { displayName: string, markedForDeletion?: boolean, isReadyOnly: boolean, stringData?: any, metadata?: { name: string, namespace?: string } } }> } }; +export type AuthCli_ListSecretsQuery = { + core_listSecrets?: { + edges: Array<{ + cursor: string; + node: { + displayName: string; + markedForDeletion?: boolean; + isReadyOnly: boolean; + stringData?: any; + metadata?: { name: string; namespace?: string }; + }; + }>; + }; +}; export type AuthCli_ListEnvironmentsQueryVariables = Exact<{ pq?: InputMaybe; }>; - -export type AuthCli_ListEnvironmentsQuery = { core_listEnvironments?: { totalCount: number, edges: Array<{ cursor: string, node: { displayName: string, markedForDeletion?: boolean, clusterName: string, metadata?: { name: string, namespace?: string }, spec?: { targetNamespace?: string }, status?: { isReady: boolean, message?: { RawMessage?: any } } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type AuthCli_ListEnvironmentsQuery = { + core_listEnvironments?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + displayName: string; + markedForDeletion?: boolean; + clusterName: string; + metadata?: { name: string; namespace?: string }; + spec?: { targetNamespace?: string }; + status?: { isReady: boolean; message?: { RawMessage?: any } }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; export type AuthCli_GetKubeConfigQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type AuthCli_GetKubeConfigQuery = { infra_getCluster?: { adminKubeconfig?: { encoding: string, value: string }, status?: { isReady: boolean } } }; +export type AuthCli_GetKubeConfigQuery = { + infra_getCluster?: { + adminKubeconfig?: { encoding: string; value: string }; + status?: { isReady: boolean }; + }; +}; export type AuthCli_ListClustersQueryVariables = Exact<{ pagination?: InputMaybe; }>; +export type AuthCli_ListClustersQuery = { + infra_listClusters?: { + edges: Array<{ + node: { + displayName: string; + metadata: { name: string }; + status?: { isReady: boolean }; + }; + }>; + }; +}; -export type AuthCli_ListClustersQuery = { infra_listClusters?: { edges: Array<{ node: { displayName: string, metadata: { name: string }, status?: { isReady: boolean } } }> } }; - -export type AuthCli_ListAccountsQueryVariables = Exact<{ [key: string]: never; }>; - - -export type AuthCli_ListAccountsQuery = { accounts_listAccounts?: Array<{ displayName: string, metadata?: { name: string } }> }; +export type AuthCli_ListAccountsQueryVariables = Exact<{ + [key: string]: never; +}>; -export type AuthCli_GetCurrentUserQueryVariables = Exact<{ [key: string]: never; }>; +export type AuthCli_ListAccountsQuery = { + accounts_listAccounts?: Array<{ + displayName: string; + metadata?: { name: string }; + }>; +}; +export type AuthCli_GetCurrentUserQueryVariables = Exact<{ + [key: string]: never; +}>; -export type AuthCli_GetCurrentUserQuery = { auth_me?: { id: string, email: string, name: string } }; +export type AuthCli_GetCurrentUserQuery = { + auth_me?: { id: string; email: string; name: string }; +}; export type AuthCli_CreateRemoteLoginMutationVariables = Exact<{ secret?: InputMaybe; }>; - -export type AuthCli_CreateRemoteLoginMutation = { auth_createRemoteLogin: string }; +export type AuthCli_CreateRemoteLoginMutation = { + auth_createRemoteLogin: string; +}; export type AuthCli_GetRemoteLoginQueryVariables = Exact<{ loginId: Scalars['String']['input']; secret: Scalars['String']['input']; }>; - -export type AuthCli_GetRemoteLoginQuery = { auth_getRemoteLogin?: { authHeader?: string, status: string } }; +export type AuthCli_GetRemoteLoginQuery = { + auth_getRemoteLogin?: { authHeader?: string; status: string }; +}; export type AuthCli_CreateClusterReferenceMutationVariables = Exact<{ cluster: ByokClusterIn; }>; - -export type AuthCli_CreateClusterReferenceMutation = { infra_createBYOKCluster?: { id: string, metadata: { name: string } } }; +export type AuthCli_CreateClusterReferenceMutation = { + infra_createBYOKCluster?: { id: string; metadata: { name: string } }; +}; export type AuthCli_DeleteClusterReferenceMutationVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type AuthCli_DeleteClusterReferenceMutation = { infra_deleteBYOKCluster: boolean }; +export type AuthCli_DeleteClusterReferenceMutation = { + infra_deleteBYOKCluster: boolean; +}; export type AuthCli_ClusterReferenceInstructionsQueryVariables = Exact<{ name: Scalars['String']['input']; }>; - -export type AuthCli_ClusterReferenceInstructionsQuery = { infrat_getBYOKClusterSetupInstructions?: Array<{ command: string, title: string }> }; +export type AuthCli_ClusterReferenceInstructionsQuery = { + infrat_getBYOKClusterSetupInstructions?: Array<{ + command: string; + title: string; + }>; +}; export type AuthCli_ListImportedManagedResourcesQueryVariables = Exact<{ envName: Scalars['String']['input']; @@ -3730,21 +8025,147 @@ export type AuthCli_ListImportedManagedResourcesQueryVariables = Exact<{ pq?: InputMaybe; }>; +export type AuthCli_ListImportedManagedResourcesQuery = { + core_listImportedManagedResources?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + accountName: string; + creationTime: any; + displayName: string; + environmentName: string; + id: string; + markedForDeletion?: boolean; + name: string; + recordVersion: number; + updateTime: any; + createdBy: { userEmail: string; userId: string; userName: string }; + lastUpdatedBy: { userEmail: string; userId: string; userName: string }; + managedResourceRef: { id: string; name: string; namespace: string }; + secretRef: { name: string; namespace?: string }; + syncStatus: { + action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction; + error?: string; + lastSyncedAt?: any; + recordVersion: number; + state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState; + syncScheduledAt?: any; + }; + managedResource?: { + accountName: string; + apiVersion?: string; + creationTime: any; + displayName: string; + enabled?: boolean; + environmentName: string; + id: string; + isImported: boolean; + kind?: string; + managedServiceName: string; + markedForDeletion?: boolean; + mresRef: string; + recordVersion: number; + updateTime: any; + metadata?: { + annotations?: any; + creationTimestamp: any; + deletionTimestamp?: any; + generation: number; + labels?: any; + name: string; + namespace?: string; + }; + spec: { + resourceNamePrefix?: string; + resourceTemplate: { + apiVersion: string; + kind: string; + spec?: any; + msvcRef: { + apiVersion?: string; + kind?: string; + name: string; + namespace: string; + }; + }; + }; + status?: { + checks?: any; + isReady: boolean; + lastReadyGeneration?: number; + lastReconcileTime?: any; + checkList?: Array<{ + debug?: boolean; + description?: string; + hide?: boolean; + name: string; + title: string; + }>; + message?: { RawMessage?: any }; + resources?: Array<{ + apiVersion: string; + kind: string; + name: string; + namespace: string; + }>; + }; + syncedOutputSecretRef?: { + apiVersion?: string; + data?: any; + immutable?: boolean; + kind?: string; + stringData?: any; + type?: K8s__Io___Api___Core___V1__SecretType; + }; + }; + }; + }>; + pageInfo: { + endCursor?: string; + hasNextPage?: boolean; + hasPrevPage?: boolean; + startCursor?: string; + }; + }; +}; + +export type AuthCli_ListByokClustersQueryVariables = Exact<{ + search?: InputMaybe; + pagination?: InputMaybe; +}>; -export type AuthCli_ListImportedManagedResourcesQuery = { core_listImportedManagedResources?: { totalCount: number, edges: Array<{ cursor: string, node: { accountName: string, creationTime: any, displayName: string, environmentName: string, id: string, markedForDeletion?: boolean, name: string, recordVersion: number, updateTime: any, createdBy: { userEmail: string, userId: string, userName: string }, lastUpdatedBy: { userEmail: string, userId: string, userName: string }, managedResourceRef: { id: string, name: string, namespace: string }, secretRef: { name: string, namespace?: string }, syncStatus: { action: Github__Com___Kloudlite___Api___Pkg___Types__SyncAction, error?: string, lastSyncedAt?: any, recordVersion: number, state: Github__Com___Kloudlite___Api___Pkg___Types__SyncState, syncScheduledAt?: any }, managedResource?: { accountName: string, apiVersion?: string, creationTime: any, displayName: string, enabled?: boolean, environmentName: string, id: string, isImported: boolean, kind?: string, managedServiceName: string, markedForDeletion?: boolean, mresRef: string, recordVersion: number, updateTime: any, metadata?: { annotations?: any, creationTimestamp: any, deletionTimestamp?: any, generation: number, labels?: any, name: string, namespace?: string }, spec: { resourceNamePrefix?: string, resourceTemplate: { apiVersion: string, kind: string, spec?: any, msvcRef: { apiVersion?: string, kind?: string, name: string, namespace: string } } }, status?: { checks?: any, isReady: boolean, lastReadyGeneration?: number, lastReconcileTime?: any, checkList?: Array<{ debug?: boolean, description?: string, hide?: boolean, name: string, title: string }>, message?: { RawMessage?: any }, resources?: Array<{ apiVersion: string, kind: string, name: string, namespace: string }> }, syncedOutputSecretRef?: { apiVersion?: string, data?: any, immutable?: boolean, kind?: string, stringData?: any, type?: K8s__Io___Api___Core___V1__SecretType } } } }>, pageInfo: { endCursor?: string, hasNextPage?: boolean, hasPrevPage?: boolean, startCursor?: string } } }; +export type AuthCli_ListByokClustersQuery = { + infra_listBYOKClusters?: { + totalCount: number; + edges: Array<{ + cursor: string; + node: { + displayName: string; + id: string; + updateTime: any; + metadata: { name: string; namespace?: string }; + }; + }>; + }; +}; export type AuthSetRemoteAuthHeaderMutationVariables = Exact<{ loginId: Scalars['String']['input']; authHeader?: InputMaybe; }>; +export type AuthSetRemoteAuthHeaderMutation = { + auth_setRemoteAuthHeader: boolean; +}; -export type AuthSetRemoteAuthHeaderMutation = { auth_setRemoteAuthHeader: boolean }; - -export type AuthCheckOauthEnabledQueryVariables = Exact<{ [key: string]: never; }>; - +export type AuthCheckOauthEnabledQueryVariables = Exact<{ + [key: string]: never; +}>; -export type AuthCheckOauthEnabledQuery = { auth_listOAuthProviders?: Array<{ enabled: boolean, provider: string }> }; +export type AuthCheckOauthEnabledQuery = { + auth_listOAuthProviders?: Array<{ enabled: boolean; provider: string }>; +}; export type AuthAddOauthCredientialsMutationVariables = Exact<{ provider: Scalars['String']['input']; @@ -3752,22 +8173,21 @@ export type AuthAddOauthCredientialsMutationVariables = Exact<{ code: Scalars['String']['input']; }>; - export type AuthAddOauthCredientialsMutation = { oAuth_addLogin: boolean }; export type AuthRequestResetPasswordMutationVariables = Exact<{ email: Scalars['String']['input']; }>; - -export type AuthRequestResetPasswordMutation = { auth_requestResetPassword: boolean }; +export type AuthRequestResetPasswordMutation = { + auth_requestResetPassword: boolean; +}; export type AuthResetPasswordMutationVariables = Exact<{ token: Scalars['String']['input']; password: Scalars['String']['input']; }>; - export type AuthResetPasswordMutation = { auth_resetPassword: boolean }; export type AuthOauthLoginMutationVariables = Exact<{ @@ -3776,36 +8196,40 @@ export type AuthOauthLoginMutationVariables = Exact<{ state?: InputMaybe; }>; - export type AuthOauthLoginMutation = { oAuth_login: { id: string } }; export type AuthVerifyEmailMutationVariables = Exact<{ token: Scalars['String']['input']; }>; - export type AuthVerifyEmailMutation = { auth_verifyEmail: { id: string } }; -export type AuthResendVerificationEmailMutationVariables = Exact<{ [key: string]: never; }>; - - -export type AuthResendVerificationEmailMutation = { auth_resendVerificationEmail: boolean }; +export type AuthResendVerificationEmailMutationVariables = Exact<{ + [key: string]: never; +}>; -export type AuthLoginPageInitUrlsQueryVariables = Exact<{ [key: string]: never; }>; +export type AuthResendVerificationEmailMutation = { + auth_resendVerificationEmail: boolean; +}; +export type AuthLoginPageInitUrlsQueryVariables = Exact<{ + [key: string]: never; +}>; -export type AuthLoginPageInitUrlsQuery = { githubLoginUrl: any, gitlabLoginUrl: any, googleLoginUrl: any }; +export type AuthLoginPageInitUrlsQuery = { + githubLoginUrl: any; + gitlabLoginUrl: any; + googleLoginUrl: any; +}; export type AuthLoginMutationVariables = Exact<{ email: Scalars['String']['input']; password: Scalars['String']['input']; }>; - export type AuthLoginMutation = { auth_login?: { id: string } }; -export type AuthLogoutMutationVariables = Exact<{ [key: string]: never; }>; - +export type AuthLogoutMutationVariables = Exact<{ [key: string]: never }>; export type AuthLogoutMutation = { auth_logout: boolean }; @@ -3815,15 +8239,31 @@ export type AuthSignUpWithEmailMutationVariables = Exact<{ email: Scalars['String']['input']; }>; - export type AuthSignUpWithEmailMutation = { auth_signup?: { id: string } }; -export type AuthWhoAmIQueryVariables = Exact<{ [key: string]: never; }>; - +export type AuthWhoAmIQueryVariables = Exact<{ [key: string]: never }>; -export type AuthWhoAmIQuery = { auth_me?: { id: string, email: string, verified: boolean, name: string, approved: boolean } }; - -export type LibWhoAmIQueryVariables = Exact<{ [key: string]: never; }>; +export type AuthWhoAmIQuery = { + auth_me?: { + id: string; + email: string; + verified: boolean; + name: string; + approved: boolean; + }; +}; +export type LibWhoAmIQueryVariables = Exact<{ [key: string]: never }>; -export type LibWhoAmIQuery = { auth_me?: { verified: boolean, name: string, id: string, email: string, approved: boolean, providerGitlab?: any, providerGithub?: any, providerGoogle?: any } }; +export type LibWhoAmIQuery = { + auth_me?: { + verified: boolean; + name: string; + id: string; + email: string; + approved: boolean; + providerGitlab?: any; + providerGithub?: any; + providerGoogle?: any; + }; +};