@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,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* TC API
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.3.1
|
|
8
|
+
* Contact: support@testcollab.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ReleaseReadinessDefectSeverity interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfReleaseReadinessDefectSeverity(value) {
|
|
18
|
+
if (!('severity' in value) || value['severity'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('count' in value) || value['count'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function ReleaseReadinessDefectSeverityFromJSON(json) {
|
|
25
|
+
return ReleaseReadinessDefectSeverityFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function ReleaseReadinessDefectSeverityFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'severity': json['severity'],
|
|
33
|
+
'count': json['count'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function ReleaseReadinessDefectSeverityToJSON(json) {
|
|
37
|
+
return ReleaseReadinessDefectSeverityToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ReleaseReadinessDefectSeverityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'severity': value['severity'],
|
|
45
|
+
'count': value['count'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -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,52 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* TC API
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.3.1
|
|
8
|
+
* Contact: support@testcollab.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ReleaseReadinessDefectSeverityFromJSON, ReleaseReadinessDefectSeverityToJSON, } from './ReleaseReadinessDefectSeverity';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ReleaseReadinessDefects interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfReleaseReadinessDefects(value) {
|
|
19
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('totalOpen' in value) || value['totalOpen'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('bySeverity' in value) || value['bySeverity'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function ReleaseReadinessDefectsFromJSON(json) {
|
|
28
|
+
return ReleaseReadinessDefectsFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ReleaseReadinessDefectsFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'total': json['total'],
|
|
36
|
+
'totalOpen': json['total_open'],
|
|
37
|
+
'bySeverity': (json['by_severity'].map(ReleaseReadinessDefectSeverityFromJSON)),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function ReleaseReadinessDefectsToJSON(json) {
|
|
41
|
+
return ReleaseReadinessDefectsToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function ReleaseReadinessDefectsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'total': value['total'],
|
|
49
|
+
'total_open': value['totalOpen'],
|
|
50
|
+
'by_severity': (value['bySeverity'].map(ReleaseReadinessDefectSeverityToJSON)),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -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,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* TC API
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.3.1
|
|
8
|
+
* Contact: support@testcollab.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ReleaseReadinessEvidence interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfReleaseReadinessEvidence(value) {
|
|
18
|
+
if (!('totalFailed' in value) || value['totalFailed'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('failedWithAttachments' in value) || value['failedWithAttachments'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('evidenceCoverage' in value) || value['evidenceCoverage'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ReleaseReadinessEvidenceFromJSON(json) {
|
|
27
|
+
return ReleaseReadinessEvidenceFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ReleaseReadinessEvidenceFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'totalFailed': json['total_failed'],
|
|
35
|
+
'failedWithAttachments': json['failed_with_attachments'],
|
|
36
|
+
'evidenceCoverage': json['evidence_coverage'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function ReleaseReadinessEvidenceToJSON(json) {
|
|
40
|
+
return ReleaseReadinessEvidenceToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function ReleaseReadinessEvidenceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'total_failed': value['totalFailed'],
|
|
48
|
+
'failed_with_attachments': value['failedWithAttachments'],
|
|
49
|
+
'evidence_coverage': value['evidenceCoverage'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* TC API
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.3.1
|
|
8
|
+
* Contact: support@testcollab.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { ReleaseReadinessRequirementItemFromJSON, ReleaseReadinessRequirementItemToJSON, } from './ReleaseReadinessRequirementItem';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ReleaseReadinessRequirementCoverage interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfReleaseReadinessRequirementCoverage(value) {
|
|
19
|
+
if (!('summary' in value) || value['summary'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
return true;
|
|
24
|
+
}
|
|
25
|
+
export function ReleaseReadinessRequirementCoverageFromJSON(json) {
|
|
26
|
+
return ReleaseReadinessRequirementCoverageFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function ReleaseReadinessRequirementCoverageFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'summary': json['summary'],
|
|
34
|
+
'items': (json['items'].map(ReleaseReadinessRequirementItemFromJSON)),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function ReleaseReadinessRequirementCoverageToJSON(json) {
|
|
38
|
+
return ReleaseReadinessRequirementCoverageToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ReleaseReadinessRequirementCoverageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'summary': value['summary'],
|
|
46
|
+
'items': (value['items'].map(ReleaseReadinessRequirementItemToJSON)),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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 requirement associated with the release.
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ReleaseReadinessRequirementItem
|
|
17
|
+
*/
|
|
18
|
+
export interface ReleaseReadinessRequirementItem {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ReleaseReadinessRequirementItem
|
|
23
|
+
*/
|
|
24
|
+
requirementId: number;
|
|
25
|
+
/**
|
|
26
|
+
* Human-readable requirement identifier
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ReleaseReadinessRequirementItem
|
|
29
|
+
*/
|
|
30
|
+
requirementKey: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ReleaseReadinessRequirementItem
|
|
35
|
+
*/
|
|
36
|
+
title: string;
|
|
37
|
+
/**
|
|
38
|
+
* Total test cases linked to this requirement (across all projects)
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ReleaseReadinessRequirementItem
|
|
41
|
+
*/
|
|
42
|
+
totalLinkedCases: number;
|
|
43
|
+
/**
|
|
44
|
+
* Number of linked test cases that appear in this release's test plans
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof ReleaseReadinessRequirementItem
|
|
47
|
+
*/
|
|
48
|
+
casesInRelease: number;
|
|
49
|
+
/**
|
|
50
|
+
* Number of cases_in_release that have been executed
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof ReleaseReadinessRequirementItem
|
|
53
|
+
*/
|
|
54
|
+
executed: number;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof ReleaseReadinessRequirementItem
|
|
59
|
+
*/
|
|
60
|
+
passed: number;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof ReleaseReadinessRequirementItem
|
|
65
|
+
*/
|
|
66
|
+
failed: number;
|
|
67
|
+
/**
|
|
68
|
+
* fully_covered = all cases_in_release passed, partially_covered = some executed but not all passed, not_covered = none executed, no_cases = no linked test cases in the release
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof ReleaseReadinessRequirementItem
|
|
72
|
+
*/
|
|
73
|
+
coverageStatus: ReleaseReadinessRequirementItemCoverageStatusEnum;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* @export
|
|
77
|
+
*/
|
|
78
|
+
export declare const ReleaseReadinessRequirementItemCoverageStatusEnum: {
|
|
79
|
+
readonly FullyCovered: "fully_covered";
|
|
80
|
+
readonly PartiallyCovered: "partially_covered";
|
|
81
|
+
readonly NotCovered: "not_covered";
|
|
82
|
+
readonly NoCases: "no_cases";
|
|
83
|
+
};
|
|
84
|
+
export type ReleaseReadinessRequirementItemCoverageStatusEnum = typeof ReleaseReadinessRequirementItemCoverageStatusEnum[keyof typeof ReleaseReadinessRequirementItemCoverageStatusEnum];
|
|
85
|
+
/**
|
|
86
|
+
* Check if a given object implements the ReleaseReadinessRequirementItem interface.
|
|
87
|
+
*/
|
|
88
|
+
export declare function instanceOfReleaseReadinessRequirementItem(value: object): value is ReleaseReadinessRequirementItem;
|
|
89
|
+
export declare function ReleaseReadinessRequirementItemFromJSON(json: any): ReleaseReadinessRequirementItem;
|
|
90
|
+
export declare function ReleaseReadinessRequirementItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReleaseReadinessRequirementItem;
|
|
91
|
+
export declare function ReleaseReadinessRequirementItemToJSON(json: any): ReleaseReadinessRequirementItem;
|
|
92
|
+
export declare function ReleaseReadinessRequirementItemToJSONTyped(value?: ReleaseReadinessRequirementItem | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* TC API
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.3.1
|
|
8
|
+
* Contact: support@testcollab.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const ReleaseReadinessRequirementItemCoverageStatusEnum = {
|
|
18
|
+
FullyCovered: 'fully_covered',
|
|
19
|
+
PartiallyCovered: 'partially_covered',
|
|
20
|
+
NotCovered: 'not_covered',
|
|
21
|
+
NoCases: 'no_cases'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ReleaseReadinessRequirementItem interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfReleaseReadinessRequirementItem(value) {
|
|
27
|
+
if (!('requirementId' in value) || value['requirementId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('requirementKey' in value) || value['requirementKey'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('totalLinkedCases' in value) || value['totalLinkedCases'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('casesInRelease' in value) || value['casesInRelease'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('executed' in value) || value['executed'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('passed' in value) || value['passed'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('failed' in value) || value['failed'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('coverageStatus' in value) || value['coverageStatus'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
export function ReleaseReadinessRequirementItemFromJSON(json) {
|
|
48
|
+
return ReleaseReadinessRequirementItemFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
export function ReleaseReadinessRequirementItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'requirementId': json['requirement_id'],
|
|
56
|
+
'requirementKey': json['requirement_key'],
|
|
57
|
+
'title': json['title'],
|
|
58
|
+
'totalLinkedCases': json['total_linked_cases'],
|
|
59
|
+
'casesInRelease': json['cases_in_release'],
|
|
60
|
+
'executed': json['executed'],
|
|
61
|
+
'passed': json['passed'],
|
|
62
|
+
'failed': json['failed'],
|
|
63
|
+
'coverageStatus': json['coverage_status'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
export function ReleaseReadinessRequirementItemToJSON(json) {
|
|
67
|
+
return ReleaseReadinessRequirementItemToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
export function ReleaseReadinessRequirementItemToJSONTyped(value, ignoreDiscriminator = false) {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
'requirement_id': value['requirementId'],
|
|
75
|
+
'requirement_key': value['requirementKey'],
|
|
76
|
+
'title': value['title'],
|
|
77
|
+
'total_linked_cases': value['totalLinkedCases'],
|
|
78
|
+
'cases_in_release': value['casesInRelease'],
|
|
79
|
+
'executed': value['executed'],
|
|
80
|
+
'passed': value['passed'],
|
|
81
|
+
'failed': value['failed'],
|
|
82
|
+
'coverage_status': value['coverageStatus'],
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
* Summary statistics for requirement coverage within the release.
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ReleaseReadinessRequirementSummary
|
|
17
|
+
*/
|
|
18
|
+
export interface ReleaseReadinessRequirementSummary {
|
|
19
|
+
/**
|
|
20
|
+
* Total number of requirements linked to this release
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ReleaseReadinessRequirementSummary
|
|
23
|
+
*/
|
|
24
|
+
total: number;
|
|
25
|
+
/**
|
|
26
|
+
* Requirements where all linked test cases in the release passed
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ReleaseReadinessRequirementSummary
|
|
29
|
+
*/
|
|
30
|
+
fullyCovered: number;
|
|
31
|
+
/**
|
|
32
|
+
* Requirements where some test cases were executed but not all passed
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ReleaseReadinessRequirementSummary
|
|
35
|
+
*/
|
|
36
|
+
partiallyCovered: number;
|
|
37
|
+
/**
|
|
38
|
+
* Requirements where no linked test cases were executed
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ReleaseReadinessRequirementSummary
|
|
41
|
+
*/
|
|
42
|
+
notCovered: number;
|
|
43
|
+
/**
|
|
44
|
+
* Percentage of fully covered requirements out of total
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof ReleaseReadinessRequirementSummary
|
|
47
|
+
*/
|
|
48
|
+
coverageRate: number;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the ReleaseReadinessRequirementSummary interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfReleaseReadinessRequirementSummary(value: object): value is ReleaseReadinessRequirementSummary;
|
|
54
|
+
export declare function ReleaseReadinessRequirementSummaryFromJSON(json: any): ReleaseReadinessRequirementSummary;
|
|
55
|
+
export declare function ReleaseReadinessRequirementSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReleaseReadinessRequirementSummary;
|
|
56
|
+
export declare function ReleaseReadinessRequirementSummaryToJSON(json: any): ReleaseReadinessRequirementSummary;
|
|
57
|
+
export declare function ReleaseReadinessRequirementSummaryToJSONTyped(value?: ReleaseReadinessRequirementSummary | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* TC API
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2.3.1
|
|
8
|
+
* Contact: support@testcollab.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ReleaseReadinessRequirementSummary interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfReleaseReadinessRequirementSummary(value) {
|
|
18
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('fullyCovered' in value) || value['fullyCovered'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('partiallyCovered' in value) || value['partiallyCovered'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('notCovered' in value) || value['notCovered'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('coverageRate' in value) || value['coverageRate'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function ReleaseReadinessRequirementSummaryFromJSON(json) {
|
|
31
|
+
return ReleaseReadinessRequirementSummaryFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function ReleaseReadinessRequirementSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'total': json['total'],
|
|
39
|
+
'fullyCovered': json['fully_covered'],
|
|
40
|
+
'partiallyCovered': json['partially_covered'],
|
|
41
|
+
'notCovered': json['not_covered'],
|
|
42
|
+
'coverageRate': json['coverage_rate'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function ReleaseReadinessRequirementSummaryToJSON(json) {
|
|
46
|
+
return ReleaseReadinessRequirementSummaryToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function ReleaseReadinessRequirementSummaryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'total': value['total'],
|
|
54
|
+
'fully_covered': value['fullyCovered'],
|
|
55
|
+
'partially_covered': value['partiallyCovered'],
|
|
56
|
+
'not_covered': value['notCovered'],
|
|
57
|
+
'coverage_rate': value['coverageRate'],
|
|
58
|
+
};
|
|
59
|
+
}
|