@goperigon/perigon-ts 1.0.1 → 1.0.3
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/dist/apis/V1Api.d.ts +1380 -0
- package/dist/apis/V1Api.d.ts.map +1 -0
- package/dist/apis/V1Api.js +1270 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.d.ts.map +1 -0
- package/dist/apis/index.js +19 -0
- package/dist/esm/apis/V1Api.d.ts +1380 -0
- package/dist/esm/apis/V1Api.d.ts.map +1 -0
- package/dist/esm/apis/V1Api.js +1233 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.d.ts.map +1 -0
- package/dist/esm/apis/index.js +3 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/AllEndpointSortBy.d.ts +31 -0
- package/dist/esm/models/AllEndpointSortBy.d.ts.map +1 -0
- package/dist/esm/models/AllEndpointSortBy.js +48 -0
- package/dist/esm/models/Article.d.ts +303 -0
- package/dist/esm/models/Article.d.ts.map +1 -0
- package/dist/esm/models/Article.js +199 -0
- package/dist/esm/models/ArticleSearchFilter.d.ts +286 -0
- package/dist/esm/models/ArticleSearchFilter.d.ts.map +1 -0
- package/dist/esm/models/ArticleSearchFilter.js +150 -0
- package/dist/esm/models/ArticleSearchParams.d.ts +88 -0
- package/dist/esm/models/ArticleSearchParams.d.ts.map +1 -0
- package/dist/esm/models/ArticleSearchParams.js +72 -0
- package/dist/esm/models/AuthException.d.ts +140 -0
- package/dist/esm/models/AuthException.d.ts.map +1 -0
- package/dist/esm/models/AuthException.js +137 -0
- package/dist/esm/models/AuthExceptionCause.d.ts +46 -0
- package/dist/esm/models/AuthExceptionCause.d.ts.map +1 -0
- package/dist/esm/models/AuthExceptionCause.js +50 -0
- package/dist/esm/models/AuthExceptionCauseStackTraceInner.d.ts +75 -0
- package/dist/esm/models/AuthExceptionCauseStackTraceInner.d.ts.map +1 -0
- package/dist/esm/models/AuthExceptionCauseStackTraceInner.js +55 -0
- package/dist/esm/models/AuthExceptionSuppressedInner.d.ts +46 -0
- package/dist/esm/models/AuthExceptionSuppressedInner.d.ts.map +1 -0
- package/dist/esm/models/AuthExceptionSuppressedInner.js +50 -0
- package/dist/esm/models/CategoryHolder.d.ts +33 -0
- package/dist/esm/models/CategoryHolder.d.ts.map +1 -0
- package/dist/esm/models/CategoryHolder.js +41 -0
- package/dist/esm/models/CategoryWithScoreHolder.d.ts +39 -0
- package/dist/esm/models/CategoryWithScoreHolder.d.ts.map +1 -0
- package/dist/esm/models/CategoryWithScoreHolder.js +43 -0
- package/dist/esm/models/Company.d.ts +209 -0
- package/dist/esm/models/Company.d.ts.map +1 -0
- package/dist/esm/models/Company.js +107 -0
- package/dist/esm/models/CompanyCount.d.ts +57 -0
- package/dist/esm/models/CompanyCount.d.ts.map +1 -0
- package/dist/esm/models/CompanyCount.js +49 -0
- package/dist/esm/models/CompanyHolder.d.ts +51 -0
- package/dist/esm/models/CompanyHolder.d.ts.map +1 -0
- package/dist/esm/models/CompanyHolder.js +47 -0
- package/dist/esm/models/CompanySearchResult.d.ts +46 -0
- package/dist/esm/models/CompanySearchResult.d.ts.map +1 -0
- package/dist/esm/models/CompanySearchResult.js +52 -0
- package/dist/esm/models/Coordinate.d.ts +39 -0
- package/dist/esm/models/Coordinate.d.ts.map +1 -0
- package/dist/esm/models/Coordinate.js +43 -0
- package/dist/esm/models/CoordinateFilter.d.ts +45 -0
- package/dist/esm/models/CoordinateFilter.d.ts.map +1 -0
- package/dist/esm/models/CoordinateFilter.js +45 -0
- package/dist/esm/models/EntityHolder.d.ts +45 -0
- package/dist/esm/models/EntityHolder.d.ts.map +1 -0
- package/dist/esm/models/EntityHolder.js +45 -0
- package/dist/esm/models/EventTypeHolder.d.ts +39 -0
- package/dist/esm/models/EventTypeHolder.d.ts.map +1 -0
- package/dist/esm/models/EventTypeHolder.js +43 -0
- package/dist/esm/models/IdNameHolder.d.ts +39 -0
- package/dist/esm/models/IdNameHolder.d.ts.map +1 -0
- package/dist/esm/models/IdNameHolder.js +43 -0
- package/dist/esm/models/IllegalParameterException.d.ts +60 -0
- package/dist/esm/models/IllegalParameterException.d.ts.map +1 -0
- package/dist/esm/models/IllegalParameterException.js +62 -0
- package/dist/esm/models/ImageHolder.d.ts +33 -0
- package/dist/esm/models/ImageHolder.d.ts.map +1 -0
- package/dist/esm/models/ImageHolder.js +41 -0
- package/dist/esm/models/InternalErrorException.d.ts +60 -0
- package/dist/esm/models/InternalErrorException.d.ts.map +1 -0
- package/dist/esm/models/InternalErrorException.js +62 -0
- package/dist/esm/models/InternalErrorExceptionCause.d.ts +46 -0
- package/dist/esm/models/InternalErrorExceptionCause.d.ts.map +1 -0
- package/dist/esm/models/InternalErrorExceptionCause.js +50 -0
- package/dist/esm/models/InternalErrorExceptionCauseStackTraceInner.d.ts +75 -0
- package/dist/esm/models/InternalErrorExceptionCauseStackTraceInner.d.ts.map +1 -0
- package/dist/esm/models/InternalErrorExceptionCauseStackTraceInner.js +55 -0
- package/dist/esm/models/InternalErrorExceptionSuppressedInner.d.ts +46 -0
- package/dist/esm/models/InternalErrorExceptionSuppressedInner.d.ts.map +1 -0
- package/dist/esm/models/InternalErrorExceptionSuppressedInner.js +50 -0
- package/dist/esm/models/Journalist.d.ts +185 -0
- package/dist/esm/models/Journalist.d.ts.map +1 -0
- package/dist/esm/models/Journalist.js +119 -0
- package/dist/esm/models/JournalistSearchResult.d.ts +46 -0
- package/dist/esm/models/JournalistSearchResult.d.ts.map +1 -0
- package/dist/esm/models/JournalistSearchResult.js +52 -0
- package/dist/esm/models/KeyPoint.d.ts +39 -0
- package/dist/esm/models/KeyPoint.d.ts.map +1 -0
- package/dist/esm/models/KeyPoint.js +43 -0
- package/dist/esm/models/KeywordHolder.d.ts +39 -0
- package/dist/esm/models/KeywordHolder.d.ts.map +1 -0
- package/dist/esm/models/KeywordHolder.js +43 -0
- package/dist/esm/models/LabelHolder.d.ts +33 -0
- package/dist/esm/models/LabelHolder.d.ts.map +1 -0
- package/dist/esm/models/LabelHolder.js +41 -0
- package/dist/esm/models/LocationCount.d.ts +57 -0
- package/dist/esm/models/LocationCount.d.ts.map +1 -0
- package/dist/esm/models/LocationCount.js +49 -0
- package/dist/esm/models/LocationHolder.d.ts +57 -0
- package/dist/esm/models/LocationHolder.d.ts.map +1 -0
- package/dist/esm/models/LocationHolder.js +49 -0
- package/dist/esm/models/NameCount.d.ts +39 -0
- package/dist/esm/models/NameCount.d.ts.map +1 -0
- package/dist/esm/models/NameCount.js +43 -0
- package/dist/esm/models/NewsCluster.d.ts +253 -0
- package/dist/esm/models/NewsCluster.d.ts.map +1 -0
- package/dist/esm/models/NewsCluster.js +191 -0
- package/dist/esm/models/NotFoundException.d.ts +60 -0
- package/dist/esm/models/NotFoundException.d.ts.map +1 -0
- package/dist/esm/models/NotFoundException.js +62 -0
- package/dist/esm/models/PeopleSearchResult.d.ts +46 -0
- package/dist/esm/models/PeopleSearchResult.d.ts.map +1 -0
- package/dist/esm/models/PeopleSearchResult.js +52 -0
- package/dist/esm/models/Person.d.ts +116 -0
- package/dist/esm/models/Person.d.ts.map +1 -0
- package/dist/esm/models/Person.js +90 -0
- package/dist/esm/models/PersonCount.d.ts +45 -0
- package/dist/esm/models/PersonCount.d.ts.map +1 -0
- package/dist/esm/models/PersonCount.js +45 -0
- package/dist/esm/models/PersonHolder.d.ts +39 -0
- package/dist/esm/models/PersonHolder.d.ts.map +1 -0
- package/dist/esm/models/PersonHolder.js +43 -0
- package/dist/esm/models/Place.d.ts +118 -0
- package/dist/esm/models/Place.d.ts.map +1 -0
- package/dist/esm/models/Place.js +72 -0
- package/dist/esm/models/QuerySearchResult.d.ts +46 -0
- package/dist/esm/models/QuerySearchResult.d.ts.map +1 -0
- package/dist/esm/models/QuerySearchResult.js +52 -0
- package/dist/esm/models/Question.d.ts +45 -0
- package/dist/esm/models/Question.d.ts.map +1 -0
- package/dist/esm/models/Question.js +45 -0
- package/dist/esm/models/RecordStatHolder.d.ts +39 -0
- package/dist/esm/models/RecordStatHolder.d.ts.map +1 -0
- package/dist/esm/models/RecordStatHolder.js +43 -0
- package/dist/esm/models/ScoredArticle.d.ts +40 -0
- package/dist/esm/models/ScoredArticle.d.ts.map +1 -0
- package/dist/esm/models/ScoredArticle.js +44 -0
- package/dist/esm/models/SentimentHolder.d.ts +45 -0
- package/dist/esm/models/SentimentHolder.d.ts.map +1 -0
- package/dist/esm/models/SentimentHolder.js +45 -0
- package/dist/esm/models/SortBy.d.ts +29 -0
- package/dist/esm/models/SortBy.d.ts.map +1 -0
- package/dist/esm/models/SortBy.js +46 -0
- package/dist/esm/models/Source.d.ts +168 -0
- package/dist/esm/models/Source.d.ts.map +1 -0
- package/dist/esm/models/Source.js +116 -0
- package/dist/esm/models/SourceHolder.d.ts +46 -0
- package/dist/esm/models/SourceHolder.d.ts.map +1 -0
- package/dist/esm/models/SourceHolder.js +48 -0
- package/dist/esm/models/SourceLocation.d.ts +58 -0
- package/dist/esm/models/SourceLocation.d.ts.map +1 -0
- package/dist/esm/models/SourceLocation.js +52 -0
- package/dist/esm/models/SourceSearchResult.d.ts +46 -0
- package/dist/esm/models/SourceSearchResult.d.ts.map +1 -0
- package/dist/esm/models/SourceSearchResult.js +52 -0
- package/dist/esm/models/SourceTopStatHolder.d.ts +39 -0
- package/dist/esm/models/SourceTopStatHolder.d.ts.map +1 -0
- package/dist/esm/models/SourceTopStatHolder.js +43 -0
- package/dist/esm/models/StorySearchResult.d.ts +46 -0
- package/dist/esm/models/StorySearchResult.d.ts.map +1 -0
- package/dist/esm/models/StorySearchResult.js +52 -0
- package/dist/esm/models/SummaryBody.d.ts +111 -0
- package/dist/esm/models/SummaryBody.d.ts.map +1 -0
- package/dist/esm/models/SummaryBody.js +86 -0
- package/dist/esm/models/SummarySearchResult.d.ts +52 -0
- package/dist/esm/models/SummarySearchResult.d.ts.map +1 -0
- package/dist/esm/models/SummarySearchResult.js +56 -0
- package/dist/esm/models/SymbolHolder.d.ts +51 -0
- package/dist/esm/models/SymbolHolder.d.ts.map +1 -0
- package/dist/esm/models/SymbolHolder.js +47 -0
- package/dist/esm/models/TooManyRequestsException.d.ts +140 -0
- package/dist/esm/models/TooManyRequestsException.d.ts.map +1 -0
- package/dist/esm/models/TooManyRequestsException.js +137 -0
- package/dist/esm/models/TooManyRequestsExceptionCause.d.ts +46 -0
- package/dist/esm/models/TooManyRequestsExceptionCause.d.ts.map +1 -0
- package/dist/esm/models/TooManyRequestsExceptionCause.js +50 -0
- package/dist/esm/models/TooManyRequestsExceptionCauseStackTraceInner.d.ts +75 -0
- package/dist/esm/models/TooManyRequestsExceptionCauseStackTraceInner.d.ts.map +1 -0
- package/dist/esm/models/TooManyRequestsExceptionCauseStackTraceInner.js +55 -0
- package/dist/esm/models/TooManyRequestsExceptionSuppressedInner.d.ts +46 -0
- package/dist/esm/models/TooManyRequestsExceptionSuppressedInner.d.ts.map +1 -0
- package/dist/esm/models/TooManyRequestsExceptionSuppressedInner.js +50 -0
- package/dist/esm/models/TopicDto.d.ts +58 -0
- package/dist/esm/models/TopicDto.d.ts.map +1 -0
- package/dist/esm/models/TopicDto.js +54 -0
- package/dist/esm/models/TopicHolder.d.ts +33 -0
- package/dist/esm/models/TopicHolder.d.ts.map +1 -0
- package/dist/esm/models/TopicHolder.js +41 -0
- package/dist/esm/models/TopicLabels.d.ts +39 -0
- package/dist/esm/models/TopicLabels.d.ts.map +1 -0
- package/dist/esm/models/TopicLabels.js +43 -0
- package/dist/esm/models/TopicSearchResult.d.ts +40 -0
- package/dist/esm/models/TopicSearchResult.d.ts.map +1 -0
- package/dist/esm/models/TopicSearchResult.js +48 -0
- package/dist/esm/models/VectorSearchResult.d.ts +40 -0
- package/dist/esm/models/VectorSearchResult.d.ts.map +1 -0
- package/dist/esm/models/VectorSearchResult.js +48 -0
- package/dist/esm/models/WebResources.d.ts +129 -0
- package/dist/esm/models/WebResources.d.ts.map +1 -0
- package/dist/esm/models/WebResources.js +73 -0
- package/dist/esm/models/WikidataDateHolder.d.ts +39 -0
- package/dist/esm/models/WikidataDateHolder.d.ts.map +1 -0
- package/dist/esm/models/WikidataDateHolder.js +43 -0
- package/dist/esm/models/WikidataLabelHolder.d.ts +39 -0
- package/dist/esm/models/WikidataLabelHolder.d.ts.map +1 -0
- package/dist/esm/models/WikidataLabelHolder.js +43 -0
- package/dist/esm/models/WikidataPoliticalPartyHolder.d.ts +52 -0
- package/dist/esm/models/WikidataPoliticalPartyHolder.d.ts.map +1 -0
- package/dist/esm/models/WikidataPoliticalPartyHolder.js +52 -0
- package/dist/esm/models/WikidataPositionHolder.d.ts +59 -0
- package/dist/esm/models/WikidataPositionHolder.d.ts.map +1 -0
- package/dist/esm/models/WikidataPositionHolder.js +57 -0
- package/dist/esm/models/index.d.ts +64 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +65 -0
- package/dist/esm/runtime.d.ts +180 -0
- package/dist/esm/runtime.d.ts.map +1 -0
- package/dist/esm/runtime.js +322 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +21 -0
- package/dist/models/AllEndpointSortBy.d.ts +31 -0
- package/dist/models/AllEndpointSortBy.d.ts.map +1 -0
- package/dist/models/AllEndpointSortBy.js +56 -0
- package/dist/models/Article.d.ts +303 -0
- package/dist/models/Article.d.ts.map +1 -0
- package/dist/models/Article.js +206 -0
- package/dist/models/ArticleSearchFilter.d.ts +286 -0
- package/dist/models/ArticleSearchFilter.d.ts.map +1 -0
- package/dist/models/ArticleSearchFilter.js +157 -0
- package/dist/models/ArticleSearchParams.d.ts +88 -0
- package/dist/models/ArticleSearchParams.d.ts.map +1 -0
- package/dist/models/ArticleSearchParams.js +79 -0
- package/dist/models/AuthException.d.ts +140 -0
- package/dist/models/AuthException.d.ts.map +1 -0
- package/dist/models/AuthException.js +145 -0
- package/dist/models/AuthExceptionCause.d.ts +46 -0
- package/dist/models/AuthExceptionCause.d.ts.map +1 -0
- package/dist/models/AuthExceptionCause.js +57 -0
- package/dist/models/AuthExceptionCauseStackTraceInner.d.ts +75 -0
- package/dist/models/AuthExceptionCauseStackTraceInner.d.ts.map +1 -0
- package/dist/models/AuthExceptionCauseStackTraceInner.js +62 -0
- package/dist/models/AuthExceptionSuppressedInner.d.ts +46 -0
- package/dist/models/AuthExceptionSuppressedInner.d.ts.map +1 -0
- package/dist/models/AuthExceptionSuppressedInner.js +57 -0
- package/dist/models/CategoryHolder.d.ts +33 -0
- package/dist/models/CategoryHolder.d.ts.map +1 -0
- package/dist/models/CategoryHolder.js +48 -0
- package/dist/models/CategoryWithScoreHolder.d.ts +39 -0
- package/dist/models/CategoryWithScoreHolder.d.ts.map +1 -0
- package/dist/models/CategoryWithScoreHolder.js +50 -0
- package/dist/models/Company.d.ts +209 -0
- package/dist/models/Company.d.ts.map +1 -0
- package/dist/models/Company.js +114 -0
- package/dist/models/CompanyCount.d.ts +57 -0
- package/dist/models/CompanyCount.d.ts.map +1 -0
- package/dist/models/CompanyCount.js +56 -0
- package/dist/models/CompanyHolder.d.ts +51 -0
- package/dist/models/CompanyHolder.d.ts.map +1 -0
- package/dist/models/CompanyHolder.js +54 -0
- package/dist/models/CompanySearchResult.d.ts +46 -0
- package/dist/models/CompanySearchResult.d.ts.map +1 -0
- package/dist/models/CompanySearchResult.js +59 -0
- package/dist/models/Coordinate.d.ts +39 -0
- package/dist/models/Coordinate.d.ts.map +1 -0
- package/dist/models/Coordinate.js +50 -0
- package/dist/models/CoordinateFilter.d.ts +45 -0
- package/dist/models/CoordinateFilter.d.ts.map +1 -0
- package/dist/models/CoordinateFilter.js +52 -0
- package/dist/models/EntityHolder.d.ts +45 -0
- package/dist/models/EntityHolder.d.ts.map +1 -0
- package/dist/models/EntityHolder.js +52 -0
- package/dist/models/EventTypeHolder.d.ts +39 -0
- package/dist/models/EventTypeHolder.d.ts.map +1 -0
- package/dist/models/EventTypeHolder.js +50 -0
- package/dist/models/IdNameHolder.d.ts +39 -0
- package/dist/models/IdNameHolder.d.ts.map +1 -0
- package/dist/models/IdNameHolder.js +50 -0
- package/dist/models/IllegalParameterException.d.ts +60 -0
- package/dist/models/IllegalParameterException.d.ts.map +1 -0
- package/dist/models/IllegalParameterException.js +69 -0
- package/dist/models/ImageHolder.d.ts +33 -0
- package/dist/models/ImageHolder.d.ts.map +1 -0
- package/dist/models/ImageHolder.js +48 -0
- package/dist/models/InternalErrorException.d.ts +60 -0
- package/dist/models/InternalErrorException.d.ts.map +1 -0
- package/dist/models/InternalErrorException.js +69 -0
- package/dist/models/InternalErrorExceptionCause.d.ts +46 -0
- package/dist/models/InternalErrorExceptionCause.d.ts.map +1 -0
- package/dist/models/InternalErrorExceptionCause.js +57 -0
- package/dist/models/InternalErrorExceptionCauseStackTraceInner.d.ts +75 -0
- package/dist/models/InternalErrorExceptionCauseStackTraceInner.d.ts.map +1 -0
- package/dist/models/InternalErrorExceptionCauseStackTraceInner.js +62 -0
- package/dist/models/InternalErrorExceptionSuppressedInner.d.ts +46 -0
- package/dist/models/InternalErrorExceptionSuppressedInner.d.ts.map +1 -0
- package/dist/models/InternalErrorExceptionSuppressedInner.js +57 -0
- package/dist/models/Journalist.d.ts +185 -0
- package/dist/models/Journalist.d.ts.map +1 -0
- package/dist/models/Journalist.js +126 -0
- package/dist/models/JournalistSearchResult.d.ts +46 -0
- package/dist/models/JournalistSearchResult.d.ts.map +1 -0
- package/dist/models/JournalistSearchResult.js +59 -0
- package/dist/models/KeyPoint.d.ts +39 -0
- package/dist/models/KeyPoint.d.ts.map +1 -0
- package/dist/models/KeyPoint.js +50 -0
- package/dist/models/KeywordHolder.d.ts +39 -0
- package/dist/models/KeywordHolder.d.ts.map +1 -0
- package/dist/models/KeywordHolder.js +50 -0
- package/dist/models/LabelHolder.d.ts +33 -0
- package/dist/models/LabelHolder.d.ts.map +1 -0
- package/dist/models/LabelHolder.js +48 -0
- package/dist/models/LocationCount.d.ts +57 -0
- package/dist/models/LocationCount.d.ts.map +1 -0
- package/dist/models/LocationCount.js +56 -0
- package/dist/models/LocationHolder.d.ts +57 -0
- package/dist/models/LocationHolder.d.ts.map +1 -0
- package/dist/models/LocationHolder.js +56 -0
- package/dist/models/NameCount.d.ts +39 -0
- package/dist/models/NameCount.d.ts.map +1 -0
- package/dist/models/NameCount.js +50 -0
- package/dist/models/NewsCluster.d.ts +253 -0
- package/dist/models/NewsCluster.d.ts.map +1 -0
- package/dist/models/NewsCluster.js +198 -0
- package/dist/models/NotFoundException.d.ts +60 -0
- package/dist/models/NotFoundException.d.ts.map +1 -0
- package/dist/models/NotFoundException.js +69 -0
- package/dist/models/PeopleSearchResult.d.ts +46 -0
- package/dist/models/PeopleSearchResult.d.ts.map +1 -0
- package/dist/models/PeopleSearchResult.js +59 -0
- package/dist/models/Person.d.ts +116 -0
- package/dist/models/Person.d.ts.map +1 -0
- package/dist/models/Person.js +97 -0
- package/dist/models/PersonCount.d.ts +45 -0
- package/dist/models/PersonCount.d.ts.map +1 -0
- package/dist/models/PersonCount.js +52 -0
- package/dist/models/PersonHolder.d.ts +39 -0
- package/dist/models/PersonHolder.d.ts.map +1 -0
- package/dist/models/PersonHolder.js +50 -0
- package/dist/models/Place.d.ts +118 -0
- package/dist/models/Place.d.ts.map +1 -0
- package/dist/models/Place.js +79 -0
- package/dist/models/QuerySearchResult.d.ts +46 -0
- package/dist/models/QuerySearchResult.d.ts.map +1 -0
- package/dist/models/QuerySearchResult.js +59 -0
- package/dist/models/Question.d.ts +45 -0
- package/dist/models/Question.d.ts.map +1 -0
- package/dist/models/Question.js +52 -0
- package/dist/models/RecordStatHolder.d.ts +39 -0
- package/dist/models/RecordStatHolder.d.ts.map +1 -0
- package/dist/models/RecordStatHolder.js +50 -0
- package/dist/models/ScoredArticle.d.ts +40 -0
- package/dist/models/ScoredArticle.d.ts.map +1 -0
- package/dist/models/ScoredArticle.js +51 -0
- package/dist/models/SentimentHolder.d.ts +45 -0
- package/dist/models/SentimentHolder.d.ts.map +1 -0
- package/dist/models/SentimentHolder.js +52 -0
- package/dist/models/SortBy.d.ts +29 -0
- package/dist/models/SortBy.d.ts.map +1 -0
- package/dist/models/SortBy.js +54 -0
- package/dist/models/Source.d.ts +168 -0
- package/dist/models/Source.d.ts.map +1 -0
- package/dist/models/Source.js +123 -0
- package/dist/models/SourceHolder.d.ts +46 -0
- package/dist/models/SourceHolder.d.ts.map +1 -0
- package/dist/models/SourceHolder.js +55 -0
- package/dist/models/SourceLocation.d.ts +58 -0
- package/dist/models/SourceLocation.d.ts.map +1 -0
- package/dist/models/SourceLocation.js +59 -0
- package/dist/models/SourceSearchResult.d.ts +46 -0
- package/dist/models/SourceSearchResult.d.ts.map +1 -0
- package/dist/models/SourceSearchResult.js +59 -0
- package/dist/models/SourceTopStatHolder.d.ts +39 -0
- package/dist/models/SourceTopStatHolder.d.ts.map +1 -0
- package/dist/models/SourceTopStatHolder.js +50 -0
- package/dist/models/StorySearchResult.d.ts +46 -0
- package/dist/models/StorySearchResult.d.ts.map +1 -0
- package/dist/models/StorySearchResult.js +59 -0
- package/dist/models/SummaryBody.d.ts +111 -0
- package/dist/models/SummaryBody.d.ts.map +1 -0
- package/dist/models/SummaryBody.js +94 -0
- package/dist/models/SummarySearchResult.d.ts +52 -0
- package/dist/models/SummarySearchResult.d.ts.map +1 -0
- package/dist/models/SummarySearchResult.js +63 -0
- package/dist/models/SymbolHolder.d.ts +51 -0
- package/dist/models/SymbolHolder.d.ts.map +1 -0
- package/dist/models/SymbolHolder.js +54 -0
- package/dist/models/TooManyRequestsException.d.ts +140 -0
- package/dist/models/TooManyRequestsException.d.ts.map +1 -0
- package/dist/models/TooManyRequestsException.js +145 -0
- package/dist/models/TooManyRequestsExceptionCause.d.ts +46 -0
- package/dist/models/TooManyRequestsExceptionCause.d.ts.map +1 -0
- package/dist/models/TooManyRequestsExceptionCause.js +57 -0
- package/dist/models/TooManyRequestsExceptionCauseStackTraceInner.d.ts +75 -0
- package/dist/models/TooManyRequestsExceptionCauseStackTraceInner.d.ts.map +1 -0
- package/dist/models/TooManyRequestsExceptionCauseStackTraceInner.js +62 -0
- package/dist/models/TooManyRequestsExceptionSuppressedInner.d.ts +46 -0
- package/dist/models/TooManyRequestsExceptionSuppressedInner.d.ts.map +1 -0
- package/dist/models/TooManyRequestsExceptionSuppressedInner.js +57 -0
- package/dist/models/TopicDto.d.ts +58 -0
- package/dist/models/TopicDto.d.ts.map +1 -0
- package/dist/models/TopicDto.js +61 -0
- package/dist/models/TopicHolder.d.ts +33 -0
- package/dist/models/TopicHolder.d.ts.map +1 -0
- package/dist/models/TopicHolder.js +48 -0
- package/dist/models/TopicLabels.d.ts +39 -0
- package/dist/models/TopicLabels.d.ts.map +1 -0
- package/dist/models/TopicLabels.js +50 -0
- package/dist/models/TopicSearchResult.d.ts +40 -0
- package/dist/models/TopicSearchResult.d.ts.map +1 -0
- package/dist/models/TopicSearchResult.js +55 -0
- package/dist/models/VectorSearchResult.d.ts +40 -0
- package/dist/models/VectorSearchResult.d.ts.map +1 -0
- package/dist/models/VectorSearchResult.js +55 -0
- package/dist/models/WebResources.d.ts +129 -0
- package/dist/models/WebResources.d.ts.map +1 -0
- package/dist/models/WebResources.js +80 -0
- package/dist/models/WikidataDateHolder.d.ts +39 -0
- package/dist/models/WikidataDateHolder.d.ts.map +1 -0
- package/dist/models/WikidataDateHolder.js +50 -0
- package/dist/models/WikidataLabelHolder.d.ts +39 -0
- package/dist/models/WikidataLabelHolder.d.ts.map +1 -0
- package/dist/models/WikidataLabelHolder.js +50 -0
- package/dist/models/WikidataPoliticalPartyHolder.d.ts +52 -0
- package/dist/models/WikidataPoliticalPartyHolder.d.ts.map +1 -0
- package/dist/models/WikidataPoliticalPartyHolder.js +59 -0
- package/dist/models/WikidataPositionHolder.d.ts +59 -0
- package/dist/models/WikidataPositionHolder.d.ts.map +1 -0
- package/dist/models/WikidataPositionHolder.js +64 -0
- package/dist/models/index.d.ts +64 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +81 -0
- package/dist/runtime.d.ts +180 -0
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +338 -0
- package/package.json +6 -1
|
@@ -0,0 +1,31 @@
|
|
|
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 AllEndpointSortBy: {
|
|
17
|
+
readonly Relevance: "relevance";
|
|
18
|
+
readonly Date: "date";
|
|
19
|
+
readonly ReverseDate: "reverseDate";
|
|
20
|
+
readonly ReverseAddDate: "reverseAddDate";
|
|
21
|
+
readonly AddDate: "addDate";
|
|
22
|
+
readonly PubDate: "pubDate";
|
|
23
|
+
readonly RefreshDate: "refreshDate";
|
|
24
|
+
};
|
|
25
|
+
export type AllEndpointSortBy = (typeof AllEndpointSortBy)[keyof typeof AllEndpointSortBy];
|
|
26
|
+
export declare function instanceOfAllEndpointSortBy(value: any): boolean;
|
|
27
|
+
export declare function AllEndpointSortByFromJSON(json: any): AllEndpointSortBy;
|
|
28
|
+
export declare function AllEndpointSortByFromJSONTyped(json: any, ignoreDiscriminator: boolean): AllEndpointSortBy;
|
|
29
|
+
export declare function AllEndpointSortByToJSON(value?: AllEndpointSortBy | null): any;
|
|
30
|
+
export declare function AllEndpointSortByToJSONTyped(value: any, ignoreDiscriminator: boolean): AllEndpointSortBy;
|
|
31
|
+
//# sourceMappingURL=AllEndpointSortBy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AllEndpointSortBy.d.ts","sourceRoot":"","sources":["../../src/models/AllEndpointSortBy.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;CAQpB,CAAC;AACX,MAAM,MAAM,iBAAiB,GAC3B,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAE7D,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,GAAG,GAAG,OAAO,CAS/D;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC3B,iBAAiB,CAEnB;AAED,wBAAgB,uBAAuB,CAAC,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,GAAG,GAAG,CAE7E;AAED,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,GAAG,EACV,mBAAmB,EAAE,OAAO,GAC3B,iBAAiB,CAEnB"}
|
|
@@ -0,0 +1,56 @@
|
|
|
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.AllEndpointSortBy = void 0;
|
|
17
|
+
exports.instanceOfAllEndpointSortBy = instanceOfAllEndpointSortBy;
|
|
18
|
+
exports.AllEndpointSortByFromJSON = AllEndpointSortByFromJSON;
|
|
19
|
+
exports.AllEndpointSortByFromJSONTyped = AllEndpointSortByFromJSONTyped;
|
|
20
|
+
exports.AllEndpointSortByToJSON = AllEndpointSortByToJSON;
|
|
21
|
+
exports.AllEndpointSortByToJSONTyped = AllEndpointSortByToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.AllEndpointSortBy = {
|
|
27
|
+
Relevance: "relevance",
|
|
28
|
+
Date: "date",
|
|
29
|
+
ReverseDate: "reverseDate",
|
|
30
|
+
ReverseAddDate: "reverseAddDate",
|
|
31
|
+
AddDate: "addDate",
|
|
32
|
+
PubDate: "pubDate",
|
|
33
|
+
RefreshDate: "refreshDate",
|
|
34
|
+
};
|
|
35
|
+
function instanceOfAllEndpointSortBy(value) {
|
|
36
|
+
for (const key in exports.AllEndpointSortBy) {
|
|
37
|
+
if (Object.prototype.hasOwnProperty.call(exports.AllEndpointSortBy, key)) {
|
|
38
|
+
if (exports.AllEndpointSortBy[key] === value) {
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
function AllEndpointSortByFromJSON(json) {
|
|
46
|
+
return AllEndpointSortByFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function AllEndpointSortByFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
function AllEndpointSortByToJSON(value) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
function AllEndpointSortByToJSONTyped(value, ignoreDiscriminator) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
@@ -0,0 +1,303 @@
|
|
|
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 { Journalist } from "./Journalist";
|
|
13
|
+
import type { SourceHolder } from "./SourceHolder";
|
|
14
|
+
import type { CompanyHolder } from "./CompanyHolder";
|
|
15
|
+
import type { EntityHolder } from "./EntityHolder";
|
|
16
|
+
import type { CategoryHolder } from "./CategoryHolder";
|
|
17
|
+
import type { PersonHolder } from "./PersonHolder";
|
|
18
|
+
import type { LabelHolder } from "./LabelHolder";
|
|
19
|
+
import type { NewsCluster } from "./NewsCluster";
|
|
20
|
+
import type { KeywordHolder } from "./KeywordHolder";
|
|
21
|
+
import type { LocationHolder } from "./LocationHolder";
|
|
22
|
+
import type { TopicHolder } from "./TopicHolder";
|
|
23
|
+
import type { SentimentHolder } from "./SentimentHolder";
|
|
24
|
+
import type { EventTypeHolder } from "./EventTypeHolder";
|
|
25
|
+
import type { CategoryWithScoreHolder } from "./CategoryWithScoreHolder";
|
|
26
|
+
import type { Place } from "./Place";
|
|
27
|
+
import type { IdNameHolder } from "./IdNameHolder";
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @export
|
|
31
|
+
* @interface Article
|
|
32
|
+
*/
|
|
33
|
+
export interface Article {
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof Article
|
|
38
|
+
*/
|
|
39
|
+
url?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof Article
|
|
44
|
+
*/
|
|
45
|
+
authorsByline?: string | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof Article
|
|
50
|
+
*/
|
|
51
|
+
articleId?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof Article
|
|
56
|
+
*/
|
|
57
|
+
clusterId?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {SourceHolder}
|
|
61
|
+
* @memberof Article
|
|
62
|
+
*/
|
|
63
|
+
source?: SourceHolder;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof Article
|
|
68
|
+
*/
|
|
69
|
+
imageUrl?: string | null;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof Article
|
|
74
|
+
*/
|
|
75
|
+
country?: string | null;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof Article
|
|
80
|
+
*/
|
|
81
|
+
language?: string | null;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof Article
|
|
86
|
+
*/
|
|
87
|
+
pubDate?: string | null;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof Article
|
|
92
|
+
*/
|
|
93
|
+
addDate?: string | null;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof Article
|
|
98
|
+
*/
|
|
99
|
+
refreshDate?: string | null;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {number}
|
|
103
|
+
* @memberof Article
|
|
104
|
+
*/
|
|
105
|
+
score?: number | null;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {string}
|
|
109
|
+
* @memberof Article
|
|
110
|
+
*/
|
|
111
|
+
title?: string | null;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {string}
|
|
115
|
+
* @memberof Article
|
|
116
|
+
*/
|
|
117
|
+
description?: string | null;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {string}
|
|
121
|
+
* @memberof Article
|
|
122
|
+
*/
|
|
123
|
+
content?: string | null;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @memberof Article
|
|
128
|
+
*/
|
|
129
|
+
medium?: string | null;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {Array<string>}
|
|
133
|
+
* @memberof Article
|
|
134
|
+
*/
|
|
135
|
+
links?: Array<string> | null;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @type {Array<LabelHolder>}
|
|
139
|
+
* @memberof Article
|
|
140
|
+
*/
|
|
141
|
+
labels?: Array<LabelHolder> | null;
|
|
142
|
+
/**
|
|
143
|
+
*
|
|
144
|
+
* @type {Array<EventTypeHolder>}
|
|
145
|
+
* @memberof Article
|
|
146
|
+
*/
|
|
147
|
+
eventTypes?: Array<EventTypeHolder> | null;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @type {Array<IdNameHolder>}
|
|
151
|
+
* @memberof Article
|
|
152
|
+
*/
|
|
153
|
+
matchedAuthors?: Array<IdNameHolder> | null;
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* @type {string}
|
|
157
|
+
* @memberof Article
|
|
158
|
+
*/
|
|
159
|
+
claim?: string | null;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @type {string}
|
|
163
|
+
* @memberof Article
|
|
164
|
+
*/
|
|
165
|
+
verdict?: string | null;
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @type {Array<KeywordHolder>}
|
|
169
|
+
* @memberof Article
|
|
170
|
+
*/
|
|
171
|
+
keywords?: Array<KeywordHolder> | null;
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @type {Array<TopicHolder>}
|
|
175
|
+
* @memberof Article
|
|
176
|
+
*/
|
|
177
|
+
topics?: Array<TopicHolder> | null;
|
|
178
|
+
/**
|
|
179
|
+
*
|
|
180
|
+
* @type {Array<CategoryHolder>}
|
|
181
|
+
* @memberof Article
|
|
182
|
+
*/
|
|
183
|
+
categories?: Array<CategoryHolder> | null;
|
|
184
|
+
/**
|
|
185
|
+
*
|
|
186
|
+
* @type {Array<CategoryWithScoreHolder>}
|
|
187
|
+
* @memberof Article
|
|
188
|
+
*/
|
|
189
|
+
taxonomies?: Array<CategoryWithScoreHolder> | null;
|
|
190
|
+
/**
|
|
191
|
+
*
|
|
192
|
+
* @type {Array<EntityHolder>}
|
|
193
|
+
* @memberof Article
|
|
194
|
+
*/
|
|
195
|
+
entities?: Array<EntityHolder> | null;
|
|
196
|
+
/**
|
|
197
|
+
*
|
|
198
|
+
* @type {Array<CompanyHolder>}
|
|
199
|
+
* @memberof Article
|
|
200
|
+
*/
|
|
201
|
+
companies?: Array<CompanyHolder> | null;
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @type {SentimentHolder}
|
|
205
|
+
* @memberof Article
|
|
206
|
+
*/
|
|
207
|
+
sentiment?: SentimentHolder;
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
* @type {string}
|
|
211
|
+
* @memberof Article
|
|
212
|
+
*/
|
|
213
|
+
summary?: string | null;
|
|
214
|
+
/**
|
|
215
|
+
*
|
|
216
|
+
* @type {string}
|
|
217
|
+
* @memberof Article
|
|
218
|
+
*/
|
|
219
|
+
shortSummary?: string | null;
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* @type {string}
|
|
223
|
+
* @memberof Article
|
|
224
|
+
*/
|
|
225
|
+
translation?: string | null;
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @type {string}
|
|
229
|
+
* @memberof Article
|
|
230
|
+
*/
|
|
231
|
+
translatedTitle?: string | null;
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* @type {string}
|
|
235
|
+
* @memberof Article
|
|
236
|
+
*/
|
|
237
|
+
translatedDescription?: string | null;
|
|
238
|
+
/**
|
|
239
|
+
*
|
|
240
|
+
* @type {string}
|
|
241
|
+
* @memberof Article
|
|
242
|
+
*/
|
|
243
|
+
translatedSummary?: string | null;
|
|
244
|
+
/**
|
|
245
|
+
*
|
|
246
|
+
* @type {Array<LocationHolder>}
|
|
247
|
+
* @memberof Article
|
|
248
|
+
*/
|
|
249
|
+
locations?: Array<LocationHolder> | null;
|
|
250
|
+
/**
|
|
251
|
+
*
|
|
252
|
+
* @type {boolean}
|
|
253
|
+
* @memberof Article
|
|
254
|
+
*/
|
|
255
|
+
reprint?: boolean | null;
|
|
256
|
+
/**
|
|
257
|
+
*
|
|
258
|
+
* @type {string}
|
|
259
|
+
* @memberof Article
|
|
260
|
+
*/
|
|
261
|
+
reprintGroupId?: string | null;
|
|
262
|
+
/**
|
|
263
|
+
*
|
|
264
|
+
* @type {Array<Place>}
|
|
265
|
+
* @memberof Article
|
|
266
|
+
*/
|
|
267
|
+
places?: Array<Place> | null;
|
|
268
|
+
/**
|
|
269
|
+
*
|
|
270
|
+
* @type {Array<PersonHolder>}
|
|
271
|
+
* @memberof Article
|
|
272
|
+
*/
|
|
273
|
+
people?: Array<PersonHolder> | null;
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* @type {NewsCluster}
|
|
277
|
+
* @memberof Article
|
|
278
|
+
*/
|
|
279
|
+
cluster?: NewsCluster;
|
|
280
|
+
/**
|
|
281
|
+
*
|
|
282
|
+
* @type {Array<Journalist>}
|
|
283
|
+
* @memberof Article
|
|
284
|
+
*/
|
|
285
|
+
journalists?: Array<Journalist> | null;
|
|
286
|
+
/**
|
|
287
|
+
*
|
|
288
|
+
* @type {{ [key: string]: Array<string>; }}
|
|
289
|
+
* @memberof Article
|
|
290
|
+
*/
|
|
291
|
+
highlights?: {
|
|
292
|
+
[key: string]: Array<string>;
|
|
293
|
+
} | null;
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Check if a given object implements the Article interface.
|
|
297
|
+
*/
|
|
298
|
+
export declare function instanceOfArticle(value: object): value is Article;
|
|
299
|
+
export declare function ArticleFromJSON(json: any): Article;
|
|
300
|
+
export declare function ArticleFromJSONTyped(json: any, ignoreDiscriminator: boolean): Article;
|
|
301
|
+
export declare function ArticleToJSON(json: any): Article;
|
|
302
|
+
export declare function ArticleToJSONTyped(value?: Article | null, ignoreDiscriminator?: boolean): any;
|
|
303
|
+
//# sourceMappingURL=Article.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Article.d.ts","sourceRoot":"","sources":["../../src/models/Article.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOnD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOvD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAOnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAOjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAOjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAOrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOvD,OAAO,KAAK,EAAE,WAAW,EAAE,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C,EAAE,OAAO,GAAG,IAAI,EACtB,mBAAmB,GAAE,OAAe,GACnC,GAAG,CA2FL"}
|
|
@@ -0,0 +1,206 @@
|
|
|
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.instanceOfArticle = instanceOfArticle;
|
|
17
|
+
exports.ArticleFromJSON = ArticleFromJSON;
|
|
18
|
+
exports.ArticleFromJSONTyped = ArticleFromJSONTyped;
|
|
19
|
+
exports.ArticleToJSON = ArticleToJSON;
|
|
20
|
+
exports.ArticleToJSONTyped = ArticleToJSONTyped;
|
|
21
|
+
const Journalist_1 = require("./Journalist");
|
|
22
|
+
const SourceHolder_1 = require("./SourceHolder");
|
|
23
|
+
const CompanyHolder_1 = require("./CompanyHolder");
|
|
24
|
+
const EntityHolder_1 = require("./EntityHolder");
|
|
25
|
+
const CategoryHolder_1 = require("./CategoryHolder");
|
|
26
|
+
const PersonHolder_1 = require("./PersonHolder");
|
|
27
|
+
const LabelHolder_1 = require("./LabelHolder");
|
|
28
|
+
const NewsCluster_1 = require("./NewsCluster");
|
|
29
|
+
const KeywordHolder_1 = require("./KeywordHolder");
|
|
30
|
+
const LocationHolder_1 = require("./LocationHolder");
|
|
31
|
+
const TopicHolder_1 = require("./TopicHolder");
|
|
32
|
+
const SentimentHolder_1 = require("./SentimentHolder");
|
|
33
|
+
const EventTypeHolder_1 = require("./EventTypeHolder");
|
|
34
|
+
const CategoryWithScoreHolder_1 = require("./CategoryWithScoreHolder");
|
|
35
|
+
const Place_1 = require("./Place");
|
|
36
|
+
const IdNameHolder_1 = require("./IdNameHolder");
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the Article interface.
|
|
39
|
+
*/
|
|
40
|
+
function instanceOfArticle(value) {
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function ArticleFromJSON(json) {
|
|
44
|
+
return ArticleFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ArticleFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
url: json["url"] == null ? undefined : json["url"],
|
|
52
|
+
authorsByline: json["authorsByline"] == null ? undefined : json["authorsByline"],
|
|
53
|
+
articleId: json["articleId"] == null ? undefined : json["articleId"],
|
|
54
|
+
clusterId: json["clusterId"] == null ? undefined : json["clusterId"],
|
|
55
|
+
source: json["source"] == null ? undefined : (0, SourceHolder_1.SourceHolderFromJSON)(json["source"]),
|
|
56
|
+
imageUrl: json["imageUrl"] == null ? undefined : json["imageUrl"],
|
|
57
|
+
country: json["country"] == null ? undefined : json["country"],
|
|
58
|
+
language: json["language"] == null ? undefined : json["language"],
|
|
59
|
+
pubDate: json["pubDate"] == null ? undefined : json["pubDate"],
|
|
60
|
+
addDate: json["addDate"] == null ? undefined : json["addDate"],
|
|
61
|
+
refreshDate: json["refreshDate"] == null ? undefined : json["refreshDate"],
|
|
62
|
+
score: json["score"] == null ? undefined : json["score"],
|
|
63
|
+
title: json["title"] == null ? undefined : json["title"],
|
|
64
|
+
description: json["description"] == null ? undefined : json["description"],
|
|
65
|
+
content: json["content"] == null ? undefined : json["content"],
|
|
66
|
+
medium: json["medium"] == null ? undefined : json["medium"],
|
|
67
|
+
links: json["links"] == null ? undefined : json["links"],
|
|
68
|
+
labels: json["labels"] == null
|
|
69
|
+
? undefined
|
|
70
|
+
: json["labels"].map(LabelHolder_1.LabelHolderFromJSON),
|
|
71
|
+
eventTypes: json["eventTypes"] == null
|
|
72
|
+
? undefined
|
|
73
|
+
: json["eventTypes"].map(EventTypeHolder_1.EventTypeHolderFromJSON),
|
|
74
|
+
matchedAuthors: json["matchedAuthors"] == null
|
|
75
|
+
? undefined
|
|
76
|
+
: json["matchedAuthors"].map(IdNameHolder_1.IdNameHolderFromJSON),
|
|
77
|
+
claim: json["claim"] == null ? undefined : json["claim"],
|
|
78
|
+
verdict: json["verdict"] == null ? undefined : json["verdict"],
|
|
79
|
+
keywords: json["keywords"] == null
|
|
80
|
+
? undefined
|
|
81
|
+
: json["keywords"].map(KeywordHolder_1.KeywordHolderFromJSON),
|
|
82
|
+
topics: json["topics"] == null
|
|
83
|
+
? undefined
|
|
84
|
+
: json["topics"].map(TopicHolder_1.TopicHolderFromJSON),
|
|
85
|
+
categories: json["categories"] == null
|
|
86
|
+
? undefined
|
|
87
|
+
: json["categories"].map(CategoryHolder_1.CategoryHolderFromJSON),
|
|
88
|
+
taxonomies: json["taxonomies"] == null
|
|
89
|
+
? undefined
|
|
90
|
+
: json["taxonomies"].map(CategoryWithScoreHolder_1.CategoryWithScoreHolderFromJSON),
|
|
91
|
+
entities: json["entities"] == null
|
|
92
|
+
? undefined
|
|
93
|
+
: json["entities"].map(EntityHolder_1.EntityHolderFromJSON),
|
|
94
|
+
companies: json["companies"] == null
|
|
95
|
+
? undefined
|
|
96
|
+
: json["companies"].map(CompanyHolder_1.CompanyHolderFromJSON),
|
|
97
|
+
sentiment: json["sentiment"] == null
|
|
98
|
+
? undefined
|
|
99
|
+
: (0, SentimentHolder_1.SentimentHolderFromJSON)(json["sentiment"]),
|
|
100
|
+
summary: json["summary"] == null ? undefined : json["summary"],
|
|
101
|
+
shortSummary: json["shortSummary"] == null ? undefined : json["shortSummary"],
|
|
102
|
+
translation: json["translation"] == null ? undefined : json["translation"],
|
|
103
|
+
translatedTitle: json["translatedTitle"] == null ? undefined : json["translatedTitle"],
|
|
104
|
+
translatedDescription: json["translatedDescription"] == null
|
|
105
|
+
? undefined
|
|
106
|
+
: json["translatedDescription"],
|
|
107
|
+
translatedSummary: json["translatedSummary"] == null ? undefined : json["translatedSummary"],
|
|
108
|
+
locations: json["locations"] == null
|
|
109
|
+
? undefined
|
|
110
|
+
: json["locations"].map(LocationHolder_1.LocationHolderFromJSON),
|
|
111
|
+
reprint: json["reprint"] == null ? undefined : json["reprint"],
|
|
112
|
+
reprintGroupId: json["reprintGroupId"] == null ? undefined : json["reprintGroupId"],
|
|
113
|
+
places: json["places"] == null
|
|
114
|
+
? undefined
|
|
115
|
+
: json["places"].map(Place_1.PlaceFromJSON),
|
|
116
|
+
people: json["people"] == null
|
|
117
|
+
? undefined
|
|
118
|
+
: json["people"].map(PersonHolder_1.PersonHolderFromJSON),
|
|
119
|
+
cluster: json["cluster"] == null
|
|
120
|
+
? undefined
|
|
121
|
+
: (0, NewsCluster_1.NewsClusterFromJSON)(json["cluster"]),
|
|
122
|
+
journalists: json["journalists"] == null
|
|
123
|
+
? undefined
|
|
124
|
+
: json["journalists"].map(Journalist_1.JournalistFromJSON),
|
|
125
|
+
highlights: json["highlights"] == null ? undefined : json["highlights"],
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
function ArticleToJSON(json) {
|
|
129
|
+
return ArticleToJSONTyped(json, false);
|
|
130
|
+
}
|
|
131
|
+
function ArticleToJSONTyped(value, ignoreDiscriminator = false) {
|
|
132
|
+
if (value == null) {
|
|
133
|
+
return value;
|
|
134
|
+
}
|
|
135
|
+
return {
|
|
136
|
+
url: value["url"],
|
|
137
|
+
authorsByline: value["authorsByline"],
|
|
138
|
+
articleId: value["articleId"],
|
|
139
|
+
clusterId: value["clusterId"],
|
|
140
|
+
source: (0, SourceHolder_1.SourceHolderToJSON)(value["source"]),
|
|
141
|
+
imageUrl: value["imageUrl"],
|
|
142
|
+
country: value["country"],
|
|
143
|
+
language: value["language"],
|
|
144
|
+
pubDate: value["pubDate"],
|
|
145
|
+
addDate: value["addDate"],
|
|
146
|
+
refreshDate: value["refreshDate"],
|
|
147
|
+
score: value["score"],
|
|
148
|
+
title: value["title"],
|
|
149
|
+
description: value["description"],
|
|
150
|
+
content: value["content"],
|
|
151
|
+
medium: value["medium"],
|
|
152
|
+
links: value["links"],
|
|
153
|
+
labels: value["labels"] == null
|
|
154
|
+
? undefined
|
|
155
|
+
: value["labels"].map(LabelHolder_1.LabelHolderToJSON),
|
|
156
|
+
eventTypes: value["eventTypes"] == null
|
|
157
|
+
? undefined
|
|
158
|
+
: value["eventTypes"].map(EventTypeHolder_1.EventTypeHolderToJSON),
|
|
159
|
+
matchedAuthors: value["matchedAuthors"] == null
|
|
160
|
+
? undefined
|
|
161
|
+
: value["matchedAuthors"].map(IdNameHolder_1.IdNameHolderToJSON),
|
|
162
|
+
claim: value["claim"],
|
|
163
|
+
verdict: value["verdict"],
|
|
164
|
+
keywords: value["keywords"] == null
|
|
165
|
+
? undefined
|
|
166
|
+
: value["keywords"].map(KeywordHolder_1.KeywordHolderToJSON),
|
|
167
|
+
topics: value["topics"] == null
|
|
168
|
+
? undefined
|
|
169
|
+
: value["topics"].map(TopicHolder_1.TopicHolderToJSON),
|
|
170
|
+
categories: value["categories"] == null
|
|
171
|
+
? undefined
|
|
172
|
+
: value["categories"].map(CategoryHolder_1.CategoryHolderToJSON),
|
|
173
|
+
taxonomies: value["taxonomies"] == null
|
|
174
|
+
? undefined
|
|
175
|
+
: value["taxonomies"].map(CategoryWithScoreHolder_1.CategoryWithScoreHolderToJSON),
|
|
176
|
+
entities: value["entities"] == null
|
|
177
|
+
? undefined
|
|
178
|
+
: value["entities"].map(EntityHolder_1.EntityHolderToJSON),
|
|
179
|
+
companies: value["companies"] == null
|
|
180
|
+
? undefined
|
|
181
|
+
: value["companies"].map(CompanyHolder_1.CompanyHolderToJSON),
|
|
182
|
+
sentiment: (0, SentimentHolder_1.SentimentHolderToJSON)(value["sentiment"]),
|
|
183
|
+
summary: value["summary"],
|
|
184
|
+
shortSummary: value["shortSummary"],
|
|
185
|
+
translation: value["translation"],
|
|
186
|
+
translatedTitle: value["translatedTitle"],
|
|
187
|
+
translatedDescription: value["translatedDescription"],
|
|
188
|
+
translatedSummary: value["translatedSummary"],
|
|
189
|
+
locations: value["locations"] == null
|
|
190
|
+
? undefined
|
|
191
|
+
: value["locations"].map(LocationHolder_1.LocationHolderToJSON),
|
|
192
|
+
reprint: value["reprint"],
|
|
193
|
+
reprintGroupId: value["reprintGroupId"],
|
|
194
|
+
places: value["places"] == null
|
|
195
|
+
? undefined
|
|
196
|
+
: value["places"].map(Place_1.PlaceToJSON),
|
|
197
|
+
people: value["people"] == null
|
|
198
|
+
? undefined
|
|
199
|
+
: value["people"].map(PersonHolder_1.PersonHolderToJSON),
|
|
200
|
+
cluster: (0, NewsCluster_1.NewsClusterToJSON)(value["cluster"]),
|
|
201
|
+
journalists: value["journalists"] == null
|
|
202
|
+
? undefined
|
|
203
|
+
: value["journalists"].map(Journalist_1.JournalistToJSON),
|
|
204
|
+
highlights: value["highlights"],
|
|
205
|
+
};
|
|
206
|
+
}
|