/** * Qase.io TestOps API v2 * Qase TestOps API v2 Specification. * * The version of the OpenAPI document: 2.0.0 * Contact: support@qase.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { CreateResultsRequestV2 } from '../model'; import { ResultCreateV2 } from '../model'; /** * ResultApi - axios parameter creator * @export */ export declare const ResultApiAxiosParamCreator: (configuration?: Configuration) => { /** * 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 Create test run result * @param {string} projectCode * @param {number} runId * @param {ResultCreateV2} resultCreate * @param {*} [options] Override http request option. * @throws {RequiredError} */ createResultV2: (projectCode: string, runId: number, resultCreate: ResultCreateV2, options?: AxiosRequestConfig) => Promise; /** * 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 Bulk create test run result * @param {string} projectCode * @param {number} runId * @param {CreateResultsRequestV2} createResultsRequestV2 * @param {*} [options] Override http request option. * @throws {RequiredError} */ createResultsV2: (projectCode: string, runId: number, createResultsRequestV2: CreateResultsRequestV2, options?: AxiosRequestConfig) => Promise; }; /** * ResultApi - functional programming interface * @export */ export declare const ResultApiFp: (configuration?: Configuration) => { /** * 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 Create test run result * @param {string} projectCode * @param {number} runId * @param {ResultCreateV2} resultCreate * @param {*} [options] Override http request option. * @throws {RequiredError} */ createResultV2(projectCode: string, runId: number, resultCreate: ResultCreateV2, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * 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 Bulk create test run result * @param {string} projectCode * @param {number} runId * @param {CreateResultsRequestV2} createResultsRequestV2 * @param {*} [options] Override http request option. * @throws {RequiredError} */ createResultsV2(projectCode: string, runId: number, createResultsRequestV2: CreateResultsRequestV2, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * ResultApi - factory interface * @export */ export declare const ResultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * 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 Create test run result * @param {string} projectCode * @param {number} runId * @param {ResultCreateV2} resultCreate * @param {*} [options] Override http request option. * @throws {RequiredError} */ createResultV2(projectCode: string, runId: number, resultCreate: ResultCreateV2, options?: any): AxiosPromise; /** * 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 Bulk create test run result * @param {string} projectCode * @param {number} runId * @param {CreateResultsRequestV2} createResultsRequestV2 * @param {*} [options] Override http request option. * @throws {RequiredError} */ createResultsV2(projectCode: string, runId: number, createResultsRequestV2: CreateResultsRequestV2, options?: any): AxiosPromise; }; /** * ResultApi - object-oriented interface * @export * @class ResultApi * @extends {BaseAPI} */ export declare 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 Create test run result * @param {string} projectCode * @param {number} runId * @param {ResultCreateV2} resultCreate * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ResultApi */ createResultV2(projectCode: string, runId: number, resultCreate: ResultCreateV2, options?: AxiosRequestConfig): Promise>; /** * 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 Bulk create test run result * @param {string} projectCode * @param {number} runId * @param {CreateResultsRequestV2} createResultsRequestV2 * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof ResultApi */ createResultsV2(projectCode: string, runId: number, createResultsRequestV2: CreateResultsRequestV2, options?: AxiosRequestConfig): Promise>; }