@testcollab/sdk 3.10.0 → 3.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +46 -0
- package/dist/apis/ProjectsApi.d.ts +5 -5
- package/dist/apis/ProjectsApi.js +1 -1
- package/dist/apis/ReleasesApi.d.ts +280 -0
- package/dist/apis/ReleasesApi.js +379 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/ProjectsApi.d.ts +5 -5
- package/dist/esm/apis/ProjectsApi.js +2 -2
- package/dist/esm/apis/ReleasesApi.d.ts +280 -0
- package/dist/esm/apis/ReleasesApi.js +375 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/Activity.d.ts +9 -0
- package/dist/esm/models/Activity.js +6 -1
- package/dist/esm/models/ActivityAuditInfo.d.ts +44 -0
- package/dist/esm/models/ActivityAuditInfo.js +45 -0
- package/dist/esm/models/ProjectListItem.d.ts +93 -0
- package/dist/esm/models/ProjectListItem.js +72 -0
- package/dist/esm/models/Release.d.ts +131 -0
- package/dist/esm/models/Release.js +95 -0
- package/dist/esm/models/ReleaseGoNoGoThreshold.d.ts +45 -0
- package/dist/esm/models/ReleaseGoNoGoThreshold.js +45 -0
- package/dist/esm/models/ReleaseMinified.d.ts +67 -0
- package/dist/esm/models/ReleaseMinified.js +65 -0
- package/dist/esm/models/ReleasePayload.d.ts +98 -0
- package/dist/esm/models/ReleasePayload.js +75 -0
- package/dist/esm/models/ReleaseReadiness.d.ts +106 -0
- package/dist/esm/models/ReleaseReadiness.js +79 -0
- package/dist/esm/models/ReleaseReadinessComparison.d.ts +52 -0
- package/dist/esm/models/ReleaseReadinessComparison.js +47 -0
- package/dist/esm/models/ReleaseReadinessConfigurationCoverage.d.ts +84 -0
- package/dist/esm/models/ReleaseReadinessConfigurationCoverage.js +71 -0
- package/dist/esm/models/ReleaseReadinessCoverageItem.d.ts +75 -0
- package/dist/esm/models/ReleaseReadinessCoverageItem.js +65 -0
- package/dist/esm/models/ReleaseReadinessCustomFieldCoverage.d.ts +77 -0
- package/dist/esm/models/ReleaseReadinessCustomFieldCoverage.js +75 -0
- package/dist/esm/models/ReleaseReadinessCustomFieldGroup.d.ts +75 -0
- package/dist/esm/models/ReleaseReadinessCustomFieldGroup.js +69 -0
- package/dist/esm/models/ReleaseReadinessDefectSeverity.d.ts +38 -0
- package/dist/esm/models/ReleaseReadinessDefectSeverity.js +47 -0
- package/dist/esm/models/ReleaseReadinessDefects.d.ts +46 -0
- package/dist/esm/models/ReleaseReadinessDefects.js +52 -0
- package/dist/esm/models/ReleaseReadinessEvidence.d.ts +45 -0
- package/dist/esm/models/ReleaseReadinessEvidence.js +51 -0
- package/dist/esm/models/ReleaseReadinessRequirementCoverage.d.ts +41 -0
- package/dist/esm/models/ReleaseReadinessRequirementCoverage.js +48 -0
- package/dist/esm/models/ReleaseReadinessRequirementItem.d.ts +92 -0
- package/dist/esm/models/ReleaseReadinessRequirementItem.js +84 -0
- package/dist/esm/models/ReleaseReadinessRequirementSummary.d.ts +57 -0
- package/dist/esm/models/ReleaseReadinessRequirementSummary.js +59 -0
- package/dist/esm/models/ReleaseReadinessSummary.d.ts +70 -0
- package/dist/esm/models/ReleaseReadinessSummary.js +51 -0
- package/dist/esm/models/ReleaseReadinessTestPlan.d.ts +69 -0
- package/dist/esm/models/ReleaseReadinessTestPlan.js +68 -0
- package/dist/esm/models/ReleaseReadinessTestPlanRun.d.ts +51 -0
- package/dist/esm/models/ReleaseReadinessTestPlanRun.js +51 -0
- package/dist/esm/models/ReleaseReadinessVerdict.d.ts +50 -0
- package/dist/esm/models/ReleaseReadinessVerdict.js +56 -0
- package/dist/esm/models/StepWiseResult.d.ts +6 -0
- package/dist/esm/models/StepWiseResult.js +2 -0
- package/dist/esm/models/TestDatasetWiseResult.d.ts +6 -0
- package/dist/esm/models/TestDatasetWiseResult.js +2 -0
- package/dist/esm/models/TestPlan.d.ts +7 -0
- package/dist/esm/models/TestPlan.js +2 -0
- package/dist/esm/models/TestPlanBulkActionPayload.d.ts +6 -0
- package/dist/esm/models/TestPlanBulkActionPayload.js +2 -0
- package/dist/esm/models/TestPlanPayload.d.ts +6 -0
- package/dist/esm/models/TestPlanPayload.js +2 -0
- package/dist/esm/models/TraceabilityMatrixPayload.d.ts +7 -0
- package/dist/esm/models/TraceabilityMatrixPayload.js +2 -0
- package/dist/esm/models/index.d.ts +22 -0
- package/dist/esm/models/index.js +22 -0
- package/dist/models/Activity.d.ts +9 -0
- package/dist/models/Activity.js +6 -1
- package/dist/models/ActivityAuditInfo.d.ts +44 -0
- package/dist/models/ActivityAuditInfo.js +52 -0
- package/dist/models/ProjectListItem.d.ts +93 -0
- package/dist/models/ProjectListItem.js +79 -0
- package/dist/models/Release.d.ts +131 -0
- package/dist/models/Release.js +103 -0
- package/dist/models/ReleaseGoNoGoThreshold.d.ts +45 -0
- package/dist/models/ReleaseGoNoGoThreshold.js +52 -0
- package/dist/models/ReleaseMinified.d.ts +67 -0
- package/dist/models/ReleaseMinified.js +73 -0
- package/dist/models/ReleasePayload.d.ts +98 -0
- package/dist/models/ReleasePayload.js +83 -0
- package/dist/models/ReleaseReadiness.d.ts +106 -0
- package/dist/models/ReleaseReadiness.js +86 -0
- package/dist/models/ReleaseReadinessComparison.d.ts +52 -0
- package/dist/models/ReleaseReadinessComparison.js +54 -0
- package/dist/models/ReleaseReadinessConfigurationCoverage.d.ts +84 -0
- package/dist/models/ReleaseReadinessConfigurationCoverage.js +78 -0
- package/dist/models/ReleaseReadinessCoverageItem.d.ts +75 -0
- package/dist/models/ReleaseReadinessCoverageItem.js +72 -0
- package/dist/models/ReleaseReadinessCustomFieldCoverage.d.ts +77 -0
- package/dist/models/ReleaseReadinessCustomFieldCoverage.js +83 -0
- package/dist/models/ReleaseReadinessCustomFieldGroup.d.ts +75 -0
- package/dist/models/ReleaseReadinessCustomFieldGroup.js +76 -0
- package/dist/models/ReleaseReadinessDefectSeverity.d.ts +38 -0
- package/dist/models/ReleaseReadinessDefectSeverity.js +54 -0
- package/dist/models/ReleaseReadinessDefects.d.ts +46 -0
- package/dist/models/ReleaseReadinessDefects.js +59 -0
- package/dist/models/ReleaseReadinessEvidence.d.ts +45 -0
- package/dist/models/ReleaseReadinessEvidence.js +58 -0
- package/dist/models/ReleaseReadinessRequirementCoverage.d.ts +41 -0
- package/dist/models/ReleaseReadinessRequirementCoverage.js +55 -0
- package/dist/models/ReleaseReadinessRequirementItem.d.ts +92 -0
- package/dist/models/ReleaseReadinessRequirementItem.js +92 -0
- package/dist/models/ReleaseReadinessRequirementSummary.d.ts +57 -0
- package/dist/models/ReleaseReadinessRequirementSummary.js +66 -0
- package/dist/models/ReleaseReadinessSummary.d.ts +70 -0
- package/dist/models/ReleaseReadinessSummary.js +58 -0
- package/dist/models/ReleaseReadinessTestPlan.d.ts +69 -0
- package/dist/models/ReleaseReadinessTestPlan.js +76 -0
- package/dist/models/ReleaseReadinessTestPlanRun.d.ts +51 -0
- package/dist/models/ReleaseReadinessTestPlanRun.js +58 -0
- package/dist/models/ReleaseReadinessVerdict.d.ts +50 -0
- package/dist/models/ReleaseReadinessVerdict.js +64 -0
- package/dist/models/StepWiseResult.d.ts +6 -0
- package/dist/models/StepWiseResult.js +2 -0
- package/dist/models/TestDatasetWiseResult.d.ts +6 -0
- package/dist/models/TestDatasetWiseResult.js +2 -0
- package/dist/models/TestPlan.d.ts +7 -0
- package/dist/models/TestPlan.js +2 -0
- package/dist/models/TestPlanBulkActionPayload.d.ts +6 -0
- package/dist/models/TestPlanBulkActionPayload.js +2 -0
- package/dist/models/TestPlanPayload.d.ts +6 -0
- package/dist/models/TestPlanPayload.js +2 -0
- package/dist/models/TraceabilityMatrixPayload.d.ts +7 -0
- package/dist/models/TraceabilityMatrixPayload.js +2 -0
- package/dist/models/index.d.ts +22 -0
- package/dist/models/index.js +22 -0
- package/docs/Activity.md +2 -0
- package/docs/ActivityAuditInfo.md +39 -0
- package/docs/ProjectListItem.md +54 -0
- package/docs/ProjectsApi.md +2 -2
- package/docs/Release.md +62 -0
- package/docs/ReleaseGoNoGoThreshold.md +39 -0
- package/docs/ReleaseMinified.md +42 -0
- package/docs/ReleasePayload.md +52 -0
- package/docs/ReleaseReadiness.md +55 -0
- package/docs/ReleaseReadinessComparison.md +41 -0
- package/docs/ReleaseReadinessConfigurationCoverage.md +51 -0
- package/docs/ReleaseReadinessCoverageItem.md +49 -0
- package/docs/ReleaseReadinessCustomFieldCoverage.md +43 -0
- package/docs/ReleaseReadinessCustomFieldGroup.md +49 -0
- package/docs/ReleaseReadinessDefectSeverity.md +36 -0
- package/docs/ReleaseReadinessDefects.md +39 -0
- package/docs/ReleaseReadinessEvidence.md +39 -0
- package/docs/ReleaseReadinessRequirementCoverage.md +37 -0
- package/docs/ReleaseReadinessRequirementItem.md +51 -0
- package/docs/ReleaseReadinessRequirementSummary.md +43 -0
- package/docs/ReleaseReadinessSummary.md +47 -0
- package/docs/ReleaseReadinessTestPlan.md +43 -0
- package/docs/ReleaseReadinessTestPlanRun.md +41 -0
- package/docs/ReleaseReadinessVerdict.md +37 -0
- package/docs/ReleasesApi.md +655 -0
- package/docs/StepWiseResult.md +2 -0
- package/docs/TestDatasetWiseResult.md +2 -0
- package/docs/TestPlan.md +2 -0
- package/docs/TestPlanBulkActionPayload.md +2 -0
- package/docs/TestPlanPayload.md +2 -0
- package/docs/TraceabilityMatrixPayload.md +2 -0
- package/package.json +1 -1
- package/src/apis/ProjectsApi.ts +8 -5
- package/src/apis/ReleasesApi.ts +663 -0
- package/src/apis/index.ts +1 -0
- package/src/models/Activity.ts +18 -1
- package/src/models/ActivityAuditInfo.ts +81 -0
- package/src/models/ProjectListItem.ts +158 -0
- package/src/models/Release.ts +227 -0
- package/src/models/ReleaseGoNoGoThreshold.ts +82 -0
- package/src/models/ReleaseMinified.ts +114 -0
- package/src/models/ReleasePayload.ts +162 -0
- package/src/models/ReleaseReadiness.ts +233 -0
- package/src/models/ReleaseReadinessComparison.ts +98 -0
- package/src/models/ReleaseReadinessConfigurationCoverage.ts +138 -0
- package/src/models/ReleaseReadinessCoverageItem.ts +127 -0
- package/src/models/ReleaseReadinessCustomFieldCoverage.ts +133 -0
- package/src/models/ReleaseReadinessCustomFieldGroup.ts +129 -0
- package/src/models/ReleaseReadinessDefectSeverity.ts +75 -0
- package/src/models/ReleaseReadinessDefects.ts +93 -0
- package/src/models/ReleaseReadinessEvidence.ts +85 -0
- package/src/models/ReleaseReadinessRequirementCoverage.ts +91 -0
- package/src/models/ReleaseReadinessRequirementItem.ts +153 -0
- package/src/models/ReleaseReadinessRequirementSummary.ts +103 -0
- package/src/models/ReleaseReadinessSummary.ts +124 -0
- package/src/models/ReleaseReadinessTestPlan.ts +131 -0
- package/src/models/ReleaseReadinessTestPlanRun.ts +92 -0
- package/src/models/ReleaseReadinessVerdict.ts +90 -0
- package/src/models/StepWiseResult.ts +8 -0
- package/src/models/TestDatasetWiseResult.ts +8 -0
- package/src/models/TestPlan.ts +15 -0
- package/src/models/TestPlanBulkActionPayload.ts +8 -0
- package/src/models/TestPlanPayload.ts +8 -0
- package/src/models/TraceabilityMatrixPayload.ts +9 -0
- package/src/models/index.ts +22 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* TC API
|
|
6
|
+
* TestCollab is a test management tool that helps development teams carry out testing effectively and avoid failures. # Introduction This is an API documentation for TestCollab 2. # Authentication TestCollab supports two forms of authentication: - An <b>API token</b> is required to make API calls. The token can be generated from user\'s profile; to obtain it login to your TestCollab account and go to [\'My Profile Settings\'](https://testcollab.io/my_profile) and switch to API Token tab. Click on \"Generate new API token\", Once the token is generated it can be sent as a query parameter for the API calls made - https://api.testcollab.io/projects?token=<generated-API-token> - <b>Bearer authentication</b> (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. You can generate bearer auth token using [Login](#operation/login) API. Send this token as the Authorization header while making requests to protected resources: `Authorization: Bearer <token>` For making API calls, we recommend using the <b>API token</b> generated from user profile page as it won\'t affect the on-going user session and will be available until it is revoked by the user who generated it. # Error Handling Error responses - `Not Found` - Error is sent when requested resource is not available. - `Unauthorized - invalid token` - Error is sent when API token sent with the request is invalid or revoked. Error contains status code 401 - `Forbidden` - Error is sent when logged in user is not part of the company, project or his role does not allow to complete given action. Response consist of 403 status code and more information is given in error message.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.3.1
|
|
9
|
+
* Contact: support@testcollab.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ReleaseReadinessCustomFieldCoverageEntityEnum = exports.ReleaseReadinessCustomFieldCoverageFieldTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfReleaseReadinessCustomFieldCoverage = instanceOfReleaseReadinessCustomFieldCoverage;
|
|
18
|
+
exports.ReleaseReadinessCustomFieldCoverageFromJSON = ReleaseReadinessCustomFieldCoverageFromJSON;
|
|
19
|
+
exports.ReleaseReadinessCustomFieldCoverageFromJSONTyped = ReleaseReadinessCustomFieldCoverageFromJSONTyped;
|
|
20
|
+
exports.ReleaseReadinessCustomFieldCoverageToJSON = ReleaseReadinessCustomFieldCoverageToJSON;
|
|
21
|
+
exports.ReleaseReadinessCustomFieldCoverageToJSONTyped = ReleaseReadinessCustomFieldCoverageToJSONTyped;
|
|
22
|
+
const ReleaseReadinessCustomFieldGroup_1 = require("./ReleaseReadinessCustomFieldGroup");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ReleaseReadinessCustomFieldCoverageFieldTypeEnum = {
|
|
27
|
+
Dropdown: 'dropdown',
|
|
28
|
+
MultipleSelect: 'multipleSelect',
|
|
29
|
+
Date: 'date',
|
|
30
|
+
Number: 'number',
|
|
31
|
+
User: 'user'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
exports.ReleaseReadinessCustomFieldCoverageEntityEnum = {
|
|
37
|
+
TestCase: 'TestCase',
|
|
38
|
+
TestPlan: 'TestPlan'
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the ReleaseReadinessCustomFieldCoverage interface.
|
|
42
|
+
*/
|
|
43
|
+
function instanceOfReleaseReadinessCustomFieldCoverage(value) {
|
|
44
|
+
if (!('fieldId' in value) || value['fieldId'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('fieldLabel' in value) || value['fieldLabel'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('fieldType' in value) || value['fieldType'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('groups' in value) || value['groups'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
function ReleaseReadinessCustomFieldCoverageFromJSON(json) {
|
|
55
|
+
return ReleaseReadinessCustomFieldCoverageFromJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function ReleaseReadinessCustomFieldCoverageFromJSONTyped(json, ignoreDiscriminator) {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'fieldId': json['field_id'],
|
|
63
|
+
'fieldLabel': json['field_label'],
|
|
64
|
+
'fieldType': json['field_type'],
|
|
65
|
+
'entity': json['entity'] == null ? undefined : json['entity'],
|
|
66
|
+
'groups': (json['groups'].map(ReleaseReadinessCustomFieldGroup_1.ReleaseReadinessCustomFieldGroupFromJSON)),
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
function ReleaseReadinessCustomFieldCoverageToJSON(json) {
|
|
70
|
+
return ReleaseReadinessCustomFieldCoverageToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
function ReleaseReadinessCustomFieldCoverageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
'field_id': value['fieldId'],
|
|
78
|
+
'field_label': value['fieldLabel'],
|
|
79
|
+
'field_type': value['fieldType'],
|
|
80
|
+
'entity': value['entity'],
|
|
81
|
+
'groups': (value['groups'].map(ReleaseReadinessCustomFieldGroup_1.ReleaseReadinessCustomFieldGroupToJSON)),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TC API
|
|
3
|
+
* TestCollab is a test management tool that helps development teams carry out testing effectively and avoid failures. # Introduction This is an API documentation for TestCollab 2. # Authentication TestCollab supports two forms of authentication: - An <b>API token</b> is required to make API calls. The token can be generated from user\'s profile; to obtain it login to your TestCollab account and go to [\'My Profile Settings\'](https://testcollab.io/my_profile) and switch to API Token tab. Click on \"Generate new API token\", Once the token is generated it can be sent as a query parameter for the API calls made - https://api.testcollab.io/projects?token=<generated-API-token> - <b>Bearer authentication</b> (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. You can generate bearer auth token using [Login](#operation/login) API. Send this token as the Authorization header while making requests to protected resources: `Authorization: Bearer <token>` For making API calls, we recommend using the <b>API token</b> generated from user profile page as it won\'t affect the on-going user session and will be available until it is revoked by the user who generated it. # Error Handling Error responses - `Not Found` - Error is sent when requested resource is not available. - `Unauthorized - invalid token` - Error is sent when API token sent with the request is invalid or revoked. Error contains status code 401 - `Forbidden` - Error is sent when logged in user is not part of the company, project or his role does not allow to complete given action. Response consist of 403 status code and more information is given in error message.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.3.1
|
|
6
|
+
* Contact: support@testcollab.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Coverage data for a single value/group within a custom field.
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ReleaseReadinessCustomFieldGroup
|
|
17
|
+
*/
|
|
18
|
+
export interface ReleaseReadinessCustomFieldGroup {
|
|
19
|
+
/**
|
|
20
|
+
* The raw custom field value (systemValue for dropdown, actual value for others)
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ReleaseReadinessCustomFieldGroup
|
|
23
|
+
*/
|
|
24
|
+
value: string;
|
|
25
|
+
/**
|
|
26
|
+
* Human-readable label for this value
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ReleaseReadinessCustomFieldGroup
|
|
29
|
+
*/
|
|
30
|
+
label: string;
|
|
31
|
+
/**
|
|
32
|
+
* Hex color for dropdown/multipleSelect options (if available)
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ReleaseReadinessCustomFieldGroup
|
|
35
|
+
*/
|
|
36
|
+
color?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Total test cases with this custom field value that are in the release
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ReleaseReadinessCustomFieldGroup
|
|
41
|
+
*/
|
|
42
|
+
total: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof ReleaseReadinessCustomFieldGroup
|
|
47
|
+
*/
|
|
48
|
+
executed: number;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof ReleaseReadinessCustomFieldGroup
|
|
53
|
+
*/
|
|
54
|
+
passed: number;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof ReleaseReadinessCustomFieldGroup
|
|
59
|
+
*/
|
|
60
|
+
failed: number;
|
|
61
|
+
/**
|
|
62
|
+
* Percentage of passed out of executed
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof ReleaseReadinessCustomFieldGroup
|
|
65
|
+
*/
|
|
66
|
+
passRate: number;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the ReleaseReadinessCustomFieldGroup interface.
|
|
70
|
+
*/
|
|
71
|
+
export declare function instanceOfReleaseReadinessCustomFieldGroup(value: object): value is ReleaseReadinessCustomFieldGroup;
|
|
72
|
+
export declare function ReleaseReadinessCustomFieldGroupFromJSON(json: any): ReleaseReadinessCustomFieldGroup;
|
|
73
|
+
export declare function ReleaseReadinessCustomFieldGroupFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReleaseReadinessCustomFieldGroup;
|
|
74
|
+
export declare function ReleaseReadinessCustomFieldGroupToJSON(json: any): ReleaseReadinessCustomFieldGroup;
|
|
75
|
+
export declare function ReleaseReadinessCustomFieldGroupToJSONTyped(value?: ReleaseReadinessCustomFieldGroup | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* TC API
|
|
6
|
+
* TestCollab is a test management tool that helps development teams carry out testing effectively and avoid failures. # Introduction This is an API documentation for TestCollab 2. # Authentication TestCollab supports two forms of authentication: - An <b>API token</b> is required to make API calls. The token can be generated from user\'s profile; to obtain it login to your TestCollab account and go to [\'My Profile Settings\'](https://testcollab.io/my_profile) and switch to API Token tab. Click on \"Generate new API token\", Once the token is generated it can be sent as a query parameter for the API calls made - https://api.testcollab.io/projects?token=<generated-API-token> - <b>Bearer authentication</b> (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. You can generate bearer auth token using [Login](#operation/login) API. Send this token as the Authorization header while making requests to protected resources: `Authorization: Bearer <token>` For making API calls, we recommend using the <b>API token</b> generated from user profile page as it won\'t affect the on-going user session and will be available until it is revoked by the user who generated it. # Error Handling Error responses - `Not Found` - Error is sent when requested resource is not available. - `Unauthorized - invalid token` - Error is sent when API token sent with the request is invalid or revoked. Error contains status code 401 - `Forbidden` - Error is sent when logged in user is not part of the company, project or his role does not allow to complete given action. Response consist of 403 status code and more information is given in error message.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.3.1
|
|
9
|
+
* Contact: support@testcollab.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfReleaseReadinessCustomFieldGroup = instanceOfReleaseReadinessCustomFieldGroup;
|
|
17
|
+
exports.ReleaseReadinessCustomFieldGroupFromJSON = ReleaseReadinessCustomFieldGroupFromJSON;
|
|
18
|
+
exports.ReleaseReadinessCustomFieldGroupFromJSONTyped = ReleaseReadinessCustomFieldGroupFromJSONTyped;
|
|
19
|
+
exports.ReleaseReadinessCustomFieldGroupToJSON = ReleaseReadinessCustomFieldGroupToJSON;
|
|
20
|
+
exports.ReleaseReadinessCustomFieldGroupToJSONTyped = ReleaseReadinessCustomFieldGroupToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ReleaseReadinessCustomFieldGroup interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfReleaseReadinessCustomFieldGroup(value) {
|
|
25
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('executed' in value) || value['executed'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('passed' in value) || value['passed'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('failed' in value) || value['failed'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('passRate' in value) || value['passRate'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function ReleaseReadinessCustomFieldGroupFromJSON(json) {
|
|
42
|
+
return ReleaseReadinessCustomFieldGroupFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ReleaseReadinessCustomFieldGroupFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'value': json['value'],
|
|
50
|
+
'label': json['label'],
|
|
51
|
+
'color': json['color'] == null ? undefined : json['color'],
|
|
52
|
+
'total': json['total'],
|
|
53
|
+
'executed': json['executed'],
|
|
54
|
+
'passed': json['passed'],
|
|
55
|
+
'failed': json['failed'],
|
|
56
|
+
'passRate': json['pass_rate'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function ReleaseReadinessCustomFieldGroupToJSON(json) {
|
|
60
|
+
return ReleaseReadinessCustomFieldGroupToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function ReleaseReadinessCustomFieldGroupToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'value': value['value'],
|
|
68
|
+
'label': value['label'],
|
|
69
|
+
'color': value['color'],
|
|
70
|
+
'total': value['total'],
|
|
71
|
+
'executed': value['executed'],
|
|
72
|
+
'passed': value['passed'],
|
|
73
|
+
'failed': value['failed'],
|
|
74
|
+
'pass_rate': value['passRate'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TC API
|
|
3
|
+
* TestCollab is a test management tool that helps development teams carry out testing effectively and avoid failures. # Introduction This is an API documentation for TestCollab 2. # Authentication TestCollab supports two forms of authentication: - An <b>API token</b> is required to make API calls. The token can be generated from user\'s profile; to obtain it login to your TestCollab account and go to [\'My Profile Settings\'](https://testcollab.io/my_profile) and switch to API Token tab. Click on \"Generate new API token\", Once the token is generated it can be sent as a query parameter for the API calls made - https://api.testcollab.io/projects?token=<generated-API-token> - <b>Bearer authentication</b> (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. You can generate bearer auth token using [Login](#operation/login) API. Send this token as the Authorization header while making requests to protected resources: `Authorization: Bearer <token>` For making API calls, we recommend using the <b>API token</b> generated from user profile page as it won\'t affect the on-going user session and will be available until it is revoked by the user who generated it. # Error Handling Error responses - `Not Found` - Error is sent when requested resource is not available. - `Unauthorized - invalid token` - Error is sent when API token sent with the request is invalid or revoked. Error contains status code 401 - `Forbidden` - Error is sent when logged in user is not part of the company, project or his role does not allow to complete given action. Response consist of 403 status code and more information is given in error message.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.3.1
|
|
6
|
+
* Contact: support@testcollab.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ReleaseReadinessDefectSeverity
|
|
16
|
+
*/
|
|
17
|
+
export interface ReleaseReadinessDefectSeverity {
|
|
18
|
+
/**
|
|
19
|
+
* Severity label from the external issue tracker (e.g. Blocker, Critical, Major, Minor)
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReleaseReadinessDefectSeverity
|
|
22
|
+
*/
|
|
23
|
+
severity: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ReleaseReadinessDefectSeverity
|
|
28
|
+
*/
|
|
29
|
+
count: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ReleaseReadinessDefectSeverity interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfReleaseReadinessDefectSeverity(value: object): value is ReleaseReadinessDefectSeverity;
|
|
35
|
+
export declare function ReleaseReadinessDefectSeverityFromJSON(json: any): ReleaseReadinessDefectSeverity;
|
|
36
|
+
export declare function ReleaseReadinessDefectSeverityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReleaseReadinessDefectSeverity;
|
|
37
|
+
export declare function ReleaseReadinessDefectSeverityToJSON(json: any): ReleaseReadinessDefectSeverity;
|
|
38
|
+
export declare function ReleaseReadinessDefectSeverityToJSONTyped(value?: ReleaseReadinessDefectSeverity | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* TC API
|
|
6
|
+
* TestCollab is a test management tool that helps development teams carry out testing effectively and avoid failures. # Introduction This is an API documentation for TestCollab 2. # Authentication TestCollab supports two forms of authentication: - An <b>API token</b> is required to make API calls. The token can be generated from user\'s profile; to obtain it login to your TestCollab account and go to [\'My Profile Settings\'](https://testcollab.io/my_profile) and switch to API Token tab. Click on \"Generate new API token\", Once the token is generated it can be sent as a query parameter for the API calls made - https://api.testcollab.io/projects?token=<generated-API-token> - <b>Bearer authentication</b> (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. You can generate bearer auth token using [Login](#operation/login) API. Send this token as the Authorization header while making requests to protected resources: `Authorization: Bearer <token>` For making API calls, we recommend using the <b>API token</b> generated from user profile page as it won\'t affect the on-going user session and will be available until it is revoked by the user who generated it. # Error Handling Error responses - `Not Found` - Error is sent when requested resource is not available. - `Unauthorized - invalid token` - Error is sent when API token sent with the request is invalid or revoked. Error contains status code 401 - `Forbidden` - Error is sent when logged in user is not part of the company, project or his role does not allow to complete given action. Response consist of 403 status code and more information is given in error message.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.3.1
|
|
9
|
+
* Contact: support@testcollab.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfReleaseReadinessDefectSeverity = instanceOfReleaseReadinessDefectSeverity;
|
|
17
|
+
exports.ReleaseReadinessDefectSeverityFromJSON = ReleaseReadinessDefectSeverityFromJSON;
|
|
18
|
+
exports.ReleaseReadinessDefectSeverityFromJSONTyped = ReleaseReadinessDefectSeverityFromJSONTyped;
|
|
19
|
+
exports.ReleaseReadinessDefectSeverityToJSON = ReleaseReadinessDefectSeverityToJSON;
|
|
20
|
+
exports.ReleaseReadinessDefectSeverityToJSONTyped = ReleaseReadinessDefectSeverityToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ReleaseReadinessDefectSeverity interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfReleaseReadinessDefectSeverity(value) {
|
|
25
|
+
if (!('severity' in value) || value['severity'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ReleaseReadinessDefectSeverityFromJSON(json) {
|
|
32
|
+
return ReleaseReadinessDefectSeverityFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ReleaseReadinessDefectSeverityFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'severity': json['severity'],
|
|
40
|
+
'count': json['count'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ReleaseReadinessDefectSeverityToJSON(json) {
|
|
44
|
+
return ReleaseReadinessDefectSeverityToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ReleaseReadinessDefectSeverityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'severity': value['severity'],
|
|
52
|
+
'count': value['count'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TC API
|
|
3
|
+
* TestCollab is a test management tool that helps development teams carry out testing effectively and avoid failures. # Introduction This is an API documentation for TestCollab 2. # Authentication TestCollab supports two forms of authentication: - An <b>API token</b> is required to make API calls. The token can be generated from user\'s profile; to obtain it login to your TestCollab account and go to [\'My Profile Settings\'](https://testcollab.io/my_profile) and switch to API Token tab. Click on \"Generate new API token\", Once the token is generated it can be sent as a query parameter for the API calls made - https://api.testcollab.io/projects?token=<generated-API-token> - <b>Bearer authentication</b> (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. You can generate bearer auth token using [Login](#operation/login) API. Send this token as the Authorization header while making requests to protected resources: `Authorization: Bearer <token>` For making API calls, we recommend using the <b>API token</b> generated from user profile page as it won\'t affect the on-going user session and will be available until it is revoked by the user who generated it. # Error Handling Error responses - `Not Found` - Error is sent when requested resource is not available. - `Unauthorized - invalid token` - Error is sent when API token sent with the request is invalid or revoked. Error contains status code 401 - `Forbidden` - Error is sent when logged in user is not part of the company, project or his role does not allow to complete given action. Response consist of 403 status code and more information is given in error message.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.3.1
|
|
6
|
+
* Contact: support@testcollab.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ReleaseReadinessDefectSeverity } from './ReleaseReadinessDefectSeverity';
|
|
13
|
+
/**
|
|
14
|
+
* Defects linked to test plans in this release, with open count and severity breakdown.
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ReleaseReadinessDefects
|
|
18
|
+
*/
|
|
19
|
+
export interface ReleaseReadinessDefects {
|
|
20
|
+
/**
|
|
21
|
+
* Total number of defects (all statuses) across all test plans
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof ReleaseReadinessDefects
|
|
24
|
+
*/
|
|
25
|
+
total: number;
|
|
26
|
+
/**
|
|
27
|
+
* Total number of open defects across all test plans
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof ReleaseReadinessDefects
|
|
30
|
+
*/
|
|
31
|
+
totalOpen: number;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Array<ReleaseReadinessDefectSeverity>}
|
|
35
|
+
* @memberof ReleaseReadinessDefects
|
|
36
|
+
*/
|
|
37
|
+
bySeverity: Array<ReleaseReadinessDefectSeverity>;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the ReleaseReadinessDefects interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfReleaseReadinessDefects(value: object): value is ReleaseReadinessDefects;
|
|
43
|
+
export declare function ReleaseReadinessDefectsFromJSON(json: any): ReleaseReadinessDefects;
|
|
44
|
+
export declare function ReleaseReadinessDefectsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReleaseReadinessDefects;
|
|
45
|
+
export declare function ReleaseReadinessDefectsToJSON(json: any): ReleaseReadinessDefects;
|
|
46
|
+
export declare function ReleaseReadinessDefectsToJSONTyped(value?: ReleaseReadinessDefects | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* TC API
|
|
6
|
+
* TestCollab is a test management tool that helps development teams carry out testing effectively and avoid failures. # Introduction This is an API documentation for TestCollab 2. # Authentication TestCollab supports two forms of authentication: - An <b>API token</b> is required to make API calls. The token can be generated from user\'s profile; to obtain it login to your TestCollab account and go to [\'My Profile Settings\'](https://testcollab.io/my_profile) and switch to API Token tab. Click on \"Generate new API token\", Once the token is generated it can be sent as a query parameter for the API calls made - https://api.testcollab.io/projects?token=<generated-API-token> - <b>Bearer authentication</b> (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. You can generate bearer auth token using [Login](#operation/login) API. Send this token as the Authorization header while making requests to protected resources: `Authorization: Bearer <token>` For making API calls, we recommend using the <b>API token</b> generated from user profile page as it won\'t affect the on-going user session and will be available until it is revoked by the user who generated it. # Error Handling Error responses - `Not Found` - Error is sent when requested resource is not available. - `Unauthorized - invalid token` - Error is sent when API token sent with the request is invalid or revoked. Error contains status code 401 - `Forbidden` - Error is sent when logged in user is not part of the company, project or his role does not allow to complete given action. Response consist of 403 status code and more information is given in error message.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.3.1
|
|
9
|
+
* Contact: support@testcollab.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfReleaseReadinessDefects = instanceOfReleaseReadinessDefects;
|
|
17
|
+
exports.ReleaseReadinessDefectsFromJSON = ReleaseReadinessDefectsFromJSON;
|
|
18
|
+
exports.ReleaseReadinessDefectsFromJSONTyped = ReleaseReadinessDefectsFromJSONTyped;
|
|
19
|
+
exports.ReleaseReadinessDefectsToJSON = ReleaseReadinessDefectsToJSON;
|
|
20
|
+
exports.ReleaseReadinessDefectsToJSONTyped = ReleaseReadinessDefectsToJSONTyped;
|
|
21
|
+
const ReleaseReadinessDefectSeverity_1 = require("./ReleaseReadinessDefectSeverity");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ReleaseReadinessDefects interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfReleaseReadinessDefects(value) {
|
|
26
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('totalOpen' in value) || value['totalOpen'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('bySeverity' in value) || value['bySeverity'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function ReleaseReadinessDefectsFromJSON(json) {
|
|
35
|
+
return ReleaseReadinessDefectsFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function ReleaseReadinessDefectsFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'total': json['total'],
|
|
43
|
+
'totalOpen': json['total_open'],
|
|
44
|
+
'bySeverity': (json['by_severity'].map(ReleaseReadinessDefectSeverity_1.ReleaseReadinessDefectSeverityFromJSON)),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function ReleaseReadinessDefectsToJSON(json) {
|
|
48
|
+
return ReleaseReadinessDefectsToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function ReleaseReadinessDefectsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'total': value['total'],
|
|
56
|
+
'total_open': value['totalOpen'],
|
|
57
|
+
'by_severity': (value['bySeverity'].map(ReleaseReadinessDefectSeverity_1.ReleaseReadinessDefectSeverityToJSON)),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TC API
|
|
3
|
+
* TestCollab is a test management tool that helps development teams carry out testing effectively and avoid failures. # Introduction This is an API documentation for TestCollab 2. # Authentication TestCollab supports two forms of authentication: - An <b>API token</b> is required to make API calls. The token can be generated from user\'s profile; to obtain it login to your TestCollab account and go to [\'My Profile Settings\'](https://testcollab.io/my_profile) and switch to API Token tab. Click on \"Generate new API token\", Once the token is generated it can be sent as a query parameter for the API calls made - https://api.testcollab.io/projects?token=<generated-API-token> - <b>Bearer authentication</b> (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. You can generate bearer auth token using [Login](#operation/login) API. Send this token as the Authorization header while making requests to protected resources: `Authorization: Bearer <token>` For making API calls, we recommend using the <b>API token</b> generated from user profile page as it won\'t affect the on-going user session and will be available until it is revoked by the user who generated it. # Error Handling Error responses - `Not Found` - Error is sent when requested resource is not available. - `Unauthorized - invalid token` - Error is sent when API token sent with the request is invalid or revoked. Error contains status code 401 - `Forbidden` - Error is sent when logged in user is not part of the company, project or his role does not allow to complete given action. Response consist of 403 status code and more information is given in error message.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.3.1
|
|
6
|
+
* Contact: support@testcollab.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Metrics about test evidence (attachments) on executed test cases, particularly for failed executions.
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ReleaseReadinessEvidence
|
|
17
|
+
*/
|
|
18
|
+
export interface ReleaseReadinessEvidence {
|
|
19
|
+
/**
|
|
20
|
+
* Total failed executions across the release
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ReleaseReadinessEvidence
|
|
23
|
+
*/
|
|
24
|
+
totalFailed: number;
|
|
25
|
+
/**
|
|
26
|
+
* Failed executions that have at least one attachment
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ReleaseReadinessEvidence
|
|
29
|
+
*/
|
|
30
|
+
failedWithAttachments: number;
|
|
31
|
+
/**
|
|
32
|
+
* Percentage of failed executions with attachments
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ReleaseReadinessEvidence
|
|
35
|
+
*/
|
|
36
|
+
evidenceCoverage: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ReleaseReadinessEvidence interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfReleaseReadinessEvidence(value: object): value is ReleaseReadinessEvidence;
|
|
42
|
+
export declare function ReleaseReadinessEvidenceFromJSON(json: any): ReleaseReadinessEvidence;
|
|
43
|
+
export declare function ReleaseReadinessEvidenceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReleaseReadinessEvidence;
|
|
44
|
+
export declare function ReleaseReadinessEvidenceToJSON(json: any): ReleaseReadinessEvidence;
|
|
45
|
+
export declare function ReleaseReadinessEvidenceToJSONTyped(value?: ReleaseReadinessEvidence | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* TC API
|
|
6
|
+
* TestCollab is a test management tool that helps development teams carry out testing effectively and avoid failures. # Introduction This is an API documentation for TestCollab 2. # Authentication TestCollab supports two forms of authentication: - An <b>API token</b> is required to make API calls. The token can be generated from user\'s profile; to obtain it login to your TestCollab account and go to [\'My Profile Settings\'](https://testcollab.io/my_profile) and switch to API Token tab. Click on \"Generate new API token\", Once the token is generated it can be sent as a query parameter for the API calls made - https://api.testcollab.io/projects?token=<generated-API-token> - <b>Bearer authentication</b> (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. You can generate bearer auth token using [Login](#operation/login) API. Send this token as the Authorization header while making requests to protected resources: `Authorization: Bearer <token>` For making API calls, we recommend using the <b>API token</b> generated from user profile page as it won\'t affect the on-going user session and will be available until it is revoked by the user who generated it. # Error Handling Error responses - `Not Found` - Error is sent when requested resource is not available. - `Unauthorized - invalid token` - Error is sent when API token sent with the request is invalid or revoked. Error contains status code 401 - `Forbidden` - Error is sent when logged in user is not part of the company, project or his role does not allow to complete given action. Response consist of 403 status code and more information is given in error message.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2.3.1
|
|
9
|
+
* Contact: support@testcollab.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfReleaseReadinessEvidence = instanceOfReleaseReadinessEvidence;
|
|
17
|
+
exports.ReleaseReadinessEvidenceFromJSON = ReleaseReadinessEvidenceFromJSON;
|
|
18
|
+
exports.ReleaseReadinessEvidenceFromJSONTyped = ReleaseReadinessEvidenceFromJSONTyped;
|
|
19
|
+
exports.ReleaseReadinessEvidenceToJSON = ReleaseReadinessEvidenceToJSON;
|
|
20
|
+
exports.ReleaseReadinessEvidenceToJSONTyped = ReleaseReadinessEvidenceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ReleaseReadinessEvidence interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfReleaseReadinessEvidence(value) {
|
|
25
|
+
if (!('totalFailed' in value) || value['totalFailed'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('failedWithAttachments' in value) || value['failedWithAttachments'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('evidenceCoverage' in value) || value['evidenceCoverage'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function ReleaseReadinessEvidenceFromJSON(json) {
|
|
34
|
+
return ReleaseReadinessEvidenceFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function ReleaseReadinessEvidenceFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'totalFailed': json['total_failed'],
|
|
42
|
+
'failedWithAttachments': json['failed_with_attachments'],
|
|
43
|
+
'evidenceCoverage': json['evidence_coverage'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function ReleaseReadinessEvidenceToJSON(json) {
|
|
47
|
+
return ReleaseReadinessEvidenceToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function ReleaseReadinessEvidenceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'total_failed': value['totalFailed'],
|
|
55
|
+
'failed_with_attachments': value['failedWithAttachments'],
|
|
56
|
+
'evidence_coverage': value['evidenceCoverage'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TC API
|
|
3
|
+
* TestCollab is a test management tool that helps development teams carry out testing effectively and avoid failures. # Introduction This is an API documentation for TestCollab 2. # Authentication TestCollab supports two forms of authentication: - An <b>API token</b> is required to make API calls. The token can be generated from user\'s profile; to obtain it login to your TestCollab account and go to [\'My Profile Settings\'](https://testcollab.io/my_profile) and switch to API Token tab. Click on \"Generate new API token\", Once the token is generated it can be sent as a query parameter for the API calls made - https://api.testcollab.io/projects?token=<generated-API-token> - <b>Bearer authentication</b> (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. You can generate bearer auth token using [Login](#operation/login) API. Send this token as the Authorization header while making requests to protected resources: `Authorization: Bearer <token>` For making API calls, we recommend using the <b>API token</b> generated from user profile page as it won\'t affect the on-going user session and will be available until it is revoked by the user who generated it. # Error Handling Error responses - `Not Found` - Error is sent when requested resource is not available. - `Unauthorized - invalid token` - Error is sent when API token sent with the request is invalid or revoked. Error contains status code 401 - `Forbidden` - Error is sent when logged in user is not part of the company, project or his role does not allow to complete given action. Response consist of 403 status code and more information is given in error message.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2.3.1
|
|
6
|
+
* Contact: support@testcollab.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ReleaseReadinessRequirementSummary } from './ReleaseReadinessRequirementSummary';
|
|
13
|
+
import type { ReleaseReadinessRequirementItem } from './ReleaseReadinessRequirementItem';
|
|
14
|
+
/**
|
|
15
|
+
* Requirement coverage analysis for the release. Shows how well the requirements linked to this release are covered by test execution.
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ReleaseReadinessRequirementCoverage
|
|
19
|
+
*/
|
|
20
|
+
export interface ReleaseReadinessRequirementCoverage {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {ReleaseReadinessRequirementSummary}
|
|
24
|
+
* @memberof ReleaseReadinessRequirementCoverage
|
|
25
|
+
*/
|
|
26
|
+
summary: ReleaseReadinessRequirementSummary;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {Array<ReleaseReadinessRequirementItem>}
|
|
30
|
+
* @memberof ReleaseReadinessRequirementCoverage
|
|
31
|
+
*/
|
|
32
|
+
items: Array<ReleaseReadinessRequirementItem>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the ReleaseReadinessRequirementCoverage interface.
|
|
36
|
+
*/
|
|
37
|
+
export declare function instanceOfReleaseReadinessRequirementCoverage(value: object): value is ReleaseReadinessRequirementCoverage;
|
|
38
|
+
export declare function ReleaseReadinessRequirementCoverageFromJSON(json: any): ReleaseReadinessRequirementCoverage;
|
|
39
|
+
export declare function ReleaseReadinessRequirementCoverageFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReleaseReadinessRequirementCoverage;
|
|
40
|
+
export declare function ReleaseReadinessRequirementCoverageToJSON(json: any): ReleaseReadinessRequirementCoverage;
|
|
41
|
+
export declare function ReleaseReadinessRequirementCoverageToJSONTyped(value?: ReleaseReadinessRequirementCoverage | null, ignoreDiscriminator?: boolean): any;
|