testit-api-client 7.0.0-rc1 → 7.0.0-rc3

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
@@ -44,7 +44,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
44
44
  /**
45
45
  * AutoTests service.
46
46
  * @module api/AutoTestsApi
47
- * @version 7.0.0-rc1
47
+ * @version 7.0.0-rc3
48
48
  */
49
49
  var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
50
50
  /**
@@ -59,24 +59,15 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
59
59
  this.apiClient = apiClient || _ApiClient["default"].instance;
60
60
  }
61
61
 
62
- /**
63
- * Callback function to receive the result of the apiV2AutoTestsDelete operation.
64
- * @callback module:api/AutoTestsApi~apiV2AutoTestsDeleteCallback
65
- * @param {String} error Error message, if any.
66
- * @param {module:model/AutoTestBulkDeleteApiResult} data The data returned by the service call.
67
- * @param {String} response The complete HTTP response.
68
- */
69
-
70
62
  /**
71
63
  * Delete autotests
72
64
  * @param {Object} opts Optional parameters
73
65
  * @param {module:model/AutoTestBulkDeleteApiModel} [autoTestBulkDeleteApiModel]
74
- * @param {module:api/AutoTestsApi~apiV2AutoTestsDeleteCallback} callback The callback function, accepting three arguments: error, data, response
75
- * data is of type: {@link module:model/AutoTestBulkDeleteApiResult}
66
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AutoTestBulkDeleteApiResult} and HTTP response
76
67
  */
77
68
  return _createClass(AutoTestsApi, [{
78
- key: "apiV2AutoTestsDelete",
79
- value: function apiV2AutoTestsDelete(opts, callback) {
69
+ key: "apiV2AutoTestsDeleteWithHttpInfo",
70
+ value: function apiV2AutoTestsDeleteWithHttpInfo(opts) {
80
71
  opts = opts || {};
81
72
  var postBody = opts['autoTestBulkDeleteApiModel'];
82
73
  var pathParams = {};
@@ -87,16 +78,22 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
87
78
  var contentTypes = ['application/json'];
88
79
  var accepts = ['application/json'];
89
80
  var returnType = _AutoTestBulkDeleteApiResult["default"];
90
- return this.apiClient.callApi('/api/v2/autoTests', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
81
+ return this.apiClient.callApi('/api/v2/autoTests', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
91
82
  }
92
83
 
93
84
  /**
94
- * Callback function to receive the result of the apiV2AutoTestsFlakyBulkPost operation.
95
- * @callback module:api/AutoTestsApi~apiV2AutoTestsFlakyBulkPostCallback
96
- * @param {String} error Error message, if any.
97
- * @param data This operation does not return a value.
98
- * @param {String} response The complete HTTP response.
85
+ * Delete autotests
86
+ * @param {Object} opts Optional parameters
87
+ * @param {module:model/AutoTestBulkDeleteApiModel} opts.autoTestBulkDeleteApiModel
88
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AutoTestBulkDeleteApiResult}
99
89
  */
90
+ }, {
91
+ key: "apiV2AutoTestsDelete",
92
+ value: function apiV2AutoTestsDelete(opts) {
93
+ return this.apiV2AutoTestsDeleteWithHttpInfo(opts).then(function (response_and_data) {
94
+ return response_and_data.data;
95
+ });
96
+ }
100
97
 
101
98
  /**
102
99
  * Set \"Flaky\" status for multiple autotests
@@ -108,11 +105,11 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
108
105
  * @param {String} [searchField] Property name for searching
109
106
  * @param {String} [searchValue] Value for searching
110
107
  * @param {module:model/AutoTestFlakyBulkApiModel} [autoTestFlakyBulkApiModel]
111
- * @param {module:api/AutoTestsApi~apiV2AutoTestsFlakyBulkPostCallback} callback The callback function, accepting three arguments: error, data, response
108
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
112
109
  */
113
110
  }, {
114
- key: "apiV2AutoTestsFlakyBulkPost",
115
- value: function apiV2AutoTestsFlakyBulkPost(opts, callback) {
111
+ key: "apiV2AutoTestsFlakyBulkPostWithHttpInfo",
112
+ value: function apiV2AutoTestsFlakyBulkPostWithHttpInfo(opts) {
116
113
  opts = opts || {};
117
114
  var postBody = opts['autoTestFlakyBulkApiModel'];
118
115
  var pathParams = {};
@@ -129,16 +126,28 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
129
126
  var contentTypes = ['application/json'];
130
127
  var accepts = ['application/json'];
131
128
  var returnType = null;
132
- return this.apiClient.callApi('/api/v2/autoTests/flaky/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
129
+ return this.apiClient.callApi('/api/v2/autoTests/flaky/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
133
130
  }
134
131
 
135
132
  /**
136
- * Callback function to receive the result of the apiV2AutoTestsIdPatch operation.
137
- * @callback module:api/AutoTestsApi~apiV2AutoTestsIdPatchCallback
138
- * @param {String} error Error message, if any.
139
- * @param data This operation does not return a value.
140
- * @param {String} response The complete HTTP response.
133
+ * Set \"Flaky\" status for multiple autotests
134
+ * User permissions for project: - Read only - Execute - Write - Full control
135
+ * @param {Object} opts Optional parameters
136
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
137
+ * @param {Number} opts.take Amount of items to be taken (limit)
138
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
139
+ * @param {String} opts.searchField Property name for searching
140
+ * @param {String} opts.searchValue Value for searching
141
+ * @param {module:model/AutoTestFlakyBulkApiModel} opts.autoTestFlakyBulkApiModel
142
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
141
143
  */
144
+ }, {
145
+ key: "apiV2AutoTestsFlakyBulkPost",
146
+ value: function apiV2AutoTestsFlakyBulkPost(opts) {
147
+ return this.apiV2AutoTestsFlakyBulkPostWithHttpInfo(opts).then(function (response_and_data) {
148
+ return response_and_data.data;
149
+ });
150
+ }
142
151
 
143
152
  /**
144
153
  * Patch auto test
@@ -146,11 +155,11 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
146
155
  * @param {String} id Global Id of auto test
147
156
  * @param {Object} opts Optional parameters
148
157
  * @param {Array.<module:model/Operation>} [operation]
149
- * @param {module:api/AutoTestsApi~apiV2AutoTestsIdPatchCallback} callback The callback function, accepting three arguments: error, data, response
158
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
150
159
  */
151
160
  }, {
152
- key: "apiV2AutoTestsIdPatch",
153
- value: function apiV2AutoTestsIdPatch(id, opts, callback) {
161
+ key: "apiV2AutoTestsIdPatchWithHttpInfo",
162
+ value: function apiV2AutoTestsIdPatchWithHttpInfo(id, opts) {
154
163
  opts = opts || {};
155
164
  var postBody = opts['operation'];
156
165
  // verify the required parameter 'id' is set
@@ -167,16 +176,24 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
167
176
  var contentTypes = ['application/json'];
168
177
  var accepts = ['application/json'];
169
178
  var returnType = null;
170
- return this.apiClient.callApi('/api/v2/autoTests/{id}', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
179
+ return this.apiClient.callApi('/api/v2/autoTests/{id}', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
171
180
  }
172
181
 
173
182
  /**
174
- * Callback function to receive the result of the apiV2AutoTestsIdTestResultsSearchPost operation.
175
- * @callback module:api/AutoTestsApi~apiV2AutoTestsIdTestResultsSearchPostCallback
176
- * @param {String} error Error message, if any.
177
- * @param {Array.<module:model/AutoTestResultHistoryApiResult>} data The data returned by the service call.
178
- * @param {String} response The complete HTTP response.
183
+ * Patch auto test
184
+ * See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details
185
+ * @param {String} id Global Id of auto test
186
+ * @param {Object} opts Optional parameters
187
+ * @param {Array.<module:model/Operation>} opts.operation
188
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
179
189
  */
190
+ }, {
191
+ key: "apiV2AutoTestsIdPatch",
192
+ value: function apiV2AutoTestsIdPatch(id, opts) {
193
+ return this.apiV2AutoTestsIdPatchWithHttpInfo(id, opts).then(function (response_and_data) {
194
+ return response_and_data.data;
195
+ });
196
+ }
180
197
 
181
198
  /**
182
199
  * Get test results history for autotest
@@ -189,12 +206,11 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
189
206
  * @param {String} [searchField] Property name for searching
190
207
  * @param {String} [searchValue] Value for searching
191
208
  * @param {module:model/AutoTestResultHistorySelectApiModel} [autoTestResultHistorySelectApiModel]
192
- * @param {module:api/AutoTestsApi~apiV2AutoTestsIdTestResultsSearchPostCallback} callback The callback function, accepting three arguments: error, data, response
193
- * data is of type: {@link Array.<module:model/AutoTestResultHistoryApiResult>}
209
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AutoTestResultHistoryApiResult>} and HTTP response
194
210
  */
195
211
  }, {
196
- key: "apiV2AutoTestsIdTestResultsSearchPost",
197
- value: function apiV2AutoTestsIdTestResultsSearchPost(id, opts, callback) {
212
+ key: "apiV2AutoTestsIdTestResultsSearchPostWithHttpInfo",
213
+ value: function apiV2AutoTestsIdTestResultsSearchPostWithHttpInfo(id, opts) {
198
214
  opts = opts || {};
199
215
  var postBody = opts['autoTestResultHistorySelectApiModel'];
200
216
  // verify the required parameter 'id' is set
@@ -217,27 +233,39 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
217
233
  var contentTypes = ['application/json'];
218
234
  var accepts = ['application/json'];
219
235
  var returnType = [_AutoTestResultHistoryApiResult["default"]];
220
- return this.apiClient.callApi('/api/v2/autoTests/{id}/testResults/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
236
+ return this.apiClient.callApi('/api/v2/autoTests/{id}/testResults/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
221
237
  }
222
238
 
223
239
  /**
224
- * Callback function to receive the result of the apiV2AutoTestsIdWorkItemsChangedIdGet operation.
225
- * @callback module:api/AutoTestsApi~apiV2AutoTestsIdWorkItemsChangedIdGetCallback
226
- * @param {String} error Error message, if any.
227
- * @param {Array.<String>} data The data returned by the service call.
228
- * @param {String} response The complete HTTP response.
240
+ * Get test results history for autotest
241
+ * Use case User sets autotest internal (guid format) or global (integer format) identifier User sets getTestResultHistoryReportQuery (listed in the example) User runs method execution System search for test results using filters set by user in getTestResultHistoryReportQuery and id System returns the enumeration of test results
242
+ * @param {String} id Autotest identifier
243
+ * @param {Object} opts Optional parameters
244
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
245
+ * @param {Number} opts.take Amount of items to be taken (limit)
246
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
247
+ * @param {String} opts.searchField Property name for searching
248
+ * @param {String} opts.searchValue Value for searching
249
+ * @param {module:model/AutoTestResultHistorySelectApiModel} opts.autoTestResultHistorySelectApiModel
250
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AutoTestResultHistoryApiResult>}
229
251
  */
252
+ }, {
253
+ key: "apiV2AutoTestsIdTestResultsSearchPost",
254
+ value: function apiV2AutoTestsIdTestResultsSearchPost(id, opts) {
255
+ return this.apiV2AutoTestsIdTestResultsSearchPostWithHttpInfo(id, opts).then(function (response_and_data) {
256
+ return response_and_data.data;
257
+ });
258
+ }
230
259
 
231
260
  /**
232
261
  * Get identifiers of changed linked work items
233
262
  * User permissions for project: - Read only - Execute - Write - Full control
234
263
  * @param {String} id
235
- * @param {module:api/AutoTestsApi~apiV2AutoTestsIdWorkItemsChangedIdGetCallback} callback The callback function, accepting three arguments: error, data, response
236
- * data is of type: {@link Array.<String>}
264
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<String>} and HTTP response
237
265
  */
238
266
  }, {
239
- key: "apiV2AutoTestsIdWorkItemsChangedIdGet",
240
- value: function apiV2AutoTestsIdWorkItemsChangedIdGet(id, callback) {
267
+ key: "apiV2AutoTestsIdWorkItemsChangedIdGetWithHttpInfo",
268
+ value: function apiV2AutoTestsIdWorkItemsChangedIdGetWithHttpInfo(id) {
241
269
  var postBody = null;
242
270
  // verify the required parameter 'id' is set
243
271
  if (id === undefined || id === null) {
@@ -253,27 +281,33 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
253
281
  var contentTypes = [];
254
282
  var accepts = ['application/json'];
255
283
  var returnType = ['String'];
256
- return this.apiClient.callApi('/api/v2/autoTests/{id}/workItems/changed/id', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
284
+ return this.apiClient.callApi('/api/v2/autoTests/{id}/workItems/changed/id', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
257
285
  }
258
286
 
259
287
  /**
260
- * Callback function to receive the result of the apiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePost operation.
261
- * @callback module:api/AutoTestsApi~apiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePostCallback
262
- * @param {String} error Error message, if any.
263
- * @param data This operation does not return a value.
264
- * @param {String} response The complete HTTP response.
288
+ * Get identifiers of changed linked work items
289
+ * User permissions for project: - Read only - Execute - Write - Full control
290
+ * @param {String} id
291
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<String>}
265
292
  */
293
+ }, {
294
+ key: "apiV2AutoTestsIdWorkItemsChangedIdGet",
295
+ value: function apiV2AutoTestsIdWorkItemsChangedIdGet(id) {
296
+ return this.apiV2AutoTestsIdWorkItemsChangedIdGetWithHttpInfo(id).then(function (response_and_data) {
297
+ return response_and_data.data;
298
+ });
299
+ }
266
300
 
267
301
  /**
268
302
  * Approve changes to work items linked to autotest
269
303
  * User permissions for project: - Read only - Execute - Write - Full control
270
304
  * @param {String} id
271
305
  * @param {String} workItemId
272
- * @param {module:api/AutoTestsApi~apiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePostCallback} callback The callback function, accepting three arguments: error, data, response
306
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
273
307
  */
274
308
  }, {
275
- key: "apiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePost",
276
- value: function apiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePost(id, workItemId, callback) {
309
+ key: "apiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePostWithHttpInfo",
310
+ value: function apiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePostWithHttpInfo(id, workItemId) {
277
311
  var postBody = null;
278
312
  // verify the required parameter 'id' is set
279
313
  if (id === undefined || id === null) {
@@ -294,16 +328,23 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
294
328
  var contentTypes = [];
295
329
  var accepts = ['application/json'];
296
330
  var returnType = null;
297
- return this.apiClient.callApi('/api/v2/autoTests/{id}/workItems/changed/{workItemId}/approve', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
331
+ return this.apiClient.callApi('/api/v2/autoTests/{id}/workItems/changed/{workItemId}/approve', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
298
332
  }
299
333
 
300
334
  /**
301
- * Callback function to receive the result of the apiV2AutoTestsSearchPost operation.
302
- * @callback module:api/AutoTestsApi~apiV2AutoTestsSearchPostCallback
303
- * @param {String} error Error message, if any.
304
- * @param {Array.<module:model/AutoTestApiResult>} data The data returned by the service call.
305
- * @param {String} response The complete HTTP response.
335
+ * Approve changes to work items linked to autotest
336
+ * User permissions for project: - Read only - Execute - Write - Full control
337
+ * @param {String} id
338
+ * @param {String} workItemId
339
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
306
340
  */
341
+ }, {
342
+ key: "apiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePost",
343
+ value: function apiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePost(id, workItemId) {
344
+ return this.apiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePostWithHttpInfo(id, workItemId).then(function (response_and_data) {
345
+ return response_and_data.data;
346
+ });
347
+ }
307
348
 
308
349
  /**
309
350
  * Search for autotests
@@ -314,12 +355,11 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
314
355
  * @param {String} [searchField] Property name for searching
315
356
  * @param {String} [searchValue] Value for searching
316
357
  * @param {module:model/AutoTestSearchApiModel} [autoTestSearchApiModel]
317
- * @param {module:api/AutoTestsApi~apiV2AutoTestsSearchPostCallback} callback The callback function, accepting three arguments: error, data, response
318
- * data is of type: {@link Array.<module:model/AutoTestApiResult>}
358
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AutoTestApiResult>} and HTTP response
319
359
  */
320
360
  }, {
321
- key: "apiV2AutoTestsSearchPost",
322
- value: function apiV2AutoTestsSearchPost(opts, callback) {
361
+ key: "apiV2AutoTestsSearchPostWithHttpInfo",
362
+ value: function apiV2AutoTestsSearchPostWithHttpInfo(opts) {
323
363
  opts = opts || {};
324
364
  var postBody = opts['autoTestSearchApiModel'];
325
365
  var pathParams = {};
@@ -336,28 +376,38 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
336
376
  var contentTypes = ['application/json'];
337
377
  var accepts = ['application/json'];
338
378
  var returnType = [_AutoTestApiResult["default"]];
339
- return this.apiClient.callApi('/api/v2/autoTests/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
379
+ return this.apiClient.callApi('/api/v2/autoTests/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
340
380
  }
341
381
 
342
382
  /**
343
- * Callback function to receive the result of the createAutoTest operation.
344
- * @callback module:api/AutoTestsApi~createAutoTestCallback
345
- * @param {String} error Error message, if any.
346
- * @param {module:model/AutoTestApiResult} data The data returned by the service call.
347
- * @param {String} response The complete HTTP response.
383
+ * Search for autotests
384
+ * @param {Object} opts Optional parameters
385
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
386
+ * @param {Number} opts.take Amount of items to be taken (limit)
387
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
388
+ * @param {String} opts.searchField Property name for searching
389
+ * @param {String} opts.searchValue Value for searching
390
+ * @param {module:model/AutoTestSearchApiModel} opts.autoTestSearchApiModel
391
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AutoTestApiResult>}
348
392
  */
393
+ }, {
394
+ key: "apiV2AutoTestsSearchPost",
395
+ value: function apiV2AutoTestsSearchPost(opts) {
396
+ return this.apiV2AutoTestsSearchPostWithHttpInfo(opts).then(function (response_and_data) {
397
+ return response_and_data.data;
398
+ });
399
+ }
349
400
 
350
401
  /**
351
402
  * Create autotest
352
403
  * This method creates a new autotest. To add an autotest to the test plan, link it to a work item using the `POST /api/v2/autoTests/{autoTestId}/workItems` method. Use the `POST /api/v2/testRuns/byAutoTests` method to run autotest outside the test plan.
353
404
  * @param {Object} opts Optional parameters
354
405
  * @param {module:model/AutoTestCreateApiModel} [autoTestCreateApiModel]
355
- * @param {module:api/AutoTestsApi~createAutoTestCallback} callback The callback function, accepting three arguments: error, data, response
356
- * data is of type: {@link module:model/AutoTestApiResult}
406
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AutoTestApiResult} and HTTP response
357
407
  */
358
408
  }, {
359
- key: "createAutoTest",
360
- value: function createAutoTest(opts, callback) {
409
+ key: "createAutoTestWithHttpInfo",
410
+ value: function createAutoTestWithHttpInfo(opts) {
361
411
  opts = opts || {};
362
412
  var postBody = opts['autoTestCreateApiModel'];
363
413
  var pathParams = {};
@@ -368,28 +418,34 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
368
418
  var contentTypes = ['application/json'];
369
419
  var accepts = ['application/json'];
370
420
  var returnType = _AutoTestApiResult["default"];
371
- return this.apiClient.callApi('/api/v2/autoTests', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
421
+ return this.apiClient.callApi('/api/v2/autoTests', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
372
422
  }
373
423
 
374
424
  /**
375
- * Callback function to receive the result of the createMultiple operation.
376
- * @callback module:api/AutoTestsApi~createMultipleCallback
377
- * @param {String} error Error message, if any.
378
- * @param {Array.<module:model/AutoTestApiResult>} data The data returned by the service call.
379
- * @param {String} response The complete HTTP response.
425
+ * Create autotest
426
+ * This method creates a new autotest. To add an autotest to the test plan, link it to a work item using the `POST /api/v2/autoTests/{autoTestId}/workItems` method. Use the `POST /api/v2/testRuns/byAutoTests` method to run autotest outside the test plan.
427
+ * @param {Object} opts Optional parameters
428
+ * @param {module:model/AutoTestCreateApiModel} opts.autoTestCreateApiModel
429
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AutoTestApiResult}
380
430
  */
431
+ }, {
432
+ key: "createAutoTest",
433
+ value: function createAutoTest(opts) {
434
+ return this.createAutoTestWithHttpInfo(opts).then(function (response_and_data) {
435
+ return response_and_data.data;
436
+ });
437
+ }
381
438
 
382
439
  /**
383
440
  * Create multiple autotests
384
441
  * Use case User sets autotest parameters (listed in the example) and runs method execution System creates autotest [Optional] If steps enumeration is set, system creates step items and relates them to autotest [Optional] If setup enumeration is set, system creates setup items and relates them to autotest [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest [Optional] If label enumeration is set, system creates labels and relates them to autotest [Optional] If link enumeration is set, system creates links and relates them to autotest System returns autotest model (example listed in response parameters)
385
442
  * @param {Object} opts Optional parameters
386
443
  * @param {Array.<module:model/AutoTestCreateApiModel>} [autoTestCreateApiModel]
387
- * @param {module:api/AutoTestsApi~createMultipleCallback} callback The callback function, accepting three arguments: error, data, response
388
- * data is of type: {@link Array.<module:model/AutoTestApiResult>}
444
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AutoTestApiResult>} and HTTP response
389
445
  */
390
446
  }, {
391
- key: "createMultiple",
392
- value: function createMultiple(opts, callback) {
447
+ key: "createMultipleWithHttpInfo",
448
+ value: function createMultipleWithHttpInfo(opts) {
393
449
  opts = opts || {};
394
450
  var postBody = opts['autoTestCreateApiModel'];
395
451
  var pathParams = {};
@@ -400,26 +456,33 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
400
456
  var contentTypes = ['application/json'];
401
457
  var accepts = ['application/json'];
402
458
  var returnType = [_AutoTestApiResult["default"]];
403
- return this.apiClient.callApi('/api/v2/autoTests/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
459
+ return this.apiClient.callApi('/api/v2/autoTests/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
404
460
  }
405
461
 
406
462
  /**
407
- * Callback function to receive the result of the deleteAutoTest operation.
408
- * @callback module:api/AutoTestsApi~deleteAutoTestCallback
409
- * @param {String} error Error message, if any.
410
- * @param data This operation does not return a value.
411
- * @param {String} response The complete HTTP response.
463
+ * Create multiple autotests
464
+ * Use case User sets autotest parameters (listed in the example) and runs method execution System creates autotest [Optional] If steps enumeration is set, system creates step items and relates them to autotest [Optional] If setup enumeration is set, system creates setup items and relates them to autotest [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest [Optional] If label enumeration is set, system creates labels and relates them to autotest [Optional] If link enumeration is set, system creates links and relates them to autotest System returns autotest model (example listed in response parameters)
465
+ * @param {Object} opts Optional parameters
466
+ * @param {Array.<module:model/AutoTestCreateApiModel>} opts.autoTestCreateApiModel
467
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AutoTestApiResult>}
412
468
  */
469
+ }, {
470
+ key: "createMultiple",
471
+ value: function createMultiple(opts) {
472
+ return this.createMultipleWithHttpInfo(opts).then(function (response_and_data) {
473
+ return response_and_data.data;
474
+ });
475
+ }
413
476
 
414
477
  /**
415
478
  * Delete autotest
416
479
  * Use case User sets autotest internal (guid format) or global (integer format) identifier and runs method execution System finds the autotest by the identifier System deletes autotest and returns no content response
417
480
  * @param {String} id Autotest internal (UUID) or global (integer) identifier
418
- * @param {module:api/AutoTestsApi~deleteAutoTestCallback} callback The callback function, accepting three arguments: error, data, response
481
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
419
482
  */
420
483
  }, {
421
- key: "deleteAutoTest",
422
- value: function deleteAutoTest(id, callback) {
484
+ key: "deleteAutoTestWithHttpInfo",
485
+ value: function deleteAutoTestWithHttpInfo(id) {
423
486
  var postBody = null;
424
487
  // verify the required parameter 'id' is set
425
488
  if (id === undefined || id === null) {
@@ -435,16 +498,22 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
435
498
  var contentTypes = [];
436
499
  var accepts = ['application/json'];
437
500
  var returnType = null;
438
- return this.apiClient.callApi('/api/v2/autoTests/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
501
+ return this.apiClient.callApi('/api/v2/autoTests/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
439
502
  }
440
503
 
441
504
  /**
442
- * Callback function to receive the result of the deleteAutoTestLinkFromWorkItem operation.
443
- * @callback module:api/AutoTestsApi~deleteAutoTestLinkFromWorkItemCallback
444
- * @param {String} error Error message, if any.
445
- * @param data This operation does not return a value.
446
- * @param {String} response The complete HTTP response.
505
+ * Delete autotest
506
+ * Use case User sets autotest internal (guid format) or global (integer format) identifier and runs method execution System finds the autotest by the identifier System deletes autotest and returns no content response
507
+ * @param {String} id Autotest internal (UUID) or global (integer) identifier
508
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
447
509
  */
510
+ }, {
511
+ key: "deleteAutoTest",
512
+ value: function deleteAutoTest(id) {
513
+ return this.deleteAutoTestWithHttpInfo(id).then(function (response_and_data) {
514
+ return response_and_data.data;
515
+ });
516
+ }
448
517
 
449
518
  /**
450
519
  * Unlink autotest from work item
@@ -452,11 +521,11 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
452
521
  * @param {String} id Autotest internal (UUID) or global (integer) identifier
453
522
  * @param {Object} opts Optional parameters
454
523
  * @param {String} [workItemId] Work item internal (UUID) or global (integer) identifier
455
- * @param {module:api/AutoTestsApi~deleteAutoTestLinkFromWorkItemCallback} callback The callback function, accepting three arguments: error, data, response
524
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
456
525
  */
457
526
  }, {
458
- key: "deleteAutoTestLinkFromWorkItem",
459
- value: function deleteAutoTestLinkFromWorkItem(id, opts, callback) {
527
+ key: "deleteAutoTestLinkFromWorkItemWithHttpInfo",
528
+ value: function deleteAutoTestLinkFromWorkItemWithHttpInfo(id, opts) {
460
529
  opts = opts || {};
461
530
  var postBody = null;
462
531
  // verify the required parameter 'id' is set
@@ -475,16 +544,24 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
475
544
  var contentTypes = [];
476
545
  var accepts = ['application/json'];
477
546
  var returnType = null;
478
- return this.apiClient.callApi('/api/v2/autoTests/{id}/workItems', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
547
+ return this.apiClient.callApi('/api/v2/autoTests/{id}/workItems', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
479
548
  }
480
549
 
481
550
  /**
482
- * Callback function to receive the result of the getAllAutoTests operation.
483
- * @callback module:api/AutoTestsApi~getAllAutoTestsCallback
484
- * @param {String} error Error message, if any.
485
- * @param {Array.<module:model/AutoTestModel>} data The data returned by the service call.
486
- * @param {String} response The complete HTTP response.
551
+ * Unlink autotest from work item
552
+ * Use case User sets autotest internal (guid format) or global (integer format) identifier [Optional] User sets workitem internal (guid format) or global (integer format) identifier User runs method execution System finds the autotest by the autotest identifier [Optional] if workitem id is set by User, System finds the workitem by the workitem identifier and unlinks it from autotest. [Optional] Otherwise, if workitem id is not specified, System unlinks all workitems linked to autotest. System returns no content response
553
+ * @param {String} id Autotest internal (UUID) or global (integer) identifier
554
+ * @param {Object} opts Optional parameters
555
+ * @param {String} opts.workItemId Work item internal (UUID) or global (integer) identifier
556
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
487
557
  */
558
+ }, {
559
+ key: "deleteAutoTestLinkFromWorkItem",
560
+ value: function deleteAutoTestLinkFromWorkItem(id, opts) {
561
+ return this.deleteAutoTestLinkFromWorkItemWithHttpInfo(id, opts).then(function (response_and_data) {
562
+ return response_and_data.data;
563
+ });
564
+ }
488
565
 
489
566
  /**
490
567
  * @param {Object} opts Optional parameters
@@ -514,12 +591,11 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
514
591
  * @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
515
592
  * @param {String} [searchField] Property name for searching
516
593
  * @param {String} [searchValue] Value for searching
517
- * @param {module:api/AutoTestsApi~getAllAutoTestsCallback} callback The callback function, accepting three arguments: error, data, response
518
- * data is of type: {@link Array.<module:model/AutoTestModel>}
594
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AutoTestModel>} and HTTP response
519
595
  */
520
596
  }, {
521
- key: "getAllAutoTests",
522
- value: function getAllAutoTests(opts, callback) {
597
+ key: "getAllAutoTestsWithHttpInfo",
598
+ value: function getAllAutoTestsWithHttpInfo(opts) {
523
599
  opts = opts || {};
524
600
  var postBody = null;
525
601
  var pathParams = {};
@@ -557,27 +633,56 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
557
633
  var contentTypes = [];
558
634
  var accepts = ['application/json'];
559
635
  var returnType = [_AutoTestModel["default"]];
560
- return this.apiClient.callApi('/api/v2/autoTests', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
636
+ return this.apiClient.callApi('/api/v2/autoTests', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
561
637
  }
562
638
 
563
639
  /**
564
- * Callback function to receive the result of the getAutoTestAverageDuration operation.
565
- * @callback module:api/AutoTestsApi~getAutoTestAverageDurationCallback
566
- * @param {String} error Error message, if any.
567
- * @param {module:model/AutoTestAverageDurationApiResult} data The data returned by the service call.
568
- * @param {String} response The complete HTTP response.
640
+ * @param {Object} opts Optional parameters
641
+ * @param {String} opts.projectId Project internal ID
642
+ * @param {String} opts.externalId Autotest external ID
643
+ * @param {Number} opts.globalId Autotest global ID
644
+ * @param {String} opts.namespace Namespace in which autotest is located
645
+ * @param {Boolean} opts.isNamespaceNull OBSOLETE: Use `includeEmptyNamespaces` instead
646
+ * @param {Boolean} opts.includeEmptyNamespaces If result must contain autotests without namespace
647
+ * @param {String} opts.className Name of class in which autotest is located
648
+ * @param {Boolean} opts.isClassnameNull OBSOLETE: Use `includeEmptyClassNames` instead
649
+ * @param {Boolean} opts.includeEmptyClassNames If result must contain autotests without class
650
+ * @param {Boolean} opts.isDeleted OBSOLETE: Use `deleted` instead
651
+ * @param {Boolean} opts.deleted Is autotest deleted
652
+ * @param {Array.<String>} opts.labels Include only autotests with provided labels
653
+ * @param {Number} opts.stabilityMinimal OBSOLETE: Use `minStability` instead
654
+ * @param {Number} opts.minStability Minimum stability value of autotest
655
+ * @param {Number} opts.stabilityMaximal OBSOLETE: Use `maxStability` instead
656
+ * @param {Number} opts.maxStability Maximum stability value of autotest
657
+ * @param {Boolean} opts.isFlaky OBSOLETE: Use `flaky` instead
658
+ * @param {Boolean} opts.flaky Is autotest marked as \"Flaky\"
659
+ * @param {Boolean} opts.includeSteps If result must also include autotest steps
660
+ * @param {Boolean} opts.includeLabels If result must also include autotest labels
661
+ * @param {String} opts.externalKey External key of autotest
662
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
663
+ * @param {Number} opts.take Amount of items to be taken (limit)
664
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
665
+ * @param {String} opts.searchField Property name for searching
666
+ * @param {String} opts.searchValue Value for searching
667
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AutoTestModel>}
569
668
  */
669
+ }, {
670
+ key: "getAllAutoTests",
671
+ value: function getAllAutoTests(opts) {
672
+ return this.getAllAutoTestsWithHttpInfo(opts).then(function (response_and_data) {
673
+ return response_and_data.data;
674
+ });
675
+ }
570
676
 
571
677
  /**
572
678
  * Get average autotest duration
573
679
  * Use case User sets autotest internal (guid format) or global (integer format) identifier User runs method execution System calculates pass average duration and fail average duration of autotest from all related test results System returns pass average duration and fail average duration for autotest
574
680
  * @param {String} id Autotest internal (UUID) or global (integer) identifier
575
- * @param {module:api/AutoTestsApi~getAutoTestAverageDurationCallback} callback The callback function, accepting three arguments: error, data, response
576
- * data is of type: {@link module:model/AutoTestAverageDurationApiResult}
681
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AutoTestAverageDurationApiResult} and HTTP response
577
682
  */
578
683
  }, {
579
- key: "getAutoTestAverageDuration",
580
- value: function getAutoTestAverageDuration(id, callback) {
684
+ key: "getAutoTestAverageDurationWithHttpInfo",
685
+ value: function getAutoTestAverageDurationWithHttpInfo(id) {
581
686
  var postBody = null;
582
687
  // verify the required parameter 'id' is set
583
688
  if (id === undefined || id === null) {
@@ -593,27 +698,32 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
593
698
  var contentTypes = [];
594
699
  var accepts = ['application/json'];
595
700
  var returnType = _AutoTestAverageDurationApiResult["default"];
596
- return this.apiClient.callApi('/api/v2/autoTests/{id}/averageDuration', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
701
+ return this.apiClient.callApi('/api/v2/autoTests/{id}/averageDuration', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
597
702
  }
598
703
 
599
704
  /**
600
- * Callback function to receive the result of the getAutoTestById operation.
601
- * @callback module:api/AutoTestsApi~getAutoTestByIdCallback
602
- * @param {String} error Error message, if any.
603
- * @param {module:model/AutoTestApiResult} data The data returned by the service call.
604
- * @param {String} response The complete HTTP response.
705
+ * Get average autotest duration
706
+ * Use case User sets autotest internal (guid format) or global (integer format) identifier User runs method execution System calculates pass average duration and fail average duration of autotest from all related test results System returns pass average duration and fail average duration for autotest
707
+ * @param {String} id Autotest internal (UUID) or global (integer) identifier
708
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AutoTestAverageDurationApiResult}
605
709
  */
710
+ }, {
711
+ key: "getAutoTestAverageDuration",
712
+ value: function getAutoTestAverageDuration(id) {
713
+ return this.getAutoTestAverageDurationWithHttpInfo(id).then(function (response_and_data) {
714
+ return response_and_data.data;
715
+ });
716
+ }
606
717
 
607
718
  /**
608
719
  * Get autotest by internal or global ID
609
720
  * Use case User sets autotest internal or global identifier and runs method execution System returns autotest, which internal or global identifier equals the identifier value set in the previous action
610
721
  * @param {String} id Autotest internal (UUID) or global (integer) identifier
611
- * @param {module:api/AutoTestsApi~getAutoTestByIdCallback} callback The callback function, accepting three arguments: error, data, response
612
- * data is of type: {@link module:model/AutoTestApiResult}
722
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AutoTestApiResult} and HTTP response
613
723
  */
614
724
  }, {
615
- key: "getAutoTestById",
616
- value: function getAutoTestById(id, callback) {
725
+ key: "getAutoTestByIdWithHttpInfo",
726
+ value: function getAutoTestByIdWithHttpInfo(id) {
617
727
  var postBody = null;
618
728
  // verify the required parameter 'id' is set
619
729
  if (id === undefined || id === null) {
@@ -629,27 +739,32 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
629
739
  var contentTypes = [];
630
740
  var accepts = ['application/json'];
631
741
  var returnType = _AutoTestApiResult["default"];
632
- return this.apiClient.callApi('/api/v2/autoTests/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
742
+ return this.apiClient.callApi('/api/v2/autoTests/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
633
743
  }
634
744
 
635
745
  /**
636
- * Callback function to receive the result of the getAutoTestChronology operation.
637
- * @callback module:api/AutoTestsApi~getAutoTestChronologyCallback
638
- * @param {String} error Error message, if any.
639
- * @param {Array.<module:model/TestResultChronologyModel>} data The data returned by the service call.
640
- * @param {String} response The complete HTTP response.
746
+ * Get autotest by internal or global ID
747
+ * Use case User sets autotest internal or global identifier and runs method execution System returns autotest, which internal or global identifier equals the identifier value set in the previous action
748
+ * @param {String} id Autotest internal (UUID) or global (integer) identifier
749
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AutoTestApiResult}
641
750
  */
751
+ }, {
752
+ key: "getAutoTestById",
753
+ value: function getAutoTestById(id) {
754
+ return this.getAutoTestByIdWithHttpInfo(id).then(function (response_and_data) {
755
+ return response_and_data.data;
756
+ });
757
+ }
642
758
 
643
759
  /**
644
760
  * Get autotest chronology
645
761
  * Use case User sets autotest internal (guid format) or global (integer format) identifier User runs method execution System search all test results related to autotest (with default limit equal 100) System orders the test results by CompletedOn property descending and then orders by CreatedDate property descending System returns test result chronology for autotest
646
762
  * @param {String} id Autotest internal (UUID) or global (integer) identifier
647
- * @param {module:api/AutoTestsApi~getAutoTestChronologyCallback} callback The callback function, accepting three arguments: error, data, response
648
- * data is of type: {@link Array.<module:model/TestResultChronologyModel>}
763
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestResultChronologyModel>} and HTTP response
649
764
  */
650
765
  }, {
651
- key: "getAutoTestChronology",
652
- value: function getAutoTestChronology(id, callback) {
766
+ key: "getAutoTestChronologyWithHttpInfo",
767
+ value: function getAutoTestChronologyWithHttpInfo(id) {
653
768
  var postBody = null;
654
769
  // verify the required parameter 'id' is set
655
770
  if (id === undefined || id === null) {
@@ -665,27 +780,32 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
665
780
  var contentTypes = [];
666
781
  var accepts = ['application/json'];
667
782
  var returnType = [_TestResultChronologyModel["default"]];
668
- return this.apiClient.callApi('/api/v2/autoTests/{id}/chronology', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
783
+ return this.apiClient.callApi('/api/v2/autoTests/{id}/chronology', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
669
784
  }
670
785
 
671
786
  /**
672
- * Callback function to receive the result of the getTestRuns operation.
673
- * @callback module:api/AutoTestsApi~getTestRunsCallback
674
- * @param {String} error Error message, if any.
675
- * @param {Array.<module:model/TestRunByAutoTestApiResult>} data The data returned by the service call.
676
- * @param {String} response The complete HTTP response.
787
+ * Get autotest chronology
788
+ * Use case User sets autotest internal (guid format) or global (integer format) identifier User runs method execution System search all test results related to autotest (with default limit equal 100) System orders the test results by CompletedOn property descending and then orders by CreatedDate property descending System returns test result chronology for autotest
789
+ * @param {String} id Autotest internal (UUID) or global (integer) identifier
790
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestResultChronologyModel>}
677
791
  */
792
+ }, {
793
+ key: "getAutoTestChronology",
794
+ value: function getAutoTestChronology(id) {
795
+ return this.getAutoTestChronologyWithHttpInfo(id).then(function (response_and_data) {
796
+ return response_and_data.data;
797
+ });
798
+ }
678
799
 
679
800
  /**
680
801
  * Get completed tests runs for autotests
681
802
  * Use case User sets autotest internal (guid format) or global (integer format) identifier User runs method execution System search for all test runs related to the autotest System returns the enumeration of test runs
682
803
  * @param {String} id Autotest internal (UUID) or global (integer) identifier
683
- * @param {module:api/AutoTestsApi~getTestRunsCallback} callback The callback function, accepting three arguments: error, data, response
684
- * data is of type: {@link Array.<module:model/TestRunByAutoTestApiResult>}
804
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestRunByAutoTestApiResult>} and HTTP response
685
805
  */
686
806
  }, {
687
- key: "getTestRuns",
688
- value: function getTestRuns(id, callback) {
807
+ key: "getTestRunsWithHttpInfo",
808
+ value: function getTestRunsWithHttpInfo(id) {
689
809
  var postBody = null;
690
810
  // verify the required parameter 'id' is set
691
811
  if (id === undefined || id === null) {
@@ -701,16 +821,22 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
701
821
  var contentTypes = [];
702
822
  var accepts = ['application/json'];
703
823
  var returnType = [_TestRunByAutoTestApiResult["default"]];
704
- return this.apiClient.callApi('/api/v2/autoTests/{id}/testRuns', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
824
+ return this.apiClient.callApi('/api/v2/autoTests/{id}/testRuns', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
705
825
  }
706
826
 
707
827
  /**
708
- * Callback function to receive the result of the getWorkItemsLinkedToAutoTest operation.
709
- * @callback module:api/AutoTestsApi~getWorkItemsLinkedToAutoTestCallback
710
- * @param {String} error Error message, if any.
711
- * @param {Array.<module:model/AutoTestWorkItemIdentifierApiResult>} data The data returned by the service call.
712
- * @param {String} response The complete HTTP response.
828
+ * Get completed tests runs for autotests
829
+ * Use case User sets autotest internal (guid format) or global (integer format) identifier User runs method execution System search for all test runs related to the autotest System returns the enumeration of test runs
830
+ * @param {String} id Autotest internal (UUID) or global (integer) identifier
831
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestRunByAutoTestApiResult>}
713
832
  */
833
+ }, {
834
+ key: "getTestRuns",
835
+ value: function getTestRuns(id) {
836
+ return this.getTestRunsWithHttpInfo(id).then(function (response_and_data) {
837
+ return response_and_data.data;
838
+ });
839
+ }
714
840
 
715
841
  /**
716
842
  * Get work items linked to autotest
@@ -719,12 +845,11 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
719
845
  * @param {Object} opts Optional parameters
720
846
  * @param {Boolean} [isDeleted] Specifies that a test is deleted or still relevant.
721
847
  * @param {Boolean} [isWorkItemDeleted = false)] OBSOLETE: Use `isDeleted` instead
722
- * @param {module:api/AutoTestsApi~getWorkItemsLinkedToAutoTestCallback} callback The callback function, accepting three arguments: error, data, response
723
- * data is of type: {@link Array.<module:model/AutoTestWorkItemIdentifierApiResult>}
848
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AutoTestWorkItemIdentifierApiResult>} and HTTP response
724
849
  */
725
850
  }, {
726
- key: "getWorkItemsLinkedToAutoTest",
727
- value: function getWorkItemsLinkedToAutoTest(id, opts, callback) {
851
+ key: "getWorkItemsLinkedToAutoTestWithHttpInfo",
852
+ value: function getWorkItemsLinkedToAutoTestWithHttpInfo(id, opts) {
728
853
  opts = opts || {};
729
854
  var postBody = null;
730
855
  // verify the required parameter 'id' is set
@@ -744,16 +869,25 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
744
869
  var contentTypes = [];
745
870
  var accepts = ['application/json'];
746
871
  var returnType = [_AutoTestWorkItemIdentifierApiResult["default"]];
747
- return this.apiClient.callApi('/api/v2/autoTests/{id}/workItems', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
872
+ return this.apiClient.callApi('/api/v2/autoTests/{id}/workItems', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
748
873
  }
749
874
 
750
875
  /**
751
- * Callback function to receive the result of the linkAutoTestToWorkItem operation.
752
- * @callback module:api/AutoTestsApi~linkAutoTestToWorkItemCallback
753
- * @param {String} error Error message, if any.
754
- * @param data This operation does not return a value.
755
- * @param {String} response The complete HTTP response.
876
+ * Get work items linked to autotest
877
+ * This method links an autotest to a test case or a checklist. A manual test case with a linked automated work item is marked in the test management system as an autotest. You can run it from graphical user interface (GUI). To do that: 1. Open the project in GUI. 2. Go to <b>Test plans</b> section and switch to the <b>Execution</b> tab. 3. Select the autotest(s) you want to run using checkboxes. 4. In the toolbar above the test list, click <b>Run autotests</b>.
878
+ * @param {String} id Specifies the autotest entity ID. You can copy it from the address bar in your web browser or use autotest GUID.
879
+ * @param {Object} opts Optional parameters
880
+ * @param {Boolean} opts.isDeleted Specifies that a test is deleted or still relevant.
881
+ * @param {Boolean} opts.isWorkItemDeleted OBSOLETE: Use `isDeleted` instead (default to false)
882
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AutoTestWorkItemIdentifierApiResult>}
756
883
  */
884
+ }, {
885
+ key: "getWorkItemsLinkedToAutoTest",
886
+ value: function getWorkItemsLinkedToAutoTest(id, opts) {
887
+ return this.getWorkItemsLinkedToAutoTestWithHttpInfo(id, opts).then(function (response_and_data) {
888
+ return response_and_data.data;
889
+ });
890
+ }
757
891
 
758
892
  /**
759
893
  * Link autotest with work items
@@ -761,11 +895,11 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
761
895
  * @param {String} id Autotest internal (UUID) or global (integer) identifier
762
896
  * @param {Object} opts Optional parameters
763
897
  * @param {module:model/WorkItemIdApiModel} [workItemIdApiModel]
764
- * @param {module:api/AutoTestsApi~linkAutoTestToWorkItemCallback} callback The callback function, accepting three arguments: error, data, response
898
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
765
899
  */
766
900
  }, {
767
- key: "linkAutoTestToWorkItem",
768
- value: function linkAutoTestToWorkItem(id, opts, callback) {
901
+ key: "linkAutoTestToWorkItemWithHttpInfo",
902
+ value: function linkAutoTestToWorkItemWithHttpInfo(id, opts) {
769
903
  opts = opts || {};
770
904
  var postBody = opts['workItemIdApiModel'];
771
905
  // verify the required parameter 'id' is set
@@ -782,27 +916,35 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
782
916
  var contentTypes = ['application/json'];
783
917
  var accepts = ['application/json'];
784
918
  var returnType = null;
785
- return this.apiClient.callApi('/api/v2/autoTests/{id}/workItems', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
919
+ return this.apiClient.callApi('/api/v2/autoTests/{id}/workItems', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
786
920
  }
787
921
 
788
922
  /**
789
- * Callback function to receive the result of the updateAutoTest operation.
790
- * @callback module:api/AutoTestsApi~updateAutoTestCallback
791
- * @param {String} error Error message, if any.
792
- * @param data This operation does not return a value.
793
- * @param {String} response The complete HTTP response.
923
+ * Link autotest with work items
924
+ * Use case User sets autotest internal (guid format) or global (integer format) identifier User sets work item internal (guid format) or global (integer format) identifier User runs method execution System finds the autotest by the autotest identifier System finds the work item by the work item identifier System relates the work item with the autotest and returns no content response
925
+ * @param {String} id Autotest internal (UUID) or global (integer) identifier
926
+ * @param {Object} opts Optional parameters
927
+ * @param {module:model/WorkItemIdApiModel} opts.workItemIdApiModel
928
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
794
929
  */
930
+ }, {
931
+ key: "linkAutoTestToWorkItem",
932
+ value: function linkAutoTestToWorkItem(id, opts) {
933
+ return this.linkAutoTestToWorkItemWithHttpInfo(id, opts).then(function (response_and_data) {
934
+ return response_and_data.data;
935
+ });
936
+ }
795
937
 
796
938
  /**
797
939
  * Update autotest
798
940
  * Use case User sets autotest updated parameters values (listed in the example) and runs method execution System finds the autotest by the identifier System updates autotest parameters [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) System updates autotest and returns no content response
799
941
  * @param {Object} opts Optional parameters
800
942
  * @param {module:model/AutoTestUpdateApiModel} [autoTestUpdateApiModel]
801
- * @param {module:api/AutoTestsApi~updateAutoTestCallback} callback The callback function, accepting three arguments: error, data, response
943
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
802
944
  */
803
945
  }, {
804
- key: "updateAutoTest",
805
- value: function updateAutoTest(opts, callback) {
946
+ key: "updateAutoTestWithHttpInfo",
947
+ value: function updateAutoTestWithHttpInfo(opts) {
806
948
  opts = opts || {};
807
949
  var postBody = opts['autoTestUpdateApiModel'];
808
950
  var pathParams = {};
@@ -813,27 +955,34 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
813
955
  var contentTypes = ['application/json'];
814
956
  var accepts = ['application/json'];
815
957
  var returnType = null;
816
- return this.apiClient.callApi('/api/v2/autoTests', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
958
+ return this.apiClient.callApi('/api/v2/autoTests', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
817
959
  }
818
960
 
819
961
  /**
820
- * Callback function to receive the result of the updateMultiple operation.
821
- * @callback module:api/AutoTestsApi~updateMultipleCallback
822
- * @param {String} error Error message, if any.
823
- * @param data This operation does not return a value.
824
- * @param {String} response The complete HTTP response.
962
+ * Update autotest
963
+ * Use case User sets autotest updated parameters values (listed in the example) and runs method execution System finds the autotest by the identifier System updates autotest parameters [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) System updates autotest and returns no content response
964
+ * @param {Object} opts Optional parameters
965
+ * @param {module:model/AutoTestUpdateApiModel} opts.autoTestUpdateApiModel
966
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
825
967
  */
968
+ }, {
969
+ key: "updateAutoTest",
970
+ value: function updateAutoTest(opts) {
971
+ return this.updateAutoTestWithHttpInfo(opts).then(function (response_and_data) {
972
+ return response_and_data.data;
973
+ });
974
+ }
826
975
 
827
976
  /**
828
977
  * Update multiple autotests
829
978
  * Use case User sets autotest updated parameters values (listed in the example) and runs method execution System finds the autotest by the identifier System updates autotest parameters [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) System updates autotest and returns no content response
830
979
  * @param {Object} opts Optional parameters
831
980
  * @param {Array.<module:model/AutoTestUpdateApiModel>} [autoTestUpdateApiModel]
832
- * @param {module:api/AutoTestsApi~updateMultipleCallback} callback The callback function, accepting three arguments: error, data, response
981
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
833
982
  */
834
983
  }, {
835
- key: "updateMultiple",
836
- value: function updateMultiple(opts, callback) {
984
+ key: "updateMultipleWithHttpInfo",
985
+ value: function updateMultipleWithHttpInfo(opts) {
837
986
  opts = opts || {};
838
987
  var postBody = opts['autoTestUpdateApiModel'];
839
988
  var pathParams = {};
@@ -844,7 +993,22 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
844
993
  var contentTypes = ['application/json'];
845
994
  var accepts = ['application/json'];
846
995
  var returnType = null;
847
- return this.apiClient.callApi('/api/v2/autoTests/bulk', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
996
+ return this.apiClient.callApi('/api/v2/autoTests/bulk', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
997
+ }
998
+
999
+ /**
1000
+ * Update multiple autotests
1001
+ * Use case User sets autotest updated parameters values (listed in the example) and runs method execution System finds the autotest by the identifier System updates autotest parameters [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) System updates autotest and returns no content response
1002
+ * @param {Object} opts Optional parameters
1003
+ * @param {Array.<module:model/AutoTestUpdateApiModel>} opts.autoTestUpdateApiModel
1004
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1005
+ */
1006
+ }, {
1007
+ key: "updateMultiple",
1008
+ value: function updateMultiple(opts) {
1009
+ return this.updateMultipleWithHttpInfo(opts).then(function (response_and_data) {
1010
+ return response_and_data.data;
1011
+ });
848
1012
  }
849
1013
  }]);
850
1014
  }();