Constructors

Methods

Constructors

Methods

  • Parameters

    • context: "team" | "organisation" | "admin"

      The point of view from where the request takes place

    • contextId: number

      Either a team, organisation or admin's id

    • teamId: number

      A team's id

    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;
        },
    >

    • A team