testit-api-client 7.2.6 → 7.3.0-TMS-5.8
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 +85 -13
- package/dist/api/AIServicesAPIApi.js +92 -0
- package/dist/api/AttachmentsApi.js +8 -8
- package/dist/api/AutoTestsApi.js +55 -55
- package/dist/api/BackgroundJobsApi.js +7 -7
- package/dist/api/ConfigurationsApi.js +17 -17
- package/dist/api/CustomAttributeTemplatesApi.js +24 -24
- package/dist/api/CustomAttributesApi.js +7 -7
- package/dist/api/ExternalIssuesApi.js +6 -6
- package/dist/api/{SearchApi.js → ExternalServicesApi.js} +24 -28
- package/dist/api/FailureCategoriesApi.js +617 -0
- package/dist/api/NotificationsApi.js +16 -16
- package/dist/api/OpenIdConnectionsApi.js +2 -2
- package/dist/api/ParametersApi.js +38 -38
- package/dist/api/ProjectAttributeTemplatesApi.js +8 -8
- package/dist/api/ProjectAttributesApi.js +15 -15
- package/dist/api/ProjectConfigurationsApi.js +4 -4
- package/dist/api/ProjectExternalServicesApi.js +339 -0
- package/dist/api/ProjectFailureCategoriesApi.js +275 -0
- package/dist/api/ProjectSectionsApi.js +4 -4
- package/dist/api/ProjectSettingsApi.js +3 -3
- package/dist/api/ProjectTestPlanAttributesApi.js +14 -14
- package/dist/api/ProjectTestPlanTestPointsApi.js +164 -6
- package/dist/api/ProjectTestPlansApi.js +13 -13
- package/dist/api/ProjectWorkItemsApi.js +107 -20
- package/dist/api/ProjectsApi.js +65 -96
- package/dist/api/RolesApi.js +76 -0
- package/dist/api/SectionsApi.js +21 -21
- package/dist/api/TagsApi.js +19 -19
- package/dist/api/TestPlansApi.js +128 -128
- package/dist/api/TestPointsApi.js +5 -5
- package/dist/api/TestResultsApi.js +73 -26
- package/dist/api/TestRunsApi.js +102 -55
- package/dist/api/TestStatusesApi.js +12 -12
- package/dist/api/TestSuitesApi.js +28 -28
- package/dist/api/UserRoleAssignmentsApi.js +134 -0
- package/dist/api/UserStoragesApi.js +120 -0
- package/dist/api/UsersApi.js +112 -2
- package/dist/api/WebhooksApi.js +11 -11
- package/dist/api/WebhooksLogsApi.js +4 -4
- package/dist/api/WorkItemsApi.js +165 -118
- package/dist/api/WorkItemsCommentsApi.js +10 -10
- package/dist/api/WorkflowsApi.js +17 -17
- package/dist/index.js +251 -48
- package/dist/model/AIServiceModelApiResult.js +1 -1
- package/dist/model/AIServiceModelApiResultGroup.js +156 -0
- package/dist/model/AIServiceModelApiResultGroupedReply.js +140 -0
- package/dist/model/AIServiceModelApiResultIReply.js +157 -0
- package/dist/model/AIServiceModelApiResultReply.js +1 -1
- package/dist/model/AssignAttachmentApiModel.js +1 -1
- package/dist/model/{Link.js → AssignAutoTestCaseIdApiModel.js} +24 -84
- 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 +2 -2
- package/dist/model/AttachmentUpdateRequest.js +1 -1
- package/dist/model/AuditApiResult.js +1 -1
- package/dist/model/AutoTest.js +5 -5
- 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/{DemoProjectApiResult.js → AutoTestCaseApiModel.js} +29 -29
- package/dist/model/AutoTestCaseModel.js +112 -0
- 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 +49 -5
- package/dist/model/AutoTestProjectSettingsApiResult.js +49 -5
- package/dist/model/AutoTestResultHistoryApiResult.js +1 -1
- package/dist/model/AutoTestResultHistorySelectApiModel.js +1 -1
- package/dist/model/AutoTestResultReasonShort.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 +2 -2
- package/dist/model/AutoTestStepResultUpdateRequest.js +2 -2
- 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 +3 -3
- package/dist/model/CreateFailureCategoryApiModel.js +1 -1
- package/dist/model/CreateFailureClassRegexApiModel.js +1 -1
- package/dist/model/CreateLinkApiModel.js +7 -5
- 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/CreateUserApiModel.js +204 -0
- package/dist/model/CreateWorkItemApiModel.js +15 -27
- package/dist/model/CreateWorkItemCommentApiModel.js +1 -1
- package/dist/model/CreateWorkItemPreviewsApiModel.js +1 -1
- package/dist/model/CreateWorkflowApiModel.js +1 -1
- package/dist/model/CustomAttributeApiResult.js +33 -7
- package/dist/model/CustomAttributeChangeModel.js +1 -1
- package/dist/model/CustomAttributeGetModel.js +1 -1
- package/dist/model/CustomAttributeModel.js +33 -7
- 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 +2 -2
- package/dist/model/CustomAttributePutModel.js +2 -2
- package/dist/model/CustomAttributeSearchQueryModel.js +1 -1
- package/dist/model/CustomAttributeSearchResponseModel.js +33 -7
- 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/{ProjectModel.js → DetailedProjectApiResult.js} +82 -71
- 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/{GlobalSearchResponse.js → ExternalIssueApiFieldSuggestionGroup.js} +51 -49
- package/dist/model/ExternalIssueApiFieldSuggestionGroupedReply.js +140 -0
- package/dist/model/ExternalIssueApiFieldSuggestionIReply.js +157 -0
- 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 -14
- 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 → GetXlsxTestPointsByTestPlanApiModel.js} +81 -35
- package/dist/model/GlobalCustomAttributePostModel.js +2 -2
- package/dist/model/GlobalCustomAttributeUpdateModel.js +2 -2
- package/dist/model/{GlobalSearchItemResult.js → Group.js} +34 -68
- package/dist/model/GroupKey.js +124 -0
- package/dist/model/GuidChangedFieldViewModel.js +1 -1
- package/dist/model/GuidExtractionModel.js +1 -1
- package/dist/model/GuidNullableChangedFieldViewModel.js +101 -0
- package/dist/model/IFilter.js +1 -1
- package/dist/model/Inquiry.js +16 -2
- 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/LinkApiResult.js +7 -5
- package/dist/model/LinkCreateApiModel.js +7 -5
- package/dist/model/LinkModel.js +7 -5
- package/dist/model/LinkPostModel.js +7 -5
- package/dist/model/LinkPutModel.js +7 -5
- package/dist/model/LinkShortApiResult.js +5 -9
- package/dist/model/LinkShortModel.js +10 -13
- package/dist/model/LinkUpdateApiModel.js +7 -5
- 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/OpenIdConnectionClientShortModel.js +1 -1
- package/dist/model/OpenIdConnectionSettingsShortClientModel.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 +13 -1
- package/dist/model/ParameterShortApiResult.js +1 -1
- package/dist/model/ParameterShortModel.js +13 -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 +12 -71
- 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/ProjectNameApiResult.js +1 -1
- package/dist/model/ProjectSelectModel.js +1 -1
- package/dist/model/ProjectShortApiResult.js +1 -1
- package/dist/model/ProjectShortApiResultGroup.js +156 -0
- package/dist/model/ProjectShortApiResultGroupedReply.js +140 -0
- package/dist/model/ProjectShortApiResultIReply.js +157 -0
- package/dist/model/ProjectShortApiResultReply.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/RerunsApiResult.js +1 -1
- package/dist/model/{GlobalSearchRequest.js → RoleApiModel.js} +42 -50
- package/dist/model/RoleApiModelApiCollection.js +142 -0
- 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 +5 -4
- 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/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 +2 -2
- 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 +2 -2
- package/dist/model/TestPointShortModel.js +2 -2
- 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 +8 -8
- package/dist/model/TestResultLinkApiResult.js +7 -5
- package/dist/model/TestResultResponse.js +5 -5
- 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 +5 -5
- 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 +5 -5
- package/dist/model/TestStatusApiResult.js +1 -1
- package/dist/model/TestStatusApiResultGroup.js +156 -0
- package/dist/model/TestStatusApiResultGroupedReply.js +140 -0
- package/dist/model/TestStatusApiResultIReply.js +157 -0
- 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 +7 -7
- package/dist/model/UpdateEmptyTestRunApiModel.js +2 -2
- 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 +7 -5
- package/dist/model/UpdateMultipleAttachmentsApiModel.js +1 -1
- package/dist/model/UpdateMultipleLinksApiModel.js +1 -1
- package/dist/model/UpdateMultipleTagsApiModel.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 +123 -143
- package/dist/model/UpdateWorkItemCommentApiModel.js +1 -1
- package/dist/model/UpdateWorkflowApiModel.js +1 -1
- package/dist/model/UserApiModel.js +194 -0
- package/dist/model/UserCustomNameValidationResponse.js +1 -1
- package/dist/model/UserNameApiResult.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 +21 -5
- package/dist/model/WorkItemCommentApiResult.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 +4 -4
- package/dist/model/WorkItemFilterModel.js +4 -4
- 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 +4 -4
- package/dist/model/WorkItemLocalFilterModel.js +4 -4
- package/dist/model/WorkItemLocalSelectModel.js +1 -1
- package/dist/model/WorkItemModel.js +37 -37
- package/dist/model/WorkItemMovePostModel.js +1 -1
- package/dist/model/WorkItemParameterKeyApiModel.js +1 -1
- package/dist/model/WorkItemParameterKeyApiResult.js +1 -1
- package/dist/model/WorkItemParameterKeyModel.js +1 -1
- package/dist/model/WorkItemPreviewApiModel.js +1 -1
- package/dist/model/WorkItemPreviewStepApiModel.js +1 -1
- package/dist/model/WorkItemSearchQueryModel.js +4 -4
- 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 +5 -8
- package/dist/model/WorkItemStepChangeViewModel.js +1 -1
- package/dist/model/WorkItemStepChangeViewModelArrayChangedFieldWithDiffsViewModel.js +1 -1
- package/dist/model/{WorkItemEntityTypes.js → WorkItemTypeModel.js} +7 -7
- package/dist/model/WorkItemUpdatingFieldsApiModel.js +1 -1
- package/dist/model/WorkItemUpdatingFieldsApiResult.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/WorkflowProjectApiResultGroup.js +156 -0
- package/dist/model/WorkflowProjectApiResultGroupedReply.js +140 -0
- package/dist/model/WorkflowProjectApiResultIReply.js +157 -0
- package/dist/model/WorkflowProjectApiResultReply.js +1 -1
- package/dist/model/WorkflowShortApiResult.js +1 -1
- package/dist/model/WorkflowShortApiResultGroup.js +156 -0
- package/dist/model/WorkflowShortApiResultGroupedReply.js +140 -0
- package/dist/model/WorkflowShortApiResultIReply.js +157 -0
- package/dist/model/WorkflowShortApiResultReply.js +1 -1
- package/dist/model/WorkflowStatusApiModel.js +1 -1
- package/dist/model/WorkflowStatusApiResult.js +1 -1
- package/index.d.ts +3251 -1411
- package/package.json +1 -1
- package/dist/model/ProjectShortModel.js +0 -284
|
@@ -0,0 +1,617 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _AutotestResultReasonFilterModel = _interopRequireDefault(require("../model/AutotestResultReasonFilterModel"));
|
|
9
|
+
var _AutotestResultReasonShortGetModel = _interopRequireDefault(require("../model/AutotestResultReasonShortGetModel"));
|
|
10
|
+
var _CreateFailureCategoryApiModel = _interopRequireDefault(require("../model/CreateFailureCategoryApiModel"));
|
|
11
|
+
var _FailureCategoryApiResult = _interopRequireDefault(require("../model/FailureCategoryApiResult"));
|
|
12
|
+
var _FailureCategoryGroupItemApiResultReply = _interopRequireDefault(require("../model/FailureCategoryGroupItemApiResultReply"));
|
|
13
|
+
var _FailureCategoryGroupSearchApiModel = _interopRequireDefault(require("../model/FailureCategoryGroupSearchApiModel"));
|
|
14
|
+
var _ProblemDetails = _interopRequireDefault(require("../model/ProblemDetails"));
|
|
15
|
+
var _UpdateFailureCategoryApiModel = _interopRequireDefault(require("../model/UpdateFailureCategoryApiModel"));
|
|
16
|
+
var _ValidationProblemDetails = _interopRequireDefault(require("../model/ValidationProblemDetails"));
|
|
17
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
18
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
19
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
20
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
21
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
22
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
23
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
24
|
+
* API
|
|
25
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
26
|
+
*
|
|
27
|
+
* The version of the OpenAPI document: v2.0
|
|
28
|
+
*
|
|
29
|
+
*
|
|
30
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
31
|
+
* https://openapi-generator.tech
|
|
32
|
+
* Do not edit the class manually.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
/**
|
|
36
|
+
* FailureCategories service.
|
|
37
|
+
* @module api/FailureCategoriesApi
|
|
38
|
+
* @version 7.3.0-TMS-5.8
|
|
39
|
+
*/
|
|
40
|
+
var FailureCategoriesApi = exports["default"] = /*#__PURE__*/function () {
|
|
41
|
+
/**
|
|
42
|
+
* Constructs a new FailureCategoriesApi.
|
|
43
|
+
* @alias module:api/FailureCategoriesApi
|
|
44
|
+
* @class
|
|
45
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
46
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
47
|
+
*/
|
|
48
|
+
function FailureCategoriesApi(apiClient) {
|
|
49
|
+
_classCallCheck(this, FailureCategoriesApi);
|
|
50
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Get failure categories with support for filtering, sorting and grouping
|
|
55
|
+
* @param {Object} opts Optional parameters
|
|
56
|
+
* @param {module:model/FailureCategoryGroupSearchApiModel} [failureCategoryGroupSearchApiModel]
|
|
57
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/FailureCategoryGroupItemApiResultReply} and HTTP response
|
|
58
|
+
*/
|
|
59
|
+
return _createClass(FailureCategoriesApi, [{
|
|
60
|
+
key: "apiV2AutotestsFailureCategoriesGroupingSearchPostWithHttpInfo",
|
|
61
|
+
value: function apiV2AutotestsFailureCategoriesGroupingSearchPostWithHttpInfo(opts) {
|
|
62
|
+
opts = opts || {};
|
|
63
|
+
var postBody = opts['failureCategoryGroupSearchApiModel'];
|
|
64
|
+
var pathParams = {};
|
|
65
|
+
var queryParams = {};
|
|
66
|
+
var headerParams = {};
|
|
67
|
+
var formParams = {};
|
|
68
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
69
|
+
var contentTypes = ['application/json'];
|
|
70
|
+
var accepts = ['application/json'];
|
|
71
|
+
var returnType = _FailureCategoryGroupItemApiResultReply["default"];
|
|
72
|
+
return this.apiClient.callApi('/api/v2/autotests/failure-categories/grouping-search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Get failure categories with support for filtering, sorting and grouping
|
|
77
|
+
* @param {Object} opts Optional parameters
|
|
78
|
+
* @param {module:model/FailureCategoryGroupSearchApiModel} opts.failureCategoryGroupSearchApiModel
|
|
79
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/FailureCategoryGroupItemApiResultReply}
|
|
80
|
+
*/
|
|
81
|
+
}, {
|
|
82
|
+
key: "apiV2AutotestsFailureCategoriesGroupingSearchPost",
|
|
83
|
+
value: function apiV2AutotestsFailureCategoriesGroupingSearchPost(opts) {
|
|
84
|
+
return this.apiV2AutotestsFailureCategoriesGroupingSearchPostWithHttpInfo(opts).then(function (response_and_data) {
|
|
85
|
+
return response_and_data.data;
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Delete failure category
|
|
91
|
+
* @param {String} id
|
|
92
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
93
|
+
*/
|
|
94
|
+
}, {
|
|
95
|
+
key: "apiV2AutotestsFailureCategoriesIdDeleteWithHttpInfo",
|
|
96
|
+
value: function apiV2AutotestsFailureCategoriesIdDeleteWithHttpInfo(id) {
|
|
97
|
+
var postBody = null;
|
|
98
|
+
// verify the required parameter 'id' is set
|
|
99
|
+
if (id === undefined || id === null) {
|
|
100
|
+
throw new Error("Missing the required parameter 'id' when calling apiV2AutotestsFailureCategoriesIdDelete");
|
|
101
|
+
}
|
|
102
|
+
var pathParams = {
|
|
103
|
+
'id': id
|
|
104
|
+
};
|
|
105
|
+
var queryParams = {};
|
|
106
|
+
var headerParams = {};
|
|
107
|
+
var formParams = {};
|
|
108
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
109
|
+
var contentTypes = [];
|
|
110
|
+
var accepts = ['application/json'];
|
|
111
|
+
var returnType = null;
|
|
112
|
+
return this.apiClient.callApi('/api/v2/autotests/failure-categories/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Delete failure category
|
|
117
|
+
* @param {String} id
|
|
118
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
119
|
+
*/
|
|
120
|
+
}, {
|
|
121
|
+
key: "apiV2AutotestsFailureCategoriesIdDelete",
|
|
122
|
+
value: function apiV2AutotestsFailureCategoriesIdDelete(id) {
|
|
123
|
+
return this.apiV2AutotestsFailureCategoriesIdDeleteWithHttpInfo(id).then(function (response_and_data) {
|
|
124
|
+
return response_and_data.data;
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Get failure category by ID
|
|
130
|
+
* @param {String} id
|
|
131
|
+
* @param {Object} opts Optional parameters
|
|
132
|
+
* @param {Boolean} [isDeleted]
|
|
133
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/FailureCategoryApiResult} and HTTP response
|
|
134
|
+
*/
|
|
135
|
+
}, {
|
|
136
|
+
key: "apiV2AutotestsFailureCategoriesIdGetWithHttpInfo",
|
|
137
|
+
value: function apiV2AutotestsFailureCategoriesIdGetWithHttpInfo(id, opts) {
|
|
138
|
+
opts = opts || {};
|
|
139
|
+
var postBody = null;
|
|
140
|
+
// verify the required parameter 'id' is set
|
|
141
|
+
if (id === undefined || id === null) {
|
|
142
|
+
throw new Error("Missing the required parameter 'id' when calling apiV2AutotestsFailureCategoriesIdGet");
|
|
143
|
+
}
|
|
144
|
+
var pathParams = {
|
|
145
|
+
'id': id
|
|
146
|
+
};
|
|
147
|
+
var queryParams = {
|
|
148
|
+
'isDeleted': opts['isDeleted']
|
|
149
|
+
};
|
|
150
|
+
var headerParams = {};
|
|
151
|
+
var formParams = {};
|
|
152
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
153
|
+
var contentTypes = [];
|
|
154
|
+
var accepts = ['application/json'];
|
|
155
|
+
var returnType = _FailureCategoryApiResult["default"];
|
|
156
|
+
return this.apiClient.callApi('/api/v2/autotests/failure-categories/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Get failure category by ID
|
|
161
|
+
* @param {String} id
|
|
162
|
+
* @param {Object} opts Optional parameters
|
|
163
|
+
* @param {Boolean} opts.isDeleted
|
|
164
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/FailureCategoryApiResult}
|
|
165
|
+
*/
|
|
166
|
+
}, {
|
|
167
|
+
key: "apiV2AutotestsFailureCategoriesIdGet",
|
|
168
|
+
value: function apiV2AutotestsFailureCategoriesIdGet(id, opts) {
|
|
169
|
+
return this.apiV2AutotestsFailureCategoriesIdGetWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
170
|
+
return response_and_data.data;
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Check failure category with the specified name already exists
|
|
176
|
+
* @param {String} name
|
|
177
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Boolean} and HTTP response
|
|
178
|
+
*/
|
|
179
|
+
}, {
|
|
180
|
+
key: "apiV2AutotestsFailureCategoriesNameNameExistsGetWithHttpInfo",
|
|
181
|
+
value: function apiV2AutotestsFailureCategoriesNameNameExistsGetWithHttpInfo(name) {
|
|
182
|
+
var postBody = null;
|
|
183
|
+
// verify the required parameter 'name' is set
|
|
184
|
+
if (name === undefined || name === null) {
|
|
185
|
+
throw new Error("Missing the required parameter 'name' when calling apiV2AutotestsFailureCategoriesNameNameExistsGet");
|
|
186
|
+
}
|
|
187
|
+
var pathParams = {
|
|
188
|
+
'name': name
|
|
189
|
+
};
|
|
190
|
+
var queryParams = {};
|
|
191
|
+
var headerParams = {};
|
|
192
|
+
var formParams = {};
|
|
193
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
194
|
+
var contentTypes = [];
|
|
195
|
+
var accepts = ['application/json'];
|
|
196
|
+
var returnType = 'Boolean';
|
|
197
|
+
return this.apiClient.callApi('/api/v2/autotests/failure-categories/name/{name}/exists', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Check failure category with the specified name already exists
|
|
202
|
+
* @param {String} name
|
|
203
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Boolean}
|
|
204
|
+
*/
|
|
205
|
+
}, {
|
|
206
|
+
key: "apiV2AutotestsFailureCategoriesNameNameExistsGet",
|
|
207
|
+
value: function apiV2AutotestsFailureCategoriesNameNameExistsGet(name) {
|
|
208
|
+
return this.apiV2AutotestsFailureCategoriesNameNameExistsGetWithHttpInfo(name).then(function (response_and_data) {
|
|
209
|
+
return response_and_data.data;
|
|
210
|
+
});
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Create failure category
|
|
215
|
+
* @param {Object} opts Optional parameters
|
|
216
|
+
* @param {module:model/CreateFailureCategoryApiModel} [createFailureCategoryApiModel]
|
|
217
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/FailureCategoryApiResult} and HTTP response
|
|
218
|
+
*/
|
|
219
|
+
}, {
|
|
220
|
+
key: "apiV2AutotestsFailureCategoriesPostWithHttpInfo",
|
|
221
|
+
value: function apiV2AutotestsFailureCategoriesPostWithHttpInfo(opts) {
|
|
222
|
+
opts = opts || {};
|
|
223
|
+
var postBody = opts['createFailureCategoryApiModel'];
|
|
224
|
+
var pathParams = {};
|
|
225
|
+
var queryParams = {};
|
|
226
|
+
var headerParams = {};
|
|
227
|
+
var formParams = {};
|
|
228
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
229
|
+
var contentTypes = ['application/json'];
|
|
230
|
+
var accepts = ['application/json'];
|
|
231
|
+
var returnType = _FailureCategoryApiResult["default"];
|
|
232
|
+
return this.apiClient.callApi('/api/v2/autotests/failure-categories', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* Create failure category
|
|
237
|
+
* @param {Object} opts Optional parameters
|
|
238
|
+
* @param {module:model/CreateFailureCategoryApiModel} opts.createFailureCategoryApiModel
|
|
239
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/FailureCategoryApiResult}
|
|
240
|
+
*/
|
|
241
|
+
}, {
|
|
242
|
+
key: "apiV2AutotestsFailureCategoriesPost",
|
|
243
|
+
value: function apiV2AutotestsFailureCategoriesPost(opts) {
|
|
244
|
+
return this.apiV2AutotestsFailureCategoriesPostWithHttpInfo(opts).then(function (response_and_data) {
|
|
245
|
+
return response_and_data.data;
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Update failure category
|
|
251
|
+
* @param {Object} opts Optional parameters
|
|
252
|
+
* @param {module:model/UpdateFailureCategoryApiModel} [updateFailureCategoryApiModel]
|
|
253
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
254
|
+
*/
|
|
255
|
+
}, {
|
|
256
|
+
key: "apiV2AutotestsFailureCategoriesPutWithHttpInfo",
|
|
257
|
+
value: function apiV2AutotestsFailureCategoriesPutWithHttpInfo(opts) {
|
|
258
|
+
opts = opts || {};
|
|
259
|
+
var postBody = opts['updateFailureCategoryApiModel'];
|
|
260
|
+
var pathParams = {};
|
|
261
|
+
var queryParams = {};
|
|
262
|
+
var headerParams = {};
|
|
263
|
+
var formParams = {};
|
|
264
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
265
|
+
var contentTypes = ['application/json'];
|
|
266
|
+
var accepts = ['application/json'];
|
|
267
|
+
var returnType = null;
|
|
268
|
+
return this.apiClient.callApi('/api/v2/autotests/failure-categories', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Update failure category
|
|
273
|
+
* @param {Object} opts Optional parameters
|
|
274
|
+
* @param {module:model/UpdateFailureCategoryApiModel} opts.updateFailureCategoryApiModel
|
|
275
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
276
|
+
*/
|
|
277
|
+
}, {
|
|
278
|
+
key: "apiV2AutotestsFailureCategoriesPut",
|
|
279
|
+
value: function apiV2AutotestsFailureCategoriesPut(opts) {
|
|
280
|
+
return this.apiV2AutotestsFailureCategoriesPutWithHttpInfo(opts).then(function (response_and_data) {
|
|
281
|
+
return response_and_data.data;
|
|
282
|
+
});
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* @param {Object} opts Optional parameters
|
|
287
|
+
* @param {Number} [skip] Amount of items to be skipped (offset)
|
|
288
|
+
* @param {Number} [take] Amount of items to be taken (limit)
|
|
289
|
+
* @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
290
|
+
* @param {String} [searchField] Property name for searching
|
|
291
|
+
* @param {String} [searchValue] Value for searching
|
|
292
|
+
* @param {module:model/AutotestResultReasonFilterModel} [autotestResultReasonFilterModel]
|
|
293
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AutotestResultReasonShortGetModel>} and HTTP response
|
|
294
|
+
*/
|
|
295
|
+
}, {
|
|
296
|
+
key: "apiV2AutotestsFailureCategoriesSearchPostWithHttpInfo",
|
|
297
|
+
value: function apiV2AutotestsFailureCategoriesSearchPostWithHttpInfo(opts) {
|
|
298
|
+
opts = opts || {};
|
|
299
|
+
var postBody = opts['autotestResultReasonFilterModel'];
|
|
300
|
+
var pathParams = {};
|
|
301
|
+
var queryParams = {
|
|
302
|
+
'Skip': opts['skip'],
|
|
303
|
+
'Take': opts['take'],
|
|
304
|
+
'OrderBy': opts['orderBy'],
|
|
305
|
+
'SearchField': opts['searchField'],
|
|
306
|
+
'SearchValue': opts['searchValue']
|
|
307
|
+
};
|
|
308
|
+
var headerParams = {};
|
|
309
|
+
var formParams = {};
|
|
310
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
311
|
+
var contentTypes = ['application/json'];
|
|
312
|
+
var accepts = ['application/json'];
|
|
313
|
+
var returnType = [_AutotestResultReasonShortGetModel["default"]];
|
|
314
|
+
return this.apiClient.callApi('/api/v2/autotests/failure-categories/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* @param {Object} opts Optional parameters
|
|
319
|
+
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
320
|
+
* @param {Number} opts.take Amount of items to be taken (limit)
|
|
321
|
+
* @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
322
|
+
* @param {String} opts.searchField Property name for searching
|
|
323
|
+
* @param {String} opts.searchValue Value for searching
|
|
324
|
+
* @param {module:model/AutotestResultReasonFilterModel} opts.autotestResultReasonFilterModel
|
|
325
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AutotestResultReasonShortGetModel>}
|
|
326
|
+
*/
|
|
327
|
+
}, {
|
|
328
|
+
key: "apiV2AutotestsFailureCategoriesSearchPost",
|
|
329
|
+
value: function apiV2AutotestsFailureCategoriesSearchPost(opts) {
|
|
330
|
+
return this.apiV2AutotestsFailureCategoriesSearchPostWithHttpInfo(opts).then(function (response_and_data) {
|
|
331
|
+
return response_and_data.data;
|
|
332
|
+
});
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Get failure categories with support for filtering, sorting and grouping
|
|
337
|
+
* @param {Object} opts Optional parameters
|
|
338
|
+
* @param {module:model/FailureCategoryGroupSearchApiModel} [failureCategoryGroupSearchApiModel]
|
|
339
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/FailureCategoryGroupItemApiResultReply} and HTTP response
|
|
340
|
+
*/
|
|
341
|
+
}, {
|
|
342
|
+
key: "apiV2AutotestsResultReasonsGroupingSearchPostWithHttpInfo",
|
|
343
|
+
value: function apiV2AutotestsResultReasonsGroupingSearchPostWithHttpInfo(opts) {
|
|
344
|
+
opts = opts || {};
|
|
345
|
+
var postBody = opts['failureCategoryGroupSearchApiModel'];
|
|
346
|
+
var pathParams = {};
|
|
347
|
+
var queryParams = {};
|
|
348
|
+
var headerParams = {};
|
|
349
|
+
var formParams = {};
|
|
350
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
351
|
+
var contentTypes = ['application/json'];
|
|
352
|
+
var accepts = ['application/json'];
|
|
353
|
+
var returnType = _FailureCategoryGroupItemApiResultReply["default"];
|
|
354
|
+
return this.apiClient.callApi('/api/v2/autotests/resultReasons/grouping-search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Get failure categories with support for filtering, sorting and grouping
|
|
359
|
+
* @param {Object} opts Optional parameters
|
|
360
|
+
* @param {module:model/FailureCategoryGroupSearchApiModel} opts.failureCategoryGroupSearchApiModel
|
|
361
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/FailureCategoryGroupItemApiResultReply}
|
|
362
|
+
*/
|
|
363
|
+
}, {
|
|
364
|
+
key: "apiV2AutotestsResultReasonsGroupingSearchPost",
|
|
365
|
+
value: function apiV2AutotestsResultReasonsGroupingSearchPost(opts) {
|
|
366
|
+
return this.apiV2AutotestsResultReasonsGroupingSearchPostWithHttpInfo(opts).then(function (response_and_data) {
|
|
367
|
+
return response_and_data.data;
|
|
368
|
+
});
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Delete failure category
|
|
373
|
+
* @param {String} id
|
|
374
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
375
|
+
*/
|
|
376
|
+
}, {
|
|
377
|
+
key: "apiV2AutotestsResultReasonsIdDeleteWithHttpInfo",
|
|
378
|
+
value: function apiV2AutotestsResultReasonsIdDeleteWithHttpInfo(id) {
|
|
379
|
+
var postBody = null;
|
|
380
|
+
// verify the required parameter 'id' is set
|
|
381
|
+
if (id === undefined || id === null) {
|
|
382
|
+
throw new Error("Missing the required parameter 'id' when calling apiV2AutotestsResultReasonsIdDelete");
|
|
383
|
+
}
|
|
384
|
+
var pathParams = {
|
|
385
|
+
'id': id
|
|
386
|
+
};
|
|
387
|
+
var queryParams = {};
|
|
388
|
+
var headerParams = {};
|
|
389
|
+
var formParams = {};
|
|
390
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
391
|
+
var contentTypes = [];
|
|
392
|
+
var accepts = ['application/json'];
|
|
393
|
+
var returnType = null;
|
|
394
|
+
return this.apiClient.callApi('/api/v2/autotests/resultReasons/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* Delete failure category
|
|
399
|
+
* @param {String} id
|
|
400
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
401
|
+
*/
|
|
402
|
+
}, {
|
|
403
|
+
key: "apiV2AutotestsResultReasonsIdDelete",
|
|
404
|
+
value: function apiV2AutotestsResultReasonsIdDelete(id) {
|
|
405
|
+
return this.apiV2AutotestsResultReasonsIdDeleteWithHttpInfo(id).then(function (response_and_data) {
|
|
406
|
+
return response_and_data.data;
|
|
407
|
+
});
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* Get failure category by ID
|
|
412
|
+
* @param {String} id
|
|
413
|
+
* @param {Object} opts Optional parameters
|
|
414
|
+
* @param {Boolean} [isDeleted]
|
|
415
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/FailureCategoryApiResult} and HTTP response
|
|
416
|
+
*/
|
|
417
|
+
}, {
|
|
418
|
+
key: "apiV2AutotestsResultReasonsIdGetWithHttpInfo",
|
|
419
|
+
value: function apiV2AutotestsResultReasonsIdGetWithHttpInfo(id, opts) {
|
|
420
|
+
opts = opts || {};
|
|
421
|
+
var postBody = null;
|
|
422
|
+
// verify the required parameter 'id' is set
|
|
423
|
+
if (id === undefined || id === null) {
|
|
424
|
+
throw new Error("Missing the required parameter 'id' when calling apiV2AutotestsResultReasonsIdGet");
|
|
425
|
+
}
|
|
426
|
+
var pathParams = {
|
|
427
|
+
'id': id
|
|
428
|
+
};
|
|
429
|
+
var queryParams = {
|
|
430
|
+
'isDeleted': opts['isDeleted']
|
|
431
|
+
};
|
|
432
|
+
var headerParams = {};
|
|
433
|
+
var formParams = {};
|
|
434
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
435
|
+
var contentTypes = [];
|
|
436
|
+
var accepts = ['application/json'];
|
|
437
|
+
var returnType = _FailureCategoryApiResult["default"];
|
|
438
|
+
return this.apiClient.callApi('/api/v2/autotests/resultReasons/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Get failure category by ID
|
|
443
|
+
* @param {String} id
|
|
444
|
+
* @param {Object} opts Optional parameters
|
|
445
|
+
* @param {Boolean} opts.isDeleted
|
|
446
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/FailureCategoryApiResult}
|
|
447
|
+
*/
|
|
448
|
+
}, {
|
|
449
|
+
key: "apiV2AutotestsResultReasonsIdGet",
|
|
450
|
+
value: function apiV2AutotestsResultReasonsIdGet(id, opts) {
|
|
451
|
+
return this.apiV2AutotestsResultReasonsIdGetWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
452
|
+
return response_and_data.data;
|
|
453
|
+
});
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* Check failure category with the specified name already exists
|
|
458
|
+
* @param {String} name
|
|
459
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Boolean} and HTTP response
|
|
460
|
+
*/
|
|
461
|
+
}, {
|
|
462
|
+
key: "apiV2AutotestsResultReasonsNameNameExistsGetWithHttpInfo",
|
|
463
|
+
value: function apiV2AutotestsResultReasonsNameNameExistsGetWithHttpInfo(name) {
|
|
464
|
+
var postBody = null;
|
|
465
|
+
// verify the required parameter 'name' is set
|
|
466
|
+
if (name === undefined || name === null) {
|
|
467
|
+
throw new Error("Missing the required parameter 'name' when calling apiV2AutotestsResultReasonsNameNameExistsGet");
|
|
468
|
+
}
|
|
469
|
+
var pathParams = {
|
|
470
|
+
'name': name
|
|
471
|
+
};
|
|
472
|
+
var queryParams = {};
|
|
473
|
+
var headerParams = {};
|
|
474
|
+
var formParams = {};
|
|
475
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
476
|
+
var contentTypes = [];
|
|
477
|
+
var accepts = ['application/json'];
|
|
478
|
+
var returnType = 'Boolean';
|
|
479
|
+
return this.apiClient.callApi('/api/v2/autotests/resultReasons/name/{name}/exists', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* Check failure category with the specified name already exists
|
|
484
|
+
* @param {String} name
|
|
485
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Boolean}
|
|
486
|
+
*/
|
|
487
|
+
}, {
|
|
488
|
+
key: "apiV2AutotestsResultReasonsNameNameExistsGet",
|
|
489
|
+
value: function apiV2AutotestsResultReasonsNameNameExistsGet(name) {
|
|
490
|
+
return this.apiV2AutotestsResultReasonsNameNameExistsGetWithHttpInfo(name).then(function (response_and_data) {
|
|
491
|
+
return response_and_data.data;
|
|
492
|
+
});
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* Create failure category
|
|
497
|
+
* @param {Object} opts Optional parameters
|
|
498
|
+
* @param {module:model/CreateFailureCategoryApiModel} [createFailureCategoryApiModel]
|
|
499
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/FailureCategoryApiResult} and HTTP response
|
|
500
|
+
*/
|
|
501
|
+
}, {
|
|
502
|
+
key: "apiV2AutotestsResultReasonsPostWithHttpInfo",
|
|
503
|
+
value: function apiV2AutotestsResultReasonsPostWithHttpInfo(opts) {
|
|
504
|
+
opts = opts || {};
|
|
505
|
+
var postBody = opts['createFailureCategoryApiModel'];
|
|
506
|
+
var pathParams = {};
|
|
507
|
+
var queryParams = {};
|
|
508
|
+
var headerParams = {};
|
|
509
|
+
var formParams = {};
|
|
510
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
511
|
+
var contentTypes = ['application/json'];
|
|
512
|
+
var accepts = ['application/json'];
|
|
513
|
+
var returnType = _FailureCategoryApiResult["default"];
|
|
514
|
+
return this.apiClient.callApi('/api/v2/autotests/resultReasons', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* Create failure category
|
|
519
|
+
* @param {Object} opts Optional parameters
|
|
520
|
+
* @param {module:model/CreateFailureCategoryApiModel} opts.createFailureCategoryApiModel
|
|
521
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/FailureCategoryApiResult}
|
|
522
|
+
*/
|
|
523
|
+
}, {
|
|
524
|
+
key: "apiV2AutotestsResultReasonsPost",
|
|
525
|
+
value: function apiV2AutotestsResultReasonsPost(opts) {
|
|
526
|
+
return this.apiV2AutotestsResultReasonsPostWithHttpInfo(opts).then(function (response_and_data) {
|
|
527
|
+
return response_and_data.data;
|
|
528
|
+
});
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Update failure category
|
|
533
|
+
* @param {Object} opts Optional parameters
|
|
534
|
+
* @param {module:model/UpdateFailureCategoryApiModel} [updateFailureCategoryApiModel]
|
|
535
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
536
|
+
*/
|
|
537
|
+
}, {
|
|
538
|
+
key: "apiV2AutotestsResultReasonsPutWithHttpInfo",
|
|
539
|
+
value: function apiV2AutotestsResultReasonsPutWithHttpInfo(opts) {
|
|
540
|
+
opts = opts || {};
|
|
541
|
+
var postBody = opts['updateFailureCategoryApiModel'];
|
|
542
|
+
var pathParams = {};
|
|
543
|
+
var queryParams = {};
|
|
544
|
+
var headerParams = {};
|
|
545
|
+
var formParams = {};
|
|
546
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
547
|
+
var contentTypes = ['application/json'];
|
|
548
|
+
var accepts = ['application/json'];
|
|
549
|
+
var returnType = null;
|
|
550
|
+
return this.apiClient.callApi('/api/v2/autotests/resultReasons', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* Update failure category
|
|
555
|
+
* @param {Object} opts Optional parameters
|
|
556
|
+
* @param {module:model/UpdateFailureCategoryApiModel} opts.updateFailureCategoryApiModel
|
|
557
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
558
|
+
*/
|
|
559
|
+
}, {
|
|
560
|
+
key: "apiV2AutotestsResultReasonsPut",
|
|
561
|
+
value: function apiV2AutotestsResultReasonsPut(opts) {
|
|
562
|
+
return this.apiV2AutotestsResultReasonsPutWithHttpInfo(opts).then(function (response_and_data) {
|
|
563
|
+
return response_and_data.data;
|
|
564
|
+
});
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* @param {Object} opts Optional parameters
|
|
569
|
+
* @param {Number} [skip] Amount of items to be skipped (offset)
|
|
570
|
+
* @param {Number} [take] Amount of items to be taken (limit)
|
|
571
|
+
* @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
572
|
+
* @param {String} [searchField] Property name for searching
|
|
573
|
+
* @param {String} [searchValue] Value for searching
|
|
574
|
+
* @param {module:model/AutotestResultReasonFilterModel} [autotestResultReasonFilterModel]
|
|
575
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AutotestResultReasonShortGetModel>} and HTTP response
|
|
576
|
+
*/
|
|
577
|
+
}, {
|
|
578
|
+
key: "apiV2AutotestsResultReasonsSearchPostWithHttpInfo",
|
|
579
|
+
value: function apiV2AutotestsResultReasonsSearchPostWithHttpInfo(opts) {
|
|
580
|
+
opts = opts || {};
|
|
581
|
+
var postBody = opts['autotestResultReasonFilterModel'];
|
|
582
|
+
var pathParams = {};
|
|
583
|
+
var queryParams = {
|
|
584
|
+
'Skip': opts['skip'],
|
|
585
|
+
'Take': opts['take'],
|
|
586
|
+
'OrderBy': opts['orderBy'],
|
|
587
|
+
'SearchField': opts['searchField'],
|
|
588
|
+
'SearchValue': opts['searchValue']
|
|
589
|
+
};
|
|
590
|
+
var headerParams = {};
|
|
591
|
+
var formParams = {};
|
|
592
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
593
|
+
var contentTypes = ['application/json'];
|
|
594
|
+
var accepts = ['application/json'];
|
|
595
|
+
var returnType = [_AutotestResultReasonShortGetModel["default"]];
|
|
596
|
+
return this.apiClient.callApi('/api/v2/autotests/resultReasons/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* @param {Object} opts Optional parameters
|
|
601
|
+
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
602
|
+
* @param {Number} opts.take Amount of items to be taken (limit)
|
|
603
|
+
* @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
604
|
+
* @param {String} opts.searchField Property name for searching
|
|
605
|
+
* @param {String} opts.searchValue Value for searching
|
|
606
|
+
* @param {module:model/AutotestResultReasonFilterModel} opts.autotestResultReasonFilterModel
|
|
607
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AutotestResultReasonShortGetModel>}
|
|
608
|
+
*/
|
|
609
|
+
}, {
|
|
610
|
+
key: "apiV2AutotestsResultReasonsSearchPost",
|
|
611
|
+
value: function apiV2AutotestsResultReasonsSearchPost(opts) {
|
|
612
|
+
return this.apiV2AutotestsResultReasonsSearchPostWithHttpInfo(opts).then(function (response_and_data) {
|
|
613
|
+
return response_and_data.data;
|
|
614
|
+
});
|
|
615
|
+
}
|
|
616
|
+
}]);
|
|
617
|
+
}();
|