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

This commit is contained in:
2021-03-23 17:54:59 +00:00
parent 045f76f3bd
commit 4557d211ad
5 changed files with 28 additions and 3 deletions

View File

@@ -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>;
}

View File

@@ -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;