Constructors
Methods
getTeam
- getTeam(
context: "team" | "organisation" | "admin",
contextId: number,
teamId: number,
): Promise<
{
country: string;
createdAt: string;
custom_fields?: CustomField[];
deletedAt: null;
entityType: EntityType;
id: number;
location: { coordinates: [number, number]; type: string };
memberCounts: { operational: number; total: number };
overview: string;
owner: { id: null | number; resourceType: null | string };
resourceType: string;
subdomain: string;
timezone: string;
title: string;
updatedAt: string;
},
> Parameters
- context: "team" | "organisation" | "admin"
- contextId: number
- teamId: number
Returns Promise<
{
country: string;
createdAt: string;
custom_fields?: CustomField[];
deletedAt: null;
entityType: EntityType;
id: number;
location: { coordinates: [number, number]; type: string };
memberCounts: { operational: number; total: number };
overview: string;
owner: { id: null | number; resourceType: null | string };
resourceType: string;
subdomain: string;
timezone: string;
title: string;
updatedAt: string;
},
>
The point of view from where the request takes place