@testcollab/sdk 3.11.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.
Files changed (186) hide show
  1. package/.openapi-generator/FILES +44 -0
  2. package/dist/apis/ReleasesApi.d.ts +280 -0
  3. package/dist/apis/ReleasesApi.js +379 -0
  4. package/dist/apis/index.d.ts +1 -0
  5. package/dist/apis/index.js +1 -0
  6. package/dist/esm/apis/ReleasesApi.d.ts +280 -0
  7. package/dist/esm/apis/ReleasesApi.js +375 -0
  8. package/dist/esm/apis/index.d.ts +1 -0
  9. package/dist/esm/apis/index.js +1 -0
  10. package/dist/esm/models/Activity.d.ts +9 -0
  11. package/dist/esm/models/Activity.js +6 -1
  12. package/dist/esm/models/ActivityAuditInfo.d.ts +44 -0
  13. package/dist/esm/models/ActivityAuditInfo.js +45 -0
  14. package/dist/esm/models/Release.d.ts +131 -0
  15. package/dist/esm/models/Release.js +95 -0
  16. package/dist/esm/models/ReleaseGoNoGoThreshold.d.ts +45 -0
  17. package/dist/esm/models/ReleaseGoNoGoThreshold.js +45 -0
  18. package/dist/esm/models/ReleaseMinified.d.ts +67 -0
  19. package/dist/esm/models/ReleaseMinified.js +65 -0
  20. package/dist/esm/models/ReleasePayload.d.ts +98 -0
  21. package/dist/esm/models/ReleasePayload.js +75 -0
  22. package/dist/esm/models/ReleaseReadiness.d.ts +106 -0
  23. package/dist/esm/models/ReleaseReadiness.js +79 -0
  24. package/dist/esm/models/ReleaseReadinessComparison.d.ts +52 -0
  25. package/dist/esm/models/ReleaseReadinessComparison.js +47 -0
  26. package/dist/esm/models/ReleaseReadinessConfigurationCoverage.d.ts +84 -0
  27. package/dist/esm/models/ReleaseReadinessConfigurationCoverage.js +71 -0
  28. package/dist/esm/models/ReleaseReadinessCoverageItem.d.ts +75 -0
  29. package/dist/esm/models/ReleaseReadinessCoverageItem.js +65 -0
  30. package/dist/esm/models/ReleaseReadinessCustomFieldCoverage.d.ts +77 -0
  31. package/dist/esm/models/ReleaseReadinessCustomFieldCoverage.js +75 -0
  32. package/dist/esm/models/ReleaseReadinessCustomFieldGroup.d.ts +75 -0
  33. package/dist/esm/models/ReleaseReadinessCustomFieldGroup.js +69 -0
  34. package/dist/esm/models/ReleaseReadinessDefectSeverity.d.ts +38 -0
  35. package/dist/esm/models/ReleaseReadinessDefectSeverity.js +47 -0
  36. package/dist/esm/models/ReleaseReadinessDefects.d.ts +46 -0
  37. package/dist/esm/models/ReleaseReadinessDefects.js +52 -0
  38. package/dist/esm/models/ReleaseReadinessEvidence.d.ts +45 -0
  39. package/dist/esm/models/ReleaseReadinessEvidence.js +51 -0
  40. package/dist/esm/models/ReleaseReadinessRequirementCoverage.d.ts +41 -0
  41. package/dist/esm/models/ReleaseReadinessRequirementCoverage.js +48 -0
  42. package/dist/esm/models/ReleaseReadinessRequirementItem.d.ts +92 -0
  43. package/dist/esm/models/ReleaseReadinessRequirementItem.js +84 -0
  44. package/dist/esm/models/ReleaseReadinessRequirementSummary.d.ts +57 -0
  45. package/dist/esm/models/ReleaseReadinessRequirementSummary.js +59 -0
  46. package/dist/esm/models/ReleaseReadinessSummary.d.ts +70 -0
  47. package/dist/esm/models/ReleaseReadinessSummary.js +51 -0
  48. package/dist/esm/models/ReleaseReadinessTestPlan.d.ts +69 -0
  49. package/dist/esm/models/ReleaseReadinessTestPlan.js +68 -0
  50. package/dist/esm/models/ReleaseReadinessTestPlanRun.d.ts +51 -0
  51. package/dist/esm/models/ReleaseReadinessTestPlanRun.js +51 -0
  52. package/dist/esm/models/ReleaseReadinessVerdict.d.ts +50 -0
  53. package/dist/esm/models/ReleaseReadinessVerdict.js +56 -0
  54. package/dist/esm/models/StepWiseResult.d.ts +6 -0
  55. package/dist/esm/models/StepWiseResult.js +2 -0
  56. package/dist/esm/models/TestDatasetWiseResult.d.ts +6 -0
  57. package/dist/esm/models/TestDatasetWiseResult.js +2 -0
  58. package/dist/esm/models/TestPlan.d.ts +7 -0
  59. package/dist/esm/models/TestPlan.js +2 -0
  60. package/dist/esm/models/TestPlanBulkActionPayload.d.ts +6 -0
  61. package/dist/esm/models/TestPlanBulkActionPayload.js +2 -0
  62. package/dist/esm/models/TestPlanPayload.d.ts +6 -0
  63. package/dist/esm/models/TestPlanPayload.js +2 -0
  64. package/dist/esm/models/TraceabilityMatrixPayload.d.ts +7 -0
  65. package/dist/esm/models/TraceabilityMatrixPayload.js +2 -0
  66. package/dist/esm/models/index.d.ts +21 -0
  67. package/dist/esm/models/index.js +21 -0
  68. package/dist/models/Activity.d.ts +9 -0
  69. package/dist/models/Activity.js +6 -1
  70. package/dist/models/ActivityAuditInfo.d.ts +44 -0
  71. package/dist/models/ActivityAuditInfo.js +52 -0
  72. package/dist/models/Release.d.ts +131 -0
  73. package/dist/models/Release.js +103 -0
  74. package/dist/models/ReleaseGoNoGoThreshold.d.ts +45 -0
  75. package/dist/models/ReleaseGoNoGoThreshold.js +52 -0
  76. package/dist/models/ReleaseMinified.d.ts +67 -0
  77. package/dist/models/ReleaseMinified.js +73 -0
  78. package/dist/models/ReleasePayload.d.ts +98 -0
  79. package/dist/models/ReleasePayload.js +83 -0
  80. package/dist/models/ReleaseReadiness.d.ts +106 -0
  81. package/dist/models/ReleaseReadiness.js +86 -0
  82. package/dist/models/ReleaseReadinessComparison.d.ts +52 -0
  83. package/dist/models/ReleaseReadinessComparison.js +54 -0
  84. package/dist/models/ReleaseReadinessConfigurationCoverage.d.ts +84 -0
  85. package/dist/models/ReleaseReadinessConfigurationCoverage.js +78 -0
  86. package/dist/models/ReleaseReadinessCoverageItem.d.ts +75 -0
  87. package/dist/models/ReleaseReadinessCoverageItem.js +72 -0
  88. package/dist/models/ReleaseReadinessCustomFieldCoverage.d.ts +77 -0
  89. package/dist/models/ReleaseReadinessCustomFieldCoverage.js +83 -0
  90. package/dist/models/ReleaseReadinessCustomFieldGroup.d.ts +75 -0
  91. package/dist/models/ReleaseReadinessCustomFieldGroup.js +76 -0
  92. package/dist/models/ReleaseReadinessDefectSeverity.d.ts +38 -0
  93. package/dist/models/ReleaseReadinessDefectSeverity.js +54 -0
  94. package/dist/models/ReleaseReadinessDefects.d.ts +46 -0
  95. package/dist/models/ReleaseReadinessDefects.js +59 -0
  96. package/dist/models/ReleaseReadinessEvidence.d.ts +45 -0
  97. package/dist/models/ReleaseReadinessEvidence.js +58 -0
  98. package/dist/models/ReleaseReadinessRequirementCoverage.d.ts +41 -0
  99. package/dist/models/ReleaseReadinessRequirementCoverage.js +55 -0
  100. package/dist/models/ReleaseReadinessRequirementItem.d.ts +92 -0
  101. package/dist/models/ReleaseReadinessRequirementItem.js +92 -0
  102. package/dist/models/ReleaseReadinessRequirementSummary.d.ts +57 -0
  103. package/dist/models/ReleaseReadinessRequirementSummary.js +66 -0
  104. package/dist/models/ReleaseReadinessSummary.d.ts +70 -0
  105. package/dist/models/ReleaseReadinessSummary.js +58 -0
  106. package/dist/models/ReleaseReadinessTestPlan.d.ts +69 -0
  107. package/dist/models/ReleaseReadinessTestPlan.js +76 -0
  108. package/dist/models/ReleaseReadinessTestPlanRun.d.ts +51 -0
  109. package/dist/models/ReleaseReadinessTestPlanRun.js +58 -0
  110. package/dist/models/ReleaseReadinessVerdict.d.ts +50 -0
  111. package/dist/models/ReleaseReadinessVerdict.js +64 -0
  112. package/dist/models/StepWiseResult.d.ts +6 -0
  113. package/dist/models/StepWiseResult.js +2 -0
  114. package/dist/models/TestDatasetWiseResult.d.ts +6 -0
  115. package/dist/models/TestDatasetWiseResult.js +2 -0
  116. package/dist/models/TestPlan.d.ts +7 -0
  117. package/dist/models/TestPlan.js +2 -0
  118. package/dist/models/TestPlanBulkActionPayload.d.ts +6 -0
  119. package/dist/models/TestPlanBulkActionPayload.js +2 -0
  120. package/dist/models/TestPlanPayload.d.ts +6 -0
  121. package/dist/models/TestPlanPayload.js +2 -0
  122. package/dist/models/TraceabilityMatrixPayload.d.ts +7 -0
  123. package/dist/models/TraceabilityMatrixPayload.js +2 -0
  124. package/dist/models/index.d.ts +21 -0
  125. package/dist/models/index.js +21 -0
  126. package/docs/Activity.md +2 -0
  127. package/docs/ActivityAuditInfo.md +39 -0
  128. package/docs/Release.md +62 -0
  129. package/docs/ReleaseGoNoGoThreshold.md +39 -0
  130. package/docs/ReleaseMinified.md +42 -0
  131. package/docs/ReleasePayload.md +52 -0
  132. package/docs/ReleaseReadiness.md +55 -0
  133. package/docs/ReleaseReadinessComparison.md +41 -0
  134. package/docs/ReleaseReadinessConfigurationCoverage.md +51 -0
  135. package/docs/ReleaseReadinessCoverageItem.md +49 -0
  136. package/docs/ReleaseReadinessCustomFieldCoverage.md +43 -0
  137. package/docs/ReleaseReadinessCustomFieldGroup.md +49 -0
  138. package/docs/ReleaseReadinessDefectSeverity.md +36 -0
  139. package/docs/ReleaseReadinessDefects.md +39 -0
  140. package/docs/ReleaseReadinessEvidence.md +39 -0
  141. package/docs/ReleaseReadinessRequirementCoverage.md +37 -0
  142. package/docs/ReleaseReadinessRequirementItem.md +51 -0
  143. package/docs/ReleaseReadinessRequirementSummary.md +43 -0
  144. package/docs/ReleaseReadinessSummary.md +47 -0
  145. package/docs/ReleaseReadinessTestPlan.md +43 -0
  146. package/docs/ReleaseReadinessTestPlanRun.md +41 -0
  147. package/docs/ReleaseReadinessVerdict.md +37 -0
  148. package/docs/ReleasesApi.md +655 -0
  149. package/docs/StepWiseResult.md +2 -0
  150. package/docs/TestDatasetWiseResult.md +2 -0
  151. package/docs/TestPlan.md +2 -0
  152. package/docs/TestPlanBulkActionPayload.md +2 -0
  153. package/docs/TestPlanPayload.md +2 -0
  154. package/docs/TraceabilityMatrixPayload.md +2 -0
  155. package/package.json +1 -1
  156. package/src/apis/ReleasesApi.ts +663 -0
  157. package/src/apis/index.ts +1 -0
  158. package/src/models/Activity.ts +18 -1
  159. package/src/models/ActivityAuditInfo.ts +81 -0
  160. package/src/models/Release.ts +227 -0
  161. package/src/models/ReleaseGoNoGoThreshold.ts +82 -0
  162. package/src/models/ReleaseMinified.ts +114 -0
  163. package/src/models/ReleasePayload.ts +162 -0
  164. package/src/models/ReleaseReadiness.ts +233 -0
  165. package/src/models/ReleaseReadinessComparison.ts +98 -0
  166. package/src/models/ReleaseReadinessConfigurationCoverage.ts +138 -0
  167. package/src/models/ReleaseReadinessCoverageItem.ts +127 -0
  168. package/src/models/ReleaseReadinessCustomFieldCoverage.ts +133 -0
  169. package/src/models/ReleaseReadinessCustomFieldGroup.ts +129 -0
  170. package/src/models/ReleaseReadinessDefectSeverity.ts +75 -0
  171. package/src/models/ReleaseReadinessDefects.ts +93 -0
  172. package/src/models/ReleaseReadinessEvidence.ts +85 -0
  173. package/src/models/ReleaseReadinessRequirementCoverage.ts +91 -0
  174. package/src/models/ReleaseReadinessRequirementItem.ts +153 -0
  175. package/src/models/ReleaseReadinessRequirementSummary.ts +103 -0
  176. package/src/models/ReleaseReadinessSummary.ts +124 -0
  177. package/src/models/ReleaseReadinessTestPlan.ts +131 -0
  178. package/src/models/ReleaseReadinessTestPlanRun.ts +92 -0
  179. package/src/models/ReleaseReadinessVerdict.ts +90 -0
  180. package/src/models/StepWiseResult.ts +8 -0
  181. package/src/models/TestDatasetWiseResult.ts +8 -0
  182. package/src/models/TestPlan.ts +15 -0
  183. package/src/models/TestPlanBulkActionPayload.ts +8 -0
  184. package/src/models/TestPlanPayload.ts +8 -0
  185. package/src/models/TraceabilityMatrixPayload.ts +9 -0
  186. package/src/models/index.ts +21 -0
@@ -0,0 +1,98 @@
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 { ReleaseGoNoGoThreshold } from './ReleaseGoNoGoThreshold';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ReleasePayload
17
+ */
18
+ export interface ReleasePayload {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ReleasePayload
23
+ */
24
+ name: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ReleasePayload
29
+ */
30
+ description?: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof ReleasePayload
35
+ */
36
+ status: ReleasePayloadStatusEnum;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof ReleasePayload
41
+ */
42
+ targetDate?: string;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof ReleasePayload
47
+ */
48
+ releaseDate?: string;
49
+ /**
50
+ *
51
+ * @type {ReleaseGoNoGoThreshold}
52
+ * @memberof ReleasePayload
53
+ */
54
+ goNoGoThreshold?: ReleaseGoNoGoThreshold;
55
+ /**
56
+ *
57
+ * @type {boolean}
58
+ * @memberof ReleasePayload
59
+ */
60
+ isPublic?: boolean;
61
+ /**
62
+ *
63
+ * @type {number}
64
+ * @memberof ReleasePayload
65
+ */
66
+ project: number;
67
+ /**
68
+ * Array of test plan IDs to associate with this release
69
+ * @type {Array<number>}
70
+ * @memberof ReleasePayload
71
+ */
72
+ testPlans?: Array<number>;
73
+ /**
74
+ * Array of requirement IDs to associate with this release
75
+ * @type {Array<number>}
76
+ * @memberof ReleasePayload
77
+ */
78
+ requirements?: Array<number>;
79
+ }
80
+ /**
81
+ * @export
82
+ */
83
+ export declare const ReleasePayloadStatusEnum: {
84
+ readonly Planned: "planned";
85
+ readonly InProgress: "in_progress";
86
+ readonly Ready: "ready";
87
+ readonly Shipped: "shipped";
88
+ readonly Blocked: "blocked";
89
+ };
90
+ export type ReleasePayloadStatusEnum = typeof ReleasePayloadStatusEnum[keyof typeof ReleasePayloadStatusEnum];
91
+ /**
92
+ * Check if a given object implements the ReleasePayload interface.
93
+ */
94
+ export declare function instanceOfReleasePayload(value: object): value is ReleasePayload;
95
+ export declare function ReleasePayloadFromJSON(json: any): ReleasePayload;
96
+ export declare function ReleasePayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReleasePayload;
97
+ export declare function ReleasePayloadToJSON(json: any): ReleasePayload;
98
+ export declare function ReleasePayloadToJSONTyped(value?: ReleasePayload | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * TC API
6
+ * TestCollab is a test management tool that helps development teams carry out testing effectively and avoid failures. # Introduction This is an API documentation for TestCollab 2. # Authentication TestCollab supports two forms of authentication: - An <b>API token</b> is required to make API calls. The token can be generated from user\'s profile; to obtain it login to your TestCollab account and go to [\'My Profile Settings\'](https://testcollab.io/my_profile) and switch to API Token tab. Click on \"Generate new API token\", Once the token is generated it can be sent as a query parameter for the API calls made - https://api.testcollab.io/projects?token=<generated-API-token> - <b>Bearer authentication</b> (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. You can generate bearer auth token using [Login](#operation/login) API. Send this token as the Authorization header while making requests to protected resources: `Authorization: Bearer <token>` For making API calls, we recommend using the <b>API token</b> generated from user profile page as it won\'t affect the on-going user session and will be available until it is revoked by the user who generated it. # Error Handling Error responses - `Not Found` - Error is sent when requested resource is not available. - `Unauthorized - invalid token` - Error is sent when API token sent with the request is invalid or revoked. Error contains status code 401 - `Forbidden` - Error is sent when logged in user is not part of the company, project or his role does not allow to complete given action. Response consist of 403 status code and more information is given in error message.
7
+ *
8
+ * The version of the OpenAPI document: 2.3.1
9
+ * Contact: support@testcollab.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ReleasePayloadStatusEnum = void 0;
17
+ exports.instanceOfReleasePayload = instanceOfReleasePayload;
18
+ exports.ReleasePayloadFromJSON = ReleasePayloadFromJSON;
19
+ exports.ReleasePayloadFromJSONTyped = ReleasePayloadFromJSONTyped;
20
+ exports.ReleasePayloadToJSON = ReleasePayloadToJSON;
21
+ exports.ReleasePayloadToJSONTyped = ReleasePayloadToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.ReleasePayloadStatusEnum = {
26
+ Planned: 'planned',
27
+ InProgress: 'in_progress',
28
+ Ready: 'ready',
29
+ Shipped: 'shipped',
30
+ Blocked: 'blocked'
31
+ };
32
+ /**
33
+ * Check if a given object implements the ReleasePayload interface.
34
+ */
35
+ function instanceOfReleasePayload(value) {
36
+ if (!('name' in value) || value['name'] === undefined)
37
+ return false;
38
+ if (!('status' in value) || value['status'] === undefined)
39
+ return false;
40
+ if (!('project' in value) || value['project'] === undefined)
41
+ return false;
42
+ return true;
43
+ }
44
+ function ReleasePayloadFromJSON(json) {
45
+ return ReleasePayloadFromJSONTyped(json, false);
46
+ }
47
+ function ReleasePayloadFromJSONTyped(json, ignoreDiscriminator) {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+ 'name': json['name'],
53
+ 'description': json['description'] == null ? undefined : json['description'],
54
+ 'status': json['status'],
55
+ 'targetDate': json['target_date'] == null ? undefined : json['target_date'],
56
+ 'releaseDate': json['release_date'] == null ? undefined : json['release_date'],
57
+ 'goNoGoThreshold': json['go_no_go_threshold'] == null ? undefined : json['go_no_go_threshold'],
58
+ 'isPublic': json['is_public'] == null ? undefined : json['is_public'],
59
+ 'project': json['project'],
60
+ 'testPlans': json['test_plans'] == null ? undefined : json['test_plans'],
61
+ 'requirements': json['requirements'] == null ? undefined : json['requirements'],
62
+ };
63
+ }
64
+ function ReleasePayloadToJSON(json) {
65
+ return ReleasePayloadToJSONTyped(json, false);
66
+ }
67
+ function ReleasePayloadToJSONTyped(value, ignoreDiscriminator = false) {
68
+ if (value == null) {
69
+ return value;
70
+ }
71
+ return {
72
+ 'name': value['name'],
73
+ 'description': value['description'],
74
+ 'status': value['status'],
75
+ 'target_date': value['targetDate'],
76
+ 'release_date': value['releaseDate'],
77
+ 'go_no_go_threshold': value['goNoGoThreshold'],
78
+ 'is_public': value['isPublic'],
79
+ 'project': value['project'],
80
+ 'test_plans': value['testPlans'],
81
+ 'requirements': value['requirements'],
82
+ };
83
+ }
@@ -0,0 +1,106 @@
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 { ReleaseMinified } from './ReleaseMinified';
13
+ import type { ReleaseReadinessComparison } from './ReleaseReadinessComparison';
14
+ import type { ReleaseReadinessRequirementCoverage } from './ReleaseReadinessRequirementCoverage';
15
+ import type { ReleaseReadinessSummary } from './ReleaseReadinessSummary';
16
+ import type { ReleaseReadinessConfigurationCoverage } from './ReleaseReadinessConfigurationCoverage';
17
+ import type { ReleaseReadinessCustomFieldCoverage } from './ReleaseReadinessCustomFieldCoverage';
18
+ import type { ReleaseReadinessVerdict } from './ReleaseReadinessVerdict';
19
+ import type { ReleaseReadinessEvidence } from './ReleaseReadinessEvidence';
20
+ import type { ReleaseReadinessDefects } from './ReleaseReadinessDefects';
21
+ import type { ReleaseReadinessCoverageItem } from './ReleaseReadinessCoverageItem';
22
+ import type { ReleaseReadinessTestPlan } from './ReleaseReadinessTestPlan';
23
+ /**
24
+ * Aggregated readiness data for a release. Combines execution results, defect counts, coverage analysis, evidence metrics, and a computed Go/No-Go verdict across all test plans in the release.
25
+ *
26
+ * @export
27
+ * @interface ReleaseReadiness
28
+ */
29
+ export interface ReleaseReadiness {
30
+ /**
31
+ *
32
+ * @type {ReleaseMinified}
33
+ * @memberof ReleaseReadiness
34
+ */
35
+ release: ReleaseMinified;
36
+ /**
37
+ *
38
+ * @type {ReleaseReadinessSummary}
39
+ * @memberof ReleaseReadiness
40
+ */
41
+ summary: ReleaseReadinessSummary;
42
+ /**
43
+ *
44
+ * @type {ReleaseReadinessDefects}
45
+ * @memberof ReleaseReadiness
46
+ */
47
+ defects: ReleaseReadinessDefects;
48
+ /**
49
+ *
50
+ * @type {Array<ReleaseReadinessCoverageItem>}
51
+ * @memberof ReleaseReadiness
52
+ */
53
+ coverage: Array<ReleaseReadinessCoverageItem>;
54
+ /**
55
+ *
56
+ * @type {ReleaseReadinessEvidence}
57
+ * @memberof ReleaseReadiness
58
+ */
59
+ evidence: ReleaseReadinessEvidence;
60
+ /**
61
+ *
62
+ * @type {ReleaseReadinessComparison}
63
+ * @memberof ReleaseReadiness
64
+ */
65
+ comparison?: ReleaseReadinessComparison;
66
+ /**
67
+ *
68
+ * @type {ReleaseReadinessVerdict}
69
+ * @memberof ReleaseReadiness
70
+ */
71
+ verdict: ReleaseReadinessVerdict;
72
+ /**
73
+ *
74
+ * @type {Array<ReleaseReadinessTestPlan>}
75
+ * @memberof ReleaseReadiness
76
+ */
77
+ testPlans: Array<ReleaseReadinessTestPlan>;
78
+ /**
79
+ *
80
+ * @type {ReleaseReadinessRequirementCoverage}
81
+ * @memberof ReleaseReadiness
82
+ */
83
+ requirementCoverage?: ReleaseReadinessRequirementCoverage;
84
+ /**
85
+ * Coverage breakdown by non-text custom fields. Only present when eligible custom fields exist for the project.
86
+ *
87
+ * @type {Array<ReleaseReadinessCustomFieldCoverage>}
88
+ * @memberof ReleaseReadiness
89
+ */
90
+ customFieldCoverage?: Array<ReleaseReadinessCustomFieldCoverage>;
91
+ /**
92
+ * Coverage breakdown by test plan configuration. Only present when test plans in the release have configurations defined.
93
+ *
94
+ * @type {Array<ReleaseReadinessConfigurationCoverage>}
95
+ * @memberof ReleaseReadiness
96
+ */
97
+ configurationCoverage?: Array<ReleaseReadinessConfigurationCoverage>;
98
+ }
99
+ /**
100
+ * Check if a given object implements the ReleaseReadiness interface.
101
+ */
102
+ export declare function instanceOfReleaseReadiness(value: object): value is ReleaseReadiness;
103
+ export declare function ReleaseReadinessFromJSON(json: any): ReleaseReadiness;
104
+ export declare function ReleaseReadinessFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReleaseReadiness;
105
+ export declare function ReleaseReadinessToJSON(json: any): ReleaseReadiness;
106
+ export declare function ReleaseReadinessToJSONTyped(value?: ReleaseReadiness | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,86 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * TC API
6
+ * TestCollab is a test management tool that helps development teams carry out testing effectively and avoid failures. # Introduction This is an API documentation for TestCollab 2. # Authentication TestCollab supports two forms of authentication: - An <b>API token</b> is required to make API calls. The token can be generated from user\'s profile; to obtain it login to your TestCollab account and go to [\'My Profile Settings\'](https://testcollab.io/my_profile) and switch to API Token tab. Click on \"Generate new API token\", Once the token is generated it can be sent as a query parameter for the API calls made - https://api.testcollab.io/projects?token=<generated-API-token> - <b>Bearer authentication</b> (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. You can generate bearer auth token using [Login](#operation/login) API. Send this token as the Authorization header while making requests to protected resources: `Authorization: Bearer <token>` For making API calls, we recommend using the <b>API token</b> generated from user profile page as it won\'t affect the on-going user session and will be available until it is revoked by the user who generated it. # Error Handling Error responses - `Not Found` - Error is sent when requested resource is not available. - `Unauthorized - invalid token` - Error is sent when API token sent with the request is invalid or revoked. Error contains status code 401 - `Forbidden` - Error is sent when logged in user is not part of the company, project or his role does not allow to complete given action. Response consist of 403 status code and more information is given in error message.
7
+ *
8
+ * The version of the OpenAPI document: 2.3.1
9
+ * Contact: support@testcollab.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfReleaseReadiness = instanceOfReleaseReadiness;
17
+ exports.ReleaseReadinessFromJSON = ReleaseReadinessFromJSON;
18
+ exports.ReleaseReadinessFromJSONTyped = ReleaseReadinessFromJSONTyped;
19
+ exports.ReleaseReadinessToJSON = ReleaseReadinessToJSON;
20
+ exports.ReleaseReadinessToJSONTyped = ReleaseReadinessToJSONTyped;
21
+ const ReleaseReadinessConfigurationCoverage_1 = require("./ReleaseReadinessConfigurationCoverage");
22
+ const ReleaseReadinessCustomFieldCoverage_1 = require("./ReleaseReadinessCustomFieldCoverage");
23
+ const ReleaseReadinessCoverageItem_1 = require("./ReleaseReadinessCoverageItem");
24
+ const ReleaseReadinessTestPlan_1 = require("./ReleaseReadinessTestPlan");
25
+ /**
26
+ * Check if a given object implements the ReleaseReadiness interface.
27
+ */
28
+ function instanceOfReleaseReadiness(value) {
29
+ if (!('release' in value) || value['release'] === undefined)
30
+ return false;
31
+ if (!('summary' in value) || value['summary'] === undefined)
32
+ return false;
33
+ if (!('defects' in value) || value['defects'] === undefined)
34
+ return false;
35
+ if (!('coverage' in value) || value['coverage'] === undefined)
36
+ return false;
37
+ if (!('evidence' in value) || value['evidence'] === undefined)
38
+ return false;
39
+ if (!('verdict' in value) || value['verdict'] === undefined)
40
+ return false;
41
+ if (!('testPlans' in value) || value['testPlans'] === undefined)
42
+ return false;
43
+ return true;
44
+ }
45
+ function ReleaseReadinessFromJSON(json) {
46
+ return ReleaseReadinessFromJSONTyped(json, false);
47
+ }
48
+ function ReleaseReadinessFromJSONTyped(json, ignoreDiscriminator) {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+ 'release': json['release'],
54
+ 'summary': json['summary'],
55
+ 'defects': json['defects'],
56
+ 'coverage': (json['coverage'].map(ReleaseReadinessCoverageItem_1.ReleaseReadinessCoverageItemFromJSON)),
57
+ 'evidence': json['evidence'],
58
+ 'comparison': json['comparison'] == null ? undefined : json['comparison'],
59
+ 'verdict': json['verdict'],
60
+ 'testPlans': (json['test_plans'].map(ReleaseReadinessTestPlan_1.ReleaseReadinessTestPlanFromJSON)),
61
+ 'requirementCoverage': json['requirement_coverage'] == null ? undefined : json['requirement_coverage'],
62
+ 'customFieldCoverage': json['custom_field_coverage'] == null ? undefined : (json['custom_field_coverage'].map(ReleaseReadinessCustomFieldCoverage_1.ReleaseReadinessCustomFieldCoverageFromJSON)),
63
+ 'configurationCoverage': json['configuration_coverage'] == null ? undefined : (json['configuration_coverage'].map(ReleaseReadinessConfigurationCoverage_1.ReleaseReadinessConfigurationCoverageFromJSON)),
64
+ };
65
+ }
66
+ function ReleaseReadinessToJSON(json) {
67
+ return ReleaseReadinessToJSONTyped(json, false);
68
+ }
69
+ function ReleaseReadinessToJSONTyped(value, ignoreDiscriminator = false) {
70
+ if (value == null) {
71
+ return value;
72
+ }
73
+ return {
74
+ 'release': value['release'],
75
+ 'summary': value['summary'],
76
+ 'defects': value['defects'],
77
+ 'coverage': (value['coverage'].map(ReleaseReadinessCoverageItem_1.ReleaseReadinessCoverageItemToJSON)),
78
+ 'evidence': value['evidence'],
79
+ 'comparison': value['comparison'],
80
+ 'verdict': value['verdict'],
81
+ 'test_plans': (value['testPlans'].map(ReleaseReadinessTestPlan_1.ReleaseReadinessTestPlanToJSON)),
82
+ 'requirement_coverage': value['requirementCoverage'],
83
+ 'custom_field_coverage': value['customFieldCoverage'] == null ? undefined : (value['customFieldCoverage'].map(ReleaseReadinessCustomFieldCoverage_1.ReleaseReadinessCustomFieldCoverageToJSON)),
84
+ 'configuration_coverage': value['configurationCoverage'] == null ? undefined : (value['configurationCoverage'].map(ReleaseReadinessConfigurationCoverage_1.ReleaseReadinessConfigurationCoverageToJSON)),
85
+ };
86
+ }
@@ -0,0 +1,52 @@
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 { ReleaseMinified } from './ReleaseMinified';
13
+ /**
14
+ * Comparison of this release's readiness metrics against the previous release in the same project. Null if no previous release exists.
15
+ *
16
+ * @export
17
+ * @interface ReleaseReadinessComparison
18
+ */
19
+ export interface ReleaseReadinessComparison {
20
+ /**
21
+ *
22
+ * @type {ReleaseMinified}
23
+ * @memberof ReleaseReadinessComparison
24
+ */
25
+ previousRelease?: ReleaseMinified;
26
+ /**
27
+ * Pass rate of the previous release
28
+ * @type {number}
29
+ * @memberof ReleaseReadinessComparison
30
+ */
31
+ previousPassRate?: number;
32
+ /**
33
+ * Difference in pass rate (current - previous). Negative means regression.
34
+ * @type {number}
35
+ * @memberof ReleaseReadinessComparison
36
+ */
37
+ passRateDelta?: number;
38
+ /**
39
+ * Number of open defects in the previous release at time of shipping
40
+ * @type {number}
41
+ * @memberof ReleaseReadinessComparison
42
+ */
43
+ previousOpenDefects?: number;
44
+ }
45
+ /**
46
+ * Check if a given object implements the ReleaseReadinessComparison interface.
47
+ */
48
+ export declare function instanceOfReleaseReadinessComparison(value: object): value is ReleaseReadinessComparison;
49
+ export declare function ReleaseReadinessComparisonFromJSON(json: any): ReleaseReadinessComparison;
50
+ export declare function ReleaseReadinessComparisonFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReleaseReadinessComparison;
51
+ export declare function ReleaseReadinessComparisonToJSON(json: any): ReleaseReadinessComparison;
52
+ export declare function ReleaseReadinessComparisonToJSONTyped(value?: ReleaseReadinessComparison | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * TC API
6
+ * TestCollab is a test management tool that helps development teams carry out testing effectively and avoid failures. # Introduction This is an API documentation for TestCollab 2. # Authentication TestCollab supports two forms of authentication: - An <b>API token</b> is required to make API calls. The token can be generated from user\'s profile; to obtain it login to your TestCollab account and go to [\'My Profile Settings\'](https://testcollab.io/my_profile) and switch to API Token tab. Click on \"Generate new API token\", Once the token is generated it can be sent as a query parameter for the API calls made - https://api.testcollab.io/projects?token=<generated-API-token> - <b>Bearer authentication</b> (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. You can generate bearer auth token using [Login](#operation/login) API. Send this token as the Authorization header while making requests to protected resources: `Authorization: Bearer <token>` For making API calls, we recommend using the <b>API token</b> generated from user profile page as it won\'t affect the on-going user session and will be available until it is revoked by the user who generated it. # Error Handling Error responses - `Not Found` - Error is sent when requested resource is not available. - `Unauthorized - invalid token` - Error is sent when API token sent with the request is invalid or revoked. Error contains status code 401 - `Forbidden` - Error is sent when logged in user is not part of the company, project or his role does not allow to complete given action. Response consist of 403 status code and more information is given in error message.
7
+ *
8
+ * The version of the OpenAPI document: 2.3.1
9
+ * Contact: support@testcollab.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfReleaseReadinessComparison = instanceOfReleaseReadinessComparison;
17
+ exports.ReleaseReadinessComparisonFromJSON = ReleaseReadinessComparisonFromJSON;
18
+ exports.ReleaseReadinessComparisonFromJSONTyped = ReleaseReadinessComparisonFromJSONTyped;
19
+ exports.ReleaseReadinessComparisonToJSON = ReleaseReadinessComparisonToJSON;
20
+ exports.ReleaseReadinessComparisonToJSONTyped = ReleaseReadinessComparisonToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ReleaseReadinessComparison interface.
23
+ */
24
+ function instanceOfReleaseReadinessComparison(value) {
25
+ return true;
26
+ }
27
+ function ReleaseReadinessComparisonFromJSON(json) {
28
+ return ReleaseReadinessComparisonFromJSONTyped(json, false);
29
+ }
30
+ function ReleaseReadinessComparisonFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'previousRelease': json['previous_release'] == null ? undefined : json['previous_release'],
36
+ 'previousPassRate': json['previous_pass_rate'] == null ? undefined : json['previous_pass_rate'],
37
+ 'passRateDelta': json['pass_rate_delta'] == null ? undefined : json['pass_rate_delta'],
38
+ 'previousOpenDefects': json['previous_open_defects'] == null ? undefined : json['previous_open_defects'],
39
+ };
40
+ }
41
+ function ReleaseReadinessComparisonToJSON(json) {
42
+ return ReleaseReadinessComparisonToJSONTyped(json, false);
43
+ }
44
+ function ReleaseReadinessComparisonToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'previous_release': value['previousRelease'],
50
+ 'previous_pass_rate': value['previousPassRate'],
51
+ 'pass_rate_delta': value['passRateDelta'],
52
+ 'previous_open_defects': value['previousOpenDefects'],
53
+ };
54
+ }
@@ -0,0 +1,84 @@
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 breakdown for a single configuration. Shows execution statistics aggregated across all test plans in the release that use this configuration.
14
+ *
15
+ * @export
16
+ * @interface ReleaseReadinessConfigurationCoverage
17
+ */
18
+ export interface ReleaseReadinessConfigurationCoverage {
19
+ /**
20
+ * The ID of the test plan configuration
21
+ * @type {number}
22
+ * @memberof ReleaseReadinessConfigurationCoverage
23
+ */
24
+ configurationId: number;
25
+ /**
26
+ * Key-value pairs defining the configuration. E.g. {"browser": "Chrome", "os": "Windows"}.
27
+ *
28
+ * @type {{ [key: string]: string; }}
29
+ * @memberof ReleaseReadinessConfigurationCoverage
30
+ */
31
+ parameters: {
32
+ [key: string]: string;
33
+ };
34
+ /**
35
+ * The test plan this configuration belongs to
36
+ * @type {number}
37
+ * @memberof ReleaseReadinessConfigurationCoverage
38
+ */
39
+ testPlanId?: number;
40
+ /**
41
+ * Title of the test plan
42
+ * @type {string}
43
+ * @memberof ReleaseReadinessConfigurationCoverage
44
+ */
45
+ testPlanTitle?: string;
46
+ /**
47
+ * Total test cases for this configuration
48
+ * @type {number}
49
+ * @memberof ReleaseReadinessConfigurationCoverage
50
+ */
51
+ total: number;
52
+ /**
53
+ * Number of test cases executed
54
+ * @type {number}
55
+ * @memberof ReleaseReadinessConfigurationCoverage
56
+ */
57
+ executed: number;
58
+ /**
59
+ * Number of test cases passed
60
+ * @type {number}
61
+ * @memberof ReleaseReadinessConfigurationCoverage
62
+ */
63
+ passed: number;
64
+ /**
65
+ * Number of test cases failed
66
+ * @type {number}
67
+ * @memberof ReleaseReadinessConfigurationCoverage
68
+ */
69
+ failed: number;
70
+ /**
71
+ * Pass rate as a percentage (passed / executed * 100)
72
+ * @type {number}
73
+ * @memberof ReleaseReadinessConfigurationCoverage
74
+ */
75
+ passRate: number;
76
+ }
77
+ /**
78
+ * Check if a given object implements the ReleaseReadinessConfigurationCoverage interface.
79
+ */
80
+ export declare function instanceOfReleaseReadinessConfigurationCoverage(value: object): value is ReleaseReadinessConfigurationCoverage;
81
+ export declare function ReleaseReadinessConfigurationCoverageFromJSON(json: any): ReleaseReadinessConfigurationCoverage;
82
+ export declare function ReleaseReadinessConfigurationCoverageFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReleaseReadinessConfigurationCoverage;
83
+ export declare function ReleaseReadinessConfigurationCoverageToJSON(json: any): ReleaseReadinessConfigurationCoverage;
84
+ export declare function ReleaseReadinessConfigurationCoverageToJSONTyped(value?: ReleaseReadinessConfigurationCoverage | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * TC API
6
+ * TestCollab is a test management tool that helps development teams carry out testing effectively and avoid failures. # Introduction This is an API documentation for TestCollab 2. # Authentication TestCollab supports two forms of authentication: - An <b>API token</b> is required to make API calls. The token can be generated from user\'s profile; to obtain it login to your TestCollab account and go to [\'My Profile Settings\'](https://testcollab.io/my_profile) and switch to API Token tab. Click on \"Generate new API token\", Once the token is generated it can be sent as a query parameter for the API calls made - https://api.testcollab.io/projects?token=<generated-API-token> - <b>Bearer authentication</b> (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. You can generate bearer auth token using [Login](#operation/login) API. Send this token as the Authorization header while making requests to protected resources: `Authorization: Bearer <token>` For making API calls, we recommend using the <b>API token</b> generated from user profile page as it won\'t affect the on-going user session and will be available until it is revoked by the user who generated it. # Error Handling Error responses - `Not Found` - Error is sent when requested resource is not available. - `Unauthorized - invalid token` - Error is sent when API token sent with the request is invalid or revoked. Error contains status code 401 - `Forbidden` - Error is sent when logged in user is not part of the company, project or his role does not allow to complete given action. Response consist of 403 status code and more information is given in error message.
7
+ *
8
+ * The version of the OpenAPI document: 2.3.1
9
+ * Contact: support@testcollab.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfReleaseReadinessConfigurationCoverage = instanceOfReleaseReadinessConfigurationCoverage;
17
+ exports.ReleaseReadinessConfigurationCoverageFromJSON = ReleaseReadinessConfigurationCoverageFromJSON;
18
+ exports.ReleaseReadinessConfigurationCoverageFromJSONTyped = ReleaseReadinessConfigurationCoverageFromJSONTyped;
19
+ exports.ReleaseReadinessConfigurationCoverageToJSON = ReleaseReadinessConfigurationCoverageToJSON;
20
+ exports.ReleaseReadinessConfigurationCoverageToJSONTyped = ReleaseReadinessConfigurationCoverageToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ReleaseReadinessConfigurationCoverage interface.
23
+ */
24
+ function instanceOfReleaseReadinessConfigurationCoverage(value) {
25
+ if (!('configurationId' in value) || value['configurationId'] === undefined)
26
+ return false;
27
+ if (!('parameters' in value) || value['parameters'] === undefined)
28
+ return false;
29
+ if (!('total' in value) || value['total'] === undefined)
30
+ return false;
31
+ if (!('executed' in value) || value['executed'] === undefined)
32
+ return false;
33
+ if (!('passed' in value) || value['passed'] === undefined)
34
+ return false;
35
+ if (!('failed' in value) || value['failed'] === undefined)
36
+ return false;
37
+ if (!('passRate' in value) || value['passRate'] === undefined)
38
+ return false;
39
+ return true;
40
+ }
41
+ function ReleaseReadinessConfigurationCoverageFromJSON(json) {
42
+ return ReleaseReadinessConfigurationCoverageFromJSONTyped(json, false);
43
+ }
44
+ function ReleaseReadinessConfigurationCoverageFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'configurationId': json['configuration_id'],
50
+ 'parameters': json['parameters'],
51
+ 'testPlanId': json['test_plan_id'] == null ? undefined : json['test_plan_id'],
52
+ 'testPlanTitle': json['test_plan_title'] == null ? undefined : json['test_plan_title'],
53
+ 'total': json['total'],
54
+ 'executed': json['executed'],
55
+ 'passed': json['passed'],
56
+ 'failed': json['failed'],
57
+ 'passRate': json['pass_rate'],
58
+ };
59
+ }
60
+ function ReleaseReadinessConfigurationCoverageToJSON(json) {
61
+ return ReleaseReadinessConfigurationCoverageToJSONTyped(json, false);
62
+ }
63
+ function ReleaseReadinessConfigurationCoverageToJSONTyped(value, ignoreDiscriminator = false) {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+ return {
68
+ 'configuration_id': value['configurationId'],
69
+ 'parameters': value['parameters'],
70
+ 'test_plan_id': value['testPlanId'],
71
+ 'test_plan_title': value['testPlanTitle'],
72
+ 'total': value['total'],
73
+ 'executed': value['executed'],
74
+ 'passed': value['passed'],
75
+ 'failed': value['failed'],
76
+ 'pass_rate': value['passRate'],
77
+ };
78
+ }