From b8c86cde4392e19f29dab75c4fd0af5429a6c6bf Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 3 Oct 2024 00:23:05 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.406.0 --- .speakeasy/gen.lock | 12 ++-- .speakeasy/gen.yaml | 3 +- .speakeasy/workflow.lock | 12 ++-- README.md | 23 ++++++-- RELEASES.md | 12 +++- docs/models/components/blockchainid.md | 2 +- docs/models/components/blockchainids.md | 2 +- .../chainaddresschainidmaplistresponse.md | 2 +- .../createevmtransactionexportrequest.md | 6 +- ...eprimarynetworktransactionexportrequest.md | 6 +- docs/models/components/globalparamnetwork.md | 2 +- docs/models/components/includechains.md | 2 +- .../listpchaintransactionsresponse.md | 2 +- .../listprimarynetworkblocksresponse.md | 2 +- .../listxchaintransactionsresponse.md | 2 +- .../components/listxchainverticesresponse.md | 2 +- docs/models/components/network.md | 2 +- docs/models/components/primarynetwork.md | 4 +- docs/models/components/xchainid.md | 2 +- .../getbalancesbyaddressesresponsebody.md | 2 +- .../operations/getvertexbyheightresponse.md | 2 +- ...imarynetworkstakingtransactionsresponse.md | 2 +- .../listassettransactionsresponse.md | 2 +- .../listlatestprimarynetworkblocksresponse.md | 2 +- ...latestprimarynetworktransactionsrequest.md | 2 +- ...atestprimarynetworktransactionsresponse.md | 2 +- .../listlatestxchainverticesresponse.md | 2 +- .../posttransactionexportjobrequestbody.md | 4 -- docs/sdks/avacloudsdkbalances/README.md | 24 ++++---- docs/sdks/avacloudsdkblocks/README.md | 9 ++- docs/sdks/avacloudsdkchains/README.md | 9 ++- docs/sdks/avacloudsdkhealthcheck/README.md | 4 +- docs/sdks/avacloudsdkmetrics/README.md | 19 +++--- docs/sdks/avacloudsdktransactions/README.md | 59 ++++++++----------- docs/sdks/balances/README.md | 4 +- docs/sdks/blocks/README.md | 14 ++--- docs/sdks/chains/README.md | 9 ++- docs/sdks/contracts/README.md | 4 +- docs/sdks/healthcheck/README.md | 4 +- docs/sdks/lookingglass/README.md | 24 ++++---- docs/sdks/nfts/README.md | 14 ++--- docs/sdks/operations/README.md | 9 ++- docs/sdks/primarynetwork/README.md | 44 ++++++-------- docs/sdks/rewards/README.md | 9 ++- docs/sdks/teleporter/README.md | 14 ++--- docs/sdks/transactions/README.md | 19 +++--- docs/sdks/usagemetrics/README.md | 9 ++- docs/sdks/utxos/README.md | 4 +- docs/sdks/vertices/README.md | 14 ++--- docs/sdks/webhooks/README.md | 49 +++++++-------- package-lock.json | 4 +- package.json | 2 +- src/funcs/dataEvmBalancesGetNativeBalance.ts | 4 +- .../dataEvmBalancesListCollectibleBalances.ts | 6 +- .../dataEvmBalancesListErc1155Balances.ts | 6 +- src/funcs/dataEvmBalancesListErc20Balances.ts | 6 +- .../dataEvmBalancesListErc721Balances.ts | 6 +- src/funcs/dataEvmBlocksGetBlock.ts | 4 +- src/funcs/dataEvmBlocksGetLatestBlocks.ts | 6 +- src/funcs/dataEvmChainsGetChainInfo.ts | 4 +- src/funcs/dataEvmChainsSupportedChains.ts | 4 +- .../dataEvmContractsGetContractMetadata.ts | 4 +- ...EvmTransactionsGetDeploymentTransaction.ts | 4 +- .../dataEvmTransactionsGetTransaction.ts | 4 +- ...aEvmTransactionsGetTransactionsForBlock.ts | 4 +- ...aEvmTransactionsListContractDeployments.ts | 6 +- ...aEvmTransactionsListErc1155Transactions.ts | 6 +- ...ataEvmTransactionsListErc20Transactions.ts | 6 +- ...taEvmTransactionsListErc721Transactions.ts | 6 +- ...EvmTransactionsListInternalTransactions.ts | 6 +- ...taEvmTransactionsListLatestTransactions.ts | 6 +- ...taEvmTransactionsListNativeTransactions.ts | 6 +- .../dataEvmTransactionsListTransactions.ts | 6 +- src/funcs/dataEvmTransactionsListTransfers.ts | 6 +- src/funcs/dataNftsGetTokenDetails.ts | 4 +- src/funcs/dataNftsListTokens.ts | 6 +- src/funcs/dataNftsReindexNft.ts | 4 +- src/funcs/dataOperationsGetOperationResult.ts | 4 +- .../dataOperationsPostTransactionExportJob.ts | 4 +- ...ryNetworkBalancesGetBalancesByAddresses.ts | 4 +- .../dataPrimaryNetworkBlocksGetBlockById.ts | 4 +- ...orkBlocksListLatestPrimaryNetworkBlocks.ts | 6 +- ...kBlocksListPrimaryNetworkBlocksByNodeId.ts | 6 +- .../dataPrimaryNetworkGetAssetDetails.ts | 4 +- ...taPrimaryNetworkGetChainIdsForAddresses.ts | 4 +- .../dataPrimaryNetworkGetNetworkDetails.ts | 4 +- ...PrimaryNetworkGetSingleValidatorDetails.ts | 6 +- src/funcs/dataPrimaryNetworkGetSubnetById.ts | 4 +- .../dataPrimaryNetworkListBlockchains.ts | 6 +- src/funcs/dataPrimaryNetworkListDelegators.ts | 6 +- src/funcs/dataPrimaryNetworkListSubnets.ts | 6 +- src/funcs/dataPrimaryNetworkListValidators.ts | 6 +- ...ardsListHistoricalPrimaryNetworkRewards.ts | 6 +- ...RewardsListPendingPrimaryNetworkRewards.ts | 6 +- ...taPrimaryNetworkTransactionsGetTxByHash.ts | 4 +- ...ActivePrimaryNetworkStakingTransactions.ts | 6 +- ...etworkTransactionsListAssetTransactions.ts | 6 +- ...onsListLatestPrimaryNetworkTransactions.ts | 6 +- ...aPrimaryNetworkUtxosGetUtxosByAddresses.ts | 6 +- ...taPrimaryNetworkVerticesGetVertexByHash.ts | 4 +- ...PrimaryNetworkVerticesGetVertexByHeight.ts | 6 +- ...NetworkVerticesListLatestXChainVertices.ts | 6 +- .../dataTeleporterGetTeleporterMessage.ts | 4 +- .../dataTeleporterListTeleporterMessages.ts | 6 +- ...leporterListTeleporterMessagesByAddress.ts | 4 +- src/funcs/dataUsageMetricsGetApiLogs.ts | 6 +- .../dataUsageMetricsGetApiUsageMetrics.ts | 4 +- .../dataWebhooksAddAddressesToWebhook.ts | 4 +- src/funcs/dataWebhooksCreateWebhook.ts | 4 +- src/funcs/dataWebhooksDeactivateWebhook.ts | 4 +- .../dataWebhooksGetAddressesFromWebhook.ts | 6 +- src/funcs/dataWebhooksGetWebhook.ts | 4 +- src/funcs/dataWebhooksListWebhooks.ts | 6 +- .../dataWebhooksRemoveAddressesFromWebhook.ts | 4 +- src/funcs/dataWebhooksUpdateWebhook.ts | 4 +- .../metricsChainMetricsGetEvmChainMetrics.ts | 6 +- ...nMetricsGetEvmChainRollingWindowMetrics.ts | 4 +- .../metricsChainMetricsGetStakingMetrics.ts | 6 +- ...ChainMetricsGetTeleporterMetricsByChain.ts | 4 +- src/funcs/metricsEvmChainsGetChain.ts | 4 +- src/funcs/metricsEvmChainsListChains.ts | 6 +- .../metricsLookingGlassCompositeQuery.ts | 6 +- ...okingGlassGetAddressesByBalanceOverTime.ts | 6 +- ...csLookingGlassGetAddressesByBtcbBridged.ts | 6 +- ...kingGlassGetNftHoldersByContractAddress.ts | 6 +- ...icsLookingGlassGetValidatorsByDateRange.ts | 6 +- src/lib/config.ts | 6 +- src/models/components/blockchainid.ts | 4 ++ src/models/components/blockchainids.ts | 4 ++ .../createevmtransactionexportrequest.ts | 16 ++--- ...eprimarynetworktransactionexportrequest.ts | 16 ++--- src/models/components/globalparamnetwork.ts | 1 + src/models/components/network.ts | 1 + src/models/components/primarynetwork.ts | 1 + .../components/primarynetworkoptions.ts | 4 ++ src/models/components/xchainid.ts | 2 + .../listlatestprimarynetworktransactions.ts | 8 +-- 137 files changed, 382 insertions(+), 555 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 91bce336..229d4d30 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: 4eba30cda024caf8d26a77769245c028 + docChecksum: 8c4d190a1bb4c0404c840c648989cfcf docVersion: Beta - speakeasyVersion: 1.404.5 - generationVersion: 2.426.2 - releaseVersion: 0.6.0 - configChecksum: f5c0c3a7211079b363c1b44088b13d00 + speakeasyVersion: 1.406.0 + generationVersion: 2.429.0 + releaseVersion: 0.6.1 + configChecksum: e7a878f44183448a7a63a40cda87a099 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.0 + core: 3.18.2 defaultEnabledRetries: 0.1.0 deprecations: 2.81.1 devContainers: 2.90.0 diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index bfd54222..a3301af6 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -15,7 +15,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: false typescript: - version: 0.6.0 + version: 0.6.1 additionalDependencies: dependencies: json-canonicalize: ^1.0.6 @@ -29,6 +29,7 @@ typescript: clientServerStatusCodesAsErrors: true enumFormat: union flattenGlobalSecurity: true + flatteningOrder: body-first imports: option: openapi paths: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index c4901442..9be3aa4b 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.404.5 +speakeasyVersion: 1.406.0 sources: AvaCloudSDK-OAS: sourceNamespace: avacloud-sdk-oas - sourceRevisionDigest: sha256:c63b3800786d77cd253bce2817cf247bf93ee6d9ee636356583af9521e3719d4 - sourceBlobDigest: sha256:59c18541b6aa818777cea16543d1140770c4bb9413cca098045ec7cc7566f344 + sourceRevisionDigest: sha256:04a696b86fa5043a10de55c6898c9cfe0a57cd27b90950463820a24e8cf1375c + sourceBlobDigest: sha256:4785b6d15e8230d8b66dfaef1b9c7161937b6c9c694060c41fd5dcda2d7f5dc6 tags: - latest - main @@ -18,10 +18,10 @@ targets: avacloud-sdk: source: AvaCloudSDK-OAS sourceNamespace: avacloud-sdk-oas - sourceRevisionDigest: sha256:c63b3800786d77cd253bce2817cf247bf93ee6d9ee636356583af9521e3719d4 - sourceBlobDigest: sha256:59c18541b6aa818777cea16543d1140770c4bb9413cca098045ec7cc7566f344 + sourceRevisionDigest: sha256:04a696b86fa5043a10de55c6898c9cfe0a57cd27b90950463820a24e8cf1375c + sourceBlobDigest: sha256:4785b6d15e8230d8b66dfaef1b9c7161937b6c9c694060c41fd5dcda2d7f5dc6 codeSamplesNamespace: avacloud-sdk-ts-code-samples - codeSamplesRevisionDigest: sha256:cfab3496784f7f2ef80741f7d1233fc190d42f1fbb6358a5448bff40a787f542 + codeSamplesRevisionDigest: sha256:8715d9c2cf5a391a5abde9af053f4a08bc84a1df1cf85db3b976a10e91ab9f3a avalanche-sdk: source: AvalancheSDK-OAS sourceNamespace: avalanche-sdk-oas diff --git a/README.md b/README.md index 012c8745..81a93d49 100644 --- a/README.md +++ b/README.md @@ -496,9 +496,21 @@ run(); ## Error Handling -All SDK methods return a response object or throw an error. If Error objects are specified in your OpenAPI Spec, the SDK will throw the appropriate Error type. +All SDK methods return a response object or throw an error. By default, an API error will throw a `errors.SDKError`. -| Error Object | Status Code | Content Type | +If a HTTP request fails, an operation my also throw an error from the `models/errors/httpclienterrors.ts` module: + +| HTTP Client Error | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | +| RequestAbortedError | HTTP request was aborted by the client | +| RequestTimeoutError | HTTP request timed out due to an AbortSignal signal | +| ConnectionError | HTTP client was unable to make a request to a server | +| InvalidRequestError | Any input used to create a request is invalid | +| UnexpectedClientError | Unrecognised or unexpected error | + +In addition, when custom error responses are specified for an operation, the SDK may throw their associated Error type. You can refer to respective *Errors* tables in SDK docs for more details on possible error types for each operation. For example, the `reindexNft` method may throw the following errors: + +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -508,10 +520,7 @@ All SDK methods return a response object or throw an error. If Error objects are | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - -Validation errors can also occur when either method arguments or data returned from the server do not match the expected format. The `SDKValidationError` that is thrown as a result will capture the raw value that failed validation in an attribute called `rawValue`. Additionally, a `pretty()` method is available on this error that can be used to log a nicely formatted string since validation errors can list many issues and the plain error string may be difficult read when debugging. - +| errors.SDKError | 4XX, 5XX | \*/\* | ```typescript import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; @@ -598,6 +607,8 @@ async function run() { run(); ``` + +Validation errors can also occur when either method arguments or data returned from the server do not match the expected format. The `SDKValidationError` that is thrown as a result will capture the raw value that failed validation in an attribute called `rawValue`. Additionally, a `pretty()` method is available on this error that can be used to log a nicely formatted string since validation errors can list many issues and the plain error string may be difficult read when debugging. diff --git a/RELEASES.md b/RELEASES.md index 61d0965c..4094940a 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -79,4 +79,14 @@ Based on: ### Generated - [typescript v0.6.0] . ### Releases -- [NPM v0.6.0] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.6.0 - . \ No newline at end of file +- [NPM v0.6.0] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.6.0 - . + +## 2024-10-03 00:21:42 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.406.0 (2.429.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.6.1] . +### Releases +- [NPM v0.6.1] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.6.1 - . \ No newline at end of file diff --git a/docs/models/components/blockchainid.md b/docs/models/components/blockchainid.md index 61268778..89f56a09 100644 --- a/docs/models/components/blockchainid.md +++ b/docs/models/components/blockchainid.md @@ -11,5 +11,5 @@ let value: BlockchainId = "p-chain"; ## Values ```typescript -"11111111111111111111111111111111LpoYY" | "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM" | "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm" | "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5" | "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp" | "p-chain" | "x-chain" | "c-chain" +"11111111111111111111111111111111LpoYY" | "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM" | "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm" | "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV" | "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5" | "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp" | "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu" | "p-chain" | "x-chain" | "c-chain" ``` \ No newline at end of file diff --git a/docs/models/components/blockchainids.md b/docs/models/components/blockchainids.md index bed9b870..e1165fea 100644 --- a/docs/models/components/blockchainids.md +++ b/docs/models/components/blockchainids.md @@ -11,5 +11,5 @@ let value: BlockchainIds = "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5"; ## Values ```typescript -"11111111111111111111111111111111LpoYY" | "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM" | "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm" | "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5" | "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp" +"11111111111111111111111111111111LpoYY" | "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM" | "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm" | "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV" | "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5" | "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp" | "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu" ``` \ No newline at end of file diff --git a/docs/models/components/chainaddresschainidmaplistresponse.md b/docs/models/components/chainaddresschainidmaplistresponse.md index d6912848..acfef83c 100644 --- a/docs/models/components/chainaddresschainidmaplistresponse.md +++ b/docs/models/components/chainaddresschainidmaplistresponse.md @@ -10,7 +10,7 @@ let value: ChainAddressChainIdMapListResponse = { { address: "40652 Botsford Neck", blockchainIds: [ - "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp", + "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu", ], }, ], diff --git a/docs/models/components/createevmtransactionexportrequest.md b/docs/models/components/createevmtransactionexportrequest.md index 85311831..0080bdfa 100644 --- a/docs/models/components/createevmtransactionexportrequest.md +++ b/docs/models/components/createevmtransactionexportrequest.md @@ -9,8 +9,6 @@ let value: CreateEvmTransactionExportRequest = { type: "TRANSACTION_EXPORT_EVM", firstDate: "2023-05-01", lastDate: "2023-05-02", - startDate: "2023-05-01", - endDate: "2023-05-02", options: { addresses: [ "", @@ -29,6 +27,6 @@ let value: CreateEvmTransactionExportRequest = { | `type` | [components.EVMOperationType](../../models/components/evmoperationtype.md) | :heavy_check_mark: | N/A | | | `firstDate` | *string* | :heavy_minus_sign: | N/A | 2023-05-01 | | `lastDate` | *string* | :heavy_minus_sign: | N/A | 2023-05-02 | -| ~~`startDate`~~ | *string* | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | 2023-05-01 | -| ~~`endDate`~~ | *string* | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | 2023-05-02 | +| ~~`startDate`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | 2023-05-01 | +| ~~`endDate`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | 2023-05-02 | | `options` | [components.EvmNetworkOptions](../../models/components/evmnetworkoptions.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/components/createprimarynetworktransactionexportrequest.md b/docs/models/components/createprimarynetworktransactionexportrequest.md index 226c00b6..bbde5058 100644 --- a/docs/models/components/createprimarynetworktransactionexportrequest.md +++ b/docs/models/components/createprimarynetworktransactionexportrequest.md @@ -9,8 +9,6 @@ let value: CreatePrimaryNetworkTransactionExportRequest = { type: "TRANSACTION_EXPORT_PRIMARY_NETWORK_STAKING", firstDate: "2023-05-01", lastDate: "2023-05-02", - startDate: "2023-05-01", - endDate: "2023-05-02", options: { includeChains: [ "p-chain", @@ -26,6 +24,6 @@ let value: CreatePrimaryNetworkTransactionExportRequest = { | `type` | [components.PrimaryNetworkOperationType](../../models/components/primarynetworkoperationtype.md) | :heavy_check_mark: | N/A | | | `firstDate` | *string* | :heavy_minus_sign: | N/A | 2023-05-01 | | `lastDate` | *string* | :heavy_minus_sign: | N/A | 2023-05-02 | -| ~~`startDate`~~ | *string* | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | 2023-05-01 | -| ~~`endDate`~~ | *string* | :heavy_check_mark: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | 2023-05-02 | +| ~~`startDate`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | 2023-05-01 | +| ~~`endDate`~~ | *string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | 2023-05-02 | | `options` | [components.PrimaryNetworkOptions](../../models/components/primarynetworkoptions.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/components/globalparamnetwork.md b/docs/models/components/globalparamnetwork.md index 8b82bec9..0a9ecd67 100644 --- a/docs/models/components/globalparamnetwork.md +++ b/docs/models/components/globalparamnetwork.md @@ -11,5 +11,5 @@ let value: GlobalParamNetwork = "mainnet"; ## Values ```typescript -"mainnet" | "fuji" | "testnet" +"mainnet" | "fuji" | "testnet" | "devnet" ``` \ No newline at end of file diff --git a/docs/models/components/includechains.md b/docs/models/components/includechains.md index 6fd81f0e..823995f0 100644 --- a/docs/models/components/includechains.md +++ b/docs/models/components/includechains.md @@ -11,5 +11,5 @@ let value: IncludeChains = "p-chain"; ## Values ```typescript -"11111111111111111111111111111111LpoYY" | "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM" | "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm" | "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5" | "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp" | "p-chain" | "x-chain" | "c-chain" +"11111111111111111111111111111111LpoYY" | "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM" | "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm" | "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV" | "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5" | "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp" | "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu" | "p-chain" | "x-chain" | "c-chain" ``` \ No newline at end of file diff --git a/docs/models/components/listpchaintransactionsresponse.md b/docs/models/components/listpchaintransactionsresponse.md index 19c201f3..e3598641 100644 --- a/docs/models/components/listpchaintransactionsresponse.md +++ b/docs/models/components/listpchaintransactionsresponse.md @@ -112,7 +112,7 @@ let value: ListPChainTransactionsResponse = { ], chainInfo: { chainName: "x-chain", - network: "mainnet", + network: "fuji", }, }; ``` diff --git a/docs/models/components/listprimarynetworkblocksresponse.md b/docs/models/components/listprimarynetworkblocksresponse.md index efbe5f43..3728e762 100644 --- a/docs/models/components/listprimarynetworkblocksresponse.md +++ b/docs/models/components/listprimarynetworkblocksresponse.md @@ -22,7 +22,7 @@ let value: ListPrimaryNetworkBlocksResponse = { ], chainInfo: { chainName: "p-chain", - network: "mainnet", + network: "fuji", }, }; ``` diff --git a/docs/models/components/listxchaintransactionsresponse.md b/docs/models/components/listxchaintransactionsresponse.md index 9a14fa9f..7dfebc05 100644 --- a/docs/models/components/listxchaintransactionsresponse.md +++ b/docs/models/components/listxchaintransactionsresponse.md @@ -120,7 +120,7 @@ let value: ListXChainTransactionsResponse = { ], chainInfo: { chainName: "c-chain", - network: "fuji", + network: "devnet", }, }; ``` diff --git a/docs/models/components/listxchainverticesresponse.md b/docs/models/components/listxchainverticesresponse.md index ecd4132e..d3698afd 100644 --- a/docs/models/components/listxchainverticesresponse.md +++ b/docs/models/components/listxchainverticesresponse.md @@ -24,7 +24,7 @@ let value: ListXChainVerticesResponse = { ], chainInfo: { chainName: "x-chain", - network: "fuji", + network: "devnet", }, }; ``` diff --git a/docs/models/components/network.md b/docs/models/components/network.md index e18918ac..a2772210 100644 --- a/docs/models/components/network.md +++ b/docs/models/components/network.md @@ -11,5 +11,5 @@ let value: Network = "mainnet"; ## Values ```typescript -"mainnet" | "fuji" | "testnet" +"mainnet" | "fuji" | "testnet" | "devnet" ``` \ No newline at end of file diff --git a/docs/models/components/primarynetwork.md b/docs/models/components/primarynetwork.md index c1fc4f7e..15a7e0b5 100644 --- a/docs/models/components/primarynetwork.md +++ b/docs/models/components/primarynetwork.md @@ -5,11 +5,11 @@ ```typescript import { PrimaryNetwork } from "@avalabs/avacloud-sdk/models/components"; -let value: PrimaryNetwork = "fuji"; +let value: PrimaryNetwork = "devnet"; ``` ## Values ```typescript -"mainnet" | "fuji" +"mainnet" | "fuji" | "devnet" ``` \ No newline at end of file diff --git a/docs/models/components/xchainid.md b/docs/models/components/xchainid.md index 8481fdce..ebea5640 100644 --- a/docs/models/components/xchainid.md +++ b/docs/models/components/xchainid.md @@ -11,5 +11,5 @@ let value: XChainId = "x-chain"; ## Values ```typescript -"2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM" | "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm" | "x-chain" +"2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM" | "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm" | "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV" | "x-chain" ``` \ No newline at end of file diff --git a/docs/models/operations/getbalancesbyaddressesresponsebody.md b/docs/models/operations/getbalancesbyaddressesresponsebody.md index fd56f48f..2082d3b2 100644 --- a/docs/models/operations/getbalancesbyaddressesresponsebody.md +++ b/docs/models/operations/getbalancesbyaddressesresponsebody.md @@ -105,7 +105,7 @@ const value: components.ListPChainBalancesResponse = { }, chainInfo: { chainName: "p-chain", - network: "fuji", + network: "devnet", }, }; ``` diff --git a/docs/models/operations/getvertexbyheightresponse.md b/docs/models/operations/getvertexbyheightresponse.md index 384565ea..14f3a9a1 100644 --- a/docs/models/operations/getvertexbyheightresponse.md +++ b/docs/models/operations/getvertexbyheightresponse.md @@ -25,7 +25,7 @@ let value: GetVertexByHeightResponse = { ], chainInfo: { chainName: "c-chain", - network: "fuji", + network: "devnet", }, }, }; diff --git a/docs/models/operations/listactiveprimarynetworkstakingtransactionsresponse.md b/docs/models/operations/listactiveprimarynetworkstakingtransactionsresponse.md index 735a2e12..3f9294aa 100644 --- a/docs/models/operations/listactiveprimarynetworkstakingtransactionsresponse.md +++ b/docs/models/operations/listactiveprimarynetworkstakingtransactionsresponse.md @@ -115,7 +115,7 @@ let value: ListActivePrimaryNetworkStakingTransactionsResponse = { ], chainInfo: { chainName: "c-chain", - network: "mainnet", + network: "fuji", }, }, }; diff --git a/docs/models/operations/listassettransactionsresponse.md b/docs/models/operations/listassettransactionsresponse.md index 5ae4d540..5052e902 100644 --- a/docs/models/operations/listassettransactionsresponse.md +++ b/docs/models/operations/listassettransactionsresponse.md @@ -123,7 +123,7 @@ let value: ListAssetTransactionsResponse = { ], chainInfo: { chainName: "c-chain", - network: "fuji", + network: "devnet", }, }, }; diff --git a/docs/models/operations/listlatestprimarynetworkblocksresponse.md b/docs/models/operations/listlatestprimarynetworkblocksresponse.md index 959d519f..5dcd4126 100644 --- a/docs/models/operations/listlatestprimarynetworkblocksresponse.md +++ b/docs/models/operations/listlatestprimarynetworkblocksresponse.md @@ -23,7 +23,7 @@ let value: ListLatestPrimaryNetworkBlocksResponse = { ], chainInfo: { chainName: "x-chain", - network: "mainnet", + network: "fuji", }, }, }; diff --git a/docs/models/operations/listlatestprimarynetworktransactionsrequest.md b/docs/models/operations/listlatestprimarynetworktransactionsrequest.md index d03f76b7..b58c8fcd 100644 --- a/docs/models/operations/listlatestprimarynetworktransactionsrequest.md +++ b/docs/models/operations/listlatestprimarynetworktransactionsrequest.md @@ -22,7 +22,7 @@ let value: ListLatestPrimaryNetworkTransactionsRequest = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `addresses` | *string* | :heavy_check_mark: | A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". Also accepts EVM formatted addresses starting with "0x" for C-Chain-related atomic transaction lookups. | avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg | +| `addresses` | *string* | :heavy_minus_sign: | A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". Also accepts EVM formatted addresses starting with "0x" for C-Chain-related atomic transaction lookups. | avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg | | `txTypes` | [components.PrimaryNetworkTxType](../../models/components/primarynetworktxtype.md)[] | :heavy_minus_sign: | Query param for filtering items based on transaction types. | [
"AddValidatorTx"
] | | `startTimestamp` | *number* | :heavy_minus_sign: | Query param for retrieving items after a specific timestamp. | 1689541049 | | `endTimestamp` | *number* | :heavy_minus_sign: | Query param for retrieving items before a specific timestamp. | 1689800249 | diff --git a/docs/models/operations/listlatestprimarynetworktransactionsresponse.md b/docs/models/operations/listlatestprimarynetworktransactionsresponse.md index eea79a40..f5dda0fb 100644 --- a/docs/models/operations/listlatestprimarynetworktransactionsresponse.md +++ b/docs/models/operations/listlatestprimarynetworktransactionsresponse.md @@ -123,7 +123,7 @@ let value: ListLatestPrimaryNetworkTransactionsResponse = { ], chainInfo: { chainName: "p-chain", - network: "fuji", + network: "devnet", }, }, }; diff --git a/docs/models/operations/listlatestxchainverticesresponse.md b/docs/models/operations/listlatestxchainverticesresponse.md index 13f517f6..56d52b5a 100644 --- a/docs/models/operations/listlatestxchainverticesresponse.md +++ b/docs/models/operations/listlatestxchainverticesresponse.md @@ -25,7 +25,7 @@ let value: ListLatestXChainVerticesResponse = { ], chainInfo: { chainName: "c-chain", - network: "fuji", + network: "devnet", }, }, }; diff --git a/docs/models/operations/posttransactionexportjobrequestbody.md b/docs/models/operations/posttransactionexportjobrequestbody.md index 6d664063..0b65f7af 100644 --- a/docs/models/operations/posttransactionexportjobrequestbody.md +++ b/docs/models/operations/posttransactionexportjobrequestbody.md @@ -10,8 +10,6 @@ const value: components.CreateEvmTransactionExportRequest = { type: "TRANSACTION_EXPORT_EVM", firstDate: "2023-05-01", lastDate: "2023-05-02", - startDate: "2023-05-01", - endDate: "2023-05-02", options: { addresses: [ "", @@ -30,8 +28,6 @@ const value: components.CreatePrimaryNetworkTransactionExportRequest = { type: "TRANSACTION_EXPORT_PRIMARY_NETWORK", firstDate: "2023-05-01", lastDate: "2023-05-02", - startDate: "2023-05-01", - endDate: "2023-05-02", options: { includeChains: [ "p-chain", diff --git a/docs/sdks/avacloudsdkbalances/README.md b/docs/sdks/avacloudsdkbalances/README.md index 2292ea62..33162c13 100644 --- a/docs/sdks/avacloudsdkbalances/README.md +++ b/docs/sdks/avacloudsdkbalances/README.md @@ -94,7 +94,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -104,8 +104,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listErc20Balances @@ -200,7 +199,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -210,8 +209,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listErc721Balances @@ -300,7 +298,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -310,8 +308,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listErc1155Balances @@ -404,7 +401,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -414,8 +411,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listCollectibleBalances @@ -504,7 +500,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -514,4 +510,4 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/avacloudsdkblocks/README.md b/docs/sdks/avacloudsdkblocks/README.md index f7d5b6a8..3d728c35 100644 --- a/docs/sdks/avacloudsdkblocks/README.md +++ b/docs/sdks/avacloudsdkblocks/README.md @@ -89,7 +89,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -99,8 +99,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getBlock @@ -179,7 +178,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -189,4 +188,4 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/avacloudsdkchains/README.md b/docs/sdks/avacloudsdkchains/README.md index 893d1c1d..060fc18d 100644 --- a/docs/sdks/avacloudsdkchains/README.md +++ b/docs/sdks/avacloudsdkchains/README.md @@ -87,7 +87,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -97,8 +97,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getChainInfo @@ -173,7 +172,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -183,4 +182,4 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/avacloudsdkhealthcheck/README.md b/docs/sdks/avacloudsdkhealthcheck/README.md index 98fb6b4f..63a131ce 100644 --- a/docs/sdks/avacloudsdkhealthcheck/README.md +++ b/docs/sdks/avacloudsdkhealthcheck/README.md @@ -79,7 +79,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------------------- | ---------------------------------- | ---------------------------------- | | errors.DataHealthCheckResponseBody | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/avacloudsdkmetrics/README.md b/docs/sdks/avacloudsdkmetrics/README.md index da828036..7a43dcc2 100644 --- a/docs/sdks/avacloudsdkmetrics/README.md +++ b/docs/sdks/avacloudsdkmetrics/README.md @@ -99,7 +99,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -109,8 +109,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getTeleporterMetricsByChain @@ -189,7 +188,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -199,8 +198,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getEvmChainRollingWindowMetrics @@ -279,7 +277,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -289,8 +287,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getStakingMetrics @@ -381,7 +378,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -391,4 +388,4 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/avacloudsdktransactions/README.md b/docs/sdks/avacloudsdktransactions/README.md index 6cc00524..d40fa7f7 100644 --- a/docs/sdks/avacloudsdktransactions/README.md +++ b/docs/sdks/avacloudsdktransactions/README.md @@ -97,7 +97,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -107,8 +107,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listContractDeployments @@ -193,7 +192,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -203,8 +202,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listTransfers @@ -293,7 +291,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -303,8 +301,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listTransactions @@ -397,7 +394,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -407,8 +404,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listNativeTransactions @@ -497,7 +493,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -507,8 +503,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listErc20Transactions @@ -597,7 +592,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -607,8 +602,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listErc721Transactions @@ -697,7 +691,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -707,8 +701,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listErc1155Transactions @@ -797,7 +790,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -807,8 +800,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listInternalTransactions @@ -899,7 +891,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -909,8 +901,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getTransaction @@ -989,7 +980,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -999,8 +990,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getTransactionsForBlock @@ -1079,7 +1069,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -1089,8 +1079,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listLatestTransactions @@ -1173,7 +1162,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -1183,4 +1172,4 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/balances/README.md b/docs/sdks/balances/README.md index f92afa00..4cbf54c5 100644 --- a/docs/sdks/balances/README.md +++ b/docs/sdks/balances/README.md @@ -90,7 +90,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -100,4 +100,4 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/blocks/README.md b/docs/sdks/blocks/README.md index 9c9511f3..40f5660f 100644 --- a/docs/sdks/blocks/README.md +++ b/docs/sdks/blocks/README.md @@ -88,7 +88,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -98,8 +98,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listPrimaryNetworkBlocksByNodeId @@ -186,7 +185,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -196,8 +195,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listLatestPrimaryNetworkBlocks @@ -282,7 +280,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -292,4 +290,4 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/chains/README.md b/docs/sdks/chains/README.md index 777f85dc..d2d14b01 100644 --- a/docs/sdks/chains/README.md +++ b/docs/sdks/chains/README.md @@ -89,7 +89,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -99,8 +99,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getChain @@ -175,7 +174,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -185,4 +184,4 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/contracts/README.md b/docs/sdks/contracts/README.md index a46b3e11..d84fd386 100644 --- a/docs/sdks/contracts/README.md +++ b/docs/sdks/contracts/README.md @@ -84,7 +84,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -94,4 +94,4 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/healthcheck/README.md b/docs/sdks/healthcheck/README.md index d4cfbb51..ef7a8cb1 100644 --- a/docs/sdks/healthcheck/README.md +++ b/docs/sdks/healthcheck/README.md @@ -79,7 +79,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ------------------------------------- | ------------------------------------- | ------------------------------------- | | errors.MetricsHealthCheckResponseBody | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/lookingglass/README.md b/docs/sdks/lookingglass/README.md index 277f1499..85606131 100644 --- a/docs/sdks/lookingglass/README.md +++ b/docs/sdks/lookingglass/README.md @@ -94,7 +94,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -104,8 +104,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getAddressesByBalanceOverTime @@ -196,7 +195,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -206,8 +205,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getAddressesByBtcbBridged @@ -292,7 +290,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -302,8 +300,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getValidatorsByDateRange @@ -394,7 +391,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -404,8 +401,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## compositeQuery @@ -510,7 +506,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -520,4 +516,4 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/nfts/README.md b/docs/sdks/nfts/README.md index 43aac792..7427a137 100644 --- a/docs/sdks/nfts/README.md +++ b/docs/sdks/nfts/README.md @@ -86,7 +86,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -96,8 +96,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listTokens @@ -182,7 +181,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -192,8 +191,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getTokenDetails @@ -274,7 +272,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -284,4 +282,4 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/operations/README.md b/docs/sdks/operations/README.md index a3b83765..bd765ba1 100644 --- a/docs/sdks/operations/README.md +++ b/docs/sdks/operations/README.md @@ -85,7 +85,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -95,8 +95,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## postTransactionExportJob @@ -195,7 +194,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -205,4 +204,4 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/primarynetwork/README.md b/docs/sdks/primarynetwork/README.md index 74801302..d5310cf0 100644 --- a/docs/sdks/primarynetwork/README.md +++ b/docs/sdks/primarynetwork/README.md @@ -94,7 +94,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -104,8 +104,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getChainIdsForAddresses @@ -184,7 +183,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -194,8 +193,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getNetworkDetails @@ -270,7 +268,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -280,8 +278,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listBlockchains @@ -366,7 +363,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -376,8 +373,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listSubnets @@ -462,7 +458,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -472,8 +468,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getSubnetById @@ -552,7 +547,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -562,8 +557,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listValidators @@ -670,7 +664,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -680,8 +674,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getSingleValidatorDetails @@ -770,7 +763,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -780,8 +773,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listDelegators @@ -872,7 +864,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -882,4 +874,4 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/rewards/README.md b/docs/sdks/rewards/README.md index 4d548d1a..32275e44 100644 --- a/docs/sdks/rewards/README.md +++ b/docs/sdks/rewards/README.md @@ -95,7 +95,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -105,8 +105,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listHistoricalPrimaryNetworkRewards @@ -197,7 +196,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -207,4 +206,4 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/teleporter/README.md b/docs/sdks/teleporter/README.md index 940ecc1a..e872a052 100644 --- a/docs/sdks/teleporter/README.md +++ b/docs/sdks/teleporter/README.md @@ -86,7 +86,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -96,8 +96,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listTeleporterMessages @@ -190,7 +189,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -200,8 +199,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listTeleporterMessagesByAddress @@ -284,7 +282,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -294,4 +292,4 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/transactions/README.md b/docs/sdks/transactions/README.md index b9ca7c93..73118b07 100644 --- a/docs/sdks/transactions/README.md +++ b/docs/sdks/transactions/README.md @@ -89,7 +89,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -99,8 +99,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listLatestPrimaryNetworkTransactions @@ -203,7 +202,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -213,8 +212,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listActivePrimaryNetworkStakingTransactions @@ -313,7 +311,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -323,8 +321,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## listAssetTransactions @@ -421,7 +418,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -431,4 +428,4 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/usagemetrics/README.md b/docs/sdks/usagemetrics/README.md index 4054ecd2..45d2d970 100644 --- a/docs/sdks/usagemetrics/README.md +++ b/docs/sdks/usagemetrics/README.md @@ -91,7 +91,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -101,8 +101,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getApiLogs @@ -187,7 +186,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -197,4 +196,4 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/utxos/README.md b/docs/sdks/utxos/README.md index f2fa7882..b5fbee9d 100644 --- a/docs/sdks/utxos/README.md +++ b/docs/sdks/utxos/README.md @@ -94,7 +94,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -104,4 +104,4 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/vertices/README.md b/docs/sdks/vertices/README.md index ac0e171c..65c01988 100644 --- a/docs/sdks/vertices/README.md +++ b/docs/sdks/vertices/README.md @@ -92,7 +92,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -102,8 +102,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getVertexByHash @@ -184,7 +183,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -194,8 +193,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getVertexByHeight @@ -284,7 +282,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -294,4 +292,4 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/webhooks/README.md b/docs/sdks/webhooks/README.md index 24c8af99..167f2f86 100644 --- a/docs/sdks/webhooks/README.md +++ b/docs/sdks/webhooks/README.md @@ -99,7 +99,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -109,8 +109,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## createWebhook @@ -209,7 +208,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -219,8 +218,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getWebhook @@ -299,7 +297,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -309,8 +307,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## deactivateWebhook @@ -389,7 +386,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -399,8 +396,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## updateWebhook @@ -481,7 +477,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -491,8 +487,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## generateSharedSecret @@ -566,7 +561,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -576,8 +571,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getSharedSecret @@ -651,7 +645,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -661,8 +655,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## getAddressesFromWebhook @@ -747,7 +740,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -757,8 +750,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## removeAddressesFromWebhook @@ -847,7 +839,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -857,8 +849,7 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## addAddressesToWebhook @@ -947,7 +938,7 @@ run(); ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | -------------------------- | -------------------------- | -------------------------- | | errors.BadRequest | 400 | application/json | | errors.Unauthorized | 401 | application/json | @@ -957,4 +948,4 @@ run(); | errors.InternalServerError | 500 | application/json | | errors.BadGateway | 502 | application/json | | errors.ServiceUnavailable | 503 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 435f5416..663e07f9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@avalabs/avacloud-sdk", - "version": "0.6.0", + "version": "0.6.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@avalabs/avacloud-sdk", - "version": "0.6.0", + "version": "0.6.1", "license": "SEE LICENSE", "dependencies": { "json-canonicalize": "^1.0.6" diff --git a/package.json b/package.json index cecf1f34..67e44559 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@avalabs/avacloud-sdk", - "version": "0.6.0", + "version": "0.6.1", "author": "AvaCloud", "homepage": "https://developer.avacloud.io/avacloud-sdk/getting-started", "license": "SEE LICENSE", diff --git a/src/funcs/dataEvmBalancesGetNativeBalance.ts b/src/funcs/dataEvmBalancesGetNativeBalance.ts index 64e94a7d..bfeb9afd 100644 --- a/src/funcs/dataEvmBalancesGetNativeBalance.ts +++ b/src/funcs/dataEvmBalancesGetNativeBalance.ts @@ -56,10 +56,8 @@ export async function dataEvmBalancesGetNativeBalance( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetNativeBalanceRequest$outboundSchema.parse(value), "Input validation failed", ); diff --git a/src/funcs/dataEvmBalancesListCollectibleBalances.ts b/src/funcs/dataEvmBalancesListCollectibleBalances.ts index b06c6e14..8a65f460 100644 --- a/src/funcs/dataEvmBalancesListCollectibleBalances.ts +++ b/src/funcs/dataEvmBalancesListCollectibleBalances.ts @@ -64,10 +64,8 @@ export async function dataEvmBalancesListCollectibleBalances( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListCollectibleBalancesRequest$outboundSchema.parse(value), "Input validation failed", @@ -236,7 +234,7 @@ export async function dataEvmBalancesListCollectibleBalances( dataEvmBalancesListCollectibleBalances( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataEvmBalancesListErc1155Balances.ts b/src/funcs/dataEvmBalancesListErc1155Balances.ts index 9e4d9efe..c8fc158f 100644 --- a/src/funcs/dataEvmBalancesListErc1155Balances.ts +++ b/src/funcs/dataEvmBalancesListErc1155Balances.ts @@ -66,10 +66,8 @@ export async function dataEvmBalancesListErc1155Balances( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListErc1155BalancesRequest$outboundSchema.parse(value), "Input validation failed", @@ -239,7 +237,7 @@ export async function dataEvmBalancesListErc1155Balances( dataEvmBalancesListErc1155Balances( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataEvmBalancesListErc20Balances.ts b/src/funcs/dataEvmBalancesListErc20Balances.ts index e4d7e18a..a2c7347e 100644 --- a/src/funcs/dataEvmBalancesListErc20Balances.ts +++ b/src/funcs/dataEvmBalancesListErc20Balances.ts @@ -66,10 +66,8 @@ export async function dataEvmBalancesListErc20Balances( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListErc20BalancesRequest$outboundSchema.parse(value), "Input validation failed", ); @@ -240,7 +238,7 @@ export async function dataEvmBalancesListErc20Balances( dataEvmBalancesListErc20Balances( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataEvmBalancesListErc721Balances.ts b/src/funcs/dataEvmBalancesListErc721Balances.ts index 3109c631..17100710 100644 --- a/src/funcs/dataEvmBalancesListErc721Balances.ts +++ b/src/funcs/dataEvmBalancesListErc721Balances.ts @@ -64,10 +64,8 @@ export async function dataEvmBalancesListErc721Balances( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListErc721BalancesRequest$outboundSchema.parse(value), "Input validation failed", ); @@ -235,7 +233,7 @@ export async function dataEvmBalancesListErc721Balances( dataEvmBalancesListErc721Balances( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataEvmBlocksGetBlock.ts b/src/funcs/dataEvmBlocksGetBlock.ts index 20946357..813084dd 100644 --- a/src/funcs/dataEvmBlocksGetBlock.ts +++ b/src/funcs/dataEvmBlocksGetBlock.ts @@ -54,10 +54,8 @@ export async function dataEvmBlocksGetBlock( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetBlockRequest$outboundSchema.parse(value), "Input validation failed", ); diff --git a/src/funcs/dataEvmBlocksGetLatestBlocks.ts b/src/funcs/dataEvmBlocksGetLatestBlocks.ts index 8c6df1f8..4647f4df 100644 --- a/src/funcs/dataEvmBlocksGetLatestBlocks.ts +++ b/src/funcs/dataEvmBlocksGetLatestBlocks.ts @@ -62,10 +62,8 @@ export async function dataEvmBlocksGetLatestBlocks( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetLatestBlocksRequest$outboundSchema.parse(value), "Input validation failed", ); @@ -224,7 +222,7 @@ export async function dataEvmBlocksGetLatestBlocks( dataEvmBlocksGetLatestBlocks( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataEvmChainsGetChainInfo.ts b/src/funcs/dataEvmChainsGetChainInfo.ts index 1d87d088..a7f4cec6 100644 --- a/src/funcs/dataEvmChainsGetChainInfo.ts +++ b/src/funcs/dataEvmChainsGetChainInfo.ts @@ -54,10 +54,8 @@ export async function dataEvmChainsGetChainInfo( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetChainInfoRequest$outboundSchema.parse(value), "Input validation failed", ); diff --git a/src/funcs/dataEvmChainsSupportedChains.ts b/src/funcs/dataEvmChainsSupportedChains.ts index f6747d19..69baaa0c 100644 --- a/src/funcs/dataEvmChainsSupportedChains.ts +++ b/src/funcs/dataEvmChainsSupportedChains.ts @@ -54,10 +54,8 @@ export async function dataEvmChainsSupportedChains( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.SupportedChainsRequest$outboundSchema.parse(value), "Input validation failed", ); diff --git a/src/funcs/dataEvmContractsGetContractMetadata.ts b/src/funcs/dataEvmContractsGetContractMetadata.ts index bc63b24a..67a74567 100644 --- a/src/funcs/dataEvmContractsGetContractMetadata.ts +++ b/src/funcs/dataEvmContractsGetContractMetadata.ts @@ -53,10 +53,8 @@ export async function dataEvmContractsGetContractMetadata( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetContractMetadataRequest$outboundSchema.parse(value), "Input validation failed", diff --git a/src/funcs/dataEvmTransactionsGetDeploymentTransaction.ts b/src/funcs/dataEvmTransactionsGetDeploymentTransaction.ts index 31666526..665d95ea 100644 --- a/src/funcs/dataEvmTransactionsGetDeploymentTransaction.ts +++ b/src/funcs/dataEvmTransactionsGetDeploymentTransaction.ts @@ -54,10 +54,8 @@ export async function dataEvmTransactionsGetDeploymentTransaction( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetDeploymentTransactionRequest$outboundSchema.parse(value), "Input validation failed", diff --git a/src/funcs/dataEvmTransactionsGetTransaction.ts b/src/funcs/dataEvmTransactionsGetTransaction.ts index 41897ab8..cd8454c9 100644 --- a/src/funcs/dataEvmTransactionsGetTransaction.ts +++ b/src/funcs/dataEvmTransactionsGetTransaction.ts @@ -54,10 +54,8 @@ export async function dataEvmTransactionsGetTransaction( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetTransactionRequest$outboundSchema.parse(value), "Input validation failed", ); diff --git a/src/funcs/dataEvmTransactionsGetTransactionsForBlock.ts b/src/funcs/dataEvmTransactionsGetTransactionsForBlock.ts index 4c95ffa2..992b3424 100644 --- a/src/funcs/dataEvmTransactionsGetTransactionsForBlock.ts +++ b/src/funcs/dataEvmTransactionsGetTransactionsForBlock.ts @@ -54,10 +54,8 @@ export async function dataEvmTransactionsGetTransactionsForBlock( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetTransactionsForBlockRequest$outboundSchema.parse(value), "Input validation failed", diff --git a/src/funcs/dataEvmTransactionsListContractDeployments.ts b/src/funcs/dataEvmTransactionsListContractDeployments.ts index 55e3316a..643bc47d 100644 --- a/src/funcs/dataEvmTransactionsListContractDeployments.ts +++ b/src/funcs/dataEvmTransactionsListContractDeployments.ts @@ -62,10 +62,8 @@ export async function dataEvmTransactionsListContractDeployments( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListContractDeploymentsRequest$outboundSchema.parse(value), "Input validation failed", @@ -233,7 +231,7 @@ export async function dataEvmTransactionsListContractDeployments( dataEvmTransactionsListContractDeployments( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataEvmTransactionsListErc1155Transactions.ts b/src/funcs/dataEvmTransactionsListErc1155Transactions.ts index 0a068b55..0da01c1c 100644 --- a/src/funcs/dataEvmTransactionsListErc1155Transactions.ts +++ b/src/funcs/dataEvmTransactionsListErc1155Transactions.ts @@ -62,10 +62,8 @@ export async function dataEvmTransactionsListErc1155Transactions( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListErc1155TransactionsRequest$outboundSchema.parse(value), "Input validation failed", @@ -235,7 +233,7 @@ export async function dataEvmTransactionsListErc1155Transactions( dataEvmTransactionsListErc1155Transactions( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataEvmTransactionsListErc20Transactions.ts b/src/funcs/dataEvmTransactionsListErc20Transactions.ts index acf7ffce..9ce613f2 100644 --- a/src/funcs/dataEvmTransactionsListErc20Transactions.ts +++ b/src/funcs/dataEvmTransactionsListErc20Transactions.ts @@ -62,10 +62,8 @@ export async function dataEvmTransactionsListErc20Transactions( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListErc20TransactionsRequest$outboundSchema.parse(value), "Input validation failed", @@ -235,7 +233,7 @@ export async function dataEvmTransactionsListErc20Transactions( dataEvmTransactionsListErc20Transactions( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataEvmTransactionsListErc721Transactions.ts b/src/funcs/dataEvmTransactionsListErc721Transactions.ts index 5c1cd624..3a324ce4 100644 --- a/src/funcs/dataEvmTransactionsListErc721Transactions.ts +++ b/src/funcs/dataEvmTransactionsListErc721Transactions.ts @@ -62,10 +62,8 @@ export async function dataEvmTransactionsListErc721Transactions( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListErc721TransactionsRequest$outboundSchema.parse(value), "Input validation failed", @@ -235,7 +233,7 @@ export async function dataEvmTransactionsListErc721Transactions( dataEvmTransactionsListErc721Transactions( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataEvmTransactionsListInternalTransactions.ts b/src/funcs/dataEvmTransactionsListInternalTransactions.ts index 3f06f0f3..6c6ea688 100644 --- a/src/funcs/dataEvmTransactionsListInternalTransactions.ts +++ b/src/funcs/dataEvmTransactionsListInternalTransactions.ts @@ -64,10 +64,8 @@ export async function dataEvmTransactionsListInternalTransactions( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListInternalTransactionsRequest$outboundSchema.parse(value), "Input validation failed", @@ -237,7 +235,7 @@ export async function dataEvmTransactionsListInternalTransactions( dataEvmTransactionsListInternalTransactions( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataEvmTransactionsListLatestTransactions.ts b/src/funcs/dataEvmTransactionsListLatestTransactions.ts index 6d2e20c3..43819f17 100644 --- a/src/funcs/dataEvmTransactionsListLatestTransactions.ts +++ b/src/funcs/dataEvmTransactionsListLatestTransactions.ts @@ -62,10 +62,8 @@ export async function dataEvmTransactionsListLatestTransactions( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListLatestTransactionsRequest$outboundSchema.parse(value), "Input validation failed", @@ -228,7 +226,7 @@ export async function dataEvmTransactionsListLatestTransactions( dataEvmTransactionsListLatestTransactions( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataEvmTransactionsListNativeTransactions.ts b/src/funcs/dataEvmTransactionsListNativeTransactions.ts index eda0f317..e85ed54e 100644 --- a/src/funcs/dataEvmTransactionsListNativeTransactions.ts +++ b/src/funcs/dataEvmTransactionsListNativeTransactions.ts @@ -62,10 +62,8 @@ export async function dataEvmTransactionsListNativeTransactions( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListNativeTransactionsRequest$outboundSchema.parse(value), "Input validation failed", @@ -235,7 +233,7 @@ export async function dataEvmTransactionsListNativeTransactions( dataEvmTransactionsListNativeTransactions( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataEvmTransactionsListTransactions.ts b/src/funcs/dataEvmTransactionsListTransactions.ts index 694b05c2..f60d62d9 100644 --- a/src/funcs/dataEvmTransactionsListTransactions.ts +++ b/src/funcs/dataEvmTransactionsListTransactions.ts @@ -64,10 +64,8 @@ export async function dataEvmTransactionsListTransactions( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListTransactionsRequest$outboundSchema.parse(value), "Input validation failed", ); @@ -235,7 +233,7 @@ export async function dataEvmTransactionsListTransactions( dataEvmTransactionsListTransactions( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataEvmTransactionsListTransfers.ts b/src/funcs/dataEvmTransactionsListTransfers.ts index c1282abe..ed17ac7d 100644 --- a/src/funcs/dataEvmTransactionsListTransfers.ts +++ b/src/funcs/dataEvmTransactionsListTransfers.ts @@ -62,10 +62,8 @@ export async function dataEvmTransactionsListTransfers( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListTransfersRequest$outboundSchema.parse(value), "Input validation failed", ); @@ -232,7 +230,7 @@ export async function dataEvmTransactionsListTransfers( dataEvmTransactionsListTransfers( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataNftsGetTokenDetails.ts b/src/funcs/dataNftsGetTokenDetails.ts index 72ae7214..9a70803f 100644 --- a/src/funcs/dataNftsGetTokenDetails.ts +++ b/src/funcs/dataNftsGetTokenDetails.ts @@ -53,10 +53,8 @@ export async function dataNftsGetTokenDetails( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetTokenDetailsRequest$outboundSchema.parse(value), "Input validation failed", ); diff --git a/src/funcs/dataNftsListTokens.ts b/src/funcs/dataNftsListTokens.ts index da30bbc0..1e045c6b 100644 --- a/src/funcs/dataNftsListTokens.ts +++ b/src/funcs/dataNftsListTokens.ts @@ -62,10 +62,8 @@ export async function dataNftsListTokens( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListTokensRequest$outboundSchema.parse(value), "Input validation failed", ); @@ -228,7 +226,7 @@ export async function dataNftsListTokens( dataNftsListTokens( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataNftsReindexNft.ts b/src/funcs/dataNftsReindexNft.ts index 3b763655..54a938a6 100644 --- a/src/funcs/dataNftsReindexNft.ts +++ b/src/funcs/dataNftsReindexNft.ts @@ -54,10 +54,8 @@ export async function dataNftsReindexNft( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ReindexNftRequest$outboundSchema.parse(value), "Input validation failed", ); diff --git a/src/funcs/dataOperationsGetOperationResult.ts b/src/funcs/dataOperationsGetOperationResult.ts index db6dcda3..59100fbd 100644 --- a/src/funcs/dataOperationsGetOperationResult.ts +++ b/src/funcs/dataOperationsGetOperationResult.ts @@ -54,10 +54,8 @@ export async function dataOperationsGetOperationResult( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetOperationResultRequest$outboundSchema.parse(value), "Input validation failed", ); diff --git a/src/funcs/dataOperationsPostTransactionExportJob.ts b/src/funcs/dataOperationsPostTransactionExportJob.ts index 4e87fbe8..9f62f146 100644 --- a/src/funcs/dataOperationsPostTransactionExportJob.ts +++ b/src/funcs/dataOperationsPostTransactionExportJob.ts @@ -56,10 +56,8 @@ export async function dataOperationsPostTransactionExportJob( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.PostTransactionExportJobRequestBody$outboundSchema.parse( value, diff --git a/src/funcs/dataPrimaryNetworkBalancesGetBalancesByAddresses.ts b/src/funcs/dataPrimaryNetworkBalancesGetBalancesByAddresses.ts index 1dd66e55..1ffbb54e 100644 --- a/src/funcs/dataPrimaryNetworkBalancesGetBalancesByAddresses.ts +++ b/src/funcs/dataPrimaryNetworkBalancesGetBalancesByAddresses.ts @@ -55,10 +55,8 @@ export async function dataPrimaryNetworkBalancesGetBalancesByAddresses( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetBalancesByAddressesRequest$outboundSchema.parse(value), "Input validation failed", diff --git a/src/funcs/dataPrimaryNetworkBlocksGetBlockById.ts b/src/funcs/dataPrimaryNetworkBlocksGetBlockById.ts index d0e40da6..9d251d97 100644 --- a/src/funcs/dataPrimaryNetworkBlocksGetBlockById.ts +++ b/src/funcs/dataPrimaryNetworkBlocksGetBlockById.ts @@ -54,10 +54,8 @@ export async function dataPrimaryNetworkBlocksGetBlockById( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetBlockByIdRequest$outboundSchema.parse(value), "Input validation failed", ); diff --git a/src/funcs/dataPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks.ts b/src/funcs/dataPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks.ts index e613fc7e..b1c78a36 100644 --- a/src/funcs/dataPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks.ts +++ b/src/funcs/dataPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks.ts @@ -62,10 +62,8 @@ export async function dataPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListLatestPrimaryNetworkBlocksRequest$outboundSchema.parse( value, @@ -237,7 +235,7 @@ export async function dataPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks( dataPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId.ts b/src/funcs/dataPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId.ts index 57d539d4..72360661 100644 --- a/src/funcs/dataPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId.ts +++ b/src/funcs/dataPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId.ts @@ -62,10 +62,8 @@ export async function dataPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListPrimaryNetworkBlocksByNodeIdRequest$outboundSchema.parse( value, @@ -241,7 +239,7 @@ export async function dataPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId( dataPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataPrimaryNetworkGetAssetDetails.ts b/src/funcs/dataPrimaryNetworkGetAssetDetails.ts index 49b71808..c5f54fb8 100644 --- a/src/funcs/dataPrimaryNetworkGetAssetDetails.ts +++ b/src/funcs/dataPrimaryNetworkGetAssetDetails.ts @@ -54,10 +54,8 @@ export async function dataPrimaryNetworkGetAssetDetails( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetAssetDetailsRequest$outboundSchema.parse(value), "Input validation failed", ); diff --git a/src/funcs/dataPrimaryNetworkGetChainIdsForAddresses.ts b/src/funcs/dataPrimaryNetworkGetChainIdsForAddresses.ts index b7828948..de509356 100644 --- a/src/funcs/dataPrimaryNetworkGetChainIdsForAddresses.ts +++ b/src/funcs/dataPrimaryNetworkGetChainIdsForAddresses.ts @@ -54,10 +54,8 @@ export async function dataPrimaryNetworkGetChainIdsForAddresses( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetChainIdsForAddressesRequest$outboundSchema.parse(value), "Input validation failed", diff --git a/src/funcs/dataPrimaryNetworkGetNetworkDetails.ts b/src/funcs/dataPrimaryNetworkGetNetworkDetails.ts index eab8aece..f15efb38 100644 --- a/src/funcs/dataPrimaryNetworkGetNetworkDetails.ts +++ b/src/funcs/dataPrimaryNetworkGetNetworkDetails.ts @@ -54,10 +54,8 @@ export async function dataPrimaryNetworkGetNetworkDetails( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetNetworkDetailsRequest$outboundSchema.parse(value), "Input validation failed", ); diff --git a/src/funcs/dataPrimaryNetworkGetSingleValidatorDetails.ts b/src/funcs/dataPrimaryNetworkGetSingleValidatorDetails.ts index 9d2cc57a..1c9c8875 100644 --- a/src/funcs/dataPrimaryNetworkGetSingleValidatorDetails.ts +++ b/src/funcs/dataPrimaryNetworkGetSingleValidatorDetails.ts @@ -62,10 +62,8 @@ export async function dataPrimaryNetworkGetSingleValidatorDetails( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetSingleValidatorDetailsRequest$outboundSchema.parse(value), "Input validation failed", @@ -235,7 +233,7 @@ export async function dataPrimaryNetworkGetSingleValidatorDetails( dataPrimaryNetworkGetSingleValidatorDetails( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataPrimaryNetworkGetSubnetById.ts b/src/funcs/dataPrimaryNetworkGetSubnetById.ts index 82a361ae..a88335fa 100644 --- a/src/funcs/dataPrimaryNetworkGetSubnetById.ts +++ b/src/funcs/dataPrimaryNetworkGetSubnetById.ts @@ -54,10 +54,8 @@ export async function dataPrimaryNetworkGetSubnetById( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetSubnetByIdRequest$outboundSchema.parse(value), "Input validation failed", ); diff --git a/src/funcs/dataPrimaryNetworkListBlockchains.ts b/src/funcs/dataPrimaryNetworkListBlockchains.ts index b848f557..0912a51c 100644 --- a/src/funcs/dataPrimaryNetworkListBlockchains.ts +++ b/src/funcs/dataPrimaryNetworkListBlockchains.ts @@ -62,10 +62,8 @@ export async function dataPrimaryNetworkListBlockchains( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListBlockchainsRequest$outboundSchema.parse(value), "Input validation failed", ); @@ -225,7 +223,7 @@ export async function dataPrimaryNetworkListBlockchains( dataPrimaryNetworkListBlockchains( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataPrimaryNetworkListDelegators.ts b/src/funcs/dataPrimaryNetworkListDelegators.ts index 93342fa7..f13650bc 100644 --- a/src/funcs/dataPrimaryNetworkListDelegators.ts +++ b/src/funcs/dataPrimaryNetworkListDelegators.ts @@ -62,10 +62,8 @@ export async function dataPrimaryNetworkListDelegators( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListDelegatorsRequest$outboundSchema.parse(value), "Input validation failed", ); @@ -228,7 +226,7 @@ export async function dataPrimaryNetworkListDelegators( dataPrimaryNetworkListDelegators( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataPrimaryNetworkListSubnets.ts b/src/funcs/dataPrimaryNetworkListSubnets.ts index 5a16481e..d66eb3ae 100644 --- a/src/funcs/dataPrimaryNetworkListSubnets.ts +++ b/src/funcs/dataPrimaryNetworkListSubnets.ts @@ -62,10 +62,8 @@ export async function dataPrimaryNetworkListSubnets( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListSubnetsRequest$outboundSchema.parse(value), "Input validation failed", ); @@ -225,7 +223,7 @@ export async function dataPrimaryNetworkListSubnets( dataPrimaryNetworkListSubnets( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataPrimaryNetworkListValidators.ts b/src/funcs/dataPrimaryNetworkListValidators.ts index bc8d7675..225874a2 100644 --- a/src/funcs/dataPrimaryNetworkListValidators.ts +++ b/src/funcs/dataPrimaryNetworkListValidators.ts @@ -62,10 +62,8 @@ export async function dataPrimaryNetworkListValidators( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListValidatorsRequest$outboundSchema.parse(value), "Input validation failed", ); @@ -237,7 +235,7 @@ export async function dataPrimaryNetworkListValidators( dataPrimaryNetworkListValidators( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewards.ts b/src/funcs/dataPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewards.ts index 75a23e0c..62ee95fe 100644 --- a/src/funcs/dataPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewards.ts +++ b/src/funcs/dataPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewards.ts @@ -62,10 +62,8 @@ export async function dataPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewar > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListHistoricalPrimaryNetworkRewardsRequest$outboundSchema .parse(value), @@ -234,7 +232,7 @@ export async function dataPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewar dataPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewards( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataPrimaryNetworkRewardsListPendingPrimaryNetworkRewards.ts b/src/funcs/dataPrimaryNetworkRewardsListPendingPrimaryNetworkRewards.ts index e2d90855..7a0fcaa1 100644 --- a/src/funcs/dataPrimaryNetworkRewardsListPendingPrimaryNetworkRewards.ts +++ b/src/funcs/dataPrimaryNetworkRewardsListPendingPrimaryNetworkRewards.ts @@ -62,10 +62,8 @@ export async function dataPrimaryNetworkRewardsListPendingPrimaryNetworkRewards( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListPendingPrimaryNetworkRewardsRequest$outboundSchema.parse( value, @@ -236,7 +234,7 @@ export async function dataPrimaryNetworkRewardsListPendingPrimaryNetworkRewards( dataPrimaryNetworkRewardsListPendingPrimaryNetworkRewards( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataPrimaryNetworkTransactionsGetTxByHash.ts b/src/funcs/dataPrimaryNetworkTransactionsGetTxByHash.ts index ee449b0a..d413cba6 100644 --- a/src/funcs/dataPrimaryNetworkTransactionsGetTxByHash.ts +++ b/src/funcs/dataPrimaryNetworkTransactionsGetTxByHash.ts @@ -53,10 +53,8 @@ export async function dataPrimaryNetworkTransactionsGetTxByHash( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetTxByHashRequest$outboundSchema.parse(value), "Input validation failed", ); diff --git a/src/funcs/dataPrimaryNetworkTransactionsListActivePrimaryNetworkStakingTransactions.ts b/src/funcs/dataPrimaryNetworkTransactionsListActivePrimaryNetworkStakingTransactions.ts index 083cf452..24e522d7 100644 --- a/src/funcs/dataPrimaryNetworkTransactionsListActivePrimaryNetworkStakingTransactions.ts +++ b/src/funcs/dataPrimaryNetworkTransactionsListActivePrimaryNetworkStakingTransactions.ts @@ -62,10 +62,8 @@ export async function dataPrimaryNetworkTransactionsListActivePrimaryNetworkStak > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations .ListActivePrimaryNetworkStakingTransactionsRequest$outboundSchema @@ -243,7 +241,7 @@ export async function dataPrimaryNetworkTransactionsListActivePrimaryNetworkStak dataPrimaryNetworkTransactionsListActivePrimaryNetworkStakingTransactions( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataPrimaryNetworkTransactionsListAssetTransactions.ts b/src/funcs/dataPrimaryNetworkTransactionsListAssetTransactions.ts index 38a1df60..5170d3e4 100644 --- a/src/funcs/dataPrimaryNetworkTransactionsListAssetTransactions.ts +++ b/src/funcs/dataPrimaryNetworkTransactionsListAssetTransactions.ts @@ -62,10 +62,8 @@ export async function dataPrimaryNetworkTransactionsListAssetTransactions( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListAssetTransactionsRequest$outboundSchema.parse(value), "Input validation failed", @@ -240,7 +238,7 @@ export async function dataPrimaryNetworkTransactionsListAssetTransactions( dataPrimaryNetworkTransactionsListAssetTransactions( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataPrimaryNetworkTransactionsListLatestPrimaryNetworkTransactions.ts b/src/funcs/dataPrimaryNetworkTransactionsListLatestPrimaryNetworkTransactions.ts index 94734596..dbf43c29 100644 --- a/src/funcs/dataPrimaryNetworkTransactionsListLatestPrimaryNetworkTransactions.ts +++ b/src/funcs/dataPrimaryNetworkTransactionsListLatestPrimaryNetworkTransactions.ts @@ -66,10 +66,8 @@ export async function dataPrimaryNetworkTransactionsListLatestPrimaryNetworkTran > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListLatestPrimaryNetworkTransactionsRequest$outboundSchema .parse(value), @@ -245,7 +243,7 @@ export async function dataPrimaryNetworkTransactionsListLatestPrimaryNetworkTran dataPrimaryNetworkTransactionsListLatestPrimaryNetworkTransactions( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataPrimaryNetworkUtxosGetUtxosByAddresses.ts b/src/funcs/dataPrimaryNetworkUtxosGetUtxosByAddresses.ts index 9ce73188..516397b2 100644 --- a/src/funcs/dataPrimaryNetworkUtxosGetUtxosByAddresses.ts +++ b/src/funcs/dataPrimaryNetworkUtxosGetUtxosByAddresses.ts @@ -62,10 +62,8 @@ export async function dataPrimaryNetworkUtxosGetUtxosByAddresses( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetUtxosByAddressesRequest$outboundSchema.parse(value), "Input validation failed", @@ -237,7 +235,7 @@ export async function dataPrimaryNetworkUtxosGetUtxosByAddresses( dataPrimaryNetworkUtxosGetUtxosByAddresses( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataPrimaryNetworkVerticesGetVertexByHash.ts b/src/funcs/dataPrimaryNetworkVerticesGetVertexByHash.ts index 2ac550fc..65430260 100644 --- a/src/funcs/dataPrimaryNetworkVerticesGetVertexByHash.ts +++ b/src/funcs/dataPrimaryNetworkVerticesGetVertexByHash.ts @@ -54,10 +54,8 @@ export async function dataPrimaryNetworkVerticesGetVertexByHash( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetVertexByHashRequest$outboundSchema.parse(value), "Input validation failed", ); diff --git a/src/funcs/dataPrimaryNetworkVerticesGetVertexByHeight.ts b/src/funcs/dataPrimaryNetworkVerticesGetVertexByHeight.ts index a04bdda9..3754d2e6 100644 --- a/src/funcs/dataPrimaryNetworkVerticesGetVertexByHeight.ts +++ b/src/funcs/dataPrimaryNetworkVerticesGetVertexByHeight.ts @@ -62,10 +62,8 @@ export async function dataPrimaryNetworkVerticesGetVertexByHeight( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetVertexByHeightRequest$outboundSchema.parse(value), "Input validation failed", ); @@ -234,7 +232,7 @@ export async function dataPrimaryNetworkVerticesGetVertexByHeight( dataPrimaryNetworkVerticesGetVertexByHeight( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataPrimaryNetworkVerticesListLatestXChainVertices.ts b/src/funcs/dataPrimaryNetworkVerticesListLatestXChainVertices.ts index 6fc5518a..8ba2da49 100644 --- a/src/funcs/dataPrimaryNetworkVerticesListLatestXChainVertices.ts +++ b/src/funcs/dataPrimaryNetworkVerticesListLatestXChainVertices.ts @@ -62,10 +62,8 @@ export async function dataPrimaryNetworkVerticesListLatestXChainVertices( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListLatestXChainVerticesRequest$outboundSchema.parse(value), "Input validation failed", @@ -233,7 +231,7 @@ export async function dataPrimaryNetworkVerticesListLatestXChainVertices( dataPrimaryNetworkVerticesListLatestXChainVertices( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataTeleporterGetTeleporterMessage.ts b/src/funcs/dataTeleporterGetTeleporterMessage.ts index 2087ed9f..35af921f 100644 --- a/src/funcs/dataTeleporterGetTeleporterMessage.ts +++ b/src/funcs/dataTeleporterGetTeleporterMessage.ts @@ -53,10 +53,8 @@ export async function dataTeleporterGetTeleporterMessage( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetTeleporterMessageRequest$outboundSchema.parse(value), "Input validation failed", diff --git a/src/funcs/dataTeleporterListTeleporterMessages.ts b/src/funcs/dataTeleporterListTeleporterMessages.ts index e3dee26b..3ac069fd 100644 --- a/src/funcs/dataTeleporterListTeleporterMessages.ts +++ b/src/funcs/dataTeleporterListTeleporterMessages.ts @@ -62,10 +62,8 @@ export async function dataTeleporterListTeleporterMessages( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListTeleporterMessagesRequest$outboundSchema.parse(value), "Input validation failed", @@ -225,7 +223,7 @@ export async function dataTeleporterListTeleporterMessages( dataTeleporterListTeleporterMessages( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataTeleporterListTeleporterMessagesByAddress.ts b/src/funcs/dataTeleporterListTeleporterMessagesByAddress.ts index 182a8ff6..816812c5 100644 --- a/src/funcs/dataTeleporterListTeleporterMessagesByAddress.ts +++ b/src/funcs/dataTeleporterListTeleporterMessagesByAddress.ts @@ -54,10 +54,8 @@ export async function dataTeleporterListTeleporterMessagesByAddress( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListTeleporterMessagesByAddressRequest$outboundSchema.parse( value, diff --git a/src/funcs/dataUsageMetricsGetApiLogs.ts b/src/funcs/dataUsageMetricsGetApiLogs.ts index 2c12b904..6be2fa83 100644 --- a/src/funcs/dataUsageMetricsGetApiLogs.ts +++ b/src/funcs/dataUsageMetricsGetApiLogs.ts @@ -62,10 +62,8 @@ export async function dataUsageMetricsGetApiLogs( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetApiLogsRequest$outboundSchema.parse(value), "Input validation failed", ); @@ -222,7 +220,7 @@ export async function dataUsageMetricsGetApiLogs( dataUsageMetricsGetApiLogs( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataUsageMetricsGetApiUsageMetrics.ts b/src/funcs/dataUsageMetricsGetApiUsageMetrics.ts index bcf1f3c2..198e9850 100644 --- a/src/funcs/dataUsageMetricsGetApiUsageMetrics.ts +++ b/src/funcs/dataUsageMetricsGetApiUsageMetrics.ts @@ -54,10 +54,8 @@ export async function dataUsageMetricsGetApiUsageMetrics( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetApiUsageMetricsRequest$outboundSchema.parse(value), "Input validation failed", ); diff --git a/src/funcs/dataWebhooksAddAddressesToWebhook.ts b/src/funcs/dataWebhooksAddAddressesToWebhook.ts index 7f68025e..c29e1477 100644 --- a/src/funcs/dataWebhooksAddAddressesToWebhook.ts +++ b/src/funcs/dataWebhooksAddAddressesToWebhook.ts @@ -54,10 +54,8 @@ export async function dataWebhooksAddAddressesToWebhook( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.AddAddressesToWebhookRequest$outboundSchema.parse(value), "Input validation failed", diff --git a/src/funcs/dataWebhooksCreateWebhook.ts b/src/funcs/dataWebhooksCreateWebhook.ts index a9281b5a..e5c69e3b 100644 --- a/src/funcs/dataWebhooksCreateWebhook.ts +++ b/src/funcs/dataWebhooksCreateWebhook.ts @@ -53,10 +53,8 @@ export async function dataWebhooksCreateWebhook( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => components.CreateWebhookRequest$outboundSchema.parse(value), "Input validation failed", ); diff --git a/src/funcs/dataWebhooksDeactivateWebhook.ts b/src/funcs/dataWebhooksDeactivateWebhook.ts index 01f8ba69..6ade2dc1 100644 --- a/src/funcs/dataWebhooksDeactivateWebhook.ts +++ b/src/funcs/dataWebhooksDeactivateWebhook.ts @@ -54,10 +54,8 @@ export async function dataWebhooksDeactivateWebhook( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.DeactivateWebhookRequest$outboundSchema.parse(value), "Input validation failed", ); diff --git a/src/funcs/dataWebhooksGetAddressesFromWebhook.ts b/src/funcs/dataWebhooksGetAddressesFromWebhook.ts index 5703ac81..5aff9eed 100644 --- a/src/funcs/dataWebhooksGetAddressesFromWebhook.ts +++ b/src/funcs/dataWebhooksGetAddressesFromWebhook.ts @@ -62,10 +62,8 @@ export async function dataWebhooksGetAddressesFromWebhook( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetAddressesFromWebhookRequest$outboundSchema.parse(value), "Input validation failed", @@ -226,7 +224,7 @@ export async function dataWebhooksGetAddressesFromWebhook( dataWebhooksGetAddressesFromWebhook( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataWebhooksGetWebhook.ts b/src/funcs/dataWebhooksGetWebhook.ts index bab1a5f8..d538c8b6 100644 --- a/src/funcs/dataWebhooksGetWebhook.ts +++ b/src/funcs/dataWebhooksGetWebhook.ts @@ -54,10 +54,8 @@ export async function dataWebhooksGetWebhook( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetWebhookRequest$outboundSchema.parse(value), "Input validation failed", ); diff --git a/src/funcs/dataWebhooksListWebhooks.ts b/src/funcs/dataWebhooksListWebhooks.ts index 182a1555..44bcd0b1 100644 --- a/src/funcs/dataWebhooksListWebhooks.ts +++ b/src/funcs/dataWebhooksListWebhooks.ts @@ -62,10 +62,8 @@ export async function dataWebhooksListWebhooks( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListWebhooksRequest$outboundSchema.parse(value), "Input validation failed", ); @@ -217,7 +215,7 @@ export async function dataWebhooksListWebhooks( dataWebhooksListWebhooks( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/dataWebhooksRemoveAddressesFromWebhook.ts b/src/funcs/dataWebhooksRemoveAddressesFromWebhook.ts index e203e013..94848ded 100644 --- a/src/funcs/dataWebhooksRemoveAddressesFromWebhook.ts +++ b/src/funcs/dataWebhooksRemoveAddressesFromWebhook.ts @@ -54,10 +54,8 @@ export async function dataWebhooksRemoveAddressesFromWebhook( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.RemoveAddressesFromWebhookRequest$outboundSchema.parse(value), "Input validation failed", diff --git a/src/funcs/dataWebhooksUpdateWebhook.ts b/src/funcs/dataWebhooksUpdateWebhook.ts index ed67eaa9..19e556c2 100644 --- a/src/funcs/dataWebhooksUpdateWebhook.ts +++ b/src/funcs/dataWebhooksUpdateWebhook.ts @@ -54,10 +54,8 @@ export async function dataWebhooksUpdateWebhook( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed", ); diff --git a/src/funcs/metricsChainMetricsGetEvmChainMetrics.ts b/src/funcs/metricsChainMetricsGetEvmChainMetrics.ts index 58dc3346..09d7effa 100644 --- a/src/funcs/metricsChainMetricsGetEvmChainMetrics.ts +++ b/src/funcs/metricsChainMetricsGetEvmChainMetrics.ts @@ -62,10 +62,8 @@ export async function metricsChainMetricsGetEvmChainMetrics( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetEvmChainMetricsRequest$outboundSchema.parse(value), "Input validation failed", ); @@ -233,7 +231,7 @@ export async function metricsChainMetricsGetEvmChainMetrics( metricsChainMetricsGetEvmChainMetrics( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/metricsChainMetricsGetEvmChainRollingWindowMetrics.ts b/src/funcs/metricsChainMetricsGetEvmChainRollingWindowMetrics.ts index f5508664..d7b76348 100644 --- a/src/funcs/metricsChainMetricsGetEvmChainRollingWindowMetrics.ts +++ b/src/funcs/metricsChainMetricsGetEvmChainRollingWindowMetrics.ts @@ -54,10 +54,8 @@ export async function metricsChainMetricsGetEvmChainRollingWindowMetrics( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetEvmChainRollingWindowMetricsRequest$outboundSchema.parse( value, diff --git a/src/funcs/metricsChainMetricsGetStakingMetrics.ts b/src/funcs/metricsChainMetricsGetStakingMetrics.ts index 3f96e2a0..9ec869b5 100644 --- a/src/funcs/metricsChainMetricsGetStakingMetrics.ts +++ b/src/funcs/metricsChainMetricsGetStakingMetrics.ts @@ -62,10 +62,8 @@ export async function metricsChainMetricsGetStakingMetrics( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetStakingMetricsRequest$outboundSchema.parse(value), "Input validation failed", ); @@ -235,7 +233,7 @@ export async function metricsChainMetricsGetStakingMetrics( metricsChainMetricsGetStakingMetrics( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/metricsChainMetricsGetTeleporterMetricsByChain.ts b/src/funcs/metricsChainMetricsGetTeleporterMetricsByChain.ts index 3febe8da..5d4af7b3 100644 --- a/src/funcs/metricsChainMetricsGetTeleporterMetricsByChain.ts +++ b/src/funcs/metricsChainMetricsGetTeleporterMetricsByChain.ts @@ -54,10 +54,8 @@ export async function metricsChainMetricsGetTeleporterMetricsByChain( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetTeleporterMetricsByChainRequest$outboundSchema.parse(value), "Input validation failed", diff --git a/src/funcs/metricsEvmChainsGetChain.ts b/src/funcs/metricsEvmChainsGetChain.ts index dcc50060..1987bdba 100644 --- a/src/funcs/metricsEvmChainsGetChain.ts +++ b/src/funcs/metricsEvmChainsGetChain.ts @@ -54,10 +54,8 @@ export async function metricsEvmChainsGetChain( | ConnectionError > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetChainRequest$outboundSchema.parse(value), "Input validation failed", ); diff --git a/src/funcs/metricsEvmChainsListChains.ts b/src/funcs/metricsEvmChainsListChains.ts index 0d6691be..bcb3cd6a 100644 --- a/src/funcs/metricsEvmChainsListChains.ts +++ b/src/funcs/metricsEvmChainsListChains.ts @@ -62,10 +62,8 @@ export async function metricsEvmChainsListChains( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.ListChainsRequest$outboundSchema.parse(value), "Input validation failed", ); @@ -214,7 +212,7 @@ export async function metricsEvmChainsListChains( metricsEvmChainsListChains( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/metricsLookingGlassCompositeQuery.ts b/src/funcs/metricsLookingGlassCompositeQuery.ts index 8c1fcd5f..14feae6f 100644 --- a/src/funcs/metricsLookingGlassCompositeQuery.ts +++ b/src/funcs/metricsLookingGlassCompositeQuery.ts @@ -63,10 +63,8 @@ export async function metricsLookingGlassCompositeQuery( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => components.CompositeQueryRequestDto$outboundSchema.parse(value), "Input validation failed", ); @@ -212,7 +210,7 @@ export async function metricsLookingGlassCompositeQuery( metricsLookingGlassCompositeQuery( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/metricsLookingGlassGetAddressesByBalanceOverTime.ts b/src/funcs/metricsLookingGlassGetAddressesByBalanceOverTime.ts index 03854e2a..f9eac1d9 100644 --- a/src/funcs/metricsLookingGlassGetAddressesByBalanceOverTime.ts +++ b/src/funcs/metricsLookingGlassGetAddressesByBalanceOverTime.ts @@ -62,10 +62,8 @@ export async function metricsLookingGlassGetAddressesByBalanceOverTime( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetAddressesByBalanceOverTimeRequest$outboundSchema.parse( value, @@ -240,7 +238,7 @@ export async function metricsLookingGlassGetAddressesByBalanceOverTime( metricsLookingGlassGetAddressesByBalanceOverTime( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/metricsLookingGlassGetAddressesByBtcbBridged.ts b/src/funcs/metricsLookingGlassGetAddressesByBtcbBridged.ts index 3a94a032..6ad8c2f7 100644 --- a/src/funcs/metricsLookingGlassGetAddressesByBtcbBridged.ts +++ b/src/funcs/metricsLookingGlassGetAddressesByBtcbBridged.ts @@ -62,10 +62,8 @@ export async function metricsLookingGlassGetAddressesByBtcbBridged( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetAddressesByBtcbBridgedRequest$outboundSchema.parse(value), "Input validation failed", @@ -220,7 +218,7 @@ export async function metricsLookingGlassGetAddressesByBtcbBridged( metricsLookingGlassGetAddressesByBtcbBridged( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/metricsLookingGlassGetNftHoldersByContractAddress.ts b/src/funcs/metricsLookingGlassGetNftHoldersByContractAddress.ts index 9e852f38..eda80f34 100644 --- a/src/funcs/metricsLookingGlassGetNftHoldersByContractAddress.ts +++ b/src/funcs/metricsLookingGlassGetNftHoldersByContractAddress.ts @@ -62,10 +62,8 @@ export async function metricsLookingGlassGetNftHoldersByContractAddress( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetNftHoldersByContractAddressRequest$outboundSchema.parse( value, @@ -237,7 +235,7 @@ export async function metricsLookingGlassGetNftHoldersByContractAddress( metricsLookingGlassGetNftHoldersByContractAddress( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/funcs/metricsLookingGlassGetValidatorsByDateRange.ts b/src/funcs/metricsLookingGlassGetValidatorsByDateRange.ts index 13afa1c0..db1ab21b 100644 --- a/src/funcs/metricsLookingGlassGetValidatorsByDateRange.ts +++ b/src/funcs/metricsLookingGlassGetValidatorsByDateRange.ts @@ -62,10 +62,8 @@ export async function metricsLookingGlassGetValidatorsByDateRange( > > > { - const input = request; - const parsed = safeParse( - input, + request, (value) => operations.GetValidatorsByDateRangeRequest$outboundSchema.parse(value), "Input validation failed", @@ -231,7 +229,7 @@ export async function metricsLookingGlassGetValidatorsByDateRange( metricsLookingGlassGetValidatorsByDateRange( client, { - ...input, + ...request, pageToken: nextCursor, }, options, diff --git a/src/lib/config.ts b/src/lib/config.ts index e6afc817..d2bcedc5 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.6.0", - genVersion: "2.426.2", + sdkVersion: "0.6.1", + genVersion: "2.429.0", userAgent: - "speakeasy-sdk/typescript 0.6.0 2.426.2 Beta @avalabs/avacloud-sdk", + "speakeasy-sdk/typescript 0.6.1 2.429.0 Beta @avalabs/avacloud-sdk", } as const; diff --git a/src/models/components/blockchainid.ts b/src/models/components/blockchainid.ts index 5e5a8ed9..35192535 100644 --- a/src/models/components/blockchainid.ts +++ b/src/models/components/blockchainid.ts @@ -12,10 +12,14 @@ export const BlockchainId = { "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", TwoJVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm: "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm", + TwopiQ2AVHCjnduiWXsSy15DtbVuwHe2cwMHYnEXHsLl73BBkdbV: + "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV", Twoq9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAx5UQxse55x1Q5: "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5", YH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp: "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp", + VV3cui1DsEpc3nLcgh9rorwo8s6BYxM2Hz4Qfe5gEYjwTqAu: + "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu", PChain: "p-chain", XChain: "x-chain", CChain: "c-chain", diff --git a/src/models/components/blockchainids.ts b/src/models/components/blockchainids.ts index 7dc83e85..b1e6b187 100644 --- a/src/models/components/blockchainids.ts +++ b/src/models/components/blockchainids.ts @@ -12,10 +12,14 @@ export const BlockchainIds = { "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", TwoJVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm: "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm", + TwopiQ2AVHCjnduiWXsSy15DtbVuwHe2cwMHYnEXHsLl73BBkdbV: + "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV", Twoq9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAx5UQxse55x1Q5: "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5", YH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp: "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp", + VV3cui1DsEpc3nLcgh9rorwo8s6BYxM2Hz4Qfe5gEYjwTqAu: + "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu", } as const; export type BlockchainIds = ClosedEnum; diff --git a/src/models/components/createevmtransactionexportrequest.ts b/src/models/components/createevmtransactionexportrequest.ts index 98876bf1..c4358f08 100644 --- a/src/models/components/createevmtransactionexportrequest.ts +++ b/src/models/components/createevmtransactionexportrequest.ts @@ -22,11 +22,11 @@ export type CreateEvmTransactionExportRequest = { /** * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ - startDate: string; + startDate?: string | undefined; /** * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ - endDate: string; + endDate?: string | undefined; options: EvmNetworkOptions; }; @@ -39,8 +39,8 @@ export const CreateEvmTransactionExportRequest$inboundSchema: z.ZodType< type: EVMOperationType$inboundSchema, firstDate: z.string().optional(), lastDate: z.string().optional(), - startDate: z.string(), - endDate: z.string(), + startDate: z.string().optional(), + endDate: z.string().optional(), options: EvmNetworkOptions$inboundSchema, }); @@ -49,8 +49,8 @@ export type CreateEvmTransactionExportRequest$Outbound = { type: string; firstDate?: string | undefined; lastDate?: string | undefined; - startDate: string; - endDate: string; + startDate?: string | undefined; + endDate?: string | undefined; options: EvmNetworkOptions$Outbound; }; @@ -63,8 +63,8 @@ export const CreateEvmTransactionExportRequest$outboundSchema: z.ZodType< type: EVMOperationType$outboundSchema, firstDate: z.string().optional(), lastDate: z.string().optional(), - startDate: z.string(), - endDate: z.string(), + startDate: z.string().optional(), + endDate: z.string().optional(), options: EvmNetworkOptions$outboundSchema, }); diff --git a/src/models/components/createprimarynetworktransactionexportrequest.ts b/src/models/components/createprimarynetworktransactionexportrequest.ts index c0782e63..8aa67d76 100644 --- a/src/models/components/createprimarynetworktransactionexportrequest.ts +++ b/src/models/components/createprimarynetworktransactionexportrequest.ts @@ -22,11 +22,11 @@ export type CreatePrimaryNetworkTransactionExportRequest = { /** * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ - startDate: string; + startDate?: string | undefined; /** * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ - endDate: string; + endDate?: string | undefined; options: PrimaryNetworkOptions; }; @@ -40,8 +40,8 @@ export const CreatePrimaryNetworkTransactionExportRequest$inboundSchema: type: PrimaryNetworkOperationType$inboundSchema, firstDate: z.string().optional(), lastDate: z.string().optional(), - startDate: z.string(), - endDate: z.string(), + startDate: z.string().optional(), + endDate: z.string().optional(), options: PrimaryNetworkOptions$inboundSchema, }); @@ -50,8 +50,8 @@ export type CreatePrimaryNetworkTransactionExportRequest$Outbound = { type: string; firstDate?: string | undefined; lastDate?: string | undefined; - startDate: string; - endDate: string; + startDate?: string | undefined; + endDate?: string | undefined; options: PrimaryNetworkOptions$Outbound; }; @@ -65,8 +65,8 @@ export const CreatePrimaryNetworkTransactionExportRequest$outboundSchema: type: PrimaryNetworkOperationType$outboundSchema, firstDate: z.string().optional(), lastDate: z.string().optional(), - startDate: z.string(), - endDate: z.string(), + startDate: z.string().optional(), + endDate: z.string().optional(), options: PrimaryNetworkOptions$outboundSchema, }); diff --git a/src/models/components/globalparamnetwork.ts b/src/models/components/globalparamnetwork.ts index 41aa1b36..3c8e213a 100644 --- a/src/models/components/globalparamnetwork.ts +++ b/src/models/components/globalparamnetwork.ts @@ -9,6 +9,7 @@ export const GlobalParamNetwork = { Mainnet: "mainnet", Fuji: "fuji", Testnet: "testnet", + Devnet: "devnet", } as const; export type GlobalParamNetwork = ClosedEnum; diff --git a/src/models/components/network.ts b/src/models/components/network.ts index 09ee8b52..46e11659 100644 --- a/src/models/components/network.ts +++ b/src/models/components/network.ts @@ -9,6 +9,7 @@ export const Network = { Mainnet: "mainnet", Fuji: "fuji", Testnet: "testnet", + Devnet: "devnet", } as const; export type Network = ClosedEnum; diff --git a/src/models/components/primarynetwork.ts b/src/models/components/primarynetwork.ts index 557ad964..8a14d27d 100644 --- a/src/models/components/primarynetwork.ts +++ b/src/models/components/primarynetwork.ts @@ -8,6 +8,7 @@ import { ClosedEnum } from "../../types/enums.js"; export const PrimaryNetwork = { Mainnet: "mainnet", Fuji: "fuji", + Devnet: "devnet", } as const; export type PrimaryNetwork = ClosedEnum; diff --git a/src/models/components/primarynetworkoptions.ts b/src/models/components/primarynetworkoptions.ts index 2389ef1a..58285d05 100644 --- a/src/models/components/primarynetworkoptions.ts +++ b/src/models/components/primarynetworkoptions.ts @@ -12,10 +12,14 @@ export const IncludeChains = { "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", TwoJVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm: "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm", + TwopiQ2AVHCjnduiWXsSy15DtbVuwHe2cwMHYnEXHsLl73BBkdbV: + "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV", Twoq9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAx5UQxse55x1Q5: "2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5", YH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp: "yH8D7ThNJkxmtkuv2jgBa4P1Rn3Qpr4pPr7QYNfcdoS6k6HWp", + VV3cui1DsEpc3nLcgh9rorwo8s6BYxM2Hz4Qfe5gEYjwTqAu: + "vV3cui1DsEPC3nLCGH9rorwo8s6BYxM2Hz4QFE5gEYjwTqAu", PChain: "p-chain", XChain: "x-chain", CChain: "c-chain", diff --git a/src/models/components/xchainid.ts b/src/models/components/xchainid.ts index cd902e0d..2298b009 100644 --- a/src/models/components/xchainid.ts +++ b/src/models/components/xchainid.ts @@ -10,6 +10,8 @@ export const XChainId = { "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM", TwoJVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm: "2JVSBoinj9C2J33VntvzYtVJNZdN2NKiwwKjcumHUWEb5DbBrm", + TwopiQ2AVHCjnduiWXsSy15DtbVuwHe2cwMHYnEXHsLl73BBkdbV: + "2piQ2AVHCjnduiWXsSY15DtbVuwHE2cwMHYnEXHsLL73BBkdbV", XChain: "x-chain", } as const; export type XChainId = ClosedEnum; diff --git a/src/models/operations/listlatestprimarynetworktransactions.ts b/src/models/operations/listlatestprimarynetworktransactions.ts index 970d7ade..8cd065c0 100644 --- a/src/models/operations/listlatestprimarynetworktransactions.ts +++ b/src/models/operations/listlatestprimarynetworktransactions.ts @@ -21,7 +21,7 @@ export type ListLatestPrimaryNetworkTransactionsRequest = { /** * A comma separated list of X-Chain or P-Chain wallet addresses, starting with "avax"/"fuji", "P-avax"/"P-fuji" or "X-avax"/"X-fuji". Also accepts EVM formatted addresses starting with "0x" for C-Chain-related atomic transaction lookups. */ - addresses: string; + addresses?: string | undefined; /** * Query param for filtering items based on transaction types. */ @@ -118,7 +118,7 @@ export const ListLatestPrimaryNetworkTransactionsRequest$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - addresses: z.string(), + addresses: z.string().optional(), txTypes: z.array(components.PrimaryNetworkTxType$inboundSchema).optional(), startTimestamp: z.number().int().optional(), endTimestamp: z.number().int().optional(), @@ -131,7 +131,7 @@ export const ListLatestPrimaryNetworkTransactionsRequest$inboundSchema: /** @internal */ export type ListLatestPrimaryNetworkTransactionsRequest$Outbound = { - addresses: string; + addresses?: string | undefined; txTypes?: Array | undefined; startTimestamp?: number | undefined; endTimestamp?: number | undefined; @@ -149,7 +149,7 @@ export const ListLatestPrimaryNetworkTransactionsRequest$outboundSchema: z.ZodTypeDef, ListLatestPrimaryNetworkTransactionsRequest > = z.object({ - addresses: z.string(), + addresses: z.string().optional(), txTypes: z.array(components.PrimaryNetworkTxType$outboundSchema).optional(), startTimestamp: z.number().int().optional(), endTimestamp: z.number().int().optional(),