@paxoslabs/amplify-sdk 1.0.0 → 1.0.1

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
@@ -455,15 +455,15 @@ interface GetSupplyCapsRequest {
455
455
  filter?: string;
456
456
  }
457
457
 
458
- type index_d$c_GetApysRequest = GetApysRequest;
459
- type index_d$c_GetLiquidityShortfallsRequest = GetLiquidityShortfallsRequest;
460
- type index_d$c_GetSupplyCapsRequest = GetSupplyCapsRequest;
461
- type index_d$c_GetTvlsRequest = GetTvlsRequest;
462
- type index_d$c_ListAssetsRequest = ListAssetsRequest;
463
- type index_d$c_ListCompositionsRequest = ListCompositionsRequest;
464
- type index_d$c_ListRequest = ListRequest;
465
- declare namespace index_d$c {
466
- export { type index_d$c_GetApysRequest as GetApysRequest, GetApysRequestOrderByTimestamp$1 as GetApysRequestOrderByTimestamp, type index_d$c_GetLiquidityShortfallsRequest as GetLiquidityShortfallsRequest, type index_d$c_GetSupplyCapsRequest as GetSupplyCapsRequest, type index_d$c_GetTvlsRequest as GetTvlsRequest, GetTvlsRequestOrderByTimestamp$1 as GetTvlsRequestOrderByTimestamp, type index_d$c_ListAssetsRequest as ListAssetsRequest, type index_d$c_ListCompositionsRequest as ListCompositionsRequest, type index_d$c_ListRequest as ListRequest };
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 };
467
467
  }
468
468
 
469
469
  /**
@@ -688,13 +688,13 @@ interface CalculateFeeRequest {
688
688
  chainId: number;
689
689
  }
690
690
 
691
- type index_d$b_CalculateFeeRequest = CalculateFeeRequest;
692
- type index_d$b_CancelRequest = CancelRequest;
693
- type index_d$b_GetVolumesRequest = GetVolumesRequest;
694
- type index_d$b_ListRequestsRequest = ListRequestsRequest;
695
- type index_d$b_PrepareWithdrawalRequest = PrepareWithdrawalRequest;
696
- declare namespace index_d$b {
697
- export { type index_d$b_CalculateFeeRequest as CalculateFeeRequest, type index_d$b_CancelRequest as CancelRequest, CancelRequestResponseFormat$1 as CancelRequestResponseFormat, type index_d$b_GetVolumesRequest as GetVolumesRequest, GetVolumesRequestOrderByTimestamp$1 as GetVolumesRequestOrderByTimestamp, type index_d$b_ListRequestsRequest as ListRequestsRequest, type index_d$b_PrepareWithdrawalRequest as PrepareWithdrawalRequest, PrepareWithdrawalRequestResponseFormat$1 as PrepareWithdrawalRequestResponseFormat };
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 };
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$a_PrepareDepositRequest = PrepareDepositRequest;
767
- declare namespace index_d$a {
768
- export { type index_d$a_PrepareDepositRequest as PrepareDepositRequest, PrepareDepositRequestResponseFormat$1 as PrepareDepositRequestResponseFormat };
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 };
769
769
  }
770
770
 
771
771
  /**
@@ -798,33 +798,9 @@ interface GetPositionsRequest {
798
798
  filter?: string;
799
799
  }
800
800
 
801
- type index_d$9_GetPositionsRequest = GetPositionsRequest;
802
- declare namespace index_d$9 {
803
- export type { index_d$9_GetPositionsRequest as GetPositionsRequest };
804
- }
805
-
806
- /**
807
- * This file was auto-generated by Fern from our API Definition.
808
- */
809
- /**
810
- * @example
811
- * {
812
- * to: "0x0000000000000000000000000000000000000123",
813
- * from: "0x0000000000000000000000000000000000000456",
814
- * chain: "base"
815
- * }
816
- */
817
- interface KytRequestDto$1 {
818
- /** Destination address for funds */
819
- to: string;
820
- /** User wallet address to evaluate */
821
- from: string;
822
- /** Chain name */
823
- chain: string;
824
- }
825
-
801
+ type index_d$8_GetPositionsRequest = GetPositionsRequest;
826
802
  declare namespace index_d$8 {
827
- export type { KytRequestDto$1 as KytRequestDto };
803
+ export type { index_d$8_GetPositionsRequest as GetPositionsRequest };
828
804
  }
829
805
 
830
806
  /**
@@ -833,28 +809,25 @@ declare namespace index_d$8 {
833
809
  /**
834
810
  * @example
835
811
  * {
836
- * pageSize: 25,
837
- * filter: "chainId=1 AND name=\"Treasury\""
812
+ * userDestinationAddress: "0x0000000000000000000000000000000000000123",
813
+ * vaultAddress: "0x1234567890abcdef1234567890abcdef12345678",
814
+ * inputToken: "0xf08a50178dfcde18524640ea6618a1f965821715",
815
+ * chainId: 1
838
816
  * }
839
817
  */
840
- interface AddressBookControllerGetAddressBookEntriesV2Request {
841
- /**
842
- * Maximum items per page. Default: 25. Min: 1, max: 100.
843
- */
844
- pageSize?: number;
845
- /**
846
- * Opaque token for the next page. Omit for the first page.
847
- */
848
- pageToken?: string;
849
- /**
850
- * Filter string. Flags: chainId, address, name. Optional.
851
- */
852
- filter?: string;
818
+ interface SmartDepositAddressRequestDto$1 {
819
+ /** Address of end user who we are depositing funds on behalf of */
820
+ userDestinationAddress: string;
821
+ /** Vault contract address */
822
+ vaultAddress: string;
823
+ /** Underlying token address to deposit into the vault */
824
+ inputToken: string;
825
+ /** Chain ID where the vault exists */
826
+ chainId: number;
853
827
  }
854
828
 
855
- type index_d$7_AddressBookControllerGetAddressBookEntriesV2Request = AddressBookControllerGetAddressBookEntriesV2Request;
856
829
  declare namespace index_d$7 {
857
- export type { index_d$7_AddressBookControllerGetAddressBookEntriesV2Request as AddressBookControllerGetAddressBookEntriesV2Request };
830
+ export type { SmartDepositAddressRequestDto$1 as SmartDepositAddressRequestDto };
858
831
  }
859
832
 
860
833
  /**
@@ -1560,23 +1533,21 @@ interface UserPositionsResponseDto$1 {
1560
1533
  /**
1561
1534
  * This file was auto-generated by Fern from our API Definition.
1562
1535
  */
1563
- interface SmartDepositAddressRequestDto$1 {
1564
- /** Address of end user who we are depositing funds on behalf of */
1565
- userDestinationAddress: string;
1566
- /** Vault contract address */
1567
- vaultAddress: string;
1568
- /** Underlying token address to deposit into the vault */
1569
- inputToken: string;
1570
- /** Chain ID where the vault exists */
1571
- chainId: number;
1536
+ interface SmartDepositAddressResponseDto$1 {
1537
+ /** The smart deposit address for the given user */
1538
+ smartDepositAddress: string;
1572
1539
  }
1573
1540
 
1574
1541
  /**
1575
1542
  * This file was auto-generated by Fern from our API Definition.
1576
1543
  */
1577
- interface SmartDepositAddressResponseDto$1 {
1578
- /** The smart deposit address for the given user */
1579
- smartDepositAddress: string;
1544
+ interface KytRequestDto$1 {
1545
+ /** Destination address for funds */
1546
+ to: string;
1547
+ /** User wallet address to evaluate */
1548
+ from: string;
1549
+ /** Chain name */
1550
+ chain: string;
1580
1551
  }
1581
1552
 
1582
1553
  /**
@@ -1784,7 +1755,6 @@ declare class ForbiddenError extends AmplifyError {
1784
1755
  constructor(body: ErrorResponseDto$1, rawResponse?: RawResponse);
1785
1756
  }
1786
1757
 
1787
- type index_d$5_AddressBookControllerGetAddressBookEntriesV2Request = AddressBookControllerGetAddressBookEntriesV2Request;
1788
1758
  type index_d$5_AuthorizeRequest = AuthorizeRequest;
1789
1759
  type index_d$5_BadRequestError = BadRequestError;
1790
1760
  declare const index_d$5_BadRequestError: typeof BadRequestError;
@@ -1809,7 +1779,7 @@ type index_d$5_PrepareWithdrawalRequest = PrepareWithdrawalRequest;
1809
1779
  type index_d$5_ServiceUnavailableError = ServiceUnavailableError;
1810
1780
  declare const index_d$5_ServiceUnavailableError: typeof ServiceUnavailableError;
1811
1781
  declare namespace index_d$5 {
1812
- export { type index_d$5_AddressBookControllerGetAddressBookEntriesV2Request as AddressBookControllerGetAddressBookEntriesV2Request, 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$7 as addressBook, index_d$a as deposit, index_d$8 as kyt, index_d$6 as permit, index_d$9 as users, index_d$c as vaults, index_d$b as withdraw };
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 };
1813
1783
  }
1814
1784
 
1815
1785
  /**
@@ -2200,54 +2170,7 @@ declare class Users {
2200
2170
  * This file was auto-generated by Fern from our API Definition.
2201
2171
  */
2202
2172
 
2203
- declare namespace Kyt {
2204
- interface Options {
2205
- environment?: Supplier<AmplifyEnvironment | string>;
2206
- /** Specify a custom URL to connect the client to. */
2207
- baseUrl?: Supplier<string>;
2208
- apiKey: Supplier<string>;
2209
- }
2210
- interface RequestOptions {
2211
- /** The maximum time to wait for a response in seconds. */
2212
- timeoutInSeconds?: number;
2213
- /** The number of times to retry the request. Defaults to 2. */
2214
- maxRetries?: number;
2215
- /** A hook to abort the request. */
2216
- abortSignal?: AbortSignal;
2217
- /** Additional headers to include in the request. */
2218
- headers?: Record<string, string>;
2219
- }
2220
- }
2221
- declare class Kyt {
2222
- protected readonly _options: Kyt.Options;
2223
- constructor(_options: Kyt.Options);
2224
- /**
2225
- * Returns KYT compliance attestation for the given transaction details.
2226
- *
2227
- * @param {Amplify.KytRequestDto} request
2228
- * @param {Kyt.RequestOptions} requestOptions - Request-specific configuration.
2229
- *
2230
- * @throws {@link Amplify.ForbiddenError}
2231
- *
2232
- * @example
2233
- * await client.kyt.kytControllerGetKytAttestationV2({
2234
- * to: "0x0000000000000000000000000000000000000123",
2235
- * from: "0x0000000000000000000000000000000000000456",
2236
- * chain: "base"
2237
- * })
2238
- */
2239
- kytControllerGetKytAttestationV2(request: KytRequestDto$1, requestOptions?: Kyt.RequestOptions): HttpResponsePromise<KytResponseDto$1>;
2240
- private __kytControllerGetKytAttestationV2;
2241
- protected _getCustomAuthorizationHeaders(): Promise<{
2242
- "x-api-key": string;
2243
- }>;
2244
- }
2245
-
2246
- /**
2247
- * This file was auto-generated by Fern from our API Definition.
2248
- */
2249
-
2250
- declare namespace AddressBook {
2173
+ declare namespace SmartDeposits {
2251
2174
  interface Options {
2252
2175
  environment?: Supplier<AmplifyEnvironment | string>;
2253
2176
  /** Specify a custom URL to connect the client to. */
@@ -2265,25 +2188,28 @@ declare namespace AddressBook {
2265
2188
  headers?: Record<string, string>;
2266
2189
  }
2267
2190
  }
2268
- declare class AddressBook {
2269
- protected readonly _options: AddressBook.Options;
2270
- constructor(_options: AddressBook.Options);
2191
+ declare class SmartDeposits {
2192
+ protected readonly _options: SmartDeposits.Options;
2193
+ constructor(_options: SmartDeposits.Options);
2271
2194
  /**
2272
- * Returns address book entries for known addresses. Filter by chain ID, address, or name. Defaults: pageSize=25 (max 100); omit pageToken for the first page.
2195
+ * Returns the smart deposit address for a given user, vault, input token, and chain.
2273
2196
  *
2274
- * @param {Amplify.AddressBookControllerGetAddressBookEntriesV2Request} request
2275
- * @param {AddressBook.RequestOptions} requestOptions - Request-specific configuration.
2197
+ * @param {Amplify.SmartDepositAddressRequestDto} request
2198
+ * @param {SmartDeposits.RequestOptions} requestOptions - Request-specific configuration.
2276
2199
  *
2277
2200
  * @throws {@link Amplify.BadRequestError}
2201
+ * @throws {@link Amplify.ForbiddenError}
2278
2202
  *
2279
2203
  * @example
2280
- * await client.addressBook.addressBookControllerGetAddressBookEntriesV2({
2281
- * pageSize: 25,
2282
- * filter: "chainId=1 AND name=\"Treasury\""
2204
+ * await client.smartDeposits.getAddress({
2205
+ * userDestinationAddress: "0x0000000000000000000000000000000000000123",
2206
+ * vaultAddress: "0x1234567890abcdef1234567890abcdef12345678",
2207
+ * inputToken: "0xf08a50178dfcde18524640ea6618a1f965821715",
2208
+ * chainId: 1
2283
2209
  * })
2284
2210
  */
2285
- addressBookControllerGetAddressBookEntriesV2(request?: AddressBookControllerGetAddressBookEntriesV2Request, requestOptions?: AddressBook.RequestOptions): HttpResponsePromise<AddressBookEntriesResponseDto$1>;
2286
- private __addressBookControllerGetAddressBookEntriesV2;
2211
+ getAddress(request: SmartDepositAddressRequestDto$1, requestOptions?: SmartDeposits.RequestOptions): HttpResponsePromise<SmartDepositAddressResponseDto$1>;
2212
+ private __getAddress;
2287
2213
  protected _getCustomAuthorizationHeaders(): Promise<{
2288
2214
  "x-api-key": string;
2289
2215
  }>;
@@ -2366,16 +2292,14 @@ declare class AmplifyClient {
2366
2292
  protected _withdraw: Withdraw | undefined;
2367
2293
  protected _deposit: Deposit | undefined;
2368
2294
  protected _users: Users | undefined;
2369
- protected _kyt: Kyt | undefined;
2370
- protected _addressBook: AddressBook | undefined;
2295
+ protected _smartDeposits: SmartDeposits | undefined;
2371
2296
  protected _permit: Permit | undefined;
2372
2297
  constructor(_options: AmplifyClient.Options);
2373
2298
  get vaults(): Vaults;
2374
2299
  get withdraw(): Withdraw;
2375
2300
  get deposit(): Deposit;
2376
2301
  get users(): Users;
2377
- get kyt(): Kyt;
2378
- get addressBook(): AddressBook;
2302
+ get smartDeposits(): SmartDeposits;
2379
2303
  get permit(): Permit;
2380
2304
  }
2381
2305
 
@@ -2455,18 +2379,19 @@ declare namespace index_d$2 {
2455
2379
  * This file was auto-generated by Fern from our API Definition.
2456
2380
  */
2457
2381
 
2458
- declare const KytRequestDto: Schema<KytRequestDto.Raw, KytRequestDto$1>;
2459
- declare namespace KytRequestDto {
2382
+ declare const SmartDepositAddressRequestDto: Schema<SmartDepositAddressRequestDto.Raw, SmartDepositAddressRequestDto$1>;
2383
+ declare namespace SmartDepositAddressRequestDto {
2460
2384
  interface Raw {
2461
- to: string;
2462
- from: string;
2463
- chain: string;
2385
+ userDestinationAddress: string;
2386
+ vaultAddress: string;
2387
+ inputToken: string;
2388
+ chainId: number;
2464
2389
  }
2465
2390
  }
2466
2391
 
2467
- declare const index_d$1_KytRequestDto: typeof KytRequestDto;
2392
+ declare const index_d$1_SmartDepositAddressRequestDto: typeof SmartDepositAddressRequestDto;
2468
2393
  declare namespace index_d$1 {
2469
- export { index_d$1_KytRequestDto as KytRequestDto };
2394
+ export { index_d$1_SmartDepositAddressRequestDto as SmartDepositAddressRequestDto };
2470
2395
  }
2471
2396
 
2472
2397
  /**
@@ -3046,13 +2971,10 @@ declare namespace UserPositionsResponseDto {
3046
2971
  * This file was auto-generated by Fern from our API Definition.
3047
2972
  */
3048
2973
 
3049
- declare const SmartDepositAddressRequestDto: ObjectSchema<SmartDepositAddressRequestDto.Raw, SmartDepositAddressRequestDto$1>;
3050
- declare namespace SmartDepositAddressRequestDto {
2974
+ declare const SmartDepositAddressResponseDto: ObjectSchema<SmartDepositAddressResponseDto.Raw, SmartDepositAddressResponseDto$1>;
2975
+ declare namespace SmartDepositAddressResponseDto {
3051
2976
  interface Raw {
3052
- userDestinationAddress: string;
3053
- vaultAddress: string;
3054
- inputToken: string;
3055
- chainId: number;
2977
+ smartDepositAddress: string;
3056
2978
  }
3057
2979
  }
3058
2980
 
@@ -3060,10 +2982,12 @@ declare namespace SmartDepositAddressRequestDto {
3060
2982
  * This file was auto-generated by Fern from our API Definition.
3061
2983
  */
3062
2984
 
3063
- declare const SmartDepositAddressResponseDto: ObjectSchema<SmartDepositAddressResponseDto.Raw, SmartDepositAddressResponseDto$1>;
3064
- declare namespace SmartDepositAddressResponseDto {
2985
+ declare const KytRequestDto: ObjectSchema<KytRequestDto.Raw, KytRequestDto$1>;
2986
+ declare namespace KytRequestDto {
3065
2987
  interface Raw {
3066
- smartDepositAddress: string;
2988
+ to: string;
2989
+ from: string;
2990
+ chain: string;
3067
2991
  }
3068
2992
  }
3069
2993
 
@@ -3291,7 +3215,7 @@ declare const index_d_WithdrawalSlAsDto: typeof WithdrawalSlAsDto;
3291
3215
  declare const index_d_WithdrawalVolumeDto: typeof WithdrawalVolumeDto;
3292
3216
  declare const index_d_WithdrawalVolumesResponseDto: typeof WithdrawalVolumesResponseDto;
3293
3217
  declare namespace index_d {
3294
- 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 kyt, index_d$4 as vaults, index_d$3 as withdraw };
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 };
3295
3219
  }
3296
3220
 
3297
3221
  export { index_d$5 as Amplify, AmplifyClient, AmplifyError, AmplifyTimeoutError, index_d as serialization };