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