ApiKeyClient: {
    annotations: {
        createAnnotation: ((newAnnotation: NewAnnotation) => Promise<Annotation>);
        deleteAnnotation: ((annotationId: string) => Promise<Annotation["id"]>);
        fetchAnnotation: ((annotationId: string) => Promise<Annotation>);
        flagAnnotation: ((annotationId: string) => Promise<boolean>);
        hideAnnotation: ((annotationId: string) => Promise<boolean>);
        showAnnotation: ((annotationId: string) => Promise<boolean>);
        updateAnnotation: ((annotationId: string, updatedAnnotation: NewAnnotation) => Promise<Annotation>);
    };
    groups: {
        createGroup: ((group: NewGroup) => Promise<Group>);
        createOrUpdateGroup: ((groupId: string, newOrUpdatedGroup: NewGroup) => Promise<Group>);
        fetchGroup: ((groupId: string) => Promise<Group>);
        getGroupMembers: ((groupId: string) => Promise<User[]>);
        getListOfGroups: (() => Promise<Group[]>);
        removeGroupMember: ((groupId: string) => Promise<boolean>);
        updateGroup: ((groupId: string, updatedGroup: NewGroup) => Promise<Group>);
    };
    profile: {
        fetchProfile: (() => Promise<Profile>);
        fetchUsersGroups: (() => Promise<Group[]>);
    };
    root: (() => Promise<IndexResponse>);
    search: ((query: Query) => Promise<Result>);
}

Type declaration

Generated using TypeDoc