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