import { Workflows } from '@tapis/tapis-typescript'; import { apiGenerator, errorDecoder } from '../../utils'; const details = ( params: Workflows.GetIdentityRequest, basePath: string, jwt: string ) => { const api: Workflows.IdentitiesApi = apiGenerator( Workflows, Workflows.IdentitiesApi, basePath, jwt ); return errorDecoder(() => api.getIdentity(params)); }; export default details;