@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,70 @@
|
|
|
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
|
+
* Aggregated execution results across all test plans in the release, using the latest run (regression) of each test plan.
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ReleaseReadinessSummary
|
|
17
|
+
*/
|
|
18
|
+
export interface ReleaseReadinessSummary {
|
|
19
|
+
[key: string]: number | any;
|
|
20
|
+
/**
|
|
21
|
+
* Total number of test case executions across all plans
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof ReleaseReadinessSummary
|
|
24
|
+
*/
|
|
25
|
+
total: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof ReleaseReadinessSummary
|
|
30
|
+
*/
|
|
31
|
+
passed: number;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof ReleaseReadinessSummary
|
|
36
|
+
*/
|
|
37
|
+
failed: number;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof ReleaseReadinessSummary
|
|
42
|
+
*/
|
|
43
|
+
blocked: number;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof ReleaseReadinessSummary
|
|
48
|
+
*/
|
|
49
|
+
skipped: number;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {number}
|
|
53
|
+
* @memberof ReleaseReadinessSummary
|
|
54
|
+
*/
|
|
55
|
+
unexecuted: number;
|
|
56
|
+
/**
|
|
57
|
+
* Percentage of passed out of total (excluding unexecuted)
|
|
58
|
+
* @type {number}
|
|
59
|
+
* @memberof ReleaseReadinessSummary
|
|
60
|
+
*/
|
|
61
|
+
passRate: number;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Check if a given object implements the ReleaseReadinessSummary interface.
|
|
65
|
+
*/
|
|
66
|
+
export declare function instanceOfReleaseReadinessSummary(value: object): value is ReleaseReadinessSummary;
|
|
67
|
+
export declare function ReleaseReadinessSummaryFromJSON(json: any): ReleaseReadinessSummary;
|
|
68
|
+
export declare function ReleaseReadinessSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReleaseReadinessSummary;
|
|
69
|
+
export declare function ReleaseReadinessSummaryToJSON(json: any): ReleaseReadinessSummary;
|
|
70
|
+
export declare function ReleaseReadinessSummaryToJSONTyped(value?: ReleaseReadinessSummary | 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 ReleaseReadinessSummary interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfReleaseReadinessSummary(value) {
|
|
18
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('passed' in value) || value['passed'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('failed' in value) || value['failed'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('blocked' in value) || value['blocked'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('skipped' in value) || value['skipped'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('unexecuted' in value) || value['unexecuted'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('passRate' in value) || value['passRate'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
export function ReleaseReadinessSummaryFromJSON(json) {
|
|
35
|
+
return ReleaseReadinessSummaryFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function ReleaseReadinessSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return Object.assign(Object.assign({}, json), { 'total': json['total'], 'passed': json['passed'], 'failed': json['failed'], 'blocked': json['blocked'], 'skipped': json['skipped'], 'unexecuted': json['unexecuted'], 'passRate': json['pass_rate'] });
|
|
42
|
+
}
|
|
43
|
+
export function ReleaseReadinessSummaryToJSON(json) {
|
|
44
|
+
return ReleaseReadinessSummaryToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
export function ReleaseReadinessSummaryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return Object.assign(Object.assign({}, value), { 'total': value['total'], 'passed': value['passed'], 'failed': value['failed'], 'blocked': value['blocked'], 'skipped': value['skipped'], 'unexecuted': value['unexecuted'], 'pass_rate': value['passRate'] });
|
|
51
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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 { ResultSummary } from './ResultSummary';
|
|
13
|
+
import type { ReleaseReadinessTestPlanRun } from './ReleaseReadinessTestPlanRun';
|
|
14
|
+
/**
|
|
15
|
+
* Per-test-plan readiness summary within a release, showing the latest run's results.
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ReleaseReadinessTestPlan
|
|
19
|
+
*/
|
|
20
|
+
export interface ReleaseReadinessTestPlan {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {number}
|
|
24
|
+
* @memberof ReleaseReadinessTestPlan
|
|
25
|
+
*/
|
|
26
|
+
id: number;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof ReleaseReadinessTestPlan
|
|
31
|
+
*/
|
|
32
|
+
title: string;
|
|
33
|
+
/**
|
|
34
|
+
* 0 = Draft; 1 = Ready to execute; 2 = Finish; 3 = Finished (with failures)
|
|
35
|
+
* @type {number}
|
|
36
|
+
* @memberof ReleaseReadinessTestPlan
|
|
37
|
+
*/
|
|
38
|
+
status: ReleaseReadinessTestPlanStatusEnum;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {ReleaseReadinessTestPlanRun}
|
|
42
|
+
* @memberof ReleaseReadinessTestPlan
|
|
43
|
+
*/
|
|
44
|
+
latestRun: ReleaseReadinessTestPlanRun;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {ResultSummary}
|
|
48
|
+
* @memberof ReleaseReadinessTestPlan
|
|
49
|
+
*/
|
|
50
|
+
results: ResultSummary;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* @export
|
|
54
|
+
*/
|
|
55
|
+
export declare const ReleaseReadinessTestPlanStatusEnum: {
|
|
56
|
+
readonly NUMBER_0: 0;
|
|
57
|
+
readonly NUMBER_1: 1;
|
|
58
|
+
readonly NUMBER_2: 2;
|
|
59
|
+
readonly NUMBER_3: 3;
|
|
60
|
+
};
|
|
61
|
+
export type ReleaseReadinessTestPlanStatusEnum = typeof ReleaseReadinessTestPlanStatusEnum[keyof typeof ReleaseReadinessTestPlanStatusEnum];
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the ReleaseReadinessTestPlan interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfReleaseReadinessTestPlan(value: object): value is ReleaseReadinessTestPlan;
|
|
66
|
+
export declare function ReleaseReadinessTestPlanFromJSON(json: any): ReleaseReadinessTestPlan;
|
|
67
|
+
export declare function ReleaseReadinessTestPlanFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReleaseReadinessTestPlan;
|
|
68
|
+
export declare function ReleaseReadinessTestPlanToJSON(json: any): ReleaseReadinessTestPlan;
|
|
69
|
+
export declare function ReleaseReadinessTestPlanToJSONTyped(value?: ReleaseReadinessTestPlan | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
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 ReleaseReadinessTestPlanStatusEnum = {
|
|
18
|
+
NUMBER_0: 0,
|
|
19
|
+
NUMBER_1: 1,
|
|
20
|
+
NUMBER_2: 2,
|
|
21
|
+
NUMBER_3: 3
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ReleaseReadinessTestPlan interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfReleaseReadinessTestPlan(value) {
|
|
27
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('latestRun' in value) || value['latestRun'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('results' in value) || value['results'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
export function ReleaseReadinessTestPlanFromJSON(json) {
|
|
40
|
+
return ReleaseReadinessTestPlanFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function ReleaseReadinessTestPlanFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': json['id'],
|
|
48
|
+
'title': json['title'],
|
|
49
|
+
'status': json['status'],
|
|
50
|
+
'latestRun': json['latest_run'],
|
|
51
|
+
'results': json['results'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export function ReleaseReadinessTestPlanToJSON(json) {
|
|
55
|
+
return ReleaseReadinessTestPlanToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
export function ReleaseReadinessTestPlanToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'id': value['id'],
|
|
63
|
+
'title': value['title'],
|
|
64
|
+
'status': value['status'],
|
|
65
|
+
'latest_run': value['latestRun'],
|
|
66
|
+
'results': value['results'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
* Minimal info about the latest run (regression) of a test plan within the release.
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ReleaseReadinessTestPlanRun
|
|
17
|
+
*/
|
|
18
|
+
export interface ReleaseReadinessTestPlanRun {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ReleaseReadinessTestPlanRun
|
|
23
|
+
*/
|
|
24
|
+
id: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ReleaseReadinessTestPlanRun
|
|
29
|
+
*/
|
|
30
|
+
iteration: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ReleaseReadinessTestPlanRun
|
|
35
|
+
*/
|
|
36
|
+
status?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ReleaseReadinessTestPlanRun
|
|
41
|
+
*/
|
|
42
|
+
createdAt?: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ReleaseReadinessTestPlanRun interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfReleaseReadinessTestPlanRun(value: object): value is ReleaseReadinessTestPlanRun;
|
|
48
|
+
export declare function ReleaseReadinessTestPlanRunFromJSON(json: any): ReleaseReadinessTestPlanRun;
|
|
49
|
+
export declare function ReleaseReadinessTestPlanRunFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReleaseReadinessTestPlanRun;
|
|
50
|
+
export declare function ReleaseReadinessTestPlanRunToJSON(json: any): ReleaseReadinessTestPlanRun;
|
|
51
|
+
export declare function ReleaseReadinessTestPlanRunToJSONTyped(value?: ReleaseReadinessTestPlanRun | 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 ReleaseReadinessTestPlanRun interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfReleaseReadinessTestPlanRun(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('iteration' in value) || value['iteration'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function ReleaseReadinessTestPlanRunFromJSON(json) {
|
|
25
|
+
return ReleaseReadinessTestPlanRunFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function ReleaseReadinessTestPlanRunFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'id': json['id'],
|
|
33
|
+
'iteration': json['iteration'],
|
|
34
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
35
|
+
'createdAt': json['created_at'] == null ? undefined : json['created_at'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function ReleaseReadinessTestPlanRunToJSON(json) {
|
|
39
|
+
return ReleaseReadinessTestPlanRunToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function ReleaseReadinessTestPlanRunToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'id': value['id'],
|
|
47
|
+
'iteration': value['iteration'],
|
|
48
|
+
'status': value['status'],
|
|
49
|
+
'created_at': value['createdAt'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
* Computed Go/No-Go verdict based on the release's go_no_go_threshold settings compared against actual metrics.
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ReleaseReadinessVerdict
|
|
17
|
+
*/
|
|
18
|
+
export interface ReleaseReadinessVerdict {
|
|
19
|
+
/**
|
|
20
|
+
* go = all thresholds met; no_go = one or more thresholds violated; at_risk = within 5% of a threshold; not_configured = no thresholds set on the release
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ReleaseReadinessVerdict
|
|
24
|
+
*/
|
|
25
|
+
result: ReleaseReadinessVerdictResultEnum;
|
|
26
|
+
/**
|
|
27
|
+
* List of human-readable reasons for the verdict
|
|
28
|
+
* @type {Array<string>}
|
|
29
|
+
* @memberof ReleaseReadinessVerdict
|
|
30
|
+
*/
|
|
31
|
+
reasons: Array<string>;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
export declare const ReleaseReadinessVerdictResultEnum: {
|
|
37
|
+
readonly Go: "go";
|
|
38
|
+
readonly NoGo: "no_go";
|
|
39
|
+
readonly AtRisk: "at_risk";
|
|
40
|
+
readonly NotConfigured: "not_configured";
|
|
41
|
+
};
|
|
42
|
+
export type ReleaseReadinessVerdictResultEnum = typeof ReleaseReadinessVerdictResultEnum[keyof typeof ReleaseReadinessVerdictResultEnum];
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the ReleaseReadinessVerdict interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfReleaseReadinessVerdict(value: object): value is ReleaseReadinessVerdict;
|
|
47
|
+
export declare function ReleaseReadinessVerdictFromJSON(json: any): ReleaseReadinessVerdict;
|
|
48
|
+
export declare function ReleaseReadinessVerdictFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReleaseReadinessVerdict;
|
|
49
|
+
export declare function ReleaseReadinessVerdictToJSON(json: any): ReleaseReadinessVerdict;
|
|
50
|
+
export declare function ReleaseReadinessVerdictToJSONTyped(value?: ReleaseReadinessVerdict | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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 ReleaseReadinessVerdictResultEnum = {
|
|
18
|
+
Go: 'go',
|
|
19
|
+
NoGo: 'no_go',
|
|
20
|
+
AtRisk: 'at_risk',
|
|
21
|
+
NotConfigured: 'not_configured'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the ReleaseReadinessVerdict interface.
|
|
25
|
+
*/
|
|
26
|
+
export function instanceOfReleaseReadinessVerdict(value) {
|
|
27
|
+
if (!('result' in value) || value['result'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('reasons' in value) || value['reasons'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
export function ReleaseReadinessVerdictFromJSON(json) {
|
|
34
|
+
return ReleaseReadinessVerdictFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function ReleaseReadinessVerdictFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'result': json['result'],
|
|
42
|
+
'reasons': json['reasons'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function ReleaseReadinessVerdictToJSON(json) {
|
|
46
|
+
return ReleaseReadinessVerdictToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function ReleaseReadinessVerdictToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'result': value['result'],
|
|
54
|
+
'reasons': value['reasons'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -45,6 +45,12 @@ export interface StepWiseResult {
|
|
|
45
45
|
* @memberof StepWiseResult
|
|
46
46
|
*/
|
|
47
47
|
comment: string;
|
|
48
|
+
/**
|
|
49
|
+
* ID of the user who wrote the comment
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof StepWiseResult
|
|
52
|
+
*/
|
|
53
|
+
commentBy?: number;
|
|
48
54
|
/**
|
|
49
55
|
* Array of user IDs
|
|
50
56
|
* @type {Array<string>}
|
|
@@ -36,6 +36,7 @@ export function StepWiseResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'expectedResult': json['expected_result'] == null ? undefined : json['expected_result'],
|
|
37
37
|
'status': json['status'],
|
|
38
38
|
'comment': json['comment'],
|
|
39
|
+
'commentBy': json['comment_by'] == null ? undefined : json['comment_by'],
|
|
39
40
|
'mentions': json['mentions'] == null ? undefined : json['mentions'],
|
|
40
41
|
'attachments': json['attachments'] == null ? undefined : json['attachments'],
|
|
41
42
|
};
|
|
@@ -53,6 +54,7 @@ export function StepWiseResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
53
54
|
'expected_result': value['expectedResult'],
|
|
54
55
|
'status': value['status'],
|
|
55
56
|
'comment': value['comment'],
|
|
57
|
+
'comment_by': value['commentBy'],
|
|
56
58
|
'mentions': value['mentions'],
|
|
57
59
|
'attachments': value['attachments'],
|
|
58
60
|
};
|
|
@@ -57,6 +57,12 @@ export interface TestDatasetWiseResult {
|
|
|
57
57
|
* @memberof TestDatasetWiseResult
|
|
58
58
|
*/
|
|
59
59
|
comment: string;
|
|
60
|
+
/**
|
|
61
|
+
* ID of the user who wrote the comment
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof TestDatasetWiseResult
|
|
64
|
+
*/
|
|
65
|
+
commentBy?: number;
|
|
60
66
|
/**
|
|
61
67
|
* Array of user IDs
|
|
62
68
|
* @type {Array<string>}
|
|
@@ -40,6 +40,7 @@ export function TestDatasetWiseResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'expectedResult': json['expected_result'] == null ? undefined : json['expected_result'],
|
|
41
41
|
'status': json['status'],
|
|
42
42
|
'comment': json['comment'],
|
|
43
|
+
'commentBy': json['comment_by'] == null ? undefined : json['comment_by'],
|
|
43
44
|
'mentions': json['mentions'] == null ? undefined : json['mentions'],
|
|
44
45
|
'attachments': json['attachments'] == null ? undefined : json['attachments'],
|
|
45
46
|
};
|
|
@@ -59,6 +60,7 @@ export function TestDatasetWiseResultToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
59
60
|
'expected_result': value['expectedResult'],
|
|
60
61
|
'status': value['status'],
|
|
61
62
|
'comment': value['comment'],
|
|
63
|
+
'comment_by': value['commentBy'],
|
|
62
64
|
'mentions': value['mentions'],
|
|
63
65
|
'attachments': value['attachments'],
|
|
64
66
|
};
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { ReleaseMinified } from './ReleaseMinified';
|
|
12
13
|
import type { TestPlanFolder } from './TestPlanFolder';
|
|
13
14
|
import type { UserMinified } from './UserMinified';
|
|
14
15
|
import type { TestPlanResults } from './TestPlanResults';
|
|
@@ -139,6 +140,12 @@ export interface TestPlan {
|
|
|
139
140
|
* @memberof TestPlan
|
|
140
141
|
*/
|
|
141
142
|
isPublic?: number;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @type {ReleaseMinified}
|
|
146
|
+
* @memberof TestPlan
|
|
147
|
+
*/
|
|
148
|
+
release?: ReleaseMinified;
|
|
142
149
|
}
|
|
143
150
|
/**
|
|
144
151
|
* @export
|
|
@@ -84,6 +84,7 @@ export function TestPlanFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
84
84
|
'description': json['description'] == null ? undefined : json['description'],
|
|
85
85
|
'customFields': json['custom_fields'] == null ? undefined : (json['custom_fields'].map(CustomFieldCollectionOutputFromJSON)),
|
|
86
86
|
'isPublic': json['is_public'] == null ? undefined : json['is_public'],
|
|
87
|
+
'release': json['release'] == null ? undefined : json['release'],
|
|
87
88
|
};
|
|
88
89
|
}
|
|
89
90
|
export function TestPlanToJSON(json) {
|
|
@@ -114,5 +115,6 @@ export function TestPlanToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
114
115
|
'description': value['description'],
|
|
115
116
|
'custom_fields': value['customFields'] == null ? undefined : (value['customFields'].map(CustomFieldCollectionOutputToJSON)),
|
|
116
117
|
'is_public': value['isPublic'],
|
|
118
|
+
'release': value['release'],
|
|
117
119
|
};
|
|
118
120
|
}
|
|
@@ -58,6 +58,12 @@ export interface TestPlanBulkActionPayload {
|
|
|
58
58
|
* @memberof TestPlanBulkActionPayload
|
|
59
59
|
*/
|
|
60
60
|
endDate?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Release ID to associate test plans with (optional)
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof TestPlanBulkActionPayload
|
|
65
|
+
*/
|
|
66
|
+
release?: number;
|
|
61
67
|
/**
|
|
62
68
|
* Array of custom fields
|
|
63
69
|
* @type {Array<CustomFieldInputPayload>}
|
|
@@ -49,6 +49,7 @@ export function TestPlanBulkActionPayloadFromJSONTyped(json, ignoreDiscriminator
|
|
|
49
49
|
'testPlanFolder': json['test_plan_folder'] == null ? undefined : json['test_plan_folder'],
|
|
50
50
|
'startDate': json['start_date'] == null ? undefined : json['start_date'],
|
|
51
51
|
'endDate': json['end_date'] == null ? undefined : json['end_date'],
|
|
52
|
+
'release': json['release'] == null ? undefined : json['release'],
|
|
52
53
|
'customFields': json['custom_fields'] == null ? undefined : (json['custom_fields'].map(CustomFieldInputPayloadFromJSON)),
|
|
53
54
|
};
|
|
54
55
|
}
|
|
@@ -67,6 +68,7 @@ export function TestPlanBulkActionPayloadToJSONTyped(value, ignoreDiscriminator
|
|
|
67
68
|
'test_plan_folder': value['testPlanFolder'],
|
|
68
69
|
'start_date': value['startDate'],
|
|
69
70
|
'end_date': value['endDate'],
|
|
71
|
+
'release': value['release'],
|
|
70
72
|
'custom_fields': value['customFields'] == null ? undefined : (value['customFields'].map(CustomFieldInputPayloadToJSON)),
|
|
71
73
|
};
|
|
72
74
|
}
|
|
@@ -76,6 +76,12 @@ export interface TestPlanPayload {
|
|
|
76
76
|
* @memberof TestPlanPayload
|
|
77
77
|
*/
|
|
78
78
|
project: number;
|
|
79
|
+
/**
|
|
80
|
+
* Release ID to associate this test plan with (optional)
|
|
81
|
+
* @type {number}
|
|
82
|
+
* @memberof TestPlanPayload
|
|
83
|
+
*/
|
|
84
|
+
release?: number;
|
|
79
85
|
/**
|
|
80
86
|
* Array of custom fields
|
|
81
87
|
* @type {Array<CustomFieldInputPayload>}
|
|
@@ -63,6 +63,7 @@ export function TestPlanPayloadFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
63
63
|
'startDate': json['start_date'] == null ? undefined : json['start_date'],
|
|
64
64
|
'endDate': json['end_date'] == null ? undefined : json['end_date'],
|
|
65
65
|
'project': json['project'],
|
|
66
|
+
'release': json['release'] == null ? undefined : json['release'],
|
|
66
67
|
'customFields': json['custom_fields'] == null ? undefined : (json['custom_fields'].map(CustomFieldInputPayloadFromJSON)),
|
|
67
68
|
};
|
|
68
69
|
}
|
|
@@ -84,6 +85,7 @@ export function TestPlanPayloadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
84
85
|
'start_date': value['startDate'],
|
|
85
86
|
'end_date': value['endDate'],
|
|
86
87
|
'project': value['project'],
|
|
88
|
+
'release': value['release'],
|
|
87
89
|
'custom_fields': value['customFields'] == null ? undefined : (value['customFields'].map(CustomFieldInputPayloadToJSON)),
|
|
88
90
|
};
|
|
89
91
|
}
|