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"; /** * Status of customer to filter on */ export declare const CustomersFilterStatus: { readonly Active: "active"; readonly Inactive: "inactive"; readonly Archived: "archived"; readonly All: "all"; }; /** * Status of customer to filter on */ export type CustomersFilterStatus = ClosedEnum; export type CustomersFilter = { /** * Company Name of customer to search for */ companyName?: string | undefined; /** * Display Name of customer to search for */ displayName?: string | undefined; /** * First name of customer to search for */ firstName?: string | undefined; /** * Last name of customer to search for */ lastName?: string | undefined; /** * Email of customer to search for */ email?: string | undefined; /** * Status of customer to filter on */ status?: CustomersFilterStatus | null | undefined; updatedSince?: Date | undefined; }; /** @internal */ export declare const CustomersFilterStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const CustomersFilterStatus$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 CustomersFilterStatus$ { /** @deprecated use `CustomersFilterStatus$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Active: "active"; readonly Inactive: "inactive"; readonly Archived: "archived"; readonly All: "all"; }>; /** @deprecated use `CustomersFilterStatus$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Active: "active"; readonly Inactive: "inactive"; readonly Archived: "archived"; readonly All: "all"; }>; } /** @internal */ export declare const CustomersFilter$inboundSchema: z.ZodType; /** @internal */ export type CustomersFilter$Outbound = { company_name?: string | undefined; display_name?: string | undefined; first_name?: string | undefined; last_name?: string | undefined; email?: string | undefined; status?: string | null | undefined; updated_since?: string | undefined; }; /** @internal */ export declare const CustomersFilter$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 CustomersFilter$ { /** @deprecated use `CustomersFilter$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CustomersFilter$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CustomersFilter$Outbound` instead. */ type Outbound = CustomersFilter$Outbound; } export declare function customersFilterToJSON(customersFilter: CustomersFilter): string; export declare function customersFilterFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=customersfilter.d.ts.map