🚀New lib version v0.4.6 [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:
9
dist/services/RunnerSelfService.d.ts
vendored
9
dist/services/RunnerSelfService.d.ts
vendored
@@ -1,5 +1,6 @@
|
||||
import type { CreateSelfServiceCitizenRunner } from '../models/CreateSelfServiceCitizenRunner';
|
||||
import type { CreateSelfServiceRunner } from '../models/CreateSelfServiceRunner';
|
||||
import type { ResponseSelfServiceOrganisation } from '../models/ResponseSelfServiceOrganisation';
|
||||
import type { ResponseSelfServiceRunner } from '../models/ResponseSelfServiceRunner';
|
||||
export declare class RunnerSelfService {
|
||||
/**
|
||||
@@ -27,4 +28,12 @@ export declare class RunnerSelfService {
|
||||
* @throws ApiError
|
||||
*/
|
||||
static runnerSelfServiceControllerRegisterOrganizationRunner(token: string, requestBody?: CreateSelfServiceRunner): Promise<ResponseSelfServiceRunner>;
|
||||
/**
|
||||
* Get selfservice org
|
||||
* Get the basic info and teams for a org.
|
||||
* @param token
|
||||
* @returns ResponseSelfServiceOrganisation
|
||||
* @throws ApiError
|
||||
*/
|
||||
static runnerSelfServiceControllerGetSelfserviceOrg(token: string): Promise<ResponseSelfServiceOrganisation>;
|
||||
}
|
||||
|
||||
14
dist/services/RunnerSelfService.js
vendored
14
dist/services/RunnerSelfService.js
vendored
@@ -48,5 +48,19 @@ class RunnerSelfService {
|
||||
});
|
||||
return result.body;
|
||||
}
|
||||
/**
|
||||
* Get selfservice org
|
||||
* Get the basic info and teams for a org.
|
||||
* @param token
|
||||
* @returns ResponseSelfServiceOrganisation
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerSelfServiceControllerGetSelfserviceOrg(token) {
|
||||
const result = await request_1.request({
|
||||
method: 'GET',
|
||||
path: `/api/organizations/selfservice/${token}`,
|
||||
});
|
||||
return result.body;
|
||||
}
|
||||
}
|
||||
exports.RunnerSelfService = RunnerSelfService;
|
||||
|
||||
Reference in New Issue
Block a user