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