noticebord-client
Version:
The official Typescript client library for the Noticebord API.
16 lines (15 loc) • 411 B
TypeScript
import { Team } from "../models";
import { Service } from "./service";
export declare class TeamService extends Service {
constructor(token: string, baseUrl: string);
/**
* Fetch a list of all teams.
*/
fetchTeams(): Promise<Team[]>;
/**
* Fetch a single team by ID.
*
* @param {Number} id The id of the team to find.
*/
fetchTeam(id: number): Promise<Team>;
}