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