import { Pods } from '@tapis/tapis-typescript'; import { apiGenerator, errorDecoder } from '../utils'; const getPodSecrets = ( params: Pods.GetPodCredentialsRequest, basePath: string, jwt: string ): Promise => { const api: Pods.CredentialsApi = apiGenerator( Pods, Pods.CredentialsApi, basePath, jwt ); return errorDecoder(() => api.getPodCredentials(params) ); }; export default getPodSecrets;