/** * 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 enum CustomsEntryReleaseStatusTypes { CLEARED = "cleared", CUSTOMS_HOLD = "customs_hold", PENDING = "pending" } export declare type CustomsEntry = { /** * Type of the object. Always /customs_entry for this object. */ readonly _object: Type.CustomsEntry; /** * Unique identifier for the customs entry. * * JSON-schema: string (string) */ readonly id?: string; /** * JSON-schema: string */ readonly entry_number?: string; /** * The release status for this entry. * * JSON-schema: string */ readonly release_status?: CustomsEntryReleaseStatusTypes; /** * The cargo release date for this entry. * * JSON-schema: string (date) * @example "1970-01-01" */ readonly release_date?: string; readonly shipment?: ApiObjectRef; }; export declare type LiftedCustomsEntry = TypedApiObject & Omit & { readonly shipment: Option; }; /** * Lifts an object return from a Flexport API responses into the SDK domain by augmenting them with higher level properties. */ export declare const liftCustomsEntry: (original: CustomsEntry) => LiftedCustomsEntry;