"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const collectionResource_1 = __importDefault(require("../base/collectionResource"));
const project_1 = __importDefault(require("./project"));
class Projects extends collectionResource_1.default {
    constructor(clientSession, parentApi = '') {
        super(clientSession, 'projects', 'project');
        const parentRoute = parentApi ? `${parentApi}/` : '';
        this._api = `${parentRoute}projects`;
    }
    // eslint-disable-next-line @typescript-eslint/naming-convention
    project(id) {
        return new project_1.default(id, this._clientSession, this._api);
    }
}
exports.default = Projects;
//# sourceMappingURL=projects.js.map