@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,67 @@
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 ReleaseMinified
16
+ */
17
+ export interface ReleaseMinified {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ReleaseMinified
22
+ */
23
+ id: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ReleaseMinified
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ReleaseMinified
34
+ */
35
+ status: ReleaseMinifiedStatusEnum;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ReleaseMinified
40
+ */
41
+ targetDate?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof ReleaseMinified
46
+ */
47
+ createdAt?: string;
48
+ }
49
+ /**
50
+ * @export
51
+ */
52
+ export declare const ReleaseMinifiedStatusEnum: {
53
+ readonly Planned: "planned";
54
+ readonly InProgress: "in_progress";
55
+ readonly Ready: "ready";
56
+ readonly Shipped: "shipped";
57
+ readonly Blocked: "blocked";
58
+ };
59
+ export type ReleaseMinifiedStatusEnum = typeof ReleaseMinifiedStatusEnum[keyof typeof ReleaseMinifiedStatusEnum];
60
+ /**
61
+ * Check if a given object implements the ReleaseMinified interface.
62
+ */
63
+ export declare function instanceOfReleaseMinified(value: object): value is ReleaseMinified;
64
+ export declare function ReleaseMinifiedFromJSON(json: any): ReleaseMinified;
65
+ export declare function ReleaseMinifiedFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReleaseMinified;
66
+ export declare function ReleaseMinifiedToJSON(json: any): ReleaseMinified;
67
+ export declare function ReleaseMinifiedToJSONTyped(value?: ReleaseMinified | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,65 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * TC API
5
+ * TestCollab is a test management tool that helps development teams carry out testing effectively and avoid failures. # Introduction This is an API documentation for TestCollab 2. # Authentication TestCollab supports two forms of authentication: - An <b>API token</b> is required to make API calls. The token can be generated from user\'s profile; to obtain it login to your TestCollab account and go to [\'My Profile Settings\'](https://testcollab.io/my_profile) and switch to API Token tab. Click on \"Generate new API token\", Once the token is generated it can be sent as a query parameter for the API calls made - https://api.testcollab.io/projects?token=<generated-API-token> - <b>Bearer authentication</b> (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. You can generate bearer auth token using [Login](#operation/login) API. Send this token as the Authorization header while making requests to protected resources: `Authorization: Bearer <token>` For making API calls, we recommend using the <b>API token</b> generated from user profile page as it won\'t affect the on-going user session and will be available until it is revoked by the user who generated it. # Error Handling Error responses - `Not Found` - Error is sent when requested resource is not available. - `Unauthorized - invalid token` - Error is sent when API token sent with the request is invalid or revoked. Error contains status code 401 - `Forbidden` - Error is sent when logged in user is not part of the company, project or his role does not allow to complete given action. Response consist of 403 status code and more information is given in error message.
6
+ *
7
+ * The version of the OpenAPI document: 2.3.1
8
+ * Contact: support@testcollab.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const ReleaseMinifiedStatusEnum = {
18
+ Planned: 'planned',
19
+ InProgress: 'in_progress',
20
+ Ready: 'ready',
21
+ Shipped: 'shipped',
22
+ Blocked: 'blocked'
23
+ };
24
+ /**
25
+ * Check if a given object implements the ReleaseMinified interface.
26
+ */
27
+ export function instanceOfReleaseMinified(value) {
28
+ if (!('id' in value) || value['id'] === undefined)
29
+ return false;
30
+ if (!('name' in value) || value['name'] === undefined)
31
+ return false;
32
+ if (!('status' in value) || value['status'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ export function ReleaseMinifiedFromJSON(json) {
37
+ return ReleaseMinifiedFromJSONTyped(json, false);
38
+ }
39
+ export function ReleaseMinifiedFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'id': json['id'],
45
+ 'name': json['name'],
46
+ 'status': json['status'],
47
+ 'targetDate': json['target_date'] == null ? undefined : json['target_date'],
48
+ 'createdAt': json['created_at'] == null ? undefined : json['created_at'],
49
+ };
50
+ }
51
+ export function ReleaseMinifiedToJSON(json) {
52
+ return ReleaseMinifiedToJSONTyped(json, false);
53
+ }
54
+ export function ReleaseMinifiedToJSONTyped(value, ignoreDiscriminator = false) {
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'id': value['id'],
60
+ 'name': value['name'],
61
+ 'status': value['status'],
62
+ 'target_date': value['targetDate'],
63
+ 'created_at': value['createdAt'],
64
+ };
65
+ }
@@ -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,75 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * TC API
5
+ * TestCollab is a test management tool that helps development teams carry out testing effectively and avoid failures. # Introduction This is an API documentation for TestCollab 2. # Authentication TestCollab supports two forms of authentication: - An <b>API token</b> is required to make API calls. The token can be generated from user\'s profile; to obtain it login to your TestCollab account and go to [\'My Profile Settings\'](https://testcollab.io/my_profile) and switch to API Token tab. Click on \"Generate new API token\", Once the token is generated it can be sent as a query parameter for the API calls made - https://api.testcollab.io/projects?token=<generated-API-token> - <b>Bearer authentication</b> (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. You can generate bearer auth token using [Login](#operation/login) API. Send this token as the Authorization header while making requests to protected resources: `Authorization: Bearer <token>` For making API calls, we recommend using the <b>API token</b> generated from user profile page as it won\'t affect the on-going user session and will be available until it is revoked by the user who generated it. # Error Handling Error responses - `Not Found` - Error is sent when requested resource is not available. - `Unauthorized - invalid token` - Error is sent when API token sent with the request is invalid or revoked. Error contains status code 401 - `Forbidden` - Error is sent when logged in user is not part of the company, project or his role does not allow to complete given action. Response consist of 403 status code and more information is given in error message.
6
+ *
7
+ * The version of the OpenAPI document: 2.3.1
8
+ * Contact: support@testcollab.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const ReleasePayloadStatusEnum = {
18
+ Planned: 'planned',
19
+ InProgress: 'in_progress',
20
+ Ready: 'ready',
21
+ Shipped: 'shipped',
22
+ Blocked: 'blocked'
23
+ };
24
+ /**
25
+ * Check if a given object implements the ReleasePayload interface.
26
+ */
27
+ export function instanceOfReleasePayload(value) {
28
+ if (!('name' in value) || value['name'] === undefined)
29
+ return false;
30
+ if (!('status' in value) || value['status'] === undefined)
31
+ return false;
32
+ if (!('project' in value) || value['project'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ export function ReleasePayloadFromJSON(json) {
37
+ return ReleasePayloadFromJSONTyped(json, false);
38
+ }
39
+ export function ReleasePayloadFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'name': json['name'],
45
+ 'description': json['description'] == null ? undefined : json['description'],
46
+ 'status': json['status'],
47
+ 'targetDate': json['target_date'] == null ? undefined : json['target_date'],
48
+ 'releaseDate': json['release_date'] == null ? undefined : json['release_date'],
49
+ 'goNoGoThreshold': json['go_no_go_threshold'] == null ? undefined : json['go_no_go_threshold'],
50
+ 'isPublic': json['is_public'] == null ? undefined : json['is_public'],
51
+ 'project': json['project'],
52
+ 'testPlans': json['test_plans'] == null ? undefined : json['test_plans'],
53
+ 'requirements': json['requirements'] == null ? undefined : json['requirements'],
54
+ };
55
+ }
56
+ export function ReleasePayloadToJSON(json) {
57
+ return ReleasePayloadToJSONTyped(json, false);
58
+ }
59
+ export function ReleasePayloadToJSONTyped(value, ignoreDiscriminator = false) {
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'name': value['name'],
65
+ 'description': value['description'],
66
+ 'status': value['status'],
67
+ 'target_date': value['targetDate'],
68
+ 'release_date': value['releaseDate'],
69
+ 'go_no_go_threshold': value['goNoGoThreshold'],
70
+ 'is_public': value['isPublic'],
71
+ 'project': value['project'],
72
+ 'test_plans': value['testPlans'],
73
+ 'requirements': value['requirements'],
74
+ };
75
+ }
@@ -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,79 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * TC API
5
+ * TestCollab is a test management tool that helps development teams carry out testing effectively and avoid failures. # Introduction This is an API documentation for TestCollab 2. # Authentication TestCollab supports two forms of authentication: - An <b>API token</b> is required to make API calls. The token can be generated from user\'s profile; to obtain it login to your TestCollab account and go to [\'My Profile Settings\'](https://testcollab.io/my_profile) and switch to API Token tab. Click on \"Generate new API token\", Once the token is generated it can be sent as a query parameter for the API calls made - https://api.testcollab.io/projects?token=<generated-API-token> - <b>Bearer authentication</b> (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. You can generate bearer auth token using [Login](#operation/login) API. Send this token as the Authorization header while making requests to protected resources: `Authorization: Bearer <token>` For making API calls, we recommend using the <b>API token</b> generated from user profile page as it won\'t affect the on-going user session and will be available until it is revoked by the user who generated it. # Error Handling Error responses - `Not Found` - Error is sent when requested resource is not available. - `Unauthorized - invalid token` - Error is sent when API token sent with the request is invalid or revoked. Error contains status code 401 - `Forbidden` - Error is sent when logged in user is not part of the company, project or his role does not allow to complete given action. Response consist of 403 status code and more information is given in error message.
6
+ *
7
+ * The version of the OpenAPI document: 2.3.1
8
+ * Contact: support@testcollab.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ReleaseReadinessConfigurationCoverageFromJSON, ReleaseReadinessConfigurationCoverageToJSON, } from './ReleaseReadinessConfigurationCoverage';
15
+ import { ReleaseReadinessCustomFieldCoverageFromJSON, ReleaseReadinessCustomFieldCoverageToJSON, } from './ReleaseReadinessCustomFieldCoverage';
16
+ import { ReleaseReadinessCoverageItemFromJSON, ReleaseReadinessCoverageItemToJSON, } from './ReleaseReadinessCoverageItem';
17
+ import { ReleaseReadinessTestPlanFromJSON, ReleaseReadinessTestPlanToJSON, } from './ReleaseReadinessTestPlan';
18
+ /**
19
+ * Check if a given object implements the ReleaseReadiness interface.
20
+ */
21
+ export function instanceOfReleaseReadiness(value) {
22
+ if (!('release' in value) || value['release'] === undefined)
23
+ return false;
24
+ if (!('summary' in value) || value['summary'] === undefined)
25
+ return false;
26
+ if (!('defects' in value) || value['defects'] === undefined)
27
+ return false;
28
+ if (!('coverage' in value) || value['coverage'] === undefined)
29
+ return false;
30
+ if (!('evidence' in value) || value['evidence'] === undefined)
31
+ return false;
32
+ if (!('verdict' in value) || value['verdict'] === undefined)
33
+ return false;
34
+ if (!('testPlans' in value) || value['testPlans'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ export function ReleaseReadinessFromJSON(json) {
39
+ return ReleaseReadinessFromJSONTyped(json, false);
40
+ }
41
+ export function ReleaseReadinessFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'release': json['release'],
47
+ 'summary': json['summary'],
48
+ 'defects': json['defects'],
49
+ 'coverage': (json['coverage'].map(ReleaseReadinessCoverageItemFromJSON)),
50
+ 'evidence': json['evidence'],
51
+ 'comparison': json['comparison'] == null ? undefined : json['comparison'],
52
+ 'verdict': json['verdict'],
53
+ 'testPlans': (json['test_plans'].map(ReleaseReadinessTestPlanFromJSON)),
54
+ 'requirementCoverage': json['requirement_coverage'] == null ? undefined : json['requirement_coverage'],
55
+ 'customFieldCoverage': json['custom_field_coverage'] == null ? undefined : (json['custom_field_coverage'].map(ReleaseReadinessCustomFieldCoverageFromJSON)),
56
+ 'configurationCoverage': json['configuration_coverage'] == null ? undefined : (json['configuration_coverage'].map(ReleaseReadinessConfigurationCoverageFromJSON)),
57
+ };
58
+ }
59
+ export function ReleaseReadinessToJSON(json) {
60
+ return ReleaseReadinessToJSONTyped(json, false);
61
+ }
62
+ export function ReleaseReadinessToJSONTyped(value, ignoreDiscriminator = false) {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+ return {
67
+ 'release': value['release'],
68
+ 'summary': value['summary'],
69
+ 'defects': value['defects'],
70
+ 'coverage': (value['coverage'].map(ReleaseReadinessCoverageItemToJSON)),
71
+ 'evidence': value['evidence'],
72
+ 'comparison': value['comparison'],
73
+ 'verdict': value['verdict'],
74
+ 'test_plans': (value['testPlans'].map(ReleaseReadinessTestPlanToJSON)),
75
+ 'requirement_coverage': value['requirementCoverage'],
76
+ 'custom_field_coverage': value['customFieldCoverage'] == null ? undefined : (value['customFieldCoverage'].map(ReleaseReadinessCustomFieldCoverageToJSON)),
77
+ 'configuration_coverage': value['configurationCoverage'] == null ? undefined : (value['configurationCoverage'].map(ReleaseReadinessConfigurationCoverageToJSON)),
78
+ };
79
+ }
@@ -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,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * TC API
5
+ * TestCollab is a test management tool that helps development teams carry out testing effectively and avoid failures. # Introduction This is an API documentation for TestCollab 2. # Authentication TestCollab supports two forms of authentication: - An <b>API token</b> is required to make API calls. The token can be generated from user\'s profile; to obtain it login to your TestCollab account and go to [\'My Profile Settings\'](https://testcollab.io/my_profile) and switch to API Token tab. Click on \"Generate new API token\", Once the token is generated it can be sent as a query parameter for the API calls made - https://api.testcollab.io/projects?token=<generated-API-token> - <b>Bearer authentication</b> (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens. You can generate bearer auth token using [Login](#operation/login) API. Send this token as the Authorization header while making requests to protected resources: `Authorization: Bearer <token>` For making API calls, we recommend using the <b>API token</b> generated from user profile page as it won\'t affect the on-going user session and will be available until it is revoked by the user who generated it. # Error Handling Error responses - `Not Found` - Error is sent when requested resource is not available. - `Unauthorized - invalid token` - Error is sent when API token sent with the request is invalid or revoked. Error contains status code 401 - `Forbidden` - Error is sent when logged in user is not part of the company, project or his role does not allow to complete given action. Response consist of 403 status code and more information is given in error message.
6
+ *
7
+ * The version of the OpenAPI document: 2.3.1
8
+ * Contact: support@testcollab.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the ReleaseReadinessComparison interface.
16
+ */
17
+ export function instanceOfReleaseReadinessComparison(value) {
18
+ return true;
19
+ }
20
+ export function ReleaseReadinessComparisonFromJSON(json) {
21
+ return ReleaseReadinessComparisonFromJSONTyped(json, false);
22
+ }
23
+ export function ReleaseReadinessComparisonFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'previousRelease': json['previous_release'] == null ? undefined : json['previous_release'],
29
+ 'previousPassRate': json['previous_pass_rate'] == null ? undefined : json['previous_pass_rate'],
30
+ 'passRateDelta': json['pass_rate_delta'] == null ? undefined : json['pass_rate_delta'],
31
+ 'previousOpenDefects': json['previous_open_defects'] == null ? undefined : json['previous_open_defects'],
32
+ };
33
+ }
34
+ export function ReleaseReadinessComparisonToJSON(json) {
35
+ return ReleaseReadinessComparisonToJSONTyped(json, false);
36
+ }
37
+ export function ReleaseReadinessComparisonToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'previous_release': value['previousRelease'],
43
+ 'previous_pass_rate': value['previousPassRate'],
44
+ 'pass_rate_delta': value['passRateDelta'],
45
+ 'previous_open_defects': value['previousOpenDefects'],
46
+ };
47
+ }