/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; /** * Type of authorization used by the connector */ export const AuthType = { Oauth2: "oauth2", ApiKey: "apiKey", Basic: "basic", Custom: "custom", None: "none", } as const; /** * Type of authorization used by the connector */ export type AuthType = ClosedEnum; /** @internal */ export const AuthType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(AuthType); /** @internal */ export const AuthType$outboundSchema: z.ZodNativeEnum = AuthType$inboundSchema; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace AuthType$ { /** @deprecated use `AuthType$inboundSchema` instead. */ export const inboundSchema = AuthType$inboundSchema; /** @deprecated use `AuthType$outboundSchema` instead. */ export const outboundSchema = AuthType$outboundSchema; }