@infosel-sdk/markets 1.2.4 → 2.0.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 (257) hide show
  1. package/CHANGELOG.md +235 -0
  2. package/README.md +111 -423
  3. package/package.json +1 -1
  4. package/src/__tests__/__mocks__/apis/markets-api.mock.d.ts +0 -73
  5. package/src/__tests__/__mocks__/apis/markets-api.mock.js +3 -45
  6. package/src/__tests__/__mocks__/apis/markets-api.mock.js.map +1 -1
  7. package/src/__tests__/utils/mock-datasource.js +0 -16
  8. package/src/__tests__/utils/mock-datasource.js.map +1 -1
  9. package/src/__tests__/utils/mock-factories.d.ts +0 -104
  10. package/src/__tests__/utils/mock-factories.js +6 -24
  11. package/src/__tests__/utils/mock-factories.js.map +1 -1
  12. package/src/__tests__/utils/mock-repository.d.ts +0 -12
  13. package/src/__tests__/utils/mock-repository.js +2 -46
  14. package/src/__tests__/utils/mock-repository.js.map +1 -1
  15. package/src/__tests__/utils/test-helpers.d.ts +0 -2
  16. package/src/__tests__/utils/test-helpers.js +0 -6
  17. package/src/__tests__/utils/test-helpers.js.map +1 -1
  18. package/src/data/datasources/markets_datasource_impl.d.ts +6 -55
  19. package/src/data/datasources/markets_datasource_impl.js +11 -985
  20. package/src/data/datasources/markets_datasource_impl.js.map +1 -1
  21. package/src/data/di/infosel_markets_component.d.ts +4 -60
  22. package/src/data/di/infosel_markets_component.js +0 -137
  23. package/src/data/di/infosel_markets_component.js.map +1 -1
  24. package/src/data/di/infosel_markets_module.d.ts +1 -4
  25. package/src/data/di/infosel_markets_module.js +1 -7
  26. package/src/data/di/infosel_markets_module.js.map +1 -1
  27. package/src/data/mappers/markets_mapper.d.ts +1 -41
  28. package/src/data/mappers/markets_mapper.js +7 -177
  29. package/src/data/mappers/markets_mapper.js.map +1 -1
  30. package/src/data/models/instrument_fields_model.d.ts +7 -0
  31. package/src/data/repositories/markets_repository_impl.d.ts +4 -48
  32. package/src/data/repositories/markets_repository_impl.js +0 -57
  33. package/src/data/repositories/markets_repository_impl.js.map +1 -1
  34. package/src/domain/datasources/markets_datasource.d.ts +4 -47
  35. package/src/domain/di/markets_component.d.ts +18 -41
  36. package/src/domain/di/markets_module.d.ts +1 -2
  37. package/src/domain/entities/get_last_request.d.ts +4 -0
  38. package/src/{data/models/user_model.js → domain/entities/get_last_request.js} +1 -1
  39. package/src/domain/entities/get_last_request.js.map +1 -0
  40. package/src/domain/entities/index.d.ts +0 -20
  41. package/src/domain/entities/index.js +0 -20
  42. package/src/domain/entities/index.js.map +1 -1
  43. package/src/domain/entities/instrument_fields.d.ts +7 -0
  44. package/src/domain/repositories/markets_repository.d.ts +4 -43
  45. package/src/domain/use_cases/get_instrument_fields_use_case.d.ts +3 -2
  46. package/src/domain/use_cases/get_instrument_fields_use_case.js.map +1 -1
  47. package/src/domain/use_cases/get_instrument_multiple_fields_use_case.d.ts +2 -1
  48. package/src/domain/use_cases/get_instrument_multiple_fields_use_case.js.map +1 -1
  49. package/src/index.d.ts +1 -4
  50. package/src/index.js +0 -2
  51. package/src/index.js.map +1 -1
  52. package/src/data/models/delete_workspace_response_model.d.ts +0 -5
  53. package/src/data/models/delete_workspace_response_model.js +0 -3
  54. package/src/data/models/delete_workspace_response_model.js.map +0 -1
  55. package/src/data/models/get_user_workspaces_response_model.d.ts +0 -15
  56. package/src/data/models/get_user_workspaces_response_model.js +0 -3
  57. package/src/data/models/get_user_workspaces_response_model.js.map +0 -1
  58. package/src/data/models/project_model.d.ts +0 -12
  59. package/src/data/models/project_model.js +0 -3
  60. package/src/data/models/project_model.js.map +0 -1
  61. package/src/data/models/project_widgets_response_model.d.ts +0 -8
  62. package/src/data/models/project_widgets_response_model.js +0 -3
  63. package/src/data/models/project_widgets_response_model.js.map +0 -1
  64. package/src/data/models/user_model.d.ts +0 -7
  65. package/src/data/models/user_model.js.map +0 -1
  66. package/src/data/models/user_widgets_response_model.d.ts +0 -7
  67. package/src/data/models/user_widgets_response_model.js +0 -3
  68. package/src/data/models/user_widgets_response_model.js.map +0 -1
  69. package/src/data/models/widget_brokerage_concentration_configuration.d.ts +0 -4
  70. package/src/data/models/widget_brokerage_concentration_configuration.js +0 -3
  71. package/src/data/models/widget_brokerage_concentration_configuration.js.map +0 -1
  72. package/src/data/models/widget_brokerage_participation_configuration.d.ts +0 -10
  73. package/src/data/models/widget_brokerage_participation_configuration.js +0 -3
  74. package/src/data/models/widget_brokerage_participation_configuration.js.map +0 -1
  75. package/src/data/models/widget_brokerage_trades_configuration.d.ts +0 -11
  76. package/src/data/models/widget_brokerage_trades_configuration.js +0 -3
  77. package/src/data/models/widget_brokerage_trades_configuration.js.map +0 -1
  78. package/src/data/models/widget_chart_configuration_model.d.ts +0 -4
  79. package/src/data/models/widget_chart_configuration_model.js +0 -3
  80. package/src/data/models/widget_chart_configuration_model.js.map +0 -1
  81. package/src/data/models/widget_decreed_search_configuration.d.ts +0 -10
  82. package/src/data/models/widget_decreed_search_configuration.js +0 -3
  83. package/src/data/models/widget_decreed_search_configuration.js.map +0 -1
  84. package/src/data/models/widget_dynamic_table_configuration.d.ts +0 -14
  85. package/src/data/models/widget_dynamic_table_configuration.js +0 -3
  86. package/src/data/models/widget_dynamic_table_configuration.js.map +0 -1
  87. package/src/data/models/widget_indices_components_configuration.d.ts +0 -7
  88. package/src/data/models/widget_indices_components_configuration.js +0 -3
  89. package/src/data/models/widget_indices_components_configuration.js.map +0 -1
  90. package/src/data/models/widget_layout_model.d.ts +0 -6
  91. package/src/data/models/widget_layout_model.js +0 -3
  92. package/src/data/models/widget_layout_model.js.map +0 -1
  93. package/src/data/models/widget_market_total_configuration.d.ts +0 -4
  94. package/src/data/models/widget_market_total_configuration.js +0 -3
  95. package/src/data/models/widget_market_total_configuration.js.map +0 -1
  96. package/src/data/models/widget_model.d.ts +0 -33
  97. package/src/data/models/widget_model.js +0 -3
  98. package/src/data/models/widget_model.js.map +0 -1
  99. package/src/data/models/widget_size_model.d.ts +0 -14
  100. package/src/data/models/widget_size_model.js +0 -3
  101. package/src/data/models/widget_size_model.js.map +0 -1
  102. package/src/data/models/widget_table_column_format_model.d.ts +0 -6
  103. package/src/data/models/widget_table_column_format_model.js +0 -3
  104. package/src/data/models/widget_table_column_format_model.js.map +0 -1
  105. package/src/data/models/widget_table_column_model.d.ts +0 -8
  106. package/src/data/models/widget_table_column_model.js +0 -3
  107. package/src/data/models/widget_table_column_model.js.map +0 -1
  108. package/src/data/models/widget_ticker_configuration.d.ts +0 -7
  109. package/src/data/models/widget_ticker_configuration.js +0 -3
  110. package/src/data/models/widget_ticker_configuration.js.map +0 -1
  111. package/src/data/models/widget_traded_packages_configuration.d.ts +0 -4
  112. package/src/data/models/widget_traded_packages_configuration.js +0 -3
  113. package/src/data/models/widget_traded_packages_configuration.js.map +0 -1
  114. package/src/data/models/workspace_model.d.ts +0 -6
  115. package/src/data/models/workspace_model.js +0 -3
  116. package/src/data/models/workspace_model.js.map +0 -1
  117. package/src/domain/entities/chart_configuration.d.ts +0 -5
  118. package/src/domain/entities/chart_configuration.js +0 -3
  119. package/src/domain/entities/chart_configuration.js.map +0 -1
  120. package/src/domain/entities/create_instrument_request.d.ts +0 -5
  121. package/src/domain/entities/create_instrument_request.js +0 -3
  122. package/src/domain/entities/create_instrument_request.js.map +0 -1
  123. package/src/domain/entities/create_widget_request.d.ts +0 -36
  124. package/src/domain/entities/create_widget_request.js +0 -3
  125. package/src/domain/entities/create_widget_request.js.map +0 -1
  126. package/src/domain/entities/create_workspace_request.d.ts +0 -5
  127. package/src/domain/entities/create_workspace_request.js +0 -3
  128. package/src/domain/entities/create_workspace_request.js.map +0 -1
  129. package/src/domain/entities/delete_workspace_request.d.ts +0 -3
  130. package/src/domain/entities/delete_workspace_request.js +0 -3
  131. package/src/domain/entities/delete_workspace_request.js.map +0 -1
  132. package/src/domain/entities/duplicate_widget_request.d.ts +0 -5
  133. package/src/domain/entities/duplicate_widget_request.js +0 -3
  134. package/src/domain/entities/duplicate_widget_request.js.map +0 -1
  135. package/src/domain/entities/duplicate_workspace_request.d.ts +0 -5
  136. package/src/domain/entities/duplicate_workspace_request.js +0 -3
  137. package/src/domain/entities/duplicate_workspace_request.js.map +0 -1
  138. package/src/domain/entities/get_instruments_request.d.ts +0 -12
  139. package/src/domain/entities/get_instruments_request.js +0 -3
  140. package/src/domain/entities/get_instruments_request.js.map +0 -1
  141. package/src/domain/entities/get_project_widgets_request.d.ts +0 -12
  142. package/src/domain/entities/get_project_widgets_request.js +0 -3
  143. package/src/domain/entities/get_project_widgets_request.js.map +0 -1
  144. package/src/domain/entities/get_user_widgets_request.d.ts +0 -3
  145. package/src/domain/entities/get_user_widgets_request.js +0 -3
  146. package/src/domain/entities/get_user_widgets_request.js.map +0 -1
  147. package/src/domain/entities/get_user_workspaces_request.d.ts +0 -4
  148. package/src/domain/entities/get_user_workspaces_request.js +0 -3
  149. package/src/domain/entities/get_user_workspaces_request.js.map +0 -1
  150. package/src/domain/entities/get_workspace_request.d.ts +0 -3
  151. package/src/domain/entities/get_workspace_request.js +0 -3
  152. package/src/domain/entities/get_workspace_request.js.map +0 -1
  153. package/src/domain/entities/get_workspaces_by_user_request.d.ts +0 -12
  154. package/src/domain/entities/get_workspaces_by_user_request.js +0 -3
  155. package/src/domain/entities/get_workspaces_by_user_request.js.map +0 -1
  156. package/src/domain/entities/get_workspaces_request.d.ts +0 -12
  157. package/src/domain/entities/get_workspaces_request.js +0 -3
  158. package/src/domain/entities/get_workspaces_request.js.map +0 -1
  159. package/src/domain/entities/instruments_response.d.ts +0 -6
  160. package/src/domain/entities/instruments_response.js +0 -3
  161. package/src/domain/entities/instruments_response.js.map +0 -1
  162. package/src/domain/entities/news_configuration.d.ts +0 -8
  163. package/src/domain/entities/news_configuration.js +0 -3
  164. package/src/domain/entities/news_configuration.js.map +0 -1
  165. package/src/domain/entities/project_widgets_container.d.ts +0 -12
  166. package/src/domain/entities/project_widgets_container.js +0 -3
  167. package/src/domain/entities/project_widgets_container.js.map +0 -1
  168. package/src/domain/entities/update_widget_chart_request.d.ts +0 -4
  169. package/src/domain/entities/update_widget_chart_request.js +0 -3
  170. package/src/domain/entities/update_widget_chart_request.js.map +0 -1
  171. package/src/domain/entities/update_widget_instruments_reques.d.ts +0 -11
  172. package/src/domain/entities/update_widget_instruments_reques.js +0 -3
  173. package/src/domain/entities/update_widget_instruments_reques.js.map +0 -1
  174. package/src/domain/entities/update_workspace_request.d.ts +0 -19
  175. package/src/domain/entities/update_workspace_request.js +0 -3
  176. package/src/domain/entities/update_workspace_request.js.map +0 -1
  177. package/src/domain/entities/user_widgets.d.ts +0 -5
  178. package/src/domain/entities/user_widgets.js +0 -3
  179. package/src/domain/entities/user_widgets.js.map +0 -1
  180. package/src/domain/entities/user_workspaces.d.ts +0 -8
  181. package/src/domain/entities/user_workspaces.js +0 -3
  182. package/src/domain/entities/user_workspaces.js.map +0 -1
  183. package/src/domain/entities/widget.d.ts +0 -129
  184. package/src/domain/entities/widget.js +0 -3
  185. package/src/domain/entities/widget.js.map +0 -1
  186. package/src/domain/entities/widget_layout_config.d.ts +0 -15
  187. package/src/domain/entities/widget_layout_config.js +0 -3
  188. package/src/domain/entities/widget_layout_config.js.map +0 -1
  189. package/src/domain/entities/widget_size_config.d.ts +0 -6
  190. package/src/domain/entities/widget_size_config.js +0 -3
  191. package/src/domain/entities/widget_size_config.js.map +0 -1
  192. package/src/domain/entities/workspace.d.ts +0 -13
  193. package/src/domain/entities/workspace.js +0 -3
  194. package/src/domain/entities/workspace.js.map +0 -1
  195. package/src/domain/entities/workspace_widgets.d.ts +0 -6
  196. package/src/domain/entities/workspace_widgets.js +0 -3
  197. package/src/domain/entities/workspace_widgets.js.map +0 -1
  198. package/src/domain/entities/workspaces_container.d.ts +0 -18
  199. package/src/domain/entities/workspaces_container.js +0 -3
  200. package/src/domain/entities/workspaces_container.js.map +0 -1
  201. package/src/domain/use_cases/create_instrument_use_case.d.ts +0 -9
  202. package/src/domain/use_cases/create_instrument_use_case.js +0 -22
  203. package/src/domain/use_cases/create_instrument_use_case.js.map +0 -1
  204. package/src/domain/use_cases/create_widget_use_case.d.ts +0 -9
  205. package/src/domain/use_cases/create_widget_use_case.js +0 -32
  206. package/src/domain/use_cases/create_widget_use_case.js.map +0 -1
  207. package/src/domain/use_cases/create_workspace_use_case.d.ts +0 -9
  208. package/src/domain/use_cases/create_workspace_use_case.js +0 -22
  209. package/src/domain/use_cases/create_workspace_use_case.js.map +0 -1
  210. package/src/domain/use_cases/delete_instrument_use_case.d.ts +0 -7
  211. package/src/domain/use_cases/delete_instrument_use_case.js +0 -19
  212. package/src/domain/use_cases/delete_instrument_use_case.js.map +0 -1
  213. package/src/domain/use_cases/delete_widget_use_case.d.ts +0 -7
  214. package/src/domain/use_cases/delete_widget_use_case.js +0 -19
  215. package/src/domain/use_cases/delete_widget_use_case.js.map +0 -1
  216. package/src/domain/use_cases/delete_workspace_use_case.d.ts +0 -8
  217. package/src/domain/use_cases/delete_workspace_use_case.js +0 -22
  218. package/src/domain/use_cases/delete_workspace_use_case.js.map +0 -1
  219. package/src/domain/use_cases/duplicate_widget_use_case.d.ts +0 -8
  220. package/src/domain/use_cases/duplicate_widget_use_case.js +0 -15
  221. package/src/domain/use_cases/duplicate_widget_use_case.js.map +0 -1
  222. package/src/domain/use_cases/duplicate_workspace_use_case.d.ts +0 -8
  223. package/src/domain/use_cases/duplicate_workspace_use_case.js +0 -15
  224. package/src/domain/use_cases/duplicate_workspace_use_case.js.map +0 -1
  225. package/src/domain/use_cases/get_instruments_use_case.d.ts +0 -9
  226. package/src/domain/use_cases/get_instruments_use_case.js +0 -16
  227. package/src/domain/use_cases/get_instruments_use_case.js.map +0 -1
  228. package/src/domain/use_cases/get_project_widgets_use_case.d.ts +0 -9
  229. package/src/domain/use_cases/get_project_widgets_use_case.js +0 -19
  230. package/src/domain/use_cases/get_project_widgets_use_case.js.map +0 -1
  231. package/src/domain/use_cases/get_user_widgets_use_case.d.ts +0 -9
  232. package/src/domain/use_cases/get_user_widgets_use_case.js +0 -22
  233. package/src/domain/use_cases/get_user_widgets_use_case.js.map +0 -1
  234. package/src/domain/use_cases/get_user_workspace_use_case.d.ts +0 -9
  235. package/src/domain/use_cases/get_user_workspace_use_case.js +0 -22
  236. package/src/domain/use_cases/get_user_workspace_use_case.js.map +0 -1
  237. package/src/domain/use_cases/get_workspace_use_case.d.ts +0 -9
  238. package/src/domain/use_cases/get_workspace_use_case.js +0 -19
  239. package/src/domain/use_cases/get_workspace_use_case.js.map +0 -1
  240. package/src/domain/use_cases/get_workspaces_by_project_id_use_case.d.ts +0 -9
  241. package/src/domain/use_cases/get_workspaces_by_project_id_use_case.js +0 -19
  242. package/src/domain/use_cases/get_workspaces_by_project_id_use_case.js.map +0 -1
  243. package/src/domain/use_cases/get_workspaces_by_user_use_case.d.ts +0 -9
  244. package/src/domain/use_cases/get_workspaces_by_user_use_case.js +0 -19
  245. package/src/domain/use_cases/get_workspaces_by_user_use_case.js.map +0 -1
  246. package/src/domain/use_cases/get_workspaces_use_case.d.ts +0 -9
  247. package/src/domain/use_cases/get_workspaces_use_case.js +0 -19
  248. package/src/domain/use_cases/get_workspaces_use_case.js.map +0 -1
  249. package/src/domain/use_cases/update_widget_chart_use_case.d.ts +0 -7
  250. package/src/domain/use_cases/update_widget_chart_use_case.js +0 -15
  251. package/src/domain/use_cases/update_widget_chart_use_case.js.map +0 -1
  252. package/src/domain/use_cases/update_widget_instruments_use_case.d.ts +0 -9
  253. package/src/domain/use_cases/update_widget_instruments_use_case.js +0 -22
  254. package/src/domain/use_cases/update_widget_instruments_use_case.js.map +0 -1
  255. package/src/domain/use_cases/update_workspace_use_case.d.ts +0 -8
  256. package/src/domain/use_cases/update_workspace_use_case.js +0 -15
  257. package/src/domain/use_cases/update_workspace_use_case.js.map +0 -1
@@ -4,24 +4,9 @@ const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./chart_item"), exports);
5
5
  tslib_1.__exportStar(require("./chart_period"), exports);
6
6
  tslib_1.__exportStar(require("./chart_request"), exports);
7
- tslib_1.__exportStar(require("./create_widget_request"), exports);
8
- tslib_1.__exportStar(require("./delete_workspace_request"), exports);
9
- tslib_1.__exportStar(require("./duplicate_widget_request"), exports);
10
- tslib_1.__exportStar(require("./update_workspace_request"), exports);
11
- tslib_1.__exportStar(require("./update_widget_chart_request"), exports);
12
- tslib_1.__exportStar(require("./get_instruments_request"), exports);
13
- tslib_1.__exportStar(require("./get_user_workspaces_request"), exports);
14
- tslib_1.__exportStar(require("./get_user_widgets_request"), exports);
15
- tslib_1.__exportStar(require("./get_workspaces_request"), exports);
16
7
  tslib_1.__exportStar(require("./instrument"), exports);
17
8
  tslib_1.__exportStar(require("./instrument_fields"), exports);
18
- tslib_1.__exportStar(require("./instruments_response"), exports);
19
9
  tslib_1.__exportStar(require("./period_type"), exports);
20
- tslib_1.__exportStar(require("./user_workspaces"), exports);
21
- tslib_1.__exportStar(require("./user_widgets"), exports);
22
- tslib_1.__exportStar(require("./widget"), exports);
23
- tslib_1.__exportStar(require("./workspace"), exports);
24
- tslib_1.__exportStar(require("./workspaces_container"), exports);
25
10
  tslib_1.__exportStar(require("./instrument_detail_financial_annual_request"), exports);
26
11
  tslib_1.__exportStar(require("./instrument_detail_profile_request"), exports);
27
12
  tslib_1.__exportStar(require("./instrument_detail_financial_quarterly_request"), exports);
@@ -32,9 +17,4 @@ tslib_1.__exportStar(require("./instrument_detail_profile"), exports);
32
17
  tslib_1.__exportStar(require("./instrument_report_financial_reasons"), exports);
33
18
  tslib_1.__exportStar(require("./instrument_report_financial_reasons_request"), exports);
34
19
  tslib_1.__exportStar(require("./search_result_item"), exports);
35
- tslib_1.__exportStar(require("./get_workspaces_by_user_request"), exports);
36
- tslib_1.__exportStar(require("./get_workspace_request"), exports);
37
- tslib_1.__exportStar(require("./news_configuration"), exports);
38
- tslib_1.__exportStar(require("./widget_layout_config"), exports);
39
- tslib_1.__exportStar(require("./workspace_widgets"), exports);
40
20
  //# sourceMappingURL=index.js.map
@@ -1 +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,kEAAwC;AACxC,qEAA2C;AAC3C,qEAA2C;AAC3C,qEAA2C;AAC3C,wEAA8C;AAC9C,oEAA0C;AAC1C,wEAA8C;AAC9C,qEAA2C;AAC3C,mEAAyC;AACzC,uDAA6B;AAC7B,8DAAoC;AACpC,iEAAuC;AACvC,wDAA8B;AAC9B,4DAAkC;AAClC,yDAA+B;AAC/B,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,+DAAqC;AACrC,iEAAuC;AACvC,8DAAoC"}
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,uDAA6B;AAC7B,8DAAoC;AACpC,wDAA8B;AAC9B,uFAA6D;AAC7D,8EAAoD;AACpD,0FAAgE;AAChE,wFAA8D;AAC9D,gFAAsD;AACtD,wEAA8C;AAC9C,sEAA4C;AAC5C,gFAAsD;AACtD,wFAA8D;AAC9D,+DAAqC"}
@@ -64,6 +64,7 @@ export interface InstrumentFields {
64
64
  readonly recomendacion: string;
65
65
  readonly instrumentKey: string;
66
66
  readonly descripcion: string;
67
+ readonly descripcionMercado: string;
67
68
  readonly currentPriceDate: Date;
68
69
  readonly previousPriceDate: Date;
69
70
  readonly divisaNombreCorrecto: string;
@@ -76,4 +77,10 @@ export interface InstrumentFields {
76
77
  readonly frecuencia: string;
77
78
  readonly unidad: string;
78
79
  readonly ultimaFecha: string;
80
+ readonly estado: string;
81
+ readonly sector: string;
82
+ readonly tendencia: string;
83
+ readonly muestra: string;
84
+ readonly tipoRendimiento: string;
85
+ readonly tipoIndice: string;
79
86
  }
@@ -1,54 +1,15 @@
1
- import { Instrument, InstrumentDetailFinancial, InstrumentDetailFinancialAnnualRequest, InstrumentDetailProfileRequest, InstrumentDetailFinancialQuarterlyRequest, InstrumentDetailFinancialReasons, InstrumentDetailFinancialReasonsRequest, InstrumentFields, InstrumentDetailProfile, Workspace, Widget, SearchResultItem, InstrumentsResponse } from '../entities';
2
- import CreateInstrumentRequest from '../entities/create_instrument_request';
3
- import CreateWidgetRequest from '../entities/create_widget_request';
4
- import CreateWorkspaceRequest from '../entities/create_workspace_request';
5
- import DeleteWorkspaceRequest from '../entities/delete_workspace_request';
6
- import DuplicateWidgetRequest from '../entities/duplicate_widget_request';
7
- import DuplicateWorkspaceRequest from '../entities/duplicate_workspace_request';
8
- import { GetInstrumentsRequest } from '../entities/get_instruments_request';
9
- import { GetProjectWidgetsRequest } from '../entities/get_project_widgets_request';
10
- import GetUserWidgetsRequest from '../entities/get_user_widgets_request';
11
- import GetUserWorkspacesRequest from '../entities/get_user_workspaces_request';
12
- import GetWorkspaceRequest from '../entities/get_workspace_request';
13
- import { GetWorkspacesByUserRequest } from '../entities/get_workspaces_by_user_request';
14
- import { GetWorkspacesRequest } from '../entities/get_workspaces_request';
1
+ import { InstrumentDetailFinancial, InstrumentDetailFinancialAnnualRequest, InstrumentDetailProfileRequest, InstrumentDetailFinancialQuarterlyRequest, InstrumentDetailFinancialReasons, InstrumentDetailFinancialReasonsRequest, InstrumentFields, InstrumentDetailProfile, SearchResultItem } from '../entities';
2
+ import { GetLastRequest } from '../entities/get_last_request';
15
3
  import { InstrumentReportFinancialReasons } from '../entities/instrument_report_financial_reasons';
16
4
  import { InstrumentReportFinancialReasonsRequest } from '../entities/instrument_report_financial_reasons_request';
17
- import { ProjectWidgetsContainer } from '../entities/project_widgets_container';
18
5
  import SearchInstrumentRequest from '../entities/search_instruments_request';
19
- import UpdateWidgetChartRequest from '../entities/update_widget_chart_request';
20
- import UpdateWidgetInstrumentsRequest from '../entities/update_widget_instruments_reques';
21
- import UpdateWorkspaceRequest from '../entities/update_workspace_request';
22
- import UserWidgets from '../entities/user_widgets';
23
- import UserWorkspaces from '../entities/user_workspaces';
24
- import { WorkspaceWidgets } from '../entities/workspace_widgets';
25
- import { WorkspacesContainer } from '../entities/workspaces_container';
26
6
  export default interface MarketsRepository {
27
- getWorkspace(request: GetWorkspaceRequest): Promise<WorkspaceWidgets>;
28
- getUserWorkspaces(request: GetUserWorkspacesRequest): Promise<UserWorkspaces>;
29
- getUserWidgets(request: GetUserWidgetsRequest): Promise<UserWidgets>;
30
- createWorkspace(request: CreateWorkspaceRequest): Promise<Workspace>;
31
- updateWorkspace(request: UpdateWorkspaceRequest): Promise<Workspace>;
32
- deleteWorkspace(request: DeleteWorkspaceRequest): Promise<string>;
33
- duplicateWorkspace(request: DuplicateWorkspaceRequest): Promise<Workspace>;
34
- createWidget(request: CreateWidgetRequest): Promise<Widget>;
35
- duplicateWidget(request: DuplicateWidgetRequest): Promise<Widget>;
36
- updateWidgetInstruments(request: UpdateWidgetInstrumentsRequest): Promise<Instrument[]>;
37
- updateWidgetChart(request: UpdateWidgetChartRequest): Promise<string>;
38
- deleteWidget(request: string): Promise<string>;
39
- createInstrument(request: CreateInstrumentRequest): Promise<Instrument>;
40
- deleteInstrument(request: string): Promise<string>;
41
- getWorkspaces(request: GetWorkspacesRequest): Promise<WorkspacesContainer>;
42
- getWorkspacesByUser(request: GetWorkspacesByUserRequest): Promise<WorkspacesContainer>;
43
- getProjectWidgets(request: GetProjectWidgetsRequest): Promise<ProjectWidgetsContainer>;
44
- getInstruments(request: GetInstrumentsRequest): Promise<InstrumentsResponse>;
45
- getInstrumentFields(request: string): Promise<InstrumentFields>;
46
- getInstrumentMultipleFields(request: string): Promise<InstrumentFields[]>;
7
+ getInstrumentFields(request: GetLastRequest): Promise<InstrumentFields>;
8
+ getInstrumentMultipleFields(request: GetLastRequest): Promise<InstrumentFields[]>;
47
9
  searchInstruments(request: SearchInstrumentRequest): Promise<SearchResultItem[]>;
48
10
  getInstrumentDetailFinancialReasons(request: InstrumentDetailFinancialReasonsRequest): Promise<InstrumentDetailFinancialReasons[]>;
49
11
  getInstrumentDetailFinancialAnnual(request: InstrumentDetailFinancialAnnualRequest): Promise<InstrumentDetailFinancial[]>;
50
12
  getInstrumentDetailFinancialQuartely(request: InstrumentDetailFinancialQuarterlyRequest): Promise<InstrumentDetailFinancial[]>;
51
13
  getInstrumentDetailProfile(request: InstrumentDetailProfileRequest): Promise<InstrumentDetailProfile>;
52
14
  getInstrumentReportFinancialReasons(request: InstrumentReportFinancialReasonsRequest): Promise<InstrumentReportFinancialReasons>;
53
- getWorkspacesByProjectId(request: GetWorkspacesRequest): Promise<WorkspacesContainer>;
54
15
  }
@@ -1,8 +1,9 @@
1
1
  import { BaseUseCase } from '@infosel-sdk/core';
2
2
  import { InstrumentFields } from '../entities';
3
+ import { GetLastRequest } from '../entities/get_last_request';
3
4
  import MarketsRepository from '../repositories/markets_repository';
4
- export default class GetInstrumentFieldsUseCase implements BaseUseCase<string, InstrumentFields> {
5
+ export default class GetInstrumentFieldsUseCase implements BaseUseCase<GetLastRequest, InstrumentFields> {
5
6
  private readonly repository;
6
7
  constructor(repository: MarketsRepository);
7
- execute(request?: string): Promise<InstrumentFields>;
8
+ execute(request?: GetLastRequest): Promise<InstrumentFields>;
8
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"get_instrument_fields_use_case.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/use_cases/get_instrument_fields_use_case.ts"],"names":[],"mappings":";;;AAAA,4CAAwE;AAKxE,MAAqB,0BAA0B;IAG7C,YAA6B,UAA6B;QAA7B,eAAU,GAAV,UAAU,CAAmB;IAAG,CAAC;IACxD,OAAO,CAAC,OAAgB;;YAC5B,IAAI,CAAC,OAAO,EAAE;gBACZ,MAAM,IAAI,eAAQ,CAAC,mBAAY,CAAC,0BAA0B,CAAC,CAAC;aAC7D;YACD,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;QAC5D,CAAC;KAAA;CACF;AAVD,6CAUC"}
1
+ {"version":3,"file":"get_instrument_fields_use_case.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/use_cases/get_instrument_fields_use_case.ts"],"names":[],"mappings":";;;AAAA,4CAAwE;AAMxE,MAAqB,0BAA0B;IAG7C,YAA6B,UAA6B;QAA7B,eAAU,GAAV,UAAU,CAAmB;IAAG,CAAC;IACxD,OAAO,CAAC,OAAwB;;YACpC,IAAI,CAAC,OAAO,EAAE;gBACZ,MAAM,IAAI,eAAQ,CAAC,mBAAY,CAAC,0BAA0B,CAAC,CAAC;aAC7D;YACD,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;QAC5D,CAAC;KAAA;CACF;AAVD,6CAUC"}
@@ -1,7 +1,8 @@
1
1
  import { InstrumentFields } from '../entities';
2
+ import { GetLastRequest } from '../entities/get_last_request';
2
3
  import MarketsRepository from '../repositories/markets_repository';
3
4
  export default class GetInstrumentMultipleFieldsUseCase {
4
5
  private readonly repository;
5
6
  constructor(repository: MarketsRepository);
6
- execute(request: string): Promise<InstrumentFields[]>;
7
+ execute(request: GetLastRequest): Promise<InstrumentFields[]>;
7
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"get_instrument_multiple_fields_use_case.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/use_cases/get_instrument_multiple_fields_use_case.ts"],"names":[],"mappings":";;;AAGA,MAAqB,kCAAkC;IACrD,YAA6B,UAA6B;QAA7B,eAAU,GAAV,UAAU,CAAmB;IAAG,CAAC;IAExD,OAAO,CAAC,OAAe;;YAC3B,OAAO,IAAI,CAAC,UAAU,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QAC9D,CAAC;KAAA;CACF;AAND,qDAMC"}
1
+ {"version":3,"file":"get_instrument_multiple_fields_use_case.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/domain/use_cases/get_instrument_multiple_fields_use_case.ts"],"names":[],"mappings":";;;AAIA,MAAqB,kCAAkC;IACrD,YAA6B,UAA6B;QAA7B,eAAU,GAAV,UAAU,CAAmB;IAAG,CAAC;IAExD,OAAO,CAAC,OAAuB;;YACnC,OAAO,IAAI,CAAC,UAAU,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QAC9D,CAAC;KAAA;CACF;AAND,qDAMC"}
package/src/index.d.ts CHANGED
@@ -1,8 +1,5 @@
1
1
  export * from './domain/entities';
2
2
  import InfoselMarkets from './data/di/infosel_markets_component';
3
3
  import MarketsMapper, { MarketsMapperImpl } from './data/mappers/markets_mapper';
4
- import WidgetModel from './data/models/widget_model';
5
- export * from './domain/entities';
6
- export * from './domain/entities/workspaces_container';
7
- export { MarketsMapper, MarketsMapperImpl, WidgetModel };
4
+ export { MarketsMapper, MarketsMapperImpl };
8
5
  export default InfoselMarkets;
package/src/index.js CHANGED
@@ -6,7 +6,5 @@ tslib_1.__exportStar(require("./domain/entities"), exports);
6
6
  const infosel_markets_component_1 = tslib_1.__importDefault(require("./data/di/infosel_markets_component"));
7
7
  const markets_mapper_1 = require("./data/mappers/markets_mapper");
8
8
  Object.defineProperty(exports, "MarketsMapperImpl", { enumerable: true, get: function () { return markets_mapper_1.MarketsMapperImpl; } });
9
- tslib_1.__exportStar(require("./domain/entities"), exports);
10
- tslib_1.__exportStar(require("./domain/entities/workspaces_container"), exports);
11
9
  exports.default = infosel_markets_component_1.default;
12
10
  //# sourceMappingURL=index.js.map
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/markets/src/index.ts"],"names":[],"mappings":";;;;AAAA,4DAAkC;AAElC,4GAAiE;AACjE,kEAEuC;AAKf,kGANtB,kCAAiB,OAMsB;AAHzC,4DAAkC;AAClC,iFAAuD;AAIvD,kBAAe,mCAAc,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/markets/src/index.ts"],"names":[],"mappings":";;;;AAAA,4DAAkC;AAElC,4GAAiE;AACjE,kEAEuC;AAEf,kGAHtB,kCAAiB,OAGsB;AAEzC,kBAAe,mCAAc,CAAC"}
@@ -1,5 +0,0 @@
1
- export default interface DeleteWorkspaceResponseModel {
2
- readonly deleteWorkspace?: {
3
- readonly nodesDeleted?: number;
4
- };
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=delete_workspace_response_model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"delete_workspace_response_model.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/delete_workspace_response_model.ts"],"names":[],"mappings":""}
@@ -1,15 +0,0 @@
1
- import WidgetModel from './widget_model';
2
- export default interface GetUserWorkspacesResponseModel {
3
- readonly userByConnectionId?: {
4
- readonly id?: string;
5
- readonly connectionId?: string;
6
- readonly workspaces?: {
7
- readonly id?: string;
8
- readonly name?: string;
9
- readonly order?: number;
10
- readonly createdAt?: string;
11
- readonly updatedAt?: string;
12
- }[];
13
- readonly widgets?: WidgetModel[];
14
- };
15
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=get_user_workspaces_response_model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get_user_workspaces_response_model.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/get_user_workspaces_response_model.ts"],"names":[],"mappings":""}
@@ -1,12 +0,0 @@
1
- import WidgetModel from './widget_model';
2
- export default interface ProjectModel {
3
- readonly project?: {
4
- readonly id?: string;
5
- readonly name?: string;
6
- readonly workspaces?: {
7
- readonly id?: null | string;
8
- readonly name?: null | string;
9
- readonly widgets?: null | WidgetModel[];
10
- }[];
11
- };
12
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=project_model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"project_model.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/project_model.ts"],"names":[],"mappings":""}
@@ -1,8 +0,0 @@
1
- import WidgetModel from './widget_model';
2
- export default interface ProjectWidgetsResponseModel {
3
- readonly project?: {
4
- readonly id?: string;
5
- readonly name?: string;
6
- readonly widgets?: null | WidgetModel[];
7
- };
8
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=project_widgets_response_model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"project_widgets_response_model.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/project_widgets_response_model.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import WorkspaceModel from './workspace_model';
2
- export default interface UserModel {
3
- readonly user?: {
4
- readonly id?: string;
5
- readonly workspaces?: WorkspaceModel[];
6
- };
7
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"user_model.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/user_model.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import WidgetModel from './widget_model';
2
- export default interface UserWidgetsResponseModel {
3
- readonly user?: {
4
- readonly id?: string;
5
- readonly widgets?: WidgetModel[];
6
- };
7
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=user_widgets_response_model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user_widgets_response_model.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/user_widgets_response_model.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export default interface WidgetBrokerageConcentrationConfigurationModel {
2
- readonly id: string;
3
- readonly scope: string;
4
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=widget_brokerage_concentration_configuration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"widget_brokerage_concentration_configuration.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/widget_brokerage_concentration_configuration.ts"],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- export default interface WidgetBrokerageParticipationConfigurationModel {
2
- readonly id: string;
3
- readonly broker: string;
4
- readonly instrumentType: string;
5
- readonly crosses: boolean;
6
- readonly purchases: boolean;
7
- readonly sales: boolean;
8
- readonly totals: boolean;
9
- readonly symbol: string;
10
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=widget_brokerage_participation_configuration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"widget_brokerage_participation_configuration.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/widget_brokerage_participation_configuration.ts"],"names":[],"mappings":""}
@@ -1,11 +0,0 @@
1
- export default interface WidgetBrokerageTradesConfigurationModel {
2
- readonly id: string;
3
- readonly scope: string;
4
- readonly broker: string;
5
- readonly symbol: string;
6
- readonly concertationType: string;
7
- readonly limit: string;
8
- readonly offset: string;
9
- readonly operationType: string;
10
- readonly order: string;
11
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=widget_brokerage_trades_configuration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"widget_brokerage_trades_configuration.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/widget_brokerage_trades_configuration.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export default interface WidgetChartConfigurationModel {
2
- readonly id: string;
3
- readonly globalConfiguration: string;
4
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=widget_chart_configuration_model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"widget_chart_configuration_model.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/widget_chart_configuration_model.ts"],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- export default interface WidgetDecreedSearchConfigurationModel {
2
- readonly id: string;
3
- readonly scope: string;
4
- readonly endDate: string;
5
- readonly issuer: string;
6
- readonly limit: number;
7
- readonly offset: number;
8
- readonly startDate: string;
9
- readonly type: string;
10
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=widget_decreed_search_configuration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"widget_decreed_search_configuration.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/widget_decreed_search_configuration.ts"],"names":[],"mappings":""}
@@ -1,14 +0,0 @@
1
- export default interface WidgetDynamicTableConfigurationModel {
2
- period: number;
3
- instrumentLimit: number;
4
- field: string;
5
- condition: string;
6
- marketTypeId: number;
7
- valueTypeIds: number[];
8
- exchangeId: number;
9
- scope: string;
10
- hasActivity: string;
11
- isFiltered: string;
12
- operatingCompany: string;
13
- isYields: boolean;
14
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=widget_dynamic_table_configuration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"widget_dynamic_table_configuration.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/widget_dynamic_table_configuration.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- export default interface WidgetIndicesComponentsConfigurationModel {
2
- readonly id: string;
3
- readonly scope: string;
4
- readonly component: string;
5
- readonly sector: string;
6
- readonly type: string;
7
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=widget_indices_components_configuration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"widget_indices_components_configuration.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/widget_indices_components_configuration.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- export default interface WidgetLayoutModel {
2
- readonly x?: null | number;
3
- readonly y?: null | number;
4
- readonly draggable?: null | boolean;
5
- readonly resizable?: null | boolean;
6
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=widget_layout_model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"widget_layout_model.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/widget_layout_model.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export default interface WidgetMarketTotalConfigurationModel {
2
- readonly id: string;
3
- readonly scope: string;
4
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=widget_market_total_configuration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"widget_market_total_configuration.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/widget_market_total_configuration.ts"],"names":[],"mappings":""}
@@ -1,33 +0,0 @@
1
- import InstrumentModel from './instrument_model';
2
- import WidgetBrokerageConcentrationConfigurationModel from './widget_brokerage_concentration_configuration';
3
- import WidgetBrokerageParticipationConfigurationModel from './widget_brokerage_participation_configuration';
4
- import WidgetBrokerageTradesConfigurationModel from './widget_brokerage_trades_configuration';
5
- import WidgetChartConfigurationModel from './widget_chart_configuration_model';
6
- import WidgetDecreedSearchConfigurationModel from './widget_decreed_search_configuration';
7
- import WidgetDynamicTableConfigurationModel from './widget_dynamic_table_configuration';
8
- import WidgetIndicesComponentsConfigurationModel from './widget_indices_components_configuration';
9
- import WidgetLayoutModel from './widget_layout_model';
10
- import WidgetMarketTotalConfigurationModel from './widget_market_total_configuration';
11
- import WidgetSizeModel from './widget_size_model';
12
- import WidgetTableColumnsModel from './widget_table_column_model';
13
- import WidgetTickerConfigurationModel from './widget_ticker_configuration';
14
- import WidgetTradedPackagesConfigurationModel from './widget_traded_packages_configuration';
15
- export default interface WidgetModel {
16
- readonly id?: null | string;
17
- readonly name?: null | string;
18
- readonly type?: null | string;
19
- readonly instruments?: null | InstrumentModel[];
20
- readonly size?: null | WidgetSizeModel;
21
- readonly layout?: null | WidgetLayoutModel;
22
- readonly tableColumns?: null | WidgetTableColumnsModel[];
23
- readonly tickerConfiguration?: null | WidgetTickerConfigurationModel;
24
- readonly dynamicTableConfiguration?: null | WidgetDynamicTableConfigurationModel;
25
- readonly chartConfiguration?: null | WidgetChartConfigurationModel;
26
- readonly marketTotalConfiguration?: null | WidgetMarketTotalConfigurationModel;
27
- readonly tradedPackagesConfiguration?: null | WidgetTradedPackagesConfigurationModel;
28
- readonly brokerageTradesConfiguration?: null | WidgetBrokerageTradesConfigurationModel;
29
- readonly brokerageConcentrationConfiguration?: null | WidgetBrokerageConcentrationConfigurationModel;
30
- readonly brokerageParticipationConfiguration?: null | WidgetBrokerageParticipationConfigurationModel;
31
- readonly decreedRightsSearcherConfiguration?: null | WidgetDecreedSearchConfigurationModel;
32
- readonly indicesComponentsConfiguration?: null | WidgetIndicesComponentsConfigurationModel;
33
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=widget_model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"widget_model.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/widget_model.ts"],"names":[],"mappings":""}
@@ -1,14 +0,0 @@
1
- export default interface WidgetSizeModel {
2
- readonly id?: null | string;
3
- readonly width?: null | number;
4
- readonly height?: null | number;
5
- readonly minWidth?: null | number;
6
- readonly minHeight?: null | number;
7
- readonly maxWidth?: null | number;
8
- readonly maxHeight?: null | number;
9
- readonly x?: null | number;
10
- readonly y?: null | number;
11
- readonly maxyHeight?: null | number;
12
- readonly draggable?: null | boolean;
13
- readonly resizable?: null | boolean;
14
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=widget_size_model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"widget_size_model.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/widget_size_model.ts"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- export interface WidgetTableColumnsFormatModel {
2
- readonly format?: null | 'number' | 'percentage' | 'text' | 'time' | 'date' | 'currency';
3
- readonly decimals?: null | number;
4
- readonly formatTime?: null | string;
5
- readonly formatDate?: null | string;
6
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=widget_table_column_format_model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"widget_table_column_format_model.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/widget_table_column_format_model.ts"],"names":[],"mappings":""}
@@ -1,8 +0,0 @@
1
- export default interface WidgetTableColumnsModel {
2
- readonly id?: null | string;
3
- readonly field?: null | string;
4
- readonly description?: null | string;
5
- readonly visible?: null | boolean;
6
- readonly active?: null | boolean;
7
- readonly format?: null | string;
8
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=widget_table_column_model.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"widget_table_column_model.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/widget_table_column_model.ts"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- export default interface WidgetTickerConfigurationModel {
2
- readonly id?: null | string;
3
- readonly position?: null | 'bottom' | 'top';
4
- readonly size?: null | 'small' | 'large';
5
- readonly visible?: null | boolean;
6
- readonly speed?: null | number;
7
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=widget_ticker_configuration.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"widget_ticker_configuration.js","sourceRoot":"","sources":["../../../../../../packages/markets/src/data/models/widget_ticker_configuration.ts"],"names":[],"mappings":""}
@@ -1,4 +0,0 @@
1
- export default interface WidgetTradedPackagesConfigurationModel {
2
- readonly id: string;
3
- readonly scope: string;
4
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=widget_traded_packages_configuration.js.map