import * as z from "zod/v3";
import { OpenEnum } from "../../types/enums.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",
    Accounting = "accounting"
}
/**
 * The metadata for the connection
 */
export type ConnectSessionCreateMetadata = {};
/**
 * The connect session account type
 */
export declare enum ConnectSessionCreateType {
    Production = "production",
    Test = "test"
}
/**
 * The connect session account type
 */
export type ConnectSessionCreateTypeOpen = OpenEnum<typeof ConnectSessionCreateType>;
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;
    /**
     * The provider version to connect to
     */
    providerVersion?: string | null | undefined;
    /**
     * The connect session account type
     */
    type?: ConnectSessionCreateTypeOpen | null | undefined;
};
/** @internal */
export declare const ConnectSessionCreateCategories$outboundSchema: z.ZodNativeEnum<typeof ConnectSessionCreateCategories>;
/** @internal */
export type ConnectSessionCreateMetadata$Outbound = {};
/** @internal */
export declare const ConnectSessionCreateMetadata$outboundSchema: z.ZodType<ConnectSessionCreateMetadata$Outbound, z.ZodTypeDef, ConnectSessionCreateMetadata>;
export declare function connectSessionCreateMetadataToJSON(connectSessionCreateMetadata: ConnectSessionCreateMetadata): string;
/** @internal */
export declare const ConnectSessionCreateType$outboundSchema: z.ZodType<string, z.ZodTypeDef, ConnectSessionCreateTypeOpen>;
/** @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;
    provider_version?: string | null | undefined;
    type: string | null;
};
/** @internal */
export declare const ConnectSessionCreate$outboundSchema: z.ZodType<ConnectSessionCreate$Outbound, z.ZodTypeDef, ConnectSessionCreate>;
export declare function connectSessionCreateToJSON(connectSessionCreate: ConnectSessionCreate): string;
//# sourceMappingURL=connectsessioncreate.d.ts.map