🚀New lib version v0.3.0 [CI SKIP]
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
19
dist/services/RunnerSelfService.d.ts
vendored
19
dist/services/RunnerSelfService.d.ts
vendored
@@ -1,3 +1,5 @@
|
||||
import type { CreateSelfServiceCitizenRunner } from '../models/CreateSelfServiceCitizenRunner';
|
||||
import type { CreateSelfServiceRunner } from '../models/CreateSelfServiceRunner';
|
||||
import type { ResponseSelfServiceRunner } from '../models/ResponseSelfServiceRunner';
|
||||
export declare class RunnerSelfService {
|
||||
/**
|
||||
@@ -8,4 +10,21 @@ export declare class RunnerSelfService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
static runnerSelfServiceControllerGet(jwt: string): Promise<ResponseSelfServiceRunner>;
|
||||
/**
|
||||
* Register runner
|
||||
* Create a new selfservice runner in the citizen org. <br> This endpoint shoud be used to allow "everyday citizen" to register themselves. <br> You have to provide a mail address, b/c the future we'll implement email verification.
|
||||
* @param requestBody CreateSelfServiceCitizenRunner
|
||||
* @returns ResponseSelfServiceRunner
|
||||
* @throws ApiError
|
||||
*/
|
||||
static runnerSelfServiceControllerRegisterRunner(requestBody?: CreateSelfServiceCitizenRunner): Promise<ResponseSelfServiceRunner>;
|
||||
/**
|
||||
* Register organization runner
|
||||
* Create a new selfservice runner in a provided org. <br> The orgs get provided and authorized via api tokens that can be optained via the /organizations endpoint.
|
||||
* @param token
|
||||
* @param requestBody CreateSelfServiceRunner
|
||||
* @returns ResponseSelfServiceRunner
|
||||
* @throws ApiError
|
||||
*/
|
||||
static runnerSelfServiceControllerRegisterOrganizationRunner(token: string, requestBody?: CreateSelfServiceRunner): Promise<ResponseSelfServiceRunner>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user