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
  * Projects service.
48
48
  * @module api/ProjectsApi
49
- * @version 7.0.0-rc1
49
+ * @version 7.0.0-rc2
50
50
  */
51
51
  var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
52
52
  /**
@@ -61,25 +61,17 @@ var ProjectsApi = 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 addGlobalAttributesToProject operation.
66
- * @callback module:api/ProjectsApi~addGlobalAttributesToProjectCallback
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 global attributes to project
74
66
  * Use case User sets project internal or global identifier and attributes identifiers System search project System relates global attributes with project System returns no content response
75
67
  * @param {String} id Project internal (UUID) or global (integer) identifier
76
68
  * @param {Object} opts Optional parameters
77
69
  * @param {Array.<String>} [requestBody]
78
- * @param {module:api/ProjectsApi~addGlobalAttributesToProjectCallback} callback The callback function, accepting three arguments: error, data, response
70
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
79
71
  */
80
72
  return _createClass(ProjectsApi, [{
81
- key: "addGlobalAttributesToProject",
82
- value: function addGlobalAttributesToProject(id, opts, callback) {
73
+ key: "addGlobalAttributesToProjectWithHttpInfo",
74
+ value: function addGlobalAttributesToProjectWithHttpInfo(id, opts) {
83
75
  opts = opts || {};
84
76
  var postBody = opts['requestBody'];
85
77
  // verify the required parameter 'id' is set
@@ -96,24 +88,31 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
96
88
  var contentTypes = ['application/json'];
97
89
  var accepts = ['application/json'];
98
90
  var returnType = null;
99
- return this.apiClient.callApi('/api/v2/projects/{id}/globalAttributes', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
91
+ return this.apiClient.callApi('/api/v2/projects/{id}/globalAttributes', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
100
92
  }
101
93
 
102
94
  /**
103
- * Callback function to receive the result of the apiV2ProjectsDemoPost operation.
104
- * @callback module:api/ProjectsApi~apiV2ProjectsDemoPostCallback
105
- * @param {String} error Error message, if any.
106
- * @param {module:model/DemoProjectApiResult} data The data returned by the service call.
107
- * @param {String} response The complete HTTP response.
95
+ * Add global attributes to project
96
+ * Use case User sets project internal or global identifier and attributes identifiers System search project System relates global attributes with project System returns no content response
97
+ * @param {String} id Project internal (UUID) or global (integer) identifier
98
+ * @param {Object} opts Optional parameters
99
+ * @param {Array.<String>} opts.requestBody
100
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
108
101
  */
102
+ }, {
103
+ key: "addGlobalAttributesToProject",
104
+ value: function addGlobalAttributesToProject(id, opts) {
105
+ return this.addGlobalAttributesToProjectWithHttpInfo(id, opts).then(function (response_and_data) {
106
+ return response_and_data.data;
107
+ });
108
+ }
109
109
 
110
110
  /**
111
- * @param {module:api/ProjectsApi~apiV2ProjectsDemoPostCallback} callback The callback function, accepting three arguments: error, data, response
112
- * data is of type: {@link module:model/DemoProjectApiResult}
111
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DemoProjectApiResult} and HTTP response
113
112
  */
114
113
  }, {
115
- key: "apiV2ProjectsDemoPost",
116
- value: function apiV2ProjectsDemoPost(callback) {
114
+ key: "apiV2ProjectsDemoPostWithHttpInfo",
115
+ value: function apiV2ProjectsDemoPostWithHttpInfo() {
117
116
  var postBody = null;
118
117
  var pathParams = {};
119
118
  var queryParams = {};
@@ -123,25 +122,28 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
123
122
  var contentTypes = [];
124
123
  var accepts = ['application/json'];
125
124
  var returnType = _DemoProjectApiResult["default"];
126
- return this.apiClient.callApi('/api/v2/projects/demo', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
125
+ return this.apiClient.callApi('/api/v2/projects/demo', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
127
126
  }
128
127
 
129
128
  /**
130
- * Callback function to receive the result of the apiV2ProjectsIdDelete operation.
131
- * @callback module:api/ProjectsApi~apiV2ProjectsIdDeleteCallback
132
- * @param {String} error Error message, if any.
133
- * @param data This operation does not return a value.
134
- * @param {String} response The complete HTTP response.
129
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DemoProjectApiResult}
135
130
  */
131
+ }, {
132
+ key: "apiV2ProjectsDemoPost",
133
+ value: function apiV2ProjectsDemoPost() {
134
+ return this.apiV2ProjectsDemoPostWithHttpInfo().then(function (response_and_data) {
135
+ return response_and_data.data;
136
+ });
137
+ }
136
138
 
137
139
  /**
138
140
  * Archive project
139
141
  * @param {String} id Unique or global ID of the project
140
- * @param {module:api/ProjectsApi~apiV2ProjectsIdDeleteCallback} callback The callback function, accepting three arguments: error, data, response
142
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
141
143
  */
142
144
  }, {
143
- key: "apiV2ProjectsIdDelete",
144
- value: function apiV2ProjectsIdDelete(id, callback) {
145
+ key: "apiV2ProjectsIdDeleteWithHttpInfo",
146
+ value: function apiV2ProjectsIdDeleteWithHttpInfo(id) {
145
147
  var postBody = null;
146
148
  // verify the required parameter 'id' is set
147
149
  if (id === undefined || id === null) {
@@ -157,28 +159,32 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
157
159
  var contentTypes = [];
158
160
  var accepts = ['application/json'];
159
161
  var returnType = null;
160
- return this.apiClient.callApi('/api/v2/projects/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
162
+ return this.apiClient.callApi('/api/v2/projects/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
161
163
  }
162
164
 
163
165
  /**
164
- * Callback function to receive the result of the apiV2ProjectsIdFailureClassesGet operation.
165
- * @callback module:api/ProjectsApi~apiV2ProjectsIdFailureClassesGetCallback
166
- * @param {String} error Error message, if any.
167
- * @param {Array.<module:model/FailureCategoryApiResult>} data The data returned by the service call.
168
- * @param {String} response The complete HTTP response.
166
+ * Archive project
167
+ * @param {String} id Unique or global ID of the project
168
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
169
169
  */
170
+ }, {
171
+ key: "apiV2ProjectsIdDelete",
172
+ value: function apiV2ProjectsIdDelete(id) {
173
+ return this.apiV2ProjectsIdDeleteWithHttpInfo(id).then(function (response_and_data) {
174
+ return response_and_data.data;
175
+ });
176
+ }
170
177
 
171
178
  /**
172
179
  * Get failure classes
173
180
  * @param {String} id Unique or global ID of the project
174
181
  * @param {Object} opts Optional parameters
175
182
  * @param {Boolean} [isDeleted]
176
- * @param {module:api/ProjectsApi~apiV2ProjectsIdFailureClassesGetCallback} callback The callback function, accepting three arguments: error, data, response
177
- * data is of type: {@link Array.<module:model/FailureCategoryApiResult>}
183
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/FailureCategoryApiResult>} and HTTP response
178
184
  */
179
185
  }, {
180
- key: "apiV2ProjectsIdFailureClassesGet",
181
- value: function apiV2ProjectsIdFailureClassesGet(id, opts, callback) {
186
+ key: "apiV2ProjectsIdFailureClassesGetWithHttpInfo",
187
+ value: function apiV2ProjectsIdFailureClassesGetWithHttpInfo(id, opts) {
182
188
  opts = opts || {};
183
189
  var postBody = null;
184
190
  // verify the required parameter 'id' is set
@@ -197,25 +203,32 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
197
203
  var contentTypes = [];
198
204
  var accepts = ['application/json'];
199
205
  var returnType = [_FailureCategoryApiResult["default"]];
200
- return this.apiClient.callApi('/api/v2/projects/{id}/failureClasses', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
206
+ return this.apiClient.callApi('/api/v2/projects/{id}/failureClasses', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
201
207
  }
202
208
 
203
209
  /**
204
- * Callback function to receive the result of the apiV2ProjectsIdFavoritePut operation.
205
- * @callback module:api/ProjectsApi~apiV2ProjectsIdFavoritePutCallback
206
- * @param {String} error Error message, if any.
207
- * @param data This operation does not return a value.
208
- * @param {String} response The complete HTTP response.
210
+ * Get failure classes
211
+ * @param {String} id Unique or global ID of the project
212
+ * @param {Object} opts Optional parameters
213
+ * @param {Boolean} opts.isDeleted
214
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/FailureCategoryApiResult>}
209
215
  */
216
+ }, {
217
+ key: "apiV2ProjectsIdFailureClassesGet",
218
+ value: function apiV2ProjectsIdFailureClassesGet(id, opts) {
219
+ return this.apiV2ProjectsIdFailureClassesGetWithHttpInfo(id, opts).then(function (response_and_data) {
220
+ return response_and_data.data;
221
+ });
222
+ }
210
223
 
211
224
  /**
212
225
  * Mark Project as favorite
213
226
  * @param {String} id Project internal (UUID) or global (integer) identifier
214
- * @param {module:api/ProjectsApi~apiV2ProjectsIdFavoritePutCallback} callback The callback function, accepting three arguments: error, data, response
227
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
215
228
  */
216
229
  }, {
217
- key: "apiV2ProjectsIdFavoritePut",
218
- value: function apiV2ProjectsIdFavoritePut(id, callback) {
230
+ key: "apiV2ProjectsIdFavoritePutWithHttpInfo",
231
+ value: function apiV2ProjectsIdFavoritePutWithHttpInfo(id) {
219
232
  var postBody = null;
220
233
  // verify the required parameter 'id' is set
221
234
  if (id === undefined || id === null) {
@@ -231,27 +244,31 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
231
244
  var contentTypes = [];
232
245
  var accepts = ['application/json'];
233
246
  var returnType = null;
234
- return this.apiClient.callApi('/api/v2/projects/{id}/favorite', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
247
+ return this.apiClient.callApi('/api/v2/projects/{id}/favorite', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
235
248
  }
236
249
 
237
250
  /**
238
- * Callback function to receive the result of the apiV2ProjectsIdFiltersGet operation.
239
- * @callback module:api/ProjectsApi~apiV2ProjectsIdFiltersGetCallback
240
- * @param {String} error Error message, if any.
241
- * @param {Array.<module:model/FilterModel>} data The data returned by the service call.
242
- * @param {String} response The complete HTTP response.
251
+ * Mark Project as favorite
252
+ * @param {String} id Project internal (UUID) or global (integer) identifier
253
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
243
254
  */
255
+ }, {
256
+ key: "apiV2ProjectsIdFavoritePut",
257
+ value: function apiV2ProjectsIdFavoritePut(id) {
258
+ return this.apiV2ProjectsIdFavoritePutWithHttpInfo(id).then(function (response_and_data) {
259
+ return response_and_data.data;
260
+ });
261
+ }
244
262
 
245
263
  /**
246
264
  * Get Project filters
247
265
  * Use case User sets project internal or global identifier User runs method execution System returns project filters
248
266
  * @param {String} id Project internal (UUID) or global (integer) identifier
249
- * @param {module:api/ProjectsApi~apiV2ProjectsIdFiltersGetCallback} callback The callback function, accepting three arguments: error, data, response
250
- * data is of type: {@link Array.<module:model/FilterModel>}
267
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/FilterModel>} and HTTP response
251
268
  */
252
269
  }, {
253
- key: "apiV2ProjectsIdFiltersGet",
254
- value: function apiV2ProjectsIdFiltersGet(id, callback) {
270
+ key: "apiV2ProjectsIdFiltersGetWithHttpInfo",
271
+ value: function apiV2ProjectsIdFiltersGetWithHttpInfo(id) {
255
272
  var postBody = null;
256
273
  // verify the required parameter 'id' is set
257
274
  if (id === undefined || id === null) {
@@ -267,16 +284,22 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
267
284
  var contentTypes = [];
268
285
  var accepts = ['application/json'];
269
286
  var returnType = [_FilterModel["default"]];
270
- return this.apiClient.callApi('/api/v2/projects/{id}/filters', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
287
+ return this.apiClient.callApi('/api/v2/projects/{id}/filters', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
271
288
  }
272
289
 
273
290
  /**
274
- * Callback function to receive the result of the apiV2ProjectsIdPatch operation.
275
- * @callback module:api/ProjectsApi~apiV2ProjectsIdPatchCallback
276
- * @param {String} error Error message, if any.
277
- * @param data This operation does not return a value.
278
- * @param {String} response The complete HTTP response.
291
+ * Get Project filters
292
+ * Use case User sets project internal or global identifier User runs method execution System returns project filters
293
+ * @param {String} id Project internal (UUID) or global (integer) identifier
294
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/FilterModel>}
279
295
  */
296
+ }, {
297
+ key: "apiV2ProjectsIdFiltersGet",
298
+ value: function apiV2ProjectsIdFiltersGet(id) {
299
+ return this.apiV2ProjectsIdFiltersGetWithHttpInfo(id).then(function (response_and_data) {
300
+ return response_and_data.data;
301
+ });
302
+ }
280
303
 
281
304
  /**
282
305
  * Patch project
@@ -284,11 +307,11 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
284
307
  * @param {String} id Unique or global Id of project
285
308
  * @param {Object} opts Optional parameters
286
309
  * @param {Array.<module:model/Operation>} [operation]
287
- * @param {module:api/ProjectsApi~apiV2ProjectsIdPatchCallback} callback The callback function, accepting three arguments: error, data, response
310
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
288
311
  */
289
312
  }, {
290
- key: "apiV2ProjectsIdPatch",
291
- value: function apiV2ProjectsIdPatch(id, opts, callback) {
313
+ key: "apiV2ProjectsIdPatchWithHttpInfo",
314
+ value: function apiV2ProjectsIdPatchWithHttpInfo(id, opts) {
292
315
  opts = opts || {};
293
316
  var postBody = opts['operation'];
294
317
  // verify the required parameter 'id' is set
@@ -305,25 +328,33 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
305
328
  var contentTypes = ['application/json'];
306
329
  var accepts = ['application/json'];
307
330
  var returnType = null;
308
- return this.apiClient.callApi('/api/v2/projects/{id}', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
331
+ return this.apiClient.callApi('/api/v2/projects/{id}', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
309
332
  }
310
333
 
311
334
  /**
312
- * Callback function to receive the result of the apiV2ProjectsIdPurgePost operation.
313
- * @callback module:api/ProjectsApi~apiV2ProjectsIdPurgePostCallback
314
- * @param {String} error Error message, if any.
315
- * @param data This operation does not return a value.
316
- * @param {String} response The complete HTTP response.
335
+ * Patch project
336
+ * See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details
337
+ * @param {String} id Unique or global Id of project
338
+ * @param {Object} opts Optional parameters
339
+ * @param {Array.<module:model/Operation>} opts.operation
340
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
317
341
  */
342
+ }, {
343
+ key: "apiV2ProjectsIdPatch",
344
+ value: function apiV2ProjectsIdPatch(id, opts) {
345
+ return this.apiV2ProjectsIdPatchWithHttpInfo(id, opts).then(function (response_and_data) {
346
+ return response_and_data.data;
347
+ });
348
+ }
318
349
 
319
350
  /**
320
351
  * Purge the project
321
352
  * @param {String} id Unique or global ID of the project
322
- * @param {module:api/ProjectsApi~apiV2ProjectsIdPurgePostCallback} callback The callback function, accepting three arguments: error, data, response
353
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
323
354
  */
324
355
  }, {
325
- key: "apiV2ProjectsIdPurgePost",
326
- value: function apiV2ProjectsIdPurgePost(id, callback) {
356
+ key: "apiV2ProjectsIdPurgePostWithHttpInfo",
357
+ value: function apiV2ProjectsIdPurgePostWithHttpInfo(id) {
327
358
  var postBody = null;
328
359
  // verify the required parameter 'id' is set
329
360
  if (id === undefined || id === null) {
@@ -339,25 +370,30 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
339
370
  var contentTypes = [];
340
371
  var accepts = ['application/json'];
341
372
  var returnType = null;
342
- return this.apiClient.callApi('/api/v2/projects/{id}/purge', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
373
+ return this.apiClient.callApi('/api/v2/projects/{id}/purge', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
343
374
  }
344
375
 
345
376
  /**
346
- * Callback function to receive the result of the apiV2ProjectsIdRestorePost operation.
347
- * @callback module:api/ProjectsApi~apiV2ProjectsIdRestorePostCallback
348
- * @param {String} error Error message, if any.
349
- * @param data This operation does not return a value.
350
- * @param {String} response The complete HTTP response.
377
+ * Purge the project
378
+ * @param {String} id Unique or global ID of the project
379
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
351
380
  */
381
+ }, {
382
+ key: "apiV2ProjectsIdPurgePost",
383
+ value: function apiV2ProjectsIdPurgePost(id) {
384
+ return this.apiV2ProjectsIdPurgePostWithHttpInfo(id).then(function (response_and_data) {
385
+ return response_and_data.data;
386
+ });
387
+ }
352
388
 
353
389
  /**
354
390
  * Restore archived project
355
391
  * @param {String} id Unique or global ID of the project
356
- * @param {module:api/ProjectsApi~apiV2ProjectsIdRestorePostCallback} callback The callback function, accepting three arguments: error, data, response
392
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
357
393
  */
358
394
  }, {
359
- key: "apiV2ProjectsIdRestorePost",
360
- value: function apiV2ProjectsIdRestorePost(id, callback) {
395
+ key: "apiV2ProjectsIdRestorePostWithHttpInfo",
396
+ value: function apiV2ProjectsIdRestorePostWithHttpInfo(id) {
361
397
  var postBody = null;
362
398
  // verify the required parameter 'id' is set
363
399
  if (id === undefined || id === null) {
@@ -373,27 +409,32 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
373
409
  var contentTypes = [];
374
410
  var accepts = ['application/json'];
375
411
  var returnType = null;
376
- return this.apiClient.callApi('/api/v2/projects/{id}/restore', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
412
+ return this.apiClient.callApi('/api/v2/projects/{id}/restore', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
377
413
  }
378
414
 
379
415
  /**
380
- * Callback function to receive the result of the apiV2ProjectsIdTestPlansAttributeAttributeIdDelete operation.
381
- * @callback module:api/ProjectsApi~apiV2ProjectsIdTestPlansAttributeAttributeIdDeleteCallback
382
- * @param {String} error Error message, if any.
383
- * @param data This operation does not return a value.
384
- * @param {String} response The complete HTTP response.
416
+ * Restore archived project
417
+ * @param {String} id Unique or global ID of the project
418
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
385
419
  */
420
+ }, {
421
+ key: "apiV2ProjectsIdRestorePost",
422
+ value: function apiV2ProjectsIdRestorePost(id) {
423
+ return this.apiV2ProjectsIdRestorePostWithHttpInfo(id).then(function (response_and_data) {
424
+ return response_and_data.data;
425
+ });
426
+ }
386
427
 
387
428
  /**
388
429
  * Delete attribute from project's test plans
389
430
  * Use case User sets project internal or global identifier and attribute identifier User runs method execution System updates project and delete attribute from project for test plans System returns no content response
390
431
  * @param {String} id Project internal (UUID) or global (integer) identifier
391
432
  * @param {String} attributeId
392
- * @param {module:api/ProjectsApi~apiV2ProjectsIdTestPlansAttributeAttributeIdDeleteCallback} callback The callback function, accepting three arguments: error, data, response
433
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
393
434
  */
394
435
  }, {
395
- key: "apiV2ProjectsIdTestPlansAttributeAttributeIdDelete",
396
- value: function apiV2ProjectsIdTestPlansAttributeAttributeIdDelete(id, attributeId, callback) {
436
+ key: "apiV2ProjectsIdTestPlansAttributeAttributeIdDeleteWithHttpInfo",
437
+ value: function apiV2ProjectsIdTestPlansAttributeAttributeIdDeleteWithHttpInfo(id, attributeId) {
397
438
  var postBody = null;
398
439
  // verify the required parameter 'id' is set
399
440
  if (id === undefined || id === null) {
@@ -414,16 +455,23 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
414
455
  var contentTypes = [];
415
456
  var accepts = ['application/json'];
416
457
  var returnType = null;
417
- return this.apiClient.callApi('/api/v2/projects/{id}/testPlans/attribute/{attributeId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
458
+ return this.apiClient.callApi('/api/v2/projects/{id}/testPlans/attribute/{attributeId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
418
459
  }
419
460
 
420
461
  /**
421
- * Callback function to receive the result of the apiV2ProjectsIdTestPlansAttributePut operation.
422
- * @callback module:api/ProjectsApi~apiV2ProjectsIdTestPlansAttributePutCallback
423
- * @param {String} error Error message, if any.
424
- * @param data This operation does not return a value.
425
- * @param {String} response The complete HTTP response.
462
+ * Delete attribute from project's test plans
463
+ * Use case User sets project internal or global identifier and attribute identifier User runs method execution System updates project and delete attribute from project for test plans System returns no content response
464
+ * @param {String} id Project internal (UUID) or global (integer) identifier
465
+ * @param {String} attributeId
466
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
426
467
  */
468
+ }, {
469
+ key: "apiV2ProjectsIdTestPlansAttributeAttributeIdDelete",
470
+ value: function apiV2ProjectsIdTestPlansAttributeAttributeIdDelete(id, attributeId) {
471
+ return this.apiV2ProjectsIdTestPlansAttributeAttributeIdDeleteWithHttpInfo(id, attributeId).then(function (response_and_data) {
472
+ return response_and_data.data;
473
+ });
474
+ }
427
475
 
428
476
  /**
429
477
  * Update attribute of project's test plans
@@ -431,11 +479,11 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
431
479
  * @param {String} id Project internal (UUID) or global (integer) identifier
432
480
  * @param {Object} opts Optional parameters
433
481
  * @param {module:model/CustomAttributeTestPlanProjectRelationPutModel} [customAttributeTestPlanProjectRelationPutModel]
434
- * @param {module:api/ProjectsApi~apiV2ProjectsIdTestPlansAttributePutCallback} callback The callback function, accepting three arguments: error, data, response
482
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
435
483
  */
436
484
  }, {
437
- key: "apiV2ProjectsIdTestPlansAttributePut",
438
- value: function apiV2ProjectsIdTestPlansAttributePut(id, opts, callback) {
485
+ key: "apiV2ProjectsIdTestPlansAttributePutWithHttpInfo",
486
+ value: function apiV2ProjectsIdTestPlansAttributePutWithHttpInfo(id, opts) {
439
487
  opts = opts || {};
440
488
  var postBody = opts['customAttributeTestPlanProjectRelationPutModel'];
441
489
  // verify the required parameter 'id' is set
@@ -452,16 +500,24 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
452
500
  var contentTypes = ['application/json'];
453
501
  var accepts = ['application/json'];
454
502
  var returnType = null;
455
- return this.apiClient.callApi('/api/v2/projects/{id}/testPlans/attribute', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
503
+ return this.apiClient.callApi('/api/v2/projects/{id}/testPlans/attribute', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
456
504
  }
457
505
 
458
506
  /**
459
- * Callback function to receive the result of the apiV2ProjectsIdTestRunsFullGet operation.
460
- * @callback module:api/ProjectsApi~apiV2ProjectsIdTestRunsFullGetCallback
461
- * @param {String} error Error message, if any.
462
- * @param {Array.<module:model/TestRunApiResult>} data The data returned by the service call.
463
- * @param {String} response The complete HTTP response.
507
+ * Update attribute of project's test plans
508
+ * Use case User sets project internal or global identifier and attribute model User runs method execution System updates project and project attribute for test plan System returns no content response
509
+ * @param {String} id Project internal (UUID) or global (integer) identifier
510
+ * @param {Object} opts Optional parameters
511
+ * @param {module:model/CustomAttributeTestPlanProjectRelationPutModel} opts.customAttributeTestPlanProjectRelationPutModel
512
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
464
513
  */
514
+ }, {
515
+ key: "apiV2ProjectsIdTestPlansAttributePut",
516
+ value: function apiV2ProjectsIdTestPlansAttributePut(id, opts) {
517
+ return this.apiV2ProjectsIdTestPlansAttributePutWithHttpInfo(id, opts).then(function (response_and_data) {
518
+ return response_and_data.data;
519
+ });
520
+ }
465
521
 
466
522
  /**
467
523
  * Get Project TestRuns full models
@@ -482,12 +538,11 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
482
538
  * @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
483
539
  * @param {String} [searchField] Property name for searching
484
540
  * @param {String} [searchValue] Value for searching
485
- * @param {module:api/ProjectsApi~apiV2ProjectsIdTestRunsFullGetCallback} callback The callback function, accepting three arguments: error, data, response
486
- * data is of type: {@link Array.<module:model/TestRunApiResult>}
541
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestRunApiResult>} and HTTP response
487
542
  */
488
543
  }, {
489
- key: "apiV2ProjectsIdTestRunsFullGet",
490
- value: function apiV2ProjectsIdTestRunsFullGet(id, opts, callback) {
544
+ key: "apiV2ProjectsIdTestRunsFullGetWithHttpInfo",
545
+ value: function apiV2ProjectsIdTestRunsFullGetWithHttpInfo(id, opts) {
491
546
  opts = opts || {};
492
547
  var postBody = null;
493
548
  // verify the required parameter 'id' is set
@@ -519,25 +574,45 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
519
574
  var contentTypes = [];
520
575
  var accepts = ['application/json'];
521
576
  var returnType = [_TestRunApiResult["default"]];
522
- return this.apiClient.callApi('/api/v2/projects/{id}/testRuns/full', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
577
+ return this.apiClient.callApi('/api/v2/projects/{id}/testRuns/full', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
523
578
  }
524
579
 
525
580
  /**
526
- * Callback function to receive the result of the apiV2ProjectsNameNameExistsGet operation.
527
- * @callback module:api/ProjectsApi~apiV2ProjectsNameNameExistsGetCallback
528
- * @param {String} error Error message, if any.
529
- * @param {Boolean} data The data returned by the service call.
530
- * @param {String} response The complete HTTP response.
581
+ * Get Project TestRuns full models
582
+ * Use case User sets project internal or global identifier User sets query params User runs method execution System returns project test runs full models
583
+ * @param {String} id Project internal (UUID) or global (integer) identifier
584
+ * @param {Object} opts Optional parameters
585
+ * @param {Boolean} opts.includeTestResults
586
+ * @param {Boolean} opts.mustAggregateTestResults
587
+ * @param {Boolean} opts.notStarted
588
+ * @param {Boolean} opts.inProgress
589
+ * @param {Boolean} opts.stopped
590
+ * @param {Boolean} opts.completed
591
+ * @param {Date} opts.createdDateFrom
592
+ * @param {Date} opts.createdDateTo
593
+ * @param {String} opts.testPlanId
594
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
595
+ * @param {Number} opts.take Amount of items to be taken (limit)
596
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
597
+ * @param {String} opts.searchField Property name for searching
598
+ * @param {String} opts.searchValue Value for searching
599
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestRunApiResult>}
531
600
  */
601
+ }, {
602
+ key: "apiV2ProjectsIdTestRunsFullGet",
603
+ value: function apiV2ProjectsIdTestRunsFullGet(id, opts) {
604
+ return this.apiV2ProjectsIdTestRunsFullGetWithHttpInfo(id, opts).then(function (response_and_data) {
605
+ return response_and_data.data;
606
+ });
607
+ }
532
608
 
533
609
  /**
534
610
  * @param {String} name
535
- * @param {module:api/ProjectsApi~apiV2ProjectsNameNameExistsGetCallback} callback The callback function, accepting three arguments: error, data, response
536
- * data is of type: {@link Boolean}
611
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Boolean} and HTTP response
537
612
  */
538
613
  }, {
539
- key: "apiV2ProjectsNameNameExistsGet",
540
- value: function apiV2ProjectsNameNameExistsGet(name, callback) {
614
+ key: "apiV2ProjectsNameNameExistsGetWithHttpInfo",
615
+ value: function apiV2ProjectsNameNameExistsGetWithHttpInfo(name) {
541
616
  var postBody = null;
542
617
  // verify the required parameter 'name' is set
543
618
  if (name === undefined || name === null) {
@@ -553,27 +628,30 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
553
628
  var contentTypes = [];
554
629
  var accepts = ['application/json'];
555
630
  var returnType = 'Boolean';
556
- return this.apiClient.callApi('/api/v2/projects/name/{name}/exists', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
631
+ return this.apiClient.callApi('/api/v2/projects/name/{name}/exists', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
557
632
  }
558
633
 
559
634
  /**
560
- * Callback function to receive the result of the apiV2ProjectsPurgeBulkPost operation.
561
- * @callback module:api/ProjectsApi~apiV2ProjectsPurgeBulkPostCallback
562
- * @param {String} error Error message, if any.
563
- * @param {Number} data The data returned by the service call.
564
- * @param {String} response The complete HTTP response.
635
+ * @param {String} name
636
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Boolean}
565
637
  */
638
+ }, {
639
+ key: "apiV2ProjectsNameNameExistsGet",
640
+ value: function apiV2ProjectsNameNameExistsGet(name) {
641
+ return this.apiV2ProjectsNameNameExistsGetWithHttpInfo(name).then(function (response_and_data) {
642
+ return response_and_data.data;
643
+ });
644
+ }
566
645
 
567
646
  /**
568
647
  * Purge multiple projects
569
648
  * @param {Object} opts Optional parameters
570
649
  * @param {module:model/ProjectSelectModel} [projectSelectModel]
571
- * @param {module:api/ProjectsApi~apiV2ProjectsPurgeBulkPostCallback} callback The callback function, accepting three arguments: error, data, response
572
- * data is of type: {@link Number}
650
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Number} and HTTP response
573
651
  */
574
652
  }, {
575
- key: "apiV2ProjectsPurgeBulkPost",
576
- value: function apiV2ProjectsPurgeBulkPost(opts, callback) {
653
+ key: "apiV2ProjectsPurgeBulkPostWithHttpInfo",
654
+ value: function apiV2ProjectsPurgeBulkPostWithHttpInfo(opts) {
577
655
  opts = opts || {};
578
656
  var postBody = opts['projectSelectModel'];
579
657
  var pathParams = {};
@@ -584,27 +662,32 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
584
662
  var contentTypes = ['application/json'];
585
663
  var accepts = ['application/json'];
586
664
  var returnType = 'Number';
587
- return this.apiClient.callApi('/api/v2/projects/purge/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
665
+ return this.apiClient.callApi('/api/v2/projects/purge/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
588
666
  }
589
667
 
590
668
  /**
591
- * Callback function to receive the result of the apiV2ProjectsRestoreBulkPost operation.
592
- * @callback module:api/ProjectsApi~apiV2ProjectsRestoreBulkPostCallback
593
- * @param {String} error Error message, if any.
594
- * @param {Number} data The data returned by the service call.
595
- * @param {String} response The complete HTTP response.
669
+ * Purge multiple projects
670
+ * @param {Object} opts Optional parameters
671
+ * @param {module:model/ProjectSelectModel} opts.projectSelectModel
672
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Number}
596
673
  */
674
+ }, {
675
+ key: "apiV2ProjectsPurgeBulkPost",
676
+ value: function apiV2ProjectsPurgeBulkPost(opts) {
677
+ return this.apiV2ProjectsPurgeBulkPostWithHttpInfo(opts).then(function (response_and_data) {
678
+ return response_and_data.data;
679
+ });
680
+ }
597
681
 
598
682
  /**
599
683
  * Restore multiple projects
600
684
  * @param {Object} opts Optional parameters
601
685
  * @param {module:model/ProjectSelectModel} [projectSelectModel]
602
- * @param {module:api/ProjectsApi~apiV2ProjectsRestoreBulkPostCallback} callback The callback function, accepting three arguments: error, data, response
603
- * data is of type: {@link Number}
686
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Number} and HTTP response
604
687
  */
605
688
  }, {
606
- key: "apiV2ProjectsRestoreBulkPost",
607
- value: function apiV2ProjectsRestoreBulkPost(opts, callback) {
689
+ key: "apiV2ProjectsRestoreBulkPostWithHttpInfo",
690
+ value: function apiV2ProjectsRestoreBulkPostWithHttpInfo(opts) {
608
691
  opts = opts || {};
609
692
  var postBody = opts['projectSelectModel'];
610
693
  var pathParams = {};
@@ -615,16 +698,22 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
615
698
  var contentTypes = ['application/json'];
616
699
  var accepts = ['application/json'];
617
700
  var returnType = 'Number';
618
- return this.apiClient.callApi('/api/v2/projects/restore/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
701
+ return this.apiClient.callApi('/api/v2/projects/restore/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
619
702
  }
620
703
 
621
704
  /**
622
- * Callback function to receive the result of the apiV2ProjectsSearchPost operation.
623
- * @callback module:api/ProjectsApi~apiV2ProjectsSearchPostCallback
624
- * @param {String} error Error message, if any.
625
- * @param {Array.<module:model/ProjectShortModel>} data The data returned by the service call.
626
- * @param {String} response The complete HTTP response.
705
+ * Restore multiple projects
706
+ * @param {Object} opts Optional parameters
707
+ * @param {module:model/ProjectSelectModel} opts.projectSelectModel
708
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Number}
627
709
  */
710
+ }, {
711
+ key: "apiV2ProjectsRestoreBulkPost",
712
+ value: function apiV2ProjectsRestoreBulkPost(opts) {
713
+ return this.apiV2ProjectsRestoreBulkPostWithHttpInfo(opts).then(function (response_and_data) {
714
+ return response_and_data.data;
715
+ });
716
+ }
628
717
 
629
718
  /**
630
719
  * Search for projects
@@ -635,12 +724,11 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
635
724
  * @param {String} [searchField] Property name for searching
636
725
  * @param {String} [searchValue] Value for searching
637
726
  * @param {module:model/ProjectsFilterModel} [projectsFilterModel]
638
- * @param {module:api/ProjectsApi~apiV2ProjectsSearchPostCallback} callback The callback function, accepting three arguments: error, data, response
639
- * data is of type: {@link Array.<module:model/ProjectShortModel>}
727
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/ProjectShortModel>} and HTTP response
640
728
  */
641
729
  }, {
642
- key: "apiV2ProjectsSearchPost",
643
- value: function apiV2ProjectsSearchPost(opts, callback) {
730
+ key: "apiV2ProjectsSearchPostWithHttpInfo",
731
+ value: function apiV2ProjectsSearchPostWithHttpInfo(opts) {
644
732
  opts = opts || {};
645
733
  var postBody = opts['projectsFilterModel'];
646
734
  var pathParams = {};
@@ -657,28 +745,38 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
657
745
  var contentTypes = ['application/json'];
658
746
  var accepts = ['application/json'];
659
747
  var returnType = [_ProjectShortModel["default"]];
660
- return this.apiClient.callApi('/api/v2/projects/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
748
+ return this.apiClient.callApi('/api/v2/projects/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
661
749
  }
662
750
 
663
751
  /**
664
- * Callback function to receive the result of the apiV2ProjectsShortsPost operation.
665
- * @callback module:api/ProjectsApi~apiV2ProjectsShortsPostCallback
666
- * @param {String} error Error message, if any.
667
- * @param {module:model/ProjectShortApiResultReply} data The data returned by the service call.
668
- * @param {String} response The complete HTTP response.
752
+ * Search for projects
753
+ * @param {Object} opts Optional parameters
754
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
755
+ * @param {Number} opts.take Amount of items to be taken (limit)
756
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
757
+ * @param {String} opts.searchField Property name for searching
758
+ * @param {String} opts.searchValue Value for searching
759
+ * @param {module:model/ProjectsFilterModel} opts.projectsFilterModel
760
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/ProjectShortModel>}
669
761
  */
762
+ }, {
763
+ key: "apiV2ProjectsSearchPost",
764
+ value: function apiV2ProjectsSearchPost(opts) {
765
+ return this.apiV2ProjectsSearchPostWithHttpInfo(opts).then(function (response_and_data) {
766
+ return response_and_data.data;
767
+ });
768
+ }
670
769
 
671
770
  /**
672
771
  * Get projects short models
673
772
  * Use case User sets query params User runs method execution System return projects short models
674
773
  * @param {Object} opts Optional parameters
675
774
  * @param {module:model/GetShortProjectsApiModel} [getShortProjectsApiModel]
676
- * @param {module:api/ProjectsApi~apiV2ProjectsShortsPostCallback} callback The callback function, accepting three arguments: error, data, response
677
- * data is of type: {@link module:model/ProjectShortApiResultReply}
775
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProjectShortApiResultReply} and HTTP response
678
776
  */
679
777
  }, {
680
- key: "apiV2ProjectsShortsPost",
681
- value: function apiV2ProjectsShortsPost(opts, callback) {
778
+ key: "apiV2ProjectsShortsPostWithHttpInfo",
779
+ value: function apiV2ProjectsShortsPostWithHttpInfo(opts) {
682
780
  opts = opts || {};
683
781
  var postBody = opts['getShortProjectsApiModel'];
684
782
  var pathParams = {};
@@ -689,28 +787,34 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
689
787
  var contentTypes = ['application/json'];
690
788
  var accepts = ['application/json'];
691
789
  var returnType = _ProjectShortApiResultReply["default"];
692
- return this.apiClient.callApi('/api/v2/projects/shorts', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
790
+ return this.apiClient.callApi('/api/v2/projects/shorts', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
693
791
  }
694
792
 
695
793
  /**
696
- * Callback function to receive the result of the createProject operation.
697
- * @callback module:api/ProjectsApi~createProjectCallback
698
- * @param {String} error Error message, if any.
699
- * @param {module:model/ProjectApiResult} data The data returned by the service call.
700
- * @param {String} response The complete HTTP response.
794
+ * Get projects short models
795
+ * Use case User sets query params User runs method execution System return projects short models
796
+ * @param {Object} opts Optional parameters
797
+ * @param {module:model/GetShortProjectsApiModel} opts.getShortProjectsApiModel
798
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProjectShortApiResultReply}
701
799
  */
800
+ }, {
801
+ key: "apiV2ProjectsShortsPost",
802
+ value: function apiV2ProjectsShortsPost(opts) {
803
+ return this.apiV2ProjectsShortsPostWithHttpInfo(opts).then(function (response_and_data) {
804
+ return response_and_data.data;
805
+ });
806
+ }
702
807
 
703
808
  /**
704
809
  * Create project
705
810
  * Use case User sets project parameters (listed in request example) and runs method execution System creates project System returns project model (example listed in response parameters)
706
811
  * @param {Object} opts Optional parameters
707
812
  * @param {module:model/CreateProjectApiModel} [createProjectApiModel]
708
- * @param {module:api/ProjectsApi~createProjectCallback} callback The callback function, accepting three arguments: error, data, response
709
- * data is of type: {@link module:model/ProjectApiResult}
813
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProjectApiResult} and HTTP response
710
814
  */
711
815
  }, {
712
- key: "createProject",
713
- value: function createProject(opts, callback) {
816
+ key: "createProjectWithHttpInfo",
817
+ value: function createProjectWithHttpInfo(opts) {
714
818
  opts = opts || {};
715
819
  var postBody = opts['createProjectApiModel'];
716
820
  var pathParams = {};
@@ -721,25 +825,32 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
721
825
  var contentTypes = ['application/json'];
722
826
  var accepts = ['application/json'];
723
827
  var returnType = _ProjectApiResult["default"];
724
- return this.apiClient.callApi('/api/v2/projects', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
828
+ return this.apiClient.callApi('/api/v2/projects', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
725
829
  }
726
830
 
727
831
  /**
728
- * Callback function to receive the result of the deleteProjectAutoTests operation.
729
- * @callback module:api/ProjectsApi~deleteProjectAutoTestsCallback
730
- * @param {String} error Error message, if any.
731
- * @param data This operation does not return a value.
732
- * @param {String} response The complete HTTP response.
832
+ * Create project
833
+ * Use case User sets project parameters (listed in request example) and runs method execution System creates project System returns project model (example listed in response parameters)
834
+ * @param {Object} opts Optional parameters
835
+ * @param {module:model/CreateProjectApiModel} opts.createProjectApiModel
836
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProjectApiResult}
733
837
  */
838
+ }, {
839
+ key: "createProject",
840
+ value: function createProject(opts) {
841
+ return this.createProjectWithHttpInfo(opts).then(function (response_and_data) {
842
+ return response_and_data.data;
843
+ });
844
+ }
734
845
 
735
846
  /**
736
847
  * Delete all autotests from project
737
848
  * @param {String} id Unique or global ID of the project
738
- * @param {module:api/ProjectsApi~deleteProjectAutoTestsCallback} callback The callback function, accepting three arguments: error, data, response
849
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
739
850
  */
740
851
  }, {
741
- key: "deleteProjectAutoTests",
742
- value: function deleteProjectAutoTests(id, callback) {
852
+ key: "deleteProjectAutoTestsWithHttpInfo",
853
+ value: function deleteProjectAutoTestsWithHttpInfo(id) {
743
854
  var postBody = null;
744
855
  // verify the required parameter 'id' is set
745
856
  if (id === undefined || id === null) {
@@ -755,16 +866,21 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
755
866
  var contentTypes = [];
756
867
  var accepts = ['application/json'];
757
868
  var returnType = null;
758
- return this.apiClient.callApi('/api/v2/projects/{id}/autoTests', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
869
+ return this.apiClient.callApi('/api/v2/projects/{id}/autoTests', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
759
870
  }
760
871
 
761
872
  /**
762
- * Callback function to receive the result of the getAllProjects operation.
763
- * @callback module:api/ProjectsApi~getAllProjectsCallback
764
- * @param {String} error Error message, if any.
765
- * @param {Array.<module:model/ProjectShortModel>} data The data returned by the service call.
766
- * @param {String} response The complete HTTP response.
873
+ * Delete all autotests from project
874
+ * @param {String} id Unique or global ID of the project
875
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
767
876
  */
877
+ }, {
878
+ key: "deleteProjectAutoTests",
879
+ value: function deleteProjectAutoTests(id) {
880
+ return this.deleteProjectAutoTestsWithHttpInfo(id).then(function (response_and_data) {
881
+ return response_and_data.data;
882
+ });
883
+ }
768
884
 
769
885
  /**
770
886
  * Get all projects
@@ -777,12 +893,11 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
777
893
  * @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
778
894
  * @param {String} [searchField] Property name for searching
779
895
  * @param {String} [searchValue] Value for searching
780
- * @param {module:api/ProjectsApi~getAllProjectsCallback} callback The callback function, accepting three arguments: error, data, response
781
- * data is of type: {@link Array.<module:model/ProjectShortModel>}
896
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/ProjectShortModel>} and HTTP response
782
897
  */
783
898
  }, {
784
- key: "getAllProjects",
785
- value: function getAllProjects(opts, callback) {
899
+ key: "getAllProjectsWithHttpInfo",
900
+ value: function getAllProjectsWithHttpInfo(opts) {
786
901
  opts = opts || {};
787
902
  var postBody = null;
788
903
  var pathParams = {};
@@ -801,27 +916,39 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
801
916
  var contentTypes = [];
802
917
  var accepts = ['application/json'];
803
918
  var returnType = [_ProjectShortModel["default"]];
804
- return this.apiClient.callApi('/api/v2/projects', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
919
+ return this.apiClient.callApi('/api/v2/projects', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
805
920
  }
806
921
 
807
922
  /**
808
- * Callback function to receive the result of the getAutoTestsNamespaces operation.
809
- * @callback module:api/ProjectsApi~getAutoTestsNamespacesCallback
810
- * @param {String} error Error message, if any.
811
- * @param {Array.<module:model/AutoTestNamespaceApiResult>} data The data returned by the service call.
812
- * @param {String} response The complete HTTP response.
923
+ * Get all projects
924
+ * Use case [Optional] User sets isDeleted field value [Optional] If User sets isDeleted field value as true, System search all deleted projects [Optional] If User sets isDeleted field value as false, System search all projects which are not deleted If User did not set isDeleted field value, System search all projects System returns array of all found projects(listed in response model)
925
+ * @param {Object} opts Optional parameters
926
+ * @param {Boolean} opts.isDeleted If result must consist of only actual/deleted parameters
927
+ * @param {String} opts.projectName
928
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
929
+ * @param {Number} opts.take Amount of items to be taken (limit)
930
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
931
+ * @param {String} opts.searchField Property name for searching
932
+ * @param {String} opts.searchValue Value for searching
933
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/ProjectShortModel>}
813
934
  */
935
+ }, {
936
+ key: "getAllProjects",
937
+ value: function getAllProjects(opts) {
938
+ return this.getAllProjectsWithHttpInfo(opts).then(function (response_and_data) {
939
+ return response_and_data.data;
940
+ });
941
+ }
814
942
 
815
943
  /**
816
944
  * Get namespaces of autotests in project
817
945
  * Use case User sets project internal or global identifier and runs method execution System search project System search all autotest related to the project System returns array of autotest with namespaces and classnames (listed in response)
818
946
  * @param {String} id Project internal (UUID) or global (integer) identifier
819
- * @param {module:api/ProjectsApi~getAutoTestsNamespacesCallback} callback The callback function, accepting three arguments: error, data, response
820
- * data is of type: {@link Array.<module:model/AutoTestNamespaceApiResult>}
947
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AutoTestNamespaceApiResult>} and HTTP response
821
948
  */
822
949
  }, {
823
- key: "getAutoTestsNamespaces",
824
- value: function getAutoTestsNamespaces(id, callback) {
950
+ key: "getAutoTestsNamespacesWithHttpInfo",
951
+ value: function getAutoTestsNamespacesWithHttpInfo(id) {
825
952
  var postBody = null;
826
953
  // verify the required parameter 'id' is set
827
954
  if (id === undefined || id === null) {
@@ -837,27 +964,32 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
837
964
  var contentTypes = [];
838
965
  var accepts = ['application/json'];
839
966
  var returnType = [_AutoTestNamespaceApiResult["default"]];
840
- return this.apiClient.callApi('/api/v2/projects/{id}/autoTestsNamespaces', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
967
+ return this.apiClient.callApi('/api/v2/projects/{id}/autoTestsNamespaces', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
841
968
  }
842
969
 
843
970
  /**
844
- * Callback function to receive the result of the getProjectById operation.
845
- * @callback module:api/ProjectsApi~getProjectByIdCallback
846
- * @param {String} error Error message, if any.
847
- * @param {module:model/ProjectModel} data The data returned by the service call.
848
- * @param {String} response The complete HTTP response.
971
+ * Get namespaces of autotests in project
972
+ * Use case User sets project internal or global identifier and runs method execution System search project System search all autotest related to the project System returns array of autotest with namespaces and classnames (listed in response)
973
+ * @param {String} id Project internal (UUID) or global (integer) identifier
974
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AutoTestNamespaceApiResult>}
849
975
  */
976
+ }, {
977
+ key: "getAutoTestsNamespaces",
978
+ value: function getAutoTestsNamespaces(id) {
979
+ return this.getAutoTestsNamespacesWithHttpInfo(id).then(function (response_and_data) {
980
+ return response_and_data.data;
981
+ });
982
+ }
850
983
 
851
984
  /**
852
985
  * Get project by ID
853
986
  * Use case User sets project internal or global identifier and runs method execution System search project System returns project (example listed in response parameters)
854
987
  * @param {String} id Project internal (UUID) or global (integer) identifier
855
- * @param {module:api/ProjectsApi~getProjectByIdCallback} callback The callback function, accepting three arguments: error, data, response
856
- * data is of type: {@link module:model/ProjectModel}
988
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProjectModel} and HTTP response
857
989
  */
858
990
  }, {
859
- key: "getProjectById",
860
- value: function getProjectById(id, callback) {
991
+ key: "getProjectByIdWithHttpInfo",
992
+ value: function getProjectByIdWithHttpInfo(id) {
861
993
  var postBody = null;
862
994
  // verify the required parameter 'id' is set
863
995
  if (id === undefined || id === null) {
@@ -873,16 +1005,22 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
873
1005
  var contentTypes = [];
874
1006
  var accepts = ['application/json'];
875
1007
  var returnType = _ProjectModel["default"];
876
- return this.apiClient.callApi('/api/v2/projects/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1008
+ return this.apiClient.callApi('/api/v2/projects/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
877
1009
  }
878
1010
 
879
1011
  /**
880
- * Callback function to receive the result of the getTestPlansByProjectId operation.
881
- * @callback module:api/ProjectsApi~getTestPlansByProjectIdCallback
882
- * @param {String} error Error message, if any.
883
- * @param {Array.<module:model/TestPlanModel>} data The data returned by the service call.
884
- * @param {String} response The complete HTTP response.
1012
+ * Get project by ID
1013
+ * Use case User sets project internal or global identifier and runs method execution System search project System returns project (example listed in response parameters)
1014
+ * @param {String} id Project internal (UUID) or global (integer) identifier
1015
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProjectModel}
885
1016
  */
1017
+ }, {
1018
+ key: "getProjectById",
1019
+ value: function getProjectById(id) {
1020
+ return this.getProjectByIdWithHttpInfo(id).then(function (response_and_data) {
1021
+ return response_and_data.data;
1022
+ });
1023
+ }
886
1024
 
887
1025
  /**
888
1026
  * Get project test plans
@@ -890,12 +1028,11 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
890
1028
  * @param {String} id Project internal (UUID) or global (integer) identifier
891
1029
  * @param {Object} opts Optional parameters
892
1030
  * @param {Boolean} [isDeleted] If result must consist of only actual/archived test plans
893
- * @param {module:api/ProjectsApi~getTestPlansByProjectIdCallback} callback The callback function, accepting three arguments: error, data, response
894
- * data is of type: {@link Array.<module:model/TestPlanModel>}
1031
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestPlanModel>} and HTTP response
895
1032
  */
896
1033
  }, {
897
- key: "getTestPlansByProjectId",
898
- value: function getTestPlansByProjectId(id, opts, callback) {
1034
+ key: "getTestPlansByProjectIdWithHttpInfo",
1035
+ value: function getTestPlansByProjectIdWithHttpInfo(id, opts) {
899
1036
  opts = opts || {};
900
1037
  var postBody = null;
901
1038
  // verify the required parameter 'id' is set
@@ -914,16 +1051,24 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
914
1051
  var contentTypes = [];
915
1052
  var accepts = ['application/json'];
916
1053
  var returnType = [_TestPlanModel["default"]];
917
- return this.apiClient.callApi('/api/v2/projects/{id}/testPlans', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1054
+ return this.apiClient.callApi('/api/v2/projects/{id}/testPlans', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
918
1055
  }
919
1056
 
920
1057
  /**
921
- * Callback function to receive the result of the getTestRunsByProjectId operation.
922
- * @callback module:api/ProjectsApi~getTestRunsByProjectIdCallback
923
- * @param {String} error Error message, if any.
924
- * @param {Array.<module:model/TestRunV2ApiResult>} data The data returned by the service call.
925
- * @param {String} response The complete HTTP response.
1058
+ * Get project test plans
1059
+ * Use case User sets project internal or global identifier [Optional] User sets isDeleted field value User runs method execution System search project [Optional] If User sets isDeleted field value as true, System search all deleted test plans related to project [Optional] If User sets isDeleted field value as false, System search all test plans related to project which are not deleted [Optional] If User did not set isDeleted field value, System search all v related to project System returns array of found test plans (listed in response model)
1060
+ * @param {String} id Project internal (UUID) or global (integer) identifier
1061
+ * @param {Object} opts Optional parameters
1062
+ * @param {Boolean} opts.isDeleted If result must consist of only actual/archived test plans
1063
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestPlanModel>}
926
1064
  */
1065
+ }, {
1066
+ key: "getTestPlansByProjectId",
1067
+ value: function getTestPlansByProjectId(id, opts) {
1068
+ return this.getTestPlansByProjectIdWithHttpInfo(id, opts).then(function (response_and_data) {
1069
+ return response_and_data.data;
1070
+ });
1071
+ }
927
1072
 
928
1073
  /**
929
1074
  * Get project test runs
@@ -942,12 +1087,11 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
942
1087
  * @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
943
1088
  * @param {String} [searchField] Property name for searching
944
1089
  * @param {String} [searchValue] Value for searching
945
- * @param {module:api/ProjectsApi~getTestRunsByProjectIdCallback} callback The callback function, accepting three arguments: error, data, response
946
- * data is of type: {@link Array.<module:model/TestRunV2ApiResult>}
1090
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestRunV2ApiResult>} and HTTP response
947
1091
  */
948
1092
  }, {
949
- key: "getTestRunsByProjectId",
950
- value: function getTestRunsByProjectId(id, notStarted, inProgress, stopped, completed, opts, callback) {
1093
+ key: "getTestRunsByProjectIdWithHttpInfo",
1094
+ value: function getTestRunsByProjectIdWithHttpInfo(id, notStarted, inProgress, stopped, completed, opts) {
951
1095
  opts = opts || {};
952
1096
  var postBody = null;
953
1097
  // verify the required parameter 'id' is set
@@ -993,27 +1137,46 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
993
1137
  var contentTypes = [];
994
1138
  var accepts = ['application/json'];
995
1139
  var returnType = [_TestRunV2ApiResult["default"]];
996
- return this.apiClient.callApi('/api/v2/projects/{id}/testRuns', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1140
+ return this.apiClient.callApi('/api/v2/projects/{id}/testRuns', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
997
1141
  }
998
1142
 
999
1143
  /**
1000
- * Callback function to receive the result of the updateProject operation.
1001
- * @callback module:api/ProjectsApi~updateProjectCallback
1002
- * @param {String} error Error message, if any.
1003
- * @param data This operation does not return a value.
1004
- * @param {String} response The complete HTTP response.
1144
+ * Get project test runs
1145
+ * Use case User sets project internal or global identifier User runs method execution System search project System search all test runs related to project System returns array of found test runs (listed in response model)
1146
+ * @param {String} id Project internal (UUID) or global (integer) identifier
1147
+ * @param {Boolean} notStarted
1148
+ * @param {Boolean} inProgress
1149
+ * @param {Boolean} stopped
1150
+ * @param {Boolean} completed
1151
+ * @param {Object} opts Optional parameters
1152
+ * @param {Date} opts.createdDateFrom
1153
+ * @param {Date} opts.createdDateTo
1154
+ * @param {String} opts.testPlanId
1155
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
1156
+ * @param {Number} opts.take Amount of items to be taken (limit)
1157
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
1158
+ * @param {String} opts.searchField Property name for searching
1159
+ * @param {String} opts.searchValue Value for searching
1160
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestRunV2ApiResult>}
1005
1161
  */
1162
+ }, {
1163
+ key: "getTestRunsByProjectId",
1164
+ value: function getTestRunsByProjectId(id, notStarted, inProgress, stopped, completed, opts) {
1165
+ return this.getTestRunsByProjectIdWithHttpInfo(id, notStarted, inProgress, stopped, completed, opts).then(function (response_and_data) {
1166
+ return response_and_data.data;
1167
+ });
1168
+ }
1006
1169
 
1007
1170
  /**
1008
1171
  * Update project
1009
1172
  * Use case User sets project parameters (listed in request example) and runs method execution System updates project System returns updated project model (example listed in response parameters)
1010
1173
  * @param {Object} opts Optional parameters
1011
1174
  * @param {module:model/UpdateProjectApiModel} [updateProjectApiModel]
1012
- * @param {module:api/ProjectsApi~updateProjectCallback} 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
1013
1176
  */
1014
1177
  }, {
1015
- key: "updateProject",
1016
- value: function updateProject(opts, callback) {
1178
+ key: "updateProjectWithHttpInfo",
1179
+ value: function updateProjectWithHttpInfo(opts) {
1017
1180
  opts = opts || {};
1018
1181
  var postBody = opts['updateProjectApiModel'];
1019
1182
  var pathParams = {};
@@ -1024,7 +1187,22 @@ var ProjectsApi = exports["default"] = /*#__PURE__*/function () {
1024
1187
  var contentTypes = ['application/json'];
1025
1188
  var accepts = ['application/json'];
1026
1189
  var returnType = null;
1027
- return this.apiClient.callApi('/api/v2/projects', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
1190
+ return this.apiClient.callApi('/api/v2/projects', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1191
+ }
1192
+
1193
+ /**
1194
+ * Update project
1195
+ * Use case User sets project parameters (listed in request example) and runs method execution System updates project System returns updated project model (example listed in response parameters)
1196
+ * @param {Object} opts Optional parameters
1197
+ * @param {module:model/UpdateProjectApiModel} opts.updateProjectApiModel
1198
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1199
+ */
1200
+ }, {
1201
+ key: "updateProject",
1202
+ value: function updateProject(opts) {
1203
+ return this.updateProjectWithHttpInfo(opts).then(function (response_and_data) {
1204
+ return response_and_data.data;
1205
+ });
1028
1206
  }
1029
1207
  }]);
1030
1208
  }();