@woodger/t-invest-node-sdk 0.5.6 → 0.5.8

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 (415) hide show
  1. package/CHANGELOG.md +317 -524
  2. package/NOTICE +8 -8
  3. package/dist/application/dto/t-invest-options.d.ts +8 -6
  4. package/dist/application/dto/t-invest-options.js +4 -4
  5. package/dist/application/dto/t-invest-services.d.ts +26 -1
  6. package/dist/application/dto/t-invest-services.js +2 -1
  7. package/dist/application/errors/sdk-error.d.ts +21 -7
  8. package/dist/application/errors/sdk-error.js +20 -17
  9. package/dist/application/reports/accounts.report.d.ts +7 -2
  10. package/dist/application/reports/accrued-interests.report.d.ts +8 -2
  11. package/dist/application/reports/asset.report.d.ts +5 -0
  12. package/dist/application/reports/bond-coupons.report.d.ts +3 -1
  13. package/dist/application/reports/bond.report.d.ts +3 -1
  14. package/dist/application/reports/brands.report.d.ts +4 -1
  15. package/dist/application/reports/broker-report.report.d.ts +14 -2
  16. package/dist/application/reports/candles.report.d.ts +4 -1
  17. package/dist/application/reports/close-prices.report.d.ts +7 -2
  18. package/dist/application/reports/currency.report.d.ts +4 -1
  19. package/dist/application/reports/dividends-foreign-issuer.report.d.ts +12 -1
  20. package/dist/application/reports/dividends.report.d.ts +4 -1
  21. package/dist/application/reports/find-instrument.report.d.ts +3 -1
  22. package/dist/application/reports/future.report.d.ts +3 -1
  23. package/dist/application/reports/futures-margin.report.d.ts +10 -3
  24. package/dist/application/reports/instrument.report.d.ts +7 -2
  25. package/dist/application/reports/last-prices.report.d.ts +7 -2
  26. package/dist/application/reports/last-trades.report.d.ts +4 -2
  27. package/dist/application/reports/margin-attributes.report.d.ts +6 -2
  28. package/dist/application/reports/operations-by-cursor.report.d.ts +7 -2
  29. package/dist/application/reports/option.report.d.ts +4 -1
  30. package/dist/application/reports/order-book.report.d.ts +1 -1
  31. package/dist/application/reports/order-mutation.report.d.ts +6 -2
  32. package/dist/application/reports/portfolio.report.d.ts +4 -1
  33. package/dist/application/reports/sandbox-account.report.d.ts +6 -0
  34. package/dist/application/reports/stop-orders.report.d.ts +3 -1
  35. package/dist/application/reports/trading-schedules.report.d.ts +12 -4
  36. package/dist/application/reports/trading-status.report.d.ts +3 -1
  37. package/dist/application/reports/trading-statuses.report.d.ts +4 -1
  38. package/dist/application/reports/user-tariff.report.d.ts +2 -0
  39. package/dist/application/reports/withdraw-limits.report.d.ts +4 -1
  40. package/dist/application/services/unary-limiter.d.ts +18 -14
  41. package/dist/application/services/unary-limiter.js +91 -33
  42. package/dist/bootstrap/args/command-options.d.ts +5 -0
  43. package/dist/bootstrap/args/command-options.js +24 -15
  44. package/dist/bootstrap/args/instrument-id-options.d.ts +12 -6
  45. package/dist/bootstrap/args/instrument-id-options.js +4 -2
  46. package/dist/bootstrap/args/instruments-args.d.ts +2 -2
  47. package/dist/bootstrap/args/instruments-args.js +2 -1
  48. package/dist/bootstrap/args/sdk-options.d.ts +7 -3
  49. package/dist/bootstrap/args/sdk-options.js +3 -3
  50. package/dist/bootstrap/args/side-effect-args.js +7 -3
  51. package/dist/bootstrap/cli/contract.d.ts +2 -1
  52. package/dist/bootstrap/cli/contract.js +2 -1
  53. package/dist/bootstrap/cli/domains.d.ts +13 -10
  54. package/dist/bootstrap/cli/domains.js +8 -3
  55. package/dist/bootstrap/cli/error.d.ts +7 -1
  56. package/dist/bootstrap/cli/error.js +11 -3
  57. package/dist/bootstrap/cli/help-catalog.d.ts +4 -1
  58. package/dist/bootstrap/cli/help-catalog.js +5 -0
  59. package/dist/bootstrap/cli/help.d.ts +5 -4
  60. package/dist/bootstrap/cli/help.js +4 -3
  61. package/dist/bootstrap/cli/registry.d.ts +288 -287
  62. package/dist/bootstrap/cli/registry.js +4 -2
  63. package/dist/bootstrap/cli/runner.js +1 -1
  64. package/dist/bootstrap/cli/version.d.ts +2 -1
  65. package/dist/bootstrap/cli/version.js +2 -1
  66. package/dist/bootstrap/commands/accounts/cli.d.ts +6 -5
  67. package/dist/bootstrap/commands/accounts/cli.js +17 -22
  68. package/dist/bootstrap/commands/accounts/reporter.d.ts +4 -2
  69. package/dist/bootstrap/commands/accounts/reporter.js +2 -1
  70. package/dist/bootstrap/commands/accrued-interests/cli.d.ts +16 -15
  71. package/dist/bootstrap/commands/accrued-interests/cli.js +14 -21
  72. package/dist/bootstrap/commands/accrued-interests/reporter.d.ts +4 -2
  73. package/dist/bootstrap/commands/accrued-interests/reporter.js +2 -1
  74. package/dist/bootstrap/commands/asset/cli.d.ts +13 -12
  75. package/dist/bootstrap/commands/asset/cli.js +14 -21
  76. package/dist/bootstrap/commands/asset/reporter.d.ts +4 -2
  77. package/dist/bootstrap/commands/asset/reporter.js +2 -1
  78. package/dist/bootstrap/commands/assets/cli.d.ts +16 -15
  79. package/dist/bootstrap/commands/assets/cli.js +14 -21
  80. package/dist/bootstrap/commands/assets/reporter.d.ts +4 -2
  81. package/dist/bootstrap/commands/assets/reporter.js +2 -1
  82. package/dist/bootstrap/commands/bond/cli.d.ts +6 -5
  83. package/dist/bootstrap/commands/bond/cli.js +19 -24
  84. package/dist/bootstrap/commands/bond/reporter.d.ts +4 -2
  85. package/dist/bootstrap/commands/bond/reporter.js +5 -2
  86. package/dist/bootstrap/commands/bond-coupons/cli.d.ts +16 -15
  87. package/dist/bootstrap/commands/bond-coupons/cli.js +14 -21
  88. package/dist/bootstrap/commands/bond-coupons/reporter.d.ts +4 -2
  89. package/dist/bootstrap/commands/bond-coupons/reporter.js +2 -1
  90. package/dist/bootstrap/commands/bonds/cli.d.ts +6 -5
  91. package/dist/bootstrap/commands/bonds/cli.js +19 -24
  92. package/dist/bootstrap/commands/bonds/reporter.d.ts +4 -2
  93. package/dist/bootstrap/commands/bonds/reporter.js +2 -1
  94. package/dist/bootstrap/commands/brand/cli.d.ts +13 -12
  95. package/dist/bootstrap/commands/brand/cli.js +14 -21
  96. package/dist/bootstrap/commands/brand/reporter.d.ts +4 -2
  97. package/dist/bootstrap/commands/brand/reporter.js +2 -1
  98. package/dist/bootstrap/commands/brands/cli.d.ts +6 -5
  99. package/dist/bootstrap/commands/brands/cli.js +17 -22
  100. package/dist/bootstrap/commands/brands/reporter.d.ts +4 -2
  101. package/dist/bootstrap/commands/brands/reporter.js +2 -1
  102. package/dist/bootstrap/commands/broker-report/cli.d.ts +25 -24
  103. package/dist/bootstrap/commands/broker-report/cli.js +14 -21
  104. package/dist/bootstrap/commands/broker-report/reporter.d.ts +4 -2
  105. package/dist/bootstrap/commands/broker-report/reporter.js +2 -1
  106. package/dist/bootstrap/commands/cancel-order/cli.d.ts +10 -9
  107. package/dist/bootstrap/commands/cancel-order/cli.js +28 -35
  108. package/dist/bootstrap/commands/cancel-order/reporter.d.ts +4 -2
  109. package/dist/bootstrap/commands/cancel-order/reporter.js +2 -1
  110. package/dist/bootstrap/commands/cancel-stop-order/cli.d.ts +16 -15
  111. package/dist/bootstrap/commands/cancel-stop-order/cli.js +16 -22
  112. package/dist/bootstrap/commands/cancel-stop-order/reporter.d.ts +4 -2
  113. package/dist/bootstrap/commands/cancel-stop-order/reporter.js +2 -1
  114. package/dist/bootstrap/commands/candles/cli.d.ts +22 -21
  115. package/dist/bootstrap/commands/candles/cli.js +14 -21
  116. package/dist/bootstrap/commands/candles/reporter.d.ts +4 -2
  117. package/dist/bootstrap/commands/candles/reporter.js +2 -1
  118. package/dist/bootstrap/commands/close-prices/cli.d.ts +13 -12
  119. package/dist/bootstrap/commands/close-prices/cli.js +14 -21
  120. package/dist/bootstrap/commands/close-prices/reporter.d.ts +4 -2
  121. package/dist/bootstrap/commands/close-prices/reporter.js +2 -1
  122. package/dist/bootstrap/commands/compile-proto/cli.d.ts +2 -1
  123. package/dist/bootstrap/commands/compile-proto/cli.js +2 -1
  124. package/dist/bootstrap/commands/countries/cli.d.ts +6 -5
  125. package/dist/bootstrap/commands/countries/cli.js +17 -22
  126. package/dist/bootstrap/commands/countries/reporter.d.ts +4 -2
  127. package/dist/bootstrap/commands/countries/reporter.js +2 -1
  128. package/dist/bootstrap/commands/currencies/cli.d.ts +6 -5
  129. package/dist/bootstrap/commands/currencies/cli.js +19 -24
  130. package/dist/bootstrap/commands/currencies/reporter.d.ts +4 -2
  131. package/dist/bootstrap/commands/currencies/reporter.js +2 -1
  132. package/dist/bootstrap/commands/currency/cli.d.ts +6 -5
  133. package/dist/bootstrap/commands/currency/cli.js +19 -24
  134. package/dist/bootstrap/commands/currency/reporter.d.ts +4 -2
  135. package/dist/bootstrap/commands/currency/reporter.js +2 -1
  136. package/dist/bootstrap/commands/dividends/cli.d.ts +16 -15
  137. package/dist/bootstrap/commands/dividends/cli.js +14 -21
  138. package/dist/bootstrap/commands/dividends/reporter.d.ts +4 -2
  139. package/dist/bootstrap/commands/dividends/reporter.js +2 -1
  140. package/dist/bootstrap/commands/dividends-foreign-issuer/cli.d.ts +25 -24
  141. package/dist/bootstrap/commands/dividends-foreign-issuer/cli.js +14 -21
  142. package/dist/bootstrap/commands/dividends-foreign-issuer/reporter.d.ts +4 -2
  143. package/dist/bootstrap/commands/dividends-foreign-issuer/reporter.js +2 -1
  144. package/dist/bootstrap/commands/edit-favorites/cli.d.ts +13 -12
  145. package/dist/bootstrap/commands/edit-favorites/cli.js +16 -22
  146. package/dist/bootstrap/commands/edit-favorites/reporter.d.ts +2 -1
  147. package/dist/bootstrap/commands/etf/cli.d.ts +6 -5
  148. package/dist/bootstrap/commands/etf/cli.js +19 -24
  149. package/dist/bootstrap/commands/etf/reporter.d.ts +4 -2
  150. package/dist/bootstrap/commands/etf/reporter.js +5 -2
  151. package/dist/bootstrap/commands/etfs/cli.d.ts +6 -5
  152. package/dist/bootstrap/commands/etfs/cli.js +19 -24
  153. package/dist/bootstrap/commands/etfs/reporter.d.ts +4 -2
  154. package/dist/bootstrap/commands/etfs/reporter.js +2 -1
  155. package/dist/bootstrap/commands/favorites/cli.d.ts +6 -5
  156. package/dist/bootstrap/commands/favorites/cli.js +17 -22
  157. package/dist/bootstrap/commands/favorites/reporter.d.ts +4 -2
  158. package/dist/bootstrap/commands/favorites/reporter.js +2 -1
  159. package/dist/bootstrap/commands/find-instrument/cli.d.ts +22 -21
  160. package/dist/bootstrap/commands/find-instrument/cli.js +14 -21
  161. package/dist/bootstrap/commands/find-instrument/reporter.d.ts +4 -2
  162. package/dist/bootstrap/commands/find-instrument/reporter.js +2 -1
  163. package/dist/bootstrap/commands/future/cli.d.ts +6 -5
  164. package/dist/bootstrap/commands/future/cli.js +19 -24
  165. package/dist/bootstrap/commands/future/reporter.d.ts +4 -2
  166. package/dist/bootstrap/commands/future/reporter.js +2 -1
  167. package/dist/bootstrap/commands/futures/cli.d.ts +6 -5
  168. package/dist/bootstrap/commands/futures/cli.js +19 -24
  169. package/dist/bootstrap/commands/futures/reporter.d.ts +4 -2
  170. package/dist/bootstrap/commands/futures/reporter.js +2 -1
  171. package/dist/bootstrap/commands/futures-margin/cli.d.ts +10 -9
  172. package/dist/bootstrap/commands/futures-margin/cli.js +14 -21
  173. package/dist/bootstrap/commands/futures-margin/reporter.d.ts +4 -2
  174. package/dist/bootstrap/commands/futures-margin/reporter.js +8 -2
  175. package/dist/bootstrap/commands/help/cli.js +1 -4
  176. package/dist/bootstrap/commands/instrument/cli.d.ts +6 -5
  177. package/dist/bootstrap/commands/instrument/cli.js +19 -24
  178. package/dist/bootstrap/commands/instrument/reporter.d.ts +4 -2
  179. package/dist/bootstrap/commands/instrument/reporter.js +5 -2
  180. package/dist/bootstrap/commands/last-prices/cli.d.ts +13 -12
  181. package/dist/bootstrap/commands/last-prices/cli.js +14 -21
  182. package/dist/bootstrap/commands/last-prices/reporter.d.ts +4 -2
  183. package/dist/bootstrap/commands/last-prices/reporter.js +2 -1
  184. package/dist/bootstrap/commands/last-trades/cli.d.ts +19 -18
  185. package/dist/bootstrap/commands/last-trades/cli.js +14 -21
  186. package/dist/bootstrap/commands/last-trades/reporter.d.ts +4 -2
  187. package/dist/bootstrap/commands/last-trades/reporter.js +2 -1
  188. package/dist/bootstrap/commands/margin-attributes/cli.d.ts +13 -12
  189. package/dist/bootstrap/commands/margin-attributes/cli.js +14 -21
  190. package/dist/bootstrap/commands/margin-attributes/reporter.d.ts +4 -2
  191. package/dist/bootstrap/commands/margin-attributes/reporter.js +2 -1
  192. package/dist/bootstrap/commands/operations/cli.d.ts +22 -21
  193. package/dist/bootstrap/commands/operations/cli.js +42 -47
  194. package/dist/bootstrap/commands/operations/reporter.d.ts +4 -2
  195. package/dist/bootstrap/commands/operations/reporter.js +2 -1
  196. package/dist/bootstrap/commands/operations/request.mapper.d.ts +6 -6
  197. package/dist/bootstrap/commands/operations-by-cursor/cli.d.ts +44 -43
  198. package/dist/bootstrap/commands/operations-by-cursor/cli.js +63 -75
  199. package/dist/bootstrap/commands/operations-by-cursor/reporter.d.ts +4 -2
  200. package/dist/bootstrap/commands/operations-by-cursor/reporter.js +2 -1
  201. package/dist/bootstrap/commands/operations-by-cursor/request.mapper.d.ts +8 -7
  202. package/dist/bootstrap/commands/operations-by-cursor/request.mapper.js +10 -4
  203. package/dist/bootstrap/commands/option/cli.d.ts +6 -5
  204. package/dist/bootstrap/commands/option/cli.js +19 -24
  205. package/dist/bootstrap/commands/option/reporter.d.ts +4 -2
  206. package/dist/bootstrap/commands/option/reporter.js +2 -1
  207. package/dist/bootstrap/commands/options-by/cli.d.ts +16 -15
  208. package/dist/bootstrap/commands/options-by/cli.js +14 -21
  209. package/dist/bootstrap/commands/options-by/reporter.d.ts +4 -2
  210. package/dist/bootstrap/commands/options-by/reporter.js +2 -1
  211. package/dist/bootstrap/commands/order-book/cli.d.ts +22 -21
  212. package/dist/bootstrap/commands/order-book/cli.js +18 -28
  213. package/dist/bootstrap/commands/order-book/reporter.d.ts +4 -2
  214. package/dist/bootstrap/commands/order-book/reporter.js +11 -2
  215. package/dist/bootstrap/commands/order-state/cli.d.ts +10 -9
  216. package/dist/bootstrap/commands/order-state/cli.js +26 -34
  217. package/dist/bootstrap/commands/order-state/reporter.d.ts +4 -2
  218. package/dist/bootstrap/commands/order-state/reporter.js +2 -1
  219. package/dist/bootstrap/commands/orders/cli.d.ts +8 -7
  220. package/dist/bootstrap/commands/orders/cli.js +22 -30
  221. package/dist/bootstrap/commands/orders/reporter.d.ts +4 -2
  222. package/dist/bootstrap/commands/orders/reporter.js +2 -1
  223. package/dist/bootstrap/commands/portfolio/cli.d.ts +12 -11
  224. package/dist/bootstrap/commands/portfolio/cli.js +27 -35
  225. package/dist/bootstrap/commands/portfolio/reporter.d.ts +4 -2
  226. package/dist/bootstrap/commands/portfolio/reporter.js +2 -1
  227. package/dist/bootstrap/commands/portfolio/request.mapper.d.ts +6 -5
  228. package/dist/bootstrap/commands/portfolio/request.mapper.js +2 -1
  229. package/dist/bootstrap/commands/positions/cli.d.ts +8 -7
  230. package/dist/bootstrap/commands/positions/cli.js +22 -30
  231. package/dist/bootstrap/commands/positions/reporter.d.ts +4 -2
  232. package/dist/bootstrap/commands/positions/reporter.js +11 -2
  233. package/dist/bootstrap/commands/post-order/cli.d.ts +18 -17
  234. package/dist/bootstrap/commands/post-order/cli.js +49 -56
  235. package/dist/bootstrap/commands/post-order/reporter.d.ts +4 -2
  236. package/dist/bootstrap/commands/post-order/reporter.js +2 -1
  237. package/dist/bootstrap/commands/post-order/request.mapper.d.ts +9 -9
  238. package/dist/bootstrap/commands/post-stop-order/cli.d.ts +34 -33
  239. package/dist/bootstrap/commands/post-stop-order/cli.js +18 -23
  240. package/dist/bootstrap/commands/post-stop-order/reporter.d.ts +4 -2
  241. package/dist/bootstrap/commands/post-stop-order/reporter.js +2 -1
  242. package/dist/bootstrap/commands/replace-order/cli.d.ts +16 -15
  243. package/dist/bootstrap/commands/replace-order/cli.js +45 -52
  244. package/dist/bootstrap/commands/replace-order/reporter.d.ts +4 -2
  245. package/dist/bootstrap/commands/replace-order/reporter.js +2 -1
  246. package/dist/bootstrap/commands/replace-order/request.mapper.d.ts +4 -4
  247. package/dist/bootstrap/commands/sandbox-accounts/cli.d.ts +6 -6
  248. package/dist/bootstrap/commands/sandbox-accounts/cli.js +17 -26
  249. package/dist/bootstrap/commands/sandbox-cancel-order/cli.d.ts +10 -44
  250. package/dist/bootstrap/commands/sandbox-cancel-order/cli.js +28 -39
  251. package/dist/bootstrap/commands/sandbox-close-account/cli.d.ts +13 -12
  252. package/dist/bootstrap/commands/sandbox-close-account/cli.js +16 -22
  253. package/dist/bootstrap/commands/sandbox-close-account/reporter.d.ts +4 -2
  254. package/dist/bootstrap/commands/sandbox-close-account/reporter.js +2 -1
  255. package/dist/bootstrap/commands/sandbox-open-account/cli.d.ts +6 -6
  256. package/dist/bootstrap/commands/sandbox-open-account/cli.js +19 -28
  257. package/dist/bootstrap/commands/sandbox-open-account/reporter.d.ts +4 -2
  258. package/dist/bootstrap/commands/sandbox-open-account/reporter.js +2 -1
  259. package/dist/bootstrap/commands/sandbox-operations/cli.d.ts +18 -64
  260. package/dist/bootstrap/commands/sandbox-operations/cli.js +36 -48
  261. package/dist/bootstrap/commands/sandbox-operations-by-cursor/cli.d.ts +32 -94
  262. package/dist/bootstrap/commands/sandbox-operations-by-cursor/cli.js +57 -69
  263. package/dist/bootstrap/commands/sandbox-order-state/cli.d.ts +10 -41
  264. package/dist/bootstrap/commands/sandbox-order-state/cli.js +26 -38
  265. package/dist/bootstrap/commands/sandbox-orders/cli.d.ts +8 -35
  266. package/dist/bootstrap/commands/sandbox-orders/cli.js +22 -34
  267. package/dist/bootstrap/commands/sandbox-pay-in/cli.d.ts +22 -21
  268. package/dist/bootstrap/commands/sandbox-pay-in/cli.js +16 -22
  269. package/dist/bootstrap/commands/sandbox-pay-in/reporter.d.ts +4 -2
  270. package/dist/bootstrap/commands/sandbox-pay-in/reporter.js +2 -1
  271. package/dist/bootstrap/commands/sandbox-portfolio/cli.d.ts +14 -46
  272. package/dist/bootstrap/commands/sandbox-portfolio/cli.js +27 -39
  273. package/dist/bootstrap/commands/sandbox-positions/cli.d.ts +8 -35
  274. package/dist/bootstrap/commands/sandbox-positions/cli.js +22 -34
  275. package/dist/bootstrap/commands/sandbox-post-order/cli.d.ts +22 -80
  276. package/dist/bootstrap/commands/sandbox-post-order/cli.js +49 -60
  277. package/dist/bootstrap/commands/sandbox-replace-order/cli.d.ts +18 -72
  278. package/dist/bootstrap/commands/sandbox-replace-order/cli.js +45 -56
  279. package/dist/bootstrap/commands/sandbox-withdraw-limits/cli.d.ts +8 -35
  280. package/dist/bootstrap/commands/sandbox-withdraw-limits/cli.js +22 -34
  281. package/dist/bootstrap/commands/share/cli.d.ts +6 -5
  282. package/dist/bootstrap/commands/share/cli.js +19 -24
  283. package/dist/bootstrap/commands/share/reporter.d.ts +4 -2
  284. package/dist/bootstrap/commands/share/reporter.js +5 -2
  285. package/dist/bootstrap/commands/shares/cli.d.ts +6 -5
  286. package/dist/bootstrap/commands/shares/cli.js +19 -24
  287. package/dist/bootstrap/commands/shares/reporter.d.ts +4 -2
  288. package/dist/bootstrap/commands/shares/reporter.js +2 -1
  289. package/dist/bootstrap/commands/stop-orders/cli.d.ts +13 -12
  290. package/dist/bootstrap/commands/stop-orders/cli.js +14 -21
  291. package/dist/bootstrap/commands/stop-orders/reporter.d.ts +4 -2
  292. package/dist/bootstrap/commands/stop-orders/reporter.js +2 -1
  293. package/dist/bootstrap/commands/stream-run/cli.d.ts +6 -4
  294. package/dist/bootstrap/commands/stream-run/cli.js +7 -7
  295. package/dist/bootstrap/commands/stream-run/config.d.ts +18 -1
  296. package/dist/bootstrap/commands/stream-run/config.js +5 -3
  297. package/dist/bootstrap/commands/stream-run/reporter.d.ts +6 -1
  298. package/dist/bootstrap/commands/stream-run/request.mapper.js +15 -5
  299. package/dist/bootstrap/commands/stream-run/stream-session.d.ts +14 -0
  300. package/dist/bootstrap/commands/stream-run/stream-session.js +7 -2
  301. package/dist/bootstrap/commands/trading-schedules/cli.d.ts +19 -18
  302. package/dist/bootstrap/commands/trading-schedules/cli.js +14 -21
  303. package/dist/bootstrap/commands/trading-schedules/reporter.d.ts +4 -2
  304. package/dist/bootstrap/commands/trading-schedules/reporter.js +11 -2
  305. package/dist/bootstrap/commands/trading-status/cli.d.ts +13 -12
  306. package/dist/bootstrap/commands/trading-status/cli.js +14 -21
  307. package/dist/bootstrap/commands/trading-status/reporter.d.ts +4 -2
  308. package/dist/bootstrap/commands/trading-status/reporter.js +2 -1
  309. package/dist/bootstrap/commands/trading-statuses/cli.d.ts +13 -12
  310. package/dist/bootstrap/commands/trading-statuses/cli.js +14 -21
  311. package/dist/bootstrap/commands/trading-statuses/reporter.d.ts +4 -2
  312. package/dist/bootstrap/commands/trading-statuses/reporter.js +2 -1
  313. package/dist/bootstrap/commands/user-info/cli.d.ts +6 -5
  314. package/dist/bootstrap/commands/user-info/cli.js +17 -22
  315. package/dist/bootstrap/commands/user-info/reporter.d.ts +4 -2
  316. package/dist/bootstrap/commands/user-info/reporter.js +2 -1
  317. package/dist/bootstrap/commands/user-tariff/cli.d.ts +6 -5
  318. package/dist/bootstrap/commands/user-tariff/cli.js +17 -22
  319. package/dist/bootstrap/commands/user-tariff/reporter.d.ts +4 -2
  320. package/dist/bootstrap/commands/user-tariff/reporter.js +17 -2
  321. package/dist/bootstrap/commands/withdraw-limits/cli.d.ts +12 -7
  322. package/dist/bootstrap/commands/withdraw-limits/cli.js +29 -30
  323. package/dist/bootstrap/commands/withdraw-limits/reporter.d.ts +4 -2
  324. package/dist/bootstrap/commands/withdraw-limits/reporter.js +2 -1
  325. package/dist/bootstrap/generated-exports.d.ts +1 -1
  326. package/dist/bootstrap/generated-exports.js +14 -11
  327. package/dist/bootstrap/index.js +5 -2
  328. package/dist/bootstrap/proto/compile-proto.d.ts +4 -2
  329. package/dist/bootstrap/proto/compile-proto.js +11 -6
  330. package/dist/bootstrap/sdk-config.d.ts +9 -7
  331. package/dist/bootstrap/sdk-config.js +8 -7
  332. package/dist/bootstrap/t-invest-node-sdk.d.ts +26 -6
  333. package/dist/bootstrap/t-invest-node-sdk.js +48 -23
  334. package/dist/bootstrap/unary-limit-config.d.ts +13 -14
  335. package/dist/bootstrap/unary-limit-config.js +12 -13
  336. package/dist/config.d.ts +13 -11
  337. package/dist/config.js +13 -11
  338. package/dist/config.types.d.ts +18 -19
  339. package/dist/config.types.js +6 -6
  340. package/dist/generated/common.d.ts +1 -0
  341. package/dist/generated/common.js +3 -2
  342. package/dist/generated/google/api/field_behavior.d.ts +1 -0
  343. package/dist/generated/google/api/field_behavior.js +3 -2
  344. package/dist/generated/google/protobuf/descriptor.d.ts +1 -0
  345. package/dist/generated/google/protobuf/descriptor.js +26 -16
  346. package/dist/generated/google/protobuf/timestamp.d.ts +1 -0
  347. package/dist/generated/google/protobuf/timestamp.js +20 -2
  348. package/dist/generated/instruments.d.ts +1 -0
  349. package/dist/generated/instruments.js +59 -55
  350. package/dist/generated/marketdata.d.ts +1 -0
  351. package/dist/generated/marketdata.js +10 -7
  352. package/dist/generated/operations.d.ts +1 -0
  353. package/dist/generated/operations.js +10 -7
  354. package/dist/generated/orders.d.ts +5 -2
  355. package/dist/generated/orders.js +29 -7
  356. package/dist/generated/sandbox.d.ts +1 -0
  357. package/dist/generated/sandbox.js +3 -2
  358. package/dist/generated/signals.d.ts +1 -0
  359. package/dist/generated/signals.js +3 -2
  360. package/dist/generated/stoporders.d.ts +1 -0
  361. package/dist/generated/stoporders.js +3 -2
  362. package/dist/generated/users.d.ts +1 -0
  363. package/dist/generated/users.js +9 -6
  364. package/dist/infrastructure/interceptor/warning-interceptor.d.ts +3 -1
  365. package/dist/infrastructure/interceptor/warning-interceptor.js +4 -3
  366. package/dist/infrastructure/report-values.js +8 -2
  367. package/dist/infrastructure/transport/grpc/call-callback-boundary.d.ts +23 -0
  368. package/dist/infrastructure/transport/grpc/call-callback-boundary.js +56 -0
  369. package/dist/infrastructure/transport/grpc/sdk-call-error.js +2 -2
  370. package/dist/infrastructure/transport/grpc/sdk-channel.d.ts +5 -5
  371. package/dist/infrastructure/transport/grpc/sdk-channel.js +5 -5
  372. package/dist/infrastructure/transport/grpc/sdk-client.d.ts +4 -3
  373. package/dist/infrastructure/transport/grpc/sdk-client.js +4 -3
  374. package/dist/infrastructure/transport/grpc/sdk-middleware.d.ts +20 -11
  375. package/dist/infrastructure/transport/grpc/sdk-middleware.js +96 -109
  376. package/dist/infrastructure/transport/grpc/unary-limit-resolver.d.ts +21 -3
  377. package/dist/infrastructure/transport/grpc/unary-limit-resolver.js +22 -6
  378. package/docs/architecture.md +93 -116
  379. package/docs/bundled-ca.md +31 -48
  380. package/docs/clean-architecture/adapters.md +14 -14
  381. package/docs/clean-architecture/api-commands.md +106 -102
  382. package/docs/clean-architecture/application.md +78 -94
  383. package/docs/clean-architecture/cli-output-boundaries.md +109 -119
  384. package/docs/clean-architecture/dto.md +18 -18
  385. package/docs/clean-architecture/index.md +9 -34
  386. package/docs/cli-reference.md +38 -30
  387. package/docs/cli-stream-configuration.md +57 -41
  388. package/docs/cli-stream-reference.md +51 -83
  389. package/docs/examples/custom-unary-limiter.md +454 -0
  390. package/docs/examples/deprecated-fields.md +27 -0
  391. package/docs/examples/errors-and-lifecycle.md +180 -0
  392. package/docs/examples/getting-started.md +45 -0
  393. package/docs/examples/index.md +43 -0
  394. package/docs/examples/instrument-lookup.md +38 -0
  395. package/docs/examples/market-data-recovery.md +327 -0
  396. package/docs/examples/operations-pagination.md +47 -0
  397. package/docs/examples/order-state-stream.md +39 -0
  398. package/docs/examples/sandbox-orders.md +85 -0
  399. package/docs/examples/streams-and-cancellation.md +218 -0
  400. package/docs/examples/testing-with-service-definitions.md +79 -0
  401. package/docs/examples/unary-calls.md +156 -0
  402. package/docs/examples/unary-limits.md +96 -0
  403. package/docs/index.md +23 -48
  404. package/docs/limits-policy.md +26 -48
  405. package/docs/roadmap.md +54 -54
  406. package/docs/tls-policy.md +39 -21
  407. package/package.json +8 -8
  408. package/readme.md +29 -214
  409. package/docs/guides/custom-unary-limiter.md +0 -500
  410. package/docs/guides/errors-and-lifecycle.md +0 -184
  411. package/docs/guides/getting-started.md +0 -86
  412. package/docs/guides/index.md +0 -32
  413. package/docs/guides/streams-and-cancellation.md +0 -162
  414. package/docs/guides/testing-with-service-definitions.md +0 -102
  415. package/docs/guides/unary-calls.md +0 -181
@@ -6,7 +6,8 @@
6
6
  * - валидация имени команды из positionals;
7
7
  * - возврат canonical и matched path metadata для bootstrap CLI;
8
8
  *
9
- * Здесь не должно быть исполнения команд, разбора raw argv или форматирования help/version output.
9
+ * Здесь не должно быть исполнения команд, разбора raw argv или форматирования
10
+ * help/version output.
10
11
  */
11
12
  import type { CommandPath } from 'icore';
12
13
  type WithCompatibilityAliases<TDefinition> = Omit<TDefinition, 'aliases'> & {
@@ -27,9 +28,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
27
28
  readonly type: 'boolean';
28
29
  };
29
30
  readonly format: {
30
- readonly type: 'string';
31
+ readonly type: "string";
31
32
  readonly choices: readonly ["json", "table"];
32
- readonly default: 'table';
33
+ readonly default: "table";
33
34
  };
34
35
  }, undefined, string, readonly ["account", "list"], undefined, void, readonly []>, "metadata"> & {
35
36
  metadata?: undefined;
@@ -47,9 +48,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
47
48
  readonly type: 'boolean';
48
49
  };
49
50
  readonly format: {
50
- readonly type: 'string';
51
+ readonly type: "string";
51
52
  readonly choices: readonly ["json", "table"];
52
- readonly default: 'table';
53
+ readonly default: "table";
53
54
  };
54
55
  }, undefined, string, readonly ["account", "info"], undefined, void, readonly []>, "metadata"> & {
55
56
  metadata?: undefined;
@@ -67,13 +68,13 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
67
68
  readonly type: 'boolean';
68
69
  };
69
70
  readonly 'account-id': {
70
- readonly type: 'string';
71
+ readonly type: "string";
71
72
  readonly required: true;
72
73
  };
73
74
  readonly format: {
74
- readonly type: 'string';
75
+ readonly type: "string";
75
76
  readonly choices: readonly ["json", "table"];
76
- readonly default: 'table';
77
+ readonly default: "table";
77
78
  };
78
79
  }, undefined, string, readonly ["account", "margin"], undefined, void, readonly []>, "metadata"> & {
79
80
  metadata?: undefined;
@@ -91,9 +92,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
91
92
  readonly type: 'boolean';
92
93
  };
93
94
  readonly format: {
94
- readonly type: 'string';
95
+ readonly type: "string";
95
96
  readonly choices: readonly ["json", "table"];
96
- readonly default: 'table';
97
+ readonly default: "table";
97
98
  };
98
99
  }, undefined, string, readonly ["account", "tariff"], undefined, void, readonly []>, "metadata"> & {
99
100
  metadata?: undefined;
@@ -111,26 +112,26 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
111
112
  readonly type: 'boolean';
112
113
  };
113
114
  readonly 'instrument-id': {
114
- readonly type: 'string';
115
+ readonly type: "string";
115
116
  readonly required: true;
116
117
  };
117
118
  readonly from: {
118
- readonly type: 'string';
119
+ readonly type: "string";
119
120
  readonly required: true;
120
121
  };
121
122
  readonly to: {
122
- readonly type: 'string';
123
+ readonly type: "string";
123
124
  readonly required: true;
124
125
  };
125
126
  readonly interval: {
126
- readonly type: 'string';
127
+ readonly type: "string";
127
128
  readonly choices: ("10min" | "15min" | "1hour" | "1min" | "2hour" | "2min" | "30min" | "3min" | "4hour" | "5min" | "day" | "hour" | "month" | "week")[];
128
129
  readonly required: true;
129
130
  };
130
131
  readonly format: {
131
- readonly type: 'string';
132
+ readonly type: "string";
132
133
  readonly choices: readonly ["json", "csv"];
133
- readonly default: 'json';
134
+ readonly default: "json";
134
135
  };
135
136
  }, undefined, string, readonly ["market", "candles"], undefined, void, readonly []>, "metadata"> & {
136
137
  metadata?: undefined;
@@ -148,13 +149,13 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
148
149
  readonly type: 'boolean';
149
150
  };
150
151
  readonly 'account-id': {
151
- readonly type: 'string';
152
+ readonly type: "string";
152
153
  readonly required: true;
153
154
  };
154
155
  readonly format: {
155
- readonly type: 'string';
156
+ readonly type: "string";
156
157
  readonly choices: readonly ["json", "table"];
157
- readonly default: 'table';
158
+ readonly default: "table";
158
159
  };
159
160
  }, undefined, string, readonly ["order", "list"], undefined, void, readonly []>, "metadata"> & {
160
161
  metadata?: undefined;
@@ -172,17 +173,17 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
172
173
  readonly type: 'boolean';
173
174
  };
174
175
  readonly 'account-id': {
175
- readonly type: 'string';
176
+ readonly type: "string";
176
177
  readonly required: true;
177
178
  };
178
179
  readonly 'order-id': {
179
- readonly type: 'string';
180
+ readonly type: "string";
180
181
  readonly required: true;
181
182
  };
182
183
  readonly format: {
183
- readonly type: 'string';
184
+ readonly type: "string";
184
185
  readonly choices: readonly ["json", "table"];
185
- readonly default: 'table';
186
+ readonly default: "table";
186
187
  };
187
188
  }, undefined, string, readonly ["order", "show"], undefined, void, readonly []>, "metadata"> & {
188
189
  metadata?: undefined;
@@ -203,11 +204,11 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
203
204
  readonly type: 'boolean';
204
205
  };
205
206
  readonly 'account-id': {
206
- readonly type: 'string';
207
+ readonly type: "string";
207
208
  readonly required: true;
208
209
  };
209
210
  readonly 'instrument-id': {
210
- readonly type: 'string';
211
+ readonly type: "string";
211
212
  readonly required: true;
212
213
  };
213
214
  readonly quantity: {
@@ -218,26 +219,26 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
218
219
  readonly required: true;
219
220
  };
220
221
  readonly price: {
221
- readonly type: 'string';
222
+ readonly type: "string";
222
223
  };
223
224
  readonly direction: {
224
- readonly type: 'string';
225
+ readonly type: "string";
225
226
  readonly choices: readonly ["buy", "sell"];
226
227
  readonly required: true;
227
228
  };
228
229
  readonly 'order-type': {
229
- readonly type: 'string';
230
+ readonly type: "string";
230
231
  readonly choices: readonly ["limit", "market", "bestprice"];
231
232
  readonly required: true;
232
233
  };
233
234
  readonly 'order-id': {
234
- readonly type: 'string';
235
+ readonly type: "string";
235
236
  readonly required: true;
236
237
  };
237
238
  readonly format: {
238
- readonly type: 'string';
239
+ readonly type: "string";
239
240
  readonly choices: readonly ["json", "table"];
240
- readonly default: 'table';
241
+ readonly default: "table";
241
242
  };
242
243
  }, undefined, string, readonly ["order", "place"], undefined, void, readonly []>, "metadata"> & {
243
244
  metadata?: undefined;
@@ -258,17 +259,17 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
258
259
  readonly type: 'boolean';
259
260
  };
260
261
  readonly 'account-id': {
261
- readonly type: 'string';
262
+ readonly type: "string";
262
263
  readonly required: true;
263
264
  };
264
265
  readonly 'order-id': {
265
- readonly type: 'string';
266
+ readonly type: "string";
266
267
  readonly required: true;
267
268
  };
268
269
  readonly format: {
269
- readonly type: 'string';
270
+ readonly type: "string";
270
271
  readonly choices: readonly ["json", "table"];
271
- readonly default: 'table';
272
+ readonly default: "table";
272
273
  };
273
274
  }, undefined, string, readonly ["order", "cancel"], undefined, void, readonly []>, "metadata"> & {
274
275
  metadata?: undefined;
@@ -289,15 +290,15 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
289
290
  readonly type: 'boolean';
290
291
  };
291
292
  readonly 'account-id': {
292
- readonly type: 'string';
293
+ readonly type: "string";
293
294
  readonly required: true;
294
295
  };
295
296
  readonly 'order-id': {
296
- readonly type: 'string';
297
+ readonly type: "string";
297
298
  readonly required: true;
298
299
  };
299
300
  readonly 'idempotency-key': {
300
- readonly type: 'string';
301
+ readonly type: "string";
301
302
  readonly required: true;
302
303
  };
303
304
  readonly quantity: {
@@ -308,18 +309,18 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
308
309
  readonly required: true;
309
310
  };
310
311
  readonly price: {
311
- readonly type: 'string';
312
+ readonly type: "string";
312
313
  readonly required: true;
313
314
  };
314
315
  readonly 'price-type': {
315
- readonly type: 'string';
316
+ readonly type: "string";
316
317
  readonly choices: readonly ["point", "currency"];
317
318
  readonly required: true;
318
319
  };
319
320
  readonly format: {
320
- readonly type: 'string';
321
+ readonly type: "string";
321
322
  readonly choices: readonly ["json", "table"];
322
- readonly default: 'table';
323
+ readonly default: "table";
323
324
  };
324
325
  }, undefined, string, readonly ["order", "replace"], undefined, void, readonly []>, "metadata"> & {
325
326
  metadata?: undefined;
@@ -337,13 +338,13 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
337
338
  readonly type: 'boolean';
338
339
  };
339
340
  readonly 'account-id': {
340
- readonly type: 'string';
341
+ readonly type: "string";
341
342
  readonly required: true;
342
343
  };
343
344
  readonly format: {
344
- readonly type: 'string';
345
+ readonly type: "string";
345
346
  readonly choices: readonly ["json", "table"];
346
- readonly default: 'table';
347
+ readonly default: "table";
347
348
  };
348
349
  }, undefined, string, readonly ["stop-order", "list"], undefined, void, readonly []>, "metadata"> & {
349
350
  metadata?: undefined;
@@ -364,11 +365,11 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
364
365
  readonly type: 'boolean';
365
366
  };
366
367
  readonly 'account-id': {
367
- readonly type: 'string';
368
+ readonly type: "string";
368
369
  readonly required: true;
369
370
  };
370
371
  readonly 'instrument-id': {
371
- readonly type: 'string';
372
+ readonly type: "string";
372
373
  readonly required: true;
373
374
  };
374
375
  readonly quantity: {
@@ -379,34 +380,34 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
379
380
  readonly required: true;
380
381
  };
381
382
  readonly price: {
382
- readonly type: 'string';
383
+ readonly type: "string";
383
384
  };
384
385
  readonly 'stop-price': {
385
- readonly type: 'string';
386
+ readonly type: "string";
386
387
  readonly required: true;
387
388
  };
388
389
  readonly direction: {
389
- readonly type: 'string';
390
+ readonly type: "string";
390
391
  readonly choices: ("buy" | "sell")[];
391
392
  readonly required: true;
392
393
  };
393
394
  readonly 'expiration-type': {
394
- readonly type: 'string';
395
+ readonly type: "string";
395
396
  readonly choices: ("good-till-cancel" | "good-till-date")[];
396
397
  readonly required: true;
397
398
  };
398
399
  readonly 'stop-order-type': {
399
- readonly type: 'string';
400
+ readonly type: "string";
400
401
  readonly choices: ("stop-limit" | "stop-loss" | "take-profit")[];
401
402
  readonly required: true;
402
403
  };
403
404
  readonly 'expire-date': {
404
- readonly type: 'string';
405
+ readonly type: "string";
405
406
  };
406
407
  readonly format: {
407
- readonly type: 'string';
408
+ readonly type: "string";
408
409
  readonly choices: readonly ["json", "table"];
409
- readonly default: 'table';
410
+ readonly default: "table";
410
411
  };
411
412
  }, undefined, string, readonly ["stop-order", "place"], undefined, void, readonly []>, "metadata"> & {
412
413
  metadata?: undefined;
@@ -427,17 +428,17 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
427
428
  readonly type: 'boolean';
428
429
  };
429
430
  readonly 'account-id': {
430
- readonly type: 'string';
431
+ readonly type: "string";
431
432
  readonly required: true;
432
433
  };
433
434
  readonly 'stop-order-id': {
434
- readonly type: 'string';
435
+ readonly type: "string";
435
436
  readonly required: true;
436
437
  };
437
438
  readonly format: {
438
- readonly type: 'string';
439
+ readonly type: "string";
439
440
  readonly choices: readonly ["json", "table"];
440
- readonly default: 'table';
441
+ readonly default: "table";
441
442
  };
442
443
  }, undefined, string, readonly ["stop-order", "cancel"], undefined, void, readonly []>, "metadata"> & {
443
444
  metadata?: undefined;
@@ -458,9 +459,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
458
459
  readonly type: 'boolean';
459
460
  };
460
461
  readonly format: {
461
- readonly type: 'string';
462
+ readonly type: "string";
462
463
  readonly choices: readonly ["json", "table"];
463
- readonly default: 'table';
464
+ readonly default: "table";
464
465
  };
465
466
  }, undefined, string, readonly ["sandbox", "account", "open"], undefined, void, readonly []>, "metadata"> & {
466
467
  metadata?: undefined;
@@ -478,9 +479,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
478
479
  readonly type: 'boolean';
479
480
  };
480
481
  readonly format: {
481
- readonly type: 'string';
482
+ readonly type: "string";
482
483
  readonly choices: readonly ["json", "table"];
483
- readonly default: 'table';
484
+ readonly default: "table";
484
485
  };
485
486
  }, undefined, string, readonly ["sandbox", "account", "list"], undefined, void, readonly []>, "metadata"> & {
486
487
  metadata?: undefined;
@@ -501,13 +502,13 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
501
502
  readonly type: 'boolean';
502
503
  };
503
504
  readonly 'account-id': {
504
- readonly type: 'string';
505
+ readonly type: "string";
505
506
  readonly required: true;
506
507
  };
507
508
  readonly format: {
508
- readonly type: 'string';
509
+ readonly type: "string";
509
510
  readonly choices: readonly ["json", "table"];
510
- readonly default: 'table';
511
+ readonly default: "table";
511
512
  };
512
513
  }, undefined, string, readonly ["sandbox", "account", "close"], undefined, void, readonly []>, "metadata"> & {
513
514
  metadata?: undefined;
@@ -528,11 +529,11 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
528
529
  readonly type: 'boolean';
529
530
  };
530
531
  readonly 'account-id': {
531
- readonly type: 'string';
532
+ readonly type: "string";
532
533
  readonly required: true;
533
534
  };
534
535
  readonly 'instrument-id': {
535
- readonly type: 'string';
536
+ readonly type: "string";
536
537
  readonly required: true;
537
538
  };
538
539
  readonly quantity: {
@@ -543,26 +544,26 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
543
544
  readonly required: true;
544
545
  };
545
546
  readonly price: {
546
- readonly type: 'string';
547
+ readonly type: "string";
547
548
  };
548
549
  readonly direction: {
549
- readonly type: 'string';
550
- readonly choices: readonly ['buy', 'sell'];
550
+ readonly type: "string";
551
+ readonly choices: readonly ["buy", "sell"];
551
552
  readonly required: true;
552
553
  };
553
554
  readonly 'order-type': {
554
- readonly type: 'string';
555
- readonly choices: readonly ['limit', 'market', 'bestprice'];
555
+ readonly type: "string";
556
+ readonly choices: readonly ["limit", "market", "bestprice"];
556
557
  readonly required: true;
557
558
  };
558
559
  readonly 'order-id': {
559
- readonly type: 'string';
560
+ readonly type: "string";
560
561
  readonly required: true;
561
562
  };
562
563
  readonly format: {
563
- readonly type: 'string';
564
+ readonly type: "string";
564
565
  readonly choices: readonly ["json", "table"];
565
- readonly default: 'table';
566
+ readonly default: "table";
566
567
  };
567
568
  }, undefined, string, readonly ["sandbox", "order", "place"], undefined, void, readonly []>, "metadata"> & {
568
569
  metadata?: undefined;
@@ -583,15 +584,15 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
583
584
  readonly type: 'boolean';
584
585
  };
585
586
  readonly 'account-id': {
586
- readonly type: 'string';
587
+ readonly type: "string";
587
588
  readonly required: true;
588
589
  };
589
590
  readonly 'order-id': {
590
- readonly type: 'string';
591
+ readonly type: "string";
591
592
  readonly required: true;
592
593
  };
593
594
  readonly 'idempotency-key': {
594
- readonly type: 'string';
595
+ readonly type: "string";
595
596
  readonly required: true;
596
597
  };
597
598
  readonly quantity: {
@@ -602,18 +603,18 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
602
603
  readonly required: true;
603
604
  };
604
605
  readonly price: {
605
- readonly type: 'string';
606
+ readonly type: "string";
606
607
  readonly required: true;
607
608
  };
608
609
  readonly 'price-type': {
609
- readonly type: 'string';
610
- readonly choices: readonly ['point', 'currency'];
610
+ readonly type: "string";
611
+ readonly choices: readonly ["point", "currency"];
611
612
  readonly required: true;
612
613
  };
613
614
  readonly format: {
614
- readonly type: 'string';
615
+ readonly type: "string";
615
616
  readonly choices: readonly ["json", "table"];
616
- readonly default: 'table';
617
+ readonly default: "table";
617
618
  };
618
619
  }, undefined, string, readonly ["sandbox", "order", "replace"], undefined, void, readonly []>, "metadata"> & {
619
620
  metadata?: undefined;
@@ -631,13 +632,13 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
631
632
  readonly type: 'boolean';
632
633
  };
633
634
  readonly 'account-id': {
634
- readonly type: 'string';
635
+ readonly type: "string";
635
636
  readonly required: true;
636
637
  };
637
638
  readonly format: {
638
- readonly type: 'string';
639
+ readonly type: "string";
639
640
  readonly choices: readonly ["json", "table"];
640
- readonly default: 'table';
641
+ readonly default: "table";
641
642
  };
642
643
  }, undefined, string, readonly ["sandbox", "order", "list"], undefined, void, readonly []>, "metadata"> & {
643
644
  metadata?: undefined;
@@ -658,17 +659,17 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
658
659
  readonly type: 'boolean';
659
660
  };
660
661
  readonly 'account-id': {
661
- readonly type: 'string';
662
+ readonly type: "string";
662
663
  readonly required: true;
663
664
  };
664
665
  readonly 'order-id': {
665
- readonly type: 'string';
666
+ readonly type: "string";
666
667
  readonly required: true;
667
668
  };
668
669
  readonly format: {
669
- readonly type: 'string';
670
+ readonly type: "string";
670
671
  readonly choices: readonly ["json", "table"];
671
- readonly default: 'table';
672
+ readonly default: "table";
672
673
  };
673
674
  }, undefined, string, readonly ["sandbox", "order", "cancel"], undefined, void, readonly []>, "metadata"> & {
674
675
  metadata?: undefined;
@@ -686,17 +687,17 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
686
687
  readonly type: 'boolean';
687
688
  };
688
689
  readonly 'account-id': {
689
- readonly type: 'string';
690
+ readonly type: "string";
690
691
  readonly required: true;
691
692
  };
692
693
  readonly 'order-id': {
693
- readonly type: 'string';
694
+ readonly type: "string";
694
695
  readonly required: true;
695
696
  };
696
697
  readonly format: {
697
- readonly type: 'string';
698
+ readonly type: "string";
698
699
  readonly choices: readonly ["json", "table"];
699
- readonly default: 'table';
700
+ readonly default: "table";
700
701
  };
701
702
  }, undefined, string, readonly ["sandbox", "order", "show"], undefined, void, readonly []>, "metadata"> & {
702
703
  metadata?: undefined;
@@ -714,13 +715,13 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
714
715
  readonly type: 'boolean';
715
716
  };
716
717
  readonly 'account-id': {
717
- readonly type: 'string';
718
+ readonly type: "string";
718
719
  readonly required: true;
719
720
  };
720
721
  readonly format: {
721
- readonly type: 'string';
722
+ readonly type: "string";
722
723
  readonly choices: readonly ["json", "table"];
723
- readonly default: 'table';
724
+ readonly default: "table";
724
725
  };
725
726
  }, undefined, string, readonly ["sandbox", "position", "list"], undefined, void, readonly []>, "metadata"> & {
726
727
  metadata?: undefined;
@@ -744,26 +745,26 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
744
745
  readonly type: 'string';
745
746
  };
746
747
  readonly 'account-id': {
747
- readonly type: 'string';
748
+ readonly type: "string";
748
749
  readonly required: true;
749
750
  };
750
751
  readonly from: {
751
- readonly type: 'string';
752
+ readonly type: "string";
752
753
  readonly required: true;
753
754
  };
754
755
  readonly to: {
755
- readonly type: 'string';
756
+ readonly type: "string";
756
757
  readonly required: true;
757
758
  };
758
759
  readonly state: {
759
- readonly type: 'string';
760
- readonly choices: readonly ['unspecified', 'executed', 'canceled', 'progress'];
761
- readonly default: 'unspecified';
760
+ readonly type: "string";
761
+ readonly choices: readonly ["unspecified", "executed", "canceled", "progress"];
762
+ readonly default: "unspecified";
762
763
  };
763
764
  readonly format: {
764
- readonly type: 'string';
765
+ readonly type: "string";
765
766
  readonly choices: readonly ["json", "table"];
766
- readonly default: 'table';
767
+ readonly default: "table";
767
768
  };
768
769
  }, undefined, string, readonly ["sandbox", "operation", "list"], undefined, void, readonly []>, "metadata"> & {
769
770
  metadata?: undefined;
@@ -781,48 +782,48 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
781
782
  readonly type: 'boolean';
782
783
  };
783
784
  readonly 'account-id': {
784
- readonly type: 'string';
785
+ readonly type: "string";
785
786
  readonly required: true;
786
787
  };
787
788
  readonly 'instrument-id': {
788
- readonly type: 'string';
789
+ readonly type: "string";
789
790
  };
790
791
  readonly from: {
791
- readonly type: 'string';
792
+ readonly type: "string";
792
793
  };
793
794
  readonly to: {
794
- readonly type: 'string';
795
+ readonly type: "string";
795
796
  };
796
797
  readonly cursor: {
797
- readonly type: 'string';
798
+ readonly type: "string";
798
799
  };
799
800
  readonly limit: {
800
- readonly type: 'string';
801
+ readonly type: "string";
801
802
  };
802
803
  readonly 'operation-type': {
803
- readonly type: 'string';
804
+ readonly type: "string";
804
805
  };
805
806
  readonly state: {
806
- readonly type: 'string';
807
- readonly choices: readonly ['unspecified', 'executed', 'canceled', 'progress'];
808
- readonly default: 'unspecified';
807
+ readonly type: "string";
808
+ readonly choices: readonly ["unspecified", "executed", "canceled", "progress"];
809
+ readonly default: "unspecified";
809
810
  };
810
811
  readonly 'without-commissions': {
811
- readonly type: 'boolean';
812
+ readonly type: "boolean";
812
813
  readonly default: false;
813
814
  };
814
815
  readonly 'without-trades': {
815
- readonly type: 'boolean';
816
+ readonly type: "boolean";
816
817
  readonly default: false;
817
818
  };
818
819
  readonly 'without-overnights': {
819
- readonly type: 'boolean';
820
+ readonly type: "boolean";
820
821
  readonly default: false;
821
822
  };
822
823
  readonly format: {
823
- readonly type: 'string';
824
+ readonly type: "string";
824
825
  readonly choices: readonly ["json", "table"];
825
- readonly default: 'table';
826
+ readonly default: "table";
826
827
  };
827
828
  }, undefined, string, readonly ["sandbox", "operation", "page"], undefined, void, readonly []>, "metadata"> & {
828
829
  metadata?: undefined;
@@ -840,18 +841,18 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
840
841
  readonly type: 'boolean';
841
842
  };
842
843
  readonly 'account-id': {
843
- readonly type: 'string';
844
+ readonly type: "string";
844
845
  readonly required: true;
845
846
  };
846
847
  readonly currency: {
847
- readonly type: 'string';
848
- readonly choices: readonly ['rub', 'usd', 'eur'];
849
- readonly default: 'rub';
848
+ readonly type: "string";
849
+ readonly choices: readonly ["rub", "usd", "eur"];
850
+ readonly default: "rub";
850
851
  };
851
852
  readonly format: {
852
- readonly type: 'string';
853
+ readonly type: "string";
853
854
  readonly choices: readonly ["json", "table"];
854
- readonly default: 'table';
855
+ readonly default: "table";
855
856
  };
856
857
  }, undefined, string, readonly ["sandbox", "portfolio"], undefined, void, readonly []>, "metadata"> & {
857
858
  metadata?: undefined;
@@ -872,22 +873,22 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
872
873
  readonly type: 'boolean';
873
874
  };
874
875
  readonly 'account-id': {
875
- readonly type: 'string';
876
+ readonly type: "string";
876
877
  readonly required: true;
877
878
  };
878
879
  readonly amount: {
879
- readonly type: 'string';
880
+ readonly type: "string";
880
881
  readonly required: true;
881
882
  };
882
883
  readonly currency: {
883
- readonly type: 'string';
884
+ readonly type: "string";
884
885
  readonly choices: readonly ["rub", "usd"];
885
- readonly default: 'rub';
886
+ readonly default: "rub";
886
887
  };
887
888
  readonly format: {
888
- readonly type: 'string';
889
+ readonly type: "string";
889
890
  readonly choices: readonly ["json", "table"];
890
- readonly default: 'table';
891
+ readonly default: "table";
891
892
  };
892
893
  }, undefined, string, readonly ["sandbox", "pay-in"], undefined, void, readonly []>, "metadata"> & {
893
894
  metadata?: undefined;
@@ -905,13 +906,13 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
905
906
  readonly type: 'boolean';
906
907
  };
907
908
  readonly 'account-id': {
908
- readonly type: 'string';
909
+ readonly type: "string";
909
910
  readonly required: true;
910
911
  };
911
912
  readonly format: {
912
- readonly type: 'string';
913
+ readonly type: "string";
913
914
  readonly choices: readonly ["json", "table"];
914
- readonly default: 'table';
915
+ readonly default: "table";
915
916
  };
916
917
  }, undefined, string, readonly ["sandbox", "withdraw-limits"], undefined, void, readonly []>, "metadata"> & {
917
918
  metadata?: undefined;
@@ -929,13 +930,13 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
929
930
  readonly type: 'boolean';
930
931
  };
931
932
  readonly 'instrument-id': {
932
- readonly type: 'string';
933
+ readonly type: "string";
933
934
  readonly required: true;
934
935
  };
935
936
  readonly format: {
936
- readonly type: 'string';
937
+ readonly type: "string";
937
938
  readonly choices: readonly ["json", "table"];
938
- readonly default: 'table';
939
+ readonly default: "table";
939
940
  };
940
941
  }, undefined, string, readonly ["market", "close-prices"], undefined, void, readonly []>, "metadata"> & {
941
942
  metadata?: undefined;
@@ -953,13 +954,13 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
953
954
  readonly type: 'boolean';
954
955
  };
955
956
  readonly 'instrument-id': {
956
- readonly type: 'string';
957
+ readonly type: "string";
957
958
  readonly required: true;
958
959
  };
959
960
  readonly format: {
960
- readonly type: 'string';
961
+ readonly type: "string";
961
962
  readonly choices: readonly ["json", "table"];
962
- readonly default: 'table';
963
+ readonly default: "table";
963
964
  };
964
965
  }, undefined, string, readonly ["market", "last-prices"], undefined, void, readonly []>, "metadata"> & {
965
966
  metadata?: undefined;
@@ -977,21 +978,21 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
977
978
  readonly type: 'boolean';
978
979
  };
979
980
  readonly 'instrument-id': {
980
- readonly type: 'string';
981
+ readonly type: "string";
981
982
  readonly required: true;
982
983
  };
983
984
  readonly from: {
984
- readonly type: 'string';
985
+ readonly type: "string";
985
986
  readonly required: true;
986
987
  };
987
988
  readonly to: {
988
- readonly type: 'string';
989
+ readonly type: "string";
989
990
  readonly required: true;
990
991
  };
991
992
  readonly format: {
992
- readonly type: 'string';
993
+ readonly type: "string";
993
994
  readonly choices: readonly ["json", "table"];
994
- readonly default: 'table';
995
+ readonly default: "table";
995
996
  };
996
997
  }, undefined, string, readonly ["market", "trades"], undefined, void, readonly []>, "metadata"> & {
997
998
  metadata?: undefined;
@@ -1008,6 +1009,10 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1008
1009
  readonly insecure: {
1009
1010
  readonly type: 'boolean';
1010
1011
  };
1012
+ readonly 'instrument-id': {
1013
+ readonly type: "string";
1014
+ readonly required: true;
1015
+ };
1011
1016
  readonly depth: {
1012
1017
  readonly type: 'number';
1013
1018
  readonly integer: true;
@@ -1016,13 +1021,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1016
1021
  readonly required: true;
1017
1022
  };
1018
1023
  readonly format: {
1019
- readonly type: 'string';
1024
+ readonly type: "string";
1020
1025
  readonly choices: readonly ["json", "table"];
1021
- readonly default: 'table';
1022
- };
1023
- readonly 'instrument-id': {
1024
- readonly type: 'string';
1025
- readonly required: true;
1026
+ readonly default: "table";
1026
1027
  };
1027
1028
  }, undefined, string, readonly ["market", "order-book"], undefined, void, readonly []>, "metadata"> & {
1028
1029
  metadata?: undefined;
@@ -1040,13 +1041,13 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1040
1041
  readonly type: 'boolean';
1041
1042
  };
1042
1043
  readonly 'instrument-id': {
1043
- readonly type: 'string';
1044
+ readonly type: "string";
1044
1045
  readonly required: true;
1045
1046
  };
1046
1047
  readonly format: {
1047
- readonly type: 'string';
1048
+ readonly type: "string";
1048
1049
  readonly choices: readonly ["json", "table"];
1049
- readonly default: 'table';
1050
+ readonly default: "table";
1050
1051
  };
1051
1052
  }, undefined, string, readonly ["market", "status"], undefined, void, readonly []>, "metadata"> & {
1052
1053
  metadata?: undefined;
@@ -1064,13 +1065,13 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1064
1065
  readonly type: 'boolean';
1065
1066
  };
1066
1067
  readonly 'instrument-id': {
1067
- readonly type: 'string';
1068
+ readonly type: "string";
1068
1069
  readonly required: true;
1069
1070
  };
1070
1071
  readonly format: {
1071
- readonly type: 'string';
1072
+ readonly type: "string";
1072
1073
  readonly choices: readonly ["json", "table"];
1073
- readonly default: 'table';
1074
+ readonly default: "table";
1074
1075
  };
1075
1076
  }, undefined, string, readonly ["market", "statuses"], undefined, void, readonly []>, "metadata"> & {
1076
1077
  metadata?: undefined;
@@ -1093,27 +1094,27 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1093
1094
  readonly figi: {
1094
1095
  readonly type: 'string';
1095
1096
  };
1096
- readonly state: {
1097
- readonly type: 'string';
1098
- readonly choices: readonly ["unspecified", "executed", "canceled", "progress"];
1099
- readonly default: 'unspecified';
1100
- };
1101
1097
  readonly 'account-id': {
1102
- readonly type: 'string';
1098
+ readonly type: "string";
1103
1099
  readonly required: true;
1104
1100
  };
1105
1101
  readonly from: {
1106
- readonly type: 'string';
1102
+ readonly type: "string";
1107
1103
  readonly required: true;
1108
1104
  };
1109
1105
  readonly to: {
1110
- readonly type: 'string';
1106
+ readonly type: "string";
1111
1107
  readonly required: true;
1112
1108
  };
1109
+ readonly state: {
1110
+ readonly type: "string";
1111
+ readonly choices: readonly ["unspecified", "executed", "canceled", "progress"];
1112
+ readonly default: "unspecified";
1113
+ };
1113
1114
  readonly format: {
1114
- readonly type: 'string';
1115
+ readonly type: "string";
1115
1116
  readonly choices: readonly ["json", "table"];
1116
- readonly default: 'table';
1117
+ readonly default: "table";
1117
1118
  };
1118
1119
  }, undefined, string, readonly ["operation", "list"], undefined, void, readonly []>, "metadata"> & {
1119
1120
  metadata?: undefined;
@@ -1130,49 +1131,49 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1130
1131
  readonly insecure: {
1131
1132
  readonly type: 'boolean';
1132
1133
  };
1133
- readonly state: {
1134
- readonly type: 'string';
1135
- readonly choices: readonly ["unspecified", "executed", "canceled", "progress"];
1136
- readonly default: 'unspecified';
1137
- };
1138
- readonly limit: {
1139
- readonly type: 'string';
1140
- };
1141
- readonly 'operation-type': {
1142
- readonly type: 'string';
1143
- };
1144
1134
  readonly 'account-id': {
1145
- readonly type: 'string';
1135
+ readonly type: "string";
1146
1136
  readonly required: true;
1147
1137
  };
1148
1138
  readonly 'instrument-id': {
1149
- readonly type: 'string';
1139
+ readonly type: "string";
1150
1140
  };
1151
1141
  readonly from: {
1152
- readonly type: 'string';
1142
+ readonly type: "string";
1153
1143
  };
1154
1144
  readonly to: {
1155
- readonly type: 'string';
1145
+ readonly type: "string";
1156
1146
  };
1157
1147
  readonly cursor: {
1158
- readonly type: 'string';
1148
+ readonly type: "string";
1149
+ };
1150
+ readonly limit: {
1151
+ readonly type: "string";
1152
+ };
1153
+ readonly 'operation-type': {
1154
+ readonly type: "string";
1155
+ };
1156
+ readonly state: {
1157
+ readonly type: "string";
1158
+ readonly choices: readonly ["unspecified", "executed", "canceled", "progress"];
1159
+ readonly default: "unspecified";
1159
1160
  };
1160
1161
  readonly 'without-commissions': {
1161
- readonly type: 'boolean';
1162
+ readonly type: "boolean";
1162
1163
  readonly default: false;
1163
1164
  };
1164
1165
  readonly 'without-trades': {
1165
- readonly type: 'boolean';
1166
+ readonly type: "boolean";
1166
1167
  readonly default: false;
1167
1168
  };
1168
1169
  readonly 'without-overnights': {
1169
- readonly type: 'boolean';
1170
+ readonly type: "boolean";
1170
1171
  readonly default: false;
1171
1172
  };
1172
1173
  readonly format: {
1173
- readonly type: 'string';
1174
+ readonly type: "string";
1174
1175
  readonly choices: readonly ["json", "table"];
1175
- readonly default: 'table';
1176
+ readonly default: "table";
1176
1177
  };
1177
1178
  }, undefined, string, readonly ["operation", "page"], undefined, void, readonly []>, "metadata"> & {
1178
1179
  metadata?: undefined;
@@ -1190,24 +1191,24 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1190
1191
  readonly type: 'boolean';
1191
1192
  };
1192
1193
  readonly 'account-id': {
1193
- readonly type: 'string';
1194
+ readonly type: "string";
1194
1195
  };
1195
1196
  readonly from: {
1196
- readonly type: 'string';
1197
+ readonly type: "string";
1197
1198
  };
1198
1199
  readonly to: {
1199
- readonly type: 'string';
1200
+ readonly type: "string";
1200
1201
  };
1201
1202
  readonly 'task-id': {
1202
- readonly type: 'string';
1203
+ readonly type: "string";
1203
1204
  };
1204
1205
  readonly page: {
1205
- readonly type: 'string';
1206
+ readonly type: "string";
1206
1207
  };
1207
1208
  readonly format: {
1208
- readonly type: 'string';
1209
+ readonly type: "string";
1209
1210
  readonly choices: readonly ["json", "table"];
1210
- readonly default: 'table';
1211
+ readonly default: "table";
1211
1212
  };
1212
1213
  }, undefined, string, readonly ["operation", "broker-report"], undefined, void, readonly []>, "metadata"> & {
1213
1214
  metadata?: undefined;
@@ -1225,24 +1226,24 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1225
1226
  readonly type: 'boolean';
1226
1227
  };
1227
1228
  readonly 'account-id': {
1228
- readonly type: 'string';
1229
+ readonly type: "string";
1229
1230
  };
1230
1231
  readonly from: {
1231
- readonly type: 'string';
1232
+ readonly type: "string";
1232
1233
  };
1233
1234
  readonly to: {
1234
- readonly type: 'string';
1235
+ readonly type: "string";
1235
1236
  };
1236
1237
  readonly 'task-id': {
1237
- readonly type: 'string';
1238
+ readonly type: "string";
1238
1239
  };
1239
1240
  readonly page: {
1240
- readonly type: 'string';
1241
+ readonly type: "string";
1241
1242
  };
1242
1243
  readonly format: {
1243
- readonly type: 'string';
1244
+ readonly type: "string";
1244
1245
  readonly choices: readonly ["json", "table"];
1245
- readonly default: 'table';
1246
+ readonly default: "table";
1246
1247
  };
1247
1248
  }, undefined, string, readonly ["operation", "foreign-dividends-report"], undefined, void, readonly []>, "metadata"> & {
1248
1249
  metadata?: undefined;
@@ -1260,18 +1261,18 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1260
1261
  readonly type: 'boolean';
1261
1262
  };
1262
1263
  readonly 'account-id': {
1263
- readonly type: 'string';
1264
+ readonly type: "string";
1264
1265
  readonly required: true;
1265
1266
  };
1266
1267
  readonly currency: {
1267
- readonly type: 'string';
1268
+ readonly type: "string";
1268
1269
  readonly choices: readonly ["rub", "usd", "eur"];
1269
- readonly default: 'rub';
1270
+ readonly default: "rub";
1270
1271
  };
1271
1272
  readonly format: {
1272
- readonly type: 'string';
1273
+ readonly type: "string";
1273
1274
  readonly choices: readonly ["json", "table"];
1274
- readonly default: 'table';
1275
+ readonly default: "table";
1275
1276
  };
1276
1277
  }, undefined, string, readonly ["operation", "portfolio"], undefined, void, readonly []>, "metadata"> & {
1277
1278
  metadata?: undefined;
@@ -1289,13 +1290,13 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1289
1290
  readonly type: 'boolean';
1290
1291
  };
1291
1292
  readonly 'account-id': {
1292
- readonly type: 'string';
1293
+ readonly type: "string";
1293
1294
  readonly required: true;
1294
1295
  };
1295
1296
  readonly format: {
1296
- readonly type: 'string';
1297
+ readonly type: "string";
1297
1298
  readonly choices: readonly ["json", "table"];
1298
- readonly default: 'table';
1299
+ readonly default: "table";
1299
1300
  };
1300
1301
  }, undefined, string, readonly ["operation", "positions"], undefined, void, readonly []>, "metadata"> & {
1301
1302
  metadata?: undefined;
@@ -1313,13 +1314,13 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1313
1314
  readonly type: 'boolean';
1314
1315
  };
1315
1316
  readonly 'account-id': {
1316
- readonly type: 'string';
1317
+ readonly type: "string";
1317
1318
  readonly required: true;
1318
1319
  };
1319
1320
  readonly format: {
1320
- readonly type: 'string';
1321
+ readonly type: "string";
1321
1322
  readonly choices: readonly ["json", "table"];
1322
- readonly default: 'table';
1323
+ readonly default: "table";
1323
1324
  };
1324
1325
  }, undefined, string, readonly ["operation", "withdraw-limits"], undefined, void, readonly []>, "metadata"> & {
1325
1326
  metadata?: undefined;
@@ -1337,9 +1338,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1337
1338
  readonly type: 'boolean';
1338
1339
  };
1339
1340
  readonly format: {
1340
- readonly type: 'string';
1341
+ readonly type: "string";
1341
1342
  readonly choices: readonly ["json", "table"];
1342
- readonly default: 'table';
1343
+ readonly default: "table";
1343
1344
  };
1344
1345
  }, undefined, string, readonly ["instrument", "brand", "list"], undefined, void, readonly []>, "metadata"> & {
1345
1346
  metadata?: undefined;
@@ -1357,9 +1358,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1357
1358
  readonly type: 'boolean';
1358
1359
  };
1359
1360
  readonly format: {
1360
- readonly type: 'string';
1361
+ readonly type: "string";
1361
1362
  readonly choices: readonly ["json", "table"];
1362
- readonly default: 'table';
1363
+ readonly default: "table";
1363
1364
  };
1364
1365
  }, undefined, string, readonly ["instrument", "country", "list"], undefined, void, readonly []>, "metadata"> & {
1365
1366
  metadata?: undefined;
@@ -1382,9 +1383,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1382
1383
  readonly default: 'base';
1383
1384
  };
1384
1385
  readonly format: {
1385
- readonly type: 'string';
1386
+ readonly type: "string";
1386
1387
  readonly choices: readonly ["json", "table"];
1387
- readonly default: 'table';
1388
+ readonly default: "table";
1388
1389
  };
1389
1390
  }, undefined, string, readonly ["instrument", "currency", "list"], undefined, void, readonly []>, "metadata"> & {
1390
1391
  metadata?: undefined;
@@ -1407,9 +1408,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1407
1408
  readonly default: 'base';
1408
1409
  };
1409
1410
  readonly format: {
1410
- readonly type: 'string';
1411
+ readonly type: "string";
1411
1412
  readonly choices: readonly ["json", "table"];
1412
- readonly default: 'table';
1413
+ readonly default: "table";
1413
1414
  };
1414
1415
  }, undefined, string, readonly ["instrument", "bond", "list"], undefined, void, readonly []>, "metadata"> & {
1415
1416
  metadata?: undefined;
@@ -1432,9 +1433,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1432
1433
  readonly default: 'base';
1433
1434
  };
1434
1435
  readonly format: {
1435
- readonly type: 'string';
1436
+ readonly type: "string";
1436
1437
  readonly choices: readonly ["json", "table"];
1437
- readonly default: 'table';
1438
+ readonly default: "table";
1438
1439
  };
1439
1440
  }, undefined, string, readonly ["instrument", "etf", "list"], undefined, void, readonly []>, "metadata"> & {
1440
1441
  metadata?: undefined;
@@ -1457,9 +1458,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1457
1458
  readonly default: 'base';
1458
1459
  };
1459
1460
  readonly format: {
1460
- readonly type: 'string';
1461
+ readonly type: "string";
1461
1462
  readonly choices: readonly ["json", "table"];
1462
- readonly default: 'table';
1463
+ readonly default: "table";
1463
1464
  };
1464
1465
  }, undefined, string, readonly ["instrument", "future", "list"], undefined, void, readonly []>, "metadata"> & {
1465
1466
  metadata?: undefined;
@@ -1482,9 +1483,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1482
1483
  readonly default: 'base';
1483
1484
  };
1484
1485
  readonly format: {
1485
- readonly type: 'string';
1486
+ readonly type: "string";
1486
1487
  readonly choices: readonly ["json", "table"];
1487
- readonly default: 'table';
1488
+ readonly default: "table";
1488
1489
  };
1489
1490
  }, undefined, string, readonly ["instrument", "share", "list"], undefined, void, readonly []>, "metadata"> & {
1490
1491
  metadata?: undefined;
@@ -1512,9 +1513,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1512
1513
  readonly choices: ("figi" | "position-uid" | "ticker" | "uid")[];
1513
1514
  };
1514
1515
  readonly format: {
1515
- readonly type: 'string';
1516
+ readonly type: "string";
1516
1517
  readonly choices: readonly ["json", "table"];
1517
- readonly default: 'table';
1518
+ readonly default: "table";
1518
1519
  };
1519
1520
  }, undefined, string, readonly ["instrument", "bond", "show"], undefined, void, readonly []>, "metadata"> & {
1520
1521
  metadata?: undefined;
@@ -1542,9 +1543,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1542
1543
  readonly choices: ("figi" | "position-uid" | "ticker" | "uid")[];
1543
1544
  };
1544
1545
  readonly format: {
1545
- readonly type: 'string';
1546
+ readonly type: "string";
1546
1547
  readonly choices: readonly ["json", "table"];
1547
- readonly default: 'table';
1548
+ readonly default: "table";
1548
1549
  };
1549
1550
  }, undefined, string, readonly ["instrument", "etf", "show"], undefined, void, readonly []>, "metadata"> & {
1550
1551
  metadata?: undefined;
@@ -1572,9 +1573,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1572
1573
  readonly choices: ("figi" | "position-uid" | "ticker" | "uid")[];
1573
1574
  };
1574
1575
  readonly format: {
1575
- readonly type: 'string';
1576
+ readonly type: "string";
1576
1577
  readonly choices: readonly ["json", "table"];
1577
- readonly default: 'table';
1578
+ readonly default: "table";
1578
1579
  };
1579
1580
  }, undefined, string, readonly ["instrument", "future", "show"], undefined, void, readonly []>, "metadata"> & {
1580
1581
  metadata?: undefined;
@@ -1602,9 +1603,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1602
1603
  readonly choices: ("figi" | "position-uid" | "ticker" | "uid")[];
1603
1604
  };
1604
1605
  readonly format: {
1605
- readonly type: 'string';
1606
+ readonly type: "string";
1606
1607
  readonly choices: readonly ["json", "table"];
1607
- readonly default: 'table';
1608
+ readonly default: "table";
1608
1609
  };
1609
1610
  }, undefined, string, readonly ["instrument", "share", "show"], undefined, void, readonly []>, "metadata"> & {
1610
1611
  metadata?: undefined;
@@ -1622,13 +1623,13 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1622
1623
  readonly type: 'boolean';
1623
1624
  };
1624
1625
  readonly id: {
1625
- readonly type: 'string';
1626
+ readonly type: "string";
1626
1627
  readonly required: true;
1627
1628
  };
1628
1629
  readonly format: {
1629
- readonly type: 'string';
1630
+ readonly type: "string";
1630
1631
  readonly choices: readonly ["json", "table"];
1631
- readonly default: 'table';
1632
+ readonly default: "table";
1632
1633
  };
1633
1634
  }, undefined, string, readonly ["instrument", "asset", "show"], undefined, void, readonly []>, "metadata"> & {
1634
1635
  metadata?: undefined;
@@ -1646,13 +1647,13 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1646
1647
  readonly type: 'boolean';
1647
1648
  };
1648
1649
  readonly id: {
1649
- readonly type: 'string';
1650
+ readonly type: "string";
1650
1651
  readonly required: true;
1651
1652
  };
1652
1653
  readonly format: {
1653
- readonly type: 'string';
1654
+ readonly type: "string";
1654
1655
  readonly choices: readonly ["json", "table"];
1655
- readonly default: 'table';
1656
+ readonly default: "table";
1656
1657
  };
1657
1658
  }, undefined, string, readonly ["instrument", "brand", "show"], undefined, void, readonly []>, "metadata"> & {
1658
1659
  metadata?: undefined;
@@ -1680,9 +1681,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1680
1681
  readonly choices: ("figi" | "position-uid" | "ticker" | "uid")[];
1681
1682
  };
1682
1683
  readonly format: {
1683
- readonly type: 'string';
1684
+ readonly type: "string";
1684
1685
  readonly choices: readonly ["json", "table"];
1685
- readonly default: 'table';
1686
+ readonly default: "table";
1686
1687
  };
1687
1688
  }, undefined, string, readonly ["instrument", "currency", "show"], undefined, void, readonly []>, "metadata"> & {
1688
1689
  metadata?: undefined;
@@ -1710,9 +1711,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1710
1711
  readonly choices: ("figi" | "position-uid" | "ticker" | "uid")[];
1711
1712
  };
1712
1713
  readonly format: {
1713
- readonly type: 'string';
1714
+ readonly type: "string";
1714
1715
  readonly choices: readonly ["json", "table"];
1715
- readonly default: 'table';
1716
+ readonly default: "table";
1716
1717
  };
1717
1718
  }, undefined, string, readonly ["instrument", "show"], undefined, void, readonly []>, "metadata"> & {
1718
1719
  metadata?: undefined;
@@ -1740,9 +1741,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1740
1741
  readonly choices: ("figi" | "position-uid" | "ticker" | "uid")[];
1741
1742
  };
1742
1743
  readonly format: {
1743
- readonly type: 'string';
1744
+ readonly type: "string";
1744
1745
  readonly choices: readonly ["json", "table"];
1745
- readonly default: 'table';
1746
+ readonly default: "table";
1746
1747
  };
1747
1748
  }, undefined, string, readonly ["instrument", "option", "show"], undefined, void, readonly []>, "metadata"> & {
1748
1749
  metadata?: undefined;
@@ -1760,14 +1761,14 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1760
1761
  readonly type: 'boolean';
1761
1762
  };
1762
1763
  readonly 'instrument-type': {
1763
- readonly type: 'string';
1764
+ readonly type: "string";
1764
1765
  readonly choices: ("bond" | "clearing-certificate" | "currency" | "etf" | "futures" | "option" | "share" | "sp" | "unspecified")[];
1765
- readonly default: 'unspecified';
1766
+ readonly default: "unspecified";
1766
1767
  };
1767
1768
  readonly format: {
1768
- readonly type: 'string';
1769
+ readonly type: "string";
1769
1770
  readonly choices: readonly ["json", "table"];
1770
- readonly default: 'table';
1771
+ readonly default: "table";
1771
1772
  };
1772
1773
  }, undefined, string, readonly ["instrument", "asset", "list"], undefined, void, readonly []>, "metadata"> & {
1773
1774
  metadata?: undefined;
@@ -1785,9 +1786,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1785
1786
  readonly type: 'boolean';
1786
1787
  };
1787
1788
  readonly format: {
1788
- readonly type: 'string';
1789
+ readonly type: "string";
1789
1790
  readonly choices: readonly ["json", "table"];
1790
- readonly default: 'table';
1791
+ readonly default: "table";
1791
1792
  };
1792
1793
  }, undefined, string, readonly ["instrument", "favorite", "list"], undefined, void, readonly []>, "metadata"> & {
1793
1794
  metadata?: undefined;
@@ -1814,14 +1815,14 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1814
1815
  readonly type: 'boolean';
1815
1816
  };
1816
1817
  readonly action: {
1817
- readonly type: 'string';
1818
+ readonly type: "string";
1818
1819
  readonly choices: ("add" | "del")[];
1819
1820
  readonly required: true;
1820
1821
  };
1821
1822
  readonly format: {
1822
- readonly type: 'string';
1823
+ readonly type: "string";
1823
1824
  readonly choices: readonly ["json", "table"];
1824
- readonly default: 'table';
1825
+ readonly default: "table";
1825
1826
  };
1826
1827
  }, undefined, string, readonly ["instrument", "favorite", "edit"], undefined, void, readonly []>, "metadata"> & {
1827
1828
  metadata?: undefined;
@@ -1839,22 +1840,22 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1839
1840
  readonly type: 'boolean';
1840
1841
  };
1841
1842
  readonly query: {
1842
- readonly type: 'string';
1843
+ readonly type: "string";
1843
1844
  readonly required: true;
1844
1845
  };
1845
1846
  readonly 'instrument-kind': {
1846
- readonly type: 'string';
1847
+ readonly type: "string";
1847
1848
  readonly choices: ("bond" | "clearing-certificate" | "currency" | "etf" | "futures" | "option" | "share" | "sp" | "unspecified")[];
1848
- readonly default: 'unspecified';
1849
+ readonly default: "unspecified";
1849
1850
  };
1850
1851
  readonly 'api-trade-available': {
1851
- readonly type: 'boolean';
1852
+ readonly type: "boolean";
1852
1853
  readonly default: false;
1853
1854
  };
1854
1855
  readonly format: {
1855
- readonly type: 'string';
1856
+ readonly type: "string";
1856
1857
  readonly choices: readonly ["json", "table"];
1857
- readonly default: 'table';
1858
+ readonly default: "table";
1858
1859
  };
1859
1860
  }, undefined, string, readonly ["instrument", "search"], undefined, void, readonly []>, "metadata"> & {
1860
1861
  metadata?: undefined;
@@ -1878,9 +1879,9 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1878
1879
  readonly type: 'string';
1879
1880
  };
1880
1881
  readonly format: {
1881
- readonly type: 'string';
1882
+ readonly type: "string";
1882
1883
  readonly choices: readonly ["json", "table"];
1883
- readonly default: 'table';
1884
+ readonly default: "table";
1884
1885
  };
1885
1886
  }, undefined, string, readonly ["instrument", "future", "margin"], undefined, void, readonly []>, "metadata"> & {
1886
1887
  metadata?: undefined;
@@ -1898,16 +1899,16 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1898
1899
  readonly type: 'boolean';
1899
1900
  };
1900
1901
  readonly 'basic-asset-uid': {
1901
- readonly type: 'string';
1902
+ readonly type: "string";
1902
1903
  readonly required: true;
1903
1904
  };
1904
1905
  readonly 'basic-asset-position-uid': {
1905
- readonly type: 'string';
1906
+ readonly type: "string";
1906
1907
  };
1907
1908
  readonly format: {
1908
- readonly type: 'string';
1909
+ readonly type: "string";
1909
1910
  readonly choices: readonly ["json", "table"];
1910
- readonly default: 'table';
1911
+ readonly default: "table";
1911
1912
  };
1912
1913
  }, undefined, string, readonly ["instrument", "option", "list"], undefined, void, readonly []>, "metadata"> & {
1913
1914
  metadata?: undefined;
@@ -1931,17 +1932,17 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1931
1932
  readonly type: 'string';
1932
1933
  };
1933
1934
  readonly from: {
1934
- readonly type: 'string';
1935
+ readonly type: "string";
1935
1936
  readonly required: true;
1936
1937
  };
1937
1938
  readonly to: {
1938
- readonly type: 'string';
1939
+ readonly type: "string";
1939
1940
  readonly required: true;
1940
1941
  };
1941
1942
  readonly format: {
1942
- readonly type: 'string';
1943
+ readonly type: "string";
1943
1944
  readonly choices: readonly ["json", "table"];
1944
- readonly default: 'table';
1945
+ readonly default: "table";
1945
1946
  };
1946
1947
  }, undefined, string, readonly ["instrument", "bond", "accrued"], undefined, void, readonly []>, "metadata"> & {
1947
1948
  metadata?: undefined;
@@ -1965,17 +1966,17 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1965
1966
  readonly type: 'string';
1966
1967
  };
1967
1968
  readonly from: {
1968
- readonly type: 'string';
1969
+ readonly type: "string";
1969
1970
  readonly required: true;
1970
1971
  };
1971
1972
  readonly to: {
1972
- readonly type: 'string';
1973
+ readonly type: "string";
1973
1974
  readonly required: true;
1974
1975
  };
1975
1976
  readonly format: {
1976
- readonly type: 'string';
1977
+ readonly type: "string";
1977
1978
  readonly choices: readonly ["json", "table"];
1978
- readonly default: 'table';
1979
+ readonly default: "table";
1979
1980
  };
1980
1981
  }, undefined, string, readonly ["instrument", "bond", "coupons"], undefined, void, readonly []>, "metadata"> & {
1981
1982
  metadata?: undefined;
@@ -1999,17 +2000,17 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
1999
2000
  readonly type: 'string';
2000
2001
  };
2001
2002
  readonly from: {
2002
- readonly type: 'string';
2003
+ readonly type: "string";
2003
2004
  readonly required: true;
2004
2005
  };
2005
2006
  readonly to: {
2006
- readonly type: 'string';
2007
+ readonly type: "string";
2007
2008
  readonly required: true;
2008
2009
  };
2009
2010
  readonly format: {
2010
- readonly type: 'string';
2011
+ readonly type: "string";
2011
2012
  readonly choices: readonly ["json", "table"];
2012
- readonly default: 'table';
2013
+ readonly default: "table";
2013
2014
  };
2014
2015
  }, undefined, string, readonly ["instrument", "dividends"], undefined, void, readonly []>, "metadata"> & {
2015
2016
  metadata?: undefined;
@@ -2027,20 +2028,20 @@ export declare const commandLineCommands: import("icore").Commands<readonly [Wit
2027
2028
  readonly type: 'boolean';
2028
2029
  };
2029
2030
  readonly exchange: {
2030
- readonly type: 'string';
2031
+ readonly type: "string";
2031
2032
  };
2032
2033
  readonly from: {
2033
- readonly type: 'string';
2034
+ readonly type: "string";
2034
2035
  readonly required: true;
2035
2036
  };
2036
2037
  readonly to: {
2037
- readonly type: 'string';
2038
+ readonly type: "string";
2038
2039
  readonly required: true;
2039
2040
  };
2040
2041
  readonly format: {
2041
- readonly type: 'string';
2042
+ readonly type: "string";
2042
2043
  readonly choices: readonly ["json", "table"];
2043
- readonly default: 'table';
2044
+ readonly default: "table";
2044
2045
  };
2045
2046
  }, undefined, string, readonly ["instrument", "schedules"], undefined, void, readonly []>, "metadata"> & {
2046
2047
  metadata?: undefined;