/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
import * as z from "zod";
import { ClosedEnum } from "../types/enums.js";
/**
* Operator is used by query-related endpoints to determine how to apply conditions. If this field is not populated, the default `and` value will be used.
*/
export const Operator = {
Or: "or",
And: "and",
} as const;
/**
* Operator is used by query-related endpoints to determine how to apply conditions. If this field is not populated, the default `and` value will be used.
*/
export type Operator = ClosedEnum<typeof Operator>;
/** @internal */
export const Operator$inboundSchema: z.ZodNativeEnum<typeof Operator> = z
.nativeEnum(Operator);
/** @internal */
export const Operator$outboundSchema: z.ZodNativeEnum<typeof Operator> =
Operator$inboundSchema;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export namespace Operator$ {
/** @deprecated use `Operator$inboundSchema` instead. */
export const inboundSchema = Operator$inboundSchema;
/** @deprecated use `Operator$outboundSchema` instead. */
export const outboundSchema = Operator$outboundSchema;
}