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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (493) hide show
  1. package/README.MD +8 -10
  2. package/dist/ApiClient.js +30 -23
  3. package/dist/api/AttachmentsApi.js +81 -52
  4. package/dist/api/AutoTestsApi.js +360 -196
  5. package/dist/api/BackgroundJobsApi.js +97 -62
  6. package/dist/api/ConfigurationsApi.js +189 -119
  7. package/dist/api/CustomAttributeTemplatesApi.js +149 -90
  8. package/dist/api/CustomAttributesApi.js +98 -63
  9. package/dist/api/ExternalIssuesApi.js +19 -14
  10. package/dist/api/NotificationsApi.js +91 -52
  11. package/dist/api/ParametersApi.js +264 -149
  12. package/dist/api/ProjectAttributeTemplatesApi.js +57 -32
  13. package/dist/api/ProjectAttributesApi.js +107 -62
  14. package/dist/api/ProjectConfigurationsApi.js +19 -14
  15. package/dist/api/ProjectSectionsApi.js +25 -14
  16. package/dist/api/ProjectSettingsApi.js +34 -23
  17. package/dist/api/ProjectTestPlanAttributesApi.js +90 -51
  18. package/dist/api/ProjectTestPlanTestPointsApi.js +38 -23
  19. package/dist/api/ProjectTestPlansApi.js +114 -63
  20. package/dist/api/ProjectWorkItemsApi.js +130 -64
  21. package/dist/api/ProjectsApi.js +422 -244
  22. package/dist/api/SearchApi.js +18 -14
  23. package/dist/api/SectionsApi.js +140 -79
  24. package/dist/api/TagsApi.js +108 -62
  25. package/dist/api/TestPlansApi.js +524 -299
  26. package/dist/api/TestPointsApi.js +72 -44
  27. package/dist/api/TestResultsApi.js +242 -149
  28. package/dist/api/TestRunsApi.js +379 -235
  29. package/dist/api/TestSuitesApi.js +211 -127
  30. package/dist/api/UsersApi.js +18 -14
  31. package/dist/api/WebhooksApi.js +157 -102
  32. package/dist/api/WebhooksLogsApi.js +52 -33
  33. package/dist/api/WorkItemsApi.js +450 -256
  34. package/dist/api/WorkItemsCommentsApi.js +78 -52
  35. package/dist/model/AIServiceModelApiResult.js +1 -1
  36. package/dist/model/AIServiceModelApiResultReply.js +1 -1
  37. package/dist/model/AssignAttachmentApiModel.js +1 -1
  38. package/dist/model/AssignIterationApiModel.js +1 -1
  39. package/dist/model/AttachmentApiResult.js +1 -1
  40. package/dist/model/AttachmentChangeViewModel.js +1 -1
  41. package/dist/model/AttachmentChangeViewModelArrayChangedFieldViewModel.js +1 -1
  42. package/dist/model/AttachmentModel.js +1 -1
  43. package/dist/model/AttachmentPutModel.js +1 -1
  44. package/dist/model/AttachmentPutModelAutoTestStepResultsModel.js +1 -1
  45. package/dist/model/AttachmentUpdateRequest.js +1 -1
  46. package/dist/model/AuditApiResult.js +1 -1
  47. package/dist/model/AutoTest.js +1 -1
  48. package/dist/model/AutoTestApiResult.js +1 -1
  49. package/dist/model/AutoTestAverageDurationApiResult.js +1 -1
  50. package/dist/model/AutoTestBulkDeleteApiModel.js +1 -1
  51. package/dist/model/AutoTestBulkDeleteApiResult.js +1 -1
  52. package/dist/model/AutoTestChangeViewModel.js +1 -1
  53. package/dist/model/AutoTestChangeViewModelArrayChangedFieldViewModel.js +1 -1
  54. package/dist/model/AutoTestClassCountApiModel.js +1 -1
  55. package/dist/model/AutoTestCreateApiModel.js +1 -1
  56. package/dist/model/AutoTestExtractionApiModel.js +1 -1
  57. package/dist/model/AutoTestFilterApiModel.js +1 -1
  58. package/dist/model/AutoTestFilterModel.js +1 -1
  59. package/dist/model/AutoTestFlakyBulkApiModel.js +1 -1
  60. package/dist/model/AutoTestIdModel.js +1 -1
  61. package/dist/model/AutoTestModel.js +1 -1
  62. package/dist/model/AutoTestModelV2GetModel.js +1 -1
  63. package/dist/model/AutoTestNamespaceApiResult.js +1 -1
  64. package/dist/model/AutoTestNamespaceCountApiModel.js +1 -1
  65. package/dist/model/AutoTestNamespacesCountResponse.js +1 -1
  66. package/dist/model/AutoTestProjectSettingsApiModel.js +1 -1
  67. package/dist/model/AutoTestProjectSettingsApiResult.js +1 -1
  68. package/dist/model/AutoTestResultHistoryApiResult.js +1 -1
  69. package/dist/model/AutoTestResultHistorySelectApiModel.js +1 -1
  70. package/dist/model/AutoTestResultReasonShort.js +1 -1
  71. package/dist/model/AutoTestResultReasonsCountItemModel.js +1 -1
  72. package/dist/model/AutoTestResultReasonsCountModel.js +1 -1
  73. package/dist/model/AutoTestResultsForTestRunModel.js +1 -1
  74. package/dist/model/AutoTestSearchApiModel.js +1 -1
  75. package/dist/model/AutoTestSearchIncludeApiModel.js +1 -1
  76. package/dist/model/AutoTestSelectApiModel.js +1 -1
  77. package/dist/model/AutoTestSelectModel.js +1 -1
  78. package/dist/model/AutoTestShortApiResult.js +1 -1
  79. package/dist/model/AutoTestStep.js +1 -1
  80. package/dist/model/AutoTestStepApiModel.js +1 -1
  81. package/dist/model/AutoTestStepApiResult.js +1 -1
  82. package/dist/model/AutoTestStepModel.js +1 -1
  83. package/dist/model/AutoTestStepResult.js +1 -1
  84. package/dist/model/AutoTestStepResultUpdateRequest.js +1 -1
  85. package/dist/model/AutoTestStepResultsApiResult.js +1 -1
  86. package/dist/model/AutoTestUpdateApiModel.js +1 -1
  87. package/dist/model/AutoTestWorkItemIdentifierApiResult.js +1 -1
  88. package/dist/model/AutoTestsExtractionModel.js +1 -1
  89. package/dist/model/AutotestResultReasonFilterModel.js +1 -1
  90. package/dist/model/AutotestResultReasonShortGetModel.js +1 -1
  91. package/dist/model/BackgroundJobAttachmentModel.js +1 -1
  92. package/dist/model/BackgroundJobFilterModel.js +1 -1
  93. package/dist/model/BackgroundJobGetModel.js +1 -1
  94. package/dist/model/BooleanChangedFieldViewModel.js +1 -1
  95. package/dist/model/BooleanNullableChangedFieldViewModel.js +1 -1
  96. package/dist/model/CollectionFilter.js +1 -1
  97. package/dist/model/CompositeFilter.js +1 -1
  98. package/dist/model/ConfigurationByParametersModel.js +1 -1
  99. package/dist/model/ConfigurationExtractionApiModel.js +1 -1
  100. package/dist/model/ConfigurationExtractionModel.js +1 -1
  101. package/dist/model/ConfigurationFilterApiModel.js +1 -1
  102. package/dist/model/ConfigurationFilterModel.js +1 -1
  103. package/dist/model/ConfigurationModel.js +1 -1
  104. package/dist/model/ConfigurationPostModel.js +1 -1
  105. package/dist/model/ConfigurationPutModel.js +1 -1
  106. package/dist/model/ConfigurationSelectApiModel.js +1 -1
  107. package/dist/model/ConfigurationSelectModel.js +1 -1
  108. package/dist/model/ConfigurationShort.js +1 -1
  109. package/dist/model/ConfigurationShortApiResult.js +1 -1
  110. package/dist/model/ConfigurationShortModel.js +1 -1
  111. package/dist/model/CreateDefectApiModel.js +1 -1
  112. package/dist/model/CreateEmptyTestRunApiModel.js +1 -1
  113. package/dist/model/CreateFailureCategoryApiModel.js +1 -1
  114. package/dist/model/CreateFailureClassRegexApiModel.js +1 -1
  115. package/dist/model/CreateLinkApiModel.js +1 -1
  116. package/dist/model/CreateParameterApiModel.js +1 -1
  117. package/dist/model/CreateProjectApiModel.js +1 -1
  118. package/dist/model/CreateProjectFailureCategoryApiModel.js +1 -1
  119. package/dist/model/CreateStepApiModel.js +1 -1
  120. package/dist/model/CreateTagApiModel.js +1 -1
  121. package/dist/model/CreateTestPlanApiModel.js +1 -1
  122. package/dist/model/CreateTestRunAndFillByAutoTestsApiModel.js +1 -1
  123. package/dist/model/CreateTestRunAndFillByConfigurationsApiModel.js +1 -1
  124. package/dist/model/CreateTestRunAndFillByWorkItemsApiModel.js +1 -1
  125. package/dist/model/CreateTestStatusApiModel.js +1 -1
  126. package/dist/model/CreateWorkItemApiModel.js +1 -1
  127. package/dist/model/CreateWorkItemPreviewsApiModel.js +1 -1
  128. package/dist/model/CreateWorkflowApiModel.js +1 -1
  129. package/dist/model/CustomAttributeApiResult.js +1 -1
  130. package/dist/model/CustomAttributeChangeModel.js +1 -1
  131. package/dist/model/CustomAttributeGetModel.js +1 -1
  132. package/dist/model/CustomAttributeModel.js +1 -1
  133. package/dist/model/CustomAttributeOptionApiResult.js +1 -1
  134. package/dist/model/CustomAttributeOptionModel.js +1 -1
  135. package/dist/model/CustomAttributeOptionPostModel.js +1 -1
  136. package/dist/model/CustomAttributePostModel.js +1 -1
  137. package/dist/model/CustomAttributePutModel.js +1 -1
  138. package/dist/model/CustomAttributeSearchQueryModel.js +1 -1
  139. package/dist/model/CustomAttributeSearchResponseModel.js +1 -1
  140. package/dist/model/CustomAttributeTemplateModel.js +1 -1
  141. package/dist/model/CustomAttributeTemplatePostModel.js +1 -1
  142. package/dist/model/CustomAttributeTemplatePutModel.js +1 -1
  143. package/dist/model/CustomAttributeTemplateSearchQueryModel.js +1 -1
  144. package/dist/model/CustomAttributeTemplateValidationResult.js +1 -1
  145. package/dist/model/CustomAttributeTestPlanProjectRelationPutModel.js +1 -1
  146. package/dist/model/CustomAttributeValidationResult.js +1 -1
  147. package/dist/model/DateTimeRangeSelectorModel.js +1 -1
  148. package/dist/model/DefectApiModel.js +1 -1
  149. package/dist/model/DemoProjectApiResult.js +1 -1
  150. package/dist/model/EnableProjectExternalServiceApiModel.js +1 -1
  151. package/dist/model/ExternalFormAllowedValueModel.js +1 -1
  152. package/dist/model/ExternalFormCreateModel.js +1 -1
  153. package/dist/model/ExternalFormFieldModel.js +1 -1
  154. package/dist/model/ExternalFormLinkModel.js +1 -1
  155. package/dist/model/ExternalFormModel.js +1 -1
  156. package/dist/model/ExternalIssueApiFieldSuggestion.js +1 -1
  157. package/dist/model/ExternalIssueApiFieldSuggestionReply.js +1 -1
  158. package/dist/model/ExternalIssueApiMetadata.js +1 -1
  159. package/dist/model/ExternalIssueApiPriority.js +1 -1
  160. package/dist/model/ExternalIssueApiResult.js +1 -1
  161. package/dist/model/ExternalIssueApiType.js +1 -1
  162. package/dist/model/ExternalIssueExternalServiceApiResult.js +1 -1
  163. package/dist/model/ExternalIssueMetadataModel.js +1 -1
  164. package/dist/model/ExternalIssueModel.js +1 -1
  165. package/dist/model/ExternalIssuePriorityModel.js +1 -1
  166. package/dist/model/ExternalIssueTypeModel.js +1 -1
  167. package/dist/model/ExternalLinkModel.js +1 -1
  168. package/dist/model/ExternalServiceMetadataApiResult.js +1 -1
  169. package/dist/model/ExternalServicesMetadataApiResult.js +1 -1
  170. package/dist/model/FailureCategoryApiResult.js +1 -1
  171. package/dist/model/FailureCategoryGroupApiModel.js +1 -1
  172. package/dist/model/FailureCategoryGroupApiResult.js +1 -1
  173. package/dist/model/FailureCategoryGroupItemApiResult.js +1 -1
  174. package/dist/model/FailureCategoryGroupItemApiResultReply.js +1 -1
  175. package/dist/model/FailureCategoryGroupSearchApiModel.js +1 -1
  176. package/dist/model/FailureCategoryItemApiResult.js +1 -1
  177. package/dist/model/FailureClassRegexApiResult.js +1 -1
  178. package/dist/model/Filter.js +1 -1
  179. package/dist/model/FilterModel.js +1 -1
  180. package/dist/model/GenerateWorkItemPreviewsApiModel.js +1 -1
  181. package/dist/model/GenerateWorkItemPreviewsApiResult.js +1 -1
  182. package/dist/model/GetAIServiceModelsApiModel.js +1 -1
  183. package/dist/model/GetExternalFormApiResult.js +1 -1
  184. package/dist/model/GetExternalIssueSuggestionsApiModel.js +1 -1
  185. package/dist/model/GetShortProjectsApiModel.js +1 -1
  186. package/dist/model/GetXlsxTestPointsByTestPlanModel.js +1 -1
  187. package/dist/model/GlobalCustomAttributePostModel.js +1 -1
  188. package/dist/model/GlobalCustomAttributeUpdateModel.js +1 -1
  189. package/dist/model/GlobalSearchItemResult.js +1 -1
  190. package/dist/model/GlobalSearchRequest.js +1 -1
  191. package/dist/model/GlobalSearchResponse.js +1 -1
  192. package/dist/model/GuidChangedFieldViewModel.js +1 -1
  193. package/dist/model/GuidExtractionModel.js +1 -1
  194. package/dist/model/IFilter.js +1 -1
  195. package/dist/model/Inquiry.js +1 -1
  196. package/dist/model/Int32ChangedFieldViewModel.js +1 -1
  197. package/dist/model/Int32RangeSelectorModel.js +1 -1
  198. package/dist/model/Int64ChangedFieldViewModel.js +1 -1
  199. package/dist/model/Int64RangeSelectorModel.js +1 -1
  200. package/dist/model/IterationApiResult.js +1 -1
  201. package/dist/model/IterationModel.js +1 -1
  202. package/dist/model/Label.js +1 -1
  203. package/dist/model/LabelApiModel.js +1 -1
  204. package/dist/model/LabelApiResult.js +1 -1
  205. package/dist/model/LabelShortModel.js +1 -1
  206. package/dist/model/LastTestResultApiResult.js +1 -1
  207. package/dist/model/LastTestResultModel.js +1 -1
  208. package/dist/model/Link.js +1 -1
  209. package/dist/model/LinkApiResult.js +1 -1
  210. package/dist/model/LinkCreateApiModel.js +1 -1
  211. package/dist/model/LinkModel.js +1 -1
  212. package/dist/model/LinkPostModel.js +1 -1
  213. package/dist/model/LinkPutModel.js +1 -1
  214. package/dist/model/LinkShort.js +1 -1
  215. package/dist/model/LinkShortApiResult.js +1 -1
  216. package/dist/model/LinkShortModel.js +1 -1
  217. package/dist/model/LinkUpdateApiModel.js +1 -1
  218. package/dist/model/ManualRerunApiResult.js +1 -1
  219. package/dist/model/ManualRerunSelectTestResultsApiModel.js +1 -1
  220. package/dist/model/ManualRerunTestResultApiModel.js +1 -1
  221. package/dist/model/NamedEntityApiModel.js +1 -1
  222. package/dist/model/NotificationModel.js +1 -1
  223. package/dist/model/NotificationQueryFilterModel.js +1 -1
  224. package/dist/model/Operation.js +1 -1
  225. package/dist/model/Order.js +1 -1
  226. package/dist/model/Page.js +1 -1
  227. package/dist/model/ParameterApiResult.js +1 -1
  228. package/dist/model/ParameterGroupApiResult.js +1 -1
  229. package/dist/model/ParameterGroupsFilterApiModel.js +1 -1
  230. package/dist/model/ParameterIterationModel.js +1 -1
  231. package/dist/model/ParameterShortApiResult.js +1 -1
  232. package/dist/model/ParameterShortModel.js +1 -1
  233. package/dist/model/ParametersFilterApiModel.js +1 -1
  234. package/dist/model/PeriodViewModel.js +1 -1
  235. package/dist/model/PeriodViewModelChangedFieldViewModel.js +1 -1
  236. package/dist/model/PreviewsIssueLinkApiModel.js +1 -1
  237. package/dist/model/PreviewsIssueLinkApiResult.js +1 -1
  238. package/dist/model/ProblemDetails.js +1 -1
  239. package/dist/model/ProjectApiResult.js +1 -1
  240. package/dist/model/ProjectAttributesFilterModel.js +1 -1
  241. package/dist/model/ProjectCustomAttributeTemplateGetModel.js +1 -1
  242. package/dist/model/ProjectCustomAttributesTemplatesFilterModel.js +1 -1
  243. package/dist/model/ProjectDetailedFailureCategoryApiResult.js +1 -1
  244. package/dist/model/ProjectExternalServiceApiResult.js +1 -1
  245. package/dist/model/ProjectExternalServiceSettingsApiResult.js +1 -1
  246. package/dist/model/ProjectExternalServicesApiResult.js +1 -1
  247. package/dist/model/ProjectExtractionModel.js +1 -1
  248. package/dist/model/ProjectFailureCategoryApiResult.js +1 -1
  249. package/dist/model/ProjectFailureCategoryGroupItemApiResult.js +1 -1
  250. package/dist/model/ProjectFailureCategoryGroupItemApiResultReply.js +1 -1
  251. package/dist/model/ProjectModel.js +1 -1
  252. package/dist/model/ProjectNameApiResult.js +1 -1
  253. package/dist/model/ProjectSelectModel.js +1 -1
  254. package/dist/model/ProjectShortApiResult.js +1 -1
  255. package/dist/model/ProjectShortApiResultReply.js +1 -1
  256. package/dist/model/ProjectShortModel.js +1 -1
  257. package/dist/model/ProjectShortestModel.js +1 -1
  258. package/dist/model/ProjectTestPlansFilterModel.js +1 -1
  259. package/dist/model/ProjectsFilterModel.js +1 -1
  260. package/dist/model/ReplaceProjectExternalServiceApiModel.js +1 -1
  261. package/dist/model/RerunTestResultApiResult.js +1 -1
  262. package/dist/model/RerunTestResultModel.js +1 -1
  263. package/dist/model/RerunsModel.js +1 -1
  264. package/dist/model/SearchCustomAttributeTemplateGetModel.js +1 -1
  265. package/dist/model/SearchExternalIssuesApiModel.js +1 -1
  266. package/dist/model/SearchTestRunsApiModel.js +1 -1
  267. package/dist/model/SearchTestStatusesApiModel.js +1 -1
  268. package/dist/model/SearchWebhooksQueryModel.js +1 -1
  269. package/dist/model/SearchWorkItemLinkUrlsApiResult.js +1 -1
  270. package/dist/model/SearchWorkflowProjectsApiModel.js +1 -1
  271. package/dist/model/SearchWorkflowsApiModel.js +1 -1
  272. package/dist/model/SectionModel.js +1 -1
  273. package/dist/model/SectionMoveModel.js +1 -1
  274. package/dist/model/SectionPostModel.js +1 -1
  275. package/dist/model/SectionPutModel.js +1 -1
  276. package/dist/model/SectionRenameModel.js +1 -1
  277. package/dist/model/SectionWithStepsModel.js +1 -1
  278. package/dist/model/SelectTagsApiModel.js +1 -1
  279. package/dist/model/SharedStepChangeViewModel.js +1 -1
  280. package/dist/model/SharedStepModel.js +1 -1
  281. package/dist/model/SharedStepReferenceModel.js +1 -1
  282. package/dist/model/SharedStepReferenceSectionModel.js +1 -1
  283. package/dist/model/SharedStepReferenceSectionsQueryFilterModel.js +1 -1
  284. package/dist/model/SharedStepReferencesQueryFilterModel.js +1 -1
  285. package/dist/model/SharedStepResultApiModel.js +1 -1
  286. package/dist/model/ShortConfiguration.js +1 -1
  287. package/dist/model/StepCommentApiModel.js +1 -1
  288. package/dist/model/StepModel.js +1 -1
  289. package/dist/model/StepPostModel.js +1 -1
  290. package/dist/model/StepPutModel.js +1 -1
  291. package/dist/model/StepResultApiModel.js +1 -1
  292. package/dist/model/StringArrayChangedFieldViewModel.js +1 -1
  293. package/dist/model/StringChangedFieldViewModel.js +1 -1
  294. package/dist/model/StringChangedFieldWithDiffsViewModel.js +1 -1
  295. package/dist/model/StringExtractionModel.js +1 -1
  296. package/dist/model/TagApiModel.js +1 -1
  297. package/dist/model/TagApiResult.js +1 -1
  298. package/dist/model/TagModel.js +1 -1
  299. package/dist/model/TagShortApiResult.js +1 -1
  300. package/dist/model/TagsExtractionApiModel.js +1 -1
  301. package/dist/model/TagsFilterApiModel.js +1 -1
  302. package/dist/model/TestPlanApiResult.js +1 -1
  303. package/dist/model/TestPlanChangeModel.js +1 -1
  304. package/dist/model/TestPlanChangedFieldsViewModel.js +1 -1
  305. package/dist/model/TestPlanExtractionModel.js +1 -1
  306. package/dist/model/TestPlanGroupByStatus.js +1 -1
  307. package/dist/model/TestPlanGroupByStatusCode.js +1 -1
  308. package/dist/model/TestPlanGroupByStatusType.js +1 -1
  309. package/dist/model/TestPlanGroupByTestSuite.js +1 -1
  310. package/dist/model/TestPlanGroupByTester.js +1 -1
  311. package/dist/model/TestPlanGroupByTesterAndStatus.js +1 -1
  312. package/dist/model/TestPlanGroupByTesterAndStatusCode.js +1 -1
  313. package/dist/model/TestPlanLink.js +1 -1
  314. package/dist/model/TestPlanModel.js +1 -1
  315. package/dist/model/TestPlanSelectModel.js +1 -1
  316. package/dist/model/TestPlanShortModel.js +1 -1
  317. package/dist/model/TestPlanSummaryModel.js +1 -1
  318. package/dist/model/TestPlanTagApiResult.js +1 -1
  319. package/dist/model/TestPlanTestPointsAnalyticsApiModel.js +1 -1
  320. package/dist/model/TestPlanTestPointsAnalyticsApiResult.js +1 -1
  321. package/dist/model/TestPlanTestPointsApiModel.js +1 -1
  322. package/dist/model/TestPlanTestPointsAutoTestsRerunApiModel.js +1 -1
  323. package/dist/model/TestPlanTestPointsAutoTestsRunApiModel.js +1 -1
  324. package/dist/model/TestPlanTestPointsExtractionApiModel.js +1 -1
  325. package/dist/model/TestPlanTestPointsGroupApiModel.js +1 -1
  326. package/dist/model/TestPlanTestPointsGroupApiResult.js +1 -1
  327. package/dist/model/TestPlanTestPointsGroupSearchApiResult.js +1 -1
  328. package/dist/model/TestPlanTestPointsGroupSearchItemApiResult.js +1 -1
  329. package/dist/model/TestPlanTestPointsInquiryApiModel.js +1 -1
  330. package/dist/model/TestPlanTestPointsSearchApiModel.js +1 -1
  331. package/dist/model/TestPlanTestPointsSearchApiResult.js +1 -1
  332. package/dist/model/TestPlanTestPointsSearchStatusCountersApiResult.js +1 -1
  333. package/dist/model/TestPlanTestPointsSectionSearchApiResult.js +1 -1
  334. package/dist/model/TestPlanTestPointsSetTestersApiModel.js +1 -1
  335. package/dist/model/TestPlanTestPointsStatusCodeGroupApiResult.js +1 -1
  336. package/dist/model/TestPlanTestPointsStatusGroupApiResult.js +1 -1
  337. package/dist/model/TestPlanTestPointsStatusTypeGroupApiResult.js +1 -1
  338. package/dist/model/TestPlanTestPointsTestSuiteSearchApiResult.js +1 -1
  339. package/dist/model/TestPlanTestPointsTesterAndStatusGroupApiResult.js +1 -1
  340. package/dist/model/TestPlanTestPointsTesterAndStatusTypeGroupApiResult.js +1 -1
  341. package/dist/model/TestPlanTestPointsTesterGroupApiResult.js +1 -1
  342. package/dist/model/TestPlanTestPointsWorkItemSearchApiResult.js +1 -1
  343. package/dist/model/TestPlanWithAnalyticModel.js +1 -1
  344. package/dist/model/TestPlanWithTestSuiteTreeModel.js +1 -1
  345. package/dist/model/TestPoint.js +1 -1
  346. package/dist/model/TestPointAnalyticResult.js +1 -1
  347. package/dist/model/TestPointByTestSuiteModel.js +1 -1
  348. package/dist/model/TestPointChangeViewModel.js +1 -1
  349. package/dist/model/TestPointChangeViewModelChangedFieldViewModel.js +1 -1
  350. package/dist/model/TestPointFilterModel.js +1 -1
  351. package/dist/model/TestPointFilterRequestModel.js +1 -1
  352. package/dist/model/TestPointResultApiResult.js +1 -1
  353. package/dist/model/TestPointSelectModel.js +1 -1
  354. package/dist/model/TestPointSelector.js +1 -1
  355. package/dist/model/TestPointShortApiResult.js +1 -1
  356. package/dist/model/TestPointShortModel.js +1 -1
  357. package/dist/model/TestPointShortResponseModel.js +1 -1
  358. package/dist/model/TestPointWithLastResultResponseModel.js +1 -1
  359. package/dist/model/TestPointsExtractionModel.js +1 -1
  360. package/dist/model/TestResultApiResult.js +1 -1
  361. package/dist/model/TestResultChangeViewModel.js +1 -1
  362. package/dist/model/TestResultChangeViewModelChangedFieldViewModel.js +1 -1
  363. package/dist/model/TestResultChronologyModel.js +1 -1
  364. package/dist/model/TestResultFailureClassApiResult.js +1 -1
  365. package/dist/model/TestResultHistoryReportApiResult.js +1 -1
  366. package/dist/model/TestResultResponse.js +1 -1
  367. package/dist/model/TestResultShortApiResult.js +1 -1
  368. package/dist/model/TestResultShortResponse.js +1 -1
  369. package/dist/model/TestResultStepCommentUpdateRequest.js +1 -1
  370. package/dist/model/TestResultUpdateV2Request.js +1 -1
  371. package/dist/model/TestResultV2GetModel.js +1 -1
  372. package/dist/model/TestResultV2ShortModel.js +1 -1
  373. package/dist/model/TestResultsExtractionApiModel.js +1 -1
  374. package/dist/model/TestResultsFilterApiModel.js +1 -1
  375. package/dist/model/TestResultsLocalFilterModel.js +1 -1
  376. package/dist/model/TestResultsSelectApiModel.js +1 -1
  377. package/dist/model/TestResultsStatisticsApiResult.js +1 -1
  378. package/dist/model/TestResultsStatisticsFailureCategoriesApiResult.js +1 -1
  379. package/dist/model/TestResultsStatisticsStatusesApiResult.js +1 -1
  380. package/dist/model/TestRunAnalyticApiResult.js +1 -1
  381. package/dist/model/TestRunApiResult.js +1 -1
  382. package/dist/model/TestRunByAutoTestApiResult.js +1 -1
  383. package/dist/model/TestRunExtractionApiModel.js +1 -1
  384. package/dist/model/TestRunFilterApiModel.js +1 -1
  385. package/dist/model/TestRunGroupByFailureClassApiResult.js +1 -1
  386. package/dist/model/TestRunGroupByStatusApiResult.js +1 -1
  387. package/dist/model/TestRunGroupByStatusTypeApiResult.js +1 -1
  388. package/dist/model/TestRunNameApiResult.js +1 -1
  389. package/dist/model/TestRunSelectApiModel.js +1 -1
  390. package/dist/model/TestRunShortApiResult.js +1 -1
  391. package/dist/model/TestRunStatisticsFilterApiModel.js +1 -1
  392. package/dist/model/TestRunTestResultsPartialBulkSetModel.js +1 -1
  393. package/dist/model/TestRunTestResultsSelectModel.js +1 -1
  394. package/dist/model/TestRunV2ApiResult.js +1 -1
  395. package/dist/model/TestStatusApiResult.js +1 -1
  396. package/dist/model/TestStatusApiResultReply.js +1 -1
  397. package/dist/model/TestStatusModel.js +1 -1
  398. package/dist/model/TestStatusShortApiResult.js +1 -1
  399. package/dist/model/TestSuiteApiResult.js +1 -1
  400. package/dist/model/TestSuiteChangeViewModel.js +1 -1
  401. package/dist/model/TestSuiteChangeViewModelChangedFieldViewModel.js +1 -1
  402. package/dist/model/TestSuiteHierarchyApiResult.js +1 -1
  403. package/dist/model/TestSuiteTestPlanApiModel.js +1 -1
  404. package/dist/model/TestSuiteV2GetModel.js +1 -1
  405. package/dist/model/TestSuiteV2PostModel.js +1 -1
  406. package/dist/model/TestSuiteV2PutModel.js +1 -1
  407. package/dist/model/TestSuiteWithChildrenModel.js +1 -1
  408. package/dist/model/TestSuiteWorkItemsSearchModel.js +1 -1
  409. package/dist/model/UpdateEmptyTestRunApiModel.js +1 -1
  410. package/dist/model/UpdateFailureCategoryApiModel.js +1 -1
  411. package/dist/model/UpdateFailureCategoryProjectApiModel.js +1 -1
  412. package/dist/model/UpdateFailureClassRegexApiModel.js +1 -1
  413. package/dist/model/UpdateLinkApiModel.js +1 -1
  414. package/dist/model/UpdateMultipleAttachmentsApiModel.js +1 -1
  415. package/dist/model/UpdateMultipleLinksApiModel.js +1 -1
  416. package/dist/model/UpdateMultipleTestRunsApiModel.js +1 -1
  417. package/dist/model/UpdateParameterApiModel.js +1 -1
  418. package/dist/model/UpdateProjectApiModel.js +1 -1
  419. package/dist/model/UpdateStepApiModel.js +1 -1
  420. package/dist/model/UpdateTagApiModel.js +1 -1
  421. package/dist/model/UpdateTestPlanApiModel.js +1 -1
  422. package/dist/model/UpdateTestStatusApiModel.js +1 -1
  423. package/dist/model/UpdateWorkItemApiModel.js +1 -1
  424. package/dist/model/UpdateWorkflowApiModel.js +1 -1
  425. package/dist/model/UserCustomNameValidationResponse.js +1 -1
  426. package/dist/model/UserNameApiResult.js +1 -1
  427. package/dist/model/UserRankModel.js +1 -1
  428. package/dist/model/UserWithRankModel.js +1 -1
  429. package/dist/model/ValidationProblemDetails.js +1 -1
  430. package/dist/model/WebHookModel.js +1 -1
  431. package/dist/model/WebHookPostModel.js +1 -1
  432. package/dist/model/WebHookTestModel.js +1 -1
  433. package/dist/model/WebhookBulkUpdateApiModel.js +1 -1
  434. package/dist/model/WebhookLogApiResult.js +1 -1
  435. package/dist/model/WebhookResponse.js +1 -1
  436. package/dist/model/WebhooksDeleteApiModel.js +1 -1
  437. package/dist/model/WebhooksDeleteFilterApiModel.js +1 -1
  438. package/dist/model/WebhooksExtractionApiModel.js +1 -1
  439. package/dist/model/WebhooksFilterApiModel.js +1 -1
  440. package/dist/model/WebhooksUpdateApiModel.js +1 -1
  441. package/dist/model/WebhooksUpdateApiResult.js +1 -1
  442. package/dist/model/WorkItemApiResult.js +1 -1
  443. package/dist/model/WorkItemChangeModel.js +1 -1
  444. package/dist/model/WorkItemChangedAttributeViewModel.js +1 -1
  445. package/dist/model/WorkItemChangedFieldsViewModel.js +1 -1
  446. package/dist/model/WorkItemCommentModel.js +1 -1
  447. package/dist/model/WorkItemCommentPostModel.js +1 -1
  448. package/dist/model/WorkItemCommentPutModel.js +1 -1
  449. package/dist/model/WorkItemExternalMetadataFieldFilterApiModel.js +1 -1
  450. package/dist/model/WorkItemExternalMetadataFieldFilterModel.js +1 -1
  451. package/dist/model/WorkItemExternalMetadataFilterApiModel.js +1 -1
  452. package/dist/model/WorkItemExternalMetadataFilterModel.js +1 -1
  453. package/dist/model/WorkItemExtractionApiModel.js +1 -1
  454. package/dist/model/WorkItemExtractionModel.js +1 -1
  455. package/dist/model/WorkItemFilterApiModel.js +1 -1
  456. package/dist/model/WorkItemFilterModel.js +1 -1
  457. package/dist/model/WorkItemGroupGetModel.js +1 -1
  458. package/dist/model/WorkItemGroupModel.js +1 -1
  459. package/dist/model/WorkItemIdApiModel.js +1 -1
  460. package/dist/model/WorkItemIndexApiResult.js +1 -1
  461. package/dist/model/WorkItemLikeModel.js +1 -1
  462. package/dist/model/WorkItemLinkChangeViewModel.js +1 -1
  463. package/dist/model/WorkItemLinkChangeViewModelArrayChangedFieldViewModel.js +1 -1
  464. package/dist/model/WorkItemLinkExtractionApiModel.js +1 -1
  465. package/dist/model/WorkItemLinkFilterApiModel.js +1 -1
  466. package/dist/model/WorkItemLinkFilterModel.js +1 -1
  467. package/dist/model/WorkItemLinkUrlApiModel.js +1 -1
  468. package/dist/model/WorkItemLinkUrlApiResult.js +1 -1
  469. package/dist/model/WorkItemLinkUrlFilterApiModel.js +1 -1
  470. package/dist/model/WorkItemLocalFilterModel.js +1 -1
  471. package/dist/model/WorkItemLocalSelectModel.js +1 -1
  472. package/dist/model/WorkItemModel.js +1 -1
  473. package/dist/model/WorkItemMovePostModel.js +1 -1
  474. package/dist/model/WorkItemPreviewApiModel.js +1 -1
  475. package/dist/model/WorkItemPreviewStepApiModel.js +1 -1
  476. package/dist/model/WorkItemSearchQueryModel.js +1 -1
  477. package/dist/model/WorkItemSelectApiModel.js +1 -1
  478. package/dist/model/WorkItemSelectModel.js +1 -1
  479. package/dist/model/WorkItemShortApiResult.js +1 -1
  480. package/dist/model/WorkItemShortModel.js +1 -1
  481. package/dist/model/WorkItemStepChangeViewModel.js +1 -1
  482. package/dist/model/WorkItemStepChangeViewModelArrayChangedFieldWithDiffsViewModel.js +1 -1
  483. package/dist/model/WorkItemVersionModel.js +1 -1
  484. package/dist/model/WorkflowApiResult.js +1 -1
  485. package/dist/model/WorkflowExistsByNameApiResult.js +1 -1
  486. package/dist/model/WorkflowProjectApiResult.js +1 -1
  487. package/dist/model/WorkflowProjectApiResultApiCollectionPreview.js +1 -1
  488. package/dist/model/WorkflowProjectApiResultReply.js +1 -1
  489. package/dist/model/WorkflowShortApiResult.js +1 -1
  490. package/dist/model/WorkflowShortApiResultReply.js +1 -1
  491. package/dist/model/WorkflowStatusApiModel.js +1 -1
  492. package/dist/model/WorkflowStatusApiResult.js +1 -1
  493. package/package.json +1 -1
@@ -34,7 +34,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
34
34
  /**
35
35
  * Parameters service.
36
36
  * @module api/ParametersApi
37
- * @version 7.0.0-rc1
37
+ * @version 7.0.0-rc3
38
38
  */
39
39
  var ParametersApi = exports["default"] = /*#__PURE__*/function () {
40
40
  /**
@@ -49,25 +49,16 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
49
49
  this.apiClient = apiClient || _ApiClient["default"].instance;
50
50
  }
51
51
 
52
- /**
53
- * Callback function to receive the result of the apiV2ParametersBulkPost operation.
54
- * @callback module:api/ParametersApi~apiV2ParametersBulkPostCallback
55
- * @param {String} error Error message, if any.
56
- * @param {Array.<module:model/ParameterApiResult>} data The data returned by the service call.
57
- * @param {String} response The complete HTTP response.
58
- */
59
-
60
52
  /**
61
53
  * Create multiple parameters
62
54
  * Use case User sets list of parameter model (listed in the request example) User runs method execution System creates parameters System returns list of parameter model (listed in the response example)
63
55
  * @param {Object} opts Optional parameters
64
56
  * @param {Array.<module:model/CreateParameterApiModel>} [createParameterApiModel]
65
- * @param {module:api/ParametersApi~apiV2ParametersBulkPostCallback} callback The callback function, accepting three arguments: error, data, response
66
- * data is of type: {@link Array.<module:model/ParameterApiResult>}
57
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/ParameterApiResult>} and HTTP response
67
58
  */
68
59
  return _createClass(ParametersApi, [{
69
- key: "apiV2ParametersBulkPost",
70
- value: function apiV2ParametersBulkPost(opts, callback) {
60
+ key: "apiV2ParametersBulkPostWithHttpInfo",
61
+ value: function apiV2ParametersBulkPostWithHttpInfo(opts) {
71
62
  opts = opts || {};
72
63
  var postBody = opts['createParameterApiModel'];
73
64
  var pathParams = {};
@@ -78,27 +69,34 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
78
69
  var contentTypes = ['application/json'];
79
70
  var accepts = ['application/json'];
80
71
  var returnType = [_ParameterApiResult["default"]];
81
- return this.apiClient.callApi('/api/v2/parameters/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
72
+ return this.apiClient.callApi('/api/v2/parameters/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
82
73
  }
83
74
 
84
75
  /**
85
- * Callback function to receive the result of the apiV2ParametersBulkPut operation.
86
- * @callback module:api/ParametersApi~apiV2ParametersBulkPutCallback
87
- * @param {String} error Error message, if any.
88
- * @param data This operation does not return a value.
89
- * @param {String} response The complete HTTP response.
76
+ * Create multiple parameters
77
+ * Use case User sets list of parameter model (listed in the request example) User runs method execution System creates parameters System returns list of parameter model (listed in the response example)
78
+ * @param {Object} opts Optional parameters
79
+ * @param {Array.<module:model/CreateParameterApiModel>} opts.createParameterApiModel
80
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/ParameterApiResult>}
90
81
  */
82
+ }, {
83
+ key: "apiV2ParametersBulkPost",
84
+ value: function apiV2ParametersBulkPost(opts) {
85
+ return this.apiV2ParametersBulkPostWithHttpInfo(opts).then(function (response_and_data) {
86
+ return response_and_data.data;
87
+ });
88
+ }
91
89
 
92
90
  /**
93
91
  * Update multiple parameters
94
92
  * Use case User sets list of parameter model (listed in the request example) User runs method execution System updates parameters
95
93
  * @param {Object} opts Optional parameters
96
94
  * @param {Array.<module:model/UpdateParameterApiModel>} [updateParameterApiModel]
97
- * @param {module:api/ParametersApi~apiV2ParametersBulkPutCallback} callback The callback function, accepting three arguments: error, data, response
95
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
98
96
  */
99
97
  }, {
100
- key: "apiV2ParametersBulkPut",
101
- value: function apiV2ParametersBulkPut(opts, callback) {
98
+ key: "apiV2ParametersBulkPutWithHttpInfo",
99
+ value: function apiV2ParametersBulkPutWithHttpInfo(opts) {
102
100
  opts = opts || {};
103
101
  var postBody = opts['updateParameterApiModel'];
104
102
  var pathParams = {};
@@ -109,16 +107,23 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
109
107
  var contentTypes = ['application/json'];
110
108
  var accepts = ['application/json'];
111
109
  var returnType = null;
112
- return this.apiClient.callApi('/api/v2/parameters/bulk', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
110
+ return this.apiClient.callApi('/api/v2/parameters/bulk', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
113
111
  }
114
112
 
115
113
  /**
116
- * Callback function to receive the result of the apiV2ParametersGroupsGet operation.
117
- * @callback module:api/ParametersApi~apiV2ParametersGroupsGetCallback
118
- * @param {String} error Error message, if any.
119
- * @param {Array.<module:model/ParameterGroupApiResult>} data The data returned by the service call.
120
- * @param {String} response The complete HTTP response.
114
+ * Update multiple parameters
115
+ * Use case User sets list of parameter model (listed in the request example) User runs method execution System updates parameters
116
+ * @param {Object} opts Optional parameters
117
+ * @param {Array.<module:model/UpdateParameterApiModel>} opts.updateParameterApiModel
118
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
121
119
  */
120
+ }, {
121
+ key: "apiV2ParametersBulkPut",
122
+ value: function apiV2ParametersBulkPut(opts) {
123
+ return this.apiV2ParametersBulkPutWithHttpInfo(opts).then(function (response_and_data) {
124
+ return response_and_data.data;
125
+ });
126
+ }
122
127
 
123
128
  /**
124
129
  * Get parameters as group
@@ -133,12 +138,11 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
133
138
  * @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
134
139
  * @param {String} [searchField] Property name for searching
135
140
  * @param {String} [searchValue] Value for searching
136
- * @param {module:api/ParametersApi~apiV2ParametersGroupsGetCallback} callback The callback function, accepting three arguments: error, data, response
137
- * data is of type: {@link Array.<module:model/ParameterGroupApiResult>}
141
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/ParameterGroupApiResult>} and HTTP response
138
142
  */
139
143
  }, {
140
- key: "apiV2ParametersGroupsGet",
141
- value: function apiV2ParametersGroupsGet(opts, callback) {
144
+ key: "apiV2ParametersGroupsGetWithHttpInfo",
145
+ value: function apiV2ParametersGroupsGetWithHttpInfo(opts) {
142
146
  opts = opts || {};
143
147
  var postBody = null;
144
148
  var pathParams = {};
@@ -159,27 +163,41 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
159
163
  var contentTypes = [];
160
164
  var accepts = ['application/json'];
161
165
  var returnType = [_ParameterGroupApiResult["default"]];
162
- return this.apiClient.callApi('/api/v2/parameters/groups', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
166
+ return this.apiClient.callApi('/api/v2/parameters/groups', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
163
167
  }
164
168
 
165
169
  /**
166
- * Callback function to receive the result of the apiV2ParametersKeyNameNameExistsGet operation.
167
- * @callback module:api/ParametersApi~apiV2ParametersKeyNameNameExistsGetCallback
168
- * @param {String} error Error message, if any.
169
- * @param {Boolean} data The data returned by the service call.
170
- * @param {String} response The complete HTTP response.
170
+ * Get parameters as group
171
+ * Use case User runs method execution System search parameters System returns parameters models as groups (listed in the response example)
172
+ * @param {Object} opts Optional parameters
173
+ * @param {Array.<String>} opts.parameterKeyIds
174
+ * @param {String} opts.name
175
+ * @param {Boolean} opts.isDeleted
176
+ * @param {Array.<String>} opts.projectIds
177
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
178
+ * @param {Number} opts.take Amount of items to be taken (limit)
179
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
180
+ * @param {String} opts.searchField Property name for searching
181
+ * @param {String} opts.searchValue Value for searching
182
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/ParameterGroupApiResult>}
171
183
  */
184
+ }, {
185
+ key: "apiV2ParametersGroupsGet",
186
+ value: function apiV2ParametersGroupsGet(opts) {
187
+ return this.apiV2ParametersGroupsGetWithHttpInfo(opts).then(function (response_and_data) {
188
+ return response_and_data.data;
189
+ });
190
+ }
172
191
 
173
192
  /**
174
193
  * Check existence parameter key in system
175
194
  * Use case User sets name of parameter key User runs method execution System search parameter key System returns the flag for the existence of the parameter key in the system
176
195
  * @param {String} name
177
- * @param {module:api/ParametersApi~apiV2ParametersKeyNameNameExistsGetCallback} callback The callback function, accepting three arguments: error, data, response
178
- * data is of type: {@link Boolean}
196
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Boolean} and HTTP response
179
197
  */
180
198
  }, {
181
- key: "apiV2ParametersKeyNameNameExistsGet",
182
- value: function apiV2ParametersKeyNameNameExistsGet(name, callback) {
199
+ key: "apiV2ParametersKeyNameNameExistsGetWithHttpInfo",
200
+ value: function apiV2ParametersKeyNameNameExistsGetWithHttpInfo(name) {
183
201
  var postBody = null;
184
202
  // verify the required parameter 'name' is set
185
203
  if (name === undefined || name === null) {
@@ -195,27 +213,32 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
195
213
  var contentTypes = [];
196
214
  var accepts = ['application/json'];
197
215
  var returnType = 'Boolean';
198
- return this.apiClient.callApi('/api/v2/parameters/key/name/{name}/exists', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
216
+ return this.apiClient.callApi('/api/v2/parameters/key/name/{name}/exists', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
199
217
  }
200
218
 
201
219
  /**
202
- * Callback function to receive the result of the apiV2ParametersKeyValuesGet operation.
203
- * @callback module:api/ParametersApi~apiV2ParametersKeyValuesGetCallback
204
- * @param {String} error Error message, if any.
205
- * @param {Array.<String>} data The data returned by the service call.
206
- * @param {String} response The complete HTTP response.
220
+ * Check existence parameter key in system
221
+ * Use case User sets name of parameter key User runs method execution System search parameter key System returns the flag for the existence of the parameter key in the system
222
+ * @param {String} name
223
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Boolean}
207
224
  */
225
+ }, {
226
+ key: "apiV2ParametersKeyNameNameExistsGet",
227
+ value: function apiV2ParametersKeyNameNameExistsGet(name) {
228
+ return this.apiV2ParametersKeyNameNameExistsGetWithHttpInfo(name).then(function (response_and_data) {
229
+ return response_and_data.data;
230
+ });
231
+ }
208
232
 
209
233
  /**
210
234
  * Get all parameter key values
211
235
  * Use case User sets parameter key (string format) User runs method execution System search parameter values using the key System returns parameter
212
236
  * @param {String} key Parameter key (string format)
213
- * @param {module:api/ParametersApi~apiV2ParametersKeyValuesGetCallback} callback The callback function, accepting three arguments: error, data, response
214
- * data is of type: {@link Array.<String>}
237
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<String>} and HTTP response
215
238
  */
216
239
  }, {
217
- key: "apiV2ParametersKeyValuesGet",
218
- value: function apiV2ParametersKeyValuesGet(key, callback) {
240
+ key: "apiV2ParametersKeyValuesGetWithHttpInfo",
241
+ value: function apiV2ParametersKeyValuesGetWithHttpInfo(key) {
219
242
  var postBody = null;
220
243
  // verify the required parameter 'key' is set
221
244
  if (key === undefined || key === null) {
@@ -231,16 +254,22 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
231
254
  var contentTypes = [];
232
255
  var accepts = ['application/json'];
233
256
  var returnType = ['String'];
234
- return this.apiClient.callApi('/api/v2/parameters/{key}/values', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
257
+ return this.apiClient.callApi('/api/v2/parameters/{key}/values', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
235
258
  }
236
259
 
237
260
  /**
238
- * Callback function to receive the result of the apiV2ParametersKeysGet operation.
239
- * @callback module:api/ParametersApi~apiV2ParametersKeysGetCallback
240
- * @param {String} error Error message, if any.
241
- * @param {Array.<String>} data The data returned by the service call.
242
- * @param {String} response The complete HTTP response.
261
+ * Get all parameter key values
262
+ * Use case User sets parameter key (string format) User runs method execution System search parameter values using the key System returns parameter
263
+ * @param {String} key Parameter key (string format)
264
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<String>}
243
265
  */
266
+ }, {
267
+ key: "apiV2ParametersKeyValuesGet",
268
+ value: function apiV2ParametersKeyValuesGet(key) {
269
+ return this.apiV2ParametersKeyValuesGetWithHttpInfo(key).then(function (response_and_data) {
270
+ return response_and_data.data;
271
+ });
272
+ }
244
273
 
245
274
  /**
246
275
  * Get all parameter keys
@@ -252,12 +281,11 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
252
281
  * @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
253
282
  * @param {String} [searchField] Property name for searching
254
283
  * @param {String} [searchValue] Value for searching
255
- * @param {module:api/ParametersApi~apiV2ParametersKeysGetCallback} callback The callback function, accepting three arguments: error, data, response
256
- * data is of type: {@link Array.<String>}
284
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<String>} and HTTP response
257
285
  */
258
286
  }, {
259
- key: "apiV2ParametersKeysGet",
260
- value: function apiV2ParametersKeysGet(opts, callback) {
287
+ key: "apiV2ParametersKeysGetWithHttpInfo",
288
+ value: function apiV2ParametersKeysGetWithHttpInfo(opts) {
261
289
  opts = opts || {};
262
290
  var postBody = null;
263
291
  var pathParams = {};
@@ -275,16 +303,28 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
275
303
  var contentTypes = [];
276
304
  var accepts = ['application/json'];
277
305
  var returnType = ['String'];
278
- return this.apiClient.callApi('/api/v2/parameters/keys', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
306
+ return this.apiClient.callApi('/api/v2/parameters/keys', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
279
307
  }
280
308
 
281
309
  /**
282
- * Callback function to receive the result of the apiV2ParametersSearchGroupsPost operation.
283
- * @callback module:api/ParametersApi~apiV2ParametersSearchGroupsPostCallback
284
- * @param {String} error Error message, if any.
285
- * @param {Array.<module:model/ParameterGroupApiResult>} data The data returned by the service call.
286
- * @param {String} response The complete HTTP response.
310
+ * Get all parameter keys
311
+ * Use case User runs method execution System search all parameter keys System returns parameter keys
312
+ * @param {Object} opts Optional parameters
313
+ * @param {Array.<String>} opts.projectIds
314
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
315
+ * @param {Number} opts.take Amount of items to be taken (limit)
316
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
317
+ * @param {String} opts.searchField Property name for searching
318
+ * @param {String} opts.searchValue Value for searching
319
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<String>}
287
320
  */
321
+ }, {
322
+ key: "apiV2ParametersKeysGet",
323
+ value: function apiV2ParametersKeysGet(opts) {
324
+ return this.apiV2ParametersKeysGetWithHttpInfo(opts).then(function (response_and_data) {
325
+ return response_and_data.data;
326
+ });
327
+ }
288
328
 
289
329
  /**
290
330
  * Search for parameters as group
@@ -295,12 +335,11 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
295
335
  * @param {String} [searchField] Property name for searching
296
336
  * @param {String} [searchValue] Value for searching
297
337
  * @param {module:model/ParameterGroupsFilterApiModel} [parameterGroupsFilterApiModel]
298
- * @param {module:api/ParametersApi~apiV2ParametersSearchGroupsPostCallback} callback The callback function, accepting three arguments: error, data, response
299
- * data is of type: {@link Array.<module:model/ParameterGroupApiResult>}
338
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/ParameterGroupApiResult>} and HTTP response
300
339
  */
301
340
  }, {
302
- key: "apiV2ParametersSearchGroupsPost",
303
- value: function apiV2ParametersSearchGroupsPost(opts, callback) {
341
+ key: "apiV2ParametersSearchGroupsPostWithHttpInfo",
342
+ value: function apiV2ParametersSearchGroupsPostWithHttpInfo(opts) {
304
343
  opts = opts || {};
305
344
  var postBody = opts['parameterGroupsFilterApiModel'];
306
345
  var pathParams = {};
@@ -317,16 +356,27 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
317
356
  var contentTypes = ['application/json'];
318
357
  var accepts = ['application/json'];
319
358
  var returnType = [_ParameterGroupApiResult["default"]];
320
- return this.apiClient.callApi('/api/v2/parameters/search/groups', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
359
+ return this.apiClient.callApi('/api/v2/parameters/search/groups', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
321
360
  }
322
361
 
323
362
  /**
324
- * Callback function to receive the result of the apiV2ParametersSearchPost operation.
325
- * @callback module:api/ParametersApi~apiV2ParametersSearchPostCallback
326
- * @param {String} error Error message, if any.
327
- * @param {Array.<module:model/ParameterApiResult>} data The data returned by the service call.
328
- * @param {String} response The complete HTTP response.
363
+ * Search for parameters as group
364
+ * @param {Object} opts Optional parameters
365
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
366
+ * @param {Number} opts.take Amount of items to be taken (limit)
367
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
368
+ * @param {String} opts.searchField Property name for searching
369
+ * @param {String} opts.searchValue Value for searching
370
+ * @param {module:model/ParameterGroupsFilterApiModel} opts.parameterGroupsFilterApiModel
371
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/ParameterGroupApiResult>}
329
372
  */
373
+ }, {
374
+ key: "apiV2ParametersSearchGroupsPost",
375
+ value: function apiV2ParametersSearchGroupsPost(opts) {
376
+ return this.apiV2ParametersSearchGroupsPostWithHttpInfo(opts).then(function (response_and_data) {
377
+ return response_and_data.data;
378
+ });
379
+ }
330
380
 
331
381
  /**
332
382
  * Search for parameters
@@ -337,12 +387,11 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
337
387
  * @param {String} [searchField] Property name for searching
338
388
  * @param {String} [searchValue] Value for searching
339
389
  * @param {module:model/ParametersFilterApiModel} [parametersFilterApiModel]
340
- * @param {module:api/ParametersApi~apiV2ParametersSearchPostCallback} callback The callback function, accepting three arguments: error, data, response
341
- * data is of type: {@link Array.<module:model/ParameterApiResult>}
390
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/ParameterApiResult>} and HTTP response
342
391
  */
343
392
  }, {
344
- key: "apiV2ParametersSearchPost",
345
- value: function apiV2ParametersSearchPost(opts, callback) {
393
+ key: "apiV2ParametersSearchPostWithHttpInfo",
394
+ value: function apiV2ParametersSearchPostWithHttpInfo(opts) {
346
395
  opts = opts || {};
347
396
  var postBody = opts['parametersFilterApiModel'];
348
397
  var pathParams = {};
@@ -359,28 +408,38 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
359
408
  var contentTypes = ['application/json'];
360
409
  var accepts = ['application/json'];
361
410
  var returnType = [_ParameterApiResult["default"]];
362
- return this.apiClient.callApi('/api/v2/parameters/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
411
+ return this.apiClient.callApi('/api/v2/parameters/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
363
412
  }
364
413
 
365
414
  /**
366
- * Callback function to receive the result of the createParameter operation.
367
- * @callback module:api/ParametersApi~createParameterCallback
368
- * @param {String} error Error message, if any.
369
- * @param {module:model/ParameterApiResult} data The data returned by the service call.
370
- * @param {String} response The complete HTTP response.
415
+ * Search for parameters
416
+ * @param {Object} opts Optional parameters
417
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
418
+ * @param {Number} opts.take Amount of items to be taken (limit)
419
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
420
+ * @param {String} opts.searchField Property name for searching
421
+ * @param {String} opts.searchValue Value for searching
422
+ * @param {module:model/ParametersFilterApiModel} opts.parametersFilterApiModel
423
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/ParameterApiResult>}
371
424
  */
425
+ }, {
426
+ key: "apiV2ParametersSearchPost",
427
+ value: function apiV2ParametersSearchPost(opts) {
428
+ return this.apiV2ParametersSearchPostWithHttpInfo(opts).then(function (response_and_data) {
429
+ return response_and_data.data;
430
+ });
431
+ }
372
432
 
373
433
  /**
374
434
  * Create parameter
375
435
  * Use case User sets parameter model (listed in the request example) User runs method execution System creates parameter System returns parameter model
376
436
  * @param {Object} opts Optional parameters
377
437
  * @param {module:model/CreateParameterApiModel} [createParameterApiModel]
378
- * @param {module:api/ParametersApi~createParameterCallback} callback The callback function, accepting three arguments: error, data, response
379
- * data is of type: {@link module:model/ParameterApiResult}
438
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ParameterApiResult} and HTTP response
380
439
  */
381
440
  }, {
382
- key: "createParameter",
383
- value: function createParameter(opts, callback) {
441
+ key: "createParameterWithHttpInfo",
442
+ value: function createParameterWithHttpInfo(opts) {
384
443
  opts = opts || {};
385
444
  var postBody = opts['createParameterApiModel'];
386
445
  var pathParams = {};
@@ -391,26 +450,33 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
391
450
  var contentTypes = ['application/json'];
392
451
  var accepts = ['application/json'];
393
452
  var returnType = _ParameterApiResult["default"];
394
- return this.apiClient.callApi('/api/v2/parameters', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
453
+ return this.apiClient.callApi('/api/v2/parameters', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
395
454
  }
396
455
 
397
456
  /**
398
- * Callback function to receive the result of the deleteByName operation.
399
- * @callback module:api/ParametersApi~deleteByNameCallback
400
- * @param {String} error Error message, if any.
401
- * @param data This operation does not return a value.
402
- * @param {String} response The complete HTTP response.
457
+ * Create parameter
458
+ * Use case User sets parameter model (listed in the request example) User runs method execution System creates parameter System returns parameter model
459
+ * @param {Object} opts Optional parameters
460
+ * @param {module:model/CreateParameterApiModel} opts.createParameterApiModel
461
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ParameterApiResult}
403
462
  */
463
+ }, {
464
+ key: "createParameter",
465
+ value: function createParameter(opts) {
466
+ return this.createParameterWithHttpInfo(opts).then(function (response_and_data) {
467
+ return response_and_data.data;
468
+ });
469
+ }
404
470
 
405
471
  /**
406
472
  * Delete parameter by name
407
473
  * Deletes parameter and all it's values
408
474
  * @param {String} name Name of the parameter
409
- * @param {module:api/ParametersApi~deleteByNameCallback} callback The callback function, accepting three arguments: error, data, response
475
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
410
476
  */
411
477
  }, {
412
- key: "deleteByName",
413
- value: function deleteByName(name, callback) {
478
+ key: "deleteByNameWithHttpInfo",
479
+ value: function deleteByNameWithHttpInfo(name) {
414
480
  var postBody = null;
415
481
  // verify the required parameter 'name' is set
416
482
  if (name === undefined || name === null) {
@@ -426,26 +492,32 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
426
492
  var contentTypes = [];
427
493
  var accepts = ['application/json'];
428
494
  var returnType = null;
429
- return this.apiClient.callApi('/api/v2/parameters/name/{name}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
495
+ return this.apiClient.callApi('/api/v2/parameters/name/{name}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
430
496
  }
431
497
 
432
498
  /**
433
- * Callback function to receive the result of the deleteByParameterKeyId operation.
434
- * @callback module:api/ParametersApi~deleteByParameterKeyIdCallback
435
- * @param {String} error Error message, if any.
436
- * @param data This operation does not return a value.
437
- * @param {String} response The complete HTTP response.
499
+ * Delete parameter by name
500
+ * Deletes parameter and all it's values
501
+ * @param {String} name Name of the parameter
502
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
438
503
  */
504
+ }, {
505
+ key: "deleteByName",
506
+ value: function deleteByName(name) {
507
+ return this.deleteByNameWithHttpInfo(name).then(function (response_and_data) {
508
+ return response_and_data.data;
509
+ });
510
+ }
439
511
 
440
512
  /**
441
513
  * Delete parameters by parameter key identifier
442
514
  * Deletes parameter and all it's values by parameter key identifier
443
515
  * @param {String} keyId Identifier of the parameter key
444
- * @param {module:api/ParametersApi~deleteByParameterKeyIdCallback} callback The callback function, accepting three arguments: error, data, response
516
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
445
517
  */
446
518
  }, {
447
- key: "deleteByParameterKeyId",
448
- value: function deleteByParameterKeyId(keyId, callback) {
519
+ key: "deleteByParameterKeyIdWithHttpInfo",
520
+ value: function deleteByParameterKeyIdWithHttpInfo(keyId) {
449
521
  var postBody = null;
450
522
  // verify the required parameter 'keyId' is set
451
523
  if (keyId === undefined || keyId === null) {
@@ -461,26 +533,32 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
461
533
  var contentTypes = [];
462
534
  var accepts = ['application/json'];
463
535
  var returnType = null;
464
- return this.apiClient.callApi('/api/v2/parameters/keyId/{keyId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
536
+ return this.apiClient.callApi('/api/v2/parameters/keyId/{keyId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
465
537
  }
466
538
 
467
539
  /**
468
- * Callback function to receive the result of the deleteParameter operation.
469
- * @callback module:api/ParametersApi~deleteParameterCallback
470
- * @param {String} error Error message, if any.
471
- * @param data This operation does not return a value.
472
- * @param {String} response The complete HTTP response.
540
+ * Delete parameters by parameter key identifier
541
+ * Deletes parameter and all it's values by parameter key identifier
542
+ * @param {String} keyId Identifier of the parameter key
543
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
473
544
  */
545
+ }, {
546
+ key: "deleteByParameterKeyId",
547
+ value: function deleteByParameterKeyId(keyId) {
548
+ return this.deleteByParameterKeyIdWithHttpInfo(keyId).then(function (response_and_data) {
549
+ return response_and_data.data;
550
+ });
551
+ }
474
552
 
475
553
  /**
476
554
  * Delete parameter
477
555
  * Use case User sets parameter internal (guid format) identifier System search and delete parameter System returns deleted parameter
478
556
  * @param {String} id Parameter internal (UUID) identifier
479
- * @param {module:api/ParametersApi~deleteParameterCallback} callback The callback function, accepting three arguments: error, data, response
557
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
480
558
  */
481
559
  }, {
482
- key: "deleteParameter",
483
- value: function deleteParameter(id, callback) {
560
+ key: "deleteParameterWithHttpInfo",
561
+ value: function deleteParameterWithHttpInfo(id) {
484
562
  var postBody = null;
485
563
  // verify the required parameter 'id' is set
486
564
  if (id === undefined || id === null) {
@@ -496,16 +574,22 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
496
574
  var contentTypes = [];
497
575
  var accepts = ['application/json'];
498
576
  var returnType = null;
499
- return this.apiClient.callApi('/api/v2/parameters/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
577
+ return this.apiClient.callApi('/api/v2/parameters/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
500
578
  }
501
579
 
502
580
  /**
503
- * Callback function to receive the result of the getAllParameters operation.
504
- * @callback module:api/ParametersApi~getAllParametersCallback
505
- * @param {String} error Error message, if any.
506
- * @param {Array.<module:model/ParameterApiResult>} data The data returned by the service call.
507
- * @param {String} response The complete HTTP response.
581
+ * Delete parameter
582
+ * Use case User sets parameter internal (guid format) identifier System search and delete parameter System returns deleted parameter
583
+ * @param {String} id Parameter internal (UUID) identifier
584
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
508
585
  */
586
+ }, {
587
+ key: "deleteParameter",
588
+ value: function deleteParameter(id) {
589
+ return this.deleteParameterWithHttpInfo(id).then(function (response_and_data) {
590
+ return response_and_data.data;
591
+ });
592
+ }
509
593
 
510
594
  /**
511
595
  * Get all parameters
@@ -517,12 +601,11 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
517
601
  * @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
518
602
  * @param {String} [searchField] Property name for searching
519
603
  * @param {String} [searchValue] Value for searching
520
- * @param {module:api/ParametersApi~getAllParametersCallback} callback The callback function, accepting three arguments: error, data, response
521
- * data is of type: {@link Array.<module:model/ParameterApiResult>}
604
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/ParameterApiResult>} and HTTP response
522
605
  */
523
606
  }, {
524
- key: "getAllParameters",
525
- value: function getAllParameters(opts, callback) {
607
+ key: "getAllParametersWithHttpInfo",
608
+ value: function getAllParametersWithHttpInfo(opts) {
526
609
  opts = opts || {};
527
610
  var postBody = null;
528
611
  var pathParams = {};
@@ -540,27 +623,38 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
540
623
  var contentTypes = [];
541
624
  var accepts = ['application/json'];
542
625
  var returnType = [_ParameterApiResult["default"]];
543
- return this.apiClient.callApi('/api/v2/parameters', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
626
+ return this.apiClient.callApi('/api/v2/parameters', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
544
627
  }
545
628
 
546
629
  /**
547
- * Callback function to receive the result of the getParameterById operation.
548
- * @callback module:api/ParametersApi~getParameterByIdCallback
549
- * @param {String} error Error message, if any.
550
- * @param {module:model/ParameterApiResult} data The data returned by the service call.
551
- * @param {String} response The complete HTTP response.
630
+ * Get all parameters
631
+ * Use case [Optional] User sets isDeleted field value [Optional] If User sets isDeleted field value as true, System search all deleted parameters [Optional] If User sets isDeleted field value as false, System search all parameters which are not deleted If User did not set isDeleted field value, System search all parameters System returns array of all found parameters(listed in response model)
632
+ * @param {Object} opts Optional parameters
633
+ * @param {Boolean} opts.isDeleted If result must consist of only actual/deleted parameters
634
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
635
+ * @param {Number} opts.take Amount of items to be taken (limit)
636
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
637
+ * @param {String} opts.searchField Property name for searching
638
+ * @param {String} opts.searchValue Value for searching
639
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/ParameterApiResult>}
552
640
  */
641
+ }, {
642
+ key: "getAllParameters",
643
+ value: function getAllParameters(opts) {
644
+ return this.getAllParametersWithHttpInfo(opts).then(function (response_and_data) {
645
+ return response_and_data.data;
646
+ });
647
+ }
553
648
 
554
649
  /**
555
650
  * Get parameter by ID
556
651
  * Use case User sets parameter internal (guid format) identifier User runs method execution System search parameter using the identifier System returns parameter
557
652
  * @param {String} id Parameter internal (UUID) identifier
558
- * @param {module:api/ParametersApi~getParameterByIdCallback} callback The callback function, accepting three arguments: error, data, response
559
- * data is of type: {@link module:model/ParameterApiResult}
653
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ParameterApiResult} and HTTP response
560
654
  */
561
655
  }, {
562
- key: "getParameterById",
563
- value: function getParameterById(id, callback) {
656
+ key: "getParameterByIdWithHttpInfo",
657
+ value: function getParameterByIdWithHttpInfo(id) {
564
658
  var postBody = null;
565
659
  // verify the required parameter 'id' is set
566
660
  if (id === undefined || id === null) {
@@ -576,27 +670,33 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
576
670
  var contentTypes = [];
577
671
  var accepts = ['application/json'];
578
672
  var returnType = _ParameterApiResult["default"];
579
- return this.apiClient.callApi('/api/v2/parameters/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
673
+ return this.apiClient.callApi('/api/v2/parameters/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
580
674
  }
581
675
 
582
676
  /**
583
- * Callback function to receive the result of the updateParameter operation.
584
- * @callback module:api/ParametersApi~updateParameterCallback
585
- * @param {String} error Error message, if any.
586
- * @param data This operation does not return a value.
587
- * @param {String} response The complete HTTP response.
677
+ * Get parameter by ID
678
+ * Use case User sets parameter internal (guid format) identifier User runs method execution System search parameter using the identifier System returns parameter
679
+ * @param {String} id Parameter internal (UUID) identifier
680
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ParameterApiResult}
588
681
  */
682
+ }, {
683
+ key: "getParameterById",
684
+ value: function getParameterById(id) {
685
+ return this.getParameterByIdWithHttpInfo(id).then(function (response_and_data) {
686
+ return response_and_data.data;
687
+ });
688
+ }
589
689
 
590
690
  /**
591
691
  * Update parameter
592
692
  * Use case User sets parameter updated properties(listed in the request example) User runs method execution System updated parameter using updated properties System returns no content response
593
693
  * @param {Object} opts Optional parameters
594
694
  * @param {module:model/UpdateParameterApiModel} [updateParameterApiModel]
595
- * @param {module:api/ParametersApi~updateParameterCallback} callback The callback function, accepting three arguments: error, data, response
695
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
596
696
  */
597
697
  }, {
598
- key: "updateParameter",
599
- value: function updateParameter(opts, callback) {
698
+ key: "updateParameterWithHttpInfo",
699
+ value: function updateParameterWithHttpInfo(opts) {
600
700
  opts = opts || {};
601
701
  var postBody = opts['updateParameterApiModel'];
602
702
  var pathParams = {};
@@ -607,7 +707,22 @@ var ParametersApi = exports["default"] = /*#__PURE__*/function () {
607
707
  var contentTypes = ['application/json'];
608
708
  var accepts = ['application/json'];
609
709
  var returnType = null;
610
- return this.apiClient.callApi('/api/v2/parameters', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
710
+ return this.apiClient.callApi('/api/v2/parameters', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
711
+ }
712
+
713
+ /**
714
+ * Update parameter
715
+ * Use case User sets parameter updated properties(listed in the request example) User runs method execution System updated parameter using updated properties System returns no content response
716
+ * @param {Object} opts Optional parameters
717
+ * @param {module:model/UpdateParameterApiModel} opts.updateParameterApiModel
718
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
719
+ */
720
+ }, {
721
+ key: "updateParameter",
722
+ value: function updateParameter(opts) {
723
+ return this.updateParameterWithHttpInfo(opts).then(function (response_and_data) {
724
+ return response_and_data.data;
725
+ });
611
726
  }
612
727
  }]);
613
728
  }();