/** * Auto-generated file. Do not change. */ import { Type } from './Type'; import { ApiObjectRef } from '../types/ApiObjectRef'; import { Option } from 'fp-ts/lib/Option'; import { ResolvableObject } from '../types/Link'; import { TypedApiObject } from '../types/TypedApiObject'; export declare type OceanShipmentContainerLeg = { /** * Type of the object */ readonly _object: Type.OceanShipmentContainerLeg; readonly shipment_container?: ApiObjectRef; readonly leg?: ApiObjectRef; /** * JSON-schema: array */ readonly dates?: Record[]; }; export declare type LiftedOceanShipmentContainerLeg = TypedApiObject & Omit & { readonly shipment_container: Option; readonly leg: Option; }; /** * Lifts an object return from a Flexport API responses into the SDK domain by augmenting them with higher level properties. */ export declare const liftOceanShipmentContainerLeg: (original: OceanShipmentContainerLeg) => LiftedOceanShipmentContainerLeg;