@businessradar/businessradar 0.1.0

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 (507) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/LICENSE +201 -0
  3. package/README.md +401 -0
  4. package/api-promise.d.mts +2 -0
  5. package/api-promise.d.mts.map +1 -0
  6. package/api-promise.d.ts +2 -0
  7. package/api-promise.d.ts.map +1 -0
  8. package/api-promise.js +6 -0
  9. package/api-promise.js.map +1 -0
  10. package/api-promise.mjs +2 -0
  11. package/api-promise.mjs.map +1 -0
  12. package/client.d.mts +193 -0
  13. package/client.d.mts.map +1 -0
  14. package/client.d.ts +193 -0
  15. package/client.d.ts.map +1 -0
  16. package/client.js +465 -0
  17. package/client.js.map +1 -0
  18. package/client.mjs +461 -0
  19. package/client.mjs.map +1 -0
  20. package/core/api-promise.d.mts +46 -0
  21. package/core/api-promise.d.mts.map +1 -0
  22. package/core/api-promise.d.ts +46 -0
  23. package/core/api-promise.d.ts.map +1 -0
  24. package/core/api-promise.js +74 -0
  25. package/core/api-promise.js.map +1 -0
  26. package/core/api-promise.mjs +70 -0
  27. package/core/api-promise.mjs.map +1 -0
  28. package/core/error.d.mts +46 -0
  29. package/core/error.d.mts.map +1 -0
  30. package/core/error.d.ts +46 -0
  31. package/core/error.d.ts.map +1 -0
  32. package/core/error.js +113 -0
  33. package/core/error.js.map +1 -0
  34. package/core/error.mjs +97 -0
  35. package/core/error.mjs.map +1 -0
  36. package/core/pagination.d.mts +53 -0
  37. package/core/pagination.d.mts.map +1 -0
  38. package/core/pagination.d.ts +53 -0
  39. package/core/pagination.d.ts.map +1 -0
  40. package/core/pagination.js +101 -0
  41. package/core/pagination.js.map +1 -0
  42. package/core/pagination.mjs +95 -0
  43. package/core/pagination.mjs.map +1 -0
  44. package/core/resource.d.mts +6 -0
  45. package/core/resource.d.mts.map +1 -0
  46. package/core/resource.d.ts +6 -0
  47. package/core/resource.d.ts.map +1 -0
  48. package/core/resource.js +11 -0
  49. package/core/resource.js.map +1 -0
  50. package/core/resource.mjs +7 -0
  51. package/core/resource.mjs.map +1 -0
  52. package/core/uploads.d.mts +3 -0
  53. package/core/uploads.d.mts.map +1 -0
  54. package/core/uploads.d.ts +3 -0
  55. package/core/uploads.d.ts.map +1 -0
  56. package/core/uploads.js +6 -0
  57. package/core/uploads.js.map +1 -0
  58. package/core/uploads.mjs +2 -0
  59. package/core/uploads.mjs.map +1 -0
  60. package/error.d.mts +2 -0
  61. package/error.d.mts.map +1 -0
  62. package/error.d.ts +2 -0
  63. package/error.d.ts.map +1 -0
  64. package/error.js +6 -0
  65. package/error.js.map +1 -0
  66. package/error.mjs +2 -0
  67. package/error.mjs.map +1 -0
  68. package/index.d.mts +7 -0
  69. package/index.d.mts.map +1 -0
  70. package/index.d.ts +7 -0
  71. package/index.d.ts.map +1 -0
  72. package/index.js +32 -0
  73. package/index.js.map +1 -0
  74. package/index.mjs +8 -0
  75. package/index.mjs.map +1 -0
  76. package/internal/builtin-types.d.mts +73 -0
  77. package/internal/builtin-types.d.mts.map +1 -0
  78. package/internal/builtin-types.d.ts +73 -0
  79. package/internal/builtin-types.d.ts.map +1 -0
  80. package/internal/builtin-types.js +4 -0
  81. package/internal/builtin-types.js.map +1 -0
  82. package/internal/builtin-types.mjs +3 -0
  83. package/internal/builtin-types.mjs.map +1 -0
  84. package/internal/detect-platform.d.mts +15 -0
  85. package/internal/detect-platform.d.mts.map +1 -0
  86. package/internal/detect-platform.d.ts +15 -0
  87. package/internal/detect-platform.d.ts.map +1 -0
  88. package/internal/detect-platform.js +162 -0
  89. package/internal/detect-platform.js.map +1 -0
  90. package/internal/detect-platform.mjs +157 -0
  91. package/internal/detect-platform.mjs.map +1 -0
  92. package/internal/errors.d.mts +3 -0
  93. package/internal/errors.d.mts.map +1 -0
  94. package/internal/errors.d.ts +3 -0
  95. package/internal/errors.d.ts.map +1 -0
  96. package/internal/errors.js +41 -0
  97. package/internal/errors.js.map +1 -0
  98. package/internal/errors.mjs +36 -0
  99. package/internal/errors.mjs.map +1 -0
  100. package/internal/headers.d.mts +20 -0
  101. package/internal/headers.d.mts.map +1 -0
  102. package/internal/headers.d.ts +20 -0
  103. package/internal/headers.d.ts.map +1 -0
  104. package/internal/headers.js +79 -0
  105. package/internal/headers.js.map +1 -0
  106. package/internal/headers.mjs +74 -0
  107. package/internal/headers.mjs.map +1 -0
  108. package/internal/parse.d.mts +12 -0
  109. package/internal/parse.d.mts.map +1 -0
  110. package/internal/parse.d.ts +12 -0
  111. package/internal/parse.d.ts.map +1 -0
  112. package/internal/parse.js +35 -0
  113. package/internal/parse.js.map +1 -0
  114. package/internal/parse.mjs +32 -0
  115. package/internal/parse.mjs.map +1 -0
  116. package/internal/qs/formats.d.mts +7 -0
  117. package/internal/qs/formats.d.mts.map +1 -0
  118. package/internal/qs/formats.d.ts +7 -0
  119. package/internal/qs/formats.d.ts.map +1 -0
  120. package/internal/qs/formats.js +13 -0
  121. package/internal/qs/formats.js.map +1 -0
  122. package/internal/qs/formats.mjs +9 -0
  123. package/internal/qs/formats.mjs.map +1 -0
  124. package/internal/qs/index.d.mts +10 -0
  125. package/internal/qs/index.d.mts.map +1 -0
  126. package/internal/qs/index.d.ts +10 -0
  127. package/internal/qs/index.d.ts.map +1 -0
  128. package/internal/qs/index.js +14 -0
  129. package/internal/qs/index.js.map +1 -0
  130. package/internal/qs/index.mjs +10 -0
  131. package/internal/qs/index.mjs.map +1 -0
  132. package/internal/qs/stringify.d.mts +3 -0
  133. package/internal/qs/stringify.d.mts.map +1 -0
  134. package/internal/qs/stringify.d.ts +3 -0
  135. package/internal/qs/stringify.d.ts.map +1 -0
  136. package/internal/qs/stringify.js +277 -0
  137. package/internal/qs/stringify.js.map +1 -0
  138. package/internal/qs/stringify.mjs +274 -0
  139. package/internal/qs/stringify.mjs.map +1 -0
  140. package/internal/qs/types.d.mts +57 -0
  141. package/internal/qs/types.d.mts.map +1 -0
  142. package/internal/qs/types.d.ts +57 -0
  143. package/internal/qs/types.d.ts.map +1 -0
  144. package/internal/qs/types.js +3 -0
  145. package/internal/qs/types.js.map +1 -0
  146. package/internal/qs/types.mjs +2 -0
  147. package/internal/qs/types.mjs.map +1 -0
  148. package/internal/qs/utils.d.mts +15 -0
  149. package/internal/qs/utils.d.mts.map +1 -0
  150. package/internal/qs/utils.d.ts +15 -0
  151. package/internal/qs/utils.d.ts.map +1 -0
  152. package/internal/qs/utils.js +230 -0
  153. package/internal/qs/utils.js.map +1 -0
  154. package/internal/qs/utils.mjs +217 -0
  155. package/internal/qs/utils.mjs.map +1 -0
  156. package/internal/request-options.d.mts +75 -0
  157. package/internal/request-options.d.mts.map +1 -0
  158. package/internal/request-options.d.ts +75 -0
  159. package/internal/request-options.d.ts.map +1 -0
  160. package/internal/request-options.js +14 -0
  161. package/internal/request-options.js.map +1 -0
  162. package/internal/request-options.mjs +10 -0
  163. package/internal/request-options.mjs.map +1 -0
  164. package/internal/shim-types.d.mts +17 -0
  165. package/internal/shim-types.d.mts.map +1 -0
  166. package/internal/shim-types.d.ts +17 -0
  167. package/internal/shim-types.d.ts.map +1 -0
  168. package/internal/shim-types.js +4 -0
  169. package/internal/shim-types.js.map +1 -0
  170. package/internal/shim-types.mjs +3 -0
  171. package/internal/shim-types.mjs.map +1 -0
  172. package/internal/shims.d.mts +20 -0
  173. package/internal/shims.d.mts.map +1 -0
  174. package/internal/shims.d.ts +20 -0
  175. package/internal/shims.d.ts.map +1 -0
  176. package/internal/shims.js +92 -0
  177. package/internal/shims.js.map +1 -0
  178. package/internal/shims.mjs +85 -0
  179. package/internal/shims.mjs.map +1 -0
  180. package/internal/to-file.d.mts +45 -0
  181. package/internal/to-file.d.mts.map +1 -0
  182. package/internal/to-file.d.ts +45 -0
  183. package/internal/to-file.d.ts.map +1 -0
  184. package/internal/to-file.js +91 -0
  185. package/internal/to-file.js.map +1 -0
  186. package/internal/to-file.mjs +88 -0
  187. package/internal/to-file.mjs.map +1 -0
  188. package/internal/tslib.js +81 -0
  189. package/internal/tslib.mjs +17 -0
  190. package/internal/types.d.mts +69 -0
  191. package/internal/types.d.mts.map +1 -0
  192. package/internal/types.d.ts +69 -0
  193. package/internal/types.d.ts.map +1 -0
  194. package/internal/types.js +4 -0
  195. package/internal/types.js.map +1 -0
  196. package/internal/types.mjs +3 -0
  197. package/internal/types.mjs.map +1 -0
  198. package/internal/uploads.d.mts +42 -0
  199. package/internal/uploads.d.mts.map +1 -0
  200. package/internal/uploads.d.ts +42 -0
  201. package/internal/uploads.d.ts.map +1 -0
  202. package/internal/uploads.js +141 -0
  203. package/internal/uploads.js.map +1 -0
  204. package/internal/uploads.mjs +131 -0
  205. package/internal/uploads.mjs.map +1 -0
  206. package/internal/utils/base64.d.mts +3 -0
  207. package/internal/utils/base64.d.mts.map +1 -0
  208. package/internal/utils/base64.d.ts +3 -0
  209. package/internal/utils/base64.d.ts.map +1 -0
  210. package/internal/utils/base64.js +38 -0
  211. package/internal/utils/base64.js.map +1 -0
  212. package/internal/utils/base64.mjs +33 -0
  213. package/internal/utils/base64.mjs.map +1 -0
  214. package/internal/utils/bytes.d.mts +4 -0
  215. package/internal/utils/bytes.d.mts.map +1 -0
  216. package/internal/utils/bytes.d.ts +4 -0
  217. package/internal/utils/bytes.d.ts.map +1 -0
  218. package/internal/utils/bytes.js +31 -0
  219. package/internal/utils/bytes.js.map +1 -0
  220. package/internal/utils/bytes.mjs +26 -0
  221. package/internal/utils/bytes.mjs.map +1 -0
  222. package/internal/utils/env.d.mts +9 -0
  223. package/internal/utils/env.d.mts.map +1 -0
  224. package/internal/utils/env.d.ts +9 -0
  225. package/internal/utils/env.d.ts.map +1 -0
  226. package/internal/utils/env.js +22 -0
  227. package/internal/utils/env.js.map +1 -0
  228. package/internal/utils/env.mjs +18 -0
  229. package/internal/utils/env.mjs.map +1 -0
  230. package/internal/utils/log.d.mts +37 -0
  231. package/internal/utils/log.d.mts.map +1 -0
  232. package/internal/utils/log.d.ts +37 -0
  233. package/internal/utils/log.d.ts.map +1 -0
  234. package/internal/utils/log.js +85 -0
  235. package/internal/utils/log.js.map +1 -0
  236. package/internal/utils/log.mjs +79 -0
  237. package/internal/utils/log.mjs.map +1 -0
  238. package/internal/utils/path.d.mts +15 -0
  239. package/internal/utils/path.d.mts.map +1 -0
  240. package/internal/utils/path.d.ts +15 -0
  241. package/internal/utils/path.d.ts.map +1 -0
  242. package/internal/utils/path.js +79 -0
  243. package/internal/utils/path.js.map +1 -0
  244. package/internal/utils/path.mjs +74 -0
  245. package/internal/utils/path.mjs.map +1 -0
  246. package/internal/utils/sleep.d.mts +2 -0
  247. package/internal/utils/sleep.d.mts.map +1 -0
  248. package/internal/utils/sleep.d.ts +2 -0
  249. package/internal/utils/sleep.d.ts.map +1 -0
  250. package/internal/utils/sleep.js +7 -0
  251. package/internal/utils/sleep.js.map +1 -0
  252. package/internal/utils/sleep.mjs +3 -0
  253. package/internal/utils/sleep.mjs.map +1 -0
  254. package/internal/utils/uuid.d.mts +5 -0
  255. package/internal/utils/uuid.d.mts.map +1 -0
  256. package/internal/utils/uuid.d.ts +5 -0
  257. package/internal/utils/uuid.d.ts.map +1 -0
  258. package/internal/utils/uuid.js +19 -0
  259. package/internal/utils/uuid.js.map +1 -0
  260. package/internal/utils/uuid.mjs +15 -0
  261. package/internal/utils/uuid.mjs.map +1 -0
  262. package/internal/utils/values.d.mts +18 -0
  263. package/internal/utils/values.d.mts.map +1 -0
  264. package/internal/utils/values.d.ts +18 -0
  265. package/internal/utils/values.d.ts.map +1 -0
  266. package/internal/utils/values.js +112 -0
  267. package/internal/utils/values.js.map +1 -0
  268. package/internal/utils/values.mjs +94 -0
  269. package/internal/utils/values.mjs.map +1 -0
  270. package/internal/utils.d.mts +7 -0
  271. package/internal/utils.d.mts.map +1 -0
  272. package/internal/utils.d.ts +7 -0
  273. package/internal/utils.d.ts.map +1 -0
  274. package/internal/utils.js +11 -0
  275. package/internal/utils.js.map +1 -0
  276. package/internal/utils.mjs +8 -0
  277. package/internal/utils.mjs.map +1 -0
  278. package/package.json +147 -0
  279. package/pagination.d.mts +2 -0
  280. package/pagination.d.mts.map +1 -0
  281. package/pagination.d.ts +2 -0
  282. package/pagination.d.ts.map +1 -0
  283. package/pagination.js +6 -0
  284. package/pagination.js.map +1 -0
  285. package/pagination.mjs +2 -0
  286. package/pagination.mjs.map +1 -0
  287. package/resource.d.mts +2 -0
  288. package/resource.d.mts.map +1 -0
  289. package/resource.d.ts +2 -0
  290. package/resource.d.ts.map +1 -0
  291. package/resource.js +6 -0
  292. package/resource.js.map +1 -0
  293. package/resource.mjs +2 -0
  294. package/resource.mjs.map +1 -0
  295. package/resources/companies.d.mts +1051 -0
  296. package/resources/companies.d.mts.map +1 -0
  297. package/resources/companies.d.ts +1051 -0
  298. package/resources/companies.d.ts.map +1 -0
  299. package/resources/companies.js +47 -0
  300. package/resources/companies.js.map +1 -0
  301. package/resources/companies.mjs +43 -0
  302. package/resources/companies.mjs.map +1 -0
  303. package/resources/compliance.d.mts +156 -0
  304. package/resources/compliance.d.mts.map +1 -0
  305. package/resources/compliance.d.ts +156 -0
  306. package/resources/compliance.d.ts.map +1 -0
  307. package/resources/compliance.js +22 -0
  308. package/resources/compliance.js.map +1 -0
  309. package/resources/compliance.mjs +18 -0
  310. package/resources/compliance.mjs.map +1 -0
  311. package/resources/index.d.mts +6 -0
  312. package/resources/index.d.mts.map +1 -0
  313. package/resources/index.d.ts +6 -0
  314. package/resources/index.d.ts.map +1 -0
  315. package/resources/index.js +15 -0
  316. package/resources/index.js.map +1 -0
  317. package/resources/index.mjs +7 -0
  318. package/resources/index.mjs.map +1 -0
  319. package/resources/news/articles/analytics.d.mts +101 -0
  320. package/resources/news/articles/analytics.d.mts.map +1 -0
  321. package/resources/news/articles/analytics.d.ts +101 -0
  322. package/resources/news/articles/analytics.d.ts.map +1 -0
  323. package/resources/news/articles/analytics.js +15 -0
  324. package/resources/news/articles/analytics.js.map +1 -0
  325. package/resources/news/articles/analytics.mjs +11 -0
  326. package/resources/news/articles/analytics.mjs.map +1 -0
  327. package/resources/news/articles/articles.d.mts +697 -0
  328. package/resources/news/articles/articles.d.mts.map +1 -0
  329. package/resources/news/articles/articles.d.ts +697 -0
  330. package/resources/news/articles/articles.d.ts.map +1 -0
  331. package/resources/news/articles/articles.js +50 -0
  332. package/resources/news/articles/articles.js.map +1 -0
  333. package/resources/news/articles/articles.mjs +45 -0
  334. package/resources/news/articles/articles.mjs.map +1 -0
  335. package/resources/news/articles/export.d.mts +139 -0
  336. package/resources/news/articles/export.d.mts.map +1 -0
  337. package/resources/news/articles/export.d.ts +139 -0
  338. package/resources/news/articles/export.d.ts.map +1 -0
  339. package/resources/news/articles/export.js +28 -0
  340. package/resources/news/articles/export.js.map +1 -0
  341. package/resources/news/articles/export.mjs +24 -0
  342. package/resources/news/articles/export.mjs.map +1 -0
  343. package/resources/news/articles/index.d.mts +4 -0
  344. package/resources/news/articles/index.d.mts.map +1 -0
  345. package/resources/news/articles/index.d.ts +4 -0
  346. package/resources/news/articles/index.d.ts.map +1 -0
  347. package/resources/news/articles/index.js +11 -0
  348. package/resources/news/articles/index.js.map +1 -0
  349. package/resources/news/articles/index.mjs +5 -0
  350. package/resources/news/articles/index.mjs.map +1 -0
  351. package/resources/news/articles.d.mts +2 -0
  352. package/resources/news/articles.d.mts.map +1 -0
  353. package/resources/news/articles.d.ts +2 -0
  354. package/resources/news/articles.d.ts.map +1 -0
  355. package/resources/news/articles.js +6 -0
  356. package/resources/news/articles.js.map +1 -0
  357. package/resources/news/articles.mjs +3 -0
  358. package/resources/news/articles.mjs.map +1 -0
  359. package/resources/news/index.d.mts +3 -0
  360. package/resources/news/index.d.mts.map +1 -0
  361. package/resources/news/index.d.ts +3 -0
  362. package/resources/news/index.d.ts.map +1 -0
  363. package/resources/news/index.js +9 -0
  364. package/resources/news/index.js.map +1 -0
  365. package/resources/news/index.mjs +4 -0
  366. package/resources/news/index.mjs.map +1 -0
  367. package/resources/news/news.d.mts +10 -0
  368. package/resources/news/news.d.mts.map +1 -0
  369. package/resources/news/news.d.ts +10 -0
  370. package/resources/news/news.d.ts.map +1 -0
  371. package/resources/news/news.js +17 -0
  372. package/resources/news/news.js.map +1 -0
  373. package/resources/news/news.mjs +12 -0
  374. package/resources/news/news.mjs.map +1 -0
  375. package/resources/news.d.mts +2 -0
  376. package/resources/news.d.mts.map +1 -0
  377. package/resources/news.d.ts +2 -0
  378. package/resources/news.d.ts.map +1 -0
  379. package/resources/news.js +6 -0
  380. package/resources/news.js.map +1 -0
  381. package/resources/news.mjs +3 -0
  382. package/resources/news.mjs.map +1 -0
  383. package/resources/portfolios/companies.d.mts +367 -0
  384. package/resources/portfolios/companies.d.mts.map +1 -0
  385. package/resources/portfolios/companies.d.ts +367 -0
  386. package/resources/portfolios/companies.d.ts.map +1 -0
  387. package/resources/portfolios/companies.js +34 -0
  388. package/resources/portfolios/companies.js.map +1 -0
  389. package/resources/portfolios/companies.mjs +30 -0
  390. package/resources/portfolios/companies.mjs.map +1 -0
  391. package/resources/portfolios/index.d.mts +3 -0
  392. package/resources/portfolios/index.d.mts.map +1 -0
  393. package/resources/portfolios/index.d.ts +3 -0
  394. package/resources/portfolios/index.d.ts.map +1 -0
  395. package/resources/portfolios/index.js +9 -0
  396. package/resources/portfolios/index.js.map +1 -0
  397. package/resources/portfolios/index.mjs +4 -0
  398. package/resources/portfolios/index.mjs.map +1 -0
  399. package/resources/portfolios/portfolios.d.mts +68 -0
  400. package/resources/portfolios/portfolios.d.mts.map +1 -0
  401. package/resources/portfolios/portfolios.d.ts +68 -0
  402. package/resources/portfolios/portfolios.d.ts.map +1 -0
  403. package/resources/portfolios/portfolios.js +30 -0
  404. package/resources/portfolios/portfolios.js.map +1 -0
  405. package/resources/portfolios/portfolios.mjs +25 -0
  406. package/resources/portfolios/portfolios.mjs.map +1 -0
  407. package/resources/portfolios.d.mts +2 -0
  408. package/resources/portfolios.d.mts.map +1 -0
  409. package/resources/portfolios.d.ts +2 -0
  410. package/resources/portfolios.d.ts.map +1 -0
  411. package/resources/portfolios.js +6 -0
  412. package/resources/portfolios.js.map +1 -0
  413. package/resources/portfolios.mjs +3 -0
  414. package/resources/portfolios.mjs.map +1 -0
  415. package/resources/shared.d.mts +9 -0
  416. package/resources/shared.d.mts.map +1 -0
  417. package/resources/shared.d.ts +9 -0
  418. package/resources/shared.d.ts.map +1 -0
  419. package/resources/shared.js +4 -0
  420. package/resources/shared.js.map +1 -0
  421. package/resources/shared.mjs +3 -0
  422. package/resources/shared.mjs.map +1 -0
  423. package/resources.d.mts +2 -0
  424. package/resources.d.mts.map +1 -0
  425. package/resources.d.ts +2 -0
  426. package/resources.d.ts.map +1 -0
  427. package/resources.js +5 -0
  428. package/resources.js.map +1 -0
  429. package/resources.mjs +2 -0
  430. package/resources.mjs.map +1 -0
  431. package/src/api-promise.ts +2 -0
  432. package/src/client.ts +808 -0
  433. package/src/core/README.md +3 -0
  434. package/src/core/api-promise.ts +92 -0
  435. package/src/core/error.ts +130 -0
  436. package/src/core/pagination.ts +155 -0
  437. package/src/core/resource.ts +11 -0
  438. package/src/core/uploads.ts +2 -0
  439. package/src/error.ts +2 -0
  440. package/src/index.ts +23 -0
  441. package/src/internal/README.md +3 -0
  442. package/src/internal/builtin-types.ts +93 -0
  443. package/src/internal/detect-platform.ts +196 -0
  444. package/src/internal/errors.ts +33 -0
  445. package/src/internal/headers.ts +97 -0
  446. package/src/internal/parse.ts +50 -0
  447. package/src/internal/qs/LICENSE.md +13 -0
  448. package/src/internal/qs/README.md +3 -0
  449. package/src/internal/qs/formats.ts +10 -0
  450. package/src/internal/qs/index.ts +13 -0
  451. package/src/internal/qs/stringify.ts +385 -0
  452. package/src/internal/qs/types.ts +71 -0
  453. package/src/internal/qs/utils.ts +265 -0
  454. package/src/internal/request-options.ts +91 -0
  455. package/src/internal/shim-types.ts +26 -0
  456. package/src/internal/shims.ts +107 -0
  457. package/src/internal/to-file.ts +154 -0
  458. package/src/internal/types.ts +95 -0
  459. package/src/internal/uploads.ts +187 -0
  460. package/src/internal/utils/base64.ts +40 -0
  461. package/src/internal/utils/bytes.ts +32 -0
  462. package/src/internal/utils/env.ts +18 -0
  463. package/src/internal/utils/log.ts +126 -0
  464. package/src/internal/utils/path.ts +88 -0
  465. package/src/internal/utils/sleep.ts +3 -0
  466. package/src/internal/utils/uuid.ts +17 -0
  467. package/src/internal/utils/values.ts +105 -0
  468. package/src/internal/utils.ts +8 -0
  469. package/src/lib/.keep +4 -0
  470. package/src/pagination.ts +2 -0
  471. package/src/resource.ts +2 -0
  472. package/src/resources/companies.ts +2211 -0
  473. package/src/resources/compliance.ts +568 -0
  474. package/src/resources/index.ts +35 -0
  475. package/src/resources/news/articles/analytics.ts +136 -0
  476. package/src/resources/news/articles/articles.ts +1171 -0
  477. package/src/resources/news/articles/export.ts +206 -0
  478. package/src/resources/news/articles/index.ts +29 -0
  479. package/src/resources/news/articles.ts +3 -0
  480. package/src/resources/news/index.ts +18 -0
  481. package/src/resources/news/news.ts +43 -0
  482. package/src/resources/news.ts +3 -0
  483. package/src/resources/portfolios/companies.ts +689 -0
  484. package/src/resources/portfolios/index.ts +18 -0
  485. package/src/resources/portfolios/portfolios.ts +112 -0
  486. package/src/resources/portfolios.ts +3 -0
  487. package/src/resources/shared.ts +10 -0
  488. package/src/resources.ts +1 -0
  489. package/src/tsconfig.json +11 -0
  490. package/src/uploads.ts +2 -0
  491. package/src/version.ts +1 -0
  492. package/uploads.d.mts +2 -0
  493. package/uploads.d.mts.map +1 -0
  494. package/uploads.d.ts +2 -0
  495. package/uploads.d.ts.map +1 -0
  496. package/uploads.js +6 -0
  497. package/uploads.js.map +1 -0
  498. package/uploads.mjs +2 -0
  499. package/uploads.mjs.map +1 -0
  500. package/version.d.mts +2 -0
  501. package/version.d.mts.map +1 -0
  502. package/version.d.ts +2 -0
  503. package/version.d.ts.map +1 -0
  504. package/version.js +5 -0
  505. package/version.js.map +1 -0
  506. package/version.mjs +2 -0
  507. package/version.mjs.map +1 -0
@@ -0,0 +1 @@
1
+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M,CAAC;IAEhB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;;;OAIG;IACH,aAAa,CAAC,EAAE,gBAAgB,CAAC;CAClC;AAED,MAAM,WAAW,oCAAqC,SAAQ,aAAa;CAAG;AAK9E,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,8CAA8C,IAAI,8CAA8C,EACrG,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,oCAAoC,IAAI,oCAAoC,GAClF,CAAC;IAEF,OAAO,EACL,SAAS,IAAI,SAAS,EACtB,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Articles = void 0;
5
+ const tslib_1 = require("../../../internal/tslib.js");
6
+ const resource_1 = require("../../../core/resource.js");
7
+ const AnalyticsAPI = tslib_1.__importStar(require("./analytics.js"));
8
+ const analytics_1 = require("./analytics.js");
9
+ const ExportAPI = tslib_1.__importStar(require("./export.js"));
10
+ const export_1 = require("./export.js");
11
+ const pagination_1 = require("../../../core/pagination.js");
12
+ const path_1 = require("../../../internal/utils/path.js");
13
+ class Articles extends resource_1.APIResource {
14
+ constructor() {
15
+ super(...arguments);
16
+ this.analytics = new AnalyticsAPI.Analytics(this._client);
17
+ this.export = new ExportAPI.Export(this._client);
18
+ }
19
+ /**
20
+ * Search News Articles.
21
+ *
22
+ * List Articles from the Business Radar platform, search using advanced queries or
23
+ * check articles that have been published since last check.
24
+ */
25
+ list(query = {}, options) {
26
+ return this._client.getAPIList('/ext/v3/articles', (pagination_1.NextKey), { query, ...options });
27
+ }
28
+ /**
29
+ * Create Article Feedback.
30
+ */
31
+ createFeedback(body, options) {
32
+ return this._client.post('/ext/v3/articles/feedback/', { body, ...options });
33
+ }
34
+ /**
35
+ * List Create Saved Article Filter.
36
+ */
37
+ listSavedArticleFilters(query = {}, options) {
38
+ return this._client.getAPIList('/ext/v3/saved_article_filters', (pagination_1.NextKey), { query, ...options });
39
+ }
40
+ /**
41
+ * Retrieve Article Embedding Search.
42
+ */
43
+ retrieveRelated(articleID, options) {
44
+ return this._client.get((0, path_1.path) `/ext/v3/articles/${articleID}/related/`, options);
45
+ }
46
+ }
47
+ exports.Articles = Articles;
48
+ Articles.Analytics = analytics_1.Analytics;
49
+ Articles.Export = export_1.Export;
50
+ //# sourceMappingURL=articles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"articles.js","sourceRoot":"","sources":["../../../src/resources/news/articles/articles.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAGrD,qEAA4C;AAC5C,8CAAwG;AACxG,+DAAsC;AACtC,wCAAwG;AAExG,4DAAoF;AAEpF,0DAAoD;AAEpD,MAAa,QAAS,SAAQ,sBAAW;IAAzC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA6ChE,CAAC;IA3CC;;;;;OAKG;IACH,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAA,oBAAgB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9F,CAAC;IAED;;OAEG;IACH,cAAc,CACZ,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;OAEG;IACH,uBAAuB,CACrB,QAAiE,EAAE,EACnE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,+BAA+B,EAC/B,CAAA,oBAA+C,CAAA,EAC/C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,eAAe,CAAC,SAAiB,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,oBAAoB,SAAS,WAAW,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;CACF;AA/CD,4BA+CC;AAqjCD,QAAQ,CAAC,SAAS,GAAG,qBAAS,CAAC;AAC/B,QAAQ,CAAC,MAAM,GAAG,eAAM,CAAC"}
@@ -0,0 +1,45 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../core/resource.mjs";
3
+ import * as AnalyticsAPI from "./analytics.mjs";
4
+ import { Analytics } from "./analytics.mjs";
5
+ import * as ExportAPI from "./export.mjs";
6
+ import { Export } from "./export.mjs";
7
+ import { NextKey } from "../../../core/pagination.mjs";
8
+ import { path } from "../../../internal/utils/path.mjs";
9
+ export class Articles extends APIResource {
10
+ constructor() {
11
+ super(...arguments);
12
+ this.analytics = new AnalyticsAPI.Analytics(this._client);
13
+ this.export = new ExportAPI.Export(this._client);
14
+ }
15
+ /**
16
+ * Search News Articles.
17
+ *
18
+ * List Articles from the Business Radar platform, search using advanced queries or
19
+ * check articles that have been published since last check.
20
+ */
21
+ list(query = {}, options) {
22
+ return this._client.getAPIList('/ext/v3/articles', (NextKey), { query, ...options });
23
+ }
24
+ /**
25
+ * Create Article Feedback.
26
+ */
27
+ createFeedback(body, options) {
28
+ return this._client.post('/ext/v3/articles/feedback/', { body, ...options });
29
+ }
30
+ /**
31
+ * List Create Saved Article Filter.
32
+ */
33
+ listSavedArticleFilters(query = {}, options) {
34
+ return this._client.getAPIList('/ext/v3/saved_article_filters', (NextKey), { query, ...options });
35
+ }
36
+ /**
37
+ * Retrieve Article Embedding Search.
38
+ */
39
+ retrieveRelated(articleID, options) {
40
+ return this._client.get(path `/ext/v3/articles/${articleID}/related/`, options);
41
+ }
42
+ }
43
+ Articles.Analytics = Analytics;
44
+ Articles.Export = Export;
45
+ //# sourceMappingURL=articles.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"articles.mjs","sourceRoot":"","sources":["../../../src/resources/news/articles/articles.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,KAAK,YAAY;OACjB,EAAE,SAAS,EAAkE;OAC7E,KAAK,SAAS;OACd,EAAqC,MAAM,EAAqC;OAEhF,EAAE,OAAO,EAAmC;OAE5C,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA6ChE,CAAC;IA3CC;;;;;OAKG;IACH,IAAI,CACF,QAA8C,EAAE,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAA,OAAgB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9F,CAAC;IAED;;OAEG;IACH,cAAc,CACZ,IAAiC,EACjC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;OAEG;IACH,uBAAuB,CACrB,QAAiE,EAAE,EACnE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,+BAA+B,EAC/B,CAAA,OAA+C,CAAA,EAC/C,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,eAAe,CAAC,SAAiB,EAAE,OAAwB;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,SAAS,WAAW,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;CACF;AAqjCD,QAAQ,CAAC,SAAS,GAAG,SAAS,CAAC;AAC/B,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC"}
@@ -0,0 +1,139 @@
1
+ import { APIResource } from "../../../core/resource.mjs";
2
+ import { APIPromise } from "../../../core/api-promise.mjs";
3
+ import { RequestOptions } from "../../../internal/request-options.mjs";
4
+ export declare class Export extends APIResource {
5
+ /**
6
+ * Export articles, get status using get Export details API.
7
+ *
8
+ * The export returns the location to an JSON-Lines file located on our S3 bucket.
9
+ * The file is available for 7 days.
10
+ *
11
+ * There is a max restriction of 25.000 articles per export. No pagination
12
+ * supported. For larger exports please contact support@businessradar.com
13
+ */
14
+ create(body: ExportCreateParams, options?: RequestOptions): APIPromise<ArticleExport>;
15
+ /**
16
+ * Export article details.
17
+ */
18
+ retrieve(externalID: string, options?: RequestOptions): APIPromise<ArticleExport>;
19
+ }
20
+ /**
21
+ * Data Export Serializer.
22
+ */
23
+ export interface ArticleExport {
24
+ created_at: string;
25
+ /**
26
+ * - `NEWS` - News
27
+ * - `BINDER` - Binder
28
+ * - `COMPANIES` - Companies
29
+ * - `REGISTRATIONS` - Registrations
30
+ * - `COMPLIANCE` - Compliance
31
+ * - `BILLING` - Billing
32
+ */
33
+ export_type: 'NEWS' | 'BINDER' | 'COMPANIES' | 'REGISTRATIONS' | 'COMPLIANCE' | 'BILLING';
34
+ external_id: string;
35
+ /**
36
+ * - `PDF` - PDF
37
+ * - `EXCEL` - Excel
38
+ * - `JSONL` - JSONL
39
+ */
40
+ file_type: DataExportFileType;
41
+ /**
42
+ * Article Filter Serializer.
43
+ */
44
+ filters: ArticleExport.Filters;
45
+ /**
46
+ * Location of exports
47
+ */
48
+ location: string | null;
49
+ result_count: number | null;
50
+ /**
51
+ * - `pending` - Pending
52
+ * - `in_progress` - In Progress
53
+ * - `failed` - Failed
54
+ * - `finished` - Finished
55
+ */
56
+ status: 'pending' | 'in_progress' | 'failed' | 'finished';
57
+ updated_at: string;
58
+ }
59
+ export declare namespace ArticleExport {
60
+ /**
61
+ * Article Filter Serializer.
62
+ */
63
+ interface Filters {
64
+ categories?: Array<string> | null;
65
+ companies?: Array<string> | null;
66
+ countries?: Array<string> | null;
67
+ disable_company_article_deduplication?: boolean;
68
+ duns_numbers?: Array<string> | null;
69
+ global_ultimates?: Array<string> | null;
70
+ include_clustered_articles?: boolean;
71
+ industries?: Array<string> | null;
72
+ is_material?: boolean | null;
73
+ languages?: Array<string> | null;
74
+ max_creation_date?: string | null;
75
+ max_publication_date?: string | null;
76
+ media_type?: 'GAZETTE' | 'MAINSTREAM' | null;
77
+ min_creation_date?: string | null;
78
+ min_publication_date?: string | null;
79
+ parent_category?: string | null;
80
+ portfolios?: Array<string> | null;
81
+ query?: string | null;
82
+ registration_numbers?: Array<string> | null;
83
+ sentiment?: boolean | null;
84
+ }
85
+ }
86
+ /**
87
+ * - `PDF` - PDF
88
+ * - `EXCEL` - Excel
89
+ * - `JSONL` - JSONL
90
+ */
91
+ export type DataExportFileType = 'PDF' | 'EXCEL' | 'JSONL';
92
+ /**
93
+ * - `GAZETTE` - GAZETTE
94
+ * - `MAINSTREAM` - MAINSTREAM
95
+ */
96
+ export type MediaTypeEnum = 'GAZETTE' | 'MAINSTREAM';
97
+ export interface ExportCreateParams {
98
+ /**
99
+ * - `PDF` - PDF
100
+ * - `EXCEL` - Excel
101
+ * - `JSONL` - JSONL
102
+ */
103
+ file_type: DataExportFileType;
104
+ /**
105
+ * Article Filter Serializer.
106
+ */
107
+ filters: ExportCreateParams.Filters;
108
+ }
109
+ export declare namespace ExportCreateParams {
110
+ /**
111
+ * Article Filter Serializer.
112
+ */
113
+ interface Filters {
114
+ categories?: Array<string> | null;
115
+ companies?: Array<string> | null;
116
+ countries?: Array<string> | null;
117
+ disable_company_article_deduplication?: boolean;
118
+ duns_numbers?: Array<string> | null;
119
+ global_ultimates?: Array<string> | null;
120
+ include_clustered_articles?: boolean;
121
+ industries?: Array<string> | null;
122
+ is_material?: boolean | null;
123
+ languages?: Array<string> | null;
124
+ max_creation_date?: string | null;
125
+ max_publication_date?: string | null;
126
+ media_type?: 'GAZETTE' | 'MAINSTREAM' | null;
127
+ min_creation_date?: string | null;
128
+ min_publication_date?: string | null;
129
+ parent_category?: string | null;
130
+ portfolios?: Array<string> | null;
131
+ query?: string | null;
132
+ registration_numbers?: Array<string> | null;
133
+ sentiment?: boolean | null;
134
+ }
135
+ }
136
+ export declare namespace Export {
137
+ export { type ArticleExport as ArticleExport, type DataExportFileType as DataExportFileType, type MediaTypeEnum as MediaTypeEnum, type ExportCreateParams as ExportCreateParams, };
138
+ }
139
+ //# sourceMappingURL=export.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export.d.mts","sourceRoot":"","sources":["../../../src/resources/news/articles/export.ts"],"names":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AkB,IAAI,kBAAkB,EAC7C,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
@@ -0,0 +1,139 @@
1
+ import { APIResource } from "../../../core/resource.js";
2
+ import { APIPromise } from "../../../core/api-promise.js";
3
+ import { RequestOptions } from "../../../internal/request-options.js";
4
+ export declare class Export extends APIResource {
5
+ /**
6
+ * Export articles, get status using get Export details API.
7
+ *
8
+ * The export returns the location to an JSON-Lines file located on our S3 bucket.
9
+ * The file is available for 7 days.
10
+ *
11
+ * There is a max restriction of 25.000 articles per export. No pagination
12
+ * supported. For larger exports please contact support@businessradar.com
13
+ */
14
+ create(body: ExportCreateParams, options?: RequestOptions): APIPromise<ArticleExport>;
15
+ /**
16
+ * Export article details.
17
+ */
18
+ retrieve(externalID: string, options?: RequestOptions): APIPromise<ArticleExport>;
19
+ }
20
+ /**
21
+ * Data Export Serializer.
22
+ */
23
+ export interface ArticleExport {
24
+ created_at: string;
25
+ /**
26
+ * - `NEWS` - News
27
+ * - `BINDER` - Binder
28
+ * - `COMPANIES` - Companies
29
+ * - `REGISTRATIONS` - Registrations
30
+ * - `COMPLIANCE` - Compliance
31
+ * - `BILLING` - Billing
32
+ */
33
+ export_type: 'NEWS' | 'BINDER' | 'COMPANIES' | 'REGISTRATIONS' | 'COMPLIANCE' | 'BILLING';
34
+ external_id: string;
35
+ /**
36
+ * - `PDF` - PDF
37
+ * - `EXCEL` - Excel
38
+ * - `JSONL` - JSONL
39
+ */
40
+ file_type: DataExportFileType;
41
+ /**
42
+ * Article Filter Serializer.
43
+ */
44
+ filters: ArticleExport.Filters;
45
+ /**
46
+ * Location of exports
47
+ */
48
+ location: string | null;
49
+ result_count: number | null;
50
+ /**
51
+ * - `pending` - Pending
52
+ * - `in_progress` - In Progress
53
+ * - `failed` - Failed
54
+ * - `finished` - Finished
55
+ */
56
+ status: 'pending' | 'in_progress' | 'failed' | 'finished';
57
+ updated_at: string;
58
+ }
59
+ export declare namespace ArticleExport {
60
+ /**
61
+ * Article Filter Serializer.
62
+ */
63
+ interface Filters {
64
+ categories?: Array<string> | null;
65
+ companies?: Array<string> | null;
66
+ countries?: Array<string> | null;
67
+ disable_company_article_deduplication?: boolean;
68
+ duns_numbers?: Array<string> | null;
69
+ global_ultimates?: Array<string> | null;
70
+ include_clustered_articles?: boolean;
71
+ industries?: Array<string> | null;
72
+ is_material?: boolean | null;
73
+ languages?: Array<string> | null;
74
+ max_creation_date?: string | null;
75
+ max_publication_date?: string | null;
76
+ media_type?: 'GAZETTE' | 'MAINSTREAM' | null;
77
+ min_creation_date?: string | null;
78
+ min_publication_date?: string | null;
79
+ parent_category?: string | null;
80
+ portfolios?: Array<string> | null;
81
+ query?: string | null;
82
+ registration_numbers?: Array<string> | null;
83
+ sentiment?: boolean | null;
84
+ }
85
+ }
86
+ /**
87
+ * - `PDF` - PDF
88
+ * - `EXCEL` - Excel
89
+ * - `JSONL` - JSONL
90
+ */
91
+ export type DataExportFileType = 'PDF' | 'EXCEL' | 'JSONL';
92
+ /**
93
+ * - `GAZETTE` - GAZETTE
94
+ * - `MAINSTREAM` - MAINSTREAM
95
+ */
96
+ export type MediaTypeEnum = 'GAZETTE' | 'MAINSTREAM';
97
+ export interface ExportCreateParams {
98
+ /**
99
+ * - `PDF` - PDF
100
+ * - `EXCEL` - Excel
101
+ * - `JSONL` - JSONL
102
+ */
103
+ file_type: DataExportFileType;
104
+ /**
105
+ * Article Filter Serializer.
106
+ */
107
+ filters: ExportCreateParams.Filters;
108
+ }
109
+ export declare namespace ExportCreateParams {
110
+ /**
111
+ * Article Filter Serializer.
112
+ */
113
+ interface Filters {
114
+ categories?: Array<string> | null;
115
+ companies?: Array<string> | null;
116
+ countries?: Array<string> | null;
117
+ disable_company_article_deduplication?: boolean;
118
+ duns_numbers?: Array<string> | null;
119
+ global_ultimates?: Array<string> | null;
120
+ include_clustered_articles?: boolean;
121
+ industries?: Array<string> | null;
122
+ is_material?: boolean | null;
123
+ languages?: Array<string> | null;
124
+ max_creation_date?: string | null;
125
+ max_publication_date?: string | null;
126
+ media_type?: 'GAZETTE' | 'MAINSTREAM' | null;
127
+ min_creation_date?: string | null;
128
+ min_publication_date?: string | null;
129
+ parent_category?: string | null;
130
+ portfolios?: Array<string> | null;
131
+ query?: string | null;
132
+ registration_numbers?: Array<string> | null;
133
+ sentiment?: boolean | null;
134
+ }
135
+ }
136
+ export declare namespace Export {
137
+ export { type ArticleExport as ArticleExport, type DataExportFileType as DataExportFileType, type MediaTypeEnum as MediaTypeEnum, type ExportCreateParams as ExportCreateParams, };
138
+ }
139
+ //# sourceMappingURL=export.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../../src/resources/news/articles/export.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;;;;;OAQG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;IAIrF;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;CAGlF;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;;;OAOG;IACH,WAAW,EAAE,MAAM,GAAG,QAAQ,GAAG,WAAW,GAAG,eAAe,GAAG,YAAY,GAAG,SAAS,CAAC;IAE1F,WAAW,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,SAAS,EAAE,kBAAkB,CAAC;IAE9B;;OAEG;IACH,OAAO,EAAE,aAAa,CAAC,OAAO,CAAC;IAE/B;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,YAAY,EAAE,MAAM,GA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iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAElC,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAErC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAEhC,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QAElC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAEtB,oBAAoB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;QAE5C,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;KAC5B;CACF;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,kBAAkB,IAAI,kBAAkB,GAC9C,CAAC;CACH"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Export = void 0;
5
+ const resource_1 = require("../../../core/resource.js");
6
+ const path_1 = require("../../../internal/utils/path.js");
7
+ class Export extends resource_1.APIResource {
8
+ /**
9
+ * Export articles, get status using get Export details API.
10
+ *
11
+ * The export returns the location to an JSON-Lines file located on our S3 bucket.
12
+ * The file is available for 7 days.
13
+ *
14
+ * There is a max restriction of 25.000 articles per export. No pagination
15
+ * supported. For larger exports please contact support@businessradar.com
16
+ */
17
+ create(body, options) {
18
+ return this._client.post('/ext/v3/articles/export/', { body, ...options });
19
+ }
20
+ /**
21
+ * Export article details.
22
+ */
23
+ retrieve(externalID, options) {
24
+ return this._client.get((0, path_1.path) `/ext/v3/articles/export/${externalID}`, options);
25
+ }
26
+ }
27
+ exports.Export = Export;
28
+ //# sourceMappingURL=export.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export.js","sourceRoot":"","sources":["../../../src/resources/news/articles/export.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAoD;AAEpD,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;;;;;OAQG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,UAAkB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,2BAA2B,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;CACF;AApBD,wBAoBC"}
@@ -0,0 +1,24 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../../core/resource.mjs";
3
+ import { path } from "../../../internal/utils/path.mjs";
4
+ export class Export extends APIResource {
5
+ /**
6
+ * Export articles, get status using get Export details API.
7
+ *
8
+ * The export returns the location to an JSON-Lines file located on our S3 bucket.
9
+ * The file is available for 7 days.
10
+ *
11
+ * There is a max restriction of 25.000 articles per export. No pagination
12
+ * supported. For larger exports please contact support@businessradar.com
13
+ */
14
+ create(body, options) {
15
+ return this._client.post('/ext/v3/articles/export/', { body, ...options });
16
+ }
17
+ /**
18
+ * Export article details.
19
+ */
20
+ retrieve(externalID, options) {
21
+ return this._client.get(path `/ext/v3/articles/export/${externalID}`, options);
22
+ }
23
+ }
24
+ //# sourceMappingURL=export.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export.mjs","sourceRoot":"","sources":["../../../src/resources/news/articles/export.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;;;;;OAQG;IACH,MAAM,CAAC,IAAwB,EAAE,OAAwB;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,UAAkB,EAAE,OAAwB;QACnD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,2BAA2B,UAAU,EAAE,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;CACF"}
@@ -0,0 +1,4 @@
1
+ export { Analytics, type AnalyticsGetCountByDateResponse, type AnalyticsGetCountByDateParams, } from "./analytics.mjs";
2
+ export { Articles, type Article, type CategoryTree, type FeedbackTypeEnum, type LanguageEnum, type ArticleCreateFeedbackResponse, type ArticleListSavedArticleFiltersResponse, type ArticleRetrieveRelatedResponse, type ArticleListParams, type ArticleCreateFeedbackParams, type ArticleListSavedArticleFiltersParams, type ArticlesNextKey, type ArticleListSavedArticleFiltersResponsesNextKey, } from "./articles.mjs";
3
+ export { Export, type ArticleExport, type DataExportFileType, type MediaTypeEnum, type ExportCreateParams, } from "./export.mjs";
4
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/news/articles/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC;OACM,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,6BAA6B,EAClC,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,oCAAoC,EACzC,KAAK,eAAe,EACpB,KAAK,8CAA8C,GACpD;OACM,EACL,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,kBAAkB,GACxB"}
@@ -0,0 +1,4 @@
1
+ export { Analytics, type AnalyticsGetCountByDateResponse, type AnalyticsGetCountByDateParams, } from "./analytics.js";
2
+ export { Articles, type Article, type CategoryTree, type FeedbackTypeEnum, type LanguageEnum, type ArticleCreateFeedbackResponse, type ArticleListSavedArticleFiltersResponse, type ArticleRetrieveRelatedResponse, type ArticleListParams, type ArticleCreateFeedbackParams, type ArticleListSavedArticleFiltersParams, type ArticlesNextKey, type ArticleListSavedArticleFiltersResponsesNextKey, } from "./articles.js";
3
+ export { Export, type ArticleExport, type DataExportFileType, type MediaTypeEnum, type ExportCreateParams, } from "./export.js";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/news/articles/index.ts"],"names":[],"mappings":"OAEO,EACL,SAAS,EACT,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC;OACM,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,6BAA6B,EAClC,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,oCAAoC,EACzC,KAAK,eAAe,EACpB,KAAK,8CAA8C,GACpD;OACM,EACL,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,kBAAkB,GACxB"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Export = exports.Articles = exports.Analytics = void 0;
5
+ var analytics_1 = require("./analytics.js");
6
+ Object.defineProperty(exports, "Analytics", { enumerable: true, get: function () { return analytics_1.Analytics; } });
7
+ var articles_1 = require("./articles.js");
8
+ Object.defineProperty(exports, "Articles", { enumerable: true, get: function () { return articles_1.Articles; } });
9
+ var export_1 = require("./export.js");
10
+ Object.defineProperty(exports, "Export", { enumerable: true, get: function () { return export_1.Export; } });
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/news/articles/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4CAIqB;AAHnB,sGAAA,SAAS,OAAA;AAIX,0CAcoB;AAblB,oGAAA,QAAQ,OAAA;AAcV,sCAMkB;AALhB,gGAAA,MAAM,OAAA"}
@@ -0,0 +1,5 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Analytics, } from "./analytics.mjs";
3
+ export { Articles, } from "./articles.mjs";
4
+ export { Export, } from "./export.mjs";
5
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/news/articles/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,SAAS,GAGV;OACM,EACL,QAAQ,GAaT;OACM,EACL,MAAM,GAKP"}
@@ -0,0 +1,2 @@
1
+ export * from "./articles/index.mjs";
2
+ //# sourceMappingURL=articles.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"articles.d.mts","sourceRoot":"","sources":["../../src/resources/news/articles.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from "./articles/index.js";
2
+ //# sourceMappingURL=articles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"articles.d.ts","sourceRoot":"","sources":["../../src/resources/news/articles.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ const tslib_1 = require("../../internal/tslib.js");
5
+ tslib_1.__exportStar(require("./articles/index.js"), exports);
6
+ //# sourceMappingURL=articles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"articles.js","sourceRoot":"","sources":["../../src/resources/news/articles.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8DAAiC"}
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export * from "./articles/index.mjs";
3
+ //# sourceMappingURL=articles.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"articles.mjs","sourceRoot":"","sources":["../../src/resources/news/articles.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
@@ -0,0 +1,3 @@
1
+ export { Articles, type Article, type CategoryTree, type FeedbackTypeEnum, type LanguageEnum, type ArticleCreateFeedbackResponse, type ArticleListSavedArticleFiltersResponse, type ArticleRetrieveRelatedResponse, type ArticleListParams, type ArticleCreateFeedbackParams, type ArticleListSavedArticleFiltersParams, type ArticlesNextKey, type ArticleListSavedArticleFiltersResponsesNextKey, } from "./articles/index.mjs";
2
+ export { News } from "./news.mjs";
3
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/news/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,6BAA6B,EAClC,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,oCAAoC,EACzC,KAAK,eAAe,EACpB,KAAK,8CAA8C,GACpD;OACM,EAAE,IAAI,EAAE"}
@@ -0,0 +1,3 @@
1
+ export { Articles, type Article, type CategoryTree, type FeedbackTypeEnum, type LanguageEnum, type ArticleCreateFeedbackResponse, type ArticleListSavedArticleFiltersResponse, type ArticleRetrieveRelatedResponse, type ArticleListParams, type ArticleCreateFeedbackParams, type ArticleListSavedArticleFiltersParams, type ArticlesNextKey, type ArticleListSavedArticleFiltersResponsesNextKey, } from "./articles/index.js";
2
+ export { News } from "./news.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/news/index.ts"],"names":[],"mappings":"OAEO,EACL,QAAQ,EACR,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,6BAA6B,EAClC,KAAK,sCAAsC,EAC3C,KAAK,8BAA8B,EACnC,KAAK,iBAAiB,EACtB,KAAK,2BAA2B,EAChC,KAAK,oCAAoC,EACzC,KAAK,eAAe,EACpB,KAAK,8CAA8C,GACpD;OACM,EAAE,IAAI,EAAE"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.News = exports.Articles = void 0;
5
+ var index_1 = require("./articles/index.js");
6
+ Object.defineProperty(exports, "Articles", { enumerable: true, get: function () { return index_1.Articles; } });
7
+ var news_1 = require("./news.js");
8
+ Object.defineProperty(exports, "News", { enumerable: true, get: function () { return news_1.News; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/news/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAc0B;AAbxB,iGAAA,QAAQ,OAAA;AAcV,kCAA8B;AAArB,4FAAA,IAAI,OAAA"}
@@ -0,0 +1,4 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Articles, } from "./articles/index.mjs";
3
+ export { News } from "./news.mjs";
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/news/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,QAAQ,GAaT;OACM,EAAE,IAAI,EAAE"}
@@ -0,0 +1,10 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import * as ArticlesAPI from "./articles/articles.mjs";
3
+ import { Article, ArticleCreateFeedbackParams, ArticleCreateFeedbackResponse, ArticleListParams, ArticleListSavedArticleFiltersParams, ArticleListSavedArticleFiltersResponse, ArticleListSavedArticleFiltersResponsesNextKey, ArticleRetrieveRelatedResponse, Articles, ArticlesNextKey, CategoryTree, FeedbackTypeEnum, LanguageEnum } from "./articles/articles.mjs";
4
+ export declare class News extends APIResource {
5
+ articles: ArticlesAPI.Articles;
6
+ }
7
+ export declare namespace News {
8
+ export { Articles as Articles, type Article as Article, type CategoryTree as CategoryTree, type FeedbackTypeEnum as FeedbackTypeEnum, type LanguageEnum as LanguageEnum, type ArticleCreateFeedbackResponse as ArticleCreateFeedbackResponse, type ArticleListSavedArticleFiltersResponse as ArticleListSavedArticleFiltersResponse, type ArticleRetrieveRelatedResponse as ArticleRetrieveRelatedResponse, type ArticlesNextKey as ArticlesNextKey, type ArticleListSavedArticleFiltersResponsesNextKey as ArticleListSavedArticleFiltersResponsesNextKey, type ArticleListParams as ArticleListParams, type ArticleCreateFeedbackParams as ArticleCreateFeedbackParams, type ArticleListSavedArticleFiltersParams as ArticleListSavedArticleFiltersParams, };
9
+ }
10
+ //# sourceMappingURL=news.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"news.d.mts","sourceRoot":"","sources":["../../src/resources/news/news.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EACL,OAAO,EACP,2BAA2B,EAC3B,6BAA6B,EAC7B,iBAAiB,EACjB,oCAAoC,EACpC,sCAAsC,EACtC,8CAA8C,EAC9C,8BAA8B,EAC9B,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACb;AAED,qBAAa,IAAK,SAAQ,WAAW;IACnC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;CACzE;AAID,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,8CAA8C,IAAI,8CAA8C,EACrG,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,oCAAoC,IAAI,oCAAoC,GAClF,CAAC;CACH"}