import { SDKFetch } from '../../SDKFetch' ; import { OrganizationId } from 'teambition-types' ; import { PriorityGroupSchema } from '../../schemas/PriorityGroup' ; export function getPrioritiesFetch ( this , _organizationId ) { return this . get < PriorityGroupSchema [ ] > ( `organizations/${ _organizationId }/prioritygroups` ) ; } declare module '../../SDKFetch' { interface SDKFetch { getPriorities : typeof getPrioritiesFetch ; } } SDKFetch . prototype . getPriorities = getPrioritiesFetch ;