UNPKG

hud-ai

Version:
41 lines 1.16 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Resource_1 = require("../utils/Resource"); class UserIndustryResource extends Resource_1.Resource { constructor(requestManager) { super('/companies/industries/users', requestManager); } list(listArgs) { return this.makeRequest({ method: 'GET', params: listArgs, url: `${this.basePath}` }); } create(createArgs) { return this.makeRequest({ method: 'POST', data: createArgs, url: `${this.basePath}` }); } get(getArgs) { return this.makeRequest({ method: 'GET', params: getArgs, url: `${this.basePath}/{industryId}` }); } del(destroyArgs) { return this.destroy(destroyArgs); } destroy(destroyArgs) { return this.makeRequest({ method: 'DELETE', params: destroyArgs, url: `${this.basePath}/{industryId}` }); } } exports.UserIndustryResource = UserIndustryResource; //# sourceMappingURL=UserIndustry.js.map