testit-api-client 7.2.6 → 7.3.0-TMS-5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.MD +85 -13
- package/dist/api/AIServicesAPIApi.js +92 -0
- package/dist/api/AttachmentsApi.js +8 -8
- package/dist/api/AutoTestsApi.js +55 -55
- package/dist/api/BackgroundJobsApi.js +7 -7
- package/dist/api/ConfigurationsApi.js +17 -17
- package/dist/api/CustomAttributeTemplatesApi.js +24 -24
- package/dist/api/CustomAttributesApi.js +7 -7
- package/dist/api/ExternalIssuesApi.js +6 -6
- package/dist/api/{SearchApi.js → ExternalServicesApi.js} +24 -28
- package/dist/api/FailureCategoriesApi.js +617 -0
- package/dist/api/NotificationsApi.js +16 -16
- package/dist/api/OpenIdConnectionsApi.js +2 -2
- package/dist/api/ParametersApi.js +38 -38
- package/dist/api/ProjectAttributeTemplatesApi.js +8 -8
- package/dist/api/ProjectAttributesApi.js +15 -15
- package/dist/api/ProjectConfigurationsApi.js +4 -4
- package/dist/api/ProjectExternalServicesApi.js +339 -0
- package/dist/api/ProjectFailureCategoriesApi.js +275 -0
- package/dist/api/ProjectSectionsApi.js +4 -4
- package/dist/api/ProjectSettingsApi.js +3 -3
- package/dist/api/ProjectTestPlanAttributesApi.js +14 -14
- package/dist/api/ProjectTestPlanTestPointsApi.js +164 -6
- package/dist/api/ProjectTestPlansApi.js +13 -13
- package/dist/api/ProjectWorkItemsApi.js +107 -20
- package/dist/api/ProjectsApi.js +65 -96
- package/dist/api/RolesApi.js +76 -0
- package/dist/api/SectionsApi.js +21 -21
- package/dist/api/TagsApi.js +19 -19
- package/dist/api/TestPlansApi.js +128 -128
- package/dist/api/TestPointsApi.js +5 -5
- package/dist/api/TestResultsApi.js +73 -26
- package/dist/api/TestRunsApi.js +102 -55
- package/dist/api/TestStatusesApi.js +12 -12
- package/dist/api/TestSuitesApi.js +28 -28
- package/dist/api/UserRoleAssignmentsApi.js +134 -0
- package/dist/api/UserStoragesApi.js +120 -0
- package/dist/api/UsersApi.js +112 -2
- package/dist/api/WebhooksApi.js +11 -11
- package/dist/api/WebhooksLogsApi.js +4 -4
- package/dist/api/WorkItemsApi.js +165 -118
- package/dist/api/WorkItemsCommentsApi.js +10 -10
- package/dist/api/WorkflowsApi.js +17 -17
- package/dist/index.js +251 -48
- package/dist/model/AIServiceModelApiResult.js +1 -1
- package/dist/model/AIServiceModelApiResultGroup.js +156 -0
- package/dist/model/AIServiceModelApiResultGroupedReply.js +140 -0
- package/dist/model/AIServiceModelApiResultIReply.js +157 -0
- package/dist/model/AIServiceModelApiResultReply.js +1 -1
- package/dist/model/AssignAttachmentApiModel.js +1 -1
- package/dist/model/{Link.js → AssignAutoTestCaseIdApiModel.js} +24 -84
- package/dist/model/AssignIterationApiModel.js +1 -1
- package/dist/model/AttachmentApiResult.js +1 -1
- package/dist/model/AttachmentChangeViewModel.js +1 -1
- package/dist/model/AttachmentChangeViewModelArrayChangedFieldViewModel.js +1 -1
- package/dist/model/AttachmentModel.js +1 -1
- package/dist/model/AttachmentPutModel.js +1 -1
- package/dist/model/AttachmentPutModelAutoTestStepResultsModel.js +2 -2
- package/dist/model/AttachmentUpdateRequest.js +1 -1
- package/dist/model/AuditApiResult.js +1 -1
- package/dist/model/AutoTest.js +5 -5
- package/dist/model/AutoTestApiResult.js +1 -1
- package/dist/model/AutoTestAverageDurationApiResult.js +1 -1
- package/dist/model/AutoTestBulkDeleteApiModel.js +1 -1
- package/dist/model/AutoTestBulkDeleteApiResult.js +1 -1
- package/dist/model/{DemoProjectApiResult.js → AutoTestCaseApiModel.js} +29 -29
- package/dist/model/AutoTestCaseModel.js +112 -0
- package/dist/model/AutoTestChangeViewModel.js +1 -1
- package/dist/model/AutoTestChangeViewModelArrayChangedFieldViewModel.js +1 -1
- package/dist/model/AutoTestClassCountApiModel.js +1 -1
- package/dist/model/AutoTestCreateApiModel.js +1 -1
- package/dist/model/AutoTestExtractionApiModel.js +1 -1
- package/dist/model/AutoTestFilterApiModel.js +1 -1
- package/dist/model/AutoTestFilterModel.js +1 -1
- package/dist/model/AutoTestFlakyBulkApiModel.js +1 -1
- package/dist/model/AutoTestIdModel.js +1 -1
- package/dist/model/AutoTestModel.js +1 -1
- package/dist/model/AutoTestModelV2GetModel.js +1 -1
- package/dist/model/AutoTestNamespaceApiResult.js +1 -1
- package/dist/model/AutoTestNamespaceCountApiModel.js +1 -1
- package/dist/model/AutoTestNamespacesCountResponse.js +1 -1
- package/dist/model/AutoTestProjectSettingsApiModel.js +49 -5
- package/dist/model/AutoTestProjectSettingsApiResult.js +49 -5
- package/dist/model/AutoTestResultHistoryApiResult.js +1 -1
- package/dist/model/AutoTestResultHistorySelectApiModel.js +1 -1
- package/dist/model/AutoTestResultReasonShort.js +1 -1
- package/dist/model/AutoTestResultsForTestRunModel.js +1 -1
- package/dist/model/AutoTestSearchApiModel.js +1 -1
- package/dist/model/AutoTestSearchIncludeApiModel.js +1 -1
- package/dist/model/AutoTestSelectApiModel.js +1 -1
- package/dist/model/AutoTestSelectModel.js +1 -1
- package/dist/model/AutoTestShortApiResult.js +1 -1
- package/dist/model/AutoTestStep.js +1 -1
- package/dist/model/AutoTestStepApiModel.js +1 -1
- package/dist/model/AutoTestStepApiResult.js +1 -1
- package/dist/model/AutoTestStepModel.js +1 -1
- package/dist/model/AutoTestStepResult.js +2 -2
- package/dist/model/AutoTestStepResultUpdateRequest.js +2 -2
- package/dist/model/AutoTestStepResultsApiResult.js +1 -1
- package/dist/model/AutoTestUpdateApiModel.js +1 -1
- package/dist/model/AutoTestWorkItemIdentifierApiResult.js +1 -1
- package/dist/model/AutoTestsExtractionModel.js +1 -1
- package/dist/model/AutotestResultReasonFilterModel.js +1 -1
- package/dist/model/AutotestResultReasonShortGetModel.js +1 -1
- package/dist/model/BackgroundJobAttachmentModel.js +1 -1
- package/dist/model/BackgroundJobFilterModel.js +1 -1
- package/dist/model/BackgroundJobGetModel.js +1 -1
- package/dist/model/BooleanChangedFieldViewModel.js +1 -1
- package/dist/model/BooleanNullableChangedFieldViewModel.js +1 -1
- package/dist/model/CollectionFilter.js +1 -1
- package/dist/model/CompositeFilter.js +1 -1
- package/dist/model/ConfigurationByParametersModel.js +1 -1
- package/dist/model/ConfigurationExtractionApiModel.js +1 -1
- package/dist/model/ConfigurationExtractionModel.js +1 -1
- package/dist/model/ConfigurationFilterApiModel.js +1 -1
- package/dist/model/ConfigurationFilterModel.js +1 -1
- package/dist/model/ConfigurationModel.js +1 -1
- package/dist/model/ConfigurationPostModel.js +1 -1
- package/dist/model/ConfigurationPutModel.js +1 -1
- package/dist/model/ConfigurationSelectApiModel.js +1 -1
- package/dist/model/ConfigurationSelectModel.js +1 -1
- package/dist/model/ConfigurationShort.js +1 -1
- package/dist/model/ConfigurationShortApiResult.js +1 -1
- package/dist/model/ConfigurationShortModel.js +1 -1
- package/dist/model/CreateDefectApiModel.js +1 -1
- package/dist/model/CreateEmptyTestRunApiModel.js +3 -3
- package/dist/model/CreateFailureCategoryApiModel.js +1 -1
- package/dist/model/CreateFailureClassRegexApiModel.js +1 -1
- package/dist/model/CreateLinkApiModel.js +7 -5
- package/dist/model/CreateParameterApiModel.js +1 -1
- package/dist/model/CreateProjectApiModel.js +1 -1
- package/dist/model/CreateProjectFailureCategoryApiModel.js +1 -1
- package/dist/model/CreateStepApiModel.js +1 -1
- package/dist/model/CreateTagApiModel.js +1 -1
- package/dist/model/CreateTestPlanApiModel.js +1 -1
- package/dist/model/CreateTestRunAndFillByAutoTestsApiModel.js +1 -1
- package/dist/model/CreateTestRunAndFillByConfigurationsApiModel.js +1 -1
- package/dist/model/CreateTestRunAndFillByWorkItemsApiModel.js +1 -1
- package/dist/model/CreateTestStatusApiModel.js +1 -1
- package/dist/model/CreateUserApiModel.js +204 -0
- package/dist/model/CreateWorkItemApiModel.js +15 -27
- package/dist/model/CreateWorkItemCommentApiModel.js +1 -1
- package/dist/model/CreateWorkItemPreviewsApiModel.js +1 -1
- package/dist/model/CreateWorkflowApiModel.js +1 -1
- package/dist/model/CustomAttributeApiResult.js +33 -7
- package/dist/model/CustomAttributeChangeModel.js +1 -1
- package/dist/model/CustomAttributeGetModel.js +1 -1
- package/dist/model/CustomAttributeModel.js +33 -7
- package/dist/model/CustomAttributeOptionApiResult.js +1 -1
- package/dist/model/CustomAttributeOptionModel.js +1 -1
- package/dist/model/CustomAttributeOptionPostModel.js +1 -1
- package/dist/model/CustomAttributePostModel.js +2 -2
- package/dist/model/CustomAttributePutModel.js +2 -2
- package/dist/model/CustomAttributeSearchQueryModel.js +1 -1
- package/dist/model/CustomAttributeSearchResponseModel.js +33 -7
- package/dist/model/CustomAttributeTemplateModel.js +1 -1
- package/dist/model/CustomAttributeTemplatePostModel.js +1 -1
- package/dist/model/CustomAttributeTemplatePutModel.js +1 -1
- package/dist/model/CustomAttributeTemplateSearchQueryModel.js +1 -1
- package/dist/model/CustomAttributeTemplateValidationResult.js +1 -1
- package/dist/model/CustomAttributeTestPlanProjectRelationPutModel.js +1 -1
- package/dist/model/CustomAttributeValidationResult.js +1 -1
- package/dist/model/DateTimeRangeSelectorModel.js +1 -1
- package/dist/model/DefectApiModel.js +1 -1
- package/dist/model/{ProjectModel.js → DetailedProjectApiResult.js} +82 -71
- package/dist/model/EnableProjectExternalServiceApiModel.js +1 -1
- package/dist/model/ExternalFormAllowedValueModel.js +1 -1
- package/dist/model/ExternalFormCreateModel.js +1 -1
- package/dist/model/ExternalFormFieldModel.js +1 -1
- package/dist/model/ExternalFormLinkModel.js +1 -1
- package/dist/model/ExternalFormModel.js +1 -1
- package/dist/model/ExternalIssueApiFieldSuggestion.js +1 -1
- package/dist/model/{GlobalSearchResponse.js → ExternalIssueApiFieldSuggestionGroup.js} +51 -49
- package/dist/model/ExternalIssueApiFieldSuggestionGroupedReply.js +140 -0
- package/dist/model/ExternalIssueApiFieldSuggestionIReply.js +157 -0
- package/dist/model/ExternalIssueApiFieldSuggestionReply.js +1 -1
- package/dist/model/ExternalIssueApiMetadata.js +1 -1
- package/dist/model/ExternalIssueApiPriority.js +1 -1
- package/dist/model/ExternalIssueApiResult.js +1 -1
- package/dist/model/ExternalIssueApiType.js +1 -1
- package/dist/model/ExternalIssueExternalServiceApiResult.js +1 -1
- package/dist/model/ExternalIssueMetadataModel.js +1 -1
- package/dist/model/ExternalIssueModel.js +1 -1
- package/dist/model/ExternalIssuePriorityModel.js +1 -1
- package/dist/model/ExternalIssueTypeModel.js +1 -1
- package/dist/model/ExternalLinkModel.js +1 -1
- package/dist/model/ExternalServiceMetadataApiResult.js +1 -1
- package/dist/model/ExternalServicesMetadataApiResult.js +1 -1
- package/dist/model/FailureCategoryApiResult.js +1 -1
- package/dist/model/FailureCategoryGroupApiModel.js +1 -1
- package/dist/model/FailureCategoryGroupApiResult.js +1 -1
- package/dist/model/FailureCategoryGroupItemApiResult.js +1 -1
- package/dist/model/FailureCategoryGroupItemApiResultReply.js +1 -1
- package/dist/model/FailureCategoryGroupSearchApiModel.js +1 -1
- package/dist/model/FailureCategoryItemApiResult.js +1 -1
- package/dist/model/FailureClassRegexApiResult.js +1 -1
- package/dist/model/Filter.js +1 -1
- package/dist/model/FilterModel.js +1 -1
- package/dist/model/GenerateWorkItemPreviewsApiModel.js +1 -14
- package/dist/model/GenerateWorkItemPreviewsApiResult.js +1 -1
- package/dist/model/GetAIServiceModelsApiModel.js +1 -1
- package/dist/model/GetExternalFormApiResult.js +1 -1
- package/dist/model/GetExternalIssueSuggestionsApiModel.js +1 -1
- package/dist/model/GetShortProjectsApiModel.js +1 -1
- package/dist/model/{GetXlsxTestPointsByTestPlanModel.js → GetXlsxTestPointsByTestPlanApiModel.js} +81 -35
- package/dist/model/GlobalCustomAttributePostModel.js +2 -2
- package/dist/model/GlobalCustomAttributeUpdateModel.js +2 -2
- package/dist/model/{GlobalSearchItemResult.js → Group.js} +34 -68
- package/dist/model/GroupKey.js +124 -0
- package/dist/model/GuidChangedFieldViewModel.js +1 -1
- package/dist/model/GuidExtractionModel.js +1 -1
- package/dist/model/GuidNullableChangedFieldViewModel.js +101 -0
- package/dist/model/IFilter.js +1 -1
- package/dist/model/Inquiry.js +16 -2
- package/dist/model/Int32ChangedFieldViewModel.js +1 -1
- package/dist/model/Int32RangeSelectorModel.js +1 -1
- package/dist/model/Int64ChangedFieldViewModel.js +1 -1
- package/dist/model/Int64RangeSelectorModel.js +1 -1
- package/dist/model/IterationApiResult.js +1 -1
- package/dist/model/IterationModel.js +1 -1
- package/dist/model/Label.js +1 -1
- package/dist/model/LabelApiModel.js +1 -1
- package/dist/model/LabelApiResult.js +1 -1
- package/dist/model/LabelShortModel.js +1 -1
- package/dist/model/LastTestResultApiResult.js +1 -1
- package/dist/model/LastTestResultModel.js +1 -1
- package/dist/model/LinkApiResult.js +7 -5
- package/dist/model/LinkCreateApiModel.js +7 -5
- package/dist/model/LinkModel.js +7 -5
- package/dist/model/LinkPostModel.js +7 -5
- package/dist/model/LinkPutModel.js +7 -5
- package/dist/model/LinkShortApiResult.js +5 -9
- package/dist/model/LinkShortModel.js +10 -13
- package/dist/model/LinkUpdateApiModel.js +7 -5
- package/dist/model/ManualRerunApiResult.js +1 -1
- package/dist/model/ManualRerunSelectTestResultsApiModel.js +1 -1
- package/dist/model/ManualRerunTestResultApiModel.js +1 -1
- package/dist/model/NamedEntityApiModel.js +1 -1
- package/dist/model/NotificationModel.js +1 -1
- package/dist/model/NotificationQueryFilterModel.js +1 -1
- package/dist/model/OpenIdConnectionClientShortModel.js +1 -1
- package/dist/model/OpenIdConnectionSettingsShortClientModel.js +1 -1
- package/dist/model/Operation.js +1 -1
- package/dist/model/Order.js +1 -1
- package/dist/model/Page.js +1 -1
- package/dist/model/ParameterApiResult.js +1 -1
- package/dist/model/ParameterGroupApiResult.js +1 -1
- package/dist/model/ParameterGroupsFilterApiModel.js +1 -1
- package/dist/model/ParameterIterationModel.js +13 -1
- package/dist/model/ParameterShortApiResult.js +1 -1
- package/dist/model/ParameterShortModel.js +13 -1
- package/dist/model/ParametersFilterApiModel.js +1 -1
- package/dist/model/PeriodViewModel.js +1 -1
- package/dist/model/PeriodViewModelChangedFieldViewModel.js +1 -1
- package/dist/model/PreviewsIssueLinkApiModel.js +1 -1
- package/dist/model/PreviewsIssueLinkApiResult.js +1 -1
- package/dist/model/ProblemDetails.js +1 -1
- package/dist/model/ProjectApiResult.js +12 -71
- package/dist/model/ProjectAttributesFilterModel.js +1 -1
- package/dist/model/ProjectCustomAttributeTemplateGetModel.js +1 -1
- package/dist/model/ProjectCustomAttributesTemplatesFilterModel.js +1 -1
- package/dist/model/ProjectDetailedFailureCategoryApiResult.js +1 -1
- package/dist/model/ProjectExternalServiceApiResult.js +1 -1
- package/dist/model/ProjectExternalServiceSettingsApiResult.js +1 -1
- package/dist/model/ProjectExternalServicesApiResult.js +1 -1
- package/dist/model/ProjectExtractionModel.js +1 -1
- package/dist/model/ProjectFailureCategoryApiResult.js +1 -1
- package/dist/model/ProjectFailureCategoryGroupItemApiResult.js +1 -1
- package/dist/model/ProjectFailureCategoryGroupItemApiResultReply.js +1 -1
- package/dist/model/ProjectNameApiResult.js +1 -1
- package/dist/model/ProjectSelectModel.js +1 -1
- package/dist/model/ProjectShortApiResult.js +1 -1
- package/dist/model/ProjectShortApiResultGroup.js +156 -0
- package/dist/model/ProjectShortApiResultGroupedReply.js +140 -0
- package/dist/model/ProjectShortApiResultIReply.js +157 -0
- package/dist/model/ProjectShortApiResultReply.js +1 -1
- package/dist/model/ProjectShortestModel.js +1 -1
- package/dist/model/ProjectTestPlansFilterModel.js +1 -1
- package/dist/model/ProjectsFilterModel.js +1 -1
- package/dist/model/ReplaceProjectExternalServiceApiModel.js +1 -1
- package/dist/model/RerunTestResultApiResult.js +1 -1
- package/dist/model/RerunsApiResult.js +1 -1
- package/dist/model/{GlobalSearchRequest.js → RoleApiModel.js} +42 -50
- package/dist/model/RoleApiModelApiCollection.js +142 -0
- package/dist/model/SearchCustomAttributeTemplateGetModel.js +1 -1
- package/dist/model/SearchExternalIssuesApiModel.js +1 -1
- package/dist/model/SearchTestRunsApiModel.js +1 -1
- package/dist/model/SearchTestStatusesApiModel.js +1 -1
- package/dist/model/SearchWebhooksQueryModel.js +1 -1
- package/dist/model/SearchWorkItemLinkUrlsApiResult.js +1 -1
- package/dist/model/SearchWorkflowProjectsApiModel.js +1 -1
- package/dist/model/SearchWorkflowsApiModel.js +1 -1
- package/dist/model/SectionModel.js +1 -1
- package/dist/model/SectionMoveModel.js +1 -1
- package/dist/model/SectionPostModel.js +1 -1
- package/dist/model/SectionPutModel.js +1 -1
- package/dist/model/SectionRenameModel.js +1 -1
- package/dist/model/SectionWithStepsModel.js +1 -1
- package/dist/model/SelectTagsApiModel.js +1 -1
- package/dist/model/SharedStepChangeViewModel.js +1 -1
- package/dist/model/SharedStepModel.js +1 -1
- package/dist/model/SharedStepReferenceModel.js +1 -1
- package/dist/model/SharedStepReferenceSectionModel.js +1 -1
- package/dist/model/SharedStepReferenceSectionsQueryFilterModel.js +1 -1
- package/dist/model/SharedStepReferencesQueryFilterModel.js +5 -4
- package/dist/model/SharedStepResultApiModel.js +1 -1
- package/dist/model/ShortConfiguration.js +1 -1
- package/dist/model/StepCommentApiModel.js +1 -1
- package/dist/model/StepModel.js +1 -1
- package/dist/model/StepPostModel.js +1 -1
- package/dist/model/StepPutModel.js +1 -1
- package/dist/model/StepResultApiModel.js +1 -1
- package/dist/model/StringArrayChangedFieldViewModel.js +1 -1
- package/dist/model/StringChangedFieldViewModel.js +1 -1
- package/dist/model/StringChangedFieldWithDiffsViewModel.js +1 -1
- package/dist/model/StringExtractionModel.js +1 -1
- package/dist/model/TagApiModel.js +1 -1
- package/dist/model/TagApiResult.js +1 -1
- package/dist/model/TagModel.js +1 -1
- package/dist/model/TagShortApiResult.js +1 -1
- package/dist/model/TagsExtractionApiModel.js +1 -1
- package/dist/model/TagsFilterApiModel.js +1 -1
- package/dist/model/TestPlanApiResult.js +1 -1
- package/dist/model/TestPlanChangeModel.js +1 -1
- package/dist/model/TestPlanChangedFieldsViewModel.js +1 -1
- package/dist/model/TestPlanExtractionModel.js +1 -1
- package/dist/model/TestPlanGroupByStatus.js +1 -1
- package/dist/model/TestPlanGroupByStatusCode.js +1 -1
- package/dist/model/TestPlanGroupByStatusType.js +1 -1
- package/dist/model/TestPlanGroupByTester.js +1 -1
- package/dist/model/TestPlanGroupByTesterAndStatus.js +1 -1
- package/dist/model/TestPlanGroupByTesterAndStatusCode.js +1 -1
- package/dist/model/TestPlanLink.js +1 -1
- package/dist/model/TestPlanModel.js +1 -1
- package/dist/model/TestPlanSelectModel.js +1 -1
- package/dist/model/TestPlanShortModel.js +1 -1
- package/dist/model/TestPlanSummaryModel.js +1 -1
- package/dist/model/TestPlanTagApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsAnalyticsApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsAnalyticsApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsAutoTestsRerunApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsAutoTestsRunApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsExtractionApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsGroupApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsGroupSearchApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsGroupSearchItemApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsInquiryApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsSearchApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsSearchApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsSearchStatusCountersApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsSectionSearchApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsSetTestersApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsStatusCodeGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsStatusGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsStatusTypeGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsTestSuiteSearchApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsTesterAndStatusGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsTesterAndStatusTypeGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsTesterGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsWorkItemSearchApiResult.js +1 -1
- package/dist/model/TestPlanWithAnalyticModel.js +1 -1
- package/dist/model/TestPlanWithTestSuiteTreeModel.js +1 -1
- package/dist/model/TestPoint.js +1 -1
- package/dist/model/TestPointAnalyticResult.js +1 -1
- package/dist/model/TestPointByTestSuiteModel.js +2 -2
- package/dist/model/TestPointChangeViewModel.js +1 -1
- package/dist/model/TestPointChangeViewModelChangedFieldViewModel.js +1 -1
- package/dist/model/TestPointFilterModel.js +1 -1
- package/dist/model/TestPointFilterRequestModel.js +1 -1
- package/dist/model/TestPointResultApiResult.js +1 -1
- package/dist/model/TestPointSelectModel.js +1 -1
- package/dist/model/TestPointSelector.js +1 -1
- package/dist/model/TestPointShortApiResult.js +2 -2
- package/dist/model/TestPointShortModel.js +2 -2
- package/dist/model/TestPointShortResponseModel.js +1 -1
- package/dist/model/TestPointWithLastResultResponseModel.js +1 -1
- package/dist/model/TestPointsExtractionModel.js +1 -1
- package/dist/model/TestResultApiResult.js +1 -1
- package/dist/model/TestResultChangeViewModel.js +1 -1
- package/dist/model/TestResultChangeViewModelChangedFieldViewModel.js +1 -1
- package/dist/model/TestResultChronologyModel.js +1 -1
- package/dist/model/TestResultFailureClassApiResult.js +1 -1
- package/dist/model/TestResultHistoryReportApiResult.js +8 -8
- package/dist/model/TestResultLinkApiResult.js +7 -5
- package/dist/model/TestResultResponse.js +5 -5
- package/dist/model/TestResultShortApiResult.js +1 -1
- package/dist/model/TestResultShortResponse.js +1 -1
- package/dist/model/TestResultStepCommentUpdateRequest.js +1 -1
- package/dist/model/TestResultUpdateV2Request.js +5 -5
- package/dist/model/TestResultV2GetModel.js +1 -1
- package/dist/model/TestResultV2ShortModel.js +1 -1
- package/dist/model/TestResultsExtractionApiModel.js +1 -1
- package/dist/model/TestResultsFilterApiModel.js +1 -1
- package/dist/model/TestResultsLocalFilterModel.js +1 -1
- package/dist/model/TestResultsSelectApiModel.js +1 -1
- package/dist/model/TestResultsStatisticsApiResult.js +1 -1
- package/dist/model/TestResultsStatisticsFailureCategoriesApiResult.js +1 -1
- package/dist/model/TestResultsStatisticsStatusesApiResult.js +1 -1
- package/dist/model/TestRunAnalyticApiResult.js +1 -1
- package/dist/model/TestRunApiResult.js +1 -1
- package/dist/model/TestRunByAutoTestApiResult.js +1 -1
- package/dist/model/TestRunExtractionApiModel.js +1 -1
- package/dist/model/TestRunFilterApiModel.js +1 -1
- package/dist/model/TestRunGroupByFailureClassApiResult.js +1 -1
- package/dist/model/TestRunGroupByStatusApiResult.js +1 -1
- package/dist/model/TestRunGroupByStatusTypeApiResult.js +1 -1
- package/dist/model/TestRunNameApiResult.js +1 -1
- package/dist/model/TestRunSelectApiModel.js +1 -1
- package/dist/model/TestRunShortApiResult.js +1 -1
- package/dist/model/TestRunStatisticsFilterApiModel.js +1 -1
- package/dist/model/TestRunTestResultsPartialBulkSetModel.js +1 -1
- package/dist/model/TestRunTestResultsSelectModel.js +1 -1
- package/dist/model/TestRunV2ApiResult.js +5 -5
- package/dist/model/TestStatusApiResult.js +1 -1
- package/dist/model/TestStatusApiResultGroup.js +156 -0
- package/dist/model/TestStatusApiResultGroupedReply.js +140 -0
- package/dist/model/TestStatusApiResultIReply.js +157 -0
- package/dist/model/TestStatusApiResultReply.js +1 -1
- package/dist/model/TestStatusModel.js +1 -1
- package/dist/model/TestStatusShortApiResult.js +1 -1
- package/dist/model/TestSuiteApiResult.js +1 -1
- package/dist/model/TestSuiteChangeViewModel.js +1 -1
- package/dist/model/TestSuiteChangeViewModelChangedFieldViewModel.js +1 -1
- package/dist/model/TestSuiteHierarchyApiResult.js +1 -1
- package/dist/model/TestSuiteTestPlanApiModel.js +1 -1
- package/dist/model/TestSuiteV2GetModel.js +1 -1
- package/dist/model/TestSuiteV2PostModel.js +1 -1
- package/dist/model/TestSuiteV2PutModel.js +1 -1
- package/dist/model/TestSuiteWithChildrenModel.js +1 -1
- package/dist/model/TestSuiteWorkItemsSearchModel.js +7 -7
- package/dist/model/UpdateEmptyTestRunApiModel.js +2 -2
- package/dist/model/UpdateFailureCategoryApiModel.js +1 -1
- package/dist/model/UpdateFailureCategoryProjectApiModel.js +1 -1
- package/dist/model/UpdateFailureClassRegexApiModel.js +1 -1
- package/dist/model/UpdateLinkApiModel.js +7 -5
- package/dist/model/UpdateMultipleAttachmentsApiModel.js +1 -1
- package/dist/model/UpdateMultipleLinksApiModel.js +1 -1
- package/dist/model/UpdateMultipleTagsApiModel.js +1 -1
- package/dist/model/UpdateMultipleTestRunsApiModel.js +1 -1
- package/dist/model/UpdateParameterApiModel.js +1 -1
- package/dist/model/UpdateProjectApiModel.js +1 -1
- package/dist/model/UpdateStepApiModel.js +1 -1
- package/dist/model/UpdateTagApiModel.js +1 -1
- package/dist/model/UpdateTestPlanApiModel.js +1 -1
- package/dist/model/UpdateTestStatusApiModel.js +1 -1
- package/dist/model/UpdateWorkItemApiModel.js +123 -143
- package/dist/model/UpdateWorkItemCommentApiModel.js +1 -1
- package/dist/model/UpdateWorkflowApiModel.js +1 -1
- package/dist/model/UserApiModel.js +194 -0
- package/dist/model/UserCustomNameValidationResponse.js +1 -1
- package/dist/model/UserNameApiResult.js +1 -1
- package/dist/model/ValidationProblemDetails.js +1 -1
- package/dist/model/WebHookModel.js +1 -1
- package/dist/model/WebHookPostModel.js +1 -1
- package/dist/model/WebHookTestModel.js +1 -1
- package/dist/model/WebhookBulkUpdateApiModel.js +1 -1
- package/dist/model/WebhookLogApiResult.js +1 -1
- package/dist/model/WebhookResponse.js +1 -1
- package/dist/model/WebhooksDeleteApiModel.js +1 -1
- package/dist/model/WebhooksDeleteFilterApiModel.js +1 -1
- package/dist/model/WebhooksExtractionApiModel.js +1 -1
- package/dist/model/WebhooksFilterApiModel.js +1 -1
- package/dist/model/WebhooksUpdateApiModel.js +1 -1
- package/dist/model/WebhooksUpdateApiResult.js +1 -1
- package/dist/model/WorkItemApiResult.js +1 -1
- package/dist/model/WorkItemChangeModel.js +1 -1
- package/dist/model/WorkItemChangedAttributeViewModel.js +1 -1
- package/dist/model/WorkItemChangedFieldsViewModel.js +21 -5
- package/dist/model/WorkItemCommentApiResult.js +1 -1
- package/dist/model/WorkItemExternalMetadataFieldFilterApiModel.js +1 -1
- package/dist/model/WorkItemExternalMetadataFieldFilterModel.js +1 -1
- package/dist/model/WorkItemExternalMetadataFilterApiModel.js +1 -1
- package/dist/model/WorkItemExternalMetadataFilterModel.js +1 -1
- package/dist/model/WorkItemExtractionApiModel.js +1 -1
- package/dist/model/WorkItemExtractionModel.js +1 -1
- package/dist/model/WorkItemFilterApiModel.js +4 -4
- package/dist/model/WorkItemFilterModel.js +4 -4
- package/dist/model/WorkItemGroupGetModel.js +1 -1
- package/dist/model/WorkItemGroupModel.js +1 -1
- package/dist/model/WorkItemIdApiModel.js +1 -1
- package/dist/model/WorkItemIndexApiResult.js +1 -1
- package/dist/model/WorkItemLikeModel.js +1 -1
- package/dist/model/WorkItemLinkChangeViewModel.js +1 -1
- package/dist/model/WorkItemLinkChangeViewModelArrayChangedFieldViewModel.js +1 -1
- package/dist/model/WorkItemLinkExtractionApiModel.js +1 -1
- package/dist/model/WorkItemLinkFilterApiModel.js +1 -1
- package/dist/model/WorkItemLinkFilterModel.js +1 -1
- package/dist/model/WorkItemLinkUrlApiModel.js +1 -1
- package/dist/model/WorkItemLinkUrlApiResult.js +1 -1
- package/dist/model/WorkItemLinkUrlFilterApiModel.js +4 -4
- package/dist/model/WorkItemLocalFilterModel.js +4 -4
- package/dist/model/WorkItemLocalSelectModel.js +1 -1
- package/dist/model/WorkItemModel.js +37 -37
- package/dist/model/WorkItemMovePostModel.js +1 -1
- package/dist/model/WorkItemParameterKeyApiModel.js +1 -1
- package/dist/model/WorkItemParameterKeyApiResult.js +1 -1
- package/dist/model/WorkItemParameterKeyModel.js +1 -1
- package/dist/model/WorkItemPreviewApiModel.js +1 -1
- package/dist/model/WorkItemPreviewStepApiModel.js +1 -1
- package/dist/model/WorkItemSearchQueryModel.js +4 -4
- package/dist/model/WorkItemSelectApiModel.js +1 -1
- package/dist/model/WorkItemSelectModel.js +1 -1
- package/dist/model/WorkItemShortApiResult.js +1 -1
- package/dist/model/WorkItemShortModel.js +5 -8
- package/dist/model/WorkItemStepChangeViewModel.js +1 -1
- package/dist/model/WorkItemStepChangeViewModelArrayChangedFieldWithDiffsViewModel.js +1 -1
- package/dist/model/{WorkItemEntityTypes.js → WorkItemTypeModel.js} +7 -7
- package/dist/model/WorkItemUpdatingFieldsApiModel.js +1 -1
- package/dist/model/WorkItemUpdatingFieldsApiResult.js +1 -1
- package/dist/model/WorkItemVersionModel.js +1 -1
- package/dist/model/WorkflowApiResult.js +1 -1
- package/dist/model/WorkflowExistsByNameApiResult.js +1 -1
- package/dist/model/WorkflowProjectApiResult.js +1 -1
- package/dist/model/WorkflowProjectApiResultApiCollectionPreview.js +1 -1
- package/dist/model/WorkflowProjectApiResultGroup.js +156 -0
- package/dist/model/WorkflowProjectApiResultGroupedReply.js +140 -0
- package/dist/model/WorkflowProjectApiResultIReply.js +157 -0
- package/dist/model/WorkflowProjectApiResultReply.js +1 -1
- package/dist/model/WorkflowShortApiResult.js +1 -1
- package/dist/model/WorkflowShortApiResultGroup.js +156 -0
- package/dist/model/WorkflowShortApiResultGroupedReply.js +140 -0
- package/dist/model/WorkflowShortApiResultIReply.js +157 -0
- package/dist/model/WorkflowShortApiResultReply.js +1 -1
- package/dist/model/WorkflowStatusApiModel.js +1 -1
- package/dist/model/WorkflowStatusApiResult.js +1 -1
- package/index.d.ts +3251 -1411
- package/package.json +1 -1
- package/dist/model/ProjectShortModel.js +0 -284
|
@@ -0,0 +1,156 @@
|
|
|
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 _AIServiceModelApiResult = _interopRequireDefault(require("./AIServiceModelApiResult"));
|
|
9
|
+
var _GroupKey = _interopRequireDefault(require("./GroupKey"));
|
|
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 AIServiceModelApiResultGroup model module.
|
|
33
|
+
* @module model/AIServiceModelApiResultGroup
|
|
34
|
+
* @version 7.3.0-TMS-5.8
|
|
35
|
+
*/
|
|
36
|
+
var AIServiceModelApiResultGroup = /*#__PURE__*/function () {
|
|
37
|
+
/**
|
|
38
|
+
* Constructs a new <code>AIServiceModelApiResultGroup</code>.
|
|
39
|
+
* @alias module:model/AIServiceModelApiResultGroup
|
|
40
|
+
* @param key {module:model/GroupKey}
|
|
41
|
+
* @param data {Array.<module:model/AIServiceModelApiResult>}
|
|
42
|
+
* @param totalCount {Number}
|
|
43
|
+
*/
|
|
44
|
+
function AIServiceModelApiResultGroup(key, data, totalCount) {
|
|
45
|
+
_classCallCheck(this, AIServiceModelApiResultGroup);
|
|
46
|
+
AIServiceModelApiResultGroup.initialize(this, key, data, totalCount);
|
|
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(AIServiceModelApiResultGroup, null, [{
|
|
55
|
+
key: "initialize",
|
|
56
|
+
value: function initialize(obj, key, data, totalCount) {
|
|
57
|
+
obj['key'] = key;
|
|
58
|
+
obj['data'] = data;
|
|
59
|
+
obj['totalCount'] = totalCount;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Constructs a <code>AIServiceModelApiResultGroup</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/AIServiceModelApiResultGroup} obj Optional instance to populate.
|
|
67
|
+
* @return {module:model/AIServiceModelApiResultGroup} The populated <code>AIServiceModelApiResultGroup</code> instance.
|
|
68
|
+
*/
|
|
69
|
+
}, {
|
|
70
|
+
key: "constructFromObject",
|
|
71
|
+
value: function constructFromObject(data, obj) {
|
|
72
|
+
if (data) {
|
|
73
|
+
obj = obj || new AIServiceModelApiResultGroup();
|
|
74
|
+
if (data.hasOwnProperty('key')) {
|
|
75
|
+
obj['key'] = _ApiClient["default"].convertToType(data['key'], _GroupKey["default"]);
|
|
76
|
+
}
|
|
77
|
+
if (data.hasOwnProperty('data')) {
|
|
78
|
+
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_AIServiceModelApiResult["default"]]);
|
|
79
|
+
}
|
|
80
|
+
if (data.hasOwnProperty('totalCount')) {
|
|
81
|
+
obj['totalCount'] = _ApiClient["default"].convertToType(data['totalCount'], 'Number');
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return obj;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Validates the JSON data with respect to <code>AIServiceModelApiResultGroup</code>.
|
|
89
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
90
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>AIServiceModelApiResultGroup</code>.
|
|
91
|
+
*/
|
|
92
|
+
}, {
|
|
93
|
+
key: "validateJSON",
|
|
94
|
+
value: function validateJSON(data) {
|
|
95
|
+
// check to make sure all required properties are present in the JSON string
|
|
96
|
+
var _iterator = _createForOfIteratorHelper(AIServiceModelApiResultGroup.RequiredProperties),
|
|
97
|
+
_step;
|
|
98
|
+
try {
|
|
99
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
100
|
+
var property = _step.value;
|
|
101
|
+
if (!data.hasOwnProperty(property)) {
|
|
102
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
// validate the optional field `key`
|
|
106
|
+
} catch (err) {
|
|
107
|
+
_iterator.e(err);
|
|
108
|
+
} finally {
|
|
109
|
+
_iterator.f();
|
|
110
|
+
}
|
|
111
|
+
if (data['key']) {
|
|
112
|
+
// data not null
|
|
113
|
+
_GroupKey["default"].validateJSON(data['key']);
|
|
114
|
+
}
|
|
115
|
+
if (data['data']) {
|
|
116
|
+
// data not null
|
|
117
|
+
// ensure the json data is an array
|
|
118
|
+
if (!Array.isArray(data['data'])) {
|
|
119
|
+
throw new Error("Expected the field `data` to be an array in the JSON data but got " + data['data']);
|
|
120
|
+
}
|
|
121
|
+
// validate the optional field `data` (array)
|
|
122
|
+
var _iterator2 = _createForOfIteratorHelper(data['data']),
|
|
123
|
+
_step2;
|
|
124
|
+
try {
|
|
125
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
126
|
+
var item = _step2.value;
|
|
127
|
+
_AIServiceModelApiResult["default"].validateJSON(item);
|
|
128
|
+
}
|
|
129
|
+
} catch (err) {
|
|
130
|
+
_iterator2.e(err);
|
|
131
|
+
} finally {
|
|
132
|
+
_iterator2.f();
|
|
133
|
+
}
|
|
134
|
+
;
|
|
135
|
+
}
|
|
136
|
+
return true;
|
|
137
|
+
}
|
|
138
|
+
}]);
|
|
139
|
+
}();
|
|
140
|
+
AIServiceModelApiResultGroup.RequiredProperties = ["key", "data", "totalCount"];
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @member {module:model/GroupKey} key
|
|
144
|
+
*/
|
|
145
|
+
AIServiceModelApiResultGroup.prototype['key'] = undefined;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* @member {Array.<module:model/AIServiceModelApiResult>} data
|
|
149
|
+
*/
|
|
150
|
+
AIServiceModelApiResultGroup.prototype['data'] = undefined;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* @member {Number} totalCount
|
|
154
|
+
*/
|
|
155
|
+
AIServiceModelApiResultGroup.prototype['totalCount'] = undefined;
|
|
156
|
+
var _default = exports["default"] = AIServiceModelApiResultGroup;
|
|
@@ -0,0 +1,140 @@
|
|
|
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 _AIServiceModelApiResultGroup = _interopRequireDefault(require("./AIServiceModelApiResultGroup"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
|
+
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); }
|
|
11
|
+
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; } } }; }
|
|
12
|
+
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; } }
|
|
13
|
+
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; }
|
|
14
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
15
|
+
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); } }
|
|
16
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
+
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); } /**
|
|
19
|
+
* API
|
|
20
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document: v2.0
|
|
23
|
+
*
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
+
* https://openapi-generator.tech
|
|
27
|
+
* Do not edit the class manually.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* The AIServiceModelApiResultGroupedReply model module.
|
|
32
|
+
* @module model/AIServiceModelApiResultGroupedReply
|
|
33
|
+
* @version 7.3.0-TMS-5.8
|
|
34
|
+
*/
|
|
35
|
+
var AIServiceModelApiResultGroupedReply = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new <code>AIServiceModelApiResultGroupedReply</code>.
|
|
38
|
+
* @alias module:model/AIServiceModelApiResultGroupedReply
|
|
39
|
+
* @param groups {Array.<module:model/AIServiceModelApiResultGroup>}
|
|
40
|
+
* @param totalCount {Number}
|
|
41
|
+
*/
|
|
42
|
+
function AIServiceModelApiResultGroupedReply(groups, totalCount) {
|
|
43
|
+
_classCallCheck(this, AIServiceModelApiResultGroupedReply);
|
|
44
|
+
AIServiceModelApiResultGroupedReply.initialize(this, groups, totalCount);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Initializes the fields of this object.
|
|
49
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
50
|
+
* Only for internal use.
|
|
51
|
+
*/
|
|
52
|
+
return _createClass(AIServiceModelApiResultGroupedReply, null, [{
|
|
53
|
+
key: "initialize",
|
|
54
|
+
value: function initialize(obj, groups, totalCount) {
|
|
55
|
+
obj['groups'] = groups;
|
|
56
|
+
obj['totalCount'] = totalCount;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Constructs a <code>AIServiceModelApiResultGroupedReply</code> from a plain JavaScript object, optionally creating a new instance.
|
|
61
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
62
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
63
|
+
* @param {module:model/AIServiceModelApiResultGroupedReply} obj Optional instance to populate.
|
|
64
|
+
* @return {module:model/AIServiceModelApiResultGroupedReply} The populated <code>AIServiceModelApiResultGroupedReply</code> instance.
|
|
65
|
+
*/
|
|
66
|
+
}, {
|
|
67
|
+
key: "constructFromObject",
|
|
68
|
+
value: function constructFromObject(data, obj) {
|
|
69
|
+
if (data) {
|
|
70
|
+
obj = obj || new AIServiceModelApiResultGroupedReply();
|
|
71
|
+
if (data.hasOwnProperty('groups')) {
|
|
72
|
+
obj['groups'] = _ApiClient["default"].convertToType(data['groups'], [_AIServiceModelApiResultGroup["default"]]);
|
|
73
|
+
}
|
|
74
|
+
if (data.hasOwnProperty('totalCount')) {
|
|
75
|
+
obj['totalCount'] = _ApiClient["default"].convertToType(data['totalCount'], 'Number');
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return obj;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Validates the JSON data with respect to <code>AIServiceModelApiResultGroupedReply</code>.
|
|
83
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
84
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>AIServiceModelApiResultGroupedReply</code>.
|
|
85
|
+
*/
|
|
86
|
+
}, {
|
|
87
|
+
key: "validateJSON",
|
|
88
|
+
value: function validateJSON(data) {
|
|
89
|
+
// check to make sure all required properties are present in the JSON string
|
|
90
|
+
var _iterator = _createForOfIteratorHelper(AIServiceModelApiResultGroupedReply.RequiredProperties),
|
|
91
|
+
_step;
|
|
92
|
+
try {
|
|
93
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
94
|
+
var property = _step.value;
|
|
95
|
+
if (!data.hasOwnProperty(property)) {
|
|
96
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
} catch (err) {
|
|
100
|
+
_iterator.e(err);
|
|
101
|
+
} finally {
|
|
102
|
+
_iterator.f();
|
|
103
|
+
}
|
|
104
|
+
if (data['groups']) {
|
|
105
|
+
// data not null
|
|
106
|
+
// ensure the json data is an array
|
|
107
|
+
if (!Array.isArray(data['groups'])) {
|
|
108
|
+
throw new Error("Expected the field `groups` to be an array in the JSON data but got " + data['groups']);
|
|
109
|
+
}
|
|
110
|
+
// validate the optional field `groups` (array)
|
|
111
|
+
var _iterator2 = _createForOfIteratorHelper(data['groups']),
|
|
112
|
+
_step2;
|
|
113
|
+
try {
|
|
114
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
115
|
+
var item = _step2.value;
|
|
116
|
+
_AIServiceModelApiResultGroup["default"].validateJSON(item);
|
|
117
|
+
}
|
|
118
|
+
} catch (err) {
|
|
119
|
+
_iterator2.e(err);
|
|
120
|
+
} finally {
|
|
121
|
+
_iterator2.f();
|
|
122
|
+
}
|
|
123
|
+
;
|
|
124
|
+
}
|
|
125
|
+
return true;
|
|
126
|
+
}
|
|
127
|
+
}]);
|
|
128
|
+
}();
|
|
129
|
+
AIServiceModelApiResultGroupedReply.RequiredProperties = ["groups", "totalCount"];
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @member {Array.<module:model/AIServiceModelApiResultGroup>} groups
|
|
133
|
+
*/
|
|
134
|
+
AIServiceModelApiResultGroupedReply.prototype['groups'] = undefined;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* @member {Number} totalCount
|
|
138
|
+
*/
|
|
139
|
+
AIServiceModelApiResultGroupedReply.prototype['totalCount'] = undefined;
|
|
140
|
+
var _default = exports["default"] = AIServiceModelApiResultGroupedReply;
|
|
@@ -0,0 +1,157 @@
|
|
|
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 _AIServiceModelApiResult = _interopRequireDefault(require("./AIServiceModelApiResult"));
|
|
9
|
+
var _AIServiceModelApiResultGroup = _interopRequireDefault(require("./AIServiceModelApiResultGroup"));
|
|
10
|
+
var _AIServiceModelApiResultGroupedReply = _interopRequireDefault(require("./AIServiceModelApiResultGroupedReply"));
|
|
11
|
+
var _AIServiceModelApiResultReply = _interopRequireDefault(require("./AIServiceModelApiResultReply"));
|
|
12
|
+
var _AIServiceModelApiResultIReply;
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
|
+
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); }
|
|
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 _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
19
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
20
|
+
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); } /**
|
|
21
|
+
* API
|
|
22
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
23
|
+
*
|
|
24
|
+
* The version of the OpenAPI document: v2.0
|
|
25
|
+
*
|
|
26
|
+
*
|
|
27
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
28
|
+
* https://openapi-generator.tech
|
|
29
|
+
* Do not edit the class manually.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* The AIServiceModelApiResultIReply model module.
|
|
34
|
+
* @module model/AIServiceModelApiResultIReply
|
|
35
|
+
* @version 7.3.0-TMS-5.8
|
|
36
|
+
*/
|
|
37
|
+
var AIServiceModelApiResultIReply = /*#__PURE__*/function () {
|
|
38
|
+
/**
|
|
39
|
+
* Constructs a new <code>AIServiceModelApiResultIReply</code>.
|
|
40
|
+
* @alias module:model/AIServiceModelApiResultIReply
|
|
41
|
+
* @param {(module:model/AIServiceModelApiResultGroupedReply|module:model/AIServiceModelApiResultReply)} instance The actual instance to initialize AIServiceModelApiResultIReply.
|
|
42
|
+
*/
|
|
43
|
+
function AIServiceModelApiResultIReply() {
|
|
44
|
+
var instance = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
45
|
+
_classCallCheck(this, AIServiceModelApiResultIReply);
|
|
46
|
+
/**
|
|
47
|
+
* Returns the JSON representation of the actual instance.
|
|
48
|
+
* @return {string}
|
|
49
|
+
*/
|
|
50
|
+
_defineProperty(this, "toJSON", function () {
|
|
51
|
+
return this.getActualInstance();
|
|
52
|
+
});
|
|
53
|
+
if (instance === null) {
|
|
54
|
+
this.actualInstance = null;
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
var match = 0;
|
|
58
|
+
var errorMessages = [];
|
|
59
|
+
try {
|
|
60
|
+
if (typeof instance === "AIServiceModelApiResultReply") {
|
|
61
|
+
this.actualInstance = instance;
|
|
62
|
+
} else {
|
|
63
|
+
// plain JS object
|
|
64
|
+
// validate the object
|
|
65
|
+
_AIServiceModelApiResultReply["default"].validateJSON(instance); // throw an exception if no match
|
|
66
|
+
// create AIServiceModelApiResultReply from JS object
|
|
67
|
+
this.actualInstance = _AIServiceModelApiResultReply["default"].constructFromObject(instance);
|
|
68
|
+
}
|
|
69
|
+
match++;
|
|
70
|
+
} catch (err) {
|
|
71
|
+
// json data failed to deserialize into AIServiceModelApiResultReply
|
|
72
|
+
errorMessages.push("Failed to construct AIServiceModelApiResultReply: " + err);
|
|
73
|
+
}
|
|
74
|
+
try {
|
|
75
|
+
if (typeof instance === "AIServiceModelApiResultGroupedReply") {
|
|
76
|
+
this.actualInstance = instance;
|
|
77
|
+
} else {
|
|
78
|
+
// plain JS object
|
|
79
|
+
// validate the object
|
|
80
|
+
_AIServiceModelApiResultGroupedReply["default"].validateJSON(instance); // throw an exception if no match
|
|
81
|
+
// create AIServiceModelApiResultGroupedReply from JS object
|
|
82
|
+
this.actualInstance = _AIServiceModelApiResultGroupedReply["default"].constructFromObject(instance);
|
|
83
|
+
}
|
|
84
|
+
match++;
|
|
85
|
+
} catch (err) {
|
|
86
|
+
// json data failed to deserialize into AIServiceModelApiResultGroupedReply
|
|
87
|
+
errorMessages.push("Failed to construct AIServiceModelApiResultGroupedReply: " + err);
|
|
88
|
+
}
|
|
89
|
+
if (match > 1) {
|
|
90
|
+
throw new Error("Multiple matches found constructing `AIServiceModelApiResultIReply` with oneOf schemas AIServiceModelApiResultGroupedReply, AIServiceModelApiResultReply. Input: " + JSON.stringify(instance));
|
|
91
|
+
} else if (match === 0) {
|
|
92
|
+
this.actualInstance = null; // clear the actual instance in case there are multiple matches
|
|
93
|
+
throw new Error("No match found constructing `AIServiceModelApiResultIReply` with oneOf schemas AIServiceModelApiResultGroupedReply, AIServiceModelApiResultReply. Details: " + errorMessages.join(", "));
|
|
94
|
+
} else {// only 1 match
|
|
95
|
+
// the input is valid
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Constructs a <code>AIServiceModelApiResultIReply</code> from a plain JavaScript object, optionally creating a new instance.
|
|
101
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
102
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
103
|
+
* @param {module:model/AIServiceModelApiResultIReply} obj Optional instance to populate.
|
|
104
|
+
* @return {module:model/AIServiceModelApiResultIReply} The populated <code>AIServiceModelApiResultIReply</code> instance.
|
|
105
|
+
*/
|
|
106
|
+
return _createClass(AIServiceModelApiResultIReply, [{
|
|
107
|
+
key: "getActualInstance",
|
|
108
|
+
value:
|
|
109
|
+
/**
|
|
110
|
+
* Gets the actual instance, which can be <code>AIServiceModelApiResultGroupedReply</code>, <code>AIServiceModelApiResultReply</code>.
|
|
111
|
+
* @return {(module:model/AIServiceModelApiResultGroupedReply|module:model/AIServiceModelApiResultReply)} The actual instance.
|
|
112
|
+
*/
|
|
113
|
+
function getActualInstance() {
|
|
114
|
+
return this.actualInstance;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Sets the actual instance, which can be <code>AIServiceModelApiResultGroupedReply</code>, <code>AIServiceModelApiResultReply</code>.
|
|
119
|
+
* @param {(module:model/AIServiceModelApiResultGroupedReply|module:model/AIServiceModelApiResultReply)} obj The actual instance.
|
|
120
|
+
*/
|
|
121
|
+
}, {
|
|
122
|
+
key: "setActualInstance",
|
|
123
|
+
value: function setActualInstance(obj) {
|
|
124
|
+
this.actualInstance = AIServiceModelApiResultIReply.constructFromObject(obj).getActualInstance();
|
|
125
|
+
}
|
|
126
|
+
}], [{
|
|
127
|
+
key: "constructFromObject",
|
|
128
|
+
value: function constructFromObject(data, obj) {
|
|
129
|
+
return new AIServiceModelApiResultIReply(data);
|
|
130
|
+
}
|
|
131
|
+
}]);
|
|
132
|
+
}();
|
|
133
|
+
/**
|
|
134
|
+
* @member {Number} totalCount
|
|
135
|
+
*/
|
|
136
|
+
_AIServiceModelApiResultIReply = AIServiceModelApiResultIReply;
|
|
137
|
+
/**
|
|
138
|
+
* Create an instance of AIServiceModelApiResultIReply from a JSON string.
|
|
139
|
+
* @param {string} json_string JSON string.
|
|
140
|
+
* @return {module:model/AIServiceModelApiResultIReply} An instance of AIServiceModelApiResultIReply.
|
|
141
|
+
*/
|
|
142
|
+
_defineProperty(AIServiceModelApiResultIReply, "fromJSON", function (json_string) {
|
|
143
|
+
return _AIServiceModelApiResultIReply.constructFromObject(JSON.parse(json_string));
|
|
144
|
+
});
|
|
145
|
+
AIServiceModelApiResultIReply.prototype['totalCount'] = undefined;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* @member {Array.<module:model/AIServiceModelApiResult>} data
|
|
149
|
+
*/
|
|
150
|
+
AIServiceModelApiResultIReply.prototype['data'] = undefined;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* @member {Array.<module:model/AIServiceModelApiResultGroup>} groups
|
|
154
|
+
*/
|
|
155
|
+
AIServiceModelApiResultIReply.prototype['groups'] = undefined;
|
|
156
|
+
AIServiceModelApiResultIReply.OneOf = ["AIServiceModelApiResultGroupedReply", "AIServiceModelApiResultReply"];
|
|
157
|
+
var _default = exports["default"] = AIServiceModelApiResultIReply;
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The AIServiceModelApiResultReply model module.
|
|
32
32
|
* @module model/AIServiceModelApiResultReply
|
|
33
|
-
* @version 7.
|
|
33
|
+
* @version 7.3.0-TMS-5.8
|
|
34
34
|
*/
|
|
35
35
|
var AIServiceModelApiResultReply = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The AssignAttachmentApiModel model module.
|
|
31
31
|
* @module model/AssignAttachmentApiModel
|
|
32
|
-
* @version 7.
|
|
32
|
+
* @version 7.3.0-TMS-5.8
|
|
33
33
|
*/
|
|
34
34
|
var AssignAttachmentApiModel = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var _LinkType = _interopRequireDefault(require("./LinkType"));
|
|
9
8
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
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); }
|
|
11
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; } } }; }
|
|
@@ -28,20 +27,19 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
27
|
*
|
|
29
28
|
*/
|
|
30
29
|
/**
|
|
31
|
-
* The
|
|
32
|
-
* @module model/
|
|
33
|
-
* @version 7.
|
|
30
|
+
* The AssignAutoTestCaseIdApiModel model module.
|
|
31
|
+
* @module model/AssignAutoTestCaseIdApiModel
|
|
32
|
+
* @version 7.3.0-TMS-5.8
|
|
34
33
|
*/
|
|
35
|
-
var
|
|
34
|
+
var AssignAutoTestCaseIdApiModel = /*#__PURE__*/function () {
|
|
36
35
|
/**
|
|
37
|
-
* Constructs a new <code>
|
|
38
|
-
* @alias module:model/
|
|
39
|
-
* @param
|
|
40
|
-
* @param hasInfo {Boolean} Flag defines if link relates to integrated jira service
|
|
36
|
+
* Constructs a new <code>AssignAutoTestCaseIdApiModel</code>.
|
|
37
|
+
* @alias module:model/AssignAutoTestCaseIdApiModel
|
|
38
|
+
* @param id {String} Unique ID of the automated test case
|
|
41
39
|
*/
|
|
42
|
-
function
|
|
43
|
-
_classCallCheck(this,
|
|
44
|
-
|
|
40
|
+
function AssignAutoTestCaseIdApiModel(id) {
|
|
41
|
+
_classCallCheck(this, AssignAutoTestCaseIdApiModel);
|
|
42
|
+
AssignAutoTestCaseIdApiModel.initialize(this, id);
|
|
45
43
|
}
|
|
46
44
|
|
|
47
45
|
/**
|
|
@@ -49,57 +47,41 @@ var Link = /*#__PURE__*/function () {
|
|
|
49
47
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
50
48
|
* Only for internal use.
|
|
51
49
|
*/
|
|
52
|
-
return _createClass(
|
|
50
|
+
return _createClass(AssignAutoTestCaseIdApiModel, null, [{
|
|
53
51
|
key: "initialize",
|
|
54
|
-
value: function initialize(obj,
|
|
55
|
-
obj['
|
|
56
|
-
obj['hasInfo'] = hasInfo;
|
|
52
|
+
value: function initialize(obj, id) {
|
|
53
|
+
obj['id'] = id;
|
|
57
54
|
}
|
|
58
55
|
|
|
59
56
|
/**
|
|
60
|
-
* Constructs a <code>
|
|
57
|
+
* Constructs a <code>AssignAutoTestCaseIdApiModel</code> from a plain JavaScript object, optionally creating a new instance.
|
|
61
58
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
62
59
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
63
|
-
* @param {module:model/
|
|
64
|
-
* @return {module:model/
|
|
60
|
+
* @param {module:model/AssignAutoTestCaseIdApiModel} obj Optional instance to populate.
|
|
61
|
+
* @return {module:model/AssignAutoTestCaseIdApiModel} The populated <code>AssignAutoTestCaseIdApiModel</code> instance.
|
|
65
62
|
*/
|
|
66
63
|
}, {
|
|
67
64
|
key: "constructFromObject",
|
|
68
65
|
value: function constructFromObject(data, obj) {
|
|
69
66
|
if (data) {
|
|
70
|
-
obj = obj || new
|
|
67
|
+
obj = obj || new AssignAutoTestCaseIdApiModel();
|
|
71
68
|
if (data.hasOwnProperty('id')) {
|
|
72
69
|
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
|
|
73
70
|
}
|
|
74
|
-
if (data.hasOwnProperty('title')) {
|
|
75
|
-
obj['title'] = _ApiClient["default"].convertToType(data['title'], 'String');
|
|
76
|
-
}
|
|
77
|
-
if (data.hasOwnProperty('url')) {
|
|
78
|
-
obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
|
|
79
|
-
}
|
|
80
|
-
if (data.hasOwnProperty('description')) {
|
|
81
|
-
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
|
82
|
-
}
|
|
83
|
-
if (data.hasOwnProperty('type')) {
|
|
84
|
-
obj['type'] = _ApiClient["default"].convertToType(data['type'], _LinkType["default"]);
|
|
85
|
-
}
|
|
86
|
-
if (data.hasOwnProperty('hasInfo')) {
|
|
87
|
-
obj['hasInfo'] = _ApiClient["default"].convertToType(data['hasInfo'], 'Boolean');
|
|
88
|
-
}
|
|
89
71
|
}
|
|
90
72
|
return obj;
|
|
91
73
|
}
|
|
92
74
|
|
|
93
75
|
/**
|
|
94
|
-
* Validates the JSON data with respect to <code>
|
|
76
|
+
* Validates the JSON data with respect to <code>AssignAutoTestCaseIdApiModel</code>.
|
|
95
77
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
96
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
78
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>AssignAutoTestCaseIdApiModel</code>.
|
|
97
79
|
*/
|
|
98
80
|
}, {
|
|
99
81
|
key: "validateJSON",
|
|
100
82
|
value: function validateJSON(data) {
|
|
101
83
|
// check to make sure all required properties are present in the JSON string
|
|
102
|
-
var _iterator = _createForOfIteratorHelper(
|
|
84
|
+
var _iterator = _createForOfIteratorHelper(AssignAutoTestCaseIdApiModel.RequiredProperties),
|
|
103
85
|
_step;
|
|
104
86
|
try {
|
|
105
87
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
@@ -117,57 +99,15 @@ var Link = /*#__PURE__*/function () {
|
|
|
117
99
|
if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
|
|
118
100
|
throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
|
|
119
101
|
}
|
|
120
|
-
// ensure the json data is a string
|
|
121
|
-
if (data['title'] && !(typeof data['title'] === 'string' || data['title'] instanceof String)) {
|
|
122
|
-
throw new Error("Expected the field `title` to be a primitive type in the JSON string but got " + data['title']);
|
|
123
|
-
}
|
|
124
|
-
// ensure the json data is a string
|
|
125
|
-
if (data['url'] && !(typeof data['url'] === 'string' || data['url'] instanceof String)) {
|
|
126
|
-
throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data['url']);
|
|
127
|
-
}
|
|
128
|
-
// ensure the json data is a string
|
|
129
|
-
if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
|
|
130
|
-
throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
|
|
131
|
-
}
|
|
132
102
|
return true;
|
|
133
103
|
}
|
|
134
104
|
}]);
|
|
135
105
|
}();
|
|
136
|
-
|
|
106
|
+
AssignAutoTestCaseIdApiModel.RequiredProperties = ["id"];
|
|
137
107
|
|
|
138
108
|
/**
|
|
139
|
-
*
|
|
109
|
+
* Unique ID of the automated test case
|
|
140
110
|
* @member {String} id
|
|
141
111
|
*/
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* Link name.
|
|
146
|
-
* @member {String} title
|
|
147
|
-
*/
|
|
148
|
-
Link.prototype['title'] = undefined;
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* Address can be specified without protocol, but necessarily with the domain.
|
|
152
|
-
* @member {String} url
|
|
153
|
-
*/
|
|
154
|
-
Link.prototype['url'] = undefined;
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* Link description.
|
|
158
|
-
* @member {String} description
|
|
159
|
-
*/
|
|
160
|
-
Link.prototype['description'] = undefined;
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* Specifies the type of the link.
|
|
164
|
-
* @member {module:model/LinkType} type
|
|
165
|
-
*/
|
|
166
|
-
Link.prototype['type'] = undefined;
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* Flag defines if link relates to integrated jira service
|
|
170
|
-
* @member {Boolean} hasInfo
|
|
171
|
-
*/
|
|
172
|
-
Link.prototype['hasInfo'] = undefined;
|
|
173
|
-
var _default = exports["default"] = Link;
|
|
112
|
+
AssignAutoTestCaseIdApiModel.prototype['id'] = undefined;
|
|
113
|
+
var _default = exports["default"] = AssignAutoTestCaseIdApiModel;
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The AssignIterationApiModel model module.
|
|
32
32
|
* @module model/AssignIterationApiModel
|
|
33
|
-
* @version 7.
|
|
33
|
+
* @version 7.3.0-TMS-5.8
|
|
34
34
|
*/
|
|
35
35
|
var AssignIterationApiModel = /*#__PURE__*/function () {
|
|
36
36
|
/**
|