testit-api-client 7.2.1 → 7.2.2
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 +4 -0
- package/dist/api/AttachmentsApi.js +1 -1
- package/dist/api/AutoTestsApi.js +1 -1
- package/dist/api/BackgroundJobsApi.js +1 -1
- package/dist/api/ConfigurationsApi.js +1 -1
- package/dist/api/CustomAttributeTemplatesApi.js +1 -1
- package/dist/api/CustomAttributesApi.js +1 -1
- package/dist/api/ExternalIssuesApi.js +1 -1
- package/dist/api/NotificationsApi.js +1 -1
- package/dist/api/OpenIdConnectionsApi.js +76 -0
- package/dist/api/ParametersApi.js +1 -1
- package/dist/api/ProjectAttributeTemplatesApi.js +1 -1
- package/dist/api/ProjectAttributesApi.js +1 -1
- package/dist/api/ProjectConfigurationsApi.js +1 -1
- package/dist/api/ProjectSectionsApi.js +1 -1
- package/dist/api/ProjectSettingsApi.js +1 -1
- package/dist/api/ProjectTestPlanAttributesApi.js +1 -1
- package/dist/api/ProjectTestPlanTestPointsApi.js +1 -1
- package/dist/api/ProjectTestPlansApi.js +1 -1
- package/dist/api/ProjectWorkItemsApi.js +1 -1
- package/dist/api/ProjectsApi.js +1 -1
- package/dist/api/SearchApi.js +1 -1
- package/dist/api/SectionsApi.js +1 -1
- package/dist/api/TagsApi.js +1 -1
- package/dist/api/TestPlansApi.js +1 -1
- package/dist/api/TestPointsApi.js +1 -1
- package/dist/api/TestResultsApi.js +1 -1
- package/dist/api/TestRunsApi.js +1 -1
- package/dist/api/TestStatusesApi.js +1 -1
- package/dist/api/TestSuitesApi.js +1 -1
- package/dist/api/UsersApi.js +1 -1
- package/dist/api/WebhooksApi.js +1 -1
- package/dist/api/WebhooksLogsApi.js +1 -1
- package/dist/api/WorkItemsApi.js +1 -1
- package/dist/api/WorkItemsCommentsApi.js +1 -1
- package/dist/api/WorkflowsApi.js +1 -1
- package/dist/index.js +28 -0
- package/dist/model/AIServiceModelApiResult.js +1 -1
- package/dist/model/AIServiceModelApiResultReply.js +1 -1
- package/dist/model/AssignAttachmentApiModel.js +1 -1
- package/dist/model/AssignIterationApiModel.js +1 -1
- package/dist/model/AttachmentApiResult.js +1 -1
- package/dist/model/AttachmentChangeViewModel.js +1 -1
- package/dist/model/AttachmentChangeViewModelArrayChangedFieldViewModel.js +1 -1
- package/dist/model/AttachmentModel.js +1 -1
- package/dist/model/AttachmentPutModel.js +1 -1
- package/dist/model/AttachmentPutModelAutoTestStepResultsModel.js +1 -1
- package/dist/model/AttachmentUpdateRequest.js +1 -1
- package/dist/model/AuditApiResult.js +1 -1
- package/dist/model/AutoTest.js +1 -1
- package/dist/model/AutoTestApiResult.js +1 -1
- package/dist/model/AutoTestAverageDurationApiResult.js +1 -1
- package/dist/model/AutoTestBulkDeleteApiModel.js +1 -1
- package/dist/model/AutoTestBulkDeleteApiResult.js +1 -1
- package/dist/model/AutoTestChangeViewModel.js +1 -1
- package/dist/model/AutoTestChangeViewModelArrayChangedFieldViewModel.js +1 -1
- package/dist/model/AutoTestClassCountApiModel.js +1 -1
- package/dist/model/AutoTestCreateApiModel.js +1 -1
- package/dist/model/AutoTestExtractionApiModel.js +1 -1
- package/dist/model/AutoTestFilterApiModel.js +1 -1
- package/dist/model/AutoTestFilterModel.js +1 -1
- package/dist/model/AutoTestFlakyBulkApiModel.js +1 -1
- package/dist/model/AutoTestIdModel.js +1 -1
- package/dist/model/AutoTestModel.js +1 -1
- package/dist/model/AutoTestModelV2GetModel.js +1 -1
- package/dist/model/AutoTestNamespaceApiResult.js +1 -1
- package/dist/model/AutoTestNamespaceCountApiModel.js +1 -1
- package/dist/model/AutoTestNamespacesCountResponse.js +1 -1
- package/dist/model/AutoTestProjectSettingsApiModel.js +1 -1
- package/dist/model/AutoTestProjectSettingsApiResult.js +1 -1
- package/dist/model/AutoTestResultHistoryApiResult.js +1 -1
- package/dist/model/AutoTestResultHistorySelectApiModel.js +1 -1
- package/dist/model/AutoTestResultReasonShort.js +1 -1
- package/dist/model/AutoTestResultReasonsCountItemModel.js +1 -1
- package/dist/model/AutoTestResultReasonsCountModel.js +1 -1
- package/dist/model/AutoTestResultsForTestRunModel.js +1 -1
- package/dist/model/AutoTestSearchApiModel.js +1 -1
- package/dist/model/AutoTestSearchIncludeApiModel.js +1 -1
- package/dist/model/AutoTestSelectApiModel.js +1 -1
- package/dist/model/AutoTestSelectModel.js +1 -1
- package/dist/model/AutoTestShortApiResult.js +1 -1
- package/dist/model/AutoTestStep.js +1 -1
- package/dist/model/AutoTestStepApiModel.js +1 -1
- package/dist/model/AutoTestStepApiResult.js +1 -1
- package/dist/model/AutoTestStepModel.js +1 -1
- package/dist/model/AutoTestStepResult.js +1 -1
- package/dist/model/AutoTestStepResultUpdateRequest.js +1 -1
- package/dist/model/AutoTestStepResultsApiResult.js +1 -1
- package/dist/model/AutoTestUpdateApiModel.js +1 -1
- package/dist/model/AutoTestWorkItemIdentifierApiResult.js +1 -1
- package/dist/model/AutoTestsExtractionModel.js +1 -1
- package/dist/model/AutotestResultReasonFilterModel.js +1 -1
- package/dist/model/AutotestResultReasonShortGetModel.js +1 -1
- package/dist/model/BackgroundJobAttachmentModel.js +1 -1
- package/dist/model/BackgroundJobFilterModel.js +1 -1
- package/dist/model/BackgroundJobGetModel.js +1 -1
- package/dist/model/BooleanChangedFieldViewModel.js +1 -1
- package/dist/model/BooleanNullableChangedFieldViewModel.js +1 -1
- package/dist/model/CollectionFilter.js +1 -1
- package/dist/model/CompositeFilter.js +1 -1
- package/dist/model/ConfigurationByParametersModel.js +1 -1
- package/dist/model/ConfigurationExtractionApiModel.js +1 -1
- package/dist/model/ConfigurationExtractionModel.js +1 -1
- package/dist/model/ConfigurationFilterApiModel.js +1 -1
- package/dist/model/ConfigurationFilterModel.js +1 -1
- package/dist/model/ConfigurationModel.js +1 -1
- package/dist/model/ConfigurationPostModel.js +1 -1
- package/dist/model/ConfigurationPutModel.js +1 -1
- package/dist/model/ConfigurationSelectApiModel.js +1 -1
- package/dist/model/ConfigurationSelectModel.js +1 -1
- package/dist/model/ConfigurationShort.js +1 -1
- package/dist/model/ConfigurationShortApiResult.js +1 -1
- package/dist/model/ConfigurationShortModel.js +1 -1
- package/dist/model/CreateDefectApiModel.js +1 -1
- package/dist/model/CreateEmptyTestRunApiModel.js +14 -1
- package/dist/model/CreateFailureCategoryApiModel.js +1 -1
- package/dist/model/CreateFailureClassRegexApiModel.js +1 -1
- package/dist/model/CreateLinkApiModel.js +1 -1
- package/dist/model/CreateParameterApiModel.js +1 -1
- package/dist/model/CreateProjectApiModel.js +1 -1
- package/dist/model/CreateProjectFailureCategoryApiModel.js +1 -1
- package/dist/model/CreateStepApiModel.js +1 -1
- package/dist/model/CreateTagApiModel.js +1 -1
- package/dist/model/CreateTestPlanApiModel.js +1 -1
- package/dist/model/CreateTestRunAndFillByAutoTestsApiModel.js +14 -1
- package/dist/model/CreateTestRunAndFillByConfigurationsApiModel.js +14 -1
- package/dist/model/CreateTestRunAndFillByWorkItemsApiModel.js +14 -1
- package/dist/model/CreateTestStatusApiModel.js +1 -1
- package/dist/model/CreateWorkItemApiModel.js +1 -1
- 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 +1 -1
- package/dist/model/CustomAttributeChangeModel.js +1 -1
- package/dist/model/CustomAttributeGetModel.js +1 -1
- package/dist/model/CustomAttributeModel.js +1 -1
- package/dist/model/CustomAttributeOptionApiResult.js +1 -1
- package/dist/model/CustomAttributeOptionModel.js +1 -1
- package/dist/model/CustomAttributeOptionPostModel.js +1 -1
- package/dist/model/CustomAttributePostModel.js +1 -1
- package/dist/model/CustomAttributePutModel.js +1 -1
- package/dist/model/CustomAttributeSearchQueryModel.js +1 -1
- package/dist/model/CustomAttributeSearchResponseModel.js +1 -1
- package/dist/model/CustomAttributeTemplateModel.js +1 -1
- package/dist/model/CustomAttributeTemplatePostModel.js +1 -1
- package/dist/model/CustomAttributeTemplatePutModel.js +1 -1
- package/dist/model/CustomAttributeTemplateSearchQueryModel.js +1 -1
- package/dist/model/CustomAttributeTemplateValidationResult.js +1 -1
- package/dist/model/CustomAttributeTestPlanProjectRelationPutModel.js +1 -1
- package/dist/model/CustomAttributeValidationResult.js +1 -1
- package/dist/model/DateTimeRangeSelectorModel.js +1 -1
- package/dist/model/DefectApiModel.js +1 -1
- package/dist/model/DemoProjectApiResult.js +1 -1
- package/dist/model/EnableProjectExternalServiceApiModel.js +1 -1
- package/dist/model/ExternalFormAllowedValueModel.js +1 -1
- package/dist/model/ExternalFormCreateModel.js +1 -1
- package/dist/model/ExternalFormFieldModel.js +1 -1
- package/dist/model/ExternalFormLinkModel.js +1 -1
- package/dist/model/ExternalFormModel.js +1 -1
- package/dist/model/ExternalIssueApiFieldSuggestion.js +1 -1
- package/dist/model/ExternalIssueApiFieldSuggestionReply.js +1 -1
- package/dist/model/ExternalIssueApiMetadata.js +1 -1
- package/dist/model/ExternalIssueApiPriority.js +1 -1
- package/dist/model/ExternalIssueApiResult.js +1 -1
- package/dist/model/ExternalIssueApiType.js +1 -1
- package/dist/model/ExternalIssueExternalServiceApiResult.js +1 -1
- package/dist/model/ExternalIssueMetadataModel.js +1 -1
- package/dist/model/ExternalIssueModel.js +1 -1
- package/dist/model/ExternalIssuePriorityModel.js +1 -1
- package/dist/model/ExternalIssueTypeModel.js +1 -1
- package/dist/model/ExternalLinkModel.js +1 -1
- package/dist/model/ExternalServiceMetadataApiResult.js +1 -1
- package/dist/model/ExternalServicesMetadataApiResult.js +1 -1
- package/dist/model/FailureCategoryApiResult.js +1 -1
- package/dist/model/FailureCategoryGroupApiModel.js +1 -1
- package/dist/model/FailureCategoryGroupApiResult.js +1 -1
- package/dist/model/FailureCategoryGroupItemApiResult.js +1 -1
- package/dist/model/FailureCategoryGroupItemApiResultReply.js +1 -1
- package/dist/model/FailureCategoryGroupSearchApiModel.js +1 -1
- package/dist/model/FailureCategoryItemApiResult.js +1 -1
- package/dist/model/FailureClassRegexApiResult.js +1 -1
- package/dist/model/Filter.js +1 -1
- package/dist/model/FilterModel.js +1 -1
- package/dist/model/GenerateWorkItemPreviewsApiModel.js +1 -1
- package/dist/model/GenerateWorkItemPreviewsApiResult.js +1 -1
- package/dist/model/GetAIServiceModelsApiModel.js +1 -1
- package/dist/model/GetExternalFormApiResult.js +1 -1
- package/dist/model/GetExternalIssueSuggestionsApiModel.js +1 -1
- package/dist/model/GetShortProjectsApiModel.js +1 -1
- package/dist/model/GetXlsxTestPointsByTestPlanModel.js +1 -1
- package/dist/model/GlobalCustomAttributePostModel.js +1 -1
- package/dist/model/GlobalCustomAttributeUpdateModel.js +1 -1
- package/dist/model/GlobalSearchItemResult.js +1 -1
- package/dist/model/GlobalSearchRequest.js +1 -1
- package/dist/model/GlobalSearchResponse.js +1 -1
- package/dist/model/GuidChangedFieldViewModel.js +1 -1
- package/dist/model/GuidExtractionModel.js +1 -1
- package/dist/model/IFilter.js +1 -1
- package/dist/model/Inquiry.js +1 -1
- package/dist/model/Int32ChangedFieldViewModel.js +1 -1
- package/dist/model/Int32RangeSelectorModel.js +1 -1
- package/dist/model/Int64ChangedFieldViewModel.js +1 -1
- package/dist/model/Int64RangeSelectorModel.js +1 -1
- package/dist/model/IterationApiResult.js +1 -1
- package/dist/model/IterationModel.js +1 -1
- package/dist/model/Label.js +1 -1
- package/dist/model/LabelApiModel.js +1 -1
- package/dist/model/LabelApiResult.js +1 -1
- package/dist/model/LabelShortModel.js +1 -1
- package/dist/model/LastTestResultApiResult.js +1 -1
- package/dist/model/LastTestResultModel.js +1 -1
- package/dist/model/Link.js +1 -1
- package/dist/model/LinkApiResult.js +1 -1
- package/dist/model/LinkCreateApiModel.js +1 -1
- package/dist/model/LinkModel.js +1 -1
- package/dist/model/LinkPostModel.js +1 -1
- package/dist/model/LinkPutModel.js +1 -1
- package/dist/model/LinkShort.js +1 -1
- package/dist/model/LinkShortApiResult.js +1 -1
- package/dist/model/LinkShortModel.js +1 -1
- package/dist/model/LinkUpdateApiModel.js +1 -1
- package/dist/model/ManualRerunApiResult.js +1 -1
- package/dist/model/ManualRerunSelectTestResultsApiModel.js +1 -1
- package/dist/model/ManualRerunTestResultApiModel.js +1 -1
- package/dist/model/NamedEntityApiModel.js +1 -1
- package/dist/model/NotificationModel.js +1 -1
- package/dist/model/NotificationQueryFilterModel.js +1 -1
- package/dist/model/{RerunTestResultModel.js → OpenIdConnectionClientShortModel.js} +47 -33
- package/dist/model/OpenIdConnectionSettingsShortClientModel.js +101 -0
- package/dist/model/Operation.js +1 -1
- package/dist/model/Order.js +1 -1
- package/dist/model/Page.js +1 -1
- package/dist/model/ParameterApiResult.js +1 -1
- package/dist/model/ParameterGroupApiResult.js +1 -1
- package/dist/model/ParameterGroupsFilterApiModel.js +1 -1
- package/dist/model/ParameterIterationModel.js +1 -1
- package/dist/model/ParameterShortApiResult.js +1 -1
- package/dist/model/ParameterShortModel.js +1 -1
- package/dist/model/ParametersFilterApiModel.js +1 -1
- package/dist/model/PeriodViewModel.js +1 -1
- package/dist/model/PeriodViewModelChangedFieldViewModel.js +1 -1
- package/dist/model/PreviewsIssueLinkApiModel.js +1 -1
- package/dist/model/PreviewsIssueLinkApiResult.js +1 -1
- package/dist/model/ProblemDetails.js +1 -1
- package/dist/model/ProjectApiResult.js +1 -1
- package/dist/model/ProjectAttributesFilterModel.js +1 -1
- package/dist/model/ProjectCustomAttributeTemplateGetModel.js +1 -1
- package/dist/model/ProjectCustomAttributesTemplatesFilterModel.js +1 -1
- package/dist/model/ProjectDetailedFailureCategoryApiResult.js +1 -1
- package/dist/model/ProjectExternalServiceApiResult.js +1 -1
- package/dist/model/ProjectExternalServiceSettingsApiResult.js +1 -1
- package/dist/model/ProjectExternalServicesApiResult.js +1 -1
- package/dist/model/ProjectExtractionModel.js +1 -1
- package/dist/model/ProjectFailureCategoryApiResult.js +1 -1
- package/dist/model/ProjectFailureCategoryGroupItemApiResult.js +1 -1
- package/dist/model/ProjectFailureCategoryGroupItemApiResultReply.js +1 -1
- package/dist/model/ProjectModel.js +1 -1
- package/dist/model/ProjectNameApiResult.js +1 -1
- package/dist/model/ProjectSelectModel.js +1 -1
- package/dist/model/ProjectShortApiResult.js +1 -1
- package/dist/model/ProjectShortApiResultReply.js +1 -1
- package/dist/model/ProjectShortModel.js +1 -1
- package/dist/model/ProjectShortestModel.js +1 -1
- package/dist/model/ProjectTestPlansFilterModel.js +1 -1
- package/dist/model/ProjectsFilterModel.js +1 -1
- package/dist/model/ReplaceProjectExternalServiceApiModel.js +1 -1
- package/dist/model/RerunTestResultApiResult.js +1 -1
- package/dist/model/RerunsApiResult.js +1 -1
- package/dist/model/SearchCustomAttributeTemplateGetModel.js +1 -1
- package/dist/model/SearchExternalIssuesApiModel.js +1 -1
- package/dist/model/SearchTestRunsApiModel.js +25 -1
- package/dist/model/SearchTestStatusesApiModel.js +1 -1
- package/dist/model/SearchWebhooksQueryModel.js +1 -1
- package/dist/model/SearchWorkItemLinkUrlsApiResult.js +1 -1
- package/dist/model/SearchWorkflowProjectsApiModel.js +1 -1
- package/dist/model/SearchWorkflowsApiModel.js +1 -1
- package/dist/model/SectionModel.js +1 -1
- package/dist/model/SectionMoveModel.js +1 -1
- package/dist/model/SectionPostModel.js +1 -1
- package/dist/model/SectionPutModel.js +1 -1
- package/dist/model/SectionRenameModel.js +1 -1
- package/dist/model/SectionWithStepsModel.js +1 -1
- package/dist/model/SelectTagsApiModel.js +1 -1
- package/dist/model/SharedStepChangeViewModel.js +1 -1
- package/dist/model/SharedStepModel.js +1 -1
- package/dist/model/SharedStepReferenceModel.js +1 -1
- package/dist/model/SharedStepReferenceSectionModel.js +1 -1
- package/dist/model/SharedStepReferenceSectionsQueryFilterModel.js +1 -1
- package/dist/model/SharedStepReferencesQueryFilterModel.js +1 -1
- package/dist/model/SharedStepResultApiModel.js +1 -1
- package/dist/model/ShortConfiguration.js +1 -1
- package/dist/model/StepCommentApiModel.js +1 -1
- package/dist/model/StepModel.js +1 -1
- package/dist/model/StepPostModel.js +1 -1
- package/dist/model/StepPutModel.js +1 -1
- package/dist/model/StepResultApiModel.js +1 -1
- package/dist/model/StringArrayChangedFieldViewModel.js +1 -1
- package/dist/model/StringChangedFieldViewModel.js +1 -1
- package/dist/model/StringChangedFieldWithDiffsViewModel.js +1 -1
- package/dist/model/StringExtractionModel.js +1 -1
- package/dist/model/TagApiModel.js +3 -3
- 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 +14 -1
- package/dist/model/TestPlanTestPointsExtractionApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsGroupApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsGroupSearchApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsGroupSearchItemApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsInquiryApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsSearchApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsSearchApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsSearchStatusCountersApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsSectionSearchApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsSetTestersApiModel.js +1 -1
- package/dist/model/TestPlanTestPointsStatusCodeGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsStatusGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsStatusTypeGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsTestSuiteSearchApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsTesterAndStatusGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsTesterAndStatusTypeGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsTesterGroupApiResult.js +1 -1
- package/dist/model/TestPlanTestPointsWorkItemSearchApiResult.js +1 -1
- package/dist/model/TestPlanWithAnalyticModel.js +1 -1
- package/dist/model/TestPlanWithTestSuiteTreeModel.js +1 -1
- package/dist/model/TestPoint.js +1 -1
- package/dist/model/TestPointAnalyticResult.js +1 -1
- package/dist/model/TestPointByTestSuiteModel.js +1 -1
- package/dist/model/TestPointChangeViewModel.js +1 -1
- package/dist/model/TestPointChangeViewModelChangedFieldViewModel.js +1 -1
- package/dist/model/TestPointFilterModel.js +1 -1
- package/dist/model/TestPointFilterRequestModel.js +1 -1
- package/dist/model/TestPointResultApiResult.js +1 -1
- package/dist/model/TestPointSelectModel.js +1 -1
- package/dist/model/TestPointSelector.js +1 -1
- package/dist/model/TestPointShortApiResult.js +1 -1
- package/dist/model/TestPointShortModel.js +1 -1
- package/dist/model/TestPointShortResponseModel.js +1 -1
- package/dist/model/TestPointWithLastResultResponseModel.js +1 -1
- package/dist/model/TestPointsExtractionModel.js +1 -1
- package/dist/model/TestResultApiResult.js +1 -1
- package/dist/model/TestResultChangeViewModel.js +1 -1
- package/dist/model/TestResultChangeViewModelChangedFieldViewModel.js +1 -1
- package/dist/model/TestResultChronologyModel.js +1 -1
- package/dist/model/TestResultFailureClassApiResult.js +1 -1
- package/dist/model/TestResultHistoryReportApiResult.js +1 -1
- package/dist/model/TestResultResponse.js +1 -1
- package/dist/model/TestResultShortApiResult.js +1 -1
- package/dist/model/TestResultShortResponse.js +1 -1
- package/dist/model/TestResultStepCommentUpdateRequest.js +1 -1
- package/dist/model/TestResultUpdateV2Request.js +1 -1
- package/dist/model/TestResultV2GetModel.js +1 -1
- package/dist/model/TestResultV2ShortModel.js +1 -1
- package/dist/model/TestResultsExtractionApiModel.js +1 -1
- package/dist/model/TestResultsFilterApiModel.js +1 -1
- package/dist/model/TestResultsLocalFilterModel.js +1 -1
- package/dist/model/TestResultsSelectApiModel.js +1 -1
- package/dist/model/TestResultsStatisticsApiResult.js +1 -1
- package/dist/model/TestResultsStatisticsFailureCategoriesApiResult.js +1 -1
- package/dist/model/TestResultsStatisticsStatusesApiResult.js +1 -1
- package/dist/model/TestRunAnalyticApiResult.js +1 -1
- package/dist/model/TestRunApiResult.js +19 -5
- package/dist/model/TestRunByAutoTestApiResult.js +1 -1
- package/dist/model/TestRunExtractionApiModel.js +1 -1
- package/dist/model/TestRunFilterApiModel.js +27 -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 +20 -5
- 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 +20 -5
- package/dist/model/TestStatusApiResult.js +1 -1
- package/dist/model/TestStatusApiResultReply.js +1 -1
- package/dist/model/TestStatusModel.js +1 -1
- package/dist/model/TestStatusShortApiResult.js +1 -1
- package/dist/model/TestSuiteApiResult.js +1 -1
- package/dist/model/TestSuiteChangeViewModel.js +1 -1
- package/dist/model/TestSuiteChangeViewModelChangedFieldViewModel.js +1 -1
- package/dist/model/TestSuiteHierarchyApiResult.js +1 -1
- package/dist/model/TestSuiteTestPlanApiModel.js +1 -1
- package/dist/model/TestSuiteV2GetModel.js +1 -1
- package/dist/model/TestSuiteV2PostModel.js +1 -1
- package/dist/model/TestSuiteV2PutModel.js +1 -1
- package/dist/model/TestSuiteWithChildrenModel.js +1 -1
- package/dist/model/TestSuiteWorkItemsSearchModel.js +1 -1
- package/dist/model/UpdateEmptyTestRunApiModel.js +14 -1
- package/dist/model/UpdateFailureCategoryApiModel.js +1 -1
- package/dist/model/UpdateFailureCategoryProjectApiModel.js +1 -1
- package/dist/model/UpdateFailureClassRegexApiModel.js +1 -1
- package/dist/model/UpdateLinkApiModel.js +1 -1
- package/dist/model/UpdateMultipleAttachmentsApiModel.js +1 -1
- package/dist/model/UpdateMultipleLinksApiModel.js +1 -1
- package/dist/model/{RerunsModel.js → UpdateMultipleTagsApiModel.js} +40 -39
- package/dist/model/UpdateMultipleTestRunsApiModel.js +16 -1
- package/dist/model/UpdateParameterApiModel.js +1 -1
- package/dist/model/UpdateProjectApiModel.js +1 -1
- package/dist/model/UpdateStepApiModel.js +1 -1
- package/dist/model/UpdateTagApiModel.js +1 -1
- package/dist/model/UpdateTestPlanApiModel.js +1 -1
- package/dist/model/UpdateTestStatusApiModel.js +1 -1
- package/dist/model/UpdateWorkItemApiModel.js +1 -1
- package/dist/model/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 +1 -1
- 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 +1 -1
- package/dist/model/WorkItemFilterModel.js +1 -1
- package/dist/model/WorkItemGroupGetModel.js +1 -1
- package/dist/model/WorkItemGroupModel.js +1 -1
- package/dist/model/WorkItemIdApiModel.js +1 -1
- package/dist/model/WorkItemIndexApiResult.js +1 -1
- package/dist/model/WorkItemLikeModel.js +1 -1
- package/dist/model/WorkItemLinkChangeViewModel.js +1 -1
- package/dist/model/WorkItemLinkChangeViewModelArrayChangedFieldViewModel.js +1 -1
- package/dist/model/WorkItemLinkExtractionApiModel.js +1 -1
- package/dist/model/WorkItemLinkFilterApiModel.js +1 -1
- package/dist/model/WorkItemLinkFilterModel.js +1 -1
- package/dist/model/WorkItemLinkUrlApiModel.js +1 -1
- package/dist/model/WorkItemLinkUrlApiResult.js +1 -1
- package/dist/model/WorkItemLinkUrlFilterApiModel.js +1 -1
- package/dist/model/WorkItemLocalFilterModel.js +1 -1
- package/dist/model/WorkItemLocalSelectModel.js +1 -1
- package/dist/model/WorkItemModel.js +1 -1
- package/dist/model/WorkItemMovePostModel.js +1 -1
- package/dist/model/WorkItemPreviewApiModel.js +1 -1
- package/dist/model/WorkItemPreviewStepApiModel.js +1 -1
- package/dist/model/WorkItemSearchQueryModel.js +1 -1
- package/dist/model/WorkItemSelectApiModel.js +1 -1
- package/dist/model/WorkItemSelectModel.js +1 -1
- package/dist/model/WorkItemShortApiResult.js +1 -1
- package/dist/model/WorkItemShortModel.js +1 -1
- package/dist/model/WorkItemStepChangeViewModel.js +1 -1
- package/dist/model/WorkItemStepChangeViewModelArrayChangedFieldWithDiffsViewModel.js +1 -1
- package/dist/model/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/WorkflowProjectApiResultReply.js +1 -1
- package/dist/model/WorkflowShortApiResult.js +1 -1
- package/dist/model/WorkflowShortApiResultReply.js +1 -1
- package/dist/model/WorkflowStatusApiModel.js +1 -1
- package/dist/model/WorkflowStatusApiResult.js +1 -1
- package/index.d.ts +666 -845
- package/package.json +1 -1
- package/dist/model/UserRankModel.js +0 -188
- package/dist/model/UserWithRankModel.js +0 -282
- package/dist/model/WorkItemCommentModel.js +0 -186
- package/dist/model/WorkItemCommentPostModel.js +0 -126
- package/dist/model/WorkItemCommentPutModel.js +0 -128
package/package.json
CHANGED
|
@@ -1,188 +0,0 @@
|
|
|
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 UserRankModel model module.
|
|
31
|
-
* @module model/UserRankModel
|
|
32
|
-
* @version 7.2.1
|
|
33
|
-
*/
|
|
34
|
-
var UserRankModel = /*#__PURE__*/function () {
|
|
35
|
-
/**
|
|
36
|
-
* Constructs a new <code>UserRankModel</code>.
|
|
37
|
-
* @alias module:model/UserRankModel
|
|
38
|
-
* @param score {Number}
|
|
39
|
-
* @param workItemsCreated {Number}
|
|
40
|
-
* @param passedTestPoints {Number}
|
|
41
|
-
* @param failedTestPoints {Number}
|
|
42
|
-
* @param skippedTestPoints {Number}
|
|
43
|
-
* @param blockedTestPoints {Number}
|
|
44
|
-
* @param levelAvatarEnabled {Boolean}
|
|
45
|
-
* @param succeededTestPoints {Number}
|
|
46
|
-
* @param incompleteTestPoints {Number}
|
|
47
|
-
*/
|
|
48
|
-
function UserRankModel(score, workItemsCreated, passedTestPoints, failedTestPoints, skippedTestPoints, blockedTestPoints, levelAvatarEnabled, succeededTestPoints, incompleteTestPoints) {
|
|
49
|
-
_classCallCheck(this, UserRankModel);
|
|
50
|
-
UserRankModel.initialize(this, score, workItemsCreated, passedTestPoints, failedTestPoints, skippedTestPoints, blockedTestPoints, levelAvatarEnabled, succeededTestPoints, incompleteTestPoints);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Initializes the fields of this object.
|
|
55
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
56
|
-
* Only for internal use.
|
|
57
|
-
*/
|
|
58
|
-
return _createClass(UserRankModel, null, [{
|
|
59
|
-
key: "initialize",
|
|
60
|
-
value: function initialize(obj, score, workItemsCreated, passedTestPoints, failedTestPoints, skippedTestPoints, blockedTestPoints, levelAvatarEnabled, succeededTestPoints, incompleteTestPoints) {
|
|
61
|
-
obj['score'] = score;
|
|
62
|
-
obj['workItemsCreated'] = workItemsCreated;
|
|
63
|
-
obj['passedTestPoints'] = passedTestPoints;
|
|
64
|
-
obj['failedTestPoints'] = failedTestPoints;
|
|
65
|
-
obj['skippedTestPoints'] = skippedTestPoints;
|
|
66
|
-
obj['blockedTestPoints'] = blockedTestPoints;
|
|
67
|
-
obj['levelAvatarEnabled'] = levelAvatarEnabled;
|
|
68
|
-
obj['succeededTestPoints'] = succeededTestPoints;
|
|
69
|
-
obj['incompleteTestPoints'] = incompleteTestPoints;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Constructs a <code>UserRankModel</code> from a plain JavaScript object, optionally creating a new instance.
|
|
74
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
75
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
76
|
-
* @param {module:model/UserRankModel} obj Optional instance to populate.
|
|
77
|
-
* @return {module:model/UserRankModel} The populated <code>UserRankModel</code> instance.
|
|
78
|
-
*/
|
|
79
|
-
}, {
|
|
80
|
-
key: "constructFromObject",
|
|
81
|
-
value: function constructFromObject(data, obj) {
|
|
82
|
-
if (data) {
|
|
83
|
-
obj = obj || new UserRankModel();
|
|
84
|
-
if (data.hasOwnProperty('score')) {
|
|
85
|
-
obj['score'] = _ApiClient["default"].convertToType(data['score'], 'Number');
|
|
86
|
-
}
|
|
87
|
-
if (data.hasOwnProperty('workItemsCreated')) {
|
|
88
|
-
obj['workItemsCreated'] = _ApiClient["default"].convertToType(data['workItemsCreated'], 'Number');
|
|
89
|
-
}
|
|
90
|
-
if (data.hasOwnProperty('passedTestPoints')) {
|
|
91
|
-
obj['passedTestPoints'] = _ApiClient["default"].convertToType(data['passedTestPoints'], 'Number');
|
|
92
|
-
}
|
|
93
|
-
if (data.hasOwnProperty('failedTestPoints')) {
|
|
94
|
-
obj['failedTestPoints'] = _ApiClient["default"].convertToType(data['failedTestPoints'], 'Number');
|
|
95
|
-
}
|
|
96
|
-
if (data.hasOwnProperty('skippedTestPoints')) {
|
|
97
|
-
obj['skippedTestPoints'] = _ApiClient["default"].convertToType(data['skippedTestPoints'], 'Number');
|
|
98
|
-
}
|
|
99
|
-
if (data.hasOwnProperty('blockedTestPoints')) {
|
|
100
|
-
obj['blockedTestPoints'] = _ApiClient["default"].convertToType(data['blockedTestPoints'], 'Number');
|
|
101
|
-
}
|
|
102
|
-
if (data.hasOwnProperty('levelAvatarEnabled')) {
|
|
103
|
-
obj['levelAvatarEnabled'] = _ApiClient["default"].convertToType(data['levelAvatarEnabled'], 'Boolean');
|
|
104
|
-
}
|
|
105
|
-
if (data.hasOwnProperty('succeededTestPoints')) {
|
|
106
|
-
obj['succeededTestPoints'] = _ApiClient["default"].convertToType(data['succeededTestPoints'], 'Number');
|
|
107
|
-
}
|
|
108
|
-
if (data.hasOwnProperty('incompleteTestPoints')) {
|
|
109
|
-
obj['incompleteTestPoints'] = _ApiClient["default"].convertToType(data['incompleteTestPoints'], 'Number');
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
return obj;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* Validates the JSON data with respect to <code>UserRankModel</code>.
|
|
117
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
118
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>UserRankModel</code>.
|
|
119
|
-
*/
|
|
120
|
-
}, {
|
|
121
|
-
key: "validateJSON",
|
|
122
|
-
value: function validateJSON(data) {
|
|
123
|
-
// check to make sure all required properties are present in the JSON string
|
|
124
|
-
var _iterator = _createForOfIteratorHelper(UserRankModel.RequiredProperties),
|
|
125
|
-
_step;
|
|
126
|
-
try {
|
|
127
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
128
|
-
var property = _step.value;
|
|
129
|
-
if (!data.hasOwnProperty(property)) {
|
|
130
|
-
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
} catch (err) {
|
|
134
|
-
_iterator.e(err);
|
|
135
|
-
} finally {
|
|
136
|
-
_iterator.f();
|
|
137
|
-
}
|
|
138
|
-
return true;
|
|
139
|
-
}
|
|
140
|
-
}]);
|
|
141
|
-
}();
|
|
142
|
-
UserRankModel.RequiredProperties = ["score", "workItemsCreated", "passedTestPoints", "failedTestPoints", "skippedTestPoints", "blockedTestPoints", "levelAvatarEnabled", "succeededTestPoints", "incompleteTestPoints"];
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* @member {Number} score
|
|
146
|
-
*/
|
|
147
|
-
UserRankModel.prototype['score'] = undefined;
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* @member {Number} workItemsCreated
|
|
151
|
-
*/
|
|
152
|
-
UserRankModel.prototype['workItemsCreated'] = undefined;
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* @member {Number} passedTestPoints
|
|
156
|
-
*/
|
|
157
|
-
UserRankModel.prototype['passedTestPoints'] = undefined;
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* @member {Number} failedTestPoints
|
|
161
|
-
*/
|
|
162
|
-
UserRankModel.prototype['failedTestPoints'] = undefined;
|
|
163
|
-
|
|
164
|
-
/**
|
|
165
|
-
* @member {Number} skippedTestPoints
|
|
166
|
-
*/
|
|
167
|
-
UserRankModel.prototype['skippedTestPoints'] = undefined;
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* @member {Number} blockedTestPoints
|
|
171
|
-
*/
|
|
172
|
-
UserRankModel.prototype['blockedTestPoints'] = undefined;
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* @member {Boolean} levelAvatarEnabled
|
|
176
|
-
*/
|
|
177
|
-
UserRankModel.prototype['levelAvatarEnabled'] = undefined;
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* @member {Number} succeededTestPoints
|
|
181
|
-
*/
|
|
182
|
-
UserRankModel.prototype['succeededTestPoints'] = undefined;
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* @member {Number} incompleteTestPoints
|
|
186
|
-
*/
|
|
187
|
-
UserRankModel.prototype['incompleteTestPoints'] = undefined;
|
|
188
|
-
var _default = exports["default"] = UserRankModel;
|
|
@@ -1,282 +0,0 @@
|
|
|
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 _UserRankModel = _interopRequireDefault(require("./UserRankModel"));
|
|
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 UserWithRankModel model module.
|
|
32
|
-
* @module model/UserWithRankModel
|
|
33
|
-
* @version 7.2.1
|
|
34
|
-
*/
|
|
35
|
-
var UserWithRankModel = /*#__PURE__*/function () {
|
|
36
|
-
/**
|
|
37
|
-
* Constructs a new <code>UserWithRankModel</code>.
|
|
38
|
-
* @alias module:model/UserWithRankModel
|
|
39
|
-
* @param id {String}
|
|
40
|
-
* @param firstName {String}
|
|
41
|
-
* @param lastName {String}
|
|
42
|
-
* @param middleName {String}
|
|
43
|
-
* @param userName {String}
|
|
44
|
-
* @param displayName {String}
|
|
45
|
-
* @param userType {String}
|
|
46
|
-
* @param avatarUrl {String}
|
|
47
|
-
* @param avatarMetadata {String}
|
|
48
|
-
* @param isDeleted {Boolean}
|
|
49
|
-
* @param isDisabled {Boolean}
|
|
50
|
-
* @param isActiveStatusByEntity {Boolean}
|
|
51
|
-
* @param userRank {module:model/UserRankModel}
|
|
52
|
-
*/
|
|
53
|
-
function UserWithRankModel(id, firstName, lastName, middleName, userName, displayName, userType, avatarUrl, avatarMetadata, isDeleted, isDisabled, isActiveStatusByEntity, userRank) {
|
|
54
|
-
_classCallCheck(this, UserWithRankModel);
|
|
55
|
-
UserWithRankModel.initialize(this, id, firstName, lastName, middleName, userName, displayName, userType, avatarUrl, avatarMetadata, isDeleted, isDisabled, isActiveStatusByEntity, userRank);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Initializes the fields of this object.
|
|
60
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
61
|
-
* Only for internal use.
|
|
62
|
-
*/
|
|
63
|
-
return _createClass(UserWithRankModel, null, [{
|
|
64
|
-
key: "initialize",
|
|
65
|
-
value: function initialize(obj, id, firstName, lastName, middleName, userName, displayName, userType, avatarUrl, avatarMetadata, isDeleted, isDisabled, isActiveStatusByEntity, userRank) {
|
|
66
|
-
obj['id'] = id;
|
|
67
|
-
obj['firstName'] = firstName;
|
|
68
|
-
obj['lastName'] = lastName;
|
|
69
|
-
obj['middleName'] = middleName;
|
|
70
|
-
obj['userName'] = userName;
|
|
71
|
-
obj['displayName'] = displayName;
|
|
72
|
-
obj['userType'] = userType;
|
|
73
|
-
obj['avatarUrl'] = avatarUrl;
|
|
74
|
-
obj['avatarMetadata'] = avatarMetadata;
|
|
75
|
-
obj['isDeleted'] = isDeleted;
|
|
76
|
-
obj['isDisabled'] = isDisabled;
|
|
77
|
-
obj['isActiveStatusByEntity'] = isActiveStatusByEntity;
|
|
78
|
-
obj['userRank'] = userRank;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Constructs a <code>UserWithRankModel</code> from a plain JavaScript object, optionally creating a new instance.
|
|
83
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
84
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
85
|
-
* @param {module:model/UserWithRankModel} obj Optional instance to populate.
|
|
86
|
-
* @return {module:model/UserWithRankModel} The populated <code>UserWithRankModel</code> instance.
|
|
87
|
-
*/
|
|
88
|
-
}, {
|
|
89
|
-
key: "constructFromObject",
|
|
90
|
-
value: function constructFromObject(data, obj) {
|
|
91
|
-
if (data) {
|
|
92
|
-
obj = obj || new UserWithRankModel();
|
|
93
|
-
if (data.hasOwnProperty('id')) {
|
|
94
|
-
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
|
|
95
|
-
}
|
|
96
|
-
if (data.hasOwnProperty('firstName')) {
|
|
97
|
-
obj['firstName'] = _ApiClient["default"].convertToType(data['firstName'], 'String');
|
|
98
|
-
}
|
|
99
|
-
if (data.hasOwnProperty('lastName')) {
|
|
100
|
-
obj['lastName'] = _ApiClient["default"].convertToType(data['lastName'], 'String');
|
|
101
|
-
}
|
|
102
|
-
if (data.hasOwnProperty('middleName')) {
|
|
103
|
-
obj['middleName'] = _ApiClient["default"].convertToType(data['middleName'], 'String');
|
|
104
|
-
}
|
|
105
|
-
if (data.hasOwnProperty('userName')) {
|
|
106
|
-
obj['userName'] = _ApiClient["default"].convertToType(data['userName'], 'String');
|
|
107
|
-
}
|
|
108
|
-
if (data.hasOwnProperty('displayName')) {
|
|
109
|
-
obj['displayName'] = _ApiClient["default"].convertToType(data['displayName'], 'String');
|
|
110
|
-
}
|
|
111
|
-
if (data.hasOwnProperty('userType')) {
|
|
112
|
-
obj['userType'] = _ApiClient["default"].convertToType(data['userType'], 'String');
|
|
113
|
-
}
|
|
114
|
-
if (data.hasOwnProperty('avatarUrl')) {
|
|
115
|
-
obj['avatarUrl'] = _ApiClient["default"].convertToType(data['avatarUrl'], 'String');
|
|
116
|
-
}
|
|
117
|
-
if (data.hasOwnProperty('avatarMetadata')) {
|
|
118
|
-
obj['avatarMetadata'] = _ApiClient["default"].convertToType(data['avatarMetadata'], 'String');
|
|
119
|
-
}
|
|
120
|
-
if (data.hasOwnProperty('isDeleted')) {
|
|
121
|
-
obj['isDeleted'] = _ApiClient["default"].convertToType(data['isDeleted'], 'Boolean');
|
|
122
|
-
}
|
|
123
|
-
if (data.hasOwnProperty('isDisabled')) {
|
|
124
|
-
obj['isDisabled'] = _ApiClient["default"].convertToType(data['isDisabled'], 'Boolean');
|
|
125
|
-
}
|
|
126
|
-
if (data.hasOwnProperty('providerId')) {
|
|
127
|
-
obj['providerId'] = _ApiClient["default"].convertToType(data['providerId'], 'String');
|
|
128
|
-
}
|
|
129
|
-
if (data.hasOwnProperty('isActiveStatusByEntity')) {
|
|
130
|
-
obj['isActiveStatusByEntity'] = _ApiClient["default"].convertToType(data['isActiveStatusByEntity'], 'Boolean');
|
|
131
|
-
}
|
|
132
|
-
if (data.hasOwnProperty('userRank')) {
|
|
133
|
-
obj['userRank'] = _ApiClient["default"].convertToType(data['userRank'], _UserRankModel["default"]);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
return obj;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* Validates the JSON data with respect to <code>UserWithRankModel</code>.
|
|
141
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
142
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>UserWithRankModel</code>.
|
|
143
|
-
*/
|
|
144
|
-
}, {
|
|
145
|
-
key: "validateJSON",
|
|
146
|
-
value: function validateJSON(data) {
|
|
147
|
-
// check to make sure all required properties are present in the JSON string
|
|
148
|
-
var _iterator = _createForOfIteratorHelper(UserWithRankModel.RequiredProperties),
|
|
149
|
-
_step;
|
|
150
|
-
try {
|
|
151
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
152
|
-
var property = _step.value;
|
|
153
|
-
if (!data.hasOwnProperty(property)) {
|
|
154
|
-
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
// ensure the json data is a string
|
|
158
|
-
} catch (err) {
|
|
159
|
-
_iterator.e(err);
|
|
160
|
-
} finally {
|
|
161
|
-
_iterator.f();
|
|
162
|
-
}
|
|
163
|
-
if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
|
|
164
|
-
throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
|
|
165
|
-
}
|
|
166
|
-
// ensure the json data is a string
|
|
167
|
-
if (data['firstName'] && !(typeof data['firstName'] === 'string' || data['firstName'] instanceof String)) {
|
|
168
|
-
throw new Error("Expected the field `firstName` to be a primitive type in the JSON string but got " + data['firstName']);
|
|
169
|
-
}
|
|
170
|
-
// ensure the json data is a string
|
|
171
|
-
if (data['lastName'] && !(typeof data['lastName'] === 'string' || data['lastName'] instanceof String)) {
|
|
172
|
-
throw new Error("Expected the field `lastName` to be a primitive type in the JSON string but got " + data['lastName']);
|
|
173
|
-
}
|
|
174
|
-
// ensure the json data is a string
|
|
175
|
-
if (data['middleName'] && !(typeof data['middleName'] === 'string' || data['middleName'] instanceof String)) {
|
|
176
|
-
throw new Error("Expected the field `middleName` to be a primitive type in the JSON string but got " + data['middleName']);
|
|
177
|
-
}
|
|
178
|
-
// ensure the json data is a string
|
|
179
|
-
if (data['userName'] && !(typeof data['userName'] === 'string' || data['userName'] instanceof String)) {
|
|
180
|
-
throw new Error("Expected the field `userName` to be a primitive type in the JSON string but got " + data['userName']);
|
|
181
|
-
}
|
|
182
|
-
// ensure the json data is a string
|
|
183
|
-
if (data['displayName'] && !(typeof data['displayName'] === 'string' || data['displayName'] instanceof String)) {
|
|
184
|
-
throw new Error("Expected the field `displayName` to be a primitive type in the JSON string but got " + data['displayName']);
|
|
185
|
-
}
|
|
186
|
-
// ensure the json data is a string
|
|
187
|
-
if (data['userType'] && !(typeof data['userType'] === 'string' || data['userType'] instanceof String)) {
|
|
188
|
-
throw new Error("Expected the field `userType` to be a primitive type in the JSON string but got " + data['userType']);
|
|
189
|
-
}
|
|
190
|
-
// ensure the json data is a string
|
|
191
|
-
if (data['avatarUrl'] && !(typeof data['avatarUrl'] === 'string' || data['avatarUrl'] instanceof String)) {
|
|
192
|
-
throw new Error("Expected the field `avatarUrl` to be a primitive type in the JSON string but got " + data['avatarUrl']);
|
|
193
|
-
}
|
|
194
|
-
// ensure the json data is a string
|
|
195
|
-
if (data['avatarMetadata'] && !(typeof data['avatarMetadata'] === 'string' || data['avatarMetadata'] instanceof String)) {
|
|
196
|
-
throw new Error("Expected the field `avatarMetadata` to be a primitive type in the JSON string but got " + data['avatarMetadata']);
|
|
197
|
-
}
|
|
198
|
-
// ensure the json data is a string
|
|
199
|
-
if (data['providerId'] && !(typeof data['providerId'] === 'string' || data['providerId'] instanceof String)) {
|
|
200
|
-
throw new Error("Expected the field `providerId` to be a primitive type in the JSON string but got " + data['providerId']);
|
|
201
|
-
}
|
|
202
|
-
// validate the optional field `userRank`
|
|
203
|
-
if (data['userRank']) {
|
|
204
|
-
// data not null
|
|
205
|
-
_UserRankModel["default"].validateJSON(data['userRank']);
|
|
206
|
-
}
|
|
207
|
-
return true;
|
|
208
|
-
}
|
|
209
|
-
}]);
|
|
210
|
-
}();
|
|
211
|
-
UserWithRankModel.RequiredProperties = ["id", "firstName", "lastName", "middleName", "userName", "displayName", "userType", "avatarUrl", "avatarMetadata", "isDeleted", "isDisabled", "isActiveStatusByEntity", "userRank"];
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* @member {String} id
|
|
215
|
-
*/
|
|
216
|
-
UserWithRankModel.prototype['id'] = undefined;
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* @member {String} firstName
|
|
220
|
-
*/
|
|
221
|
-
UserWithRankModel.prototype['firstName'] = undefined;
|
|
222
|
-
|
|
223
|
-
/**
|
|
224
|
-
* @member {String} lastName
|
|
225
|
-
*/
|
|
226
|
-
UserWithRankModel.prototype['lastName'] = undefined;
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* @member {String} middleName
|
|
230
|
-
*/
|
|
231
|
-
UserWithRankModel.prototype['middleName'] = undefined;
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* @member {String} userName
|
|
235
|
-
*/
|
|
236
|
-
UserWithRankModel.prototype['userName'] = undefined;
|
|
237
|
-
|
|
238
|
-
/**
|
|
239
|
-
* @member {String} displayName
|
|
240
|
-
*/
|
|
241
|
-
UserWithRankModel.prototype['displayName'] = undefined;
|
|
242
|
-
|
|
243
|
-
/**
|
|
244
|
-
* @member {String} userType
|
|
245
|
-
*/
|
|
246
|
-
UserWithRankModel.prototype['userType'] = undefined;
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
* @member {String} avatarUrl
|
|
250
|
-
*/
|
|
251
|
-
UserWithRankModel.prototype['avatarUrl'] = undefined;
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* @member {String} avatarMetadata
|
|
255
|
-
*/
|
|
256
|
-
UserWithRankModel.prototype['avatarMetadata'] = undefined;
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* @member {Boolean} isDeleted
|
|
260
|
-
*/
|
|
261
|
-
UserWithRankModel.prototype['isDeleted'] = undefined;
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* @member {Boolean} isDisabled
|
|
265
|
-
*/
|
|
266
|
-
UserWithRankModel.prototype['isDisabled'] = undefined;
|
|
267
|
-
|
|
268
|
-
/**
|
|
269
|
-
* @member {String} providerId
|
|
270
|
-
*/
|
|
271
|
-
UserWithRankModel.prototype['providerId'] = undefined;
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* @member {Boolean} isActiveStatusByEntity
|
|
275
|
-
*/
|
|
276
|
-
UserWithRankModel.prototype['isActiveStatusByEntity'] = undefined;
|
|
277
|
-
|
|
278
|
-
/**
|
|
279
|
-
* @member {module:model/UserRankModel} userRank
|
|
280
|
-
*/
|
|
281
|
-
UserWithRankModel.prototype['userRank'] = undefined;
|
|
282
|
-
var _default = exports["default"] = UserWithRankModel;
|
|
@@ -1,186 +0,0 @@
|
|
|
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 _UserWithRankModel = _interopRequireDefault(require("./UserWithRankModel"));
|
|
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 WorkItemCommentModel model module.
|
|
32
|
-
* @module model/WorkItemCommentModel
|
|
33
|
-
* @version 7.2.1
|
|
34
|
-
*/
|
|
35
|
-
var WorkItemCommentModel = /*#__PURE__*/function () {
|
|
36
|
-
/**
|
|
37
|
-
* Constructs a new <code>WorkItemCommentModel</code>.
|
|
38
|
-
* @alias module:model/WorkItemCommentModel
|
|
39
|
-
* @param id {String}
|
|
40
|
-
* @param text {String}
|
|
41
|
-
* @param user {module:model/UserWithRankModel}
|
|
42
|
-
* @param createdById {String}
|
|
43
|
-
* @param createdDate {Date}
|
|
44
|
-
*/
|
|
45
|
-
function WorkItemCommentModel(id, text, user, createdById, createdDate) {
|
|
46
|
-
_classCallCheck(this, WorkItemCommentModel);
|
|
47
|
-
WorkItemCommentModel.initialize(this, id, text, user, createdById, createdDate);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Initializes the fields of this object.
|
|
52
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
53
|
-
* Only for internal use.
|
|
54
|
-
*/
|
|
55
|
-
return _createClass(WorkItemCommentModel, null, [{
|
|
56
|
-
key: "initialize",
|
|
57
|
-
value: function initialize(obj, id, text, user, createdById, createdDate) {
|
|
58
|
-
obj['id'] = id;
|
|
59
|
-
obj['text'] = text;
|
|
60
|
-
obj['user'] = user;
|
|
61
|
-
obj['createdById'] = createdById;
|
|
62
|
-
obj['createdDate'] = createdDate;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Constructs a <code>WorkItemCommentModel</code> from a plain JavaScript object, optionally creating a new instance.
|
|
67
|
-
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
68
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
69
|
-
* @param {module:model/WorkItemCommentModel} obj Optional instance to populate.
|
|
70
|
-
* @return {module:model/WorkItemCommentModel} The populated <code>WorkItemCommentModel</code> instance.
|
|
71
|
-
*/
|
|
72
|
-
}, {
|
|
73
|
-
key: "constructFromObject",
|
|
74
|
-
value: function constructFromObject(data, obj) {
|
|
75
|
-
if (data) {
|
|
76
|
-
obj = obj || new WorkItemCommentModel();
|
|
77
|
-
if (data.hasOwnProperty('id')) {
|
|
78
|
-
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
|
|
79
|
-
}
|
|
80
|
-
if (data.hasOwnProperty('text')) {
|
|
81
|
-
obj['text'] = _ApiClient["default"].convertToType(data['text'], 'String');
|
|
82
|
-
}
|
|
83
|
-
if (data.hasOwnProperty('user')) {
|
|
84
|
-
obj['user'] = _ApiClient["default"].convertToType(data['user'], _UserWithRankModel["default"]);
|
|
85
|
-
}
|
|
86
|
-
if (data.hasOwnProperty('createdById')) {
|
|
87
|
-
obj['createdById'] = _ApiClient["default"].convertToType(data['createdById'], 'String');
|
|
88
|
-
}
|
|
89
|
-
if (data.hasOwnProperty('modifiedById')) {
|
|
90
|
-
obj['modifiedById'] = _ApiClient["default"].convertToType(data['modifiedById'], 'String');
|
|
91
|
-
}
|
|
92
|
-
if (data.hasOwnProperty('createdDate')) {
|
|
93
|
-
obj['createdDate'] = _ApiClient["default"].convertToType(data['createdDate'], 'Date');
|
|
94
|
-
}
|
|
95
|
-
if (data.hasOwnProperty('modifiedDate')) {
|
|
96
|
-
obj['modifiedDate'] = _ApiClient["default"].convertToType(data['modifiedDate'], 'Date');
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
return obj;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Validates the JSON data with respect to <code>WorkItemCommentModel</code>.
|
|
104
|
-
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
105
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>WorkItemCommentModel</code>.
|
|
106
|
-
*/
|
|
107
|
-
}, {
|
|
108
|
-
key: "validateJSON",
|
|
109
|
-
value: function validateJSON(data) {
|
|
110
|
-
// check to make sure all required properties are present in the JSON string
|
|
111
|
-
var _iterator = _createForOfIteratorHelper(WorkItemCommentModel.RequiredProperties),
|
|
112
|
-
_step;
|
|
113
|
-
try {
|
|
114
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
115
|
-
var property = _step.value;
|
|
116
|
-
if (!data.hasOwnProperty(property)) {
|
|
117
|
-
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
// ensure the json data is a string
|
|
121
|
-
} catch (err) {
|
|
122
|
-
_iterator.e(err);
|
|
123
|
-
} finally {
|
|
124
|
-
_iterator.f();
|
|
125
|
-
}
|
|
126
|
-
if (data['id'] && !(typeof data['id'] === 'string' || data['id'] instanceof String)) {
|
|
127
|
-
throw new Error("Expected the field `id` to be a primitive type in the JSON string but got " + data['id']);
|
|
128
|
-
}
|
|
129
|
-
// ensure the json data is a string
|
|
130
|
-
if (data['text'] && !(typeof data['text'] === 'string' || data['text'] instanceof String)) {
|
|
131
|
-
throw new Error("Expected the field `text` to be a primitive type in the JSON string but got " + data['text']);
|
|
132
|
-
}
|
|
133
|
-
// validate the optional field `user`
|
|
134
|
-
if (data['user']) {
|
|
135
|
-
// data not null
|
|
136
|
-
_UserWithRankModel["default"].validateJSON(data['user']);
|
|
137
|
-
}
|
|
138
|
-
// ensure the json data is a string
|
|
139
|
-
if (data['createdById'] && !(typeof data['createdById'] === 'string' || data['createdById'] instanceof String)) {
|
|
140
|
-
throw new Error("Expected the field `createdById` to be a primitive type in the JSON string but got " + data['createdById']);
|
|
141
|
-
}
|
|
142
|
-
// ensure the json data is a string
|
|
143
|
-
if (data['modifiedById'] && !(typeof data['modifiedById'] === 'string' || data['modifiedById'] instanceof String)) {
|
|
144
|
-
throw new Error("Expected the field `modifiedById` to be a primitive type in the JSON string but got " + data['modifiedById']);
|
|
145
|
-
}
|
|
146
|
-
return true;
|
|
147
|
-
}
|
|
148
|
-
}]);
|
|
149
|
-
}();
|
|
150
|
-
WorkItemCommentModel.RequiredProperties = ["id", "text", "user", "createdById", "createdDate"];
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* @member {String} id
|
|
154
|
-
*/
|
|
155
|
-
WorkItemCommentModel.prototype['id'] = undefined;
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* @member {String} text
|
|
159
|
-
*/
|
|
160
|
-
WorkItemCommentModel.prototype['text'] = undefined;
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* @member {module:model/UserWithRankModel} user
|
|
164
|
-
*/
|
|
165
|
-
WorkItemCommentModel.prototype['user'] = undefined;
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* @member {String} createdById
|
|
169
|
-
*/
|
|
170
|
-
WorkItemCommentModel.prototype['createdById'] = undefined;
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* @member {String} modifiedById
|
|
174
|
-
*/
|
|
175
|
-
WorkItemCommentModel.prototype['modifiedById'] = undefined;
|
|
176
|
-
|
|
177
|
-
/**
|
|
178
|
-
* @member {Date} createdDate
|
|
179
|
-
*/
|
|
180
|
-
WorkItemCommentModel.prototype['createdDate'] = undefined;
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* @member {Date} modifiedDate
|
|
184
|
-
*/
|
|
185
|
-
WorkItemCommentModel.prototype['modifiedDate'] = undefined;
|
|
186
|
-
var _default = exports["default"] = WorkItemCommentModel;
|