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/TestPlansApi.js
CHANGED
|
@@ -46,7 +46,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
46
46
|
/**
|
|
47
47
|
* TestPlans service.
|
|
48
48
|
* @module api/TestPlansApi
|
|
49
|
-
* @version 7.0.0-
|
|
49
|
+
* @version 7.0.0-rc2
|
|
50
50
|
*/
|
|
51
51
|
var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
52
52
|
/**
|
|
@@ -61,24 +61,16 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
61
61
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
/**
|
|
65
|
-
* Callback function to receive the result of the addTestPointsWithSections operation.
|
|
66
|
-
* @callback module:api/TestPlansApi~addTestPointsWithSectionsCallback
|
|
67
|
-
* @param {String} error Error message, if any.
|
|
68
|
-
* @param data This operation does not return a value.
|
|
69
|
-
* @param {String} response The complete HTTP response.
|
|
70
|
-
*/
|
|
71
|
-
|
|
72
64
|
/**
|
|
73
65
|
* Add test-points to TestPlan with sections
|
|
74
66
|
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
75
67
|
* @param {Object} opts Optional parameters
|
|
76
68
|
* @param {module:model/WorkItemSelectModel} [workItemSelectModel] Filter object to retrieve work items for test-suite's project
|
|
77
|
-
* @
|
|
69
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
78
70
|
*/
|
|
79
71
|
return _createClass(TestPlansApi, [{
|
|
80
|
-
key: "
|
|
81
|
-
value: function
|
|
72
|
+
key: "addTestPointsWithSectionsWithHttpInfo",
|
|
73
|
+
value: function addTestPointsWithSectionsWithHttpInfo(id, opts) {
|
|
82
74
|
opts = opts || {};
|
|
83
75
|
var postBody = opts['workItemSelectModel'];
|
|
84
76
|
// verify the required parameter 'id' is set
|
|
@@ -95,16 +87,23 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
95
87
|
var contentTypes = ['application/json'];
|
|
96
88
|
var accepts = ['application/json'];
|
|
97
89
|
var returnType = null;
|
|
98
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/test-points/withSections', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
90
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/test-points/withSections', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
99
91
|
}
|
|
100
92
|
|
|
101
93
|
/**
|
|
102
|
-
*
|
|
103
|
-
* @
|
|
104
|
-
* @param {
|
|
105
|
-
* @param
|
|
106
|
-
* @
|
|
94
|
+
* Add test-points to TestPlan with sections
|
|
95
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
96
|
+
* @param {Object} opts Optional parameters
|
|
97
|
+
* @param {module:model/WorkItemSelectModel} opts.workItemSelectModel Filter object to retrieve work items for test-suite's project
|
|
98
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
107
99
|
*/
|
|
100
|
+
}, {
|
|
101
|
+
key: "addTestPointsWithSections",
|
|
102
|
+
value: function addTestPointsWithSections(id, opts) {
|
|
103
|
+
return this.addTestPointsWithSectionsWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
104
|
+
return response_and_data.data;
|
|
105
|
+
});
|
|
106
|
+
}
|
|
108
107
|
|
|
109
108
|
/**
|
|
110
109
|
* Add WorkItems to TestPlan with Sections as TestSuites
|
|
@@ -112,11 +111,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
112
111
|
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
113
112
|
* @param {Object} opts Optional parameters
|
|
114
113
|
* @param {Array.<String>} [requestBody]
|
|
115
|
-
* @
|
|
114
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
116
115
|
*/
|
|
117
116
|
}, {
|
|
118
|
-
key: "
|
|
119
|
-
value: function
|
|
117
|
+
key: "addWorkItemsWithSectionsWithHttpInfo",
|
|
118
|
+
value: function addWorkItemsWithSectionsWithHttpInfo(id, opts) {
|
|
120
119
|
opts = opts || {};
|
|
121
120
|
var postBody = opts['requestBody'];
|
|
122
121
|
// verify the required parameter 'id' is set
|
|
@@ -133,27 +132,34 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
133
132
|
var contentTypes = ['application/json'];
|
|
134
133
|
var accepts = ['application/json'];
|
|
135
134
|
var returnType = null;
|
|
136
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/workItems/withSections', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
135
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/workItems/withSections', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
137
136
|
}
|
|
138
137
|
|
|
139
138
|
/**
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
* @param {String}
|
|
143
|
-
* @param {
|
|
144
|
-
* @param {String}
|
|
139
|
+
* Add WorkItems to TestPlan with Sections as TestSuites
|
|
140
|
+
* Use case User sets TestPlan identifier User sets WorkItem identifiers (listed in request example) User runs method execution System added WorkItems and Sections to TestPlan System returns no content response
|
|
141
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
142
|
+
* @param {Object} opts Optional parameters
|
|
143
|
+
* @param {Array.<String>} opts.requestBody
|
|
144
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
145
145
|
*/
|
|
146
|
+
}, {
|
|
147
|
+
key: "addWorkItemsWithSections",
|
|
148
|
+
value: function addWorkItemsWithSections(id, opts) {
|
|
149
|
+
return this.addWorkItemsWithSectionsWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
150
|
+
return response_and_data.data;
|
|
151
|
+
});
|
|
152
|
+
}
|
|
146
153
|
|
|
147
154
|
/**
|
|
148
155
|
* Get analytics by TestPlan
|
|
149
156
|
* Use case User sets test plan identifier User runs method execution System returns analytics by test plan
|
|
150
157
|
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
151
|
-
* @
|
|
152
|
-
* data is of type: {@link module:model/TestPointAnalyticResult}
|
|
158
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestPointAnalyticResult} and HTTP response
|
|
153
159
|
*/
|
|
154
160
|
}, {
|
|
155
|
-
key: "
|
|
156
|
-
value: function
|
|
161
|
+
key: "apiV2TestPlansIdAnalyticsGetWithHttpInfo",
|
|
162
|
+
value: function apiV2TestPlansIdAnalyticsGetWithHttpInfo(id) {
|
|
157
163
|
var postBody = null;
|
|
158
164
|
// verify the required parameter 'id' is set
|
|
159
165
|
if (id === undefined || id === null) {
|
|
@@ -169,28 +175,33 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
169
175
|
var contentTypes = [];
|
|
170
176
|
var accepts = ['application/json'];
|
|
171
177
|
var returnType = _TestPointAnalyticResult["default"];
|
|
172
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/analytics', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
178
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/analytics', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
173
179
|
}
|
|
174
180
|
|
|
175
181
|
/**
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
* @param {String}
|
|
179
|
-
* @
|
|
180
|
-
* @param {String} response The complete HTTP response.
|
|
182
|
+
* Get analytics by TestPlan
|
|
183
|
+
* Use case User sets test plan identifier User runs method execution System returns analytics by test plan
|
|
184
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
185
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestPointAnalyticResult}
|
|
181
186
|
*/
|
|
187
|
+
}, {
|
|
188
|
+
key: "apiV2TestPlansIdAnalyticsGet",
|
|
189
|
+
value: function apiV2TestPlansIdAnalyticsGet(id) {
|
|
190
|
+
return this.apiV2TestPlansIdAnalyticsGetWithHttpInfo(id).then(function (response_and_data) {
|
|
191
|
+
return response_and_data.data;
|
|
192
|
+
});
|
|
193
|
+
}
|
|
182
194
|
|
|
183
195
|
/**
|
|
184
196
|
* Distribute test points between the users
|
|
185
197
|
* @param {String} id Test plan unique or global ID
|
|
186
198
|
* @param {Object} opts Optional parameters
|
|
187
199
|
* @param {Array.<String>} [testers] Specifies a project user IDs to distribute
|
|
188
|
-
* @
|
|
189
|
-
* data is of type: {@link module:model/TestPlanWithTestSuiteTreeModel}
|
|
200
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestPlanWithTestSuiteTreeModel} and HTTP response
|
|
190
201
|
*/
|
|
191
202
|
}, {
|
|
192
|
-
key: "
|
|
193
|
-
value: function
|
|
203
|
+
key: "apiV2TestPlansIdAutobalancePostWithHttpInfo",
|
|
204
|
+
value: function apiV2TestPlansIdAutobalancePostWithHttpInfo(id, opts) {
|
|
194
205
|
opts = opts || {};
|
|
195
206
|
var postBody = null;
|
|
196
207
|
// verify the required parameter 'id' is set
|
|
@@ -209,27 +220,33 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
209
220
|
var contentTypes = [];
|
|
210
221
|
var accepts = ['application/json'];
|
|
211
222
|
var returnType = _TestPlanWithTestSuiteTreeModel["default"];
|
|
212
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/autobalance', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
223
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/autobalance', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
213
224
|
}
|
|
214
225
|
|
|
215
226
|
/**
|
|
216
|
-
*
|
|
217
|
-
* @
|
|
218
|
-
* @param {
|
|
219
|
-
* @param {Array.<
|
|
220
|
-
* @
|
|
227
|
+
* Distribute test points between the users
|
|
228
|
+
* @param {String} id Test plan unique or global ID
|
|
229
|
+
* @param {Object} opts Optional parameters
|
|
230
|
+
* @param {Array.<String>} opts.testers Specifies a project user IDs to distribute
|
|
231
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestPlanWithTestSuiteTreeModel}
|
|
221
232
|
*/
|
|
233
|
+
}, {
|
|
234
|
+
key: "apiV2TestPlansIdAutobalancePost",
|
|
235
|
+
value: function apiV2TestPlansIdAutobalancePost(id, opts) {
|
|
236
|
+
return this.apiV2TestPlansIdAutobalancePostWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
237
|
+
return response_and_data.data;
|
|
238
|
+
});
|
|
239
|
+
}
|
|
222
240
|
|
|
223
241
|
/**
|
|
224
242
|
* Get TestPlan configurations
|
|
225
243
|
* Use case User sets test plan identifier User runs method execution System return test plan configurations
|
|
226
244
|
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
227
|
-
* @
|
|
228
|
-
* data is of type: {@link Array.<module:model/ConfigurationModel>}
|
|
245
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/ConfigurationModel>} and HTTP response
|
|
229
246
|
*/
|
|
230
247
|
}, {
|
|
231
|
-
key: "
|
|
232
|
-
value: function
|
|
248
|
+
key: "apiV2TestPlansIdConfigurationsGetWithHttpInfo",
|
|
249
|
+
value: function apiV2TestPlansIdConfigurationsGetWithHttpInfo(id) {
|
|
233
250
|
var postBody = null;
|
|
234
251
|
// verify the required parameter 'id' is set
|
|
235
252
|
if (id === undefined || id === null) {
|
|
@@ -245,16 +262,22 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
245
262
|
var contentTypes = [];
|
|
246
263
|
var accepts = ['application/json'];
|
|
247
264
|
var returnType = [_ConfigurationModel["default"]];
|
|
248
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/configurations', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
265
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/configurations', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
249
266
|
}
|
|
250
267
|
|
|
251
268
|
/**
|
|
252
|
-
*
|
|
253
|
-
*
|
|
254
|
-
* @param {String}
|
|
255
|
-
* @
|
|
256
|
-
* @param {String} response The complete HTTP response.
|
|
269
|
+
* Get TestPlan configurations
|
|
270
|
+
* Use case User sets test plan identifier User runs method execution System return test plan configurations
|
|
271
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
272
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/ConfigurationModel>}
|
|
257
273
|
*/
|
|
274
|
+
}, {
|
|
275
|
+
key: "apiV2TestPlansIdConfigurationsGet",
|
|
276
|
+
value: function apiV2TestPlansIdConfigurationsGet(id) {
|
|
277
|
+
return this.apiV2TestPlansIdConfigurationsGetWithHttpInfo(id).then(function (response_and_data) {
|
|
278
|
+
return response_and_data.data;
|
|
279
|
+
});
|
|
280
|
+
}
|
|
258
281
|
|
|
259
282
|
/**
|
|
260
283
|
* Export TestPoints from TestPlan in xls format
|
|
@@ -263,11 +286,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
263
286
|
* @param {Object} opts Optional parameters
|
|
264
287
|
* @param {Number} [timeZoneOffsetInMinutes]
|
|
265
288
|
* @param {module:model/GetXlsxTestPointsByTestPlanModel} [getXlsxTestPointsByTestPlanModel]
|
|
266
|
-
* @
|
|
289
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
267
290
|
*/
|
|
268
291
|
}, {
|
|
269
|
-
key: "
|
|
270
|
-
value: function
|
|
292
|
+
key: "apiV2TestPlansIdExportTestPointsXlsxPostWithHttpInfo",
|
|
293
|
+
value: function apiV2TestPlansIdExportTestPointsXlsxPostWithHttpInfo(id, opts) {
|
|
271
294
|
opts = opts || {};
|
|
272
295
|
var postBody = opts['getXlsxTestPointsByTestPlanModel'];
|
|
273
296
|
// verify the required parameter 'id' is set
|
|
@@ -286,16 +309,25 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
286
309
|
var contentTypes = ['application/json'];
|
|
287
310
|
var accepts = ['application/json'];
|
|
288
311
|
var returnType = null;
|
|
289
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/export/testPoints/xlsx', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
312
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/export/testPoints/xlsx', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
290
313
|
}
|
|
291
314
|
|
|
292
315
|
/**
|
|
293
|
-
*
|
|
294
|
-
*
|
|
295
|
-
* @param {String}
|
|
296
|
-
* @param
|
|
297
|
-
* @param {
|
|
316
|
+
* Export TestPoints from TestPlan in xls format
|
|
317
|
+
* Use case User sets test plan identifier User sets filter model (listed in request example) User runs method execution System return export xlsx file
|
|
318
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
319
|
+
* @param {Object} opts Optional parameters
|
|
320
|
+
* @param {Number} opts.timeZoneOffsetInMinutes
|
|
321
|
+
* @param {module:model/GetXlsxTestPointsByTestPlanModel} opts.getXlsxTestPointsByTestPlanModel
|
|
322
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
298
323
|
*/
|
|
324
|
+
}, {
|
|
325
|
+
key: "apiV2TestPlansIdExportTestPointsXlsxPost",
|
|
326
|
+
value: function apiV2TestPlansIdExportTestPointsXlsxPost(id, opts) {
|
|
327
|
+
return this.apiV2TestPlansIdExportTestPointsXlsxPostWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
328
|
+
return response_and_data.data;
|
|
329
|
+
});
|
|
330
|
+
}
|
|
299
331
|
|
|
300
332
|
/**
|
|
301
333
|
* Export TestResults history from TestPlan in xls format
|
|
@@ -306,11 +338,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
306
338
|
* @param {Boolean} [includeSteps]
|
|
307
339
|
* @param {Boolean} [includeDeletedTestSuites]
|
|
308
340
|
* @param {Number} [timeZoneOffsetInMinutes]
|
|
309
|
-
* @
|
|
341
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
310
342
|
*/
|
|
311
343
|
}, {
|
|
312
|
-
key: "
|
|
313
|
-
value: function
|
|
344
|
+
key: "apiV2TestPlansIdExportTestResultHistoryXlsxPostWithHttpInfo",
|
|
345
|
+
value: function apiV2TestPlansIdExportTestResultHistoryXlsxPostWithHttpInfo(id, opts) {
|
|
314
346
|
opts = opts || {};
|
|
315
347
|
var postBody = null;
|
|
316
348
|
// verify the required parameter 'id' is set
|
|
@@ -333,16 +365,27 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
333
365
|
var contentTypes = [];
|
|
334
366
|
var accepts = ['application/json'];
|
|
335
367
|
var returnType = null;
|
|
336
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/export/testResultHistory/xlsx', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
368
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/export/testResultHistory/xlsx', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
337
369
|
}
|
|
338
370
|
|
|
339
371
|
/**
|
|
340
|
-
*
|
|
341
|
-
*
|
|
342
|
-
* @param {String}
|
|
343
|
-
* @param {
|
|
344
|
-
* @param {
|
|
372
|
+
* Export TestResults history from TestPlan in xls format
|
|
373
|
+
* Use case User sets test plan identifier User sets filter model (listed in request example) User runs method execution System return export xlsx file
|
|
374
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
375
|
+
* @param {Object} opts Optional parameters
|
|
376
|
+
* @param {Boolean} opts.mustReturnOnlyLastTestResult
|
|
377
|
+
* @param {Boolean} opts.includeSteps
|
|
378
|
+
* @param {Boolean} opts.includeDeletedTestSuites
|
|
379
|
+
* @param {Number} opts.timeZoneOffsetInMinutes
|
|
380
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
345
381
|
*/
|
|
382
|
+
}, {
|
|
383
|
+
key: "apiV2TestPlansIdExportTestResultHistoryXlsxPost",
|
|
384
|
+
value: function apiV2TestPlansIdExportTestResultHistoryXlsxPost(id, opts) {
|
|
385
|
+
return this.apiV2TestPlansIdExportTestResultHistoryXlsxPostWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
386
|
+
return response_and_data.data;
|
|
387
|
+
});
|
|
388
|
+
}
|
|
346
389
|
|
|
347
390
|
/**
|
|
348
391
|
* Get TestPlan history
|
|
@@ -354,12 +397,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
354
397
|
* @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
355
398
|
* @param {String} [searchField] Property name for searching
|
|
356
399
|
* @param {String} [searchValue] Value for searching
|
|
357
|
-
* @
|
|
358
|
-
* data is of type: {@link Array.<module:model/TestPlanChangeModel>}
|
|
400
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestPlanChangeModel>} and HTTP response
|
|
359
401
|
*/
|
|
360
402
|
}, {
|
|
361
|
-
key: "
|
|
362
|
-
value: function
|
|
403
|
+
key: "apiV2TestPlansIdHistoryGetWithHttpInfo",
|
|
404
|
+
value: function apiV2TestPlansIdHistoryGetWithHttpInfo(id, opts) {
|
|
363
405
|
opts = opts || {};
|
|
364
406
|
var postBody = null;
|
|
365
407
|
// verify the required parameter 'id' is set
|
|
@@ -382,16 +424,28 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
382
424
|
var contentTypes = [];
|
|
383
425
|
var accepts = ['application/json'];
|
|
384
426
|
var returnType = [_TestPlanChangeModel["default"]];
|
|
385
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/history', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
427
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/history', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
386
428
|
}
|
|
387
429
|
|
|
388
430
|
/**
|
|
389
|
-
*
|
|
390
|
-
*
|
|
391
|
-
* @param {String}
|
|
392
|
-
* @param {
|
|
393
|
-
* @param {
|
|
431
|
+
* Get TestPlan history
|
|
432
|
+
* Use case User sets test plan identifier User runs method execution System return test plan history
|
|
433
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
434
|
+
* @param {Object} opts Optional parameters
|
|
435
|
+
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
436
|
+
* @param {Number} opts.take Amount of items to be taken (limit)
|
|
437
|
+
* @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
438
|
+
* @param {String} opts.searchField Property name for searching
|
|
439
|
+
* @param {String} opts.searchValue Value for searching
|
|
440
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestPlanChangeModel>}
|
|
394
441
|
*/
|
|
442
|
+
}, {
|
|
443
|
+
key: "apiV2TestPlansIdHistoryGet",
|
|
444
|
+
value: function apiV2TestPlansIdHistoryGet(id, opts) {
|
|
445
|
+
return this.apiV2TestPlansIdHistoryGetWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
446
|
+
return response_and_data.data;
|
|
447
|
+
});
|
|
448
|
+
}
|
|
395
449
|
|
|
396
450
|
/**
|
|
397
451
|
* Get Links of TestPlan
|
|
@@ -401,12 +455,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
401
455
|
* @param {Number} [skip]
|
|
402
456
|
* @param {Number} [take]
|
|
403
457
|
* @param {String} [orderBy]
|
|
404
|
-
* @
|
|
405
|
-
* data is of type: {@link Array.<module:model/TestPlanLink>}
|
|
458
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestPlanLink>} and HTTP response
|
|
406
459
|
*/
|
|
407
460
|
}, {
|
|
408
|
-
key: "
|
|
409
|
-
value: function
|
|
461
|
+
key: "apiV2TestPlansIdLinksGetWithHttpInfo",
|
|
462
|
+
value: function apiV2TestPlansIdLinksGetWithHttpInfo(id, opts) {
|
|
410
463
|
opts = opts || {};
|
|
411
464
|
var postBody = null;
|
|
412
465
|
// verify the required parameter 'id' is set
|
|
@@ -427,16 +480,26 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
427
480
|
var contentTypes = [];
|
|
428
481
|
var accepts = ['application/json'];
|
|
429
482
|
var returnType = [_TestPlanLink["default"]];
|
|
430
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/links', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
483
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/links', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
431
484
|
}
|
|
432
485
|
|
|
433
486
|
/**
|
|
434
|
-
*
|
|
435
|
-
*
|
|
436
|
-
* @param {String}
|
|
437
|
-
* @param
|
|
438
|
-
* @param {
|
|
487
|
+
* Get Links of TestPlan
|
|
488
|
+
* Use case User sets test plan identifier User sets pagination filter (listed in request example) User runs method execution System returns links of TestPlan
|
|
489
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
490
|
+
* @param {Object} opts Optional parameters
|
|
491
|
+
* @param {Number} opts.skip
|
|
492
|
+
* @param {Number} opts.take
|
|
493
|
+
* @param {String} opts.orderBy
|
|
494
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestPlanLink>}
|
|
439
495
|
*/
|
|
496
|
+
}, {
|
|
497
|
+
key: "apiV2TestPlansIdLinksGet",
|
|
498
|
+
value: function apiV2TestPlansIdLinksGet(id, opts) {
|
|
499
|
+
return this.apiV2TestPlansIdLinksGetWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
500
|
+
return response_and_data.data;
|
|
501
|
+
});
|
|
502
|
+
}
|
|
440
503
|
|
|
441
504
|
/**
|
|
442
505
|
* Patch test plan
|
|
@@ -444,11 +507,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
444
507
|
* @param {String} id Unique ID of the test plan
|
|
445
508
|
* @param {Object} opts Optional parameters
|
|
446
509
|
* @param {Array.<module:model/Operation>} [operation]
|
|
447
|
-
* @
|
|
510
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
448
511
|
*/
|
|
449
512
|
}, {
|
|
450
|
-
key: "
|
|
451
|
-
value: function
|
|
513
|
+
key: "apiV2TestPlansIdPatchWithHttpInfo",
|
|
514
|
+
value: function apiV2TestPlansIdPatchWithHttpInfo(id, opts) {
|
|
452
515
|
opts = opts || {};
|
|
453
516
|
var postBody = opts['operation'];
|
|
454
517
|
// verify the required parameter 'id' is set
|
|
@@ -465,27 +528,34 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
465
528
|
var contentTypes = ['application/json'];
|
|
466
529
|
var accepts = ['application/json'];
|
|
467
530
|
var returnType = null;
|
|
468
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
531
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
469
532
|
}
|
|
470
533
|
|
|
471
534
|
/**
|
|
472
|
-
*
|
|
473
|
-
*
|
|
474
|
-
* @param {String}
|
|
475
|
-
* @param {
|
|
476
|
-
* @param {
|
|
535
|
+
* Patch test plan
|
|
536
|
+
* See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details
|
|
537
|
+
* @param {String} id Unique ID of the test plan
|
|
538
|
+
* @param {Object} opts Optional parameters
|
|
539
|
+
* @param {Array.<module:model/Operation>} opts.operation
|
|
540
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
477
541
|
*/
|
|
542
|
+
}, {
|
|
543
|
+
key: "apiV2TestPlansIdPatch",
|
|
544
|
+
value: function apiV2TestPlansIdPatch(id, opts) {
|
|
545
|
+
return this.apiV2TestPlansIdPatchWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
546
|
+
return response_and_data.data;
|
|
547
|
+
});
|
|
548
|
+
}
|
|
478
549
|
|
|
479
550
|
/**
|
|
480
551
|
* Get summary by TestPlan
|
|
481
552
|
* Use case User sets test plan identifier User runs method execution System returns summary by test plan
|
|
482
553
|
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
483
|
-
* @
|
|
484
|
-
* data is of type: {@link module:model/TestPlanSummaryModel}
|
|
554
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestPlanSummaryModel} and HTTP response
|
|
485
555
|
*/
|
|
486
556
|
}, {
|
|
487
|
-
key: "
|
|
488
|
-
value: function
|
|
557
|
+
key: "apiV2TestPlansIdSummariesGetWithHttpInfo",
|
|
558
|
+
value: function apiV2TestPlansIdSummariesGetWithHttpInfo(id) {
|
|
489
559
|
var postBody = null;
|
|
490
560
|
// verify the required parameter 'id' is set
|
|
491
561
|
if (id === undefined || id === null) {
|
|
@@ -501,16 +571,22 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
501
571
|
var contentTypes = [];
|
|
502
572
|
var accepts = ['application/json'];
|
|
503
573
|
var returnType = _TestPlanSummaryModel["default"];
|
|
504
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/summaries', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
574
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/summaries', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
505
575
|
}
|
|
506
576
|
|
|
507
577
|
/**
|
|
508
|
-
*
|
|
509
|
-
*
|
|
510
|
-
* @param {String}
|
|
511
|
-
* @
|
|
512
|
-
* @param {String} response The complete HTTP response.
|
|
578
|
+
* Get summary by TestPlan
|
|
579
|
+
* Use case User sets test plan identifier User runs method execution System returns summary by test plan
|
|
580
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
581
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestPlanSummaryModel}
|
|
513
582
|
*/
|
|
583
|
+
}, {
|
|
584
|
+
key: "apiV2TestPlansIdSummariesGet",
|
|
585
|
+
value: function apiV2TestPlansIdSummariesGet(id) {
|
|
586
|
+
return this.apiV2TestPlansIdSummariesGetWithHttpInfo(id).then(function (response_and_data) {
|
|
587
|
+
return response_and_data.data;
|
|
588
|
+
});
|
|
589
|
+
}
|
|
514
590
|
|
|
515
591
|
/**
|
|
516
592
|
* Get TestPoints with last result from TestPlan
|
|
@@ -523,12 +599,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
523
599
|
* @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
524
600
|
* @param {String} [searchField] Property name for searching
|
|
525
601
|
* @param {String} [searchValue] Value for searching
|
|
526
|
-
* @
|
|
527
|
-
* data is of type: {@link Array.<module:model/TestPointWithLastResultResponseModel>}
|
|
602
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestPointWithLastResultResponseModel>} and HTTP response
|
|
528
603
|
*/
|
|
529
604
|
}, {
|
|
530
|
-
key: "
|
|
531
|
-
value: function
|
|
605
|
+
key: "apiV2TestPlansIdTestPointsLastResultsGetWithHttpInfo",
|
|
606
|
+
value: function apiV2TestPlansIdTestPointsLastResultsGetWithHttpInfo(id, opts) {
|
|
532
607
|
opts = opts || {};
|
|
533
608
|
var postBody = null;
|
|
534
609
|
// verify the required parameter 'id' is set
|
|
@@ -552,16 +627,29 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
552
627
|
var contentTypes = [];
|
|
553
628
|
var accepts = ['application/json'];
|
|
554
629
|
var returnType = [_TestPointWithLastResultResponseModel["default"]];
|
|
555
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/testPoints/lastResults', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
630
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/testPoints/lastResults', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
556
631
|
}
|
|
557
632
|
|
|
558
633
|
/**
|
|
559
|
-
*
|
|
560
|
-
*
|
|
561
|
-
* @param {String}
|
|
562
|
-
* @param
|
|
563
|
-
* @param {String}
|
|
634
|
+
* Get TestPoints with last result from TestPlan
|
|
635
|
+
* Use case User sets test plan identifier User sets filter (listed in request example) User runs method execution System return test points with last result from test plan
|
|
636
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
637
|
+
* @param {Object} opts Optional parameters
|
|
638
|
+
* @param {String} opts.testerId
|
|
639
|
+
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
640
|
+
* @param {Number} opts.take Amount of items to be taken (limit)
|
|
641
|
+
* @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
642
|
+
* @param {String} opts.searchField Property name for searching
|
|
643
|
+
* @param {String} opts.searchValue Value for searching
|
|
644
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestPointWithLastResultResponseModel>}
|
|
564
645
|
*/
|
|
646
|
+
}, {
|
|
647
|
+
key: "apiV2TestPlansIdTestPointsLastResultsGet",
|
|
648
|
+
value: function apiV2TestPlansIdTestPointsLastResultsGet(id, opts) {
|
|
649
|
+
return this.apiV2TestPlansIdTestPointsLastResultsGetWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
650
|
+
return response_and_data.data;
|
|
651
|
+
});
|
|
652
|
+
}
|
|
565
653
|
|
|
566
654
|
/**
|
|
567
655
|
* Reset TestPoints status of TestPlan
|
|
@@ -569,11 +657,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
569
657
|
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
570
658
|
* @param {Object} opts Optional parameters
|
|
571
659
|
* @param {Array.<String>} [requestBody]
|
|
572
|
-
* @
|
|
660
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
573
661
|
*/
|
|
574
662
|
}, {
|
|
575
|
-
key: "
|
|
576
|
-
value: function
|
|
663
|
+
key: "apiV2TestPlansIdTestPointsResetPostWithHttpInfo",
|
|
664
|
+
value: function apiV2TestPlansIdTestPointsResetPostWithHttpInfo(id, opts) {
|
|
577
665
|
opts = opts || {};
|
|
578
666
|
var postBody = opts['requestBody'];
|
|
579
667
|
// verify the required parameter 'id' is set
|
|
@@ -590,28 +678,35 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
590
678
|
var contentTypes = ['application/json'];
|
|
591
679
|
var accepts = ['application/json'];
|
|
592
680
|
var returnType = null;
|
|
593
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/testPoints/reset', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
681
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/testPoints/reset', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
594
682
|
}
|
|
595
683
|
|
|
596
684
|
/**
|
|
597
|
-
*
|
|
598
|
-
*
|
|
599
|
-
* @param {String}
|
|
600
|
-
* @param {
|
|
601
|
-
* @param {String}
|
|
685
|
+
* Reset TestPoints status of TestPlan
|
|
686
|
+
* Use case User sets test plan identifier User sets test points identifiers User runs method execution System reset test points statuses of test plan
|
|
687
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
688
|
+
* @param {Object} opts Optional parameters
|
|
689
|
+
* @param {Array.<String>} opts.requestBody
|
|
690
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
602
691
|
*/
|
|
692
|
+
}, {
|
|
693
|
+
key: "apiV2TestPlansIdTestPointsResetPost",
|
|
694
|
+
value: function apiV2TestPlansIdTestPointsResetPost(id, opts) {
|
|
695
|
+
return this.apiV2TestPlansIdTestPointsResetPostWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
696
|
+
return response_and_data.data;
|
|
697
|
+
});
|
|
698
|
+
}
|
|
603
699
|
|
|
604
700
|
/**
|
|
605
701
|
* Unassign users from multiple test points
|
|
606
702
|
* @param {String} id Unique or global ID of the test plan
|
|
607
703
|
* @param {Object} opts Optional parameters
|
|
608
704
|
* @param {module:model/TestPointSelectModel} [testPointSelectModel]
|
|
609
|
-
* @
|
|
610
|
-
* data is of type: {@link Array.<String>}
|
|
705
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<String>} and HTTP response
|
|
611
706
|
*/
|
|
612
707
|
}, {
|
|
613
|
-
key: "
|
|
614
|
-
value: function
|
|
708
|
+
key: "apiV2TestPlansIdTestPointsTesterDeleteWithHttpInfo",
|
|
709
|
+
value: function apiV2TestPlansIdTestPointsTesterDeleteWithHttpInfo(id, opts) {
|
|
615
710
|
opts = opts || {};
|
|
616
711
|
var postBody = opts['testPointSelectModel'];
|
|
617
712
|
// verify the required parameter 'id' is set
|
|
@@ -628,16 +723,23 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
628
723
|
var contentTypes = ['application/json'];
|
|
629
724
|
var accepts = ['application/json'];
|
|
630
725
|
var returnType = ['String'];
|
|
631
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/testPoints/tester', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
726
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/testPoints/tester', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
632
727
|
}
|
|
633
728
|
|
|
634
729
|
/**
|
|
635
|
-
*
|
|
636
|
-
* @
|
|
637
|
-
* @param {
|
|
638
|
-
* @param {
|
|
639
|
-
* @
|
|
730
|
+
* Unassign users from multiple test points
|
|
731
|
+
* @param {String} id Unique or global ID of the test plan
|
|
732
|
+
* @param {Object} opts Optional parameters
|
|
733
|
+
* @param {module:model/TestPointSelectModel} opts.testPointSelectModel
|
|
734
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<String>}
|
|
640
735
|
*/
|
|
736
|
+
}, {
|
|
737
|
+
key: "apiV2TestPlansIdTestPointsTesterDelete",
|
|
738
|
+
value: function apiV2TestPlansIdTestPointsTesterDelete(id, opts) {
|
|
739
|
+
return this.apiV2TestPlansIdTestPointsTesterDeleteWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
740
|
+
return response_and_data.data;
|
|
741
|
+
});
|
|
742
|
+
}
|
|
641
743
|
|
|
642
744
|
/**
|
|
643
745
|
* Assign user as a tester to multiple test points
|
|
@@ -645,12 +747,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
645
747
|
* @param {String} userId Unique ID of the user
|
|
646
748
|
* @param {Object} opts Optional parameters
|
|
647
749
|
* @param {module:model/TestPointSelectModel} [testPointSelectModel]
|
|
648
|
-
* @
|
|
649
|
-
* data is of type: {@link Array.<String>}
|
|
750
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<String>} and HTTP response
|
|
650
751
|
*/
|
|
651
752
|
}, {
|
|
652
|
-
key: "
|
|
653
|
-
value: function
|
|
753
|
+
key: "apiV2TestPlansIdTestPointsTesterUserIdPostWithHttpInfo",
|
|
754
|
+
value: function apiV2TestPlansIdTestPointsTesterUserIdPostWithHttpInfo(id, userId, opts) {
|
|
654
755
|
opts = opts || {};
|
|
655
756
|
var postBody = opts['testPointSelectModel'];
|
|
656
757
|
// verify the required parameter 'id' is set
|
|
@@ -672,16 +773,24 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
672
773
|
var contentTypes = ['application/json'];
|
|
673
774
|
var accepts = ['application/json'];
|
|
674
775
|
var returnType = ['String'];
|
|
675
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/testPoints/tester/{userId}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
776
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/testPoints/tester/{userId}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
676
777
|
}
|
|
677
778
|
|
|
678
779
|
/**
|
|
679
|
-
*
|
|
680
|
-
* @
|
|
681
|
-
* @param {String}
|
|
682
|
-
* @param {
|
|
683
|
-
* @param {
|
|
780
|
+
* Assign user as a tester to multiple test points
|
|
781
|
+
* @param {String} id Unique or global ID of the test plan
|
|
782
|
+
* @param {String} userId Unique ID of the user
|
|
783
|
+
* @param {Object} opts Optional parameters
|
|
784
|
+
* @param {module:model/TestPointSelectModel} opts.testPointSelectModel
|
|
785
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<String>}
|
|
684
786
|
*/
|
|
787
|
+
}, {
|
|
788
|
+
key: "apiV2TestPlansIdTestPointsTesterUserIdPost",
|
|
789
|
+
value: function apiV2TestPlansIdTestPointsTesterUserIdPost(id, userId, opts) {
|
|
790
|
+
return this.apiV2TestPlansIdTestPointsTesterUserIdPostWithHttpInfo(id, userId, opts).then(function (response_and_data) {
|
|
791
|
+
return response_and_data.data;
|
|
792
|
+
});
|
|
793
|
+
}
|
|
685
794
|
|
|
686
795
|
/**
|
|
687
796
|
* Get TestRuns of TestPlan
|
|
@@ -697,12 +806,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
697
806
|
* @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
698
807
|
* @param {String} [searchField] Property name for searching
|
|
699
808
|
* @param {String} [searchValue] Value for searching
|
|
700
|
-
* @
|
|
701
|
-
* data is of type: {@link Array.<module:model/TestRunApiResult>}
|
|
809
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestRunApiResult>} and HTTP response
|
|
702
810
|
*/
|
|
703
811
|
}, {
|
|
704
|
-
key: "
|
|
705
|
-
value: function
|
|
812
|
+
key: "apiV2TestPlansIdTestRunsGetWithHttpInfo",
|
|
813
|
+
value: function apiV2TestPlansIdTestRunsGetWithHttpInfo(id, opts) {
|
|
706
814
|
opts = opts || {};
|
|
707
815
|
var postBody = null;
|
|
708
816
|
// verify the required parameter 'id' is set
|
|
@@ -729,16 +837,32 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
729
837
|
var contentTypes = [];
|
|
730
838
|
var accepts = ['application/json'];
|
|
731
839
|
var returnType = [_TestRunApiResult["default"]];
|
|
732
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/testRuns', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
840
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/testRuns', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
733
841
|
}
|
|
734
842
|
|
|
735
843
|
/**
|
|
736
|
-
*
|
|
737
|
-
*
|
|
738
|
-
* @param {String}
|
|
739
|
-
* @param {
|
|
740
|
-
* @param {
|
|
844
|
+
* Get TestRuns of TestPlan
|
|
845
|
+
* Use case User sets test plan identifier User sets TestRun status filter (listed in request example) User runs method execution System returns TestRuns for TestPlan
|
|
846
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
847
|
+
* @param {Object} opts Optional parameters
|
|
848
|
+
* @param {Boolean} opts.notStarted
|
|
849
|
+
* @param {Boolean} opts.inProgress
|
|
850
|
+
* @param {Boolean} opts.stopped
|
|
851
|
+
* @param {Boolean} opts.completed
|
|
852
|
+
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
853
|
+
* @param {Number} opts.take Amount of items to be taken (limit)
|
|
854
|
+
* @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
855
|
+
* @param {String} opts.searchField Property name for searching
|
|
856
|
+
* @param {String} opts.searchValue Value for searching
|
|
857
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestRunApiResult>}
|
|
741
858
|
*/
|
|
859
|
+
}, {
|
|
860
|
+
key: "apiV2TestPlansIdTestRunsGet",
|
|
861
|
+
value: function apiV2TestPlansIdTestRunsGet(id, opts) {
|
|
862
|
+
return this.apiV2TestPlansIdTestRunsGetWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
863
|
+
return response_and_data.data;
|
|
864
|
+
});
|
|
865
|
+
}
|
|
742
866
|
|
|
743
867
|
/**
|
|
744
868
|
* Search TestRuns of TestPlan
|
|
@@ -751,12 +875,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
751
875
|
* @param {String} [searchField] Property name for searching
|
|
752
876
|
* @param {String} [searchValue] Value for searching
|
|
753
877
|
* @param {module:model/SearchTestRunsApiModel} [searchTestRunsApiModel]
|
|
754
|
-
* @
|
|
755
|
-
* data is of type: {@link Array.<module:model/TestRunApiResult>}
|
|
878
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestRunApiResult>} and HTTP response
|
|
756
879
|
*/
|
|
757
880
|
}, {
|
|
758
|
-
key: "
|
|
759
|
-
value: function
|
|
881
|
+
key: "apiV2TestPlansIdTestRunsSearchPostWithHttpInfo",
|
|
882
|
+
value: function apiV2TestPlansIdTestRunsSearchPostWithHttpInfo(id, opts) {
|
|
760
883
|
opts = opts || {};
|
|
761
884
|
var postBody = opts['searchTestRunsApiModel'];
|
|
762
885
|
// verify the required parameter 'id' is set
|
|
@@ -779,25 +902,38 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
779
902
|
var contentTypes = ['application/json'];
|
|
780
903
|
var accepts = ['application/json'];
|
|
781
904
|
var returnType = [_TestRunApiResult["default"]];
|
|
782
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/testRuns/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
905
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/testRuns/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
783
906
|
}
|
|
784
907
|
|
|
785
908
|
/**
|
|
786
|
-
*
|
|
787
|
-
*
|
|
788
|
-
* @param {String}
|
|
789
|
-
* @param
|
|
790
|
-
* @param {
|
|
909
|
+
* Search TestRuns of TestPlan
|
|
910
|
+
* Use case User sets test plan identifier User sets TestRuns filter (listed in request example) User runs method execution System returns TestRuns for TestPlan
|
|
911
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
912
|
+
* @param {Object} opts Optional parameters
|
|
913
|
+
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
914
|
+
* @param {Number} opts.take Amount of items to be taken (limit)
|
|
915
|
+
* @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
916
|
+
* @param {String} opts.searchField Property name for searching
|
|
917
|
+
* @param {String} opts.searchValue Value for searching
|
|
918
|
+
* @param {module:model/SearchTestRunsApiModel} opts.searchTestRunsApiModel
|
|
919
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestRunApiResult>}
|
|
791
920
|
*/
|
|
921
|
+
}, {
|
|
922
|
+
key: "apiV2TestPlansIdTestRunsSearchPost",
|
|
923
|
+
value: function apiV2TestPlansIdTestRunsSearchPost(id, opts) {
|
|
924
|
+
return this.apiV2TestPlansIdTestRunsSearchPostWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
925
|
+
return response_and_data.data;
|
|
926
|
+
});
|
|
927
|
+
}
|
|
792
928
|
|
|
793
929
|
/**
|
|
794
930
|
* Get last modification date of test plan's test results
|
|
795
931
|
* @param {String} id Internal (UUID) or global (integer) identifier
|
|
796
|
-
* @
|
|
932
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
797
933
|
*/
|
|
798
934
|
}, {
|
|
799
|
-
key: "
|
|
800
|
-
value: function
|
|
935
|
+
key: "apiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGetWithHttpInfo",
|
|
936
|
+
value: function apiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGetWithHttpInfo(id) {
|
|
801
937
|
var postBody = null;
|
|
802
938
|
// verify the required parameter 'id' is set
|
|
803
939
|
if (id === undefined || id === null) {
|
|
@@ -813,26 +949,31 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
813
949
|
var contentTypes = [];
|
|
814
950
|
var accepts = ['application/json'];
|
|
815
951
|
var returnType = null;
|
|
816
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/testRuns/testResults/lastModified/modifiedDate', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
952
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/testRuns/testResults/lastModified/modifiedDate', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
817
953
|
}
|
|
818
954
|
|
|
819
955
|
/**
|
|
820
|
-
*
|
|
821
|
-
* @
|
|
822
|
-
* @
|
|
823
|
-
* @param data This operation does not return a value.
|
|
824
|
-
* @param {String} response The complete HTTP response.
|
|
956
|
+
* Get last modification date of test plan's test results
|
|
957
|
+
* @param {String} id Internal (UUID) or global (integer) identifier
|
|
958
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
825
959
|
*/
|
|
960
|
+
}, {
|
|
961
|
+
key: "apiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGet",
|
|
962
|
+
value: function apiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGet(id) {
|
|
963
|
+
return this.apiV2TestPlansIdTestRunsTestResultsLastModifiedModifiedDateGetWithHttpInfo(id).then(function (response_and_data) {
|
|
964
|
+
return response_and_data.data;
|
|
965
|
+
});
|
|
966
|
+
}
|
|
826
967
|
|
|
827
968
|
/**
|
|
828
969
|
* Send unlock TestPlan notification
|
|
829
970
|
* Use case User sets test plan identifier User runs method execution System send unlock test plan notification
|
|
830
971
|
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
831
|
-
* @
|
|
972
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
832
973
|
*/
|
|
833
974
|
}, {
|
|
834
|
-
key: "
|
|
835
|
-
value: function
|
|
975
|
+
key: "apiV2TestPlansIdUnlockRequestPostWithHttpInfo",
|
|
976
|
+
value: function apiV2TestPlansIdUnlockRequestPostWithHttpInfo(id) {
|
|
836
977
|
var postBody = null;
|
|
837
978
|
// verify the required parameter 'id' is set
|
|
838
979
|
if (id === undefined || id === null) {
|
|
@@ -848,16 +989,22 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
848
989
|
var contentTypes = [];
|
|
849
990
|
var accepts = ['application/json'];
|
|
850
991
|
var returnType = null;
|
|
851
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/unlock/request', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
992
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/unlock/request', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
852
993
|
}
|
|
853
994
|
|
|
854
995
|
/**
|
|
855
|
-
*
|
|
856
|
-
*
|
|
857
|
-
* @param {String}
|
|
858
|
-
* @
|
|
859
|
-
* @param {String} response The complete HTTP response.
|
|
996
|
+
* Send unlock TestPlan notification
|
|
997
|
+
* Use case User sets test plan identifier User runs method execution System send unlock test plan notification
|
|
998
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
999
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
860
1000
|
*/
|
|
1001
|
+
}, {
|
|
1002
|
+
key: "apiV2TestPlansIdUnlockRequestPost",
|
|
1003
|
+
value: function apiV2TestPlansIdUnlockRequestPost(id) {
|
|
1004
|
+
return this.apiV2TestPlansIdUnlockRequestPostWithHttpInfo(id).then(function (response_and_data) {
|
|
1005
|
+
return response_and_data.data;
|
|
1006
|
+
});
|
|
1007
|
+
}
|
|
861
1008
|
|
|
862
1009
|
/**
|
|
863
1010
|
* Get TestPlans short models by Project identifiers
|
|
@@ -865,12 +1012,11 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
865
1012
|
* @param {Object} opts Optional parameters
|
|
866
1013
|
* @param {Boolean} [isDeleted]
|
|
867
1014
|
* @param {Array.<String>} [requestBody]
|
|
868
|
-
* @
|
|
869
|
-
* data is of type: {@link Array.<module:model/TestPlanShortModel>}
|
|
1015
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestPlanShortModel>} and HTTP response
|
|
870
1016
|
*/
|
|
871
1017
|
}, {
|
|
872
|
-
key: "
|
|
873
|
-
value: function
|
|
1018
|
+
key: "apiV2TestPlansShortsPostWithHttpInfo",
|
|
1019
|
+
value: function apiV2TestPlansShortsPostWithHttpInfo(opts) {
|
|
874
1020
|
opts = opts || {};
|
|
875
1021
|
var postBody = opts['requestBody'];
|
|
876
1022
|
var pathParams = {};
|
|
@@ -883,27 +1029,34 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
883
1029
|
var contentTypes = ['application/json'];
|
|
884
1030
|
var accepts = ['application/json'];
|
|
885
1031
|
var returnType = [_TestPlanShortModel["default"]];
|
|
886
|
-
return this.apiClient.callApi('/api/v2/testPlans/shorts', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
1032
|
+
return this.apiClient.callApi('/api/v2/testPlans/shorts', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
887
1033
|
}
|
|
888
1034
|
|
|
889
1035
|
/**
|
|
890
|
-
*
|
|
891
|
-
*
|
|
892
|
-
* @param {
|
|
893
|
-
* @param {
|
|
894
|
-
* @param {String}
|
|
1036
|
+
* Get TestPlans short models by Project identifiers
|
|
1037
|
+
* Use case User sets projects identifiers User runs method execution System return test plans short models (listed in response example)
|
|
1038
|
+
* @param {Object} opts Optional parameters
|
|
1039
|
+
* @param {Boolean} opts.isDeleted
|
|
1040
|
+
* @param {Array.<String>} opts.requestBody
|
|
1041
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestPlanShortModel>}
|
|
895
1042
|
*/
|
|
1043
|
+
}, {
|
|
1044
|
+
key: "apiV2TestPlansShortsPost",
|
|
1045
|
+
value: function apiV2TestPlansShortsPost(opts) {
|
|
1046
|
+
return this.apiV2TestPlansShortsPostWithHttpInfo(opts).then(function (response_and_data) {
|
|
1047
|
+
return response_and_data.data;
|
|
1048
|
+
});
|
|
1049
|
+
}
|
|
896
1050
|
|
|
897
1051
|
/**
|
|
898
1052
|
* Clone TestPlan
|
|
899
1053
|
* Use case User sets test plan identifier User runs method execution System clones test plan System returns test plan (listed in response example)
|
|
900
1054
|
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
901
|
-
* @
|
|
902
|
-
* data is of type: {@link module:model/TestPlanModel}
|
|
1055
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestPlanModel} and HTTP response
|
|
903
1056
|
*/
|
|
904
1057
|
}, {
|
|
905
|
-
key: "
|
|
906
|
-
value: function
|
|
1058
|
+
key: "cloneWithHttpInfo",
|
|
1059
|
+
value: function cloneWithHttpInfo(id) {
|
|
907
1060
|
var postBody = null;
|
|
908
1061
|
// verify the required parameter 'id' is set
|
|
909
1062
|
if (id === undefined || id === null) {
|
|
@@ -919,26 +1072,32 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
919
1072
|
var contentTypes = [];
|
|
920
1073
|
var accepts = ['application/json'];
|
|
921
1074
|
var returnType = _TestPlanModel["default"];
|
|
922
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/clone', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
1075
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/clone', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
923
1076
|
}
|
|
924
1077
|
|
|
925
1078
|
/**
|
|
926
|
-
*
|
|
927
|
-
*
|
|
928
|
-
* @param {String}
|
|
929
|
-
* @
|
|
930
|
-
* @param {String} response The complete HTTP response.
|
|
1079
|
+
* Clone TestPlan
|
|
1080
|
+
* Use case User sets test plan identifier User runs method execution System clones test plan System returns test plan (listed in response example)
|
|
1081
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
1082
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestPlanModel}
|
|
931
1083
|
*/
|
|
1084
|
+
}, {
|
|
1085
|
+
key: "clone",
|
|
1086
|
+
value: function clone(id) {
|
|
1087
|
+
return this.cloneWithHttpInfo(id).then(function (response_and_data) {
|
|
1088
|
+
return response_and_data.data;
|
|
1089
|
+
});
|
|
1090
|
+
}
|
|
932
1091
|
|
|
933
1092
|
/**
|
|
934
1093
|
* Complete TestPlan
|
|
935
1094
|
* Use case User sets test plan identifier User runs method execution System completes the test plan and updates test plan status System returns no content response
|
|
936
1095
|
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
937
|
-
* @
|
|
1096
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
938
1097
|
*/
|
|
939
1098
|
}, {
|
|
940
|
-
key: "
|
|
941
|
-
value: function
|
|
1099
|
+
key: "completeWithHttpInfo",
|
|
1100
|
+
value: function completeWithHttpInfo(id) {
|
|
942
1101
|
var postBody = null;
|
|
943
1102
|
// verify the required parameter 'id' is set
|
|
944
1103
|
if (id === undefined || id === null) {
|
|
@@ -954,28 +1113,33 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
954
1113
|
var contentTypes = [];
|
|
955
1114
|
var accepts = ['application/json'];
|
|
956
1115
|
var returnType = null;
|
|
957
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/complete', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
1116
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/complete', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
958
1117
|
}
|
|
959
1118
|
|
|
960
1119
|
/**
|
|
961
|
-
*
|
|
962
|
-
*
|
|
963
|
-
* @param {String}
|
|
964
|
-
* @
|
|
965
|
-
* @param {String} response The complete HTTP response.
|
|
1120
|
+
* Complete TestPlan
|
|
1121
|
+
* Use case User sets test plan identifier User runs method execution System completes the test plan and updates test plan status System returns no content response
|
|
1122
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
1123
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
966
1124
|
*/
|
|
1125
|
+
}, {
|
|
1126
|
+
key: "complete",
|
|
1127
|
+
value: function complete(id) {
|
|
1128
|
+
return this.completeWithHttpInfo(id).then(function (response_and_data) {
|
|
1129
|
+
return response_and_data.data;
|
|
1130
|
+
});
|
|
1131
|
+
}
|
|
967
1132
|
|
|
968
1133
|
/**
|
|
969
1134
|
* Create TestPlan
|
|
970
1135
|
* Use case User sets test plan properties (listed in request example) User runs method execution System creates test plan System returns test plan (listed in response example)
|
|
971
1136
|
* @param {Object} opts Optional parameters
|
|
972
1137
|
* @param {module:model/CreateTestPlanApiModel} [createTestPlanApiModel]
|
|
973
|
-
* @
|
|
974
|
-
* data is of type: {@link module:model/TestPlanModel}
|
|
1138
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestPlanModel} and HTTP response
|
|
975
1139
|
*/
|
|
976
1140
|
}, {
|
|
977
|
-
key: "
|
|
978
|
-
value: function
|
|
1141
|
+
key: "createTestPlanWithHttpInfo",
|
|
1142
|
+
value: function createTestPlanWithHttpInfo(opts) {
|
|
979
1143
|
opts = opts || {};
|
|
980
1144
|
var postBody = opts['createTestPlanApiModel'];
|
|
981
1145
|
var pathParams = {};
|
|
@@ -986,26 +1150,33 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
986
1150
|
var contentTypes = ['application/json'];
|
|
987
1151
|
var accepts = ['application/json'];
|
|
988
1152
|
var returnType = _TestPlanModel["default"];
|
|
989
|
-
return this.apiClient.callApi('/api/v2/testPlans', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
1153
|
+
return this.apiClient.callApi('/api/v2/testPlans', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
990
1154
|
}
|
|
991
1155
|
|
|
992
1156
|
/**
|
|
993
|
-
*
|
|
994
|
-
*
|
|
995
|
-
* @param {
|
|
996
|
-
* @param
|
|
997
|
-
* @
|
|
1157
|
+
* Create TestPlan
|
|
1158
|
+
* Use case User sets test plan properties (listed in request example) User runs method execution System creates test plan System returns test plan (listed in response example)
|
|
1159
|
+
* @param {Object} opts Optional parameters
|
|
1160
|
+
* @param {module:model/CreateTestPlanApiModel} opts.createTestPlanApiModel
|
|
1161
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestPlanModel}
|
|
998
1162
|
*/
|
|
1163
|
+
}, {
|
|
1164
|
+
key: "createTestPlan",
|
|
1165
|
+
value: function createTestPlan(opts) {
|
|
1166
|
+
return this.createTestPlanWithHttpInfo(opts).then(function (response_and_data) {
|
|
1167
|
+
return response_and_data.data;
|
|
1168
|
+
});
|
|
1169
|
+
}
|
|
999
1170
|
|
|
1000
1171
|
/**
|
|
1001
1172
|
* Delete TestPlan
|
|
1002
1173
|
* Use case User sets test plan identifier User runs method execution System delete test plan System returns no content response
|
|
1003
1174
|
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
1004
|
-
* @
|
|
1175
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1005
1176
|
*/
|
|
1006
1177
|
}, {
|
|
1007
|
-
key: "
|
|
1008
|
-
value: function
|
|
1178
|
+
key: "deleteTestPlanWithHttpInfo",
|
|
1179
|
+
value: function deleteTestPlanWithHttpInfo(id) {
|
|
1009
1180
|
var postBody = null;
|
|
1010
1181
|
// verify the required parameter 'id' is set
|
|
1011
1182
|
if (id === undefined || id === null) {
|
|
@@ -1021,27 +1192,32 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1021
1192
|
var contentTypes = [];
|
|
1022
1193
|
var accepts = ['application/json'];
|
|
1023
1194
|
var returnType = null;
|
|
1024
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
1195
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1025
1196
|
}
|
|
1026
1197
|
|
|
1027
1198
|
/**
|
|
1028
|
-
*
|
|
1029
|
-
*
|
|
1030
|
-
* @param {String}
|
|
1031
|
-
* @
|
|
1032
|
-
* @param {String} response The complete HTTP response.
|
|
1199
|
+
* Delete TestPlan
|
|
1200
|
+
* Use case User sets test plan identifier User runs method execution System delete test plan System returns no content response
|
|
1201
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
1202
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1033
1203
|
*/
|
|
1204
|
+
}, {
|
|
1205
|
+
key: "deleteTestPlan",
|
|
1206
|
+
value: function deleteTestPlan(id) {
|
|
1207
|
+
return this.deleteTestPlanWithHttpInfo(id).then(function (response_and_data) {
|
|
1208
|
+
return response_and_data.data;
|
|
1209
|
+
});
|
|
1210
|
+
}
|
|
1034
1211
|
|
|
1035
1212
|
/**
|
|
1036
1213
|
* Get TestPlan by Id
|
|
1037
1214
|
* Use case User sets test plan identifier User runs method execution System search test plan by the identifier System returns test plan
|
|
1038
1215
|
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
1039
|
-
* @
|
|
1040
|
-
* data is of type: {@link module:model/TestPlanModel}
|
|
1216
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestPlanModel} and HTTP response
|
|
1041
1217
|
*/
|
|
1042
1218
|
}, {
|
|
1043
|
-
key: "
|
|
1044
|
-
value: function
|
|
1219
|
+
key: "getTestPlanByIdWithHttpInfo",
|
|
1220
|
+
value: function getTestPlanByIdWithHttpInfo(id) {
|
|
1045
1221
|
var postBody = null;
|
|
1046
1222
|
// verify the required parameter 'id' is set
|
|
1047
1223
|
if (id === undefined || id === null) {
|
|
@@ -1057,27 +1233,32 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1057
1233
|
var contentTypes = [];
|
|
1058
1234
|
var accepts = ['application/json'];
|
|
1059
1235
|
var returnType = _TestPlanModel["default"];
|
|
1060
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
1236
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1061
1237
|
}
|
|
1062
1238
|
|
|
1063
1239
|
/**
|
|
1064
|
-
*
|
|
1065
|
-
*
|
|
1066
|
-
* @param {String}
|
|
1067
|
-
* @
|
|
1068
|
-
* @param {String} response The complete HTTP response.
|
|
1240
|
+
* Get TestPlan by Id
|
|
1241
|
+
* Use case User sets test plan identifier User runs method execution System search test plan by the identifier System returns test plan
|
|
1242
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
1243
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestPlanModel}
|
|
1069
1244
|
*/
|
|
1245
|
+
}, {
|
|
1246
|
+
key: "getTestPlanById",
|
|
1247
|
+
value: function getTestPlanById(id) {
|
|
1248
|
+
return this.getTestPlanByIdWithHttpInfo(id).then(function (response_and_data) {
|
|
1249
|
+
return response_and_data.data;
|
|
1250
|
+
});
|
|
1251
|
+
}
|
|
1070
1252
|
|
|
1071
1253
|
/**
|
|
1072
1254
|
* Get TestSuites Tree By Id
|
|
1073
1255
|
* Use case User sets test plan identifier User runs method execution System finds test suites related to the test plan System returns test suites as a tree model (listed in response example)
|
|
1074
1256
|
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
1075
|
-
* @
|
|
1076
|
-
* data is of type: {@link Array.<module:model/TestSuiteHierarchyApiResult>}
|
|
1257
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestSuiteHierarchyApiResult>} and HTTP response
|
|
1077
1258
|
*/
|
|
1078
1259
|
}, {
|
|
1079
|
-
key: "
|
|
1080
|
-
value: function
|
|
1260
|
+
key: "getTestSuitesByIdWithHttpInfo",
|
|
1261
|
+
value: function getTestSuitesByIdWithHttpInfo(id) {
|
|
1081
1262
|
var postBody = null;
|
|
1082
1263
|
// verify the required parameter 'id' is set
|
|
1083
1264
|
if (id === undefined || id === null) {
|
|
@@ -1093,26 +1274,32 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1093
1274
|
var contentTypes = [];
|
|
1094
1275
|
var accepts = ['application/json'];
|
|
1095
1276
|
var returnType = [_TestSuiteHierarchyApiResult["default"]];
|
|
1096
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/testSuites', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
1277
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/testSuites', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1097
1278
|
}
|
|
1098
1279
|
|
|
1099
1280
|
/**
|
|
1100
|
-
*
|
|
1101
|
-
*
|
|
1102
|
-
* @param {String}
|
|
1103
|
-
* @
|
|
1104
|
-
* @param {String} response The complete HTTP response.
|
|
1281
|
+
* Get TestSuites Tree By Id
|
|
1282
|
+
* Use case User sets test plan identifier User runs method execution System finds test suites related to the test plan System returns test suites as a tree model (listed in response example)
|
|
1283
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
1284
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestSuiteHierarchyApiResult>}
|
|
1105
1285
|
*/
|
|
1286
|
+
}, {
|
|
1287
|
+
key: "getTestSuitesById",
|
|
1288
|
+
value: function getTestSuitesById(id) {
|
|
1289
|
+
return this.getTestSuitesByIdWithHttpInfo(id).then(function (response_and_data) {
|
|
1290
|
+
return response_and_data.data;
|
|
1291
|
+
});
|
|
1292
|
+
}
|
|
1106
1293
|
|
|
1107
1294
|
/**
|
|
1108
1295
|
* Pause TestPlan
|
|
1109
1296
|
* Use case User sets test plan identifier User runs method execution System pauses the test plan and updates test plan status System returns no content response
|
|
1110
1297
|
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
1111
|
-
* @
|
|
1298
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1112
1299
|
*/
|
|
1113
1300
|
}, {
|
|
1114
|
-
key: "
|
|
1115
|
-
value: function
|
|
1301
|
+
key: "pauseWithHttpInfo",
|
|
1302
|
+
value: function pauseWithHttpInfo(id) {
|
|
1116
1303
|
var postBody = null;
|
|
1117
1304
|
// verify the required parameter 'id' is set
|
|
1118
1305
|
if (id === undefined || id === null) {
|
|
@@ -1128,25 +1315,31 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1128
1315
|
var contentTypes = [];
|
|
1129
1316
|
var accepts = ['application/json'];
|
|
1130
1317
|
var returnType = null;
|
|
1131
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/pause', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
1318
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/pause', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1132
1319
|
}
|
|
1133
1320
|
|
|
1134
1321
|
/**
|
|
1135
|
-
*
|
|
1136
|
-
*
|
|
1137
|
-
* @param {String}
|
|
1138
|
-
* @
|
|
1139
|
-
* @param {String} response The complete HTTP response.
|
|
1322
|
+
* Pause TestPlan
|
|
1323
|
+
* Use case User sets test plan identifier User runs method execution System pauses the test plan and updates test plan status System returns no content response
|
|
1324
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
1325
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1140
1326
|
*/
|
|
1327
|
+
}, {
|
|
1328
|
+
key: "pause",
|
|
1329
|
+
value: function pause(id) {
|
|
1330
|
+
return this.pauseWithHttpInfo(id).then(function (response_and_data) {
|
|
1331
|
+
return response_and_data.data;
|
|
1332
|
+
});
|
|
1333
|
+
}
|
|
1141
1334
|
|
|
1142
1335
|
/**
|
|
1143
1336
|
* Permanently delete test plan from archive
|
|
1144
1337
|
* @param {String} id Unique or global ID of the test plan
|
|
1145
|
-
* @
|
|
1338
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1146
1339
|
*/
|
|
1147
1340
|
}, {
|
|
1148
|
-
key: "
|
|
1149
|
-
value: function
|
|
1341
|
+
key: "purgeTestPlanWithHttpInfo",
|
|
1342
|
+
value: function purgeTestPlanWithHttpInfo(id) {
|
|
1150
1343
|
var postBody = null;
|
|
1151
1344
|
// verify the required parameter 'id' is set
|
|
1152
1345
|
if (id === undefined || id === null) {
|
|
@@ -1162,26 +1355,31 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1162
1355
|
var contentTypes = [];
|
|
1163
1356
|
var accepts = ['application/json'];
|
|
1164
1357
|
var returnType = null;
|
|
1165
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/purge', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
1358
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/purge', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1166
1359
|
}
|
|
1167
1360
|
|
|
1168
1361
|
/**
|
|
1169
|
-
*
|
|
1170
|
-
* @
|
|
1171
|
-
* @
|
|
1172
|
-
* @param data This operation does not return a value.
|
|
1173
|
-
* @param {String} response The complete HTTP response.
|
|
1362
|
+
* Permanently delete test plan from archive
|
|
1363
|
+
* @param {String} id Unique or global ID of the test plan
|
|
1364
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1174
1365
|
*/
|
|
1366
|
+
}, {
|
|
1367
|
+
key: "purgeTestPlan",
|
|
1368
|
+
value: function purgeTestPlan(id) {
|
|
1369
|
+
return this.purgeTestPlanWithHttpInfo(id).then(function (response_and_data) {
|
|
1370
|
+
return response_and_data.data;
|
|
1371
|
+
});
|
|
1372
|
+
}
|
|
1175
1373
|
|
|
1176
1374
|
/**
|
|
1177
1375
|
* Restore TestPlan
|
|
1178
1376
|
* Use case User sets test plan identifier User runs method execution System restores test plan System returns no content response
|
|
1179
1377
|
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
1180
|
-
* @
|
|
1378
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1181
1379
|
*/
|
|
1182
1380
|
}, {
|
|
1183
|
-
key: "
|
|
1184
|
-
value: function
|
|
1381
|
+
key: "restoreTestPlanWithHttpInfo",
|
|
1382
|
+
value: function restoreTestPlanWithHttpInfo(id) {
|
|
1185
1383
|
var postBody = null;
|
|
1186
1384
|
// verify the required parameter 'id' is set
|
|
1187
1385
|
if (id === undefined || id === null) {
|
|
@@ -1197,26 +1395,32 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1197
1395
|
var contentTypes = [];
|
|
1198
1396
|
var accepts = ['application/json'];
|
|
1199
1397
|
var returnType = null;
|
|
1200
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/restore', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
1398
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/restore', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1201
1399
|
}
|
|
1202
1400
|
|
|
1203
1401
|
/**
|
|
1204
|
-
*
|
|
1205
|
-
*
|
|
1206
|
-
* @param {String}
|
|
1207
|
-
* @
|
|
1208
|
-
* @param {String} response The complete HTTP response.
|
|
1402
|
+
* Restore TestPlan
|
|
1403
|
+
* Use case User sets test plan identifier User runs method execution System restores test plan System returns no content response
|
|
1404
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
1405
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1209
1406
|
*/
|
|
1407
|
+
}, {
|
|
1408
|
+
key: "restoreTestPlan",
|
|
1409
|
+
value: function restoreTestPlan(id) {
|
|
1410
|
+
return this.restoreTestPlanWithHttpInfo(id).then(function (response_and_data) {
|
|
1411
|
+
return response_and_data.data;
|
|
1412
|
+
});
|
|
1413
|
+
}
|
|
1210
1414
|
|
|
1211
1415
|
/**
|
|
1212
1416
|
* Start TestPlan
|
|
1213
1417
|
* Use case User sets test plan identifier User runs method execution System starts the test plan and updates test plan status System returns no content response
|
|
1214
1418
|
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
1215
|
-
* @
|
|
1419
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1216
1420
|
*/
|
|
1217
1421
|
}, {
|
|
1218
|
-
key: "
|
|
1219
|
-
value: function
|
|
1422
|
+
key: "startWithHttpInfo",
|
|
1423
|
+
value: function startWithHttpInfo(id) {
|
|
1220
1424
|
var postBody = null;
|
|
1221
1425
|
// verify the required parameter 'id' is set
|
|
1222
1426
|
if (id === undefined || id === null) {
|
|
@@ -1232,27 +1436,33 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1232
1436
|
var contentTypes = [];
|
|
1233
1437
|
var accepts = ['application/json'];
|
|
1234
1438
|
var returnType = null;
|
|
1235
|
-
return this.apiClient.callApi('/api/v2/testPlans/{id}/start', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
1439
|
+
return this.apiClient.callApi('/api/v2/testPlans/{id}/start', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1236
1440
|
}
|
|
1237
1441
|
|
|
1238
1442
|
/**
|
|
1239
|
-
*
|
|
1240
|
-
*
|
|
1241
|
-
* @param {String}
|
|
1242
|
-
* @
|
|
1243
|
-
* @param {String} response The complete HTTP response.
|
|
1443
|
+
* Start TestPlan
|
|
1444
|
+
* Use case User sets test plan identifier User runs method execution System starts the test plan and updates test plan status System returns no content response
|
|
1445
|
+
* @param {String} id Test plan internal (guid format) or global (int format) identifier
|
|
1446
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1244
1447
|
*/
|
|
1448
|
+
}, {
|
|
1449
|
+
key: "start",
|
|
1450
|
+
value: function start(id) {
|
|
1451
|
+
return this.startWithHttpInfo(id).then(function (response_and_data) {
|
|
1452
|
+
return response_and_data.data;
|
|
1453
|
+
});
|
|
1454
|
+
}
|
|
1245
1455
|
|
|
1246
1456
|
/**
|
|
1247
1457
|
* Update TestPlan
|
|
1248
1458
|
* Use case User sets test plan properties(listed in request example) User runs method execution System updates test plan System returns no content response
|
|
1249
1459
|
* @param {Object} opts Optional parameters
|
|
1250
1460
|
* @param {module:model/UpdateTestPlanApiModel} [updateTestPlanApiModel]
|
|
1251
|
-
* @
|
|
1461
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1252
1462
|
*/
|
|
1253
1463
|
}, {
|
|
1254
|
-
key: "
|
|
1255
|
-
value: function
|
|
1464
|
+
key: "updateTestPlanWithHttpInfo",
|
|
1465
|
+
value: function updateTestPlanWithHttpInfo(opts) {
|
|
1256
1466
|
opts = opts || {};
|
|
1257
1467
|
var postBody = opts['updateTestPlanApiModel'];
|
|
1258
1468
|
var pathParams = {};
|
|
@@ -1263,7 +1473,22 @@ var TestPlansApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1263
1473
|
var contentTypes = ['application/json'];
|
|
1264
1474
|
var accepts = ['application/json'];
|
|
1265
1475
|
var returnType = null;
|
|
1266
|
-
return this.apiClient.callApi('/api/v2/testPlans', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
1476
|
+
return this.apiClient.callApi('/api/v2/testPlans', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1477
|
+
}
|
|
1478
|
+
|
|
1479
|
+
/**
|
|
1480
|
+
* Update TestPlan
|
|
1481
|
+
* Use case User sets test plan properties(listed in request example) User runs method execution System updates test plan System returns no content response
|
|
1482
|
+
* @param {Object} opts Optional parameters
|
|
1483
|
+
* @param {module:model/UpdateTestPlanApiModel} opts.updateTestPlanApiModel
|
|
1484
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1485
|
+
*/
|
|
1486
|
+
}, {
|
|
1487
|
+
key: "updateTestPlan",
|
|
1488
|
+
value: function updateTestPlan(opts) {
|
|
1489
|
+
return this.updateTestPlanWithHttpInfo(opts).then(function (response_and_data) {
|
|
1490
|
+
return response_and_data.data;
|
|
1491
|
+
});
|
|
1267
1492
|
}
|
|
1268
1493
|
}]);
|
|
1269
1494
|
}();
|