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
|
@@ -40,7 +40,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
40
40
|
/**
|
|
41
41
|
* TestResults service.
|
|
42
42
|
* @module api/TestResultsApi
|
|
43
|
-
* @version 7.0.0-
|
|
43
|
+
* @version 7.0.0-rc2
|
|
44
44
|
*/
|
|
45
45
|
var TestResultsApi = exports["default"] = /*#__PURE__*/function () {
|
|
46
46
|
/**
|
|
@@ -55,24 +55,15 @@ var TestResultsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
55
55
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
/**
|
|
59
|
-
* Callback function to receive the result of the apiV2TestResultsExternalProjectsExternalProjectIdDefectsExternalFormsPost operation.
|
|
60
|
-
* @callback module:api/TestResultsApi~apiV2TestResultsExternalProjectsExternalProjectIdDefectsExternalFormsPostCallback
|
|
61
|
-
* @param {String} error Error message, if any.
|
|
62
|
-
* @param {module:model/GetExternalFormApiResult} data The data returned by the service call.
|
|
63
|
-
* @param {String} response The complete HTTP response.
|
|
64
|
-
*/
|
|
65
|
-
|
|
66
58
|
/**
|
|
67
59
|
* @param {String} externalProjectId
|
|
68
60
|
* @param {Object} opts Optional parameters
|
|
69
61
|
* @param {module:model/TestResultsSelectApiModel} [testResultsSelectApiModel]
|
|
70
|
-
* @
|
|
71
|
-
* data is of type: {@link module:model/GetExternalFormApiResult}
|
|
62
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetExternalFormApiResult} and HTTP response
|
|
72
63
|
*/
|
|
73
64
|
return _createClass(TestResultsApi, [{
|
|
74
|
-
key: "
|
|
75
|
-
value: function
|
|
65
|
+
key: "apiV2TestResultsExternalProjectsExternalProjectIdDefectsExternalFormsPostWithHttpInfo",
|
|
66
|
+
value: function apiV2TestResultsExternalProjectsExternalProjectIdDefectsExternalFormsPostWithHttpInfo(externalProjectId, opts) {
|
|
76
67
|
opts = opts || {};
|
|
77
68
|
var postBody = opts['testResultsSelectApiModel'];
|
|
78
69
|
// verify the required parameter 'externalProjectId' is set
|
|
@@ -89,27 +80,32 @@ var TestResultsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
89
80
|
var contentTypes = ['application/json'];
|
|
90
81
|
var accepts = ['application/json'];
|
|
91
82
|
var returnType = _GetExternalFormApiResult["default"];
|
|
92
|
-
return this.apiClient.callApi('/api/v2/testResults/external-projects/{externalProjectId}/defects/external-forms', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
83
|
+
return this.apiClient.callApi('/api/v2/testResults/external-projects/{externalProjectId}/defects/external-forms', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
93
84
|
}
|
|
94
85
|
|
|
95
86
|
/**
|
|
96
|
-
*
|
|
97
|
-
* @
|
|
98
|
-
* @param {
|
|
99
|
-
* @
|
|
100
|
-
* @param {String} response The complete HTTP response.
|
|
87
|
+
* @param {String} externalProjectId
|
|
88
|
+
* @param {Object} opts Optional parameters
|
|
89
|
+
* @param {module:model/TestResultsSelectApiModel} opts.testResultsSelectApiModel
|
|
90
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetExternalFormApiResult}
|
|
101
91
|
*/
|
|
92
|
+
}, {
|
|
93
|
+
key: "apiV2TestResultsExternalProjectsExternalProjectIdDefectsExternalFormsPost",
|
|
94
|
+
value: function apiV2TestResultsExternalProjectsExternalProjectIdDefectsExternalFormsPost(externalProjectId, opts) {
|
|
95
|
+
return this.apiV2TestResultsExternalProjectsExternalProjectIdDefectsExternalFormsPostWithHttpInfo(externalProjectId, opts).then(function (response_and_data) {
|
|
96
|
+
return response_and_data.data;
|
|
97
|
+
});
|
|
98
|
+
}
|
|
102
99
|
|
|
103
100
|
/**
|
|
104
101
|
* @param {String} externalProjectId
|
|
105
102
|
* @param {Object} opts Optional parameters
|
|
106
103
|
* @param {module:model/CreateDefectApiModel} [createDefectApiModel]
|
|
107
|
-
* @
|
|
108
|
-
* data is of type: {@link module:model/DefectApiModel}
|
|
104
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DefectApiModel} and HTTP response
|
|
109
105
|
*/
|
|
110
106
|
}, {
|
|
111
|
-
key: "
|
|
112
|
-
value: function
|
|
107
|
+
key: "apiV2TestResultsExternalProjectsExternalProjectIdDefectsPostWithHttpInfo",
|
|
108
|
+
value: function apiV2TestResultsExternalProjectsExternalProjectIdDefectsPostWithHttpInfo(externalProjectId, opts) {
|
|
113
109
|
opts = opts || {};
|
|
114
110
|
var postBody = opts['createDefectApiModel'];
|
|
115
111
|
// verify the required parameter 'externalProjectId' is set
|
|
@@ -126,26 +122,31 @@ var TestResultsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
126
122
|
var contentTypes = ['application/json'];
|
|
127
123
|
var accepts = ['application/json'];
|
|
128
124
|
var returnType = _DefectApiModel["default"];
|
|
129
|
-
return this.apiClient.callApi('/api/v2/testResults/external-projects/{externalProjectId}/defects', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
125
|
+
return this.apiClient.callApi('/api/v2/testResults/external-projects/{externalProjectId}/defects', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
130
126
|
}
|
|
131
127
|
|
|
132
128
|
/**
|
|
133
|
-
*
|
|
134
|
-
* @
|
|
135
|
-
* @param {
|
|
136
|
-
* @
|
|
137
|
-
* @param {String} response The complete HTTP response.
|
|
129
|
+
* @param {String} externalProjectId
|
|
130
|
+
* @param {Object} opts Optional parameters
|
|
131
|
+
* @param {module:model/CreateDefectApiModel} opts.createDefectApiModel
|
|
132
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DefectApiModel}
|
|
138
133
|
*/
|
|
134
|
+
}, {
|
|
135
|
+
key: "apiV2TestResultsExternalProjectsExternalProjectIdDefectsPost",
|
|
136
|
+
value: function apiV2TestResultsExternalProjectsExternalProjectIdDefectsPost(externalProjectId, opts) {
|
|
137
|
+
return this.apiV2TestResultsExternalProjectsExternalProjectIdDefectsPostWithHttpInfo(externalProjectId, opts).then(function (response_and_data) {
|
|
138
|
+
return response_and_data.data;
|
|
139
|
+
});
|
|
140
|
+
}
|
|
139
141
|
|
|
140
142
|
/**
|
|
141
143
|
* Get test result by ID aggregated with previous results
|
|
142
144
|
* @param {String} id Test result unique ID
|
|
143
|
-
* @
|
|
144
|
-
* data is of type: {@link module:model/TestResultResponse}
|
|
145
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestResultResponse} and HTTP response
|
|
145
146
|
*/
|
|
146
147
|
}, {
|
|
147
|
-
key: "
|
|
148
|
-
value: function
|
|
148
|
+
key: "apiV2TestResultsIdAggregatedGetWithHttpInfo",
|
|
149
|
+
value: function apiV2TestResultsIdAggregatedGetWithHttpInfo(id) {
|
|
149
150
|
var postBody = null;
|
|
150
151
|
// verify the required parameter 'id' is set
|
|
151
152
|
if (id === undefined || id === null) {
|
|
@@ -161,26 +162,31 @@ var TestResultsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
161
162
|
var contentTypes = [];
|
|
162
163
|
var accepts = ['application/json'];
|
|
163
164
|
var returnType = _TestResultResponse["default"];
|
|
164
|
-
return this.apiClient.callApi('/api/v2/testResults/{id}/aggregated', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
165
|
+
return this.apiClient.callApi('/api/v2/testResults/{id}/aggregated', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
165
166
|
}
|
|
166
167
|
|
|
167
168
|
/**
|
|
168
|
-
*
|
|
169
|
-
* @
|
|
170
|
-
* @
|
|
171
|
-
* @param data This operation does not return a value.
|
|
172
|
-
* @param {String} response The complete HTTP response.
|
|
169
|
+
* Get test result by ID aggregated with previous results
|
|
170
|
+
* @param {String} id Test result unique ID
|
|
171
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestResultResponse}
|
|
173
172
|
*/
|
|
173
|
+
}, {
|
|
174
|
+
key: "apiV2TestResultsIdAggregatedGet",
|
|
175
|
+
value: function apiV2TestResultsIdAggregatedGet(id) {
|
|
176
|
+
return this.apiV2TestResultsIdAggregatedGetWithHttpInfo(id).then(function (response_and_data) {
|
|
177
|
+
return response_and_data.data;
|
|
178
|
+
});
|
|
179
|
+
}
|
|
174
180
|
|
|
175
181
|
/**
|
|
176
182
|
* Attach file to the test result
|
|
177
183
|
* @param {String} id Test result unique ID
|
|
178
184
|
* @param {String} attachmentId Attachment unique ID
|
|
179
|
-
* @
|
|
185
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
180
186
|
*/
|
|
181
187
|
}, {
|
|
182
|
-
key: "
|
|
183
|
-
value: function
|
|
188
|
+
key: "apiV2TestResultsIdAttachmentsAttachmentIdPutWithHttpInfo",
|
|
189
|
+
value: function apiV2TestResultsIdAttachmentsAttachmentIdPutWithHttpInfo(id, attachmentId) {
|
|
184
190
|
var postBody = null;
|
|
185
191
|
// verify the required parameter 'id' is set
|
|
186
192
|
if (id === undefined || id === null) {
|
|
@@ -201,26 +207,31 @@ var TestResultsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
201
207
|
var contentTypes = [];
|
|
202
208
|
var accepts = ['application/json'];
|
|
203
209
|
var returnType = null;
|
|
204
|
-
return this.apiClient.callApi('/api/v2/testResults/{id}/attachments/{attachmentId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
210
|
+
return this.apiClient.callApi('/api/v2/testResults/{id}/attachments/{attachmentId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
205
211
|
}
|
|
206
212
|
|
|
207
213
|
/**
|
|
208
|
-
*
|
|
209
|
-
* @
|
|
210
|
-
* @param {String}
|
|
211
|
-
* @
|
|
212
|
-
* @param {String} response The complete HTTP response.
|
|
214
|
+
* Attach file to the test result
|
|
215
|
+
* @param {String} id Test result unique ID
|
|
216
|
+
* @param {String} attachmentId Attachment unique ID
|
|
217
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
213
218
|
*/
|
|
219
|
+
}, {
|
|
220
|
+
key: "apiV2TestResultsIdAttachmentsAttachmentIdPut",
|
|
221
|
+
value: function apiV2TestResultsIdAttachmentsAttachmentIdPut(id, attachmentId) {
|
|
222
|
+
return this.apiV2TestResultsIdAttachmentsAttachmentIdPutWithHttpInfo(id, attachmentId).then(function (response_and_data) {
|
|
223
|
+
return response_and_data.data;
|
|
224
|
+
});
|
|
225
|
+
}
|
|
214
226
|
|
|
215
227
|
/**
|
|
216
228
|
* Get test result attachments meta-information
|
|
217
229
|
* @param {String} id Test result unique ID
|
|
218
|
-
* @
|
|
219
|
-
* data is of type: {@link Array.<module:model/AttachmentApiResult>}
|
|
230
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AttachmentApiResult>} and HTTP response
|
|
220
231
|
*/
|
|
221
232
|
}, {
|
|
222
|
-
key: "
|
|
223
|
-
value: function
|
|
233
|
+
key: "apiV2TestResultsIdAttachmentsInfoGetWithHttpInfo",
|
|
234
|
+
value: function apiV2TestResultsIdAttachmentsInfoGetWithHttpInfo(id) {
|
|
224
235
|
var postBody = null;
|
|
225
236
|
// verify the required parameter 'id' is set
|
|
226
237
|
if (id === undefined || id === null) {
|
|
@@ -236,26 +247,30 @@ var TestResultsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
236
247
|
var contentTypes = [];
|
|
237
248
|
var accepts = ['application/json'];
|
|
238
249
|
var returnType = [_AttachmentApiResult["default"]];
|
|
239
|
-
return this.apiClient.callApi('/api/v2/testResults/{id}/attachments/info', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
250
|
+
return this.apiClient.callApi('/api/v2/testResults/{id}/attachments/info', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
240
251
|
}
|
|
241
252
|
|
|
242
253
|
/**
|
|
243
|
-
*
|
|
244
|
-
* @
|
|
245
|
-
* @
|
|
246
|
-
* @param {module:model/TestResultResponse} data The data returned by the service call.
|
|
247
|
-
* @param {String} response The complete HTTP response.
|
|
254
|
+
* Get test result attachments meta-information
|
|
255
|
+
* @param {String} id Test result unique ID
|
|
256
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AttachmentApiResult>}
|
|
248
257
|
*/
|
|
258
|
+
}, {
|
|
259
|
+
key: "apiV2TestResultsIdAttachmentsInfoGet",
|
|
260
|
+
value: function apiV2TestResultsIdAttachmentsInfoGet(id) {
|
|
261
|
+
return this.apiV2TestResultsIdAttachmentsInfoGetWithHttpInfo(id).then(function (response_and_data) {
|
|
262
|
+
return response_and_data.data;
|
|
263
|
+
});
|
|
264
|
+
}
|
|
249
265
|
|
|
250
266
|
/**
|
|
251
267
|
* Get test result by ID
|
|
252
268
|
* @param {String} id Test result unique ID
|
|
253
|
-
* @
|
|
254
|
-
* data is of type: {@link module:model/TestResultResponse}
|
|
269
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestResultResponse} and HTTP response
|
|
255
270
|
*/
|
|
256
271
|
}, {
|
|
257
|
-
key: "
|
|
258
|
-
value: function
|
|
272
|
+
key: "apiV2TestResultsIdGetWithHttpInfo",
|
|
273
|
+
value: function apiV2TestResultsIdGetWithHttpInfo(id) {
|
|
259
274
|
var postBody = null;
|
|
260
275
|
// verify the required parameter 'id' is set
|
|
261
276
|
if (id === undefined || id === null) {
|
|
@@ -271,27 +286,32 @@ var TestResultsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
271
286
|
var contentTypes = [];
|
|
272
287
|
var accepts = ['application/json'];
|
|
273
288
|
var returnType = _TestResultResponse["default"];
|
|
274
|
-
return this.apiClient.callApi('/api/v2/testResults/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
289
|
+
return this.apiClient.callApi('/api/v2/testResults/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
275
290
|
}
|
|
276
291
|
|
|
277
292
|
/**
|
|
278
|
-
*
|
|
279
|
-
* @
|
|
280
|
-
* @
|
|
281
|
-
* @param data This operation does not return a value.
|
|
282
|
-
* @param {String} response The complete HTTP response.
|
|
293
|
+
* Get test result by ID
|
|
294
|
+
* @param {String} id Test result unique ID
|
|
295
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestResultResponse}
|
|
283
296
|
*/
|
|
297
|
+
}, {
|
|
298
|
+
key: "apiV2TestResultsIdGet",
|
|
299
|
+
value: function apiV2TestResultsIdGet(id) {
|
|
300
|
+
return this.apiV2TestResultsIdGetWithHttpInfo(id).then(function (response_and_data) {
|
|
301
|
+
return response_and_data.data;
|
|
302
|
+
});
|
|
303
|
+
}
|
|
284
304
|
|
|
285
305
|
/**
|
|
286
306
|
* Edit test result by ID
|
|
287
307
|
* @param {String} id Test result unique ID
|
|
288
308
|
* @param {Object} opts Optional parameters
|
|
289
309
|
* @param {module:model/TestResultUpdateV2Request} [testResultUpdateV2Request]
|
|
290
|
-
* @
|
|
310
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
291
311
|
*/
|
|
292
312
|
}, {
|
|
293
|
-
key: "
|
|
294
|
-
value: function
|
|
313
|
+
key: "apiV2TestResultsIdPutWithHttpInfo",
|
|
314
|
+
value: function apiV2TestResultsIdPutWithHttpInfo(id, opts) {
|
|
295
315
|
opts = opts || {};
|
|
296
316
|
var postBody = opts['testResultUpdateV2Request'];
|
|
297
317
|
// verify the required parameter 'id' is set
|
|
@@ -308,26 +328,32 @@ var TestResultsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
308
328
|
var contentTypes = ['application/json'];
|
|
309
329
|
var accepts = ['application/json'];
|
|
310
330
|
var returnType = null;
|
|
311
|
-
return this.apiClient.callApi('/api/v2/testResults/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
331
|
+
return this.apiClient.callApi('/api/v2/testResults/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
312
332
|
}
|
|
313
333
|
|
|
314
334
|
/**
|
|
315
|
-
*
|
|
316
|
-
* @
|
|
317
|
-
* @param {
|
|
318
|
-
* @param {module:model/
|
|
319
|
-
* @
|
|
335
|
+
* Edit test result by ID
|
|
336
|
+
* @param {String} id Test result unique ID
|
|
337
|
+
* @param {Object} opts Optional parameters
|
|
338
|
+
* @param {module:model/TestResultUpdateV2Request} opts.testResultUpdateV2Request
|
|
339
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
320
340
|
*/
|
|
341
|
+
}, {
|
|
342
|
+
key: "apiV2TestResultsIdPut",
|
|
343
|
+
value: function apiV2TestResultsIdPut(id, opts) {
|
|
344
|
+
return this.apiV2TestResultsIdPutWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
345
|
+
return response_and_data.data;
|
|
346
|
+
});
|
|
347
|
+
}
|
|
321
348
|
|
|
322
349
|
/**
|
|
323
350
|
* Get reruns
|
|
324
351
|
* @param {String} id Test result unique ID
|
|
325
|
-
* @
|
|
326
|
-
* data is of type: {@link module:model/RerunsModel}
|
|
352
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/RerunsModel} and HTTP response
|
|
327
353
|
*/
|
|
328
354
|
}, {
|
|
329
|
-
key: "
|
|
330
|
-
value: function
|
|
355
|
+
key: "apiV2TestResultsIdRerunsGetWithHttpInfo",
|
|
356
|
+
value: function apiV2TestResultsIdRerunsGetWithHttpInfo(id) {
|
|
331
357
|
var postBody = null;
|
|
332
358
|
// verify the required parameter 'id' is set
|
|
333
359
|
if (id === undefined || id === null) {
|
|
@@ -343,16 +369,21 @@ var TestResultsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
343
369
|
var contentTypes = [];
|
|
344
370
|
var accepts = ['application/json'];
|
|
345
371
|
var returnType = _RerunsModel["default"];
|
|
346
|
-
return this.apiClient.callApi('/api/v2/testResults/{id}/reruns', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
372
|
+
return this.apiClient.callApi('/api/v2/testResults/{id}/reruns', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
347
373
|
}
|
|
348
374
|
|
|
349
375
|
/**
|
|
350
|
-
*
|
|
351
|
-
* @
|
|
352
|
-
* @
|
|
353
|
-
* @param {Array.<module:model/TestResultShortResponse>} data The data returned by the service call.
|
|
354
|
-
* @param {String} response The complete HTTP response.
|
|
376
|
+
* Get reruns
|
|
377
|
+
* @param {String} id Test result unique ID
|
|
378
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/RerunsModel}
|
|
355
379
|
*/
|
|
380
|
+
}, {
|
|
381
|
+
key: "apiV2TestResultsIdRerunsGet",
|
|
382
|
+
value: function apiV2TestResultsIdRerunsGet(id) {
|
|
383
|
+
return this.apiV2TestResultsIdRerunsGetWithHttpInfo(id).then(function (response_and_data) {
|
|
384
|
+
return response_and_data.data;
|
|
385
|
+
});
|
|
386
|
+
}
|
|
356
387
|
|
|
357
388
|
/**
|
|
358
389
|
* Search for test results
|
|
@@ -363,12 +394,11 @@ var TestResultsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
363
394
|
* @param {String} [searchField] Property name for searching
|
|
364
395
|
* @param {String} [searchValue] Value for searching
|
|
365
396
|
* @param {module:model/TestResultsFilterApiModel} [testResultsFilterApiModel]
|
|
366
|
-
* @
|
|
367
|
-
* data is of type: {@link Array.<module:model/TestResultShortResponse>}
|
|
397
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestResultShortResponse>} and HTTP response
|
|
368
398
|
*/
|
|
369
399
|
}, {
|
|
370
|
-
key: "
|
|
371
|
-
value: function
|
|
400
|
+
key: "apiV2TestResultsSearchPostWithHttpInfo",
|
|
401
|
+
value: function apiV2TestResultsSearchPostWithHttpInfo(opts) {
|
|
372
402
|
opts = opts || {};
|
|
373
403
|
var postBody = opts['testResultsFilterApiModel'];
|
|
374
404
|
var pathParams = {};
|
|
@@ -385,27 +415,37 @@ var TestResultsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
385
415
|
var contentTypes = ['application/json'];
|
|
386
416
|
var accepts = ['application/json'];
|
|
387
417
|
var returnType = [_TestResultShortResponse["default"]];
|
|
388
|
-
return this.apiClient.callApi('/api/v2/testResults/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
418
|
+
return this.apiClient.callApi('/api/v2/testResults/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
389
419
|
}
|
|
390
420
|
|
|
391
421
|
/**
|
|
392
|
-
*
|
|
393
|
-
* @
|
|
394
|
-
* @param {
|
|
395
|
-
* @param {
|
|
396
|
-
* @param {String}
|
|
422
|
+
* Search for test results
|
|
423
|
+
* @param {Object} opts Optional parameters
|
|
424
|
+
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
425
|
+
* @param {Number} opts.take Amount of items to be taken (limit)
|
|
426
|
+
* @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
427
|
+
* @param {String} opts.searchField Property name for searching
|
|
428
|
+
* @param {String} opts.searchValue Value for searching
|
|
429
|
+
* @param {module:model/TestResultsFilterApiModel} opts.testResultsFilterApiModel
|
|
430
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestResultShortResponse>}
|
|
397
431
|
*/
|
|
432
|
+
}, {
|
|
433
|
+
key: "apiV2TestResultsSearchPost",
|
|
434
|
+
value: function apiV2TestResultsSearchPost(opts) {
|
|
435
|
+
return this.apiV2TestResultsSearchPostWithHttpInfo(opts).then(function (response_and_data) {
|
|
436
|
+
return response_and_data.data;
|
|
437
|
+
});
|
|
438
|
+
}
|
|
398
439
|
|
|
399
440
|
/**
|
|
400
441
|
* Search for test results and extract statistics
|
|
401
442
|
* @param {Object} opts Optional parameters
|
|
402
443
|
* @param {module:model/TestResultsFilterApiModel} [testResultsFilterApiModel]
|
|
403
|
-
* @
|
|
404
|
-
* data is of type: {@link module:model/TestResultsStatisticsApiResult}
|
|
444
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/TestResultsStatisticsApiResult} and HTTP response
|
|
405
445
|
*/
|
|
406
446
|
}, {
|
|
407
|
-
key: "
|
|
408
|
-
value: function
|
|
447
|
+
key: "apiV2TestResultsStatisticsFilterPostWithHttpInfo",
|
|
448
|
+
value: function apiV2TestResultsStatisticsFilterPostWithHttpInfo(opts) {
|
|
409
449
|
opts = opts || {};
|
|
410
450
|
var postBody = opts['testResultsFilterApiModel'];
|
|
411
451
|
var pathParams = {};
|
|
@@ -416,16 +456,22 @@ var TestResultsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
416
456
|
var contentTypes = ['application/json'];
|
|
417
457
|
var accepts = ['application/json'];
|
|
418
458
|
var returnType = _TestResultsStatisticsApiResult["default"];
|
|
419
|
-
return this.apiClient.callApi('/api/v2/testResults/statistics/filter', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
459
|
+
return this.apiClient.callApi('/api/v2/testResults/statistics/filter', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
420
460
|
}
|
|
421
461
|
|
|
422
462
|
/**
|
|
423
|
-
*
|
|
424
|
-
* @
|
|
425
|
-
* @param {
|
|
426
|
-
* @
|
|
427
|
-
* @param {String} response The complete HTTP response.
|
|
463
|
+
* Search for test results and extract statistics
|
|
464
|
+
* @param {Object} opts Optional parameters
|
|
465
|
+
* @param {module:model/TestResultsFilterApiModel} opts.testResultsFilterApiModel
|
|
466
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/TestResultsStatisticsApiResult}
|
|
428
467
|
*/
|
|
468
|
+
}, {
|
|
469
|
+
key: "apiV2TestResultsStatisticsFilterPost",
|
|
470
|
+
value: function apiV2TestResultsStatisticsFilterPost(opts) {
|
|
471
|
+
return this.apiV2TestResultsStatisticsFilterPostWithHttpInfo(opts).then(function (response_and_data) {
|
|
472
|
+
return response_and_data.data;
|
|
473
|
+
});
|
|
474
|
+
}
|
|
429
475
|
|
|
430
476
|
/**
|
|
431
477
|
* Upload and link attachment to TestResult
|
|
@@ -433,11 +479,11 @@ var TestResultsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
433
479
|
* @param {String} id Test result internal identifier (guid format)
|
|
434
480
|
* @param {Object} opts Optional parameters
|
|
435
481
|
* @param {File} [file] Select file
|
|
436
|
-
* @
|
|
482
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
437
483
|
*/
|
|
438
484
|
}, {
|
|
439
|
-
key: "
|
|
440
|
-
value: function
|
|
485
|
+
key: "createAttachmentWithHttpInfo",
|
|
486
|
+
value: function createAttachmentWithHttpInfo(id, opts) {
|
|
441
487
|
opts = opts || {};
|
|
442
488
|
var postBody = null;
|
|
443
489
|
// verify the required parameter 'id' is set
|
|
@@ -456,27 +502,35 @@ var TestResultsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
456
502
|
var contentTypes = ['multipart/form-data'];
|
|
457
503
|
var accepts = ['application/json'];
|
|
458
504
|
var returnType = null;
|
|
459
|
-
return this.apiClient.callApi('/api/v2/testResults/{id}/attachments', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
505
|
+
return this.apiClient.callApi('/api/v2/testResults/{id}/attachments', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
460
506
|
}
|
|
461
507
|
|
|
462
508
|
/**
|
|
463
|
-
*
|
|
464
|
-
*
|
|
465
|
-
* @param {String}
|
|
466
|
-
* @param
|
|
467
|
-
* @param {
|
|
509
|
+
* Upload and link attachment to TestResult
|
|
510
|
+
* Use case User sets testResultId User attaches a file System creates attachment and links it to the test result System returns attachment identifier
|
|
511
|
+
* @param {String} id Test result internal identifier (guid format)
|
|
512
|
+
* @param {Object} opts Optional parameters
|
|
513
|
+
* @param {File} opts.file Select file
|
|
514
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
468
515
|
*/
|
|
516
|
+
}, {
|
|
517
|
+
key: "createAttachment",
|
|
518
|
+
value: function createAttachment(id, opts) {
|
|
519
|
+
return this.createAttachmentWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
520
|
+
return response_and_data.data;
|
|
521
|
+
});
|
|
522
|
+
}
|
|
469
523
|
|
|
470
524
|
/**
|
|
471
525
|
* Remove attachment and unlink from TestResult
|
|
472
526
|
* Use case User sets testResultId and attachmentId User attaches a file User runs method execution System deletes attachment and unlinks it from the test result System returns attachment identifier
|
|
473
527
|
* @param {String} id Test result internal identifier (guid format)
|
|
474
528
|
* @param {String} attachmentId Attachment internal identifier (guid format)
|
|
475
|
-
* @
|
|
529
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
476
530
|
*/
|
|
477
531
|
}, {
|
|
478
|
-
key: "
|
|
479
|
-
value: function
|
|
532
|
+
key: "deleteAttachmentWithHttpInfo",
|
|
533
|
+
value: function deleteAttachmentWithHttpInfo(id, attachmentId) {
|
|
480
534
|
var postBody = null;
|
|
481
535
|
// verify the required parameter 'id' is set
|
|
482
536
|
if (id === undefined || id === null) {
|
|
@@ -497,16 +551,23 @@ var TestResultsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
497
551
|
var contentTypes = [];
|
|
498
552
|
var accepts = ['application/json'];
|
|
499
553
|
var returnType = null;
|
|
500
|
-
return this.apiClient.callApi('/api/v2/testResults/{id}/attachments/{attachmentId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
554
|
+
return this.apiClient.callApi('/api/v2/testResults/{id}/attachments/{attachmentId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
501
555
|
}
|
|
502
556
|
|
|
503
557
|
/**
|
|
504
|
-
*
|
|
505
|
-
*
|
|
506
|
-
* @param {String}
|
|
507
|
-
* @param
|
|
508
|
-
* @
|
|
558
|
+
* Remove attachment and unlink from TestResult
|
|
559
|
+
* Use case User sets testResultId and attachmentId User attaches a file User runs method execution System deletes attachment and unlinks it from the test result System returns attachment identifier
|
|
560
|
+
* @param {String} id Test result internal identifier (guid format)
|
|
561
|
+
* @param {String} attachmentId Attachment internal identifier (guid format)
|
|
562
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
509
563
|
*/
|
|
564
|
+
}, {
|
|
565
|
+
key: "deleteAttachment",
|
|
566
|
+
value: function deleteAttachment(id, attachmentId) {
|
|
567
|
+
return this.deleteAttachmentWithHttpInfo(id, attachmentId).then(function (response_and_data) {
|
|
568
|
+
return response_and_data.data;
|
|
569
|
+
});
|
|
570
|
+
}
|
|
510
571
|
|
|
511
572
|
/**
|
|
512
573
|
* Get attachment of TestResult
|
|
@@ -519,11 +580,11 @@ var TestResultsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
519
580
|
* @param {module:model/ImageResizeType} [resizeType] Type of resizing to apply to the result image
|
|
520
581
|
* @param {String} [backgroundColor] Color of the background if the `resizeType` is `AddBackgroundStripes`
|
|
521
582
|
* @param {Boolean} [preview] If image must be converted to a preview (lower quality, no animation)
|
|
522
|
-
* @
|
|
583
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
523
584
|
*/
|
|
524
585
|
}, {
|
|
525
|
-
key: "
|
|
526
|
-
value: function
|
|
586
|
+
key: "downloadAttachmentWithHttpInfo",
|
|
587
|
+
value: function downloadAttachmentWithHttpInfo(attachmentId, id, opts) {
|
|
527
588
|
opts = opts || {};
|
|
528
589
|
var postBody = null;
|
|
529
590
|
// verify the required parameter 'attachmentId' is set
|
|
@@ -551,28 +612,40 @@ var TestResultsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
551
612
|
var contentTypes = [];
|
|
552
613
|
var accepts = ['application/json'];
|
|
553
614
|
var returnType = null;
|
|
554
|
-
return this.apiClient.callApi('/api/v2/testResults/{id}/attachments/{attachmentId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
615
|
+
return this.apiClient.callApi('/api/v2/testResults/{id}/attachments/{attachmentId}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
555
616
|
}
|
|
556
617
|
|
|
557
618
|
/**
|
|
558
|
-
*
|
|
559
|
-
*
|
|
560
|
-
* @param {String}
|
|
561
|
-
* @param {
|
|
562
|
-
* @param {
|
|
619
|
+
* Get attachment of TestResult
|
|
620
|
+
* Use case User sets attachmentId and testResultId [Optional] User sets resize configuration User runs method execution System search attachments by the attachmentId and the testResultId [Optional] If resize configuration is set, System resizes the attachment according to the resize configuration [Optional] Otherwise, System does not resize the attachment System returns attachment as a file
|
|
621
|
+
* @param {String} attachmentId Attachment internal identifier (guid format)
|
|
622
|
+
* @param {String} id Test result internal identifier (guid format)
|
|
623
|
+
* @param {Object} opts Optional parameters
|
|
624
|
+
* @param {Number} opts.width Width of the result image
|
|
625
|
+
* @param {Number} opts.height Height of the result image
|
|
626
|
+
* @param {module:model/ImageResizeType} opts.resizeType Type of resizing to apply to the result image
|
|
627
|
+
* @param {String} opts.backgroundColor Color of the background if the `resizeType` is `AddBackgroundStripes`
|
|
628
|
+
* @param {Boolean} opts.preview If image must be converted to a preview (lower quality, no animation)
|
|
629
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
563
630
|
*/
|
|
631
|
+
}, {
|
|
632
|
+
key: "downloadAttachment",
|
|
633
|
+
value: function downloadAttachment(attachmentId, id, opts) {
|
|
634
|
+
return this.downloadAttachmentWithHttpInfo(attachmentId, id, opts).then(function (response_and_data) {
|
|
635
|
+
return response_and_data.data;
|
|
636
|
+
});
|
|
637
|
+
}
|
|
564
638
|
|
|
565
639
|
/**
|
|
566
640
|
* Get Metadata of TestResult's attachment
|
|
567
641
|
* Use case User sets attachmentId and testResultId User runs method execution System search attachment by the attachmentId and the testResultId System returns attachment data
|
|
568
642
|
* @param {String} id Test result internal identifier (guid format)
|
|
569
643
|
* @param {String} attachmentId Attachment internal identifier (guid format)
|
|
570
|
-
* @
|
|
571
|
-
* data is of type: {@link module:model/AttachmentApiResult}
|
|
644
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AttachmentApiResult} and HTTP response
|
|
572
645
|
*/
|
|
573
646
|
}, {
|
|
574
|
-
key: "
|
|
575
|
-
value: function
|
|
647
|
+
key: "getAttachmentWithHttpInfo",
|
|
648
|
+
value: function getAttachmentWithHttpInfo(id, attachmentId) {
|
|
576
649
|
var postBody = null;
|
|
577
650
|
// verify the required parameter 'id' is set
|
|
578
651
|
if (id === undefined || id === null) {
|
|
@@ -593,27 +666,33 @@ var TestResultsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
593
666
|
var contentTypes = [];
|
|
594
667
|
var accepts = ['application/json'];
|
|
595
668
|
var returnType = _AttachmentApiResult["default"];
|
|
596
|
-
return this.apiClient.callApi('/api/v2/testResults/{id}/attachments/{attachmentId}/info', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
669
|
+
return this.apiClient.callApi('/api/v2/testResults/{id}/attachments/{attachmentId}/info', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
597
670
|
}
|
|
598
671
|
|
|
599
672
|
/**
|
|
600
|
-
*
|
|
601
|
-
*
|
|
602
|
-
* @param {String}
|
|
603
|
-
* @param {
|
|
604
|
-
* @
|
|
673
|
+
* Get Metadata of TestResult's attachment
|
|
674
|
+
* Use case User sets attachmentId and testResultId User runs method execution System search attachment by the attachmentId and the testResultId System returns attachment data
|
|
675
|
+
* @param {String} id Test result internal identifier (guid format)
|
|
676
|
+
* @param {String} attachmentId Attachment internal identifier (guid format)
|
|
677
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AttachmentApiResult}
|
|
605
678
|
*/
|
|
679
|
+
}, {
|
|
680
|
+
key: "getAttachment",
|
|
681
|
+
value: function getAttachment(id, attachmentId) {
|
|
682
|
+
return this.getAttachmentWithHttpInfo(id, attachmentId).then(function (response_and_data) {
|
|
683
|
+
return response_and_data.data;
|
|
684
|
+
});
|
|
685
|
+
}
|
|
606
686
|
|
|
607
687
|
/**
|
|
608
688
|
* Get all attachments of TestResult
|
|
609
689
|
* Use case User sets testResultId User runs method execution System search all attachments of the test result System returns attachments enumeration
|
|
610
690
|
* @param {String} id Test result internal identifier (guid format)
|
|
611
|
-
* @
|
|
612
|
-
* data is of type: {@link Array.<module:model/AttachmentApiResult>}
|
|
691
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AttachmentApiResult>} and HTTP response
|
|
613
692
|
*/
|
|
614
693
|
}, {
|
|
615
|
-
key: "
|
|
616
|
-
value: function
|
|
694
|
+
key: "getAttachmentsWithHttpInfo",
|
|
695
|
+
value: function getAttachmentsWithHttpInfo(id) {
|
|
617
696
|
var postBody = null;
|
|
618
697
|
// verify the required parameter 'id' is set
|
|
619
698
|
if (id === undefined || id === null) {
|
|
@@ -629,7 +708,21 @@ var TestResultsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
629
708
|
var contentTypes = [];
|
|
630
709
|
var accepts = ['application/json'];
|
|
631
710
|
var returnType = [_AttachmentApiResult["default"]];
|
|
632
|
-
return this.apiClient.callApi('/api/v2/testResults/{id}/attachments', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
711
|
+
return this.apiClient.callApi('/api/v2/testResults/{id}/attachments', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* Get all attachments of TestResult
|
|
716
|
+
* Use case User sets testResultId User runs method execution System search all attachments of the test result System returns attachments enumeration
|
|
717
|
+
* @param {String} id Test result internal identifier (guid format)
|
|
718
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AttachmentApiResult>}
|
|
719
|
+
*/
|
|
720
|
+
}, {
|
|
721
|
+
key: "getAttachments",
|
|
722
|
+
value: function getAttachments(id) {
|
|
723
|
+
return this.getAttachmentsWithHttpInfo(id).then(function (response_and_data) {
|
|
724
|
+
return response_and_data.data;
|
|
725
|
+
});
|
|
633
726
|
}
|
|
634
727
|
}]);
|
|
635
728
|
}();
|