diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index c76398b..2616f31 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 2b9c4bf6-4d87-4382-84d9-5fb3c84c7fad management: - docChecksum: 4155e3d49d853fdc3e6cf264ac0f997d + docChecksum: 131a10a41700fd631d49a44f585a1ec1 docVersion: Beta - speakeasyVersion: 1.455.3 - generationVersion: 2.479.3 - releaseVersion: 0.8.3 - configChecksum: 6f84b9a6cd393b8ea212cec077f58d26 + speakeasyVersion: 1.456.1 + generationVersion: 2.481.0 + releaseVersion: 0.8.4 + configChecksum: cf8e7f857f95610fd25bd7f02a8481d4 repoURL: https://github.com/ava-labs/avacloud-sdk-typescript.git installationURL: https://github.com/ava-labs/avacloud-sdk-typescript published: true @@ -15,7 +15,7 @@ features: additionalDependencies: 0.1.0 additionalProperties: 0.1.1 constsAndDefaults: 0.1.11 - core: 3.18.9 + core: 3.18.11 defaultEnabledRetries: 0.1.0 deprecations: 2.81.1 devContainers: 2.90.0 @@ -303,6 +303,7 @@ generatedFiles: - docs/models/components/timeintervalgranularityextended.md - docs/models/components/timestamprangenftholdersparam.md - docs/models/components/tokens.md + - docs/models/components/tokenstatus.md - docs/models/components/tokentype.md - docs/models/components/transactiondetails.md - docs/models/components/transactiondirectiontype.md diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 2f84027..8070bb5 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -16,7 +16,7 @@ generation: oAuth2ClientCredentialsEnabled: false oAuth2PasswordEnabled: false typescript: - version: 0.8.3 + version: 0.8.4 additionalDependencies: dependencies: json-canonicalize: ^1.0.6 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index a6910b8..98ac8fe 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,12 +1,12 @@ -speakeasyVersion: 1.455.3 +speakeasyVersion: 1.456.1 sources: AvaCloudSDK-OAS: sourceNamespace: avacloud-sdk-oas - sourceRevisionDigest: sha256:427e2339ce2b9eb81a273c7bb83de00c43a308e09c84b0d7903fcf77b9319fd6 - sourceBlobDigest: sha256:169dbb1bda661ac86728cf0e25a89bffd9fc653d0841861fe9b4721df7e80d00 + sourceRevisionDigest: sha256:b0bcbfc57457137ce08b7e8e928dcf56df1f6aa1e5f2b8e7c62e4adf48a2eb56 + sourceBlobDigest: sha256:1238a5e7abf88be4ec6c94df3cd2c0f771e73e55cd59d4c37c07ffc32e6e79d6 tags: - latest - - speakeasy-sdk-regen-1734049462 + - speakeasy-sdk-regen-1734567806 - Beta AvalancheSDK-OAS: sourceNamespace: avalanche-sdk-oas @@ -19,10 +19,10 @@ targets: avacloud-sdk: source: AvaCloudSDK-OAS sourceNamespace: avacloud-sdk-oas - sourceRevisionDigest: sha256:427e2339ce2b9eb81a273c7bb83de00c43a308e09c84b0d7903fcf77b9319fd6 - sourceBlobDigest: sha256:169dbb1bda661ac86728cf0e25a89bffd9fc653d0841861fe9b4721df7e80d00 + sourceRevisionDigest: sha256:b0bcbfc57457137ce08b7e8e928dcf56df1f6aa1e5f2b8e7c62e4adf48a2eb56 + sourceBlobDigest: sha256:1238a5e7abf88be4ec6c94df3cd2c0f771e73e55cd59d4c37c07ffc32e6e79d6 codeSamplesNamespace: avacloud-sdk-ts-code-samples - codeSamplesRevisionDigest: sha256:1fb35b8427e52e57400257751487603371d4102a047ecf2e4c3a7a1216474270 + codeSamplesRevisionDigest: sha256:c35bace548617a3c7a2d79fbb5ef3a13eb1cc159e0dcada60b0305b2f32757ac avalanche-sdk: source: AvalancheSDK-OAS sourceNamespace: avalanche-sdk-oas diff --git a/RELEASES.md b/RELEASES.md index 8999ed9..f20caa8 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -189,4 +189,14 @@ Based on: ### Generated - [typescript v0.8.3] . ### Releases -- [NPM v0.8.3] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.8.3 - . \ No newline at end of file +- [NPM v0.8.3] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.8.3 - . + +## 2024-12-19 18:44:39 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.456.1 (2.481.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.8.4] . +### Releases +- [NPM v0.8.4] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.8.4 - . \ No newline at end of file diff --git a/docs/models/components/chainmetric.md b/docs/models/components/chainmetric.md index 67adaea..6ab5665 100644 --- a/docs/models/components/chainmetric.md +++ b/docs/models/components/chainmetric.md @@ -11,5 +11,5 @@ let value: ChainMetric = "activeAddresses"; ## Values ```typescript -"activeAddresses" | "activeSenders" | "cumulativeTxCount" | "cumulativeAddresses" | "cumulativeContracts" | "cumulativeDeployers" | "gasUsed" | "txCount" | "avgGps" | "maxGps" | "avgTps" | "maxTps" | "avgGasPrice" | "maxGasPrice" +"activeAddresses" | "activeSenders" | "cumulativeTxCount" | "cumulativeAddresses" | "cumulativeContracts" | "cumulativeDeployers" | "gasUsed" | "txCount" | "avgGps" | "maxGps" | "avgTps" | "maxTps" | "avgGasPrice" | "maxGasPrice" | "feesPaid" ``` \ No newline at end of file diff --git a/docs/models/components/chainrollingwindowmetric.md b/docs/models/components/chainrollingwindowmetric.md index f92e83b..bf896aa 100644 --- a/docs/models/components/chainrollingwindowmetric.md +++ b/docs/models/components/chainrollingwindowmetric.md @@ -11,5 +11,5 @@ let value: ChainRollingWindowMetric = "txCount"; ## Values ```typescript -"gasUsed" | "txCount" | "avgGps" | "maxGps" | "avgTps" | "maxTps" | "avgGasPrice" | "maxGasPrice" +"gasUsed" | "txCount" | "avgGps" | "maxGps" | "avgTps" | "maxTps" | "avgGasPrice" | "maxGasPrice" | "feesPaid" ``` \ No newline at end of file diff --git a/docs/models/components/erc20tokenbalance.md b/docs/models/components/erc20tokenbalance.md index 73efe49..d9c05e7 100644 --- a/docs/models/components/erc20tokenbalance.md +++ b/docs/models/components/erc20tokenbalance.md @@ -23,6 +23,7 @@ let value: Erc20TokenBalance = { currencyCode: "usd", value: 42.42, }, + tokenStatus: {}, }; ``` @@ -39,4 +40,5 @@ let value: Erc20TokenBalance = { | `price` | [components.Money](../../models/components/money.md) | :heavy_minus_sign: | The token price, if available. | | | `chainId` | *string* | :heavy_check_mark: | The evm chain id. | 43114 | | `balance` | *string* | :heavy_check_mark: | The address balance for the token, in units specified by the `decimals` value for the contract. | 2000000000000000000 | -| `balanceValue` | [components.Money](../../models/components/money.md) | :heavy_minus_sign: | The monetary value of the balance, if a price is available for the token. | | \ No newline at end of file +| `balanceValue` | [components.Money](../../models/components/money.md) | :heavy_minus_sign: | The monetary value of the balance, if a price is available for the token. | | +| `tokenStatus` | [components.TokenStatus](../../models/components/tokenstatus.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/components/listerc20balancesresponse.md b/docs/models/components/listerc20balancesresponse.md index b442ae6..eb22b93 100644 --- a/docs/models/components/listerc20balancesresponse.md +++ b/docs/models/components/listerc20balancesresponse.md @@ -25,6 +25,7 @@ let value: ListErc20BalancesResponse = { currencyCode: "usd", value: 42.42, }, + tokenStatus: {}, }, ], }; diff --git a/docs/models/components/tokenstatus.md b/docs/models/components/tokenstatus.md new file mode 100644 index 0000000..0c427db --- /dev/null +++ b/docs/models/components/tokenstatus.md @@ -0,0 +1,14 @@ +# TokenStatus + +## Example Usage + +```typescript +import { TokenStatus } from "@avalabs/avacloud-sdk/models/components"; + +let value: TokenStatus = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/operations/listerc20balancesresponse.md b/docs/models/operations/listerc20balancesresponse.md index 8a9cfc3..4e38b3d 100644 --- a/docs/models/operations/listerc20balancesresponse.md +++ b/docs/models/operations/listerc20balancesresponse.md @@ -26,6 +26,7 @@ let value: ListErc20BalancesResponse = { currencyCode: "usd", value: 42.42, }, + tokenStatus: {}, }, ], }, diff --git a/package-lock.json b/package-lock.json index f4ca764..ec0408d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@avalabs/avacloud-sdk", - "version": "0.8.3", + "version": "0.8.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@avalabs/avacloud-sdk", - "version": "0.8.3", + "version": "0.8.4", "license": "SEE LICENSE", "dependencies": { "json-canonicalize": "^1.0.6" diff --git a/package.json b/package.json index eef71df..e79a95e 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "@avalabs/avacloud-sdk", - "version": "0.8.3", + "version": "0.8.4", "author": "AvaCloud", - "license": "SEE LICENSE", "homepage": "https://developer.avacloud.io/avacloud-sdk/getting-started", + "license": "SEE LICENSE", "main": "./index.js", "sideEffects": false, "repository": { diff --git a/src/funcs/dataEvmBalancesGetNativeBalance.ts b/src/funcs/dataEvmBalancesGetNativeBalance.ts index d4800fd..402120b 100644 --- a/src/funcs/dataEvmBalancesGetNativeBalance.ts +++ b/src/funcs/dataEvmBalancesGetNativeBalance.ts @@ -35,7 +35,7 @@ import { Result } from "../types/fp.js"; export async function dataEvmBalancesGetNativeBalance( client: AvaCloudSDKCore, request: operations.GetNativeBalanceRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.GetNativeBalanceResponse, diff --git a/src/funcs/dataEvmBalancesListCollectibleBalances.ts b/src/funcs/dataEvmBalancesListCollectibleBalances.ts index a243648..40a6eb9 100644 --- a/src/funcs/dataEvmBalancesListCollectibleBalances.ts +++ b/src/funcs/dataEvmBalancesListCollectibleBalances.ts @@ -41,7 +41,7 @@ import { export async function dataEvmBalancesListCollectibleBalances( client: AvaCloudSDKCore, request: operations.ListCollectibleBalancesRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataEvmBalancesListErc1155Balances.ts b/src/funcs/dataEvmBalancesListErc1155Balances.ts index 2f4ec14..5053f89 100644 --- a/src/funcs/dataEvmBalancesListErc1155Balances.ts +++ b/src/funcs/dataEvmBalancesListErc1155Balances.ts @@ -43,7 +43,7 @@ import { export async function dataEvmBalancesListErc1155Balances( client: AvaCloudSDKCore, request: operations.ListErc1155BalancesRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataEvmBalancesListErc20Balances.ts b/src/funcs/dataEvmBalancesListErc20Balances.ts index b548fb1..8c157fa 100644 --- a/src/funcs/dataEvmBalancesListErc20Balances.ts +++ b/src/funcs/dataEvmBalancesListErc20Balances.ts @@ -43,7 +43,7 @@ import { export async function dataEvmBalancesListErc20Balances( client: AvaCloudSDKCore, request: operations.ListErc20BalancesRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataEvmBalancesListErc721Balances.ts b/src/funcs/dataEvmBalancesListErc721Balances.ts index 75ccde1..7a19690 100644 --- a/src/funcs/dataEvmBalancesListErc721Balances.ts +++ b/src/funcs/dataEvmBalancesListErc721Balances.ts @@ -41,7 +41,7 @@ import { export async function dataEvmBalancesListErc721Balances( client: AvaCloudSDKCore, request: operations.ListErc721BalancesRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataEvmBlocksGetBlock.ts b/src/funcs/dataEvmBlocksGetBlock.ts index 7f3eba7..4607b94 100644 --- a/src/funcs/dataEvmBlocksGetBlock.ts +++ b/src/funcs/dataEvmBlocksGetBlock.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataEvmBlocksGetBlock( client: AvaCloudSDKCore, request: operations.GetBlockRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.GetEvmBlockResponse, diff --git a/src/funcs/dataEvmBlocksGetLatestBlocks.ts b/src/funcs/dataEvmBlocksGetLatestBlocks.ts index 9ffc65c..0d456ff 100644 --- a/src/funcs/dataEvmBlocksGetLatestBlocks.ts +++ b/src/funcs/dataEvmBlocksGetLatestBlocks.ts @@ -39,7 +39,7 @@ import { export async function dataEvmBlocksGetLatestBlocks( client: AvaCloudSDKCore, request: operations.GetLatestBlocksRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataEvmChainsGetAddressChains.ts b/src/funcs/dataEvmChainsGetAddressChains.ts index c865224..8b8fb52 100644 --- a/src/funcs/dataEvmChainsGetAddressChains.ts +++ b/src/funcs/dataEvmChainsGetAddressChains.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataEvmChainsGetAddressChains( client: AvaCloudSDKCore, request: operations.GetAddressChainsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.ListAddressChainsResponse, diff --git a/src/funcs/dataEvmChainsGetChainInfo.ts b/src/funcs/dataEvmChainsGetChainInfo.ts index cfdb5b4..5632829 100644 --- a/src/funcs/dataEvmChainsGetChainInfo.ts +++ b/src/funcs/dataEvmChainsGetChainInfo.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataEvmChainsGetChainInfo( client: AvaCloudSDKCore, request: operations.GetChainInfoRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.GetChainResponse, diff --git a/src/funcs/dataEvmChainsSupportedChains.ts b/src/funcs/dataEvmChainsSupportedChains.ts index becbe44..3dcc475 100644 --- a/src/funcs/dataEvmChainsSupportedChains.ts +++ b/src/funcs/dataEvmChainsSupportedChains.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataEvmChainsSupportedChains( client: AvaCloudSDKCore, request: operations.SupportedChainsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.DataListChainsResponse, diff --git a/src/funcs/dataEvmContractsGetContractMetadata.ts b/src/funcs/dataEvmContractsGetContractMetadata.ts index 3a6c885..8c68b2f 100644 --- a/src/funcs/dataEvmContractsGetContractMetadata.ts +++ b/src/funcs/dataEvmContractsGetContractMetadata.ts @@ -32,7 +32,7 @@ import { Result } from "../types/fp.js"; export async function dataEvmContractsGetContractMetadata( client: AvaCloudSDKCore, request: operations.GetContractMetadataRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< operations.GetContractMetadataResponseBody, diff --git a/src/funcs/dataEvmTransactionsGetDeploymentTransaction.ts b/src/funcs/dataEvmTransactionsGetDeploymentTransaction.ts index 516d331..3c53535 100644 --- a/src/funcs/dataEvmTransactionsGetDeploymentTransaction.ts +++ b/src/funcs/dataEvmTransactionsGetDeploymentTransaction.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataEvmTransactionsGetDeploymentTransaction( client: AvaCloudSDKCore, request: operations.GetDeploymentTransactionRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.GetTransactionResponse, diff --git a/src/funcs/dataEvmTransactionsGetTransaction.ts b/src/funcs/dataEvmTransactionsGetTransaction.ts index 5145a66..09efb7b 100644 --- a/src/funcs/dataEvmTransactionsGetTransaction.ts +++ b/src/funcs/dataEvmTransactionsGetTransaction.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataEvmTransactionsGetTransaction( client: AvaCloudSDKCore, request: operations.GetTransactionRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.GetTransactionResponse, diff --git a/src/funcs/dataEvmTransactionsGetTransactionsForBlock.ts b/src/funcs/dataEvmTransactionsGetTransactionsForBlock.ts index ac0dbe0..d0bf142 100644 --- a/src/funcs/dataEvmTransactionsGetTransactionsForBlock.ts +++ b/src/funcs/dataEvmTransactionsGetTransactionsForBlock.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataEvmTransactionsGetTransactionsForBlock( client: AvaCloudSDKCore, request: operations.GetTransactionsForBlockRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.ListNativeTransactionsResponse, diff --git a/src/funcs/dataEvmTransactionsListContractDeployments.ts b/src/funcs/dataEvmTransactionsListContractDeployments.ts index 31e6605..3466f9c 100644 --- a/src/funcs/dataEvmTransactionsListContractDeployments.ts +++ b/src/funcs/dataEvmTransactionsListContractDeployments.ts @@ -39,7 +39,7 @@ import { export async function dataEvmTransactionsListContractDeployments( client: AvaCloudSDKCore, request: operations.ListContractDeploymentsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataEvmTransactionsListErc1155Transactions.ts b/src/funcs/dataEvmTransactionsListErc1155Transactions.ts index ffc2b4e..dc1c4c4 100644 --- a/src/funcs/dataEvmTransactionsListErc1155Transactions.ts +++ b/src/funcs/dataEvmTransactionsListErc1155Transactions.ts @@ -39,7 +39,7 @@ import { export async function dataEvmTransactionsListErc1155Transactions( client: AvaCloudSDKCore, request: operations.ListErc1155TransactionsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataEvmTransactionsListErc20Transactions.ts b/src/funcs/dataEvmTransactionsListErc20Transactions.ts index 0389f10..0ac12af 100644 --- a/src/funcs/dataEvmTransactionsListErc20Transactions.ts +++ b/src/funcs/dataEvmTransactionsListErc20Transactions.ts @@ -39,7 +39,7 @@ import { export async function dataEvmTransactionsListErc20Transactions( client: AvaCloudSDKCore, request: operations.ListErc20TransactionsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataEvmTransactionsListErc721Transactions.ts b/src/funcs/dataEvmTransactionsListErc721Transactions.ts index de037a2..e04fa87 100644 --- a/src/funcs/dataEvmTransactionsListErc721Transactions.ts +++ b/src/funcs/dataEvmTransactionsListErc721Transactions.ts @@ -39,7 +39,7 @@ import { export async function dataEvmTransactionsListErc721Transactions( client: AvaCloudSDKCore, request: operations.ListErc721TransactionsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataEvmTransactionsListInternalTransactions.ts b/src/funcs/dataEvmTransactionsListInternalTransactions.ts index 47d91e4..78bb50c 100644 --- a/src/funcs/dataEvmTransactionsListInternalTransactions.ts +++ b/src/funcs/dataEvmTransactionsListInternalTransactions.ts @@ -41,7 +41,7 @@ import { export async function dataEvmTransactionsListInternalTransactions( client: AvaCloudSDKCore, request: operations.ListInternalTransactionsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataEvmTransactionsListLatestTransactions.ts b/src/funcs/dataEvmTransactionsListLatestTransactions.ts index c426423..d278700 100644 --- a/src/funcs/dataEvmTransactionsListLatestTransactions.ts +++ b/src/funcs/dataEvmTransactionsListLatestTransactions.ts @@ -39,7 +39,7 @@ import { export async function dataEvmTransactionsListLatestTransactions( client: AvaCloudSDKCore, request: operations.ListLatestTransactionsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataEvmTransactionsListNativeTransactions.ts b/src/funcs/dataEvmTransactionsListNativeTransactions.ts index 0033193..181c8d6 100644 --- a/src/funcs/dataEvmTransactionsListNativeTransactions.ts +++ b/src/funcs/dataEvmTransactionsListNativeTransactions.ts @@ -39,7 +39,7 @@ import { export async function dataEvmTransactionsListNativeTransactions( client: AvaCloudSDKCore, request: operations.ListNativeTransactionsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataEvmTransactionsListTransactions.ts b/src/funcs/dataEvmTransactionsListTransactions.ts index a733197..0cf043b 100644 --- a/src/funcs/dataEvmTransactionsListTransactions.ts +++ b/src/funcs/dataEvmTransactionsListTransactions.ts @@ -41,7 +41,7 @@ import { export async function dataEvmTransactionsListTransactions( client: AvaCloudSDKCore, request: operations.ListTransactionsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataEvmTransactionsListTransfers.ts b/src/funcs/dataEvmTransactionsListTransfers.ts index 051ccfe..b6e667f 100644 --- a/src/funcs/dataEvmTransactionsListTransfers.ts +++ b/src/funcs/dataEvmTransactionsListTransfers.ts @@ -39,7 +39,7 @@ import { export async function dataEvmTransactionsListTransfers( client: AvaCloudSDKCore, request: operations.ListTransfersRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataHealthCheckDataHealthCheck.ts b/src/funcs/dataHealthCheckDataHealthCheck.ts index fff311c..5a227f4 100644 --- a/src/funcs/dataHealthCheckDataHealthCheck.ts +++ b/src/funcs/dataHealthCheckDataHealthCheck.ts @@ -26,7 +26,7 @@ import { Result } from "../types/fp.js"; */ export async function dataHealthCheckDataHealthCheck( client: AvaCloudSDKCore, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< operations.DataHealthCheckResponseBody, diff --git a/src/funcs/dataNftsGetTokenDetails.ts b/src/funcs/dataNftsGetTokenDetails.ts index 865076e..87c9d84 100644 --- a/src/funcs/dataNftsGetTokenDetails.ts +++ b/src/funcs/dataNftsGetTokenDetails.ts @@ -32,7 +32,7 @@ import { Result } from "../types/fp.js"; export async function dataNftsGetTokenDetails( client: AvaCloudSDKCore, request: operations.GetTokenDetailsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< operations.GetTokenDetailsResponseBody, diff --git a/src/funcs/dataNftsListTokens.ts b/src/funcs/dataNftsListTokens.ts index c73f797..8bf1357 100644 --- a/src/funcs/dataNftsListTokens.ts +++ b/src/funcs/dataNftsListTokens.ts @@ -39,7 +39,7 @@ import { export async function dataNftsListTokens( client: AvaCloudSDKCore, request: operations.ListTokensRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataNftsReindexNft.ts b/src/funcs/dataNftsReindexNft.ts index 3eebfd4..d2c3424 100644 --- a/src/funcs/dataNftsReindexNft.ts +++ b/src/funcs/dataNftsReindexNft.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataNftsReindexNft( client: AvaCloudSDKCore, request: operations.ReindexNftRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< void, diff --git a/src/funcs/dataOperationsGetOperationResult.ts b/src/funcs/dataOperationsGetOperationResult.ts index a64d597..aa358c2 100644 --- a/src/funcs/dataOperationsGetOperationResult.ts +++ b/src/funcs/dataOperationsGetOperationResult.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataOperationsGetOperationResult( client: AvaCloudSDKCore, request: operations.GetOperationResultRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.OperationStatusResponse, diff --git a/src/funcs/dataOperationsPostTransactionExportJob.ts b/src/funcs/dataOperationsPostTransactionExportJob.ts index ba12c09..edc5380 100644 --- a/src/funcs/dataOperationsPostTransactionExportJob.ts +++ b/src/funcs/dataOperationsPostTransactionExportJob.ts @@ -35,7 +35,7 @@ import { Result } from "../types/fp.js"; export async function dataOperationsPostTransactionExportJob( client: AvaCloudSDKCore, request: operations.PostTransactionExportJobRequestBody, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.OperationStatusResponse, diff --git a/src/funcs/dataPrimaryNetworkBalancesGetBalancesByAddresses.ts b/src/funcs/dataPrimaryNetworkBalancesGetBalancesByAddresses.ts index ec908fe..247803b 100644 --- a/src/funcs/dataPrimaryNetworkBalancesGetBalancesByAddresses.ts +++ b/src/funcs/dataPrimaryNetworkBalancesGetBalancesByAddresses.ts @@ -34,7 +34,7 @@ import { Result } from "../types/fp.js"; export async function dataPrimaryNetworkBalancesGetBalancesByAddresses( client: AvaCloudSDKCore, request: operations.GetBalancesByAddressesRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< operations.GetBalancesByAddressesResponseBody, diff --git a/src/funcs/dataPrimaryNetworkBlocksGetBlockById.ts b/src/funcs/dataPrimaryNetworkBlocksGetBlockById.ts index aa731ac..66cc698 100644 --- a/src/funcs/dataPrimaryNetworkBlocksGetBlockById.ts +++ b/src/funcs/dataPrimaryNetworkBlocksGetBlockById.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataPrimaryNetworkBlocksGetBlockById( client: AvaCloudSDKCore, request: operations.GetBlockByIdRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.GetPrimaryNetworkBlockResponse, diff --git a/src/funcs/dataPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks.ts b/src/funcs/dataPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks.ts index 77e24c9..1a98645 100644 --- a/src/funcs/dataPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks.ts +++ b/src/funcs/dataPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks.ts @@ -39,7 +39,7 @@ import { export async function dataPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks( client: AvaCloudSDKCore, request: operations.ListLatestPrimaryNetworkBlocksRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId.ts b/src/funcs/dataPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId.ts index a1e569f..8c775cc 100644 --- a/src/funcs/dataPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId.ts +++ b/src/funcs/dataPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId.ts @@ -39,7 +39,7 @@ import { export async function dataPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId( client: AvaCloudSDKCore, request: operations.ListPrimaryNetworkBlocksByNodeIdRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataPrimaryNetworkGetAssetDetails.ts b/src/funcs/dataPrimaryNetworkGetAssetDetails.ts index ff7d35a..53063c5 100644 --- a/src/funcs/dataPrimaryNetworkGetAssetDetails.ts +++ b/src/funcs/dataPrimaryNetworkGetAssetDetails.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataPrimaryNetworkGetAssetDetails( client: AvaCloudSDKCore, request: operations.GetAssetDetailsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.XChainAssetDetails, diff --git a/src/funcs/dataPrimaryNetworkGetChainIdsForAddresses.ts b/src/funcs/dataPrimaryNetworkGetChainIdsForAddresses.ts index 58f21dc..509d883 100644 --- a/src/funcs/dataPrimaryNetworkGetChainIdsForAddresses.ts +++ b/src/funcs/dataPrimaryNetworkGetChainIdsForAddresses.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataPrimaryNetworkGetChainIdsForAddresses( client: AvaCloudSDKCore, request: operations.GetChainIdsForAddressesRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.ChainAddressChainIdMapListResponse, diff --git a/src/funcs/dataPrimaryNetworkGetNetworkDetails.ts b/src/funcs/dataPrimaryNetworkGetNetworkDetails.ts index a934d89..fbc2bff 100644 --- a/src/funcs/dataPrimaryNetworkGetNetworkDetails.ts +++ b/src/funcs/dataPrimaryNetworkGetNetworkDetails.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataPrimaryNetworkGetNetworkDetails( client: AvaCloudSDKCore, request: operations.GetNetworkDetailsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.GetNetworkDetailsResponse, diff --git a/src/funcs/dataPrimaryNetworkGetSingleValidatorDetails.ts b/src/funcs/dataPrimaryNetworkGetSingleValidatorDetails.ts index 6016868..b15f428 100644 --- a/src/funcs/dataPrimaryNetworkGetSingleValidatorDetails.ts +++ b/src/funcs/dataPrimaryNetworkGetSingleValidatorDetails.ts @@ -39,7 +39,7 @@ import { export async function dataPrimaryNetworkGetSingleValidatorDetails( client: AvaCloudSDKCore, request: operations.GetSingleValidatorDetailsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataPrimaryNetworkGetSubnetById.ts b/src/funcs/dataPrimaryNetworkGetSubnetById.ts index dd233e0..37abd41 100644 --- a/src/funcs/dataPrimaryNetworkGetSubnetById.ts +++ b/src/funcs/dataPrimaryNetworkGetSubnetById.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataPrimaryNetworkGetSubnetById( client: AvaCloudSDKCore, request: operations.GetSubnetByIdRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.Subnet, diff --git a/src/funcs/dataPrimaryNetworkListBlockchains.ts b/src/funcs/dataPrimaryNetworkListBlockchains.ts index d595e94..a467d01 100644 --- a/src/funcs/dataPrimaryNetworkListBlockchains.ts +++ b/src/funcs/dataPrimaryNetworkListBlockchains.ts @@ -39,7 +39,7 @@ import { export async function dataPrimaryNetworkListBlockchains( client: AvaCloudSDKCore, request: operations.ListBlockchainsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataPrimaryNetworkListDelegators.ts b/src/funcs/dataPrimaryNetworkListDelegators.ts index 1baee31..54bef9a 100644 --- a/src/funcs/dataPrimaryNetworkListDelegators.ts +++ b/src/funcs/dataPrimaryNetworkListDelegators.ts @@ -39,7 +39,7 @@ import { export async function dataPrimaryNetworkListDelegators( client: AvaCloudSDKCore, request: operations.ListDelegatorsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataPrimaryNetworkListL1Validators.ts b/src/funcs/dataPrimaryNetworkListL1Validators.ts index 963b85e..6ed9561 100644 --- a/src/funcs/dataPrimaryNetworkListL1Validators.ts +++ b/src/funcs/dataPrimaryNetworkListL1Validators.ts @@ -39,7 +39,7 @@ import { export async function dataPrimaryNetworkListL1Validators( client: AvaCloudSDKCore, request: operations.ListL1ValidatorsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataPrimaryNetworkListSubnets.ts b/src/funcs/dataPrimaryNetworkListSubnets.ts index 5389e6c..a3d1d1b 100644 --- a/src/funcs/dataPrimaryNetworkListSubnets.ts +++ b/src/funcs/dataPrimaryNetworkListSubnets.ts @@ -39,7 +39,7 @@ import { export async function dataPrimaryNetworkListSubnets( client: AvaCloudSDKCore, request: operations.ListSubnetsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataPrimaryNetworkListValidators.ts b/src/funcs/dataPrimaryNetworkListValidators.ts index f4f631a..8403671 100644 --- a/src/funcs/dataPrimaryNetworkListValidators.ts +++ b/src/funcs/dataPrimaryNetworkListValidators.ts @@ -39,7 +39,7 @@ import { export async function dataPrimaryNetworkListValidators( client: AvaCloudSDKCore, request: operations.ListValidatorsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewards.ts b/src/funcs/dataPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewards.ts index c22100d..013b548 100644 --- a/src/funcs/dataPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewards.ts +++ b/src/funcs/dataPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewards.ts @@ -39,7 +39,7 @@ import { export async function dataPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewards( client: AvaCloudSDKCore, request: operations.ListHistoricalPrimaryNetworkRewardsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataPrimaryNetworkRewardsListPendingPrimaryNetworkRewards.ts b/src/funcs/dataPrimaryNetworkRewardsListPendingPrimaryNetworkRewards.ts index 2cae16e..801c4be 100644 --- a/src/funcs/dataPrimaryNetworkRewardsListPendingPrimaryNetworkRewards.ts +++ b/src/funcs/dataPrimaryNetworkRewardsListPendingPrimaryNetworkRewards.ts @@ -39,7 +39,7 @@ import { export async function dataPrimaryNetworkRewardsListPendingPrimaryNetworkRewards( client: AvaCloudSDKCore, request: operations.ListPendingPrimaryNetworkRewardsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataPrimaryNetworkTransactionsGetTxByHash.ts b/src/funcs/dataPrimaryNetworkTransactionsGetTxByHash.ts index 9e12c2f..887c059 100644 --- a/src/funcs/dataPrimaryNetworkTransactionsGetTxByHash.ts +++ b/src/funcs/dataPrimaryNetworkTransactionsGetTxByHash.ts @@ -32,7 +32,7 @@ import { Result } from "../types/fp.js"; export async function dataPrimaryNetworkTransactionsGetTxByHash( client: AvaCloudSDKCore, request: operations.GetTxByHashRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< operations.GetTxByHashResponseBody, diff --git a/src/funcs/dataPrimaryNetworkTransactionsListActivePrimaryNetworkStakingTransactions.ts b/src/funcs/dataPrimaryNetworkTransactionsListActivePrimaryNetworkStakingTransactions.ts index 0bc8982..406b742 100644 --- a/src/funcs/dataPrimaryNetworkTransactionsListActivePrimaryNetworkStakingTransactions.ts +++ b/src/funcs/dataPrimaryNetworkTransactionsListActivePrimaryNetworkStakingTransactions.ts @@ -39,7 +39,7 @@ import { export async function dataPrimaryNetworkTransactionsListActivePrimaryNetworkStakingTransactions( client: AvaCloudSDKCore, request: operations.ListActivePrimaryNetworkStakingTransactionsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataPrimaryNetworkTransactionsListAssetTransactions.ts b/src/funcs/dataPrimaryNetworkTransactionsListAssetTransactions.ts index 227fa56..a9fe7e0 100644 --- a/src/funcs/dataPrimaryNetworkTransactionsListAssetTransactions.ts +++ b/src/funcs/dataPrimaryNetworkTransactionsListAssetTransactions.ts @@ -39,7 +39,7 @@ import { export async function dataPrimaryNetworkTransactionsListAssetTransactions( client: AvaCloudSDKCore, request: operations.ListAssetTransactionsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataPrimaryNetworkTransactionsListLatestPrimaryNetworkTransactions.ts b/src/funcs/dataPrimaryNetworkTransactionsListLatestPrimaryNetworkTransactions.ts index f0bd52a..3ca06e1 100644 --- a/src/funcs/dataPrimaryNetworkTransactionsListLatestPrimaryNetworkTransactions.ts +++ b/src/funcs/dataPrimaryNetworkTransactionsListLatestPrimaryNetworkTransactions.ts @@ -45,7 +45,7 @@ import { export async function dataPrimaryNetworkTransactionsListLatestPrimaryNetworkTransactions( client: AvaCloudSDKCore, request: operations.ListLatestPrimaryNetworkTransactionsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataPrimaryNetworkUtxosGetUtxosByAddresses.ts b/src/funcs/dataPrimaryNetworkUtxosGetUtxosByAddresses.ts index 310b773..4754b58 100644 --- a/src/funcs/dataPrimaryNetworkUtxosGetUtxosByAddresses.ts +++ b/src/funcs/dataPrimaryNetworkUtxosGetUtxosByAddresses.ts @@ -39,7 +39,7 @@ import { export async function dataPrimaryNetworkUtxosGetUtxosByAddresses( client: AvaCloudSDKCore, request: operations.GetUtxosByAddressesRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataPrimaryNetworkVerticesGetVertexByHash.ts b/src/funcs/dataPrimaryNetworkVerticesGetVertexByHash.ts index 1495ec5..591c693 100644 --- a/src/funcs/dataPrimaryNetworkVerticesGetVertexByHash.ts +++ b/src/funcs/dataPrimaryNetworkVerticesGetVertexByHash.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataPrimaryNetworkVerticesGetVertexByHash( client: AvaCloudSDKCore, request: operations.GetVertexByHashRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.XChainVertex, diff --git a/src/funcs/dataPrimaryNetworkVerticesGetVertexByHeight.ts b/src/funcs/dataPrimaryNetworkVerticesGetVertexByHeight.ts index 0719c8a..830d3a0 100644 --- a/src/funcs/dataPrimaryNetworkVerticesGetVertexByHeight.ts +++ b/src/funcs/dataPrimaryNetworkVerticesGetVertexByHeight.ts @@ -39,7 +39,7 @@ import { export async function dataPrimaryNetworkVerticesGetVertexByHeight( client: AvaCloudSDKCore, request: operations.GetVertexByHeightRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataPrimaryNetworkVerticesListLatestXChainVertices.ts b/src/funcs/dataPrimaryNetworkVerticesListLatestXChainVertices.ts index 2e054a9..d7dd9d0 100644 --- a/src/funcs/dataPrimaryNetworkVerticesListLatestXChainVertices.ts +++ b/src/funcs/dataPrimaryNetworkVerticesListLatestXChainVertices.ts @@ -39,7 +39,7 @@ import { export async function dataPrimaryNetworkVerticesListLatestXChainVertices( client: AvaCloudSDKCore, request: operations.ListLatestXChainVerticesRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataSignatureAggregatorAggregateSignatures.ts b/src/funcs/dataSignatureAggregatorAggregateSignatures.ts index b4a8429..ceaeac6 100644 --- a/src/funcs/dataSignatureAggregatorAggregateSignatures.ts +++ b/src/funcs/dataSignatureAggregatorAggregateSignatures.ts @@ -32,7 +32,7 @@ import { Result } from "../types/fp.js"; export async function dataSignatureAggregatorAggregateSignatures( client: AvaCloudSDKCore, request: components.SignatureAggregatorRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.SignatureAggregationResponse, diff --git a/src/funcs/dataTeleporterGetTeleporterMessage.ts b/src/funcs/dataTeleporterGetTeleporterMessage.ts index 7471e87..d05832c 100644 --- a/src/funcs/dataTeleporterGetTeleporterMessage.ts +++ b/src/funcs/dataTeleporterGetTeleporterMessage.ts @@ -32,7 +32,7 @@ import { Result } from "../types/fp.js"; export async function dataTeleporterGetTeleporterMessage( client: AvaCloudSDKCore, request: operations.GetTeleporterMessageRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< operations.GetTeleporterMessageResponseBody, diff --git a/src/funcs/dataTeleporterListTeleporterMessages.ts b/src/funcs/dataTeleporterListTeleporterMessages.ts index f3900ff..8cacb03 100644 --- a/src/funcs/dataTeleporterListTeleporterMessages.ts +++ b/src/funcs/dataTeleporterListTeleporterMessages.ts @@ -39,7 +39,7 @@ import { export async function dataTeleporterListTeleporterMessages( client: AvaCloudSDKCore, request: operations.ListTeleporterMessagesRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataTeleporterListTeleporterMessagesByAddress.ts b/src/funcs/dataTeleporterListTeleporterMessagesByAddress.ts index 40f4675..11287c6 100644 --- a/src/funcs/dataTeleporterListTeleporterMessagesByAddress.ts +++ b/src/funcs/dataTeleporterListTeleporterMessagesByAddress.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataTeleporterListTeleporterMessagesByAddress( client: AvaCloudSDKCore, request: operations.ListTeleporterMessagesByAddressRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.ListTeleporterMessagesResponse, diff --git a/src/funcs/dataUsageMetricsGetApiLogs.ts b/src/funcs/dataUsageMetricsGetApiLogs.ts index d0b46e2..fca7dc8 100644 --- a/src/funcs/dataUsageMetricsGetApiLogs.ts +++ b/src/funcs/dataUsageMetricsGetApiLogs.ts @@ -39,7 +39,7 @@ import { export async function dataUsageMetricsGetApiLogs( client: AvaCloudSDKCore, request: operations.GetApiLogsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataUsageMetricsGetApiUsageMetrics.ts b/src/funcs/dataUsageMetricsGetApiUsageMetrics.ts index 4cafb58..0089a68 100644 --- a/src/funcs/dataUsageMetricsGetApiUsageMetrics.ts +++ b/src/funcs/dataUsageMetricsGetApiUsageMetrics.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataUsageMetricsGetApiUsageMetrics( client: AvaCloudSDKCore, request: operations.GetApiUsageMetricsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.UsageMetricsResponseDTO, diff --git a/src/funcs/dataWebhooksAddAddressesToWebhook.ts b/src/funcs/dataWebhooksAddAddressesToWebhook.ts index 3710cbe..4dc8bff 100644 --- a/src/funcs/dataWebhooksAddAddressesToWebhook.ts +++ b/src/funcs/dataWebhooksAddAddressesToWebhook.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataWebhooksAddAddressesToWebhook( client: AvaCloudSDKCore, request: operations.AddAddressesToWebhookRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.WebhookResponse, diff --git a/src/funcs/dataWebhooksCreateWebhook.ts b/src/funcs/dataWebhooksCreateWebhook.ts index a9c820d..5496846 100644 --- a/src/funcs/dataWebhooksCreateWebhook.ts +++ b/src/funcs/dataWebhooksCreateWebhook.ts @@ -32,7 +32,7 @@ import { Result } from "../types/fp.js"; export async function dataWebhooksCreateWebhook( client: AvaCloudSDKCore, request: components.CreateWebhookRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.WebhookResponse, diff --git a/src/funcs/dataWebhooksDeactivateWebhook.ts b/src/funcs/dataWebhooksDeactivateWebhook.ts index 0c75d6c..17f54c0 100644 --- a/src/funcs/dataWebhooksDeactivateWebhook.ts +++ b/src/funcs/dataWebhooksDeactivateWebhook.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataWebhooksDeactivateWebhook( client: AvaCloudSDKCore, request: operations.DeactivateWebhookRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.WebhookResponse, diff --git a/src/funcs/dataWebhooksGenerateSharedSecret.ts b/src/funcs/dataWebhooksGenerateSharedSecret.ts index 6df9983..dc6515b 100644 --- a/src/funcs/dataWebhooksGenerateSharedSecret.ts +++ b/src/funcs/dataWebhooksGenerateSharedSecret.ts @@ -29,7 +29,7 @@ import { Result } from "../types/fp.js"; */ export async function dataWebhooksGenerateSharedSecret( client: AvaCloudSDKCore, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.SharedSecretsResponse, diff --git a/src/funcs/dataWebhooksGetAddressesFromWebhook.ts b/src/funcs/dataWebhooksGetAddressesFromWebhook.ts index 9331ba9..1b946a2 100644 --- a/src/funcs/dataWebhooksGetAddressesFromWebhook.ts +++ b/src/funcs/dataWebhooksGetAddressesFromWebhook.ts @@ -39,7 +39,7 @@ import { export async function dataWebhooksGetAddressesFromWebhook( client: AvaCloudSDKCore, request: operations.GetAddressesFromWebhookRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataWebhooksGetSharedSecret.ts b/src/funcs/dataWebhooksGetSharedSecret.ts index b282eef..984df57 100644 --- a/src/funcs/dataWebhooksGetSharedSecret.ts +++ b/src/funcs/dataWebhooksGetSharedSecret.ts @@ -29,7 +29,7 @@ import { Result } from "../types/fp.js"; */ export async function dataWebhooksGetSharedSecret( client: AvaCloudSDKCore, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.SharedSecretsResponse, diff --git a/src/funcs/dataWebhooksGetWebhook.ts b/src/funcs/dataWebhooksGetWebhook.ts index 236069c..1f28bc4 100644 --- a/src/funcs/dataWebhooksGetWebhook.ts +++ b/src/funcs/dataWebhooksGetWebhook.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataWebhooksGetWebhook( client: AvaCloudSDKCore, request: operations.GetWebhookRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.WebhookResponse, diff --git a/src/funcs/dataWebhooksListWebhooks.ts b/src/funcs/dataWebhooksListWebhooks.ts index f4de15b..3d5bda4 100644 --- a/src/funcs/dataWebhooksListWebhooks.ts +++ b/src/funcs/dataWebhooksListWebhooks.ts @@ -39,7 +39,7 @@ import { export async function dataWebhooksListWebhooks( client: AvaCloudSDKCore, request: operations.ListWebhooksRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/dataWebhooksRemoveAddressesFromWebhook.ts b/src/funcs/dataWebhooksRemoveAddressesFromWebhook.ts index 6a41e43..6914956 100644 --- a/src/funcs/dataWebhooksRemoveAddressesFromWebhook.ts +++ b/src/funcs/dataWebhooksRemoveAddressesFromWebhook.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataWebhooksRemoveAddressesFromWebhook( client: AvaCloudSDKCore, request: operations.RemoveAddressesFromWebhookRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.WebhookResponse, diff --git a/src/funcs/dataWebhooksUpdateWebhook.ts b/src/funcs/dataWebhooksUpdateWebhook.ts index c3c2e17..ad2ac4a 100644 --- a/src/funcs/dataWebhooksUpdateWebhook.ts +++ b/src/funcs/dataWebhooksUpdateWebhook.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function dataWebhooksUpdateWebhook( client: AvaCloudSDKCore, request: operations.UpdateWebhookRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.WebhookResponse, diff --git a/src/funcs/metricsChainMetricsGetEvmChainMetrics.ts b/src/funcs/metricsChainMetricsGetEvmChainMetrics.ts index 89d9af4..d2eb170 100644 --- a/src/funcs/metricsChainMetricsGetEvmChainMetrics.ts +++ b/src/funcs/metricsChainMetricsGetEvmChainMetrics.ts @@ -39,7 +39,7 @@ import { export async function metricsChainMetricsGetEvmChainMetrics( client: AvaCloudSDKCore, request: operations.GetEvmChainMetricsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/metricsChainMetricsGetEvmChainRollingWindowMetrics.ts b/src/funcs/metricsChainMetricsGetEvmChainRollingWindowMetrics.ts index 0ea00b4..49ccd95 100644 --- a/src/funcs/metricsChainMetricsGetEvmChainRollingWindowMetrics.ts +++ b/src/funcs/metricsChainMetricsGetEvmChainRollingWindowMetrics.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function metricsChainMetricsGetEvmChainRollingWindowMetrics( client: AvaCloudSDKCore, request: operations.GetEvmChainRollingWindowMetricsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.RollingWindowMetricsApiResponse, diff --git a/src/funcs/metricsChainMetricsGetStakingMetrics.ts b/src/funcs/metricsChainMetricsGetStakingMetrics.ts index b8043ec..2a0995d 100644 --- a/src/funcs/metricsChainMetricsGetStakingMetrics.ts +++ b/src/funcs/metricsChainMetricsGetStakingMetrics.ts @@ -39,7 +39,7 @@ import { export async function metricsChainMetricsGetStakingMetrics( client: AvaCloudSDKCore, request: operations.GetStakingMetricsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/metricsChainMetricsGetTeleporterMetricsByChain.ts b/src/funcs/metricsChainMetricsGetTeleporterMetricsByChain.ts index f471e97..9a31970 100644 --- a/src/funcs/metricsChainMetricsGetTeleporterMetricsByChain.ts +++ b/src/funcs/metricsChainMetricsGetTeleporterMetricsByChain.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function metricsChainMetricsGetTeleporterMetricsByChain( client: AvaCloudSDKCore, request: operations.GetTeleporterMetricsByChainRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.TeleporterChainMetricsApiResponse, diff --git a/src/funcs/metricsEvmChainsGetChain.ts b/src/funcs/metricsEvmChainsGetChain.ts index e7ec521..777581d 100644 --- a/src/funcs/metricsEvmChainsGetChain.ts +++ b/src/funcs/metricsEvmChainsGetChain.ts @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js"; export async function metricsEvmChainsGetChain( client: AvaCloudSDKCore, request: operations.GetChainRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< components.Chain, diff --git a/src/funcs/metricsEvmChainsListChains.ts b/src/funcs/metricsEvmChainsListChains.ts index 364e97f..d0a6312 100644 --- a/src/funcs/metricsEvmChainsListChains.ts +++ b/src/funcs/metricsEvmChainsListChains.ts @@ -39,7 +39,7 @@ import { export async function metricsEvmChainsListChains( client: AvaCloudSDKCore, request: operations.ListChainsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/metricsHealthCheckMetricsHealthCheck.ts b/src/funcs/metricsHealthCheckMetricsHealthCheck.ts index eb37acd..3083d5b 100644 --- a/src/funcs/metricsHealthCheckMetricsHealthCheck.ts +++ b/src/funcs/metricsHealthCheckMetricsHealthCheck.ts @@ -26,7 +26,7 @@ import { Result } from "../types/fp.js"; */ export async function metricsHealthCheckMetricsHealthCheck( client: AvaCloudSDKCore, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< Result< operations.MetricsHealthCheckResponseBody, diff --git a/src/funcs/metricsLookingGlassCompositeQuery.ts b/src/funcs/metricsLookingGlassCompositeQuery.ts index 29f16b3..5442e18 100644 --- a/src/funcs/metricsLookingGlassCompositeQuery.ts +++ b/src/funcs/metricsLookingGlassCompositeQuery.ts @@ -40,7 +40,7 @@ import { export async function metricsLookingGlassCompositeQuery( client: AvaCloudSDKCore, request: components.CompositeQueryRequestDto, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/metricsLookingGlassGetAddressesByBalanceOverTime.ts b/src/funcs/metricsLookingGlassGetAddressesByBalanceOverTime.ts index b80e835..3edab31 100644 --- a/src/funcs/metricsLookingGlassGetAddressesByBalanceOverTime.ts +++ b/src/funcs/metricsLookingGlassGetAddressesByBalanceOverTime.ts @@ -39,7 +39,7 @@ import { export async function metricsLookingGlassGetAddressesByBalanceOverTime( client: AvaCloudSDKCore, request: operations.GetAddressesByBalanceOverTimeRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/metricsLookingGlassGetAddressesByBtcbBridged.ts b/src/funcs/metricsLookingGlassGetAddressesByBtcbBridged.ts index c5ba199..b2e80a2 100644 --- a/src/funcs/metricsLookingGlassGetAddressesByBtcbBridged.ts +++ b/src/funcs/metricsLookingGlassGetAddressesByBtcbBridged.ts @@ -39,7 +39,7 @@ import { export async function metricsLookingGlassGetAddressesByBtcbBridged( client: AvaCloudSDKCore, request: operations.GetAddressesByBtcbBridgedRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/metricsLookingGlassGetNftHoldersByContractAddress.ts b/src/funcs/metricsLookingGlassGetNftHoldersByContractAddress.ts index 2fd14d0..6aa15d4 100644 --- a/src/funcs/metricsLookingGlassGetNftHoldersByContractAddress.ts +++ b/src/funcs/metricsLookingGlassGetNftHoldersByContractAddress.ts @@ -39,7 +39,7 @@ import { export async function metricsLookingGlassGetNftHoldersByContractAddress( client: AvaCloudSDKCore, request: operations.GetNftHoldersByContractAddressRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/funcs/metricsLookingGlassGetValidatorsByDateRange.ts b/src/funcs/metricsLookingGlassGetValidatorsByDateRange.ts index 3b55724..8045a42 100644 --- a/src/funcs/metricsLookingGlassGetValidatorsByDateRange.ts +++ b/src/funcs/metricsLookingGlassGetValidatorsByDateRange.ts @@ -39,7 +39,7 @@ import { export async function metricsLookingGlassGetValidatorsByDateRange( client: AvaCloudSDKCore, request: operations.GetValidatorsByDateRangeRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< Result< diff --git a/src/lib/config.ts b/src/lib/config.ts index ef5301d..c0de98b 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -50,8 +50,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "Beta", - sdkVersion: "0.8.3", - genVersion: "2.479.3", + sdkVersion: "0.8.4", + genVersion: "2.481.0", userAgent: - "speakeasy-sdk/typescript 0.8.3 2.479.3 Beta @avalabs/avacloud-sdk", + "speakeasy-sdk/typescript 0.8.4 2.481.0 Beta @avalabs/avacloud-sdk", } as const; diff --git a/src/lib/sdks.ts b/src/lib/sdks.ts index 2ce720a..334bc3d 100644 --- a/src/lib/sdks.ts +++ b/src/lib/sdks.ts @@ -41,6 +41,10 @@ export type RequestOptions = { * Specifies the status codes which should be retried using the given retry policy. */ retryCodes?: string[]; + /** + * Overrides the base server URL that will be used by an operation. + */ + serverURL?: string | URL; /** * Sets various request options on the `fetch` call made by an SDK method. * @@ -52,7 +56,7 @@ export type RequestOptions = { type RequestConfig = { method: string; path: string; - baseURL?: string | URL; + baseURL?: string | URL | undefined; query?: string; body?: RequestInit["body"]; headers?: HeadersInit; @@ -119,6 +123,7 @@ export class ClientSDK { const inputURL = new URL(path, reqURL); if (path) { + reqURL.pathname += reqURL.pathname.endsWith("/") ? "" : "/"; reqURL.pathname += inputURL.pathname.replace(/^\/+/, ""); } diff --git a/src/models/components/chainmetric.ts b/src/models/components/chainmetric.ts index 6fb28a3..7a105c6 100644 --- a/src/models/components/chainmetric.ts +++ b/src/models/components/chainmetric.ts @@ -20,6 +20,7 @@ export const ChainMetric = { MaxTps: "maxTps", AvgGasPrice: "avgGasPrice", MaxGasPrice: "maxGasPrice", + FeesPaid: "feesPaid", } as const; export type ChainMetric = ClosedEnum; diff --git a/src/models/components/chainrollingwindowmetric.ts b/src/models/components/chainrollingwindowmetric.ts index 481932f..f5bf3a1 100644 --- a/src/models/components/chainrollingwindowmetric.ts +++ b/src/models/components/chainrollingwindowmetric.ts @@ -14,6 +14,7 @@ export const ChainRollingWindowMetric = { MaxTps: "maxTps", AvgGasPrice: "avgGasPrice", MaxGasPrice: "maxGasPrice", + FeesPaid: "feesPaid", } as const; export type ChainRollingWindowMetric = ClosedEnum< typeof ChainRollingWindowMetric diff --git a/src/models/components/erc20tokenbalance.ts b/src/models/components/erc20tokenbalance.ts index f84af1f..b4c86d8 100644 --- a/src/models/components/erc20tokenbalance.ts +++ b/src/models/components/erc20tokenbalance.ts @@ -21,6 +21,8 @@ export type Erc20TokenBalanceErcType = ClosedEnum< typeof Erc20TokenBalanceErcType >; +export type TokenStatus = {}; + export type Erc20TokenBalance = { /** * A wallet or contract address in mixed-case checksum encoding. @@ -59,6 +61,7 @@ export type Erc20TokenBalance = { * The monetary value of the balance, if a price is available for the token. */ balanceValue?: Money | undefined; + tokenStatus: TokenStatus; }; /** @internal */ @@ -82,6 +85,50 @@ export namespace Erc20TokenBalanceErcType$ { export const outboundSchema = Erc20TokenBalanceErcType$outboundSchema; } +/** @internal */ +export const TokenStatus$inboundSchema: z.ZodType< + TokenStatus, + z.ZodTypeDef, + unknown +> = z.object({}); + +/** @internal */ +export type TokenStatus$Outbound = {}; + +/** @internal */ +export const TokenStatus$outboundSchema: z.ZodType< + TokenStatus$Outbound, + z.ZodTypeDef, + TokenStatus +> = z.object({}); + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace TokenStatus$ { + /** @deprecated use `TokenStatus$inboundSchema` instead. */ + export const inboundSchema = TokenStatus$inboundSchema; + /** @deprecated use `TokenStatus$outboundSchema` instead. */ + export const outboundSchema = TokenStatus$outboundSchema; + /** @deprecated use `TokenStatus$Outbound` instead. */ + export type Outbound = TokenStatus$Outbound; +} + +export function tokenStatusToJSON(tokenStatus: TokenStatus): string { + return JSON.stringify(TokenStatus$outboundSchema.parse(tokenStatus)); +} + +export function tokenStatusFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TokenStatus$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TokenStatus' from JSON`, + ); +} + /** @internal */ export const Erc20TokenBalance$inboundSchema: z.ZodType< Erc20TokenBalance, @@ -98,6 +145,7 @@ export const Erc20TokenBalance$inboundSchema: z.ZodType< chainId: z.string(), balance: z.string(), balanceValue: Money$inboundSchema.optional(), + tokenStatus: z.lazy(() => TokenStatus$inboundSchema), }); /** @internal */ @@ -112,6 +160,7 @@ export type Erc20TokenBalance$Outbound = { chainId: string; balance: string; balanceValue?: Money$Outbound | undefined; + tokenStatus: TokenStatus$Outbound; }; /** @internal */ @@ -130,6 +179,7 @@ export const Erc20TokenBalance$outboundSchema: z.ZodType< chainId: z.string(), balance: z.string(), balanceValue: Money$outboundSchema.optional(), + tokenStatus: z.lazy(() => TokenStatus$outboundSchema), }); /** diff --git a/src/sdk/avacloudsdkbalances.ts b/src/sdk/avacloudsdkbalances.ts index c145b8c..2e2bfb4 100644 --- a/src/sdk/avacloudsdkbalances.ts +++ b/src/sdk/avacloudsdkbalances.ts @@ -24,7 +24,7 @@ export class AvaCloudSDKBalances extends ClientSDK { */ async getNativeBalance( request: operations.GetNativeBalanceRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataEvmBalancesGetNativeBalance( this, @@ -45,7 +45,7 @@ export class AvaCloudSDKBalances extends ClientSDK { */ async listErc20Balances( request: operations.ListErc20BalancesRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { @@ -66,7 +66,7 @@ export class AvaCloudSDKBalances extends ClientSDK { */ async listErc721Balances( request: operations.ListErc721BalancesRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { @@ -89,7 +89,7 @@ export class AvaCloudSDKBalances extends ClientSDK { */ async listErc1155Balances( request: operations.ListErc1155BalancesRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { @@ -110,7 +110,7 @@ export class AvaCloudSDKBalances extends ClientSDK { */ async listCollectibleBalances( request: operations.ListCollectibleBalancesRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { diff --git a/src/sdk/avacloudsdkblocks.ts b/src/sdk/avacloudsdkblocks.ts index 5e04e96..89a2039 100644 --- a/src/sdk/avacloudsdkblocks.ts +++ b/src/sdk/avacloudsdkblocks.ts @@ -19,7 +19,7 @@ export class AvaCloudSDKBlocks extends ClientSDK { */ async getLatestBlocks( request: operations.GetLatestBlocksRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { @@ -38,7 +38,7 @@ export class AvaCloudSDKBlocks extends ClientSDK { */ async getBlock( request: operations.GetBlockRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataEvmBlocksGetBlock( this, diff --git a/src/sdk/avacloudsdkchains.ts b/src/sdk/avacloudsdkchains.ts index a1a9e23..7dc070f 100644 --- a/src/sdk/avacloudsdkchains.ts +++ b/src/sdk/avacloudsdkchains.ts @@ -19,7 +19,7 @@ export class AvaCloudSDKChains extends ClientSDK { */ async supportedChains( request: operations.SupportedChainsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataEvmChainsSupportedChains( this, @@ -36,7 +36,7 @@ export class AvaCloudSDKChains extends ClientSDK { */ async getChainInfo( request: operations.GetChainInfoRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataEvmChainsGetChainInfo( this, @@ -53,7 +53,7 @@ export class AvaCloudSDKChains extends ClientSDK { */ async getAddressChains( request: operations.GetAddressChainsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataEvmChainsGetAddressChains( this, diff --git a/src/sdk/avacloudsdkhealthcheck.ts b/src/sdk/avacloudsdkhealthcheck.ts index 614d608..1f85ac9 100644 --- a/src/sdk/avacloudsdkhealthcheck.ts +++ b/src/sdk/avacloudsdkhealthcheck.ts @@ -12,7 +12,7 @@ export class AvaCloudSDKHealthCheck extends ClientSDK { * Get the health of the service */ async dataHealthCheck( - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataHealthCheckDataHealthCheck( this, diff --git a/src/sdk/avacloudsdkmetrics.ts b/src/sdk/avacloudsdkmetrics.ts index feab818..a349d22 100644 --- a/src/sdk/avacloudsdkmetrics.ts +++ b/src/sdk/avacloudsdkmetrics.ts @@ -21,7 +21,7 @@ export class AvaCloudSDKMetrics extends ClientSDK { */ async getEvmChainMetrics( request: operations.GetEvmChainMetricsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { @@ -40,7 +40,7 @@ export class AvaCloudSDKMetrics extends ClientSDK { */ async getTeleporterMetricsByChain( request: operations.GetTeleporterMetricsByChainRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(metricsChainMetricsGetTeleporterMetricsByChain( this, @@ -57,7 +57,7 @@ export class AvaCloudSDKMetrics extends ClientSDK { */ async getEvmChainRollingWindowMetrics( request: operations.GetEvmChainRollingWindowMetricsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(metricsChainMetricsGetEvmChainRollingWindowMetrics( this, @@ -74,7 +74,7 @@ export class AvaCloudSDKMetrics extends ClientSDK { */ async getStakingMetrics( request: operations.GetStakingMetricsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { diff --git a/src/sdk/avacloudsdktransactions.ts b/src/sdk/avacloudsdktransactions.ts index 771f94a..b2c7ae4 100644 --- a/src/sdk/avacloudsdktransactions.ts +++ b/src/sdk/avacloudsdktransactions.ts @@ -29,7 +29,7 @@ export class AvaCloudSDKTransactions extends ClientSDK { */ async getDeploymentTransaction( request: operations.GetDeploymentTransactionRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataEvmTransactionsGetDeploymentTransaction( this, @@ -46,7 +46,7 @@ export class AvaCloudSDKTransactions extends ClientSDK { */ async listContractDeployments( request: operations.ListContractDeploymentsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { @@ -65,7 +65,7 @@ export class AvaCloudSDKTransactions extends ClientSDK { */ async listTransfers( request: operations.ListTransfersRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { @@ -86,7 +86,7 @@ export class AvaCloudSDKTransactions extends ClientSDK { */ async listTransactions( request: operations.ListTransactionsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { @@ -105,7 +105,7 @@ export class AvaCloudSDKTransactions extends ClientSDK { */ async listNativeTransactions( request: operations.ListNativeTransactionsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { @@ -124,7 +124,7 @@ export class AvaCloudSDKTransactions extends ClientSDK { */ async listErc20Transactions( request: operations.ListErc20TransactionsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { @@ -143,7 +143,7 @@ export class AvaCloudSDKTransactions extends ClientSDK { */ async listErc721Transactions( request: operations.ListErc721TransactionsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { @@ -162,7 +162,7 @@ export class AvaCloudSDKTransactions extends ClientSDK { */ async listErc1155Transactions( request: operations.ListErc1155TransactionsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { @@ -183,7 +183,7 @@ export class AvaCloudSDKTransactions extends ClientSDK { */ async listInternalTransactions( request: operations.ListInternalTransactionsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< operations.ListInternalTransactionsResponse, @@ -205,7 +205,7 @@ export class AvaCloudSDKTransactions extends ClientSDK { */ async getTransaction( request: operations.GetTransactionRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataEvmTransactionsGetTransaction( this, @@ -222,7 +222,7 @@ export class AvaCloudSDKTransactions extends ClientSDK { */ async getTransactionsForBlock( request: operations.GetTransactionsForBlockRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataEvmTransactionsGetTransactionsForBlock( this, @@ -239,7 +239,7 @@ export class AvaCloudSDKTransactions extends ClientSDK { */ async listLatestTransactions( request: operations.ListLatestTransactionsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { diff --git a/src/sdk/balances.ts b/src/sdk/balances.ts index b35f190..4aaf3ba 100644 --- a/src/sdk/balances.ts +++ b/src/sdk/balances.ts @@ -18,7 +18,7 @@ export class Balances extends ClientSDK { */ async getBalancesByAddresses( request: operations.GetBalancesByAddressesRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataPrimaryNetworkBalancesGetBalancesByAddresses( this, diff --git a/src/sdk/blocks.ts b/src/sdk/blocks.ts index d130b00..f509206 100644 --- a/src/sdk/blocks.ts +++ b/src/sdk/blocks.ts @@ -20,7 +20,7 @@ export class Blocks extends ClientSDK { */ async getBlockById( request: operations.GetBlockByIdRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataPrimaryNetworkBlocksGetBlockById( this, @@ -37,7 +37,7 @@ export class Blocks extends ClientSDK { */ async listPrimaryNetworkBlocksByNodeId( request: operations.ListPrimaryNetworkBlocksByNodeIdRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< operations.ListPrimaryNetworkBlocksByNodeIdResponse, @@ -61,7 +61,7 @@ export class Blocks extends ClientSDK { */ async listLatestPrimaryNetworkBlocks( request: operations.ListLatestPrimaryNetworkBlocksRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< operations.ListLatestPrimaryNetworkBlocksResponse, diff --git a/src/sdk/chains.ts b/src/sdk/chains.ts index cc064a3..e382a2a 100644 --- a/src/sdk/chains.ts +++ b/src/sdk/chains.ts @@ -19,7 +19,7 @@ export class Chains extends ClientSDK { */ async listChains( request: operations.ListChainsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise> { return unwrapResultIterator(metricsEvmChainsListChains( this, @@ -36,7 +36,7 @@ export class Chains extends ClientSDK { */ async getChain( request: operations.GetChainRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(metricsEvmChainsGetChain( this, diff --git a/src/sdk/contracts.ts b/src/sdk/contracts.ts index 2360e51..dce506c 100644 --- a/src/sdk/contracts.ts +++ b/src/sdk/contracts.ts @@ -16,7 +16,7 @@ export class Contracts extends ClientSDK { */ async getContractMetadata( request: operations.GetContractMetadataRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataEvmContractsGetContractMetadata( this, diff --git a/src/sdk/healthcheck.ts b/src/sdk/healthcheck.ts index e6eb694..decd2f2 100644 --- a/src/sdk/healthcheck.ts +++ b/src/sdk/healthcheck.ts @@ -12,7 +12,7 @@ export class HealthCheck extends ClientSDK { * Get the health of the service */ async metricsHealthCheck( - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(metricsHealthCheckMetricsHealthCheck( this, diff --git a/src/sdk/lookingglass.ts b/src/sdk/lookingglass.ts index 287ef9f..5acb874 100644 --- a/src/sdk/lookingglass.ts +++ b/src/sdk/lookingglass.ts @@ -21,7 +21,7 @@ export class LookingGlass extends ClientSDK { */ async getNftHoldersByContractAddress( request: operations.GetNftHoldersByContractAddressRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< operations.GetNftHoldersByContractAddressResponse, @@ -45,7 +45,7 @@ export class LookingGlass extends ClientSDK { */ async getAddressesByBalanceOverTime( request: operations.GetAddressesByBalanceOverTimeRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< operations.GetAddressesByBalanceOverTimeResponse, @@ -69,7 +69,7 @@ export class LookingGlass extends ClientSDK { */ async getAddressesByBtcbBridged( request: operations.GetAddressesByBtcbBridgedRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< operations.GetAddressesByBtcbBridgedResponse, @@ -91,7 +91,7 @@ export class LookingGlass extends ClientSDK { */ async getValidatorsByDateRange( request: operations.GetValidatorsByDateRangeRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< operations.GetValidatorsByDateRangeResponse, @@ -113,7 +113,7 @@ export class LookingGlass extends ClientSDK { */ async compositeQuery( request: components.CompositeQueryRequestDto, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { diff --git a/src/sdk/nfts.ts b/src/sdk/nfts.ts index 8022dd7..9bfce1f 100644 --- a/src/sdk/nfts.ts +++ b/src/sdk/nfts.ts @@ -19,7 +19,7 @@ export class Nfts extends ClientSDK { */ async reindexNft( request: operations.ReindexNftRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataNftsReindexNft( this, @@ -36,7 +36,7 @@ export class Nfts extends ClientSDK { */ async listTokens( request: operations.ListTokensRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise> { return unwrapResultIterator(dataNftsListTokens( this, @@ -53,7 +53,7 @@ export class Nfts extends ClientSDK { */ async getTokenDetails( request: operations.GetTokenDetailsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataNftsGetTokenDetails( this, diff --git a/src/sdk/operations.ts b/src/sdk/operations.ts index 5530476..15090d8 100644 --- a/src/sdk/operations.ts +++ b/src/sdk/operations.ts @@ -18,7 +18,7 @@ export class Operations extends ClientSDK { */ async getOperationResult( request: operations.GetOperationResultRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataOperationsGetOperationResult( this, @@ -37,7 +37,7 @@ export class Operations extends ClientSDK { */ async postTransactionExportJob( request: operations.PostTransactionExportJobRequestBody, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataOperationsPostTransactionExportJob( this, diff --git a/src/sdk/primarynetwork.ts b/src/sdk/primarynetwork.ts index 526b7cd..ecc0ced 100644 --- a/src/sdk/primarynetwork.ts +++ b/src/sdk/primarynetwork.ts @@ -63,7 +63,7 @@ export class PrimaryNetwork extends ClientSDK { */ async getAssetDetails( request: operations.GetAssetDetailsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataPrimaryNetworkGetAssetDetails( this, @@ -80,7 +80,7 @@ export class PrimaryNetwork extends ClientSDK { */ async getChainIdsForAddresses( request: operations.GetChainIdsForAddressesRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataPrimaryNetworkGetChainIdsForAddresses( this, @@ -97,7 +97,7 @@ export class PrimaryNetwork extends ClientSDK { */ async getNetworkDetails( request: operations.GetNetworkDetailsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataPrimaryNetworkGetNetworkDetails( this, @@ -114,7 +114,7 @@ export class PrimaryNetwork extends ClientSDK { */ async listBlockchains( request: operations.ListBlockchainsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { @@ -133,7 +133,7 @@ export class PrimaryNetwork extends ClientSDK { */ async listSubnets( request: operations.ListSubnetsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise> { return unwrapResultIterator(dataPrimaryNetworkListSubnets( this, @@ -150,7 +150,7 @@ export class PrimaryNetwork extends ClientSDK { */ async getSubnetById( request: operations.GetSubnetByIdRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataPrimaryNetworkGetSubnetById( this, @@ -167,7 +167,7 @@ export class PrimaryNetwork extends ClientSDK { */ async listValidators( request: operations.ListValidatorsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { @@ -186,7 +186,7 @@ export class PrimaryNetwork extends ClientSDK { */ async getSingleValidatorDetails( request: operations.GetSingleValidatorDetailsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< operations.GetSingleValidatorDetailsResponse, @@ -208,7 +208,7 @@ export class PrimaryNetwork extends ClientSDK { */ async listDelegators( request: operations.ListDelegatorsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { @@ -227,7 +227,7 @@ export class PrimaryNetwork extends ClientSDK { */ async listL1Validators( request: operations.ListL1ValidatorsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { diff --git a/src/sdk/rewards.ts b/src/sdk/rewards.ts index d9d952c..ea7a499 100644 --- a/src/sdk/rewards.ts +++ b/src/sdk/rewards.ts @@ -17,7 +17,7 @@ export class Rewards extends ClientSDK { */ async listPendingPrimaryNetworkRewards( request: operations.ListPendingPrimaryNetworkRewardsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< operations.ListPendingPrimaryNetworkRewardsResponse, @@ -41,7 +41,7 @@ export class Rewards extends ClientSDK { */ async listHistoricalPrimaryNetworkRewards( request: operations.ListHistoricalPrimaryNetworkRewardsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< operations.ListHistoricalPrimaryNetworkRewardsResponse, diff --git a/src/sdk/signatureaggregator.ts b/src/sdk/signatureaggregator.ts index 4ddbc2c..4b96e14 100644 --- a/src/sdk/signatureaggregator.ts +++ b/src/sdk/signatureaggregator.ts @@ -16,7 +16,7 @@ export class SignatureAggregator extends ClientSDK { */ async aggregateSignatures( request: components.SignatureAggregatorRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataSignatureAggregatorAggregateSignatures( this, diff --git a/src/sdk/teleporter.ts b/src/sdk/teleporter.ts index 77379d9..cb140f8 100644 --- a/src/sdk/teleporter.ts +++ b/src/sdk/teleporter.ts @@ -20,7 +20,7 @@ export class Teleporter extends ClientSDK { */ async getTeleporterMessage( request: operations.GetTeleporterMessageRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataTeleporterGetTeleporterMessage( this, @@ -37,7 +37,7 @@ export class Teleporter extends ClientSDK { */ async listTeleporterMessages( request: operations.ListTeleporterMessagesRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { @@ -56,7 +56,7 @@ export class Teleporter extends ClientSDK { */ async listTeleporterMessagesByAddress( request: operations.ListTeleporterMessagesByAddressRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataTeleporterListTeleporterMessagesByAddress( this, diff --git a/src/sdk/transactions.ts b/src/sdk/transactions.ts index 7abb709..730e4dc 100644 --- a/src/sdk/transactions.ts +++ b/src/sdk/transactions.ts @@ -20,7 +20,7 @@ export class Transactions extends ClientSDK { */ async getTxByHash( request: operations.GetTxByHashRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataPrimaryNetworkTransactionsGetTxByHash( this, @@ -43,7 +43,7 @@ export class Transactions extends ClientSDK { */ async listLatestPrimaryNetworkTransactions( request: operations.ListLatestPrimaryNetworkTransactionsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< operations.ListLatestPrimaryNetworkTransactionsResponse, @@ -67,7 +67,7 @@ export class Transactions extends ClientSDK { */ async listActivePrimaryNetworkStakingTransactions( request: operations.ListActivePrimaryNetworkStakingTransactionsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< operations.ListActivePrimaryNetworkStakingTransactionsResponse, @@ -91,7 +91,7 @@ export class Transactions extends ClientSDK { */ async listAssetTransactions( request: operations.ListAssetTransactionsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { diff --git a/src/sdk/usagemetrics.ts b/src/sdk/usagemetrics.ts index b24c7f5..0a91116 100644 --- a/src/sdk/usagemetrics.ts +++ b/src/sdk/usagemetrics.ts @@ -19,7 +19,7 @@ export class UsageMetrics extends ClientSDK { */ async getApiUsageMetrics( request: operations.GetApiUsageMetricsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataUsageMetricsGetApiUsageMetrics( this, @@ -36,7 +36,7 @@ export class UsageMetrics extends ClientSDK { */ async getApiLogs( request: operations.GetApiLogsRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise> { return unwrapResultIterator(dataUsageMetricsGetApiLogs( this, diff --git a/src/sdk/utxos.ts b/src/sdk/utxos.ts index 59bcf16..9027eb8 100644 --- a/src/sdk/utxos.ts +++ b/src/sdk/utxos.ts @@ -16,7 +16,7 @@ export class Utxos extends ClientSDK { */ async getUtxosByAddresses( request: operations.GetUtxosByAddressesRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { diff --git a/src/sdk/vertices.ts b/src/sdk/vertices.ts index 00aba97..f841f87 100644 --- a/src/sdk/vertices.ts +++ b/src/sdk/vertices.ts @@ -20,7 +20,7 @@ export class Vertices extends ClientSDK { */ async listLatestXChainVertices( request: operations.ListLatestXChainVerticesRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator< operations.ListLatestXChainVerticesResponse, @@ -44,7 +44,7 @@ export class Vertices extends ClientSDK { */ async getVertexByHash( request: operations.GetVertexByHashRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataPrimaryNetworkVerticesGetVertexByHash( this, @@ -61,7 +61,7 @@ export class Vertices extends ClientSDK { */ async getVertexByHeight( request: operations.GetVertexByHeightRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { diff --git a/src/sdk/webhooks.ts b/src/sdk/webhooks.ts index cdfb91a..0f250d6 100644 --- a/src/sdk/webhooks.ts +++ b/src/sdk/webhooks.ts @@ -27,7 +27,7 @@ export class Webhooks extends ClientSDK { */ async listWebhooks( request: operations.ListWebhooksRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { @@ -46,7 +46,7 @@ export class Webhooks extends ClientSDK { */ async createWebhook( request: components.CreateWebhookRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataWebhooksCreateWebhook( this, @@ -63,7 +63,7 @@ export class Webhooks extends ClientSDK { */ async getWebhook( request: operations.GetWebhookRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataWebhooksGetWebhook( this, @@ -80,7 +80,7 @@ export class Webhooks extends ClientSDK { */ async deactivateWebhook( request: operations.DeactivateWebhookRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataWebhooksDeactivateWebhook( this, @@ -97,7 +97,7 @@ export class Webhooks extends ClientSDK { */ async updateWebhook( request: operations.UpdateWebhookRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataWebhooksUpdateWebhook( this, @@ -113,7 +113,7 @@ export class Webhooks extends ClientSDK { * Generates a new shared secret. */ async generateSharedSecret( - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataWebhooksGenerateSharedSecret( this, @@ -128,7 +128,7 @@ export class Webhooks extends ClientSDK { * Get a previously generated shared secret. */ async getSharedSecret( - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataWebhooksGetSharedSecret( this, @@ -144,7 +144,7 @@ export class Webhooks extends ClientSDK { */ async getAddressesFromWebhook( request: operations.GetAddressesFromWebhookRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise< PageIterator > { @@ -163,7 +163,7 @@ export class Webhooks extends ClientSDK { */ async removeAddressesFromWebhook( request: operations.RemoveAddressesFromWebhookRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataWebhooksRemoveAddressesFromWebhook( this, @@ -180,7 +180,7 @@ export class Webhooks extends ClientSDK { */ async addAddressesToWebhook( request: operations.AddAddressesToWebhookRequest, - options?: RequestOptions & { serverURL?: string }, + options?: RequestOptions, ): Promise { return unwrapAsync(dataWebhooksAddAddressesToWebhook( this,