@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,1380 @@
|
|
|
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 * as runtime from "../runtime";
|
|
13
|
+
import type { AllEndpointSortBy, ArticleSearchParams, CompanySearchResult, Journalist, JournalistSearchResult, PeopleSearchResult, QuerySearchResult, SortBy, SourceSearchResult, StorySearchResult, SummaryBody, SummarySearchResult, TopicSearchResult, VectorSearchResult } from "../models/index";
|
|
14
|
+
export interface GetJournalistByIdRequest {
|
|
15
|
+
/**
|
|
16
|
+
* Parameter id
|
|
17
|
+
* @required
|
|
18
|
+
*/
|
|
19
|
+
id: string;
|
|
20
|
+
}
|
|
21
|
+
export interface SearchArticlesRequest {
|
|
22
|
+
/**
|
|
23
|
+
* Search query, each article will be scored and ranked against it. Articles are searched on the title, description, and content fields.
|
|
24
|
+
*/
|
|
25
|
+
q?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Search article headlines/title field. Semantic similar to q parameter.
|
|
28
|
+
*/
|
|
29
|
+
title?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Search query on the description field. Semantic similar to q parameter.
|
|
32
|
+
*/
|
|
33
|
+
desc?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Search query on the article\'s body of content field. Semantic similar to q parameter.
|
|
36
|
+
*/
|
|
37
|
+
content?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Search query on the url field. Semantic similar to q parameter. E.g. could be used for querying certain website sections, e.g. source=cnn.com&url=travel.
|
|
40
|
+
*/
|
|
41
|
+
url?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Article ID will search for a news article by the ID of the article. If several parameters are passed, all matched articles will be returned.
|
|
44
|
+
*/
|
|
45
|
+
articleId?: Array<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Search for related content using a cluster ID. Passing a cluster ID will filter results to only the content found within the cluster.
|
|
48
|
+
*/
|
|
49
|
+
clusterId?: Array<string>;
|
|
50
|
+
/**
|
|
51
|
+
* \'relevance\' to sort by relevance to the query, \'date\' to sort by the publication date (desc), \'pubDate\' is a synonym to \'date\', \'addDate\' to sort by \'addDate\' field (desc), \'refreshDate\' to sort by \'refreshDate\' field (desc). Defaults to \'relevance\'
|
|
52
|
+
*/
|
|
53
|
+
sortBy?: AllEndpointSortBy;
|
|
54
|
+
/**
|
|
55
|
+
* The page number to retrieve.
|
|
56
|
+
*/
|
|
57
|
+
page?: number;
|
|
58
|
+
/**
|
|
59
|
+
* The number of items per page.
|
|
60
|
+
*/
|
|
61
|
+
size?: number;
|
|
62
|
+
/**
|
|
63
|
+
* \'from\' filter, will search articles published after the specified date, the date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2023-03-01T00:00:00
|
|
64
|
+
*/
|
|
65
|
+
from?: Date;
|
|
66
|
+
/**
|
|
67
|
+
* \'to\' filter, will search articles published before the specified date, the date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2022-02-01T23:59:59
|
|
68
|
+
*/
|
|
69
|
+
to?: Date;
|
|
70
|
+
/**
|
|
71
|
+
* \'addDateFrom\' filter, will search articles added after the specified date, the date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2022-02-01T00:00:00
|
|
72
|
+
*/
|
|
73
|
+
addDateFrom?: Date;
|
|
74
|
+
/**
|
|
75
|
+
* \'addDateTo\' filter, will search articles added before the specified date, the date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2022-02-01T23:59:59
|
|
76
|
+
*/
|
|
77
|
+
addDateTo?: Date;
|
|
78
|
+
/**
|
|
79
|
+
* Will search articles that were refreshed after the specified date. The date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2022-02-01T00:00:00
|
|
80
|
+
*/
|
|
81
|
+
refreshDateFrom?: Date;
|
|
82
|
+
/**
|
|
83
|
+
* Will search articles that were refreshed before the specified date. The date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2022-02-01T23:59:59
|
|
84
|
+
*/
|
|
85
|
+
refreshDateTo?: Date;
|
|
86
|
+
/**
|
|
87
|
+
* Medium will filter out news articles medium, which could be \'Video\' or \'Article\'. If several parameters are passed, all matched articles will be returned.
|
|
88
|
+
*/
|
|
89
|
+
medium?: Array<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Publisher\'s domain can include a subdomain. If multiple parameters are passed, they will be applied as OR operations. Wildcards (* and ?) are suported (e.g. *.cnn.com).
|
|
92
|
+
*/
|
|
93
|
+
source?: Array<string>;
|
|
94
|
+
/**
|
|
95
|
+
* One of the supported source groups. Find Source Groups in the guided part of our documentation...
|
|
96
|
+
*/
|
|
97
|
+
sourceGroup?: Array<string>;
|
|
98
|
+
/**
|
|
99
|
+
* A list of built-in source group names to exclude from the results. The Perigon API categorizes sources into groups (for example, “top10” or “top100”) based on type or popularity. Using this filter allows you to remove articles coming from any source that belongs to one or more of the specified groups.
|
|
100
|
+
*/
|
|
101
|
+
excludeSourceGroup?: Array<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The domain of the website, which should be excluded from the search. Multiple parameters could be provided. Wildcards (* and ?) are suported (e.g. *.cnn.com).
|
|
104
|
+
*/
|
|
105
|
+
excludeSource?: Array<string>;
|
|
106
|
+
/**
|
|
107
|
+
* Filter to show only results where the source has a paywall (true) or does not have a paywall (false).
|
|
108
|
+
*/
|
|
109
|
+
paywall?: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Author names to filter by. Article author bylines are used as a source field. If multiple parameters are passed, they will be applied as OR operations.
|
|
112
|
+
*/
|
|
113
|
+
byline?: Array<string>;
|
|
114
|
+
/**
|
|
115
|
+
* A list of author names to include. Only articles written by any of the specified authors are returned. This is ideal when you wish to focus on content from particular voices or experts.
|
|
116
|
+
*/
|
|
117
|
+
author?: Array<string>;
|
|
118
|
+
/**
|
|
119
|
+
* A list of author names to exclude from the search results. Any article written by an author whose name matches one in this list will be omitted, which helps to avoid content from certain individuals.
|
|
120
|
+
*/
|
|
121
|
+
excludeAuthor?: Array<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Filter by journalist ID. Journalist IDs are unique journalist identifiers which can be found through the Journalist API, or in the matchedAuthors field.
|
|
124
|
+
*/
|
|
125
|
+
journalistId?: Array<string>;
|
|
126
|
+
/**
|
|
127
|
+
* A list of journalist (or reporter) identifiers to exclude. If an article is written by a journalist whose ID matches any in this list, it will not be part of the result set.
|
|
128
|
+
*/
|
|
129
|
+
excludeJournalistId?: Array<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Language code to filter by language. If multiple parameters are passed, they will be applied as OR operations.
|
|
132
|
+
*/
|
|
133
|
+
language?: Array<string>;
|
|
134
|
+
/**
|
|
135
|
+
* A list of languages to be excluded. Any article published in one of the languages provided in this filter will not be returned. This is useful when you are interested only in news published in specific languages.
|
|
136
|
+
*/
|
|
137
|
+
excludeLanguage?: Array<string>;
|
|
138
|
+
/**
|
|
139
|
+
* Expand a query to search the translation, translatedTitle, and translatedDescription fields for non-English articles.
|
|
140
|
+
*/
|
|
141
|
+
searchTranslation?: boolean;
|
|
142
|
+
/**
|
|
143
|
+
* Labels to filter by, could be \'Opinion\', \'Paid-news\', \'Non-news\', etc. If multiple parameters are passed, they will be applied as OR operations.
|
|
144
|
+
*/
|
|
145
|
+
label?: Array<string>;
|
|
146
|
+
/**
|
|
147
|
+
* Exclude results that include specific labels (Opinion, Non-news, Paid News, etc.). You can filter multiple by repeating the parameter.
|
|
148
|
+
*/
|
|
149
|
+
excludeLabel?: Array<string>;
|
|
150
|
+
/**
|
|
151
|
+
* Filter by categories. Categories are general themes that the article is about. Examples of categories: Tech, Politics, etc. If multiple parameters are passed, they will be applied as OR operations. Use \'none\' to search uncategorized articles.
|
|
152
|
+
*/
|
|
153
|
+
category?: Array<string>;
|
|
154
|
+
/**
|
|
155
|
+
* A list of article categories to be omitted. If an article is tagged with any category present in this list (such as “Polotics”, “Tech”, “Sports”, etc.), it will not appear in the search results.
|
|
156
|
+
*/
|
|
157
|
+
excludeCategory?: Array<string>;
|
|
158
|
+
/**
|
|
159
|
+
* Filters results to include only articles with the specified topics. Topics are more specific classifications than categories, with an article potentially having multiple topics assigned. Perigon uses both human and machine curation to maintain an evolving list of available topics. Common examples include \'Markets\', \'Crime\', \'Cryptocurrency\', \'Social Issues\', \'College Sports\', etc. See the Topics page in Docs for a complete list of available topics.
|
|
160
|
+
*/
|
|
161
|
+
topic?: Array<string>;
|
|
162
|
+
/**
|
|
163
|
+
* Filter by excluding topics. Each topic is some kind of entity that the article is about. Examples of topics: Markets, Joe Biden, Green Energy, Climate Change, Cryptocurrency, etc. If multiple parameters are passed, they will be applied as OR operations.
|
|
164
|
+
*/
|
|
165
|
+
excludeTopic?: Array<string>;
|
|
166
|
+
/**
|
|
167
|
+
* Returns only articles that point to specified links (as determined by the \'links\' field in the article response).
|
|
168
|
+
*/
|
|
169
|
+
linkTo?: string;
|
|
170
|
+
/**
|
|
171
|
+
* Whether to return reprints in the response or not. Reprints are usually wired articles from sources like AP or Reuters that are reprinted in multiple sources at the same time. By default, this parameter is \'true\'.
|
|
172
|
+
*/
|
|
173
|
+
showReprints?: boolean;
|
|
174
|
+
/**
|
|
175
|
+
* Shows all articles belonging to the same reprint group. A reprint group includes one original article (the first one processed by the API) and all its known reprints.
|
|
176
|
+
*/
|
|
177
|
+
reprintGroupId?: string;
|
|
178
|
+
/**
|
|
179
|
+
* Filters articles where a specified city plays a central role in the content, beyond mere mentions, to ensure the results are deeply relevant to the urban area in question. If multiple parameters are passed, they will be applied as OR operations.
|
|
180
|
+
*/
|
|
181
|
+
city?: Array<string>;
|
|
182
|
+
/**
|
|
183
|
+
* A list of cities to exclude from the results. Articles that are associated with any of the specified cities will be filtered out.
|
|
184
|
+
*/
|
|
185
|
+
excludeCity?: Array<string>;
|
|
186
|
+
/**
|
|
187
|
+
* Filters articles where a specified area, such as a neighborhood, borough, or district, plays a central role in the content, beyond mere mentions, to ensure the results are deeply relevant to the area in question. If multiple parameters are passed, they will be applied as OR operations.
|
|
188
|
+
*/
|
|
189
|
+
area?: Array<string>;
|
|
190
|
+
/**
|
|
191
|
+
* Filters articles where a specified state plays a central role in the content, beyond mere mentions, to ensure the results are deeply relevant to the state in question. If multiple parameters are passed, they will be applied as OR operations.
|
|
192
|
+
*/
|
|
193
|
+
state?: Array<string>;
|
|
194
|
+
/**
|
|
195
|
+
* A list of states to exclude. Articles that include, or are associated with, any of the states provided here will be filtered out. This is especially useful if you want to ignore news tied to certain geographical areas (e.g., US states).
|
|
196
|
+
*/
|
|
197
|
+
excludeState?: Array<string>;
|
|
198
|
+
/**
|
|
199
|
+
* A list of counties to include (or specify) in the search results. This field filters the returned articles based on the county associated with the event or news. Only articles tagged with one of these counties will be included.
|
|
200
|
+
*/
|
|
201
|
+
county?: Array<string>;
|
|
202
|
+
/**
|
|
203
|
+
* Excludes articles from specific counties or administrative divisions in the vector search results. Accepts either a single county name or a list of county names. County names should match the format used in article metadata (e.g., \'Los Angeles County\', \'Cook County\'). This parameter allows for more granular geographic filter
|
|
204
|
+
*/
|
|
205
|
+
excludeCounty?: Array<string>;
|
|
206
|
+
/**
|
|
207
|
+
* Filters articles where a specified country plays a central role in the content, beyond mere mentions, to ensure the results are deeply relevant to the country in question. If multiple parameters are passed, they will be applied as OR operations.
|
|
208
|
+
*/
|
|
209
|
+
locationsCountry?: Array<string>;
|
|
210
|
+
/**
|
|
211
|
+
* Country code to filter by country. If multiple parameters are passed, they will be applied as OR operations.
|
|
212
|
+
*/
|
|
213
|
+
country?: Array<string>;
|
|
214
|
+
/**
|
|
215
|
+
* Excludes articles where a specified country plays a central role in the content, ensuring results are not deeply relevant to the country in question. If multiple parameters are passed, they will be applied as AND operations, excluding articles relevant to any of the specified countries.
|
|
216
|
+
*/
|
|
217
|
+
excludeLocationsCountry?: Array<string>;
|
|
218
|
+
/**
|
|
219
|
+
* Return all articles that have the specified location. Location attributes are delimited by \':\' between key and value, and \'::\' between attributes. Example: \'city:New York::state:NY\'.
|
|
220
|
+
*/
|
|
221
|
+
location?: Array<string>;
|
|
222
|
+
/**
|
|
223
|
+
* Latitude of the center point to search places
|
|
224
|
+
*/
|
|
225
|
+
lat?: number;
|
|
226
|
+
/**
|
|
227
|
+
* Longitude of the center point to search places
|
|
228
|
+
*/
|
|
229
|
+
lon?: number;
|
|
230
|
+
/**
|
|
231
|
+
* Maximum distance (in km) from starting point to search articles by tagged places
|
|
232
|
+
*/
|
|
233
|
+
maxDistance?: number;
|
|
234
|
+
/**
|
|
235
|
+
* Find articles published by sources that are located within a given city.
|
|
236
|
+
*/
|
|
237
|
+
sourceCity?: Array<string>;
|
|
238
|
+
/**
|
|
239
|
+
* Find articles published by sources that are located within a given county.
|
|
240
|
+
*/
|
|
241
|
+
sourceCounty?: Array<string>;
|
|
242
|
+
/**
|
|
243
|
+
* Find articles published by sources that are located within a given country. Must be 2 character country code (i.e. us, gb, etc).
|
|
244
|
+
*/
|
|
245
|
+
sourceCountry?: Array<string>;
|
|
246
|
+
/**
|
|
247
|
+
* Find articles published by sources that are located within a given state.
|
|
248
|
+
*/
|
|
249
|
+
sourceState?: Array<string>;
|
|
250
|
+
/**
|
|
251
|
+
* Latitude of the center point to search articles created by local publications.
|
|
252
|
+
*/
|
|
253
|
+
sourceLat?: number;
|
|
254
|
+
/**
|
|
255
|
+
* Latitude of the center point to search articles created by local publications.
|
|
256
|
+
*/
|
|
257
|
+
sourceLon?: number;
|
|
258
|
+
/**
|
|
259
|
+
* Maximum distance from starting point to search articles created by local publications.
|
|
260
|
+
*/
|
|
261
|
+
sourceMaxDistance?: number;
|
|
262
|
+
/**
|
|
263
|
+
* List of person Wikidata IDs for filtering.
|
|
264
|
+
*/
|
|
265
|
+
personWikidataId?: Array<string>;
|
|
266
|
+
/**
|
|
267
|
+
* A list of Wikidata identifiers for individuals. Articles mentioning persons with any of these Wikidata IDs will be filtered out. This is particularly helpful when using a unique identifier to prevent ambiguity in names.
|
|
268
|
+
*/
|
|
269
|
+
excludePersonWikidataId?: Array<string>;
|
|
270
|
+
/**
|
|
271
|
+
* List of person names for exact matches. Boolean and complex logic is not supported on this paramter.
|
|
272
|
+
*/
|
|
273
|
+
personName?: Array<string>;
|
|
274
|
+
/**
|
|
275
|
+
* A list of person names that, when associated with the content, cause the article to be excluded. This filter removes articles related to any individuals whose names match those on the list.
|
|
276
|
+
*/
|
|
277
|
+
excludePersonName?: Array<string>;
|
|
278
|
+
/**
|
|
279
|
+
* List of company IDs to filter by.
|
|
280
|
+
*/
|
|
281
|
+
companyId?: Array<string>;
|
|
282
|
+
/**
|
|
283
|
+
* A list of company identifiers. Articles associated with companies that have any of these unique IDs will be filtered out from the returned results, ensuring that certain companies or corporate entities are not included.
|
|
284
|
+
*/
|
|
285
|
+
excludeCompanyId?: Array<string>;
|
|
286
|
+
/**
|
|
287
|
+
* Search by company name.
|
|
288
|
+
*/
|
|
289
|
+
companyName?: string;
|
|
290
|
+
/**
|
|
291
|
+
* Search by company domains for filtering. E.g. companyDomain=apple.com.
|
|
292
|
+
*/
|
|
293
|
+
companyDomain?: Array<string>;
|
|
294
|
+
/**
|
|
295
|
+
* A list of company domains to exclude. If an article is related to a company that uses one of the specified domains (for instance, “example.com”), it will not be returned in the results.
|
|
296
|
+
*/
|
|
297
|
+
excludeCompanyDomain?: Array<string>;
|
|
298
|
+
/**
|
|
299
|
+
* Search by company symbols.
|
|
300
|
+
*/
|
|
301
|
+
companySymbol?: Array<string>;
|
|
302
|
+
/**
|
|
303
|
+
* A list of stock symbols (ticker symbols) that identify companies to be excluded. Articles related to companies using any of these symbols will be omitted, which is useful for targeting or avoiding specific public companies.
|
|
304
|
+
*/
|
|
305
|
+
excludeCompanySymbol?: Array<string>;
|
|
306
|
+
/**
|
|
307
|
+
* Whether to show the total number of all matched articles. Default value is false which makes queries a bit more efficient but also counts up to 10000 articles.
|
|
308
|
+
*/
|
|
309
|
+
showNumResults?: boolean;
|
|
310
|
+
/**
|
|
311
|
+
* Filters results with a sentiment score greater than or equal to the specified value, indicating positive sentiment. See the Article Data section in Docs for an explanation of scores.
|
|
312
|
+
*/
|
|
313
|
+
positiveSentimentFrom?: number;
|
|
314
|
+
/**
|
|
315
|
+
* Filters results with a sentiment score less than or equal to the specified value, indicating positive sentiment. See the Article Data section in Docs for an explanation of scores.
|
|
316
|
+
*/
|
|
317
|
+
positiveSentimentTo?: number;
|
|
318
|
+
/**
|
|
319
|
+
* Filters results with a sentiment score greater than or equal to the specified value, indicating neutral sentiment. Explanation of sentimental values can be found in Docs under the Article Data section.
|
|
320
|
+
*/
|
|
321
|
+
neutralSentimentFrom?: number;
|
|
322
|
+
/**
|
|
323
|
+
* Filters results with a sentiment score less than or equal to the specified value, indicating neutral sentiment. See the Article Data section in Docs for an explanation of scores.
|
|
324
|
+
*/
|
|
325
|
+
neutralSentimentTo?: number;
|
|
326
|
+
/**
|
|
327
|
+
* Filters results with a sentiment score greater than or equal to the specified value, indicating negative sentiment. See the Article Data section in Docs for an explanation of scores.
|
|
328
|
+
*/
|
|
329
|
+
negativeSentimentFrom?: number;
|
|
330
|
+
/**
|
|
331
|
+
* Filters results with a sentiment score less than or equal to the specified value, indicating negative sentiment. See the Article Data section in Docs for an explanation of scores.
|
|
332
|
+
*/
|
|
333
|
+
negativeSentimentTo?: number;
|
|
334
|
+
/**
|
|
335
|
+
* Filters by Google Content Categories. This field will accept 1 or more categories, must pass the full name of the category. Example: taxonomy=/Finance/Banking/Other, /Finance/Investing/Funds
|
|
336
|
+
*/
|
|
337
|
+
taxonomy?: Array<string>;
|
|
338
|
+
/**
|
|
339
|
+
* Filters by Google Content Categories. This field will filter by the category prefix only. Example: prefixTaxonomy=/Finance
|
|
340
|
+
*/
|
|
341
|
+
prefixTaxonomy?: string;
|
|
342
|
+
}
|
|
343
|
+
export interface SearchCompaniesRequest {
|
|
344
|
+
/**
|
|
345
|
+
* Search by company id.
|
|
346
|
+
*/
|
|
347
|
+
id?: Array<string>;
|
|
348
|
+
/**
|
|
349
|
+
* Search by ticker symbol.
|
|
350
|
+
*/
|
|
351
|
+
symbol?: Array<string>;
|
|
352
|
+
/**
|
|
353
|
+
* Search by company domain.
|
|
354
|
+
*/
|
|
355
|
+
domain?: Array<string>;
|
|
356
|
+
/**
|
|
357
|
+
* Search by company country.
|
|
358
|
+
*/
|
|
359
|
+
country?: Array<string>;
|
|
360
|
+
/**
|
|
361
|
+
* Search by exchange name.
|
|
362
|
+
*/
|
|
363
|
+
exchange?: Array<string>;
|
|
364
|
+
/**
|
|
365
|
+
* Minimum number of employees.
|
|
366
|
+
*/
|
|
367
|
+
numEmployeesFrom?: number;
|
|
368
|
+
/**
|
|
369
|
+
* Maximum number of employees.
|
|
370
|
+
*/
|
|
371
|
+
numEmployeesTo?: number;
|
|
372
|
+
/**
|
|
373
|
+
* Starting IPO date.
|
|
374
|
+
*/
|
|
375
|
+
ipoFrom?: Date;
|
|
376
|
+
/**
|
|
377
|
+
* Ending IPO date.
|
|
378
|
+
*/
|
|
379
|
+
ipoTo?: Date;
|
|
380
|
+
/**
|
|
381
|
+
* Search companies over \'name\', \'altNames\', \'domains\' and \'symbols.symbol\' fields. Boolean operators and logic are supported.
|
|
382
|
+
*/
|
|
383
|
+
q?: string;
|
|
384
|
+
/**
|
|
385
|
+
* Search by company name. Boolean operators and logic are supported.
|
|
386
|
+
*/
|
|
387
|
+
name?: string;
|
|
388
|
+
/**
|
|
389
|
+
* Search by industry. Boolean operators and logic are supported.
|
|
390
|
+
*/
|
|
391
|
+
industry?: string;
|
|
392
|
+
/**
|
|
393
|
+
* Search by sector. Boolean operators and logic are supported.
|
|
394
|
+
*/
|
|
395
|
+
sector?: string;
|
|
396
|
+
/**
|
|
397
|
+
* The number of items per page.
|
|
398
|
+
*/
|
|
399
|
+
size?: number;
|
|
400
|
+
/**
|
|
401
|
+
* The page number to retrieve.
|
|
402
|
+
*/
|
|
403
|
+
page?: number;
|
|
404
|
+
}
|
|
405
|
+
export interface SearchJournalists1Request {
|
|
406
|
+
/**
|
|
407
|
+
* Filter by journalist ID. Journalist IDs are unique journalist identifiers which can be found through the Journalist API, or in the matchedAuthors field.
|
|
408
|
+
*/
|
|
409
|
+
id?: Array<string>;
|
|
410
|
+
/**
|
|
411
|
+
* Searches through name, title, twitterBio fields with priority given to the name, then to the title, then to the twitter bio. Returns results sorted by relevance.
|
|
412
|
+
*/
|
|
413
|
+
q?: string;
|
|
414
|
+
/**
|
|
415
|
+
* Searches through journalist names, scores and ranks them, returns results sorted by relevance.
|
|
416
|
+
*/
|
|
417
|
+
name?: string;
|
|
418
|
+
/**
|
|
419
|
+
* Searches for journalists by (exact match) twitter handle.
|
|
420
|
+
*/
|
|
421
|
+
twitter?: string;
|
|
422
|
+
/**
|
|
423
|
+
* The number of items per page.
|
|
424
|
+
*/
|
|
425
|
+
size?: number;
|
|
426
|
+
/**
|
|
427
|
+
* The page number to retrieve.
|
|
428
|
+
*/
|
|
429
|
+
page?: number;
|
|
430
|
+
/**
|
|
431
|
+
* Search for journalist by the publisher\'s domain can include a subdomain. If multiple parameters are passed, they will be applied as OR operations. Wildcards (* and ?) are suported (e.g. *.cnn.com).
|
|
432
|
+
*/
|
|
433
|
+
source?: Array<string>;
|
|
434
|
+
/**
|
|
435
|
+
* Searches for journalists by topic.
|
|
436
|
+
*/
|
|
437
|
+
topic?: Array<string>;
|
|
438
|
+
/**
|
|
439
|
+
* Filter by categories. Categories are general themes that the article is about. Examples of categories: Tech, Politics, etc. If multiple parameters are passed, they will be applied as OR operations.
|
|
440
|
+
*/
|
|
441
|
+
category?: Array<string>;
|
|
442
|
+
/**
|
|
443
|
+
* Filter journalists by label. For example, searching \'Opinion\' will return the journalists where \'Opinion\'-type articles is one of the top labels for the articles they publish.
|
|
444
|
+
*/
|
|
445
|
+
label?: Array<string>;
|
|
446
|
+
/**
|
|
447
|
+
* Returns the journalists with the minimum indicated number of average monthly posts.
|
|
448
|
+
*/
|
|
449
|
+
minMonthlyPosts?: number;
|
|
450
|
+
/**
|
|
451
|
+
* Returns the journalist with the maximum indicated number of average monthly posts.
|
|
452
|
+
*/
|
|
453
|
+
maxMonthlyPosts?: number;
|
|
454
|
+
/**
|
|
455
|
+
* Country code to filter by country. If multiple parameters are passed, they will be applied as OR operations.
|
|
456
|
+
*/
|
|
457
|
+
country?: Array<string>;
|
|
458
|
+
/**
|
|
459
|
+
* Starting date when the record was last updated.
|
|
460
|
+
*/
|
|
461
|
+
updatedAtFrom?: Date;
|
|
462
|
+
/**
|
|
463
|
+
* Ending date when the record was last updated.
|
|
464
|
+
*/
|
|
465
|
+
updatedAtTo?: Date;
|
|
466
|
+
/**
|
|
467
|
+
* If \'true\', shows accurate number of results matched by the query. By default, the counter is accurate only up to 10,000 results due performance reasons.
|
|
468
|
+
*/
|
|
469
|
+
showNumResults?: boolean;
|
|
470
|
+
}
|
|
471
|
+
export interface SearchPeopleRequest {
|
|
472
|
+
/**
|
|
473
|
+
* Search by name of the person. Supports exact matching with quotes (\"\") and Boolean operators (AND, OR, NOT).
|
|
474
|
+
*/
|
|
475
|
+
name?: string;
|
|
476
|
+
/**
|
|
477
|
+
* Filter by Wikidata entity ID(s). Use this to find specific people by their Wikidata identifiers.
|
|
478
|
+
*/
|
|
479
|
+
wikidataId?: Array<string>;
|
|
480
|
+
/**
|
|
481
|
+
* Filter by Wikidata occupation ID(s). Use this to find people with specific occupations.
|
|
482
|
+
*/
|
|
483
|
+
occupationId?: Array<string>;
|
|
484
|
+
/**
|
|
485
|
+
* Search by occupation name. Supports exact matching with quotes (\"\") and Boolean operators (AND, OR, NOT).
|
|
486
|
+
*/
|
|
487
|
+
occupationLabel?: string;
|
|
488
|
+
/**
|
|
489
|
+
* The page number to retrieve.
|
|
490
|
+
*/
|
|
491
|
+
page?: number;
|
|
492
|
+
/**
|
|
493
|
+
* The number of items per page.
|
|
494
|
+
*/
|
|
495
|
+
size?: number;
|
|
496
|
+
}
|
|
497
|
+
export interface SearchSourcesRequest {
|
|
498
|
+
/**
|
|
499
|
+
* Domain name for the media source to lookup. This parameter supports wildcard queries, ie. \"*.cnn.com\" will match all subdomains for cnn.com.
|
|
500
|
+
*/
|
|
501
|
+
domain?: Array<string>;
|
|
502
|
+
/**
|
|
503
|
+
* Search by name of source. This parameter supports complex boolean search operators, and also searches the altNames field for alternative names of the source.
|
|
504
|
+
*/
|
|
505
|
+
name?: string;
|
|
506
|
+
/**
|
|
507
|
+
* Find all sources within a sourceGroup. Find Source Groups in the guided part of our documentation...
|
|
508
|
+
*/
|
|
509
|
+
sourceGroup?: string;
|
|
510
|
+
/**
|
|
511
|
+
* Use \'relevance\' to sort by relevance to the query, \'globalRank\' for top ranked sources based on popularity, \'monthlyVisits\' for sources with the largest audience, \'avgMonthlyPosts\' for sources with the highest publishing frequency. Defaults to \'relevance\'.
|
|
512
|
+
*/
|
|
513
|
+
sortBy?: SortBy;
|
|
514
|
+
/**
|
|
515
|
+
* The page number to retrieve.
|
|
516
|
+
*/
|
|
517
|
+
page?: number;
|
|
518
|
+
/**
|
|
519
|
+
* The number of items per page.
|
|
520
|
+
*/
|
|
521
|
+
size?: number;
|
|
522
|
+
/**
|
|
523
|
+
* Filter by popularity. Enter a minimum number of monthly visits that the source must have in order to match your query.
|
|
524
|
+
*/
|
|
525
|
+
minMonthlyVisits?: number;
|
|
526
|
+
/**
|
|
527
|
+
* Enter a maximum number of monthly visits that the source must have in order to match your query.
|
|
528
|
+
*/
|
|
529
|
+
maxMonthlyVisits?: number;
|
|
530
|
+
/**
|
|
531
|
+
* Returns the sources that have at least this number of average monthly posts.
|
|
532
|
+
*/
|
|
533
|
+
minMonthlyPosts?: number;
|
|
534
|
+
/**
|
|
535
|
+
* Returns the sources that have at most this number of average monthly posts.
|
|
536
|
+
*/
|
|
537
|
+
maxMonthlyPosts?: number;
|
|
538
|
+
/**
|
|
539
|
+
* Country code to filter sources by the countries in which they most commonly cover. If multiple parameters are passed, they will be applied as OR operations.
|
|
540
|
+
*/
|
|
541
|
+
country?: Array<string>;
|
|
542
|
+
/**
|
|
543
|
+
* Find all local publications that are located within a given country.
|
|
544
|
+
*/
|
|
545
|
+
sourceCountry?: Array<string>;
|
|
546
|
+
/**
|
|
547
|
+
* Find all local publications that are located within a given state.
|
|
548
|
+
*/
|
|
549
|
+
sourceState?: Array<string>;
|
|
550
|
+
/**
|
|
551
|
+
* Find all local publications that are located within a given county.
|
|
552
|
+
*/
|
|
553
|
+
sourceCounty?: Array<string>;
|
|
554
|
+
/**
|
|
555
|
+
* Find all local publications that are located within a given city.
|
|
556
|
+
*/
|
|
557
|
+
sourceCity?: Array<string>;
|
|
558
|
+
/**
|
|
559
|
+
* Latitude of the center point to search local publications.
|
|
560
|
+
*/
|
|
561
|
+
sourceLat?: number;
|
|
562
|
+
/**
|
|
563
|
+
* Longitude of the center point to search local publications.
|
|
564
|
+
*/
|
|
565
|
+
sourceLon?: number;
|
|
566
|
+
/**
|
|
567
|
+
* Maximum distance from starting point to search local publications.
|
|
568
|
+
*/
|
|
569
|
+
sourceMaxDistance?: number;
|
|
570
|
+
/**
|
|
571
|
+
* Filter by categories. Categories are general themes that the article is about. Examples of categories: Tech, Politics, etc. If multiple parameters are passed, they will be applied as OR operations.
|
|
572
|
+
*/
|
|
573
|
+
category?: Array<string>;
|
|
574
|
+
/**
|
|
575
|
+
* Find sources by topic. For example, searching \'Markets\' will return the sources where \'Markets\' is one of the top 10 topics that they cover.
|
|
576
|
+
*/
|
|
577
|
+
topic?: Array<string>;
|
|
578
|
+
/**
|
|
579
|
+
* Filter sources by label. For example, searching \'Opinion\' will return the sources where \'Opinion\'-type articles is one of the top labels for the articles they publish.
|
|
580
|
+
*/
|
|
581
|
+
label?: Array<string>;
|
|
582
|
+
/**
|
|
583
|
+
* Use \'true\' to find only sources known to have a paywall, or use \'false\' to filter for only sources that do not have a paywall.
|
|
584
|
+
*/
|
|
585
|
+
paywall?: boolean;
|
|
586
|
+
/**
|
|
587
|
+
* Controls whether subdomains are included in the response. When set to true (default), all relevant subdomains of media sources will be returned as separate results. Set to false to consolidate results to parent domains only.
|
|
588
|
+
*/
|
|
589
|
+
showSubdomains?: boolean;
|
|
590
|
+
/**
|
|
591
|
+
* If \'true\', shows accurate number of results matched by the query. By default, the counter is accurate only up to 10,000 results due performance reasons.
|
|
592
|
+
*/
|
|
593
|
+
showNumResults?: boolean;
|
|
594
|
+
}
|
|
595
|
+
export interface SearchStoriesRequest {
|
|
596
|
+
/**
|
|
597
|
+
* Search story by name, summary and key points. Preference is given to the name field. Supports complex query syntax, same way as q parameter from /all endpoint.
|
|
598
|
+
*/
|
|
599
|
+
q?: string;
|
|
600
|
+
/**
|
|
601
|
+
* Search story by name. Supports complex query syntax, same way as q parameter from /all endpoint.
|
|
602
|
+
*/
|
|
603
|
+
name?: string;
|
|
604
|
+
/**
|
|
605
|
+
* Filter to specific story. Passing a cluster ID will filter results to only the content found within the cluster. Multiple params could be passed.
|
|
606
|
+
*/
|
|
607
|
+
clusterId?: Array<string>;
|
|
608
|
+
/**
|
|
609
|
+
* Sort stories by count (\'count\'), total count (\'totalCount\'), creation date (\'createdAt\'), last updated date (\'updatedAt\'), or relevance (\'relevance\'). By default is sorted by \'createdAt\'
|
|
610
|
+
*/
|
|
611
|
+
sortBy?: SortBy;
|
|
612
|
+
/**
|
|
613
|
+
* The page number to retrieve.
|
|
614
|
+
*/
|
|
615
|
+
page?: number;
|
|
616
|
+
/**
|
|
617
|
+
* The number of items per page.
|
|
618
|
+
*/
|
|
619
|
+
size?: number;
|
|
620
|
+
/**
|
|
621
|
+
* \'from\' filter, will search stories created after the specified date, the date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2023-03-01T00:00:00
|
|
622
|
+
*/
|
|
623
|
+
from?: Date;
|
|
624
|
+
/**
|
|
625
|
+
* \'to\' filter, will search stories created before the specified date, the date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2023-03-01T23:59:59
|
|
626
|
+
*/
|
|
627
|
+
to?: Date;
|
|
628
|
+
/**
|
|
629
|
+
* Filter by topics. Each topic is some kind of entity that the article is about. Examples of topics: Markets, Joe Biden, Green Energy, Climate Change, Cryptocurrency, etc. If multiple parameters are passed, they will be applied as OR operations.
|
|
630
|
+
*/
|
|
631
|
+
topic?: Array<string>;
|
|
632
|
+
/**
|
|
633
|
+
* Filter by categories. Categories are general themes that the article is about. Examples of categories: Tech, Politics, etc. If multiple parameters are passed, they will be applied as OR operations. Use \'none\' to search uncategorized articles. More ➜
|
|
634
|
+
*/
|
|
635
|
+
category?: Array<string>;
|
|
636
|
+
/**
|
|
637
|
+
* Filters by Google Content Categories. This field will accept 1 or more categories, must pass the full name of the category. Example: taxonomy=/Finance/Banking/Other, /Finance/Investing/Funds
|
|
638
|
+
*/
|
|
639
|
+
taxonomy?: Array<string>;
|
|
640
|
+
/**
|
|
641
|
+
* Filter stories by sources that wrote articles belonging to this story. At least 1 article is required for story to match. Multiple parameters could be passed.
|
|
642
|
+
*/
|
|
643
|
+
source?: Array<string>;
|
|
644
|
+
/**
|
|
645
|
+
* Filter stories by sources that wrote articles belonging to this story. Source groups are expanded into a list of sources. At least 1 article by the source is required for story to match. Multiple params could be passed.
|
|
646
|
+
*/
|
|
647
|
+
sourceGroup?: Array<string>;
|
|
648
|
+
/**
|
|
649
|
+
* Specifies the minimum number of unique sources required for a story to appear in results. Higher values return more significant stories covered by multiple publications. Default is 3.
|
|
650
|
+
*/
|
|
651
|
+
minUniqueSources?: number;
|
|
652
|
+
/**
|
|
653
|
+
* List of person Wikidata IDs for filtering. Filter is applied on topPeople field.
|
|
654
|
+
*/
|
|
655
|
+
personWikidataId?: Array<string>;
|
|
656
|
+
/**
|
|
657
|
+
* List of people names. Filtering is applied on topPeople field.
|
|
658
|
+
*/
|
|
659
|
+
personName?: string;
|
|
660
|
+
/**
|
|
661
|
+
* List of company IDs for filtering. Filtering is applied to topCompanies field.
|
|
662
|
+
*/
|
|
663
|
+
companyId?: Array<string>;
|
|
664
|
+
/**
|
|
665
|
+
* List of company names for filtering. Filtering is applied on topCompanies field.
|
|
666
|
+
*/
|
|
667
|
+
companyName?: string;
|
|
668
|
+
/**
|
|
669
|
+
* List of company domains for filtering. Filtering is applied on topCompanies field.
|
|
670
|
+
*/
|
|
671
|
+
companyDomain?: Array<string>;
|
|
672
|
+
/**
|
|
673
|
+
* List of company tickers for filtering. Filtering is applied on topCompanies field.
|
|
674
|
+
*/
|
|
675
|
+
companySymbol?: Array<string>;
|
|
676
|
+
/**
|
|
677
|
+
* Country code to filter by country. If multiple parameters are passed, they will be applied as OR operations.
|
|
678
|
+
*/
|
|
679
|
+
country?: Array<string>;
|
|
680
|
+
/**
|
|
681
|
+
* Filter local news by state. Applies only to local news, when this param is passed non-local news will not be returned. If multiple parameters are passed, they will be applied as OR operations.
|
|
682
|
+
*/
|
|
683
|
+
state?: Array<string>;
|
|
684
|
+
/**
|
|
685
|
+
* Filter local news by city. Applies only to local news, when this param is passed non-local news will not be returned. If multiple parameters are passed, they will be applied as OR operations.
|
|
686
|
+
*/
|
|
687
|
+
city?: Array<string>;
|
|
688
|
+
/**
|
|
689
|
+
* Filter local news by area. Applies only to local news, when this param is passed non-local news will not be returned. If multiple parameters are passed, they will be applied as OR operations.
|
|
690
|
+
*/
|
|
691
|
+
area?: Array<string>;
|
|
692
|
+
/**
|
|
693
|
+
* Filter by minimum cluster size. Minimum cluster size filter applies to number of unique articles.
|
|
694
|
+
*/
|
|
695
|
+
minClusterSize?: number;
|
|
696
|
+
/**
|
|
697
|
+
* Filter by maximum cluster size. Maximum cluster size filter applies to number of unique articles in the cluster.
|
|
698
|
+
*/
|
|
699
|
+
maxClusterSize?: number;
|
|
700
|
+
/**
|
|
701
|
+
* Returns stories with name assigned. Defaults to true.
|
|
702
|
+
*/
|
|
703
|
+
nameExists?: boolean;
|
|
704
|
+
/**
|
|
705
|
+
* Filters results with a sentiment score greater than or equal to the specified value, indicating positive sentiment. See the Article Data section in Docs for an explanation of scores.
|
|
706
|
+
*/
|
|
707
|
+
positiveSentimentFrom?: number;
|
|
708
|
+
/**
|
|
709
|
+
* Filters results with a sentiment score less than or equal to the specified value, indicating positive sentiment. See the Article Data section in Docs for an explanation of scores.
|
|
710
|
+
*/
|
|
711
|
+
positiveSentimentTo?: number;
|
|
712
|
+
/**
|
|
713
|
+
* Filters results with a sentiment score greater than or equal to the specified value, indicating neutral sentiment. Explanation of sentimental values can be found in Docs under the Article Data section.
|
|
714
|
+
*/
|
|
715
|
+
neutralSentimentFrom?: number;
|
|
716
|
+
/**
|
|
717
|
+
* Filters results with a sentiment score less than or equal to the specified value, indicating neutral sentiment. See the Article Data section in Docs for an explanation of scores.
|
|
718
|
+
*/
|
|
719
|
+
neutralSentimentTo?: number;
|
|
720
|
+
/**
|
|
721
|
+
* Filters results with a sentiment score greater than or equal to the specified value, indicating negative sentiment. See the Article Data section in Docs for an explanation of scores.
|
|
722
|
+
*/
|
|
723
|
+
negativeSentimentFrom?: number;
|
|
724
|
+
/**
|
|
725
|
+
* Filters results with a sentiment score less than or equal to the specified value, indicating negative sentiment. See the Article Data section in Docs for an explanation of scores.
|
|
726
|
+
*/
|
|
727
|
+
negativeSentimentTo?: number;
|
|
728
|
+
/**
|
|
729
|
+
* \'initializedFrom\' filter, will search stories that became available after provided date
|
|
730
|
+
*/
|
|
731
|
+
initializedFrom?: Date;
|
|
732
|
+
/**
|
|
733
|
+
* \'initializedTo\' filter, will search stories that became available before provided date
|
|
734
|
+
*/
|
|
735
|
+
initializedTo?: Date;
|
|
736
|
+
/**
|
|
737
|
+
* Will return stories with \'updatedAt\' >= \'updatedFrom\'.
|
|
738
|
+
*/
|
|
739
|
+
updatedFrom?: Date;
|
|
740
|
+
/**
|
|
741
|
+
* Will return stories with \'updatedAt\' <= \'updatedTo\'.
|
|
742
|
+
*/
|
|
743
|
+
updatedTo?: Date;
|
|
744
|
+
/**
|
|
745
|
+
* Parameter showStoryPageInfo
|
|
746
|
+
*/
|
|
747
|
+
showStoryPageInfo?: boolean;
|
|
748
|
+
/**
|
|
749
|
+
* Show total number of results. By default set to false, will cap result count at 10000.
|
|
750
|
+
*/
|
|
751
|
+
showNumResults?: boolean;
|
|
752
|
+
/**
|
|
753
|
+
* Stories are deduplicated by default. If a story is deduplicated, all future articles are merged into the original story. duplicateOf field contains the original cluster Id. When showDuplicates=true, all stories are shown.
|
|
754
|
+
*/
|
|
755
|
+
showDuplicates?: boolean;
|
|
756
|
+
/**
|
|
757
|
+
* Excludes specific stories from the results by their unique identifiers. Use this parameter to filter out unwanted or previously seen stories.
|
|
758
|
+
*/
|
|
759
|
+
excludeClusterId?: Array<string>;
|
|
760
|
+
}
|
|
761
|
+
export interface SearchSummarizerRequest {
|
|
762
|
+
/**
|
|
763
|
+
* Parameter summaryBody
|
|
764
|
+
* @required
|
|
765
|
+
*/
|
|
766
|
+
summaryBody: SummaryBody;
|
|
767
|
+
/**
|
|
768
|
+
* Search query, each article will be scored and ranked against it. Articles are searched on the title, description, and content fields.
|
|
769
|
+
*/
|
|
770
|
+
q?: string;
|
|
771
|
+
/**
|
|
772
|
+
* Search article headlines/title field. Semantic similar to q parameter.
|
|
773
|
+
*/
|
|
774
|
+
title?: string;
|
|
775
|
+
/**
|
|
776
|
+
* Search query on the description field. Semantic similar to q parameter.
|
|
777
|
+
*/
|
|
778
|
+
desc?: string;
|
|
779
|
+
/**
|
|
780
|
+
* Search query on the article\'s body of content field. Semantic similar to q parameter.
|
|
781
|
+
*/
|
|
782
|
+
content?: string;
|
|
783
|
+
/**
|
|
784
|
+
* Search query on the url field. Semantic similar to q parameter. E.g. could be used for querying certain website sections, e.g. source=cnn.com&url=travel.
|
|
785
|
+
*/
|
|
786
|
+
url?: string;
|
|
787
|
+
/**
|
|
788
|
+
* Article ID will search for a news article by the ID of the article. If several parameters are passed, all matched articles will be returned.
|
|
789
|
+
*/
|
|
790
|
+
articleId?: Array<string>;
|
|
791
|
+
/**
|
|
792
|
+
* Search for related content using a cluster ID. Passing a cluster ID will filter results to only the content found within the cluster.
|
|
793
|
+
*/
|
|
794
|
+
clusterId?: Array<string>;
|
|
795
|
+
/**
|
|
796
|
+
* \'relevance\' to sort by relevance to the query, \'date\' to sort by the publication date (desc), \'pubDate\' is a synonym to \'date\', \'addDate\' to sort by \'addDate\' field (desc), \'refreshDate\' to sort by \'refreshDate\' field (desc). Defaults to \'relevance\'
|
|
797
|
+
*/
|
|
798
|
+
sortBy?: AllEndpointSortBy;
|
|
799
|
+
/**
|
|
800
|
+
* The page number to retrieve.
|
|
801
|
+
*/
|
|
802
|
+
page?: number;
|
|
803
|
+
/**
|
|
804
|
+
* The number of items per page.
|
|
805
|
+
*/
|
|
806
|
+
size?: number;
|
|
807
|
+
/**
|
|
808
|
+
* \'from\' filter, will search articles published after the specified date, the date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2023-03-01T00:00:00
|
|
809
|
+
*/
|
|
810
|
+
from?: Date;
|
|
811
|
+
/**
|
|
812
|
+
* \'to\' filter, will search articles published before the specified date, the date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2022-02-01T23:59:59
|
|
813
|
+
*/
|
|
814
|
+
to?: Date;
|
|
815
|
+
/**
|
|
816
|
+
* \'addDateFrom\' filter, will search articles added after the specified date, the date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2022-02-01T00:00:00
|
|
817
|
+
*/
|
|
818
|
+
addDateFrom?: Date;
|
|
819
|
+
/**
|
|
820
|
+
* \'addDateTo\' filter, will search articles added before the specified date, the date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2022-02-01T23:59:59
|
|
821
|
+
*/
|
|
822
|
+
addDateTo?: Date;
|
|
823
|
+
/**
|
|
824
|
+
* Will search articles that were refreshed after the specified date. The date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2022-02-01T00:00:00
|
|
825
|
+
*/
|
|
826
|
+
refreshDateFrom?: Date;
|
|
827
|
+
/**
|
|
828
|
+
* Will search articles that were refreshed before the specified date. The date could be passed as ISO or \'yyyy-mm-dd\'. Add time in ISO format, ie. 2022-02-01T23:59:59
|
|
829
|
+
*/
|
|
830
|
+
refreshDateTo?: Date;
|
|
831
|
+
/**
|
|
832
|
+
* Medium will filter out news articles medium, which could be \'Video\' or \'Article\'. If several parameters are passed, all matched articles will be returned.
|
|
833
|
+
*/
|
|
834
|
+
medium?: Array<string>;
|
|
835
|
+
/**
|
|
836
|
+
* Publisher\'s domain can include a subdomain. If multiple parameters are passed, they will be applied as OR operations. Wildcards (* and ?) are suported (e.g. *.cnn.com).
|
|
837
|
+
*/
|
|
838
|
+
source?: Array<string>;
|
|
839
|
+
/**
|
|
840
|
+
* One of the supported source groups. Find Source Groups in the guided part of our documentation...
|
|
841
|
+
*/
|
|
842
|
+
sourceGroup?: Array<string>;
|
|
843
|
+
/**
|
|
844
|
+
* A list of built-in source group names to exclude from the results. The Perigon API categorizes sources into groups (for example, “top10” or “top100”) based on type or popularity. Using this filter allows you to remove articles coming from any source that belongs to one or more of the specified groups.
|
|
845
|
+
*/
|
|
846
|
+
excludeSourceGroup?: Array<string>;
|
|
847
|
+
/**
|
|
848
|
+
* The domain of the website, which should be excluded from the search. Multiple parameters could be provided. Wildcards (* and ?) are suported (e.g. *.cnn.com).
|
|
849
|
+
*/
|
|
850
|
+
excludeSource?: Array<string>;
|
|
851
|
+
/**
|
|
852
|
+
* Filter to show only results where the source has a paywall (true) or does not have a paywall (false).
|
|
853
|
+
*/
|
|
854
|
+
paywall?: boolean;
|
|
855
|
+
/**
|
|
856
|
+
* Author names to filter by. Article author bylines are used as a source field. If multiple parameters are passed, they will be applied as OR operations.
|
|
857
|
+
*/
|
|
858
|
+
byline?: Array<string>;
|
|
859
|
+
/**
|
|
860
|
+
* A list of author names to include. Only articles written by any of the specified authors are returned. This is ideal when you wish to focus on content from particular voices or experts.
|
|
861
|
+
*/
|
|
862
|
+
author?: Array<string>;
|
|
863
|
+
/**
|
|
864
|
+
* A list of author names to exclude from the search results. Any article written by an author whose name matches one in this list will be omitted, which helps to avoid content from certain individuals.
|
|
865
|
+
*/
|
|
866
|
+
excludeAuthor?: Array<string>;
|
|
867
|
+
/**
|
|
868
|
+
* Filter by journalist ID. Journalist IDs are unique journalist identifiers which can be found through the Journalist API, or in the matchedAuthors field.
|
|
869
|
+
*/
|
|
870
|
+
journalistId?: Array<string>;
|
|
871
|
+
/**
|
|
872
|
+
* A list of journalist (or reporter) identifiers to exclude. If an article is written by a journalist whose ID matches any in this list, it will not be part of the result set.
|
|
873
|
+
*/
|
|
874
|
+
excludeJournalistId?: Array<string>;
|
|
875
|
+
/**
|
|
876
|
+
* Language code to filter by language. If multiple parameters are passed, they will be applied as OR operations.
|
|
877
|
+
*/
|
|
878
|
+
language?: Array<string>;
|
|
879
|
+
/**
|
|
880
|
+
* A list of languages to be excluded. Any article published in one of the languages provided in this filter will not be returned. This is useful when you are interested only in news published in specific languages.
|
|
881
|
+
*/
|
|
882
|
+
excludeLanguage?: Array<string>;
|
|
883
|
+
/**
|
|
884
|
+
* Expand a query to search the translation, translatedTitle, and translatedDescription fields for non-English articles.
|
|
885
|
+
*/
|
|
886
|
+
searchTranslation?: boolean;
|
|
887
|
+
/**
|
|
888
|
+
* Labels to filter by, could be \'Opinion\', \'Paid-news\', \'Non-news\', etc. If multiple parameters are passed, they will be applied as OR operations.
|
|
889
|
+
*/
|
|
890
|
+
label?: Array<string>;
|
|
891
|
+
/**
|
|
892
|
+
* Exclude results that include specific labels (Opinion, Non-news, Paid News, etc.). You can filter multiple by repeating the parameter.
|
|
893
|
+
*/
|
|
894
|
+
excludeLabel?: Array<string>;
|
|
895
|
+
/**
|
|
896
|
+
* Filter by categories. Categories are general themes that the article is about. Examples of categories: Tech, Politics, etc. If multiple parameters are passed, they will be applied as OR operations. Use \'none\' to search uncategorized articles.
|
|
897
|
+
*/
|
|
898
|
+
category?: Array<string>;
|
|
899
|
+
/**
|
|
900
|
+
* A list of article categories to be omitted. If an article is tagged with any category present in this list (such as “Polotics”, “Tech”, “Sports”, etc.), it will not appear in the search results.
|
|
901
|
+
*/
|
|
902
|
+
excludeCategory?: Array<string>;
|
|
903
|
+
/**
|
|
904
|
+
* Filters results to include only articles with the specified topics. Topics are more specific classifications than categories, with an article potentially having multiple topics assigned. Perigon uses both human and machine curation to maintain an evolving list of available topics. Common examples include \'Markets\', \'Crime\', \'Cryptocurrency\', \'Social Issues\', \'College Sports\', etc. See the Topics page in Docs for a complete list of available topics.
|
|
905
|
+
*/
|
|
906
|
+
topic?: Array<string>;
|
|
907
|
+
/**
|
|
908
|
+
* Filter by excluding topics. Each topic is some kind of entity that the article is about. Examples of topics: Markets, Joe Biden, Green Energy, Climate Change, Cryptocurrency, etc. If multiple parameters are passed, they will be applied as OR operations.
|
|
909
|
+
*/
|
|
910
|
+
excludeTopic?: Array<string>;
|
|
911
|
+
/**
|
|
912
|
+
* Returns only articles that point to specified links (as determined by the \'links\' field in the article response).
|
|
913
|
+
*/
|
|
914
|
+
linkTo?: string;
|
|
915
|
+
/**
|
|
916
|
+
* Whether to return reprints in the response or not. Reprints are usually wired articles from sources like AP or Reuters that are reprinted in multiple sources at the same time. By default, this parameter is \'true\'.
|
|
917
|
+
*/
|
|
918
|
+
showReprints?: boolean;
|
|
919
|
+
/**
|
|
920
|
+
* Shows all articles belonging to the same reprint group. A reprint group includes one original article (the first one processed by the API) and all its known reprints.
|
|
921
|
+
*/
|
|
922
|
+
reprintGroupId?: string;
|
|
923
|
+
/**
|
|
924
|
+
* Filters articles where a specified city plays a central role in the content, beyond mere mentions, to ensure the results are deeply relevant to the urban area in question. If multiple parameters are passed, they will be applied as OR operations.
|
|
925
|
+
*/
|
|
926
|
+
city?: Array<string>;
|
|
927
|
+
/**
|
|
928
|
+
* A list of cities to exclude from the results. Articles that are associated with any of the specified cities will be filtered out.
|
|
929
|
+
*/
|
|
930
|
+
excludeCity?: Array<string>;
|
|
931
|
+
/**
|
|
932
|
+
* Filters articles where a specified area, such as a neighborhood, borough, or district, plays a central role in the content, beyond mere mentions, to ensure the results are deeply relevant to the area in question. If multiple parameters are passed, they will be applied as OR operations.
|
|
933
|
+
*/
|
|
934
|
+
area?: Array<string>;
|
|
935
|
+
/**
|
|
936
|
+
* Filters articles where a specified state plays a central role in the content, beyond mere mentions, to ensure the results are deeply relevant to the state in question. If multiple parameters are passed, they will be applied as OR operations.
|
|
937
|
+
*/
|
|
938
|
+
state?: Array<string>;
|
|
939
|
+
/**
|
|
940
|
+
* A list of states to exclude. Articles that include, or are associated with, any of the states provided here will be filtered out. This is especially useful if you want to ignore news tied to certain geographical areas (e.g., US states).
|
|
941
|
+
*/
|
|
942
|
+
excludeState?: Array<string>;
|
|
943
|
+
/**
|
|
944
|
+
* A list of counties to include (or specify) in the search results. This field filters the returned articles based on the county associated with the event or news. Only articles tagged with one of these counties will be included.
|
|
945
|
+
*/
|
|
946
|
+
county?: Array<string>;
|
|
947
|
+
/**
|
|
948
|
+
* Excludes articles from specific counties or administrative divisions in the vector search results. Accepts either a single county name or a list of county names. County names should match the format used in article metadata (e.g., \'Los Angeles County\', \'Cook County\'). This parameter allows for more granular geographic filter
|
|
949
|
+
*/
|
|
950
|
+
excludeCounty?: Array<string>;
|
|
951
|
+
/**
|
|
952
|
+
* Filters articles where a specified country plays a central role in the content, beyond mere mentions, to ensure the results are deeply relevant to the country in question. If multiple parameters are passed, they will be applied as OR operations.
|
|
953
|
+
*/
|
|
954
|
+
locationsCountry?: Array<string>;
|
|
955
|
+
/**
|
|
956
|
+
* Country code to filter by country. If multiple parameters are passed, they will be applied as OR operations.
|
|
957
|
+
*/
|
|
958
|
+
country?: Array<string>;
|
|
959
|
+
/**
|
|
960
|
+
* Excludes articles where a specified country plays a central role in the content, ensuring results are not deeply relevant to the country in question. If multiple parameters are passed, they will be applied as AND operations, excluding articles relevant to any of the specified countries.
|
|
961
|
+
*/
|
|
962
|
+
excludeLocationsCountry?: Array<string>;
|
|
963
|
+
/**
|
|
964
|
+
* Return all articles that have the specified location. Location attributes are delimited by \':\' between key and value, and \'::\' between attributes. Example: \'city:New York::state:NY\'.
|
|
965
|
+
*/
|
|
966
|
+
location?: Array<string>;
|
|
967
|
+
/**
|
|
968
|
+
* Latitude of the center point to search places
|
|
969
|
+
*/
|
|
970
|
+
lat?: number;
|
|
971
|
+
/**
|
|
972
|
+
* Longitude of the center point to search places
|
|
973
|
+
*/
|
|
974
|
+
lon?: number;
|
|
975
|
+
/**
|
|
976
|
+
* Maximum distance (in km) from starting point to search articles by tagged places
|
|
977
|
+
*/
|
|
978
|
+
maxDistance?: number;
|
|
979
|
+
/**
|
|
980
|
+
* Find articles published by sources that are located within a given city.
|
|
981
|
+
*/
|
|
982
|
+
sourceCity?: Array<string>;
|
|
983
|
+
/**
|
|
984
|
+
* Find articles published by sources that are located within a given county.
|
|
985
|
+
*/
|
|
986
|
+
sourceCounty?: Array<string>;
|
|
987
|
+
/**
|
|
988
|
+
* Find articles published by sources that are located within a given country. Must be 2 character country code (i.e. us, gb, etc).
|
|
989
|
+
*/
|
|
990
|
+
sourceCountry?: Array<string>;
|
|
991
|
+
/**
|
|
992
|
+
* Find articles published by sources that are located within a given state.
|
|
993
|
+
*/
|
|
994
|
+
sourceState?: Array<string>;
|
|
995
|
+
/**
|
|
996
|
+
* Latitude of the center point to search articles created by local publications.
|
|
997
|
+
*/
|
|
998
|
+
sourceLat?: number;
|
|
999
|
+
/**
|
|
1000
|
+
* Latitude of the center point to search articles created by local publications.
|
|
1001
|
+
*/
|
|
1002
|
+
sourceLon?: number;
|
|
1003
|
+
/**
|
|
1004
|
+
* Maximum distance from starting point to search articles created by local publications.
|
|
1005
|
+
*/
|
|
1006
|
+
sourceMaxDistance?: number;
|
|
1007
|
+
/**
|
|
1008
|
+
* List of person Wikidata IDs for filtering.
|
|
1009
|
+
*/
|
|
1010
|
+
personWikidataId?: Array<string>;
|
|
1011
|
+
/**
|
|
1012
|
+
* A list of Wikidata identifiers for individuals. Articles mentioning persons with any of these Wikidata IDs will be filtered out. This is particularly helpful when using a unique identifier to prevent ambiguity in names.
|
|
1013
|
+
*/
|
|
1014
|
+
excludePersonWikidataId?: Array<string>;
|
|
1015
|
+
/**
|
|
1016
|
+
* List of person names for exact matches. Boolean and complex logic is not supported on this paramter.
|
|
1017
|
+
*/
|
|
1018
|
+
personName?: Array<string>;
|
|
1019
|
+
/**
|
|
1020
|
+
* A list of person names that, when associated with the content, cause the article to be excluded. This filter removes articles related to any individuals whose names match those on the list.
|
|
1021
|
+
*/
|
|
1022
|
+
excludePersonName?: Array<string>;
|
|
1023
|
+
/**
|
|
1024
|
+
* List of company IDs to filter by.
|
|
1025
|
+
*/
|
|
1026
|
+
companyId?: Array<string>;
|
|
1027
|
+
/**
|
|
1028
|
+
* A list of company identifiers. Articles associated with companies that have any of these unique IDs will be filtered out from the returned results, ensuring that certain companies or corporate entities are not included.
|
|
1029
|
+
*/
|
|
1030
|
+
excludeCompanyId?: Array<string>;
|
|
1031
|
+
/**
|
|
1032
|
+
* Search by company name.
|
|
1033
|
+
*/
|
|
1034
|
+
companyName?: string;
|
|
1035
|
+
/**
|
|
1036
|
+
* Search by company domains for filtering. E.g. companyDomain=apple.com.
|
|
1037
|
+
*/
|
|
1038
|
+
companyDomain?: Array<string>;
|
|
1039
|
+
/**
|
|
1040
|
+
* A list of company domains to exclude. If an article is related to a company that uses one of the specified domains (for instance, “example.com”), it will not be returned in the results.
|
|
1041
|
+
*/
|
|
1042
|
+
excludeCompanyDomain?: Array<string>;
|
|
1043
|
+
/**
|
|
1044
|
+
* Search by company symbols.
|
|
1045
|
+
*/
|
|
1046
|
+
companySymbol?: Array<string>;
|
|
1047
|
+
/**
|
|
1048
|
+
* A list of stock symbols (ticker symbols) that identify companies to be excluded. Articles related to companies using any of these symbols will be omitted, which is useful for targeting or avoiding specific public companies.
|
|
1049
|
+
*/
|
|
1050
|
+
excludeCompanySymbol?: Array<string>;
|
|
1051
|
+
/**
|
|
1052
|
+
* Whether to show the total number of all matched articles. Default value is false which makes queries a bit more efficient but also counts up to 10000 articles.
|
|
1053
|
+
*/
|
|
1054
|
+
showNumResults?: boolean;
|
|
1055
|
+
/**
|
|
1056
|
+
* Filters results with a sentiment score greater than or equal to the specified value, indicating positive sentiment. See the Article Data section in Docs for an explanation of scores.
|
|
1057
|
+
*/
|
|
1058
|
+
positiveSentimentFrom?: number;
|
|
1059
|
+
/**
|
|
1060
|
+
* Filters results with a sentiment score less than or equal to the specified value, indicating positive sentiment. See the Article Data section in Docs for an explanation of scores.
|
|
1061
|
+
*/
|
|
1062
|
+
positiveSentimentTo?: number;
|
|
1063
|
+
/**
|
|
1064
|
+
* Filters results with a sentiment score greater than or equal to the specified value, indicating neutral sentiment. Explanation of sentimental values can be found in Docs under the Article Data section.
|
|
1065
|
+
*/
|
|
1066
|
+
neutralSentimentFrom?: number;
|
|
1067
|
+
/**
|
|
1068
|
+
* Filters results with a sentiment score less than or equal to the specified value, indicating neutral sentiment. See the Article Data section in Docs for an explanation of scores.
|
|
1069
|
+
*/
|
|
1070
|
+
neutralSentimentTo?: number;
|
|
1071
|
+
/**
|
|
1072
|
+
* Filters results with a sentiment score greater than or equal to the specified value, indicating negative sentiment. See the Article Data section in Docs for an explanation of scores.
|
|
1073
|
+
*/
|
|
1074
|
+
negativeSentimentFrom?: number;
|
|
1075
|
+
/**
|
|
1076
|
+
* Filters results with a sentiment score less than or equal to the specified value, indicating negative sentiment. See the Article Data section in Docs for an explanation of scores.
|
|
1077
|
+
*/
|
|
1078
|
+
negativeSentimentTo?: number;
|
|
1079
|
+
/**
|
|
1080
|
+
* Filters by Google Content Categories. This field will accept 1 or more categories, must pass the full name of the category. Example: taxonomy=/Finance/Banking/Other, /Finance/Investing/Funds
|
|
1081
|
+
*/
|
|
1082
|
+
taxonomy?: Array<string>;
|
|
1083
|
+
/**
|
|
1084
|
+
* Filters by Google Content Categories. This field will filter by the category prefix only. Example: prefixTaxonomy=/Finance
|
|
1085
|
+
*/
|
|
1086
|
+
prefixTaxonomy?: string;
|
|
1087
|
+
}
|
|
1088
|
+
export interface SearchTopicsRequest {
|
|
1089
|
+
/**
|
|
1090
|
+
* Search by name.
|
|
1091
|
+
*/
|
|
1092
|
+
name?: string;
|
|
1093
|
+
/**
|
|
1094
|
+
* Search by category.
|
|
1095
|
+
*/
|
|
1096
|
+
category?: string;
|
|
1097
|
+
/**
|
|
1098
|
+
* Search by subcategory.
|
|
1099
|
+
*/
|
|
1100
|
+
subcategory?: string;
|
|
1101
|
+
/**
|
|
1102
|
+
* The page number to retrieve.
|
|
1103
|
+
*/
|
|
1104
|
+
page?: number;
|
|
1105
|
+
/**
|
|
1106
|
+
* The number of items per page.
|
|
1107
|
+
*/
|
|
1108
|
+
size?: number;
|
|
1109
|
+
}
|
|
1110
|
+
export interface VectorSearchArticlesRequest {
|
|
1111
|
+
/**
|
|
1112
|
+
* Parameter articleSearchParams
|
|
1113
|
+
* @required
|
|
1114
|
+
*/
|
|
1115
|
+
articleSearchParams: ArticleSearchParams;
|
|
1116
|
+
}
|
|
1117
|
+
/**
|
|
1118
|
+
* V1Api - interface
|
|
1119
|
+
*
|
|
1120
|
+
* @export
|
|
1121
|
+
* @interface V1ApiInterface
|
|
1122
|
+
*/
|
|
1123
|
+
export interface V1ApiInterface {
|
|
1124
|
+
/**
|
|
1125
|
+
* Find additional details on a journalist by using the journalist ID found in an article response object.
|
|
1126
|
+
* @summary Journalists ID
|
|
1127
|
+
* @param requestParameters - Request parameters (see interface for details)
|
|
1128
|
+
* @param initOverrides - Override the default HTTP request configuration
|
|
1129
|
+
* @returns {Promise<runtime.ApiResponse<Journalist>}} Raw API response
|
|
1130
|
+
* @throws {RequiredError}
|
|
1131
|
+
* @memberof V1ApiInterface
|
|
1132
|
+
*/
|
|
1133
|
+
getJournalistByIdRaw(requestParameters: GetJournalistByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Journalist>>;
|
|
1134
|
+
/**
|
|
1135
|
+
* Find additional details on a journalist by using the journalist ID found in an article response object.
|
|
1136
|
+
* Journalists ID
|
|
1137
|
+
*/
|
|
1138
|
+
getJournalistById(requestParameters: GetJournalistByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Journalist>;
|
|
1139
|
+
/**
|
|
1140
|
+
* Search and filter all news articles available via the Perigon API. The result includes a list of individual articles that were matched to your specific criteria.
|
|
1141
|
+
* @summary Articles
|
|
1142
|
+
* @param requestParameters - Request parameters (see interface for details)
|
|
1143
|
+
* @param initOverrides - Override the default HTTP request configuration
|
|
1144
|
+
* @returns {Promise<runtime.ApiResponse<QuerySearchResult>}} Raw API response
|
|
1145
|
+
* @throws {RequiredError}
|
|
1146
|
+
* @memberof V1ApiInterface
|
|
1147
|
+
*/
|
|
1148
|
+
searchArticlesRaw(requestParameters: SearchArticlesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<QuerySearchResult>>;
|
|
1149
|
+
/**
|
|
1150
|
+
* Search and filter all news articles available via the Perigon API. The result includes a list of individual articles that were matched to your specific criteria.
|
|
1151
|
+
* Articles
|
|
1152
|
+
*/
|
|
1153
|
+
searchArticles(requestParameters: SearchArticlesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<QuerySearchResult>;
|
|
1154
|
+
/**
|
|
1155
|
+
* Browse or search for companies Perigon tracks using name, domain, ticker symbol, industry, and more. Supports Boolean search logic and filtering by metadata such as country, exchange, employee count, and IPO date.
|
|
1156
|
+
* @summary Companies
|
|
1157
|
+
* @param requestParameters - Request parameters (see interface for details)
|
|
1158
|
+
* @param initOverrides - Override the default HTTP request configuration
|
|
1159
|
+
* @returns {Promise<runtime.ApiResponse<CompanySearchResult>}} Raw API response
|
|
1160
|
+
* @throws {RequiredError}
|
|
1161
|
+
* @memberof V1ApiInterface
|
|
1162
|
+
*/
|
|
1163
|
+
searchCompaniesRaw(requestParameters: SearchCompaniesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CompanySearchResult>>;
|
|
1164
|
+
/**
|
|
1165
|
+
* Browse or search for companies Perigon tracks using name, domain, ticker symbol, industry, and more. Supports Boolean search logic and filtering by metadata such as country, exchange, employee count, and IPO date.
|
|
1166
|
+
* Companies
|
|
1167
|
+
*/
|
|
1168
|
+
searchCompanies(requestParameters: SearchCompaniesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompanySearchResult>;
|
|
1169
|
+
/**
|
|
1170
|
+
* Search journalists using broad search attributes. Our database contains over 230,000 journalists from around the world and is refreshed frequently.
|
|
1171
|
+
* @summary Journalists
|
|
1172
|
+
* @param requestParameters - Request parameters (see interface for details)
|
|
1173
|
+
* @param initOverrides - Override the default HTTP request configuration
|
|
1174
|
+
* @returns {Promise<runtime.ApiResponse<JournalistSearchResult>}} Raw API response
|
|
1175
|
+
* @throws {RequiredError}
|
|
1176
|
+
* @memberof V1ApiInterface
|
|
1177
|
+
*/
|
|
1178
|
+
searchJournalists1Raw(requestParameters: SearchJournalists1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JournalistSearchResult>>;
|
|
1179
|
+
/**
|
|
1180
|
+
* Search journalists using broad search attributes. Our database contains over 230,000 journalists from around the world and is refreshed frequently.
|
|
1181
|
+
* Journalists
|
|
1182
|
+
*/
|
|
1183
|
+
searchJournalists1(requestParameters: SearchJournalists1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JournalistSearchResult>;
|
|
1184
|
+
/**
|
|
1185
|
+
* Search and retrieve additional information on known persons that exist within Perigon\'s entity database and as referenced in any article response object. Our database contains over 650,000 people from around the world and is refreshed frequently. People data is derived from Wikidata and includes a wikidataId field that can be used to lookup even more information on Wikidata\'s website.
|
|
1186
|
+
* @summary People
|
|
1187
|
+
* @param requestParameters - Request parameters (see interface for details)
|
|
1188
|
+
* @param initOverrides - Override the default HTTP request configuration
|
|
1189
|
+
* @returns {Promise<runtime.ApiResponse<PeopleSearchResult>}} Raw API response
|
|
1190
|
+
* @throws {RequiredError}
|
|
1191
|
+
* @memberof V1ApiInterface
|
|
1192
|
+
*/
|
|
1193
|
+
searchPeopleRaw(requestParameters: SearchPeopleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PeopleSearchResult>>;
|
|
1194
|
+
/**
|
|
1195
|
+
* Search and retrieve additional information on known persons that exist within Perigon\'s entity database and as referenced in any article response object. Our database contains over 650,000 people from around the world and is refreshed frequently. People data is derived from Wikidata and includes a wikidataId field that can be used to lookup even more information on Wikidata\'s website.
|
|
1196
|
+
* People
|
|
1197
|
+
*/
|
|
1198
|
+
searchPeople(requestParameters: SearchPeopleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PeopleSearchResult>;
|
|
1199
|
+
/**
|
|
1200
|
+
* Search and filter the 142,000+ media sources available via the Perigon API. The result includes a list of individual media sources that were matched to your specific criteria.
|
|
1201
|
+
* @summary Sources
|
|
1202
|
+
* @param requestParameters - Request parameters (see interface for details)
|
|
1203
|
+
* @param initOverrides - Override the default HTTP request configuration
|
|
1204
|
+
* @returns {Promise<runtime.ApiResponse<SourceSearchResult>}} Raw API response
|
|
1205
|
+
* @throws {RequiredError}
|
|
1206
|
+
* @memberof V1ApiInterface
|
|
1207
|
+
*/
|
|
1208
|
+
searchSourcesRaw(requestParameters: SearchSourcesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SourceSearchResult>>;
|
|
1209
|
+
/**
|
|
1210
|
+
* Search and filter the 142,000+ media sources available via the Perigon API. The result includes a list of individual media sources that were matched to your specific criteria.
|
|
1211
|
+
* Sources
|
|
1212
|
+
*/
|
|
1213
|
+
searchSources(requestParameters: SearchSourcesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SourceSearchResult>;
|
|
1214
|
+
/**
|
|
1215
|
+
* Search and filter all news stories available via the Perigon API. Each story aggregates key information across related articles, including AI-generated names, summaries, and key points.
|
|
1216
|
+
* @summary Stories
|
|
1217
|
+
* @param requestParameters - Request parameters (see interface for details)
|
|
1218
|
+
* @param initOverrides - Override the default HTTP request configuration
|
|
1219
|
+
* @returns {Promise<runtime.ApiResponse<StorySearchResult>}} Raw API response
|
|
1220
|
+
* @throws {RequiredError}
|
|
1221
|
+
* @memberof V1ApiInterface
|
|
1222
|
+
*/
|
|
1223
|
+
searchStoriesRaw(requestParameters: SearchStoriesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StorySearchResult>>;
|
|
1224
|
+
/**
|
|
1225
|
+
* Search and filter all news stories available via the Perigon API. Each story aggregates key information across related articles, including AI-generated names, summaries, and key points.
|
|
1226
|
+
* Stories
|
|
1227
|
+
*/
|
|
1228
|
+
searchStories(requestParameters: SearchStoriesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StorySearchResult>;
|
|
1229
|
+
/**
|
|
1230
|
+
* Produce a single, concise summary over the full corpus of articles matching your filters, using your prompt to guide which insights to highlight.
|
|
1231
|
+
* @summary Search Summarizer
|
|
1232
|
+
* @param requestParameters - Request parameters (see interface for details)
|
|
1233
|
+
* @param initOverrides - Override the default HTTP request configuration
|
|
1234
|
+
* @returns {Promise<runtime.ApiResponse<SummarySearchResult>}} Raw API response
|
|
1235
|
+
* @throws {RequiredError}
|
|
1236
|
+
* @memberof V1ApiInterface
|
|
1237
|
+
*/
|
|
1238
|
+
searchSummarizerRaw(requestParameters: SearchSummarizerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SummarySearchResult>>;
|
|
1239
|
+
/**
|
|
1240
|
+
* Produce a single, concise summary over the full corpus of articles matching your filters, using your prompt to guide which insights to highlight.
|
|
1241
|
+
* Search Summarizer
|
|
1242
|
+
*/
|
|
1243
|
+
searchSummarizer(requestParameters: SearchSummarizerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SummarySearchResult>;
|
|
1244
|
+
/**
|
|
1245
|
+
* Search through all available Topics that exist within the Perigon Database.
|
|
1246
|
+
* @summary Topics
|
|
1247
|
+
* @param requestParameters - Request parameters (see interface for details)
|
|
1248
|
+
* @param initOverrides - Override the default HTTP request configuration
|
|
1249
|
+
* @returns {Promise<runtime.ApiResponse<TopicSearchResult>}} Raw API response
|
|
1250
|
+
* @throws {RequiredError}
|
|
1251
|
+
* @memberof V1ApiInterface
|
|
1252
|
+
*/
|
|
1253
|
+
searchTopicsRaw(requestParameters: SearchTopicsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TopicSearchResult>>;
|
|
1254
|
+
/**
|
|
1255
|
+
* Search through all available Topics that exist within the Perigon Database.
|
|
1256
|
+
* Topics
|
|
1257
|
+
*/
|
|
1258
|
+
searchTopics(requestParameters: SearchTopicsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TopicSearchResult>;
|
|
1259
|
+
/**
|
|
1260
|
+
* Perform a natural language search over news articles from the past 6 months using semantic relevance. The result includes a list of articles most closely matched to your query intent.
|
|
1261
|
+
* @summary Vector
|
|
1262
|
+
* @param requestParameters - Request parameters (see interface for details)
|
|
1263
|
+
* @param initOverrides - Override the default HTTP request configuration
|
|
1264
|
+
* @returns {Promise<runtime.ApiResponse<VectorSearchResult>}} Raw API response
|
|
1265
|
+
* @throws {RequiredError}
|
|
1266
|
+
* @memberof V1ApiInterface
|
|
1267
|
+
*/
|
|
1268
|
+
vectorSearchArticlesRaw(requestParameters: VectorSearchArticlesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VectorSearchResult>>;
|
|
1269
|
+
/**
|
|
1270
|
+
* Perform a natural language search over news articles from the past 6 months using semantic relevance. The result includes a list of articles most closely matched to your query intent.
|
|
1271
|
+
* Vector
|
|
1272
|
+
*/
|
|
1273
|
+
vectorSearchArticles(requestParameters: VectorSearchArticlesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VectorSearchResult>;
|
|
1274
|
+
}
|
|
1275
|
+
/**
|
|
1276
|
+
*
|
|
1277
|
+
*/
|
|
1278
|
+
export declare class V1Api extends runtime.BaseAPI implements V1ApiInterface {
|
|
1279
|
+
/**
|
|
1280
|
+
* Find additional details on a journalist by using the journalist ID found in an article response object.
|
|
1281
|
+
* Journalists ID
|
|
1282
|
+
*/
|
|
1283
|
+
getJournalistByIdRaw(requestParameters: GetJournalistByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Journalist>>;
|
|
1284
|
+
/**
|
|
1285
|
+
* Find additional details on a journalist by using the journalist ID found in an article response object.
|
|
1286
|
+
* Journalists ID
|
|
1287
|
+
*/
|
|
1288
|
+
getJournalistById(requestParameters: GetJournalistByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Journalist>;
|
|
1289
|
+
/**
|
|
1290
|
+
* Search and filter all news articles available via the Perigon API. The result includes a list of individual articles that were matched to your specific criteria.
|
|
1291
|
+
* Articles
|
|
1292
|
+
*/
|
|
1293
|
+
searchArticlesRaw(requestParameters: SearchArticlesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<QuerySearchResult>>;
|
|
1294
|
+
/**
|
|
1295
|
+
* Search and filter all news articles available via the Perigon API. The result includes a list of individual articles that were matched to your specific criteria.
|
|
1296
|
+
* Articles
|
|
1297
|
+
*/
|
|
1298
|
+
searchArticles(requestParameters?: SearchArticlesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<QuerySearchResult>;
|
|
1299
|
+
/**
|
|
1300
|
+
* Browse or search for companies Perigon tracks using name, domain, ticker symbol, industry, and more. Supports Boolean search logic and filtering by metadata such as country, exchange, employee count, and IPO date.
|
|
1301
|
+
* Companies
|
|
1302
|
+
*/
|
|
1303
|
+
searchCompaniesRaw(requestParameters: SearchCompaniesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CompanySearchResult>>;
|
|
1304
|
+
/**
|
|
1305
|
+
* Browse or search for companies Perigon tracks using name, domain, ticker symbol, industry, and more. Supports Boolean search logic and filtering by metadata such as country, exchange, employee count, and IPO date.
|
|
1306
|
+
* Companies
|
|
1307
|
+
*/
|
|
1308
|
+
searchCompanies(requestParameters?: SearchCompaniesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompanySearchResult>;
|
|
1309
|
+
/**
|
|
1310
|
+
* Search journalists using broad search attributes. Our database contains over 230,000 journalists from around the world and is refreshed frequently.
|
|
1311
|
+
* Journalists
|
|
1312
|
+
*/
|
|
1313
|
+
searchJournalists1Raw(requestParameters: SearchJournalists1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JournalistSearchResult>>;
|
|
1314
|
+
/**
|
|
1315
|
+
* Search journalists using broad search attributes. Our database contains over 230,000 journalists from around the world and is refreshed frequently.
|
|
1316
|
+
* Journalists
|
|
1317
|
+
*/
|
|
1318
|
+
searchJournalists1(requestParameters?: SearchJournalists1Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JournalistSearchResult>;
|
|
1319
|
+
/**
|
|
1320
|
+
* Search and retrieve additional information on known persons that exist within Perigon\'s entity database and as referenced in any article response object. Our database contains over 650,000 people from around the world and is refreshed frequently. People data is derived from Wikidata and includes a wikidataId field that can be used to lookup even more information on Wikidata\'s website.
|
|
1321
|
+
* People
|
|
1322
|
+
*/
|
|
1323
|
+
searchPeopleRaw(requestParameters: SearchPeopleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PeopleSearchResult>>;
|
|
1324
|
+
/**
|
|
1325
|
+
* Search and retrieve additional information on known persons that exist within Perigon\'s entity database and as referenced in any article response object. Our database contains over 650,000 people from around the world and is refreshed frequently. People data is derived from Wikidata and includes a wikidataId field that can be used to lookup even more information on Wikidata\'s website.
|
|
1326
|
+
* People
|
|
1327
|
+
*/
|
|
1328
|
+
searchPeople(requestParameters?: SearchPeopleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PeopleSearchResult>;
|
|
1329
|
+
/**
|
|
1330
|
+
* Search and filter the 142,000+ media sources available via the Perigon API. The result includes a list of individual media sources that were matched to your specific criteria.
|
|
1331
|
+
* Sources
|
|
1332
|
+
*/
|
|
1333
|
+
searchSourcesRaw(requestParameters: SearchSourcesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SourceSearchResult>>;
|
|
1334
|
+
/**
|
|
1335
|
+
* Search and filter the 142,000+ media sources available via the Perigon API. The result includes a list of individual media sources that were matched to your specific criteria.
|
|
1336
|
+
* Sources
|
|
1337
|
+
*/
|
|
1338
|
+
searchSources(requestParameters?: SearchSourcesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SourceSearchResult>;
|
|
1339
|
+
/**
|
|
1340
|
+
* Search and filter all news stories available via the Perigon API. Each story aggregates key information across related articles, including AI-generated names, summaries, and key points.
|
|
1341
|
+
* Stories
|
|
1342
|
+
*/
|
|
1343
|
+
searchStoriesRaw(requestParameters: SearchStoriesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<StorySearchResult>>;
|
|
1344
|
+
/**
|
|
1345
|
+
* Search and filter all news stories available via the Perigon API. Each story aggregates key information across related articles, including AI-generated names, summaries, and key points.
|
|
1346
|
+
* Stories
|
|
1347
|
+
*/
|
|
1348
|
+
searchStories(requestParameters?: SearchStoriesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<StorySearchResult>;
|
|
1349
|
+
/**
|
|
1350
|
+
* Produce a single, concise summary over the full corpus of articles matching your filters, using your prompt to guide which insights to highlight.
|
|
1351
|
+
* Search Summarizer
|
|
1352
|
+
*/
|
|
1353
|
+
searchSummarizerRaw(requestParameters: SearchSummarizerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SummarySearchResult>>;
|
|
1354
|
+
/**
|
|
1355
|
+
* Produce a single, concise summary over the full corpus of articles matching your filters, using your prompt to guide which insights to highlight.
|
|
1356
|
+
* Search Summarizer
|
|
1357
|
+
*/
|
|
1358
|
+
searchSummarizer(requestParameters: SearchSummarizerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SummarySearchResult>;
|
|
1359
|
+
/**
|
|
1360
|
+
* Search through all available Topics that exist within the Perigon Database.
|
|
1361
|
+
* Topics
|
|
1362
|
+
*/
|
|
1363
|
+
searchTopicsRaw(requestParameters: SearchTopicsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TopicSearchResult>>;
|
|
1364
|
+
/**
|
|
1365
|
+
* Search through all available Topics that exist within the Perigon Database.
|
|
1366
|
+
* Topics
|
|
1367
|
+
*/
|
|
1368
|
+
searchTopics(requestParameters?: SearchTopicsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TopicSearchResult>;
|
|
1369
|
+
/**
|
|
1370
|
+
* Perform a natural language search over news articles from the past 6 months using semantic relevance. The result includes a list of articles most closely matched to your query intent.
|
|
1371
|
+
* Vector
|
|
1372
|
+
*/
|
|
1373
|
+
vectorSearchArticlesRaw(requestParameters: VectorSearchArticlesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<VectorSearchResult>>;
|
|
1374
|
+
/**
|
|
1375
|
+
* Perform a natural language search over news articles from the past 6 months using semantic relevance. The result includes a list of articles most closely matched to your query intent.
|
|
1376
|
+
* Vector
|
|
1377
|
+
*/
|
|
1378
|
+
vectorSearchArticles(requestParameters: VectorSearchArticlesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<VectorSearchResult>;
|
|
1379
|
+
}
|
|
1380
|
+
//# sourceMappingURL=V1Api.d.ts.map
|