import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export declare enum ConnectSessionCreateCategories {
    Ats = "ats",
    Hris = "hris",
    HrisLegacy = "hris-legacy",
    Crm = "crm",
    Iam = "iam",
    Marketing = "marketing",
    Lms = "lms",
    Stackone = "stackone",
    Documents = "documents",
    Ticketing = "ticketing",
    Screening = "screening",
    Messaging = "messaging"
}
/**
 * The metadata for the connection
 */
export type ConnectSessionCreateMetadata = {};
export type ConnectSessionCreate = {
    /**
     * The unique identifier for the account associated with this connect session. When this field is present, the hub will launch in edit mode using the retrieved token.
     */
    accountId?: string | null | undefined;
    /**
     * The categories of the provider to connect to
     */
    categories?: Array<ConnectSessionCreateCategories> | null | undefined;
    /**
     * How long the session should be valid for in seconds
     */
    expiresIn?: number | null | undefined;
    /**
     * The label to be applied to the account associated with this connect session.
     */
    label?: string | null | undefined;
    /**
     * The metadata for the connection
     */
    metadata?: ConnectSessionCreateMetadata | null | undefined;
    /**
     * If set, this connect session will allow creation of multiple accounts with the same origin owner id and provider. Has no effect if account_id is set.
     */
    multiple?: boolean | null | undefined;
    /**
     * The origin owner identifier
     */
    originOwnerId: string;
    /**
     * The origin owner name
     */
    originOwnerName: string;
    /**
     * The origin username
     */
    originUsername?: string | null | undefined;
    /**
     * The provider to connect to
     */
    provider?: string | null | undefined;
};
/** @internal */
export declare const ConnectSessionCreateCategories$inboundSchema: z.ZodNativeEnum<typeof ConnectSessionCreateCategories>;
/** @internal */
export declare const ConnectSessionCreateCategories$outboundSchema: z.ZodNativeEnum<typeof ConnectSessionCreateCategories>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ConnectSessionCreateCategories$ {
    /** @deprecated use `ConnectSessionCreateCategories$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<typeof ConnectSessionCreateCategories>;
    /** @deprecated use `ConnectSessionCreateCategories$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<typeof ConnectSessionCreateCategories>;
}
/** @internal */
export declare const ConnectSessionCreateMetadata$inboundSchema: z.ZodType<ConnectSessionCreateMetadata, z.ZodTypeDef, unknown>;
/** @internal */
export type ConnectSessionCreateMetadata$Outbound = {};
/** @internal */
export declare const ConnectSessionCreateMetadata$outboundSchema: z.ZodType<ConnectSessionCreateMetadata$Outbound, z.ZodTypeDef, ConnectSessionCreateMetadata>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ConnectSessionCreateMetadata$ {
    /** @deprecated use `ConnectSessionCreateMetadata$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ConnectSessionCreateMetadata, z.ZodTypeDef, unknown>;
    /** @deprecated use `ConnectSessionCreateMetadata$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ConnectSessionCreateMetadata$Outbound, z.ZodTypeDef, ConnectSessionCreateMetadata>;
    /** @deprecated use `ConnectSessionCreateMetadata$Outbound` instead. */
    type Outbound = ConnectSessionCreateMetadata$Outbound;
}
export declare function connectSessionCreateMetadataToJSON(connectSessionCreateMetadata: ConnectSessionCreateMetadata): string;
export declare function connectSessionCreateMetadataFromJSON(jsonString: string): SafeParseResult<ConnectSessionCreateMetadata, SDKValidationError>;
/** @internal */
export declare const ConnectSessionCreate$inboundSchema: z.ZodType<ConnectSessionCreate, z.ZodTypeDef, unknown>;
/** @internal */
export type ConnectSessionCreate$Outbound = {
    account_id?: string | null | undefined;
    categories?: Array<string> | null | undefined;
    expires_in: number | null;
    label?: string | null | undefined;
    metadata?: ConnectSessionCreateMetadata$Outbound | null | undefined;
    multiple: boolean | null;
    origin_owner_id: string;
    origin_owner_name: string;
    origin_username?: string | null | undefined;
    provider?: string | null | undefined;
};
/** @internal */
export declare const ConnectSessionCreate$outboundSchema: z.ZodType<ConnectSessionCreate$Outbound, z.ZodTypeDef, ConnectSessionCreate>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace ConnectSessionCreate$ {
    /** @deprecated use `ConnectSessionCreate$inboundSchema` instead. */
    const inboundSchema: z.ZodType<ConnectSessionCreate, z.ZodTypeDef, unknown>;
    /** @deprecated use `ConnectSessionCreate$outboundSchema` instead. */
    const outboundSchema: z.ZodType<ConnectSessionCreate$Outbound, z.ZodTypeDef, ConnectSessionCreate>;
    /** @deprecated use `ConnectSessionCreate$Outbound` instead. */
    type Outbound = ConnectSessionCreate$Outbound;
}
export declare function connectSessionCreateToJSON(connectSessionCreate: ConnectSessionCreate): string;
export declare function connectSessionCreateFromJSON(jsonString: string): SafeParseResult<ConnectSessionCreate, SDKValidationError>;
//# sourceMappingURL=connectsessioncreate.d.ts.map