import { SuperShipment } from '../models/SuperShipment'; import { ShipmentCreateResponse } from '../models/ShipmentCreateResponse'; import { RequiredDeep } from '../models/RequiredDeep'; export default class Shipments { private impersonating; /** * @ignore * not part of public api, don't include in generated docs */ constructor(); /** * @param superShipment * @param accessToken Provide an alternative token to the one stored in the sdk instance (useful for impersonation). */ Create(superShipment: SuperShipment, accessToken?: string): Promise>; /** * @description * enables impersonation by calling the subsequent method with the stored impersonation token * * @example * Shipments.As().List() // lists Shipments using the impersonated users' token */ As(): this; }