UNPKG

@myorb/dhl-express

Version:
115 lines (114 loc) 9.46 kB
/** * DHL Express APIs (MyDHL API) * Welcome to the official DHL Express APIs (MyDHL API) below are the published API Documentation to fulfill your shipping needs with DHL Express. Please follow the process described [here](https://developer.dhl.com/api-reference/dhl-express-mydhl-api#get-started-section/user-guide--get-access) to request access to the DHL Express - MyDHL API services In case you already have DHL Express - MyDHL API Service credentials please ensure to use the endpoints/environments listed [here](https://developer.dhl.com/api-reference/dhl-express-mydhl-api#get-started-section/user-guide--environments) * * OpenAPI spec version: 2.4.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { SupermodelIoLogisticsExpressIdentifierResponse } from '../models'; /** * IdentifierApi - axios parameter creator * @export */ export declare const IdentifierApiAxiosParamCreator: (configuration?: Configuration) => { /** * Service to allocate identifiers upfront for DHL Express Breakbulk or Loose Break Bulk shipments. Requires authorization to use this service from DHL Express. * @summary Service to allocate identifiers upfront for DHL Express Breakbulk or Loose Break Bulk shipments * @param {string} accountNumber DHL Express customer account number * @param {string} type Type of DHL Express identifier to retrieve * @param {string} size Number of identifiers to be retrieved * @param {string} [messageReference] Please provide message reference * @param {string} [messageReferenceDate] Optional reference date in the HTTP-date format https://tools.ietf.org/html/rfc7231#section-7.1.1.2 * @param {string} [pluginName] Please provide name of the plugin (applicable to 3PV only) * @param {string} [pluginVersion] Please provide version of the plugin (applicable to 3PV only) * @param {string} [shippingSystemPlatformName] Please provide name of the shipping platform(applicable to 3PV only) * @param {string} [shippingSystemPlatformVersion] Please provide version of the shipping platform (applicable to 3PV only) * @param {string} [webstorePlatformName] Please provide name of the webstore platform (applicable to 3PV only) * @param {string} [webstorePlatformVersion] Please provide version of the webstore platform (applicable to 3PV only) * @param {*} [options] Override http request option. * @throws {RequiredError} */ expApiIdentifiers: (accountNumber: string, type: string, size: string, messageReference?: string, messageReferenceDate?: string, pluginName?: string, pluginVersion?: string, shippingSystemPlatformName?: string, shippingSystemPlatformVersion?: string, webstorePlatformName?: string, webstorePlatformVersion?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; }; /** * IdentifierApi - functional programming interface * @export */ export declare const IdentifierApiFp: (configuration?: Configuration) => { /** * Service to allocate identifiers upfront for DHL Express Breakbulk or Loose Break Bulk shipments. Requires authorization to use this service from DHL Express. * @summary Service to allocate identifiers upfront for DHL Express Breakbulk or Loose Break Bulk shipments * @param {string} accountNumber DHL Express customer account number * @param {string} type Type of DHL Express identifier to retrieve * @param {string} size Number of identifiers to be retrieved * @param {string} [messageReference] Please provide message reference * @param {string} [messageReferenceDate] Optional reference date in the HTTP-date format https://tools.ietf.org/html/rfc7231#section-7.1.1.2 * @param {string} [pluginName] Please provide name of the plugin (applicable to 3PV only) * @param {string} [pluginVersion] Please provide version of the plugin (applicable to 3PV only) * @param {string} [shippingSystemPlatformName] Please provide name of the shipping platform(applicable to 3PV only) * @param {string} [shippingSystemPlatformVersion] Please provide version of the shipping platform (applicable to 3PV only) * @param {string} [webstorePlatformName] Please provide name of the webstore platform (applicable to 3PV only) * @param {string} [webstorePlatformVersion] Please provide version of the webstore platform (applicable to 3PV only) * @param {*} [options] Override http request option. * @throws {RequiredError} */ expApiIdentifiers(accountNumber: string, type: string, size: string, messageReference?: string, messageReferenceDate?: string, pluginName?: string, pluginVersion?: string, shippingSystemPlatformName?: string, shippingSystemPlatformVersion?: string, webstorePlatformName?: string, webstorePlatformVersion?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<SupermodelIoLogisticsExpressIdentifierResponse>>>; }; /** * IdentifierApi - factory interface * @export */ export declare const IdentifierApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Service to allocate identifiers upfront for DHL Express Breakbulk or Loose Break Bulk shipments. Requires authorization to use this service from DHL Express. * @summary Service to allocate identifiers upfront for DHL Express Breakbulk or Loose Break Bulk shipments * @param {string} accountNumber DHL Express customer account number * @param {string} type Type of DHL Express identifier to retrieve * @param {string} size Number of identifiers to be retrieved * @param {string} [messageReference] Please provide message reference * @param {string} [messageReferenceDate] Optional reference date in the HTTP-date format https://tools.ietf.org/html/rfc7231#section-7.1.1.2 * @param {string} [pluginName] Please provide name of the plugin (applicable to 3PV only) * @param {string} [pluginVersion] Please provide version of the plugin (applicable to 3PV only) * @param {string} [shippingSystemPlatformName] Please provide name of the shipping platform(applicable to 3PV only) * @param {string} [shippingSystemPlatformVersion] Please provide version of the shipping platform (applicable to 3PV only) * @param {string} [webstorePlatformName] Please provide name of the webstore platform (applicable to 3PV only) * @param {string} [webstorePlatformVersion] Please provide version of the webstore platform (applicable to 3PV only) * @param {*} [options] Override http request option. * @throws {RequiredError} */ expApiIdentifiers(accountNumber: string, type: string, size: string, messageReference?: string, messageReferenceDate?: string, pluginName?: string, pluginVersion?: string, shippingSystemPlatformName?: string, shippingSystemPlatformVersion?: string, webstorePlatformName?: string, webstorePlatformVersion?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<SupermodelIoLogisticsExpressIdentifierResponse>>; }; /** * IdentifierApi - object-oriented interface * @export * @class IdentifierApi * @extends {BaseAPI} */ export declare class IdentifierApi extends BaseAPI { /** * Service to allocate identifiers upfront for DHL Express Breakbulk or Loose Break Bulk shipments. Requires authorization to use this service from DHL Express. * @summary Service to allocate identifiers upfront for DHL Express Breakbulk or Loose Break Bulk shipments * @param {string} accountNumber DHL Express customer account number * @param {string} type Type of DHL Express identifier to retrieve * @param {string} size Number of identifiers to be retrieved * @param {string} [messageReference] Please provide message reference * @param {string} [messageReferenceDate] Optional reference date in the HTTP-date format https://tools.ietf.org/html/rfc7231#section-7.1.1.2 * @param {string} [pluginName] Please provide name of the plugin (applicable to 3PV only) * @param {string} [pluginVersion] Please provide version of the plugin (applicable to 3PV only) * @param {string} [shippingSystemPlatformName] Please provide name of the shipping platform(applicable to 3PV only) * @param {string} [shippingSystemPlatformVersion] Please provide version of the shipping platform (applicable to 3PV only) * @param {string} [webstorePlatformName] Please provide name of the webstore platform (applicable to 3PV only) * @param {string} [webstorePlatformVersion] Please provide version of the webstore platform (applicable to 3PV only) * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof IdentifierApi */ expApiIdentifiers(accountNumber: string, type: string, size: string, messageReference?: string, messageReferenceDate?: string, pluginName?: string, pluginVersion?: string, shippingSystemPlatformName?: string, shippingSystemPlatformVersion?: string, webstorePlatformName?: string, webstorePlatformVersion?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<SupermodelIoLogisticsExpressIdentifierResponse>>; }