@goperigon/perigon-ts 1.0.3 → 1.0.5
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 +3 -37
- package/dist/index.cjs +3 -0
- package/dist/index.d.ts +6006 -4
- package/dist/index.js +3 -21
- package/package.json +60 -20
- package/dist/apis/V1Api.d.ts +0 -1380
- package/dist/apis/V1Api.d.ts.map +0 -1
- package/dist/apis/V1Api.js +0 -1270
- package/dist/apis/index.d.ts +0 -2
- package/dist/apis/index.d.ts.map +0 -1
- package/dist/apis/index.js +0 -19
- package/dist/esm/apis/V1Api.d.ts +0 -1380
- package/dist/esm/apis/V1Api.d.ts.map +0 -1
- package/dist/esm/apis/V1Api.js +0 -1233
- package/dist/esm/apis/index.d.ts +0 -2
- package/dist/esm/apis/index.d.ts.map +0 -1
- package/dist/esm/apis/index.js +0 -3
- package/dist/esm/index.d.ts +0 -4
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/index.js +0 -5
- package/dist/esm/models/AllEndpointSortBy.d.ts +0 -31
- package/dist/esm/models/AllEndpointSortBy.d.ts.map +0 -1
- package/dist/esm/models/AllEndpointSortBy.js +0 -48
- package/dist/esm/models/Article.d.ts +0 -303
- package/dist/esm/models/Article.d.ts.map +0 -1
- package/dist/esm/models/Article.js +0 -199
- package/dist/esm/models/ArticleSearchFilter.d.ts +0 -286
- package/dist/esm/models/ArticleSearchFilter.d.ts.map +0 -1
- package/dist/esm/models/ArticleSearchFilter.js +0 -150
- package/dist/esm/models/ArticleSearchParams.d.ts +0 -88
- package/dist/esm/models/ArticleSearchParams.d.ts.map +0 -1
- package/dist/esm/models/ArticleSearchParams.js +0 -72
- package/dist/esm/models/AuthException.d.ts +0 -140
- package/dist/esm/models/AuthException.d.ts.map +0 -1
- package/dist/esm/models/AuthException.js +0 -137
- package/dist/esm/models/AuthExceptionCause.d.ts +0 -46
- package/dist/esm/models/AuthExceptionCause.d.ts.map +0 -1
- package/dist/esm/models/AuthExceptionCause.js +0 -50
- package/dist/esm/models/AuthExceptionCauseStackTraceInner.d.ts +0 -75
- package/dist/esm/models/AuthExceptionCauseStackTraceInner.d.ts.map +0 -1
- package/dist/esm/models/AuthExceptionCauseStackTraceInner.js +0 -55
- package/dist/esm/models/AuthExceptionSuppressedInner.d.ts +0 -46
- package/dist/esm/models/AuthExceptionSuppressedInner.d.ts.map +0 -1
- package/dist/esm/models/AuthExceptionSuppressedInner.js +0 -50
- package/dist/esm/models/CategoryHolder.d.ts +0 -33
- package/dist/esm/models/CategoryHolder.d.ts.map +0 -1
- package/dist/esm/models/CategoryHolder.js +0 -41
- package/dist/esm/models/CategoryWithScoreHolder.d.ts +0 -39
- package/dist/esm/models/CategoryWithScoreHolder.d.ts.map +0 -1
- package/dist/esm/models/CategoryWithScoreHolder.js +0 -43
- package/dist/esm/models/Company.d.ts +0 -209
- package/dist/esm/models/Company.d.ts.map +0 -1
- package/dist/esm/models/Company.js +0 -107
- package/dist/esm/models/CompanyCount.d.ts +0 -57
- package/dist/esm/models/CompanyCount.d.ts.map +0 -1
- package/dist/esm/models/CompanyCount.js +0 -49
- package/dist/esm/models/CompanyHolder.d.ts +0 -51
- package/dist/esm/models/CompanyHolder.d.ts.map +0 -1
- package/dist/esm/models/CompanyHolder.js +0 -47
- package/dist/esm/models/CompanySearchResult.d.ts +0 -46
- package/dist/esm/models/CompanySearchResult.d.ts.map +0 -1
- package/dist/esm/models/CompanySearchResult.js +0 -52
- package/dist/esm/models/Coordinate.d.ts +0 -39
- package/dist/esm/models/Coordinate.d.ts.map +0 -1
- package/dist/esm/models/Coordinate.js +0 -43
- package/dist/esm/models/CoordinateFilter.d.ts +0 -45
- package/dist/esm/models/CoordinateFilter.d.ts.map +0 -1
- package/dist/esm/models/CoordinateFilter.js +0 -45
- package/dist/esm/models/EntityHolder.d.ts +0 -45
- package/dist/esm/models/EntityHolder.d.ts.map +0 -1
- package/dist/esm/models/EntityHolder.js +0 -45
- package/dist/esm/models/EventTypeHolder.d.ts +0 -39
- package/dist/esm/models/EventTypeHolder.d.ts.map +0 -1
- package/dist/esm/models/EventTypeHolder.js +0 -43
- package/dist/esm/models/IdNameHolder.d.ts +0 -39
- package/dist/esm/models/IdNameHolder.d.ts.map +0 -1
- package/dist/esm/models/IdNameHolder.js +0 -43
- package/dist/esm/models/IllegalParameterException.d.ts +0 -60
- package/dist/esm/models/IllegalParameterException.d.ts.map +0 -1
- package/dist/esm/models/IllegalParameterException.js +0 -62
- package/dist/esm/models/ImageHolder.d.ts +0 -33
- package/dist/esm/models/ImageHolder.d.ts.map +0 -1
- package/dist/esm/models/ImageHolder.js +0 -41
- package/dist/esm/models/InternalErrorException.d.ts +0 -60
- package/dist/esm/models/InternalErrorException.d.ts.map +0 -1
- package/dist/esm/models/InternalErrorException.js +0 -62
- package/dist/esm/models/InternalErrorExceptionCause.d.ts +0 -46
- package/dist/esm/models/InternalErrorExceptionCause.d.ts.map +0 -1
- package/dist/esm/models/InternalErrorExceptionCause.js +0 -50
- package/dist/esm/models/InternalErrorExceptionCauseStackTraceInner.d.ts +0 -75
- package/dist/esm/models/InternalErrorExceptionCauseStackTraceInner.d.ts.map +0 -1
- package/dist/esm/models/InternalErrorExceptionCauseStackTraceInner.js +0 -55
- package/dist/esm/models/InternalErrorExceptionSuppressedInner.d.ts +0 -46
- package/dist/esm/models/InternalErrorExceptionSuppressedInner.d.ts.map +0 -1
- package/dist/esm/models/InternalErrorExceptionSuppressedInner.js +0 -50
- package/dist/esm/models/Journalist.d.ts +0 -185
- package/dist/esm/models/Journalist.d.ts.map +0 -1
- package/dist/esm/models/Journalist.js +0 -119
- package/dist/esm/models/JournalistSearchResult.d.ts +0 -46
- package/dist/esm/models/JournalistSearchResult.d.ts.map +0 -1
- package/dist/esm/models/JournalistSearchResult.js +0 -52
- package/dist/esm/models/KeyPoint.d.ts +0 -39
- package/dist/esm/models/KeyPoint.d.ts.map +0 -1
- package/dist/esm/models/KeyPoint.js +0 -43
- package/dist/esm/models/KeywordHolder.d.ts +0 -39
- package/dist/esm/models/KeywordHolder.d.ts.map +0 -1
- package/dist/esm/models/KeywordHolder.js +0 -43
- package/dist/esm/models/LabelHolder.d.ts +0 -33
- package/dist/esm/models/LabelHolder.d.ts.map +0 -1
- package/dist/esm/models/LabelHolder.js +0 -41
- package/dist/esm/models/LocationCount.d.ts +0 -57
- package/dist/esm/models/LocationCount.d.ts.map +0 -1
- package/dist/esm/models/LocationCount.js +0 -49
- package/dist/esm/models/LocationHolder.d.ts +0 -57
- package/dist/esm/models/LocationHolder.d.ts.map +0 -1
- package/dist/esm/models/LocationHolder.js +0 -49
- package/dist/esm/models/NameCount.d.ts +0 -39
- package/dist/esm/models/NameCount.d.ts.map +0 -1
- package/dist/esm/models/NameCount.js +0 -43
- package/dist/esm/models/NewsCluster.d.ts +0 -253
- package/dist/esm/models/NewsCluster.d.ts.map +0 -1
- package/dist/esm/models/NewsCluster.js +0 -191
- package/dist/esm/models/NotFoundException.d.ts +0 -60
- package/dist/esm/models/NotFoundException.d.ts.map +0 -1
- package/dist/esm/models/NotFoundException.js +0 -62
- package/dist/esm/models/PeopleSearchResult.d.ts +0 -46
- package/dist/esm/models/PeopleSearchResult.d.ts.map +0 -1
- package/dist/esm/models/PeopleSearchResult.js +0 -52
- package/dist/esm/models/Person.d.ts +0 -116
- package/dist/esm/models/Person.d.ts.map +0 -1
- package/dist/esm/models/Person.js +0 -90
- package/dist/esm/models/PersonCount.d.ts +0 -45
- package/dist/esm/models/PersonCount.d.ts.map +0 -1
- package/dist/esm/models/PersonCount.js +0 -45
- package/dist/esm/models/PersonHolder.d.ts +0 -39
- package/dist/esm/models/PersonHolder.d.ts.map +0 -1
- package/dist/esm/models/PersonHolder.js +0 -43
- package/dist/esm/models/Place.d.ts +0 -118
- package/dist/esm/models/Place.d.ts.map +0 -1
- package/dist/esm/models/Place.js +0 -72
- package/dist/esm/models/QuerySearchResult.d.ts +0 -46
- package/dist/esm/models/QuerySearchResult.d.ts.map +0 -1
- package/dist/esm/models/QuerySearchResult.js +0 -52
- package/dist/esm/models/Question.d.ts +0 -45
- package/dist/esm/models/Question.d.ts.map +0 -1
- package/dist/esm/models/Question.js +0 -45
- package/dist/esm/models/RecordStatHolder.d.ts +0 -39
- package/dist/esm/models/RecordStatHolder.d.ts.map +0 -1
- package/dist/esm/models/RecordStatHolder.js +0 -43
- package/dist/esm/models/ScoredArticle.d.ts +0 -40
- package/dist/esm/models/ScoredArticle.d.ts.map +0 -1
- package/dist/esm/models/ScoredArticle.js +0 -44
- package/dist/esm/models/SentimentHolder.d.ts +0 -45
- package/dist/esm/models/SentimentHolder.d.ts.map +0 -1
- package/dist/esm/models/SentimentHolder.js +0 -45
- package/dist/esm/models/SortBy.d.ts +0 -29
- package/dist/esm/models/SortBy.d.ts.map +0 -1
- package/dist/esm/models/SortBy.js +0 -46
- package/dist/esm/models/Source.d.ts +0 -168
- package/dist/esm/models/Source.d.ts.map +0 -1
- package/dist/esm/models/Source.js +0 -116
- package/dist/esm/models/SourceHolder.d.ts +0 -46
- package/dist/esm/models/SourceHolder.d.ts.map +0 -1
- package/dist/esm/models/SourceHolder.js +0 -48
- package/dist/esm/models/SourceLocation.d.ts +0 -58
- package/dist/esm/models/SourceLocation.d.ts.map +0 -1
- package/dist/esm/models/SourceLocation.js +0 -52
- package/dist/esm/models/SourceSearchResult.d.ts +0 -46
- package/dist/esm/models/SourceSearchResult.d.ts.map +0 -1
- package/dist/esm/models/SourceSearchResult.js +0 -52
- package/dist/esm/models/SourceTopStatHolder.d.ts +0 -39
- package/dist/esm/models/SourceTopStatHolder.d.ts.map +0 -1
- package/dist/esm/models/SourceTopStatHolder.js +0 -43
- package/dist/esm/models/StorySearchResult.d.ts +0 -46
- package/dist/esm/models/StorySearchResult.d.ts.map +0 -1
- package/dist/esm/models/StorySearchResult.js +0 -52
- package/dist/esm/models/SummaryBody.d.ts +0 -111
- package/dist/esm/models/SummaryBody.d.ts.map +0 -1
- package/dist/esm/models/SummaryBody.js +0 -86
- package/dist/esm/models/SummarySearchResult.d.ts +0 -52
- package/dist/esm/models/SummarySearchResult.d.ts.map +0 -1
- package/dist/esm/models/SummarySearchResult.js +0 -56
- package/dist/esm/models/SymbolHolder.d.ts +0 -51
- package/dist/esm/models/SymbolHolder.d.ts.map +0 -1
- package/dist/esm/models/SymbolHolder.js +0 -47
- package/dist/esm/models/TooManyRequestsException.d.ts +0 -140
- package/dist/esm/models/TooManyRequestsException.d.ts.map +0 -1
- package/dist/esm/models/TooManyRequestsException.js +0 -137
- package/dist/esm/models/TooManyRequestsExceptionCause.d.ts +0 -46
- package/dist/esm/models/TooManyRequestsExceptionCause.d.ts.map +0 -1
- package/dist/esm/models/TooManyRequestsExceptionCause.js +0 -50
- package/dist/esm/models/TooManyRequestsExceptionCauseStackTraceInner.d.ts +0 -75
- package/dist/esm/models/TooManyRequestsExceptionCauseStackTraceInner.d.ts.map +0 -1
- package/dist/esm/models/TooManyRequestsExceptionCauseStackTraceInner.js +0 -55
- package/dist/esm/models/TooManyRequestsExceptionSuppressedInner.d.ts +0 -46
- package/dist/esm/models/TooManyRequestsExceptionSuppressedInner.d.ts.map +0 -1
- package/dist/esm/models/TooManyRequestsExceptionSuppressedInner.js +0 -50
- package/dist/esm/models/TopicDto.d.ts +0 -58
- package/dist/esm/models/TopicDto.d.ts.map +0 -1
- package/dist/esm/models/TopicDto.js +0 -54
- package/dist/esm/models/TopicHolder.d.ts +0 -33
- package/dist/esm/models/TopicHolder.d.ts.map +0 -1
- package/dist/esm/models/TopicHolder.js +0 -41
- package/dist/esm/models/TopicLabels.d.ts +0 -39
- package/dist/esm/models/TopicLabels.d.ts.map +0 -1
- package/dist/esm/models/TopicLabels.js +0 -43
- package/dist/esm/models/TopicSearchResult.d.ts +0 -40
- package/dist/esm/models/TopicSearchResult.d.ts.map +0 -1
- package/dist/esm/models/TopicSearchResult.js +0 -48
- package/dist/esm/models/VectorSearchResult.d.ts +0 -40
- package/dist/esm/models/VectorSearchResult.d.ts.map +0 -1
- package/dist/esm/models/VectorSearchResult.js +0 -48
- package/dist/esm/models/WebResources.d.ts +0 -129
- package/dist/esm/models/WebResources.d.ts.map +0 -1
- package/dist/esm/models/WebResources.js +0 -73
- package/dist/esm/models/WikidataDateHolder.d.ts +0 -39
- package/dist/esm/models/WikidataDateHolder.d.ts.map +0 -1
- package/dist/esm/models/WikidataDateHolder.js +0 -43
- package/dist/esm/models/WikidataLabelHolder.d.ts +0 -39
- package/dist/esm/models/WikidataLabelHolder.d.ts.map +0 -1
- package/dist/esm/models/WikidataLabelHolder.js +0 -43
- package/dist/esm/models/WikidataPoliticalPartyHolder.d.ts +0 -52
- package/dist/esm/models/WikidataPoliticalPartyHolder.d.ts.map +0 -1
- package/dist/esm/models/WikidataPoliticalPartyHolder.js +0 -52
- package/dist/esm/models/WikidataPositionHolder.d.ts +0 -59
- package/dist/esm/models/WikidataPositionHolder.d.ts.map +0 -1
- package/dist/esm/models/WikidataPositionHolder.js +0 -57
- package/dist/esm/models/index.d.ts +0 -64
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/index.js +0 -65
- package/dist/esm/runtime.d.ts +0 -180
- package/dist/esm/runtime.d.ts.map +0 -1
- package/dist/esm/runtime.js +0 -322
- package/dist/index.d.ts.map +0 -1
- package/dist/models/AllEndpointSortBy.d.ts +0 -31
- package/dist/models/AllEndpointSortBy.d.ts.map +0 -1
- package/dist/models/AllEndpointSortBy.js +0 -56
- package/dist/models/Article.d.ts +0 -303
- package/dist/models/Article.d.ts.map +0 -1
- package/dist/models/Article.js +0 -206
- package/dist/models/ArticleSearchFilter.d.ts +0 -286
- package/dist/models/ArticleSearchFilter.d.ts.map +0 -1
- package/dist/models/ArticleSearchFilter.js +0 -157
- package/dist/models/ArticleSearchParams.d.ts +0 -88
- package/dist/models/ArticleSearchParams.d.ts.map +0 -1
- package/dist/models/ArticleSearchParams.js +0 -79
- package/dist/models/AuthException.d.ts +0 -140
- package/dist/models/AuthException.d.ts.map +0 -1
- package/dist/models/AuthException.js +0 -145
- package/dist/models/AuthExceptionCause.d.ts +0 -46
- package/dist/models/AuthExceptionCause.d.ts.map +0 -1
- package/dist/models/AuthExceptionCause.js +0 -57
- package/dist/models/AuthExceptionCauseStackTraceInner.d.ts +0 -75
- package/dist/models/AuthExceptionCauseStackTraceInner.d.ts.map +0 -1
- package/dist/models/AuthExceptionCauseStackTraceInner.js +0 -62
- package/dist/models/AuthExceptionSuppressedInner.d.ts +0 -46
- package/dist/models/AuthExceptionSuppressedInner.d.ts.map +0 -1
- package/dist/models/AuthExceptionSuppressedInner.js +0 -57
- package/dist/models/CategoryHolder.d.ts +0 -33
- package/dist/models/CategoryHolder.d.ts.map +0 -1
- package/dist/models/CategoryHolder.js +0 -48
- package/dist/models/CategoryWithScoreHolder.d.ts +0 -39
- package/dist/models/CategoryWithScoreHolder.d.ts.map +0 -1
- package/dist/models/CategoryWithScoreHolder.js +0 -50
- package/dist/models/Company.d.ts +0 -209
- package/dist/models/Company.d.ts.map +0 -1
- package/dist/models/Company.js +0 -114
- package/dist/models/CompanyCount.d.ts +0 -57
- package/dist/models/CompanyCount.d.ts.map +0 -1
- package/dist/models/CompanyCount.js +0 -56
- package/dist/models/CompanyHolder.d.ts +0 -51
- package/dist/models/CompanyHolder.d.ts.map +0 -1
- package/dist/models/CompanyHolder.js +0 -54
- package/dist/models/CompanySearchResult.d.ts +0 -46
- package/dist/models/CompanySearchResult.d.ts.map +0 -1
- package/dist/models/CompanySearchResult.js +0 -59
- package/dist/models/Coordinate.d.ts +0 -39
- package/dist/models/Coordinate.d.ts.map +0 -1
- package/dist/models/Coordinate.js +0 -50
- package/dist/models/CoordinateFilter.d.ts +0 -45
- package/dist/models/CoordinateFilter.d.ts.map +0 -1
- package/dist/models/CoordinateFilter.js +0 -52
- package/dist/models/EntityHolder.d.ts +0 -45
- package/dist/models/EntityHolder.d.ts.map +0 -1
- package/dist/models/EntityHolder.js +0 -52
- package/dist/models/EventTypeHolder.d.ts +0 -39
- package/dist/models/EventTypeHolder.d.ts.map +0 -1
- package/dist/models/EventTypeHolder.js +0 -50
- package/dist/models/IdNameHolder.d.ts +0 -39
- package/dist/models/IdNameHolder.d.ts.map +0 -1
- package/dist/models/IdNameHolder.js +0 -50
- package/dist/models/IllegalParameterException.d.ts +0 -60
- package/dist/models/IllegalParameterException.d.ts.map +0 -1
- package/dist/models/IllegalParameterException.js +0 -69
- package/dist/models/ImageHolder.d.ts +0 -33
- package/dist/models/ImageHolder.d.ts.map +0 -1
- package/dist/models/ImageHolder.js +0 -48
- package/dist/models/InternalErrorException.d.ts +0 -60
- package/dist/models/InternalErrorException.d.ts.map +0 -1
- package/dist/models/InternalErrorException.js +0 -69
- package/dist/models/InternalErrorExceptionCause.d.ts +0 -46
- package/dist/models/InternalErrorExceptionCause.d.ts.map +0 -1
- package/dist/models/InternalErrorExceptionCause.js +0 -57
- package/dist/models/InternalErrorExceptionCauseStackTraceInner.d.ts +0 -75
- package/dist/models/InternalErrorExceptionCauseStackTraceInner.d.ts.map +0 -1
- package/dist/models/InternalErrorExceptionCauseStackTraceInner.js +0 -62
- package/dist/models/InternalErrorExceptionSuppressedInner.d.ts +0 -46
- package/dist/models/InternalErrorExceptionSuppressedInner.d.ts.map +0 -1
- package/dist/models/InternalErrorExceptionSuppressedInner.js +0 -57
- package/dist/models/Journalist.d.ts +0 -185
- package/dist/models/Journalist.d.ts.map +0 -1
- package/dist/models/Journalist.js +0 -126
- package/dist/models/JournalistSearchResult.d.ts +0 -46
- package/dist/models/JournalistSearchResult.d.ts.map +0 -1
- package/dist/models/JournalistSearchResult.js +0 -59
- package/dist/models/KeyPoint.d.ts +0 -39
- package/dist/models/KeyPoint.d.ts.map +0 -1
- package/dist/models/KeyPoint.js +0 -50
- package/dist/models/KeywordHolder.d.ts +0 -39
- package/dist/models/KeywordHolder.d.ts.map +0 -1
- package/dist/models/KeywordHolder.js +0 -50
- package/dist/models/LabelHolder.d.ts +0 -33
- package/dist/models/LabelHolder.d.ts.map +0 -1
- package/dist/models/LabelHolder.js +0 -48
- package/dist/models/LocationCount.d.ts +0 -57
- package/dist/models/LocationCount.d.ts.map +0 -1
- package/dist/models/LocationCount.js +0 -56
- package/dist/models/LocationHolder.d.ts +0 -57
- package/dist/models/LocationHolder.d.ts.map +0 -1
- package/dist/models/LocationHolder.js +0 -56
- package/dist/models/NameCount.d.ts +0 -39
- package/dist/models/NameCount.d.ts.map +0 -1
- package/dist/models/NameCount.js +0 -50
- package/dist/models/NewsCluster.d.ts +0 -253
- package/dist/models/NewsCluster.d.ts.map +0 -1
- package/dist/models/NewsCluster.js +0 -198
- package/dist/models/NotFoundException.d.ts +0 -60
- package/dist/models/NotFoundException.d.ts.map +0 -1
- package/dist/models/NotFoundException.js +0 -69
- package/dist/models/PeopleSearchResult.d.ts +0 -46
- package/dist/models/PeopleSearchResult.d.ts.map +0 -1
- package/dist/models/PeopleSearchResult.js +0 -59
- package/dist/models/Person.d.ts +0 -116
- package/dist/models/Person.d.ts.map +0 -1
- package/dist/models/Person.js +0 -97
- package/dist/models/PersonCount.d.ts +0 -45
- package/dist/models/PersonCount.d.ts.map +0 -1
- package/dist/models/PersonCount.js +0 -52
- package/dist/models/PersonHolder.d.ts +0 -39
- package/dist/models/PersonHolder.d.ts.map +0 -1
- package/dist/models/PersonHolder.js +0 -50
- package/dist/models/Place.d.ts +0 -118
- package/dist/models/Place.d.ts.map +0 -1
- package/dist/models/Place.js +0 -79
- package/dist/models/QuerySearchResult.d.ts +0 -46
- package/dist/models/QuerySearchResult.d.ts.map +0 -1
- package/dist/models/QuerySearchResult.js +0 -59
- package/dist/models/Question.d.ts +0 -45
- package/dist/models/Question.d.ts.map +0 -1
- package/dist/models/Question.js +0 -52
- package/dist/models/RecordStatHolder.d.ts +0 -39
- package/dist/models/RecordStatHolder.d.ts.map +0 -1
- package/dist/models/RecordStatHolder.js +0 -50
- package/dist/models/ScoredArticle.d.ts +0 -40
- package/dist/models/ScoredArticle.d.ts.map +0 -1
- package/dist/models/ScoredArticle.js +0 -51
- package/dist/models/SentimentHolder.d.ts +0 -45
- package/dist/models/SentimentHolder.d.ts.map +0 -1
- package/dist/models/SentimentHolder.js +0 -52
- package/dist/models/SortBy.d.ts +0 -29
- package/dist/models/SortBy.d.ts.map +0 -1
- package/dist/models/SortBy.js +0 -54
- package/dist/models/Source.d.ts +0 -168
- package/dist/models/Source.d.ts.map +0 -1
- package/dist/models/Source.js +0 -123
- package/dist/models/SourceHolder.d.ts +0 -46
- package/dist/models/SourceHolder.d.ts.map +0 -1
- package/dist/models/SourceHolder.js +0 -55
- package/dist/models/SourceLocation.d.ts +0 -58
- package/dist/models/SourceLocation.d.ts.map +0 -1
- package/dist/models/SourceLocation.js +0 -59
- package/dist/models/SourceSearchResult.d.ts +0 -46
- package/dist/models/SourceSearchResult.d.ts.map +0 -1
- package/dist/models/SourceSearchResult.js +0 -59
- package/dist/models/SourceTopStatHolder.d.ts +0 -39
- package/dist/models/SourceTopStatHolder.d.ts.map +0 -1
- package/dist/models/SourceTopStatHolder.js +0 -50
- package/dist/models/StorySearchResult.d.ts +0 -46
- package/dist/models/StorySearchResult.d.ts.map +0 -1
- package/dist/models/StorySearchResult.js +0 -59
- package/dist/models/SummaryBody.d.ts +0 -111
- package/dist/models/SummaryBody.d.ts.map +0 -1
- package/dist/models/SummaryBody.js +0 -94
- package/dist/models/SummarySearchResult.d.ts +0 -52
- package/dist/models/SummarySearchResult.d.ts.map +0 -1
- package/dist/models/SummarySearchResult.js +0 -63
- package/dist/models/SymbolHolder.d.ts +0 -51
- package/dist/models/SymbolHolder.d.ts.map +0 -1
- package/dist/models/SymbolHolder.js +0 -54
- package/dist/models/TooManyRequestsException.d.ts +0 -140
- package/dist/models/TooManyRequestsException.d.ts.map +0 -1
- package/dist/models/TooManyRequestsException.js +0 -145
- package/dist/models/TooManyRequestsExceptionCause.d.ts +0 -46
- package/dist/models/TooManyRequestsExceptionCause.d.ts.map +0 -1
- package/dist/models/TooManyRequestsExceptionCause.js +0 -57
- package/dist/models/TooManyRequestsExceptionCauseStackTraceInner.d.ts +0 -75
- package/dist/models/TooManyRequestsExceptionCauseStackTraceInner.d.ts.map +0 -1
- package/dist/models/TooManyRequestsExceptionCauseStackTraceInner.js +0 -62
- package/dist/models/TooManyRequestsExceptionSuppressedInner.d.ts +0 -46
- package/dist/models/TooManyRequestsExceptionSuppressedInner.d.ts.map +0 -1
- package/dist/models/TooManyRequestsExceptionSuppressedInner.js +0 -57
- package/dist/models/TopicDto.d.ts +0 -58
- package/dist/models/TopicDto.d.ts.map +0 -1
- package/dist/models/TopicDto.js +0 -61
- package/dist/models/TopicHolder.d.ts +0 -33
- package/dist/models/TopicHolder.d.ts.map +0 -1
- package/dist/models/TopicHolder.js +0 -48
- package/dist/models/TopicLabels.d.ts +0 -39
- package/dist/models/TopicLabels.d.ts.map +0 -1
- package/dist/models/TopicLabels.js +0 -50
- package/dist/models/TopicSearchResult.d.ts +0 -40
- package/dist/models/TopicSearchResult.d.ts.map +0 -1
- package/dist/models/TopicSearchResult.js +0 -55
- package/dist/models/VectorSearchResult.d.ts +0 -40
- package/dist/models/VectorSearchResult.d.ts.map +0 -1
- package/dist/models/VectorSearchResult.js +0 -55
- package/dist/models/WebResources.d.ts +0 -129
- package/dist/models/WebResources.d.ts.map +0 -1
- package/dist/models/WebResources.js +0 -80
- package/dist/models/WikidataDateHolder.d.ts +0 -39
- package/dist/models/WikidataDateHolder.d.ts.map +0 -1
- package/dist/models/WikidataDateHolder.js +0 -50
- package/dist/models/WikidataLabelHolder.d.ts +0 -39
- package/dist/models/WikidataLabelHolder.d.ts.map +0 -1
- package/dist/models/WikidataLabelHolder.js +0 -50
- package/dist/models/WikidataPoliticalPartyHolder.d.ts +0 -52
- package/dist/models/WikidataPoliticalPartyHolder.d.ts.map +0 -1
- package/dist/models/WikidataPoliticalPartyHolder.js +0 -59
- package/dist/models/WikidataPositionHolder.d.ts +0 -59
- package/dist/models/WikidataPositionHolder.d.ts.map +0 -1
- package/dist/models/WikidataPositionHolder.js +0 -64
- package/dist/models/index.d.ts +0 -64
- package/dist/models/index.d.ts.map +0 -1
- package/dist/models/index.js +0 -81
- package/dist/runtime.d.ts +0 -180
- package/dist/runtime.d.ts.map +0 -1
- package/dist/runtime.js +0 -338
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Perigon API
|
|
6
|
-
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact: data@perigon.io
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfNewsCluster = instanceOfNewsCluster;
|
|
17
|
-
exports.NewsClusterFromJSON = NewsClusterFromJSON;
|
|
18
|
-
exports.NewsClusterFromJSONTyped = NewsClusterFromJSONTyped;
|
|
19
|
-
exports.NewsClusterToJSON = NewsClusterToJSON;
|
|
20
|
-
exports.NewsClusterToJSONTyped = NewsClusterToJSONTyped;
|
|
21
|
-
const RecordStatHolder_1 = require("./RecordStatHolder");
|
|
22
|
-
const PersonCount_1 = require("./PersonCount");
|
|
23
|
-
const LocationCount_1 = require("./LocationCount");
|
|
24
|
-
const SourceHolder_1 = require("./SourceHolder");
|
|
25
|
-
const Article_1 = require("./Article");
|
|
26
|
-
const CompanyCount_1 = require("./CompanyCount");
|
|
27
|
-
const CompanyHolder_1 = require("./CompanyHolder");
|
|
28
|
-
const CategoryHolder_1 = require("./CategoryHolder");
|
|
29
|
-
const PersonHolder_1 = require("./PersonHolder");
|
|
30
|
-
const KeyPoint_1 = require("./KeyPoint");
|
|
31
|
-
const LocationHolder_1 = require("./LocationHolder");
|
|
32
|
-
const TopicHolder_1 = require("./TopicHolder");
|
|
33
|
-
const Question_1 = require("./Question");
|
|
34
|
-
const SentimentHolder_1 = require("./SentimentHolder");
|
|
35
|
-
/**
|
|
36
|
-
* Check if a given object implements the NewsCluster interface.
|
|
37
|
-
*/
|
|
38
|
-
function instanceOfNewsCluster(value) {
|
|
39
|
-
return true;
|
|
40
|
-
}
|
|
41
|
-
function NewsClusterFromJSON(json) {
|
|
42
|
-
return NewsClusterFromJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function NewsClusterFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
-
if (json == null) {
|
|
46
|
-
return json;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
createdAt: json["createdAt"] == null ? undefined : json["createdAt"],
|
|
50
|
-
updatedAt: json["updatedAt"] == null ? undefined : json["updatedAt"],
|
|
51
|
-
initializedAt: json["initializedAt"] == null ? undefined : json["initializedAt"],
|
|
52
|
-
id: json["id"] == null ? undefined : json["id"],
|
|
53
|
-
duplicateOf: json["duplicateOf"] == null ? undefined : json["duplicateOf"],
|
|
54
|
-
slug: json["slug"] == null ? undefined : json["slug"],
|
|
55
|
-
name: json["name"] == null ? undefined : json["name"],
|
|
56
|
-
summary: json["summary"] == null ? undefined : json["summary"],
|
|
57
|
-
shortSummary: json["shortSummary"] == null ? undefined : json["shortSummary"],
|
|
58
|
-
summaryReferences: json["summaryReferences"] == null ? undefined : json["summaryReferences"],
|
|
59
|
-
imageSource: json["imageSource"] == null
|
|
60
|
-
? undefined
|
|
61
|
-
: (0, SourceHolder_1.SourceHolderFromJSON)(json["imageSource"]),
|
|
62
|
-
imageUrl: json["imageUrl"] == null ? undefined : json["imageUrl"],
|
|
63
|
-
keyPoints: json["keyPoints"] == null
|
|
64
|
-
? undefined
|
|
65
|
-
: json["keyPoints"].map(KeyPoint_1.KeyPointFromJSON),
|
|
66
|
-
questions: json["questions"] == null
|
|
67
|
-
? undefined
|
|
68
|
-
: json["questions"].map(Question_1.QuestionFromJSON),
|
|
69
|
-
uniqueSources: json["uniqueSources"] == null ? undefined : json["uniqueSources"],
|
|
70
|
-
selectedArticles: json["selectedArticles"] == null
|
|
71
|
-
? undefined
|
|
72
|
-
: json["selectedArticles"].map(Article_1.ArticleFromJSON),
|
|
73
|
-
sentiment: json["sentiment"] == null
|
|
74
|
-
? undefined
|
|
75
|
-
: (0, SentimentHolder_1.SentimentHolderFromJSON)(json["sentiment"]),
|
|
76
|
-
uniqueCount: json["uniqueCount"] == null ? undefined : json["uniqueCount"],
|
|
77
|
-
reprintCount: json["reprintCount"] == null ? undefined : json["reprintCount"],
|
|
78
|
-
totalCount: json["totalCount"] == null ? undefined : json["totalCount"],
|
|
79
|
-
countries: json["countries"] == null
|
|
80
|
-
? undefined
|
|
81
|
-
: json["countries"].map(RecordStatHolder_1.RecordStatHolderFromJSON),
|
|
82
|
-
topCountries: json["topCountries"] == null ? undefined : json["topCountries"],
|
|
83
|
-
topics: json["topics"] == null
|
|
84
|
-
? undefined
|
|
85
|
-
: json["topics"].map(RecordStatHolder_1.RecordStatHolderFromJSON),
|
|
86
|
-
topTopics: json["topTopics"] == null
|
|
87
|
-
? undefined
|
|
88
|
-
: json["topTopics"].map(TopicHolder_1.TopicHolderFromJSON),
|
|
89
|
-
categories: json["categories"] == null
|
|
90
|
-
? undefined
|
|
91
|
-
: json["categories"].map(RecordStatHolder_1.RecordStatHolderFromJSON),
|
|
92
|
-
topCategories: json["topCategories"] == null
|
|
93
|
-
? undefined
|
|
94
|
-
: json["topCategories"].map(CategoryHolder_1.CategoryHolderFromJSON),
|
|
95
|
-
taxonomies: json["taxonomies"] == null
|
|
96
|
-
? undefined
|
|
97
|
-
: json["taxonomies"].map(RecordStatHolder_1.RecordStatHolderFromJSON),
|
|
98
|
-
topTaxonomies: json["topTaxonomies"] == null
|
|
99
|
-
? undefined
|
|
100
|
-
: json["topTaxonomies"].map(CategoryHolder_1.CategoryHolderFromJSON),
|
|
101
|
-
people: json["people"] == null
|
|
102
|
-
? undefined
|
|
103
|
-
: json["people"].map(PersonCount_1.PersonCountFromJSON),
|
|
104
|
-
topPeople: json["topPeople"] == null
|
|
105
|
-
? undefined
|
|
106
|
-
: json["topPeople"].map(PersonHolder_1.PersonHolderFromJSON),
|
|
107
|
-
companies: json["companies"] == null
|
|
108
|
-
? undefined
|
|
109
|
-
: json["companies"].map(CompanyCount_1.CompanyCountFromJSON),
|
|
110
|
-
topCompanies: json["topCompanies"] == null
|
|
111
|
-
? undefined
|
|
112
|
-
: json["topCompanies"].map(CompanyHolder_1.CompanyHolderFromJSON),
|
|
113
|
-
locations: json["locations"] == null
|
|
114
|
-
? undefined
|
|
115
|
-
: json["locations"].map(LocationCount_1.LocationCountFromJSON),
|
|
116
|
-
topLocations: json["topLocations"] == null
|
|
117
|
-
? undefined
|
|
118
|
-
: json["topLocations"].map(LocationHolder_1.LocationHolderFromJSON),
|
|
119
|
-
highlights: json["highlights"] == null ? undefined : json["highlights"],
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
function NewsClusterToJSON(json) {
|
|
123
|
-
return NewsClusterToJSONTyped(json, false);
|
|
124
|
-
}
|
|
125
|
-
function NewsClusterToJSONTyped(value, ignoreDiscriminator = false) {
|
|
126
|
-
if (value == null) {
|
|
127
|
-
return value;
|
|
128
|
-
}
|
|
129
|
-
return {
|
|
130
|
-
createdAt: value["createdAt"],
|
|
131
|
-
updatedAt: value["updatedAt"],
|
|
132
|
-
initializedAt: value["initializedAt"],
|
|
133
|
-
id: value["id"],
|
|
134
|
-
duplicateOf: value["duplicateOf"],
|
|
135
|
-
slug: value["slug"],
|
|
136
|
-
name: value["name"],
|
|
137
|
-
summary: value["summary"],
|
|
138
|
-
shortSummary: value["shortSummary"],
|
|
139
|
-
summaryReferences: value["summaryReferences"],
|
|
140
|
-
imageSource: (0, SourceHolder_1.SourceHolderToJSON)(value["imageSource"]),
|
|
141
|
-
imageUrl: value["imageUrl"],
|
|
142
|
-
keyPoints: value["keyPoints"] == null
|
|
143
|
-
? undefined
|
|
144
|
-
: value["keyPoints"].map(KeyPoint_1.KeyPointToJSON),
|
|
145
|
-
questions: value["questions"] == null
|
|
146
|
-
? undefined
|
|
147
|
-
: value["questions"].map(Question_1.QuestionToJSON),
|
|
148
|
-
uniqueSources: value["uniqueSources"],
|
|
149
|
-
selectedArticles: value["selectedArticles"] == null
|
|
150
|
-
? undefined
|
|
151
|
-
: value["selectedArticles"].map(Article_1.ArticleToJSON),
|
|
152
|
-
sentiment: (0, SentimentHolder_1.SentimentHolderToJSON)(value["sentiment"]),
|
|
153
|
-
uniqueCount: value["uniqueCount"],
|
|
154
|
-
reprintCount: value["reprintCount"],
|
|
155
|
-
totalCount: value["totalCount"],
|
|
156
|
-
countries: value["countries"] == null
|
|
157
|
-
? undefined
|
|
158
|
-
: value["countries"].map(RecordStatHolder_1.RecordStatHolderToJSON),
|
|
159
|
-
topCountries: value["topCountries"],
|
|
160
|
-
topics: value["topics"] == null
|
|
161
|
-
? undefined
|
|
162
|
-
: value["topics"].map(RecordStatHolder_1.RecordStatHolderToJSON),
|
|
163
|
-
topTopics: value["topTopics"] == null
|
|
164
|
-
? undefined
|
|
165
|
-
: value["topTopics"].map(TopicHolder_1.TopicHolderToJSON),
|
|
166
|
-
categories: value["categories"] == null
|
|
167
|
-
? undefined
|
|
168
|
-
: value["categories"].map(RecordStatHolder_1.RecordStatHolderToJSON),
|
|
169
|
-
topCategories: value["topCategories"] == null
|
|
170
|
-
? undefined
|
|
171
|
-
: value["topCategories"].map(CategoryHolder_1.CategoryHolderToJSON),
|
|
172
|
-
taxonomies: value["taxonomies"] == null
|
|
173
|
-
? undefined
|
|
174
|
-
: value["taxonomies"].map(RecordStatHolder_1.RecordStatHolderToJSON),
|
|
175
|
-
topTaxonomies: value["topTaxonomies"] == null
|
|
176
|
-
? undefined
|
|
177
|
-
: value["topTaxonomies"].map(CategoryHolder_1.CategoryHolderToJSON),
|
|
178
|
-
people: value["people"] == null
|
|
179
|
-
? undefined
|
|
180
|
-
: value["people"].map(PersonCount_1.PersonCountToJSON),
|
|
181
|
-
topPeople: value["topPeople"] == null
|
|
182
|
-
? undefined
|
|
183
|
-
: value["topPeople"].map(PersonHolder_1.PersonHolderToJSON),
|
|
184
|
-
companies: value["companies"] == null
|
|
185
|
-
? undefined
|
|
186
|
-
: value["companies"].map(CompanyCount_1.CompanyCountToJSON),
|
|
187
|
-
topCompanies: value["topCompanies"] == null
|
|
188
|
-
? undefined
|
|
189
|
-
: value["topCompanies"].map(CompanyHolder_1.CompanyHolderToJSON),
|
|
190
|
-
locations: value["locations"] == null
|
|
191
|
-
? undefined
|
|
192
|
-
: value["locations"].map(LocationCount_1.LocationCountToJSON),
|
|
193
|
-
topLocations: value["topLocations"] == null
|
|
194
|
-
? undefined
|
|
195
|
-
: value["topLocations"].map(LocationHolder_1.LocationHolderToJSON),
|
|
196
|
-
highlights: value["highlights"],
|
|
197
|
-
};
|
|
198
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Perigon API
|
|
3
|
-
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: data@perigon.io
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { TooManyRequestsExceptionCause } from "./TooManyRequestsExceptionCause";
|
|
13
|
-
import type { TooManyRequestsExceptionCauseStackTraceInner } from "./TooManyRequestsExceptionCauseStackTraceInner";
|
|
14
|
-
import type { TooManyRequestsExceptionSuppressedInner } from "./TooManyRequestsExceptionSuppressedInner";
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface NotFoundException
|
|
19
|
-
*/
|
|
20
|
-
export interface NotFoundException {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {TooManyRequestsExceptionCause}
|
|
24
|
-
* @memberof NotFoundException
|
|
25
|
-
*/
|
|
26
|
-
cause?: TooManyRequestsExceptionCause | null;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {Array<TooManyRequestsExceptionCauseStackTraceInner>}
|
|
30
|
-
* @memberof NotFoundException
|
|
31
|
-
*/
|
|
32
|
-
stackTrace?: Array<TooManyRequestsExceptionCauseStackTraceInner> | null;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof NotFoundException
|
|
37
|
-
*/
|
|
38
|
-
message?: string | null;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {Array<TooManyRequestsExceptionSuppressedInner>}
|
|
42
|
-
* @memberof NotFoundException
|
|
43
|
-
*/
|
|
44
|
-
suppressed?: Array<TooManyRequestsExceptionSuppressedInner> | null;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {string}
|
|
48
|
-
* @memberof NotFoundException
|
|
49
|
-
*/
|
|
50
|
-
localizedMessage?: string | null;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Check if a given object implements the NotFoundException interface.
|
|
54
|
-
*/
|
|
55
|
-
export declare function instanceOfNotFoundException(value: object): value is NotFoundException;
|
|
56
|
-
export declare function NotFoundExceptionFromJSON(json: any): NotFoundException;
|
|
57
|
-
export declare function NotFoundExceptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotFoundException;
|
|
58
|
-
export declare function NotFoundExceptionToJSON(json: any): NotFoundException;
|
|
59
|
-
export declare function NotFoundExceptionToJSONTyped(value?: NotFoundException | null, ignoreDiscriminator?: boolean): any;
|
|
60
|
-
//# sourceMappingURL=NotFoundException.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NotFoundException.d.ts","sourceRoot":"","sources":["../../src/models/NotFoundException.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAOrF,OAAO,KAAK,EAAE,4CAA4C,EAAE,MAAM,gDAAgD,CAAC;AAOnH,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,2CAA2C,CAAC;AAQzG;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,KAAK,CAAC,EAAE,6BAA6B,GAAG,IAAI,CAAC;IAC7C;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,4CAA4C,CAAC,GAAG,IAAI,CAAC;IACxE;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,uCAAuC,CAAC,GAAG,IAAI,CAAC;IACnE;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,MAAM,GACZ,KAAK,IAAI,iBAAiB,CAE5B;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC3B,iBAAiB,CAyBnB;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAC1C,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAChC,mBAAmB,GAAE,OAAe,GACnC,GAAG,CAsBL"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Perigon API
|
|
6
|
-
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact: data@perigon.io
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfNotFoundException = instanceOfNotFoundException;
|
|
17
|
-
exports.NotFoundExceptionFromJSON = NotFoundExceptionFromJSON;
|
|
18
|
-
exports.NotFoundExceptionFromJSONTyped = NotFoundExceptionFromJSONTyped;
|
|
19
|
-
exports.NotFoundExceptionToJSON = NotFoundExceptionToJSON;
|
|
20
|
-
exports.NotFoundExceptionToJSONTyped = NotFoundExceptionToJSONTyped;
|
|
21
|
-
const TooManyRequestsExceptionCause_1 = require("./TooManyRequestsExceptionCause");
|
|
22
|
-
const TooManyRequestsExceptionCauseStackTraceInner_1 = require("./TooManyRequestsExceptionCauseStackTraceInner");
|
|
23
|
-
const TooManyRequestsExceptionSuppressedInner_1 = require("./TooManyRequestsExceptionSuppressedInner");
|
|
24
|
-
/**
|
|
25
|
-
* Check if a given object implements the NotFoundException interface.
|
|
26
|
-
*/
|
|
27
|
-
function instanceOfNotFoundException(value) {
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
function NotFoundExceptionFromJSON(json) {
|
|
31
|
-
return NotFoundExceptionFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
function NotFoundExceptionFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
cause: json["cause"] == null
|
|
39
|
-
? undefined
|
|
40
|
-
: (0, TooManyRequestsExceptionCause_1.TooManyRequestsExceptionCauseFromJSON)(json["cause"]),
|
|
41
|
-
stackTrace: json["stackTrace"] == null
|
|
42
|
-
? undefined
|
|
43
|
-
: json["stackTrace"].map(TooManyRequestsExceptionCauseStackTraceInner_1.TooManyRequestsExceptionCauseStackTraceInnerFromJSON),
|
|
44
|
-
message: json["message"] == null ? undefined : json["message"],
|
|
45
|
-
suppressed: json["suppressed"] == null
|
|
46
|
-
? undefined
|
|
47
|
-
: json["suppressed"].map(TooManyRequestsExceptionSuppressedInner_1.TooManyRequestsExceptionSuppressedInnerFromJSON),
|
|
48
|
-
localizedMessage: json["localizedMessage"] == null ? undefined : json["localizedMessage"],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
function NotFoundExceptionToJSON(json) {
|
|
52
|
-
return NotFoundExceptionToJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
function NotFoundExceptionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
-
if (value == null) {
|
|
56
|
-
return value;
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
cause: (0, TooManyRequestsExceptionCause_1.TooManyRequestsExceptionCauseToJSON)(value["cause"]),
|
|
60
|
-
stackTrace: value["stackTrace"] == null
|
|
61
|
-
? undefined
|
|
62
|
-
: value["stackTrace"].map(TooManyRequestsExceptionCauseStackTraceInner_1.TooManyRequestsExceptionCauseStackTraceInnerToJSON),
|
|
63
|
-
message: value["message"],
|
|
64
|
-
suppressed: value["suppressed"] == null
|
|
65
|
-
? undefined
|
|
66
|
-
: value["suppressed"].map(TooManyRequestsExceptionSuppressedInner_1.TooManyRequestsExceptionSuppressedInnerToJSON),
|
|
67
|
-
localizedMessage: value["localizedMessage"],
|
|
68
|
-
};
|
|
69
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Perigon API
|
|
3
|
-
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: data@perigon.io
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { Person } from "./Person";
|
|
13
|
-
/**
|
|
14
|
-
* Person search result
|
|
15
|
-
* @export
|
|
16
|
-
* @interface PeopleSearchResult
|
|
17
|
-
*/
|
|
18
|
-
export interface PeopleSearchResult {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof PeopleSearchResult
|
|
23
|
-
*/
|
|
24
|
-
status: number;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof PeopleSearchResult
|
|
29
|
-
*/
|
|
30
|
-
numResults: number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {Array<Person>}
|
|
34
|
-
* @memberof PeopleSearchResult
|
|
35
|
-
*/
|
|
36
|
-
results: Array<Person>;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the PeopleSearchResult interface.
|
|
40
|
-
*/
|
|
41
|
-
export declare function instanceOfPeopleSearchResult(value: object): value is PeopleSearchResult;
|
|
42
|
-
export declare function PeopleSearchResultFromJSON(json: any): PeopleSearchResult;
|
|
43
|
-
export declare function PeopleSearchResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): PeopleSearchResult;
|
|
44
|
-
export declare function PeopleSearchResultToJSON(json: any): PeopleSearchResult;
|
|
45
|
-
export declare function PeopleSearchResultToJSONTyped(value?: PeopleSearchResult | null, ignoreDiscriminator?: boolean): any;
|
|
46
|
-
//# sourceMappingURL=PeopleSearchResult.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PeopleSearchResult.d.ts","sourceRoot":"","sources":["../../src/models/PeopleSearchResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAQvC;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,MAAM,GACZ,KAAK,IAAI,kBAAkB,CAM7B;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAC7C,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC3B,kBAAkB,CASpB;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAEtE;AAED,wBAAgB,6BAA6B,CAC3C,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,EACjC,mBAAmB,GAAE,OAAe,GACnC,GAAG,CAUL"}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Perigon API
|
|
6
|
-
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact: data@perigon.io
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfPeopleSearchResult = instanceOfPeopleSearchResult;
|
|
17
|
-
exports.PeopleSearchResultFromJSON = PeopleSearchResultFromJSON;
|
|
18
|
-
exports.PeopleSearchResultFromJSONTyped = PeopleSearchResultFromJSONTyped;
|
|
19
|
-
exports.PeopleSearchResultToJSON = PeopleSearchResultToJSON;
|
|
20
|
-
exports.PeopleSearchResultToJSONTyped = PeopleSearchResultToJSONTyped;
|
|
21
|
-
const Person_1 = require("./Person");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the PeopleSearchResult interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfPeopleSearchResult(value) {
|
|
26
|
-
if (!("status" in value) || value["status"] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!("numResults" in value) || value["numResults"] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!("results" in value) || value["results"] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
function PeopleSearchResultFromJSON(json) {
|
|
35
|
-
return PeopleSearchResultFromJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
function PeopleSearchResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
-
if (json == null) {
|
|
39
|
-
return json;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
status: json["status"],
|
|
43
|
-
numResults: json["numResults"],
|
|
44
|
-
results: json["results"].map(Person_1.PersonFromJSON),
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
function PeopleSearchResultToJSON(json) {
|
|
48
|
-
return PeopleSearchResultToJSONTyped(json, false);
|
|
49
|
-
}
|
|
50
|
-
function PeopleSearchResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
-
if (value == null) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
status: value["status"],
|
|
56
|
-
numResults: value["numResults"],
|
|
57
|
-
results: value["results"].map(Person_1.PersonToJSON),
|
|
58
|
-
};
|
|
59
|
-
}
|
package/dist/models/Person.d.ts
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Perigon API
|
|
3
|
-
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: data@perigon.io
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { ImageHolder } from "./ImageHolder";
|
|
13
|
-
import type { WikidataPoliticalPartyHolder } from "./WikidataPoliticalPartyHolder";
|
|
14
|
-
import type { WikidataPositionHolder } from "./WikidataPositionHolder";
|
|
15
|
-
import type { WikidataDateHolder } from "./WikidataDateHolder";
|
|
16
|
-
import type { WikidataLabelHolder } from "./WikidataLabelHolder";
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @interface Person
|
|
21
|
-
*/
|
|
22
|
-
export interface Person {
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof Person
|
|
27
|
-
*/
|
|
28
|
-
wikidataId?: string | null;
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof Person
|
|
33
|
-
*/
|
|
34
|
-
createdAt?: string | null;
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof Person
|
|
39
|
-
*/
|
|
40
|
-
updatedAt?: string | null;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof Person
|
|
45
|
-
*/
|
|
46
|
-
name?: string | null;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {WikidataLabelHolder}
|
|
50
|
-
* @memberof Person
|
|
51
|
-
*/
|
|
52
|
-
gender?: WikidataLabelHolder;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {WikidataDateHolder}
|
|
56
|
-
* @memberof Person
|
|
57
|
-
*/
|
|
58
|
-
dateOfBirth?: WikidataDateHolder;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {WikidataDateHolder}
|
|
62
|
-
* @memberof Person
|
|
63
|
-
*/
|
|
64
|
-
dateOfDeath?: WikidataDateHolder;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {string}
|
|
68
|
-
* @memberof Person
|
|
69
|
-
*/
|
|
70
|
-
description?: string | null;
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {Array<string>}
|
|
74
|
-
* @memberof Person
|
|
75
|
-
*/
|
|
76
|
-
aliases?: Array<string> | null;
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
* @type {Array<WikidataLabelHolder>}
|
|
80
|
-
* @memberof Person
|
|
81
|
-
*/
|
|
82
|
-
occupation?: Array<WikidataLabelHolder> | null;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @type {Array<WikidataPositionHolder>}
|
|
86
|
-
* @memberof Person
|
|
87
|
-
*/
|
|
88
|
-
position?: Array<WikidataPositionHolder> | null;
|
|
89
|
-
/**
|
|
90
|
-
*
|
|
91
|
-
* @type {Array<WikidataPoliticalPartyHolder>}
|
|
92
|
-
* @memberof Person
|
|
93
|
-
*/
|
|
94
|
-
politicalParty?: Array<WikidataPoliticalPartyHolder> | null;
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
* @type {ImageHolder}
|
|
98
|
-
* @memberof Person
|
|
99
|
-
*/
|
|
100
|
-
image?: ImageHolder;
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
* @type {string}
|
|
104
|
-
* @memberof Person
|
|
105
|
-
*/
|
|
106
|
-
_abstract?: string | null;
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* Check if a given object implements the Person interface.
|
|
110
|
-
*/
|
|
111
|
-
export declare function instanceOfPerson(value: object): value is Person;
|
|
112
|
-
export declare function PersonFromJSON(json: any): Person;
|
|
113
|
-
export declare function PersonFromJSONTyped(json: any, ignoreDiscriminator: boolean): Person;
|
|
114
|
-
export declare function PersonToJSON(json: any): Person;
|
|
115
|
-
export declare function PersonToJSONTyped(value?: Person | null, ignoreDiscriminator?: boolean): any;
|
|
116
|
-
//# sourceMappingURL=Person.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Person.d.ts","sourceRoot":"","sources":["../../src/models/Person.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAOjD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAOnF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAOvE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAO/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQjE;;;;GAIG;AACH,MAAM,WAAW,MAAM;IACrB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B;;;;OAIG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC;;;;OAIG;IACH,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC;IAC/C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC;IAChD;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,4BAA4B,CAAC,GAAG,IAAI,CAAC;IAC5D;;;;OAIG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,MAAM,CAE/D;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAEhD;AAED,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC3B,MAAM,CAyCR;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAE9C;AAED,wBAAgB,iBAAiB,CAC/B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,EACrB,mBAAmB,GAAE,OAAe,GACnC,GAAG,CAgCL"}
|
package/dist/models/Person.js
DELETED
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Perigon API
|
|
6
|
-
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact: data@perigon.io
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfPerson = instanceOfPerson;
|
|
17
|
-
exports.PersonFromJSON = PersonFromJSON;
|
|
18
|
-
exports.PersonFromJSONTyped = PersonFromJSONTyped;
|
|
19
|
-
exports.PersonToJSON = PersonToJSON;
|
|
20
|
-
exports.PersonToJSONTyped = PersonToJSONTyped;
|
|
21
|
-
const ImageHolder_1 = require("./ImageHolder");
|
|
22
|
-
const WikidataPoliticalPartyHolder_1 = require("./WikidataPoliticalPartyHolder");
|
|
23
|
-
const WikidataPositionHolder_1 = require("./WikidataPositionHolder");
|
|
24
|
-
const WikidataDateHolder_1 = require("./WikidataDateHolder");
|
|
25
|
-
const WikidataLabelHolder_1 = require("./WikidataLabelHolder");
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the Person interface.
|
|
28
|
-
*/
|
|
29
|
-
function instanceOfPerson(value) {
|
|
30
|
-
return true;
|
|
31
|
-
}
|
|
32
|
-
function PersonFromJSON(json) {
|
|
33
|
-
return PersonFromJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
function PersonFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
if (json == null) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
wikidataId: json["wikidataId"] == null ? undefined : json["wikidataId"],
|
|
41
|
-
createdAt: json["createdAt"] == null ? undefined : json["createdAt"],
|
|
42
|
-
updatedAt: json["updatedAt"] == null ? undefined : json["updatedAt"],
|
|
43
|
-
name: json["name"] == null ? undefined : json["name"],
|
|
44
|
-
gender: json["gender"] == null
|
|
45
|
-
? undefined
|
|
46
|
-
: (0, WikidataLabelHolder_1.WikidataLabelHolderFromJSON)(json["gender"]),
|
|
47
|
-
dateOfBirth: json["dateOfBirth"] == null
|
|
48
|
-
? undefined
|
|
49
|
-
: (0, WikidataDateHolder_1.WikidataDateHolderFromJSON)(json["dateOfBirth"]),
|
|
50
|
-
dateOfDeath: json["dateOfDeath"] == null
|
|
51
|
-
? undefined
|
|
52
|
-
: (0, WikidataDateHolder_1.WikidataDateHolderFromJSON)(json["dateOfDeath"]),
|
|
53
|
-
description: json["description"] == null ? undefined : json["description"],
|
|
54
|
-
aliases: json["aliases"] == null ? undefined : json["aliases"],
|
|
55
|
-
occupation: json["occupation"] == null
|
|
56
|
-
? undefined
|
|
57
|
-
: json["occupation"].map(WikidataLabelHolder_1.WikidataLabelHolderFromJSON),
|
|
58
|
-
position: json["position"] == null
|
|
59
|
-
? undefined
|
|
60
|
-
: json["position"].map(WikidataPositionHolder_1.WikidataPositionHolderFromJSON),
|
|
61
|
-
politicalParty: json["politicalParty"] == null
|
|
62
|
-
? undefined
|
|
63
|
-
: json["politicalParty"].map(WikidataPoliticalPartyHolder_1.WikidataPoliticalPartyHolderFromJSON),
|
|
64
|
-
image: json["image"] == null ? undefined : (0, ImageHolder_1.ImageHolderFromJSON)(json["image"]),
|
|
65
|
-
_abstract: json["abstract"] == null ? undefined : json["abstract"],
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
function PersonToJSON(json) {
|
|
69
|
-
return PersonToJSONTyped(json, false);
|
|
70
|
-
}
|
|
71
|
-
function PersonToJSONTyped(value, ignoreDiscriminator = false) {
|
|
72
|
-
if (value == null) {
|
|
73
|
-
return value;
|
|
74
|
-
}
|
|
75
|
-
return {
|
|
76
|
-
wikidataId: value["wikidataId"],
|
|
77
|
-
createdAt: value["createdAt"],
|
|
78
|
-
updatedAt: value["updatedAt"],
|
|
79
|
-
name: value["name"],
|
|
80
|
-
gender: (0, WikidataLabelHolder_1.WikidataLabelHolderToJSON)(value["gender"]),
|
|
81
|
-
dateOfBirth: (0, WikidataDateHolder_1.WikidataDateHolderToJSON)(value["dateOfBirth"]),
|
|
82
|
-
dateOfDeath: (0, WikidataDateHolder_1.WikidataDateHolderToJSON)(value["dateOfDeath"]),
|
|
83
|
-
description: value["description"],
|
|
84
|
-
aliases: value["aliases"],
|
|
85
|
-
occupation: value["occupation"] == null
|
|
86
|
-
? undefined
|
|
87
|
-
: value["occupation"].map(WikidataLabelHolder_1.WikidataLabelHolderToJSON),
|
|
88
|
-
position: value["position"] == null
|
|
89
|
-
? undefined
|
|
90
|
-
: value["position"].map(WikidataPositionHolder_1.WikidataPositionHolderToJSON),
|
|
91
|
-
politicalParty: value["politicalParty"] == null
|
|
92
|
-
? undefined
|
|
93
|
-
: value["politicalParty"].map(WikidataPoliticalPartyHolder_1.WikidataPoliticalPartyHolderToJSON),
|
|
94
|
-
image: (0, ImageHolder_1.ImageHolderToJSON)(value["image"]),
|
|
95
|
-
abstract: value["_abstract"],
|
|
96
|
-
};
|
|
97
|
-
}
|