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
|
@@ -31,24 +31,27 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The CustomAttributeModel model module.
|
|
33
33
|
* @module model/CustomAttributeModel
|
|
34
|
-
* @version 7.2.
|
|
34
|
+
* @version 7.2.7
|
|
35
35
|
*/
|
|
36
36
|
var CustomAttributeModel = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
38
38
|
* Constructs a new <code>CustomAttributeModel</code>.
|
|
39
39
|
* @alias module:model/CustomAttributeModel
|
|
40
|
-
* @param id {String} Unique ID of the attribute
|
|
41
|
-
* @param
|
|
42
|
-
* @param
|
|
43
|
-
* @param
|
|
40
|
+
* @param id {String} Unique ID of the attribute.
|
|
41
|
+
* @param type {module:model/CustomAttributeTypesEnum} Type of the attribute.
|
|
42
|
+
* @param options {Array.<module:model/CustomAttributeOptionModel>} Collection of the attribute options.
|
|
43
|
+
* @param targets {Array.<String>} Collection of the attribute targets. Defines where the attribute can be used (e.g., TestCases, AutoTestCases, TestPlans).
|
|
44
|
+
* @param isReadOnly {Boolean} Indicates if the attribute is read-only.
|
|
45
|
+
* @param isDeleted {Boolean} Indicates if the attribute is deleted.
|
|
46
|
+
* @param isSystem {Boolean} Indicates if the attribute is system.
|
|
44
47
|
* @param name {String} Name of the attribute
|
|
45
48
|
* @param isEnabled {Boolean} Indicates if the attribute is enabled
|
|
46
49
|
* @param isRequired {Boolean} Indicates if the attribute value is mandatory to specify
|
|
47
50
|
* @param isGlobal {Boolean} Indicates if the attribute is available across all projects
|
|
48
51
|
*/
|
|
49
|
-
function CustomAttributeModel(id, options,
|
|
52
|
+
function CustomAttributeModel(id, type, options, targets, isReadOnly, isDeleted, isSystem, name, isEnabled, isRequired, isGlobal) {
|
|
50
53
|
_classCallCheck(this, CustomAttributeModel);
|
|
51
|
-
CustomAttributeModel.initialize(this, id, options,
|
|
54
|
+
CustomAttributeModel.initialize(this, id, type, options, targets, isReadOnly, isDeleted, isSystem, name, isEnabled, isRequired, isGlobal);
|
|
52
55
|
}
|
|
53
56
|
|
|
54
57
|
/**
|
|
@@ -58,11 +61,14 @@ var CustomAttributeModel = /*#__PURE__*/function () {
|
|
|
58
61
|
*/
|
|
59
62
|
return _createClass(CustomAttributeModel, null, [{
|
|
60
63
|
key: "initialize",
|
|
61
|
-
value: function initialize(obj, id, options,
|
|
64
|
+
value: function initialize(obj, id, type, options, targets, isReadOnly, isDeleted, isSystem, name, isEnabled, isRequired, isGlobal) {
|
|
62
65
|
obj['id'] = id;
|
|
63
|
-
obj['options'] = options;
|
|
64
66
|
obj['type'] = type;
|
|
67
|
+
obj['options'] = options;
|
|
68
|
+
obj['targets'] = targets;
|
|
69
|
+
obj['isReadOnly'] = isReadOnly;
|
|
65
70
|
obj['isDeleted'] = isDeleted;
|
|
71
|
+
obj['isSystem'] = isSystem;
|
|
66
72
|
obj['name'] = name;
|
|
67
73
|
obj['isEnabled'] = isEnabled;
|
|
68
74
|
obj['isRequired'] = isRequired;
|
|
@@ -84,15 +90,27 @@ var CustomAttributeModel = /*#__PURE__*/function () {
|
|
|
84
90
|
if (data.hasOwnProperty('id')) {
|
|
85
91
|
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
|
|
86
92
|
}
|
|
87
|
-
if (data.hasOwnProperty('
|
|
88
|
-
obj['
|
|
93
|
+
if (data.hasOwnProperty('code')) {
|
|
94
|
+
obj['code'] = _ApiClient["default"].convertToType(data['code'], 'String');
|
|
89
95
|
}
|
|
90
96
|
if (data.hasOwnProperty('type')) {
|
|
91
97
|
obj['type'] = _ApiClient["default"].convertToType(data['type'], _CustomAttributeTypesEnum["default"]);
|
|
92
98
|
}
|
|
99
|
+
if (data.hasOwnProperty('options')) {
|
|
100
|
+
obj['options'] = _ApiClient["default"].convertToType(data['options'], [_CustomAttributeOptionModel["default"]]);
|
|
101
|
+
}
|
|
102
|
+
if (data.hasOwnProperty('targets')) {
|
|
103
|
+
obj['targets'] = _ApiClient["default"].convertToType(data['targets'], ['String']);
|
|
104
|
+
}
|
|
105
|
+
if (data.hasOwnProperty('isReadOnly')) {
|
|
106
|
+
obj['isReadOnly'] = _ApiClient["default"].convertToType(data['isReadOnly'], 'Boolean');
|
|
107
|
+
}
|
|
93
108
|
if (data.hasOwnProperty('isDeleted')) {
|
|
94
109
|
obj['isDeleted'] = _ApiClient["default"].convertToType(data['isDeleted'], 'Boolean');
|
|
95
110
|
}
|
|
111
|
+
if (data.hasOwnProperty('isSystem')) {
|
|
112
|
+
obj['isSystem'] = _ApiClient["default"].convertToType(data['isSystem'], 'Boolean');
|
|
113
|
+
}
|
|
96
114
|
if (data.hasOwnProperty('name')) {
|
|
97
115
|
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
|
|
98
116
|
}
|
|
@@ -136,6 +154,10 @@ var CustomAttributeModel = /*#__PURE__*/function () {
|
|
|
136
154
|
if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
|
|
137
155
|
throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
|
|
138
156
|
}
|
|
157
|
+
// ensure the json data is a string
|
|
158
|
+
if (data['code'] && !(typeof data['code'] === 'string' || data['code'] instanceof String)) {
|
|
159
|
+
throw new Error("Expected the field `code` to be a primitive type in the JSON string but got " + data['code']);
|
|
160
|
+
}
|
|
139
161
|
if (data['options']) {
|
|
140
162
|
// data not null
|
|
141
163
|
// ensure the json data is an array
|
|
@@ -157,6 +179,10 @@ var CustomAttributeModel = /*#__PURE__*/function () {
|
|
|
157
179
|
}
|
|
158
180
|
;
|
|
159
181
|
}
|
|
182
|
+
// ensure the json data is an array
|
|
183
|
+
if (!Array.isArray(data['targets'])) {
|
|
184
|
+
throw new Error("Expected the field `targets` to be an array in the JSON data but got " + data['targets']);
|
|
185
|
+
}
|
|
160
186
|
// ensure the json data is a string
|
|
161
187
|
if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
162
188
|
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
|
|
@@ -165,32 +191,56 @@ var CustomAttributeModel = /*#__PURE__*/function () {
|
|
|
165
191
|
}
|
|
166
192
|
}]);
|
|
167
193
|
}();
|
|
168
|
-
CustomAttributeModel.RequiredProperties = ["id", "options", "
|
|
194
|
+
CustomAttributeModel.RequiredProperties = ["id", "type", "options", "targets", "isReadOnly", "isDeleted", "isSystem", "name", "isEnabled", "isRequired", "isGlobal"];
|
|
169
195
|
|
|
170
196
|
/**
|
|
171
|
-
* Unique ID of the attribute
|
|
197
|
+
* Unique ID of the attribute.
|
|
172
198
|
* @member {String} id
|
|
173
199
|
*/
|
|
174
200
|
CustomAttributeModel.prototype['id'] = undefined;
|
|
175
201
|
|
|
176
202
|
/**
|
|
177
|
-
*
|
|
178
|
-
* @member {
|
|
203
|
+
* Optional code identifier for the attribute.
|
|
204
|
+
* @member {String} code
|
|
179
205
|
*/
|
|
180
|
-
CustomAttributeModel.prototype['
|
|
206
|
+
CustomAttributeModel.prototype['code'] = undefined;
|
|
181
207
|
|
|
182
208
|
/**
|
|
183
|
-
* Type of the attribute
|
|
209
|
+
* Type of the attribute.
|
|
184
210
|
* @member {module:model/CustomAttributeTypesEnum} type
|
|
185
211
|
*/
|
|
186
212
|
CustomAttributeModel.prototype['type'] = undefined;
|
|
187
213
|
|
|
188
214
|
/**
|
|
189
|
-
*
|
|
215
|
+
* Collection of the attribute options.
|
|
216
|
+
* @member {Array.<module:model/CustomAttributeOptionModel>} options
|
|
217
|
+
*/
|
|
218
|
+
CustomAttributeModel.prototype['options'] = undefined;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Collection of the attribute targets. Defines where the attribute can be used (e.g., TestCases, AutoTestCases, TestPlans).
|
|
222
|
+
* @member {Array.<String>} targets
|
|
223
|
+
*/
|
|
224
|
+
CustomAttributeModel.prototype['targets'] = undefined;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Indicates if the attribute is read-only.
|
|
228
|
+
* @member {Boolean} isReadOnly
|
|
229
|
+
*/
|
|
230
|
+
CustomAttributeModel.prototype['isReadOnly'] = undefined;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Indicates if the attribute is deleted.
|
|
190
234
|
* @member {Boolean} isDeleted
|
|
191
235
|
*/
|
|
192
236
|
CustomAttributeModel.prototype['isDeleted'] = undefined;
|
|
193
237
|
|
|
238
|
+
/**
|
|
239
|
+
* Indicates if the attribute is system.
|
|
240
|
+
* @member {Boolean} isSystem
|
|
241
|
+
*/
|
|
242
|
+
CustomAttributeModel.prototype['isSystem'] = undefined;
|
|
243
|
+
|
|
194
244
|
/**
|
|
195
245
|
* Name of the attribute
|
|
196
246
|
* @member {String} name
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CustomAttributeOptionApiResult model module.
|
|
31
31
|
* @module model/CustomAttributeOptionApiResult
|
|
32
|
-
* @version 7.2.
|
|
32
|
+
* @version 7.2.7
|
|
33
33
|
*/
|
|
34
34
|
var CustomAttributeOptionApiResult = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CustomAttributeOptionModel model module.
|
|
31
31
|
* @module model/CustomAttributeOptionModel
|
|
32
|
-
* @version 7.2.
|
|
32
|
+
* @version 7.2.7
|
|
33
33
|
*/
|
|
34
34
|
var CustomAttributeOptionModel = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CustomAttributeOptionPostModel model module.
|
|
31
31
|
* @module model/CustomAttributeOptionPostModel
|
|
32
|
-
* @version 7.2.
|
|
32
|
+
* @version 7.2.7
|
|
33
33
|
*/
|
|
34
34
|
var CustomAttributeOptionPostModel = /*#__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 CustomAttributePostModel model module.
|
|
33
33
|
* @module model/CustomAttributePostModel
|
|
34
|
-
* @version 7.2.
|
|
34
|
+
* @version 7.2.7
|
|
35
35
|
*/
|
|
36
36
|
var CustomAttributePostModel = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The CustomAttributePutModel model module.
|
|
33
33
|
* @module model/CustomAttributePutModel
|
|
34
|
-
* @version 7.2.
|
|
34
|
+
* @version 7.2.7
|
|
35
35
|
*/
|
|
36
36
|
var CustomAttributePutModel = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The CustomAttributeSearchQueryModel model module.
|
|
29
29
|
* @module model/CustomAttributeSearchQueryModel
|
|
30
|
-
* @version 7.2.
|
|
30
|
+
* @version 7.2.7
|
|
31
31
|
*/
|
|
32
32
|
var CustomAttributeSearchQueryModel = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
32
|
/**
|
|
33
33
|
* The CustomAttributeSearchResponseModel model module.
|
|
34
34
|
* @module model/CustomAttributeSearchResponseModel
|
|
35
|
-
* @version 7.2.
|
|
35
|
+
* @version 7.2.7
|
|
36
36
|
*/
|
|
37
37
|
var CustomAttributeSearchResponseModel = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
|
@@ -40,18 +40,21 @@ var CustomAttributeSearchResponseModel = /*#__PURE__*/function () {
|
|
|
40
40
|
* @alias module:model/CustomAttributeSearchResponseModel
|
|
41
41
|
* @param workItemUsage {Array.<module:model/ProjectShortestModel>}
|
|
42
42
|
* @param testPlanUsage {Array.<module:model/ProjectShortestModel>}
|
|
43
|
-
* @param id {String} Unique ID of the attribute
|
|
44
|
-
* @param
|
|
45
|
-
* @param
|
|
46
|
-
* @param
|
|
43
|
+
* @param id {String} Unique ID of the attribute.
|
|
44
|
+
* @param type {module:model/CustomAttributeTypesEnum} Type of the attribute.
|
|
45
|
+
* @param options {Array.<module:model/CustomAttributeOptionModel>} Collection of the attribute options.
|
|
46
|
+
* @param targets {Array.<String>} Collection of the attribute targets. Defines where the attribute can be used (e.g., TestCases, AutoTestCases, TestPlans).
|
|
47
|
+
* @param isReadOnly {Boolean} Indicates if the attribute is read-only.
|
|
48
|
+
* @param isDeleted {Boolean} Indicates if the attribute is deleted.
|
|
49
|
+
* @param isSystem {Boolean} Indicates if the attribute is system.
|
|
47
50
|
* @param name {String} Name of the attribute
|
|
48
51
|
* @param isEnabled {Boolean} Indicates if the attribute is enabled
|
|
49
52
|
* @param isRequired {Boolean} Indicates if the attribute value is mandatory to specify
|
|
50
53
|
* @param isGlobal {Boolean} Indicates if the attribute is available across all projects
|
|
51
54
|
*/
|
|
52
|
-
function CustomAttributeSearchResponseModel(workItemUsage, testPlanUsage, id, options,
|
|
55
|
+
function CustomAttributeSearchResponseModel(workItemUsage, testPlanUsage, id, type, options, targets, isReadOnly, isDeleted, isSystem, name, isEnabled, isRequired, isGlobal) {
|
|
53
56
|
_classCallCheck(this, CustomAttributeSearchResponseModel);
|
|
54
|
-
CustomAttributeSearchResponseModel.initialize(this, workItemUsage, testPlanUsage, id, options,
|
|
57
|
+
CustomAttributeSearchResponseModel.initialize(this, workItemUsage, testPlanUsage, id, type, options, targets, isReadOnly, isDeleted, isSystem, name, isEnabled, isRequired, isGlobal);
|
|
55
58
|
}
|
|
56
59
|
|
|
57
60
|
/**
|
|
@@ -61,13 +64,16 @@ var CustomAttributeSearchResponseModel = /*#__PURE__*/function () {
|
|
|
61
64
|
*/
|
|
62
65
|
return _createClass(CustomAttributeSearchResponseModel, null, [{
|
|
63
66
|
key: "initialize",
|
|
64
|
-
value: function initialize(obj, workItemUsage, testPlanUsage, id, options,
|
|
67
|
+
value: function initialize(obj, workItemUsage, testPlanUsage, id, type, options, targets, isReadOnly, isDeleted, isSystem, name, isEnabled, isRequired, isGlobal) {
|
|
65
68
|
obj['workItemUsage'] = workItemUsage;
|
|
66
69
|
obj['testPlanUsage'] = testPlanUsage;
|
|
67
70
|
obj['id'] = id;
|
|
68
|
-
obj['options'] = options;
|
|
69
71
|
obj['type'] = type;
|
|
72
|
+
obj['options'] = options;
|
|
73
|
+
obj['targets'] = targets;
|
|
74
|
+
obj['isReadOnly'] = isReadOnly;
|
|
70
75
|
obj['isDeleted'] = isDeleted;
|
|
76
|
+
obj['isSystem'] = isSystem;
|
|
71
77
|
obj['name'] = name;
|
|
72
78
|
obj['isEnabled'] = isEnabled;
|
|
73
79
|
obj['isRequired'] = isRequired;
|
|
@@ -95,15 +101,27 @@ var CustomAttributeSearchResponseModel = /*#__PURE__*/function () {
|
|
|
95
101
|
if (data.hasOwnProperty('id')) {
|
|
96
102
|
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
|
|
97
103
|
}
|
|
98
|
-
if (data.hasOwnProperty('
|
|
99
|
-
obj['
|
|
104
|
+
if (data.hasOwnProperty('code')) {
|
|
105
|
+
obj['code'] = _ApiClient["default"].convertToType(data['code'], 'String');
|
|
100
106
|
}
|
|
101
107
|
if (data.hasOwnProperty('type')) {
|
|
102
108
|
obj['type'] = _ApiClient["default"].convertToType(data['type'], _CustomAttributeTypesEnum["default"]);
|
|
103
109
|
}
|
|
110
|
+
if (data.hasOwnProperty('options')) {
|
|
111
|
+
obj['options'] = _ApiClient["default"].convertToType(data['options'], [_CustomAttributeOptionModel["default"]]);
|
|
112
|
+
}
|
|
113
|
+
if (data.hasOwnProperty('targets')) {
|
|
114
|
+
obj['targets'] = _ApiClient["default"].convertToType(data['targets'], ['String']);
|
|
115
|
+
}
|
|
116
|
+
if (data.hasOwnProperty('isReadOnly')) {
|
|
117
|
+
obj['isReadOnly'] = _ApiClient["default"].convertToType(data['isReadOnly'], 'Boolean');
|
|
118
|
+
}
|
|
104
119
|
if (data.hasOwnProperty('isDeleted')) {
|
|
105
120
|
obj['isDeleted'] = _ApiClient["default"].convertToType(data['isDeleted'], 'Boolean');
|
|
106
121
|
}
|
|
122
|
+
if (data.hasOwnProperty('isSystem')) {
|
|
123
|
+
obj['isSystem'] = _ApiClient["default"].convertToType(data['isSystem'], 'Boolean');
|
|
124
|
+
}
|
|
107
125
|
if (data.hasOwnProperty('name')) {
|
|
108
126
|
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
|
|
109
127
|
}
|
|
@@ -189,6 +207,10 @@ var CustomAttributeSearchResponseModel = /*#__PURE__*/function () {
|
|
|
189
207
|
if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
|
|
190
208
|
throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
|
|
191
209
|
}
|
|
210
|
+
// ensure the json data is a string
|
|
211
|
+
if (data['code'] && !(typeof data['code'] === 'string' || data['code'] instanceof String)) {
|
|
212
|
+
throw new Error("Expected the field `code` to be a primitive type in the JSON string but got " + data['code']);
|
|
213
|
+
}
|
|
192
214
|
if (data['options']) {
|
|
193
215
|
// data not null
|
|
194
216
|
// ensure the json data is an array
|
|
@@ -210,6 +232,10 @@ var CustomAttributeSearchResponseModel = /*#__PURE__*/function () {
|
|
|
210
232
|
}
|
|
211
233
|
;
|
|
212
234
|
}
|
|
235
|
+
// ensure the json data is an array
|
|
236
|
+
if (!Array.isArray(data['targets'])) {
|
|
237
|
+
throw new Error("Expected the field `targets` to be an array in the JSON data but got " + data['targets']);
|
|
238
|
+
}
|
|
213
239
|
// ensure the json data is a string
|
|
214
240
|
if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
|
|
215
241
|
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
|
|
@@ -218,7 +244,7 @@ var CustomAttributeSearchResponseModel = /*#__PURE__*/function () {
|
|
|
218
244
|
}
|
|
219
245
|
}]);
|
|
220
246
|
}();
|
|
221
|
-
CustomAttributeSearchResponseModel.RequiredProperties = ["workItemUsage", "testPlanUsage", "id", "options", "
|
|
247
|
+
CustomAttributeSearchResponseModel.RequiredProperties = ["workItemUsage", "testPlanUsage", "id", "type", "options", "targets", "isReadOnly", "isDeleted", "isSystem", "name", "isEnabled", "isRequired", "isGlobal"];
|
|
222
248
|
|
|
223
249
|
/**
|
|
224
250
|
* @member {Array.<module:model/ProjectShortestModel>} workItemUsage
|
|
@@ -231,29 +257,53 @@ CustomAttributeSearchResponseModel.prototype['workItemUsage'] = undefined;
|
|
|
231
257
|
CustomAttributeSearchResponseModel.prototype['testPlanUsage'] = undefined;
|
|
232
258
|
|
|
233
259
|
/**
|
|
234
|
-
* Unique ID of the attribute
|
|
260
|
+
* Unique ID of the attribute.
|
|
235
261
|
* @member {String} id
|
|
236
262
|
*/
|
|
237
263
|
CustomAttributeSearchResponseModel.prototype['id'] = undefined;
|
|
238
264
|
|
|
239
265
|
/**
|
|
240
|
-
*
|
|
241
|
-
* @member {
|
|
266
|
+
* Optional code identifier for the attribute.
|
|
267
|
+
* @member {String} code
|
|
242
268
|
*/
|
|
243
|
-
CustomAttributeSearchResponseModel.prototype['
|
|
269
|
+
CustomAttributeSearchResponseModel.prototype['code'] = undefined;
|
|
244
270
|
|
|
245
271
|
/**
|
|
246
|
-
* Type of the attribute
|
|
272
|
+
* Type of the attribute.
|
|
247
273
|
* @member {module:model/CustomAttributeTypesEnum} type
|
|
248
274
|
*/
|
|
249
275
|
CustomAttributeSearchResponseModel.prototype['type'] = undefined;
|
|
250
276
|
|
|
251
277
|
/**
|
|
252
|
-
*
|
|
278
|
+
* Collection of the attribute options.
|
|
279
|
+
* @member {Array.<module:model/CustomAttributeOptionModel>} options
|
|
280
|
+
*/
|
|
281
|
+
CustomAttributeSearchResponseModel.prototype['options'] = undefined;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Collection of the attribute targets. Defines where the attribute can be used (e.g., TestCases, AutoTestCases, TestPlans).
|
|
285
|
+
* @member {Array.<String>} targets
|
|
286
|
+
*/
|
|
287
|
+
CustomAttributeSearchResponseModel.prototype['targets'] = undefined;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Indicates if the attribute is read-only.
|
|
291
|
+
* @member {Boolean} isReadOnly
|
|
292
|
+
*/
|
|
293
|
+
CustomAttributeSearchResponseModel.prototype['isReadOnly'] = undefined;
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* Indicates if the attribute is deleted.
|
|
253
297
|
* @member {Boolean} isDeleted
|
|
254
298
|
*/
|
|
255
299
|
CustomAttributeSearchResponseModel.prototype['isDeleted'] = undefined;
|
|
256
300
|
|
|
301
|
+
/**
|
|
302
|
+
* Indicates if the attribute is system.
|
|
303
|
+
* @member {Boolean} isSystem
|
|
304
|
+
*/
|
|
305
|
+
CustomAttributeSearchResponseModel.prototype['isSystem'] = undefined;
|
|
306
|
+
|
|
257
307
|
/**
|
|
258
308
|
* Name of the attribute
|
|
259
309
|
* @member {String} name
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CustomAttributeTemplateModel model module.
|
|
31
31
|
* @module model/CustomAttributeTemplateModel
|
|
32
|
-
* @version 7.2.
|
|
32
|
+
* @version 7.2.7
|
|
33
33
|
*/
|
|
34
34
|
var CustomAttributeTemplateModel = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CustomAttributeTemplatePostModel model module.
|
|
31
31
|
* @module model/CustomAttributeTemplatePostModel
|
|
32
|
-
* @version 7.2.
|
|
32
|
+
* @version 7.2.7
|
|
33
33
|
*/
|
|
34
34
|
var CustomAttributeTemplatePostModel = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CustomAttributeTemplatePutModel model module.
|
|
31
31
|
* @module model/CustomAttributeTemplatePutModel
|
|
32
|
-
* @version 7.2.
|
|
32
|
+
* @version 7.2.7
|
|
33
33
|
*/
|
|
34
34
|
var CustomAttributeTemplatePutModel = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The CustomAttributeTemplateSearchQueryModel model module.
|
|
29
29
|
* @module model/CustomAttributeTemplateSearchQueryModel
|
|
30
|
-
* @version 7.2.
|
|
30
|
+
* @version 7.2.7
|
|
31
31
|
*/
|
|
32
32
|
var CustomAttributeTemplateSearchQueryModel = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CustomAttributeTemplateValidationResult model module.
|
|
31
31
|
* @module model/CustomAttributeTemplateValidationResult
|
|
32
|
-
* @version 7.2.
|
|
32
|
+
* @version 7.2.7
|
|
33
33
|
*/
|
|
34
34
|
var CustomAttributeTemplateValidationResult = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CustomAttributeTestPlanProjectRelationPutModel model module.
|
|
31
31
|
* @module model/CustomAttributeTestPlanProjectRelationPutModel
|
|
32
|
-
* @version 7.2.
|
|
32
|
+
* @version 7.2.7
|
|
33
33
|
*/
|
|
34
34
|
var CustomAttributeTestPlanProjectRelationPutModel = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CustomAttributeValidationResult model module.
|
|
31
31
|
* @module model/CustomAttributeValidationResult
|
|
32
|
-
* @version 7.2.
|
|
32
|
+
* @version 7.2.7
|
|
33
33
|
*/
|
|
34
34
|
var CustomAttributeValidationResult = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The DateTimeRangeSelectorModel model module.
|
|
28
28
|
* @module model/DateTimeRangeSelectorModel
|
|
29
|
-
* @version 7.2.
|
|
29
|
+
* @version 7.2.7
|
|
30
30
|
*/
|
|
31
31
|
var DateTimeRangeSelectorModel = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The DefectApiModel model module.
|
|
31
31
|
* @module model/DefectApiModel
|
|
32
|
-
* @version 7.2.
|
|
32
|
+
* @version 7.2.7
|
|
33
33
|
*/
|
|
34
34
|
var DefectApiModel = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -0,0 +1,113 @@
|
|
|
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
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
9
|
+
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); }
|
|
10
|
+
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; } } }; }
|
|
11
|
+
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; } }
|
|
12
|
+
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; }
|
|
13
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
14
|
+
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); } }
|
|
15
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
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); } /**
|
|
18
|
+
* API
|
|
19
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: v2.0
|
|
22
|
+
*
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* The DemoProjectApiResult model module.
|
|
31
|
+
* @module model/DemoProjectApiResult
|
|
32
|
+
* @version 7.2.7
|
|
33
|
+
*/
|
|
34
|
+
var DemoProjectApiResult = /*#__PURE__*/function () {
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a new <code>DemoProjectApiResult</code>.
|
|
37
|
+
* @alias module:model/DemoProjectApiResult
|
|
38
|
+
* @param jobId {String} Job ID
|
|
39
|
+
*/
|
|
40
|
+
function DemoProjectApiResult(jobId) {
|
|
41
|
+
_classCallCheck(this, DemoProjectApiResult);
|
|
42
|
+
DemoProjectApiResult.initialize(this, jobId);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Initializes the fields of this object.
|
|
47
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
48
|
+
* Only for internal use.
|
|
49
|
+
*/
|
|
50
|
+
return _createClass(DemoProjectApiResult, null, [{
|
|
51
|
+
key: "initialize",
|
|
52
|
+
value: function initialize(obj, jobId) {
|
|
53
|
+
obj['jobId'] = jobId;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Constructs a <code>DemoProjectApiResult</code> from a plain JavaScript object, optionally creating a new instance.
|
|
58
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
59
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
60
|
+
* @param {module:model/DemoProjectApiResult} obj Optional instance to populate.
|
|
61
|
+
* @return {module:model/DemoProjectApiResult} The populated <code>DemoProjectApiResult</code> instance.
|
|
62
|
+
*/
|
|
63
|
+
}, {
|
|
64
|
+
key: "constructFromObject",
|
|
65
|
+
value: function constructFromObject(data, obj) {
|
|
66
|
+
if (data) {
|
|
67
|
+
obj = obj || new DemoProjectApiResult();
|
|
68
|
+
if (data.hasOwnProperty('jobId')) {
|
|
69
|
+
obj['jobId'] = _ApiClient["default"].convertToType(data['jobId'], 'String');
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return obj;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Validates the JSON data with respect to <code>DemoProjectApiResult</code>.
|
|
77
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
78
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>DemoProjectApiResult</code>.
|
|
79
|
+
*/
|
|
80
|
+
}, {
|
|
81
|
+
key: "validateJSON",
|
|
82
|
+
value: function validateJSON(data) {
|
|
83
|
+
// check to make sure all required properties are present in the JSON string
|
|
84
|
+
var _iterator = _createForOfIteratorHelper(DemoProjectApiResult.RequiredProperties),
|
|
85
|
+
_step;
|
|
86
|
+
try {
|
|
87
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
88
|
+
var property = _step.value;
|
|
89
|
+
if (!data.hasOwnProperty(property)) {
|
|
90
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
// ensure the json data is a string
|
|
94
|
+
} catch (err) {
|
|
95
|
+
_iterator.e(err);
|
|
96
|
+
} finally {
|
|
97
|
+
_iterator.f();
|
|
98
|
+
}
|
|
99
|
+
if (data['jobId'] && !(typeof data['jobId'] === 'string' || data['jobId'] instanceof String)) {
|
|
100
|
+
throw new Error("Expected the field `jobId` to be a primitive type in the JSON string but got " + data['jobId']);
|
|
101
|
+
}
|
|
102
|
+
return true;
|
|
103
|
+
}
|
|
104
|
+
}]);
|
|
105
|
+
}();
|
|
106
|
+
DemoProjectApiResult.RequiredProperties = ["jobId"];
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Job ID
|
|
110
|
+
* @member {String} jobId
|
|
111
|
+
*/
|
|
112
|
+
DemoProjectApiResult.prototype['jobId'] = undefined;
|
|
113
|
+
var _default = exports["default"] = DemoProjectApiResult;
|