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

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 +301 -129
  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 +345 -224
  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 +135 -114
  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 +46 -46
  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 +979 -971
  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 +312 -312
  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 +209 -209
  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>;
@@ -14662,6 +14662,100 @@ export class Awards<HandleError extends boolean = boolean> {
14662
14662
  'X-SCX-TIMESTAMP'?: string;
14663
14663
  }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashPostAwardsDistributeResponse, HandleError>>;
14664
14664
  }
14665
+ export class ConvertAndWithdraw<HandleError extends boolean = boolean> {
14666
+ protected readonly apiClient: JwtClient<HandleError>;
14667
+ constructor(apiClient: JwtClient<HandleError>);
14668
+ /**
14669
+ * @description Retrieves a quote for the purchase of an asset and the network fees associated with an eminent and automatic withdrawal of the asset.
14670
+ * @tags Convert and Withdraw
14671
+ * @name GetQuote
14672
+ * @summary Get quote
14673
+ * @request GET:/convert_withdraw/rfq
14674
+ * @secure
14675
+ */
14676
+ getQuote(query: {
14677
+ /** Allows platforms to specify the side of the quote */
14678
+ side: ZeroHashGetQuoteParams2SideEnum;
14679
+ /** Allows platforms to specify the underlying asset */
14680
+ underlying: ZeroHashUnderlyingCurrency;
14681
+ /** Allows platforms to specify the quoted asset */
14682
+ quoted_currency: ZeroHashQuotedCurrency;
14683
+ /** The `quantity` of the `underlying` asset requested in the quote */
14684
+ quantity?: string;
14685
+ /** The `total` of the `quoted_currency` asset requested in the quote */
14686
+ total?: string;
14687
+ /** The participant requesting a quote to buy or sell an asset */
14688
+ participant_code?: string;
14689
+ /** The account_label that's used to fund the trade */
14690
+ account_label?: string;
14691
+ /** The on-chain address where the withdrawal should be sent */
14692
+ withdrawal_address: string;
14693
+ /**
14694
+ * Allows platforms to specify if fees are inclusive
14695
+ * This parameter is only applicable for requests made by `total`
14696
+ */
14697
+ fee_inclusive?: boolean;
14698
+ /** Allows the platform to define the quote spread in basis points */
14699
+ spread?: string;
14700
+ /** 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 */
14701
+ destination_tag?: string;
14702
+ /** 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 */
14703
+ no_destination_tag?: string;
14704
+ }, headers?: {
14705
+ /**
14706
+ * Signature for your request.
14707
+ * @default "[WEB] auto-generated on fly"
14708
+ */
14709
+ 'X-SCX-SIGNED'?: string;
14710
+ /**
14711
+ * UNIX timestamp.
14712
+ * @default "[WEB] auto-generated on fly"
14713
+ */
14714
+ 'X-SCX-TIMESTAMP'?: string;
14715
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetRequestForCWQuoteResponse, HandleError>>;
14716
+ /**
14717
+ * @description Retrieves a quote for the purchase of an asset and the network fees associated with an eminent and automatic withdrawal of the asset.
14718
+ * @tags Convert and Withdraw
14719
+ * @name GetQuote2
14720
+ * @summary Get quote
14721
+ * @request POST:/convert_withdraw/rfq
14722
+ * @originalName getQuote
14723
+ * @duplicate
14724
+ * @secure
14725
+ */
14726
+ getQuote2(data: ZeroHashPostCWRequestForQuoteBody, headers?: {
14727
+ /**
14728
+ * Signature for your request.
14729
+ * @default "[WEB] auto-generated on fly"
14730
+ */
14731
+ 'X-SCX-SIGNED'?: string;
14732
+ /**
14733
+ * UNIX timestamp.
14734
+ * @default "[WEB] auto-generated on fly"
14735
+ */
14736
+ 'X-SCX-TIMESTAMP'?: string;
14737
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashGetRequestForCWQuoteResponse, HandleError>>;
14738
+ /**
14739
+ * @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.
14740
+ * @tags Convert and Withdraw
14741
+ * @name ExecuteQuote
14742
+ * @summary Execute quote
14743
+ * @request POST:/convert_withdraw/execute
14744
+ * @secure
14745
+ */
14746
+ executeQuote(data: ZeroHashPostCWExecuteQuoteBody, headers?: {
14747
+ /**
14748
+ * Signature for your request.
14749
+ * @default "[WEB] auto-generated on fly"
14750
+ */
14751
+ 'X-SCX-SIGNED'?: string;
14752
+ /**
14753
+ * UNIX timestamp.
14754
+ * @default "[WEB] auto-generated on fly"
14755
+ */
14756
+ 'X-SCX-TIMESTAMP'?: string;
14757
+ }, config?: RequestConfig<HandleError>): Promise<ClientResponse<ZeroHashPostCWExecuteQuoteResponse, HandleError>>;
14758
+ }
14665
14759
  export class Payments<HandleError extends boolean = boolean> {
14666
14760
  protected readonly apiClient: JwtClient<HandleError>;
14667
14761
  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>;