@orbis-systems/orbis-api-clients 0.7.3 → 0.7.5

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 +440 -144
  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 +337 -216
  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 +166 -142
  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 +127 -127
  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 +1244 -1236
  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 +301 -301
  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 +222 -222
  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
@@ -420,81 +420,6 @@ declare class TransfersAch<HandleError extends boolean = boolean> {
420
420
  */
421
421
  withdraw(data: any, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
422
422
  }
423
- declare class TransfersWires<HandleError extends boolean = boolean> {
424
- protected readonly apiClient: JwtClient<HandleError>;
425
- constructor(apiClient: JwtClient<HandleError>);
426
- /**
427
- * @tags Transfers Wires
428
- * @name Outgoing
429
- * @summary Outgoing
430
- * @request POST:/transfer/wire/outgoing
431
- * @secure
432
- */
433
- outgoing(data: {
434
- /** @example "TRACCOUNT" */
435
- account?: any;
436
- /** @example 200 */
437
- amount?: any;
438
- beneficiary?: {
439
- /** @example "AAA012345" */
440
- account?: string;
441
- /** @example "CHECKING|SAVINGS" */
442
- accountType?: string;
443
- address?: {
444
- /** @example "Central City" */
445
- city?: string;
446
- /** @example "USA" */
447
- country?: string;
448
- /** @example "11235" */
449
- postalCode?: string;
450
- /** @example "ST" */
451
- stateProvince?: string;
452
- /** @example ["123 Main St"] */
453
- streetAddress?: string[];
454
- };
455
- /** @example "John Smith" */
456
- name?: string;
457
- /** @example false */
458
- thirdParty?: boolean;
459
- };
460
- /** @example "Partial|Full" */
461
- disbursementType?: any;
462
- /** @example 1234 */
463
- entryId?: any;
464
- /** @example false */
465
- international?: any;
466
- iraDetails?: {
467
- /** @example "" */
468
- contributionType?: string;
469
- /** @example 2020 */
470
- contributionYear?: number;
471
- };
472
- recipientBank?: {
473
- /** @example "" */
474
- additionalInformation?: string;
475
- /** @example "" */
476
- city?: string;
477
- /** @example "" */
478
- country?: string;
479
- identifier?: {
480
- /** @example "021202162" */
481
- id?: string;
482
- /** @example "ABA|BIC" */
483
- type?: string;
484
- };
485
- /** @example "" */
486
- name?: string;
487
- /** @example "" */
488
- postalCode?: string;
489
- /** @example "" */
490
- stateProvince?: string;
491
- };
492
- /** @example "0.0.0.0" */
493
- remoteAddr?: any;
494
- /** @example "ultra fast browser 1.1" */
495
- remoteDevice?: any;
496
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
497
- }
498
423
  declare class TransfersAcats<HandleError extends boolean = boolean> {
499
424
  protected readonly apiClient: JwtClient<HandleError>;
500
425
  constructor(apiClient: JwtClient<HandleError>);
@@ -628,6 +553,81 @@ declare class TransfersAcats<HandleError extends boolean = boolean> {
628
553
  type?: string;
629
554
  }[], config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
630
555
  }
556
+ declare class TransfersWires<HandleError extends boolean = boolean> {
557
+ protected readonly apiClient: JwtClient<HandleError>;
558
+ constructor(apiClient: JwtClient<HandleError>);
559
+ /**
560
+ * @tags Transfers Wires
561
+ * @name Outgoing
562
+ * @summary Outgoing
563
+ * @request POST:/transfer/wire/outgoing
564
+ * @secure
565
+ */
566
+ outgoing(data: {
567
+ /** @example "TRACCOUNT" */
568
+ account?: any;
569
+ /** @example 200 */
570
+ amount?: any;
571
+ beneficiary?: {
572
+ /** @example "AAA012345" */
573
+ account?: string;
574
+ /** @example "CHECKING|SAVINGS" */
575
+ accountType?: string;
576
+ address?: {
577
+ /** @example "Central City" */
578
+ city?: string;
579
+ /** @example "USA" */
580
+ country?: string;
581
+ /** @example "11235" */
582
+ postalCode?: string;
583
+ /** @example "ST" */
584
+ stateProvince?: string;
585
+ /** @example ["123 Main St"] */
586
+ streetAddress?: string[];
587
+ };
588
+ /** @example "John Smith" */
589
+ name?: string;
590
+ /** @example false */
591
+ thirdParty?: boolean;
592
+ };
593
+ /** @example "Partial|Full" */
594
+ disbursementType?: any;
595
+ /** @example 1234 */
596
+ entryId?: any;
597
+ /** @example false */
598
+ international?: any;
599
+ iraDetails?: {
600
+ /** @example "" */
601
+ contributionType?: string;
602
+ /** @example 2020 */
603
+ contributionYear?: number;
604
+ };
605
+ recipientBank?: {
606
+ /** @example "" */
607
+ additionalInformation?: string;
608
+ /** @example "" */
609
+ city?: string;
610
+ /** @example "" */
611
+ country?: string;
612
+ identifier?: {
613
+ /** @example "021202162" */
614
+ id?: string;
615
+ /** @example "ABA|BIC" */
616
+ type?: string;
617
+ };
618
+ /** @example "" */
619
+ name?: string;
620
+ /** @example "" */
621
+ postalCode?: string;
622
+ /** @example "" */
623
+ stateProvince?: string;
624
+ };
625
+ /** @example "0.0.0.0" */
626
+ remoteAddr?: any;
627
+ /** @example "ultra fast browser 1.1" */
628
+ remoteDevice?: any;
629
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
630
+ }
631
631
  declare class TransfersJournals<HandleError extends boolean = boolean> {
632
632
  protected readonly apiClient: JwtClient<HandleError>;
633
633
  constructor(apiClient: JwtClient<HandleError>);
@@ -749,18 +749,6 @@ declare class TransfersBank<HandleError extends boolean = boolean> {
749
749
  */
750
750
  fundTransfer(direction: string, data: any, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
751
751
  }
752
- declare class TransfersCheques<HandleError extends boolean = boolean> {
753
- protected readonly apiClient: JwtClient<HandleError>;
754
- constructor(apiClient: JwtClient<HandleError>);
755
- /**
756
- * @tags Transfers Cheques
757
- * @name Withdrawal
758
- * @summary Withdrawal
759
- * @request POST:/transfer/check/outgoing
760
- * @secure
761
- */
762
- withdrawal(data: any, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
763
- }
764
752
  declare class TransfersInstantCashTransfers<HandleError extends boolean = boolean> {
765
753
  protected readonly apiClient: JwtClient<HandleError>;
766
754
  constructor(apiClient: JwtClient<HandleError>);
@@ -866,6 +854,18 @@ declare class TransfersInstantCashTransfers<HandleError extends boolean = boolea
866
854
  */
867
855
  listReports(config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
868
856
  }
857
+ declare class TransfersCheques<HandleError extends boolean = boolean> {
858
+ protected readonly apiClient: JwtClient<HandleError>;
859
+ constructor(apiClient: JwtClient<HandleError>);
860
+ /**
861
+ * @tags Transfers Cheques
862
+ * @name Withdrawal
863
+ * @summary Withdrawal
864
+ * @request POST:/transfer/check/outgoing
865
+ * @secure
866
+ */
867
+ withdrawal(data: any, config?: RequestConfig<HandleError>): Promise<ClientResponse<any, HandleError>>;
868
+ }
869
869
  declare class _Transfers1<HandleError extends boolean = boolean> {
870
870
  protected readonly apiClient: JwtClient<HandleError>;
871
871
  relationships: TransfersRelationships<HandleError>;
@@ -12859,19 +12859,6 @@ export enum ZeroHashGetOhlcvDataParamsTimeFrameEnum {
12859
12859
  Hourly = "hourly",
12860
12860
  Daily = "daily"
12861
12861
  }
12862
- export class Public<HandleError extends boolean = boolean> {
12863
- protected readonly apiClient: JwtClient<HandleError>;
12864
- constructor(apiClient: JwtClient<HandleError>);
12865
- /**
12866
- * @description Provides the current server time in seconds using Unix timestamp format.
12867
- * @tags Public
12868
- * @name GetServerTime
12869
- * @summary Get server time
12870
- * @request GET:/time
12871
- * @secure
12872
- */
12873
- getServerTime(config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetTimeResponse, HandleError>>;
12874
- }
12875
12862
  export class Index<HandleError extends boolean = boolean> {
12876
12863
  protected readonly apiClient: JwtClient<HandleError>;
12877
12864
  constructor(apiClient: JwtClient<HandleError>);
@@ -12901,6 +12888,19 @@ export class Index<HandleError extends boolean = boolean> {
12901
12888
  'X-SCX-TIMESTAMP'?: string;
12902
12889
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetIndexResponse, HandleError>>;
12903
12890
  }
12891
+ export class Public<HandleError extends boolean = boolean> {
12892
+ protected readonly apiClient: JwtClient<HandleError>;
12893
+ constructor(apiClient: JwtClient<HandleError>);
12894
+ /**
12895
+ * @description Provides the current server time in seconds using Unix timestamp format.
12896
+ * @tags Public
12897
+ * @name GetServerTime
12898
+ * @summary Get server time
12899
+ * @request GET:/time
12900
+ * @secure
12901
+ */
12902
+ getServerTime(config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetTimeResponse, HandleError>>;
12903
+ }
12904
12904
  export class Assets<HandleError extends boolean = boolean> {
12905
12905
  protected readonly apiClient: JwtClient<HandleError>;
12906
12906
  constructor(apiClient: JwtClient<HandleError>);
@@ -14996,6 +14996,100 @@ 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 ConvertAndWithdraw<HandleError extends boolean = boolean> {
15000
+ protected readonly apiClient: JwtClient<HandleError>;
15001
+ constructor(apiClient: JwtClient<HandleError>);
15002
+ /**
15003
+ * @description Retrieves a quote for the purchase of an asset and the network fees associated with an eminent and automatic withdrawal of the asset.
15004
+ * @tags Convert and Withdraw
15005
+ * @name GetQuote
15006
+ * @summary Get quote
15007
+ * @request GET:/convert_withdraw/rfq
15008
+ * @secure
15009
+ */
15010
+ getQuote(query: {
15011
+ /** Allows platforms to specify the side of the quote */
15012
+ side: ZeroHashGetQuoteParams2SideEnum;
15013
+ /** Allows platforms to specify the underlying asset */
15014
+ underlying: ZeroHashUnderlyingCurrency;
15015
+ /** Allows platforms to specify the quoted asset */
15016
+ quoted_currency: ZeroHashQuotedCurrency;
15017
+ /** The `quantity` of the `underlying` asset requested in the quote */
15018
+ quantity?: string;
15019
+ /** The `total` of the `quoted_currency` asset requested in the quote */
15020
+ total?: string;
15021
+ /** The participant requesting a quote to buy or sell an asset */
15022
+ participant_code?: string;
15023
+ /** The account_label that's used to fund the trade */
15024
+ account_label?: string;
15025
+ /** The on-chain address where the withdrawal should be sent */
15026
+ withdrawal_address: string;
15027
+ /**
15028
+ * Allows platforms to specify if fees are inclusive
15029
+ * This parameter is only applicable for requests made by `total`
15030
+ */
15031
+ fee_inclusive?: boolean;
15032
+ /** Allows the platform to define the quote spread in basis points */
15033
+ spread?: string;
15034
+ /** The destination tag or memo ID associated with the transaction. If the asset is EOS, XLM or XRP and no_destination_tag is false, then this is required */
15035
+ destination_tag?: string;
15036
+ /** Whether or not the specific withdrawal and destination address requires a destination tag. If the asset is EOS, XLM or XRP, this field is required. Note: Zero Hash requires that no_destination_tag be false for EOS */
15037
+ no_destination_tag?: string;
15038
+ }, headers?: {
15039
+ /**
15040
+ * Signature for your request.
15041
+ * @default "[WEB] auto-generated on fly"
15042
+ */
15043
+ 'X-SCX-SIGNED'?: string;
15044
+ /**
15045
+ * UNIX timestamp.
15046
+ * @default "[WEB] auto-generated on fly"
15047
+ */
15048
+ 'X-SCX-TIMESTAMP'?: string;
15049
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetRequestForCWQuoteResponse, HandleError>>;
15050
+ /**
15051
+ * @description Retrieves a quote for the purchase of an asset and the network fees associated with an eminent and automatic withdrawal of the asset.
15052
+ * @tags Convert and Withdraw
15053
+ * @name GetQuote2
15054
+ * @summary Get quote
15055
+ * @request POST:/convert_withdraw/rfq
15056
+ * @originalName getQuote
15057
+ * @duplicate
15058
+ * @secure
15059
+ */
15060
+ getQuote2(data: ZeroHashPostCWRequestForQuoteBody, headers?: {
15061
+ /**
15062
+ * Signature for your request.
15063
+ * @default "[WEB] auto-generated on fly"
15064
+ */
15065
+ 'X-SCX-SIGNED'?: string;
15066
+ /**
15067
+ * UNIX timestamp.
15068
+ * @default "[WEB] auto-generated on fly"
15069
+ */
15070
+ 'X-SCX-TIMESTAMP'?: string;
15071
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetRequestForCWQuoteResponse, HandleError>>;
15072
+ /**
15073
+ * @description Executes a quote. The underlying asset will be purchased and automatically withdrawn. You can take the `withdrawal_request_id` from the response and then query `GET /withdrawals/requests/id` endpoint to view the status of the withdrawal.
15074
+ * @tags Convert and Withdraw
15075
+ * @name ExecuteQuote
15076
+ * @summary Execute quote
15077
+ * @request POST:/convert_withdraw/execute
15078
+ * @secure
15079
+ */
15080
+ executeQuote(data: ZeroHashPostCWExecuteQuoteBody, headers?: {
15081
+ /**
15082
+ * Signature for your request.
15083
+ * @default "[WEB] auto-generated on fly"
15084
+ */
15085
+ 'X-SCX-SIGNED'?: string;
15086
+ /**
15087
+ * UNIX timestamp.
15088
+ * @default "[WEB] auto-generated on fly"
15089
+ */
15090
+ 'X-SCX-TIMESTAMP'?: string;
15091
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashPostCWExecuteQuoteResponse, HandleError>>;
15092
+ }
14999
15093
  export class MarketData<HandleError extends boolean = boolean> {
15000
15094
  protected readonly apiClient: JwtClient<HandleError>;
15001
15095
  constructor(apiClient: JwtClient<HandleError>);
@@ -15087,68 +15181,18 @@ export class MarketData<HandleError extends boolean = boolean> {
15087
15181
  */
15088
15182
  getCategories(config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetNewsCategoriesResponse, HandleError>>;
15089
15183
  }
15090
- export class ConvertAndWithdraw<HandleError extends boolean = boolean> {
15184
+ export class Fund<HandleError extends boolean = boolean> {
15091
15185
  protected readonly apiClient: JwtClient<HandleError>;
15092
15186
  constructor(apiClient: JwtClient<HandleError>);
15093
15187
  /**
15094
- * @description Retrieves a quote for the purchase of an asset and the network fees associated with an eminent and automatic withdrawal of the asset.
15095
- * @tags Convert and Withdraw
15188
+ * @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.
15189
+ * @tags Fund
15096
15190
  * @name GetQuote
15097
15191
  * @summary Get quote
15098
- * @request GET:/convert_withdraw/rfq
15099
- * @secure
15100
- */
15101
- getQuote(query: {
15102
- /** Allows platforms to specify the side of the quote */
15103
- side: ZeroHashGetQuoteParams2SideEnum;
15104
- /** Allows platforms to specify the underlying asset */
15105
- underlying: ZeroHashUnderlyingCurrency;
15106
- /** Allows platforms to specify the quoted asset */
15107
- quoted_currency: ZeroHashQuotedCurrency;
15108
- /** The `quantity` of the `underlying` asset requested in the quote */
15109
- quantity?: string;
15110
- /** The `total` of the `quoted_currency` asset requested in the quote */
15111
- total?: string;
15112
- /** The participant requesting a quote to buy or sell an asset */
15113
- participant_code?: string;
15114
- /** The account_label that's used to fund the trade */
15115
- account_label?: string;
15116
- /** The on-chain address where the withdrawal should be sent */
15117
- withdrawal_address: string;
15118
- /**
15119
- * Allows platforms to specify if fees are inclusive
15120
- * This parameter is only applicable for requests made by `total`
15121
- */
15122
- fee_inclusive?: boolean;
15123
- /** Allows the platform to define the quote spread in basis points */
15124
- spread?: string;
15125
- /** The destination tag or memo ID associated with the transaction. If the asset is EOS, XLM or XRP and no_destination_tag is false, then this is required */
15126
- destination_tag?: string;
15127
- /** Whether or not the specific withdrawal and destination address requires a destination tag. If the asset is EOS, XLM or XRP, this field is required. Note: Zero Hash requires that no_destination_tag be false for EOS */
15128
- no_destination_tag?: string;
15129
- }, headers?: {
15130
- /**
15131
- * Signature for your request.
15132
- * @default "[WEB] auto-generated on fly"
15133
- */
15134
- 'X-SCX-SIGNED'?: string;
15135
- /**
15136
- * UNIX timestamp.
15137
- * @default "[WEB] auto-generated on fly"
15138
- */
15139
- 'X-SCX-TIMESTAMP'?: string;
15140
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetRequestForCWQuoteResponse, HandleError>>;
15141
- /**
15142
- * @description Retrieves a quote for the purchase of an asset and the network fees associated with an eminent and automatic withdrawal of the asset.
15143
- * @tags Convert and Withdraw
15144
- * @name GetQuote2
15145
- * @summary Get quote
15146
- * @request POST:/convert_withdraw/rfq
15147
- * @originalName getQuote
15148
- * @duplicate
15192
+ * @request POST:/fund/rfq
15149
15193
  * @secure
15150
15194
  */
15151
- getQuote2(data: ZeroHashPostCWRequestForQuoteBody, headers?: {
15195
+ getQuote(data: ZeroHashPostFundRfqBody, headers?: {
15152
15196
  /**
15153
15197
  * Signature for your request.
15154
15198
  * @default "[WEB] auto-generated on fly"
@@ -15159,16 +15203,31 @@ export class ConvertAndWithdraw<HandleError extends boolean = boolean> {
15159
15203
  * @default "[WEB] auto-generated on fly"
15160
15204
  */
15161
15205
  'X-SCX-TIMESTAMP'?: string;
15162
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetRequestForCWQuoteResponse, HandleError>>;
15206
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashPostFundRfqResponse, HandleError>>;
15163
15207
  /**
15164
- * @description Executes a quote. The underlying asset will be purchased and automatically withdrawn. You can take the `withdrawal_request_id` from the response and then query `GET /withdrawals/requests/id` endpoint to view the status of the withdrawal.
15165
- * @tags Convert and Withdraw
15166
- * @name ExecuteQuote
15167
- * @summary Execute quote
15168
- * @request POST:/convert_withdraw/execute
15208
+ * @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.
15209
+ * @tags Fund
15210
+ * @name GetTransactions
15211
+ * @summary Get transactions
15212
+ * @request GET:/fund/transactions
15169
15213
  * @secure
15170
15214
  */
15171
- executeQuote(data: ZeroHashPostCWExecuteQuoteBody, headers?: {
15215
+ getTransactions(query?: {
15216
+ /** Participant code of the end customer */
15217
+ participant_code?: string;
15218
+ /** The asset sent on-chain by the end customer in order to fund an account */
15219
+ fund_asset?: string;
15220
+ /** The address provided by Zero Hash that the end customer will send to */
15221
+ deposit_address?: string;
15222
+ /** The Zero Hash-generated unique identifier associated with an executed fund event */
15223
+ fund_id?: string;
15224
+ /** Filters for a specific page (pagination) */
15225
+ page?: string;
15226
+ /** The number of results returned per page, with a maximum of 50 transactions per page */
15227
+ page_size?: string;
15228
+ /** Filters transactions by successful status. This is a boolean field, please specify either `true` or `false` */
15229
+ success?: string;
15230
+ }, headers?: {
15172
15231
  /**
15173
15232
  * Signature for your request.
15174
15233
  * @default "[WEB] auto-generated on fly"
@@ -15179,7 +15238,7 @@ export class ConvertAndWithdraw<HandleError extends boolean = boolean> {
15179
15238
  * @default "[WEB] auto-generated on fly"
15180
15239
  */
15181
15240
  'X-SCX-TIMESTAMP'?: string;
15182
- }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashPostCWExecuteQuoteResponse, HandleError>>;
15241
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetFundTransactionsResponse, HandleError>>;
15183
15242
  }
15184
15243
  export class Clob<HandleError extends boolean = boolean> {
15185
15244
  protected readonly apiClient: JwtClient<HandleError>;
@@ -15394,65 +15453,6 @@ export class Clob<HandleError extends boolean = boolean> {
15394
15453
  'X-SCX-TIMESTAMP'?: string;
15395
15454
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashPostTradeStatsResponse, HandleError>>;
15396
15455
  }
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
15456
  export class ZeroHashApi<HandleError extends boolean = false> extends BaseApi<HandleError, JwtClient<HandleError>> {
15457
15457
  readonly config: JwtClientConfig<HandleError>;
15458
15458
  accounts: Accounts<HandleError>;