/** * Auto-generated file. Do not change. */ import { CompanyEntity } from './CompanyEntity'; import { Contact } from './Contact'; import { Location } from './Location'; import { Metadata } from './Metadata'; import { Type } from './Type'; import { TypedApiObject } from '../types/TypedApiObject'; export declare type Company = { /** * Type of the object. Always /network/company for this object. */ readonly _object: Type.Company; /** * Unique identifier for the company * * JSON-schema: string (string) */ readonly id?: string; readonly metadata?: Metadata; /** * JSON-schema: string */ readonly name?: string; /** * JSON-schema: string */ readonly ref?: string; /** * JSON-schema: boolean */ readonly editable?: boolean; /** * JSON-schema: array */ readonly entities?: CompanyEntity[]; /** * JSON-schema: array */ readonly locations?: Location[]; /** * JSON-schema: array */ readonly contacts?: Contact[]; }; export declare type LiftedCompany = TypedApiObject & Company; /** * Lifts an object return from a Flexport API responses into the SDK domain by augmenting them with higher level properties. */ export declare const liftCompany: (original: Company) => LiftedCompany;