/** * Auto-generated file. Do not change. */ import { InvoiceQuantity } from './InvoiceQuantity'; import { InvoiceRate } from './InvoiceRate'; import { Money } from './Money'; import { Type } from './Type'; import { TypedApiObject } from '../types/TypedApiObject'; export declare enum InvoiceItemCategoryTypes { FREIGHT = "freight", ORIGIN = "origin", DESTINATION = "destination", CUSTOMS = "customs", ADDITIONAL = "additional", CAPITAL = "capital" } export declare type InvoiceItem = { /** * Type of the object. */ readonly _object: Type.InvoiceItem; /** * Description of charge. * * JSON-schema: string * @example "FCL 40' HQ" */ readonly name?: string; /** * Code describing the charge. * * JSON-schema: string * @example "fcl_40_hq" */ readonly slug?: string; /** * Category of the charge. * * JSON-schema: string */ readonly category?: InvoiceItemCategoryTypes; readonly amount?: Money; readonly rate?: InvoiceRate; readonly quantity?: InvoiceQuantity; }; export declare type LiftedInvoiceItem = TypedApiObject & InvoiceItem; /** * Lifts an object return from a Flexport API responses into the SDK domain by augmenting them with higher level properties. */ export declare const liftInvoiceItem: (original: InvoiceItem) => LiftedInvoiceItem;