@orbis-systems/orbis-api-clients 0.7.17 → 0.7.19

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 (43) hide show
  1. package/dist/aesmidas/index.d.ts +68 -68
  2. package/dist/aesmidas/index.d.ts.map +1 -1
  3. package/dist/aesmidas/index.esm.js +1 -1
  4. package/dist/aesmidas/index.esm.js.map +1 -1
  5. package/dist/aesmidas/index.js +1 -1
  6. package/dist/aesmidas/index.js.map +1 -1
  7. package/dist/bridgewise/index.d.ts +884 -884
  8. package/dist/bridgewise/index.d.ts.map +1 -1
  9. package/dist/bridgewise/index.esm.js +1 -1
  10. package/dist/bridgewise/index.esm.js.map +1 -1
  11. package/dist/bridgewise/index.js +1 -1
  12. package/dist/bridgewise/index.js.map +1 -1
  13. package/dist/insight/index.d.ts +220 -193
  14. package/dist/insight/index.d.ts.map +1 -1
  15. package/dist/insight/index.esm.js +1 -1
  16. package/dist/insight/index.esm.js.map +1 -1
  17. package/dist/insight/index.js +1 -1
  18. package/dist/insight/index.js.map +1 -1
  19. package/dist/middleware/index.d.ts +99 -99
  20. package/dist/middleware/index.d.ts.map +1 -1
  21. package/dist/middleware/index.esm.js +1 -1
  22. package/dist/middleware/index.esm.js.map +1 -1
  23. package/dist/middleware/index.js +1 -1
  24. package/dist/middleware/index.js.map +1 -1
  25. package/dist/orbis/index.d.ts +3863 -3863
  26. package/dist/orbis/index.d.ts.map +1 -1
  27. package/dist/orbis/index.esm.js +1 -1
  28. package/dist/orbis/index.esm.js.map +1 -1
  29. package/dist/orbis/index.js +1 -1
  30. package/dist/orbis/index.js.map +1 -1
  31. package/dist/uma/index.d.ts +618 -618
  32. package/dist/uma/index.d.ts.map +1 -1
  33. package/dist/uma/index.esm.js +1 -1
  34. package/dist/uma/index.esm.js.map +1 -1
  35. package/dist/uma/index.js +1 -1
  36. package/dist/uma/index.js.map +1 -1
  37. package/package.json +4 -13
  38. package/dist/zerohash/index.d.ts +0 -15498
  39. package/dist/zerohash/index.d.ts.map +0 -1
  40. package/dist/zerohash/index.esm.js +0 -2
  41. package/dist/zerohash/index.esm.js.map +0 -1
  42. package/dist/zerohash/index.js +0 -2
  43. package/dist/zerohash/index.js.map +0 -1
@@ -757,7 +757,8 @@ export interface InsightEarningReleasesRequest {
757
757
  exchanges?: string[];
758
758
  /** @example true */
759
759
  load_quotes?: boolean;
760
- paging: InsightPaging;
760
+ /** Paging is required if LoadQuotes is true */
761
+ paging?: InsightPaging;
761
762
  /** @example ["AAPL","GOOGL"] */
762
763
  symbols?: string[];
763
764
  }
@@ -3828,6 +3829,11 @@ export interface InsightRemoveMarketDateRequest {
3828
3829
  market_code: string;
3829
3830
  /** @example "2023-01-01" */
3830
3831
  open_date: string;
3832
+ /**
3833
+ * Optional: if provided, only the entry with this open_time will be removed
3834
+ * @example "09:30"
3835
+ */
3836
+ open_time?: string;
3831
3837
  }
3832
3838
  export interface InsightRemoveRewrittenFieldValueRequest {
3833
3839
  /** @example "Removed" */
@@ -4147,6 +4153,7 @@ export interface InsightTagShortInfo {
4147
4153
  }
4148
4154
  export interface InsightTickerData {
4149
4155
  historic_volatility: number;
4156
+ risk_free_rate: number;
4150
4157
  ticker: string;
4151
4158
  }
4152
4159
  export interface InsightTickerSeasonality {
@@ -5153,6 +5160,26 @@ export class Earnings<HandleError extends boolean = boolean> {
5153
5160
  * @secure
5154
5161
  */
5155
5162
  getEarningsCalendar(filter: InsightEarningReleasesRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightEarningReleasesResponse, HandleError>>;
5163
+ /**
5164
+ * @description get earnings releases count per day
5165
+ * @tags Earnings
5166
+ * @name GetEarningsReleasesCountPerDay
5167
+ * @summary get earnings releases count per day
5168
+ * @request GET:/earnings-releases
5169
+ * @secure
5170
+ */
5171
+ getEarningsReleasesCountPerDay(query?: {
5172
+ /**
5173
+ * Start date in format YYYY-MM-DD
5174
+ * @example ""2024-01-01""
5175
+ */
5176
+ start_date?: string;
5177
+ /**
5178
+ * End date in format YYYY-MM-DD
5179
+ * @example ""2024-01-31""
5180
+ */
5181
+ end_date?: string;
5182
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<Record<string, number>, HandleError>>;
5156
5183
  }
5157
5184
  export class FixedIncome<HandleError extends boolean = boolean> {
5158
5185
  protected readonly apiClient: JwtClient<HandleError>;
@@ -5449,19 +5476,6 @@ export class StockScreener<HandleError extends boolean = boolean> {
5449
5476
  */
5450
5477
  getTopSymbols(input: InsightGetTopSymbolsV1Request, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightStockScreenerResponse, HandleError>>;
5451
5478
  }
5452
- export class Intraday<HandleError extends boolean = boolean> {
5453
- protected readonly apiClient: JwtClient<HandleError>;
5454
- constructor(apiClient: JwtClient<HandleError>);
5455
- /**
5456
- * @description Returns an array of intraday chart data values for the given ticker.
5457
- * @tags Intraday
5458
- * @name IntradayQuotes
5459
- * @summary Get an array of intraday chart data values for the given ticker
5460
- * @request POST:/intraday/quotes
5461
- * @secure
5462
- */
5463
- intradayQuotes(filter: InsightIntradayRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightIntradayResponse[], HandleError>>;
5464
- }
5465
5479
  export class Quotes<HandleError extends boolean = boolean> {
5466
5480
  protected readonly apiClient: JwtClient<HandleError>;
5467
5481
  constructor(apiClient: JwtClient<HandleError>);
@@ -5501,6 +5515,19 @@ export class Quotes<HandleError extends boolean = boolean> {
5501
5515
  symbols: string;
5502
5516
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightEquityDataResponse[], HandleError>>;
5503
5517
  }
5518
+ export class Intraday<HandleError extends boolean = boolean> {
5519
+ protected readonly apiClient: JwtClient<HandleError>;
5520
+ constructor(apiClient: JwtClient<HandleError>);
5521
+ /**
5522
+ * @description Returns an array of intraday chart data values for the given ticker.
5523
+ * @tags Intraday
5524
+ * @name IntradayQuotes
5525
+ * @summary Get an array of intraday chart data values for the given ticker
5526
+ * @request POST:/intraday/quotes
5527
+ * @secure
5528
+ */
5529
+ intradayQuotes(filter: InsightIntradayRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightIntradayResponse[], HandleError>>;
5530
+ }
5504
5531
  export class PreIpoCompanies<HandleError extends boolean = boolean> {
5505
5532
  protected readonly apiClient: JwtClient<HandleError>;
5506
5533
  constructor(apiClient: JwtClient<HandleError>);
@@ -5949,7 +5976,7 @@ export class MarketDates<HandleError extends boolean = boolean> {
5949
5976
  * @request DELETE:/market-dates
5950
5977
  * @secure
5951
5978
  */
5952
- removeMarketDate(market: InsightRemoveMarketDateRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
5979
+ removeMarketDate(input: InsightRemoveMarketDateRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
5953
5980
  /**
5954
5981
  * @description Get market dates history
5955
5982
  * @tags MarketDates
@@ -5999,7 +6026,7 @@ export class MarketDates<HandleError extends boolean = boolean> {
5999
6026
  * @request GET:/market-dates/markets/{market}
6000
6027
  * @secure
6001
6028
  */
6002
- getMarket(market: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightMarket, HandleError>>;
6029
+ getMarket(market: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightMarketWithSchedule, HandleError>>;
6003
6030
  /**
6004
6031
  * @description Remove market
6005
6032
  * @tags MarketDates
@@ -6009,6 +6036,18 @@ export class MarketDates<HandleError extends boolean = boolean> {
6009
6036
  * @secure
6010
6037
  */
6011
6038
  removeMarket(market: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
6039
+ /**
6040
+ * @description Get market schedules
6041
+ * @tags MarketDates
6042
+ * @name GetMarketSchedules
6043
+ * @summary Get market schedules
6044
+ * @request GET:/market-dates/schedule
6045
+ * @secure
6046
+ */
6047
+ getMarketSchedules(query?: {
6048
+ /** Market codes, comma separated */
6049
+ market?: string;
6050
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightGetMarketScheduleResponse[][], HandleError>>;
6012
6051
  /**
6013
6052
  * @description CreateOrUpdateMarketSchedule market schedule
6014
6053
  * @tags MarketDates
@@ -6036,18 +6075,6 @@ export class MarketDates<HandleError extends boolean = boolean> {
6036
6075
  * @secure
6037
6076
  */
6038
6077
  removeMarketSchedule(market: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<void, HandleError>>;
6039
- /**
6040
- * @description Get market schedules
6041
- * @tags MarketDates
6042
- * @name GetMarketSchedules
6043
- * @summary Get market schedules
6044
- * @request GET:/market-dates/schedules
6045
- * @secure
6046
- */
6047
- getMarketSchedules(query?: {
6048
- /** Market codes, comma separated */
6049
- market?: string;
6050
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightGetMarketScheduleResponse[][], HandleError>>;
6051
6078
  /**
6052
6079
  * @description Get todays market hours
6053
6080
  * @tags MarketDates
@@ -6207,6 +6234,50 @@ export class News<HandleError extends boolean = boolean> {
6207
6234
  */
6208
6235
  newsAvailableTags(filter: InsightHelpRequestWithSymbol, config?: RequestConfig<HandleError>): Promise<ClientResponse<string[], HandleError>>;
6209
6236
  }
6237
+ export class OptionGreeks<HandleError extends boolean = boolean> {
6238
+ protected readonly apiClient: JwtClient<HandleError>;
6239
+ constructor(apiClient: JwtClient<HandleError>);
6240
+ /**
6241
+ * @description Returns calculated matrix
6242
+ * @tags OptionGreeks
6243
+ * @name OgCalculateMatrix
6244
+ * @summary Calculate matrix
6245
+ * @request POST:/og/calculate-matrix
6246
+ * @secure
6247
+ */
6248
+ ogCalculateMatrix(filter: InsightCalculateMatrixParamsRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightCalculateMatrixResponse, HandleError>>;
6249
+ /**
6250
+ * @description Returns calculated params
6251
+ * @tags OptionGreeks
6252
+ * @name OgCalculateParams
6253
+ * @summary Calculate params
6254
+ * @request POST:/og/calculate-params
6255
+ * @secure
6256
+ */
6257
+ ogCalculateParams(filter: InsightCalculateParamsRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightCalculateParamsResponse, HandleError>>;
6258
+ }
6259
+ export class Ownerships<HandleError extends boolean = boolean> {
6260
+ protected readonly apiClient: JwtClient<HandleError>;
6261
+ constructor(apiClient: JwtClient<HandleError>);
6262
+ /**
6263
+ * @description get ownerships by id datadata
6264
+ * @tags Ownerships
6265
+ * @name GetOwnershipsByIdData
6266
+ * @summary get ownerships by id data
6267
+ * @request POST:/ownerships
6268
+ * @secure
6269
+ */
6270
+ getOwnershipsByIdData(filter: InsightGetOwnershipsByIDRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightGetOwnershipsBySymbolResponse, HandleError>>;
6271
+ /**
6272
+ * @description get ownerships by symbol data
6273
+ * @tags Ownerships
6274
+ * @name GetOwnershipsBySymbolData
6275
+ * @summary get ownerships by symbol data
6276
+ * @request POST:/symbol-ownerships
6277
+ * @secure
6278
+ */
6279
+ getOwnershipsBySymbolData(filter: InsightGetOwnershipsBySymbolWithoutSearchQueryRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightGetOwnershipsBySymbolResponse, HandleError>>;
6280
+ }
6210
6281
  export class Passport<HandleError extends boolean = boolean> {
6211
6282
  protected readonly apiClient: JwtClient<HandleError>;
6212
6283
  constructor(apiClient: JwtClient<HandleError>);
@@ -6265,49 +6336,134 @@ export class Passport<HandleError extends boolean = boolean> {
6265
6336
  */
6266
6337
  passportSearchArticle(filter: InsightSearchArticleRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightArticle[], HandleError>>;
6267
6338
  }
6268
- export class Ownerships<HandleError extends boolean = boolean> {
6339
+ export class Public<HandleError extends boolean = boolean> {
6269
6340
  protected readonly apiClient: JwtClient<HandleError>;
6270
6341
  constructor(apiClient: JwtClient<HandleError>);
6271
6342
  /**
6272
- * @description get ownerships by id datadata
6273
- * @tags Ownerships
6274
- * @name GetOwnershipsByIdData
6275
- * @summary get ownerships by id data
6276
- * @request POST:/ownerships
6343
+ * @description Calculate estimated returns for selected symbols. Uses split adjusted prices
6344
+ * @tags Public
6345
+ * @name CalculateEstimatedReturns
6346
+ * @summary Calculate Estimated Returns
6347
+ * @request GET:/public/estimated-returns
6277
6348
  * @secure
6278
6349
  */
6279
- getOwnershipsByIdData(filter: InsightGetOwnershipsByIDRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightGetOwnershipsBySymbolResponse, HandleError>>;
6350
+ calculateEstimatedReturns(query: {
6351
+ /** Single symbol */
6352
+ symbol: string;
6353
+ /**
6354
+ * Non-zero amount
6355
+ * @format float64
6356
+ */
6357
+ amount: number;
6358
+ /** Start date for calculations */
6359
+ start_date: string;
6360
+ /** End date for calculations */
6361
+ end_date: string;
6362
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightCalculateEstimatedReturnsResponse, HandleError>>;
6280
6363
  /**
6281
- * @description get ownerships by symbol data
6282
- * @tags Ownerships
6283
- * @name GetOwnershipsBySymbolData
6284
- * @summary get ownerships by symbol data
6285
- * @request POST:/symbol-ownerships
6364
+ * @description Returns an expert forecast
6365
+ * @tags Public
6366
+ * @name ExpertForecast
6367
+ * @summary Expert forecast
6368
+ * @request GET:/public/expert-forecast
6286
6369
  * @secure
6287
6370
  */
6288
- getOwnershipsBySymbolData(filter: InsightGetOwnershipsBySymbolWithoutSearchQueryRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightGetOwnershipsBySymbolResponse, HandleError>>;
6289
- }
6290
- export class OptionGreeks<HandleError extends boolean = boolean> {
6291
- protected readonly apiClient: JwtClient<HandleError>;
6292
- constructor(apiClient: JwtClient<HandleError>);
6371
+ expertForecast(query: {
6372
+ /** Comma separated symbols */
6373
+ symbols: string;
6374
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightExpertForecast[][], HandleError>>;
6293
6375
  /**
6294
- * @description Returns calculated matrix
6295
- * @tags OptionGreeks
6296
- * @name OgCalculateMatrix
6297
- * @summary Calculate matrix
6298
- * @request POST:/og/calculate-matrix
6376
+ * @description get fundamentals by symbol data
6377
+ * @tags Public
6378
+ * @name GetPublicFundamentalsBySymbolData
6379
+ * @summary get fundamentals by symbol data
6380
+ * @request GET:/public/fundamentals/{symbol}
6299
6381
  * @secure
6300
6382
  */
6301
- ogCalculateMatrix(filter: InsightCalculateMatrixParamsRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightCalculateMatrixResponse, HandleError>>;
6383
+ getPublicFundamentalsBySymbolData(symbol: string, query: {
6384
+ /** Annual or quarterly */
6385
+ mode: string;
6386
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightGetSymbolFundamentalsAnnualResponse, HandleError>>;
6302
6387
  /**
6303
- * @description Returns calculated params
6304
- * @tags OptionGreeks
6305
- * @name OgCalculateParams
6306
- * @summary Calculate params
6307
- * @request POST:/og/calculate-params
6388
+ * @description Daily price history
6389
+ * @tags Public
6390
+ * @name DailyPriceHistory
6391
+ * @summary Daily price history
6392
+ * @request GET:/public/price-history/daily
6308
6393
  * @secure
6309
6394
  */
6310
- ogCalculateParams(filter: InsightCalculateParamsRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightCalculateParamsResponse, HandleError>>;
6395
+ dailyPriceHistory(query: {
6396
+ /** Single symbol */
6397
+ symbol: string;
6398
+ /** Target date */
6399
+ date: string;
6400
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightDailyPriceHistoryResponse, HandleError>>;
6401
+ /**
6402
+ * @description Public quote profile
6403
+ * @tags Public
6404
+ * @name PublicQuoteProfile
6405
+ * @summary Public quote profile
6406
+ * @request GET:/public/quote-profile/{symbol}
6407
+ * @secure
6408
+ */
6409
+ publicQuoteProfile(symbol: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightPublicQuoteProfile, HandleError>>;
6410
+ /**
6411
+ * @description get ratios by symbol data
6412
+ * @tags Public
6413
+ * @name GetPublicRatiosBySymbolData
6414
+ * @summary get ratios by symbol data
6415
+ * @request GET:/public/ratios/{symbol}
6416
+ * @secure
6417
+ */
6418
+ getPublicRatiosBySymbolData(symbol: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightRatios, HandleError>>;
6419
+ /**
6420
+ * @description find a symbol by name or description
6421
+ * @tags Public
6422
+ * @name QuoteFundamentalsSearch
6423
+ * @summary find a symbol by name or description
6424
+ * @request GET:/public/symbol-search
6425
+ * @secure
6426
+ */
6427
+ quoteFundamentalsSearch(query: {
6428
+ /** Search query */
6429
+ search_query: string;
6430
+ /** how many records to return. Max value is 50 */
6431
+ limit: number;
6432
+ /** how many records to skip */
6433
+ offset: number;
6434
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightQuoteFundamentalsSearchResponse, HandleError>>;
6435
+ /**
6436
+ * @description Get top gainers
6437
+ * @tags Public
6438
+ * @name TopGainers
6439
+ * @summary Top Gainers
6440
+ * @request GET:/public/top-gainers
6441
+ * @secure
6442
+ */
6443
+ topGainers(query: {
6444
+ /** sort direction - asc or desc */
6445
+ order_direction?: string;
6446
+ /** how many records to return. Max value is 50 */
6447
+ limit: number;
6448
+ /** how many records to skip */
6449
+ offset: number;
6450
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightTopStocksResponse, HandleError>>;
6451
+ /**
6452
+ * @description Get top stocks
6453
+ * @tags Public
6454
+ * @name TopStocks
6455
+ * @summary Top Stocks
6456
+ * @request GET:/public/top-stocks
6457
+ * @secure
6458
+ */
6459
+ topStocks(query: {
6460
+ /** EQUITY|ETF|CRYPTO */
6461
+ stock_type: InsightTopStocksParamsStockTypeEnum;
6462
+ /** how many records to return. Max value is 50 */
6463
+ limit: number;
6464
+ /** how many records to skip */
6465
+ offset: number;
6466
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightTopStocksResponse, HandleError>>;
6311
6467
  }
6312
6468
  export class AlphaTools<HandleError extends boolean = boolean> {
6313
6469
  protected readonly apiClient: JwtClient<HandleError>;
@@ -6331,19 +6487,6 @@ export class AlphaTools<HandleError extends boolean = boolean> {
6331
6487
  */
6332
6488
  getSeasonality(filter: InsightSeasonalityRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightSeasonalityResponse, HandleError>>;
6333
6489
  }
6334
- export class UsageTracking<HandleError extends boolean = boolean> {
6335
- protected readonly apiClient: JwtClient<HandleError>;
6336
- constructor(apiClient: JwtClient<HandleError>);
6337
- /**
6338
- * @description get usage date per branch for a period
6339
- * @tags UsageTracking
6340
- * @name GetUsageData
6341
- * @summary get insight usage data
6342
- * @request POST:/tracking/usage
6343
- * @secure
6344
- */
6345
- getUsageData(filter: InsightGetUsageDataRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightUsageDataEntry[], HandleError>>;
6346
- }
6347
6490
  export class TipRank<HandleError extends boolean = boolean> {
6348
6491
  protected readonly apiClient: JwtClient<HandleError>;
6349
6492
  constructor(apiClient: JwtClient<HandleError>);
@@ -6710,134 +6853,18 @@ export class TipRank<HandleError extends boolean = boolean> {
6710
6853
  Authorization?: string;
6711
6854
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightTrendingStocksResponse[], HandleError>>;
6712
6855
  }
6713
- export class Public<HandleError extends boolean = boolean> {
6856
+ export class UsageTracking<HandleError extends boolean = boolean> {
6714
6857
  protected readonly apiClient: JwtClient<HandleError>;
6715
6858
  constructor(apiClient: JwtClient<HandleError>);
6716
6859
  /**
6717
- * @description Calculate estimated returns for selected symbols. Uses split adjusted prices
6718
- * @tags Public
6719
- * @name CalculateEstimatedReturns
6720
- * @summary Calculate Estimated Returns
6721
- * @request GET:/public/estimated-returns
6722
- * @secure
6723
- */
6724
- calculateEstimatedReturns(query: {
6725
- /** Single symbol */
6726
- symbol: string;
6727
- /**
6728
- * Non-zero amount
6729
- * @format float64
6730
- */
6731
- amount: number;
6732
- /** Start date for calculations */
6733
- start_date: string;
6734
- /** End date for calculations */
6735
- end_date: string;
6736
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightCalculateEstimatedReturnsResponse, HandleError>>;
6737
- /**
6738
- * @description Returns an expert forecast
6739
- * @tags Public
6740
- * @name ExpertForecast
6741
- * @summary Expert forecast
6742
- * @request GET:/public/expert-forecast
6743
- * @secure
6744
- */
6745
- expertForecast(query: {
6746
- /** Comma separated symbols */
6747
- symbols: string;
6748
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightExpertForecast[][], HandleError>>;
6749
- /**
6750
- * @description get fundamentals by symbol data
6751
- * @tags Public
6752
- * @name GetPublicFundamentalsBySymbolData
6753
- * @summary get fundamentals by symbol data
6754
- * @request GET:/public/fundamentals/{symbol}
6755
- * @secure
6756
- */
6757
- getPublicFundamentalsBySymbolData(symbol: string, query: {
6758
- /** Annual or quarterly */
6759
- mode: string;
6760
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightGetSymbolFundamentalsAnnualResponse, HandleError>>;
6761
- /**
6762
- * @description Daily price history
6763
- * @tags Public
6764
- * @name DailyPriceHistory
6765
- * @summary Daily price history
6766
- * @request GET:/public/price-history/daily
6767
- * @secure
6768
- */
6769
- dailyPriceHistory(query: {
6770
- /** Single symbol */
6771
- symbol: string;
6772
- /** Target date */
6773
- date: string;
6774
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightDailyPriceHistoryResponse, HandleError>>;
6775
- /**
6776
- * @description Public quote profile
6777
- * @tags Public
6778
- * @name PublicQuoteProfile
6779
- * @summary Public quote profile
6780
- * @request GET:/public/quote-profile/{symbol}
6781
- * @secure
6782
- */
6783
- publicQuoteProfile(symbol: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightPublicQuoteProfile, HandleError>>;
6784
- /**
6785
- * @description get ratios by symbol data
6786
- * @tags Public
6787
- * @name GetPublicRatiosBySymbolData
6788
- * @summary get ratios by symbol data
6789
- * @request GET:/public/ratios/{symbol}
6790
- * @secure
6791
- */
6792
- getPublicRatiosBySymbolData(symbol: string, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightRatios, HandleError>>;
6793
- /**
6794
- * @description find a symbol by name or description
6795
- * @tags Public
6796
- * @name QuoteFundamentalsSearch
6797
- * @summary find a symbol by name or description
6798
- * @request GET:/public/symbol-search
6799
- * @secure
6800
- */
6801
- quoteFundamentalsSearch(query: {
6802
- /** Search query */
6803
- search_query: string;
6804
- /** how many records to return. Max value is 50 */
6805
- limit: number;
6806
- /** how many records to skip */
6807
- offset: number;
6808
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightQuoteFundamentalsSearchResponse, HandleError>>;
6809
- /**
6810
- * @description Get top gainers
6811
- * @tags Public
6812
- * @name TopGainers
6813
- * @summary Top Gainers
6814
- * @request GET:/public/top-gainers
6815
- * @secure
6816
- */
6817
- topGainers(query: {
6818
- /** sort direction - asc or desc */
6819
- order_direction?: string;
6820
- /** how many records to return. Max value is 50 */
6821
- limit: number;
6822
- /** how many records to skip */
6823
- offset: number;
6824
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightTopStocksResponse, HandleError>>;
6825
- /**
6826
- * @description Get top stocks
6827
- * @tags Public
6828
- * @name TopStocks
6829
- * @summary Top Stocks
6830
- * @request GET:/public/top-stocks
6860
+ * @description get usage date per branch for a period
6861
+ * @tags UsageTracking
6862
+ * @name GetUsageData
6863
+ * @summary get insight usage data
6864
+ * @request POST:/tracking/usage
6831
6865
  * @secure
6832
6866
  */
6833
- topStocks(query: {
6834
- /** EQUITY|ETF|CRYPTO */
6835
- stock_type: InsightTopStocksParamsStockTypeEnum;
6836
- /** how many records to return. Max value is 50 */
6837
- limit: number;
6838
- /** how many records to skip */
6839
- offset: number;
6840
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightTopStocksResponse, HandleError>>;
6867
+ getUsageData(filter: InsightGetUsageDataRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightUsageDataEntry[], HandleError>>;
6841
6868
  }
6842
6869
  export interface InsightBeforeAndAfterV2 {
6843
6870
  after?: string;