@teemill/gtins
v0.7.0
Published
OpenAPI client for @teemill/gtins
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.podos.io
Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- GTINsApi | assignGtin | POST /v1/gtins/{gtin}/assign | Assign GTIN GTINsApi | exportGtins | GET /v1/gtins/export | Export GTINs GTINsApi | getGtin | GET /v1/gtins/{gtin} | Get GTIN GTINsApi | importGtins | POST /v1/gtins/import | Import GTINs GTINsApi | listGtins | GET /v1/gtins | List gtins GTINsApi | unassignGtin | POST /v1/gtins/{gtin}/unassign | Unassign GTIN
Documentation For Models
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
