-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathGroupMemberInvitationClient.ts
More file actions
31 lines (28 loc) · 1.15 KB
/
GroupMemberInvitationClient.ts
File metadata and controls
31 lines (28 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
import type { AccessToken } from "@itwin/core-bentley";
import type { BentleyAPIResponse, ODataQueryParams } from "../types/CommonApiTypes";
import type { MultipleMemberInvitationResponse } from "../types/Invitations";
/** @beta */
export interface IGroupMemberInvitationClient {
/** Retrieves a list of iTwin group member invitations.
* @beta
*/
queryITwinGroupMemberInvitations(
accessToken: AccessToken,
iTwinId: string,
groupId: string,
arg?: Pick<ODataQueryParams, "top" | "skip">
): Promise<BentleyAPIResponse<MultipleMemberInvitationResponse>>;
/** Removes an existing iTwin group member invitation.
* @beta
*/
deleteITwinGroupMemberInvitation(
accessToken: AccessToken,
iTwinId: string,
groupId: string,
invitationId: string
): Promise<BentleyAPIResponse<undefined>>;
}