/* eslint-disable */ import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; export type Maybe = T | null; export type InputMaybe = Maybe; export type Exact = { [K in keyof T]: T[K] }; export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; export type MakeEmpty = { [_ in K]?: never }; export type Incremental = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never }; /** 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; } /** A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar. */ DateTime: { input: string; output: string; } /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */ JSON: { input: any; output: any; } /** The `Long` scalar type represents 52-bit integers */ Long: { input: number; output: number; } /** A field whose value is a valid TCP port within the range of 0 to 65535: https://en.wikipedia.org/wiki/Transmission_Control_Protocol#TCP_ports */ Port: { input: number; output: number; } /** A field whose value conforms to the standard URL format as specified in RFC3986: https://www.ietf.org/rfc/rfc3986.txt. */ URL: { input: URL; output: URL; } /** A field whose value is a generic Universally Unique Identifier: https://en.wikipedia.org/wiki/Universally_unique_identifier. */ UUID: { input: string; output: string; } }; export type AccessUrl = { __typename?: 'AccessUrl'; ipv4?: Maybe; ipv6?: Maybe; name?: Maybe; type: URL_TYPE; }; export type AccessUrlInput = { ipv4?: InputMaybe; ipv6?: InputMaybe; name?: InputMaybe; type: URL_TYPE; }; export type AddPermissionInput = { actions: Array; resource: Resource; }; export type AddRoleForApiKeyInput = { apiKeyId: Scalars['ID']['input']; role: Role; }; export type AddRoleForUserInput = { role: Role; userId: Scalars['ID']['input']; }; export type AllowedOriginInput = { origins: Array; }; export type ApiKey = { __typename?: 'ApiKey'; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; name: Scalars['String']['output']; permissions: Array; roles: Array; }; export type ApiKeyResponse = { __typename?: 'ApiKeyResponse'; error?: Maybe; valid: Scalars['Boolean']['output']; }; export type ApiKeyWithSecret = { __typename?: 'ApiKeyWithSecret'; createdAt: Scalars['DateTime']['output']; description?: Maybe; id: Scalars['ID']['output']; key: Scalars['String']['output']; name: Scalars['String']['output']; permissions: Array; roles: Array; }; /** * Input should be a subset of ApiSettings that can be updated. * Some field combinations may be required or disallowed. Please refer to each field for more information. */ export type ApiSettingsInput = { /** The type of WAN access to use for Remote Access. */ accessType?: InputMaybe; /** A list of origins allowed to interact with the API. */ extraOrigins?: InputMaybe>; /** The type of port forwarding to use for Remote Access. */ forwardType?: InputMaybe; /** * The port to use for Remote Access. Not required for UPNP forwardType. Required for STATIC forwardType. * Ignored if accessType is DISABLED or forwardType is UPNP. */ port?: InputMaybe; /** * If true, the GraphQL sandbox will be enabled and available at /graphql. * If false, the GraphQL sandbox will be disabled and only the production API will be available. */ sandbox?: InputMaybe; }; export type ArrayType = Node & { __typename?: 'Array'; /** Current boot disk */ boot?: Maybe; /** Caches in the current array */ caches: Array; /** Current array capacity */ capacity: ArrayCapacity; /** Data disks in the current array */ disks: Array; id: Scalars['ID']['output']; /** Parity disks in the current array */ parities: Array; /** Array state after this query/mutation */ pendingState?: Maybe; /** Array state before this query/mutation */ previousState?: Maybe; /** Current array state */ state: ArrayState; }; export type ArrayCapacity = { __typename?: 'ArrayCapacity'; disks: Capacity; kilobytes: Capacity; }; export type ArrayDisk = { __typename?: 'ArrayDisk'; /** User comment on disk */ comment?: Maybe; /** (%) Disk space left for critical */ critical?: Maybe; device?: Maybe; exportable?: Maybe; /** File format (ex MBR: 4KiB-aligned) */ format?: Maybe; /** (KB) Free Size on the FS (Not present on Parity type drive) */ fsFree?: Maybe; /** (KB) Total Size of the FS (Not present on Parity type drive) */ fsSize?: Maybe; /** File system type for the disk */ fsType?: Maybe; /** (KB) Used Size on the FS (Not present on Parity type drive) */ fsUsed?: Maybe; /** Disk indentifier, only set for present disks on the system */ id: Scalars['ID']['output']; /** Array slot number. Parity1 is always 0 and Parity2 is always 29. Array slots will be 1 - 28. Cache slots are 30 - 53. Flash is 54. */ idx: Scalars['Int']['output']; name?: Maybe; /** Number of unrecoverable errors reported by the device I/O drivers. Missing data due to unrecoverable array read errors is filled in on-the-fly using parity reconstruct (and we attempt to write this data back to the sector(s) which failed). Any unrecoverable write error results in disabling the disk. */ numErrors: Scalars['Long']['output']; /** Count of I/O read requests sent to the device I/O drivers. These statistics may be cleared at any time. */ numReads: Scalars['Long']['output']; /** Count of I/O writes requests sent to the device I/O drivers. These statistics may be cleared at any time. */ numWrites: Scalars['Long']['output']; /** Is the disk a HDD or SSD. */ rotational?: Maybe; /** (KB) Disk Size total */ size: Scalars['Long']['output']; status?: Maybe; /** Disk temp - will be NaN if array is not started or DISK_NP */ temp?: Maybe; /** ata | nvme | usb | (others) */ transport?: Maybe; /** Type of Disk - used to differentiate Cache / Flash / Array / Parity */ type: ArrayDiskType; /** (%) Disk space left to warn */ warning?: Maybe; }; export enum ArrayDiskFsColor { /** Disk is OK and not running */ GreenOff = 'green_off', /** Disk is OK and running */ GreenOn = 'green_on', RedOff = 'red_off', RedOn = 'red_on', YellowOff = 'yellow_off', YellowOn = 'yellow_on' } export enum ArrayDiskStatus { /** disabled, old disk still present */ DiskDsbl = 'DISK_DSBL', /** disabled, new disk present */ DiskDsblNew = 'DISK_DSBL_NEW', /** enabled, disk present, but not valid */ DiskInvalid = 'DISK_INVALID', /** new disk */ DiskNew = 'DISK_NEW', /** no disk present, no disk configured */ DiskNp = 'DISK_NP', /** disabled, no disk present */ DiskNpDsbl = 'DISK_NP_DSBL', /** enabled, but missing */ DiskNpMissing = 'DISK_NP_MISSING', /** enabled, disk present, correct, valid */ DiskOk = 'DISK_OK', /** enablled, disk present, but not correct disk */ DiskWrong = 'DISK_WRONG' } export enum ArrayDiskType { /** Cache disk */ Cache = 'Cache', /** Data disk */ Data = 'Data', /** Flash disk */ Flash = 'Flash', /** Parity disk */ Parity = 'Parity' } export enum ArrayPendingState { /** Array has no data disks */ NoDataDisks = 'no_data_disks', /** Array is starting */ Starting = 'starting', /** Array is stopping */ Stopping = 'stopping', /** Array has too many missing data disks */ TooManyMissingDisks = 'too_many_missing_disks' } export enum ArrayState { /** A disk is disabled in the array */ DisableDisk = 'DISABLE_DISK', /** Too many changes to array at the same time */ InvalidExpansion = 'INVALID_EXPANSION', /** Array has new disks */ NewArray = 'NEW_ARRAY', /** Array has new disks they're too small */ NewDiskTooSmall = 'NEW_DISK_TOO_SMALL', /** Array has no data disks */ NoDataDisks = 'NO_DATA_DISKS', /** Parity isn't the biggest, can't start array */ ParityNotBiggest = 'PARITY_NOT_BIGGEST', /** A disk is being reconstructed */ ReconDisk = 'RECON_DISK', /** Array is running */ Started = 'STARTED', /** Array has stopped */ Stopped = 'STOPPED', /** Array is disabled */ SwapDsbl = 'SWAP_DSBL', /** Array has too many missing data disks */ TooManyMissingDisks = 'TOO_MANY_MISSING_DISKS' } export type Baseboard = { __typename?: 'Baseboard'; assetTag?: Maybe; manufacturer: Scalars['String']['output']; model?: Maybe; serial?: Maybe; version?: Maybe; }; export type Capacity = { __typename?: 'Capacity'; free: Scalars['String']['output']; total: Scalars['String']['output']; used: Scalars['String']['output']; }; export type Case = { __typename?: 'Case'; base64?: Maybe; error?: Maybe; icon?: Maybe; url?: Maybe; }; export type Cloud = { __typename?: 'Cloud'; allowedOrigins: Array; apiKey: ApiKeyResponse; cloud: CloudResponse; error?: Maybe; minigraphql: MinigraphqlResponse; relay?: Maybe; }; export type CloudResponse = { __typename?: 'CloudResponse'; error?: Maybe; ip?: Maybe; status: Scalars['String']['output']; }; export type Config = Node & { __typename?: 'Config'; error?: Maybe; id: Scalars['ID']['output']; valid?: Maybe; }; export enum ConfigErrorState { Ineligible = 'INELIGIBLE', Invalid = 'INVALID', NoKeyServer = 'NO_KEY_SERVER', UnknownError = 'UNKNOWN_ERROR', Withdrawn = 'WITHDRAWN' } export type Connect = Node & { __typename?: 'Connect'; dynamicRemoteAccess: DynamicRemoteAccessStatus; id: Scalars['ID']['output']; settings: ConnectSettings; }; export type ConnectSettings = Node & { __typename?: 'ConnectSettings'; dataSchema: Scalars['JSON']['output']; id: Scalars['ID']['output']; uiSchema: Scalars['JSON']['output']; values: ConnectSettingsValues; }; /** Intersection type of ApiSettings and RemoteAccess */ export type ConnectSettingsValues = { __typename?: 'ConnectSettingsValues'; /** The type of WAN access used for Remote Access. */ accessType: WAN_ACCESS_TYPE; /** A list of origins allowed to interact with the API. */ extraOrigins: Array; /** The type of port forwarding used for Remote Access. */ forwardType?: Maybe; /** The port used for Remote Access. */ port?: Maybe; /** * If true, the GraphQL sandbox is enabled and available at /graphql. * If false, the GraphQL sandbox is disabled and only the production API will be available. */ sandbox: Scalars['Boolean']['output']; }; export type ConnectSignInInput = { accessToken?: InputMaybe; apiKey: Scalars['String']['input']; idToken?: InputMaybe; refreshToken?: InputMaybe; userInfo?: InputMaybe; }; export type ConnectUserInfoInput = { avatar?: InputMaybe; email: Scalars['String']['input']; preferred_username: Scalars['String']['input']; }; export type ContainerHostConfig = { __typename?: 'ContainerHostConfig'; networkMode: Scalars['String']['output']; }; export type ContainerMount = { __typename?: 'ContainerMount'; destination: Scalars['String']['output']; driver: Scalars['String']['output']; mode: Scalars['String']['output']; name: Scalars['String']['output']; propagation: Scalars['String']['output']; rw: Scalars['Boolean']['output']; source: Scalars['String']['output']; type: Scalars['String']['output']; }; export type ContainerPort = { __typename?: 'ContainerPort'; ip?: Maybe; privatePort?: Maybe; publicPort?: Maybe; type?: Maybe; }; export enum ContainerPortType { Tcp = 'TCP', Udp = 'UDP' } export enum ContainerState { Exited = 'EXITED', Running = 'RUNNING' } export type CreateApiKeyInput = { description?: InputMaybe; name: Scalars['String']['input']; /** This will replace the existing key if one already exists with the same name, otherwise returns the existing key */ overwrite?: InputMaybe; permissions?: InputMaybe>; roles?: InputMaybe>; }; export type Devices = { __typename?: 'Devices'; gpu?: Maybe>>; network?: Maybe>>; pci?: Maybe>>; usb?: Maybe>>; }; export type Disk = { __typename?: 'Disk'; bytesPerSector: Scalars['Long']['output']; device: Scalars['String']['output']; firmwareRevision: Scalars['String']['output']; id: Scalars['ID']['output']; interfaceType: DiskInterfaceType; name: Scalars['String']['output']; partitions?: Maybe>; sectorsPerTrack: Scalars['Long']['output']; serialNum: Scalars['String']['output']; size: Scalars['Long']['output']; smartStatus: DiskSmartStatus; temperature: Scalars['Long']['output']; totalCylinders: Scalars['Long']['output']; totalHeads: Scalars['Long']['output']; totalSectors: Scalars['Long']['output']; totalTracks: Scalars['Long']['output']; tracksPerCylinder: Scalars['Long']['output']; type: Scalars['String']['output']; vendor: Scalars['String']['output']; }; export enum DiskFsType { Btrfs = 'btrfs', Vfat = 'vfat', Xfs = 'xfs', Zfs = 'zfs' } export enum DiskInterfaceType { PcIe = 'PCIe', Sas = 'SAS', Sata = 'SATA', Unknown = 'UNKNOWN', Usb = 'USB' } export type DiskPartition = { __typename?: 'DiskPartition'; fsType: DiskFsType; name: Scalars['String']['output']; size: Scalars['Long']['output']; }; export enum DiskSmartStatus { Ok = 'OK', Unknown = 'UNKNOWN' } export type Display = { __typename?: 'Display'; banner?: Maybe; case?: Maybe; critical?: Maybe; dashapps?: Maybe; date?: Maybe; hot?: Maybe; id: Scalars['ID']['output']; locale?: Maybe; max?: Maybe; number?: Maybe; resize?: Maybe; scale?: Maybe; tabs?: Maybe; text?: Maybe; theme?: Maybe; total?: Maybe; unit?: Maybe; usage?: Maybe; users?: Maybe; warning?: Maybe; wwn?: Maybe; }; export type Docker = Node & { __typename?: 'Docker'; containers?: Maybe>; id: Scalars['ID']['output']; networks?: Maybe>; }; export type DockerContainer = { __typename?: 'DockerContainer'; autoStart: Scalars['Boolean']['output']; command: Scalars['String']['output']; created: Scalars['Int']['output']; hostConfig?: Maybe; id: Scalars['ID']['output']; image: Scalars['String']['output']; imageId: Scalars['String']['output']; labels?: Maybe; mounts?: Maybe>>; names?: Maybe>; networkSettings?: Maybe; ports: Array; /** (B) Total size of all the files in the container */ sizeRootFs?: Maybe; state: ContainerState; status: Scalars['String']['output']; }; export type DockerNetwork = { __typename?: 'DockerNetwork'; attachable: Scalars['Boolean']['output']; configFrom?: Maybe; configOnly: Scalars['Boolean']['output']; containers?: Maybe; created?: Maybe; driver?: Maybe; enableIPv6: Scalars['Boolean']['output']; id?: Maybe; ingress: Scalars['Boolean']['output']; internal: Scalars['Boolean']['output']; ipam?: Maybe; labels?: Maybe; name?: Maybe; options?: Maybe; scope?: Maybe; }; export type DynamicRemoteAccessStatus = { __typename?: 'DynamicRemoteAccessStatus'; enabledType: DynamicRemoteAccessType; error?: Maybe; runningType: DynamicRemoteAccessType; }; export enum DynamicRemoteAccessType { Disabled = 'DISABLED', Static = 'STATIC', Upnp = 'UPNP' } export type EnableDynamicRemoteAccessInput = { enabled: Scalars['Boolean']['input']; url: AccessUrlInput; }; export type Flash = { __typename?: 'Flash'; guid?: Maybe; product?: Maybe; vendor?: Maybe; }; export type Gpu = { __typename?: 'Gpu'; blacklisted: Scalars['Boolean']['output']; class: Scalars['String']['output']; id: Scalars['ID']['output']; productid: Scalars['String']['output']; type: Scalars['String']['output']; typeid: Scalars['String']['output']; vendorname: Scalars['String']['output']; }; export enum Importance { Alert = 'ALERT', Info = 'INFO', Warning = 'WARNING' } export type Info = Node & { __typename?: 'Info'; /** Count of docker containers */ apps?: Maybe; baseboard?: Maybe; cpu?: Maybe; devices?: Maybe; display?: Maybe; id: Scalars['ID']['output']; /** Machine ID */ machineId?: Maybe; memory?: Maybe; os?: Maybe; system?: Maybe; time: Scalars['DateTime']['output']; versions?: Maybe; }; export type InfoApps = { __typename?: 'InfoApps'; /** How many docker containers are installed */ installed?: Maybe; /** How many docker containers are running */ started?: Maybe; }; export type InfoCpu = { __typename?: 'InfoCpu'; brand: Scalars['String']['output']; cache: Scalars['JSON']['output']; cores: Scalars['Int']['output']; family: Scalars['String']['output']; flags?: Maybe>; manufacturer: Scalars['String']['output']; model: Scalars['String']['output']; processors: Scalars['Long']['output']; revision: Scalars['String']['output']; socket: Scalars['String']['output']; speed: Scalars['Float']['output']; speedmax: Scalars['Float']['output']; speedmin: Scalars['Float']['output']; stepping: Scalars['Int']['output']; threads: Scalars['Int']['output']; vendor: Scalars['String']['output']; voltage?: Maybe; }; export type InfoMemory = { __typename?: 'InfoMemory'; active: Scalars['Long']['output']; available: Scalars['Long']['output']; buffcache: Scalars['Long']['output']; free: Scalars['Long']['output']; layout?: Maybe>; max: Scalars['Long']['output']; swapfree: Scalars['Long']['output']; swaptotal: Scalars['Long']['output']; swapused: Scalars['Long']['output']; total: Scalars['Long']['output']; used: Scalars['Long']['output']; }; export type KeyFile = { __typename?: 'KeyFile'; contents?: Maybe; location?: Maybe; }; /** Represents a log file in the system */ export type LogFile = { __typename?: 'LogFile'; /** Last modified timestamp */ modifiedAt: Scalars['DateTime']['output']; /** Name of the log file */ name: Scalars['String']['output']; /** Full path to the log file */ path: Scalars['String']['output']; /** Size of the log file in bytes */ size: Scalars['Int']['output']; }; /** Content of a log file */ export type LogFileContent = { __typename?: 'LogFileContent'; /** Content of the log file */ content: Scalars['String']['output']; /** Path to the log file */ path: Scalars['String']['output']; /** Starting line number of the content (1-indexed) */ startLine?: Maybe; /** Total number of lines in the file */ totalLines: Scalars['Int']['output']; }; /** The current user */ export type Me = UserAccount & { __typename?: 'Me'; description: Scalars['String']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; permissions?: Maybe>; roles: Array; }; export enum MemoryFormFactor { Dimm = 'DIMM' } export type MemoryLayout = { __typename?: 'MemoryLayout'; bank?: Maybe; clockSpeed?: Maybe; formFactor?: Maybe; manufacturer?: Maybe; partNum?: Maybe; serialNum?: Maybe; size: Scalars['Long']['output']; type?: Maybe; voltageConfigured?: Maybe; voltageMax?: Maybe; voltageMin?: Maybe; }; export enum MemoryType { Ddr2 = 'DDR2', Ddr3 = 'DDR3', Ddr4 = 'DDR4' } export enum MinigraphStatus { Connected = 'CONNECTED', Connecting = 'CONNECTING', ErrorRetrying = 'ERROR_RETRYING', PingFailure = 'PING_FAILURE', PreInit = 'PRE_INIT' } export type MinigraphqlResponse = { __typename?: 'MinigraphqlResponse'; error?: Maybe; status: MinigraphStatus; timeout?: Maybe; }; export type Mount = { __typename?: 'Mount'; directory?: Maybe; name?: Maybe; permissions?: Maybe; type?: Maybe; }; export type Mutation = { __typename?: 'Mutation'; /** Add new disk to array */ addDiskToArray?: Maybe; addPermission: Scalars['Boolean']['output']; addRoleForApiKey: Scalars['Boolean']['output']; addRoleForUser: Scalars['Boolean']['output']; /** Add a new user */ addUser?: Maybe; archiveAll: NotificationOverview; /** Marks a notification as archived. */ archiveNotification: Notification; archiveNotifications: NotificationOverview; /** Cancel parity check */ cancelParityCheck?: Maybe; clearArrayDiskStatistics?: Maybe; connectSignIn: Scalars['Boolean']['output']; connectSignOut: Scalars['Boolean']['output']; createApiKey: ApiKeyWithSecret; createNotification: Notification; /** Deletes all archived notifications on server. */ deleteArchivedNotifications: NotificationOverview; deleteNotification: NotificationOverview; /** Delete a user */ deleteUser?: Maybe; enableDynamicRemoteAccess: Scalars['Boolean']['output']; login?: Maybe; mountArrayDisk?: Maybe; /** Pause parity check */ pauseParityCheck?: Maybe; reboot?: Maybe; /** Reads each notification to recompute & update the overview. */ recalculateOverview: NotificationOverview; /** Remove existing disk from array. NOTE: The array must be stopped before running this otherwise it'll throw an error. */ removeDiskFromArray?: Maybe; removeRoleFromApiKey: Scalars['Boolean']['output']; /** Resume parity check */ resumeParityCheck?: Maybe; setAdditionalAllowedOrigins: Array; setupRemoteAccess: Scalars['Boolean']['output']; shutdown?: Maybe; /** Start array */ startArray?: Maybe; /** Start parity check */ startParityCheck?: Maybe; /** Stop array */ stopArray?: Maybe; unarchiveAll: NotificationOverview; unarchiveNotifications: NotificationOverview; unmountArrayDisk?: Maybe; /** Marks a notification as unread. */ unreadNotification: Notification; /** * Update the API settings. * Some setting combinations may be required or disallowed. Please refer to each setting for more information. */ updateApiSettings: ConnectSettingsValues; }; export type MutationaddDiskToArrayArgs = { input?: InputMaybe; }; export type MutationaddPermissionArgs = { input: AddPermissionInput; }; export type MutationaddRoleForApiKeyArgs = { input: AddRoleForApiKeyInput; }; export type MutationaddRoleForUserArgs = { input: AddRoleForUserInput; }; export type MutationaddUserArgs = { input: addUserInput; }; export type MutationarchiveAllArgs = { importance?: InputMaybe; }; export type MutationarchiveNotificationArgs = { id: Scalars['String']['input']; }; export type MutationarchiveNotificationsArgs = { ids?: InputMaybe>; }; export type MutationclearArrayDiskStatisticsArgs = { id: Scalars['ID']['input']; }; export type MutationconnectSignInArgs = { input: ConnectSignInInput; }; export type MutationcreateApiKeyArgs = { input: CreateApiKeyInput; }; export type MutationcreateNotificationArgs = { input: NotificationData; }; export type MutationdeleteNotificationArgs = { id: Scalars['String']['input']; type: NotificationType; }; export type MutationdeleteUserArgs = { input: deleteUserInput; }; export type MutationenableDynamicRemoteAccessArgs = { input: EnableDynamicRemoteAccessInput; }; export type MutationloginArgs = { password: Scalars['String']['input']; username: Scalars['String']['input']; }; export type MutationmountArrayDiskArgs = { id: Scalars['ID']['input']; }; export type MutationremoveDiskFromArrayArgs = { input?: InputMaybe; }; export type MutationremoveRoleFromApiKeyArgs = { input: RemoveRoleFromApiKeyInput; }; export type MutationsetAdditionalAllowedOriginsArgs = { input: AllowedOriginInput; }; export type MutationsetupRemoteAccessArgs = { input: SetupRemoteAccessInput; }; export type MutationstartParityCheckArgs = { correct?: InputMaybe; }; export type MutationunarchiveAllArgs = { importance?: InputMaybe; }; export type MutationunarchiveNotificationsArgs = { ids?: InputMaybe>; }; export type MutationunmountArrayDiskArgs = { id: Scalars['ID']['input']; }; export type MutationunreadNotificationArgs = { id: Scalars['String']['input']; }; export type MutationupdateApiSettingsArgs = { input: ApiSettingsInput; }; export type Network = Node & { __typename?: 'Network'; accessUrls?: Maybe>; carrierChanges?: Maybe; duplex?: Maybe; id: Scalars['ID']['output']; iface?: Maybe; ifaceName?: Maybe; internal?: Maybe; ipv4?: Maybe; ipv6?: Maybe; mac?: Maybe; mtu?: Maybe; operstate?: Maybe; speed?: Maybe; type?: Maybe; }; export type Node = { id: Scalars['ID']['output']; }; export type Notification = Node & { __typename?: 'Notification'; description: Scalars['String']['output']; formattedTimestamp?: Maybe; id: Scalars['ID']['output']; importance: Importance; link?: Maybe; subject: Scalars['String']['output']; /** ISO Timestamp for when the notification occurred */ timestamp?: Maybe; /** Also known as 'event' */ title: Scalars['String']['output']; type: NotificationType; }; export type NotificationCounts = { __typename?: 'NotificationCounts'; alert: Scalars['Int']['output']; info: Scalars['Int']['output']; total: Scalars['Int']['output']; warning: Scalars['Int']['output']; }; export type NotificationData = { description: Scalars['String']['input']; importance: Importance; link?: InputMaybe; subject: Scalars['String']['input']; title: Scalars['String']['input']; }; export type NotificationFilter = { importance?: InputMaybe; limit: Scalars['Int']['input']; offset: Scalars['Int']['input']; type?: InputMaybe; }; export type NotificationOverview = { __typename?: 'NotificationOverview'; archive: NotificationCounts; unread: NotificationCounts; }; export enum NotificationType { Archive = 'ARCHIVE', Unread = 'UNREAD' } export type Notifications = Node & { __typename?: 'Notifications'; id: Scalars['ID']['output']; list: Array; /** A cached overview of the notifications in the system & their severity. */ overview: NotificationOverview; }; export type NotificationslistArgs = { filter: NotificationFilter; }; export type Os = { __typename?: 'Os'; arch?: Maybe; build?: Maybe; codename?: Maybe; codepage?: Maybe; distro?: Maybe; hostname?: Maybe; kernel?: Maybe; logofile?: Maybe; platform?: Maybe; release?: Maybe; serial?: Maybe; uptime?: Maybe; }; export type Owner = { __typename?: 'Owner'; avatar?: Maybe; url?: Maybe; username?: Maybe; }; export type ParityCheck = { __typename?: 'ParityCheck'; date: Scalars['String']['output']; duration: Scalars['Int']['output']; errors: Scalars['String']['output']; speed: Scalars['String']['output']; status: Scalars['String']['output']; }; export type Partition = { __typename?: 'Partition'; devlinks?: Maybe; devname?: Maybe; devpath?: Maybe; devtype?: Maybe; idAta?: Maybe; idAtaDownloadMicrocode?: Maybe; idAtaFeatureSetAam?: Maybe; idAtaFeatureSetAamCurrentValue?: Maybe; idAtaFeatureSetAamEnabled?: Maybe; idAtaFeatureSetAamVendorRecommendedValue?: Maybe; idAtaFeatureSetApm?: Maybe; idAtaFeatureSetApmCurrentValue?: Maybe; idAtaFeatureSetApmEnabled?: Maybe; idAtaFeatureSetHpa?: Maybe; idAtaFeatureSetHpaEnabled?: Maybe; idAtaFeatureSetPm?: Maybe; idAtaFeatureSetPmEnabled?: Maybe; idAtaFeatureSetPuis?: Maybe; idAtaFeatureSetPuisEnabled?: Maybe; idAtaFeatureSetSecurity?: Maybe; idAtaFeatureSetSecurityEnabled?: Maybe; idAtaFeatureSetSecurityEnhancedEraseUnitMin?: Maybe; idAtaFeatureSetSecurityEraseUnitMin?: Maybe; idAtaFeatureSetSmart?: Maybe; idAtaFeatureSetSmartEnabled?: Maybe; idAtaRotationRateRpm?: Maybe; idAtaSata?: Maybe; idAtaSataSignalRateGen1?: Maybe; idAtaSataSignalRateGen2?: Maybe; idAtaWriteCache?: Maybe; idAtaWriteCacheEnabled?: Maybe; idBus?: Maybe; idFsType?: Maybe; idFsUsage?: Maybe; idFsUuid?: Maybe; idFsUuidEnc?: Maybe; idModel?: Maybe; idModelEnc?: Maybe; idPartEntryDisk?: Maybe; idPartEntryNumber?: Maybe; idPartEntryOffset?: Maybe; idPartEntryScheme?: Maybe; idPartEntrySize?: Maybe; idPartEntryType?: Maybe; idPartTableType?: Maybe; idPath?: Maybe; idPathTag?: Maybe; idRevision?: Maybe; idSerial?: Maybe; idSerialShort?: Maybe; idType?: Maybe; idWwn?: Maybe; idWwnWithExtension?: Maybe; major?: Maybe; minor?: Maybe; partn?: Maybe; subsystem?: Maybe; usecInitialized?: Maybe; }; export type Pci = { __typename?: 'Pci'; blacklisted?: Maybe; class?: Maybe; id: Scalars['ID']['output']; productid?: Maybe; productname?: Maybe; type?: Maybe; typeid?: Maybe; vendorid?: Maybe; vendorname?: Maybe; }; export type Permission = { __typename?: 'Permission'; actions: Array; resource: Resource; }; export type ProfileModel = { __typename?: 'ProfileModel'; avatar?: Maybe; url?: Maybe; userId?: Maybe; username?: Maybe; }; export type Query = { __typename?: 'Query'; apiKey?: Maybe; apiKeys: Array; /** An Unraid array consisting of 1 or 2 Parity disks and a number of Data disks. */ array: ArrayType; cloud?: Maybe; config: Config; connect: Connect; /** Single disk */ disk?: Maybe; /** Mulitiple disks */ disks: Array>; display?: Maybe; docker: Docker; /** All Docker containers */ dockerContainers: Array; /** Docker network */ dockerNetwork: DockerNetwork; /** All Docker networks */ dockerNetworks: Array>; extraAllowedOrigins: Array; flash?: Maybe; info?: Maybe; /** * Get the content of a specific log file * @param path Path to the log file * @param lines Number of lines to read from the end of the file (default: 100) * @param startLine Optional starting line number (1-indexed) */ logFile: LogFileContent; /** List all available log files */ logFiles: Array; /** Current user account */ me?: Maybe; network?: Maybe; notifications: Notifications; online?: Maybe; owner?: Maybe; parityHistory?: Maybe>>; registration?: Maybe; remoteAccess: RemoteAccess; server?: Maybe; servers: Array; services: Array; /** Network Shares */ shares?: Maybe>>; unassignedDevices?: Maybe>>; /** User account */ user?: Maybe; /** User accounts */ users: Array; vars?: Maybe; /** Virtual machines */ vms?: Maybe; }; export type QueryapiKeyArgs = { id: Scalars['ID']['input']; }; export type QuerydiskArgs = { id: Scalars['ID']['input']; }; export type QuerydockerContainersArgs = { all?: InputMaybe; }; export type QuerydockerNetworkArgs = { id: Scalars['ID']['input']; }; export type QuerydockerNetworksArgs = { all?: InputMaybe; }; export type QuerylogFileArgs = { lines?: InputMaybe; path: Scalars['String']['input']; startLine?: InputMaybe; }; export type QueryuserArgs = { id: Scalars['ID']['input']; }; export type QueryusersArgs = { input?: InputMaybe; }; export type Registration = { __typename?: 'Registration'; expiration?: Maybe; guid?: Maybe; keyFile?: Maybe; state?: Maybe; type?: Maybe; updateExpiration?: Maybe; }; export enum RegistrationState { Basic = 'BASIC', /** BLACKLISTED */ Eblacklisted = 'EBLACKLISTED', /** BLACKLISTED */ Eblacklisted1 = 'EBLACKLISTED1', /** BLACKLISTED */ Eblacklisted2 = 'EBLACKLISTED2', /** Trial Expired */ Eexpired = 'EEXPIRED', /** GUID Error */ Eguid = 'EGUID', /** Multiple License Keys Present */ Eguid1 = 'EGUID1', /** Trial Requires Internet Connection */ Enoconn = 'ENOCONN', /** No Flash */ Enoflash = 'ENOFLASH', Enoflash1 = 'ENOFLASH1', Enoflash2 = 'ENOFLASH2', Enoflash3 = 'ENOFLASH3', Enoflash4 = 'ENOFLASH4', Enoflash5 = 'ENOFLASH5', Enoflash6 = 'ENOFLASH6', Enoflash7 = 'ENOFLASH7', /** No Keyfile */ Enokeyfile = 'ENOKEYFILE', /** No Keyfile */ Enokeyfile1 = 'ENOKEYFILE1', /** Missing key file */ Enokeyfile2 = 'ENOKEYFILE2', /** Invalid installation */ Etrial = 'ETRIAL', Lifetime = 'LIFETIME', Plus = 'PLUS', Pro = 'PRO', Starter = 'STARTER', Trial = 'TRIAL', Unleashed = 'UNLEASHED' } export type RelayResponse = { __typename?: 'RelayResponse'; error?: Maybe; status: Scalars['String']['output']; timeout?: Maybe; }; export type RemoteAccess = { __typename?: 'RemoteAccess'; accessType: WAN_ACCESS_TYPE; forwardType?: Maybe; port?: Maybe; }; export type RemoveRoleFromApiKeyInput = { apiKeyId: Scalars['ID']['input']; role: Role; }; /** Available resources for permissions */ export enum Resource { ApiKey = 'api_key', Array = 'array', Cloud = 'cloud', Config = 'config', Connect = 'connect', ConnectRemoteAccess = 'connect__remote_access', Customizations = 'customizations', Dashboard = 'dashboard', Disk = 'disk', Display = 'display', Docker = 'docker', Flash = 'flash', Info = 'info', Logs = 'logs', Me = 'me', Network = 'network', Notifications = 'notifications', Online = 'online', Os = 'os', Owner = 'owner', Permission = 'permission', Registration = 'registration', Servers = 'servers', Services = 'services', Share = 'share', Vars = 'vars', Vms = 'vms', Welcome = 'welcome' } /** Available roles for API keys and users */ export enum Role { Admin = 'admin', Connect = 'connect', Guest = 'guest' } export type Server = { __typename?: 'Server'; apikey: Scalars['String']['output']; guid: Scalars['String']['output']; lanip: Scalars['String']['output']; localurl: Scalars['String']['output']; name: Scalars['String']['output']; owner: ProfileModel; remoteurl: Scalars['String']['output']; status: ServerStatus; wanip: Scalars['String']['output']; }; export enum ServerStatus { NeverConnected = 'never_connected', Offline = 'offline', Online = 'online' } export type Service = Node & { __typename?: 'Service'; id: Scalars['ID']['output']; name?: Maybe; online?: Maybe; uptime?: Maybe; version?: Maybe; }; export type SetupRemoteAccessInput = { accessType: WAN_ACCESS_TYPE; forwardType?: InputMaybe; port?: InputMaybe; }; /** Network Share */ export type Share = { __typename?: 'Share'; allocator?: Maybe; cache?: Maybe; color?: Maybe; /** User comment */ comment?: Maybe; cow?: Maybe; /** Disks that're excluded from this share */ exclude?: Maybe>>; floor?: Maybe; /** (KB) Free space */ free?: Maybe; /** Disks that're included in this share */ include?: Maybe>>; luksStatus?: Maybe; /** Display name */ name?: Maybe; nameOrig?: Maybe; /** (KB) Total size */ size?: Maybe; splitLevel?: Maybe; /** (KB) Used Size */ used?: Maybe; }; export type Subscription = { __typename?: 'Subscription'; array: ArrayType; config: Config; display?: Maybe; dockerContainer: DockerContainer; dockerContainers?: Maybe>>; dockerNetwork: DockerNetwork; dockerNetworks: Array>; flash: Flash; info: Info; /** * Subscribe to changes in a log file * @param path Path to the log file */ logFile: LogFileContent; me?: Maybe; notificationAdded: Notification; notificationsOverview: NotificationOverview; online: Scalars['Boolean']['output']; owner: Owner; parityHistory: ParityCheck; ping: Scalars['String']['output']; registration: Registration; server?: Maybe; service?: Maybe>; share: Share; shares?: Maybe>; unassignedDevices?: Maybe>; user: User; users: Array>; vars: Vars; vms?: Maybe; }; export type SubscriptiondockerContainerArgs = { id: Scalars['ID']['input']; }; export type SubscriptiondockerNetworkArgs = { id: Scalars['ID']['input']; }; export type SubscriptionlogFileArgs = { path: Scalars['String']['input']; }; export type SubscriptionserviceArgs = { name: Scalars['String']['input']; }; export type SubscriptionshareArgs = { id: Scalars['ID']['input']; }; export type SubscriptionuserArgs = { id: Scalars['ID']['input']; }; export type System = { __typename?: 'System'; manufacturer?: Maybe; model?: Maybe; serial?: Maybe; sku?: Maybe; uuid?: Maybe; version?: Maybe; }; export enum Temperature { C = 'C', F = 'F' } export enum Theme { White = 'white' } export enum URL_TYPE { Default = 'DEFAULT', Lan = 'LAN', Mdns = 'MDNS', Other = 'OTHER', Wan = 'WAN', Wireguard = 'WIREGUARD' } export type UnassignedDevice = { __typename?: 'UnassignedDevice'; devlinks?: Maybe; devname?: Maybe; devpath?: Maybe; devtype?: Maybe; idAta?: Maybe; idAtaDownloadMicrocode?: Maybe; idAtaFeatureSetAam?: Maybe; idAtaFeatureSetAamCurrentValue?: Maybe; idAtaFeatureSetAamEnabled?: Maybe; idAtaFeatureSetAamVendorRecommendedValue?: Maybe; idAtaFeatureSetApm?: Maybe; idAtaFeatureSetApmCurrentValue?: Maybe; idAtaFeatureSetApmEnabled?: Maybe; idAtaFeatureSetHpa?: Maybe; idAtaFeatureSetHpaEnabled?: Maybe; idAtaFeatureSetPm?: Maybe; idAtaFeatureSetPmEnabled?: Maybe; idAtaFeatureSetPuis?: Maybe; idAtaFeatureSetPuisEnabled?: Maybe; idAtaFeatureSetSecurity?: Maybe; idAtaFeatureSetSecurityEnabled?: Maybe; idAtaFeatureSetSecurityEnhancedEraseUnitMin?: Maybe; idAtaFeatureSetSecurityEraseUnitMin?: Maybe; idAtaFeatureSetSmart?: Maybe; idAtaFeatureSetSmartEnabled?: Maybe; idAtaRotationRateRpm?: Maybe; idAtaSata?: Maybe; idAtaSataSignalRateGen1?: Maybe; idAtaSataSignalRateGen2?: Maybe; idAtaWriteCache?: Maybe; idAtaWriteCacheEnabled?: Maybe; idBus?: Maybe; idModel?: Maybe; idModelEnc?: Maybe; idPartTableType?: Maybe; idPath?: Maybe; idPathTag?: Maybe; idRevision?: Maybe; idSerial?: Maybe; idSerialShort?: Maybe; idType?: Maybe; idWwn?: Maybe; idWwnWithExtension?: Maybe; major?: Maybe; minor?: Maybe; mount?: Maybe; mounted?: Maybe; name?: Maybe; partitions?: Maybe>>; subsystem?: Maybe; temp?: Maybe; usecInitialized?: Maybe; }; export type Uptime = { __typename?: 'Uptime'; timestamp?: Maybe; }; export type Usb = { __typename?: 'Usb'; id: Scalars['ID']['output']; name?: Maybe; }; /** A local user account */ export type User = UserAccount & { __typename?: 'User'; description: Scalars['String']['output']; id: Scalars['ID']['output']; /** A unique name for the user */ name: Scalars['String']['output']; /** If the account has a password set */ password?: Maybe; permissions?: Maybe>; roles: Array; }; export type UserAccount = { description: Scalars['String']['output']; id: Scalars['ID']['output']; name: Scalars['String']['output']; permissions?: Maybe>; roles: Array; }; export type Vars = Node & { __typename?: 'Vars'; bindMgt?: Maybe; cacheNumDevices?: Maybe; cacheSbNumDisks?: Maybe; comment?: Maybe; configError?: Maybe; configValid?: Maybe; csrfToken?: Maybe; defaultFormat?: Maybe; defaultFsType?: Maybe; deviceCount?: Maybe; domain?: Maybe; domainLogin?: Maybe; domainShort?: Maybe; enableFruit?: Maybe; flashGuid?: Maybe; flashProduct?: Maybe; flashVendor?: Maybe; /** Percentage from 0 - 100 while upgrading a disk or swapping parity drives */ fsCopyPrcnt?: Maybe; fsNumMounted?: Maybe; fsNumUnmountable?: Maybe; /** Human friendly string of array events happening */ fsProgress?: Maybe; fsState?: Maybe; fsUnmountableMask?: Maybe; fuseDirectio?: Maybe; fuseDirectioDefault?: Maybe; fuseDirectioStatus?: Maybe; fuseRemember?: Maybe; fuseRememberDefault?: Maybe; fuseRememberStatus?: Maybe; hideDotFiles?: Maybe; id: Scalars['ID']['output']; joinStatus?: Maybe; localMaster?: Maybe; localTld?: Maybe; luksKeyfile?: Maybe; maxArraysz?: Maybe; maxCachesz?: Maybe; mdColor?: Maybe; mdNumDisabled?: Maybe; mdNumDisks?: Maybe; mdNumErased?: Maybe; mdNumInvalid?: Maybe; mdNumMissing?: Maybe; mdNumNew?: Maybe; mdNumStripes?: Maybe; mdNumStripesDefault?: Maybe; mdNumStripesStatus?: Maybe; mdResync?: Maybe; mdResyncAction?: Maybe; mdResyncCorr?: Maybe; mdResyncDb?: Maybe; mdResyncDt?: Maybe; mdResyncPos?: Maybe; mdResyncSize?: Maybe; mdState?: Maybe; mdSyncThresh?: Maybe; mdSyncThreshDefault?: Maybe; mdSyncThreshStatus?: Maybe; mdSyncWindow?: Maybe; mdSyncWindowDefault?: Maybe; mdSyncWindowStatus?: Maybe; mdVersion?: Maybe; mdWriteMethod?: Maybe; mdWriteMethodDefault?: Maybe; mdWriteMethodStatus?: Maybe; /** Machine hostname */ name?: Maybe; nrRequests?: Maybe; nrRequestsDefault?: Maybe; nrRequestsStatus?: Maybe; /** NTP Server 1 */ ntpServer1?: Maybe; /** NTP Server 2 */ ntpServer2?: Maybe; /** NTP Server 3 */ ntpServer3?: Maybe; /** NTP Server 4 */ ntpServer4?: Maybe; pollAttributes?: Maybe; pollAttributesDefault?: Maybe; pollAttributesStatus?: Maybe; /** Port for the webui via HTTP */ port?: Maybe; portssh?: Maybe; /** Port for the webui via HTTPS */ portssl?: Maybe; porttelnet?: Maybe; queueDepth?: Maybe; regCheck?: Maybe; regFile?: Maybe; regGen?: Maybe; regGuid?: Maybe; regState?: Maybe; regTm?: Maybe; regTm2?: Maybe; /** Registration owner */ regTo?: Maybe; regTy?: Maybe; safeMode?: Maybe; sbClean?: Maybe; sbEvents?: Maybe; sbName?: Maybe; sbNumDisks?: Maybe; sbState?: Maybe; sbSyncErrs?: Maybe; sbSyncExit?: Maybe; sbSynced?: Maybe; sbSynced2?: Maybe; sbUpdated?: Maybe; sbVersion?: Maybe; security?: Maybe; /** Total amount shares with AFP enabled */ shareAfpCount?: Maybe; shareAfpEnabled?: Maybe; shareAvahiAfpModel?: Maybe; shareAvahiAfpName?: Maybe; shareAvahiEnabled?: Maybe; shareAvahiSmbModel?: Maybe; shareAvahiSmbName?: Maybe; shareCacheEnabled?: Maybe; shareCacheFloor?: Maybe; /** Total amount of user shares */ shareCount?: Maybe; shareDisk?: Maybe; shareInitialGroup?: Maybe; shareInitialOwner?: Maybe; shareMoverActive?: Maybe; shareMoverLogging?: Maybe; shareMoverSchedule?: Maybe; /** Total amount shares with NFS enabled */ shareNfsCount?: Maybe; shareNfsEnabled?: Maybe; /** Total amount shares with SMB enabled */ shareSmbCount?: Maybe; shareSmbEnabled?: Maybe; shareUser?: Maybe; shareUserExclude?: Maybe; shareUserInclude?: Maybe; shutdownTimeout?: Maybe; spindownDelay?: Maybe; spinupGroups?: Maybe; startArray?: Maybe; startMode?: Maybe; startPage?: Maybe; sysArraySlots?: Maybe; sysCacheSlots?: Maybe; sysFlashSlots?: Maybe; sysModel?: Maybe; timeZone?: Maybe; /** Should a NTP server be used for time sync? */ useNtp?: Maybe; useSsh?: Maybe; useSsl?: Maybe; /** Should telnet be enabled? */ useTelnet?: Maybe; /** Unraid version */ version?: Maybe; workgroup?: Maybe; }; export type Versions = { __typename?: 'Versions'; apache?: Maybe; docker?: Maybe; gcc?: Maybe; git?: Maybe; grunt?: Maybe; gulp?: Maybe; kernel?: Maybe; mongodb?: Maybe; mysql?: Maybe; nginx?: Maybe; node?: Maybe; npm?: Maybe; openssl?: Maybe; perl?: Maybe; php?: Maybe; pm2?: Maybe; postfix?: Maybe; postgresql?: Maybe; python?: Maybe; redis?: Maybe; systemOpenssl?: Maybe; systemOpensslLib?: Maybe; tsc?: Maybe; unraid?: Maybe; v8?: Maybe; yarn?: Maybe; }; /** A virtual machine */ export type VmDomain = { __typename?: 'VmDomain'; /** A friendly name for the vm */ name?: Maybe; /** Current domain vm state */ state: VmState; uuid: Scalars['ID']['output']; }; export enum VmState { Crashed = 'CRASHED', Idle = 'IDLE', Nostate = 'NOSTATE', Paused = 'PAUSED', Pmsuspended = 'PMSUSPENDED', Running = 'RUNNING', Shutdown = 'SHUTDOWN', Shutoff = 'SHUTOFF' } export type Vms = { __typename?: 'Vms'; domain?: Maybe>; id: Scalars['ID']['output']; }; export enum WAN_ACCESS_TYPE { Always = 'ALWAYS', Disabled = 'DISABLED', Dynamic = 'DYNAMIC' } export enum WAN_FORWARD_TYPE { Static = 'STATIC', Upnp = 'UPNP' } export type Welcome = { __typename?: 'Welcome'; message: Scalars['String']['output']; }; export type addUserInput = { description?: InputMaybe; name: Scalars['String']['input']; password: Scalars['String']['input']; }; export type arrayDiskInput = { /** Disk ID */ id: Scalars['ID']['input']; /** The slot for the disk */ slot?: InputMaybe; }; export type deleteUserInput = { name: Scalars['String']['input']; }; export enum mdState { Started = 'STARTED', SwapDsbl = 'SWAP_DSBL' } export enum registrationType { Basic = 'BASIC', Invalid = 'INVALID', Lifetime = 'LIFETIME', Plus = 'PLUS', Pro = 'PRO', Starter = 'STARTER', Trial = 'TRIAL', Unleashed = 'UNLEASHED' } export type usersInput = { slim?: InputMaybe; }; export type GetConnectSettingsFormQueryVariables = Exact<{ [key: string]: never; }>; export type GetConnectSettingsFormQuery = { __typename?: 'Query', connect: { __typename?: 'Connect', id: string, settings: { __typename?: 'ConnectSettings', id: string, dataSchema: any, uiSchema: any, values: { __typename?: 'ConnectSettingsValues', sandbox: boolean, extraOrigins: Array, accessType: WAN_ACCESS_TYPE, forwardType?: WAN_FORWARD_TYPE | null, port?: number | null } } } }; export type UpdateConnectSettingsMutationVariables = Exact<{ input: ApiSettingsInput; }>; export type UpdateConnectSettingsMutation = { __typename?: 'Mutation', updateApiSettings: { __typename?: 'ConnectSettingsValues', sandbox: boolean, extraOrigins: Array, accessType: WAN_ACCESS_TYPE, forwardType?: WAN_FORWARD_TYPE | null, port?: number | null } }; export type LogFilesQueryVariables = Exact<{ [key: string]: never; }>; export type LogFilesQuery = { __typename?: 'Query', logFiles: Array<{ __typename?: 'LogFile', name: string, path: string, size: number, modifiedAt: string }> }; export type LogFileContentQueryVariables = Exact<{ path: Scalars['String']['input']; lines?: InputMaybe; startLine?: InputMaybe; }>; export type LogFileContentQuery = { __typename?: 'Query', logFile: { __typename?: 'LogFileContent', path: string, content: string, totalLines: number, startLine?: number | null } }; export type LogFileSubscriptionSubscriptionVariables = Exact<{ path: Scalars['String']['input']; }>; export type LogFileSubscriptionSubscription = { __typename?: 'Subscription', logFile: { __typename?: 'LogFileContent', path: string, content: string, totalLines: number } }; export type NotificationFragmentFragment = { __typename?: 'Notification', id: string, title: string, subject: string, description: string, importance: Importance, link?: string | null, type: NotificationType, timestamp?: string | null, formattedTimestamp?: string | null } & { ' $fragmentName'?: 'NotificationFragmentFragment' }; export type NotificationCountFragmentFragment = { __typename?: 'NotificationCounts', total: number, info: number, warning: number, alert: number } & { ' $fragmentName'?: 'NotificationCountFragmentFragment' }; export type NotificationsQueryVariables = Exact<{ filter: NotificationFilter; }>; export type NotificationsQuery = { __typename?: 'Query', notifications: { __typename?: 'Notifications', id: string, list: Array<( { __typename?: 'Notification' } & { ' $fragmentRefs'?: { 'NotificationFragmentFragment': NotificationFragmentFragment } } )> } }; export type ArchiveNotificationMutationVariables = Exact<{ id: Scalars['String']['input']; }>; export type ArchiveNotificationMutation = { __typename?: 'Mutation', archiveNotification: ( { __typename?: 'Notification' } & { ' $fragmentRefs'?: { 'NotificationFragmentFragment': NotificationFragmentFragment } } ) }; export type ArchiveAllNotificationsMutationVariables = Exact<{ [key: string]: never; }>; export type ArchiveAllNotificationsMutation = { __typename?: 'Mutation', archiveAll: { __typename?: 'NotificationOverview', unread: { __typename?: 'NotificationCounts', total: number }, archive: { __typename?: 'NotificationCounts', info: number, warning: number, alert: number, total: number } } }; export type DeleteNotificationMutationVariables = Exact<{ id: Scalars['String']['input']; type: NotificationType; }>; export type DeleteNotificationMutation = { __typename?: 'Mutation', deleteNotification: { __typename?: 'NotificationOverview', archive: { __typename?: 'NotificationCounts', total: number } } }; export type DeleteAllNotificationsMutationVariables = Exact<{ [key: string]: never; }>; export type DeleteAllNotificationsMutation = { __typename?: 'Mutation', deleteArchivedNotifications: { __typename?: 'NotificationOverview', archive: { __typename?: 'NotificationCounts', total: number }, unread: { __typename?: 'NotificationCounts', total: number } } }; export type OverviewQueryVariables = Exact<{ [key: string]: never; }>; export type OverviewQuery = { __typename?: 'Query', notifications: { __typename?: 'Notifications', id: string, overview: { __typename?: 'NotificationOverview', unread: { __typename?: 'NotificationCounts', info: number, warning: number, alert: number, total: number }, archive: { __typename?: 'NotificationCounts', total: number } } } }; export type RecomputeOverviewMutationVariables = Exact<{ [key: string]: never; }>; export type RecomputeOverviewMutation = { __typename?: 'Mutation', recalculateOverview: { __typename?: 'NotificationOverview', archive: ( { __typename?: 'NotificationCounts' } & { ' $fragmentRefs'?: { 'NotificationCountFragmentFragment': NotificationCountFragmentFragment } } ), unread: ( { __typename?: 'NotificationCounts' } & { ' $fragmentRefs'?: { 'NotificationCountFragmentFragment': NotificationCountFragmentFragment } } ) } }; export type NotificationAddedSubSubscriptionVariables = Exact<{ [key: string]: never; }>; export type NotificationAddedSubSubscription = { __typename?: 'Subscription', notificationAdded: ( { __typename?: 'Notification' } & { ' $fragmentRefs'?: { 'NotificationFragmentFragment': NotificationFragmentFragment } } ) }; export type NotificationOverviewSubSubscriptionVariables = Exact<{ [key: string]: never; }>; export type NotificationOverviewSubSubscription = { __typename?: 'Subscription', notificationsOverview: { __typename?: 'NotificationOverview', archive: ( { __typename?: 'NotificationCounts' } & { ' $fragmentRefs'?: { 'NotificationCountFragmentFragment': NotificationCountFragmentFragment } } ), unread: ( { __typename?: 'NotificationCounts' } & { ' $fragmentRefs'?: { 'NotificationCountFragmentFragment': NotificationCountFragmentFragment } } ) } }; export type ConnectSignInMutationVariables = Exact<{ input: ConnectSignInInput; }>; export type ConnectSignInMutation = { __typename?: 'Mutation', connectSignIn: boolean }; export type SignOutMutationVariables = Exact<{ [key: string]: never; }>; export type SignOutMutation = { __typename?: 'Mutation', connectSignOut: boolean }; export type PartialCloudFragment = { __typename?: 'Cloud', error?: string | null, apiKey: { __typename?: 'ApiKeyResponse', valid: boolean, error?: string | null }, cloud: { __typename?: 'CloudResponse', status: string, error?: string | null }, minigraphql: { __typename?: 'MinigraphqlResponse', status: MinigraphStatus, error?: string | null }, relay?: { __typename?: 'RelayResponse', status: string, error?: string | null } | null } & { ' $fragmentName'?: 'PartialCloudFragment' }; export type serverStateQueryVariables = Exact<{ [key: string]: never; }>; export type serverStateQuery = { __typename?: 'Query', cloud?: ( { __typename?: 'Cloud' } & { ' $fragmentRefs'?: { 'PartialCloudFragment': PartialCloudFragment } } ) | null, config: { __typename?: 'Config', error?: ConfigErrorState | null, valid?: boolean | null }, info?: { __typename?: 'Info', os?: { __typename?: 'Os', hostname?: string | null } | null } | null, owner?: { __typename?: 'Owner', avatar?: string | null, username?: string | null } | null, registration?: { __typename?: 'Registration', state?: RegistrationState | null, expiration?: string | null, updateExpiration?: string | null, keyFile?: { __typename?: 'KeyFile', contents?: string | null } | null } | null, vars?: { __typename?: 'Vars', regGen?: string | null, regState?: RegistrationState | null, configError?: ConfigErrorState | null, configValid?: boolean | null } | null }; export type getExtraAllowedOriginsQueryVariables = Exact<{ [key: string]: never; }>; export type getExtraAllowedOriginsQuery = { __typename?: 'Query', extraAllowedOrigins: Array }; export type getRemoteAccessQueryVariables = Exact<{ [key: string]: never; }>; export type getRemoteAccessQuery = { __typename?: 'Query', remoteAccess: { __typename?: 'RemoteAccess', accessType: WAN_ACCESS_TYPE, forwardType?: WAN_FORWARD_TYPE | null, port?: number | null } }; export type setAdditionalAllowedOriginsMutationVariables = Exact<{ input: AllowedOriginInput; }>; export type setAdditionalAllowedOriginsMutation = { __typename?: 'Mutation', setAdditionalAllowedOrigins: Array }; export type setupRemoteAccessMutationVariables = Exact<{ input: SetupRemoteAccessInput; }>; export type setupRemoteAccessMutation = { __typename?: 'Mutation', setupRemoteAccess: boolean }; export const NotificationFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NotificationFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Notification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"subject"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"importance"}},{"kind":"Field","name":{"kind":"Name","value":"link"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"formattedTimestamp"}}]}}]} as unknown as DocumentNode; export const NotificationCountFragmentFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NotificationCountFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NotificationCounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"info"}},{"kind":"Field","name":{"kind":"Name","value":"warning"}},{"kind":"Field","name":{"kind":"Name","value":"alert"}}]}}]} as unknown as DocumentNode; export const PartialCloudFragmentDoc = {"kind":"Document","definitions":[{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PartialCloud"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Cloud"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"error"}},{"kind":"Field","name":{"kind":"Name","value":"apiKey"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valid"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cloud"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}},{"kind":"Field","name":{"kind":"Name","value":"minigraphql"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}},{"kind":"Field","name":{"kind":"Name","value":"relay"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}}]}}]} as unknown as DocumentNode; export const GetConnectSettingsFormDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetConnectSettingsForm"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"connect"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"settings"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"dataSchema"}},{"kind":"Field","name":{"kind":"Name","value":"uiSchema"}},{"kind":"Field","name":{"kind":"Name","value":"values"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sandbox"}},{"kind":"Field","name":{"kind":"Name","value":"extraOrigins"}},{"kind":"Field","name":{"kind":"Name","value":"accessType"}},{"kind":"Field","name":{"kind":"Name","value":"forwardType"}},{"kind":"Field","name":{"kind":"Name","value":"port"}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const UpdateConnectSettingsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateConnectSettings"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ApiSettingsInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateApiSettings"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"sandbox"}},{"kind":"Field","name":{"kind":"Name","value":"extraOrigins"}},{"kind":"Field","name":{"kind":"Name","value":"accessType"}},{"kind":"Field","name":{"kind":"Name","value":"forwardType"}},{"kind":"Field","name":{"kind":"Name","value":"port"}}]}}]}}]} as unknown as DocumentNode; export const LogFilesDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"LogFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"logFiles"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"path"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"modifiedAt"}}]}}]}}]} as unknown as DocumentNode; export const LogFileContentDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"LogFileContent"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"path"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"lines"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"startLine"}},"type":{"kind":"NamedType","name":{"kind":"Name","value":"Int"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"logFile"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"path"},"value":{"kind":"Variable","name":{"kind":"Name","value":"path"}}},{"kind":"Argument","name":{"kind":"Name","value":"lines"},"value":{"kind":"Variable","name":{"kind":"Name","value":"lines"}}},{"kind":"Argument","name":{"kind":"Name","value":"startLine"},"value":{"kind":"Variable","name":{"kind":"Name","value":"startLine"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"path"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"totalLines"}},{"kind":"Field","name":{"kind":"Name","value":"startLine"}}]}}]}}]} as unknown as DocumentNode; export const LogFileSubscriptionDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"LogFileSubscription"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"path"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"logFile"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"path"},"value":{"kind":"Variable","name":{"kind":"Name","value":"path"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"path"}},{"kind":"Field","name":{"kind":"Name","value":"content"}},{"kind":"Field","name":{"kind":"Name","value":"totalLines"}}]}}]}}]} as unknown as DocumentNode; export const NotificationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Notifications"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"filter"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"NotificationFilter"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"notifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"list"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"filter"},"value":{"kind":"Variable","name":{"kind":"Name","value":"filter"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NotificationFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NotificationFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Notification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"subject"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"importance"}},{"kind":"Field","name":{"kind":"Name","value":"link"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"formattedTimestamp"}}]}}]} as unknown as DocumentNode; export const ArchiveNotificationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ArchiveNotification"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"archiveNotification"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NotificationFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NotificationFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Notification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"subject"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"importance"}},{"kind":"Field","name":{"kind":"Name","value":"link"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"formattedTimestamp"}}]}}]} as unknown as DocumentNode; export const ArchiveAllNotificationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ArchiveAllNotifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"archiveAll"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"unread"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"archive"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"info"}},{"kind":"Field","name":{"kind":"Name","value":"warning"}},{"kind":"Field","name":{"kind":"Name","value":"alert"}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}}]}}]}}]} as unknown as DocumentNode; export const DeleteNotificationDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteNotification"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"id"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"type"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"NotificationType"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteNotification"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"id"},"value":{"kind":"Variable","name":{"kind":"Name","value":"id"}}},{"kind":"Argument","name":{"kind":"Name","value":"type"},"value":{"kind":"Variable","name":{"kind":"Name","value":"type"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"archive"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}}]}}]}}]}}]} as unknown as DocumentNode; export const DeleteAllNotificationsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"DeleteAllNotifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"deleteArchivedNotifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"archive"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unread"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}}]}}]}}]}}]} as unknown as DocumentNode; export const OverviewDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"Overview"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"notifications"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"overview"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"unread"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"info"}},{"kind":"Field","name":{"kind":"Name","value":"warning"}},{"kind":"Field","name":{"kind":"Name","value":"alert"}},{"kind":"Field","name":{"kind":"Name","value":"total"}}]}},{"kind":"Field","name":{"kind":"Name","value":"archive"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}}]}}]}}]}}]}}]} as unknown as DocumentNode; export const RecomputeOverviewDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RecomputeOverview"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"recalculateOverview"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"archive"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NotificationCountFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unread"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NotificationCountFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NotificationCountFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NotificationCounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"info"}},{"kind":"Field","name":{"kind":"Name","value":"warning"}},{"kind":"Field","name":{"kind":"Name","value":"alert"}}]}}]} as unknown as DocumentNode; export const NotificationAddedSubDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"NotificationAddedSub"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"notificationAdded"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NotificationFragment"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NotificationFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Notification"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"title"}},{"kind":"Field","name":{"kind":"Name","value":"subject"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"importance"}},{"kind":"Field","name":{"kind":"Name","value":"link"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"timestamp"}},{"kind":"Field","name":{"kind":"Name","value":"formattedTimestamp"}}]}}]} as unknown as DocumentNode; export const NotificationOverviewSubDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"NotificationOverviewSub"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"notificationsOverview"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"archive"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NotificationCountFragment"}}]}},{"kind":"Field","name":{"kind":"Name","value":"unread"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"NotificationCountFragment"}}]}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"NotificationCountFragment"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"NotificationCounts"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"total"}},{"kind":"Field","name":{"kind":"Name","value":"info"}},{"kind":"Field","name":{"kind":"Name","value":"warning"}},{"kind":"Field","name":{"kind":"Name","value":"alert"}}]}}]} as unknown as DocumentNode; export const ConnectSignInDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ConnectSignIn"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ConnectSignInInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"connectSignIn"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}]}]}}]} as unknown as DocumentNode; export const SignOutDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"SignOut"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"connectSignOut"}}]}}]} as unknown as DocumentNode; export const serverStateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"serverState"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"cloud"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PartialCloud"}}]}},{"kind":"Field","name":{"kind":"Name","value":"config"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"error"}},{"kind":"Field","name":{"kind":"Name","value":"valid"}}]}},{"kind":"Field","name":{"kind":"Name","value":"info"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"os"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"hostname"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"owner"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"avatar"}},{"kind":"Field","name":{"kind":"Name","value":"username"}}]}},{"kind":"Field","name":{"kind":"Name","value":"registration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"state"}},{"kind":"Field","name":{"kind":"Name","value":"expiration"}},{"kind":"Field","name":{"kind":"Name","value":"keyFile"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contents"}}]}},{"kind":"Field","name":{"kind":"Name","value":"updateExpiration"}}]}},{"kind":"Field","name":{"kind":"Name","value":"vars"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"regGen"}},{"kind":"Field","name":{"kind":"Name","value":"regState"}},{"kind":"Field","name":{"kind":"Name","value":"configError"}},{"kind":"Field","name":{"kind":"Name","value":"configValid"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PartialCloud"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Cloud"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"error"}},{"kind":"Field","name":{"kind":"Name","value":"apiKey"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"valid"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}},{"kind":"Field","name":{"kind":"Name","value":"cloud"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}},{"kind":"Field","name":{"kind":"Name","value":"minigraphql"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}},{"kind":"Field","name":{"kind":"Name","value":"relay"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"status"}},{"kind":"Field","name":{"kind":"Name","value":"error"}}]}}]}}]} as unknown as DocumentNode; export const getExtraAllowedOriginsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"getExtraAllowedOrigins"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"extraAllowedOrigins"}}]}}]} as unknown as DocumentNode; export const getRemoteAccessDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"getRemoteAccess"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"remoteAccess"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"accessType"}},{"kind":"Field","name":{"kind":"Name","value":"forwardType"}},{"kind":"Field","name":{"kind":"Name","value":"port"}}]}}]}}]} as unknown as DocumentNode; export const setAdditionalAllowedOriginsDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"setAdditionalAllowedOrigins"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"AllowedOriginInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setAdditionalAllowedOrigins"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}]}]}}]} as unknown as DocumentNode; export const setupRemoteAccessDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"setupRemoteAccess"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"SetupRemoteAccessInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"setupRemoteAccess"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}]}]}}]} as unknown as DocumentNode;