🚀New lib version v0.9.1 [CI SKIP]
continuous-integration/drone Build is passing Details

This commit is contained in:
Nicolai Ort 2021-03-29 16:17:56 +00:00
parent a3c8ac843e
commit 093b572c63
5 changed files with 10 additions and 7 deletions

View File

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

View File

@ -47,10 +47,11 @@ export declare class RunnerCardService {
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.
* Create blank cards in bulk. <br> Just provide the count as a query param and wait for the 200 response. <br> You can provide the 'returnCards' query param if you want to receive the RESPONSERUNNERCARD objects in the response.
* @param count
* @param returnCards
* @returns ResponseEmpty
* @throws ApiError
*/
static runnerCardControllerPostBlancoBulk(count?: number): Promise<ResponseEmpty>;
static runnerCardControllerPostBlancoBulk(count?: number, returnCards?: boolean): Promise<ResponseEmpty>;
}

View File

@ -82,17 +82,19 @@ class RunnerCardService {
}
/**
* Post blanco bulk
* Create blank cards in bulk. <br> Just provide the count as a query param and wait for the 200 response.
* Create blank cards in bulk. <br> Just provide the count as a query param and wait for the 200 response. <br> You can provide the 'returnCards' query param if you want to receive the RESPONSERUNNERCARD objects in the response.
* @param count
* @param returnCards
* @returns ResponseEmpty
* @throws ApiError
*/
static async runnerCardControllerPostBlancoBulk(count) {
static async runnerCardControllerPostBlancoBulk(count, returnCards) {
const result = await request_1.request({
method: 'POST',
path: `/api/cards/bulk`,
query: {
'count': count,
'returnCards': returnCards,
},
});
return result.body;

File diff suppressed because one or more lines are too long

View File

@ -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.9.0",
"version": "0.9.1",
"license": "CC-BY-NC-SA-4.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",