import { HubProduct } from "../types" ; import { getTeamsAvailableInProduct } from "./get-teams-available-in-product" ; param { string } product export function getTeamTypesAvailableInProduct ( product , portalApiVersion ) { return getTeamsAvailableInProduct ( product , portalApiVersion ) . map ( team => { return team . config . type ; } ) ; }