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
package/dist/api/WorkItemsApi.js
CHANGED
|
@@ -8,6 +8,7 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
|
8
8
|
var _AutoTestModel = _interopRequireDefault(require("../model/AutoTestModel"));
|
|
9
9
|
var _CreateWorkItemApiModel = _interopRequireDefault(require("../model/CreateWorkItemApiModel"));
|
|
10
10
|
var _IterationModel = _interopRequireDefault(require("../model/IterationModel"));
|
|
11
|
+
var _Operation = _interopRequireDefault(require("../model/Operation"));
|
|
11
12
|
var _ProblemDetails = _interopRequireDefault(require("../model/ProblemDetails"));
|
|
12
13
|
var _SearchWorkItemLinkUrlsApiResult = _interopRequireDefault(require("../model/SearchWorkItemLinkUrlsApiResult"));
|
|
13
14
|
var _SharedStepReferenceModel = _interopRequireDefault(require("../model/SharedStepReferenceModel"));
|
|
@@ -49,7 +50,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
49
50
|
/**
|
|
50
51
|
* WorkItems service.
|
|
51
52
|
* @module api/WorkItemsApi
|
|
52
|
-
* @version 7.
|
|
53
|
+
* @version 7.3.0-TMS-5.8
|
|
53
54
|
*/
|
|
54
55
|
var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
55
56
|
/**
|
|
@@ -66,7 +67,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
66
67
|
|
|
67
68
|
/**
|
|
68
69
|
* Upload and link attachment to WorkItem
|
|
69
|
-
*
|
|
70
|
+
* Use case User sets workItemId User attaches a file System creates attachment and links it to the work item System returns attachment identifier
|
|
70
71
|
* @param {String} id Work item internal identifier (guid format)
|
|
71
72
|
* @param {Object} opts Optional parameters
|
|
72
73
|
* @param {File} [file] Select file
|
|
@@ -89,7 +90,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
89
90
|
var formParams = {
|
|
90
91
|
'file': opts['file']
|
|
91
92
|
};
|
|
92
|
-
var authNames = ['
|
|
93
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
93
94
|
var contentTypes = ['multipart/form-data'];
|
|
94
95
|
var accepts = ['application/json'];
|
|
95
96
|
var returnType = null;
|
|
@@ -98,7 +99,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
98
99
|
|
|
99
100
|
/**
|
|
100
101
|
* Upload and link attachment to WorkItem
|
|
101
|
-
*
|
|
102
|
+
* Use case User sets workItemId User attaches a file System creates attachment and links it to the work item System returns attachment identifier
|
|
102
103
|
* @param {String} id Work item internal identifier (guid format)
|
|
103
104
|
* @param {Object} opts Optional parameters
|
|
104
105
|
* @param {File} opts.file Select file
|
|
@@ -114,7 +115,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
114
115
|
|
|
115
116
|
/**
|
|
116
117
|
* Transform CheckList to TestCase
|
|
117
|
-
*
|
|
118
|
+
* Use case User sets checklist identifier User runs method execution System transform CheckList to TestCase
|
|
118
119
|
* @param {String} id
|
|
119
120
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/WorkItemModel} and HTTP response
|
|
120
121
|
*/
|
|
@@ -132,7 +133,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
132
133
|
var queryParams = {};
|
|
133
134
|
var headerParams = {};
|
|
134
135
|
var formParams = {};
|
|
135
|
-
var authNames = ['
|
|
136
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
136
137
|
var contentTypes = [];
|
|
137
138
|
var accepts = ['application/json'];
|
|
138
139
|
var returnType = _WorkItemModel["default"];
|
|
@@ -141,7 +142,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
141
142
|
|
|
142
143
|
/**
|
|
143
144
|
* Transform CheckList to TestCase
|
|
144
|
-
*
|
|
145
|
+
* Use case User sets checklist identifier User runs method execution System transform CheckList to TestCase
|
|
145
146
|
* @param {String} id
|
|
146
147
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/WorkItemModel}
|
|
147
148
|
*/
|
|
@@ -155,7 +156,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
155
156
|
|
|
156
157
|
/**
|
|
157
158
|
* Get change history of WorkItem
|
|
158
|
-
*
|
|
159
|
+
* Use case User sets work item identifier User runs method execution System return change history of WorkItem
|
|
159
160
|
* @param {String} id
|
|
160
161
|
* @param {Object} opts Optional parameters
|
|
161
162
|
* @param {Number} [skip] Amount of items to be skipped (offset)
|
|
@@ -186,7 +187,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
186
187
|
};
|
|
187
188
|
var headerParams = {};
|
|
188
189
|
var formParams = {};
|
|
189
|
-
var authNames = ['
|
|
190
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
190
191
|
var contentTypes = [];
|
|
191
192
|
var accepts = ['application/json'];
|
|
192
193
|
var returnType = [_WorkItemChangeModel["default"]];
|
|
@@ -195,7 +196,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
195
196
|
|
|
196
197
|
/**
|
|
197
198
|
* Get change history of WorkItem
|
|
198
|
-
*
|
|
199
|
+
* Use case User sets work item identifier User runs method execution System return change history of WorkItem
|
|
199
200
|
* @param {String} id
|
|
200
201
|
* @param {Object} opts Optional parameters
|
|
201
202
|
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
@@ -215,7 +216,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
215
216
|
|
|
216
217
|
/**
|
|
217
218
|
* Delete like from WorkItem
|
|
218
|
-
*
|
|
219
|
+
* Use case User sets WorkItem identifier User runs method execution System delete like from WorkItem
|
|
219
220
|
* @param {String} id
|
|
220
221
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
221
222
|
*/
|
|
@@ -233,7 +234,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
233
234
|
var queryParams = {};
|
|
234
235
|
var headerParams = {};
|
|
235
236
|
var formParams = {};
|
|
236
|
-
var authNames = ['
|
|
237
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
237
238
|
var contentTypes = [];
|
|
238
239
|
var accepts = ['application/json'];
|
|
239
240
|
var returnType = null;
|
|
@@ -242,7 +243,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
242
243
|
|
|
243
244
|
/**
|
|
244
245
|
* Delete like from WorkItem
|
|
245
|
-
*
|
|
246
|
+
* Use case User sets WorkItem identifier User runs method execution System delete like from WorkItem
|
|
246
247
|
* @param {String} id
|
|
247
248
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
248
249
|
*/
|
|
@@ -256,7 +257,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
256
257
|
|
|
257
258
|
/**
|
|
258
259
|
* Set like to WorkItem
|
|
259
|
-
*
|
|
260
|
+
* Use case User sets WorkItem identifier User runs method execution System set like to WorkItem
|
|
260
261
|
* @param {String} id
|
|
261
262
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
262
263
|
*/
|
|
@@ -274,7 +275,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
274
275
|
var queryParams = {};
|
|
275
276
|
var headerParams = {};
|
|
276
277
|
var formParams = {};
|
|
277
|
-
var authNames = ['
|
|
278
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
278
279
|
var contentTypes = [];
|
|
279
280
|
var accepts = ['application/json'];
|
|
280
281
|
var returnType = null;
|
|
@@ -283,7 +284,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
283
284
|
|
|
284
285
|
/**
|
|
285
286
|
* Set like to WorkItem
|
|
286
|
-
*
|
|
287
|
+
* Use case User sets WorkItem identifier User runs method execution System set like to WorkItem
|
|
287
288
|
* @param {String} id
|
|
288
289
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
289
290
|
*/
|
|
@@ -297,7 +298,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
297
298
|
|
|
298
299
|
/**
|
|
299
300
|
* Get likes count of WorkItem
|
|
300
|
-
*
|
|
301
|
+
* Use case User sets WorkItem identifier User runs method execution System return likes count of WorkItem
|
|
301
302
|
* @param {String} id
|
|
302
303
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Number} and HTTP response
|
|
303
304
|
*/
|
|
@@ -315,7 +316,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
315
316
|
var queryParams = {};
|
|
316
317
|
var headerParams = {};
|
|
317
318
|
var formParams = {};
|
|
318
|
-
var authNames = ['
|
|
319
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
319
320
|
var contentTypes = [];
|
|
320
321
|
var accepts = ['application/json'];
|
|
321
322
|
var returnType = 'Number';
|
|
@@ -324,7 +325,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
324
325
|
|
|
325
326
|
/**
|
|
326
327
|
* Get likes count of WorkItem
|
|
327
|
-
*
|
|
328
|
+
* Use case User sets WorkItem identifier User runs method execution System return likes count of WorkItem
|
|
328
329
|
* @param {String} id
|
|
329
330
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Number}
|
|
330
331
|
*/
|
|
@@ -338,7 +339,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
338
339
|
|
|
339
340
|
/**
|
|
340
341
|
* Get likes of WorkItem
|
|
341
|
-
*
|
|
342
|
+
* Use case User sets WorkItem identifier User runs method execution System return likes of WorkItem
|
|
342
343
|
* @param {String} id
|
|
343
344
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/WorkItemLikeModel>} and HTTP response
|
|
344
345
|
*/
|
|
@@ -356,7 +357,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
356
357
|
var queryParams = {};
|
|
357
358
|
var headerParams = {};
|
|
358
359
|
var formParams = {};
|
|
359
|
-
var authNames = ['
|
|
360
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
360
361
|
var contentTypes = [];
|
|
361
362
|
var accepts = ['application/json'];
|
|
362
363
|
var returnType = [_WorkItemLikeModel["default"]];
|
|
@@ -365,7 +366,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
365
366
|
|
|
366
367
|
/**
|
|
367
368
|
* Get likes of WorkItem
|
|
368
|
-
*
|
|
369
|
+
* Use case User sets WorkItem identifier User runs method execution System return likes of WorkItem
|
|
369
370
|
* @param {String} id
|
|
370
371
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/WorkItemLikeModel>}
|
|
371
372
|
*/
|
|
@@ -377,9 +378,55 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
377
378
|
});
|
|
378
379
|
}
|
|
379
380
|
|
|
381
|
+
/**
|
|
382
|
+
* Patch Test Case, Checklist or Shared Step
|
|
383
|
+
* See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details
|
|
384
|
+
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
385
|
+
* @param {Object} opts Optional parameters
|
|
386
|
+
* @param {Array.<module:model/Operation>} [operation]
|
|
387
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
388
|
+
*/
|
|
389
|
+
}, {
|
|
390
|
+
key: "apiV2WorkItemsIdPatchWithHttpInfo",
|
|
391
|
+
value: function apiV2WorkItemsIdPatchWithHttpInfo(id, opts) {
|
|
392
|
+
opts = opts || {};
|
|
393
|
+
var postBody = opts['operation'];
|
|
394
|
+
// verify the required parameter 'id' is set
|
|
395
|
+
if (id === undefined || id === null) {
|
|
396
|
+
throw new Error("Missing the required parameter 'id' when calling apiV2WorkItemsIdPatch");
|
|
397
|
+
}
|
|
398
|
+
var pathParams = {
|
|
399
|
+
'id': id
|
|
400
|
+
};
|
|
401
|
+
var queryParams = {};
|
|
402
|
+
var headerParams = {};
|
|
403
|
+
var formParams = {};
|
|
404
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
405
|
+
var contentTypes = ['application/json'];
|
|
406
|
+
var accepts = ['application/json'];
|
|
407
|
+
var returnType = null;
|
|
408
|
+
return this.apiClient.callApi('/api/v2/workItems/{id}', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Patch Test Case, Checklist or Shared Step
|
|
413
|
+
* See <a href=\"https://www.rfc-editor.org/rfc/rfc6902\" target=\"_blank\">RFC 6902: JavaScript Object Notation (JSON) Patch</a> for details
|
|
414
|
+
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
415
|
+
* @param {Object} opts Optional parameters
|
|
416
|
+
* @param {Array.<module:model/Operation>} opts.operation
|
|
417
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
418
|
+
*/
|
|
419
|
+
}, {
|
|
420
|
+
key: "apiV2WorkItemsIdPatch",
|
|
421
|
+
value: function apiV2WorkItemsIdPatch(id, opts) {
|
|
422
|
+
return this.apiV2WorkItemsIdPatchWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
423
|
+
return response_and_data.data;
|
|
424
|
+
});
|
|
425
|
+
}
|
|
426
|
+
|
|
380
427
|
/**
|
|
381
428
|
* Get test results history of WorkItem
|
|
382
|
-
*
|
|
429
|
+
* Use case User sets WorkItem identifier User runs method execution System return test results history of WorkItem
|
|
383
430
|
* @param {String} id
|
|
384
431
|
* @param {Object} opts Optional parameters
|
|
385
432
|
* @param {Date} [from] Take results from this date
|
|
@@ -430,7 +477,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
430
477
|
};
|
|
431
478
|
var headerParams = {};
|
|
432
479
|
var formParams = {};
|
|
433
|
-
var authNames = ['
|
|
480
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
434
481
|
var contentTypes = [];
|
|
435
482
|
var accepts = ['application/json'];
|
|
436
483
|
var returnType = [_TestResultHistoryReportApiResult["default"]];
|
|
@@ -439,7 +486,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
439
486
|
|
|
440
487
|
/**
|
|
441
488
|
* Get test results history of WorkItem
|
|
442
|
-
*
|
|
489
|
+
* Use case User sets WorkItem identifier User runs method execution System return test results history of WorkItem
|
|
443
490
|
* @param {String} id
|
|
444
491
|
* @param {Object} opts Optional parameters
|
|
445
492
|
* @param {Date} opts.from Take results from this date
|
|
@@ -469,7 +516,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
469
516
|
|
|
470
517
|
/**
|
|
471
518
|
* Set WorkItem as actual
|
|
472
|
-
*
|
|
519
|
+
* Use case User sets work item identifier User runs method execution System set WorkItem as actual
|
|
473
520
|
* @param {String} id
|
|
474
521
|
* @param {String} versionId
|
|
475
522
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/WorkItemModel} and HTTP response
|
|
@@ -493,7 +540,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
493
540
|
var queryParams = {};
|
|
494
541
|
var headerParams = {};
|
|
495
542
|
var formParams = {};
|
|
496
|
-
var authNames = ['
|
|
543
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
497
544
|
var contentTypes = [];
|
|
498
545
|
var accepts = ['application/json'];
|
|
499
546
|
var returnType = _WorkItemModel["default"];
|
|
@@ -502,7 +549,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
502
549
|
|
|
503
550
|
/**
|
|
504
551
|
* Set WorkItem as actual
|
|
505
|
-
*
|
|
552
|
+
* Use case User sets work item identifier User runs method execution System set WorkItem as actual
|
|
506
553
|
* @param {String} id
|
|
507
554
|
* @param {String} versionId
|
|
508
555
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/WorkItemModel}
|
|
@@ -540,7 +587,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
540
587
|
};
|
|
541
588
|
var headerParams = {};
|
|
542
589
|
var formParams = {};
|
|
543
|
-
var authNames = ['
|
|
590
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
544
591
|
var contentTypes = ['application/json'];
|
|
545
592
|
var accepts = ['application/json'];
|
|
546
593
|
var returnType = _SearchWorkItemLinkUrlsApiResult["default"];
|
|
@@ -567,7 +614,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
567
614
|
|
|
568
615
|
/**
|
|
569
616
|
* Move WorkItem to another section
|
|
570
|
-
*
|
|
617
|
+
* Use case User sets WorkItem identifier User runs method execution System move WorkItem to another section
|
|
571
618
|
* @param {Object} opts Optional parameters
|
|
572
619
|
* @param {module:model/WorkItemMovePostModel} [workItemMovePostModel]
|
|
573
620
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/WorkItemShortModel} and HTTP response
|
|
@@ -581,7 +628,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
581
628
|
var queryParams = {};
|
|
582
629
|
var headerParams = {};
|
|
583
630
|
var formParams = {};
|
|
584
|
-
var authNames = ['
|
|
631
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
585
632
|
var contentTypes = ['application/json'];
|
|
586
633
|
var accepts = ['application/json'];
|
|
587
634
|
var returnType = _WorkItemShortModel["default"];
|
|
@@ -590,7 +637,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
590
637
|
|
|
591
638
|
/**
|
|
592
639
|
* Move WorkItem to another section
|
|
593
|
-
*
|
|
640
|
+
* Use case User sets WorkItem identifier User runs method execution System move WorkItem to another section
|
|
594
641
|
* @param {Object} opts Optional parameters
|
|
595
642
|
* @param {module:model/WorkItemMovePostModel} opts.workItemMovePostModel
|
|
596
643
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/WorkItemShortModel}
|
|
@@ -618,7 +665,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
618
665
|
var queryParams = {};
|
|
619
666
|
var headerParams = {};
|
|
620
667
|
var formParams = {};
|
|
621
|
-
var authNames = ['
|
|
668
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
622
669
|
var contentTypes = ['application/json'];
|
|
623
670
|
var accepts = ['application/json'];
|
|
624
671
|
var returnType = _WorkItemApiResult["default"];
|
|
@@ -639,6 +686,44 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
639
686
|
});
|
|
640
687
|
}
|
|
641
688
|
|
|
689
|
+
/**
|
|
690
|
+
* Update Test Case, Checklist or Shared Step
|
|
691
|
+
* Use case User sets work item properties (listed in request parameters) User runs method execution System updates work item by identifier System returns updated work item model (listed in response parameters)
|
|
692
|
+
* @param {Object} opts Optional parameters
|
|
693
|
+
* @param {module:model/UpdateWorkItemApiModel} [updateWorkItemApiModel]
|
|
694
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
695
|
+
*/
|
|
696
|
+
}, {
|
|
697
|
+
key: "apiV2WorkItemsPutWithHttpInfo",
|
|
698
|
+
value: function apiV2WorkItemsPutWithHttpInfo(opts) {
|
|
699
|
+
opts = opts || {};
|
|
700
|
+
var postBody = opts['updateWorkItemApiModel'];
|
|
701
|
+
var pathParams = {};
|
|
702
|
+
var queryParams = {};
|
|
703
|
+
var headerParams = {};
|
|
704
|
+
var formParams = {};
|
|
705
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
706
|
+
var contentTypes = ['application/json'];
|
|
707
|
+
var accepts = ['application/json'];
|
|
708
|
+
var returnType = null;
|
|
709
|
+
return this.apiClient.callApi('/api/v2/workItems', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* Update Test Case, Checklist or Shared Step
|
|
714
|
+
* Use case User sets work item properties (listed in request parameters) User runs method execution System updates work item by identifier System returns updated work item model (listed in response parameters)
|
|
715
|
+
* @param {Object} opts Optional parameters
|
|
716
|
+
* @param {module:model/UpdateWorkItemApiModel} opts.updateWorkItemApiModel
|
|
717
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
718
|
+
*/
|
|
719
|
+
}, {
|
|
720
|
+
key: "apiV2WorkItemsPut",
|
|
721
|
+
value: function apiV2WorkItemsPut(opts) {
|
|
722
|
+
return this.apiV2WorkItemsPutWithHttpInfo(opts).then(function (response_and_data) {
|
|
723
|
+
return response_and_data.data;
|
|
724
|
+
});
|
|
725
|
+
}
|
|
726
|
+
|
|
642
727
|
/**
|
|
643
728
|
* Search for work items
|
|
644
729
|
* @param {Object} opts Optional parameters
|
|
@@ -665,7 +750,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
665
750
|
};
|
|
666
751
|
var headerParams = {};
|
|
667
752
|
var formParams = {};
|
|
668
|
-
var authNames = ['
|
|
753
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
669
754
|
var contentTypes = ['application/json'];
|
|
670
755
|
var accepts = ['application/json'];
|
|
671
756
|
var returnType = [_WorkItemShortApiResult["default"]];
|
|
@@ -693,7 +778,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
693
778
|
|
|
694
779
|
/**
|
|
695
780
|
* Get SharedStep references in sections
|
|
696
|
-
*
|
|
781
|
+
* Use case User sets SharedStep identifier User runs method execution System return SharedStep references
|
|
697
782
|
* @param {String} sharedStepId
|
|
698
783
|
* @param {Object} opts Optional parameters
|
|
699
784
|
* @param {Number} [skip] Amount of items to be skipped (offset)
|
|
@@ -725,7 +810,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
725
810
|
};
|
|
726
811
|
var headerParams = {};
|
|
727
812
|
var formParams = {};
|
|
728
|
-
var authNames = ['
|
|
813
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
729
814
|
var contentTypes = ['application/json'];
|
|
730
815
|
var accepts = ['application/json'];
|
|
731
816
|
var returnType = [_SharedStepReferenceSectionModel["default"]];
|
|
@@ -734,7 +819,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
734
819
|
|
|
735
820
|
/**
|
|
736
821
|
* Get SharedStep references in sections
|
|
737
|
-
*
|
|
822
|
+
* Use case User sets SharedStep identifier User runs method execution System return SharedStep references
|
|
738
823
|
* @param {String} sharedStepId
|
|
739
824
|
* @param {Object} opts Optional parameters
|
|
740
825
|
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
@@ -755,7 +840,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
755
840
|
|
|
756
841
|
/**
|
|
757
842
|
* Get SharedStep references in work items
|
|
758
|
-
*
|
|
843
|
+
* Use case User sets SharedStep identifier User runs method execution System return SharedStep references
|
|
759
844
|
* @param {String} sharedStepId
|
|
760
845
|
* @param {Object} opts Optional parameters
|
|
761
846
|
* @param {Number} [skip] Amount of items to be skipped (offset)
|
|
@@ -787,7 +872,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
787
872
|
};
|
|
788
873
|
var headerParams = {};
|
|
789
874
|
var formParams = {};
|
|
790
|
-
var authNames = ['
|
|
875
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
791
876
|
var contentTypes = ['application/json'];
|
|
792
877
|
var accepts = ['application/json'];
|
|
793
878
|
var returnType = [_SharedStepReferenceModel["default"]];
|
|
@@ -796,7 +881,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
796
881
|
|
|
797
882
|
/**
|
|
798
883
|
* Get SharedStep references in work items
|
|
799
|
-
*
|
|
884
|
+
* Use case User sets SharedStep identifier User runs method execution System return SharedStep references
|
|
800
885
|
* @param {String} sharedStepId
|
|
801
886
|
* @param {Object} opts Optional parameters
|
|
802
887
|
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
@@ -817,7 +902,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
817
902
|
|
|
818
903
|
/**
|
|
819
904
|
* Get SharedStep references
|
|
820
|
-
*
|
|
905
|
+
* Use case User sets SharedStep identifier User runs method execution System return SharedStep references
|
|
821
906
|
* @param {String} sharedStepId
|
|
822
907
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/SharedStepReferenceModel>} and HTTP response
|
|
823
908
|
*/
|
|
@@ -835,7 +920,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
835
920
|
var queryParams = {};
|
|
836
921
|
var headerParams = {};
|
|
837
922
|
var formParams = {};
|
|
838
|
-
var authNames = ['
|
|
923
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
839
924
|
var contentTypes = [];
|
|
840
925
|
var accepts = ['application/json'];
|
|
841
926
|
var returnType = [_SharedStepReferenceModel["default"]];
|
|
@@ -844,7 +929,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
844
929
|
|
|
845
930
|
/**
|
|
846
931
|
* Get SharedStep references
|
|
847
|
-
*
|
|
932
|
+
* Use case User sets SharedStep identifier User runs method execution System return SharedStep references
|
|
848
933
|
* @param {String} sharedStepId
|
|
849
934
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/SharedStepReferenceModel>}
|
|
850
935
|
*/
|
|
@@ -858,8 +943,8 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
858
943
|
|
|
859
944
|
/**
|
|
860
945
|
* Delete all links AutoTests from WorkItem by Id or GlobalId
|
|
861
|
-
*
|
|
862
|
-
* @param {String} id WorkItem internal (guid format) or
|
|
946
|
+
* Use case User sets work item identifier User runs method execution System search work item by identifier System search and delete all autotests, related to found work item System returns no content response
|
|
947
|
+
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
863
948
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
864
949
|
*/
|
|
865
950
|
}, {
|
|
@@ -876,7 +961,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
876
961
|
var queryParams = {};
|
|
877
962
|
var headerParams = {};
|
|
878
963
|
var formParams = {};
|
|
879
|
-
var authNames = ['
|
|
964
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
880
965
|
var contentTypes = [];
|
|
881
966
|
var accepts = ['application/json'];
|
|
882
967
|
var returnType = null;
|
|
@@ -885,8 +970,8 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
885
970
|
|
|
886
971
|
/**
|
|
887
972
|
* Delete all links AutoTests from WorkItem by Id or GlobalId
|
|
888
|
-
*
|
|
889
|
-
* @param {String} id WorkItem internal (guid format) or
|
|
973
|
+
* Use case User sets work item identifier User runs method execution System search work item by identifier System search and delete all autotests, related to found work item System returns no content response
|
|
974
|
+
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
890
975
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
891
976
|
*/
|
|
892
977
|
}, {
|
|
@@ -899,8 +984,8 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
899
984
|
|
|
900
985
|
/**
|
|
901
986
|
* Delete Test Case, Checklist or Shared Step by Id or GlobalId
|
|
902
|
-
*
|
|
903
|
-
* @param {String} id WorkItem internal (guid format) or
|
|
987
|
+
* Use case User sets work item identifier User runs method execution System deletes work item System returns no content response
|
|
988
|
+
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
904
989
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
905
990
|
*/
|
|
906
991
|
}, {
|
|
@@ -917,7 +1002,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
917
1002
|
var queryParams = {};
|
|
918
1003
|
var headerParams = {};
|
|
919
1004
|
var formParams = {};
|
|
920
|
-
var authNames = ['
|
|
1005
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
921
1006
|
var contentTypes = [];
|
|
922
1007
|
var accepts = ['application/json'];
|
|
923
1008
|
var returnType = null;
|
|
@@ -926,8 +1011,8 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
926
1011
|
|
|
927
1012
|
/**
|
|
928
1013
|
* Delete Test Case, Checklist or Shared Step by Id or GlobalId
|
|
929
|
-
*
|
|
930
|
-
* @param {String} id WorkItem internal (guid format) or
|
|
1014
|
+
* Use case User sets work item identifier User runs method execution System deletes work item System returns no content response
|
|
1015
|
+
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
931
1016
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
932
1017
|
*/
|
|
933
1018
|
}, {
|
|
@@ -940,8 +1025,8 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
940
1025
|
|
|
941
1026
|
/**
|
|
942
1027
|
* Get all AutoTests linked to WorkItem by Id or GlobalId
|
|
943
|
-
*
|
|
944
|
-
* @param {String} id WorkItem internal (guid format) or
|
|
1028
|
+
* Use case User sets work item identifier User runs method execution System search work item by identifier System search all autotests, related to found work item System returns list of found autotests
|
|
1029
|
+
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
945
1030
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AutoTestModel>} and HTTP response
|
|
946
1031
|
*/
|
|
947
1032
|
}, {
|
|
@@ -958,7 +1043,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
958
1043
|
var queryParams = {};
|
|
959
1044
|
var headerParams = {};
|
|
960
1045
|
var formParams = {};
|
|
961
|
-
var authNames = ['
|
|
1046
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
962
1047
|
var contentTypes = [];
|
|
963
1048
|
var accepts = ['application/json'];
|
|
964
1049
|
var returnType = [_AutoTestModel["default"]];
|
|
@@ -967,8 +1052,8 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
967
1052
|
|
|
968
1053
|
/**
|
|
969
1054
|
* Get all AutoTests linked to WorkItem by Id or GlobalId
|
|
970
|
-
*
|
|
971
|
-
* @param {String} id WorkItem internal (guid format) or
|
|
1055
|
+
* Use case User sets work item identifier User runs method execution System search work item by identifier System search all autotests, related to found work item System returns list of found autotests
|
|
1056
|
+
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
972
1057
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AutoTestModel>}
|
|
973
1058
|
*/
|
|
974
1059
|
}, {
|
|
@@ -981,7 +1066,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
981
1066
|
|
|
982
1067
|
/**
|
|
983
1068
|
* Get iterations by work item Id or GlobalId
|
|
984
|
-
* @param {String} id WorkItem internal (guid format) or
|
|
1069
|
+
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
985
1070
|
* @param {Object} opts Optional parameters
|
|
986
1071
|
* @param {String} [versionId] WorkItem version (guid format) identifier
|
|
987
1072
|
* @param {Number} [versionNumber] WorkItem version number (0 is the last version)\"
|
|
@@ -1005,7 +1090,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1005
1090
|
};
|
|
1006
1091
|
var headerParams = {};
|
|
1007
1092
|
var formParams = {};
|
|
1008
|
-
var authNames = ['
|
|
1093
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
1009
1094
|
var contentTypes = [];
|
|
1010
1095
|
var accepts = ['application/json'];
|
|
1011
1096
|
var returnType = [_IterationModel["default"]];
|
|
@@ -1014,7 +1099,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1014
1099
|
|
|
1015
1100
|
/**
|
|
1016
1101
|
* Get iterations by work item Id or GlobalId
|
|
1017
|
-
* @param {String} id WorkItem internal (guid format) or
|
|
1102
|
+
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
1018
1103
|
* @param {Object} opts Optional parameters
|
|
1019
1104
|
* @param {String} opts.versionId WorkItem version (guid format) identifier
|
|
1020
1105
|
* @param {Number} opts.versionNumber WorkItem version number (0 is the last version)\"
|
|
@@ -1030,8 +1115,8 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1030
1115
|
|
|
1031
1116
|
/**
|
|
1032
1117
|
* Get Test Case, Checklist or Shared Step by Id or GlobalId
|
|
1033
|
-
*
|
|
1034
|
-
* @param {String} id WorkItem internal (guid format) or
|
|
1118
|
+
* Use case User sets work item identifier [Optional] User sets work item version identifier [Optional] User sets work item version number User runs method execution System search work item by identifier [Optional] if User sets work item version identifier, system search work item version by identifier. [Optional] if user sets work item version number, system search work item version by number Otherwise, system search last work item version System returns work item
|
|
1119
|
+
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
1035
1120
|
* @param {Object} opts Optional parameters
|
|
1036
1121
|
* @param {String} [versionId] WorkItem version (guid format) identifier\"
|
|
1037
1122
|
* @param {Number} [versionNumber] WorkItem version number (0 is the last version)\"
|
|
@@ -1055,7 +1140,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1055
1140
|
};
|
|
1056
1141
|
var headerParams = {};
|
|
1057
1142
|
var formParams = {};
|
|
1058
|
-
var authNames = ['
|
|
1143
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
1059
1144
|
var contentTypes = [];
|
|
1060
1145
|
var accepts = ['application/json'];
|
|
1061
1146
|
var returnType = _WorkItemApiResult["default"];
|
|
@@ -1064,8 +1149,8 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1064
1149
|
|
|
1065
1150
|
/**
|
|
1066
1151
|
* Get Test Case, Checklist or Shared Step by Id or GlobalId
|
|
1067
|
-
*
|
|
1068
|
-
* @param {String} id WorkItem internal (guid format) or
|
|
1152
|
+
* Use case User sets work item identifier [Optional] User sets work item version identifier [Optional] User sets work item version number User runs method execution System search work item by identifier [Optional] if User sets work item version identifier, system search work item version by identifier. [Optional] if user sets work item version number, system search work item version by number Otherwise, system search last work item version System returns work item
|
|
1153
|
+
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
1069
1154
|
* @param {Object} opts Optional parameters
|
|
1070
1155
|
* @param {String} opts.versionId WorkItem version (guid format) identifier\"
|
|
1071
1156
|
* @param {Number} opts.versionNumber WorkItem version number (0 is the last version)\"
|
|
@@ -1081,7 +1166,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1081
1166
|
|
|
1082
1167
|
/**
|
|
1083
1168
|
* Get WorkItem chronology by Id or GlobalId
|
|
1084
|
-
*
|
|
1169
|
+
* Use case User sets work item identifier User runs method execution System search work item by identifier System search test results of all autotests, related to found work item System sort results by CompletedOn ascending, then by CreatedDate ascending System returns sorted collection of test results
|
|
1085
1170
|
* @param {String} id Internal (UUID) or global (integer) identifier
|
|
1086
1171
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestResultChronologyModel>} and HTTP response
|
|
1087
1172
|
*/
|
|
@@ -1099,7 +1184,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1099
1184
|
var queryParams = {};
|
|
1100
1185
|
var headerParams = {};
|
|
1101
1186
|
var formParams = {};
|
|
1102
|
-
var authNames = ['
|
|
1187
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
1103
1188
|
var contentTypes = [];
|
|
1104
1189
|
var accepts = ['application/json'];
|
|
1105
1190
|
var returnType = [_TestResultChronologyModel["default"]];
|
|
@@ -1108,7 +1193,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1108
1193
|
|
|
1109
1194
|
/**
|
|
1110
1195
|
* Get WorkItem chronology by Id or GlobalId
|
|
1111
|
-
*
|
|
1196
|
+
* Use case User sets work item identifier User runs method execution System search work item by identifier System search test results of all autotests, related to found work item System sort results by CompletedOn ascending, then by CreatedDate ascending System returns sorted collection of test results
|
|
1112
1197
|
* @param {String} id Internal (UUID) or global (integer) identifier
|
|
1113
1198
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestResultChronologyModel>}
|
|
1114
1199
|
*/
|
|
@@ -1122,11 +1207,11 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1122
1207
|
|
|
1123
1208
|
/**
|
|
1124
1209
|
* Get WorkItem versions
|
|
1125
|
-
*
|
|
1126
|
-
* @param {String} id WorkItem internal (guid format) or
|
|
1210
|
+
* Use case User sets work item identifier [Optional] User sets work item version identifier User runs method execution System search work item by identifier [Optional] If User set work item version identifier, System search work item version by version identifier Otherwise, system search all version of work item System returns array of work item version models (listed in response example)
|
|
1211
|
+
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
1127
1212
|
* @param {Object} opts Optional parameters
|
|
1128
|
-
* @param {String} [workItemVersionId] WorkItem version (guid format)
|
|
1129
|
-
* @param {Number} [versionNumber] WorkItem version (integer format)
|
|
1213
|
+
* @param {String} [workItemVersionId] WorkItem version (guid format) identifier\"
|
|
1214
|
+
* @param {Number} [versionNumber] WorkItem version (integer format) number\"
|
|
1130
1215
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/WorkItemVersionModel>} and HTTP response
|
|
1131
1216
|
*/
|
|
1132
1217
|
}, {
|
|
@@ -1147,7 +1232,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1147
1232
|
};
|
|
1148
1233
|
var headerParams = {};
|
|
1149
1234
|
var formParams = {};
|
|
1150
|
-
var authNames = ['
|
|
1235
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
1151
1236
|
var contentTypes = [];
|
|
1152
1237
|
var accepts = ['application/json'];
|
|
1153
1238
|
var returnType = [_WorkItemVersionModel["default"]];
|
|
@@ -1156,11 +1241,11 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1156
1241
|
|
|
1157
1242
|
/**
|
|
1158
1243
|
* Get WorkItem versions
|
|
1159
|
-
*
|
|
1160
|
-
* @param {String} id WorkItem internal (guid format) or
|
|
1244
|
+
* Use case User sets work item identifier [Optional] User sets work item version identifier User runs method execution System search work item by identifier [Optional] If User set work item version identifier, System search work item version by version identifier Otherwise, system search all version of work item System returns array of work item version models (listed in response example)
|
|
1245
|
+
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
1161
1246
|
* @param {Object} opts Optional parameters
|
|
1162
|
-
* @param {String} opts.workItemVersionId WorkItem version (guid format)
|
|
1163
|
-
* @param {Number} opts.versionNumber WorkItem version (integer format)
|
|
1247
|
+
* @param {String} opts.workItemVersionId WorkItem version (guid format) identifier\"
|
|
1248
|
+
* @param {Number} opts.versionNumber WorkItem version (integer format) number\"
|
|
1164
1249
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/WorkItemVersionModel>}
|
|
1165
1250
|
*/
|
|
1166
1251
|
}, {
|
|
@@ -1190,7 +1275,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1190
1275
|
var queryParams = {};
|
|
1191
1276
|
var headerParams = {};
|
|
1192
1277
|
var formParams = {};
|
|
1193
|
-
var authNames = ['
|
|
1278
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
1194
1279
|
var contentTypes = [];
|
|
1195
1280
|
var accepts = ['application/json'];
|
|
1196
1281
|
var returnType = null;
|
|
@@ -1229,7 +1314,7 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1229
1314
|
var queryParams = {};
|
|
1230
1315
|
var headerParams = {};
|
|
1231
1316
|
var formParams = {};
|
|
1232
|
-
var authNames = ['
|
|
1317
|
+
var authNames = ['PrivateToken', 'Cookies'];
|
|
1233
1318
|
var contentTypes = [];
|
|
1234
1319
|
var accepts = ['application/json'];
|
|
1235
1320
|
var returnType = null;
|
|
@@ -1248,43 +1333,5 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1248
1333
|
return response_and_data.data;
|
|
1249
1334
|
});
|
|
1250
1335
|
}
|
|
1251
|
-
|
|
1252
|
-
/**
|
|
1253
|
-
* Update Test Case, Checklist or Shared Step
|
|
1254
|
-
* Use case User sets work item properties (listed in request parameters) User runs method execution System updates work item by identifier System returns updated work item model (listed in response parameters)
|
|
1255
|
-
* @param {Object} opts Optional parameters
|
|
1256
|
-
* @param {module:model/UpdateWorkItemApiModel} [updateWorkItemApiModel]
|
|
1257
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1258
|
-
*/
|
|
1259
|
-
}, {
|
|
1260
|
-
key: "updateWorkItemWithHttpInfo",
|
|
1261
|
-
value: function updateWorkItemWithHttpInfo(opts) {
|
|
1262
|
-
opts = opts || {};
|
|
1263
|
-
var postBody = opts['updateWorkItemApiModel'];
|
|
1264
|
-
var pathParams = {};
|
|
1265
|
-
var queryParams = {};
|
|
1266
|
-
var headerParams = {};
|
|
1267
|
-
var formParams = {};
|
|
1268
|
-
var authNames = ['Bearer or PrivateToken'];
|
|
1269
|
-
var contentTypes = ['application/json'];
|
|
1270
|
-
var accepts = ['application/json'];
|
|
1271
|
-
var returnType = null;
|
|
1272
|
-
return this.apiClient.callApi('/api/v2/workItems', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1273
|
-
}
|
|
1274
|
-
|
|
1275
|
-
/**
|
|
1276
|
-
* Update Test Case, Checklist or Shared Step
|
|
1277
|
-
* Use case User sets work item properties (listed in request parameters) User runs method execution System updates work item by identifier System returns updated work item model (listed in response parameters)
|
|
1278
|
-
* @param {Object} opts Optional parameters
|
|
1279
|
-
* @param {module:model/UpdateWorkItemApiModel} opts.updateWorkItemApiModel
|
|
1280
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1281
|
-
*/
|
|
1282
|
-
}, {
|
|
1283
|
-
key: "updateWorkItem",
|
|
1284
|
-
value: function updateWorkItem(opts) {
|
|
1285
|
-
return this.updateWorkItemWithHttpInfo(opts).then(function (response_and_data) {
|
|
1286
|
-
return response_and_data.data;
|
|
1287
|
-
});
|
|
1288
|
-
}
|
|
1289
1336
|
}]);
|
|
1290
1337
|
}();
|