import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AuthenticatorConfluenceConnection, AuthenticatorConfluenceConnection$Outbound } from "./authenticatorconfluenceconnection.js"; import { AuthenticatorDropboxConnection, AuthenticatorDropboxConnection$Outbound } from "./authenticatordropboxconnection.js"; import { AuthenticatorGmailConnection, AuthenticatorGmailConnection$Outbound } from "./authenticatorgmailconnection.js"; import { AuthenticatorGoogleDriveConnection, AuthenticatorGoogleDriveConnection$Outbound } from "./authenticatorgoogledriveconnection.js"; import { AuthenticatorHubspotConnection, AuthenticatorHubspotConnection$Outbound } from "./authenticatorhubspotconnection.js"; import { AuthenticatorJiraConnection, AuthenticatorJiraConnection$Outbound } from "./authenticatorjiraconnection.js"; import { AuthenticatorNotionConnection, AuthenticatorNotionConnection$Outbound } from "./authenticatornotionconnection.js"; import { AuthenticatorOnedriveConnection, AuthenticatorOnedriveConnection$Outbound } from "./authenticatoronedriveconnection.js"; import { AuthenticatorSalesforceConnection, AuthenticatorSalesforceConnection$Outbound } from "./authenticatorsalesforceconnection.js"; import { AuthenticatorSharepointConnection, AuthenticatorSharepointConnection$Outbound } from "./authenticatorsharepointconnection.js"; import { AuthenticatorSlackConnection, AuthenticatorSlackConnection$Outbound } from "./authenticatorslackconnection.js"; import { MediaModeParam, MediaModeParam$Outbound } from "./mediamodeparam.js"; export type CreateAuthenticatorConnectionMetadata = string | number | number | boolean | Array; export type CreateAuthenticatorConnectionConnection = AuthenticatorConfluenceConnection | AuthenticatorDropboxConnection | AuthenticatorGmailConnection | AuthenticatorGoogleDriveConnection | AuthenticatorHubspotConnection | AuthenticatorJiraConnection | AuthenticatorNotionConnection | AuthenticatorOnedriveConnection | AuthenticatorSalesforceConnection | AuthenticatorSharepointConnection | AuthenticatorSlackConnection; export type CreateAuthenticatorConnection = { partitionStrategy: MediaModeParam; partition?: string | null | undefined; pageLimit?: number | null | undefined; config?: { [k: string]: any; } | null | undefined; /** * Metadata for the document. Keys must be strings. Values may be strings, numbers, booleans, or lists of strings. Numbers may be integers or floating point and will be converted to 64 bit floating point. 1000 total values are allowed. Each item in an array counts towards the total. The following keys are reserved for internal use: `document_id`, `document_type`, `document_source`, `document_name`, `document_uploaded_at`, `start_time`, `end_time`, `chunk_content_type`. */ metadata?: { [k: string]: string | number | number | boolean | Array; } | undefined; connection: AuthenticatorConfluenceConnection | AuthenticatorDropboxConnection | AuthenticatorGmailConnection | AuthenticatorGoogleDriveConnection | AuthenticatorHubspotConnection | AuthenticatorJiraConnection | AuthenticatorNotionConnection | AuthenticatorOnedriveConnection | AuthenticatorSalesforceConnection | AuthenticatorSharepointConnection | AuthenticatorSlackConnection; }; /** @internal */ export declare const CreateAuthenticatorConnectionMetadata$inboundSchema: z.ZodType; /** @internal */ export type CreateAuthenticatorConnectionMetadata$Outbound = string | number | number | boolean | Array; /** @internal */ export declare const CreateAuthenticatorConnectionMetadata$outboundSchema: z.ZodType; export declare function createAuthenticatorConnectionMetadataToJSON(createAuthenticatorConnectionMetadata: CreateAuthenticatorConnectionMetadata): string; export declare function createAuthenticatorConnectionMetadataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateAuthenticatorConnectionConnection$inboundSchema: z.ZodType; /** @internal */ export type CreateAuthenticatorConnectionConnection$Outbound = AuthenticatorConfluenceConnection$Outbound | AuthenticatorDropboxConnection$Outbound | AuthenticatorGmailConnection$Outbound | AuthenticatorGoogleDriveConnection$Outbound | AuthenticatorHubspotConnection$Outbound | AuthenticatorJiraConnection$Outbound | AuthenticatorNotionConnection$Outbound | AuthenticatorOnedriveConnection$Outbound | AuthenticatorSalesforceConnection$Outbound | AuthenticatorSharepointConnection$Outbound | AuthenticatorSlackConnection$Outbound; /** @internal */ export declare const CreateAuthenticatorConnectionConnection$outboundSchema: z.ZodType; export declare function createAuthenticatorConnectionConnectionToJSON(createAuthenticatorConnectionConnection: CreateAuthenticatorConnectionConnection): string; export declare function createAuthenticatorConnectionConnectionFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateAuthenticatorConnection$inboundSchema: z.ZodType; /** @internal */ export type CreateAuthenticatorConnection$Outbound = { partition_strategy: MediaModeParam$Outbound; partition?: string | null | undefined; page_limit?: number | null | undefined; config?: { [k: string]: any; } | null | undefined; metadata?: { [k: string]: string | number | number | boolean | Array; } | undefined; connection: AuthenticatorConfluenceConnection$Outbound | AuthenticatorDropboxConnection$Outbound | AuthenticatorGmailConnection$Outbound | AuthenticatorGoogleDriveConnection$Outbound | AuthenticatorHubspotConnection$Outbound | AuthenticatorJiraConnection$Outbound | AuthenticatorNotionConnection$Outbound | AuthenticatorOnedriveConnection$Outbound | AuthenticatorSalesforceConnection$Outbound | AuthenticatorSharepointConnection$Outbound | AuthenticatorSlackConnection$Outbound; }; /** @internal */ export declare const CreateAuthenticatorConnection$outboundSchema: z.ZodType; export declare function createAuthenticatorConnectionToJSON(createAuthenticatorConnection: CreateAuthenticatorConnection): string; export declare function createAuthenticatorConnectionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createauthenticatorconnection.d.ts.map