@orbis-systems/orbis-api-clients 0.7.14 → 0.7.15

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 +295 -261
  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 +603 -451
  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 +394 -124
  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 +123 -54
  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 +699 -855
  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 +449 -753
  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 +168 -150
  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
@@ -594,6 +594,24 @@ declare class TransfersWires<HandleError extends boolean = boolean> {
594
594
  disbursementType?: any;
595
595
  /** @example 1234 */
596
596
  entryId?: any;
597
+ intermediary?: {
598
+ /** @example "{account number}" */
599
+ account?: string;
600
+ address?: {
601
+ /** @example "Central City" */
602
+ city?: string;
603
+ /** @example "USA" */
604
+ country?: string;
605
+ /** @example "11235" */
606
+ postalCode?: string;
607
+ /** @example "ST" */
608
+ stateProvince?: string;
609
+ /** @example ["123 Main St"] */
610
+ streetAddress?: string[];
611
+ };
612
+ /** @example "{name on account}" */
613
+ name?: string;
614
+ };
597
615
  /** @example false */
598
616
  international?: any;
599
617
  iraDetails?: {
@@ -15090,6 +15108,156 @@ export class ConvertAndWithdraw<HandleError extends boolean = boolean> {
15090
15108
  'X-SCX-TIMESTAMP'?: string;
15091
15109
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashPostCWExecuteQuoteResponse, HandleError>>;
15092
15110
  }
15111
+ export class MarketData<HandleError extends boolean = boolean> {
15112
+ protected readonly apiClient: JwtClient<HandleError>;
15113
+ constructor(apiClient: JwtClient<HandleError>);
15114
+ /**
15115
+ * @description Retrieves a list of symbols and their market data.
15116
+ * @tags Market Data
15117
+ * @name GetSymbolData
15118
+ * @summary Get symbol data
15119
+ * @request GET:/market_data/symbol_data
15120
+ * @secure
15121
+ */
15122
+ getSymbolData(query?: {
15123
+ /** Filter for underlying asset */
15124
+ underlying?: string;
15125
+ /** Filter for quoted_currency */
15126
+ quoted_currency?: string;
15127
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetSymbolDataResponse, HandleError>>;
15128
+ /**
15129
+ * @description Retrieves an list of historical data of open, high, low, close, underlying_volume and quoted_volume.
15130
+ * @tags Market Data
15131
+ * @name GetOhlcvData
15132
+ * @summary Get OHLCV data
15133
+ * @request GET:/market_data/ohlcv
15134
+ * @secure
15135
+ */
15136
+ getOhlcvData(query: {
15137
+ /** Filter for underlying asset */
15138
+ underlying: string;
15139
+ /** Filter for quoted asset */
15140
+ quoted_currency: string;
15141
+ /** Filter for maximum number of data points to be returned */
15142
+ limit?: string;
15143
+ /** Filter for objects before given timestamp */
15144
+ data_end_date?: string;
15145
+ /** Filter for all data(daily `time_frame`) */
15146
+ all_data?: boolean;
15147
+ /** Filter for time_frame */
15148
+ time_frame: ZeroHashGetOhlcvDataParamsTimeFrameEnum;
15149
+ }, headers?: {
15150
+ /**
15151
+ * Signature for your request.
15152
+ * @default "[WEB] auto-generated on fly"
15153
+ */
15154
+ 'X-SCX-SIGNED'?: string;
15155
+ /**
15156
+ * UNIX timestamp.
15157
+ * @default "[WEB] auto-generated on fly"
15158
+ */
15159
+ 'X-SCX-TIMESTAMP'?: string;
15160
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetOHLCVResponse, HandleError>>;
15161
+ /**
15162
+ * @description Retrieves a list of market news articles filtered using given parameters.
15163
+ * @tags Market Data
15164
+ * @name GetNewsArticles
15165
+ * @summary Get news articles
15166
+ * @request GET:/market_data/news/latest
15167
+ * @secure
15168
+ */
15169
+ getNewsArticles(query?: {
15170
+ /** Sources (feeds) of news articles, options can be fetched from /news/feeds */
15171
+ news_source?: string;
15172
+ /** Categories of news articles, options can be fetched from /news/categories */
15173
+ categories?: string;
15174
+ /** Categories of news articles to be excluded from result, options can be fetched from /news/categories */
15175
+ exclude_categories?: string;
15176
+ /** UNIX timestamp, is used to fetch articles before the given time */
15177
+ lookback?: string;
15178
+ /** Language of articles to be fetched. Format: `EN` (English) or `PT` (Portuguese) */
15179
+ language?: string;
15180
+ /** Sorting order of news articles. Can be either `popular` or `latest` */
15181
+ sort_by?: string;
15182
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetLatestNewsResponse, HandleError>>;
15183
+ /**
15184
+ * @description Retrieves a list of available market data feeds, which can be used to query articles.
15185
+ * @tags Market Data
15186
+ * @name GetNewsFeeds
15187
+ * @summary Get news feeds
15188
+ * @request GET:/market_data/news/feeds
15189
+ * @secure
15190
+ */
15191
+ getNewsFeeds(config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetNewsFeedsResponse, HandleError>>;
15192
+ /**
15193
+ * @description Retrieves a list of available market data categories, which can be used to query articles.
15194
+ * @tags Market Data
15195
+ * @name GetCategories
15196
+ * @summary Get categories
15197
+ * @request GET:/market_data/news/categories
15198
+ * @secure
15199
+ */
15200
+ getCategories(config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetNewsCategoriesResponse, HandleError>>;
15201
+ }
15202
+ export class Fund<HandleError extends boolean = boolean> {
15203
+ protected readonly apiClient: JwtClient<HandleError>;
15204
+ constructor(apiClient: JwtClient<HandleError>);
15205
+ /**
15206
+ * @description Retrieves a quote for a fund event for a given participant code and asset. This endpoint response indicates the rate by which a subsequent on-chain deposit will be honored at.
15207
+ * @tags Fund
15208
+ * @name GetQuote
15209
+ * @summary Get quote
15210
+ * @request POST:/fund/rfq
15211
+ * @secure
15212
+ */
15213
+ getQuote(data: ZeroHashPostFundRfqBody, headers?: {
15214
+ /**
15215
+ * Signature for your request.
15216
+ * @default "[WEB] auto-generated on fly"
15217
+ */
15218
+ 'X-SCX-SIGNED'?: string;
15219
+ /**
15220
+ * UNIX timestamp.
15221
+ * @default "[WEB] auto-generated on fly"
15222
+ */
15223
+ 'X-SCX-TIMESTAMP'?: string;
15224
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashPostFundRfqResponse, HandleError>>;
15225
+ /**
15226
+ * @description You can use the `fund_id` in the response as the “parent” to query `GET /movements?parent_link_id=[fund_id]` to view a trail of all movements related to this fund event.
15227
+ * @tags Fund
15228
+ * @name GetTransactions
15229
+ * @summary Get transactions
15230
+ * @request GET:/fund/transactions
15231
+ * @secure
15232
+ */
15233
+ getTransactions(query?: {
15234
+ /** Participant code of the end customer */
15235
+ participant_code?: string;
15236
+ /** The asset sent on-chain by the end customer in order to fund an account */
15237
+ fund_asset?: string;
15238
+ /** The address provided by Zero Hash that the end customer will send to */
15239
+ deposit_address?: string;
15240
+ /** The Zero Hash-generated unique identifier associated with an executed fund event */
15241
+ fund_id?: string;
15242
+ /** Filters for a specific page (pagination) */
15243
+ page?: string;
15244
+ /** The number of results returned per page, with a maximum of 50 transactions per page */
15245
+ page_size?: string;
15246
+ /** Filters transactions by successful status. This is a boolean field, please specify either `true` or `false` */
15247
+ success?: string;
15248
+ }, headers?: {
15249
+ /**
15250
+ * Signature for your request.
15251
+ * @default "[WEB] auto-generated on fly"
15252
+ */
15253
+ 'X-SCX-SIGNED'?: string;
15254
+ /**
15255
+ * UNIX timestamp.
15256
+ * @default "[WEB] auto-generated on fly"
15257
+ */
15258
+ 'X-SCX-TIMESTAMP'?: string;
15259
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetFundTransactionsResponse, HandleError>>;
15260
+ }
15093
15261
  export class Clob<HandleError extends boolean = boolean> {
15094
15262
  protected readonly apiClient: JwtClient<HandleError>;
15095
15263
  constructor(apiClient: JwtClient<HandleError>);
@@ -15303,156 +15471,6 @@ export class Clob<HandleError extends boolean = boolean> {
15303
15471
  'X-SCX-TIMESTAMP'?: string;
15304
15472
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashPostTradeStatsResponse, HandleError>>;
15305
15473
  }
15306
- export class MarketData<HandleError extends boolean = boolean> {
15307
- protected readonly apiClient: JwtClient<HandleError>;
15308
- constructor(apiClient: JwtClient<HandleError>);
15309
- /**
15310
- * @description Retrieves a list of symbols and their market data.
15311
- * @tags Market Data
15312
- * @name GetSymbolData
15313
- * @summary Get symbol data
15314
- * @request GET:/market_data/symbol_data
15315
- * @secure
15316
- */
15317
- getSymbolData(query?: {
15318
- /** Filter for underlying asset */
15319
- underlying?: string;
15320
- /** Filter for quoted_currency */
15321
- quoted_currency?: string;
15322
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetSymbolDataResponse, HandleError>>;
15323
- /**
15324
- * @description Retrieves an list of historical data of open, high, low, close, underlying_volume and quoted_volume.
15325
- * @tags Market Data
15326
- * @name GetOhlcvData
15327
- * @summary Get OHLCV data
15328
- * @request GET:/market_data/ohlcv
15329
- * @secure
15330
- */
15331
- getOhlcvData(query: {
15332
- /** Filter for underlying asset */
15333
- underlying: string;
15334
- /** Filter for quoted asset */
15335
- quoted_currency: string;
15336
- /** Filter for maximum number of data points to be returned */
15337
- limit?: string;
15338
- /** Filter for objects before given timestamp */
15339
- data_end_date?: string;
15340
- /** Filter for all data(daily `time_frame`) */
15341
- all_data?: boolean;
15342
- /** Filter for time_frame */
15343
- time_frame: ZeroHashGetOhlcvDataParamsTimeFrameEnum;
15344
- }, headers?: {
15345
- /**
15346
- * Signature for your request.
15347
- * @default "[WEB] auto-generated on fly"
15348
- */
15349
- 'X-SCX-SIGNED'?: string;
15350
- /**
15351
- * UNIX timestamp.
15352
- * @default "[WEB] auto-generated on fly"
15353
- */
15354
- 'X-SCX-TIMESTAMP'?: string;
15355
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetOHLCVResponse, HandleError>>;
15356
- /**
15357
- * @description Retrieves a list of market news articles filtered using given parameters.
15358
- * @tags Market Data
15359
- * @name GetNewsArticles
15360
- * @summary Get news articles
15361
- * @request GET:/market_data/news/latest
15362
- * @secure
15363
- */
15364
- getNewsArticles(query?: {
15365
- /** Sources (feeds) of news articles, options can be fetched from /news/feeds */
15366
- news_source?: string;
15367
- /** Categories of news articles, options can be fetched from /news/categories */
15368
- categories?: string;
15369
- /** Categories of news articles to be excluded from result, options can be fetched from /news/categories */
15370
- exclude_categories?: string;
15371
- /** UNIX timestamp, is used to fetch articles before the given time */
15372
- lookback?: string;
15373
- /** Language of articles to be fetched. Format: `EN` (English) or `PT` (Portuguese) */
15374
- language?: string;
15375
- /** Sorting order of news articles. Can be either `popular` or `latest` */
15376
- sort_by?: string;
15377
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetLatestNewsResponse, HandleError>>;
15378
- /**
15379
- * @description Retrieves a list of available market data feeds, which can be used to query articles.
15380
- * @tags Market Data
15381
- * @name GetNewsFeeds
15382
- * @summary Get news feeds
15383
- * @request GET:/market_data/news/feeds
15384
- * @secure
15385
- */
15386
- getNewsFeeds(config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetNewsFeedsResponse, HandleError>>;
15387
- /**
15388
- * @description Retrieves a list of available market data categories, which can be used to query articles.
15389
- * @tags Market Data
15390
- * @name GetCategories
15391
- * @summary Get categories
15392
- * @request GET:/market_data/news/categories
15393
- * @secure
15394
- */
15395
- getCategories(config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetNewsCategoriesResponse, HandleError>>;
15396
- }
15397
- export class Fund<HandleError extends boolean = boolean> {
15398
- protected readonly apiClient: JwtClient<HandleError>;
15399
- constructor(apiClient: JwtClient<HandleError>);
15400
- /**
15401
- * @description Retrieves a quote for a fund event for a given participant code and asset. This endpoint response indicates the rate by which a subsequent on-chain deposit will be honored at.
15402
- * @tags Fund
15403
- * @name GetQuote
15404
- * @summary Get quote
15405
- * @request POST:/fund/rfq
15406
- * @secure
15407
- */
15408
- getQuote(data: ZeroHashPostFundRfqBody, headers?: {
15409
- /**
15410
- * Signature for your request.
15411
- * @default "[WEB] auto-generated on fly"
15412
- */
15413
- 'X-SCX-SIGNED'?: string;
15414
- /**
15415
- * UNIX timestamp.
15416
- * @default "[WEB] auto-generated on fly"
15417
- */
15418
- 'X-SCX-TIMESTAMP'?: string;
15419
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashPostFundRfqResponse, HandleError>>;
15420
- /**
15421
- * @description You can use the `fund_id` in the response as the “parent” to query `GET /movements?parent_link_id=[fund_id]` to view a trail of all movements related to this fund event.
15422
- * @tags Fund
15423
- * @name GetTransactions
15424
- * @summary Get transactions
15425
- * @request GET:/fund/transactions
15426
- * @secure
15427
- */
15428
- getTransactions(query?: {
15429
- /** Participant code of the end customer */
15430
- participant_code?: string;
15431
- /** The asset sent on-chain by the end customer in order to fund an account */
15432
- fund_asset?: string;
15433
- /** The address provided by Zero Hash that the end customer will send to */
15434
- deposit_address?: string;
15435
- /** The Zero Hash-generated unique identifier associated with an executed fund event */
15436
- fund_id?: string;
15437
- /** Filters for a specific page (pagination) */
15438
- page?: string;
15439
- /** The number of results returned per page, with a maximum of 50 transactions per page */
15440
- page_size?: string;
15441
- /** Filters transactions by successful status. This is a boolean field, please specify either `true` or `false` */
15442
- success?: string;
15443
- }, headers?: {
15444
- /**
15445
- * Signature for your request.
15446
- * @default "[WEB] auto-generated on fly"
15447
- */
15448
- 'X-SCX-SIGNED'?: string;
15449
- /**
15450
- * UNIX timestamp.
15451
- * @default "[WEB] auto-generated on fly"
15452
- */
15453
- 'X-SCX-TIMESTAMP'?: string;
15454
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetFundTransactionsResponse, HandleError>>;
15455
- }
15456
15474
  export class ZeroHashApi<HandleError extends boolean = false> extends BaseApi<HandleError, JwtClient<HandleError>> {
15457
15475
  readonly config: JwtClientConfig<HandleError>;
15458
15476
  accounts: Accounts<HandleError>;