@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,286 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Perigon API
|
|
3
|
+
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: data@perigon.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { CoordinateFilter } from "./CoordinateFilter";
|
|
13
|
+
/**
|
|
14
|
+
* A versatile filter object to refine search results based on articles, clusters, sources, languages, categories, locations, companies, and people. Supports logical operators (AND, OR, NOT) for complex queries. Accepts single values or arrays, with arrays applied as OR operations.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ArticleSearchFilter
|
|
17
|
+
*/
|
|
18
|
+
export interface ArticleSearchFilter {
|
|
19
|
+
/**
|
|
20
|
+
* Filter by specific article(s). Array of article IDs. For convenience, a single string ID is also accepted.
|
|
21
|
+
* @type {Array<string>}
|
|
22
|
+
* @memberof ArticleSearchFilter
|
|
23
|
+
*/
|
|
24
|
+
articleId?: Array<string> | null;
|
|
25
|
+
/**
|
|
26
|
+
* Filter by specific cluster(s). Accepts either a single string or an array of strings.
|
|
27
|
+
* @type {Array<string>}
|
|
28
|
+
* @memberof ArticleSearchFilter
|
|
29
|
+
*/
|
|
30
|
+
clusterId?: Array<string> | null;
|
|
31
|
+
/**
|
|
32
|
+
* Filter by specific source(s). Accepts either a single string or an array of strings.
|
|
33
|
+
* @type {Array<string>}
|
|
34
|
+
* @memberof ArticleSearchFilter
|
|
35
|
+
*/
|
|
36
|
+
source?: Array<string> | null;
|
|
37
|
+
/**
|
|
38
|
+
* 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).
|
|
39
|
+
* @type {Array<string>}
|
|
40
|
+
* @memberof ArticleSearchFilter
|
|
41
|
+
*/
|
|
42
|
+
excludeSource?: Array<string> | null;
|
|
43
|
+
/**
|
|
44
|
+
* Filter by specific source group, for example: 'top100'. Accepts either a single string or an array of strings.
|
|
45
|
+
* @type {Array<string>}
|
|
46
|
+
* @memberof ArticleSearchFilter
|
|
47
|
+
*/
|
|
48
|
+
sourceGroup?: Array<string> | null;
|
|
49
|
+
/**
|
|
50
|
+
* Language code to filter by language. If an array parameters are passed, they will be applied as OR operations. For example: ['en', 'es']. Language ISO codes must be provided.
|
|
51
|
+
* @type {Array<string>}
|
|
52
|
+
* @memberof ArticleSearchFilter
|
|
53
|
+
*/
|
|
54
|
+
language?: Array<string> | null;
|
|
55
|
+
/**
|
|
56
|
+
* 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.
|
|
57
|
+
* @type {Array<string>}
|
|
58
|
+
* @memberof ArticleSearchFilter
|
|
59
|
+
*/
|
|
60
|
+
excludeLanguage?: Array<string> | null;
|
|
61
|
+
/**
|
|
62
|
+
* Labels to filter by, could be 'Opinion', 'Paid-news', 'Non-news', etc. If multiple parameters are passed, they will be applied as OR operations.
|
|
63
|
+
* @type {Array<string>}
|
|
64
|
+
* @memberof ArticleSearchFilter
|
|
65
|
+
*/
|
|
66
|
+
label?: Array<string> | null;
|
|
67
|
+
/**
|
|
68
|
+
* Exclude results that include specific labels (Opinion, Non-news, Paid News, etc.). You can filter multiple by repeating the parameter.
|
|
69
|
+
* @type {Array<string>}
|
|
70
|
+
* @memberof ArticleSearchFilter
|
|
71
|
+
*/
|
|
72
|
+
excludeLabel?: Array<string> | null;
|
|
73
|
+
/**
|
|
74
|
+
* 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
|
|
75
|
+
* @type {Array<string>}
|
|
76
|
+
* @memberof ArticleSearchFilter
|
|
77
|
+
*/
|
|
78
|
+
taxonomy?: Array<string> | null;
|
|
79
|
+
/**
|
|
80
|
+
* 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.
|
|
81
|
+
* @type {Array<string>}
|
|
82
|
+
* @memberof ArticleSearchFilter
|
|
83
|
+
*/
|
|
84
|
+
category?: Array<string> | null;
|
|
85
|
+
/**
|
|
86
|
+
* 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.
|
|
87
|
+
* @type {Array<string>}
|
|
88
|
+
* @memberof ArticleSearchFilter
|
|
89
|
+
*/
|
|
90
|
+
topic?: Array<string> | null;
|
|
91
|
+
/**
|
|
92
|
+
* 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.
|
|
93
|
+
* @type {Array<string>}
|
|
94
|
+
* @memberof ArticleSearchFilter
|
|
95
|
+
*/
|
|
96
|
+
excludeTopic?: Array<string> | null;
|
|
97
|
+
/**
|
|
98
|
+
* Country code to filter by country. If multiple parameters are passed, they will be applied as OR operations. Only accepts country ISO codes.
|
|
99
|
+
* @type {Array<string>}
|
|
100
|
+
* @memberof ArticleSearchFilter
|
|
101
|
+
*/
|
|
102
|
+
country?: Array<string> | null;
|
|
103
|
+
/**
|
|
104
|
+
* Excludes articles from specific countries in the vector search results. Accepts a list of country codes (e.g., 'US', 'UK', 'CA'). Use this parameter to filter out articles published in countries you don't want to include in your search results. See the Country and Language Support section in the documentation for a full list of supported country codes.
|
|
105
|
+
* @type {Array<string>}
|
|
106
|
+
* @memberof ArticleSearchFilter
|
|
107
|
+
*/
|
|
108
|
+
excludeCountry?: Array<string> | null;
|
|
109
|
+
/**
|
|
110
|
+
* 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. Only accepts country ISO codes.
|
|
111
|
+
* @type {Array<string>}
|
|
112
|
+
* @memberof ArticleSearchFilter
|
|
113
|
+
*/
|
|
114
|
+
locationsCountry?: Array<string> | null;
|
|
115
|
+
/**
|
|
116
|
+
* 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.
|
|
117
|
+
* @type {Array<string>}
|
|
118
|
+
* @memberof ArticleSearchFilter
|
|
119
|
+
*/
|
|
120
|
+
excludeLocationsCountry?: Array<string> | null;
|
|
121
|
+
/**
|
|
122
|
+
* 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. Only accepts state ISO codes.
|
|
123
|
+
* @type {Array<string>}
|
|
124
|
+
* @memberof ArticleSearchFilter
|
|
125
|
+
*/
|
|
126
|
+
state?: Array<string> | null;
|
|
127
|
+
/**
|
|
128
|
+
* 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).
|
|
129
|
+
* @type {Array<string>}
|
|
130
|
+
* @memberof ArticleSearchFilter
|
|
131
|
+
*/
|
|
132
|
+
excludeState?: Array<string> | null;
|
|
133
|
+
/**
|
|
134
|
+
* 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.
|
|
135
|
+
* @type {Array<string>}
|
|
136
|
+
* @memberof ArticleSearchFilter
|
|
137
|
+
*/
|
|
138
|
+
county?: Array<string> | null;
|
|
139
|
+
/**
|
|
140
|
+
* 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
|
|
141
|
+
* @type {Array<string>}
|
|
142
|
+
* @memberof ArticleSearchFilter
|
|
143
|
+
*/
|
|
144
|
+
excludeCounty?: Array<string> | null;
|
|
145
|
+
/**
|
|
146
|
+
* 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.
|
|
147
|
+
* @type {Array<string>}
|
|
148
|
+
* @memberof ArticleSearchFilter
|
|
149
|
+
*/
|
|
150
|
+
city?: Array<string> | null;
|
|
151
|
+
/**
|
|
152
|
+
* A list of cities to exclude from the results. Articles that are associated with any of the specified cities will be filtered out.
|
|
153
|
+
* @type {Array<string>}
|
|
154
|
+
* @memberof ArticleSearchFilter
|
|
155
|
+
*/
|
|
156
|
+
excludeCity?: Array<string> | null;
|
|
157
|
+
/**
|
|
158
|
+
* Find articles published by sources that are located within a given country. Must be 2 character country code (i.e. us, gb, etc).
|
|
159
|
+
* @type {Array<string>}
|
|
160
|
+
* @memberof ArticleSearchFilter
|
|
161
|
+
*/
|
|
162
|
+
sourceCountry?: Array<string> | null;
|
|
163
|
+
/**
|
|
164
|
+
* Find articles published by sources that are located within a given state.
|
|
165
|
+
* @type {Array<string>}
|
|
166
|
+
* @memberof ArticleSearchFilter
|
|
167
|
+
*/
|
|
168
|
+
sourceState?: Array<string> | null;
|
|
169
|
+
/**
|
|
170
|
+
* Find articles published by sources that are located within a given county.
|
|
171
|
+
* @type {Array<string>}
|
|
172
|
+
* @memberof ArticleSearchFilter
|
|
173
|
+
*/
|
|
174
|
+
sourceCounty?: Array<string> | null;
|
|
175
|
+
/**
|
|
176
|
+
* Find articles published by sources that are located within a given city.
|
|
177
|
+
* @type {Array<string>}
|
|
178
|
+
* @memberof ArticleSearchFilter
|
|
179
|
+
*/
|
|
180
|
+
sourceCity?: Array<string> | null;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @type {CoordinateFilter}
|
|
184
|
+
* @memberof ArticleSearchFilter
|
|
185
|
+
*/
|
|
186
|
+
coordinates?: CoordinateFilter;
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @type {CoordinateFilter}
|
|
190
|
+
* @memberof ArticleSearchFilter
|
|
191
|
+
*/
|
|
192
|
+
sourceCoordinates?: CoordinateFilter;
|
|
193
|
+
/**
|
|
194
|
+
* List of company IDs to filter by.
|
|
195
|
+
* @type {Array<string>}
|
|
196
|
+
* @memberof ArticleSearchFilter
|
|
197
|
+
*/
|
|
198
|
+
companyId?: Array<string> | null;
|
|
199
|
+
/**
|
|
200
|
+
* 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.
|
|
201
|
+
* @type {Array<string>}
|
|
202
|
+
* @memberof ArticleSearchFilter
|
|
203
|
+
*/
|
|
204
|
+
excludeCompanyId?: Array<string> | null;
|
|
205
|
+
/**
|
|
206
|
+
* Search by company domains for filtering. E.g. companyDomain=apple.com.
|
|
207
|
+
* @type {Array<string>}
|
|
208
|
+
* @memberof ArticleSearchFilter
|
|
209
|
+
*/
|
|
210
|
+
companyDomain?: Array<string> | null;
|
|
211
|
+
/**
|
|
212
|
+
* 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.
|
|
213
|
+
* @type {Array<string>}
|
|
214
|
+
* @memberof ArticleSearchFilter
|
|
215
|
+
*/
|
|
216
|
+
excludeCompanyDomain?: Array<string> | null;
|
|
217
|
+
/**
|
|
218
|
+
* Search by company symbols.
|
|
219
|
+
* @type {Array<string>}
|
|
220
|
+
* @memberof ArticleSearchFilter
|
|
221
|
+
*/
|
|
222
|
+
companySymbol?: Array<string> | null;
|
|
223
|
+
/**
|
|
224
|
+
* 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.
|
|
225
|
+
* @type {Array<string>}
|
|
226
|
+
* @memberof ArticleSearchFilter
|
|
227
|
+
*/
|
|
228
|
+
excludeCompanySymbol?: Array<string> | null;
|
|
229
|
+
/**
|
|
230
|
+
* Search by company name.
|
|
231
|
+
* @type {Array<string>}
|
|
232
|
+
* @memberof ArticleSearchFilter
|
|
233
|
+
*/
|
|
234
|
+
companyName?: Array<string> | null;
|
|
235
|
+
/**
|
|
236
|
+
* List of person Wikidata IDs for filtering.
|
|
237
|
+
* @type {Array<string>}
|
|
238
|
+
* @memberof ArticleSearchFilter
|
|
239
|
+
*/
|
|
240
|
+
personWikidataId?: Array<string> | null;
|
|
241
|
+
/**
|
|
242
|
+
* 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.
|
|
243
|
+
* @type {Array<string>}
|
|
244
|
+
* @memberof ArticleSearchFilter
|
|
245
|
+
*/
|
|
246
|
+
excludePersonWikidataId?: Array<string> | null;
|
|
247
|
+
/**
|
|
248
|
+
* List of person names for exact matches. Boolean and complex logic is not supported on this filter.
|
|
249
|
+
* @type {Array<string>}
|
|
250
|
+
* @memberof ArticleSearchFilter
|
|
251
|
+
*/
|
|
252
|
+
personName?: Array<string> | null;
|
|
253
|
+
/**
|
|
254
|
+
* 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.
|
|
255
|
+
* @type {Array<string>}
|
|
256
|
+
* @memberof ArticleSearchFilter
|
|
257
|
+
*/
|
|
258
|
+
excludePersonName?: Array<string> | null;
|
|
259
|
+
/**
|
|
260
|
+
* Adds additional AND filter objects. These objects must be of the same type as the original filter object and will be combined with the existing filter using the AND logical operator.
|
|
261
|
+
* @type {Array<ArticleSearchFilter>}
|
|
262
|
+
* @memberof ArticleSearchFilter
|
|
263
|
+
*/
|
|
264
|
+
aND?: Array<ArticleSearchFilter> | null;
|
|
265
|
+
/**
|
|
266
|
+
* Adds additional OR filter objects. These objects must be of the same type as the original filter object and will be combined with the existing filter using the OR logical operator.
|
|
267
|
+
* @type {Array<ArticleSearchFilter>}
|
|
268
|
+
* @memberof ArticleSearchFilter
|
|
269
|
+
*/
|
|
270
|
+
oR?: Array<ArticleSearchFilter> | null;
|
|
271
|
+
/**
|
|
272
|
+
* A filter object for logical NOT operations
|
|
273
|
+
* @type {Array<ArticleSearchFilter>}
|
|
274
|
+
* @memberof ArticleSearchFilter
|
|
275
|
+
*/
|
|
276
|
+
nOT?: Array<ArticleSearchFilter> | null;
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Check if a given object implements the ArticleSearchFilter interface.
|
|
280
|
+
*/
|
|
281
|
+
export declare function instanceOfArticleSearchFilter(value: object): value is ArticleSearchFilter;
|
|
282
|
+
export declare function ArticleSearchFilterFromJSON(json: any): ArticleSearchFilter;
|
|
283
|
+
export declare function ArticleSearchFilterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArticleSearchFilter;
|
|
284
|
+
export declare function ArticleSearchFilterToJSON(json: any): ArticleSearchFilter;
|
|
285
|
+
export declare function ArticleSearchFilterToJSONTyped(value?: ArticleSearchFilter | null, ignoreDiscriminator?: boolean): any;
|
|
286
|
+
//# sourceMappingURL=ArticleSearchFilter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArticleSearchFilter.d.ts","sourceRoot":"","sources":["../../src/models/ArticleSearchFilter.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAQ3D;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACrC;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACnC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACvC;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACtC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACxC;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC/C;;;;OAIG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACrC;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACnC;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACrC;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACnC;;;;OAIG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAClC;;;;OAIG;IACH,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,gBAAgB,CAAC;IACrC;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACxC;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACrC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC5C;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACrC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC5C;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACnC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACxC;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC/C;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAClC;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACzC;;;;OAIG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC;IACxC;;;;OAIG;IACH,EAAE,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC;IACvC;;;;OAIG;IACH,GAAG,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC;CACzC;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,MAAM,GACZ,KAAK,IAAI,mBAAmB,CAE9B;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAC9C,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC3B,mBAAmB,CA2FrB;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAC5C,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAClC,mBAAmB,GAAE,OAAe,GACnC,GAAG,CA2DL"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Perigon API
|
|
6
|
+
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: data@perigon.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfArticleSearchFilter = instanceOfArticleSearchFilter;
|
|
17
|
+
exports.ArticleSearchFilterFromJSON = ArticleSearchFilterFromJSON;
|
|
18
|
+
exports.ArticleSearchFilterFromJSONTyped = ArticleSearchFilterFromJSONTyped;
|
|
19
|
+
exports.ArticleSearchFilterToJSON = ArticleSearchFilterToJSON;
|
|
20
|
+
exports.ArticleSearchFilterToJSONTyped = ArticleSearchFilterToJSONTyped;
|
|
21
|
+
const CoordinateFilter_1 = require("./CoordinateFilter");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ArticleSearchFilter interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfArticleSearchFilter(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ArticleSearchFilterFromJSON(json) {
|
|
29
|
+
return ArticleSearchFilterFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ArticleSearchFilterFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
articleId: json["articleId"] == null ? undefined : json["articleId"],
|
|
37
|
+
clusterId: json["clusterId"] == null ? undefined : json["clusterId"],
|
|
38
|
+
source: json["source"] == null ? undefined : json["source"],
|
|
39
|
+
excludeSource: json["excludeSource"] == null ? undefined : json["excludeSource"],
|
|
40
|
+
sourceGroup: json["sourceGroup"] == null ? undefined : json["sourceGroup"],
|
|
41
|
+
language: json["language"] == null ? undefined : json["language"],
|
|
42
|
+
excludeLanguage: json["excludeLanguage"] == null ? undefined : json["excludeLanguage"],
|
|
43
|
+
label: json["label"] == null ? undefined : json["label"],
|
|
44
|
+
excludeLabel: json["excludeLabel"] == null ? undefined : json["excludeLabel"],
|
|
45
|
+
taxonomy: json["taxonomy"] == null ? undefined : json["taxonomy"],
|
|
46
|
+
category: json["category"] == null ? undefined : json["category"],
|
|
47
|
+
topic: json["topic"] == null ? undefined : json["topic"],
|
|
48
|
+
excludeTopic: json["excludeTopic"] == null ? undefined : json["excludeTopic"],
|
|
49
|
+
country: json["country"] == null ? undefined : json["country"],
|
|
50
|
+
excludeCountry: json["excludeCountry"] == null ? undefined : json["excludeCountry"],
|
|
51
|
+
locationsCountry: json["locationsCountry"] == null ? undefined : json["locationsCountry"],
|
|
52
|
+
excludeLocationsCountry: json["excludeLocationsCountry"] == null
|
|
53
|
+
? undefined
|
|
54
|
+
: json["excludeLocationsCountry"],
|
|
55
|
+
state: json["state"] == null ? undefined : json["state"],
|
|
56
|
+
excludeState: json["excludeState"] == null ? undefined : json["excludeState"],
|
|
57
|
+
county: json["county"] == null ? undefined : json["county"],
|
|
58
|
+
excludeCounty: json["excludeCounty"] == null ? undefined : json["excludeCounty"],
|
|
59
|
+
city: json["city"] == null ? undefined : json["city"],
|
|
60
|
+
excludeCity: json["excludeCity"] == null ? undefined : json["excludeCity"],
|
|
61
|
+
sourceCountry: json["sourceCountry"] == null ? undefined : json["sourceCountry"],
|
|
62
|
+
sourceState: json["sourceState"] == null ? undefined : json["sourceState"],
|
|
63
|
+
sourceCounty: json["sourceCounty"] == null ? undefined : json["sourceCounty"],
|
|
64
|
+
sourceCity: json["sourceCity"] == null ? undefined : json["sourceCity"],
|
|
65
|
+
coordinates: json["coordinates"] == null
|
|
66
|
+
? undefined
|
|
67
|
+
: (0, CoordinateFilter_1.CoordinateFilterFromJSON)(json["coordinates"]),
|
|
68
|
+
sourceCoordinates: json["sourceCoordinates"] == null
|
|
69
|
+
? undefined
|
|
70
|
+
: (0, CoordinateFilter_1.CoordinateFilterFromJSON)(json["sourceCoordinates"]),
|
|
71
|
+
companyId: json["companyId"] == null ? undefined : json["companyId"],
|
|
72
|
+
excludeCompanyId: json["excludeCompanyId"] == null ? undefined : json["excludeCompanyId"],
|
|
73
|
+
companyDomain: json["companyDomain"] == null ? undefined : json["companyDomain"],
|
|
74
|
+
excludeCompanyDomain: json["excludeCompanyDomain"] == null
|
|
75
|
+
? undefined
|
|
76
|
+
: json["excludeCompanyDomain"],
|
|
77
|
+
companySymbol: json["companySymbol"] == null ? undefined : json["companySymbol"],
|
|
78
|
+
excludeCompanySymbol: json["excludeCompanySymbol"] == null
|
|
79
|
+
? undefined
|
|
80
|
+
: json["excludeCompanySymbol"],
|
|
81
|
+
companyName: json["companyName"] == null ? undefined : json["companyName"],
|
|
82
|
+
personWikidataId: json["personWikidataId"] == null ? undefined : json["personWikidataId"],
|
|
83
|
+
excludePersonWikidataId: json["excludePersonWikidataId"] == null
|
|
84
|
+
? undefined
|
|
85
|
+
: json["excludePersonWikidataId"],
|
|
86
|
+
personName: json["personName"] == null ? undefined : json["personName"],
|
|
87
|
+
excludePersonName: json["excludePersonName"] == null ? undefined : json["excludePersonName"],
|
|
88
|
+
aND: json["AND"] == null
|
|
89
|
+
? undefined
|
|
90
|
+
: json["AND"].map(ArticleSearchFilterFromJSON),
|
|
91
|
+
oR: json["OR"] == null
|
|
92
|
+
? undefined
|
|
93
|
+
: json["OR"].map(ArticleSearchFilterFromJSON),
|
|
94
|
+
nOT: json["NOT"] == null
|
|
95
|
+
? undefined
|
|
96
|
+
: json["NOT"].map(ArticleSearchFilterFromJSON),
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
function ArticleSearchFilterToJSON(json) {
|
|
100
|
+
return ArticleSearchFilterToJSONTyped(json, false);
|
|
101
|
+
}
|
|
102
|
+
function ArticleSearchFilterToJSONTyped(value, ignoreDiscriminator = false) {
|
|
103
|
+
if (value == null) {
|
|
104
|
+
return value;
|
|
105
|
+
}
|
|
106
|
+
return {
|
|
107
|
+
articleId: value["articleId"],
|
|
108
|
+
clusterId: value["clusterId"],
|
|
109
|
+
source: value["source"],
|
|
110
|
+
excludeSource: value["excludeSource"],
|
|
111
|
+
sourceGroup: value["sourceGroup"],
|
|
112
|
+
language: value["language"],
|
|
113
|
+
excludeLanguage: value["excludeLanguage"],
|
|
114
|
+
label: value["label"],
|
|
115
|
+
excludeLabel: value["excludeLabel"],
|
|
116
|
+
taxonomy: value["taxonomy"],
|
|
117
|
+
category: value["category"],
|
|
118
|
+
topic: value["topic"],
|
|
119
|
+
excludeTopic: value["excludeTopic"],
|
|
120
|
+
country: value["country"],
|
|
121
|
+
excludeCountry: value["excludeCountry"],
|
|
122
|
+
locationsCountry: value["locationsCountry"],
|
|
123
|
+
excludeLocationsCountry: value["excludeLocationsCountry"],
|
|
124
|
+
state: value["state"],
|
|
125
|
+
excludeState: value["excludeState"],
|
|
126
|
+
county: value["county"],
|
|
127
|
+
excludeCounty: value["excludeCounty"],
|
|
128
|
+
city: value["city"],
|
|
129
|
+
excludeCity: value["excludeCity"],
|
|
130
|
+
sourceCountry: value["sourceCountry"],
|
|
131
|
+
sourceState: value["sourceState"],
|
|
132
|
+
sourceCounty: value["sourceCounty"],
|
|
133
|
+
sourceCity: value["sourceCity"],
|
|
134
|
+
coordinates: (0, CoordinateFilter_1.CoordinateFilterToJSON)(value["coordinates"]),
|
|
135
|
+
sourceCoordinates: (0, CoordinateFilter_1.CoordinateFilterToJSON)(value["sourceCoordinates"]),
|
|
136
|
+
companyId: value["companyId"],
|
|
137
|
+
excludeCompanyId: value["excludeCompanyId"],
|
|
138
|
+
companyDomain: value["companyDomain"],
|
|
139
|
+
excludeCompanyDomain: value["excludeCompanyDomain"],
|
|
140
|
+
companySymbol: value["companySymbol"],
|
|
141
|
+
excludeCompanySymbol: value["excludeCompanySymbol"],
|
|
142
|
+
companyName: value["companyName"],
|
|
143
|
+
personWikidataId: value["personWikidataId"],
|
|
144
|
+
excludePersonWikidataId: value["excludePersonWikidataId"],
|
|
145
|
+
personName: value["personName"],
|
|
146
|
+
excludePersonName: value["excludePersonName"],
|
|
147
|
+
AND: value["aND"] == null
|
|
148
|
+
? undefined
|
|
149
|
+
: value["aND"].map(ArticleSearchFilterToJSON),
|
|
150
|
+
OR: value["oR"] == null
|
|
151
|
+
? undefined
|
|
152
|
+
: value["oR"].map(ArticleSearchFilterToJSON),
|
|
153
|
+
NOT: value["nOT"] == null
|
|
154
|
+
? undefined
|
|
155
|
+
: value["nOT"].map(ArticleSearchFilterToJSON),
|
|
156
|
+
};
|
|
157
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Perigon API
|
|
3
|
+
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: data@perigon.io
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ArticleSearchFilter } from "./ArticleSearchFilter";
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ArticleSearchParams
|
|
17
|
+
*/
|
|
18
|
+
export interface ArticleSearchParams {
|
|
19
|
+
/**
|
|
20
|
+
* Natural language query to search the news articles database
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ArticleSearchParams
|
|
23
|
+
*/
|
|
24
|
+
prompt: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ArticleSearchFilter}
|
|
28
|
+
* @memberof ArticleSearchParams
|
|
29
|
+
*/
|
|
30
|
+
filter?: ArticleSearchFilter;
|
|
31
|
+
/**
|
|
32
|
+
* 'pubDateFrom' filter, will search articles published after the specified date, the date could be passed as ISO or 'yyyy-mm-dd'. Date time in ISO format, ie. 2024-01-01T00:00:00 - Default: Only articles with a pubDate within the last 30 days of the request
|
|
33
|
+
* @type {Date}
|
|
34
|
+
* @memberof ArticleSearchParams
|
|
35
|
+
*/
|
|
36
|
+
pubDateFrom?: Date | null;
|
|
37
|
+
/**
|
|
38
|
+
* 'pubDateFrom' filter, will search articles published before the specified date, the date could be passed as ISO or 'yyyy-mm-dd'. Date time in ISO format, ie. 2024-01-01T00:00:00
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof ArticleSearchParams
|
|
41
|
+
*/
|
|
42
|
+
pubDateTo?: Date | null;
|
|
43
|
+
/**
|
|
44
|
+
* 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'.
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof ArticleSearchParams
|
|
47
|
+
*/
|
|
48
|
+
showReprints?: boolean | null;
|
|
49
|
+
/**
|
|
50
|
+
* The number of items per page.
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof ArticleSearchParams
|
|
53
|
+
*/
|
|
54
|
+
size?: number | null;
|
|
55
|
+
/**
|
|
56
|
+
* The page number to retrieve.
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof ArticleSearchParams
|
|
59
|
+
*/
|
|
60
|
+
page?: number | null;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {Date}
|
|
64
|
+
* @memberof ArticleSearchParams
|
|
65
|
+
*/
|
|
66
|
+
addDateFrom?: Date | null;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {Date}
|
|
70
|
+
* @memberof ArticleSearchParams
|
|
71
|
+
*/
|
|
72
|
+
addDateTo?: Date | null;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {number}
|
|
76
|
+
* @memberof ArticleSearchParams
|
|
77
|
+
*/
|
|
78
|
+
scoreThreshold?: number | null;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Check if a given object implements the ArticleSearchParams interface.
|
|
82
|
+
*/
|
|
83
|
+
export declare function instanceOfArticleSearchParams(value: object): value is ArticleSearchParams;
|
|
84
|
+
export declare function ArticleSearchParamsFromJSON(json: any): ArticleSearchParams;
|
|
85
|
+
export declare function ArticleSearchParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArticleSearchParams;
|
|
86
|
+
export declare function ArticleSearchParamsToJSON(json: any): ArticleSearchParams;
|
|
87
|
+
export declare function ArticleSearchParamsToJSONTyped(value?: ArticleSearchParams | null, ignoreDiscriminator?: boolean): any;
|
|
88
|
+
//# sourceMappingURL=ArticleSearchParams.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArticleSearchParams.d.ts","sourceRoot":"","sources":["../../src/models/ArticleSearchParams.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQjE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B;;;;OAIG;IACH,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,MAAM,GACZ,KAAK,IAAI,mBAAmB,CAG9B;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAC9C,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC3B,mBAAmB,CAyBrB;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAC5C,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAClC,mBAAmB,GAAE,OAAe,GACnC,GAAG,CA6BL"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Perigon API
|
|
6
|
+
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: data@perigon.io
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfArticleSearchParams = instanceOfArticleSearchParams;
|
|
17
|
+
exports.ArticleSearchParamsFromJSON = ArticleSearchParamsFromJSON;
|
|
18
|
+
exports.ArticleSearchParamsFromJSONTyped = ArticleSearchParamsFromJSONTyped;
|
|
19
|
+
exports.ArticleSearchParamsToJSON = ArticleSearchParamsToJSON;
|
|
20
|
+
exports.ArticleSearchParamsToJSONTyped = ArticleSearchParamsToJSONTyped;
|
|
21
|
+
const ArticleSearchFilter_1 = require("./ArticleSearchFilter");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ArticleSearchParams interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfArticleSearchParams(value) {
|
|
26
|
+
if (!("prompt" in value) || value["prompt"] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function ArticleSearchParamsFromJSON(json) {
|
|
31
|
+
return ArticleSearchParamsFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function ArticleSearchParamsFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
prompt: json["prompt"],
|
|
39
|
+
filter: json["filter"] == null
|
|
40
|
+
? undefined
|
|
41
|
+
: (0, ArticleSearchFilter_1.ArticleSearchFilterFromJSON)(json["filter"]),
|
|
42
|
+
pubDateFrom: json["pubDateFrom"] == null ? undefined : new Date(json["pubDateFrom"]),
|
|
43
|
+
pubDateTo: json["pubDateTo"] == null ? undefined : new Date(json["pubDateTo"]),
|
|
44
|
+
showReprints: json["showReprints"] == null ? undefined : json["showReprints"],
|
|
45
|
+
size: json["size"] == null ? undefined : json["size"],
|
|
46
|
+
page: json["page"] == null ? undefined : json["page"],
|
|
47
|
+
addDateFrom: json["addDateFrom"] == null ? undefined : new Date(json["addDateFrom"]),
|
|
48
|
+
addDateTo: json["addDateTo"] == null ? undefined : new Date(json["addDateTo"]),
|
|
49
|
+
scoreThreshold: json["scoreThreshold"] == null ? undefined : json["scoreThreshold"],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function ArticleSearchParamsToJSON(json) {
|
|
53
|
+
return ArticleSearchParamsToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function ArticleSearchParamsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
prompt: value["prompt"],
|
|
61
|
+
filter: (0, ArticleSearchFilter_1.ArticleSearchFilterToJSON)(value["filter"]),
|
|
62
|
+
pubDateFrom: value["pubDateFrom"] == null
|
|
63
|
+
? undefined
|
|
64
|
+
: value["pubDateFrom"].toISOString(),
|
|
65
|
+
pubDateTo: value["pubDateTo"] == null
|
|
66
|
+
? undefined
|
|
67
|
+
: value["pubDateTo"].toISOString(),
|
|
68
|
+
showReprints: value["showReprints"],
|
|
69
|
+
size: value["size"],
|
|
70
|
+
page: value["page"],
|
|
71
|
+
addDateFrom: value["addDateFrom"] == null
|
|
72
|
+
? undefined
|
|
73
|
+
: value["addDateFrom"].toISOString(),
|
|
74
|
+
addDateTo: value["addDateTo"] == null
|
|
75
|
+
? undefined
|
|
76
|
+
: value["addDateTo"].toISOString(),
|
|
77
|
+
scoreThreshold: value["scoreThreshold"],
|
|
78
|
+
};
|
|
79
|
+
}
|