Skip to content

Commit 846129c

Browse files
committed
chore: regenerate API client from updated specification
- Re-generated the API client based on the latest OpenAPI specification. - Ensured compatibility with recent API changes.
1 parent 0664f34 commit 846129c

23 files changed

+499
-217
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

qaseio/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "qaseio",
3-
"version": "2.4.0",
3+
"version": "2.4.1",
44
"description": "Qase TMS Javascript API Client",
55
"main": "./dist/index.js",
66
"types": "./dist/index.d.ts",

qaseio/src/generated/api/result-api.ts

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
2121
// @ts-ignore
2222
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
2323
// @ts-ignore
24-
import { CreateResultV2422Response } from '../model';
25-
// @ts-ignore
2624
import { CreateResultsRequestV2 } from '../model';
2725
// @ts-ignore
2826
import { ResultCreateV2 } from '../model';
@@ -34,10 +32,10 @@ export const ResultApiAxiosParamCreator = function (configuration?: Configuratio
3432
return {
3533
/**
3634
* This method allows to create single test run result. If there is no free space left in your team account, when attempting to upload an attachment, e.g., through reporters, you will receive an error with code 507 - Insufficient Storage.
37-
* @summary (Beta) Create test run result
35+
* @summary Create test run result
3836
* @param {string} projectCode
3937
* @param {number} runId
40-
* @param {ResultCreate} resultCreate
38+
* @param {ResultCreateV2} resultCreate
4139
* @param {*} [options] Override http request option.
4240
* @throws {RequiredError}
4341
*/
@@ -81,7 +79,7 @@ export const ResultApiAxiosParamCreator = function (configuration?: Configuratio
8179
},
8280
/**
8381
* This method allows to create several test run results at once. If there is no free space left in your team account, when attempting to upload an attachment, e.g., through reporters, you will receive an error with code 507 - Insufficient Storage.
84-
* @summary (Beta) Bulk create test run result
82+
* @summary Bulk create test run result
8583
* @param {string} projectCode
8684
* @param {number} runId
8785
* @param {CreateResultsRequestV2} createResultsRequestV2
@@ -138,10 +136,10 @@ export const ResultApiFp = function(configuration?: Configuration) {
138136
return {
139137
/**
140138
* This method allows to create single test run result. If there is no free space left in your team account, when attempting to upload an attachment, e.g., through reporters, you will receive an error with code 507 - Insufficient Storage.
141-
* @summary (Beta) Create test run result
139+
* @summary Create test run result
142140
* @param {string} projectCode
143141
* @param {number} runId
144-
* @param {ResultCreate} resultCreate
142+
* @param {ResultCreateV2} resultCreate
145143
* @param {*} [options] Override http request option.
146144
* @throws {RequiredError}
147145
*/
@@ -151,7 +149,7 @@ export const ResultApiFp = function(configuration?: Configuration) {
151149
},
152150
/**
153151
* This method allows to create several test run results at once. If there is no free space left in your team account, when attempting to upload an attachment, e.g., through reporters, you will receive an error with code 507 - Insufficient Storage.
154-
* @summary (Beta) Bulk create test run result
152+
* @summary Bulk create test run result
155153
* @param {string} projectCode
156154
* @param {number} runId
157155
* @param {CreateResultsRequestV2} createResultsRequestV2
@@ -174,10 +172,10 @@ export const ResultApiFactory = function (configuration?: Configuration, basePat
174172
return {
175173
/**
176174
* This method allows to create single test run result. If there is no free space left in your team account, when attempting to upload an attachment, e.g., through reporters, you will receive an error with code 507 - Insufficient Storage.
177-
* @summary (Beta) Create test run result
175+
* @summary Create test run result
178176
* @param {string} projectCode
179177
* @param {number} runId
180-
* @param {ResultCreate} resultCreate
178+
* @param {ResultCreateV2} resultCreate
181179
* @param {*} [options] Override http request option.
182180
* @throws {RequiredError}
183181
*/
@@ -186,7 +184,7 @@ export const ResultApiFactory = function (configuration?: Configuration, basePat
186184
},
187185
/**
188186
* This method allows to create several test run results at once. If there is no free space left in your team account, when attempting to upload an attachment, e.g., through reporters, you will receive an error with code 507 - Insufficient Storage.
189-
* @summary (Beta) Bulk create test run result
187+
* @summary Bulk create test run result
190188
* @param {string} projectCode
191189
* @param {number} runId
192190
* @param {CreateResultsRequestV2} createResultsRequestV2
@@ -208,10 +206,10 @@ export const ResultApiFactory = function (configuration?: Configuration, basePat
208206
export class ResultApi extends BaseAPI {
209207
/**
210208
* This method allows to create single test run result. If there is no free space left in your team account, when attempting to upload an attachment, e.g., through reporters, you will receive an error with code 507 - Insufficient Storage.
211-
* @summary (Beta) Create test run result
209+
* @summary Create test run result
212210
* @param {string} projectCode
213211
* @param {number} runId
214-
* @param {ResultCreate} resultCreate
212+
* @param {ResultCreateV2} resultCreate
215213
* @param {*} [options] Override http request option.
216214
* @throws {RequiredError}
217215
* @memberof ResultApi
@@ -222,7 +220,7 @@ export class ResultApi extends BaseAPI {
222220

223221
/**
224222
* This method allows to create several test run results at once. If there is no free space left in your team account, when attempting to upload an attachment, e.g., through reporters, you will receive an error with code 507 - Insufficient Storage.
225-
* @summary (Beta) Bulk create test run result
223+
* @summary Bulk create test run result
226224
* @param {string} projectCode
227225
* @param {number} runId
228226
* @param {CreateResultsRequestV2} createResultsRequestV2

qaseio/src/generated/model/base-error-field-response-error-fields-inner.ts

Lines changed: 0 additions & 36 deletions
This file was deleted.

qaseio/src/generated/model/base-error-field-response.ts

Lines changed: 0 additions & 31 deletions
This file was deleted.

qaseio/src/generated/model/base-error-response.ts

Lines changed: 0 additions & 30 deletions
This file was deleted.

qaseio/src/generated/model/create-result-v2422-response.ts

Lines changed: 0 additions & 26 deletions
This file was deleted.

qaseio/src/generated/model/defect-query.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ import { TagValue } from './tag-value';
2323
* @interface DefectQuery
2424
*/
2525
export interface DefectQuery {
26+
/**
27+
*
28+
* @type {number}
29+
* @memberof DefectQuery
30+
*/
31+
'defect_id': number;
2632
/**
2733
*
2834
* @type {number}

qaseio/src/generated/model/defect.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,18 @@ export interface Defect {
9696
* @memberof Defect
9797
*/
9898
'external_data'?: string;
99+
/**
100+
*
101+
* @type {Array<number>}
102+
* @memberof Defect
103+
*/
104+
'runs'?: Array<number>;
105+
/**
106+
*
107+
* @type {Array<string>}
108+
* @memberof Defect
109+
*/
110+
'results'?: Array<string>;
99111
/**
100112
*
101113
* @type {Array<TagValue>}

qaseio/src/generated/model/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,10 @@ export * from './author-list-response-all-of';
1515
export * from './author-list-response-all-of-result';
1616
export * from './author-response';
1717
export * from './author-response-all-of';
18-
export * from './base-error-field-response';
19-
export * from './base-error-field-response-error-fields-inner';
20-
export * from './base-error-response';
2118
export * from './base-response';
2219
export * from './bulk200-response';
2320
export * from './bulk200-response-all-of';
2421
export * from './bulk200-response-all-of-result';
25-
export * from './create-result-v2422-response';
2622
export * from './create-results-request-v2';
2723
export * from './configuration';
2824
export * from './configuration-create';
@@ -111,6 +107,7 @@ export * from './requirement';
111107
export * from './response';
112108
export * from './result';
113109
export * from './result-create';
110+
export * from './result-create-fields';
114111
export * from './result-create-v2';
115112
export * from './result-create-bulk';
116113
export * from './result-create-case';

0 commit comments

Comments
 (0)