import { PagenationParameters } from '../models/base/pagenation' ; import { ProjectAssignmentsPagenationParameters } from '../models/projectAssignments.models' ; export class ProjectAssignmentsAPI { harvest ; baseUrl : string ; constructor ( harvest ) { this . baseUrl = '/v2/users' ; this . harvest = harvest ; } public list ( id , query ) { return this . harvest . request ( 'GET' , `${ this . baseUrl }/${ id }/project_assignments` , query ) ; } public me ( query = { } ) { return this . harvest . request ( 'GET' , `${ this . baseUrl }/me/project_assignments` , query ) ; } }