testit-api-client 7.2.6-TMS-5.7 → 7.2.7
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 +79 -22
- package/dist/api/AttachmentsApi.js +8 -8
- package/dist/api/AutoTestsApi.js +21 -21
- package/dist/api/BackgroundJobsApi.js +7 -7
- package/dist/api/ConfigurationParametersApi.js +244 -0
- package/dist/api/ConfigurationsApi.js +13 -13
- package/dist/api/CustomAttributeTemplatesApi.js +10 -10
- package/dist/api/CustomAttributesApi.js +7 -7
- package/dist/api/ExternalIssuesApi.js +6 -6
- package/dist/api/NotificationsApi.js +6 -6
- package/dist/api/OpenIdConnectionsApi.js +2 -2
- package/dist/api/ParametersApi.js +16 -16
- package/dist/api/ProjectAttributeTemplatesApi.js +4 -4
- package/dist/api/ProjectAttributesApi.js +10 -11
- package/dist/api/ProjectConfigurationsApi.js +2 -2
- package/dist/api/ProjectSectionsApi.js +2 -2
- package/dist/api/ProjectSettingsApi.js +3 -3
- package/dist/api/ProjectTestPlanAttributesApi.js +9 -10
- package/dist/api/ProjectTestPlanTestPointsApi.js +3 -3
- package/dist/api/ProjectTestPlansApi.js +7 -7
- package/dist/api/ProjectWorkItemsApi.js +7 -7
- package/dist/api/ProjectsApi.js +71 -42
- package/dist/api/SectionsApi.js +9 -9
- package/dist/api/TagsApi.js +7 -7
- package/dist/api/TestPlansApi.js +36 -36
- package/dist/api/TestPointsApi.js +5 -5
- package/dist/api/TestResultsApi.js +63 -16
- package/dist/api/TestRunsApi.js +72 -25
- package/dist/api/TestStatusesApi.js +12 -12
- package/dist/api/TestSuitesApi.js +14 -14
- package/dist/api/UsersApi.js +2 -112
- package/dist/api/WebhooksApi.js +11 -11
- package/dist/api/WebhooksLogsApi.js +4 -4
- package/dist/api/WorkItemsApi.js +111 -64
- package/dist/api/WorkItemsCommentsApi.js +6 -6
- package/dist/api/WorkflowsApi.js +17 -17
- package/dist/index.js +395 -80
- package/dist/model/AIServiceModelApiResult.js +1 -1
- package/dist/model/AIServiceModelApiResultCountReply.js +108 -0
- package/dist/model/AIServiceModelApiResultGroup.js +156 -0
- package/dist/model/AIServiceModelApiResultGroupedReply.js +140 -0
- package/dist/model/AIServiceModelApiResultIReply.js +173 -0
- package/dist/model/AIServiceModelApiResultReply.js +1 -1
- package/dist/model/AssignAttachmentApiModel.js +1 -1
- package/dist/model/{Link.js → AssignAutoTestCaseIdApiModel.js} +24 -84
- package/dist/model/AssignIterationApiModel.js +1 -1
- package/dist/model/AttachmentApiResult.js +1 -1
- package/dist/model/AttachmentChangeViewModel.js +1 -1
- package/dist/model/AttachmentChangeViewModelArrayChangedFieldViewModel.js +1 -1
- package/dist/model/AttachmentModel.js +1 -1
- package/dist/model/AttachmentPutModel.js +1 -1
- package/dist/model/AttachmentPutModelAutoTestStepResultsModel.js +1 -1
- package/dist/model/AttachmentUpdateRequest.js +1 -1
- package/dist/model/AuditApiResult.js +1 -1
- package/dist/model/AutoTest.js +5 -5
- package/dist/model/AutoTestApiResult.js +16 -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/AutoTestCaseApiModel.js +113 -0
- package/dist/model/AutoTestCaseResult.js +112 -0
- package/dist/model/AutoTestChangeViewModel.js +1 -1
- package/dist/model/AutoTestChangeViewModelArrayChangedFieldViewModel.js +1 -1
- package/dist/model/AutoTestClassCountApiModel.js +1 -1
- package/dist/model/AutoTestCreateApiModel.js +1 -1
- package/dist/model/AutoTestExtractionApiModel.js +1 -1
- package/dist/model/AutoTestFilterApiModel.js +1 -1
- package/dist/model/AutoTestFilterModel.js +1 -1
- package/dist/model/AutoTestFlakyBulkApiModel.js +1 -1
- package/dist/model/AutoTestIdModel.js +1 -1
- package/dist/model/AutoTestModel.js +1 -1
- package/dist/model/AutoTestModelV2GetModel.js +1 -1
- package/dist/model/AutoTestNamespaceApiResult.js +1 -1
- package/dist/model/AutoTestNamespaceCountApiModel.js +1 -1
- package/dist/model/AutoTestNamespacesCountResponse.js +1 -1
- package/dist/model/AutoTestProjectSettingsApiModel.js +49 -5
- package/dist/model/AutoTestProjectSettingsApiResult.js +49 -5
- package/dist/model/AutoTestResultHistoryApiResult.js +1 -1
- package/dist/model/AutoTestResultHistorySelectApiModel.js +1 -1
- package/dist/model/AutoTestResultReasonShort.js +1 -1
- package/dist/model/AutoTestResultsForTestRunModel.js +1 -1
- package/dist/model/AutoTestSearchApiModel.js +1 -1
- package/dist/model/AutoTestSearchIncludeApiModel.js +1 -1
- package/dist/model/AutoTestSelectApiModel.js +1 -1
- package/dist/model/AutoTestSelectModel.js +1 -1
- package/dist/model/AutoTestShortApiResult.js +1 -1
- package/dist/model/AutoTestStep.js +1 -1
- package/dist/model/AutoTestStepApiModel.js +1 -1
- package/dist/model/AutoTestStepApiResult.js +1 -1
- package/dist/model/AutoTestStepModel.js +1 -1
- package/dist/model/AutoTestStepResult.js +1 -1
- package/dist/model/AutoTestStepResultUpdateRequest.js +1 -1
- package/dist/model/AutoTestStepResultsApiResult.js +1 -1
- package/dist/model/AutoTestUpdateApiModel.js +10 -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/BackgroundJobType.js +5 -0
- 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/ConfigurationParameterApiModel.js +177 -0
- package/dist/model/{ProjectShortModel.js → ConfigurationParameterApiResult.js} +105 -132
- package/dist/model/ConfigurationParameterPreviewApiResult.js +225 -0
- package/dist/model/ConfigurationParameterPreviewApiResultCountReply.js +108 -0
- package/dist/model/ConfigurationParameterPreviewApiResultGroup.js +156 -0
- package/dist/model/ConfigurationParameterPreviewApiResultGroupedReply.js +140 -0
- package/dist/model/ConfigurationParameterPreviewApiResultIReply.js +173 -0
- package/dist/model/ConfigurationParameterPreviewApiResultReply.js +140 -0
- package/dist/model/ConfigurationParameterProjectApiModel.js +113 -0
- package/dist/model/ConfigurationParameterValueApiModel.js +113 -0
- package/dist/model/{GlobalSearchRequest.js → ConfigurationParameterValueApiResult.js} +38 -54
- package/dist/model/ConfigurationParameterValueApiResultApiCollectionPreview.js +142 -0
- 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 +7 -5
- package/dist/model/CreateParameterApiModel.js +1 -1
- package/dist/model/CreateProjectApiModel.js +1 -1
- package/dist/model/CreateProjectFailureCategoryApiModel.js +1 -1
- package/dist/model/CreateStepApiModel.js +1 -1
- package/dist/model/CreateTagApiModel.js +1 -1
- package/dist/model/CreateTestPlanApiModel.js +1 -1
- package/dist/model/CreateTestRunAndFillByAutoTestCasesApiModel.js +212 -0
- package/dist/model/CreateTestRunAndFillByAutoTestsApiModel.js +16 -1
- package/dist/model/CreateTestRunAndFillByConfigurationsApiModel.js +16 -1
- package/dist/model/CreateTestRunAndFillByWorkItemsApiModel.js +16 -1
- package/dist/model/CreateTestStatusApiModel.js +1 -1
- package/dist/model/CreateWorkItemApiModel.js +15 -27
- package/dist/model/CreateWorkItemCommentApiModel.js +1 -1
- package/dist/model/CreateWorkItemPreviewsApiModel.js +1 -1
- package/dist/model/CreateWorkflowApiModel.js +1 -1
- package/dist/model/CustomAttributeApiResult.js +42 -5
- package/dist/model/CustomAttributeChangeModel.js +1 -1
- package/dist/model/CustomAttributeModel.js +68 -18
- 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 +68 -18
- 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 +113 -0
- package/dist/model/{ProjectModel.js → DetailedProjectApiResult.js} +82 -71
- package/dist/model/EnableProjectExternalServiceApiModel.js +1 -1
- package/dist/model/ExternalFormAllowedValueModel.js +1 -1
- package/dist/model/ExternalFormCreateModel.js +1 -1
- package/dist/model/ExternalFormFieldModel.js +1 -1
- package/dist/model/ExternalFormLinkModel.js +1 -1
- package/dist/model/ExternalFormModel.js +1 -1
- package/dist/model/ExternalIssueApiFieldSuggestion.js +1 -1
- package/dist/model/ExternalIssueApiFieldSuggestionCountReply.js +108 -0
- package/dist/model/{GlobalSearchResponse.js → ExternalIssueApiFieldSuggestionGroup.js} +51 -49
- package/dist/model/ExternalIssueApiFieldSuggestionGroupedReply.js +140 -0
- package/dist/model/ExternalIssueApiFieldSuggestionIReply.js +173 -0
- package/dist/model/ExternalIssueApiFieldSuggestionReply.js +1 -1
- package/dist/model/ExternalIssueApiMetadata.js +1 -1
- package/dist/model/ExternalIssueApiPriority.js +1 -1
- package/dist/model/ExternalIssueApiResult.js +1 -1
- package/dist/model/ExternalIssueApiType.js +1 -1
- package/dist/model/ExternalIssueExternalServiceApiResult.js +1 -1
- package/dist/model/ExternalIssueMetadataModel.js +1 -1
- package/dist/model/ExternalIssueModel.js +1 -1
- package/dist/model/ExternalIssuePriorityModel.js +1 -1
- package/dist/model/ExternalIssueTypeModel.js +1 -1
- package/dist/model/ExternalLinkModel.js +1 -1
- package/dist/model/ExternalServiceMetadataApiResult.js +1 -1
- package/dist/model/ExternalServicesMetadataApiResult.js +1 -1
- package/dist/model/FailureCategoryApiResult.js +1 -1
- package/dist/model/FailureCategoryGroupApiModel.js +1 -1
- package/dist/model/FailureCategoryGroupApiResult.js +1 -1
- package/dist/model/FailureCategoryGroupItemApiResult.js +1 -1
- package/dist/model/FailureCategoryGroupItemApiResultReply.js +1 -1
- package/dist/model/FailureCategoryGroupSearchApiModel.js +1 -1
- package/dist/model/FailureCategoryItemApiResult.js +1 -1
- package/dist/model/FailureClassRegexApiResult.js +1 -1
- package/dist/model/FieldFilter.js +123 -0
- package/dist/model/Filter.js +14 -10
- package/dist/model/FilterModel.js +1 -1
- package/dist/model/FilterOperator.js +30 -20
- package/dist/model/GenerateWorkItemPreviewsApiModel.js +1 -14
- package/dist/model/GenerateWorkItemPreviewsApiResult.js +1 -1
- package/dist/model/GetAIServiceModelsApiModel.js +1 -1
- package/dist/model/GetExternalFormApiResult.js +1 -1
- package/dist/model/GetExternalIssueSuggestionsApiModel.js +1 -1
- package/dist/model/GetShortProjectsApiModel.js +1 -1
- package/dist/model/{GetXlsxTestPointsByTestPlanModel.js → GetXlsxTestPointsByTestPlanApiModel.js} +81 -35
- package/dist/model/GlobalCustomAttributePostModel.js +1 -1
- package/dist/model/GlobalCustomAttributeUpdateModel.js +1 -1
- package/dist/model/Group.js +124 -0
- package/dist/model/GroupKey.js +126 -0
- package/dist/model/GuidChangedFieldViewModel.js +1 -1
- package/dist/model/GuidExtractionModel.js +1 -1
- package/dist/model/GuidNullableChangedFieldViewModel.js +101 -0
- package/dist/model/IFilter.js +3 -2
- package/dist/model/Inquiry.js +31 -6
- 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/JsonElement.js +109 -0
- package/dist/model/JsonValueKind.js +88 -0
- 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/{RoleApiModel.js → LayerApiModel.js} +32 -42
- package/dist/model/LayerApiResult.js +126 -0
- package/dist/model/LayerSource.js +68 -0
- package/dist/model/LinkApiResult.js +7 -5
- package/dist/model/LinkCreateApiModel.js +7 -5
- package/dist/model/LinkModel.js +7 -5
- package/dist/model/LinkPostModel.js +7 -5
- package/dist/model/LinkPutModel.js +7 -5
- package/dist/model/LinkShortApiResult.js +1 -1
- package/dist/model/LinkShortModel.js +10 -11
- package/dist/model/LinkUpdateApiModel.js +7 -5
- package/dist/model/ManualRerunApiResult.js +1 -1
- package/dist/model/ManualRerunSelectTestResultsApiModel.js +1 -1
- package/dist/model/ManualRerunTestResultApiModel.js +1 -1
- package/dist/model/Mode.js +58 -0
- package/dist/model/NamedEntityApiModel.js +1 -1
- package/dist/model/NotificationModel.js +1 -1
- package/dist/model/NotificationQueryFilterModel.js +1 -1
- package/dist/model/OpenIdConnectionClientShortModel.js +1 -1
- package/dist/model/OpenIdConnectionSettingsShortClientModel.js +1 -1
- package/dist/model/Operation.js +1 -1
- package/dist/model/Order.js +1 -1
- package/dist/model/Page.js +1 -1
- package/dist/model/ParameterApiResult.js +1 -1
- package/dist/model/ParameterGroupApiResult.js +1 -1
- package/dist/model/ParameterGroupsFilterApiModel.js +1 -1
- package/dist/model/ParameterIterationModel.js +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 +12 -71
- package/dist/model/ProjectAttributesFilterModel.js +1 -1
- package/dist/model/ProjectCustomAttributeTemplateGetModel.js +1 -1
- package/dist/model/ProjectCustomAttributesTemplatesFilterModel.js +1 -1
- package/dist/model/ProjectDetailedFailureCategoryApiResult.js +1 -1
- package/dist/model/ProjectExternalServiceApiResult.js +1 -1
- package/dist/model/ProjectExternalServiceSettingsApiResult.js +1 -1
- package/dist/model/ProjectExternalServicesApiResult.js +1 -1
- package/dist/model/ProjectExtractionModel.js +1 -1
- package/dist/model/ProjectFailureCategoryApiResult.js +1 -1
- package/dist/model/ProjectFailureCategoryGroupItemApiResult.js +1 -1
- package/dist/model/ProjectFailureCategoryGroupItemApiResultReply.js +1 -1
- package/dist/model/ProjectNameApiResult.js +1 -1
- package/dist/model/{RoleApiModelApiCollection.js → ProjectNameApiResultApiCollectionPreview.js} +27 -27
- package/dist/model/ProjectSelectModel.js +1 -1
- package/dist/model/ProjectShortApiResult.js +1 -1
- package/dist/model/ProjectShortApiResultCountReply.js +108 -0
- package/dist/model/ProjectShortApiResultGroup.js +156 -0
- package/dist/model/ProjectShortApiResultGroupedReply.js +140 -0
- package/dist/model/ProjectShortApiResultIReply.js +173 -0
- package/dist/model/ProjectShortApiResultReply.js +1 -1
- package/dist/model/ProjectShortestModel.js +1 -1
- package/dist/model/ProjectTestPlansFilterModel.js +1 -1
- package/dist/model/ProjectsFilterModel.js +14 -14
- package/dist/model/ReplaceProjectExternalServiceApiModel.js +1 -1
- package/dist/model/RerunTestResultApiResult.js +1 -1
- package/dist/model/RerunsApiResult.js +1 -1
- package/dist/model/ScheduleAutoTestsReportImportApiModel.js +139 -0
- package/dist/model/ScheduleAutoTestsReportImportsApiModel.js +131 -0
- package/dist/model/SearchConfigurationParametersApiModel.js +165 -0
- package/dist/model/SearchCustomAttributeTemplateGetModel.js +1 -1
- package/dist/model/SearchExternalIssuesApiModel.js +1 -1
- package/dist/model/SearchTestRunsApiModel.js +1 -1
- package/dist/model/SearchTestStatusesApiModel.js +1 -1
- package/dist/model/SearchWebhooksQueryModel.js +1 -1
- package/dist/model/SearchWorkItemLinkUrlsApiResult.js +1 -1
- package/dist/model/SearchWorkflowProjectsApiModel.js +1 -1
- package/dist/model/SearchWorkflowsApiModel.js +1 -1
- package/dist/model/SectionModel.js +1 -1
- package/dist/model/SectionMoveModel.js +1 -1
- package/dist/model/SectionPostModel.js +1 -1
- package/dist/model/SectionPutModel.js +5 -19
- 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 +4 -3
- package/dist/model/SharedStepResultApiModel.js +1 -1
- package/dist/model/ShortConfiguration.js +1 -1
- package/dist/model/StepCommentApiModel.js +1 -1
- package/dist/model/StepModel.js +1 -1
- package/dist/model/StepPostModel.js +1 -1
- package/dist/model/StepPutModel.js +1 -1
- package/dist/model/StepResultApiModel.js +1 -1
- package/dist/model/StringArrayChangedFieldViewModel.js +1 -1
- package/dist/model/StringChangedFieldViewModel.js +1 -1
- package/dist/model/StringChangedFieldWithDiffsViewModel.js +1 -1
- package/dist/model/StringExtractionModel.js +1 -1
- package/dist/model/TagApiModel.js +1 -1
- package/dist/model/TagApiResult.js +1 -1
- package/dist/model/TagModel.js +1 -1
- package/dist/model/TagShortApiResult.js +1 -1
- package/dist/model/TagsExtractionApiModel.js +1 -1
- package/dist/model/TagsFilterApiModel.js +1 -1
- package/dist/model/TestPlanApiResult.js +1 -1
- package/dist/model/TestPlanChangeModel.js +1 -1
- package/dist/model/TestPlanChangedFieldsViewModel.js +1 -1
- package/dist/model/TestPlanExtractionModel.js +1 -1
- package/dist/model/TestPlanGroupByStatus.js +1 -1
- package/dist/model/TestPlanGroupByStatusCode.js +1 -1
- package/dist/model/TestPlanGroupByStatusType.js +1 -1
- package/dist/model/TestPlanGroupByTester.js +1 -1
- package/dist/model/TestPlanGroupByTesterAndStatus.js +1 -1
- package/dist/model/TestPlanGroupByTesterAndStatusCode.js +1 -1
- package/dist/model/TestPlanLink.js +1 -1
- package/dist/model/TestPlanModel.js +1 -1
- package/dist/model/TestPlanSelectModel.js +1 -1
- package/dist/model/TestPlanShortModel.js +1 -1
- package/dist/model/TestPlanSummaryModel.js +1 -1
- package/dist/model/TestPlanTagApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsAnalyticsApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsAnalyticsApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsAutoTestsRerunApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsAutoTestsRunApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsExtractionApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsGroupApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsGroupSearchApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsGroupSearchItemApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsInquiryApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsSearchApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsSearchApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsSearchStatusCountersApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsSectionSearchApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsSetTestersApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsStatusCodeGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsStatusGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsStatusTypeGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsTestSuiteSearchApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsTesterAndStatusGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsTesterAndStatusTypeGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsTesterGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsWorkItemSearchApiResult.js +1 -1
- package/dist/model/TestPlanWithAnalyticModel.js +1 -1
- package/dist/model/TestPlanWithTestSuiteTreeModel.js +1 -1
- package/dist/model/TestPoint.js +1 -1
- package/dist/model/TestPointAnalyticResult.js +1 -1
- package/dist/model/TestPointByTestSuiteModel.js +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/TestResultLinkApiResult.js +7 -5
- package/dist/model/TestResultResponse.js +5 -5
- package/dist/model/TestResultShortApiResult.js +1 -1
- package/dist/model/TestResultShortResponse.js +1 -1
- package/dist/model/TestResultStepCommentUpdateRequest.js +1 -1
- package/dist/model/TestResultUpdateV2Request.js +5 -5
- package/dist/model/TestResultV2GetModel.js +1 -1
- package/dist/model/TestResultV2ShortModel.js +1 -1
- package/dist/model/TestResultsExtractionApiModel.js +1 -1
- package/dist/model/TestResultsFilterApiModel.js +1 -1
- package/dist/model/TestResultsLocalFilterModel.js +1 -1
- package/dist/model/TestResultsSelectApiModel.js +1 -1
- package/dist/model/TestResultsStatisticsApiResult.js +1 -1
- package/dist/model/TestResultsStatisticsFailureCategoriesApiResult.js +1 -1
- package/dist/model/TestResultsStatisticsStatusesApiResult.js +1 -1
- package/dist/model/TestRunAnalyticApiResult.js +1 -1
- package/dist/model/TestRunApiResult.js +1 -1
- package/dist/model/TestRunByAutoTestApiResult.js +1 -1
- package/dist/model/TestRunExtractionApiModel.js +1 -1
- package/dist/model/TestRunFilterApiModel.js +1 -1
- package/dist/model/TestRunGroupByFailureClassApiResult.js +1 -1
- package/dist/model/TestRunGroupByStatusApiResult.js +1 -1
- package/dist/model/TestRunGroupByStatusTypeApiResult.js +1 -1
- package/dist/model/TestRunLaunchOptionApiModel.js +124 -0
- 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/TestStatusApiResultCountReply.js +108 -0
- package/dist/model/TestStatusApiResultGroup.js +156 -0
- package/dist/model/TestStatusApiResultGroupedReply.js +140 -0
- package/dist/model/TestStatusApiResultIReply.js +173 -0
- package/dist/model/TestStatusApiResultReply.js +1 -1
- package/dist/model/TestStatusModel.js +1 -1
- package/dist/model/TestStatusShortApiResult.js +1 -1
- package/dist/model/TestSuiteApiResult.js +1 -1
- package/dist/model/TestSuiteChangeViewModel.js +1 -1
- package/dist/model/TestSuiteChangeViewModelChangedFieldViewModel.js +1 -1
- package/dist/model/TestSuiteHierarchyApiResult.js +1 -1
- package/dist/model/TestSuiteTestPlanApiModel.js +1 -1
- package/dist/model/TestSuiteV2GetModel.js +1 -1
- package/dist/model/TestSuiteV2PostModel.js +1 -1
- package/dist/model/TestSuiteV2PutModel.js +1 -1
- package/dist/model/TestSuiteWithChildrenModel.js +1 -1
- package/dist/model/TestSuiteWorkItemsSearchModel.js +6 -6
- 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 +7 -5
- package/dist/model/UpdateMultipleAttachmentsApiModel.js +1 -1
- package/dist/model/UpdateMultipleLinksApiModel.js +1 -1
- package/dist/model/UpdateMultipleTagsApiModel.js +1 -1
- package/dist/model/UpdateMultipleTestRunsApiModel.js +1 -1
- package/dist/model/UpdateParameterApiModel.js +1 -1
- package/dist/model/UpdateProjectApiModel.js +1 -1
- package/dist/model/UpdateStepApiModel.js +1 -1
- package/dist/model/UpdateTagApiModel.js +1 -1
- package/dist/model/UpdateTestPlanApiModel.js +1 -1
- package/dist/model/UpdateTestStatusApiModel.js +1 -1
- package/dist/model/UpdateWorkItemApiModel.js +123 -143
- package/dist/model/UpdateWorkItemCommentApiModel.js +1 -1
- package/dist/model/UpdateWorkflowApiModel.js +1 -1
- package/dist/model/UserCustomNameValidationResponse.js +1 -1
- package/dist/model/UserNameApiResult.js +1 -1
- package/dist/model/ValidationProblemDetails.js +1 -1
- package/dist/model/WebHookModel.js +1 -1
- package/dist/model/WebHookPostModel.js +1 -1
- package/dist/model/WebHookTestModel.js +1 -1
- package/dist/model/WebhookBulkUpdateApiModel.js +1 -1
- package/dist/model/WebhookLogApiResult.js +1 -1
- package/dist/model/WebhookResponse.js +1 -1
- package/dist/model/WebhooksDeleteApiModel.js +1 -1
- package/dist/model/WebhooksDeleteFilterApiModel.js +1 -1
- package/dist/model/WebhooksExtractionApiModel.js +1 -1
- package/dist/model/WebhooksFilterApiModel.js +1 -1
- package/dist/model/WebhooksUpdateApiModel.js +1 -1
- package/dist/model/WebhooksUpdateApiResult.js +1 -1
- package/dist/model/WorkItemApiResult.js +1 -1
- package/dist/model/WorkItemChangeModel.js +1 -1
- package/dist/model/WorkItemChangedAttributeViewModel.js +1 -1
- package/dist/model/WorkItemChangedFieldsViewModel.js +21 -5
- package/dist/model/WorkItemCommentApiResult.js +1 -1
- package/dist/model/WorkItemExternalMetadataFieldFilterApiModel.js +1 -1
- package/dist/model/WorkItemExternalMetadataFieldFilterModel.js +1 -1
- package/dist/model/WorkItemExternalMetadataFilterApiModel.js +1 -1
- package/dist/model/WorkItemExternalMetadataFilterModel.js +1 -1
- package/dist/model/WorkItemExtractionApiModel.js +1 -1
- package/dist/model/WorkItemExtractionModel.js +1 -1
- package/dist/model/WorkItemFilterApiModel.js +17 -4
- package/dist/model/WorkItemFilterModel.js +4 -4
- package/dist/model/WorkItemGroupGetModel.js +1 -1
- package/dist/model/WorkItemGroupModel.js +1 -1
- package/dist/model/WorkItemIdApiModel.js +1 -1
- package/dist/model/WorkItemIndexApiResult.js +1 -1
- package/dist/model/{GlobalSearchItemResult.js → WorkItemLayerApiResult.js} +32 -64
- package/dist/model/WorkItemLikeModel.js +1 -1
- package/dist/model/WorkItemLinkChangeViewModel.js +1 -1
- package/dist/model/WorkItemLinkChangeViewModelArrayChangedFieldViewModel.js +1 -1
- package/dist/model/WorkItemLinkExtractionApiModel.js +1 -1
- package/dist/model/WorkItemLinkFilterApiModel.js +1 -1
- package/dist/model/WorkItemLinkFilterModel.js +1 -1
- package/dist/model/WorkItemLinkUrlApiModel.js +1 -1
- package/dist/model/WorkItemLinkUrlApiResult.js +1 -1
- package/dist/model/WorkItemLinkUrlFilterApiModel.js +4 -4
- package/dist/model/WorkItemLocalFilterModel.js +4 -4
- package/dist/model/WorkItemLocalSelectModel.js +1 -1
- package/dist/model/WorkItemModel.js +37 -37
- package/dist/model/WorkItemMovePostModel.js +1 -1
- package/dist/model/WorkItemParameterKeyApiModel.js +1 -1
- package/dist/model/WorkItemParameterKeyApiResult.js +1 -1
- package/dist/model/WorkItemParameterKeyModel.js +1 -1
- package/dist/model/WorkItemPreviewApiModel.js +1 -1
- package/dist/model/WorkItemPreviewStepApiModel.js +1 -1
- package/dist/model/WorkItemSearchQueryModel.js +4 -4
- package/dist/model/WorkItemSelectApiModel.js +1 -1
- package/dist/model/WorkItemSelectModel.js +1 -1
- package/dist/model/WorkItemShortApiResult.js +16 -1
- package/dist/model/WorkItemShortModel.js +5 -8
- package/dist/model/WorkItemStepChangeViewModel.js +1 -1
- package/dist/model/WorkItemStepChangeViewModelArrayChangedFieldWithDiffsViewModel.js +1 -1
- package/dist/model/{WorkItemEntityTypes.js → WorkItemTypeModel.js} +7 -7
- package/dist/model/WorkItemUpdatingFieldsApiModel.js +1 -1
- package/dist/model/WorkItemUpdatingFieldsApiResult.js +1 -1
- package/dist/model/WorkItemVersionModel.js +1 -1
- package/dist/model/WorkflowApiResult.js +1 -1
- package/dist/model/WorkflowExistsByNameApiResult.js +1 -1
- package/dist/model/WorkflowProjectApiResult.js +1 -1
- package/dist/model/WorkflowProjectApiResultApiCollectionPreview.js +1 -1
- package/dist/model/WorkflowProjectApiResultCountReply.js +108 -0
- package/dist/model/WorkflowProjectApiResultGroup.js +156 -0
- package/dist/model/WorkflowProjectApiResultGroupedReply.js +140 -0
- package/dist/model/WorkflowProjectApiResultIReply.js +173 -0
- package/dist/model/WorkflowProjectApiResultReply.js +1 -1
- package/dist/model/WorkflowShortApiResult.js +1 -1
- package/dist/model/WorkflowShortApiResultCountReply.js +108 -0
- package/dist/model/WorkflowShortApiResultGroup.js +156 -0
- package/dist/model/WorkflowShortApiResultGroupedReply.js +140 -0
- package/dist/model/WorkflowShortApiResultIReply.js +173 -0
- package/dist/model/WorkflowShortApiResultReply.js +1 -1
- package/dist/model/WorkflowStatusApiModel.js +1 -1
- package/dist/model/WorkflowStatusApiResult.js +1 -1
- package/index.d.ts +4797 -2651
- package/package.json +1 -1
- package/dist/api/RolesApi.js +0 -76
- package/dist/api/SearchApi.js +0 -82
- package/dist/api/UserRoleAssignmentsApi.js +0 -134
- package/dist/model/CreateUserApiModel.js +0 -204
- package/dist/model/CustomAttributeGetModel.js +0 -217
- package/dist/model/UserApiModel.js +0 -194
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _CompositeFilter = _interopRequireDefault(require("./CompositeFilter"));
|
|
9
|
+
var _TestRunLaunchOptionApiModel = _interopRequireDefault(require("./TestRunLaunchOptionApiModel"));
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
12
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
13
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
14
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
15
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
16
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
17
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
18
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
20
|
+
* API
|
|
21
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
22
|
+
*
|
|
23
|
+
* The version of the OpenAPI document: v2.0
|
|
24
|
+
*
|
|
25
|
+
*
|
|
26
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
27
|
+
* https://openapi-generator.tech
|
|
28
|
+
* Do not edit the class manually.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
/**
|
|
32
|
+
* The CreateTestRunAndFillByAutoTestCasesApiModel model module.
|
|
33
|
+
* @module model/CreateTestRunAndFillByAutoTestCasesApiModel
|
|
34
|
+
* @version 7.2.7
|
|
35
|
+
*/
|
|
36
|
+
var CreateTestRunAndFillByAutoTestCasesApiModel = /*#__PURE__*/function () {
|
|
37
|
+
/**
|
|
38
|
+
* Constructs a new <code>CreateTestRunAndFillByAutoTestCasesApiModel</code>.
|
|
39
|
+
* @alias module:model/CreateTestRunAndFillByAutoTestCasesApiModel
|
|
40
|
+
* @param projectId {String} Specifies the GUID of the project, in which a test run will be created.
|
|
41
|
+
* @param configurationIds {Array.<String>} Specifies the configuration GUIDs, from which test points are created. You can specify several GUIDs.
|
|
42
|
+
* @param option {module:model/TestRunLaunchOptionApiModel} Specifies the test run launch options.
|
|
43
|
+
*/
|
|
44
|
+
function CreateTestRunAndFillByAutoTestCasesApiModel(projectId, configurationIds, option) {
|
|
45
|
+
_classCallCheck(this, CreateTestRunAndFillByAutoTestCasesApiModel);
|
|
46
|
+
CreateTestRunAndFillByAutoTestCasesApiModel.initialize(this, projectId, configurationIds, option);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Initializes the fields of this object.
|
|
51
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
52
|
+
* Only for internal use.
|
|
53
|
+
*/
|
|
54
|
+
return _createClass(CreateTestRunAndFillByAutoTestCasesApiModel, null, [{
|
|
55
|
+
key: "initialize",
|
|
56
|
+
value: function initialize(obj, projectId, configurationIds, option) {
|
|
57
|
+
obj['projectId'] = projectId;
|
|
58
|
+
obj['configurationIds'] = configurationIds;
|
|
59
|
+
obj['option'] = option;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Constructs a <code>CreateTestRunAndFillByAutoTestCasesApiModel</code> from a plain JavaScript object, optionally creating a new instance.
|
|
64
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
65
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
66
|
+
* @param {module:model/CreateTestRunAndFillByAutoTestCasesApiModel} obj Optional instance to populate.
|
|
67
|
+
* @return {module:model/CreateTestRunAndFillByAutoTestCasesApiModel} The populated <code>CreateTestRunAndFillByAutoTestCasesApiModel</code> instance.
|
|
68
|
+
*/
|
|
69
|
+
}, {
|
|
70
|
+
key: "constructFromObject",
|
|
71
|
+
value: function constructFromObject(data, obj) {
|
|
72
|
+
if (data) {
|
|
73
|
+
obj = obj || new CreateTestRunAndFillByAutoTestCasesApiModel();
|
|
74
|
+
if (data.hasOwnProperty('projectId')) {
|
|
75
|
+
obj['projectId'] = _ApiClient["default"].convertToType(data['projectId'], 'String');
|
|
76
|
+
}
|
|
77
|
+
if (data.hasOwnProperty('filter')) {
|
|
78
|
+
obj['filter'] = _ApiClient["default"].convertToType(data['filter'], _CompositeFilter["default"]);
|
|
79
|
+
}
|
|
80
|
+
if (data.hasOwnProperty('name')) {
|
|
81
|
+
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
|
|
82
|
+
}
|
|
83
|
+
if (data.hasOwnProperty('configurationIds')) {
|
|
84
|
+
obj['configurationIds'] = _ApiClient["default"].convertToType(data['configurationIds'], ['String']);
|
|
85
|
+
}
|
|
86
|
+
if (data.hasOwnProperty('description')) {
|
|
87
|
+
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
88
|
+
}
|
|
89
|
+
if (data.hasOwnProperty('launchSource')) {
|
|
90
|
+
obj['launchSource'] = _ApiClient["default"].convertToType(data['launchSource'], 'String');
|
|
91
|
+
}
|
|
92
|
+
if (data.hasOwnProperty('option')) {
|
|
93
|
+
obj['option'] = _ApiClient["default"].convertToType(data['option'], _TestRunLaunchOptionApiModel["default"]);
|
|
94
|
+
}
|
|
95
|
+
if (data.hasOwnProperty('tags')) {
|
|
96
|
+
obj['tags'] = _ApiClient["default"].convertToType(data['tags'], ['String']);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
return obj;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Validates the JSON data with respect to <code>CreateTestRunAndFillByAutoTestCasesApiModel</code>.
|
|
104
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
105
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>CreateTestRunAndFillByAutoTestCasesApiModel</code>.
|
|
106
|
+
*/
|
|
107
|
+
}, {
|
|
108
|
+
key: "validateJSON",
|
|
109
|
+
value: function validateJSON(data) {
|
|
110
|
+
// check to make sure all required properties are present in the JSON string
|
|
111
|
+
var _iterator = _createForOfIteratorHelper(CreateTestRunAndFillByAutoTestCasesApiModel.RequiredProperties),
|
|
112
|
+
_step;
|
|
113
|
+
try {
|
|
114
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
115
|
+
var property = _step.value;
|
|
116
|
+
if (!data.hasOwnProperty(property)) {
|
|
117
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
// ensure the json data is a string
|
|
121
|
+
} catch (err) {
|
|
122
|
+
_iterator.e(err);
|
|
123
|
+
} finally {
|
|
124
|
+
_iterator.f();
|
|
125
|
+
}
|
|
126
|
+
if (data['projectId'] && !(typeof data['projectId'] === 'string' || data['projectId'] instanceof String)) {
|
|
127
|
+
throw new Error("Expected the field `projectId` to be a primitive type in the JSON string but got " + data['projectId']);
|
|
128
|
+
}
|
|
129
|
+
// validate the optional field `filter`
|
|
130
|
+
if (data['filter']) {
|
|
131
|
+
// data not null
|
|
132
|
+
_CompositeFilter["default"].validateJSON(data['filter']);
|
|
133
|
+
}
|
|
134
|
+
// ensure the json data is a string
|
|
135
|
+
if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
136
|
+
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
|
|
137
|
+
}
|
|
138
|
+
// ensure the json data is an array
|
|
139
|
+
if (!Array.isArray(data['configurationIds'])) {
|
|
140
|
+
throw new Error("Expected the field `configurationIds` to be an array in the JSON data but got " + data['configurationIds']);
|
|
141
|
+
}
|
|
142
|
+
// ensure the json data is a string
|
|
143
|
+
if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
|
|
144
|
+
throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
|
|
145
|
+
}
|
|
146
|
+
// ensure the json data is a string
|
|
147
|
+
if (data['launchSource'] && !(typeof data['launchSource'] === 'string' || data['launchSource'] instanceof String)) {
|
|
148
|
+
throw new Error("Expected the field `launchSource` to be a primitive type in the JSON string but got " + data['launchSource']);
|
|
149
|
+
}
|
|
150
|
+
// validate the optional field `option`
|
|
151
|
+
if (data['option']) {
|
|
152
|
+
// data not null
|
|
153
|
+
_TestRunLaunchOptionApiModel["default"].validateJSON(data['option']);
|
|
154
|
+
}
|
|
155
|
+
// ensure the json data is an array
|
|
156
|
+
if (!Array.isArray(data['tags'])) {
|
|
157
|
+
throw new Error("Expected the field `tags` to be an array in the JSON data but got " + data['tags']);
|
|
158
|
+
}
|
|
159
|
+
return true;
|
|
160
|
+
}
|
|
161
|
+
}]);
|
|
162
|
+
}();
|
|
163
|
+
CreateTestRunAndFillByAutoTestCasesApiModel.RequiredProperties = ["projectId", "configurationIds", "option"];
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Specifies the GUID of the project, in which a test run will be created.
|
|
167
|
+
* @member {String} projectId
|
|
168
|
+
*/
|
|
169
|
+
CreateTestRunAndFillByAutoTestCasesApiModel.prototype['projectId'] = undefined;
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Specifies the filter for selecting autotests, from which test points are created.
|
|
173
|
+
* @member {module:model/CompositeFilter} filter
|
|
174
|
+
*/
|
|
175
|
+
CreateTestRunAndFillByAutoTestCasesApiModel.prototype['filter'] = undefined;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* Specifies the name of the test run.
|
|
179
|
+
* @member {String} name
|
|
180
|
+
*/
|
|
181
|
+
CreateTestRunAndFillByAutoTestCasesApiModel.prototype['name'] = undefined;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Specifies the configuration GUIDs, from which test points are created. You can specify several GUIDs.
|
|
185
|
+
* @member {Array.<String>} configurationIds
|
|
186
|
+
*/
|
|
187
|
+
CreateTestRunAndFillByAutoTestCasesApiModel.prototype['configurationIds'] = undefined;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Specifies the test run description.
|
|
191
|
+
* @member {String} description
|
|
192
|
+
*/
|
|
193
|
+
CreateTestRunAndFillByAutoTestCasesApiModel.prototype['description'] = undefined;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Specifies the test run launch source.
|
|
197
|
+
* @member {String} launchSource
|
|
198
|
+
*/
|
|
199
|
+
CreateTestRunAndFillByAutoTestCasesApiModel.prototype['launchSource'] = undefined;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Specifies the test run launch options.
|
|
203
|
+
* @member {module:model/TestRunLaunchOptionApiModel} option
|
|
204
|
+
*/
|
|
205
|
+
CreateTestRunAndFillByAutoTestCasesApiModel.prototype['option'] = undefined;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Collection of tags to assign to the test run
|
|
209
|
+
* @member {Array.<String>} tags
|
|
210
|
+
*/
|
|
211
|
+
CreateTestRunAndFillByAutoTestCasesApiModel.prototype['tags'] = undefined;
|
|
212
|
+
var _default = exports["default"] = CreateTestRunAndFillByAutoTestCasesApiModel;
|
|
@@ -7,6 +7,7 @@ exports["default"] = void 0;
|
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _AssignAttachmentApiModel = _interopRequireDefault(require("./AssignAttachmentApiModel"));
|
|
9
9
|
var _CreateLinkApiModel = _interopRequireDefault(require("./CreateLinkApiModel"));
|
|
10
|
+
var _TestRunLaunchOptionApiModel = _interopRequireDefault(require("./TestRunLaunchOptionApiModel"));
|
|
10
11
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
12
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
12
13
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
@@ -31,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
32
|
/**
|
|
32
33
|
* The CreateTestRunAndFillByAutoTestsApiModel model module.
|
|
33
34
|
* @module model/CreateTestRunAndFillByAutoTestsApiModel
|
|
34
|
-
* @version 7.2.
|
|
35
|
+
* @version 7.2.7
|
|
35
36
|
*/
|
|
36
37
|
var CreateTestRunAndFillByAutoTestsApiModel = /*#__PURE__*/function () {
|
|
37
38
|
/**
|
|
@@ -98,6 +99,9 @@ var CreateTestRunAndFillByAutoTestsApiModel = /*#__PURE__*/function () {
|
|
|
98
99
|
if (data.hasOwnProperty('tags')) {
|
|
99
100
|
obj['tags'] = _ApiClient["default"].convertToType(data['tags'], ['String']);
|
|
100
101
|
}
|
|
102
|
+
if (data.hasOwnProperty('option')) {
|
|
103
|
+
obj['option'] = _ApiClient["default"].convertToType(data['option'], _TestRunLaunchOptionApiModel["default"]);
|
|
104
|
+
}
|
|
101
105
|
}
|
|
102
106
|
return obj;
|
|
103
107
|
}
|
|
@@ -195,6 +199,11 @@ var CreateTestRunAndFillByAutoTestsApiModel = /*#__PURE__*/function () {
|
|
|
195
199
|
if (!Array.isArray(data['tags'])) {
|
|
196
200
|
throw new Error("Expected the field `tags` to be an array in the JSON data but got " + data['tags']);
|
|
197
201
|
}
|
|
202
|
+
// validate the optional field `option`
|
|
203
|
+
if (data['option']) {
|
|
204
|
+
// data not null
|
|
205
|
+
_TestRunLaunchOptionApiModel["default"].validateJSON(data['option']);
|
|
206
|
+
}
|
|
198
207
|
return true;
|
|
199
208
|
}
|
|
200
209
|
}]);
|
|
@@ -254,4 +263,10 @@ CreateTestRunAndFillByAutoTestsApiModel.prototype['links'] = undefined;
|
|
|
254
263
|
* @member {Array.<String>} tags
|
|
255
264
|
*/
|
|
256
265
|
CreateTestRunAndFillByAutoTestsApiModel.prototype['tags'] = undefined;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Test run launching options.
|
|
269
|
+
* @member {module:model/TestRunLaunchOptionApiModel} option
|
|
270
|
+
*/
|
|
271
|
+
CreateTestRunAndFillByAutoTestsApiModel.prototype['option'] = undefined;
|
|
257
272
|
var _default = exports["default"] = CreateTestRunAndFillByAutoTestsApiModel;
|
|
@@ -8,6 +8,7 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
|
8
8
|
var _AssignAttachmentApiModel = _interopRequireDefault(require("./AssignAttachmentApiModel"));
|
|
9
9
|
var _CreateLinkApiModel = _interopRequireDefault(require("./CreateLinkApiModel"));
|
|
10
10
|
var _TestPointSelector = _interopRequireDefault(require("./TestPointSelector"));
|
|
11
|
+
var _TestRunLaunchOptionApiModel = _interopRequireDefault(require("./TestRunLaunchOptionApiModel"));
|
|
11
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
13
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
13
14
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
@@ -32,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
33
|
/**
|
|
33
34
|
* The CreateTestRunAndFillByConfigurationsApiModel model module.
|
|
34
35
|
* @module model/CreateTestRunAndFillByConfigurationsApiModel
|
|
35
|
-
* @version 7.2.
|
|
36
|
+
* @version 7.2.7
|
|
36
37
|
*/
|
|
37
38
|
var CreateTestRunAndFillByConfigurationsApiModel = /*#__PURE__*/function () {
|
|
38
39
|
/**
|
|
@@ -99,6 +100,9 @@ var CreateTestRunAndFillByConfigurationsApiModel = /*#__PURE__*/function () {
|
|
|
99
100
|
if (data.hasOwnProperty('testPointSelectors')) {
|
|
100
101
|
obj['testPointSelectors'] = _ApiClient["default"].convertToType(data['testPointSelectors'], [_TestPointSelector["default"]]);
|
|
101
102
|
}
|
|
103
|
+
if (data.hasOwnProperty('option')) {
|
|
104
|
+
obj['option'] = _ApiClient["default"].convertToType(data['option'], _TestRunLaunchOptionApiModel["default"]);
|
|
105
|
+
}
|
|
102
106
|
}
|
|
103
107
|
return obj;
|
|
104
108
|
}
|
|
@@ -213,6 +217,11 @@ var CreateTestRunAndFillByConfigurationsApiModel = /*#__PURE__*/function () {
|
|
|
213
217
|
}
|
|
214
218
|
;
|
|
215
219
|
}
|
|
220
|
+
// validate the optional field `option`
|
|
221
|
+
if (data['option']) {
|
|
222
|
+
// data not null
|
|
223
|
+
_TestRunLaunchOptionApiModel["default"].validateJSON(data['option']);
|
|
224
|
+
}
|
|
216
225
|
return true;
|
|
217
226
|
}
|
|
218
227
|
}]);
|
|
@@ -272,4 +281,10 @@ CreateTestRunAndFillByConfigurationsApiModel.prototype['tags'] = undefined;
|
|
|
272
281
|
* @member {Array.<module:model/TestPointSelector>} testPointSelectors
|
|
273
282
|
*/
|
|
274
283
|
CreateTestRunAndFillByConfigurationsApiModel.prototype['testPointSelectors'] = undefined;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* Test run launching options.
|
|
287
|
+
* @member {module:model/TestRunLaunchOptionApiModel} option
|
|
288
|
+
*/
|
|
289
|
+
CreateTestRunAndFillByConfigurationsApiModel.prototype['option'] = undefined;
|
|
275
290
|
var _default = exports["default"] = CreateTestRunAndFillByConfigurationsApiModel;
|
|
@@ -7,6 +7,7 @@ exports["default"] = void 0;
|
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _AssignAttachmentApiModel = _interopRequireDefault(require("./AssignAttachmentApiModel"));
|
|
9
9
|
var _CreateLinkApiModel = _interopRequireDefault(require("./CreateLinkApiModel"));
|
|
10
|
+
var _TestRunLaunchOptionApiModel = _interopRequireDefault(require("./TestRunLaunchOptionApiModel"));
|
|
10
11
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
12
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
12
13
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
@@ -31,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
32
|
/**
|
|
32
33
|
* The CreateTestRunAndFillByWorkItemsApiModel model module.
|
|
33
34
|
* @module model/CreateTestRunAndFillByWorkItemsApiModel
|
|
34
|
-
* @version 7.2.
|
|
35
|
+
* @version 7.2.7
|
|
35
36
|
*/
|
|
36
37
|
var CreateTestRunAndFillByWorkItemsApiModel = /*#__PURE__*/function () {
|
|
37
38
|
/**
|
|
@@ -103,6 +104,9 @@ var CreateTestRunAndFillByWorkItemsApiModel = /*#__PURE__*/function () {
|
|
|
103
104
|
if (data.hasOwnProperty('workItemIds')) {
|
|
104
105
|
obj['workItemIds'] = _ApiClient["default"].convertToType(data['workItemIds'], ['String']);
|
|
105
106
|
}
|
|
107
|
+
if (data.hasOwnProperty('option')) {
|
|
108
|
+
obj['option'] = _ApiClient["default"].convertToType(data['option'], _TestRunLaunchOptionApiModel["default"]);
|
|
109
|
+
}
|
|
106
110
|
}
|
|
107
111
|
return obj;
|
|
108
112
|
}
|
|
@@ -204,6 +208,11 @@ var CreateTestRunAndFillByWorkItemsApiModel = /*#__PURE__*/function () {
|
|
|
204
208
|
if (!Array.isArray(data['workItemIds'])) {
|
|
205
209
|
throw new Error("Expected the field `workItemIds` to be an array in the JSON data but got " + data['workItemIds']);
|
|
206
210
|
}
|
|
211
|
+
// validate the optional field `option`
|
|
212
|
+
if (data['option']) {
|
|
213
|
+
// data not null
|
|
214
|
+
_TestRunLaunchOptionApiModel["default"].validateJSON(data['option']);
|
|
215
|
+
}
|
|
207
216
|
return true;
|
|
208
217
|
}
|
|
209
218
|
}]);
|
|
@@ -269,4 +278,10 @@ CreateTestRunAndFillByWorkItemsApiModel.prototype['configurationIds'] = undefine
|
|
|
269
278
|
* @member {Array.<String>} workItemIds
|
|
270
279
|
*/
|
|
271
280
|
CreateTestRunAndFillByWorkItemsApiModel.prototype['workItemIds'] = undefined;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Test run launching options.
|
|
284
|
+
* @member {module:model/TestRunLaunchOptionApiModel} option
|
|
285
|
+
*/
|
|
286
|
+
CreateTestRunAndFillByWorkItemsApiModel.prototype['option'] = undefined;
|
|
272
287
|
var _default = exports["default"] = CreateTestRunAndFillByWorkItemsApiModel;
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The CreateTestStatusApiModel model module.
|
|
32
32
|
* @module model/CreateTestStatusApiModel
|
|
33
|
-
* @version 7.2.
|
|
33
|
+
* @version 7.2.7
|
|
34
34
|
*/
|
|
35
35
|
var CreateTestStatusApiModel = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -39,7 +39,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
39
39
|
/**
|
|
40
40
|
* The CreateWorkItemApiModel model module.
|
|
41
41
|
* @module model/CreateWorkItemApiModel
|
|
42
|
-
* @version 7.2.
|
|
42
|
+
* @version 7.2.7
|
|
43
43
|
*/
|
|
44
44
|
var CreateWorkItemApiModel = /*#__PURE__*/function () {
|
|
45
45
|
/**
|
|
@@ -49,18 +49,12 @@ var CreateWorkItemApiModel = /*#__PURE__*/function () {
|
|
|
49
49
|
* @param name {String} Name of the work item
|
|
50
50
|
* @param entityTypeName {module:model/WorkItemEntityTypeApiModel} Type of entity associated with this work item
|
|
51
51
|
* @param duration {Number} Duration of the work item in milliseconds
|
|
52
|
-
* @param state {module:model/WorkItemStateApiModel}
|
|
53
|
-
* @param priority {module:model/WorkItemPriorityApiModel} Priority level
|
|
54
|
-
* @param attributes {Object.<String, Object>} Set of custom attributes associated with the work item
|
|
55
|
-
* @param tags {Array.<module:model/TagModel>} Set of tags applied to the work item
|
|
56
|
-
* @param preconditionSteps {Array.<module:model/CreateStepApiModel>} Set of precondition steps that need to be executed before starting the main steps
|
|
57
|
-
* @param steps {Array.<module:model/CreateStepApiModel>} Main steps or actions defined for the work item
|
|
58
|
-
* @param postconditionSteps {Array.<module:model/CreateStepApiModel>} Set of postcondition steps that are executed after completing the main steps
|
|
59
|
-
* @param links {Array.<module:model/CreateLinkApiModel>} Set of links related to the work item
|
|
52
|
+
* @param state {module:model/WorkItemStateApiModel} Current state of the work item
|
|
53
|
+
* @param priority {module:model/WorkItemPriorityApiModel} Priority level assigned to the work item
|
|
60
54
|
*/
|
|
61
|
-
function CreateWorkItemApiModel(projectId, name, entityTypeName, duration, state, priority
|
|
55
|
+
function CreateWorkItemApiModel(projectId, name, entityTypeName, duration, state, priority) {
|
|
62
56
|
_classCallCheck(this, CreateWorkItemApiModel);
|
|
63
|
-
CreateWorkItemApiModel.initialize(this, projectId, name, entityTypeName, duration, state, priority
|
|
57
|
+
CreateWorkItemApiModel.initialize(this, projectId, name, entityTypeName, duration, state, priority);
|
|
64
58
|
}
|
|
65
59
|
|
|
66
60
|
/**
|
|
@@ -70,19 +64,13 @@ var CreateWorkItemApiModel = /*#__PURE__*/function () {
|
|
|
70
64
|
*/
|
|
71
65
|
return _createClass(CreateWorkItemApiModel, null, [{
|
|
72
66
|
key: "initialize",
|
|
73
|
-
value: function initialize(obj, projectId, name, entityTypeName, duration, state, priority
|
|
67
|
+
value: function initialize(obj, projectId, name, entityTypeName, duration, state, priority) {
|
|
74
68
|
obj['projectId'] = projectId;
|
|
75
69
|
obj['name'] = name;
|
|
76
70
|
obj['entityTypeName'] = entityTypeName;
|
|
77
71
|
obj['duration'] = duration;
|
|
78
72
|
obj['state'] = state;
|
|
79
73
|
obj['priority'] = priority;
|
|
80
|
-
obj['attributes'] = attributes;
|
|
81
|
-
obj['tags'] = tags;
|
|
82
|
-
obj['preconditionSteps'] = preconditionSteps;
|
|
83
|
-
obj['steps'] = steps;
|
|
84
|
-
obj['postconditionSteps'] = postconditionSteps;
|
|
85
|
-
obj['links'] = links;
|
|
86
74
|
}
|
|
87
75
|
|
|
88
76
|
/**
|
|
@@ -389,7 +377,7 @@ var CreateWorkItemApiModel = /*#__PURE__*/function () {
|
|
|
389
377
|
}
|
|
390
378
|
}]);
|
|
391
379
|
}();
|
|
392
|
-
CreateWorkItemApiModel.RequiredProperties = ["projectId", "name", "entityTypeName", "duration", "state", "priority"
|
|
380
|
+
CreateWorkItemApiModel.RequiredProperties = ["projectId", "name", "entityTypeName", "duration", "state", "priority"];
|
|
393
381
|
|
|
394
382
|
/**
|
|
395
383
|
* Unique identifier of the project
|
|
@@ -428,13 +416,13 @@ CreateWorkItemApiModel.prototype['entityTypeName'] = undefined;
|
|
|
428
416
|
CreateWorkItemApiModel.prototype['duration'] = undefined;
|
|
429
417
|
|
|
430
418
|
/**
|
|
431
|
-
*
|
|
419
|
+
* Current state of the work item
|
|
432
420
|
* @member {module:model/WorkItemStateApiModel} state
|
|
433
421
|
*/
|
|
434
422
|
CreateWorkItemApiModel.prototype['state'] = undefined;
|
|
435
423
|
|
|
436
424
|
/**
|
|
437
|
-
* Priority level
|
|
425
|
+
* Priority level assigned to the work item
|
|
438
426
|
* @member {module:model/WorkItemPriorityApiModel} priority
|
|
439
427
|
*/
|
|
440
428
|
CreateWorkItemApiModel.prototype['priority'] = undefined;
|
|
@@ -452,13 +440,13 @@ CreateWorkItemApiModel.prototype['attributes'] = undefined;
|
|
|
452
440
|
CreateWorkItemApiModel.prototype['tags'] = undefined;
|
|
453
441
|
|
|
454
442
|
/**
|
|
455
|
-
* Set of precondition steps that
|
|
443
|
+
* Set of precondition steps that must be executed before the main steps
|
|
456
444
|
* @member {Array.<module:model/CreateStepApiModel>} preconditionSteps
|
|
457
445
|
*/
|
|
458
446
|
CreateWorkItemApiModel.prototype['preconditionSteps'] = undefined;
|
|
459
447
|
|
|
460
448
|
/**
|
|
461
|
-
*
|
|
449
|
+
* Set of main steps or actions defined for the work item
|
|
462
450
|
* @member {Array.<module:model/CreateStepApiModel>} steps
|
|
463
451
|
*/
|
|
464
452
|
CreateWorkItemApiModel.prototype['steps'] = undefined;
|
|
@@ -470,19 +458,19 @@ CreateWorkItemApiModel.prototype['steps'] = undefined;
|
|
|
470
458
|
CreateWorkItemApiModel.prototype['postconditionSteps'] = undefined;
|
|
471
459
|
|
|
472
460
|
/**
|
|
473
|
-
*
|
|
461
|
+
* Set of iterations associated with the work item
|
|
474
462
|
* @member {Array.<module:model/AssignIterationApiModel>} iterations
|
|
475
463
|
*/
|
|
476
464
|
CreateWorkItemApiModel.prototype['iterations'] = undefined;
|
|
477
465
|
|
|
478
466
|
/**
|
|
479
|
-
*
|
|
467
|
+
* Set of automated tests linked to the work item
|
|
480
468
|
* @member {Array.<module:model/AutoTestIdModel>} autoTests
|
|
481
469
|
*/
|
|
482
470
|
CreateWorkItemApiModel.prototype['autoTests'] = undefined;
|
|
483
471
|
|
|
484
472
|
/**
|
|
485
|
-
*
|
|
473
|
+
* Set of files attached to the work item
|
|
486
474
|
* @member {Array.<module:model/AssignAttachmentApiModel>} attachments
|
|
487
475
|
*/
|
|
488
476
|
CreateWorkItemApiModel.prototype['attachments'] = undefined;
|
|
@@ -494,7 +482,7 @@ CreateWorkItemApiModel.prototype['attachments'] = undefined;
|
|
|
494
482
|
CreateWorkItemApiModel.prototype['links'] = undefined;
|
|
495
483
|
|
|
496
484
|
/**
|
|
497
|
-
* Set of parameter keys
|
|
485
|
+
* Set of parameter keys associated with the work item
|
|
498
486
|
* @member {Array.<module:model/WorkItemParameterKeyApiModel>} parameters
|
|
499
487
|
*/
|
|
500
488
|
CreateWorkItemApiModel.prototype['parameters'] = undefined;
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CreateWorkItemCommentApiModel model module.
|
|
31
31
|
* @module model/CreateWorkItemCommentApiModel
|
|
32
|
-
* @version 7.2.
|
|
32
|
+
* @version 7.2.7
|
|
33
33
|
*/
|
|
34
34
|
var CreateWorkItemCommentApiModel = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The CreateWorkItemPreviewsApiModel model module.
|
|
33
33
|
* @module model/CreateWorkItemPreviewsApiModel
|
|
34
|
-
* @version 7.2.
|
|
34
|
+
* @version 7.2.7
|
|
35
35
|
*/
|
|
36
36
|
var CreateWorkItemPreviewsApiModel = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The CreateWorkflowApiModel model module.
|
|
32
32
|
* @module model/CreateWorkflowApiModel
|
|
33
|
-
* @version 7.2.
|
|
33
|
+
* @version 7.2.7
|
|
34
34
|
*/
|
|
35
35
|
var CreateWorkflowApiModel = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The CustomAttributeApiResult model module.
|
|
33
33
|
* @module model/CustomAttributeApiResult
|
|
34
|
-
* @version 7.2.
|
|
34
|
+
* @version 7.2.7
|
|
35
35
|
*/
|
|
36
36
|
var CustomAttributeApiResult = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -44,11 +44,14 @@ var CustomAttributeApiResult = /*#__PURE__*/function () {
|
|
|
44
44
|
* @param name {String} Name of the attribute
|
|
45
45
|
* @param isEnabled {Boolean} Indicates if the attribute is enabled
|
|
46
46
|
* @param isRequired {Boolean} Indicates if the attribute value is mandatory to specify
|
|
47
|
+
* @param isReadOnly {Boolean} Indicates if the attribute value is read-only
|
|
47
48
|
* @param isGlobal {Boolean} Indicates if the attribute is available across all projects
|
|
49
|
+
* @param isSystem {Boolean} Indicates if the attribute is system
|
|
50
|
+
* @param targets {Array.<String>} Collection of the attribute targets Defines where the attribute can be used (e.g., TestCases, AutoTestCases, TestPlans)
|
|
48
51
|
*/
|
|
49
|
-
function CustomAttributeApiResult(id, options, type, isDeleted, name, isEnabled, isRequired, isGlobal) {
|
|
52
|
+
function CustomAttributeApiResult(id, options, type, isDeleted, name, isEnabled, isRequired, isReadOnly, isGlobal, isSystem, targets) {
|
|
50
53
|
_classCallCheck(this, CustomAttributeApiResult);
|
|
51
|
-
CustomAttributeApiResult.initialize(this, id, options, type, isDeleted, name, isEnabled, isRequired, isGlobal);
|
|
54
|
+
CustomAttributeApiResult.initialize(this, id, options, type, isDeleted, name, isEnabled, isRequired, isReadOnly, isGlobal, isSystem, targets);
|
|
52
55
|
}
|
|
53
56
|
|
|
54
57
|
/**
|
|
@@ -58,7 +61,7 @@ var CustomAttributeApiResult = /*#__PURE__*/function () {
|
|
|
58
61
|
*/
|
|
59
62
|
return _createClass(CustomAttributeApiResult, null, [{
|
|
60
63
|
key: "initialize",
|
|
61
|
-
value: function initialize(obj, id, options, type, isDeleted, name, isEnabled, isRequired, isGlobal) {
|
|
64
|
+
value: function initialize(obj, id, options, type, isDeleted, name, isEnabled, isRequired, isReadOnly, isGlobal, isSystem, targets) {
|
|
62
65
|
obj['id'] = id;
|
|
63
66
|
obj['options'] = options;
|
|
64
67
|
obj['type'] = type;
|
|
@@ -66,7 +69,10 @@ var CustomAttributeApiResult = /*#__PURE__*/function () {
|
|
|
66
69
|
obj['name'] = name;
|
|
67
70
|
obj['isEnabled'] = isEnabled;
|
|
68
71
|
obj['isRequired'] = isRequired;
|
|
72
|
+
obj['isReadOnly'] = isReadOnly;
|
|
69
73
|
obj['isGlobal'] = isGlobal;
|
|
74
|
+
obj['isSystem'] = isSystem;
|
|
75
|
+
obj['targets'] = targets;
|
|
70
76
|
}
|
|
71
77
|
|
|
72
78
|
/**
|
|
@@ -102,9 +108,18 @@ var CustomAttributeApiResult = /*#__PURE__*/function () {
|
|
|
102
108
|
if (data.hasOwnProperty('isRequired')) {
|
|
103
109
|
obj['isRequired'] = _ApiClient["default"].convertToType(data['isRequired'], 'Boolean');
|
|
104
110
|
}
|
|
111
|
+
if (data.hasOwnProperty('isReadOnly')) {
|
|
112
|
+
obj['isReadOnly'] = _ApiClient["default"].convertToType(data['isReadOnly'], 'Boolean');
|
|
113
|
+
}
|
|
105
114
|
if (data.hasOwnProperty('isGlobal')) {
|
|
106
115
|
obj['isGlobal'] = _ApiClient["default"].convertToType(data['isGlobal'], 'Boolean');
|
|
107
116
|
}
|
|
117
|
+
if (data.hasOwnProperty('isSystem')) {
|
|
118
|
+
obj['isSystem'] = _ApiClient["default"].convertToType(data['isSystem'], 'Boolean');
|
|
119
|
+
}
|
|
120
|
+
if (data.hasOwnProperty('targets')) {
|
|
121
|
+
obj['targets'] = _ApiClient["default"].convertToType(data['targets'], ['String']);
|
|
122
|
+
}
|
|
108
123
|
}
|
|
109
124
|
return obj;
|
|
110
125
|
}
|
|
@@ -161,11 +176,15 @@ var CustomAttributeApiResult = /*#__PURE__*/function () {
|
|
|
161
176
|
if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
162
177
|
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
|
|
163
178
|
}
|
|
179
|
+
// ensure the json data is an array
|
|
180
|
+
if (!Array.isArray(data['targets'])) {
|
|
181
|
+
throw new Error("Expected the field `targets` to be an array in the JSON data but got " + data['targets']);
|
|
182
|
+
}
|
|
164
183
|
return true;
|
|
165
184
|
}
|
|
166
185
|
}]);
|
|
167
186
|
}();
|
|
168
|
-
CustomAttributeApiResult.RequiredProperties = ["id", "options", "type", "isDeleted", "name", "isEnabled", "isRequired", "isGlobal"];
|
|
187
|
+
CustomAttributeApiResult.RequiredProperties = ["id", "options", "type", "isDeleted", "name", "isEnabled", "isRequired", "isReadOnly", "isGlobal", "isSystem", "targets"];
|
|
169
188
|
|
|
170
189
|
/**
|
|
171
190
|
* Unique ID of the attribute
|
|
@@ -209,9 +228,27 @@ CustomAttributeApiResult.prototype['isEnabled'] = undefined;
|
|
|
209
228
|
*/
|
|
210
229
|
CustomAttributeApiResult.prototype['isRequired'] = undefined;
|
|
211
230
|
|
|
231
|
+
/**
|
|
232
|
+
* Indicates if the attribute value is read-only
|
|
233
|
+
* @member {Boolean} isReadOnly
|
|
234
|
+
*/
|
|
235
|
+
CustomAttributeApiResult.prototype['isReadOnly'] = undefined;
|
|
236
|
+
|
|
212
237
|
/**
|
|
213
238
|
* Indicates if the attribute is available across all projects
|
|
214
239
|
* @member {Boolean} isGlobal
|
|
215
240
|
*/
|
|
216
241
|
CustomAttributeApiResult.prototype['isGlobal'] = undefined;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Indicates if the attribute is system
|
|
245
|
+
* @member {Boolean} isSystem
|
|
246
|
+
*/
|
|
247
|
+
CustomAttributeApiResult.prototype['isSystem'] = undefined;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Collection of the attribute targets Defines where the attribute can be used (e.g., TestCases, AutoTestCases, TestPlans)
|
|
251
|
+
* @member {Array.<String>} targets
|
|
252
|
+
*/
|
|
253
|
+
CustomAttributeApiResult.prototype['targets'] = undefined;
|
|
217
254
|
var _default = exports["default"] = CustomAttributeApiResult;
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The CustomAttributeChangeModel model module.
|
|
28
28
|
* @module model/CustomAttributeChangeModel
|
|
29
|
-
* @version 7.2.
|
|
29
|
+
* @version 7.2.7
|
|
30
30
|
*/
|
|
31
31
|
var CustomAttributeChangeModel = /*#__PURE__*/function () {
|
|
32
32
|
/**
|