🚀New lib version v0.8.0 [CI SKIP]
continuous-integration/drone Build is passing
Details
continuous-integration/drone Build is passing
Details
This commit is contained in:
parent
75f1949a4b
commit
11f76ba2b5
|
@ -7,12 +7,21 @@ import type { ResponseSelfServiceScan } from '../models/ResponseSelfServiceScan'
|
|||
export declare class RunnerSelfService {
|
||||
/**
|
||||
* Get
|
||||
* Lists all information about yourself. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please contact support.
|
||||
* Lists all information about yourself. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please use the forgot endpoint.
|
||||
* @param jwt
|
||||
* @returns ResponseSelfServiceRunner
|
||||
* @throws ApiError
|
||||
*/
|
||||
static runnerSelfServiceControllerGet(jwt: string): Promise<ResponseSelfServiceRunner>;
|
||||
/**
|
||||
* Remove
|
||||
* Deletes all information about yourself. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please use the forgot endpoint.
|
||||
* @param jwt
|
||||
* @param force
|
||||
* @returns ResponseSelfServiceRunner
|
||||
* @throws ApiError
|
||||
*/
|
||||
static runnerSelfServiceControllerRemove(jwt: string, force?: boolean): Promise<ResponseSelfServiceRunner>;
|
||||
/**
|
||||
* Get scans
|
||||
* Lists all your (runner) scans. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please contact support.
|
||||
|
|
|
@ -5,7 +5,7 @@ const request_1 = require("../core/request");
|
|||
class RunnerSelfService {
|
||||
/**
|
||||
* Get
|
||||
* Lists all information about yourself. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please contact support.
|
||||
* Lists all information about yourself. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please use the forgot endpoint.
|
||||
* @param jwt
|
||||
* @returns ResponseSelfServiceRunner
|
||||
* @throws ApiError
|
||||
|
@ -17,6 +17,24 @@ class RunnerSelfService {
|
|||
});
|
||||
return result.body;
|
||||
}
|
||||
/**
|
||||
* Remove
|
||||
* Deletes all information about yourself. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please use the forgot endpoint.
|
||||
* @param jwt
|
||||
* @param force
|
||||
* @returns ResponseSelfServiceRunner
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async runnerSelfServiceControllerRemove(jwt, force) {
|
||||
const result = await request_1.request({
|
||||
method: 'DELETE',
|
||||
path: `/api/runners/me/${jwt}`,
|
||||
query: {
|
||||
'force': force,
|
||||
},
|
||||
});
|
||||
return result.body;
|
||||
}
|
||||
/**
|
||||
* Get scans
|
||||
* Lists all your (runner) scans. <br> Please provide your runner jwt(that code we gave you during registration) for auth. <br> If you lost your jwt/personalized link please contact support.
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@odit/lfk-client-node",
|
||||
"description": "A lib to interact with https://git.odit.services/lfk/backend. Use this version for NodeJS applications.",
|
||||
"version": "0.7.1",
|
||||
"version": "0.8.0",
|
||||
"license": "CC-BY-NC-SA-4.0",
|
||||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
|
|
Reference in New Issue