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 Bills */ export declare const By: { readonly UpdatedAt: "updated_at"; readonly CreatedAt: "created_at"; }; /** * The field on which to sort the Bills */ export type By = ClosedEnum; export type BillsSort = { /** * The field on which to sort the Bills */ by?: By | undefined; /** * The direction in which to sort the results */ direction?: SortDirection | undefined; }; /** @internal */ export declare const By$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const By$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 By$ { /** @deprecated use `By$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly UpdatedAt: "updated_at"; readonly CreatedAt: "created_at"; }>; /** @deprecated use `By$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly UpdatedAt: "updated_at"; readonly CreatedAt: "created_at"; }>; } /** @internal */ export declare const BillsSort$inboundSchema: z.ZodType; /** @internal */ export type BillsSort$Outbound = { by?: string | undefined; direction: string; }; /** @internal */ export declare const BillsSort$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 BillsSort$ { /** @deprecated use `BillsSort$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `BillsSort$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `BillsSort$Outbound` instead. */ type Outbound = BillsSort$Outbound; } export declare function billsSortToJSON(billsSort: BillsSort): string; export declare function billsSortFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=billssort.d.ts.map