import { Systems } from '@tapis/tapis-typescript'; import { apiGenerator, errorDecoder } from '../utils'; const details = ( params: Systems.GetSystemRequest, basePath: string, jwt: string ) => { const api: Systems.SystemsApi = apiGenerator( Systems, Systems.SystemsApi, basePath, jwt ); return errorDecoder(() => api.getSystem(params)); }; export default details;