UNPKG

sdksio-postnl-ecommerce-apis-sdk

Version:

Collection of PostNL API's for ecommerce processes

24 lines (23 loc) 1.22 kB
/** * PostNL Ecommerce APIsLib * * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ). */ import { ApiResponse, RequestOptions } from '../core'; import { LabellingRequest } from '../models/labellingRequest'; import { LabellingResponse } from '../models/labellingResponse'; import { BaseController } from './baseController'; export declare class LabellingController extends BaseController { /** * Generate a label and confirmation * * @param body * @param confirm With the Confirm boolean in the request, you can determine if you * want to confirm the shipment in the same call or not. If the * Boolean variable is true the shipment will be preannounced. If this * is set to false, then an additional Confirming API request needs to * be made. * @return Response from the API call */ generateALabelAndConfirmation(body: LabellingRequest, confirm?: boolean, requestOptions?: RequestOptions): Promise<ApiResponse<LabellingResponse>>; }