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