Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@epilot/customer-portal-client

Package Overview
Dependencies
Maintainers
0
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@epilot/customer-portal-client

API Client for epilot portal API

  • 0.10.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
916
decreased by-16.95%
Maintainers
0
Weekly downloads
 
Created
Source

@epilot/customer-portal-client

API Client for epilot customer-portal API.

Uses openapi-client-axios

Getting Started

Install the package:

npm install --save-dev @epilot/customer-portal-client

Import the package:

import { getClient } from '@epilot/customer-portal-client';

Use the client:

// get typed client
const client = await getClient();

// call an operation
const res = await client.testAuth();

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.CUSTOMER_PORTAL_API;
client.defaults.headers['authorization'] = `Bearer ${token}`;

API Docs:

https://docs.api.epilot.io/

Keywords

FAQs

Package last updated on 07 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc