@infosel-sdk/markets 1.2.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 (348) hide show
  1. package/CHANGELOG.md +90 -0
  2. package/README.md +996 -0
  3. package/package.json +52 -0
  4. package/src/__tests__/__mocks__/apis/charts-api.mock.d.ts +106 -0
  5. package/src/__tests__/__mocks__/apis/charts-api.mock.js +110 -0
  6. package/src/__tests__/__mocks__/apis/charts-api.mock.js.map +1 -0
  7. package/src/__tests__/__mocks__/apis/markets-api.mock.d.ts +148 -0
  8. package/src/__tests__/__mocks__/apis/markets-api.mock.js +121 -0
  9. package/src/__tests__/__mocks__/apis/markets-api.mock.js.map +1 -0
  10. package/src/__tests__/__mocks__/core/auth-provider.mock.d.ts +35 -0
  11. package/src/__tests__/__mocks__/core/auth-provider.mock.js +28 -0
  12. package/src/__tests__/__mocks__/core/auth-provider.mock.js.map +1 -0
  13. package/src/__tests__/__mocks__/core/graphql-client.mock.d.ts +36 -0
  14. package/src/__tests__/__mocks__/core/graphql-client.mock.js +60 -0
  15. package/src/__tests__/__mocks__/core/graphql-client.mock.js.map +1 -0
  16. package/src/__tests__/__mocks__/core/http-client.mock.d.ts +43 -0
  17. package/src/__tests__/__mocks__/core/http-client.mock.js +40 -0
  18. package/src/__tests__/__mocks__/core/http-client.mock.js.map +1 -0
  19. package/src/__tests__/__mocks__/core/sdk-manager.mock.d.ts +64 -0
  20. package/src/__tests__/__mocks__/core/sdk-manager.mock.js +46 -0
  21. package/src/__tests__/__mocks__/core/sdk-manager.mock.js.map +1 -0
  22. package/src/__tests__/__mocks__/core/storage.mock.d.ts +32 -0
  23. package/src/__tests__/__mocks__/core/storage.mock.js +35 -0
  24. package/src/__tests__/__mocks__/core/storage.mock.js.map +1 -0
  25. package/src/__tests__/__mocks__/index.d.ts +9 -0
  26. package/src/__tests__/__mocks__/index.js +16 -0
  27. package/src/__tests__/__mocks__/index.js.map +1 -0
  28. package/src/__tests__/e2e/config/auth.config.d.ts +44 -0
  29. package/src/__tests__/e2e/config/auth.config.js +217 -0
  30. package/src/__tests__/e2e/config/auth.config.js.map +1 -0
  31. package/src/__tests__/e2e/config/environment.config.d.ts +29 -0
  32. package/src/__tests__/e2e/config/environment.config.js +74 -0
  33. package/src/__tests__/e2e/config/environment.config.js.map +1 -0
  34. package/src/__tests__/e2e/fixtures/test-scenarios.d.ts +176 -0
  35. package/src/__tests__/e2e/fixtures/test-scenarios.js +181 -0
  36. package/src/__tests__/e2e/fixtures/test-scenarios.js.map +1 -0
  37. package/src/__tests__/e2e/helpers/assertion.helper.d.ts +68 -0
  38. package/src/__tests__/e2e/helpers/assertion.helper.js +181 -0
  39. package/src/__tests__/e2e/helpers/assertion.helper.js.map +1 -0
  40. package/src/__tests__/e2e/helpers/auth.helper.d.ts +56 -0
  41. package/src/__tests__/e2e/helpers/auth.helper.js +188 -0
  42. package/src/__tests__/e2e/helpers/auth.helper.js.map +1 -0
  43. package/src/__tests__/e2e/helpers/performance.helper.d.ts +85 -0
  44. package/src/__tests__/e2e/helpers/performance.helper.js +203 -0
  45. package/src/__tests__/e2e/helpers/performance.helper.js.map +1 -0
  46. package/src/__tests__/e2e/setup/global-setup.e2e.d.ts +5 -0
  47. package/src/__tests__/e2e/setup/global-setup.e2e.js +80 -0
  48. package/src/__tests__/e2e/setup/global-setup.e2e.js.map +1 -0
  49. package/src/__tests__/e2e/setup/global-teardown.e2e.d.ts +5 -0
  50. package/src/__tests__/e2e/setup/global-teardown.e2e.js +61 -0
  51. package/src/__tests__/e2e/setup/global-teardown.e2e.js.map +1 -0
  52. package/src/__tests__/e2e/setup/jest.e2e.config.d.ts +7 -0
  53. package/src/__tests__/e2e/setup/jest.e2e.config.js +58 -0
  54. package/src/__tests__/e2e/setup/jest.e2e.config.js.map +1 -0
  55. package/src/__tests__/e2e/setup/setup.e2e.d.ts +8 -0
  56. package/src/__tests__/e2e/setup/setup.e2e.js +61 -0
  57. package/src/__tests__/e2e/setup/setup.e2e.js.map +1 -0
  58. package/src/__tests__/setup.d.ts +16 -0
  59. package/src/__tests__/setup.js +34 -0
  60. package/src/__tests__/setup.js.map +1 -0
  61. package/src/__tests__/utils/mock-datasource.d.ts +5 -0
  62. package/src/__tests__/utils/mock-datasource.js +39 -0
  63. package/src/__tests__/utils/mock-datasource.js.map +1 -0
  64. package/src/__tests__/utils/mock-factories.d.ts +547 -0
  65. package/src/__tests__/utils/mock-factories.js +226 -0
  66. package/src/__tests__/utils/mock-factories.js.map +1 -0
  67. package/src/__tests__/utils/mock-repository.d.ts +21 -0
  68. package/src/__tests__/utils/mock-repository.js +75 -0
  69. package/src/__tests__/utils/mock-repository.js.map +1 -0
  70. package/src/__tests__/utils/test-helpers.d.ts +43 -0
  71. package/src/__tests__/utils/test-helpers.js +129 -0
  72. package/src/__tests__/utils/test-helpers.js.map +1 -0
  73. package/src/data/datasources/charts_datasource_impl.d.ts +11 -0
  74. package/src/data/datasources/charts_datasource_impl.js +52 -0
  75. package/src/data/datasources/charts_datasource_impl.js.map +1 -0
  76. package/src/data/datasources/markets_datasource_impl.d.ts +57 -0
  77. package/src/data/datasources/markets_datasource_impl.js +704 -0
  78. package/src/data/datasources/markets_datasource_impl.js.map +1 -0
  79. package/src/data/di/infosel_charts_module.d.ts +18 -0
  80. package/src/data/di/infosel_charts_module.js +34 -0
  81. package/src/data/di/infosel_charts_module.js.map +1 -0
  82. package/src/data/di/infosel_markets_component.d.ts +71 -0
  83. package/src/data/di/infosel_markets_component.js +196 -0
  84. package/src/data/di/infosel_markets_component.js.map +1 -0
  85. package/src/data/di/infosel_markets_module.d.ts +21 -0
  86. package/src/data/di/infosel_markets_module.js +40 -0
  87. package/src/data/di/infosel_markets_module.js.map +1 -0
  88. package/src/data/mappers/markets_mapper.d.ts +52 -0
  89. package/src/data/mappers/markets_mapper.js +195 -0
  90. package/src/data/mappers/markets_mapper.js.map +1 -0
  91. package/src/data/models/chart_item_model.d.ts +8 -0
  92. package/src/data/models/chart_item_model.js +3 -0
  93. package/src/data/models/chart_item_model.js.map +1 -0
  94. package/src/data/models/delete_workspace_response_model.d.ts +5 -0
  95. package/src/data/models/delete_workspace_response_model.js +3 -0
  96. package/src/data/models/delete_workspace_response_model.js.map +1 -0
  97. package/src/data/models/get_user_workspaces_response_model.d.ts +13 -0
  98. package/src/data/models/get_user_workspaces_response_model.js +3 -0
  99. package/src/data/models/get_user_workspaces_response_model.js.map +1 -0
  100. package/src/data/models/instrument_detail_financial_model.d.ts +8 -0
  101. package/src/data/models/instrument_detail_financial_model.js +3 -0
  102. package/src/data/models/instrument_detail_financial_model.js.map +1 -0
  103. package/src/data/models/instrument_detail_financial_reasons_model.d.ts +40 -0
  104. package/src/data/models/instrument_detail_financial_reasons_model.js +3 -0
  105. package/src/data/models/instrument_detail_financial_reasons_model.js.map +1 -0
  106. package/src/data/models/instrument_detail_profile_model.d.ts +25 -0
  107. package/src/data/models/instrument_detail_profile_model.js +3 -0
  108. package/src/data/models/instrument_detail_profile_model.js.map +1 -0
  109. package/src/data/models/instrument_fields_model.d.ts +67 -0
  110. package/src/data/models/instrument_fields_model.js +3 -0
  111. package/src/data/models/instrument_fields_model.js.map +1 -0
  112. package/src/data/models/instrument_model.d.ts +5 -0
  113. package/src/data/models/instrument_model.js +3 -0
  114. package/src/data/models/instrument_model.js.map +1 -0
  115. package/src/data/models/instrument_report_financial_reasons_model.d.ts +21 -0
  116. package/src/data/models/instrument_report_financial_reasons_model.js +3 -0
  117. package/src/data/models/instrument_report_financial_reasons_model.js.map +1 -0
  118. package/src/data/models/project_model.d.ts +12 -0
  119. package/src/data/models/project_model.js +3 -0
  120. package/src/data/models/project_model.js.map +1 -0
  121. package/src/data/models/project_widgets_response_model.d.ts +8 -0
  122. package/src/data/models/project_widgets_response_model.js +3 -0
  123. package/src/data/models/project_widgets_response_model.js.map +1 -0
  124. package/src/data/models/user_model.d.ts +7 -0
  125. package/src/data/models/user_model.js +3 -0
  126. package/src/data/models/user_model.js.map +1 -0
  127. package/src/data/models/widget_layout_model.d.ts +6 -0
  128. package/src/data/models/widget_layout_model.js +3 -0
  129. package/src/data/models/widget_layout_model.js.map +1 -0
  130. package/src/data/models/widget_model.d.ts +15 -0
  131. package/src/data/models/widget_model.js +3 -0
  132. package/src/data/models/widget_model.js.map +1 -0
  133. package/src/data/models/widget_size_model.d.ts +9 -0
  134. package/src/data/models/widget_size_model.js +3 -0
  135. package/src/data/models/widget_size_model.js.map +1 -0
  136. package/src/data/models/widget_table_column_format_model.d.ts +6 -0
  137. package/src/data/models/widget_table_column_format_model.js +3 -0
  138. package/src/data/models/widget_table_column_format_model.js.map +1 -0
  139. package/src/data/models/widget_table_column_model.d.ts +8 -0
  140. package/src/data/models/widget_table_column_model.js +3 -0
  141. package/src/data/models/widget_table_column_model.js.map +1 -0
  142. package/src/data/models/widget_ticker_configuration.d.ts +7 -0
  143. package/src/data/models/widget_ticker_configuration.js +3 -0
  144. package/src/data/models/widget_ticker_configuration.js.map +1 -0
  145. package/src/data/models/workspace_model.d.ts +6 -0
  146. package/src/data/models/workspace_model.js +3 -0
  147. package/src/data/models/workspace_model.js.map +1 -0
  148. package/src/data/repositories/charts_repository_impl.d.ts +9 -0
  149. package/src/data/repositories/charts_repository_impl.js +22 -0
  150. package/src/data/repositories/charts_repository_impl.js.map +1 -0
  151. package/src/data/repositories/markets_repository_impl.d.ts +50 -0
  152. package/src/data/repositories/markets_repository_impl.js +69 -0
  153. package/src/data/repositories/markets_repository_impl.js.map +1 -0
  154. package/src/domain/datasources/charts_datasource.d.ts +6 -0
  155. package/src/domain/datasources/charts_datasource.js +3 -0
  156. package/src/domain/datasources/charts_datasource.js.map +1 -0
  157. package/src/domain/datasources/markets_datasource.d.ts +45 -0
  158. package/src/domain/datasources/markets_datasource.js +3 -0
  159. package/src/domain/datasources/markets_datasource.js.map +1 -0
  160. package/src/domain/di/charts_module.d.ts +8 -0
  161. package/src/domain/di/charts_module.js +3 -0
  162. package/src/domain/di/charts_module.js.map +1 -0
  163. package/src/domain/di/markets_component.d.ts +34 -0
  164. package/src/domain/di/markets_component.js +3 -0
  165. package/src/domain/di/markets_component.js.map +1 -0
  166. package/src/domain/di/markets_module.d.ts +9 -0
  167. package/src/domain/di/markets_module.js +3 -0
  168. package/src/domain/di/markets_module.js.map +1 -0
  169. package/src/domain/entities/chart_item.d.ts +8 -0
  170. package/src/domain/entities/chart_item.js +3 -0
  171. package/src/domain/entities/chart_item.js.map +1 -0
  172. package/src/domain/entities/chart_period.d.ts +6 -0
  173. package/src/domain/entities/chart_period.js +3 -0
  174. package/src/domain/entities/chart_period.js.map +1 -0
  175. package/src/domain/entities/chart_request.d.ts +5 -0
  176. package/src/domain/entities/chart_request.js +3 -0
  177. package/src/domain/entities/chart_request.js.map +1 -0
  178. package/src/domain/entities/create_instrument_request.d.ts +5 -0
  179. package/src/domain/entities/create_instrument_request.js +3 -0
  180. package/src/domain/entities/create_instrument_request.js.map +1 -0
  181. package/src/domain/entities/create_widget_request.d.ts +10 -0
  182. package/src/domain/entities/create_widget_request.js +3 -0
  183. package/src/domain/entities/create_widget_request.js.map +1 -0
  184. package/src/domain/entities/create_workspace_request.d.ts +5 -0
  185. package/src/domain/entities/create_workspace_request.js +3 -0
  186. package/src/domain/entities/create_workspace_request.js.map +1 -0
  187. package/src/domain/entities/delete_workspace_request.d.ts +3 -0
  188. package/src/domain/entities/delete_workspace_request.js +3 -0
  189. package/src/domain/entities/delete_workspace_request.js.map +1 -0
  190. package/src/domain/entities/get_instruments_request.d.ts +12 -0
  191. package/src/domain/entities/get_instruments_request.js +3 -0
  192. package/src/domain/entities/get_instruments_request.js.map +1 -0
  193. package/src/domain/entities/get_project_widgets_request.d.ts +12 -0
  194. package/src/domain/entities/get_project_widgets_request.js +3 -0
  195. package/src/domain/entities/get_project_widgets_request.js.map +1 -0
  196. package/src/domain/entities/get_user_workspaces_request.d.ts +4 -0
  197. package/src/domain/entities/get_user_workspaces_request.js +3 -0
  198. package/src/domain/entities/get_user_workspaces_request.js.map +1 -0
  199. package/src/domain/entities/get_workspace_request.d.ts +3 -0
  200. package/src/domain/entities/get_workspace_request.js +3 -0
  201. package/src/domain/entities/get_workspace_request.js.map +1 -0
  202. package/src/domain/entities/get_workspaces_by_user_request.d.ts +12 -0
  203. package/src/domain/entities/get_workspaces_by_user_request.js +3 -0
  204. package/src/domain/entities/get_workspaces_by_user_request.js.map +1 -0
  205. package/src/domain/entities/get_workspaces_request.d.ts +12 -0
  206. package/src/domain/entities/get_workspaces_request.js +3 -0
  207. package/src/domain/entities/get_workspaces_request.js.map +1 -0
  208. package/src/domain/entities/index.d.ts +28 -0
  209. package/src/domain/entities/index.js +32 -0
  210. package/src/domain/entities/index.js.map +1 -0
  211. package/src/domain/entities/instrument.d.ts +4 -0
  212. package/src/domain/entities/instrument.js +3 -0
  213. package/src/domain/entities/instrument.js.map +1 -0
  214. package/src/domain/entities/instrument_detail_financial.d.ts +8 -0
  215. package/src/domain/entities/instrument_detail_financial.js +3 -0
  216. package/src/domain/entities/instrument_detail_financial.js.map +1 -0
  217. package/src/domain/entities/instrument_detail_financial_annual_request.d.ts +5 -0
  218. package/src/domain/entities/instrument_detail_financial_annual_request.js +3 -0
  219. package/src/domain/entities/instrument_detail_financial_annual_request.js.map +1 -0
  220. package/src/domain/entities/instrument_detail_financial_quarterly_request.d.ts +5 -0
  221. package/src/domain/entities/instrument_detail_financial_quarterly_request.js +3 -0
  222. package/src/domain/entities/instrument_detail_financial_quarterly_request.js.map +1 -0
  223. package/src/domain/entities/instrument_detail_financial_reasons.d.ts +40 -0
  224. package/src/domain/entities/instrument_detail_financial_reasons.js +3 -0
  225. package/src/domain/entities/instrument_detail_financial_reasons.js.map +1 -0
  226. package/src/domain/entities/instrument_detail_financial_reasons_request.d.ts +5 -0
  227. package/src/domain/entities/instrument_detail_financial_reasons_request.js +3 -0
  228. package/src/domain/entities/instrument_detail_financial_reasons_request.js.map +1 -0
  229. package/src/domain/entities/instrument_detail_profile.d.ts +25 -0
  230. package/src/domain/entities/instrument_detail_profile.js +3 -0
  231. package/src/domain/entities/instrument_detail_profile.js.map +1 -0
  232. package/src/domain/entities/instrument_detail_profile_request.d.ts +3 -0
  233. package/src/domain/entities/instrument_detail_profile_request.js +3 -0
  234. package/src/domain/entities/instrument_detail_profile_request.js.map +1 -0
  235. package/src/domain/entities/instrument_fields.d.ts +69 -0
  236. package/src/domain/entities/instrument_fields.js +3 -0
  237. package/src/domain/entities/instrument_fields.js.map +1 -0
  238. package/src/domain/entities/instrument_report_financial_reasons.d.ts +21 -0
  239. package/src/domain/entities/instrument_report_financial_reasons.js +3 -0
  240. package/src/domain/entities/instrument_report_financial_reasons.js.map +1 -0
  241. package/src/domain/entities/instrument_report_financial_reasons_request.d.ts +4 -0
  242. package/src/domain/entities/instrument_report_financial_reasons_request.js +3 -0
  243. package/src/domain/entities/instrument_report_financial_reasons_request.js.map +1 -0
  244. package/src/domain/entities/instruments_response.d.ts +6 -0
  245. package/src/domain/entities/instruments_response.js +3 -0
  246. package/src/domain/entities/instruments_response.js.map +1 -0
  247. package/src/domain/entities/period_type.d.ts +1 -0
  248. package/src/domain/entities/period_type.js +3 -0
  249. package/src/domain/entities/period_type.js.map +1 -0
  250. package/src/domain/entities/project_widgets_container.d.ts +12 -0
  251. package/src/domain/entities/project_widgets_container.js +3 -0
  252. package/src/domain/entities/project_widgets_container.js.map +1 -0
  253. package/src/domain/entities/search_instruments_request.d.ts +7 -0
  254. package/src/domain/entities/search_instruments_request.js +3 -0
  255. package/src/domain/entities/search_instruments_request.js.map +1 -0
  256. package/src/domain/entities/search_result_item.d.ts +5 -0
  257. package/src/domain/entities/search_result_item.js +3 -0
  258. package/src/domain/entities/search_result_item.js.map +1 -0
  259. package/src/domain/entities/update_widget_instruments_reques.d.ts +11 -0
  260. package/src/domain/entities/update_widget_instruments_reques.js +3 -0
  261. package/src/domain/entities/update_widget_instruments_reques.js.map +1 -0
  262. package/src/domain/entities/user_workspaces.d.ts +8 -0
  263. package/src/domain/entities/user_workspaces.js +3 -0
  264. package/src/domain/entities/user_workspaces.js.map +1 -0
  265. package/src/domain/entities/widget.d.ts +46 -0
  266. package/src/domain/entities/widget.js +3 -0
  267. package/src/domain/entities/widget.js.map +1 -0
  268. package/src/domain/entities/workspace.d.ts +4 -0
  269. package/src/domain/entities/workspace.js +3 -0
  270. package/src/domain/entities/workspace.js.map +1 -0
  271. package/src/domain/entities/workspace_widgets.d.ts +6 -0
  272. package/src/domain/entities/workspace_widgets.js +3 -0
  273. package/src/domain/entities/workspace_widgets.js.map +1 -0
  274. package/src/domain/entities/workspaces_container.d.ts +18 -0
  275. package/src/domain/entities/workspaces_container.js +3 -0
  276. package/src/domain/entities/workspaces_container.js.map +1 -0
  277. package/src/domain/repositories/charts_repository.d.ts +5 -0
  278. package/src/domain/repositories/charts_repository.js +3 -0
  279. package/src/domain/repositories/charts_repository.js.map +1 -0
  280. package/src/domain/repositories/markets_repository.d.ts +41 -0
  281. package/src/domain/repositories/markets_repository.js +3 -0
  282. package/src/domain/repositories/markets_repository.js.map +1 -0
  283. package/src/domain/use_cases/create_instrument_use_case.d.ts +9 -0
  284. package/src/domain/use_cases/create_instrument_use_case.js +22 -0
  285. package/src/domain/use_cases/create_instrument_use_case.js.map +1 -0
  286. package/src/domain/use_cases/create_widget_use_case.d.ts +9 -0
  287. package/src/domain/use_cases/create_widget_use_case.js +22 -0
  288. package/src/domain/use_cases/create_widget_use_case.js.map +1 -0
  289. package/src/domain/use_cases/create_workspace_use_case.d.ts +9 -0
  290. package/src/domain/use_cases/create_workspace_use_case.js +22 -0
  291. package/src/domain/use_cases/create_workspace_use_case.js.map +1 -0
  292. package/src/domain/use_cases/delete_instrument_use_case.d.ts +7 -0
  293. package/src/domain/use_cases/delete_instrument_use_case.js +19 -0
  294. package/src/domain/use_cases/delete_instrument_use_case.js.map +1 -0
  295. package/src/domain/use_cases/delete_widget_use_case.d.ts +7 -0
  296. package/src/domain/use_cases/delete_widget_use_case.js +19 -0
  297. package/src/domain/use_cases/delete_widget_use_case.js.map +1 -0
  298. package/src/domain/use_cases/delete_workspace_use_case.d.ts +8 -0
  299. package/src/domain/use_cases/delete_workspace_use_case.js +22 -0
  300. package/src/domain/use_cases/delete_workspace_use_case.js.map +1 -0
  301. package/src/domain/use_cases/get_chart_data_use_case.d.ts +9 -0
  302. package/src/domain/use_cases/get_chart_data_use_case.js +16 -0
  303. package/src/domain/use_cases/get_chart_data_use_case.js.map +1 -0
  304. package/src/domain/use_cases/get_instrument_detail_financial_annual_use_case.d.ts +8 -0
  305. package/src/domain/use_cases/get_instrument_detail_financial_annual_use_case.js +16 -0
  306. package/src/domain/use_cases/get_instrument_detail_financial_annual_use_case.js.map +1 -0
  307. package/src/domain/use_cases/get_instrument_detail_financial_quartely_use_case.d.ts +8 -0
  308. package/src/domain/use_cases/get_instrument_detail_financial_quartely_use_case.js +16 -0
  309. package/src/domain/use_cases/get_instrument_detail_financial_quartely_use_case.js.map +1 -0
  310. package/src/domain/use_cases/get_instrument_detail_financial_reasons_use_case.d.ts +8 -0
  311. package/src/domain/use_cases/get_instrument_detail_financial_reasons_use_case.js +16 -0
  312. package/src/domain/use_cases/get_instrument_detail_financial_reasons_use_case.js.map +1 -0
  313. package/src/domain/use_cases/get_instrument_detail_profile_use_case.d.ts +8 -0
  314. package/src/domain/use_cases/get_instrument_detail_profile_use_case.js +16 -0
  315. package/src/domain/use_cases/get_instrument_detail_profile_use_case.js.map +1 -0
  316. package/src/domain/use_cases/get_instrument_fields_use_case.d.ts +8 -0
  317. package/src/domain/use_cases/get_instrument_fields_use_case.js +19 -0
  318. package/src/domain/use_cases/get_instrument_fields_use_case.js.map +1 -0
  319. package/src/domain/use_cases/get_instrument_report_financial_reasons.d.ts +9 -0
  320. package/src/domain/use_cases/get_instrument_report_financial_reasons.js +16 -0
  321. package/src/domain/use_cases/get_instrument_report_financial_reasons.js.map +1 -0
  322. package/src/domain/use_cases/get_instruments_use_case.d.ts +9 -0
  323. package/src/domain/use_cases/get_instruments_use_case.js +16 -0
  324. package/src/domain/use_cases/get_instruments_use_case.js.map +1 -0
  325. package/src/domain/use_cases/get_project_widgets_use_case.d.ts +9 -0
  326. package/src/domain/use_cases/get_project_widgets_use_case.js +19 -0
  327. package/src/domain/use_cases/get_project_widgets_use_case.js.map +1 -0
  328. package/src/domain/use_cases/get_user_workspace_use_case.d.ts +9 -0
  329. package/src/domain/use_cases/get_user_workspace_use_case.js +22 -0
  330. package/src/domain/use_cases/get_user_workspace_use_case.js.map +1 -0
  331. package/src/domain/use_cases/get_workspace_use_case.d.ts +9 -0
  332. package/src/domain/use_cases/get_workspace_use_case.js +19 -0
  333. package/src/domain/use_cases/get_workspace_use_case.js.map +1 -0
  334. package/src/domain/use_cases/get_workspaces_by_user_use_case.d.ts +9 -0
  335. package/src/domain/use_cases/get_workspaces_by_user_use_case.js +19 -0
  336. package/src/domain/use_cases/get_workspaces_by_user_use_case.js.map +1 -0
  337. package/src/domain/use_cases/get_workspaces_use_case.d.ts +9 -0
  338. package/src/domain/use_cases/get_workspaces_use_case.js +19 -0
  339. package/src/domain/use_cases/get_workspaces_use_case.js.map +1 -0
  340. package/src/domain/use_cases/search_instruments_use_case.d.ts +9 -0
  341. package/src/domain/use_cases/search_instruments_use_case.js +25 -0
  342. package/src/domain/use_cases/search_instruments_use_case.js.map +1 -0
  343. package/src/domain/use_cases/update_widget_instruments_use_case.d.ts +9 -0
  344. package/src/domain/use_cases/update_widget_instruments_use_case.js +22 -0
  345. package/src/domain/use_cases/update_widget_instruments_use_case.js.map +1 -0
  346. package/src/index.d.ts +8 -0
  347. package/src/index.js +12 -0
  348. package/src/index.js.map +1 -0
@@ -0,0 +1,12 @@
1
+ export interface GetWorkspacesRequest {
2
+ readonly projectId: string;
3
+ readonly params?: {
4
+ readonly instruments: {
5
+ readonly options: {
6
+ readonly sort: object;
7
+ readonly offset: number;
8
+ readonly limit: number;
9
+ };
10
+ };
11
+ };
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=get_workspaces_request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get_workspaces_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/get_workspaces_request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,28 @@
1
+ export * from './chart_item';
2
+ export * from './chart_period';
3
+ export * from './chart_request';
4
+ export * from './delete_workspace_request';
5
+ export * from './get_instruments_request';
6
+ export * from './get_user_workspaces_request';
7
+ export * from './get_workspaces_request';
8
+ export * from './instrument';
9
+ export * from './instrument_fields';
10
+ export * from './instruments_response';
11
+ export * from './period_type';
12
+ export * from './user_workspaces';
13
+ export * from './widget';
14
+ export * from './workspace';
15
+ export * from './workspaces_container';
16
+ export * from './instrument_detail_financial_annual_request';
17
+ export * from './instrument_detail_profile_request';
18
+ export * from './instrument_detail_financial_quarterly_request';
19
+ export * from './instrument_detail_financial_reasons_request';
20
+ export * from './instrument_detail_financial_reasons';
21
+ export * from './instrument_detail_financial';
22
+ export * from './instrument_detail_profile';
23
+ export * from './instrument_report_financial_reasons';
24
+ export * from './instrument_report_financial_reasons_request';
25
+ export * from './search_result_item';
26
+ export * from './get_workspaces_by_user_request';
27
+ export * from './get_workspace_request';
28
+ export * from './workspace_widgets';
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./chart_item"), exports);
5
+ tslib_1.__exportStar(require("./chart_period"), exports);
6
+ tslib_1.__exportStar(require("./chart_request"), exports);
7
+ tslib_1.__exportStar(require("./delete_workspace_request"), exports);
8
+ tslib_1.__exportStar(require("./get_instruments_request"), exports);
9
+ tslib_1.__exportStar(require("./get_user_workspaces_request"), exports);
10
+ tslib_1.__exportStar(require("./get_workspaces_request"), exports);
11
+ tslib_1.__exportStar(require("./instrument"), exports);
12
+ tslib_1.__exportStar(require("./instrument_fields"), exports);
13
+ tslib_1.__exportStar(require("./instruments_response"), exports);
14
+ tslib_1.__exportStar(require("./period_type"), exports);
15
+ tslib_1.__exportStar(require("./user_workspaces"), exports);
16
+ tslib_1.__exportStar(require("./widget"), exports);
17
+ tslib_1.__exportStar(require("./workspace"), exports);
18
+ tslib_1.__exportStar(require("./workspaces_container"), exports);
19
+ tslib_1.__exportStar(require("./instrument_detail_financial_annual_request"), exports);
20
+ tslib_1.__exportStar(require("./instrument_detail_profile_request"), exports);
21
+ tslib_1.__exportStar(require("./instrument_detail_financial_quarterly_request"), exports);
22
+ tslib_1.__exportStar(require("./instrument_detail_financial_reasons_request"), exports);
23
+ tslib_1.__exportStar(require("./instrument_detail_financial_reasons"), exports);
24
+ tslib_1.__exportStar(require("./instrument_detail_financial"), exports);
25
+ tslib_1.__exportStar(require("./instrument_detail_profile"), exports);
26
+ tslib_1.__exportStar(require("./instrument_report_financial_reasons"), exports);
27
+ tslib_1.__exportStar(require("./instrument_report_financial_reasons_request"), exports);
28
+ tslib_1.__exportStar(require("./search_result_item"), exports);
29
+ tslib_1.__exportStar(require("./get_workspaces_by_user_request"), exports);
30
+ tslib_1.__exportStar(require("./get_workspace_request"), exports);
31
+ tslib_1.__exportStar(require("./workspace_widgets"), exports);
32
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/index.ts"],"names":[],"mappings":";;;AAAA,uDAA6B;AAC7B,yDAA+B;AAC/B,0DAAgC;AAChC,qEAA2C;AAC3C,oEAA0C;AAC1C,wEAA8C;AAC9C,mEAAyC;AACzC,uDAA6B;AAC7B,8DAAoC;AACpC,iEAAuC;AACvC,wDAA8B;AAC9B,4DAAkC;AAClC,mDAAyB;AACzB,sDAA4B;AAC5B,iEAAuC;AACvC,uFAA6D;AAC7D,8EAAoD;AACpD,0FAAgE;AAChE,wFAA8D;AAC9D,gFAAsD;AACtD,wEAA8C;AAC9C,sEAA4C;AAC5C,gFAAsD;AACtD,wFAA8D;AAC9D,+DAAqC;AACrC,2EAAiD;AACjD,kEAAwC;AACxC,8DAAoC"}
@@ -0,0 +1,4 @@
1
+ export interface Instrument {
2
+ readonly instrumentKey: string;
3
+ readonly symbol: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=instrument.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instrument.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/instrument.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ export interface InstrumentDetailFinancial {
2
+ readonly rubroID: number;
3
+ readonly tipoReporte: number;
4
+ readonly descripcion: string;
5
+ readonly separador: boolean;
6
+ readonly expresado: string;
7
+ readonly [key: string]: any;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=instrument_detail_financial.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instrument_detail_financial.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/instrument_detail_financial.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export interface InstrumentDetailFinancialAnnualRequest {
2
+ readonly instrumentKey: string;
3
+ readonly exercise: string;
4
+ readonly fields?: string;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=instrument_detail_financial_annual_request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instrument_detail_financial_annual_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/instrument_detail_financial_annual_request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export interface InstrumentDetailFinancialQuarterlyRequest {
2
+ readonly instrumentKey: string;
3
+ readonly exercise: string;
4
+ readonly period: number;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=instrument_detail_financial_quarterly_request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instrument_detail_financial_quarterly_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/instrument_detail_financial_quarterly_request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,40 @@
1
+ export interface InstrumentDetailFinancialReasons {
2
+ readonly ejercicio: number;
3
+ readonly periodo: number;
4
+ readonly activoTotal: number;
5
+ readonly activoCirculante: number;
6
+ readonly pasivoTotal: number;
7
+ readonly pasivoCirculante: number;
8
+ readonly capitalContableCons: number;
9
+ readonly ventasAcumUltimoTri: number;
10
+ readonly utilidadOpVentasAcumUltimoTri: number;
11
+ readonly utilidadNetaEjercicio: number;
12
+ readonly actCirPasCir: string;
13
+ readonly actCirInvPasCir: string;
14
+ readonly actCirPasTot: string;
15
+ readonly actDisPasCir: string;
16
+ readonly pasTotActTot: string;
17
+ readonly pasTotCapCon: string;
18
+ readonly pasMEPasTot: string;
19
+ readonly pasLPActFij: string;
20
+ readonly intPagResOp: string;
21
+ readonly venNetPasTot: string;
22
+ readonly margenUtilidad: number;
23
+ readonly rendimientoActivo: number;
24
+ readonly venNetActTot: string;
25
+ readonly venNetActFij: string;
26
+ readonly rotacioninventarios: number;
27
+ readonly diasVentaPC: number;
28
+ readonly intPagPasTotCosto: number;
29
+ readonly resNetVenNet: string;
30
+ readonly resNetCapCon: string;
31
+ readonly resNetActTot: string;
32
+ readonly divEfeResNet: number;
33
+ readonly resPosMonResNet: string;
34
+ readonly fluResVenNet: number;
35
+ readonly fluCamCapVenNet: number;
36
+ readonly intPagRecGen: number;
37
+ readonly finAjenoRecGen: number;
38
+ readonly finProRecGen: number;
39
+ readonly adPyERecGen: number;
40
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=instrument_detail_financial_reasons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instrument_detail_financial_reasons.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/instrument_detail_financial_reasons.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ export interface InstrumentDetailFinancialReasonsRequest {
2
+ readonly instrumentKey: string;
3
+ readonly exercise: string;
4
+ readonly period: string;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=instrument_detail_financial_reasons_request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instrument_detail_financial_reasons_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/instrument_detail_financial_reasons_request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,25 @@
1
+ export interface InstrumentDetailProfile {
2
+ readonly emisora: string;
3
+ readonly razonSocial: string;
4
+ readonly descripcion: string;
5
+ readonly tipoEmpresa: string;
6
+ readonly sector: string;
7
+ readonly subSector: string;
8
+ readonly ramo: string;
9
+ readonly subRamo: string;
10
+ readonly accionesCirculacion: number;
11
+ readonly volumenOperado: string;
12
+ readonly fechaFundacion: string;
13
+ readonly ebitda: string;
14
+ readonly datosContacto: string;
15
+ readonly fundadores: string;
16
+ readonly filiales: string;
17
+ readonly directivos: string;
18
+ readonly empleados: number;
19
+ readonly ubicacion: string;
20
+ readonly direccion: string;
21
+ readonly sitioWeb: string;
22
+ readonly directorGeneral: string;
23
+ readonly directorFinanciero: string;
24
+ readonly email: string;
25
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=instrument_detail_profile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instrument_detail_profile.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/instrument_detail_profile.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export interface InstrumentDetailProfileRequest {
2
+ readonly instrumentKey: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=instrument_detail_profile_request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instrument_detail_profile_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/instrument_detail_profile_request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,69 @@
1
+ export interface InstrumentFields {
2
+ readonly instrumento: string;
3
+ readonly descripcionInstrumento: string;
4
+ readonly emisora: string;
5
+ readonly serie: string;
6
+ readonly isin: string;
7
+ readonly fechaPrecioActual: string;
8
+ readonly precioActual: number;
9
+ readonly precioAnterior: number;
10
+ readonly precioApertura: number;
11
+ readonly porcentaje: number;
12
+ readonly variacion: number;
13
+ readonly volumenHecho: number;
14
+ readonly volumenTotal: number;
15
+ readonly importeTotal: number;
16
+ readonly precioMaximoDia: number;
17
+ readonly precioMinimoDia: number;
18
+ readonly precioMaximo: number;
19
+ readonly precioMinimo: number;
20
+ readonly pppOficial: string;
21
+ readonly rendimientoSemanal: number;
22
+ readonly rendimientoMensual: number;
23
+ readonly rendimientoAnual: number;
24
+ readonly rendimientoAlAnio: number;
25
+ readonly posturaHora: string;
26
+ readonly posturaFecha: string;
27
+ readonly posturaPrecioCompra: number;
28
+ readonly posturaVolumenCompra: number;
29
+ readonly posturaPrecioVenta: number;
30
+ readonly posturaVolumenVenta: number;
31
+ readonly volumenMaximo52s: number;
32
+ readonly volumenMinimo52s: number;
33
+ readonly volumenPromedio3a: number;
34
+ readonly volumenPromedio3m: number;
35
+ readonly precioPromedio: number;
36
+ readonly operacion: string;
37
+ readonly numeroOperaciones: number;
38
+ readonly folioCid: number;
39
+ readonly precioPP: number;
40
+ readonly fechaPrecioAnterior: string;
41
+ readonly comprador: string;
42
+ readonly vendedor: string;
43
+ readonly accion: number;
44
+ readonly picoLote: string;
45
+ readonly precioPico: number;
46
+ readonly volumenPico: number;
47
+ readonly importePico: number;
48
+ readonly fechaPico: string;
49
+ readonly horaPico: string;
50
+ readonly hora: string;
51
+ readonly capitalizacionMercado: string;
52
+ readonly valorEmpresa: string;
53
+ readonly tipoInstrumento: string;
54
+ readonly monitorHora: string;
55
+ readonly monitorPrecio: number;
56
+ readonly monitorVolumen: number;
57
+ readonly monitorFecha: string;
58
+ readonly aireCierre: number;
59
+ readonly spread: number;
60
+ readonly spreadPorcentaje: number;
61
+ readonly oportunidadInformacion: string;
62
+ readonly divYield: string;
63
+ readonly precioObjetivo: number;
64
+ readonly recomendacion: string;
65
+ readonly instrumentKey: string;
66
+ readonly descripcion: string;
67
+ readonly currentPriceDate: Date;
68
+ readonly previousPriceDate: Date;
69
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=instrument_fields.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instrument_fields.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/instrument_fields.ts"],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ export interface InstrumentReportHistorical {
2
+ readonly RFId: number;
3
+ readonly description: string;
4
+ readonly segment: string;
5
+ readonly period: string;
6
+ readonly frequency: string;
7
+ readonly [key: string]: any;
8
+ }
9
+ export interface InstrumentReportDaily {
10
+ readonly RFId: number;
11
+ readonly description: string;
12
+ readonly segment: string;
13
+ readonly period: string;
14
+ readonly frequency: string;
15
+ readonly value: number;
16
+ readonly date: string;
17
+ }
18
+ export interface InstrumentReportFinancialReasons {
19
+ readonly historical: InstrumentReportHistorical[];
20
+ readonly daily: InstrumentReportDaily[];
21
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=instrument_report_financial_reasons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instrument_report_financial_reasons.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/instrument_report_financial_reasons.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface InstrumentReportFinancialReasonsRequest {
2
+ readonly instrumentKey: string;
3
+ readonly exercises?: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=instrument_report_financial_reasons_request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instrument_report_financial_reasons_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/instrument_report_financial_reasons_request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { Instrument } from './instrument';
2
+ import { InstrumentFieldsContainer } from './workspaces_container';
3
+ export interface InstrumentsResponse {
4
+ readonly instruments: Instrument[];
5
+ readonly fields: InstrumentFieldsContainer;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=instruments_response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instruments_response.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/instruments_response.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type PeriodType = 'day' | 'week' | 'month' | 'year';
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=period_type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"period_type.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/period_type.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import { InstrumentFields } from './instrument_fields';
2
+ import { Widget } from './widget';
3
+ import { InstrumentsContainer } from './workspaces_container';
4
+ export interface InstrumentFieldsContainer {
5
+ [instrumentKey: string]: InstrumentFields;
6
+ }
7
+ export interface ProjectWidgetsContainer {
8
+ readonly id: string;
9
+ readonly name: string;
10
+ readonly widgets: Widget[];
11
+ readonly instruments: InstrumentsContainer;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=project_widgets_container.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project_widgets_container.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/project_widgets_container.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ export default interface SearchInstrumentRequest {
2
+ readonly limit: number;
3
+ readonly query: string;
4
+ readonly marketTypeIds?: Array<number>;
5
+ readonly valueTypeIds?: Array<number>;
6
+ readonly exchangeIds?: Array<number>;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=search_instruments_request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search_instruments_request.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/search_instruments_request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { Instrument } from './instrument';
2
+ export type SearchResultItem = {
3
+ readonly name: string;
4
+ readonly instrument: Instrument;
5
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=search_result_item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"search_result_item.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/search_result_item.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ export default interface UpdateWidgetInstrumentsRequest {
2
+ readonly widgetId: string;
3
+ readonly instruments: {
4
+ readonly keys: string[];
5
+ readonly options?: {
6
+ readonly sort: object;
7
+ readonly offset: number;
8
+ readonly limit: number;
9
+ };
10
+ };
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=update_widget_instruments_reques.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update_widget_instruments_reques.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/update_widget_instruments_reques.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { Widget } from './widget';
2
+ import { Workspace } from './workspace';
3
+ export default interface UserWorkspaces {
4
+ readonly id: string;
5
+ readonly connectionId: string;
6
+ readonly workspaces: Workspace[];
7
+ readonly widgets: Widget[];
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=user_workspaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user_workspaces.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/user_workspaces.ts"],"names":[],"mappings":""}
@@ -0,0 +1,46 @@
1
+ export type WidgetType = 'DYNAMIC_TABLE' | 'PREDEFINED_TABLE' | 'CUSTOM_TABLE' | 'NEWS_LIST' | 'TICKER_TAPE' | 'CHART' | 'UNKNOWN';
2
+ export interface WidgetLayout {
3
+ readonly x: number;
4
+ readonly y: number;
5
+ readonly draggable: boolean;
6
+ readonly resizable: boolean;
7
+ }
8
+ export interface WidgetSize {
9
+ readonly id: string;
10
+ readonly width: number;
11
+ readonly height: number;
12
+ readonly minWidth: number;
13
+ readonly minHeight: number;
14
+ readonly maxWidth: number;
15
+ readonly maxHeight: number;
16
+ }
17
+ export interface WidgetTableColumn {
18
+ readonly id: string;
19
+ readonly field: string;
20
+ readonly description: string;
21
+ readonly visible: boolean;
22
+ readonly active: boolean;
23
+ readonly format: WidgetTableColumnsFormat;
24
+ }
25
+ export interface WidgetTableColumnsFormat {
26
+ readonly type: 'number' | 'percentage' | 'text' | 'time' | 'date' | 'currency';
27
+ readonly decimals?: number;
28
+ readonly formatTime?: string;
29
+ readonly formatDate?: string;
30
+ }
31
+ export interface WidgetTickerConfiguration {
32
+ readonly id: string;
33
+ readonly position: 'top' | 'bottom';
34
+ readonly size: 'small' | 'large';
35
+ readonly visible: boolean;
36
+ readonly speed: number;
37
+ }
38
+ export interface Widget {
39
+ readonly id: string;
40
+ readonly name: string;
41
+ readonly type: WidgetType;
42
+ readonly layout: WidgetLayout;
43
+ readonly size: WidgetSize;
44
+ readonly tableColumns: WidgetTableColumn[];
45
+ readonly tickerConfiguration: WidgetTickerConfiguration;
46
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=widget.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"widget.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/widget.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface Workspace {
2
+ readonly id: string;
3
+ readonly name: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=workspace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/workspace.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { Widget } from './widget';
2
+ export interface WorkspaceWidgets {
3
+ readonly id: string;
4
+ readonly name: string;
5
+ readonly widgets: Widget[];
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=workspace_widgets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspace_widgets.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/entities/workspace_widgets.ts"],"names":[],"mappings":""}