@orbis-systems/orbis-api-clients 0.7.9 → 0.7.11

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 +136 -127
  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 +473 -464
  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 +440 -355
  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 +34 -34
  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 +845 -845
  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 +379 -379
  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/dist/zerohash/index.d.ts +142 -142
  38. package/dist/zerohash/index.d.ts.map +1 -1
  39. package/dist/zerohash/index.esm.js +1 -1
  40. package/dist/zerohash/index.esm.js.map +1 -1
  41. package/dist/zerohash/index.js +1 -1
  42. package/dist/zerohash/index.js.map +1 -1
  43. package/package.json +1 -1
@@ -628,6 +628,57 @@ declare class TransfersWires<HandleError extends boolean = boolean> {
628
628
  remoteDevice?: any;
629
629
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
630
630
  }
631
+ declare class TransfersPositions<HandleError extends boolean = boolean> {
632
+ protected readonly apiClient: JwtClient<HandleError>;
633
+ constructor(apiClient: JwtClient<HandleError>);
634
+ /**
635
+ * @tags Transfers Positions
636
+ * @name TransferRequest
637
+ * @summary Transfer request
638
+ * @request POST:/transfer/position/request
639
+ * @secure
640
+ */
641
+ transferRequest(data: {
642
+ deliverFrom?: {
643
+ /** @example 124 */
644
+ accountId?: number;
645
+ /** @example "ABC123456" */
646
+ accountNumber?: string;
647
+ };
648
+ deliverTo?: {
649
+ /** @example 456 */
650
+ accountId?: number;
651
+ /** @example "DEF123456" */
652
+ accountNumber?: string;
653
+ };
654
+ /** @example "NoPurpose|Gift" */
655
+ purpose?: any;
656
+ /** @example 1000 */
657
+ quantity?: any;
658
+ quote?: {
659
+ /** @example "IBM" */
660
+ symbol?: string;
661
+ };
662
+ /** @example "" */
663
+ reason?: any;
664
+ /** @example "0.0.0.0" */
665
+ remoteAddr?: any;
666
+ /** @example "Ultra fast proxy" */
667
+ remoteDevice?: any;
668
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
669
+ }
670
+ declare class TransfersBank<HandleError extends boolean = boolean> {
671
+ protected readonly apiClient: JwtClient<HandleError>;
672
+ constructor(apiClient: JwtClient<HandleError>);
673
+ /**
674
+ * @tags Transfers Bank
675
+ * @name FundTransfer
676
+ * @summary Fund transfer
677
+ * @request POST:/transfer/bank/{direction}
678
+ * @secure
679
+ */
680
+ fundTransfer(direction: string, data: any, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
681
+ }
631
682
  declare class TransfersJournals<HandleError extends boolean = boolean> {
632
683
  protected readonly apiClient: JwtClient<HandleError>;
633
684
  constructor(apiClient: JwtClient<HandleError>);
@@ -698,57 +749,6 @@ declare class TransfersJournals<HandleError extends boolean = boolean> {
698
749
  transferId?: any;
699
750
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
700
751
  }
701
- declare class TransfersPositions<HandleError extends boolean = boolean> {
702
- protected readonly apiClient: JwtClient<HandleError>;
703
- constructor(apiClient: JwtClient<HandleError>);
704
- /**
705
- * @tags Transfers Positions
706
- * @name TransferRequest
707
- * @summary Transfer request
708
- * @request POST:/transfer/position/request
709
- * @secure
710
- */
711
- transferRequest(data: {
712
- deliverFrom?: {
713
- /** @example 124 */
714
- accountId?: number;
715
- /** @example "ABC123456" */
716
- accountNumber?: string;
717
- };
718
- deliverTo?: {
719
- /** @example 456 */
720
- accountId?: number;
721
- /** @example "DEF123456" */
722
- accountNumber?: string;
723
- };
724
- /** @example "NoPurpose|Gift" */
725
- purpose?: any;
726
- /** @example 1000 */
727
- quantity?: any;
728
- quote?: {
729
- /** @example "IBM" */
730
- symbol?: string;
731
- };
732
- /** @example "" */
733
- reason?: any;
734
- /** @example "0.0.0.0" */
735
- remoteAddr?: any;
736
- /** @example "Ultra fast proxy" */
737
- remoteDevice?: any;
738
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
739
- }
740
- declare class TransfersBank<HandleError extends boolean = boolean> {
741
- protected readonly apiClient: JwtClient<HandleError>;
742
- constructor(apiClient: JwtClient<HandleError>);
743
- /**
744
- * @tags Transfers Bank
745
- * @name FundTransfer
746
- * @summary Fund transfer
747
- * @request POST:/transfer/bank/{direction}
748
- * @secure
749
- */
750
- fundTransfer(direction: string, data: any, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
751
- }
752
752
  declare class TransfersInstantCashTransfers<HandleError extends boolean = boolean> {
753
753
  protected readonly apiClient: JwtClient<HandleError>;
754
754
  constructor(apiClient: JwtClient<HandleError>);
@@ -14996,97 +14996,6 @@ export class Payments<HandleError extends boolean = boolean> {
14996
14996
  'X-SCX-TIMESTAMP'?: string;
14997
14997
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashPostPaymentsExecutePaymentResponse, HandleError>>;
14998
14998
  }
14999
- export class MarketData<HandleError extends boolean = boolean> {
15000
- protected readonly apiClient: JwtClient<HandleError>;
15001
- constructor(apiClient: JwtClient<HandleError>);
15002
- /**
15003
- * @description Retrieves a list of symbols and their market data.
15004
- * @tags Market Data
15005
- * @name GetSymbolData
15006
- * @summary Get symbol data
15007
- * @request GET:/market_data/symbol_data
15008
- * @secure
15009
- */
15010
- getSymbolData(query?: {
15011
- /** Filter for underlying asset */
15012
- underlying?: string;
15013
- /** Filter for quoted_currency */
15014
- quoted_currency?: string;
15015
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetSymbolDataResponse, HandleError>>;
15016
- /**
15017
- * @description Retrieves an list of historical data of open, high, low, close, underlying_volume and quoted_volume.
15018
- * @tags Market Data
15019
- * @name GetOhlcvData
15020
- * @summary Get OHLCV data
15021
- * @request GET:/market_data/ohlcv
15022
- * @secure
15023
- */
15024
- getOhlcvData(query: {
15025
- /** Filter for underlying asset */
15026
- underlying: string;
15027
- /** Filter for quoted asset */
15028
- quoted_currency: string;
15029
- /** Filter for maximum number of data points to be returned */
15030
- limit?: string;
15031
- /** Filter for objects before given timestamp */
15032
- data_end_date?: string;
15033
- /** Filter for all data(daily `time_frame`) */
15034
- all_data?: boolean;
15035
- /** Filter for time_frame */
15036
- time_frame: ZeroHashGetOhlcvDataParamsTimeFrameEnum;
15037
- }, headers?: {
15038
- /**
15039
- * Signature for your request.
15040
- * @default "[WEB] auto-generated on fly"
15041
- */
15042
- 'X-SCX-SIGNED'?: string;
15043
- /**
15044
- * UNIX timestamp.
15045
- * @default "[WEB] auto-generated on fly"
15046
- */
15047
- 'X-SCX-TIMESTAMP'?: string;
15048
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetOHLCVResponse, HandleError>>;
15049
- /**
15050
- * @description Retrieves a list of market news articles filtered using given parameters.
15051
- * @tags Market Data
15052
- * @name GetNewsArticles
15053
- * @summary Get news articles
15054
- * @request GET:/market_data/news/latest
15055
- * @secure
15056
- */
15057
- getNewsArticles(query?: {
15058
- /** Sources (feeds) of news articles, options can be fetched from /news/feeds */
15059
- news_source?: string;
15060
- /** Categories of news articles, options can be fetched from /news/categories */
15061
- categories?: string;
15062
- /** Categories of news articles to be excluded from result, options can be fetched from /news/categories */
15063
- exclude_categories?: string;
15064
- /** UNIX timestamp, is used to fetch articles before the given time */
15065
- lookback?: string;
15066
- /** Language of articles to be fetched. Format: `EN` (English) or `PT` (Portuguese) */
15067
- language?: string;
15068
- /** Sorting order of news articles. Can be either `popular` or `latest` */
15069
- sort_by?: string;
15070
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetLatestNewsResponse, HandleError>>;
15071
- /**
15072
- * @description Retrieves a list of available market data feeds, which can be used to query articles.
15073
- * @tags Market Data
15074
- * @name GetNewsFeeds
15075
- * @summary Get news feeds
15076
- * @request GET:/market_data/news/feeds
15077
- * @secure
15078
- */
15079
- getNewsFeeds(config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetNewsFeedsResponse, HandleError>>;
15080
- /**
15081
- * @description Retrieves a list of available market data categories, which can be used to query articles.
15082
- * @tags Market Data
15083
- * @name GetCategories
15084
- * @summary Get categories
15085
- * @request GET:/market_data/news/categories
15086
- * @secure
15087
- */
15088
- getCategories(config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetNewsCategoriesResponse, HandleError>>;
15089
- }
15090
14999
  export class ConvertAndWithdraw<HandleError extends boolean = boolean> {
15091
15000
  protected readonly apiClient: JwtClient<HandleError>;
15092
15001
  constructor(apiClient: JwtClient<HandleError>);
@@ -15181,6 +15090,97 @@ export class ConvertAndWithdraw<HandleError extends boolean = boolean> {
15181
15090
  'X-SCX-TIMESTAMP'?: string;
15182
15091
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashPostCWExecuteQuoteResponse, HandleError>>;
15183
15092
  }
15093
+ export class MarketData<HandleError extends boolean = boolean> {
15094
+ protected readonly apiClient: JwtClient<HandleError>;
15095
+ constructor(apiClient: JwtClient<HandleError>);
15096
+ /**
15097
+ * @description Retrieves a list of symbols and their market data.
15098
+ * @tags Market Data
15099
+ * @name GetSymbolData
15100
+ * @summary Get symbol data
15101
+ * @request GET:/market_data/symbol_data
15102
+ * @secure
15103
+ */
15104
+ getSymbolData(query?: {
15105
+ /** Filter for underlying asset */
15106
+ underlying?: string;
15107
+ /** Filter for quoted_currency */
15108
+ quoted_currency?: string;
15109
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetSymbolDataResponse, HandleError>>;
15110
+ /**
15111
+ * @description Retrieves an list of historical data of open, high, low, close, underlying_volume and quoted_volume.
15112
+ * @tags Market Data
15113
+ * @name GetOhlcvData
15114
+ * @summary Get OHLCV data
15115
+ * @request GET:/market_data/ohlcv
15116
+ * @secure
15117
+ */
15118
+ getOhlcvData(query: {
15119
+ /** Filter for underlying asset */
15120
+ underlying: string;
15121
+ /** Filter for quoted asset */
15122
+ quoted_currency: string;
15123
+ /** Filter for maximum number of data points to be returned */
15124
+ limit?: string;
15125
+ /** Filter for objects before given timestamp */
15126
+ data_end_date?: string;
15127
+ /** Filter for all data(daily `time_frame`) */
15128
+ all_data?: boolean;
15129
+ /** Filter for time_frame */
15130
+ time_frame: ZeroHashGetOhlcvDataParamsTimeFrameEnum;
15131
+ }, headers?: {
15132
+ /**
15133
+ * Signature for your request.
15134
+ * @default "[WEB] auto-generated on fly"
15135
+ */
15136
+ 'X-SCX-SIGNED'?: string;
15137
+ /**
15138
+ * UNIX timestamp.
15139
+ * @default "[WEB] auto-generated on fly"
15140
+ */
15141
+ 'X-SCX-TIMESTAMP'?: string;
15142
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetOHLCVResponse, HandleError>>;
15143
+ /**
15144
+ * @description Retrieves a list of market news articles filtered using given parameters.
15145
+ * @tags Market Data
15146
+ * @name GetNewsArticles
15147
+ * @summary Get news articles
15148
+ * @request GET:/market_data/news/latest
15149
+ * @secure
15150
+ */
15151
+ getNewsArticles(query?: {
15152
+ /** Sources (feeds) of news articles, options can be fetched from /news/feeds */
15153
+ news_source?: string;
15154
+ /** Categories of news articles, options can be fetched from /news/categories */
15155
+ categories?: string;
15156
+ /** Categories of news articles to be excluded from result, options can be fetched from /news/categories */
15157
+ exclude_categories?: string;
15158
+ /** UNIX timestamp, is used to fetch articles before the given time */
15159
+ lookback?: string;
15160
+ /** Language of articles to be fetched. Format: `EN` (English) or `PT` (Portuguese) */
15161
+ language?: string;
15162
+ /** Sorting order of news articles. Can be either `popular` or `latest` */
15163
+ sort_by?: string;
15164
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetLatestNewsResponse, HandleError>>;
15165
+ /**
15166
+ * @description Retrieves a list of available market data feeds, which can be used to query articles.
15167
+ * @tags Market Data
15168
+ * @name GetNewsFeeds
15169
+ * @summary Get news feeds
15170
+ * @request GET:/market_data/news/feeds
15171
+ * @secure
15172
+ */
15173
+ getNewsFeeds(config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetNewsFeedsResponse, HandleError>>;
15174
+ /**
15175
+ * @description Retrieves a list of available market data categories, which can be used to query articles.
15176
+ * @tags Market Data
15177
+ * @name GetCategories
15178
+ * @summary Get categories
15179
+ * @request GET:/market_data/news/categories
15180
+ * @secure
15181
+ */
15182
+ getCategories(config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetNewsCategoriesResponse, HandleError>>;
15183
+ }
15184
15184
  export class Fund<HandleError extends boolean = boolean> {
15185
15185
  protected readonly apiClient: JwtClient<HandleError>;
15186
15186
  constructor(apiClient: JwtClient<HandleError>);