JSPM

  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q38674F
  • License MIT

Mockable wrapper around the Brightpearl API

Package Exports

  • brightpearl-client

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (brightpearl-client) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Brightpearl Client

NPM

Usage

import Axios from "axios";
import {BrightpearlClient, 
        BrightpearlClientParams, 
        SalesOrderInformation} from "brightpearl-client";

const clientParams: BrightpearlClientParams = {
     dataCenter: "use",
     account: "OrgAccount",
     appRef: "privateAppRef",
     appToken: "privateAppToken"
}

const brightPearlClient = new BrightpearlClient(Axios, clientParams);
const order: SalesOrderInformation[] = await brightPearlClient.getSalesOrder(1000);