/** * Auto-generated file. Do not change. */ import { Metadata } from './Metadata'; import { ShipmentItem } from './ShipmentItem'; 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 ShipmentContainerContainerTypeTypes { DRY = "dry", FLAT_RACK = "flat_rack", HEADLOAD = "headload", OPEN = "open", REEFER = "reefer", LCL = "lcl", TANK = "tank", VENTILATED = "ventilated", BULK = "bulk", SPECIAL = "special" } export declare enum ShipmentContainerContainerSizeTypes { TWENTY_FT = "twenty_ft", FOURTY_FT = "fourty_ft", FOURTY_FT_HC = "fourty_ft_hc", FOURTY_FIVE_FT_HC = "fourty_five_ft_hc", FIFTY_THREE_FT = "fifty_three_ft", FIFTY_THREE_FT_HC = "fifty_three_ft_hc" } export declare type ShipmentContainer = { /** * Type of the object */ readonly _object: Type.ShipmentContainer; /** * JSON-schema: integer * @example 283910 */ readonly id?: number; readonly metadata?: Metadata; /** * JSON-schema: string * @example "dry" */ readonly container_type?: ShipmentContainerContainerTypeTypes; /** * JSON-schema: string * @example "BWSE3982156" */ readonly container_number?: string; /** * JSON-schema: string * @example "fourty_ft" */ readonly container_size?: ShipmentContainerContainerSizeTypes; /** * JSON-schema: string * @example "UE_WQ2934875" */ readonly seal_number?: string; /** * JSON-schema: string (date-time) * @example "1970-01-01T10:05:08+01:00" */ readonly estimated_departure_date?: string; /** * JSON-schema: string (date-time) * @example "1970-01-01T10:05:08+01:00" */ readonly actual_departure_date?: string; /** * JSON-schema: string (date-time) * @example "1970-01-01T10:05:08+01:00" */ readonly estimated_arrival_date?: string; /** * JSON-schema: string (date-time) * @example "1970-01-01T10:05:08+01:00" */ readonly actual_arrival_date?: string; /** * JSON-schema: string (date-time) * @example "1970-01-01T10:05:08+01:00" */ readonly estimated_pickup_date?: string; /** * JSON-schema: string (date-time) * @example "1970-01-01T10:05:08+01:00" */ readonly actual_pickup_date?: string; /** * JSON-schema: string (date-time) * @example "1970-01-01T10:05:08+01:00" */ readonly estimated_delivery_date?: string; /** * JSON-schema: string (date-time) * @example "1970-01-01T10:05:08+01:00" */ readonly actual_delivery_date?: string; /** * JSON-schema: string (date-time) * @example "1970-01-01T10:05:08+01:00" */ readonly last_free_day_date?: string; /** * JSON-schema: string (date) * @example "1970-01-01" */ readonly empty_returned_date?: string; /** * JSON-schema: string (date) * @example "1970-01-01" */ readonly cargo_ready_date?: string; /** * JSON-schema: string (date-time) * @example "1970-01-01T10:05:08+01:00" */ readonly available_for_pickup_date?: string; /** * JSON-schema: string (date-time) * @example "1970-01-01T10:05:08+01:00" */ readonly estimated_available_for_pickup_date?: string; readonly shipment?: ApiObjectRef; readonly container_legs?: ApiCollectionRef; /** * JSON-schema: array */ readonly items?: ShipmentItem[]; }; export declare type LiftedShipmentContainer = TypedApiObject & Omit & { readonly estimated_departure_date?: Date; readonly actual_departure_date?: Date; readonly estimated_arrival_date?: Date; readonly actual_arrival_date?: Date; readonly estimated_pickup_date?: Date; readonly actual_pickup_date?: Date; readonly estimated_delivery_date?: Date; readonly actual_delivery_date?: Date; readonly last_free_day_date?: Date; readonly available_for_pickup_date?: Date; readonly estimated_available_for_pickup_date?: Date; readonly shipment: Option; 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 liftShipmentContainer: (original: ShipmentContainer) => LiftedShipmentContainer;