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

This commit is contained in:
2021-03-29 16:17:55 +00:00
parent dd8911be62
commit 805384f476
5 changed files with 10 additions and 7 deletions

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;