UNPKG

@trophyso/node

Version:
28 lines (27 loc) 1.04 kB
"use strict"; /** * This file was auto-generated by Fern from our API Definition. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.TrophyApiClient = void 0; const Client_1 = require("./api/resources/achievements/client/Client"); const Client_2 = require("./api/resources/metrics/client/Client"); const Client_3 = require("./api/resources/users/client/Client"); class TrophyApiClient { constructor(_options) { this._options = _options; } get achievements() { var _a; return ((_a = this._achievements) !== null && _a !== void 0 ? _a : (this._achievements = new Client_1.Achievements(this._options))); } get metrics() { var _a; return ((_a = this._metrics) !== null && _a !== void 0 ? _a : (this._metrics = new Client_2.Metrics(this._options))); } get users() { var _a; return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_3.Users(this._options))); } } exports.TrophyApiClient = TrophyApiClient;