import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { LinkedLedgerAccount, LinkedLedgerAccount$Outbound } from "./linkedledgeraccount.js"; import { LinkedTaxRateInput, LinkedTaxRateInput$Outbound } from "./linkedtaxrateinput.js"; import { PassThroughBody, PassThroughBody$Outbound } from "./passthroughbody.js"; /** * The status of the expense category. */ export declare const ExpenseCategoryUpdateInputStatus: { readonly Active: "active"; readonly Inactive: "inactive"; }; /** * The status of the expense category. */ export type ExpenseCategoryUpdateInputStatus = OpenEnum; /** * The writable shape of ExpenseCategory for a single-record update. Identical to the model with the read-only properties removed and no required properties, because PATCH is partial and the API already validates it that way. */ export type ExpenseCategoryUpdateInput = { /** * Id to be displayed. */ displayId?: string | null | undefined; /** * The name of the expense category. */ name?: string | undefined; /** * The code or external identifier of the expense category. */ code?: string | null | undefined; /** * The description of the expense category. */ description?: string | null | undefined; /** * The status of the expense category. */ status?: ExpenseCategoryUpdateInputStatus | null | undefined; account?: LinkedLedgerAccount | null | undefined; offsetAccount?: LinkedLedgerAccount | null | undefined; taxRate?: LinkedTaxRateInput | undefined; /** * Whether the expense category requires rate/quantity entry (e.g. mileage at $/mile). */ rateRequired?: boolean | null | undefined; /** * Default rate when rate_required is true (e.g. 0.67 for mileage). */ defaultRate?: number | null | undefined; /** * A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. */ rowVersion?: string | null | undefined; /** * The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. */ passThrough?: Array | undefined; }; /** @internal */ export declare const ExpenseCategoryUpdateInputStatus$outboundSchema: z.ZodType; /** @internal */ export type ExpenseCategoryUpdateInput$Outbound = { display_id?: string | null | undefined; name?: string | undefined; code?: string | null | undefined; description?: string | null | undefined; status?: string | null | undefined; account?: LinkedLedgerAccount$Outbound | null | undefined; offset_account?: LinkedLedgerAccount$Outbound | null | undefined; tax_rate?: LinkedTaxRateInput$Outbound | undefined; rate_required?: boolean | null | undefined; default_rate?: number | null | undefined; row_version?: string | null | undefined; pass_through?: Array | undefined; }; /** @internal */ export declare const ExpenseCategoryUpdateInput$outboundSchema: z.ZodType; export declare function expenseCategoryUpdateInputToJSON(expenseCategoryUpdateInput: ExpenseCategoryUpdateInput): string; //# sourceMappingURL=expensecategoryupdateinput.d.ts.map