@orbis-systems/orbis-api-clients 1.1.0 → 1.3.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 (37) hide show
  1. package/dist/aesmidas/index.d.ts +84 -1
  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 +7856 -3521
  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 +57 -32
  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 +121 -67
  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 +42 -0
  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 +60 -2
  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 +1 -1
@@ -174,7 +174,7 @@ export interface InsightQuote {
174
174
  calendar_year_low_date: string;
175
175
  /**
176
176
  * Change and ChangePercent are new additions to quote
177
- * We used to calculate these fields ourselfs
177
+ * We used to calculate these fields ourselves
178
178
  */
179
179
  change: number;
180
180
  change_percent: number;
@@ -637,6 +637,10 @@ export interface InsightCreateContinentRequest {
637
637
  continents: InsightContinent[];
638
638
  }
639
639
  export interface InsightCreateCustomIndexRequest {
640
+ access_type: InsightCreateCustomIndexRequestAccessTypeEnum;
641
+ admin_users?: number[];
642
+ /** @example "branch_code" */
643
+ branch_code?: string;
640
644
  /**
641
645
  * @maxLength 1000
642
646
  * @example "description"
@@ -658,6 +662,8 @@ export interface InsightCreateCustomIndexRequest {
658
662
  * @example "private_name"
659
663
  */
660
664
  private_name: string;
665
+ /** @example "watchman_instance_id" */
666
+ watchman_instance_id?: string;
661
667
  }
662
668
  export interface InsightCreateFeaturedArticleConfigRequest {
663
669
  /** @example ["web","mobile"] */
@@ -772,6 +778,9 @@ export interface InsightCryptoLogosResponse {
772
778
  symbol: string;
773
779
  }
774
780
  export interface InsightCustomIndex {
781
+ access_type: string;
782
+ admin_users: number[];
783
+ branch_code: string;
775
784
  created_at: string;
776
785
  description: string;
777
786
  equities: string[];
@@ -780,6 +789,7 @@ export interface InsightCustomIndex {
780
789
  name: string;
781
790
  private_name: string;
782
791
  updated_at: string;
792
+ watchman_instance_id: string;
783
793
  }
784
794
  export interface InsightDailyPriceEntry {
785
795
  price: number;
@@ -909,6 +919,7 @@ export interface InsightExtendedFundData {
909
919
  fund_type: string;
910
920
  inverse: boolean;
911
921
  last_price: number;
922
+ /** Typo in leverage field name, should be leverage instead of levarage but changing it would be a breaking change */
912
923
  levarage: number;
913
924
  name: string;
914
925
  price_change: number;
@@ -951,10 +962,23 @@ export interface InsightFeaturedArticleSchedule {
951
962
  /** @example "2024-01-01T00:00:00Z" */
952
963
  start_time: string;
953
964
  }
965
+ export interface InsightFilterCustomIndex {
966
+ created_at?: string;
967
+ description?: string;
968
+ equities?: string[];
969
+ etfs?: string[];
970
+ id?: string;
971
+ name?: string;
972
+ updated_at?: string;
973
+ }
954
974
  export interface InsightFilterCustomIndexesRequest {
955
975
  paging: InsightPaging;
956
976
  symbols?: string[];
957
977
  }
978
+ export interface InsightFilterCustomIndexesResponse {
979
+ count?: number;
980
+ data?: InsightFilterCustomIndex[];
981
+ }
958
982
  export interface InsightFilteredCustomIndexResponse {
959
983
  created_at?: string;
960
984
  description?: string;
@@ -1699,7 +1723,7 @@ export interface InsightGetPreIPOCompanySPVsWithInvestorIDResponse {
1699
1723
  total_records: number;
1700
1724
  };
1701
1725
  }
1702
- export interface InsightGetProIPOCompabySPVWithInvestorIDResponse {
1726
+ export interface InsightGetProIPOCompanySPVWithInvestorIDResponse {
1703
1727
  all_in_price_per_share: number;
1704
1728
  close_date: string;
1705
1729
  co_managers: {
@@ -4553,6 +4577,10 @@ export interface InsightUnderwriteResponse {
4553
4577
  title: string;
4554
4578
  }
4555
4579
  export interface InsightUpdateCustomIndexRequest {
4580
+ access_type: InsightUpdateCustomIndexRequestAccessTypeEnum;
4581
+ admin_users?: number[];
4582
+ /** @example "branch_code" */
4583
+ branch_code?: string;
4556
4584
  /**
4557
4585
  * @maxLength 1000
4558
4586
  * @example "description"
@@ -4582,6 +4610,8 @@ export interface InsightUpdateCustomIndexRequest {
4582
4610
  * @example "private_name"
4583
4611
  */
4584
4612
  private_name: string;
4613
+ /** @example "watchman_instance_id" */
4614
+ watchman_instance_id?: string;
4585
4615
  }
4586
4616
  export interface InsightUpdateFeaturedArticlesRequest {
4587
4617
  /** @example "123e4567-e89b-12d3-a456-426614174000" */
@@ -4736,6 +4766,10 @@ export enum InsightCombinedProfileResponseFundTypeEnum {
4736
4766
  MF = "MF",
4737
4767
  INDEX = "INDEX"
4738
4768
  }
4769
+ export enum InsightCreateCustomIndexRequestAccessTypeEnum {
4770
+ Public = "public",
4771
+ Private = "private"
4772
+ }
4739
4773
  /** @example "normal" */
4740
4774
  export enum InsightCryptoLogoConvertedRequestConversionEnum {
4741
4775
  Original = "original",
@@ -4871,6 +4905,10 @@ export enum InsightSymbolLogoConvertedRequestConversionEnum {
4871
4905
  SquareStrictOrNormal = "square_strict_or_normal",
4872
4906
  BestMatch = "best_match"
4873
4907
  }
4908
+ export enum InsightUpdateCustomIndexRequestAccessTypeEnum {
4909
+ Public = "public",
4910
+ Private = "private"
4911
+ }
4874
4912
  /** filter by active status */
4875
4913
  export enum InsightGetPreIpoCompaniesParamsIsActiveEnum {
4876
4914
  True = "true",
@@ -5080,6 +5118,8 @@ export class CustomLists<HandleError extends boolean = boolean, Format extends C
5080
5118
  limit: number;
5081
5119
  /** how many records to skip */
5082
5120
  offset: number;
5121
+ /** access type - public or private */
5122
+ access_type?: string;
5083
5123
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightGetCustomIndexesResponse, HandleError, Format>>;
5084
5124
  /**
5085
5125
  * @description update custom list
@@ -5116,7 +5156,7 @@ export class CustomLists<HandleError extends boolean = boolean, Format extends C
5116
5156
  * @request POST:/custom-lists/filter
5117
5157
  * @secure
5118
5158
  */
5119
- filterCustomLists(filter: InsightFilterCustomIndexesRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightGetCustomIndexesResponse, HandleError, Format>>;
5159
+ filterCustomLists(filter: InsightFilterCustomIndexesRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightFilterCustomIndexesResponse, HandleError, Format>>;
5120
5160
  /**
5121
5161
  * @description get custom list with quotes
5122
5162
  * @tags Custom Lists
@@ -5631,6 +5671,8 @@ export class Funds<HandleError extends boolean = boolean, Format extends CaseFor
5631
5671
  * @secure
5632
5672
  */
5633
5673
  listOfEtfFunds(query?: {
5674
+ /** Category id */
5675
+ category?: string;
5634
5676
  /** Asset class id */
5635
5677
  asset_class?: string;
5636
5678
  /** Leverage ratios to filter by */
@@ -5679,6 +5721,8 @@ export class Funds<HandleError extends boolean = boolean, Format extends CaseFor
5679
5721
  * @secure
5680
5722
  */
5681
5723
  listOfEtnFunds(query?: {
5724
+ /** Category id */
5725
+ category?: string;
5682
5726
  /** Asset class id */
5683
5727
  asset_class?: string;
5684
5728
  /** Leverage ratios to filter by */
@@ -5726,10 +5770,7 @@ export class Funds<HandleError extends boolean = boolean, Format extends CaseFor
5726
5770
  * @request POST:/funds/funds-for-holding
5727
5771
  * @secure
5728
5772
  */
5729
- getFundsForHolding(filter: InsightGetFundsForHoldingRequest, headers?: {
5730
- /** Authorization */
5731
- Authorization?: string;
5732
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightGetFundsForHoldingResponse, HandleError, Format>>;
5773
+ getFundsForHolding(filter: InsightGetFundsForHoldingRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightGetFundsForHoldingResponse, HandleError, Format>>;
5733
5774
  /**
5734
5775
  * @description filter funds by params
5735
5776
  * @tags Funds
@@ -5738,10 +5779,7 @@ export class Funds<HandleError extends boolean = boolean, Format extends CaseFor
5738
5779
  * @request POST:/funds/screener
5739
5780
  * @secure
5740
5781
  */
5741
- fundScreener(filter: InsightFundScreenerRequest, headers?: {
5742
- /** Authorization */
5743
- Authorization?: string;
5744
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightFundScreenerResponse, HandleError, Format>>;
5782
+ fundScreener(filter: InsightFundScreenerRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightFundScreenerResponse, HandleError, Format>>;
5745
5783
  /**
5746
5784
  * @description get fund screener filters
5747
5785
  * @tags Funds
@@ -5764,6 +5802,8 @@ export class Funds<HandleError extends boolean = boolean, Format extends CaseFor
5764
5802
  limit: number;
5765
5803
  /** how many records to skip */
5766
5804
  offset: number;
5805
+ /** filter by fund type (e.g. ETF, MF) */
5806
+ fund_type?: string;
5767
5807
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightGetScreenerPresetsResponse, HandleError, Format>>;
5768
5808
  /**
5769
5809
  * @description update fund screener preset
@@ -5800,10 +5840,7 @@ export class Funds<HandleError extends boolean = boolean, Format extends CaseFor
5800
5840
  * @request POST:/funds/sector-screener
5801
5841
  * @secure
5802
5842
  */
5803
- fundSectorScreener(filter: InsightFundSectorScreenerRequest, headers?: {
5804
- /** Authorization */
5805
- Authorization?: string;
5806
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightFundScreenerResponse, HandleError, Format>>;
5843
+ fundSectorScreener(filter: InsightFundSectorScreenerRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightFundScreenerResponse, HandleError, Format>>;
5807
5844
  /**
5808
5845
  * @description get top funds
5809
5846
  * @tags Funds
@@ -5812,10 +5849,7 @@ export class Funds<HandleError extends boolean = boolean, Format extends CaseFor
5812
5849
  * @request POST:/funds/top
5813
5850
  * @secure
5814
5851
  */
5815
- getTopFunds(filter: InsightGetTopFundsRequest, headers?: {
5816
- /** Authorization */
5817
- Authorization?: string;
5818
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightGetTopFundsResponse, HandleError, Format>>;
5852
+ getTopFunds(filter: InsightGetTopFundsRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightGetTopFundsResponse, HandleError, Format>>;
5819
5853
  /**
5820
5854
  * @description get fund by symbol
5821
5855
  * @tags Funds
@@ -6621,7 +6655,7 @@ export class PreIpoCompanies<HandleError extends boolean = boolean, Format exten
6621
6655
  getInvestorByIdAndInvestorId(id: string, investorId: string, query?: {
6622
6656
  /** default is false, if true documents will be included in the response */
6623
6657
  include_documents?: boolean;
6624
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightGetProIPOCompabySPVWithInvestorIDResponse, HandleError, Format>>;
6658
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightGetProIPOCompanySPVWithInvestorIDResponse, HandleError, Format>>;
6625
6659
  /**
6626
6660
  * @description get pre ipo company spvs
6627
6661
  * @tags PreIPOCompanies
@@ -6977,10 +7011,7 @@ export class TipRank<HandleError extends boolean = boolean, Format extends CaseF
6977
7011
  * @request POST:/tipranks/analyst-portfolio
6978
7012
  * @secure
6979
7013
  */
6980
- tiprankPortfolios(filter: InsightPortfoliosRequest, headers?: {
6981
- /** Authorization */
6982
- Authorization?: string;
6983
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightPortfoliosResponse[], HandleError, Format>>;
7014
+ tiprankPortfolios(filter: InsightPortfoliosRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightPortfoliosResponse[], HandleError, Format>>;
6984
7015
  /**
6985
7016
  * @description Returns the analyst profile information
6986
7017
  * @tags TipRank
@@ -7166,10 +7197,7 @@ export class TipRank<HandleError extends boolean = boolean, Format extends CaseF
7166
7197
  * @request POST:/tipranks/live-feed
7167
7198
  * @secure
7168
7199
  */
7169
- tiprankLiveFeed(filter: InsightLiveFeedRequest, headers?: {
7170
- /** Authorization */
7171
- Authorization?: string;
7172
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightLiveFeedResponse[], HandleError, Format>>;
7200
+ tiprankLiveFeed(filter: InsightLiveFeedRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightLiveFeedResponse[], HandleError, Format>>;
7173
7201
  /**
7174
7202
  * @description Returns the latest news articles on the stock and their sentiment (bullish / neutral or bearish).
7175
7203
  * @tags TipRank
@@ -7309,10 +7337,7 @@ export class TipRank<HandleError extends boolean = boolean, Format extends CaseF
7309
7337
  * @request POST:/tipranks/trending-stocks
7310
7338
  * @secure
7311
7339
  */
7312
- tiprankTrendingStocks(filter: InsightTrendingStocksRequest, headers?: {
7313
- /** Authorization */
7314
- Authorization?: string;
7315
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightTrendingStocksResponse[], HandleError, Format>>;
7340
+ tiprankTrendingStocks(filter: InsightTrendingStocksRequest, config?: RequestConfig<HandleError>): Promise<ClientResponse<InsightTrendingStocksResponse[], HandleError, Format>>;
7316
7341
  }
7317
7342
  export class UsageTracking<HandleError extends boolean = boolean, Format extends CaseFormat = CaseFormat.Original> {
7318
7343
  protected readonly apiClient: JwtClient<HandleError, Format>;