🚀New lib version v0.7.0 [CI SKIP]
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Nicolai Ort 2021-03-23 17:55:01 +00:00
parent 8fd732356e
commit 4937a12c11
5 changed files with 28 additions and 3 deletions

View File

@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.OpenAPI = void 0; exports.OpenAPI = void 0;
exports.OpenAPI = { exports.OpenAPI = {
BASE: '', BASE: '',
VERSION: '0.6.4', VERSION: '0.7.0',
WITH_CREDENTIALS: false, WITH_CREDENTIALS: false,
TOKEN: undefined, TOKEN: undefined,
USERNAME: undefined, USERNAME: undefined,

View File

@ -45,4 +45,12 @@ export declare class RunnerCardService {
* @throws ApiError * @throws ApiError
*/ */
static runnerCardControllerRemove(id: number, force?: boolean): Promise<ResponseRunnerCard | ResponseEmpty>; static runnerCardControllerRemove(id: number, force?: boolean): Promise<ResponseRunnerCard | ResponseEmpty>;
/**
* Post blanco bulk
* Create blank cards in bulk. <br> Just provide the count as a query param and wait for the 200 response.
* @param count
* @returns ResponseEmpty
* @throws ApiError
*/
static runnerCardControllerPostBlancoBulk(count?: number): Promise<ResponseEmpty>;
} }

View File

@ -80,5 +80,22 @@ class RunnerCardService {
}); });
return result.body; return result.body;
} }
/**
* Post blanco bulk
* Create blank cards in bulk. <br> Just provide the count as a query param and wait for the 200 response.
* @param count
* @returns ResponseEmpty
* @throws ApiError
*/
static async runnerCardControllerPostBlancoBulk(count) {
const result = await request_1.request({
method: 'POST',
path: `/api/cards/bulk`,
query: {
'count': count,
},
});
return result.body;
}
} }
exports.RunnerCardService = RunnerCardService; exports.RunnerCardService = RunnerCardService;

File diff suppressed because one or more lines are too long

View File

@ -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.6.4", "version": "0.7.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",