import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type ProfitAndLossFilter = { /** * Filter by customer id */ customerId?: string | undefined; /** * Filter by start date. If start date is given, end date is required. */ startDate?: string | undefined; /** * Filter by end date. If end date is given, start date is required. */ endDate?: string | undefined; }; /** @internal */ export declare const ProfitAndLossFilter$inboundSchema: z.ZodType; /** @internal */ export type ProfitAndLossFilter$Outbound = { customer_id?: string | undefined; start_date?: string | undefined; end_date?: string | undefined; }; /** @internal */ export declare const ProfitAndLossFilter$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 ProfitAndLossFilter$ { /** @deprecated use `ProfitAndLossFilter$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ProfitAndLossFilter$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ProfitAndLossFilter$Outbound` instead. */ type Outbound = ProfitAndLossFilter$Outbound; } export declare function profitAndLossFilterToJSON(profitAndLossFilter: ProfitAndLossFilter): string; export declare function profitAndLossFilterFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=profitandlossfilter.d.ts.map