import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; /** * Filter by account classification. */ export declare const Classification: { readonly Asset: "asset"; readonly Equity: "equity"; readonly Expense: "expense"; readonly Liability: "liability"; readonly Revenue: "revenue"; readonly Income: "income"; readonly OtherIncome: "other_income"; readonly OtherExpense: "other_expense"; readonly CostsOfSales: "costs_of_sales"; readonly Other: "other"; }; /** * Filter by account classification. */ export type Classification = OpenEnum; /** * Filter by account status. Supported only on a subset of connectors (e.g. NetSuite); connectors that do not support it reject `filter[status]` with a `400 UnsupportedFiltersError` — read the account's `status` field in the response and filter client-side instead. See the error's `supported_filters` or the connector's supported filters. */ export declare const LedgerAccountsFilterStatus: { readonly Active: "active"; readonly Inactive: "inactive"; }; /** * Filter by account status. Supported only on a subset of connectors (e.g. NetSuite); connectors that do not support it reject `filter[status]` with a `400 UnsupportedFiltersError` — read the account's `status` field in the response and filter client-side instead. See the error's `supported_filters` or the connector's supported filters. */ export type LedgerAccountsFilterStatus = OpenEnum; export type LedgerAccountsFilter = { /** * Filter by ledger account name */ name?: string | undefined; updatedSince?: Date | undefined; /** * Filter by account classification. */ classification?: Classification | undefined; /** * Filter by account status. Supported only on a subset of connectors (e.g. NetSuite); connectors that do not support it reject `filter[status]` with a `400 UnsupportedFiltersError` — read the account's `status` field in the response and filter client-side instead. See the error's `supported_filters` or the connector's supported filters. */ status?: LedgerAccountsFilterStatus | 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 Classification$outboundSchema: z.ZodType; /** @internal */ export declare const LedgerAccountsFilterStatus$outboundSchema: z.ZodType; /** @internal */ export type LedgerAccountsFilter$Outbound = { name?: string | undefined; updated_since?: string | undefined; classification?: string | undefined; status?: string | undefined; subsidiary_id?: string | undefined; }; /** @internal */ export declare const LedgerAccountsFilter$outboundSchema: z.ZodType; export declare function ledgerAccountsFilterToJSON(ledgerAccountsFilter: LedgerAccountsFilter): string; //# sourceMappingURL=ledgeraccountsfilter.d.ts.map