@clear-street/clearstreet 0.0.0 → 0.73.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 (579) hide show
  1. package/CHANGELOG.md +994 -0
  2. package/LICENSE +201 -0
  3. package/README.md +358 -0
  4. package/api-promise.d.mts +3 -0
  5. package/api-promise.d.mts.map +1 -0
  6. package/api-promise.d.ts +3 -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 +3 -0
  11. package/api-promise.mjs.map +1 -0
  12. package/client.d.mts +195 -0
  13. package/client.d.mts.map +1 -0
  14. package/client.d.ts +195 -0
  15. package/client.d.ts.map +1 -0
  16. package/client.js +489 -0
  17. package/client.js.map +1 -0
  18. package/client.mjs +485 -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/resource.d.mts +6 -0
  37. package/core/resource.d.mts.map +1 -0
  38. package/core/resource.d.ts +6 -0
  39. package/core/resource.d.ts.map +1 -0
  40. package/core/resource.js +11 -0
  41. package/core/resource.js.map +1 -0
  42. package/core/resource.mjs +7 -0
  43. package/core/resource.mjs.map +1 -0
  44. package/core/uploads.d.mts +3 -0
  45. package/core/uploads.d.mts.map +1 -0
  46. package/core/uploads.d.ts +3 -0
  47. package/core/uploads.d.ts.map +1 -0
  48. package/core/uploads.js +6 -0
  49. package/core/uploads.js.map +1 -0
  50. package/core/uploads.mjs +2 -0
  51. package/core/uploads.mjs.map +1 -0
  52. package/error.d.mts +3 -0
  53. package/error.d.mts.map +1 -0
  54. package/error.d.ts +3 -0
  55. package/error.d.ts.map +1 -0
  56. package/error.js +6 -0
  57. package/error.js.map +1 -0
  58. package/error.mjs +3 -0
  59. package/error.mjs.map +1 -0
  60. package/index.d.mts +6 -0
  61. package/index.d.mts.map +1 -0
  62. package/index.d.ts +6 -0
  63. package/index.d.ts.map +1 -0
  64. package/index.js +30 -0
  65. package/index.js.map +1 -0
  66. package/index.mjs +7 -0
  67. package/index.mjs.map +1 -0
  68. package/internal/builtin-types.d.mts +73 -0
  69. package/internal/builtin-types.d.mts.map +1 -0
  70. package/internal/builtin-types.d.ts +73 -0
  71. package/internal/builtin-types.d.ts.map +1 -0
  72. package/internal/builtin-types.js +4 -0
  73. package/internal/builtin-types.js.map +1 -0
  74. package/internal/builtin-types.mjs +3 -0
  75. package/internal/builtin-types.mjs.map +1 -0
  76. package/internal/detect-platform.d.mts +15 -0
  77. package/internal/detect-platform.d.mts.map +1 -0
  78. package/internal/detect-platform.d.ts +15 -0
  79. package/internal/detect-platform.d.ts.map +1 -0
  80. package/internal/detect-platform.js +162 -0
  81. package/internal/detect-platform.js.map +1 -0
  82. package/internal/detect-platform.mjs +157 -0
  83. package/internal/detect-platform.mjs.map +1 -0
  84. package/internal/errors.d.mts +3 -0
  85. package/internal/errors.d.mts.map +1 -0
  86. package/internal/errors.d.ts +3 -0
  87. package/internal/errors.d.ts.map +1 -0
  88. package/internal/errors.js +41 -0
  89. package/internal/errors.js.map +1 -0
  90. package/internal/errors.mjs +36 -0
  91. package/internal/errors.mjs.map +1 -0
  92. package/internal/headers.d.mts +20 -0
  93. package/internal/headers.d.mts.map +1 -0
  94. package/internal/headers.d.ts +20 -0
  95. package/internal/headers.d.ts.map +1 -0
  96. package/internal/headers.js +79 -0
  97. package/internal/headers.js.map +1 -0
  98. package/internal/headers.mjs +74 -0
  99. package/internal/headers.mjs.map +1 -0
  100. package/internal/parse.d.mts +12 -0
  101. package/internal/parse.d.mts.map +1 -0
  102. package/internal/parse.d.ts +12 -0
  103. package/internal/parse.d.ts.map +1 -0
  104. package/internal/parse.js +40 -0
  105. package/internal/parse.js.map +1 -0
  106. package/internal/parse.mjs +37 -0
  107. package/internal/parse.mjs.map +1 -0
  108. package/internal/qs/formats.d.mts +7 -0
  109. package/internal/qs/formats.d.mts.map +1 -0
  110. package/internal/qs/formats.d.ts +7 -0
  111. package/internal/qs/formats.d.ts.map +1 -0
  112. package/internal/qs/formats.js +13 -0
  113. package/internal/qs/formats.js.map +1 -0
  114. package/internal/qs/formats.mjs +9 -0
  115. package/internal/qs/formats.mjs.map +1 -0
  116. package/internal/qs/index.d.mts +10 -0
  117. package/internal/qs/index.d.mts.map +1 -0
  118. package/internal/qs/index.d.ts +10 -0
  119. package/internal/qs/index.d.ts.map +1 -0
  120. package/internal/qs/index.js +14 -0
  121. package/internal/qs/index.js.map +1 -0
  122. package/internal/qs/index.mjs +10 -0
  123. package/internal/qs/index.mjs.map +1 -0
  124. package/internal/qs/stringify.d.mts +3 -0
  125. package/internal/qs/stringify.d.mts.map +1 -0
  126. package/internal/qs/stringify.d.ts +3 -0
  127. package/internal/qs/stringify.d.ts.map +1 -0
  128. package/internal/qs/stringify.js +277 -0
  129. package/internal/qs/stringify.js.map +1 -0
  130. package/internal/qs/stringify.mjs +274 -0
  131. package/internal/qs/stringify.mjs.map +1 -0
  132. package/internal/qs/types.d.mts +57 -0
  133. package/internal/qs/types.d.mts.map +1 -0
  134. package/internal/qs/types.d.ts +57 -0
  135. package/internal/qs/types.d.ts.map +1 -0
  136. package/internal/qs/types.js +3 -0
  137. package/internal/qs/types.js.map +1 -0
  138. package/internal/qs/types.mjs +2 -0
  139. package/internal/qs/types.mjs.map +1 -0
  140. package/internal/qs/utils.d.mts +15 -0
  141. package/internal/qs/utils.d.mts.map +1 -0
  142. package/internal/qs/utils.d.ts +15 -0
  143. package/internal/qs/utils.d.ts.map +1 -0
  144. package/internal/qs/utils.js +230 -0
  145. package/internal/qs/utils.js.map +1 -0
  146. package/internal/qs/utils.mjs +217 -0
  147. package/internal/qs/utils.mjs.map +1 -0
  148. package/internal/request-options.d.mts +75 -0
  149. package/internal/request-options.d.mts.map +1 -0
  150. package/internal/request-options.d.ts +75 -0
  151. package/internal/request-options.d.ts.map +1 -0
  152. package/internal/request-options.js +14 -0
  153. package/internal/request-options.js.map +1 -0
  154. package/internal/request-options.mjs +10 -0
  155. package/internal/request-options.mjs.map +1 -0
  156. package/internal/shim-types.d.mts +17 -0
  157. package/internal/shim-types.d.mts.map +1 -0
  158. package/internal/shim-types.d.ts +17 -0
  159. package/internal/shim-types.d.ts.map +1 -0
  160. package/internal/shim-types.js +4 -0
  161. package/internal/shim-types.js.map +1 -0
  162. package/internal/shim-types.mjs +3 -0
  163. package/internal/shim-types.mjs.map +1 -0
  164. package/internal/shims.d.mts +26 -0
  165. package/internal/shims.d.mts.map +1 -0
  166. package/internal/shims.d.ts +26 -0
  167. package/internal/shims.d.ts.map +1 -0
  168. package/internal/shims.js +92 -0
  169. package/internal/shims.js.map +1 -0
  170. package/internal/shims.mjs +85 -0
  171. package/internal/shims.mjs.map +1 -0
  172. package/internal/to-file.d.mts +45 -0
  173. package/internal/to-file.d.mts.map +1 -0
  174. package/internal/to-file.d.ts +45 -0
  175. package/internal/to-file.d.ts.map +1 -0
  176. package/internal/to-file.js +91 -0
  177. package/internal/to-file.js.map +1 -0
  178. package/internal/to-file.mjs +88 -0
  179. package/internal/to-file.mjs.map +1 -0
  180. package/internal/tslib.js +81 -0
  181. package/internal/tslib.mjs +17 -0
  182. package/internal/types.d.mts +69 -0
  183. package/internal/types.d.mts.map +1 -0
  184. package/internal/types.d.ts +69 -0
  185. package/internal/types.d.ts.map +1 -0
  186. package/internal/types.js +4 -0
  187. package/internal/types.js.map +1 -0
  188. package/internal/types.mjs +3 -0
  189. package/internal/types.mjs.map +1 -0
  190. package/internal/uploads.d.mts +42 -0
  191. package/internal/uploads.d.mts.map +1 -0
  192. package/internal/uploads.d.ts +42 -0
  193. package/internal/uploads.d.ts.map +1 -0
  194. package/internal/uploads.js +141 -0
  195. package/internal/uploads.js.map +1 -0
  196. package/internal/uploads.mjs +131 -0
  197. package/internal/uploads.mjs.map +1 -0
  198. package/internal/utils/base64.d.mts +3 -0
  199. package/internal/utils/base64.d.mts.map +1 -0
  200. package/internal/utils/base64.d.ts +3 -0
  201. package/internal/utils/base64.d.ts.map +1 -0
  202. package/internal/utils/base64.js +38 -0
  203. package/internal/utils/base64.js.map +1 -0
  204. package/internal/utils/base64.mjs +33 -0
  205. package/internal/utils/base64.mjs.map +1 -0
  206. package/internal/utils/bytes.d.mts +4 -0
  207. package/internal/utils/bytes.d.mts.map +1 -0
  208. package/internal/utils/bytes.d.ts +4 -0
  209. package/internal/utils/bytes.d.ts.map +1 -0
  210. package/internal/utils/bytes.js +31 -0
  211. package/internal/utils/bytes.js.map +1 -0
  212. package/internal/utils/bytes.mjs +26 -0
  213. package/internal/utils/bytes.mjs.map +1 -0
  214. package/internal/utils/env.d.mts +9 -0
  215. package/internal/utils/env.d.mts.map +1 -0
  216. package/internal/utils/env.d.ts +9 -0
  217. package/internal/utils/env.d.ts.map +1 -0
  218. package/internal/utils/env.js +22 -0
  219. package/internal/utils/env.js.map +1 -0
  220. package/internal/utils/env.mjs +18 -0
  221. package/internal/utils/env.mjs.map +1 -0
  222. package/internal/utils/log.d.mts +37 -0
  223. package/internal/utils/log.d.mts.map +1 -0
  224. package/internal/utils/log.d.ts +37 -0
  225. package/internal/utils/log.d.ts.map +1 -0
  226. package/internal/utils/log.js +87 -0
  227. package/internal/utils/log.js.map +1 -0
  228. package/internal/utils/log.mjs +81 -0
  229. package/internal/utils/log.mjs.map +1 -0
  230. package/internal/utils/path.d.mts +15 -0
  231. package/internal/utils/path.d.mts.map +1 -0
  232. package/internal/utils/path.d.ts +15 -0
  233. package/internal/utils/path.d.ts.map +1 -0
  234. package/internal/utils/path.js +79 -0
  235. package/internal/utils/path.js.map +1 -0
  236. package/internal/utils/path.mjs +74 -0
  237. package/internal/utils/path.mjs.map +1 -0
  238. package/internal/utils/query.d.mts +2 -0
  239. package/internal/utils/query.d.mts.map +1 -0
  240. package/internal/utils/query.d.ts +2 -0
  241. package/internal/utils/query.d.ts.map +1 -0
  242. package/internal/utils/query.js +10 -0
  243. package/internal/utils/query.js.map +1 -0
  244. package/internal/utils/query.mjs +6 -0
  245. package/internal/utils/query.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 +8 -0
  271. package/internal/utils.d.mts.map +1 -0
  272. package/internal/utils.d.ts +8 -0
  273. package/internal/utils.d.ts.map +1 -0
  274. package/internal/utils.js +12 -0
  275. package/internal/utils.js.map +1 -0
  276. package/internal/utils.mjs +9 -0
  277. package/internal/utils.mjs.map +1 -0
  278. package/package.json +147 -3
  279. package/resource.d.mts +3 -0
  280. package/resource.d.mts.map +1 -0
  281. package/resource.d.ts +3 -0
  282. package/resource.d.ts.map +1 -0
  283. package/resource.js +6 -0
  284. package/resource.js.map +1 -0
  285. package/resource.mjs +3 -0
  286. package/resource.mjs.map +1 -0
  287. package/resources/index.d.mts +3 -0
  288. package/resources/index.d.mts.map +1 -0
  289. package/resources/index.d.ts +3 -0
  290. package/resources/index.d.ts.map +1 -0
  291. package/resources/index.js +9 -0
  292. package/resources/index.js.map +1 -0
  293. package/resources/index.mjs +4 -0
  294. package/resources/index.mjs.map +1 -0
  295. package/resources/shared.d.mts +63 -0
  296. package/resources/shared.d.mts.map +1 -0
  297. package/resources/shared.d.ts +63 -0
  298. package/resources/shared.d.ts.map +1 -0
  299. package/resources/shared.js +4 -0
  300. package/resources/shared.js.map +1 -0
  301. package/resources/shared.mjs +3 -0
  302. package/resources/shared.mjs.map +1 -0
  303. package/resources/v1/accounts.d.mts +436 -0
  304. package/resources/v1/accounts.d.mts.map +1 -0
  305. package/resources/v1/accounts.d.ts +436 -0
  306. package/resources/v1/accounts.d.ts.map +1 -0
  307. package/resources/v1/accounts.js +74 -0
  308. package/resources/v1/accounts.js.map +1 -0
  309. package/resources/v1/accounts.mjs +70 -0
  310. package/resources/v1/accounts.mjs.map +1 -0
  311. package/resources/v1/api-version.d.mts +37 -0
  312. package/resources/v1/api-version.d.mts.map +1 -0
  313. package/resources/v1/api-version.d.ts +37 -0
  314. package/resources/v1/api-version.d.ts.map +1 -0
  315. package/resources/v1/api-version.js +23 -0
  316. package/resources/v1/api-version.js.map +1 -0
  317. package/resources/v1/api-version.mjs +19 -0
  318. package/resources/v1/api-version.mjs.map +1 -0
  319. package/resources/v1/calendar.d.mts +170 -0
  320. package/resources/v1/calendar.d.mts.map +1 -0
  321. package/resources/v1/calendar.d.ts +170 -0
  322. package/resources/v1/calendar.d.ts.map +1 -0
  323. package/resources/v1/calendar.js +39 -0
  324. package/resources/v1/calendar.js.map +1 -0
  325. package/resources/v1/calendar.mjs +35 -0
  326. package/resources/v1/calendar.mjs.map +1 -0
  327. package/resources/v1/index.d.mts +12 -0
  328. package/resources/v1/index.d.mts.map +1 -0
  329. package/resources/v1/index.d.ts +12 -0
  330. package/resources/v1/index.d.ts.map +1 -0
  331. package/resources/v1/index.js +27 -0
  332. package/resources/v1/index.js.map +1 -0
  333. package/resources/v1/index.mjs +13 -0
  334. package/resources/v1/index.mjs.map +1 -0
  335. package/resources/v1/instrument-data/index.d.mts +4 -0
  336. package/resources/v1/instrument-data/index.d.mts.map +1 -0
  337. package/resources/v1/instrument-data/index.d.ts +4 -0
  338. package/resources/v1/instrument-data/index.d.ts.map +1 -0
  339. package/resources/v1/instrument-data/index.js +11 -0
  340. package/resources/v1/instrument-data/index.js.map +1 -0
  341. package/resources/v1/instrument-data/index.mjs +5 -0
  342. package/resources/v1/instrument-data/index.mjs.map +1 -0
  343. package/resources/v1/instrument-data/instrument-data.d.mts +1202 -0
  344. package/resources/v1/instrument-data/instrument-data.d.mts.map +1 -0
  345. package/resources/v1/instrument-data/instrument-data.d.ts +1202 -0
  346. package/resources/v1/instrument-data/instrument-data.d.ts.map +1 -0
  347. package/resources/v1/instrument-data/instrument-data.js +150 -0
  348. package/resources/v1/instrument-data/instrument-data.js.map +1 -0
  349. package/resources/v1/instrument-data/instrument-data.mjs +145 -0
  350. package/resources/v1/instrument-data/instrument-data.mjs.map +1 -0
  351. package/resources/v1/instrument-data/market-data.d.mts +240 -0
  352. package/resources/v1/instrument-data/market-data.d.mts.map +1 -0
  353. package/resources/v1/instrument-data/market-data.d.ts +240 -0
  354. package/resources/v1/instrument-data/market-data.d.ts.map +1 -0
  355. package/resources/v1/instrument-data/market-data.js +49 -0
  356. package/resources/v1/instrument-data/market-data.js.map +1 -0
  357. package/resources/v1/instrument-data/market-data.mjs +45 -0
  358. package/resources/v1/instrument-data/market-data.mjs.map +1 -0
  359. package/resources/v1/instrument-data/news.d.mts +136 -0
  360. package/resources/v1/instrument-data/news.d.mts.map +1 -0
  361. package/resources/v1/instrument-data/news.d.ts +136 -0
  362. package/resources/v1/instrument-data/news.d.ts.map +1 -0
  363. package/resources/v1/instrument-data/news.js +25 -0
  364. package/resources/v1/instrument-data/news.js.map +1 -0
  365. package/resources/v1/instrument-data/news.mjs +21 -0
  366. package/resources/v1/instrument-data/news.mjs.map +1 -0
  367. package/resources/v1/instrument-data.d.mts +2 -0
  368. package/resources/v1/instrument-data.d.mts.map +1 -0
  369. package/resources/v1/instrument-data.d.ts +2 -0
  370. package/resources/v1/instrument-data.d.ts.map +1 -0
  371. package/resources/v1/instrument-data.js +6 -0
  372. package/resources/v1/instrument-data.js.map +1 -0
  373. package/resources/v1/instrument-data.mjs +3 -0
  374. package/resources/v1/instrument-data.mjs.map +1 -0
  375. package/resources/v1/instruments.d.mts +473 -0
  376. package/resources/v1/instruments.d.mts.map +1 -0
  377. package/resources/v1/instruments.d.ts +473 -0
  378. package/resources/v1/instruments.d.ts.map +1 -0
  379. package/resources/v1/instruments.js +77 -0
  380. package/resources/v1/instruments.js.map +1 -0
  381. package/resources/v1/instruments.mjs +73 -0
  382. package/resources/v1/instruments.mjs.map +1 -0
  383. package/resources/v1/omni-ai/entitlements.d.mts +108 -0
  384. package/resources/v1/omni-ai/entitlements.d.mts.map +1 -0
  385. package/resources/v1/omni-ai/entitlements.d.ts +108 -0
  386. package/resources/v1/omni-ai/entitlements.d.ts.map +1 -0
  387. package/resources/v1/omni-ai/entitlements.js +67 -0
  388. package/resources/v1/omni-ai/entitlements.js.map +1 -0
  389. package/resources/v1/omni-ai/entitlements.mjs +63 -0
  390. package/resources/v1/omni-ai/entitlements.mjs.map +1 -0
  391. package/resources/v1/omni-ai/index.d.mts +6 -0
  392. package/resources/v1/omni-ai/index.d.mts.map +1 -0
  393. package/resources/v1/omni-ai/index.d.ts +6 -0
  394. package/resources/v1/omni-ai/index.d.ts.map +1 -0
  395. package/resources/v1/omni-ai/index.js +15 -0
  396. package/resources/v1/omni-ai/index.js.map +1 -0
  397. package/resources/v1/omni-ai/index.mjs +7 -0
  398. package/resources/v1/omni-ai/index.mjs.map +1 -0
  399. package/resources/v1/omni-ai/messages.d.mts +85 -0
  400. package/resources/v1/omni-ai/messages.d.mts.map +1 -0
  401. package/resources/v1/omni-ai/messages.d.ts +85 -0
  402. package/resources/v1/omni-ai/messages.d.ts.map +1 -0
  403. package/resources/v1/omni-ai/messages.js +51 -0
  404. package/resources/v1/omni-ai/messages.js.map +1 -0
  405. package/resources/v1/omni-ai/messages.mjs +47 -0
  406. package/resources/v1/omni-ai/messages.mjs.map +1 -0
  407. package/resources/v1/omni-ai/omni-ai.d.mts +323 -0
  408. package/resources/v1/omni-ai/omni-ai.d.mts.map +1 -0
  409. package/resources/v1/omni-ai/omni-ai.d.ts +323 -0
  410. package/resources/v1/omni-ai/omni-ai.d.ts.map +1 -0
  411. package/resources/v1/omni-ai/omni-ai.js +29 -0
  412. package/resources/v1/omni-ai/omni-ai.js.map +1 -0
  413. package/resources/v1/omni-ai/omni-ai.mjs +24 -0
  414. package/resources/v1/omni-ai/omni-ai.mjs.map +1 -0
  415. package/resources/v1/omni-ai/responses.d.mts +158 -0
  416. package/resources/v1/omni-ai/responses.d.mts.map +1 -0
  417. package/resources/v1/omni-ai/responses.d.ts +158 -0
  418. package/resources/v1/omni-ai/responses.d.ts.map +1 -0
  419. package/resources/v1/omni-ai/responses.js +60 -0
  420. package/resources/v1/omni-ai/responses.js.map +1 -0
  421. package/resources/v1/omni-ai/responses.mjs +56 -0
  422. package/resources/v1/omni-ai/responses.mjs.map +1 -0
  423. package/resources/v1/omni-ai/threads.d.mts +338 -0
  424. package/resources/v1/omni-ai/threads.d.mts.map +1 -0
  425. package/resources/v1/omni-ai/threads.d.ts +338 -0
  426. package/resources/v1/omni-ai/threads.d.ts.map +1 -0
  427. package/resources/v1/omni-ai/threads.js +141 -0
  428. package/resources/v1/omni-ai/threads.js.map +1 -0
  429. package/resources/v1/omni-ai/threads.mjs +137 -0
  430. package/resources/v1/omni-ai/threads.mjs.map +1 -0
  431. package/resources/v1/omni-ai.d.mts +2 -0
  432. package/resources/v1/omni-ai.d.mts.map +1 -0
  433. package/resources/v1/omni-ai.d.ts +2 -0
  434. package/resources/v1/omni-ai.d.ts.map +1 -0
  435. package/resources/v1/omni-ai.js +6 -0
  436. package/resources/v1/omni-ai.js.map +1 -0
  437. package/resources/v1/omni-ai.mjs +3 -0
  438. package/resources/v1/omni-ai.mjs.map +1 -0
  439. package/resources/v1/orders.d.mts +643 -0
  440. package/resources/v1/orders.d.mts.map +1 -0
  441. package/resources/v1/orders.d.ts +643 -0
  442. package/resources/v1/orders.d.ts.map +1 -0
  443. package/resources/v1/orders.js +134 -0
  444. package/resources/v1/orders.js.map +1 -0
  445. package/resources/v1/orders.mjs +130 -0
  446. package/resources/v1/orders.mjs.map +1 -0
  447. package/resources/v1/positions.d.mts +385 -0
  448. package/resources/v1/positions.d.mts.map +1 -0
  449. package/resources/v1/positions.d.ts +385 -0
  450. package/resources/v1/positions.d.ts.map +1 -0
  451. package/resources/v1/positions.js +130 -0
  452. package/resources/v1/positions.js.map +1 -0
  453. package/resources/v1/positions.mjs +126 -0
  454. package/resources/v1/positions.mjs.map +1 -0
  455. package/resources/v1/v1.d.mts +51 -0
  456. package/resources/v1/v1.d.mts.map +1 -0
  457. package/resources/v1/v1.d.ts +51 -0
  458. package/resources/v1/v1.d.ts.map +1 -0
  459. package/resources/v1/v1.js +53 -0
  460. package/resources/v1/v1.js.map +1 -0
  461. package/resources/v1/v1.mjs +48 -0
  462. package/resources/v1/v1.mjs.map +1 -0
  463. package/resources/v1/watchlist.d.mts +210 -0
  464. package/resources/v1/watchlist.d.mts.map +1 -0
  465. package/resources/v1/watchlist.d.ts +210 -0
  466. package/resources/v1/watchlist.d.ts.map +1 -0
  467. package/resources/v1/watchlist.js +95 -0
  468. package/resources/v1/watchlist.js.map +1 -0
  469. package/resources/v1/watchlist.mjs +91 -0
  470. package/resources/v1/watchlist.mjs.map +1 -0
  471. package/resources/v1/websocket.d.mts +18 -0
  472. package/resources/v1/websocket.d.mts.map +1 -0
  473. package/resources/v1/websocket.d.ts +18 -0
  474. package/resources/v1/websocket.d.ts.map +1 -0
  475. package/resources/v1/websocket.js +27 -0
  476. package/resources/v1/websocket.js.map +1 -0
  477. package/resources/v1/websocket.mjs +23 -0
  478. package/resources/v1/websocket.mjs.map +1 -0
  479. package/resources/v1.d.mts +2 -0
  480. package/resources/v1.d.mts.map +1 -0
  481. package/resources/v1.d.ts +2 -0
  482. package/resources/v1.d.ts.map +1 -0
  483. package/resources/v1.js +6 -0
  484. package/resources/v1.js.map +1 -0
  485. package/resources/v1.mjs +3 -0
  486. package/resources/v1.mjs.map +1 -0
  487. package/resources.d.mts +2 -0
  488. package/resources.d.mts.map +1 -0
  489. package/resources.d.ts +2 -0
  490. package/resources.d.ts.map +1 -0
  491. package/resources.js +5 -0
  492. package/resources.js.map +1 -0
  493. package/resources.mjs +2 -0
  494. package/resources.mjs.map +1 -0
  495. package/src/api-promise.ts +2 -0
  496. package/src/client.ts +769 -0
  497. package/src/core/README.md +3 -0
  498. package/src/core/api-promise.ts +92 -0
  499. package/src/core/error.ts +130 -0
  500. package/src/core/resource.ts +11 -0
  501. package/src/core/uploads.ts +2 -0
  502. package/src/error.ts +2 -0
  503. package/src/index.ts +22 -0
  504. package/src/internal/README.md +3 -0
  505. package/src/internal/builtin-types.ts +93 -0
  506. package/src/internal/detect-platform.ts +196 -0
  507. package/src/internal/errors.ts +33 -0
  508. package/src/internal/headers.ts +97 -0
  509. package/src/internal/parse.ts +56 -0
  510. package/src/internal/qs/LICENSE.md +13 -0
  511. package/src/internal/qs/README.md +3 -0
  512. package/src/internal/qs/formats.ts +10 -0
  513. package/src/internal/qs/index.ts +13 -0
  514. package/src/internal/qs/stringify.ts +385 -0
  515. package/src/internal/qs/types.ts +71 -0
  516. package/src/internal/qs/utils.ts +265 -0
  517. package/src/internal/request-options.ts +91 -0
  518. package/src/internal/shim-types.ts +26 -0
  519. package/src/internal/shims.ts +107 -0
  520. package/src/internal/to-file.ts +154 -0
  521. package/src/internal/types.ts +93 -0
  522. package/src/internal/uploads.ts +187 -0
  523. package/src/internal/utils/base64.ts +40 -0
  524. package/src/internal/utils/bytes.ts +32 -0
  525. package/src/internal/utils/env.ts +18 -0
  526. package/src/internal/utils/log.ts +128 -0
  527. package/src/internal/utils/path.ts +88 -0
  528. package/src/internal/utils/query.ts +7 -0
  529. package/src/internal/utils/sleep.ts +3 -0
  530. package/src/internal/utils/uuid.ts +17 -0
  531. package/src/internal/utils/values.ts +105 -0
  532. package/src/internal/utils.ts +9 -0
  533. package/src/lib/.keep +4 -0
  534. package/src/resource.ts +2 -0
  535. package/src/resources/index.ts +4 -0
  536. package/src/resources/shared.ts +72 -0
  537. package/src/resources/v1/accounts.ts +586 -0
  538. package/src/resources/v1/api-version.ts +44 -0
  539. package/src/resources/v1/calendar.ts +221 -0
  540. package/src/resources/v1/index.ts +203 -0
  541. package/src/resources/v1/instrument-data/index.ts +63 -0
  542. package/src/resources/v1/instrument-data/instrument-data.ts +1584 -0
  543. package/src/resources/v1/instrument-data/market-data.ts +306 -0
  544. package/src/resources/v1/instrument-data/news.ts +188 -0
  545. package/src/resources/v1/instrument-data.ts +3 -0
  546. package/src/resources/v1/instruments.ts +611 -0
  547. package/src/resources/v1/omni-ai/entitlements.ts +170 -0
  548. package/src/resources/v1/omni-ai/index.ts +89 -0
  549. package/src/resources/v1/omni-ai/messages.ts +117 -0
  550. package/src/resources/v1/omni-ai/omni-ai.ts +527 -0
  551. package/src/resources/v1/omni-ai/responses.ts +220 -0
  552. package/src/resources/v1/omni-ai/threads.ts +460 -0
  553. package/src/resources/v1/omni-ai.ts +3 -0
  554. package/src/resources/v1/orders.ts +912 -0
  555. package/src/resources/v1/positions.ts +533 -0
  556. package/src/resources/v1/v1.ts +460 -0
  557. package/src/resources/v1/watchlist.ts +292 -0
  558. package/src/resources/v1/websocket.ts +26 -0
  559. package/src/resources/v1.ts +3 -0
  560. package/src/resources.ts +1 -0
  561. package/src/tsconfig.json +11 -0
  562. package/src/uploads.ts +2 -0
  563. package/src/version.ts +1 -0
  564. package/uploads.d.mts +3 -0
  565. package/uploads.d.mts.map +1 -0
  566. package/uploads.d.ts +3 -0
  567. package/uploads.d.ts.map +1 -0
  568. package/uploads.js +6 -0
  569. package/uploads.js.map +1 -0
  570. package/uploads.mjs +3 -0
  571. package/uploads.mjs.map +1 -0
  572. package/version.d.mts +2 -0
  573. package/version.d.mts.map +1 -0
  574. package/version.d.ts +2 -0
  575. package/version.d.ts.map +1 -0
  576. package/version.js +5 -0
  577. package/version.js.map +1 -0
  578. package/version.mjs +2 -0
  579. package/version.mjs.map +1 -0
@@ -0,0 +1,1584 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../../core/resource';
4
+ import * as Shared from '../../shared';
5
+ import * as OrdersAPI from '../orders';
6
+ import * as MarketDataAPI from './market-data';
7
+ import {
8
+ DailySummary,
9
+ DailySummaryList,
10
+ MarketData,
11
+ MarketDataGetDailySummariesParams,
12
+ MarketDataGetDailySummariesResponse,
13
+ MarketDataGetSnapshotsParams,
14
+ MarketDataGetSnapshotsResponse,
15
+ MarketDataSnapshot,
16
+ MarketDataSnapshotList,
17
+ SnapshotGreeks,
18
+ SnapshotLastTrade,
19
+ SnapshotQuote,
20
+ SnapshotSession,
21
+ } from './market-data';
22
+ import * as NewsAPI from './news';
23
+ import {
24
+ News,
25
+ NewsGetNewsParams,
26
+ NewsGetNewsResponse,
27
+ NewsInstrument,
28
+ NewsItem,
29
+ NewsItemList,
30
+ NewsType,
31
+ } from './news';
32
+ import { APIPromise } from '../../../core/api-promise';
33
+ import { RequestOptions } from '../../../internal/request-options';
34
+ import { path } from '../../../internal/utils/path';
35
+
36
+ /**
37
+ * Retrieve instrument analytics, market data, news, and related reference data.
38
+ */
39
+ export class InstrumentData extends APIResource {
40
+ marketData: MarketDataAPI.MarketData = new MarketDataAPI.MarketData(this._client);
41
+ news: NewsAPI.News = new NewsAPI.News(this._client);
42
+
43
+ /**
44
+ * List instrument events across all securities.
45
+ *
46
+ * Retrieves all instrument events grouped by date.
47
+ *
48
+ * @example
49
+ * ```ts
50
+ * const response =
51
+ * await client.v1.instrumentData.getAllInstrumentEvents();
52
+ * ```
53
+ */
54
+ getAllInstrumentEvents(
55
+ query: InstrumentDataGetAllInstrumentEventsParams | null | undefined = {},
56
+ options?: RequestOptions,
57
+ ): APIPromise<InstrumentDataGetAllInstrumentEventsResponse> {
58
+ return this._client.get('/v1/instruments/events', { query, ...options });
59
+ }
60
+
61
+ /**
62
+ * Retrieves analyst ratings and price targets for an instrument.
63
+ *
64
+ * @example
65
+ * ```ts
66
+ * const response =
67
+ * await client.v1.instrumentData.getInstrumentAnalystConsensus(
68
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
69
+ * );
70
+ * ```
71
+ */
72
+ getInstrumentAnalystConsensus(
73
+ instrumentID: OrdersAPI.InstrumentIDOrSymbol,
74
+ query: InstrumentDataGetInstrumentAnalystConsensusParams | null | undefined = {},
75
+ options?: RequestOptions,
76
+ ): APIPromise<InstrumentDataGetInstrumentAnalystConsensusResponse> {
77
+ return this._client.get(path`/v1/instruments/${instrumentID}/analyst-reporting`, { query, ...options });
78
+ }
79
+
80
+ /**
81
+ * Get balance sheet statements for an instrument.
82
+ *
83
+ * Retrieves quarterly balance sheet statements for a specific instrument, sorted
84
+ * by fiscal period (most recent first).
85
+ *
86
+ * Date range defaults:
87
+ *
88
+ * - `from_date`: None (no lower bound)
89
+ * - `to_date`: None (no upper bound)
90
+ *
91
+ * @example
92
+ * ```ts
93
+ * const response =
94
+ * await client.v1.instrumentData.getInstrumentBalanceSheetStatements(
95
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
96
+ * );
97
+ * ```
98
+ */
99
+ getInstrumentBalanceSheetStatements(
100
+ instrumentID: OrdersAPI.InstrumentIDOrSymbol,
101
+ query: InstrumentDataGetInstrumentBalanceSheetStatementsParams | null | undefined = {},
102
+ options?: RequestOptions,
103
+ ): APIPromise<InstrumentDataGetInstrumentBalanceSheetStatementsResponse> {
104
+ return this._client.get(path`/v1/instruments/${instrumentID}/balance-sheets`, { query, ...options });
105
+ }
106
+
107
+ /**
108
+ * Get cash flow statements for an instrument.
109
+ *
110
+ * Retrieves historical cash flow statements for the specified instrument. Cash
111
+ * flow statements show cash inflows and outflows from operating, investing, and
112
+ * financing activities.
113
+ *
114
+ * @example
115
+ * ```ts
116
+ * const response =
117
+ * await client.v1.instrumentData.getInstrumentCashFlowStatements(
118
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
119
+ * );
120
+ * ```
121
+ */
122
+ getInstrumentCashFlowStatements(
123
+ instrumentID: OrdersAPI.InstrumentIDOrSymbol,
124
+ query: InstrumentDataGetInstrumentCashFlowStatementsParams | null | undefined = {},
125
+ options?: RequestOptions,
126
+ ): APIPromise<InstrumentDataGetInstrumentCashFlowStatementsResponse> {
127
+ return this._client.get(path`/v1/instruments/${instrumentID}/cash-flow-statements`, {
128
+ query,
129
+ ...options,
130
+ });
131
+ }
132
+
133
+ /**
134
+ * Retrieves corporate events (dividends, splits, etc.) for an instrument, grouped
135
+ * by event type.
136
+ *
137
+ * Date range defaults:
138
+ *
139
+ * - `from_date`: today - 365 days
140
+ * - `to_date`: today + 60 days
141
+ *
142
+ * @example
143
+ * ```ts
144
+ * const response =
145
+ * await client.v1.instrumentData.getInstrumentEvents(
146
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
147
+ * );
148
+ * ```
149
+ */
150
+ getInstrumentEvents(
151
+ instrumentID: OrdersAPI.InstrumentIDOrSymbol,
152
+ query: InstrumentDataGetInstrumentEventsParams | null | undefined = {},
153
+ options?: RequestOptions,
154
+ ): APIPromise<InstrumentDataGetInstrumentEventsResponse> {
155
+ return this._client.get(path`/v1/instruments/${instrumentID}/events`, { query, ...options });
156
+ }
157
+
158
+ /**
159
+ * Retrieves supplemental fundamentals and company profile data for an instrument.
160
+ *
161
+ * @example
162
+ * ```ts
163
+ * const response =
164
+ * await client.v1.instrumentData.getInstrumentFundamentals(
165
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
166
+ * );
167
+ * ```
168
+ */
169
+ getInstrumentFundamentals(
170
+ instrumentID: OrdersAPI.InstrumentIDOrSymbol,
171
+ options?: RequestOptions,
172
+ ): APIPromise<InstrumentDataGetInstrumentFundamentalsResponse> {
173
+ return this._client.get(path`/v1/instruments/${instrumentID}/fundamentals`, options);
174
+ }
175
+
176
+ /**
177
+ * Retrieves quarterly income statements for a specific instrument, sorted by
178
+ * fiscal period (most recent first).
179
+ *
180
+ * Date range defaults:
181
+ *
182
+ * - `from_date`: None (no lower bound)
183
+ * - `to_date`: None (no upper bound)
184
+ *
185
+ * @example
186
+ * ```ts
187
+ * const response =
188
+ * await client.v1.instrumentData.getInstrumentIncomeStatements(
189
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
190
+ * );
191
+ * ```
192
+ */
193
+ getInstrumentIncomeStatements(
194
+ instrumentID: OrdersAPI.InstrumentIDOrSymbol,
195
+ query: InstrumentDataGetInstrumentIncomeStatementsParams | null | undefined = {},
196
+ options?: RequestOptions,
197
+ ): APIPromise<InstrumentDataGetInstrumentIncomeStatementsResponse> {
198
+ return this._client.get(path`/v1/instruments/${instrumentID}/income-statements`, { query, ...options });
199
+ }
200
+ }
201
+
202
+ /**
203
+ * Event types supported by the all-events endpoint.
204
+ */
205
+ export type AllEventsEventType = 'EARNINGS' | 'DIVIDEND' | 'STOCK_SPLIT' | 'IPO';
206
+
207
+ /**
208
+ * Analyst recommendation distribution
209
+ */
210
+ export interface AnalystDistribution {
211
+ /**
212
+ * Number of buy recommendations
213
+ */
214
+ buy: number;
215
+
216
+ /**
217
+ * Number of hold recommendations
218
+ */
219
+ hold: number;
220
+
221
+ /**
222
+ * Number of sell recommendations
223
+ */
224
+ sell: number;
225
+
226
+ /**
227
+ * Number of strong buy recommendations
228
+ */
229
+ strong_buy: number;
230
+
231
+ /**
232
+ * Number of strong sell recommendations
233
+ */
234
+ strong_sell: number;
235
+ }
236
+
237
+ /**
238
+ * Analyst rating category
239
+ */
240
+ export type AnalystRating = 'STRONG_BUY' | 'BUY' | 'HOLD' | 'SELL' | 'STRONG_SELL';
241
+
242
+ /**
243
+ * Fiscal period type for earnings reports
244
+ */
245
+ export type FiscalPeriodType = 'QUARTERLY' | 'ANNUAL' | 'TTM' | 'BIANNUAL';
246
+
247
+ /**
248
+ * All-events payload grouped by date.
249
+ */
250
+ export interface InstrumentAllEventsData {
251
+ /**
252
+ * Events grouped by date in descending order.
253
+ */
254
+ event_dates: Array<InstrumentEventsByDate>;
255
+ }
256
+
257
+ /**
258
+ * Aggregated analyst consensus metrics
259
+ */
260
+ export interface InstrumentAnalystConsensus {
261
+ /**
262
+ * The date the consensus snapshot was generated
263
+ */
264
+ date: string;
265
+
266
+ /**
267
+ * Count of individual analyst recommendations by category
268
+ */
269
+ distribution?: AnalystDistribution | null;
270
+
271
+ /**
272
+ * Aggregated analyst price target statistics
273
+ */
274
+ price_target?: PriceTarget | null;
275
+
276
+ /**
277
+ * Consensus analyst rating
278
+ */
279
+ rating?: AnalystRating | null;
280
+ }
281
+
282
+ /**
283
+ * A quarterly balance sheet statement for an instrument.
284
+ */
285
+ export interface InstrumentBalanceSheetStatement {
286
+ /**
287
+ * The date and time when the filing was accepted by the SEC
288
+ */
289
+ accepted_date: string;
290
+
291
+ /**
292
+ * The date the financial statement was filed
293
+ */
294
+ filing_date: string;
295
+
296
+ /**
297
+ * The fiscal period identifier (e.g., "Q1", "Q2", "Q3", "Q4")
298
+ */
299
+ period: string;
300
+
301
+ /**
302
+ * The type of fiscal period
303
+ */
304
+ period_type: FiscalPeriodType;
305
+
306
+ /**
307
+ * The currency in which the statement is reported (ISO 4217)
308
+ */
309
+ reported_currency: string;
310
+
311
+ /**
312
+ * The fiscal year of the statement
313
+ */
314
+ year: number;
315
+
316
+ /**
317
+ * Account payables
318
+ */
319
+ account_payables?: string | null;
320
+
321
+ /**
322
+ * Accounts receivables
323
+ */
324
+ accounts_receivables?: string | null;
325
+
326
+ /**
327
+ * Accrued expenses
328
+ */
329
+ accrued_expenses?: string | null;
330
+
331
+ /**
332
+ * Accumulated other comprehensive income/loss
333
+ */
334
+ accumulated_other_comprehensive_income_loss?: string | null;
335
+
336
+ /**
337
+ * Additional paid-in capital
338
+ */
339
+ additional_paid_in_capital?: string | null;
340
+
341
+ /**
342
+ * Capital lease obligations (total)
343
+ */
344
+ capital_lease_obligations?: string | null;
345
+
346
+ /**
347
+ * Capital lease obligations (current portion)
348
+ */
349
+ capital_lease_obligations_current?: string | null;
350
+
351
+ /**
352
+ * Cash and cash equivalents
353
+ */
354
+ cash_and_cash_equivalents?: string | null;
355
+
356
+ /**
357
+ * Cash and short-term investments combined
358
+ */
359
+ cash_and_short_term_investments?: string | null;
360
+
361
+ /**
362
+ * Common stock
363
+ */
364
+ common_stock?: string | null;
365
+
366
+ /**
367
+ * Deferred revenue
368
+ */
369
+ deferred_revenue?: string | null;
370
+
371
+ /**
372
+ * Deferred revenue (non-current)
373
+ */
374
+ deferred_revenue_non_current?: string | null;
375
+
376
+ /**
377
+ * Deferred tax liabilities (non-current)
378
+ */
379
+ deferred_tax_liabilities_non_current?: string | null;
380
+
381
+ /**
382
+ * Goodwill
383
+ */
384
+ goodwill?: string | null;
385
+
386
+ /**
387
+ * Goodwill and intangible assets combined
388
+ */
389
+ goodwill_and_intangible_assets?: string | null;
390
+
391
+ /**
392
+ * Intangible assets
393
+ */
394
+ intangible_assets?: string | null;
395
+
396
+ /**
397
+ * Inventory
398
+ */
399
+ inventory?: string | null;
400
+
401
+ /**
402
+ * Long-term debt
403
+ */
404
+ long_term_debt?: string | null;
405
+
406
+ /**
407
+ * Long-term investments
408
+ */
409
+ long_term_investments?: string | null;
410
+
411
+ /**
412
+ * Minority interest
413
+ */
414
+ minority_interest?: string | null;
415
+
416
+ /**
417
+ * Net debt (total debt minus cash)
418
+ */
419
+ net_debt?: string | null;
420
+
421
+ /**
422
+ * Net receivables
423
+ */
424
+ net_receivables?: string | null;
425
+
426
+ /**
427
+ * Other assets
428
+ */
429
+ other_assets?: string | null;
430
+
431
+ /**
432
+ * Other current assets
433
+ */
434
+ other_current_assets?: string | null;
435
+
436
+ /**
437
+ * Other current liabilities
438
+ */
439
+ other_current_liabilities?: string | null;
440
+
441
+ /**
442
+ * Other liabilities
443
+ */
444
+ other_liabilities?: string | null;
445
+
446
+ /**
447
+ * Other non-current assets
448
+ */
449
+ other_non_current_assets?: string | null;
450
+
451
+ /**
452
+ * Other non-current liabilities
453
+ */
454
+ other_non_current_liabilities?: string | null;
455
+
456
+ /**
457
+ * Other payables
458
+ */
459
+ other_payables?: string | null;
460
+
461
+ /**
462
+ * Other receivables
463
+ */
464
+ other_receivables?: string | null;
465
+
466
+ /**
467
+ * Other total stockholders equity
468
+ */
469
+ other_total_stockholders_equity?: string | null;
470
+
471
+ /**
472
+ * Preferred stock
473
+ */
474
+ preferred_stock?: string | null;
475
+
476
+ /**
477
+ * Prepaids
478
+ */
479
+ prepaids?: string | null;
480
+
481
+ /**
482
+ * Property, plant and equipment net of depreciation
483
+ */
484
+ property_plant_and_equipment_net?: string | null;
485
+
486
+ /**
487
+ * Retained earnings
488
+ */
489
+ retained_earnings?: string | null;
490
+
491
+ /**
492
+ * Short-term debt
493
+ */
494
+ short_term_debt?: string | null;
495
+
496
+ /**
497
+ * Short-term investments
498
+ */
499
+ short_term_investments?: string | null;
500
+
501
+ /**
502
+ * Tax assets
503
+ */
504
+ tax_assets?: string | null;
505
+
506
+ /**
507
+ * Tax payables
508
+ */
509
+ tax_payables?: string | null;
510
+
511
+ /**
512
+ * Total assets
513
+ */
514
+ total_assets?: string | null;
515
+
516
+ /**
517
+ * Total current assets
518
+ */
519
+ total_current_assets?: string | null;
520
+
521
+ /**
522
+ * Total current liabilities
523
+ */
524
+ total_current_liabilities?: string | null;
525
+
526
+ /**
527
+ * Total debt
528
+ */
529
+ total_debt?: string | null;
530
+
531
+ /**
532
+ * Total equity
533
+ */
534
+ total_equity?: string | null;
535
+
536
+ /**
537
+ * Total investments
538
+ */
539
+ total_investments?: string | null;
540
+
541
+ /**
542
+ * Total liabilities
543
+ */
544
+ total_liabilities?: string | null;
545
+
546
+ /**
547
+ * Total liabilities and total equity
548
+ */
549
+ total_liabilities_and_total_equity?: string | null;
550
+
551
+ /**
552
+ * Total non-current assets
553
+ */
554
+ total_non_current_assets?: string | null;
555
+
556
+ /**
557
+ * Total non-current liabilities
558
+ */
559
+ total_non_current_liabilities?: string | null;
560
+
561
+ /**
562
+ * Total payables
563
+ */
564
+ total_payables?: string | null;
565
+
566
+ /**
567
+ * Total stockholders equity
568
+ */
569
+ total_stockholders_equity?: string | null;
570
+
571
+ /**
572
+ * Treasury stock
573
+ */
574
+ treasury_stock?: string | null;
575
+ }
576
+
577
+ export type InstrumentBalanceSheetStatementList = Array<InstrumentBalanceSheetStatement>;
578
+
579
+ /**
580
+ * A quarterly cash flow statement for an instrument.
581
+ */
582
+ export interface InstrumentCashFlowStatement {
583
+ /**
584
+ * The date and time when the filing was accepted by the SEC
585
+ */
586
+ accepted_date: string;
587
+
588
+ /**
589
+ * The date the financial statement was filed
590
+ */
591
+ filing_date: string;
592
+
593
+ /**
594
+ * The fiscal period identifier (e.g., "Q1", "Q2", "Q3", "Q4")
595
+ */
596
+ period: string;
597
+
598
+ /**
599
+ * The type of fiscal period
600
+ */
601
+ period_type: FiscalPeriodType;
602
+
603
+ /**
604
+ * The currency in which the statement is reported (ISO 4217)
605
+ */
606
+ reported_currency: string;
607
+
608
+ /**
609
+ * The fiscal year of the statement
610
+ */
611
+ year: number;
612
+
613
+ /**
614
+ * Change in accounts payables
615
+ */
616
+ accounts_payables?: string | null;
617
+
618
+ /**
619
+ * Change in accounts receivables
620
+ */
621
+ accounts_receivables?: string | null;
622
+
623
+ /**
624
+ * Net acquisitions
625
+ */
626
+ acquisitions_net?: string | null;
627
+
628
+ /**
629
+ * Capital expenditure
630
+ */
631
+ capital_expenditure?: string | null;
632
+
633
+ /**
634
+ * Cash and cash equivalents at beginning of period
635
+ */
636
+ cash_at_beginning_of_period?: string | null;
637
+
638
+ /**
639
+ * Cash and cash equivalents at end of period
640
+ */
641
+ cash_at_end_of_period?: string | null;
642
+
643
+ /**
644
+ * Change in working capital
645
+ */
646
+ change_in_working_capital?: string | null;
647
+
648
+ /**
649
+ * Common dividends paid
650
+ */
651
+ common_dividends_paid?: string | null;
652
+
653
+ /**
654
+ * Common stock issuance
655
+ */
656
+ common_stock_issuance?: string | null;
657
+
658
+ /**
659
+ * Common stock repurchased (buybacks)
660
+ */
661
+ common_stock_repurchased?: string | null;
662
+
663
+ /**
664
+ * Deferred income tax expense
665
+ */
666
+ deferred_income_tax?: string | null;
667
+
668
+ /**
669
+ * Depreciation and amortization expense
670
+ */
671
+ depreciation_and_amortization?: string | null;
672
+
673
+ /**
674
+ * Effect of foreign exchange changes on cash
675
+ */
676
+ effect_of_forex_changes_on_cash?: string | null;
677
+
678
+ /**
679
+ * Free cash flow (operating cash flow minus capital expenditure)
680
+ */
681
+ free_cash_flow?: string | null;
682
+
683
+ /**
684
+ * Income taxes paid
685
+ */
686
+ income_taxes_paid?: string | null;
687
+
688
+ /**
689
+ * Interest paid
690
+ */
691
+ interest_paid?: string | null;
692
+
693
+ /**
694
+ * Change in inventory
695
+ */
696
+ inventory?: string | null;
697
+
698
+ /**
699
+ * Investments in property, plant, and equipment
700
+ */
701
+ investments_in_property_plant_and_equipment?: string | null;
702
+
703
+ /**
704
+ * Long-term net debt issuance
705
+ */
706
+ long_term_net_debt_issuance?: string | null;
707
+
708
+ /**
709
+ * Net cash provided by financing activities
710
+ */
711
+ net_cash_provided_by_financing_activities?: string | null;
712
+
713
+ /**
714
+ * Net cash provided by investing activities
715
+ */
716
+ net_cash_provided_by_investing_activities?: string | null;
717
+
718
+ /**
719
+ * Net cash provided by operating activities
720
+ */
721
+ net_cash_provided_by_operating_activities?: string | null;
722
+
723
+ /**
724
+ * Net change in cash during the period
725
+ */
726
+ net_change_in_cash?: string | null;
727
+
728
+ /**
729
+ * Net common stock issuance
730
+ */
731
+ net_common_stock_issuance?: string | null;
732
+
733
+ /**
734
+ * Net debt issuance (long-term + short-term)
735
+ */
736
+ net_debt_issuance?: string | null;
737
+
738
+ /**
739
+ * Net dividends paid (common + preferred)
740
+ */
741
+ net_dividends_paid?: string | null;
742
+
743
+ /**
744
+ * Net income for the period
745
+ */
746
+ net_income?: string | null;
747
+
748
+ /**
749
+ * Net preferred stock issuance
750
+ */
751
+ net_preferred_stock_issuance?: string | null;
752
+
753
+ /**
754
+ * Net stock issuance (common + preferred)
755
+ */
756
+ net_stock_issuance?: string | null;
757
+
758
+ /**
759
+ * Operating cash flow (alternative calculation)
760
+ */
761
+ operating_cash_flow?: string | null;
762
+
763
+ /**
764
+ * Other financing activities
765
+ */
766
+ other_financing_activities?: string | null;
767
+
768
+ /**
769
+ * Other investing activities
770
+ */
771
+ other_investing_activities?: string | null;
772
+
773
+ /**
774
+ * Other non-cash items
775
+ */
776
+ other_non_cash_items?: string | null;
777
+
778
+ /**
779
+ * Change in other working capital
780
+ */
781
+ other_working_capital?: string | null;
782
+
783
+ /**
784
+ * Preferred dividends paid
785
+ */
786
+ preferred_dividends_paid?: string | null;
787
+
788
+ /**
789
+ * Purchases of investments
790
+ */
791
+ purchases_of_investments?: string | null;
792
+
793
+ /**
794
+ * Sales and maturities of investments
795
+ */
796
+ sales_maturities_of_investments?: string | null;
797
+
798
+ /**
799
+ * Short-term net debt issuance
800
+ */
801
+ short_term_net_debt_issuance?: string | null;
802
+
803
+ /**
804
+ * Stock-based compensation expense
805
+ */
806
+ stock_based_compensation?: string | null;
807
+ }
808
+
809
+ export type InstrumentCashFlowStatementList = Array<InstrumentCashFlowStatement>;
810
+
811
+ /**
812
+ * Represents a dividend event for an instrument
813
+ */
814
+ export interface InstrumentDividendEvent {
815
+ /**
816
+ * The adjusted dividend amount accounting for any splits.
817
+ */
818
+ adjusted_dividend_amount: string;
819
+
820
+ /**
821
+ * The day the stock starts trading without the right to receive that dividend.
822
+ */
823
+ ex_date: string;
824
+
825
+ /**
826
+ * The declaration date of the dividend
827
+ */
828
+ declaration_date?: string | null;
829
+
830
+ /**
831
+ * The dividend amount per share.
832
+ */
833
+ dividend_amount?: string | null;
834
+
835
+ /**
836
+ * The dividend yield as a percentage of the stock price.
837
+ */
838
+ dividend_yield?: string | null;
839
+
840
+ /**
841
+ * The frequency of the dividend payments (e.g., "Quarterly", "Annual").
842
+ */
843
+ frequency?: string | null;
844
+
845
+ /**
846
+ * The payment date is the date on which a declared stock dividend is scheduled to
847
+ * be paid.
848
+ */
849
+ payment_date?: string | null;
850
+
851
+ /**
852
+ * The record date, set by a company's board of directors, is when a company
853
+ * compiles a list of shareholders of the stock for which it has declared a
854
+ * dividend.
855
+ */
856
+ record_date?: string | null;
857
+ }
858
+
859
+ /**
860
+ * Represents instrument earnings data
861
+ */
862
+ export interface InstrumentEarnings {
863
+ /**
864
+ * The date when the earnings report was published
865
+ */
866
+ date: string;
867
+
868
+ /**
869
+ * The actual earnings per share (EPS) for the period
870
+ */
871
+ eps_actual?: string | null;
872
+
873
+ /**
874
+ * The estimated earnings per share (EPS) for the period
875
+ */
876
+ eps_estimate?: string | null;
877
+
878
+ /**
879
+ * The percentage difference between actual and estimated EPS
880
+ */
881
+ eps_surprise_percent?: string | null;
882
+
883
+ /**
884
+ * The actual total revenue for the period
885
+ */
886
+ revenue_actual?: string | null;
887
+
888
+ /**
889
+ * The estimated total revenue for the period
890
+ */
891
+ revenue_estimate?: string | null;
892
+
893
+ /**
894
+ * The percentage difference between actual and estimated revenue
895
+ */
896
+ revenue_surprise_percent?: string | null;
897
+ }
898
+
899
+ /**
900
+ * Unified envelope for the all-events response.
901
+ */
902
+ export interface InstrumentEventEnvelope {
903
+ /**
904
+ * Symbol associated with the event.
905
+ */
906
+ symbol: string;
907
+
908
+ /**
909
+ * Event type discriminator.
910
+ */
911
+ type: AllEventsEventType;
912
+
913
+ /**
914
+ * Dividend payload when type is DIVIDEND.
915
+ */
916
+ dividend_event_data?: InstrumentDividendEvent | null;
917
+
918
+ /**
919
+ * Earnings payload when type is EARNINGS.
920
+ */
921
+ earnings_event_data?: InstrumentEarnings | null;
922
+
923
+ /**
924
+ * OEMS instrument identifier, when the instrument is found in the instrument
925
+ * cache.
926
+ */
927
+ instrument_id?: string | null;
928
+
929
+ /**
930
+ * IPO payload when type is IPO.
931
+ */
932
+ ipo_event_data?: InstrumentEventIpoItem | null;
933
+
934
+ /**
935
+ * Instrument name associated with the event, when available.
936
+ */
937
+ name?: string | null;
938
+
939
+ /**
940
+ * The currency used for reporting financial data.
941
+ */
942
+ reporting_currency?: string | null;
943
+
944
+ /**
945
+ * Stock split payload when type is STOCK_SPLIT.
946
+ */
947
+ stock_split_event_data?: InstrumentSplitEvent | null;
948
+ }
949
+
950
+ /**
951
+ * IPO event in the all-events date grouping response.
952
+ */
953
+ export interface InstrumentEventIpoItem {
954
+ /**
955
+ * IPO action.
956
+ */
957
+ actions?: string | null;
958
+
959
+ /**
960
+ * IPO announced timestamp.
961
+ */
962
+ announced_at?: string | null;
963
+
964
+ /**
965
+ * IPO company name.
966
+ */
967
+ company?: string | null;
968
+
969
+ /**
970
+ * IPO exchange.
971
+ */
972
+ exchange?: string | null;
973
+
974
+ /**
975
+ * IPO market cap.
976
+ */
977
+ market_cap?: string | null;
978
+
979
+ /**
980
+ * IPO price range.
981
+ */
982
+ price_range?: string | null;
983
+
984
+ /**
985
+ * IPO shares offered.
986
+ */
987
+ shares?: string | null;
988
+ }
989
+
990
+ /**
991
+ * Instrument events for a single date.
992
+ */
993
+ export interface InstrumentEventsByDate {
994
+ /**
995
+ * Event date.
996
+ */
997
+ date: string;
998
+
999
+ /**
1000
+ * Flat event envelopes for this date.
1001
+ */
1002
+ events: Array<InstrumentEventEnvelope>;
1003
+ }
1004
+
1005
+ /**
1006
+ * Grouped instrument events by type
1007
+ */
1008
+ export interface InstrumentEventsData {
1009
+ /**
1010
+ * Dividend distribution events
1011
+ */
1012
+ dividends: Array<InstrumentDividendEvent>;
1013
+
1014
+ /**
1015
+ * Earnings announcement events
1016
+ */
1017
+ earnings: Array<InstrumentEarnings>;
1018
+
1019
+ /**
1020
+ * OEMS instrument UUID from the request
1021
+ */
1022
+ instrument_id: string;
1023
+
1024
+ /**
1025
+ * Stock split events
1026
+ */
1027
+ splits: Array<InstrumentSplitEvent>;
1028
+
1029
+ /**
1030
+ * The currency used for reporting financial data
1031
+ */
1032
+ reporting_currency?: string | null;
1033
+ }
1034
+
1035
+ /**
1036
+ * Supplemental fundamentals and company profile data for an instrument.
1037
+ */
1038
+ export interface InstrumentFundamentals {
1039
+ /**
1040
+ * The average daily trading volume over the past 30 days
1041
+ */
1042
+ average_volume?: number | null;
1043
+
1044
+ /**
1045
+ * The beta value, measuring the instrument's volatility relative to the overall
1046
+ * market
1047
+ */
1048
+ beta?: string | null;
1049
+
1050
+ /**
1051
+ * A detailed description of the instrument or company
1052
+ */
1053
+ description?: string | null;
1054
+
1055
+ /**
1056
+ * The trailing twelve months (TTM) dividend yield
1057
+ */
1058
+ dividend_yield?: string | null;
1059
+
1060
+ /**
1061
+ * The trailing twelve months (TTM) earnings per share
1062
+ */
1063
+ earnings_per_share?: string | null;
1064
+
1065
+ /**
1066
+ * The highest price over the last 52 weeks
1067
+ */
1068
+ fifty_two_week_high?: string | null;
1069
+
1070
+ /**
1071
+ * The lowest price over the last 52 weeks
1072
+ */
1073
+ fifty_two_week_low?: string | null;
1074
+
1075
+ /**
1076
+ * The specific industry of the instrument's issuer
1077
+ */
1078
+ industry?: string | null;
1079
+
1080
+ /**
1081
+ * The date the instrument was first listed
1082
+ */
1083
+ list_date?: string | null;
1084
+
1085
+ /**
1086
+ * URL to a representative logo image for the instrument or issuer
1087
+ */
1088
+ logo_url?: string | null;
1089
+
1090
+ /**
1091
+ * The total market capitalization
1092
+ */
1093
+ market_cap?: string | null;
1094
+
1095
+ /**
1096
+ * The closing price from the previous trading day
1097
+ */
1098
+ previous_close?: string | null;
1099
+
1100
+ /**
1101
+ * The price-to-earnings (P/E) ratio for the trailing twelve months (TTM)
1102
+ */
1103
+ price_to_earnings?: string | null;
1104
+
1105
+ /**
1106
+ * The currency used for reporting financial data
1107
+ */
1108
+ reporting_currency?: string | null;
1109
+
1110
+ /**
1111
+ * The business sector of the instrument's issuer
1112
+ */
1113
+ sector?: string | null;
1114
+ }
1115
+
1116
+ /**
1117
+ * A quarterly income statement for an instrument.
1118
+ */
1119
+ export interface InstrumentIncomeStatement {
1120
+ /**
1121
+ * The date and time when the filing was accepted by the SEC
1122
+ */
1123
+ accepted_date: string;
1124
+
1125
+ /**
1126
+ * The date the financial statement was filed
1127
+ */
1128
+ filing_date: string;
1129
+
1130
+ /**
1131
+ * The fiscal period identifier (e.g., "Q1", "Q2", "Q3", "Q4")
1132
+ */
1133
+ period: string;
1134
+
1135
+ /**
1136
+ * The type of fiscal period
1137
+ */
1138
+ period_type: FiscalPeriodType;
1139
+
1140
+ /**
1141
+ * The currency in which the statement is reported (ISO 4217)
1142
+ */
1143
+ reported_currency: string;
1144
+
1145
+ /**
1146
+ * The fiscal year of the statement
1147
+ */
1148
+ year: number;
1149
+
1150
+ /**
1151
+ * Bottom line net income after all adjustments
1152
+ */
1153
+ bottom_line_net_income?: string | null;
1154
+
1155
+ /**
1156
+ * Total costs and expenses
1157
+ */
1158
+ cost_and_expenses?: string | null;
1159
+
1160
+ /**
1161
+ * Direct costs attributable to producing goods sold
1162
+ */
1163
+ cost_of_revenue?: string | null;
1164
+
1165
+ /**
1166
+ * Depreciation and amortization expenses
1167
+ */
1168
+ depreciation_and_amortization?: string | null;
1169
+
1170
+ /**
1171
+ * Earnings before interest and taxes
1172
+ */
1173
+ ebit?: string | null;
1174
+
1175
+ /**
1176
+ * Earnings before interest, taxes, depreciation, and amortization
1177
+ */
1178
+ ebitda?: string | null;
1179
+
1180
+ /**
1181
+ * Basic earnings per share
1182
+ */
1183
+ eps?: string | null;
1184
+
1185
+ /**
1186
+ * Diluted earnings per share
1187
+ */
1188
+ eps_diluted?: string | null;
1189
+
1190
+ /**
1191
+ * General administrative overhead expenses
1192
+ */
1193
+ general_and_administrative_expenses?: string | null;
1194
+
1195
+ /**
1196
+ * Revenue minus cost of revenue
1197
+ */
1198
+ gross_profit?: string | null;
1199
+
1200
+ /**
1201
+ * Income before income tax expense
1202
+ */
1203
+ income_before_tax?: string | null;
1204
+
1205
+ /**
1206
+ * Income tax expense for the period
1207
+ */
1208
+ income_tax_expense?: string | null;
1209
+
1210
+ /**
1211
+ * Interest paid on debt
1212
+ */
1213
+ interest_expense?: string | null;
1214
+
1215
+ /**
1216
+ * Interest earned on investments and cash
1217
+ */
1218
+ interest_income?: string | null;
1219
+
1220
+ /**
1221
+ * Total net income for the period
1222
+ */
1223
+ net_income?: string | null;
1224
+
1225
+ /**
1226
+ * Deductions from net income
1227
+ */
1228
+ net_income_deductions?: string | null;
1229
+
1230
+ /**
1231
+ * Net income from continuing operations
1232
+ */
1233
+ net_income_from_continuing_operations?: string | null;
1234
+
1235
+ /**
1236
+ * Net income from discontinued operations
1237
+ */
1238
+ net_income_from_discontinued_operations?: string | null;
1239
+
1240
+ /**
1241
+ * Net interest income (interest income minus interest expense)
1242
+ */
1243
+ net_interest_income?: string | null;
1244
+
1245
+ /**
1246
+ * Non-operating income excluding interest
1247
+ */
1248
+ non_operating_income_excluding_interest?: string | null;
1249
+
1250
+ /**
1251
+ * Total operating expenses
1252
+ */
1253
+ operating_expenses?: string | null;
1254
+
1255
+ /**
1256
+ * Income from core business operations
1257
+ */
1258
+ operating_income?: string | null;
1259
+
1260
+ /**
1261
+ * Other adjustments to net income
1262
+ */
1263
+ other_adjustments_to_net_income?: string | null;
1264
+
1265
+ /**
1266
+ * Other miscellaneous expenses
1267
+ */
1268
+ other_expenses?: string | null;
1269
+
1270
+ /**
1271
+ * Expenditure on research and development activities
1272
+ */
1273
+ research_and_development_expenses?: string | null;
1274
+
1275
+ /**
1276
+ * Total revenue from sales of goods and services
1277
+ */
1278
+ revenue?: string | null;
1279
+
1280
+ /**
1281
+ * Expenditure on marketing and sales activities
1282
+ */
1283
+ selling_and_marketing_expenses?: string | null;
1284
+
1285
+ /**
1286
+ * Combined selling, general, and administrative expenses
1287
+ */
1288
+ selling_general_and_administrative_expenses?: string | null;
1289
+
1290
+ /**
1291
+ * Net of other income and expenses
1292
+ */
1293
+ total_other_income_expenses_net?: string | null;
1294
+
1295
+ /**
1296
+ * Weighted average shares outstanding (basic)
1297
+ */
1298
+ weighted_average_shs_out?: string | null;
1299
+
1300
+ /**
1301
+ * Weighted average shares outstanding (diluted)
1302
+ */
1303
+ weighted_average_shs_out_dil?: string | null;
1304
+ }
1305
+
1306
+ export type InstrumentIncomeStatementList = Array<InstrumentIncomeStatement>;
1307
+
1308
+ /**
1309
+ * Represents a stock split event for an instrument
1310
+ */
1311
+ export interface InstrumentSplitEvent {
1312
+ /**
1313
+ * The date of the stock split
1314
+ */
1315
+ date: string;
1316
+
1317
+ /**
1318
+ * The denominator of the split ratio
1319
+ */
1320
+ denominator: string;
1321
+
1322
+ /**
1323
+ * The numerator of the split ratio
1324
+ */
1325
+ numerator: string;
1326
+
1327
+ /**
1328
+ * The type of stock split (e.g., "stock-split", "stock-dividend", "bonus-issue")
1329
+ */
1330
+ split_type: string;
1331
+ }
1332
+
1333
+ /**
1334
+ * Analyst price target statistics
1335
+ */
1336
+ export interface PriceTarget {
1337
+ /**
1338
+ * Average analyst price target
1339
+ */
1340
+ average: string;
1341
+
1342
+ /**
1343
+ * ISO 4217 currency code of the price targets
1344
+ */
1345
+ currency: string;
1346
+
1347
+ /**
1348
+ * Highest analyst price target
1349
+ */
1350
+ high: string;
1351
+
1352
+ /**
1353
+ * Lowest analyst price target
1354
+ */
1355
+ low: string;
1356
+ }
1357
+
1358
+ export interface InstrumentDataGetAllInstrumentEventsResponse extends Shared.BaseResponse {
1359
+ /**
1360
+ * All-events payload grouped by date.
1361
+ */
1362
+ data: InstrumentAllEventsData;
1363
+ }
1364
+
1365
+ export interface InstrumentDataGetInstrumentAnalystConsensusResponse extends Shared.BaseResponse {
1366
+ /**
1367
+ * Aggregated analyst consensus metrics
1368
+ */
1369
+ data: InstrumentAnalystConsensus;
1370
+ }
1371
+
1372
+ export interface InstrumentDataGetInstrumentBalanceSheetStatementsResponse extends Shared.BaseResponse {
1373
+ data: InstrumentBalanceSheetStatementList;
1374
+ }
1375
+
1376
+ export interface InstrumentDataGetInstrumentCashFlowStatementsResponse extends Shared.BaseResponse {
1377
+ data: InstrumentCashFlowStatementList;
1378
+ }
1379
+
1380
+ export interface InstrumentDataGetInstrumentEventsResponse extends Shared.BaseResponse {
1381
+ /**
1382
+ * Grouped instrument events by type
1383
+ */
1384
+ data: InstrumentEventsData;
1385
+ }
1386
+
1387
+ export interface InstrumentDataGetInstrumentFundamentalsResponse extends Shared.BaseResponse {
1388
+ /**
1389
+ * Supplemental fundamentals and company profile data for an instrument.
1390
+ */
1391
+ data: InstrumentFundamentals;
1392
+ }
1393
+
1394
+ export interface InstrumentDataGetInstrumentIncomeStatementsResponse extends Shared.BaseResponse {
1395
+ data: InstrumentIncomeStatementList;
1396
+ }
1397
+
1398
+ export interface InstrumentDataGetAllInstrumentEventsParams {
1399
+ /**
1400
+ * Filter by event type(s). Comma-delimited list. Example:
1401
+ * `event_types=EARNINGS,IPO`.
1402
+ */
1403
+ event_types?: Array<AllEventsEventType>;
1404
+
1405
+ /**
1406
+ * The start date for the query range, inclusive (YYYY-MM-DD).
1407
+ */
1408
+ from_date?: string;
1409
+
1410
+ /**
1411
+ * Filter by OEMS instrument ID(s). Comma-delimited list of UUIDs. Example:
1412
+ * `instrument_ids=550e8400-e29b-41d4-a716-446655440000`.
1413
+ */
1414
+ instrument_ids?: Array<string>;
1415
+
1416
+ /**
1417
+ * The end date for the query range, inclusive (YYYY-MM-DD).
1418
+ */
1419
+ to_date?: string;
1420
+ }
1421
+
1422
+ export interface InstrumentDataGetInstrumentAnalystConsensusParams {
1423
+ /**
1424
+ * The start date for the query range, inclusive (YYYY-MM-DD)
1425
+ */
1426
+ from?: string;
1427
+
1428
+ /**
1429
+ * The end date for the query range, inclusive (YYYY-MM-DD)
1430
+ */
1431
+ to?: string;
1432
+ }
1433
+
1434
+ export interface InstrumentDataGetInstrumentBalanceSheetStatementsParams {
1435
+ /**
1436
+ * The start date for the query range, inclusive (YYYY-MM-DD).
1437
+ */
1438
+ from_date?: string;
1439
+
1440
+ /**
1441
+ * The number of items to return per page. Only used when page_token is not
1442
+ * provided.
1443
+ */
1444
+ page_size?: number;
1445
+
1446
+ /**
1447
+ * Token for retrieving the next or previous page of results. Contains encoded
1448
+ * pagination state; when provided, page_size is ignored.
1449
+ */
1450
+ page_token?: string;
1451
+
1452
+ /**
1453
+ * The end date for the query range, inclusive (YYYY-MM-DD).
1454
+ */
1455
+ to_date?: string;
1456
+ }
1457
+
1458
+ export interface InstrumentDataGetInstrumentCashFlowStatementsParams {
1459
+ /**
1460
+ * The start date for the query range, inclusive (YYYY-MM-DD).
1461
+ */
1462
+ from_date?: string;
1463
+
1464
+ /**
1465
+ * The number of items to return per page. Only used when page_token is not
1466
+ * provided.
1467
+ */
1468
+ page_size?: number;
1469
+
1470
+ /**
1471
+ * Token for retrieving the next or previous page of results. Contains encoded
1472
+ * pagination state; when provided, page_size is ignored.
1473
+ */
1474
+ page_token?: string;
1475
+
1476
+ /**
1477
+ * The end date for the query range, inclusive (YYYY-MM-DD).
1478
+ */
1479
+ to_date?: string;
1480
+ }
1481
+
1482
+ export interface InstrumentDataGetInstrumentEventsParams {
1483
+ /**
1484
+ * The start date for the query range, inclusive (YYYY-MM-DD).
1485
+ */
1486
+ from_date?: string;
1487
+
1488
+ /**
1489
+ * The end date for the query range, inclusive (YYYY-MM-DD).
1490
+ */
1491
+ to_date?: string;
1492
+ }
1493
+
1494
+ export interface InstrumentDataGetInstrumentIncomeStatementsParams {
1495
+ /**
1496
+ * The start date for the query range, inclusive (YYYY-MM-DD).
1497
+ */
1498
+ from_date?: string;
1499
+
1500
+ /**
1501
+ * The number of items to return per page. Only used when page_token is not
1502
+ * provided.
1503
+ */
1504
+ page_size?: number;
1505
+
1506
+ /**
1507
+ * Token for retrieving the next or previous page of results. Contains encoded
1508
+ * pagination state; when provided, page_size is ignored.
1509
+ */
1510
+ page_token?: string;
1511
+
1512
+ /**
1513
+ * The end date for the query range, inclusive (YYYY-MM-DD).
1514
+ */
1515
+ to_date?: string;
1516
+ }
1517
+
1518
+ InstrumentData.MarketData = MarketData;
1519
+ InstrumentData.News = News;
1520
+
1521
+ export declare namespace InstrumentData {
1522
+ export {
1523
+ type AllEventsEventType as AllEventsEventType,
1524
+ type AnalystDistribution as AnalystDistribution,
1525
+ type AnalystRating as AnalystRating,
1526
+ type FiscalPeriodType as FiscalPeriodType,
1527
+ type InstrumentAllEventsData as InstrumentAllEventsData,
1528
+ type InstrumentAnalystConsensus as InstrumentAnalystConsensus,
1529
+ type InstrumentBalanceSheetStatement as InstrumentBalanceSheetStatement,
1530
+ type InstrumentBalanceSheetStatementList as InstrumentBalanceSheetStatementList,
1531
+ type InstrumentCashFlowStatement as InstrumentCashFlowStatement,
1532
+ type InstrumentCashFlowStatementList as InstrumentCashFlowStatementList,
1533
+ type InstrumentDividendEvent as InstrumentDividendEvent,
1534
+ type InstrumentEarnings as InstrumentEarnings,
1535
+ type InstrumentEventEnvelope as InstrumentEventEnvelope,
1536
+ type InstrumentEventIpoItem as InstrumentEventIpoItem,
1537
+ type InstrumentEventsByDate as InstrumentEventsByDate,
1538
+ type InstrumentEventsData as InstrumentEventsData,
1539
+ type InstrumentFundamentals as InstrumentFundamentals,
1540
+ type InstrumentIncomeStatement as InstrumentIncomeStatement,
1541
+ type InstrumentIncomeStatementList as InstrumentIncomeStatementList,
1542
+ type InstrumentSplitEvent as InstrumentSplitEvent,
1543
+ type PriceTarget as PriceTarget,
1544
+ type InstrumentDataGetAllInstrumentEventsResponse as InstrumentDataGetAllInstrumentEventsResponse,
1545
+ type InstrumentDataGetInstrumentAnalystConsensusResponse as InstrumentDataGetInstrumentAnalystConsensusResponse,
1546
+ type InstrumentDataGetInstrumentBalanceSheetStatementsResponse as InstrumentDataGetInstrumentBalanceSheetStatementsResponse,
1547
+ type InstrumentDataGetInstrumentCashFlowStatementsResponse as InstrumentDataGetInstrumentCashFlowStatementsResponse,
1548
+ type InstrumentDataGetInstrumentEventsResponse as InstrumentDataGetInstrumentEventsResponse,
1549
+ type InstrumentDataGetInstrumentFundamentalsResponse as InstrumentDataGetInstrumentFundamentalsResponse,
1550
+ type InstrumentDataGetInstrumentIncomeStatementsResponse as InstrumentDataGetInstrumentIncomeStatementsResponse,
1551
+ type InstrumentDataGetAllInstrumentEventsParams as InstrumentDataGetAllInstrumentEventsParams,
1552
+ type InstrumentDataGetInstrumentAnalystConsensusParams as InstrumentDataGetInstrumentAnalystConsensusParams,
1553
+ type InstrumentDataGetInstrumentBalanceSheetStatementsParams as InstrumentDataGetInstrumentBalanceSheetStatementsParams,
1554
+ type InstrumentDataGetInstrumentCashFlowStatementsParams as InstrumentDataGetInstrumentCashFlowStatementsParams,
1555
+ type InstrumentDataGetInstrumentEventsParams as InstrumentDataGetInstrumentEventsParams,
1556
+ type InstrumentDataGetInstrumentIncomeStatementsParams as InstrumentDataGetInstrumentIncomeStatementsParams,
1557
+ };
1558
+
1559
+ export {
1560
+ MarketData as MarketData,
1561
+ type DailySummary as DailySummary,
1562
+ type DailySummaryList as DailySummaryList,
1563
+ type MarketDataSnapshot as MarketDataSnapshot,
1564
+ type MarketDataSnapshotList as MarketDataSnapshotList,
1565
+ type SnapshotGreeks as SnapshotGreeks,
1566
+ type SnapshotLastTrade as SnapshotLastTrade,
1567
+ type SnapshotQuote as SnapshotQuote,
1568
+ type SnapshotSession as SnapshotSession,
1569
+ type MarketDataGetDailySummariesResponse as MarketDataGetDailySummariesResponse,
1570
+ type MarketDataGetSnapshotsResponse as MarketDataGetSnapshotsResponse,
1571
+ type MarketDataGetDailySummariesParams as MarketDataGetDailySummariesParams,
1572
+ type MarketDataGetSnapshotsParams as MarketDataGetSnapshotsParams,
1573
+ };
1574
+
1575
+ export {
1576
+ News as News,
1577
+ type NewsInstrument as NewsInstrument,
1578
+ type NewsItem as NewsItem,
1579
+ type NewsItemList as NewsItemList,
1580
+ type NewsType as NewsType,
1581
+ type NewsGetNewsResponse as NewsGetNewsResponse,
1582
+ type NewsGetNewsParams as NewsGetNewsParams,
1583
+ };
1584
+ }