import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; /** * Filter by bill status */ export declare const BillsFilterStatus: { readonly Paid: "paid"; readonly Unpaid: "unpaid"; readonly PartiallyPaid: "partially_paid"; }; /** * Filter by bill status */ export type BillsFilterStatus = OpenEnum; export type BillsFilter = { /** * Return records with a row ID greater than or equal to the given value */ idSince?: string | undefined; updatedSince?: Date | undefined; /** * Return bills whose `bill_number` equals the given value (exact match). Use this to verify whether a create that timed out (`outcome: uncertain`) was persisted before retrying. Bill numbers are not guaranteed unique on every connector, so more than one bill can be returned. */ billNumber?: string | undefined; /** * Return bills whose `reference` equals the given value (exact match). Use this to look up a bill by the reference you supplied on create, for example after a create that timed out (`outcome: uncertain`). */ reference?: string | undefined; /** * Return bills with a document date (`bill_date`) on or after the given date (YYYY-MM-DD). */ billedSince?: Date | undefined; /** * Return bills with a due date (`due_date`) on or after the given date (YYYY-MM-DD). */ dueSince?: Date | undefined; /** * Filter by bill status */ status?: BillsFilterStatus | undefined; /** * Filter by the subsidiary (legal entity) the record belongs to. Only honored on connectors that support multi-entity scoping (e.g. NetSuite OneWorld); ignored elsewhere. */ subsidiaryId?: string | undefined; }; /** @internal */ export declare const BillsFilterStatus$outboundSchema: z.ZodType; /** @internal */ export type BillsFilter$Outbound = { id_since?: string | undefined; updated_since?: string | undefined; bill_number?: string | undefined; reference?: string | undefined; billed_since?: string | undefined; due_since?: string | undefined; status?: string | undefined; subsidiary_id?: string | undefined; }; /** @internal */ export declare const BillsFilter$outboundSchema: z.ZodType; export declare function billsFilterToJSON(billsFilter: BillsFilter): string; //# sourceMappingURL=billsfilter.d.ts.map