testit-api-client 7.0.0-rc1 → 7.0.0-rc2

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 (493) hide show
  1. package/README.MD +8 -10
  2. package/dist/ApiClient.js +30 -23
  3. package/dist/api/AttachmentsApi.js +81 -52
  4. package/dist/api/AutoTestsApi.js +360 -196
  5. package/dist/api/BackgroundJobsApi.js +97 -62
  6. package/dist/api/ConfigurationsApi.js +189 -119
  7. package/dist/api/CustomAttributeTemplatesApi.js +149 -90
  8. package/dist/api/CustomAttributesApi.js +98 -63
  9. package/dist/api/ExternalIssuesApi.js +19 -14
  10. package/dist/api/NotificationsApi.js +91 -52
  11. package/dist/api/ParametersApi.js +264 -149
  12. package/dist/api/ProjectAttributeTemplatesApi.js +57 -32
  13. package/dist/api/ProjectAttributesApi.js +107 -62
  14. package/dist/api/ProjectConfigurationsApi.js +19 -14
  15. package/dist/api/ProjectSectionsApi.js +25 -14
  16. package/dist/api/ProjectSettingsApi.js +34 -23
  17. package/dist/api/ProjectTestPlanAttributesApi.js +90 -51
  18. package/dist/api/ProjectTestPlanTestPointsApi.js +38 -23
  19. package/dist/api/ProjectTestPlansApi.js +114 -63
  20. package/dist/api/ProjectWorkItemsApi.js +130 -64
  21. package/dist/api/ProjectsApi.js +422 -244
  22. package/dist/api/SearchApi.js +18 -14
  23. package/dist/api/SectionsApi.js +140 -79
  24. package/dist/api/TagsApi.js +108 -62
  25. package/dist/api/TestPlansApi.js +524 -299
  26. package/dist/api/TestPointsApi.js +72 -44
  27. package/dist/api/TestResultsApi.js +242 -149
  28. package/dist/api/TestRunsApi.js +379 -235
  29. package/dist/api/TestSuitesApi.js +211 -127
  30. package/dist/api/UsersApi.js +18 -14
  31. package/dist/api/WebhooksApi.js +157 -102
  32. package/dist/api/WebhooksLogsApi.js +52 -33
  33. package/dist/api/WorkItemsApi.js +450 -256
  34. package/dist/api/WorkItemsCommentsApi.js +78 -52
  35. package/dist/model/AIServiceModelApiResult.js +1 -1
  36. package/dist/model/AIServiceModelApiResultReply.js +1 -1
  37. package/dist/model/AssignAttachmentApiModel.js +1 -1
  38. package/dist/model/AssignIterationApiModel.js +1 -1
  39. package/dist/model/AttachmentApiResult.js +1 -1
  40. package/dist/model/AttachmentChangeViewModel.js +1 -1
  41. package/dist/model/AttachmentChangeViewModelArrayChangedFieldViewModel.js +1 -1
  42. package/dist/model/AttachmentModel.js +1 -1
  43. package/dist/model/AttachmentPutModel.js +1 -1
  44. package/dist/model/AttachmentPutModelAutoTestStepResultsModel.js +1 -1
  45. package/dist/model/AttachmentUpdateRequest.js +1 -1
  46. package/dist/model/AuditApiResult.js +1 -1
  47. package/dist/model/AutoTest.js +1 -1
  48. package/dist/model/AutoTestApiResult.js +1 -1
  49. package/dist/model/AutoTestAverageDurationApiResult.js +1 -1
  50. package/dist/model/AutoTestBulkDeleteApiModel.js +1 -1
  51. package/dist/model/AutoTestBulkDeleteApiResult.js +1 -1
  52. package/dist/model/AutoTestChangeViewModel.js +1 -1
  53. package/dist/model/AutoTestChangeViewModelArrayChangedFieldViewModel.js +1 -1
  54. package/dist/model/AutoTestClassCountApiModel.js +1 -1
  55. package/dist/model/AutoTestCreateApiModel.js +1 -1
  56. package/dist/model/AutoTestExtractionApiModel.js +1 -1
  57. package/dist/model/AutoTestFilterApiModel.js +1 -1
  58. package/dist/model/AutoTestFilterModel.js +1 -1
  59. package/dist/model/AutoTestFlakyBulkApiModel.js +1 -1
  60. package/dist/model/AutoTestIdModel.js +1 -1
  61. package/dist/model/AutoTestModel.js +1 -1
  62. package/dist/model/AutoTestModelV2GetModel.js +1 -1
  63. package/dist/model/AutoTestNamespaceApiResult.js +1 -1
  64. package/dist/model/AutoTestNamespaceCountApiModel.js +1 -1
  65. package/dist/model/AutoTestNamespacesCountResponse.js +1 -1
  66. package/dist/model/AutoTestProjectSettingsApiModel.js +1 -1
  67. package/dist/model/AutoTestProjectSettingsApiResult.js +1 -1
  68. package/dist/model/AutoTestResultHistoryApiResult.js +1 -1
  69. package/dist/model/AutoTestResultHistorySelectApiModel.js +1 -1
  70. package/dist/model/AutoTestResultReasonShort.js +1 -1
  71. package/dist/model/AutoTestResultReasonsCountItemModel.js +1 -1
  72. package/dist/model/AutoTestResultReasonsCountModel.js +1 -1
  73. package/dist/model/AutoTestResultsForTestRunModel.js +1 -1
  74. package/dist/model/AutoTestSearchApiModel.js +1 -1
  75. package/dist/model/AutoTestSearchIncludeApiModel.js +1 -1
  76. package/dist/model/AutoTestSelectApiModel.js +1 -1
  77. package/dist/model/AutoTestSelectModel.js +1 -1
  78. package/dist/model/AutoTestShortApiResult.js +1 -1
  79. package/dist/model/AutoTestStep.js +1 -1
  80. package/dist/model/AutoTestStepApiModel.js +1 -1
  81. package/dist/model/AutoTestStepApiResult.js +1 -1
  82. package/dist/model/AutoTestStepModel.js +1 -1
  83. package/dist/model/AutoTestStepResult.js +1 -1
  84. package/dist/model/AutoTestStepResultUpdateRequest.js +1 -1
  85. package/dist/model/AutoTestStepResultsApiResult.js +1 -1
  86. package/dist/model/AutoTestUpdateApiModel.js +1 -1
  87. package/dist/model/AutoTestWorkItemIdentifierApiResult.js +1 -1
  88. package/dist/model/AutoTestsExtractionModel.js +1 -1
  89. package/dist/model/AutotestResultReasonFilterModel.js +1 -1
  90. package/dist/model/AutotestResultReasonShortGetModel.js +1 -1
  91. package/dist/model/BackgroundJobAttachmentModel.js +1 -1
  92. package/dist/model/BackgroundJobFilterModel.js +1 -1
  93. package/dist/model/BackgroundJobGetModel.js +1 -1
  94. package/dist/model/BooleanChangedFieldViewModel.js +1 -1
  95. package/dist/model/BooleanNullableChangedFieldViewModel.js +1 -1
  96. package/dist/model/CollectionFilter.js +1 -1
  97. package/dist/model/CompositeFilter.js +1 -1
  98. package/dist/model/ConfigurationByParametersModel.js +1 -1
  99. package/dist/model/ConfigurationExtractionApiModel.js +1 -1
  100. package/dist/model/ConfigurationExtractionModel.js +1 -1
  101. package/dist/model/ConfigurationFilterApiModel.js +1 -1
  102. package/dist/model/ConfigurationFilterModel.js +1 -1
  103. package/dist/model/ConfigurationModel.js +1 -1
  104. package/dist/model/ConfigurationPostModel.js +1 -1
  105. package/dist/model/ConfigurationPutModel.js +1 -1
  106. package/dist/model/ConfigurationSelectApiModel.js +1 -1
  107. package/dist/model/ConfigurationSelectModel.js +1 -1
  108. package/dist/model/ConfigurationShort.js +1 -1
  109. package/dist/model/ConfigurationShortApiResult.js +1 -1
  110. package/dist/model/ConfigurationShortModel.js +1 -1
  111. package/dist/model/CreateDefectApiModel.js +1 -1
  112. package/dist/model/CreateEmptyTestRunApiModel.js +1 -1
  113. package/dist/model/CreateFailureCategoryApiModel.js +1 -1
  114. package/dist/model/CreateFailureClassRegexApiModel.js +1 -1
  115. package/dist/model/CreateLinkApiModel.js +1 -1
  116. package/dist/model/CreateParameterApiModel.js +1 -1
  117. package/dist/model/CreateProjectApiModel.js +1 -1
  118. package/dist/model/CreateProjectFailureCategoryApiModel.js +1 -1
  119. package/dist/model/CreateStepApiModel.js +1 -1
  120. package/dist/model/CreateTagApiModel.js +1 -1
  121. package/dist/model/CreateTestPlanApiModel.js +1 -1
  122. package/dist/model/CreateTestRunAndFillByAutoTestsApiModel.js +1 -1
  123. package/dist/model/CreateTestRunAndFillByConfigurationsApiModel.js +1 -1
  124. package/dist/model/CreateTestRunAndFillByWorkItemsApiModel.js +1 -1
  125. package/dist/model/CreateTestStatusApiModel.js +1 -1
  126. package/dist/model/CreateWorkItemApiModel.js +1 -1
  127. package/dist/model/CreateWorkItemPreviewsApiModel.js +1 -1
  128. package/dist/model/CreateWorkflowApiModel.js +1 -1
  129. package/dist/model/CustomAttributeApiResult.js +1 -1
  130. package/dist/model/CustomAttributeChangeModel.js +1 -1
  131. package/dist/model/CustomAttributeGetModel.js +1 -1
  132. package/dist/model/CustomAttributeModel.js +1 -1
  133. package/dist/model/CustomAttributeOptionApiResult.js +1 -1
  134. package/dist/model/CustomAttributeOptionModel.js +1 -1
  135. package/dist/model/CustomAttributeOptionPostModel.js +1 -1
  136. package/dist/model/CustomAttributePostModel.js +1 -1
  137. package/dist/model/CustomAttributePutModel.js +1 -1
  138. package/dist/model/CustomAttributeSearchQueryModel.js +1 -1
  139. package/dist/model/CustomAttributeSearchResponseModel.js +1 -1
  140. package/dist/model/CustomAttributeTemplateModel.js +1 -1
  141. package/dist/model/CustomAttributeTemplatePostModel.js +1 -1
  142. package/dist/model/CustomAttributeTemplatePutModel.js +1 -1
  143. package/dist/model/CustomAttributeTemplateSearchQueryModel.js +1 -1
  144. package/dist/model/CustomAttributeTemplateValidationResult.js +1 -1
  145. package/dist/model/CustomAttributeTestPlanProjectRelationPutModel.js +1 -1
  146. package/dist/model/CustomAttributeValidationResult.js +1 -1
  147. package/dist/model/DateTimeRangeSelectorModel.js +1 -1
  148. package/dist/model/DefectApiModel.js +1 -1
  149. package/dist/model/DemoProjectApiResult.js +1 -1
  150. package/dist/model/EnableProjectExternalServiceApiModel.js +1 -1
  151. package/dist/model/ExternalFormAllowedValueModel.js +1 -1
  152. package/dist/model/ExternalFormCreateModel.js +1 -1
  153. package/dist/model/ExternalFormFieldModel.js +1 -1
  154. package/dist/model/ExternalFormLinkModel.js +1 -1
  155. package/dist/model/ExternalFormModel.js +1 -1
  156. package/dist/model/ExternalIssueApiFieldSuggestion.js +1 -1
  157. package/dist/model/ExternalIssueApiFieldSuggestionReply.js +1 -1
  158. package/dist/model/ExternalIssueApiMetadata.js +1 -1
  159. package/dist/model/ExternalIssueApiPriority.js +1 -1
  160. package/dist/model/ExternalIssueApiResult.js +1 -1
  161. package/dist/model/ExternalIssueApiType.js +1 -1
  162. package/dist/model/ExternalIssueExternalServiceApiResult.js +1 -1
  163. package/dist/model/ExternalIssueMetadataModel.js +1 -1
  164. package/dist/model/ExternalIssueModel.js +1 -1
  165. package/dist/model/ExternalIssuePriorityModel.js +1 -1
  166. package/dist/model/ExternalIssueTypeModel.js +1 -1
  167. package/dist/model/ExternalLinkModel.js +1 -1
  168. package/dist/model/ExternalServiceMetadataApiResult.js +1 -1
  169. package/dist/model/ExternalServicesMetadataApiResult.js +1 -1
  170. package/dist/model/FailureCategoryApiResult.js +1 -1
  171. package/dist/model/FailureCategoryGroupApiModel.js +1 -1
  172. package/dist/model/FailureCategoryGroupApiResult.js +1 -1
  173. package/dist/model/FailureCategoryGroupItemApiResult.js +1 -1
  174. package/dist/model/FailureCategoryGroupItemApiResultReply.js +1 -1
  175. package/dist/model/FailureCategoryGroupSearchApiModel.js +1 -1
  176. package/dist/model/FailureCategoryItemApiResult.js +1 -1
  177. package/dist/model/FailureClassRegexApiResult.js +1 -1
  178. package/dist/model/Filter.js +1 -1
  179. package/dist/model/FilterModel.js +1 -1
  180. package/dist/model/GenerateWorkItemPreviewsApiModel.js +1 -1
  181. package/dist/model/GenerateWorkItemPreviewsApiResult.js +1 -1
  182. package/dist/model/GetAIServiceModelsApiModel.js +1 -1
  183. package/dist/model/GetExternalFormApiResult.js +1 -1
  184. package/dist/model/GetExternalIssueSuggestionsApiModel.js +1 -1
  185. package/dist/model/GetShortProjectsApiModel.js +1 -1
  186. package/dist/model/GetXlsxTestPointsByTestPlanModel.js +1 -1
  187. package/dist/model/GlobalCustomAttributePostModel.js +1 -1
  188. package/dist/model/GlobalCustomAttributeUpdateModel.js +1 -1
  189. package/dist/model/GlobalSearchItemResult.js +1 -1
  190. package/dist/model/GlobalSearchRequest.js +1 -1
  191. package/dist/model/GlobalSearchResponse.js +1 -1
  192. package/dist/model/GuidChangedFieldViewModel.js +1 -1
  193. package/dist/model/GuidExtractionModel.js +1 -1
  194. package/dist/model/IFilter.js +1 -1
  195. package/dist/model/Inquiry.js +1 -1
  196. package/dist/model/Int32ChangedFieldViewModel.js +1 -1
  197. package/dist/model/Int32RangeSelectorModel.js +1 -1
  198. package/dist/model/Int64ChangedFieldViewModel.js +1 -1
  199. package/dist/model/Int64RangeSelectorModel.js +1 -1
  200. package/dist/model/IterationApiResult.js +1 -1
  201. package/dist/model/IterationModel.js +1 -1
  202. package/dist/model/Label.js +1 -1
  203. package/dist/model/LabelApiModel.js +1 -1
  204. package/dist/model/LabelApiResult.js +1 -1
  205. package/dist/model/LabelShortModel.js +1 -1
  206. package/dist/model/LastTestResultApiResult.js +1 -1
  207. package/dist/model/LastTestResultModel.js +1 -1
  208. package/dist/model/Link.js +1 -1
  209. package/dist/model/LinkApiResult.js +1 -1
  210. package/dist/model/LinkCreateApiModel.js +1 -1
  211. package/dist/model/LinkModel.js +1 -1
  212. package/dist/model/LinkPostModel.js +1 -1
  213. package/dist/model/LinkPutModel.js +1 -1
  214. package/dist/model/LinkShort.js +1 -1
  215. package/dist/model/LinkShortApiResult.js +1 -1
  216. package/dist/model/LinkShortModel.js +1 -1
  217. package/dist/model/LinkUpdateApiModel.js +1 -1
  218. package/dist/model/ManualRerunApiResult.js +1 -1
  219. package/dist/model/ManualRerunSelectTestResultsApiModel.js +1 -1
  220. package/dist/model/ManualRerunTestResultApiModel.js +1 -1
  221. package/dist/model/NamedEntityApiModel.js +1 -1
  222. package/dist/model/NotificationModel.js +1 -1
  223. package/dist/model/NotificationQueryFilterModel.js +1 -1
  224. package/dist/model/Operation.js +1 -1
  225. package/dist/model/Order.js +1 -1
  226. package/dist/model/Page.js +1 -1
  227. package/dist/model/ParameterApiResult.js +1 -1
  228. package/dist/model/ParameterGroupApiResult.js +1 -1
  229. package/dist/model/ParameterGroupsFilterApiModel.js +1 -1
  230. package/dist/model/ParameterIterationModel.js +1 -1
  231. package/dist/model/ParameterShortApiResult.js +1 -1
  232. package/dist/model/ParameterShortModel.js +1 -1
  233. package/dist/model/ParametersFilterApiModel.js +1 -1
  234. package/dist/model/PeriodViewModel.js +1 -1
  235. package/dist/model/PeriodViewModelChangedFieldViewModel.js +1 -1
  236. package/dist/model/PreviewsIssueLinkApiModel.js +1 -1
  237. package/dist/model/PreviewsIssueLinkApiResult.js +1 -1
  238. package/dist/model/ProblemDetails.js +1 -1
  239. package/dist/model/ProjectApiResult.js +1 -1
  240. package/dist/model/ProjectAttributesFilterModel.js +1 -1
  241. package/dist/model/ProjectCustomAttributeTemplateGetModel.js +1 -1
  242. package/dist/model/ProjectCustomAttributesTemplatesFilterModel.js +1 -1
  243. package/dist/model/ProjectDetailedFailureCategoryApiResult.js +1 -1
  244. package/dist/model/ProjectExternalServiceApiResult.js +1 -1
  245. package/dist/model/ProjectExternalServiceSettingsApiResult.js +1 -1
  246. package/dist/model/ProjectExternalServicesApiResult.js +1 -1
  247. package/dist/model/ProjectExtractionModel.js +1 -1
  248. package/dist/model/ProjectFailureCategoryApiResult.js +1 -1
  249. package/dist/model/ProjectFailureCategoryGroupItemApiResult.js +1 -1
  250. package/dist/model/ProjectFailureCategoryGroupItemApiResultReply.js +1 -1
  251. package/dist/model/ProjectModel.js +1 -1
  252. package/dist/model/ProjectNameApiResult.js +1 -1
  253. package/dist/model/ProjectSelectModel.js +1 -1
  254. package/dist/model/ProjectShortApiResult.js +1 -1
  255. package/dist/model/ProjectShortApiResultReply.js +1 -1
  256. package/dist/model/ProjectShortModel.js +1 -1
  257. package/dist/model/ProjectShortestModel.js +1 -1
  258. package/dist/model/ProjectTestPlansFilterModel.js +1 -1
  259. package/dist/model/ProjectsFilterModel.js +1 -1
  260. package/dist/model/ReplaceProjectExternalServiceApiModel.js +1 -1
  261. package/dist/model/RerunTestResultApiResult.js +1 -1
  262. package/dist/model/RerunTestResultModel.js +1 -1
  263. package/dist/model/RerunsModel.js +1 -1
  264. package/dist/model/SearchCustomAttributeTemplateGetModel.js +1 -1
  265. package/dist/model/SearchExternalIssuesApiModel.js +1 -1
  266. package/dist/model/SearchTestRunsApiModel.js +1 -1
  267. package/dist/model/SearchTestStatusesApiModel.js +1 -1
  268. package/dist/model/SearchWebhooksQueryModel.js +1 -1
  269. package/dist/model/SearchWorkItemLinkUrlsApiResult.js +1 -1
  270. package/dist/model/SearchWorkflowProjectsApiModel.js +1 -1
  271. package/dist/model/SearchWorkflowsApiModel.js +1 -1
  272. package/dist/model/SectionModel.js +1 -1
  273. package/dist/model/SectionMoveModel.js +1 -1
  274. package/dist/model/SectionPostModel.js +1 -1
  275. package/dist/model/SectionPutModel.js +1 -1
  276. package/dist/model/SectionRenameModel.js +1 -1
  277. package/dist/model/SectionWithStepsModel.js +1 -1
  278. package/dist/model/SelectTagsApiModel.js +1 -1
  279. package/dist/model/SharedStepChangeViewModel.js +1 -1
  280. package/dist/model/SharedStepModel.js +1 -1
  281. package/dist/model/SharedStepReferenceModel.js +1 -1
  282. package/dist/model/SharedStepReferenceSectionModel.js +1 -1
  283. package/dist/model/SharedStepReferenceSectionsQueryFilterModel.js +1 -1
  284. package/dist/model/SharedStepReferencesQueryFilterModel.js +1 -1
  285. package/dist/model/SharedStepResultApiModel.js +1 -1
  286. package/dist/model/ShortConfiguration.js +1 -1
  287. package/dist/model/StepCommentApiModel.js +1 -1
  288. package/dist/model/StepModel.js +1 -1
  289. package/dist/model/StepPostModel.js +1 -1
  290. package/dist/model/StepPutModel.js +1 -1
  291. package/dist/model/StepResultApiModel.js +1 -1
  292. package/dist/model/StringArrayChangedFieldViewModel.js +1 -1
  293. package/dist/model/StringChangedFieldViewModel.js +1 -1
  294. package/dist/model/StringChangedFieldWithDiffsViewModel.js +1 -1
  295. package/dist/model/StringExtractionModel.js +1 -1
  296. package/dist/model/TagApiModel.js +1 -1
  297. package/dist/model/TagApiResult.js +1 -1
  298. package/dist/model/TagModel.js +1 -1
  299. package/dist/model/TagShortApiResult.js +1 -1
  300. package/dist/model/TagsExtractionApiModel.js +1 -1
  301. package/dist/model/TagsFilterApiModel.js +1 -1
  302. package/dist/model/TestPlanApiResult.js +1 -1
  303. package/dist/model/TestPlanChangeModel.js +1 -1
  304. package/dist/model/TestPlanChangedFieldsViewModel.js +1 -1
  305. package/dist/model/TestPlanExtractionModel.js +1 -1
  306. package/dist/model/TestPlanGroupByStatus.js +1 -1
  307. package/dist/model/TestPlanGroupByStatusCode.js +1 -1
  308. package/dist/model/TestPlanGroupByStatusType.js +1 -1
  309. package/dist/model/TestPlanGroupByTestSuite.js +1 -1
  310. package/dist/model/TestPlanGroupByTester.js +1 -1
  311. package/dist/model/TestPlanGroupByTesterAndStatus.js +1 -1
  312. package/dist/model/TestPlanGroupByTesterAndStatusCode.js +1 -1
  313. package/dist/model/TestPlanLink.js +1 -1
  314. package/dist/model/TestPlanModel.js +1 -1
  315. package/dist/model/TestPlanSelectModel.js +1 -1
  316. package/dist/model/TestPlanShortModel.js +1 -1
  317. package/dist/model/TestPlanSummaryModel.js +1 -1
  318. package/dist/model/TestPlanTagApiResult.js +1 -1
  319. package/dist/model/TestPlanTestPointsAnalyticsApiModel.js +1 -1
  320. package/dist/model/TestPlanTestPointsAnalyticsApiResult.js +1 -1
  321. package/dist/model/TestPlanTestPointsApiModel.js +1 -1
  322. package/dist/model/TestPlanTestPointsAutoTestsRerunApiModel.js +1 -1
  323. package/dist/model/TestPlanTestPointsAutoTestsRunApiModel.js +1 -1
  324. package/dist/model/TestPlanTestPointsExtractionApiModel.js +1 -1
  325. package/dist/model/TestPlanTestPointsGroupApiModel.js +1 -1
  326. package/dist/model/TestPlanTestPointsGroupApiResult.js +1 -1
  327. package/dist/model/TestPlanTestPointsGroupSearchApiResult.js +1 -1
  328. package/dist/model/TestPlanTestPointsGroupSearchItemApiResult.js +1 -1
  329. package/dist/model/TestPlanTestPointsInquiryApiModel.js +1 -1
  330. package/dist/model/TestPlanTestPointsSearchApiModel.js +1 -1
  331. package/dist/model/TestPlanTestPointsSearchApiResult.js +1 -1
  332. package/dist/model/TestPlanTestPointsSearchStatusCountersApiResult.js +1 -1
  333. package/dist/model/TestPlanTestPointsSectionSearchApiResult.js +1 -1
  334. package/dist/model/TestPlanTestPointsSetTestersApiModel.js +1 -1
  335. package/dist/model/TestPlanTestPointsStatusCodeGroupApiResult.js +1 -1
  336. package/dist/model/TestPlanTestPointsStatusGroupApiResult.js +1 -1
  337. package/dist/model/TestPlanTestPointsStatusTypeGroupApiResult.js +1 -1
  338. package/dist/model/TestPlanTestPointsTestSuiteSearchApiResult.js +1 -1
  339. package/dist/model/TestPlanTestPointsTesterAndStatusGroupApiResult.js +1 -1
  340. package/dist/model/TestPlanTestPointsTesterAndStatusTypeGroupApiResult.js +1 -1
  341. package/dist/model/TestPlanTestPointsTesterGroupApiResult.js +1 -1
  342. package/dist/model/TestPlanTestPointsWorkItemSearchApiResult.js +1 -1
  343. package/dist/model/TestPlanWithAnalyticModel.js +1 -1
  344. package/dist/model/TestPlanWithTestSuiteTreeModel.js +1 -1
  345. package/dist/model/TestPoint.js +1 -1
  346. package/dist/model/TestPointAnalyticResult.js +1 -1
  347. package/dist/model/TestPointByTestSuiteModel.js +1 -1
  348. package/dist/model/TestPointChangeViewModel.js +1 -1
  349. package/dist/model/TestPointChangeViewModelChangedFieldViewModel.js +1 -1
  350. package/dist/model/TestPointFilterModel.js +1 -1
  351. package/dist/model/TestPointFilterRequestModel.js +1 -1
  352. package/dist/model/TestPointResultApiResult.js +1 -1
  353. package/dist/model/TestPointSelectModel.js +1 -1
  354. package/dist/model/TestPointSelector.js +1 -1
  355. package/dist/model/TestPointShortApiResult.js +1 -1
  356. package/dist/model/TestPointShortModel.js +1 -1
  357. package/dist/model/TestPointShortResponseModel.js +1 -1
  358. package/dist/model/TestPointWithLastResultResponseModel.js +1 -1
  359. package/dist/model/TestPointsExtractionModel.js +1 -1
  360. package/dist/model/TestResultApiResult.js +1 -1
  361. package/dist/model/TestResultChangeViewModel.js +1 -1
  362. package/dist/model/TestResultChangeViewModelChangedFieldViewModel.js +1 -1
  363. package/dist/model/TestResultChronologyModel.js +1 -1
  364. package/dist/model/TestResultFailureClassApiResult.js +1 -1
  365. package/dist/model/TestResultHistoryReportApiResult.js +1 -1
  366. package/dist/model/TestResultResponse.js +1 -1
  367. package/dist/model/TestResultShortApiResult.js +1 -1
  368. package/dist/model/TestResultShortResponse.js +1 -1
  369. package/dist/model/TestResultStepCommentUpdateRequest.js +1 -1
  370. package/dist/model/TestResultUpdateV2Request.js +1 -1
  371. package/dist/model/TestResultV2GetModel.js +1 -1
  372. package/dist/model/TestResultV2ShortModel.js +1 -1
  373. package/dist/model/TestResultsExtractionApiModel.js +1 -1
  374. package/dist/model/TestResultsFilterApiModel.js +1 -1
  375. package/dist/model/TestResultsLocalFilterModel.js +1 -1
  376. package/dist/model/TestResultsSelectApiModel.js +1 -1
  377. package/dist/model/TestResultsStatisticsApiResult.js +1 -1
  378. package/dist/model/TestResultsStatisticsFailureCategoriesApiResult.js +1 -1
  379. package/dist/model/TestResultsStatisticsStatusesApiResult.js +1 -1
  380. package/dist/model/TestRunAnalyticApiResult.js +1 -1
  381. package/dist/model/TestRunApiResult.js +1 -1
  382. package/dist/model/TestRunByAutoTestApiResult.js +1 -1
  383. package/dist/model/TestRunExtractionApiModel.js +1 -1
  384. package/dist/model/TestRunFilterApiModel.js +1 -1
  385. package/dist/model/TestRunGroupByFailureClassApiResult.js +1 -1
  386. package/dist/model/TestRunGroupByStatusApiResult.js +1 -1
  387. package/dist/model/TestRunGroupByStatusTypeApiResult.js +1 -1
  388. package/dist/model/TestRunNameApiResult.js +1 -1
  389. package/dist/model/TestRunSelectApiModel.js +1 -1
  390. package/dist/model/TestRunShortApiResult.js +1 -1
  391. package/dist/model/TestRunStatisticsFilterApiModel.js +1 -1
  392. package/dist/model/TestRunTestResultsPartialBulkSetModel.js +1 -1
  393. package/dist/model/TestRunTestResultsSelectModel.js +1 -1
  394. package/dist/model/TestRunV2ApiResult.js +1 -1
  395. package/dist/model/TestStatusApiResult.js +1 -1
  396. package/dist/model/TestStatusApiResultReply.js +1 -1
  397. package/dist/model/TestStatusModel.js +1 -1
  398. package/dist/model/TestStatusShortApiResult.js +1 -1
  399. package/dist/model/TestSuiteApiResult.js +1 -1
  400. package/dist/model/TestSuiteChangeViewModel.js +1 -1
  401. package/dist/model/TestSuiteChangeViewModelChangedFieldViewModel.js +1 -1
  402. package/dist/model/TestSuiteHierarchyApiResult.js +1 -1
  403. package/dist/model/TestSuiteTestPlanApiModel.js +1 -1
  404. package/dist/model/TestSuiteV2GetModel.js +1 -1
  405. package/dist/model/TestSuiteV2PostModel.js +1 -1
  406. package/dist/model/TestSuiteV2PutModel.js +1 -1
  407. package/dist/model/TestSuiteWithChildrenModel.js +1 -1
  408. package/dist/model/TestSuiteWorkItemsSearchModel.js +1 -1
  409. package/dist/model/UpdateEmptyTestRunApiModel.js +1 -1
  410. package/dist/model/UpdateFailureCategoryApiModel.js +1 -1
  411. package/dist/model/UpdateFailureCategoryProjectApiModel.js +1 -1
  412. package/dist/model/UpdateFailureClassRegexApiModel.js +1 -1
  413. package/dist/model/UpdateLinkApiModel.js +1 -1
  414. package/dist/model/UpdateMultipleAttachmentsApiModel.js +1 -1
  415. package/dist/model/UpdateMultipleLinksApiModel.js +1 -1
  416. package/dist/model/UpdateMultipleTestRunsApiModel.js +1 -1
  417. package/dist/model/UpdateParameterApiModel.js +1 -1
  418. package/dist/model/UpdateProjectApiModel.js +1 -1
  419. package/dist/model/UpdateStepApiModel.js +1 -1
  420. package/dist/model/UpdateTagApiModel.js +1 -1
  421. package/dist/model/UpdateTestPlanApiModel.js +1 -1
  422. package/dist/model/UpdateTestStatusApiModel.js +1 -1
  423. package/dist/model/UpdateWorkItemApiModel.js +1 -1
  424. package/dist/model/UpdateWorkflowApiModel.js +1 -1
  425. package/dist/model/UserCustomNameValidationResponse.js +1 -1
  426. package/dist/model/UserNameApiResult.js +1 -1
  427. package/dist/model/UserRankModel.js +1 -1
  428. package/dist/model/UserWithRankModel.js +1 -1
  429. package/dist/model/ValidationProblemDetails.js +1 -1
  430. package/dist/model/WebHookModel.js +1 -1
  431. package/dist/model/WebHookPostModel.js +1 -1
  432. package/dist/model/WebHookTestModel.js +1 -1
  433. package/dist/model/WebhookBulkUpdateApiModel.js +1 -1
  434. package/dist/model/WebhookLogApiResult.js +1 -1
  435. package/dist/model/WebhookResponse.js +1 -1
  436. package/dist/model/WebhooksDeleteApiModel.js +1 -1
  437. package/dist/model/WebhooksDeleteFilterApiModel.js +1 -1
  438. package/dist/model/WebhooksExtractionApiModel.js +1 -1
  439. package/dist/model/WebhooksFilterApiModel.js +1 -1
  440. package/dist/model/WebhooksUpdateApiModel.js +1 -1
  441. package/dist/model/WebhooksUpdateApiResult.js +1 -1
  442. package/dist/model/WorkItemApiResult.js +1 -1
  443. package/dist/model/WorkItemChangeModel.js +1 -1
  444. package/dist/model/WorkItemChangedAttributeViewModel.js +1 -1
  445. package/dist/model/WorkItemChangedFieldsViewModel.js +1 -1
  446. package/dist/model/WorkItemCommentModel.js +1 -1
  447. package/dist/model/WorkItemCommentPostModel.js +1 -1
  448. package/dist/model/WorkItemCommentPutModel.js +1 -1
  449. package/dist/model/WorkItemExternalMetadataFieldFilterApiModel.js +1 -1
  450. package/dist/model/WorkItemExternalMetadataFieldFilterModel.js +1 -1
  451. package/dist/model/WorkItemExternalMetadataFilterApiModel.js +1 -1
  452. package/dist/model/WorkItemExternalMetadataFilterModel.js +1 -1
  453. package/dist/model/WorkItemExtractionApiModel.js +1 -1
  454. package/dist/model/WorkItemExtractionModel.js +1 -1
  455. package/dist/model/WorkItemFilterApiModel.js +1 -1
  456. package/dist/model/WorkItemFilterModel.js +1 -1
  457. package/dist/model/WorkItemGroupGetModel.js +1 -1
  458. package/dist/model/WorkItemGroupModel.js +1 -1
  459. package/dist/model/WorkItemIdApiModel.js +1 -1
  460. package/dist/model/WorkItemIndexApiResult.js +1 -1
  461. package/dist/model/WorkItemLikeModel.js +1 -1
  462. package/dist/model/WorkItemLinkChangeViewModel.js +1 -1
  463. package/dist/model/WorkItemLinkChangeViewModelArrayChangedFieldViewModel.js +1 -1
  464. package/dist/model/WorkItemLinkExtractionApiModel.js +1 -1
  465. package/dist/model/WorkItemLinkFilterApiModel.js +1 -1
  466. package/dist/model/WorkItemLinkFilterModel.js +1 -1
  467. package/dist/model/WorkItemLinkUrlApiModel.js +1 -1
  468. package/dist/model/WorkItemLinkUrlApiResult.js +1 -1
  469. package/dist/model/WorkItemLinkUrlFilterApiModel.js +1 -1
  470. package/dist/model/WorkItemLocalFilterModel.js +1 -1
  471. package/dist/model/WorkItemLocalSelectModel.js +1 -1
  472. package/dist/model/WorkItemModel.js +1 -1
  473. package/dist/model/WorkItemMovePostModel.js +1 -1
  474. package/dist/model/WorkItemPreviewApiModel.js +1 -1
  475. package/dist/model/WorkItemPreviewStepApiModel.js +1 -1
  476. package/dist/model/WorkItemSearchQueryModel.js +1 -1
  477. package/dist/model/WorkItemSelectApiModel.js +1 -1
  478. package/dist/model/WorkItemSelectModel.js +1 -1
  479. package/dist/model/WorkItemShortApiResult.js +1 -1
  480. package/dist/model/WorkItemShortModel.js +1 -1
  481. package/dist/model/WorkItemStepChangeViewModel.js +1 -1
  482. package/dist/model/WorkItemStepChangeViewModelArrayChangedFieldWithDiffsViewModel.js +1 -1
  483. package/dist/model/WorkItemVersionModel.js +1 -1
  484. package/dist/model/WorkflowApiResult.js +1 -1
  485. package/dist/model/WorkflowExistsByNameApiResult.js +1 -1
  486. package/dist/model/WorkflowProjectApiResult.js +1 -1
  487. package/dist/model/WorkflowProjectApiResultApiCollectionPreview.js +1 -1
  488. package/dist/model/WorkflowProjectApiResultReply.js +1 -1
  489. package/dist/model/WorkflowShortApiResult.js +1 -1
  490. package/dist/model/WorkflowShortApiResultReply.js +1 -1
  491. package/dist/model/WorkflowStatusApiModel.js +1 -1
  492. package/dist/model/WorkflowStatusApiResult.js +1 -1
  493. package/package.json +1 -1
@@ -46,7 +46,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
46
46
  /**
47
47
  * TestRuns service.
48
48
  * @module api/TestRunsApi
49
- * @version 7.0.0-rc1
49
+ * @version 7.0.0-rc2
50
50
  */
51
51
  var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
52
52
  /**
@@ -61,25 +61,16 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
61
61
  this.apiClient = apiClient || _ApiClient["default"].instance;
62
62
  }
63
63
 
64
- /**
65
- * Callback function to receive the result of the apiV2TestRunsDelete operation.
66
- * @callback module:api/TestRunsApi~apiV2TestRunsDeleteCallback
67
- * @param {String} error Error message, if any.
68
- * @param {Number} data The data returned by the service call.
69
- * @param {String} response The complete HTTP response.
70
- */
71
-
72
64
  /**
73
65
  * Delete multiple test runs
74
66
  * Use case User sets selection parameters of test runs System search and delete collection of test runs System returns the number of deleted test runs
75
67
  * @param {Object} opts Optional parameters
76
68
  * @param {module:model/TestRunSelectApiModel} [testRunSelectApiModel]
77
- * @param {module:api/TestRunsApi~apiV2TestRunsDeleteCallback} callback The callback function, accepting three arguments: error, data, response
78
- * data is of type: {@link Number}
69
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Number} and HTTP response
79
70
  */
80
71
  return _createClass(TestRunsApi, [{
81
- key: "apiV2TestRunsDelete",
82
- value: function apiV2TestRunsDelete(opts, callback) {
72
+ key: "apiV2TestRunsDeleteWithHttpInfo",
73
+ value: function apiV2TestRunsDeleteWithHttpInfo(opts) {
83
74
  opts = opts || {};
84
75
  var postBody = opts['testRunSelectApiModel'];
85
76
  var pathParams = {};
@@ -90,26 +81,32 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
90
81
  var contentTypes = ['application/json'];
91
82
  var accepts = ['application/json'];
92
83
  var returnType = 'Number';
93
- return this.apiClient.callApi('/api/v2/testRuns', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
84
+ return this.apiClient.callApi('/api/v2/testRuns', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
94
85
  }
95
86
 
96
87
  /**
97
- * Callback function to receive the result of the apiV2TestRunsIdAutoTestsNamespacesGet operation.
98
- * @callback module:api/TestRunsApi~apiV2TestRunsIdAutoTestsNamespacesGetCallback
99
- * @param {String} error Error message, if any.
100
- * @param {module:model/AutoTestNamespacesCountResponse} data The data returned by the service call.
101
- * @param {String} response The complete HTTP response.
88
+ * Delete multiple test runs
89
+ * Use case User sets selection parameters of test runs System search and delete collection of test runs System returns the number of deleted test runs
90
+ * @param {Object} opts Optional parameters
91
+ * @param {module:model/TestRunSelectApiModel} opts.testRunSelectApiModel
92
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Number}
102
93
  */
94
+ }, {
95
+ key: "apiV2TestRunsDelete",
96
+ value: function apiV2TestRunsDelete(opts) {
97
+ return this.apiV2TestRunsDeleteWithHttpInfo(opts).then(function (response_and_data) {
98
+ return response_and_data.data;
99
+ });
100
+ }
103
101
 
104
102
  /**
105
103
  * Get autotest classes and namespaces in test run
106
104
  * @param {String} id
107
- * @param {module:api/TestRunsApi~apiV2TestRunsIdAutoTestsNamespacesGetCallback} callback The callback function, accepting three arguments: error, data, response
108
- * data is of type: {@link module:model/AutoTestNamespacesCountResponse}
105
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AutoTestNamespacesCountResponse} and HTTP response
109
106
  */
110
107
  }, {
111
- key: "apiV2TestRunsIdAutoTestsNamespacesGet",
112
- value: function apiV2TestRunsIdAutoTestsNamespacesGet(id, callback) {
108
+ key: "apiV2TestRunsIdAutoTestsNamespacesGetWithHttpInfo",
109
+ value: function apiV2TestRunsIdAutoTestsNamespacesGetWithHttpInfo(id) {
113
110
  var postBody = null;
114
111
  // verify the required parameter 'id' is set
115
112
  if (id === undefined || id === null) {
@@ -125,26 +122,31 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
125
122
  var contentTypes = [];
126
123
  var accepts = ['application/json'];
127
124
  var returnType = _AutoTestNamespacesCountResponse["default"];
128
- return this.apiClient.callApi('/api/v2/testRuns/{id}/autoTestsNamespaces', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
125
+ return this.apiClient.callApi('/api/v2/testRuns/{id}/autoTestsNamespaces', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
129
126
  }
130
127
 
131
128
  /**
132
- * Callback function to receive the result of the apiV2TestRunsIdDelete operation.
133
- * @callback module:api/TestRunsApi~apiV2TestRunsIdDeleteCallback
134
- * @param {String} error Error message, if any.
135
- * @param data This operation does not return a value.
136
- * @param {String} response The complete HTTP response.
129
+ * Get autotest classes and namespaces in test run
130
+ * @param {String} id
131
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AutoTestNamespacesCountResponse}
137
132
  */
133
+ }, {
134
+ key: "apiV2TestRunsIdAutoTestsNamespacesGet",
135
+ value: function apiV2TestRunsIdAutoTestsNamespacesGet(id) {
136
+ return this.apiV2TestRunsIdAutoTestsNamespacesGetWithHttpInfo(id).then(function (response_and_data) {
137
+ return response_and_data.data;
138
+ });
139
+ }
138
140
 
139
141
  /**
140
142
  * Delete test run
141
143
  * Use case User sets test run internal (guid format) identifier System search and delete test run
142
144
  * @param {String} id Test run internal (UUID) identifier
143
- * @param {module:api/TestRunsApi~apiV2TestRunsIdDeleteCallback} callback The callback function, accepting three arguments: error, data, response
145
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
144
146
  */
145
147
  }, {
146
- key: "apiV2TestRunsIdDelete",
147
- value: function apiV2TestRunsIdDelete(id, callback) {
148
+ key: "apiV2TestRunsIdDeleteWithHttpInfo",
149
+ value: function apiV2TestRunsIdDeleteWithHttpInfo(id) {
148
150
  var postBody = null;
149
151
  // verify the required parameter 'id' is set
150
152
  if (id === undefined || id === null) {
@@ -160,26 +162,32 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
160
162
  var contentTypes = [];
161
163
  var accepts = ['application/json'];
162
164
  var returnType = null;
163
- return this.apiClient.callApi('/api/v2/testRuns/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
165
+ return this.apiClient.callApi('/api/v2/testRuns/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
164
166
  }
165
167
 
166
168
  /**
167
- * Callback function to receive the result of the apiV2TestRunsIdPurgePost operation.
168
- * @callback module:api/TestRunsApi~apiV2TestRunsIdPurgePostCallback
169
- * @param {String} error Error message, if any.
170
- * @param data This operation does not return a value.
171
- * @param {String} response The complete HTTP response.
169
+ * Delete test run
170
+ * Use case User sets test run internal (guid format) identifier System search and delete test run
171
+ * @param {String} id Test run internal (UUID) identifier
172
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
172
173
  */
174
+ }, {
175
+ key: "apiV2TestRunsIdDelete",
176
+ value: function apiV2TestRunsIdDelete(id) {
177
+ return this.apiV2TestRunsIdDeleteWithHttpInfo(id).then(function (response_and_data) {
178
+ return response_and_data.data;
179
+ });
180
+ }
173
181
 
174
182
  /**
175
183
  * Permanently delete test run from archive
176
184
  * Use case User sets archived test run internal (guid format) identifier System search and purge archived test run
177
185
  * @param {String} id Test run internal (UUID) identifier
178
- * @param {module:api/TestRunsApi~apiV2TestRunsIdPurgePostCallback} callback The callback function, accepting three arguments: error, data, response
186
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
179
187
  */
180
188
  }, {
181
- key: "apiV2TestRunsIdPurgePost",
182
- value: function apiV2TestRunsIdPurgePost(id, callback) {
189
+ key: "apiV2TestRunsIdPurgePostWithHttpInfo",
190
+ value: function apiV2TestRunsIdPurgePostWithHttpInfo(id) {
183
191
  var postBody = null;
184
192
  // verify the required parameter 'id' is set
185
193
  if (id === undefined || id === null) {
@@ -195,28 +203,33 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
195
203
  var contentTypes = [];
196
204
  var accepts = ['application/json'];
197
205
  var returnType = null;
198
- return this.apiClient.callApi('/api/v2/testRuns/{id}/purge', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
206
+ return this.apiClient.callApi('/api/v2/testRuns/{id}/purge', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
199
207
  }
200
208
 
201
209
  /**
202
- * Callback function to receive the result of the apiV2TestRunsIdRerunsPost operation.
203
- * @callback module:api/TestRunsApi~apiV2TestRunsIdRerunsPostCallback
204
- * @param {String} error Error message, if any.
205
- * @param {module:model/ManualRerunApiResult} data The data returned by the service call.
206
- * @param {String} response The complete HTTP response.
210
+ * Permanently delete test run from archive
211
+ * Use case User sets archived test run internal (guid format) identifier System search and purge archived test run
212
+ * @param {String} id Test run internal (UUID) identifier
213
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
207
214
  */
215
+ }, {
216
+ key: "apiV2TestRunsIdPurgePost",
217
+ value: function apiV2TestRunsIdPurgePost(id) {
218
+ return this.apiV2TestRunsIdPurgePostWithHttpInfo(id).then(function (response_and_data) {
219
+ return response_and_data.data;
220
+ });
221
+ }
208
222
 
209
223
  /**
210
224
  * Manual autotests rerun in test run
211
225
  * @param {String} id
212
226
  * @param {Object} opts Optional parameters
213
227
  * @param {module:model/ManualRerunSelectTestResultsApiModel} [manualRerunSelectTestResultsApiModel]
214
- * @param {module:api/TestRunsApi~apiV2TestRunsIdRerunsPostCallback} callback The callback function, accepting three arguments: error, data, response
215
- * data is of type: {@link module:model/ManualRerunApiResult}
228
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ManualRerunApiResult} and HTTP response
216
229
  */
217
230
  }, {
218
- key: "apiV2TestRunsIdRerunsPost",
219
- value: function apiV2TestRunsIdRerunsPost(id, opts, callback) {
231
+ key: "apiV2TestRunsIdRerunsPostWithHttpInfo",
232
+ value: function apiV2TestRunsIdRerunsPostWithHttpInfo(id, opts) {
220
233
  opts = opts || {};
221
234
  var postBody = opts['manualRerunSelectTestResultsApiModel'];
222
235
  // verify the required parameter 'id' is set
@@ -233,26 +246,33 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
233
246
  var contentTypes = ['application/json'];
234
247
  var accepts = ['application/json'];
235
248
  var returnType = _ManualRerunApiResult["default"];
236
- return this.apiClient.callApi('/api/v2/testRuns/{id}/reruns', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
249
+ return this.apiClient.callApi('/api/v2/testRuns/{id}/reruns', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
237
250
  }
238
251
 
239
252
  /**
240
- * Callback function to receive the result of the apiV2TestRunsIdRestorePost operation.
241
- * @callback module:api/TestRunsApi~apiV2TestRunsIdRestorePostCallback
242
- * @param {String} error Error message, if any.
243
- * @param data This operation does not return a value.
244
- * @param {String} response The complete HTTP response.
253
+ * Manual autotests rerun in test run
254
+ * @param {String} id
255
+ * @param {Object} opts Optional parameters
256
+ * @param {module:model/ManualRerunSelectTestResultsApiModel} opts.manualRerunSelectTestResultsApiModel
257
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ManualRerunApiResult}
245
258
  */
259
+ }, {
260
+ key: "apiV2TestRunsIdRerunsPost",
261
+ value: function apiV2TestRunsIdRerunsPost(id, opts) {
262
+ return this.apiV2TestRunsIdRerunsPostWithHttpInfo(id, opts).then(function (response_and_data) {
263
+ return response_and_data.data;
264
+ });
265
+ }
246
266
 
247
267
  /**
248
268
  * Restore test run from the archive
249
269
  * Use case User sets archived test run internal (guid format) identifier System search and restore test run
250
270
  * @param {String} id Unique ID of the test run
251
- * @param {module:api/TestRunsApi~apiV2TestRunsIdRestorePostCallback} callback The callback function, accepting three arguments: error, data, response
271
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
252
272
  */
253
273
  }, {
254
- key: "apiV2TestRunsIdRestorePost",
255
- value: function apiV2TestRunsIdRestorePost(id, callback) {
274
+ key: "apiV2TestRunsIdRestorePostWithHttpInfo",
275
+ value: function apiV2TestRunsIdRestorePostWithHttpInfo(id) {
256
276
  var postBody = null;
257
277
  // verify the required parameter 'id' is set
258
278
  if (id === undefined || id === null) {
@@ -268,28 +288,33 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
268
288
  var contentTypes = [];
269
289
  var accepts = ['application/json'];
270
290
  var returnType = null;
271
- return this.apiClient.callApi('/api/v2/testRuns/{id}/restore', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
291
+ return this.apiClient.callApi('/api/v2/testRuns/{id}/restore', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
272
292
  }
273
293
 
274
294
  /**
275
- * Callback function to receive the result of the apiV2TestRunsIdStatisticsFilterPost operation.
276
- * @callback module:api/TestRunsApi~apiV2TestRunsIdStatisticsFilterPostCallback
277
- * @param {String} error Error message, if any.
278
- * @param {module:model/TestResultsStatisticsApiResult} data The data returned by the service call.
279
- * @param {String} response The complete HTTP response.
295
+ * Restore test run from the archive
296
+ * Use case User sets archived test run internal (guid format) identifier System search and restore test run
297
+ * @param {String} id Unique ID of the test run
298
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
280
299
  */
300
+ }, {
301
+ key: "apiV2TestRunsIdRestorePost",
302
+ value: function apiV2TestRunsIdRestorePost(id) {
303
+ return this.apiV2TestRunsIdRestorePostWithHttpInfo(id).then(function (response_and_data) {
304
+ return response_and_data.data;
305
+ });
306
+ }
281
307
 
282
308
  /**
283
309
  * Search for the test run test results and build statistics
284
310
  * @param {String} id Test run unique ID
285
311
  * @param {Object} opts Optional parameters
286
312
  * @param {module:model/TestRunStatisticsFilterApiModel} [testRunStatisticsFilterApiModel]
287
- * @param {module:api/TestRunsApi~apiV2TestRunsIdStatisticsFilterPostCallback} callback The callback function, accepting three arguments: error, data, response
288
- * data is of type: {@link module:model/TestResultsStatisticsApiResult}
313
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestResultsStatisticsApiResult} and HTTP response
289
314
  */
290
315
  }, {
291
- key: "apiV2TestRunsIdStatisticsFilterPost",
292
- value: function apiV2TestRunsIdStatisticsFilterPost(id, opts, callback) {
316
+ key: "apiV2TestRunsIdStatisticsFilterPostWithHttpInfo",
317
+ value: function apiV2TestRunsIdStatisticsFilterPostWithHttpInfo(id, opts) {
293
318
  opts = opts || {};
294
319
  var postBody = opts['testRunStatisticsFilterApiModel'];
295
320
  // verify the required parameter 'id' is set
@@ -306,26 +331,32 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
306
331
  var contentTypes = ['application/json'];
307
332
  var accepts = ['application/json'];
308
333
  var returnType = _TestResultsStatisticsApiResult["default"];
309
- return this.apiClient.callApi('/api/v2/testRuns/{id}/statistics/filter', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
334
+ return this.apiClient.callApi('/api/v2/testRuns/{id}/statistics/filter', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
310
335
  }
311
336
 
312
337
  /**
313
- * Callback function to receive the result of the apiV2TestRunsIdTestPointsResultsGet operation.
314
- * @callback module:api/TestRunsApi~apiV2TestRunsIdTestPointsResultsGetCallback
315
- * @param {String} error Error message, if any.
316
- * @param {Array.<module:model/TestPointResultApiResult>} data The data returned by the service call.
317
- * @param {String} response The complete HTTP response.
338
+ * Search for the test run test results and build statistics
339
+ * @param {String} id Test run unique ID
340
+ * @param {Object} opts Optional parameters
341
+ * @param {module:model/TestRunStatisticsFilterApiModel} opts.testRunStatisticsFilterApiModel
342
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestResultsStatisticsApiResult}
318
343
  */
344
+ }, {
345
+ key: "apiV2TestRunsIdStatisticsFilterPost",
346
+ value: function apiV2TestRunsIdStatisticsFilterPost(id, opts) {
347
+ return this.apiV2TestRunsIdStatisticsFilterPostWithHttpInfo(id, opts).then(function (response_and_data) {
348
+ return response_and_data.data;
349
+ });
350
+ }
319
351
 
320
352
  /**
321
353
  * Get test results from the test run grouped by test points
322
354
  * @param {String} id Test run unique ID
323
- * @param {module:api/TestRunsApi~apiV2TestRunsIdTestPointsResultsGetCallback} callback The callback function, accepting three arguments: error, data, response
324
- * data is of type: {@link Array.<module:model/TestPointResultApiResult>}
355
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestPointResultApiResult>} and HTTP response
325
356
  */
326
357
  }, {
327
- key: "apiV2TestRunsIdTestPointsResultsGet",
328
- value: function apiV2TestRunsIdTestPointsResultsGet(id, callback) {
358
+ key: "apiV2TestRunsIdTestPointsResultsGetWithHttpInfo",
359
+ value: function apiV2TestRunsIdTestPointsResultsGetWithHttpInfo(id) {
329
360
  var postBody = null;
330
361
  // verify the required parameter 'id' is set
331
362
  if (id === undefined || id === null) {
@@ -341,27 +372,32 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
341
372
  var contentTypes = [];
342
373
  var accepts = ['application/json'];
343
374
  var returnType = [_TestPointResultApiResult["default"]];
344
- return this.apiClient.callApi('/api/v2/testRuns/{id}/testPoints/results', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
375
+ return this.apiClient.callApi('/api/v2/testRuns/{id}/testPoints/results', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
345
376
  }
346
377
 
347
378
  /**
348
- * Callback function to receive the result of the apiV2TestRunsIdTestResultsBulkPut operation.
349
- * @callback module:api/TestRunsApi~apiV2TestRunsIdTestResultsBulkPutCallback
350
- * @param {String} error Error message, if any.
351
- * @param data This operation does not return a value.
352
- * @param {String} response The complete HTTP response.
379
+ * Get test results from the test run grouped by test points
380
+ * @param {String} id Test run unique ID
381
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestPointResultApiResult>}
353
382
  */
383
+ }, {
384
+ key: "apiV2TestRunsIdTestPointsResultsGet",
385
+ value: function apiV2TestRunsIdTestPointsResultsGet(id) {
386
+ return this.apiV2TestRunsIdTestPointsResultsGetWithHttpInfo(id).then(function (response_and_data) {
387
+ return response_and_data.data;
388
+ });
389
+ }
354
390
 
355
391
  /**
356
392
  * Partial edit of multiple test results in the test run
357
393
  * @param {String} id Test run unique ID
358
394
  * @param {Object} opts Optional parameters
359
395
  * @param {module:model/TestRunTestResultsPartialBulkSetModel} [testRunTestResultsPartialBulkSetModel]
360
- * @param {module:api/TestRunsApi~apiV2TestRunsIdTestResultsBulkPutCallback} callback The callback function, accepting three arguments: error, data, response
396
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
361
397
  */
362
398
  }, {
363
- key: "apiV2TestRunsIdTestResultsBulkPut",
364
- value: function apiV2TestRunsIdTestResultsBulkPut(id, opts, callback) {
399
+ key: "apiV2TestRunsIdTestResultsBulkPutWithHttpInfo",
400
+ value: function apiV2TestRunsIdTestResultsBulkPutWithHttpInfo(id, opts) {
365
401
  opts = opts || {};
366
402
  var postBody = opts['testRunTestResultsPartialBulkSetModel'];
367
403
  // verify the required parameter 'id' is set
@@ -378,26 +414,32 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
378
414
  var contentTypes = ['application/json'];
379
415
  var accepts = ['application/json'];
380
416
  var returnType = null;
381
- return this.apiClient.callApi('/api/v2/testRuns/{id}/testResults/bulk', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
417
+ return this.apiClient.callApi('/api/v2/testRuns/{id}/testResults/bulk', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
382
418
  }
383
419
 
384
420
  /**
385
- * Callback function to receive the result of the apiV2TestRunsIdTestResultsLastModifiedModificationDateGet operation.
386
- * @callback module:api/TestRunsApi~apiV2TestRunsIdTestResultsLastModifiedModificationDateGetCallback
387
- * @param {String} error Error message, if any.
388
- * @param {Date} data The data returned by the service call.
389
- * @param {String} response The complete HTTP response.
421
+ * Partial edit of multiple test results in the test run
422
+ * @param {String} id Test run unique ID
423
+ * @param {Object} opts Optional parameters
424
+ * @param {module:model/TestRunTestResultsPartialBulkSetModel} opts.testRunTestResultsPartialBulkSetModel
425
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
390
426
  */
427
+ }, {
428
+ key: "apiV2TestRunsIdTestResultsBulkPut",
429
+ value: function apiV2TestRunsIdTestResultsBulkPut(id, opts) {
430
+ return this.apiV2TestRunsIdTestResultsBulkPutWithHttpInfo(id, opts).then(function (response_and_data) {
431
+ return response_and_data.data;
432
+ });
433
+ }
391
434
 
392
435
  /**
393
436
  * Get modification date of last test result of the test run
394
437
  * @param {String} id Test run unique ID
395
- * @param {module:api/TestRunsApi~apiV2TestRunsIdTestResultsLastModifiedModificationDateGetCallback} callback The callback function, accepting three arguments: error, data, response
396
- * data is of type: {@link Date}
438
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Date} and HTTP response
397
439
  */
398
440
  }, {
399
- key: "apiV2TestRunsIdTestResultsLastModifiedModificationDateGet",
400
- value: function apiV2TestRunsIdTestResultsLastModifiedModificationDateGet(id, callback) {
441
+ key: "apiV2TestRunsIdTestResultsLastModifiedModificationDateGetWithHttpInfo",
442
+ value: function apiV2TestRunsIdTestResultsLastModifiedModificationDateGetWithHttpInfo(id) {
401
443
  var postBody = null;
402
444
  // verify the required parameter 'id' is set
403
445
  if (id === undefined || id === null) {
@@ -413,28 +455,32 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
413
455
  var contentTypes = [];
414
456
  var accepts = ['application/json'];
415
457
  var returnType = 'Date';
416
- return this.apiClient.callApi('/api/v2/testRuns/{id}/testResults/lastModified/modificationDate', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
458
+ return this.apiClient.callApi('/api/v2/testRuns/{id}/testResults/lastModified/modificationDate', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
417
459
  }
418
460
 
419
461
  /**
420
- * Callback function to receive the result of the apiV2TestRunsPurgeBulkPost operation.
421
- * @callback module:api/TestRunsApi~apiV2TestRunsPurgeBulkPostCallback
422
- * @param {String} error Error message, if any.
423
- * @param {Number} data The data returned by the service call.
424
- * @param {String} response The complete HTTP response.
462
+ * Get modification date of last test result of the test run
463
+ * @param {String} id Test run unique ID
464
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Date}
425
465
  */
466
+ }, {
467
+ key: "apiV2TestRunsIdTestResultsLastModifiedModificationDateGet",
468
+ value: function apiV2TestRunsIdTestResultsLastModifiedModificationDateGet(id) {
469
+ return this.apiV2TestRunsIdTestResultsLastModifiedModificationDateGetWithHttpInfo(id).then(function (response_and_data) {
470
+ return response_and_data.data;
471
+ });
472
+ }
426
473
 
427
474
  /**
428
475
  * Permanently delete multiple test runs from archive
429
476
  * Use case User sets selection parameters of archived test runs System search and delete collection of archived test runs System returns the number of deleted archived test runs
430
477
  * @param {Object} opts Optional parameters
431
478
  * @param {module:model/TestRunSelectApiModel} [testRunSelectApiModel]
432
- * @param {module:api/TestRunsApi~apiV2TestRunsPurgeBulkPostCallback} callback The callback function, accepting three arguments: error, data, response
433
- * data is of type: {@link Number}
479
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Number} and HTTP response
434
480
  */
435
481
  }, {
436
- key: "apiV2TestRunsPurgeBulkPost",
437
- value: function apiV2TestRunsPurgeBulkPost(opts, callback) {
482
+ key: "apiV2TestRunsPurgeBulkPostWithHttpInfo",
483
+ value: function apiV2TestRunsPurgeBulkPostWithHttpInfo(opts) {
438
484
  opts = opts || {};
439
485
  var postBody = opts['testRunSelectApiModel'];
440
486
  var pathParams = {};
@@ -445,28 +491,34 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
445
491
  var contentTypes = ['application/json'];
446
492
  var accepts = ['application/json'];
447
493
  var returnType = 'Number';
448
- return this.apiClient.callApi('/api/v2/testRuns/purge/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
494
+ return this.apiClient.callApi('/api/v2/testRuns/purge/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
449
495
  }
450
496
 
451
497
  /**
452
- * Callback function to receive the result of the apiV2TestRunsRestoreBulkPost operation.
453
- * @callback module:api/TestRunsApi~apiV2TestRunsRestoreBulkPostCallback
454
- * @param {String} error Error message, if any.
455
- * @param {Number} data The data returned by the service call.
456
- * @param {String} response The complete HTTP response.
498
+ * Permanently delete multiple test runs from archive
499
+ * Use case User sets selection parameters of archived test runs System search and delete collection of archived test runs System returns the number of deleted archived test runs
500
+ * @param {Object} opts Optional parameters
501
+ * @param {module:model/TestRunSelectApiModel} opts.testRunSelectApiModel
502
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Number}
457
503
  */
504
+ }, {
505
+ key: "apiV2TestRunsPurgeBulkPost",
506
+ value: function apiV2TestRunsPurgeBulkPost(opts) {
507
+ return this.apiV2TestRunsPurgeBulkPostWithHttpInfo(opts).then(function (response_and_data) {
508
+ return response_and_data.data;
509
+ });
510
+ }
458
511
 
459
512
  /**
460
513
  * Restore multiple test runs from the archive
461
514
  * Use case User sets selection parameters of archived test runs System search and restore collection of archived test runs System returns the number of restored test runs
462
515
  * @param {Object} opts Optional parameters
463
516
  * @param {module:model/TestRunSelectApiModel} [testRunSelectApiModel]
464
- * @param {module:api/TestRunsApi~apiV2TestRunsRestoreBulkPostCallback} callback The callback function, accepting three arguments: error, data, response
465
- * data is of type: {@link Number}
517
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Number} and HTTP response
466
518
  */
467
519
  }, {
468
- key: "apiV2TestRunsRestoreBulkPost",
469
- value: function apiV2TestRunsRestoreBulkPost(opts, callback) {
520
+ key: "apiV2TestRunsRestoreBulkPostWithHttpInfo",
521
+ value: function apiV2TestRunsRestoreBulkPostWithHttpInfo(opts) {
470
522
  opts = opts || {};
471
523
  var postBody = opts['testRunSelectApiModel'];
472
524
  var pathParams = {};
@@ -477,16 +529,23 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
477
529
  var contentTypes = ['application/json'];
478
530
  var accepts = ['application/json'];
479
531
  var returnType = 'Number';
480
- return this.apiClient.callApi('/api/v2/testRuns/restore/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
532
+ return this.apiClient.callApi('/api/v2/testRuns/restore/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
481
533
  }
482
534
 
483
535
  /**
484
- * Callback function to receive the result of the apiV2TestRunsSearchPost operation.
485
- * @callback module:api/TestRunsApi~apiV2TestRunsSearchPostCallback
486
- * @param {String} error Error message, if any.
487
- * @param {Array.<module:model/TestRunShortApiResult>} data The data returned by the service call.
488
- * @param {String} response The complete HTTP response.
536
+ * Restore multiple test runs from the archive
537
+ * Use case User sets selection parameters of archived test runs System search and restore collection of archived test runs System returns the number of restored test runs
538
+ * @param {Object} opts Optional parameters
539
+ * @param {module:model/TestRunSelectApiModel} opts.testRunSelectApiModel
540
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Number}
489
541
  */
542
+ }, {
543
+ key: "apiV2TestRunsRestoreBulkPost",
544
+ value: function apiV2TestRunsRestoreBulkPost(opts) {
545
+ return this.apiV2TestRunsRestoreBulkPostWithHttpInfo(opts).then(function (response_and_data) {
546
+ return response_and_data.data;
547
+ });
548
+ }
490
549
 
491
550
  /**
492
551
  * Search for test runs
@@ -497,12 +556,11 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
497
556
  * @param {String} [searchField] Property name for searching
498
557
  * @param {String} [searchValue] Value for searching
499
558
  * @param {module:model/TestRunFilterApiModel} [testRunFilterApiModel]
500
- * @param {module:api/TestRunsApi~apiV2TestRunsSearchPostCallback} callback The callback function, accepting three arguments: error, data, response
501
- * data is of type: {@link Array.<module:model/TestRunShortApiResult>}
559
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestRunShortApiResult>} and HTTP response
502
560
  */
503
561
  }, {
504
- key: "apiV2TestRunsSearchPost",
505
- value: function apiV2TestRunsSearchPost(opts, callback) {
562
+ key: "apiV2TestRunsSearchPostWithHttpInfo",
563
+ value: function apiV2TestRunsSearchPostWithHttpInfo(opts) {
506
564
  opts = opts || {};
507
565
  var postBody = opts['testRunFilterApiModel'];
508
566
  var pathParams = {};
@@ -519,26 +577,37 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
519
577
  var contentTypes = ['application/json'];
520
578
  var accepts = ['application/json'];
521
579
  var returnType = [_TestRunShortApiResult["default"]];
522
- return this.apiClient.callApi('/api/v2/testRuns/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
580
+ return this.apiClient.callApi('/api/v2/testRuns/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
523
581
  }
524
582
 
525
583
  /**
526
- * Callback function to receive the result of the apiV2TestRunsUpdateMultiplePost operation.
527
- * @callback module:api/TestRunsApi~apiV2TestRunsUpdateMultiplePostCallback
528
- * @param {String} error Error message, if any.
529
- * @param data This operation does not return a value.
530
- * @param {String} response The complete HTTP response.
584
+ * Search for test runs
585
+ * @param {Object} opts Optional parameters
586
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
587
+ * @param {Number} opts.take Amount of items to be taken (limit)
588
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
589
+ * @param {String} opts.searchField Property name for searching
590
+ * @param {String} opts.searchValue Value for searching
591
+ * @param {module:model/TestRunFilterApiModel} opts.testRunFilterApiModel
592
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestRunShortApiResult>}
531
593
  */
594
+ }, {
595
+ key: "apiV2TestRunsSearchPost",
596
+ value: function apiV2TestRunsSearchPost(opts) {
597
+ return this.apiV2TestRunsSearchPostWithHttpInfo(opts).then(function (response_and_data) {
598
+ return response_and_data.data;
599
+ });
600
+ }
532
601
 
533
602
  /**
534
603
  * Update multiple test runs
535
604
  * @param {Object} opts Optional parameters
536
605
  * @param {module:model/UpdateMultipleTestRunsApiModel} [updateMultipleTestRunsApiModel]
537
- * @param {module:api/TestRunsApi~apiV2TestRunsUpdateMultiplePostCallback} callback The callback function, accepting three arguments: error, data, response
606
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
538
607
  */
539
608
  }, {
540
- key: "apiV2TestRunsUpdateMultiplePost",
541
- value: function apiV2TestRunsUpdateMultiplePost(opts, callback) {
609
+ key: "apiV2TestRunsUpdateMultiplePostWithHttpInfo",
610
+ value: function apiV2TestRunsUpdateMultiplePostWithHttpInfo(opts) {
542
611
  opts = opts || {};
543
612
  var postBody = opts['updateMultipleTestRunsApiModel'];
544
613
  var pathParams = {};
@@ -549,26 +618,32 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
549
618
  var contentTypes = ['application/json'];
550
619
  var accepts = ['application/json'];
551
620
  var returnType = null;
552
- return this.apiClient.callApi('/api/v2/testRuns/updateMultiple', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
621
+ return this.apiClient.callApi('/api/v2/testRuns/updateMultiple', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
553
622
  }
554
623
 
555
624
  /**
556
- * Callback function to receive the result of the completeTestRun operation.
557
- * @callback module:api/TestRunsApi~completeTestRunCallback
558
- * @param {String} error Error message, if any.
559
- * @param data This operation does not return a value.
560
- * @param {String} response The complete HTTP response.
625
+ * Update multiple test runs
626
+ * @param {Object} opts Optional parameters
627
+ * @param {module:model/UpdateMultipleTestRunsApiModel} opts.updateMultipleTestRunsApiModel
628
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
561
629
  */
630
+ }, {
631
+ key: "apiV2TestRunsUpdateMultiplePost",
632
+ value: function apiV2TestRunsUpdateMultiplePost(opts) {
633
+ return this.apiV2TestRunsUpdateMultiplePostWithHttpInfo(opts).then(function (response_and_data) {
634
+ return response_and_data.data;
635
+ });
636
+ }
562
637
 
563
638
  /**
564
639
  * Complete TestRun
565
640
  * Use case User sets test run identifier User runs method execution System completes test run System returns no content response
566
641
  * @param {String} id Test Run internal identifier (GUID format)
567
- * @param {module:api/TestRunsApi~completeTestRunCallback} callback The callback function, accepting three arguments: error, data, response
642
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
568
643
  */
569
644
  }, {
570
- key: "completeTestRun",
571
- value: function completeTestRun(id, callback) {
645
+ key: "completeTestRunWithHttpInfo",
646
+ value: function completeTestRunWithHttpInfo(id) {
572
647
  var postBody = null;
573
648
  // verify the required parameter 'id' is set
574
649
  if (id === undefined || id === null) {
@@ -584,28 +659,33 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
584
659
  var contentTypes = [];
585
660
  var accepts = ['application/json'];
586
661
  var returnType = null;
587
- return this.apiClient.callApi('/api/v2/testRuns/{id}/complete', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
662
+ return this.apiClient.callApi('/api/v2/testRuns/{id}/complete', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
588
663
  }
589
664
 
590
665
  /**
591
- * Callback function to receive the result of the createAndFillByAutoTests operation.
592
- * @callback module:api/TestRunsApi~createAndFillByAutoTestsCallback
593
- * @param {String} error Error message, if any.
594
- * @param {module:model/TestRunV2ApiResult} data The data returned by the service call.
595
- * @param {String} response The complete HTTP response.
666
+ * Complete TestRun
667
+ * Use case User sets test run identifier User runs method execution System completes test run System returns no content response
668
+ * @param {String} id Test Run internal identifier (GUID format)
669
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
596
670
  */
671
+ }, {
672
+ key: "completeTestRun",
673
+ value: function completeTestRun(id) {
674
+ return this.completeTestRunWithHttpInfo(id).then(function (response_and_data) {
675
+ return response_and_data.data;
676
+ });
677
+ }
597
678
 
598
679
  /**
599
680
  * Create test runs based on autotests and configurations
600
681
  * This method creates a test run based on an autotest and a configuration. The difference between the `POST /api/v2/testRuns/byWorkItems` and `POST /api/v2/testRuns/byConfigurations` methods is that in this method there is no need to create a test plan and work items (test cases and checklists).
601
682
  * @param {Object} opts Optional parameters
602
683
  * @param {module:model/CreateTestRunAndFillByAutoTestsApiModel} [createTestRunAndFillByAutoTestsApiModel]
603
- * @param {module:api/TestRunsApi~createAndFillByAutoTestsCallback} callback The callback function, accepting three arguments: error, data, response
604
- * data is of type: {@link module:model/TestRunV2ApiResult}
684
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestRunV2ApiResult} and HTTP response
605
685
  */
606
686
  }, {
607
- key: "createAndFillByAutoTests",
608
- value: function createAndFillByAutoTests(opts, callback) {
687
+ key: "createAndFillByAutoTestsWithHttpInfo",
688
+ value: function createAndFillByAutoTestsWithHttpInfo(opts) {
609
689
  opts = opts || {};
610
690
  var postBody = opts['createTestRunAndFillByAutoTestsApiModel'];
611
691
  var pathParams = {};
@@ -616,28 +696,34 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
616
696
  var contentTypes = ['application/json'];
617
697
  var accepts = ['application/json'];
618
698
  var returnType = _TestRunV2ApiResult["default"];
619
- return this.apiClient.callApi('/api/v2/testRuns/byAutoTests', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
699
+ return this.apiClient.callApi('/api/v2/testRuns/byAutoTests', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
620
700
  }
621
701
 
622
702
  /**
623
- * Callback function to receive the result of the createAndFillByConfigurations operation.
624
- * @callback module:api/TestRunsApi~createAndFillByConfigurationsCallback
625
- * @param {String} error Error message, if any.
626
- * @param {module:model/TestRunV2ApiResult} data The data returned by the service call.
627
- * @param {String} response The complete HTTP response.
703
+ * Create test runs based on autotests and configurations
704
+ * This method creates a test run based on an autotest and a configuration. The difference between the `POST /api/v2/testRuns/byWorkItems` and `POST /api/v2/testRuns/byConfigurations` methods is that in this method there is no need to create a test plan and work items (test cases and checklists).
705
+ * @param {Object} opts Optional parameters
706
+ * @param {module:model/CreateTestRunAndFillByAutoTestsApiModel} opts.createTestRunAndFillByAutoTestsApiModel
707
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestRunV2ApiResult}
628
708
  */
709
+ }, {
710
+ key: "createAndFillByAutoTests",
711
+ value: function createAndFillByAutoTests(opts) {
712
+ return this.createAndFillByAutoTestsWithHttpInfo(opts).then(function (response_and_data) {
713
+ return response_and_data.data;
714
+ });
715
+ }
629
716
 
630
717
  /**
631
718
  * Create test runs picking the needed test points
632
719
  * This method creates a test run based on a combination of a configuration and a work item(test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated. This method is different from the `POST /api/v2/testRuns/byWorkItems` method because of the ability to send a jagged array within the \"<b>testPointSelectors</b>\" parameter.
633
720
  * @param {Object} opts Optional parameters
634
721
  * @param {module:model/CreateTestRunAndFillByConfigurationsApiModel} [createTestRunAndFillByConfigurationsApiModel]
635
- * @param {module:api/TestRunsApi~createAndFillByConfigurationsCallback} callback The callback function, accepting three arguments: error, data, response
636
- * data is of type: {@link module:model/TestRunV2ApiResult}
722
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestRunV2ApiResult} and HTTP response
637
723
  */
638
724
  }, {
639
- key: "createAndFillByConfigurations",
640
- value: function createAndFillByConfigurations(opts, callback) {
725
+ key: "createAndFillByConfigurationsWithHttpInfo",
726
+ value: function createAndFillByConfigurationsWithHttpInfo(opts) {
641
727
  opts = opts || {};
642
728
  var postBody = opts['createTestRunAndFillByConfigurationsApiModel'];
643
729
  var pathParams = {};
@@ -648,28 +734,34 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
648
734
  var contentTypes = ['application/json'];
649
735
  var accepts = ['application/json'];
650
736
  var returnType = _TestRunV2ApiResult["default"];
651
- return this.apiClient.callApi('/api/v2/testRuns/byConfigurations', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
737
+ return this.apiClient.callApi('/api/v2/testRuns/byConfigurations', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
652
738
  }
653
739
 
654
740
  /**
655
- * Callback function to receive the result of the createAndFillByWorkItems operation.
656
- * @callback module:api/TestRunsApi~createAndFillByWorkItemsCallback
657
- * @param {String} error Error message, if any.
658
- * @param {module:model/TestRunV2ApiResult} data The data returned by the service call.
659
- * @param {String} response The complete HTTP response.
741
+ * Create test runs picking the needed test points
742
+ * This method creates a test run based on a combination of a configuration and a work item(test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated. This method is different from the `POST /api/v2/testRuns/byWorkItems` method because of the ability to send a jagged array within the \"<b>testPointSelectors</b>\" parameter.
743
+ * @param {Object} opts Optional parameters
744
+ * @param {module:model/CreateTestRunAndFillByConfigurationsApiModel} opts.createTestRunAndFillByConfigurationsApiModel
745
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestRunV2ApiResult}
660
746
  */
747
+ }, {
748
+ key: "createAndFillByConfigurations",
749
+ value: function createAndFillByConfigurations(opts) {
750
+ return this.createAndFillByConfigurationsWithHttpInfo(opts).then(function (response_and_data) {
751
+ return response_and_data.data;
752
+ });
753
+ }
661
754
 
662
755
  /**
663
756
  * Create test run based on configurations and work items
664
757
  * This method creates a test run based on a combination of configuration and work item (test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated.
665
758
  * @param {Object} opts Optional parameters
666
759
  * @param {module:model/CreateTestRunAndFillByWorkItemsApiModel} [createTestRunAndFillByWorkItemsApiModel]
667
- * @param {module:api/TestRunsApi~createAndFillByWorkItemsCallback} callback The callback function, accepting three arguments: error, data, response
668
- * data is of type: {@link module:model/TestRunV2ApiResult}
760
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestRunV2ApiResult} and HTTP response
669
761
  */
670
762
  }, {
671
- key: "createAndFillByWorkItems",
672
- value: function createAndFillByWorkItems(opts, callback) {
763
+ key: "createAndFillByWorkItemsWithHttpInfo",
764
+ value: function createAndFillByWorkItemsWithHttpInfo(opts) {
673
765
  opts = opts || {};
674
766
  var postBody = opts['createTestRunAndFillByWorkItemsApiModel'];
675
767
  var pathParams = {};
@@ -680,28 +772,34 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
680
772
  var contentTypes = ['application/json'];
681
773
  var accepts = ['application/json'];
682
774
  var returnType = _TestRunV2ApiResult["default"];
683
- return this.apiClient.callApi('/api/v2/testRuns/byWorkItems', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
775
+ return this.apiClient.callApi('/api/v2/testRuns/byWorkItems', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
684
776
  }
685
777
 
686
778
  /**
687
- * Callback function to receive the result of the createEmpty operation.
688
- * @callback module:api/TestRunsApi~createEmptyCallback
689
- * @param {String} error Error message, if any.
690
- * @param {module:model/TestRunV2ApiResult} data The data returned by the service call.
691
- * @param {String} response The complete HTTP response.
779
+ * Create test run based on configurations and work items
780
+ * This method creates a test run based on a combination of configuration and work item (test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated.
781
+ * @param {Object} opts Optional parameters
782
+ * @param {module:model/CreateTestRunAndFillByWorkItemsApiModel} opts.createTestRunAndFillByWorkItemsApiModel
783
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestRunV2ApiResult}
692
784
  */
785
+ }, {
786
+ key: "createAndFillByWorkItems",
787
+ value: function createAndFillByWorkItems(opts) {
788
+ return this.createAndFillByWorkItemsWithHttpInfo(opts).then(function (response_and_data) {
789
+ return response_and_data.data;
790
+ });
791
+ }
693
792
 
694
793
  /**
695
794
  * Create empty TestRun
696
795
  * Use case User sets test run model (listed in the request example) User runs method execution System creates test run System returns test run model
697
796
  * @param {Object} opts Optional parameters
698
797
  * @param {module:model/CreateEmptyTestRunApiModel} [createEmptyTestRunApiModel]
699
- * @param {module:api/TestRunsApi~createEmptyCallback} callback The callback function, accepting three arguments: error, data, response
700
- * data is of type: {@link module:model/TestRunV2ApiResult}
798
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestRunV2ApiResult} and HTTP response
701
799
  */
702
800
  }, {
703
- key: "createEmpty",
704
- value: function createEmpty(opts, callback) {
801
+ key: "createEmptyWithHttpInfo",
802
+ value: function createEmptyWithHttpInfo(opts) {
705
803
  opts = opts || {};
706
804
  var postBody = opts['createEmptyTestRunApiModel'];
707
805
  var pathParams = {};
@@ -712,27 +810,33 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
712
810
  var contentTypes = ['application/json'];
713
811
  var accepts = ['application/json'];
714
812
  var returnType = _TestRunV2ApiResult["default"];
715
- return this.apiClient.callApi('/api/v2/testRuns', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
813
+ return this.apiClient.callApi('/api/v2/testRuns', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
716
814
  }
717
815
 
718
816
  /**
719
- * Callback function to receive the result of the getTestRunById operation.
720
- * @callback module:api/TestRunsApi~getTestRunByIdCallback
721
- * @param {String} error Error message, if any.
722
- * @param {module:model/TestRunV2ApiResult} data The data returned by the service call.
723
- * @param {String} response The complete HTTP response.
817
+ * Create empty TestRun
818
+ * Use case User sets test run model (listed in the request example) User runs method execution System creates test run System returns test run model
819
+ * @param {Object} opts Optional parameters
820
+ * @param {module:model/CreateEmptyTestRunApiModel} opts.createEmptyTestRunApiModel
821
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestRunV2ApiResult}
724
822
  */
823
+ }, {
824
+ key: "createEmpty",
825
+ value: function createEmpty(opts) {
826
+ return this.createEmptyWithHttpInfo(opts).then(function (response_and_data) {
827
+ return response_and_data.data;
828
+ });
829
+ }
725
830
 
726
831
  /**
727
832
  * Get TestRun by Id
728
833
  * Use case User sets test run identifier User runs method execution System finds test run System returns test run
729
834
  * @param {String} id Test Run internal identifier (GUID format)
730
- * @param {module:api/TestRunsApi~getTestRunByIdCallback} callback The callback function, accepting three arguments: error, data, response
731
- * data is of type: {@link module:model/TestRunV2ApiResult}
835
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestRunV2ApiResult} and HTTP response
732
836
  */
733
837
  }, {
734
- key: "getTestRunById",
735
- value: function getTestRunById(id, callback) {
838
+ key: "getTestRunByIdWithHttpInfo",
839
+ value: function getTestRunByIdWithHttpInfo(id) {
736
840
  var postBody = null;
737
841
  // verify the required parameter 'id' is set
738
842
  if (id === undefined || id === null) {
@@ -748,16 +852,22 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
748
852
  var contentTypes = [];
749
853
  var accepts = ['application/json'];
750
854
  var returnType = _TestRunV2ApiResult["default"];
751
- return this.apiClient.callApi('/api/v2/testRuns/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
855
+ return this.apiClient.callApi('/api/v2/testRuns/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
752
856
  }
753
857
 
754
858
  /**
755
- * Callback function to receive the result of the setAutoTestResultsForTestRun operation.
756
- * @callback module:api/TestRunsApi~setAutoTestResultsForTestRunCallback
757
- * @param {String} error Error message, if any.
758
- * @param {Array.<String>} data The data returned by the service call.
759
- * @param {String} response The complete HTTP response.
859
+ * Get TestRun by Id
860
+ * Use case User sets test run identifier User runs method execution System finds test run System returns test run
861
+ * @param {String} id Test Run internal identifier (GUID format)
862
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestRunV2ApiResult}
760
863
  */
864
+ }, {
865
+ key: "getTestRunById",
866
+ value: function getTestRunById(id) {
867
+ return this.getTestRunByIdWithHttpInfo(id).then(function (response_and_data) {
868
+ return response_and_data.data;
869
+ });
870
+ }
761
871
 
762
872
  /**
763
873
  * Send test results to the test runs in the system
@@ -765,12 +875,11 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
765
875
  * @param {String} id Test Run internal identifier (GUID format)
766
876
  * @param {Object} opts Optional parameters
767
877
  * @param {Array.<module:model/AutoTestResultsForTestRunModel>} [autoTestResultsForTestRunModel]
768
- * @param {module:api/TestRunsApi~setAutoTestResultsForTestRunCallback} callback The callback function, accepting three arguments: error, data, response
769
- * data is of type: {@link Array.<String>}
878
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<String>} and HTTP response
770
879
  */
771
880
  }, {
772
- key: "setAutoTestResultsForTestRun",
773
- value: function setAutoTestResultsForTestRun(id, opts, callback) {
881
+ key: "setAutoTestResultsForTestRunWithHttpInfo",
882
+ value: function setAutoTestResultsForTestRunWithHttpInfo(id, opts) {
774
883
  opts = opts || {};
775
884
  var postBody = opts['autoTestResultsForTestRunModel'];
776
885
  // verify the required parameter 'id' is set
@@ -787,26 +896,34 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
787
896
  var contentTypes = ['application/json'];
788
897
  var accepts = ['application/json'];
789
898
  var returnType = ['String'];
790
- return this.apiClient.callApi('/api/v2/testRuns/{id}/testResults', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
899
+ return this.apiClient.callApi('/api/v2/testRuns/{id}/testResults', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
791
900
  }
792
901
 
793
902
  /**
794
- * Callback function to receive the result of the startTestRun operation.
795
- * @callback module:api/TestRunsApi~startTestRunCallback
796
- * @param {String} error Error message, if any.
797
- * @param data This operation does not return a value.
798
- * @param {String} response The complete HTTP response.
903
+ * Send test results to the test runs in the system
904
+ * This method sends test results to the test management system.
905
+ * @param {String} id Test Run internal identifier (GUID format)
906
+ * @param {Object} opts Optional parameters
907
+ * @param {Array.<module:model/AutoTestResultsForTestRunModel>} opts.autoTestResultsForTestRunModel
908
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<String>}
799
909
  */
910
+ }, {
911
+ key: "setAutoTestResultsForTestRun",
912
+ value: function setAutoTestResultsForTestRun(id, opts) {
913
+ return this.setAutoTestResultsForTestRunWithHttpInfo(id, opts).then(function (response_and_data) {
914
+ return response_and_data.data;
915
+ });
916
+ }
800
917
 
801
918
  /**
802
919
  * Start TestRun
803
920
  * Use case User sets test run identifier User runs method execution System starts test run System returns no content response
804
921
  * @param {String} id Test Run internal identifier (GUID format)
805
- * @param {module:api/TestRunsApi~startTestRunCallback} callback The callback function, accepting three arguments: error, data, response
922
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
806
923
  */
807
924
  }, {
808
- key: "startTestRun",
809
- value: function startTestRun(id, callback) {
925
+ key: "startTestRunWithHttpInfo",
926
+ value: function startTestRunWithHttpInfo(id) {
810
927
  var postBody = null;
811
928
  // verify the required parameter 'id' is set
812
929
  if (id === undefined || id === null) {
@@ -822,26 +939,32 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
822
939
  var contentTypes = [];
823
940
  var accepts = ['application/json'];
824
941
  var returnType = null;
825
- return this.apiClient.callApi('/api/v2/testRuns/{id}/start', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
942
+ return this.apiClient.callApi('/api/v2/testRuns/{id}/start', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
826
943
  }
827
944
 
828
945
  /**
829
- * Callback function to receive the result of the stopTestRun operation.
830
- * @callback module:api/TestRunsApi~stopTestRunCallback
831
- * @param {String} error Error message, if any.
832
- * @param data This operation does not return a value.
833
- * @param {String} response The complete HTTP response.
946
+ * Start TestRun
947
+ * Use case User sets test run identifier User runs method execution System starts test run System returns no content response
948
+ * @param {String} id Test Run internal identifier (GUID format)
949
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
834
950
  */
951
+ }, {
952
+ key: "startTestRun",
953
+ value: function startTestRun(id) {
954
+ return this.startTestRunWithHttpInfo(id).then(function (response_and_data) {
955
+ return response_and_data.data;
956
+ });
957
+ }
835
958
 
836
959
  /**
837
960
  * Stop TestRun
838
961
  * Use case User sets test run identifier User runs method execution System stops test run System returns no content response
839
962
  * @param {String} id Test Run internal identifier (GUID format)
840
- * @param {module:api/TestRunsApi~stopTestRunCallback} callback The callback function, accepting three arguments: error, data, response
963
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
841
964
  */
842
965
  }, {
843
- key: "stopTestRun",
844
- value: function stopTestRun(id, callback) {
966
+ key: "stopTestRunWithHttpInfo",
967
+ value: function stopTestRunWithHttpInfo(id) {
845
968
  var postBody = null;
846
969
  // verify the required parameter 'id' is set
847
970
  if (id === undefined || id === null) {
@@ -857,27 +980,33 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
857
980
  var contentTypes = [];
858
981
  var accepts = ['application/json'];
859
982
  var returnType = null;
860
- return this.apiClient.callApi('/api/v2/testRuns/{id}/stop', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
983
+ return this.apiClient.callApi('/api/v2/testRuns/{id}/stop', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
861
984
  }
862
985
 
863
986
  /**
864
- * Callback function to receive the result of the updateEmpty operation.
865
- * @callback module:api/TestRunsApi~updateEmptyCallback
866
- * @param {String} error Error message, if any.
867
- * @param data This operation does not return a value.
868
- * @param {String} response The complete HTTP response.
987
+ * Stop TestRun
988
+ * Use case User sets test run identifier User runs method execution System stops test run System returns no content response
989
+ * @param {String} id Test Run internal identifier (GUID format)
990
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
869
991
  */
992
+ }, {
993
+ key: "stopTestRun",
994
+ value: function stopTestRun(id) {
995
+ return this.stopTestRunWithHttpInfo(id).then(function (response_and_data) {
996
+ return response_and_data.data;
997
+ });
998
+ }
870
999
 
871
1000
  /**
872
1001
  * Update empty TestRun
873
1002
  * Use case User sets test run properties (listed in the request example) User runs method execution System updates test run System returns returns no content response
874
1003
  * @param {Object} opts Optional parameters
875
1004
  * @param {module:model/UpdateEmptyTestRunApiModel} [updateEmptyTestRunApiModel]
876
- * @param {module:api/TestRunsApi~updateEmptyCallback} callback The callback function, accepting three arguments: error, data, response
1005
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
877
1006
  */
878
1007
  }, {
879
- key: "updateEmpty",
880
- value: function updateEmpty(opts, callback) {
1008
+ key: "updateEmptyWithHttpInfo",
1009
+ value: function updateEmptyWithHttpInfo(opts) {
881
1010
  opts = opts || {};
882
1011
  var postBody = opts['updateEmptyTestRunApiModel'];
883
1012
  var pathParams = {};
@@ -888,7 +1017,22 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
888
1017
  var contentTypes = ['application/json'];
889
1018
  var accepts = ['application/json'];
890
1019
  var returnType = null;
891
- return this.apiClient.callApi('/api/v2/testRuns', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1020
+ return this.apiClient.callApi('/api/v2/testRuns', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1021
+ }
1022
+
1023
+ /**
1024
+ * Update empty TestRun
1025
+ * Use case User sets test run properties (listed in the request example) User runs method execution System updates test run System returns returns no content response
1026
+ * @param {Object} opts Optional parameters
1027
+ * @param {module:model/UpdateEmptyTestRunApiModel} opts.updateEmptyTestRunApiModel
1028
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1029
+ */
1030
+ }, {
1031
+ key: "updateEmpty",
1032
+ value: function updateEmpty(opts) {
1033
+ return this.updateEmptyWithHttpInfo(opts).then(function (response_and_data) {
1034
+ return response_and_data.data;
1035
+ });
892
1036
  }
893
1037
  }]);
894
1038
  }();