import { gql } from '@apollo/client'; import * as Apollo from '@apollo/client'; 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 }; const defaultOptions = {} as const; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: string; String: string; Boolean: boolean; Int: number; Float: number; ConnectionCursor: any; Date: any; DateTime: string; JSON: any; JSONObject: any; UUID: string; Upload: any; }; export type ActivateWorkspaceInput = { displayName?: InputMaybe; }; export type AdminPanelHealthServiceData = { __typename?: 'AdminPanelHealthServiceData'; description: Scalars['String']; details?: Maybe; errorMessage?: Maybe; id: HealthIndicatorId; label: Scalars['String']; queues?: Maybe>; status: AdminPanelHealthServiceStatus; }; export enum AdminPanelHealthServiceStatus { OPERATIONAL = 'OPERATIONAL', OUTAGE = 'OUTAGE' } export type AdminPanelWorkerQueueHealth = { __typename?: 'AdminPanelWorkerQueueHealth'; id: Scalars['String']; queueName: Scalars['String']; status: AdminPanelHealthServiceStatus; }; export type Agent = { __typename?: 'Agent'; createdAt: Scalars['DateTime']; description?: Maybe; icon?: Maybe; id: Scalars['UUID']; isCustom: Scalars['Boolean']; label: Scalars['String']; modelConfiguration?: Maybe; modelId: Scalars['String']; name: Scalars['String']; prompt: Scalars['String']; responseFormat?: Maybe; roleId?: Maybe; standardId?: Maybe; updatedAt: Scalars['DateTime']; }; export type AgentChatMessage = { __typename?: 'AgentChatMessage'; createdAt: Scalars['DateTime']; id: Scalars['UUID']; parts: Array; role: Scalars['String']; threadId: Scalars['UUID']; }; export type AgentChatMessagePart = { __typename?: 'AgentChatMessagePart'; createdAt: Scalars['DateTime']; errorDetails?: Maybe; errorMessage?: Maybe; fileFilename?: Maybe; fileMediaType?: Maybe; fileUrl?: Maybe; id: Scalars['UUID']; messageId: Scalars['UUID']; orderIndex: Scalars['Int']; providerMetadata?: Maybe; reasoningContent?: Maybe; sourceDocumentFilename?: Maybe; sourceDocumentMediaType?: Maybe; sourceDocumentSourceId?: Maybe; sourceDocumentTitle?: Maybe; sourceUrlSourceId?: Maybe; sourceUrlTitle?: Maybe; sourceUrlUrl?: Maybe; state?: Maybe; textContent?: Maybe; toolCallId?: Maybe; toolInput?: Maybe; toolName?: Maybe; toolOutput?: Maybe; type: Scalars['String']; }; export type AgentChatThread = { __typename?: 'AgentChatThread'; agentId: Scalars['UUID']; createdAt: Scalars['DateTime']; id: Scalars['UUID']; title?: Maybe; updatedAt: Scalars['DateTime']; }; export type AgentHandoffDto = { __typename?: 'AgentHandoffDTO'; description?: Maybe; id: Scalars['UUID']; toAgent: Agent; }; export type AgentIdInput = { /** The id of the agent. */ id: Scalars['UUID']; }; export enum AggregateOperations { AVG = 'AVG', COUNT = 'COUNT', COUNT_EMPTY = 'COUNT_EMPTY', COUNT_FALSE = 'COUNT_FALSE', COUNT_NOT_EMPTY = 'COUNT_NOT_EMPTY', COUNT_TRUE = 'COUNT_TRUE', COUNT_UNIQUE_VALUES = 'COUNT_UNIQUE_VALUES', MAX = 'MAX', MIN = 'MIN', PERCENTAGE_EMPTY = 'PERCENTAGE_EMPTY', PERCENTAGE_NOT_EMPTY = 'PERCENTAGE_NOT_EMPTY', SUM = 'SUM' } export type Analytics = { __typename?: 'Analytics'; /** Boolean that confirms query was dispatched */ success: Scalars['Boolean']; }; export enum AnalyticsType { PAGEVIEW = 'PAGEVIEW', TRACK = 'TRACK' } export type ApiConfig = { __typename?: 'ApiConfig'; mutationMaximumAffectedRecords: Scalars['Float']; }; export type ApiKey = { __typename?: 'ApiKey'; createdAt: Scalars['DateTime']; expiresAt: Scalars['DateTime']; id: Scalars['UUID']; name: Scalars['String']; revokedAt?: Maybe; role: Role; updatedAt: Scalars['DateTime']; workspace: Workspace; workspaceId: Scalars['UUID']; }; export type ApiKeyForRole = { __typename?: 'ApiKeyForRole'; expiresAt: Scalars['DateTime']; id: Scalars['UUID']; name: Scalars['String']; revokedAt?: Maybe; }; export type ApiKeyToken = { __typename?: 'ApiKeyToken'; token: Scalars['String']; }; export type AppToken = { __typename?: 'AppToken'; createdAt: Scalars['DateTime']; expiresAt: Scalars['DateTime']; id: Scalars['UUID']; type: Scalars['String']; updatedAt: Scalars['DateTime']; }; export type AppTokenEdge = { __typename?: 'AppTokenEdge'; /** Cursor for this node. */ cursor: Scalars['ConnectionCursor']; /** The node containing the AppToken */ node: AppToken; }; export type ApprovedAccessDomain = { __typename?: 'ApprovedAccessDomain'; createdAt: Scalars['DateTime']; domain: Scalars['String']; id: Scalars['UUID']; isValidated: Scalars['Boolean']; }; export type AuthProviders = { __typename?: 'AuthProviders'; google: Scalars['Boolean']; magicLink: Scalars['Boolean']; microsoft: Scalars['Boolean']; password: Scalars['Boolean']; sso: Array; }; export type AuthToken = { __typename?: 'AuthToken'; expiresAt: Scalars['DateTime']; token: Scalars['String']; }; export type AuthTokenPair = { __typename?: 'AuthTokenPair'; accessOrWorkspaceAgnosticToken: AuthToken; refreshToken: AuthToken; }; export type AuthTokens = { __typename?: 'AuthTokens'; tokens: AuthTokenPair; }; export type AuthorizeApp = { __typename?: 'AuthorizeApp'; redirectUrl: Scalars['String']; }; export type AutocompleteResultDto = { __typename?: 'AutocompleteResultDto'; placeId: Scalars['String']; text: Scalars['String']; }; export type AvailableWorkspace = { __typename?: 'AvailableWorkspace'; displayName?: Maybe; id: Scalars['UUID']; inviteHash?: Maybe; loginToken?: Maybe; logo?: Maybe; personalInviteToken?: Maybe; sso: Array; workspaceUrls: WorkspaceUrls; }; export type AvailableWorkspaces = { __typename?: 'AvailableWorkspaces'; availableWorkspacesForSignIn: Array; availableWorkspacesForSignUp: Array; }; export type AvailableWorkspacesAndAccessTokensOutput = { __typename?: 'AvailableWorkspacesAndAccessTokensOutput'; availableWorkspaces: AvailableWorkspaces; tokens: AuthTokenPair; }; /** Which axes should display labels */ export enum AxisNameDisplay { BOTH = 'BOTH', NONE = 'NONE', X = 'X', Y = 'Y' } export type BarChartConfiguration = { __typename?: 'BarChartConfiguration'; aggregateFieldMetadataId: Scalars['UUID']; aggregateOperation: ExtendedAggregateOperations; axisNameDisplay: AxisNameDisplay; color?: Maybe; description?: Maybe; displayDataLabel: Scalars['Boolean']; filter?: Maybe; graphType: GraphType; groupByFieldMetadataIdX: Scalars['UUID']; groupByFieldMetadataIdY?: Maybe; groupBySubFieldNameX?: Maybe; groupBySubFieldNameY?: Maybe; omitNullValues?: Maybe; orderByX: GraphOrderBy; orderByY?: Maybe; rangeMax?: Maybe; rangeMin?: Maybe; }; export type Billing = { __typename?: 'Billing'; billingUrl?: Maybe; isBillingEnabled: Scalars['Boolean']; trialPeriods: Array; }; export type BillingEndTrialPeriodOutput = { __typename?: 'BillingEndTrialPeriodOutput'; /** Boolean that confirms if a payment method was found */ hasPaymentMethod: Scalars['Boolean']; /** Updated subscription status */ status?: Maybe; }; export type BillingLicensedProduct = BillingProductDto & { __typename?: 'BillingLicensedProduct'; description: Scalars['String']; images?: Maybe>; metadata: BillingProductMetadata; name: Scalars['String']; prices?: Maybe>; }; export type BillingMeteredProduct = BillingProductDto & { __typename?: 'BillingMeteredProduct'; description: Scalars['String']; images?: Maybe>; metadata: BillingProductMetadata; name: Scalars['String']; prices?: Maybe>; }; export type BillingMeteredProductUsageOutput = { __typename?: 'BillingMeteredProductUsageOutput'; grantedCredits: Scalars['Float']; periodEnd: Scalars['DateTime']; periodStart: Scalars['DateTime']; productKey: BillingProductKey; unitPriceCents: Scalars['Float']; usedCredits: Scalars['Float']; }; /** The different billing plans available */ export enum BillingPlanKey { ENTERPRISE = 'ENTERPRISE', PRO = 'PRO' } export type BillingPlanOutput = { __typename?: 'BillingPlanOutput'; licensedProducts: Array; meteredProducts: Array; planKey: BillingPlanKey; }; export type BillingPriceLicensedDto = { __typename?: 'BillingPriceLicensedDTO'; priceUsageType: BillingUsageType; recurringInterval: SubscriptionInterval; stripePriceId: Scalars['String']; unitAmount: Scalars['Float']; }; export type BillingPriceMeteredDto = { __typename?: 'BillingPriceMeteredDTO'; priceUsageType: BillingUsageType; recurringInterval: SubscriptionInterval; stripePriceId: Scalars['String']; tiers: Array; }; export type BillingPriceTierDto = { __typename?: 'BillingPriceTierDTO'; flatAmount?: Maybe; unitAmount?: Maybe; upTo?: Maybe; }; export type BillingProduct = { __typename?: 'BillingProduct'; description: Scalars['String']; images?: Maybe>; metadata: BillingProductMetadata; name: Scalars['String']; }; export type BillingProductDto = { description: Scalars['String']; images?: Maybe>; metadata: BillingProductMetadata; name: Scalars['String']; }; /** The different billing products available */ export enum BillingProductKey { BASE_PRODUCT = 'BASE_PRODUCT', WORKFLOW_NODE_EXECUTION = 'WORKFLOW_NODE_EXECUTION' } export type BillingProductMetadata = { __typename?: 'BillingProductMetadata'; planKey: BillingPlanKey; priceUsageBased: BillingUsageType; productKey: BillingProductKey; }; export type BillingSessionOutput = { __typename?: 'BillingSessionOutput'; url?: Maybe; }; export type BillingSubscription = { __typename?: 'BillingSubscription'; billingSubscriptionItems?: Maybe>; currentPeriodEnd?: Maybe; id: Scalars['UUID']; interval?: Maybe; metadata: Scalars['JSON']; phases: Array; status: SubscriptionStatus; }; export type BillingSubscriptionItemDto = { __typename?: 'BillingSubscriptionItemDTO'; billingProduct: BillingProductDto; hasReachedCurrentPeriodCap: Scalars['Boolean']; id: Scalars['UUID']; quantity?: Maybe; stripePriceId: Scalars['String']; }; export type BillingSubscriptionSchedulePhase = { __typename?: 'BillingSubscriptionSchedulePhase'; end_date: Scalars['Float']; items: Array; start_date: Scalars['Float']; }; export type BillingSubscriptionSchedulePhaseItem = { __typename?: 'BillingSubscriptionSchedulePhaseItem'; price: Scalars['String']; quantity?: Maybe; }; export type BillingTrialPeriodDto = { __typename?: 'BillingTrialPeriodDTO'; duration: Scalars['Float']; isCreditCardRequired: Scalars['Boolean']; }; export type BillingUpdateOutput = { __typename?: 'BillingUpdateOutput'; /** All billing subscriptions */ billingSubscriptions: Array; /** Current billing subscription */ currentBillingSubscription: BillingSubscription; }; export enum BillingUsageType { LICENSED = 'LICENSED', METERED = 'METERED' } export type BooleanFieldComparison = { is?: InputMaybe; isNot?: InputMaybe; }; export enum CalendarChannelVisibility { METADATA = 'METADATA', SHARE_EVERYTHING = 'SHARE_EVERYTHING' } export type Captcha = { __typename?: 'Captcha'; provider?: Maybe; siteKey?: Maybe; }; export enum CaptchaDriverType { GOOGLE_RECAPTCHA = 'GOOGLE_RECAPTCHA', TURNSTILE = 'TURNSTILE' } export type CheckUserExistOutput = { __typename?: 'CheckUserExistOutput'; availableWorkspacesCount: Scalars['Float']; exists: Scalars['Boolean']; isEmailVerified: Scalars['Boolean']; }; export type ClientAiModelConfig = { __typename?: 'ClientAIModelConfig'; inputCostPer1kTokensInCredits: Scalars['Float']; label: Scalars['String']; modelId: Scalars['String']; nativeCapabilities?: Maybe; outputCostPer1kTokensInCredits: Scalars['Float']; provider: ModelProvider; }; export type ComputeStepOutputSchemaInput = { /** Step JSON format */ step: Scalars['JSON']; /** Workflow version ID */ workflowVersionId?: InputMaybe; }; export enum ConfigSource { DATABASE = 'DATABASE', DEFAULT = 'DEFAULT', ENVIRONMENT = 'ENVIRONMENT' } export type ConfigVariable = { __typename?: 'ConfigVariable'; description: Scalars['String']; isEnvOnly: Scalars['Boolean']; isSensitive: Scalars['Boolean']; name: Scalars['String']; options?: Maybe; source: ConfigSource; type: ConfigVariableType; value?: Maybe; }; export enum ConfigVariableType { ARRAY = 'ARRAY', BOOLEAN = 'BOOLEAN', ENUM = 'ENUM', NUMBER = 'NUMBER', STRING = 'STRING' } export enum ConfigVariablesGroup { AnalyticsConfig = 'AnalyticsConfig', AwsSesSettings = 'AwsSesSettings', BillingConfig = 'BillingConfig', CaptchaConfig = 'CaptchaConfig', CloudflareConfig = 'CloudflareConfig', EmailSettings = 'EmailSettings', ExceptionHandler = 'ExceptionHandler', GoogleAuth = 'GoogleAuth', LLM = 'LLM', Logging = 'Logging', Metering = 'Metering', MicrosoftAuth = 'MicrosoftAuth', Other = 'Other', RateLimiting = 'RateLimiting', SSL = 'SSL', ServerConfig = 'ServerConfig', ServerlessConfig = 'ServerlessConfig', StorageConfig = 'StorageConfig', SupportChatConfig = 'SupportChatConfig', TokensDuration = 'TokensDuration', TwoFactorAuthentication = 'TwoFactorAuthentication' } export type ConfigVariablesGroupData = { __typename?: 'ConfigVariablesGroupData'; description: Scalars['String']; isHiddenOnLoad: Scalars['Boolean']; name: ConfigVariablesGroup; variables: Array; }; export type ConfigVariablesOutput = { __typename?: 'ConfigVariablesOutput'; groups: Array; }; export type ConnectedImapSmtpCaldavAccount = { __typename?: 'ConnectedImapSmtpCaldavAccount'; accountOwnerId: Scalars['UUID']; connectionParameters?: Maybe; handle: Scalars['String']; id: Scalars['UUID']; provider: Scalars['String']; }; export type ConnectionParameters = { host: Scalars['String']; password: Scalars['String']; port: Scalars['Float']; secure?: InputMaybe; username?: InputMaybe; }; export type ConnectionParametersOutput = { __typename?: 'ConnectionParametersOutput'; host: Scalars['String']; password: Scalars['String']; port: Scalars['Float']; secure?: Maybe; username?: Maybe; }; export type CoreView = { __typename?: 'CoreView'; anyFieldFilterValue?: Maybe; calendarFieldMetadataId?: Maybe; calendarLayout?: Maybe; createdAt: Scalars['DateTime']; deletedAt?: Maybe; icon: Scalars['String']; id: Scalars['UUID']; isCompact: Scalars['Boolean']; isCustom: Scalars['Boolean']; kanbanAggregateOperation?: Maybe; kanbanAggregateOperationFieldMetadataId?: Maybe; key?: Maybe; name: Scalars['String']; objectMetadataId: Scalars['UUID']; openRecordIn: ViewOpenRecordIn; position: Scalars['Float']; type: ViewType; updatedAt: Scalars['DateTime']; viewFields: Array; viewFilterGroups: Array; viewFilters: Array; viewGroups: Array; viewSorts: Array; workspaceId: Scalars['UUID']; }; export type CoreViewField = { __typename?: 'CoreViewField'; aggregateOperation?: Maybe; createdAt: Scalars['DateTime']; deletedAt?: Maybe; fieldMetadataId: Scalars['UUID']; id: Scalars['UUID']; isVisible: Scalars['Boolean']; position: Scalars['Float']; size: Scalars['Float']; updatedAt: Scalars['DateTime']; viewId: Scalars['UUID']; workspaceId: Scalars['UUID']; }; export type CoreViewFilter = { __typename?: 'CoreViewFilter'; createdAt: Scalars['DateTime']; deletedAt?: Maybe; fieldMetadataId: Scalars['UUID']; id: Scalars['UUID']; operand: ViewFilterOperand; positionInViewFilterGroup?: Maybe; subFieldName?: Maybe; updatedAt: Scalars['DateTime']; value: Scalars['JSON']; viewFilterGroupId?: Maybe; viewId: Scalars['UUID']; workspaceId: Scalars['UUID']; }; export type CoreViewFilterGroup = { __typename?: 'CoreViewFilterGroup'; createdAt: Scalars['DateTime']; deletedAt?: Maybe; id: Scalars['UUID']; logicalOperator: ViewFilterGroupLogicalOperator; parentViewFilterGroupId?: Maybe; positionInViewFilterGroup?: Maybe; updatedAt: Scalars['DateTime']; viewId: Scalars['UUID']; workspaceId: Scalars['UUID']; }; export type CoreViewGroup = { __typename?: 'CoreViewGroup'; createdAt: Scalars['DateTime']; deletedAt?: Maybe; fieldMetadataId: Scalars['UUID']; fieldValue: Scalars['String']; id: Scalars['UUID']; isVisible: Scalars['Boolean']; position: Scalars['Float']; updatedAt: Scalars['DateTime']; viewId: Scalars['UUID']; workspaceId: Scalars['UUID']; }; export type CoreViewSort = { __typename?: 'CoreViewSort'; createdAt: Scalars['DateTime']; deletedAt?: Maybe; direction: ViewSortDirection; fieldMetadataId: Scalars['UUID']; id: Scalars['UUID']; updatedAt: Scalars['DateTime']; viewId: Scalars['UUID']; workspaceId: Scalars['UUID']; }; export type CreateAgentChatThreadInput = { agentId: Scalars['UUID']; }; export type CreateAgentHandoffInput = { description?: InputMaybe; fromAgentId: Scalars['UUID']; toAgentId: Scalars['UUID']; }; export type CreateAgentInput = { description?: InputMaybe; icon?: InputMaybe; label: Scalars['String']; modelConfiguration?: InputMaybe; modelId: Scalars['String']; name?: InputMaybe; prompt: Scalars['String']; responseFormat?: InputMaybe; roleId?: InputMaybe; }; export type CreateApiKeyDto = { expiresAt: Scalars['String']; name: Scalars['String']; revokedAt?: InputMaybe; roleId: Scalars['UUID']; }; export type CreateAppTokenInput = { expiresAt: Scalars['DateTime']; }; export type CreateApprovedAccessDomainInput = { domain: Scalars['String']; email: Scalars['String']; }; export type CreateCronTriggerInput = { serverlessFunctionId: Scalars['String']; settings: Scalars['JSON']; }; export type CreateDatabaseEventTriggerInput = { serverlessFunctionId: Scalars['String']; settings: Scalars['JSON']; }; export type CreateDraftFromWorkflowVersionInput = { /** Workflow ID */ workflowId: Scalars['UUID']; /** Workflow version ID */ workflowVersionIdToCopy: Scalars['UUID']; }; export type CreateFieldInput = { defaultValue?: InputMaybe; description?: InputMaybe; icon?: InputMaybe; isActive?: InputMaybe; isCustom?: InputMaybe; isLabelSyncedWithName?: InputMaybe; isNullable?: InputMaybe; isRemoteCreation?: InputMaybe; isSystem?: InputMaybe; isUIReadOnly?: InputMaybe; isUnique?: InputMaybe; label: Scalars['String']; morphRelationsCreationPayload?: InputMaybe>; name: Scalars['String']; objectMetadataId: Scalars['UUID']; options?: InputMaybe; relationCreationPayload?: InputMaybe; settings?: InputMaybe; type: FieldMetadataType; }; export type CreateObjectInput = { description?: InputMaybe; icon?: InputMaybe; isLabelSyncedWithName?: InputMaybe; isRemote?: InputMaybe; labelPlural: Scalars['String']; labelSingular: Scalars['String']; namePlural: Scalars['String']; nameSingular: Scalars['String']; primaryKeyColumnType?: InputMaybe; primaryKeyFieldMetadataSettings?: InputMaybe; shortcut?: InputMaybe; }; export type CreateOneAppTokenInput = { /** The record to create */ appToken: CreateAppTokenInput; }; export type CreateOneFieldMetadataInput = { /** The record to create */ field: CreateFieldInput; }; export type CreateOneObjectInput = { /** The record to create */ object: CreateObjectInput; }; export type CreatePageLayoutInput = { name: Scalars['String']; objectMetadataId?: InputMaybe; type?: InputMaybe; }; export type CreatePageLayoutTabInput = { pageLayoutId: Scalars['UUID']; position?: InputMaybe; title: Scalars['String']; }; export type CreatePageLayoutWidgetInput = { configuration?: InputMaybe; gridPosition: GridPositionInput; objectMetadataId?: InputMaybe; pageLayoutTabId: Scalars['UUID']; title: Scalars['String']; type?: InputMaybe; }; export type CreateRemoteServerInput = { foreignDataWrapperOptions: Scalars['JSON']; foreignDataWrapperType: Scalars['String']; label: Scalars['String']; schema?: InputMaybe; userMappingOptions?: InputMaybe; }; export type CreateRoleInput = { canAccessAllTools?: InputMaybe; canBeAssignedToAgents?: InputMaybe; canBeAssignedToApiKeys?: InputMaybe; canBeAssignedToUsers?: InputMaybe; canDestroyAllObjectRecords?: InputMaybe; canReadAllObjectRecords?: InputMaybe; canSoftDeleteAllObjectRecords?: InputMaybe; canUpdateAllObjectRecords?: InputMaybe; canUpdateAllSettings?: InputMaybe; description?: InputMaybe; icon?: InputMaybe; id?: InputMaybe; label: Scalars['String']; }; export type CreateRouteTriggerInput = { httpMethod?: HttpMethod; isAuthRequired?: Scalars['Boolean']; path: Scalars['String']; serverlessFunctionId: Scalars['String']; }; export type CreateServerlessFunctionInput = { code?: InputMaybe; description?: InputMaybe; name: Scalars['String']; timeoutSeconds?: InputMaybe; }; export type CreateViewFieldInput = { aggregateOperation?: InputMaybe; fieldMetadataId: Scalars['UUID']; id?: InputMaybe; isVisible?: InputMaybe; position?: InputMaybe; size?: InputMaybe; viewId: Scalars['UUID']; }; export type CreateViewFilterGroupInput = { id?: InputMaybe; logicalOperator?: InputMaybe; parentViewFilterGroupId?: InputMaybe; positionInViewFilterGroup?: InputMaybe; viewId: Scalars['UUID']; }; export type CreateViewFilterInput = { fieldMetadataId: Scalars['UUID']; id?: InputMaybe; operand?: InputMaybe; positionInViewFilterGroup?: InputMaybe; subFieldName?: InputMaybe; value: Scalars['JSON']; viewFilterGroupId?: InputMaybe; viewId: Scalars['UUID']; }; export type CreateViewGroupInput = { fieldMetadataId: Scalars['UUID']; fieldValue: Scalars['String']; id?: InputMaybe; isVisible?: InputMaybe; position?: InputMaybe; viewId: Scalars['UUID']; }; export type CreateViewInput = { anyFieldFilterValue?: InputMaybe; calendarFieldMetadataId?: InputMaybe; calendarLayout?: InputMaybe; icon: Scalars['String']; id?: InputMaybe; isCompact?: InputMaybe; kanbanAggregateOperation?: InputMaybe; kanbanAggregateOperationFieldMetadataId?: InputMaybe; key?: InputMaybe; name: Scalars['String']; objectMetadataId: Scalars['UUID']; openRecordIn?: InputMaybe; position?: InputMaybe; type?: InputMaybe; }; export type CreateViewSortInput = { direction?: InputMaybe; fieldMetadataId: Scalars['UUID']; id?: InputMaybe; viewId: Scalars['UUID']; }; export type CreateWebhookDto = { description?: InputMaybe; operations: Array; secret?: InputMaybe; targetUrl: Scalars['String']; }; export type CreateWorkflowVersionEdgeInput = { /** Workflow version source step ID */ source: Scalars['String']; /** Workflow version source step connection options */ sourceConnectionOptions?: InputMaybe; /** Workflow version target step ID */ target: Scalars['String']; /** Workflow version ID */ workflowVersionId: Scalars['String']; }; export type CreateWorkflowVersionStepInput = { /** Step ID */ id?: InputMaybe; /** Next step ID */ nextStepId?: InputMaybe; /** Parent step connection options */ parentStepConnectionOptions?: InputMaybe; /** Parent step ID */ parentStepId?: InputMaybe; /** Step position */ position?: InputMaybe; /** New step type */ stepType: Scalars['String']; /** Workflow version ID */ workflowVersionId: Scalars['UUID']; }; export type CronTrigger = { __typename?: 'CronTrigger'; createdAt: Scalars['DateTime']; id: Scalars['UUID']; serverlessFunctionId: Scalars['String']; settings: Scalars['JSON']; updatedAt: Scalars['DateTime']; }; export type CronTriggerIdInput = { id: Scalars['String']; }; export type CursorPaging = { /** Paginate after opaque cursor */ after?: InputMaybe; /** Paginate before opaque cursor */ before?: InputMaybe; /** Paginate first */ first?: InputMaybe; /** Paginate last */ last?: InputMaybe; }; /** Database Event Action */ export enum DatabaseEventAction { CREATED = 'CREATED', DELETED = 'DELETED', DESTROYED = 'DESTROYED', RESTORED = 'RESTORED', UPDATED = 'UPDATED', UPSERTED = 'UPSERTED' } export type DatabaseEventTrigger = { __typename?: 'DatabaseEventTrigger'; createdAt: Scalars['DateTime']; id: Scalars['UUID']; serverlessFunctionId: Scalars['String']; settings: Scalars['JSON']; updatedAt: Scalars['DateTime']; }; export type DatabaseEventTriggerIdInput = { id: Scalars['String']; }; export type DateFilter = { eq?: InputMaybe; gt?: InputMaybe; gte?: InputMaybe; in?: InputMaybe>; is?: InputMaybe; lt?: InputMaybe; lte?: InputMaybe; neq?: InputMaybe; }; export type DeleteApprovedAccessDomainInput = { id: Scalars['UUID']; }; export type DeleteOneFieldInput = { /** The id of the field to delete. */ id: Scalars['UUID']; }; export type DeleteOneObjectInput = { /** The id of the record to delete. */ id: Scalars['UUID']; }; export type DeleteSsoInput = { identityProviderId: Scalars['UUID']; }; export type DeleteSsoOutput = { __typename?: 'DeleteSsoOutput'; identityProviderId: Scalars['UUID']; }; export type DeleteTwoFactorAuthenticationMethodOutput = { __typename?: 'DeleteTwoFactorAuthenticationMethodOutput'; /** Boolean that confirms query was dispatched */ success: Scalars['Boolean']; }; export type DeleteViewFieldInput = { /** The id of the view field to delete. */ id: Scalars['UUID']; }; export type DeleteWebhookDto = { id: Scalars['UUID']; }; export type DeleteWorkflowVersionStepInput = { /** Step to delete ID */ stepId: Scalars['String']; /** Workflow version ID */ workflowVersionId: Scalars['UUID']; }; export type DeletedWorkspaceMember = { __typename?: 'DeletedWorkspaceMember'; avatarUrl?: Maybe; id: Scalars['UUID']; name: FullName; userEmail: Scalars['String']; userWorkspaceId?: Maybe; }; export type DestroyViewFieldInput = { /** The id of the view field to destroy. */ id: Scalars['UUID']; }; /** Schema update on a table */ export enum DistantTableUpdate { COLUMNS_ADDED = 'COLUMNS_ADDED', COLUMNS_DELETED = 'COLUMNS_DELETED', COLUMNS_TYPE_CHANGED = 'COLUMNS_TYPE_CHANGED', TABLE_DELETED = 'TABLE_DELETED' } export type DomainRecord = { __typename?: 'DomainRecord'; key: Scalars['String']; status: Scalars['String']; type: Scalars['String']; validationType: Scalars['String']; value: Scalars['String']; }; export type DomainValidRecords = { __typename?: 'DomainValidRecords'; domain: Scalars['String']; id: Scalars['UUID']; records: Array; }; export type DuplicateWorkflowVersionStepInput = { stepId: Scalars['String']; workflowVersionId: Scalars['String']; }; export type EditSsoInput = { id: Scalars['UUID']; status: SsoIdentityProviderStatus; }; export type EditSsoOutput = { __typename?: 'EditSsoOutput'; id: Scalars['UUID']; issuer: Scalars['String']; name: Scalars['String']; status: SsoIdentityProviderStatus; type: IdentityProviderType; }; export type EmailAccountConnectionParameters = { CALDAV?: InputMaybe; IMAP?: InputMaybe; SMTP?: InputMaybe; }; export type EmailPasswordResetLink = { __typename?: 'EmailPasswordResetLink'; /** Boolean that confirms query was dispatched */ success: Scalars['Boolean']; }; export type EmailingDomain = { __typename?: 'EmailingDomain'; createdAt: Scalars['DateTime']; domain: Scalars['String']; driver: EmailingDomainDriver; id: Scalars['UUID']; status: EmailingDomainStatus; updatedAt: Scalars['DateTime']; verificationRecords?: Maybe>; verifiedAt?: Maybe; }; export enum EmailingDomainDriver { AWS_SES = 'AWS_SES' } export enum EmailingDomainStatus { FAILED = 'FAILED', PENDING = 'PENDING', TEMPORARY_FAILURE = 'TEMPORARY_FAILURE', VERIFIED = 'VERIFIED' } export type ExecuteServerlessFunctionInput = { /** Id of the serverless function to execute */ id: Scalars['UUID']; /** Payload in JSON format */ payload: Scalars['JSON']; /** Version of the serverless function to execute */ version?: Scalars['String']; }; export enum ExtendedAggregateOperations { AVG = 'AVG', COUNT = 'COUNT', COUNT_EMPTY = 'COUNT_EMPTY', COUNT_FALSE = 'COUNT_FALSE', COUNT_NOT_EMPTY = 'COUNT_NOT_EMPTY', COUNT_TRUE = 'COUNT_TRUE', COUNT_UNIQUE_VALUES = 'COUNT_UNIQUE_VALUES', EARLIEST = 'EARLIEST', LATEST = 'LATEST', MAX = 'MAX', MIN = 'MIN', PERCENTAGE_EMPTY = 'PERCENTAGE_EMPTY', PERCENTAGE_NOT_EMPTY = 'PERCENTAGE_NOT_EMPTY', SUM = 'SUM' } export type FeatureFlag = { __typename?: 'FeatureFlag'; id: Scalars['UUID']; key: FeatureFlagKey; value: Scalars['Boolean']; workspaceId: Scalars['UUID']; }; export type FeatureFlagDto = { __typename?: 'FeatureFlagDTO'; key: FeatureFlagKey; value: Scalars['Boolean']; }; export enum FeatureFlagKey { IS_AIRTABLE_INTEGRATION_ENABLED = 'IS_AIRTABLE_INTEGRATION_ENABLED', IS_AI_ENABLED = 'IS_AI_ENABLED', IS_CALENDAR_VIEW_ENABLED = 'IS_CALENDAR_VIEW_ENABLED', IS_CORE_VIEW_ENABLED = 'IS_CORE_VIEW_ENABLED', IS_CORE_VIEW_SYNCING_ENABLED = 'IS_CORE_VIEW_SYNCING_ENABLED', IS_DYNAMIC_SEARCH_FIELDS_ENABLED = 'IS_DYNAMIC_SEARCH_FIELDS_ENABLED', IS_EMAILING_DOMAIN_ENABLED = 'IS_EMAILING_DOMAIN_ENABLED', IS_GROUP_BY_ENABLED = 'IS_GROUP_BY_ENABLED', IS_IMAP_SMTP_CALDAV_ENABLED = 'IS_IMAP_SMTP_CALDAV_ENABLED', IS_JSON_FILTER_ENABLED = 'IS_JSON_FILTER_ENABLED', IS_MESSAGE_FOLDER_CONTROL_ENABLED = 'IS_MESSAGE_FOLDER_CONTROL_ENABLED', IS_MORPH_RELATION_ENABLED = 'IS_MORPH_RELATION_ENABLED', IS_PAGE_LAYOUT_ENABLED = 'IS_PAGE_LAYOUT_ENABLED', IS_POSTGRESQL_INTEGRATION_ENABLED = 'IS_POSTGRESQL_INTEGRATION_ENABLED', IS_PUBLIC_DOMAIN_ENABLED = 'IS_PUBLIC_DOMAIN_ENABLED', IS_RELATION_CONNECT_ENABLED = 'IS_RELATION_CONNECT_ENABLED', IS_STRIPE_INTEGRATION_ENABLED = 'IS_STRIPE_INTEGRATION_ENABLED', IS_UNIQUE_INDEXES_ENABLED = 'IS_UNIQUE_INDEXES_ENABLED', IS_WORKFLOW_ITERATOR_ENABLED = 'IS_WORKFLOW_ITERATOR_ENABLED', IS_WORKSPACE_MIGRATION_V2_ENABLED = 'IS_WORKSPACE_MIGRATION_V2_ENABLED' } export type Field = { __typename?: 'Field'; createdAt: Scalars['DateTime']; defaultValue?: Maybe; description?: Maybe; icon?: Maybe; id: Scalars['UUID']; isActive?: Maybe; isCustom?: Maybe; isLabelSyncedWithName?: Maybe; isNullable?: Maybe; isSystem?: Maybe; isUIReadOnly?: Maybe; isUnique?: Maybe; label: Scalars['String']; morphRelations?: Maybe>; name: Scalars['String']; object?: Maybe; options?: Maybe; relation?: Maybe; settings?: Maybe; standardOverrides?: Maybe; type: FieldMetadataType; updatedAt: Scalars['DateTime']; }; export type FieldConnection = { __typename?: 'FieldConnection'; /** Array of edges. */ edges: Array; /** Paging information */ pageInfo: PageInfo; }; export type FieldEdge = { __typename?: 'FieldEdge'; /** Cursor for this node. */ cursor: Scalars['ConnectionCursor']; /** The node containing the Field */ node: Field; }; export type FieldFilter = { and?: InputMaybe>; id?: InputMaybe; isActive?: InputMaybe; isCustom?: InputMaybe; isSystem?: InputMaybe; isUIReadOnly?: InputMaybe; or?: InputMaybe>; }; /** Type of the field */ export enum FieldMetadataType { ACTOR = 'ACTOR', ADDRESS = 'ADDRESS', ARRAY = 'ARRAY', BOOLEAN = 'BOOLEAN', CURRENCY = 'CURRENCY', DATE = 'DATE', DATE_TIME = 'DATE_TIME', EMAILS = 'EMAILS', FULL_NAME = 'FULL_NAME', LINKS = 'LINKS', MORPH_RELATION = 'MORPH_RELATION', MULTI_SELECT = 'MULTI_SELECT', NUMBER = 'NUMBER', NUMERIC = 'NUMERIC', PHONES = 'PHONES', POSITION = 'POSITION', RATING = 'RATING', RAW_JSON = 'RAW_JSON', RELATION = 'RELATION', RICH_TEXT = 'RICH_TEXT', RICH_TEXT_V2 = 'RICH_TEXT_V2', SELECT = 'SELECT', TEXT = 'TEXT', TS_VECTOR = 'TS_VECTOR', UUID = 'UUID' } export type FieldPermission = { __typename?: 'FieldPermission'; canReadFieldValue?: Maybe; canUpdateFieldValue?: Maybe; fieldMetadataId: Scalars['UUID']; id: Scalars['UUID']; objectMetadataId: Scalars['UUID']; roleId: Scalars['UUID']; }; export type FieldPermissionInput = { canReadFieldValue?: InputMaybe; canUpdateFieldValue?: InputMaybe; fieldMetadataId: Scalars['UUID']; objectMetadataId: Scalars['UUID']; }; export type File = { __typename?: 'File'; createdAt: Scalars['DateTime']; fullPath: Scalars['String']; id: Scalars['UUID']; name: Scalars['String']; size: Scalars['Float']; type: Scalars['String']; }; export enum FileFolder { AgentChat = 'AgentChat', Attachment = 'Attachment', File = 'File', PersonPicture = 'PersonPicture', ProfilePicture = 'ProfilePicture', ServerlessFunction = 'ServerlessFunction', ServerlessFunctionToDelete = 'ServerlessFunctionToDelete', WorkspaceLogo = 'WorkspaceLogo' } export enum FilterIs { NotNull = 'NotNull', Null = 'Null' } export type FindAvailableSsoidpOutput = { __typename?: 'FindAvailableSSOIDPOutput'; id: Scalars['UUID']; issuer: Scalars['String']; name: Scalars['String']; status: SsoIdentityProviderStatus; type: IdentityProviderType; workspace: WorkspaceNameAndId; }; export type FindManyRemoteTablesInput = { /** The id of the remote server. */ id: Scalars['ID']; /** Indicates if pending schema updates status should be computed. */ shouldFetchPendingSchemaUpdates?: InputMaybe; }; export type FullName = { __typename?: 'FullName'; firstName: Scalars['String']; lastName: Scalars['String']; }; export type GaugeChartConfiguration = { __typename?: 'GaugeChartConfiguration'; aggregateFieldMetadataId: Scalars['UUID']; aggregateOperation: ExtendedAggregateOperations; color?: Maybe; description?: Maybe; displayDataLabel: Scalars['Boolean']; filter?: Maybe; graphType: GraphType; }; export type GetApiKeyDto = { id: Scalars['UUID']; }; export type GetAuthorizationUrlForSsoInput = { identityProviderId: Scalars['UUID']; workspaceInviteHash?: InputMaybe; }; export type GetAuthorizationUrlForSsoOutput = { __typename?: 'GetAuthorizationUrlForSSOOutput'; authorizationURL: Scalars['String']; id: Scalars['UUID']; type: Scalars['String']; }; export type GetLoginTokenFromEmailVerificationTokenOutput = { __typename?: 'GetLoginTokenFromEmailVerificationTokenOutput'; loginToken: AuthToken; workspaceUrls: WorkspaceUrls; }; export type GetServerlessFunctionSourceCodeInput = { /** The id of the function. */ id: Scalars['ID']; /** The version of the function */ version?: Scalars['String']; }; export type GetWebhookDto = { id: Scalars['UUID']; }; /** Order by options for graph widgets */ export enum GraphOrderBy { FIELD_ASC = 'FIELD_ASC', FIELD_DESC = 'FIELD_DESC', VALUE_ASC = 'VALUE_ASC', VALUE_DESC = 'VALUE_DESC' } /** Type of graph widget */ export enum GraphType { BAR = 'BAR', GAUGE = 'GAUGE', LINE = 'LINE', NUMBER = 'NUMBER', PIE = 'PIE' } export type GridPosition = { __typename?: 'GridPosition'; column: Scalars['Float']; columnSpan: Scalars['Float']; row: Scalars['Float']; rowSpan: Scalars['Float']; }; export type GridPositionInput = { column: Scalars['Float']; columnSpan: Scalars['Float']; row: Scalars['Float']; rowSpan: Scalars['Float']; }; export enum HttpMethod { DELETE = 'DELETE', GET = 'GET', PATCH = 'PATCH', POST = 'POST', PUT = 'PUT' } export enum HealthIndicatorId { app = 'app', connectedAccount = 'connectedAccount', database = 'database', redis = 'redis', worker = 'worker' } export enum IdentityProviderType { OIDC = 'OIDC', SAML = 'SAML' } export type IframeConfiguration = { __typename?: 'IframeConfiguration'; url: Scalars['String']; }; export type ImapSmtpCaldavConnectionParameters = { __typename?: 'ImapSmtpCaldavConnectionParameters'; CALDAV?: Maybe; IMAP?: Maybe; SMTP?: Maybe; }; export type ImapSmtpCaldavConnectionSuccess = { __typename?: 'ImapSmtpCaldavConnectionSuccess'; success: Scalars['Boolean']; }; export type ImpersonateOutput = { __typename?: 'ImpersonateOutput'; loginToken: AuthToken; workspace: WorkspaceUrlsAndId; }; export type Index = { __typename?: 'Index'; createdAt: Scalars['DateTime']; id: Scalars['UUID']; indexFieldMetadataList: Array; indexFieldMetadatas: IndexIndexFieldMetadatasConnection; indexType: IndexType; indexWhereClause?: Maybe; isCustom?: Maybe; isUnique: Scalars['Boolean']; name: Scalars['String']; objectMetadata: IndexObjectMetadataConnection; updatedAt: Scalars['DateTime']; }; export type IndexIndexFieldMetadatasArgs = { filter?: IndexFieldFilter; paging?: CursorPaging; }; export type IndexObjectMetadataArgs = { filter?: ObjectFilter; paging?: CursorPaging; }; export type IndexConnection = { __typename?: 'IndexConnection'; /** Array of edges. */ edges: Array; /** Paging information */ pageInfo: PageInfo; }; export type IndexEdge = { __typename?: 'IndexEdge'; /** Cursor for this node. */ cursor: Scalars['ConnectionCursor']; /** The node containing the Index */ node: Index; }; export type IndexField = { __typename?: 'IndexField'; createdAt: Scalars['DateTime']; fieldMetadataId: Scalars['UUID']; id: Scalars['UUID']; order: Scalars['Float']; updatedAt: Scalars['DateTime']; }; export type IndexFieldEdge = { __typename?: 'IndexFieldEdge'; /** Cursor for this node. */ cursor: Scalars['ConnectionCursor']; /** The node containing the IndexField */ node: IndexField; }; export type IndexFieldFilter = { and?: InputMaybe>; fieldMetadataId?: InputMaybe; id?: InputMaybe; or?: InputMaybe>; }; export type IndexFilter = { and?: InputMaybe>; id?: InputMaybe; isCustom?: InputMaybe; or?: InputMaybe>; }; export type IndexIndexFieldMetadatasConnection = { __typename?: 'IndexIndexFieldMetadatasConnection'; /** Array of edges. */ edges: Array; /** Paging information */ pageInfo: PageInfo; }; export type IndexObjectMetadataConnection = { __typename?: 'IndexObjectMetadataConnection'; /** Array of edges. */ edges: Array; /** Paging information */ pageInfo: PageInfo; }; /** Type of the index */ export enum IndexType { BTREE = 'BTREE', GIN = 'GIN' } export type InitiateTwoFactorAuthenticationProvisioningOutput = { __typename?: 'InitiateTwoFactorAuthenticationProvisioningOutput'; uri: Scalars['String']; }; export type InvalidatePassword = { __typename?: 'InvalidatePassword'; /** Boolean that confirms query was dispatched */ success: Scalars['Boolean']; }; export type LineChartConfiguration = { __typename?: 'LineChartConfiguration'; aggregateFieldMetadataId: Scalars['UUID']; aggregateOperation: ExtendedAggregateOperations; axisNameDisplay: AxisNameDisplay; color?: Maybe; description?: Maybe; displayDataLabel: Scalars['Boolean']; filter?: Maybe; graphType: GraphType; groupByFieldMetadataIdX: Scalars['UUID']; groupByFieldMetadataIdY?: Maybe; groupBySubFieldNameX?: Maybe; groupBySubFieldNameY?: Maybe; omitNullValues?: Maybe; orderByX: GraphOrderBy; orderByY?: Maybe; rangeMax?: Maybe; rangeMin?: Maybe; }; export type LinkMetadata = { __typename?: 'LinkMetadata'; label: Scalars['String']; url: Scalars['String']; }; export type LinksMetadata = { __typename?: 'LinksMetadata'; primaryLinkLabel: Scalars['String']; primaryLinkUrl: Scalars['String']; secondaryLinks?: Maybe>; }; export type LocationDto = { __typename?: 'LocationDto'; lat?: Maybe; lng?: Maybe; }; export type LoginToken = { __typename?: 'LoginToken'; loginToken: AuthToken; }; export enum MessageChannelVisibility { METADATA = 'METADATA', SHARE_EVERYTHING = 'SHARE_EVERYTHING', SUBJECT = 'SUBJECT' } export enum ModelProvider { ANTHROPIC = 'ANTHROPIC', NONE = 'NONE', OPENAI = 'OPENAI', OPENAI_COMPATIBLE = 'OPENAI_COMPATIBLE', XAI = 'XAI' } export type Mutation = { __typename?: 'Mutation'; activateWorkflowVersion: Scalars['Boolean']; activateWorkspace: Workspace; assignRoleToAgent: Scalars['Boolean']; assignRoleToApiKey: Scalars['Boolean']; authorizeApp: AuthorizeApp; cancelSwitchBillingInterval: BillingUpdateOutput; cancelSwitchBillingPlan: BillingUpdateOutput; cancelSwitchMeteredPrice: BillingUpdateOutput; checkCustomDomainValidRecords?: Maybe; checkPublicDomainValidRecords?: Maybe; checkoutSession: BillingSessionOutput; computeStepOutputSchema: Scalars['JSON']; createAgentChatThread: AgentChatThread; createAgentHandoff: Scalars['Boolean']; createApiKey: ApiKey; createApprovedAccessDomain: ApprovedAccessDomain; createCoreView: CoreView; createCoreViewField: CoreViewField; createCoreViewFilter: CoreViewFilter; createCoreViewFilterGroup: CoreViewFilterGroup; createCoreViewGroup: CoreViewGroup; createCoreViewSort: CoreViewSort; createDatabaseConfigVariable: Scalars['Boolean']; createDraftFromWorkflowVersion: WorkflowVersion; createEmailingDomain: EmailingDomain; createFile: File; createOIDCIdentityProvider: SetupSsoOutput; createObjectEvent: Analytics; createOneAgent: Agent; createOneAppToken: AppToken; createOneCronTrigger: CronTrigger; createOneDatabaseEventTrigger: DatabaseEventTrigger; createOneField: Field; createOneObject: Object; createOneRemoteServer: RemoteServer; createOneRole: Role; createOneRouteTrigger: RouteTrigger; createOneServerlessFunction: ServerlessFunction; createOneServerlessFunctionLayer: ServerlessFunctionLayer; createPageLayout: PageLayout; createPageLayoutTab: PageLayoutTab; createPageLayoutWidget: PageLayoutWidget; createPublicDomain: PublicDomain; createSAMLIdentityProvider: SetupSsoOutput; createWebhook: Webhook; createWorkflowVersionEdge: WorkflowVersionStepChanges; createWorkflowVersionStep: WorkflowVersionStepChanges; deactivateWorkflowVersion: Scalars['Boolean']; deleteApplication: Scalars['Boolean']; deleteApprovedAccessDomain: Scalars['Boolean']; deleteCoreView: Scalars['Boolean']; deleteCoreViewField: CoreViewField; deleteCoreViewFilter: Scalars['Boolean']; deleteCoreViewFilterGroup: Scalars['Boolean']; deleteCoreViewGroup: Scalars['Boolean']; deleteCoreViewSort: Scalars['Boolean']; deleteCurrentWorkspace: Workspace; deleteDatabaseConfigVariable: Scalars['Boolean']; deleteEmailingDomain: Scalars['Boolean']; deleteFile: File; deleteOneAgent: Agent; deleteOneCronTrigger: CronTrigger; deleteOneDatabaseEventTrigger: DatabaseEventTrigger; deleteOneField: Field; deleteOneObject: Object; deleteOneRemoteServer: RemoteServer; deleteOneRole: Scalars['String']; deleteOneRouteTrigger: RouteTrigger; deleteOneServerlessFunction: ServerlessFunction; deletePageLayout: PageLayout; deletePageLayoutTab: Scalars['Boolean']; deletePageLayoutWidget: PageLayoutWidget; deletePublicDomain: Scalars['Boolean']; deleteSSOIdentityProvider: DeleteSsoOutput; deleteTwoFactorAuthenticationMethod: DeleteTwoFactorAuthenticationMethodOutput; deleteUser: User; deleteWebhook: Scalars['Boolean']; deleteWorkflowVersionEdge: WorkflowVersionStepChanges; deleteWorkflowVersionStep: WorkflowVersionStepChanges; deleteWorkspaceInvitation: Scalars['String']; destroyCoreView: Scalars['Boolean']; destroyCoreViewField: CoreViewField; destroyCoreViewFilter: Scalars['Boolean']; destroyCoreViewFilterGroup: Scalars['Boolean']; destroyCoreViewGroup: Scalars['Boolean']; destroyCoreViewSort: Scalars['Boolean']; destroyPageLayout: Scalars['Boolean']; destroyPageLayoutTab: Scalars['Boolean']; destroyPageLayoutWidget: Scalars['Boolean']; disablePostgresProxy: PostgresCredentials; duplicateWorkflowVersionStep: WorkflowVersionStepChanges; editSSOIdentityProvider: EditSsoOutput; emailPasswordResetLink: EmailPasswordResetLink; enablePostgresProxy: PostgresCredentials; endSubscriptionTrialPeriod: BillingEndTrialPeriodOutput; executeOneServerlessFunction: ServerlessFunctionExecutionResult; generateApiKeyToken: ApiKeyToken; generateTransientToken: TransientToken; getAuthTokensFromLoginToken: AuthTokens; getAuthTokensFromOTP: AuthTokens; getAuthorizationUrlForSSO: GetAuthorizationUrlForSsoOutput; getLoginTokenFromCredentials: LoginToken; getLoginTokenFromEmailVerificationToken: GetLoginTokenFromEmailVerificationTokenOutput; getWorkspaceAgnosticTokenFromEmailVerificationToken: AvailableWorkspacesAndAccessTokensOutput; impersonate: ImpersonateOutput; initiateOTPProvisioning: InitiateTwoFactorAuthenticationProvisioningOutput; initiateOTPProvisioningForAuthenticatedUser: InitiateTwoFactorAuthenticationProvisioningOutput; publishServerlessFunction: ServerlessFunction; removeAgentHandoff: Scalars['Boolean']; removeRoleFromAgent: Scalars['Boolean']; renewToken: AuthTokens; resendEmailVerificationToken: ResendEmailVerificationTokenOutput; resendWorkspaceInvitation: SendInvitationsOutput; restorePageLayout: PageLayout; restorePageLayoutTab: PageLayoutTab; restorePageLayoutWidget: PageLayoutWidget; revokeApiKey?: Maybe; runWorkflowVersion: WorkflowRun; saveImapSmtpCaldavAccount: ImapSmtpCaldavConnectionSuccess; sendInvitations: SendInvitationsOutput; setMeteredSubscriptionPrice: BillingUpdateOutput; signIn: AvailableWorkspacesAndAccessTokensOutput; signUp: AvailableWorkspacesAndAccessTokensOutput; signUpInNewWorkspace: SignUpOutput; signUpInWorkspace: SignUpOutput; skipBookOnboardingStep: OnboardingStepSuccess; skipSyncEmailOnboardingStep: OnboardingStepSuccess; submitFormStep: Scalars['Boolean']; switchBillingPlan: BillingUpdateOutput; switchSubscriptionInterval: BillingUpdateOutput; syncApplication: Scalars['Boolean']; syncRemoteTable: RemoteTable; syncRemoteTableSchemaChanges: RemoteTable; trackAnalytics: Analytics; unsyncRemoteTable: RemoteTable; updateApiKey?: Maybe; updateCoreView: CoreView; updateCoreViewField: CoreViewField; updateCoreViewFilter: CoreViewFilter; updateCoreViewFilterGroup: CoreViewFilterGroup; updateCoreViewGroup: CoreViewGroup; updateCoreViewSort: CoreViewSort; updateDatabaseConfigVariable: Scalars['Boolean']; updateLabPublicFeatureFlag: FeatureFlagDto; updateOneAgent: Agent; updateOneCronTrigger: CronTrigger; updateOneDatabaseEventTrigger: DatabaseEventTrigger; updateOneField: Field; updateOneObject: Object; updateOneRemoteServer: RemoteServer; updateOneRole: Role; updateOneRouteTrigger: RouteTrigger; updateOneServerlessFunction: ServerlessFunction; updatePageLayout: PageLayout; updatePageLayoutTab: PageLayoutTab; updatePageLayoutWidget: PageLayoutWidget; updatePageLayoutWithTabsAndWidgets: PageLayout; updatePasswordViaResetToken: InvalidatePassword; updateWebhook?: Maybe; updateWorkflowRunStep: WorkflowAction; updateWorkflowVersionPositions: Scalars['Boolean']; updateWorkflowVersionStep: WorkflowAction; updateWorkspace: Workspace; updateWorkspaceFeatureFlag: Scalars['Boolean']; updateWorkspaceMemberRole: WorkspaceMember; uploadFile: SignedFileDto; uploadImage: SignedFileDto; uploadProfilePicture: SignedFileDto; uploadWorkspaceLogo: SignedFileDto; upsertFieldPermissions: Array; upsertObjectPermissions: Array; upsertPermissionFlags: Array; userLookupAdminPanel: UserLookup; validateApprovedAccessDomain: ApprovedAccessDomain; verifyEmailingDomain: EmailingDomain; verifyTwoFactorAuthenticationMethodForAuthenticatedUser: VerifyTwoFactorAuthenticationMethodOutput; }; export type MutationActivateWorkflowVersionArgs = { workflowVersionId: Scalars['UUID']; }; export type MutationActivateWorkspaceArgs = { data: ActivateWorkspaceInput; }; export type MutationAssignRoleToAgentArgs = { agentId: Scalars['UUID']; roleId: Scalars['UUID']; }; export type MutationAssignRoleToApiKeyArgs = { apiKeyId: Scalars['UUID']; roleId: Scalars['UUID']; }; export type MutationAuthorizeAppArgs = { clientId: Scalars['String']; codeChallenge?: InputMaybe; redirectUrl: Scalars['String']; }; export type MutationCheckPublicDomainValidRecordsArgs = { domain: Scalars['String']; }; export type MutationCheckoutSessionArgs = { plan?: BillingPlanKey; recurringInterval: SubscriptionInterval; requirePaymentMethod?: Scalars['Boolean']; successUrlPath?: InputMaybe; }; export type MutationComputeStepOutputSchemaArgs = { input: ComputeStepOutputSchemaInput; }; export type MutationCreateAgentChatThreadArgs = { input: CreateAgentChatThreadInput; }; export type MutationCreateAgentHandoffArgs = { input: CreateAgentHandoffInput; }; export type MutationCreateApiKeyArgs = { input: CreateApiKeyDto; }; export type MutationCreateApprovedAccessDomainArgs = { input: CreateApprovedAccessDomainInput; }; export type MutationCreateCoreViewArgs = { input: CreateViewInput; }; export type MutationCreateCoreViewFieldArgs = { input: CreateViewFieldInput; }; export type MutationCreateCoreViewFilterArgs = { input: CreateViewFilterInput; }; export type MutationCreateCoreViewFilterGroupArgs = { input: CreateViewFilterGroupInput; }; export type MutationCreateCoreViewGroupArgs = { input: CreateViewGroupInput; }; export type MutationCreateCoreViewSortArgs = { input: CreateViewSortInput; }; export type MutationCreateDatabaseConfigVariableArgs = { key: Scalars['String']; value: Scalars['JSON']; }; export type MutationCreateDraftFromWorkflowVersionArgs = { input: CreateDraftFromWorkflowVersionInput; }; export type MutationCreateEmailingDomainArgs = { domain: Scalars['String']; driver: EmailingDomainDriver; }; export type MutationCreateFileArgs = { file: Scalars['Upload']; }; export type MutationCreateOidcIdentityProviderArgs = { input: SetupOidcSsoInput; }; export type MutationCreateObjectEventArgs = { event: Scalars['String']; objectMetadataId: Scalars['UUID']; properties?: InputMaybe; recordId: Scalars['UUID']; }; export type MutationCreateOneAgentArgs = { input: CreateAgentInput; }; export type MutationCreateOneAppTokenArgs = { input: CreateOneAppTokenInput; }; export type MutationCreateOneCronTriggerArgs = { input: CreateCronTriggerInput; }; export type MutationCreateOneDatabaseEventTriggerArgs = { input: CreateDatabaseEventTriggerInput; }; export type MutationCreateOneFieldArgs = { input: CreateOneFieldMetadataInput; }; export type MutationCreateOneObjectArgs = { input: CreateOneObjectInput; }; export type MutationCreateOneRemoteServerArgs = { input: CreateRemoteServerInput; }; export type MutationCreateOneRoleArgs = { createRoleInput: CreateRoleInput; }; export type MutationCreateOneRouteTriggerArgs = { input: CreateRouteTriggerInput; }; export type MutationCreateOneServerlessFunctionArgs = { input: CreateServerlessFunctionInput; }; export type MutationCreateOneServerlessFunctionLayerArgs = { packageJson: Scalars['JSON']; yarnLock: Scalars['String']; }; export type MutationCreatePageLayoutArgs = { input: CreatePageLayoutInput; }; export type MutationCreatePageLayoutTabArgs = { input: CreatePageLayoutTabInput; }; export type MutationCreatePageLayoutWidgetArgs = { input: CreatePageLayoutWidgetInput; }; export type MutationCreatePublicDomainArgs = { domain: Scalars['String']; }; export type MutationCreateSamlIdentityProviderArgs = { input: SetupSamlSsoInput; }; export type MutationCreateWebhookArgs = { input: CreateWebhookDto; }; export type MutationCreateWorkflowVersionEdgeArgs = { input: CreateWorkflowVersionEdgeInput; }; export type MutationCreateWorkflowVersionStepArgs = { input: CreateWorkflowVersionStepInput; }; export type MutationDeactivateWorkflowVersionArgs = { workflowVersionId: Scalars['UUID']; }; export type MutationDeleteApplicationArgs = { packageJson: Scalars['JSON']; }; export type MutationDeleteApprovedAccessDomainArgs = { input: DeleteApprovedAccessDomainInput; }; export type MutationDeleteCoreViewArgs = { id: Scalars['String']; }; export type MutationDeleteCoreViewFieldArgs = { input: DeleteViewFieldInput; }; export type MutationDeleteCoreViewFilterArgs = { id: Scalars['String']; }; export type MutationDeleteCoreViewFilterGroupArgs = { id: Scalars['String']; }; export type MutationDeleteCoreViewGroupArgs = { id: Scalars['String']; }; export type MutationDeleteCoreViewSortArgs = { id: Scalars['String']; }; export type MutationDeleteDatabaseConfigVariableArgs = { key: Scalars['String']; }; export type MutationDeleteEmailingDomainArgs = { id: Scalars['String']; }; export type MutationDeleteFileArgs = { fileId: Scalars['UUID']; }; export type MutationDeleteOneAgentArgs = { input: AgentIdInput; }; export type MutationDeleteOneCronTriggerArgs = { input: CronTriggerIdInput; }; export type MutationDeleteOneDatabaseEventTriggerArgs = { input: DatabaseEventTriggerIdInput; }; export type MutationDeleteOneFieldArgs = { input: DeleteOneFieldInput; }; export type MutationDeleteOneObjectArgs = { input: DeleteOneObjectInput; }; export type MutationDeleteOneRemoteServerArgs = { input: RemoteServerIdInput; }; export type MutationDeleteOneRoleArgs = { roleId: Scalars['UUID']; }; export type MutationDeleteOneRouteTriggerArgs = { input: RouteTriggerIdInput; }; export type MutationDeleteOneServerlessFunctionArgs = { input: ServerlessFunctionIdInput; }; export type MutationDeletePageLayoutArgs = { id: Scalars['String']; }; export type MutationDeletePageLayoutTabArgs = { id: Scalars['String']; }; export type MutationDeletePageLayoutWidgetArgs = { id: Scalars['String']; }; export type MutationDeletePublicDomainArgs = { domain: Scalars['String']; }; export type MutationDeleteSsoIdentityProviderArgs = { input: DeleteSsoInput; }; export type MutationDeleteTwoFactorAuthenticationMethodArgs = { twoFactorAuthenticationMethodId: Scalars['UUID']; }; export type MutationDeleteWebhookArgs = { input: DeleteWebhookDto; }; export type MutationDeleteWorkflowVersionEdgeArgs = { input: CreateWorkflowVersionEdgeInput; }; export type MutationDeleteWorkflowVersionStepArgs = { input: DeleteWorkflowVersionStepInput; }; export type MutationDeleteWorkspaceInvitationArgs = { appTokenId: Scalars['String']; }; export type MutationDestroyCoreViewArgs = { id: Scalars['String']; }; export type MutationDestroyCoreViewFieldArgs = { input: DestroyViewFieldInput; }; export type MutationDestroyCoreViewFilterArgs = { id: Scalars['String']; }; export type MutationDestroyCoreViewFilterGroupArgs = { id: Scalars['String']; }; export type MutationDestroyCoreViewGroupArgs = { id: Scalars['String']; }; export type MutationDestroyCoreViewSortArgs = { id: Scalars['String']; }; export type MutationDestroyPageLayoutArgs = { id: Scalars['String']; }; export type MutationDestroyPageLayoutTabArgs = { id: Scalars['String']; }; export type MutationDestroyPageLayoutWidgetArgs = { id: Scalars['String']; }; export type MutationDuplicateWorkflowVersionStepArgs = { input: DuplicateWorkflowVersionStepInput; }; export type MutationEditSsoIdentityProviderArgs = { input: EditSsoInput; }; export type MutationEmailPasswordResetLinkArgs = { email: Scalars['String']; workspaceId: Scalars['UUID']; }; export type MutationExecuteOneServerlessFunctionArgs = { input: ExecuteServerlessFunctionInput; }; export type MutationGenerateApiKeyTokenArgs = { apiKeyId: Scalars['UUID']; expiresAt: Scalars['String']; }; export type MutationGetAuthTokensFromLoginTokenArgs = { loginToken: Scalars['String']; origin: Scalars['String']; }; export type MutationGetAuthTokensFromOtpArgs = { captchaToken?: InputMaybe; loginToken: Scalars['String']; origin: Scalars['String']; otp: Scalars['String']; }; export type MutationGetAuthorizationUrlForSsoArgs = { input: GetAuthorizationUrlForSsoInput; }; export type MutationGetLoginTokenFromCredentialsArgs = { captchaToken?: InputMaybe; email: Scalars['String']; locale?: InputMaybe; origin: Scalars['String']; password: Scalars['String']; verifyEmailRedirectPath?: InputMaybe; }; export type MutationGetLoginTokenFromEmailVerificationTokenArgs = { captchaToken?: InputMaybe; email: Scalars['String']; emailVerificationToken: Scalars['String']; origin: Scalars['String']; }; export type MutationGetWorkspaceAgnosticTokenFromEmailVerificationTokenArgs = { captchaToken?: InputMaybe; email: Scalars['String']; emailVerificationToken: Scalars['String']; }; export type MutationImpersonateArgs = { userId: Scalars['UUID']; workspaceId: Scalars['UUID']; }; export type MutationInitiateOtpProvisioningArgs = { loginToken: Scalars['String']; origin: Scalars['String']; }; export type MutationPublishServerlessFunctionArgs = { input: PublishServerlessFunctionInput; }; export type MutationRemoveAgentHandoffArgs = { input: RemoveAgentHandoffInput; }; export type MutationRemoveRoleFromAgentArgs = { agentId: Scalars['UUID']; }; export type MutationRenewTokenArgs = { appToken: Scalars['String']; }; export type MutationResendEmailVerificationTokenArgs = { email: Scalars['String']; origin: Scalars['String']; }; export type MutationResendWorkspaceInvitationArgs = { appTokenId: Scalars['String']; }; export type MutationRestorePageLayoutArgs = { id: Scalars['String']; }; export type MutationRestorePageLayoutTabArgs = { id: Scalars['String']; }; export type MutationRestorePageLayoutWidgetArgs = { id: Scalars['String']; }; export type MutationRevokeApiKeyArgs = { input: RevokeApiKeyDto; }; export type MutationRunWorkflowVersionArgs = { input: RunWorkflowVersionInput; }; export type MutationSaveImapSmtpCaldavAccountArgs = { accountOwnerId: Scalars['UUID']; connectionParameters: EmailAccountConnectionParameters; handle: Scalars['String']; id?: InputMaybe; }; export type MutationSendInvitationsArgs = { emails: Array; }; export type MutationSetMeteredSubscriptionPriceArgs = { priceId: Scalars['String']; }; export type MutationSignInArgs = { captchaToken?: InputMaybe; email: Scalars['String']; locale?: InputMaybe; password: Scalars['String']; verifyEmailRedirectPath?: InputMaybe; }; export type MutationSignUpArgs = { captchaToken?: InputMaybe; email: Scalars['String']; locale?: InputMaybe; password: Scalars['String']; verifyEmailRedirectPath?: InputMaybe; }; export type MutationSignUpInWorkspaceArgs = { captchaToken?: InputMaybe; email: Scalars['String']; locale?: InputMaybe; password: Scalars['String']; verifyEmailRedirectPath?: InputMaybe; workspaceId?: InputMaybe; workspaceInviteHash?: InputMaybe; workspacePersonalInviteToken?: InputMaybe; }; export type MutationSubmitFormStepArgs = { input: SubmitFormStepInput; }; export type MutationSyncApplicationArgs = { manifest: Scalars['JSON']; packageJson: Scalars['JSON']; yarnLock: Scalars['String']; }; export type MutationSyncRemoteTableArgs = { input: RemoteTableInput; }; export type MutationSyncRemoteTableSchemaChangesArgs = { input: RemoteTableInput; }; export type MutationTrackAnalyticsArgs = { event?: InputMaybe; name?: InputMaybe; properties?: InputMaybe; type: AnalyticsType; }; export type MutationUnsyncRemoteTableArgs = { input: RemoteTableInput; }; export type MutationUpdateApiKeyArgs = { input: UpdateApiKeyDto; }; export type MutationUpdateCoreViewArgs = { id: Scalars['String']; input: UpdateViewInput; }; export type MutationUpdateCoreViewFieldArgs = { input: UpdateViewFieldInput; }; export type MutationUpdateCoreViewFilterArgs = { id: Scalars['String']; input: UpdateViewFilterInput; }; export type MutationUpdateCoreViewFilterGroupArgs = { id: Scalars['String']; input: UpdateViewFilterGroupInput; }; export type MutationUpdateCoreViewGroupArgs = { id: Scalars['String']; input: UpdateViewGroupInput; }; export type MutationUpdateCoreViewSortArgs = { id: Scalars['String']; input: UpdateViewSortInput; }; export type MutationUpdateDatabaseConfigVariableArgs = { key: Scalars['String']; value: Scalars['JSON']; }; export type MutationUpdateLabPublicFeatureFlagArgs = { input: UpdateLabPublicFeatureFlagInput; }; export type MutationUpdateOneAgentArgs = { input: UpdateAgentInput; }; export type MutationUpdateOneCronTriggerArgs = { input: UpdateCronTriggerInput; }; export type MutationUpdateOneDatabaseEventTriggerArgs = { input: UpdateDatabaseEventTriggerInput; }; export type MutationUpdateOneFieldArgs = { input: UpdateOneFieldMetadataInput; }; export type MutationUpdateOneObjectArgs = { input: UpdateOneObjectInput; }; export type MutationUpdateOneRemoteServerArgs = { input: UpdateRemoteServerInput; }; export type MutationUpdateOneRoleArgs = { updateRoleInput: UpdateRoleInput; }; export type MutationUpdateOneRouteTriggerArgs = { input: UpdateRouteTriggerInput; }; export type MutationUpdateOneServerlessFunctionArgs = { input: UpdateServerlessFunctionInput; }; export type MutationUpdatePageLayoutArgs = { id: Scalars['String']; input: UpdatePageLayoutInput; }; export type MutationUpdatePageLayoutTabArgs = { id: Scalars['String']; input: UpdatePageLayoutTabInput; }; export type MutationUpdatePageLayoutWidgetArgs = { id: Scalars['String']; input: UpdatePageLayoutWidgetInput; }; export type MutationUpdatePageLayoutWithTabsAndWidgetsArgs = { id: Scalars['String']; input: UpdatePageLayoutWithTabsInput; }; export type MutationUpdatePasswordViaResetTokenArgs = { newPassword: Scalars['String']; passwordResetToken: Scalars['String']; }; export type MutationUpdateWebhookArgs = { input: UpdateWebhookDto; }; export type MutationUpdateWorkflowRunStepArgs = { input: UpdateWorkflowRunStepInput; }; export type MutationUpdateWorkflowVersionPositionsArgs = { input: UpdateWorkflowVersionPositionsInput; }; export type MutationUpdateWorkflowVersionStepArgs = { input: UpdateWorkflowVersionStepInput; }; export type MutationUpdateWorkspaceArgs = { data: UpdateWorkspaceInput; }; export type MutationUpdateWorkspaceFeatureFlagArgs = { featureFlag: Scalars['String']; value: Scalars['Boolean']; workspaceId: Scalars['UUID']; }; export type MutationUpdateWorkspaceMemberRoleArgs = { roleId: Scalars['UUID']; workspaceMemberId: Scalars['UUID']; }; export type MutationUploadFileArgs = { file: Scalars['Upload']; fileFolder?: InputMaybe; }; export type MutationUploadImageArgs = { file: Scalars['Upload']; fileFolder?: InputMaybe; }; export type MutationUploadProfilePictureArgs = { file: Scalars['Upload']; }; export type MutationUploadWorkspaceLogoArgs = { file: Scalars['Upload']; }; export type MutationUpsertFieldPermissionsArgs = { upsertFieldPermissionsInput: UpsertFieldPermissionsInput; }; export type MutationUpsertObjectPermissionsArgs = { upsertObjectPermissionsInput: UpsertObjectPermissionsInput; }; export type MutationUpsertPermissionFlagsArgs = { upsertPermissionFlagsInput: UpsertPermissionFlagsInput; }; export type MutationUserLookupAdminPanelArgs = { userIdentifier: Scalars['String']; }; export type MutationValidateApprovedAccessDomainArgs = { input: ValidateApprovedAccessDomainInput; }; export type MutationVerifyEmailingDomainArgs = { id: Scalars['String']; }; export type MutationVerifyTwoFactorAuthenticationMethodForAuthenticatedUserArgs = { otp: Scalars['String']; }; export type NativeModelCapabilities = { __typename?: 'NativeModelCapabilities'; twitterSearch?: Maybe; webSearch?: Maybe; }; export type NumberChartConfiguration = { __typename?: 'NumberChartConfiguration'; aggregateFieldMetadataId: Scalars['UUID']; aggregateOperation: ExtendedAggregateOperations; color?: Maybe; description?: Maybe; displayDataLabel: Scalars['Boolean']; filter?: Maybe; format?: Maybe; graphType: GraphType; label?: Maybe; }; export type Object = { __typename?: 'Object'; createdAt: Scalars['DateTime']; description?: Maybe; duplicateCriteria?: Maybe>>; fields: ObjectFieldsConnection; fieldsList: Array; icon?: Maybe; id: Scalars['UUID']; imageIdentifierFieldMetadataId?: Maybe; indexMetadataList: Array; indexMetadatas: ObjectIndexMetadatasConnection; isActive: Scalars['Boolean']; isCustom: Scalars['Boolean']; isLabelSyncedWithName: Scalars['Boolean']; isRemote: Scalars['Boolean']; isSearchable: Scalars['Boolean']; isSystem: Scalars['Boolean']; isUIReadOnly: Scalars['Boolean']; labelIdentifierFieldMetadataId?: Maybe; labelPlural: Scalars['String']; labelSingular: Scalars['String']; namePlural: Scalars['String']; nameSingular: Scalars['String']; shortcut?: Maybe; standardOverrides?: Maybe; updatedAt: Scalars['DateTime']; }; export type ObjectFieldsArgs = { filter?: FieldFilter; paging?: CursorPaging; }; export type ObjectIndexMetadatasArgs = { filter?: IndexFilter; paging?: CursorPaging; }; export type ObjectConnection = { __typename?: 'ObjectConnection'; /** Array of edges. */ edges: Array; /** Paging information */ pageInfo: PageInfo; }; export type ObjectEdge = { __typename?: 'ObjectEdge'; /** Cursor for this node. */ cursor: Scalars['ConnectionCursor']; /** The node containing the Object */ node: Object; }; export type ObjectFieldsConnection = { __typename?: 'ObjectFieldsConnection'; /** Array of edges. */ edges: Array; /** Paging information */ pageInfo: PageInfo; }; export type ObjectFilter = { and?: InputMaybe>; id?: InputMaybe; isActive?: InputMaybe; isCustom?: InputMaybe; isRemote?: InputMaybe; isSearchable?: InputMaybe; isSystem?: InputMaybe; isUIReadOnly?: InputMaybe; or?: InputMaybe>; }; export type ObjectIndexMetadatasConnection = { __typename?: 'ObjectIndexMetadatasConnection'; /** Array of edges. */ edges: Array; /** Paging information */ pageInfo: PageInfo; }; export type ObjectPermission = { __typename?: 'ObjectPermission'; canDestroyObjectRecords?: Maybe; canReadObjectRecords?: Maybe; canSoftDeleteObjectRecords?: Maybe; canUpdateObjectRecords?: Maybe; objectMetadataId: Scalars['UUID']; restrictedFields?: Maybe; }; export type ObjectPermissionInput = { canDestroyObjectRecords?: InputMaybe; canReadObjectRecords?: InputMaybe; canSoftDeleteObjectRecords?: InputMaybe; canUpdateObjectRecords?: InputMaybe; objectMetadataId: Scalars['UUID']; }; export type ObjectRecordFilterInput = { and?: InputMaybe>; createdAt?: InputMaybe; deletedAt?: InputMaybe; id?: InputMaybe; not?: InputMaybe; or?: InputMaybe>; updatedAt?: InputMaybe; }; export type ObjectStandardOverrides = { __typename?: 'ObjectStandardOverrides'; description?: Maybe; icon?: Maybe; labelPlural?: Maybe; labelSingular?: Maybe; translations?: Maybe; }; export type OnDbEventDto = { __typename?: 'OnDbEventDTO'; action: DatabaseEventAction; eventDate: Scalars['DateTime']; objectNameSingular: Scalars['String']; record: Scalars['JSON']; updatedFields?: Maybe>; }; export type OnDbEventInput = { action?: InputMaybe; objectNameSingular?: InputMaybe; recordId?: InputMaybe; }; /** Onboarding status */ export enum OnboardingStatus { BOOK_ONBOARDING = 'BOOK_ONBOARDING', COMPLETED = 'COMPLETED', INVITE_TEAM = 'INVITE_TEAM', PLAN_REQUIRED = 'PLAN_REQUIRED', PROFILE_CREATION = 'PROFILE_CREATION', SYNC_EMAIL = 'SYNC_EMAIL', WORKSPACE_ACTIVATION = 'WORKSPACE_ACTIVATION' } export type OnboardingStepSuccess = { __typename?: 'OnboardingStepSuccess'; /** Boolean that confirms query was dispatched */ success: Scalars['Boolean']; }; export type PageInfo = { __typename?: 'PageInfo'; /** The cursor of the last returned record. */ endCursor?: Maybe; /** true if paging forward and there are more records. */ hasNextPage?: Maybe; /** true if paging backwards and there are more records. */ hasPreviousPage?: Maybe; /** The cursor of the first returned record. */ startCursor?: Maybe; }; export type PageLayout = { __typename?: 'PageLayout'; createdAt: Scalars['DateTime']; deletedAt?: Maybe; id: Scalars['UUID']; name: Scalars['String']; objectMetadataId?: Maybe; tabs?: Maybe>; type: PageLayoutType; updatedAt: Scalars['DateTime']; }; export type PageLayoutTab = { __typename?: 'PageLayoutTab'; createdAt: Scalars['DateTime']; deletedAt?: Maybe; id: Scalars['UUID']; pageLayoutId: Scalars['UUID']; position: Scalars['Float']; title: Scalars['String']; updatedAt: Scalars['DateTime']; widgets?: Maybe>; }; export enum PageLayoutType { DASHBOARD = 'DASHBOARD', RECORD_INDEX = 'RECORD_INDEX', RECORD_PAGE = 'RECORD_PAGE' } export type PageLayoutWidget = { __typename?: 'PageLayoutWidget'; configuration?: Maybe; createdAt: Scalars['DateTime']; deletedAt?: Maybe; gridPosition: GridPosition; id: Scalars['UUID']; objectMetadataId?: Maybe; pageLayoutTabId: Scalars['UUID']; title: Scalars['String']; type: WidgetType; updatedAt: Scalars['DateTime']; }; export type PermissionFlag = { __typename?: 'PermissionFlag'; flag: PermissionFlagType; id: Scalars['UUID']; roleId: Scalars['UUID']; }; export enum PermissionFlagType { ADMIN_PANEL = 'ADMIN_PANEL', API_KEYS_AND_WEBHOOKS = 'API_KEYS_AND_WEBHOOKS', DATA_MODEL = 'DATA_MODEL', EXPORT_CSV = 'EXPORT_CSV', IMPERSONATE = 'IMPERSONATE', IMPORT_CSV = 'IMPORT_CSV', ROLES = 'ROLES', SECURITY = 'SECURITY', SEND_EMAIL_TOOL = 'SEND_EMAIL_TOOL', WORKFLOWS = 'WORKFLOWS', WORKSPACE = 'WORKSPACE', WORKSPACE_MEMBERS = 'WORKSPACE_MEMBERS' } export type PieChartConfiguration = { __typename?: 'PieChartConfiguration'; aggregateFieldMetadataId: Scalars['UUID']; aggregateOperation: ExtendedAggregateOperations; color?: Maybe; description?: Maybe; displayDataLabel: Scalars['Boolean']; filter?: Maybe; graphType: GraphType; groupByFieldMetadataId: Scalars['UUID']; groupBySubFieldName?: Maybe; orderBy: GraphOrderBy; }; export type PlaceDetailsResultDto = { __typename?: 'PlaceDetailsResultDto'; city?: Maybe; country?: Maybe; location?: Maybe; postcode?: Maybe; state?: Maybe; }; export type PostgresCredentials = { __typename?: 'PostgresCredentials'; id: Scalars['UUID']; password: Scalars['String']; user: Scalars['String']; workspaceId: Scalars['UUID']; }; export type PublicDomain = { __typename?: 'PublicDomain'; createdAt: Scalars['DateTime']; domain: Scalars['String']; id: Scalars['UUID']; isValidated: Scalars['Boolean']; }; export type PublicFeatureFlag = { __typename?: 'PublicFeatureFlag'; key: FeatureFlagKey; metadata: PublicFeatureFlagMetadata; }; export type PublicFeatureFlagMetadata = { __typename?: 'PublicFeatureFlagMetadata'; description: Scalars['String']; imagePath: Scalars['String']; label: Scalars['String']; }; export type PublicWorkspaceDataOutput = { __typename?: 'PublicWorkspaceDataOutput'; authProviders: AuthProviders; displayName?: Maybe; id: Scalars['UUID']; logo?: Maybe; workspaceUrls: WorkspaceUrls; }; export type PublishServerlessFunctionInput = { /** The id of the function. */ id: Scalars['ID']; }; export type Query = { __typename?: 'Query'; agentChatMessages: Array; agentChatThread: AgentChatThread; agentChatThreads: Array; apiKey?: Maybe; apiKeys: Array; billingPortalSession: BillingSessionOutput; checkUserExists: CheckUserExistOutput; checkWorkspaceInviteHashIsValid: WorkspaceInviteHashValid; currentUser: User; currentWorkspace: Workspace; field: Field; fields: FieldConnection; findAgentHandoffTargets: Array; findAgentHandoffs: Array; findDistantTablesWithStatus: Array; findManyAgents: Array; findManyCronTriggers: Array; findManyDatabaseEventTriggers: Array; findManyPublicDomains: Array; findManyRemoteServersByType: Array; findManyRouteTriggers: Array; findManyServerlessFunctions: Array; findOneAgent: Agent; findOneCronTrigger: CronTrigger; findOneDatabaseEventTrigger: DatabaseEventTrigger; findOneRemoteServerById: RemoteServer; findOneRouteTrigger: RouteTrigger; findOneServerlessFunction: ServerlessFunction; findWorkspaceFromInviteHash: Workspace; findWorkspaceInvitations: Array; getAddressDetails: PlaceDetailsResultDto; getApprovedAccessDomains: Array; getAutoCompleteAddress: Array; getAvailablePackages: Scalars['JSON']; getConfigVariablesGrouped: ConfigVariablesOutput; getConnectedImapSmtpCaldavAccount: ConnectedImapSmtpCaldavAccount; getCoreView?: Maybe; getCoreViewField?: Maybe; getCoreViewFields: Array; getCoreViewFilter?: Maybe; getCoreViewFilterGroup?: Maybe; getCoreViewFilterGroups: Array; getCoreViewFilters: Array; getCoreViewGroup?: Maybe; getCoreViewGroups: Array; getCoreViewSort?: Maybe; getCoreViewSorts: Array; getCoreViews: Array; getDatabaseConfigVariable: ConfigVariable; getEmailingDomains: Array; getIndicatorHealthStatus: AdminPanelHealthServiceData; getMeteredProductsUsage: Array; getPageLayout?: Maybe; getPageLayoutTab: PageLayoutTab; getPageLayoutTabs: Array; getPageLayoutWidget: PageLayoutWidget; getPageLayoutWidgets: Array; getPageLayouts: Array; getPostgresCredentials?: Maybe; getPublicWorkspaceDataByDomain: PublicWorkspaceDataOutput; getQueueMetrics: QueueMetricsData; getRoles: Array; getSSOIdentityProviders: Array; getServerlessFunctionSourceCode?: Maybe; getSystemHealthStatus: SystemHealth; getTimelineCalendarEventsFromCompanyId: TimelineCalendarEventsWithTotal; getTimelineCalendarEventsFromOpportunityId: TimelineCalendarEventsWithTotal; getTimelineCalendarEventsFromPersonId: TimelineCalendarEventsWithTotal; getTimelineThreadsFromCompanyId: TimelineThreadsWithTotal; getTimelineThreadsFromOpportunityId: TimelineThreadsWithTotal; getTimelineThreadsFromPersonId: TimelineThreadsWithTotal; index: Index; indexMetadatas: IndexConnection; listPlans: Array; object: Object; objects: ObjectConnection; search: SearchResultConnection; validatePasswordResetToken: ValidatePasswordResetToken; versionInfo: VersionInfo; webhook?: Maybe; webhooks: Array; }; export type QueryAgentChatMessagesArgs = { threadId: Scalars['UUID']; }; export type QueryAgentChatThreadArgs = { id: Scalars['UUID']; }; export type QueryAgentChatThreadsArgs = { agentId: Scalars['UUID']; }; export type QueryApiKeyArgs = { input: GetApiKeyDto; }; export type QueryBillingPortalSessionArgs = { returnUrlPath?: InputMaybe; }; export type QueryCheckUserExistsArgs = { captchaToken?: InputMaybe; email: Scalars['String']; }; export type QueryCheckWorkspaceInviteHashIsValidArgs = { inviteHash: Scalars['String']; }; export type QueryFieldArgs = { id: Scalars['UUID']; }; export type QueryFieldsArgs = { filter?: FieldFilter; paging?: CursorPaging; }; export type QueryFindAgentHandoffTargetsArgs = { input: AgentIdInput; }; export type QueryFindAgentHandoffsArgs = { input: AgentIdInput; }; export type QueryFindDistantTablesWithStatusArgs = { input: FindManyRemoteTablesInput; }; export type QueryFindManyRemoteServersByTypeArgs = { input: RemoteServerTypeInput; }; export type QueryFindOneAgentArgs = { input: AgentIdInput; }; export type QueryFindOneCronTriggerArgs = { input: CronTriggerIdInput; }; export type QueryFindOneDatabaseEventTriggerArgs = { input: DatabaseEventTriggerIdInput; }; export type QueryFindOneRemoteServerByIdArgs = { input: RemoteServerIdInput; }; export type QueryFindOneRouteTriggerArgs = { input: RouteTriggerIdInput; }; export type QueryFindOneServerlessFunctionArgs = { input: ServerlessFunctionIdInput; }; export type QueryFindWorkspaceFromInviteHashArgs = { inviteHash: Scalars['String']; }; export type QueryGetAddressDetailsArgs = { placeId: Scalars['String']; token: Scalars['String']; }; export type QueryGetAutoCompleteAddressArgs = { address: Scalars['String']; country?: InputMaybe; isFieldCity?: InputMaybe; token: Scalars['String']; }; export type QueryGetAvailablePackagesArgs = { input: ServerlessFunctionIdInput; }; export type QueryGetConnectedImapSmtpCaldavAccountArgs = { id: Scalars['UUID']; }; export type QueryGetCoreViewArgs = { id: Scalars['String']; }; export type QueryGetCoreViewFieldArgs = { id: Scalars['String']; }; export type QueryGetCoreViewFieldsArgs = { viewId: Scalars['String']; }; export type QueryGetCoreViewFilterArgs = { id: Scalars['String']; }; export type QueryGetCoreViewFilterGroupArgs = { id: Scalars['String']; }; export type QueryGetCoreViewFilterGroupsArgs = { viewId?: InputMaybe; }; export type QueryGetCoreViewFiltersArgs = { viewId?: InputMaybe; }; export type QueryGetCoreViewGroupArgs = { id: Scalars['String']; }; export type QueryGetCoreViewGroupsArgs = { viewId?: InputMaybe; }; export type QueryGetCoreViewSortArgs = { id: Scalars['String']; }; export type QueryGetCoreViewSortsArgs = { viewId?: InputMaybe; }; export type QueryGetCoreViewsArgs = { objectMetadataId?: InputMaybe; }; export type QueryGetDatabaseConfigVariableArgs = { key: Scalars['String']; }; export type QueryGetIndicatorHealthStatusArgs = { indicatorId: HealthIndicatorId; }; export type QueryGetPageLayoutArgs = { id: Scalars['String']; }; export type QueryGetPageLayoutTabArgs = { id: Scalars['String']; }; export type QueryGetPageLayoutTabsArgs = { pageLayoutId: Scalars['String']; }; export type QueryGetPageLayoutWidgetArgs = { id: Scalars['String']; }; export type QueryGetPageLayoutWidgetsArgs = { pageLayoutTabId: Scalars['String']; }; export type QueryGetPageLayoutsArgs = { objectMetadataId?: InputMaybe; }; export type QueryGetPublicWorkspaceDataByDomainArgs = { origin?: InputMaybe; }; export type QueryGetQueueMetricsArgs = { queueName: Scalars['String']; timeRange?: InputMaybe; }; export type QueryGetServerlessFunctionSourceCodeArgs = { input: GetServerlessFunctionSourceCodeInput; }; export type QueryGetTimelineCalendarEventsFromCompanyIdArgs = { companyId: Scalars['UUID']; page: Scalars['Int']; pageSize: Scalars['Int']; }; export type QueryGetTimelineCalendarEventsFromOpportunityIdArgs = { opportunityId: Scalars['UUID']; page: Scalars['Int']; pageSize: Scalars['Int']; }; export type QueryGetTimelineCalendarEventsFromPersonIdArgs = { page: Scalars['Int']; pageSize: Scalars['Int']; personId: Scalars['UUID']; }; export type QueryGetTimelineThreadsFromCompanyIdArgs = { companyId: Scalars['UUID']; page: Scalars['Int']; pageSize: Scalars['Int']; }; export type QueryGetTimelineThreadsFromOpportunityIdArgs = { opportunityId: Scalars['UUID']; page: Scalars['Int']; pageSize: Scalars['Int']; }; export type QueryGetTimelineThreadsFromPersonIdArgs = { page: Scalars['Int']; pageSize: Scalars['Int']; personId: Scalars['UUID']; }; export type QueryIndexArgs = { id: Scalars['UUID']; }; export type QueryIndexMetadatasArgs = { filter?: IndexFilter; paging?: CursorPaging; }; export type QueryObjectArgs = { id: Scalars['UUID']; }; export type QueryObjectsArgs = { filter?: ObjectFilter; paging?: CursorPaging; }; export type QuerySearchArgs = { after?: InputMaybe; excludedObjectNameSingulars?: InputMaybe>; filter?: InputMaybe; includedObjectNameSingulars?: InputMaybe>; limit: Scalars['Int']; searchInput: Scalars['String']; }; export type QueryValidatePasswordResetTokenArgs = { passwordResetToken: Scalars['String']; }; export type QueryWebhookArgs = { input: GetWebhookDto; }; export type QueueMetricsData = { __typename?: 'QueueMetricsData'; data: Array; details?: Maybe; queueName: Scalars['String']; timeRange: QueueMetricsTimeRange; workers: Scalars['Float']; }; export type QueueMetricsDataPoint = { __typename?: 'QueueMetricsDataPoint'; x: Scalars['Float']; y: Scalars['Float']; }; export type QueueMetricsSeries = { __typename?: 'QueueMetricsSeries'; data: Array; id: Scalars['String']; }; export enum QueueMetricsTimeRange { FourHours = 'FourHours', OneDay = 'OneDay', OneHour = 'OneHour', SevenDays = 'SevenDays', TwelveHours = 'TwelveHours' } export type Relation = { __typename?: 'Relation'; sourceFieldMetadata: Field; sourceObjectMetadata: Object; targetFieldMetadata: Field; targetObjectMetadata: Object; type: RelationType; }; /** Relation type */ export enum RelationType { MANY_TO_ONE = 'MANY_TO_ONE', ONE_TO_MANY = 'ONE_TO_MANY' } export type RemoteServer = { __typename?: 'RemoteServer'; createdAt: Scalars['DateTime']; foreignDataWrapperId: Scalars['UUID']; foreignDataWrapperOptions?: Maybe; foreignDataWrapperType: Scalars['String']; id: Scalars['UUID']; label: Scalars['String']; schema?: Maybe; updatedAt: Scalars['DateTime']; userMappingOptions?: Maybe; }; export type RemoteServerIdInput = { /** The id of the record. */ id: Scalars['ID']; }; export type RemoteServerTypeInput = { foreignDataWrapperType: Scalars['String']; }; export type RemoteTable = { __typename?: 'RemoteTable'; id?: Maybe; name: Scalars['String']; schema?: Maybe; schemaPendingUpdates?: Maybe>; status: RemoteTableStatus; }; export type RemoteTableInput = { name: Scalars['String']; remoteServerId: Scalars['UUID']; }; /** Status of the table */ export enum RemoteTableStatus { NOT_SYNCED = 'NOT_SYNCED', SYNCED = 'SYNCED' } export type RemoveAgentHandoffInput = { fromAgentId: Scalars['UUID']; toAgentId: Scalars['UUID']; }; export type ResendEmailVerificationTokenOutput = { __typename?: 'ResendEmailVerificationTokenOutput'; success: Scalars['Boolean']; }; export type RevokeApiKeyDto = { id: Scalars['UUID']; }; export type Role = { __typename?: 'Role'; agents: Array; apiKeys: Array; canAccessAllTools: Scalars['Boolean']; canBeAssignedToAgents: Scalars['Boolean']; canBeAssignedToApiKeys: Scalars['Boolean']; canBeAssignedToUsers: Scalars['Boolean']; canDestroyAllObjectRecords: Scalars['Boolean']; canReadAllObjectRecords: Scalars['Boolean']; canSoftDeleteAllObjectRecords: Scalars['Boolean']; canUpdateAllObjectRecords: Scalars['Boolean']; canUpdateAllSettings: Scalars['Boolean']; description?: Maybe; fieldPermissions?: Maybe>; icon?: Maybe; id: Scalars['UUID']; isEditable: Scalars['Boolean']; label: Scalars['String']; objectPermissions?: Maybe>; permissionFlags?: Maybe>; standardId?: Maybe; workspaceMembers: Array; }; export type RouteTrigger = { __typename?: 'RouteTrigger'; createdAt: Scalars['DateTime']; httpMethod: HttpMethod; id: Scalars['ID']; isAuthRequired: Scalars['Boolean']; path: Scalars['String']; serverlessFunctionId: Scalars['String']; updatedAt: Scalars['DateTime']; workspaceId: Scalars['String']; }; export type RouteTriggerIdInput = { id: Scalars['String']; }; export type RunWorkflowVersionInput = { /** Execution result in JSON format */ payload?: InputMaybe; /** Workflow run ID */ workflowRunId?: InputMaybe; /** Workflow version ID */ workflowVersionId: Scalars['UUID']; }; export type SsoConnection = { __typename?: 'SSOConnection'; id: Scalars['UUID']; issuer: Scalars['String']; name: Scalars['String']; status: SsoIdentityProviderStatus; type: IdentityProviderType; }; export type SsoIdentityProvider = { __typename?: 'SSOIdentityProvider'; id: Scalars['UUID']; issuer: Scalars['String']; name: Scalars['String']; status: SsoIdentityProviderStatus; type: IdentityProviderType; }; export enum SsoIdentityProviderStatus { Active = 'Active', Error = 'Error', Inactive = 'Inactive' } export type SearchRecord = { __typename?: 'SearchRecord'; imageUrl?: Maybe; label: Scalars['String']; objectNameSingular: Scalars['String']; recordId: Scalars['UUID']; tsRank: Scalars['Float']; tsRankCD: Scalars['Float']; }; export type SearchResultConnection = { __typename?: 'SearchResultConnection'; edges: Array; pageInfo: SearchResultPageInfo; }; export type SearchResultEdge = { __typename?: 'SearchResultEdge'; cursor: Scalars['String']; node: SearchRecord; }; export type SearchResultPageInfo = { __typename?: 'SearchResultPageInfo'; endCursor?: Maybe; hasNextPage: Scalars['Boolean']; }; export type SendInvitationsOutput = { __typename?: 'SendInvitationsOutput'; errors: Array; result: Array; /** Boolean that confirms query was dispatched */ success: Scalars['Boolean']; }; export type Sentry = { __typename?: 'Sentry'; dsn?: Maybe; environment?: Maybe; release?: Maybe; }; export type ServerlessFunction = { __typename?: 'ServerlessFunction'; createdAt: Scalars['DateTime']; description?: Maybe; id: Scalars['UUID']; latestVersion?: Maybe; latestVersionInputSchema?: Maybe; name: Scalars['String']; publishedVersions: Array; runtime: Scalars['String']; timeoutSeconds: Scalars['Float']; updatedAt: Scalars['DateTime']; }; export type ServerlessFunctionExecutionResult = { __typename?: 'ServerlessFunctionExecutionResult'; /** Execution result in JSON format */ data?: Maybe; /** Execution duration in milliseconds */ duration: Scalars['Float']; /** Execution error in JSON format */ error?: Maybe; /** Execution Logs */ logs: Scalars['String']; /** Execution status */ status: ServerlessFunctionExecutionStatus; }; /** Status of the serverless function execution */ export enum ServerlessFunctionExecutionStatus { ERROR = 'ERROR', IDLE = 'IDLE', SUCCESS = 'SUCCESS' } export type ServerlessFunctionIdInput = { /** The id of the function. */ id: Scalars['ID']; }; export type ServerlessFunctionLayer = { __typename?: 'ServerlessFunctionLayer'; applicationId?: Maybe; createdAt: Scalars['DateTime']; id: Scalars['UUID']; updatedAt: Scalars['DateTime']; }; export type SetupOidcSsoInput = { clientID: Scalars['String']; clientSecret: Scalars['String']; issuer: Scalars['String']; name: Scalars['String']; }; export type SetupSamlSsoInput = { certificate: Scalars['String']; fingerprint?: InputMaybe; id: Scalars['UUID']; issuer: Scalars['String']; name: Scalars['String']; ssoURL: Scalars['String']; }; export type SetupSsoOutput = { __typename?: 'SetupSsoOutput'; id: Scalars['UUID']; issuer: Scalars['String']; name: Scalars['String']; status: SsoIdentityProviderStatus; type: IdentityProviderType; }; export type SignUpOutput = { __typename?: 'SignUpOutput'; loginToken: AuthToken; workspace: WorkspaceUrlsAndId; }; export type SignedFileDto = { __typename?: 'SignedFileDTO'; path: Scalars['String']; token: Scalars['String']; }; export type StandardOverrides = { __typename?: 'StandardOverrides'; description?: Maybe; icon?: Maybe; label?: Maybe; translations?: Maybe; }; export type SubmitFormStepInput = { /** Form response in JSON format */ response: Scalars['JSON']; /** Workflow step ID */ stepId: Scalars['UUID']; /** Workflow run ID */ workflowRunId: Scalars['UUID']; }; export type Subscription = { __typename?: 'Subscription'; onDbEvent: OnDbEventDto; }; export type SubscriptionOnDbEventArgs = { input: OnDbEventInput; }; export enum SubscriptionInterval { Month = 'Month', Year = 'Year' } export enum SubscriptionStatus { Active = 'Active', Canceled = 'Canceled', Incomplete = 'Incomplete', IncompleteExpired = 'IncompleteExpired', PastDue = 'PastDue', Paused = 'Paused', Trialing = 'Trialing', Unpaid = 'Unpaid' } export type Support = { __typename?: 'Support'; supportDriver: SupportDriver; supportFrontChatId?: Maybe; }; export enum SupportDriver { FRONT = 'FRONT', NONE = 'NONE' } export type SystemHealth = { __typename?: 'SystemHealth'; services: Array; }; export type SystemHealthService = { __typename?: 'SystemHealthService'; id: HealthIndicatorId; label: Scalars['String']; status: AdminPanelHealthServiceStatus; }; export type TimelineCalendarEvent = { __typename?: 'TimelineCalendarEvent'; conferenceLink: LinksMetadata; conferenceSolution: Scalars['String']; description: Scalars['String']; endsAt: Scalars['DateTime']; id: Scalars['UUID']; isCanceled: Scalars['Boolean']; isFullDay: Scalars['Boolean']; location: Scalars['String']; participants: Array; startsAt: Scalars['DateTime']; title: Scalars['String']; visibility: CalendarChannelVisibility; }; export type TimelineCalendarEventParticipant = { __typename?: 'TimelineCalendarEventParticipant'; avatarUrl: Scalars['String']; displayName: Scalars['String']; firstName: Scalars['String']; handle: Scalars['String']; lastName: Scalars['String']; personId?: Maybe; workspaceMemberId?: Maybe; }; export type TimelineCalendarEventsWithTotal = { __typename?: 'TimelineCalendarEventsWithTotal'; timelineCalendarEvents: Array; totalNumberOfCalendarEvents: Scalars['Int']; }; export type TimelineThread = { __typename?: 'TimelineThread'; firstParticipant: TimelineThreadParticipant; id: Scalars['UUID']; lastMessageBody: Scalars['String']; lastMessageReceivedAt: Scalars['DateTime']; lastTwoParticipants: Array; numberOfMessagesInThread: Scalars['Float']; participantCount: Scalars['Float']; read: Scalars['Boolean']; subject: Scalars['String']; visibility: MessageChannelVisibility; }; export type TimelineThreadParticipant = { __typename?: 'TimelineThreadParticipant'; avatarUrl: Scalars['String']; displayName: Scalars['String']; firstName: Scalars['String']; handle: Scalars['String']; lastName: Scalars['String']; personId?: Maybe; workspaceMemberId?: Maybe; }; export type TimelineThreadsWithTotal = { __typename?: 'TimelineThreadsWithTotal'; timelineThreads: Array; totalNumberOfThreads: Scalars['Int']; }; export type TransientToken = { __typename?: 'TransientToken'; transientToken: AuthToken; }; export type TwoFactorAuthenticationMethodDto = { __typename?: 'TwoFactorAuthenticationMethodDTO'; status: Scalars['String']; strategy: Scalars['String']; twoFactorAuthenticationMethodId: Scalars['UUID']; }; export type UuidFilter = { eq?: InputMaybe; gt?: InputMaybe; gte?: InputMaybe; in?: InputMaybe>; is?: InputMaybe; lt?: InputMaybe; lte?: InputMaybe; neq?: InputMaybe; }; export type UuidFilterComparison = { eq?: InputMaybe; gt?: InputMaybe; gte?: InputMaybe; iLike?: InputMaybe; in?: InputMaybe>; is?: InputMaybe; isNot?: InputMaybe; like?: InputMaybe; lt?: InputMaybe; lte?: InputMaybe; neq?: InputMaybe; notILike?: InputMaybe; notIn?: InputMaybe>; notLike?: InputMaybe; }; export type UpdateAgentInput = { description?: InputMaybe; icon?: InputMaybe; id: Scalars['UUID']; label: Scalars['String']; modelConfiguration?: InputMaybe; modelId: Scalars['String']; name: Scalars['String']; prompt: Scalars['String']; responseFormat?: InputMaybe; roleId?: InputMaybe; }; export type UpdateApiKeyDto = { expiresAt?: InputMaybe; id: Scalars['UUID']; name?: InputMaybe; revokedAt?: InputMaybe; }; export type UpdateCronTriggerInput = { /** The id of the cron trigger to update */ id: Scalars['String']; /** The cron trigger updates */ update: UpdateCronTriggerInputUpdates; }; export type UpdateCronTriggerInputUpdates = { settings: Scalars['JSON']; }; export type UpdateDatabaseEventTriggerInput = { /** The id of the database event trigger to update */ id: Scalars['String']; /** The database event trigger updates */ update: UpdateDatabaseEventTriggerInputUpdates; }; export type UpdateDatabaseEventTriggerInputUpdates = { settings: Scalars['JSON']; }; export type UpdateFieldInput = { defaultValue?: InputMaybe; description?: InputMaybe; icon?: InputMaybe; isActive?: InputMaybe; isLabelSyncedWithName?: InputMaybe; isNullable?: InputMaybe; isSystem?: InputMaybe; isUIReadOnly?: InputMaybe; isUnique?: InputMaybe; label?: InputMaybe; name?: InputMaybe; options?: InputMaybe; settings?: InputMaybe; }; export type UpdateLabPublicFeatureFlagInput = { publicFeatureFlag: Scalars['String']; value: Scalars['Boolean']; }; export type UpdateObjectPayload = { description?: InputMaybe; icon?: InputMaybe; imageIdentifierFieldMetadataId?: InputMaybe; isActive?: InputMaybe; isLabelSyncedWithName?: InputMaybe; labelIdentifierFieldMetadataId?: InputMaybe; labelPlural?: InputMaybe; labelSingular?: InputMaybe; namePlural?: InputMaybe; nameSingular?: InputMaybe; shortcut?: InputMaybe; }; export type UpdateOneFieldMetadataInput = { /** The id of the record to update */ id: Scalars['UUID']; /** The record to update */ update: UpdateFieldInput; }; export type UpdateOneObjectInput = { /** The id of the object to update */ id: Scalars['UUID']; update: UpdateObjectPayload; }; export type UpdatePageLayoutInput = { name?: InputMaybe; objectMetadataId?: InputMaybe; type?: InputMaybe; }; export type UpdatePageLayoutTabInput = { position?: InputMaybe; title?: InputMaybe; }; export type UpdatePageLayoutTabWithWidgetsInput = { id: Scalars['UUID']; position: Scalars['Float']; title: Scalars['String']; widgets: Array; }; export type UpdatePageLayoutWidgetInput = { configuration?: InputMaybe; gridPosition?: InputMaybe; objectMetadataId?: InputMaybe; title?: InputMaybe; type?: InputMaybe; }; export type UpdatePageLayoutWidgetWithIdInput = { configuration?: InputMaybe; gridPosition: GridPositionInput; id: Scalars['UUID']; objectMetadataId?: InputMaybe; pageLayoutTabId: Scalars['UUID']; title: Scalars['String']; type: WidgetType; }; export type UpdatePageLayoutWithTabsInput = { name: Scalars['String']; objectMetadataId?: InputMaybe; tabs: Array; type: PageLayoutType; }; export type UpdateRemoteServerInput = { foreignDataWrapperOptions?: InputMaybe; id: Scalars['UUID']; label?: InputMaybe; schema?: InputMaybe; userMappingOptions?: InputMaybe; }; export type UpdateRoleInput = { /** The id of the role to update */ id: Scalars['UUID']; update: UpdateRolePayload; }; export type UpdateRolePayload = { canAccessAllTools?: InputMaybe; canBeAssignedToAgents?: InputMaybe; canBeAssignedToApiKeys?: InputMaybe; canBeAssignedToUsers?: InputMaybe; canDestroyAllObjectRecords?: InputMaybe; canReadAllObjectRecords?: InputMaybe; canSoftDeleteAllObjectRecords?: InputMaybe; canUpdateAllObjectRecords?: InputMaybe; canUpdateAllSettings?: InputMaybe; description?: InputMaybe; icon?: InputMaybe; label?: InputMaybe; }; export type UpdateRouteTriggerInput = { /** The id of the route to update */ id: Scalars['String']; /** The route updates */ update: UpdateRouteTriggerInputUpdates; }; export type UpdateRouteTriggerInputUpdates = { httpMethod: HttpMethod; isAuthRequired: Scalars['Boolean']; path: Scalars['String']; }; export type UpdateServerlessFunctionInput = { /** Id of the serverless function to update */ id: Scalars['UUID']; /** The serverless function updates */ update: UpdateServerlessFunctionInputUpdates; }; export type UpdateServerlessFunctionInputUpdates = { code: Scalars['JSON']; description?: InputMaybe; name: Scalars['String']; timeoutSeconds?: InputMaybe; }; export type UpdateViewFieldInput = { /** The id of the view field to update */ id: Scalars['UUID']; /** The view field to update */ update: UpdateViewFieldInputUpdates; }; export type UpdateViewFieldInputUpdates = { aggregateOperation?: InputMaybe; isVisible?: InputMaybe; position?: InputMaybe; size?: InputMaybe; }; export type UpdateViewFilterGroupInput = { id?: InputMaybe; logicalOperator?: InputMaybe; parentViewFilterGroupId?: InputMaybe; positionInViewFilterGroup?: InputMaybe; viewId?: InputMaybe; }; export type UpdateViewFilterInput = { fieldMetadataId?: InputMaybe; id?: InputMaybe; operand?: InputMaybe; positionInViewFilterGroup?: InputMaybe; subFieldName?: InputMaybe; value?: InputMaybe; viewFilterGroupId?: InputMaybe; viewId?: InputMaybe; }; export type UpdateViewGroupInput = { fieldMetadataId?: InputMaybe; fieldValue?: InputMaybe; id?: InputMaybe; isVisible?: InputMaybe; position?: InputMaybe; viewId?: InputMaybe; }; export type UpdateViewInput = { anyFieldFilterValue?: InputMaybe; calendarFieldMetadataId?: InputMaybe; calendarLayout?: InputMaybe; icon?: InputMaybe; id?: InputMaybe; isCompact?: InputMaybe; kanbanAggregateOperation?: InputMaybe; kanbanAggregateOperationFieldMetadataId?: InputMaybe; name?: InputMaybe; openRecordIn?: InputMaybe; position?: InputMaybe; type?: InputMaybe; }; export type UpdateViewSortInput = { direction?: InputMaybe; fieldMetadataId?: InputMaybe; id?: InputMaybe; viewId?: InputMaybe; }; export type UpdateWebhookDto = { description?: InputMaybe; id: Scalars['UUID']; operations?: InputMaybe>; secret?: InputMaybe; targetUrl?: InputMaybe; }; export type UpdateWorkflowRunStepInput = { /** Step to update in JSON format */ step: Scalars['JSON']; /** Workflow run ID */ workflowRunId: Scalars['UUID']; }; export type UpdateWorkflowVersionPositionsInput = { /** Workflow version updated positions */ positions: Array; /** Workflow version ID */ workflowVersionId: Scalars['UUID']; }; export type UpdateWorkflowVersionStepInput = { /** Step to update in JSON format */ step: Scalars['JSON']; /** Workflow version ID */ workflowVersionId: Scalars['UUID']; }; export type UpdateWorkspaceInput = { allowImpersonation?: InputMaybe; customDomain?: InputMaybe; defaultRoleId?: InputMaybe; displayName?: InputMaybe; inviteHash?: InputMaybe; isGoogleAuthEnabled?: InputMaybe; isMicrosoftAuthEnabled?: InputMaybe; isPasswordAuthEnabled?: InputMaybe; isPublicInviteLinkEnabled?: InputMaybe; isTwoFactorAuthenticationEnforced?: InputMaybe; logo?: InputMaybe; subdomain?: InputMaybe; }; export type UpsertFieldPermissionsInput = { fieldPermissions: Array; roleId: Scalars['UUID']; }; export type UpsertObjectPermissionsInput = { objectPermissions: Array; roleId: Scalars['UUID']; }; export type UpsertPermissionFlagsInput = { permissionFlagKeys: Array; roleId: Scalars['UUID']; }; export type User = { __typename?: 'User'; availableWorkspaces: AvailableWorkspaces; canAccessFullAdminPanel: Scalars['Boolean']; canImpersonate: Scalars['Boolean']; createdAt: Scalars['DateTime']; currentUserWorkspace?: Maybe; currentWorkspace?: Maybe; defaultAvatarUrl?: Maybe; deletedAt?: Maybe; deletedWorkspaceMembers?: Maybe>; disabled?: Maybe; email: Scalars['String']; firstName: Scalars['String']; id: Scalars['UUID']; isEmailVerified: Scalars['Boolean']; lastName: Scalars['String']; locale: Scalars['String']; onboardingStatus?: Maybe; passwordHash?: Maybe; supportUserHash?: Maybe; updatedAt: Scalars['DateTime']; userVars?: Maybe; userWorkspaces: Array; workspaceMember?: Maybe; workspaceMembers?: Maybe>; workspaces: Array; }; export type UserEdge = { __typename?: 'UserEdge'; /** Cursor for this node. */ cursor: Scalars['ConnectionCursor']; /** The node containing the User */ node: User; }; export type UserInfo = { __typename?: 'UserInfo'; email: Scalars['String']; firstName?: Maybe; id: Scalars['UUID']; lastName?: Maybe; }; export type UserLookup = { __typename?: 'UserLookup'; user: UserInfo; workspaces: Array; }; export type UserMappingOptions = { password?: InputMaybe; user?: InputMaybe; }; export type UserMappingOptionsUpdateInput = { password?: InputMaybe; user?: InputMaybe; }; export type UserMappingOptionsUser = { __typename?: 'UserMappingOptionsUser'; user?: Maybe; }; export type UserWorkspace = { __typename?: 'UserWorkspace'; createdAt: Scalars['DateTime']; deletedAt?: Maybe; id: Scalars['UUID']; locale: Scalars['String']; objectPermissions?: Maybe>; objectsPermissions?: Maybe>; permissionFlags?: Maybe>; twoFactorAuthenticationMethodSummary?: Maybe>; updatedAt: Scalars['DateTime']; user: User; userId: Scalars['UUID']; workspace?: Maybe; workspaceId: Scalars['UUID']; }; export type ValidateApprovedAccessDomainInput = { approvedAccessDomainId: Scalars['UUID']; validationToken: Scalars['String']; }; export type ValidatePasswordResetToken = { __typename?: 'ValidatePasswordResetToken'; email: Scalars['String']; id: Scalars['UUID']; }; export type VerificationRecord = { __typename?: 'VerificationRecord'; key: Scalars['String']; priority?: Maybe; type: Scalars['String']; value: Scalars['String']; }; export type VerifyTwoFactorAuthenticationMethodOutput = { __typename?: 'VerifyTwoFactorAuthenticationMethodOutput'; success: Scalars['Boolean']; }; export type VersionInfo = { __typename?: 'VersionInfo'; currentVersion?: Maybe; latestVersion: Scalars['String']; }; export enum ViewCalendarLayout { DAY = 'DAY', MONTH = 'MONTH', WEEK = 'WEEK' } export enum ViewFilterGroupLogicalOperator { AND = 'AND', NOT = 'NOT', OR = 'OR' } export enum ViewFilterOperand { CONTAINS = 'CONTAINS', DOES_NOT_CONTAIN = 'DOES_NOT_CONTAIN', GREATER_THAN_OR_EQUAL = 'GREATER_THAN_OR_EQUAL', IS = 'IS', IS_AFTER = 'IS_AFTER', IS_BEFORE = 'IS_BEFORE', IS_EMPTY = 'IS_EMPTY', IS_IN_FUTURE = 'IS_IN_FUTURE', IS_IN_PAST = 'IS_IN_PAST', IS_NOT = 'IS_NOT', IS_NOT_EMPTY = 'IS_NOT_EMPTY', IS_NOT_NULL = 'IS_NOT_NULL', IS_RELATIVE = 'IS_RELATIVE', IS_TODAY = 'IS_TODAY', LESS_THAN_OR_EQUAL = 'LESS_THAN_OR_EQUAL', VECTOR_SEARCH = 'VECTOR_SEARCH' } export enum ViewKey { INDEX = 'INDEX' } export enum ViewOpenRecordIn { RECORD_PAGE = 'RECORD_PAGE', SIDE_PANEL = 'SIDE_PANEL' } export enum ViewSortDirection { ASC = 'ASC', DESC = 'DESC' } export enum ViewType { CALENDAR = 'CALENDAR', KANBAN = 'KANBAN', TABLE = 'TABLE' } export type Webhook = { __typename?: 'Webhook'; createdAt: Scalars['DateTime']; deletedAt?: Maybe; description?: Maybe; id: Scalars['UUID']; operations: Array; secret: Scalars['String']; targetUrl: Scalars['String']; updatedAt: Scalars['DateTime']; workspace: Workspace; workspaceId: Scalars['UUID']; }; export type WidgetConfiguration = BarChartConfiguration | GaugeChartConfiguration | IframeConfiguration | LineChartConfiguration | NumberChartConfiguration | PieChartConfiguration; export enum WidgetType { FIELDS = 'FIELDS', GRAPH = 'GRAPH', IFRAME = 'IFRAME', VIEW = 'VIEW' } export type WorkerQueueMetrics = { __typename?: 'WorkerQueueMetrics'; active: Scalars['Float']; completed: Scalars['Float']; completedData?: Maybe>; delayed: Scalars['Float']; failed: Scalars['Float']; failedData?: Maybe>; failureRate: Scalars['Float']; waiting: Scalars['Float']; }; export type WorkflowAction = { __typename?: 'WorkflowAction'; id: Scalars['UUID']; name: Scalars['String']; nextStepIds?: Maybe>; position?: Maybe; settings: Scalars['JSON']; type: Scalars['String']; valid: Scalars['Boolean']; }; export type WorkflowRun = { __typename?: 'WorkflowRun'; workflowRunId: Scalars['UUID']; }; export type WorkflowStepPosition = { __typename?: 'WorkflowStepPosition'; x: Scalars['Float']; y: Scalars['Float']; }; export type WorkflowStepPositionInput = { x: Scalars['Float']; y: Scalars['Float']; }; export type WorkflowStepPositionUpdateInput = { /** Step or trigger ID */ id: Scalars['String']; /** Position of the step or trigger */ position: WorkflowStepPositionInput; }; export type WorkflowVersion = { __typename?: 'WorkflowVersion'; id: Scalars['UUID']; }; export type WorkflowVersionStepChanges = { __typename?: 'WorkflowVersionStepChanges'; stepsDiff?: Maybe; triggerDiff?: Maybe; }; export type Workspace = { __typename?: 'Workspace'; activationStatus: WorkspaceActivationStatus; allowImpersonation: Scalars['Boolean']; billingSubscriptions: Array; createdAt: Scalars['DateTime']; currentBillingSubscription?: Maybe; customDomain?: Maybe; databaseSchema: Scalars['String']; databaseUrl: Scalars['String']; defaultAgent?: Maybe; defaultRole?: Maybe; deletedAt?: Maybe; displayName?: Maybe; featureFlags?: Maybe>; hasValidEnterpriseKey: Scalars['Boolean']; id: Scalars['UUID']; inviteHash?: Maybe; isCustomDomainEnabled: Scalars['Boolean']; isGoogleAuthEnabled: Scalars['Boolean']; isMicrosoftAuthEnabled: Scalars['Boolean']; isPasswordAuthEnabled: Scalars['Boolean']; isPublicInviteLinkEnabled: Scalars['Boolean']; isTwoFactorAuthenticationEnforced: Scalars['Boolean']; logo?: Maybe; metadataVersion: Scalars['Float']; subdomain: Scalars['String']; updatedAt: Scalars['DateTime']; version?: Maybe; viewFields?: Maybe>; viewFilterGroups?: Maybe>; viewFilters?: Maybe>; viewGroups?: Maybe>; viewSorts?: Maybe>; views?: Maybe>; workspaceMembersCount?: Maybe; workspaceUrls: WorkspaceUrls; }; export enum WorkspaceActivationStatus { ACTIVE = 'ACTIVE', INACTIVE = 'INACTIVE', ONGOING_CREATION = 'ONGOING_CREATION', PENDING_CREATION = 'PENDING_CREATION', SUSPENDED = 'SUSPENDED' } export type WorkspaceEdge = { __typename?: 'WorkspaceEdge'; /** Cursor for this node. */ cursor: Scalars['ConnectionCursor']; /** The node containing the Workspace */ node: Workspace; }; export type WorkspaceInfo = { __typename?: 'WorkspaceInfo'; allowImpersonation: Scalars['Boolean']; featureFlags: Array; id: Scalars['UUID']; logo?: Maybe; name: Scalars['String']; totalUsers: Scalars['Float']; users: Array; workspaceUrls: WorkspaceUrls; }; export type WorkspaceInvitation = { __typename?: 'WorkspaceInvitation'; email: Scalars['String']; expiresAt: Scalars['DateTime']; id: Scalars['UUID']; }; export type WorkspaceInviteHashValid = { __typename?: 'WorkspaceInviteHashValid'; isValid: Scalars['Boolean']; }; export type WorkspaceMember = { __typename?: 'WorkspaceMember'; avatarUrl?: Maybe; calendarStartDay?: Maybe; colorScheme: Scalars['String']; dateFormat?: Maybe; id: Scalars['UUID']; locale?: Maybe; name: FullName; numberFormat?: Maybe; roles?: Maybe>; timeFormat?: Maybe; timeZone?: Maybe; userEmail: Scalars['String']; userWorkspaceId?: Maybe; }; /** Date format as Month first, Day first, Year first or system as default */ export enum WorkspaceMemberDateFormatEnum { DAY_FIRST = 'DAY_FIRST', MONTH_FIRST = 'MONTH_FIRST', SYSTEM = 'SYSTEM', YEAR_FIRST = 'YEAR_FIRST' } /** Number format for displaying numbers */ export enum WorkspaceMemberNumberFormatEnum { APOSTROPHE_AND_DOT = 'APOSTROPHE_AND_DOT', COMMAS_AND_DOT = 'COMMAS_AND_DOT', DOTS_AND_COMMA = 'DOTS_AND_COMMA', SPACES_AND_COMMA = 'SPACES_AND_COMMA', SYSTEM = 'SYSTEM' } /** Time time as Military, Standard or system as default */ export enum WorkspaceMemberTimeFormatEnum { HOUR_12 = 'HOUR_12', HOUR_24 = 'HOUR_24', SYSTEM = 'SYSTEM' } export type WorkspaceNameAndId = { __typename?: 'WorkspaceNameAndId'; displayName?: Maybe; id: Scalars['UUID']; }; export type WorkspaceUrls = { __typename?: 'WorkspaceUrls'; customUrl?: Maybe; subdomainUrl: Scalars['String']; }; export type WorkspaceUrlsAndId = { __typename?: 'WorkspaceUrlsAndId'; id: Scalars['UUID']; workspaceUrls: WorkspaceUrls; }; export type AgentFieldsFragment = { __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: string | null, isCustom: boolean, modelConfiguration?: any | null, createdAt: string, updatedAt: string }; export type AssignRoleToAgentMutationVariables = Exact<{ agentId: Scalars['UUID']; roleId: Scalars['UUID']; }>; export type AssignRoleToAgentMutation = { __typename?: 'Mutation', assignRoleToAgent: boolean }; export type CreateAgentChatThreadMutationVariables = Exact<{ input: CreateAgentChatThreadInput; }>; export type CreateAgentChatThreadMutation = { __typename?: 'Mutation', createAgentChatThread: { __typename?: 'AgentChatThread', id: string, agentId: string, title?: string | null, createdAt: string, updatedAt: string } }; export type CreateAgentHandoffMutationVariables = Exact<{ input: CreateAgentHandoffInput; }>; export type CreateAgentHandoffMutation = { __typename?: 'Mutation', createAgentHandoff: boolean }; export type CreateOneAgentMutationVariables = Exact<{ input: CreateAgentInput; }>; export type CreateOneAgentMutation = { __typename?: 'Mutation', createOneAgent: { __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: string | null, isCustom: boolean, modelConfiguration?: any | null, createdAt: string, updatedAt: string } }; export type DeleteOneAgentMutationVariables = Exact<{ input: AgentIdInput; }>; export type DeleteOneAgentMutation = { __typename?: 'Mutation', deleteOneAgent: { __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: string | null, isCustom: boolean, modelConfiguration?: any | null, createdAt: string, updatedAt: string } }; export type RemoveAgentHandoffMutationVariables = Exact<{ input: RemoveAgentHandoffInput; }>; export type RemoveAgentHandoffMutation = { __typename?: 'Mutation', removeAgentHandoff: boolean }; export type RemoveRoleFromAgentMutationVariables = Exact<{ agentId: Scalars['UUID']; }>; export type RemoveRoleFromAgentMutation = { __typename?: 'Mutation', removeRoleFromAgent: boolean }; export type UpdateOneAgentMutationVariables = Exact<{ input: UpdateAgentInput; }>; export type UpdateOneAgentMutation = { __typename?: 'Mutation', updateOneAgent: { __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: string | null, isCustom: boolean, modelConfiguration?: any | null, createdAt: string, updatedAt: string } }; export type FindAgentHandoffTargetsQueryVariables = Exact<{ input: AgentIdInput; }>; export type FindAgentHandoffTargetsQuery = { __typename?: 'Query', findAgentHandoffTargets: Array<{ __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, modelId: string, prompt: string, isCustom: boolean, createdAt: string, updatedAt: string }> }; export type FindAgentHandoffsQueryVariables = Exact<{ input: AgentIdInput; }>; export type FindAgentHandoffsQuery = { __typename?: 'Query', findAgentHandoffs: Array<{ __typename?: 'AgentHandoffDTO', id: string, description?: string | null, toAgent: { __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, modelId: string, prompt: string, isCustom: boolean, createdAt: string, updatedAt: string } }> }; export type FindManyAgentsQueryVariables = Exact<{ [key: string]: never; }>; export type FindManyAgentsQuery = { __typename?: 'Query', findManyAgents: Array<{ __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: string | null, isCustom: boolean, modelConfiguration?: any | null, createdAt: string, updatedAt: string }> }; export type FindOneAgentQueryVariables = Exact<{ id: Scalars['UUID']; }>; export type FindOneAgentQuery = { __typename?: 'Query', findOneAgent: { __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: string | null, isCustom: boolean, modelConfiguration?: any | null, createdAt: string, updatedAt: string } }; export type GetAgentChatMessagesQueryVariables = Exact<{ threadId: Scalars['UUID']; }>; export type GetAgentChatMessagesQuery = { __typename?: 'Query', agentChatMessages: Array<{ __typename?: 'AgentChatMessage', id: string, threadId: string, role: string, createdAt: string, parts: Array<{ __typename?: 'AgentChatMessagePart', id: string, messageId: string, orderIndex: number, type: string, textContent?: string | null, reasoningContent?: string | null, toolName?: string | null, toolCallId?: string | null, toolInput?: any | null, toolOutput?: any | null, state?: string | null, errorMessage?: string | null, errorDetails?: any | null, sourceUrlSourceId?: string | null, sourceUrlUrl?: string | null, sourceUrlTitle?: string | null, sourceDocumentSourceId?: string | null, sourceDocumentMediaType?: string | null, sourceDocumentTitle?: string | null, sourceDocumentFilename?: string | null, fileMediaType?: string | null, fileFilename?: string | null, fileUrl?: string | null, providerMetadata?: any | null, createdAt: string }> }> }; export type GetAgentChatThreadsQueryVariables = Exact<{ agentId: Scalars['UUID']; }>; export type GetAgentChatThreadsQuery = { __typename?: 'Query', agentChatThreads: Array<{ __typename?: 'AgentChatThread', id: string, agentId: string, title?: string | null, createdAt: string, updatedAt: string }> }; export type TrackAnalyticsMutationVariables = Exact<{ type: AnalyticsType; event?: InputMaybe; name?: InputMaybe; properties?: InputMaybe; }>; export type TrackAnalyticsMutation = { __typename?: 'Mutation', trackAnalytics: { __typename?: 'Analytics', success: boolean } }; export type UploadFileMutationVariables = Exact<{ file: Scalars['Upload']; fileFolder?: InputMaybe; }>; export type UploadFileMutation = { __typename?: 'Mutation', uploadFile: { __typename?: 'SignedFileDTO', path: string, token: string } }; export type UploadImageMutationVariables = Exact<{ file: Scalars['Upload']; fileFolder?: InputMaybe; }>; export type UploadImageMutation = { __typename?: 'Mutation', uploadImage: { __typename?: 'SignedFileDTO', path: string, token: string } }; export type AuthTokenFragmentFragment = { __typename?: 'AuthToken', token: string, expiresAt: string }; export type AuthTokenPairFragmentFragment = { __typename?: 'AuthTokenPair', accessOrWorkspaceAgnosticToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, refreshToken: { __typename?: 'AuthToken', token: string, expiresAt: string } }; export type AvailableWorkspaceFragmentFragment = { __typename?: 'AvailableWorkspace', id: string, displayName?: string | null, loginToken?: string | null, inviteHash?: string | null, personalInviteToken?: string | null, logo?: string | null, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, sso: Array<{ __typename?: 'SSOConnection', type: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }; export type AvailableWorkspacesFragmentFragment = { __typename?: 'AvailableWorkspaces', availableWorkspacesForSignIn: Array<{ __typename?: 'AvailableWorkspace', id: string, displayName?: string | null, loginToken?: string | null, inviteHash?: string | null, personalInviteToken?: string | null, logo?: string | null, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, sso: Array<{ __typename?: 'SSOConnection', type: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }>, availableWorkspacesForSignUp: Array<{ __typename?: 'AvailableWorkspace', id: string, displayName?: string | null, loginToken?: string | null, inviteHash?: string | null, personalInviteToken?: string | null, logo?: string | null, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, sso: Array<{ __typename?: 'SSOConnection', type: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }> }; export type AvailableSsoIdentityProvidersFragmentFragment = { __typename?: 'FindAvailableSSOIDPOutput', id: string, issuer: string, name: string, status: SsoIdentityProviderStatus, workspace: { __typename?: 'WorkspaceNameAndId', id: string, displayName?: string | null } }; export type AuthorizeAppMutationVariables = Exact<{ clientId: Scalars['String']; codeChallenge: Scalars['String']; redirectUrl: Scalars['String']; }>; export type AuthorizeAppMutation = { __typename?: 'Mutation', authorizeApp: { __typename?: 'AuthorizeApp', redirectUrl: string } }; export type EmailPasswordResetLinkMutationVariables = Exact<{ email: Scalars['String']; workspaceId: Scalars['UUID']; }>; export type EmailPasswordResetLinkMutation = { __typename?: 'Mutation', emailPasswordResetLink: { __typename?: 'EmailPasswordResetLink', success: boolean } }; export type GenerateApiKeyTokenMutationVariables = Exact<{ apiKeyId: Scalars['UUID']; expiresAt: Scalars['String']; }>; export type GenerateApiKeyTokenMutation = { __typename?: 'Mutation', generateApiKeyToken: { __typename?: 'ApiKeyToken', token: string } }; export type GenerateTransientTokenMutationVariables = Exact<{ [key: string]: never; }>; export type GenerateTransientTokenMutation = { __typename?: 'Mutation', generateTransientToken: { __typename?: 'TransientToken', transientToken: { __typename?: 'AuthToken', token: string } } }; export type GetAuthTokensFromLoginTokenMutationVariables = Exact<{ loginToken: Scalars['String']; origin: Scalars['String']; }>; export type GetAuthTokensFromLoginTokenMutation = { __typename?: 'Mutation', getAuthTokensFromLoginToken: { __typename?: 'AuthTokens', tokens: { __typename?: 'AuthTokenPair', accessOrWorkspaceAgnosticToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, refreshToken: { __typename?: 'AuthToken', token: string, expiresAt: string } } } }; export type GetAuthTokensFromOtpMutationVariables = Exact<{ loginToken: Scalars['String']; otp: Scalars['String']; captchaToken?: InputMaybe; origin: Scalars['String']; }>; export type GetAuthTokensFromOtpMutation = { __typename?: 'Mutation', getAuthTokensFromOTP: { __typename?: 'AuthTokens', tokens: { __typename?: 'AuthTokenPair', accessOrWorkspaceAgnosticToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, refreshToken: { __typename?: 'AuthToken', token: string, expiresAt: string } } } }; export type GetAuthorizationUrlForSsoMutationVariables = Exact<{ input: GetAuthorizationUrlForSsoInput; }>; export type GetAuthorizationUrlForSsoMutation = { __typename?: 'Mutation', getAuthorizationUrlForSSO: { __typename?: 'GetAuthorizationUrlForSSOOutput', id: string, type: string, authorizationURL: string } }; export type GetLoginTokenFromCredentialsMutationVariables = Exact<{ email: Scalars['String']; password: Scalars['String']; captchaToken?: InputMaybe; origin: Scalars['String']; }>; export type GetLoginTokenFromCredentialsMutation = { __typename?: 'Mutation', getLoginTokenFromCredentials: { __typename?: 'LoginToken', loginToken: { __typename?: 'AuthToken', token: string, expiresAt: string } } }; export type GetLoginTokenFromEmailVerificationTokenMutationVariables = Exact<{ emailVerificationToken: Scalars['String']; email: Scalars['String']; captchaToken?: InputMaybe; origin: Scalars['String']; }>; export type GetLoginTokenFromEmailVerificationTokenMutation = { __typename?: 'Mutation', getLoginTokenFromEmailVerificationToken: { __typename?: 'GetLoginTokenFromEmailVerificationTokenOutput', loginToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null } } }; export type GetWorkspaceAgnosticTokenFromEmailVerificationTokenMutationVariables = Exact<{ emailVerificationToken: Scalars['String']; email: Scalars['String']; captchaToken?: InputMaybe; }>; export type GetWorkspaceAgnosticTokenFromEmailVerificationTokenMutation = { __typename?: 'Mutation', getWorkspaceAgnosticTokenFromEmailVerificationToken: { __typename?: 'AvailableWorkspacesAndAccessTokensOutput', availableWorkspaces: { __typename?: 'AvailableWorkspaces', availableWorkspacesForSignIn: Array<{ __typename?: 'AvailableWorkspace', id: string, displayName?: string | null, loginToken?: string | null, inviteHash?: string | null, personalInviteToken?: string | null, logo?: string | null, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, sso: Array<{ __typename?: 'SSOConnection', type: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }>, availableWorkspacesForSignUp: Array<{ __typename?: 'AvailableWorkspace', id: string, displayName?: string | null, loginToken?: string | null, inviteHash?: string | null, personalInviteToken?: string | null, logo?: string | null, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, sso: Array<{ __typename?: 'SSOConnection', type: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }> }, tokens: { __typename?: 'AuthTokenPair', accessOrWorkspaceAgnosticToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, refreshToken: { __typename?: 'AuthToken', token: string, expiresAt: string } } } }; export type ImpersonateMutationVariables = Exact<{ userId: Scalars['UUID']; workspaceId: Scalars['UUID']; }>; export type ImpersonateMutation = { __typename?: 'Mutation', impersonate: { __typename?: 'ImpersonateOutput', workspace: { __typename?: 'WorkspaceUrlsAndId', id: string, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null } }, loginToken: { __typename?: 'AuthToken', token: string, expiresAt: string } } }; export type InitiateOtpProvisioningMutationVariables = Exact<{ loginToken: Scalars['String']; origin: Scalars['String']; }>; export type InitiateOtpProvisioningMutation = { __typename?: 'Mutation', initiateOTPProvisioning: { __typename?: 'InitiateTwoFactorAuthenticationProvisioningOutput', uri: string } }; export type InitiateOtpProvisioningForAuthenticatedUserMutationVariables = Exact<{ [key: string]: never; }>; export type InitiateOtpProvisioningForAuthenticatedUserMutation = { __typename?: 'Mutation', initiateOTPProvisioningForAuthenticatedUser: { __typename?: 'InitiateTwoFactorAuthenticationProvisioningOutput', uri: string } }; export type RenewTokenMutationVariables = Exact<{ appToken: Scalars['String']; }>; export type RenewTokenMutation = { __typename?: 'Mutation', renewToken: { __typename?: 'AuthTokens', tokens: { __typename?: 'AuthTokenPair', accessOrWorkspaceAgnosticToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, refreshToken: { __typename?: 'AuthToken', token: string, expiresAt: string } } } }; export type ResendEmailVerificationTokenMutationVariables = Exact<{ email: Scalars['String']; origin: Scalars['String']; }>; export type ResendEmailVerificationTokenMutation = { __typename?: 'Mutation', resendEmailVerificationToken: { __typename?: 'ResendEmailVerificationTokenOutput', success: boolean } }; export type DeleteTwoFactorAuthenticationMethodMutationVariables = Exact<{ twoFactorAuthenticationMethodId: Scalars['UUID']; }>; export type DeleteTwoFactorAuthenticationMethodMutation = { __typename?: 'Mutation', deleteTwoFactorAuthenticationMethod: { __typename?: 'DeleteTwoFactorAuthenticationMethodOutput', success: boolean } }; export type SignInMutationVariables = Exact<{ email: Scalars['String']; password: Scalars['String']; captchaToken?: InputMaybe; }>; export type SignInMutation = { __typename?: 'Mutation', signIn: { __typename?: 'AvailableWorkspacesAndAccessTokensOutput', availableWorkspaces: { __typename?: 'AvailableWorkspaces', availableWorkspacesForSignIn: Array<{ __typename?: 'AvailableWorkspace', id: string, displayName?: string | null, loginToken?: string | null, inviteHash?: string | null, personalInviteToken?: string | null, logo?: string | null, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, sso: Array<{ __typename?: 'SSOConnection', type: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }>, availableWorkspacesForSignUp: Array<{ __typename?: 'AvailableWorkspace', id: string, displayName?: string | null, loginToken?: string | null, inviteHash?: string | null, personalInviteToken?: string | null, logo?: string | null, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, sso: Array<{ __typename?: 'SSOConnection', type: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }> }, tokens: { __typename?: 'AuthTokenPair', accessOrWorkspaceAgnosticToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, refreshToken: { __typename?: 'AuthToken', token: string, expiresAt: string } } } }; export type SignUpMutationVariables = Exact<{ email: Scalars['String']; password: Scalars['String']; captchaToken?: InputMaybe; locale?: InputMaybe; verifyEmailRedirectPath?: InputMaybe; }>; export type SignUpMutation = { __typename?: 'Mutation', signUp: { __typename?: 'AvailableWorkspacesAndAccessTokensOutput', availableWorkspaces: { __typename?: 'AvailableWorkspaces', availableWorkspacesForSignIn: Array<{ __typename?: 'AvailableWorkspace', id: string, displayName?: string | null, loginToken?: string | null, inviteHash?: string | null, personalInviteToken?: string | null, logo?: string | null, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, sso: Array<{ __typename?: 'SSOConnection', type: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }>, availableWorkspacesForSignUp: Array<{ __typename?: 'AvailableWorkspace', id: string, displayName?: string | null, loginToken?: string | null, inviteHash?: string | null, personalInviteToken?: string | null, logo?: string | null, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, sso: Array<{ __typename?: 'SSOConnection', type: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }> }, tokens: { __typename?: 'AuthTokenPair', accessOrWorkspaceAgnosticToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, refreshToken: { __typename?: 'AuthToken', token: string, expiresAt: string } } } }; export type SignUpInNewWorkspaceMutationVariables = Exact<{ [key: string]: never; }>; export type SignUpInNewWorkspaceMutation = { __typename?: 'Mutation', signUpInNewWorkspace: { __typename?: 'SignUpOutput', loginToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, workspace: { __typename?: 'WorkspaceUrlsAndId', id: string, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null } } } }; export type SignUpInWorkspaceMutationVariables = Exact<{ email: Scalars['String']; password: Scalars['String']; workspaceInviteHash?: InputMaybe; workspacePersonalInviteToken?: InputMaybe; captchaToken?: InputMaybe; workspaceId?: InputMaybe; locale?: InputMaybe; verifyEmailRedirectPath?: InputMaybe; }>; export type SignUpInWorkspaceMutation = { __typename?: 'Mutation', signUpInWorkspace: { __typename?: 'SignUpOutput', loginToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, workspace: { __typename?: 'WorkspaceUrlsAndId', id: string, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null } } } }; export type UpdatePasswordViaResetTokenMutationVariables = Exact<{ token: Scalars['String']; newPassword: Scalars['String']; }>; export type UpdatePasswordViaResetTokenMutation = { __typename?: 'Mutation', updatePasswordViaResetToken: { __typename?: 'InvalidatePassword', success: boolean } }; export type CheckUserExistsQueryVariables = Exact<{ email: Scalars['String']; captchaToken?: InputMaybe; }>; export type CheckUserExistsQuery = { __typename?: 'Query', checkUserExists: { __typename?: 'CheckUserExistOutput', exists: boolean, availableWorkspacesCount: number, isEmailVerified: boolean } }; export type GetPublicWorkspaceDataByDomainQueryVariables = Exact<{ origin: Scalars['String']; }>; export type GetPublicWorkspaceDataByDomainQuery = { __typename?: 'Query', getPublicWorkspaceDataByDomain: { __typename?: 'PublicWorkspaceDataOutput', id: string, logo?: string | null, displayName?: string | null, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, authProviders: { __typename?: 'AuthProviders', google: boolean, magicLink: boolean, password: boolean, microsoft: boolean, sso: Array<{ __typename?: 'SSOIdentityProvider', id: string, name: string, type: IdentityProviderType, status: SsoIdentityProviderStatus, issuer: string }> } } }; export type ValidatePasswordResetTokenQueryVariables = Exact<{ token: Scalars['String']; }>; export type ValidatePasswordResetTokenQuery = { __typename?: 'Query', validatePasswordResetToken: { __typename?: 'ValidatePasswordResetToken', id: string, email: string } }; export type BillingPriceLicensedFragmentFragment = { __typename?: 'BillingPriceLicensedDTO', stripePriceId: string, unitAmount: number, recurringInterval: SubscriptionInterval, priceUsageType: BillingUsageType }; export type BillingPriceMeteredFragmentFragment = { __typename?: 'BillingPriceMeteredDTO', priceUsageType: BillingUsageType, recurringInterval: SubscriptionInterval, stripePriceId: string, tiers: Array<{ __typename?: 'BillingPriceTierDTO', flatAmount?: number | null, unitAmount?: number | null, upTo?: number | null }> }; export type BillingSubscriptionSchedulePhaseFragmentFragment = { __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }; export type BillingSubscriptionSchedulePhaseItemFragmentFragment = { __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }; export type CancelSwitchBillingIntervalMutationVariables = Exact<{ [key: string]: never; }>; export type CancelSwitchBillingIntervalMutation = { __typename?: 'Mutation', cancelSwitchBillingInterval: { __typename?: 'BillingUpdateOutput', currentBillingSubscription: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItemDTO', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, billingProduct: { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } } | { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } } }> | null }, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> }> } }; export type CancelSwitchMeteredPriceMutationVariables = Exact<{ [key: string]: never; }>; export type CancelSwitchMeteredPriceMutation = { __typename?: 'Mutation', cancelSwitchMeteredPrice: { __typename?: 'BillingUpdateOutput', currentBillingSubscription: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItemDTO', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, billingProduct: { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } } | { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } } }> | null }, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> }> } }; export type CancelSwitchBillingPlanMutationVariables = Exact<{ [key: string]: never; }>; export type CancelSwitchBillingPlanMutation = { __typename?: 'Mutation', cancelSwitchBillingPlan: { __typename?: 'BillingUpdateOutput', currentBillingSubscription: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItemDTO', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, billingProduct: { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } } | { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } } }> | null }, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> }> } }; export type CheckoutSessionMutationVariables = Exact<{ recurringInterval: SubscriptionInterval; successUrlPath?: InputMaybe; plan: BillingPlanKey; requirePaymentMethod: Scalars['Boolean']; }>; export type CheckoutSessionMutation = { __typename?: 'Mutation', checkoutSession: { __typename?: 'BillingSessionOutput', url?: string | null } }; export type EndSubscriptionTrialPeriodMutationVariables = Exact<{ [key: string]: never; }>; export type EndSubscriptionTrialPeriodMutation = { __typename?: 'Mutation', endSubscriptionTrialPeriod: { __typename?: 'BillingEndTrialPeriodOutput', status?: SubscriptionStatus | null, hasPaymentMethod: boolean } }; export type SetMeteredSubscriptionPriceMutationVariables = Exact<{ priceId: Scalars['String']; }>; export type SetMeteredSubscriptionPriceMutation = { __typename?: 'Mutation', setMeteredSubscriptionPrice: { __typename?: 'BillingUpdateOutput', currentBillingSubscription: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItemDTO', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, billingProduct: { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } } | { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } } }> | null }, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> }> } }; export type SwitchBillingPlanMutationVariables = Exact<{ [key: string]: never; }>; export type SwitchBillingPlanMutation = { __typename?: 'Mutation', switchBillingPlan: { __typename?: 'BillingUpdateOutput', currentBillingSubscription: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItemDTO', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, billingProduct: { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } } | { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } } }> | null }, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> }> } }; export type SwitchSubscriptionIntervalMutationVariables = Exact<{ [key: string]: never; }>; export type SwitchSubscriptionIntervalMutation = { __typename?: 'Mutation', switchSubscriptionInterval: { __typename?: 'BillingUpdateOutput', currentBillingSubscription: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItemDTO', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, billingProduct: { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } } | { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } } }> | null }, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> }> } }; export type BillingPortalSessionQueryVariables = Exact<{ returnUrlPath?: InputMaybe; }>; export type BillingPortalSessionQuery = { __typename?: 'Query', billingPortalSession: { __typename?: 'BillingSessionOutput', url?: string | null } }; export type GetMeteredProductsUsageQueryVariables = Exact<{ [key: string]: never; }>; export type GetMeteredProductsUsageQuery = { __typename?: 'Query', getMeteredProductsUsage: Array<{ __typename?: 'BillingMeteredProductUsageOutput', productKey: BillingProductKey, usedCredits: number, grantedCredits: number, unitPriceCents: number }> }; export type ListPlansQueryVariables = Exact<{ [key: string]: never; }>; export type ListPlansQuery = { __typename?: 'Query', listPlans: Array<{ __typename?: 'BillingPlanOutput', planKey: BillingPlanKey, licensedProducts: Array<{ __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array | null, prices?: Array<{ __typename?: 'BillingPriceLicensedDTO', stripePriceId: string, unitAmount: number, recurringInterval: SubscriptionInterval, priceUsageType: BillingUsageType }> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } }>, meteredProducts: Array<{ __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array | null, prices?: Array<{ __typename?: 'BillingPriceMeteredDTO', priceUsageType: BillingUsageType, recurringInterval: SubscriptionInterval, stripePriceId: string, tiers: Array<{ __typename?: 'BillingPriceTierDTO', flatAmount?: number | null, unitAmount?: number | null, upTo?: number | null }> }> | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } }> }> }; export type RemoteServerFieldsFragment = { __typename?: 'RemoteServer', id: string, createdAt: string, foreignDataWrapperId: string, foreignDataWrapperOptions?: any | null, foreignDataWrapperType: string, updatedAt: string, schema?: string | null, label: string, userMappingOptions?: { __typename?: 'UserMappingOptionsUser', user?: string | null } | null }; export type RemoteTableFieldsFragment = { __typename?: 'RemoteTable', id?: string | null, name: string, schema?: string | null, status: RemoteTableStatus, schemaPendingUpdates?: Array | null }; export type CreateServerMutationVariables = Exact<{ input: CreateRemoteServerInput; }>; export type CreateServerMutation = { __typename?: 'Mutation', createOneRemoteServer: { __typename?: 'RemoteServer', id: string, createdAt: string, foreignDataWrapperId: string, foreignDataWrapperOptions?: any | null, foreignDataWrapperType: string, updatedAt: string, schema?: string | null, label: string, userMappingOptions?: { __typename?: 'UserMappingOptionsUser', user?: string | null } | null } }; export type DeleteServerMutationVariables = Exact<{ input: RemoteServerIdInput; }>; export type DeleteServerMutation = { __typename?: 'Mutation', deleteOneRemoteServer: { __typename?: 'RemoteServer', id: string } }; export type SyncRemoteTableMutationVariables = Exact<{ input: RemoteTableInput; }>; export type SyncRemoteTableMutation = { __typename?: 'Mutation', syncRemoteTable: { __typename?: 'RemoteTable', id?: string | null, name: string, schema?: string | null, status: RemoteTableStatus, schemaPendingUpdates?: Array | null } }; export type SyncRemoteTableSchemaChangesMutationVariables = Exact<{ input: RemoteTableInput; }>; export type SyncRemoteTableSchemaChangesMutation = { __typename?: 'Mutation', syncRemoteTableSchemaChanges: { __typename?: 'RemoteTable', id?: string | null, name: string, schema?: string | null, status: RemoteTableStatus, schemaPendingUpdates?: Array | null } }; export type UnsyncRemoteTableMutationVariables = Exact<{ input: RemoteTableInput; }>; export type UnsyncRemoteTableMutation = { __typename?: 'Mutation', unsyncRemoteTable: { __typename?: 'RemoteTable', id?: string | null, name: string, schema?: string | null, status: RemoteTableStatus, schemaPendingUpdates?: Array | null } }; export type UpdateServerMutationVariables = Exact<{ input: UpdateRemoteServerInput; }>; export type UpdateServerMutation = { __typename?: 'Mutation', updateOneRemoteServer: { __typename?: 'RemoteServer', id: string, createdAt: string, foreignDataWrapperId: string, foreignDataWrapperOptions?: any | null, foreignDataWrapperType: string, updatedAt: string, schema?: string | null, label: string, userMappingOptions?: { __typename?: 'UserMappingOptionsUser', user?: string | null } | null } }; export type GetManyDatabaseConnectionsQueryVariables = Exact<{ input: RemoteServerTypeInput; }>; export type GetManyDatabaseConnectionsQuery = { __typename?: 'Query', findManyRemoteServersByType: Array<{ __typename?: 'RemoteServer', id: string, createdAt: string, foreignDataWrapperId: string, foreignDataWrapperOptions?: any | null, foreignDataWrapperType: string, updatedAt: string, schema?: string | null, label: string, userMappingOptions?: { __typename?: 'UserMappingOptionsUser', user?: string | null } | null }> }; export type GetManyRemoteTablesQueryVariables = Exact<{ input: FindManyRemoteTablesInput; }>; export type GetManyRemoteTablesQuery = { __typename?: 'Query', findDistantTablesWithStatus: Array<{ __typename?: 'RemoteTable', id?: string | null, name: string, schema?: string | null, status: RemoteTableStatus, schemaPendingUpdates?: Array | null }> }; export type GetOneDatabaseConnectionQueryVariables = Exact<{ input: RemoteServerIdInput; }>; export type GetOneDatabaseConnectionQuery = { __typename?: 'Query', findOneRemoteServerById: { __typename?: 'RemoteServer', id: string, createdAt: string, foreignDataWrapperId: string, foreignDataWrapperOptions?: any | null, foreignDataWrapperType: string, updatedAt: string, schema?: string | null, label: string, userMappingOptions?: { __typename?: 'UserMappingOptionsUser', user?: string | null } | null } }; export type CreateFileMutationVariables = Exact<{ file: Scalars['Upload']; }>; export type CreateFileMutation = { __typename?: 'Mutation', createFile: { __typename?: 'File', id: string, name: string, fullPath: string, size: number, type: string, createdAt: string } }; export type DeleteFileMutationVariables = Exact<{ fileId: Scalars['UUID']; }>; export type DeleteFileMutation = { __typename?: 'Mutation', deleteFile: { __typename?: 'File', id: string, name: string, fullPath: string, size: number, type: string, createdAt: string } }; export type CreateOneObjectMetadataItemMutationVariables = Exact<{ input: CreateOneObjectInput; }>; export type CreateOneObjectMetadataItemMutation = { __typename?: 'Mutation', createOneObject: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, description?: string | null, icon?: string | null, isCustom: boolean, isActive: boolean, isSearchable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, isLabelSyncedWithName: boolean } }; export type CreateOneFieldMetadataItemMutationVariables = Exact<{ input: CreateOneFieldMetadataInput; }>; export type CreateOneFieldMetadataItemMutation = { __typename?: 'Mutation', createOneField: { __typename?: 'Field', id: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isCustom?: boolean | null, isActive?: boolean | null, isUnique?: boolean | null, isNullable?: boolean | null, createdAt: string, updatedAt: string, settings?: any | null, defaultValue?: any | null, options?: any | null, isLabelSyncedWithName?: boolean | null, object?: { __typename?: 'Object', id: string } | null } }; export type UpdateOneFieldMetadataItemMutationVariables = Exact<{ idToUpdate: Scalars['UUID']; updatePayload: UpdateFieldInput; }>; export type UpdateOneFieldMetadataItemMutation = { __typename?: 'Mutation', updateOneField: { __typename?: 'Field', id: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isCustom?: boolean | null, isActive?: boolean | null, isUnique?: boolean | null, isNullable?: boolean | null, createdAt: string, updatedAt: string, settings?: any | null, isLabelSyncedWithName?: boolean | null, object?: { __typename?: 'Object', id: string } | null } }; export type UpdateOneObjectMetadataItemMutationVariables = Exact<{ idToUpdate: Scalars['UUID']; updatePayload: UpdateObjectPayload; }>; export type UpdateOneObjectMetadataItemMutation = { __typename?: 'Mutation', updateOneObject: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, description?: string | null, icon?: string | null, isCustom: boolean, isActive: boolean, isSearchable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, isLabelSyncedWithName: boolean } }; export type DeleteOneObjectMetadataItemMutationVariables = Exact<{ idToDelete: Scalars['UUID']; }>; export type DeleteOneObjectMetadataItemMutation = { __typename?: 'Mutation', deleteOneObject: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, description?: string | null, icon?: string | null, isCustom: boolean, isActive: boolean, isSearchable: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, isLabelSyncedWithName: boolean } }; export type DeleteOneFieldMetadataItemMutationVariables = Exact<{ idToDelete: Scalars['UUID']; }>; export type DeleteOneFieldMetadataItemMutation = { __typename?: 'Mutation', deleteOneField: { __typename?: 'Field', id: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isCustom?: boolean | null, isActive?: boolean | null, isUnique?: boolean | null, isNullable?: boolean | null, createdAt: string, updatedAt: string, settings?: any | null, object?: { __typename?: 'Object', id: string } | null } }; export type ObjectMetadataItemsQueryVariables = Exact<{ [key: string]: never; }>; export type ObjectMetadataItemsQuery = { __typename?: 'Query', objects: { __typename?: 'ObjectConnection', edges: Array<{ __typename?: 'ObjectEdge', node: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string, labelSingular: string, labelPlural: string, description?: string | null, icon?: string | null, isCustom: boolean, isRemote: boolean, isActive: boolean, isSystem: boolean, isUIReadOnly: boolean, createdAt: string, updatedAt: string, labelIdentifierFieldMetadataId?: string | null, imageIdentifierFieldMetadataId?: string | null, shortcut?: string | null, isLabelSyncedWithName: boolean, isSearchable: boolean, duplicateCriteria?: Array> | null, indexMetadataList: Array<{ __typename?: 'Index', id: string, createdAt: string, updatedAt: string, name: string, indexWhereClause?: string | null, indexType: IndexType, isUnique: boolean, isCustom?: boolean | null, indexFieldMetadataList: Array<{ __typename?: 'IndexField', id: string, fieldMetadataId: string, createdAt: string, updatedAt: string, order: number }> }>, fieldsList: Array<{ __typename?: 'Field', id: string, type: FieldMetadataType, name: string, label: string, description?: string | null, icon?: string | null, isCustom?: boolean | null, isActive?: boolean | null, isSystem?: boolean | null, isUIReadOnly?: boolean | null, isNullable?: boolean | null, isUnique?: boolean | null, createdAt: string, updatedAt: string, defaultValue?: any | null, options?: any | null, settings?: any | null, isLabelSyncedWithName?: boolean | null, relation?: { __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } } | null, morphRelations?: Array<{ __typename?: 'Relation', type: RelationType, sourceObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, targetObjectMetadata: { __typename?: 'Object', id: string, nameSingular: string, namePlural: string }, sourceFieldMetadata: { __typename?: 'Field', id: string, name: string }, targetFieldMetadata: { __typename?: 'Field', id: string, name: string } }> | null }> } }>, pageInfo: { __typename?: 'PageInfo', hasNextPage?: boolean | null, hasPreviousPage?: boolean | null, startCursor?: any | null, endCursor?: any | null } } }; export type SkipBookOnboardingStepMutationVariables = Exact<{ [key: string]: never; }>; export type SkipBookOnboardingStepMutation = { __typename?: 'Mutation', skipBookOnboardingStep: { __typename?: 'OnboardingStepSuccess', success: boolean } }; export type SkipSyncEmailOnboardingStepMutationVariables = Exact<{ [key: string]: never; }>; export type SkipSyncEmailOnboardingStepMutation = { __typename?: 'Mutation', skipSyncEmailOnboardingStep: { __typename?: 'OnboardingStepSuccess', success: boolean } }; export type SaveImapSmtpCaldavAccountMutationVariables = Exact<{ accountOwnerId: Scalars['UUID']; handle: Scalars['String']; connectionParameters: EmailAccountConnectionParameters; id?: InputMaybe; }>; export type SaveImapSmtpCaldavAccountMutation = { __typename?: 'Mutation', saveImapSmtpCaldavAccount: { __typename?: 'ImapSmtpCaldavConnectionSuccess', success: boolean } }; export type GetConnectedImapSmtpCaldavAccountQueryVariables = Exact<{ id: Scalars['UUID']; }>; export type GetConnectedImapSmtpCaldavAccountQuery = { __typename?: 'Query', getConnectedImapSmtpCaldavAccount: { __typename?: 'ConnectedImapSmtpCaldavAccount', id: string, handle: string, provider: string, accountOwnerId: string, connectionParameters?: { __typename?: 'ImapSmtpCaldavConnectionParameters', IMAP?: { __typename?: 'ConnectionParametersOutput', host: string, port: number, secure?: boolean | null, password: string } | null, SMTP?: { __typename?: 'ConnectionParametersOutput', host: string, username?: string | null, port: number, secure?: boolean | null, password: string } | null, CALDAV?: { __typename?: 'ConnectionParametersOutput', host: string, username?: string | null, password: string } | null } | null } }; export type CreateDatabaseConfigVariableMutationVariables = Exact<{ key: Scalars['String']; value: Scalars['JSON']; }>; export type CreateDatabaseConfigVariableMutation = { __typename?: 'Mutation', createDatabaseConfigVariable: boolean }; export type DeleteDatabaseConfigVariableMutationVariables = Exact<{ key: Scalars['String']; }>; export type DeleteDatabaseConfigVariableMutation = { __typename?: 'Mutation', deleteDatabaseConfigVariable: boolean }; export type UpdateDatabaseConfigVariableMutationVariables = Exact<{ key: Scalars['String']; value: Scalars['JSON']; }>; export type UpdateDatabaseConfigVariableMutation = { __typename?: 'Mutation', updateDatabaseConfigVariable: boolean }; export type GetConfigVariablesGroupedQueryVariables = Exact<{ [key: string]: never; }>; export type GetConfigVariablesGroupedQuery = { __typename?: 'Query', getConfigVariablesGrouped: { __typename?: 'ConfigVariablesOutput', groups: Array<{ __typename?: 'ConfigVariablesGroupData', name: ConfigVariablesGroup, description: string, isHiddenOnLoad: boolean, variables: Array<{ __typename?: 'ConfigVariable', name: string, description: string, value?: any | null, isSensitive: boolean, isEnvOnly: boolean, type: ConfigVariableType, options?: any | null, source: ConfigSource }> }> } }; export type GetDatabaseConfigVariableQueryVariables = Exact<{ key: Scalars['String']; }>; export type GetDatabaseConfigVariableQuery = { __typename?: 'Query', getDatabaseConfigVariable: { __typename?: 'ConfigVariable', name: string, description: string, value?: any | null, isSensitive: boolean, isEnvOnly: boolean, type: ConfigVariableType, options?: any | null, source: ConfigSource } }; export type UpdateWorkspaceFeatureFlagMutationVariables = Exact<{ workspaceId: Scalars['UUID']; featureFlag: Scalars['String']; value: Scalars['Boolean']; }>; export type UpdateWorkspaceFeatureFlagMutation = { __typename?: 'Mutation', updateWorkspaceFeatureFlag: boolean }; export type UserLookupAdminPanelMutationVariables = Exact<{ userIdentifier: Scalars['String']; }>; export type UserLookupAdminPanelMutation = { __typename?: 'Mutation', userLookupAdminPanel: { __typename?: 'UserLookup', user: { __typename?: 'UserInfo', id: string, email: string, firstName?: string | null, lastName?: string | null }, workspaces: Array<{ __typename?: 'WorkspaceInfo', id: string, name: string, logo?: string | null, totalUsers: number, allowImpersonation: boolean, workspaceUrls: { __typename?: 'WorkspaceUrls', customUrl?: string | null, subdomainUrl: string }, users: Array<{ __typename?: 'UserInfo', id: string, email: string, firstName?: string | null, lastName?: string | null }>, featureFlags: Array<{ __typename?: 'FeatureFlag', key: FeatureFlagKey, value: boolean }> }> } }; export type GetVersionInfoQueryVariables = Exact<{ [key: string]: never; }>; export type GetVersionInfoQuery = { __typename?: 'Query', versionInfo: { __typename?: 'VersionInfo', currentVersion?: string | null, latestVersion: string } }; export type GetIndicatorHealthStatusQueryVariables = Exact<{ indicatorId: HealthIndicatorId; }>; export type GetIndicatorHealthStatusQuery = { __typename?: 'Query', getIndicatorHealthStatus: { __typename?: 'AdminPanelHealthServiceData', id: HealthIndicatorId, label: string, description: string, status: AdminPanelHealthServiceStatus, errorMessage?: string | null, details?: string | null, queues?: Array<{ __typename?: 'AdminPanelWorkerQueueHealth', id: string, queueName: string, status: AdminPanelHealthServiceStatus }> | null } }; export type GetQueueMetricsQueryVariables = Exact<{ queueName: Scalars['String']; timeRange?: InputMaybe; }>; export type GetQueueMetricsQuery = { __typename?: 'Query', getQueueMetrics: { __typename?: 'QueueMetricsData', queueName: string, timeRange: QueueMetricsTimeRange, workers: number, details?: { __typename?: 'WorkerQueueMetrics', failed: number, completed: number, waiting: number, active: number, delayed: number, failureRate: number } | null, data: Array<{ __typename?: 'QueueMetricsSeries', id: string, data: Array<{ __typename?: 'QueueMetricsDataPoint', x: number, y: number }> }> } }; export type GetSystemHealthStatusQueryVariables = Exact<{ [key: string]: never; }>; export type GetSystemHealthStatusQuery = { __typename?: 'Query', getSystemHealthStatus: { __typename?: 'SystemHealth', services: Array<{ __typename?: 'SystemHealthService', id: HealthIndicatorId, label: string, status: AdminPanelHealthServiceStatus }> } }; export type ApiKeyFragmentFragment = { __typename?: 'ApiKey', id: string, name: string, expiresAt: string, revokedAt?: string | null, role: { __typename?: 'Role', id: string, label: string, icon?: string | null } }; export type WebhookFragmentFragment = { __typename?: 'Webhook', id: string, targetUrl: string, operations: Array, description?: string | null, secret: string }; export type AssignRoleToApiKeyMutationVariables = Exact<{ apiKeyId: Scalars['UUID']; roleId: Scalars['UUID']; }>; export type AssignRoleToApiKeyMutation = { __typename?: 'Mutation', assignRoleToApiKey: boolean }; export type CreateApiKeyMutationVariables = Exact<{ input: CreateApiKeyDto; }>; export type CreateApiKeyMutation = { __typename?: 'Mutation', createApiKey: { __typename?: 'ApiKey', id: string, name: string, expiresAt: string, revokedAt?: string | null, role: { __typename?: 'Role', id: string, label: string, icon?: string | null } } }; export type CreateWebhookMutationVariables = Exact<{ input: CreateWebhookDto; }>; export type CreateWebhookMutation = { __typename?: 'Mutation', createWebhook: { __typename?: 'Webhook', id: string, targetUrl: string, operations: Array, description?: string | null, secret: string } }; export type DeleteWebhookMutationVariables = Exact<{ input: DeleteWebhookDto; }>; export type DeleteWebhookMutation = { __typename?: 'Mutation', deleteWebhook: boolean }; export type RevokeApiKeyMutationVariables = Exact<{ input: RevokeApiKeyDto; }>; export type RevokeApiKeyMutation = { __typename?: 'Mutation', revokeApiKey?: { __typename?: 'ApiKey', id: string } | null }; export type UpdateApiKeyMutationVariables = Exact<{ input: UpdateApiKeyDto; }>; export type UpdateApiKeyMutation = { __typename?: 'Mutation', updateApiKey?: { __typename?: 'ApiKey', id: string, name: string, expiresAt: string, revokedAt?: string | null, role: { __typename?: 'Role', id: string, label: string, icon?: string | null } } | null }; export type UpdateWebhookMutationVariables = Exact<{ input: UpdateWebhookDto; }>; export type UpdateWebhookMutation = { __typename?: 'Mutation', updateWebhook?: { __typename?: 'Webhook', id: string, targetUrl: string, operations: Array, description?: string | null, secret: string } | null }; export type GetApiKeyQueryVariables = Exact<{ input: GetApiKeyDto; }>; export type GetApiKeyQuery = { __typename?: 'Query', apiKey?: { __typename?: 'ApiKey', createdAt: string, id: string, name: string, expiresAt: string, revokedAt?: string | null, role: { __typename?: 'Role', id: string, label: string, icon?: string | null } } | null }; export type GetApiKeysQueryVariables = Exact<{ [key: string]: never; }>; export type GetApiKeysQuery = { __typename?: 'Query', apiKeys: Array<{ __typename?: 'ApiKey', id: string, name: string, expiresAt: string, revokedAt?: string | null, role: { __typename?: 'Role', id: string, label: string, icon?: string | null } }> }; export type GetWebhookQueryVariables = Exact<{ input: GetWebhookDto; }>; export type GetWebhookQuery = { __typename?: 'Query', webhook?: { __typename?: 'Webhook', id: string, targetUrl: string, operations: Array, description?: string | null, secret: string } | null }; export type GetWebhooksQueryVariables = Exact<{ [key: string]: never; }>; export type GetWebhooksQuery = { __typename?: 'Query', webhooks: Array<{ __typename?: 'Webhook', id: string, targetUrl: string, operations: Array, description?: string | null, secret: string }> }; export type CheckPublicDomainValidRecordsMutationVariables = Exact<{ domain: Scalars['String']; }>; export type CheckPublicDomainValidRecordsMutation = { __typename?: 'Mutation', checkPublicDomainValidRecords?: { __typename?: 'DomainValidRecords', id: string, domain: string, records: Array<{ __typename?: 'DomainRecord', type: string, key: string, value: string, validationType: string, status: string }> } | null }; export type CreatePublicDomainMutationVariables = Exact<{ domain: Scalars['String']; }>; export type CreatePublicDomainMutation = { __typename?: 'Mutation', createPublicDomain: { __typename?: 'PublicDomain', id: string, domain: string, isValidated: boolean, createdAt: string } }; export type DeletePublicDomainMutationVariables = Exact<{ domain: Scalars['String']; }>; export type DeletePublicDomainMutation = { __typename?: 'Mutation', deletePublicDomain: boolean }; export type FindManyPublicDomainsQueryVariables = Exact<{ [key: string]: never; }>; export type FindManyPublicDomainsQuery = { __typename?: 'Query', findManyPublicDomains: Array<{ __typename?: 'PublicDomain', id: string, domain: string, isValidated: boolean, createdAt: string }> }; export type CreateEmailingDomainMutationVariables = Exact<{ domain: Scalars['String']; driver: EmailingDomainDriver; }>; export type CreateEmailingDomainMutation = { __typename?: 'Mutation', createEmailingDomain: { __typename?: 'EmailingDomain', id: string, domain: string, driver: EmailingDomainDriver, status: EmailingDomainStatus, verifiedAt?: string | null, createdAt: string, updatedAt: string, verificationRecords?: Array<{ __typename?: 'VerificationRecord', type: string, key: string, value: string, priority?: number | null }> | null } }; export type DeleteEmailingDomainMutationVariables = Exact<{ id: Scalars['String']; }>; export type DeleteEmailingDomainMutation = { __typename?: 'Mutation', deleteEmailingDomain: boolean }; export type VerifyEmailingDomainMutationVariables = Exact<{ id: Scalars['String']; }>; export type VerifyEmailingDomainMutation = { __typename?: 'Mutation', verifyEmailingDomain: { __typename?: 'EmailingDomain', id: string, domain: string, driver: EmailingDomainDriver, status: EmailingDomainStatus, verifiedAt?: string | null, createdAt: string, updatedAt: string } }; export type GetEmailingDomainsQueryVariables = Exact<{ [key: string]: never; }>; export type GetEmailingDomainsQuery = { __typename?: 'Query', getEmailingDomains: Array<{ __typename?: 'EmailingDomain', id: string, domain: string, driver: EmailingDomainDriver, status: EmailingDomainStatus, verifiedAt?: string | null, createdAt: string, updatedAt: string, verificationRecords?: Array<{ __typename?: 'VerificationRecord', type: string, key: string, value: string, priority?: number | null }> | null }> }; export type UpdateLabPublicFeatureFlagMutationVariables = Exact<{ input: UpdateLabPublicFeatureFlagInput; }>; export type UpdateLabPublicFeatureFlagMutation = { __typename?: 'Mutation', updateLabPublicFeatureFlag: { __typename?: 'FeatureFlagDTO', key: FeatureFlagKey, value: boolean } }; export type ApiKeyForRoleFragmentFragment = { __typename?: 'ApiKeyForRole', id: string, name: string, expiresAt: string, revokedAt?: string | null }; export type FieldPermissionFragmentFragment = { __typename?: 'FieldPermission', objectMetadataId: string, fieldMetadataId: string, canReadFieldValue?: boolean | null, canUpdateFieldValue?: boolean | null, id: string, roleId: string }; export type ObjectPermissionFragmentFragment = { __typename?: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null }; export type PermissionFlagFragmentFragment = { __typename?: 'PermissionFlag', id: string, flag: PermissionFlagType, roleId: string }; export type RoleFragmentFragment = { __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean, canBeAssignedToUsers: boolean, canBeAssignedToAgents: boolean, canBeAssignedToApiKeys: boolean }; export type CreateOneRoleMutationVariables = Exact<{ createRoleInput: CreateRoleInput; }>; export type CreateOneRoleMutation = { __typename?: 'Mutation', createOneRole: { __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean, canBeAssignedToUsers: boolean, canBeAssignedToAgents: boolean, canBeAssignedToApiKeys: boolean } }; export type DeleteOneRoleMutationVariables = Exact<{ roleId: Scalars['UUID']; }>; export type DeleteOneRoleMutation = { __typename?: 'Mutation', deleteOneRole: string }; export type UpdateOneRoleMutationVariables = Exact<{ updateRoleInput: UpdateRoleInput; }>; export type UpdateOneRoleMutation = { __typename?: 'Mutation', updateOneRole: { __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean, canBeAssignedToUsers: boolean, canBeAssignedToAgents: boolean, canBeAssignedToApiKeys: boolean } }; export type UpdateWorkspaceMemberRoleMutationVariables = Exact<{ workspaceMemberId: Scalars['UUID']; roleId: Scalars['UUID']; }>; export type UpdateWorkspaceMemberRoleMutation = { __typename?: 'Mutation', updateWorkspaceMemberRole: { __typename?: 'WorkspaceMember', id: string, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, numberFormat?: WorkspaceMemberNumberFormatEnum | null, roles?: Array<{ __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean, canBeAssignedToUsers: boolean, canBeAssignedToAgents: boolean, canBeAssignedToApiKeys: boolean }> | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } }; export type UpsertFieldPermissionsMutationVariables = Exact<{ upsertFieldPermissionsInput: UpsertFieldPermissionsInput; }>; export type UpsertFieldPermissionsMutation = { __typename?: 'Mutation', upsertFieldPermissions: Array<{ __typename?: 'FieldPermission', objectMetadataId: string, fieldMetadataId: string, canReadFieldValue?: boolean | null, canUpdateFieldValue?: boolean | null, id: string, roleId: string }> }; export type UpsertObjectPermissionsMutationVariables = Exact<{ upsertObjectPermissionsInput: UpsertObjectPermissionsInput; }>; export type UpsertObjectPermissionsMutation = { __typename?: 'Mutation', upsertObjectPermissions: Array<{ __typename?: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null }> }; export type UpsertPermissionFlagsMutationVariables = Exact<{ upsertPermissionFlagsInput: UpsertPermissionFlagsInput; }>; export type UpsertPermissionFlagsMutation = { __typename?: 'Mutation', upsertPermissionFlags: Array<{ __typename?: 'PermissionFlag', id: string, flag: PermissionFlagType, roleId: string }> }; export type GetRolesQueryVariables = Exact<{ [key: string]: never; }>; export type GetRolesQuery = { __typename?: 'Query', getRoles: Array<{ __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean, canBeAssignedToUsers: boolean, canBeAssignedToAgents: boolean, canBeAssignedToApiKeys: boolean, workspaceMembers: Array<{ __typename?: 'WorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, name: { __typename?: 'FullName', firstName: string, lastName: string } }>, agents: Array<{ __typename?: 'Agent', id: string, name: string, label: string, description?: string | null, icon?: string | null, prompt: string, modelId: string, responseFormat?: any | null, roleId?: string | null, isCustom: boolean, modelConfiguration?: any | null, createdAt: string, updatedAt: string }>, apiKeys: Array<{ __typename?: 'ApiKeyForRole', id: string, name: string, expiresAt: string, revokedAt?: string | null }>, permissionFlags?: Array<{ __typename?: 'PermissionFlag', id: string, flag: PermissionFlagType, roleId: string }> | null, objectPermissions?: Array<{ __typename?: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null }> | null, fieldPermissions?: Array<{ __typename?: 'FieldPermission', objectMetadataId: string, fieldMetadataId: string, canReadFieldValue?: boolean | null, canUpdateFieldValue?: boolean | null, id: string, roleId: string }> | null }> }; export type CreateApprovedAccessDomainMutationVariables = Exact<{ input: CreateApprovedAccessDomainInput; }>; export type CreateApprovedAccessDomainMutation = { __typename?: 'Mutation', createApprovedAccessDomain: { __typename?: 'ApprovedAccessDomain', id: string, domain: string, isValidated: boolean, createdAt: string } }; export type CreateOidcIdentityProviderMutationVariables = Exact<{ input: SetupOidcSsoInput; }>; export type CreateOidcIdentityProviderMutation = { __typename?: 'Mutation', createOIDCIdentityProvider: { __typename?: 'SetupSsoOutput', id: string, type: IdentityProviderType, issuer: string, name: string, status: SsoIdentityProviderStatus } }; export type CreateSamlIdentityProviderMutationVariables = Exact<{ input: SetupSamlSsoInput; }>; export type CreateSamlIdentityProviderMutation = { __typename?: 'Mutation', createSAMLIdentityProvider: { __typename?: 'SetupSsoOutput', id: string, type: IdentityProviderType, issuer: string, name: string, status: SsoIdentityProviderStatus } }; export type DeleteApprovedAccessDomainMutationVariables = Exact<{ input: DeleteApprovedAccessDomainInput; }>; export type DeleteApprovedAccessDomainMutation = { __typename?: 'Mutation', deleteApprovedAccessDomain: boolean }; export type DeleteSsoIdentityProviderMutationVariables = Exact<{ input: DeleteSsoInput; }>; export type DeleteSsoIdentityProviderMutation = { __typename?: 'Mutation', deleteSSOIdentityProvider: { __typename?: 'DeleteSsoOutput', identityProviderId: string } }; export type EditSsoIdentityProviderMutationVariables = Exact<{ input: EditSsoInput; }>; export type EditSsoIdentityProviderMutation = { __typename?: 'Mutation', editSSOIdentityProvider: { __typename?: 'EditSsoOutput', id: string, type: IdentityProviderType, issuer: string, name: string, status: SsoIdentityProviderStatus } }; export type ValidateApprovedAccessDomainMutationVariables = Exact<{ input: ValidateApprovedAccessDomainInput; }>; export type ValidateApprovedAccessDomainMutation = { __typename?: 'Mutation', validateApprovedAccessDomain: { __typename?: 'ApprovedAccessDomain', id: string, isValidated: boolean, domain: string, createdAt: string } }; export type GetApprovedAccessDomainsQueryVariables = Exact<{ [key: string]: never; }>; export type GetApprovedAccessDomainsQuery = { __typename?: 'Query', getApprovedAccessDomains: Array<{ __typename?: 'ApprovedAccessDomain', id: string, createdAt: string, domain: string, isValidated: boolean }> }; export type GetSsoIdentityProvidersQueryVariables = Exact<{ [key: string]: never; }>; export type GetSsoIdentityProvidersQuery = { __typename?: 'Query', getSSOIdentityProviders: Array<{ __typename?: 'FindAvailableSSOIDPOutput', type: IdentityProviderType, id: string, name: string, issuer: string, status: SsoIdentityProviderStatus }> }; export type ServerlessFunctionFieldsFragment = { __typename?: 'ServerlessFunction', id: string, name: string, description?: string | null, runtime: string, timeoutSeconds: number, latestVersion?: string | null, latestVersionInputSchema?: any | null, publishedVersions: Array, createdAt: string, updatedAt: string }; export type CreateOneServerlessFunctionItemMutationVariables = Exact<{ input: CreateServerlessFunctionInput; }>; export type CreateOneServerlessFunctionItemMutation = { __typename?: 'Mutation', createOneServerlessFunction: { __typename?: 'ServerlessFunction', id: string, name: string, description?: string | null, runtime: string, timeoutSeconds: number, latestVersion?: string | null, latestVersionInputSchema?: any | null, publishedVersions: Array, createdAt: string, updatedAt: string } }; export type DeleteOneServerlessFunctionMutationVariables = Exact<{ input: ServerlessFunctionIdInput; }>; export type DeleteOneServerlessFunctionMutation = { __typename?: 'Mutation', deleteOneServerlessFunction: { __typename?: 'ServerlessFunction', id: string, name: string, description?: string | null, runtime: string, timeoutSeconds: number, latestVersion?: string | null, latestVersionInputSchema?: any | null, publishedVersions: Array, createdAt: string, updatedAt: string } }; export type ExecuteOneServerlessFunctionMutationVariables = Exact<{ input: ExecuteServerlessFunctionInput; }>; export type ExecuteOneServerlessFunctionMutation = { __typename?: 'Mutation', executeOneServerlessFunction: { __typename?: 'ServerlessFunctionExecutionResult', data?: any | null, logs: string, duration: number, status: ServerlessFunctionExecutionStatus, error?: any | null } }; export type PublishOneServerlessFunctionMutationVariables = Exact<{ input: PublishServerlessFunctionInput; }>; export type PublishOneServerlessFunctionMutation = { __typename?: 'Mutation', publishServerlessFunction: { __typename?: 'ServerlessFunction', id: string, name: string, description?: string | null, runtime: string, timeoutSeconds: number, latestVersion?: string | null, latestVersionInputSchema?: any | null, publishedVersions: Array, createdAt: string, updatedAt: string } }; export type UpdateOneServerlessFunctionMutationVariables = Exact<{ input: UpdateServerlessFunctionInput; }>; export type UpdateOneServerlessFunctionMutation = { __typename?: 'Mutation', updateOneServerlessFunction: { __typename?: 'ServerlessFunction', id: string, name: string, description?: string | null, runtime: string, timeoutSeconds: number, latestVersion?: string | null, latestVersionInputSchema?: any | null, publishedVersions: Array, createdAt: string, updatedAt: string } }; export type FindManyAvailablePackagesQueryVariables = Exact<{ input: ServerlessFunctionIdInput; }>; export type FindManyAvailablePackagesQuery = { __typename?: 'Query', getAvailablePackages: any }; export type GetManyServerlessFunctionsQueryVariables = Exact<{ [key: string]: never; }>; export type GetManyServerlessFunctionsQuery = { __typename?: 'Query', findManyServerlessFunctions: Array<{ __typename?: 'ServerlessFunction', id: string, name: string, description?: string | null, runtime: string, timeoutSeconds: number, latestVersion?: string | null, latestVersionInputSchema?: any | null, publishedVersions: Array, createdAt: string, updatedAt: string }> }; export type GetOneServerlessFunctionQueryVariables = Exact<{ input: ServerlessFunctionIdInput; }>; export type GetOneServerlessFunctionQuery = { __typename?: 'Query', findOneServerlessFunction: { __typename?: 'ServerlessFunction', id: string, name: string, description?: string | null, runtime: string, timeoutSeconds: number, latestVersion?: string | null, latestVersionInputSchema?: any | null, publishedVersions: Array, createdAt: string, updatedAt: string } }; export type FindOneServerlessFunctionSourceCodeQueryVariables = Exact<{ input: GetServerlessFunctionSourceCodeInput; }>; export type FindOneServerlessFunctionSourceCodeQuery = { __typename?: 'Query', getServerlessFunctionSourceCode?: any | null }; export type VerifyTwoFactorAuthenticationMethodForAuthenticatedUserMutationVariables = Exact<{ otp: Scalars['String']; }>; export type VerifyTwoFactorAuthenticationMethodForAuthenticatedUserMutation = { __typename?: 'Mutation', verifyTwoFactorAuthenticationMethodForAuthenticatedUser: { __typename?: 'VerifyTwoFactorAuthenticationMethodOutput', success: boolean } }; export type BillingSubscriptionFragmentFragment = { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> }; export type CurrentBillingSubscriptionFragmentFragment = { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItemDTO', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, billingProduct: { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } } | { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } } }> | null }; export type UserQueryFragmentFragment = { __typename?: 'User', id: string, firstName: string, lastName: string, email: string, canAccessFullAdminPanel: boolean, canImpersonate: boolean, supportUserHash?: string | null, onboardingStatus?: OnboardingStatus | null, userVars?: any | null, workspaceMember?: { __typename?: 'WorkspaceMember', id: string, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, numberFormat?: WorkspaceMemberNumberFormatEnum | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } | null, workspaceMembers?: Array<{ __typename?: 'WorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, deletedWorkspaceMembers?: Array<{ __typename?: 'DeletedWorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, currentUserWorkspace?: { __typename?: 'UserWorkspace', permissionFlags?: Array | null, objectsPermissions?: Array<{ __typename?: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null }> | null, twoFactorAuthenticationMethodSummary?: Array<{ __typename?: 'TwoFactorAuthenticationMethodDTO', twoFactorAuthenticationMethodId: string, status: string, strategy: string }> | null } | null, currentWorkspace?: { __typename?: 'Workspace', id: string, displayName?: string | null, logo?: string | null, inviteHash?: string | null, allowImpersonation: boolean, activationStatus: WorkspaceActivationStatus, isPublicInviteLinkEnabled: boolean, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, subdomain: string, hasValidEnterpriseKey: boolean, customDomain?: string | null, isCustomDomainEnabled: boolean, metadataVersion: number, workspaceMembersCount?: number | null, isTwoFactorAuthenticationEnforced: boolean, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, featureFlags?: Array<{ __typename?: 'FeatureFlagDTO', key: FeatureFlagKey, value: boolean }> | null, currentBillingSubscription?: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItemDTO', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, billingProduct: { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } } | { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } } }> | null } | null, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> }>, defaultRole?: { __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean, canBeAssignedToUsers: boolean, canBeAssignedToAgents: boolean, canBeAssignedToApiKeys: boolean } | null, defaultAgent?: { __typename?: 'Agent', id: string } | null } | null, availableWorkspaces: { __typename?: 'AvailableWorkspaces', availableWorkspacesForSignIn: Array<{ __typename?: 'AvailableWorkspace', id: string, displayName?: string | null, loginToken?: string | null, inviteHash?: string | null, personalInviteToken?: string | null, logo?: string | null, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, sso: Array<{ __typename?: 'SSOConnection', type: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }>, availableWorkspacesForSignUp: Array<{ __typename?: 'AvailableWorkspace', id: string, displayName?: string | null, loginToken?: string | null, inviteHash?: string | null, personalInviteToken?: string | null, logo?: string | null, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, sso: Array<{ __typename?: 'SSOConnection', type: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }> } }; export type WorkspaceUrlsFragmentFragment = { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }; export type DeleteUserAccountMutationVariables = Exact<{ [key: string]: never; }>; export type DeleteUserAccountMutation = { __typename?: 'Mutation', deleteUser: { __typename?: 'User', id: string } }; export type UploadProfilePictureMutationVariables = Exact<{ file: Scalars['Upload']; }>; export type UploadProfilePictureMutation = { __typename?: 'Mutation', uploadProfilePicture: { __typename?: 'SignedFileDTO', path: string, token: string } }; export type GetCurrentUserQueryVariables = Exact<{ [key: string]: never; }>; export type GetCurrentUserQuery = { __typename?: 'Query', currentUser: { __typename?: 'User', id: string, firstName: string, lastName: string, email: string, canAccessFullAdminPanel: boolean, canImpersonate: boolean, supportUserHash?: string | null, onboardingStatus?: OnboardingStatus | null, userVars?: any | null, workspaceMember?: { __typename?: 'WorkspaceMember', id: string, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, numberFormat?: WorkspaceMemberNumberFormatEnum | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } | null, workspaceMembers?: Array<{ __typename?: 'WorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, deletedWorkspaceMembers?: Array<{ __typename?: 'DeletedWorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, currentUserWorkspace?: { __typename?: 'UserWorkspace', permissionFlags?: Array | null, objectsPermissions?: Array<{ __typename?: 'ObjectPermission', objectMetadataId: string, canReadObjectRecords?: boolean | null, canUpdateObjectRecords?: boolean | null, canSoftDeleteObjectRecords?: boolean | null, canDestroyObjectRecords?: boolean | null, restrictedFields?: any | null }> | null, twoFactorAuthenticationMethodSummary?: Array<{ __typename?: 'TwoFactorAuthenticationMethodDTO', twoFactorAuthenticationMethodId: string, status: string, strategy: string }> | null } | null, currentWorkspace?: { __typename?: 'Workspace', id: string, displayName?: string | null, logo?: string | null, inviteHash?: string | null, allowImpersonation: boolean, activationStatus: WorkspaceActivationStatus, isPublicInviteLinkEnabled: boolean, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, subdomain: string, hasValidEnterpriseKey: boolean, customDomain?: string | null, isCustomDomainEnabled: boolean, metadataVersion: number, workspaceMembersCount?: number | null, isTwoFactorAuthenticationEnforced: boolean, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, featureFlags?: Array<{ __typename?: 'FeatureFlagDTO', key: FeatureFlagKey, value: boolean }> | null, currentBillingSubscription?: { __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, interval?: SubscriptionInterval | null, metadata: any, currentPeriodEnd?: string | null, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }>, billingSubscriptionItems?: Array<{ __typename?: 'BillingSubscriptionItemDTO', id: string, hasReachedCurrentPeriodCap: boolean, quantity?: number | null, stripePriceId: string, billingProduct: { __typename?: 'BillingLicensedProduct', name: string, description: string, images?: Array | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } } | { __typename?: 'BillingMeteredProduct', name: string, description: string, images?: Array | null, metadata: { __typename?: 'BillingProductMetadata', productKey: BillingProductKey, planKey: BillingPlanKey, priceUsageBased: BillingUsageType } } }> | null } | null, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: string, status: SubscriptionStatus, metadata: any, phases: Array<{ __typename?: 'BillingSubscriptionSchedulePhase', start_date: number, end_date: number, items: Array<{ __typename?: 'BillingSubscriptionSchedulePhaseItem', price: string, quantity?: number | null }> }> }>, defaultRole?: { __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean, canBeAssignedToUsers: boolean, canBeAssignedToAgents: boolean, canBeAssignedToApiKeys: boolean } | null, defaultAgent?: { __typename?: 'Agent', id: string } | null } | null, availableWorkspaces: { __typename?: 'AvailableWorkspaces', availableWorkspacesForSignIn: Array<{ __typename?: 'AvailableWorkspace', id: string, displayName?: string | null, loginToken?: string | null, inviteHash?: string | null, personalInviteToken?: string | null, logo?: string | null, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, sso: Array<{ __typename?: 'SSOConnection', type: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }>, availableWorkspacesForSignUp: Array<{ __typename?: 'AvailableWorkspace', id: string, displayName?: string | null, loginToken?: string | null, inviteHash?: string | null, personalInviteToken?: string | null, logo?: string | null, workspaceUrls: { __typename?: 'WorkspaceUrls', subdomainUrl: string, customUrl?: string | null }, sso: Array<{ __typename?: 'SSOConnection', type: IdentityProviderType, id: string, issuer: string, name: string, status: SsoIdentityProviderStatus }> }> } } }; export type ViewFieldFragmentFragment = { __typename?: 'CoreViewField', id: string, fieldMetadataId: string, viewId: string, isVisible: boolean, position: number, size: number, aggregateOperation?: AggregateOperations | null, createdAt: string, updatedAt: string, deletedAt?: string | null }; export type ViewFilterFragmentFragment = { __typename?: 'CoreViewFilter', id: string, fieldMetadataId: string, operand: ViewFilterOperand, value: any, viewFilterGroupId?: string | null, positionInViewFilterGroup?: number | null, subFieldName?: string | null, viewId: string }; export type ViewFilterGroupFragmentFragment = { __typename?: 'CoreViewFilterGroup', id: string, parentViewFilterGroupId?: string | null, logicalOperator: ViewFilterGroupLogicalOperator, positionInViewFilterGroup?: number | null, viewId: string }; export type ViewFragmentFragment = { __typename?: 'CoreView', id: string, name: string, objectMetadataId: string, type: ViewType, key?: ViewKey | null, icon: string, position: number, isCompact: boolean, openRecordIn: ViewOpenRecordIn, kanbanAggregateOperation?: AggregateOperations | null, kanbanAggregateOperationFieldMetadataId?: string | null, anyFieldFilterValue?: string | null, calendarFieldMetadataId?: string | null, calendarLayout?: ViewCalendarLayout | null, viewFields: Array<{ __typename?: 'CoreViewField', id: string, fieldMetadataId: string, viewId: string, isVisible: boolean, position: number, size: number, aggregateOperation?: AggregateOperations | null, createdAt: string, updatedAt: string, deletedAt?: string | null }>, viewFilters: Array<{ __typename?: 'CoreViewFilter', id: string, fieldMetadataId: string, operand: ViewFilterOperand, value: any, viewFilterGroupId?: string | null, positionInViewFilterGroup?: number | null, subFieldName?: string | null, viewId: string }>, viewFilterGroups: Array<{ __typename?: 'CoreViewFilterGroup', id: string, parentViewFilterGroupId?: string | null, logicalOperator: ViewFilterGroupLogicalOperator, positionInViewFilterGroup?: number | null, viewId: string }>, viewSorts: Array<{ __typename?: 'CoreViewSort', id: string, fieldMetadataId: string, direction: ViewSortDirection, viewId: string }>, viewGroups: Array<{ __typename?: 'CoreViewGroup', id: string, fieldMetadataId: string, isVisible: boolean, fieldValue: string, position: number, viewId: string }> }; export type ViewGroupFragmentFragment = { __typename?: 'CoreViewGroup', id: string, fieldMetadataId: string, isVisible: boolean, fieldValue: string, position: number, viewId: string }; export type ViewSortFragmentFragment = { __typename?: 'CoreViewSort', id: string, fieldMetadataId: string, direction: ViewSortDirection, viewId: string }; export type CreateCoreViewMutationVariables = Exact<{ input: CreateViewInput; }>; export type CreateCoreViewMutation = { __typename?: 'Mutation', createCoreView: { __typename?: 'CoreView', id: string, name: string, objectMetadataId: string, type: ViewType, key?: ViewKey | null, icon: string, position: number, isCompact: boolean, openRecordIn: ViewOpenRecordIn, kanbanAggregateOperation?: AggregateOperations | null, kanbanAggregateOperationFieldMetadataId?: string | null, anyFieldFilterValue?: string | null, calendarFieldMetadataId?: string | null, calendarLayout?: ViewCalendarLayout | null, viewFields: Array<{ __typename?: 'CoreViewField', id: string, fieldMetadataId: string, viewId: string, isVisible: boolean, position: number, size: number, aggregateOperation?: AggregateOperations | null, createdAt: string, updatedAt: string, deletedAt?: string | null }>, viewFilters: Array<{ __typename?: 'CoreViewFilter', id: string, fieldMetadataId: string, operand: ViewFilterOperand, value: any, viewFilterGroupId?: string | null, positionInViewFilterGroup?: number | null, subFieldName?: string | null, viewId: string }>, viewFilterGroups: Array<{ __typename?: 'CoreViewFilterGroup', id: string, parentViewFilterGroupId?: string | null, logicalOperator: ViewFilterGroupLogicalOperator, positionInViewFilterGroup?: number | null, viewId: string }>, viewSorts: Array<{ __typename?: 'CoreViewSort', id: string, fieldMetadataId: string, direction: ViewSortDirection, viewId: string }>, viewGroups: Array<{ __typename?: 'CoreViewGroup', id: string, fieldMetadataId: string, isVisible: boolean, fieldValue: string, position: number, viewId: string }> } }; export type CreateCoreViewFieldMutationVariables = Exact<{ input: CreateViewFieldInput; }>; export type CreateCoreViewFieldMutation = { __typename?: 'Mutation', createCoreViewField: { __typename?: 'CoreViewField', id: string, fieldMetadataId: string, viewId: string, isVisible: boolean, position: number, size: number, aggregateOperation?: AggregateOperations | null, createdAt: string, updatedAt: string, deletedAt?: string | null } }; export type CreateCoreViewFilterMutationVariables = Exact<{ input: CreateViewFilterInput; }>; export type CreateCoreViewFilterMutation = { __typename?: 'Mutation', createCoreViewFilter: { __typename?: 'CoreViewFilter', id: string, fieldMetadataId: string, operand: ViewFilterOperand, value: any, viewFilterGroupId?: string | null, positionInViewFilterGroup?: number | null, subFieldName?: string | null, viewId: string } }; export type CreateCoreViewFilterGroupMutationVariables = Exact<{ input: CreateViewFilterGroupInput; }>; export type CreateCoreViewFilterGroupMutation = { __typename?: 'Mutation', createCoreViewFilterGroup: { __typename?: 'CoreViewFilterGroup', id: string, parentViewFilterGroupId?: string | null, logicalOperator: ViewFilterGroupLogicalOperator, positionInViewFilterGroup?: number | null, viewId: string } }; export type CreateCoreViewGroupMutationVariables = Exact<{ input: CreateViewGroupInput; }>; export type CreateCoreViewGroupMutation = { __typename?: 'Mutation', createCoreViewGroup: { __typename?: 'CoreViewGroup', id: string, fieldMetadataId: string, isVisible: boolean, fieldValue: string, position: number, viewId: string } }; export type CreateCoreViewSortMutationVariables = Exact<{ input: CreateViewSortInput; }>; export type CreateCoreViewSortMutation = { __typename?: 'Mutation', createCoreViewSort: { __typename?: 'CoreViewSort', id: string, fieldMetadataId: string, direction: ViewSortDirection, viewId: string } }; export type DeleteCoreViewMutationVariables = Exact<{ id: Scalars['String']; }>; export type DeleteCoreViewMutation = { __typename?: 'Mutation', deleteCoreView: boolean }; export type DeleteCoreViewFieldMutationVariables = Exact<{ input: DeleteViewFieldInput; }>; export type DeleteCoreViewFieldMutation = { __typename?: 'Mutation', deleteCoreViewField: { __typename?: 'CoreViewField', id: string, fieldMetadataId: string, viewId: string, isVisible: boolean, position: number, size: number, aggregateOperation?: AggregateOperations | null, createdAt: string, updatedAt: string, deletedAt?: string | null } }; export type DeleteCoreViewFilterMutationVariables = Exact<{ id: Scalars['String']; }>; export type DeleteCoreViewFilterMutation = { __typename?: 'Mutation', deleteCoreViewFilter: boolean }; export type DeleteCoreViewFilterGroupMutationVariables = Exact<{ id: Scalars['String']; }>; export type DeleteCoreViewFilterGroupMutation = { __typename?: 'Mutation', deleteCoreViewFilterGroup: boolean }; export type DeleteCoreViewGroupMutationVariables = Exact<{ id: Scalars['String']; }>; export type DeleteCoreViewGroupMutation = { __typename?: 'Mutation', deleteCoreViewGroup: boolean }; export type DeleteCoreViewSortMutationVariables = Exact<{ id: Scalars['String']; }>; export type DeleteCoreViewSortMutation = { __typename?: 'Mutation', deleteCoreViewSort: boolean }; export type DestroyCoreViewMutationVariables = Exact<{ id: Scalars['String']; }>; export type DestroyCoreViewMutation = { __typename?: 'Mutation', destroyCoreView: boolean }; export type DestroyCoreViewFieldMutationVariables = Exact<{ input: DestroyViewFieldInput; }>; export type DestroyCoreViewFieldMutation = { __typename?: 'Mutation', destroyCoreViewField: { __typename?: 'CoreViewField', id: string, fieldMetadataId: string, viewId: string, isVisible: boolean, position: number, size: number, aggregateOperation?: AggregateOperations | null, createdAt: string, updatedAt: string, deletedAt?: string | null } }; export type DestroyCoreViewFilterMutationVariables = Exact<{ id: Scalars['String']; }>; export type DestroyCoreViewFilterMutation = { __typename?: 'Mutation', destroyCoreViewFilter: boolean }; export type DestroyCoreViewFilterGroupMutationVariables = Exact<{ id: Scalars['String']; }>; export type DestroyCoreViewFilterGroupMutation = { __typename?: 'Mutation', destroyCoreViewFilterGroup: boolean }; export type DestroyCoreViewGroupMutationVariables = Exact<{ id: Scalars['String']; }>; export type DestroyCoreViewGroupMutation = { __typename?: 'Mutation', destroyCoreViewGroup: boolean }; export type DestroyCoreViewSortMutationVariables = Exact<{ id: Scalars['String']; }>; export type DestroyCoreViewSortMutation = { __typename?: 'Mutation', destroyCoreViewSort: boolean }; export type UpdateCoreViewMutationVariables = Exact<{ id: Scalars['String']; input: UpdateViewInput; }>; export type UpdateCoreViewMutation = { __typename?: 'Mutation', updateCoreView: { __typename?: 'CoreView', id: string, name: string, objectMetadataId: string, type: ViewType, key?: ViewKey | null, icon: string, position: number, isCompact: boolean, openRecordIn: ViewOpenRecordIn, kanbanAggregateOperation?: AggregateOperations | null, kanbanAggregateOperationFieldMetadataId?: string | null, anyFieldFilterValue?: string | null, calendarFieldMetadataId?: string | null, calendarLayout?: ViewCalendarLayout | null, viewFields: Array<{ __typename?: 'CoreViewField', id: string, fieldMetadataId: string, viewId: string, isVisible: boolean, position: number, size: number, aggregateOperation?: AggregateOperations | null, createdAt: string, updatedAt: string, deletedAt?: string | null }>, viewFilters: Array<{ __typename?: 'CoreViewFilter', id: string, fieldMetadataId: string, operand: ViewFilterOperand, value: any, viewFilterGroupId?: string | null, positionInViewFilterGroup?: number | null, subFieldName?: string | null, viewId: string }>, viewFilterGroups: Array<{ __typename?: 'CoreViewFilterGroup', id: string, parentViewFilterGroupId?: string | null, logicalOperator: ViewFilterGroupLogicalOperator, positionInViewFilterGroup?: number | null, viewId: string }>, viewSorts: Array<{ __typename?: 'CoreViewSort', id: string, fieldMetadataId: string, direction: ViewSortDirection, viewId: string }>, viewGroups: Array<{ __typename?: 'CoreViewGroup', id: string, fieldMetadataId: string, isVisible: boolean, fieldValue: string, position: number, viewId: string }> } }; export type UpdateCoreViewFieldMutationVariables = Exact<{ input: UpdateViewFieldInput; }>; export type UpdateCoreViewFieldMutation = { __typename?: 'Mutation', updateCoreViewField: { __typename?: 'CoreViewField', id: string, fieldMetadataId: string, viewId: string, isVisible: boolean, position: number, size: number, aggregateOperation?: AggregateOperations | null, createdAt: string, updatedAt: string, deletedAt?: string | null } }; export type UpdateCoreViewFilterMutationVariables = Exact<{ id: Scalars['String']; input: UpdateViewFilterInput; }>; export type UpdateCoreViewFilterMutation = { __typename?: 'Mutation', updateCoreViewFilter: { __typename?: 'CoreViewFilter', id: string, fieldMetadataId: string, operand: ViewFilterOperand, value: any, viewFilterGroupId?: string | null, positionInViewFilterGroup?: number | null, subFieldName?: string | null, viewId: string } }; export type UpdateCoreViewFilterGroupMutationVariables = Exact<{ id: Scalars['String']; input: UpdateViewFilterGroupInput; }>; export type UpdateCoreViewFilterGroupMutation = { __typename?: 'Mutation', updateCoreViewFilterGroup: { __typename?: 'CoreViewFilterGroup', id: string, parentViewFilterGroupId?: string | null, logicalOperator: ViewFilterGroupLogicalOperator, positionInViewFilterGroup?: number | null, viewId: string } }; export type UpdateCoreViewGroupMutationVariables = Exact<{ id: Scalars['String']; input: UpdateViewGroupInput; }>; export type UpdateCoreViewGroupMutation = { __typename?: 'Mutation', updateCoreViewGroup: { __typename?: 'CoreViewGroup', id: string, fieldMetadataId: string, isVisible: boolean, fieldValue: string, position: number, viewId: string } }; export type UpdateCoreViewSortMutationVariables = Exact<{ id: Scalars['String']; input: UpdateViewSortInput; }>; export type UpdateCoreViewSortMutation = { __typename?: 'Mutation', updateCoreViewSort: { __typename?: 'CoreViewSort', id: string, fieldMetadataId: string, direction: ViewSortDirection, viewId: string } }; export type FindAllCoreViewsQueryVariables = Exact<{ [key: string]: never; }>; export type FindAllCoreViewsQuery = { __typename?: 'Query', getCoreViews: Array<{ __typename?: 'CoreView', id: string, name: string, objectMetadataId: string, type: ViewType, key?: ViewKey | null, icon: string, position: number, isCompact: boolean, openRecordIn: ViewOpenRecordIn, kanbanAggregateOperation?: AggregateOperations | null, kanbanAggregateOperationFieldMetadataId?: string | null, anyFieldFilterValue?: string | null, calendarFieldMetadataId?: string | null, calendarLayout?: ViewCalendarLayout | null, viewFields: Array<{ __typename?: 'CoreViewField', id: string, fieldMetadataId: string, viewId: string, isVisible: boolean, position: number, size: number, aggregateOperation?: AggregateOperations | null, createdAt: string, updatedAt: string, deletedAt?: string | null }>, viewFilters: Array<{ __typename?: 'CoreViewFilter', id: string, fieldMetadataId: string, operand: ViewFilterOperand, value: any, viewFilterGroupId?: string | null, positionInViewFilterGroup?: number | null, subFieldName?: string | null, viewId: string }>, viewFilterGroups: Array<{ __typename?: 'CoreViewFilterGroup', id: string, parentViewFilterGroupId?: string | null, logicalOperator: ViewFilterGroupLogicalOperator, positionInViewFilterGroup?: number | null, viewId: string }>, viewSorts: Array<{ __typename?: 'CoreViewSort', id: string, fieldMetadataId: string, direction: ViewSortDirection, viewId: string }>, viewGroups: Array<{ __typename?: 'CoreViewGroup', id: string, fieldMetadataId: string, isVisible: boolean, fieldValue: string, position: number, viewId: string }> }> }; export type FindManyCoreViewFieldsQueryVariables = Exact<{ viewId: Scalars['String']; }>; export type FindManyCoreViewFieldsQuery = { __typename?: 'Query', getCoreViewFields: Array<{ __typename?: 'CoreViewField', id: string, fieldMetadataId: string, viewId: string, isVisible: boolean, position: number, size: number, aggregateOperation?: AggregateOperations | null, createdAt: string, updatedAt: string, deletedAt?: string | null }> }; export type FindManyCoreViewFilterGroupsQueryVariables = Exact<{ viewId?: InputMaybe; }>; export type FindManyCoreViewFilterGroupsQuery = { __typename?: 'Query', getCoreViewFilterGroups: Array<{ __typename?: 'CoreViewFilterGroup', id: string, parentViewFilterGroupId?: string | null, logicalOperator: ViewFilterGroupLogicalOperator, positionInViewFilterGroup?: number | null, viewId: string }> }; export type FindManyCoreViewFiltersQueryVariables = Exact<{ viewId?: InputMaybe; }>; export type FindManyCoreViewFiltersQuery = { __typename?: 'Query', getCoreViewFilters: Array<{ __typename?: 'CoreViewFilter', id: string, fieldMetadataId: string, operand: ViewFilterOperand, value: any, viewFilterGroupId?: string | null, positionInViewFilterGroup?: number | null, subFieldName?: string | null, viewId: string }> }; export type FindManyCoreViewGroupsQueryVariables = Exact<{ viewId?: InputMaybe; }>; export type FindManyCoreViewGroupsQuery = { __typename?: 'Query', getCoreViewGroups: Array<{ __typename?: 'CoreViewGroup', id: string, fieldMetadataId: string, isVisible: boolean, fieldValue: string, position: number, viewId: string }> }; export type FindManyCoreViewSortsQueryVariables = Exact<{ viewId?: InputMaybe; }>; export type FindManyCoreViewSortsQuery = { __typename?: 'Query', getCoreViewSorts: Array<{ __typename?: 'CoreViewSort', id: string, fieldMetadataId: string, direction: ViewSortDirection, viewId: string }> }; export type FindManyCoreViewsQueryVariables = Exact<{ objectMetadataId?: InputMaybe; }>; export type FindManyCoreViewsQuery = { __typename?: 'Query', getCoreViews: Array<{ __typename?: 'CoreView', id: string, name: string, objectMetadataId: string, type: ViewType, key?: ViewKey | null, icon: string, position: number, isCompact: boolean, openRecordIn: ViewOpenRecordIn, kanbanAggregateOperation?: AggregateOperations | null, kanbanAggregateOperationFieldMetadataId?: string | null, anyFieldFilterValue?: string | null, calendarFieldMetadataId?: string | null, calendarLayout?: ViewCalendarLayout | null, viewFields: Array<{ __typename?: 'CoreViewField', id: string, fieldMetadataId: string, viewId: string, isVisible: boolean, position: number, size: number, aggregateOperation?: AggregateOperations | null, createdAt: string, updatedAt: string, deletedAt?: string | null }>, viewFilters: Array<{ __typename?: 'CoreViewFilter', id: string, fieldMetadataId: string, operand: ViewFilterOperand, value: any, viewFilterGroupId?: string | null, positionInViewFilterGroup?: number | null, subFieldName?: string | null, viewId: string }>, viewFilterGroups: Array<{ __typename?: 'CoreViewFilterGroup', id: string, parentViewFilterGroupId?: string | null, logicalOperator: ViewFilterGroupLogicalOperator, positionInViewFilterGroup?: number | null, viewId: string }>, viewSorts: Array<{ __typename?: 'CoreViewSort', id: string, fieldMetadataId: string, direction: ViewSortDirection, viewId: string }>, viewGroups: Array<{ __typename?: 'CoreViewGroup', id: string, fieldMetadataId: string, isVisible: boolean, fieldValue: string, position: number, viewId: string }> }> }; export type FindOneCoreViewQueryVariables = Exact<{ id: Scalars['String']; }>; export type FindOneCoreViewQuery = { __typename?: 'Query', getCoreView?: { __typename?: 'CoreView', id: string, name: string, objectMetadataId: string, type: ViewType, key?: ViewKey | null, icon: string, position: number, isCompact: boolean, openRecordIn: ViewOpenRecordIn, kanbanAggregateOperation?: AggregateOperations | null, kanbanAggregateOperationFieldMetadataId?: string | null, anyFieldFilterValue?: string | null, calendarFieldMetadataId?: string | null, calendarLayout?: ViewCalendarLayout | null, viewFields: Array<{ __typename?: 'CoreViewField', id: string, fieldMetadataId: string, viewId: string, isVisible: boolean, position: number, size: number, aggregateOperation?: AggregateOperations | null, createdAt: string, updatedAt: string, deletedAt?: string | null }>, viewFilters: Array<{ __typename?: 'CoreViewFilter', id: string, fieldMetadataId: string, operand: ViewFilterOperand, value: any, viewFilterGroupId?: string | null, positionInViewFilterGroup?: number | null, subFieldName?: string | null, viewId: string }>, viewFilterGroups: Array<{ __typename?: 'CoreViewFilterGroup', id: string, parentViewFilterGroupId?: string | null, logicalOperator: ViewFilterGroupLogicalOperator, positionInViewFilterGroup?: number | null, viewId: string }>, viewSorts: Array<{ __typename?: 'CoreViewSort', id: string, fieldMetadataId: string, direction: ViewSortDirection, viewId: string }>, viewGroups: Array<{ __typename?: 'CoreViewGroup', id: string, fieldMetadataId: string, isVisible: boolean, fieldValue: string, position: number, viewId: string }> } | null }; export type FindOneCoreViewFieldQueryVariables = Exact<{ id: Scalars['String']; }>; export type FindOneCoreViewFieldQuery = { __typename?: 'Query', getCoreViewField?: { __typename?: 'CoreViewField', id: string, fieldMetadataId: string, viewId: string, isVisible: boolean, position: number, size: number, aggregateOperation?: AggregateOperations | null, createdAt: string, updatedAt: string, deletedAt?: string | null } | null }; export type FindOneCoreViewFilterQueryVariables = Exact<{ id: Scalars['String']; }>; export type FindOneCoreViewFilterQuery = { __typename?: 'Query', getCoreViewFilter?: { __typename?: 'CoreViewFilter', id: string, fieldMetadataId: string, operand: ViewFilterOperand, value: any, viewFilterGroupId?: string | null, positionInViewFilterGroup?: number | null, subFieldName?: string | null, viewId: string } | null }; export type FindOneCoreViewFilterGroupQueryVariables = Exact<{ id: Scalars['String']; }>; export type FindOneCoreViewFilterGroupQuery = { __typename?: 'Query', getCoreViewFilterGroup?: { __typename?: 'CoreViewFilterGroup', id: string, parentViewFilterGroupId?: string | null, logicalOperator: ViewFilterGroupLogicalOperator, positionInViewFilterGroup?: number | null, viewId: string } | null }; export type FindOneCoreViewGroupQueryVariables = Exact<{ id: Scalars['String']; }>; export type FindOneCoreViewGroupQuery = { __typename?: 'Query', getCoreViewGroup?: { __typename?: 'CoreViewGroup', id: string, fieldMetadataId: string, isVisible: boolean, fieldValue: string, position: number, viewId: string } | null }; export type FindOneCoreViewSortQueryVariables = Exact<{ id: Scalars['String']; }>; export type FindOneCoreViewSortQuery = { __typename?: 'Query', getCoreViewSort?: { __typename?: 'CoreViewSort', id: string, fieldMetadataId: string, direction: ViewSortDirection, viewId: string } | null }; export type WorkflowDiffFragmentFragment = { __typename?: 'WorkflowVersionStepChanges', triggerDiff?: any | null, stepsDiff?: any | null }; export type ActivateWorkflowVersionMutationVariables = Exact<{ workflowVersionId: Scalars['UUID']; }>; export type ActivateWorkflowVersionMutation = { __typename?: 'Mutation', activateWorkflowVersion: boolean }; export type ComputeStepOutputSchemaMutationVariables = Exact<{ input: ComputeStepOutputSchemaInput; }>; export type ComputeStepOutputSchemaMutation = { __typename?: 'Mutation', computeStepOutputSchema: any }; export type CreateDraftFromWorkflowVersionMutationVariables = Exact<{ input: CreateDraftFromWorkflowVersionInput; }>; export type CreateDraftFromWorkflowVersionMutation = { __typename?: 'Mutation', createDraftFromWorkflowVersion: { __typename?: 'WorkflowVersion', id: string } }; export type CreateWorkflowVersionEdgeMutationVariables = Exact<{ input: CreateWorkflowVersionEdgeInput; }>; export type CreateWorkflowVersionEdgeMutation = { __typename?: 'Mutation', createWorkflowVersionEdge: { __typename?: 'WorkflowVersionStepChanges', triggerDiff?: any | null, stepsDiff?: any | null } }; export type CreateWorkflowVersionStepMutationVariables = Exact<{ input: CreateWorkflowVersionStepInput; }>; export type CreateWorkflowVersionStepMutation = { __typename?: 'Mutation', createWorkflowVersionStep: { __typename?: 'WorkflowVersionStepChanges', triggerDiff?: any | null, stepsDiff?: any | null } }; export type DeactivateWorkflowVersionMutationVariables = Exact<{ workflowVersionId: Scalars['UUID']; }>; export type DeactivateWorkflowVersionMutation = { __typename?: 'Mutation', deactivateWorkflowVersion: boolean }; export type DeleteWorkflowVersionEdgeMutationVariables = Exact<{ input: CreateWorkflowVersionEdgeInput; }>; export type DeleteWorkflowVersionEdgeMutation = { __typename?: 'Mutation', deleteWorkflowVersionEdge: { __typename?: 'WorkflowVersionStepChanges', triggerDiff?: any | null, stepsDiff?: any | null } }; export type DeleteWorkflowVersionStepMutationVariables = Exact<{ input: DeleteWorkflowVersionStepInput; }>; export type DeleteWorkflowVersionStepMutation = { __typename?: 'Mutation', deleteWorkflowVersionStep: { __typename?: 'WorkflowVersionStepChanges', triggerDiff?: any | null, stepsDiff?: any | null } }; export type DuplicateWorkflowVersionStepMutationVariables = Exact<{ input: DuplicateWorkflowVersionStepInput; }>; export type DuplicateWorkflowVersionStepMutation = { __typename?: 'Mutation', duplicateWorkflowVersionStep: { __typename?: 'WorkflowVersionStepChanges', triggerDiff?: any | null, stepsDiff?: any | null } }; export type RunWorkflowVersionMutationVariables = Exact<{ input: RunWorkflowVersionInput; }>; export type RunWorkflowVersionMutation = { __typename?: 'Mutation', runWorkflowVersion: { __typename?: 'WorkflowRun', workflowRunId: string } }; export type UpdateWorkflowRunStepMutationVariables = Exact<{ input: UpdateWorkflowRunStepInput; }>; export type UpdateWorkflowRunStepMutation = { __typename?: 'Mutation', updateWorkflowRunStep: { __typename?: 'WorkflowAction', id: string, name: string, type: string, settings: any, valid: boolean, nextStepIds?: Array | null, position?: { __typename?: 'WorkflowStepPosition', x: number, y: number } | null } }; export type UpdateWorkflowVersionStepMutationVariables = Exact<{ input: UpdateWorkflowVersionStepInput; }>; export type UpdateWorkflowVersionStepMutation = { __typename?: 'Mutation', updateWorkflowVersionStep: { __typename?: 'WorkflowAction', id: string, name: string, type: string, settings: any, valid: boolean, nextStepIds?: Array | null, position?: { __typename?: 'WorkflowStepPosition', x: number, y: number } | null } }; export type SubmitFormStepMutationVariables = Exact<{ input: SubmitFormStepInput; }>; export type SubmitFormStepMutation = { __typename?: 'Mutation', submitFormStep: boolean }; export type UpdateWorkflowVersionPositionsMutationVariables = Exact<{ input: UpdateWorkflowVersionPositionsInput; }>; export type UpdateWorkflowVersionPositionsMutation = { __typename?: 'Mutation', updateWorkflowVersionPositions: boolean }; export type DeleteWorkspaceInvitationMutationVariables = Exact<{ appTokenId: Scalars['String']; }>; export type DeleteWorkspaceInvitationMutation = { __typename?: 'Mutation', deleteWorkspaceInvitation: string }; export type ResendWorkspaceInvitationMutationVariables = Exact<{ appTokenId: Scalars['String']; }>; export type ResendWorkspaceInvitationMutation = { __typename?: 'Mutation', resendWorkspaceInvitation: { __typename?: 'SendInvitationsOutput', success: boolean, errors: Array, result: Array<{ __typename?: 'WorkspaceInvitation', id: string, email: string, expiresAt: string }> } }; export type SendInvitationsMutationVariables = Exact<{ emails: Array | Scalars['String']; }>; export type SendInvitationsMutation = { __typename?: 'Mutation', sendInvitations: { __typename?: 'SendInvitationsOutput', success: boolean, errors: Array, result: Array<{ __typename?: 'WorkspaceInvitation', id: string, email: string, expiresAt: string }> } }; export type GetWorkspaceInvitationsQueryVariables = Exact<{ [key: string]: never; }>; export type GetWorkspaceInvitationsQuery = { __typename?: 'Query', findWorkspaceInvitations: Array<{ __typename?: 'WorkspaceInvitation', id: string, email: string, expiresAt: string }> }; export type DeletedWorkspaceMemberQueryFragmentFragment = { __typename?: 'DeletedWorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, name: { __typename?: 'FullName', firstName: string, lastName: string } }; export type PartialWorkspaceMemberQueryFragmentFragment = { __typename?: 'WorkspaceMember', id: string, avatarUrl?: string | null, userEmail: string, name: { __typename?: 'FullName', firstName: string, lastName: string } }; export type WorkspaceMemberQueryFragmentFragment = { __typename?: 'WorkspaceMember', id: string, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, calendarStartDay?: number | null, numberFormat?: WorkspaceMemberNumberFormatEnum | null, name: { __typename?: 'FullName', firstName: string, lastName: string } }; export type ActivateWorkspaceMutationVariables = Exact<{ input: ActivateWorkspaceInput; }>; export type ActivateWorkspaceMutation = { __typename?: 'Mutation', activateWorkspace: { __typename?: 'Workspace', id: string } }; export type DeleteCurrentWorkspaceMutationVariables = Exact<{ [key: string]: never; }>; export type DeleteCurrentWorkspaceMutation = { __typename?: 'Mutation', deleteCurrentWorkspace: { __typename?: 'Workspace', id: string } }; export type UpdateWorkspaceMutationVariables = Exact<{ input: UpdateWorkspaceInput; }>; export type UpdateWorkspaceMutation = { __typename?: 'Mutation', updateWorkspace: { __typename?: 'Workspace', id: string, customDomain?: string | null, subdomain: string, displayName?: string | null, logo?: string | null, allowImpersonation: boolean, isPublicInviteLinkEnabled: boolean, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, isTwoFactorAuthenticationEnforced: boolean, defaultRole?: { __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, canAccessAllTools: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean, canBeAssignedToUsers: boolean, canBeAssignedToAgents: boolean, canBeAssignedToApiKeys: boolean } | null } }; export type UploadWorkspaceLogoMutationVariables = Exact<{ file: Scalars['Upload']; }>; export type UploadWorkspaceLogoMutation = { __typename?: 'Mutation', uploadWorkspaceLogo: { __typename?: 'SignedFileDTO', path: string, token: string } }; export type CheckCustomDomainValidRecordsMutationVariables = Exact<{ [key: string]: never; }>; export type CheckCustomDomainValidRecordsMutation = { __typename?: 'Mutation', checkCustomDomainValidRecords?: { __typename?: 'DomainValidRecords', id: string, domain: string, records: Array<{ __typename?: 'DomainRecord', type: string, key: string, value: string, validationType: string, status: string }> } | null }; export type GetWorkspaceFromInviteHashQueryVariables = Exact<{ inviteHash: Scalars['String']; }>; export type GetWorkspaceFromInviteHashQuery = { __typename?: 'Query', findWorkspaceFromInviteHash: { __typename?: 'Workspace', id: string, displayName?: string | null, logo?: string | null, allowImpersonation: boolean } }; export const AgentFieldsFragmentDoc = gql` fragment AgentFields on Agent { id name label description icon prompt modelId responseFormat roleId isCustom modelConfiguration createdAt updatedAt } `; export const AuthTokenFragmentFragmentDoc = gql` fragment AuthTokenFragment on AuthToken { token expiresAt } `; export const AuthTokenPairFragmentFragmentDoc = gql` fragment AuthTokenPairFragment on AuthTokenPair { accessOrWorkspaceAgnosticToken { ...AuthTokenFragment } refreshToken { ...AuthTokenFragment } } ${AuthTokenFragmentFragmentDoc}`; export const AvailableSsoIdentityProvidersFragmentFragmentDoc = gql` fragment AvailableSSOIdentityProvidersFragment on FindAvailableSSOIDPOutput { id issuer name status workspace { id displayName } } `; export const BillingPriceLicensedFragmentFragmentDoc = gql` fragment BillingPriceLicensedFragment on BillingPriceLicensedDTO { stripePriceId unitAmount recurringInterval priceUsageType } `; export const BillingPriceMeteredFragmentFragmentDoc = gql` fragment BillingPriceMeteredFragment on BillingPriceMeteredDTO { priceUsageType recurringInterval stripePriceId tiers { flatAmount unitAmount upTo } } `; export const RemoteServerFieldsFragmentDoc = gql` fragment RemoteServerFields on RemoteServer { id createdAt foreignDataWrapperId foreignDataWrapperOptions foreignDataWrapperType userMappingOptions { user } updatedAt schema label } `; export const RemoteTableFieldsFragmentDoc = gql` fragment RemoteTableFields on RemoteTable { id name schema status schemaPendingUpdates } `; export const ApiKeyFragmentFragmentDoc = gql` fragment ApiKeyFragment on ApiKey { id name expiresAt revokedAt role { id label icon } } `; export const WebhookFragmentFragmentDoc = gql` fragment WebhookFragment on Webhook { id targetUrl operations description secret } `; export const ApiKeyForRoleFragmentFragmentDoc = gql` fragment ApiKeyForRoleFragment on ApiKeyForRole { id name expiresAt revokedAt } `; export const FieldPermissionFragmentFragmentDoc = gql` fragment FieldPermissionFragment on FieldPermission { objectMetadataId fieldMetadataId canReadFieldValue canUpdateFieldValue id roleId } `; export const PermissionFlagFragmentFragmentDoc = gql` fragment PermissionFlagFragment on PermissionFlag { id flag roleId } `; export const ServerlessFunctionFieldsFragmentDoc = gql` fragment ServerlessFunctionFields on ServerlessFunction { id name description runtime timeoutSeconds latestVersion latestVersionInputSchema publishedVersions createdAt updatedAt } `; export const WorkspaceMemberQueryFragmentFragmentDoc = gql` fragment WorkspaceMemberQueryFragment on WorkspaceMember { id name { firstName lastName } colorScheme avatarUrl locale userEmail timeZone dateFormat timeFormat calendarStartDay numberFormat } `; export const PartialWorkspaceMemberQueryFragmentFragmentDoc = gql` fragment PartialWorkspaceMemberQueryFragment on WorkspaceMember { id name { firstName lastName } avatarUrl userEmail } `; export const DeletedWorkspaceMemberQueryFragmentFragmentDoc = gql` fragment DeletedWorkspaceMemberQueryFragment on DeletedWorkspaceMember { id name { firstName lastName } avatarUrl userEmail } `; export const ObjectPermissionFragmentFragmentDoc = gql` fragment ObjectPermissionFragment on ObjectPermission { objectMetadataId canReadObjectRecords canUpdateObjectRecords canSoftDeleteObjectRecords canDestroyObjectRecords restrictedFields } `; export const WorkspaceUrlsFragmentFragmentDoc = gql` fragment WorkspaceUrlsFragment on WorkspaceUrls { subdomainUrl customUrl } `; export const BillingSubscriptionSchedulePhaseItemFragmentFragmentDoc = gql` fragment BillingSubscriptionSchedulePhaseItemFragment on BillingSubscriptionSchedulePhaseItem { price quantity } `; export const BillingSubscriptionSchedulePhaseFragmentFragmentDoc = gql` fragment BillingSubscriptionSchedulePhaseFragment on BillingSubscriptionSchedulePhase { start_date end_date items { ...BillingSubscriptionSchedulePhaseItemFragment } } ${BillingSubscriptionSchedulePhaseItemFragmentFragmentDoc}`; export const CurrentBillingSubscriptionFragmentFragmentDoc = gql` fragment CurrentBillingSubscriptionFragment on BillingSubscription { id status interval metadata currentPeriodEnd phases { ...BillingSubscriptionSchedulePhaseFragment } billingSubscriptionItems { id hasReachedCurrentPeriodCap quantity stripePriceId billingProduct { name description images metadata { productKey planKey priceUsageBased } } } } ${BillingSubscriptionSchedulePhaseFragmentFragmentDoc}`; export const BillingSubscriptionFragmentFragmentDoc = gql` fragment BillingSubscriptionFragment on BillingSubscription { id status metadata phases { ...BillingSubscriptionSchedulePhaseFragment } } ${BillingSubscriptionSchedulePhaseFragmentFragmentDoc}`; export const RoleFragmentFragmentDoc = gql` fragment RoleFragment on Role { id label description icon canUpdateAllSettings canAccessAllTools isEditable canReadAllObjectRecords canUpdateAllObjectRecords canSoftDeleteAllObjectRecords canDestroyAllObjectRecords canBeAssignedToUsers canBeAssignedToAgents canBeAssignedToApiKeys } `; export const AvailableWorkspaceFragmentFragmentDoc = gql` fragment AvailableWorkspaceFragment on AvailableWorkspace { id displayName loginToken inviteHash personalInviteToken workspaceUrls { subdomainUrl customUrl } logo sso { type id issuer name status } } `; export const AvailableWorkspacesFragmentFragmentDoc = gql` fragment AvailableWorkspacesFragment on AvailableWorkspaces { availableWorkspacesForSignIn { ...AvailableWorkspaceFragment } availableWorkspacesForSignUp { ...AvailableWorkspaceFragment } } ${AvailableWorkspaceFragmentFragmentDoc}`; export const UserQueryFragmentFragmentDoc = gql` fragment UserQueryFragment on User { id firstName lastName email canAccessFullAdminPanel canImpersonate supportUserHash onboardingStatus workspaceMember { ...WorkspaceMemberQueryFragment } workspaceMembers { ...PartialWorkspaceMemberQueryFragment } deletedWorkspaceMembers { ...DeletedWorkspaceMemberQueryFragment } currentUserWorkspace { permissionFlags objectsPermissions { ...ObjectPermissionFragment } twoFactorAuthenticationMethodSummary { twoFactorAuthenticationMethodId status strategy } } currentWorkspace { id displayName logo inviteHash allowImpersonation activationStatus isPublicInviteLinkEnabled isGoogleAuthEnabled isMicrosoftAuthEnabled isPasswordAuthEnabled subdomain hasValidEnterpriseKey customDomain isCustomDomainEnabled workspaceUrls { ...WorkspaceUrlsFragment } featureFlags { key value } metadataVersion currentBillingSubscription { ...CurrentBillingSubscriptionFragment } billingSubscriptions { ...BillingSubscriptionFragment } workspaceMembersCount defaultRole { ...RoleFragment } defaultAgent { id } isTwoFactorAuthenticationEnforced } availableWorkspaces { ...AvailableWorkspacesFragment } userVars } ${WorkspaceMemberQueryFragmentFragmentDoc} ${PartialWorkspaceMemberQueryFragmentFragmentDoc} ${DeletedWorkspaceMemberQueryFragmentFragmentDoc} ${ObjectPermissionFragmentFragmentDoc} ${WorkspaceUrlsFragmentFragmentDoc} ${CurrentBillingSubscriptionFragmentFragmentDoc} ${BillingSubscriptionFragmentFragmentDoc} ${RoleFragmentFragmentDoc} ${AvailableWorkspacesFragmentFragmentDoc}`; export const ViewFieldFragmentFragmentDoc = gql` fragment ViewFieldFragment on CoreViewField { id fieldMetadataId viewId isVisible position size aggregateOperation createdAt updatedAt deletedAt } `; export const ViewFilterFragmentFragmentDoc = gql` fragment ViewFilterFragment on CoreViewFilter { id fieldMetadataId operand value viewFilterGroupId positionInViewFilterGroup subFieldName viewId } `; export const ViewFilterGroupFragmentFragmentDoc = gql` fragment ViewFilterGroupFragment on CoreViewFilterGroup { id parentViewFilterGroupId logicalOperator positionInViewFilterGroup viewId } `; export const ViewSortFragmentFragmentDoc = gql` fragment ViewSortFragment on CoreViewSort { id fieldMetadataId direction viewId } `; export const ViewGroupFragmentFragmentDoc = gql` fragment ViewGroupFragment on CoreViewGroup { id fieldMetadataId isVisible fieldValue position viewId } `; export const ViewFragmentFragmentDoc = gql` fragment ViewFragment on CoreView { id name objectMetadataId type key icon position isCompact openRecordIn kanbanAggregateOperation kanbanAggregateOperationFieldMetadataId anyFieldFilterValue calendarFieldMetadataId calendarLayout viewFields { ...ViewFieldFragment } viewFilters { ...ViewFilterFragment } viewFilterGroups { ...ViewFilterGroupFragment } viewSorts { ...ViewSortFragment } viewGroups { ...ViewGroupFragment } } ${ViewFieldFragmentFragmentDoc} ${ViewFilterFragmentFragmentDoc} ${ViewFilterGroupFragmentFragmentDoc} ${ViewSortFragmentFragmentDoc} ${ViewGroupFragmentFragmentDoc}`; export const WorkflowDiffFragmentFragmentDoc = gql` fragment WorkflowDiffFragment on WorkflowVersionStepChanges { triggerDiff stepsDiff } `; export const AssignRoleToAgentDocument = gql` mutation AssignRoleToAgent($agentId: UUID!, $roleId: UUID!) { assignRoleToAgent(agentId: $agentId, roleId: $roleId) } `; export type AssignRoleToAgentMutationFn = Apollo.MutationFunction; /** * __useAssignRoleToAgentMutation__ * * To run a mutation, you first call `useAssignRoleToAgentMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useAssignRoleToAgentMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [assignRoleToAgentMutation, { data, loading, error }] = useAssignRoleToAgentMutation({ * variables: { * agentId: // value for 'agentId' * roleId: // value for 'roleId' * }, * }); */ export function useAssignRoleToAgentMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(AssignRoleToAgentDocument, options); } export type AssignRoleToAgentMutationHookResult = ReturnType; export type AssignRoleToAgentMutationResult = Apollo.MutationResult; export type AssignRoleToAgentMutationOptions = Apollo.BaseMutationOptions; export const CreateAgentChatThreadDocument = gql` mutation CreateAgentChatThread($input: CreateAgentChatThreadInput!) { createAgentChatThread(input: $input) { id agentId title createdAt updatedAt } } `; export type CreateAgentChatThreadMutationFn = Apollo.MutationFunction; /** * __useCreateAgentChatThreadMutation__ * * To run a mutation, you first call `useCreateAgentChatThreadMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateAgentChatThreadMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createAgentChatThreadMutation, { data, loading, error }] = useCreateAgentChatThreadMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateAgentChatThreadMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateAgentChatThreadDocument, options); } export type CreateAgentChatThreadMutationHookResult = ReturnType; export type CreateAgentChatThreadMutationResult = Apollo.MutationResult; export type CreateAgentChatThreadMutationOptions = Apollo.BaseMutationOptions; export const CreateAgentHandoffDocument = gql` mutation CreateAgentHandoff($input: CreateAgentHandoffInput!) { createAgentHandoff(input: $input) } `; export type CreateAgentHandoffMutationFn = Apollo.MutationFunction; /** * __useCreateAgentHandoffMutation__ * * To run a mutation, you first call `useCreateAgentHandoffMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateAgentHandoffMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createAgentHandoffMutation, { data, loading, error }] = useCreateAgentHandoffMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateAgentHandoffMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateAgentHandoffDocument, options); } export type CreateAgentHandoffMutationHookResult = ReturnType; export type CreateAgentHandoffMutationResult = Apollo.MutationResult; export type CreateAgentHandoffMutationOptions = Apollo.BaseMutationOptions; export const CreateOneAgentDocument = gql` mutation CreateOneAgent($input: CreateAgentInput!) { createOneAgent(input: $input) { ...AgentFields } } ${AgentFieldsFragmentDoc}`; export type CreateOneAgentMutationFn = Apollo.MutationFunction; /** * __useCreateOneAgentMutation__ * * To run a mutation, you first call `useCreateOneAgentMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateOneAgentMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createOneAgentMutation, { data, loading, error }] = useCreateOneAgentMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateOneAgentMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateOneAgentDocument, options); } export type CreateOneAgentMutationHookResult = ReturnType; export type CreateOneAgentMutationResult = Apollo.MutationResult; export type CreateOneAgentMutationOptions = Apollo.BaseMutationOptions; export const DeleteOneAgentDocument = gql` mutation DeleteOneAgent($input: AgentIdInput!) { deleteOneAgent(input: $input) { ...AgentFields } } ${AgentFieldsFragmentDoc}`; export type DeleteOneAgentMutationFn = Apollo.MutationFunction; /** * __useDeleteOneAgentMutation__ * * To run a mutation, you first call `useDeleteOneAgentMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteOneAgentMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteOneAgentMutation, { data, loading, error }] = useDeleteOneAgentMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useDeleteOneAgentMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteOneAgentDocument, options); } export type DeleteOneAgentMutationHookResult = ReturnType; export type DeleteOneAgentMutationResult = Apollo.MutationResult; export type DeleteOneAgentMutationOptions = Apollo.BaseMutationOptions; export const RemoveAgentHandoffDocument = gql` mutation RemoveAgentHandoff($input: RemoveAgentHandoffInput!) { removeAgentHandoff(input: $input) } `; export type RemoveAgentHandoffMutationFn = Apollo.MutationFunction; /** * __useRemoveAgentHandoffMutation__ * * To run a mutation, you first call `useRemoveAgentHandoffMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useRemoveAgentHandoffMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [removeAgentHandoffMutation, { data, loading, error }] = useRemoveAgentHandoffMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useRemoveAgentHandoffMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(RemoveAgentHandoffDocument, options); } export type RemoveAgentHandoffMutationHookResult = ReturnType; export type RemoveAgentHandoffMutationResult = Apollo.MutationResult; export type RemoveAgentHandoffMutationOptions = Apollo.BaseMutationOptions; export const RemoveRoleFromAgentDocument = gql` mutation RemoveRoleFromAgent($agentId: UUID!) { removeRoleFromAgent(agentId: $agentId) } `; export type RemoveRoleFromAgentMutationFn = Apollo.MutationFunction; /** * __useRemoveRoleFromAgentMutation__ * * To run a mutation, you first call `useRemoveRoleFromAgentMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useRemoveRoleFromAgentMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [removeRoleFromAgentMutation, { data, loading, error }] = useRemoveRoleFromAgentMutation({ * variables: { * agentId: // value for 'agentId' * }, * }); */ export function useRemoveRoleFromAgentMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(RemoveRoleFromAgentDocument, options); } export type RemoveRoleFromAgentMutationHookResult = ReturnType; export type RemoveRoleFromAgentMutationResult = Apollo.MutationResult; export type RemoveRoleFromAgentMutationOptions = Apollo.BaseMutationOptions; export const UpdateOneAgentDocument = gql` mutation UpdateOneAgent($input: UpdateAgentInput!) { updateOneAgent(input: $input) { ...AgentFields } } ${AgentFieldsFragmentDoc}`; export type UpdateOneAgentMutationFn = Apollo.MutationFunction; /** * __useUpdateOneAgentMutation__ * * To run a mutation, you first call `useUpdateOneAgentMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateOneAgentMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateOneAgentMutation, { data, loading, error }] = useUpdateOneAgentMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useUpdateOneAgentMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateOneAgentDocument, options); } export type UpdateOneAgentMutationHookResult = ReturnType; export type UpdateOneAgentMutationResult = Apollo.MutationResult; export type UpdateOneAgentMutationOptions = Apollo.BaseMutationOptions; export const FindAgentHandoffTargetsDocument = gql` query FindAgentHandoffTargets($input: AgentIdInput!) { findAgentHandoffTargets(input: $input) { id name label description icon modelId prompt isCustom createdAt updatedAt } } `; /** * __useFindAgentHandoffTargetsQuery__ * * To run a query within a React component, call `useFindAgentHandoffTargetsQuery` and pass it any options that fit your needs. * When your component renders, `useFindAgentHandoffTargetsQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindAgentHandoffTargetsQuery({ * variables: { * input: // value for 'input' * }, * }); */ export function useFindAgentHandoffTargetsQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindAgentHandoffTargetsDocument, options); } export function useFindAgentHandoffTargetsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindAgentHandoffTargetsDocument, options); } export type FindAgentHandoffTargetsQueryHookResult = ReturnType; export type FindAgentHandoffTargetsLazyQueryHookResult = ReturnType; export type FindAgentHandoffTargetsQueryResult = Apollo.QueryResult; export const FindAgentHandoffsDocument = gql` query FindAgentHandoffs($input: AgentIdInput!) { findAgentHandoffs(input: $input) { id description toAgent { id name label description icon modelId prompt isCustom createdAt updatedAt } } } `; /** * __useFindAgentHandoffsQuery__ * * To run a query within a React component, call `useFindAgentHandoffsQuery` and pass it any options that fit your needs. * When your component renders, `useFindAgentHandoffsQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindAgentHandoffsQuery({ * variables: { * input: // value for 'input' * }, * }); */ export function useFindAgentHandoffsQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindAgentHandoffsDocument, options); } export function useFindAgentHandoffsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindAgentHandoffsDocument, options); } export type FindAgentHandoffsQueryHookResult = ReturnType; export type FindAgentHandoffsLazyQueryHookResult = ReturnType; export type FindAgentHandoffsQueryResult = Apollo.QueryResult; export const FindManyAgentsDocument = gql` query FindManyAgents { findManyAgents { ...AgentFields } } ${AgentFieldsFragmentDoc}`; /** * __useFindManyAgentsQuery__ * * To run a query within a React component, call `useFindManyAgentsQuery` and pass it any options that fit your needs. * When your component renders, `useFindManyAgentsQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindManyAgentsQuery({ * variables: { * }, * }); */ export function useFindManyAgentsQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindManyAgentsDocument, options); } export function useFindManyAgentsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindManyAgentsDocument, options); } export type FindManyAgentsQueryHookResult = ReturnType; export type FindManyAgentsLazyQueryHookResult = ReturnType; export type FindManyAgentsQueryResult = Apollo.QueryResult; export const FindOneAgentDocument = gql` query FindOneAgent($id: UUID!) { findOneAgent(input: {id: $id}) { ...AgentFields } } ${AgentFieldsFragmentDoc}`; /** * __useFindOneAgentQuery__ * * To run a query within a React component, call `useFindOneAgentQuery` and pass it any options that fit your needs. * When your component renders, `useFindOneAgentQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindOneAgentQuery({ * variables: { * id: // value for 'id' * }, * }); */ export function useFindOneAgentQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindOneAgentDocument, options); } export function useFindOneAgentLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindOneAgentDocument, options); } export type FindOneAgentQueryHookResult = ReturnType; export type FindOneAgentLazyQueryHookResult = ReturnType; export type FindOneAgentQueryResult = Apollo.QueryResult; export const GetAgentChatMessagesDocument = gql` query GetAgentChatMessages($threadId: UUID!) { agentChatMessages(threadId: $threadId) { id threadId role createdAt parts { id messageId orderIndex type textContent reasoningContent toolName toolCallId toolInput toolOutput state errorMessage errorDetails sourceUrlSourceId sourceUrlUrl sourceUrlTitle sourceDocumentSourceId sourceDocumentMediaType sourceDocumentTitle sourceDocumentFilename fileMediaType fileFilename fileUrl providerMetadata createdAt } } } `; /** * __useGetAgentChatMessagesQuery__ * * To run a query within a React component, call `useGetAgentChatMessagesQuery` and pass it any options that fit your needs. * When your component renders, `useGetAgentChatMessagesQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetAgentChatMessagesQuery({ * variables: { * threadId: // value for 'threadId' * }, * }); */ export function useGetAgentChatMessagesQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetAgentChatMessagesDocument, options); } export function useGetAgentChatMessagesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetAgentChatMessagesDocument, options); } export type GetAgentChatMessagesQueryHookResult = ReturnType; export type GetAgentChatMessagesLazyQueryHookResult = ReturnType; export type GetAgentChatMessagesQueryResult = Apollo.QueryResult; export const GetAgentChatThreadsDocument = gql` query GetAgentChatThreads($agentId: UUID!) { agentChatThreads(agentId: $agentId) { id agentId title createdAt updatedAt } } `; /** * __useGetAgentChatThreadsQuery__ * * To run a query within a React component, call `useGetAgentChatThreadsQuery` and pass it any options that fit your needs. * When your component renders, `useGetAgentChatThreadsQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetAgentChatThreadsQuery({ * variables: { * agentId: // value for 'agentId' * }, * }); */ export function useGetAgentChatThreadsQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetAgentChatThreadsDocument, options); } export function useGetAgentChatThreadsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetAgentChatThreadsDocument, options); } export type GetAgentChatThreadsQueryHookResult = ReturnType; export type GetAgentChatThreadsLazyQueryHookResult = ReturnType; export type GetAgentChatThreadsQueryResult = Apollo.QueryResult; export const TrackAnalyticsDocument = gql` mutation TrackAnalytics($type: AnalyticsType!, $event: String, $name: String, $properties: JSON) { trackAnalytics(type: $type, event: $event, name: $name, properties: $properties) { success } } `; export type TrackAnalyticsMutationFn = Apollo.MutationFunction; /** * __useTrackAnalyticsMutation__ * * To run a mutation, you first call `useTrackAnalyticsMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useTrackAnalyticsMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [trackAnalyticsMutation, { data, loading, error }] = useTrackAnalyticsMutation({ * variables: { * type: // value for 'type' * event: // value for 'event' * name: // value for 'name' * properties: // value for 'properties' * }, * }); */ export function useTrackAnalyticsMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(TrackAnalyticsDocument, options); } export type TrackAnalyticsMutationHookResult = ReturnType; export type TrackAnalyticsMutationResult = Apollo.MutationResult; export type TrackAnalyticsMutationOptions = Apollo.BaseMutationOptions; export const UploadFileDocument = gql` mutation uploadFile($file: Upload!, $fileFolder: FileFolder) { uploadFile(file: $file, fileFolder: $fileFolder) { path token } } `; export type UploadFileMutationFn = Apollo.MutationFunction; /** * __useUploadFileMutation__ * * To run a mutation, you first call `useUploadFileMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUploadFileMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [uploadFileMutation, { data, loading, error }] = useUploadFileMutation({ * variables: { * file: // value for 'file' * fileFolder: // value for 'fileFolder' * }, * }); */ export function useUploadFileMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UploadFileDocument, options); } export type UploadFileMutationHookResult = ReturnType; export type UploadFileMutationResult = Apollo.MutationResult; export type UploadFileMutationOptions = Apollo.BaseMutationOptions; export const UploadImageDocument = gql` mutation uploadImage($file: Upload!, $fileFolder: FileFolder) { uploadImage(file: $file, fileFolder: $fileFolder) { path token } } `; export type UploadImageMutationFn = Apollo.MutationFunction; /** * __useUploadImageMutation__ * * To run a mutation, you first call `useUploadImageMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUploadImageMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [uploadImageMutation, { data, loading, error }] = useUploadImageMutation({ * variables: { * file: // value for 'file' * fileFolder: // value for 'fileFolder' * }, * }); */ export function useUploadImageMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UploadImageDocument, options); } export type UploadImageMutationHookResult = ReturnType; export type UploadImageMutationResult = Apollo.MutationResult; export type UploadImageMutationOptions = Apollo.BaseMutationOptions; export const AuthorizeAppDocument = gql` mutation authorizeApp($clientId: String!, $codeChallenge: String!, $redirectUrl: String!) { authorizeApp( clientId: $clientId codeChallenge: $codeChallenge redirectUrl: $redirectUrl ) { redirectUrl } } `; export type AuthorizeAppMutationFn = Apollo.MutationFunction; /** * __useAuthorizeAppMutation__ * * To run a mutation, you first call `useAuthorizeAppMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useAuthorizeAppMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [authorizeAppMutation, { data, loading, error }] = useAuthorizeAppMutation({ * variables: { * clientId: // value for 'clientId' * codeChallenge: // value for 'codeChallenge' * redirectUrl: // value for 'redirectUrl' * }, * }); */ export function useAuthorizeAppMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(AuthorizeAppDocument, options); } export type AuthorizeAppMutationHookResult = ReturnType; export type AuthorizeAppMutationResult = Apollo.MutationResult; export type AuthorizeAppMutationOptions = Apollo.BaseMutationOptions; export const EmailPasswordResetLinkDocument = gql` mutation EmailPasswordResetLink($email: String!, $workspaceId: UUID!) { emailPasswordResetLink(email: $email, workspaceId: $workspaceId) { success } } `; export type EmailPasswordResetLinkMutationFn = Apollo.MutationFunction; /** * __useEmailPasswordResetLinkMutation__ * * To run a mutation, you first call `useEmailPasswordResetLinkMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useEmailPasswordResetLinkMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [emailPasswordResetLinkMutation, { data, loading, error }] = useEmailPasswordResetLinkMutation({ * variables: { * email: // value for 'email' * workspaceId: // value for 'workspaceId' * }, * }); */ export function useEmailPasswordResetLinkMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(EmailPasswordResetLinkDocument, options); } export type EmailPasswordResetLinkMutationHookResult = ReturnType; export type EmailPasswordResetLinkMutationResult = Apollo.MutationResult; export type EmailPasswordResetLinkMutationOptions = Apollo.BaseMutationOptions; export const GenerateApiKeyTokenDocument = gql` mutation GenerateApiKeyToken($apiKeyId: UUID!, $expiresAt: String!) { generateApiKeyToken(apiKeyId: $apiKeyId, expiresAt: $expiresAt) { token } } `; export type GenerateApiKeyTokenMutationFn = Apollo.MutationFunction; /** * __useGenerateApiKeyTokenMutation__ * * To run a mutation, you first call `useGenerateApiKeyTokenMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useGenerateApiKeyTokenMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [generateApiKeyTokenMutation, { data, loading, error }] = useGenerateApiKeyTokenMutation({ * variables: { * apiKeyId: // value for 'apiKeyId' * expiresAt: // value for 'expiresAt' * }, * }); */ export function useGenerateApiKeyTokenMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(GenerateApiKeyTokenDocument, options); } export type GenerateApiKeyTokenMutationHookResult = ReturnType; export type GenerateApiKeyTokenMutationResult = Apollo.MutationResult; export type GenerateApiKeyTokenMutationOptions = Apollo.BaseMutationOptions; export const GenerateTransientTokenDocument = gql` mutation generateTransientToken { generateTransientToken { transientToken { token } } } `; export type GenerateTransientTokenMutationFn = Apollo.MutationFunction; /** * __useGenerateTransientTokenMutation__ * * To run a mutation, you first call `useGenerateTransientTokenMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useGenerateTransientTokenMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [generateTransientTokenMutation, { data, loading, error }] = useGenerateTransientTokenMutation({ * variables: { * }, * }); */ export function useGenerateTransientTokenMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(GenerateTransientTokenDocument, options); } export type GenerateTransientTokenMutationHookResult = ReturnType; export type GenerateTransientTokenMutationResult = Apollo.MutationResult; export type GenerateTransientTokenMutationOptions = Apollo.BaseMutationOptions; export const GetAuthTokensFromLoginTokenDocument = gql` mutation getAuthTokensFromLoginToken($loginToken: String!, $origin: String!) { getAuthTokensFromLoginToken(loginToken: $loginToken, origin: $origin) { tokens { ...AuthTokenPairFragment } } } ${AuthTokenPairFragmentFragmentDoc}`; export type GetAuthTokensFromLoginTokenMutationFn = Apollo.MutationFunction; /** * __useGetAuthTokensFromLoginTokenMutation__ * * To run a mutation, you first call `useGetAuthTokensFromLoginTokenMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useGetAuthTokensFromLoginTokenMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [getAuthTokensFromLoginTokenMutation, { data, loading, error }] = useGetAuthTokensFromLoginTokenMutation({ * variables: { * loginToken: // value for 'loginToken' * origin: // value for 'origin' * }, * }); */ export function useGetAuthTokensFromLoginTokenMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(GetAuthTokensFromLoginTokenDocument, options); } export type GetAuthTokensFromLoginTokenMutationHookResult = ReturnType; export type GetAuthTokensFromLoginTokenMutationResult = Apollo.MutationResult; export type GetAuthTokensFromLoginTokenMutationOptions = Apollo.BaseMutationOptions; export const GetAuthTokensFromOtpDocument = gql` mutation getAuthTokensFromOTP($loginToken: String!, $otp: String!, $captchaToken: String, $origin: String!) { getAuthTokensFromOTP( loginToken: $loginToken otp: $otp captchaToken: $captchaToken origin: $origin ) { tokens { ...AuthTokenPairFragment } } } ${AuthTokenPairFragmentFragmentDoc}`; export type GetAuthTokensFromOtpMutationFn = Apollo.MutationFunction; /** * __useGetAuthTokensFromOtpMutation__ * * To run a mutation, you first call `useGetAuthTokensFromOtpMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useGetAuthTokensFromOtpMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [getAuthTokensFromOtpMutation, { data, loading, error }] = useGetAuthTokensFromOtpMutation({ * variables: { * loginToken: // value for 'loginToken' * otp: // value for 'otp' * captchaToken: // value for 'captchaToken' * origin: // value for 'origin' * }, * }); */ export function useGetAuthTokensFromOtpMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(GetAuthTokensFromOtpDocument, options); } export type GetAuthTokensFromOtpMutationHookResult = ReturnType; export type GetAuthTokensFromOtpMutationResult = Apollo.MutationResult; export type GetAuthTokensFromOtpMutationOptions = Apollo.BaseMutationOptions; export const GetAuthorizationUrlForSsoDocument = gql` mutation GetAuthorizationUrlForSSO($input: GetAuthorizationUrlForSSOInput!) { getAuthorizationUrlForSSO(input: $input) { id type authorizationURL } } `; export type GetAuthorizationUrlForSsoMutationFn = Apollo.MutationFunction; /** * __useGetAuthorizationUrlForSsoMutation__ * * To run a mutation, you first call `useGetAuthorizationUrlForSsoMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useGetAuthorizationUrlForSsoMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [getAuthorizationUrlForSsoMutation, { data, loading, error }] = useGetAuthorizationUrlForSsoMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useGetAuthorizationUrlForSsoMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(GetAuthorizationUrlForSsoDocument, options); } export type GetAuthorizationUrlForSsoMutationHookResult = ReturnType; export type GetAuthorizationUrlForSsoMutationResult = Apollo.MutationResult; export type GetAuthorizationUrlForSsoMutationOptions = Apollo.BaseMutationOptions; export const GetLoginTokenFromCredentialsDocument = gql` mutation GetLoginTokenFromCredentials($email: String!, $password: String!, $captchaToken: String, $origin: String!) { getLoginTokenFromCredentials( email: $email password: $password captchaToken: $captchaToken origin: $origin ) { loginToken { ...AuthTokenFragment } } } ${AuthTokenFragmentFragmentDoc}`; export type GetLoginTokenFromCredentialsMutationFn = Apollo.MutationFunction; /** * __useGetLoginTokenFromCredentialsMutation__ * * To run a mutation, you first call `useGetLoginTokenFromCredentialsMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useGetLoginTokenFromCredentialsMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [getLoginTokenFromCredentialsMutation, { data, loading, error }] = useGetLoginTokenFromCredentialsMutation({ * variables: { * email: // value for 'email' * password: // value for 'password' * captchaToken: // value for 'captchaToken' * origin: // value for 'origin' * }, * }); */ export function useGetLoginTokenFromCredentialsMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(GetLoginTokenFromCredentialsDocument, options); } export type GetLoginTokenFromCredentialsMutationHookResult = ReturnType; export type GetLoginTokenFromCredentialsMutationResult = Apollo.MutationResult; export type GetLoginTokenFromCredentialsMutationOptions = Apollo.BaseMutationOptions; export const GetLoginTokenFromEmailVerificationTokenDocument = gql` mutation GetLoginTokenFromEmailVerificationToken($emailVerificationToken: String!, $email: String!, $captchaToken: String, $origin: String!) { getLoginTokenFromEmailVerificationToken( emailVerificationToken: $emailVerificationToken email: $email captchaToken: $captchaToken origin: $origin ) { loginToken { ...AuthTokenFragment } workspaceUrls { ...WorkspaceUrlsFragment } } } ${AuthTokenFragmentFragmentDoc} ${WorkspaceUrlsFragmentFragmentDoc}`; export type GetLoginTokenFromEmailVerificationTokenMutationFn = Apollo.MutationFunction; /** * __useGetLoginTokenFromEmailVerificationTokenMutation__ * * To run a mutation, you first call `useGetLoginTokenFromEmailVerificationTokenMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useGetLoginTokenFromEmailVerificationTokenMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [getLoginTokenFromEmailVerificationTokenMutation, { data, loading, error }] = useGetLoginTokenFromEmailVerificationTokenMutation({ * variables: { * emailVerificationToken: // value for 'emailVerificationToken' * email: // value for 'email' * captchaToken: // value for 'captchaToken' * origin: // value for 'origin' * }, * }); */ export function useGetLoginTokenFromEmailVerificationTokenMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(GetLoginTokenFromEmailVerificationTokenDocument, options); } export type GetLoginTokenFromEmailVerificationTokenMutationHookResult = ReturnType; export type GetLoginTokenFromEmailVerificationTokenMutationResult = Apollo.MutationResult; export type GetLoginTokenFromEmailVerificationTokenMutationOptions = Apollo.BaseMutationOptions; export const GetWorkspaceAgnosticTokenFromEmailVerificationTokenDocument = gql` mutation GetWorkspaceAgnosticTokenFromEmailVerificationToken($emailVerificationToken: String!, $email: String!, $captchaToken: String) { getWorkspaceAgnosticTokenFromEmailVerificationToken( emailVerificationToken: $emailVerificationToken email: $email captchaToken: $captchaToken ) { availableWorkspaces { ...AvailableWorkspacesFragment } tokens { ...AuthTokenPairFragment } } } ${AvailableWorkspacesFragmentFragmentDoc} ${AuthTokenPairFragmentFragmentDoc}`; export type GetWorkspaceAgnosticTokenFromEmailVerificationTokenMutationFn = Apollo.MutationFunction; /** * __useGetWorkspaceAgnosticTokenFromEmailVerificationTokenMutation__ * * To run a mutation, you first call `useGetWorkspaceAgnosticTokenFromEmailVerificationTokenMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useGetWorkspaceAgnosticTokenFromEmailVerificationTokenMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [getWorkspaceAgnosticTokenFromEmailVerificationTokenMutation, { data, loading, error }] = useGetWorkspaceAgnosticTokenFromEmailVerificationTokenMutation({ * variables: { * emailVerificationToken: // value for 'emailVerificationToken' * email: // value for 'email' * captchaToken: // value for 'captchaToken' * }, * }); */ export function useGetWorkspaceAgnosticTokenFromEmailVerificationTokenMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(GetWorkspaceAgnosticTokenFromEmailVerificationTokenDocument, options); } export type GetWorkspaceAgnosticTokenFromEmailVerificationTokenMutationHookResult = ReturnType; export type GetWorkspaceAgnosticTokenFromEmailVerificationTokenMutationResult = Apollo.MutationResult; export type GetWorkspaceAgnosticTokenFromEmailVerificationTokenMutationOptions = Apollo.BaseMutationOptions; export const ImpersonateDocument = gql` mutation Impersonate($userId: UUID!, $workspaceId: UUID!) { impersonate(userId: $userId, workspaceId: $workspaceId) { workspace { workspaceUrls { ...WorkspaceUrlsFragment } id } loginToken { ...AuthTokenFragment } } } ${WorkspaceUrlsFragmentFragmentDoc} ${AuthTokenFragmentFragmentDoc}`; export type ImpersonateMutationFn = Apollo.MutationFunction; /** * __useImpersonateMutation__ * * To run a mutation, you first call `useImpersonateMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useImpersonateMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [impersonateMutation, { data, loading, error }] = useImpersonateMutation({ * variables: { * userId: // value for 'userId' * workspaceId: // value for 'workspaceId' * }, * }); */ export function useImpersonateMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(ImpersonateDocument, options); } export type ImpersonateMutationHookResult = ReturnType; export type ImpersonateMutationResult = Apollo.MutationResult; export type ImpersonateMutationOptions = Apollo.BaseMutationOptions; export const InitiateOtpProvisioningDocument = gql` mutation initiateOTPProvisioning($loginToken: String!, $origin: String!) { initiateOTPProvisioning(loginToken: $loginToken, origin: $origin) { uri } } `; export type InitiateOtpProvisioningMutationFn = Apollo.MutationFunction; /** * __useInitiateOtpProvisioningMutation__ * * To run a mutation, you first call `useInitiateOtpProvisioningMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useInitiateOtpProvisioningMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [initiateOtpProvisioningMutation, { data, loading, error }] = useInitiateOtpProvisioningMutation({ * variables: { * loginToken: // value for 'loginToken' * origin: // value for 'origin' * }, * }); */ export function useInitiateOtpProvisioningMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(InitiateOtpProvisioningDocument, options); } export type InitiateOtpProvisioningMutationHookResult = ReturnType; export type InitiateOtpProvisioningMutationResult = Apollo.MutationResult; export type InitiateOtpProvisioningMutationOptions = Apollo.BaseMutationOptions; export const InitiateOtpProvisioningForAuthenticatedUserDocument = gql` mutation initiateOTPProvisioningForAuthenticatedUser { initiateOTPProvisioningForAuthenticatedUser { uri } } `; export type InitiateOtpProvisioningForAuthenticatedUserMutationFn = Apollo.MutationFunction; /** * __useInitiateOtpProvisioningForAuthenticatedUserMutation__ * * To run a mutation, you first call `useInitiateOtpProvisioningForAuthenticatedUserMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useInitiateOtpProvisioningForAuthenticatedUserMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [initiateOtpProvisioningForAuthenticatedUserMutation, { data, loading, error }] = useInitiateOtpProvisioningForAuthenticatedUserMutation({ * variables: { * }, * }); */ export function useInitiateOtpProvisioningForAuthenticatedUserMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(InitiateOtpProvisioningForAuthenticatedUserDocument, options); } export type InitiateOtpProvisioningForAuthenticatedUserMutationHookResult = ReturnType; export type InitiateOtpProvisioningForAuthenticatedUserMutationResult = Apollo.MutationResult; export type InitiateOtpProvisioningForAuthenticatedUserMutationOptions = Apollo.BaseMutationOptions; export const RenewTokenDocument = gql` mutation RenewToken($appToken: String!) { renewToken(appToken: $appToken) { tokens { ...AuthTokenPairFragment } } } ${AuthTokenPairFragmentFragmentDoc}`; export type RenewTokenMutationFn = Apollo.MutationFunction; /** * __useRenewTokenMutation__ * * To run a mutation, you first call `useRenewTokenMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useRenewTokenMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [renewTokenMutation, { data, loading, error }] = useRenewTokenMutation({ * variables: { * appToken: // value for 'appToken' * }, * }); */ export function useRenewTokenMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(RenewTokenDocument, options); } export type RenewTokenMutationHookResult = ReturnType; export type RenewTokenMutationResult = Apollo.MutationResult; export type RenewTokenMutationOptions = Apollo.BaseMutationOptions; export const ResendEmailVerificationTokenDocument = gql` mutation ResendEmailVerificationToken($email: String!, $origin: String!) { resendEmailVerificationToken(email: $email, origin: $origin) { success } } `; export type ResendEmailVerificationTokenMutationFn = Apollo.MutationFunction; /** * __useResendEmailVerificationTokenMutation__ * * To run a mutation, you first call `useResendEmailVerificationTokenMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useResendEmailVerificationTokenMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [resendEmailVerificationTokenMutation, { data, loading, error }] = useResendEmailVerificationTokenMutation({ * variables: { * email: // value for 'email' * origin: // value for 'origin' * }, * }); */ export function useResendEmailVerificationTokenMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(ResendEmailVerificationTokenDocument, options); } export type ResendEmailVerificationTokenMutationHookResult = ReturnType; export type ResendEmailVerificationTokenMutationResult = Apollo.MutationResult; export type ResendEmailVerificationTokenMutationOptions = Apollo.BaseMutationOptions; export const DeleteTwoFactorAuthenticationMethodDocument = gql` mutation deleteTwoFactorAuthenticationMethod($twoFactorAuthenticationMethodId: UUID!) { deleteTwoFactorAuthenticationMethod( twoFactorAuthenticationMethodId: $twoFactorAuthenticationMethodId ) { success } } `; export type DeleteTwoFactorAuthenticationMethodMutationFn = Apollo.MutationFunction; /** * __useDeleteTwoFactorAuthenticationMethodMutation__ * * To run a mutation, you first call `useDeleteTwoFactorAuthenticationMethodMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteTwoFactorAuthenticationMethodMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteTwoFactorAuthenticationMethodMutation, { data, loading, error }] = useDeleteTwoFactorAuthenticationMethodMutation({ * variables: { * twoFactorAuthenticationMethodId: // value for 'twoFactorAuthenticationMethodId' * }, * }); */ export function useDeleteTwoFactorAuthenticationMethodMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteTwoFactorAuthenticationMethodDocument, options); } export type DeleteTwoFactorAuthenticationMethodMutationHookResult = ReturnType; export type DeleteTwoFactorAuthenticationMethodMutationResult = Apollo.MutationResult; export type DeleteTwoFactorAuthenticationMethodMutationOptions = Apollo.BaseMutationOptions; export const SignInDocument = gql` mutation SignIn($email: String!, $password: String!, $captchaToken: String) { signIn(email: $email, password: $password, captchaToken: $captchaToken) { availableWorkspaces { ...AvailableWorkspacesFragment } tokens { ...AuthTokenPairFragment } } } ${AvailableWorkspacesFragmentFragmentDoc} ${AuthTokenPairFragmentFragmentDoc}`; export type SignInMutationFn = Apollo.MutationFunction; /** * __useSignInMutation__ * * To run a mutation, you first call `useSignInMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useSignInMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [signInMutation, { data, loading, error }] = useSignInMutation({ * variables: { * email: // value for 'email' * password: // value for 'password' * captchaToken: // value for 'captchaToken' * }, * }); */ export function useSignInMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(SignInDocument, options); } export type SignInMutationHookResult = ReturnType; export type SignInMutationResult = Apollo.MutationResult; export type SignInMutationOptions = Apollo.BaseMutationOptions; export const SignUpDocument = gql` mutation SignUp($email: String!, $password: String!, $captchaToken: String, $locale: String, $verifyEmailRedirectPath: String) { signUp( email: $email password: $password captchaToken: $captchaToken locale: $locale verifyEmailRedirectPath: $verifyEmailRedirectPath ) { availableWorkspaces { ...AvailableWorkspacesFragment } tokens { ...AuthTokenPairFragment } } } ${AvailableWorkspacesFragmentFragmentDoc} ${AuthTokenPairFragmentFragmentDoc}`; export type SignUpMutationFn = Apollo.MutationFunction; /** * __useSignUpMutation__ * * To run a mutation, you first call `useSignUpMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useSignUpMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [signUpMutation, { data, loading, error }] = useSignUpMutation({ * variables: { * email: // value for 'email' * password: // value for 'password' * captchaToken: // value for 'captchaToken' * locale: // value for 'locale' * verifyEmailRedirectPath: // value for 'verifyEmailRedirectPath' * }, * }); */ export function useSignUpMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(SignUpDocument, options); } export type SignUpMutationHookResult = ReturnType; export type SignUpMutationResult = Apollo.MutationResult; export type SignUpMutationOptions = Apollo.BaseMutationOptions; export const SignUpInNewWorkspaceDocument = gql` mutation SignUpInNewWorkspace { signUpInNewWorkspace { loginToken { ...AuthTokenFragment } workspace { id workspaceUrls { ...WorkspaceUrlsFragment } } } } ${AuthTokenFragmentFragmentDoc} ${WorkspaceUrlsFragmentFragmentDoc}`; export type SignUpInNewWorkspaceMutationFn = Apollo.MutationFunction; /** * __useSignUpInNewWorkspaceMutation__ * * To run a mutation, you first call `useSignUpInNewWorkspaceMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useSignUpInNewWorkspaceMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [signUpInNewWorkspaceMutation, { data, loading, error }] = useSignUpInNewWorkspaceMutation({ * variables: { * }, * }); */ export function useSignUpInNewWorkspaceMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(SignUpInNewWorkspaceDocument, options); } export type SignUpInNewWorkspaceMutationHookResult = ReturnType; export type SignUpInNewWorkspaceMutationResult = Apollo.MutationResult; export type SignUpInNewWorkspaceMutationOptions = Apollo.BaseMutationOptions; export const SignUpInWorkspaceDocument = gql` mutation SignUpInWorkspace($email: String!, $password: String!, $workspaceInviteHash: String, $workspacePersonalInviteToken: String = null, $captchaToken: String, $workspaceId: UUID, $locale: String, $verifyEmailRedirectPath: String) { signUpInWorkspace( email: $email password: $password workspaceInviteHash: $workspaceInviteHash workspacePersonalInviteToken: $workspacePersonalInviteToken captchaToken: $captchaToken workspaceId: $workspaceId locale: $locale verifyEmailRedirectPath: $verifyEmailRedirectPath ) { loginToken { ...AuthTokenFragment } workspace { id workspaceUrls { subdomainUrl customUrl } } } } ${AuthTokenFragmentFragmentDoc}`; export type SignUpInWorkspaceMutationFn = Apollo.MutationFunction; /** * __useSignUpInWorkspaceMutation__ * * To run a mutation, you first call `useSignUpInWorkspaceMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useSignUpInWorkspaceMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [signUpInWorkspaceMutation, { data, loading, error }] = useSignUpInWorkspaceMutation({ * variables: { * email: // value for 'email' * password: // value for 'password' * workspaceInviteHash: // value for 'workspaceInviteHash' * workspacePersonalInviteToken: // value for 'workspacePersonalInviteToken' * captchaToken: // value for 'captchaToken' * workspaceId: // value for 'workspaceId' * locale: // value for 'locale' * verifyEmailRedirectPath: // value for 'verifyEmailRedirectPath' * }, * }); */ export function useSignUpInWorkspaceMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(SignUpInWorkspaceDocument, options); } export type SignUpInWorkspaceMutationHookResult = ReturnType; export type SignUpInWorkspaceMutationResult = Apollo.MutationResult; export type SignUpInWorkspaceMutationOptions = Apollo.BaseMutationOptions; export const UpdatePasswordViaResetTokenDocument = gql` mutation UpdatePasswordViaResetToken($token: String!, $newPassword: String!) { updatePasswordViaResetToken( passwordResetToken: $token newPassword: $newPassword ) { success } } `; export type UpdatePasswordViaResetTokenMutationFn = Apollo.MutationFunction; /** * __useUpdatePasswordViaResetTokenMutation__ * * To run a mutation, you first call `useUpdatePasswordViaResetTokenMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdatePasswordViaResetTokenMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updatePasswordViaResetTokenMutation, { data, loading, error }] = useUpdatePasswordViaResetTokenMutation({ * variables: { * token: // value for 'token' * newPassword: // value for 'newPassword' * }, * }); */ export function useUpdatePasswordViaResetTokenMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdatePasswordViaResetTokenDocument, options); } export type UpdatePasswordViaResetTokenMutationHookResult = ReturnType; export type UpdatePasswordViaResetTokenMutationResult = Apollo.MutationResult; export type UpdatePasswordViaResetTokenMutationOptions = Apollo.BaseMutationOptions; export const CheckUserExistsDocument = gql` query CheckUserExists($email: String!, $captchaToken: String) { checkUserExists(email: $email, captchaToken: $captchaToken) { exists availableWorkspacesCount isEmailVerified } } `; /** * __useCheckUserExistsQuery__ * * To run a query within a React component, call `useCheckUserExistsQuery` and pass it any options that fit your needs. * When your component renders, `useCheckUserExistsQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useCheckUserExistsQuery({ * variables: { * email: // value for 'email' * captchaToken: // value for 'captchaToken' * }, * }); */ export function useCheckUserExistsQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(CheckUserExistsDocument, options); } export function useCheckUserExistsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(CheckUserExistsDocument, options); } export type CheckUserExistsQueryHookResult = ReturnType; export type CheckUserExistsLazyQueryHookResult = ReturnType; export type CheckUserExistsQueryResult = Apollo.QueryResult; export const GetPublicWorkspaceDataByDomainDocument = gql` query GetPublicWorkspaceDataByDomain($origin: String!) { getPublicWorkspaceDataByDomain(origin: $origin) { id logo displayName workspaceUrls { ...WorkspaceUrlsFragment } authProviders { sso { id name type status issuer } google magicLink password microsoft } } } ${WorkspaceUrlsFragmentFragmentDoc}`; /** * __useGetPublicWorkspaceDataByDomainQuery__ * * To run a query within a React component, call `useGetPublicWorkspaceDataByDomainQuery` and pass it any options that fit your needs. * When your component renders, `useGetPublicWorkspaceDataByDomainQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetPublicWorkspaceDataByDomainQuery({ * variables: { * origin: // value for 'origin' * }, * }); */ export function useGetPublicWorkspaceDataByDomainQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetPublicWorkspaceDataByDomainDocument, options); } export function useGetPublicWorkspaceDataByDomainLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetPublicWorkspaceDataByDomainDocument, options); } export type GetPublicWorkspaceDataByDomainQueryHookResult = ReturnType; export type GetPublicWorkspaceDataByDomainLazyQueryHookResult = ReturnType; export type GetPublicWorkspaceDataByDomainQueryResult = Apollo.QueryResult; export const ValidatePasswordResetTokenDocument = gql` query ValidatePasswordResetToken($token: String!) { validatePasswordResetToken(passwordResetToken: $token) { id email } } `; /** * __useValidatePasswordResetTokenQuery__ * * To run a query within a React component, call `useValidatePasswordResetTokenQuery` and pass it any options that fit your needs. * When your component renders, `useValidatePasswordResetTokenQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useValidatePasswordResetTokenQuery({ * variables: { * token: // value for 'token' * }, * }); */ export function useValidatePasswordResetTokenQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(ValidatePasswordResetTokenDocument, options); } export function useValidatePasswordResetTokenLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(ValidatePasswordResetTokenDocument, options); } export type ValidatePasswordResetTokenQueryHookResult = ReturnType; export type ValidatePasswordResetTokenLazyQueryHookResult = ReturnType; export type ValidatePasswordResetTokenQueryResult = Apollo.QueryResult; export const CancelSwitchBillingIntervalDocument = gql` mutation CancelSwitchBillingInterval { cancelSwitchBillingInterval { currentBillingSubscription { ...CurrentBillingSubscriptionFragment } billingSubscriptions { ...BillingSubscriptionFragment } } } ${CurrentBillingSubscriptionFragmentFragmentDoc} ${BillingSubscriptionFragmentFragmentDoc}`; export type CancelSwitchBillingIntervalMutationFn = Apollo.MutationFunction; /** * __useCancelSwitchBillingIntervalMutation__ * * To run a mutation, you first call `useCancelSwitchBillingIntervalMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCancelSwitchBillingIntervalMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [cancelSwitchBillingIntervalMutation, { data, loading, error }] = useCancelSwitchBillingIntervalMutation({ * variables: { * }, * }); */ export function useCancelSwitchBillingIntervalMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CancelSwitchBillingIntervalDocument, options); } export type CancelSwitchBillingIntervalMutationHookResult = ReturnType; export type CancelSwitchBillingIntervalMutationResult = Apollo.MutationResult; export type CancelSwitchBillingIntervalMutationOptions = Apollo.BaseMutationOptions; export const CancelSwitchMeteredPriceDocument = gql` mutation CancelSwitchMeteredPrice { cancelSwitchMeteredPrice { currentBillingSubscription { ...CurrentBillingSubscriptionFragment } billingSubscriptions { ...BillingSubscriptionFragment } } } ${CurrentBillingSubscriptionFragmentFragmentDoc} ${BillingSubscriptionFragmentFragmentDoc}`; export type CancelSwitchMeteredPriceMutationFn = Apollo.MutationFunction; /** * __useCancelSwitchMeteredPriceMutation__ * * To run a mutation, you first call `useCancelSwitchMeteredPriceMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCancelSwitchMeteredPriceMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [cancelSwitchMeteredPriceMutation, { data, loading, error }] = useCancelSwitchMeteredPriceMutation({ * variables: { * }, * }); */ export function useCancelSwitchMeteredPriceMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CancelSwitchMeteredPriceDocument, options); } export type CancelSwitchMeteredPriceMutationHookResult = ReturnType; export type CancelSwitchMeteredPriceMutationResult = Apollo.MutationResult; export type CancelSwitchMeteredPriceMutationOptions = Apollo.BaseMutationOptions; export const CancelSwitchBillingPlanDocument = gql` mutation CancelSwitchBillingPlan { cancelSwitchBillingPlan { currentBillingSubscription { ...CurrentBillingSubscriptionFragment } billingSubscriptions { ...BillingSubscriptionFragment } } } ${CurrentBillingSubscriptionFragmentFragmentDoc} ${BillingSubscriptionFragmentFragmentDoc}`; export type CancelSwitchBillingPlanMutationFn = Apollo.MutationFunction; /** * __useCancelSwitchBillingPlanMutation__ * * To run a mutation, you first call `useCancelSwitchBillingPlanMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCancelSwitchBillingPlanMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [cancelSwitchBillingPlanMutation, { data, loading, error }] = useCancelSwitchBillingPlanMutation({ * variables: { * }, * }); */ export function useCancelSwitchBillingPlanMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CancelSwitchBillingPlanDocument, options); } export type CancelSwitchBillingPlanMutationHookResult = ReturnType; export type CancelSwitchBillingPlanMutationResult = Apollo.MutationResult; export type CancelSwitchBillingPlanMutationOptions = Apollo.BaseMutationOptions; export const CheckoutSessionDocument = gql` mutation CheckoutSession($recurringInterval: SubscriptionInterval!, $successUrlPath: String, $plan: BillingPlanKey!, $requirePaymentMethod: Boolean!) { checkoutSession( recurringInterval: $recurringInterval successUrlPath: $successUrlPath plan: $plan requirePaymentMethod: $requirePaymentMethod ) { url } } `; export type CheckoutSessionMutationFn = Apollo.MutationFunction; /** * __useCheckoutSessionMutation__ * * To run a mutation, you first call `useCheckoutSessionMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCheckoutSessionMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [checkoutSessionMutation, { data, loading, error }] = useCheckoutSessionMutation({ * variables: { * recurringInterval: // value for 'recurringInterval' * successUrlPath: // value for 'successUrlPath' * plan: // value for 'plan' * requirePaymentMethod: // value for 'requirePaymentMethod' * }, * }); */ export function useCheckoutSessionMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CheckoutSessionDocument, options); } export type CheckoutSessionMutationHookResult = ReturnType; export type CheckoutSessionMutationResult = Apollo.MutationResult; export type CheckoutSessionMutationOptions = Apollo.BaseMutationOptions; export const EndSubscriptionTrialPeriodDocument = gql` mutation EndSubscriptionTrialPeriod { endSubscriptionTrialPeriod { status hasPaymentMethod } } `; export type EndSubscriptionTrialPeriodMutationFn = Apollo.MutationFunction; /** * __useEndSubscriptionTrialPeriodMutation__ * * To run a mutation, you first call `useEndSubscriptionTrialPeriodMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useEndSubscriptionTrialPeriodMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [endSubscriptionTrialPeriodMutation, { data, loading, error }] = useEndSubscriptionTrialPeriodMutation({ * variables: { * }, * }); */ export function useEndSubscriptionTrialPeriodMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(EndSubscriptionTrialPeriodDocument, options); } export type EndSubscriptionTrialPeriodMutationHookResult = ReturnType; export type EndSubscriptionTrialPeriodMutationResult = Apollo.MutationResult; export type EndSubscriptionTrialPeriodMutationOptions = Apollo.BaseMutationOptions; export const SetMeteredSubscriptionPriceDocument = gql` mutation SetMeteredSubscriptionPrice($priceId: String!) { setMeteredSubscriptionPrice(priceId: $priceId) { currentBillingSubscription { ...CurrentBillingSubscriptionFragment } billingSubscriptions { ...BillingSubscriptionFragment } } } ${CurrentBillingSubscriptionFragmentFragmentDoc} ${BillingSubscriptionFragmentFragmentDoc}`; export type SetMeteredSubscriptionPriceMutationFn = Apollo.MutationFunction; /** * __useSetMeteredSubscriptionPriceMutation__ * * To run a mutation, you first call `useSetMeteredSubscriptionPriceMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useSetMeteredSubscriptionPriceMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [setMeteredSubscriptionPriceMutation, { data, loading, error }] = useSetMeteredSubscriptionPriceMutation({ * variables: { * priceId: // value for 'priceId' * }, * }); */ export function useSetMeteredSubscriptionPriceMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(SetMeteredSubscriptionPriceDocument, options); } export type SetMeteredSubscriptionPriceMutationHookResult = ReturnType; export type SetMeteredSubscriptionPriceMutationResult = Apollo.MutationResult; export type SetMeteredSubscriptionPriceMutationOptions = Apollo.BaseMutationOptions; export const SwitchBillingPlanDocument = gql` mutation SwitchBillingPlan { switchBillingPlan { currentBillingSubscription { ...CurrentBillingSubscriptionFragment } billingSubscriptions { ...BillingSubscriptionFragment } } } ${CurrentBillingSubscriptionFragmentFragmentDoc} ${BillingSubscriptionFragmentFragmentDoc}`; export type SwitchBillingPlanMutationFn = Apollo.MutationFunction; /** * __useSwitchBillingPlanMutation__ * * To run a mutation, you first call `useSwitchBillingPlanMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useSwitchBillingPlanMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [switchBillingPlanMutation, { data, loading, error }] = useSwitchBillingPlanMutation({ * variables: { * }, * }); */ export function useSwitchBillingPlanMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(SwitchBillingPlanDocument, options); } export type SwitchBillingPlanMutationHookResult = ReturnType; export type SwitchBillingPlanMutationResult = Apollo.MutationResult; export type SwitchBillingPlanMutationOptions = Apollo.BaseMutationOptions; export const SwitchSubscriptionIntervalDocument = gql` mutation SwitchSubscriptionInterval { switchSubscriptionInterval { currentBillingSubscription { ...CurrentBillingSubscriptionFragment } billingSubscriptions { ...BillingSubscriptionFragment } } } ${CurrentBillingSubscriptionFragmentFragmentDoc} ${BillingSubscriptionFragmentFragmentDoc}`; export type SwitchSubscriptionIntervalMutationFn = Apollo.MutationFunction; /** * __useSwitchSubscriptionIntervalMutation__ * * To run a mutation, you first call `useSwitchSubscriptionIntervalMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useSwitchSubscriptionIntervalMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [switchSubscriptionIntervalMutation, { data, loading, error }] = useSwitchSubscriptionIntervalMutation({ * variables: { * }, * }); */ export function useSwitchSubscriptionIntervalMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(SwitchSubscriptionIntervalDocument, options); } export type SwitchSubscriptionIntervalMutationHookResult = ReturnType; export type SwitchSubscriptionIntervalMutationResult = Apollo.MutationResult; export type SwitchSubscriptionIntervalMutationOptions = Apollo.BaseMutationOptions; export const BillingPortalSessionDocument = gql` query BillingPortalSession($returnUrlPath: String) { billingPortalSession(returnUrlPath: $returnUrlPath) { url } } `; /** * __useBillingPortalSessionQuery__ * * To run a query within a React component, call `useBillingPortalSessionQuery` and pass it any options that fit your needs. * When your component renders, `useBillingPortalSessionQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useBillingPortalSessionQuery({ * variables: { * returnUrlPath: // value for 'returnUrlPath' * }, * }); */ export function useBillingPortalSessionQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(BillingPortalSessionDocument, options); } export function useBillingPortalSessionLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(BillingPortalSessionDocument, options); } export type BillingPortalSessionQueryHookResult = ReturnType; export type BillingPortalSessionLazyQueryHookResult = ReturnType; export type BillingPortalSessionQueryResult = Apollo.QueryResult; export const GetMeteredProductsUsageDocument = gql` query GetMeteredProductsUsage { getMeteredProductsUsage { productKey usedCredits grantedCredits unitPriceCents } } `; /** * __useGetMeteredProductsUsageQuery__ * * To run a query within a React component, call `useGetMeteredProductsUsageQuery` and pass it any options that fit your needs. * When your component renders, `useGetMeteredProductsUsageQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetMeteredProductsUsageQuery({ * variables: { * }, * }); */ export function useGetMeteredProductsUsageQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetMeteredProductsUsageDocument, options); } export function useGetMeteredProductsUsageLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetMeteredProductsUsageDocument, options); } export type GetMeteredProductsUsageQueryHookResult = ReturnType; export type GetMeteredProductsUsageLazyQueryHookResult = ReturnType; export type GetMeteredProductsUsageQueryResult = Apollo.QueryResult; export const ListPlansDocument = gql` query listPlans { listPlans { planKey licensedProducts { name description images metadata { productKey planKey priceUsageBased } ... on BillingLicensedProduct { prices { ...BillingPriceLicensedFragment } } } meteredProducts { name description images metadata { productKey planKey priceUsageBased } ... on BillingMeteredProduct { prices { ...BillingPriceMeteredFragment } } } } } ${BillingPriceLicensedFragmentFragmentDoc} ${BillingPriceMeteredFragmentFragmentDoc}`; /** * __useListPlansQuery__ * * To run a query within a React component, call `useListPlansQuery` and pass it any options that fit your needs. * When your component renders, `useListPlansQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useListPlansQuery({ * variables: { * }, * }); */ export function useListPlansQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(ListPlansDocument, options); } export function useListPlansLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(ListPlansDocument, options); } export type ListPlansQueryHookResult = ReturnType; export type ListPlansLazyQueryHookResult = ReturnType; export type ListPlansQueryResult = Apollo.QueryResult; export const CreateServerDocument = gql` mutation createServer($input: CreateRemoteServerInput!) { createOneRemoteServer(input: $input) { ...RemoteServerFields } } ${RemoteServerFieldsFragmentDoc}`; export type CreateServerMutationFn = Apollo.MutationFunction; /** * __useCreateServerMutation__ * * To run a mutation, you first call `useCreateServerMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateServerMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createServerMutation, { data, loading, error }] = useCreateServerMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateServerMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateServerDocument, options); } export type CreateServerMutationHookResult = ReturnType; export type CreateServerMutationResult = Apollo.MutationResult; export type CreateServerMutationOptions = Apollo.BaseMutationOptions; export const DeleteServerDocument = gql` mutation deleteServer($input: RemoteServerIdInput!) { deleteOneRemoteServer(input: $input) { id } } `; export type DeleteServerMutationFn = Apollo.MutationFunction; /** * __useDeleteServerMutation__ * * To run a mutation, you first call `useDeleteServerMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteServerMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteServerMutation, { data, loading, error }] = useDeleteServerMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useDeleteServerMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteServerDocument, options); } export type DeleteServerMutationHookResult = ReturnType; export type DeleteServerMutationResult = Apollo.MutationResult; export type DeleteServerMutationOptions = Apollo.BaseMutationOptions; export const SyncRemoteTableDocument = gql` mutation syncRemoteTable($input: RemoteTableInput!) { syncRemoteTable(input: $input) { ...RemoteTableFields } } ${RemoteTableFieldsFragmentDoc}`; export type SyncRemoteTableMutationFn = Apollo.MutationFunction; /** * __useSyncRemoteTableMutation__ * * To run a mutation, you first call `useSyncRemoteTableMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useSyncRemoteTableMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [syncRemoteTableMutation, { data, loading, error }] = useSyncRemoteTableMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useSyncRemoteTableMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(SyncRemoteTableDocument, options); } export type SyncRemoteTableMutationHookResult = ReturnType; export type SyncRemoteTableMutationResult = Apollo.MutationResult; export type SyncRemoteTableMutationOptions = Apollo.BaseMutationOptions; export const SyncRemoteTableSchemaChangesDocument = gql` mutation syncRemoteTableSchemaChanges($input: RemoteTableInput!) { syncRemoteTableSchemaChanges(input: $input) { ...RemoteTableFields } } ${RemoteTableFieldsFragmentDoc}`; export type SyncRemoteTableSchemaChangesMutationFn = Apollo.MutationFunction; /** * __useSyncRemoteTableSchemaChangesMutation__ * * To run a mutation, you first call `useSyncRemoteTableSchemaChangesMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useSyncRemoteTableSchemaChangesMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [syncRemoteTableSchemaChangesMutation, { data, loading, error }] = useSyncRemoteTableSchemaChangesMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useSyncRemoteTableSchemaChangesMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(SyncRemoteTableSchemaChangesDocument, options); } export type SyncRemoteTableSchemaChangesMutationHookResult = ReturnType; export type SyncRemoteTableSchemaChangesMutationResult = Apollo.MutationResult; export type SyncRemoteTableSchemaChangesMutationOptions = Apollo.BaseMutationOptions; export const UnsyncRemoteTableDocument = gql` mutation unsyncRemoteTable($input: RemoteTableInput!) { unsyncRemoteTable(input: $input) { ...RemoteTableFields } } ${RemoteTableFieldsFragmentDoc}`; export type UnsyncRemoteTableMutationFn = Apollo.MutationFunction; /** * __useUnsyncRemoteTableMutation__ * * To run a mutation, you first call `useUnsyncRemoteTableMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUnsyncRemoteTableMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [unsyncRemoteTableMutation, { data, loading, error }] = useUnsyncRemoteTableMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useUnsyncRemoteTableMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UnsyncRemoteTableDocument, options); } export type UnsyncRemoteTableMutationHookResult = ReturnType; export type UnsyncRemoteTableMutationResult = Apollo.MutationResult; export type UnsyncRemoteTableMutationOptions = Apollo.BaseMutationOptions; export const UpdateServerDocument = gql` mutation updateServer($input: UpdateRemoteServerInput!) { updateOneRemoteServer(input: $input) { ...RemoteServerFields } } ${RemoteServerFieldsFragmentDoc}`; export type UpdateServerMutationFn = Apollo.MutationFunction; /** * __useUpdateServerMutation__ * * To run a mutation, you first call `useUpdateServerMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateServerMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateServerMutation, { data, loading, error }] = useUpdateServerMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useUpdateServerMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateServerDocument, options); } export type UpdateServerMutationHookResult = ReturnType; export type UpdateServerMutationResult = Apollo.MutationResult; export type UpdateServerMutationOptions = Apollo.BaseMutationOptions; export const GetManyDatabaseConnectionsDocument = gql` query GetManyDatabaseConnections($input: RemoteServerTypeInput!) { findManyRemoteServersByType(input: $input) { ...RemoteServerFields } } ${RemoteServerFieldsFragmentDoc}`; /** * __useGetManyDatabaseConnectionsQuery__ * * To run a query within a React component, call `useGetManyDatabaseConnectionsQuery` and pass it any options that fit your needs. * When your component renders, `useGetManyDatabaseConnectionsQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetManyDatabaseConnectionsQuery({ * variables: { * input: // value for 'input' * }, * }); */ export function useGetManyDatabaseConnectionsQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetManyDatabaseConnectionsDocument, options); } export function useGetManyDatabaseConnectionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetManyDatabaseConnectionsDocument, options); } export type GetManyDatabaseConnectionsQueryHookResult = ReturnType; export type GetManyDatabaseConnectionsLazyQueryHookResult = ReturnType; export type GetManyDatabaseConnectionsQueryResult = Apollo.QueryResult; export const GetManyRemoteTablesDocument = gql` query GetManyRemoteTables($input: FindManyRemoteTablesInput!) { findDistantTablesWithStatus(input: $input) { ...RemoteTableFields } } ${RemoteTableFieldsFragmentDoc}`; /** * __useGetManyRemoteTablesQuery__ * * To run a query within a React component, call `useGetManyRemoteTablesQuery` and pass it any options that fit your needs. * When your component renders, `useGetManyRemoteTablesQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetManyRemoteTablesQuery({ * variables: { * input: // value for 'input' * }, * }); */ export function useGetManyRemoteTablesQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetManyRemoteTablesDocument, options); } export function useGetManyRemoteTablesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetManyRemoteTablesDocument, options); } export type GetManyRemoteTablesQueryHookResult = ReturnType; export type GetManyRemoteTablesLazyQueryHookResult = ReturnType; export type GetManyRemoteTablesQueryResult = Apollo.QueryResult; export const GetOneDatabaseConnectionDocument = gql` query GetOneDatabaseConnection($input: RemoteServerIdInput!) { findOneRemoteServerById(input: $input) { ...RemoteServerFields } } ${RemoteServerFieldsFragmentDoc}`; /** * __useGetOneDatabaseConnectionQuery__ * * To run a query within a React component, call `useGetOneDatabaseConnectionQuery` and pass it any options that fit your needs. * When your component renders, `useGetOneDatabaseConnectionQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetOneDatabaseConnectionQuery({ * variables: { * input: // value for 'input' * }, * }); */ export function useGetOneDatabaseConnectionQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetOneDatabaseConnectionDocument, options); } export function useGetOneDatabaseConnectionLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetOneDatabaseConnectionDocument, options); } export type GetOneDatabaseConnectionQueryHookResult = ReturnType; export type GetOneDatabaseConnectionLazyQueryHookResult = ReturnType; export type GetOneDatabaseConnectionQueryResult = Apollo.QueryResult; export const CreateFileDocument = gql` mutation CreateFile($file: Upload!) { createFile(file: $file) { id name fullPath size type createdAt } } `; export type CreateFileMutationFn = Apollo.MutationFunction; /** * __useCreateFileMutation__ * * To run a mutation, you first call `useCreateFileMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateFileMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createFileMutation, { data, loading, error }] = useCreateFileMutation({ * variables: { * file: // value for 'file' * }, * }); */ export function useCreateFileMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateFileDocument, options); } export type CreateFileMutationHookResult = ReturnType; export type CreateFileMutationResult = Apollo.MutationResult; export type CreateFileMutationOptions = Apollo.BaseMutationOptions; export const DeleteFileDocument = gql` mutation DeleteFile($fileId: UUID!) { deleteFile(fileId: $fileId) { id name fullPath size type createdAt } } `; export type DeleteFileMutationFn = Apollo.MutationFunction; /** * __useDeleteFileMutation__ * * To run a mutation, you first call `useDeleteFileMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteFileMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteFileMutation, { data, loading, error }] = useDeleteFileMutation({ * variables: { * fileId: // value for 'fileId' * }, * }); */ export function useDeleteFileMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteFileDocument, options); } export type DeleteFileMutationHookResult = ReturnType; export type DeleteFileMutationResult = Apollo.MutationResult; export type DeleteFileMutationOptions = Apollo.BaseMutationOptions; export const CreateOneObjectMetadataItemDocument = gql` mutation CreateOneObjectMetadataItem($input: CreateOneObjectInput!) { createOneObject(input: $input) { id nameSingular namePlural labelSingular labelPlural description icon isCustom isActive isSearchable createdAt updatedAt labelIdentifierFieldMetadataId imageIdentifierFieldMetadataId isLabelSyncedWithName } } `; export type CreateOneObjectMetadataItemMutationFn = Apollo.MutationFunction; /** * __useCreateOneObjectMetadataItemMutation__ * * To run a mutation, you first call `useCreateOneObjectMetadataItemMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateOneObjectMetadataItemMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createOneObjectMetadataItemMutation, { data, loading, error }] = useCreateOneObjectMetadataItemMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateOneObjectMetadataItemMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateOneObjectMetadataItemDocument, options); } export type CreateOneObjectMetadataItemMutationHookResult = ReturnType; export type CreateOneObjectMetadataItemMutationResult = Apollo.MutationResult; export type CreateOneObjectMetadataItemMutationOptions = Apollo.BaseMutationOptions; export const CreateOneFieldMetadataItemDocument = gql` mutation CreateOneFieldMetadataItem($input: CreateOneFieldMetadataInput!) { createOneField(input: $input) { id type name label description icon isCustom isActive isUnique isNullable createdAt updatedAt settings defaultValue options isLabelSyncedWithName object { id } } } `; export type CreateOneFieldMetadataItemMutationFn = Apollo.MutationFunction; /** * __useCreateOneFieldMetadataItemMutation__ * * To run a mutation, you first call `useCreateOneFieldMetadataItemMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateOneFieldMetadataItemMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createOneFieldMetadataItemMutation, { data, loading, error }] = useCreateOneFieldMetadataItemMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateOneFieldMetadataItemMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateOneFieldMetadataItemDocument, options); } export type CreateOneFieldMetadataItemMutationHookResult = ReturnType; export type CreateOneFieldMetadataItemMutationResult = Apollo.MutationResult; export type CreateOneFieldMetadataItemMutationOptions = Apollo.BaseMutationOptions; export const UpdateOneFieldMetadataItemDocument = gql` mutation UpdateOneFieldMetadataItem($idToUpdate: UUID!, $updatePayload: UpdateFieldInput!) { updateOneField(input: {id: $idToUpdate, update: $updatePayload}) { id type name label description icon isCustom isActive isUnique isNullable createdAt updatedAt settings isLabelSyncedWithName object { id } } } `; export type UpdateOneFieldMetadataItemMutationFn = Apollo.MutationFunction; /** * __useUpdateOneFieldMetadataItemMutation__ * * To run a mutation, you first call `useUpdateOneFieldMetadataItemMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateOneFieldMetadataItemMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateOneFieldMetadataItemMutation, { data, loading, error }] = useUpdateOneFieldMetadataItemMutation({ * variables: { * idToUpdate: // value for 'idToUpdate' * updatePayload: // value for 'updatePayload' * }, * }); */ export function useUpdateOneFieldMetadataItemMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateOneFieldMetadataItemDocument, options); } export type UpdateOneFieldMetadataItemMutationHookResult = ReturnType; export type UpdateOneFieldMetadataItemMutationResult = Apollo.MutationResult; export type UpdateOneFieldMetadataItemMutationOptions = Apollo.BaseMutationOptions; export const UpdateOneObjectMetadataItemDocument = gql` mutation UpdateOneObjectMetadataItem($idToUpdate: UUID!, $updatePayload: UpdateObjectPayload!) { updateOneObject(input: {id: $idToUpdate, update: $updatePayload}) { id nameSingular namePlural labelSingular labelPlural description icon isCustom isActive isSearchable createdAt updatedAt labelIdentifierFieldMetadataId imageIdentifierFieldMetadataId isLabelSyncedWithName } } `; export type UpdateOneObjectMetadataItemMutationFn = Apollo.MutationFunction; /** * __useUpdateOneObjectMetadataItemMutation__ * * To run a mutation, you first call `useUpdateOneObjectMetadataItemMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateOneObjectMetadataItemMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateOneObjectMetadataItemMutation, { data, loading, error }] = useUpdateOneObjectMetadataItemMutation({ * variables: { * idToUpdate: // value for 'idToUpdate' * updatePayload: // value for 'updatePayload' * }, * }); */ export function useUpdateOneObjectMetadataItemMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateOneObjectMetadataItemDocument, options); } export type UpdateOneObjectMetadataItemMutationHookResult = ReturnType; export type UpdateOneObjectMetadataItemMutationResult = Apollo.MutationResult; export type UpdateOneObjectMetadataItemMutationOptions = Apollo.BaseMutationOptions; export const DeleteOneObjectMetadataItemDocument = gql` mutation DeleteOneObjectMetadataItem($idToDelete: UUID!) { deleteOneObject(input: {id: $idToDelete}) { id nameSingular namePlural labelSingular labelPlural description icon isCustom isActive isSearchable createdAt updatedAt labelIdentifierFieldMetadataId imageIdentifierFieldMetadataId isLabelSyncedWithName } } `; export type DeleteOneObjectMetadataItemMutationFn = Apollo.MutationFunction; /** * __useDeleteOneObjectMetadataItemMutation__ * * To run a mutation, you first call `useDeleteOneObjectMetadataItemMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteOneObjectMetadataItemMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteOneObjectMetadataItemMutation, { data, loading, error }] = useDeleteOneObjectMetadataItemMutation({ * variables: { * idToDelete: // value for 'idToDelete' * }, * }); */ export function useDeleteOneObjectMetadataItemMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteOneObjectMetadataItemDocument, options); } export type DeleteOneObjectMetadataItemMutationHookResult = ReturnType; export type DeleteOneObjectMetadataItemMutationResult = Apollo.MutationResult; export type DeleteOneObjectMetadataItemMutationOptions = Apollo.BaseMutationOptions; export const DeleteOneFieldMetadataItemDocument = gql` mutation DeleteOneFieldMetadataItem($idToDelete: UUID!) { deleteOneField(input: {id: $idToDelete}) { id type name label description icon isCustom isActive isUnique isNullable createdAt updatedAt settings object { id } } } `; export type DeleteOneFieldMetadataItemMutationFn = Apollo.MutationFunction; /** * __useDeleteOneFieldMetadataItemMutation__ * * To run a mutation, you first call `useDeleteOneFieldMetadataItemMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteOneFieldMetadataItemMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteOneFieldMetadataItemMutation, { data, loading, error }] = useDeleteOneFieldMetadataItemMutation({ * variables: { * idToDelete: // value for 'idToDelete' * }, * }); */ export function useDeleteOneFieldMetadataItemMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteOneFieldMetadataItemDocument, options); } export type DeleteOneFieldMetadataItemMutationHookResult = ReturnType; export type DeleteOneFieldMetadataItemMutationResult = Apollo.MutationResult; export type DeleteOneFieldMetadataItemMutationOptions = Apollo.BaseMutationOptions; export const ObjectMetadataItemsDocument = gql` query ObjectMetadataItems { objects(paging: {first: 1000}) { edges { node { id nameSingular namePlural labelSingular labelPlural description icon isCustom isRemote isActive isSystem isUIReadOnly createdAt updatedAt labelIdentifierFieldMetadataId imageIdentifierFieldMetadataId shortcut isLabelSyncedWithName isSearchable duplicateCriteria indexMetadataList { id createdAt updatedAt name indexWhereClause indexType isUnique isCustom indexFieldMetadataList { id fieldMetadataId createdAt updatedAt order } } fieldsList { id type name label description icon isCustom isActive isSystem isUIReadOnly isNullable isUnique createdAt updatedAt defaultValue options settings isLabelSyncedWithName relation { type sourceObjectMetadata { id nameSingular namePlural } targetObjectMetadata { id nameSingular namePlural } sourceFieldMetadata { id name } targetFieldMetadata { id name } } morphRelations { type sourceObjectMetadata { id nameSingular namePlural } targetObjectMetadata { id nameSingular namePlural } sourceFieldMetadata { id name } targetFieldMetadata { id name } } } } } pageInfo { hasNextPage hasPreviousPage startCursor endCursor } } } `; /** * __useObjectMetadataItemsQuery__ * * To run a query within a React component, call `useObjectMetadataItemsQuery` and pass it any options that fit your needs. * When your component renders, `useObjectMetadataItemsQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useObjectMetadataItemsQuery({ * variables: { * }, * }); */ export function useObjectMetadataItemsQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(ObjectMetadataItemsDocument, options); } export function useObjectMetadataItemsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(ObjectMetadataItemsDocument, options); } export type ObjectMetadataItemsQueryHookResult = ReturnType; export type ObjectMetadataItemsLazyQueryHookResult = ReturnType; export type ObjectMetadataItemsQueryResult = Apollo.QueryResult; export const SkipBookOnboardingStepDocument = gql` mutation SkipBookOnboardingStep { skipBookOnboardingStep { success } } `; export type SkipBookOnboardingStepMutationFn = Apollo.MutationFunction; /** * __useSkipBookOnboardingStepMutation__ * * To run a mutation, you first call `useSkipBookOnboardingStepMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useSkipBookOnboardingStepMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [skipBookOnboardingStepMutation, { data, loading, error }] = useSkipBookOnboardingStepMutation({ * variables: { * }, * }); */ export function useSkipBookOnboardingStepMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(SkipBookOnboardingStepDocument, options); } export type SkipBookOnboardingStepMutationHookResult = ReturnType; export type SkipBookOnboardingStepMutationResult = Apollo.MutationResult; export type SkipBookOnboardingStepMutationOptions = Apollo.BaseMutationOptions; export const SkipSyncEmailOnboardingStepDocument = gql` mutation SkipSyncEmailOnboardingStep { skipSyncEmailOnboardingStep { success } } `; export type SkipSyncEmailOnboardingStepMutationFn = Apollo.MutationFunction; /** * __useSkipSyncEmailOnboardingStepMutation__ * * To run a mutation, you first call `useSkipSyncEmailOnboardingStepMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useSkipSyncEmailOnboardingStepMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [skipSyncEmailOnboardingStepMutation, { data, loading, error }] = useSkipSyncEmailOnboardingStepMutation({ * variables: { * }, * }); */ export function useSkipSyncEmailOnboardingStepMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(SkipSyncEmailOnboardingStepDocument, options); } export type SkipSyncEmailOnboardingStepMutationHookResult = ReturnType; export type SkipSyncEmailOnboardingStepMutationResult = Apollo.MutationResult; export type SkipSyncEmailOnboardingStepMutationOptions = Apollo.BaseMutationOptions; export const SaveImapSmtpCaldavAccountDocument = gql` mutation SaveImapSmtpCaldavAccount($accountOwnerId: UUID!, $handle: String!, $connectionParameters: EmailAccountConnectionParameters!, $id: UUID) { saveImapSmtpCaldavAccount( accountOwnerId: $accountOwnerId handle: $handle connectionParameters: $connectionParameters id: $id ) { success } } `; export type SaveImapSmtpCaldavAccountMutationFn = Apollo.MutationFunction; /** * __useSaveImapSmtpCaldavAccountMutation__ * * To run a mutation, you first call `useSaveImapSmtpCaldavAccountMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useSaveImapSmtpCaldavAccountMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [saveImapSmtpCaldavAccountMutation, { data, loading, error }] = useSaveImapSmtpCaldavAccountMutation({ * variables: { * accountOwnerId: // value for 'accountOwnerId' * handle: // value for 'handle' * connectionParameters: // value for 'connectionParameters' * id: // value for 'id' * }, * }); */ export function useSaveImapSmtpCaldavAccountMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(SaveImapSmtpCaldavAccountDocument, options); } export type SaveImapSmtpCaldavAccountMutationHookResult = ReturnType; export type SaveImapSmtpCaldavAccountMutationResult = Apollo.MutationResult; export type SaveImapSmtpCaldavAccountMutationOptions = Apollo.BaseMutationOptions; export const GetConnectedImapSmtpCaldavAccountDocument = gql` query GetConnectedImapSmtpCaldavAccount($id: UUID!) { getConnectedImapSmtpCaldavAccount(id: $id) { id handle provider accountOwnerId connectionParameters { IMAP { host port secure password } SMTP { host username port secure password } CALDAV { host username password } } } } `; /** * __useGetConnectedImapSmtpCaldavAccountQuery__ * * To run a query within a React component, call `useGetConnectedImapSmtpCaldavAccountQuery` and pass it any options that fit your needs. * When your component renders, `useGetConnectedImapSmtpCaldavAccountQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetConnectedImapSmtpCaldavAccountQuery({ * variables: { * id: // value for 'id' * }, * }); */ export function useGetConnectedImapSmtpCaldavAccountQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetConnectedImapSmtpCaldavAccountDocument, options); } export function useGetConnectedImapSmtpCaldavAccountLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetConnectedImapSmtpCaldavAccountDocument, options); } export type GetConnectedImapSmtpCaldavAccountQueryHookResult = ReturnType; export type GetConnectedImapSmtpCaldavAccountLazyQueryHookResult = ReturnType; export type GetConnectedImapSmtpCaldavAccountQueryResult = Apollo.QueryResult; export const CreateDatabaseConfigVariableDocument = gql` mutation CreateDatabaseConfigVariable($key: String!, $value: JSON!) { createDatabaseConfigVariable(key: $key, value: $value) } `; export type CreateDatabaseConfigVariableMutationFn = Apollo.MutationFunction; /** * __useCreateDatabaseConfigVariableMutation__ * * To run a mutation, you first call `useCreateDatabaseConfigVariableMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateDatabaseConfigVariableMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createDatabaseConfigVariableMutation, { data, loading, error }] = useCreateDatabaseConfigVariableMutation({ * variables: { * key: // value for 'key' * value: // value for 'value' * }, * }); */ export function useCreateDatabaseConfigVariableMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateDatabaseConfigVariableDocument, options); } export type CreateDatabaseConfigVariableMutationHookResult = ReturnType; export type CreateDatabaseConfigVariableMutationResult = Apollo.MutationResult; export type CreateDatabaseConfigVariableMutationOptions = Apollo.BaseMutationOptions; export const DeleteDatabaseConfigVariableDocument = gql` mutation DeleteDatabaseConfigVariable($key: String!) { deleteDatabaseConfigVariable(key: $key) } `; export type DeleteDatabaseConfigVariableMutationFn = Apollo.MutationFunction; /** * __useDeleteDatabaseConfigVariableMutation__ * * To run a mutation, you first call `useDeleteDatabaseConfigVariableMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteDatabaseConfigVariableMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteDatabaseConfigVariableMutation, { data, loading, error }] = useDeleteDatabaseConfigVariableMutation({ * variables: { * key: // value for 'key' * }, * }); */ export function useDeleteDatabaseConfigVariableMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteDatabaseConfigVariableDocument, options); } export type DeleteDatabaseConfigVariableMutationHookResult = ReturnType; export type DeleteDatabaseConfigVariableMutationResult = Apollo.MutationResult; export type DeleteDatabaseConfigVariableMutationOptions = Apollo.BaseMutationOptions; export const UpdateDatabaseConfigVariableDocument = gql` mutation UpdateDatabaseConfigVariable($key: String!, $value: JSON!) { updateDatabaseConfigVariable(key: $key, value: $value) } `; export type UpdateDatabaseConfigVariableMutationFn = Apollo.MutationFunction; /** * __useUpdateDatabaseConfigVariableMutation__ * * To run a mutation, you first call `useUpdateDatabaseConfigVariableMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateDatabaseConfigVariableMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateDatabaseConfigVariableMutation, { data, loading, error }] = useUpdateDatabaseConfigVariableMutation({ * variables: { * key: // value for 'key' * value: // value for 'value' * }, * }); */ export function useUpdateDatabaseConfigVariableMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateDatabaseConfigVariableDocument, options); } export type UpdateDatabaseConfigVariableMutationHookResult = ReturnType; export type UpdateDatabaseConfigVariableMutationResult = Apollo.MutationResult; export type UpdateDatabaseConfigVariableMutationOptions = Apollo.BaseMutationOptions; export const GetConfigVariablesGroupedDocument = gql` query GetConfigVariablesGrouped { getConfigVariablesGrouped { groups { name description isHiddenOnLoad variables { name description value isSensitive isEnvOnly type options source } } } } `; /** * __useGetConfigVariablesGroupedQuery__ * * To run a query within a React component, call `useGetConfigVariablesGroupedQuery` and pass it any options that fit your needs. * When your component renders, `useGetConfigVariablesGroupedQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetConfigVariablesGroupedQuery({ * variables: { * }, * }); */ export function useGetConfigVariablesGroupedQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetConfigVariablesGroupedDocument, options); } export function useGetConfigVariablesGroupedLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetConfigVariablesGroupedDocument, options); } export type GetConfigVariablesGroupedQueryHookResult = ReturnType; export type GetConfigVariablesGroupedLazyQueryHookResult = ReturnType; export type GetConfigVariablesGroupedQueryResult = Apollo.QueryResult; export const GetDatabaseConfigVariableDocument = gql` query GetDatabaseConfigVariable($key: String!) { getDatabaseConfigVariable(key: $key) { name description value isSensitive isEnvOnly type options source } } `; /** * __useGetDatabaseConfigVariableQuery__ * * To run a query within a React component, call `useGetDatabaseConfigVariableQuery` and pass it any options that fit your needs. * When your component renders, `useGetDatabaseConfigVariableQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetDatabaseConfigVariableQuery({ * variables: { * key: // value for 'key' * }, * }); */ export function useGetDatabaseConfigVariableQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetDatabaseConfigVariableDocument, options); } export function useGetDatabaseConfigVariableLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetDatabaseConfigVariableDocument, options); } export type GetDatabaseConfigVariableQueryHookResult = ReturnType; export type GetDatabaseConfigVariableLazyQueryHookResult = ReturnType; export type GetDatabaseConfigVariableQueryResult = Apollo.QueryResult; export const UpdateWorkspaceFeatureFlagDocument = gql` mutation UpdateWorkspaceFeatureFlag($workspaceId: UUID!, $featureFlag: String!, $value: Boolean!) { updateWorkspaceFeatureFlag( workspaceId: $workspaceId featureFlag: $featureFlag value: $value ) } `; export type UpdateWorkspaceFeatureFlagMutationFn = Apollo.MutationFunction; /** * __useUpdateWorkspaceFeatureFlagMutation__ * * To run a mutation, you first call `useUpdateWorkspaceFeatureFlagMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateWorkspaceFeatureFlagMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateWorkspaceFeatureFlagMutation, { data, loading, error }] = useUpdateWorkspaceFeatureFlagMutation({ * variables: { * workspaceId: // value for 'workspaceId' * featureFlag: // value for 'featureFlag' * value: // value for 'value' * }, * }); */ export function useUpdateWorkspaceFeatureFlagMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateWorkspaceFeatureFlagDocument, options); } export type UpdateWorkspaceFeatureFlagMutationHookResult = ReturnType; export type UpdateWorkspaceFeatureFlagMutationResult = Apollo.MutationResult; export type UpdateWorkspaceFeatureFlagMutationOptions = Apollo.BaseMutationOptions; export const UserLookupAdminPanelDocument = gql` mutation UserLookupAdminPanel($userIdentifier: String!) { userLookupAdminPanel(userIdentifier: $userIdentifier) { user { id email firstName lastName } workspaces { id name logo totalUsers allowImpersonation workspaceUrls { customUrl subdomainUrl } users { id email firstName lastName } featureFlags { key value } } } } `; export type UserLookupAdminPanelMutationFn = Apollo.MutationFunction; /** * __useUserLookupAdminPanelMutation__ * * To run a mutation, you first call `useUserLookupAdminPanelMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUserLookupAdminPanelMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [userLookupAdminPanelMutation, { data, loading, error }] = useUserLookupAdminPanelMutation({ * variables: { * userIdentifier: // value for 'userIdentifier' * }, * }); */ export function useUserLookupAdminPanelMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UserLookupAdminPanelDocument, options); } export type UserLookupAdminPanelMutationHookResult = ReturnType; export type UserLookupAdminPanelMutationResult = Apollo.MutationResult; export type UserLookupAdminPanelMutationOptions = Apollo.BaseMutationOptions; export const GetVersionInfoDocument = gql` query GetVersionInfo { versionInfo { currentVersion latestVersion } } `; /** * __useGetVersionInfoQuery__ * * To run a query within a React component, call `useGetVersionInfoQuery` and pass it any options that fit your needs. * When your component renders, `useGetVersionInfoQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetVersionInfoQuery({ * variables: { * }, * }); */ export function useGetVersionInfoQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetVersionInfoDocument, options); } export function useGetVersionInfoLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetVersionInfoDocument, options); } export type GetVersionInfoQueryHookResult = ReturnType; export type GetVersionInfoLazyQueryHookResult = ReturnType; export type GetVersionInfoQueryResult = Apollo.QueryResult; export const GetIndicatorHealthStatusDocument = gql` query GetIndicatorHealthStatus($indicatorId: HealthIndicatorId!) { getIndicatorHealthStatus(indicatorId: $indicatorId) { id label description status errorMessage details queues { id queueName status } } } `; /** * __useGetIndicatorHealthStatusQuery__ * * To run a query within a React component, call `useGetIndicatorHealthStatusQuery` and pass it any options that fit your needs. * When your component renders, `useGetIndicatorHealthStatusQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetIndicatorHealthStatusQuery({ * variables: { * indicatorId: // value for 'indicatorId' * }, * }); */ export function useGetIndicatorHealthStatusQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetIndicatorHealthStatusDocument, options); } export function useGetIndicatorHealthStatusLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetIndicatorHealthStatusDocument, options); } export type GetIndicatorHealthStatusQueryHookResult = ReturnType; export type GetIndicatorHealthStatusLazyQueryHookResult = ReturnType; export type GetIndicatorHealthStatusQueryResult = Apollo.QueryResult; export const GetQueueMetricsDocument = gql` query GetQueueMetrics($queueName: String!, $timeRange: QueueMetricsTimeRange) { getQueueMetrics(queueName: $queueName, timeRange: $timeRange) { queueName timeRange workers details { failed completed waiting active delayed failureRate } data { id data { x y } } } } `; /** * __useGetQueueMetricsQuery__ * * To run a query within a React component, call `useGetQueueMetricsQuery` and pass it any options that fit your needs. * When your component renders, `useGetQueueMetricsQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetQueueMetricsQuery({ * variables: { * queueName: // value for 'queueName' * timeRange: // value for 'timeRange' * }, * }); */ export function useGetQueueMetricsQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetQueueMetricsDocument, options); } export function useGetQueueMetricsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetQueueMetricsDocument, options); } export type GetQueueMetricsQueryHookResult = ReturnType; export type GetQueueMetricsLazyQueryHookResult = ReturnType; export type GetQueueMetricsQueryResult = Apollo.QueryResult; export const GetSystemHealthStatusDocument = gql` query GetSystemHealthStatus { getSystemHealthStatus { services { id label status } } } `; /** * __useGetSystemHealthStatusQuery__ * * To run a query within a React component, call `useGetSystemHealthStatusQuery` and pass it any options that fit your needs. * When your component renders, `useGetSystemHealthStatusQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetSystemHealthStatusQuery({ * variables: { * }, * }); */ export function useGetSystemHealthStatusQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetSystemHealthStatusDocument, options); } export function useGetSystemHealthStatusLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetSystemHealthStatusDocument, options); } export type GetSystemHealthStatusQueryHookResult = ReturnType; export type GetSystemHealthStatusLazyQueryHookResult = ReturnType; export type GetSystemHealthStatusQueryResult = Apollo.QueryResult; export const AssignRoleToApiKeyDocument = gql` mutation AssignRoleToApiKey($apiKeyId: UUID!, $roleId: UUID!) { assignRoleToApiKey(apiKeyId: $apiKeyId, roleId: $roleId) } `; export type AssignRoleToApiKeyMutationFn = Apollo.MutationFunction; /** * __useAssignRoleToApiKeyMutation__ * * To run a mutation, you first call `useAssignRoleToApiKeyMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useAssignRoleToApiKeyMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [assignRoleToApiKeyMutation, { data, loading, error }] = useAssignRoleToApiKeyMutation({ * variables: { * apiKeyId: // value for 'apiKeyId' * roleId: // value for 'roleId' * }, * }); */ export function useAssignRoleToApiKeyMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(AssignRoleToApiKeyDocument, options); } export type AssignRoleToApiKeyMutationHookResult = ReturnType; export type AssignRoleToApiKeyMutationResult = Apollo.MutationResult; export type AssignRoleToApiKeyMutationOptions = Apollo.BaseMutationOptions; export const CreateApiKeyDocument = gql` mutation CreateApiKey($input: CreateApiKeyDTO!) { createApiKey(input: $input) { ...ApiKeyFragment } } ${ApiKeyFragmentFragmentDoc}`; export type CreateApiKeyMutationFn = Apollo.MutationFunction; /** * __useCreateApiKeyMutation__ * * To run a mutation, you first call `useCreateApiKeyMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateApiKeyMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createApiKeyMutation, { data, loading, error }] = useCreateApiKeyMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateApiKeyMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateApiKeyDocument, options); } export type CreateApiKeyMutationHookResult = ReturnType; export type CreateApiKeyMutationResult = Apollo.MutationResult; export type CreateApiKeyMutationOptions = Apollo.BaseMutationOptions; export const CreateWebhookDocument = gql` mutation CreateWebhook($input: CreateWebhookDTO!) { createWebhook(input: $input) { ...WebhookFragment } } ${WebhookFragmentFragmentDoc}`; export type CreateWebhookMutationFn = Apollo.MutationFunction; /** * __useCreateWebhookMutation__ * * To run a mutation, you first call `useCreateWebhookMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateWebhookMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createWebhookMutation, { data, loading, error }] = useCreateWebhookMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateWebhookMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateWebhookDocument, options); } export type CreateWebhookMutationHookResult = ReturnType; export type CreateWebhookMutationResult = Apollo.MutationResult; export type CreateWebhookMutationOptions = Apollo.BaseMutationOptions; export const DeleteWebhookDocument = gql` mutation DeleteWebhook($input: DeleteWebhookDTO!) { deleteWebhook(input: $input) } `; export type DeleteWebhookMutationFn = Apollo.MutationFunction; /** * __useDeleteWebhookMutation__ * * To run a mutation, you first call `useDeleteWebhookMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteWebhookMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteWebhookMutation, { data, loading, error }] = useDeleteWebhookMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useDeleteWebhookMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteWebhookDocument, options); } export type DeleteWebhookMutationHookResult = ReturnType; export type DeleteWebhookMutationResult = Apollo.MutationResult; export type DeleteWebhookMutationOptions = Apollo.BaseMutationOptions; export const RevokeApiKeyDocument = gql` mutation RevokeApiKey($input: RevokeApiKeyDTO!) { revokeApiKey(input: $input) { id } } `; export type RevokeApiKeyMutationFn = Apollo.MutationFunction; /** * __useRevokeApiKeyMutation__ * * To run a mutation, you first call `useRevokeApiKeyMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useRevokeApiKeyMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [revokeApiKeyMutation, { data, loading, error }] = useRevokeApiKeyMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useRevokeApiKeyMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(RevokeApiKeyDocument, options); } export type RevokeApiKeyMutationHookResult = ReturnType; export type RevokeApiKeyMutationResult = Apollo.MutationResult; export type RevokeApiKeyMutationOptions = Apollo.BaseMutationOptions; export const UpdateApiKeyDocument = gql` mutation UpdateApiKey($input: UpdateApiKeyDTO!) { updateApiKey(input: $input) { ...ApiKeyFragment } } ${ApiKeyFragmentFragmentDoc}`; export type UpdateApiKeyMutationFn = Apollo.MutationFunction; /** * __useUpdateApiKeyMutation__ * * To run a mutation, you first call `useUpdateApiKeyMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateApiKeyMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateApiKeyMutation, { data, loading, error }] = useUpdateApiKeyMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useUpdateApiKeyMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateApiKeyDocument, options); } export type UpdateApiKeyMutationHookResult = ReturnType; export type UpdateApiKeyMutationResult = Apollo.MutationResult; export type UpdateApiKeyMutationOptions = Apollo.BaseMutationOptions; export const UpdateWebhookDocument = gql` mutation UpdateWebhook($input: UpdateWebhookDTO!) { updateWebhook(input: $input) { ...WebhookFragment } } ${WebhookFragmentFragmentDoc}`; export type UpdateWebhookMutationFn = Apollo.MutationFunction; /** * __useUpdateWebhookMutation__ * * To run a mutation, you first call `useUpdateWebhookMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateWebhookMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateWebhookMutation, { data, loading, error }] = useUpdateWebhookMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useUpdateWebhookMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateWebhookDocument, options); } export type UpdateWebhookMutationHookResult = ReturnType; export type UpdateWebhookMutationResult = Apollo.MutationResult; export type UpdateWebhookMutationOptions = Apollo.BaseMutationOptions; export const GetApiKeyDocument = gql` query GetApiKey($input: GetApiKeyDTO!) { apiKey(input: $input) { ...ApiKeyFragment createdAt } } ${ApiKeyFragmentFragmentDoc}`; /** * __useGetApiKeyQuery__ * * To run a query within a React component, call `useGetApiKeyQuery` and pass it any options that fit your needs. * When your component renders, `useGetApiKeyQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetApiKeyQuery({ * variables: { * input: // value for 'input' * }, * }); */ export function useGetApiKeyQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetApiKeyDocument, options); } export function useGetApiKeyLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetApiKeyDocument, options); } export type GetApiKeyQueryHookResult = ReturnType; export type GetApiKeyLazyQueryHookResult = ReturnType; export type GetApiKeyQueryResult = Apollo.QueryResult; export const GetApiKeysDocument = gql` query GetApiKeys { apiKeys { ...ApiKeyFragment } } ${ApiKeyFragmentFragmentDoc}`; /** * __useGetApiKeysQuery__ * * To run a query within a React component, call `useGetApiKeysQuery` and pass it any options that fit your needs. * When your component renders, `useGetApiKeysQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetApiKeysQuery({ * variables: { * }, * }); */ export function useGetApiKeysQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetApiKeysDocument, options); } export function useGetApiKeysLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetApiKeysDocument, options); } export type GetApiKeysQueryHookResult = ReturnType; export type GetApiKeysLazyQueryHookResult = ReturnType; export type GetApiKeysQueryResult = Apollo.QueryResult; export const GetWebhookDocument = gql` query GetWebhook($input: GetWebhookDTO!) { webhook(input: $input) { ...WebhookFragment } } ${WebhookFragmentFragmentDoc}`; /** * __useGetWebhookQuery__ * * To run a query within a React component, call `useGetWebhookQuery` and pass it any options that fit your needs. * When your component renders, `useGetWebhookQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetWebhookQuery({ * variables: { * input: // value for 'input' * }, * }); */ export function useGetWebhookQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetWebhookDocument, options); } export function useGetWebhookLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetWebhookDocument, options); } export type GetWebhookQueryHookResult = ReturnType; export type GetWebhookLazyQueryHookResult = ReturnType; export type GetWebhookQueryResult = Apollo.QueryResult; export const GetWebhooksDocument = gql` query GetWebhooks { webhooks { ...WebhookFragment } } ${WebhookFragmentFragmentDoc}`; /** * __useGetWebhooksQuery__ * * To run a query within a React component, call `useGetWebhooksQuery` and pass it any options that fit your needs. * When your component renders, `useGetWebhooksQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetWebhooksQuery({ * variables: { * }, * }); */ export function useGetWebhooksQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetWebhooksDocument, options); } export function useGetWebhooksLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetWebhooksDocument, options); } export type GetWebhooksQueryHookResult = ReturnType; export type GetWebhooksLazyQueryHookResult = ReturnType; export type GetWebhooksQueryResult = Apollo.QueryResult; export const CheckPublicDomainValidRecordsDocument = gql` mutation CheckPublicDomainValidRecords($domain: String!) { checkPublicDomainValidRecords(domain: $domain) { id domain records { type key value validationType status } } } `; export type CheckPublicDomainValidRecordsMutationFn = Apollo.MutationFunction; /** * __useCheckPublicDomainValidRecordsMutation__ * * To run a mutation, you first call `useCheckPublicDomainValidRecordsMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCheckPublicDomainValidRecordsMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [checkPublicDomainValidRecordsMutation, { data, loading, error }] = useCheckPublicDomainValidRecordsMutation({ * variables: { * domain: // value for 'domain' * }, * }); */ export function useCheckPublicDomainValidRecordsMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CheckPublicDomainValidRecordsDocument, options); } export type CheckPublicDomainValidRecordsMutationHookResult = ReturnType; export type CheckPublicDomainValidRecordsMutationResult = Apollo.MutationResult; export type CheckPublicDomainValidRecordsMutationOptions = Apollo.BaseMutationOptions; export const CreatePublicDomainDocument = gql` mutation CreatePublicDomain($domain: String!) { createPublicDomain(domain: $domain) { id domain isValidated createdAt } } `; export type CreatePublicDomainMutationFn = Apollo.MutationFunction; /** * __useCreatePublicDomainMutation__ * * To run a mutation, you first call `useCreatePublicDomainMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreatePublicDomainMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createPublicDomainMutation, { data, loading, error }] = useCreatePublicDomainMutation({ * variables: { * domain: // value for 'domain' * }, * }); */ export function useCreatePublicDomainMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreatePublicDomainDocument, options); } export type CreatePublicDomainMutationHookResult = ReturnType; export type CreatePublicDomainMutationResult = Apollo.MutationResult; export type CreatePublicDomainMutationOptions = Apollo.BaseMutationOptions; export const DeletePublicDomainDocument = gql` mutation DeletePublicDomain($domain: String!) { deletePublicDomain(domain: $domain) } `; export type DeletePublicDomainMutationFn = Apollo.MutationFunction; /** * __useDeletePublicDomainMutation__ * * To run a mutation, you first call `useDeletePublicDomainMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeletePublicDomainMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deletePublicDomainMutation, { data, loading, error }] = useDeletePublicDomainMutation({ * variables: { * domain: // value for 'domain' * }, * }); */ export function useDeletePublicDomainMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeletePublicDomainDocument, options); } export type DeletePublicDomainMutationHookResult = ReturnType; export type DeletePublicDomainMutationResult = Apollo.MutationResult; export type DeletePublicDomainMutationOptions = Apollo.BaseMutationOptions; export const FindManyPublicDomainsDocument = gql` query FindManyPublicDomains { findManyPublicDomains { id domain isValidated createdAt } } `; /** * __useFindManyPublicDomainsQuery__ * * To run a query within a React component, call `useFindManyPublicDomainsQuery` and pass it any options that fit your needs. * When your component renders, `useFindManyPublicDomainsQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindManyPublicDomainsQuery({ * variables: { * }, * }); */ export function useFindManyPublicDomainsQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindManyPublicDomainsDocument, options); } export function useFindManyPublicDomainsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindManyPublicDomainsDocument, options); } export type FindManyPublicDomainsQueryHookResult = ReturnType; export type FindManyPublicDomainsLazyQueryHookResult = ReturnType; export type FindManyPublicDomainsQueryResult = Apollo.QueryResult; export const CreateEmailingDomainDocument = gql` mutation CreateEmailingDomain($domain: String!, $driver: EmailingDomainDriver!) { createEmailingDomain(domain: $domain, driver: $driver) { id domain driver status verifiedAt verificationRecords { type key value priority } createdAt updatedAt } } `; export type CreateEmailingDomainMutationFn = Apollo.MutationFunction; /** * __useCreateEmailingDomainMutation__ * * To run a mutation, you first call `useCreateEmailingDomainMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateEmailingDomainMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createEmailingDomainMutation, { data, loading, error }] = useCreateEmailingDomainMutation({ * variables: { * domain: // value for 'domain' * driver: // value for 'driver' * }, * }); */ export function useCreateEmailingDomainMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateEmailingDomainDocument, options); } export type CreateEmailingDomainMutationHookResult = ReturnType; export type CreateEmailingDomainMutationResult = Apollo.MutationResult; export type CreateEmailingDomainMutationOptions = Apollo.BaseMutationOptions; export const DeleteEmailingDomainDocument = gql` mutation DeleteEmailingDomain($id: String!) { deleteEmailingDomain(id: $id) } `; export type DeleteEmailingDomainMutationFn = Apollo.MutationFunction; /** * __useDeleteEmailingDomainMutation__ * * To run a mutation, you first call `useDeleteEmailingDomainMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteEmailingDomainMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteEmailingDomainMutation, { data, loading, error }] = useDeleteEmailingDomainMutation({ * variables: { * id: // value for 'id' * }, * }); */ export function useDeleteEmailingDomainMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteEmailingDomainDocument, options); } export type DeleteEmailingDomainMutationHookResult = ReturnType; export type DeleteEmailingDomainMutationResult = Apollo.MutationResult; export type DeleteEmailingDomainMutationOptions = Apollo.BaseMutationOptions; export const VerifyEmailingDomainDocument = gql` mutation VerifyEmailingDomain($id: String!) { verifyEmailingDomain(id: $id) { id domain driver status verifiedAt createdAt updatedAt } } `; export type VerifyEmailingDomainMutationFn = Apollo.MutationFunction; /** * __useVerifyEmailingDomainMutation__ * * To run a mutation, you first call `useVerifyEmailingDomainMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useVerifyEmailingDomainMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [verifyEmailingDomainMutation, { data, loading, error }] = useVerifyEmailingDomainMutation({ * variables: { * id: // value for 'id' * }, * }); */ export function useVerifyEmailingDomainMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(VerifyEmailingDomainDocument, options); } export type VerifyEmailingDomainMutationHookResult = ReturnType; export type VerifyEmailingDomainMutationResult = Apollo.MutationResult; export type VerifyEmailingDomainMutationOptions = Apollo.BaseMutationOptions; export const GetEmailingDomainsDocument = gql` query GetEmailingDomains { getEmailingDomains { id domain driver status verifiedAt verificationRecords { type key value priority } createdAt updatedAt } } `; /** * __useGetEmailingDomainsQuery__ * * To run a query within a React component, call `useGetEmailingDomainsQuery` and pass it any options that fit your needs. * When your component renders, `useGetEmailingDomainsQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetEmailingDomainsQuery({ * variables: { * }, * }); */ export function useGetEmailingDomainsQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetEmailingDomainsDocument, options); } export function useGetEmailingDomainsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetEmailingDomainsDocument, options); } export type GetEmailingDomainsQueryHookResult = ReturnType; export type GetEmailingDomainsLazyQueryHookResult = ReturnType; export type GetEmailingDomainsQueryResult = Apollo.QueryResult; export const UpdateLabPublicFeatureFlagDocument = gql` mutation UpdateLabPublicFeatureFlag($input: UpdateLabPublicFeatureFlagInput!) { updateLabPublicFeatureFlag(input: $input) { key value } } `; export type UpdateLabPublicFeatureFlagMutationFn = Apollo.MutationFunction; /** * __useUpdateLabPublicFeatureFlagMutation__ * * To run a mutation, you first call `useUpdateLabPublicFeatureFlagMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateLabPublicFeatureFlagMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateLabPublicFeatureFlagMutation, { data, loading, error }] = useUpdateLabPublicFeatureFlagMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useUpdateLabPublicFeatureFlagMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateLabPublicFeatureFlagDocument, options); } export type UpdateLabPublicFeatureFlagMutationHookResult = ReturnType; export type UpdateLabPublicFeatureFlagMutationResult = Apollo.MutationResult; export type UpdateLabPublicFeatureFlagMutationOptions = Apollo.BaseMutationOptions; export const CreateOneRoleDocument = gql` mutation CreateOneRole($createRoleInput: CreateRoleInput!) { createOneRole(createRoleInput: $createRoleInput) { ...RoleFragment } } ${RoleFragmentFragmentDoc}`; export type CreateOneRoleMutationFn = Apollo.MutationFunction; /** * __useCreateOneRoleMutation__ * * To run a mutation, you first call `useCreateOneRoleMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateOneRoleMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createOneRoleMutation, { data, loading, error }] = useCreateOneRoleMutation({ * variables: { * createRoleInput: // value for 'createRoleInput' * }, * }); */ export function useCreateOneRoleMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateOneRoleDocument, options); } export type CreateOneRoleMutationHookResult = ReturnType; export type CreateOneRoleMutationResult = Apollo.MutationResult; export type CreateOneRoleMutationOptions = Apollo.BaseMutationOptions; export const DeleteOneRoleDocument = gql` mutation DeleteOneRole($roleId: UUID!) { deleteOneRole(roleId: $roleId) } `; export type DeleteOneRoleMutationFn = Apollo.MutationFunction; /** * __useDeleteOneRoleMutation__ * * To run a mutation, you first call `useDeleteOneRoleMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteOneRoleMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteOneRoleMutation, { data, loading, error }] = useDeleteOneRoleMutation({ * variables: { * roleId: // value for 'roleId' * }, * }); */ export function useDeleteOneRoleMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteOneRoleDocument, options); } export type DeleteOneRoleMutationHookResult = ReturnType; export type DeleteOneRoleMutationResult = Apollo.MutationResult; export type DeleteOneRoleMutationOptions = Apollo.BaseMutationOptions; export const UpdateOneRoleDocument = gql` mutation UpdateOneRole($updateRoleInput: UpdateRoleInput!) { updateOneRole(updateRoleInput: $updateRoleInput) { ...RoleFragment } } ${RoleFragmentFragmentDoc}`; export type UpdateOneRoleMutationFn = Apollo.MutationFunction; /** * __useUpdateOneRoleMutation__ * * To run a mutation, you first call `useUpdateOneRoleMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateOneRoleMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateOneRoleMutation, { data, loading, error }] = useUpdateOneRoleMutation({ * variables: { * updateRoleInput: // value for 'updateRoleInput' * }, * }); */ export function useUpdateOneRoleMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateOneRoleDocument, options); } export type UpdateOneRoleMutationHookResult = ReturnType; export type UpdateOneRoleMutationResult = Apollo.MutationResult; export type UpdateOneRoleMutationOptions = Apollo.BaseMutationOptions; export const UpdateWorkspaceMemberRoleDocument = gql` mutation UpdateWorkspaceMemberRole($workspaceMemberId: UUID!, $roleId: UUID!) { updateWorkspaceMemberRole( workspaceMemberId: $workspaceMemberId roleId: $roleId ) { ...WorkspaceMemberQueryFragment roles { ...RoleFragment } } } ${WorkspaceMemberQueryFragmentFragmentDoc} ${RoleFragmentFragmentDoc}`; export type UpdateWorkspaceMemberRoleMutationFn = Apollo.MutationFunction; /** * __useUpdateWorkspaceMemberRoleMutation__ * * To run a mutation, you first call `useUpdateWorkspaceMemberRoleMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateWorkspaceMemberRoleMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateWorkspaceMemberRoleMutation, { data, loading, error }] = useUpdateWorkspaceMemberRoleMutation({ * variables: { * workspaceMemberId: // value for 'workspaceMemberId' * roleId: // value for 'roleId' * }, * }); */ export function useUpdateWorkspaceMemberRoleMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateWorkspaceMemberRoleDocument, options); } export type UpdateWorkspaceMemberRoleMutationHookResult = ReturnType; export type UpdateWorkspaceMemberRoleMutationResult = Apollo.MutationResult; export type UpdateWorkspaceMemberRoleMutationOptions = Apollo.BaseMutationOptions; export const UpsertFieldPermissionsDocument = gql` mutation UpsertFieldPermissions($upsertFieldPermissionsInput: UpsertFieldPermissionsInput!) { upsertFieldPermissions( upsertFieldPermissionsInput: $upsertFieldPermissionsInput ) { ...FieldPermissionFragment } } ${FieldPermissionFragmentFragmentDoc}`; export type UpsertFieldPermissionsMutationFn = Apollo.MutationFunction; /** * __useUpsertFieldPermissionsMutation__ * * To run a mutation, you first call `useUpsertFieldPermissionsMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpsertFieldPermissionsMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [upsertFieldPermissionsMutation, { data, loading, error }] = useUpsertFieldPermissionsMutation({ * variables: { * upsertFieldPermissionsInput: // value for 'upsertFieldPermissionsInput' * }, * }); */ export function useUpsertFieldPermissionsMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpsertFieldPermissionsDocument, options); } export type UpsertFieldPermissionsMutationHookResult = ReturnType; export type UpsertFieldPermissionsMutationResult = Apollo.MutationResult; export type UpsertFieldPermissionsMutationOptions = Apollo.BaseMutationOptions; export const UpsertObjectPermissionsDocument = gql` mutation UpsertObjectPermissions($upsertObjectPermissionsInput: UpsertObjectPermissionsInput!) { upsertObjectPermissions( upsertObjectPermissionsInput: $upsertObjectPermissionsInput ) { ...ObjectPermissionFragment } } ${ObjectPermissionFragmentFragmentDoc}`; export type UpsertObjectPermissionsMutationFn = Apollo.MutationFunction; /** * __useUpsertObjectPermissionsMutation__ * * To run a mutation, you first call `useUpsertObjectPermissionsMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpsertObjectPermissionsMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [upsertObjectPermissionsMutation, { data, loading, error }] = useUpsertObjectPermissionsMutation({ * variables: { * upsertObjectPermissionsInput: // value for 'upsertObjectPermissionsInput' * }, * }); */ export function useUpsertObjectPermissionsMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpsertObjectPermissionsDocument, options); } export type UpsertObjectPermissionsMutationHookResult = ReturnType; export type UpsertObjectPermissionsMutationResult = Apollo.MutationResult; export type UpsertObjectPermissionsMutationOptions = Apollo.BaseMutationOptions; export const UpsertPermissionFlagsDocument = gql` mutation UpsertPermissionFlags($upsertPermissionFlagsInput: UpsertPermissionFlagsInput!) { upsertPermissionFlags(upsertPermissionFlagsInput: $upsertPermissionFlagsInput) { ...PermissionFlagFragment } } ${PermissionFlagFragmentFragmentDoc}`; export type UpsertPermissionFlagsMutationFn = Apollo.MutationFunction; /** * __useUpsertPermissionFlagsMutation__ * * To run a mutation, you first call `useUpsertPermissionFlagsMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpsertPermissionFlagsMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [upsertPermissionFlagsMutation, { data, loading, error }] = useUpsertPermissionFlagsMutation({ * variables: { * upsertPermissionFlagsInput: // value for 'upsertPermissionFlagsInput' * }, * }); */ export function useUpsertPermissionFlagsMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpsertPermissionFlagsDocument, options); } export type UpsertPermissionFlagsMutationHookResult = ReturnType; export type UpsertPermissionFlagsMutationResult = Apollo.MutationResult; export type UpsertPermissionFlagsMutationOptions = Apollo.BaseMutationOptions; export const GetRolesDocument = gql` query GetRoles { getRoles { ...RoleFragment workspaceMembers { ...PartialWorkspaceMemberQueryFragment } agents { ...AgentFields } apiKeys { ...ApiKeyForRoleFragment } permissionFlags { ...PermissionFlagFragment } objectPermissions { ...ObjectPermissionFragment } fieldPermissions { ...FieldPermissionFragment } } } ${RoleFragmentFragmentDoc} ${PartialWorkspaceMemberQueryFragmentFragmentDoc} ${AgentFieldsFragmentDoc} ${ApiKeyForRoleFragmentFragmentDoc} ${PermissionFlagFragmentFragmentDoc} ${ObjectPermissionFragmentFragmentDoc} ${FieldPermissionFragmentFragmentDoc}`; /** * __useGetRolesQuery__ * * To run a query within a React component, call `useGetRolesQuery` and pass it any options that fit your needs. * When your component renders, `useGetRolesQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetRolesQuery({ * variables: { * }, * }); */ export function useGetRolesQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetRolesDocument, options); } export function useGetRolesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetRolesDocument, options); } export type GetRolesQueryHookResult = ReturnType; export type GetRolesLazyQueryHookResult = ReturnType; export type GetRolesQueryResult = Apollo.QueryResult; export const CreateApprovedAccessDomainDocument = gql` mutation CreateApprovedAccessDomain($input: CreateApprovedAccessDomainInput!) { createApprovedAccessDomain(input: $input) { id domain isValidated createdAt } } `; export type CreateApprovedAccessDomainMutationFn = Apollo.MutationFunction; /** * __useCreateApprovedAccessDomainMutation__ * * To run a mutation, you first call `useCreateApprovedAccessDomainMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateApprovedAccessDomainMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createApprovedAccessDomainMutation, { data, loading, error }] = useCreateApprovedAccessDomainMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateApprovedAccessDomainMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateApprovedAccessDomainDocument, options); } export type CreateApprovedAccessDomainMutationHookResult = ReturnType; export type CreateApprovedAccessDomainMutationResult = Apollo.MutationResult; export type CreateApprovedAccessDomainMutationOptions = Apollo.BaseMutationOptions; export const CreateOidcIdentityProviderDocument = gql` mutation CreateOIDCIdentityProvider($input: SetupOIDCSsoInput!) { createOIDCIdentityProvider(input: $input) { id type issuer name status } } `; export type CreateOidcIdentityProviderMutationFn = Apollo.MutationFunction; /** * __useCreateOidcIdentityProviderMutation__ * * To run a mutation, you first call `useCreateOidcIdentityProviderMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateOidcIdentityProviderMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createOidcIdentityProviderMutation, { data, loading, error }] = useCreateOidcIdentityProviderMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateOidcIdentityProviderMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateOidcIdentityProviderDocument, options); } export type CreateOidcIdentityProviderMutationHookResult = ReturnType; export type CreateOidcIdentityProviderMutationResult = Apollo.MutationResult; export type CreateOidcIdentityProviderMutationOptions = Apollo.BaseMutationOptions; export const CreateSamlIdentityProviderDocument = gql` mutation CreateSAMLIdentityProvider($input: SetupSAMLSsoInput!) { createSAMLIdentityProvider(input: $input) { id type issuer name status } } `; export type CreateSamlIdentityProviderMutationFn = Apollo.MutationFunction; /** * __useCreateSamlIdentityProviderMutation__ * * To run a mutation, you first call `useCreateSamlIdentityProviderMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateSamlIdentityProviderMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createSamlIdentityProviderMutation, { data, loading, error }] = useCreateSamlIdentityProviderMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateSamlIdentityProviderMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateSamlIdentityProviderDocument, options); } export type CreateSamlIdentityProviderMutationHookResult = ReturnType; export type CreateSamlIdentityProviderMutationResult = Apollo.MutationResult; export type CreateSamlIdentityProviderMutationOptions = Apollo.BaseMutationOptions; export const DeleteApprovedAccessDomainDocument = gql` mutation DeleteApprovedAccessDomain($input: DeleteApprovedAccessDomainInput!) { deleteApprovedAccessDomain(input: $input) } `; export type DeleteApprovedAccessDomainMutationFn = Apollo.MutationFunction; /** * __useDeleteApprovedAccessDomainMutation__ * * To run a mutation, you first call `useDeleteApprovedAccessDomainMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteApprovedAccessDomainMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteApprovedAccessDomainMutation, { data, loading, error }] = useDeleteApprovedAccessDomainMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useDeleteApprovedAccessDomainMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteApprovedAccessDomainDocument, options); } export type DeleteApprovedAccessDomainMutationHookResult = ReturnType; export type DeleteApprovedAccessDomainMutationResult = Apollo.MutationResult; export type DeleteApprovedAccessDomainMutationOptions = Apollo.BaseMutationOptions; export const DeleteSsoIdentityProviderDocument = gql` mutation DeleteSSOIdentityProvider($input: DeleteSsoInput!) { deleteSSOIdentityProvider(input: $input) { identityProviderId } } `; export type DeleteSsoIdentityProviderMutationFn = Apollo.MutationFunction; /** * __useDeleteSsoIdentityProviderMutation__ * * To run a mutation, you first call `useDeleteSsoIdentityProviderMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteSsoIdentityProviderMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteSsoIdentityProviderMutation, { data, loading, error }] = useDeleteSsoIdentityProviderMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useDeleteSsoIdentityProviderMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteSsoIdentityProviderDocument, options); } export type DeleteSsoIdentityProviderMutationHookResult = ReturnType; export type DeleteSsoIdentityProviderMutationResult = Apollo.MutationResult; export type DeleteSsoIdentityProviderMutationOptions = Apollo.BaseMutationOptions; export const EditSsoIdentityProviderDocument = gql` mutation EditSSOIdentityProvider($input: EditSsoInput!) { editSSOIdentityProvider(input: $input) { id type issuer name status } } `; export type EditSsoIdentityProviderMutationFn = Apollo.MutationFunction; /** * __useEditSsoIdentityProviderMutation__ * * To run a mutation, you first call `useEditSsoIdentityProviderMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useEditSsoIdentityProviderMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [editSsoIdentityProviderMutation, { data, loading, error }] = useEditSsoIdentityProviderMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useEditSsoIdentityProviderMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(EditSsoIdentityProviderDocument, options); } export type EditSsoIdentityProviderMutationHookResult = ReturnType; export type EditSsoIdentityProviderMutationResult = Apollo.MutationResult; export type EditSsoIdentityProviderMutationOptions = Apollo.BaseMutationOptions; export const ValidateApprovedAccessDomainDocument = gql` mutation ValidateApprovedAccessDomain($input: ValidateApprovedAccessDomainInput!) { validateApprovedAccessDomain(input: $input) { id isValidated domain createdAt } } `; export type ValidateApprovedAccessDomainMutationFn = Apollo.MutationFunction; /** * __useValidateApprovedAccessDomainMutation__ * * To run a mutation, you first call `useValidateApprovedAccessDomainMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useValidateApprovedAccessDomainMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [validateApprovedAccessDomainMutation, { data, loading, error }] = useValidateApprovedAccessDomainMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useValidateApprovedAccessDomainMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(ValidateApprovedAccessDomainDocument, options); } export type ValidateApprovedAccessDomainMutationHookResult = ReturnType; export type ValidateApprovedAccessDomainMutationResult = Apollo.MutationResult; export type ValidateApprovedAccessDomainMutationOptions = Apollo.BaseMutationOptions; export const GetApprovedAccessDomainsDocument = gql` query GetApprovedAccessDomains { getApprovedAccessDomains { id createdAt domain isValidated } } `; /** * __useGetApprovedAccessDomainsQuery__ * * To run a query within a React component, call `useGetApprovedAccessDomainsQuery` and pass it any options that fit your needs. * When your component renders, `useGetApprovedAccessDomainsQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetApprovedAccessDomainsQuery({ * variables: { * }, * }); */ export function useGetApprovedAccessDomainsQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetApprovedAccessDomainsDocument, options); } export function useGetApprovedAccessDomainsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetApprovedAccessDomainsDocument, options); } export type GetApprovedAccessDomainsQueryHookResult = ReturnType; export type GetApprovedAccessDomainsLazyQueryHookResult = ReturnType; export type GetApprovedAccessDomainsQueryResult = Apollo.QueryResult; export const GetSsoIdentityProvidersDocument = gql` query GetSSOIdentityProviders { getSSOIdentityProviders { type id name issuer status } } `; /** * __useGetSsoIdentityProvidersQuery__ * * To run a query within a React component, call `useGetSsoIdentityProvidersQuery` and pass it any options that fit your needs. * When your component renders, `useGetSsoIdentityProvidersQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetSsoIdentityProvidersQuery({ * variables: { * }, * }); */ export function useGetSsoIdentityProvidersQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetSsoIdentityProvidersDocument, options); } export function useGetSsoIdentityProvidersLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetSsoIdentityProvidersDocument, options); } export type GetSsoIdentityProvidersQueryHookResult = ReturnType; export type GetSsoIdentityProvidersLazyQueryHookResult = ReturnType; export type GetSsoIdentityProvidersQueryResult = Apollo.QueryResult; export const CreateOneServerlessFunctionItemDocument = gql` mutation CreateOneServerlessFunctionItem($input: CreateServerlessFunctionInput!) { createOneServerlessFunction(input: $input) { ...ServerlessFunctionFields } } ${ServerlessFunctionFieldsFragmentDoc}`; export type CreateOneServerlessFunctionItemMutationFn = Apollo.MutationFunction; /** * __useCreateOneServerlessFunctionItemMutation__ * * To run a mutation, you first call `useCreateOneServerlessFunctionItemMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateOneServerlessFunctionItemMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createOneServerlessFunctionItemMutation, { data, loading, error }] = useCreateOneServerlessFunctionItemMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateOneServerlessFunctionItemMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateOneServerlessFunctionItemDocument, options); } export type CreateOneServerlessFunctionItemMutationHookResult = ReturnType; export type CreateOneServerlessFunctionItemMutationResult = Apollo.MutationResult; export type CreateOneServerlessFunctionItemMutationOptions = Apollo.BaseMutationOptions; export const DeleteOneServerlessFunctionDocument = gql` mutation DeleteOneServerlessFunction($input: ServerlessFunctionIdInput!) { deleteOneServerlessFunction(input: $input) { ...ServerlessFunctionFields } } ${ServerlessFunctionFieldsFragmentDoc}`; export type DeleteOneServerlessFunctionMutationFn = Apollo.MutationFunction; /** * __useDeleteOneServerlessFunctionMutation__ * * To run a mutation, you first call `useDeleteOneServerlessFunctionMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteOneServerlessFunctionMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteOneServerlessFunctionMutation, { data, loading, error }] = useDeleteOneServerlessFunctionMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useDeleteOneServerlessFunctionMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteOneServerlessFunctionDocument, options); } export type DeleteOneServerlessFunctionMutationHookResult = ReturnType; export type DeleteOneServerlessFunctionMutationResult = Apollo.MutationResult; export type DeleteOneServerlessFunctionMutationOptions = Apollo.BaseMutationOptions; export const ExecuteOneServerlessFunctionDocument = gql` mutation ExecuteOneServerlessFunction($input: ExecuteServerlessFunctionInput!) { executeOneServerlessFunction(input: $input) { data logs duration status error } } `; export type ExecuteOneServerlessFunctionMutationFn = Apollo.MutationFunction; /** * __useExecuteOneServerlessFunctionMutation__ * * To run a mutation, you first call `useExecuteOneServerlessFunctionMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useExecuteOneServerlessFunctionMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [executeOneServerlessFunctionMutation, { data, loading, error }] = useExecuteOneServerlessFunctionMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useExecuteOneServerlessFunctionMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(ExecuteOneServerlessFunctionDocument, options); } export type ExecuteOneServerlessFunctionMutationHookResult = ReturnType; export type ExecuteOneServerlessFunctionMutationResult = Apollo.MutationResult; export type ExecuteOneServerlessFunctionMutationOptions = Apollo.BaseMutationOptions; export const PublishOneServerlessFunctionDocument = gql` mutation PublishOneServerlessFunction($input: PublishServerlessFunctionInput!) { publishServerlessFunction(input: $input) { ...ServerlessFunctionFields } } ${ServerlessFunctionFieldsFragmentDoc}`; export type PublishOneServerlessFunctionMutationFn = Apollo.MutationFunction; /** * __usePublishOneServerlessFunctionMutation__ * * To run a mutation, you first call `usePublishOneServerlessFunctionMutation` within a React component and pass it any options that fit your needs. * When your component renders, `usePublishOneServerlessFunctionMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [publishOneServerlessFunctionMutation, { data, loading, error }] = usePublishOneServerlessFunctionMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function usePublishOneServerlessFunctionMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(PublishOneServerlessFunctionDocument, options); } export type PublishOneServerlessFunctionMutationHookResult = ReturnType; export type PublishOneServerlessFunctionMutationResult = Apollo.MutationResult; export type PublishOneServerlessFunctionMutationOptions = Apollo.BaseMutationOptions; export const UpdateOneServerlessFunctionDocument = gql` mutation UpdateOneServerlessFunction($input: UpdateServerlessFunctionInput!) { updateOneServerlessFunction(input: $input) { ...ServerlessFunctionFields } } ${ServerlessFunctionFieldsFragmentDoc}`; export type UpdateOneServerlessFunctionMutationFn = Apollo.MutationFunction; /** * __useUpdateOneServerlessFunctionMutation__ * * To run a mutation, you first call `useUpdateOneServerlessFunctionMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateOneServerlessFunctionMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateOneServerlessFunctionMutation, { data, loading, error }] = useUpdateOneServerlessFunctionMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useUpdateOneServerlessFunctionMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateOneServerlessFunctionDocument, options); } export type UpdateOneServerlessFunctionMutationHookResult = ReturnType; export type UpdateOneServerlessFunctionMutationResult = Apollo.MutationResult; export type UpdateOneServerlessFunctionMutationOptions = Apollo.BaseMutationOptions; export const FindManyAvailablePackagesDocument = gql` query FindManyAvailablePackages($input: ServerlessFunctionIdInput!) { getAvailablePackages(input: $input) } `; /** * __useFindManyAvailablePackagesQuery__ * * To run a query within a React component, call `useFindManyAvailablePackagesQuery` and pass it any options that fit your needs. * When your component renders, `useFindManyAvailablePackagesQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindManyAvailablePackagesQuery({ * variables: { * input: // value for 'input' * }, * }); */ export function useFindManyAvailablePackagesQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindManyAvailablePackagesDocument, options); } export function useFindManyAvailablePackagesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindManyAvailablePackagesDocument, options); } export type FindManyAvailablePackagesQueryHookResult = ReturnType; export type FindManyAvailablePackagesLazyQueryHookResult = ReturnType; export type FindManyAvailablePackagesQueryResult = Apollo.QueryResult; export const GetManyServerlessFunctionsDocument = gql` query GetManyServerlessFunctions { findManyServerlessFunctions { ...ServerlessFunctionFields } } ${ServerlessFunctionFieldsFragmentDoc}`; /** * __useGetManyServerlessFunctionsQuery__ * * To run a query within a React component, call `useGetManyServerlessFunctionsQuery` and pass it any options that fit your needs. * When your component renders, `useGetManyServerlessFunctionsQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetManyServerlessFunctionsQuery({ * variables: { * }, * }); */ export function useGetManyServerlessFunctionsQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetManyServerlessFunctionsDocument, options); } export function useGetManyServerlessFunctionsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetManyServerlessFunctionsDocument, options); } export type GetManyServerlessFunctionsQueryHookResult = ReturnType; export type GetManyServerlessFunctionsLazyQueryHookResult = ReturnType; export type GetManyServerlessFunctionsQueryResult = Apollo.QueryResult; export const GetOneServerlessFunctionDocument = gql` query GetOneServerlessFunction($input: ServerlessFunctionIdInput!) { findOneServerlessFunction(input: $input) { ...ServerlessFunctionFields } } ${ServerlessFunctionFieldsFragmentDoc}`; /** * __useGetOneServerlessFunctionQuery__ * * To run a query within a React component, call `useGetOneServerlessFunctionQuery` and pass it any options that fit your needs. * When your component renders, `useGetOneServerlessFunctionQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetOneServerlessFunctionQuery({ * variables: { * input: // value for 'input' * }, * }); */ export function useGetOneServerlessFunctionQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetOneServerlessFunctionDocument, options); } export function useGetOneServerlessFunctionLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetOneServerlessFunctionDocument, options); } export type GetOneServerlessFunctionQueryHookResult = ReturnType; export type GetOneServerlessFunctionLazyQueryHookResult = ReturnType; export type GetOneServerlessFunctionQueryResult = Apollo.QueryResult; export const FindOneServerlessFunctionSourceCodeDocument = gql` query FindOneServerlessFunctionSourceCode($input: GetServerlessFunctionSourceCodeInput!) { getServerlessFunctionSourceCode(input: $input) } `; /** * __useFindOneServerlessFunctionSourceCodeQuery__ * * To run a query within a React component, call `useFindOneServerlessFunctionSourceCodeQuery` and pass it any options that fit your needs. * When your component renders, `useFindOneServerlessFunctionSourceCodeQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindOneServerlessFunctionSourceCodeQuery({ * variables: { * input: // value for 'input' * }, * }); */ export function useFindOneServerlessFunctionSourceCodeQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindOneServerlessFunctionSourceCodeDocument, options); } export function useFindOneServerlessFunctionSourceCodeLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindOneServerlessFunctionSourceCodeDocument, options); } export type FindOneServerlessFunctionSourceCodeQueryHookResult = ReturnType; export type FindOneServerlessFunctionSourceCodeLazyQueryHookResult = ReturnType; export type FindOneServerlessFunctionSourceCodeQueryResult = Apollo.QueryResult; export const VerifyTwoFactorAuthenticationMethodForAuthenticatedUserDocument = gql` mutation verifyTwoFactorAuthenticationMethodForAuthenticatedUser($otp: String!) { verifyTwoFactorAuthenticationMethodForAuthenticatedUser(otp: $otp) { success } } `; export type VerifyTwoFactorAuthenticationMethodForAuthenticatedUserMutationFn = Apollo.MutationFunction; /** * __useVerifyTwoFactorAuthenticationMethodForAuthenticatedUserMutation__ * * To run a mutation, you first call `useVerifyTwoFactorAuthenticationMethodForAuthenticatedUserMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useVerifyTwoFactorAuthenticationMethodForAuthenticatedUserMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [verifyTwoFactorAuthenticationMethodForAuthenticatedUserMutation, { data, loading, error }] = useVerifyTwoFactorAuthenticationMethodForAuthenticatedUserMutation({ * variables: { * otp: // value for 'otp' * }, * }); */ export function useVerifyTwoFactorAuthenticationMethodForAuthenticatedUserMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(VerifyTwoFactorAuthenticationMethodForAuthenticatedUserDocument, options); } export type VerifyTwoFactorAuthenticationMethodForAuthenticatedUserMutationHookResult = ReturnType; export type VerifyTwoFactorAuthenticationMethodForAuthenticatedUserMutationResult = Apollo.MutationResult; export type VerifyTwoFactorAuthenticationMethodForAuthenticatedUserMutationOptions = Apollo.BaseMutationOptions; export const DeleteUserAccountDocument = gql` mutation DeleteUserAccount { deleteUser { id } } `; export type DeleteUserAccountMutationFn = Apollo.MutationFunction; /** * __useDeleteUserAccountMutation__ * * To run a mutation, you first call `useDeleteUserAccountMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteUserAccountMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteUserAccountMutation, { data, loading, error }] = useDeleteUserAccountMutation({ * variables: { * }, * }); */ export function useDeleteUserAccountMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteUserAccountDocument, options); } export type DeleteUserAccountMutationHookResult = ReturnType; export type DeleteUserAccountMutationResult = Apollo.MutationResult; export type DeleteUserAccountMutationOptions = Apollo.BaseMutationOptions; export const UploadProfilePictureDocument = gql` mutation UploadProfilePicture($file: Upload!) { uploadProfilePicture(file: $file) { path token } } `; export type UploadProfilePictureMutationFn = Apollo.MutationFunction; /** * __useUploadProfilePictureMutation__ * * To run a mutation, you first call `useUploadProfilePictureMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUploadProfilePictureMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [uploadProfilePictureMutation, { data, loading, error }] = useUploadProfilePictureMutation({ * variables: { * file: // value for 'file' * }, * }); */ export function useUploadProfilePictureMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UploadProfilePictureDocument, options); } export type UploadProfilePictureMutationHookResult = ReturnType; export type UploadProfilePictureMutationResult = Apollo.MutationResult; export type UploadProfilePictureMutationOptions = Apollo.BaseMutationOptions; export const GetCurrentUserDocument = gql` query GetCurrentUser { currentUser { ...UserQueryFragment } } ${UserQueryFragmentFragmentDoc}`; /** * __useGetCurrentUserQuery__ * * To run a query within a React component, call `useGetCurrentUserQuery` and pass it any options that fit your needs. * When your component renders, `useGetCurrentUserQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetCurrentUserQuery({ * variables: { * }, * }); */ export function useGetCurrentUserQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetCurrentUserDocument, options); } export function useGetCurrentUserLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetCurrentUserDocument, options); } export type GetCurrentUserQueryHookResult = ReturnType; export type GetCurrentUserLazyQueryHookResult = ReturnType; export type GetCurrentUserQueryResult = Apollo.QueryResult; export const CreateCoreViewDocument = gql` mutation CreateCoreView($input: CreateViewInput!) { createCoreView(input: $input) { ...ViewFragment } } ${ViewFragmentFragmentDoc}`; export type CreateCoreViewMutationFn = Apollo.MutationFunction; /** * __useCreateCoreViewMutation__ * * To run a mutation, you first call `useCreateCoreViewMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateCoreViewMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createCoreViewMutation, { data, loading, error }] = useCreateCoreViewMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateCoreViewMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateCoreViewDocument, options); } export type CreateCoreViewMutationHookResult = ReturnType; export type CreateCoreViewMutationResult = Apollo.MutationResult; export type CreateCoreViewMutationOptions = Apollo.BaseMutationOptions; export const CreateCoreViewFieldDocument = gql` mutation CreateCoreViewField($input: CreateViewFieldInput!) { createCoreViewField(input: $input) { ...ViewFieldFragment } } ${ViewFieldFragmentFragmentDoc}`; export type CreateCoreViewFieldMutationFn = Apollo.MutationFunction; /** * __useCreateCoreViewFieldMutation__ * * To run a mutation, you first call `useCreateCoreViewFieldMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateCoreViewFieldMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createCoreViewFieldMutation, { data, loading, error }] = useCreateCoreViewFieldMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateCoreViewFieldMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateCoreViewFieldDocument, options); } export type CreateCoreViewFieldMutationHookResult = ReturnType; export type CreateCoreViewFieldMutationResult = Apollo.MutationResult; export type CreateCoreViewFieldMutationOptions = Apollo.BaseMutationOptions; export const CreateCoreViewFilterDocument = gql` mutation CreateCoreViewFilter($input: CreateViewFilterInput!) { createCoreViewFilter(input: $input) { ...ViewFilterFragment } } ${ViewFilterFragmentFragmentDoc}`; export type CreateCoreViewFilterMutationFn = Apollo.MutationFunction; /** * __useCreateCoreViewFilterMutation__ * * To run a mutation, you first call `useCreateCoreViewFilterMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateCoreViewFilterMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createCoreViewFilterMutation, { data, loading, error }] = useCreateCoreViewFilterMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateCoreViewFilterMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateCoreViewFilterDocument, options); } export type CreateCoreViewFilterMutationHookResult = ReturnType; export type CreateCoreViewFilterMutationResult = Apollo.MutationResult; export type CreateCoreViewFilterMutationOptions = Apollo.BaseMutationOptions; export const CreateCoreViewFilterGroupDocument = gql` mutation CreateCoreViewFilterGroup($input: CreateViewFilterGroupInput!) { createCoreViewFilterGroup(input: $input) { ...ViewFilterGroupFragment } } ${ViewFilterGroupFragmentFragmentDoc}`; export type CreateCoreViewFilterGroupMutationFn = Apollo.MutationFunction; /** * __useCreateCoreViewFilterGroupMutation__ * * To run a mutation, you first call `useCreateCoreViewFilterGroupMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateCoreViewFilterGroupMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createCoreViewFilterGroupMutation, { data, loading, error }] = useCreateCoreViewFilterGroupMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateCoreViewFilterGroupMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateCoreViewFilterGroupDocument, options); } export type CreateCoreViewFilterGroupMutationHookResult = ReturnType; export type CreateCoreViewFilterGroupMutationResult = Apollo.MutationResult; export type CreateCoreViewFilterGroupMutationOptions = Apollo.BaseMutationOptions; export const CreateCoreViewGroupDocument = gql` mutation CreateCoreViewGroup($input: CreateViewGroupInput!) { createCoreViewGroup(input: $input) { ...ViewGroupFragment } } ${ViewGroupFragmentFragmentDoc}`; export type CreateCoreViewGroupMutationFn = Apollo.MutationFunction; /** * __useCreateCoreViewGroupMutation__ * * To run a mutation, you first call `useCreateCoreViewGroupMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateCoreViewGroupMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createCoreViewGroupMutation, { data, loading, error }] = useCreateCoreViewGroupMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateCoreViewGroupMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateCoreViewGroupDocument, options); } export type CreateCoreViewGroupMutationHookResult = ReturnType; export type CreateCoreViewGroupMutationResult = Apollo.MutationResult; export type CreateCoreViewGroupMutationOptions = Apollo.BaseMutationOptions; export const CreateCoreViewSortDocument = gql` mutation CreateCoreViewSort($input: CreateViewSortInput!) { createCoreViewSort(input: $input) { ...ViewSortFragment } } ${ViewSortFragmentFragmentDoc}`; export type CreateCoreViewSortMutationFn = Apollo.MutationFunction; /** * __useCreateCoreViewSortMutation__ * * To run a mutation, you first call `useCreateCoreViewSortMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateCoreViewSortMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createCoreViewSortMutation, { data, loading, error }] = useCreateCoreViewSortMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateCoreViewSortMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateCoreViewSortDocument, options); } export type CreateCoreViewSortMutationHookResult = ReturnType; export type CreateCoreViewSortMutationResult = Apollo.MutationResult; export type CreateCoreViewSortMutationOptions = Apollo.BaseMutationOptions; export const DeleteCoreViewDocument = gql` mutation DeleteCoreView($id: String!) { deleteCoreView(id: $id) } `; export type DeleteCoreViewMutationFn = Apollo.MutationFunction; /** * __useDeleteCoreViewMutation__ * * To run a mutation, you first call `useDeleteCoreViewMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteCoreViewMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteCoreViewMutation, { data, loading, error }] = useDeleteCoreViewMutation({ * variables: { * id: // value for 'id' * }, * }); */ export function useDeleteCoreViewMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteCoreViewDocument, options); } export type DeleteCoreViewMutationHookResult = ReturnType; export type DeleteCoreViewMutationResult = Apollo.MutationResult; export type DeleteCoreViewMutationOptions = Apollo.BaseMutationOptions; export const DeleteCoreViewFieldDocument = gql` mutation DeleteCoreViewField($input: DeleteViewFieldInput!) { deleteCoreViewField(input: $input) { ...ViewFieldFragment } } ${ViewFieldFragmentFragmentDoc}`; export type DeleteCoreViewFieldMutationFn = Apollo.MutationFunction; /** * __useDeleteCoreViewFieldMutation__ * * To run a mutation, you first call `useDeleteCoreViewFieldMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteCoreViewFieldMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteCoreViewFieldMutation, { data, loading, error }] = useDeleteCoreViewFieldMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useDeleteCoreViewFieldMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteCoreViewFieldDocument, options); } export type DeleteCoreViewFieldMutationHookResult = ReturnType; export type DeleteCoreViewFieldMutationResult = Apollo.MutationResult; export type DeleteCoreViewFieldMutationOptions = Apollo.BaseMutationOptions; export const DeleteCoreViewFilterDocument = gql` mutation DeleteCoreViewFilter($id: String!) { deleteCoreViewFilter(id: $id) } `; export type DeleteCoreViewFilterMutationFn = Apollo.MutationFunction; /** * __useDeleteCoreViewFilterMutation__ * * To run a mutation, you first call `useDeleteCoreViewFilterMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteCoreViewFilterMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteCoreViewFilterMutation, { data, loading, error }] = useDeleteCoreViewFilterMutation({ * variables: { * id: // value for 'id' * }, * }); */ export function useDeleteCoreViewFilterMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteCoreViewFilterDocument, options); } export type DeleteCoreViewFilterMutationHookResult = ReturnType; export type DeleteCoreViewFilterMutationResult = Apollo.MutationResult; export type DeleteCoreViewFilterMutationOptions = Apollo.BaseMutationOptions; export const DeleteCoreViewFilterGroupDocument = gql` mutation DeleteCoreViewFilterGroup($id: String!) { deleteCoreViewFilterGroup(id: $id) } `; export type DeleteCoreViewFilterGroupMutationFn = Apollo.MutationFunction; /** * __useDeleteCoreViewFilterGroupMutation__ * * To run a mutation, you first call `useDeleteCoreViewFilterGroupMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteCoreViewFilterGroupMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteCoreViewFilterGroupMutation, { data, loading, error }] = useDeleteCoreViewFilterGroupMutation({ * variables: { * id: // value for 'id' * }, * }); */ export function useDeleteCoreViewFilterGroupMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteCoreViewFilterGroupDocument, options); } export type DeleteCoreViewFilterGroupMutationHookResult = ReturnType; export type DeleteCoreViewFilterGroupMutationResult = Apollo.MutationResult; export type DeleteCoreViewFilterGroupMutationOptions = Apollo.BaseMutationOptions; export const DeleteCoreViewGroupDocument = gql` mutation DeleteCoreViewGroup($id: String!) { deleteCoreViewGroup(id: $id) } `; export type DeleteCoreViewGroupMutationFn = Apollo.MutationFunction; /** * __useDeleteCoreViewGroupMutation__ * * To run a mutation, you first call `useDeleteCoreViewGroupMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteCoreViewGroupMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteCoreViewGroupMutation, { data, loading, error }] = useDeleteCoreViewGroupMutation({ * variables: { * id: // value for 'id' * }, * }); */ export function useDeleteCoreViewGroupMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteCoreViewGroupDocument, options); } export type DeleteCoreViewGroupMutationHookResult = ReturnType; export type DeleteCoreViewGroupMutationResult = Apollo.MutationResult; export type DeleteCoreViewGroupMutationOptions = Apollo.BaseMutationOptions; export const DeleteCoreViewSortDocument = gql` mutation DeleteCoreViewSort($id: String!) { deleteCoreViewSort(id: $id) } `; export type DeleteCoreViewSortMutationFn = Apollo.MutationFunction; /** * __useDeleteCoreViewSortMutation__ * * To run a mutation, you first call `useDeleteCoreViewSortMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteCoreViewSortMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteCoreViewSortMutation, { data, loading, error }] = useDeleteCoreViewSortMutation({ * variables: { * id: // value for 'id' * }, * }); */ export function useDeleteCoreViewSortMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteCoreViewSortDocument, options); } export type DeleteCoreViewSortMutationHookResult = ReturnType; export type DeleteCoreViewSortMutationResult = Apollo.MutationResult; export type DeleteCoreViewSortMutationOptions = Apollo.BaseMutationOptions; export const DestroyCoreViewDocument = gql` mutation DestroyCoreView($id: String!) { destroyCoreView(id: $id) } `; export type DestroyCoreViewMutationFn = Apollo.MutationFunction; /** * __useDestroyCoreViewMutation__ * * To run a mutation, you first call `useDestroyCoreViewMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDestroyCoreViewMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [destroyCoreViewMutation, { data, loading, error }] = useDestroyCoreViewMutation({ * variables: { * id: // value for 'id' * }, * }); */ export function useDestroyCoreViewMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DestroyCoreViewDocument, options); } export type DestroyCoreViewMutationHookResult = ReturnType; export type DestroyCoreViewMutationResult = Apollo.MutationResult; export type DestroyCoreViewMutationOptions = Apollo.BaseMutationOptions; export const DestroyCoreViewFieldDocument = gql` mutation DestroyCoreViewField($input: DestroyViewFieldInput!) { destroyCoreViewField(input: $input) { ...ViewFieldFragment } } ${ViewFieldFragmentFragmentDoc}`; export type DestroyCoreViewFieldMutationFn = Apollo.MutationFunction; /** * __useDestroyCoreViewFieldMutation__ * * To run a mutation, you first call `useDestroyCoreViewFieldMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDestroyCoreViewFieldMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [destroyCoreViewFieldMutation, { data, loading, error }] = useDestroyCoreViewFieldMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useDestroyCoreViewFieldMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DestroyCoreViewFieldDocument, options); } export type DestroyCoreViewFieldMutationHookResult = ReturnType; export type DestroyCoreViewFieldMutationResult = Apollo.MutationResult; export type DestroyCoreViewFieldMutationOptions = Apollo.BaseMutationOptions; export const DestroyCoreViewFilterDocument = gql` mutation DestroyCoreViewFilter($id: String!) { destroyCoreViewFilter(id: $id) } `; export type DestroyCoreViewFilterMutationFn = Apollo.MutationFunction; /** * __useDestroyCoreViewFilterMutation__ * * To run a mutation, you first call `useDestroyCoreViewFilterMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDestroyCoreViewFilterMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [destroyCoreViewFilterMutation, { data, loading, error }] = useDestroyCoreViewFilterMutation({ * variables: { * id: // value for 'id' * }, * }); */ export function useDestroyCoreViewFilterMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DestroyCoreViewFilterDocument, options); } export type DestroyCoreViewFilterMutationHookResult = ReturnType; export type DestroyCoreViewFilterMutationResult = Apollo.MutationResult; export type DestroyCoreViewFilterMutationOptions = Apollo.BaseMutationOptions; export const DestroyCoreViewFilterGroupDocument = gql` mutation DestroyCoreViewFilterGroup($id: String!) { destroyCoreViewFilterGroup(id: $id) } `; export type DestroyCoreViewFilterGroupMutationFn = Apollo.MutationFunction; /** * __useDestroyCoreViewFilterGroupMutation__ * * To run a mutation, you first call `useDestroyCoreViewFilterGroupMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDestroyCoreViewFilterGroupMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [destroyCoreViewFilterGroupMutation, { data, loading, error }] = useDestroyCoreViewFilterGroupMutation({ * variables: { * id: // value for 'id' * }, * }); */ export function useDestroyCoreViewFilterGroupMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DestroyCoreViewFilterGroupDocument, options); } export type DestroyCoreViewFilterGroupMutationHookResult = ReturnType; export type DestroyCoreViewFilterGroupMutationResult = Apollo.MutationResult; export type DestroyCoreViewFilterGroupMutationOptions = Apollo.BaseMutationOptions; export const DestroyCoreViewGroupDocument = gql` mutation DestroyCoreViewGroup($id: String!) { destroyCoreViewGroup(id: $id) } `; export type DestroyCoreViewGroupMutationFn = Apollo.MutationFunction; /** * __useDestroyCoreViewGroupMutation__ * * To run a mutation, you first call `useDestroyCoreViewGroupMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDestroyCoreViewGroupMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [destroyCoreViewGroupMutation, { data, loading, error }] = useDestroyCoreViewGroupMutation({ * variables: { * id: // value for 'id' * }, * }); */ export function useDestroyCoreViewGroupMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DestroyCoreViewGroupDocument, options); } export type DestroyCoreViewGroupMutationHookResult = ReturnType; export type DestroyCoreViewGroupMutationResult = Apollo.MutationResult; export type DestroyCoreViewGroupMutationOptions = Apollo.BaseMutationOptions; export const DestroyCoreViewSortDocument = gql` mutation DestroyCoreViewSort($id: String!) { destroyCoreViewSort(id: $id) } `; export type DestroyCoreViewSortMutationFn = Apollo.MutationFunction; /** * __useDestroyCoreViewSortMutation__ * * To run a mutation, you first call `useDestroyCoreViewSortMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDestroyCoreViewSortMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [destroyCoreViewSortMutation, { data, loading, error }] = useDestroyCoreViewSortMutation({ * variables: { * id: // value for 'id' * }, * }); */ export function useDestroyCoreViewSortMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DestroyCoreViewSortDocument, options); } export type DestroyCoreViewSortMutationHookResult = ReturnType; export type DestroyCoreViewSortMutationResult = Apollo.MutationResult; export type DestroyCoreViewSortMutationOptions = Apollo.BaseMutationOptions; export const UpdateCoreViewDocument = gql` mutation UpdateCoreView($id: String!, $input: UpdateViewInput!) { updateCoreView(id: $id, input: $input) { ...ViewFragment } } ${ViewFragmentFragmentDoc}`; export type UpdateCoreViewMutationFn = Apollo.MutationFunction; /** * __useUpdateCoreViewMutation__ * * To run a mutation, you first call `useUpdateCoreViewMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateCoreViewMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateCoreViewMutation, { data, loading, error }] = useUpdateCoreViewMutation({ * variables: { * id: // value for 'id' * input: // value for 'input' * }, * }); */ export function useUpdateCoreViewMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateCoreViewDocument, options); } export type UpdateCoreViewMutationHookResult = ReturnType; export type UpdateCoreViewMutationResult = Apollo.MutationResult; export type UpdateCoreViewMutationOptions = Apollo.BaseMutationOptions; export const UpdateCoreViewFieldDocument = gql` mutation UpdateCoreViewField($input: UpdateViewFieldInput!) { updateCoreViewField(input: $input) { ...ViewFieldFragment } } ${ViewFieldFragmentFragmentDoc}`; export type UpdateCoreViewFieldMutationFn = Apollo.MutationFunction; /** * __useUpdateCoreViewFieldMutation__ * * To run a mutation, you first call `useUpdateCoreViewFieldMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateCoreViewFieldMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateCoreViewFieldMutation, { data, loading, error }] = useUpdateCoreViewFieldMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useUpdateCoreViewFieldMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateCoreViewFieldDocument, options); } export type UpdateCoreViewFieldMutationHookResult = ReturnType; export type UpdateCoreViewFieldMutationResult = Apollo.MutationResult; export type UpdateCoreViewFieldMutationOptions = Apollo.BaseMutationOptions; export const UpdateCoreViewFilterDocument = gql` mutation UpdateCoreViewFilter($id: String!, $input: UpdateViewFilterInput!) { updateCoreViewFilter(id: $id, input: $input) { ...ViewFilterFragment } } ${ViewFilterFragmentFragmentDoc}`; export type UpdateCoreViewFilterMutationFn = Apollo.MutationFunction; /** * __useUpdateCoreViewFilterMutation__ * * To run a mutation, you first call `useUpdateCoreViewFilterMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateCoreViewFilterMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateCoreViewFilterMutation, { data, loading, error }] = useUpdateCoreViewFilterMutation({ * variables: { * id: // value for 'id' * input: // value for 'input' * }, * }); */ export function useUpdateCoreViewFilterMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateCoreViewFilterDocument, options); } export type UpdateCoreViewFilterMutationHookResult = ReturnType; export type UpdateCoreViewFilterMutationResult = Apollo.MutationResult; export type UpdateCoreViewFilterMutationOptions = Apollo.BaseMutationOptions; export const UpdateCoreViewFilterGroupDocument = gql` mutation UpdateCoreViewFilterGroup($id: String!, $input: UpdateViewFilterGroupInput!) { updateCoreViewFilterGroup(id: $id, input: $input) { ...ViewFilterGroupFragment } } ${ViewFilterGroupFragmentFragmentDoc}`; export type UpdateCoreViewFilterGroupMutationFn = Apollo.MutationFunction; /** * __useUpdateCoreViewFilterGroupMutation__ * * To run a mutation, you first call `useUpdateCoreViewFilterGroupMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateCoreViewFilterGroupMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateCoreViewFilterGroupMutation, { data, loading, error }] = useUpdateCoreViewFilterGroupMutation({ * variables: { * id: // value for 'id' * input: // value for 'input' * }, * }); */ export function useUpdateCoreViewFilterGroupMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateCoreViewFilterGroupDocument, options); } export type UpdateCoreViewFilterGroupMutationHookResult = ReturnType; export type UpdateCoreViewFilterGroupMutationResult = Apollo.MutationResult; export type UpdateCoreViewFilterGroupMutationOptions = Apollo.BaseMutationOptions; export const UpdateCoreViewGroupDocument = gql` mutation UpdateCoreViewGroup($id: String!, $input: UpdateViewGroupInput!) { updateCoreViewGroup(id: $id, input: $input) { ...ViewGroupFragment } } ${ViewGroupFragmentFragmentDoc}`; export type UpdateCoreViewGroupMutationFn = Apollo.MutationFunction; /** * __useUpdateCoreViewGroupMutation__ * * To run a mutation, you first call `useUpdateCoreViewGroupMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateCoreViewGroupMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateCoreViewGroupMutation, { data, loading, error }] = useUpdateCoreViewGroupMutation({ * variables: { * id: // value for 'id' * input: // value for 'input' * }, * }); */ export function useUpdateCoreViewGroupMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateCoreViewGroupDocument, options); } export type UpdateCoreViewGroupMutationHookResult = ReturnType; export type UpdateCoreViewGroupMutationResult = Apollo.MutationResult; export type UpdateCoreViewGroupMutationOptions = Apollo.BaseMutationOptions; export const UpdateCoreViewSortDocument = gql` mutation UpdateCoreViewSort($id: String!, $input: UpdateViewSortInput!) { updateCoreViewSort(id: $id, input: $input) { ...ViewSortFragment } } ${ViewSortFragmentFragmentDoc}`; export type UpdateCoreViewSortMutationFn = Apollo.MutationFunction; /** * __useUpdateCoreViewSortMutation__ * * To run a mutation, you first call `useUpdateCoreViewSortMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateCoreViewSortMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateCoreViewSortMutation, { data, loading, error }] = useUpdateCoreViewSortMutation({ * variables: { * id: // value for 'id' * input: // value for 'input' * }, * }); */ export function useUpdateCoreViewSortMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateCoreViewSortDocument, options); } export type UpdateCoreViewSortMutationHookResult = ReturnType; export type UpdateCoreViewSortMutationResult = Apollo.MutationResult; export type UpdateCoreViewSortMutationOptions = Apollo.BaseMutationOptions; export const FindAllCoreViewsDocument = gql` query FindAllCoreViews { getCoreViews { ...ViewFragment } } ${ViewFragmentFragmentDoc}`; /** * __useFindAllCoreViewsQuery__ * * To run a query within a React component, call `useFindAllCoreViewsQuery` and pass it any options that fit your needs. * When your component renders, `useFindAllCoreViewsQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindAllCoreViewsQuery({ * variables: { * }, * }); */ export function useFindAllCoreViewsQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindAllCoreViewsDocument, options); } export function useFindAllCoreViewsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindAllCoreViewsDocument, options); } export type FindAllCoreViewsQueryHookResult = ReturnType; export type FindAllCoreViewsLazyQueryHookResult = ReturnType; export type FindAllCoreViewsQueryResult = Apollo.QueryResult; export const FindManyCoreViewFieldsDocument = gql` query FindManyCoreViewFields($viewId: String!) { getCoreViewFields(viewId: $viewId) { ...ViewFieldFragment } } ${ViewFieldFragmentFragmentDoc}`; /** * __useFindManyCoreViewFieldsQuery__ * * To run a query within a React component, call `useFindManyCoreViewFieldsQuery` and pass it any options that fit your needs. * When your component renders, `useFindManyCoreViewFieldsQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindManyCoreViewFieldsQuery({ * variables: { * viewId: // value for 'viewId' * }, * }); */ export function useFindManyCoreViewFieldsQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindManyCoreViewFieldsDocument, options); } export function useFindManyCoreViewFieldsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindManyCoreViewFieldsDocument, options); } export type FindManyCoreViewFieldsQueryHookResult = ReturnType; export type FindManyCoreViewFieldsLazyQueryHookResult = ReturnType; export type FindManyCoreViewFieldsQueryResult = Apollo.QueryResult; export const FindManyCoreViewFilterGroupsDocument = gql` query FindManyCoreViewFilterGroups($viewId: String) { getCoreViewFilterGroups(viewId: $viewId) { ...ViewFilterGroupFragment } } ${ViewFilterGroupFragmentFragmentDoc}`; /** * __useFindManyCoreViewFilterGroupsQuery__ * * To run a query within a React component, call `useFindManyCoreViewFilterGroupsQuery` and pass it any options that fit your needs. * When your component renders, `useFindManyCoreViewFilterGroupsQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindManyCoreViewFilterGroupsQuery({ * variables: { * viewId: // value for 'viewId' * }, * }); */ export function useFindManyCoreViewFilterGroupsQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindManyCoreViewFilterGroupsDocument, options); } export function useFindManyCoreViewFilterGroupsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindManyCoreViewFilterGroupsDocument, options); } export type FindManyCoreViewFilterGroupsQueryHookResult = ReturnType; export type FindManyCoreViewFilterGroupsLazyQueryHookResult = ReturnType; export type FindManyCoreViewFilterGroupsQueryResult = Apollo.QueryResult; export const FindManyCoreViewFiltersDocument = gql` query FindManyCoreViewFilters($viewId: String) { getCoreViewFilters(viewId: $viewId) { ...ViewFilterFragment } } ${ViewFilterFragmentFragmentDoc}`; /** * __useFindManyCoreViewFiltersQuery__ * * To run a query within a React component, call `useFindManyCoreViewFiltersQuery` and pass it any options that fit your needs. * When your component renders, `useFindManyCoreViewFiltersQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindManyCoreViewFiltersQuery({ * variables: { * viewId: // value for 'viewId' * }, * }); */ export function useFindManyCoreViewFiltersQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindManyCoreViewFiltersDocument, options); } export function useFindManyCoreViewFiltersLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindManyCoreViewFiltersDocument, options); } export type FindManyCoreViewFiltersQueryHookResult = ReturnType; export type FindManyCoreViewFiltersLazyQueryHookResult = ReturnType; export type FindManyCoreViewFiltersQueryResult = Apollo.QueryResult; export const FindManyCoreViewGroupsDocument = gql` query FindManyCoreViewGroups($viewId: String) { getCoreViewGroups(viewId: $viewId) { ...ViewGroupFragment } } ${ViewGroupFragmentFragmentDoc}`; /** * __useFindManyCoreViewGroupsQuery__ * * To run a query within a React component, call `useFindManyCoreViewGroupsQuery` and pass it any options that fit your needs. * When your component renders, `useFindManyCoreViewGroupsQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindManyCoreViewGroupsQuery({ * variables: { * viewId: // value for 'viewId' * }, * }); */ export function useFindManyCoreViewGroupsQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindManyCoreViewGroupsDocument, options); } export function useFindManyCoreViewGroupsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindManyCoreViewGroupsDocument, options); } export type FindManyCoreViewGroupsQueryHookResult = ReturnType; export type FindManyCoreViewGroupsLazyQueryHookResult = ReturnType; export type FindManyCoreViewGroupsQueryResult = Apollo.QueryResult; export const FindManyCoreViewSortsDocument = gql` query FindManyCoreViewSorts($viewId: String) { getCoreViewSorts(viewId: $viewId) { ...ViewSortFragment } } ${ViewSortFragmentFragmentDoc}`; /** * __useFindManyCoreViewSortsQuery__ * * To run a query within a React component, call `useFindManyCoreViewSortsQuery` and pass it any options that fit your needs. * When your component renders, `useFindManyCoreViewSortsQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindManyCoreViewSortsQuery({ * variables: { * viewId: // value for 'viewId' * }, * }); */ export function useFindManyCoreViewSortsQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindManyCoreViewSortsDocument, options); } export function useFindManyCoreViewSortsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindManyCoreViewSortsDocument, options); } export type FindManyCoreViewSortsQueryHookResult = ReturnType; export type FindManyCoreViewSortsLazyQueryHookResult = ReturnType; export type FindManyCoreViewSortsQueryResult = Apollo.QueryResult; export const FindManyCoreViewsDocument = gql` query FindManyCoreViews($objectMetadataId: String) { getCoreViews(objectMetadataId: $objectMetadataId) { ...ViewFragment } } ${ViewFragmentFragmentDoc}`; /** * __useFindManyCoreViewsQuery__ * * To run a query within a React component, call `useFindManyCoreViewsQuery` and pass it any options that fit your needs. * When your component renders, `useFindManyCoreViewsQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindManyCoreViewsQuery({ * variables: { * objectMetadataId: // value for 'objectMetadataId' * }, * }); */ export function useFindManyCoreViewsQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindManyCoreViewsDocument, options); } export function useFindManyCoreViewsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindManyCoreViewsDocument, options); } export type FindManyCoreViewsQueryHookResult = ReturnType; export type FindManyCoreViewsLazyQueryHookResult = ReturnType; export type FindManyCoreViewsQueryResult = Apollo.QueryResult; export const FindOneCoreViewDocument = gql` query FindOneCoreView($id: String!) { getCoreView(id: $id) { ...ViewFragment } } ${ViewFragmentFragmentDoc}`; /** * __useFindOneCoreViewQuery__ * * To run a query within a React component, call `useFindOneCoreViewQuery` and pass it any options that fit your needs. * When your component renders, `useFindOneCoreViewQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindOneCoreViewQuery({ * variables: { * id: // value for 'id' * }, * }); */ export function useFindOneCoreViewQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindOneCoreViewDocument, options); } export function useFindOneCoreViewLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindOneCoreViewDocument, options); } export type FindOneCoreViewQueryHookResult = ReturnType; export type FindOneCoreViewLazyQueryHookResult = ReturnType; export type FindOneCoreViewQueryResult = Apollo.QueryResult; export const FindOneCoreViewFieldDocument = gql` query FindOneCoreViewField($id: String!) { getCoreViewField(id: $id) { ...ViewFieldFragment } } ${ViewFieldFragmentFragmentDoc}`; /** * __useFindOneCoreViewFieldQuery__ * * To run a query within a React component, call `useFindOneCoreViewFieldQuery` and pass it any options that fit your needs. * When your component renders, `useFindOneCoreViewFieldQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindOneCoreViewFieldQuery({ * variables: { * id: // value for 'id' * }, * }); */ export function useFindOneCoreViewFieldQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindOneCoreViewFieldDocument, options); } export function useFindOneCoreViewFieldLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindOneCoreViewFieldDocument, options); } export type FindOneCoreViewFieldQueryHookResult = ReturnType; export type FindOneCoreViewFieldLazyQueryHookResult = ReturnType; export type FindOneCoreViewFieldQueryResult = Apollo.QueryResult; export const FindOneCoreViewFilterDocument = gql` query FindOneCoreViewFilter($id: String!) { getCoreViewFilter(id: $id) { ...ViewFilterFragment } } ${ViewFilterFragmentFragmentDoc}`; /** * __useFindOneCoreViewFilterQuery__ * * To run a query within a React component, call `useFindOneCoreViewFilterQuery` and pass it any options that fit your needs. * When your component renders, `useFindOneCoreViewFilterQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindOneCoreViewFilterQuery({ * variables: { * id: // value for 'id' * }, * }); */ export function useFindOneCoreViewFilterQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindOneCoreViewFilterDocument, options); } export function useFindOneCoreViewFilterLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindOneCoreViewFilterDocument, options); } export type FindOneCoreViewFilterQueryHookResult = ReturnType; export type FindOneCoreViewFilterLazyQueryHookResult = ReturnType; export type FindOneCoreViewFilterQueryResult = Apollo.QueryResult; export const FindOneCoreViewFilterGroupDocument = gql` query FindOneCoreViewFilterGroup($id: String!) { getCoreViewFilterGroup(id: $id) { ...ViewFilterGroupFragment } } ${ViewFilterGroupFragmentFragmentDoc}`; /** * __useFindOneCoreViewFilterGroupQuery__ * * To run a query within a React component, call `useFindOneCoreViewFilterGroupQuery` and pass it any options that fit your needs. * When your component renders, `useFindOneCoreViewFilterGroupQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindOneCoreViewFilterGroupQuery({ * variables: { * id: // value for 'id' * }, * }); */ export function useFindOneCoreViewFilterGroupQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindOneCoreViewFilterGroupDocument, options); } export function useFindOneCoreViewFilterGroupLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindOneCoreViewFilterGroupDocument, options); } export type FindOneCoreViewFilterGroupQueryHookResult = ReturnType; export type FindOneCoreViewFilterGroupLazyQueryHookResult = ReturnType; export type FindOneCoreViewFilterGroupQueryResult = Apollo.QueryResult; export const FindOneCoreViewGroupDocument = gql` query FindOneCoreViewGroup($id: String!) { getCoreViewGroup(id: $id) { ...ViewGroupFragment } } ${ViewGroupFragmentFragmentDoc}`; /** * __useFindOneCoreViewGroupQuery__ * * To run a query within a React component, call `useFindOneCoreViewGroupQuery` and pass it any options that fit your needs. * When your component renders, `useFindOneCoreViewGroupQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindOneCoreViewGroupQuery({ * variables: { * id: // value for 'id' * }, * }); */ export function useFindOneCoreViewGroupQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindOneCoreViewGroupDocument, options); } export function useFindOneCoreViewGroupLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindOneCoreViewGroupDocument, options); } export type FindOneCoreViewGroupQueryHookResult = ReturnType; export type FindOneCoreViewGroupLazyQueryHookResult = ReturnType; export type FindOneCoreViewGroupQueryResult = Apollo.QueryResult; export const FindOneCoreViewSortDocument = gql` query FindOneCoreViewSort($id: String!) { getCoreViewSort(id: $id) { ...ViewSortFragment } } ${ViewSortFragmentFragmentDoc}`; /** * __useFindOneCoreViewSortQuery__ * * To run a query within a React component, call `useFindOneCoreViewSortQuery` and pass it any options that fit your needs. * When your component renders, `useFindOneCoreViewSortQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useFindOneCoreViewSortQuery({ * variables: { * id: // value for 'id' * }, * }); */ export function useFindOneCoreViewSortQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(FindOneCoreViewSortDocument, options); } export function useFindOneCoreViewSortLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(FindOneCoreViewSortDocument, options); } export type FindOneCoreViewSortQueryHookResult = ReturnType; export type FindOneCoreViewSortLazyQueryHookResult = ReturnType; export type FindOneCoreViewSortQueryResult = Apollo.QueryResult; export const ActivateWorkflowVersionDocument = gql` mutation ActivateWorkflowVersion($workflowVersionId: UUID!) { activateWorkflowVersion(workflowVersionId: $workflowVersionId) } `; export type ActivateWorkflowVersionMutationFn = Apollo.MutationFunction; /** * __useActivateWorkflowVersionMutation__ * * To run a mutation, you first call `useActivateWorkflowVersionMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useActivateWorkflowVersionMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [activateWorkflowVersionMutation, { data, loading, error }] = useActivateWorkflowVersionMutation({ * variables: { * workflowVersionId: // value for 'workflowVersionId' * }, * }); */ export function useActivateWorkflowVersionMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(ActivateWorkflowVersionDocument, options); } export type ActivateWorkflowVersionMutationHookResult = ReturnType; export type ActivateWorkflowVersionMutationResult = Apollo.MutationResult; export type ActivateWorkflowVersionMutationOptions = Apollo.BaseMutationOptions; export const ComputeStepOutputSchemaDocument = gql` mutation ComputeStepOutputSchema($input: ComputeStepOutputSchemaInput!) { computeStepOutputSchema(input: $input) } `; export type ComputeStepOutputSchemaMutationFn = Apollo.MutationFunction; /** * __useComputeStepOutputSchemaMutation__ * * To run a mutation, you first call `useComputeStepOutputSchemaMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useComputeStepOutputSchemaMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [computeStepOutputSchemaMutation, { data, loading, error }] = useComputeStepOutputSchemaMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useComputeStepOutputSchemaMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(ComputeStepOutputSchemaDocument, options); } export type ComputeStepOutputSchemaMutationHookResult = ReturnType; export type ComputeStepOutputSchemaMutationResult = Apollo.MutationResult; export type ComputeStepOutputSchemaMutationOptions = Apollo.BaseMutationOptions; export const CreateDraftFromWorkflowVersionDocument = gql` mutation CreateDraftFromWorkflowVersion($input: CreateDraftFromWorkflowVersionInput!) { createDraftFromWorkflowVersion(input: $input) { id } } `; export type CreateDraftFromWorkflowVersionMutationFn = Apollo.MutationFunction; /** * __useCreateDraftFromWorkflowVersionMutation__ * * To run a mutation, you first call `useCreateDraftFromWorkflowVersionMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateDraftFromWorkflowVersionMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createDraftFromWorkflowVersionMutation, { data, loading, error }] = useCreateDraftFromWorkflowVersionMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateDraftFromWorkflowVersionMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateDraftFromWorkflowVersionDocument, options); } export type CreateDraftFromWorkflowVersionMutationHookResult = ReturnType; export type CreateDraftFromWorkflowVersionMutationResult = Apollo.MutationResult; export type CreateDraftFromWorkflowVersionMutationOptions = Apollo.BaseMutationOptions; export const CreateWorkflowVersionEdgeDocument = gql` mutation CreateWorkflowVersionEdge($input: CreateWorkflowVersionEdgeInput!) { createWorkflowVersionEdge(input: $input) { ...WorkflowDiffFragment } } ${WorkflowDiffFragmentFragmentDoc}`; export type CreateWorkflowVersionEdgeMutationFn = Apollo.MutationFunction; /** * __useCreateWorkflowVersionEdgeMutation__ * * To run a mutation, you first call `useCreateWorkflowVersionEdgeMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateWorkflowVersionEdgeMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createWorkflowVersionEdgeMutation, { data, loading, error }] = useCreateWorkflowVersionEdgeMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateWorkflowVersionEdgeMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateWorkflowVersionEdgeDocument, options); } export type CreateWorkflowVersionEdgeMutationHookResult = ReturnType; export type CreateWorkflowVersionEdgeMutationResult = Apollo.MutationResult; export type CreateWorkflowVersionEdgeMutationOptions = Apollo.BaseMutationOptions; export const CreateWorkflowVersionStepDocument = gql` mutation CreateWorkflowVersionStep($input: CreateWorkflowVersionStepInput!) { createWorkflowVersionStep(input: $input) { ...WorkflowDiffFragment } } ${WorkflowDiffFragmentFragmentDoc}`; export type CreateWorkflowVersionStepMutationFn = Apollo.MutationFunction; /** * __useCreateWorkflowVersionStepMutation__ * * To run a mutation, you first call `useCreateWorkflowVersionStepMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCreateWorkflowVersionStepMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [createWorkflowVersionStepMutation, { data, loading, error }] = useCreateWorkflowVersionStepMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useCreateWorkflowVersionStepMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CreateWorkflowVersionStepDocument, options); } export type CreateWorkflowVersionStepMutationHookResult = ReturnType; export type CreateWorkflowVersionStepMutationResult = Apollo.MutationResult; export type CreateWorkflowVersionStepMutationOptions = Apollo.BaseMutationOptions; export const DeactivateWorkflowVersionDocument = gql` mutation DeactivateWorkflowVersion($workflowVersionId: UUID!) { deactivateWorkflowVersion(workflowVersionId: $workflowVersionId) } `; export type DeactivateWorkflowVersionMutationFn = Apollo.MutationFunction; /** * __useDeactivateWorkflowVersionMutation__ * * To run a mutation, you first call `useDeactivateWorkflowVersionMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeactivateWorkflowVersionMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deactivateWorkflowVersionMutation, { data, loading, error }] = useDeactivateWorkflowVersionMutation({ * variables: { * workflowVersionId: // value for 'workflowVersionId' * }, * }); */ export function useDeactivateWorkflowVersionMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeactivateWorkflowVersionDocument, options); } export type DeactivateWorkflowVersionMutationHookResult = ReturnType; export type DeactivateWorkflowVersionMutationResult = Apollo.MutationResult; export type DeactivateWorkflowVersionMutationOptions = Apollo.BaseMutationOptions; export const DeleteWorkflowVersionEdgeDocument = gql` mutation DeleteWorkflowVersionEdge($input: CreateWorkflowVersionEdgeInput!) { deleteWorkflowVersionEdge(input: $input) { ...WorkflowDiffFragment } } ${WorkflowDiffFragmentFragmentDoc}`; export type DeleteWorkflowVersionEdgeMutationFn = Apollo.MutationFunction; /** * __useDeleteWorkflowVersionEdgeMutation__ * * To run a mutation, you first call `useDeleteWorkflowVersionEdgeMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteWorkflowVersionEdgeMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteWorkflowVersionEdgeMutation, { data, loading, error }] = useDeleteWorkflowVersionEdgeMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useDeleteWorkflowVersionEdgeMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteWorkflowVersionEdgeDocument, options); } export type DeleteWorkflowVersionEdgeMutationHookResult = ReturnType; export type DeleteWorkflowVersionEdgeMutationResult = Apollo.MutationResult; export type DeleteWorkflowVersionEdgeMutationOptions = Apollo.BaseMutationOptions; export const DeleteWorkflowVersionStepDocument = gql` mutation DeleteWorkflowVersionStep($input: DeleteWorkflowVersionStepInput!) { deleteWorkflowVersionStep(input: $input) { ...WorkflowDiffFragment } } ${WorkflowDiffFragmentFragmentDoc}`; export type DeleteWorkflowVersionStepMutationFn = Apollo.MutationFunction; /** * __useDeleteWorkflowVersionStepMutation__ * * To run a mutation, you first call `useDeleteWorkflowVersionStepMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteWorkflowVersionStepMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteWorkflowVersionStepMutation, { data, loading, error }] = useDeleteWorkflowVersionStepMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useDeleteWorkflowVersionStepMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteWorkflowVersionStepDocument, options); } export type DeleteWorkflowVersionStepMutationHookResult = ReturnType; export type DeleteWorkflowVersionStepMutationResult = Apollo.MutationResult; export type DeleteWorkflowVersionStepMutationOptions = Apollo.BaseMutationOptions; export const DuplicateWorkflowVersionStepDocument = gql` mutation DuplicateWorkflowVersionStep($input: DuplicateWorkflowVersionStepInput!) { duplicateWorkflowVersionStep(input: $input) { ...WorkflowDiffFragment } } ${WorkflowDiffFragmentFragmentDoc}`; export type DuplicateWorkflowVersionStepMutationFn = Apollo.MutationFunction; /** * __useDuplicateWorkflowVersionStepMutation__ * * To run a mutation, you first call `useDuplicateWorkflowVersionStepMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDuplicateWorkflowVersionStepMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [duplicateWorkflowVersionStepMutation, { data, loading, error }] = useDuplicateWorkflowVersionStepMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useDuplicateWorkflowVersionStepMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DuplicateWorkflowVersionStepDocument, options); } export type DuplicateWorkflowVersionStepMutationHookResult = ReturnType; export type DuplicateWorkflowVersionStepMutationResult = Apollo.MutationResult; export type DuplicateWorkflowVersionStepMutationOptions = Apollo.BaseMutationOptions; export const RunWorkflowVersionDocument = gql` mutation RunWorkflowVersion($input: RunWorkflowVersionInput!) { runWorkflowVersion(input: $input) { workflowRunId } } `; export type RunWorkflowVersionMutationFn = Apollo.MutationFunction; /** * __useRunWorkflowVersionMutation__ * * To run a mutation, you first call `useRunWorkflowVersionMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useRunWorkflowVersionMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [runWorkflowVersionMutation, { data, loading, error }] = useRunWorkflowVersionMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useRunWorkflowVersionMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(RunWorkflowVersionDocument, options); } export type RunWorkflowVersionMutationHookResult = ReturnType; export type RunWorkflowVersionMutationResult = Apollo.MutationResult; export type RunWorkflowVersionMutationOptions = Apollo.BaseMutationOptions; export const UpdateWorkflowRunStepDocument = gql` mutation UpdateWorkflowRunStep($input: UpdateWorkflowRunStepInput!) { updateWorkflowRunStep(input: $input) { id name type settings valid nextStepIds position { x y } } } `; export type UpdateWorkflowRunStepMutationFn = Apollo.MutationFunction; /** * __useUpdateWorkflowRunStepMutation__ * * To run a mutation, you first call `useUpdateWorkflowRunStepMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateWorkflowRunStepMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateWorkflowRunStepMutation, { data, loading, error }] = useUpdateWorkflowRunStepMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useUpdateWorkflowRunStepMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateWorkflowRunStepDocument, options); } export type UpdateWorkflowRunStepMutationHookResult = ReturnType; export type UpdateWorkflowRunStepMutationResult = Apollo.MutationResult; export type UpdateWorkflowRunStepMutationOptions = Apollo.BaseMutationOptions; export const UpdateWorkflowVersionStepDocument = gql` mutation UpdateWorkflowVersionStep($input: UpdateWorkflowVersionStepInput!) { updateWorkflowVersionStep(input: $input) { id name type settings valid nextStepIds position { x y } } } `; export type UpdateWorkflowVersionStepMutationFn = Apollo.MutationFunction; /** * __useUpdateWorkflowVersionStepMutation__ * * To run a mutation, you first call `useUpdateWorkflowVersionStepMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateWorkflowVersionStepMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateWorkflowVersionStepMutation, { data, loading, error }] = useUpdateWorkflowVersionStepMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useUpdateWorkflowVersionStepMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateWorkflowVersionStepDocument, options); } export type UpdateWorkflowVersionStepMutationHookResult = ReturnType; export type UpdateWorkflowVersionStepMutationResult = Apollo.MutationResult; export type UpdateWorkflowVersionStepMutationOptions = Apollo.BaseMutationOptions; export const SubmitFormStepDocument = gql` mutation SubmitFormStep($input: SubmitFormStepInput!) { submitFormStep(input: $input) } `; export type SubmitFormStepMutationFn = Apollo.MutationFunction; /** * __useSubmitFormStepMutation__ * * To run a mutation, you first call `useSubmitFormStepMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useSubmitFormStepMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [submitFormStepMutation, { data, loading, error }] = useSubmitFormStepMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useSubmitFormStepMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(SubmitFormStepDocument, options); } export type SubmitFormStepMutationHookResult = ReturnType; export type SubmitFormStepMutationResult = Apollo.MutationResult; export type SubmitFormStepMutationOptions = Apollo.BaseMutationOptions; export const UpdateWorkflowVersionPositionsDocument = gql` mutation UpdateWorkflowVersionPositions($input: UpdateWorkflowVersionPositionsInput!) { updateWorkflowVersionPositions(input: $input) } `; export type UpdateWorkflowVersionPositionsMutationFn = Apollo.MutationFunction; /** * __useUpdateWorkflowVersionPositionsMutation__ * * To run a mutation, you first call `useUpdateWorkflowVersionPositionsMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateWorkflowVersionPositionsMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateWorkflowVersionPositionsMutation, { data, loading, error }] = useUpdateWorkflowVersionPositionsMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useUpdateWorkflowVersionPositionsMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateWorkflowVersionPositionsDocument, options); } export type UpdateWorkflowVersionPositionsMutationHookResult = ReturnType; export type UpdateWorkflowVersionPositionsMutationResult = Apollo.MutationResult; export type UpdateWorkflowVersionPositionsMutationOptions = Apollo.BaseMutationOptions; export const DeleteWorkspaceInvitationDocument = gql` mutation DeleteWorkspaceInvitation($appTokenId: String!) { deleteWorkspaceInvitation(appTokenId: $appTokenId) } `; export type DeleteWorkspaceInvitationMutationFn = Apollo.MutationFunction; /** * __useDeleteWorkspaceInvitationMutation__ * * To run a mutation, you first call `useDeleteWorkspaceInvitationMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteWorkspaceInvitationMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteWorkspaceInvitationMutation, { data, loading, error }] = useDeleteWorkspaceInvitationMutation({ * variables: { * appTokenId: // value for 'appTokenId' * }, * }); */ export function useDeleteWorkspaceInvitationMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteWorkspaceInvitationDocument, options); } export type DeleteWorkspaceInvitationMutationHookResult = ReturnType; export type DeleteWorkspaceInvitationMutationResult = Apollo.MutationResult; export type DeleteWorkspaceInvitationMutationOptions = Apollo.BaseMutationOptions; export const ResendWorkspaceInvitationDocument = gql` mutation ResendWorkspaceInvitation($appTokenId: String!) { resendWorkspaceInvitation(appTokenId: $appTokenId) { success errors result { ... on WorkspaceInvitation { id email expiresAt } } } } `; export type ResendWorkspaceInvitationMutationFn = Apollo.MutationFunction; /** * __useResendWorkspaceInvitationMutation__ * * To run a mutation, you first call `useResendWorkspaceInvitationMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useResendWorkspaceInvitationMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [resendWorkspaceInvitationMutation, { data, loading, error }] = useResendWorkspaceInvitationMutation({ * variables: { * appTokenId: // value for 'appTokenId' * }, * }); */ export function useResendWorkspaceInvitationMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(ResendWorkspaceInvitationDocument, options); } export type ResendWorkspaceInvitationMutationHookResult = ReturnType; export type ResendWorkspaceInvitationMutationResult = Apollo.MutationResult; export type ResendWorkspaceInvitationMutationOptions = Apollo.BaseMutationOptions; export const SendInvitationsDocument = gql` mutation SendInvitations($emails: [String!]!) { sendInvitations(emails: $emails) { success errors result { ... on WorkspaceInvitation { id email expiresAt } } } } `; export type SendInvitationsMutationFn = Apollo.MutationFunction; /** * __useSendInvitationsMutation__ * * To run a mutation, you first call `useSendInvitationsMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useSendInvitationsMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [sendInvitationsMutation, { data, loading, error }] = useSendInvitationsMutation({ * variables: { * emails: // value for 'emails' * }, * }); */ export function useSendInvitationsMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(SendInvitationsDocument, options); } export type SendInvitationsMutationHookResult = ReturnType; export type SendInvitationsMutationResult = Apollo.MutationResult; export type SendInvitationsMutationOptions = Apollo.BaseMutationOptions; export const GetWorkspaceInvitationsDocument = gql` query GetWorkspaceInvitations { findWorkspaceInvitations { id email expiresAt } } `; /** * __useGetWorkspaceInvitationsQuery__ * * To run a query within a React component, call `useGetWorkspaceInvitationsQuery` and pass it any options that fit your needs. * When your component renders, `useGetWorkspaceInvitationsQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetWorkspaceInvitationsQuery({ * variables: { * }, * }); */ export function useGetWorkspaceInvitationsQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetWorkspaceInvitationsDocument, options); } export function useGetWorkspaceInvitationsLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetWorkspaceInvitationsDocument, options); } export type GetWorkspaceInvitationsQueryHookResult = ReturnType; export type GetWorkspaceInvitationsLazyQueryHookResult = ReturnType; export type GetWorkspaceInvitationsQueryResult = Apollo.QueryResult; export const ActivateWorkspaceDocument = gql` mutation ActivateWorkspace($input: ActivateWorkspaceInput!) { activateWorkspace(data: $input) { id } } `; export type ActivateWorkspaceMutationFn = Apollo.MutationFunction; /** * __useActivateWorkspaceMutation__ * * To run a mutation, you first call `useActivateWorkspaceMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useActivateWorkspaceMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [activateWorkspaceMutation, { data, loading, error }] = useActivateWorkspaceMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useActivateWorkspaceMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(ActivateWorkspaceDocument, options); } export type ActivateWorkspaceMutationHookResult = ReturnType; export type ActivateWorkspaceMutationResult = Apollo.MutationResult; export type ActivateWorkspaceMutationOptions = Apollo.BaseMutationOptions; export const DeleteCurrentWorkspaceDocument = gql` mutation DeleteCurrentWorkspace { deleteCurrentWorkspace { id } } `; export type DeleteCurrentWorkspaceMutationFn = Apollo.MutationFunction; /** * __useDeleteCurrentWorkspaceMutation__ * * To run a mutation, you first call `useDeleteCurrentWorkspaceMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useDeleteCurrentWorkspaceMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [deleteCurrentWorkspaceMutation, { data, loading, error }] = useDeleteCurrentWorkspaceMutation({ * variables: { * }, * }); */ export function useDeleteCurrentWorkspaceMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(DeleteCurrentWorkspaceDocument, options); } export type DeleteCurrentWorkspaceMutationHookResult = ReturnType; export type DeleteCurrentWorkspaceMutationResult = Apollo.MutationResult; export type DeleteCurrentWorkspaceMutationOptions = Apollo.BaseMutationOptions; export const UpdateWorkspaceDocument = gql` mutation UpdateWorkspace($input: UpdateWorkspaceInput!) { updateWorkspace(data: $input) { id customDomain subdomain displayName logo allowImpersonation isPublicInviteLinkEnabled isGoogleAuthEnabled isMicrosoftAuthEnabled isPasswordAuthEnabled isTwoFactorAuthenticationEnforced defaultRole { ...RoleFragment } } } ${RoleFragmentFragmentDoc}`; export type UpdateWorkspaceMutationFn = Apollo.MutationFunction; /** * __useUpdateWorkspaceMutation__ * * To run a mutation, you first call `useUpdateWorkspaceMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateWorkspaceMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [updateWorkspaceMutation, { data, loading, error }] = useUpdateWorkspaceMutation({ * variables: { * input: // value for 'input' * }, * }); */ export function useUpdateWorkspaceMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateWorkspaceDocument, options); } export type UpdateWorkspaceMutationHookResult = ReturnType; export type UpdateWorkspaceMutationResult = Apollo.MutationResult; export type UpdateWorkspaceMutationOptions = Apollo.BaseMutationOptions; export const UploadWorkspaceLogoDocument = gql` mutation UploadWorkspaceLogo($file: Upload!) { uploadWorkspaceLogo(file: $file) { path token } } `; export type UploadWorkspaceLogoMutationFn = Apollo.MutationFunction; /** * __useUploadWorkspaceLogoMutation__ * * To run a mutation, you first call `useUploadWorkspaceLogoMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUploadWorkspaceLogoMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [uploadWorkspaceLogoMutation, { data, loading, error }] = useUploadWorkspaceLogoMutation({ * variables: { * file: // value for 'file' * }, * }); */ export function useUploadWorkspaceLogoMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UploadWorkspaceLogoDocument, options); } export type UploadWorkspaceLogoMutationHookResult = ReturnType; export type UploadWorkspaceLogoMutationResult = Apollo.MutationResult; export type UploadWorkspaceLogoMutationOptions = Apollo.BaseMutationOptions; export const CheckCustomDomainValidRecordsDocument = gql` mutation CheckCustomDomainValidRecords { checkCustomDomainValidRecords { id domain records { type key value validationType status } } } `; export type CheckCustomDomainValidRecordsMutationFn = Apollo.MutationFunction; /** * __useCheckCustomDomainValidRecordsMutation__ * * To run a mutation, you first call `useCheckCustomDomainValidRecordsMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useCheckCustomDomainValidRecordsMutation` returns a tuple that includes: * - A mutate function that you can call at any time to execute the mutation * - An object with fields that represent the current status of the mutation's execution * * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2; * * @example * const [checkCustomDomainValidRecordsMutation, { data, loading, error }] = useCheckCustomDomainValidRecordsMutation({ * variables: { * }, * }); */ export function useCheckCustomDomainValidRecordsMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(CheckCustomDomainValidRecordsDocument, options); } export type CheckCustomDomainValidRecordsMutationHookResult = ReturnType; export type CheckCustomDomainValidRecordsMutationResult = Apollo.MutationResult; export type CheckCustomDomainValidRecordsMutationOptions = Apollo.BaseMutationOptions; export const GetWorkspaceFromInviteHashDocument = gql` query GetWorkspaceFromInviteHash($inviteHash: String!) { findWorkspaceFromInviteHash(inviteHash: $inviteHash) { id displayName logo allowImpersonation } } `; /** * __useGetWorkspaceFromInviteHashQuery__ * * To run a query within a React component, call `useGetWorkspaceFromInviteHashQuery` and pass it any options that fit your needs. * When your component renders, `useGetWorkspaceFromInviteHashQuery` returns an object from Apollo Client that contains loading, error, and data properties * you can use to render your UI. * * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; * * @example * const { data, loading, error } = useGetWorkspaceFromInviteHashQuery({ * variables: { * inviteHash: // value for 'inviteHash' * }, * }); */ export function useGetWorkspaceFromInviteHashQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetWorkspaceFromInviteHashDocument, options); } export function useGetWorkspaceFromInviteHashLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetWorkspaceFromInviteHashDocument, options); } export type GetWorkspaceFromInviteHashQueryHookResult = ReturnType; export type GetWorkspaceFromInviteHashLazyQueryHookResult = ReturnType; export type GetWorkspaceFromInviteHashQueryResult = Apollo.QueryResult;