import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { LinkedTaxRate, LinkedTaxRate$Outbound } from "./linkedtaxrate.js"; import { LinkedTrackingCategory, LinkedTrackingCategory$Outbound } from "./linkedtrackingcategory.js"; export type ExpenseLineItem = { /** * A unique identifier for an object. */ id?: string | undefined; /** * A list of linked tracking categories. */ trackingCategories?: Array | null | undefined; /** * The unique identifier for the ledger account. */ accountId?: string | undefined; /** * The ID of the customer this expense item is linked to. */ customerId?: string | undefined; /** * The ID of the department this expense item is linked to. */ departmentId?: string | undefined; /** * The ID of the location this expense item is linked to. */ locationId?: string | undefined; taxRate?: LinkedTaxRate | undefined; /** * The expense line item description */ description?: string | null | undefined; /** * The total amount of the expense line item. */ totalAmount: number | null; /** * Boolean that indicates if the line item is billable or not. */ billable?: boolean | undefined; }; /** @internal */ export declare const ExpenseLineItem$inboundSchema: z.ZodType; /** @internal */ export type ExpenseLineItem$Outbound = { id?: string | undefined; tracking_categories?: Array | null | undefined; account_id?: string | undefined; customer_id?: string | undefined; department_id?: string | undefined; location_id?: string | undefined; tax_rate?: LinkedTaxRate$Outbound | undefined; description?: string | null | undefined; total_amount: number | null; billable?: boolean | undefined; }; /** @internal */ export declare const ExpenseLineItem$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 ExpenseLineItem$ { /** @deprecated use `ExpenseLineItem$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExpenseLineItem$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExpenseLineItem$Outbound` instead. */ type Outbound = ExpenseLineItem$Outbound; } export declare function expenseLineItemToJSON(expenseLineItem: ExpenseLineItem): string; export declare function expenseLineItemFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=expenselineitem.d.ts.map