UNPKG

zohobooks-sdk

Version:
19 lines (18 loc) 940 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ZohoBooksAuth = exports.ZohoBooksApi = exports.APIHost = exports.ZohoBooks = void 0; const api_1 = require("./api"); Object.defineProperty(exports, "APIHost", { enumerable: true, get: function () { return api_1.APIHost; } }); Object.defineProperty(exports, "ZohoBooksApi", { enumerable: true, get: function () { return api_1.ZohoBooksApi; } }); const contacts_1 = require("./resources/contacts"); const auth_1 = require("./auth"); Object.defineProperty(exports, "ZohoBooksAuth", { enumerable: true, get: function () { return auth_1.ZohoBooksAuth; } }); const invoices_1 = require("resources/invoices"); class ZohoBooks { constructor(config) { this.api = new api_1.ZohoBooksApi(config); this.contacts = new contacts_1.Contacts(this.api); this.invoices = new invoices_1.Invoices(this.api); } } exports.ZohoBooks = ZohoBooks;