@paxoslabs/amplify-sdk 1.0.1 → 1.0.2

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.
package/dist/index.d.ts CHANGED
@@ -205,8 +205,8 @@ interface ObjectUtils<Raw, Parsed> {
205
205
  /**
206
206
  * This file was auto-generated by Fern from our API Definition.
207
207
  */
208
- type GetApysRequestOrderByTimestamp$1 = "asc" | "desc";
209
- declare const GetApysRequestOrderByTimestamp$1: {
208
+ type GetApysVaultsRequestOrderByTimestamp$1 = "asc" | "desc";
209
+ declare const GetApysVaultsRequestOrderByTimestamp$1: {
210
210
  readonly Asc: "asc";
211
211
  readonly Desc: "desc";
212
212
  };
@@ -214,8 +214,8 @@ declare const GetApysRequestOrderByTimestamp$1: {
214
214
  /**
215
215
  * This file was auto-generated by Fern from our API Definition.
216
216
  */
217
- type GetTvlsRequestOrderByTimestamp$1 = "asc" | "desc";
218
- declare const GetTvlsRequestOrderByTimestamp$1: {
217
+ type GetTvlsVaultsRequestOrderByTimestamp$1 = "asc" | "desc";
218
+ declare const GetTvlsVaultsRequestOrderByTimestamp$1: {
219
219
  readonly Asc: "asc";
220
220
  readonly Desc: "desc";
221
221
  };
@@ -230,7 +230,7 @@ declare const GetTvlsRequestOrderByTimestamp$1: {
230
230
  * filter: "withdrawable=true AND chainId=1 AND assetAddress=0xabcdef1234567890abcdef1234567890abcdef12"
231
231
  * }
232
232
  */
233
- interface ListAssetsRequest {
233
+ interface ListAssetsVaultsRequest {
234
234
  /**
235
235
  * Maximum items per page. Default: 25. Min: 1, max: 100.
236
236
  */
@@ -260,7 +260,7 @@ interface ListAssetsRequest {
260
260
  * filter: "vaultAddress=0x1234567890abcdef1234567890abcdef12345678"
261
261
  * }
262
262
  */
263
- interface GetApysRequest {
263
+ interface GetApysVaultsRequest {
264
264
  /**
265
265
  * Maximum items per page. Default: 25. Min: 1, max: 100.
266
266
  */
@@ -288,7 +288,7 @@ interface GetApysRequest {
288
288
  /**
289
289
  * Order by timestamp. Allowed: asc, desc. Default: asc.
290
290
  */
291
- orderByTimestamp?: GetApysRequestOrderByTimestamp$1;
291
+ orderByTimestamp?: GetApysVaultsRequestOrderByTimestamp$1;
292
292
  /**
293
293
  * Filter string. Flags: vaultAddress. Optional.
294
294
  */
@@ -312,7 +312,7 @@ interface GetApysRequest {
312
312
  * filter: "chainId=1 AND vaultAddress=0x1234567890abcdef1234567890abcdef12345678"
313
313
  * }
314
314
  */
315
- interface GetTvlsRequest {
315
+ interface GetTvlsVaultsRequest {
316
316
  /**
317
317
  * Maximum items per page. Default: 25. Min: 1, max: 100.
318
318
  */
@@ -344,7 +344,7 @@ interface GetTvlsRequest {
344
344
  /**
345
345
  * Order by timestamp. Allowed: asc, desc. Default: asc.
346
346
  */
347
- orderByTimestamp?: GetTvlsRequestOrderByTimestamp$1;
347
+ orderByTimestamp?: GetTvlsVaultsRequestOrderByTimestamp$1;
348
348
  /**
349
349
  * When true, TVL is summed across all chains for each vault and returned with chainId=0. Default: false.
350
350
  */
@@ -365,7 +365,7 @@ interface GetTvlsRequest {
365
365
  * filter: "chainId=1 AND vaultAddress=0x1234567890abcdef1234567890abcdef12345678"
366
366
  * }
367
367
  */
368
- interface ListCompositionsRequest {
368
+ interface ListCompositionsVaultsRequest {
369
369
  /**
370
370
  * Maximum items per page. Default: 25. Min: 1, max: 100.
371
371
  */
@@ -390,7 +390,7 @@ interface ListCompositionsRequest {
390
390
  * filter: "chainId=1 AND vaultAddress=0x1234567890abcdef1234567890abcdef12345678"
391
391
  * }
392
392
  */
393
- interface GetLiquidityShortfallsRequest {
393
+ interface GetLiquidityShortfallsVaultsRequest {
394
394
  /**
395
395
  * Maximum items per page. Default: 25. Min: 1, max: 100.
396
396
  */
@@ -415,7 +415,7 @@ interface GetLiquidityShortfallsRequest {
415
415
  * filter: "chainId=1 AND inDeprecation=false"
416
416
  * }
417
417
  */
418
- interface ListRequest {
418
+ interface ListVaultsRequest {
419
419
  /**
420
420
  * Maximum items per page. Default: 25. Min: 1, max: 100.
421
421
  */
@@ -440,7 +440,7 @@ interface ListRequest {
440
440
  * filter: "vaultAddress=0xbbbb000000000000000000000000000000000001 AND chainId=84532"
441
441
  * }
442
442
  */
443
- interface GetSupplyCapsRequest {
443
+ interface GetSupplyCapsVaultsRequest {
444
444
  /**
445
445
  * Maximum items per page. Default: 25. Min: 1, max: 100.
446
446
  */
@@ -455,22 +455,22 @@ interface GetSupplyCapsRequest {
455
455
  filter?: string;
456
456
  }
457
457
 
458
- type index_d$b_GetApysRequest = GetApysRequest;
459
- type index_d$b_GetLiquidityShortfallsRequest = GetLiquidityShortfallsRequest;
460
- type index_d$b_GetSupplyCapsRequest = GetSupplyCapsRequest;
461
- type index_d$b_GetTvlsRequest = GetTvlsRequest;
462
- type index_d$b_ListAssetsRequest = ListAssetsRequest;
463
- type index_d$b_ListCompositionsRequest = ListCompositionsRequest;
464
- type index_d$b_ListRequest = ListRequest;
465
- declare namespace index_d$b {
466
- export { type index_d$b_GetApysRequest as GetApysRequest, GetApysRequestOrderByTimestamp$1 as GetApysRequestOrderByTimestamp, type index_d$b_GetLiquidityShortfallsRequest as GetLiquidityShortfallsRequest, type index_d$b_GetSupplyCapsRequest as GetSupplyCapsRequest, type index_d$b_GetTvlsRequest as GetTvlsRequest, GetTvlsRequestOrderByTimestamp$1 as GetTvlsRequestOrderByTimestamp, type index_d$b_ListAssetsRequest as ListAssetsRequest, type index_d$b_ListCompositionsRequest as ListCompositionsRequest, type index_d$b_ListRequest as ListRequest };
458
+ type index_d$e_GetApysVaultsRequest = GetApysVaultsRequest;
459
+ type index_d$e_GetLiquidityShortfallsVaultsRequest = GetLiquidityShortfallsVaultsRequest;
460
+ type index_d$e_GetSupplyCapsVaultsRequest = GetSupplyCapsVaultsRequest;
461
+ type index_d$e_GetTvlsVaultsRequest = GetTvlsVaultsRequest;
462
+ type index_d$e_ListAssetsVaultsRequest = ListAssetsVaultsRequest;
463
+ type index_d$e_ListCompositionsVaultsRequest = ListCompositionsVaultsRequest;
464
+ type index_d$e_ListVaultsRequest = ListVaultsRequest;
465
+ declare namespace index_d$e {
466
+ export { type index_d$e_GetApysVaultsRequest as GetApysVaultsRequest, GetApysVaultsRequestOrderByTimestamp$1 as GetApysVaultsRequestOrderByTimestamp, type index_d$e_GetLiquidityShortfallsVaultsRequest as GetLiquidityShortfallsVaultsRequest, type index_d$e_GetSupplyCapsVaultsRequest as GetSupplyCapsVaultsRequest, type index_d$e_GetTvlsVaultsRequest as GetTvlsVaultsRequest, GetTvlsVaultsRequestOrderByTimestamp$1 as GetTvlsVaultsRequestOrderByTimestamp, type index_d$e_ListAssetsVaultsRequest as ListAssetsVaultsRequest, type index_d$e_ListCompositionsVaultsRequest as ListCompositionsVaultsRequest, type index_d$e_ListVaultsRequest as ListVaultsRequest };
467
467
  }
468
468
 
469
469
  /**
470
470
  * This file was auto-generated by Fern from our API Definition.
471
471
  */
472
- type GetVolumesRequestOrderByTimestamp$1 = "asc" | "desc";
473
- declare const GetVolumesRequestOrderByTimestamp$1: {
472
+ type GetVolumesWithdrawRequestOrderByTimestamp$1 = "asc" | "desc";
473
+ declare const GetVolumesWithdrawRequestOrderByTimestamp$1: {
474
474
  readonly Asc: "asc";
475
475
  readonly Desc: "desc";
476
476
  };
@@ -478,8 +478,8 @@ declare const GetVolumesRequestOrderByTimestamp$1: {
478
478
  /**
479
479
  * This file was auto-generated by Fern from our API Definition.
480
480
  */
481
- type PrepareWithdrawalRequestResponseFormat$1 = "encoded" | "full" | "structured";
482
- declare const PrepareWithdrawalRequestResponseFormat$1: {
481
+ type PrepareWithdrawRequestResponseFormat$1 = "encoded" | "full" | "structured";
482
+ declare const PrepareWithdrawRequestResponseFormat$1: {
483
483
  readonly Encoded: "encoded";
484
484
  readonly Full: "full";
485
485
  readonly Structured: "structured";
@@ -488,8 +488,8 @@ declare const PrepareWithdrawalRequestResponseFormat$1: {
488
488
  /**
489
489
  * This file was auto-generated by Fern from our API Definition.
490
490
  */
491
- type CancelRequestResponseFormat$1 = "encoded" | "full" | "structured";
492
- declare const CancelRequestResponseFormat$1: {
491
+ type CancelWithdrawRequestResponseFormat$1 = "encoded" | "full" | "structured";
492
+ declare const CancelWithdrawRequestResponseFormat$1: {
493
493
  readonly Encoded: "encoded";
494
494
  readonly Full: "full";
495
495
  readonly Structured: "structured";
@@ -505,7 +505,7 @@ declare const CancelRequestResponseFormat$1: {
505
505
  * filter: "status=PENDING AND chainId=1 AND wantAssetAddress=0x1234567890abcdef1234567890abcdef12345678 AND vaultAddress=0x1234567890abcdef1234567890abcdef12345678 AND userAddress=0x1234567890abcdef1234567890abcdef12345678 AND isMarkedForRefund=false"
506
506
  * }
507
507
  */
508
- interface ListRequestsRequest {
508
+ interface ListRequestsWithdrawRequest {
509
509
  /**
510
510
  * Maximum items per page. Default: 25. Min: 1, max: 100.
511
511
  */
@@ -535,7 +535,7 @@ interface ListRequestsRequest {
535
535
  * filter: "chainId=1 AND wantAssetAddress=0xabcdef1234567890abcdef1234567890abcdef12"
536
536
  * }
537
537
  */
538
- interface GetVolumesRequest {
538
+ interface GetVolumesWithdrawRequest {
539
539
  /**
540
540
  * Maximum items per page. Default: 25. Min: 1, max: 100.
541
541
  */
@@ -563,7 +563,7 @@ interface GetVolumesRequest {
563
563
  /**
564
564
  * Order by timestamp. Allowed: asc, desc. Default: asc.
565
565
  */
566
- orderByTimestamp?: GetVolumesRequestOrderByTimestamp$1;
566
+ orderByTimestamp?: GetVolumesWithdrawRequestOrderByTimestamp$1;
567
567
  /**
568
568
  * Filter string. Flags: chainId, wantAssetAddress. Optional.
569
569
  */
@@ -587,7 +587,7 @@ interface GetVolumesRequest {
587
587
  * chainId: 1
588
588
  * }
589
589
  */
590
- interface PrepareWithdrawalRequest {
590
+ interface PrepareWithdrawRequest {
591
591
  /**
592
592
  * BoringVault contract address (0x + 40 hex chars)
593
593
  */
@@ -623,7 +623,7 @@ interface PrepareWithdrawalRequest {
623
623
  /**
624
624
  * Controls response fields. "encoded" (default): ABI-encoded calldata only. "full": calldata + ABI fragment, function name, args. "structured": ABI fragment, function name, args only.
625
625
  */
626
- responseFormat?: PrepareWithdrawalRequestResponseFormat$1;
626
+ responseFormat?: PrepareWithdrawRequestResponseFormat$1;
627
627
  }
628
628
 
629
629
  /**
@@ -638,7 +638,7 @@ interface PrepareWithdrawalRequest {
638
638
  * chainId: 1
639
639
  * }
640
640
  */
641
- interface CancelRequest {
641
+ interface CancelWithdrawRequest {
642
642
  /**
643
643
  * BoringVault contract address (0x + 40 hex chars)
644
644
  */
@@ -654,7 +654,7 @@ interface CancelRequest {
654
654
  /**
655
655
  * Controls response fields. "encoded" (default): ABI-encoded calldata only. "full": calldata + ABI fragment, function name, args. "structured": ABI fragment, function name, args only.
656
656
  */
657
- responseFormat?: CancelRequestResponseFormat$1;
657
+ responseFormat?: CancelWithdrawRequestResponseFormat$1;
658
658
  }
659
659
 
660
660
  /**
@@ -669,7 +669,7 @@ interface CancelRequest {
669
669
  * chainId: 1
670
670
  * }
671
671
  */
672
- interface CalculateFeeRequest {
672
+ interface CalculateFeeWithdrawRequest {
673
673
  /**
674
674
  * Share amount to withdraw (base units decimal string)
675
675
  */
@@ -688,13 +688,13 @@ interface CalculateFeeRequest {
688
688
  chainId: number;
689
689
  }
690
690
 
691
- type index_d$a_CalculateFeeRequest = CalculateFeeRequest;
692
- type index_d$a_CancelRequest = CancelRequest;
693
- type index_d$a_GetVolumesRequest = GetVolumesRequest;
694
- type index_d$a_ListRequestsRequest = ListRequestsRequest;
695
- type index_d$a_PrepareWithdrawalRequest = PrepareWithdrawalRequest;
696
- declare namespace index_d$a {
697
- export { type index_d$a_CalculateFeeRequest as CalculateFeeRequest, type index_d$a_CancelRequest as CancelRequest, CancelRequestResponseFormat$1 as CancelRequestResponseFormat, type index_d$a_GetVolumesRequest as GetVolumesRequest, GetVolumesRequestOrderByTimestamp$1 as GetVolumesRequestOrderByTimestamp, type index_d$a_ListRequestsRequest as ListRequestsRequest, type index_d$a_PrepareWithdrawalRequest as PrepareWithdrawalRequest, PrepareWithdrawalRequestResponseFormat$1 as PrepareWithdrawalRequestResponseFormat };
691
+ type index_d$d_CalculateFeeWithdrawRequest = CalculateFeeWithdrawRequest;
692
+ type index_d$d_CancelWithdrawRequest = CancelWithdrawRequest;
693
+ type index_d$d_GetVolumesWithdrawRequest = GetVolumesWithdrawRequest;
694
+ type index_d$d_ListRequestsWithdrawRequest = ListRequestsWithdrawRequest;
695
+ type index_d$d_PrepareWithdrawRequest = PrepareWithdrawRequest;
696
+ declare namespace index_d$d {
697
+ export { type index_d$d_CalculateFeeWithdrawRequest as CalculateFeeWithdrawRequest, type index_d$d_CancelWithdrawRequest as CancelWithdrawRequest, CancelWithdrawRequestResponseFormat$1 as CancelWithdrawRequestResponseFormat, type index_d$d_GetVolumesWithdrawRequest as GetVolumesWithdrawRequest, GetVolumesWithdrawRequestOrderByTimestamp$1 as GetVolumesWithdrawRequestOrderByTimestamp, type index_d$d_ListRequestsWithdrawRequest as ListRequestsWithdrawRequest, type index_d$d_PrepareWithdrawRequest as PrepareWithdrawRequest, PrepareWithdrawRequestResponseFormat$1 as PrepareWithdrawRequestResponseFormat };
698
698
  }
699
699
 
700
700
  /**
@@ -763,9 +763,9 @@ interface PrepareDepositRequest {
763
763
  responseFormat?: PrepareDepositRequestResponseFormat$1;
764
764
  }
765
765
 
766
- type index_d$9_PrepareDepositRequest = PrepareDepositRequest;
767
- declare namespace index_d$9 {
768
- export { type index_d$9_PrepareDepositRequest as PrepareDepositRequest, PrepareDepositRequestResponseFormat$1 as PrepareDepositRequestResponseFormat };
766
+ type index_d$c_PrepareDepositRequest = PrepareDepositRequest;
767
+ declare namespace index_d$c {
768
+ export { type index_d$c_PrepareDepositRequest as PrepareDepositRequest, PrepareDepositRequestResponseFormat$1 as PrepareDepositRequestResponseFormat };
769
769
  }
770
770
 
771
771
  /**
@@ -779,7 +779,7 @@ declare namespace index_d$9 {
779
779
  * filter: "vaultAddress=0xbbbb000000000000000000000000000000000001 AND chainId=84532"
780
780
  * }
781
781
  */
782
- interface GetPositionsRequest {
782
+ interface GetPositionsUsersRequest {
783
783
  /**
784
784
  * Maximum items per page. Default: 25. Min: 1, max: 100.
785
785
  */
@@ -798,9 +798,9 @@ interface GetPositionsRequest {
798
798
  filter?: string;
799
799
  }
800
800
 
801
- type index_d$8_GetPositionsRequest = GetPositionsRequest;
802
- declare namespace index_d$8 {
803
- export type { index_d$8_GetPositionsRequest as GetPositionsRequest };
801
+ type index_d$b_GetPositionsUsersRequest = GetPositionsUsersRequest;
802
+ declare namespace index_d$b {
803
+ export type { index_d$b_GetPositionsUsersRequest as GetPositionsUsersRequest };
804
804
  }
805
805
 
806
806
  /**
@@ -826,10 +826,28 @@ interface SmartDepositAddressRequestDto$1 {
826
826
  chainId: number;
827
827
  }
828
828
 
829
- declare namespace index_d$7 {
829
+ declare namespace index_d$a {
830
830
  export type { SmartDepositAddressRequestDto$1 as SmartDepositAddressRequestDto };
831
831
  }
832
832
 
833
+ type index_d$9_CalculateFeeWithdrawRequest = CalculateFeeWithdrawRequest;
834
+ type index_d$9_CancelWithdrawRequest = CancelWithdrawRequest;
835
+ type index_d$9_GetApysVaultsRequest = GetApysVaultsRequest;
836
+ type index_d$9_GetLiquidityShortfallsVaultsRequest = GetLiquidityShortfallsVaultsRequest;
837
+ type index_d$9_GetPositionsUsersRequest = GetPositionsUsersRequest;
838
+ type index_d$9_GetSupplyCapsVaultsRequest = GetSupplyCapsVaultsRequest;
839
+ type index_d$9_GetTvlsVaultsRequest = GetTvlsVaultsRequest;
840
+ type index_d$9_GetVolumesWithdrawRequest = GetVolumesWithdrawRequest;
841
+ type index_d$9_ListAssetsVaultsRequest = ListAssetsVaultsRequest;
842
+ type index_d$9_ListCompositionsVaultsRequest = ListCompositionsVaultsRequest;
843
+ type index_d$9_ListRequestsWithdrawRequest = ListRequestsWithdrawRequest;
844
+ type index_d$9_ListVaultsRequest = ListVaultsRequest;
845
+ type index_d$9_PrepareDepositRequest = PrepareDepositRequest;
846
+ type index_d$9_PrepareWithdrawRequest = PrepareWithdrawRequest;
847
+ declare namespace index_d$9 {
848
+ export { type index_d$9_CalculateFeeWithdrawRequest as CalculateFeeWithdrawRequest, type index_d$9_CancelWithdrawRequest as CancelWithdrawRequest, CancelWithdrawRequestResponseFormat$1 as CancelWithdrawRequestResponseFormat, type index_d$9_GetApysVaultsRequest as GetApysVaultsRequest, GetApysVaultsRequestOrderByTimestamp$1 as GetApysVaultsRequestOrderByTimestamp, type index_d$9_GetLiquidityShortfallsVaultsRequest as GetLiquidityShortfallsVaultsRequest, type index_d$9_GetPositionsUsersRequest as GetPositionsUsersRequest, type index_d$9_GetSupplyCapsVaultsRequest as GetSupplyCapsVaultsRequest, type index_d$9_GetTvlsVaultsRequest as GetTvlsVaultsRequest, GetTvlsVaultsRequestOrderByTimestamp$1 as GetTvlsVaultsRequestOrderByTimestamp, type index_d$9_GetVolumesWithdrawRequest as GetVolumesWithdrawRequest, GetVolumesWithdrawRequestOrderByTimestamp$1 as GetVolumesWithdrawRequestOrderByTimestamp, type index_d$9_ListAssetsVaultsRequest as ListAssetsVaultsRequest, type index_d$9_ListCompositionsVaultsRequest as ListCompositionsVaultsRequest, type index_d$9_ListRequestsWithdrawRequest as ListRequestsWithdrawRequest, type index_d$9_ListVaultsRequest as ListVaultsRequest, type index_d$9_PrepareDepositRequest as PrepareDepositRequest, PrepareDepositRequestResponseFormat$1 as PrepareDepositRequestResponseFormat, type index_d$9_PrepareWithdrawRequest as PrepareWithdrawRequest, PrepareWithdrawRequestResponseFormat$1 as PrepareWithdrawRequestResponseFormat, type SmartDepositAddressRequestDto$1 as SmartDepositAddressRequestDto, index_d$c as deposit, index_d$a as smartDeposits, index_d$b as users, index_d$e as vaults, index_d$d as withdraw };
849
+ }
850
+
833
851
  /**
834
852
  * This file was auto-generated by Fern from our API Definition.
835
853
  */
@@ -843,7 +861,7 @@ declare namespace index_d$7 {
843
861
  * chainId: 1
844
862
  * }
845
863
  */
846
- interface AuthorizeRequest {
864
+ interface DetectAuthorizationRequest {
847
865
  /**
848
866
  * BoringVault contract address (0x + 40 hex chars)
849
867
  */
@@ -866,9 +884,14 @@ interface AuthorizeRequest {
866
884
  chainId: number;
867
885
  }
868
886
 
869
- type index_d$6_AuthorizeRequest = AuthorizeRequest;
870
- declare namespace index_d$6 {
871
- export type { index_d$6_AuthorizeRequest as AuthorizeRequest };
887
+ type index_d$8_DetectAuthorizationRequest = DetectAuthorizationRequest;
888
+ declare namespace index_d$8 {
889
+ export type { index_d$8_DetectAuthorizationRequest as DetectAuthorizationRequest };
890
+ }
891
+
892
+ type index_d$7_DetectAuthorizationRequest = DetectAuthorizationRequest;
893
+ declare namespace index_d$7 {
894
+ export { type index_d$7_DetectAuthorizationRequest as DetectAuthorizationRequest, index_d$8 as authorization };
872
895
  }
873
896
 
874
897
  /**
@@ -1646,8 +1669,8 @@ interface ApprovalTransactionDto$1 {
1646
1669
  /**
1647
1670
  * This file was auto-generated by Fern from our API Definition.
1648
1671
  */
1649
- type PermitResponseDtoMethod$1 = "permit" | "approval" | "already_approved";
1650
- declare const PermitResponseDtoMethod$1: {
1672
+ type AuthorizationResponseDtoMethod$1 = "permit" | "approval" | "already_approved";
1673
+ declare const AuthorizationResponseDtoMethod$1: {
1651
1674
  readonly Permit: "permit";
1652
1675
  readonly Approval: "approval";
1653
1676
  readonly AlreadyApproved: "already_approved";
@@ -1657,8 +1680,8 @@ declare const PermitResponseDtoMethod$1: {
1657
1680
  * This file was auto-generated by Fern from our API Definition.
1658
1681
  */
1659
1682
 
1660
- interface PermitResponseDto$1 {
1661
- method: PermitResponseDtoMethod$1;
1683
+ interface AuthorizationResponseDto$1 {
1684
+ method: AuthorizationResponseDtoMethod$1;
1662
1685
  /** Present when method=permit */
1663
1686
  permitData?: PermitTypedDataResponseDto$1;
1664
1687
  /** Present when method=approval */
@@ -1755,31 +1778,16 @@ declare class ForbiddenError extends AmplifyError {
1755
1778
  constructor(body: ErrorResponseDto$1, rawResponse?: RawResponse);
1756
1779
  }
1757
1780
 
1758
- type index_d$5_AuthorizeRequest = AuthorizeRequest;
1759
- type index_d$5_BadRequestError = BadRequestError;
1760
- declare const index_d$5_BadRequestError: typeof BadRequestError;
1761
- type index_d$5_CalculateFeeRequest = CalculateFeeRequest;
1762
- type index_d$5_CancelRequest = CancelRequest;
1763
- type index_d$5_ForbiddenError = ForbiddenError;
1764
- declare const index_d$5_ForbiddenError: typeof ForbiddenError;
1765
- type index_d$5_GetApysRequest = GetApysRequest;
1766
- type index_d$5_GetLiquidityShortfallsRequest = GetLiquidityShortfallsRequest;
1767
- type index_d$5_GetPositionsRequest = GetPositionsRequest;
1768
- type index_d$5_GetSupplyCapsRequest = GetSupplyCapsRequest;
1769
- type index_d$5_GetTvlsRequest = GetTvlsRequest;
1770
- type index_d$5_GetVolumesRequest = GetVolumesRequest;
1771
- type index_d$5_ListAssetsRequest = ListAssetsRequest;
1772
- type index_d$5_ListCompositionsRequest = ListCompositionsRequest;
1773
- type index_d$5_ListRequest = ListRequest;
1774
- type index_d$5_ListRequestsRequest = ListRequestsRequest;
1775
- type index_d$5_NotFoundError = NotFoundError;
1776
- declare const index_d$5_NotFoundError: typeof NotFoundError;
1777
- type index_d$5_PrepareDepositRequest = PrepareDepositRequest;
1778
- type index_d$5_PrepareWithdrawalRequest = PrepareWithdrawalRequest;
1779
- type index_d$5_ServiceUnavailableError = ServiceUnavailableError;
1780
- declare const index_d$5_ServiceUnavailableError: typeof ServiceUnavailableError;
1781
- declare namespace index_d$5 {
1782
- export { type AddressBookEntriesResponseDto$1 as AddressBookEntriesResponseDto, type AddressBookEntryDto$1 as AddressBookEntryDto, type ApprovalTransactionDto$1 as ApprovalTransactionDto, type index_d$5_AuthorizeRequest as AuthorizeRequest, index_d$5_BadRequestError as BadRequestError, type index_d$5_CalculateFeeRequest as CalculateFeeRequest, type CalculateWithdrawalFeeResponseDto$1 as CalculateWithdrawalFeeResponseDto, type index_d$5_CancelRequest as CancelRequest, CancelRequestResponseFormat$1 as CancelRequestResponseFormat, type ErrorDetailDto$1 as ErrorDetailDto, type ErrorObjectDto$1 as ErrorObjectDto, ErrorObjectDtoStatus$1 as ErrorObjectDtoStatus, type ErrorResponseDto$1 as ErrorResponseDto, type FeeDto$1 as FeeDto, type FieldViolationDto$1 as FieldViolationDto, index_d$5_ForbiddenError as ForbiddenError, type index_d$5_GetApysRequest as GetApysRequest, GetApysRequestOrderByTimestamp$1 as GetApysRequestOrderByTimestamp, type index_d$5_GetLiquidityShortfallsRequest as GetLiquidityShortfallsRequest, type index_d$5_GetPositionsRequest as GetPositionsRequest, type index_d$5_GetSupplyCapsRequest as GetSupplyCapsRequest, type index_d$5_GetTvlsRequest as GetTvlsRequest, GetTvlsRequestOrderByTimestamp$1 as GetTvlsRequestOrderByTimestamp, type index_d$5_GetVolumesRequest as GetVolumesRequest, GetVolumesRequestOrderByTimestamp$1 as GetVolumesRequestOrderByTimestamp, type KytAttestationDto$1 as KytAttestationDto, type KytRequestDto$1 as KytRequestDto, type KytResponseDto$1 as KytResponseDto, type LiquidityShortfallDto$1 as LiquidityShortfallDto, type LiquidityShortfallsResponseDto$1 as LiquidityShortfallsResponseDto, type index_d$5_ListAssetsRequest as ListAssetsRequest, type index_d$5_ListCompositionsRequest as ListCompositionsRequest, type index_d$5_ListRequest as ListRequest, type index_d$5_ListRequestsRequest as ListRequestsRequest, type ListVaultRewardsResponseDto$1 as ListVaultRewardsResponseDto, index_d$5_NotFoundError as NotFoundError, type PermitDomainDto$1 as PermitDomainDto, type PermitResponseDto$1 as PermitResponseDto, PermitResponseDtoMethod$1 as PermitResponseDtoMethod, type PermitTypedDataResponseDto$1 as PermitTypedDataResponseDto, type PermitValueDto$1 as PermitValueDto, type PrepareCancelWithdrawResponseDto$1 as PrepareCancelWithdrawResponseDto, type index_d$5_PrepareDepositRequest as PrepareDepositRequest, PrepareDepositRequestResponseFormat$1 as PrepareDepositRequestResponseFormat, type PrepareDepositResponseDto$1 as PrepareDepositResponseDto, type PrepareWithdrawResponseDto$1 as PrepareWithdrawResponseDto, type index_d$5_PrepareWithdrawalRequest as PrepareWithdrawalRequest, PrepareWithdrawalRequestResponseFormat$1 as PrepareWithdrawalRequestResponseFormat, type PreparedTransactionDto$1 as PreparedTransactionDto, index_d$5_ServiceUnavailableError as ServiceUnavailableError, type SmartDepositAddressRequestDto$1 as SmartDepositAddressRequestDto, type SmartDepositAddressResponseDto$1 as SmartDepositAddressResponseDto, type SupplyCapEntryDto$1 as SupplyCapEntryDto, type SupplyCapsResponseDto$1 as SupplyCapsResponseDto, type TokenAmountDto$1 as TokenAmountDto, type TokenAmountWithCapDto$1 as TokenAmountWithCapDto, type UserPositionEntryDto$1 as UserPositionEntryDto, type UserPositionsResponseDto$1 as UserPositionsResponseDto, type VaultApyDto$1 as VaultApyDto, type VaultApysResponseDto$1 as VaultApysResponseDto, type VaultAssetConfigDto$1 as VaultAssetConfigDto, type VaultAssetDto$1 as VaultAssetDto, type VaultAssetsResponseDto$1 as VaultAssetsResponseDto, type VaultCompositionComponentDto$1 as VaultCompositionComponentDto, VaultCompositionComponentDtoInstrumentType$1 as VaultCompositionComponentDtoInstrumentType, VaultCompositionComponentDtoPositionKind$1 as VaultCompositionComponentDtoPositionKind, type VaultCompositionDto$1 as VaultCompositionDto, type VaultCompositionPositionRefDto$1 as VaultCompositionPositionRefDto, VaultCompositionPositionRefDtoType$1 as VaultCompositionPositionRefDtoType, type VaultCompositionsResponseDto$1 as VaultCompositionsResponseDto, type VaultDeploymentDto$1 as VaultDeploymentDto, type VaultDto$1 as VaultDto, type VaultRewardDto$1 as VaultRewardDto, type VaultTvlDto$1 as VaultTvlDto, type VaultTvlsResponseDto$1 as VaultTvlsResponseDto, type VaultsResponseDto$1 as VaultsResponseDto, type WithdrawalRequestDto$1 as WithdrawalRequestDto, WithdrawalRequestDtoStatus$1 as WithdrawalRequestDtoStatus, type WithdrawalRequestsResponseDto$1 as WithdrawalRequestsResponseDto, type WithdrawalSlAsDto$1 as WithdrawalSlAsDto, type WithdrawalVolumeDto$1 as WithdrawalVolumeDto, type WithdrawalVolumesResponseDto$1 as WithdrawalVolumesResponseDto, index_d$9 as deposit, index_d$6 as permit, index_d$7 as smartDeposits, index_d$8 as users, index_d$b as vaults, index_d$a as withdraw };
1781
+ type index_d$6_BadRequestError = BadRequestError;
1782
+ declare const index_d$6_BadRequestError: typeof BadRequestError;
1783
+ type index_d$6_ForbiddenError = ForbiddenError;
1784
+ declare const index_d$6_ForbiddenError: typeof ForbiddenError;
1785
+ type index_d$6_NotFoundError = NotFoundError;
1786
+ declare const index_d$6_NotFoundError: typeof NotFoundError;
1787
+ type index_d$6_ServiceUnavailableError = ServiceUnavailableError;
1788
+ declare const index_d$6_ServiceUnavailableError: typeof ServiceUnavailableError;
1789
+ declare namespace index_d$6 {
1790
+ export { type AddressBookEntriesResponseDto$1 as AddressBookEntriesResponseDto, type AddressBookEntryDto$1 as AddressBookEntryDto, type ApprovalTransactionDto$1 as ApprovalTransactionDto, type AuthorizationResponseDto$1 as AuthorizationResponseDto, AuthorizationResponseDtoMethod$1 as AuthorizationResponseDtoMethod, index_d$6_BadRequestError as BadRequestError, type CalculateWithdrawalFeeResponseDto$1 as CalculateWithdrawalFeeResponseDto, type ErrorDetailDto$1 as ErrorDetailDto, type ErrorObjectDto$1 as ErrorObjectDto, ErrorObjectDtoStatus$1 as ErrorObjectDtoStatus, type ErrorResponseDto$1 as ErrorResponseDto, type FeeDto$1 as FeeDto, type FieldViolationDto$1 as FieldViolationDto, index_d$6_ForbiddenError as ForbiddenError, type KytAttestationDto$1 as KytAttestationDto, type KytRequestDto$1 as KytRequestDto, type KytResponseDto$1 as KytResponseDto, type LiquidityShortfallDto$1 as LiquidityShortfallDto, type LiquidityShortfallsResponseDto$1 as LiquidityShortfallsResponseDto, type ListVaultRewardsResponseDto$1 as ListVaultRewardsResponseDto, index_d$6_NotFoundError as NotFoundError, type PermitDomainDto$1 as PermitDomainDto, type PermitTypedDataResponseDto$1 as PermitTypedDataResponseDto, type PermitValueDto$1 as PermitValueDto, type PrepareCancelWithdrawResponseDto$1 as PrepareCancelWithdrawResponseDto, type PrepareDepositResponseDto$1 as PrepareDepositResponseDto, type PrepareWithdrawResponseDto$1 as PrepareWithdrawResponseDto, type PreparedTransactionDto$1 as PreparedTransactionDto, index_d$6_ServiceUnavailableError as ServiceUnavailableError, type SmartDepositAddressResponseDto$1 as SmartDepositAddressResponseDto, type SupplyCapEntryDto$1 as SupplyCapEntryDto, type SupplyCapsResponseDto$1 as SupplyCapsResponseDto, type TokenAmountDto$1 as TokenAmountDto, type TokenAmountWithCapDto$1 as TokenAmountWithCapDto, type UserPositionEntryDto$1 as UserPositionEntryDto, type UserPositionsResponseDto$1 as UserPositionsResponseDto, type VaultApyDto$1 as VaultApyDto, type VaultApysResponseDto$1 as VaultApysResponseDto, type VaultAssetConfigDto$1 as VaultAssetConfigDto, type VaultAssetDto$1 as VaultAssetDto, type VaultAssetsResponseDto$1 as VaultAssetsResponseDto, type VaultCompositionComponentDto$1 as VaultCompositionComponentDto, VaultCompositionComponentDtoInstrumentType$1 as VaultCompositionComponentDtoInstrumentType, VaultCompositionComponentDtoPositionKind$1 as VaultCompositionComponentDtoPositionKind, type VaultCompositionDto$1 as VaultCompositionDto, type VaultCompositionPositionRefDto$1 as VaultCompositionPositionRefDto, VaultCompositionPositionRefDtoType$1 as VaultCompositionPositionRefDtoType, type VaultCompositionsResponseDto$1 as VaultCompositionsResponseDto, type VaultDeploymentDto$1 as VaultDeploymentDto, type VaultDto$1 as VaultDto, type VaultRewardDto$1 as VaultRewardDto, type VaultTvlDto$1 as VaultTvlDto, type VaultTvlsResponseDto$1 as VaultTvlsResponseDto, type VaultsResponseDto$1 as VaultsResponseDto, type WithdrawalRequestDto$1 as WithdrawalRequestDto, WithdrawalRequestDtoStatus$1 as WithdrawalRequestDtoStatus, type WithdrawalRequestsResponseDto$1 as WithdrawalRequestsResponseDto, type WithdrawalSlAsDto$1 as WithdrawalSlAsDto, type WithdrawalVolumeDto$1 as WithdrawalVolumeDto, type WithdrawalVolumesResponseDto$1 as WithdrawalVolumesResponseDto, index_d$9 as amplify, index_d$7 as core };
1783
1791
  }
1784
1792
 
1785
1793
  /**
@@ -1810,29 +1818,29 @@ declare class Vaults {
1810
1818
  /**
1811
1819
  * Returns depositable and withdrawable assets for vaults. Filter by vault address, chain ID, or asset capabilities. Defaults: pageSize=25 (max 100); omit pageToken for the first page.
1812
1820
  *
1813
- * @param {Amplify.ListAssetsRequest} request
1821
+ * @param {Amplify.amplify.ListAssetsVaultsRequest} request
1814
1822
  * @param {Vaults.RequestOptions} requestOptions - Request-specific configuration.
1815
1823
  *
1816
1824
  * @throws {@link Amplify.BadRequestError}
1817
1825
  *
1818
1826
  * @example
1819
- * await client.vaults.listAssets({
1827
+ * await client.amplify.vaults.listAssets({
1820
1828
  * pageSize: 25,
1821
1829
  * filter: "withdrawable=true AND chainId=1 AND assetAddress=0xabcdef1234567890abcdef1234567890abcdef12"
1822
1830
  * })
1823
1831
  */
1824
- listAssets(request?: ListAssetsRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<VaultAssetsResponseDto$1>;
1832
+ listAssets(request?: ListAssetsVaultsRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<VaultAssetsResponseDto$1>;
1825
1833
  private __listAssets;
1826
1834
  /**
1827
1835
  * Returns historical and current APY data for vaults. APY is returned in percent (e.g. 4.25 for 4.25%). Time range: provide startTime+endTime, or lookback from now; if all omitted, lookback defaults to 30 days (2592000s). startTime/endTime take precedence over lookback when both are set. Defaults: interval=86400s (1 day); orderByTimestamp=asc; pageSize=25 (max 100); omit pageToken for the first page.
1828
1836
  *
1829
- * @param {Amplify.GetApysRequest} request
1837
+ * @param {Amplify.amplify.GetApysVaultsRequest} request
1830
1838
  * @param {Vaults.RequestOptions} requestOptions - Request-specific configuration.
1831
1839
  *
1832
1840
  * @throws {@link Amplify.BadRequestError}
1833
1841
  *
1834
1842
  * @example
1835
- * await client.vaults.getApys({
1843
+ * await client.amplify.vaults.getApys({
1836
1844
  * pageSize: 25,
1837
1845
  * startTime: "2026-01-01T00:00:00Z",
1838
1846
  * endTime: "2026-01-21T00:00:00Z",
@@ -1841,18 +1849,18 @@ declare class Vaults {
1841
1849
  * filter: "vaultAddress=0x1234567890abcdef1234567890abcdef12345678"
1842
1850
  * })
1843
1851
  */
1844
- getApys(request?: GetApysRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<VaultApysResponseDto$1>;
1852
+ getApys(request?: GetApysVaultsRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<VaultApysResponseDto$1>;
1845
1853
  private __getApys;
1846
1854
  /**
1847
1855
  * Returns historical and current TVL data for vaults. Time range: provide startTime+endTime, or lookback from now; if all omitted, lookback defaults to 30 days (2592000s). startTime/endTime take precedence over lookback when both are set. Defaults: interval=86400s (1 day); orderByTimestamp=asc; pageSize=25 (max 100); omit pageToken for the first page.
1848
1856
  *
1849
- * @param {Amplify.GetTvlsRequest} request
1857
+ * @param {Amplify.amplify.GetTvlsVaultsRequest} request
1850
1858
  * @param {Vaults.RequestOptions} requestOptions - Request-specific configuration.
1851
1859
  *
1852
1860
  * @throws {@link Amplify.BadRequestError}
1853
1861
  *
1854
1862
  * @example
1855
- * await client.vaults.getTvls({
1863
+ * await client.amplify.vaults.getTvls({
1856
1864
  * pageSize: 25,
1857
1865
  * startTime: "2026-01-01T00:00:00Z",
1858
1866
  * endTime: "2026-01-21T00:00:00Z",
@@ -1863,72 +1871,72 @@ declare class Vaults {
1863
1871
  * filter: "chainId=1 AND vaultAddress=0x1234567890abcdef1234567890abcdef12345678"
1864
1872
  * })
1865
1873
  */
1866
- getTvls(request?: GetTvlsRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<VaultTvlsResponseDto$1>;
1874
+ getTvls(request?: GetTvlsVaultsRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<VaultTvlsResponseDto$1>;
1867
1875
  private __getTvls;
1868
1876
  /**
1869
1877
  * Returns current asset composition for vaults, including component weights and values. Defaults: pageSize=25 (max 100); omit pageToken for the first page.
1870
1878
  *
1871
- * @param {Amplify.ListCompositionsRequest} request
1879
+ * @param {Amplify.amplify.ListCompositionsVaultsRequest} request
1872
1880
  * @param {Vaults.RequestOptions} requestOptions - Request-specific configuration.
1873
1881
  *
1874
1882
  * @throws {@link Amplify.BadRequestError}
1875
1883
  *
1876
1884
  * @example
1877
- * await client.vaults.listCompositions({
1885
+ * await client.amplify.vaults.listCompositions({
1878
1886
  * pageSize: 25,
1879
1887
  * filter: "chainId=1 AND vaultAddress=0x1234567890abcdef1234567890abcdef12345678"
1880
1888
  * })
1881
1889
  */
1882
- listCompositions(request?: ListCompositionsRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<VaultCompositionsResponseDto$1>;
1890
+ listCompositions(request?: ListCompositionsVaultsRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<VaultCompositionsResponseDto$1>;
1883
1891
  private __listCompositions;
1884
1892
  /**
1885
1893
  * Returns current liquidity shortfalls, indicating assets where demand exceeds available liquidity. Defaults: pageSize=25 (max 100); omit pageToken for the first page.
1886
1894
  *
1887
- * @param {Amplify.GetLiquidityShortfallsRequest} request
1895
+ * @param {Amplify.amplify.GetLiquidityShortfallsVaultsRequest} request
1888
1896
  * @param {Vaults.RequestOptions} requestOptions - Request-specific configuration.
1889
1897
  *
1890
1898
  * @throws {@link Amplify.BadRequestError}
1891
1899
  *
1892
1900
  * @example
1893
- * await client.vaults.getLiquidityShortfalls({
1901
+ * await client.amplify.vaults.getLiquidityShortfalls({
1894
1902
  * pageSize: 25,
1895
1903
  * filter: "chainId=1 AND vaultAddress=0x1234567890abcdef1234567890abcdef12345678"
1896
1904
  * })
1897
1905
  */
1898
- getLiquidityShortfalls(request?: GetLiquidityShortfallsRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<LiquidityShortfallsResponseDto$1>;
1906
+ getLiquidityShortfalls(request?: GetLiquidityShortfallsVaultsRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<LiquidityShortfallsResponseDto$1>;
1899
1907
  private __getLiquidityShortfalls;
1900
1908
  /**
1901
1909
  * Returns aggregated vault configuration grouped by vault name: chain deployments (contract addresses, KYT flag, deposit supply cap, minimum withdrawal order size, in-deprecation flag) with nested per-asset config (depositable/withdrawable flags, deposit/withdraw fees, withdrawal SLAs).
1902
1910
  *
1903
- * @param {Amplify.ListRequest} request
1911
+ * @param {Amplify.amplify.ListVaultsRequest} request
1904
1912
  * @param {Vaults.RequestOptions} requestOptions - Request-specific configuration.
1905
1913
  *
1906
1914
  * @throws {@link Amplify.BadRequestError}
1907
1915
  *
1908
1916
  * @example
1909
- * await client.vaults.list({
1917
+ * await client.amplify.vaults.list({
1910
1918
  * pageSize: 25,
1911
1919
  * filter: "chainId=1 AND inDeprecation=false"
1912
1920
  * })
1913
1921
  */
1914
- list(request?: ListRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<VaultsResponseDto$1>;
1922
+ list(request?: ListVaultsRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<VaultsResponseDto$1>;
1915
1923
  private __list;
1916
1924
  /**
1917
1925
  * Returns up-to-the-block totalSupplyInBase, supplyCap, and percentageFilled per chain each vault is deployed on. totalSupplyInBase and supplyCap are both denominated in the vault base asset, so they are directly comparable. The filter parameter is optional; narrow with the vaultAddress and/or chainId flags, or omit it to return every live vault deployment. Defaults: pageSize=25 (max 100); omit pageToken for the first page.
1918
1926
  *
1919
- * @param {Amplify.GetSupplyCapsRequest} request
1927
+ * @param {Amplify.amplify.GetSupplyCapsVaultsRequest} request
1920
1928
  * @param {Vaults.RequestOptions} requestOptions - Request-specific configuration.
1921
1929
  *
1922
1930
  * @throws {@link Amplify.BadRequestError}
1923
1931
  * @throws {@link Amplify.ServiceUnavailableError}
1924
1932
  *
1925
1933
  * @example
1926
- * await client.vaults.getSupplyCaps({
1934
+ * await client.amplify.vaults.getSupplyCaps({
1927
1935
  * pageSize: 25,
1928
1936
  * filter: "vaultAddress=0xbbbb000000000000000000000000000000000001 AND chainId=84532"
1929
1937
  * })
1930
1938
  */
1931
- getSupplyCaps(request?: GetSupplyCapsRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<SupplyCapsResponseDto$1>;
1939
+ getSupplyCaps(request?: GetSupplyCapsVaultsRequest, requestOptions?: Vaults.RequestOptions): HttpResponsePromise<SupplyCapsResponseDto$1>;
1932
1940
  private __getSupplyCaps;
1933
1941
  protected _getCustomAuthorizationHeaders(): Promise<{
1934
1942
  "x-api-key": string;
@@ -1963,29 +1971,29 @@ declare class Withdraw {
1963
1971
  /**
1964
1972
  * Returns withdrawal requests filtered by status, chain, asset, participants, and queue-processing metadata. Defaults: pageSize=25 (max 100); omit pageToken for the first page.
1965
1973
  *
1966
- * @param {Amplify.ListRequestsRequest} request
1974
+ * @param {Amplify.amplify.ListRequestsWithdrawRequest} request
1967
1975
  * @param {Withdraw.RequestOptions} requestOptions - Request-specific configuration.
1968
1976
  *
1969
1977
  * @throws {@link Amplify.BadRequestError}
1970
1978
  *
1971
1979
  * @example
1972
- * await client.withdraw.listRequests({
1980
+ * await client.amplify.withdraw.listRequests({
1973
1981
  * pageSize: 25,
1974
1982
  * filter: "status=PENDING AND chainId=1 AND wantAssetAddress=0x1234567890abcdef1234567890abcdef12345678 AND vaultAddress=0x1234567890abcdef1234567890abcdef12345678 AND userAddress=0x1234567890abcdef1234567890abcdef12345678 AND isMarkedForRefund=false"
1975
1983
  * })
1976
1984
  */
1977
- listRequests(request?: ListRequestsRequest, requestOptions?: Withdraw.RequestOptions): HttpResponsePromise<WithdrawalRequestsResponseDto$1>;
1985
+ listRequests(request?: ListRequestsWithdrawRequest, requestOptions?: Withdraw.RequestOptions): HttpResponsePromise<WithdrawalRequestsResponseDto$1>;
1978
1986
  private __listRequests;
1979
1987
  /**
1980
1988
  * Returns historical withdrawal volume aggregated by time interval. startTime, endTime, and vaultAddress are required. Optionally filter by chainId and wantAssetAddress using the filter parameter. Defaults: orderByTimestamp=asc; pageSize=25 (max 100); omit pageToken for the first page. interval is optional.
1981
1989
  *
1982
- * @param {Amplify.GetVolumesRequest} request
1990
+ * @param {Amplify.amplify.GetVolumesWithdrawRequest} request
1983
1991
  * @param {Withdraw.RequestOptions} requestOptions - Request-specific configuration.
1984
1992
  *
1985
1993
  * @throws {@link Amplify.BadRequestError}
1986
1994
  *
1987
1995
  * @example
1988
- * await client.withdraw.getVolumes({
1996
+ * await client.amplify.withdraw.getVolumes({
1989
1997
  * pageSize: 25,
1990
1998
  * startTime: "2026-01-01T00:00:00Z",
1991
1999
  * endTime: "2026-01-21T00:00:00Z",
@@ -1994,19 +2002,19 @@ declare class Withdraw {
1994
2002
  * filter: "chainId=1 AND wantAssetAddress=0xabcdef1234567890abcdef1234567890abcdef12"
1995
2003
  * })
1996
2004
  */
1997
- getVolumes(request: GetVolumesRequest, requestOptions?: Withdraw.RequestOptions): HttpResponsePromise<WithdrawalVolumesResponseDto$1>;
2005
+ getVolumes(request: GetVolumesWithdrawRequest, requestOptions?: Withdraw.RequestOptions): HttpResponsePromise<WithdrawalVolumesResponseDto$1>;
1998
2006
  private __getVolumes;
1999
2007
  /**
2000
2008
  * Returns ABI-encoded calldata for submitting a vault withdrawal order. Identify the vault by its BoringVault contract address. The caller must have pre-approved the WithdrawQueue to spend vault shares.
2001
2009
  *
2002
- * @param {Amplify.PrepareWithdrawalRequest} request
2010
+ * @param {Amplify.amplify.PrepareWithdrawRequest} request
2003
2011
  * @param {Withdraw.RequestOptions} requestOptions - Request-specific configuration.
2004
2012
  *
2005
2013
  * @throws {@link Amplify.BadRequestError}
2006
2014
  * @throws {@link Amplify.NotFoundError}
2007
2015
  *
2008
2016
  * @example
2009
- * await client.withdraw.prepareWithdrawal({
2017
+ * await client.amplify.withdraw.prepare({
2010
2018
  * vaultAddress: "0xbbbb000000000000000000000000000000000001",
2011
2019
  * wantAsset: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
2012
2020
  * shareAmount: "1000000000000000000",
@@ -2017,32 +2025,32 @@ declare class Withdraw {
2017
2025
  * chainId: 1
2018
2026
  * })
2019
2027
  */
2020
- prepareWithdrawal(request: PrepareWithdrawalRequest, requestOptions?: Withdraw.RequestOptions): HttpResponsePromise<PrepareWithdrawResponseDto$1>;
2021
- private __prepareWithdrawal;
2028
+ prepare(request: PrepareWithdrawRequest, requestOptions?: Withdraw.RequestOptions): HttpResponsePromise<PrepareWithdrawResponseDto$1>;
2029
+ private __prepare;
2022
2030
  /**
2023
2031
  * Returns ABI-encoded calldata for cancelling a pending vault withdrawal order on the WithdrawQueue contract. Identify the vault by its BoringVault contract address and the order by its index in the WithdrawQueue. Only the original order owner can successfully submit this transaction — ownership is enforced on-chain via msg.sender.
2024
2032
  *
2025
2033
  * To retrieve the required `orderIndex` parameter, call `GET /v2/amplify/withdrawalRequests` filtered by `userAddress` and `vaultAddress`; each returned item includes its `orderIndex`.
2026
2034
  *
2027
- * @param {Amplify.CancelRequest} request
2035
+ * @param {Amplify.amplify.CancelWithdrawRequest} request
2028
2036
  * @param {Withdraw.RequestOptions} requestOptions - Request-specific configuration.
2029
2037
  *
2030
2038
  * @throws {@link Amplify.BadRequestError}
2031
2039
  * @throws {@link Amplify.NotFoundError}
2032
2040
  *
2033
2041
  * @example
2034
- * await client.withdraw.cancel({
2042
+ * await client.amplify.withdraw.cancel({
2035
2043
  * vaultAddress: "0xbbbb000000000000000000000000000000000001",
2036
2044
  * orderIndex: "42",
2037
2045
  * chainId: 1
2038
2046
  * })
2039
2047
  */
2040
- cancel(request: CancelRequest, requestOptions?: Withdraw.RequestOptions): HttpResponsePromise<PrepareCancelWithdrawResponseDto$1>;
2048
+ cancel(request: CancelWithdrawRequest, requestOptions?: Withdraw.RequestOptions): HttpResponsePromise<PrepareCancelWithdrawResponseDto$1>;
2041
2049
  private __cancel;
2042
2050
  /**
2043
2051
  * Calculates the withdrawal fee the user would be charged for a given offer amount and want asset.
2044
2052
  *
2045
- * @param {Amplify.CalculateFeeRequest} request
2053
+ * @param {Amplify.amplify.CalculateFeeWithdrawRequest} request
2046
2054
  * @param {Withdraw.RequestOptions} requestOptions - Request-specific configuration.
2047
2055
  *
2048
2056
  * @throws {@link Amplify.BadRequestError}
@@ -2050,14 +2058,14 @@ declare class Withdraw {
2050
2058
  * @throws {@link Amplify.ServiceUnavailableError}
2051
2059
  *
2052
2060
  * @example
2053
- * await client.withdraw.calculateFee({
2061
+ * await client.amplify.withdraw.calculateFee({
2054
2062
  * offerAmount: "1000000000000000000",
2055
2063
  * wantAsset: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
2056
2064
  * vaultAddress: "0xbbbb000000000000000000000000000000000001",
2057
2065
  * chainId: 1
2058
2066
  * })
2059
2067
  */
2060
- calculateFee(request: CalculateFeeRequest, requestOptions?: Withdraw.RequestOptions): HttpResponsePromise<CalculateWithdrawalFeeResponseDto$1>;
2068
+ calculateFee(request: CalculateFeeWithdrawRequest, requestOptions?: Withdraw.RequestOptions): HttpResponsePromise<CalculateWithdrawalFeeResponseDto$1>;
2061
2069
  private __calculateFee;
2062
2070
  protected _getCustomAuthorizationHeaders(): Promise<{
2063
2071
  "x-api-key": string;
@@ -2090,9 +2098,9 @@ declare class Deposit {
2090
2098
  protected readonly _options: Deposit.Options;
2091
2099
  constructor(_options: Deposit.Options);
2092
2100
  /**
2093
- * Returns ABI-encoded calldata for a vault deposit. Identify the vault by its BoringVault contract address. Provide a permit signature from the authorize step (GET /v2/core/permit) to use the gas-free permit path; omit to use a standard approve+deposit flow. Note: permit signatures are bound to a specific spender, amount, nonce, and deadline, so replay is bounded — but because they are passed as query params they may appear in access logs, browser history, and proxy/CDN caches. Callers should use short `permitDeadline` values to minimize the exposure window.
2101
+ * Returns ABI-encoded calldata for a vault deposit. Identify the vault by its BoringVault contract address. Provide a permit signature from the authorize step (GET /v2/core/authorization) to use the gas-free permit path; omit to use a standard approve+deposit flow. Note: permit signatures are bound to a specific spender, amount, nonce, and deadline, so replay is bounded — but because they are passed as query params they may appear in access logs, browser history, and proxy/CDN caches. Callers should use short `permitDeadline` values to minimize the exposure window.
2094
2102
  *
2095
- * @param {Amplify.PrepareDepositRequest} request
2103
+ * @param {Amplify.amplify.PrepareDepositRequest} request
2096
2104
  * @param {Deposit.RequestOptions} requestOptions - Request-specific configuration.
2097
2105
  *
2098
2106
  * @throws {@link Amplify.BadRequestError}
@@ -2100,7 +2108,7 @@ declare class Deposit {
2100
2108
  * @throws {@link Amplify.ServiceUnavailableError}
2101
2109
  *
2102
2110
  * @example
2103
- * await client.deposit.prepareDeposit({
2111
+ * await client.amplify.deposit.prepare({
2104
2112
  * vaultAddress: "0xbbbb000000000000000000000000000000000001",
2105
2113
  * depositAsset: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
2106
2114
  * depositAmount: "1000000",
@@ -2111,8 +2119,8 @@ declare class Deposit {
2111
2119
  * permitDeadline: 9999999999
2112
2120
  * })
2113
2121
  */
2114
- prepareDeposit(request: PrepareDepositRequest, requestOptions?: Deposit.RequestOptions): HttpResponsePromise<PrepareDepositResponseDto$1>;
2115
- private __prepareDeposit;
2122
+ prepare(request: PrepareDepositRequest, requestOptions?: Deposit.RequestOptions): HttpResponsePromise<PrepareDepositResponseDto$1>;
2123
+ private __prepare;
2116
2124
  protected _getCustomAuthorizationHeaders(): Promise<{
2117
2125
  "x-api-key": string;
2118
2126
  }>;
@@ -2146,20 +2154,20 @@ declare class Users {
2146
2154
  /**
2147
2155
  * Returns a user's share balance and current position value (in the vault base asset) per chain each vault is deployed on. userAddress is required as a top-level query param. filter is optional; narrow with the vaultAddress and/or chainId flags, or omit it to return the user's position in every live vault deployment. Defaults: pageSize=25 (max 100); omit pageToken for the first page.
2148
2156
  *
2149
- * @param {Amplify.GetPositionsRequest} request
2157
+ * @param {Amplify.amplify.GetPositionsUsersRequest} request
2150
2158
  * @param {Users.RequestOptions} requestOptions - Request-specific configuration.
2151
2159
  *
2152
2160
  * @throws {@link Amplify.BadRequestError}
2153
2161
  * @throws {@link Amplify.ServiceUnavailableError}
2154
2162
  *
2155
2163
  * @example
2156
- * await client.users.getPositions({
2164
+ * await client.amplify.users.getPositions({
2157
2165
  * pageSize: 25,
2158
2166
  * userAddress: "0xdEADdE9539A00Bbd9A8494f45EB38aEe89d7C001",
2159
2167
  * filter: "vaultAddress=0xbbbb000000000000000000000000000000000001 AND chainId=84532"
2160
2168
  * })
2161
2169
  */
2162
- getPositions(request: GetPositionsRequest, requestOptions?: Users.RequestOptions): HttpResponsePromise<UserPositionsResponseDto$1>;
2170
+ getPositions(request: GetPositionsUsersRequest, requestOptions?: Users.RequestOptions): HttpResponsePromise<UserPositionsResponseDto$1>;
2163
2171
  private __getPositions;
2164
2172
  protected _getCustomAuthorizationHeaders(): Promise<{
2165
2173
  "x-api-key": string;
@@ -2194,14 +2202,14 @@ declare class SmartDeposits {
2194
2202
  /**
2195
2203
  * Returns the smart deposit address for a given user, vault, input token, and chain.
2196
2204
  *
2197
- * @param {Amplify.SmartDepositAddressRequestDto} request
2205
+ * @param {Amplify.amplify.SmartDepositAddressRequestDto} request
2198
2206
  * @param {SmartDeposits.RequestOptions} requestOptions - Request-specific configuration.
2199
2207
  *
2200
2208
  * @throws {@link Amplify.BadRequestError}
2201
2209
  * @throws {@link Amplify.ForbiddenError}
2202
2210
  *
2203
2211
  * @example
2204
- * await client.smartDeposits.getAddress({
2212
+ * await client.amplify.smartDeposits.getAddress({
2205
2213
  * userDestinationAddress: "0x0000000000000000000000000000000000000123",
2206
2214
  * vaultAddress: "0x1234567890abcdef1234567890abcdef12345678",
2207
2215
  * inputToken: "0xf08a50178dfcde18524640ea6618a1f965821715",
@@ -2219,7 +2227,34 @@ declare class SmartDeposits {
2219
2227
  * This file was auto-generated by Fern from our API Definition.
2220
2228
  */
2221
2229
 
2222
- declare namespace Permit {
2230
+ declare namespace AmplifyService {
2231
+ interface Options {
2232
+ environment?: Supplier<AmplifyEnvironment | string>;
2233
+ /** Specify a custom URL to connect the client to. */
2234
+ baseUrl?: Supplier<string>;
2235
+ apiKey: Supplier<string>;
2236
+ }
2237
+ }
2238
+ declare class AmplifyService {
2239
+ protected readonly _options: AmplifyService.Options;
2240
+ protected _vaults: Vaults | undefined;
2241
+ protected _withdraw: Withdraw | undefined;
2242
+ protected _deposit: Deposit | undefined;
2243
+ protected _users: Users | undefined;
2244
+ protected _smartDeposits: SmartDeposits | undefined;
2245
+ constructor(_options: AmplifyService.Options);
2246
+ get vaults(): Vaults;
2247
+ get withdraw(): Withdraw;
2248
+ get deposit(): Deposit;
2249
+ get users(): Users;
2250
+ get smartDeposits(): SmartDeposits;
2251
+ }
2252
+
2253
+ /**
2254
+ * This file was auto-generated by Fern from our API Definition.
2255
+ */
2256
+
2257
+ declare namespace Authorization {
2223
2258
  interface Options {
2224
2259
  environment?: Supplier<AmplifyEnvironment | string>;
2225
2260
  /** Specify a custom URL to connect the client to. */
@@ -2237,19 +2272,19 @@ declare namespace Permit {
2237
2272
  headers?: Record<string, string>;
2238
2273
  }
2239
2274
  }
2240
- declare class Permit {
2241
- protected readonly _options: Permit.Options;
2242
- constructor(_options: Permit.Options);
2275
+ declare class Authorization {
2276
+ protected readonly _options: Authorization.Options;
2277
+ constructor(_options: Authorization.Options);
2243
2278
  /**
2244
- * @param {Amplify.AuthorizeRequest} request
2245
- * @param {Permit.RequestOptions} requestOptions - Request-specific configuration.
2279
+ * @param {Amplify.core.DetectAuthorizationRequest} request
2280
+ * @param {Authorization.RequestOptions} requestOptions - Request-specific configuration.
2246
2281
  *
2247
2282
  * @throws {@link Amplify.BadRequestError}
2248
2283
  * @throws {@link Amplify.NotFoundError}
2249
2284
  * @throws {@link Amplify.ServiceUnavailableError}
2250
2285
  *
2251
2286
  * @example
2252
- * await client.permit.authorize({
2287
+ * await client.core.authorization.detect({
2253
2288
  * vaultAddress: "0x...",
2254
2289
  * tokenAddress: "0x...",
2255
2290
  * amount: "1000000000000000000",
@@ -2257,13 +2292,32 @@ declare class Permit {
2257
2292
  * chainId: 1
2258
2293
  * })
2259
2294
  */
2260
- authorize(request: AuthorizeRequest, requestOptions?: Permit.RequestOptions): HttpResponsePromise<PermitResponseDto$1>;
2261
- private __authorize;
2295
+ detect(request: DetectAuthorizationRequest, requestOptions?: Authorization.RequestOptions): HttpResponsePromise<AuthorizationResponseDto$1>;
2296
+ private __detect;
2262
2297
  protected _getCustomAuthorizationHeaders(): Promise<{
2263
2298
  "x-api-key": string;
2264
2299
  }>;
2265
2300
  }
2266
2301
 
2302
+ /**
2303
+ * This file was auto-generated by Fern from our API Definition.
2304
+ */
2305
+
2306
+ declare namespace Core {
2307
+ interface Options {
2308
+ environment?: Supplier<AmplifyEnvironment | string>;
2309
+ /** Specify a custom URL to connect the client to. */
2310
+ baseUrl?: Supplier<string>;
2311
+ apiKey: Supplier<string>;
2312
+ }
2313
+ }
2314
+ declare class Core {
2315
+ protected readonly _options: Core.Options;
2316
+ protected _authorization: Authorization | undefined;
2317
+ constructor(_options: Core.Options);
2318
+ get authorization(): Authorization;
2319
+ }
2320
+
2267
2321
  /**
2268
2322
  * This file was auto-generated by Fern from our API Definition.
2269
2323
  */
@@ -2288,27 +2342,19 @@ declare namespace AmplifyClient {
2288
2342
  }
2289
2343
  declare class AmplifyClient {
2290
2344
  protected readonly _options: AmplifyClient.Options;
2291
- protected _vaults: Vaults | undefined;
2292
- protected _withdraw: Withdraw | undefined;
2293
- protected _deposit: Deposit | undefined;
2294
- protected _users: Users | undefined;
2295
- protected _smartDeposits: SmartDeposits | undefined;
2296
- protected _permit: Permit | undefined;
2345
+ protected _amplify: AmplifyService | undefined;
2346
+ protected _core: Core | undefined;
2297
2347
  constructor(_options: AmplifyClient.Options);
2298
- get vaults(): Vaults;
2299
- get withdraw(): Withdraw;
2300
- get deposit(): Deposit;
2301
- get users(): Users;
2302
- get smartDeposits(): SmartDeposits;
2303
- get permit(): Permit;
2348
+ get amplify(): AmplifyService;
2349
+ get core(): Core;
2304
2350
  }
2305
2351
 
2306
2352
  /**
2307
2353
  * This file was auto-generated by Fern from our API Definition.
2308
2354
  */
2309
2355
 
2310
- declare const GetApysRequestOrderByTimestamp: Schema<GetApysRequestOrderByTimestamp.Raw, GetApysRequestOrderByTimestamp$1>;
2311
- declare namespace GetApysRequestOrderByTimestamp {
2356
+ declare const GetApysVaultsRequestOrderByTimestamp: Schema<GetApysVaultsRequestOrderByTimestamp.Raw, GetApysVaultsRequestOrderByTimestamp$1>;
2357
+ declare namespace GetApysVaultsRequestOrderByTimestamp {
2312
2358
  type Raw = "asc" | "desc";
2313
2359
  }
2314
2360
 
@@ -2316,23 +2362,23 @@ declare namespace GetApysRequestOrderByTimestamp {
2316
2362
  * This file was auto-generated by Fern from our API Definition.
2317
2363
  */
2318
2364
 
2319
- declare const GetTvlsRequestOrderByTimestamp: Schema<GetTvlsRequestOrderByTimestamp.Raw, GetTvlsRequestOrderByTimestamp$1>;
2320
- declare namespace GetTvlsRequestOrderByTimestamp {
2365
+ declare const GetTvlsVaultsRequestOrderByTimestamp: Schema<GetTvlsVaultsRequestOrderByTimestamp.Raw, GetTvlsVaultsRequestOrderByTimestamp$1>;
2366
+ declare namespace GetTvlsVaultsRequestOrderByTimestamp {
2321
2367
  type Raw = "asc" | "desc";
2322
2368
  }
2323
2369
 
2324
- declare const index_d$4_GetApysRequestOrderByTimestamp: typeof GetApysRequestOrderByTimestamp;
2325
- declare const index_d$4_GetTvlsRequestOrderByTimestamp: typeof GetTvlsRequestOrderByTimestamp;
2326
- declare namespace index_d$4 {
2327
- export { index_d$4_GetApysRequestOrderByTimestamp as GetApysRequestOrderByTimestamp, index_d$4_GetTvlsRequestOrderByTimestamp as GetTvlsRequestOrderByTimestamp };
2370
+ declare const index_d$5_GetApysVaultsRequestOrderByTimestamp: typeof GetApysVaultsRequestOrderByTimestamp;
2371
+ declare const index_d$5_GetTvlsVaultsRequestOrderByTimestamp: typeof GetTvlsVaultsRequestOrderByTimestamp;
2372
+ declare namespace index_d$5 {
2373
+ export { index_d$5_GetApysVaultsRequestOrderByTimestamp as GetApysVaultsRequestOrderByTimestamp, index_d$5_GetTvlsVaultsRequestOrderByTimestamp as GetTvlsVaultsRequestOrderByTimestamp };
2328
2374
  }
2329
2375
 
2330
2376
  /**
2331
2377
  * This file was auto-generated by Fern from our API Definition.
2332
2378
  */
2333
2379
 
2334
- declare const GetVolumesRequestOrderByTimestamp: Schema<GetVolumesRequestOrderByTimestamp.Raw, GetVolumesRequestOrderByTimestamp$1>;
2335
- declare namespace GetVolumesRequestOrderByTimestamp {
2380
+ declare const GetVolumesWithdrawRequestOrderByTimestamp: Schema<GetVolumesWithdrawRequestOrderByTimestamp.Raw, GetVolumesWithdrawRequestOrderByTimestamp$1>;
2381
+ declare namespace GetVolumesWithdrawRequestOrderByTimestamp {
2336
2382
  type Raw = "asc" | "desc";
2337
2383
  }
2338
2384
 
@@ -2340,8 +2386,8 @@ declare namespace GetVolumesRequestOrderByTimestamp {
2340
2386
  * This file was auto-generated by Fern from our API Definition.
2341
2387
  */
2342
2388
 
2343
- declare const PrepareWithdrawalRequestResponseFormat: Schema<PrepareWithdrawalRequestResponseFormat.Raw, PrepareWithdrawalRequestResponseFormat$1>;
2344
- declare namespace PrepareWithdrawalRequestResponseFormat {
2389
+ declare const PrepareWithdrawRequestResponseFormat: Schema<PrepareWithdrawRequestResponseFormat.Raw, PrepareWithdrawRequestResponseFormat$1>;
2390
+ declare namespace PrepareWithdrawRequestResponseFormat {
2345
2391
  type Raw = "encoded" | "full" | "structured";
2346
2392
  }
2347
2393
 
@@ -2349,16 +2395,16 @@ declare namespace PrepareWithdrawalRequestResponseFormat {
2349
2395
  * This file was auto-generated by Fern from our API Definition.
2350
2396
  */
2351
2397
 
2352
- declare const CancelRequestResponseFormat: Schema<CancelRequestResponseFormat.Raw, CancelRequestResponseFormat$1>;
2353
- declare namespace CancelRequestResponseFormat {
2398
+ declare const CancelWithdrawRequestResponseFormat: Schema<CancelWithdrawRequestResponseFormat.Raw, CancelWithdrawRequestResponseFormat$1>;
2399
+ declare namespace CancelWithdrawRequestResponseFormat {
2354
2400
  type Raw = "encoded" | "full" | "structured";
2355
2401
  }
2356
2402
 
2357
- declare const index_d$3_CancelRequestResponseFormat: typeof CancelRequestResponseFormat;
2358
- declare const index_d$3_GetVolumesRequestOrderByTimestamp: typeof GetVolumesRequestOrderByTimestamp;
2359
- declare const index_d$3_PrepareWithdrawalRequestResponseFormat: typeof PrepareWithdrawalRequestResponseFormat;
2360
- declare namespace index_d$3 {
2361
- export { index_d$3_CancelRequestResponseFormat as CancelRequestResponseFormat, index_d$3_GetVolumesRequestOrderByTimestamp as GetVolumesRequestOrderByTimestamp, index_d$3_PrepareWithdrawalRequestResponseFormat as PrepareWithdrawalRequestResponseFormat };
2403
+ declare const index_d$4_CancelWithdrawRequestResponseFormat: typeof CancelWithdrawRequestResponseFormat;
2404
+ declare const index_d$4_GetVolumesWithdrawRequestOrderByTimestamp: typeof GetVolumesWithdrawRequestOrderByTimestamp;
2405
+ declare const index_d$4_PrepareWithdrawRequestResponseFormat: typeof PrepareWithdrawRequestResponseFormat;
2406
+ declare namespace index_d$4 {
2407
+ export { index_d$4_CancelWithdrawRequestResponseFormat as CancelWithdrawRequestResponseFormat, index_d$4_GetVolumesWithdrawRequestOrderByTimestamp as GetVolumesWithdrawRequestOrderByTimestamp, index_d$4_PrepareWithdrawRequestResponseFormat as PrepareWithdrawRequestResponseFormat };
2362
2408
  }
2363
2409
 
2364
2410
  /**
@@ -2370,9 +2416,9 @@ declare namespace PrepareDepositRequestResponseFormat {
2370
2416
  type Raw = "encoded" | "full" | "structured";
2371
2417
  }
2372
2418
 
2373
- declare const index_d$2_PrepareDepositRequestResponseFormat: typeof PrepareDepositRequestResponseFormat;
2374
- declare namespace index_d$2 {
2375
- export { index_d$2_PrepareDepositRequestResponseFormat as PrepareDepositRequestResponseFormat };
2419
+ declare const index_d$3_PrepareDepositRequestResponseFormat: typeof PrepareDepositRequestResponseFormat;
2420
+ declare namespace index_d$3 {
2421
+ export { index_d$3_PrepareDepositRequestResponseFormat as PrepareDepositRequestResponseFormat };
2376
2422
  }
2377
2423
 
2378
2424
  /**
@@ -2389,9 +2435,20 @@ declare namespace SmartDepositAddressRequestDto {
2389
2435
  }
2390
2436
  }
2391
2437
 
2438
+ declare const index_d$2_SmartDepositAddressRequestDto: typeof SmartDepositAddressRequestDto;
2439
+ declare namespace index_d$2 {
2440
+ export { index_d$2_SmartDepositAddressRequestDto as SmartDepositAddressRequestDto };
2441
+ }
2442
+
2443
+ declare const index_d$1_CancelWithdrawRequestResponseFormat: typeof CancelWithdrawRequestResponseFormat;
2444
+ declare const index_d$1_GetApysVaultsRequestOrderByTimestamp: typeof GetApysVaultsRequestOrderByTimestamp;
2445
+ declare const index_d$1_GetTvlsVaultsRequestOrderByTimestamp: typeof GetTvlsVaultsRequestOrderByTimestamp;
2446
+ declare const index_d$1_GetVolumesWithdrawRequestOrderByTimestamp: typeof GetVolumesWithdrawRequestOrderByTimestamp;
2447
+ declare const index_d$1_PrepareDepositRequestResponseFormat: typeof PrepareDepositRequestResponseFormat;
2448
+ declare const index_d$1_PrepareWithdrawRequestResponseFormat: typeof PrepareWithdrawRequestResponseFormat;
2392
2449
  declare const index_d$1_SmartDepositAddressRequestDto: typeof SmartDepositAddressRequestDto;
2393
2450
  declare namespace index_d$1 {
2394
- export { index_d$1_SmartDepositAddressRequestDto as SmartDepositAddressRequestDto };
2451
+ export { index_d$1_CancelWithdrawRequestResponseFormat as CancelWithdrawRequestResponseFormat, index_d$1_GetApysVaultsRequestOrderByTimestamp as GetApysVaultsRequestOrderByTimestamp, index_d$1_GetTvlsVaultsRequestOrderByTimestamp as GetTvlsVaultsRequestOrderByTimestamp, index_d$1_GetVolumesWithdrawRequestOrderByTimestamp as GetVolumesWithdrawRequestOrderByTimestamp, index_d$1_PrepareDepositRequestResponseFormat as PrepareDepositRequestResponseFormat, index_d$1_PrepareWithdrawRequestResponseFormat as PrepareWithdrawRequestResponseFormat, index_d$1_SmartDepositAddressRequestDto as SmartDepositAddressRequestDto, index_d$3 as deposit, index_d$2 as smartDeposits, index_d$5 as vaults, index_d$4 as withdraw };
2395
2452
  }
2396
2453
 
2397
2454
  /**
@@ -3102,8 +3159,8 @@ declare namespace ApprovalTransactionDto {
3102
3159
  * This file was auto-generated by Fern from our API Definition.
3103
3160
  */
3104
3161
 
3105
- declare const PermitResponseDtoMethod: Schema<PermitResponseDtoMethod.Raw, PermitResponseDtoMethod$1>;
3106
- declare namespace PermitResponseDtoMethod {
3162
+ declare const AuthorizationResponseDtoMethod: Schema<AuthorizationResponseDtoMethod.Raw, AuthorizationResponseDtoMethod$1>;
3163
+ declare namespace AuthorizationResponseDtoMethod {
3107
3164
  type Raw = "permit" | "approval" | "already_approved";
3108
3165
  }
3109
3166
 
@@ -3111,10 +3168,10 @@ declare namespace PermitResponseDtoMethod {
3111
3168
  * This file was auto-generated by Fern from our API Definition.
3112
3169
  */
3113
3170
 
3114
- declare const PermitResponseDto: ObjectSchema<PermitResponseDto.Raw, PermitResponseDto$1>;
3115
- declare namespace PermitResponseDto {
3171
+ declare const AuthorizationResponseDto: ObjectSchema<AuthorizationResponseDto.Raw, AuthorizationResponseDto$1>;
3172
+ declare namespace AuthorizationResponseDto {
3116
3173
  interface Raw {
3117
- method: PermitResponseDtoMethod.Raw;
3174
+ method: AuthorizationResponseDtoMethod.Raw;
3118
3175
  permitData?: PermitTypedDataResponseDto.Raw | null;
3119
3176
  approvalTransaction?: ApprovalTransactionDto.Raw | null;
3120
3177
  }
@@ -3154,17 +3211,15 @@ declare namespace ListVaultRewardsResponseDto {
3154
3211
  declare const index_d_AddressBookEntriesResponseDto: typeof AddressBookEntriesResponseDto;
3155
3212
  declare const index_d_AddressBookEntryDto: typeof AddressBookEntryDto;
3156
3213
  declare const index_d_ApprovalTransactionDto: typeof ApprovalTransactionDto;
3214
+ declare const index_d_AuthorizationResponseDto: typeof AuthorizationResponseDto;
3215
+ declare const index_d_AuthorizationResponseDtoMethod: typeof AuthorizationResponseDtoMethod;
3157
3216
  declare const index_d_CalculateWithdrawalFeeResponseDto: typeof CalculateWithdrawalFeeResponseDto;
3158
- declare const index_d_CancelRequestResponseFormat: typeof CancelRequestResponseFormat;
3159
3217
  declare const index_d_ErrorDetailDto: typeof ErrorDetailDto;
3160
3218
  declare const index_d_ErrorObjectDto: typeof ErrorObjectDto;
3161
3219
  declare const index_d_ErrorObjectDtoStatus: typeof ErrorObjectDtoStatus;
3162
3220
  declare const index_d_ErrorResponseDto: typeof ErrorResponseDto;
3163
3221
  declare const index_d_FeeDto: typeof FeeDto;
3164
3222
  declare const index_d_FieldViolationDto: typeof FieldViolationDto;
3165
- declare const index_d_GetApysRequestOrderByTimestamp: typeof GetApysRequestOrderByTimestamp;
3166
- declare const index_d_GetTvlsRequestOrderByTimestamp: typeof GetTvlsRequestOrderByTimestamp;
3167
- declare const index_d_GetVolumesRequestOrderByTimestamp: typeof GetVolumesRequestOrderByTimestamp;
3168
3223
  declare const index_d_KytAttestationDto: typeof KytAttestationDto;
3169
3224
  declare const index_d_KytRequestDto: typeof KytRequestDto;
3170
3225
  declare const index_d_KytResponseDto: typeof KytResponseDto;
@@ -3172,17 +3227,12 @@ declare const index_d_LiquidityShortfallDto: typeof LiquidityShortfallDto;
3172
3227
  declare const index_d_LiquidityShortfallsResponseDto: typeof LiquidityShortfallsResponseDto;
3173
3228
  declare const index_d_ListVaultRewardsResponseDto: typeof ListVaultRewardsResponseDto;
3174
3229
  declare const index_d_PermitDomainDto: typeof PermitDomainDto;
3175
- declare const index_d_PermitResponseDto: typeof PermitResponseDto;
3176
- declare const index_d_PermitResponseDtoMethod: typeof PermitResponseDtoMethod;
3177
3230
  declare const index_d_PermitTypedDataResponseDto: typeof PermitTypedDataResponseDto;
3178
3231
  declare const index_d_PermitValueDto: typeof PermitValueDto;
3179
3232
  declare const index_d_PrepareCancelWithdrawResponseDto: typeof PrepareCancelWithdrawResponseDto;
3180
- declare const index_d_PrepareDepositRequestResponseFormat: typeof PrepareDepositRequestResponseFormat;
3181
3233
  declare const index_d_PrepareDepositResponseDto: typeof PrepareDepositResponseDto;
3182
3234
  declare const index_d_PrepareWithdrawResponseDto: typeof PrepareWithdrawResponseDto;
3183
- declare const index_d_PrepareWithdrawalRequestResponseFormat: typeof PrepareWithdrawalRequestResponseFormat;
3184
3235
  declare const index_d_PreparedTransactionDto: typeof PreparedTransactionDto;
3185
- declare const index_d_SmartDepositAddressRequestDto: typeof SmartDepositAddressRequestDto;
3186
3236
  declare const index_d_SmartDepositAddressResponseDto: typeof SmartDepositAddressResponseDto;
3187
3237
  declare const index_d_SupplyCapEntryDto: typeof SupplyCapEntryDto;
3188
3238
  declare const index_d_SupplyCapsResponseDto: typeof SupplyCapsResponseDto;
@@ -3215,7 +3265,7 @@ declare const index_d_WithdrawalSlAsDto: typeof WithdrawalSlAsDto;
3215
3265
  declare const index_d_WithdrawalVolumeDto: typeof WithdrawalVolumeDto;
3216
3266
  declare const index_d_WithdrawalVolumesResponseDto: typeof WithdrawalVolumesResponseDto;
3217
3267
  declare namespace index_d {
3218
- export { index_d_AddressBookEntriesResponseDto as AddressBookEntriesResponseDto, index_d_AddressBookEntryDto as AddressBookEntryDto, index_d_ApprovalTransactionDto as ApprovalTransactionDto, index_d_CalculateWithdrawalFeeResponseDto as CalculateWithdrawalFeeResponseDto, index_d_CancelRequestResponseFormat as CancelRequestResponseFormat, index_d_ErrorDetailDto as ErrorDetailDto, index_d_ErrorObjectDto as ErrorObjectDto, index_d_ErrorObjectDtoStatus as ErrorObjectDtoStatus, index_d_ErrorResponseDto as ErrorResponseDto, index_d_FeeDto as FeeDto, index_d_FieldViolationDto as FieldViolationDto, index_d_GetApysRequestOrderByTimestamp as GetApysRequestOrderByTimestamp, index_d_GetTvlsRequestOrderByTimestamp as GetTvlsRequestOrderByTimestamp, index_d_GetVolumesRequestOrderByTimestamp as GetVolumesRequestOrderByTimestamp, index_d_KytAttestationDto as KytAttestationDto, index_d_KytRequestDto as KytRequestDto, index_d_KytResponseDto as KytResponseDto, index_d_LiquidityShortfallDto as LiquidityShortfallDto, index_d_LiquidityShortfallsResponseDto as LiquidityShortfallsResponseDto, index_d_ListVaultRewardsResponseDto as ListVaultRewardsResponseDto, index_d_PermitDomainDto as PermitDomainDto, index_d_PermitResponseDto as PermitResponseDto, index_d_PermitResponseDtoMethod as PermitResponseDtoMethod, index_d_PermitTypedDataResponseDto as PermitTypedDataResponseDto, index_d_PermitValueDto as PermitValueDto, index_d_PrepareCancelWithdrawResponseDto as PrepareCancelWithdrawResponseDto, index_d_PrepareDepositRequestResponseFormat as PrepareDepositRequestResponseFormat, index_d_PrepareDepositResponseDto as PrepareDepositResponseDto, index_d_PrepareWithdrawResponseDto as PrepareWithdrawResponseDto, index_d_PrepareWithdrawalRequestResponseFormat as PrepareWithdrawalRequestResponseFormat, index_d_PreparedTransactionDto as PreparedTransactionDto, index_d_SmartDepositAddressRequestDto as SmartDepositAddressRequestDto, index_d_SmartDepositAddressResponseDto as SmartDepositAddressResponseDto, index_d_SupplyCapEntryDto as SupplyCapEntryDto, index_d_SupplyCapsResponseDto as SupplyCapsResponseDto, index_d_TokenAmountDto as TokenAmountDto, index_d_TokenAmountWithCapDto as TokenAmountWithCapDto, index_d_UserPositionEntryDto as UserPositionEntryDto, index_d_UserPositionsResponseDto as UserPositionsResponseDto, index_d_VaultApyDto as VaultApyDto, index_d_VaultApysResponseDto as VaultApysResponseDto, index_d_VaultAssetConfigDto as VaultAssetConfigDto, index_d_VaultAssetDto as VaultAssetDto, index_d_VaultAssetsResponseDto as VaultAssetsResponseDto, index_d_VaultCompositionComponentDto as VaultCompositionComponentDto, index_d_VaultCompositionComponentDtoInstrumentType as VaultCompositionComponentDtoInstrumentType, index_d_VaultCompositionComponentDtoPositionKind as VaultCompositionComponentDtoPositionKind, index_d_VaultCompositionDto as VaultCompositionDto, index_d_VaultCompositionPositionRefDto as VaultCompositionPositionRefDto, index_d_VaultCompositionPositionRefDtoType as VaultCompositionPositionRefDtoType, index_d_VaultCompositionsResponseDto as VaultCompositionsResponseDto, index_d_VaultDeploymentDto as VaultDeploymentDto, index_d_VaultDto as VaultDto, index_d_VaultRewardDto as VaultRewardDto, index_d_VaultTvlDto as VaultTvlDto, index_d_VaultTvlsResponseDto as VaultTvlsResponseDto, index_d_VaultsResponseDto as VaultsResponseDto, index_d_WithdrawalRequestDto as WithdrawalRequestDto, index_d_WithdrawalRequestDtoStatus as WithdrawalRequestDtoStatus, index_d_WithdrawalRequestsResponseDto as WithdrawalRequestsResponseDto, index_d_WithdrawalSlAsDto as WithdrawalSlAsDto, index_d_WithdrawalVolumeDto as WithdrawalVolumeDto, index_d_WithdrawalVolumesResponseDto as WithdrawalVolumesResponseDto, index_d$2 as deposit, index_d$1 as smartDeposits, index_d$4 as vaults, index_d$3 as withdraw };
3268
+ export { index_d_AddressBookEntriesResponseDto as AddressBookEntriesResponseDto, index_d_AddressBookEntryDto as AddressBookEntryDto, index_d_ApprovalTransactionDto as ApprovalTransactionDto, index_d_AuthorizationResponseDto as AuthorizationResponseDto, index_d_AuthorizationResponseDtoMethod as AuthorizationResponseDtoMethod, index_d_CalculateWithdrawalFeeResponseDto as CalculateWithdrawalFeeResponseDto, index_d_ErrorDetailDto as ErrorDetailDto, index_d_ErrorObjectDto as ErrorObjectDto, index_d_ErrorObjectDtoStatus as ErrorObjectDtoStatus, index_d_ErrorResponseDto as ErrorResponseDto, index_d_FeeDto as FeeDto, index_d_FieldViolationDto as FieldViolationDto, index_d_KytAttestationDto as KytAttestationDto, index_d_KytRequestDto as KytRequestDto, index_d_KytResponseDto as KytResponseDto, index_d_LiquidityShortfallDto as LiquidityShortfallDto, index_d_LiquidityShortfallsResponseDto as LiquidityShortfallsResponseDto, index_d_ListVaultRewardsResponseDto as ListVaultRewardsResponseDto, index_d_PermitDomainDto as PermitDomainDto, index_d_PermitTypedDataResponseDto as PermitTypedDataResponseDto, index_d_PermitValueDto as PermitValueDto, index_d_PrepareCancelWithdrawResponseDto as PrepareCancelWithdrawResponseDto, index_d_PrepareDepositResponseDto as PrepareDepositResponseDto, index_d_PrepareWithdrawResponseDto as PrepareWithdrawResponseDto, index_d_PreparedTransactionDto as PreparedTransactionDto, index_d_SmartDepositAddressResponseDto as SmartDepositAddressResponseDto, index_d_SupplyCapEntryDto as SupplyCapEntryDto, index_d_SupplyCapsResponseDto as SupplyCapsResponseDto, index_d_TokenAmountDto as TokenAmountDto, index_d_TokenAmountWithCapDto as TokenAmountWithCapDto, index_d_UserPositionEntryDto as UserPositionEntryDto, index_d_UserPositionsResponseDto as UserPositionsResponseDto, index_d_VaultApyDto as VaultApyDto, index_d_VaultApysResponseDto as VaultApysResponseDto, index_d_VaultAssetConfigDto as VaultAssetConfigDto, index_d_VaultAssetDto as VaultAssetDto, index_d_VaultAssetsResponseDto as VaultAssetsResponseDto, index_d_VaultCompositionComponentDto as VaultCompositionComponentDto, index_d_VaultCompositionComponentDtoInstrumentType as VaultCompositionComponentDtoInstrumentType, index_d_VaultCompositionComponentDtoPositionKind as VaultCompositionComponentDtoPositionKind, index_d_VaultCompositionDto as VaultCompositionDto, index_d_VaultCompositionPositionRefDto as VaultCompositionPositionRefDto, index_d_VaultCompositionPositionRefDtoType as VaultCompositionPositionRefDtoType, index_d_VaultCompositionsResponseDto as VaultCompositionsResponseDto, index_d_VaultDeploymentDto as VaultDeploymentDto, index_d_VaultDto as VaultDto, index_d_VaultRewardDto as VaultRewardDto, index_d_VaultTvlDto as VaultTvlDto, index_d_VaultTvlsResponseDto as VaultTvlsResponseDto, index_d_VaultsResponseDto as VaultsResponseDto, index_d_WithdrawalRequestDto as WithdrawalRequestDto, index_d_WithdrawalRequestDtoStatus as WithdrawalRequestDtoStatus, index_d_WithdrawalRequestsResponseDto as WithdrawalRequestsResponseDto, index_d_WithdrawalSlAsDto as WithdrawalSlAsDto, index_d_WithdrawalVolumeDto as WithdrawalVolumeDto, index_d_WithdrawalVolumesResponseDto as WithdrawalVolumesResponseDto, index_d$1 as amplify };
3219
3269
  }
3220
3270
 
3221
- export { index_d$5 as Amplify, AmplifyClient, AmplifyError, AmplifyTimeoutError, index_d as serialization };
3271
+ export { index_d$6 as Amplify, AmplifyClient, AmplifyError, AmplifyTimeoutError, index_d as serialization };