import type { RequestInit, RequestInfo } from "./internal/builtin-types.js"; import type { PromiseOrValue, MergedRequestInit, FinalizedRequestInit } from "./internal/types.js"; export type { Logger, LogLevel } from "./internal/utils/log.js"; import * as Opts from "./internal/request-options.js"; import * as Errors from "./core/error.js"; import * as Uploads from "./core/uploads.js"; import * as API from "./resources/index.js"; import { APIPromise } from "./core/api-promise.js"; import { Autosuggest, AutosuggestSuggestParams, AutosuggestSuggestResponse } from "./resources/autosuggest.js"; import { ChatbotItemV2, ChatbotListParams, ChatbotListResponse, ChatbotRetrieveFiltersParams, ChatbotRetrieveFiltersResponse, Chatbots, ClickBehaviour, DisplayType } from "./resources/chatbots.js"; import { Company, CompanyListParams, CompanyListResponse, CompanyRetrieveMembersParams, CompanyRetrieveMembersResponse, CompanyRetrieveParams } from "./resources/company.js"; import { ComponentRunParams, ComponentRunResponse, Components } from "./resources/components.js"; import { ConnectorConnectParams, ConnectorConnectResponse, ConnectorDisconnectParams, ConnectorDisconnectResponse, ConnectorListParams, ConnectorListResponse, ConnectorRetrieveParams, ConnectorRetrieveResponse, ConnectorStatus, Connectors } from "./resources/connectors.js"; import { DeepResearch, DeepResearchGenerateParams, DeepResearchGenerateResponse } from "./resources/deep-research.js"; import { DigitalEmployeeRetrieveDigitalEmployeesParams, DigitalEmployeeRetrieveDigitalEmployeesResponse, DigitalEmployeeRetrieveParams, DigitalEmployeeRetrieveResponse, DigitalEmployeeUpdatePinParams, DigitalEmployees, GLChatBeAPIModelDigitalEmployeeDigitalEmployeeProjectRef } from "./resources/digital-employees.js"; import { Encryption, EncryptionDecryptParams, EncryptionEncryptParams, EncryptionTextRequest, EncryptionTextResponse } from "./resources/encryption.js"; import { EnhancePrompt, EnhancePromptEnhancePromptParams, EnhancePromptEnhancePromptResponse } from "./resources/enhance-prompt.js"; import { EnvRetrieveConfigParams, EnvRetrieveConfigResponse, Envs } from "./resources/envs.js"; import { ExternalPipeline, ExternalPipelineDeleteParams, ExternalPipelineSynchronizeParams } from "./resources/external-pipeline.js"; import { FileDeleteAllParams, FileDeleteAllResponse, FileDeleteParams, FileDeleteResponse, FileUploadParams, FileUploadResponse, Files } from "./resources/files.js"; import { HealthCheck, HealthCheckStatusParams, HealthCheckTestAuthParams, Healthcheck } from "./resources/health-check.js"; import { I18n, I18nRetrieveParams, I18nRetrieveResponse } from "./resources/i18n.js"; import { Internal, InternalRetrieveParams } from "./resources/internal.js"; import { KnowledgeBaseInfo, KnowledgeBaseListParams, KnowledgeBaseListResponse, KnowledgeBases } from "./resources/knowledge-bases.js"; import { DeleteMemoryRequest, GetMemoryResponse, Memories, MemoryDeleteAllParams, MemoryDeleteParams, MemoryListParams, MemoryMarkParams, MemoryMarkResponse, MemoryUpdateParams, MemoryUpdateResponse, UpdateMemoryRequest } from "./resources/memories.js"; import { MessageStatRetrieveParams, MessageStatRetrieveResponse, MessageStats } from "./resources/message-stats.js"; import { PipelinePlugin, PipelinePluginCreateParams, PipelinePluginCreateResponse, PipelinePluginDeleteParams, PipelinePluginDeleteResponse } from "./resources/pipeline-plugin.js"; import { RegisterExternalPipeline, RegisterExternalPipelineRegisterExternalPipelineParams, RegisterExternalPipelineResponse } from "./resources/register-external-pipeline.js"; import { Retrieve, RetrieveCreateParams, RetrieveCreateResponse } from "./resources/retrieve.js"; import { RootBranding, RootBrandingRetrieveRootBrandingParams, RootBrandingRetrieveRootBrandingResponse } from "./resources/root-branding.js"; import { SaveMessage, SaveMessageCreateParams, SaveMessageCreateResponse } from "./resources/save-message.js"; import { ShingleListParams, ShingleListResponse, Shingles } from "./resources/shingles.js"; import { SkillRetrieveEnabledParams, SkillRetrieveEnabledResponse, SkillToggleParams, SkillToggleResponse, Skills } from "./resources/skills.js"; import { StreamResource, StreamResourceStopParams, StreamResourceStopResponse } from "./resources/stream.js"; import { VectorStore, VectorStoreCreateParams, VectorStoreCreateResponse } from "./resources/vector-store.js"; import { Agents } from "./resources/agents/agents.js"; import { API as ApiapiAPI, APIPreviewTokenParams, APIPreviewTokenResponse } from "./resources/api/api.js"; import { Auth, AuthDirectAPILoginParams, AuthDirectAPILoginResponse, AuthLastVisitedOrganizationParams, AuthLastVisitedOrganizationResponse, AuthLogoutAllParams, AuthLogoutAllResponse, AuthLogoutParams, AuthLogoutResponse, AuthLookupEmailParams, AuthLookupEmailResponse, AuthMeParams, AuthMeResponse, AuthPostLoginParams, AuthResolveUsernameParams, AuthResolveUsernameResponse, AuthRetrieveProvidersParams, AuthRetrieveProvidersResponse, CurrentUserOutput, PostLoginRouting, RoutingOrganization, Tenant } from "./resources/auth/auth.js"; import { ConversationLegacy, ConversationLegacyCreateParams, ConversationLegacyDeleteParams, ConversationLegacyDeleteResponse, ConversationLegacyGenerateTitleParams, ConversationLegacyGenerateTitleResponse, ConversationLegacyRenameParams, ConversationLegacyRetrieveParams, ConversationLegacyRetrieveResponse, ConversationLegacyShareParams, ConversationLegacyUpdateParams, ConversationLegacyUpdateResponse } from "./resources/conversation-legacy/conversation-legacy.js"; import { ConversationBranchHistoryParams, ConversationBranchHistoryResponse, ConversationCreateParams, ConversationDeleteMultipleParams, ConversationDeleteMultipleResponse, ConversationDeleteParams, ConversationDeleteResponse, ConversationListParams, ConversationListResponse, ConversationRemainingContextWindowParams, ConversationRemainingContextWindowResponse, ConversationUpdateParams, Conversations, CreateConversation } from "./resources/conversations/conversations.js"; import { Library, LibraryRetrieveConfigParams, LibraryRetrieveConfigResponse, LibraryRetrieveShareTargetsParams, LibraryRetrieveShareTargetsResponse } from "./resources/library/library.js"; import { Media, MediaRetrieveParams, MediaRetrieveResponse } from "./resources/media/media.js"; import { Message, MessageCreateParams, MessageDeanonymizeParams, MessageDeanonymizeResponse, MessageDeleteParams, MessageDeleteResponse, MessageResource, SearchType } from "./resources/message/message.js"; import { MindMap, MindMapCreateParams, MindMapNodeResponse, MindMaps } from "./resources/mind-maps/mind-maps.js"; import { NotificationListParams, NotificationListResponse, NotificationMarkAllParams, NotificationMarkAllResponse, NotificationRetrieveCatalogParams, NotificationRetrieveCatalogResponse, NotificationUpdateParams, NotificationUpdateResponse, Notifications } from "./resources/notifications/notifications.js"; import { Scheduler } from "./resources/scheduler/scheduler.js"; import { UserUpdatePrivacyPolicyConsentParams, Users } from "./resources/users/users.js"; import { V2 } from "./resources/v2/v2.js"; import { V3 } from "./resources/v3/v3.js"; import { type Fetch } from "./internal/builtin-types.js"; import { HeadersLike, NullableHeaders } from "./internal/headers.js"; import { FinalRequestOptions, RequestOptions } from "./internal/request-options.js"; import { type LogLevel, type Logger } from "./internal/utils/log.js"; export interface ClientOptions { /** * Defaults to process.env['GLCHAT_API_KEY']. */ apiKey?: string | null | undefined; /** * Defaults to process.env['GLCHAT_TENANT_ID']. */ tenantID?: string | null | undefined; /** * Override the default base URL for the API, e.g., "https://api.example.com/v2/" * * Defaults to process.env['GL_CHAT_BASE_URL']. */ baseURL?: string | null | undefined; /** * The maximum amount of time (in milliseconds) that the client should wait for a response * from the server before timing out a single request. * * Note that request timeouts are retried by default, so in a worst-case scenario you may wait * much longer than this timeout before the promise succeeds or fails. * * @unit milliseconds */ timeout?: number | undefined; /** * Additional `RequestInit` options to be passed to `fetch` calls. * Properties will be overridden by per-request `fetchOptions`. */ fetchOptions?: MergedRequestInit | undefined; /** * Specify a custom `fetch` function implementation. * * If not provided, we expect that `fetch` is defined globally. */ fetch?: Fetch | undefined; /** * The maximum number of times that the client will retry a request in case of a * temporary failure, like a network error or a 5XX error from the server. * * @default 5 */ maxRetries?: number | undefined; /** * Default headers to include with every request to the API. * * These can be removed in individual requests by explicitly setting the * header to `null` in request options. */ defaultHeaders?: HeadersLike | undefined; /** * Default query parameters to include with every request to the API. * * These can be removed in individual requests by explicitly setting the * param to `undefined` in request options. */ defaultQuery?: Record | undefined; /** * Set the log level. * * Defaults to process.env['GL_CHAT_LOG'] or 'warn' if it isn't set. */ logLevel?: LogLevel | undefined; /** * Set the logger. * * Defaults to globalThis.console. */ logger?: Logger | undefined; /** * Enable experimental caching mechanism using the `ETag` header. * * Refer to https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/ETag * for more information on how it works. * * Defaults to `false` for backward compatibility. */ cache?: CacheOptions | boolean; } interface CacheOptions { store?: CacheStore; maxBodyBytes?: number; } export interface CacheEntry { tag: string; body: string; contentType: string | null; savedAt: number; } export interface CacheStore { get(key: string): CacheEntry | null | Promise; set(key: string, entry: CacheEntry): void | Promise; delete(key: string): void | Promise; clear(): void | Promise; } /** * API Client for interfacing with the GLChat API. */ export declare class GLChat { #private; apiKey: string | null; tenantID: string | null; baseURL: string; maxRetries: number; timeout: number; logger: Logger; logLevel: LogLevel | undefined; fetchOptions: MergedRequestInit | undefined; private fetch; protected idempotencyHeader?: string; private _options; private _cache; private _maxCacheableSize; /** * API Client for interfacing with the GLChat API. * * @param {string | null | undefined} [opts.apiKey=process.env['GLCHAT_API_KEY'] ?? null] * @param {string | null | undefined} [opts.tenantID=process.env['GLCHAT_TENANT_ID'] ?? null] * @param {string} [opts.baseURL=process.env['GL_CHAT_BASE_URL'] ?? https://glchat-api.glair.ai/] - Override the default base URL for the API. * @param {number} [opts.timeout=1 minute] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out. * @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls. * @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation. * @param {number} [opts.maxRetries=5] - The maximum number of times the client will retry a request. * @param {HeadersLike} opts.defaultHeaders - Default headers to include with every request to the API. * @param {Record} opts.defaultQuery - Default query parameters to include with every request to the API. */ constructor({ baseURL, apiKey, tenantID, ...opts }?: ClientOptions); /** * Create a new client instance re-using the same options given to the current client with optional overriding. */ withOptions(options: Partial): this; protected defaultQuery(): Record | undefined; protected validateHeaders({ values, nulls }: NullableHeaders): void; protected authHeaders(opts: FinalRequestOptions): Promise; protected stringifyQuery(query: object | Record): string; private getUserAgent; protected defaultIdempotencyKey(): string; protected makeStatusError(status: number, error: Object, message: string | undefined, headers: Headers): Errors.APIError; buildURL(path: string, query: Record | null | undefined, defaultBaseURL?: string | undefined): string; /** * Used as a callback for mutating the given `FinalRequestOptions` object. */ protected prepareOptions(options: FinalRequestOptions): Promise; /** * Used as a callback for mutating the given `RequestInit` object. * * This is useful for cases where you want to add certain headers based off of * the request properties, e.g. `method` or `url`. */ protected prepareRequest(request: RequestInit, { url, options }: { url: string; options: FinalRequestOptions; }): Promise; get(path: string, opts?: PromiseOrValue): APIPromise; post(path: string, opts?: PromiseOrValue): APIPromise; patch(path: string, opts?: PromiseOrValue): APIPromise; put(path: string, opts?: PromiseOrValue): APIPromise; delete(path: string, opts?: PromiseOrValue): APIPromise; private methodRequest; request(options: PromiseOrValue, remainingRetries?: number | null): APIPromise; private makeRequest; rebuildResponse(response: Response, headers: Headers): Promise; /** * Attach headers to a response without touching its body. * * Response headers carry an "immutable" guard, so `response.headers.set()` * throws; replacing the property is the only way to annotate a response * in-place. This matters on runtimes that expose `.text()`/`.arrayBuffer()` * but no `.body` stream (React Native, jsdom, fetch polyfills and mocks), * where `new Response(response.body, …)` would produce an empty body. */ attachHeaders(response: Response, extra: Record): Promise; byteLength(body: string): number; fetchWithTimeout(url: RequestInfo, init: RequestInit | undefined, ms: number, controller: AbortController): Promise; private shouldRetry; private retryRequest; private calculateDefaultRetryTimeoutMillis; buildRequest(inputOptions: FinalRequestOptions, { retryCount }?: { retryCount?: number; }): Promise<{ req: FinalizedRequestInit; url: string; timeout: number; }>; private buildHeaders; private _makeAbort; private buildBody; static GLChat: typeof GLChat; static DEFAULT_TIMEOUT: number; static GLChatError: typeof Errors.GLChatError; static APIError: typeof Errors.APIError; static APIConnectionError: typeof Errors.APIConnectionError; static APIConnectionTimeoutError: typeof Errors.APIConnectionTimeoutError; static APIUserAbortError: typeof Errors.APIUserAbortError; static NotFoundError: typeof Errors.NotFoundError; static ConflictError: typeof Errors.ConflictError; static RateLimitError: typeof Errors.RateLimitError; static BadRequestError: typeof Errors.BadRequestError; static AuthenticationError: typeof Errors.AuthenticationError; static InternalServerError: typeof Errors.InternalServerError; static PermissionDeniedError: typeof Errors.PermissionDeniedError; static UnprocessableEntityError: typeof Errors.UnprocessableEntityError; static toFile: typeof Uploads.toFile; auth: API.Auth; autosuggest: API.Autosuggest; shingles: API.Shingles; deepResearch: API.DeepResearch; healthCheck: API.HealthCheck; media: API.Media; message: API.MessageResource; saveMessage: API.SaveMessage; stream: API.StreamResource; files: API.Files; messageStats: API.MessageStats; mindMaps: API.MindMaps; pipelinePlugin: API.PipelinePlugin; chatbots: API.Chatbots; knowledgeBases: API.KnowledgeBases; vectorStore: API.VectorStore; connectors: API.Connectors; users: API.Users; conversationLegacy: API.ConversationLegacy; conversations: API.Conversations; memories: API.Memories; agents: API.Agents; notifications: API.Notifications; scheduler: API.Scheduler; i18n: API.I18n; v2: API.V2; v3: API.V3; company: API.Company; api: API.API; enhancePrompt: API.EnhancePrompt; registerExternalPipeline: API.RegisterExternalPipeline; externalPipeline: API.ExternalPipeline; encryption: API.Encryption; internal: API.Internal; components: API.Components; retrieve: API.Retrieve; digitalEmployees: API.DigitalEmployees; skills: API.Skills; rootBranding: API.RootBranding; library: API.Library; envs: API.Envs; } export declare namespace GLChat { export type RequestOptions = Opts.RequestOptions; export { Auth as Auth, type CurrentUserOutput as CurrentUserOutput, type PostLoginRouting as PostLoginRouting, type RoutingOrganization as RoutingOrganization, type Tenant as Tenant, type AuthDirectAPILoginResponse as AuthDirectAPILoginResponse, type AuthLastVisitedOrganizationResponse as AuthLastVisitedOrganizationResponse, type AuthLogoutResponse as AuthLogoutResponse, type AuthLogoutAllResponse as AuthLogoutAllResponse, type AuthLookupEmailResponse as AuthLookupEmailResponse, type AuthMeResponse as AuthMeResponse, type AuthResolveUsernameResponse as AuthResolveUsernameResponse, type AuthRetrieveProvidersResponse as AuthRetrieveProvidersResponse, type AuthDirectAPILoginParams as AuthDirectAPILoginParams, type AuthLastVisitedOrganizationParams as AuthLastVisitedOrganizationParams, type AuthLogoutParams as AuthLogoutParams, type AuthLogoutAllParams as AuthLogoutAllParams, type AuthLookupEmailParams as AuthLookupEmailParams, type AuthMeParams as AuthMeParams, type AuthPostLoginParams as AuthPostLoginParams, type AuthResolveUsernameParams as AuthResolveUsernameParams, type AuthRetrieveProvidersParams as AuthRetrieveProvidersParams, }; export { Autosuggest as Autosuggest, type AutosuggestSuggestResponse as AutosuggestSuggestResponse, type AutosuggestSuggestParams as AutosuggestSuggestParams, }; export { Shingles as Shingles, type ShingleListResponse as ShingleListResponse, type ShingleListParams as ShingleListParams, }; export { DeepResearch as DeepResearch, type DeepResearchGenerateResponse as DeepResearchGenerateResponse, type DeepResearchGenerateParams as DeepResearchGenerateParams, }; export { HealthCheck as HealthCheck, type Healthcheck as Healthcheck, type HealthCheckStatusParams as HealthCheckStatusParams, type HealthCheckTestAuthParams as HealthCheckTestAuthParams, }; export { Media as Media, type MediaRetrieveResponse as MediaRetrieveResponse, type MediaRetrieveParams as MediaRetrieveParams, }; export { MessageResource as MessageResource, type Message as Message, type SearchType as SearchType, type MessageDeleteResponse as MessageDeleteResponse, type MessageDeanonymizeResponse as MessageDeanonymizeResponse, type MessageCreateParams as MessageCreateParams, type MessageDeleteParams as MessageDeleteParams, type MessageDeanonymizeParams as MessageDeanonymizeParams, }; export { SaveMessage as SaveMessage, type SaveMessageCreateResponse as SaveMessageCreateResponse, type SaveMessageCreateParams as SaveMessageCreateParams, }; export { StreamResource as StreamResource, type StreamResourceStopResponse as StreamResourceStopResponse, type StreamResourceStopParams as StreamResourceStopParams, }; export { Files as Files, type FileUploadResponse as FileUploadResponse, type FileDeleteResponse as FileDeleteResponse, type FileDeleteAllResponse as FileDeleteAllResponse, type FileDeleteParams as FileDeleteParams, type FileDeleteAllParams as FileDeleteAllParams, type FileUploadParams as FileUploadParams, }; export { MessageStats as MessageStats, type MessageStatRetrieveResponse as MessageStatRetrieveResponse, type MessageStatRetrieveParams as MessageStatRetrieveParams, }; export { MindMaps as MindMaps, type MindMap as MindMap, type MindMapNodeResponse as MindMapNodeResponse, type MindMapCreateParams as MindMapCreateParams, }; export { PipelinePlugin as PipelinePlugin, type PipelinePluginCreateResponse as PipelinePluginCreateResponse, type PipelinePluginDeleteResponse as PipelinePluginDeleteResponse, type PipelinePluginCreateParams as PipelinePluginCreateParams, type PipelinePluginDeleteParams as PipelinePluginDeleteParams, }; export { Chatbots as Chatbots, type ChatbotItemV2 as ChatbotItemV2, type ClickBehaviour as ClickBehaviour, type DisplayType as DisplayType, type ChatbotListResponse as ChatbotListResponse, type ChatbotRetrieveFiltersResponse as ChatbotRetrieveFiltersResponse, type ChatbotListParams as ChatbotListParams, type ChatbotRetrieveFiltersParams as ChatbotRetrieveFiltersParams, }; export { KnowledgeBases as KnowledgeBases, type KnowledgeBaseInfo as KnowledgeBaseInfo, type KnowledgeBaseListResponse as KnowledgeBaseListResponse, type KnowledgeBaseListParams as KnowledgeBaseListParams, }; export { VectorStore as VectorStore, type VectorStoreCreateResponse as VectorStoreCreateResponse, type VectorStoreCreateParams as VectorStoreCreateParams, }; export { Connectors as Connectors, type ConnectorStatus as ConnectorStatus, type ConnectorRetrieveResponse as ConnectorRetrieveResponse, type ConnectorListResponse as ConnectorListResponse, type ConnectorConnectResponse as ConnectorConnectResponse, type ConnectorDisconnectResponse as ConnectorDisconnectResponse, type ConnectorRetrieveParams as ConnectorRetrieveParams, type ConnectorListParams as ConnectorListParams, type ConnectorConnectParams as ConnectorConnectParams, type ConnectorDisconnectParams as ConnectorDisconnectParams, }; export { Users as Users, type UserUpdatePrivacyPolicyConsentParams as UserUpdatePrivacyPolicyConsentParams, }; export { ConversationLegacy as ConversationLegacy, type ConversationLegacyRetrieveResponse as ConversationLegacyRetrieveResponse, type ConversationLegacyUpdateResponse as ConversationLegacyUpdateResponse, type ConversationLegacyDeleteResponse as ConversationLegacyDeleteResponse, type ConversationLegacyGenerateTitleResponse as ConversationLegacyGenerateTitleResponse, type ConversationLegacyCreateParams as ConversationLegacyCreateParams, type ConversationLegacyRetrieveParams as ConversationLegacyRetrieveParams, type ConversationLegacyUpdateParams as ConversationLegacyUpdateParams, type ConversationLegacyDeleteParams as ConversationLegacyDeleteParams, type ConversationLegacyGenerateTitleParams as ConversationLegacyGenerateTitleParams, type ConversationLegacyRenameParams as ConversationLegacyRenameParams, type ConversationLegacyShareParams as ConversationLegacyShareParams, }; export { Conversations as Conversations, type CreateConversation as CreateConversation, type ConversationListResponse as ConversationListResponse, type ConversationDeleteResponse as ConversationDeleteResponse, type ConversationBranchHistoryResponse as ConversationBranchHistoryResponse, type ConversationDeleteMultipleResponse as ConversationDeleteMultipleResponse, type ConversationRemainingContextWindowResponse as ConversationRemainingContextWindowResponse, type ConversationCreateParams as ConversationCreateParams, type ConversationUpdateParams as ConversationUpdateParams, type ConversationListParams as ConversationListParams, type ConversationDeleteParams as ConversationDeleteParams, type ConversationBranchHistoryParams as ConversationBranchHistoryParams, type ConversationDeleteMultipleParams as ConversationDeleteMultipleParams, type ConversationRemainingContextWindowParams as ConversationRemainingContextWindowParams, }; export { Memories as Memories, type DeleteMemoryRequest as DeleteMemoryRequest, type GetMemoryResponse as GetMemoryResponse, type UpdateMemoryRequest as UpdateMemoryRequest, type MemoryUpdateResponse as MemoryUpdateResponse, type MemoryMarkResponse as MemoryMarkResponse, type MemoryUpdateParams as MemoryUpdateParams, type MemoryListParams as MemoryListParams, type MemoryDeleteParams as MemoryDeleteParams, type MemoryDeleteAllParams as MemoryDeleteAllParams, type MemoryMarkParams as MemoryMarkParams, }; export { Agents as Agents }; export { Notifications as Notifications, type NotificationUpdateResponse as NotificationUpdateResponse, type NotificationListResponse as NotificationListResponse, type NotificationMarkAllResponse as NotificationMarkAllResponse, type NotificationRetrieveCatalogResponse as NotificationRetrieveCatalogResponse, type NotificationUpdateParams as NotificationUpdateParams, type NotificationListParams as NotificationListParams, type NotificationMarkAllParams as NotificationMarkAllParams, type NotificationRetrieveCatalogParams as NotificationRetrieveCatalogParams, }; export { Scheduler as Scheduler }; export { I18n as I18n, type I18nRetrieveResponse as I18nRetrieveResponse, type I18nRetrieveParams as I18nRetrieveParams, }; export { V2 as V2 }; export { V3 as V3 }; export { Company as Company, type CompanyListResponse as CompanyListResponse, type CompanyRetrieveMembersResponse as CompanyRetrieveMembersResponse, type CompanyRetrieveParams as CompanyRetrieveParams, type CompanyListParams as CompanyListParams, type CompanyRetrieveMembersParams as CompanyRetrieveMembersParams, }; export { ApiapiAPI as API, type APIPreviewTokenResponse as APIPreviewTokenResponse, type APIPreviewTokenParams as APIPreviewTokenParams, }; export { EnhancePrompt as EnhancePrompt, type EnhancePromptEnhancePromptResponse as EnhancePromptEnhancePromptResponse, type EnhancePromptEnhancePromptParams as EnhancePromptEnhancePromptParams, }; export { RegisterExternalPipeline as RegisterExternalPipeline, type RegisterExternalPipelineResponse as RegisterExternalPipelineResponse, type RegisterExternalPipelineRegisterExternalPipelineParams as RegisterExternalPipelineRegisterExternalPipelineParams, }; export { ExternalPipeline as ExternalPipeline, type ExternalPipelineDeleteParams as ExternalPipelineDeleteParams, type ExternalPipelineSynchronizeParams as ExternalPipelineSynchronizeParams, }; export { Encryption as Encryption, type EncryptionTextRequest as EncryptionTextRequest, type EncryptionTextResponse as EncryptionTextResponse, type EncryptionDecryptParams as EncryptionDecryptParams, type EncryptionEncryptParams as EncryptionEncryptParams, }; export { Internal as Internal, type InternalRetrieveParams as InternalRetrieveParams }; export { Components as Components, type ComponentRunResponse as ComponentRunResponse, type ComponentRunParams as ComponentRunParams, }; export { Retrieve as Retrieve, type RetrieveCreateResponse as RetrieveCreateResponse, type RetrieveCreateParams as RetrieveCreateParams, }; export { DigitalEmployees as DigitalEmployees, type GLChatBeAPIModelDigitalEmployeeDigitalEmployeeProjectRef as GLChatBeAPIModelDigitalEmployeeDigitalEmployeeProjectRef, type DigitalEmployeeRetrieveResponse as DigitalEmployeeRetrieveResponse, type DigitalEmployeeRetrieveDigitalEmployeesResponse as DigitalEmployeeRetrieveDigitalEmployeesResponse, type DigitalEmployeeRetrieveParams as DigitalEmployeeRetrieveParams, type DigitalEmployeeRetrieveDigitalEmployeesParams as DigitalEmployeeRetrieveDigitalEmployeesParams, type DigitalEmployeeUpdatePinParams as DigitalEmployeeUpdatePinParams, }; export { Skills as Skills, type SkillRetrieveEnabledResponse as SkillRetrieveEnabledResponse, type SkillToggleResponse as SkillToggleResponse, type SkillRetrieveEnabledParams as SkillRetrieveEnabledParams, type SkillToggleParams as SkillToggleParams, }; export { RootBranding as RootBranding, type RootBrandingRetrieveRootBrandingResponse as RootBrandingRetrieveRootBrandingResponse, type RootBrandingRetrieveRootBrandingParams as RootBrandingRetrieveRootBrandingParams, }; export { Library as Library, type LibraryRetrieveConfigResponse as LibraryRetrieveConfigResponse, type LibraryRetrieveShareTargetsResponse as LibraryRetrieveShareTargetsResponse, type LibraryRetrieveConfigParams as LibraryRetrieveConfigParams, type LibraryRetrieveShareTargetsParams as LibraryRetrieveShareTargetsParams, }; export { Envs as Envs, type EnvRetrieveConfigResponse as EnvRetrieveConfigResponse, type EnvRetrieveConfigParams as EnvRetrieveConfigParams, }; export type AdminChatbotModel = API.AdminChatbotModel; export type AdminKnowledgeBaseModel = API.AdminKnowledgeBaseModel; export type AdminKnowledgeStoreModel = API.AdminKnowledgeStoreModel; export type AdminLmrpCatalogEntryModel = API.AdminLmrpCatalogEntryModel; export type AdminLmrpCatalogModel = API.AdminLmrpCatalogModel; export type AdminPipelineModel = API.AdminPipelineModel; export type AdminPresetModel = API.AdminPresetModel; export type AdminPromptBuilderCatalogEntryModel = API.AdminPromptBuilderCatalogEntryModel; export type AdminPromptBuilderCatalogModel = API.AdminPromptBuilderCatalogModel; export type AdminUserDomainModel = API.AdminUserDomainModel; export type ChatbotModel = API.ChatbotModel; export type GLChatBeAdminChatbotConnectorModelModelAdminChatbotConnectorModel = API.GLChatBeAdminChatbotConnectorModelModelAdminChatbotConnectorModel; export type OrganizationResponse = API.OrganizationResponse; export type RecommendedQuestion = API.RecommendedQuestion; export type UserInfo = API.UserInfo; export type WhatsAppPhoneNumberModel = API.WhatsAppPhoneNumberModel; export type WhatsAppProviderModel = API.WhatsAppProviderModel; } //# sourceMappingURL=client.d.ts.map