@invezgo/sdk 2.0.1 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -93,6 +93,9 @@ class AnalysisResource {
93
93
  getShareholderClassifyTable(code, options) {
94
94
  return this.transport.request({ method: 'GET', route: '/analysis/shareholder/classify-table/{code}', cache: 'default', pathParams: { code } }, options);
95
95
  }
96
+ getFreeFloat(code, params, options) {
97
+ return this.transport.request({ method: 'GET', route: '/analysis/free-float/{code}', cache: 'default', pathParams: { code }, query: params }, options);
98
+ }
96
99
  getSummaryStock(code, params, options) {
97
100
  return this.transport.request({ method: 'GET', route: '/analysis/summary/stock/{code}', cache: 'default', pathParams: { code }, query: params }, options);
98
101
  }
@@ -174,6 +177,9 @@ class AnalysisResource {
174
177
  getKeystatChart(code, params, options) {
175
178
  return this.transport.request({ method: 'GET', route: '/analysis/keystat-chart/{code}', cache: 'default', pathParams: { code }, query: params }, options);
176
179
  }
180
+ getFlowOfFunds(code, params, options) {
181
+ return this.transport.request({ method: 'GET', route: '/analysis/flow-of-funds/{code}', cache: 'default', pathParams: { code }, query: params }, options);
182
+ }
177
183
  getCalendar(params, options) {
178
184
  return this.transport.request({ method: 'GET', route: '/analysis/calendar', cache: 'default', query: params }, options);
179
185
  }
@@ -533,7 +539,7 @@ function errorClassFor(status) {
533
539
  return InvezgoError;
534
540
  }
535
541
 
536
- const VERSION = '2.0.0';
542
+ const VERSION = '2.1.0';
537
543
  const DEFAULT_BASE_URL = 'https://api.invezgo.com';
538
544
  const PERSONAL_SEGMENTS = new Set(['watchlists', 'journals', 'portfolios', 'trades', 'alerts', 'screener']);
539
545
  const QUOTA_MESSAGE = /quota|kuota|monthly|bulanan/i;