import * as Apollo from '@apollo/client'; import { gql } 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: any; Upload: any; }; export type ActivateWorkspaceInput = { displayName?: InputMaybe; }; export type AdminPanelHealthServiceData = { __typename?: 'AdminPanelHealthServiceData'; description: Scalars['String']; details?: Maybe; errorMessage?: Maybe; id: Scalars['String']; 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 Analytics = { __typename?: 'Analytics'; /** Boolean that confirms query was dispatched */ success: Scalars['Boolean']; }; export type AnalyticsTinybirdJwtMap = { __typename?: 'AnalyticsTinybirdJwtMap'; getPageviewsAnalytics: Scalars['String']; getServerlessFunctionDuration: Scalars['String']; getServerlessFunctionErrorCount: Scalars['String']; getServerlessFunctionSuccessRate: Scalars['String']; getUsersAnalytics: Scalars['String']; getWebhookAnalytics: Scalars['String']; }; export type ApiConfig = { __typename?: 'ApiConfig'; mutationMaximumAffectedRecords: Scalars['Float']; }; 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'; accessToken: AuthToken; refreshToken: AuthToken; }; export type AuthTokens = { __typename?: 'AuthTokens'; tokens: AuthTokenPair; }; export type AuthorizeApp = { __typename?: 'AuthorizeApp'; redirectUrl: Scalars['String']; }; export type AvailableWorkspaceOutput = { __typename?: 'AvailableWorkspaceOutput'; displayName?: Maybe; id: Scalars['String']; logo?: Maybe; sso: Array; workspaceUrls: WorkspaceUrls; }; export type Billing = { __typename?: 'Billing'; billingUrl?: Maybe; isBillingEnabled: Scalars['Boolean']; trialPeriods: Array; }; /** The different billing plans available */ export enum BillingPlanKey { ENTERPRISE = 'ENTERPRISE', PRO = 'PRO' } export type BillingPlanOutput = { __typename?: 'BillingPlanOutput'; baseProduct: BillingProductDto; meteredProducts: Array; otherLicensedProducts: 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?: Maybe>; tiersMode?: Maybe; }; export type BillingPriceTierDto = { __typename?: 'BillingPriceTierDTO'; flatAmount?: Maybe; unitAmount?: Maybe; upTo?: Maybe; }; /** The different billing price tiers modes */ export enum BillingPriceTiersMode { GRADUATED = 'GRADUATED', VOLUME = 'VOLUME' } export type BillingPriceUnionDto = BillingPriceLicensedDto | BillingPriceMeteredDto; export type BillingProductDto = { __typename?: 'BillingProductDTO'; description: Scalars['String']; images?: Maybe>; name: Scalars['String']; prices: Array; type: BillingUsageType; }; export type BillingSessionOutput = { __typename?: 'BillingSessionOutput'; url?: Maybe; }; export type BillingSubscription = { __typename?: 'BillingSubscription'; id: Scalars['UUID']; interval?: Maybe; status: SubscriptionStatus; }; export type BillingTrialPeriodDto = { __typename?: 'BillingTrialPeriodDTO'; duration: Scalars['Float']; isCreditCardRequired: Scalars['Boolean']; }; export type BillingUpdateOutput = { __typename?: 'BillingUpdateOutput'; /** Boolean that confirms query was successful */ success: Scalars['Boolean']; }; 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 { GoogleRecaptcha = 'GoogleRecaptcha', Turnstile = 'Turnstile' } export type ClientConfig = { __typename?: 'ClientConfig'; analyticsEnabled: Scalars['Boolean']; api: ApiConfig; authProviders: AuthProviders; billing: Billing; canManageFeatureFlags: Scalars['Boolean']; captcha: Captcha; chromeExtensionId?: Maybe; debugMode: Scalars['Boolean']; defaultSubdomain?: Maybe; frontDomain: Scalars['String']; isAttachmentPreviewEnabled: Scalars['Boolean']; isEmailVerificationRequired: Scalars['Boolean']; isGoogleCalendarEnabled: Scalars['Boolean']; isGoogleMessagingEnabled: Scalars['Boolean']; isMicrosoftCalendarEnabled: Scalars['Boolean']; isMicrosoftMessagingEnabled: Scalars['Boolean']; isMultiWorkspaceEnabled: Scalars['Boolean']; publicFeatureFlags: Array; sentry: Sentry; signInPrefilled: Scalars['Boolean']; support: Support; }; export type ComputeStepOutputSchemaInput = { /** Step JSON format */ step: Scalars['JSON']; }; export type CreateApprovedAccessDomainInput = { domain: Scalars['String']; email: Scalars['String']; }; export type CreateDraftFromWorkflowVersionInput = { /** Workflow ID */ workflowId: Scalars['String']; /** Workflow version ID */ workflowVersionIdToCopy: Scalars['String']; }; export type CreateFieldInput = { defaultValue?: InputMaybe; description?: InputMaybe; icon?: InputMaybe; isActive?: InputMaybe; isCustom?: InputMaybe; isLabelSyncedWithName?: InputMaybe; isNullable?: InputMaybe; isRemoteCreation?: InputMaybe; isSystem?: InputMaybe; isUnique?: InputMaybe; label: Scalars['String']; name: Scalars['String']; objectMetadataId: Scalars['String']; options?: InputMaybe; settings?: InputMaybe; type: FieldMetadataType; }; export type CreateOneFieldMetadataInput = { /** The record to create */ field: CreateFieldInput; }; export type CreateServerlessFunctionInput = { description?: InputMaybe; name: Scalars['String']; timeoutSeconds?: InputMaybe; }; export type CreateWorkflowVersionStepInput = { /** New step type */ stepType: Scalars['String']; /** Workflow version ID */ workflowVersionId: 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; }; export type CustomDomainRecord = { __typename?: 'CustomDomainRecord'; key: Scalars['String']; status: Scalars['String']; type: Scalars['String']; validationType: Scalars['String']; value: Scalars['String']; }; export type CustomDomainValidRecords = { __typename?: 'CustomDomainValidRecords'; customDomain: Scalars['String']; id: Scalars['String']; records: Array; }; export type DateFilter = { eq?: InputMaybe; gt?: InputMaybe; gte?: InputMaybe; in?: InputMaybe>; is?: InputMaybe; lt?: InputMaybe; lte?: InputMaybe; neq?: InputMaybe; }; export type DeleteApprovedAccessDomainInput = { id: Scalars['String']; }; 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['String']; }; export type DeleteSsoOutput = { __typename?: 'DeleteSsoOutput'; identityProviderId: Scalars['String']; }; export type DeleteWorkflowVersionStepInput = { /** Step to delete ID */ stepId: Scalars['String']; /** Workflow version ID */ workflowVersionId: Scalars['String']; }; /** 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 EditSsoInput = { id: Scalars['String']; status: SsoIdentityProviderStatus; }; export type EditSsoOutput = { __typename?: 'EditSsoOutput'; id: Scalars['String']; issuer: Scalars['String']; name: Scalars['String']; status: SsoIdentityProviderStatus; type: IdentityProviderType; }; export type EmailPasswordResetLink = { __typename?: 'EmailPasswordResetLink'; /** Boolean that confirms query was dispatched */ success: Scalars['Boolean']; }; export type EnvironmentVariable = { __typename?: 'EnvironmentVariable'; description: Scalars['String']; name: Scalars['String']; sensitive: Scalars['Boolean']; value: Scalars['String']; }; export enum EnvironmentVariablesGroup { BillingConfig = 'BillingConfig', CaptchaConfig = 'CaptchaConfig', CloudflareConfig = 'CloudflareConfig', EmailSettings = 'EmailSettings', ExceptionHandler = 'ExceptionHandler', GoogleAuth = 'GoogleAuth', LLM = 'LLM', Logging = 'Logging', MicrosoftAuth = 'MicrosoftAuth', Other = 'Other', RateLimiting = 'RateLimiting', SSL = 'SSL', ServerConfig = 'ServerConfig', ServerlessConfig = 'ServerlessConfig', StorageConfig = 'StorageConfig', SupportChatConfig = 'SupportChatConfig', TinybirdConfig = 'TinybirdConfig', TokensDuration = 'TokensDuration' } export type EnvironmentVariablesGroupData = { __typename?: 'EnvironmentVariablesGroupData'; description: Scalars['String']; isHiddenOnLoad: Scalars['Boolean']; name: EnvironmentVariablesGroup; variables: Array; }; export type EnvironmentVariablesOutput = { __typename?: 'EnvironmentVariablesOutput'; groups: Array; }; 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 type FeatureFlag = { __typename?: 'FeatureFlag'; id: Scalars['UUID']; key: FeatureFlagKey; value: Scalars['Boolean']; workspaceId: Scalars['String']; }; export enum FeatureFlagKey { IsAdvancedFiltersEnabled = 'IsAdvancedFiltersEnabled', IsAirtableIntegrationEnabled = 'IsAirtableIntegrationEnabled', IsAnalyticsV2Enabled = 'IsAnalyticsV2Enabled', IsApprovedAccessDomainsEnabled = 'IsApprovedAccessDomainsEnabled', IsCopilotEnabled = 'IsCopilotEnabled', IsCustomDomainEnabled = 'IsCustomDomainEnabled', IsEventObjectEnabled = 'IsEventObjectEnabled', IsJsonFilterEnabled = 'IsJsonFilterEnabled', IsNewRelationEnabled = 'IsNewRelationEnabled', IsPermissionsEnabled = 'IsPermissionsEnabled', IsPostgreSQLIntegrationEnabled = 'IsPostgreSQLIntegrationEnabled', IsStripeIntegrationEnabled = 'IsStripeIntegrationEnabled', IsUniqueIndexesEnabled = 'IsUniqueIndexesEnabled', IsWorkflowEnabled = 'IsWorkflowEnabled', IsWorkflowFormActionEnabled = 'IsWorkflowFormActionEnabled' } export type Field = { __typename?: 'Field'; createdAt: Scalars['DateTime']; defaultValue?: Maybe; description?: Maybe; fromRelationMetadata?: Maybe; icon?: Maybe; id: Scalars['UUID']; isActive?: Maybe; isCustom?: Maybe; isLabelSyncedWithName?: Maybe; isNullable?: Maybe; isSystem?: Maybe; isUnique?: Maybe; label: Scalars['String']; name: Scalars['String']; object?: Maybe; options?: Maybe; relation?: Maybe; relationDefinition?: Maybe; settings?: Maybe; toRelationMetadata?: 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; 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', 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 enum FileFolder { Attachment = 'Attachment', PersonPicture = 'PersonPicture', ProfilePicture = 'ProfilePicture', ServerlessFunction = 'ServerlessFunction', WorkspaceLogo = 'WorkspaceLogo' } export enum FilterIs { NotNull = 'NotNull', Null = 'Null' } export type FindAvailableSsoidpOutput = { __typename?: 'FindAvailableSSOIDPOutput'; id: Scalars['String']; issuer: Scalars['String']; name: Scalars['String']; status: SsoIdentityProviderStatus; type: IdentityProviderType; workspace: WorkspaceNameAndId; }; export type FullName = { __typename?: 'FullName'; firstName: Scalars['String']; lastName: Scalars['String']; }; export type GetAuthorizationUrlForSsoInput = { identityProviderId: Scalars['String']; workspaceInviteHash?: InputMaybe; }; export type GetAuthorizationUrlForSsoOutput = { __typename?: 'GetAuthorizationUrlForSSOOutput'; authorizationURL: Scalars['String']; id: Scalars['String']; type: Scalars['String']; }; export type GetServerlessFunctionSourceCodeInput = { /** The id of the function. */ id: Scalars['ID']; /** The version of the function */ version?: Scalars['String']; }; export type GlobalSearchRecord = { __typename?: 'GlobalSearchRecord'; imageUrl?: Maybe; label: Scalars['String']; objectSingularName: Scalars['String']; recordId: Scalars['String']; tsRank: Scalars['Float']; tsRankCD: Scalars['Float']; }; export enum HealthIndicatorId { app = 'app', connectedAccount = 'connectedAccount', database = 'database', redis = 'redis', worker = 'worker' } export type IdFilter = { eq?: InputMaybe; gt?: InputMaybe; gte?: InputMaybe; in?: InputMaybe>; is?: InputMaybe; lt?: InputMaybe; lte?: InputMaybe; neq?: InputMaybe; }; export enum IdentityProviderType { OIDC = 'OIDC', SAML = 'SAML' } export type ImpersonateOutput = { __typename?: 'ImpersonateOutput'; loginToken: AuthToken; workspace: WorkspaceUrlsAndId; }; export type Index = { __typename?: 'Index'; createdAt: Scalars['DateTime']; id: Scalars['UUID']; 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 InvalidatePassword = { __typename?: 'InvalidatePassword'; /** Boolean that confirms query was dispatched */ success: Scalars['Boolean']; }; 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 LoginToken = { __typename?: 'LoginToken'; loginToken: AuthToken; }; export enum MessageChannelVisibility { METADATA = 'METADATA', SHARE_EVERYTHING = 'SHARE_EVERYTHING', SUBJECT = 'SUBJECT' } export type Mutation = { __typename?: 'Mutation'; activateWorkflowVersion: Scalars['Boolean']; activateWorkspace: Workspace; authorizeApp: AuthorizeApp; checkCustomDomainValidRecords?: Maybe; checkoutSession: BillingSessionOutput; computeStepOutputSchema: Scalars['JSON']; createApprovedAccessDomain: ApprovedAccessDomain; createDraftFromWorkflowVersion: WorkflowVersion; createOIDCIdentityProvider: SetupSsoOutput; createOneAppToken: AppToken; createOneField: Field; createOneObject: Object; createOneServerlessFunction: ServerlessFunction; createSAMLIdentityProvider: SetupSsoOutput; createWorkflowVersionStep: WorkflowAction; deactivateWorkflowVersion: Scalars['Boolean']; deleteApprovedAccessDomain: Scalars['Boolean']; deleteCurrentWorkspace: Workspace; deleteOneField: Field; deleteOneObject: Object; deleteOneServerlessFunction: ServerlessFunction; deleteSSOIdentityProvider: DeleteSsoOutput; deleteUser: User; deleteWorkflowVersionStep: WorkflowAction; deleteWorkspaceInvitation: Scalars['String']; disablePostgresProxy: PostgresCredentials; editSSOIdentityProvider: EditSsoOutput; emailPasswordResetLink: EmailPasswordResetLink; enablePostgresProxy: PostgresCredentials; executeOneServerlessFunction: ServerlessFunctionExecutionResult; generateApiKeyToken: ApiKeyToken; generateTransientToken: TransientToken; getAuthTokensFromLoginToken: AuthTokens; getAuthorizationUrlForSSO: GetAuthorizationUrlForSsoOutput; getLoginTokenFromCredentials: LoginToken; getLoginTokenFromEmailVerificationToken: LoginToken; impersonate: ImpersonateOutput; publishServerlessFunction: ServerlessFunction; renewToken: AuthTokens; resendEmailVerificationToken: ResendEmailVerificationTokenOutput; resendWorkspaceInvitation: SendInvitationsOutput; runWorkflowVersion: WorkflowRun; sendInvitations: SendInvitationsOutput; signUp: SignUpOutput; signUpInNewWorkspace: SignUpOutput; skipSyncEmailOnboardingStep: OnboardingStepSuccess; submitFormStep: Scalars['Boolean']; track: Analytics; updateBillingSubscription: BillingUpdateOutput; updateLabPublicFeatureFlag: FeatureFlag; updateOneField: Field; updateOneObject: Object; updateOneServerlessFunction: ServerlessFunction; updatePasswordViaResetToken: InvalidatePassword; updateWorkflowVersionStep: WorkflowAction; updateWorkspace: Workspace; updateWorkspaceFeatureFlag: Scalars['Boolean']; updateWorkspaceMemberRole: WorkspaceMember; uploadFile: Scalars['String']; uploadImage: Scalars['String']; uploadProfilePicture: Scalars['String']; uploadWorkspaceLogo: Scalars['String']; userLookupAdminPanel: UserLookup; validateApprovedAccessDomain: ApprovedAccessDomain; }; export type MutationActivateWorkflowVersionArgs = { workflowVersionId: Scalars['String']; }; export type MutationActivateWorkspaceArgs = { data: ActivateWorkspaceInput; }; export type MutationAuthorizeAppArgs = { clientId: Scalars['String']; codeChallenge?: InputMaybe; redirectUrl: Scalars['String']; }; export type MutationCheckoutSessionArgs = { plan?: BillingPlanKey; recurringInterval: SubscriptionInterval; requirePaymentMethod?: Scalars['Boolean']; successUrlPath?: InputMaybe; }; export type MutationComputeStepOutputSchemaArgs = { input: ComputeStepOutputSchemaInput; }; export type MutationCreateApprovedAccessDomainArgs = { input: CreateApprovedAccessDomainInput; }; export type MutationCreateDraftFromWorkflowVersionArgs = { input: CreateDraftFromWorkflowVersionInput; }; export type MutationCreateOidcIdentityProviderArgs = { input: SetupOidcSsoInput; }; export type MutationCreateOneFieldArgs = { input: CreateOneFieldMetadataInput; }; export type MutationCreateOneServerlessFunctionArgs = { input: CreateServerlessFunctionInput; }; export type MutationCreateSamlIdentityProviderArgs = { input: SetupSamlSsoInput; }; export type MutationCreateWorkflowVersionStepArgs = { input: CreateWorkflowVersionStepInput; }; export type MutationDeactivateWorkflowVersionArgs = { workflowVersionId: Scalars['String']; }; export type MutationDeleteApprovedAccessDomainArgs = { input: DeleteApprovedAccessDomainInput; }; export type MutationDeleteOneFieldArgs = { input: DeleteOneFieldInput; }; export type MutationDeleteOneObjectArgs = { input: DeleteOneObjectInput; }; export type MutationDeleteOneServerlessFunctionArgs = { input: ServerlessFunctionIdInput; }; export type MutationDeleteSsoIdentityProviderArgs = { input: DeleteSsoInput; }; export type MutationDeleteWorkflowVersionStepArgs = { input: DeleteWorkflowVersionStepInput; }; export type MutationDeleteWorkspaceInvitationArgs = { appTokenId: Scalars['String']; }; export type MutationEditSsoIdentityProviderArgs = { input: EditSsoInput; }; export type MutationEmailPasswordResetLinkArgs = { email: Scalars['String']; workspaceId: Scalars['String']; }; export type MutationExecuteOneServerlessFunctionArgs = { input: ExecuteServerlessFunctionInput; }; export type MutationGenerateApiKeyTokenArgs = { apiKeyId: Scalars['String']; expiresAt: Scalars['String']; }; export type MutationGetAuthTokensFromLoginTokenArgs = { loginToken: Scalars['String']; }; export type MutationGetAuthorizationUrlForSsoArgs = { input: GetAuthorizationUrlForSsoInput; }; export type MutationGetLoginTokenFromCredentialsArgs = { captchaToken?: InputMaybe; email: Scalars['String']; password: Scalars['String']; }; export type MutationGetLoginTokenFromEmailVerificationTokenArgs = { captchaToken?: InputMaybe; emailVerificationToken: Scalars['String']; }; export type MutationImpersonateArgs = { userId: Scalars['String']; workspaceId: Scalars['String']; }; export type MutationPublishServerlessFunctionArgs = { input: PublishServerlessFunctionInput; }; export type MutationRenewTokenArgs = { appToken: Scalars['String']; }; export type MutationResendEmailVerificationTokenArgs = { email: Scalars['String']; }; export type MutationResendWorkspaceInvitationArgs = { appTokenId: Scalars['String']; }; export type MutationRunWorkflowVersionArgs = { input: RunWorkflowVersionInput; }; export type MutationSendInvitationsArgs = { emails: Array; }; export type MutationSignUpArgs = { captchaToken?: InputMaybe; email: Scalars['String']; locale?: InputMaybe; password: Scalars['String']; workspaceId?: InputMaybe; workspaceInviteHash?: InputMaybe; workspacePersonalInviteToken?: InputMaybe; }; export type MutationSubmitFormStepArgs = { input: SubmitFormStepInput; }; export type MutationTrackArgs = { action: Scalars['String']; payload: Scalars['JSON']; }; export type MutationUpdateLabPublicFeatureFlagArgs = { input: UpdateLabPublicFeatureFlagInput; }; export type MutationUpdateOneFieldArgs = { input: UpdateOneFieldMetadataInput; }; export type MutationUpdateOneObjectArgs = { input: UpdateOneObjectInput; }; export type MutationUpdateOneServerlessFunctionArgs = { input: UpdateServerlessFunctionInput; }; export type MutationUpdatePasswordViaResetTokenArgs = { newPassword: Scalars['String']; passwordResetToken: Scalars['String']; }; export type MutationUpdateWorkflowVersionStepArgs = { input: UpdateWorkflowVersionStepInput; }; export type MutationUpdateWorkspaceArgs = { data: UpdateWorkspaceInput; }; export type MutationUpdateWorkspaceFeatureFlagArgs = { featureFlag: Scalars['String']; value: Scalars['Boolean']; workspaceId: Scalars['String']; }; export type MutationUpdateWorkspaceMemberRoleArgs = { roleId: Scalars['String']; workspaceMemberId: Scalars['String']; }; 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 MutationUserLookupAdminPanelArgs = { userIdentifier: Scalars['String']; }; export type MutationValidateApprovedAccessDomainArgs = { input: ValidateApprovedAccessDomainInput; }; export type Object = { __typename?: 'Object'; createdAt: Scalars['DateTime']; dataSourceId: Scalars['String']; description?: Maybe; duplicateCriteria?: Maybe>>; fields: ObjectFieldsConnection; fieldsList: Array; icon?: Maybe; id: Scalars['UUID']; imageIdentifierFieldMetadataId?: Maybe; indexMetadatas: ObjectIndexMetadatasConnection; isActive: Scalars['Boolean']; isCustom: Scalars['Boolean']; isLabelSyncedWithName: Scalars['Boolean']; isRemote: Scalars['Boolean']; isSearchable: Scalars['Boolean']; isSystem: Scalars['Boolean']; labelIdentifierFieldMetadataId?: Maybe; labelPlural: Scalars['String']; labelSingular: Scalars['String']; namePlural: Scalars['String']; nameSingular: Scalars['String']; shortcut?: 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; or?: InputMaybe>; }; export type ObjectIndexMetadatasConnection = { __typename?: 'ObjectIndexMetadatasConnection'; /** Array of edges. */ edges: Array; /** Paging information */ pageInfo: PageInfo; }; export type ObjectRecordFilterInput = { and?: InputMaybe>; createdAt?: InputMaybe; deletedAt?: InputMaybe; id?: InputMaybe; not?: InputMaybe; or?: InputMaybe>; updatedAt?: InputMaybe; }; /** Onboarding status */ export enum OnboardingStatus { 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 enum PermissionsOnAllObjectRecords { DESTROY_ALL_OBJECT_RECORDS = 'DESTROY_ALL_OBJECT_RECORDS', READ_ALL_OBJECT_RECORDS = 'READ_ALL_OBJECT_RECORDS', SOFT_DELETE_ALL_OBJECT_RECORDS = 'SOFT_DELETE_ALL_OBJECT_RECORDS', UPDATE_ALL_OBJECT_RECORDS = 'UPDATE_ALL_OBJECT_RECORDS' } export type PostgresCredentials = { __typename?: 'PostgresCredentials'; id: Scalars['UUID']; password: Scalars['String']; user: Scalars['String']; workspaceId: Scalars['String']; }; 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['String']; logo?: Maybe; workspaceUrls: WorkspaceUrls; }; export type PublishServerlessFunctionInput = { /** The id of the function. */ id: Scalars['ID']; }; export type Query = { __typename?: 'Query'; billingPortalSession: BillingSessionOutput; checkUserExists: UserExistsOutput; checkWorkspaceInviteHashIsValid: WorkspaceInviteHashValid; clientConfig: ClientConfig; currentUser: User; currentWorkspace: Workspace; field: Field; fields: FieldConnection; findManyServerlessFunctions: Array; findOneServerlessFunction: ServerlessFunction; findWorkspaceFromInviteHash: Workspace; findWorkspaceInvitations: Array; getApprovedAccessDomains: Array; getAvailablePackages: Scalars['JSON']; getEnvironmentVariablesGrouped: EnvironmentVariablesOutput; getIndicatorHealthStatus: AdminPanelHealthServiceData; getPostgresCredentials?: Maybe; getPublicWorkspaceDataByDomain: PublicWorkspaceDataOutput; getQueueMetrics: QueueMetricsData; getRoles: Array; getSSOIdentityProviders: Array; getServerlessFunctionSourceCode?: Maybe; getSystemHealthStatus: SystemHealth; getTimelineCalendarEventsFromCompanyId: TimelineCalendarEventsWithTotal; getTimelineCalendarEventsFromPersonId: TimelineCalendarEventsWithTotal; getTimelineThreadsFromCompanyId: TimelineThreadsWithTotal; getTimelineThreadsFromPersonId: TimelineThreadsWithTotal; globalSearch: Array; index: Index; indexMetadatas: IndexConnection; object: Object; objects: ObjectConnection; plans: Array; validatePasswordResetToken: ValidatePasswordResetToken; }; export type QueryBillingPortalSessionArgs = { returnUrlPath?: InputMaybe; }; export type QueryCheckUserExistsArgs = { captchaToken?: InputMaybe; email: Scalars['String']; }; export type QueryCheckWorkspaceInviteHashIsValidArgs = { inviteHash: Scalars['String']; }; export type QueryFindOneServerlessFunctionArgs = { input: ServerlessFunctionIdInput; }; export type QueryFindWorkspaceFromInviteHashArgs = { inviteHash: Scalars['String']; }; export type QueryGetAvailablePackagesArgs = { input: ServerlessFunctionIdInput; }; export type QueryGetIndicatorHealthStatusArgs = { indicatorId: HealthIndicatorId; }; 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 QueryGetTimelineCalendarEventsFromPersonIdArgs = { page: Scalars['Int']; pageSize: Scalars['Int']; personId: Scalars['UUID']; }; export type QueryGetTimelineThreadsFromCompanyIdArgs = { companyId: Scalars['UUID']; page: Scalars['Int']; pageSize: Scalars['Int']; }; export type QueryGetTimelineThreadsFromPersonIdArgs = { page: Scalars['Int']; pageSize: Scalars['Int']; personId: Scalars['UUID']; }; export type QueryGlobalSearchArgs = { excludedObjectNameSingulars?: InputMaybe>; filter?: InputMaybe; includedObjectNameSingulars?: InputMaybe>; limit: Scalars['Int']; searchInput: Scalars['String']; }; export type QueryValidatePasswordResetTokenArgs = { passwordResetToken: Scalars['String']; }; 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; }; export type RelationDefinition = { __typename?: 'RelationDefinition'; direction: RelationDefinitionType; relationId: Scalars['UUID']; sourceFieldMetadata: Field; sourceObjectMetadata: Object; targetFieldMetadata: Field; targetObjectMetadata: Object; }; /** Relation definition type */ export enum RelationDefinitionType { MANY_TO_MANY = 'MANY_TO_MANY', MANY_TO_ONE = 'MANY_TO_ONE', ONE_TO_MANY = 'ONE_TO_MANY', ONE_TO_ONE = 'ONE_TO_ONE' } export type RelationMetadata = { __typename?: 'RelationMetadata'; createdAt: Scalars['DateTime']; fromFieldMetadataId: Scalars['String']; fromObjectMetadata: Object; fromObjectMetadataId: Scalars['String']; id: Scalars['UUID']; relationType: RelationMetadataType; toFieldMetadataId: Scalars['String']; toObjectMetadata: Object; toObjectMetadataId: Scalars['String']; updatedAt: Scalars['DateTime']; }; export type RelationMetadataConnection = { __typename?: 'RelationMetadataConnection'; /** Array of edges. */ edges: Array; /** Paging information */ pageInfo: PageInfo; }; export type RelationMetadataEdge = { __typename?: 'RelationMetadataEdge'; /** Cursor for this node. */ cursor: Scalars['ConnectionCursor']; /** The node containing the RelationMetadata */ node: RelationMetadata; }; /** Type of the relation */ export enum RelationMetadataType { MANY_TO_MANY = 'MANY_TO_MANY', MANY_TO_ONE = 'MANY_TO_ONE', ONE_TO_MANY = 'ONE_TO_MANY', ONE_TO_ONE = 'ONE_TO_ONE' } /** Relation type */ export enum RelationType { MANY_TO_ONE = 'MANY_TO_ONE', ONE_TO_MANY = 'ONE_TO_MANY', ONE_TO_ONE = 'ONE_TO_ONE' } export type RemoteServer = { __typename?: 'RemoteServer'; createdAt: Scalars['DateTime']; foreignDataWrapperId: Scalars['ID']; foreignDataWrapperOptions?: Maybe; foreignDataWrapperType: Scalars['String']; id: Scalars['ID']; label: Scalars['String']; schema?: Maybe; updatedAt: Scalars['DateTime']; userMappingOptions?: Maybe; }; export type RemoteTable = { __typename?: 'RemoteTable'; id?: Maybe; name: Scalars['String']; schema?: Maybe; schemaPendingUpdates?: Maybe>; status: RemoteTableStatus; }; /** Status of the table */ export enum RemoteTableStatus { NOT_SYNCED = 'NOT_SYNCED', SYNCED = 'SYNCED' } export type ResendEmailVerificationTokenOutput = { __typename?: 'ResendEmailVerificationTokenOutput'; success: Scalars['Boolean']; }; export type Role = { __typename?: 'Role'; canDestroyAllObjectRecords: Scalars['Boolean']; canReadAllObjectRecords: Scalars['Boolean']; canSoftDeleteAllObjectRecords: Scalars['Boolean']; canUpdateAllObjectRecords: Scalars['Boolean']; canUpdateAllSettings: Scalars['Boolean']; description?: Maybe; icon?: Maybe; id: Scalars['String']; isEditable: Scalars['Boolean']; label: Scalars['String']; workspaceMembers: Array; }; export type RunWorkflowVersionInput = { /** Execution result in JSON format */ payload?: InputMaybe; /** Workflow version ID */ workflowVersionId: Scalars['String']; }; export type SsoConnection = { __typename?: 'SSOConnection'; id: Scalars['String']; issuer: Scalars['String']; name: Scalars['String']; status: SsoIdentityProviderStatus; type: IdentityProviderType; }; export type SsoIdentityProvider = { __typename?: 'SSOIdentityProvider'; id: Scalars['String']; issuer: Scalars['String']; name: Scalars['String']; status: SsoIdentityProviderStatus; type: IdentityProviderType; }; export enum SsoIdentityProviderStatus { Active = 'Active', Error = 'Error', Inactive = 'Inactive' } 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']; syncStatus: ServerlessFunctionSyncStatus; 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']; }; /** SyncStatus of the serverlessFunction */ export enum ServerlessFunctionSyncStatus { BUILDING = 'BUILDING', NOT_READY = 'NOT_READY', READY = 'READY' } export enum SettingsPermissions { ADMIN_PANEL = 'ADMIN_PANEL', API_KEYS_AND_WEBHOOKS = 'API_KEYS_AND_WEBHOOKS', DATA_MODEL = 'DATA_MODEL', ROLES = 'ROLES', SECURITY = 'SECURITY', WORKSPACE = 'WORKSPACE', WORKSPACE_MEMBERS = 'WORKSPACE_MEMBERS' } 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['String']; issuer: Scalars['String']; name: Scalars['String']; ssoURL: Scalars['String']; }; export type SetupSsoOutput = { __typename?: 'SetupSsoOutput'; id: Scalars['String']; issuer: Scalars['String']; name: Scalars['String']; status: SsoIdentityProviderStatus; type: IdentityProviderType; }; export type SignUpOutput = { __typename?: 'SignUpOutput'; loginToken: AuthToken; workspace: WorkspaceUrlsAndId; }; export type SubmitFormStepInput = { /** Form response in JSON format */ response: Scalars['JSON']; /** Workflow version ID */ stepId: Scalars['String']; /** Workflow run ID */ workflowRunId: Scalars['String']; }; export enum SubscriptionInterval { Day = 'Day', Month = 'Month', Week = 'Week', 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: Scalars['String']; supportFrontChatId?: Maybe; }; 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 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 UpdateFieldInput = { defaultValue?: InputMaybe; description?: InputMaybe; icon?: InputMaybe; isActive?: InputMaybe; isLabelSyncedWithName?: InputMaybe; isNullable?: InputMaybe; isSystem?: 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 UpdateServerlessFunctionInput = { code: Scalars['JSON']; description?: InputMaybe; /** Id of the serverless function to execute */ id: Scalars['UUID']; name: Scalars['String']; timeoutSeconds?: InputMaybe; }; export type UpdateWorkflowVersionStepInput = { /** Step to update in JSON format */ step: Scalars['JSON']; /** Workflow version ID */ workflowVersionId: Scalars['String']; }; export type UpdateWorkspaceInput = { allowImpersonation?: InputMaybe; customDomain?: InputMaybe; defaultRoleId?: InputMaybe; displayName?: InputMaybe; inviteHash?: InputMaybe; isGoogleAuthEnabled?: InputMaybe; isMicrosoftAuthEnabled?: InputMaybe; isPasswordAuthEnabled?: InputMaybe; isPublicInviteLinkEnabled?: InputMaybe; logo?: InputMaybe; subdomain?: InputMaybe; }; export type User = { __typename?: 'User'; analyticsTinybirdJwts?: Maybe; canAccessFullAdminPanel: Scalars['Boolean']; canImpersonate: Scalars['Boolean']; createdAt: Scalars['DateTime']; currentUserWorkspace?: Maybe; currentWorkspace?: Maybe; defaultAvatarUrl?: Maybe; deletedAt?: 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: Scalars['JSONObject']; 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 UserExists = { __typename?: 'UserExists'; availableWorkspaces: Array; exists: Scalars['Boolean']; isEmailVerified: Scalars['Boolean']; }; export type UserExistsOutput = UserExists | UserNotExists; export type UserInfo = { __typename?: 'UserInfo'; email: Scalars['String']; firstName?: Maybe; id: Scalars['String']; lastName?: Maybe; }; export type UserLookup = { __typename?: 'UserLookup'; user: UserInfo; workspaces: Array; }; export type UserMappingOptionsUser = { __typename?: 'UserMappingOptionsUser'; user?: Maybe; }; export type UserNotExists = { __typename?: 'UserNotExists'; exists: Scalars['Boolean']; }; export type UserWorkspace = { __typename?: 'UserWorkspace'; createdAt: Scalars['DateTime']; deletedAt?: Maybe; id: Scalars['UUID']; objectRecordsPermissions?: Maybe>; settingsPermissions?: Maybe>; updatedAt: Scalars['DateTime']; user: User; userId: Scalars['String']; workspace?: Maybe; workspaceId: Scalars['String']; }; export type ValidateApprovedAccessDomainInput = { approvedAccessDomainId: Scalars['String']; validationToken: Scalars['String']; }; export type ValidatePasswordResetToken = { __typename?: 'ValidatePasswordResetToken'; email: Scalars['String']; id: Scalars['String']; }; 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']; settings: Scalars['JSON']; type: Scalars['String']; valid: Scalars['Boolean']; }; export type WorkflowRun = { __typename?: 'WorkflowRun'; workflowRunId: Scalars['UUID']; }; export type WorkflowVersion = { __typename?: 'WorkflowVersion'; id: Scalars['UUID']; }; 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']; 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']; logo?: Maybe; metadataVersion: Scalars['Float']; subdomain: Scalars['String']; updatedAt: Scalars['DateTime']; version?: 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['String']; logo?: Maybe; name: Scalars['String']; totalUsers: Scalars['Float']; users: Array; }; 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; colorScheme: Scalars['String']; dateFormat?: Maybe; id: Scalars['UUID']; locale?: Maybe; name: FullName; 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' } /** 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['String']; }; export type WorkspaceUrlsAndId = { __typename?: 'WorkspaceUrlsAndId'; id: Scalars['String']; workspaceUrls: WorkspaceUrls; }; export type WorkspaceUrls = { __typename?: 'workspaceUrls'; customUrl?: Maybe; subdomainUrl: Scalars['String']; }; export type TimelineCalendarEventFragmentFragment = { __typename?: 'TimelineCalendarEvent', id: any, title: string, description: string, location: string, startsAt: string, endsAt: string, isFullDay: boolean, visibility: CalendarChannelVisibility, participants: Array<{ __typename?: 'TimelineCalendarEventParticipant', personId?: any | null, workspaceMemberId?: any | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }> }; export type TimelineCalendarEventParticipantFragmentFragment = { __typename?: 'TimelineCalendarEventParticipant', personId?: any | null, workspaceMemberId?: any | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }; export type TimelineCalendarEventsWithTotalFragmentFragment = { __typename?: 'TimelineCalendarEventsWithTotal', totalNumberOfCalendarEvents: number, timelineCalendarEvents: Array<{ __typename?: 'TimelineCalendarEvent', id: any, title: string, description: string, location: string, startsAt: string, endsAt: string, isFullDay: boolean, visibility: CalendarChannelVisibility, participants: Array<{ __typename?: 'TimelineCalendarEventParticipant', personId?: any | null, workspaceMemberId?: any | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }> }> }; export type GetTimelineCalendarEventsFromCompanyIdQueryVariables = Exact<{ companyId: Scalars['UUID']; page: Scalars['Int']; pageSize: Scalars['Int']; }>; export type GetTimelineCalendarEventsFromCompanyIdQuery = { __typename?: 'Query', getTimelineCalendarEventsFromCompanyId: { __typename?: 'TimelineCalendarEventsWithTotal', totalNumberOfCalendarEvents: number, timelineCalendarEvents: Array<{ __typename?: 'TimelineCalendarEvent', id: any, title: string, description: string, location: string, startsAt: string, endsAt: string, isFullDay: boolean, visibility: CalendarChannelVisibility, participants: Array<{ __typename?: 'TimelineCalendarEventParticipant', personId?: any | null, workspaceMemberId?: any | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }> }> } }; export type GetTimelineCalendarEventsFromPersonIdQueryVariables = Exact<{ personId: Scalars['UUID']; page: Scalars['Int']; pageSize: Scalars['Int']; }>; export type GetTimelineCalendarEventsFromPersonIdQuery = { __typename?: 'Query', getTimelineCalendarEventsFromPersonId: { __typename?: 'TimelineCalendarEventsWithTotal', totalNumberOfCalendarEvents: number, timelineCalendarEvents: Array<{ __typename?: 'TimelineCalendarEvent', id: any, title: string, description: string, location: string, startsAt: string, endsAt: string, isFullDay: boolean, visibility: CalendarChannelVisibility, participants: Array<{ __typename?: 'TimelineCalendarEventParticipant', personId?: any | null, workspaceMemberId?: any | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }> }> } }; export type ParticipantFragmentFragment = { __typename?: 'TimelineThreadParticipant', personId?: any | null, workspaceMemberId?: any | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }; export type TimelineThreadFragmentFragment = { __typename?: 'TimelineThread', id: any, read: boolean, visibility: MessageChannelVisibility, lastMessageReceivedAt: string, lastMessageBody: string, subject: string, numberOfMessagesInThread: number, participantCount: number, firstParticipant: { __typename?: 'TimelineThreadParticipant', personId?: any | null, workspaceMemberId?: any | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }, lastTwoParticipants: Array<{ __typename?: 'TimelineThreadParticipant', personId?: any | null, workspaceMemberId?: any | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }> }; export type TimelineThreadsWithTotalFragmentFragment = { __typename?: 'TimelineThreadsWithTotal', totalNumberOfThreads: number, timelineThreads: Array<{ __typename?: 'TimelineThread', id: any, read: boolean, visibility: MessageChannelVisibility, lastMessageReceivedAt: string, lastMessageBody: string, subject: string, numberOfMessagesInThread: number, participantCount: number, firstParticipant: { __typename?: 'TimelineThreadParticipant', personId?: any | null, workspaceMemberId?: any | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }, lastTwoParticipants: Array<{ __typename?: 'TimelineThreadParticipant', personId?: any | null, workspaceMemberId?: any | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }> }> }; export type GetTimelineThreadsFromCompanyIdQueryVariables = Exact<{ companyId: Scalars['UUID']; page: Scalars['Int']; pageSize: Scalars['Int']; }>; export type GetTimelineThreadsFromCompanyIdQuery = { __typename?: 'Query', getTimelineThreadsFromCompanyId: { __typename?: 'TimelineThreadsWithTotal', totalNumberOfThreads: number, timelineThreads: Array<{ __typename?: 'TimelineThread', id: any, read: boolean, visibility: MessageChannelVisibility, lastMessageReceivedAt: string, lastMessageBody: string, subject: string, numberOfMessagesInThread: number, participantCount: number, firstParticipant: { __typename?: 'TimelineThreadParticipant', personId?: any | null, workspaceMemberId?: any | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }, lastTwoParticipants: Array<{ __typename?: 'TimelineThreadParticipant', personId?: any | null, workspaceMemberId?: any | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }> }> } }; export type GetTimelineThreadsFromPersonIdQueryVariables = Exact<{ personId: Scalars['UUID']; page: Scalars['Int']; pageSize: Scalars['Int']; }>; export type GetTimelineThreadsFromPersonIdQuery = { __typename?: 'Query', getTimelineThreadsFromPersonId: { __typename?: 'TimelineThreadsWithTotal', totalNumberOfThreads: number, timelineThreads: Array<{ __typename?: 'TimelineThread', id: any, read: boolean, visibility: MessageChannelVisibility, lastMessageReceivedAt: string, lastMessageBody: string, subject: string, numberOfMessagesInThread: number, participantCount: number, firstParticipant: { __typename?: 'TimelineThreadParticipant', personId?: any | null, workspaceMemberId?: any | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }, lastTwoParticipants: Array<{ __typename?: 'TimelineThreadParticipant', personId?: any | null, workspaceMemberId?: any | null, firstName: string, lastName: string, displayName: string, avatarUrl: string, handle: string }> }> } }; export type TrackMutationVariables = Exact<{ action: Scalars['String']; payload: Scalars['JSON']; }>; export type TrackMutation = { __typename?: 'Mutation', track: { __typename?: 'Analytics', success: boolean } }; export type UploadFileMutationVariables = Exact<{ file: Scalars['Upload']; fileFolder?: InputMaybe; }>; export type UploadFileMutation = { __typename?: 'Mutation', uploadFile: string }; export type UploadImageMutationVariables = Exact<{ file: Scalars['Upload']; fileFolder?: InputMaybe; }>; export type UploadImageMutation = { __typename?: 'Mutation', uploadImage: string }; export type AuthTokenFragmentFragment = { __typename?: 'AuthToken', token: string, expiresAt: string }; export type AuthTokensFragmentFragment = { __typename?: 'AuthTokenPair', accessToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, refreshToken: { __typename?: 'AuthToken', token: string, expiresAt: string } }; 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['String']; }>; export type EmailPasswordResetLinkMutation = { __typename?: 'Mutation', emailPasswordResetLink: { __typename?: 'EmailPasswordResetLink', success: boolean } }; export type GenerateApiKeyTokenMutationVariables = Exact<{ apiKeyId: Scalars['String']; 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']; }>; export type GetAuthTokensFromLoginTokenMutation = { __typename?: 'Mutation', getAuthTokensFromLoginToken: { __typename?: 'AuthTokens', tokens: { __typename?: 'AuthTokenPair', accessToken: { __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; }>; export type GetLoginTokenFromCredentialsMutation = { __typename?: 'Mutation', getLoginTokenFromCredentials: { __typename?: 'LoginToken', loginToken: { __typename?: 'AuthToken', token: string, expiresAt: string } } }; export type GetLoginTokenFromEmailVerificationTokenMutationVariables = Exact<{ emailVerificationToken: Scalars['String']; captchaToken?: InputMaybe; }>; export type GetLoginTokenFromEmailVerificationTokenMutation = { __typename?: 'Mutation', getLoginTokenFromEmailVerificationToken: { __typename?: 'LoginToken', loginToken: { __typename?: 'AuthToken', token: string, expiresAt: string } } }; export type ImpersonateMutationVariables = Exact<{ userId: Scalars['String']; workspaceId: Scalars['String']; }>; 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 RenewTokenMutationVariables = Exact<{ appToken: Scalars['String']; }>; export type RenewTokenMutation = { __typename?: 'Mutation', renewToken: { __typename?: 'AuthTokens', tokens: { __typename?: 'AuthTokenPair', accessToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, refreshToken: { __typename?: 'AuthToken', token: string, expiresAt: string } } } }; export type ResendEmailVerificationTokenMutationVariables = Exact<{ email: Scalars['String']; }>; export type ResendEmailVerificationTokenMutation = { __typename?: 'Mutation', resendEmailVerificationToken: { __typename?: 'ResendEmailVerificationTokenOutput', success: boolean } }; export type SignUpMutationVariables = Exact<{ email: Scalars['String']; password: Scalars['String']; workspaceInviteHash?: InputMaybe; workspacePersonalInviteToken?: InputMaybe; captchaToken?: InputMaybe; workspaceId?: InputMaybe; locale?: InputMaybe; }>; export type SignUpMutation = { __typename?: 'Mutation', signUp: { __typename?: 'SignUpOutput', loginToken: { __typename?: 'AuthToken', token: string, expiresAt: string }, workspace: { __typename?: 'WorkspaceUrlsAndId', id: string, workspaceUrls: { __typename?: 'workspaceUrls', subdomainUrl: string, customUrl?: string | null } } } }; 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 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: 'UserExists', exists: boolean, isEmailVerified: boolean, availableWorkspaces: Array<{ __typename?: 'AvailableWorkspaceOutput', id: string, displayName?: 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 }> }> } | { __typename: 'UserNotExists', exists: boolean } }; export type GetPublicWorkspaceDataByDomainQueryVariables = Exact<{ [key: string]: never; }>; 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 BillingBaseProductPricesQueryVariables = Exact<{ [key: string]: never; }>; export type BillingBaseProductPricesQuery = { __typename?: 'Query', plans: Array<{ __typename?: 'BillingPlanOutput', planKey: BillingPlanKey, baseProduct: { __typename?: 'BillingProductDTO', name: string, prices: Array<{ __typename?: 'BillingPriceLicensedDTO', unitAmount: number, stripePriceId: string, recurringInterval: SubscriptionInterval } | { __typename?: 'BillingPriceMeteredDTO' }> } }> }; export type BillingPortalSessionQueryVariables = Exact<{ returnUrlPath?: InputMaybe; }>; export type BillingPortalSessionQuery = { __typename?: 'Query', billingPortalSession: { __typename?: 'BillingSessionOutput', url?: string | 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 UpdateBillingSubscriptionMutationVariables = Exact<{ [key: string]: never; }>; export type UpdateBillingSubscriptionMutation = { __typename?: 'Mutation', updateBillingSubscription: { __typename?: 'BillingUpdateOutput', success: boolean } }; export type GetClientConfigQueryVariables = Exact<{ [key: string]: never; }>; export type GetClientConfigQuery = { __typename?: 'Query', clientConfig: { __typename?: 'ClientConfig', signInPrefilled: boolean, isMultiWorkspaceEnabled: boolean, isEmailVerificationRequired: boolean, defaultSubdomain?: string | null, frontDomain: string, debugMode: boolean, analyticsEnabled: boolean, isAttachmentPreviewEnabled: boolean, chromeExtensionId?: string | null, canManageFeatureFlags: boolean, isMicrosoftMessagingEnabled: boolean, isMicrosoftCalendarEnabled: boolean, isGoogleMessagingEnabled: boolean, isGoogleCalendarEnabled: boolean, billing: { __typename?: 'Billing', isBillingEnabled: boolean, billingUrl?: string | null, trialPeriods: Array<{ __typename?: 'BillingTrialPeriodDTO', duration: number, isCreditCardRequired: boolean }> }, authProviders: { __typename?: 'AuthProviders', google: boolean, password: boolean, microsoft: boolean, sso: Array<{ __typename?: 'SSOIdentityProvider', id: string, name: string, type: IdentityProviderType, status: SsoIdentityProviderStatus, issuer: string }> }, support: { __typename?: 'Support', supportDriver: string, supportFrontChatId?: string | null }, sentry: { __typename?: 'Sentry', dsn?: string | null, environment?: string | null, release?: string | null }, captcha: { __typename?: 'Captcha', provider?: CaptchaDriverType | null, siteKey?: string | null }, api: { __typename?: 'ApiConfig', mutationMaximumAffectedRecords: number }, publicFeatureFlags: Array<{ __typename?: 'PublicFeatureFlag', key: FeatureFlagKey, metadata: { __typename?: 'PublicFeatureFlagMetadata', label: string, description: string, imagePath: string } }> } }; export type GlobalSearchQueryVariables = Exact<{ searchInput: Scalars['String']; limit: Scalars['Int']; excludedObjectNameSingulars?: InputMaybe | Scalars['String']>; includedObjectNameSingulars?: InputMaybe | Scalars['String']>; filter?: InputMaybe; }>; export type GlobalSearchQuery = { __typename?: 'Query', globalSearch: Array<{ __typename?: 'GlobalSearchRecord', recordId: string, objectSingularName: string, label: string, imageUrl?: string | null, tsRankCD: number, tsRank: number }> }; export type SkipSyncEmailOnboardingStepMutationVariables = Exact<{ [key: string]: never; }>; export type SkipSyncEmailOnboardingStepMutation = { __typename?: 'Mutation', skipSyncEmailOnboardingStep: { __typename?: 'OnboardingStepSuccess', success: boolean } }; export type UpdateWorkspaceFeatureFlagMutationVariables = Exact<{ workspaceId: Scalars['String']; 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, users: Array<{ __typename?: 'UserInfo', id: string, email: string, firstName?: string | null, lastName?: string | null }>, featureFlags: Array<{ __typename?: 'FeatureFlag', key: FeatureFlagKey, value: boolean }> }> } }; export type GetEnvironmentVariablesGroupedQueryVariables = Exact<{ [key: string]: never; }>; export type GetEnvironmentVariablesGroupedQuery = { __typename?: 'Query', getEnvironmentVariablesGrouped: { __typename?: 'EnvironmentVariablesOutput', groups: Array<{ __typename?: 'EnvironmentVariablesGroupData', name: EnvironmentVariablesGroup, description: string, isHiddenOnLoad: boolean, variables: Array<{ __typename?: 'EnvironmentVariable', name: string, description: string, value: string, sensitive: boolean }> }> } }; export type GetIndicatorHealthStatusQueryVariables = Exact<{ indicatorId: HealthIndicatorId; }>; export type GetIndicatorHealthStatusQuery = { __typename?: 'Query', getIndicatorHealthStatus: { __typename?: 'AdminPanelHealthServiceData', id: string, 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 UpdateLabPublicFeatureFlagMutationVariables = Exact<{ input: UpdateLabPublicFeatureFlagInput; }>; export type UpdateLabPublicFeatureFlagMutation = { __typename?: 'Mutation', updateLabPublicFeatureFlag: { __typename?: 'FeatureFlag', id: any, key: FeatureFlagKey, value: boolean } }; export type RoleFragmentFragment = { __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean }; export type UpdateWorkspaceMemberRoleMutationVariables = Exact<{ workspaceMemberId: Scalars['String']; roleId: Scalars['String']; }>; export type UpdateWorkspaceMemberRoleMutation = { __typename?: 'Mutation', updateWorkspaceMemberRole: { __typename?: 'WorkspaceMember', id: any, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, roles?: Array<{ __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean }> | null, name: { __typename?: 'FullName', firstName: string, lastName: 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, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean, workspaceMembers: Array<{ __typename?: 'WorkspaceMember', id: any, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, name: { __typename?: 'FullName', firstName: string, lastName: string } }> }> }; export type CreateApprovedAccessDomainMutationVariables = Exact<{ input: CreateApprovedAccessDomainInput; }>; export type CreateApprovedAccessDomainMutation = { __typename?: 'Mutation', createApprovedAccessDomain: { __typename?: 'ApprovedAccessDomain', id: any, 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: any, isValidated: boolean, domain: string, createdAt: string } }; export type GetApprovedAccessDomainsQueryVariables = Exact<{ [key: string]: never; }>; export type GetApprovedAccessDomainsQuery = { __typename?: 'Query', getApprovedAccessDomains: Array<{ __typename?: 'ApprovedAccessDomain', id: any, 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 UserQueryFragmentFragment = { __typename?: 'User', id: any, firstName: string, lastName: string, email: string, canAccessFullAdminPanel: boolean, canImpersonate: boolean, supportUserHash?: string | null, onboardingStatus?: OnboardingStatus | null, userVars: any, analyticsTinybirdJwts?: { __typename?: 'AnalyticsTinybirdJwtMap', getWebhookAnalytics: string, getPageviewsAnalytics: string, getUsersAnalytics: string, getServerlessFunctionDuration: string, getServerlessFunctionSuccessRate: string, getServerlessFunctionErrorCount: string } | null, workspaceMember?: { __typename?: 'WorkspaceMember', id: any, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } | null, workspaceMembers?: Array<{ __typename?: 'WorkspaceMember', id: any, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, currentUserWorkspace?: { __typename?: 'UserWorkspace', settingsPermissions?: Array | null, objectRecordsPermissions?: Array | null } | null, currentWorkspace?: { __typename?: 'Workspace', id: any, 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, workspaceUrls: { __typename?: 'workspaceUrls', subdomainUrl: string, customUrl?: string | null }, featureFlags?: Array<{ __typename?: 'FeatureFlag', id: any, key: FeatureFlagKey, value: boolean, workspaceId: string }> | null, currentBillingSubscription?: { __typename?: 'BillingSubscription', id: any, status: SubscriptionStatus, interval?: SubscriptionInterval | null } | null, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: any, status: SubscriptionStatus }>, defaultRole?: { __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean } | null } | null, workspaces: Array<{ __typename?: 'UserWorkspace', workspace?: { __typename?: 'Workspace', id: any, logo?: string | null, displayName?: string | null, subdomain: string, customDomain?: string | null, workspaceUrls: { __typename?: 'workspaceUrls', subdomainUrl: string, customUrl?: string | null } } | null }> }; export type DeleteUserAccountMutationVariables = Exact<{ [key: string]: never; }>; export type DeleteUserAccountMutation = { __typename?: 'Mutation', deleteUser: { __typename?: 'User', id: any } }; export type UploadProfilePictureMutationVariables = Exact<{ file: Scalars['Upload']; }>; export type UploadProfilePictureMutation = { __typename?: 'Mutation', uploadProfilePicture: string }; export type GetCurrentUserQueryVariables = Exact<{ [key: string]: never; }>; export type GetCurrentUserQuery = { __typename?: 'Query', currentUser: { __typename?: 'User', id: any, firstName: string, lastName: string, email: string, canAccessFullAdminPanel: boolean, canImpersonate: boolean, supportUserHash?: string | null, onboardingStatus?: OnboardingStatus | null, userVars: any, analyticsTinybirdJwts?: { __typename?: 'AnalyticsTinybirdJwtMap', getWebhookAnalytics: string, getPageviewsAnalytics: string, getUsersAnalytics: string, getServerlessFunctionDuration: string, getServerlessFunctionSuccessRate: string, getServerlessFunctionErrorCount: string } | null, workspaceMember?: { __typename?: 'WorkspaceMember', id: any, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, name: { __typename?: 'FullName', firstName: string, lastName: string } } | null, workspaceMembers?: Array<{ __typename?: 'WorkspaceMember', id: any, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, name: { __typename?: 'FullName', firstName: string, lastName: string } }> | null, currentUserWorkspace?: { __typename?: 'UserWorkspace', settingsPermissions?: Array | null, objectRecordsPermissions?: Array | null } | null, currentWorkspace?: { __typename?: 'Workspace', id: any, 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, workspaceUrls: { __typename?: 'workspaceUrls', subdomainUrl: string, customUrl?: string | null }, featureFlags?: Array<{ __typename?: 'FeatureFlag', id: any, key: FeatureFlagKey, value: boolean, workspaceId: string }> | null, currentBillingSubscription?: { __typename?: 'BillingSubscription', id: any, status: SubscriptionStatus, interval?: SubscriptionInterval | null } | null, billingSubscriptions: Array<{ __typename?: 'BillingSubscription', id: any, status: SubscriptionStatus }>, defaultRole?: { __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean } | null } | null, workspaces: Array<{ __typename?: 'UserWorkspace', workspace?: { __typename?: 'Workspace', id: any, logo?: string | null, displayName?: string | null, subdomain: string, customDomain?: string | null, workspaceUrls: { __typename?: 'workspaceUrls', subdomainUrl: string, customUrl?: string | null } } | null }> } }; export type ActivateWorkflowVersionMutationVariables = Exact<{ workflowVersionId: Scalars['String']; }>; 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: any } }; export type CreateWorkflowVersionStepMutationVariables = Exact<{ input: CreateWorkflowVersionStepInput; }>; export type CreateWorkflowVersionStepMutation = { __typename?: 'Mutation', createWorkflowVersionStep: { __typename?: 'WorkflowAction', id: any, name: string, type: string, settings: any, valid: boolean } }; export type DeactivateWorkflowVersionMutationVariables = Exact<{ workflowVersionId: Scalars['String']; }>; export type DeactivateWorkflowVersionMutation = { __typename?: 'Mutation', deactivateWorkflowVersion: boolean }; export type DeleteWorkflowVersionStepMutationVariables = Exact<{ input: DeleteWorkflowVersionStepInput; }>; export type DeleteWorkflowVersionStepMutation = { __typename?: 'Mutation', deleteWorkflowVersionStep: { __typename?: 'WorkflowAction', id: any, name: string, type: string, settings: any, valid: boolean } }; export type RunWorkflowVersionMutationVariables = Exact<{ input: RunWorkflowVersionInput; }>; export type RunWorkflowVersionMutation = { __typename?: 'Mutation', runWorkflowVersion: { __typename?: 'WorkflowRun', workflowRunId: any } }; export type UpdateWorkflowVersionStepMutationVariables = Exact<{ input: UpdateWorkflowVersionStepInput; }>; export type UpdateWorkflowVersionStepMutation = { __typename?: 'Mutation', updateWorkflowVersionStep: { __typename?: 'WorkflowAction', id: any, name: string, type: string, settings: any, valid: 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: any, 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: any, email: string, expiresAt: string }> } }; export type GetWorkspaceInvitationsQueryVariables = Exact<{ [key: string]: never; }>; export type GetWorkspaceInvitationsQuery = { __typename?: 'Query', findWorkspaceInvitations: Array<{ __typename?: 'WorkspaceInvitation', id: any, email: string, expiresAt: string }> }; export type WorkspaceMemberQueryFragmentFragment = { __typename?: 'WorkspaceMember', id: any, colorScheme: string, avatarUrl?: string | null, locale?: string | null, userEmail: string, timeZone?: string | null, dateFormat?: WorkspaceMemberDateFormatEnum | null, timeFormat?: WorkspaceMemberTimeFormatEnum | null, name: { __typename?: 'FullName', firstName: string, lastName: string } }; export type ActivateWorkspaceMutationVariables = Exact<{ input: ActivateWorkspaceInput; }>; export type ActivateWorkspaceMutation = { __typename?: 'Mutation', activateWorkspace: { __typename?: 'Workspace', id: any } }; export type DeleteCurrentWorkspaceMutationVariables = Exact<{ [key: string]: never; }>; export type DeleteCurrentWorkspaceMutation = { __typename?: 'Mutation', deleteCurrentWorkspace: { __typename?: 'Workspace', id: any } }; export type UpdateWorkspaceMutationVariables = Exact<{ input: UpdateWorkspaceInput; }>; export type UpdateWorkspaceMutation = { __typename?: 'Mutation', updateWorkspace: { __typename?: 'Workspace', id: any, customDomain?: string | null, subdomain: string, displayName?: string | null, logo?: string | null, allowImpersonation: boolean, isPublicInviteLinkEnabled: boolean, isGoogleAuthEnabled: boolean, isMicrosoftAuthEnabled: boolean, isPasswordAuthEnabled: boolean, defaultRole?: { __typename?: 'Role', id: string, label: string, description?: string | null, icon?: string | null, canUpdateAllSettings: boolean, isEditable: boolean, canReadAllObjectRecords: boolean, canUpdateAllObjectRecords: boolean, canSoftDeleteAllObjectRecords: boolean, canDestroyAllObjectRecords: boolean } | null } }; export type UploadWorkspaceLogoMutationVariables = Exact<{ file: Scalars['Upload']; }>; export type UploadWorkspaceLogoMutation = { __typename?: 'Mutation', uploadWorkspaceLogo: string }; export type CheckCustomDomainValidRecordsMutationVariables = Exact<{ [key: string]: never; }>; export type CheckCustomDomainValidRecordsMutation = { __typename?: 'Mutation', checkCustomDomainValidRecords?: { __typename?: 'CustomDomainValidRecords', id: string, customDomain: string, records: Array<{ __typename?: 'CustomDomainRecord', 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: any, displayName?: string | null, logo?: string | null, allowImpersonation: boolean } }; export const TimelineCalendarEventParticipantFragmentFragmentDoc = gql` fragment TimelineCalendarEventParticipantFragment on TimelineCalendarEventParticipant { personId workspaceMemberId firstName lastName displayName avatarUrl handle } `; export const TimelineCalendarEventFragmentFragmentDoc = gql` fragment TimelineCalendarEventFragment on TimelineCalendarEvent { id title description location startsAt endsAt isFullDay visibility participants { ...TimelineCalendarEventParticipantFragment } } ${TimelineCalendarEventParticipantFragmentFragmentDoc}`; export const TimelineCalendarEventsWithTotalFragmentFragmentDoc = gql` fragment TimelineCalendarEventsWithTotalFragment on TimelineCalendarEventsWithTotal { totalNumberOfCalendarEvents timelineCalendarEvents { ...TimelineCalendarEventFragment } } ${TimelineCalendarEventFragmentFragmentDoc}`; export const ParticipantFragmentFragmentDoc = gql` fragment ParticipantFragment on TimelineThreadParticipant { personId workspaceMemberId firstName lastName displayName avatarUrl handle } `; export const TimelineThreadFragmentFragmentDoc = gql` fragment TimelineThreadFragment on TimelineThread { id read visibility firstParticipant { ...ParticipantFragment } lastTwoParticipants { ...ParticipantFragment } lastMessageReceivedAt lastMessageBody subject numberOfMessagesInThread participantCount } ${ParticipantFragmentFragmentDoc}`; export const TimelineThreadsWithTotalFragmentFragmentDoc = gql` fragment TimelineThreadsWithTotalFragment on TimelineThreadsWithTotal { totalNumberOfThreads timelineThreads { ...TimelineThreadFragment } } ${TimelineThreadFragmentFragmentDoc}`; export const AuthTokenFragmentFragmentDoc = gql` fragment AuthTokenFragment on AuthToken { token expiresAt } `; export const AuthTokensFragmentFragmentDoc = gql` fragment AuthTokensFragment on AuthTokenPair { accessToken { ...AuthTokenFragment } refreshToken { ...AuthTokenFragment } } ${AuthTokenFragmentFragmentDoc}`; export const AvailableSsoIdentityProvidersFragmentFragmentDoc = gql` fragment AvailableSSOIdentityProvidersFragment on FindAvailableSSOIDPOutput { id issuer name status workspace { id displayName } } `; export const WorkspaceMemberQueryFragmentFragmentDoc = gql` fragment WorkspaceMemberQueryFragment on WorkspaceMember { id name { firstName lastName } colorScheme avatarUrl locale userEmail timeZone dateFormat timeFormat } `; export const RoleFragmentFragmentDoc = gql` fragment RoleFragment on Role { id label description icon canUpdateAllSettings isEditable canReadAllObjectRecords canUpdateAllObjectRecords canSoftDeleteAllObjectRecords canDestroyAllObjectRecords } `; export const UserQueryFragmentFragmentDoc = gql` fragment UserQueryFragment on User { id firstName lastName email canAccessFullAdminPanel canImpersonate supportUserHash analyticsTinybirdJwts { getWebhookAnalytics getPageviewsAnalytics getUsersAnalytics getServerlessFunctionDuration getServerlessFunctionSuccessRate getServerlessFunctionErrorCount } onboardingStatus workspaceMember { ...WorkspaceMemberQueryFragment } workspaceMembers { ...WorkspaceMemberQueryFragment } currentUserWorkspace { settingsPermissions objectRecordsPermissions } currentWorkspace { id displayName logo inviteHash allowImpersonation activationStatus isPublicInviteLinkEnabled isGoogleAuthEnabled isMicrosoftAuthEnabled isPasswordAuthEnabled subdomain hasValidEnterpriseKey customDomain isCustomDomainEnabled workspaceUrls { subdomainUrl customUrl } featureFlags { id key value workspaceId } metadataVersion currentBillingSubscription { id status interval } billingSubscriptions { id status } workspaceMembersCount defaultRole { ...RoleFragment } } workspaces { workspace { id logo displayName subdomain customDomain workspaceUrls { subdomainUrl customUrl } } } userVars } ${WorkspaceMemberQueryFragmentFragmentDoc} ${RoleFragmentFragmentDoc}`; export const GetTimelineCalendarEventsFromCompanyIdDocument = gql` query GetTimelineCalendarEventsFromCompanyId($companyId: UUID!, $page: Int!, $pageSize: Int!) { getTimelineCalendarEventsFromCompanyId( companyId: $companyId page: $page pageSize: $pageSize ) { ...TimelineCalendarEventsWithTotalFragment } } ${TimelineCalendarEventsWithTotalFragmentFragmentDoc}`; /** * __useGetTimelineCalendarEventsFromCompanyIdQuery__ * * To run a query within a React component, call `useGetTimelineCalendarEventsFromCompanyIdQuery` and pass it any options that fit your needs. * When your component renders, `useGetTimelineCalendarEventsFromCompanyIdQuery` 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 } = useGetTimelineCalendarEventsFromCompanyIdQuery({ * variables: { * companyId: // value for 'companyId' * page: // value for 'page' * pageSize: // value for 'pageSize' * }, * }); */ export function useGetTimelineCalendarEventsFromCompanyIdQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetTimelineCalendarEventsFromCompanyIdDocument, options); } export function useGetTimelineCalendarEventsFromCompanyIdLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetTimelineCalendarEventsFromCompanyIdDocument, options); } export type GetTimelineCalendarEventsFromCompanyIdQueryHookResult = ReturnType; export type GetTimelineCalendarEventsFromCompanyIdLazyQueryHookResult = ReturnType; export type GetTimelineCalendarEventsFromCompanyIdQueryResult = Apollo.QueryResult; export const GetTimelineCalendarEventsFromPersonIdDocument = gql` query GetTimelineCalendarEventsFromPersonId($personId: UUID!, $page: Int!, $pageSize: Int!) { getTimelineCalendarEventsFromPersonId( personId: $personId page: $page pageSize: $pageSize ) { ...TimelineCalendarEventsWithTotalFragment } } ${TimelineCalendarEventsWithTotalFragmentFragmentDoc}`; /** * __useGetTimelineCalendarEventsFromPersonIdQuery__ * * To run a query within a React component, call `useGetTimelineCalendarEventsFromPersonIdQuery` and pass it any options that fit your needs. * When your component renders, `useGetTimelineCalendarEventsFromPersonIdQuery` 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 } = useGetTimelineCalendarEventsFromPersonIdQuery({ * variables: { * personId: // value for 'personId' * page: // value for 'page' * pageSize: // value for 'pageSize' * }, * }); */ export function useGetTimelineCalendarEventsFromPersonIdQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetTimelineCalendarEventsFromPersonIdDocument, options); } export function useGetTimelineCalendarEventsFromPersonIdLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetTimelineCalendarEventsFromPersonIdDocument, options); } export type GetTimelineCalendarEventsFromPersonIdQueryHookResult = ReturnType; export type GetTimelineCalendarEventsFromPersonIdLazyQueryHookResult = ReturnType; export type GetTimelineCalendarEventsFromPersonIdQueryResult = Apollo.QueryResult; export const GetTimelineThreadsFromCompanyIdDocument = gql` query GetTimelineThreadsFromCompanyId($companyId: UUID!, $page: Int!, $pageSize: Int!) { getTimelineThreadsFromCompanyId( companyId: $companyId page: $page pageSize: $pageSize ) { ...TimelineThreadsWithTotalFragment } } ${TimelineThreadsWithTotalFragmentFragmentDoc}`; /** * __useGetTimelineThreadsFromCompanyIdQuery__ * * To run a query within a React component, call `useGetTimelineThreadsFromCompanyIdQuery` and pass it any options that fit your needs. * When your component renders, `useGetTimelineThreadsFromCompanyIdQuery` 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 } = useGetTimelineThreadsFromCompanyIdQuery({ * variables: { * companyId: // value for 'companyId' * page: // value for 'page' * pageSize: // value for 'pageSize' * }, * }); */ export function useGetTimelineThreadsFromCompanyIdQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetTimelineThreadsFromCompanyIdDocument, options); } export function useGetTimelineThreadsFromCompanyIdLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetTimelineThreadsFromCompanyIdDocument, options); } export type GetTimelineThreadsFromCompanyIdQueryHookResult = ReturnType; export type GetTimelineThreadsFromCompanyIdLazyQueryHookResult = ReturnType; export type GetTimelineThreadsFromCompanyIdQueryResult = Apollo.QueryResult; export const GetTimelineThreadsFromPersonIdDocument = gql` query GetTimelineThreadsFromPersonId($personId: UUID!, $page: Int!, $pageSize: Int!) { getTimelineThreadsFromPersonId( personId: $personId page: $page pageSize: $pageSize ) { ...TimelineThreadsWithTotalFragment } } ${TimelineThreadsWithTotalFragmentFragmentDoc}`; /** * __useGetTimelineThreadsFromPersonIdQuery__ * * To run a query within a React component, call `useGetTimelineThreadsFromPersonIdQuery` and pass it any options that fit your needs. * When your component renders, `useGetTimelineThreadsFromPersonIdQuery` 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 } = useGetTimelineThreadsFromPersonIdQuery({ * variables: { * personId: // value for 'personId' * page: // value for 'page' * pageSize: // value for 'pageSize' * }, * }); */ export function useGetTimelineThreadsFromPersonIdQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetTimelineThreadsFromPersonIdDocument, options); } export function useGetTimelineThreadsFromPersonIdLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetTimelineThreadsFromPersonIdDocument, options); } export type GetTimelineThreadsFromPersonIdQueryHookResult = ReturnType; export type GetTimelineThreadsFromPersonIdLazyQueryHookResult = ReturnType; export type GetTimelineThreadsFromPersonIdQueryResult = Apollo.QueryResult; export const TrackDocument = gql` mutation Track($action: String!, $payload: JSON!) { track(action: $action, payload: $payload) { success } } `; export type TrackMutationFn = Apollo.MutationFunction; /** * __useTrackMutation__ * * To run a mutation, you first call `useTrackMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useTrackMutation` 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 [trackMutation, { data, loading, error }] = useTrackMutation({ * variables: { * action: // value for 'action' * payload: // value for 'payload' * }, * }); */ export function useTrackMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(TrackDocument, options); } export type TrackMutationHookResult = ReturnType; export type TrackMutationResult = Apollo.MutationResult; export type TrackMutationOptions = Apollo.BaseMutationOptions; export const UploadFileDocument = gql` mutation uploadFile($file: Upload!, $fileFolder: FileFolder) { uploadFile(file: $file, fileFolder: $fileFolder) } `; 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) } `; 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: String!) { 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: String!, $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!) { getAuthTokensFromLoginToken(loginToken: $loginToken) { tokens { ...AuthTokensFragment } } } ${AuthTokensFragmentFragmentDoc}`; 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' * }, * }); */ 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 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) { getLoginTokenFromCredentials( email: $email password: $password captchaToken: $captchaToken ) { 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' * }, * }); */ 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!, $captchaToken: String) { getLoginTokenFromEmailVerificationToken( emailVerificationToken: $emailVerificationToken captchaToken: $captchaToken ) { loginToken { ...AuthTokenFragment } } } ${AuthTokenFragmentFragmentDoc}`; 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' * captchaToken: // value for 'captchaToken' * }, * }); */ 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 ImpersonateDocument = gql` mutation Impersonate($userId: String!, $workspaceId: String!) { impersonate(userId: $userId, workspaceId: $workspaceId) { workspace { workspaceUrls { subdomainUrl customUrl } id } loginToken { ...AuthTokenFragment } } } ${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 RenewTokenDocument = gql` mutation RenewToken($appToken: String!) { renewToken(appToken: $appToken) { tokens { ...AuthTokensFragment } } } ${AuthTokensFragmentFragmentDoc}`; 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!) { resendEmailVerificationToken(email: $email) { 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' * }, * }); */ 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 SignUpDocument = gql` mutation SignUp($email: String!, $password: String!, $workspaceInviteHash: String, $workspacePersonalInviteToken: String = null, $captchaToken: String, $workspaceId: String, $locale: String) { signUp( email: $email password: $password workspaceInviteHash: $workspaceInviteHash workspacePersonalInviteToken: $workspacePersonalInviteToken captchaToken: $captchaToken workspaceId: $workspaceId locale: $locale ) { loginToken { ...AuthTokenFragment } workspace { id workspaceUrls { subdomainUrl customUrl } } } } ${AuthTokenFragmentFragmentDoc}`; 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' * workspaceInviteHash: // value for 'workspaceInviteHash' * workspacePersonalInviteToken: // value for 'workspacePersonalInviteToken' * captchaToken: // value for 'captchaToken' * workspaceId: // value for 'workspaceId' * locale: // value for 'locale' * }, * }); */ 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 { subdomainUrl customUrl } } } } ${AuthTokenFragmentFragmentDoc}`; 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 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) { __typename ... on UserExists { exists availableWorkspaces { id displayName workspaceUrls { subdomainUrl customUrl } logo sso { type id issuer name status } } isEmailVerified } ... on UserNotExists { exists } } } `; /** * __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 { getPublicWorkspaceDataByDomain { id logo displayName workspaceUrls { subdomainUrl customUrl } authProviders { sso { id name type status issuer } google magicLink password microsoft } } } `; /** * __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: { * }, * }); */ 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 BillingBaseProductPricesDocument = gql` query billingBaseProductPrices { plans { planKey baseProduct { name prices { ... on BillingPriceLicensedDTO { unitAmount stripePriceId recurringInterval } } } } } `; /** * __useBillingBaseProductPricesQuery__ * * To run a query within a React component, call `useBillingBaseProductPricesQuery` and pass it any options that fit your needs. * When your component renders, `useBillingBaseProductPricesQuery` 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 } = useBillingBaseProductPricesQuery({ * variables: { * }, * }); */ export function useBillingBaseProductPricesQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(BillingBaseProductPricesDocument, options); } export function useBillingBaseProductPricesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(BillingBaseProductPricesDocument, options); } export type BillingBaseProductPricesQueryHookResult = ReturnType; export type BillingBaseProductPricesLazyQueryHookResult = ReturnType; export type BillingBaseProductPricesQueryResult = Apollo.QueryResult; 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 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 UpdateBillingSubscriptionDocument = gql` mutation UpdateBillingSubscription { updateBillingSubscription { success } } `; export type UpdateBillingSubscriptionMutationFn = Apollo.MutationFunction; /** * __useUpdateBillingSubscriptionMutation__ * * To run a mutation, you first call `useUpdateBillingSubscriptionMutation` within a React component and pass it any options that fit your needs. * When your component renders, `useUpdateBillingSubscriptionMutation` 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 [updateBillingSubscriptionMutation, { data, loading, error }] = useUpdateBillingSubscriptionMutation({ * variables: { * }, * }); */ export function useUpdateBillingSubscriptionMutation(baseOptions?: Apollo.MutationHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useMutation(UpdateBillingSubscriptionDocument, options); } export type UpdateBillingSubscriptionMutationHookResult = ReturnType; export type UpdateBillingSubscriptionMutationResult = Apollo.MutationResult; export type UpdateBillingSubscriptionMutationOptions = Apollo.BaseMutationOptions; export const GetClientConfigDocument = gql` query GetClientConfig { clientConfig { billing { isBillingEnabled billingUrl trialPeriods { duration isCreditCardRequired } } authProviders { google password microsoft sso { id name type status issuer } } signInPrefilled isMultiWorkspaceEnabled isEmailVerificationRequired defaultSubdomain frontDomain debugMode analyticsEnabled isAttachmentPreviewEnabled support { supportDriver supportFrontChatId } sentry { dsn environment release } captcha { provider siteKey } api { mutationMaximumAffectedRecords } chromeExtensionId canManageFeatureFlags publicFeatureFlags { key metadata { label description imagePath } } isMicrosoftMessagingEnabled isMicrosoftCalendarEnabled isGoogleMessagingEnabled isGoogleCalendarEnabled } } `; /** * __useGetClientConfigQuery__ * * To run a query within a React component, call `useGetClientConfigQuery` and pass it any options that fit your needs. * When your component renders, `useGetClientConfigQuery` 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 } = useGetClientConfigQuery({ * variables: { * }, * }); */ export function useGetClientConfigQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetClientConfigDocument, options); } export function useGetClientConfigLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetClientConfigDocument, options); } export type GetClientConfigQueryHookResult = ReturnType; export type GetClientConfigLazyQueryHookResult = ReturnType; export type GetClientConfigQueryResult = Apollo.QueryResult; export const GlobalSearchDocument = gql` query GlobalSearch($searchInput: String!, $limit: Int!, $excludedObjectNameSingulars: [String!], $includedObjectNameSingulars: [String!], $filter: ObjectRecordFilterInput) { globalSearch( searchInput: $searchInput limit: $limit excludedObjectNameSingulars: $excludedObjectNameSingulars includedObjectNameSingulars: $includedObjectNameSingulars filter: $filter ) { recordId objectSingularName label imageUrl tsRankCD tsRank } } `; /** * __useGlobalSearchQuery__ * * To run a query within a React component, call `useGlobalSearchQuery` and pass it any options that fit your needs. * When your component renders, `useGlobalSearchQuery` 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 } = useGlobalSearchQuery({ * variables: { * searchInput: // value for 'searchInput' * limit: // value for 'limit' * excludedObjectNameSingulars: // value for 'excludedObjectNameSingulars' * includedObjectNameSingulars: // value for 'includedObjectNameSingulars' * filter: // value for 'filter' * }, * }); */ export function useGlobalSearchQuery(baseOptions: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GlobalSearchDocument, options); } export function useGlobalSearchLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GlobalSearchDocument, options); } export type GlobalSearchQueryHookResult = ReturnType; export type GlobalSearchLazyQueryHookResult = ReturnType; export type GlobalSearchQueryResult = Apollo.QueryResult; 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 UpdateWorkspaceFeatureFlagDocument = gql` mutation UpdateWorkspaceFeatureFlag($workspaceId: String!, $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 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 GetEnvironmentVariablesGroupedDocument = gql` query GetEnvironmentVariablesGrouped { getEnvironmentVariablesGrouped { groups { name description isHiddenOnLoad variables { name description value sensitive } } } } `; /** * __useGetEnvironmentVariablesGroupedQuery__ * * To run a query within a React component, call `useGetEnvironmentVariablesGroupedQuery` and pass it any options that fit your needs. * When your component renders, `useGetEnvironmentVariablesGroupedQuery` 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 } = useGetEnvironmentVariablesGroupedQuery({ * variables: { * }, * }); */ export function useGetEnvironmentVariablesGroupedQuery(baseOptions?: Apollo.QueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useQuery(GetEnvironmentVariablesGroupedDocument, options); } export function useGetEnvironmentVariablesGroupedLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { const options = {...defaultOptions, ...baseOptions} return Apollo.useLazyQuery(GetEnvironmentVariablesGroupedDocument, options); } export type GetEnvironmentVariablesGroupedQueryHookResult = ReturnType; export type GetEnvironmentVariablesGroupedLazyQueryHookResult = ReturnType; export type GetEnvironmentVariablesGroupedQueryResult = 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 UpdateLabPublicFeatureFlagDocument = gql` mutation UpdateLabPublicFeatureFlag($input: UpdateLabPublicFeatureFlagInput!) { updateLabPublicFeatureFlag(input: $input) { id 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 UpdateWorkspaceMemberRoleDocument = gql` mutation UpdateWorkspaceMemberRole($workspaceMemberId: String!, $roleId: String!) { 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 GetRolesDocument = gql` query GetRoles { getRoles { ...RoleFragment workspaceMembers { ...WorkspaceMemberQueryFragment } } } ${RoleFragmentFragmentDoc} ${WorkspaceMemberQueryFragmentFragmentDoc}`; /** * __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 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) } `; 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 ActivateWorkflowVersionDocument = gql` mutation ActivateWorkflowVersion($workflowVersionId: String!) { 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 CreateWorkflowVersionStepDocument = gql` mutation CreateWorkflowVersionStep($input: CreateWorkflowVersionStepInput!) { createWorkflowVersionStep(input: $input) { id name type settings valid } } `; 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: String!) { 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 DeleteWorkflowVersionStepDocument = gql` mutation DeleteWorkflowVersionStep($input: DeleteWorkflowVersionStepInput!) { deleteWorkflowVersionStep(input: $input) { id name type settings valid } } `; 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 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 UpdateWorkflowVersionStepDocument = gql` mutation UpdateWorkflowVersionStep($input: UpdateWorkflowVersionStepInput!) { updateWorkflowVersionStep(input: $input) { id name type settings valid } } `; 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 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 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) } `; 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 customDomain 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;