/** * Auto-generated file. Do not change. */ import { Type } from './Type'; import { ApiCollectionRef } from '../types/ApiCollectionRef'; import { Option } from 'fp-ts/lib/Option'; import { ResolvableCollection } from '../types/Link'; import { TypedApiObject } from '../types/TypedApiObject'; export declare enum TruckingShipmentLegServiceTypeTypes { LTL = "ltl", FTL = "ftl", DRAYAGE = "drayage", CARTAGE = "cartage" } export declare type TruckingShipmentLeg = { readonly _object: Type.TruckingShipmentLeg; /** * JSON-schema: string * @example "FBA123456789" */ readonly tracking_number?: string; /** * JSON-schema: string */ readonly service_type?: TruckingShipmentLegServiceTypeTypes; /** * JSON-schema: integer * @example 32 */ readonly pieces?: number; readonly container_legs?: ApiCollectionRef; }; export declare type LiftedTruckingShipmentLeg = TypedApiObject & Omit & { readonly container_legs: Option; }; /** * Lifts an object return from a Flexport API responses into the SDK domain by augmenting them with higher level properties. */ export declare const liftTruckingShipmentLeg: (original: TruckingShipmentLeg) => LiftedTruckingShipmentLeg;