shipstation-node
Version:
Unofficial Node.js wrapper for the ShipStation API
30 lines (29 loc) • 1.11 kB
JavaScript
;
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ShipStation = void 0;
const V1API_1 = require("./v1/V1API");
const V2API_1 = require("./v2/V2API");
class ShipStation {
v1;
v2;
constructor(options) {
this.v1 = new V1API_1.V1API(options);
this.v2 = new V2API_1.V2API(options);
}
}
exports.ShipStation = ShipStation;
__exportStar(require("./v2/types"), exports);