import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; /** * The accounting method used for the report: cash or accrual. */ export declare const ProfitAndLossFilterAccountingMethod: { readonly Cash: "cash"; readonly Accrual: "accrual"; }; /** * The accounting method used for the report: cash or accrual. */ export type ProfitAndLossFilterAccountingMethod = OpenEnum; 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; /** * Filter by location id */ locationId?: string | undefined; /** * The accounting method used for the report: cash or accrual. */ accountingMethod?: ProfitAndLossFilterAccountingMethod | undefined; }; /** @internal */ export declare const ProfitAndLossFilterAccountingMethod$outboundSchema: z.ZodType; /** @internal */ export type ProfitAndLossFilter$Outbound = { customer_id?: string | undefined; start_date?: string | undefined; end_date?: string | undefined; location_id?: string | undefined; accounting_method?: string | undefined; }; /** @internal */ export declare const ProfitAndLossFilter$outboundSchema: z.ZodType; export declare function profitAndLossFilterToJSON(profitAndLossFilter: ProfitAndLossFilter): string; //# sourceMappingURL=profitandlossfilter.d.ts.map