/** * Auto-generated file. Do not change. */ import { Address } from './Address'; import { HsCode } from './HsCode'; import { Metadata } from './Metadata'; import { Money } from './Money'; import { Place } from './Place'; import { Product } from './Product'; import { TransportationMode } from './TransportationMode'; import { Type } from './Type'; import { ApiCollectionRef } from '../types/ApiCollectionRef'; import { ApiObjectRef } from '../types/ApiObjectRef'; import { Option } from 'fp-ts/lib/Option'; import { ResolvableCollection } from '../types/Link'; import { ResolvableObject } from '../types/Link'; import { TypedApiObject } from '../types/TypedApiObject'; export declare enum PurchaseOrderLineItemIncotermTypes { EXW = "EXW", FOB = "FOB", FAS = "FAS", FCA = "FCA", CPT = "CPT", CFR = "CFR", CIF = "CIF", CIP = "CIP", DAT = "DAT", DAP = "DAP", DDP = "DDP", DPU = "DPU" } export declare enum PurchaseOrderLineItemUnitOfMeasureTypes { BBL = "BBL", CAR = "CAR", CGM = "CGM", CKG = "CKG", CM = "CM", CM2 = "CM2", CTN = "CTN", CYK = "CYK", DPC = "DPC", DPR = "DPR", DS = "DS", FBM = "FBM", G = "G", GBQ = "GBQ", GR = "GR", GRL = "GRL", HUN = "HUN", IRG = "IRG", JWL = "JWL", K = "K", KG = "KG", KM = "KM", KM3 = "KM3", KWH = "KWH", L = "L", LNM = "LNM", M = "M", M2 = "M2", M3 = "M3", MBQ = "MBQ", NO = "NO", OSG = "OSG", PCS = "PCS", PDG = "PDG", PFL = "PFL", PK = "PK", PRS = "PRS", PTG = "PTG", PX = "PX", RHG = "RHG", RUG = "RUG", T = "T", TDWB = "TDWB", W = "W", X = "X" } export declare type PurchaseOrderLineItem = { /** * Type of the object */ readonly _object: Type.PurchaseOrderLineItem; /** * Unique identifier for the line item on the latest version of the PO * * JSON-schema: integer * @example 123456 */ readonly id?: number; readonly purchase_order?: ApiObjectRef; /** * JSON-schema: integer * @example 1 */ readonly line_item_number?: number; /** * Custom identifier for the line item * * JSON-schema: string * @example "item1" */ readonly item_key?: string; readonly product?: Product; /** * JSON-schema: integer */ readonly units?: number; readonly unit_cost?: Money; readonly booking_line_items?: ApiCollectionRef; /** * JSON-schema: string * @example "FOB" */ readonly incoterm?: PurchaseOrderLineItemIncotermTypes; readonly transportation_mode?: TransportationMode; /** * JSON-schema: string * @example "BBL" */ readonly unit_of_measure?: PurchaseOrderLineItemUnitOfMeasureTypes; /** * JSON-schema: string (date) * @example "1970-01-01" */ readonly must_arrive_date?: string; readonly origin_port?: Place; readonly origin_address?: Address; readonly destination_port?: Place; readonly destination_address?: Address; /** * JSON-schema: array */ readonly hs_codes?: HsCode[]; readonly metadata?: Metadata; }; export declare type LiftedPurchaseOrderLineItem = TypedApiObject & Omit & { readonly purchase_order: Option; readonly booking_line_items: Option; }; /** * Lifts an object return from a Flexport API responses into the SDK domain by augmenting them with higher level properties. */ export declare const liftPurchaseOrderLineItem: (original: PurchaseOrderLineItem) => LiftedPurchaseOrderLineItem;