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.
- package/README.MD +8 -10
- package/dist/ApiClient.js +30 -23
- package/dist/api/AttachmentsApi.js +81 -52
- package/dist/api/AutoTestsApi.js +360 -196
- package/dist/api/BackgroundJobsApi.js +97 -62
- package/dist/api/ConfigurationsApi.js +189 -119
- package/dist/api/CustomAttributeTemplatesApi.js +149 -90
- package/dist/api/CustomAttributesApi.js +98 -63
- package/dist/api/ExternalIssuesApi.js +19 -14
- package/dist/api/NotificationsApi.js +91 -52
- package/dist/api/ParametersApi.js +264 -149
- package/dist/api/ProjectAttributeTemplatesApi.js +57 -32
- package/dist/api/ProjectAttributesApi.js +107 -62
- package/dist/api/ProjectConfigurationsApi.js +19 -14
- package/dist/api/ProjectSectionsApi.js +25 -14
- package/dist/api/ProjectSettingsApi.js +34 -23
- package/dist/api/ProjectTestPlanAttributesApi.js +90 -51
- package/dist/api/ProjectTestPlanTestPointsApi.js +38 -23
- package/dist/api/ProjectTestPlansApi.js +114 -63
- package/dist/api/ProjectWorkItemsApi.js +130 -64
- package/dist/api/ProjectsApi.js +422 -244
- package/dist/api/SearchApi.js +18 -14
- package/dist/api/SectionsApi.js +140 -79
- package/dist/api/TagsApi.js +108 -62
- package/dist/api/TestPlansApi.js +524 -299
- package/dist/api/TestPointsApi.js +72 -44
- package/dist/api/TestResultsApi.js +242 -149
- package/dist/api/TestRunsApi.js +379 -235
- package/dist/api/TestSuitesApi.js +211 -127
- package/dist/api/UsersApi.js +18 -14
- package/dist/api/WebhooksApi.js +157 -102
- package/dist/api/WebhooksLogsApi.js +52 -33
- package/dist/api/WorkItemsApi.js +450 -256
- package/dist/api/WorkItemsCommentsApi.js +78 -52
- package/dist/model/AIServiceModelApiResult.js +1 -1
- package/dist/model/AIServiceModelApiResultReply.js +1 -1
- package/dist/model/AssignAttachmentApiModel.js +1 -1
- package/dist/model/AssignIterationApiModel.js +1 -1
- package/dist/model/AttachmentApiResult.js +1 -1
- package/dist/model/AttachmentChangeViewModel.js +1 -1
- package/dist/model/AttachmentChangeViewModelArrayChangedFieldViewModel.js +1 -1
- package/dist/model/AttachmentModel.js +1 -1
- package/dist/model/AttachmentPutModel.js +1 -1
- package/dist/model/AttachmentPutModelAutoTestStepResultsModel.js +1 -1
- package/dist/model/AttachmentUpdateRequest.js +1 -1
- package/dist/model/AuditApiResult.js +1 -1
- package/dist/model/AutoTest.js +1 -1
- package/dist/model/AutoTestApiResult.js +1 -1
- package/dist/model/AutoTestAverageDurationApiResult.js +1 -1
- package/dist/model/AutoTestBulkDeleteApiModel.js +1 -1
- package/dist/model/AutoTestBulkDeleteApiResult.js +1 -1
- package/dist/model/AutoTestChangeViewModel.js +1 -1
- package/dist/model/AutoTestChangeViewModelArrayChangedFieldViewModel.js +1 -1
- package/dist/model/AutoTestClassCountApiModel.js +1 -1
- package/dist/model/AutoTestCreateApiModel.js +1 -1
- package/dist/model/AutoTestExtractionApiModel.js +1 -1
- package/dist/model/AutoTestFilterApiModel.js +1 -1
- package/dist/model/AutoTestFilterModel.js +1 -1
- package/dist/model/AutoTestFlakyBulkApiModel.js +1 -1
- package/dist/model/AutoTestIdModel.js +1 -1
- package/dist/model/AutoTestModel.js +1 -1
- package/dist/model/AutoTestModelV2GetModel.js +1 -1
- package/dist/model/AutoTestNamespaceApiResult.js +1 -1
- package/dist/model/AutoTestNamespaceCountApiModel.js +1 -1
- package/dist/model/AutoTestNamespacesCountResponse.js +1 -1
- package/dist/model/AutoTestProjectSettingsApiModel.js +1 -1
- package/dist/model/AutoTestProjectSettingsApiResult.js +1 -1
- package/dist/model/AutoTestResultHistoryApiResult.js +1 -1
- package/dist/model/AutoTestResultHistorySelectApiModel.js +1 -1
- package/dist/model/AutoTestResultReasonShort.js +1 -1
- package/dist/model/AutoTestResultReasonsCountItemModel.js +1 -1
- package/dist/model/AutoTestResultReasonsCountModel.js +1 -1
- package/dist/model/AutoTestResultsForTestRunModel.js +1 -1
- package/dist/model/AutoTestSearchApiModel.js +1 -1
- package/dist/model/AutoTestSearchIncludeApiModel.js +1 -1
- package/dist/model/AutoTestSelectApiModel.js +1 -1
- package/dist/model/AutoTestSelectModel.js +1 -1
- package/dist/model/AutoTestShortApiResult.js +1 -1
- package/dist/model/AutoTestStep.js +1 -1
- package/dist/model/AutoTestStepApiModel.js +1 -1
- package/dist/model/AutoTestStepApiResult.js +1 -1
- package/dist/model/AutoTestStepModel.js +1 -1
- package/dist/model/AutoTestStepResult.js +1 -1
- package/dist/model/AutoTestStepResultUpdateRequest.js +1 -1
- package/dist/model/AutoTestStepResultsApiResult.js +1 -1
- package/dist/model/AutoTestUpdateApiModel.js +1 -1
- package/dist/model/AutoTestWorkItemIdentifierApiResult.js +1 -1
- package/dist/model/AutoTestsExtractionModel.js +1 -1
- package/dist/model/AutotestResultReasonFilterModel.js +1 -1
- package/dist/model/AutotestResultReasonShortGetModel.js +1 -1
- package/dist/model/BackgroundJobAttachmentModel.js +1 -1
- package/dist/model/BackgroundJobFilterModel.js +1 -1
- package/dist/model/BackgroundJobGetModel.js +1 -1
- package/dist/model/BooleanChangedFieldViewModel.js +1 -1
- package/dist/model/BooleanNullableChangedFieldViewModel.js +1 -1
- package/dist/model/CollectionFilter.js +1 -1
- package/dist/model/CompositeFilter.js +1 -1
- package/dist/model/ConfigurationByParametersModel.js +1 -1
- package/dist/model/ConfigurationExtractionApiModel.js +1 -1
- package/dist/model/ConfigurationExtractionModel.js +1 -1
- package/dist/model/ConfigurationFilterApiModel.js +1 -1
- package/dist/model/ConfigurationFilterModel.js +1 -1
- package/dist/model/ConfigurationModel.js +1 -1
- package/dist/model/ConfigurationPostModel.js +1 -1
- package/dist/model/ConfigurationPutModel.js +1 -1
- package/dist/model/ConfigurationSelectApiModel.js +1 -1
- package/dist/model/ConfigurationSelectModel.js +1 -1
- package/dist/model/ConfigurationShort.js +1 -1
- package/dist/model/ConfigurationShortApiResult.js +1 -1
- package/dist/model/ConfigurationShortModel.js +1 -1
- package/dist/model/CreateDefectApiModel.js +1 -1
- package/dist/model/CreateEmptyTestRunApiModel.js +1 -1
- package/dist/model/CreateFailureCategoryApiModel.js +1 -1
- package/dist/model/CreateFailureClassRegexApiModel.js +1 -1
- package/dist/model/CreateLinkApiModel.js +1 -1
- package/dist/model/CreateParameterApiModel.js +1 -1
- package/dist/model/CreateProjectApiModel.js +1 -1
- package/dist/model/CreateProjectFailureCategoryApiModel.js +1 -1
- package/dist/model/CreateStepApiModel.js +1 -1
- package/dist/model/CreateTagApiModel.js +1 -1
- package/dist/model/CreateTestPlanApiModel.js +1 -1
- package/dist/model/CreateTestRunAndFillByAutoTestsApiModel.js +1 -1
- package/dist/model/CreateTestRunAndFillByConfigurationsApiModel.js +1 -1
- package/dist/model/CreateTestRunAndFillByWorkItemsApiModel.js +1 -1
- package/dist/model/CreateTestStatusApiModel.js +1 -1
- package/dist/model/CreateWorkItemApiModel.js +1 -1
- package/dist/model/CreateWorkItemPreviewsApiModel.js +1 -1
- package/dist/model/CreateWorkflowApiModel.js +1 -1
- package/dist/model/CustomAttributeApiResult.js +1 -1
- package/dist/model/CustomAttributeChangeModel.js +1 -1
- package/dist/model/CustomAttributeGetModel.js +1 -1
- package/dist/model/CustomAttributeModel.js +1 -1
- package/dist/model/CustomAttributeOptionApiResult.js +1 -1
- package/dist/model/CustomAttributeOptionModel.js +1 -1
- package/dist/model/CustomAttributeOptionPostModel.js +1 -1
- package/dist/model/CustomAttributePostModel.js +1 -1
- package/dist/model/CustomAttributePutModel.js +1 -1
- package/dist/model/CustomAttributeSearchQueryModel.js +1 -1
- package/dist/model/CustomAttributeSearchResponseModel.js +1 -1
- package/dist/model/CustomAttributeTemplateModel.js +1 -1
- package/dist/model/CustomAttributeTemplatePostModel.js +1 -1
- package/dist/model/CustomAttributeTemplatePutModel.js +1 -1
- package/dist/model/CustomAttributeTemplateSearchQueryModel.js +1 -1
- package/dist/model/CustomAttributeTemplateValidationResult.js +1 -1
- package/dist/model/CustomAttributeTestPlanProjectRelationPutModel.js +1 -1
- package/dist/model/CustomAttributeValidationResult.js +1 -1
- package/dist/model/DateTimeRangeSelectorModel.js +1 -1
- package/dist/model/DefectApiModel.js +1 -1
- package/dist/model/DemoProjectApiResult.js +1 -1
- package/dist/model/EnableProjectExternalServiceApiModel.js +1 -1
- package/dist/model/ExternalFormAllowedValueModel.js +1 -1
- package/dist/model/ExternalFormCreateModel.js +1 -1
- package/dist/model/ExternalFormFieldModel.js +1 -1
- package/dist/model/ExternalFormLinkModel.js +1 -1
- package/dist/model/ExternalFormModel.js +1 -1
- package/dist/model/ExternalIssueApiFieldSuggestion.js +1 -1
- package/dist/model/ExternalIssueApiFieldSuggestionReply.js +1 -1
- package/dist/model/ExternalIssueApiMetadata.js +1 -1
- package/dist/model/ExternalIssueApiPriority.js +1 -1
- package/dist/model/ExternalIssueApiResult.js +1 -1
- package/dist/model/ExternalIssueApiType.js +1 -1
- package/dist/model/ExternalIssueExternalServiceApiResult.js +1 -1
- package/dist/model/ExternalIssueMetadataModel.js +1 -1
- package/dist/model/ExternalIssueModel.js +1 -1
- package/dist/model/ExternalIssuePriorityModel.js +1 -1
- package/dist/model/ExternalIssueTypeModel.js +1 -1
- package/dist/model/ExternalLinkModel.js +1 -1
- package/dist/model/ExternalServiceMetadataApiResult.js +1 -1
- package/dist/model/ExternalServicesMetadataApiResult.js +1 -1
- package/dist/model/FailureCategoryApiResult.js +1 -1
- package/dist/model/FailureCategoryGroupApiModel.js +1 -1
- package/dist/model/FailureCategoryGroupApiResult.js +1 -1
- package/dist/model/FailureCategoryGroupItemApiResult.js +1 -1
- package/dist/model/FailureCategoryGroupItemApiResultReply.js +1 -1
- package/dist/model/FailureCategoryGroupSearchApiModel.js +1 -1
- package/dist/model/FailureCategoryItemApiResult.js +1 -1
- package/dist/model/FailureClassRegexApiResult.js +1 -1
- package/dist/model/Filter.js +1 -1
- package/dist/model/FilterModel.js +1 -1
- package/dist/model/GenerateWorkItemPreviewsApiModel.js +1 -1
- package/dist/model/GenerateWorkItemPreviewsApiResult.js +1 -1
- package/dist/model/GetAIServiceModelsApiModel.js +1 -1
- package/dist/model/GetExternalFormApiResult.js +1 -1
- package/dist/model/GetExternalIssueSuggestionsApiModel.js +1 -1
- package/dist/model/GetShortProjectsApiModel.js +1 -1
- package/dist/model/GetXlsxTestPointsByTestPlanModel.js +1 -1
- package/dist/model/GlobalCustomAttributePostModel.js +1 -1
- package/dist/model/GlobalCustomAttributeUpdateModel.js +1 -1
- package/dist/model/GlobalSearchItemResult.js +1 -1
- package/dist/model/GlobalSearchRequest.js +1 -1
- package/dist/model/GlobalSearchResponse.js +1 -1
- package/dist/model/GuidChangedFieldViewModel.js +1 -1
- package/dist/model/GuidExtractionModel.js +1 -1
- package/dist/model/IFilter.js +1 -1
- package/dist/model/Inquiry.js +1 -1
- package/dist/model/Int32ChangedFieldViewModel.js +1 -1
- package/dist/model/Int32RangeSelectorModel.js +1 -1
- package/dist/model/Int64ChangedFieldViewModel.js +1 -1
- package/dist/model/Int64RangeSelectorModel.js +1 -1
- package/dist/model/IterationApiResult.js +1 -1
- package/dist/model/IterationModel.js +1 -1
- package/dist/model/Label.js +1 -1
- package/dist/model/LabelApiModel.js +1 -1
- package/dist/model/LabelApiResult.js +1 -1
- package/dist/model/LabelShortModel.js +1 -1
- package/dist/model/LastTestResultApiResult.js +1 -1
- package/dist/model/LastTestResultModel.js +1 -1
- package/dist/model/Link.js +1 -1
- package/dist/model/LinkApiResult.js +1 -1
- package/dist/model/LinkCreateApiModel.js +1 -1
- package/dist/model/LinkModel.js +1 -1
- package/dist/model/LinkPostModel.js +1 -1
- package/dist/model/LinkPutModel.js +1 -1
- package/dist/model/LinkShort.js +1 -1
- package/dist/model/LinkShortApiResult.js +1 -1
- package/dist/model/LinkShortModel.js +1 -1
- package/dist/model/LinkUpdateApiModel.js +1 -1
- package/dist/model/ManualRerunApiResult.js +1 -1
- package/dist/model/ManualRerunSelectTestResultsApiModel.js +1 -1
- package/dist/model/ManualRerunTestResultApiModel.js +1 -1
- package/dist/model/NamedEntityApiModel.js +1 -1
- package/dist/model/NotificationModel.js +1 -1
- package/dist/model/NotificationQueryFilterModel.js +1 -1
- package/dist/model/Operation.js +1 -1
- package/dist/model/Order.js +1 -1
- package/dist/model/Page.js +1 -1
- package/dist/model/ParameterApiResult.js +1 -1
- package/dist/model/ParameterGroupApiResult.js +1 -1
- package/dist/model/ParameterGroupsFilterApiModel.js +1 -1
- package/dist/model/ParameterIterationModel.js +1 -1
- package/dist/model/ParameterShortApiResult.js +1 -1
- package/dist/model/ParameterShortModel.js +1 -1
- package/dist/model/ParametersFilterApiModel.js +1 -1
- package/dist/model/PeriodViewModel.js +1 -1
- package/dist/model/PeriodViewModelChangedFieldViewModel.js +1 -1
- package/dist/model/PreviewsIssueLinkApiModel.js +1 -1
- package/dist/model/PreviewsIssueLinkApiResult.js +1 -1
- package/dist/model/ProblemDetails.js +1 -1
- package/dist/model/ProjectApiResult.js +1 -1
- package/dist/model/ProjectAttributesFilterModel.js +1 -1
- package/dist/model/ProjectCustomAttributeTemplateGetModel.js +1 -1
- package/dist/model/ProjectCustomAttributesTemplatesFilterModel.js +1 -1
- package/dist/model/ProjectDetailedFailureCategoryApiResult.js +1 -1
- package/dist/model/ProjectExternalServiceApiResult.js +1 -1
- package/dist/model/ProjectExternalServiceSettingsApiResult.js +1 -1
- package/dist/model/ProjectExternalServicesApiResult.js +1 -1
- package/dist/model/ProjectExtractionModel.js +1 -1
- package/dist/model/ProjectFailureCategoryApiResult.js +1 -1
- package/dist/model/ProjectFailureCategoryGroupItemApiResult.js +1 -1
- package/dist/model/ProjectFailureCategoryGroupItemApiResultReply.js +1 -1
- package/dist/model/ProjectModel.js +1 -1
- package/dist/model/ProjectNameApiResult.js +1 -1
- package/dist/model/ProjectSelectModel.js +1 -1
- package/dist/model/ProjectShortApiResult.js +1 -1
- package/dist/model/ProjectShortApiResultReply.js +1 -1
- package/dist/model/ProjectShortModel.js +1 -1
- package/dist/model/ProjectShortestModel.js +1 -1
- package/dist/model/ProjectTestPlansFilterModel.js +1 -1
- package/dist/model/ProjectsFilterModel.js +1 -1
- package/dist/model/ReplaceProjectExternalServiceApiModel.js +1 -1
- package/dist/model/RerunTestResultApiResult.js +1 -1
- package/dist/model/RerunTestResultModel.js +1 -1
- package/dist/model/RerunsModel.js +1 -1
- package/dist/model/SearchCustomAttributeTemplateGetModel.js +1 -1
- package/dist/model/SearchExternalIssuesApiModel.js +1 -1
- package/dist/model/SearchTestRunsApiModel.js +1 -1
- package/dist/model/SearchTestStatusesApiModel.js +1 -1
- package/dist/model/SearchWebhooksQueryModel.js +1 -1
- package/dist/model/SearchWorkItemLinkUrlsApiResult.js +1 -1
- package/dist/model/SearchWorkflowProjectsApiModel.js +1 -1
- package/dist/model/SearchWorkflowsApiModel.js +1 -1
- package/dist/model/SectionModel.js +1 -1
- package/dist/model/SectionMoveModel.js +1 -1
- package/dist/model/SectionPostModel.js +1 -1
- package/dist/model/SectionPutModel.js +1 -1
- package/dist/model/SectionRenameModel.js +1 -1
- package/dist/model/SectionWithStepsModel.js +1 -1
- package/dist/model/SelectTagsApiModel.js +1 -1
- package/dist/model/SharedStepChangeViewModel.js +1 -1
- package/dist/model/SharedStepModel.js +1 -1
- package/dist/model/SharedStepReferenceModel.js +1 -1
- package/dist/model/SharedStepReferenceSectionModel.js +1 -1
- package/dist/model/SharedStepReferenceSectionsQueryFilterModel.js +1 -1
- package/dist/model/SharedStepReferencesQueryFilterModel.js +1 -1
- package/dist/model/SharedStepResultApiModel.js +1 -1
- package/dist/model/ShortConfiguration.js +1 -1
- package/dist/model/StepCommentApiModel.js +1 -1
- package/dist/model/StepModel.js +1 -1
- package/dist/model/StepPostModel.js +1 -1
- package/dist/model/StepPutModel.js +1 -1
- package/dist/model/StepResultApiModel.js +1 -1
- package/dist/model/StringArrayChangedFieldViewModel.js +1 -1
- package/dist/model/StringChangedFieldViewModel.js +1 -1
- package/dist/model/StringChangedFieldWithDiffsViewModel.js +1 -1
- package/dist/model/StringExtractionModel.js +1 -1
- package/dist/model/TagApiModel.js +1 -1
- package/dist/model/TagApiResult.js +1 -1
- package/dist/model/TagModel.js +1 -1
- package/dist/model/TagShortApiResult.js +1 -1
- package/dist/model/TagsExtractionApiModel.js +1 -1
- package/dist/model/TagsFilterApiModel.js +1 -1
- package/dist/model/TestPlanApiResult.js +1 -1
- package/dist/model/TestPlanChangeModel.js +1 -1
- package/dist/model/TestPlanChangedFieldsViewModel.js +1 -1
- package/dist/model/TestPlanExtractionModel.js +1 -1
- package/dist/model/TestPlanGroupByStatus.js +1 -1
- package/dist/model/TestPlanGroupByStatusCode.js +1 -1
- package/dist/model/TestPlanGroupByStatusType.js +1 -1
- package/dist/model/TestPlanGroupByTestSuite.js +1 -1
- package/dist/model/TestPlanGroupByTester.js +1 -1
- package/dist/model/TestPlanGroupByTesterAndStatus.js +1 -1
- package/dist/model/TestPlanGroupByTesterAndStatusCode.js +1 -1
- package/dist/model/TestPlanLink.js +1 -1
- package/dist/model/TestPlanModel.js +1 -1
- package/dist/model/TestPlanSelectModel.js +1 -1
- package/dist/model/TestPlanShortModel.js +1 -1
- package/dist/model/TestPlanSummaryModel.js +1 -1
- package/dist/model/TestPlanTagApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsAnalyticsApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsAnalyticsApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsAutoTestsRerunApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsAutoTestsRunApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsExtractionApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsGroupApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsGroupSearchApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsGroupSearchItemApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsInquiryApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsSearchApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsSearchApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsSearchStatusCountersApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsSectionSearchApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsSetTestersApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsStatusCodeGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsStatusGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsStatusTypeGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsTestSuiteSearchApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsTesterAndStatusGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsTesterAndStatusTypeGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsTesterGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsWorkItemSearchApiResult.js +1 -1
- package/dist/model/TestPlanWithAnalyticModel.js +1 -1
- package/dist/model/TestPlanWithTestSuiteTreeModel.js +1 -1
- package/dist/model/TestPoint.js +1 -1
- package/dist/model/TestPointAnalyticResult.js +1 -1
- package/dist/model/TestPointByTestSuiteModel.js +1 -1
- package/dist/model/TestPointChangeViewModel.js +1 -1
- package/dist/model/TestPointChangeViewModelChangedFieldViewModel.js +1 -1
- package/dist/model/TestPointFilterModel.js +1 -1
- package/dist/model/TestPointFilterRequestModel.js +1 -1
- package/dist/model/TestPointResultApiResult.js +1 -1
- package/dist/model/TestPointSelectModel.js +1 -1
- package/dist/model/TestPointSelector.js +1 -1
- package/dist/model/TestPointShortApiResult.js +1 -1
- package/dist/model/TestPointShortModel.js +1 -1
- package/dist/model/TestPointShortResponseModel.js +1 -1
- package/dist/model/TestPointWithLastResultResponseModel.js +1 -1
- package/dist/model/TestPointsExtractionModel.js +1 -1
- package/dist/model/TestResultApiResult.js +1 -1
- package/dist/model/TestResultChangeViewModel.js +1 -1
- package/dist/model/TestResultChangeViewModelChangedFieldViewModel.js +1 -1
- package/dist/model/TestResultChronologyModel.js +1 -1
- package/dist/model/TestResultFailureClassApiResult.js +1 -1
- package/dist/model/TestResultHistoryReportApiResult.js +1 -1
- package/dist/model/TestResultResponse.js +1 -1
- package/dist/model/TestResultShortApiResult.js +1 -1
- package/dist/model/TestResultShortResponse.js +1 -1
- package/dist/model/TestResultStepCommentUpdateRequest.js +1 -1
- package/dist/model/TestResultUpdateV2Request.js +1 -1
- package/dist/model/TestResultV2GetModel.js +1 -1
- package/dist/model/TestResultV2ShortModel.js +1 -1
- package/dist/model/TestResultsExtractionApiModel.js +1 -1
- package/dist/model/TestResultsFilterApiModel.js +1 -1
- package/dist/model/TestResultsLocalFilterModel.js +1 -1
- package/dist/model/TestResultsSelectApiModel.js +1 -1
- package/dist/model/TestResultsStatisticsApiResult.js +1 -1
- package/dist/model/TestResultsStatisticsFailureCategoriesApiResult.js +1 -1
- package/dist/model/TestResultsStatisticsStatusesApiResult.js +1 -1
- package/dist/model/TestRunAnalyticApiResult.js +1 -1
- package/dist/model/TestRunApiResult.js +1 -1
- package/dist/model/TestRunByAutoTestApiResult.js +1 -1
- package/dist/model/TestRunExtractionApiModel.js +1 -1
- package/dist/model/TestRunFilterApiModel.js +1 -1
- package/dist/model/TestRunGroupByFailureClassApiResult.js +1 -1
- package/dist/model/TestRunGroupByStatusApiResult.js +1 -1
- package/dist/model/TestRunGroupByStatusTypeApiResult.js +1 -1
- package/dist/model/TestRunNameApiResult.js +1 -1
- package/dist/model/TestRunSelectApiModel.js +1 -1
- package/dist/model/TestRunShortApiResult.js +1 -1
- package/dist/model/TestRunStatisticsFilterApiModel.js +1 -1
- package/dist/model/TestRunTestResultsPartialBulkSetModel.js +1 -1
- package/dist/model/TestRunTestResultsSelectModel.js +1 -1
- package/dist/model/TestRunV2ApiResult.js +1 -1
- package/dist/model/TestStatusApiResult.js +1 -1
- package/dist/model/TestStatusApiResultReply.js +1 -1
- package/dist/model/TestStatusModel.js +1 -1
- package/dist/model/TestStatusShortApiResult.js +1 -1
- package/dist/model/TestSuiteApiResult.js +1 -1
- package/dist/model/TestSuiteChangeViewModel.js +1 -1
- package/dist/model/TestSuiteChangeViewModelChangedFieldViewModel.js +1 -1
- package/dist/model/TestSuiteHierarchyApiResult.js +1 -1
- package/dist/model/TestSuiteTestPlanApiModel.js +1 -1
- package/dist/model/TestSuiteV2GetModel.js +1 -1
- package/dist/model/TestSuiteV2PostModel.js +1 -1
- package/dist/model/TestSuiteV2PutModel.js +1 -1
- package/dist/model/TestSuiteWithChildrenModel.js +1 -1
- package/dist/model/TestSuiteWorkItemsSearchModel.js +1 -1
- package/dist/model/UpdateEmptyTestRunApiModel.js +1 -1
- package/dist/model/UpdateFailureCategoryApiModel.js +1 -1
- package/dist/model/UpdateFailureCategoryProjectApiModel.js +1 -1
- package/dist/model/UpdateFailureClassRegexApiModel.js +1 -1
- package/dist/model/UpdateLinkApiModel.js +1 -1
- package/dist/model/UpdateMultipleAttachmentsApiModel.js +1 -1
- package/dist/model/UpdateMultipleLinksApiModel.js +1 -1
- package/dist/model/UpdateMultipleTestRunsApiModel.js +1 -1
- package/dist/model/UpdateParameterApiModel.js +1 -1
- package/dist/model/UpdateProjectApiModel.js +1 -1
- package/dist/model/UpdateStepApiModel.js +1 -1
- package/dist/model/UpdateTagApiModel.js +1 -1
- package/dist/model/UpdateTestPlanApiModel.js +1 -1
- package/dist/model/UpdateTestStatusApiModel.js +1 -1
- package/dist/model/UpdateWorkItemApiModel.js +1 -1
- package/dist/model/UpdateWorkflowApiModel.js +1 -1
- package/dist/model/UserCustomNameValidationResponse.js +1 -1
- package/dist/model/UserNameApiResult.js +1 -1
- package/dist/model/UserRankModel.js +1 -1
- package/dist/model/UserWithRankModel.js +1 -1
- package/dist/model/ValidationProblemDetails.js +1 -1
- package/dist/model/WebHookModel.js +1 -1
- package/dist/model/WebHookPostModel.js +1 -1
- package/dist/model/WebHookTestModel.js +1 -1
- package/dist/model/WebhookBulkUpdateApiModel.js +1 -1
- package/dist/model/WebhookLogApiResult.js +1 -1
- package/dist/model/WebhookResponse.js +1 -1
- package/dist/model/WebhooksDeleteApiModel.js +1 -1
- package/dist/model/WebhooksDeleteFilterApiModel.js +1 -1
- package/dist/model/WebhooksExtractionApiModel.js +1 -1
- package/dist/model/WebhooksFilterApiModel.js +1 -1
- package/dist/model/WebhooksUpdateApiModel.js +1 -1
- package/dist/model/WebhooksUpdateApiResult.js +1 -1
- package/dist/model/WorkItemApiResult.js +1 -1
- package/dist/model/WorkItemChangeModel.js +1 -1
- package/dist/model/WorkItemChangedAttributeViewModel.js +1 -1
- package/dist/model/WorkItemChangedFieldsViewModel.js +1 -1
- package/dist/model/WorkItemCommentModel.js +1 -1
- package/dist/model/WorkItemCommentPostModel.js +1 -1
- package/dist/model/WorkItemCommentPutModel.js +1 -1
- package/dist/model/WorkItemExternalMetadataFieldFilterApiModel.js +1 -1
- package/dist/model/WorkItemExternalMetadataFieldFilterModel.js +1 -1
- package/dist/model/WorkItemExternalMetadataFilterApiModel.js +1 -1
- package/dist/model/WorkItemExternalMetadataFilterModel.js +1 -1
- package/dist/model/WorkItemExtractionApiModel.js +1 -1
- package/dist/model/WorkItemExtractionModel.js +1 -1
- package/dist/model/WorkItemFilterApiModel.js +1 -1
- package/dist/model/WorkItemFilterModel.js +1 -1
- package/dist/model/WorkItemGroupGetModel.js +1 -1
- package/dist/model/WorkItemGroupModel.js +1 -1
- package/dist/model/WorkItemIdApiModel.js +1 -1
- package/dist/model/WorkItemIndexApiResult.js +1 -1
- package/dist/model/WorkItemLikeModel.js +1 -1
- package/dist/model/WorkItemLinkChangeViewModel.js +1 -1
- package/dist/model/WorkItemLinkChangeViewModelArrayChangedFieldViewModel.js +1 -1
- package/dist/model/WorkItemLinkExtractionApiModel.js +1 -1
- package/dist/model/WorkItemLinkFilterApiModel.js +1 -1
- package/dist/model/WorkItemLinkFilterModel.js +1 -1
- package/dist/model/WorkItemLinkUrlApiModel.js +1 -1
- package/dist/model/WorkItemLinkUrlApiResult.js +1 -1
- package/dist/model/WorkItemLinkUrlFilterApiModel.js +1 -1
- package/dist/model/WorkItemLocalFilterModel.js +1 -1
- package/dist/model/WorkItemLocalSelectModel.js +1 -1
- package/dist/model/WorkItemModel.js +1 -1
- package/dist/model/WorkItemMovePostModel.js +1 -1
- package/dist/model/WorkItemPreviewApiModel.js +1 -1
- package/dist/model/WorkItemPreviewStepApiModel.js +1 -1
- package/dist/model/WorkItemSearchQueryModel.js +1 -1
- package/dist/model/WorkItemSelectApiModel.js +1 -1
- package/dist/model/WorkItemSelectModel.js +1 -1
- package/dist/model/WorkItemShortApiResult.js +1 -1
- package/dist/model/WorkItemShortModel.js +1 -1
- package/dist/model/WorkItemStepChangeViewModel.js +1 -1
- package/dist/model/WorkItemStepChangeViewModelArrayChangedFieldWithDiffsViewModel.js +1 -1
- package/dist/model/WorkItemVersionModel.js +1 -1
- package/dist/model/WorkflowApiResult.js +1 -1
- package/dist/model/WorkflowExistsByNameApiResult.js +1 -1
- package/dist/model/WorkflowProjectApiResult.js +1 -1
- package/dist/model/WorkflowProjectApiResultApiCollectionPreview.js +1 -1
- package/dist/model/WorkflowProjectApiResultReply.js +1 -1
- package/dist/model/WorkflowShortApiResult.js +1 -1
- package/dist/model/WorkflowShortApiResultReply.js +1 -1
- package/dist/model/WorkflowStatusApiModel.js +1 -1
- package/dist/model/WorkflowStatusApiResult.js +1 -1
- package/package.json +1 -1
package/dist/api/AutoTestsApi.js
CHANGED
|
@@ -44,7 +44,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
44
44
|
/**
|
|
45
45
|
* AutoTests service.
|
|
46
46
|
* @module api/AutoTestsApi
|
|
47
|
-
* @version 7.0.0-
|
|
47
|
+
* @version 7.0.0-rc3
|
|
48
48
|
*/
|
|
49
49
|
var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
50
50
|
/**
|
|
@@ -59,24 +59,15 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
59
59
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
/**
|
|
63
|
-
* Callback function to receive the result of the apiV2AutoTestsDelete operation.
|
|
64
|
-
* @callback module:api/AutoTestsApi~apiV2AutoTestsDeleteCallback
|
|
65
|
-
* @param {String} error Error message, if any.
|
|
66
|
-
* @param {module:model/AutoTestBulkDeleteApiResult} data The data returned by the service call.
|
|
67
|
-
* @param {String} response The complete HTTP response.
|
|
68
|
-
*/
|
|
69
|
-
|
|
70
62
|
/**
|
|
71
63
|
* Delete autotests
|
|
72
64
|
* @param {Object} opts Optional parameters
|
|
73
65
|
* @param {module:model/AutoTestBulkDeleteApiModel} [autoTestBulkDeleteApiModel]
|
|
74
|
-
* @
|
|
75
|
-
* data is of type: {@link module:model/AutoTestBulkDeleteApiResult}
|
|
66
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AutoTestBulkDeleteApiResult} and HTTP response
|
|
76
67
|
*/
|
|
77
68
|
return _createClass(AutoTestsApi, [{
|
|
78
|
-
key: "
|
|
79
|
-
value: function
|
|
69
|
+
key: "apiV2AutoTestsDeleteWithHttpInfo",
|
|
70
|
+
value: function apiV2AutoTestsDeleteWithHttpInfo(opts) {
|
|
80
71
|
opts = opts || {};
|
|
81
72
|
var postBody = opts['autoTestBulkDeleteApiModel'];
|
|
82
73
|
var pathParams = {};
|
|
@@ -87,16 +78,22 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
87
78
|
var contentTypes = ['application/json'];
|
|
88
79
|
var accepts = ['application/json'];
|
|
89
80
|
var returnType = _AutoTestBulkDeleteApiResult["default"];
|
|
90
|
-
return this.apiClient.callApi('/api/v2/autoTests', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
81
|
+
return this.apiClient.callApi('/api/v2/autoTests', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
91
82
|
}
|
|
92
83
|
|
|
93
84
|
/**
|
|
94
|
-
*
|
|
95
|
-
* @
|
|
96
|
-
* @param {
|
|
97
|
-
* @
|
|
98
|
-
* @param {String} response The complete HTTP response.
|
|
85
|
+
* Delete autotests
|
|
86
|
+
* @param {Object} opts Optional parameters
|
|
87
|
+
* @param {module:model/AutoTestBulkDeleteApiModel} opts.autoTestBulkDeleteApiModel
|
|
88
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AutoTestBulkDeleteApiResult}
|
|
99
89
|
*/
|
|
90
|
+
}, {
|
|
91
|
+
key: "apiV2AutoTestsDelete",
|
|
92
|
+
value: function apiV2AutoTestsDelete(opts) {
|
|
93
|
+
return this.apiV2AutoTestsDeleteWithHttpInfo(opts).then(function (response_and_data) {
|
|
94
|
+
return response_and_data.data;
|
|
95
|
+
});
|
|
96
|
+
}
|
|
100
97
|
|
|
101
98
|
/**
|
|
102
99
|
* Set \"Flaky\" status for multiple autotests
|
|
@@ -108,11 +105,11 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
108
105
|
* @param {String} [searchField] Property name for searching
|
|
109
106
|
* @param {String} [searchValue] Value for searching
|
|
110
107
|
* @param {module:model/AutoTestFlakyBulkApiModel} [autoTestFlakyBulkApiModel]
|
|
111
|
-
* @
|
|
108
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
112
109
|
*/
|
|
113
110
|
}, {
|
|
114
|
-
key: "
|
|
115
|
-
value: function
|
|
111
|
+
key: "apiV2AutoTestsFlakyBulkPostWithHttpInfo",
|
|
112
|
+
value: function apiV2AutoTestsFlakyBulkPostWithHttpInfo(opts) {
|
|
116
113
|
opts = opts || {};
|
|
117
114
|
var postBody = opts['autoTestFlakyBulkApiModel'];
|
|
118
115
|
var pathParams = {};
|
|
@@ -129,16 +126,28 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
129
126
|
var contentTypes = ['application/json'];
|
|
130
127
|
var accepts = ['application/json'];
|
|
131
128
|
var returnType = null;
|
|
132
|
-
return this.apiClient.callApi('/api/v2/autoTests/flaky/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
129
|
+
return this.apiClient.callApi('/api/v2/autoTests/flaky/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
133
130
|
}
|
|
134
131
|
|
|
135
132
|
/**
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
* @param {
|
|
139
|
-
* @param
|
|
140
|
-
* @param {
|
|
133
|
+
* Set \"Flaky\" status for multiple autotests
|
|
134
|
+
* User permissions for project: - Read only - Execute - Write - Full control
|
|
135
|
+
* @param {Object} opts Optional parameters
|
|
136
|
+
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
137
|
+
* @param {Number} opts.take Amount of items to be taken (limit)
|
|
138
|
+
* @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
139
|
+
* @param {String} opts.searchField Property name for searching
|
|
140
|
+
* @param {String} opts.searchValue Value for searching
|
|
141
|
+
* @param {module:model/AutoTestFlakyBulkApiModel} opts.autoTestFlakyBulkApiModel
|
|
142
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
141
143
|
*/
|
|
144
|
+
}, {
|
|
145
|
+
key: "apiV2AutoTestsFlakyBulkPost",
|
|
146
|
+
value: function apiV2AutoTestsFlakyBulkPost(opts) {
|
|
147
|
+
return this.apiV2AutoTestsFlakyBulkPostWithHttpInfo(opts).then(function (response_and_data) {
|
|
148
|
+
return response_and_data.data;
|
|
149
|
+
});
|
|
150
|
+
}
|
|
142
151
|
|
|
143
152
|
/**
|
|
144
153
|
* Patch auto test
|
|
@@ -146,11 +155,11 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
146
155
|
* @param {String} id Global Id of auto test
|
|
147
156
|
* @param {Object} opts Optional parameters
|
|
148
157
|
* @param {Array.<module:model/Operation>} [operation]
|
|
149
|
-
* @
|
|
158
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
150
159
|
*/
|
|
151
160
|
}, {
|
|
152
|
-
key: "
|
|
153
|
-
value: function
|
|
161
|
+
key: "apiV2AutoTestsIdPatchWithHttpInfo",
|
|
162
|
+
value: function apiV2AutoTestsIdPatchWithHttpInfo(id, opts) {
|
|
154
163
|
opts = opts || {};
|
|
155
164
|
var postBody = opts['operation'];
|
|
156
165
|
// verify the required parameter 'id' is set
|
|
@@ -167,16 +176,24 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
167
176
|
var contentTypes = ['application/json'];
|
|
168
177
|
var accepts = ['application/json'];
|
|
169
178
|
var returnType = null;
|
|
170
|
-
return this.apiClient.callApi('/api/v2/autoTests/{id}', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
179
|
+
return this.apiClient.callApi('/api/v2/autoTests/{id}', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
171
180
|
}
|
|
172
181
|
|
|
173
182
|
/**
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
* @param {String}
|
|
177
|
-
* @param {
|
|
178
|
-
* @param {
|
|
183
|
+
* Patch auto test
|
|
184
|
+
* See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details
|
|
185
|
+
* @param {String} id Global Id of auto test
|
|
186
|
+
* @param {Object} opts Optional parameters
|
|
187
|
+
* @param {Array.<module:model/Operation>} opts.operation
|
|
188
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
179
189
|
*/
|
|
190
|
+
}, {
|
|
191
|
+
key: "apiV2AutoTestsIdPatch",
|
|
192
|
+
value: function apiV2AutoTestsIdPatch(id, opts) {
|
|
193
|
+
return this.apiV2AutoTestsIdPatchWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
194
|
+
return response_and_data.data;
|
|
195
|
+
});
|
|
196
|
+
}
|
|
180
197
|
|
|
181
198
|
/**
|
|
182
199
|
* Get test results history for autotest
|
|
@@ -189,12 +206,11 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
189
206
|
* @param {String} [searchField] Property name for searching
|
|
190
207
|
* @param {String} [searchValue] Value for searching
|
|
191
208
|
* @param {module:model/AutoTestResultHistorySelectApiModel} [autoTestResultHistorySelectApiModel]
|
|
192
|
-
* @
|
|
193
|
-
* data is of type: {@link Array.<module:model/AutoTestResultHistoryApiResult>}
|
|
209
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AutoTestResultHistoryApiResult>} and HTTP response
|
|
194
210
|
*/
|
|
195
211
|
}, {
|
|
196
|
-
key: "
|
|
197
|
-
value: function
|
|
212
|
+
key: "apiV2AutoTestsIdTestResultsSearchPostWithHttpInfo",
|
|
213
|
+
value: function apiV2AutoTestsIdTestResultsSearchPostWithHttpInfo(id, opts) {
|
|
198
214
|
opts = opts || {};
|
|
199
215
|
var postBody = opts['autoTestResultHistorySelectApiModel'];
|
|
200
216
|
// verify the required parameter 'id' is set
|
|
@@ -217,27 +233,39 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
217
233
|
var contentTypes = ['application/json'];
|
|
218
234
|
var accepts = ['application/json'];
|
|
219
235
|
var returnType = [_AutoTestResultHistoryApiResult["default"]];
|
|
220
|
-
return this.apiClient.callApi('/api/v2/autoTests/{id}/testResults/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
236
|
+
return this.apiClient.callApi('/api/v2/autoTests/{id}/testResults/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
221
237
|
}
|
|
222
238
|
|
|
223
239
|
/**
|
|
224
|
-
*
|
|
225
|
-
*
|
|
226
|
-
* @param {String}
|
|
227
|
-
* @param {
|
|
228
|
-
* @param {
|
|
240
|
+
* Get test results history for autotest
|
|
241
|
+
* Use case User sets autotest internal (guid format) or global (integer format) identifier User sets getTestResultHistoryReportQuery (listed in the example) User runs method execution System search for test results using filters set by user in getTestResultHistoryReportQuery and id System returns the enumeration of test results
|
|
242
|
+
* @param {String} id Autotest identifier
|
|
243
|
+
* @param {Object} opts Optional parameters
|
|
244
|
+
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
245
|
+
* @param {Number} opts.take Amount of items to be taken (limit)
|
|
246
|
+
* @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
247
|
+
* @param {String} opts.searchField Property name for searching
|
|
248
|
+
* @param {String} opts.searchValue Value for searching
|
|
249
|
+
* @param {module:model/AutoTestResultHistorySelectApiModel} opts.autoTestResultHistorySelectApiModel
|
|
250
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AutoTestResultHistoryApiResult>}
|
|
229
251
|
*/
|
|
252
|
+
}, {
|
|
253
|
+
key: "apiV2AutoTestsIdTestResultsSearchPost",
|
|
254
|
+
value: function apiV2AutoTestsIdTestResultsSearchPost(id, opts) {
|
|
255
|
+
return this.apiV2AutoTestsIdTestResultsSearchPostWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
256
|
+
return response_and_data.data;
|
|
257
|
+
});
|
|
258
|
+
}
|
|
230
259
|
|
|
231
260
|
/**
|
|
232
261
|
* Get identifiers of changed linked work items
|
|
233
262
|
* User permissions for project: - Read only - Execute - Write - Full control
|
|
234
263
|
* @param {String} id
|
|
235
|
-
* @
|
|
236
|
-
* data is of type: {@link Array.<String>}
|
|
264
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<String>} and HTTP response
|
|
237
265
|
*/
|
|
238
266
|
}, {
|
|
239
|
-
key: "
|
|
240
|
-
value: function
|
|
267
|
+
key: "apiV2AutoTestsIdWorkItemsChangedIdGetWithHttpInfo",
|
|
268
|
+
value: function apiV2AutoTestsIdWorkItemsChangedIdGetWithHttpInfo(id) {
|
|
241
269
|
var postBody = null;
|
|
242
270
|
// verify the required parameter 'id' is set
|
|
243
271
|
if (id === undefined || id === null) {
|
|
@@ -253,27 +281,33 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
253
281
|
var contentTypes = [];
|
|
254
282
|
var accepts = ['application/json'];
|
|
255
283
|
var returnType = ['String'];
|
|
256
|
-
return this.apiClient.callApi('/api/v2/autoTests/{id}/workItems/changed/id', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
284
|
+
return this.apiClient.callApi('/api/v2/autoTests/{id}/workItems/changed/id', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
257
285
|
}
|
|
258
286
|
|
|
259
287
|
/**
|
|
260
|
-
*
|
|
261
|
-
*
|
|
262
|
-
* @param {String}
|
|
263
|
-
* @
|
|
264
|
-
* @param {String} response The complete HTTP response.
|
|
288
|
+
* Get identifiers of changed linked work items
|
|
289
|
+
* User permissions for project: - Read only - Execute - Write - Full control
|
|
290
|
+
* @param {String} id
|
|
291
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<String>}
|
|
265
292
|
*/
|
|
293
|
+
}, {
|
|
294
|
+
key: "apiV2AutoTestsIdWorkItemsChangedIdGet",
|
|
295
|
+
value: function apiV2AutoTestsIdWorkItemsChangedIdGet(id) {
|
|
296
|
+
return this.apiV2AutoTestsIdWorkItemsChangedIdGetWithHttpInfo(id).then(function (response_and_data) {
|
|
297
|
+
return response_and_data.data;
|
|
298
|
+
});
|
|
299
|
+
}
|
|
266
300
|
|
|
267
301
|
/**
|
|
268
302
|
* Approve changes to work items linked to autotest
|
|
269
303
|
* User permissions for project: - Read only - Execute - Write - Full control
|
|
270
304
|
* @param {String} id
|
|
271
305
|
* @param {String} workItemId
|
|
272
|
-
* @
|
|
306
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
273
307
|
*/
|
|
274
308
|
}, {
|
|
275
|
-
key: "
|
|
276
|
-
value: function
|
|
309
|
+
key: "apiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePostWithHttpInfo",
|
|
310
|
+
value: function apiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePostWithHttpInfo(id, workItemId) {
|
|
277
311
|
var postBody = null;
|
|
278
312
|
// verify the required parameter 'id' is set
|
|
279
313
|
if (id === undefined || id === null) {
|
|
@@ -294,16 +328,23 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
294
328
|
var contentTypes = [];
|
|
295
329
|
var accepts = ['application/json'];
|
|
296
330
|
var returnType = null;
|
|
297
|
-
return this.apiClient.callApi('/api/v2/autoTests/{id}/workItems/changed/{workItemId}/approve', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
331
|
+
return this.apiClient.callApi('/api/v2/autoTests/{id}/workItems/changed/{workItemId}/approve', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
298
332
|
}
|
|
299
333
|
|
|
300
334
|
/**
|
|
301
|
-
*
|
|
302
|
-
*
|
|
303
|
-
* @param {String}
|
|
304
|
-
* @param {
|
|
305
|
-
* @
|
|
335
|
+
* Approve changes to work items linked to autotest
|
|
336
|
+
* User permissions for project: - Read only - Execute - Write - Full control
|
|
337
|
+
* @param {String} id
|
|
338
|
+
* @param {String} workItemId
|
|
339
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
306
340
|
*/
|
|
341
|
+
}, {
|
|
342
|
+
key: "apiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePost",
|
|
343
|
+
value: function apiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePost(id, workItemId) {
|
|
344
|
+
return this.apiV2AutoTestsIdWorkItemsChangedWorkItemIdApprovePostWithHttpInfo(id, workItemId).then(function (response_and_data) {
|
|
345
|
+
return response_and_data.data;
|
|
346
|
+
});
|
|
347
|
+
}
|
|
307
348
|
|
|
308
349
|
/**
|
|
309
350
|
* Search for autotests
|
|
@@ -314,12 +355,11 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
314
355
|
* @param {String} [searchField] Property name for searching
|
|
315
356
|
* @param {String} [searchValue] Value for searching
|
|
316
357
|
* @param {module:model/AutoTestSearchApiModel} [autoTestSearchApiModel]
|
|
317
|
-
* @
|
|
318
|
-
* data is of type: {@link Array.<module:model/AutoTestApiResult>}
|
|
358
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AutoTestApiResult>} and HTTP response
|
|
319
359
|
*/
|
|
320
360
|
}, {
|
|
321
|
-
key: "
|
|
322
|
-
value: function
|
|
361
|
+
key: "apiV2AutoTestsSearchPostWithHttpInfo",
|
|
362
|
+
value: function apiV2AutoTestsSearchPostWithHttpInfo(opts) {
|
|
323
363
|
opts = opts || {};
|
|
324
364
|
var postBody = opts['autoTestSearchApiModel'];
|
|
325
365
|
var pathParams = {};
|
|
@@ -336,28 +376,38 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
336
376
|
var contentTypes = ['application/json'];
|
|
337
377
|
var accepts = ['application/json'];
|
|
338
378
|
var returnType = [_AutoTestApiResult["default"]];
|
|
339
|
-
return this.apiClient.callApi('/api/v2/autoTests/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
379
|
+
return this.apiClient.callApi('/api/v2/autoTests/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
340
380
|
}
|
|
341
381
|
|
|
342
382
|
/**
|
|
343
|
-
*
|
|
344
|
-
* @
|
|
345
|
-
* @param {
|
|
346
|
-
* @param {
|
|
347
|
-
* @param {String}
|
|
383
|
+
* Search for autotests
|
|
384
|
+
* @param {Object} opts Optional parameters
|
|
385
|
+
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
386
|
+
* @param {Number} opts.take Amount of items to be taken (limit)
|
|
387
|
+
* @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
388
|
+
* @param {String} opts.searchField Property name for searching
|
|
389
|
+
* @param {String} opts.searchValue Value for searching
|
|
390
|
+
* @param {module:model/AutoTestSearchApiModel} opts.autoTestSearchApiModel
|
|
391
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AutoTestApiResult>}
|
|
348
392
|
*/
|
|
393
|
+
}, {
|
|
394
|
+
key: "apiV2AutoTestsSearchPost",
|
|
395
|
+
value: function apiV2AutoTestsSearchPost(opts) {
|
|
396
|
+
return this.apiV2AutoTestsSearchPostWithHttpInfo(opts).then(function (response_and_data) {
|
|
397
|
+
return response_and_data.data;
|
|
398
|
+
});
|
|
399
|
+
}
|
|
349
400
|
|
|
350
401
|
/**
|
|
351
402
|
* Create autotest
|
|
352
403
|
* This method creates a new autotest. To add an autotest to the test plan, link it to a work item using the `POST /api/v2/autoTests/{autoTestId}/workItems` method. Use the `POST /api/v2/testRuns/byAutoTests` method to run autotest outside the test plan.
|
|
353
404
|
* @param {Object} opts Optional parameters
|
|
354
405
|
* @param {module:model/AutoTestCreateApiModel} [autoTestCreateApiModel]
|
|
355
|
-
* @
|
|
356
|
-
* data is of type: {@link module:model/AutoTestApiResult}
|
|
406
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AutoTestApiResult} and HTTP response
|
|
357
407
|
*/
|
|
358
408
|
}, {
|
|
359
|
-
key: "
|
|
360
|
-
value: function
|
|
409
|
+
key: "createAutoTestWithHttpInfo",
|
|
410
|
+
value: function createAutoTestWithHttpInfo(opts) {
|
|
361
411
|
opts = opts || {};
|
|
362
412
|
var postBody = opts['autoTestCreateApiModel'];
|
|
363
413
|
var pathParams = {};
|
|
@@ -368,28 +418,34 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
368
418
|
var contentTypes = ['application/json'];
|
|
369
419
|
var accepts = ['application/json'];
|
|
370
420
|
var returnType = _AutoTestApiResult["default"];
|
|
371
|
-
return this.apiClient.callApi('/api/v2/autoTests', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
421
|
+
return this.apiClient.callApi('/api/v2/autoTests', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
372
422
|
}
|
|
373
423
|
|
|
374
424
|
/**
|
|
375
|
-
*
|
|
376
|
-
*
|
|
377
|
-
* @param {
|
|
378
|
-
* @param {
|
|
379
|
-
* @
|
|
425
|
+
* Create autotest
|
|
426
|
+
* This method creates a new autotest. To add an autotest to the test plan, link it to a work item using the `POST /api/v2/autoTests/{autoTestId}/workItems` method. Use the `POST /api/v2/testRuns/byAutoTests` method to run autotest outside the test plan.
|
|
427
|
+
* @param {Object} opts Optional parameters
|
|
428
|
+
* @param {module:model/AutoTestCreateApiModel} opts.autoTestCreateApiModel
|
|
429
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AutoTestApiResult}
|
|
380
430
|
*/
|
|
431
|
+
}, {
|
|
432
|
+
key: "createAutoTest",
|
|
433
|
+
value: function createAutoTest(opts) {
|
|
434
|
+
return this.createAutoTestWithHttpInfo(opts).then(function (response_and_data) {
|
|
435
|
+
return response_and_data.data;
|
|
436
|
+
});
|
|
437
|
+
}
|
|
381
438
|
|
|
382
439
|
/**
|
|
383
440
|
* Create multiple autotests
|
|
384
441
|
* Use case User sets autotest parameters (listed in the example) and runs method execution System creates autotest [Optional] If steps enumeration is set, system creates step items and relates them to autotest [Optional] If setup enumeration is set, system creates setup items and relates them to autotest [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest [Optional] If label enumeration is set, system creates labels and relates them to autotest [Optional] If link enumeration is set, system creates links and relates them to autotest System returns autotest model (example listed in response parameters)
|
|
385
442
|
* @param {Object} opts Optional parameters
|
|
386
443
|
* @param {Array.<module:model/AutoTestCreateApiModel>} [autoTestCreateApiModel]
|
|
387
|
-
* @
|
|
388
|
-
* data is of type: {@link Array.<module:model/AutoTestApiResult>}
|
|
444
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AutoTestApiResult>} and HTTP response
|
|
389
445
|
*/
|
|
390
446
|
}, {
|
|
391
|
-
key: "
|
|
392
|
-
value: function
|
|
447
|
+
key: "createMultipleWithHttpInfo",
|
|
448
|
+
value: function createMultipleWithHttpInfo(opts) {
|
|
393
449
|
opts = opts || {};
|
|
394
450
|
var postBody = opts['autoTestCreateApiModel'];
|
|
395
451
|
var pathParams = {};
|
|
@@ -400,26 +456,33 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
400
456
|
var contentTypes = ['application/json'];
|
|
401
457
|
var accepts = ['application/json'];
|
|
402
458
|
var returnType = [_AutoTestApiResult["default"]];
|
|
403
|
-
return this.apiClient.callApi('/api/v2/autoTests/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
459
|
+
return this.apiClient.callApi('/api/v2/autoTests/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
404
460
|
}
|
|
405
461
|
|
|
406
462
|
/**
|
|
407
|
-
*
|
|
408
|
-
*
|
|
409
|
-
* @param {
|
|
410
|
-
* @param
|
|
411
|
-
* @
|
|
463
|
+
* Create multiple autotests
|
|
464
|
+
* Use case User sets autotest parameters (listed in the example) and runs method execution System creates autotest [Optional] If steps enumeration is set, system creates step items and relates them to autotest [Optional] If setup enumeration is set, system creates setup items and relates them to autotest [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest [Optional] If label enumeration is set, system creates labels and relates them to autotest [Optional] If link enumeration is set, system creates links and relates them to autotest System returns autotest model (example listed in response parameters)
|
|
465
|
+
* @param {Object} opts Optional parameters
|
|
466
|
+
* @param {Array.<module:model/AutoTestCreateApiModel>} opts.autoTestCreateApiModel
|
|
467
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AutoTestApiResult>}
|
|
412
468
|
*/
|
|
469
|
+
}, {
|
|
470
|
+
key: "createMultiple",
|
|
471
|
+
value: function createMultiple(opts) {
|
|
472
|
+
return this.createMultipleWithHttpInfo(opts).then(function (response_and_data) {
|
|
473
|
+
return response_and_data.data;
|
|
474
|
+
});
|
|
475
|
+
}
|
|
413
476
|
|
|
414
477
|
/**
|
|
415
478
|
* Delete autotest
|
|
416
479
|
* Use case User sets autotest internal (guid format) or global (integer format) identifier and runs method execution System finds the autotest by the identifier System deletes autotest and returns no content response
|
|
417
480
|
* @param {String} id Autotest internal (UUID) or global (integer) identifier
|
|
418
|
-
* @
|
|
481
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
419
482
|
*/
|
|
420
483
|
}, {
|
|
421
|
-
key: "
|
|
422
|
-
value: function
|
|
484
|
+
key: "deleteAutoTestWithHttpInfo",
|
|
485
|
+
value: function deleteAutoTestWithHttpInfo(id) {
|
|
423
486
|
var postBody = null;
|
|
424
487
|
// verify the required parameter 'id' is set
|
|
425
488
|
if (id === undefined || id === null) {
|
|
@@ -435,16 +498,22 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
435
498
|
var contentTypes = [];
|
|
436
499
|
var accepts = ['application/json'];
|
|
437
500
|
var returnType = null;
|
|
438
|
-
return this.apiClient.callApi('/api/v2/autoTests/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
501
|
+
return this.apiClient.callApi('/api/v2/autoTests/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
439
502
|
}
|
|
440
503
|
|
|
441
504
|
/**
|
|
442
|
-
*
|
|
443
|
-
*
|
|
444
|
-
* @param {String}
|
|
445
|
-
* @
|
|
446
|
-
* @param {String} response The complete HTTP response.
|
|
505
|
+
* Delete autotest
|
|
506
|
+
* Use case User sets autotest internal (guid format) or global (integer format) identifier and runs method execution System finds the autotest by the identifier System deletes autotest and returns no content response
|
|
507
|
+
* @param {String} id Autotest internal (UUID) or global (integer) identifier
|
|
508
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
447
509
|
*/
|
|
510
|
+
}, {
|
|
511
|
+
key: "deleteAutoTest",
|
|
512
|
+
value: function deleteAutoTest(id) {
|
|
513
|
+
return this.deleteAutoTestWithHttpInfo(id).then(function (response_and_data) {
|
|
514
|
+
return response_and_data.data;
|
|
515
|
+
});
|
|
516
|
+
}
|
|
448
517
|
|
|
449
518
|
/**
|
|
450
519
|
* Unlink autotest from work item
|
|
@@ -452,11 +521,11 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
452
521
|
* @param {String} id Autotest internal (UUID) or global (integer) identifier
|
|
453
522
|
* @param {Object} opts Optional parameters
|
|
454
523
|
* @param {String} [workItemId] Work item internal (UUID) or global (integer) identifier
|
|
455
|
-
* @
|
|
524
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
456
525
|
*/
|
|
457
526
|
}, {
|
|
458
|
-
key: "
|
|
459
|
-
value: function
|
|
527
|
+
key: "deleteAutoTestLinkFromWorkItemWithHttpInfo",
|
|
528
|
+
value: function deleteAutoTestLinkFromWorkItemWithHttpInfo(id, opts) {
|
|
460
529
|
opts = opts || {};
|
|
461
530
|
var postBody = null;
|
|
462
531
|
// verify the required parameter 'id' is set
|
|
@@ -475,16 +544,24 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
475
544
|
var contentTypes = [];
|
|
476
545
|
var accepts = ['application/json'];
|
|
477
546
|
var returnType = null;
|
|
478
|
-
return this.apiClient.callApi('/api/v2/autoTests/{id}/workItems', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
547
|
+
return this.apiClient.callApi('/api/v2/autoTests/{id}/workItems', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
479
548
|
}
|
|
480
549
|
|
|
481
550
|
/**
|
|
482
|
-
*
|
|
483
|
-
*
|
|
484
|
-
* @param {String}
|
|
485
|
-
* @param {
|
|
486
|
-
* @param {String}
|
|
551
|
+
* Unlink autotest from work item
|
|
552
|
+
* Use case User sets autotest internal (guid format) or global (integer format) identifier [Optional] User sets workitem internal (guid format) or global (integer format) identifier User runs method execution System finds the autotest by the autotest identifier [Optional] if workitem id is set by User, System finds the workitem by the workitem identifier and unlinks it from autotest. [Optional] Otherwise, if workitem id is not specified, System unlinks all workitems linked to autotest. System returns no content response
|
|
553
|
+
* @param {String} id Autotest internal (UUID) or global (integer) identifier
|
|
554
|
+
* @param {Object} opts Optional parameters
|
|
555
|
+
* @param {String} opts.workItemId Work item internal (UUID) or global (integer) identifier
|
|
556
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
487
557
|
*/
|
|
558
|
+
}, {
|
|
559
|
+
key: "deleteAutoTestLinkFromWorkItem",
|
|
560
|
+
value: function deleteAutoTestLinkFromWorkItem(id, opts) {
|
|
561
|
+
return this.deleteAutoTestLinkFromWorkItemWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
562
|
+
return response_and_data.data;
|
|
563
|
+
});
|
|
564
|
+
}
|
|
488
565
|
|
|
489
566
|
/**
|
|
490
567
|
* @param {Object} opts Optional parameters
|
|
@@ -514,12 +591,11 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
514
591
|
* @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
515
592
|
* @param {String} [searchField] Property name for searching
|
|
516
593
|
* @param {String} [searchValue] Value for searching
|
|
517
|
-
* @
|
|
518
|
-
* data is of type: {@link Array.<module:model/AutoTestModel>}
|
|
594
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AutoTestModel>} and HTTP response
|
|
519
595
|
*/
|
|
520
596
|
}, {
|
|
521
|
-
key: "
|
|
522
|
-
value: function
|
|
597
|
+
key: "getAllAutoTestsWithHttpInfo",
|
|
598
|
+
value: function getAllAutoTestsWithHttpInfo(opts) {
|
|
523
599
|
opts = opts || {};
|
|
524
600
|
var postBody = null;
|
|
525
601
|
var pathParams = {};
|
|
@@ -557,27 +633,56 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
557
633
|
var contentTypes = [];
|
|
558
634
|
var accepts = ['application/json'];
|
|
559
635
|
var returnType = [_AutoTestModel["default"]];
|
|
560
|
-
return this.apiClient.callApi('/api/v2/autoTests', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
636
|
+
return this.apiClient.callApi('/api/v2/autoTests', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
561
637
|
}
|
|
562
638
|
|
|
563
639
|
/**
|
|
564
|
-
*
|
|
565
|
-
* @
|
|
566
|
-
* @param {String}
|
|
567
|
-
* @param {
|
|
568
|
-
* @param {String}
|
|
640
|
+
* @param {Object} opts Optional parameters
|
|
641
|
+
* @param {String} opts.projectId Project internal ID
|
|
642
|
+
* @param {String} opts.externalId Autotest external ID
|
|
643
|
+
* @param {Number} opts.globalId Autotest global ID
|
|
644
|
+
* @param {String} opts.namespace Namespace in which autotest is located
|
|
645
|
+
* @param {Boolean} opts.isNamespaceNull OBSOLETE: Use `includeEmptyNamespaces` instead
|
|
646
|
+
* @param {Boolean} opts.includeEmptyNamespaces If result must contain autotests without namespace
|
|
647
|
+
* @param {String} opts.className Name of class in which autotest is located
|
|
648
|
+
* @param {Boolean} opts.isClassnameNull OBSOLETE: Use `includeEmptyClassNames` instead
|
|
649
|
+
* @param {Boolean} opts.includeEmptyClassNames If result must contain autotests without class
|
|
650
|
+
* @param {Boolean} opts.isDeleted OBSOLETE: Use `deleted` instead
|
|
651
|
+
* @param {Boolean} opts.deleted Is autotest deleted
|
|
652
|
+
* @param {Array.<String>} opts.labels Include only autotests with provided labels
|
|
653
|
+
* @param {Number} opts.stabilityMinimal OBSOLETE: Use `minStability` instead
|
|
654
|
+
* @param {Number} opts.minStability Minimum stability value of autotest
|
|
655
|
+
* @param {Number} opts.stabilityMaximal OBSOLETE: Use `maxStability` instead
|
|
656
|
+
* @param {Number} opts.maxStability Maximum stability value of autotest
|
|
657
|
+
* @param {Boolean} opts.isFlaky OBSOLETE: Use `flaky` instead
|
|
658
|
+
* @param {Boolean} opts.flaky Is autotest marked as \"Flaky\"
|
|
659
|
+
* @param {Boolean} opts.includeSteps If result must also include autotest steps
|
|
660
|
+
* @param {Boolean} opts.includeLabels If result must also include autotest labels
|
|
661
|
+
* @param {String} opts.externalKey External key of autotest
|
|
662
|
+
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
663
|
+
* @param {Number} opts.take Amount of items to be taken (limit)
|
|
664
|
+
* @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
665
|
+
* @param {String} opts.searchField Property name for searching
|
|
666
|
+
* @param {String} opts.searchValue Value for searching
|
|
667
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AutoTestModel>}
|
|
569
668
|
*/
|
|
669
|
+
}, {
|
|
670
|
+
key: "getAllAutoTests",
|
|
671
|
+
value: function getAllAutoTests(opts) {
|
|
672
|
+
return this.getAllAutoTestsWithHttpInfo(opts).then(function (response_and_data) {
|
|
673
|
+
return response_and_data.data;
|
|
674
|
+
});
|
|
675
|
+
}
|
|
570
676
|
|
|
571
677
|
/**
|
|
572
678
|
* Get average autotest duration
|
|
573
679
|
* Use case User sets autotest internal (guid format) or global (integer format) identifier User runs method execution System calculates pass average duration and fail average duration of autotest from all related test results System returns pass average duration and fail average duration for autotest
|
|
574
680
|
* @param {String} id Autotest internal (UUID) or global (integer) identifier
|
|
575
|
-
* @
|
|
576
|
-
* data is of type: {@link module:model/AutoTestAverageDurationApiResult}
|
|
681
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AutoTestAverageDurationApiResult} and HTTP response
|
|
577
682
|
*/
|
|
578
683
|
}, {
|
|
579
|
-
key: "
|
|
580
|
-
value: function
|
|
684
|
+
key: "getAutoTestAverageDurationWithHttpInfo",
|
|
685
|
+
value: function getAutoTestAverageDurationWithHttpInfo(id) {
|
|
581
686
|
var postBody = null;
|
|
582
687
|
// verify the required parameter 'id' is set
|
|
583
688
|
if (id === undefined || id === null) {
|
|
@@ -593,27 +698,32 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
593
698
|
var contentTypes = [];
|
|
594
699
|
var accepts = ['application/json'];
|
|
595
700
|
var returnType = _AutoTestAverageDurationApiResult["default"];
|
|
596
|
-
return this.apiClient.callApi('/api/v2/autoTests/{id}/averageDuration', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
701
|
+
return this.apiClient.callApi('/api/v2/autoTests/{id}/averageDuration', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
597
702
|
}
|
|
598
703
|
|
|
599
704
|
/**
|
|
600
|
-
*
|
|
601
|
-
*
|
|
602
|
-
* @param {String}
|
|
603
|
-
* @
|
|
604
|
-
* @param {String} response The complete HTTP response.
|
|
705
|
+
* Get average autotest duration
|
|
706
|
+
* Use case User sets autotest internal (guid format) or global (integer format) identifier User runs method execution System calculates pass average duration and fail average duration of autotest from all related test results System returns pass average duration and fail average duration for autotest
|
|
707
|
+
* @param {String} id Autotest internal (UUID) or global (integer) identifier
|
|
708
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AutoTestAverageDurationApiResult}
|
|
605
709
|
*/
|
|
710
|
+
}, {
|
|
711
|
+
key: "getAutoTestAverageDuration",
|
|
712
|
+
value: function getAutoTestAverageDuration(id) {
|
|
713
|
+
return this.getAutoTestAverageDurationWithHttpInfo(id).then(function (response_and_data) {
|
|
714
|
+
return response_and_data.data;
|
|
715
|
+
});
|
|
716
|
+
}
|
|
606
717
|
|
|
607
718
|
/**
|
|
608
719
|
* Get autotest by internal or global ID
|
|
609
720
|
* Use case User sets autotest internal or global identifier and runs method execution System returns autotest, which internal or global identifier equals the identifier value set in the previous action
|
|
610
721
|
* @param {String} id Autotest internal (UUID) or global (integer) identifier
|
|
611
|
-
* @
|
|
612
|
-
* data is of type: {@link module:model/AutoTestApiResult}
|
|
722
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AutoTestApiResult} and HTTP response
|
|
613
723
|
*/
|
|
614
724
|
}, {
|
|
615
|
-
key: "
|
|
616
|
-
value: function
|
|
725
|
+
key: "getAutoTestByIdWithHttpInfo",
|
|
726
|
+
value: function getAutoTestByIdWithHttpInfo(id) {
|
|
617
727
|
var postBody = null;
|
|
618
728
|
// verify the required parameter 'id' is set
|
|
619
729
|
if (id === undefined || id === null) {
|
|
@@ -629,27 +739,32 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
629
739
|
var contentTypes = [];
|
|
630
740
|
var accepts = ['application/json'];
|
|
631
741
|
var returnType = _AutoTestApiResult["default"];
|
|
632
|
-
return this.apiClient.callApi('/api/v2/autoTests/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
742
|
+
return this.apiClient.callApi('/api/v2/autoTests/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
633
743
|
}
|
|
634
744
|
|
|
635
745
|
/**
|
|
636
|
-
*
|
|
637
|
-
*
|
|
638
|
-
* @param {String}
|
|
639
|
-
* @
|
|
640
|
-
* @param {String} response The complete HTTP response.
|
|
746
|
+
* Get autotest by internal or global ID
|
|
747
|
+
* Use case User sets autotest internal or global identifier and runs method execution System returns autotest, which internal or global identifier equals the identifier value set in the previous action
|
|
748
|
+
* @param {String} id Autotest internal (UUID) or global (integer) identifier
|
|
749
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AutoTestApiResult}
|
|
641
750
|
*/
|
|
751
|
+
}, {
|
|
752
|
+
key: "getAutoTestById",
|
|
753
|
+
value: function getAutoTestById(id) {
|
|
754
|
+
return this.getAutoTestByIdWithHttpInfo(id).then(function (response_and_data) {
|
|
755
|
+
return response_and_data.data;
|
|
756
|
+
});
|
|
757
|
+
}
|
|
642
758
|
|
|
643
759
|
/**
|
|
644
760
|
* Get autotest chronology
|
|
645
761
|
* Use case User sets autotest internal (guid format) or global (integer format) identifier User runs method execution System search all test results related to autotest (with default limit equal 100) System orders the test results by CompletedOn property descending and then orders by CreatedDate property descending System returns test result chronology for autotest
|
|
646
762
|
* @param {String} id Autotest internal (UUID) or global (integer) identifier
|
|
647
|
-
* @
|
|
648
|
-
* data is of type: {@link Array.<module:model/TestResultChronologyModel>}
|
|
763
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestResultChronologyModel>} and HTTP response
|
|
649
764
|
*/
|
|
650
765
|
}, {
|
|
651
|
-
key: "
|
|
652
|
-
value: function
|
|
766
|
+
key: "getAutoTestChronologyWithHttpInfo",
|
|
767
|
+
value: function getAutoTestChronologyWithHttpInfo(id) {
|
|
653
768
|
var postBody = null;
|
|
654
769
|
// verify the required parameter 'id' is set
|
|
655
770
|
if (id === undefined || id === null) {
|
|
@@ -665,27 +780,32 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
665
780
|
var contentTypes = [];
|
|
666
781
|
var accepts = ['application/json'];
|
|
667
782
|
var returnType = [_TestResultChronologyModel["default"]];
|
|
668
|
-
return this.apiClient.callApi('/api/v2/autoTests/{id}/chronology', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
783
|
+
return this.apiClient.callApi('/api/v2/autoTests/{id}/chronology', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
669
784
|
}
|
|
670
785
|
|
|
671
786
|
/**
|
|
672
|
-
*
|
|
673
|
-
*
|
|
674
|
-
* @param {String}
|
|
675
|
-
* @
|
|
676
|
-
* @param {String} response The complete HTTP response.
|
|
787
|
+
* Get autotest chronology
|
|
788
|
+
* Use case User sets autotest internal (guid format) or global (integer format) identifier User runs method execution System search all test results related to autotest (with default limit equal 100) System orders the test results by CompletedOn property descending and then orders by CreatedDate property descending System returns test result chronology for autotest
|
|
789
|
+
* @param {String} id Autotest internal (UUID) or global (integer) identifier
|
|
790
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestResultChronologyModel>}
|
|
677
791
|
*/
|
|
792
|
+
}, {
|
|
793
|
+
key: "getAutoTestChronology",
|
|
794
|
+
value: function getAutoTestChronology(id) {
|
|
795
|
+
return this.getAutoTestChronologyWithHttpInfo(id).then(function (response_and_data) {
|
|
796
|
+
return response_and_data.data;
|
|
797
|
+
});
|
|
798
|
+
}
|
|
678
799
|
|
|
679
800
|
/**
|
|
680
801
|
* Get completed tests runs for autotests
|
|
681
802
|
* Use case User sets autotest internal (guid format) or global (integer format) identifier User runs method execution System search for all test runs related to the autotest System returns the enumeration of test runs
|
|
682
803
|
* @param {String} id Autotest internal (UUID) or global (integer) identifier
|
|
683
|
-
* @
|
|
684
|
-
* data is of type: {@link Array.<module:model/TestRunByAutoTestApiResult>}
|
|
804
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestRunByAutoTestApiResult>} and HTTP response
|
|
685
805
|
*/
|
|
686
806
|
}, {
|
|
687
|
-
key: "
|
|
688
|
-
value: function
|
|
807
|
+
key: "getTestRunsWithHttpInfo",
|
|
808
|
+
value: function getTestRunsWithHttpInfo(id) {
|
|
689
809
|
var postBody = null;
|
|
690
810
|
// verify the required parameter 'id' is set
|
|
691
811
|
if (id === undefined || id === null) {
|
|
@@ -701,16 +821,22 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
701
821
|
var contentTypes = [];
|
|
702
822
|
var accepts = ['application/json'];
|
|
703
823
|
var returnType = [_TestRunByAutoTestApiResult["default"]];
|
|
704
|
-
return this.apiClient.callApi('/api/v2/autoTests/{id}/testRuns', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
824
|
+
return this.apiClient.callApi('/api/v2/autoTests/{id}/testRuns', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
705
825
|
}
|
|
706
826
|
|
|
707
827
|
/**
|
|
708
|
-
*
|
|
709
|
-
*
|
|
710
|
-
* @param {String}
|
|
711
|
-
* @
|
|
712
|
-
* @param {String} response The complete HTTP response.
|
|
828
|
+
* Get completed tests runs for autotests
|
|
829
|
+
* Use case User sets autotest internal (guid format) or global (integer format) identifier User runs method execution System search for all test runs related to the autotest System returns the enumeration of test runs
|
|
830
|
+
* @param {String} id Autotest internal (UUID) or global (integer) identifier
|
|
831
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestRunByAutoTestApiResult>}
|
|
713
832
|
*/
|
|
833
|
+
}, {
|
|
834
|
+
key: "getTestRuns",
|
|
835
|
+
value: function getTestRuns(id) {
|
|
836
|
+
return this.getTestRunsWithHttpInfo(id).then(function (response_and_data) {
|
|
837
|
+
return response_and_data.data;
|
|
838
|
+
});
|
|
839
|
+
}
|
|
714
840
|
|
|
715
841
|
/**
|
|
716
842
|
* Get work items linked to autotest
|
|
@@ -719,12 +845,11 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
719
845
|
* @param {Object} opts Optional parameters
|
|
720
846
|
* @param {Boolean} [isDeleted] Specifies that a test is deleted or still relevant.
|
|
721
847
|
* @param {Boolean} [isWorkItemDeleted = false)] OBSOLETE: Use `isDeleted` instead
|
|
722
|
-
* @
|
|
723
|
-
* data is of type: {@link Array.<module:model/AutoTestWorkItemIdentifierApiResult>}
|
|
848
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AutoTestWorkItemIdentifierApiResult>} and HTTP response
|
|
724
849
|
*/
|
|
725
850
|
}, {
|
|
726
|
-
key: "
|
|
727
|
-
value: function
|
|
851
|
+
key: "getWorkItemsLinkedToAutoTestWithHttpInfo",
|
|
852
|
+
value: function getWorkItemsLinkedToAutoTestWithHttpInfo(id, opts) {
|
|
728
853
|
opts = opts || {};
|
|
729
854
|
var postBody = null;
|
|
730
855
|
// verify the required parameter 'id' is set
|
|
@@ -744,16 +869,25 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
744
869
|
var contentTypes = [];
|
|
745
870
|
var accepts = ['application/json'];
|
|
746
871
|
var returnType = [_AutoTestWorkItemIdentifierApiResult["default"]];
|
|
747
|
-
return this.apiClient.callApi('/api/v2/autoTests/{id}/workItems', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
872
|
+
return this.apiClient.callApi('/api/v2/autoTests/{id}/workItems', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
748
873
|
}
|
|
749
874
|
|
|
750
875
|
/**
|
|
751
|
-
*
|
|
752
|
-
*
|
|
753
|
-
* @param {String}
|
|
754
|
-
* @param
|
|
755
|
-
* @param {
|
|
876
|
+
* Get work items linked to autotest
|
|
877
|
+
* This method links an autotest to a test case or a checklist. A manual test case with a linked automated work item is marked in the test management system as an autotest. You can run it from graphical user interface (GUI). To do that: 1. Open the project in GUI. 2. Go to <b>Test plans</b> section and switch to the <b>Execution</b> tab. 3. Select the autotest(s) you want to run using checkboxes. 4. In the toolbar above the test list, click <b>Run autotests</b>.
|
|
878
|
+
* @param {String} id Specifies the autotest entity ID. You can copy it from the address bar in your web browser or use autotest GUID.
|
|
879
|
+
* @param {Object} opts Optional parameters
|
|
880
|
+
* @param {Boolean} opts.isDeleted Specifies that a test is deleted or still relevant.
|
|
881
|
+
* @param {Boolean} opts.isWorkItemDeleted OBSOLETE: Use `isDeleted` instead (default to false)
|
|
882
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AutoTestWorkItemIdentifierApiResult>}
|
|
756
883
|
*/
|
|
884
|
+
}, {
|
|
885
|
+
key: "getWorkItemsLinkedToAutoTest",
|
|
886
|
+
value: function getWorkItemsLinkedToAutoTest(id, opts) {
|
|
887
|
+
return this.getWorkItemsLinkedToAutoTestWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
888
|
+
return response_and_data.data;
|
|
889
|
+
});
|
|
890
|
+
}
|
|
757
891
|
|
|
758
892
|
/**
|
|
759
893
|
* Link autotest with work items
|
|
@@ -761,11 +895,11 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
761
895
|
* @param {String} id Autotest internal (UUID) or global (integer) identifier
|
|
762
896
|
* @param {Object} opts Optional parameters
|
|
763
897
|
* @param {module:model/WorkItemIdApiModel} [workItemIdApiModel]
|
|
764
|
-
* @
|
|
898
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
765
899
|
*/
|
|
766
900
|
}, {
|
|
767
|
-
key: "
|
|
768
|
-
value: function
|
|
901
|
+
key: "linkAutoTestToWorkItemWithHttpInfo",
|
|
902
|
+
value: function linkAutoTestToWorkItemWithHttpInfo(id, opts) {
|
|
769
903
|
opts = opts || {};
|
|
770
904
|
var postBody = opts['workItemIdApiModel'];
|
|
771
905
|
// verify the required parameter 'id' is set
|
|
@@ -782,27 +916,35 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
782
916
|
var contentTypes = ['application/json'];
|
|
783
917
|
var accepts = ['application/json'];
|
|
784
918
|
var returnType = null;
|
|
785
|
-
return this.apiClient.callApi('/api/v2/autoTests/{id}/workItems', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
919
|
+
return this.apiClient.callApi('/api/v2/autoTests/{id}/workItems', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
786
920
|
}
|
|
787
921
|
|
|
788
922
|
/**
|
|
789
|
-
*
|
|
790
|
-
*
|
|
791
|
-
* @param {String}
|
|
792
|
-
* @param
|
|
793
|
-
* @param {
|
|
923
|
+
* Link autotest with work items
|
|
924
|
+
* Use case User sets autotest internal (guid format) or global (integer format) identifier User sets work item internal (guid format) or global (integer format) identifier User runs method execution System finds the autotest by the autotest identifier System finds the work item by the work item identifier System relates the work item with the autotest and returns no content response
|
|
925
|
+
* @param {String} id Autotest internal (UUID) or global (integer) identifier
|
|
926
|
+
* @param {Object} opts Optional parameters
|
|
927
|
+
* @param {module:model/WorkItemIdApiModel} opts.workItemIdApiModel
|
|
928
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
794
929
|
*/
|
|
930
|
+
}, {
|
|
931
|
+
key: "linkAutoTestToWorkItem",
|
|
932
|
+
value: function linkAutoTestToWorkItem(id, opts) {
|
|
933
|
+
return this.linkAutoTestToWorkItemWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
934
|
+
return response_and_data.data;
|
|
935
|
+
});
|
|
936
|
+
}
|
|
795
937
|
|
|
796
938
|
/**
|
|
797
939
|
* Update autotest
|
|
798
940
|
* Use case User sets autotest updated parameters values (listed in the example) and runs method execution System finds the autotest by the identifier System updates autotest parameters [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) System updates autotest and returns no content response
|
|
799
941
|
* @param {Object} opts Optional parameters
|
|
800
942
|
* @param {module:model/AutoTestUpdateApiModel} [autoTestUpdateApiModel]
|
|
801
|
-
* @
|
|
943
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
802
944
|
*/
|
|
803
945
|
}, {
|
|
804
|
-
key: "
|
|
805
|
-
value: function
|
|
946
|
+
key: "updateAutoTestWithHttpInfo",
|
|
947
|
+
value: function updateAutoTestWithHttpInfo(opts) {
|
|
806
948
|
opts = opts || {};
|
|
807
949
|
var postBody = opts['autoTestUpdateApiModel'];
|
|
808
950
|
var pathParams = {};
|
|
@@ -813,27 +955,34 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
813
955
|
var contentTypes = ['application/json'];
|
|
814
956
|
var accepts = ['application/json'];
|
|
815
957
|
var returnType = null;
|
|
816
|
-
return this.apiClient.callApi('/api/v2/autoTests', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
958
|
+
return this.apiClient.callApi('/api/v2/autoTests', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
817
959
|
}
|
|
818
960
|
|
|
819
961
|
/**
|
|
820
|
-
*
|
|
821
|
-
*
|
|
822
|
-
* @param {
|
|
823
|
-
* @param
|
|
824
|
-
* @
|
|
962
|
+
* Update autotest
|
|
963
|
+
* Use case User sets autotest updated parameters values (listed in the example) and runs method execution System finds the autotest by the identifier System updates autotest parameters [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) System updates autotest and returns no content response
|
|
964
|
+
* @param {Object} opts Optional parameters
|
|
965
|
+
* @param {module:model/AutoTestUpdateApiModel} opts.autoTestUpdateApiModel
|
|
966
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
825
967
|
*/
|
|
968
|
+
}, {
|
|
969
|
+
key: "updateAutoTest",
|
|
970
|
+
value: function updateAutoTest(opts) {
|
|
971
|
+
return this.updateAutoTestWithHttpInfo(opts).then(function (response_and_data) {
|
|
972
|
+
return response_and_data.data;
|
|
973
|
+
});
|
|
974
|
+
}
|
|
826
975
|
|
|
827
976
|
/**
|
|
828
977
|
* Update multiple autotests
|
|
829
978
|
* Use case User sets autotest updated parameters values (listed in the example) and runs method execution System finds the autotest by the identifier System updates autotest parameters [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) System updates autotest and returns no content response
|
|
830
979
|
* @param {Object} opts Optional parameters
|
|
831
980
|
* @param {Array.<module:model/AutoTestUpdateApiModel>} [autoTestUpdateApiModel]
|
|
832
|
-
* @
|
|
981
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
833
982
|
*/
|
|
834
983
|
}, {
|
|
835
|
-
key: "
|
|
836
|
-
value: function
|
|
984
|
+
key: "updateMultipleWithHttpInfo",
|
|
985
|
+
value: function updateMultipleWithHttpInfo(opts) {
|
|
837
986
|
opts = opts || {};
|
|
838
987
|
var postBody = opts['autoTestUpdateApiModel'];
|
|
839
988
|
var pathParams = {};
|
|
@@ -844,7 +993,22 @@ var AutoTestsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
844
993
|
var contentTypes = ['application/json'];
|
|
845
994
|
var accepts = ['application/json'];
|
|
846
995
|
var returnType = null;
|
|
847
|
-
return this.apiClient.callApi('/api/v2/autoTests/bulk', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
996
|
+
return this.apiClient.callApi('/api/v2/autoTests/bulk', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* Update multiple autotests
|
|
1001
|
+
* Use case User sets autotest updated parameters values (listed in the example) and runs method execution System finds the autotest by the identifier System updates autotest parameters [Optional] If steps enumeration is set, system creates step items, relates them to autotest and deletes relations with current steps( if exist) [Optional] If Setup enumeration is set, system creates setup items and relates them to autotest and deletes relations with current Setup items (if exist) [Optional] If teardown enumeration is set, system creates teardown items and relates them to autotest and deletes relations with current teardown items (if exist) [Optional] If label enumeration is set, system creates labels and relates them to autotest and deletes relations with current Labels (if exist) [Optional] If link enumeration is set, system creates links and relates them to autotest and deletes relations with current Links (if exist) System updates autotest and returns no content response
|
|
1002
|
+
* @param {Object} opts Optional parameters
|
|
1003
|
+
* @param {Array.<module:model/AutoTestUpdateApiModel>} opts.autoTestUpdateApiModel
|
|
1004
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1005
|
+
*/
|
|
1006
|
+
}, {
|
|
1007
|
+
key: "updateMultiple",
|
|
1008
|
+
value: function updateMultiple(opts) {
|
|
1009
|
+
return this.updateMultipleWithHttpInfo(opts).then(function (response_and_data) {
|
|
1010
|
+
return response_and_data.data;
|
|
1011
|
+
});
|
|
848
1012
|
}
|
|
849
1013
|
}]);
|
|
850
1014
|
}();
|