import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { SortDirection } from "./sortdirection.js"; /** * The field on which to sort the Purchase Orders */ export declare const PurchaseOrdersSortBy: { readonly UpdatedAt: "updated_at"; readonly CreatedAt: "created_at"; }; /** * The field on which to sort the Purchase Orders */ export type PurchaseOrdersSortBy = ClosedEnum; export type PurchaseOrdersSort = { /** * The field on which to sort the Purchase Orders */ by?: PurchaseOrdersSortBy | undefined; /** * The direction in which to sort the results */ direction?: SortDirection | undefined; }; /** @internal */ export declare const PurchaseOrdersSortBy$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PurchaseOrdersSortBy$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PurchaseOrdersSortBy$ { /** @deprecated use `PurchaseOrdersSortBy$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly UpdatedAt: "updated_at"; readonly CreatedAt: "created_at"; }>; /** @deprecated use `PurchaseOrdersSortBy$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly UpdatedAt: "updated_at"; readonly CreatedAt: "created_at"; }>; } /** @internal */ export declare const PurchaseOrdersSort$inboundSchema: z.ZodType; /** @internal */ export type PurchaseOrdersSort$Outbound = { by?: string | undefined; direction: string; }; /** @internal */ export declare const PurchaseOrdersSort$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace PurchaseOrdersSort$ { /** @deprecated use `PurchaseOrdersSort$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `PurchaseOrdersSort$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `PurchaseOrdersSort$Outbound` instead. */ type Outbound = PurchaseOrdersSort$Outbound; } export declare function purchaseOrdersSortToJSON(purchaseOrdersSort: PurchaseOrdersSort): string; export declare function purchaseOrdersSortFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=purchaseorderssort.d.ts.map