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