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