@teemill/shipping
v0.9.2
Published
OpenAPI client for @teemill/shipping
Readme
@teemill/[email protected]
This generator creates TypeScript/JavaScript client that utilizes axios. The generated Node module can be used in the following environments:
Environment
- Node.js
- Webpack
- Browserify
Language level
- ES5 - you must have a Promises/A+ library installed
- ES6
Module system
- CommonJS
- ES6 module system
It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via package.json. (Reference)
Building
To build and compile the typescript sources to javascript use:
npm install
npm run buildPublishing
First build the package then run npm publish
Consuming
navigate to the folder of your consuming project and run one of the following commands.
published:
npm install @teemill/[email protected] --saveunPublished (not recommended):
npm install PATH_TO_GENERATED_PACKAGE --saveDocumentation for API Endpoints
All URIs are relative to https://api.localhost:8080
Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- CouriersApi | getCouriers | GET /v1/shipping/couriers | List couriers ManifestsApi | createManifest | POST /v1/shipping/manifests | Create manifest ManifestsApi | getManifest | GET /v1/shipping/manifests/{manifestId} | Get manifest ManifestsApi | getManifests | GET /v1/shipping/manifests | List manifests ServicesApi | getService | GET /v1/shipping/services/{serviceId} | Get shipping service ServicesApi | getServiceFormat | GET /v1/shipping/services/{serviceId}/formats/{formatId} | Get service format ServicesApi | getServiceFormats | GET /v1/shipping/services/{serviceId}/formats | List service formats ServicesApi | getServices | GET /v1/shipping/services | List services ServicesApi | resetService | POST /v1/shipping/services/{serviceId}/reset | Reset shipping service to its default values ServicesApi | resetServiceFormat | POST /v1/shipping/services/{serviceId}/formats/{formatId}/reset | Reset shipping service format to its default values ServicesApi | updateService | PATCH /v1/shipping/services/{serviceId} | Update shipping service ServicesApi | updateServiceFormat | PUT /v1/shipping/services/{serviceId}/formats/{formatId} | Update shipping service format ShipmentsApi | getShipment | GET /v1/shipping/shipments/{shipmentId} | Get a shipment ShipmentsApi | printShipment | GET /v1/shipping/shipments/{shipmentId}/print | Print a shipment
Documentation For Models
- ApiError
- CarrierValue
- Courier
- CreateManifest400Response
- CreateManifest400ResponseFulfillmentsInner
- CreateManifestRequest
- Format
- FormatsResponse
- FulfillmentShipment
- Manifest
- ManifestsResponse
- Price
- Service
- ServicesResponse
- UpdateServiceFormatRequest
- UpdateServiceRequest
- UpdateServiceRequestFormatsInner
Documentation For Authorization
Authentication schemes defined for the API:
api-key
- Type: API key
- API key parameter name: Authorization
- Location: HTTP header
session-oauth
- Type: OAuth
- Flow: password
- Authorization URL:
- Scopes: N/A
