@goperigon/perigon-ts 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -37
- package/dist/index.cjs +3 -0
- package/dist/index.d.ts +6006 -4
- package/dist/index.js +3 -21
- package/package.json +60 -20
- package/dist/apis/V1Api.d.ts +0 -1380
- package/dist/apis/V1Api.d.ts.map +0 -1
- package/dist/apis/V1Api.js +0 -1270
- package/dist/apis/index.d.ts +0 -2
- package/dist/apis/index.d.ts.map +0 -1
- package/dist/apis/index.js +0 -19
- package/dist/esm/apis/V1Api.d.ts +0 -1380
- package/dist/esm/apis/V1Api.d.ts.map +0 -1
- package/dist/esm/apis/V1Api.js +0 -1233
- package/dist/esm/apis/index.d.ts +0 -2
- package/dist/esm/apis/index.d.ts.map +0 -1
- package/dist/esm/apis/index.js +0 -3
- package/dist/esm/index.d.ts +0 -4
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/index.js +0 -5
- package/dist/esm/models/AllEndpointSortBy.d.ts +0 -31
- package/dist/esm/models/AllEndpointSortBy.d.ts.map +0 -1
- package/dist/esm/models/AllEndpointSortBy.js +0 -48
- package/dist/esm/models/Article.d.ts +0 -303
- package/dist/esm/models/Article.d.ts.map +0 -1
- package/dist/esm/models/Article.js +0 -199
- package/dist/esm/models/ArticleSearchFilter.d.ts +0 -286
- package/dist/esm/models/ArticleSearchFilter.d.ts.map +0 -1
- package/dist/esm/models/ArticleSearchFilter.js +0 -150
- package/dist/esm/models/ArticleSearchParams.d.ts +0 -88
- package/dist/esm/models/ArticleSearchParams.d.ts.map +0 -1
- package/dist/esm/models/ArticleSearchParams.js +0 -72
- package/dist/esm/models/AuthException.d.ts +0 -140
- package/dist/esm/models/AuthException.d.ts.map +0 -1
- package/dist/esm/models/AuthException.js +0 -137
- package/dist/esm/models/AuthExceptionCause.d.ts +0 -46
- package/dist/esm/models/AuthExceptionCause.d.ts.map +0 -1
- package/dist/esm/models/AuthExceptionCause.js +0 -50
- package/dist/esm/models/AuthExceptionCauseStackTraceInner.d.ts +0 -75
- package/dist/esm/models/AuthExceptionCauseStackTraceInner.d.ts.map +0 -1
- package/dist/esm/models/AuthExceptionCauseStackTraceInner.js +0 -55
- package/dist/esm/models/AuthExceptionSuppressedInner.d.ts +0 -46
- package/dist/esm/models/AuthExceptionSuppressedInner.d.ts.map +0 -1
- package/dist/esm/models/AuthExceptionSuppressedInner.js +0 -50
- package/dist/esm/models/CategoryHolder.d.ts +0 -33
- package/dist/esm/models/CategoryHolder.d.ts.map +0 -1
- package/dist/esm/models/CategoryHolder.js +0 -41
- package/dist/esm/models/CategoryWithScoreHolder.d.ts +0 -39
- package/dist/esm/models/CategoryWithScoreHolder.d.ts.map +0 -1
- package/dist/esm/models/CategoryWithScoreHolder.js +0 -43
- package/dist/esm/models/Company.d.ts +0 -209
- package/dist/esm/models/Company.d.ts.map +0 -1
- package/dist/esm/models/Company.js +0 -107
- package/dist/esm/models/CompanyCount.d.ts +0 -57
- package/dist/esm/models/CompanyCount.d.ts.map +0 -1
- package/dist/esm/models/CompanyCount.js +0 -49
- package/dist/esm/models/CompanyHolder.d.ts +0 -51
- package/dist/esm/models/CompanyHolder.d.ts.map +0 -1
- package/dist/esm/models/CompanyHolder.js +0 -47
- package/dist/esm/models/CompanySearchResult.d.ts +0 -46
- package/dist/esm/models/CompanySearchResult.d.ts.map +0 -1
- package/dist/esm/models/CompanySearchResult.js +0 -52
- package/dist/esm/models/Coordinate.d.ts +0 -39
- package/dist/esm/models/Coordinate.d.ts.map +0 -1
- package/dist/esm/models/Coordinate.js +0 -43
- package/dist/esm/models/CoordinateFilter.d.ts +0 -45
- package/dist/esm/models/CoordinateFilter.d.ts.map +0 -1
- package/dist/esm/models/CoordinateFilter.js +0 -45
- package/dist/esm/models/EntityHolder.d.ts +0 -45
- package/dist/esm/models/EntityHolder.d.ts.map +0 -1
- package/dist/esm/models/EntityHolder.js +0 -45
- package/dist/esm/models/EventTypeHolder.d.ts +0 -39
- package/dist/esm/models/EventTypeHolder.d.ts.map +0 -1
- package/dist/esm/models/EventTypeHolder.js +0 -43
- package/dist/esm/models/IdNameHolder.d.ts +0 -39
- package/dist/esm/models/IdNameHolder.d.ts.map +0 -1
- package/dist/esm/models/IdNameHolder.js +0 -43
- package/dist/esm/models/IllegalParameterException.d.ts +0 -60
- package/dist/esm/models/IllegalParameterException.d.ts.map +0 -1
- package/dist/esm/models/IllegalParameterException.js +0 -62
- package/dist/esm/models/ImageHolder.d.ts +0 -33
- package/dist/esm/models/ImageHolder.d.ts.map +0 -1
- package/dist/esm/models/ImageHolder.js +0 -41
- package/dist/esm/models/InternalErrorException.d.ts +0 -60
- package/dist/esm/models/InternalErrorException.d.ts.map +0 -1
- package/dist/esm/models/InternalErrorException.js +0 -62
- package/dist/esm/models/InternalErrorExceptionCause.d.ts +0 -46
- package/dist/esm/models/InternalErrorExceptionCause.d.ts.map +0 -1
- package/dist/esm/models/InternalErrorExceptionCause.js +0 -50
- package/dist/esm/models/InternalErrorExceptionCauseStackTraceInner.d.ts +0 -75
- package/dist/esm/models/InternalErrorExceptionCauseStackTraceInner.d.ts.map +0 -1
- package/dist/esm/models/InternalErrorExceptionCauseStackTraceInner.js +0 -55
- package/dist/esm/models/InternalErrorExceptionSuppressedInner.d.ts +0 -46
- package/dist/esm/models/InternalErrorExceptionSuppressedInner.d.ts.map +0 -1
- package/dist/esm/models/InternalErrorExceptionSuppressedInner.js +0 -50
- package/dist/esm/models/Journalist.d.ts +0 -185
- package/dist/esm/models/Journalist.d.ts.map +0 -1
- package/dist/esm/models/Journalist.js +0 -119
- package/dist/esm/models/JournalistSearchResult.d.ts +0 -46
- package/dist/esm/models/JournalistSearchResult.d.ts.map +0 -1
- package/dist/esm/models/JournalistSearchResult.js +0 -52
- package/dist/esm/models/KeyPoint.d.ts +0 -39
- package/dist/esm/models/KeyPoint.d.ts.map +0 -1
- package/dist/esm/models/KeyPoint.js +0 -43
- package/dist/esm/models/KeywordHolder.d.ts +0 -39
- package/dist/esm/models/KeywordHolder.d.ts.map +0 -1
- package/dist/esm/models/KeywordHolder.js +0 -43
- package/dist/esm/models/LabelHolder.d.ts +0 -33
- package/dist/esm/models/LabelHolder.d.ts.map +0 -1
- package/dist/esm/models/LabelHolder.js +0 -41
- package/dist/esm/models/LocationCount.d.ts +0 -57
- package/dist/esm/models/LocationCount.d.ts.map +0 -1
- package/dist/esm/models/LocationCount.js +0 -49
- package/dist/esm/models/LocationHolder.d.ts +0 -57
- package/dist/esm/models/LocationHolder.d.ts.map +0 -1
- package/dist/esm/models/LocationHolder.js +0 -49
- package/dist/esm/models/NameCount.d.ts +0 -39
- package/dist/esm/models/NameCount.d.ts.map +0 -1
- package/dist/esm/models/NameCount.js +0 -43
- package/dist/esm/models/NewsCluster.d.ts +0 -253
- package/dist/esm/models/NewsCluster.d.ts.map +0 -1
- package/dist/esm/models/NewsCluster.js +0 -191
- package/dist/esm/models/NotFoundException.d.ts +0 -60
- package/dist/esm/models/NotFoundException.d.ts.map +0 -1
- package/dist/esm/models/NotFoundException.js +0 -62
- package/dist/esm/models/PeopleSearchResult.d.ts +0 -46
- package/dist/esm/models/PeopleSearchResult.d.ts.map +0 -1
- package/dist/esm/models/PeopleSearchResult.js +0 -52
- package/dist/esm/models/Person.d.ts +0 -116
- package/dist/esm/models/Person.d.ts.map +0 -1
- package/dist/esm/models/Person.js +0 -90
- package/dist/esm/models/PersonCount.d.ts +0 -45
- package/dist/esm/models/PersonCount.d.ts.map +0 -1
- package/dist/esm/models/PersonCount.js +0 -45
- package/dist/esm/models/PersonHolder.d.ts +0 -39
- package/dist/esm/models/PersonHolder.d.ts.map +0 -1
- package/dist/esm/models/PersonHolder.js +0 -43
- package/dist/esm/models/Place.d.ts +0 -118
- package/dist/esm/models/Place.d.ts.map +0 -1
- package/dist/esm/models/Place.js +0 -72
- package/dist/esm/models/QuerySearchResult.d.ts +0 -46
- package/dist/esm/models/QuerySearchResult.d.ts.map +0 -1
- package/dist/esm/models/QuerySearchResult.js +0 -52
- package/dist/esm/models/Question.d.ts +0 -45
- package/dist/esm/models/Question.d.ts.map +0 -1
- package/dist/esm/models/Question.js +0 -45
- package/dist/esm/models/RecordStatHolder.d.ts +0 -39
- package/dist/esm/models/RecordStatHolder.d.ts.map +0 -1
- package/dist/esm/models/RecordStatHolder.js +0 -43
- package/dist/esm/models/ScoredArticle.d.ts +0 -40
- package/dist/esm/models/ScoredArticle.d.ts.map +0 -1
- package/dist/esm/models/ScoredArticle.js +0 -44
- package/dist/esm/models/SentimentHolder.d.ts +0 -45
- package/dist/esm/models/SentimentHolder.d.ts.map +0 -1
- package/dist/esm/models/SentimentHolder.js +0 -45
- package/dist/esm/models/SortBy.d.ts +0 -29
- package/dist/esm/models/SortBy.d.ts.map +0 -1
- package/dist/esm/models/SortBy.js +0 -46
- package/dist/esm/models/Source.d.ts +0 -168
- package/dist/esm/models/Source.d.ts.map +0 -1
- package/dist/esm/models/Source.js +0 -116
- package/dist/esm/models/SourceHolder.d.ts +0 -46
- package/dist/esm/models/SourceHolder.d.ts.map +0 -1
- package/dist/esm/models/SourceHolder.js +0 -48
- package/dist/esm/models/SourceLocation.d.ts +0 -58
- package/dist/esm/models/SourceLocation.d.ts.map +0 -1
- package/dist/esm/models/SourceLocation.js +0 -52
- package/dist/esm/models/SourceSearchResult.d.ts +0 -46
- package/dist/esm/models/SourceSearchResult.d.ts.map +0 -1
- package/dist/esm/models/SourceSearchResult.js +0 -52
- package/dist/esm/models/SourceTopStatHolder.d.ts +0 -39
- package/dist/esm/models/SourceTopStatHolder.d.ts.map +0 -1
- package/dist/esm/models/SourceTopStatHolder.js +0 -43
- package/dist/esm/models/StorySearchResult.d.ts +0 -46
- package/dist/esm/models/StorySearchResult.d.ts.map +0 -1
- package/dist/esm/models/StorySearchResult.js +0 -52
- package/dist/esm/models/SummaryBody.d.ts +0 -111
- package/dist/esm/models/SummaryBody.d.ts.map +0 -1
- package/dist/esm/models/SummaryBody.js +0 -86
- package/dist/esm/models/SummarySearchResult.d.ts +0 -52
- package/dist/esm/models/SummarySearchResult.d.ts.map +0 -1
- package/dist/esm/models/SummarySearchResult.js +0 -56
- package/dist/esm/models/SymbolHolder.d.ts +0 -51
- package/dist/esm/models/SymbolHolder.d.ts.map +0 -1
- package/dist/esm/models/SymbolHolder.js +0 -47
- package/dist/esm/models/TooManyRequestsException.d.ts +0 -140
- package/dist/esm/models/TooManyRequestsException.d.ts.map +0 -1
- package/dist/esm/models/TooManyRequestsException.js +0 -137
- package/dist/esm/models/TooManyRequestsExceptionCause.d.ts +0 -46
- package/dist/esm/models/TooManyRequestsExceptionCause.d.ts.map +0 -1
- package/dist/esm/models/TooManyRequestsExceptionCause.js +0 -50
- package/dist/esm/models/TooManyRequestsExceptionCauseStackTraceInner.d.ts +0 -75
- package/dist/esm/models/TooManyRequestsExceptionCauseStackTraceInner.d.ts.map +0 -1
- package/dist/esm/models/TooManyRequestsExceptionCauseStackTraceInner.js +0 -55
- package/dist/esm/models/TooManyRequestsExceptionSuppressedInner.d.ts +0 -46
- package/dist/esm/models/TooManyRequestsExceptionSuppressedInner.d.ts.map +0 -1
- package/dist/esm/models/TooManyRequestsExceptionSuppressedInner.js +0 -50
- package/dist/esm/models/TopicDto.d.ts +0 -58
- package/dist/esm/models/TopicDto.d.ts.map +0 -1
- package/dist/esm/models/TopicDto.js +0 -54
- package/dist/esm/models/TopicHolder.d.ts +0 -33
- package/dist/esm/models/TopicHolder.d.ts.map +0 -1
- package/dist/esm/models/TopicHolder.js +0 -41
- package/dist/esm/models/TopicLabels.d.ts +0 -39
- package/dist/esm/models/TopicLabels.d.ts.map +0 -1
- package/dist/esm/models/TopicLabels.js +0 -43
- package/dist/esm/models/TopicSearchResult.d.ts +0 -40
- package/dist/esm/models/TopicSearchResult.d.ts.map +0 -1
- package/dist/esm/models/TopicSearchResult.js +0 -48
- package/dist/esm/models/VectorSearchResult.d.ts +0 -40
- package/dist/esm/models/VectorSearchResult.d.ts.map +0 -1
- package/dist/esm/models/VectorSearchResult.js +0 -48
- package/dist/esm/models/WebResources.d.ts +0 -129
- package/dist/esm/models/WebResources.d.ts.map +0 -1
- package/dist/esm/models/WebResources.js +0 -73
- package/dist/esm/models/WikidataDateHolder.d.ts +0 -39
- package/dist/esm/models/WikidataDateHolder.d.ts.map +0 -1
- package/dist/esm/models/WikidataDateHolder.js +0 -43
- package/dist/esm/models/WikidataLabelHolder.d.ts +0 -39
- package/dist/esm/models/WikidataLabelHolder.d.ts.map +0 -1
- package/dist/esm/models/WikidataLabelHolder.js +0 -43
- package/dist/esm/models/WikidataPoliticalPartyHolder.d.ts +0 -52
- package/dist/esm/models/WikidataPoliticalPartyHolder.d.ts.map +0 -1
- package/dist/esm/models/WikidataPoliticalPartyHolder.js +0 -52
- package/dist/esm/models/WikidataPositionHolder.d.ts +0 -59
- package/dist/esm/models/WikidataPositionHolder.d.ts.map +0 -1
- package/dist/esm/models/WikidataPositionHolder.js +0 -57
- package/dist/esm/models/index.d.ts +0 -64
- package/dist/esm/models/index.d.ts.map +0 -1
- package/dist/esm/models/index.js +0 -65
- package/dist/esm/runtime.d.ts +0 -180
- package/dist/esm/runtime.d.ts.map +0 -1
- package/dist/esm/runtime.js +0 -322
- package/dist/index.d.ts.map +0 -1
- package/dist/models/AllEndpointSortBy.d.ts +0 -31
- package/dist/models/AllEndpointSortBy.d.ts.map +0 -1
- package/dist/models/AllEndpointSortBy.js +0 -56
- package/dist/models/Article.d.ts +0 -303
- package/dist/models/Article.d.ts.map +0 -1
- package/dist/models/Article.js +0 -206
- package/dist/models/ArticleSearchFilter.d.ts +0 -286
- package/dist/models/ArticleSearchFilter.d.ts.map +0 -1
- package/dist/models/ArticleSearchFilter.js +0 -157
- package/dist/models/ArticleSearchParams.d.ts +0 -88
- package/dist/models/ArticleSearchParams.d.ts.map +0 -1
- package/dist/models/ArticleSearchParams.js +0 -79
- package/dist/models/AuthException.d.ts +0 -140
- package/dist/models/AuthException.d.ts.map +0 -1
- package/dist/models/AuthException.js +0 -145
- package/dist/models/AuthExceptionCause.d.ts +0 -46
- package/dist/models/AuthExceptionCause.d.ts.map +0 -1
- package/dist/models/AuthExceptionCause.js +0 -57
- package/dist/models/AuthExceptionCauseStackTraceInner.d.ts +0 -75
- package/dist/models/AuthExceptionCauseStackTraceInner.d.ts.map +0 -1
- package/dist/models/AuthExceptionCauseStackTraceInner.js +0 -62
- package/dist/models/AuthExceptionSuppressedInner.d.ts +0 -46
- package/dist/models/AuthExceptionSuppressedInner.d.ts.map +0 -1
- package/dist/models/AuthExceptionSuppressedInner.js +0 -57
- package/dist/models/CategoryHolder.d.ts +0 -33
- package/dist/models/CategoryHolder.d.ts.map +0 -1
- package/dist/models/CategoryHolder.js +0 -48
- package/dist/models/CategoryWithScoreHolder.d.ts +0 -39
- package/dist/models/CategoryWithScoreHolder.d.ts.map +0 -1
- package/dist/models/CategoryWithScoreHolder.js +0 -50
- package/dist/models/Company.d.ts +0 -209
- package/dist/models/Company.d.ts.map +0 -1
- package/dist/models/Company.js +0 -114
- package/dist/models/CompanyCount.d.ts +0 -57
- package/dist/models/CompanyCount.d.ts.map +0 -1
- package/dist/models/CompanyCount.js +0 -56
- package/dist/models/CompanyHolder.d.ts +0 -51
- package/dist/models/CompanyHolder.d.ts.map +0 -1
- package/dist/models/CompanyHolder.js +0 -54
- package/dist/models/CompanySearchResult.d.ts +0 -46
- package/dist/models/CompanySearchResult.d.ts.map +0 -1
- package/dist/models/CompanySearchResult.js +0 -59
- package/dist/models/Coordinate.d.ts +0 -39
- package/dist/models/Coordinate.d.ts.map +0 -1
- package/dist/models/Coordinate.js +0 -50
- package/dist/models/CoordinateFilter.d.ts +0 -45
- package/dist/models/CoordinateFilter.d.ts.map +0 -1
- package/dist/models/CoordinateFilter.js +0 -52
- package/dist/models/EntityHolder.d.ts +0 -45
- package/dist/models/EntityHolder.d.ts.map +0 -1
- package/dist/models/EntityHolder.js +0 -52
- package/dist/models/EventTypeHolder.d.ts +0 -39
- package/dist/models/EventTypeHolder.d.ts.map +0 -1
- package/dist/models/EventTypeHolder.js +0 -50
- package/dist/models/IdNameHolder.d.ts +0 -39
- package/dist/models/IdNameHolder.d.ts.map +0 -1
- package/dist/models/IdNameHolder.js +0 -50
- package/dist/models/IllegalParameterException.d.ts +0 -60
- package/dist/models/IllegalParameterException.d.ts.map +0 -1
- package/dist/models/IllegalParameterException.js +0 -69
- package/dist/models/ImageHolder.d.ts +0 -33
- package/dist/models/ImageHolder.d.ts.map +0 -1
- package/dist/models/ImageHolder.js +0 -48
- package/dist/models/InternalErrorException.d.ts +0 -60
- package/dist/models/InternalErrorException.d.ts.map +0 -1
- package/dist/models/InternalErrorException.js +0 -69
- package/dist/models/InternalErrorExceptionCause.d.ts +0 -46
- package/dist/models/InternalErrorExceptionCause.d.ts.map +0 -1
- package/dist/models/InternalErrorExceptionCause.js +0 -57
- package/dist/models/InternalErrorExceptionCauseStackTraceInner.d.ts +0 -75
- package/dist/models/InternalErrorExceptionCauseStackTraceInner.d.ts.map +0 -1
- package/dist/models/InternalErrorExceptionCauseStackTraceInner.js +0 -62
- package/dist/models/InternalErrorExceptionSuppressedInner.d.ts +0 -46
- package/dist/models/InternalErrorExceptionSuppressedInner.d.ts.map +0 -1
- package/dist/models/InternalErrorExceptionSuppressedInner.js +0 -57
- package/dist/models/Journalist.d.ts +0 -185
- package/dist/models/Journalist.d.ts.map +0 -1
- package/dist/models/Journalist.js +0 -126
- package/dist/models/JournalistSearchResult.d.ts +0 -46
- package/dist/models/JournalistSearchResult.d.ts.map +0 -1
- package/dist/models/JournalistSearchResult.js +0 -59
- package/dist/models/KeyPoint.d.ts +0 -39
- package/dist/models/KeyPoint.d.ts.map +0 -1
- package/dist/models/KeyPoint.js +0 -50
- package/dist/models/KeywordHolder.d.ts +0 -39
- package/dist/models/KeywordHolder.d.ts.map +0 -1
- package/dist/models/KeywordHolder.js +0 -50
- package/dist/models/LabelHolder.d.ts +0 -33
- package/dist/models/LabelHolder.d.ts.map +0 -1
- package/dist/models/LabelHolder.js +0 -48
- package/dist/models/LocationCount.d.ts +0 -57
- package/dist/models/LocationCount.d.ts.map +0 -1
- package/dist/models/LocationCount.js +0 -56
- package/dist/models/LocationHolder.d.ts +0 -57
- package/dist/models/LocationHolder.d.ts.map +0 -1
- package/dist/models/LocationHolder.js +0 -56
- package/dist/models/NameCount.d.ts +0 -39
- package/dist/models/NameCount.d.ts.map +0 -1
- package/dist/models/NameCount.js +0 -50
- package/dist/models/NewsCluster.d.ts +0 -253
- package/dist/models/NewsCluster.d.ts.map +0 -1
- package/dist/models/NewsCluster.js +0 -198
- package/dist/models/NotFoundException.d.ts +0 -60
- package/dist/models/NotFoundException.d.ts.map +0 -1
- package/dist/models/NotFoundException.js +0 -69
- package/dist/models/PeopleSearchResult.d.ts +0 -46
- package/dist/models/PeopleSearchResult.d.ts.map +0 -1
- package/dist/models/PeopleSearchResult.js +0 -59
- package/dist/models/Person.d.ts +0 -116
- package/dist/models/Person.d.ts.map +0 -1
- package/dist/models/Person.js +0 -97
- package/dist/models/PersonCount.d.ts +0 -45
- package/dist/models/PersonCount.d.ts.map +0 -1
- package/dist/models/PersonCount.js +0 -52
- package/dist/models/PersonHolder.d.ts +0 -39
- package/dist/models/PersonHolder.d.ts.map +0 -1
- package/dist/models/PersonHolder.js +0 -50
- package/dist/models/Place.d.ts +0 -118
- package/dist/models/Place.d.ts.map +0 -1
- package/dist/models/Place.js +0 -79
- package/dist/models/QuerySearchResult.d.ts +0 -46
- package/dist/models/QuerySearchResult.d.ts.map +0 -1
- package/dist/models/QuerySearchResult.js +0 -59
- package/dist/models/Question.d.ts +0 -45
- package/dist/models/Question.d.ts.map +0 -1
- package/dist/models/Question.js +0 -52
- package/dist/models/RecordStatHolder.d.ts +0 -39
- package/dist/models/RecordStatHolder.d.ts.map +0 -1
- package/dist/models/RecordStatHolder.js +0 -50
- package/dist/models/ScoredArticle.d.ts +0 -40
- package/dist/models/ScoredArticle.d.ts.map +0 -1
- package/dist/models/ScoredArticle.js +0 -51
- package/dist/models/SentimentHolder.d.ts +0 -45
- package/dist/models/SentimentHolder.d.ts.map +0 -1
- package/dist/models/SentimentHolder.js +0 -52
- package/dist/models/SortBy.d.ts +0 -29
- package/dist/models/SortBy.d.ts.map +0 -1
- package/dist/models/SortBy.js +0 -54
- package/dist/models/Source.d.ts +0 -168
- package/dist/models/Source.d.ts.map +0 -1
- package/dist/models/Source.js +0 -123
- package/dist/models/SourceHolder.d.ts +0 -46
- package/dist/models/SourceHolder.d.ts.map +0 -1
- package/dist/models/SourceHolder.js +0 -55
- package/dist/models/SourceLocation.d.ts +0 -58
- package/dist/models/SourceLocation.d.ts.map +0 -1
- package/dist/models/SourceLocation.js +0 -59
- package/dist/models/SourceSearchResult.d.ts +0 -46
- package/dist/models/SourceSearchResult.d.ts.map +0 -1
- package/dist/models/SourceSearchResult.js +0 -59
- package/dist/models/SourceTopStatHolder.d.ts +0 -39
- package/dist/models/SourceTopStatHolder.d.ts.map +0 -1
- package/dist/models/SourceTopStatHolder.js +0 -50
- package/dist/models/StorySearchResult.d.ts +0 -46
- package/dist/models/StorySearchResult.d.ts.map +0 -1
- package/dist/models/StorySearchResult.js +0 -59
- package/dist/models/SummaryBody.d.ts +0 -111
- package/dist/models/SummaryBody.d.ts.map +0 -1
- package/dist/models/SummaryBody.js +0 -94
- package/dist/models/SummarySearchResult.d.ts +0 -52
- package/dist/models/SummarySearchResult.d.ts.map +0 -1
- package/dist/models/SummarySearchResult.js +0 -63
- package/dist/models/SymbolHolder.d.ts +0 -51
- package/dist/models/SymbolHolder.d.ts.map +0 -1
- package/dist/models/SymbolHolder.js +0 -54
- package/dist/models/TooManyRequestsException.d.ts +0 -140
- package/dist/models/TooManyRequestsException.d.ts.map +0 -1
- package/dist/models/TooManyRequestsException.js +0 -145
- package/dist/models/TooManyRequestsExceptionCause.d.ts +0 -46
- package/dist/models/TooManyRequestsExceptionCause.d.ts.map +0 -1
- package/dist/models/TooManyRequestsExceptionCause.js +0 -57
- package/dist/models/TooManyRequestsExceptionCauseStackTraceInner.d.ts +0 -75
- package/dist/models/TooManyRequestsExceptionCauseStackTraceInner.d.ts.map +0 -1
- package/dist/models/TooManyRequestsExceptionCauseStackTraceInner.js +0 -62
- package/dist/models/TooManyRequestsExceptionSuppressedInner.d.ts +0 -46
- package/dist/models/TooManyRequestsExceptionSuppressedInner.d.ts.map +0 -1
- package/dist/models/TooManyRequestsExceptionSuppressedInner.js +0 -57
- package/dist/models/TopicDto.d.ts +0 -58
- package/dist/models/TopicDto.d.ts.map +0 -1
- package/dist/models/TopicDto.js +0 -61
- package/dist/models/TopicHolder.d.ts +0 -33
- package/dist/models/TopicHolder.d.ts.map +0 -1
- package/dist/models/TopicHolder.js +0 -48
- package/dist/models/TopicLabels.d.ts +0 -39
- package/dist/models/TopicLabels.d.ts.map +0 -1
- package/dist/models/TopicLabels.js +0 -50
- package/dist/models/TopicSearchResult.d.ts +0 -40
- package/dist/models/TopicSearchResult.d.ts.map +0 -1
- package/dist/models/TopicSearchResult.js +0 -55
- package/dist/models/VectorSearchResult.d.ts +0 -40
- package/dist/models/VectorSearchResult.d.ts.map +0 -1
- package/dist/models/VectorSearchResult.js +0 -55
- package/dist/models/WebResources.d.ts +0 -129
- package/dist/models/WebResources.d.ts.map +0 -1
- package/dist/models/WebResources.js +0 -80
- package/dist/models/WikidataDateHolder.d.ts +0 -39
- package/dist/models/WikidataDateHolder.d.ts.map +0 -1
- package/dist/models/WikidataDateHolder.js +0 -50
- package/dist/models/WikidataLabelHolder.d.ts +0 -39
- package/dist/models/WikidataLabelHolder.d.ts.map +0 -1
- package/dist/models/WikidataLabelHolder.js +0 -50
- package/dist/models/WikidataPoliticalPartyHolder.d.ts +0 -52
- package/dist/models/WikidataPoliticalPartyHolder.d.ts.map +0 -1
- package/dist/models/WikidataPoliticalPartyHolder.js +0 -59
- package/dist/models/WikidataPositionHolder.d.ts +0 -59
- package/dist/models/WikidataPositionHolder.d.ts.map +0 -1
- package/dist/models/WikidataPositionHolder.js +0 -64
- package/dist/models/index.d.ts +0 -64
- package/dist/models/index.d.ts.map +0 -1
- package/dist/models/index.js +0 -81
- package/dist/runtime.d.ts +0 -180
- package/dist/runtime.d.ts.map +0 -1
- package/dist/runtime.js +0 -338
package/dist/runtime.js
DELETED
|
@@ -1,338 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Perigon API
|
|
6
|
-
* The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact: data@perigon.io
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.TextApiResponse = exports.BlobApiResponse = exports.VoidApiResponse = exports.JSONApiResponse = exports.COLLECTION_FORMATS = exports.RequiredError = exports.FetchError = exports.ResponseError = exports.BaseAPI = exports.DefaultConfig = exports.Configuration = exports.BASE_PATH = void 0;
|
|
26
|
-
exports.querystring = querystring;
|
|
27
|
-
exports.exists = exists;
|
|
28
|
-
exports.mapValues = mapValues;
|
|
29
|
-
exports.canConsumeForm = canConsumeForm;
|
|
30
|
-
exports.BASE_PATH = "https://api.perigon.io".replace(/\/+$/, "");
|
|
31
|
-
class Configuration {
|
|
32
|
-
constructor(configuration = {}) {
|
|
33
|
-
this.configuration = configuration;
|
|
34
|
-
}
|
|
35
|
-
set config(configuration) {
|
|
36
|
-
this.configuration = configuration;
|
|
37
|
-
}
|
|
38
|
-
get basePath() {
|
|
39
|
-
var _a;
|
|
40
|
-
return (_a = this.configuration.basePath) !== null && _a !== void 0 ? _a : exports.BASE_PATH;
|
|
41
|
-
}
|
|
42
|
-
get fetchApi() {
|
|
43
|
-
return this.configuration.fetchApi;
|
|
44
|
-
}
|
|
45
|
-
get middleware() {
|
|
46
|
-
return this.configuration.middleware || [];
|
|
47
|
-
}
|
|
48
|
-
get queryParamsStringify() {
|
|
49
|
-
return this.configuration.queryParamsStringify || querystring;
|
|
50
|
-
}
|
|
51
|
-
/* ---------- bearer / oauth2 - */
|
|
52
|
-
get accessToken() {
|
|
53
|
-
const t = this.configuration.apiKey;
|
|
54
|
-
return t ? (typeof t === "function" ? t : () => __awaiter(this, void 0, void 0, function* () { return t; })) : undefined;
|
|
55
|
-
}
|
|
56
|
-
get headers() {
|
|
57
|
-
return this.configuration.headers;
|
|
58
|
-
}
|
|
59
|
-
get credentials() {
|
|
60
|
-
return this.configuration.credentials;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
exports.Configuration = Configuration;
|
|
64
|
-
exports.DefaultConfig = new Configuration();
|
|
65
|
-
/**
|
|
66
|
-
* This is the base class for all generated API classes.
|
|
67
|
-
*/
|
|
68
|
-
class BaseAPI {
|
|
69
|
-
constructor(configuration = exports.DefaultConfig) {
|
|
70
|
-
this.configuration = configuration;
|
|
71
|
-
this.fetchApi = (url, init) => __awaiter(this, void 0, void 0, function* () {
|
|
72
|
-
let fetchParams = { url, init };
|
|
73
|
-
for (const middleware of this.middleware) {
|
|
74
|
-
if (middleware.pre) {
|
|
75
|
-
fetchParams =
|
|
76
|
-
(yield middleware.pre(Object.assign({ fetch: this.fetchApi }, fetchParams))) || fetchParams;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
let response = undefined;
|
|
80
|
-
try {
|
|
81
|
-
response = yield (this.configuration.fetchApi || fetch)(fetchParams.url, fetchParams.init);
|
|
82
|
-
}
|
|
83
|
-
catch (e) {
|
|
84
|
-
for (const middleware of this.middleware) {
|
|
85
|
-
if (middleware.onError) {
|
|
86
|
-
response =
|
|
87
|
-
(yield middleware.onError({
|
|
88
|
-
fetch: this.fetchApi,
|
|
89
|
-
url: fetchParams.url,
|
|
90
|
-
init: fetchParams.init,
|
|
91
|
-
error: e,
|
|
92
|
-
response: response ? response.clone() : undefined,
|
|
93
|
-
})) || response;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
if (response === undefined) {
|
|
97
|
-
if (e instanceof Error) {
|
|
98
|
-
throw new FetchError(e, "The request failed and the interceptors did not return an alternative response");
|
|
99
|
-
}
|
|
100
|
-
else {
|
|
101
|
-
throw e;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
for (const middleware of this.middleware) {
|
|
106
|
-
if (middleware.post) {
|
|
107
|
-
response =
|
|
108
|
-
(yield middleware.post({
|
|
109
|
-
fetch: this.fetchApi,
|
|
110
|
-
url: fetchParams.url,
|
|
111
|
-
init: fetchParams.init,
|
|
112
|
-
response: response.clone(),
|
|
113
|
-
})) || response;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
return response;
|
|
117
|
-
});
|
|
118
|
-
this.middleware = configuration.middleware;
|
|
119
|
-
}
|
|
120
|
-
withMiddleware(...middlewares) {
|
|
121
|
-
const next = this.clone();
|
|
122
|
-
next.middleware = next.middleware.concat(...middlewares);
|
|
123
|
-
return next;
|
|
124
|
-
}
|
|
125
|
-
withPreMiddleware(...preMiddlewares) {
|
|
126
|
-
const middlewares = preMiddlewares.map((pre) => ({ pre }));
|
|
127
|
-
return this.withMiddleware(...middlewares);
|
|
128
|
-
}
|
|
129
|
-
withPostMiddleware(...postMiddlewares) {
|
|
130
|
-
const middlewares = postMiddlewares.map((post) => ({ post }));
|
|
131
|
-
return this.withMiddleware(...middlewares);
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* Check if the given MIME is a JSON MIME.
|
|
135
|
-
* JSON MIME examples:
|
|
136
|
-
* application/json
|
|
137
|
-
* application/json; charset=UTF8
|
|
138
|
-
* APPLICATION/JSON
|
|
139
|
-
* application/vnd.company+json
|
|
140
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
141
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
142
|
-
*/
|
|
143
|
-
isJsonMime(mime) {
|
|
144
|
-
if (!mime) {
|
|
145
|
-
return false;
|
|
146
|
-
}
|
|
147
|
-
return BaseAPI.jsonRegex.test(mime);
|
|
148
|
-
}
|
|
149
|
-
request(context, initOverrides) {
|
|
150
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
151
|
-
const { url, init } = yield this.createFetchParams(context, initOverrides);
|
|
152
|
-
const response = yield this.fetchApi(url, init);
|
|
153
|
-
if (response && response.status >= 200 && response.status < 300) {
|
|
154
|
-
return response;
|
|
155
|
-
}
|
|
156
|
-
throw new ResponseError(response, "Response returned an error code");
|
|
157
|
-
});
|
|
158
|
-
}
|
|
159
|
-
createFetchParams(context, initOverrides) {
|
|
160
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
161
|
-
let url = this.configuration.basePath + context.path;
|
|
162
|
-
if (context.query !== undefined &&
|
|
163
|
-
Object.keys(context.query).length !== 0) {
|
|
164
|
-
// only add the querystring to the URL if there are query parameters.
|
|
165
|
-
// this is done to avoid urls ending with a "?" character which buggy webservers
|
|
166
|
-
// do not handle correctly sometimes.
|
|
167
|
-
url += "?" + this.configuration.queryParamsStringify(context.query);
|
|
168
|
-
}
|
|
169
|
-
const headers = Object.assign({}, this.configuration.headers, context.headers);
|
|
170
|
-
Object.keys(headers).forEach((key) => headers[key] === undefined ? delete headers[key] : {});
|
|
171
|
-
const initOverrideFn = typeof initOverrides === "function"
|
|
172
|
-
? initOverrides
|
|
173
|
-
: () => __awaiter(this, void 0, void 0, function* () { return initOverrides; });
|
|
174
|
-
const initParams = {
|
|
175
|
-
method: context.method,
|
|
176
|
-
headers,
|
|
177
|
-
body: context.body,
|
|
178
|
-
credentials: this.configuration.credentials,
|
|
179
|
-
};
|
|
180
|
-
const overriddenInit = Object.assign(Object.assign({}, initParams), (yield initOverrideFn({
|
|
181
|
-
init: initParams,
|
|
182
|
-
context,
|
|
183
|
-
})));
|
|
184
|
-
let body;
|
|
185
|
-
if (isFormData(overriddenInit.body) ||
|
|
186
|
-
overriddenInit.body instanceof URLSearchParams ||
|
|
187
|
-
isBlob(overriddenInit.body)) {
|
|
188
|
-
body = overriddenInit.body;
|
|
189
|
-
}
|
|
190
|
-
else if (this.isJsonMime(headers["Content-Type"])) {
|
|
191
|
-
body = JSON.stringify(overriddenInit.body);
|
|
192
|
-
}
|
|
193
|
-
else {
|
|
194
|
-
body = overriddenInit.body;
|
|
195
|
-
}
|
|
196
|
-
const init = Object.assign(Object.assign({}, overriddenInit), { body });
|
|
197
|
-
return { url, init };
|
|
198
|
-
});
|
|
199
|
-
}
|
|
200
|
-
/**
|
|
201
|
-
* Create a shallow clone of `this` by constructing a new instance
|
|
202
|
-
* and then shallow cloning data members.
|
|
203
|
-
*/
|
|
204
|
-
clone() {
|
|
205
|
-
const constructor = this.constructor;
|
|
206
|
-
const next = new constructor(this.configuration);
|
|
207
|
-
next.middleware = this.middleware.slice();
|
|
208
|
-
return next;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
exports.BaseAPI = BaseAPI;
|
|
212
|
-
BaseAPI.jsonRegex = new RegExp("^(:?application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$", "i");
|
|
213
|
-
function isBlob(value) {
|
|
214
|
-
return typeof Blob !== "undefined" && value instanceof Blob;
|
|
215
|
-
}
|
|
216
|
-
function isFormData(value) {
|
|
217
|
-
return typeof FormData !== "undefined" && value instanceof FormData;
|
|
218
|
-
}
|
|
219
|
-
class ResponseError extends Error {
|
|
220
|
-
constructor(response, msg) {
|
|
221
|
-
super(msg);
|
|
222
|
-
this.response = response;
|
|
223
|
-
this.name = "ResponseError";
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
exports.ResponseError = ResponseError;
|
|
227
|
-
class FetchError extends Error {
|
|
228
|
-
constructor(cause, msg) {
|
|
229
|
-
super(msg);
|
|
230
|
-
this.cause = cause;
|
|
231
|
-
this.name = "FetchError";
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
exports.FetchError = FetchError;
|
|
235
|
-
class RequiredError extends Error {
|
|
236
|
-
constructor(field, msg) {
|
|
237
|
-
super(msg);
|
|
238
|
-
this.field = field;
|
|
239
|
-
this.name = "RequiredError";
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
exports.RequiredError = RequiredError;
|
|
243
|
-
exports.COLLECTION_FORMATS = {
|
|
244
|
-
csv: ",",
|
|
245
|
-
ssv: " ",
|
|
246
|
-
tsv: "\t",
|
|
247
|
-
pipes: "|",
|
|
248
|
-
};
|
|
249
|
-
function querystring(params, prefix = "") {
|
|
250
|
-
return Object.keys(params)
|
|
251
|
-
.map((key) => querystringSingleKey(key, params[key], prefix))
|
|
252
|
-
.filter((part) => part.length > 0)
|
|
253
|
-
.join("&");
|
|
254
|
-
}
|
|
255
|
-
function querystringSingleKey(key, value, keyPrefix = "") {
|
|
256
|
-
const fullKey = keyPrefix + (keyPrefix.length ? `[${key}]` : key);
|
|
257
|
-
if (value instanceof Array) {
|
|
258
|
-
const multiValue = value
|
|
259
|
-
.map((singleValue) => encodeURIComponent(String(singleValue)))
|
|
260
|
-
.join(`&${encodeURIComponent(fullKey)}=`);
|
|
261
|
-
return `${encodeURIComponent(fullKey)}=${multiValue}`;
|
|
262
|
-
}
|
|
263
|
-
if (value instanceof Set) {
|
|
264
|
-
const valueAsArray = Array.from(value);
|
|
265
|
-
return querystringSingleKey(key, valueAsArray, keyPrefix);
|
|
266
|
-
}
|
|
267
|
-
if (value instanceof Date) {
|
|
268
|
-
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(value.toISOString())}`;
|
|
269
|
-
}
|
|
270
|
-
if (value instanceof Object) {
|
|
271
|
-
return querystring(value, fullKey);
|
|
272
|
-
}
|
|
273
|
-
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
|
|
274
|
-
}
|
|
275
|
-
function exists(json, key) {
|
|
276
|
-
const value = json[key];
|
|
277
|
-
return value !== null && value !== undefined;
|
|
278
|
-
}
|
|
279
|
-
function mapValues(data, fn) {
|
|
280
|
-
const result = {};
|
|
281
|
-
for (const key of Object.keys(data)) {
|
|
282
|
-
result[key] = fn(data[key]);
|
|
283
|
-
}
|
|
284
|
-
return result;
|
|
285
|
-
}
|
|
286
|
-
function canConsumeForm(consumes) {
|
|
287
|
-
for (const consume of consumes) {
|
|
288
|
-
if ("multipart/form-data" === consume.contentType) {
|
|
289
|
-
return true;
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
return false;
|
|
293
|
-
}
|
|
294
|
-
class JSONApiResponse {
|
|
295
|
-
constructor(raw, transformer = (jsonValue) => jsonValue) {
|
|
296
|
-
this.raw = raw;
|
|
297
|
-
this.transformer = transformer;
|
|
298
|
-
}
|
|
299
|
-
value() {
|
|
300
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
301
|
-
return this.transformer(yield this.raw.json());
|
|
302
|
-
});
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
exports.JSONApiResponse = JSONApiResponse;
|
|
306
|
-
class VoidApiResponse {
|
|
307
|
-
constructor(raw) {
|
|
308
|
-
this.raw = raw;
|
|
309
|
-
}
|
|
310
|
-
value() {
|
|
311
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
312
|
-
return undefined;
|
|
313
|
-
});
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
exports.VoidApiResponse = VoidApiResponse;
|
|
317
|
-
class BlobApiResponse {
|
|
318
|
-
constructor(raw) {
|
|
319
|
-
this.raw = raw;
|
|
320
|
-
}
|
|
321
|
-
value() {
|
|
322
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
323
|
-
return yield this.raw.blob();
|
|
324
|
-
});
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
exports.BlobApiResponse = BlobApiResponse;
|
|
328
|
-
class TextApiResponse {
|
|
329
|
-
constructor(raw) {
|
|
330
|
-
this.raw = raw;
|
|
331
|
-
}
|
|
332
|
-
value() {
|
|
333
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
334
|
-
return yield this.raw.text();
|
|
335
|
-
});
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
exports.TextApiResponse = TextApiResponse;
|