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