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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (493) hide show
  1. package/README.MD +8 -10
  2. package/dist/ApiClient.js +30 -23
  3. package/dist/api/AttachmentsApi.js +81 -52
  4. package/dist/api/AutoTestsApi.js +360 -196
  5. package/dist/api/BackgroundJobsApi.js +97 -62
  6. package/dist/api/ConfigurationsApi.js +189 -119
  7. package/dist/api/CustomAttributeTemplatesApi.js +149 -90
  8. package/dist/api/CustomAttributesApi.js +98 -63
  9. package/dist/api/ExternalIssuesApi.js +19 -14
  10. package/dist/api/NotificationsApi.js +91 -52
  11. package/dist/api/ParametersApi.js +264 -149
  12. package/dist/api/ProjectAttributeTemplatesApi.js +57 -32
  13. package/dist/api/ProjectAttributesApi.js +107 -62
  14. package/dist/api/ProjectConfigurationsApi.js +19 -14
  15. package/dist/api/ProjectSectionsApi.js +25 -14
  16. package/dist/api/ProjectSettingsApi.js +34 -23
  17. package/dist/api/ProjectTestPlanAttributesApi.js +90 -51
  18. package/dist/api/ProjectTestPlanTestPointsApi.js +38 -23
  19. package/dist/api/ProjectTestPlansApi.js +114 -63
  20. package/dist/api/ProjectWorkItemsApi.js +130 -64
  21. package/dist/api/ProjectsApi.js +422 -244
  22. package/dist/api/SearchApi.js +18 -14
  23. package/dist/api/SectionsApi.js +140 -79
  24. package/dist/api/TagsApi.js +108 -62
  25. package/dist/api/TestPlansApi.js +524 -299
  26. package/dist/api/TestPointsApi.js +72 -44
  27. package/dist/api/TestResultsApi.js +242 -149
  28. package/dist/api/TestRunsApi.js +379 -235
  29. package/dist/api/TestSuitesApi.js +211 -127
  30. package/dist/api/UsersApi.js +18 -14
  31. package/dist/api/WebhooksApi.js +157 -102
  32. package/dist/api/WebhooksLogsApi.js +52 -33
  33. package/dist/api/WorkItemsApi.js +450 -256
  34. package/dist/api/WorkItemsCommentsApi.js +78 -52
  35. package/dist/model/AIServiceModelApiResult.js +1 -1
  36. package/dist/model/AIServiceModelApiResultReply.js +1 -1
  37. package/dist/model/AssignAttachmentApiModel.js +1 -1
  38. package/dist/model/AssignIterationApiModel.js +1 -1
  39. package/dist/model/AttachmentApiResult.js +1 -1
  40. package/dist/model/AttachmentChangeViewModel.js +1 -1
  41. package/dist/model/AttachmentChangeViewModelArrayChangedFieldViewModel.js +1 -1
  42. package/dist/model/AttachmentModel.js +1 -1
  43. package/dist/model/AttachmentPutModel.js +1 -1
  44. package/dist/model/AttachmentPutModelAutoTestStepResultsModel.js +1 -1
  45. package/dist/model/AttachmentUpdateRequest.js +1 -1
  46. package/dist/model/AuditApiResult.js +1 -1
  47. package/dist/model/AutoTest.js +1 -1
  48. package/dist/model/AutoTestApiResult.js +1 -1
  49. package/dist/model/AutoTestAverageDurationApiResult.js +1 -1
  50. package/dist/model/AutoTestBulkDeleteApiModel.js +1 -1
  51. package/dist/model/AutoTestBulkDeleteApiResult.js +1 -1
  52. package/dist/model/AutoTestChangeViewModel.js +1 -1
  53. package/dist/model/AutoTestChangeViewModelArrayChangedFieldViewModel.js +1 -1
  54. package/dist/model/AutoTestClassCountApiModel.js +1 -1
  55. package/dist/model/AutoTestCreateApiModel.js +1 -1
  56. package/dist/model/AutoTestExtractionApiModel.js +1 -1
  57. package/dist/model/AutoTestFilterApiModel.js +1 -1
  58. package/dist/model/AutoTestFilterModel.js +1 -1
  59. package/dist/model/AutoTestFlakyBulkApiModel.js +1 -1
  60. package/dist/model/AutoTestIdModel.js +1 -1
  61. package/dist/model/AutoTestModel.js +1 -1
  62. package/dist/model/AutoTestModelV2GetModel.js +1 -1
  63. package/dist/model/AutoTestNamespaceApiResult.js +1 -1
  64. package/dist/model/AutoTestNamespaceCountApiModel.js +1 -1
  65. package/dist/model/AutoTestNamespacesCountResponse.js +1 -1
  66. package/dist/model/AutoTestProjectSettingsApiModel.js +1 -1
  67. package/dist/model/AutoTestProjectSettingsApiResult.js +1 -1
  68. package/dist/model/AutoTestResultHistoryApiResult.js +1 -1
  69. package/dist/model/AutoTestResultHistorySelectApiModel.js +1 -1
  70. package/dist/model/AutoTestResultReasonShort.js +1 -1
  71. package/dist/model/AutoTestResultReasonsCountItemModel.js +1 -1
  72. package/dist/model/AutoTestResultReasonsCountModel.js +1 -1
  73. package/dist/model/AutoTestResultsForTestRunModel.js +1 -1
  74. package/dist/model/AutoTestSearchApiModel.js +1 -1
  75. package/dist/model/AutoTestSearchIncludeApiModel.js +1 -1
  76. package/dist/model/AutoTestSelectApiModel.js +1 -1
  77. package/dist/model/AutoTestSelectModel.js +1 -1
  78. package/dist/model/AutoTestShortApiResult.js +1 -1
  79. package/dist/model/AutoTestStep.js +1 -1
  80. package/dist/model/AutoTestStepApiModel.js +1 -1
  81. package/dist/model/AutoTestStepApiResult.js +1 -1
  82. package/dist/model/AutoTestStepModel.js +1 -1
  83. package/dist/model/AutoTestStepResult.js +1 -1
  84. package/dist/model/AutoTestStepResultUpdateRequest.js +1 -1
  85. package/dist/model/AutoTestStepResultsApiResult.js +1 -1
  86. package/dist/model/AutoTestUpdateApiModel.js +1 -1
  87. package/dist/model/AutoTestWorkItemIdentifierApiResult.js +1 -1
  88. package/dist/model/AutoTestsExtractionModel.js +1 -1
  89. package/dist/model/AutotestResultReasonFilterModel.js +1 -1
  90. package/dist/model/AutotestResultReasonShortGetModel.js +1 -1
  91. package/dist/model/BackgroundJobAttachmentModel.js +1 -1
  92. package/dist/model/BackgroundJobFilterModel.js +1 -1
  93. package/dist/model/BackgroundJobGetModel.js +1 -1
  94. package/dist/model/BooleanChangedFieldViewModel.js +1 -1
  95. package/dist/model/BooleanNullableChangedFieldViewModel.js +1 -1
  96. package/dist/model/CollectionFilter.js +1 -1
  97. package/dist/model/CompositeFilter.js +1 -1
  98. package/dist/model/ConfigurationByParametersModel.js +1 -1
  99. package/dist/model/ConfigurationExtractionApiModel.js +1 -1
  100. package/dist/model/ConfigurationExtractionModel.js +1 -1
  101. package/dist/model/ConfigurationFilterApiModel.js +1 -1
  102. package/dist/model/ConfigurationFilterModel.js +1 -1
  103. package/dist/model/ConfigurationModel.js +1 -1
  104. package/dist/model/ConfigurationPostModel.js +1 -1
  105. package/dist/model/ConfigurationPutModel.js +1 -1
  106. package/dist/model/ConfigurationSelectApiModel.js +1 -1
  107. package/dist/model/ConfigurationSelectModel.js +1 -1
  108. package/dist/model/ConfigurationShort.js +1 -1
  109. package/dist/model/ConfigurationShortApiResult.js +1 -1
  110. package/dist/model/ConfigurationShortModel.js +1 -1
  111. package/dist/model/CreateDefectApiModel.js +1 -1
  112. package/dist/model/CreateEmptyTestRunApiModel.js +1 -1
  113. package/dist/model/CreateFailureCategoryApiModel.js +1 -1
  114. package/dist/model/CreateFailureClassRegexApiModel.js +1 -1
  115. package/dist/model/CreateLinkApiModel.js +1 -1
  116. package/dist/model/CreateParameterApiModel.js +1 -1
  117. package/dist/model/CreateProjectApiModel.js +1 -1
  118. package/dist/model/CreateProjectFailureCategoryApiModel.js +1 -1
  119. package/dist/model/CreateStepApiModel.js +1 -1
  120. package/dist/model/CreateTagApiModel.js +1 -1
  121. package/dist/model/CreateTestPlanApiModel.js +1 -1
  122. package/dist/model/CreateTestRunAndFillByAutoTestsApiModel.js +1 -1
  123. package/dist/model/CreateTestRunAndFillByConfigurationsApiModel.js +1 -1
  124. package/dist/model/CreateTestRunAndFillByWorkItemsApiModel.js +1 -1
  125. package/dist/model/CreateTestStatusApiModel.js +1 -1
  126. package/dist/model/CreateWorkItemApiModel.js +1 -1
  127. package/dist/model/CreateWorkItemPreviewsApiModel.js +1 -1
  128. package/dist/model/CreateWorkflowApiModel.js +1 -1
  129. package/dist/model/CustomAttributeApiResult.js +1 -1
  130. package/dist/model/CustomAttributeChangeModel.js +1 -1
  131. package/dist/model/CustomAttributeGetModel.js +1 -1
  132. package/dist/model/CustomAttributeModel.js +1 -1
  133. package/dist/model/CustomAttributeOptionApiResult.js +1 -1
  134. package/dist/model/CustomAttributeOptionModel.js +1 -1
  135. package/dist/model/CustomAttributeOptionPostModel.js +1 -1
  136. package/dist/model/CustomAttributePostModel.js +1 -1
  137. package/dist/model/CustomAttributePutModel.js +1 -1
  138. package/dist/model/CustomAttributeSearchQueryModel.js +1 -1
  139. package/dist/model/CustomAttributeSearchResponseModel.js +1 -1
  140. package/dist/model/CustomAttributeTemplateModel.js +1 -1
  141. package/dist/model/CustomAttributeTemplatePostModel.js +1 -1
  142. package/dist/model/CustomAttributeTemplatePutModel.js +1 -1
  143. package/dist/model/CustomAttributeTemplateSearchQueryModel.js +1 -1
  144. package/dist/model/CustomAttributeTemplateValidationResult.js +1 -1
  145. package/dist/model/CustomAttributeTestPlanProjectRelationPutModel.js +1 -1
  146. package/dist/model/CustomAttributeValidationResult.js +1 -1
  147. package/dist/model/DateTimeRangeSelectorModel.js +1 -1
  148. package/dist/model/DefectApiModel.js +1 -1
  149. package/dist/model/DemoProjectApiResult.js +1 -1
  150. package/dist/model/EnableProjectExternalServiceApiModel.js +1 -1
  151. package/dist/model/ExternalFormAllowedValueModel.js +1 -1
  152. package/dist/model/ExternalFormCreateModel.js +1 -1
  153. package/dist/model/ExternalFormFieldModel.js +1 -1
  154. package/dist/model/ExternalFormLinkModel.js +1 -1
  155. package/dist/model/ExternalFormModel.js +1 -1
  156. package/dist/model/ExternalIssueApiFieldSuggestion.js +1 -1
  157. package/dist/model/ExternalIssueApiFieldSuggestionReply.js +1 -1
  158. package/dist/model/ExternalIssueApiMetadata.js +1 -1
  159. package/dist/model/ExternalIssueApiPriority.js +1 -1
  160. package/dist/model/ExternalIssueApiResult.js +1 -1
  161. package/dist/model/ExternalIssueApiType.js +1 -1
  162. package/dist/model/ExternalIssueExternalServiceApiResult.js +1 -1
  163. package/dist/model/ExternalIssueMetadataModel.js +1 -1
  164. package/dist/model/ExternalIssueModel.js +1 -1
  165. package/dist/model/ExternalIssuePriorityModel.js +1 -1
  166. package/dist/model/ExternalIssueTypeModel.js +1 -1
  167. package/dist/model/ExternalLinkModel.js +1 -1
  168. package/dist/model/ExternalServiceMetadataApiResult.js +1 -1
  169. package/dist/model/ExternalServicesMetadataApiResult.js +1 -1
  170. package/dist/model/FailureCategoryApiResult.js +1 -1
  171. package/dist/model/FailureCategoryGroupApiModel.js +1 -1
  172. package/dist/model/FailureCategoryGroupApiResult.js +1 -1
  173. package/dist/model/FailureCategoryGroupItemApiResult.js +1 -1
  174. package/dist/model/FailureCategoryGroupItemApiResultReply.js +1 -1
  175. package/dist/model/FailureCategoryGroupSearchApiModel.js +1 -1
  176. package/dist/model/FailureCategoryItemApiResult.js +1 -1
  177. package/dist/model/FailureClassRegexApiResult.js +1 -1
  178. package/dist/model/Filter.js +1 -1
  179. package/dist/model/FilterModel.js +1 -1
  180. package/dist/model/GenerateWorkItemPreviewsApiModel.js +1 -1
  181. package/dist/model/GenerateWorkItemPreviewsApiResult.js +1 -1
  182. package/dist/model/GetAIServiceModelsApiModel.js +1 -1
  183. package/dist/model/GetExternalFormApiResult.js +1 -1
  184. package/dist/model/GetExternalIssueSuggestionsApiModel.js +1 -1
  185. package/dist/model/GetShortProjectsApiModel.js +1 -1
  186. package/dist/model/GetXlsxTestPointsByTestPlanModel.js +1 -1
  187. package/dist/model/GlobalCustomAttributePostModel.js +1 -1
  188. package/dist/model/GlobalCustomAttributeUpdateModel.js +1 -1
  189. package/dist/model/GlobalSearchItemResult.js +1 -1
  190. package/dist/model/GlobalSearchRequest.js +1 -1
  191. package/dist/model/GlobalSearchResponse.js +1 -1
  192. package/dist/model/GuidChangedFieldViewModel.js +1 -1
  193. package/dist/model/GuidExtractionModel.js +1 -1
  194. package/dist/model/IFilter.js +1 -1
  195. package/dist/model/Inquiry.js +1 -1
  196. package/dist/model/Int32ChangedFieldViewModel.js +1 -1
  197. package/dist/model/Int32RangeSelectorModel.js +1 -1
  198. package/dist/model/Int64ChangedFieldViewModel.js +1 -1
  199. package/dist/model/Int64RangeSelectorModel.js +1 -1
  200. package/dist/model/IterationApiResult.js +1 -1
  201. package/dist/model/IterationModel.js +1 -1
  202. package/dist/model/Label.js +1 -1
  203. package/dist/model/LabelApiModel.js +1 -1
  204. package/dist/model/LabelApiResult.js +1 -1
  205. package/dist/model/LabelShortModel.js +1 -1
  206. package/dist/model/LastTestResultApiResult.js +1 -1
  207. package/dist/model/LastTestResultModel.js +1 -1
  208. package/dist/model/Link.js +1 -1
  209. package/dist/model/LinkApiResult.js +1 -1
  210. package/dist/model/LinkCreateApiModel.js +1 -1
  211. package/dist/model/LinkModel.js +1 -1
  212. package/dist/model/LinkPostModel.js +1 -1
  213. package/dist/model/LinkPutModel.js +1 -1
  214. package/dist/model/LinkShort.js +1 -1
  215. package/dist/model/LinkShortApiResult.js +1 -1
  216. package/dist/model/LinkShortModel.js +1 -1
  217. package/dist/model/LinkUpdateApiModel.js +1 -1
  218. package/dist/model/ManualRerunApiResult.js +1 -1
  219. package/dist/model/ManualRerunSelectTestResultsApiModel.js +1 -1
  220. package/dist/model/ManualRerunTestResultApiModel.js +1 -1
  221. package/dist/model/NamedEntityApiModel.js +1 -1
  222. package/dist/model/NotificationModel.js +1 -1
  223. package/dist/model/NotificationQueryFilterModel.js +1 -1
  224. package/dist/model/Operation.js +1 -1
  225. package/dist/model/Order.js +1 -1
  226. package/dist/model/Page.js +1 -1
  227. package/dist/model/ParameterApiResult.js +1 -1
  228. package/dist/model/ParameterGroupApiResult.js +1 -1
  229. package/dist/model/ParameterGroupsFilterApiModel.js +1 -1
  230. package/dist/model/ParameterIterationModel.js +1 -1
  231. package/dist/model/ParameterShortApiResult.js +1 -1
  232. package/dist/model/ParameterShortModel.js +1 -1
  233. package/dist/model/ParametersFilterApiModel.js +1 -1
  234. package/dist/model/PeriodViewModel.js +1 -1
  235. package/dist/model/PeriodViewModelChangedFieldViewModel.js +1 -1
  236. package/dist/model/PreviewsIssueLinkApiModel.js +1 -1
  237. package/dist/model/PreviewsIssueLinkApiResult.js +1 -1
  238. package/dist/model/ProblemDetails.js +1 -1
  239. package/dist/model/ProjectApiResult.js +1 -1
  240. package/dist/model/ProjectAttributesFilterModel.js +1 -1
  241. package/dist/model/ProjectCustomAttributeTemplateGetModel.js +1 -1
  242. package/dist/model/ProjectCustomAttributesTemplatesFilterModel.js +1 -1
  243. package/dist/model/ProjectDetailedFailureCategoryApiResult.js +1 -1
  244. package/dist/model/ProjectExternalServiceApiResult.js +1 -1
  245. package/dist/model/ProjectExternalServiceSettingsApiResult.js +1 -1
  246. package/dist/model/ProjectExternalServicesApiResult.js +1 -1
  247. package/dist/model/ProjectExtractionModel.js +1 -1
  248. package/dist/model/ProjectFailureCategoryApiResult.js +1 -1
  249. package/dist/model/ProjectFailureCategoryGroupItemApiResult.js +1 -1
  250. package/dist/model/ProjectFailureCategoryGroupItemApiResultReply.js +1 -1
  251. package/dist/model/ProjectModel.js +1 -1
  252. package/dist/model/ProjectNameApiResult.js +1 -1
  253. package/dist/model/ProjectSelectModel.js +1 -1
  254. package/dist/model/ProjectShortApiResult.js +1 -1
  255. package/dist/model/ProjectShortApiResultReply.js +1 -1
  256. package/dist/model/ProjectShortModel.js +1 -1
  257. package/dist/model/ProjectShortestModel.js +1 -1
  258. package/dist/model/ProjectTestPlansFilterModel.js +1 -1
  259. package/dist/model/ProjectsFilterModel.js +1 -1
  260. package/dist/model/ReplaceProjectExternalServiceApiModel.js +1 -1
  261. package/dist/model/RerunTestResultApiResult.js +1 -1
  262. package/dist/model/RerunTestResultModel.js +1 -1
  263. package/dist/model/RerunsModel.js +1 -1
  264. package/dist/model/SearchCustomAttributeTemplateGetModel.js +1 -1
  265. package/dist/model/SearchExternalIssuesApiModel.js +1 -1
  266. package/dist/model/SearchTestRunsApiModel.js +1 -1
  267. package/dist/model/SearchTestStatusesApiModel.js +1 -1
  268. package/dist/model/SearchWebhooksQueryModel.js +1 -1
  269. package/dist/model/SearchWorkItemLinkUrlsApiResult.js +1 -1
  270. package/dist/model/SearchWorkflowProjectsApiModel.js +1 -1
  271. package/dist/model/SearchWorkflowsApiModel.js +1 -1
  272. package/dist/model/SectionModel.js +1 -1
  273. package/dist/model/SectionMoveModel.js +1 -1
  274. package/dist/model/SectionPostModel.js +1 -1
  275. package/dist/model/SectionPutModel.js +1 -1
  276. package/dist/model/SectionRenameModel.js +1 -1
  277. package/dist/model/SectionWithStepsModel.js +1 -1
  278. package/dist/model/SelectTagsApiModel.js +1 -1
  279. package/dist/model/SharedStepChangeViewModel.js +1 -1
  280. package/dist/model/SharedStepModel.js +1 -1
  281. package/dist/model/SharedStepReferenceModel.js +1 -1
  282. package/dist/model/SharedStepReferenceSectionModel.js +1 -1
  283. package/dist/model/SharedStepReferenceSectionsQueryFilterModel.js +1 -1
  284. package/dist/model/SharedStepReferencesQueryFilterModel.js +1 -1
  285. package/dist/model/SharedStepResultApiModel.js +1 -1
  286. package/dist/model/ShortConfiguration.js +1 -1
  287. package/dist/model/StepCommentApiModel.js +1 -1
  288. package/dist/model/StepModel.js +1 -1
  289. package/dist/model/StepPostModel.js +1 -1
  290. package/dist/model/StepPutModel.js +1 -1
  291. package/dist/model/StepResultApiModel.js +1 -1
  292. package/dist/model/StringArrayChangedFieldViewModel.js +1 -1
  293. package/dist/model/StringChangedFieldViewModel.js +1 -1
  294. package/dist/model/StringChangedFieldWithDiffsViewModel.js +1 -1
  295. package/dist/model/StringExtractionModel.js +1 -1
  296. package/dist/model/TagApiModel.js +1 -1
  297. package/dist/model/TagApiResult.js +1 -1
  298. package/dist/model/TagModel.js +1 -1
  299. package/dist/model/TagShortApiResult.js +1 -1
  300. package/dist/model/TagsExtractionApiModel.js +1 -1
  301. package/dist/model/TagsFilterApiModel.js +1 -1
  302. package/dist/model/TestPlanApiResult.js +1 -1
  303. package/dist/model/TestPlanChangeModel.js +1 -1
  304. package/dist/model/TestPlanChangedFieldsViewModel.js +1 -1
  305. package/dist/model/TestPlanExtractionModel.js +1 -1
  306. package/dist/model/TestPlanGroupByStatus.js +1 -1
  307. package/dist/model/TestPlanGroupByStatusCode.js +1 -1
  308. package/dist/model/TestPlanGroupByStatusType.js +1 -1
  309. package/dist/model/TestPlanGroupByTestSuite.js +1 -1
  310. package/dist/model/TestPlanGroupByTester.js +1 -1
  311. package/dist/model/TestPlanGroupByTesterAndStatus.js +1 -1
  312. package/dist/model/TestPlanGroupByTesterAndStatusCode.js +1 -1
  313. package/dist/model/TestPlanLink.js +1 -1
  314. package/dist/model/TestPlanModel.js +1 -1
  315. package/dist/model/TestPlanSelectModel.js +1 -1
  316. package/dist/model/TestPlanShortModel.js +1 -1
  317. package/dist/model/TestPlanSummaryModel.js +1 -1
  318. package/dist/model/TestPlanTagApiResult.js +1 -1
  319. package/dist/model/TestPlanTestPointsAnalyticsApiModel.js +1 -1
  320. package/dist/model/TestPlanTestPointsAnalyticsApiResult.js +1 -1
  321. package/dist/model/TestPlanTestPointsApiModel.js +1 -1
  322. package/dist/model/TestPlanTestPointsAutoTestsRerunApiModel.js +1 -1
  323. package/dist/model/TestPlanTestPointsAutoTestsRunApiModel.js +1 -1
  324. package/dist/model/TestPlanTestPointsExtractionApiModel.js +1 -1
  325. package/dist/model/TestPlanTestPointsGroupApiModel.js +1 -1
  326. package/dist/model/TestPlanTestPointsGroupApiResult.js +1 -1
  327. package/dist/model/TestPlanTestPointsGroupSearchApiResult.js +1 -1
  328. package/dist/model/TestPlanTestPointsGroupSearchItemApiResult.js +1 -1
  329. package/dist/model/TestPlanTestPointsInquiryApiModel.js +1 -1
  330. package/dist/model/TestPlanTestPointsSearchApiModel.js +1 -1
  331. package/dist/model/TestPlanTestPointsSearchApiResult.js +1 -1
  332. package/dist/model/TestPlanTestPointsSearchStatusCountersApiResult.js +1 -1
  333. package/dist/model/TestPlanTestPointsSectionSearchApiResult.js +1 -1
  334. package/dist/model/TestPlanTestPointsSetTestersApiModel.js +1 -1
  335. package/dist/model/TestPlanTestPointsStatusCodeGroupApiResult.js +1 -1
  336. package/dist/model/TestPlanTestPointsStatusGroupApiResult.js +1 -1
  337. package/dist/model/TestPlanTestPointsStatusTypeGroupApiResult.js +1 -1
  338. package/dist/model/TestPlanTestPointsTestSuiteSearchApiResult.js +1 -1
  339. package/dist/model/TestPlanTestPointsTesterAndStatusGroupApiResult.js +1 -1
  340. package/dist/model/TestPlanTestPointsTesterAndStatusTypeGroupApiResult.js +1 -1
  341. package/dist/model/TestPlanTestPointsTesterGroupApiResult.js +1 -1
  342. package/dist/model/TestPlanTestPointsWorkItemSearchApiResult.js +1 -1
  343. package/dist/model/TestPlanWithAnalyticModel.js +1 -1
  344. package/dist/model/TestPlanWithTestSuiteTreeModel.js +1 -1
  345. package/dist/model/TestPoint.js +1 -1
  346. package/dist/model/TestPointAnalyticResult.js +1 -1
  347. package/dist/model/TestPointByTestSuiteModel.js +1 -1
  348. package/dist/model/TestPointChangeViewModel.js +1 -1
  349. package/dist/model/TestPointChangeViewModelChangedFieldViewModel.js +1 -1
  350. package/dist/model/TestPointFilterModel.js +1 -1
  351. package/dist/model/TestPointFilterRequestModel.js +1 -1
  352. package/dist/model/TestPointResultApiResult.js +1 -1
  353. package/dist/model/TestPointSelectModel.js +1 -1
  354. package/dist/model/TestPointSelector.js +1 -1
  355. package/dist/model/TestPointShortApiResult.js +1 -1
  356. package/dist/model/TestPointShortModel.js +1 -1
  357. package/dist/model/TestPointShortResponseModel.js +1 -1
  358. package/dist/model/TestPointWithLastResultResponseModel.js +1 -1
  359. package/dist/model/TestPointsExtractionModel.js +1 -1
  360. package/dist/model/TestResultApiResult.js +1 -1
  361. package/dist/model/TestResultChangeViewModel.js +1 -1
  362. package/dist/model/TestResultChangeViewModelChangedFieldViewModel.js +1 -1
  363. package/dist/model/TestResultChronologyModel.js +1 -1
  364. package/dist/model/TestResultFailureClassApiResult.js +1 -1
  365. package/dist/model/TestResultHistoryReportApiResult.js +1 -1
  366. package/dist/model/TestResultResponse.js +1 -1
  367. package/dist/model/TestResultShortApiResult.js +1 -1
  368. package/dist/model/TestResultShortResponse.js +1 -1
  369. package/dist/model/TestResultStepCommentUpdateRequest.js +1 -1
  370. package/dist/model/TestResultUpdateV2Request.js +1 -1
  371. package/dist/model/TestResultV2GetModel.js +1 -1
  372. package/dist/model/TestResultV2ShortModel.js +1 -1
  373. package/dist/model/TestResultsExtractionApiModel.js +1 -1
  374. package/dist/model/TestResultsFilterApiModel.js +1 -1
  375. package/dist/model/TestResultsLocalFilterModel.js +1 -1
  376. package/dist/model/TestResultsSelectApiModel.js +1 -1
  377. package/dist/model/TestResultsStatisticsApiResult.js +1 -1
  378. package/dist/model/TestResultsStatisticsFailureCategoriesApiResult.js +1 -1
  379. package/dist/model/TestResultsStatisticsStatusesApiResult.js +1 -1
  380. package/dist/model/TestRunAnalyticApiResult.js +1 -1
  381. package/dist/model/TestRunApiResult.js +1 -1
  382. package/dist/model/TestRunByAutoTestApiResult.js +1 -1
  383. package/dist/model/TestRunExtractionApiModel.js +1 -1
  384. package/dist/model/TestRunFilterApiModel.js +1 -1
  385. package/dist/model/TestRunGroupByFailureClassApiResult.js +1 -1
  386. package/dist/model/TestRunGroupByStatusApiResult.js +1 -1
  387. package/dist/model/TestRunGroupByStatusTypeApiResult.js +1 -1
  388. package/dist/model/TestRunNameApiResult.js +1 -1
  389. package/dist/model/TestRunSelectApiModel.js +1 -1
  390. package/dist/model/TestRunShortApiResult.js +1 -1
  391. package/dist/model/TestRunStatisticsFilterApiModel.js +1 -1
  392. package/dist/model/TestRunTestResultsPartialBulkSetModel.js +1 -1
  393. package/dist/model/TestRunTestResultsSelectModel.js +1 -1
  394. package/dist/model/TestRunV2ApiResult.js +1 -1
  395. package/dist/model/TestStatusApiResult.js +1 -1
  396. package/dist/model/TestStatusApiResultReply.js +1 -1
  397. package/dist/model/TestStatusModel.js +1 -1
  398. package/dist/model/TestStatusShortApiResult.js +1 -1
  399. package/dist/model/TestSuiteApiResult.js +1 -1
  400. package/dist/model/TestSuiteChangeViewModel.js +1 -1
  401. package/dist/model/TestSuiteChangeViewModelChangedFieldViewModel.js +1 -1
  402. package/dist/model/TestSuiteHierarchyApiResult.js +1 -1
  403. package/dist/model/TestSuiteTestPlanApiModel.js +1 -1
  404. package/dist/model/TestSuiteV2GetModel.js +1 -1
  405. package/dist/model/TestSuiteV2PostModel.js +1 -1
  406. package/dist/model/TestSuiteV2PutModel.js +1 -1
  407. package/dist/model/TestSuiteWithChildrenModel.js +1 -1
  408. package/dist/model/TestSuiteWorkItemsSearchModel.js +1 -1
  409. package/dist/model/UpdateEmptyTestRunApiModel.js +1 -1
  410. package/dist/model/UpdateFailureCategoryApiModel.js +1 -1
  411. package/dist/model/UpdateFailureCategoryProjectApiModel.js +1 -1
  412. package/dist/model/UpdateFailureClassRegexApiModel.js +1 -1
  413. package/dist/model/UpdateLinkApiModel.js +1 -1
  414. package/dist/model/UpdateMultipleAttachmentsApiModel.js +1 -1
  415. package/dist/model/UpdateMultipleLinksApiModel.js +1 -1
  416. package/dist/model/UpdateMultipleTestRunsApiModel.js +1 -1
  417. package/dist/model/UpdateParameterApiModel.js +1 -1
  418. package/dist/model/UpdateProjectApiModel.js +1 -1
  419. package/dist/model/UpdateStepApiModel.js +1 -1
  420. package/dist/model/UpdateTagApiModel.js +1 -1
  421. package/dist/model/UpdateTestPlanApiModel.js +1 -1
  422. package/dist/model/UpdateTestStatusApiModel.js +1 -1
  423. package/dist/model/UpdateWorkItemApiModel.js +1 -1
  424. package/dist/model/UpdateWorkflowApiModel.js +1 -1
  425. package/dist/model/UserCustomNameValidationResponse.js +1 -1
  426. package/dist/model/UserNameApiResult.js +1 -1
  427. package/dist/model/UserRankModel.js +1 -1
  428. package/dist/model/UserWithRankModel.js +1 -1
  429. package/dist/model/ValidationProblemDetails.js +1 -1
  430. package/dist/model/WebHookModel.js +1 -1
  431. package/dist/model/WebHookPostModel.js +1 -1
  432. package/dist/model/WebHookTestModel.js +1 -1
  433. package/dist/model/WebhookBulkUpdateApiModel.js +1 -1
  434. package/dist/model/WebhookLogApiResult.js +1 -1
  435. package/dist/model/WebhookResponse.js +1 -1
  436. package/dist/model/WebhooksDeleteApiModel.js +1 -1
  437. package/dist/model/WebhooksDeleteFilterApiModel.js +1 -1
  438. package/dist/model/WebhooksExtractionApiModel.js +1 -1
  439. package/dist/model/WebhooksFilterApiModel.js +1 -1
  440. package/dist/model/WebhooksUpdateApiModel.js +1 -1
  441. package/dist/model/WebhooksUpdateApiResult.js +1 -1
  442. package/dist/model/WorkItemApiResult.js +1 -1
  443. package/dist/model/WorkItemChangeModel.js +1 -1
  444. package/dist/model/WorkItemChangedAttributeViewModel.js +1 -1
  445. package/dist/model/WorkItemChangedFieldsViewModel.js +1 -1
  446. package/dist/model/WorkItemCommentModel.js +1 -1
  447. package/dist/model/WorkItemCommentPostModel.js +1 -1
  448. package/dist/model/WorkItemCommentPutModel.js +1 -1
  449. package/dist/model/WorkItemExternalMetadataFieldFilterApiModel.js +1 -1
  450. package/dist/model/WorkItemExternalMetadataFieldFilterModel.js +1 -1
  451. package/dist/model/WorkItemExternalMetadataFilterApiModel.js +1 -1
  452. package/dist/model/WorkItemExternalMetadataFilterModel.js +1 -1
  453. package/dist/model/WorkItemExtractionApiModel.js +1 -1
  454. package/dist/model/WorkItemExtractionModel.js +1 -1
  455. package/dist/model/WorkItemFilterApiModel.js +1 -1
  456. package/dist/model/WorkItemFilterModel.js +1 -1
  457. package/dist/model/WorkItemGroupGetModel.js +1 -1
  458. package/dist/model/WorkItemGroupModel.js +1 -1
  459. package/dist/model/WorkItemIdApiModel.js +1 -1
  460. package/dist/model/WorkItemIndexApiResult.js +1 -1
  461. package/dist/model/WorkItemLikeModel.js +1 -1
  462. package/dist/model/WorkItemLinkChangeViewModel.js +1 -1
  463. package/dist/model/WorkItemLinkChangeViewModelArrayChangedFieldViewModel.js +1 -1
  464. package/dist/model/WorkItemLinkExtractionApiModel.js +1 -1
  465. package/dist/model/WorkItemLinkFilterApiModel.js +1 -1
  466. package/dist/model/WorkItemLinkFilterModel.js +1 -1
  467. package/dist/model/WorkItemLinkUrlApiModel.js +1 -1
  468. package/dist/model/WorkItemLinkUrlApiResult.js +1 -1
  469. package/dist/model/WorkItemLinkUrlFilterApiModel.js +1 -1
  470. package/dist/model/WorkItemLocalFilterModel.js +1 -1
  471. package/dist/model/WorkItemLocalSelectModel.js +1 -1
  472. package/dist/model/WorkItemModel.js +1 -1
  473. package/dist/model/WorkItemMovePostModel.js +1 -1
  474. package/dist/model/WorkItemPreviewApiModel.js +1 -1
  475. package/dist/model/WorkItemPreviewStepApiModel.js +1 -1
  476. package/dist/model/WorkItemSearchQueryModel.js +1 -1
  477. package/dist/model/WorkItemSelectApiModel.js +1 -1
  478. package/dist/model/WorkItemSelectModel.js +1 -1
  479. package/dist/model/WorkItemShortApiResult.js +1 -1
  480. package/dist/model/WorkItemShortModel.js +1 -1
  481. package/dist/model/WorkItemStepChangeViewModel.js +1 -1
  482. package/dist/model/WorkItemStepChangeViewModelArrayChangedFieldWithDiffsViewModel.js +1 -1
  483. package/dist/model/WorkItemVersionModel.js +1 -1
  484. package/dist/model/WorkflowApiResult.js +1 -1
  485. package/dist/model/WorkflowExistsByNameApiResult.js +1 -1
  486. package/dist/model/WorkflowProjectApiResult.js +1 -1
  487. package/dist/model/WorkflowProjectApiResultApiCollectionPreview.js +1 -1
  488. package/dist/model/WorkflowProjectApiResultReply.js +1 -1
  489. package/dist/model/WorkflowShortApiResult.js +1 -1
  490. package/dist/model/WorkflowShortApiResultReply.js +1 -1
  491. package/dist/model/WorkflowStatusApiModel.js +1 -1
  492. package/dist/model/WorkflowStatusApiResult.js +1 -1
  493. package/package.json +1 -1
@@ -46,7 +46,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
46
46
  /**
47
47
  * TestPlans service.
48
48
  * @module api/TestPlansApi
49
- * @version 7.0.0-rc1
49
+ * @version 7.0.0-rc2
50
50
  */
51
51
  var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
52
52
  /**
@@ -61,24 +61,16 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
61
61
  this.apiClient = apiClient || _ApiClient["default"].instance;
62
62
  }
63
63
 
64
- /**
65
- * Callback function to receive the result of the addTestPointsWithSections operation.
66
- * @callback module:api/TestPlansApi~addTestPointsWithSectionsCallback
67
- * @param {String} error Error message, if any.
68
- * @param data This operation does not return a value.
69
- * @param {String} response The complete HTTP response.
70
- */
71
-
72
64
  /**
73
65
  * Add test-points to TestPlan with sections
74
66
  * @param {String} id Test plan internal (guid format) or global (int format) identifier
75
67
  * @param {Object} opts Optional parameters
76
68
  * @param {module:model/WorkItemSelectModel} [workItemSelectModel] Filter object to retrieve work items for test-suite's project
77
- * @param {module:api/TestPlansApi~addTestPointsWithSectionsCallback} callback The callback function, accepting three arguments: error, data, response
69
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
78
70
  */
79
71
  return _createClass(TestPlansApi, [{
80
- key: "addTestPointsWithSections",
81
- value: function addTestPointsWithSections(id, opts, callback) {
72
+ key: "addTestPointsWithSectionsWithHttpInfo",
73
+ value: function addTestPointsWithSectionsWithHttpInfo(id, opts) {
82
74
  opts = opts || {};
83
75
  var postBody = opts['workItemSelectModel'];
84
76
  // verify the required parameter 'id' is set
@@ -95,16 +87,23 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
95
87
  var contentTypes = ['application/json'];
96
88
  var accepts = ['application/json'];
97
89
  var returnType = null;
98
- return this.apiClient.callApi('/api/v2/testPlans/{id}/test-points/withSections', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
90
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/test-points/withSections', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
99
91
  }
100
92
 
101
93
  /**
102
- * Callback function to receive the result of the addWorkItemsWithSections operation.
103
- * @callback module:api/TestPlansApi~addWorkItemsWithSectionsCallback
104
- * @param {String} error Error message, if any.
105
- * @param data This operation does not return a value.
106
- * @param {String} response The complete HTTP response.
94
+ * Add test-points to TestPlan with sections
95
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
96
+ * @param {Object} opts Optional parameters
97
+ * @param {module:model/WorkItemSelectModel} opts.workItemSelectModel Filter object to retrieve work items for test-suite's project
98
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
107
99
  */
100
+ }, {
101
+ key: "addTestPointsWithSections",
102
+ value: function addTestPointsWithSections(id, opts) {
103
+ return this.addTestPointsWithSectionsWithHttpInfo(id, opts).then(function (response_and_data) {
104
+ return response_and_data.data;
105
+ });
106
+ }
108
107
 
109
108
  /**
110
109
  * Add WorkItems to TestPlan with Sections as TestSuites
@@ -112,11 +111,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
112
111
  * @param {String} id Test plan internal (guid format) or global (int format) identifier
113
112
  * @param {Object} opts Optional parameters
114
113
  * @param {Array.<String>} [requestBody]
115
- * @param {module:api/TestPlansApi~addWorkItemsWithSectionsCallback} callback The callback function, accepting three arguments: error, data, response
114
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
116
115
  */
117
116
  }, {
118
- key: "addWorkItemsWithSections",
119
- value: function addWorkItemsWithSections(id, opts, callback) {
117
+ key: "addWorkItemsWithSectionsWithHttpInfo",
118
+ value: function addWorkItemsWithSectionsWithHttpInfo(id, opts) {
120
119
  opts = opts || {};
121
120
  var postBody = opts['requestBody'];
122
121
  // verify the required parameter 'id' is set
@@ -133,27 +132,34 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
133
132
  var contentTypes = ['application/json'];
134
133
  var accepts = ['application/json'];
135
134
  var returnType = null;
136
- return this.apiClient.callApi('/api/v2/testPlans/{id}/workItems/withSections', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
135
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/workItems/withSections', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
137
136
  }
138
137
 
139
138
  /**
140
- * Callback function to receive the result of the apiV2TestPlansIdAnalyticsGet operation.
141
- * @callback module:api/TestPlansApi~apiV2TestPlansIdAnalyticsGetCallback
142
- * @param {String} error Error message, if any.
143
- * @param {module:model/TestPointAnalyticResult} data The data returned by the service call.
144
- * @param {String} response The complete HTTP response.
139
+ * Add WorkItems to TestPlan with Sections as TestSuites
140
+ * Use case User sets TestPlan identifier User sets WorkItem identifiers (listed in request example) User runs method execution System added WorkItems and Sections to TestPlan System returns no content response
141
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
142
+ * @param {Object} opts Optional parameters
143
+ * @param {Array.<String>} opts.requestBody
144
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
145
145
  */
146
+ }, {
147
+ key: "addWorkItemsWithSections",
148
+ value: function addWorkItemsWithSections(id, opts) {
149
+ return this.addWorkItemsWithSectionsWithHttpInfo(id, opts).then(function (response_and_data) {
150
+ return response_and_data.data;
151
+ });
152
+ }
146
153
 
147
154
  /**
148
155
  * Get analytics by TestPlan
149
156
  * Use case User sets test plan identifier User runs method execution System returns analytics by test plan
150
157
  * @param {String} id Test plan internal (guid format) or global (int format) identifier
151
- * @param {module:api/TestPlansApi~apiV2TestPlansIdAnalyticsGetCallback} callback The callback function, accepting three arguments: error, data, response
152
- * data is of type: {@link module:model/TestPointAnalyticResult}
158
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestPointAnalyticResult} and HTTP response
153
159
  */
154
160
  }, {
155
- key: "apiV2TestPlansIdAnalyticsGet",
156
- value: function apiV2TestPlansIdAnalyticsGet(id, callback) {
161
+ key: "apiV2TestPlansIdAnalyticsGetWithHttpInfo",
162
+ value: function apiV2TestPlansIdAnalyticsGetWithHttpInfo(id) {
157
163
  var postBody = null;
158
164
  // verify the required parameter 'id' is set
159
165
  if (id === undefined || id === null) {
@@ -169,28 +175,33 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
169
175
  var contentTypes = [];
170
176
  var accepts = ['application/json'];
171
177
  var returnType = _TestPointAnalyticResult["default"];
172
- return this.apiClient.callApi('/api/v2/testPlans/{id}/analytics', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
178
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/analytics', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
173
179
  }
174
180
 
175
181
  /**
176
- * Callback function to receive the result of the apiV2TestPlansIdAutobalancePost operation.
177
- * @callback module:api/TestPlansApi~apiV2TestPlansIdAutobalancePostCallback
178
- * @param {String} error Error message, if any.
179
- * @param {module:model/TestPlanWithTestSuiteTreeModel} data The data returned by the service call.
180
- * @param {String} response The complete HTTP response.
182
+ * Get analytics by TestPlan
183
+ * Use case User sets test plan identifier User runs method execution System returns analytics by test plan
184
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
185
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestPointAnalyticResult}
181
186
  */
187
+ }, {
188
+ key: "apiV2TestPlansIdAnalyticsGet",
189
+ value: function apiV2TestPlansIdAnalyticsGet(id) {
190
+ return this.apiV2TestPlansIdAnalyticsGetWithHttpInfo(id).then(function (response_and_data) {
191
+ return response_and_data.data;
192
+ });
193
+ }
182
194
 
183
195
  /**
184
196
  * Distribute test points between the users
185
197
  * @param {String} id Test plan unique or global ID
186
198
  * @param {Object} opts Optional parameters
187
199
  * @param {Array.<String>} [testers] Specifies a project user IDs to distribute
188
- * @param {module:api/TestPlansApi~apiV2TestPlansIdAutobalancePostCallback} callback The callback function, accepting three arguments: error, data, response
189
- * data is of type: {@link module:model/TestPlanWithTestSuiteTreeModel}
200
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestPlanWithTestSuiteTreeModel} and HTTP response
190
201
  */
191
202
  }, {
192
- key: "apiV2TestPlansIdAutobalancePost",
193
- value: function apiV2TestPlansIdAutobalancePost(id, opts, callback) {
203
+ key: "apiV2TestPlansIdAutobalancePostWithHttpInfo",
204
+ value: function apiV2TestPlansIdAutobalancePostWithHttpInfo(id, opts) {
194
205
  opts = opts || {};
195
206
  var postBody = null;
196
207
  // verify the required parameter 'id' is set
@@ -209,27 +220,33 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
209
220
  var contentTypes = [];
210
221
  var accepts = ['application/json'];
211
222
  var returnType = _TestPlanWithTestSuiteTreeModel["default"];
212
- return this.apiClient.callApi('/api/v2/testPlans/{id}/autobalance', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
223
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/autobalance', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
213
224
  }
214
225
 
215
226
  /**
216
- * Callback function to receive the result of the apiV2TestPlansIdConfigurationsGet operation.
217
- * @callback module:api/TestPlansApi~apiV2TestPlansIdConfigurationsGetCallback
218
- * @param {String} error Error message, if any.
219
- * @param {Array.<module:model/ConfigurationModel>} data The data returned by the service call.
220
- * @param {String} response The complete HTTP response.
227
+ * Distribute test points between the users
228
+ * @param {String} id Test plan unique or global ID
229
+ * @param {Object} opts Optional parameters
230
+ * @param {Array.<String>} opts.testers Specifies a project user IDs to distribute
231
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestPlanWithTestSuiteTreeModel}
221
232
  */
233
+ }, {
234
+ key: "apiV2TestPlansIdAutobalancePost",
235
+ value: function apiV2TestPlansIdAutobalancePost(id, opts) {
236
+ return this.apiV2TestPlansIdAutobalancePostWithHttpInfo(id, opts).then(function (response_and_data) {
237
+ return response_and_data.data;
238
+ });
239
+ }
222
240
 
223
241
  /**
224
242
  * Get TestPlan configurations
225
243
  * Use case User sets test plan identifier User runs method execution System return test plan configurations
226
244
  * @param {String} id Test plan internal (guid format) or global (int format) identifier
227
- * @param {module:api/TestPlansApi~apiV2TestPlansIdConfigurationsGetCallback} callback The callback function, accepting three arguments: error, data, response
228
- * data is of type: {@link Array.<module:model/ConfigurationModel>}
245
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/ConfigurationModel>} and HTTP response
229
246
  */
230
247
  }, {
231
- key: "apiV2TestPlansIdConfigurationsGet",
232
- value: function apiV2TestPlansIdConfigurationsGet(id, callback) {
248
+ key: "apiV2TestPlansIdConfigurationsGetWithHttpInfo",
249
+ value: function apiV2TestPlansIdConfigurationsGetWithHttpInfo(id) {
233
250
  var postBody = null;
234
251
  // verify the required parameter 'id' is set
235
252
  if (id === undefined || id === null) {
@@ -245,16 +262,22 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
245
262
  var contentTypes = [];
246
263
  var accepts = ['application/json'];
247
264
  var returnType = [_ConfigurationModel["default"]];
248
- return this.apiClient.callApi('/api/v2/testPlans/{id}/configurations', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
265
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/configurations', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
249
266
  }
250
267
 
251
268
  /**
252
- * Callback function to receive the result of the apiV2TestPlansIdExportTestPointsXlsxPost operation.
253
- * @callback module:api/TestPlansApi~apiV2TestPlansIdExportTestPointsXlsxPostCallback
254
- * @param {String} error Error message, if any.
255
- * @param data This operation does not return a value.
256
- * @param {String} response The complete HTTP response.
269
+ * Get TestPlan configurations
270
+ * Use case User sets test plan identifier User runs method execution System return test plan configurations
271
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
272
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/ConfigurationModel>}
257
273
  */
274
+ }, {
275
+ key: "apiV2TestPlansIdConfigurationsGet",
276
+ value: function apiV2TestPlansIdConfigurationsGet(id) {
277
+ return this.apiV2TestPlansIdConfigurationsGetWithHttpInfo(id).then(function (response_and_data) {
278
+ return response_and_data.data;
279
+ });
280
+ }
258
281
 
259
282
  /**
260
283
  * Export TestPoints from TestPlan in xls format
@@ -263,11 +286,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
263
286
  * @param {Object} opts Optional parameters
264
287
  * @param {Number} [timeZoneOffsetInMinutes]
265
288
  * @param {module:model/GetXlsxTestPointsByTestPlanModel} [getXlsxTestPointsByTestPlanModel]
266
- * @param {module:api/TestPlansApi~apiV2TestPlansIdExportTestPointsXlsxPostCallback} callback The callback function, accepting three arguments: error, data, response
289
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
267
290
  */
268
291
  }, {
269
- key: "apiV2TestPlansIdExportTestPointsXlsxPost",
270
- value: function apiV2TestPlansIdExportTestPointsXlsxPost(id, opts, callback) {
292
+ key: "apiV2TestPlansIdExportTestPointsXlsxPostWithHttpInfo",
293
+ value: function apiV2TestPlansIdExportTestPointsXlsxPostWithHttpInfo(id, opts) {
271
294
  opts = opts || {};
272
295
  var postBody = opts['getXlsxTestPointsByTestPlanModel'];
273
296
  // verify the required parameter 'id' is set
@@ -286,16 +309,25 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
286
309
  var contentTypes = ['application/json'];
287
310
  var accepts = ['application/json'];
288
311
  var returnType = null;
289
- return this.apiClient.callApi('/api/v2/testPlans/{id}/export/testPoints/xlsx', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
312
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/export/testPoints/xlsx', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
290
313
  }
291
314
 
292
315
  /**
293
- * Callback function to receive the result of the apiV2TestPlansIdExportTestResultHistoryXlsxPost operation.
294
- * @callback module:api/TestPlansApi~apiV2TestPlansIdExportTestResultHistoryXlsxPostCallback
295
- * @param {String} error Error message, if any.
296
- * @param data This operation does not return a value.
297
- * @param {String} response The complete HTTP response.
316
+ * Export TestPoints from TestPlan in xls format
317
+ * Use case User sets test plan identifier User sets filter model (listed in request example) User runs method execution System return export xlsx file
318
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
319
+ * @param {Object} opts Optional parameters
320
+ * @param {Number} opts.timeZoneOffsetInMinutes
321
+ * @param {module:model/GetXlsxTestPointsByTestPlanModel} opts.getXlsxTestPointsByTestPlanModel
322
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
298
323
  */
324
+ }, {
325
+ key: "apiV2TestPlansIdExportTestPointsXlsxPost",
326
+ value: function apiV2TestPlansIdExportTestPointsXlsxPost(id, opts) {
327
+ return this.apiV2TestPlansIdExportTestPointsXlsxPostWithHttpInfo(id, opts).then(function (response_and_data) {
328
+ return response_and_data.data;
329
+ });
330
+ }
299
331
 
300
332
  /**
301
333
  * Export TestResults history from TestPlan in xls format
@@ -306,11 +338,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
306
338
  * @param {Boolean} [includeSteps]
307
339
  * @param {Boolean} [includeDeletedTestSuites]
308
340
  * @param {Number} [timeZoneOffsetInMinutes]
309
- * @param {module:api/TestPlansApi~apiV2TestPlansIdExportTestResultHistoryXlsxPostCallback} callback The callback function, accepting three arguments: error, data, response
341
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
310
342
  */
311
343
  }, {
312
- key: "apiV2TestPlansIdExportTestResultHistoryXlsxPost",
313
- value: function apiV2TestPlansIdExportTestResultHistoryXlsxPost(id, opts, callback) {
344
+ key: "apiV2TestPlansIdExportTestResultHistoryXlsxPostWithHttpInfo",
345
+ value: function apiV2TestPlansIdExportTestResultHistoryXlsxPostWithHttpInfo(id, opts) {
314
346
  opts = opts || {};
315
347
  var postBody = null;
316
348
  // verify the required parameter 'id' is set
@@ -333,16 +365,27 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
333
365
  var contentTypes = [];
334
366
  var accepts = ['application/json'];
335
367
  var returnType = null;
336
- return this.apiClient.callApi('/api/v2/testPlans/{id}/export/testResultHistory/xlsx', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
368
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/export/testResultHistory/xlsx', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
337
369
  }
338
370
 
339
371
  /**
340
- * Callback function to receive the result of the apiV2TestPlansIdHistoryGet operation.
341
- * @callback module:api/TestPlansApi~apiV2TestPlansIdHistoryGetCallback
342
- * @param {String} error Error message, if any.
343
- * @param {Array.<module:model/TestPlanChangeModel>} data The data returned by the service call.
344
- * @param {String} response The complete HTTP response.
372
+ * Export TestResults history from TestPlan in xls format
373
+ * Use case User sets test plan identifier User sets filter model (listed in request example) User runs method execution System return export xlsx file
374
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
375
+ * @param {Object} opts Optional parameters
376
+ * @param {Boolean} opts.mustReturnOnlyLastTestResult
377
+ * @param {Boolean} opts.includeSteps
378
+ * @param {Boolean} opts.includeDeletedTestSuites
379
+ * @param {Number} opts.timeZoneOffsetInMinutes
380
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
345
381
  */
382
+ }, {
383
+ key: "apiV2TestPlansIdExportTestResultHistoryXlsxPost",
384
+ value: function apiV2TestPlansIdExportTestResultHistoryXlsxPost(id, opts) {
385
+ return this.apiV2TestPlansIdExportTestResultHistoryXlsxPostWithHttpInfo(id, opts).then(function (response_and_data) {
386
+ return response_and_data.data;
387
+ });
388
+ }
346
389
 
347
390
  /**
348
391
  * Get TestPlan history
@@ -354,12 +397,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
354
397
  * @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
355
398
  * @param {String} [searchField] Property name for searching
356
399
  * @param {String} [searchValue] Value for searching
357
- * @param {module:api/TestPlansApi~apiV2TestPlansIdHistoryGetCallback} callback The callback function, accepting three arguments: error, data, response
358
- * data is of type: {@link Array.<module:model/TestPlanChangeModel>}
400
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestPlanChangeModel>} and HTTP response
359
401
  */
360
402
  }, {
361
- key: "apiV2TestPlansIdHistoryGet",
362
- value: function apiV2TestPlansIdHistoryGet(id, opts, callback) {
403
+ key: "apiV2TestPlansIdHistoryGetWithHttpInfo",
404
+ value: function apiV2TestPlansIdHistoryGetWithHttpInfo(id, opts) {
363
405
  opts = opts || {};
364
406
  var postBody = null;
365
407
  // verify the required parameter 'id' is set
@@ -382,16 +424,28 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
382
424
  var contentTypes = [];
383
425
  var accepts = ['application/json'];
384
426
  var returnType = [_TestPlanChangeModel["default"]];
385
- return this.apiClient.callApi('/api/v2/testPlans/{id}/history', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
427
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/history', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
386
428
  }
387
429
 
388
430
  /**
389
- * Callback function to receive the result of the apiV2TestPlansIdLinksGet operation.
390
- * @callback module:api/TestPlansApi~apiV2TestPlansIdLinksGetCallback
391
- * @param {String} error Error message, if any.
392
- * @param {Array.<module:model/TestPlanLink>} data The data returned by the service call.
393
- * @param {String} response The complete HTTP response.
431
+ * Get TestPlan history
432
+ * Use case User sets test plan identifier User runs method execution System return test plan history
433
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
434
+ * @param {Object} opts Optional parameters
435
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
436
+ * @param {Number} opts.take Amount of items to be taken (limit)
437
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
438
+ * @param {String} opts.searchField Property name for searching
439
+ * @param {String} opts.searchValue Value for searching
440
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestPlanChangeModel>}
394
441
  */
442
+ }, {
443
+ key: "apiV2TestPlansIdHistoryGet",
444
+ value: function apiV2TestPlansIdHistoryGet(id, opts) {
445
+ return this.apiV2TestPlansIdHistoryGetWithHttpInfo(id, opts).then(function (response_and_data) {
446
+ return response_and_data.data;
447
+ });
448
+ }
395
449
 
396
450
  /**
397
451
  * Get Links of TestPlan
@@ -401,12 +455,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
401
455
  * @param {Number} [skip]
402
456
  * @param {Number} [take]
403
457
  * @param {String} [orderBy]
404
- * @param {module:api/TestPlansApi~apiV2TestPlansIdLinksGetCallback} callback The callback function, accepting three arguments: error, data, response
405
- * data is of type: {@link Array.<module:model/TestPlanLink>}
458
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestPlanLink>} and HTTP response
406
459
  */
407
460
  }, {
408
- key: "apiV2TestPlansIdLinksGet",
409
- value: function apiV2TestPlansIdLinksGet(id, opts, callback) {
461
+ key: "apiV2TestPlansIdLinksGetWithHttpInfo",
462
+ value: function apiV2TestPlansIdLinksGetWithHttpInfo(id, opts) {
410
463
  opts = opts || {};
411
464
  var postBody = null;
412
465
  // verify the required parameter 'id' is set
@@ -427,16 +480,26 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
427
480
  var contentTypes = [];
428
481
  var accepts = ['application/json'];
429
482
  var returnType = [_TestPlanLink["default"]];
430
- return this.apiClient.callApi('/api/v2/testPlans/{id}/links', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
483
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/links', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
431
484
  }
432
485
 
433
486
  /**
434
- * Callback function to receive the result of the apiV2TestPlansIdPatch operation.
435
- * @callback module:api/TestPlansApi~apiV2TestPlansIdPatchCallback
436
- * @param {String} error Error message, if any.
437
- * @param data This operation does not return a value.
438
- * @param {String} response The complete HTTP response.
487
+ * Get Links of TestPlan
488
+ * Use case User sets test plan identifier User sets pagination filter (listed in request example) User runs method execution System returns links of TestPlan
489
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
490
+ * @param {Object} opts Optional parameters
491
+ * @param {Number} opts.skip
492
+ * @param {Number} opts.take
493
+ * @param {String} opts.orderBy
494
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestPlanLink>}
439
495
  */
496
+ }, {
497
+ key: "apiV2TestPlansIdLinksGet",
498
+ value: function apiV2TestPlansIdLinksGet(id, opts) {
499
+ return this.apiV2TestPlansIdLinksGetWithHttpInfo(id, opts).then(function (response_and_data) {
500
+ return response_and_data.data;
501
+ });
502
+ }
440
503
 
441
504
  /**
442
505
  * Patch test plan
@@ -444,11 +507,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
444
507
  * @param {String} id Unique ID of the test plan
445
508
  * @param {Object} opts Optional parameters
446
509
  * @param {Array.<module:model/Operation>} [operation]
447
- * @param {module:api/TestPlansApi~apiV2TestPlansIdPatchCallback} callback The callback function, accepting three arguments: error, data, response
510
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
448
511
  */
449
512
  }, {
450
- key: "apiV2TestPlansIdPatch",
451
- value: function apiV2TestPlansIdPatch(id, opts, callback) {
513
+ key: "apiV2TestPlansIdPatchWithHttpInfo",
514
+ value: function apiV2TestPlansIdPatchWithHttpInfo(id, opts) {
452
515
  opts = opts || {};
453
516
  var postBody = opts['operation'];
454
517
  // verify the required parameter 'id' is set
@@ -465,27 +528,34 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
465
528
  var contentTypes = ['application/json'];
466
529
  var accepts = ['application/json'];
467
530
  var returnType = null;
468
- return this.apiClient.callApi('/api/v2/testPlans/{id}', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
531
+ return this.apiClient.callApi('/api/v2/testPlans/{id}', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
469
532
  }
470
533
 
471
534
  /**
472
- * Callback function to receive the result of the apiV2TestPlansIdSummariesGet operation.
473
- * @callback module:api/TestPlansApi~apiV2TestPlansIdSummariesGetCallback
474
- * @param {String} error Error message, if any.
475
- * @param {module:model/TestPlanSummaryModel} data The data returned by the service call.
476
- * @param {String} response The complete HTTP response.
535
+ * Patch test plan
536
+ * See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details
537
+ * @param {String} id Unique ID of the test plan
538
+ * @param {Object} opts Optional parameters
539
+ * @param {Array.<module:model/Operation>} opts.operation
540
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
477
541
  */
542
+ }, {
543
+ key: "apiV2TestPlansIdPatch",
544
+ value: function apiV2TestPlansIdPatch(id, opts) {
545
+ return this.apiV2TestPlansIdPatchWithHttpInfo(id, opts).then(function (response_and_data) {
546
+ return response_and_data.data;
547
+ });
548
+ }
478
549
 
479
550
  /**
480
551
  * Get summary by TestPlan
481
552
  * Use case User sets test plan identifier User runs method execution System returns summary by test plan
482
553
  * @param {String} id Test plan internal (guid format) or global (int format) identifier
483
- * @param {module:api/TestPlansApi~apiV2TestPlansIdSummariesGetCallback} callback The callback function, accepting three arguments: error, data, response
484
- * data is of type: {@link module:model/TestPlanSummaryModel}
554
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestPlanSummaryModel} and HTTP response
485
555
  */
486
556
  }, {
487
- key: "apiV2TestPlansIdSummariesGet",
488
- value: function apiV2TestPlansIdSummariesGet(id, callback) {
557
+ key: "apiV2TestPlansIdSummariesGetWithHttpInfo",
558
+ value: function apiV2TestPlansIdSummariesGetWithHttpInfo(id) {
489
559
  var postBody = null;
490
560
  // verify the required parameter 'id' is set
491
561
  if (id === undefined || id === null) {
@@ -501,16 +571,22 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
501
571
  var contentTypes = [];
502
572
  var accepts = ['application/json'];
503
573
  var returnType = _TestPlanSummaryModel["default"];
504
- return this.apiClient.callApi('/api/v2/testPlans/{id}/summaries', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
574
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/summaries', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
505
575
  }
506
576
 
507
577
  /**
508
- * Callback function to receive the result of the apiV2TestPlansIdTestPointsLastResultsGet operation.
509
- * @callback module:api/TestPlansApi~apiV2TestPlansIdTestPointsLastResultsGetCallback
510
- * @param {String} error Error message, if any.
511
- * @param {Array.<module:model/TestPointWithLastResultResponseModel>} data The data returned by the service call.
512
- * @param {String} response The complete HTTP response.
578
+ * Get summary by TestPlan
579
+ * Use case User sets test plan identifier User runs method execution System returns summary by test plan
580
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
581
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestPlanSummaryModel}
513
582
  */
583
+ }, {
584
+ key: "apiV2TestPlansIdSummariesGet",
585
+ value: function apiV2TestPlansIdSummariesGet(id) {
586
+ return this.apiV2TestPlansIdSummariesGetWithHttpInfo(id).then(function (response_and_data) {
587
+ return response_and_data.data;
588
+ });
589
+ }
514
590
 
515
591
  /**
516
592
  * Get TestPoints with last result from TestPlan
@@ -523,12 +599,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
523
599
  * @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
524
600
  * @param {String} [searchField] Property name for searching
525
601
  * @param {String} [searchValue] Value for searching
526
- * @param {module:api/TestPlansApi~apiV2TestPlansIdTestPointsLastResultsGetCallback} callback The callback function, accepting three arguments: error, data, response
527
- * data is of type: {@link Array.<module:model/TestPointWithLastResultResponseModel>}
602
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestPointWithLastResultResponseModel>} and HTTP response
528
603
  */
529
604
  }, {
530
- key: "apiV2TestPlansIdTestPointsLastResultsGet",
531
- value: function apiV2TestPlansIdTestPointsLastResultsGet(id, opts, callback) {
605
+ key: "apiV2TestPlansIdTestPointsLastResultsGetWithHttpInfo",
606
+ value: function apiV2TestPlansIdTestPointsLastResultsGetWithHttpInfo(id, opts) {
532
607
  opts = opts || {};
533
608
  var postBody = null;
534
609
  // verify the required parameter 'id' is set
@@ -552,16 +627,29 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
552
627
  var contentTypes = [];
553
628
  var accepts = ['application/json'];
554
629
  var returnType = [_TestPointWithLastResultResponseModel["default"]];
555
- return this.apiClient.callApi('/api/v2/testPlans/{id}/testPoints/lastResults', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
630
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/testPoints/lastResults', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
556
631
  }
557
632
 
558
633
  /**
559
- * Callback function to receive the result of the apiV2TestPlansIdTestPointsResetPost operation.
560
- * @callback module:api/TestPlansApi~apiV2TestPlansIdTestPointsResetPostCallback
561
- * @param {String} error Error message, if any.
562
- * @param data This operation does not return a value.
563
- * @param {String} response The complete HTTP response.
634
+ * Get TestPoints with last result from TestPlan
635
+ * Use case User sets test plan identifier User sets filter (listed in request example) User runs method execution System return test points with last result from test plan
636
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
637
+ * @param {Object} opts Optional parameters
638
+ * @param {String} opts.testerId
639
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
640
+ * @param {Number} opts.take Amount of items to be taken (limit)
641
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
642
+ * @param {String} opts.searchField Property name for searching
643
+ * @param {String} opts.searchValue Value for searching
644
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestPointWithLastResultResponseModel>}
564
645
  */
646
+ }, {
647
+ key: "apiV2TestPlansIdTestPointsLastResultsGet",
648
+ value: function apiV2TestPlansIdTestPointsLastResultsGet(id, opts) {
649
+ return this.apiV2TestPlansIdTestPointsLastResultsGetWithHttpInfo(id, opts).then(function (response_and_data) {
650
+ return response_and_data.data;
651
+ });
652
+ }
565
653
 
566
654
  /**
567
655
  * Reset TestPoints status of TestPlan
@@ -569,11 +657,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
569
657
  * @param {String} id Test plan internal (guid format) or global (int format) identifier
570
658
  * @param {Object} opts Optional parameters
571
659
  * @param {Array.<String>} [requestBody]
572
- * @param {module:api/TestPlansApi~apiV2TestPlansIdTestPointsResetPostCallback} callback The callback function, accepting three arguments: error, data, response
660
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
573
661
  */
574
662
  }, {
575
- key: "apiV2TestPlansIdTestPointsResetPost",
576
- value: function apiV2TestPlansIdTestPointsResetPost(id, opts, callback) {
663
+ key: "apiV2TestPlansIdTestPointsResetPostWithHttpInfo",
664
+ value: function apiV2TestPlansIdTestPointsResetPostWithHttpInfo(id, opts) {
577
665
  opts = opts || {};
578
666
  var postBody = opts['requestBody'];
579
667
  // verify the required parameter 'id' is set
@@ -590,28 +678,35 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
590
678
  var contentTypes = ['application/json'];
591
679
  var accepts = ['application/json'];
592
680
  var returnType = null;
593
- return this.apiClient.callApi('/api/v2/testPlans/{id}/testPoints/reset', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
681
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/testPoints/reset', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
594
682
  }
595
683
 
596
684
  /**
597
- * Callback function to receive the result of the apiV2TestPlansIdTestPointsTesterDelete operation.
598
- * @callback module:api/TestPlansApi~apiV2TestPlansIdTestPointsTesterDeleteCallback
599
- * @param {String} error Error message, if any.
600
- * @param {Array.<String>} data The data returned by the service call.
601
- * @param {String} response The complete HTTP response.
685
+ * Reset TestPoints status of TestPlan
686
+ * Use case User sets test plan identifier User sets test points identifiers User runs method execution System reset test points statuses of test plan
687
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
688
+ * @param {Object} opts Optional parameters
689
+ * @param {Array.<String>} opts.requestBody
690
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
602
691
  */
692
+ }, {
693
+ key: "apiV2TestPlansIdTestPointsResetPost",
694
+ value: function apiV2TestPlansIdTestPointsResetPost(id, opts) {
695
+ return this.apiV2TestPlansIdTestPointsResetPostWithHttpInfo(id, opts).then(function (response_and_data) {
696
+ return response_and_data.data;
697
+ });
698
+ }
603
699
 
604
700
  /**
605
701
  * Unassign users from multiple test points
606
702
  * @param {String} id Unique or global ID of the test plan
607
703
  * @param {Object} opts Optional parameters
608
704
  * @param {module:model/TestPointSelectModel} [testPointSelectModel]
609
- * @param {module:api/TestPlansApi~apiV2TestPlansIdTestPointsTesterDeleteCallback} callback The callback function, accepting three arguments: error, data, response
610
- * data is of type: {@link Array.<String>}
705
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<String>} and HTTP response
611
706
  */
612
707
  }, {
613
- key: "apiV2TestPlansIdTestPointsTesterDelete",
614
- value: function apiV2TestPlansIdTestPointsTesterDelete(id, opts, callback) {
708
+ key: "apiV2TestPlansIdTestPointsTesterDeleteWithHttpInfo",
709
+ value: function apiV2TestPlansIdTestPointsTesterDeleteWithHttpInfo(id, opts) {
615
710
  opts = opts || {};
616
711
  var postBody = opts['testPointSelectModel'];
617
712
  // verify the required parameter 'id' is set
@@ -628,16 +723,23 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
628
723
  var contentTypes = ['application/json'];
629
724
  var accepts = ['application/json'];
630
725
  var returnType = ['String'];
631
- return this.apiClient.callApi('/api/v2/testPlans/{id}/testPoints/tester', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
726
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/testPoints/tester', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
632
727
  }
633
728
 
634
729
  /**
635
- * Callback function to receive the result of the apiV2TestPlansIdTestPointsTesterUserIdPost operation.
636
- * @callback module:api/TestPlansApi~apiV2TestPlansIdTestPointsTesterUserIdPostCallback
637
- * @param {String} error Error message, if any.
638
- * @param {Array.<String>} data The data returned by the service call.
639
- * @param {String} response The complete HTTP response.
730
+ * Unassign users from multiple test points
731
+ * @param {String} id Unique or global ID of the test plan
732
+ * @param {Object} opts Optional parameters
733
+ * @param {module:model/TestPointSelectModel} opts.testPointSelectModel
734
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<String>}
640
735
  */
736
+ }, {
737
+ key: "apiV2TestPlansIdTestPointsTesterDelete",
738
+ value: function apiV2TestPlansIdTestPointsTesterDelete(id, opts) {
739
+ return this.apiV2TestPlansIdTestPointsTesterDeleteWithHttpInfo(id, opts).then(function (response_and_data) {
740
+ return response_and_data.data;
741
+ });
742
+ }
641
743
 
642
744
  /**
643
745
  * Assign user as a tester to multiple test points
@@ -645,12 +747,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
645
747
  * @param {String} userId Unique ID of the user
646
748
  * @param {Object} opts Optional parameters
647
749
  * @param {module:model/TestPointSelectModel} [testPointSelectModel]
648
- * @param {module:api/TestPlansApi~apiV2TestPlansIdTestPointsTesterUserIdPostCallback} callback The callback function, accepting three arguments: error, data, response
649
- * data is of type: {@link Array.<String>}
750
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<String>} and HTTP response
650
751
  */
651
752
  }, {
652
- key: "apiV2TestPlansIdTestPointsTesterUserIdPost",
653
- value: function apiV2TestPlansIdTestPointsTesterUserIdPost(id, userId, opts, callback) {
753
+ key: "apiV2TestPlansIdTestPointsTesterUserIdPostWithHttpInfo",
754
+ value: function apiV2TestPlansIdTestPointsTesterUserIdPostWithHttpInfo(id, userId, opts) {
654
755
  opts = opts || {};
655
756
  var postBody = opts['testPointSelectModel'];
656
757
  // verify the required parameter 'id' is set
@@ -672,16 +773,24 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
672
773
  var contentTypes = ['application/json'];
673
774
  var accepts = ['application/json'];
674
775
  var returnType = ['String'];
675
- return this.apiClient.callApi('/api/v2/testPlans/{id}/testPoints/tester/{userId}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
776
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/testPoints/tester/{userId}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
676
777
  }
677
778
 
678
779
  /**
679
- * Callback function to receive the result of the apiV2TestPlansIdTestRunsGet operation.
680
- * @callback module:api/TestPlansApi~apiV2TestPlansIdTestRunsGetCallback
681
- * @param {String} error Error message, if any.
682
- * @param {Array.<module:model/TestRunApiResult>} data The data returned by the service call.
683
- * @param {String} response The complete HTTP response.
780
+ * Assign user as a tester to multiple test points
781
+ * @param {String} id Unique or global ID of the test plan
782
+ * @param {String} userId Unique ID of the user
783
+ * @param {Object} opts Optional parameters
784
+ * @param {module:model/TestPointSelectModel} opts.testPointSelectModel
785
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<String>}
684
786
  */
787
+ }, {
788
+ key: "apiV2TestPlansIdTestPointsTesterUserIdPost",
789
+ value: function apiV2TestPlansIdTestPointsTesterUserIdPost(id, userId, opts) {
790
+ return this.apiV2TestPlansIdTestPointsTesterUserIdPostWithHttpInfo(id, userId, opts).then(function (response_and_data) {
791
+ return response_and_data.data;
792
+ });
793
+ }
685
794
 
686
795
  /**
687
796
  * Get TestRuns of TestPlan
@@ -697,12 +806,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
697
806
  * @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
698
807
  * @param {String} [searchField] Property name for searching
699
808
  * @param {String} [searchValue] Value for searching
700
- * @param {module:api/TestPlansApi~apiV2TestPlansIdTestRunsGetCallback} callback The callback function, accepting three arguments: error, data, response
701
- * data is of type: {@link Array.<module:model/TestRunApiResult>}
809
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestRunApiResult>} and HTTP response
702
810
  */
703
811
  }, {
704
- key: "apiV2TestPlansIdTestRunsGet",
705
- value: function apiV2TestPlansIdTestRunsGet(id, opts, callback) {
812
+ key: "apiV2TestPlansIdTestRunsGetWithHttpInfo",
813
+ value: function apiV2TestPlansIdTestRunsGetWithHttpInfo(id, opts) {
706
814
  opts = opts || {};
707
815
  var postBody = null;
708
816
  // verify the required parameter 'id' is set
@@ -729,16 +837,32 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
729
837
  var contentTypes = [];
730
838
  var accepts = ['application/json'];
731
839
  var returnType = [_TestRunApiResult["default"]];
732
- return this.apiClient.callApi('/api/v2/testPlans/{id}/testRuns', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
840
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/testRuns', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
733
841
  }
734
842
 
735
843
  /**
736
- * Callback function to receive the result of the apiV2TestPlansIdTestRunsSearchPost operation.
737
- * @callback module:api/TestPlansApi~apiV2TestPlansIdTestRunsSearchPostCallback
738
- * @param {String} error Error message, if any.
739
- * @param {Array.<module:model/TestRunApiResult>} data The data returned by the service call.
740
- * @param {String} response The complete HTTP response.
844
+ * Get TestRuns of TestPlan
845
+ * Use case User sets test plan identifier User sets TestRun status filter (listed in request example) User runs method execution System returns TestRuns for TestPlan
846
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
847
+ * @param {Object} opts Optional parameters
848
+ * @param {Boolean} opts.notStarted
849
+ * @param {Boolean} opts.inProgress
850
+ * @param {Boolean} opts.stopped
851
+ * @param {Boolean} opts.completed
852
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
853
+ * @param {Number} opts.take Amount of items to be taken (limit)
854
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
855
+ * @param {String} opts.searchField Property name for searching
856
+ * @param {String} opts.searchValue Value for searching
857
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestRunApiResult>}
741
858
  */
859
+ }, {
860
+ key: "apiV2TestPlansIdTestRunsGet",
861
+ value: function apiV2TestPlansIdTestRunsGet(id, opts) {
862
+ return this.apiV2TestPlansIdTestRunsGetWithHttpInfo(id, opts).then(function (response_and_data) {
863
+ return response_and_data.data;
864
+ });
865
+ }
742
866
 
743
867
  /**
744
868
  * Search TestRuns of TestPlan
@@ -751,12 +875,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
751
875
  * @param {String} [searchField] Property name for searching
752
876
  * @param {String} [searchValue] Value for searching
753
877
  * @param {module:model/SearchTestRunsApiModel} [searchTestRunsApiModel]
754
- * @param {module:api/TestPlansApi~apiV2TestPlansIdTestRunsSearchPostCallback} callback The callback function, accepting three arguments: error, data, response
755
- * data is of type: {@link Array.<module:model/TestRunApiResult>}
878
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestRunApiResult>} and HTTP response
756
879
  */
757
880
  }, {
758
- key: "apiV2TestPlansIdTestRunsSearchPost",
759
- value: function apiV2TestPlansIdTestRunsSearchPost(id, opts, callback) {
881
+ key: "apiV2TestPlansIdTestRunsSearchPostWithHttpInfo",
882
+ value: function apiV2TestPlansIdTestRunsSearchPostWithHttpInfo(id, opts) {
760
883
  opts = opts || {};
761
884
  var postBody = opts['searchTestRunsApiModel'];
762
885
  // verify the required parameter 'id' is set
@@ -779,25 +902,38 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
779
902
  var contentTypes = ['application/json'];
780
903
  var accepts = ['application/json'];
781
904
  var returnType = [_TestRunApiResult["default"]];
782
- return this.apiClient.callApi('/api/v2/testPlans/{id}/testRuns/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
905
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/testRuns/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
783
906
  }
784
907
 
785
908
  /**
786
- * Callback function to receive the result of the apiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGet operation.
787
- * @callback module:api/TestPlansApi~apiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGetCallback
788
- * @param {String} error Error message, if any.
789
- * @param data This operation does not return a value.
790
- * @param {String} response The complete HTTP response.
909
+ * Search TestRuns of TestPlan
910
+ * Use case User sets test plan identifier User sets TestRuns filter (listed in request example) User runs method execution System returns TestRuns for TestPlan
911
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
912
+ * @param {Object} opts Optional parameters
913
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
914
+ * @param {Number} opts.take Amount of items to be taken (limit)
915
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
916
+ * @param {String} opts.searchField Property name for searching
917
+ * @param {String} opts.searchValue Value for searching
918
+ * @param {module:model/SearchTestRunsApiModel} opts.searchTestRunsApiModel
919
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestRunApiResult>}
791
920
  */
921
+ }, {
922
+ key: "apiV2TestPlansIdTestRunsSearchPost",
923
+ value: function apiV2TestPlansIdTestRunsSearchPost(id, opts) {
924
+ return this.apiV2TestPlansIdTestRunsSearchPostWithHttpInfo(id, opts).then(function (response_and_data) {
925
+ return response_and_data.data;
926
+ });
927
+ }
792
928
 
793
929
  /**
794
930
  * Get last modification date of test plan's test results
795
931
  * @param {String} id Internal (UUID) or global (integer) identifier
796
- * @param {module:api/TestPlansApi~apiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGetCallback} callback The callback function, accepting three arguments: error, data, response
932
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
797
933
  */
798
934
  }, {
799
- key: "apiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGet",
800
- value: function apiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGet(id, callback) {
935
+ key: "apiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGetWithHttpInfo",
936
+ value: function apiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGetWithHttpInfo(id) {
801
937
  var postBody = null;
802
938
  // verify the required parameter 'id' is set
803
939
  if (id === undefined || id === null) {
@@ -813,26 +949,31 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
813
949
  var contentTypes = [];
814
950
  var accepts = ['application/json'];
815
951
  var returnType = null;
816
- return this.apiClient.callApi('/api/v2/testPlans/{id}/testRuns/testResults/lastModified/modifiedDate', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
952
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/testRuns/testResults/lastModified/modifiedDate', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
817
953
  }
818
954
 
819
955
  /**
820
- * Callback function to receive the result of the apiV2TestPlansIdUnlockRequestPost operation.
821
- * @callback module:api/TestPlansApi~apiV2TestPlansIdUnlockRequestPostCallback
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.
956
+ * Get last modification date of test plan's test results
957
+ * @param {String} id Internal (UUID) or global (integer) identifier
958
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
825
959
  */
960
+ }, {
961
+ key: "apiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGet",
962
+ value: function apiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGet(id) {
963
+ return this.apiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGetWithHttpInfo(id).then(function (response_and_data) {
964
+ return response_and_data.data;
965
+ });
966
+ }
826
967
 
827
968
  /**
828
969
  * Send unlock TestPlan notification
829
970
  * Use case User sets test plan identifier User runs method execution System send unlock test plan notification
830
971
  * @param {String} id Test plan internal (guid format) or global (int format) identifier
831
- * @param {module:api/TestPlansApi~apiV2TestPlansIdUnlockRequestPostCallback} callback The callback function, accepting three arguments: error, data, response
972
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
832
973
  */
833
974
  }, {
834
- key: "apiV2TestPlansIdUnlockRequestPost",
835
- value: function apiV2TestPlansIdUnlockRequestPost(id, callback) {
975
+ key: "apiV2TestPlansIdUnlockRequestPostWithHttpInfo",
976
+ value: function apiV2TestPlansIdUnlockRequestPostWithHttpInfo(id) {
836
977
  var postBody = null;
837
978
  // verify the required parameter 'id' is set
838
979
  if (id === undefined || id === null) {
@@ -848,16 +989,22 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
848
989
  var contentTypes = [];
849
990
  var accepts = ['application/json'];
850
991
  var returnType = null;
851
- return this.apiClient.callApi('/api/v2/testPlans/{id}/unlock/request', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
992
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/unlock/request', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
852
993
  }
853
994
 
854
995
  /**
855
- * Callback function to receive the result of the apiV2TestPlansShortsPost operation.
856
- * @callback module:api/TestPlansApi~apiV2TestPlansShortsPostCallback
857
- * @param {String} error Error message, if any.
858
- * @param {Array.<module:model/TestPlanShortModel>} data The data returned by the service call.
859
- * @param {String} response The complete HTTP response.
996
+ * Send unlock TestPlan notification
997
+ * Use case User sets test plan identifier User runs method execution System send unlock test plan notification
998
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
999
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
860
1000
  */
1001
+ }, {
1002
+ key: "apiV2TestPlansIdUnlockRequestPost",
1003
+ value: function apiV2TestPlansIdUnlockRequestPost(id) {
1004
+ return this.apiV2TestPlansIdUnlockRequestPostWithHttpInfo(id).then(function (response_and_data) {
1005
+ return response_and_data.data;
1006
+ });
1007
+ }
861
1008
 
862
1009
  /**
863
1010
  * Get TestPlans short models by Project identifiers
@@ -865,12 +1012,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
865
1012
  * @param {Object} opts Optional parameters
866
1013
  * @param {Boolean} [isDeleted]
867
1014
  * @param {Array.<String>} [requestBody]
868
- * @param {module:api/TestPlansApi~apiV2TestPlansShortsPostCallback} callback The callback function, accepting three arguments: error, data, response
869
- * data is of type: {@link Array.<module:model/TestPlanShortModel>}
1015
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestPlanShortModel>} and HTTP response
870
1016
  */
871
1017
  }, {
872
- key: "apiV2TestPlansShortsPost",
873
- value: function apiV2TestPlansShortsPost(opts, callback) {
1018
+ key: "apiV2TestPlansShortsPostWithHttpInfo",
1019
+ value: function apiV2TestPlansShortsPostWithHttpInfo(opts) {
874
1020
  opts = opts || {};
875
1021
  var postBody = opts['requestBody'];
876
1022
  var pathParams = {};
@@ -883,27 +1029,34 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
883
1029
  var contentTypes = ['application/json'];
884
1030
  var accepts = ['application/json'];
885
1031
  var returnType = [_TestPlanShortModel["default"]];
886
- return this.apiClient.callApi('/api/v2/testPlans/shorts', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1032
+ return this.apiClient.callApi('/api/v2/testPlans/shorts', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
887
1033
  }
888
1034
 
889
1035
  /**
890
- * Callback function to receive the result of the clone operation.
891
- * @callback module:api/TestPlansApi~cloneCallback
892
- * @param {String} error Error message, if any.
893
- * @param {module:model/TestPlanModel} data The data returned by the service call.
894
- * @param {String} response The complete HTTP response.
1036
+ * Get TestPlans short models by Project identifiers
1037
+ * Use case User sets projects identifiers User runs method execution System return test plans short models (listed in response example)
1038
+ * @param {Object} opts Optional parameters
1039
+ * @param {Boolean} opts.isDeleted
1040
+ * @param {Array.<String>} opts.requestBody
1041
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestPlanShortModel>}
895
1042
  */
1043
+ }, {
1044
+ key: "apiV2TestPlansShortsPost",
1045
+ value: function apiV2TestPlansShortsPost(opts) {
1046
+ return this.apiV2TestPlansShortsPostWithHttpInfo(opts).then(function (response_and_data) {
1047
+ return response_and_data.data;
1048
+ });
1049
+ }
896
1050
 
897
1051
  /**
898
1052
  * Clone TestPlan
899
1053
  * Use case User sets test plan identifier User runs method execution System clones test plan System returns test plan (listed in response example)
900
1054
  * @param {String} id Test plan internal (guid format) or global (int format) identifier
901
- * @param {module:api/TestPlansApi~cloneCallback} callback The callback function, accepting three arguments: error, data, response
902
- * data is of type: {@link module:model/TestPlanModel}
1055
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestPlanModel} and HTTP response
903
1056
  */
904
1057
  }, {
905
- key: "clone",
906
- value: function clone(id, callback) {
1058
+ key: "cloneWithHttpInfo",
1059
+ value: function cloneWithHttpInfo(id) {
907
1060
  var postBody = null;
908
1061
  // verify the required parameter 'id' is set
909
1062
  if (id === undefined || id === null) {
@@ -919,26 +1072,32 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
919
1072
  var contentTypes = [];
920
1073
  var accepts = ['application/json'];
921
1074
  var returnType = _TestPlanModel["default"];
922
- return this.apiClient.callApi('/api/v2/testPlans/{id}/clone', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1075
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/clone', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
923
1076
  }
924
1077
 
925
1078
  /**
926
- * Callback function to receive the result of the complete operation.
927
- * @callback module:api/TestPlansApi~completeCallback
928
- * @param {String} error Error message, if any.
929
- * @param data This operation does not return a value.
930
- * @param {String} response The complete HTTP response.
1079
+ * Clone TestPlan
1080
+ * Use case User sets test plan identifier User runs method execution System clones test plan System returns test plan (listed in response example)
1081
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
1082
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestPlanModel}
931
1083
  */
1084
+ }, {
1085
+ key: "clone",
1086
+ value: function clone(id) {
1087
+ return this.cloneWithHttpInfo(id).then(function (response_and_data) {
1088
+ return response_and_data.data;
1089
+ });
1090
+ }
932
1091
 
933
1092
  /**
934
1093
  * Complete TestPlan
935
1094
  * Use case User sets test plan identifier User runs method execution System completes the test plan and updates test plan status System returns no content response
936
1095
  * @param {String} id Test plan internal (guid format) or global (int format) identifier
937
- * @param {module:api/TestPlansApi~completeCallback} callback The callback function, accepting three arguments: error, data, response
1096
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
938
1097
  */
939
1098
  }, {
940
- key: "complete",
941
- value: function complete(id, callback) {
1099
+ key: "completeWithHttpInfo",
1100
+ value: function completeWithHttpInfo(id) {
942
1101
  var postBody = null;
943
1102
  // verify the required parameter 'id' is set
944
1103
  if (id === undefined || id === null) {
@@ -954,28 +1113,33 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
954
1113
  var contentTypes = [];
955
1114
  var accepts = ['application/json'];
956
1115
  var returnType = null;
957
- return this.apiClient.callApi('/api/v2/testPlans/{id}/complete', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1116
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/complete', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
958
1117
  }
959
1118
 
960
1119
  /**
961
- * Callback function to receive the result of the createTestPlan operation.
962
- * @callback module:api/TestPlansApi~createTestPlanCallback
963
- * @param {String} error Error message, if any.
964
- * @param {module:model/TestPlanModel} data The data returned by the service call.
965
- * @param {String} response The complete HTTP response.
1120
+ * Complete TestPlan
1121
+ * Use case User sets test plan identifier User runs method execution System completes the test plan and updates test plan status System returns no content response
1122
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
1123
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
966
1124
  */
1125
+ }, {
1126
+ key: "complete",
1127
+ value: function complete(id) {
1128
+ return this.completeWithHttpInfo(id).then(function (response_and_data) {
1129
+ return response_and_data.data;
1130
+ });
1131
+ }
967
1132
 
968
1133
  /**
969
1134
  * Create TestPlan
970
1135
  * Use case User sets test plan properties (listed in request example) User runs method execution System creates test plan System returns test plan (listed in response example)
971
1136
  * @param {Object} opts Optional parameters
972
1137
  * @param {module:model/CreateTestPlanApiModel} [createTestPlanApiModel]
973
- * @param {module:api/TestPlansApi~createTestPlanCallback} callback The callback function, accepting three arguments: error, data, response
974
- * data is of type: {@link module:model/TestPlanModel}
1138
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestPlanModel} and HTTP response
975
1139
  */
976
1140
  }, {
977
- key: "createTestPlan",
978
- value: function createTestPlan(opts, callback) {
1141
+ key: "createTestPlanWithHttpInfo",
1142
+ value: function createTestPlanWithHttpInfo(opts) {
979
1143
  opts = opts || {};
980
1144
  var postBody = opts['createTestPlanApiModel'];
981
1145
  var pathParams = {};
@@ -986,26 +1150,33 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
986
1150
  var contentTypes = ['application/json'];
987
1151
  var accepts = ['application/json'];
988
1152
  var returnType = _TestPlanModel["default"];
989
- return this.apiClient.callApi('/api/v2/testPlans', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1153
+ return this.apiClient.callApi('/api/v2/testPlans', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
990
1154
  }
991
1155
 
992
1156
  /**
993
- * Callback function to receive the result of the deleteTestPlan operation.
994
- * @callback module:api/TestPlansApi~deleteTestPlanCallback
995
- * @param {String} error Error message, if any.
996
- * @param data This operation does not return a value.
997
- * @param {String} response The complete HTTP response.
1157
+ * Create TestPlan
1158
+ * Use case User sets test plan properties (listed in request example) User runs method execution System creates test plan System returns test plan (listed in response example)
1159
+ * @param {Object} opts Optional parameters
1160
+ * @param {module:model/CreateTestPlanApiModel} opts.createTestPlanApiModel
1161
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestPlanModel}
998
1162
  */
1163
+ }, {
1164
+ key: "createTestPlan",
1165
+ value: function createTestPlan(opts) {
1166
+ return this.createTestPlanWithHttpInfo(opts).then(function (response_and_data) {
1167
+ return response_and_data.data;
1168
+ });
1169
+ }
999
1170
 
1000
1171
  /**
1001
1172
  * Delete TestPlan
1002
1173
  * Use case User sets test plan identifier User runs method execution System delete test plan System returns no content response
1003
1174
  * @param {String} id Test plan internal (guid format) or global (int format) identifier
1004
- * @param {module:api/TestPlansApi~deleteTestPlanCallback} callback The callback function, accepting three arguments: error, data, response
1175
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1005
1176
  */
1006
1177
  }, {
1007
- key: "deleteTestPlan",
1008
- value: function deleteTestPlan(id, callback) {
1178
+ key: "deleteTestPlanWithHttpInfo",
1179
+ value: function deleteTestPlanWithHttpInfo(id) {
1009
1180
  var postBody = null;
1010
1181
  // verify the required parameter 'id' is set
1011
1182
  if (id === undefined || id === null) {
@@ -1021,27 +1192,32 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
1021
1192
  var contentTypes = [];
1022
1193
  var accepts = ['application/json'];
1023
1194
  var returnType = null;
1024
- return this.apiClient.callApi('/api/v2/testPlans/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1195
+ return this.apiClient.callApi('/api/v2/testPlans/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1025
1196
  }
1026
1197
 
1027
1198
  /**
1028
- * Callback function to receive the result of the getTestPlanById operation.
1029
- * @callback module:api/TestPlansApi~getTestPlanByIdCallback
1030
- * @param {String} error Error message, if any.
1031
- * @param {module:model/TestPlanModel} data The data returned by the service call.
1032
- * @param {String} response The complete HTTP response.
1199
+ * Delete TestPlan
1200
+ * Use case User sets test plan identifier User runs method execution System delete test plan System returns no content response
1201
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
1202
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1033
1203
  */
1204
+ }, {
1205
+ key: "deleteTestPlan",
1206
+ value: function deleteTestPlan(id) {
1207
+ return this.deleteTestPlanWithHttpInfo(id).then(function (response_and_data) {
1208
+ return response_and_data.data;
1209
+ });
1210
+ }
1034
1211
 
1035
1212
  /**
1036
1213
  * Get TestPlan by Id
1037
1214
  * Use case User sets test plan identifier User runs method execution System search test plan by the identifier System returns test plan
1038
1215
  * @param {String} id Test plan internal (guid format) or global (int format) identifier
1039
- * @param {module:api/TestPlansApi~getTestPlanByIdCallback} callback The callback function, accepting three arguments: error, data, response
1040
- * data is of type: {@link module:model/TestPlanModel}
1216
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestPlanModel} and HTTP response
1041
1217
  */
1042
1218
  }, {
1043
- key: "getTestPlanById",
1044
- value: function getTestPlanById(id, callback) {
1219
+ key: "getTestPlanByIdWithHttpInfo",
1220
+ value: function getTestPlanByIdWithHttpInfo(id) {
1045
1221
  var postBody = null;
1046
1222
  // verify the required parameter 'id' is set
1047
1223
  if (id === undefined || id === null) {
@@ -1057,27 +1233,32 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
1057
1233
  var contentTypes = [];
1058
1234
  var accepts = ['application/json'];
1059
1235
  var returnType = _TestPlanModel["default"];
1060
- return this.apiClient.callApi('/api/v2/testPlans/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1236
+ return this.apiClient.callApi('/api/v2/testPlans/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1061
1237
  }
1062
1238
 
1063
1239
  /**
1064
- * Callback function to receive the result of the getTestSuitesById operation.
1065
- * @callback module:api/TestPlansApi~getTestSuitesByIdCallback
1066
- * @param {String} error Error message, if any.
1067
- * @param {Array.<module:model/TestSuiteHierarchyApiResult>} data The data returned by the service call.
1068
- * @param {String} response The complete HTTP response.
1240
+ * Get TestPlan by Id
1241
+ * Use case User sets test plan identifier User runs method execution System search test plan by the identifier System returns test plan
1242
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
1243
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestPlanModel}
1069
1244
  */
1245
+ }, {
1246
+ key: "getTestPlanById",
1247
+ value: function getTestPlanById(id) {
1248
+ return this.getTestPlanByIdWithHttpInfo(id).then(function (response_and_data) {
1249
+ return response_and_data.data;
1250
+ });
1251
+ }
1070
1252
 
1071
1253
  /**
1072
1254
  * Get TestSuites Tree By Id
1073
1255
  * Use case User sets test plan identifier User runs method execution System finds test suites related to the test plan System returns test suites as a tree model (listed in response example)
1074
1256
  * @param {String} id Test plan internal (guid format) or global (int format) identifier
1075
- * @param {module:api/TestPlansApi~getTestSuitesByIdCallback} callback The callback function, accepting three arguments: error, data, response
1076
- * data is of type: {@link Array.<module:model/TestSuiteHierarchyApiResult>}
1257
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestSuiteHierarchyApiResult>} and HTTP response
1077
1258
  */
1078
1259
  }, {
1079
- key: "getTestSuitesById",
1080
- value: function getTestSuitesById(id, callback) {
1260
+ key: "getTestSuitesByIdWithHttpInfo",
1261
+ value: function getTestSuitesByIdWithHttpInfo(id) {
1081
1262
  var postBody = null;
1082
1263
  // verify the required parameter 'id' is set
1083
1264
  if (id === undefined || id === null) {
@@ -1093,26 +1274,32 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
1093
1274
  var contentTypes = [];
1094
1275
  var accepts = ['application/json'];
1095
1276
  var returnType = [_TestSuiteHierarchyApiResult["default"]];
1096
- return this.apiClient.callApi('/api/v2/testPlans/{id}/testSuites', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1277
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/testSuites', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1097
1278
  }
1098
1279
 
1099
1280
  /**
1100
- * Callback function to receive the result of the pause operation.
1101
- * @callback module:api/TestPlansApi~pauseCallback
1102
- * @param {String} error Error message, if any.
1103
- * @param data This operation does not return a value.
1104
- * @param {String} response The complete HTTP response.
1281
+ * Get TestSuites Tree By Id
1282
+ * Use case User sets test plan identifier User runs method execution System finds test suites related to the test plan System returns test suites as a tree model (listed in response example)
1283
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
1284
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestSuiteHierarchyApiResult>}
1105
1285
  */
1286
+ }, {
1287
+ key: "getTestSuitesById",
1288
+ value: function getTestSuitesById(id) {
1289
+ return this.getTestSuitesByIdWithHttpInfo(id).then(function (response_and_data) {
1290
+ return response_and_data.data;
1291
+ });
1292
+ }
1106
1293
 
1107
1294
  /**
1108
1295
  * Pause TestPlan
1109
1296
  * Use case User sets test plan identifier User runs method execution System pauses the test plan and updates test plan status System returns no content response
1110
1297
  * @param {String} id Test plan internal (guid format) or global (int format) identifier
1111
- * @param {module:api/TestPlansApi~pauseCallback} callback The callback function, accepting three arguments: error, data, response
1298
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1112
1299
  */
1113
1300
  }, {
1114
- key: "pause",
1115
- value: function pause(id, callback) {
1301
+ key: "pauseWithHttpInfo",
1302
+ value: function pauseWithHttpInfo(id) {
1116
1303
  var postBody = null;
1117
1304
  // verify the required parameter 'id' is set
1118
1305
  if (id === undefined || id === null) {
@@ -1128,25 +1315,31 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
1128
1315
  var contentTypes = [];
1129
1316
  var accepts = ['application/json'];
1130
1317
  var returnType = null;
1131
- return this.apiClient.callApi('/api/v2/testPlans/{id}/pause', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1318
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/pause', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1132
1319
  }
1133
1320
 
1134
1321
  /**
1135
- * Callback function to receive the result of the purgeTestPlan operation.
1136
- * @callback module:api/TestPlansApi~purgeTestPlanCallback
1137
- * @param {String} error Error message, if any.
1138
- * @param data This operation does not return a value.
1139
- * @param {String} response The complete HTTP response.
1322
+ * Pause TestPlan
1323
+ * Use case User sets test plan identifier User runs method execution System pauses the test plan and updates test plan status System returns no content response
1324
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
1325
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1140
1326
  */
1327
+ }, {
1328
+ key: "pause",
1329
+ value: function pause(id) {
1330
+ return this.pauseWithHttpInfo(id).then(function (response_and_data) {
1331
+ return response_and_data.data;
1332
+ });
1333
+ }
1141
1334
 
1142
1335
  /**
1143
1336
  * Permanently delete test plan from archive
1144
1337
  * @param {String} id Unique or global ID of the test plan
1145
- * @param {module:api/TestPlansApi~purgeTestPlanCallback} callback The callback function, accepting three arguments: error, data, response
1338
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1146
1339
  */
1147
1340
  }, {
1148
- key: "purgeTestPlan",
1149
- value: function purgeTestPlan(id, callback) {
1341
+ key: "purgeTestPlanWithHttpInfo",
1342
+ value: function purgeTestPlanWithHttpInfo(id) {
1150
1343
  var postBody = null;
1151
1344
  // verify the required parameter 'id' is set
1152
1345
  if (id === undefined || id === null) {
@@ -1162,26 +1355,31 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
1162
1355
  var contentTypes = [];
1163
1356
  var accepts = ['application/json'];
1164
1357
  var returnType = null;
1165
- return this.apiClient.callApi('/api/v2/testPlans/{id}/purge', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1358
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/purge', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1166
1359
  }
1167
1360
 
1168
1361
  /**
1169
- * Callback function to receive the result of the restoreTestPlan operation.
1170
- * @callback module:api/TestPlansApi~restoreTestPlanCallback
1171
- * @param {String} error Error message, if any.
1172
- * @param data This operation does not return a value.
1173
- * @param {String} response The complete HTTP response.
1362
+ * Permanently delete test plan from archive
1363
+ * @param {String} id Unique or global ID of the test plan
1364
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1174
1365
  */
1366
+ }, {
1367
+ key: "purgeTestPlan",
1368
+ value: function purgeTestPlan(id) {
1369
+ return this.purgeTestPlanWithHttpInfo(id).then(function (response_and_data) {
1370
+ return response_and_data.data;
1371
+ });
1372
+ }
1175
1373
 
1176
1374
  /**
1177
1375
  * Restore TestPlan
1178
1376
  * Use case User sets test plan identifier User runs method execution System restores test plan System returns no content response
1179
1377
  * @param {String} id Test plan internal (guid format) or global (int format) identifier
1180
- * @param {module:api/TestPlansApi~restoreTestPlanCallback} callback The callback function, accepting three arguments: error, data, response
1378
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1181
1379
  */
1182
1380
  }, {
1183
- key: "restoreTestPlan",
1184
- value: function restoreTestPlan(id, callback) {
1381
+ key: "restoreTestPlanWithHttpInfo",
1382
+ value: function restoreTestPlanWithHttpInfo(id) {
1185
1383
  var postBody = null;
1186
1384
  // verify the required parameter 'id' is set
1187
1385
  if (id === undefined || id === null) {
@@ -1197,26 +1395,32 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
1197
1395
  var contentTypes = [];
1198
1396
  var accepts = ['application/json'];
1199
1397
  var returnType = null;
1200
- return this.apiClient.callApi('/api/v2/testPlans/{id}/restore', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1398
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/restore', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1201
1399
  }
1202
1400
 
1203
1401
  /**
1204
- * Callback function to receive the result of the start operation.
1205
- * @callback module:api/TestPlansApi~startCallback
1206
- * @param {String} error Error message, if any.
1207
- * @param data This operation does not return a value.
1208
- * @param {String} response The complete HTTP response.
1402
+ * Restore TestPlan
1403
+ * Use case User sets test plan identifier User runs method execution System restores test plan System returns no content response
1404
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
1405
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1209
1406
  */
1407
+ }, {
1408
+ key: "restoreTestPlan",
1409
+ value: function restoreTestPlan(id) {
1410
+ return this.restoreTestPlanWithHttpInfo(id).then(function (response_and_data) {
1411
+ return response_and_data.data;
1412
+ });
1413
+ }
1210
1414
 
1211
1415
  /**
1212
1416
  * Start TestPlan
1213
1417
  * Use case User sets test plan identifier User runs method execution System starts the test plan and updates test plan status System returns no content response
1214
1418
  * @param {String} id Test plan internal (guid format) or global (int format) identifier
1215
- * @param {module:api/TestPlansApi~startCallback} callback The callback function, accepting three arguments: error, data, response
1419
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1216
1420
  */
1217
1421
  }, {
1218
- key: "start",
1219
- value: function start(id, callback) {
1422
+ key: "startWithHttpInfo",
1423
+ value: function startWithHttpInfo(id) {
1220
1424
  var postBody = null;
1221
1425
  // verify the required parameter 'id' is set
1222
1426
  if (id === undefined || id === null) {
@@ -1232,27 +1436,33 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
1232
1436
  var contentTypes = [];
1233
1437
  var accepts = ['application/json'];
1234
1438
  var returnType = null;
1235
- return this.apiClient.callApi('/api/v2/testPlans/{id}/start', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1439
+ return this.apiClient.callApi('/api/v2/testPlans/{id}/start', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1236
1440
  }
1237
1441
 
1238
1442
  /**
1239
- * Callback function to receive the result of the updateTestPlan operation.
1240
- * @callback module:api/TestPlansApi~updateTestPlanCallback
1241
- * @param {String} error Error message, if any.
1242
- * @param data This operation does not return a value.
1243
- * @param {String} response The complete HTTP response.
1443
+ * Start TestPlan
1444
+ * Use case User sets test plan identifier User runs method execution System starts the test plan and updates test plan status System returns no content response
1445
+ * @param {String} id Test plan internal (guid format) or global (int format) identifier
1446
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1244
1447
  */
1448
+ }, {
1449
+ key: "start",
1450
+ value: function start(id) {
1451
+ return this.startWithHttpInfo(id).then(function (response_and_data) {
1452
+ return response_and_data.data;
1453
+ });
1454
+ }
1245
1455
 
1246
1456
  /**
1247
1457
  * Update TestPlan
1248
1458
  * Use case User sets test plan properties(listed in request example) User runs method execution System updates test plan System returns no content response
1249
1459
  * @param {Object} opts Optional parameters
1250
1460
  * @param {module:model/UpdateTestPlanApiModel} [updateTestPlanApiModel]
1251
- * @param {module:api/TestPlansApi~updateTestPlanCallback} callback The callback function, accepting three arguments: error, data, response
1461
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1252
1462
  */
1253
1463
  }, {
1254
- key: "updateTestPlan",
1255
- value: function updateTestPlan(opts, callback) {
1464
+ key: "updateTestPlanWithHttpInfo",
1465
+ value: function updateTestPlanWithHttpInfo(opts) {
1256
1466
  opts = opts || {};
1257
1467
  var postBody = opts['updateTestPlanApiModel'];
1258
1468
  var pathParams = {};
@@ -1263,7 +1473,22 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
1263
1473
  var contentTypes = ['application/json'];
1264
1474
  var accepts = ['application/json'];
1265
1475
  var returnType = null;
1266
- return this.apiClient.callApi('/api/v2/testPlans', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1476
+ return this.apiClient.callApi('/api/v2/testPlans', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1477
+ }
1478
+
1479
+ /**
1480
+ * Update TestPlan
1481
+ * Use case User sets test plan properties(listed in request example) User runs method execution System updates test plan System returns no content response
1482
+ * @param {Object} opts Optional parameters
1483
+ * @param {module:model/UpdateTestPlanApiModel} opts.updateTestPlanApiModel
1484
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1485
+ */
1486
+ }, {
1487
+ key: "updateTestPlan",
1488
+ value: function updateTestPlan(opts) {
1489
+ return this.updateTestPlanWithHttpInfo(opts).then(function (response_and_data) {
1490
+ return response_and_data.data;
1491
+ });
1267
1492
  }
1268
1493
  }]);
1269
1494
  }();