-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add organization invite activation endpoints
- Loading branch information
1 parent
20e61fc
commit dfe219d
Showing
3 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* generated using openapi-typescript-codegen -- do no edit */ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
import type { CancelablePromise } from '../core/CancelablePromise'; | ||
import type { BaseHttpRequest } from '../core/BaseHttpRequest'; | ||
|
||
export class OrganizationInvites { | ||
|
||
constructor(public readonly httpRequest: BaseHttpRequest) {} | ||
|
||
/** | ||
* Activate an organization invite | ||
* @param token Invitation token | ||
* @returns any Activation succeeded | ||
* @throws ApiError | ||
*/ | ||
public activateInvite( | ||
token: string, | ||
): CancelablePromise<any> { | ||
return this.httpRequest.request({ | ||
method: 'POST', | ||
url: '/organizations/invite', | ||
query: { | ||
'token': token, | ||
}, | ||
}); | ||
} | ||
|
||
} |