Skip to content

Commit

Permalink
chore: regenerate API client from updated specification
Browse files Browse the repository at this point in the history
- Re-generated the API client based on the latest OpenAPI specification.
- Ensured compatibility with recent API changes.
  • Loading branch information
gibiw committed Feb 13, 2025
1 parent 0664f34 commit 846129c
Show file tree
Hide file tree
Showing 23 changed files with 499 additions and 217 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion qaseio/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qaseio",
"version": "2.4.0",
"version": "2.4.1",
"description": "Qase TMS Javascript API Client",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
26 changes: 12 additions & 14 deletions qaseio/src/generated/api/result-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
// @ts-ignore
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
// @ts-ignore
import { CreateResultV2422Response } from '../model';
// @ts-ignore
import { CreateResultsRequestV2 } from '../model';
// @ts-ignore
import { ResultCreateV2 } from '../model';
Expand All @@ -34,10 +32,10 @@ export const ResultApiAxiosParamCreator = function (configuration?: Configuratio
return {
/**
* 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.
* @summary (Beta) Create test run result
* @summary Create test run result
* @param {string} projectCode
* @param {number} runId
* @param {ResultCreate} resultCreate
* @param {ResultCreateV2} resultCreate
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand Down Expand Up @@ -81,7 +79,7 @@ export const ResultApiAxiosParamCreator = function (configuration?: Configuratio
},
/**
* 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.
* @summary (Beta) Bulk create test run result
* @summary Bulk create test run result
* @param {string} projectCode
* @param {number} runId
* @param {CreateResultsRequestV2} createResultsRequestV2
Expand Down Expand Up @@ -138,10 +136,10 @@ export const ResultApiFp = function(configuration?: Configuration) {
return {
/**
* 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.
* @summary (Beta) Create test run result
* @summary Create test run result
* @param {string} projectCode
* @param {number} runId
* @param {ResultCreate} resultCreate
* @param {ResultCreateV2} resultCreate
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand All @@ -151,7 +149,7 @@ export const ResultApiFp = function(configuration?: Configuration) {
},
/**
* 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.
* @summary (Beta) Bulk create test run result
* @summary Bulk create test run result
* @param {string} projectCode
* @param {number} runId
* @param {CreateResultsRequestV2} createResultsRequestV2
Expand All @@ -174,10 +172,10 @@ export const ResultApiFactory = function (configuration?: Configuration, basePat
return {
/**
* 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.
* @summary (Beta) Create test run result
* @summary Create test run result
* @param {string} projectCode
* @param {number} runId
* @param {ResultCreate} resultCreate
* @param {ResultCreateV2} resultCreate
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand All @@ -186,7 +184,7 @@ export const ResultApiFactory = function (configuration?: Configuration, basePat
},
/**
* 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.
* @summary (Beta) Bulk create test run result
* @summary Bulk create test run result
* @param {string} projectCode
* @param {number} runId
* @param {CreateResultsRequestV2} createResultsRequestV2
Expand All @@ -208,10 +206,10 @@ export const ResultApiFactory = function (configuration?: Configuration, basePat
export class ResultApi extends BaseAPI {
/**
* 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.
* @summary (Beta) Create test run result
* @summary Create test run result
* @param {string} projectCode
* @param {number} runId
* @param {ResultCreate} resultCreate
* @param {ResultCreateV2} resultCreate
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof ResultApi
Expand All @@ -222,7 +220,7 @@ export class ResultApi extends BaseAPI {

/**
* 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.
* @summary (Beta) Bulk create test run result
* @summary Bulk create test run result
* @param {string} projectCode
* @param {number} runId
* @param {CreateResultsRequestV2} createResultsRequestV2
Expand Down

This file was deleted.

31 changes: 0 additions & 31 deletions qaseio/src/generated/model/base-error-field-response.ts

This file was deleted.

30 changes: 0 additions & 30 deletions qaseio/src/generated/model/base-error-response.ts

This file was deleted.

26 changes: 0 additions & 26 deletions qaseio/src/generated/model/create-result-v2422-response.ts

This file was deleted.

6 changes: 6 additions & 0 deletions qaseio/src/generated/model/defect-query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ import { TagValue } from './tag-value';
* @interface DefectQuery
*/
export interface DefectQuery {
/**
*
* @type {number}
* @memberof DefectQuery
*/
'defect_id': number;
/**
*
* @type {number}
Expand Down
12 changes: 12 additions & 0 deletions qaseio/src/generated/model/defect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,18 @@ export interface Defect {
* @memberof Defect
*/
'external_data'?: string;
/**
*
* @type {Array<number>}
* @memberof Defect
*/
'runs'?: Array<number>;
/**
*
* @type {Array<string>}
* @memberof Defect
*/
'results'?: Array<string>;
/**
*
* @type {Array<TagValue>}
Expand Down
5 changes: 1 addition & 4 deletions qaseio/src/generated/model/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,10 @@ export * from './author-list-response-all-of';
export * from './author-list-response-all-of-result';
export * from './author-response';
export * from './author-response-all-of';
export * from './base-error-field-response';
export * from './base-error-field-response-error-fields-inner';
export * from './base-error-response';
export * from './base-response';
export * from './bulk200-response';
export * from './bulk200-response-all-of';
export * from './bulk200-response-all-of-result';
export * from './create-result-v2422-response';
export * from './create-results-request-v2';
export * from './configuration';
export * from './configuration-create';
Expand Down Expand Up @@ -111,6 +107,7 @@ export * from './requirement';
export * from './response';
export * from './result';
export * from './result-create';
export * from './result-create-fields';
export * from './result-create-v2';
export * from './result-create-bulk';
export * from './result-create-case';
Expand Down
6 changes: 6 additions & 0 deletions qaseio/src/generated/model/plan-query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
* @interface PlanQuery
*/
export interface PlanQuery {
/**
*
* @type {number}
* @memberof PlanQuery
*/
'plan_id': number;
/**
*
* @type {number}
Expand Down
6 changes: 6 additions & 0 deletions qaseio/src/generated/model/qql-defect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ import { TagValue } from './tag-value';
* @interface QqlDefect
*/
export interface QqlDefect {
/**
*
* @type {number}
* @memberof QqlDefect
*/
'defect_id': number;
/**
*
* @type {number}
Expand Down
6 changes: 6 additions & 0 deletions qaseio/src/generated/model/qql-plan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
* @interface QqlPlan
*/
export interface QqlPlan {
/**
*
* @type {number}
* @memberof QqlPlan
*/
'plan_id': number;
/**
*
* @type {number}
Expand Down
6 changes: 6 additions & 0 deletions qaseio/src/generated/model/qql-test-case.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ import { TestStep } from './test-step';
* @interface QqlTestCase
*/
export interface QqlTestCase {
/**
*
* @type {number}
* @memberof QqlTestCase
*/
'test_case_id': number;
/**
*
* @type {number}
Expand Down
Loading

0 comments on commit 846129c

Please sign in to comment.