@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,40 +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 { Article } from "./Article";
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ScoredArticle
|
|
17
|
-
*/
|
|
18
|
-
export interface ScoredArticle {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof ScoredArticle
|
|
23
|
-
*/
|
|
24
|
-
score?: number | null;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Article}
|
|
28
|
-
* @memberof ScoredArticle
|
|
29
|
-
*/
|
|
30
|
-
data?: Article;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the ScoredArticle interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfScoredArticle(value: object): value is ScoredArticle;
|
|
36
|
-
export declare function ScoredArticleFromJSON(json: any): ScoredArticle;
|
|
37
|
-
export declare function ScoredArticleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScoredArticle;
|
|
38
|
-
export declare function ScoredArticleToJSON(json: any): ScoredArticle;
|
|
39
|
-
export declare function ScoredArticleToJSONTyped(value?: ScoredArticle | null, ignoreDiscriminator?: boolean): any;
|
|
40
|
-
//# sourceMappingURL=ScoredArticle.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScoredArticle.d.ts","sourceRoot":"","sources":["../../../src/models/ScoredArticle.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAQzC;;;;GAIG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,aAAa,CAE7E;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE9D;AAED,wBAAgB,0BAA0B,CACxC,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC3B,aAAa,CAQf;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa,CAE5D;AAED,wBAAgB,wBAAwB,CACtC,KAAK,CAAC,EAAE,aAAa,GAAG,IAAI,EAC5B,mBAAmB,GAAE,OAAe,GACnC,GAAG,CASL"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Perigon API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
* Contact: data@perigon.io
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { ArticleFromJSON, ArticleToJSON, } from "./Article";
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the ScoredArticle interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfScoredArticle(value) {
|
|
19
|
-
return true;
|
|
20
|
-
}
|
|
21
|
-
export function ScoredArticleFromJSON(json) {
|
|
22
|
-
return ScoredArticleFromJSONTyped(json, false);
|
|
23
|
-
}
|
|
24
|
-
export function ScoredArticleFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
-
if (json == null) {
|
|
26
|
-
return json;
|
|
27
|
-
}
|
|
28
|
-
return {
|
|
29
|
-
score: json["score"] == null ? undefined : json["score"],
|
|
30
|
-
data: json["data"] == null ? undefined : ArticleFromJSON(json["data"]),
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export function ScoredArticleToJSON(json) {
|
|
34
|
-
return ScoredArticleToJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
export function ScoredArticleToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
-
if (value == null) {
|
|
38
|
-
return value;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
score: value["score"],
|
|
42
|
-
data: ArticleToJSON(value["data"]),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
@@ -1,45 +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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SentimentHolder
|
|
16
|
-
*/
|
|
17
|
-
export interface SentimentHolder {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof SentimentHolder
|
|
22
|
-
*/
|
|
23
|
-
positive?: number | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof SentimentHolder
|
|
28
|
-
*/
|
|
29
|
-
negative?: number | null;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof SentimentHolder
|
|
34
|
-
*/
|
|
35
|
-
neutral?: number | null;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the SentimentHolder interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfSentimentHolder(value: object): value is SentimentHolder;
|
|
41
|
-
export declare function SentimentHolderFromJSON(json: any): SentimentHolder;
|
|
42
|
-
export declare function SentimentHolderFromJSONTyped(json: any, ignoreDiscriminator: boolean): SentimentHolder;
|
|
43
|
-
export declare function SentimentHolderToJSON(json: any): SentimentHolder;
|
|
44
|
-
export declare function SentimentHolderToJSONTyped(value?: SentimentHolder | null, ignoreDiscriminator?: boolean): any;
|
|
45
|
-
//# sourceMappingURL=SentimentHolder.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SentimentHolder.d.ts","sourceRoot":"","sources":["../../../src/models/SentimentHolder.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,yBAAyB,CACvC,KAAK,EAAE,MAAM,GACZ,KAAK,IAAI,eAAe,CAE1B;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAElE;AAED,wBAAgB,4BAA4B,CAC1C,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC3B,eAAe,CASjB;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,GAAG,GAAG,eAAe,CAEhE;AAED,wBAAgB,0BAA0B,CACxC,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,EAC9B,mBAAmB,GAAE,OAAe,GACnC,GAAG,CAUL"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Perigon API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
* Contact: data@perigon.io
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Check if a given object implements the SentimentHolder interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfSentimentHolder(value) {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
export function SentimentHolderFromJSON(json) {
|
|
21
|
-
return SentimentHolderFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
export function SentimentHolderFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if (json == null) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
return {
|
|
28
|
-
positive: json["positive"] == null ? undefined : json["positive"],
|
|
29
|
-
negative: json["negative"] == null ? undefined : json["negative"],
|
|
30
|
-
neutral: json["neutral"] == null ? undefined : json["neutral"],
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export function SentimentHolderToJSON(json) {
|
|
34
|
-
return SentimentHolderToJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
export function SentimentHolderToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
-
if (value == null) {
|
|
38
|
-
return value;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
positive: value["positive"],
|
|
42
|
-
negative: value["negative"],
|
|
43
|
-
neutral: value["neutral"],
|
|
44
|
-
};
|
|
45
|
-
}
|
|
@@ -1,29 +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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
*/
|
|
16
|
-
export declare const SortBy: {
|
|
17
|
-
readonly CreatedAt: "createdAt";
|
|
18
|
-
readonly UpdatedAt: "updatedAt";
|
|
19
|
-
readonly Relevance: "relevance";
|
|
20
|
-
readonly Count: "count";
|
|
21
|
-
readonly TotalCount: "totalCount";
|
|
22
|
-
};
|
|
23
|
-
export type SortBy = (typeof SortBy)[keyof typeof SortBy];
|
|
24
|
-
export declare function instanceOfSortBy(value: any): boolean;
|
|
25
|
-
export declare function SortByFromJSON(json: any): SortBy;
|
|
26
|
-
export declare function SortByFromJSONTyped(json: any, ignoreDiscriminator: boolean): SortBy;
|
|
27
|
-
export declare function SortByToJSON(value?: SortBy | null): any;
|
|
28
|
-
export declare function SortByToJSONTyped(value: any, ignoreDiscriminator: boolean): SortBy;
|
|
29
|
-
//# sourceMappingURL=SortBy.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SortBy.d.ts","sourceRoot":"","sources":["../../../src/models/SortBy.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;GAGG;AACH,eAAO,MAAM,MAAM;;;;;;CAMT,CAAC;AACX,MAAM,MAAM,MAAM,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,CAAC;AAE1D,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CASpD;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM,CAEhD;AAED,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC3B,MAAM,CAER;AAED,wBAAgB,YAAY,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,GAAG,CAEvD;AAED,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,GAAG,EACV,mBAAmB,EAAE,OAAO,GAC3B,MAAM,CAER"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Perigon API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
* Contact: data@perigon.io
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
*/
|
|
18
|
-
export const SortBy = {
|
|
19
|
-
CreatedAt: "createdAt",
|
|
20
|
-
UpdatedAt: "updatedAt",
|
|
21
|
-
Relevance: "relevance",
|
|
22
|
-
Count: "count",
|
|
23
|
-
TotalCount: "totalCount",
|
|
24
|
-
};
|
|
25
|
-
export function instanceOfSortBy(value) {
|
|
26
|
-
for (const key in SortBy) {
|
|
27
|
-
if (Object.prototype.hasOwnProperty.call(SortBy, key)) {
|
|
28
|
-
if (SortBy[key] === value) {
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return false;
|
|
34
|
-
}
|
|
35
|
-
export function SortByFromJSON(json) {
|
|
36
|
-
return SortByFromJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
export function SortByFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
-
return json;
|
|
40
|
-
}
|
|
41
|
-
export function SortByToJSON(value) {
|
|
42
|
-
return value;
|
|
43
|
-
}
|
|
44
|
-
export function SortByToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
@@ -1,168 +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 { SourceLocation } from "./SourceLocation";
|
|
13
|
-
import type { ImageHolder } from "./ImageHolder";
|
|
14
|
-
import type { SourceTopStatHolder } from "./SourceTopStatHolder";
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface Source
|
|
19
|
-
*/
|
|
20
|
-
export interface Source {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof Source
|
|
25
|
-
*/
|
|
26
|
-
id?: string | null;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {string}
|
|
30
|
-
* @memberof Source
|
|
31
|
-
*/
|
|
32
|
-
domain?: string | null;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof Source
|
|
37
|
-
*/
|
|
38
|
-
name?: string | null;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof Source
|
|
43
|
-
*/
|
|
44
|
-
primaryRecordId?: string | null;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {string}
|
|
48
|
-
* @memberof Source
|
|
49
|
-
*/
|
|
50
|
-
updatedAt?: string | null;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {Array<string>}
|
|
54
|
-
* @memberof Source
|
|
55
|
-
*/
|
|
56
|
-
altNames?: Array<string> | null;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @type {string}
|
|
60
|
-
* @memberof Source
|
|
61
|
-
*/
|
|
62
|
-
description?: string | null;
|
|
63
|
-
/**
|
|
64
|
-
*
|
|
65
|
-
* @type {number}
|
|
66
|
-
* @memberof Source
|
|
67
|
-
*/
|
|
68
|
-
avgMonthlyPosts?: number | null;
|
|
69
|
-
/**
|
|
70
|
-
*
|
|
71
|
-
* @type {boolean}
|
|
72
|
-
* @memberof Source
|
|
73
|
-
*/
|
|
74
|
-
paywall?: boolean | null;
|
|
75
|
-
/**
|
|
76
|
-
*
|
|
77
|
-
* @type {SourceLocation}
|
|
78
|
-
* @memberof Source
|
|
79
|
-
*/
|
|
80
|
-
location?: SourceLocation;
|
|
81
|
-
/**
|
|
82
|
-
*
|
|
83
|
-
* @type {Array<SourceTopStatHolder>}
|
|
84
|
-
* @memberof Source
|
|
85
|
-
*/
|
|
86
|
-
topCategories?: Array<SourceTopStatHolder> | null;
|
|
87
|
-
/**
|
|
88
|
-
*
|
|
89
|
-
* @type {Array<SourceTopStatHolder>}
|
|
90
|
-
* @memberof Source
|
|
91
|
-
*/
|
|
92
|
-
topTopics?: Array<SourceTopStatHolder> | null;
|
|
93
|
-
/**
|
|
94
|
-
*
|
|
95
|
-
* @type {Array<SourceTopStatHolder>}
|
|
96
|
-
* @memberof Source
|
|
97
|
-
*/
|
|
98
|
-
topCountries?: Array<SourceTopStatHolder> | null;
|
|
99
|
-
/**
|
|
100
|
-
*
|
|
101
|
-
* @type {Array<SourceTopStatHolder>}
|
|
102
|
-
* @memberof Source
|
|
103
|
-
*/
|
|
104
|
-
topLabels?: Array<SourceTopStatHolder> | null;
|
|
105
|
-
/**
|
|
106
|
-
*
|
|
107
|
-
* @type {string}
|
|
108
|
-
* @memberof Source
|
|
109
|
-
*/
|
|
110
|
-
avgBiasRating?: string | null;
|
|
111
|
-
/**
|
|
112
|
-
*
|
|
113
|
-
* @type {string}
|
|
114
|
-
* @memberof Source
|
|
115
|
-
*/
|
|
116
|
-
adFontesBiasRating?: string | null;
|
|
117
|
-
/**
|
|
118
|
-
*
|
|
119
|
-
* @type {string}
|
|
120
|
-
* @memberof Source
|
|
121
|
-
*/
|
|
122
|
-
allSidesBiasRating?: string | null;
|
|
123
|
-
/**
|
|
124
|
-
*
|
|
125
|
-
* @type {string}
|
|
126
|
-
* @memberof Source
|
|
127
|
-
*/
|
|
128
|
-
mbfcBiasRating?: string | null;
|
|
129
|
-
/**
|
|
130
|
-
*
|
|
131
|
-
* @type {number}
|
|
132
|
-
* @memberof Source
|
|
133
|
-
*/
|
|
134
|
-
monthlyVisits?: number | null;
|
|
135
|
-
/**
|
|
136
|
-
*
|
|
137
|
-
* @type {number}
|
|
138
|
-
* @memberof Source
|
|
139
|
-
*/
|
|
140
|
-
globalRank?: number | null;
|
|
141
|
-
/**
|
|
142
|
-
*
|
|
143
|
-
* @type {ImageHolder}
|
|
144
|
-
* @memberof Source
|
|
145
|
-
*/
|
|
146
|
-
logoLarge?: ImageHolder;
|
|
147
|
-
/**
|
|
148
|
-
*
|
|
149
|
-
* @type {ImageHolder}
|
|
150
|
-
* @memberof Source
|
|
151
|
-
*/
|
|
152
|
-
logoFavIcon?: ImageHolder;
|
|
153
|
-
/**
|
|
154
|
-
*
|
|
155
|
-
* @type {ImageHolder}
|
|
156
|
-
* @memberof Source
|
|
157
|
-
*/
|
|
158
|
-
logoSquare?: ImageHolder;
|
|
159
|
-
}
|
|
160
|
-
/**
|
|
161
|
-
* Check if a given object implements the Source interface.
|
|
162
|
-
*/
|
|
163
|
-
export declare function instanceOfSource(value: object): value is Source;
|
|
164
|
-
export declare function SourceFromJSON(json: any): Source;
|
|
165
|
-
export declare function SourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Source;
|
|
166
|
-
export declare function SourceToJSON(json: any): Source;
|
|
167
|
-
export declare function SourceToJSONTyped(value?: Source | null, ignoreDiscriminator?: boolean): any;
|
|
168
|
-
//# sourceMappingURL=Source.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Source.d.ts","sourceRoot":"","sources":["../../../src/models/Source.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAOjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQjE;;;;GAIG;AACH,MAAM,WAAW,MAAM;IACrB;;;;OAIG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC;IAClD;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC;IAC9C;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC;IACjD;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC;IAC9C;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB;;;;OAIG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC;CAC1B;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,CAkER;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,CA0CL"}
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Perigon API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
* Contact: data@perigon.io
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { SourceLocationFromJSON, SourceLocationToJSON, } from "./SourceLocation";
|
|
15
|
-
import { ImageHolderFromJSON, ImageHolderToJSON, } from "./ImageHolder";
|
|
16
|
-
import { SourceTopStatHolderFromJSON, SourceTopStatHolderToJSON, } from "./SourceTopStatHolder";
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the Source interface.
|
|
19
|
-
*/
|
|
20
|
-
export function instanceOfSource(value) {
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
export function SourceFromJSON(json) {
|
|
24
|
-
return SourceFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
export function SourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if (json == null) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
id: json["id"] == null ? undefined : json["id"],
|
|
32
|
-
domain: json["domain"] == null ? undefined : json["domain"],
|
|
33
|
-
name: json["name"] == null ? undefined : json["name"],
|
|
34
|
-
primaryRecordId: json["primaryRecordId"] == null ? undefined : json["primaryRecordId"],
|
|
35
|
-
updatedAt: json["updatedAt"] == null ? undefined : json["updatedAt"],
|
|
36
|
-
altNames: json["altNames"] == null ? undefined : json["altNames"],
|
|
37
|
-
description: json["description"] == null ? undefined : json["description"],
|
|
38
|
-
avgMonthlyPosts: json["avgMonthlyPosts"] == null ? undefined : json["avgMonthlyPosts"],
|
|
39
|
-
paywall: json["paywall"] == null ? undefined : json["paywall"],
|
|
40
|
-
location: json["location"] == null
|
|
41
|
-
? undefined
|
|
42
|
-
: SourceLocationFromJSON(json["location"]),
|
|
43
|
-
topCategories: json["topCategories"] == null
|
|
44
|
-
? undefined
|
|
45
|
-
: json["topCategories"].map(SourceTopStatHolderFromJSON),
|
|
46
|
-
topTopics: json["topTopics"] == null
|
|
47
|
-
? undefined
|
|
48
|
-
: json["topTopics"].map(SourceTopStatHolderFromJSON),
|
|
49
|
-
topCountries: json["topCountries"] == null
|
|
50
|
-
? undefined
|
|
51
|
-
: json["topCountries"].map(SourceTopStatHolderFromJSON),
|
|
52
|
-
topLabels: json["topLabels"] == null
|
|
53
|
-
? undefined
|
|
54
|
-
: json["topLabels"].map(SourceTopStatHolderFromJSON),
|
|
55
|
-
avgBiasRating: json["avgBiasRating"] == null ? undefined : json["avgBiasRating"],
|
|
56
|
-
adFontesBiasRating: json["adFontesBiasRating"] == null
|
|
57
|
-
? undefined
|
|
58
|
-
: json["adFontesBiasRating"],
|
|
59
|
-
allSidesBiasRating: json["allSidesBiasRating"] == null
|
|
60
|
-
? undefined
|
|
61
|
-
: json["allSidesBiasRating"],
|
|
62
|
-
mbfcBiasRating: json["mbfcBiasRating"] == null ? undefined : json["mbfcBiasRating"],
|
|
63
|
-
monthlyVisits: json["monthlyVisits"] == null ? undefined : json["monthlyVisits"],
|
|
64
|
-
globalRank: json["globalRank"] == null ? undefined : json["globalRank"],
|
|
65
|
-
logoLarge: json["logoLarge"] == null
|
|
66
|
-
? undefined
|
|
67
|
-
: ImageHolderFromJSON(json["logoLarge"]),
|
|
68
|
-
logoFavIcon: json["logoFavIcon"] == null
|
|
69
|
-
? undefined
|
|
70
|
-
: ImageHolderFromJSON(json["logoFavIcon"]),
|
|
71
|
-
logoSquare: json["logoSquare"] == null
|
|
72
|
-
? undefined
|
|
73
|
-
: ImageHolderFromJSON(json["logoSquare"]),
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
export function SourceToJSON(json) {
|
|
77
|
-
return SourceToJSONTyped(json, false);
|
|
78
|
-
}
|
|
79
|
-
export function SourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
80
|
-
if (value == null) {
|
|
81
|
-
return value;
|
|
82
|
-
}
|
|
83
|
-
return {
|
|
84
|
-
id: value["id"],
|
|
85
|
-
domain: value["domain"],
|
|
86
|
-
name: value["name"],
|
|
87
|
-
primaryRecordId: value["primaryRecordId"],
|
|
88
|
-
updatedAt: value["updatedAt"],
|
|
89
|
-
altNames: value["altNames"],
|
|
90
|
-
description: value["description"],
|
|
91
|
-
avgMonthlyPosts: value["avgMonthlyPosts"],
|
|
92
|
-
paywall: value["paywall"],
|
|
93
|
-
location: SourceLocationToJSON(value["location"]),
|
|
94
|
-
topCategories: value["topCategories"] == null
|
|
95
|
-
? undefined
|
|
96
|
-
: value["topCategories"].map(SourceTopStatHolderToJSON),
|
|
97
|
-
topTopics: value["topTopics"] == null
|
|
98
|
-
? undefined
|
|
99
|
-
: value["topTopics"].map(SourceTopStatHolderToJSON),
|
|
100
|
-
topCountries: value["topCountries"] == null
|
|
101
|
-
? undefined
|
|
102
|
-
: value["topCountries"].map(SourceTopStatHolderToJSON),
|
|
103
|
-
topLabels: value["topLabels"] == null
|
|
104
|
-
? undefined
|
|
105
|
-
: value["topLabels"].map(SourceTopStatHolderToJSON),
|
|
106
|
-
avgBiasRating: value["avgBiasRating"],
|
|
107
|
-
adFontesBiasRating: value["adFontesBiasRating"],
|
|
108
|
-
allSidesBiasRating: value["allSidesBiasRating"],
|
|
109
|
-
mbfcBiasRating: value["mbfcBiasRating"],
|
|
110
|
-
monthlyVisits: value["monthlyVisits"],
|
|
111
|
-
globalRank: value["globalRank"],
|
|
112
|
-
logoLarge: ImageHolderToJSON(value["logoLarge"]),
|
|
113
|
-
logoFavIcon: ImageHolderToJSON(value["logoFavIcon"]),
|
|
114
|
-
logoSquare: ImageHolderToJSON(value["logoSquare"]),
|
|
115
|
-
};
|
|
116
|
-
}
|
|
@@ -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 { SourceLocation } from "./SourceLocation";
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SourceHolder
|
|
17
|
-
*/
|
|
18
|
-
export interface SourceHolder {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof SourceHolder
|
|
23
|
-
*/
|
|
24
|
-
domain?: string | null;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {boolean}
|
|
28
|
-
* @memberof SourceHolder
|
|
29
|
-
*/
|
|
30
|
-
paywall?: boolean | null;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {SourceLocation}
|
|
34
|
-
* @memberof SourceHolder
|
|
35
|
-
*/
|
|
36
|
-
location?: SourceLocation;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the SourceHolder interface.
|
|
40
|
-
*/
|
|
41
|
-
export declare function instanceOfSourceHolder(value: object): value is SourceHolder;
|
|
42
|
-
export declare function SourceHolderFromJSON(json: any): SourceHolder;
|
|
43
|
-
export declare function SourceHolderFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceHolder;
|
|
44
|
-
export declare function SourceHolderToJSON(json: any): SourceHolder;
|
|
45
|
-
export declare function SourceHolderToJSONTyped(value?: SourceHolder | null, ignoreDiscriminator?: boolean): any;
|
|
46
|
-
//# sourceMappingURL=SourceHolder.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SourceHolder.d.ts","sourceRoot":"","sources":["../../../src/models/SourceHolder.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAQvD;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,YAAY,CAE3E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE5D;AAED,wBAAgB,yBAAyB,CACvC,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC3B,YAAY,CAYd;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY,CAE1D;AAED,wBAAgB,uBAAuB,CACrC,KAAK,CAAC,EAAE,YAAY,GAAG,IAAI,EAC3B,mBAAmB,GAAE,OAAe,GACnC,GAAG,CAUL"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Perigon API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
* Contact: data@perigon.io
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { SourceLocationFromJSON, SourceLocationToJSON, } from "./SourceLocation";
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the SourceHolder interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfSourceHolder(value) {
|
|
19
|
-
return true;
|
|
20
|
-
}
|
|
21
|
-
export function SourceHolderFromJSON(json) {
|
|
22
|
-
return SourceHolderFromJSONTyped(json, false);
|
|
23
|
-
}
|
|
24
|
-
export function SourceHolderFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
-
if (json == null) {
|
|
26
|
-
return json;
|
|
27
|
-
}
|
|
28
|
-
return {
|
|
29
|
-
domain: json["domain"] == null ? undefined : json["domain"],
|
|
30
|
-
paywall: json["paywall"] == null ? undefined : json["paywall"],
|
|
31
|
-
location: json["location"] == null
|
|
32
|
-
? undefined
|
|
33
|
-
: SourceLocationFromJSON(json["location"]),
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
export function SourceHolderToJSON(json) {
|
|
37
|
-
return SourceHolderToJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
export function SourceHolderToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
domain: value["domain"],
|
|
45
|
-
paywall: value["paywall"],
|
|
46
|
-
location: SourceLocationToJSON(value["location"]),
|
|
47
|
-
};
|
|
48
|
-
}
|