testit-api-client 7.0.0-rc1 → 7.0.0-rc3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.MD +8 -10
- package/dist/ApiClient.js +30 -23
- package/dist/api/AttachmentsApi.js +81 -52
- package/dist/api/AutoTestsApi.js +360 -196
- package/dist/api/BackgroundJobsApi.js +97 -62
- package/dist/api/ConfigurationsApi.js +189 -119
- package/dist/api/CustomAttributeTemplatesApi.js +149 -90
- package/dist/api/CustomAttributesApi.js +98 -63
- package/dist/api/ExternalIssuesApi.js +19 -14
- package/dist/api/NotificationsApi.js +91 -52
- package/dist/api/ParametersApi.js +264 -149
- package/dist/api/ProjectAttributeTemplatesApi.js +57 -32
- package/dist/api/ProjectAttributesApi.js +107 -62
- package/dist/api/ProjectConfigurationsApi.js +19 -14
- package/dist/api/ProjectSectionsApi.js +25 -14
- package/dist/api/ProjectSettingsApi.js +34 -23
- package/dist/api/ProjectTestPlanAttributesApi.js +90 -51
- package/dist/api/ProjectTestPlanTestPointsApi.js +38 -23
- package/dist/api/ProjectTestPlansApi.js +114 -63
- package/dist/api/ProjectWorkItemsApi.js +130 -64
- package/dist/api/ProjectsApi.js +422 -244
- package/dist/api/SearchApi.js +18 -14
- package/dist/api/SectionsApi.js +140 -79
- package/dist/api/TagsApi.js +108 -62
- package/dist/api/TestPlansApi.js +524 -299
- package/dist/api/TestPointsApi.js +72 -44
- package/dist/api/TestResultsApi.js +242 -149
- package/dist/api/TestRunsApi.js +379 -235
- package/dist/api/TestSuitesApi.js +211 -127
- package/dist/api/UsersApi.js +18 -14
- package/dist/api/WebhooksApi.js +157 -102
- package/dist/api/WebhooksLogsApi.js +52 -33
- package/dist/api/WorkItemsApi.js +450 -256
- package/dist/api/WorkItemsCommentsApi.js +78 -52
- package/dist/model/AIServiceModelApiResult.js +1 -1
- package/dist/model/AIServiceModelApiResultReply.js +1 -1
- package/dist/model/AssignAttachmentApiModel.js +1 -1
- package/dist/model/AssignIterationApiModel.js +1 -1
- package/dist/model/AttachmentApiResult.js +1 -1
- package/dist/model/AttachmentChangeViewModel.js +1 -1
- package/dist/model/AttachmentChangeViewModelArrayChangedFieldViewModel.js +1 -1
- package/dist/model/AttachmentModel.js +1 -1
- package/dist/model/AttachmentPutModel.js +1 -1
- package/dist/model/AttachmentPutModelAutoTestStepResultsModel.js +1 -1
- package/dist/model/AttachmentUpdateRequest.js +1 -1
- package/dist/model/AuditApiResult.js +1 -1
- package/dist/model/AutoTest.js +1 -1
- package/dist/model/AutoTestApiResult.js +1 -1
- package/dist/model/AutoTestAverageDurationApiResult.js +1 -1
- package/dist/model/AutoTestBulkDeleteApiModel.js +1 -1
- package/dist/model/AutoTestBulkDeleteApiResult.js +1 -1
- package/dist/model/AutoTestChangeViewModel.js +1 -1
- package/dist/model/AutoTestChangeViewModelArrayChangedFieldViewModel.js +1 -1
- package/dist/model/AutoTestClassCountApiModel.js +1 -1
- package/dist/model/AutoTestCreateApiModel.js +1 -1
- package/dist/model/AutoTestExtractionApiModel.js +1 -1
- package/dist/model/AutoTestFilterApiModel.js +1 -1
- package/dist/model/AutoTestFilterModel.js +1 -1
- package/dist/model/AutoTestFlakyBulkApiModel.js +1 -1
- package/dist/model/AutoTestIdModel.js +1 -1
- package/dist/model/AutoTestModel.js +1 -1
- package/dist/model/AutoTestModelV2GetModel.js +1 -1
- package/dist/model/AutoTestNamespaceApiResult.js +1 -1
- package/dist/model/AutoTestNamespaceCountApiModel.js +1 -1
- package/dist/model/AutoTestNamespacesCountResponse.js +1 -1
- package/dist/model/AutoTestProjectSettingsApiModel.js +1 -1
- package/dist/model/AutoTestProjectSettingsApiResult.js +1 -1
- package/dist/model/AutoTestResultHistoryApiResult.js +1 -1
- package/dist/model/AutoTestResultHistorySelectApiModel.js +1 -1
- package/dist/model/AutoTestResultReasonShort.js +1 -1
- package/dist/model/AutoTestResultReasonsCountItemModel.js +1 -1
- package/dist/model/AutoTestResultReasonsCountModel.js +1 -1
- package/dist/model/AutoTestResultsForTestRunModel.js +1 -1
- package/dist/model/AutoTestSearchApiModel.js +1 -1
- package/dist/model/AutoTestSearchIncludeApiModel.js +1 -1
- package/dist/model/AutoTestSelectApiModel.js +1 -1
- package/dist/model/AutoTestSelectModel.js +1 -1
- package/dist/model/AutoTestShortApiResult.js +1 -1
- package/dist/model/AutoTestStep.js +1 -1
- package/dist/model/AutoTestStepApiModel.js +1 -1
- package/dist/model/AutoTestStepApiResult.js +1 -1
- package/dist/model/AutoTestStepModel.js +1 -1
- package/dist/model/AutoTestStepResult.js +1 -1
- package/dist/model/AutoTestStepResultUpdateRequest.js +1 -1
- package/dist/model/AutoTestStepResultsApiResult.js +1 -1
- package/dist/model/AutoTestUpdateApiModel.js +1 -1
- package/dist/model/AutoTestWorkItemIdentifierApiResult.js +1 -1
- package/dist/model/AutoTestsExtractionModel.js +1 -1
- package/dist/model/AutotestResultReasonFilterModel.js +1 -1
- package/dist/model/AutotestResultReasonShortGetModel.js +1 -1
- package/dist/model/BackgroundJobAttachmentModel.js +1 -1
- package/dist/model/BackgroundJobFilterModel.js +1 -1
- package/dist/model/BackgroundJobGetModel.js +1 -1
- package/dist/model/BooleanChangedFieldViewModel.js +1 -1
- package/dist/model/BooleanNullableChangedFieldViewModel.js +1 -1
- package/dist/model/CollectionFilter.js +1 -1
- package/dist/model/CompositeFilter.js +1 -1
- package/dist/model/ConfigurationByParametersModel.js +1 -1
- package/dist/model/ConfigurationExtractionApiModel.js +1 -1
- package/dist/model/ConfigurationExtractionModel.js +1 -1
- package/dist/model/ConfigurationFilterApiModel.js +1 -1
- package/dist/model/ConfigurationFilterModel.js +1 -1
- package/dist/model/ConfigurationModel.js +1 -1
- package/dist/model/ConfigurationPostModel.js +1 -1
- package/dist/model/ConfigurationPutModel.js +1 -1
- package/dist/model/ConfigurationSelectApiModel.js +1 -1
- package/dist/model/ConfigurationSelectModel.js +1 -1
- package/dist/model/ConfigurationShort.js +1 -1
- package/dist/model/ConfigurationShortApiResult.js +1 -1
- package/dist/model/ConfigurationShortModel.js +1 -1
- package/dist/model/CreateDefectApiModel.js +1 -1
- package/dist/model/CreateEmptyTestRunApiModel.js +1 -1
- package/dist/model/CreateFailureCategoryApiModel.js +1 -1
- package/dist/model/CreateFailureClassRegexApiModel.js +1 -1
- package/dist/model/CreateLinkApiModel.js +1 -1
- package/dist/model/CreateParameterApiModel.js +1 -1
- package/dist/model/CreateProjectApiModel.js +1 -1
- package/dist/model/CreateProjectFailureCategoryApiModel.js +1 -1
- package/dist/model/CreateStepApiModel.js +1 -1
- package/dist/model/CreateTagApiModel.js +1 -1
- package/dist/model/CreateTestPlanApiModel.js +1 -1
- package/dist/model/CreateTestRunAndFillByAutoTestsApiModel.js +1 -1
- package/dist/model/CreateTestRunAndFillByConfigurationsApiModel.js +1 -1
- package/dist/model/CreateTestRunAndFillByWorkItemsApiModel.js +1 -1
- package/dist/model/CreateTestStatusApiModel.js +1 -1
- package/dist/model/CreateWorkItemApiModel.js +1 -1
- package/dist/model/CreateWorkItemPreviewsApiModel.js +1 -1
- package/dist/model/CreateWorkflowApiModel.js +1 -1
- package/dist/model/CustomAttributeApiResult.js +1 -1
- package/dist/model/CustomAttributeChangeModel.js +1 -1
- package/dist/model/CustomAttributeGetModel.js +1 -1
- package/dist/model/CustomAttributeModel.js +1 -1
- package/dist/model/CustomAttributeOptionApiResult.js +1 -1
- package/dist/model/CustomAttributeOptionModel.js +1 -1
- package/dist/model/CustomAttributeOptionPostModel.js +1 -1
- package/dist/model/CustomAttributePostModel.js +1 -1
- package/dist/model/CustomAttributePutModel.js +1 -1
- package/dist/model/CustomAttributeSearchQueryModel.js +1 -1
- package/dist/model/CustomAttributeSearchResponseModel.js +1 -1
- package/dist/model/CustomAttributeTemplateModel.js +1 -1
- package/dist/model/CustomAttributeTemplatePostModel.js +1 -1
- package/dist/model/CustomAttributeTemplatePutModel.js +1 -1
- package/dist/model/CustomAttributeTemplateSearchQueryModel.js +1 -1
- package/dist/model/CustomAttributeTemplateValidationResult.js +1 -1
- package/dist/model/CustomAttributeTestPlanProjectRelationPutModel.js +1 -1
- package/dist/model/CustomAttributeValidationResult.js +1 -1
- package/dist/model/DateTimeRangeSelectorModel.js +1 -1
- package/dist/model/DefectApiModel.js +1 -1
- package/dist/model/DemoProjectApiResult.js +1 -1
- package/dist/model/EnableProjectExternalServiceApiModel.js +1 -1
- package/dist/model/ExternalFormAllowedValueModel.js +1 -1
- package/dist/model/ExternalFormCreateModel.js +1 -1
- package/dist/model/ExternalFormFieldModel.js +1 -1
- package/dist/model/ExternalFormLinkModel.js +1 -1
- package/dist/model/ExternalFormModel.js +1 -1
- package/dist/model/ExternalIssueApiFieldSuggestion.js +1 -1
- package/dist/model/ExternalIssueApiFieldSuggestionReply.js +1 -1
- package/dist/model/ExternalIssueApiMetadata.js +1 -1
- package/dist/model/ExternalIssueApiPriority.js +1 -1
- package/dist/model/ExternalIssueApiResult.js +1 -1
- package/dist/model/ExternalIssueApiType.js +1 -1
- package/dist/model/ExternalIssueExternalServiceApiResult.js +1 -1
- package/dist/model/ExternalIssueMetadataModel.js +1 -1
- package/dist/model/ExternalIssueModel.js +1 -1
- package/dist/model/ExternalIssuePriorityModel.js +1 -1
- package/dist/model/ExternalIssueTypeModel.js +1 -1
- package/dist/model/ExternalLinkModel.js +1 -1
- package/dist/model/ExternalServiceMetadataApiResult.js +1 -1
- package/dist/model/ExternalServicesMetadataApiResult.js +1 -1
- package/dist/model/FailureCategoryApiResult.js +1 -1
- package/dist/model/FailureCategoryGroupApiModel.js +1 -1
- package/dist/model/FailureCategoryGroupApiResult.js +1 -1
- package/dist/model/FailureCategoryGroupItemApiResult.js +1 -1
- package/dist/model/FailureCategoryGroupItemApiResultReply.js +1 -1
- package/dist/model/FailureCategoryGroupSearchApiModel.js +1 -1
- package/dist/model/FailureCategoryItemApiResult.js +1 -1
- package/dist/model/FailureClassRegexApiResult.js +1 -1
- package/dist/model/Filter.js +1 -1
- package/dist/model/FilterModel.js +1 -1
- package/dist/model/GenerateWorkItemPreviewsApiModel.js +1 -1
- package/dist/model/GenerateWorkItemPreviewsApiResult.js +1 -1
- package/dist/model/GetAIServiceModelsApiModel.js +1 -1
- package/dist/model/GetExternalFormApiResult.js +1 -1
- package/dist/model/GetExternalIssueSuggestionsApiModel.js +1 -1
- package/dist/model/GetShortProjectsApiModel.js +1 -1
- package/dist/model/GetXlsxTestPointsByTestPlanModel.js +1 -1
- package/dist/model/GlobalCustomAttributePostModel.js +1 -1
- package/dist/model/GlobalCustomAttributeUpdateModel.js +1 -1
- package/dist/model/GlobalSearchItemResult.js +1 -1
- package/dist/model/GlobalSearchRequest.js +1 -1
- package/dist/model/GlobalSearchResponse.js +1 -1
- package/dist/model/GuidChangedFieldViewModel.js +1 -1
- package/dist/model/GuidExtractionModel.js +1 -1
- package/dist/model/IFilter.js +1 -1
- package/dist/model/Inquiry.js +1 -1
- package/dist/model/Int32ChangedFieldViewModel.js +1 -1
- package/dist/model/Int32RangeSelectorModel.js +1 -1
- package/dist/model/Int64ChangedFieldViewModel.js +1 -1
- package/dist/model/Int64RangeSelectorModel.js +1 -1
- package/dist/model/IterationApiResult.js +1 -1
- package/dist/model/IterationModel.js +1 -1
- package/dist/model/Label.js +1 -1
- package/dist/model/LabelApiModel.js +1 -1
- package/dist/model/LabelApiResult.js +1 -1
- package/dist/model/LabelShortModel.js +1 -1
- package/dist/model/LastTestResultApiResult.js +1 -1
- package/dist/model/LastTestResultModel.js +1 -1
- package/dist/model/Link.js +1 -1
- package/dist/model/LinkApiResult.js +1 -1
- package/dist/model/LinkCreateApiModel.js +1 -1
- package/dist/model/LinkModel.js +1 -1
- package/dist/model/LinkPostModel.js +1 -1
- package/dist/model/LinkPutModel.js +1 -1
- package/dist/model/LinkShort.js +1 -1
- package/dist/model/LinkShortApiResult.js +1 -1
- package/dist/model/LinkShortModel.js +1 -1
- package/dist/model/LinkUpdateApiModel.js +1 -1
- package/dist/model/ManualRerunApiResult.js +1 -1
- package/dist/model/ManualRerunSelectTestResultsApiModel.js +1 -1
- package/dist/model/ManualRerunTestResultApiModel.js +1 -1
- package/dist/model/NamedEntityApiModel.js +1 -1
- package/dist/model/NotificationModel.js +1 -1
- package/dist/model/NotificationQueryFilterModel.js +1 -1
- package/dist/model/Operation.js +1 -1
- package/dist/model/Order.js +1 -1
- package/dist/model/Page.js +1 -1
- package/dist/model/ParameterApiResult.js +1 -1
- package/dist/model/ParameterGroupApiResult.js +1 -1
- package/dist/model/ParameterGroupsFilterApiModel.js +1 -1
- package/dist/model/ParameterIterationModel.js +1 -1
- package/dist/model/ParameterShortApiResult.js +1 -1
- package/dist/model/ParameterShortModel.js +1 -1
- package/dist/model/ParametersFilterApiModel.js +1 -1
- package/dist/model/PeriodViewModel.js +1 -1
- package/dist/model/PeriodViewModelChangedFieldViewModel.js +1 -1
- package/dist/model/PreviewsIssueLinkApiModel.js +1 -1
- package/dist/model/PreviewsIssueLinkApiResult.js +1 -1
- package/dist/model/ProblemDetails.js +1 -1
- package/dist/model/ProjectApiResult.js +1 -1
- package/dist/model/ProjectAttributesFilterModel.js +1 -1
- package/dist/model/ProjectCustomAttributeTemplateGetModel.js +1 -1
- package/dist/model/ProjectCustomAttributesTemplatesFilterModel.js +1 -1
- package/dist/model/ProjectDetailedFailureCategoryApiResult.js +1 -1
- package/dist/model/ProjectExternalServiceApiResult.js +1 -1
- package/dist/model/ProjectExternalServiceSettingsApiResult.js +1 -1
- package/dist/model/ProjectExternalServicesApiResult.js +1 -1
- package/dist/model/ProjectExtractionModel.js +1 -1
- package/dist/model/ProjectFailureCategoryApiResult.js +1 -1
- package/dist/model/ProjectFailureCategoryGroupItemApiResult.js +1 -1
- package/dist/model/ProjectFailureCategoryGroupItemApiResultReply.js +1 -1
- package/dist/model/ProjectModel.js +1 -1
- package/dist/model/ProjectNameApiResult.js +1 -1
- package/dist/model/ProjectSelectModel.js +1 -1
- package/dist/model/ProjectShortApiResult.js +1 -1
- package/dist/model/ProjectShortApiResultReply.js +1 -1
- package/dist/model/ProjectShortModel.js +1 -1
- package/dist/model/ProjectShortestModel.js +1 -1
- package/dist/model/ProjectTestPlansFilterModel.js +1 -1
- package/dist/model/ProjectsFilterModel.js +1 -1
- package/dist/model/ReplaceProjectExternalServiceApiModel.js +1 -1
- package/dist/model/RerunTestResultApiResult.js +1 -1
- package/dist/model/RerunTestResultModel.js +1 -1
- package/dist/model/RerunsModel.js +1 -1
- package/dist/model/SearchCustomAttributeTemplateGetModel.js +1 -1
- package/dist/model/SearchExternalIssuesApiModel.js +1 -1
- package/dist/model/SearchTestRunsApiModel.js +1 -1
- package/dist/model/SearchTestStatusesApiModel.js +1 -1
- package/dist/model/SearchWebhooksQueryModel.js +1 -1
- package/dist/model/SearchWorkItemLinkUrlsApiResult.js +1 -1
- package/dist/model/SearchWorkflowProjectsApiModel.js +1 -1
- package/dist/model/SearchWorkflowsApiModel.js +1 -1
- package/dist/model/SectionModel.js +1 -1
- package/dist/model/SectionMoveModel.js +1 -1
- package/dist/model/SectionPostModel.js +1 -1
- package/dist/model/SectionPutModel.js +1 -1
- package/dist/model/SectionRenameModel.js +1 -1
- package/dist/model/SectionWithStepsModel.js +1 -1
- package/dist/model/SelectTagsApiModel.js +1 -1
- package/dist/model/SharedStepChangeViewModel.js +1 -1
- package/dist/model/SharedStepModel.js +1 -1
- package/dist/model/SharedStepReferenceModel.js +1 -1
- package/dist/model/SharedStepReferenceSectionModel.js +1 -1
- package/dist/model/SharedStepReferenceSectionsQueryFilterModel.js +1 -1
- package/dist/model/SharedStepReferencesQueryFilterModel.js +1 -1
- package/dist/model/SharedStepResultApiModel.js +1 -1
- package/dist/model/ShortConfiguration.js +1 -1
- package/dist/model/StepCommentApiModel.js +1 -1
- package/dist/model/StepModel.js +1 -1
- package/dist/model/StepPostModel.js +1 -1
- package/dist/model/StepPutModel.js +1 -1
- package/dist/model/StepResultApiModel.js +1 -1
- package/dist/model/StringArrayChangedFieldViewModel.js +1 -1
- package/dist/model/StringChangedFieldViewModel.js +1 -1
- package/dist/model/StringChangedFieldWithDiffsViewModel.js +1 -1
- package/dist/model/StringExtractionModel.js +1 -1
- package/dist/model/TagApiModel.js +1 -1
- package/dist/model/TagApiResult.js +1 -1
- package/dist/model/TagModel.js +1 -1
- package/dist/model/TagShortApiResult.js +1 -1
- package/dist/model/TagsExtractionApiModel.js +1 -1
- package/dist/model/TagsFilterApiModel.js +1 -1
- package/dist/model/TestPlanApiResult.js +1 -1
- package/dist/model/TestPlanChangeModel.js +1 -1
- package/dist/model/TestPlanChangedFieldsViewModel.js +1 -1
- package/dist/model/TestPlanExtractionModel.js +1 -1
- package/dist/model/TestPlanGroupByStatus.js +1 -1
- package/dist/model/TestPlanGroupByStatusCode.js +1 -1
- package/dist/model/TestPlanGroupByStatusType.js +1 -1
- package/dist/model/TestPlanGroupByTestSuite.js +1 -1
- package/dist/model/TestPlanGroupByTester.js +1 -1
- package/dist/model/TestPlanGroupByTesterAndStatus.js +1 -1
- package/dist/model/TestPlanGroupByTesterAndStatusCode.js +1 -1
- package/dist/model/TestPlanLink.js +1 -1
- package/dist/model/TestPlanModel.js +1 -1
- package/dist/model/TestPlanSelectModel.js +1 -1
- package/dist/model/TestPlanShortModel.js +1 -1
- package/dist/model/TestPlanSummaryModel.js +1 -1
- package/dist/model/TestPlanTagApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsAnalyticsApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsAnalyticsApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsAutoTestsRerunApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsAutoTestsRunApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsExtractionApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsGroupApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsGroupSearchApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsGroupSearchItemApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsInquiryApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsSearchApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsSearchApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsSearchStatusCountersApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsSectionSearchApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsSetTestersApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsStatusCodeGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsStatusGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsStatusTypeGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsTestSuiteSearchApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsTesterAndStatusGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsTesterAndStatusTypeGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsTesterGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsWorkItemSearchApiResult.js +1 -1
- package/dist/model/TestPlanWithAnalyticModel.js +1 -1
- package/dist/model/TestPlanWithTestSuiteTreeModel.js +1 -1
- package/dist/model/TestPoint.js +1 -1
- package/dist/model/TestPointAnalyticResult.js +1 -1
- package/dist/model/TestPointByTestSuiteModel.js +1 -1
- package/dist/model/TestPointChangeViewModel.js +1 -1
- package/dist/model/TestPointChangeViewModelChangedFieldViewModel.js +1 -1
- package/dist/model/TestPointFilterModel.js +1 -1
- package/dist/model/TestPointFilterRequestModel.js +1 -1
- package/dist/model/TestPointResultApiResult.js +1 -1
- package/dist/model/TestPointSelectModel.js +1 -1
- package/dist/model/TestPointSelector.js +1 -1
- package/dist/model/TestPointShortApiResult.js +1 -1
- package/dist/model/TestPointShortModel.js +1 -1
- package/dist/model/TestPointShortResponseModel.js +1 -1
- package/dist/model/TestPointWithLastResultResponseModel.js +1 -1
- package/dist/model/TestPointsExtractionModel.js +1 -1
- package/dist/model/TestResultApiResult.js +1 -1
- package/dist/model/TestResultChangeViewModel.js +1 -1
- package/dist/model/TestResultChangeViewModelChangedFieldViewModel.js +1 -1
- package/dist/model/TestResultChronologyModel.js +1 -1
- package/dist/model/TestResultFailureClassApiResult.js +1 -1
- package/dist/model/TestResultHistoryReportApiResult.js +1 -1
- package/dist/model/TestResultResponse.js +1 -1
- package/dist/model/TestResultShortApiResult.js +1 -1
- package/dist/model/TestResultShortResponse.js +1 -1
- package/dist/model/TestResultStepCommentUpdateRequest.js +1 -1
- package/dist/model/TestResultUpdateV2Request.js +1 -1
- package/dist/model/TestResultV2GetModel.js +1 -1
- package/dist/model/TestResultV2ShortModel.js +1 -1
- package/dist/model/TestResultsExtractionApiModel.js +1 -1
- package/dist/model/TestResultsFilterApiModel.js +1 -1
- package/dist/model/TestResultsLocalFilterModel.js +1 -1
- package/dist/model/TestResultsSelectApiModel.js +1 -1
- package/dist/model/TestResultsStatisticsApiResult.js +1 -1
- package/dist/model/TestResultsStatisticsFailureCategoriesApiResult.js +1 -1
- package/dist/model/TestResultsStatisticsStatusesApiResult.js +1 -1
- package/dist/model/TestRunAnalyticApiResult.js +1 -1
- package/dist/model/TestRunApiResult.js +1 -1
- package/dist/model/TestRunByAutoTestApiResult.js +1 -1
- package/dist/model/TestRunExtractionApiModel.js +1 -1
- package/dist/model/TestRunFilterApiModel.js +1 -1
- package/dist/model/TestRunGroupByFailureClassApiResult.js +1 -1
- package/dist/model/TestRunGroupByStatusApiResult.js +1 -1
- package/dist/model/TestRunGroupByStatusTypeApiResult.js +1 -1
- package/dist/model/TestRunNameApiResult.js +1 -1
- package/dist/model/TestRunSelectApiModel.js +1 -1
- package/dist/model/TestRunShortApiResult.js +1 -1
- package/dist/model/TestRunStatisticsFilterApiModel.js +1 -1
- package/dist/model/TestRunTestResultsPartialBulkSetModel.js +1 -1
- package/dist/model/TestRunTestResultsSelectModel.js +1 -1
- package/dist/model/TestRunV2ApiResult.js +1 -1
- package/dist/model/TestStatusApiResult.js +1 -1
- package/dist/model/TestStatusApiResultReply.js +1 -1
- package/dist/model/TestStatusModel.js +1 -1
- package/dist/model/TestStatusShortApiResult.js +1 -1
- package/dist/model/TestSuiteApiResult.js +1 -1
- package/dist/model/TestSuiteChangeViewModel.js +1 -1
- package/dist/model/TestSuiteChangeViewModelChangedFieldViewModel.js +1 -1
- package/dist/model/TestSuiteHierarchyApiResult.js +1 -1
- package/dist/model/TestSuiteTestPlanApiModel.js +1 -1
- package/dist/model/TestSuiteV2GetModel.js +1 -1
- package/dist/model/TestSuiteV2PostModel.js +1 -1
- package/dist/model/TestSuiteV2PutModel.js +1 -1
- package/dist/model/TestSuiteWithChildrenModel.js +1 -1
- package/dist/model/TestSuiteWorkItemsSearchModel.js +1 -1
- package/dist/model/UpdateEmptyTestRunApiModel.js +1 -1
- package/dist/model/UpdateFailureCategoryApiModel.js +1 -1
- package/dist/model/UpdateFailureCategoryProjectApiModel.js +1 -1
- package/dist/model/UpdateFailureClassRegexApiModel.js +1 -1
- package/dist/model/UpdateLinkApiModel.js +1 -1
- package/dist/model/UpdateMultipleAttachmentsApiModel.js +1 -1
- package/dist/model/UpdateMultipleLinksApiModel.js +1 -1
- package/dist/model/UpdateMultipleTestRunsApiModel.js +1 -1
- package/dist/model/UpdateParameterApiModel.js +1 -1
- package/dist/model/UpdateProjectApiModel.js +1 -1
- package/dist/model/UpdateStepApiModel.js +1 -1
- package/dist/model/UpdateTagApiModel.js +1 -1
- package/dist/model/UpdateTestPlanApiModel.js +1 -1
- package/dist/model/UpdateTestStatusApiModel.js +1 -1
- package/dist/model/UpdateWorkItemApiModel.js +1 -1
- package/dist/model/UpdateWorkflowApiModel.js +1 -1
- package/dist/model/UserCustomNameValidationResponse.js +1 -1
- package/dist/model/UserNameApiResult.js +1 -1
- package/dist/model/UserRankModel.js +1 -1
- package/dist/model/UserWithRankModel.js +1 -1
- package/dist/model/ValidationProblemDetails.js +1 -1
- package/dist/model/WebHookModel.js +1 -1
- package/dist/model/WebHookPostModel.js +1 -1
- package/dist/model/WebHookTestModel.js +1 -1
- package/dist/model/WebhookBulkUpdateApiModel.js +1 -1
- package/dist/model/WebhookLogApiResult.js +1 -1
- package/dist/model/WebhookResponse.js +1 -1
- package/dist/model/WebhooksDeleteApiModel.js +1 -1
- package/dist/model/WebhooksDeleteFilterApiModel.js +1 -1
- package/dist/model/WebhooksExtractionApiModel.js +1 -1
- package/dist/model/WebhooksFilterApiModel.js +1 -1
- package/dist/model/WebhooksUpdateApiModel.js +1 -1
- package/dist/model/WebhooksUpdateApiResult.js +1 -1
- package/dist/model/WorkItemApiResult.js +1 -1
- package/dist/model/WorkItemChangeModel.js +1 -1
- package/dist/model/WorkItemChangedAttributeViewModel.js +1 -1
- package/dist/model/WorkItemChangedFieldsViewModel.js +1 -1
- package/dist/model/WorkItemCommentModel.js +1 -1
- package/dist/model/WorkItemCommentPostModel.js +1 -1
- package/dist/model/WorkItemCommentPutModel.js +1 -1
- package/dist/model/WorkItemExternalMetadataFieldFilterApiModel.js +1 -1
- package/dist/model/WorkItemExternalMetadataFieldFilterModel.js +1 -1
- package/dist/model/WorkItemExternalMetadataFilterApiModel.js +1 -1
- package/dist/model/WorkItemExternalMetadataFilterModel.js +1 -1
- package/dist/model/WorkItemExtractionApiModel.js +1 -1
- package/dist/model/WorkItemExtractionModel.js +1 -1
- package/dist/model/WorkItemFilterApiModel.js +1 -1
- package/dist/model/WorkItemFilterModel.js +1 -1
- package/dist/model/WorkItemGroupGetModel.js +1 -1
- package/dist/model/WorkItemGroupModel.js +1 -1
- package/dist/model/WorkItemIdApiModel.js +1 -1
- package/dist/model/WorkItemIndexApiResult.js +1 -1
- package/dist/model/WorkItemLikeModel.js +1 -1
- package/dist/model/WorkItemLinkChangeViewModel.js +1 -1
- package/dist/model/WorkItemLinkChangeViewModelArrayChangedFieldViewModel.js +1 -1
- package/dist/model/WorkItemLinkExtractionApiModel.js +1 -1
- package/dist/model/WorkItemLinkFilterApiModel.js +1 -1
- package/dist/model/WorkItemLinkFilterModel.js +1 -1
- package/dist/model/WorkItemLinkUrlApiModel.js +1 -1
- package/dist/model/WorkItemLinkUrlApiResult.js +1 -1
- package/dist/model/WorkItemLinkUrlFilterApiModel.js +1 -1
- package/dist/model/WorkItemLocalFilterModel.js +1 -1
- package/dist/model/WorkItemLocalSelectModel.js +1 -1
- package/dist/model/WorkItemModel.js +1 -1
- package/dist/model/WorkItemMovePostModel.js +1 -1
- package/dist/model/WorkItemPreviewApiModel.js +1 -1
- package/dist/model/WorkItemPreviewStepApiModel.js +1 -1
- package/dist/model/WorkItemSearchQueryModel.js +1 -1
- package/dist/model/WorkItemSelectApiModel.js +1 -1
- package/dist/model/WorkItemSelectModel.js +1 -1
- package/dist/model/WorkItemShortApiResult.js +1 -1
- package/dist/model/WorkItemShortModel.js +1 -1
- package/dist/model/WorkItemStepChangeViewModel.js +1 -1
- package/dist/model/WorkItemStepChangeViewModelArrayChangedFieldWithDiffsViewModel.js +1 -1
- package/dist/model/WorkItemVersionModel.js +1 -1
- package/dist/model/WorkflowApiResult.js +1 -1
- package/dist/model/WorkflowExistsByNameApiResult.js +1 -1
- package/dist/model/WorkflowProjectApiResult.js +1 -1
- package/dist/model/WorkflowProjectApiResultApiCollectionPreview.js +1 -1
- package/dist/model/WorkflowProjectApiResultReply.js +1 -1
- package/dist/model/WorkflowShortApiResult.js +1 -1
- package/dist/model/WorkflowShortApiResultReply.js +1 -1
- package/dist/model/WorkflowStatusApiModel.js +1 -1
- package/dist/model/WorkflowStatusApiResult.js +1 -1
- package/package.json +1 -1
package/dist/api/WorkItemsApi.js
CHANGED
|
@@ -49,7 +49,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
49
49
|
/**
|
|
50
50
|
* WorkItems service.
|
|
51
51
|
* @module api/WorkItemsApi
|
|
52
|
-
* @version 7.0.0-
|
|
52
|
+
* @version 7.0.0-rc3
|
|
53
53
|
*/
|
|
54
54
|
var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
55
55
|
/**
|
|
@@ -64,25 +64,17 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
64
64
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
/**
|
|
68
|
-
* Callback function to receive the result of the apiV2WorkItemsIdAttachmentsPost operation.
|
|
69
|
-
* @callback module:api/WorkItemsApi~apiV2WorkItemsIdAttachmentsPostCallback
|
|
70
|
-
* @param {String} error Error message, if any.
|
|
71
|
-
* @param data This operation does not return a value.
|
|
72
|
-
* @param {String} response The complete HTTP response.
|
|
73
|
-
*/
|
|
74
|
-
|
|
75
67
|
/**
|
|
76
68
|
* Upload and link attachment to WorkItem
|
|
77
69
|
* Use case User sets workItemId User attaches a file System creates attachment and links it to the work item System returns attachment identifier
|
|
78
70
|
* @param {String} id Work item internal identifier (guid format)
|
|
79
71
|
* @param {Object} opts Optional parameters
|
|
80
72
|
* @param {File} [file] Select file
|
|
81
|
-
* @
|
|
73
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
82
74
|
*/
|
|
83
75
|
return _createClass(WorkItemsApi, [{
|
|
84
|
-
key: "
|
|
85
|
-
value: function
|
|
76
|
+
key: "apiV2WorkItemsIdAttachmentsPostWithHttpInfo",
|
|
77
|
+
value: function apiV2WorkItemsIdAttachmentsPostWithHttpInfo(id, opts) {
|
|
86
78
|
opts = opts || {};
|
|
87
79
|
var postBody = null;
|
|
88
80
|
// verify the required parameter 'id' is set
|
|
@@ -101,27 +93,34 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
101
93
|
var contentTypes = ['multipart/form-data'];
|
|
102
94
|
var accepts = ['application/json'];
|
|
103
95
|
var returnType = null;
|
|
104
|
-
return this.apiClient.callApi('/api/v2/workItems/{id}/attachments', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
96
|
+
return this.apiClient.callApi('/api/v2/workItems/{id}/attachments', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
105
97
|
}
|
|
106
98
|
|
|
107
99
|
/**
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
* @param {String}
|
|
111
|
-
* @param {
|
|
112
|
-
* @param {
|
|
100
|
+
* Upload and link attachment to WorkItem
|
|
101
|
+
* Use case User sets workItemId User attaches a file System creates attachment and links it to the work item System returns attachment identifier
|
|
102
|
+
* @param {String} id Work item internal identifier (guid format)
|
|
103
|
+
* @param {Object} opts Optional parameters
|
|
104
|
+
* @param {File} opts.file Select file
|
|
105
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
113
106
|
*/
|
|
107
|
+
}, {
|
|
108
|
+
key: "apiV2WorkItemsIdAttachmentsPost",
|
|
109
|
+
value: function apiV2WorkItemsIdAttachmentsPost(id, opts) {
|
|
110
|
+
return this.apiV2WorkItemsIdAttachmentsPostWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
111
|
+
return response_and_data.data;
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
116
|
* Transform CheckList to TestCase
|
|
117
117
|
* Use case User sets checklist identifier User runs method execution System transform CheckList to TestCase
|
|
118
118
|
* @param {String} id
|
|
119
|
-
* @
|
|
120
|
-
* data is of type: {@link module:model/WorkItemModel}
|
|
119
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/WorkItemModel} and HTTP response
|
|
121
120
|
*/
|
|
122
121
|
}, {
|
|
123
|
-
key: "
|
|
124
|
-
value: function
|
|
122
|
+
key: "apiV2WorkItemsIdCheckListTransformToTestCasePostWithHttpInfo",
|
|
123
|
+
value: function apiV2WorkItemsIdCheckListTransformToTestCasePostWithHttpInfo(id) {
|
|
125
124
|
var postBody = null;
|
|
126
125
|
// verify the required parameter 'id' is set
|
|
127
126
|
if (id === undefined || id === null) {
|
|
@@ -137,16 +136,22 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
137
136
|
var contentTypes = [];
|
|
138
137
|
var accepts = ['application/json'];
|
|
139
138
|
var returnType = _WorkItemModel["default"];
|
|
140
|
-
return this.apiClient.callApi('/api/v2/workItems/{id}/checkList/transformTo/testCase', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
139
|
+
return this.apiClient.callApi('/api/v2/workItems/{id}/checkList/transformTo/testCase', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
141
140
|
}
|
|
142
141
|
|
|
143
142
|
/**
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
* @param {String}
|
|
147
|
-
* @
|
|
148
|
-
* @param {String} response The complete HTTP response.
|
|
143
|
+
* Transform CheckList to TestCase
|
|
144
|
+
* Use case User sets checklist identifier User runs method execution System transform CheckList to TestCase
|
|
145
|
+
* @param {String} id
|
|
146
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/WorkItemModel}
|
|
149
147
|
*/
|
|
148
|
+
}, {
|
|
149
|
+
key: "apiV2WorkItemsIdCheckListTransformToTestCasePost",
|
|
150
|
+
value: function apiV2WorkItemsIdCheckListTransformToTestCasePost(id) {
|
|
151
|
+
return this.apiV2WorkItemsIdCheckListTransformToTestCasePostWithHttpInfo(id).then(function (response_and_data) {
|
|
152
|
+
return response_and_data.data;
|
|
153
|
+
});
|
|
154
|
+
}
|
|
150
155
|
|
|
151
156
|
/**
|
|
152
157
|
* Get change history of WorkItem
|
|
@@ -158,12 +163,11 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
158
163
|
* @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
159
164
|
* @param {String} [searchField] Property name for searching
|
|
160
165
|
* @param {String} [searchValue] Value for searching
|
|
161
|
-
* @
|
|
162
|
-
* data is of type: {@link Array.<module:model/WorkItemChangeModel>}
|
|
166
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/WorkItemChangeModel>} and HTTP response
|
|
163
167
|
*/
|
|
164
168
|
}, {
|
|
165
|
-
key: "
|
|
166
|
-
value: function
|
|
169
|
+
key: "apiV2WorkItemsIdHistoryGetWithHttpInfo",
|
|
170
|
+
value: function apiV2WorkItemsIdHistoryGetWithHttpInfo(id, opts) {
|
|
167
171
|
opts = opts || {};
|
|
168
172
|
var postBody = null;
|
|
169
173
|
// verify the required parameter 'id' is set
|
|
@@ -186,26 +190,38 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
186
190
|
var contentTypes = [];
|
|
187
191
|
var accepts = ['application/json'];
|
|
188
192
|
var returnType = [_WorkItemChangeModel["default"]];
|
|
189
|
-
return this.apiClient.callApi('/api/v2/workItems/{id}/history', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
193
|
+
return this.apiClient.callApi('/api/v2/workItems/{id}/history', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
190
194
|
}
|
|
191
195
|
|
|
192
196
|
/**
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
* @param {String}
|
|
196
|
-
* @param
|
|
197
|
-
* @param {
|
|
197
|
+
* Get change history of WorkItem
|
|
198
|
+
* Use case User sets work item identifier User runs method execution System return change history of WorkItem
|
|
199
|
+
* @param {String} id
|
|
200
|
+
* @param {Object} opts Optional parameters
|
|
201
|
+
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
202
|
+
* @param {Number} opts.take Amount of items to be taken (limit)
|
|
203
|
+
* @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
204
|
+
* @param {String} opts.searchField Property name for searching
|
|
205
|
+
* @param {String} opts.searchValue Value for searching
|
|
206
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/WorkItemChangeModel>}
|
|
198
207
|
*/
|
|
208
|
+
}, {
|
|
209
|
+
key: "apiV2WorkItemsIdHistoryGet",
|
|
210
|
+
value: function apiV2WorkItemsIdHistoryGet(id, opts) {
|
|
211
|
+
return this.apiV2WorkItemsIdHistoryGetWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
212
|
+
return response_and_data.data;
|
|
213
|
+
});
|
|
214
|
+
}
|
|
199
215
|
|
|
200
216
|
/**
|
|
201
217
|
* Delete like from WorkItem
|
|
202
218
|
* Use case User sets WorkItem identifier User runs method execution System delete like from WorkItem
|
|
203
219
|
* @param {String} id
|
|
204
|
-
* @
|
|
220
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
205
221
|
*/
|
|
206
222
|
}, {
|
|
207
|
-
key: "
|
|
208
|
-
value: function
|
|
223
|
+
key: "apiV2WorkItemsIdLikeDeleteWithHttpInfo",
|
|
224
|
+
value: function apiV2WorkItemsIdLikeDeleteWithHttpInfo(id) {
|
|
209
225
|
var postBody = null;
|
|
210
226
|
// verify the required parameter 'id' is set
|
|
211
227
|
if (id === undefined || id === null) {
|
|
@@ -221,26 +237,32 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
221
237
|
var contentTypes = [];
|
|
222
238
|
var accepts = ['application/json'];
|
|
223
239
|
var returnType = null;
|
|
224
|
-
return this.apiClient.callApi('/api/v2/workItems/{id}/like', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
240
|
+
return this.apiClient.callApi('/api/v2/workItems/{id}/like', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
225
241
|
}
|
|
226
242
|
|
|
227
243
|
/**
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
-
* @param {String}
|
|
231
|
-
* @
|
|
232
|
-
* @param {String} response The complete HTTP response.
|
|
244
|
+
* Delete like from WorkItem
|
|
245
|
+
* Use case User sets WorkItem identifier User runs method execution System delete like from WorkItem
|
|
246
|
+
* @param {String} id
|
|
247
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
233
248
|
*/
|
|
249
|
+
}, {
|
|
250
|
+
key: "apiV2WorkItemsIdLikeDelete",
|
|
251
|
+
value: function apiV2WorkItemsIdLikeDelete(id) {
|
|
252
|
+
return this.apiV2WorkItemsIdLikeDeleteWithHttpInfo(id).then(function (response_and_data) {
|
|
253
|
+
return response_and_data.data;
|
|
254
|
+
});
|
|
255
|
+
}
|
|
234
256
|
|
|
235
257
|
/**
|
|
236
258
|
* Set like to WorkItem
|
|
237
259
|
* Use case User sets WorkItem identifier User runs method execution System set like to WorkItem
|
|
238
260
|
* @param {String} id
|
|
239
|
-
* @
|
|
261
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
240
262
|
*/
|
|
241
263
|
}, {
|
|
242
|
-
key: "
|
|
243
|
-
value: function
|
|
264
|
+
key: "apiV2WorkItemsIdLikePostWithHttpInfo",
|
|
265
|
+
value: function apiV2WorkItemsIdLikePostWithHttpInfo(id) {
|
|
244
266
|
var postBody = null;
|
|
245
267
|
// verify the required parameter 'id' is set
|
|
246
268
|
if (id === undefined || id === null) {
|
|
@@ -256,27 +278,32 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
256
278
|
var contentTypes = [];
|
|
257
279
|
var accepts = ['application/json'];
|
|
258
280
|
var returnType = null;
|
|
259
|
-
return this.apiClient.callApi('/api/v2/workItems/{id}/like', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
281
|
+
return this.apiClient.callApi('/api/v2/workItems/{id}/like', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
260
282
|
}
|
|
261
283
|
|
|
262
284
|
/**
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
* @param {String}
|
|
266
|
-
* @
|
|
267
|
-
* @param {String} response The complete HTTP response.
|
|
285
|
+
* Set like to WorkItem
|
|
286
|
+
* Use case User sets WorkItem identifier User runs method execution System set like to WorkItem
|
|
287
|
+
* @param {String} id
|
|
288
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
268
289
|
*/
|
|
290
|
+
}, {
|
|
291
|
+
key: "apiV2WorkItemsIdLikePost",
|
|
292
|
+
value: function apiV2WorkItemsIdLikePost(id) {
|
|
293
|
+
return this.apiV2WorkItemsIdLikePostWithHttpInfo(id).then(function (response_and_data) {
|
|
294
|
+
return response_and_data.data;
|
|
295
|
+
});
|
|
296
|
+
}
|
|
269
297
|
|
|
270
298
|
/**
|
|
271
299
|
* Get likes count of WorkItem
|
|
272
300
|
* Use case User sets WorkItem identifier User runs method execution System return likes count of WorkItem
|
|
273
301
|
* @param {String} id
|
|
274
|
-
* @
|
|
275
|
-
* data is of type: {@link Number}
|
|
302
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Number} and HTTP response
|
|
276
303
|
*/
|
|
277
304
|
}, {
|
|
278
|
-
key: "
|
|
279
|
-
value: function
|
|
305
|
+
key: "apiV2WorkItemsIdLikesCountGetWithHttpInfo",
|
|
306
|
+
value: function apiV2WorkItemsIdLikesCountGetWithHttpInfo(id) {
|
|
280
307
|
var postBody = null;
|
|
281
308
|
// verify the required parameter 'id' is set
|
|
282
309
|
if (id === undefined || id === null) {
|
|
@@ -292,27 +319,32 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
292
319
|
var contentTypes = [];
|
|
293
320
|
var accepts = ['application/json'];
|
|
294
321
|
var returnType = 'Number';
|
|
295
|
-
return this.apiClient.callApi('/api/v2/workItems/{id}/likes/count', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
322
|
+
return this.apiClient.callApi('/api/v2/workItems/{id}/likes/count', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
296
323
|
}
|
|
297
324
|
|
|
298
325
|
/**
|
|
299
|
-
*
|
|
300
|
-
*
|
|
301
|
-
* @param {String}
|
|
302
|
-
* @
|
|
303
|
-
* @param {String} response The complete HTTP response.
|
|
326
|
+
* Get likes count of WorkItem
|
|
327
|
+
* Use case User sets WorkItem identifier User runs method execution System return likes count of WorkItem
|
|
328
|
+
* @param {String} id
|
|
329
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Number}
|
|
304
330
|
*/
|
|
331
|
+
}, {
|
|
332
|
+
key: "apiV2WorkItemsIdLikesCountGet",
|
|
333
|
+
value: function apiV2WorkItemsIdLikesCountGet(id) {
|
|
334
|
+
return this.apiV2WorkItemsIdLikesCountGetWithHttpInfo(id).then(function (response_and_data) {
|
|
335
|
+
return response_and_data.data;
|
|
336
|
+
});
|
|
337
|
+
}
|
|
305
338
|
|
|
306
339
|
/**
|
|
307
340
|
* Get likes of WorkItem
|
|
308
341
|
* Use case User sets WorkItem identifier User runs method execution System return likes of WorkItem
|
|
309
342
|
* @param {String} id
|
|
310
|
-
* @
|
|
311
|
-
* data is of type: {@link Array.<module:model/WorkItemLikeModel>}
|
|
343
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/WorkItemLikeModel>} and HTTP response
|
|
312
344
|
*/
|
|
313
345
|
}, {
|
|
314
|
-
key: "
|
|
315
|
-
value: function
|
|
346
|
+
key: "apiV2WorkItemsIdLikesGetWithHttpInfo",
|
|
347
|
+
value: function apiV2WorkItemsIdLikesGetWithHttpInfo(id) {
|
|
316
348
|
var postBody = null;
|
|
317
349
|
// verify the required parameter 'id' is set
|
|
318
350
|
if (id === undefined || id === null) {
|
|
@@ -328,16 +360,22 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
328
360
|
var contentTypes = [];
|
|
329
361
|
var accepts = ['application/json'];
|
|
330
362
|
var returnType = [_WorkItemLikeModel["default"]];
|
|
331
|
-
return this.apiClient.callApi('/api/v2/workItems/{id}/likes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
363
|
+
return this.apiClient.callApi('/api/v2/workItems/{id}/likes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
332
364
|
}
|
|
333
365
|
|
|
334
366
|
/**
|
|
335
|
-
*
|
|
336
|
-
*
|
|
337
|
-
* @param {String}
|
|
338
|
-
* @
|
|
339
|
-
* @param {String} response The complete HTTP response.
|
|
367
|
+
* Get likes of WorkItem
|
|
368
|
+
* Use case User sets WorkItem identifier User runs method execution System return likes of WorkItem
|
|
369
|
+
* @param {String} id
|
|
370
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/WorkItemLikeModel>}
|
|
340
371
|
*/
|
|
372
|
+
}, {
|
|
373
|
+
key: "apiV2WorkItemsIdLikesGet",
|
|
374
|
+
value: function apiV2WorkItemsIdLikesGet(id) {
|
|
375
|
+
return this.apiV2WorkItemsIdLikesGetWithHttpInfo(id).then(function (response_and_data) {
|
|
376
|
+
return response_and_data.data;
|
|
377
|
+
});
|
|
378
|
+
}
|
|
341
379
|
|
|
342
380
|
/**
|
|
343
381
|
* Get test results history of WorkItem
|
|
@@ -359,12 +397,11 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
359
397
|
* @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
360
398
|
* @param {String} [searchField] Property name for searching
|
|
361
399
|
* @param {String} [searchValue] Value for searching
|
|
362
|
-
* @
|
|
363
|
-
* data is of type: {@link Array.<module:model/TestResultHistoryReportApiResult>}
|
|
400
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestResultHistoryReportApiResult>} and HTTP response
|
|
364
401
|
*/
|
|
365
402
|
}, {
|
|
366
|
-
key: "
|
|
367
|
-
value: function
|
|
403
|
+
key: "apiV2WorkItemsIdTestResultsHistoryGetWithHttpInfo",
|
|
404
|
+
value: function apiV2WorkItemsIdTestResultsHistoryGetWithHttpInfo(id, opts) {
|
|
368
405
|
opts = opts || {};
|
|
369
406
|
var postBody = null;
|
|
370
407
|
// verify the required parameter 'id' is set
|
|
@@ -397,28 +434,49 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
397
434
|
var contentTypes = [];
|
|
398
435
|
var accepts = ['application/json'];
|
|
399
436
|
var returnType = [_TestResultHistoryReportApiResult["default"]];
|
|
400
|
-
return this.apiClient.callApi('/api/v2/workItems/{id}/testResults/history', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
437
|
+
return this.apiClient.callApi('/api/v2/workItems/{id}/testResults/history', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
401
438
|
}
|
|
402
439
|
|
|
403
440
|
/**
|
|
404
|
-
*
|
|
405
|
-
*
|
|
406
|
-
* @param {String}
|
|
407
|
-
* @param {
|
|
408
|
-
* @param {
|
|
441
|
+
* Get test results history of WorkItem
|
|
442
|
+
* Use case User sets WorkItem identifier User runs method execution System return test results history of WorkItem
|
|
443
|
+
* @param {String} id
|
|
444
|
+
* @param {Object} opts Optional parameters
|
|
445
|
+
* @param {Date} opts.from Take results from this date
|
|
446
|
+
* @param {Date} opts.to Take results until this date
|
|
447
|
+
* @param {Array.<String>} opts.configurationIds Identifiers of test result configurations
|
|
448
|
+
* @param {Array.<String>} opts.testPlanIds Identifiers of test plans which contain test results
|
|
449
|
+
* @param {Array.<String>} opts.userIds Identifiers of users who set test results
|
|
450
|
+
* @param {Array.<String>} opts.outcomes List of outcomes of test results
|
|
451
|
+
* @param {Array.<String>} opts.statusCodes List of status codes of test results
|
|
452
|
+
* @param {Boolean} opts.isAutomated OBSOLETE: Use `Automated` instead
|
|
453
|
+
* @param {Boolean} opts.automated If result must consist of only manual/automated test results
|
|
454
|
+
* @param {Array.<String>} opts.testRunIds Identifiers of test runs which contain test results
|
|
455
|
+
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
456
|
+
* @param {Number} opts.take Amount of items to be taken (limit)
|
|
457
|
+
* @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
458
|
+
* @param {String} opts.searchField Property name for searching
|
|
459
|
+
* @param {String} opts.searchValue Value for searching
|
|
460
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestResultHistoryReportApiResult>}
|
|
409
461
|
*/
|
|
462
|
+
}, {
|
|
463
|
+
key: "apiV2WorkItemsIdTestResultsHistoryGet",
|
|
464
|
+
value: function apiV2WorkItemsIdTestResultsHistoryGet(id, opts) {
|
|
465
|
+
return this.apiV2WorkItemsIdTestResultsHistoryGetWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
466
|
+
return response_and_data.data;
|
|
467
|
+
});
|
|
468
|
+
}
|
|
410
469
|
|
|
411
470
|
/**
|
|
412
471
|
* Set WorkItem as actual
|
|
413
472
|
* Use case User sets work item identifier User runs method execution System set WorkItem as actual
|
|
414
473
|
* @param {String} id
|
|
415
474
|
* @param {String} versionId
|
|
416
|
-
* @
|
|
417
|
-
* data is of type: {@link module:model/WorkItemModel}
|
|
475
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/WorkItemModel} and HTTP response
|
|
418
476
|
*/
|
|
419
477
|
}, {
|
|
420
|
-
key: "
|
|
421
|
-
value: function
|
|
478
|
+
key: "apiV2WorkItemsIdVersionVersionIdActualPostWithHttpInfo",
|
|
479
|
+
value: function apiV2WorkItemsIdVersionVersionIdActualPostWithHttpInfo(id, versionId) {
|
|
422
480
|
var postBody = null;
|
|
423
481
|
// verify the required parameter 'id' is set
|
|
424
482
|
if (id === undefined || id === null) {
|
|
@@ -439,16 +497,23 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
439
497
|
var contentTypes = [];
|
|
440
498
|
var accepts = ['application/json'];
|
|
441
499
|
var returnType = _WorkItemModel["default"];
|
|
442
|
-
return this.apiClient.callApi('/api/v2/workItems/{id}/version/{versionId}/actual', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
500
|
+
return this.apiClient.callApi('/api/v2/workItems/{id}/version/{versionId}/actual', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
443
501
|
}
|
|
444
502
|
|
|
445
503
|
/**
|
|
446
|
-
*
|
|
447
|
-
*
|
|
448
|
-
* @param {String}
|
|
449
|
-
* @param {
|
|
450
|
-
* @
|
|
504
|
+
* Set WorkItem as actual
|
|
505
|
+
* Use case User sets work item identifier User runs method execution System set WorkItem as actual
|
|
506
|
+
* @param {String} id
|
|
507
|
+
* @param {String} versionId
|
|
508
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/WorkItemModel}
|
|
451
509
|
*/
|
|
510
|
+
}, {
|
|
511
|
+
key: "apiV2WorkItemsIdVersionVersionIdActualPost",
|
|
512
|
+
value: function apiV2WorkItemsIdVersionVersionIdActualPost(id, versionId) {
|
|
513
|
+
return this.apiV2WorkItemsIdVersionVersionIdActualPostWithHttpInfo(id, versionId).then(function (response_and_data) {
|
|
514
|
+
return response_and_data.data;
|
|
515
|
+
});
|
|
516
|
+
}
|
|
452
517
|
|
|
453
518
|
/**
|
|
454
519
|
* @param {Object} opts Optional parameters
|
|
@@ -458,12 +523,11 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
458
523
|
* @param {String} [searchField] Property name for searching
|
|
459
524
|
* @param {String} [searchValue] Value for searching
|
|
460
525
|
* @param {module:model/WorkItemLinkUrlApiModel} [workItemLinkUrlApiModel]
|
|
461
|
-
* @
|
|
462
|
-
* data is of type: {@link module:model/SearchWorkItemLinkUrlsApiResult}
|
|
526
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SearchWorkItemLinkUrlsApiResult} and HTTP response
|
|
463
527
|
*/
|
|
464
528
|
}, {
|
|
465
|
-
key: "
|
|
466
|
-
value: function
|
|
529
|
+
key: "apiV2WorkItemsLinksUrlsSearchPostWithHttpInfo",
|
|
530
|
+
value: function apiV2WorkItemsLinksUrlsSearchPostWithHttpInfo(opts) {
|
|
467
531
|
opts = opts || {};
|
|
468
532
|
var postBody = opts['workItemLinkUrlApiModel'];
|
|
469
533
|
var pathParams = {};
|
|
@@ -480,28 +544,37 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
480
544
|
var contentTypes = ['application/json'];
|
|
481
545
|
var accepts = ['application/json'];
|
|
482
546
|
var returnType = _SearchWorkItemLinkUrlsApiResult["default"];
|
|
483
|
-
return this.apiClient.callApi('/api/v2/workItems/links/urls/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
547
|
+
return this.apiClient.callApi('/api/v2/workItems/links/urls/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
484
548
|
}
|
|
485
549
|
|
|
486
550
|
/**
|
|
487
|
-
*
|
|
488
|
-
* @
|
|
489
|
-
* @param {
|
|
490
|
-
* @param {
|
|
491
|
-
* @param {String}
|
|
551
|
+
* @param {Object} opts Optional parameters
|
|
552
|
+
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
553
|
+
* @param {Number} opts.take Amount of items to be taken (limit)
|
|
554
|
+
* @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
555
|
+
* @param {String} opts.searchField Property name for searching
|
|
556
|
+
* @param {String} opts.searchValue Value for searching
|
|
557
|
+
* @param {module:model/WorkItemLinkUrlApiModel} opts.workItemLinkUrlApiModel
|
|
558
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SearchWorkItemLinkUrlsApiResult}
|
|
492
559
|
*/
|
|
560
|
+
}, {
|
|
561
|
+
key: "apiV2WorkItemsLinksUrlsSearchPost",
|
|
562
|
+
value: function apiV2WorkItemsLinksUrlsSearchPost(opts) {
|
|
563
|
+
return this.apiV2WorkItemsLinksUrlsSearchPostWithHttpInfo(opts).then(function (response_and_data) {
|
|
564
|
+
return response_and_data.data;
|
|
565
|
+
});
|
|
566
|
+
}
|
|
493
567
|
|
|
494
568
|
/**
|
|
495
569
|
* Move WorkItem to another section
|
|
496
570
|
* Use case User sets WorkItem identifier User runs method execution System move WorkItem to another section
|
|
497
571
|
* @param {Object} opts Optional parameters
|
|
498
572
|
* @param {module:model/WorkItemMovePostModel} [workItemMovePostModel]
|
|
499
|
-
* @
|
|
500
|
-
* data is of type: {@link module:model/WorkItemShortModel}
|
|
573
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/WorkItemShortModel} and HTTP response
|
|
501
574
|
*/
|
|
502
575
|
}, {
|
|
503
|
-
key: "
|
|
504
|
-
value: function
|
|
576
|
+
key: "apiV2WorkItemsMovePostWithHttpInfo",
|
|
577
|
+
value: function apiV2WorkItemsMovePostWithHttpInfo(opts) {
|
|
505
578
|
opts = opts || {};
|
|
506
579
|
var postBody = opts['workItemMovePostModel'];
|
|
507
580
|
var pathParams = {};
|
|
@@ -512,27 +585,33 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
512
585
|
var contentTypes = ['application/json'];
|
|
513
586
|
var accepts = ['application/json'];
|
|
514
587
|
var returnType = _WorkItemShortModel["default"];
|
|
515
|
-
return this.apiClient.callApi('/api/v2/workItems/move', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
588
|
+
return this.apiClient.callApi('/api/v2/workItems/move', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
516
589
|
}
|
|
517
590
|
|
|
518
591
|
/**
|
|
519
|
-
*
|
|
520
|
-
*
|
|
521
|
-
* @param {
|
|
522
|
-
* @param {module:model/
|
|
523
|
-
* @
|
|
592
|
+
* Move WorkItem to another section
|
|
593
|
+
* Use case User sets WorkItem identifier User runs method execution System move WorkItem to another section
|
|
594
|
+
* @param {Object} opts Optional parameters
|
|
595
|
+
* @param {module:model/WorkItemMovePostModel} opts.workItemMovePostModel
|
|
596
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/WorkItemShortModel}
|
|
524
597
|
*/
|
|
598
|
+
}, {
|
|
599
|
+
key: "apiV2WorkItemsMovePost",
|
|
600
|
+
value: function apiV2WorkItemsMovePost(opts) {
|
|
601
|
+
return this.apiV2WorkItemsMovePostWithHttpInfo(opts).then(function (response_and_data) {
|
|
602
|
+
return response_and_data.data;
|
|
603
|
+
});
|
|
604
|
+
}
|
|
525
605
|
|
|
526
606
|
/**
|
|
527
607
|
* Creates work item
|
|
528
608
|
* @param {Object} opts Optional parameters
|
|
529
609
|
* @param {module:model/CreateWorkItemApiModel} [createWorkItemApiModel]
|
|
530
|
-
* @
|
|
531
|
-
* data is of type: {@link module:model/WorkItemApiResult}
|
|
610
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/WorkItemApiResult} and HTTP response
|
|
532
611
|
*/
|
|
533
612
|
}, {
|
|
534
|
-
key: "
|
|
535
|
-
value: function
|
|
613
|
+
key: "apiV2WorkItemsPostWithHttpInfo",
|
|
614
|
+
value: function apiV2WorkItemsPostWithHttpInfo(opts) {
|
|
536
615
|
opts = opts || {};
|
|
537
616
|
var postBody = opts['createWorkItemApiModel'];
|
|
538
617
|
var pathParams = {};
|
|
@@ -543,16 +622,22 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
543
622
|
var contentTypes = ['application/json'];
|
|
544
623
|
var accepts = ['application/json'];
|
|
545
624
|
var returnType = _WorkItemApiResult["default"];
|
|
546
|
-
return this.apiClient.callApi('/api/v2/workItems', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
625
|
+
return this.apiClient.callApi('/api/v2/workItems', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
547
626
|
}
|
|
548
627
|
|
|
549
628
|
/**
|
|
550
|
-
*
|
|
551
|
-
* @
|
|
552
|
-
* @param {
|
|
553
|
-
* @
|
|
554
|
-
* @param {String} response The complete HTTP response.
|
|
629
|
+
* Creates work item
|
|
630
|
+
* @param {Object} opts Optional parameters
|
|
631
|
+
* @param {module:model/CreateWorkItemApiModel} opts.createWorkItemApiModel
|
|
632
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/WorkItemApiResult}
|
|
555
633
|
*/
|
|
634
|
+
}, {
|
|
635
|
+
key: "apiV2WorkItemsPost",
|
|
636
|
+
value: function apiV2WorkItemsPost(opts) {
|
|
637
|
+
return this.apiV2WorkItemsPostWithHttpInfo(opts).then(function (response_and_data) {
|
|
638
|
+
return response_and_data.data;
|
|
639
|
+
});
|
|
640
|
+
}
|
|
556
641
|
|
|
557
642
|
/**
|
|
558
643
|
* Search for work items
|
|
@@ -563,12 +648,11 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
563
648
|
* @param {String} [searchField] Property name for searching
|
|
564
649
|
* @param {String} [searchValue] Value for searching
|
|
565
650
|
* @param {module:model/WorkItemSelectApiModel} [workItemSelectApiModel]
|
|
566
|
-
* @
|
|
567
|
-
* data is of type: {@link Array.<module:model/WorkItemShortApiResult>}
|
|
651
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/WorkItemShortApiResult>} and HTTP response
|
|
568
652
|
*/
|
|
569
653
|
}, {
|
|
570
|
-
key: "
|
|
571
|
-
value: function
|
|
654
|
+
key: "apiV2WorkItemsSearchPostWithHttpInfo",
|
|
655
|
+
value: function apiV2WorkItemsSearchPostWithHttpInfo(opts) {
|
|
572
656
|
opts = opts || {};
|
|
573
657
|
var postBody = opts['workItemSelectApiModel'];
|
|
574
658
|
var pathParams = {};
|
|
@@ -585,16 +669,27 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
585
669
|
var contentTypes = ['application/json'];
|
|
586
670
|
var accepts = ['application/json'];
|
|
587
671
|
var returnType = [_WorkItemShortApiResult["default"]];
|
|
588
|
-
return this.apiClient.callApi('/api/v2/workItems/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
672
|
+
return this.apiClient.callApi('/api/v2/workItems/search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
589
673
|
}
|
|
590
674
|
|
|
591
675
|
/**
|
|
592
|
-
*
|
|
593
|
-
* @
|
|
594
|
-
* @param {
|
|
595
|
-
* @param {
|
|
596
|
-
* @param {String}
|
|
676
|
+
* Search for work items
|
|
677
|
+
* @param {Object} opts Optional parameters
|
|
678
|
+
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
679
|
+
* @param {Number} opts.take Amount of items to be taken (limit)
|
|
680
|
+
* @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
681
|
+
* @param {String} opts.searchField Property name for searching
|
|
682
|
+
* @param {String} opts.searchValue Value for searching
|
|
683
|
+
* @param {module:model/WorkItemSelectApiModel} opts.workItemSelectApiModel
|
|
684
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/WorkItemShortApiResult>}
|
|
597
685
|
*/
|
|
686
|
+
}, {
|
|
687
|
+
key: "apiV2WorkItemsSearchPost",
|
|
688
|
+
value: function apiV2WorkItemsSearchPost(opts) {
|
|
689
|
+
return this.apiV2WorkItemsSearchPostWithHttpInfo(opts).then(function (response_and_data) {
|
|
690
|
+
return response_and_data.data;
|
|
691
|
+
});
|
|
692
|
+
}
|
|
598
693
|
|
|
599
694
|
/**
|
|
600
695
|
* Get SharedStep references in sections
|
|
@@ -607,12 +702,11 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
607
702
|
* @param {String} [searchField] Property name for searching
|
|
608
703
|
* @param {String} [searchValue] Value for searching
|
|
609
704
|
* @param {module:model/SharedStepReferenceSectionsQueryFilterModel} [sharedStepReferenceSectionsQueryFilterModel]
|
|
610
|
-
* @
|
|
611
|
-
* data is of type: {@link Array.<module:model/SharedStepReferenceSectionModel>}
|
|
705
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/SharedStepReferenceSectionModel>} and HTTP response
|
|
612
706
|
*/
|
|
613
707
|
}, {
|
|
614
|
-
key: "
|
|
615
|
-
value: function
|
|
708
|
+
key: "apiV2WorkItemsSharedStepIdReferencesSectionsPostWithHttpInfo",
|
|
709
|
+
value: function apiV2WorkItemsSharedStepIdReferencesSectionsPostWithHttpInfo(sharedStepId, opts) {
|
|
616
710
|
opts = opts || {};
|
|
617
711
|
var postBody = opts['sharedStepReferenceSectionsQueryFilterModel'];
|
|
618
712
|
// verify the required parameter 'sharedStepId' is set
|
|
@@ -635,16 +729,29 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
635
729
|
var contentTypes = ['application/json'];
|
|
636
730
|
var accepts = ['application/json'];
|
|
637
731
|
var returnType = [_SharedStepReferenceSectionModel["default"]];
|
|
638
|
-
return this.apiClient.callApi('/api/v2/workItems/{sharedStepId}/references/sections', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
732
|
+
return this.apiClient.callApi('/api/v2/workItems/{sharedStepId}/references/sections', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
639
733
|
}
|
|
640
734
|
|
|
641
735
|
/**
|
|
642
|
-
*
|
|
643
|
-
*
|
|
644
|
-
* @param {String}
|
|
645
|
-
* @param {
|
|
646
|
-
* @param {
|
|
736
|
+
* Get SharedStep references in sections
|
|
737
|
+
* Use case User sets SharedStep identifier User runs method execution System return SharedStep references
|
|
738
|
+
* @param {String} sharedStepId
|
|
739
|
+
* @param {Object} opts Optional parameters
|
|
740
|
+
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
741
|
+
* @param {Number} opts.take Amount of items to be taken (limit)
|
|
742
|
+
* @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
743
|
+
* @param {String} opts.searchField Property name for searching
|
|
744
|
+
* @param {String} opts.searchValue Value for searching
|
|
745
|
+
* @param {module:model/SharedStepReferenceSectionsQueryFilterModel} opts.sharedStepReferenceSectionsQueryFilterModel
|
|
746
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/SharedStepReferenceSectionModel>}
|
|
647
747
|
*/
|
|
748
|
+
}, {
|
|
749
|
+
key: "apiV2WorkItemsSharedStepIdReferencesSectionsPost",
|
|
750
|
+
value: function apiV2WorkItemsSharedStepIdReferencesSectionsPost(sharedStepId, opts) {
|
|
751
|
+
return this.apiV2WorkItemsSharedStepIdReferencesSectionsPostWithHttpInfo(sharedStepId, opts).then(function (response_and_data) {
|
|
752
|
+
return response_and_data.data;
|
|
753
|
+
});
|
|
754
|
+
}
|
|
648
755
|
|
|
649
756
|
/**
|
|
650
757
|
* Get SharedStep references in work items
|
|
@@ -657,12 +764,11 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
657
764
|
* @param {String} [searchField] Property name for searching
|
|
658
765
|
* @param {String} [searchValue] Value for searching
|
|
659
766
|
* @param {module:model/SharedStepReferencesQueryFilterModel} [sharedStepReferencesQueryFilterModel]
|
|
660
|
-
* @
|
|
661
|
-
* data is of type: {@link Array.<module:model/SharedStepReferenceModel>}
|
|
767
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/SharedStepReferenceModel>} and HTTP response
|
|
662
768
|
*/
|
|
663
769
|
}, {
|
|
664
|
-
key: "
|
|
665
|
-
value: function
|
|
770
|
+
key: "apiV2WorkItemsSharedStepIdReferencesWorkItemsPostWithHttpInfo",
|
|
771
|
+
value: function apiV2WorkItemsSharedStepIdReferencesWorkItemsPostWithHttpInfo(sharedStepId, opts) {
|
|
666
772
|
opts = opts || {};
|
|
667
773
|
var postBody = opts['sharedStepReferencesQueryFilterModel'];
|
|
668
774
|
// verify the required parameter 'sharedStepId' is set
|
|
@@ -685,27 +791,39 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
685
791
|
var contentTypes = ['application/json'];
|
|
686
792
|
var accepts = ['application/json'];
|
|
687
793
|
var returnType = [_SharedStepReferenceModel["default"]];
|
|
688
|
-
return this.apiClient.callApi('/api/v2/workItems/{sharedStepId}/references/workItems', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
794
|
+
return this.apiClient.callApi('/api/v2/workItems/{sharedStepId}/references/workItems', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
689
795
|
}
|
|
690
796
|
|
|
691
797
|
/**
|
|
692
|
-
*
|
|
693
|
-
*
|
|
694
|
-
* @param {String}
|
|
695
|
-
* @param {
|
|
696
|
-
* @param {
|
|
798
|
+
* Get SharedStep references in work items
|
|
799
|
+
* Use case User sets SharedStep identifier User runs method execution System return SharedStep references
|
|
800
|
+
* @param {String} sharedStepId
|
|
801
|
+
* @param {Object} opts Optional parameters
|
|
802
|
+
* @param {Number} opts.skip Amount of items to be skipped (offset)
|
|
803
|
+
* @param {Number} opts.take Amount of items to be taken (limit)
|
|
804
|
+
* @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
|
|
805
|
+
* @param {String} opts.searchField Property name for searching
|
|
806
|
+
* @param {String} opts.searchValue Value for searching
|
|
807
|
+
* @param {module:model/SharedStepReferencesQueryFilterModel} opts.sharedStepReferencesQueryFilterModel
|
|
808
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/SharedStepReferenceModel>}
|
|
697
809
|
*/
|
|
810
|
+
}, {
|
|
811
|
+
key: "apiV2WorkItemsSharedStepIdReferencesWorkItemsPost",
|
|
812
|
+
value: function apiV2WorkItemsSharedStepIdReferencesWorkItemsPost(sharedStepId, opts) {
|
|
813
|
+
return this.apiV2WorkItemsSharedStepIdReferencesWorkItemsPostWithHttpInfo(sharedStepId, opts).then(function (response_and_data) {
|
|
814
|
+
return response_and_data.data;
|
|
815
|
+
});
|
|
816
|
+
}
|
|
698
817
|
|
|
699
818
|
/**
|
|
700
819
|
* Get SharedStep references
|
|
701
820
|
* Use case User sets SharedStep identifier User runs method execution System return SharedStep references
|
|
702
821
|
* @param {String} sharedStepId
|
|
703
|
-
* @
|
|
704
|
-
* data is of type: {@link Array.<module:model/SharedStepReferenceModel>}
|
|
822
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/SharedStepReferenceModel>} and HTTP response
|
|
705
823
|
*/
|
|
706
824
|
}, {
|
|
707
|
-
key: "
|
|
708
|
-
value: function
|
|
825
|
+
key: "apiV2WorkItemsSharedStepsSharedStepIdReferencesGetWithHttpInfo",
|
|
826
|
+
value: function apiV2WorkItemsSharedStepsSharedStepIdReferencesGetWithHttpInfo(sharedStepId) {
|
|
709
827
|
var postBody = null;
|
|
710
828
|
// verify the required parameter 'sharedStepId' is set
|
|
711
829
|
if (sharedStepId === undefined || sharedStepId === null) {
|
|
@@ -721,26 +839,32 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
721
839
|
var contentTypes = [];
|
|
722
840
|
var accepts = ['application/json'];
|
|
723
841
|
var returnType = [_SharedStepReferenceModel["default"]];
|
|
724
|
-
return this.apiClient.callApi('/api/v2/workItems/sharedSteps/{sharedStepId}/references', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
842
|
+
return this.apiClient.callApi('/api/v2/workItems/sharedSteps/{sharedStepId}/references', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
725
843
|
}
|
|
726
844
|
|
|
727
845
|
/**
|
|
728
|
-
*
|
|
729
|
-
*
|
|
730
|
-
* @param {String}
|
|
731
|
-
* @
|
|
732
|
-
* @param {String} response The complete HTTP response.
|
|
846
|
+
* Get SharedStep references
|
|
847
|
+
* Use case User sets SharedStep identifier User runs method execution System return SharedStep references
|
|
848
|
+
* @param {String} sharedStepId
|
|
849
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/SharedStepReferenceModel>}
|
|
733
850
|
*/
|
|
851
|
+
}, {
|
|
852
|
+
key: "apiV2WorkItemsSharedStepsSharedStepIdReferencesGet",
|
|
853
|
+
value: function apiV2WorkItemsSharedStepsSharedStepIdReferencesGet(sharedStepId) {
|
|
854
|
+
return this.apiV2WorkItemsSharedStepsSharedStepIdReferencesGetWithHttpInfo(sharedStepId).then(function (response_and_data) {
|
|
855
|
+
return response_and_data.data;
|
|
856
|
+
});
|
|
857
|
+
}
|
|
734
858
|
|
|
735
859
|
/**
|
|
736
860
|
* Delete all links AutoTests from WorkItem by Id or GlobalId
|
|
737
861
|
* 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
|
|
738
862
|
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
739
|
-
* @
|
|
863
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
740
864
|
*/
|
|
741
865
|
}, {
|
|
742
|
-
key: "
|
|
743
|
-
value: function
|
|
866
|
+
key: "deleteAllWorkItemsFromAutoTestWithHttpInfo",
|
|
867
|
+
value: function deleteAllWorkItemsFromAutoTestWithHttpInfo(id) {
|
|
744
868
|
var postBody = null;
|
|
745
869
|
// verify the required parameter 'id' is set
|
|
746
870
|
if (id === undefined || id === null) {
|
|
@@ -756,26 +880,32 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
756
880
|
var contentTypes = [];
|
|
757
881
|
var accepts = ['application/json'];
|
|
758
882
|
var returnType = null;
|
|
759
|
-
return this.apiClient.callApi('/api/v2/workItems/{id}/autoTests', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
883
|
+
return this.apiClient.callApi('/api/v2/workItems/{id}/autoTests', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
760
884
|
}
|
|
761
885
|
|
|
762
886
|
/**
|
|
763
|
-
*
|
|
764
|
-
*
|
|
765
|
-
* @param {String}
|
|
766
|
-
* @
|
|
767
|
-
* @param {String} response The complete HTTP response.
|
|
887
|
+
* Delete all links AutoTests from WorkItem by Id or GlobalId
|
|
888
|
+
* 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
|
|
889
|
+
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
890
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
768
891
|
*/
|
|
892
|
+
}, {
|
|
893
|
+
key: "deleteAllWorkItemsFromAutoTest",
|
|
894
|
+
value: function deleteAllWorkItemsFromAutoTest(id) {
|
|
895
|
+
return this.deleteAllWorkItemsFromAutoTestWithHttpInfo(id).then(function (response_and_data) {
|
|
896
|
+
return response_and_data.data;
|
|
897
|
+
});
|
|
898
|
+
}
|
|
769
899
|
|
|
770
900
|
/**
|
|
771
901
|
* Delete Test Case, Checklist or Shared Step by Id or GlobalId
|
|
772
902
|
* Use case User sets work item identifier User runs method execution System deletes work item System returns no content response
|
|
773
903
|
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
774
|
-
* @
|
|
904
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
775
905
|
*/
|
|
776
906
|
}, {
|
|
777
|
-
key: "
|
|
778
|
-
value: function
|
|
907
|
+
key: "deleteWorkItemWithHttpInfo",
|
|
908
|
+
value: function deleteWorkItemWithHttpInfo(id) {
|
|
779
909
|
var postBody = null;
|
|
780
910
|
// verify the required parameter 'id' is set
|
|
781
911
|
if (id === undefined || id === null) {
|
|
@@ -791,27 +921,32 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
791
921
|
var contentTypes = [];
|
|
792
922
|
var accepts = ['application/json'];
|
|
793
923
|
var returnType = null;
|
|
794
|
-
return this.apiClient.callApi('/api/v2/workItems/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
924
|
+
return this.apiClient.callApi('/api/v2/workItems/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
795
925
|
}
|
|
796
926
|
|
|
797
927
|
/**
|
|
798
|
-
*
|
|
799
|
-
*
|
|
800
|
-
* @param {String}
|
|
801
|
-
* @
|
|
802
|
-
* @param {String} response The complete HTTP response.
|
|
928
|
+
* Delete Test Case, Checklist or Shared Step by Id or GlobalId
|
|
929
|
+
* Use case User sets work item identifier User runs method execution System deletes work item System returns no content response
|
|
930
|
+
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
931
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
803
932
|
*/
|
|
933
|
+
}, {
|
|
934
|
+
key: "deleteWorkItem",
|
|
935
|
+
value: function deleteWorkItem(id) {
|
|
936
|
+
return this.deleteWorkItemWithHttpInfo(id).then(function (response_and_data) {
|
|
937
|
+
return response_and_data.data;
|
|
938
|
+
});
|
|
939
|
+
}
|
|
804
940
|
|
|
805
941
|
/**
|
|
806
942
|
* Get all AutoTests linked to WorkItem by Id or GlobalId
|
|
807
943
|
* 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
|
|
808
944
|
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
809
|
-
* @
|
|
810
|
-
* data is of type: {@link Array.<module:model/AutoTestModel>}
|
|
945
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/AutoTestModel>} and HTTP response
|
|
811
946
|
*/
|
|
812
947
|
}, {
|
|
813
|
-
key: "
|
|
814
|
-
value: function
|
|
948
|
+
key: "getAutoTestsForWorkItemWithHttpInfo",
|
|
949
|
+
value: function getAutoTestsForWorkItemWithHttpInfo(id) {
|
|
815
950
|
var postBody = null;
|
|
816
951
|
// verify the required parameter 'id' is set
|
|
817
952
|
if (id === undefined || id === null) {
|
|
@@ -827,16 +962,22 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
827
962
|
var contentTypes = [];
|
|
828
963
|
var accepts = ['application/json'];
|
|
829
964
|
var returnType = [_AutoTestModel["default"]];
|
|
830
|
-
return this.apiClient.callApi('/api/v2/workItems/{id}/autoTests', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
965
|
+
return this.apiClient.callApi('/api/v2/workItems/{id}/autoTests', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
831
966
|
}
|
|
832
967
|
|
|
833
968
|
/**
|
|
834
|
-
*
|
|
835
|
-
*
|
|
836
|
-
* @param {String}
|
|
837
|
-
* @
|
|
838
|
-
* @param {String} response The complete HTTP response.
|
|
969
|
+
* Get all AutoTests linked to WorkItem by Id or GlobalId
|
|
970
|
+
* 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
|
|
971
|
+
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
972
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/AutoTestModel>}
|
|
839
973
|
*/
|
|
974
|
+
}, {
|
|
975
|
+
key: "getAutoTestsForWorkItem",
|
|
976
|
+
value: function getAutoTestsForWorkItem(id) {
|
|
977
|
+
return this.getAutoTestsForWorkItemWithHttpInfo(id).then(function (response_and_data) {
|
|
978
|
+
return response_and_data.data;
|
|
979
|
+
});
|
|
980
|
+
}
|
|
840
981
|
|
|
841
982
|
/**
|
|
842
983
|
* Get iterations by work item Id or GlobalId
|
|
@@ -844,12 +985,11 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
844
985
|
* @param {Object} opts Optional parameters
|
|
845
986
|
* @param {String} [versionId] WorkItem version (guid format) identifier
|
|
846
987
|
* @param {Number} [versionNumber] WorkItem version number (0 is the last version)\"
|
|
847
|
-
* @
|
|
848
|
-
* data is of type: {@link Array.<module:model/IterationModel>}
|
|
988
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/IterationModel>} and HTTP response
|
|
849
989
|
*/
|
|
850
990
|
}, {
|
|
851
|
-
key: "
|
|
852
|
-
value: function
|
|
991
|
+
key: "getIterationsWithHttpInfo",
|
|
992
|
+
value: function getIterationsWithHttpInfo(id, opts) {
|
|
853
993
|
opts = opts || {};
|
|
854
994
|
var postBody = null;
|
|
855
995
|
// verify the required parameter 'id' is set
|
|
@@ -869,16 +1009,24 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
869
1009
|
var contentTypes = [];
|
|
870
1010
|
var accepts = ['application/json'];
|
|
871
1011
|
var returnType = [_IterationModel["default"]];
|
|
872
|
-
return this.apiClient.callApi('/api/v2/workItems/{id}/iterations', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
1012
|
+
return this.apiClient.callApi('/api/v2/workItems/{id}/iterations', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
873
1013
|
}
|
|
874
1014
|
|
|
875
1015
|
/**
|
|
876
|
-
*
|
|
877
|
-
* @
|
|
878
|
-
* @param {
|
|
879
|
-
* @param {
|
|
880
|
-
* @param {
|
|
1016
|
+
* Get iterations by work item Id or GlobalId
|
|
1017
|
+
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
1018
|
+
* @param {Object} opts Optional parameters
|
|
1019
|
+
* @param {String} opts.versionId WorkItem version (guid format) identifier
|
|
1020
|
+
* @param {Number} opts.versionNumber WorkItem version number (0 is the last version)\"
|
|
1021
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/IterationModel>}
|
|
881
1022
|
*/
|
|
1023
|
+
}, {
|
|
1024
|
+
key: "getIterations",
|
|
1025
|
+
value: function getIterations(id, opts) {
|
|
1026
|
+
return this.getIterationsWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1027
|
+
return response_and_data.data;
|
|
1028
|
+
});
|
|
1029
|
+
}
|
|
882
1030
|
|
|
883
1031
|
/**
|
|
884
1032
|
* Get Test Case, Checklist or Shared Step by Id or GlobalId
|
|
@@ -887,12 +1035,11 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
887
1035
|
* @param {Object} opts Optional parameters
|
|
888
1036
|
* @param {String} [versionId] WorkItem version (guid format) identifier\"
|
|
889
1037
|
* @param {Number} [versionNumber] WorkItem version number (0 is the last version)\"
|
|
890
|
-
* @
|
|
891
|
-
* data is of type: {@link module:model/WorkItemModel}
|
|
1038
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/WorkItemModel} and HTTP response
|
|
892
1039
|
*/
|
|
893
1040
|
}, {
|
|
894
|
-
key: "
|
|
895
|
-
value: function
|
|
1041
|
+
key: "getWorkItemByIdWithHttpInfo",
|
|
1042
|
+
value: function getWorkItemByIdWithHttpInfo(id, opts) {
|
|
896
1043
|
opts = opts || {};
|
|
897
1044
|
var postBody = null;
|
|
898
1045
|
// verify the required parameter 'id' is set
|
|
@@ -912,27 +1059,35 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
912
1059
|
var contentTypes = [];
|
|
913
1060
|
var accepts = ['application/json'];
|
|
914
1061
|
var returnType = _WorkItemModel["default"];
|
|
915
|
-
return this.apiClient.callApi('/api/v2/workItems/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
1062
|
+
return this.apiClient.callApi('/api/v2/workItems/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
916
1063
|
}
|
|
917
1064
|
|
|
918
1065
|
/**
|
|
919
|
-
*
|
|
920
|
-
*
|
|
921
|
-
* @param {String}
|
|
922
|
-
* @param {
|
|
923
|
-
* @param {String}
|
|
1066
|
+
* Get Test Case, Checklist or Shared Step by Id or GlobalId
|
|
1067
|
+
* 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
|
|
1068
|
+
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
1069
|
+
* @param {Object} opts Optional parameters
|
|
1070
|
+
* @param {String} opts.versionId WorkItem version (guid format) identifier\"
|
|
1071
|
+
* @param {Number} opts.versionNumber WorkItem version number (0 is the last version)\"
|
|
1072
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/WorkItemModel}
|
|
924
1073
|
*/
|
|
1074
|
+
}, {
|
|
1075
|
+
key: "getWorkItemById",
|
|
1076
|
+
value: function getWorkItemById(id, opts) {
|
|
1077
|
+
return this.getWorkItemByIdWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1078
|
+
return response_and_data.data;
|
|
1079
|
+
});
|
|
1080
|
+
}
|
|
925
1081
|
|
|
926
1082
|
/**
|
|
927
1083
|
* Get WorkItem chronology by Id or GlobalId
|
|
928
1084
|
* 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
|
|
929
1085
|
* @param {String} id Internal (UUID) or global (integer) identifier
|
|
930
|
-
* @
|
|
931
|
-
* data is of type: {@link Array.<module:model/TestResultChronologyModel>}
|
|
1086
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/TestResultChronologyModel>} and HTTP response
|
|
932
1087
|
*/
|
|
933
1088
|
}, {
|
|
934
|
-
key: "
|
|
935
|
-
value: function
|
|
1089
|
+
key: "getWorkItemChronologyWithHttpInfo",
|
|
1090
|
+
value: function getWorkItemChronologyWithHttpInfo(id) {
|
|
936
1091
|
var postBody = null;
|
|
937
1092
|
// verify the required parameter 'id' is set
|
|
938
1093
|
if (id === undefined || id === null) {
|
|
@@ -948,16 +1103,22 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
948
1103
|
var contentTypes = [];
|
|
949
1104
|
var accepts = ['application/json'];
|
|
950
1105
|
var returnType = [_TestResultChronologyModel["default"]];
|
|
951
|
-
return this.apiClient.callApi('/api/v2/workItems/{id}/chronology', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
1106
|
+
return this.apiClient.callApi('/api/v2/workItems/{id}/chronology', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
952
1107
|
}
|
|
953
1108
|
|
|
954
1109
|
/**
|
|
955
|
-
*
|
|
956
|
-
*
|
|
957
|
-
* @param {String}
|
|
958
|
-
* @
|
|
959
|
-
* @param {String} response The complete HTTP response.
|
|
1110
|
+
* Get WorkItem chronology by Id or GlobalId
|
|
1111
|
+
* 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
|
+
* @param {String} id Internal (UUID) or global (integer) identifier
|
|
1113
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/TestResultChronologyModel>}
|
|
960
1114
|
*/
|
|
1115
|
+
}, {
|
|
1116
|
+
key: "getWorkItemChronology",
|
|
1117
|
+
value: function getWorkItemChronology(id) {
|
|
1118
|
+
return this.getWorkItemChronologyWithHttpInfo(id).then(function (response_and_data) {
|
|
1119
|
+
return response_and_data.data;
|
|
1120
|
+
});
|
|
1121
|
+
}
|
|
961
1122
|
|
|
962
1123
|
/**
|
|
963
1124
|
* Get WorkItem versions
|
|
@@ -966,12 +1127,11 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
966
1127
|
* @param {Object} opts Optional parameters
|
|
967
1128
|
* @param {String} [workItemVersionId] WorkItem version (guid format) identifier\"
|
|
968
1129
|
* @param {Number} [versionNumber] WorkItem version (integer format) number\"
|
|
969
|
-
* @
|
|
970
|
-
* data is of type: {@link Array.<module:model/WorkItemVersionModel>}
|
|
1130
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/WorkItemVersionModel>} and HTTP response
|
|
971
1131
|
*/
|
|
972
1132
|
}, {
|
|
973
|
-
key: "
|
|
974
|
-
value: function
|
|
1133
|
+
key: "getWorkItemVersionsWithHttpInfo",
|
|
1134
|
+
value: function getWorkItemVersionsWithHttpInfo(id, opts) {
|
|
975
1135
|
opts = opts || {};
|
|
976
1136
|
var postBody = null;
|
|
977
1137
|
// verify the required parameter 'id' is set
|
|
@@ -991,25 +1151,34 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
991
1151
|
var contentTypes = [];
|
|
992
1152
|
var accepts = ['application/json'];
|
|
993
1153
|
var returnType = [_WorkItemVersionModel["default"]];
|
|
994
|
-
return this.apiClient.callApi('/api/v2/workItems/{id}/versions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
1154
|
+
return this.apiClient.callApi('/api/v2/workItems/{id}/versions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
995
1155
|
}
|
|
996
1156
|
|
|
997
1157
|
/**
|
|
998
|
-
*
|
|
999
|
-
*
|
|
1000
|
-
* @param {String}
|
|
1001
|
-
* @param
|
|
1002
|
-
* @param {String}
|
|
1158
|
+
* Get WorkItem versions
|
|
1159
|
+
* 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)
|
|
1160
|
+
* @param {String} id WorkItem internal (guid format) or global(integer format) identifier\"
|
|
1161
|
+
* @param {Object} opts Optional parameters
|
|
1162
|
+
* @param {String} opts.workItemVersionId WorkItem version (guid format) identifier\"
|
|
1163
|
+
* @param {Number} opts.versionNumber WorkItem version (integer format) number\"
|
|
1164
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/WorkItemVersionModel>}
|
|
1003
1165
|
*/
|
|
1166
|
+
}, {
|
|
1167
|
+
key: "getWorkItemVersions",
|
|
1168
|
+
value: function getWorkItemVersions(id, opts) {
|
|
1169
|
+
return this.getWorkItemVersionsWithHttpInfo(id, opts).then(function (response_and_data) {
|
|
1170
|
+
return response_and_data.data;
|
|
1171
|
+
});
|
|
1172
|
+
}
|
|
1004
1173
|
|
|
1005
1174
|
/**
|
|
1006
1175
|
* Permanently delete test case, checklist or shared steps from archive
|
|
1007
1176
|
* @param {String} id Unique or global ID of the work item
|
|
1008
|
-
* @
|
|
1177
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1009
1178
|
*/
|
|
1010
1179
|
}, {
|
|
1011
|
-
key: "
|
|
1012
|
-
value: function
|
|
1180
|
+
key: "purgeWorkItemWithHttpInfo",
|
|
1181
|
+
value: function purgeWorkItemWithHttpInfo(id) {
|
|
1013
1182
|
var postBody = null;
|
|
1014
1183
|
// verify the required parameter 'id' is set
|
|
1015
1184
|
if (id === undefined || id === null) {
|
|
@@ -1025,25 +1194,30 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1025
1194
|
var contentTypes = [];
|
|
1026
1195
|
var accepts = ['application/json'];
|
|
1027
1196
|
var returnType = null;
|
|
1028
|
-
return this.apiClient.callApi('/api/v2/workItems/{id}/purge', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
1197
|
+
return this.apiClient.callApi('/api/v2/workItems/{id}/purge', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1029
1198
|
}
|
|
1030
1199
|
|
|
1031
1200
|
/**
|
|
1032
|
-
*
|
|
1033
|
-
* @
|
|
1034
|
-
* @
|
|
1035
|
-
* @param data This operation does not return a value.
|
|
1036
|
-
* @param {String} response The complete HTTP response.
|
|
1201
|
+
* Permanently delete test case, checklist or shared steps from archive
|
|
1202
|
+
* @param {String} id Unique or global ID of the work item
|
|
1203
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1037
1204
|
*/
|
|
1205
|
+
}, {
|
|
1206
|
+
key: "purgeWorkItem",
|
|
1207
|
+
value: function purgeWorkItem(id) {
|
|
1208
|
+
return this.purgeWorkItemWithHttpInfo(id).then(function (response_and_data) {
|
|
1209
|
+
return response_and_data.data;
|
|
1210
|
+
});
|
|
1211
|
+
}
|
|
1038
1212
|
|
|
1039
1213
|
/**
|
|
1040
1214
|
* Restore test case, checklist or shared steps from archive
|
|
1041
1215
|
* @param {String} id Unique or global ID of the work item
|
|
1042
|
-
* @
|
|
1216
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1043
1217
|
*/
|
|
1044
1218
|
}, {
|
|
1045
|
-
key: "
|
|
1046
|
-
value: function
|
|
1219
|
+
key: "restoreWorkItemWithHttpInfo",
|
|
1220
|
+
value: function restoreWorkItemWithHttpInfo(id) {
|
|
1047
1221
|
var postBody = null;
|
|
1048
1222
|
// verify the required parameter 'id' is set
|
|
1049
1223
|
if (id === undefined || id === null) {
|
|
@@ -1059,27 +1233,32 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1059
1233
|
var contentTypes = [];
|
|
1060
1234
|
var accepts = ['application/json'];
|
|
1061
1235
|
var returnType = null;
|
|
1062
|
-
return this.apiClient.callApi('/api/v2/workItems/{id}/restore', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null
|
|
1236
|
+
return this.apiClient.callApi('/api/v2/workItems/{id}/restore', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
1063
1237
|
}
|
|
1064
1238
|
|
|
1065
1239
|
/**
|
|
1066
|
-
*
|
|
1067
|
-
* @
|
|
1068
|
-
* @
|
|
1069
|
-
* @param data This operation does not return a value.
|
|
1070
|
-
* @param {String} response The complete HTTP response.
|
|
1240
|
+
* Restore test case, checklist or shared steps from archive
|
|
1241
|
+
* @param {String} id Unique or global ID of the work item
|
|
1242
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
1071
1243
|
*/
|
|
1244
|
+
}, {
|
|
1245
|
+
key: "restoreWorkItem",
|
|
1246
|
+
value: function restoreWorkItem(id) {
|
|
1247
|
+
return this.restoreWorkItemWithHttpInfo(id).then(function (response_and_data) {
|
|
1248
|
+
return response_and_data.data;
|
|
1249
|
+
});
|
|
1250
|
+
}
|
|
1072
1251
|
|
|
1073
1252
|
/**
|
|
1074
1253
|
* Update Test Case, Checklist or Shared Step
|
|
1075
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)
|
|
1076
1255
|
* @param {Object} opts Optional parameters
|
|
1077
1256
|
* @param {module:model/UpdateWorkItemApiModel} [updateWorkItemApiModel]
|
|
1078
|
-
* @
|
|
1257
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
1079
1258
|
*/
|
|
1080
1259
|
}, {
|
|
1081
|
-
key: "
|
|
1082
|
-
value: function
|
|
1260
|
+
key: "updateWorkItemWithHttpInfo",
|
|
1261
|
+
value: function updateWorkItemWithHttpInfo(opts) {
|
|
1083
1262
|
opts = opts || {};
|
|
1084
1263
|
var postBody = opts['updateWorkItemApiModel'];
|
|
1085
1264
|
var pathParams = {};
|
|
@@ -1090,7 +1269,22 @@ var WorkItemsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1090
1269
|
var contentTypes = ['application/json'];
|
|
1091
1270
|
var accepts = ['application/json'];
|
|
1092
1271
|
var returnType = null;
|
|
1093
|
-
return this.apiClient.callApi('/api/v2/workItems', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, 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
|
+
});
|
|
1094
1288
|
}
|
|
1095
1289
|
}]);
|
|
1096
1290
|
}();
|