import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { LinkedTaxRateInput, LinkedTaxRateInput$Outbound } from "./linkedtaxrateinput.js"; import { LinkedTrackingCategory, LinkedTrackingCategory$Outbound } from "./linkedtrackingcategory.js"; export type ExpenseLineItemInput = { /** * 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?: LinkedTaxRateInput | 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 ExpenseLineItemInput$inboundSchema: z.ZodType; /** @internal */ export type ExpenseLineItemInput$Outbound = { tracking_categories?: Array | null | undefined; account_id?: string | undefined; customer_id?: string | undefined; department_id?: string | undefined; location_id?: string | undefined; tax_rate?: LinkedTaxRateInput$Outbound | undefined; description?: string | null | undefined; total_amount: number | null; billable?: boolean | undefined; }; /** @internal */ export declare const ExpenseLineItemInput$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 ExpenseLineItemInput$ { /** @deprecated use `ExpenseLineItemInput$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExpenseLineItemInput$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExpenseLineItemInput$Outbound` instead. */ type Outbound = ExpenseLineItemInput$Outbound; } export declare function expenseLineItemInputToJSON(expenseLineItemInput: ExpenseLineItemInput): string; export declare function expenseLineItemInputFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=expenselineiteminput.d.ts.map