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