Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BaseAPI
    • AssetsApi

Index

Constructors

constructor

  • new AssetsApi(configuration?: Configuration): AssetsApi
  • Parameters

    • configuration: Configuration = ...

    Returns AssetsApi

Properties

Protected configuration

configuration: Configuration = ...

Methods

Protected request

  • request(context: RequestOpts): Promise<Response>
  • Parameters

    • context: RequestOpts

    Returns Promise<Response>

v1getAllAssetCurrentLocations

  • <n class="warning"> <i class="fa fa-exclamation-circle"> This endpoint is still on our legacy API. Fetch current locations of all assets. List current location for all assets

    Parameters

    Returns Promise<InlineResponse2002>

v1getAllAssetCurrentLocationsRaw

  • <n class="warning"> <i class="fa fa-exclamation-circle"> This endpoint is still on our legacy API. Fetch current locations of all assets. List current location for all assets

    Parameters

    Returns Promise<ApiResponse<InlineResponse2002>>

v1getAllAssets

  • v1getAllAssets(): Promise<InlineResponse2001>
  • <n class="warning"> <i class="fa fa-exclamation-circle"> This endpoint is still on our legacy API. Fetch all of the assets. List all assets

    Returns Promise<InlineResponse2001>

v1getAllAssetsRaw

  • v1getAllAssetsRaw(): Promise<ApiResponse<InlineResponse2001>>
  • <n class="warning"> <i class="fa fa-exclamation-circle"> This endpoint is still on our legacy API. Fetch all of the assets. List all assets

    Returns Promise<ApiResponse<InlineResponse2001>>

v1getAssetLocation

  • <n class="warning"> <i class="fa fa-exclamation-circle"> This endpoint is still on our legacy API. List historical locations for a given asset. List historical locations for a given asset

    Parameters

    Returns Promise<object[]>

v1getAssetLocationRaw

  • <n class="warning"> <i class="fa fa-exclamation-circle"> This endpoint is still on our legacy API. List historical locations for a given asset. List historical locations for a given asset

    Parameters

    Returns Promise<ApiResponse<object[]>>

v1getAssetReefer

  • <n class="warning"> <i class="fa fa-exclamation-circle"> This endpoint is still on our legacy API. Fetch the reefer-specific stats of an asset. List stats for a given reefer

    Parameters

    Returns Promise<V1AssetReeferResponse>

v1getAssetReeferRaw

  • <n class="warning"> <i class="fa fa-exclamation-circle"> This endpoint is still on our legacy API. Fetch the reefer-specific stats of an asset. List stats for a given reefer

    Parameters

    Returns Promise<ApiResponse<V1AssetReeferResponse>>

v1getAssetsReefers

  • <n class="warning"> <i class="fa fa-exclamation-circle"> This endpoint is still on our legacy API. Fetches all reefers and reefer-specific stats. List stats for all reefers

    Parameters

    Returns Promise<InlineResponse2003>

v1getAssetsReefersRaw

  • <n class="warning"> <i class="fa fa-exclamation-circle"> This endpoint is still on our legacy API. Fetches all reefers and reefer-specific stats. List stats for all reefers

    Parameters

    Returns Promise<ApiResponse<InlineResponse2003>>

withMiddleware

  • withMiddleware<T>(...middlewares: Middleware[]): T
  • Type parameters

    • T: BaseAPI<T>

    Parameters

    • Rest ...middlewares: Middleware[]

    Returns T

withPostMiddleware

  • withPostMiddleware<T>(...postMiddlewares: ((context: ResponseContext) => Promise<void | Response>)[]): T
  • Type parameters

    • T: BaseAPI<T>

    Parameters

    • Rest ...postMiddlewares: ((context: ResponseContext) => Promise<void | Response>)[]

    Returns T

withPreMiddleware

  • withPreMiddleware<T>(...preMiddlewares: ((context: RequestContext) => Promise<void | FetchParams>)[]): T
  • Type parameters

    • T: BaseAPI<T>

    Parameters

    • Rest ...preMiddlewares: ((context: RequestContext) => Promise<void | FetchParams>)[]

    Returns T

Generated using TypeDoc