🚀New lib version v0.8.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:
parent
75f1949a4b
commit
11f76ba2b5
11
dist/services/RunnerSelfService.d.ts
vendored
11
dist/services/RunnerSelfService.d.ts
vendored
@ -7,12 +7,21 @@ import type { ResponseSelfServiceScan } from '../models/ResponseSelfServiceScan'
|
|||||||
export declare class RunnerSelfService {
|
export declare class RunnerSelfService {
|
||||||
/**
|
/**
|
||||||
* Get
|
* 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
|
* @param jwt
|
||||||
* @returns ResponseSelfServiceRunner
|
* @returns ResponseSelfServiceRunner
|
||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
static runnerSelfServiceControllerGet(jwt: string): Promise<ResponseSelfServiceRunner>;
|
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
|
* 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.
|
* 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.
|
||||||
|
20
dist/services/RunnerSelfService.js
vendored
20
dist/services/RunnerSelfService.js
vendored
@ -5,7 +5,7 @@ const request_1 = require("../core/request");
|
|||||||
class RunnerSelfService {
|
class RunnerSelfService {
|
||||||
/**
|
/**
|
||||||
* Get
|
* 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
|
* @param jwt
|
||||||
* @returns ResponseSelfServiceRunner
|
* @returns ResponseSelfServiceRunner
|
||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
@ -17,6 +17,24 @@ class RunnerSelfService {
|
|||||||
});
|
});
|
||||||
return result.body;
|
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
|
* 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.
|
* 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",
|
"name": "@odit/lfk-client-node",
|
||||||
"description": "A lib to interact with https://git.odit.services/lfk/backend. Use this version for NodeJS applications.",
|
"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",
|
"license": "CC-BY-NC-SA-4.0",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
|
Reference in New Issue
Block a user