@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.
Files changed (447) hide show
  1. package/README.md +3 -37
  2. package/dist/index.cjs +3 -0
  3. package/dist/index.d.ts +6006 -4
  4. package/dist/index.js +3 -21
  5. package/package.json +60 -20
  6. package/dist/apis/V1Api.d.ts +0 -1380
  7. package/dist/apis/V1Api.d.ts.map +0 -1
  8. package/dist/apis/V1Api.js +0 -1270
  9. package/dist/apis/index.d.ts +0 -2
  10. package/dist/apis/index.d.ts.map +0 -1
  11. package/dist/apis/index.js +0 -19
  12. package/dist/esm/apis/V1Api.d.ts +0 -1380
  13. package/dist/esm/apis/V1Api.d.ts.map +0 -1
  14. package/dist/esm/apis/V1Api.js +0 -1233
  15. package/dist/esm/apis/index.d.ts +0 -2
  16. package/dist/esm/apis/index.d.ts.map +0 -1
  17. package/dist/esm/apis/index.js +0 -3
  18. package/dist/esm/index.d.ts +0 -4
  19. package/dist/esm/index.d.ts.map +0 -1
  20. package/dist/esm/index.js +0 -5
  21. package/dist/esm/models/AllEndpointSortBy.d.ts +0 -31
  22. package/dist/esm/models/AllEndpointSortBy.d.ts.map +0 -1
  23. package/dist/esm/models/AllEndpointSortBy.js +0 -48
  24. package/dist/esm/models/Article.d.ts +0 -303
  25. package/dist/esm/models/Article.d.ts.map +0 -1
  26. package/dist/esm/models/Article.js +0 -199
  27. package/dist/esm/models/ArticleSearchFilter.d.ts +0 -286
  28. package/dist/esm/models/ArticleSearchFilter.d.ts.map +0 -1
  29. package/dist/esm/models/ArticleSearchFilter.js +0 -150
  30. package/dist/esm/models/ArticleSearchParams.d.ts +0 -88
  31. package/dist/esm/models/ArticleSearchParams.d.ts.map +0 -1
  32. package/dist/esm/models/ArticleSearchParams.js +0 -72
  33. package/dist/esm/models/AuthException.d.ts +0 -140
  34. package/dist/esm/models/AuthException.d.ts.map +0 -1
  35. package/dist/esm/models/AuthException.js +0 -137
  36. package/dist/esm/models/AuthExceptionCause.d.ts +0 -46
  37. package/dist/esm/models/AuthExceptionCause.d.ts.map +0 -1
  38. package/dist/esm/models/AuthExceptionCause.js +0 -50
  39. package/dist/esm/models/AuthExceptionCauseStackTraceInner.d.ts +0 -75
  40. package/dist/esm/models/AuthExceptionCauseStackTraceInner.d.ts.map +0 -1
  41. package/dist/esm/models/AuthExceptionCauseStackTraceInner.js +0 -55
  42. package/dist/esm/models/AuthExceptionSuppressedInner.d.ts +0 -46
  43. package/dist/esm/models/AuthExceptionSuppressedInner.d.ts.map +0 -1
  44. package/dist/esm/models/AuthExceptionSuppressedInner.js +0 -50
  45. package/dist/esm/models/CategoryHolder.d.ts +0 -33
  46. package/dist/esm/models/CategoryHolder.d.ts.map +0 -1
  47. package/dist/esm/models/CategoryHolder.js +0 -41
  48. package/dist/esm/models/CategoryWithScoreHolder.d.ts +0 -39
  49. package/dist/esm/models/CategoryWithScoreHolder.d.ts.map +0 -1
  50. package/dist/esm/models/CategoryWithScoreHolder.js +0 -43
  51. package/dist/esm/models/Company.d.ts +0 -209
  52. package/dist/esm/models/Company.d.ts.map +0 -1
  53. package/dist/esm/models/Company.js +0 -107
  54. package/dist/esm/models/CompanyCount.d.ts +0 -57
  55. package/dist/esm/models/CompanyCount.d.ts.map +0 -1
  56. package/dist/esm/models/CompanyCount.js +0 -49
  57. package/dist/esm/models/CompanyHolder.d.ts +0 -51
  58. package/dist/esm/models/CompanyHolder.d.ts.map +0 -1
  59. package/dist/esm/models/CompanyHolder.js +0 -47
  60. package/dist/esm/models/CompanySearchResult.d.ts +0 -46
  61. package/dist/esm/models/CompanySearchResult.d.ts.map +0 -1
  62. package/dist/esm/models/CompanySearchResult.js +0 -52
  63. package/dist/esm/models/Coordinate.d.ts +0 -39
  64. package/dist/esm/models/Coordinate.d.ts.map +0 -1
  65. package/dist/esm/models/Coordinate.js +0 -43
  66. package/dist/esm/models/CoordinateFilter.d.ts +0 -45
  67. package/dist/esm/models/CoordinateFilter.d.ts.map +0 -1
  68. package/dist/esm/models/CoordinateFilter.js +0 -45
  69. package/dist/esm/models/EntityHolder.d.ts +0 -45
  70. package/dist/esm/models/EntityHolder.d.ts.map +0 -1
  71. package/dist/esm/models/EntityHolder.js +0 -45
  72. package/dist/esm/models/EventTypeHolder.d.ts +0 -39
  73. package/dist/esm/models/EventTypeHolder.d.ts.map +0 -1
  74. package/dist/esm/models/EventTypeHolder.js +0 -43
  75. package/dist/esm/models/IdNameHolder.d.ts +0 -39
  76. package/dist/esm/models/IdNameHolder.d.ts.map +0 -1
  77. package/dist/esm/models/IdNameHolder.js +0 -43
  78. package/dist/esm/models/IllegalParameterException.d.ts +0 -60
  79. package/dist/esm/models/IllegalParameterException.d.ts.map +0 -1
  80. package/dist/esm/models/IllegalParameterException.js +0 -62
  81. package/dist/esm/models/ImageHolder.d.ts +0 -33
  82. package/dist/esm/models/ImageHolder.d.ts.map +0 -1
  83. package/dist/esm/models/ImageHolder.js +0 -41
  84. package/dist/esm/models/InternalErrorException.d.ts +0 -60
  85. package/dist/esm/models/InternalErrorException.d.ts.map +0 -1
  86. package/dist/esm/models/InternalErrorException.js +0 -62
  87. package/dist/esm/models/InternalErrorExceptionCause.d.ts +0 -46
  88. package/dist/esm/models/InternalErrorExceptionCause.d.ts.map +0 -1
  89. package/dist/esm/models/InternalErrorExceptionCause.js +0 -50
  90. package/dist/esm/models/InternalErrorExceptionCauseStackTraceInner.d.ts +0 -75
  91. package/dist/esm/models/InternalErrorExceptionCauseStackTraceInner.d.ts.map +0 -1
  92. package/dist/esm/models/InternalErrorExceptionCauseStackTraceInner.js +0 -55
  93. package/dist/esm/models/InternalErrorExceptionSuppressedInner.d.ts +0 -46
  94. package/dist/esm/models/InternalErrorExceptionSuppressedInner.d.ts.map +0 -1
  95. package/dist/esm/models/InternalErrorExceptionSuppressedInner.js +0 -50
  96. package/dist/esm/models/Journalist.d.ts +0 -185
  97. package/dist/esm/models/Journalist.d.ts.map +0 -1
  98. package/dist/esm/models/Journalist.js +0 -119
  99. package/dist/esm/models/JournalistSearchResult.d.ts +0 -46
  100. package/dist/esm/models/JournalistSearchResult.d.ts.map +0 -1
  101. package/dist/esm/models/JournalistSearchResult.js +0 -52
  102. package/dist/esm/models/KeyPoint.d.ts +0 -39
  103. package/dist/esm/models/KeyPoint.d.ts.map +0 -1
  104. package/dist/esm/models/KeyPoint.js +0 -43
  105. package/dist/esm/models/KeywordHolder.d.ts +0 -39
  106. package/dist/esm/models/KeywordHolder.d.ts.map +0 -1
  107. package/dist/esm/models/KeywordHolder.js +0 -43
  108. package/dist/esm/models/LabelHolder.d.ts +0 -33
  109. package/dist/esm/models/LabelHolder.d.ts.map +0 -1
  110. package/dist/esm/models/LabelHolder.js +0 -41
  111. package/dist/esm/models/LocationCount.d.ts +0 -57
  112. package/dist/esm/models/LocationCount.d.ts.map +0 -1
  113. package/dist/esm/models/LocationCount.js +0 -49
  114. package/dist/esm/models/LocationHolder.d.ts +0 -57
  115. package/dist/esm/models/LocationHolder.d.ts.map +0 -1
  116. package/dist/esm/models/LocationHolder.js +0 -49
  117. package/dist/esm/models/NameCount.d.ts +0 -39
  118. package/dist/esm/models/NameCount.d.ts.map +0 -1
  119. package/dist/esm/models/NameCount.js +0 -43
  120. package/dist/esm/models/NewsCluster.d.ts +0 -253
  121. package/dist/esm/models/NewsCluster.d.ts.map +0 -1
  122. package/dist/esm/models/NewsCluster.js +0 -191
  123. package/dist/esm/models/NotFoundException.d.ts +0 -60
  124. package/dist/esm/models/NotFoundException.d.ts.map +0 -1
  125. package/dist/esm/models/NotFoundException.js +0 -62
  126. package/dist/esm/models/PeopleSearchResult.d.ts +0 -46
  127. package/dist/esm/models/PeopleSearchResult.d.ts.map +0 -1
  128. package/dist/esm/models/PeopleSearchResult.js +0 -52
  129. package/dist/esm/models/Person.d.ts +0 -116
  130. package/dist/esm/models/Person.d.ts.map +0 -1
  131. package/dist/esm/models/Person.js +0 -90
  132. package/dist/esm/models/PersonCount.d.ts +0 -45
  133. package/dist/esm/models/PersonCount.d.ts.map +0 -1
  134. package/dist/esm/models/PersonCount.js +0 -45
  135. package/dist/esm/models/PersonHolder.d.ts +0 -39
  136. package/dist/esm/models/PersonHolder.d.ts.map +0 -1
  137. package/dist/esm/models/PersonHolder.js +0 -43
  138. package/dist/esm/models/Place.d.ts +0 -118
  139. package/dist/esm/models/Place.d.ts.map +0 -1
  140. package/dist/esm/models/Place.js +0 -72
  141. package/dist/esm/models/QuerySearchResult.d.ts +0 -46
  142. package/dist/esm/models/QuerySearchResult.d.ts.map +0 -1
  143. package/dist/esm/models/QuerySearchResult.js +0 -52
  144. package/dist/esm/models/Question.d.ts +0 -45
  145. package/dist/esm/models/Question.d.ts.map +0 -1
  146. package/dist/esm/models/Question.js +0 -45
  147. package/dist/esm/models/RecordStatHolder.d.ts +0 -39
  148. package/dist/esm/models/RecordStatHolder.d.ts.map +0 -1
  149. package/dist/esm/models/RecordStatHolder.js +0 -43
  150. package/dist/esm/models/ScoredArticle.d.ts +0 -40
  151. package/dist/esm/models/ScoredArticle.d.ts.map +0 -1
  152. package/dist/esm/models/ScoredArticle.js +0 -44
  153. package/dist/esm/models/SentimentHolder.d.ts +0 -45
  154. package/dist/esm/models/SentimentHolder.d.ts.map +0 -1
  155. package/dist/esm/models/SentimentHolder.js +0 -45
  156. package/dist/esm/models/SortBy.d.ts +0 -29
  157. package/dist/esm/models/SortBy.d.ts.map +0 -1
  158. package/dist/esm/models/SortBy.js +0 -46
  159. package/dist/esm/models/Source.d.ts +0 -168
  160. package/dist/esm/models/Source.d.ts.map +0 -1
  161. package/dist/esm/models/Source.js +0 -116
  162. package/dist/esm/models/SourceHolder.d.ts +0 -46
  163. package/dist/esm/models/SourceHolder.d.ts.map +0 -1
  164. package/dist/esm/models/SourceHolder.js +0 -48
  165. package/dist/esm/models/SourceLocation.d.ts +0 -58
  166. package/dist/esm/models/SourceLocation.d.ts.map +0 -1
  167. package/dist/esm/models/SourceLocation.js +0 -52
  168. package/dist/esm/models/SourceSearchResult.d.ts +0 -46
  169. package/dist/esm/models/SourceSearchResult.d.ts.map +0 -1
  170. package/dist/esm/models/SourceSearchResult.js +0 -52
  171. package/dist/esm/models/SourceTopStatHolder.d.ts +0 -39
  172. package/dist/esm/models/SourceTopStatHolder.d.ts.map +0 -1
  173. package/dist/esm/models/SourceTopStatHolder.js +0 -43
  174. package/dist/esm/models/StorySearchResult.d.ts +0 -46
  175. package/dist/esm/models/StorySearchResult.d.ts.map +0 -1
  176. package/dist/esm/models/StorySearchResult.js +0 -52
  177. package/dist/esm/models/SummaryBody.d.ts +0 -111
  178. package/dist/esm/models/SummaryBody.d.ts.map +0 -1
  179. package/dist/esm/models/SummaryBody.js +0 -86
  180. package/dist/esm/models/SummarySearchResult.d.ts +0 -52
  181. package/dist/esm/models/SummarySearchResult.d.ts.map +0 -1
  182. package/dist/esm/models/SummarySearchResult.js +0 -56
  183. package/dist/esm/models/SymbolHolder.d.ts +0 -51
  184. package/dist/esm/models/SymbolHolder.d.ts.map +0 -1
  185. package/dist/esm/models/SymbolHolder.js +0 -47
  186. package/dist/esm/models/TooManyRequestsException.d.ts +0 -140
  187. package/dist/esm/models/TooManyRequestsException.d.ts.map +0 -1
  188. package/dist/esm/models/TooManyRequestsException.js +0 -137
  189. package/dist/esm/models/TooManyRequestsExceptionCause.d.ts +0 -46
  190. package/dist/esm/models/TooManyRequestsExceptionCause.d.ts.map +0 -1
  191. package/dist/esm/models/TooManyRequestsExceptionCause.js +0 -50
  192. package/dist/esm/models/TooManyRequestsExceptionCauseStackTraceInner.d.ts +0 -75
  193. package/dist/esm/models/TooManyRequestsExceptionCauseStackTraceInner.d.ts.map +0 -1
  194. package/dist/esm/models/TooManyRequestsExceptionCauseStackTraceInner.js +0 -55
  195. package/dist/esm/models/TooManyRequestsExceptionSuppressedInner.d.ts +0 -46
  196. package/dist/esm/models/TooManyRequestsExceptionSuppressedInner.d.ts.map +0 -1
  197. package/dist/esm/models/TooManyRequestsExceptionSuppressedInner.js +0 -50
  198. package/dist/esm/models/TopicDto.d.ts +0 -58
  199. package/dist/esm/models/TopicDto.d.ts.map +0 -1
  200. package/dist/esm/models/TopicDto.js +0 -54
  201. package/dist/esm/models/TopicHolder.d.ts +0 -33
  202. package/dist/esm/models/TopicHolder.d.ts.map +0 -1
  203. package/dist/esm/models/TopicHolder.js +0 -41
  204. package/dist/esm/models/TopicLabels.d.ts +0 -39
  205. package/dist/esm/models/TopicLabels.d.ts.map +0 -1
  206. package/dist/esm/models/TopicLabels.js +0 -43
  207. package/dist/esm/models/TopicSearchResult.d.ts +0 -40
  208. package/dist/esm/models/TopicSearchResult.d.ts.map +0 -1
  209. package/dist/esm/models/TopicSearchResult.js +0 -48
  210. package/dist/esm/models/VectorSearchResult.d.ts +0 -40
  211. package/dist/esm/models/VectorSearchResult.d.ts.map +0 -1
  212. package/dist/esm/models/VectorSearchResult.js +0 -48
  213. package/dist/esm/models/WebResources.d.ts +0 -129
  214. package/dist/esm/models/WebResources.d.ts.map +0 -1
  215. package/dist/esm/models/WebResources.js +0 -73
  216. package/dist/esm/models/WikidataDateHolder.d.ts +0 -39
  217. package/dist/esm/models/WikidataDateHolder.d.ts.map +0 -1
  218. package/dist/esm/models/WikidataDateHolder.js +0 -43
  219. package/dist/esm/models/WikidataLabelHolder.d.ts +0 -39
  220. package/dist/esm/models/WikidataLabelHolder.d.ts.map +0 -1
  221. package/dist/esm/models/WikidataLabelHolder.js +0 -43
  222. package/dist/esm/models/WikidataPoliticalPartyHolder.d.ts +0 -52
  223. package/dist/esm/models/WikidataPoliticalPartyHolder.d.ts.map +0 -1
  224. package/dist/esm/models/WikidataPoliticalPartyHolder.js +0 -52
  225. package/dist/esm/models/WikidataPositionHolder.d.ts +0 -59
  226. package/dist/esm/models/WikidataPositionHolder.d.ts.map +0 -1
  227. package/dist/esm/models/WikidataPositionHolder.js +0 -57
  228. package/dist/esm/models/index.d.ts +0 -64
  229. package/dist/esm/models/index.d.ts.map +0 -1
  230. package/dist/esm/models/index.js +0 -65
  231. package/dist/esm/runtime.d.ts +0 -180
  232. package/dist/esm/runtime.d.ts.map +0 -1
  233. package/dist/esm/runtime.js +0 -322
  234. package/dist/index.d.ts.map +0 -1
  235. package/dist/models/AllEndpointSortBy.d.ts +0 -31
  236. package/dist/models/AllEndpointSortBy.d.ts.map +0 -1
  237. package/dist/models/AllEndpointSortBy.js +0 -56
  238. package/dist/models/Article.d.ts +0 -303
  239. package/dist/models/Article.d.ts.map +0 -1
  240. package/dist/models/Article.js +0 -206
  241. package/dist/models/ArticleSearchFilter.d.ts +0 -286
  242. package/dist/models/ArticleSearchFilter.d.ts.map +0 -1
  243. package/dist/models/ArticleSearchFilter.js +0 -157
  244. package/dist/models/ArticleSearchParams.d.ts +0 -88
  245. package/dist/models/ArticleSearchParams.d.ts.map +0 -1
  246. package/dist/models/ArticleSearchParams.js +0 -79
  247. package/dist/models/AuthException.d.ts +0 -140
  248. package/dist/models/AuthException.d.ts.map +0 -1
  249. package/dist/models/AuthException.js +0 -145
  250. package/dist/models/AuthExceptionCause.d.ts +0 -46
  251. package/dist/models/AuthExceptionCause.d.ts.map +0 -1
  252. package/dist/models/AuthExceptionCause.js +0 -57
  253. package/dist/models/AuthExceptionCauseStackTraceInner.d.ts +0 -75
  254. package/dist/models/AuthExceptionCauseStackTraceInner.d.ts.map +0 -1
  255. package/dist/models/AuthExceptionCauseStackTraceInner.js +0 -62
  256. package/dist/models/AuthExceptionSuppressedInner.d.ts +0 -46
  257. package/dist/models/AuthExceptionSuppressedInner.d.ts.map +0 -1
  258. package/dist/models/AuthExceptionSuppressedInner.js +0 -57
  259. package/dist/models/CategoryHolder.d.ts +0 -33
  260. package/dist/models/CategoryHolder.d.ts.map +0 -1
  261. package/dist/models/CategoryHolder.js +0 -48
  262. package/dist/models/CategoryWithScoreHolder.d.ts +0 -39
  263. package/dist/models/CategoryWithScoreHolder.d.ts.map +0 -1
  264. package/dist/models/CategoryWithScoreHolder.js +0 -50
  265. package/dist/models/Company.d.ts +0 -209
  266. package/dist/models/Company.d.ts.map +0 -1
  267. package/dist/models/Company.js +0 -114
  268. package/dist/models/CompanyCount.d.ts +0 -57
  269. package/dist/models/CompanyCount.d.ts.map +0 -1
  270. package/dist/models/CompanyCount.js +0 -56
  271. package/dist/models/CompanyHolder.d.ts +0 -51
  272. package/dist/models/CompanyHolder.d.ts.map +0 -1
  273. package/dist/models/CompanyHolder.js +0 -54
  274. package/dist/models/CompanySearchResult.d.ts +0 -46
  275. package/dist/models/CompanySearchResult.d.ts.map +0 -1
  276. package/dist/models/CompanySearchResult.js +0 -59
  277. package/dist/models/Coordinate.d.ts +0 -39
  278. package/dist/models/Coordinate.d.ts.map +0 -1
  279. package/dist/models/Coordinate.js +0 -50
  280. package/dist/models/CoordinateFilter.d.ts +0 -45
  281. package/dist/models/CoordinateFilter.d.ts.map +0 -1
  282. package/dist/models/CoordinateFilter.js +0 -52
  283. package/dist/models/EntityHolder.d.ts +0 -45
  284. package/dist/models/EntityHolder.d.ts.map +0 -1
  285. package/dist/models/EntityHolder.js +0 -52
  286. package/dist/models/EventTypeHolder.d.ts +0 -39
  287. package/dist/models/EventTypeHolder.d.ts.map +0 -1
  288. package/dist/models/EventTypeHolder.js +0 -50
  289. package/dist/models/IdNameHolder.d.ts +0 -39
  290. package/dist/models/IdNameHolder.d.ts.map +0 -1
  291. package/dist/models/IdNameHolder.js +0 -50
  292. package/dist/models/IllegalParameterException.d.ts +0 -60
  293. package/dist/models/IllegalParameterException.d.ts.map +0 -1
  294. package/dist/models/IllegalParameterException.js +0 -69
  295. package/dist/models/ImageHolder.d.ts +0 -33
  296. package/dist/models/ImageHolder.d.ts.map +0 -1
  297. package/dist/models/ImageHolder.js +0 -48
  298. package/dist/models/InternalErrorException.d.ts +0 -60
  299. package/dist/models/InternalErrorException.d.ts.map +0 -1
  300. package/dist/models/InternalErrorException.js +0 -69
  301. package/dist/models/InternalErrorExceptionCause.d.ts +0 -46
  302. package/dist/models/InternalErrorExceptionCause.d.ts.map +0 -1
  303. package/dist/models/InternalErrorExceptionCause.js +0 -57
  304. package/dist/models/InternalErrorExceptionCauseStackTraceInner.d.ts +0 -75
  305. package/dist/models/InternalErrorExceptionCauseStackTraceInner.d.ts.map +0 -1
  306. package/dist/models/InternalErrorExceptionCauseStackTraceInner.js +0 -62
  307. package/dist/models/InternalErrorExceptionSuppressedInner.d.ts +0 -46
  308. package/dist/models/InternalErrorExceptionSuppressedInner.d.ts.map +0 -1
  309. package/dist/models/InternalErrorExceptionSuppressedInner.js +0 -57
  310. package/dist/models/Journalist.d.ts +0 -185
  311. package/dist/models/Journalist.d.ts.map +0 -1
  312. package/dist/models/Journalist.js +0 -126
  313. package/dist/models/JournalistSearchResult.d.ts +0 -46
  314. package/dist/models/JournalistSearchResult.d.ts.map +0 -1
  315. package/dist/models/JournalistSearchResult.js +0 -59
  316. package/dist/models/KeyPoint.d.ts +0 -39
  317. package/dist/models/KeyPoint.d.ts.map +0 -1
  318. package/dist/models/KeyPoint.js +0 -50
  319. package/dist/models/KeywordHolder.d.ts +0 -39
  320. package/dist/models/KeywordHolder.d.ts.map +0 -1
  321. package/dist/models/KeywordHolder.js +0 -50
  322. package/dist/models/LabelHolder.d.ts +0 -33
  323. package/dist/models/LabelHolder.d.ts.map +0 -1
  324. package/dist/models/LabelHolder.js +0 -48
  325. package/dist/models/LocationCount.d.ts +0 -57
  326. package/dist/models/LocationCount.d.ts.map +0 -1
  327. package/dist/models/LocationCount.js +0 -56
  328. package/dist/models/LocationHolder.d.ts +0 -57
  329. package/dist/models/LocationHolder.d.ts.map +0 -1
  330. package/dist/models/LocationHolder.js +0 -56
  331. package/dist/models/NameCount.d.ts +0 -39
  332. package/dist/models/NameCount.d.ts.map +0 -1
  333. package/dist/models/NameCount.js +0 -50
  334. package/dist/models/NewsCluster.d.ts +0 -253
  335. package/dist/models/NewsCluster.d.ts.map +0 -1
  336. package/dist/models/NewsCluster.js +0 -198
  337. package/dist/models/NotFoundException.d.ts +0 -60
  338. package/dist/models/NotFoundException.d.ts.map +0 -1
  339. package/dist/models/NotFoundException.js +0 -69
  340. package/dist/models/PeopleSearchResult.d.ts +0 -46
  341. package/dist/models/PeopleSearchResult.d.ts.map +0 -1
  342. package/dist/models/PeopleSearchResult.js +0 -59
  343. package/dist/models/Person.d.ts +0 -116
  344. package/dist/models/Person.d.ts.map +0 -1
  345. package/dist/models/Person.js +0 -97
  346. package/dist/models/PersonCount.d.ts +0 -45
  347. package/dist/models/PersonCount.d.ts.map +0 -1
  348. package/dist/models/PersonCount.js +0 -52
  349. package/dist/models/PersonHolder.d.ts +0 -39
  350. package/dist/models/PersonHolder.d.ts.map +0 -1
  351. package/dist/models/PersonHolder.js +0 -50
  352. package/dist/models/Place.d.ts +0 -118
  353. package/dist/models/Place.d.ts.map +0 -1
  354. package/dist/models/Place.js +0 -79
  355. package/dist/models/QuerySearchResult.d.ts +0 -46
  356. package/dist/models/QuerySearchResult.d.ts.map +0 -1
  357. package/dist/models/QuerySearchResult.js +0 -59
  358. package/dist/models/Question.d.ts +0 -45
  359. package/dist/models/Question.d.ts.map +0 -1
  360. package/dist/models/Question.js +0 -52
  361. package/dist/models/RecordStatHolder.d.ts +0 -39
  362. package/dist/models/RecordStatHolder.d.ts.map +0 -1
  363. package/dist/models/RecordStatHolder.js +0 -50
  364. package/dist/models/ScoredArticle.d.ts +0 -40
  365. package/dist/models/ScoredArticle.d.ts.map +0 -1
  366. package/dist/models/ScoredArticle.js +0 -51
  367. package/dist/models/SentimentHolder.d.ts +0 -45
  368. package/dist/models/SentimentHolder.d.ts.map +0 -1
  369. package/dist/models/SentimentHolder.js +0 -52
  370. package/dist/models/SortBy.d.ts +0 -29
  371. package/dist/models/SortBy.d.ts.map +0 -1
  372. package/dist/models/SortBy.js +0 -54
  373. package/dist/models/Source.d.ts +0 -168
  374. package/dist/models/Source.d.ts.map +0 -1
  375. package/dist/models/Source.js +0 -123
  376. package/dist/models/SourceHolder.d.ts +0 -46
  377. package/dist/models/SourceHolder.d.ts.map +0 -1
  378. package/dist/models/SourceHolder.js +0 -55
  379. package/dist/models/SourceLocation.d.ts +0 -58
  380. package/dist/models/SourceLocation.d.ts.map +0 -1
  381. package/dist/models/SourceLocation.js +0 -59
  382. package/dist/models/SourceSearchResult.d.ts +0 -46
  383. package/dist/models/SourceSearchResult.d.ts.map +0 -1
  384. package/dist/models/SourceSearchResult.js +0 -59
  385. package/dist/models/SourceTopStatHolder.d.ts +0 -39
  386. package/dist/models/SourceTopStatHolder.d.ts.map +0 -1
  387. package/dist/models/SourceTopStatHolder.js +0 -50
  388. package/dist/models/StorySearchResult.d.ts +0 -46
  389. package/dist/models/StorySearchResult.d.ts.map +0 -1
  390. package/dist/models/StorySearchResult.js +0 -59
  391. package/dist/models/SummaryBody.d.ts +0 -111
  392. package/dist/models/SummaryBody.d.ts.map +0 -1
  393. package/dist/models/SummaryBody.js +0 -94
  394. package/dist/models/SummarySearchResult.d.ts +0 -52
  395. package/dist/models/SummarySearchResult.d.ts.map +0 -1
  396. package/dist/models/SummarySearchResult.js +0 -63
  397. package/dist/models/SymbolHolder.d.ts +0 -51
  398. package/dist/models/SymbolHolder.d.ts.map +0 -1
  399. package/dist/models/SymbolHolder.js +0 -54
  400. package/dist/models/TooManyRequestsException.d.ts +0 -140
  401. package/dist/models/TooManyRequestsException.d.ts.map +0 -1
  402. package/dist/models/TooManyRequestsException.js +0 -145
  403. package/dist/models/TooManyRequestsExceptionCause.d.ts +0 -46
  404. package/dist/models/TooManyRequestsExceptionCause.d.ts.map +0 -1
  405. package/dist/models/TooManyRequestsExceptionCause.js +0 -57
  406. package/dist/models/TooManyRequestsExceptionCauseStackTraceInner.d.ts +0 -75
  407. package/dist/models/TooManyRequestsExceptionCauseStackTraceInner.d.ts.map +0 -1
  408. package/dist/models/TooManyRequestsExceptionCauseStackTraceInner.js +0 -62
  409. package/dist/models/TooManyRequestsExceptionSuppressedInner.d.ts +0 -46
  410. package/dist/models/TooManyRequestsExceptionSuppressedInner.d.ts.map +0 -1
  411. package/dist/models/TooManyRequestsExceptionSuppressedInner.js +0 -57
  412. package/dist/models/TopicDto.d.ts +0 -58
  413. package/dist/models/TopicDto.d.ts.map +0 -1
  414. package/dist/models/TopicDto.js +0 -61
  415. package/dist/models/TopicHolder.d.ts +0 -33
  416. package/dist/models/TopicHolder.d.ts.map +0 -1
  417. package/dist/models/TopicHolder.js +0 -48
  418. package/dist/models/TopicLabels.d.ts +0 -39
  419. package/dist/models/TopicLabels.d.ts.map +0 -1
  420. package/dist/models/TopicLabels.js +0 -50
  421. package/dist/models/TopicSearchResult.d.ts +0 -40
  422. package/dist/models/TopicSearchResult.d.ts.map +0 -1
  423. package/dist/models/TopicSearchResult.js +0 -55
  424. package/dist/models/VectorSearchResult.d.ts +0 -40
  425. package/dist/models/VectorSearchResult.d.ts.map +0 -1
  426. package/dist/models/VectorSearchResult.js +0 -55
  427. package/dist/models/WebResources.d.ts +0 -129
  428. package/dist/models/WebResources.d.ts.map +0 -1
  429. package/dist/models/WebResources.js +0 -80
  430. package/dist/models/WikidataDateHolder.d.ts +0 -39
  431. package/dist/models/WikidataDateHolder.d.ts.map +0 -1
  432. package/dist/models/WikidataDateHolder.js +0 -50
  433. package/dist/models/WikidataLabelHolder.d.ts +0 -39
  434. package/dist/models/WikidataLabelHolder.d.ts.map +0 -1
  435. package/dist/models/WikidataLabelHolder.js +0 -50
  436. package/dist/models/WikidataPoliticalPartyHolder.d.ts +0 -52
  437. package/dist/models/WikidataPoliticalPartyHolder.d.ts.map +0 -1
  438. package/dist/models/WikidataPoliticalPartyHolder.js +0 -59
  439. package/dist/models/WikidataPositionHolder.d.ts +0 -59
  440. package/dist/models/WikidataPositionHolder.d.ts.map +0 -1
  441. package/dist/models/WikidataPositionHolder.js +0 -64
  442. package/dist/models/index.d.ts +0 -64
  443. package/dist/models/index.d.ts.map +0 -1
  444. package/dist/models/index.js +0 -81
  445. package/dist/runtime.d.ts +0 -180
  446. package/dist/runtime.d.ts.map +0 -1
  447. package/dist/runtime.js +0 -338
@@ -1,286 +0,0 @@
1
- /**
2
- * Perigon API
3
- * The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: data@perigon.io
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { CoordinateFilter } from "./CoordinateFilter";
13
- /**
14
- * A versatile filter object to refine search results based on articles, clusters, sources, languages, categories, locations, companies, and people. Supports logical operators (AND, OR, NOT) for complex queries. Accepts single values or arrays, with arrays applied as OR operations.
15
- * @export
16
- * @interface ArticleSearchFilter
17
- */
18
- export interface ArticleSearchFilter {
19
- /**
20
- * Filter by specific article(s). Array of article IDs. For convenience, a single string ID is also accepted.
21
- * @type {Array<string>}
22
- * @memberof ArticleSearchFilter
23
- */
24
- articleId?: Array<string> | null;
25
- /**
26
- * Filter by specific cluster(s). Accepts either a single string or an array of strings.
27
- * @type {Array<string>}
28
- * @memberof ArticleSearchFilter
29
- */
30
- clusterId?: Array<string> | null;
31
- /**
32
- * Filter by specific source(s). Accepts either a single string or an array of strings.
33
- * @type {Array<string>}
34
- * @memberof ArticleSearchFilter
35
- */
36
- source?: Array<string> | null;
37
- /**
38
- * The domain of the website, which should be excluded from the search. Multiple parameters could be provided. Wildcards (* and ?) are suported (e.g. *.cnn.com).
39
- * @type {Array<string>}
40
- * @memberof ArticleSearchFilter
41
- */
42
- excludeSource?: Array<string> | null;
43
- /**
44
- * Filter by specific source group, for example: 'top100'. Accepts either a single string or an array of strings.
45
- * @type {Array<string>}
46
- * @memberof ArticleSearchFilter
47
- */
48
- sourceGroup?: Array<string> | null;
49
- /**
50
- * Language code to filter by language. If an array parameters are passed, they will be applied as OR operations. For example: ['en', 'es']. Language ISO codes must be provided.
51
- * @type {Array<string>}
52
- * @memberof ArticleSearchFilter
53
- */
54
- language?: Array<string> | null;
55
- /**
56
- * A list of languages to be excluded. Any article published in one of the languages provided in this filter will not be returned. This is useful when you are interested only in news published in specific languages.
57
- * @type {Array<string>}
58
- * @memberof ArticleSearchFilter
59
- */
60
- excludeLanguage?: Array<string> | null;
61
- /**
62
- * Labels to filter by, could be 'Opinion', 'Paid-news', 'Non-news', etc. If multiple parameters are passed, they will be applied as OR operations.
63
- * @type {Array<string>}
64
- * @memberof ArticleSearchFilter
65
- */
66
- label?: Array<string> | null;
67
- /**
68
- * Exclude results that include specific labels (Opinion, Non-news, Paid News, etc.). You can filter multiple by repeating the parameter.
69
- * @type {Array<string>}
70
- * @memberof ArticleSearchFilter
71
- */
72
- excludeLabel?: Array<string> | null;
73
- /**
74
- * Filters by Google Content Categories. This field will accept 1 or more categories, must pass the full name of the category. Example: taxonomy=/Finance/Banking/Other, /Finance/Investing/Funds
75
- * @type {Array<string>}
76
- * @memberof ArticleSearchFilter
77
- */
78
- taxonomy?: Array<string> | null;
79
- /**
80
- * Filter by categories. Categories are general themes that the article is about. Examples of categories: Tech, Politics, etc. If multiple parameters are passed, they will be applied as OR operations. Use 'none' to search uncategorized articles.
81
- * @type {Array<string>}
82
- * @memberof ArticleSearchFilter
83
- */
84
- category?: Array<string> | null;
85
- /**
86
- * Filter by topics. Each topic is some kind of entity that the article is about. Examples of topics: Markets, Joe Biden, Green Energy, Climate Change, Cryptocurrency, etc. If multiple parameters are passed, they will be applied as OR operations.
87
- * @type {Array<string>}
88
- * @memberof ArticleSearchFilter
89
- */
90
- topic?: Array<string> | null;
91
- /**
92
- * Filter by excluding topics. Each topic is some kind of entity that the article is about. Examples of topics: Markets, Joe Biden, Green Energy, Climate Change, Cryptocurrency, etc. If multiple parameters are passed, they will be applied as OR operations.
93
- * @type {Array<string>}
94
- * @memberof ArticleSearchFilter
95
- */
96
- excludeTopic?: Array<string> | null;
97
- /**
98
- * Country code to filter by country. If multiple parameters are passed, they will be applied as OR operations. Only accepts country ISO codes.
99
- * @type {Array<string>}
100
- * @memberof ArticleSearchFilter
101
- */
102
- country?: Array<string> | null;
103
- /**
104
- * Excludes articles from specific countries in the vector search results. Accepts a list of country codes (e.g., 'US', 'UK', 'CA'). Use this parameter to filter out articles published in countries you don't want to include in your search results. See the Country and Language Support section in the documentation for a full list of supported country codes.
105
- * @type {Array<string>}
106
- * @memberof ArticleSearchFilter
107
- */
108
- excludeCountry?: Array<string> | null;
109
- /**
110
- * Filters articles where a specified country plays a central role in the content, beyond mere mentions, to ensure the results are deeply relevant to the country in question. If multiple parameters are passed, they will be applied as OR operations. Only accepts country ISO codes.
111
- * @type {Array<string>}
112
- * @memberof ArticleSearchFilter
113
- */
114
- locationsCountry?: Array<string> | null;
115
- /**
116
- * Excludes articles where a specified country plays a central role in the content, ensuring results are not deeply relevant to the country in question. If multiple parameters are passed, they will be applied as AND operations, excluding articles relevant to any of the specified countries.
117
- * @type {Array<string>}
118
- * @memberof ArticleSearchFilter
119
- */
120
- excludeLocationsCountry?: Array<string> | null;
121
- /**
122
- * Filters articles where a specified state plays a central role in the content, beyond mere mentions, to ensure the results are deeply relevant to the state in question. If multiple parameters are passed, they will be applied as OR operations. Only accepts state ISO codes.
123
- * @type {Array<string>}
124
- * @memberof ArticleSearchFilter
125
- */
126
- state?: Array<string> | null;
127
- /**
128
- * A list of states to exclude. Articles that include, or are associated with, any of the states provided here will be filtered out. This is especially useful if you want to ignore news tied to certain geographical areas (e.g., US states).
129
- * @type {Array<string>}
130
- * @memberof ArticleSearchFilter
131
- */
132
- excludeState?: Array<string> | null;
133
- /**
134
- * Filters articles where a specified state plays a central role in the content, beyond mere mentions, to ensure the results are deeply relevant to the state in question. If multiple parameters are passed, they will be applied as OR operations.
135
- * @type {Array<string>}
136
- * @memberof ArticleSearchFilter
137
- */
138
- county?: Array<string> | null;
139
- /**
140
- * Excludes articles from specific counties or administrative divisions in the vector search results. Accepts either a single county name or a list of county names. County names should match the format used in article metadata (e.g., 'Los Angeles County', 'Cook County'). This parameter allows for more granular geographic filter
141
- * @type {Array<string>}
142
- * @memberof ArticleSearchFilter
143
- */
144
- excludeCounty?: Array<string> | null;
145
- /**
146
- * Filters articles where a specified city plays a central role in the content, beyond mere mentions, to ensure the results are deeply relevant to the urban area in question. If multiple parameters are passed, they will be applied as OR operations.
147
- * @type {Array<string>}
148
- * @memberof ArticleSearchFilter
149
- */
150
- city?: Array<string> | null;
151
- /**
152
- * A list of cities to exclude from the results. Articles that are associated with any of the specified cities will be filtered out.
153
- * @type {Array<string>}
154
- * @memberof ArticleSearchFilter
155
- */
156
- excludeCity?: Array<string> | null;
157
- /**
158
- * Find articles published by sources that are located within a given country. Must be 2 character country code (i.e. us, gb, etc).
159
- * @type {Array<string>}
160
- * @memberof ArticleSearchFilter
161
- */
162
- sourceCountry?: Array<string> | null;
163
- /**
164
- * Find articles published by sources that are located within a given state.
165
- * @type {Array<string>}
166
- * @memberof ArticleSearchFilter
167
- */
168
- sourceState?: Array<string> | null;
169
- /**
170
- * Find articles published by sources that are located within a given county.
171
- * @type {Array<string>}
172
- * @memberof ArticleSearchFilter
173
- */
174
- sourceCounty?: Array<string> | null;
175
- /**
176
- * Find articles published by sources that are located within a given city.
177
- * @type {Array<string>}
178
- * @memberof ArticleSearchFilter
179
- */
180
- sourceCity?: Array<string> | null;
181
- /**
182
- *
183
- * @type {CoordinateFilter}
184
- * @memberof ArticleSearchFilter
185
- */
186
- coordinates?: CoordinateFilter;
187
- /**
188
- *
189
- * @type {CoordinateFilter}
190
- * @memberof ArticleSearchFilter
191
- */
192
- sourceCoordinates?: CoordinateFilter;
193
- /**
194
- * List of company IDs to filter by.
195
- * @type {Array<string>}
196
- * @memberof ArticleSearchFilter
197
- */
198
- companyId?: Array<string> | null;
199
- /**
200
- * A list of company identifiers. Articles associated with companies that have any of these unique IDs will be filtered out from the returned results, ensuring that certain companies or corporate entities are not included.
201
- * @type {Array<string>}
202
- * @memberof ArticleSearchFilter
203
- */
204
- excludeCompanyId?: Array<string> | null;
205
- /**
206
- * Search by company domains for filtering. E.g. companyDomain=apple.com.
207
- * @type {Array<string>}
208
- * @memberof ArticleSearchFilter
209
- */
210
- companyDomain?: Array<string> | null;
211
- /**
212
- * A list of company domains to exclude. If an article is related to a company that uses one of the specified domains (for instance, "example.com"), it will not be returned in the results.
213
- * @type {Array<string>}
214
- * @memberof ArticleSearchFilter
215
- */
216
- excludeCompanyDomain?: Array<string> | null;
217
- /**
218
- * Search by company symbols.
219
- * @type {Array<string>}
220
- * @memberof ArticleSearchFilter
221
- */
222
- companySymbol?: Array<string> | null;
223
- /**
224
- * A list of stock symbols (ticker symbols) that identify companies to be excluded. Articles related to companies using any of these symbols will be omitted, which is useful for targeting or avoiding specific public companies.
225
- * @type {Array<string>}
226
- * @memberof ArticleSearchFilter
227
- */
228
- excludeCompanySymbol?: Array<string> | null;
229
- /**
230
- * Search by company name.
231
- * @type {Array<string>}
232
- * @memberof ArticleSearchFilter
233
- */
234
- companyName?: Array<string> | null;
235
- /**
236
- * List of person Wikidata IDs for filtering.
237
- * @type {Array<string>}
238
- * @memberof ArticleSearchFilter
239
- */
240
- personWikidataId?: Array<string> | null;
241
- /**
242
- * A list of Wikidata identifiers for individuals. Articles mentioning persons with any of these Wikidata IDs will be filtered out. This is particularly helpful when using a unique identifier to prevent ambiguity in names.
243
- * @type {Array<string>}
244
- * @memberof ArticleSearchFilter
245
- */
246
- excludePersonWikidataId?: Array<string> | null;
247
- /**
248
- * List of person names for exact matches. Boolean and complex logic is not supported on this filter.
249
- * @type {Array<string>}
250
- * @memberof ArticleSearchFilter
251
- */
252
- personName?: Array<string> | null;
253
- /**
254
- * A list of person names that, when associated with the content, cause the article to be excluded. This filter removes articles related to any individuals whose names match those on the list.
255
- * @type {Array<string>}
256
- * @memberof ArticleSearchFilter
257
- */
258
- excludePersonName?: Array<string> | null;
259
- /**
260
- * Adds additional AND filter objects. These objects must be of the same type as the original filter object and will be combined with the existing filter using the AND logical operator.
261
- * @type {Array<ArticleSearchFilter>}
262
- * @memberof ArticleSearchFilter
263
- */
264
- aND?: Array<ArticleSearchFilter> | null;
265
- /**
266
- * Adds additional OR filter objects. These objects must be of the same type as the original filter object and will be combined with the existing filter using the OR logical operator.
267
- * @type {Array<ArticleSearchFilter>}
268
- * @memberof ArticleSearchFilter
269
- */
270
- oR?: Array<ArticleSearchFilter> | null;
271
- /**
272
- * A filter object for logical NOT operations
273
- * @type {Array<ArticleSearchFilter>}
274
- * @memberof ArticleSearchFilter
275
- */
276
- nOT?: Array<ArticleSearchFilter> | null;
277
- }
278
- /**
279
- * Check if a given object implements the ArticleSearchFilter interface.
280
- */
281
- export declare function instanceOfArticleSearchFilter(value: object): value is ArticleSearchFilter;
282
- export declare function ArticleSearchFilterFromJSON(json: any): ArticleSearchFilter;
283
- export declare function ArticleSearchFilterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArticleSearchFilter;
284
- export declare function ArticleSearchFilterToJSON(json: any): ArticleSearchFilter;
285
- export declare function ArticleSearchFilterToJSONTyped(value?: ArticleSearchFilter | null, ignoreDiscriminator?: boolean): any;
286
- //# sourceMappingURL=ArticleSearchFilter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ArticleSearchFilter.d.ts","sourceRoot":"","sources":["../../src/models/ArticleSearchFilter.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAQ3D;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MA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on API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: data@perigon.io
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfArticleSearchFilter = instanceOfArticleSearchFilter;
17
- exports.ArticleSearchFilterFromJSON = ArticleSearchFilterFromJSON;
18
- exports.ArticleSearchFilterFromJSONTyped = ArticleSearchFilterFromJSONTyped;
19
- exports.ArticleSearchFilterToJSON = ArticleSearchFilterToJSON;
20
- exports.ArticleSearchFilterToJSONTyped = ArticleSearchFilterToJSONTyped;
21
- const CoordinateFilter_1 = require("./CoordinateFilter");
22
- /**
23
- * Check if a given object implements the ArticleSearchFilter interface.
24
- */
25
- function instanceOfArticleSearchFilter(value) {
26
- return true;
27
- }
28
- function ArticleSearchFilterFromJSON(json) {
29
- return ArticleSearchFilterFromJSONTyped(json, false);
30
- }
31
- function ArticleSearchFilterFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- articleId: json["articleId"] == null ? undefined : json["articleId"],
37
- clusterId: json["clusterId"] == null ? undefined : json["clusterId"],
38
- source: json["source"] == null ? undefined : json["source"],
39
- excludeSource: json["excludeSource"] == null ? undefined : json["excludeSource"],
40
- sourceGroup: json["sourceGroup"] == null ? undefined : json["sourceGroup"],
41
- language: json["language"] == null ? undefined : json["language"],
42
- excludeLanguage: json["excludeLanguage"] == null ? undefined : json["excludeLanguage"],
43
- label: json["label"] == null ? undefined : json["label"],
44
- excludeLabel: json["excludeLabel"] == null ? undefined : json["excludeLabel"],
45
- taxonomy: json["taxonomy"] == null ? undefined : json["taxonomy"],
46
- category: json["category"] == null ? undefined : json["category"],
47
- topic: json["topic"] == null ? undefined : json["topic"],
48
- excludeTopic: json["excludeTopic"] == null ? undefined : json["excludeTopic"],
49
- country: json["country"] == null ? undefined : json["country"],
50
- excludeCountry: json["excludeCountry"] == null ? undefined : json["excludeCountry"],
51
- locationsCountry: json["locationsCountry"] == null ? undefined : json["locationsCountry"],
52
- excludeLocationsCountry: json["excludeLocationsCountry"] == null
53
- ? undefined
54
- : json["excludeLocationsCountry"],
55
- state: json["state"] == null ? undefined : json["state"],
56
- excludeState: json["excludeState"] == null ? undefined : json["excludeState"],
57
- county: json["county"] == null ? undefined : json["county"],
58
- excludeCounty: json["excludeCounty"] == null ? undefined : json["excludeCounty"],
59
- city: json["city"] == null ? undefined : json["city"],
60
- excludeCity: json["excludeCity"] == null ? undefined : json["excludeCity"],
61
- sourceCountry: json["sourceCountry"] == null ? undefined : json["sourceCountry"],
62
- sourceState: json["sourceState"] == null ? undefined : json["sourceState"],
63
- sourceCounty: json["sourceCounty"] == null ? undefined : json["sourceCounty"],
64
- sourceCity: json["sourceCity"] == null ? undefined : json["sourceCity"],
65
- coordinates: json["coordinates"] == null
66
- ? undefined
67
- : (0, CoordinateFilter_1.CoordinateFilterFromJSON)(json["coordinates"]),
68
- sourceCoordinates: json["sourceCoordinates"] == null
69
- ? undefined
70
- : (0, CoordinateFilter_1.CoordinateFilterFromJSON)(json["sourceCoordinates"]),
71
- companyId: json["companyId"] == null ? undefined : json["companyId"],
72
- excludeCompanyId: json["excludeCompanyId"] == null ? undefined : json["excludeCompanyId"],
73
- companyDomain: json["companyDomain"] == null ? undefined : json["companyDomain"],
74
- excludeCompanyDomain: json["excludeCompanyDomain"] == null
75
- ? undefined
76
- : json["excludeCompanyDomain"],
77
- companySymbol: json["companySymbol"] == null ? undefined : json["companySymbol"],
78
- excludeCompanySymbol: json["excludeCompanySymbol"] == null
79
- ? undefined
80
- : json["excludeCompanySymbol"],
81
- companyName: json["companyName"] == null ? undefined : json["companyName"],
82
- personWikidataId: json["personWikidataId"] == null ? undefined : json["personWikidataId"],
83
- excludePersonWikidataId: json["excludePersonWikidataId"] == null
84
- ? undefined
85
- : json["excludePersonWikidataId"],
86
- personName: json["personName"] == null ? undefined : json["personName"],
87
- excludePersonName: json["excludePersonName"] == null ? undefined : json["excludePersonName"],
88
- aND: json["AND"] == null
89
- ? undefined
90
- : json["AND"].map(ArticleSearchFilterFromJSON),
91
- oR: json["OR"] == null
92
- ? undefined
93
- : json["OR"].map(ArticleSearchFilterFromJSON),
94
- nOT: json["NOT"] == null
95
- ? undefined
96
- : json["NOT"].map(ArticleSearchFilterFromJSON),
97
- };
98
- }
99
- function ArticleSearchFilterToJSON(json) {
100
- return ArticleSearchFilterToJSONTyped(json, false);
101
- }
102
- function ArticleSearchFilterToJSONTyped(value, ignoreDiscriminator = false) {
103
- if (value == null) {
104
- return value;
105
- }
106
- return {
107
- articleId: value["articleId"],
108
- clusterId: value["clusterId"],
109
- source: value["source"],
110
- excludeSource: value["excludeSource"],
111
- sourceGroup: value["sourceGroup"],
112
- language: value["language"],
113
- excludeLanguage: value["excludeLanguage"],
114
- label: value["label"],
115
- excludeLabel: value["excludeLabel"],
116
- taxonomy: value["taxonomy"],
117
- category: value["category"],
118
- topic: value["topic"],
119
- excludeTopic: value["excludeTopic"],
120
- country: value["country"],
121
- excludeCountry: value["excludeCountry"],
122
- locationsCountry: value["locationsCountry"],
123
- excludeLocationsCountry: value["excludeLocationsCountry"],
124
- state: value["state"],
125
- excludeState: value["excludeState"],
126
- county: value["county"],
127
- excludeCounty: value["excludeCounty"],
128
- city: value["city"],
129
- excludeCity: value["excludeCity"],
130
- sourceCountry: value["sourceCountry"],
131
- sourceState: value["sourceState"],
132
- sourceCounty: value["sourceCounty"],
133
- sourceCity: value["sourceCity"],
134
- coordinates: (0, CoordinateFilter_1.CoordinateFilterToJSON)(value["coordinates"]),
135
- sourceCoordinates: (0, CoordinateFilter_1.CoordinateFilterToJSON)(value["sourceCoordinates"]),
136
- companyId: value["companyId"],
137
- excludeCompanyId: value["excludeCompanyId"],
138
- companyDomain: value["companyDomain"],
139
- excludeCompanyDomain: value["excludeCompanyDomain"],
140
- companySymbol: value["companySymbol"],
141
- excludeCompanySymbol: value["excludeCompanySymbol"],
142
- companyName: value["companyName"],
143
- personWikidataId: value["personWikidataId"],
144
- excludePersonWikidataId: value["excludePersonWikidataId"],
145
- personName: value["personName"],
146
- excludePersonName: value["excludePersonName"],
147
- AND: value["aND"] == null
148
- ? undefined
149
- : value["aND"].map(ArticleSearchFilterToJSON),
150
- OR: value["oR"] == null
151
- ? undefined
152
- : value["oR"].map(ArticleSearchFilterToJSON),
153
- NOT: value["nOT"] == null
154
- ? undefined
155
- : value["nOT"].map(ArticleSearchFilterToJSON),
156
- };
157
- }
@@ -1,88 +0,0 @@
1
- /**
2
- * Perigon API
3
- * The Perigon API provides access to comprehensive news and web content data. To use the API, simply sign up for a Perigon Business Solutions account to obtain your API key. Your available features may vary based on your plan. See the Authentication section for details on how to use your API key.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: data@perigon.io
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { ArticleSearchFilter } from "./ArticleSearchFilter";
13
- /**
14
- *
15
- * @export
16
- * @interface ArticleSearchParams
17
- */
18
- export interface ArticleSearchParams {
19
- /**
20
- * Natural language query to search the news articles database
21
- * @type {string}
22
- * @memberof ArticleSearchParams
23
- */
24
- prompt: string;
25
- /**
26
- *
27
- * @type {ArticleSearchFilter}
28
- * @memberof ArticleSearchParams
29
- */
30
- filter?: ArticleSearchFilter;
31
- /**
32
- * 'pubDateFrom' filter, will search articles published after the specified date, the date could be passed as ISO or 'yyyy-mm-dd'. Date time in ISO format, ie. 2024-01-01T00:00:00 - Default: Only articles with a pubDate within the last 30 days of the request
33
- * @type {Date}
34
- * @memberof ArticleSearchParams
35
- */
36
- pubDateFrom?: Date | null;
37
- /**
38
- * 'pubDateFrom' filter, will search articles published before the specified date, the date could be passed as ISO or 'yyyy-mm-dd'. Date time in ISO format, ie. 2024-01-01T00:00:00
39
- * @type {Date}
40
- * @memberof ArticleSearchParams
41
- */
42
- pubDateTo?: Date | null;
43
- /**
44
- * Whether to return reprints in the response or not. Reprints are usually wired articles from sources like AP or Reuters that are reprinted in multiple sources at the same time. By default, this parameter is 'true'.
45
- * @type {boolean}
46
- * @memberof ArticleSearchParams
47
- */
48
- showReprints?: boolean | null;
49
- /**
50
- * The number of items per page.
51
- * @type {number}
52
- * @memberof ArticleSearchParams
53
- */
54
- size?: number | null;
55
- /**
56
- * The page number to retrieve.
57
- * @type {number}
58
- * @memberof ArticleSearchParams
59
- */
60
- page?: number | null;
61
- /**
62
- *
63
- * @type {Date}
64
- * @memberof ArticleSearchParams
65
- */
66
- addDateFrom?: Date | null;
67
- /**
68
- *
69
- * @type {Date}
70
- * @memberof ArticleSearchParams
71
- */
72
- addDateTo?: Date | null;
73
- /**
74
- *
75
- * @type {number}
76
- * @memberof ArticleSearchParams
77
- */
78
- scoreThreshold?: number | null;
79
- }
80
- /**
81
- * Check if a given object implements the ArticleSearchParams interface.
82
- */
83
- export declare function instanceOfArticleSearchParams(value: object): value is ArticleSearchParams;
84
- export declare function ArticleSearchParamsFromJSON(json: any): ArticleSearchParams;
85
- export declare function ArticleSearchParamsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ArticleSearchParams;
86
- export declare function ArticleSearchParamsToJSON(json: any): ArticleSearchParams;
87
- export declare function ArticleSearchParamsToJSONTyped(value?: ArticleSearchParams | null, ignoreDiscriminator?: boolean): any;
88
- //# sourceMappingURL=ArticleSearchParams.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ArticleSearchParams.d.ts","sourceRoot":"","sources":["../../src/models/ArticleSearchParams.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAQjE;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B;;;;OAIG;IACH,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,MAAM,GACZ,KAAK,IAAI,mBAAmB,CAG9B;AAED,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAE1E;AAED,wBAAgB,gCAAgC,CAC9C,IAAI,EAAE,GAAG,EACT,mBAAmB,EAAE,OAAO,GAC3B,mBAAmB,CAyBrB;AAED,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,GAAG,GAAG,mBAAmB,CAExE;AAED,wBAAgB,8BAA8B,CAC5C,KAAK,CAAC,EAAE,mBAAmB,GAAG,IAAI,EAClC,mBAAmB,GAAE,OAAe,GACnC,GAAG,CA6BL"}
@@ -1,79 +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
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfArticleSearchParams = instanceOfArticleSearchParams;
17
- exports.ArticleSearchParamsFromJSON = ArticleSearchParamsFromJSON;
18
- exports.ArticleSearchParamsFromJSONTyped = ArticleSearchParamsFromJSONTyped;
19
- exports.ArticleSearchParamsToJSON = ArticleSearchParamsToJSON;
20
- exports.ArticleSearchParamsToJSONTyped = ArticleSearchParamsToJSONTyped;
21
- const ArticleSearchFilter_1 = require("./ArticleSearchFilter");
22
- /**
23
- * Check if a given object implements the ArticleSearchParams interface.
24
- */
25
- function instanceOfArticleSearchParams(value) {
26
- if (!("prompt" in value) || value["prompt"] === undefined)
27
- return false;
28
- return true;
29
- }
30
- function ArticleSearchParamsFromJSON(json) {
31
- return ArticleSearchParamsFromJSONTyped(json, false);
32
- }
33
- function ArticleSearchParamsFromJSONTyped(json, ignoreDiscriminator) {
34
- if (json == null) {
35
- return json;
36
- }
37
- return {
38
- prompt: json["prompt"],
39
- filter: json["filter"] == null
40
- ? undefined
41
- : (0, ArticleSearchFilter_1.ArticleSearchFilterFromJSON)(json["filter"]),
42
- pubDateFrom: json["pubDateFrom"] == null ? undefined : new Date(json["pubDateFrom"]),
43
- pubDateTo: json["pubDateTo"] == null ? undefined : new Date(json["pubDateTo"]),
44
- showReprints: json["showReprints"] == null ? undefined : json["showReprints"],
45
- size: json["size"] == null ? undefined : json["size"],
46
- page: json["page"] == null ? undefined : json["page"],
47
- addDateFrom: json["addDateFrom"] == null ? undefined : new Date(json["addDateFrom"]),
48
- addDateTo: json["addDateTo"] == null ? undefined : new Date(json["addDateTo"]),
49
- scoreThreshold: json["scoreThreshold"] == null ? undefined : json["scoreThreshold"],
50
- };
51
- }
52
- function ArticleSearchParamsToJSON(json) {
53
- return ArticleSearchParamsToJSONTyped(json, false);
54
- }
55
- function ArticleSearchParamsToJSONTyped(value, ignoreDiscriminator = false) {
56
- if (value == null) {
57
- return value;
58
- }
59
- return {
60
- prompt: value["prompt"],
61
- filter: (0, ArticleSearchFilter_1.ArticleSearchFilterToJSON)(value["filter"]),
62
- pubDateFrom: value["pubDateFrom"] == null
63
- ? undefined
64
- : value["pubDateFrom"].toISOString(),
65
- pubDateTo: value["pubDateTo"] == null
66
- ? undefined
67
- : value["pubDateTo"].toISOString(),
68
- showReprints: value["showReprints"],
69
- size: value["size"],
70
- page: value["page"],
71
- addDateFrom: value["addDateFrom"] == null
72
- ? undefined
73
- : value["addDateFrom"].toISOString(),
74
- addDateTo: value["addDateTo"] == null
75
- ? undefined
76
- : value["addDateTo"].toISOString(),
77
- scoreThreshold: value["scoreThreshold"],
78
- };
79
- }