UNPKG

graphlit-client

Version:
1,140 lines 1.01 MB
export type Maybe<T> = T | null; export type InputMaybe<T> = Maybe<T>; export type Exact<T extends { [key: string]: unknown; }> = { [K in keyof T]: T[K]; }; export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]>; }; export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]>; }; export type MakeEmpty<T extends { [key: string]: unknown; }, K extends keyof T> = { [_ in K]?: never; }; export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never; }; /** All built-in and custom scalars, mapped to their actual values */ export type Scalars = { ID: { input: string; output: string; }; String: { input: string; output: string; }; Boolean: { input: boolean; output: boolean; }; Int: { input: number; output: number; }; Float: { input: number; output: number; }; Date: { input: any; output: any; }; DateTime: { input: any; output: any; }; Decimal: { input: any; output: any; }; Long: { input: any; output: any; }; TimeSpan: { input: any; output: any; }; URL: { input: any; output: any; }; }; /** Represents an address. */ export type Address = { __typename?: 'Address'; /** The city. */ city?: Maybe<Scalars['String']['output']>; /** The country. */ country?: Maybe<Scalars['String']['output']>; /** The zip code or postal code. */ postalCode?: Maybe<Scalars['String']['output']>; /** The state or province. */ region?: Maybe<Scalars['String']['output']>; /** The street address. */ streetAddress?: Maybe<Scalars['String']['output']>; }; /** Represents a filter for addresses. */ export type AddressFilter = { /** Filter addresses by their city. */ city?: InputMaybe<Scalars['String']['input']>; /** Filter addresses by their country. */ country?: InputMaybe<Scalars['String']['input']>; /** Filter addresses by their zip code or postal code. */ postalCode?: InputMaybe<Scalars['String']['input']>; /** Filter addresses by their state or province. */ region?: InputMaybe<Scalars['String']['input']>; /** Filter addresses by their street address. */ streetAddress?: InputMaybe<Scalars['String']['input']>; }; /** Represents an address. */ export type AddressInput = { /** The city. */ city?: InputMaybe<Scalars['String']['input']>; /** The country. */ country?: InputMaybe<Scalars['String']['input']>; /** The zip code or postal code. */ postalCode?: InputMaybe<Scalars['String']['input']>; /** The state or province. */ region?: InputMaybe<Scalars['String']['input']>; /** The street address. */ streetAddress?: InputMaybe<Scalars['String']['input']>; }; /** Represents an alert. */ export type Alert = { __typename?: 'Alert'; /** The tenant correlation identifier. */ correlationId?: Maybe<Scalars['String']['output']>; /** The creation date of the alert. */ creationDate: Scalars['DateTime']['output']; /** The filter criteria to apply when retrieving contents, optional. */ filter?: Maybe<ContentCriteria>; /** The ID of the alert. */ id: Scalars['ID']['output']; /** The integration connector used by the alert. */ integration: IntegrationConnector; /** The last alert date. */ lastAlertDate?: Maybe<Scalars['DateTime']['output']>; /** The modified date of the alert. */ modifiedDate?: Maybe<Scalars['DateTime']['output']>; /** The name of the alert. */ name: Scalars['String']['output']; /** The owner of the alert. */ owner: Owner; /** The LLM prompt to publish each content. */ publishPrompt: Scalars['String']['output']; /** The LLM specification used for publishing, optional. */ publishSpecification?: Maybe<EntityReference>; /** The content publishing connector used by the alert. */ publishing: ContentPublishingConnector; /** The relevance score of the alert. */ relevance?: Maybe<Scalars['Float']['output']>; /** The alert schedule policy. */ schedulePolicy?: Maybe<AlertSchedulePolicy>; /** The state of the alert (i.e. created, finished). */ state: EntityState; /** The LLM prompt to summarize each content, optional. */ summaryPrompt?: Maybe<Scalars['String']['output']>; /** The LLM specification used for summarization, optional. */ summarySpecification?: Maybe<EntityReference>; /** The alert type. */ type: AlertTypes; }; /** Represents a filter for alerts. */ export type AlertFilter = { /** Filter by creation date recent timespan. For example, a timespan of one day will return alert(s) created in the last 24 hours. */ createdInLast?: InputMaybe<Scalars['TimeSpan']['input']>; /** Filter alert(s) by their creation date range. */ creationDateRange?: InputMaybe<DateRangeFilter>; /** The sort direction for query results. */ direction?: InputMaybe<OrderDirectionTypes>; /** Filter alert(s) by their unique ID. */ id?: InputMaybe<Scalars['ID']['input']>; /** Limit the number of alert(s) to be returned. Defaults to 100. */ limit?: InputMaybe<Scalars['Int']['input']>; /** Filter alert(s) by their name. */ name?: InputMaybe<Scalars['String']['input']>; /** Skip the specified number of alert(s) from the beginning of the result set. Only supported on keyword search. */ offset?: InputMaybe<Scalars['Int']['input']>; /** The sort order for query results. */ orderBy?: InputMaybe<OrderByTypes>; /** Filter alert(s) by searching for similar text. */ search?: InputMaybe<Scalars['String']['input']>; /** Filter alert(s) by their states. */ states?: InputMaybe<Array<EntityState>>; /** Filter by alert types. */ types?: InputMaybe<Array<InputMaybe<AlertTypes>>>; }; /** Represents an alert. */ export type AlertInput = { /** The filter criteria to apply when retrieving contents, optional. */ filter?: InputMaybe<ContentCriteriaInput>; /** The integration connector used by the alert. */ integration: IntegrationConnectorInput; /** The name of the alert. */ name: Scalars['String']['input']; /** The LLM prompt to publish each content. */ publishPrompt: Scalars['String']['input']; /** The LLM specification used for publishing, optional. */ publishSpecification?: InputMaybe<EntityReferenceInput>; /** The content publishing connector used by the alert. */ publishing: ContentPublishingConnectorInput; /** The alert schedule policy. */ schedulePolicy?: InputMaybe<AlertSchedulePolicyInput>; /** The LLM prompt to summarize each content, optional. */ summaryPrompt?: InputMaybe<Scalars['String']['input']>; /** The LLM specification used for summarization, optional. */ summarySpecification?: InputMaybe<EntityReferenceInput>; /** The alert type. */ type: AlertTypes; }; /** Represents alert query results. */ export type AlertResults = { __typename?: 'AlertResults'; /** The list of alert query results. */ results?: Maybe<Array<Maybe<Alert>>>; }; /** Represents an alert scheduling policy. */ export type AlertSchedulePolicy = { __typename?: 'AlertSchedulePolicy'; /** If absolute time, the datetime value. */ absoluteTime?: Maybe<Scalars['DateTime']['output']>; /** The delay between recurrences of the alert. */ delay?: Maybe<Scalars['TimeSpan']['output']>; /** The alert recurrence type. */ recurrenceType?: Maybe<TimedPolicyRecurrenceTypes>; /** If relative time, the relative timespan. */ relativeTime?: Maybe<Scalars['TimeSpan']['output']>; /** If a repeated alert, the interval between repetitions. */ repeatInterval?: Maybe<Scalars['TimeSpan']['output']>; /** If a repeated alert, the time to repeat until */ repeatUntilTime?: Maybe<Scalars['DateTime']['output']>; /** The type of time interval. */ timeType?: Maybe<PolicyTimeTypes>; }; /** Represents an alert scheduling policy. */ export type AlertSchedulePolicyInput = { /** If absolute time, the datetime value. */ absoluteTime?: InputMaybe<Scalars['DateTime']['input']>; /** The delay between recurrences of the alert. */ delay?: InputMaybe<Scalars['TimeSpan']['input']>; /** The alert recurrence type. */ recurrenceType?: InputMaybe<TimedPolicyRecurrenceTypes>; /** If relative time, the relative timespan. */ relativeTime?: InputMaybe<Scalars['TimeSpan']['input']>; /** If a repeated alert, the interval between repetitions. */ repeatInterval?: InputMaybe<Scalars['TimeSpan']['input']>; /** If a repeated alert, the time to repeat until */ repeatUntilTime?: InputMaybe<Scalars['DateTime']['input']>; /** The type of time interval. */ timeType?: InputMaybe<PolicyTimeTypes>; }; /** Alert type */ export declare enum AlertTypes { /** LLM Prompt */ Prompt = "PROMPT" } /** Represents an alert. */ export type AlertUpdateInput = { /** The filter criteria to apply when retrieving contents, optional. */ filter?: InputMaybe<ContentCriteriaInput>; /** The ID of the alert to update. */ id: Scalars['ID']['input']; /** The integration connector used by the alert. */ integration?: InputMaybe<IntegrationConnectorUpdateInput>; /** The name of the alert. */ name?: InputMaybe<Scalars['String']['input']>; /** The LLM prompt to publish each content. */ publishPrompt?: InputMaybe<Scalars['String']['input']>; /** The LLM specification used for publishing, optional. */ publishSpecification?: InputMaybe<EntityReferenceInput>; /** The content publishing connector used by the alert. */ publishing?: InputMaybe<ContentPublishingConnectorUpdateInput>; /** The alert schedule policy. */ schedulePolicy?: InputMaybe<AlertSchedulePolicyInput>; /** The LLM prompt to summarize each content, optional. */ summaryPrompt?: InputMaybe<Scalars['String']['input']>; /** The LLM specification used for summarization, optional. */ summarySpecification?: InputMaybe<EntityReferenceInput>; }; /** Represents Amazon S3 feed properties. */ export type AmazonFeedProperties = { __typename?: 'AmazonFeedProperties'; /** S3 access key ID. */ accessKey?: Maybe<Scalars['String']['output']>; /** S3 bucket name. */ bucketName?: Maybe<Scalars['String']['output']>; /** S3 bucket prefix. */ prefix?: Maybe<Scalars['String']['output']>; /** S3 region. */ region?: Maybe<Scalars['String']['output']>; /** S3 secret access key. */ secretAccessKey?: Maybe<Scalars['String']['output']>; }; /** Represents Amazon S3 feed properties. */ export type AmazonFeedPropertiesInput = { /** S3 access key. */ accessKey: Scalars['String']['input']; /** S3 bucket name. */ bucketName: Scalars['String']['input']; /** S3 bucket prefix. */ prefix?: InputMaybe<Scalars['String']['input']>; /** S3 region. */ region?: InputMaybe<Scalars['String']['input']>; /** S3 secret access key. */ secretAccessKey: Scalars['String']['input']; }; /** Represents Amazon S3 feed properties. */ export type AmazonFeedPropertiesUpdateInput = { /** S3 access key. */ accessKey?: InputMaybe<Scalars['String']['input']>; /** S3 bucket name. */ bucketName?: InputMaybe<Scalars['String']['input']>; /** S3 bucket prefix. */ prefix?: InputMaybe<Scalars['String']['input']>; /** S3 region. */ region?: InputMaybe<Scalars['String']['input']>; /** S3 secret access key. */ secretAccessKey?: InputMaybe<Scalars['String']['input']>; }; /** Represents Anthropic model properties. */ export type AnthropicModelProperties = { __typename?: 'AnthropicModelProperties'; /** The limit of tokens per embedded text chunk, defaults to 600. */ chunkTokenLimit?: Maybe<Scalars['Int']['output']>; /** The limit of tokens generated by prompt completion. */ completionTokenLimit?: Maybe<Scalars['Int']['output']>; /** Whether Claude's extended thinking is enabled. Applies to Claude 3.7 or higher. */ enableThinking?: Maybe<Scalars['Boolean']['output']>; /** The Anthropic API key, if using developer's own account. */ key?: Maybe<Scalars['String']['output']>; /** The Anthropic model, or custom, when using developer's own account. */ model: AnthropicModels; /** The Anthropic model name, if using developer's own account. */ modelName?: Maybe<Scalars['String']['output']>; /** The model token probability. */ probability?: Maybe<Scalars['Float']['output']>; /** The model temperature. */ temperature?: Maybe<Scalars['Float']['output']>; /** The limit of thinking tokens allowed for Claude's internal reasoning process. */ thinkingTokenLimit?: Maybe<Scalars['Int']['output']>; /** The number of tokens which can provided to the Anthropic model, if using developer's own account. */ tokenLimit?: Maybe<Scalars['Int']['output']>; }; /** Represents Anthropic model properties. */ export type AnthropicModelPropertiesInput = { /** The limit of tokens per embedded text chunk, defaults to 600. */ chunkTokenLimit?: InputMaybe<Scalars['Int']['input']>; /** The limit of tokens generated by prompt completion. */ completionTokenLimit?: InputMaybe<Scalars['Int']['input']>; /** Whether Claude's extended thinking is enabled. Applies to Claude 3.7 or higher. */ enableThinking?: InputMaybe<Scalars['Boolean']['input']>; /** The Anthropic API key, if using developer's own account. */ key?: InputMaybe<Scalars['String']['input']>; /** The Anthropic model, or custom, when using developer's own account. */ model: AnthropicModels; /** The Anthropic model name, if using developer's own account. */ modelName?: InputMaybe<Scalars['String']['input']>; /** The model token probability. */ probability?: InputMaybe<Scalars['Float']['input']>; /** The model temperature. */ temperature?: InputMaybe<Scalars['Float']['input']>; /** The limit of thinking tokens allowed for Claude's internal reasoning process. */ thinkingTokenLimit?: InputMaybe<Scalars['Int']['input']>; /** The number of tokens which can provided to the Anthropic model, if using developer's own account. */ tokenLimit?: InputMaybe<Scalars['Int']['input']>; }; /** Represents Anthropic model properties. */ export type AnthropicModelPropertiesUpdateInput = { /** The limit of tokens per embedded text chunk, defaults to 600. */ chunkTokenLimit?: InputMaybe<Scalars['Int']['input']>; /** The limit of tokens generated by prompt completion. */ completionTokenLimit?: InputMaybe<Scalars['Int']['input']>; /** Whether Claude's extended thinking is enabled. Applies to Claude 3.7 or higher. */ enableThinking?: InputMaybe<Scalars['Boolean']['input']>; /** The Anthropic API key, if using developer's own account. */ key?: InputMaybe<Scalars['String']['input']>; /** The Anthropic model, or custom, when using developer's own account. */ model?: InputMaybe<AnthropicModels>; /** The Anthropic model name, if using developer's own account. */ modelName?: InputMaybe<Scalars['String']['input']>; /** The model token probability. */ probability?: InputMaybe<Scalars['Float']['input']>; /** The model temperature. */ temperature?: InputMaybe<Scalars['Float']['input']>; /** The limit of thinking tokens allowed for Claude's internal reasoning process. */ thinkingTokenLimit?: InputMaybe<Scalars['Int']['input']>; /** The number of tokens which can provided to the Anthropic model, if using developer's own account. */ tokenLimit?: InputMaybe<Scalars['Int']['input']>; }; /** Anthropic model type */ export declare enum AnthropicModels { /** @deprecated Use Claude 3.x instead. */ Claude_2 = "CLAUDE_2", /** @deprecated Use Claude 3.x instead. */ Claude_2_0 = "CLAUDE_2_0", /** @deprecated Use Claude 3.x instead. */ Claude_2_1 = "CLAUDE_2_1", /** Claude 3.5 Haiku (Latest) */ Claude_3_5Haiku = "CLAUDE_3_5_HAIKU", /** Claude 3.5 Haiku (10-22-2024 version) */ Claude_3_5Haiku_20241022 = "CLAUDE_3_5_HAIKU_20241022", /** Claude 3.5 Sonnet (Latest) */ Claude_3_5Sonnet = "CLAUDE_3_5_SONNET", /** Claude 3.5 Sonnet (06-20-2024 version) */ Claude_3_5Sonnet_20240620 = "CLAUDE_3_5_SONNET_20240620", /** Claude 3.5 Sonnet (10-22-2024 version) */ Claude_3_5Sonnet_20241022 = "CLAUDE_3_5_SONNET_20241022", /** Claude 3.7 Sonnet (Latest) */ Claude_3_7Sonnet = "CLAUDE_3_7_SONNET", /** Claude 3.7 Sonnet (02-19-2025 version) */ Claude_3_7Sonnet_20250219 = "CLAUDE_3_7_SONNET_20250219", /** Claude 3 Haiku (Latest) */ Claude_3Haiku = "CLAUDE_3_HAIKU", /** Claude 3 Haiku (03-07-2024 version) */ Claude_3Haiku_20240307 = "CLAUDE_3_HAIKU_20240307", /** Claude 3 Opus (Latest) */ Claude_3Opus = "CLAUDE_3_OPUS", /** Claude 3 Opus (02-29-2024 version) */ Claude_3Opus_20240229 = "CLAUDE_3_OPUS_20240229", /** Claude 3 Sonnet (Latest) */ Claude_3Sonnet = "CLAUDE_3_SONNET", /** Claude 3 Sonnet (02-29-2024 version) */ Claude_3Sonnet_20240229 = "CLAUDE_3_SONNET_20240229", /** @deprecated Use Claude 3.5 Haiku instead. */ ClaudeInstant_1 = "CLAUDE_INSTANT_1", /** @deprecated Use Claude 3.5 Haiku instead. */ ClaudeInstant_1_2 = "CLAUDE_INSTANT_1_2", /** Developer-specified model */ Custom = "CUSTOM" } /** Defines when a policy shall be executed. */ export declare enum ApplyPolicy { /** After the resolver was executed. */ AfterResolver = "AFTER_RESOLVER", /** Before the resolver was executed. */ BeforeResolver = "BEFORE_RESOLVER", /** The policy is applied in the validation step before the execution. */ Validation = "VALIDATION" } /** Represents a prompted question about Graphlit. */ export type AskGraphlit = { __typename?: 'AskGraphlit'; /** The completed conversation. */ conversation?: Maybe<EntityReference>; /** The completed conversation message. */ message?: Maybe<ConversationMessage>; /** The conversation message count, after completion. */ messageCount?: Maybe<Scalars['Int']['output']>; }; /** Represents the Assembly.AI preparation properties. */ export type AssemblyAiAudioPreparationProperties = { __typename?: 'AssemblyAIAudioPreparationProperties'; /** Whether to auto-detect the speaker(s) language during Assembly.AI audio transcription. */ detectLanguage?: Maybe<Scalars['Boolean']['output']>; /** Whether to enable redaction during Assembly.AI audio transcription. */ enableRedaction?: Maybe<Scalars['Boolean']['output']>; /** Whether to enable speaker diarization during Assembly.AI audio transcription. */ enableSpeakerDiarization?: Maybe<Scalars['Boolean']['output']>; /** The Assembly.AI API key. */ key?: Maybe<Scalars['String']['output']>; /** Specify the language to transcribe during Assembly.AI audio transcription. Expected language in BCP 47 format, such as 'en' or 'en-US'. */ language?: Maybe<Scalars['String']['output']>; /** The Assembly.AI transcription model. */ model?: Maybe<AssemblyAiModels>; }; /** Represents the Assembly.AI preparation properties. */ export type AssemblyAiAudioPreparationPropertiesInput = { /** Whether to auto-detect the speaker(s) language during Assembly.AI audio transcription. */ detectLanguage?: InputMaybe<Scalars['Boolean']['input']>; /** Whether to enable redaction during Assembly.AI audio transcription. */ enableRedaction?: InputMaybe<Scalars['Boolean']['input']>; /** Whether to enable speaker diarization during Assembly.AI audio transcription. */ enableSpeakerDiarization?: InputMaybe<Scalars['Boolean']['input']>; /** The Assembly.AI API key, optional. */ key?: InputMaybe<Scalars['String']['input']>; /** Specify the language to transcribe during Assembly.AI audio transcription. Expected language in BCP 47 format, such as 'en' or 'en-US'. */ language?: InputMaybe<Scalars['String']['input']>; /** The Assembly.AI transcription model. */ model?: InputMaybe<AssemblyAiModels>; }; /** Assembly.AI models */ export declare enum AssemblyAiModels { /** Best */ Best = "BEST", /** Nano */ Nano = "NANO" } /** Represents Atlassian Jira feed properties. */ export type AtlassianJiraFeedProperties = { __typename?: 'AtlassianJiraFeedProperties'; /** Atlassian account email address. */ email: Scalars['String']['output']; /** Atlassian server timezone offset. */ offset?: Maybe<Scalars['TimeSpan']['output']>; /** Atlassian Jira project key, i.e. the short prefix of Jira issues. */ project: Scalars['String']['output']; /** Atlassian API token. */ token: Scalars['String']['output']; /** Atlassian Jira URI. */ uri: Scalars['URL']['output']; }; /** Represents Atlassian Jira feed properties. */ export type AtlassianJiraFeedPropertiesInput = { /** Atlassian account email address. */ email: Scalars['String']['input']; /** Atlassian server timezone offset, defaults to -08:00:00. */ offset?: InputMaybe<Scalars['TimeSpan']['input']>; /** Atlassian Jira project key, i.e. the short prefix of Jira issues. */ project: Scalars['String']['input']; /** Atlassian API token. */ token: Scalars['String']['input']; /** Atlassian Jira URI. */ uri: Scalars['URL']['input']; }; /** Represents Atlassian Jira feed properties. */ export type AtlassianJiraFeedPropertiesUpdateInput = { /** Atlassian account email address. */ email?: InputMaybe<Scalars['String']['input']>; /** Atlassian server timezone offset. */ offset?: InputMaybe<Scalars['TimeSpan']['input']>; /** Atlassian Jira project key, i.e. the short prefix of Jira issues. */ project?: InputMaybe<Scalars['String']['input']>; /** Atlassian API token. */ token?: InputMaybe<Scalars['String']['input']>; /** Atlassian Jira URI. */ uri?: InputMaybe<Scalars['URL']['input']>; }; /** Represents audio metadata. */ export type AudioMetadata = { __typename?: 'AudioMetadata'; /** The episode author, if podcast episode. */ author?: Maybe<Scalars['String']['output']>; /** The audio bitrate. */ bitrate?: Maybe<Scalars['Int']['output']>; /** The audio bits/sample. */ bitsPerSample?: Maybe<Scalars['Int']['output']>; /** The audio channels. */ channels?: Maybe<Scalars['Int']['output']>; /** The episode copyright, if podcast episode. */ copyright?: Maybe<Scalars['String']['output']>; /** The audio description. */ description?: Maybe<Scalars['String']['output']>; /** The audio duration. */ duration?: Maybe<Scalars['TimeSpan']['output']>; /** The episode name, if podcast episode. */ episode?: Maybe<Scalars['String']['output']>; /** The episode type, if podcast episode. */ episodeType?: Maybe<Scalars['String']['output']>; /** The audio genre. */ genre?: Maybe<Scalars['String']['output']>; /** The episode keywords, if podcast episode. */ keywords?: Maybe<Array<Maybe<Scalars['String']['output']>>>; /** The episode publisher, if podcast episode. */ publisher?: Maybe<Scalars['String']['output']>; /** The audio sample rate. */ sampleRate?: Maybe<Scalars['Int']['output']>; /** The episode season, if podcast episode. */ season?: Maybe<Scalars['String']['output']>; /** The episode series name, if podcast episode. */ series?: Maybe<Scalars['String']['output']>; /** The audio title. */ title?: Maybe<Scalars['String']['output']>; }; /** Represents audio metadata. */ export type AudioMetadataInput = { /** The episode author, if podcast episode. */ author?: InputMaybe<Scalars['String']['input']>; /** The audio bitrate. */ bitrate?: InputMaybe<Scalars['Int']['input']>; /** The audio bits/sample. */ bitsPerSample?: InputMaybe<Scalars['Int']['input']>; /** The audio channels. */ channels?: InputMaybe<Scalars['Int']['input']>; /** The episode copyright, if podcast episode. */ copyright?: InputMaybe<Scalars['String']['input']>; /** The metadata creation date. */ creationDate?: InputMaybe<Scalars['DateTime']['input']>; /** The audio duration. */ duration?: InputMaybe<Scalars['String']['input']>; /** The episode name, if podcast episode. */ episode?: InputMaybe<Scalars['String']['input']>; /** The episode type, if podcast episode. */ episodeType?: InputMaybe<Scalars['String']['input']>; /** The audio genre. */ genre?: InputMaybe<Scalars['String']['input']>; /** The episode keywords, if podcast episode. */ keywords?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>; /** The metadata geo-location. */ location?: InputMaybe<PointInput>; /** The metadata modified date. */ modifiedDate?: InputMaybe<Scalars['DateTime']['input']>; /** The episode publisher, if podcast episode. */ publisher?: InputMaybe<Scalars['String']['input']>; /** The audio sample rate. */ sampleRate?: InputMaybe<Scalars['Int']['input']>; /** The episode season, if podcast episode. */ season?: InputMaybe<Scalars['String']['input']>; /** The episode series name, if podcast episode. */ series?: InputMaybe<Scalars['String']['input']>; /** The audio title. */ title?: InputMaybe<Scalars['String']['input']>; }; /** Represents an authentication connector. */ export type AuthenticationConnector = { __typename?: 'AuthenticationConnector'; /** Google authentication properties. */ google?: Maybe<GoogleAuthenticationProperties>; /** Microsoft authentication properties. */ microsoft?: Maybe<MicrosoftAuthenticationProperties>; /** Authentication service type. */ type: AuthenticationServiceTypes; }; /** Represents an authentication connector. */ export type AuthenticationConnectorInput = { /** Google authentication properties. */ google?: InputMaybe<GoogleAuthenticationPropertiesInput>; /** Microsoft authentication properties. */ microsoft?: InputMaybe<MicrosoftAuthenticationPropertiesInput>; /** Authentication service type. */ type: AuthenticationServiceTypes; }; /** Authentication service type */ export declare enum AuthenticationServiceTypes { /** Auth0 authentication service */ Auth0 = "AUTH0", /** Clerk authentication service */ Clerk = "CLERK", /** Google authentication service */ Google = "GOOGLE", /** Microsoft Graph authentication service */ MicrosoftGraph = "MICROSOFT_GRAPH" } /** Represents Azure AI model properties. */ export type AzureAiModelProperties = { __typename?: 'AzureAIModelProperties'; /** The limit of tokens per embedded text chunk, defaults to 600. */ chunkTokenLimit?: Maybe<Scalars['Int']['output']>; /** The limit of tokens generated by prompt completion. */ completionTokenLimit?: Maybe<Scalars['Int']['output']>; /** The Azure AI API endpoint. */ endpoint: Scalars['URL']['output']; /** The Azure AI API key. */ key: Scalars['String']['output']; /** The model token probability. */ probability?: Maybe<Scalars['Float']['output']>; /** The model temperature. */ temperature?: Maybe<Scalars['Float']['output']>; /** The number of tokens which can provided to the model. */ tokenLimit: Scalars['Int']['output']; }; /** Represents Azure AI model properties. */ export type AzureAiModelPropertiesInput = { /** The limit of tokens per embedded text chunk, defaults to 600. */ chunkTokenLimit?: InputMaybe<Scalars['Int']['input']>; /** The limit of tokens generated by prompt completion. */ completionTokenLimit?: InputMaybe<Scalars['Int']['input']>; /** The Azure AI API endpoint. */ endpoint: Scalars['URL']['input']; /** The Azure AI API key. */ key: Scalars['String']['input']; /** The model token probability. */ probability?: InputMaybe<Scalars['Float']['input']>; /** The model temperature. */ temperature?: InputMaybe<Scalars['Float']['input']>; /** The number of tokens which can provided to the model. */ tokenLimit: Scalars['Int']['input']; }; /** Represents Azure AI model properties. */ export type AzureAiModelPropertiesUpdateInput = { /** The limit of tokens per embedded text chunk, defaults to 600. */ chunkTokenLimit?: InputMaybe<Scalars['Int']['input']>; /** The limit of tokens generated by prompt completion. */ completionTokenLimit?: InputMaybe<Scalars['Int']['input']>; /** The Azure AI API endpoint. */ endpoint?: InputMaybe<Scalars['URL']['input']>; /** The Azure AI API key. */ key?: InputMaybe<Scalars['String']['input']>; /** The model token probability. */ probability?: InputMaybe<Scalars['Float']['input']>; /** The model temperature. */ temperature?: InputMaybe<Scalars['Float']['input']>; /** The number of tokens which can provided to the model. */ tokenLimit?: InputMaybe<Scalars['Int']['input']>; }; /** Represents Azure blob feed properties. */ export type AzureBlobFeedProperties = { __typename?: 'AzureBlobFeedProperties'; /** Azure storage account name. */ accountName?: Maybe<Scalars['String']['output']>; /** Azure storage container name. */ containerName?: Maybe<Scalars['String']['output']>; /** Azure storage container prefix. */ prefix?: Maybe<Scalars['String']['output']>; /** Azure storage access key. */ storageAccessKey?: Maybe<Scalars['String']['output']>; }; /** Represents Azure blob feed properties. */ export type AzureBlobFeedPropertiesInput = { /** Azure storage account name. */ accountName: Scalars['String']['input']; /** Azure storage container name. */ containerName: Scalars['String']['input']; /** Azure storage container prefix. */ prefix?: InputMaybe<Scalars['String']['input']>; /** Azure storage access key. */ storageAccessKey: Scalars['String']['input']; }; /** Represents Azure blob feed properties. */ export type AzureBlobFeedPropertiesUpdateInput = { /** Azure storage account name. */ accountName?: InputMaybe<Scalars['String']['input']>; /** Azure storage container name. */ containerName?: InputMaybe<Scalars['String']['input']>; /** Azure storage container prefix. */ prefix?: InputMaybe<Scalars['String']['input']>; /** Azure storage access key. */ storageAccessKey?: InputMaybe<Scalars['String']['input']>; }; export declare enum AzureDocumentIntelligenceModels { /** Credit Card */ CreditCard = "CREDIT_CARD", /** ID Document */ IdentificationDocument = "IDENTIFICATION_DOCUMENT", /** Invoice */ Invoice = "INVOICE", /** Layout: Document with title, headings, paragraphs, tables */ Layout = "LAYOUT", /** Read OCR: Document with handwriting or printed text */ ReadOcr = "READ_OCR", /** Receipt */ Receipt = "RECEIPT", /** Bank Check (US) */ UsBankCheck = "US_BANK_CHECK", /** Bank Statement (US) */ UsBankStatement = "US_BANK_STATEMENT", /** Health Insurance Card (US) */ UsHealthInsuranceCard = "US_HEALTH_INSURANCE_CARD", /** Marriage Certificate (US) */ UsMarriageCertificate = "US_MARRIAGE_CERTIFICATE", /** Mortgage 1003 End-User License Agreement (EULA) (US) */ UsMortgage1003 = "US_MORTGAGE1003", /** Mortgage Form 1008 (US) */ UsMortgage1008 = "US_MORTGAGE1008", /** Mortgage closing disclosure (US) */ UsMortgageDisclosure = "US_MORTGAGE_DISCLOSURE", /** Pay Stub (US) */ UsPayStub = "US_PAY_STUB", /** Unified Tax Form (US) */ UsTaxForm = "US_TAX_FORM", /** 1098 Form (US) */ UsTaxForm1098 = "US_TAX_FORM1098", /** 1098E Form (US) */ UsTaxForm1098E = "US_TAX_FORM1098_E", /** 1098T Form (US) */ UsTaxForm1098T = "US_TAX_FORM1098_T", /** 1099 Form (US) */ UsTaxForm1099 = "US_TAX_FORM1099", /** W-2 Form (US) */ UsTaxFormW2 = "US_TAX_FORM_W2" } export declare enum AzureDocumentIntelligenceVersions { /** 2023-07-31 GA API */ V2023_07_31 = "V2023_07_31", /** * 2024-02-29 Preview API * @deprecated Use V2024_07_31_PREVIEW instead. */ V2024_02_29Preview = "V2024_02_29_PREVIEW", /** 2024-07-31 Preview API */ V2024_07_31Preview = "V2024_07_31_PREVIEW", /** 2024-11-30 GA API */ V2024_11_30 = "V2024_11_30" } /** Represents the Azure Document Intelligence preparation properties. */ export type AzureDocumentPreparationProperties = { __typename?: 'AzureDocumentPreparationProperties'; /** The Azure Document Intelligence API endpoint, optional. */ endpoint?: Maybe<Scalars['URL']['output']>; /** The Azure Document Intelligence API key, optional. */ key?: Maybe<Scalars['String']['output']>; /** The Azure Document Intelligence model. */ model?: Maybe<AzureDocumentIntelligenceModels>; /** The Azure Document Intelligence API version, optional. */ version?: Maybe<AzureDocumentIntelligenceVersions>; }; /** Represents the Azure Document Intelligence preparation properties. */ export type AzureDocumentPreparationPropertiesInput = { /** The Azure Document Intelligence API endpoint, optional. */ endpoint?: InputMaybe<Scalars['URL']['input']>; /** The Azure Document Intelligence API key, optional. */ key?: InputMaybe<Scalars['String']['input']>; /** The Azure Document Intelligence model. */ model?: InputMaybe<AzureDocumentIntelligenceModels>; /** The Azure Document Intelligence API version, optional. */ version?: InputMaybe<AzureDocumentIntelligenceVersions>; }; /** Represents Azure file share feed properties. */ export type AzureFileFeedProperties = { __typename?: 'AzureFileFeedProperties'; /** Azure storage account name. */ accountName?: Maybe<Scalars['String']['output']>; /** Azure file share prefix. */ prefix?: Maybe<Scalars['String']['output']>; /** Azure file share name. */ shareName?: Maybe<Scalars['String']['output']>; /** Azure storage access key. */ storageAccessKey?: Maybe<Scalars['String']['output']>; }; /** Represents Azure file share feed properties. */ export type AzureFileFeedPropertiesInput = { /** Azure storage account name. */ accountName: Scalars['String']['input']; /** Azure file share prefix. */ prefix?: InputMaybe<Scalars['String']['input']>; /** Azure file share name. */ shareName: Scalars['String']['input']; /** Azure storage access key. */ storageAccessKey: Scalars['String']['input']; }; /** Represents Azure file share feed properties. */ export type AzureFileFeedPropertiesUpdateInput = { /** Azure storage account name. */ accountName?: InputMaybe<Scalars['String']['input']>; /** Azure file share prefix. */ prefix?: InputMaybe<Scalars['String']['input']>; /** Azure file share name. */ shareName?: InputMaybe<Scalars['String']['input']>; /** Azure storage access key. */ storageAccessKey?: InputMaybe<Scalars['String']['input']>; }; /** Represents an Azure Cognitive Services image entity extraction connector. */ export type AzureImageExtractionProperties = { __typename?: 'AzureImageExtractionProperties'; /** The confidence threshold for entity extraction. */ confidenceThreshold?: Maybe<Scalars['Float']['output']>; }; /** Represents an Azure Cognitive Services image entity extraction connector. */ export type AzureImageExtractionPropertiesInput = { /** The confidence threshold for entity extraction. */ confidenceThreshold?: InputMaybe<Scalars['Float']['input']>; }; /** Represents Azure OpenAI model properties. */ export type AzureOpenAiModelProperties = { __typename?: 'AzureOpenAIModelProperties'; /** The limit of tokens per embedded text chunk, defaults to 600. */ chunkTokenLimit?: Maybe<Scalars['Int']['output']>; /** The limit of tokens generated by prompt completion. */ completionTokenLimit?: Maybe<Scalars['Int']['output']>; /** The Azure OpenAI deployment name, if using developer's own account. */ deploymentName?: Maybe<Scalars['String']['output']>; /** The Azure OpenAI API endpoint, if using developer's own account. */ endpoint?: Maybe<Scalars['URL']['output']>; /** The Azure OpenAI API key, if using developer's own account. */ key?: Maybe<Scalars['String']['output']>; /** The Azure OpenAI model, or custom, when using developer's own account. */ model: AzureOpenAiModels; /** The model token probability. */ probability?: Maybe<Scalars['Float']['output']>; /** The model temperature. */ temperature?: Maybe<Scalars['Float']['output']>; /** The number of tokens which can provided to the OpenAI model, if using developer's own account. */ tokenLimit?: Maybe<Scalars['Int']['output']>; }; /** Represents Azure OpenAI model properties. */ export type AzureOpenAiModelPropertiesInput = { /** The limit of tokens per embedded text chunk, defaults to 600. */ chunkTokenLimit?: InputMaybe<Scalars['Int']['input']>; /** The limit of tokens generated by prompt completion. */ completionTokenLimit?: InputMaybe<Scalars['Int']['input']>; /** The Azure OpenAI deployment name, if using developer's own account. */ deploymentName?: InputMaybe<Scalars['String']['input']>; /** The Azure OpenAI API endpoint, if using developer's own account. */ endpoint?: InputMaybe<Scalars['URL']['input']>; /** The Azure OpenAI API key, if using developer's own account. */ key?: InputMaybe<Scalars['String']['input']>; /** The Azure OpenAI model, or custom, when using developer's own account. */ model: AzureOpenAiModels; /** The model token probability. */ probability?: InputMaybe<Scalars['Float']['input']>; /** The model temperature. */ temperature?: InputMaybe<Scalars['Float']['input']>; /** The number of tokens which can provided to the Azure OpenAI model, if using developer's own account. */ tokenLimit?: InputMaybe<Scalars['Int']['input']>; }; /** Represents Azure OpenAI model properties. */ export type AzureOpenAiModelPropertiesUpdateInput = { /** The limit of tokens per embedded text chunk, defaults to 600. */ chunkTokenLimit?: InputMaybe<Scalars['Int']['input']>; /** The limit of tokens generated by prompt completion. */ completionTokenLimit?: InputMaybe<Scalars['Int']['input']>; /** The Azure OpenAI deployment name, if using developer's own account. */ deploymentName?: InputMaybe<Scalars['String']['input']>; /** The Azure OpenAI API endpoint, if using developer's own account. */ endpoint?: InputMaybe<Scalars['URL']['input']>; /** The Azure OpenAI API key, if using developer's own account. */ key?: InputMaybe<Scalars['String']['input']>; /** The Azure OpenAI model, or custom, when using developer's own account. */ model?: InputMaybe<AzureOpenAiModels>; /** The model token probability. */ probability?: InputMaybe<Scalars['Float']['input']>; /** The model temperature. */ temperature?: InputMaybe<Scalars['Float']['input']>; /** The number of tokens which can provided to the Azure OpenAI model, if using developer's own account. */ tokenLimit?: InputMaybe<Scalars['Int']['input']>; }; /** Azure OpenAI model type */ export declare enum AzureOpenAiModels { /** Developer-specified deployment */ Custom = "CUSTOM", /** GPT-4 (Latest) */ Gpt4 = "GPT4", /** GPT-4 Turbo 128k (Latest) */ Gpt4Turbo_128K = "GPT4_TURBO_128K", /** GPT-3.5 Turbo 16k (Latest) */ Gpt35Turbo_16K = "GPT35_TURBO_16K" } /** Represents an Azure Cognitive Services text entity extraction connector. */ export type AzureTextExtractionProperties = { __typename?: 'AzureTextExtractionProperties'; /** The confidence threshold for entity extraction. */ confidenceThreshold?: Maybe<Scalars['Float']['output']>; /** Whether PII categorization is enabled. */ enablePII?: Maybe<Scalars['Boolean']['output']>; }; /** Represents an Azure Cognitive Services text entity extraction connector. */ export type AzureTextExtractionPropertiesInput = { /** The confidence threshold for entity extraction. */ confidenceThreshold?: InputMaybe<Scalars['Float']['input']>; /** Whether PII categorization is enabled. */ enablePII?: InputMaybe<Scalars['Boolean']['input']>; }; export declare enum BillableMetrics { Bytes = "BYTES", Cost = "COST", Credits = "CREDITS", Length = "LENGTH", Requests = "REQUESTS", Time = "TIME", Tokens = "TOKENS", Units = "UNITS" } /** Represents a boolean result. */ export type BooleanResult = { __typename?: 'BooleanResult'; /** The boolean result. */ result?: Maybe<Scalars['Boolean']['output']>; }; /** Represents a bounding box. */ export type BoundingBox = { __typename?: 'BoundingBox'; /** The height of the bounding box. */ height?: Maybe<Scalars['Float']['output']>; /** The left-most point of the bounding box. */ left?: Maybe<Scalars['Float']['output']>; /** The top-most point of the bounding box. */ top?: Maybe<Scalars['Float']['output']>; /** The width of the bounding box. */ width?: Maybe<Scalars['Float']['output']>; }; /** Represents a bounding box. */ export type BoundingBoxInput = { /** The height of the bounding box. */ height?: InputMaybe<Scalars['Float']['input']>; /** The left-most point of the bounding box. */ left?: InputMaybe<Scalars['Float']['input']>; /** The top-most point of the bounding box. */ top?: InputMaybe<Scalars['Float']['input']>; /** The width of the bounding box. */ width?: InputMaybe<Scalars['Float']['input']>; }; /** Represents Box properties. */ export type BoxFeedProperties = { __typename?: 'BoxFeedProperties'; /** Box client identifier. */ clientId: Scalars['String']['output']; /** Box client secret. */ clientSecret: Scalars['String']['output']; /** Box folder identifier. */ folderId?: Maybe<Scalars['ID']['output']>; /** Box redirect URI. */ redirectUri: Scalars['String']['output']; /** Box refresh token. */ refreshToken: Scalars['String']['output']; }; /** Represents Box properties. */ export type BoxFeedPropertiesInput = { /** Box client identifier. */ clientId: Scalars['String']['input']; /** Box client secret. */ clientSecret: Scalars['String']['input']; /** Box folder identifier. */ folderId?: InputMaybe<Scalars['ID']['input']>; /** Box redirect URI. */ redirectUri: Scalars['String']['input']; /** Box refresh token. */ refreshToken: Scalars['String']['input']; }; /** Represents Box properties. */ export type BoxFeedPropertiesUpdateInput = { /** Box client identifier. */ clientId?: InputMaybe<Scalars['String']['input']>; /** Box client secret. */ clientSecret?: InputMaybe<Scalars['String']['input']>; /** Box folder identifier. */ folderId?: InputMaybe<Scalars['ID']['input']>; /** Box redirect URI. */ redirectUri?: InputMaybe<Scalars['String']['input']>; /** Box refresh token. */ refreshToken?: InputMaybe<Scalars['String']['input']>; }; /** Represents a category. */ export type Category = { __typename?: 'Category'; /** The creation date of the category. */ creationDate: Scalars['DateTime']['output']; /** The category description. */ description?: Maybe<Scalars['String']['output']>; /** The ID of the category. */ id: Scalars['ID']['output']; /** The modified date of the category. */ modifiedDate?: Maybe<Scalars['DateTime']['output']>; /** The name of the category. */ name: Scalars['String']['output']; /** The relevance score of the category. */ relevance?: Maybe<Scalars['Float']['output']>; /** The state of the category (i.e. created, enabled). */ state: EntityState; }; /** Represents a category facet. */ export type CategoryFacet = { __typename?: 'CategoryFacet'; /** The facet count. */ count?: Maybe<Scalars['Long']['output']>; /** The category facet type. */ facet?: Maybe<CategoryFacetTypes>; /** The facet value range. */ range?: Maybe<StringRange>; /** The facet value type. */ type?: Maybe<FacetValueTypes>; /** The facet value. */ value?: Maybe<Scalars['String']['output']>; }; /** Represents the configuration for category facets. */ export type CategoryFacetInput = { /** The category facet type. */ facet?: InputMaybe<CategoryFacetTypes>; /** The facet time interval. */ timeInterval?: InputMaybe<TimeIntervalTypes>; /** The facet time offset (in hours). */ timeOffset?: InputMaybe<Scalars['Int']['input']>; }; /** Category facet types */ export declare enum CategoryFacetTypes { /** Creation Date */ CreationDate = "CREATION_DATE" } /** Represents a filter for categories. */ export type CategoryFilter = { /** Filter by creation date recent timespan. For example, a timespan of one day will return category(s) created in the last 24 hours. */ createdInLast?: InputMaybe<Scalars['TimeSpan']['input']>; /** Filter category(s) by their creation date range. */ creationDateRange?: InputMaybe<DateRangeFilter>; /** The sort direction for query results. */ direction?: InputMaybe<OrderDirectionTypes>; /** Filter category(s) by their unique ID. */ id?: InputMaybe<Scalars['ID']['input']>; /** Limit the number of category(s) to be returned. Defaults to 100. */ limit?: InputMaybe<Scalars['Int']['input']>; /** Filter category(s) by their name. */ name?: InputMaybe<Scalars['String']['input']>; /** Skip the specified number of category(s) from the beginning of the result set. Only supported on keyword search. */ offset?: InputMaybe<Scalars['Int']['input']>; /** The sort order for query results. */ orderBy?: InputMaybe<OrderByTypes>; /** Filter category(s) by searching for similar text. */ search?: InputMaybe<Scalars['String']['input']>; /** Filter category(s) by their states. */ states?: InputMaybe<Array<EntityState>>; }; /** Represents a category. */ export type CategoryInput = { /** The category description. */ description?: InputMaybe<Scalars['String']['input']>; /** The name of the category. */ name: Scalars['String']['input']; }; /** Represents category query results. */ export type CategoryResults = { __typename?: 'CategoryResults'; /** The category facets. */ facets?: Maybe<Array<Maybe<CategoryFacet>>>; /** The category results. */ results?: Maybe<Array<Maybe<Category>>>; }; /** Represents a category. */ export type CategoryUpdateInput = { /** The category description. */ description?: InputMaybe<Scalars['String']['input']>; /** The ID of the category to update. */ id: Scalars['ID']['input']; /** The name of the category. */ name?: InputMaybe<Scalars['String']['input']>; }; /** Represents Cerebras model properties. */ export type CerebrasModelProperties = { __typename?: 'CerebrasModelProperties'; /** The limit of tokens generated by prompt completion. */ completionTokenLimit?: Maybe<Scalars['Int']['output']>; /** The Cerebras API endpoint, if using developer's own account. */ endpoint?: Maybe<Scalars['URL']['output']>; /** The Cerebras API key, if using developer's own account. */ key?: Maybe<Scalars['String']['output']>; /** The Cerebras model, or custom, when using developer's own account. */ model: CerebrasModels; /** The Cerebras model name, if using developer's own account. */ modelName?: Maybe<Scalars['String']['output']>; /** The model token probability. */ probability?: Maybe<Scalars['Float']['output']>; /** The model temperature. */ temperature?: Maybe<Scalars['Float']['output']>; /** The number of tokens which can provided to the Cerebras model, if using developer's own account. */ tokenLimit?: Maybe<Scalars['Int']['output']>; }; /** Represents Cerebras model properties. */ export type CerebrasModelPropertiesInput = { /** The limit of tokens generated by prompt completion. */ completionTokenLimit?: InputMaybe<Scalars['Int']['input']>; /** The Cerebras API endpoint, if using developer's own account. */ endpoint?: InputMaybe<Scalars['URL']['input']>; /** The Cerebras API key, if using developer's own account. */ key?: InputMaybe<Scalars['String']['input']>; /** The Cerebras model, or custom, when using developer's own account. */ model: CerebrasModels; /** The Cerebras model name, if using developer's own account. */ modelName?: InputMaybe<Scalars['String']['input']>; /** The model token probability. */ probability?: InputMaybe<Scalars['Float']['input']>; /** The model temperature. */ temperature?: InputMaybe<Scalars['Float']['input']>; /** The number of tokens which can provided to the Cerebras model, if using developer's own account. */ tokenLimit?: InputMaybe<Scalars['Int']['input']>; }; /** Represents Cerebras model properties. */ export type CerebrasModelPropertiesUpdateInput = { /** The limit of tokens generated by prompt completion. */ completionTokenLimit?: InputMaybe<Scalars['Int']['input']>; /** The Cerebras API endpoint, if using developer's own account. */ endpoint?: InputMaybe<Scalars['URL']['input']>; /** The Cerebras API key, if using developer's own account. */ key?: InputMaybe<Scalars['String']['input']>; /** The Cerebras model, or custom, when using developer's own account. */ model?: InputMaybe<CerebrasModels>; /** The Cerebras model name, if using developer's own account. */ modelName?: I