UNPKG

reveal-sdk-node

Version:

RevealBI Node.js SDK

46 lines (45 loc) 1.31 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RVQuickBooksDataSource = void 0; const RVDashboardDataSource_1 = require("../AbstractClasses/RVDashboardDataSource"); /** QuickBooks data source */ class RVQuickBooksDataSource extends RVDashboardDataSource_1.RVDashboardDataSource { /** @hidden */ constructor(json) { super(json); this._realmId = null; if (json) { var props = json.Properties; this._realmId = props['realm-id']; } } /** @hidden */ toJson() { var json = super.toJson(); var props = json.Properties; props['realm-id'] = this._realmId; return json; } /** @hidden */ getProviderKey() { return 'QUICK_BOOKS'; } /** Realm Id, the unique ID identifying a specific QuickBooks company. */ get realmId() { return this._realmId; } set realmId(v) { this._realmId = v; } /** @hidden */ getType() { return "RVQuickBooksDataSource"; } /** @hidden */ _getWrapper() { var wrapper = super._getWrapper(); wrapper.realmId(this.realmId); return wrapper; } } exports.RVQuickBooksDataSource = RVQuickBooksDataSource;