/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; /** * The type of grant being requested. * * @remarks * * - `client_credentials`: A grant type used by clients to obtain an access token * - `refresh_token`: A grant type used by clients to obtain a new access token using a refresh token */ export const GrantType = { ClientCredentials: "client_credentials", RefreshToken: "refresh_token", } as const; /** * The type of grant being requested. * * @remarks * * - `client_credentials`: A grant type used by clients to obtain an access token * - `refresh_token`: A grant type used by clients to obtain a new access token using a refresh token */ export type GrantType = ClosedEnum; /** @internal */ export const GrantType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GrantType); /** @internal */ export const GrantType$outboundSchema: z.ZodNativeEnum = GrantType$inboundSchema;