testit-api-client 7.0.0-rc1 → 7.0.0-rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/TestRunsApi.js
CHANGED
|
@@ -46,7 +46,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
46
46
|
/**
|
|
47
47
|
* TestRuns service.
|
|
48
48
|
* @module api/TestRunsApi
|
|
49
|
-
* @version 7.0.0-
|
|
49
|
+
* @version 7.0.0-rc2
|
|
50
50
|
*/
|
|
51
51
|
var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
52
52
|
/**
|
|
@@ -61,25 +61,16 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
61
61
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
/**
|
|
65
|
-
* Callback function to receive the result of the apiV2TestRunsDelete operation.
|
|
66
|
-
* @callback module:api/TestRunsApi~apiV2TestRunsDeleteCallback
|
|
67
|
-
* @param {String} error Error message, if any.
|
|
68
|
-
* @param {Number} data The data returned by the service call.
|
|
69
|
-
* @param {String} response The complete HTTP response.
|
|
70
|
-
*/
|
|
71
|
-
|
|
72
64
|
/**
|
|
73
65
|
* Delete multiple test runs
|
|
74
66
|
* Use case User sets selection parameters of test runs System search and delete collection of test runs System returns the number of deleted test runs
|
|
75
67
|
* @param {Object} opts Optional parameters
|
|
76
68
|
* @param {module:model/TestRunSelectApiModel} [testRunSelectApiModel]
|
|
77
|
-
* @
|
|
78
|
-
* data is of type: {@link Number}
|
|
69
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Number} and HTTP response
|
|
79
70
|
*/
|
|
80
71
|
return _createClass(TestRunsApi, [{
|
|
81
|
-
key: "
|
|
82
|
-
value: function
|
|
72
|
+
key: "apiV2TestRunsDeleteWithHttpInfo",
|
|
73
|
+
value: function apiV2TestRunsDeleteWithHttpInfo(opts) {
|
|
83
74
|
opts = opts || {};
|
|
84
75
|
var postBody = opts['testRunSelectApiModel'];
|
|
85
76
|
var pathParams = {};
|
|
@@ -90,26 +81,32 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
90
81
|
var contentTypes = ['application/json'];
|
|
91
82
|
var accepts = ['application/json'];
|
|
92
83
|
var returnType = 'Number';
|
|
93
|
-
return this.apiClient.callApi('/api/v2/testRuns', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
84
|
+
return this.apiClient.callApi('/api/v2/testRuns', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
94
85
|
}
|
|
95
86
|
|
|
96
87
|
/**
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
* @param {
|
|
100
|
-
* @param {module:model/
|
|
101
|
-
* @
|
|
88
|
+
* Delete multiple test runs
|
|
89
|
+
* Use case User sets selection parameters of test runs System search and delete collection of test runs System returns the number of deleted test runs
|
|
90
|
+
* @param {Object} opts Optional parameters
|
|
91
|
+
* @param {module:model/TestRunSelectApiModel} opts.testRunSelectApiModel
|
|
92
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Number}
|
|
102
93
|
*/
|
|
94
|
+
}, {
|
|
95
|
+
key: "apiV2TestRunsDelete",
|
|
96
|
+
value: function apiV2TestRunsDelete(opts) {
|
|
97
|
+
return this.apiV2TestRunsDeleteWithHttpInfo(opts).then(function (response_and_data) {
|
|
98
|
+
return response_and_data.data;
|
|
99
|
+
});
|
|
100
|
+
}
|
|
103
101
|
|
|
104
102
|
/**
|
|
105
103
|
* Get autotest classes and namespaces in test run
|
|
106
104
|
* @param {String} id
|
|
107
|
-
* @
|
|
108
|
-
* data is of type: {@link module:model/AutoTestNamespacesCountResponse}
|
|
105
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AutoTestNamespacesCountResponse} and HTTP response
|
|
109
106
|
*/
|
|
110
107
|
}, {
|
|
111
|
-
key: "
|
|
112
|
-
value: function
|
|
108
|
+
key: "apiV2TestRunsIdAutoTestsNamespacesGetWithHttpInfo",
|
|
109
|
+
value: function apiV2TestRunsIdAutoTestsNamespacesGetWithHttpInfo(id) {
|
|
113
110
|
var postBody = null;
|
|
114
111
|
// verify the required parameter 'id' is set
|
|
115
112
|
if (id === undefined || id === null) {
|
|
@@ -125,26 +122,31 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
125
122
|
var contentTypes = [];
|
|
126
123
|
var accepts = ['application/json'];
|
|
127
124
|
var returnType = _AutoTestNamespacesCountResponse["default"];
|
|
128
|
-
return this.apiClient.callApi('/api/v2/testRuns/{id}/autoTestsNamespaces', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
125
|
+
return this.apiClient.callApi('/api/v2/testRuns/{id}/autoTestsNamespaces', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
129
126
|
}
|
|
130
127
|
|
|
131
128
|
/**
|
|
132
|
-
*
|
|
133
|
-
* @
|
|
134
|
-
* @
|
|
135
|
-
* @param data This operation does not return a value.
|
|
136
|
-
* @param {String} response The complete HTTP response.
|
|
129
|
+
* Get autotest classes and namespaces in test run
|
|
130
|
+
* @param {String} id
|
|
131
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AutoTestNamespacesCountResponse}
|
|
137
132
|
*/
|
|
133
|
+
}, {
|
|
134
|
+
key: "apiV2TestRunsIdAutoTestsNamespacesGet",
|
|
135
|
+
value: function apiV2TestRunsIdAutoTestsNamespacesGet(id) {
|
|
136
|
+
return this.apiV2TestRunsIdAutoTestsNamespacesGetWithHttpInfo(id).then(function (response_and_data) {
|
|
137
|
+
return response_and_data.data;
|
|
138
|
+
});
|
|
139
|
+
}
|
|
138
140
|
|
|
139
141
|
/**
|
|
140
142
|
* Delete test run
|
|
141
143
|
* Use case User sets test run internal (guid format) identifier System search and delete test run
|
|
142
144
|
* @param {String} id Test run internal (UUID) identifier
|
|
143
|
-
* @
|
|
145
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
144
146
|
*/
|
|
145
147
|
}, {
|
|
146
|
-
key: "
|
|
147
|
-
value: function
|
|
148
|
+
key: "apiV2TestRunsIdDeleteWithHttpInfo",
|
|
149
|
+
value: function apiV2TestRunsIdDeleteWithHttpInfo(id) {
|
|
148
150
|
var postBody = null;
|
|
149
151
|
// verify the required parameter 'id' is set
|
|
150
152
|
if (id === undefined || id === null) {
|
|
@@ -160,26 +162,32 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
160
162
|
var contentTypes = [];
|
|
161
163
|
var accepts = ['application/json'];
|
|
162
164
|
var returnType = null;
|
|
163
|
-
return this.apiClient.callApi('/api/v2/testRuns/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
165
|
+
return this.apiClient.callApi('/api/v2/testRuns/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
164
166
|
}
|
|
165
167
|
|
|
166
168
|
/**
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
* @param {String}
|
|
170
|
-
* @
|
|
171
|
-
* @param {String} response The complete HTTP response.
|
|
169
|
+
* Delete test run
|
|
170
|
+
* Use case User sets test run internal (guid format) identifier System search and delete test run
|
|
171
|
+
* @param {String} id Test run internal (UUID) identifier
|
|
172
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
172
173
|
*/
|
|
174
|
+
}, {
|
|
175
|
+
key: "apiV2TestRunsIdDelete",
|
|
176
|
+
value: function apiV2TestRunsIdDelete(id) {
|
|
177
|
+
return this.apiV2TestRunsIdDeleteWithHttpInfo(id).then(function (response_and_data) {
|
|
178
|
+
return response_and_data.data;
|
|
179
|
+
});
|
|
180
|
+
}
|
|
173
181
|
|
|
174
182
|
/**
|
|
175
183
|
* Permanently delete test run from archive
|
|
176
184
|
* Use case User sets archived test run internal (guid format) identifier System search and purge archived test run
|
|
177
185
|
* @param {String} id Test run internal (UUID) identifier
|
|
178
|
-
* @
|
|
186
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
179
187
|
*/
|
|
180
188
|
}, {
|
|
181
|
-
key: "
|
|
182
|
-
value: function
|
|
189
|
+
key: "apiV2TestRunsIdPurgePostWithHttpInfo",
|
|
190
|
+
value: function apiV2TestRunsIdPurgePostWithHttpInfo(id) {
|
|
183
191
|
var postBody = null;
|
|
184
192
|
// verify the required parameter 'id' is set
|
|
185
193
|
if (id === undefined || id === null) {
|
|
@@ -195,28 +203,33 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
195
203
|
var contentTypes = [];
|
|
196
204
|
var accepts = ['application/json'];
|
|
197
205
|
var returnType = null;
|
|
198
|
-
return this.apiClient.callApi('/api/v2/testRuns/{id}/purge', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
206
|
+
return this.apiClient.callApi('/api/v2/testRuns/{id}/purge', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
199
207
|
}
|
|
200
208
|
|
|
201
209
|
/**
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
* @param {String}
|
|
205
|
-
* @
|
|
206
|
-
* @param {String} response The complete HTTP response.
|
|
210
|
+
* Permanently delete test run from archive
|
|
211
|
+
* Use case User sets archived test run internal (guid format) identifier System search and purge archived test run
|
|
212
|
+
* @param {String} id Test run internal (UUID) identifier
|
|
213
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
207
214
|
*/
|
|
215
|
+
}, {
|
|
216
|
+
key: "apiV2TestRunsIdPurgePost",
|
|
217
|
+
value: function apiV2TestRunsIdPurgePost(id) {
|
|
218
|
+
return this.apiV2TestRunsIdPurgePostWithHttpInfo(id).then(function (response_and_data) {
|
|
219
|
+
return response_and_data.data;
|
|
220
|
+
});
|
|
221
|
+
}
|
|
208
222
|
|
|
209
223
|
/**
|
|
210
224
|
* Manual autotests rerun in test run
|
|
211
225
|
* @param {String} id
|
|
212
226
|
* @param {Object} opts Optional parameters
|
|
213
227
|
* @param {module:model/ManualRerunSelectTestResultsApiModel} [manualRerunSelectTestResultsApiModel]
|
|
214
|
-
* @
|
|
215
|
-
* data is of type: {@link module:model/ManualRerunApiResult}
|
|
228
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ManualRerunApiResult} and HTTP response
|
|
216
229
|
*/
|
|
217
230
|
}, {
|
|
218
|
-
key: "
|
|
219
|
-
value: function
|
|
231
|
+
key: "apiV2TestRunsIdRerunsPostWithHttpInfo",
|
|
232
|
+
value: function apiV2TestRunsIdRerunsPostWithHttpInfo(id, opts) {
|
|
220
233
|
opts = opts || {};
|
|
221
234
|
var postBody = opts['manualRerunSelectTestResultsApiModel'];
|
|
222
235
|
// verify the required parameter 'id' is set
|
|
@@ -233,26 +246,33 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
233
246
|
var contentTypes = ['application/json'];
|
|
234
247
|
var accepts = ['application/json'];
|
|
235
248
|
var returnType = _ManualRerunApiResult["default"];
|
|
236
|
-
return this.apiClient.callApi('/api/v2/testRuns/{id}/reruns', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
249
|
+
return this.apiClient.callApi('/api/v2/testRuns/{id}/reruns', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
237
250
|
}
|
|
238
251
|
|
|
239
252
|
/**
|
|
240
|
-
*
|
|
241
|
-
* @
|
|
242
|
-
* @param {
|
|
243
|
-
* @param
|
|
244
|
-
* @
|
|
253
|
+
* Manual autotests rerun in test run
|
|
254
|
+
* @param {String} id
|
|
255
|
+
* @param {Object} opts Optional parameters
|
|
256
|
+
* @param {module:model/ManualRerunSelectTestResultsApiModel} opts.manualRerunSelectTestResultsApiModel
|
|
257
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ManualRerunApiResult}
|
|
245
258
|
*/
|
|
259
|
+
}, {
|
|
260
|
+
key: "apiV2TestRunsIdRerunsPost",
|
|
261
|
+
value: function apiV2TestRunsIdRerunsPost(id, opts) {
|
|
262
|
+
return this.apiV2TestRunsIdRerunsPostWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
263
|
+
return response_and_data.data;
|
|
264
|
+
});
|
|
265
|
+
}
|
|
246
266
|
|
|
247
267
|
/**
|
|
248
268
|
* Restore test run from the archive
|
|
249
269
|
* Use case User sets archived test run internal (guid format) identifier System search and restore test run
|
|
250
270
|
* @param {String} id Unique ID of the test run
|
|
251
|
-
* @
|
|
271
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
252
272
|
*/
|
|
253
273
|
}, {
|
|
254
|
-
key: "
|
|
255
|
-
value: function
|
|
274
|
+
key: "apiV2TestRunsIdRestorePostWithHttpInfo",
|
|
275
|
+
value: function apiV2TestRunsIdRestorePostWithHttpInfo(id) {
|
|
256
276
|
var postBody = null;
|
|
257
277
|
// verify the required parameter 'id' is set
|
|
258
278
|
if (id === undefined || id === null) {
|
|
@@ -268,28 +288,33 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
268
288
|
var contentTypes = [];
|
|
269
289
|
var accepts = ['application/json'];
|
|
270
290
|
var returnType = null;
|
|
271
|
-
return this.apiClient.callApi('/api/v2/testRuns/{id}/restore', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
291
|
+
return this.apiClient.callApi('/api/v2/testRuns/{id}/restore', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
272
292
|
}
|
|
273
293
|
|
|
274
294
|
/**
|
|
275
|
-
*
|
|
276
|
-
*
|
|
277
|
-
* @param {String}
|
|
278
|
-
* @
|
|
279
|
-
* @param {String} response The complete HTTP response.
|
|
295
|
+
* Restore test run from the archive
|
|
296
|
+
* Use case User sets archived test run internal (guid format) identifier System search and restore test run
|
|
297
|
+
* @param {String} id Unique ID of the test run
|
|
298
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
280
299
|
*/
|
|
300
|
+
}, {
|
|
301
|
+
key: "apiV2TestRunsIdRestorePost",
|
|
302
|
+
value: function apiV2TestRunsIdRestorePost(id) {
|
|
303
|
+
return this.apiV2TestRunsIdRestorePostWithHttpInfo(id).then(function (response_and_data) {
|
|
304
|
+
return response_and_data.data;
|
|
305
|
+
});
|
|
306
|
+
}
|
|
281
307
|
|
|
282
308
|
/**
|
|
283
309
|
* Search for the test run test results and build statistics
|
|
284
310
|
* @param {String} id Test run unique ID
|
|
285
311
|
* @param {Object} opts Optional parameters
|
|
286
312
|
* @param {module:model/TestRunStatisticsFilterApiModel} [testRunStatisticsFilterApiModel]
|
|
287
|
-
* @
|
|
288
|
-
* data is of type: {@link module:model/TestResultsStatisticsApiResult}
|
|
313
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestResultsStatisticsApiResult} and HTTP response
|
|
289
314
|
*/
|
|
290
315
|
}, {
|
|
291
|
-
key: "
|
|
292
|
-
value: function
|
|
316
|
+
key: "apiV2TestRunsIdStatisticsFilterPostWithHttpInfo",
|
|
317
|
+
value: function apiV2TestRunsIdStatisticsFilterPostWithHttpInfo(id, opts) {
|
|
293
318
|
opts = opts || {};
|
|
294
319
|
var postBody = opts['testRunStatisticsFilterApiModel'];
|
|
295
320
|
// verify the required parameter 'id' is set
|
|
@@ -306,26 +331,32 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
306
331
|
var contentTypes = ['application/json'];
|
|
307
332
|
var accepts = ['application/json'];
|
|
308
333
|
var returnType = _TestResultsStatisticsApiResult["default"];
|
|
309
|
-
return this.apiClient.callApi('/api/v2/testRuns/{id}/statistics/filter', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
334
|
+
return this.apiClient.callApi('/api/v2/testRuns/{id}/statistics/filter', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
310
335
|
}
|
|
311
336
|
|
|
312
337
|
/**
|
|
313
|
-
*
|
|
314
|
-
* @
|
|
315
|
-
* @param {
|
|
316
|
-
* @param {
|
|
317
|
-
* @
|
|
338
|
+
* Search for the test run test results and build statistics
|
|
339
|
+
* @param {String} id Test run unique ID
|
|
340
|
+
* @param {Object} opts Optional parameters
|
|
341
|
+
* @param {module:model/TestRunStatisticsFilterApiModel} opts.testRunStatisticsFilterApiModel
|
|
342
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestResultsStatisticsApiResult}
|
|
318
343
|
*/
|
|
344
|
+
}, {
|
|
345
|
+
key: "apiV2TestRunsIdStatisticsFilterPost",
|
|
346
|
+
value: function apiV2TestRunsIdStatisticsFilterPost(id, opts) {
|
|
347
|
+
return this.apiV2TestRunsIdStatisticsFilterPostWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
348
|
+
return response_and_data.data;
|
|
349
|
+
});
|
|
350
|
+
}
|
|
319
351
|
|
|
320
352
|
/**
|
|
321
353
|
* Get test results from the test run grouped by test points
|
|
322
354
|
* @param {String} id Test run unique ID
|
|
323
|
-
* @
|
|
324
|
-
* data is of type: {@link Array.<module:model/TestPointResultApiResult>}
|
|
355
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestPointResultApiResult>} and HTTP response
|
|
325
356
|
*/
|
|
326
357
|
}, {
|
|
327
|
-
key: "
|
|
328
|
-
value: function
|
|
358
|
+
key: "apiV2TestRunsIdTestPointsResultsGetWithHttpInfo",
|
|
359
|
+
value: function apiV2TestRunsIdTestPointsResultsGetWithHttpInfo(id) {
|
|
329
360
|
var postBody = null;
|
|
330
361
|
// verify the required parameter 'id' is set
|
|
331
362
|
if (id === undefined || id === null) {
|
|
@@ -341,27 +372,32 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
341
372
|
var contentTypes = [];
|
|
342
373
|
var accepts = ['application/json'];
|
|
343
374
|
var returnType = [_TestPointResultApiResult["default"]];
|
|
344
|
-
return this.apiClient.callApi('/api/v2/testRuns/{id}/testPoints/results', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
375
|
+
return this.apiClient.callApi('/api/v2/testRuns/{id}/testPoints/results', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
345
376
|
}
|
|
346
377
|
|
|
347
378
|
/**
|
|
348
|
-
*
|
|
349
|
-
* @
|
|
350
|
-
* @
|
|
351
|
-
* @param data This operation does not return a value.
|
|
352
|
-
* @param {String} response The complete HTTP response.
|
|
379
|
+
* Get test results from the test run grouped by test points
|
|
380
|
+
* @param {String} id Test run unique ID
|
|
381
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestPointResultApiResult>}
|
|
353
382
|
*/
|
|
383
|
+
}, {
|
|
384
|
+
key: "apiV2TestRunsIdTestPointsResultsGet",
|
|
385
|
+
value: function apiV2TestRunsIdTestPointsResultsGet(id) {
|
|
386
|
+
return this.apiV2TestRunsIdTestPointsResultsGetWithHttpInfo(id).then(function (response_and_data) {
|
|
387
|
+
return response_and_data.data;
|
|
388
|
+
});
|
|
389
|
+
}
|
|
354
390
|
|
|
355
391
|
/**
|
|
356
392
|
* Partial edit of multiple test results in the test run
|
|
357
393
|
* @param {String} id Test run unique ID
|
|
358
394
|
* @param {Object} opts Optional parameters
|
|
359
395
|
* @param {module:model/TestRunTestResultsPartialBulkSetModel} [testRunTestResultsPartialBulkSetModel]
|
|
360
|
-
* @
|
|
396
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
361
397
|
*/
|
|
362
398
|
}, {
|
|
363
|
-
key: "
|
|
364
|
-
value: function
|
|
399
|
+
key: "apiV2TestRunsIdTestResultsBulkPutWithHttpInfo",
|
|
400
|
+
value: function apiV2TestRunsIdTestResultsBulkPutWithHttpInfo(id, opts) {
|
|
365
401
|
opts = opts || {};
|
|
366
402
|
var postBody = opts['testRunTestResultsPartialBulkSetModel'];
|
|
367
403
|
// verify the required parameter 'id' is set
|
|
@@ -378,26 +414,32 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
378
414
|
var contentTypes = ['application/json'];
|
|
379
415
|
var accepts = ['application/json'];
|
|
380
416
|
var returnType = null;
|
|
381
|
-
return this.apiClient.callApi('/api/v2/testRuns/{id}/testResults/bulk', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
417
|
+
return this.apiClient.callApi('/api/v2/testRuns/{id}/testResults/bulk', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
382
418
|
}
|
|
383
419
|
|
|
384
420
|
/**
|
|
385
|
-
*
|
|
386
|
-
* @
|
|
387
|
-
* @param {
|
|
388
|
-
* @param {
|
|
389
|
-
* @
|
|
421
|
+
* Partial edit of multiple test results in the test run
|
|
422
|
+
* @param {String} id Test run unique ID
|
|
423
|
+
* @param {Object} opts Optional parameters
|
|
424
|
+
* @param {module:model/TestRunTestResultsPartialBulkSetModel} opts.testRunTestResultsPartialBulkSetModel
|
|
425
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
390
426
|
*/
|
|
427
|
+
}, {
|
|
428
|
+
key: "apiV2TestRunsIdTestResultsBulkPut",
|
|
429
|
+
value: function apiV2TestRunsIdTestResultsBulkPut(id, opts) {
|
|
430
|
+
return this.apiV2TestRunsIdTestResultsBulkPutWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
431
|
+
return response_and_data.data;
|
|
432
|
+
});
|
|
433
|
+
}
|
|
391
434
|
|
|
392
435
|
/**
|
|
393
436
|
* Get modification date of last test result of the test run
|
|
394
437
|
* @param {String} id Test run unique ID
|
|
395
|
-
* @
|
|
396
|
-
* data is of type: {@link Date}
|
|
438
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Date} and HTTP response
|
|
397
439
|
*/
|
|
398
440
|
}, {
|
|
399
|
-
key: "
|
|
400
|
-
value: function
|
|
441
|
+
key: "apiV2TestRunsIdTestResultsLastModifiedModificationDateGetWithHttpInfo",
|
|
442
|
+
value: function apiV2TestRunsIdTestResultsLastModifiedModificationDateGetWithHttpInfo(id) {
|
|
401
443
|
var postBody = null;
|
|
402
444
|
// verify the required parameter 'id' is set
|
|
403
445
|
if (id === undefined || id === null) {
|
|
@@ -413,28 +455,32 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
413
455
|
var contentTypes = [];
|
|
414
456
|
var accepts = ['application/json'];
|
|
415
457
|
var returnType = 'Date';
|
|
416
|
-
return this.apiClient.callApi('/api/v2/testRuns/{id}/testResults/lastModified/modificationDate', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
458
|
+
return this.apiClient.callApi('/api/v2/testRuns/{id}/testResults/lastModified/modificationDate', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
417
459
|
}
|
|
418
460
|
|
|
419
461
|
/**
|
|
420
|
-
*
|
|
421
|
-
* @
|
|
422
|
-
* @
|
|
423
|
-
* @param {Number} data The data returned by the service call.
|
|
424
|
-
* @param {String} response The complete HTTP response.
|
|
462
|
+
* Get modification date of last test result of the test run
|
|
463
|
+
* @param {String} id Test run unique ID
|
|
464
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Date}
|
|
425
465
|
*/
|
|
466
|
+
}, {
|
|
467
|
+
key: "apiV2TestRunsIdTestResultsLastModifiedModificationDateGet",
|
|
468
|
+
value: function apiV2TestRunsIdTestResultsLastModifiedModificationDateGet(id) {
|
|
469
|
+
return this.apiV2TestRunsIdTestResultsLastModifiedModificationDateGetWithHttpInfo(id).then(function (response_and_data) {
|
|
470
|
+
return response_and_data.data;
|
|
471
|
+
});
|
|
472
|
+
}
|
|
426
473
|
|
|
427
474
|
/**
|
|
428
475
|
* Permanently delete multiple test runs from archive
|
|
429
476
|
* Use case User sets selection parameters of archived test runs System search and delete collection of archived test runs System returns the number of deleted archived test runs
|
|
430
477
|
* @param {Object} opts Optional parameters
|
|
431
478
|
* @param {module:model/TestRunSelectApiModel} [testRunSelectApiModel]
|
|
432
|
-
* @
|
|
433
|
-
* data is of type: {@link Number}
|
|
479
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Number} and HTTP response
|
|
434
480
|
*/
|
|
435
481
|
}, {
|
|
436
|
-
key: "
|
|
437
|
-
value: function
|
|
482
|
+
key: "apiV2TestRunsPurgeBulkPostWithHttpInfo",
|
|
483
|
+
value: function apiV2TestRunsPurgeBulkPostWithHttpInfo(opts) {
|
|
438
484
|
opts = opts || {};
|
|
439
485
|
var postBody = opts['testRunSelectApiModel'];
|
|
440
486
|
var pathParams = {};
|
|
@@ -445,28 +491,34 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
445
491
|
var contentTypes = ['application/json'];
|
|
446
492
|
var accepts = ['application/json'];
|
|
447
493
|
var returnType = 'Number';
|
|
448
|
-
return this.apiClient.callApi('/api/v2/testRuns/purge/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
494
|
+
return this.apiClient.callApi('/api/v2/testRuns/purge/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
449
495
|
}
|
|
450
496
|
|
|
451
497
|
/**
|
|
452
|
-
*
|
|
453
|
-
*
|
|
454
|
-
* @param {
|
|
455
|
-
* @param {
|
|
456
|
-
* @
|
|
498
|
+
* Permanently delete multiple test runs from archive
|
|
499
|
+
* Use case User sets selection parameters of archived test runs System search and delete collection of archived test runs System returns the number of deleted archived test runs
|
|
500
|
+
* @param {Object} opts Optional parameters
|
|
501
|
+
* @param {module:model/TestRunSelectApiModel} opts.testRunSelectApiModel
|
|
502
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Number}
|
|
457
503
|
*/
|
|
504
|
+
}, {
|
|
505
|
+
key: "apiV2TestRunsPurgeBulkPost",
|
|
506
|
+
value: function apiV2TestRunsPurgeBulkPost(opts) {
|
|
507
|
+
return this.apiV2TestRunsPurgeBulkPostWithHttpInfo(opts).then(function (response_and_data) {
|
|
508
|
+
return response_and_data.data;
|
|
509
|
+
});
|
|
510
|
+
}
|
|
458
511
|
|
|
459
512
|
/**
|
|
460
513
|
* Restore multiple test runs from the archive
|
|
461
514
|
* Use case User sets selection parameters of archived test runs System search and restore collection of archived test runs System returns the number of restored test runs
|
|
462
515
|
* @param {Object} opts Optional parameters
|
|
463
516
|
* @param {module:model/TestRunSelectApiModel} [testRunSelectApiModel]
|
|
464
|
-
* @
|
|
465
|
-
* data is of type: {@link Number}
|
|
517
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Number} and HTTP response
|
|
466
518
|
*/
|
|
467
519
|
}, {
|
|
468
|
-
key: "
|
|
469
|
-
value: function
|
|
520
|
+
key: "apiV2TestRunsRestoreBulkPostWithHttpInfo",
|
|
521
|
+
value: function apiV2TestRunsRestoreBulkPostWithHttpInfo(opts) {
|
|
470
522
|
opts = opts || {};
|
|
471
523
|
var postBody = opts['testRunSelectApiModel'];
|
|
472
524
|
var pathParams = {};
|
|
@@ -477,16 +529,23 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
477
529
|
var contentTypes = ['application/json'];
|
|
478
530
|
var accepts = ['application/json'];
|
|
479
531
|
var returnType = 'Number';
|
|
480
|
-
return this.apiClient.callApi('/api/v2/testRuns/restore/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
532
|
+
return this.apiClient.callApi('/api/v2/testRuns/restore/bulk', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
481
533
|
}
|
|
482
534
|
|
|
483
535
|
/**
|
|
484
|
-
*
|
|
485
|
-
*
|
|
486
|
-
* @param {
|
|
487
|
-
* @param {
|
|
488
|
-
* @
|
|
536
|
+
* Restore multiple test runs from the archive
|
|
537
|
+
* Use case User sets selection parameters of archived test runs System search and restore collection of archived test runs System returns the number of restored test runs
|
|
538
|
+
* @param {Object} opts Optional parameters
|
|
539
|
+
* @param {module:model/TestRunSelectApiModel} opts.testRunSelectApiModel
|
|
540
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Number}
|
|
489
541
|
*/
|
|
542
|
+
}, {
|
|
543
|
+
key: "apiV2TestRunsRestoreBulkPost",
|
|
544
|
+
value: function apiV2TestRunsRestoreBulkPost(opts) {
|
|
545
|
+
return this.apiV2TestRunsRestoreBulkPostWithHttpInfo(opts).then(function (response_and_data) {
|
|
546
|
+
return response_and_data.data;
|
|
547
|
+
});
|
|
548
|
+
}
|
|
490
549
|
|
|
491
550
|
/**
|
|
492
551
|
* Search for test runs
|
|
@@ -497,12 +556,11 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
497
556
|
* @param {String} [searchField] Property name for searching
|
|
498
557
|
* @param {String} [searchValue] Value for searching
|
|
499
558
|
* @param {module:model/TestRunFilterApiModel} [testRunFilterApiModel]
|
|
500
|
-
* @
|
|
501
|
-
* data is of type: {@link Array.<module:model/TestRunShortApiResult>}
|
|
559
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestRunShortApiResult>} and HTTP response
|
|
502
560
|
*/
|
|
503
561
|
}, {
|
|
504
|
-
key: "
|
|
505
|
-
value: function
|
|
562
|
+
key: "apiV2TestRunsSearchPostWithHttpInfo",
|
|
563
|
+
value: function apiV2TestRunsSearchPostWithHttpInfo(opts) {
|
|
506
564
|
opts = opts || {};
|
|
507
565
|
var postBody = opts['testRunFilterApiModel'];
|
|
508
566
|
var pathParams = {};
|
|
@@ -519,26 +577,37 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
519
577
|
var contentTypes = ['application/json'];
|
|
520
578
|
var accepts = ['application/json'];
|
|
521
579
|
var returnType = [_TestRunShortApiResult["default"]];
|
|
522
|
-
return this.apiClient.callApi('/api/v2/testRuns/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
580
|
+
return this.apiClient.callApi('/api/v2/testRuns/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
523
581
|
}
|
|
524
582
|
|
|
525
583
|
/**
|
|
526
|
-
*
|
|
527
|
-
* @
|
|
528
|
-
* @param {
|
|
529
|
-
* @param
|
|
530
|
-
* @param {String}
|
|
584
|
+
* Search for test runs
|
|
585
|
+
* @param {Object} opts Optional parameters
|
|
586
|
+
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
587
|
+
* @param {Number} opts.take Amount of items to be taken (limit)
|
|
588
|
+
* @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
589
|
+
* @param {String} opts.searchField Property name for searching
|
|
590
|
+
* @param {String} opts.searchValue Value for searching
|
|
591
|
+
* @param {module:model/TestRunFilterApiModel} opts.testRunFilterApiModel
|
|
592
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestRunShortApiResult>}
|
|
531
593
|
*/
|
|
594
|
+
}, {
|
|
595
|
+
key: "apiV2TestRunsSearchPost",
|
|
596
|
+
value: function apiV2TestRunsSearchPost(opts) {
|
|
597
|
+
return this.apiV2TestRunsSearchPostWithHttpInfo(opts).then(function (response_and_data) {
|
|
598
|
+
return response_and_data.data;
|
|
599
|
+
});
|
|
600
|
+
}
|
|
532
601
|
|
|
533
602
|
/**
|
|
534
603
|
* Update multiple test runs
|
|
535
604
|
* @param {Object} opts Optional parameters
|
|
536
605
|
* @param {module:model/UpdateMultipleTestRunsApiModel} [updateMultipleTestRunsApiModel]
|
|
537
|
-
* @
|
|
606
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
538
607
|
*/
|
|
539
608
|
}, {
|
|
540
|
-
key: "
|
|
541
|
-
value: function
|
|
609
|
+
key: "apiV2TestRunsUpdateMultiplePostWithHttpInfo",
|
|
610
|
+
value: function apiV2TestRunsUpdateMultiplePostWithHttpInfo(opts) {
|
|
542
611
|
opts = opts || {};
|
|
543
612
|
var postBody = opts['updateMultipleTestRunsApiModel'];
|
|
544
613
|
var pathParams = {};
|
|
@@ -549,26 +618,32 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
549
618
|
var contentTypes = ['application/json'];
|
|
550
619
|
var accepts = ['application/json'];
|
|
551
620
|
var returnType = null;
|
|
552
|
-
return this.apiClient.callApi('/api/v2/testRuns/updateMultiple', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
621
|
+
return this.apiClient.callApi('/api/v2/testRuns/updateMultiple', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
553
622
|
}
|
|
554
623
|
|
|
555
624
|
/**
|
|
556
|
-
*
|
|
557
|
-
* @
|
|
558
|
-
* @param {
|
|
559
|
-
* @
|
|
560
|
-
* @param {String} response The complete HTTP response.
|
|
625
|
+
* Update multiple test runs
|
|
626
|
+
* @param {Object} opts Optional parameters
|
|
627
|
+
* @param {module:model/UpdateMultipleTestRunsApiModel} opts.updateMultipleTestRunsApiModel
|
|
628
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
561
629
|
*/
|
|
630
|
+
}, {
|
|
631
|
+
key: "apiV2TestRunsUpdateMultiplePost",
|
|
632
|
+
value: function apiV2TestRunsUpdateMultiplePost(opts) {
|
|
633
|
+
return this.apiV2TestRunsUpdateMultiplePostWithHttpInfo(opts).then(function (response_and_data) {
|
|
634
|
+
return response_and_data.data;
|
|
635
|
+
});
|
|
636
|
+
}
|
|
562
637
|
|
|
563
638
|
/**
|
|
564
639
|
* Complete TestRun
|
|
565
640
|
* Use case User sets test run identifier User runs method execution System completes test run System returns no content response
|
|
566
641
|
* @param {String} id Test Run internal identifier (GUID format)
|
|
567
|
-
* @
|
|
642
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
568
643
|
*/
|
|
569
644
|
}, {
|
|
570
|
-
key: "
|
|
571
|
-
value: function
|
|
645
|
+
key: "completeTestRunWithHttpInfo",
|
|
646
|
+
value: function completeTestRunWithHttpInfo(id) {
|
|
572
647
|
var postBody = null;
|
|
573
648
|
// verify the required parameter 'id' is set
|
|
574
649
|
if (id === undefined || id === null) {
|
|
@@ -584,28 +659,33 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
584
659
|
var contentTypes = [];
|
|
585
660
|
var accepts = ['application/json'];
|
|
586
661
|
var returnType = null;
|
|
587
|
-
return this.apiClient.callApi('/api/v2/testRuns/{id}/complete', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
662
|
+
return this.apiClient.callApi('/api/v2/testRuns/{id}/complete', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
588
663
|
}
|
|
589
664
|
|
|
590
665
|
/**
|
|
591
|
-
*
|
|
592
|
-
*
|
|
593
|
-
* @param {String}
|
|
594
|
-
* @
|
|
595
|
-
* @param {String} response The complete HTTP response.
|
|
666
|
+
* Complete TestRun
|
|
667
|
+
* Use case User sets test run identifier User runs method execution System completes test run System returns no content response
|
|
668
|
+
* @param {String} id Test Run internal identifier (GUID format)
|
|
669
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
596
670
|
*/
|
|
671
|
+
}, {
|
|
672
|
+
key: "completeTestRun",
|
|
673
|
+
value: function completeTestRun(id) {
|
|
674
|
+
return this.completeTestRunWithHttpInfo(id).then(function (response_and_data) {
|
|
675
|
+
return response_and_data.data;
|
|
676
|
+
});
|
|
677
|
+
}
|
|
597
678
|
|
|
598
679
|
/**
|
|
599
680
|
* Create test runs based on autotests and configurations
|
|
600
681
|
* This method creates a test run based on an autotest and a configuration. The difference between the `POST /api/v2/testRuns/byWorkItems` and `POST /api/v2/testRuns/byConfigurations` methods is that in this method there is no need to create a test plan and work items (test cases and checklists).
|
|
601
682
|
* @param {Object} opts Optional parameters
|
|
602
683
|
* @param {module:model/CreateTestRunAndFillByAutoTestsApiModel} [createTestRunAndFillByAutoTestsApiModel]
|
|
603
|
-
* @
|
|
604
|
-
* data is of type: {@link module:model/TestRunV2ApiResult}
|
|
684
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestRunV2ApiResult} and HTTP response
|
|
605
685
|
*/
|
|
606
686
|
}, {
|
|
607
|
-
key: "
|
|
608
|
-
value: function
|
|
687
|
+
key: "createAndFillByAutoTestsWithHttpInfo",
|
|
688
|
+
value: function createAndFillByAutoTestsWithHttpInfo(opts) {
|
|
609
689
|
opts = opts || {};
|
|
610
690
|
var postBody = opts['createTestRunAndFillByAutoTestsApiModel'];
|
|
611
691
|
var pathParams = {};
|
|
@@ -616,28 +696,34 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
616
696
|
var contentTypes = ['application/json'];
|
|
617
697
|
var accepts = ['application/json'];
|
|
618
698
|
var returnType = _TestRunV2ApiResult["default"];
|
|
619
|
-
return this.apiClient.callApi('/api/v2/testRuns/byAutoTests', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
699
|
+
return this.apiClient.callApi('/api/v2/testRuns/byAutoTests', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
620
700
|
}
|
|
621
701
|
|
|
622
702
|
/**
|
|
623
|
-
*
|
|
624
|
-
*
|
|
625
|
-
* @param {
|
|
626
|
-
* @param {module:model/
|
|
627
|
-
* @
|
|
703
|
+
* Create test runs based on autotests and configurations
|
|
704
|
+
* This method creates a test run based on an autotest and a configuration. The difference between the `POST /api/v2/testRuns/byWorkItems` and `POST /api/v2/testRuns/byConfigurations` methods is that in this method there is no need to create a test plan and work items (test cases and checklists).
|
|
705
|
+
* @param {Object} opts Optional parameters
|
|
706
|
+
* @param {module:model/CreateTestRunAndFillByAutoTestsApiModel} opts.createTestRunAndFillByAutoTestsApiModel
|
|
707
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestRunV2ApiResult}
|
|
628
708
|
*/
|
|
709
|
+
}, {
|
|
710
|
+
key: "createAndFillByAutoTests",
|
|
711
|
+
value: function createAndFillByAutoTests(opts) {
|
|
712
|
+
return this.createAndFillByAutoTestsWithHttpInfo(opts).then(function (response_and_data) {
|
|
713
|
+
return response_and_data.data;
|
|
714
|
+
});
|
|
715
|
+
}
|
|
629
716
|
|
|
630
717
|
/**
|
|
631
718
|
* Create test runs picking the needed test points
|
|
632
719
|
* This method creates a test run based on a combination of a configuration and a work item(test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated. This method is different from the `POST /api/v2/testRuns/byWorkItems` method because of the ability to send a jagged array within the \"<b>testPointSelectors</b>\" parameter.
|
|
633
720
|
* @param {Object} opts Optional parameters
|
|
634
721
|
* @param {module:model/CreateTestRunAndFillByConfigurationsApiModel} [createTestRunAndFillByConfigurationsApiModel]
|
|
635
|
-
* @
|
|
636
|
-
* data is of type: {@link module:model/TestRunV2ApiResult}
|
|
722
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestRunV2ApiResult} and HTTP response
|
|
637
723
|
*/
|
|
638
724
|
}, {
|
|
639
|
-
key: "
|
|
640
|
-
value: function
|
|
725
|
+
key: "createAndFillByConfigurationsWithHttpInfo",
|
|
726
|
+
value: function createAndFillByConfigurationsWithHttpInfo(opts) {
|
|
641
727
|
opts = opts || {};
|
|
642
728
|
var postBody = opts['createTestRunAndFillByConfigurationsApiModel'];
|
|
643
729
|
var pathParams = {};
|
|
@@ -648,28 +734,34 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
648
734
|
var contentTypes = ['application/json'];
|
|
649
735
|
var accepts = ['application/json'];
|
|
650
736
|
var returnType = _TestRunV2ApiResult["default"];
|
|
651
|
-
return this.apiClient.callApi('/api/v2/testRuns/byConfigurations', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
737
|
+
return this.apiClient.callApi('/api/v2/testRuns/byConfigurations', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
652
738
|
}
|
|
653
739
|
|
|
654
740
|
/**
|
|
655
|
-
*
|
|
656
|
-
*
|
|
657
|
-
* @param {
|
|
658
|
-
* @param {module:model/
|
|
659
|
-
* @
|
|
741
|
+
* Create test runs picking the needed test points
|
|
742
|
+
* This method creates a test run based on a combination of a configuration and a work item(test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated. This method is different from the `POST /api/v2/testRuns/byWorkItems` method because of the ability to send a jagged array within the \"<b>testPointSelectors</b>\" parameter.
|
|
743
|
+
* @param {Object} opts Optional parameters
|
|
744
|
+
* @param {module:model/CreateTestRunAndFillByConfigurationsApiModel} opts.createTestRunAndFillByConfigurationsApiModel
|
|
745
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestRunV2ApiResult}
|
|
660
746
|
*/
|
|
747
|
+
}, {
|
|
748
|
+
key: "createAndFillByConfigurations",
|
|
749
|
+
value: function createAndFillByConfigurations(opts) {
|
|
750
|
+
return this.createAndFillByConfigurationsWithHttpInfo(opts).then(function (response_and_data) {
|
|
751
|
+
return response_and_data.data;
|
|
752
|
+
});
|
|
753
|
+
}
|
|
661
754
|
|
|
662
755
|
/**
|
|
663
756
|
* Create test run based on configurations and work items
|
|
664
757
|
* This method creates a test run based on a combination of configuration and work item (test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated.
|
|
665
758
|
* @param {Object} opts Optional parameters
|
|
666
759
|
* @param {module:model/CreateTestRunAndFillByWorkItemsApiModel} [createTestRunAndFillByWorkItemsApiModel]
|
|
667
|
-
* @
|
|
668
|
-
* data is of type: {@link module:model/TestRunV2ApiResult}
|
|
760
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestRunV2ApiResult} and HTTP response
|
|
669
761
|
*/
|
|
670
762
|
}, {
|
|
671
|
-
key: "
|
|
672
|
-
value: function
|
|
763
|
+
key: "createAndFillByWorkItemsWithHttpInfo",
|
|
764
|
+
value: function createAndFillByWorkItemsWithHttpInfo(opts) {
|
|
673
765
|
opts = opts || {};
|
|
674
766
|
var postBody = opts['createTestRunAndFillByWorkItemsApiModel'];
|
|
675
767
|
var pathParams = {};
|
|
@@ -680,28 +772,34 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
680
772
|
var contentTypes = ['application/json'];
|
|
681
773
|
var accepts = ['application/json'];
|
|
682
774
|
var returnType = _TestRunV2ApiResult["default"];
|
|
683
|
-
return this.apiClient.callApi('/api/v2/testRuns/byWorkItems', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
775
|
+
return this.apiClient.callApi('/api/v2/testRuns/byWorkItems', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
684
776
|
}
|
|
685
777
|
|
|
686
778
|
/**
|
|
687
|
-
*
|
|
688
|
-
*
|
|
689
|
-
* @param {
|
|
690
|
-
* @param {module:model/
|
|
691
|
-
* @
|
|
779
|
+
* Create test run based on configurations and work items
|
|
780
|
+
* This method creates a test run based on a combination of configuration and work item (test case or checklist). Before you create a test run using this method, make sure to create a test plan. Work items must be automated.
|
|
781
|
+
* @param {Object} opts Optional parameters
|
|
782
|
+
* @param {module:model/CreateTestRunAndFillByWorkItemsApiModel} opts.createTestRunAndFillByWorkItemsApiModel
|
|
783
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestRunV2ApiResult}
|
|
692
784
|
*/
|
|
785
|
+
}, {
|
|
786
|
+
key: "createAndFillByWorkItems",
|
|
787
|
+
value: function createAndFillByWorkItems(opts) {
|
|
788
|
+
return this.createAndFillByWorkItemsWithHttpInfo(opts).then(function (response_and_data) {
|
|
789
|
+
return response_and_data.data;
|
|
790
|
+
});
|
|
791
|
+
}
|
|
693
792
|
|
|
694
793
|
/**
|
|
695
794
|
* Create empty TestRun
|
|
696
795
|
* Use case User sets test run model (listed in the request example) User runs method execution System creates test run System returns test run model
|
|
697
796
|
* @param {Object} opts Optional parameters
|
|
698
797
|
* @param {module:model/CreateEmptyTestRunApiModel} [createEmptyTestRunApiModel]
|
|
699
|
-
* @
|
|
700
|
-
* data is of type: {@link module:model/TestRunV2ApiResult}
|
|
798
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestRunV2ApiResult} and HTTP response
|
|
701
799
|
*/
|
|
702
800
|
}, {
|
|
703
|
-
key: "
|
|
704
|
-
value: function
|
|
801
|
+
key: "createEmptyWithHttpInfo",
|
|
802
|
+
value: function createEmptyWithHttpInfo(opts) {
|
|
705
803
|
opts = opts || {};
|
|
706
804
|
var postBody = opts['createEmptyTestRunApiModel'];
|
|
707
805
|
var pathParams = {};
|
|
@@ -712,27 +810,33 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
712
810
|
var contentTypes = ['application/json'];
|
|
713
811
|
var accepts = ['application/json'];
|
|
714
812
|
var returnType = _TestRunV2ApiResult["default"];
|
|
715
|
-
return this.apiClient.callApi('/api/v2/testRuns', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
813
|
+
return this.apiClient.callApi('/api/v2/testRuns', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
716
814
|
}
|
|
717
815
|
|
|
718
816
|
/**
|
|
719
|
-
*
|
|
720
|
-
*
|
|
721
|
-
* @param {
|
|
722
|
-
* @param {module:model/
|
|
723
|
-
* @
|
|
817
|
+
* Create empty TestRun
|
|
818
|
+
* Use case User sets test run model (listed in the request example) User runs method execution System creates test run System returns test run model
|
|
819
|
+
* @param {Object} opts Optional parameters
|
|
820
|
+
* @param {module:model/CreateEmptyTestRunApiModel} opts.createEmptyTestRunApiModel
|
|
821
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestRunV2ApiResult}
|
|
724
822
|
*/
|
|
823
|
+
}, {
|
|
824
|
+
key: "createEmpty",
|
|
825
|
+
value: function createEmpty(opts) {
|
|
826
|
+
return this.createEmptyWithHttpInfo(opts).then(function (response_and_data) {
|
|
827
|
+
return response_and_data.data;
|
|
828
|
+
});
|
|
829
|
+
}
|
|
725
830
|
|
|
726
831
|
/**
|
|
727
832
|
* Get TestRun by Id
|
|
728
833
|
* Use case User sets test run identifier User runs method execution System finds test run System returns test run
|
|
729
834
|
* @param {String} id Test Run internal identifier (GUID format)
|
|
730
|
-
* @
|
|
731
|
-
* data is of type: {@link module:model/TestRunV2ApiResult}
|
|
835
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestRunV2ApiResult} and HTTP response
|
|
732
836
|
*/
|
|
733
837
|
}, {
|
|
734
|
-
key: "
|
|
735
|
-
value: function
|
|
838
|
+
key: "getTestRunByIdWithHttpInfo",
|
|
839
|
+
value: function getTestRunByIdWithHttpInfo(id) {
|
|
736
840
|
var postBody = null;
|
|
737
841
|
// verify the required parameter 'id' is set
|
|
738
842
|
if (id === undefined || id === null) {
|
|
@@ -748,16 +852,22 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
748
852
|
var contentTypes = [];
|
|
749
853
|
var accepts = ['application/json'];
|
|
750
854
|
var returnType = _TestRunV2ApiResult["default"];
|
|
751
|
-
return this.apiClient.callApi('/api/v2/testRuns/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
855
|
+
return this.apiClient.callApi('/api/v2/testRuns/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
752
856
|
}
|
|
753
857
|
|
|
754
858
|
/**
|
|
755
|
-
*
|
|
756
|
-
*
|
|
757
|
-
* @param {String}
|
|
758
|
-
* @
|
|
759
|
-
* @param {String} response The complete HTTP response.
|
|
859
|
+
* Get TestRun by Id
|
|
860
|
+
* Use case User sets test run identifier User runs method execution System finds test run System returns test run
|
|
861
|
+
* @param {String} id Test Run internal identifier (GUID format)
|
|
862
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestRunV2ApiResult}
|
|
760
863
|
*/
|
|
864
|
+
}, {
|
|
865
|
+
key: "getTestRunById",
|
|
866
|
+
value: function getTestRunById(id) {
|
|
867
|
+
return this.getTestRunByIdWithHttpInfo(id).then(function (response_and_data) {
|
|
868
|
+
return response_and_data.data;
|
|
869
|
+
});
|
|
870
|
+
}
|
|
761
871
|
|
|
762
872
|
/**
|
|
763
873
|
* Send test results to the test runs in the system
|
|
@@ -765,12 +875,11 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
765
875
|
* @param {String} id Test Run internal identifier (GUID format)
|
|
766
876
|
* @param {Object} opts Optional parameters
|
|
767
877
|
* @param {Array.<module:model/AutoTestResultsForTestRunModel>} [autoTestResultsForTestRunModel]
|
|
768
|
-
* @
|
|
769
|
-
* data is of type: {@link Array.<String>}
|
|
878
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<String>} and HTTP response
|
|
770
879
|
*/
|
|
771
880
|
}, {
|
|
772
|
-
key: "
|
|
773
|
-
value: function
|
|
881
|
+
key: "setAutoTestResultsForTestRunWithHttpInfo",
|
|
882
|
+
value: function setAutoTestResultsForTestRunWithHttpInfo(id, opts) {
|
|
774
883
|
opts = opts || {};
|
|
775
884
|
var postBody = opts['autoTestResultsForTestRunModel'];
|
|
776
885
|
// verify the required parameter 'id' is set
|
|
@@ -787,26 +896,34 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
787
896
|
var contentTypes = ['application/json'];
|
|
788
897
|
var accepts = ['application/json'];
|
|
789
898
|
var returnType = ['String'];
|
|
790
|
-
return this.apiClient.callApi('/api/v2/testRuns/{id}/testResults', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
899
|
+
return this.apiClient.callApi('/api/v2/testRuns/{id}/testResults', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
791
900
|
}
|
|
792
901
|
|
|
793
902
|
/**
|
|
794
|
-
*
|
|
795
|
-
*
|
|
796
|
-
* @param {String}
|
|
797
|
-
* @param
|
|
798
|
-
* @param {
|
|
903
|
+
* Send test results to the test runs in the system
|
|
904
|
+
* This method sends test results to the test management system.
|
|
905
|
+
* @param {String} id Test Run internal identifier (GUID format)
|
|
906
|
+
* @param {Object} opts Optional parameters
|
|
907
|
+
* @param {Array.<module:model/AutoTestResultsForTestRunModel>} opts.autoTestResultsForTestRunModel
|
|
908
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<String>}
|
|
799
909
|
*/
|
|
910
|
+
}, {
|
|
911
|
+
key: "setAutoTestResultsForTestRun",
|
|
912
|
+
value: function setAutoTestResultsForTestRun(id, opts) {
|
|
913
|
+
return this.setAutoTestResultsForTestRunWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
914
|
+
return response_and_data.data;
|
|
915
|
+
});
|
|
916
|
+
}
|
|
800
917
|
|
|
801
918
|
/**
|
|
802
919
|
* Start TestRun
|
|
803
920
|
* Use case User sets test run identifier User runs method execution System starts test run System returns no content response
|
|
804
921
|
* @param {String} id Test Run internal identifier (GUID format)
|
|
805
|
-
* @
|
|
922
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
806
923
|
*/
|
|
807
924
|
}, {
|
|
808
|
-
key: "
|
|
809
|
-
value: function
|
|
925
|
+
key: "startTestRunWithHttpInfo",
|
|
926
|
+
value: function startTestRunWithHttpInfo(id) {
|
|
810
927
|
var postBody = null;
|
|
811
928
|
// verify the required parameter 'id' is set
|
|
812
929
|
if (id === undefined || id === null) {
|
|
@@ -822,26 +939,32 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
822
939
|
var contentTypes = [];
|
|
823
940
|
var accepts = ['application/json'];
|
|
824
941
|
var returnType = null;
|
|
825
|
-
return this.apiClient.callApi('/api/v2/testRuns/{id}/start', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
942
|
+
return this.apiClient.callApi('/api/v2/testRuns/{id}/start', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
826
943
|
}
|
|
827
944
|
|
|
828
945
|
/**
|
|
829
|
-
*
|
|
830
|
-
*
|
|
831
|
-
* @param {String}
|
|
832
|
-
* @
|
|
833
|
-
* @param {String} response The complete HTTP response.
|
|
946
|
+
* Start TestRun
|
|
947
|
+
* Use case User sets test run identifier User runs method execution System starts test run System returns no content response
|
|
948
|
+
* @param {String} id Test Run internal identifier (GUID format)
|
|
949
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
834
950
|
*/
|
|
951
|
+
}, {
|
|
952
|
+
key: "startTestRun",
|
|
953
|
+
value: function startTestRun(id) {
|
|
954
|
+
return this.startTestRunWithHttpInfo(id).then(function (response_and_data) {
|
|
955
|
+
return response_and_data.data;
|
|
956
|
+
});
|
|
957
|
+
}
|
|
835
958
|
|
|
836
959
|
/**
|
|
837
960
|
* Stop TestRun
|
|
838
961
|
* Use case User sets test run identifier User runs method execution System stops test run System returns no content response
|
|
839
962
|
* @param {String} id Test Run internal identifier (GUID format)
|
|
840
|
-
* @
|
|
963
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
841
964
|
*/
|
|
842
965
|
}, {
|
|
843
|
-
key: "
|
|
844
|
-
value: function
|
|
966
|
+
key: "stopTestRunWithHttpInfo",
|
|
967
|
+
value: function stopTestRunWithHttpInfo(id) {
|
|
845
968
|
var postBody = null;
|
|
846
969
|
// verify the required parameter 'id' is set
|
|
847
970
|
if (id === undefined || id === null) {
|
|
@@ -857,27 +980,33 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
857
980
|
var contentTypes = [];
|
|
858
981
|
var accepts = ['application/json'];
|
|
859
982
|
var returnType = null;
|
|
860
|
-
return this.apiClient.callApi('/api/v2/testRuns/{id}/stop', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
983
|
+
return this.apiClient.callApi('/api/v2/testRuns/{id}/stop', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
861
984
|
}
|
|
862
985
|
|
|
863
986
|
/**
|
|
864
|
-
*
|
|
865
|
-
*
|
|
866
|
-
* @param {String}
|
|
867
|
-
* @
|
|
868
|
-
* @param {String} response The complete HTTP response.
|
|
987
|
+
* Stop TestRun
|
|
988
|
+
* Use case User sets test run identifier User runs method execution System stops test run System returns no content response
|
|
989
|
+
* @param {String} id Test Run internal identifier (GUID format)
|
|
990
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
869
991
|
*/
|
|
992
|
+
}, {
|
|
993
|
+
key: "stopTestRun",
|
|
994
|
+
value: function stopTestRun(id) {
|
|
995
|
+
return this.stopTestRunWithHttpInfo(id).then(function (response_and_data) {
|
|
996
|
+
return response_and_data.data;
|
|
997
|
+
});
|
|
998
|
+
}
|
|
870
999
|
|
|
871
1000
|
/**
|
|
872
1001
|
* Update empty TestRun
|
|
873
1002
|
* Use case User sets test run properties (listed in the request example) User runs method execution System updates test run System returns returns no content response
|
|
874
1003
|
* @param {Object} opts Optional parameters
|
|
875
1004
|
* @param {module:model/UpdateEmptyTestRunApiModel} [updateEmptyTestRunApiModel]
|
|
876
|
-
* @
|
|
1005
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
877
1006
|
*/
|
|
878
1007
|
}, {
|
|
879
|
-
key: "
|
|
880
|
-
value: function
|
|
1008
|
+
key: "updateEmptyWithHttpInfo",
|
|
1009
|
+
value: function updateEmptyWithHttpInfo(opts) {
|
|
881
1010
|
opts = opts || {};
|
|
882
1011
|
var postBody = opts['updateEmptyTestRunApiModel'];
|
|
883
1012
|
var pathParams = {};
|
|
@@ -888,7 +1017,22 @@ var TestRunsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
888
1017
|
var contentTypes = ['application/json'];
|
|
889
1018
|
var accepts = ['application/json'];
|
|
890
1019
|
var returnType = null;
|
|
891
|
-
return this.apiClient.callApi('/api/v2/testRuns', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
1020
|
+
return this.apiClient.callApi('/api/v2/testRuns', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
/**
|
|
1024
|
+
* Update empty TestRun
|
|
1025
|
+
* Use case User sets test run properties (listed in the request example) User runs method execution System updates test run System returns returns no content response
|
|
1026
|
+
* @param {Object} opts Optional parameters
|
|
1027
|
+
* @param {module:model/UpdateEmptyTestRunApiModel} opts.updateEmptyTestRunApiModel
|
|
1028
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1029
|
+
*/
|
|
1030
|
+
}, {
|
|
1031
|
+
key: "updateEmpty",
|
|
1032
|
+
value: function updateEmpty(opts) {
|
|
1033
|
+
return this.updateEmptyWithHttpInfo(opts).then(function (response_and_data) {
|
|
1034
|
+
return response_and_data.data;
|
|
1035
|
+
});
|
|
892
1036
|
}
|
|
893
1037
|
}]);
|
|
894
1038
|
}();
|