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

    • organisationId: number

      An organisation's id

    Returns Promise<
        {
            country: string;
            createdAt: string;
            custom_fields?: CustomField[];
            entityType: EntityType;
            id: number;
            resourceType: string;
            timezone: string;
            title: string;
            updatedAt: string;
        },
    >

    • A organisation