@itwin/access-control-client
Advanced tools
Comparing version
# Change Log - @itwin/access-control-client | ||
## 3.3.0 | ||
- Adding `deleteITwinMemberInvitationAsync` method to the `MemberInvitationsClient`. | ||
## 3.2.0 | ||
@@ -4,0 +8,0 @@ |
@@ -82,2 +82,4 @@ /** @packageDocumentation | ||
queryITwinMemberInvitationsAsync(accessToken: AccessToken, iTwinId: string, arg?: AccessControlQueryArg): Promise<AccessControlAPIResponse<MemberInvitation[]>>; | ||
/** Removes an existing member invitation. */ | ||
deleteITwinMemberInvitationAsync(accessToken: AccessToken, iTwinId: string, invitationId: string): Promise<AccessControlAPIResponse<undefined>>; | ||
} | ||
@@ -84,0 +86,0 @@ export interface IITwinJobsClient { |
@@ -15,3 +15,4 @@ /** @packageDocumentation | ||
queryITwinMemberInvitationsAsync(accessToken: AccessToken, iTwinId: string, arg?: AccessControlQueryArg): Promise<AccessControlAPIResponse<MemberInvitation[]>>; | ||
deleteITwinMemberInvitationAsync(accessToken: AccessToken, iTwinId: string, invitationId: string): Promise<AccessControlAPIResponse<undefined>>; | ||
} | ||
//# sourceMappingURL=MemberInvitationsClient.d.ts.map |
@@ -21,4 +21,8 @@ "use strict"; | ||
} | ||
async deleteITwinMemberInvitationAsync(accessToken, iTwinId, invitationId) { | ||
const url = `${this._baseUrl}/${iTwinId}/members/invitations/${invitationId}`; | ||
return this.sendGenericAPIRequest(accessToken, "DELETE", url); | ||
} | ||
} | ||
exports.MemberInvitationsClient = MemberInvitationsClient; | ||
//# sourceMappingURL=MemberInvitationsClient.js.map |
@@ -82,2 +82,4 @@ /** @packageDocumentation | ||
queryITwinMemberInvitationsAsync(accessToken: AccessToken, iTwinId: string, arg?: AccessControlQueryArg): Promise<AccessControlAPIResponse<MemberInvitation[]>>; | ||
/** Removes an existing member invitation. */ | ||
deleteITwinMemberInvitationAsync(accessToken: AccessToken, iTwinId: string, invitationId: string): Promise<AccessControlAPIResponse<undefined>>; | ||
} | ||
@@ -84,0 +86,0 @@ export interface IITwinJobsClient { |
@@ -15,3 +15,4 @@ /** @packageDocumentation | ||
queryITwinMemberInvitationsAsync(accessToken: AccessToken, iTwinId: string, arg?: AccessControlQueryArg): Promise<AccessControlAPIResponse<MemberInvitation[]>>; | ||
deleteITwinMemberInvitationAsync(accessToken: AccessToken, iTwinId: string, invitationId: string): Promise<AccessControlAPIResponse<undefined>>; | ||
} | ||
//# sourceMappingURL=MemberInvitationsClient.d.ts.map |
@@ -18,3 +18,7 @@ import { BaseClient } from "./BaseClient"; | ||
} | ||
async deleteITwinMemberInvitationAsync(accessToken, iTwinId, invitationId) { | ||
const url = `${this._baseUrl}/${iTwinId}/members/invitations/${invitationId}`; | ||
return this.sendGenericAPIRequest(accessToken, "DELETE", url); | ||
} | ||
} | ||
//# sourceMappingURL=MemberInvitationsClient.js.map |
{ | ||
"name": "@itwin/access-control-client", | ||
"version": "3.2.0", | ||
"version": "3.3.0", | ||
"description": "Access control client for the iTwin platform", | ||
@@ -5,0 +5,0 @@ "main": "lib/cjs/access-control-client.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
282758
1.2%2155
0.65%