@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.
Files changed (445) hide show
  1. package/dist/apis/V1Api.d.ts +1380 -0
  2. package/dist/apis/V1Api.d.ts.map +1 -0
  3. package/dist/apis/V1Api.js +1270 -0
  4. package/dist/apis/index.d.ts +2 -0
  5. package/dist/apis/index.d.ts.map +1 -0
  6. package/dist/apis/index.js +19 -0
  7. package/dist/esm/apis/V1Api.d.ts +1380 -0
  8. package/dist/esm/apis/V1Api.d.ts.map +1 -0
  9. package/dist/esm/apis/V1Api.js +1233 -0
  10. package/dist/esm/apis/index.d.ts +2 -0
  11. package/dist/esm/apis/index.d.ts.map +1 -0
  12. package/dist/esm/apis/index.js +3 -0
  13. package/dist/esm/index.d.ts +4 -0
  14. package/dist/esm/index.d.ts.map +1 -0
  15. package/dist/esm/index.js +5 -0
  16. package/dist/esm/models/AllEndpointSortBy.d.ts +31 -0
  17. package/dist/esm/models/AllEndpointSortBy.d.ts.map +1 -0
  18. package/dist/esm/models/AllEndpointSortBy.js +48 -0
  19. package/dist/esm/models/Article.d.ts +303 -0
  20. package/dist/esm/models/Article.d.ts.map +1 -0
  21. package/dist/esm/models/Article.js +199 -0
  22. package/dist/esm/models/ArticleSearchFilter.d.ts +286 -0
  23. package/dist/esm/models/ArticleSearchFilter.d.ts.map +1 -0
  24. package/dist/esm/models/ArticleSearchFilter.js +150 -0
  25. package/dist/esm/models/ArticleSearchParams.d.ts +88 -0
  26. package/dist/esm/models/ArticleSearchParams.d.ts.map +1 -0
  27. package/dist/esm/models/ArticleSearchParams.js +72 -0
  28. package/dist/esm/models/AuthException.d.ts +140 -0
  29. package/dist/esm/models/AuthException.d.ts.map +1 -0
  30. package/dist/esm/models/AuthException.js +137 -0
  31. package/dist/esm/models/AuthExceptionCause.d.ts +46 -0
  32. package/dist/esm/models/AuthExceptionCause.d.ts.map +1 -0
  33. package/dist/esm/models/AuthExceptionCause.js +50 -0
  34. package/dist/esm/models/AuthExceptionCauseStackTraceInner.d.ts +75 -0
  35. package/dist/esm/models/AuthExceptionCauseStackTraceInner.d.ts.map +1 -0
  36. package/dist/esm/models/AuthExceptionCauseStackTraceInner.js +55 -0
  37. package/dist/esm/models/AuthExceptionSuppressedInner.d.ts +46 -0
  38. package/dist/esm/models/AuthExceptionSuppressedInner.d.ts.map +1 -0
  39. package/dist/esm/models/AuthExceptionSuppressedInner.js +50 -0
  40. package/dist/esm/models/CategoryHolder.d.ts +33 -0
  41. package/dist/esm/models/CategoryHolder.d.ts.map +1 -0
  42. package/dist/esm/models/CategoryHolder.js +41 -0
  43. package/dist/esm/models/CategoryWithScoreHolder.d.ts +39 -0
  44. package/dist/esm/models/CategoryWithScoreHolder.d.ts.map +1 -0
  45. package/dist/esm/models/CategoryWithScoreHolder.js +43 -0
  46. package/dist/esm/models/Company.d.ts +209 -0
  47. package/dist/esm/models/Company.d.ts.map +1 -0
  48. package/dist/esm/models/Company.js +107 -0
  49. package/dist/esm/models/CompanyCount.d.ts +57 -0
  50. package/dist/esm/models/CompanyCount.d.ts.map +1 -0
  51. package/dist/esm/models/CompanyCount.js +49 -0
  52. package/dist/esm/models/CompanyHolder.d.ts +51 -0
  53. package/dist/esm/models/CompanyHolder.d.ts.map +1 -0
  54. package/dist/esm/models/CompanyHolder.js +47 -0
  55. package/dist/esm/models/CompanySearchResult.d.ts +46 -0
  56. package/dist/esm/models/CompanySearchResult.d.ts.map +1 -0
  57. package/dist/esm/models/CompanySearchResult.js +52 -0
  58. package/dist/esm/models/Coordinate.d.ts +39 -0
  59. package/dist/esm/models/Coordinate.d.ts.map +1 -0
  60. package/dist/esm/models/Coordinate.js +43 -0
  61. package/dist/esm/models/CoordinateFilter.d.ts +45 -0
  62. package/dist/esm/models/CoordinateFilter.d.ts.map +1 -0
  63. package/dist/esm/models/CoordinateFilter.js +45 -0
  64. package/dist/esm/models/EntityHolder.d.ts +45 -0
  65. package/dist/esm/models/EntityHolder.d.ts.map +1 -0
  66. package/dist/esm/models/EntityHolder.js +45 -0
  67. package/dist/esm/models/EventTypeHolder.d.ts +39 -0
  68. package/dist/esm/models/EventTypeHolder.d.ts.map +1 -0
  69. package/dist/esm/models/EventTypeHolder.js +43 -0
  70. package/dist/esm/models/IdNameHolder.d.ts +39 -0
  71. package/dist/esm/models/IdNameHolder.d.ts.map +1 -0
  72. package/dist/esm/models/IdNameHolder.js +43 -0
  73. package/dist/esm/models/IllegalParameterException.d.ts +60 -0
  74. package/dist/esm/models/IllegalParameterException.d.ts.map +1 -0
  75. package/dist/esm/models/IllegalParameterException.js +62 -0
  76. package/dist/esm/models/ImageHolder.d.ts +33 -0
  77. package/dist/esm/models/ImageHolder.d.ts.map +1 -0
  78. package/dist/esm/models/ImageHolder.js +41 -0
  79. package/dist/esm/models/InternalErrorException.d.ts +60 -0
  80. package/dist/esm/models/InternalErrorException.d.ts.map +1 -0
  81. package/dist/esm/models/InternalErrorException.js +62 -0
  82. package/dist/esm/models/InternalErrorExceptionCause.d.ts +46 -0
  83. package/dist/esm/models/InternalErrorExceptionCause.d.ts.map +1 -0
  84. package/dist/esm/models/InternalErrorExceptionCause.js +50 -0
  85. package/dist/esm/models/InternalErrorExceptionCauseStackTraceInner.d.ts +75 -0
  86. package/dist/esm/models/InternalErrorExceptionCauseStackTraceInner.d.ts.map +1 -0
  87. package/dist/esm/models/InternalErrorExceptionCauseStackTraceInner.js +55 -0
  88. package/dist/esm/models/InternalErrorExceptionSuppressedInner.d.ts +46 -0
  89. package/dist/esm/models/InternalErrorExceptionSuppressedInner.d.ts.map +1 -0
  90. package/dist/esm/models/InternalErrorExceptionSuppressedInner.js +50 -0
  91. package/dist/esm/models/Journalist.d.ts +185 -0
  92. package/dist/esm/models/Journalist.d.ts.map +1 -0
  93. package/dist/esm/models/Journalist.js +119 -0
  94. package/dist/esm/models/JournalistSearchResult.d.ts +46 -0
  95. package/dist/esm/models/JournalistSearchResult.d.ts.map +1 -0
  96. package/dist/esm/models/JournalistSearchResult.js +52 -0
  97. package/dist/esm/models/KeyPoint.d.ts +39 -0
  98. package/dist/esm/models/KeyPoint.d.ts.map +1 -0
  99. package/dist/esm/models/KeyPoint.js +43 -0
  100. package/dist/esm/models/KeywordHolder.d.ts +39 -0
  101. package/dist/esm/models/KeywordHolder.d.ts.map +1 -0
  102. package/dist/esm/models/KeywordHolder.js +43 -0
  103. package/dist/esm/models/LabelHolder.d.ts +33 -0
  104. package/dist/esm/models/LabelHolder.d.ts.map +1 -0
  105. package/dist/esm/models/LabelHolder.js +41 -0
  106. package/dist/esm/models/LocationCount.d.ts +57 -0
  107. package/dist/esm/models/LocationCount.d.ts.map +1 -0
  108. package/dist/esm/models/LocationCount.js +49 -0
  109. package/dist/esm/models/LocationHolder.d.ts +57 -0
  110. package/dist/esm/models/LocationHolder.d.ts.map +1 -0
  111. package/dist/esm/models/LocationHolder.js +49 -0
  112. package/dist/esm/models/NameCount.d.ts +39 -0
  113. package/dist/esm/models/NameCount.d.ts.map +1 -0
  114. package/dist/esm/models/NameCount.js +43 -0
  115. package/dist/esm/models/NewsCluster.d.ts +253 -0
  116. package/dist/esm/models/NewsCluster.d.ts.map +1 -0
  117. package/dist/esm/models/NewsCluster.js +191 -0
  118. package/dist/esm/models/NotFoundException.d.ts +60 -0
  119. package/dist/esm/models/NotFoundException.d.ts.map +1 -0
  120. package/dist/esm/models/NotFoundException.js +62 -0
  121. package/dist/esm/models/PeopleSearchResult.d.ts +46 -0
  122. package/dist/esm/models/PeopleSearchResult.d.ts.map +1 -0
  123. package/dist/esm/models/PeopleSearchResult.js +52 -0
  124. package/dist/esm/models/Person.d.ts +116 -0
  125. package/dist/esm/models/Person.d.ts.map +1 -0
  126. package/dist/esm/models/Person.js +90 -0
  127. package/dist/esm/models/PersonCount.d.ts +45 -0
  128. package/dist/esm/models/PersonCount.d.ts.map +1 -0
  129. package/dist/esm/models/PersonCount.js +45 -0
  130. package/dist/esm/models/PersonHolder.d.ts +39 -0
  131. package/dist/esm/models/PersonHolder.d.ts.map +1 -0
  132. package/dist/esm/models/PersonHolder.js +43 -0
  133. package/dist/esm/models/Place.d.ts +118 -0
  134. package/dist/esm/models/Place.d.ts.map +1 -0
  135. package/dist/esm/models/Place.js +72 -0
  136. package/dist/esm/models/QuerySearchResult.d.ts +46 -0
  137. package/dist/esm/models/QuerySearchResult.d.ts.map +1 -0
  138. package/dist/esm/models/QuerySearchResult.js +52 -0
  139. package/dist/esm/models/Question.d.ts +45 -0
  140. package/dist/esm/models/Question.d.ts.map +1 -0
  141. package/dist/esm/models/Question.js +45 -0
  142. package/dist/esm/models/RecordStatHolder.d.ts +39 -0
  143. package/dist/esm/models/RecordStatHolder.d.ts.map +1 -0
  144. package/dist/esm/models/RecordStatHolder.js +43 -0
  145. package/dist/esm/models/ScoredArticle.d.ts +40 -0
  146. package/dist/esm/models/ScoredArticle.d.ts.map +1 -0
  147. package/dist/esm/models/ScoredArticle.js +44 -0
  148. package/dist/esm/models/SentimentHolder.d.ts +45 -0
  149. package/dist/esm/models/SentimentHolder.d.ts.map +1 -0
  150. package/dist/esm/models/SentimentHolder.js +45 -0
  151. package/dist/esm/models/SortBy.d.ts +29 -0
  152. package/dist/esm/models/SortBy.d.ts.map +1 -0
  153. package/dist/esm/models/SortBy.js +46 -0
  154. package/dist/esm/models/Source.d.ts +168 -0
  155. package/dist/esm/models/Source.d.ts.map +1 -0
  156. package/dist/esm/models/Source.js +116 -0
  157. package/dist/esm/models/SourceHolder.d.ts +46 -0
  158. package/dist/esm/models/SourceHolder.d.ts.map +1 -0
  159. package/dist/esm/models/SourceHolder.js +48 -0
  160. package/dist/esm/models/SourceLocation.d.ts +58 -0
  161. package/dist/esm/models/SourceLocation.d.ts.map +1 -0
  162. package/dist/esm/models/SourceLocation.js +52 -0
  163. package/dist/esm/models/SourceSearchResult.d.ts +46 -0
  164. package/dist/esm/models/SourceSearchResult.d.ts.map +1 -0
  165. package/dist/esm/models/SourceSearchResult.js +52 -0
  166. package/dist/esm/models/SourceTopStatHolder.d.ts +39 -0
  167. package/dist/esm/models/SourceTopStatHolder.d.ts.map +1 -0
  168. package/dist/esm/models/SourceTopStatHolder.js +43 -0
  169. package/dist/esm/models/StorySearchResult.d.ts +46 -0
  170. package/dist/esm/models/StorySearchResult.d.ts.map +1 -0
  171. package/dist/esm/models/StorySearchResult.js +52 -0
  172. package/dist/esm/models/SummaryBody.d.ts +111 -0
  173. package/dist/esm/models/SummaryBody.d.ts.map +1 -0
  174. package/dist/esm/models/SummaryBody.js +86 -0
  175. package/dist/esm/models/SummarySearchResult.d.ts +52 -0
  176. package/dist/esm/models/SummarySearchResult.d.ts.map +1 -0
  177. package/dist/esm/models/SummarySearchResult.js +56 -0
  178. package/dist/esm/models/SymbolHolder.d.ts +51 -0
  179. package/dist/esm/models/SymbolHolder.d.ts.map +1 -0
  180. package/dist/esm/models/SymbolHolder.js +47 -0
  181. package/dist/esm/models/TooManyRequestsException.d.ts +140 -0
  182. package/dist/esm/models/TooManyRequestsException.d.ts.map +1 -0
  183. package/dist/esm/models/TooManyRequestsException.js +137 -0
  184. package/dist/esm/models/TooManyRequestsExceptionCause.d.ts +46 -0
  185. package/dist/esm/models/TooManyRequestsExceptionCause.d.ts.map +1 -0
  186. package/dist/esm/models/TooManyRequestsExceptionCause.js +50 -0
  187. package/dist/esm/models/TooManyRequestsExceptionCauseStackTraceInner.d.ts +75 -0
  188. package/dist/esm/models/TooManyRequestsExceptionCauseStackTraceInner.d.ts.map +1 -0
  189. package/dist/esm/models/TooManyRequestsExceptionCauseStackTraceInner.js +55 -0
  190. package/dist/esm/models/TooManyRequestsExceptionSuppressedInner.d.ts +46 -0
  191. package/dist/esm/models/TooManyRequestsExceptionSuppressedInner.d.ts.map +1 -0
  192. package/dist/esm/models/TooManyRequestsExceptionSuppressedInner.js +50 -0
  193. package/dist/esm/models/TopicDto.d.ts +58 -0
  194. package/dist/esm/models/TopicDto.d.ts.map +1 -0
  195. package/dist/esm/models/TopicDto.js +54 -0
  196. package/dist/esm/models/TopicHolder.d.ts +33 -0
  197. package/dist/esm/models/TopicHolder.d.ts.map +1 -0
  198. package/dist/esm/models/TopicHolder.js +41 -0
  199. package/dist/esm/models/TopicLabels.d.ts +39 -0
  200. package/dist/esm/models/TopicLabels.d.ts.map +1 -0
  201. package/dist/esm/models/TopicLabels.js +43 -0
  202. package/dist/esm/models/TopicSearchResult.d.ts +40 -0
  203. package/dist/esm/models/TopicSearchResult.d.ts.map +1 -0
  204. package/dist/esm/models/TopicSearchResult.js +48 -0
  205. package/dist/esm/models/VectorSearchResult.d.ts +40 -0
  206. package/dist/esm/models/VectorSearchResult.d.ts.map +1 -0
  207. package/dist/esm/models/VectorSearchResult.js +48 -0
  208. package/dist/esm/models/WebResources.d.ts +129 -0
  209. package/dist/esm/models/WebResources.d.ts.map +1 -0
  210. package/dist/esm/models/WebResources.js +73 -0
  211. package/dist/esm/models/WikidataDateHolder.d.ts +39 -0
  212. package/dist/esm/models/WikidataDateHolder.d.ts.map +1 -0
  213. package/dist/esm/models/WikidataDateHolder.js +43 -0
  214. package/dist/esm/models/WikidataLabelHolder.d.ts +39 -0
  215. package/dist/esm/models/WikidataLabelHolder.d.ts.map +1 -0
  216. package/dist/esm/models/WikidataLabelHolder.js +43 -0
  217. package/dist/esm/models/WikidataPoliticalPartyHolder.d.ts +52 -0
  218. package/dist/esm/models/WikidataPoliticalPartyHolder.d.ts.map +1 -0
  219. package/dist/esm/models/WikidataPoliticalPartyHolder.js +52 -0
  220. package/dist/esm/models/WikidataPositionHolder.d.ts +59 -0
  221. package/dist/esm/models/WikidataPositionHolder.d.ts.map +1 -0
  222. package/dist/esm/models/WikidataPositionHolder.js +57 -0
  223. package/dist/esm/models/index.d.ts +64 -0
  224. package/dist/esm/models/index.d.ts.map +1 -0
  225. package/dist/esm/models/index.js +65 -0
  226. package/dist/esm/runtime.d.ts +180 -0
  227. package/dist/esm/runtime.d.ts.map +1 -0
  228. package/dist/esm/runtime.js +322 -0
  229. package/dist/index.d.ts +4 -0
  230. package/dist/index.d.ts.map +1 -0
  231. package/dist/index.js +21 -0
  232. package/dist/models/AllEndpointSortBy.d.ts +31 -0
  233. package/dist/models/AllEndpointSortBy.d.ts.map +1 -0
  234. package/dist/models/AllEndpointSortBy.js +56 -0
  235. package/dist/models/Article.d.ts +303 -0
  236. package/dist/models/Article.d.ts.map +1 -0
  237. package/dist/models/Article.js +206 -0
  238. package/dist/models/ArticleSearchFilter.d.ts +286 -0
  239. package/dist/models/ArticleSearchFilter.d.ts.map +1 -0
  240. package/dist/models/ArticleSearchFilter.js +157 -0
  241. package/dist/models/ArticleSearchParams.d.ts +88 -0
  242. package/dist/models/ArticleSearchParams.d.ts.map +1 -0
  243. package/dist/models/ArticleSearchParams.js +79 -0
  244. package/dist/models/AuthException.d.ts +140 -0
  245. package/dist/models/AuthException.d.ts.map +1 -0
  246. package/dist/models/AuthException.js +145 -0
  247. package/dist/models/AuthExceptionCause.d.ts +46 -0
  248. package/dist/models/AuthExceptionCause.d.ts.map +1 -0
  249. package/dist/models/AuthExceptionCause.js +57 -0
  250. package/dist/models/AuthExceptionCauseStackTraceInner.d.ts +75 -0
  251. package/dist/models/AuthExceptionCauseStackTraceInner.d.ts.map +1 -0
  252. package/dist/models/AuthExceptionCauseStackTraceInner.js +62 -0
  253. package/dist/models/AuthExceptionSuppressedInner.d.ts +46 -0
  254. package/dist/models/AuthExceptionSuppressedInner.d.ts.map +1 -0
  255. package/dist/models/AuthExceptionSuppressedInner.js +57 -0
  256. package/dist/models/CategoryHolder.d.ts +33 -0
  257. package/dist/models/CategoryHolder.d.ts.map +1 -0
  258. package/dist/models/CategoryHolder.js +48 -0
  259. package/dist/models/CategoryWithScoreHolder.d.ts +39 -0
  260. package/dist/models/CategoryWithScoreHolder.d.ts.map +1 -0
  261. package/dist/models/CategoryWithScoreHolder.js +50 -0
  262. package/dist/models/Company.d.ts +209 -0
  263. package/dist/models/Company.d.ts.map +1 -0
  264. package/dist/models/Company.js +114 -0
  265. package/dist/models/CompanyCount.d.ts +57 -0
  266. package/dist/models/CompanyCount.d.ts.map +1 -0
  267. package/dist/models/CompanyCount.js +56 -0
  268. package/dist/models/CompanyHolder.d.ts +51 -0
  269. package/dist/models/CompanyHolder.d.ts.map +1 -0
  270. package/dist/models/CompanyHolder.js +54 -0
  271. package/dist/models/CompanySearchResult.d.ts +46 -0
  272. package/dist/models/CompanySearchResult.d.ts.map +1 -0
  273. package/dist/models/CompanySearchResult.js +59 -0
  274. package/dist/models/Coordinate.d.ts +39 -0
  275. package/dist/models/Coordinate.d.ts.map +1 -0
  276. package/dist/models/Coordinate.js +50 -0
  277. package/dist/models/CoordinateFilter.d.ts +45 -0
  278. package/dist/models/CoordinateFilter.d.ts.map +1 -0
  279. package/dist/models/CoordinateFilter.js +52 -0
  280. package/dist/models/EntityHolder.d.ts +45 -0
  281. package/dist/models/EntityHolder.d.ts.map +1 -0
  282. package/dist/models/EntityHolder.js +52 -0
  283. package/dist/models/EventTypeHolder.d.ts +39 -0
  284. package/dist/models/EventTypeHolder.d.ts.map +1 -0
  285. package/dist/models/EventTypeHolder.js +50 -0
  286. package/dist/models/IdNameHolder.d.ts +39 -0
  287. package/dist/models/IdNameHolder.d.ts.map +1 -0
  288. package/dist/models/IdNameHolder.js +50 -0
  289. package/dist/models/IllegalParameterException.d.ts +60 -0
  290. package/dist/models/IllegalParameterException.d.ts.map +1 -0
  291. package/dist/models/IllegalParameterException.js +69 -0
  292. package/dist/models/ImageHolder.d.ts +33 -0
  293. package/dist/models/ImageHolder.d.ts.map +1 -0
  294. package/dist/models/ImageHolder.js +48 -0
  295. package/dist/models/InternalErrorException.d.ts +60 -0
  296. package/dist/models/InternalErrorException.d.ts.map +1 -0
  297. package/dist/models/InternalErrorException.js +69 -0
  298. package/dist/models/InternalErrorExceptionCause.d.ts +46 -0
  299. package/dist/models/InternalErrorExceptionCause.d.ts.map +1 -0
  300. package/dist/models/InternalErrorExceptionCause.js +57 -0
  301. package/dist/models/InternalErrorExceptionCauseStackTraceInner.d.ts +75 -0
  302. package/dist/models/InternalErrorExceptionCauseStackTraceInner.d.ts.map +1 -0
  303. package/dist/models/InternalErrorExceptionCauseStackTraceInner.js +62 -0
  304. package/dist/models/InternalErrorExceptionSuppressedInner.d.ts +46 -0
  305. package/dist/models/InternalErrorExceptionSuppressedInner.d.ts.map +1 -0
  306. package/dist/models/InternalErrorExceptionSuppressedInner.js +57 -0
  307. package/dist/models/Journalist.d.ts +185 -0
  308. package/dist/models/Journalist.d.ts.map +1 -0
  309. package/dist/models/Journalist.js +126 -0
  310. package/dist/models/JournalistSearchResult.d.ts +46 -0
  311. package/dist/models/JournalistSearchResult.d.ts.map +1 -0
  312. package/dist/models/JournalistSearchResult.js +59 -0
  313. package/dist/models/KeyPoint.d.ts +39 -0
  314. package/dist/models/KeyPoint.d.ts.map +1 -0
  315. package/dist/models/KeyPoint.js +50 -0
  316. package/dist/models/KeywordHolder.d.ts +39 -0
  317. package/dist/models/KeywordHolder.d.ts.map +1 -0
  318. package/dist/models/KeywordHolder.js +50 -0
  319. package/dist/models/LabelHolder.d.ts +33 -0
  320. package/dist/models/LabelHolder.d.ts.map +1 -0
  321. package/dist/models/LabelHolder.js +48 -0
  322. package/dist/models/LocationCount.d.ts +57 -0
  323. package/dist/models/LocationCount.d.ts.map +1 -0
  324. package/dist/models/LocationCount.js +56 -0
  325. package/dist/models/LocationHolder.d.ts +57 -0
  326. package/dist/models/LocationHolder.d.ts.map +1 -0
  327. package/dist/models/LocationHolder.js +56 -0
  328. package/dist/models/NameCount.d.ts +39 -0
  329. package/dist/models/NameCount.d.ts.map +1 -0
  330. package/dist/models/NameCount.js +50 -0
  331. package/dist/models/NewsCluster.d.ts +253 -0
  332. package/dist/models/NewsCluster.d.ts.map +1 -0
  333. package/dist/models/NewsCluster.js +198 -0
  334. package/dist/models/NotFoundException.d.ts +60 -0
  335. package/dist/models/NotFoundException.d.ts.map +1 -0
  336. package/dist/models/NotFoundException.js +69 -0
  337. package/dist/models/PeopleSearchResult.d.ts +46 -0
  338. package/dist/models/PeopleSearchResult.d.ts.map +1 -0
  339. package/dist/models/PeopleSearchResult.js +59 -0
  340. package/dist/models/Person.d.ts +116 -0
  341. package/dist/models/Person.d.ts.map +1 -0
  342. package/dist/models/Person.js +97 -0
  343. package/dist/models/PersonCount.d.ts +45 -0
  344. package/dist/models/PersonCount.d.ts.map +1 -0
  345. package/dist/models/PersonCount.js +52 -0
  346. package/dist/models/PersonHolder.d.ts +39 -0
  347. package/dist/models/PersonHolder.d.ts.map +1 -0
  348. package/dist/models/PersonHolder.js +50 -0
  349. package/dist/models/Place.d.ts +118 -0
  350. package/dist/models/Place.d.ts.map +1 -0
  351. package/dist/models/Place.js +79 -0
  352. package/dist/models/QuerySearchResult.d.ts +46 -0
  353. package/dist/models/QuerySearchResult.d.ts.map +1 -0
  354. package/dist/models/QuerySearchResult.js +59 -0
  355. package/dist/models/Question.d.ts +45 -0
  356. package/dist/models/Question.d.ts.map +1 -0
  357. package/dist/models/Question.js +52 -0
  358. package/dist/models/RecordStatHolder.d.ts +39 -0
  359. package/dist/models/RecordStatHolder.d.ts.map +1 -0
  360. package/dist/models/RecordStatHolder.js +50 -0
  361. package/dist/models/ScoredArticle.d.ts +40 -0
  362. package/dist/models/ScoredArticle.d.ts.map +1 -0
  363. package/dist/models/ScoredArticle.js +51 -0
  364. package/dist/models/SentimentHolder.d.ts +45 -0
  365. package/dist/models/SentimentHolder.d.ts.map +1 -0
  366. package/dist/models/SentimentHolder.js +52 -0
  367. package/dist/models/SortBy.d.ts +29 -0
  368. package/dist/models/SortBy.d.ts.map +1 -0
  369. package/dist/models/SortBy.js +54 -0
  370. package/dist/models/Source.d.ts +168 -0
  371. package/dist/models/Source.d.ts.map +1 -0
  372. package/dist/models/Source.js +123 -0
  373. package/dist/models/SourceHolder.d.ts +46 -0
  374. package/dist/models/SourceHolder.d.ts.map +1 -0
  375. package/dist/models/SourceHolder.js +55 -0
  376. package/dist/models/SourceLocation.d.ts +58 -0
  377. package/dist/models/SourceLocation.d.ts.map +1 -0
  378. package/dist/models/SourceLocation.js +59 -0
  379. package/dist/models/SourceSearchResult.d.ts +46 -0
  380. package/dist/models/SourceSearchResult.d.ts.map +1 -0
  381. package/dist/models/SourceSearchResult.js +59 -0
  382. package/dist/models/SourceTopStatHolder.d.ts +39 -0
  383. package/dist/models/SourceTopStatHolder.d.ts.map +1 -0
  384. package/dist/models/SourceTopStatHolder.js +50 -0
  385. package/dist/models/StorySearchResult.d.ts +46 -0
  386. package/dist/models/StorySearchResult.d.ts.map +1 -0
  387. package/dist/models/StorySearchResult.js +59 -0
  388. package/dist/models/SummaryBody.d.ts +111 -0
  389. package/dist/models/SummaryBody.d.ts.map +1 -0
  390. package/dist/models/SummaryBody.js +94 -0
  391. package/dist/models/SummarySearchResult.d.ts +52 -0
  392. package/dist/models/SummarySearchResult.d.ts.map +1 -0
  393. package/dist/models/SummarySearchResult.js +63 -0
  394. package/dist/models/SymbolHolder.d.ts +51 -0
  395. package/dist/models/SymbolHolder.d.ts.map +1 -0
  396. package/dist/models/SymbolHolder.js +54 -0
  397. package/dist/models/TooManyRequestsException.d.ts +140 -0
  398. package/dist/models/TooManyRequestsException.d.ts.map +1 -0
  399. package/dist/models/TooManyRequestsException.js +145 -0
  400. package/dist/models/TooManyRequestsExceptionCause.d.ts +46 -0
  401. package/dist/models/TooManyRequestsExceptionCause.d.ts.map +1 -0
  402. package/dist/models/TooManyRequestsExceptionCause.js +57 -0
  403. package/dist/models/TooManyRequestsExceptionCauseStackTraceInner.d.ts +75 -0
  404. package/dist/models/TooManyRequestsExceptionCauseStackTraceInner.d.ts.map +1 -0
  405. package/dist/models/TooManyRequestsExceptionCauseStackTraceInner.js +62 -0
  406. package/dist/models/TooManyRequestsExceptionSuppressedInner.d.ts +46 -0
  407. package/dist/models/TooManyRequestsExceptionSuppressedInner.d.ts.map +1 -0
  408. package/dist/models/TooManyRequestsExceptionSuppressedInner.js +57 -0
  409. package/dist/models/TopicDto.d.ts +58 -0
  410. package/dist/models/TopicDto.d.ts.map +1 -0
  411. package/dist/models/TopicDto.js +61 -0
  412. package/dist/models/TopicHolder.d.ts +33 -0
  413. package/dist/models/TopicHolder.d.ts.map +1 -0
  414. package/dist/models/TopicHolder.js +48 -0
  415. package/dist/models/TopicLabels.d.ts +39 -0
  416. package/dist/models/TopicLabels.d.ts.map +1 -0
  417. package/dist/models/TopicLabels.js +50 -0
  418. package/dist/models/TopicSearchResult.d.ts +40 -0
  419. package/dist/models/TopicSearchResult.d.ts.map +1 -0
  420. package/dist/models/TopicSearchResult.js +55 -0
  421. package/dist/models/VectorSearchResult.d.ts +40 -0
  422. package/dist/models/VectorSearchResult.d.ts.map +1 -0
  423. package/dist/models/VectorSearchResult.js +55 -0
  424. package/dist/models/WebResources.d.ts +129 -0
  425. package/dist/models/WebResources.d.ts.map +1 -0
  426. package/dist/models/WebResources.js +80 -0
  427. package/dist/models/WikidataDateHolder.d.ts +39 -0
  428. package/dist/models/WikidataDateHolder.d.ts.map +1 -0
  429. package/dist/models/WikidataDateHolder.js +50 -0
  430. package/dist/models/WikidataLabelHolder.d.ts +39 -0
  431. package/dist/models/WikidataLabelHolder.d.ts.map +1 -0
  432. package/dist/models/WikidataLabelHolder.js +50 -0
  433. package/dist/models/WikidataPoliticalPartyHolder.d.ts +52 -0
  434. package/dist/models/WikidataPoliticalPartyHolder.d.ts.map +1 -0
  435. package/dist/models/WikidataPoliticalPartyHolder.js +59 -0
  436. package/dist/models/WikidataPositionHolder.d.ts +59 -0
  437. package/dist/models/WikidataPositionHolder.d.ts.map +1 -0
  438. package/dist/models/WikidataPositionHolder.js +64 -0
  439. package/dist/models/index.d.ts +64 -0
  440. package/dist/models/index.d.ts.map +1 -0
  441. package/dist/models/index.js +81 -0
  442. package/dist/runtime.d.ts +180 -0
  443. package/dist/runtime.d.ts.map +1 -0
  444. package/dist/runtime.js +338 -0
  445. package/package.json +6 -1
@@ -0,0 +1,58 @@
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 { Coordinate } from "./Coordinate";
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SourceLocation
17
+ */
18
+ export interface SourceLocation {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof SourceLocation
23
+ */
24
+ country?: string | null;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof SourceLocation
29
+ */
30
+ state?: string | null;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof SourceLocation
35
+ */
36
+ county?: string | null;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof SourceLocation
41
+ */
42
+ city?: string | null;
43
+ /**
44
+ *
45
+ * @type {Coordinate}
46
+ * @memberof SourceLocation
47
+ */
48
+ coordinates?: Coordinate;
49
+ }
50
+ /**
51
+ * Check if a given object implements the SourceLocation interface.
52
+ */
53
+ export declare function instanceOfSourceLocation(value: object): value is SourceLocation;
54
+ export declare function SourceLocationFromJSON(json: any): SourceLocation;
55
+ export declare function SourceLocationFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceLocation;
56
+ export declare function SourceLocationToJSON(json: any): SourceLocation;
57
+ export declare function SourceLocationToJSONTyped(value?: SourceLocation | null, ignoreDiscriminator?: boolean): any;
58
+ //# sourceMappingURL=SourceLocation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SourceLocation.d.ts","sourceRoot":"","sources":["../../../src/models/SourceLocation.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAQ/C;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,UAAU,CAAC;CAC1B;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,MAAM,GACZ,KAAK,IAAI,cAAc,CAEzB;AAED,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAEhE;AAED,wBAAgB,2BAA2B,CACzC,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC3B,cAAc,CAchB;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,CAE9D;AAED,wBAAgB,yBAAyB,CACvC,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,EAC7B,mBAAmB,GAAE,OAAe,GACnC,GAAG,CAYL"}
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Perigon API
5
+ * The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: data@perigon.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { CoordinateFromJSON, CoordinateToJSON, } from "./Coordinate";
15
+ /**
16
+ * Check if a given object implements the SourceLocation interface.
17
+ */
18
+ export function instanceOfSourceLocation(value) {
19
+ return true;
20
+ }
21
+ export function SourceLocationFromJSON(json) {
22
+ return SourceLocationFromJSONTyped(json, false);
23
+ }
24
+ export function SourceLocationFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ country: json["country"] == null ? undefined : json["country"],
30
+ state: json["state"] == null ? undefined : json["state"],
31
+ county: json["county"] == null ? undefined : json["county"],
32
+ city: json["city"] == null ? undefined : json["city"],
33
+ coordinates: json["coordinates"] == null
34
+ ? undefined
35
+ : CoordinateFromJSON(json["coordinates"]),
36
+ };
37
+ }
38
+ export function SourceLocationToJSON(json) {
39
+ return SourceLocationToJSONTyped(json, false);
40
+ }
41
+ export function SourceLocationToJSONTyped(value, ignoreDiscriminator = false) {
42
+ if (value == null) {
43
+ return value;
44
+ }
45
+ return {
46
+ country: value["country"],
47
+ state: value["state"],
48
+ county: value["county"],
49
+ city: value["city"],
50
+ coordinates: CoordinateToJSON(value["coordinates"]),
51
+ };
52
+ }
@@ -0,0 +1,46 @@
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 { Source } from "./Source";
13
+ /**
14
+ * Source search result
15
+ * @export
16
+ * @interface SourceSearchResult
17
+ */
18
+ export interface SourceSearchResult {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof SourceSearchResult
23
+ */
24
+ status: number;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof SourceSearchResult
29
+ */
30
+ numResults: number;
31
+ /**
32
+ *
33
+ * @type {Array<Source>}
34
+ * @memberof SourceSearchResult
35
+ */
36
+ results: Array<Source>;
37
+ }
38
+ /**
39
+ * Check if a given object implements the SourceSearchResult interface.
40
+ */
41
+ export declare function instanceOfSourceSearchResult(value: object): value is SourceSearchResult;
42
+ export declare function SourceSearchResultFromJSON(json: any): SourceSearchResult;
43
+ export declare function SourceSearchResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceSearchResult;
44
+ export declare function SourceSearchResultToJSON(json: any): SourceSearchResult;
45
+ export declare function SourceSearchResultToJSONTyped(value?: SourceSearchResult | null, ignoreDiscriminator?: boolean): any;
46
+ //# sourceMappingURL=SourceSearchResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SourceSearchResult.d.ts","sourceRoot":"","sources":["../../../src/models/SourceSearchResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAQvC;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACxB;AAED;;GAEG;AACH,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,MAAM,GACZ,KAAK,IAAI,kBAAkB,CAM7B;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAExE;AAED,wBAAgB,+BAA+B,CAC7C,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC3B,kBAAkB,CASpB;AAED,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,GAAG,GAAG,kBAAkB,CAEtE;AAED,wBAAgB,6BAA6B,CAC3C,KAAK,CAAC,EAAE,kBAAkB,GAAG,IAAI,EACjC,mBAAmB,GAAE,OAAe,GACnC,GAAG,CAUL"}
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Perigon API
5
+ * The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: data@perigon.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { SourceFromJSON, SourceToJSON, } from "./Source";
15
+ /**
16
+ * Check if a given object implements the SourceSearchResult interface.
17
+ */
18
+ export function instanceOfSourceSearchResult(value) {
19
+ if (!("status" in value) || value["status"] === undefined)
20
+ return false;
21
+ if (!("numResults" in value) || value["numResults"] === undefined)
22
+ return false;
23
+ if (!("results" in value) || value["results"] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ export function SourceSearchResultFromJSON(json) {
28
+ return SourceSearchResultFromJSONTyped(json, false);
29
+ }
30
+ export function SourceSearchResultFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ status: json["status"],
36
+ numResults: json["numResults"],
37
+ results: json["results"].map(SourceFromJSON),
38
+ };
39
+ }
40
+ export function SourceSearchResultToJSON(json) {
41
+ return SourceSearchResultToJSONTyped(json, false);
42
+ }
43
+ export function SourceSearchResultToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ status: value["status"],
49
+ numResults: value["numResults"],
50
+ results: value["results"].map(SourceToJSON),
51
+ };
52
+ }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Perigon API
3
+ * The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: data@perigon.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SourceTopStatHolder
16
+ */
17
+ export interface SourceTopStatHolder {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SourceTopStatHolder
22
+ */
23
+ name?: string | null;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof SourceTopStatHolder
28
+ */
29
+ count?: number | null;
30
+ }
31
+ /**
32
+ * Check if a given object implements the SourceTopStatHolder interface.
33
+ */
34
+ export declare function instanceOfSourceTopStatHolder(value: object): value is SourceTopStatHolder;
35
+ export declare function SourceTopStatHolderFromJSON(json: any): SourceTopStatHolder;
36
+ export declare function SourceTopStatHolderFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceTopStatHolder;
37
+ export declare function SourceTopStatHolderToJSON(json: any): SourceTopStatHolder;
38
+ export declare function SourceTopStatHolderToJSONTyped(value?: SourceTopStatHolder | null, ignoreDiscriminator?: boolean): any;
39
+ //# sourceMappingURL=SourceTopStatHolder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SourceTopStatHolder.d.ts","sourceRoot":"","sources":["../../../src/models/SourceTopStatHolder.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;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,CAQrB;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,CASL"}
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Perigon API
5
+ * The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: data@perigon.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the SourceTopStatHolder interface.
16
+ */
17
+ export function instanceOfSourceTopStatHolder(value) {
18
+ return true;
19
+ }
20
+ export function SourceTopStatHolderFromJSON(json) {
21
+ return SourceTopStatHolderFromJSONTyped(json, false);
22
+ }
23
+ export function SourceTopStatHolderFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ name: json["name"] == null ? undefined : json["name"],
29
+ count: json["count"] == null ? undefined : json["count"],
30
+ };
31
+ }
32
+ export function SourceTopStatHolderToJSON(json) {
33
+ return SourceTopStatHolderToJSONTyped(json, false);
34
+ }
35
+ export function SourceTopStatHolderToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ name: value["name"],
41
+ count: value["count"],
42
+ };
43
+ }
@@ -0,0 +1,46 @@
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 { NewsCluster } from "./NewsCluster";
13
+ /**
14
+ * Story search result
15
+ * @export
16
+ * @interface StorySearchResult
17
+ */
18
+ export interface StorySearchResult {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof StorySearchResult
23
+ */
24
+ status: number;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof StorySearchResult
29
+ */
30
+ numResults: number;
31
+ /**
32
+ *
33
+ * @type {Array<NewsCluster>}
34
+ * @memberof StorySearchResult
35
+ */
36
+ results: Array<NewsCluster>;
37
+ }
38
+ /**
39
+ * Check if a given object implements the StorySearchResult interface.
40
+ */
41
+ export declare function instanceOfStorySearchResult(value: object): value is StorySearchResult;
42
+ export declare function StorySearchResultFromJSON(json: any): StorySearchResult;
43
+ export declare function StorySearchResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): StorySearchResult;
44
+ export declare function StorySearchResultToJSON(json: any): StorySearchResult;
45
+ export declare function StorySearchResultToJSONTyped(value?: StorySearchResult | null, ignoreDiscriminator?: boolean): any;
46
+ //# sourceMappingURL=StorySearchResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StorySearchResult.d.ts","sourceRoot":"","sources":["../../../src/models/StorySearchResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAQjD;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;CAC7B;AAED;;GAEG;AACH,wBAAgB,2BAA2B,CACzC,KAAK,EAAE,MAAM,GACZ,KAAK,IAAI,iBAAiB,CAM5B;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEtE;AAED,wBAAgB,8BAA8B,CAC5C,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC3B,iBAAiB,CASnB;AAED,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,GAAG,GAAG,iBAAiB,CAEpE;AAED,wBAAgB,4BAA4B,CAC1C,KAAK,CAAC,EAAE,iBAAiB,GAAG,IAAI,EAChC,mBAAmB,GAAE,OAAe,GACnC,GAAG,CAUL"}
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Perigon API
5
+ * The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: data@perigon.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { NewsClusterFromJSON, NewsClusterToJSON, } from "./NewsCluster";
15
+ /**
16
+ * Check if a given object implements the StorySearchResult interface.
17
+ */
18
+ export function instanceOfStorySearchResult(value) {
19
+ if (!("status" in value) || value["status"] === undefined)
20
+ return false;
21
+ if (!("numResults" in value) || value["numResults"] === undefined)
22
+ return false;
23
+ if (!("results" in value) || value["results"] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ export function StorySearchResultFromJSON(json) {
28
+ return StorySearchResultFromJSONTyped(json, false);
29
+ }
30
+ export function StorySearchResultFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ status: json["status"],
36
+ numResults: json["numResults"],
37
+ results: json["results"].map(NewsClusterFromJSON),
38
+ };
39
+ }
40
+ export function StorySearchResultToJSON(json) {
41
+ return StorySearchResultToJSONTyped(json, false);
42
+ }
43
+ export function StorySearchResultToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ status: value["status"],
49
+ numResults: value["numResults"],
50
+ results: value["results"].map(NewsClusterToJSON),
51
+ };
52
+ }
@@ -0,0 +1,111 @@
1
+ /**
2
+ * Perigon API
3
+ * The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: data@perigon.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Request body for the Search-Summarizer endpoint. Contains the user’s summary instructions, how many articles to include, which fields to use, the retrieval method, and LLM generation settings.
14
+ * @export
15
+ * @interface SummaryBody
16
+ */
17
+ export interface SummaryBody {
18
+ /**
19
+ * Instructions guiding how the summary should be written. Maximum length: 2 048 characters.
20
+ * @type {string}
21
+ * @memberof SummaryBody
22
+ */
23
+ prompt?: string | null;
24
+ /**
25
+ * The maximum number of articles to factor into the summary.
26
+ * @type {number}
27
+ * @memberof SummaryBody
28
+ */
29
+ maxArticleCount?: number | null;
30
+ /**
31
+ * The maximum number of articles that should be returned in the response. This can be used to return fewer than maxArticleCount results.
32
+ * @type {number}
33
+ * @memberof SummaryBody
34
+ */
35
+ returnedArticleCount?: number | null;
36
+ /**
37
+ * Which article fields to include when generating the summary. Up to three values from TITLE, CONTENT, SUMMARY.
38
+ * @type {string}
39
+ * @memberof SummaryBody
40
+ */
41
+ summarizeFields?: SummaryBodySummarizeFieldsEnum | null;
42
+ /**
43
+ * Method for selecting articles: ARTICLES (include all matches) or CLUSTERS (one per cluster).
44
+ * @type {string}
45
+ * @memberof SummaryBody
46
+ */
47
+ method?: SummaryBodyMethodEnum | null;
48
+ /**
49
+ * The underlying LLM model to use for generation.
50
+ * @type {string}
51
+ * @memberof SummaryBody
52
+ */
53
+ model?: SummaryBodyModelEnum | null;
54
+ /**
55
+ * Sampling temperature for the LLM (0.0 = deterministic to 2.0 = very creative).
56
+ * @type {number}
57
+ * @memberof SummaryBody
58
+ */
59
+ temperature?: number | null;
60
+ /**
61
+ * Nucleus sampling (top-p) for the LLM (0.0 to 1.0).
62
+ * @type {number}
63
+ * @memberof SummaryBody
64
+ */
65
+ topP?: number | null;
66
+ /**
67
+ * Maximum number of tokens to generate in the summary.
68
+ * @type {number}
69
+ * @memberof SummaryBody
70
+ */
71
+ maxTokens?: number | null;
72
+ }
73
+ /**
74
+ * @export
75
+ */
76
+ export declare const SummaryBodySummarizeFieldsEnum: {
77
+ readonly Title: "TITLE";
78
+ readonly Content: "CONTENT";
79
+ readonly Summary: "SUMMARY";
80
+ };
81
+ export type SummaryBodySummarizeFieldsEnum = (typeof SummaryBodySummarizeFieldsEnum)[keyof typeof SummaryBodySummarizeFieldsEnum];
82
+ /**
83
+ * @export
84
+ */
85
+ export declare const SummaryBodyMethodEnum: {
86
+ readonly Articles: "ARTICLES";
87
+ readonly Clusters: "CLUSTERS";
88
+ };
89
+ export type SummaryBodyMethodEnum = (typeof SummaryBodyMethodEnum)[keyof typeof SummaryBodyMethodEnum];
90
+ /**
91
+ * @export
92
+ */
93
+ export declare const SummaryBodyModelEnum: {
94
+ readonly Gpt4o: "gpt-4o";
95
+ readonly Gpt4oMini: "gpt-4o-mini";
96
+ readonly Gpt41: "gpt-4.1";
97
+ readonly Gpt41Mini: "gpt-4.1-mini";
98
+ readonly Gpt41Nano: "gpt-4.1-nano";
99
+ readonly Llama3370bVersatile: "llama-3.3-70b-versatile";
100
+ readonly DeepseekR1DistillLlama70b: "deepseek-r1-distill-llama-70b";
101
+ };
102
+ export type SummaryBodyModelEnum = (typeof SummaryBodyModelEnum)[keyof typeof SummaryBodyModelEnum];
103
+ /**
104
+ * Check if a given object implements the SummaryBody interface.
105
+ */
106
+ export declare function instanceOfSummaryBody(value: object): value is SummaryBody;
107
+ export declare function SummaryBodyFromJSON(json: any): SummaryBody;
108
+ export declare function SummaryBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SummaryBody;
109
+ export declare function SummaryBodyToJSON(json: any): SummaryBody;
110
+ export declare function SummaryBodyToJSONTyped(value?: SummaryBody | null, ignoreDiscriminator?: boolean): any;
111
+ //# sourceMappingURL=SummaryBody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SummaryBody.d.ts","sourceRoot":"","sources":["../../../src/models/SummaryBody.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC;;;;OAIG;IACH,eAAe,CAAC,EAAE,8BAA8B,GAAG,IAAI,CAAC;IACxD;;;;OAIG;IACH,MAAM,CAAC,EAAE,qBAAqB,GAAG,IAAI,CAAC;IACtC;;;;OAIG;IACH,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,CAAC;IACpC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;CAIjC,CAAC;AACX,MAAM,MAAM,8BAA8B,GACxC,CAAC,OAAO,8BAA8B,CAAC,CAAC,MAAM,OAAO,8BAA8B,CAAC,CAAC;AAEvF;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;CAGxB,CAAC;AACX,MAAM,MAAM,qBAAqB,GAC/B,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;CAQvB,CAAC;AACX,MAAM,MAAM,oBAAoB,GAC9B,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC;AAEnE;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,WAAW,CAEzE;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAE1D;AAED,wBAAgB,wBAAwB,CACtC,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC3B,WAAW,CAoBb;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW,CAExD;AAED,wBAAgB,sBAAsB,CACpC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,EAC1B,mBAAmB,GAAE,OAAe,GACnC,GAAG,CAgBL"}
@@ -0,0 +1,86 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Perigon API
5
+ * The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: data@perigon.io
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const SummaryBodySummarizeFieldsEnum = {
18
+ Title: "TITLE",
19
+ Content: "CONTENT",
20
+ Summary: "SUMMARY",
21
+ };
22
+ /**
23
+ * @export
24
+ */
25
+ export const SummaryBodyMethodEnum = {
26
+ Articles: "ARTICLES",
27
+ Clusters: "CLUSTERS",
28
+ };
29
+ /**
30
+ * @export
31
+ */
32
+ export const SummaryBodyModelEnum = {
33
+ Gpt4o: "gpt-4o",
34
+ Gpt4oMini: "gpt-4o-mini",
35
+ Gpt41: "gpt-4.1",
36
+ Gpt41Mini: "gpt-4.1-mini",
37
+ Gpt41Nano: "gpt-4.1-nano",
38
+ Llama3370bVersatile: "llama-3.3-70b-versatile",
39
+ DeepseekR1DistillLlama70b: "deepseek-r1-distill-llama-70b",
40
+ };
41
+ /**
42
+ * Check if a given object implements the SummaryBody interface.
43
+ */
44
+ export function instanceOfSummaryBody(value) {
45
+ return true;
46
+ }
47
+ export function SummaryBodyFromJSON(json) {
48
+ return SummaryBodyFromJSONTyped(json, false);
49
+ }
50
+ export function SummaryBodyFromJSONTyped(json, ignoreDiscriminator) {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+ prompt: json["prompt"] == null ? undefined : json["prompt"],
56
+ maxArticleCount: json["maxArticleCount"] == null ? undefined : json["maxArticleCount"],
57
+ returnedArticleCount: json["returnedArticleCount"] == null
58
+ ? undefined
59
+ : json["returnedArticleCount"],
60
+ summarizeFields: json["summarizeFields"] == null ? undefined : json["summarizeFields"],
61
+ method: json["method"] == null ? undefined : json["method"],
62
+ model: json["model"] == null ? undefined : json["model"],
63
+ temperature: json["temperature"] == null ? undefined : json["temperature"],
64
+ topP: json["topP"] == null ? undefined : json["topP"],
65
+ maxTokens: json["maxTokens"] == null ? undefined : json["maxTokens"],
66
+ };
67
+ }
68
+ export function SummaryBodyToJSON(json) {
69
+ return SummaryBodyToJSONTyped(json, false);
70
+ }
71
+ export function SummaryBodyToJSONTyped(value, ignoreDiscriminator = false) {
72
+ if (value == null) {
73
+ return value;
74
+ }
75
+ return {
76
+ prompt: value["prompt"],
77
+ maxArticleCount: value["maxArticleCount"],
78
+ returnedArticleCount: value["returnedArticleCount"],
79
+ summarizeFields: value["summarizeFields"],
80
+ method: value["method"],
81
+ model: value["model"],
82
+ temperature: value["temperature"],
83
+ topP: value["topP"],
84
+ maxTokens: value["maxTokens"],
85
+ };
86
+ }
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Perigon API
3
+ * The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: data@perigon.io
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Article } from "./Article";
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SummarySearchResult
17
+ */
18
+ export interface SummarySearchResult {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof SummarySearchResult
23
+ */
24
+ status: number;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof SummarySearchResult
29
+ */
30
+ numResults: number;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof SummarySearchResult
35
+ */
36
+ summary: string;
37
+ /**
38
+ *
39
+ * @type {Array<Article>}
40
+ * @memberof SummarySearchResult
41
+ */
42
+ results: Array<Article>;
43
+ }
44
+ /**
45
+ * Check if a given object implements the SummarySearchResult interface.
46
+ */
47
+ export declare function instanceOfSummarySearchResult(value: object): value is SummarySearchResult;
48
+ export declare function SummarySearchResultFromJSON(json: any): SummarySearchResult;
49
+ export declare function SummarySearchResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): SummarySearchResult;
50
+ export declare function SummarySearchResultToJSON(json: any): SummarySearchResult;
51
+ export declare function SummarySearchResultToJSONTyped(value?: SummarySearchResult | null, ignoreDiscriminator?: boolean): any;
52
+ //# sourceMappingURL=SummarySearchResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SummarySearchResult.d.ts","sourceRoot":"","sources":["../../../src/models/SummarySearchResult.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAQzC;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;CACzB;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,MAAM,GACZ,KAAK,IAAI,mBAAmB,CAO9B;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAC9C,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC3B,mBAAmB,CAUrB;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,CAWL"}