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

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 = void 0;
exports.OpenAPI = { exports.OpenAPI = {
BASE: '', BASE: '',
VERSION: '0.9.0', VERSION: '0.9.1',
WITH_CREDENTIALS: false, WITH_CREDENTIALS: false,
TOKEN: undefined, TOKEN: undefined,
USERNAME: undefined, USERNAME: undefined,

View File

@ -47,10 +47,11 @@ export declare class RunnerCardService {
static runnerCardControllerRemove(id: number, force?: boolean): Promise<ResponseRunnerCard | ResponseEmpty>; static runnerCardControllerRemove(id: number, force?: boolean): Promise<ResponseRunnerCard | ResponseEmpty>;
/** /**
* Post blanco bulk * 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 count
* @param returnCards
* @returns ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @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 * 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 count
* @param returnCards
* @returns ResponseEmpty * @returns ResponseEmpty
* @throws ApiError * @throws ApiError
*/ */
static async runnerCardControllerPostBlancoBulk(count) { static async runnerCardControllerPostBlancoBulk(count, returnCards) {
const result = await request_1.request({ const result = await request_1.request({
method: 'POST', method: 'POST',
path: `/api/cards/bulk`, path: `/api/cards/bulk`,
query: { query: {
'count': count, 'count': count,
'returnCards': returnCards,
}, },
}); });
return result.body; 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", "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.9.0", "version": "0.9.1",
"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",