/** * Auto-generated file. Do not change. */ import { Type } from './Type'; import { TypedApiObject } from '../types/TypedApiObject'; export declare type CommercialInvoiceRef = { readonly _object: Type.ObjectRef; /** * JSON-schema: string * @example "/commercial_invoice" */ readonly ref_type?: string; /** * JSON-schema: string * @example "https://api.flexport.com/commercial_invoices/123" */ readonly link?: string; /** * JSON-schema: integer * @example 123 */ readonly id?: number; }; export declare type LiftedCommercialInvoiceRef = TypedApiObject & CommercialInvoiceRef; /** * Lifts an object return from a Flexport API responses into the SDK domain by augmenting them with higher level properties. */ export declare const liftCommercialInvoiceRef: (original: CommercialInvoiceRef) => LiftedCommercialInvoiceRef;