0.16.2 • Published 11 months ago
@epilot/document-client v0.16.2
@epilot/document-client
API Client for epilot Document API.
Uses openapi-client-axios
Getting Started
Install the package:
npm install --save-dev @epilot/document-client
Import the package:
import { getClient } from '@epilot/document-client';
Use the client:
// get typed client
const client = await getClient();
// call an operation
const res = await client.generateDocument(null, {});
BaseURL & Authorization
To pass an authorization header and set up the API url, you can use axios defaults:
const client = getClient();
client.defaults.baseURL = config.API_URL;
client.defaults.headers['authorization'] = `Bearer ${token}`;
API Docs:
0.16.2
11 months ago
0.16.1
11 months ago
0.16.0
11 months ago
0.15.1
11 months ago
0.15.0
11 months ago
0.14.0
1 year ago
0.13.1-rc.2
1 year ago
0.13.1-rc.1
1 year ago
0.13.1
1 year ago
0.13.0
1 year ago
0.12.1
1 year ago
0.12.0
1 year ago
1.0.0-rc.1
2 years ago
0.11.7
2 years ago
0.11.6
2 years ago
0.11.5
2 years ago
0.11.4
2 years ago
0.11.3
2 years ago
0.11.2
2 years ago
0.11.1
2 years ago
0.11.0
2 years ago
0.10.0
2 years ago
0.9.0
2 years ago
0.8.0
2 years ago
0.7.0
2 years ago
0.7.1-alpha1
2 years ago
0.7.1-alpha
2 years ago
0.6.2
3 years ago
0.6.1
3 years ago
0.6.0
3 years ago
0.5.1
3 years ago
0.5.0
3 years ago
0.4.0
3 years ago
0.3.0
3 years ago
0.2.0
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago