🚀New lib version v0.7.0 [CI SKIP]
continuous-integration/drone Build is passing
Details
continuous-integration/drone Build is passing
Details
This commit is contained in:
parent
045f76f3bd
commit
4557d211ad
|
@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||
exports.OpenAPI = void 0;
|
||||
exports.OpenAPI = {
|
||||
BASE: '',
|
||||
VERSION: '0.6.4',
|
||||
VERSION: '0.7.0',
|
||||
WITH_CREDENTIALS: false,
|
||||
TOKEN: undefined,
|
||||
USERNAME: undefined,
|
||||
|
|
|
@ -45,4 +45,12 @@ export declare class RunnerCardService {
|
|||
* @throws ApiError
|
||||
*/
|
||||
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>;
|
||||
}
|
||||
|
|
|
@ -80,5 +80,22 @@ class RunnerCardService {
|
|||
});
|
||||
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;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@odit/lfk-client-js",
|
||||
"description": "A lib to interact with https://git.odit.services/lfk/backend. Use this version for native JS applications.",
|
||||
"version": "0.6.4",
|
||||
"version": "0.7.0",
|
||||
"license": "CC-BY-NC-SA-4.0",
|
||||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
|
|
Loading…
Reference in New Issue