From 95e46995a59c2faf9f82d2a9bfa8084ca7baf9f9 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 29 Aug 2024 22:17:13 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.383.2 --- .speakeasy/gen.lock | 15 +-- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 12 +- FUNCTIONS.md | 2 +- README.md | 106 +++++++++++++----- RELEASES.md | 12 +- USAGE.md | 2 +- docs/models/components/globalparamnetwork.md | 15 +++ docs/models/components/network.md | 15 --- docs/models/components/security.md | 4 +- .../timeintervalgranularityextended.md | 2 +- docs/models/errors/badgatewaymessage.md | 2 +- docs/models/errors/forbiddenmessage.md | 2 +- .../errors/serviceunavailablemessage.md | 2 +- docs/models/errors/toomanyrequestsmessage.md | 2 +- .../getaddressesfromwebhookresponse.md | 2 +- docs/models/operations/getapilogsrequest.md | 5 + docs/models/operations/getapilogsresponse.md | 12 +- .../operations/getapiusagemetricsrequest.md | 14 +-- .../operations/getassetdetailsglobals.md | 6 +- .../operations/getassetdetailsrequest.md | 10 +- .../getbalancesbyaddressesglobals.md | 6 +- .../getbalancesbyaddressesrequest.md | 2 +- docs/models/operations/getblockbyidglobals.md | 6 +- docs/models/operations/getblockbyidrequest.md | 10 +- .../getchainidsforaddressesglobals.md | 6 +- .../getchainidsforaddressesrequest.md | 2 +- .../getcontractmetadataresponsebody.md | 3 +- .../operations/getlatestblocksresponse.md | 2 +- .../operations/getnetworkdetailsglobals.md | 6 +- .../operations/getnetworkdetailsrequest.md | 6 +- .../getsinglevalidatordetailsglobals.md | 6 +- .../getsinglevalidatordetailsrequest.md | 2 +- .../models/operations/getsubnetbyidglobals.md | 6 +- .../models/operations/getsubnetbyidrequest.md | 8 +- .../getteleportermessageresponsebody.md | 9 +- docs/models/operations/gettxbyhashglobals.md | 6 +- docs/models/operations/gettxbyhashrequest.md | 10 +- .../operations/getutxosbyaddressesglobals.md | 6 +- .../operations/getutxosbyaddressesrequest.md | 2 +- .../operations/getvertexbyhashglobals.md | 6 +- .../operations/getvertexbyhashrequest.md | 10 +- .../operations/getvertexbyheightglobals.md | 6 +- .../operations/getvertexbyheightrequest.md | 2 +- ...rimarynetworkstakingtransactionsglobals.md | 6 +- ...rimarynetworkstakingtransactionsrequest.md | 2 +- .../listassettransactionsglobals.md | 6 +- .../listassettransactionsrequest.md | 2 +- .../operations/listblockchainsglobals.md | 6 +- .../operations/listblockchainsrequest.md | 2 +- .../operations/listdelegatorsglobals.md | 6 +- .../operations/listdelegatorsrequest.md | 2 +- .../operations/listerc1155balancesresponse.md | 2 +- .../operations/listerc721balancesresponse.md | 2 +- ...thistoricalprimarynetworkrewardsglobals.md | 6 +- ...thistoricalprimarynetworkrewardsrequest.md | 2 +- .../listlatestprimarynetworkblocksglobals.md | 6 +- .../listlatestprimarynetworkblocksrequest.md | 2 +- ...latestprimarynetworktransactionsglobals.md | 6 +- ...latestprimarynetworktransactionsrequest.md | 2 +- .../listlatestxchainverticesglobals.md | 6 +- .../listlatestxchainverticesrequest.md | 2 +- ...listpendingprimarynetworkrewardsglobals.md | 6 +- ...listpendingprimarynetworkrewardsrequest.md | 2 +- ...listprimarynetworkblocksbynodeidglobals.md | 6 +- ...listprimarynetworkblocksbynodeidrequest.md | 2 +- docs/models/operations/listsubnetsglobals.md | 6 +- docs/models/operations/listsubnetsrequest.md | 2 +- .../operations/listvalidatorsglobals.md | 6 +- .../operations/listvalidatorsrequest.md | 2 +- .../models/operations/listwebhooksresponse.md | 6 +- .../operations/queryparamrequesttype.md | 17 +++ docs/models/operations/requesttype.md | 2 +- docs/sdks/avacloudsdkbalances/README.md | 20 ++-- docs/sdks/avacloudsdkblocks/README.md | 8 +- docs/sdks/avacloudsdktransactions/README.md | 48 ++++---- docs/sdks/balances/README.md | 4 +- docs/sdks/blocks/README.md | 12 +- docs/sdks/chains/README.md | 8 +- docs/sdks/contracts/README.md | 4 +- docs/sdks/healthcheck/README.md | 4 +- docs/sdks/nfts/README.md | 12 +- docs/sdks/operations/README.md | 8 +- docs/sdks/primarynetwork/README.md | 36 +++--- docs/sdks/rewards/README.md | 8 +- docs/sdks/teleporter/README.md | 8 +- docs/sdks/transactions/README.md | 16 +-- docs/sdks/usagemetrics/README.md | 12 +- docs/sdks/utxos/README.md | 4 +- docs/sdks/vertices/README.md | 12 +- docs/sdks/webhooks/README.md | 40 +++---- package-lock.json | 4 +- package.json | 2 +- .../glacierEvmBalancesGetNativeBalance.ts | 6 +- ...acierEvmBalancesListCollectibleBalances.ts | 6 +- .../glacierEvmBalancesListErc1155Balances.ts | 6 +- .../glacierEvmBalancesListErc20Balances.ts | 6 +- .../glacierEvmBalancesListErc721Balances.ts | 6 +- src/funcs/glacierEvmBlocksGetBlock.ts | 6 +- src/funcs/glacierEvmBlocksGetLatestBlocks.ts | 6 +- src/funcs/glacierEvmChainsGetChainInfo.ts | 6 +- src/funcs/glacierEvmChainsSupportedChains.ts | 6 +- .../glacierEvmContractsGetContractMetadata.ts | 6 +- ...EvmTransactionsGetDeploymentTransaction.ts | 6 +- .../glacierEvmTransactionsGetTransaction.ts | 6 +- ...rEvmTransactionsGetTransactionsForBlock.ts | 6 +- ...rEvmTransactionsListContractDeployments.ts | 6 +- ...rEvmTransactionsListErc1155Transactions.ts | 6 +- ...ierEvmTransactionsListErc20Transactions.ts | 6 +- ...erEvmTransactionsListErc721Transactions.ts | 6 +- ...EvmTransactionsListInternalTransactions.ts | 6 +- ...erEvmTransactionsListLatestTransactions.ts | 6 +- ...erEvmTransactionsListNativeTransactions.ts | 6 +- .../glacierEvmTransactionsListTransactions.ts | 6 +- .../glacierEvmTransactionsListTransfers.ts | 6 +- .../glacierHealthCheckGlacierHealthCheck.ts | 6 +- src/funcs/glacierNftsGetTokenDetails.ts | 6 +- src/funcs/glacierNftsListTokens.ts | 6 +- src/funcs/glacierNftsReindexNft.ts | 6 +- .../glacierOperationsGetOperationResult.ts | 6 +- ...acierOperationsPostTransactionExportJob.ts | 6 +- ...ryNetworkBalancesGetBalancesByAddresses.ts | 6 +- ...glacierPrimaryNetworkBlocksGetBlockById.ts | 6 +- ...orkBlocksListLatestPrimaryNetworkBlocks.ts | 6 +- ...kBlocksListPrimaryNetworkBlocksByNodeId.ts | 6 +- .../glacierPrimaryNetworkGetAssetDetails.ts | 6 +- ...erPrimaryNetworkGetChainIdsForAddresses.ts | 6 +- .../glacierPrimaryNetworkGetNetworkDetails.ts | 6 +- ...PrimaryNetworkGetSingleValidatorDetails.ts | 6 +- .../glacierPrimaryNetworkGetSubnetById.ts | 6 +- .../glacierPrimaryNetworkListBlockchains.ts | 6 +- .../glacierPrimaryNetworkListDelegators.ts | 6 +- src/funcs/glacierPrimaryNetworkListSubnets.ts | 6 +- .../glacierPrimaryNetworkListValidators.ts | 6 +- ...ardsListHistoricalPrimaryNetworkRewards.ts | 6 +- ...RewardsListPendingPrimaryNetworkRewards.ts | 6 +- ...erPrimaryNetworkTransactionsGetTxByHash.ts | 6 +- ...ActivePrimaryNetworkStakingTransactions.ts | 6 +- ...etworkTransactionsListAssetTransactions.ts | 6 +- ...onsListLatestPrimaryNetworkTransactions.ts | 6 +- ...rPrimaryNetworkUtxosGetUtxosByAddresses.ts | 6 +- ...erPrimaryNetworkVerticesGetVertexByHash.ts | 6 +- ...PrimaryNetworkVerticesGetVertexByHeight.ts | 6 +- ...NetworkVerticesListLatestXChainVertices.ts | 6 +- .../glacierTeleporterGetTeleporterMessage.ts | 6 +- ...glacierTeleporterListTeleporterMessages.ts | 6 +- src/funcs/glacierUsageMetricsGetApiLogs.ts | 11 +- .../glacierUsageMetricsGetApiUsageMetrics.ts | 6 +- .../glacierWebhooksAddAddressesToWebhook.ts | 6 +- src/funcs/glacierWebhooksCreateWebhook.ts | 6 +- src/funcs/glacierWebhooksDeactivateWebhook.ts | 6 +- .../glacierWebhooksGenerateSharedSecret.ts | 6 +- .../glacierWebhooksGetAddressesFromWebhook.ts | 6 +- src/funcs/glacierWebhooksGetSharedSecret.ts | 6 +- src/funcs/glacierWebhooksGetWebhook.ts | 6 +- src/funcs/glacierWebhooksListWebhooks.ts | 6 +- ...acierWebhooksRemoveAddressesFromWebhook.ts | 6 +- src/funcs/glacierWebhooksUpdateWebhook.ts | 6 +- src/lib/config.ts | 10 +- src/lib/security.ts | 15 ++- src/models/components/globalparamnetwork.ts | 31 +++++ src/models/components/index.ts | 2 +- src/models/components/network.ts | 29 ----- src/models/components/security.ts | 28 ++--- src/models/operations/getapilogs.ts | 67 +++++++++++ src/models/operations/getapiusagemetrics.ts | 14 +-- src/models/operations/getassetdetails.ts | 12 +- .../operations/getbalancesbyaddresses.ts | 12 +- src/models/operations/getblockbyid.ts | 12 +- .../operations/getchainidsforaddresses.ts | 12 +- src/models/operations/getnetworkdetails.ts | 12 +- .../operations/getsinglevalidatordetails.ts | 12 +- src/models/operations/getsubnetbyid.ts | 12 +- src/models/operations/gettxbyhash.ts | 12 +- src/models/operations/getutxosbyaddresses.ts | 12 +- src/models/operations/getvertexbyhash.ts | 12 +- src/models/operations/getvertexbyheight.ts | 12 +- ...activeprimarynetworkstakingtransactions.ts | 12 +- .../operations/listassettransactions.ts | 12 +- src/models/operations/listblockchains.ts | 12 +- src/models/operations/listdelegators.ts | 12 +- .../listhistoricalprimarynetworkrewards.ts | 12 +- .../listlatestprimarynetworkblocks.ts | 12 +- .../listlatestprimarynetworktransactions.ts | 12 +- .../operations/listlatestxchainvertices.ts | 12 +- .../listpendingprimarynetworkrewards.ts | 12 +- .../listprimarynetworkblocksbynodeid.ts | 12 +- src/models/operations/listsubnets.ts | 12 +- src/models/operations/listvalidators.ts | 12 +- 189 files changed, 895 insertions(+), 739 deletions(-) create mode 100644 docs/models/components/globalparamnetwork.md delete mode 100644 docs/models/components/network.md create mode 100644 docs/models/operations/queryparamrequesttype.md create mode 100644 src/models/components/globalparamnetwork.ts delete mode 100644 src/models/components/network.ts diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 1e0b584..29699c2 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: a3899fcc878e74b37e045c4648cd947e + docChecksum: b7c80728933921cf1fd9ad31274d5ad7 docVersion: Beta - speakeasyVersion: 1.383.0 - generationVersion: 2.404.11 - releaseVersion: 0.1.0 - configChecksum: 9fc60104651d9ae9899527e16e4c7c54 + speakeasyVersion: 1.383.2 + generationVersion: 2.407.0 + releaseVersion: 0.2.0 + configChecksum: c0ea7d51e7782a892a23d8b54a7e9bce repoURL: https://github.com/ava-labs/avacloud-sdk-typescript.git installationURL: https://github.com/ava-labs/avacloud-sdk-typescript published: true @@ -154,7 +154,7 @@ generatedFiles: - src/types/operations.ts - src/types/rfcdate.ts - tsconfig.json - - src/models/components/network.ts + - src/models/components/globalparamnetwork.ts - src/models/components/listnfttokens.ts - src/models/components/erc721token.ts - src/models/components/erc721tokenmetadata.ts @@ -415,7 +415,7 @@ generatedFiles: - src/models/errors/index.ts - src/models/components/index.ts - src/models/operations/index.ts - - docs/models/components/network.md + - docs/models/components/globalparamnetwork.md - docs/models/components/tokens.md - docs/models/components/listnfttokens.md - docs/models/components/erctype.md @@ -725,6 +725,7 @@ generatedFiles: - docs/models/operations/getvertexbyheightresponse.md - docs/models/operations/requesttype.md - docs/models/operations/getapiusagemetricsrequest.md + - docs/models/operations/queryparamrequesttype.md - docs/models/operations/getapilogsrequest.md - docs/models/operations/getapilogsresponse.md - docs/models/operations/listwebhooksrequest.md diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 93e1305..9299447 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -15,7 +15,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: false typescript: - version: 0.1.0 + version: 0.2.0 additionalDependencies: dependencies: json-canonicalize: ^1.0.6 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 75804d4..c241a9b 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.383.0 +speakeasyVersion: 1.383.2 sources: AvaCloudSDK-OAS: sourceNamespace: avacloud-sdk-oas - sourceRevisionDigest: sha256:94b1a02f955836abaa8ede312ba38532983313de6baf0adfb4d8759cb63dc832 - sourceBlobDigest: sha256:05214b8e100c927f60abd8625944d8e60680d0296132e8a4b1a41deab911a3e0 + sourceRevisionDigest: sha256:303aa83897a990f12523549cb34e55ac639a264aab65f09c0107fe21320ca0b2 + sourceBlobDigest: sha256:7bdbf020c983454ba41e539bdc06708e421d942e068f9a18f85b5f4978ff7c9b tags: - latest - main @@ -18,10 +18,10 @@ targets: avacloud-sdk: source: AvaCloudSDK-OAS sourceNamespace: avacloud-sdk-oas - sourceRevisionDigest: sha256:94b1a02f955836abaa8ede312ba38532983313de6baf0adfb4d8759cb63dc832 - sourceBlobDigest: sha256:05214b8e100c927f60abd8625944d8e60680d0296132e8a4b1a41deab911a3e0 + sourceRevisionDigest: sha256:303aa83897a990f12523549cb34e55ac639a264aab65f09c0107fe21320ca0b2 + sourceBlobDigest: sha256:7bdbf020c983454ba41e539bdc06708e421d942e068f9a18f85b5f4978ff7c9b codeSamplesNamespace: avacloud-sdk-ts-code-samples - codeSamplesRevisionDigest: sha256:0911e97a6dd81a90e02d580e242156e513e3784bd0e90b46f1664ac6e2e8ad11 + codeSamplesRevisionDigest: sha256:2b497ef2942c118b71bb1b43d19a997370056ee9fe04cc654b294895b01ddb31 outLocation: /github/workspace/repo avalanche-sdk: source: AvalancheSDK-OAS diff --git a/FUNCTIONS.md b/FUNCTIONS.md index 5042d3a..dbedc49 100644 --- a/FUNCTIONS.md +++ b/FUNCTIONS.md @@ -26,7 +26,7 @@ import { SDKValidationError } from "@avalabs/avacloud-sdk/models/errors/sdkvalid // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); diff --git a/README.md b/README.md index e68e7a1..b078933 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ ## SDK Installation +The SDK can be installed with either [npm](https://www.npmjs.com/), [pnpm](https://pnpm.io/), [bun](https://bun.sh/) or [yarn](https://classic.yarnpkg.com/en/) package managers. + ### NPM ```bash @@ -51,7 +53,7 @@ For supported JavaScript runtimes, please consult [RUNTIMES.md](RUNTIMES.md). import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -292,7 +294,7 @@ The following global parameters are available. | Name | Type | Required | Description | | ---- | ---- |:--------:| ----------- | | chainId | string | | A supported EVM chain id, chain alias, or blockchain id. | -| network | components.Network | | A supported network type mainnet or a testnet. | +| network | components.GlobalParamNetwork | | A supported network type mainnet or a testnet. | ### Example @@ -301,7 +303,7 @@ The following global parameters are available. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -334,7 +336,7 @@ Here's an example of one such pagination call: import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -366,7 +368,7 @@ To change the default retry strategy for a single API call, simply provide a ret import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -408,7 +410,7 @@ const avaCloudSDK = new AvaCloudSDK({ }, retryConnectionErrors: false, }, - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -447,10 +449,20 @@ Validation errors can also occur when either method arguments or data returned f ```typescript import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; -import { SDKValidationError } from "@avalabs/avacloud-sdk/models/errors"; +import { + BadGateway, + BadRequest, + Forbidden, + InternalServerError, + NotFound, + SDKValidationError, + ServiceUnavailable, + TooManyRequests, + Unauthorized, +} from "@avalabs/avacloud-sdk/models/errors"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -470,36 +482,44 @@ async function run() { console.error(err.rawValue); return; } - case err instanceof errors.BadRequest: { - console.error(err); // handle exception + case err instanceof BadRequest: { + // Handle err.data$: BadRequestData + console.error(err); return; } - case err instanceof errors.Unauthorized: { - console.error(err); // handle exception + case err instanceof Unauthorized: { + // Handle err.data$: UnauthorizedData + console.error(err); return; } - case err instanceof errors.Forbidden: { - console.error(err); // handle exception + case err instanceof Forbidden: { + // Handle err.data$: ForbiddenData + console.error(err); return; } - case err instanceof errors.NotFound: { - console.error(err); // handle exception + case err instanceof NotFound: { + // Handle err.data$: NotFoundData + console.error(err); return; } - case err instanceof errors.TooManyRequests: { - console.error(err); // handle exception + case err instanceof TooManyRequests: { + // Handle err.data$: TooManyRequestsData + console.error(err); return; } - case err instanceof errors.InternalServerError: { - console.error(err); // handle exception + case err instanceof InternalServerError: { + // Handle err.data$: InternalServerErrorData + console.error(err); return; } - case err instanceof errors.BadGateway: { - console.error(err); // handle exception + case err instanceof BadGateway: { + // Handle err.data$: BadGatewayData + console.error(err); return; } - case err instanceof errors.ServiceUnavailable: { - console.error(err); // handle exception + case err instanceof ServiceUnavailable: { + // Handle err.data$: ServiceUnavailableData + console.error(err); return; } default: { @@ -530,7 +550,7 @@ import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ serverIdx: 0, - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -556,7 +576,7 @@ import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ serverURL: "https://glacier-api.avax.network", - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -629,16 +649,16 @@ const sdk = new AvaCloudSDK({ httpClient }); This SDK supports the following security scheme globally: -| Name | Type | Scheme | -| --------------- | --------------- | --------------- | -| `glacierApiKey` | apiKey | API key | +| Name | Type | Scheme | +| -------- | -------- | -------- | +| `apiKey` | apiKey | API key | -To authenticate with the API the `glacierApiKey` parameter must be set when initializing the SDK client instance. For example: +To authenticate with the API the `apiKey` parameter must be set when initializing the SDK client instance. For example: ```typescript import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -672,6 +692,30 @@ const sdk = new AvaCloudSDK({ debugLogger: console }); ``` + +## Summary + +Glacier API: The Glacier API provides web3 application developers with multi-chain data related to Avalanche's primary network, Avalanche subnets, and Ethereum. With Glacier, you can easily build products that leverage real-time and historical transaction and transfer history, native and token balances, and various types of token metadata. The API is in Beta and may be subject to change.

If you have feedback or feature requests for the API, please submit them here. Bug reports can be submitted here, and any potential security issues can be reported here. + + + +## Table of Contents + +* [SDK Installation](#sdk-installation) +* [Requirements](#requirements) +* [SDK Example Usage](#sdk-example-usage) +* [Available Resources and Operations](#available-resources-and-operations) +* [Standalone functions](#standalone-functions) +* [Global Parameters](#global-parameters) +* [Pagination](#pagination) +* [Retries](#retries) +* [Error Handling](#error-handling) +* [Server Selection](#server-selection) +* [Custom HTTP Client](#custom-http-client) +* [Authentication](#authentication) +* [Debugging](#debugging) + + ## Verify Webhook Signature diff --git a/RELEASES.md b/RELEASES.md index ae41fc4..f5455b6 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -9,4 +9,14 @@ Based on: ### Generated - [typescript v0.1.0] . ### Releases -- [NPM v0.1.0] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.1.0 - . \ No newline at end of file +- [NPM v0.1.0] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.1.0 - . + +## 2024-08-29 22:14:46 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.383.2 (2.407.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.2.0] . +### Releases +- [NPM v0.2.0] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.2.0 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index becc742..c811d7e 100644 --- a/USAGE.md +++ b/USAGE.md @@ -3,7 +3,7 @@ import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); diff --git a/docs/models/components/globalparamnetwork.md b/docs/models/components/globalparamnetwork.md new file mode 100644 index 0000000..7c6da05 --- /dev/null +++ b/docs/models/components/globalparamnetwork.md @@ -0,0 +1,15 @@ +# GlobalParamNetwork + +## Example Usage + +```typescript +import { GlobalParamNetwork } from "@avalabs/avacloud-sdk/models/components"; + +let value: GlobalParamNetwork = "mainnet"; +``` + +## Values + +```typescript +"mainnet" | "fuji" +``` \ No newline at end of file diff --git a/docs/models/components/network.md b/docs/models/components/network.md deleted file mode 100644 index 835ebb6..0000000 --- a/docs/models/components/network.md +++ /dev/null @@ -1,15 +0,0 @@ -# Network - -## Example Usage - -```typescript -import { Network } from "@avalabs/avacloud-sdk/models/components"; - -let value: Network = "mainnet"; -``` - -## Values - -```typescript -"mainnet" | "fuji" -``` \ No newline at end of file diff --git a/docs/models/components/security.md b/docs/models/components/security.md index 3ac11ae..474ccd2 100644 --- a/docs/models/components/security.md +++ b/docs/models/components/security.md @@ -6,7 +6,7 @@ import { Security } from "@avalabs/avacloud-sdk/models/components"; let value: Security = { - glacierApiKey: "", + apiKey: "", }; ``` @@ -14,4 +14,4 @@ let value: Security = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `glacierApiKey` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `apiKey` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/components/timeintervalgranularityextended.md b/docs/models/components/timeintervalgranularityextended.md index 42f7fe5..af763b6 100644 --- a/docs/models/components/timeintervalgranularityextended.md +++ b/docs/models/components/timeintervalgranularityextended.md @@ -5,7 +5,7 @@ ```typescript import { TimeIntervalGranularityExtended } from "@avalabs/avacloud-sdk/models/components"; -let value: TimeIntervalGranularityExtended = "hourly"; +let value: TimeIntervalGranularityExtended = "daily"; ``` ## Values diff --git a/docs/models/errors/badgatewaymessage.md b/docs/models/errors/badgatewaymessage.md index 8dc2116..37fa9ed 100644 --- a/docs/models/errors/badgatewaymessage.md +++ b/docs/models/errors/badgatewaymessage.md @@ -7,7 +7,7 @@ The error message describing the reason for the exception ```typescript import { BadGatewayMessage } from "@avalabs/avacloud-sdk/models/errors"; -let value: BadGatewayMessage = ""; +let value: BadGatewayMessage = [""]; ``` ## Supported Types diff --git a/docs/models/errors/forbiddenmessage.md b/docs/models/errors/forbiddenmessage.md index 601a57b..2f8ec57 100644 --- a/docs/models/errors/forbiddenmessage.md +++ b/docs/models/errors/forbiddenmessage.md @@ -7,7 +7,7 @@ The error message describing the reason for the exception ```typescript import { ForbiddenMessage } from "@avalabs/avacloud-sdk/models/errors"; -let value: ForbiddenMessage = ""; +let value: ForbiddenMessage = [""]; ``` ## Supported Types diff --git a/docs/models/errors/serviceunavailablemessage.md b/docs/models/errors/serviceunavailablemessage.md index 9b132cc..08887a6 100644 --- a/docs/models/errors/serviceunavailablemessage.md +++ b/docs/models/errors/serviceunavailablemessage.md @@ -7,7 +7,7 @@ The error message describing the reason for the exception ```typescript import { ServiceUnavailableMessage } from "@avalabs/avacloud-sdk/models/errors"; -let value: ServiceUnavailableMessage = ""; +let value: ServiceUnavailableMessage = [""]; ``` ## Supported Types diff --git a/docs/models/errors/toomanyrequestsmessage.md b/docs/models/errors/toomanyrequestsmessage.md index fec90cb..e03d0ab 100644 --- a/docs/models/errors/toomanyrequestsmessage.md +++ b/docs/models/errors/toomanyrequestsmessage.md @@ -7,7 +7,7 @@ The error message describing the reason for the exception ```typescript import { TooManyRequestsMessage } from "@avalabs/avacloud-sdk/models/errors"; -let value: TooManyRequestsMessage = [""]; +let value: TooManyRequestsMessage = ""; ``` ## Supported Types diff --git a/docs/models/operations/getaddressesfromwebhookresponse.md b/docs/models/operations/getaddressesfromwebhookresponse.md index 1cbd87c..44e9e43 100644 --- a/docs/models/operations/getaddressesfromwebhookresponse.md +++ b/docs/models/operations/getaddressesfromwebhookresponse.md @@ -8,7 +8,7 @@ import { GetAddressesFromWebhookResponse } from "@avalabs/avacloud-sdk/models/op let value: GetAddressesFromWebhookResponse = { result: { addresses: [""], - totalAddresses: 834.22, + totalAddresses: 7492.55, }, }; ``` diff --git a/docs/models/operations/getapilogsrequest.md b/docs/models/operations/getapilogsrequest.md index 4acf913..aa8f914 100644 --- a/docs/models/operations/getapilogsrequest.md +++ b/docs/models/operations/getapilogsrequest.md @@ -18,5 +18,10 @@ let value: GetApiLogsRequest = { | `orgId` | *string* | :heavy_minus_sign: | Organization ID to fetch usage metrics for | | | `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 | +| `requestPath` | *string* | :heavy_minus_sign: | Filter data by request path. | | +| `requestType` | [operations.QueryParamRequestType](../../models/operations/queryparamrequesttype.md) | :heavy_minus_sign: | Filter data by request type. | | +| `responseStatusCode` | *string* | :heavy_minus_sign: | Filter data by response status code. | | +| `chainId` | *string* | :heavy_minus_sign: | Filter data by chain ID. | | +| `apiKeyId` | *string* | :heavy_minus_sign: | Filter data by API key ID. | | | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. | | \ No newline at end of file diff --git a/docs/models/operations/getapilogsresponse.md b/docs/models/operations/getapilogsresponse.md index 27f7ac4..bc8acc7 100644 --- a/docs/models/operations/getapilogsresponse.md +++ b/docs/models/operations/getapilogsresponse.md @@ -12,18 +12,18 @@ let value: GetApiLogsResponse = { { orgId: "", logId: "", - eventTimestamp: 7044.74, + eventTimestamp: 3960.6, apiKeyId: "", apiKeyAlias: "", hostRegion: "", requestType: "Glacier API Request", requestPath: "", - apiCreditsConsumed: 4631.5, - requestDurationMsecs: 5654.21, - responseCode: 8404.29, + apiCreditsConsumed: 5654.21, + requestDurationMsecs: 8404.29, + responseCode: 1832.8, metadata: { - ipAddress: "46.52.37.42", - host: "likely-camper.info", + ipAddress: "52.37.42.124", + host: "clumsy-flytrap.net", userAgent: "", }, }, diff --git a/docs/models/operations/getapiusagemetricsrequest.md b/docs/models/operations/getapiusagemetricsrequest.md index 9401c96..f2bda8f 100644 --- a/docs/models/operations/getapiusagemetricsrequest.md +++ b/docs/models/operations/getapiusagemetricsrequest.md @@ -8,7 +8,7 @@ import { GetApiUsageMetricsRequest } from "@avalabs/avacloud-sdk/models/operatio let value: GetApiUsageMetricsRequest = { startTimestamp: 1689541049, endTimestamp: 1689800249, - timeInterval: "hourly", + timeInterval: "daily", groupBy: "requestPath", }; ``` @@ -20,10 +20,10 @@ let value: GetApiUsageMetricsRequest = { | `orgId` | *string* | :heavy_minus_sign: | Organization ID to fetch usage metrics for | | | `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 | -| `timeInterval` | [components.TimeIntervalGranularityExtended](../../models/components/timeintervalgranularityextended.md) | :heavy_minus_sign: | Time interval granularity for data aggregation | hourly | +| `timeInterval` | [components.TimeIntervalGranularityExtended](../../models/components/timeintervalgranularityextended.md) | :heavy_minus_sign: | Time interval granularity for data aggregation | daily | | `groupBy` | [components.UsageMetricsGroupByEnum](../../models/components/usagemetricsgroupbyenum.md) | :heavy_minus_sign: | Query param for the criterion used for grouping metrics | requestPath | -| `requestPath` | *string* | :heavy_minus_sign: | Filter aggregated usage metrics by request path. | | -| `requestType` | [operations.RequestType](../../models/operations/requesttype.md) | :heavy_minus_sign: | Filter aggregated usage metrics by request type. | | -| `responseStatusCode` | *string* | :heavy_minus_sign: | Filter aggregated usage metrics by response status code. | | -| `chainId` | *string* | :heavy_minus_sign: | Filter aggregated usage metrics by chain ID. | | -| `apiKeyId` | *string* | :heavy_minus_sign: | Filter aggregated usage metrics by API key ID. | | \ No newline at end of file +| `requestPath` | *string* | :heavy_minus_sign: | Filter data by request path. | | +| `requestType` | [operations.RequestType](../../models/operations/requesttype.md) | :heavy_minus_sign: | Filter data by request type. | | +| `responseStatusCode` | *string* | :heavy_minus_sign: | Filter data by response status code. | | +| `chainId` | *string* | :heavy_minus_sign: | Filter data by chain ID. | | +| `apiKeyId` | *string* | :heavy_minus_sign: | Filter data by API key ID. | | \ No newline at end of file diff --git a/docs/models/operations/getassetdetailsglobals.md b/docs/models/operations/getassetdetailsglobals.md index e278454..cd73992 100644 --- a/docs/models/operations/getassetdetailsglobals.md +++ b/docs/models/operations/getassetdetailsglobals.md @@ -10,6 +10,6 @@ let value: GetAssetDetailsGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/getassetdetailsrequest.md b/docs/models/operations/getassetdetailsrequest.md index 9e9b41b..1fe3788 100644 --- a/docs/models/operations/getassetdetailsrequest.md +++ b/docs/models/operations/getassetdetailsrequest.md @@ -13,8 +13,8 @@ let value: GetAssetDetailsRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `blockchainId` | [components.XChainId](../../models/components/xchainid.md) | :heavy_check_mark: | A primary network blockchain id or alias. | x-chain | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | -| `assetId` | *string* | :heavy_check_mark: | Asset ID for any asset on X-Chain | th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `blockchainId` | [components.XChainId](../../models/components/xchainid.md) | :heavy_check_mark: | A primary network blockchain id or alias. | x-chain | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | +| `assetId` | *string* | :heavy_check_mark: | Asset ID for any asset on X-Chain | th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof | \ No newline at end of file diff --git a/docs/models/operations/getbalancesbyaddressesglobals.md b/docs/models/operations/getbalancesbyaddressesglobals.md index 39548d8..4ffad23 100644 --- a/docs/models/operations/getbalancesbyaddressesglobals.md +++ b/docs/models/operations/getbalancesbyaddressesglobals.md @@ -10,6 +10,6 @@ let value: GetBalancesByAddressesGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/getbalancesbyaddressesrequest.md b/docs/models/operations/getbalancesbyaddressesrequest.md index d85980a..d405e7a 100644 --- a/docs/models/operations/getbalancesbyaddressesrequest.md +++ b/docs/models/operations/getbalancesbyaddressesrequest.md @@ -19,4 +19,4 @@ let value: GetBalancesByAddressesRequest = { | `blockTimestamp` | *number* | :heavy_minus_sign: | An epoch timestamp in seconds. Balance will be calculated at this timestamp. | 1599696000 | | `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". | avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg | | `blockchainId` | [components.BlockchainId](../../models/components/blockchainid.md) | :heavy_check_mark: | A primary network blockchain id or alias. | p-chain | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | \ No newline at end of file +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/getblockbyidglobals.md b/docs/models/operations/getblockbyidglobals.md index b3588d6..68dfaf9 100644 --- a/docs/models/operations/getblockbyidglobals.md +++ b/docs/models/operations/getblockbyidglobals.md @@ -10,6 +10,6 @@ let value: GetBlockByIdGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/getblockbyidrequest.md b/docs/models/operations/getblockbyidrequest.md index d14fb79..518fa1c 100644 --- a/docs/models/operations/getblockbyidrequest.md +++ b/docs/models/operations/getblockbyidrequest.md @@ -13,8 +13,8 @@ let value: GetBlockByIdRequest = { ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `blockchainId` | [components.BlockchainId](../../models/components/blockchainid.md) | :heavy_check_mark: | A primary network blockchain id or alias. | p-chain | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | -| `blockId` | *string* | :heavy_check_mark: | A block identifier which is either a block number or the block hash. | 5615di9ytxujackzaXNrVuWQy5y8Yrt8chPCscMr5Ku9YxJ1S | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `blockchainId` | [components.BlockchainId](../../models/components/blockchainid.md) | :heavy_check_mark: | A primary network blockchain id or alias. | p-chain | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | +| `blockId` | *string* | :heavy_check_mark: | A block identifier which is either a block number or the block hash. | 5615di9ytxujackzaXNrVuWQy5y8Yrt8chPCscMr5Ku9YxJ1S | \ No newline at end of file diff --git a/docs/models/operations/getchainidsforaddressesglobals.md b/docs/models/operations/getchainidsforaddressesglobals.md index bc30f63..209c244 100644 --- a/docs/models/operations/getchainidsforaddressesglobals.md +++ b/docs/models/operations/getchainidsforaddressesglobals.md @@ -10,6 +10,6 @@ let value: GetChainIdsForAddressesGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/getchainidsforaddressesrequest.md b/docs/models/operations/getchainidsforaddressesrequest.md index 9bcb886..ffe54a1 100644 --- a/docs/models/operations/getchainidsforaddressesrequest.md +++ b/docs/models/operations/getchainidsforaddressesrequest.md @@ -15,4 +15,4 @@ let value: GetChainIdsForAddressesRequest = { | 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". | avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | \ No newline at end of file +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/getcontractmetadataresponsebody.md b/docs/models/operations/getcontractmetadataresponsebody.md index ec412d0..c5dd750 100644 --- a/docs/models/operations/getcontractmetadataresponsebody.md +++ b/docs/models/operations/getcontractmetadataresponsebody.md @@ -14,7 +14,8 @@ let value: GetContractMetadataResponseBody = { txHash: "", deployerAddress: "", }, - ercType: "UNKNOWN", + ercType: "ERC-1155", + symbol: "WAVAX", }; ``` diff --git a/docs/models/operations/getlatestblocksresponse.md b/docs/models/operations/getlatestblocksresponse.md index 0176cc6..4b6e4d8 100644 --- a/docs/models/operations/getlatestblocksresponse.md +++ b/docs/models/operations/getlatestblocksresponse.md @@ -12,7 +12,7 @@ let value: GetLatestBlocksResponse = { blockNumber: "339", blockTimestamp: 1648672486, blockHash: "0x17533aeb5193378b9ff441d61728e7a2ebaf10f61fd5310759451627dfca2e7c", - txCount: 456.14, + txCount: 2091.57, baseFee: "", gasUsed: "", gasLimit: "", diff --git a/docs/models/operations/getnetworkdetailsglobals.md b/docs/models/operations/getnetworkdetailsglobals.md index 9af422f..bb9181e 100644 --- a/docs/models/operations/getnetworkdetailsglobals.md +++ b/docs/models/operations/getnetworkdetailsglobals.md @@ -10,6 +10,6 @@ let value: GetNetworkDetailsGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/getnetworkdetailsrequest.md b/docs/models/operations/getnetworkdetailsrequest.md index 1ec0808..30969d1 100644 --- a/docs/models/operations/getnetworkdetailsrequest.md +++ b/docs/models/operations/getnetworkdetailsrequest.md @@ -10,6 +10,6 @@ let value: GetNetworkDetailsRequest = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/getsinglevalidatordetailsglobals.md b/docs/models/operations/getsinglevalidatordetailsglobals.md index 5280148..53ac4fe 100644 --- a/docs/models/operations/getsinglevalidatordetailsglobals.md +++ b/docs/models/operations/getsinglevalidatordetailsglobals.md @@ -10,6 +10,6 @@ let value: GetSingleValidatorDetailsGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/getsinglevalidatordetailsrequest.md b/docs/models/operations/getsinglevalidatordetailsrequest.md index ce1fc91..f35886e 100644 --- a/docs/models/operations/getsinglevalidatordetailsrequest.md +++ b/docs/models/operations/getsinglevalidatordetailsrequest.md @@ -19,7 +19,7 @@ let value: GetSingleValidatorDetailsRequest = { | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | | `nodeId` | *string* | :heavy_check_mark: | A primary network (P or X chain) nodeId. | NodeID-111111111111111111116DBWJs | | `validationStatus` | [components.ValidationStatusType](../../models/components/validationstatustype.md) | :heavy_minus_sign: | Validation status of the node. | completed | | `sortOrder` | [components.SortOrder](../../models/components/sortorder.md) | :heavy_minus_sign: | The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided. | asc | \ No newline at end of file diff --git a/docs/models/operations/getsubnetbyidglobals.md b/docs/models/operations/getsubnetbyidglobals.md index 7d22f33..67afe30 100644 --- a/docs/models/operations/getsubnetbyidglobals.md +++ b/docs/models/operations/getsubnetbyidglobals.md @@ -10,6 +10,6 @@ let value: GetSubnetByIdGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/getsubnetbyidrequest.md b/docs/models/operations/getsubnetbyidrequest.md index e4e0ef2..7183e34 100644 --- a/docs/models/operations/getsubnetbyidrequest.md +++ b/docs/models/operations/getsubnetbyidrequest.md @@ -12,7 +12,7 @@ let value: GetSubnetByIdRequest = { ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | -| `subnetId` | *string* | :heavy_check_mark: | Subnet ID to fetch details for | 11111111111111111111111111111111LpoYY | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | +| `subnetId` | *string* | :heavy_check_mark: | Subnet ID to fetch details for | 11111111111111111111111111111111LpoYY | \ No newline at end of file diff --git a/docs/models/operations/getteleportermessageresponsebody.md b/docs/models/operations/getteleportermessageresponsebody.md index da9e7c2..49fa1ff 100644 --- a/docs/models/operations/getteleportermessageresponsebody.md +++ b/docs/models/operations/getteleportermessageresponsebody.md @@ -39,14 +39,19 @@ let value: GetTeleporterMessageResponseBody = { }, value: "", }, + sourceTransaction: { + txHash: "", + timestamp: 7316.94, + gasSpent: "", + }, destinationTransaction: { txHash: "", - timestamp: 5521.93, + timestamp: 5844.76, gasSpent: "", rewardRedeemer: "", delivererAddress: "", }, - status: "delivered_source_not_indexed", + status: "delivered", }; ``` diff --git a/docs/models/operations/gettxbyhashglobals.md b/docs/models/operations/gettxbyhashglobals.md index f4d9bae..4264135 100644 --- a/docs/models/operations/gettxbyhashglobals.md +++ b/docs/models/operations/gettxbyhashglobals.md @@ -10,6 +10,6 @@ let value: GetTxByHashGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/gettxbyhashrequest.md b/docs/models/operations/gettxbyhashrequest.md index f1570fa..0bb6e33 100644 --- a/docs/models/operations/gettxbyhashrequest.md +++ b/docs/models/operations/gettxbyhashrequest.md @@ -13,8 +13,8 @@ let value: GetTxByHashRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `blockchainId` | [components.BlockchainId](../../models/components/blockchainid.md) | :heavy_check_mark: | A primary network blockchain id or alias. | p-chain | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | -| `txHash` | *string* | :heavy_check_mark: | A primary network (P or X chain) transaction hash. | 3P91K6nuDFvDodcRuJTsgdf9SvYe5pMiKk38HppsoeAiEztCP | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `blockchainId` | [components.BlockchainId](../../models/components/blockchainid.md) | :heavy_check_mark: | A primary network blockchain id or alias. | p-chain | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | +| `txHash` | *string* | :heavy_check_mark: | A primary network (P or X chain) transaction hash. | 3P91K6nuDFvDodcRuJTsgdf9SvYe5pMiKk38HppsoeAiEztCP | \ No newline at end of file diff --git a/docs/models/operations/getutxosbyaddressesglobals.md b/docs/models/operations/getutxosbyaddressesglobals.md index 98d2562..29ffb32 100644 --- a/docs/models/operations/getutxosbyaddressesglobals.md +++ b/docs/models/operations/getutxosbyaddressesglobals.md @@ -10,6 +10,6 @@ let value: GetUtxosByAddressesGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/getutxosbyaddressesrequest.md b/docs/models/operations/getutxosbyaddressesrequest.md index 3da3f1d..1d9849f 100644 --- a/docs/models/operations/getutxosbyaddressesrequest.md +++ b/docs/models/operations/getutxosbyaddressesrequest.md @@ -21,7 +21,7 @@ let value: GetUtxosByAddressesRequest = { | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | | `blockchainId` | [components.BlockchainId](../../models/components/blockchainid.md) | :heavy_check_mark: | A primary network blockchain id or alias. | p-chain | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | | `assetId` | *string* | :heavy_minus_sign: | Asset ID for any asset (only applicable X-Chain) | | | `includeSpent` | *boolean* | :heavy_minus_sign: | Boolean filter to include spent UTXOs. | | | `sortOrder` | [components.SortOrder](../../models/components/sortorder.md) | :heavy_minus_sign: | The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided. | asc | \ No newline at end of file diff --git a/docs/models/operations/getvertexbyhashglobals.md b/docs/models/operations/getvertexbyhashglobals.md index 2ecca69..2747e33 100644 --- a/docs/models/operations/getvertexbyhashglobals.md +++ b/docs/models/operations/getvertexbyhashglobals.md @@ -10,6 +10,6 @@ let value: GetVertexByHashGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/getvertexbyhashrequest.md b/docs/models/operations/getvertexbyhashrequest.md index 43d7cb4..8966845 100644 --- a/docs/models/operations/getvertexbyhashrequest.md +++ b/docs/models/operations/getvertexbyhashrequest.md @@ -13,8 +13,8 @@ let value: GetVertexByHashRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `vertexHash` | *string* | :heavy_check_mark: | A vertex hash string. | haP1CW56cspZY7aEuqHNrtpvhqCaMTxQaYe6j5u2Mbn4L2Gqr | -| `blockchainId` | [components.XChainId](../../models/components/xchainid.md) | :heavy_check_mark: | A primary network blockchain id or alias. | x-chain | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `vertexHash` | *string* | :heavy_check_mark: | A vertex hash string. | haP1CW56cspZY7aEuqHNrtpvhqCaMTxQaYe6j5u2Mbn4L2Gqr | +| `blockchainId` | [components.XChainId](../../models/components/xchainid.md) | :heavy_check_mark: | A primary network blockchain id or alias. | x-chain | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/getvertexbyheightglobals.md b/docs/models/operations/getvertexbyheightglobals.md index 568e549..4b74a62 100644 --- a/docs/models/operations/getvertexbyheightglobals.md +++ b/docs/models/operations/getvertexbyheightglobals.md @@ -10,6 +10,6 @@ let value: GetVertexByHeightGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/getvertexbyheightrequest.md b/docs/models/operations/getvertexbyheightrequest.md index dffc95e..1adf7ed 100644 --- a/docs/models/operations/getvertexbyheightrequest.md +++ b/docs/models/operations/getvertexbyheightrequest.md @@ -21,5 +21,5 @@ let value: GetVertexByHeightRequest = { | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | | `blockchainId` | [components.XChainId](../../models/components/xchainid.md) | :heavy_check_mark: | A primary network blockchain id or alias. | x-chain | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | | `sortOrder` | [components.SortOrder](../../models/components/sortorder.md) | :heavy_minus_sign: | The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided. | asc | \ No newline at end of file diff --git a/docs/models/operations/listactiveprimarynetworkstakingtransactionsglobals.md b/docs/models/operations/listactiveprimarynetworkstakingtransactionsglobals.md index b1a1924..05b7faa 100644 --- a/docs/models/operations/listactiveprimarynetworkstakingtransactionsglobals.md +++ b/docs/models/operations/listactiveprimarynetworkstakingtransactionsglobals.md @@ -10,6 +10,6 @@ let value: ListActivePrimaryNetworkStakingTransactionsGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/listactiveprimarynetworkstakingtransactionsrequest.md b/docs/models/operations/listactiveprimarynetworkstakingtransactionsrequest.md index a761944..53fb0b2 100644 --- a/docs/models/operations/listactiveprimarynetworkstakingtransactionsrequest.md +++ b/docs/models/operations/listactiveprimarynetworkstakingtransactionsrequest.md @@ -27,5 +27,5 @@ let value: ListActivePrimaryNetworkStakingTransactionsRequest = { | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | | `blockchainId` | [components.PChainId](../../models/components/pchainid.md) | :heavy_check_mark: | A primary network blockchain id or alias. | p-chain | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | | `sortOrder` | [components.SortOrder](../../models/components/sortorder.md) | :heavy_minus_sign: | The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided. | asc | \ No newline at end of file diff --git a/docs/models/operations/listassettransactionsglobals.md b/docs/models/operations/listassettransactionsglobals.md index 88518c2..40cf505 100644 --- a/docs/models/operations/listassettransactionsglobals.md +++ b/docs/models/operations/listassettransactionsglobals.md @@ -10,6 +10,6 @@ let value: ListAssetTransactionsGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/listassettransactionsrequest.md b/docs/models/operations/listassettransactionsrequest.md index cd86994..6fd1195 100644 --- a/docs/models/operations/listassettransactionsrequest.md +++ b/docs/models/operations/listassettransactionsrequest.md @@ -25,5 +25,5 @@ let value: ListAssetTransactionsRequest = { | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | | `blockchainId` | [components.XChainId](../../models/components/xchainid.md) | :heavy_check_mark: | A primary network blockchain id or alias. | x-chain | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | | `assetId` | *string* | :heavy_check_mark: | Asset ID for any asset on X-Chain | th5aLdWLi32yS9ED6uLGoMMubqHjzMsXhKWwzP6yZTYQKYzof | \ No newline at end of file diff --git a/docs/models/operations/listblockchainsglobals.md b/docs/models/operations/listblockchainsglobals.md index e03b0dc..dc2cb09 100644 --- a/docs/models/operations/listblockchainsglobals.md +++ b/docs/models/operations/listblockchainsglobals.md @@ -10,6 +10,6 @@ let value: ListBlockchainsGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/listblockchainsrequest.md b/docs/models/operations/listblockchainsrequest.md index 854dbbb..5af2e80 100644 --- a/docs/models/operations/listblockchainsrequest.md +++ b/docs/models/operations/listblockchainsrequest.md @@ -17,5 +17,5 @@ let value: ListBlockchainsRequest = { | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | | `sortOrder` | [components.SortOrder](../../models/components/sortorder.md) | :heavy_minus_sign: | The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided. | asc | \ No newline at end of file diff --git a/docs/models/operations/listdelegatorsglobals.md b/docs/models/operations/listdelegatorsglobals.md index 97844a8..b35519d 100644 --- a/docs/models/operations/listdelegatorsglobals.md +++ b/docs/models/operations/listdelegatorsglobals.md @@ -10,6 +10,6 @@ let value: ListDelegatorsGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/listdelegatorsrequest.md b/docs/models/operations/listdelegatorsrequest.md index 39bcdd9..e867c49 100644 --- a/docs/models/operations/listdelegatorsrequest.md +++ b/docs/models/operations/listdelegatorsrequest.md @@ -22,7 +22,7 @@ let value: ListDelegatorsRequest = { | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | | `rewardAddresses` | *string* | :heavy_minus_sign: | A comma separated list of reward addresses to filter by. | P-avax1679zrp3z9mf7z4an42ddq47qzj36zv6ga20vwl,P-avax1s7kd0kfndlz6mh3l0etrrcmkg5y366k8e0s6cc | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | | `sortOrder` | [components.SortOrder](../../models/components/sortorder.md) | :heavy_minus_sign: | The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided. | asc | | `delegationStatus` | [components.DelegationStatusType](../../models/components/delegationstatustype.md) | :heavy_minus_sign: | Delegation status of the node. | completed | | `nodeIds` | *string* | :heavy_minus_sign: | A comma separated list of node ids to filter by. | NodeID-111111111111111111116DBWJs,NodeID-222222222222222222227DBWJs | \ No newline at end of file diff --git a/docs/models/operations/listerc1155balancesresponse.md b/docs/models/operations/listerc1155balancesresponse.md index 6cd2672..231c6ab 100644 --- a/docs/models/operations/listerc1155balancesresponse.md +++ b/docs/models/operations/listerc1155balancesresponse.md @@ -14,7 +14,7 @@ let value: ListErc1155BalancesResponse = { tokenId: "", tokenUri: "", metadata: { - indexStatus: "METADATA_CONTENT_TOO_LARGE", + indexStatus: "UNINDEXED", }, chainId: "43114", balance: "2000000000000000000", diff --git a/docs/models/operations/listerc721balancesresponse.md b/docs/models/operations/listerc721balancesresponse.md index 4912af4..c3f06af 100644 --- a/docs/models/operations/listerc721balancesresponse.md +++ b/docs/models/operations/listerc721balancesresponse.md @@ -16,7 +16,7 @@ let value: ListErc721BalancesResponse = { tokenId: "", tokenUri: "", metadata: { - indexStatus: "INVALID_METADATA_JSON", + indexStatus: "UNKNOWN", }, ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", chainId: "43114", diff --git a/docs/models/operations/listhistoricalprimarynetworkrewardsglobals.md b/docs/models/operations/listhistoricalprimarynetworkrewardsglobals.md index 70d2f28..37417c3 100644 --- a/docs/models/operations/listhistoricalprimarynetworkrewardsglobals.md +++ b/docs/models/operations/listhistoricalprimarynetworkrewardsglobals.md @@ -10,6 +10,6 @@ let value: ListHistoricalPrimaryNetworkRewardsGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/listhistoricalprimarynetworkrewardsrequest.md b/docs/models/operations/listhistoricalprimarynetworkrewardsrequest.md index 4546715..0349ab0 100644 --- a/docs/models/operations/listhistoricalprimarynetworkrewardsrequest.md +++ b/docs/models/operations/listhistoricalprimarynetworkrewardsrequest.md @@ -21,7 +21,7 @@ let value: ListHistoricalPrimaryNetworkRewardsRequest = { | `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". Optional, but at least one of addresses or nodeIds is required. | avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg | | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | | `nodeIds` | *string* | :heavy_minus_sign: | A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required. | NodeID-111111111111111111116DBWJs,NodeID-222222222222222222227DBWJs | | `sortOrder` | [components.SortOrder](../../models/components/sortorder.md) | :heavy_minus_sign: | The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided. | asc | | `currency` | [components.CurrencyCode](../../models/components/currencycode.md) | :heavy_minus_sign: | The currency that return values should use. Defaults to USD. | usd | \ No newline at end of file diff --git a/docs/models/operations/listlatestprimarynetworkblocksglobals.md b/docs/models/operations/listlatestprimarynetworkblocksglobals.md index daa6f57..5e97229 100644 --- a/docs/models/operations/listlatestprimarynetworkblocksglobals.md +++ b/docs/models/operations/listlatestprimarynetworkblocksglobals.md @@ -10,6 +10,6 @@ let value: ListLatestPrimaryNetworkBlocksGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/listlatestprimarynetworkblocksrequest.md b/docs/models/operations/listlatestprimarynetworkblocksrequest.md index 4ffb609..46bfe1b 100644 --- a/docs/models/operations/listlatestprimarynetworkblocksrequest.md +++ b/docs/models/operations/listlatestprimarynetworkblocksrequest.md @@ -18,4 +18,4 @@ let value: ListLatestPrimaryNetworkBlocksRequest = { | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | | `blockchainId` | [components.BlockchainId](../../models/components/blockchainid.md) | :heavy_check_mark: | A primary network blockchain id or alias. | p-chain | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | \ No newline at end of file +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/listlatestprimarynetworktransactionsglobals.md b/docs/models/operations/listlatestprimarynetworktransactionsglobals.md index a25bd53..2fcbc7e 100644 --- a/docs/models/operations/listlatestprimarynetworktransactionsglobals.md +++ b/docs/models/operations/listlatestprimarynetworktransactionsglobals.md @@ -10,6 +10,6 @@ let value: ListLatestPrimaryNetworkTransactionsGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/listlatestprimarynetworktransactionsrequest.md b/docs/models/operations/listlatestprimarynetworktransactionsrequest.md index 9674a43..ad66d2b 100644 --- a/docs/models/operations/listlatestprimarynetworktransactionsrequest.md +++ b/docs/models/operations/listlatestprimarynetworktransactionsrequest.md @@ -27,5 +27,5 @@ let value: ListLatestPrimaryNetworkTransactionsRequest = { | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | | `blockchainId` | [components.BlockchainId](../../models/components/blockchainid.md) | :heavy_check_mark: | A primary network blockchain id or alias. | p-chain | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | | `sortOrder` | [components.SortOrder](../../models/components/sortorder.md) | :heavy_minus_sign: | The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided. | asc | \ No newline at end of file diff --git a/docs/models/operations/listlatestxchainverticesglobals.md b/docs/models/operations/listlatestxchainverticesglobals.md index 22144e0..7ccf2f5 100644 --- a/docs/models/operations/listlatestxchainverticesglobals.md +++ b/docs/models/operations/listlatestxchainverticesglobals.md @@ -10,6 +10,6 @@ let value: ListLatestXChainVerticesGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/listlatestxchainverticesrequest.md b/docs/models/operations/listlatestxchainverticesrequest.md index 42ecef2..a8f270a 100644 --- a/docs/models/operations/listlatestxchainverticesrequest.md +++ b/docs/models/operations/listlatestxchainverticesrequest.md @@ -18,4 +18,4 @@ let value: ListLatestXChainVerticesRequest = { | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | | `blockchainId` | [components.XChainId](../../models/components/xchainid.md) | :heavy_check_mark: | A primary network blockchain id or alias. | x-chain | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | \ No newline at end of file +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/listpendingprimarynetworkrewardsglobals.md b/docs/models/operations/listpendingprimarynetworkrewardsglobals.md index f052c4c..98eb9c1 100644 --- a/docs/models/operations/listpendingprimarynetworkrewardsglobals.md +++ b/docs/models/operations/listpendingprimarynetworkrewardsglobals.md @@ -10,6 +10,6 @@ let value: ListPendingPrimaryNetworkRewardsGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/listpendingprimarynetworkrewardsrequest.md b/docs/models/operations/listpendingprimarynetworkrewardsrequest.md index 12e6e06..d304fd2 100644 --- a/docs/models/operations/listpendingprimarynetworkrewardsrequest.md +++ b/docs/models/operations/listpendingprimarynetworkrewardsrequest.md @@ -20,6 +20,6 @@ let value: ListPendingPrimaryNetworkRewardsRequest = { | `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". One of addresses or nodeIds is required. | avax1h2ccj9f5ay5acl6tyn9mwmw32p8wref8vl8ctg | | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | | `nodeIds` | *string* | :heavy_minus_sign: | A comma separated list of node ids to filter by. One of addresses or nodeIds is required. | NodeID-111111111111111111116DBWJs,NodeID-222222222222222222227DBWJs | | `sortOrder` | [components.SortOrder](../../models/components/sortorder.md) | :heavy_minus_sign: | The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided. | asc | \ No newline at end of file diff --git a/docs/models/operations/listprimarynetworkblocksbynodeidglobals.md b/docs/models/operations/listprimarynetworkblocksbynodeidglobals.md index 638c5de..aa9f23f 100644 --- a/docs/models/operations/listprimarynetworkblocksbynodeidglobals.md +++ b/docs/models/operations/listprimarynetworkblocksbynodeidglobals.md @@ -10,6 +10,6 @@ let value: ListPrimaryNetworkBlocksByNodeIdGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/listprimarynetworkblocksbynodeidrequest.md b/docs/models/operations/listprimarynetworkblocksbynodeidrequest.md index 99ea533..40a098a 100644 --- a/docs/models/operations/listprimarynetworkblocksbynodeidrequest.md +++ b/docs/models/operations/listprimarynetworkblocksbynodeidrequest.md @@ -19,5 +19,5 @@ let value: ListPrimaryNetworkBlocksByNodeIdRequest = { | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | | `blockchainId` | [components.BlockchainId](../../models/components/blockchainid.md) | :heavy_check_mark: | A primary network blockchain id or alias. | p-chain | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | | `nodeId` | *string* | :heavy_check_mark: | A primary network (P or X chain) nodeId. | NodeID-111111111111111111116DBWJs | \ No newline at end of file diff --git a/docs/models/operations/listsubnetsglobals.md b/docs/models/operations/listsubnetsglobals.md index 80a5886..280c881 100644 --- a/docs/models/operations/listsubnetsglobals.md +++ b/docs/models/operations/listsubnetsglobals.md @@ -10,6 +10,6 @@ let value: ListSubnetsGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/listsubnetsrequest.md b/docs/models/operations/listsubnetsrequest.md index 31bdcda..1d25da5 100644 --- a/docs/models/operations/listsubnetsrequest.md +++ b/docs/models/operations/listsubnetsrequest.md @@ -17,5 +17,5 @@ let value: ListSubnetsRequest = { | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | | `sortOrder` | [components.SortOrder](../../models/components/sortorder.md) | :heavy_minus_sign: | The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided. | asc | \ No newline at end of file diff --git a/docs/models/operations/listvalidatorsglobals.md b/docs/models/operations/listvalidatorsglobals.md index c4420a5..7062153 100644 --- a/docs/models/operations/listvalidatorsglobals.md +++ b/docs/models/operations/listvalidatorsglobals.md @@ -10,6 +10,6 @@ let value: ListValidatorsGlobals = {}; ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | A supported network type mainnet or a testnet. | mainnet | \ No newline at end of file diff --git a/docs/models/operations/listvalidatorsrequest.md b/docs/models/operations/listvalidatorsrequest.md index 183cae9..013bcec 100644 --- a/docs/models/operations/listvalidatorsrequest.md +++ b/docs/models/operations/listvalidatorsrequest.md @@ -28,7 +28,7 @@ let value: ListValidatorsRequest = { | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `pageToken` | *string* | :heavy_minus_sign: | A page token, received from a previous list call. Provide this to retrieve the subsequent page. | | | `pageSize` | *number* | :heavy_minus_sign: | The maximum number of items to return. The minimum page size is 1. The maximum pageSize is 100. | 10 | -| `network` | [components.Network](../../models/components/network.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | +| `network` | [components.GlobalParamNetwork](../../models/components/globalparamnetwork.md) | :heavy_minus_sign: | Either mainnet or a testnet. | mainnet | | `nodeIds` | *string* | :heavy_minus_sign: | A comma separated list of node ids to filter by. | NodeID-111111111111111111116DBWJs,NodeID-222222222222222222227DBWJs | | `sortBy` | [components.SortByOption](../../models/components/sortbyoption.md) | :heavy_minus_sign: | Which property to sort by, in conjunction with sortOrder.

Note: Delegation fee is only available for mainnet validators. Set `subnetId` to `11111111111111111111111111111111LpoYY` to use this option. | | | `sortOrder` | [components.SortOrder](../../models/components/sortorder.md) | :heavy_minus_sign: | The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided. | asc | diff --git a/docs/models/operations/listwebhooksresponse.md b/docs/models/operations/listwebhooksresponse.md index 9769251..6d920c4 100644 --- a/docs/models/operations/listwebhooksresponse.md +++ b/docs/models/operations/listwebhooksresponse.md @@ -17,12 +17,12 @@ let value: ListWebhooksResponse = { "0x61cbb2a3dee0b6064c2e681aadd61677fb4ef319f0b547508d495626f5a62f64", ], }, - url: "https://warlike-ankle.net", + url: "https://ample-sake.net", chainId: "", status: "inactive", - createdAt: 7486.64, + createdAt: 925.96, name: "", - description: "Compatible transitional conglomeration", + description: "Triple-buffered composite architecture", }, ], }, diff --git a/docs/models/operations/queryparamrequesttype.md b/docs/models/operations/queryparamrequesttype.md new file mode 100644 index 0000000..ede0985 --- /dev/null +++ b/docs/models/operations/queryparamrequesttype.md @@ -0,0 +1,17 @@ +# QueryParamRequestType + +Filter data by request type. + +## Example Usage + +```typescript +import { QueryParamRequestType } from "@avalabs/avacloud-sdk/models/operations"; + +let value: QueryParamRequestType = "Glacier RPC Request"; +``` + +## Values + +```typescript +"Glacier API Request" | "Glacier RPC Request" +``` \ No newline at end of file diff --git a/docs/models/operations/requesttype.md b/docs/models/operations/requesttype.md index 68e383e..e1139d1 100644 --- a/docs/models/operations/requesttype.md +++ b/docs/models/operations/requesttype.md @@ -1,6 +1,6 @@ # RequestType -Filter aggregated usage metrics by request type. +Filter data by request type. ## Example Usage diff --git a/docs/sdks/avacloudsdkbalances/README.md b/docs/sdks/avacloudsdkbalances/README.md index cb4077a..47e62ca 100644 --- a/docs/sdks/avacloudsdkbalances/README.md +++ b/docs/sdks/avacloudsdkbalances/README.md @@ -23,7 +23,7 @@ Balance at a given block can be retrieved with the `blockNumber` parameter. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -53,7 +53,7 @@ import { glacierEvmBalancesGetNativeBalance } from "@avalabs/avacloud-sdk/funcs/ // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -120,7 +120,7 @@ Balance for specific contracts can be retrieved with the `contractAddresses` par import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -154,7 +154,7 @@ import { glacierEvmBalancesListErc20Balances } from "@avalabs/avacloud-sdk/funcs // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -223,7 +223,7 @@ Balance for a specific contract can be retrieved with the `contractAddress` para import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -255,7 +255,7 @@ import { glacierEvmBalancesListErc721Balances } from "@avalabs/avacloud-sdk/func // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -324,7 +324,7 @@ Balance for a specific contract can be retrieved with the `contractAddress` para import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -357,7 +357,7 @@ import { glacierEvmBalancesListErc1155Balances } from "@avalabs/avacloud-sdk/fun // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -425,7 +425,7 @@ Balance for a specific contract can be retrieved with the `contractAddress` para import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -457,7 +457,7 @@ import { glacierEvmBalancesListCollectibleBalances } from "@avalabs/avacloud-sdk // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); diff --git a/docs/sdks/avacloudsdkblocks/README.md b/docs/sdks/avacloudsdkblocks/README.md index a2d161e..7d598ad 100644 --- a/docs/sdks/avacloudsdkblocks/README.md +++ b/docs/sdks/avacloudsdkblocks/README.md @@ -18,7 +18,7 @@ Lists the latest indexed blocks on the EVM-compatible chain sorted in descending import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -48,7 +48,7 @@ import { glacierEvmBlocksGetLatestBlocks } from "@avalabs/avacloud-sdk/funcs/gla // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -111,7 +111,7 @@ Gets the details of an individual block on the EVM-compatible chain. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -139,7 +139,7 @@ import { glacierEvmBlocksGetBlock } from "@avalabs/avacloud-sdk/funcs/glacierEvm // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); diff --git a/docs/sdks/avacloudsdktransactions/README.md b/docs/sdks/avacloudsdktransactions/README.md index a35e49c..8ae8549 100644 --- a/docs/sdks/avacloudsdktransactions/README.md +++ b/docs/sdks/avacloudsdktransactions/README.md @@ -28,7 +28,7 @@ If the address is a smart contract, returns the transaction in which it was depl import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -57,7 +57,7 @@ import { glacierEvmTransactionsGetDeploymentTransaction } from "@avalabs/avaclou // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -119,7 +119,7 @@ Lists all contracts deployed by the given address. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -150,7 +150,7 @@ import { glacierEvmTransactionsListContractDeployments } from "@avalabs/avacloud // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -214,7 +214,7 @@ Lists ERC transfers for an ERC-20, ERC-721, or ERC-1155 contract address. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -247,7 +247,7 @@ import { glacierEvmTransactionsListTransfers } from "@avalabs/avacloud-sdk/funcs // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -315,7 +315,7 @@ Filterable by block ranges. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -349,7 +349,7 @@ import { glacierEvmTransactionsListTransactions } from "@avalabs/avacloud-sdk/fu // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -416,7 +416,7 @@ Lists native transactions for an address. Filterable by block range. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -449,7 +449,7 @@ import { glacierEvmTransactionsListNativeTransactions } from "@avalabs/avacloud- // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -515,7 +515,7 @@ Lists ERC-20 transfers for an address. Filterable by block range. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -548,7 +548,7 @@ import { glacierEvmTransactionsListErc20Transactions } from "@avalabs/avacloud-s // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -614,7 +614,7 @@ Lists ERC-721 transfers for an address. Filterable by block range. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -647,7 +647,7 @@ import { glacierEvmTransactionsListErc721Transactions } from "@avalabs/avacloud- // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -713,7 +713,7 @@ Lists ERC-1155 transfers for an address. Filterable by block range. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -746,7 +746,7 @@ import { glacierEvmTransactionsListErc1155Transactions } from "@avalabs/avacloud // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -814,7 +814,7 @@ Note that the internal transactions list only contains `CALL` or `CALLCODE` tran import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -847,7 +847,7 @@ import { glacierEvmTransactionsListInternalTransactions } from "@avalabs/avaclou // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -913,7 +913,7 @@ Gets the details of a single transaction. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -941,7 +941,7 @@ import { glacierEvmTransactionsGetTransaction } from "@avalabs/avacloud-sdk/func // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -1002,7 +1002,7 @@ Lists the transactions that occured in a given block. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -1030,7 +1030,7 @@ import { glacierEvmTransactionsGetTransactionsForBlock } from "@avalabs/avacloud // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -1091,7 +1091,7 @@ Lists the latest transactions. Filterable by status. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -1121,7 +1121,7 @@ import { glacierEvmTransactionsListLatestTransactions } from "@avalabs/avacloud- // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); diff --git a/docs/sdks/balances/README.md b/docs/sdks/balances/README.md index a5b085f..d3f797c 100644 --- a/docs/sdks/balances/README.md +++ b/docs/sdks/balances/README.md @@ -19,7 +19,7 @@ C-Chain balances returned are only the shared atomic memory balance. For EVM bal import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -49,7 +49,7 @@ import { glacierPrimaryNetworkBalancesGetBalancesByAddresses } from "@avalabs/av // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); diff --git a/docs/sdks/blocks/README.md b/docs/sdks/blocks/README.md index ef0fbdf..64e4761 100644 --- a/docs/sdks/blocks/README.md +++ b/docs/sdks/blocks/README.md @@ -19,7 +19,7 @@ Gets a block by block height or block hash on one of the Primary Network chains. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -48,7 +48,7 @@ import { glacierPrimaryNetworkBlocksGetBlockById } from "@avalabs/avacloud-sdk/f // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -110,7 +110,7 @@ Lists the latest blocks proposed by a given NodeID on one of the Primary Network import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -142,7 +142,7 @@ import { glacierPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId } from "@av // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -207,7 +207,7 @@ Lists latest blocks on one of the Primary Network chains. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -238,7 +238,7 @@ import { glacierPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks } from "@aval // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); diff --git a/docs/sdks/chains/README.md b/docs/sdks/chains/README.md index dcd737c..ff31d6c 100644 --- a/docs/sdks/chains/README.md +++ b/docs/sdks/chains/README.md @@ -18,7 +18,7 @@ Lists the supported EVM-compatible chains. Filterable by network. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -47,7 +47,7 @@ import { glacierEvmChainsSupportedChains } from "@avalabs/avacloud-sdk/funcs/gla // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -109,7 +109,7 @@ Gets chain information for the EVM-compatible chain if supported by the api. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -135,7 +135,7 @@ import { glacierEvmChainsGetChainInfo } from "@avalabs/avacloud-sdk/funcs/glacie // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); diff --git a/docs/sdks/contracts/README.md b/docs/sdks/contracts/README.md index bf6f002..e4f7a64 100644 --- a/docs/sdks/contracts/README.md +++ b/docs/sdks/contracts/README.md @@ -17,7 +17,7 @@ Gets metadata about the contract at the given address. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -45,7 +45,7 @@ import { glacierEvmContractsGetContractMetadata } from "@avalabs/avacloud-sdk/fu // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); diff --git a/docs/sdks/healthcheck/README.md b/docs/sdks/healthcheck/README.md index 0b48a9f..8a92e9a 100644 --- a/docs/sdks/healthcheck/README.md +++ b/docs/sdks/healthcheck/README.md @@ -17,7 +17,7 @@ Get the health of the service import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -43,7 +43,7 @@ import { glacierHealthCheckGlacierHealthCheck } from "@avalabs/avacloud-sdk/func // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); diff --git a/docs/sdks/nfts/README.md b/docs/sdks/nfts/README.md index 53e358f..3f017c3 100644 --- a/docs/sdks/nfts/README.md +++ b/docs/sdks/nfts/README.md @@ -19,7 +19,7 @@ Triggers reindexing of token metadata for an NFT token. Reindexing can only be c import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -47,7 +47,7 @@ import { glacierNftsReindexNft } from "@avalabs/avacloud-sdk/funcs/glacierNftsRe // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -108,7 +108,7 @@ Lists tokens for an NFT contract. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -139,7 +139,7 @@ import { glacierNftsListTokens } from "@avalabs/avacloud-sdk/funcs/glacierNftsLi // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -203,7 +203,7 @@ Gets token details for a specific token of an NFT contract. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -232,7 +232,7 @@ import { glacierNftsGetTokenDetails } from "@avalabs/avacloud-sdk/funcs/glacierN // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); diff --git a/docs/sdks/operations/README.md b/docs/sdks/operations/README.md index 2750025..6225626 100644 --- a/docs/sdks/operations/README.md +++ b/docs/sdks/operations/README.md @@ -18,7 +18,7 @@ Gets operation details for the given operation id. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -46,7 +46,7 @@ import { glacierOperationsGetOperationResult } from "@avalabs/avacloud-sdk/funcs // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -109,7 +109,7 @@ The transaction export operation runs asynchronously in the background. The stat import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -146,7 +146,7 @@ import { glacierOperationsPostTransactionExportJob } from "@avalabs/avacloud-sdk // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); diff --git a/docs/sdks/primarynetwork/README.md b/docs/sdks/primarynetwork/README.md index b35230c..0bf98d1 100644 --- a/docs/sdks/primarynetwork/README.md +++ b/docs/sdks/primarynetwork/README.md @@ -25,7 +25,7 @@ Gets asset details corresponding to the given asset id on the X-Chain. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -54,7 +54,7 @@ import { glacierPrimaryNetworkGetAssetDetails } from "@avalabs/avacloud-sdk/func // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -116,7 +116,7 @@ Returns Primary Network chains that each address has touched in the form of an a import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -144,7 +144,7 @@ import { glacierPrimaryNetworkGetChainIdsForAddresses } from "@avalabs/avacloud- // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -205,7 +205,7 @@ Gets network details such as validator and delegator stats. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -231,7 +231,7 @@ import { glacierPrimaryNetworkGetNetworkDetails } from "@avalabs/avacloud-sdk/fu // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -290,7 +290,7 @@ Lists all blockchains registered on the network. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -321,7 +321,7 @@ import { glacierPrimaryNetworkListBlockchains } from "@avalabs/avacloud-sdk/func // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -385,7 +385,7 @@ Lists all subnets registered on the network. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -416,7 +416,7 @@ import { glacierPrimaryNetworkListSubnets } from "@avalabs/avacloud-sdk/funcs/gl // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -480,7 +480,7 @@ Get details of the Subnet registered on the network. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -508,7 +508,7 @@ import { glacierPrimaryNetworkGetSubnetById } from "@avalabs/avacloud-sdk/funcs/ // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -569,7 +569,7 @@ Lists details for validators. By default, returns details for all validators. Fi import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -611,7 +611,7 @@ import { glacierPrimaryNetworkListValidators } from "@avalabs/avacloud-sdk/funcs // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -686,7 +686,7 @@ List validator details for a single validator. Filterable by validation status. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -719,7 +719,7 @@ import { glacierPrimaryNetworkGetSingleValidatorDetails } from "@avalabs/avaclou // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -785,7 +785,7 @@ Lists details for delegators. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -819,7 +819,7 @@ import { glacierPrimaryNetworkListDelegators } from "@avalabs/avacloud-sdk/funcs // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); diff --git a/docs/sdks/rewards/README.md b/docs/sdks/rewards/README.md index f035464..ed81e27 100644 --- a/docs/sdks/rewards/README.md +++ b/docs/sdks/rewards/README.md @@ -18,7 +18,7 @@ Lists pending rewards on the Primary Network for the supplied addresses. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -51,7 +51,7 @@ import { glacierPrimaryNetworkRewardsListPendingPrimaryNetworkRewards } from "@a // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -117,7 +117,7 @@ Lists historical rewards on the Primary Network for the supplied addresses. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -151,7 +151,7 @@ import { glacierPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewards } from // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); diff --git a/docs/sdks/teleporter/README.md b/docs/sdks/teleporter/README.md index d2ff875..8ae339e 100644 --- a/docs/sdks/teleporter/README.md +++ b/docs/sdks/teleporter/README.md @@ -18,7 +18,7 @@ Gets a teleporter message by message ID. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -46,7 +46,7 @@ import { glacierTeleporterGetTeleporterMessage } from "@avalabs/avacloud-sdk/fun // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -107,7 +107,7 @@ Lists teleporter messages. Ordered by timestamp in descending order. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -142,7 +142,7 @@ import { glacierTeleporterListTeleporterMessages } from "@avalabs/avacloud-sdk/f // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); diff --git a/docs/sdks/transactions/README.md b/docs/sdks/transactions/README.md index f326266..b5827cd 100644 --- a/docs/sdks/transactions/README.md +++ b/docs/sdks/transactions/README.md @@ -20,7 +20,7 @@ Gets the details of a single transaction on one of the Primary Network chains. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -49,7 +49,7 @@ import { glacierPrimaryNetworkTransactionsGetTxByHash } from "@avalabs/avacloud- // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -115,7 +115,7 @@ Given that each transaction may return a large number of UTXO objects, bounded o import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -153,7 +153,7 @@ import { glacierPrimaryNetworkTransactionsListLatestPrimaryNetworkTransactions } // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -224,7 +224,7 @@ Lists active staking transactions on the P-Chain for the supplied addresses. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -262,7 +262,7 @@ import { glacierPrimaryNetworkTransactionsListActivePrimaryNetworkStakingTransac // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -333,7 +333,7 @@ Lists asset transactions corresponding to the given asset id on the X-Chain. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -370,7 +370,7 @@ import { glacierPrimaryNetworkTransactionsListAssetTransactions } from "@avalabs // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); diff --git a/docs/sdks/usagemetrics/README.md b/docs/sdks/usagemetrics/README.md index 7435c4b..d241be7 100644 --- a/docs/sdks/usagemetrics/README.md +++ b/docs/sdks/usagemetrics/README.md @@ -18,7 +18,7 @@ Gets metrics for Glacier API usage over a specified time interval aggregated at import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -27,7 +27,7 @@ async function run() { const result = await avaCloudSDK.glacier.usageMetrics.getApiUsageMetrics({ startTimestamp: 1689541049, endTimestamp: 1689800249, - timeInterval: "hourly", + timeInterval: "daily", groupBy: "requestPath", }); @@ -49,7 +49,7 @@ import { glacierUsageMetricsGetApiUsageMetrics } from "@avalabs/avacloud-sdk/fun // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -58,7 +58,7 @@ async function run() { const res = await glacierUsageMetricsGetApiUsageMetrics(avaCloudSDK, { startTimestamp: 1689541049, endTimestamp: 1689800249, - timeInterval: "hourly", + timeInterval: "daily", groupBy: "requestPath", }); @@ -113,7 +113,7 @@ Gets logs for requests made by client over a specified time interval for a speci import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -144,7 +144,7 @@ import { glacierUsageMetricsGetApiLogs } from "@avalabs/avacloud-sdk/funcs/glaci // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); diff --git a/docs/sdks/utxos/README.md b/docs/sdks/utxos/README.md index bab208c..872dc26 100644 --- a/docs/sdks/utxos/README.md +++ b/docs/sdks/utxos/README.md @@ -17,7 +17,7 @@ Lists UTXOs on one of the Primary Network chains for the supplied addresses. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -50,7 +50,7 @@ import { glacierPrimaryNetworkUtxosGetUtxosByAddresses } from "@avalabs/avacloud // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); diff --git a/docs/sdks/vertices/README.md b/docs/sdks/vertices/README.md index aeb24ef..3939ed2 100644 --- a/docs/sdks/vertices/README.md +++ b/docs/sdks/vertices/README.md @@ -19,7 +19,7 @@ Lists latest vertices on the X-Chain. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -50,7 +50,7 @@ import { glacierPrimaryNetworkVerticesListLatestXChainVertices } from "@avalabs/ // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -114,7 +114,7 @@ Gets a single vertex on the X-Chain. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -143,7 +143,7 @@ import { glacierPrimaryNetworkVerticesGetVertexByHash } from "@avalabs/avacloud- // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -205,7 +205,7 @@ Lists vertices at the given vertex height on the X-Chain. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -238,7 +238,7 @@ import { glacierPrimaryNetworkVerticesGetVertexByHeight } from "@avalabs/avaclou // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); diff --git a/docs/sdks/webhooks/README.md b/docs/sdks/webhooks/README.md index e64a082..2d35982 100644 --- a/docs/sdks/webhooks/README.md +++ b/docs/sdks/webhooks/README.md @@ -26,7 +26,7 @@ Lists webhooks for the user. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -57,7 +57,7 @@ import { glacierWebhooksListWebhooks } from "@avalabs/avacloud-sdk/funcs/glacier // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -121,7 +121,7 @@ Create a new webhook. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -159,7 +159,7 @@ import { glacierWebhooksCreateWebhook } from "@avalabs/avacloud-sdk/funcs/glacie // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -230,7 +230,7 @@ Retrieves a webhook by ID. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -258,7 +258,7 @@ import { glacierWebhooksGetWebhook } from "@avalabs/avacloud-sdk/funcs/glacierWe // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -319,7 +319,7 @@ Deactivates a webhook by ID. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -347,7 +347,7 @@ import { glacierWebhooksDeactivateWebhook } from "@avalabs/avacloud-sdk/funcs/gl // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -408,7 +408,7 @@ Updates an existing webhook. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -437,7 +437,7 @@ import { glacierWebhooksUpdateWebhook } from "@avalabs/avacloud-sdk/funcs/glacie // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -499,7 +499,7 @@ Generates a new shared secret. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -525,7 +525,7 @@ import { glacierWebhooksGenerateSharedSecret } from "@avalabs/avacloud-sdk/funcs // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -583,7 +583,7 @@ Get a previously generated shared secret. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -609,7 +609,7 @@ import { glacierWebhooksGetSharedSecret } from "@avalabs/avacloud-sdk/funcs/glac // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -667,7 +667,7 @@ List adresses by webhook. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -698,7 +698,7 @@ import { glacierWebhooksGetAddressesFromWebhook } from "@avalabs/avacloud-sdk/fu // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -762,7 +762,7 @@ Remove addresses from webhook. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -795,7 +795,7 @@ import { glacierWebhooksRemoveAddressesFromWebhook } from "@avalabs/avacloud-sdk // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -861,7 +861,7 @@ Add addresses to webhook. import { AvaCloudSDK } from "@avalabs/avacloud-sdk"; const avaCloudSDK = new AvaCloudSDK({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); @@ -894,7 +894,7 @@ import { glacierWebhooksAddAddressesToWebhook } from "@avalabs/avacloud-sdk/func // Use `AvaCloudSDKCore` for best tree-shaking performance. // You can create one instance of it to use across an application. const avaCloudSDK = new AvaCloudSDKCore({ - glacierApiKey: "", + apiKey: "", chainId: "43114", network: "mainnet", }); diff --git a/package-lock.json b/package-lock.json index fad2b14..6b6e33b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@avalabs/avacloud-sdk", - "version": "0.1.0", + "version": "0.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@avalabs/avacloud-sdk", - "version": "0.1.0", + "version": "0.2.0", "dependencies": { "json-canonicalize": "^1.0.6" }, diff --git a/package.json b/package.json index 0af29b8..746c1e1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@avalabs/avacloud-sdk", - "version": "0.1.0", + "version": "0.2.0", "author": "Speakeasy", "main": "./index.js", "sideEffects": false, diff --git a/src/funcs/glacierEvmBalancesGetNativeBalance.ts b/src/funcs/glacierEvmBalancesGetNativeBalance.ts index 24bfcd2..2ed41b4 100644 --- a/src/funcs/glacierEvmBalancesGetNativeBalance.ts +++ b/src/funcs/glacierEvmBalancesGetNativeBalance.ts @@ -95,12 +95,12 @@ export async function glacierEvmBalancesGetNativeBalance( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getNativeBalance", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmBalancesListCollectibleBalances.ts b/src/funcs/glacierEvmBalancesListCollectibleBalances.ts index 71ce826..91ee9f5 100644 --- a/src/funcs/glacierEvmBalancesListCollectibleBalances.ts +++ b/src/funcs/glacierEvmBalancesListCollectibleBalances.ts @@ -99,12 +99,12 @@ export async function glacierEvmBalancesListCollectibleBalances( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listCollectibleBalances", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmBalancesListErc1155Balances.ts b/src/funcs/glacierEvmBalancesListErc1155Balances.ts index 61c7573..da2c9e6 100644 --- a/src/funcs/glacierEvmBalancesListErc1155Balances.ts +++ b/src/funcs/glacierEvmBalancesListErc1155Balances.ts @@ -102,12 +102,12 @@ export async function glacierEvmBalancesListErc1155Balances( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listErc1155Balances", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmBalancesListErc20Balances.ts b/src/funcs/glacierEvmBalancesListErc20Balances.ts index 6f2cc04..ac96bd1 100644 --- a/src/funcs/glacierEvmBalancesListErc20Balances.ts +++ b/src/funcs/glacierEvmBalancesListErc20Balances.ts @@ -104,12 +104,12 @@ export async function glacierEvmBalancesListErc20Balances( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listErc20Balances", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmBalancesListErc721Balances.ts b/src/funcs/glacierEvmBalancesListErc721Balances.ts index 464552b..e5d303f 100644 --- a/src/funcs/glacierEvmBalancesListErc721Balances.ts +++ b/src/funcs/glacierEvmBalancesListErc721Balances.ts @@ -99,12 +99,12 @@ export async function glacierEvmBalancesListErc721Balances( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listErc721Balances", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmBlocksGetBlock.ts b/src/funcs/glacierEvmBlocksGetBlock.ts index e3a1563..192da3d 100644 --- a/src/funcs/glacierEvmBlocksGetBlock.ts +++ b/src/funcs/glacierEvmBlocksGetBlock.ts @@ -83,12 +83,12 @@ export async function glacierEvmBlocksGetBlock( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getBlock", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmBlocksGetLatestBlocks.ts b/src/funcs/glacierEvmBlocksGetLatestBlocks.ts index 39cc8a3..effb9c9 100644 --- a/src/funcs/glacierEvmBlocksGetLatestBlocks.ts +++ b/src/funcs/glacierEvmBlocksGetLatestBlocks.ts @@ -90,12 +90,12 @@ export async function glacierEvmBlocksGetLatestBlocks( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getLatestBlocks", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmChainsGetChainInfo.ts b/src/funcs/glacierEvmChainsGetChainInfo.ts index 8b2955d..5581078 100644 --- a/src/funcs/glacierEvmChainsGetChainInfo.ts +++ b/src/funcs/glacierEvmChainsGetChainInfo.ts @@ -79,12 +79,12 @@ export async function glacierEvmChainsGetChainInfo( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getChainInfo", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmChainsSupportedChains.ts b/src/funcs/glacierEvmChainsSupportedChains.ts index d5eec3f..1286879 100644 --- a/src/funcs/glacierEvmChainsSupportedChains.ts +++ b/src/funcs/glacierEvmChainsSupportedChains.ts @@ -77,12 +77,12 @@ export async function glacierEvmChainsSupportedChains( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "supportedChains", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmContractsGetContractMetadata.ts b/src/funcs/glacierEvmContractsGetContractMetadata.ts index 8794292..8db3659 100644 --- a/src/funcs/glacierEvmContractsGetContractMetadata.ts +++ b/src/funcs/glacierEvmContractsGetContractMetadata.ts @@ -82,12 +82,12 @@ export async function glacierEvmContractsGetContractMetadata( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getContractMetadata", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmTransactionsGetDeploymentTransaction.ts b/src/funcs/glacierEvmTransactionsGetDeploymentTransaction.ts index 2583601..08940e1 100644 --- a/src/funcs/glacierEvmTransactionsGetDeploymentTransaction.ts +++ b/src/funcs/glacierEvmTransactionsGetDeploymentTransaction.ts @@ -92,12 +92,12 @@ export async function glacierEvmTransactionsGetDeploymentTransaction( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getDeploymentTransaction", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmTransactionsGetTransaction.ts b/src/funcs/glacierEvmTransactionsGetTransaction.ts index dbf6b16..2322142 100644 --- a/src/funcs/glacierEvmTransactionsGetTransaction.ts +++ b/src/funcs/glacierEvmTransactionsGetTransaction.ts @@ -83,12 +83,12 @@ export async function glacierEvmTransactionsGetTransaction( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getTransaction", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmTransactionsGetTransactionsForBlock.ts b/src/funcs/glacierEvmTransactionsGetTransactionsForBlock.ts index 16be1d9..f7725fb 100644 --- a/src/funcs/glacierEvmTransactionsGetTransactionsForBlock.ts +++ b/src/funcs/glacierEvmTransactionsGetTransactionsForBlock.ts @@ -83,12 +83,12 @@ export async function glacierEvmTransactionsGetTransactionsForBlock( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getTransactionsForBlock", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmTransactionsListContractDeployments.ts b/src/funcs/glacierEvmTransactionsListContractDeployments.ts index 15d5965..00a5f6d 100644 --- a/src/funcs/glacierEvmTransactionsListContractDeployments.ts +++ b/src/funcs/glacierEvmTransactionsListContractDeployments.ts @@ -94,12 +94,12 @@ export async function glacierEvmTransactionsListContractDeployments( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listContractDeployments", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmTransactionsListErc1155Transactions.ts b/src/funcs/glacierEvmTransactionsListErc1155Transactions.ts index 76b9aec..cd7f2ac 100644 --- a/src/funcs/glacierEvmTransactionsListErc1155Transactions.ts +++ b/src/funcs/glacierEvmTransactionsListErc1155Transactions.ts @@ -98,12 +98,12 @@ export async function glacierEvmTransactionsListErc1155Transactions( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listErc1155Transactions", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmTransactionsListErc20Transactions.ts b/src/funcs/glacierEvmTransactionsListErc20Transactions.ts index 4452b14..0cda84c 100644 --- a/src/funcs/glacierEvmTransactionsListErc20Transactions.ts +++ b/src/funcs/glacierEvmTransactionsListErc20Transactions.ts @@ -98,12 +98,12 @@ export async function glacierEvmTransactionsListErc20Transactions( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listErc20Transactions", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmTransactionsListErc721Transactions.ts b/src/funcs/glacierEvmTransactionsListErc721Transactions.ts index 934a96c..f5a4e88 100644 --- a/src/funcs/glacierEvmTransactionsListErc721Transactions.ts +++ b/src/funcs/glacierEvmTransactionsListErc721Transactions.ts @@ -98,12 +98,12 @@ export async function glacierEvmTransactionsListErc721Transactions( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listErc721Transactions", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmTransactionsListInternalTransactions.ts b/src/funcs/glacierEvmTransactionsListInternalTransactions.ts index 69e4817..9729206 100644 --- a/src/funcs/glacierEvmTransactionsListInternalTransactions.ts +++ b/src/funcs/glacierEvmTransactionsListInternalTransactions.ts @@ -100,12 +100,12 @@ export async function glacierEvmTransactionsListInternalTransactions( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listInternalTransactions", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmTransactionsListLatestTransactions.ts b/src/funcs/glacierEvmTransactionsListLatestTransactions.ts index 13da963..6b7d94f 100644 --- a/src/funcs/glacierEvmTransactionsListLatestTransactions.ts +++ b/src/funcs/glacierEvmTransactionsListLatestTransactions.ts @@ -91,12 +91,12 @@ export async function glacierEvmTransactionsListLatestTransactions( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listLatestTransactions", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmTransactionsListNativeTransactions.ts b/src/funcs/glacierEvmTransactionsListNativeTransactions.ts index f105bc3..9ab86cf 100644 --- a/src/funcs/glacierEvmTransactionsListNativeTransactions.ts +++ b/src/funcs/glacierEvmTransactionsListNativeTransactions.ts @@ -98,12 +98,12 @@ export async function glacierEvmTransactionsListNativeTransactions( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listNativeTransactions", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmTransactionsListTransactions.ts b/src/funcs/glacierEvmTransactionsListTransactions.ts index 7fb6883..89b8ff8 100644 --- a/src/funcs/glacierEvmTransactionsListTransactions.ts +++ b/src/funcs/glacierEvmTransactionsListTransactions.ts @@ -99,12 +99,12 @@ export async function glacierEvmTransactionsListTransactions( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listTransactions", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierEvmTransactionsListTransfers.ts b/src/funcs/glacierEvmTransactionsListTransfers.ts index e777b95..090f2f0 100644 --- a/src/funcs/glacierEvmTransactionsListTransfers.ts +++ b/src/funcs/glacierEvmTransactionsListTransfers.ts @@ -96,12 +96,12 @@ export async function glacierEvmTransactionsListTransfers( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listTransfers", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierHealthCheckGlacierHealthCheck.ts b/src/funcs/glacierHealthCheckGlacierHealthCheck.ts index 0085123..bb08d6e 100644 --- a/src/funcs/glacierHealthCheckGlacierHealthCheck.ts +++ b/src/funcs/glacierHealthCheckGlacierHealthCheck.ts @@ -45,12 +45,12 @@ export async function glacierHealthCheckGlacierHealthCheck( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "glacier-health-check", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierNftsGetTokenDetails.ts b/src/funcs/glacierNftsGetTokenDetails.ts index a343ba0..79cd7d0 100644 --- a/src/funcs/glacierNftsGetTokenDetails.ts +++ b/src/funcs/glacierNftsGetTokenDetails.ts @@ -88,12 +88,12 @@ export async function glacierNftsGetTokenDetails( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getTokenDetails", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierNftsListTokens.ts b/src/funcs/glacierNftsListTokens.ts index e9095b3..1283179 100644 --- a/src/funcs/glacierNftsListTokens.ts +++ b/src/funcs/glacierNftsListTokens.ts @@ -94,12 +94,12 @@ export async function glacierNftsListTokens( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listTokens", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierNftsReindexNft.ts b/src/funcs/glacierNftsReindexNft.ts index 5d9969d..0c7244e 100644 --- a/src/funcs/glacierNftsReindexNft.ts +++ b/src/funcs/glacierNftsReindexNft.ts @@ -89,12 +89,12 @@ export async function glacierNftsReindexNft( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "reindexNft", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierOperationsGetOperationResult.ts b/src/funcs/glacierOperationsGetOperationResult.ts index be1c442..38f806e 100644 --- a/src/funcs/glacierOperationsGetOperationResult.ts +++ b/src/funcs/glacierOperationsGetOperationResult.ts @@ -79,12 +79,12 @@ export async function glacierOperationsGetOperationResult( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getOperationResult", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierOperationsPostTransactionExportJob.ts b/src/funcs/glacierOperationsPostTransactionExportJob.ts index ec70de8..a3535f5 100644 --- a/src/funcs/glacierOperationsPostTransactionExportJob.ts +++ b/src/funcs/glacierOperationsPostTransactionExportJob.ts @@ -75,12 +75,12 @@ export async function glacierOperationsPostTransactionExportJob( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "postTransactionExportJob", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkBalancesGetBalancesByAddresses.ts b/src/funcs/glacierPrimaryNetworkBalancesGetBalancesByAddresses.ts index bf3a087..915d43e 100644 --- a/src/funcs/glacierPrimaryNetworkBalancesGetBalancesByAddresses.ts +++ b/src/funcs/glacierPrimaryNetworkBalancesGetBalancesByAddresses.ts @@ -94,12 +94,12 @@ export async function glacierPrimaryNetworkBalancesGetBalancesByAddresses( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getBalancesByAddresses", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkBlocksGetBlockById.ts b/src/funcs/glacierPrimaryNetworkBlocksGetBlockById.ts index 4b1bdb3..e066183 100644 --- a/src/funcs/glacierPrimaryNetworkBlocksGetBlockById.ts +++ b/src/funcs/glacierPrimaryNetworkBlocksGetBlockById.ts @@ -89,12 +89,12 @@ export async function glacierPrimaryNetworkBlocksGetBlockById( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getBlockById", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks.ts b/src/funcs/glacierPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks.ts index bb3ca51..26e20fc 100644 --- a/src/funcs/glacierPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks.ts +++ b/src/funcs/glacierPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks.ts @@ -96,12 +96,12 @@ export async function glacierPrimaryNetworkBlocksListLatestPrimaryNetworkBlocks( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listLatestPrimaryNetworkBlocks", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId.ts b/src/funcs/glacierPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId.ts index b92f298..086b740 100644 --- a/src/funcs/glacierPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId.ts +++ b/src/funcs/glacierPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeId.ts @@ -100,12 +100,12 @@ export async function glacierPrimaryNetworkBlocksListPrimaryNetworkBlocksByNodeI Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listPrimaryNetworkBlocksByNodeId", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkGetAssetDetails.ts b/src/funcs/glacierPrimaryNetworkGetAssetDetails.ts index 4e3fa2e..4430433 100644 --- a/src/funcs/glacierPrimaryNetworkGetAssetDetails.ts +++ b/src/funcs/glacierPrimaryNetworkGetAssetDetails.ts @@ -89,12 +89,12 @@ export async function glacierPrimaryNetworkGetAssetDetails( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getAssetDetails", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkGetChainIdsForAddresses.ts b/src/funcs/glacierPrimaryNetworkGetChainIdsForAddresses.ts index 8e460c9..9325229 100644 --- a/src/funcs/glacierPrimaryNetworkGetChainIdsForAddresses.ts +++ b/src/funcs/glacierPrimaryNetworkGetChainIdsForAddresses.ts @@ -86,12 +86,12 @@ export async function glacierPrimaryNetworkGetChainIdsForAddresses( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getChainIdsForAddresses", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkGetNetworkDetails.ts b/src/funcs/glacierPrimaryNetworkGetNetworkDetails.ts index 040fac9..b597b03 100644 --- a/src/funcs/glacierPrimaryNetworkGetNetworkDetails.ts +++ b/src/funcs/glacierPrimaryNetworkGetNetworkDetails.ts @@ -79,12 +79,12 @@ export async function glacierPrimaryNetworkGetNetworkDetails( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getNetworkDetails", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkGetSingleValidatorDetails.ts b/src/funcs/glacierPrimaryNetworkGetSingleValidatorDetails.ts index ba42a40..6b71e36 100644 --- a/src/funcs/glacierPrimaryNetworkGetSingleValidatorDetails.ts +++ b/src/funcs/glacierPrimaryNetworkGetSingleValidatorDetails.ts @@ -96,12 +96,12 @@ export async function glacierPrimaryNetworkGetSingleValidatorDetails( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getSingleValidatorDetails", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkGetSubnetById.ts b/src/funcs/glacierPrimaryNetworkGetSubnetById.ts index a49ba2e..a816dd6 100644 --- a/src/funcs/glacierPrimaryNetworkGetSubnetById.ts +++ b/src/funcs/glacierPrimaryNetworkGetSubnetById.ts @@ -83,12 +83,12 @@ export async function glacierPrimaryNetworkGetSubnetById( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getSubnetById", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkListBlockchains.ts b/src/funcs/glacierPrimaryNetworkListBlockchains.ts index e7a5e7b..9ee000e 100644 --- a/src/funcs/glacierPrimaryNetworkListBlockchains.ts +++ b/src/funcs/glacierPrimaryNetworkListBlockchains.ts @@ -91,12 +91,12 @@ export async function glacierPrimaryNetworkListBlockchains( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listBlockchains", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkListDelegators.ts b/src/funcs/glacierPrimaryNetworkListDelegators.ts index 7d79d30..d978aaa 100644 --- a/src/funcs/glacierPrimaryNetworkListDelegators.ts +++ b/src/funcs/glacierPrimaryNetworkListDelegators.ts @@ -94,12 +94,12 @@ export async function glacierPrimaryNetworkListDelegators( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listDelegators", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkListSubnets.ts b/src/funcs/glacierPrimaryNetworkListSubnets.ts index 8228336..3ce8373 100644 --- a/src/funcs/glacierPrimaryNetworkListSubnets.ts +++ b/src/funcs/glacierPrimaryNetworkListSubnets.ts @@ -91,12 +91,12 @@ export async function glacierPrimaryNetworkListSubnets( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listSubnets", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkListValidators.ts b/src/funcs/glacierPrimaryNetworkListValidators.ts index 85ee9ff..5d3341a 100644 --- a/src/funcs/glacierPrimaryNetworkListValidators.ts +++ b/src/funcs/glacierPrimaryNetworkListValidators.ts @@ -103,12 +103,12 @@ export async function glacierPrimaryNetworkListValidators( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listValidators", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewards.ts b/src/funcs/glacierPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewards.ts index 10f40a5..5f26f8c 100644 --- a/src/funcs/glacierPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewards.ts +++ b/src/funcs/glacierPrimaryNetworkRewardsListHistoricalPrimaryNetworkRewards.ts @@ -95,12 +95,12 @@ export async function glacierPrimaryNetworkRewardsListHistoricalPrimaryNetworkRe Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listHistoricalPrimaryNetworkRewards", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkRewardsListPendingPrimaryNetworkRewards.ts b/src/funcs/glacierPrimaryNetworkRewardsListPendingPrimaryNetworkRewards.ts index 6da55c3..a610cd6 100644 --- a/src/funcs/glacierPrimaryNetworkRewardsListPendingPrimaryNetworkRewards.ts +++ b/src/funcs/glacierPrimaryNetworkRewardsListPendingPrimaryNetworkRewards.ts @@ -93,12 +93,12 @@ export async function glacierPrimaryNetworkRewardsListPendingPrimaryNetworkRewar Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listPendingPrimaryNetworkRewards", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkTransactionsGetTxByHash.ts b/src/funcs/glacierPrimaryNetworkTransactionsGetTxByHash.ts index 1a08ec9..d729e41 100644 --- a/src/funcs/glacierPrimaryNetworkTransactionsGetTxByHash.ts +++ b/src/funcs/glacierPrimaryNetworkTransactionsGetTxByHash.ts @@ -88,12 +88,12 @@ export async function glacierPrimaryNetworkTransactionsGetTxByHash( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getTxByHash", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkTransactionsListActivePrimaryNetworkStakingTransactions.ts b/src/funcs/glacierPrimaryNetworkTransactionsListActivePrimaryNetworkStakingTransactions.ts index a4e2b3f..7dc87f2 100644 --- a/src/funcs/glacierPrimaryNetworkTransactionsListActivePrimaryNetworkStakingTransactions.ts +++ b/src/funcs/glacierPrimaryNetworkTransactionsListActivePrimaryNetworkStakingTransactions.ts @@ -104,12 +104,12 @@ export async function glacierPrimaryNetworkTransactionsListActivePrimaryNetworkS Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listActivePrimaryNetworkStakingTransactions", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkTransactionsListAssetTransactions.ts b/src/funcs/glacierPrimaryNetworkTransactionsListAssetTransactions.ts index 433e288..98f4a08 100644 --- a/src/funcs/glacierPrimaryNetworkTransactionsListAssetTransactions.ts +++ b/src/funcs/glacierPrimaryNetworkTransactionsListAssetTransactions.ts @@ -103,12 +103,12 @@ export async function glacierPrimaryNetworkTransactionsListAssetTransactions( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listAssetTransactions", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkTransactionsListLatestPrimaryNetworkTransactions.ts b/src/funcs/glacierPrimaryNetworkTransactionsListLatestPrimaryNetworkTransactions.ts index a9be1eb..f1d7f6d 100644 --- a/src/funcs/glacierPrimaryNetworkTransactionsListLatestPrimaryNetworkTransactions.ts +++ b/src/funcs/glacierPrimaryNetworkTransactionsListLatestPrimaryNetworkTransactions.ts @@ -106,12 +106,12 @@ export async function glacierPrimaryNetworkTransactionsListLatestPrimaryNetworkT Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listLatestPrimaryNetworkTransactions", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkUtxosGetUtxosByAddresses.ts b/src/funcs/glacierPrimaryNetworkUtxosGetUtxosByAddresses.ts index 072b8d8..f19746b 100644 --- a/src/funcs/glacierPrimaryNetworkUtxosGetUtxosByAddresses.ts +++ b/src/funcs/glacierPrimaryNetworkUtxosGetUtxosByAddresses.ts @@ -100,12 +100,12 @@ export async function glacierPrimaryNetworkUtxosGetUtxosByAddresses( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getUtxosByAddresses", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkVerticesGetVertexByHash.ts b/src/funcs/glacierPrimaryNetworkVerticesGetVertexByHash.ts index 53cf2ac..2b5da6f 100644 --- a/src/funcs/glacierPrimaryNetworkVerticesGetVertexByHash.ts +++ b/src/funcs/glacierPrimaryNetworkVerticesGetVertexByHash.ts @@ -89,12 +89,12 @@ export async function glacierPrimaryNetworkVerticesGetVertexByHash( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getVertexByHash", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkVerticesGetVertexByHeight.ts b/src/funcs/glacierPrimaryNetworkVerticesGetVertexByHeight.ts index 3472538..0cec620 100644 --- a/src/funcs/glacierPrimaryNetworkVerticesGetVertexByHeight.ts +++ b/src/funcs/glacierPrimaryNetworkVerticesGetVertexByHeight.ts @@ -98,12 +98,12 @@ export async function glacierPrimaryNetworkVerticesGetVertexByHeight( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getVertexByHeight", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierPrimaryNetworkVerticesListLatestXChainVertices.ts b/src/funcs/glacierPrimaryNetworkVerticesListLatestXChainVertices.ts index e2a52a1..4e9fe4f 100644 --- a/src/funcs/glacierPrimaryNetworkVerticesListLatestXChainVertices.ts +++ b/src/funcs/glacierPrimaryNetworkVerticesListLatestXChainVertices.ts @@ -96,12 +96,12 @@ export async function glacierPrimaryNetworkVerticesListLatestXChainVertices( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listLatestXChainVertices", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierTeleporterGetTeleporterMessage.ts b/src/funcs/glacierTeleporterGetTeleporterMessage.ts index 557643c..003b059 100644 --- a/src/funcs/glacierTeleporterGetTeleporterMessage.ts +++ b/src/funcs/glacierTeleporterGetTeleporterMessage.ts @@ -78,12 +78,12 @@ export async function glacierTeleporterGetTeleporterMessage( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getTeleporterMessage", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierTeleporterListTeleporterMessages.ts b/src/funcs/glacierTeleporterListTeleporterMessages.ts index 675dd98..3a74fa6 100644 --- a/src/funcs/glacierTeleporterListTeleporterMessages.ts +++ b/src/funcs/glacierTeleporterListTeleporterMessages.ts @@ -86,12 +86,12 @@ export async function glacierTeleporterListTeleporterMessages( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listTeleporterMessages", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierUsageMetricsGetApiLogs.ts b/src/funcs/glacierUsageMetricsGetApiLogs.ts index 9e9489b..5fb4b02 100644 --- a/src/funcs/glacierUsageMetricsGetApiLogs.ts +++ b/src/funcs/glacierUsageMetricsGetApiLogs.ts @@ -72,10 +72,15 @@ export async function glacierUsageMetricsGetApiLogs( const path$ = pathToFunc("/v1/apiLogs")(); const query$ = encodeFormQuery$({ + apiKeyId: payload$.apiKeyId, + chainId: payload$.chainId, endTimestamp: payload$.endTimestamp, orgId: payload$.orgId, pageSize: payload$.pageSize, pageToken: payload$.pageToken, + requestPath: payload$.requestPath, + requestType: payload$.requestType, + responseStatusCode: payload$.responseStatusCode, startTimestamp: payload$.startTimestamp, }); @@ -83,12 +88,12 @@ export async function glacierUsageMetricsGetApiLogs( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getApiLogs", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierUsageMetricsGetApiUsageMetrics.ts b/src/funcs/glacierUsageMetricsGetApiUsageMetrics.ts index ed7c0f2..9b22de5 100644 --- a/src/funcs/glacierUsageMetricsGetApiUsageMetrics.ts +++ b/src/funcs/glacierUsageMetricsGetApiUsageMetrics.ts @@ -85,12 +85,12 @@ export async function glacierUsageMetricsGetApiUsageMetrics( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getApiUsageMetrics", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierWebhooksAddAddressesToWebhook.ts b/src/funcs/glacierWebhooksAddAddressesToWebhook.ts index b01768e..956cdb2 100644 --- a/src/funcs/glacierWebhooksAddAddressesToWebhook.ts +++ b/src/funcs/glacierWebhooksAddAddressesToWebhook.ts @@ -77,12 +77,12 @@ export async function glacierWebhooksAddAddressesToWebhook( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "addAddressesToWebhook", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierWebhooksCreateWebhook.ts b/src/funcs/glacierWebhooksCreateWebhook.ts index cc6542b..881e840 100644 --- a/src/funcs/glacierWebhooksCreateWebhook.ts +++ b/src/funcs/glacierWebhooksCreateWebhook.ts @@ -72,12 +72,12 @@ export async function glacierWebhooksCreateWebhook( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "createWebhook", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierWebhooksDeactivateWebhook.ts b/src/funcs/glacierWebhooksDeactivateWebhook.ts index c3cb38f..dc6a03a 100644 --- a/src/funcs/glacierWebhooksDeactivateWebhook.ts +++ b/src/funcs/glacierWebhooksDeactivateWebhook.ts @@ -76,12 +76,12 @@ export async function glacierWebhooksDeactivateWebhook( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "deactivateWebhook", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierWebhooksGenerateSharedSecret.ts b/src/funcs/glacierWebhooksGenerateSharedSecret.ts index e3b489f..f9a6db8 100644 --- a/src/funcs/glacierWebhooksGenerateSharedSecret.ts +++ b/src/funcs/glacierWebhooksGenerateSharedSecret.ts @@ -55,12 +55,12 @@ export async function glacierWebhooksGenerateSharedSecret( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "generateSharedSecret", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierWebhooksGetAddressesFromWebhook.ts b/src/funcs/glacierWebhooksGetAddressesFromWebhook.ts index c57d9cf..8a69443 100644 --- a/src/funcs/glacierWebhooksGetAddressesFromWebhook.ts +++ b/src/funcs/glacierWebhooksGetAddressesFromWebhook.ts @@ -87,12 +87,12 @@ export async function glacierWebhooksGetAddressesFromWebhook( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getAddressesFromWebhook", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierWebhooksGetSharedSecret.ts b/src/funcs/glacierWebhooksGetSharedSecret.ts index 8f6019a..50186af 100644 --- a/src/funcs/glacierWebhooksGetSharedSecret.ts +++ b/src/funcs/glacierWebhooksGetSharedSecret.ts @@ -55,12 +55,12 @@ export async function glacierWebhooksGetSharedSecret( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getSharedSecret", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierWebhooksGetWebhook.ts b/src/funcs/glacierWebhooksGetWebhook.ts index 05f2f99..8b8475c 100644 --- a/src/funcs/glacierWebhooksGetWebhook.ts +++ b/src/funcs/glacierWebhooksGetWebhook.ts @@ -76,12 +76,12 @@ export async function glacierWebhooksGetWebhook( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "getWebhook", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierWebhooksListWebhooks.ts b/src/funcs/glacierWebhooksListWebhooks.ts index 95eee8f..9d27dc7 100644 --- a/src/funcs/glacierWebhooksListWebhooks.ts +++ b/src/funcs/glacierWebhooksListWebhooks.ts @@ -81,12 +81,12 @@ export async function glacierWebhooksListWebhooks( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "listWebhooks", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierWebhooksRemoveAddressesFromWebhook.ts b/src/funcs/glacierWebhooksRemoveAddressesFromWebhook.ts index 4210039..9f83623 100644 --- a/src/funcs/glacierWebhooksRemoveAddressesFromWebhook.ts +++ b/src/funcs/glacierWebhooksRemoveAddressesFromWebhook.ts @@ -77,12 +77,12 @@ export async function glacierWebhooksRemoveAddressesFromWebhook( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "removeAddressesFromWebhook", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/funcs/glacierWebhooksUpdateWebhook.ts b/src/funcs/glacierWebhooksUpdateWebhook.ts index 3300d48..f1331a8 100644 --- a/src/funcs/glacierWebhooksUpdateWebhook.ts +++ b/src/funcs/glacierWebhooksUpdateWebhook.ts @@ -77,12 +77,12 @@ export async function glacierWebhooksUpdateWebhook( Accept: "application/json", }); - const glacierApiKey$ = await extractSecurity(client$.options$.glacierApiKey); - const security$ = glacierApiKey$ == null ? {} : { glacierApiKey: glacierApiKey$ }; + const apiKey$ = await extractSecurity(client$.options$.apiKey); + const security$ = apiKey$ == null ? {} : { apiKey: apiKey$ }; const context = { operationID: "updateWebhook", oAuth2Scopes: [], - securitySource: client$.options$.glacierApiKey, + securitySource: client$.options$.apiKey, }; const securitySettings$ = resolveGlobalSecurity(security$); diff --git a/src/lib/config.ts b/src/lib/config.ts index 32057ce..817f52a 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -14,7 +14,7 @@ import { Params, pathToFunc } from "./url.js"; export const ServerList = ["https://glacier-api.avax.network"] as const; export type SDKOptions = { - glacierApiKey?: string | (() => Promise); + apiKey?: string | (() => Promise); /** * Allows setting the chainId parameter for all supported operations @@ -24,7 +24,7 @@ export type SDKOptions = { /** * Allows setting the network parameter for all supported operations */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; httpClient?: HTTPClient; /** @@ -63,7 +63,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "Beta", - sdkVersion: "0.1.0", - genVersion: "2.404.11", - userAgent: "speakeasy-sdk/typescript 0.1.0 2.404.11 Beta @avalabs/avacloud-sdk", + sdkVersion: "0.2.0", + genVersion: "2.407.0", + userAgent: "speakeasy-sdk/typescript 0.2.0 2.407.0 Beta @avalabs/avacloud-sdk", } as const; diff --git a/src/lib/security.ts b/src/lib/security.ts index 6e8c85a..e740623 100644 --- a/src/lib/security.ts +++ b/src/lib/security.ts @@ -71,13 +71,20 @@ type SecurityInputOAuth2ClientCredentials = { fieldName: string; }; +type SecurityInputCustom = { + type: "http:custom"; + value: any | null | undefined; + fieldName: string; +}; + export type SecurityInput = | SecurityInputBasic | SecurityInputBearer | SecurityInputAPIKey | SecurityInputOAuth2 | SecurityInputOAuth2ClientCredentials - | SecurityInputOIDC; + | SecurityInputOIDC + | SecurityInputCustom; export function resolveSecurity(...options: SecurityInput[][]): SecurityState | null { const state: SecurityState = { @@ -93,6 +100,8 @@ export function resolveSecurity(...options: SecurityInput[][]): SecurityState | return false; } else if (o.type === "http:basic") { return o.value.username != null || o.value.password != null; + } else if (o.type === "http:custom") { + return null; } else if (typeof o.value === "string") { return !!o.value; } else { @@ -126,6 +135,8 @@ export function resolveSecurity(...options: SecurityInput[][]): SecurityState | case "http:basic": applyBasic(state, spec); break; + case "http:custom": + break; case "http:bearer": applyBearer(state, spec); break; @@ -176,7 +187,7 @@ export function resolveGlobalSecurity( { fieldName: "x-glacier-api-key", type: "apiKey:header", - value: security?.glacierApiKey, + value: security?.apiKey, }, ]); } diff --git a/src/models/components/globalparamnetwork.ts b/src/models/components/globalparamnetwork.ts new file mode 100644 index 0000000..65a6b70 --- /dev/null +++ b/src/models/components/globalparamnetwork.ts @@ -0,0 +1,31 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { ClosedEnum } from "../../types/enums.js"; +import * as z from "zod"; + +export const GlobalParamNetwork = { + Mainnet: "mainnet", + Fuji: "fuji", +} as const; +export type GlobalParamNetwork = ClosedEnum; + +/** @internal */ +export const GlobalParamNetwork$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(GlobalParamNetwork); + +/** @internal */ +export const GlobalParamNetwork$outboundSchema: z.ZodNativeEnum = + GlobalParamNetwork$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace GlobalParamNetwork$ { + /** @deprecated use `GlobalParamNetwork$inboundSchema` instead. */ + export const inboundSchema = GlobalParamNetwork$inboundSchema; + /** @deprecated use `GlobalParamNetwork$outboundSchema` instead. */ + export const outboundSchema = GlobalParamNetwork$outboundSchema; +} diff --git a/src/models/components/index.ts b/src/models/components/index.ts index d6d539c..febd2d7 100644 --- a/src/models/components/index.ts +++ b/src/models/components/index.ts @@ -65,6 +65,7 @@ export * from "./getprimarynetworkblockresponse.js"; export * from "./gettransactionresponse.js"; export * from "./glacierapifeature.js"; export * from "./glacierlistchainsresponse.js"; +export * from "./globalparamnetwork.js"; export * from "./historicalreward.js"; export * from "./imageasset.js"; export * from "./internaltransaction.js"; @@ -111,7 +112,6 @@ export * from "./metric.js"; export * from "./money.js"; export * from "./nativetokenbalance.js"; export * from "./nativetransaction.js"; -export * from "./network.js"; export * from "./networktoken.js"; export * from "./networktokendetails.js"; export * from "./networktype.js"; diff --git a/src/models/components/network.ts b/src/models/components/network.ts deleted file mode 100644 index 1b436f7..0000000 --- a/src/models/components/network.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. - */ - -import { ClosedEnum } from "../../types/enums.js"; -import * as z from "zod"; - -export const Network = { - Mainnet: "mainnet", - Fuji: "fuji", -} as const; -export type Network = ClosedEnum; - -/** @internal */ -export const Network$inboundSchema: z.ZodNativeEnum = z.nativeEnum(Network); - -/** @internal */ -export const Network$outboundSchema: z.ZodNativeEnum = Network$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Network$ { - /** @deprecated use `Network$inboundSchema` instead. */ - export const inboundSchema = Network$inboundSchema; - /** @deprecated use `Network$outboundSchema` instead. */ - export const outboundSchema = Network$outboundSchema; -} diff --git a/src/models/components/security.ts b/src/models/components/security.ts index fdcf49f..8ce535c 100644 --- a/src/models/components/security.ts +++ b/src/models/components/security.ts @@ -2,38 +2,26 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import { remap as remap$ } from "../../lib/primitives.js"; import * as z from "zod"; export type Security = { - glacierApiKey: string; + apiKey: string; }; /** @internal */ -export const Security$inboundSchema: z.ZodType = z - .object({ - GlacierApiKey: z.string(), - }) - .transform((v) => { - return remap$(v, { - GlacierApiKey: "glacierApiKey", - }); - }); +export const Security$inboundSchema: z.ZodType = z.object({ + apiKey: z.string(), +}); /** @internal */ export type Security$Outbound = { - GlacierApiKey: string; + apiKey: string; }; /** @internal */ -export const Security$outboundSchema: z.ZodType = z - .object({ - glacierApiKey: z.string(), - }) - .transform((v) => { - return remap$(v, { - glacierApiKey: "GlacierApiKey", - }); +export const Security$outboundSchema: z.ZodType = + z.object({ + apiKey: z.string(), }); /** diff --git a/src/models/operations/getapilogs.ts b/src/models/operations/getapilogs.ts index db9108e..6abb3f3 100644 --- a/src/models/operations/getapilogs.ts +++ b/src/models/operations/getapilogs.ts @@ -3,9 +3,22 @@ */ import { remap as remap$ } from "../../lib/primitives.js"; +import { ClosedEnum } from "../../types/enums.js"; import * as components from "../components/index.js"; import * as z from "zod"; +/** + * Filter data by request type. + */ +export const QueryParamRequestType = { + GlacierAPIRequest: "Glacier API Request", + GlacierRPCRequest: "Glacier RPC Request", +} as const; +/** + * Filter data by request type. + */ +export type QueryParamRequestType = ClosedEnum; + export type GetApiLogsRequest = { /** * Organization ID to fetch usage metrics for @@ -19,6 +32,26 @@ export type GetApiLogsRequest = { * Query param for retrieving items before a specific timestamp. */ endTimestamp?: number | undefined; + /** + * Filter data by request path. + */ + requestPath?: string | undefined; + /** + * Filter data by request type. + */ + requestType?: QueryParamRequestType | undefined; + /** + * Filter data by response status code. + */ + responseStatusCode?: string | undefined; + /** + * Filter data by chain ID. + */ + chainId?: string | undefined; + /** + * Filter data by API key ID. + */ + apiKeyId?: string | undefined; /** * A page token, received from a previous list call. Provide this to retrieve the subsequent page. */ @@ -33,12 +66,36 @@ export type GetApiLogsResponse = { result: components.LogsResponseDTO; }; +/** @internal */ +export const QueryParamRequestType$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(QueryParamRequestType); + +/** @internal */ +export const QueryParamRequestType$outboundSchema: z.ZodNativeEnum = + QueryParamRequestType$inboundSchema; + +/** + * @internal + * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. + */ +export namespace QueryParamRequestType$ { + /** @deprecated use `QueryParamRequestType$inboundSchema` instead. */ + export const inboundSchema = QueryParamRequestType$inboundSchema; + /** @deprecated use `QueryParamRequestType$outboundSchema` instead. */ + export const outboundSchema = QueryParamRequestType$outboundSchema; +} + /** @internal */ export const GetApiLogsRequest$inboundSchema: z.ZodType = z.object({ orgId: z.string().optional(), startTimestamp: z.number().int().optional(), endTimestamp: z.number().int().optional(), + requestPath: z.string().optional(), + requestType: QueryParamRequestType$inboundSchema.optional(), + responseStatusCode: z.string().optional(), + chainId: z.string().optional(), + apiKeyId: z.string().optional(), pageToken: z.string().optional(), pageSize: z.number().int().default(10), }); @@ -48,6 +105,11 @@ export type GetApiLogsRequest$Outbound = { orgId?: string | undefined; startTimestamp?: number | undefined; endTimestamp?: number | undefined; + requestPath?: string | undefined; + requestType?: string | undefined; + responseStatusCode?: string | undefined; + chainId?: string | undefined; + apiKeyId?: string | undefined; pageToken?: string | undefined; pageSize: number; }; @@ -61,6 +123,11 @@ export const GetApiLogsRequest$outboundSchema: z.ZodType< orgId: z.string().optional(), startTimestamp: z.number().int().optional(), endTimestamp: z.number().int().optional(), + requestPath: z.string().optional(), + requestType: QueryParamRequestType$outboundSchema.optional(), + responseStatusCode: z.string().optional(), + chainId: z.string().optional(), + apiKeyId: z.string().optional(), pageToken: z.string().optional(), pageSize: z.number().int().default(10), }); diff --git a/src/models/operations/getapiusagemetrics.ts b/src/models/operations/getapiusagemetrics.ts index ac36804..3244133 100644 --- a/src/models/operations/getapiusagemetrics.ts +++ b/src/models/operations/getapiusagemetrics.ts @@ -7,14 +7,14 @@ import * as components from "../components/index.js"; import * as z from "zod"; /** - * Filter aggregated usage metrics by request type. + * Filter data by request type. */ export const RequestType = { GlacierAPIRequest: "Glacier API Request", GlacierRPCRequest: "Glacier RPC Request", } as const; /** - * Filter aggregated usage metrics by request type. + * Filter data by request type. */ export type RequestType = ClosedEnum; @@ -40,23 +40,23 @@ export type GetApiUsageMetricsRequest = { */ groupBy?: components.UsageMetricsGroupByEnum | undefined; /** - * Filter aggregated usage metrics by request path. + * Filter data by request path. */ requestPath?: string | undefined; /** - * Filter aggregated usage metrics by request type. + * Filter data by request type. */ requestType?: RequestType | undefined; /** - * Filter aggregated usage metrics by response status code. + * Filter data by response status code. */ responseStatusCode?: string | undefined; /** - * Filter aggregated usage metrics by chain ID. + * Filter data by chain ID. */ chainId?: string | undefined; /** - * Filter aggregated usage metrics by API key ID. + * Filter data by API key ID. */ apiKeyId?: string | undefined; }; diff --git a/src/models/operations/getassetdetails.ts b/src/models/operations/getassetdetails.ts index 27b3de6..359390a 100644 --- a/src/models/operations/getassetdetails.ts +++ b/src/models/operations/getassetdetails.ts @@ -9,7 +9,7 @@ export type GetAssetDetailsGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type GetAssetDetailsRequest = { @@ -20,7 +20,7 @@ export type GetAssetDetailsRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; /** * Asset ID for any asset on X-Chain */ @@ -33,7 +33,7 @@ export const GetAssetDetailsGlobals$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -47,7 +47,7 @@ export const GetAssetDetailsGlobals$outboundSchema: z.ZodType< z.ZodTypeDef, GetAssetDetailsGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -70,7 +70,7 @@ export const GetAssetDetailsRequest$inboundSchema: z.ZodType< unknown > = z.object({ blockchainId: components.XChainId$inboundSchema, - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), assetId: z.string(), }); @@ -88,7 +88,7 @@ export const GetAssetDetailsRequest$outboundSchema: z.ZodType< GetAssetDetailsRequest > = z.object({ blockchainId: components.XChainId$outboundSchema, - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), assetId: z.string(), }); diff --git a/src/models/operations/getbalancesbyaddresses.ts b/src/models/operations/getbalancesbyaddresses.ts index acc1c07..3d5c1ba 100644 --- a/src/models/operations/getbalancesbyaddresses.ts +++ b/src/models/operations/getbalancesbyaddresses.ts @@ -9,7 +9,7 @@ export type GetBalancesByAddressesGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type GetBalancesByAddressesRequest = { @@ -28,7 +28,7 @@ export type GetBalancesByAddressesRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; /** @@ -45,7 +45,7 @@ export const GetBalancesByAddressesGlobals$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -59,7 +59,7 @@ export const GetBalancesByAddressesGlobals$outboundSchema: z.ZodType< z.ZodTypeDef, GetBalancesByAddressesGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -84,7 +84,7 @@ export const GetBalancesByAddressesRequest$inboundSchema: z.ZodType< blockTimestamp: z.number().int().optional(), addresses: z.string().optional(), blockchainId: components.BlockchainId$inboundSchema, - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -104,7 +104,7 @@ export const GetBalancesByAddressesRequest$outboundSchema: z.ZodType< blockTimestamp: z.number().int().optional(), addresses: z.string().optional(), blockchainId: components.BlockchainId$outboundSchema, - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** diff --git a/src/models/operations/getblockbyid.ts b/src/models/operations/getblockbyid.ts index ff5f9c5..51353a3 100644 --- a/src/models/operations/getblockbyid.ts +++ b/src/models/operations/getblockbyid.ts @@ -9,7 +9,7 @@ export type GetBlockByIdGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type GetBlockByIdRequest = { @@ -20,7 +20,7 @@ export type GetBlockByIdRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; /** * A block identifier which is either a block number or the block hash. */ @@ -33,7 +33,7 @@ export const GetBlockByIdGlobals$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -47,7 +47,7 @@ export const GetBlockByIdGlobals$outboundSchema: z.ZodType< z.ZodTypeDef, GetBlockByIdGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -70,7 +70,7 @@ export const GetBlockByIdRequest$inboundSchema: z.ZodType< unknown > = z.object({ blockchainId: components.BlockchainId$inboundSchema, - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), blockId: z.string(), }); @@ -88,7 +88,7 @@ export const GetBlockByIdRequest$outboundSchema: z.ZodType< GetBlockByIdRequest > = z.object({ blockchainId: components.BlockchainId$outboundSchema, - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), blockId: z.string(), }); diff --git a/src/models/operations/getchainidsforaddresses.ts b/src/models/operations/getchainidsforaddresses.ts index b9e3aef..a7121fa 100644 --- a/src/models/operations/getchainidsforaddresses.ts +++ b/src/models/operations/getchainidsforaddresses.ts @@ -9,7 +9,7 @@ export type GetChainIdsForAddressesGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type GetChainIdsForAddressesRequest = { @@ -20,7 +20,7 @@ export type GetChainIdsForAddressesRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; /** @internal */ @@ -29,7 +29,7 @@ export const GetChainIdsForAddressesGlobals$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -43,7 +43,7 @@ export const GetChainIdsForAddressesGlobals$outboundSchema: z.ZodType< z.ZodTypeDef, GetChainIdsForAddressesGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -66,7 +66,7 @@ export const GetChainIdsForAddressesRequest$inboundSchema: z.ZodType< unknown > = z.object({ addresses: z.string(), - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -82,7 +82,7 @@ export const GetChainIdsForAddressesRequest$outboundSchema: z.ZodType< GetChainIdsForAddressesRequest > = z.object({ addresses: z.string(), - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** diff --git a/src/models/operations/getnetworkdetails.ts b/src/models/operations/getnetworkdetails.ts index 2e5a4cb..d65e226 100644 --- a/src/models/operations/getnetworkdetails.ts +++ b/src/models/operations/getnetworkdetails.ts @@ -9,14 +9,14 @@ export type GetNetworkDetailsGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type GetNetworkDetailsRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; /** @internal */ @@ -25,7 +25,7 @@ export const GetNetworkDetailsGlobals$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -39,7 +39,7 @@ export const GetNetworkDetailsGlobals$outboundSchema: z.ZodType< z.ZodTypeDef, GetNetworkDetailsGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -61,7 +61,7 @@ export const GetNetworkDetailsRequest$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -75,7 +75,7 @@ export const GetNetworkDetailsRequest$outboundSchema: z.ZodType< z.ZodTypeDef, GetNetworkDetailsRequest > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** diff --git a/src/models/operations/getsinglevalidatordetails.ts b/src/models/operations/getsinglevalidatordetails.ts index c7d156a..1cf03f2 100644 --- a/src/models/operations/getsinglevalidatordetails.ts +++ b/src/models/operations/getsinglevalidatordetails.ts @@ -10,7 +10,7 @@ export type GetSingleValidatorDetailsGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type GetSingleValidatorDetailsRequest = { @@ -25,7 +25,7 @@ export type GetSingleValidatorDetailsRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; /** * A primary network (P or X chain) nodeId. */ @@ -50,7 +50,7 @@ export const GetSingleValidatorDetailsGlobals$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -64,7 +64,7 @@ export const GetSingleValidatorDetailsGlobals$outboundSchema: z.ZodType< z.ZodTypeDef, GetSingleValidatorDetailsGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -88,7 +88,7 @@ export const GetSingleValidatorDetailsRequest$inboundSchema: z.ZodType< > = z.object({ pageToken: z.string().optional(), pageSize: z.number().int().default(10), - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), nodeId: z.string(), validationStatus: components.ValidationStatusType$inboundSchema.optional(), sortOrder: components.SortOrder$inboundSchema.optional(), @@ -112,7 +112,7 @@ export const GetSingleValidatorDetailsRequest$outboundSchema: z.ZodType< > = z.object({ pageToken: z.string().optional(), pageSize: z.number().int().default(10), - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), nodeId: z.string(), validationStatus: components.ValidationStatusType$outboundSchema.optional(), sortOrder: components.SortOrder$outboundSchema.optional(), diff --git a/src/models/operations/getsubnetbyid.ts b/src/models/operations/getsubnetbyid.ts index 09d50ec..dfd4d9f 100644 --- a/src/models/operations/getsubnetbyid.ts +++ b/src/models/operations/getsubnetbyid.ts @@ -9,14 +9,14 @@ export type GetSubnetByIdGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type GetSubnetByIdRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; /** * Subnet ID to fetch details for */ @@ -29,7 +29,7 @@ export const GetSubnetByIdGlobals$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -43,7 +43,7 @@ export const GetSubnetByIdGlobals$outboundSchema: z.ZodType< z.ZodTypeDef, GetSubnetByIdGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -65,7 +65,7 @@ export const GetSubnetByIdRequest$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), subnetId: z.string(), }); @@ -81,7 +81,7 @@ export const GetSubnetByIdRequest$outboundSchema: z.ZodType< z.ZodTypeDef, GetSubnetByIdRequest > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), subnetId: z.string(), }); diff --git a/src/models/operations/gettxbyhash.ts b/src/models/operations/gettxbyhash.ts index 71c54b5..23aa8be 100644 --- a/src/models/operations/gettxbyhash.ts +++ b/src/models/operations/gettxbyhash.ts @@ -9,7 +9,7 @@ export type GetTxByHashGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type GetTxByHashRequest = { @@ -20,7 +20,7 @@ export type GetTxByHashRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; /** * A primary network (P or X chain) transaction hash. */ @@ -43,7 +43,7 @@ export const GetTxByHashGlobals$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -57,7 +57,7 @@ export const GetTxByHashGlobals$outboundSchema: z.ZodType< z.ZodTypeDef, GetTxByHashGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -80,7 +80,7 @@ export const GetTxByHashRequest$inboundSchema: z.ZodType< unknown > = z.object({ blockchainId: components.BlockchainId$inboundSchema, - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), txHash: z.string(), }); @@ -98,7 +98,7 @@ export const GetTxByHashRequest$outboundSchema: z.ZodType< GetTxByHashRequest > = z.object({ blockchainId: components.BlockchainId$outboundSchema, - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), txHash: z.string(), }); diff --git a/src/models/operations/getutxosbyaddresses.ts b/src/models/operations/getutxosbyaddresses.ts index 2951b13..7481752 100644 --- a/src/models/operations/getutxosbyaddresses.ts +++ b/src/models/operations/getutxosbyaddresses.ts @@ -10,7 +10,7 @@ export type GetUtxosByAddressesGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type GetUtxosByAddressesRequest = { @@ -33,7 +33,7 @@ export type GetUtxosByAddressesRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; /** * Asset ID for any asset (only applicable X-Chain) */ @@ -65,7 +65,7 @@ export const GetUtxosByAddressesGlobals$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -79,7 +79,7 @@ export const GetUtxosByAddressesGlobals$outboundSchema: z.ZodType< z.ZodTypeDef, GetUtxosByAddressesGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -105,7 +105,7 @@ export const GetUtxosByAddressesRequest$inboundSchema: z.ZodType< pageToken: z.string().optional(), pageSize: z.number().int().default(10), blockchainId: components.BlockchainId$inboundSchema, - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), assetId: z.string().optional(), includeSpent: z.boolean().optional(), sortOrder: components.SortOrder$inboundSchema.optional(), @@ -133,7 +133,7 @@ export const GetUtxosByAddressesRequest$outboundSchema: z.ZodType< pageToken: z.string().optional(), pageSize: z.number().int().default(10), blockchainId: components.BlockchainId$outboundSchema, - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), assetId: z.string().optional(), includeSpent: z.boolean().optional(), sortOrder: components.SortOrder$outboundSchema.optional(), diff --git a/src/models/operations/getvertexbyhash.ts b/src/models/operations/getvertexbyhash.ts index 507eef3..cccb841 100644 --- a/src/models/operations/getvertexbyhash.ts +++ b/src/models/operations/getvertexbyhash.ts @@ -9,7 +9,7 @@ export type GetVertexByHashGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type GetVertexByHashRequest = { @@ -24,7 +24,7 @@ export type GetVertexByHashRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; /** @internal */ @@ -33,7 +33,7 @@ export const GetVertexByHashGlobals$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -47,7 +47,7 @@ export const GetVertexByHashGlobals$outboundSchema: z.ZodType< z.ZodTypeDef, GetVertexByHashGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -71,7 +71,7 @@ export const GetVertexByHashRequest$inboundSchema: z.ZodType< > = z.object({ vertexHash: z.string(), blockchainId: components.XChainId$inboundSchema, - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -89,7 +89,7 @@ export const GetVertexByHashRequest$outboundSchema: z.ZodType< > = z.object({ vertexHash: z.string(), blockchainId: components.XChainId$outboundSchema, - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** diff --git a/src/models/operations/getvertexbyheight.ts b/src/models/operations/getvertexbyheight.ts index 4933b18..2c7b708 100644 --- a/src/models/operations/getvertexbyheight.ts +++ b/src/models/operations/getvertexbyheight.ts @@ -10,7 +10,7 @@ export type GetVertexByHeightGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type GetVertexByHeightRequest = { @@ -33,7 +33,7 @@ export type GetVertexByHeightRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; /** * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided. */ @@ -50,7 +50,7 @@ export const GetVertexByHeightGlobals$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -64,7 +64,7 @@ export const GetVertexByHeightGlobals$outboundSchema: z.ZodType< z.ZodTypeDef, GetVertexByHeightGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -90,7 +90,7 @@ export const GetVertexByHeightRequest$inboundSchema: z.ZodType< pageToken: z.string().optional(), pageSize: z.number().int().default(10), blockchainId: components.XChainId$inboundSchema, - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), sortOrder: components.SortOrder$inboundSchema.optional(), }); @@ -114,7 +114,7 @@ export const GetVertexByHeightRequest$outboundSchema: z.ZodType< pageToken: z.string().optional(), pageSize: z.number().int().default(10), blockchainId: components.XChainId$outboundSchema, - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), sortOrder: components.SortOrder$outboundSchema.optional(), }); diff --git a/src/models/operations/listactiveprimarynetworkstakingtransactions.ts b/src/models/operations/listactiveprimarynetworkstakingtransactions.ts index b39e86f..609aa7e 100644 --- a/src/models/operations/listactiveprimarynetworkstakingtransactions.ts +++ b/src/models/operations/listactiveprimarynetworkstakingtransactions.ts @@ -10,7 +10,7 @@ export type ListActivePrimaryNetworkStakingTransactionsGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type ListActivePrimaryNetworkStakingTransactionsRequest = { @@ -45,7 +45,7 @@ export type ListActivePrimaryNetworkStakingTransactionsRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; /** * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided. */ @@ -62,7 +62,7 @@ export const ListActivePrimaryNetworkStakingTransactionsGlobals$inboundSchema: z z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -76,7 +76,7 @@ export const ListActivePrimaryNetworkStakingTransactionsGlobals$outboundSchema: z.ZodTypeDef, ListActivePrimaryNetworkStakingTransactionsGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -105,7 +105,7 @@ export const ListActivePrimaryNetworkStakingTransactionsRequest$inboundSchema: z pageToken: z.string().optional(), pageSize: z.number().int().default(10), blockchainId: components.PChainId$inboundSchema, - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), sortOrder: components.SortOrder$inboundSchema.optional(), }); @@ -135,7 +135,7 @@ export const ListActivePrimaryNetworkStakingTransactionsRequest$outboundSchema: pageToken: z.string().optional(), pageSize: z.number().int().default(10), blockchainId: components.PChainId$outboundSchema, - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), sortOrder: components.SortOrder$outboundSchema.optional(), }); diff --git a/src/models/operations/listassettransactions.ts b/src/models/operations/listassettransactions.ts index 7e792a5..3f2c6de 100644 --- a/src/models/operations/listassettransactions.ts +++ b/src/models/operations/listassettransactions.ts @@ -10,7 +10,7 @@ export type ListAssetTransactionsGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type ListAssetTransactionsRequest = { @@ -41,7 +41,7 @@ export type ListAssetTransactionsRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; /** * Asset ID for any asset on X-Chain */ @@ -58,7 +58,7 @@ export const ListAssetTransactionsGlobals$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -72,7 +72,7 @@ export const ListAssetTransactionsGlobals$outboundSchema: z.ZodType< z.ZodTypeDef, ListAssetTransactionsGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -100,7 +100,7 @@ export const ListAssetTransactionsRequest$inboundSchema: z.ZodType< pageToken: z.string().optional(), pageSize: z.number().int().default(10), blockchainId: components.XChainId$inboundSchema, - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), assetId: z.string(), }); @@ -128,7 +128,7 @@ export const ListAssetTransactionsRequest$outboundSchema: z.ZodType< pageToken: z.string().optional(), pageSize: z.number().int().default(10), blockchainId: components.XChainId$outboundSchema, - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), assetId: z.string(), }); diff --git a/src/models/operations/listblockchains.ts b/src/models/operations/listblockchains.ts index 33c8691..a38c3e3 100644 --- a/src/models/operations/listblockchains.ts +++ b/src/models/operations/listblockchains.ts @@ -10,7 +10,7 @@ export type ListBlockchainsGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type ListBlockchainsRequest = { @@ -25,7 +25,7 @@ export type ListBlockchainsRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; /** * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided. */ @@ -42,7 +42,7 @@ export const ListBlockchainsGlobals$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -56,7 +56,7 @@ export const ListBlockchainsGlobals$outboundSchema: z.ZodType< z.ZodTypeDef, ListBlockchainsGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -80,7 +80,7 @@ export const ListBlockchainsRequest$inboundSchema: z.ZodType< > = z.object({ pageToken: z.string().optional(), pageSize: z.number().int().default(10), - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), sortOrder: components.SortOrder$inboundSchema.optional(), }); @@ -100,7 +100,7 @@ export const ListBlockchainsRequest$outboundSchema: z.ZodType< > = z.object({ pageToken: z.string().optional(), pageSize: z.number().int().default(10), - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), sortOrder: components.SortOrder$outboundSchema.optional(), }); diff --git a/src/models/operations/listdelegators.ts b/src/models/operations/listdelegators.ts index 0d4e47c..9716d1c 100644 --- a/src/models/operations/listdelegators.ts +++ b/src/models/operations/listdelegators.ts @@ -10,7 +10,7 @@ export type ListDelegatorsGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type ListDelegatorsRequest = { @@ -29,7 +29,7 @@ export type ListDelegatorsRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; /** * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided. */ @@ -54,7 +54,7 @@ export const ListDelegatorsGlobals$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -68,7 +68,7 @@ export const ListDelegatorsGlobals$outboundSchema: z.ZodType< z.ZodTypeDef, ListDelegatorsGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -93,7 +93,7 @@ export const ListDelegatorsRequest$inboundSchema: z.ZodType< pageToken: z.string().optional(), pageSize: z.number().int().default(10), rewardAddresses: z.string().optional(), - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), sortOrder: components.SortOrder$inboundSchema.optional(), delegationStatus: components.DelegationStatusType$inboundSchema.optional(), nodeIds: z.string().optional(), @@ -119,7 +119,7 @@ export const ListDelegatorsRequest$outboundSchema: z.ZodType< pageToken: z.string().optional(), pageSize: z.number().int().default(10), rewardAddresses: z.string().optional(), - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), sortOrder: components.SortOrder$outboundSchema.optional(), delegationStatus: components.DelegationStatusType$outboundSchema.optional(), nodeIds: z.string().optional(), diff --git a/src/models/operations/listhistoricalprimarynetworkrewards.ts b/src/models/operations/listhistoricalprimarynetworkrewards.ts index 74f2dd5..96f95e0 100644 --- a/src/models/operations/listhistoricalprimarynetworkrewards.ts +++ b/src/models/operations/listhistoricalprimarynetworkrewards.ts @@ -10,7 +10,7 @@ export type ListHistoricalPrimaryNetworkRewardsGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type ListHistoricalPrimaryNetworkRewardsRequest = { @@ -29,7 +29,7 @@ export type ListHistoricalPrimaryNetworkRewardsRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; /** * A comma separated list of node ids to filter by. Optional, but at least one of addresses or nodeIds is required. */ @@ -54,7 +54,7 @@ export const ListHistoricalPrimaryNetworkRewardsGlobals$inboundSchema: z.ZodType z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -68,7 +68,7 @@ export const ListHistoricalPrimaryNetworkRewardsGlobals$outboundSchema: z.ZodTyp z.ZodTypeDef, ListHistoricalPrimaryNetworkRewardsGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -93,7 +93,7 @@ export const ListHistoricalPrimaryNetworkRewardsRequest$inboundSchema: z.ZodType addresses: z.string().optional(), pageToken: z.string().optional(), pageSize: z.number().int().default(10), - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), nodeIds: z.string().optional(), sortOrder: components.SortOrder$inboundSchema.optional(), currency: components.CurrencyCode$inboundSchema.optional(), @@ -119,7 +119,7 @@ export const ListHistoricalPrimaryNetworkRewardsRequest$outboundSchema: z.ZodTyp addresses: z.string().optional(), pageToken: z.string().optional(), pageSize: z.number().int().default(10), - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), nodeIds: z.string().optional(), sortOrder: components.SortOrder$outboundSchema.optional(), currency: components.CurrencyCode$outboundSchema.optional(), diff --git a/src/models/operations/listlatestprimarynetworkblocks.ts b/src/models/operations/listlatestprimarynetworkblocks.ts index f570bbb..6e0bc6b 100644 --- a/src/models/operations/listlatestprimarynetworkblocks.ts +++ b/src/models/operations/listlatestprimarynetworkblocks.ts @@ -10,7 +10,7 @@ export type ListLatestPrimaryNetworkBlocksGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type ListLatestPrimaryNetworkBlocksRequest = { @@ -29,7 +29,7 @@ export type ListLatestPrimaryNetworkBlocksRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type ListLatestPrimaryNetworkBlocksResponse = { @@ -42,7 +42,7 @@ export const ListLatestPrimaryNetworkBlocksGlobals$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -56,7 +56,7 @@ export const ListLatestPrimaryNetworkBlocksGlobals$outboundSchema: z.ZodType< z.ZodTypeDef, ListLatestPrimaryNetworkBlocksGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -81,7 +81,7 @@ export const ListLatestPrimaryNetworkBlocksRequest$inboundSchema: z.ZodType< pageToken: z.string().optional(), pageSize: z.number().int().default(10), blockchainId: components.BlockchainId$inboundSchema, - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -101,7 +101,7 @@ export const ListLatestPrimaryNetworkBlocksRequest$outboundSchema: z.ZodType< pageToken: z.string().optional(), pageSize: z.number().int().default(10), blockchainId: components.BlockchainId$outboundSchema, - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** diff --git a/src/models/operations/listlatestprimarynetworktransactions.ts b/src/models/operations/listlatestprimarynetworktransactions.ts index 8f0ba6e..d18e4a9 100644 --- a/src/models/operations/listlatestprimarynetworktransactions.ts +++ b/src/models/operations/listlatestprimarynetworktransactions.ts @@ -10,7 +10,7 @@ export type ListLatestPrimaryNetworkTransactionsGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type ListLatestPrimaryNetworkTransactionsRequest = { @@ -45,7 +45,7 @@ export type ListLatestPrimaryNetworkTransactionsRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; /** * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided. */ @@ -73,7 +73,7 @@ export const ListLatestPrimaryNetworkTransactionsGlobals$inboundSchema: z.ZodTyp z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -87,7 +87,7 @@ export const ListLatestPrimaryNetworkTransactionsGlobals$outboundSchema: z.ZodTy z.ZodTypeDef, ListLatestPrimaryNetworkTransactionsGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -116,7 +116,7 @@ export const ListLatestPrimaryNetworkTransactionsRequest$inboundSchema: z.ZodTyp pageToken: z.string().optional(), pageSize: z.number().int().default(10), blockchainId: components.BlockchainId$inboundSchema, - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), sortOrder: components.SortOrder$inboundSchema.optional(), }); @@ -146,7 +146,7 @@ export const ListLatestPrimaryNetworkTransactionsRequest$outboundSchema: z.ZodTy pageToken: z.string().optional(), pageSize: z.number().int().default(10), blockchainId: components.BlockchainId$outboundSchema, - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), sortOrder: components.SortOrder$outboundSchema.optional(), }); diff --git a/src/models/operations/listlatestxchainvertices.ts b/src/models/operations/listlatestxchainvertices.ts index 85d1812..a32865f 100644 --- a/src/models/operations/listlatestxchainvertices.ts +++ b/src/models/operations/listlatestxchainvertices.ts @@ -10,7 +10,7 @@ export type ListLatestXChainVerticesGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type ListLatestXChainVerticesRequest = { @@ -29,7 +29,7 @@ export type ListLatestXChainVerticesRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type ListLatestXChainVerticesResponse = { @@ -42,7 +42,7 @@ export const ListLatestXChainVerticesGlobals$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -56,7 +56,7 @@ export const ListLatestXChainVerticesGlobals$outboundSchema: z.ZodType< z.ZodTypeDef, ListLatestXChainVerticesGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -81,7 +81,7 @@ export const ListLatestXChainVerticesRequest$inboundSchema: z.ZodType< pageToken: z.string().optional(), pageSize: z.number().int().default(10), blockchainId: components.XChainId$inboundSchema, - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -101,7 +101,7 @@ export const ListLatestXChainVerticesRequest$outboundSchema: z.ZodType< pageToken: z.string().optional(), pageSize: z.number().int().default(10), blockchainId: components.XChainId$outboundSchema, - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** diff --git a/src/models/operations/listpendingprimarynetworkrewards.ts b/src/models/operations/listpendingprimarynetworkrewards.ts index 8b75d92..0a8a06a 100644 --- a/src/models/operations/listpendingprimarynetworkrewards.ts +++ b/src/models/operations/listpendingprimarynetworkrewards.ts @@ -10,7 +10,7 @@ export type ListPendingPrimaryNetworkRewardsGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type ListPendingPrimaryNetworkRewardsRequest = { @@ -29,7 +29,7 @@ export type ListPendingPrimaryNetworkRewardsRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; /** * A comma separated list of node ids to filter by. One of addresses or nodeIds is required. */ @@ -50,7 +50,7 @@ export const ListPendingPrimaryNetworkRewardsGlobals$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -64,7 +64,7 @@ export const ListPendingPrimaryNetworkRewardsGlobals$outboundSchema: z.ZodType< z.ZodTypeDef, ListPendingPrimaryNetworkRewardsGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -89,7 +89,7 @@ export const ListPendingPrimaryNetworkRewardsRequest$inboundSchema: z.ZodType< addresses: z.string().optional(), pageToken: z.string().optional(), pageSize: z.number().int().default(10), - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), nodeIds: z.string().optional(), sortOrder: components.SortOrder$inboundSchema.optional(), }); @@ -113,7 +113,7 @@ export const ListPendingPrimaryNetworkRewardsRequest$outboundSchema: z.ZodType< addresses: z.string().optional(), pageToken: z.string().optional(), pageSize: z.number().int().default(10), - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), nodeIds: z.string().optional(), sortOrder: components.SortOrder$outboundSchema.optional(), }); diff --git a/src/models/operations/listprimarynetworkblocksbynodeid.ts b/src/models/operations/listprimarynetworkblocksbynodeid.ts index bfe9519..f7bbf1e 100644 --- a/src/models/operations/listprimarynetworkblocksbynodeid.ts +++ b/src/models/operations/listprimarynetworkblocksbynodeid.ts @@ -10,7 +10,7 @@ export type ListPrimaryNetworkBlocksByNodeIdGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type ListPrimaryNetworkBlocksByNodeIdRequest = { @@ -29,7 +29,7 @@ export type ListPrimaryNetworkBlocksByNodeIdRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; /** * A primary network (P or X chain) nodeId. */ @@ -46,7 +46,7 @@ export const ListPrimaryNetworkBlocksByNodeIdGlobals$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -60,7 +60,7 @@ export const ListPrimaryNetworkBlocksByNodeIdGlobals$outboundSchema: z.ZodType< z.ZodTypeDef, ListPrimaryNetworkBlocksByNodeIdGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -85,7 +85,7 @@ export const ListPrimaryNetworkBlocksByNodeIdRequest$inboundSchema: z.ZodType< pageToken: z.string().optional(), pageSize: z.number().int().default(10), blockchainId: components.BlockchainId$inboundSchema, - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), nodeId: z.string(), }); @@ -107,7 +107,7 @@ export const ListPrimaryNetworkBlocksByNodeIdRequest$outboundSchema: z.ZodType< pageToken: z.string().optional(), pageSize: z.number().int().default(10), blockchainId: components.BlockchainId$outboundSchema, - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), nodeId: z.string(), }); diff --git a/src/models/operations/listsubnets.ts b/src/models/operations/listsubnets.ts index 052fe9a..dd20016 100644 --- a/src/models/operations/listsubnets.ts +++ b/src/models/operations/listsubnets.ts @@ -10,7 +10,7 @@ export type ListSubnetsGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type ListSubnetsRequest = { @@ -25,7 +25,7 @@ export type ListSubnetsRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; /** * The order by which to sort results. Use "asc" for ascending order, "desc" for descending order. Sorted by timestamp or the `sortBy` query parameter, if provided. */ @@ -42,7 +42,7 @@ export const ListSubnetsGlobals$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -56,7 +56,7 @@ export const ListSubnetsGlobals$outboundSchema: z.ZodType< z.ZodTypeDef, ListSubnetsGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -80,7 +80,7 @@ export const ListSubnetsRequest$inboundSchema: z.ZodType< > = z.object({ pageToken: z.string().optional(), pageSize: z.number().int().default(10), - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), sortOrder: components.SortOrder$inboundSchema.optional(), }); @@ -100,7 +100,7 @@ export const ListSubnetsRequest$outboundSchema: z.ZodType< > = z.object({ pageToken: z.string().optional(), pageSize: z.number().int().default(10), - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), sortOrder: components.SortOrder$outboundSchema.optional(), }); diff --git a/src/models/operations/listvalidators.ts b/src/models/operations/listvalidators.ts index 27928ae..2251e00 100644 --- a/src/models/operations/listvalidators.ts +++ b/src/models/operations/listvalidators.ts @@ -10,7 +10,7 @@ export type ListValidatorsGlobals = { /** * A supported network type mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; }; export type ListValidatorsRequest = { @@ -25,7 +25,7 @@ export type ListValidatorsRequest = { /** * Either mainnet or a testnet. */ - network?: components.Network | undefined; + network?: components.GlobalParamNetwork | undefined; /** * A comma separated list of node ids to filter by. */ @@ -94,7 +94,7 @@ export const ListValidatorsGlobals$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), }); /** @internal */ @@ -108,7 +108,7 @@ export const ListValidatorsGlobals$outboundSchema: z.ZodType< z.ZodTypeDef, ListValidatorsGlobals > = z.object({ - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), }); /** @@ -132,7 +132,7 @@ export const ListValidatorsRequest$inboundSchema: z.ZodType< > = z.object({ pageToken: z.string().optional(), pageSize: z.number().int().default(10), - network: components.Network$inboundSchema.optional(), + network: components.GlobalParamNetwork$inboundSchema.optional(), nodeIds: z.string().optional(), sortBy: components.SortByOption$inboundSchema.optional(), sortOrder: components.SortOrder$inboundSchema.optional(), @@ -176,7 +176,7 @@ export const ListValidatorsRequest$outboundSchema: z.ZodType< > = z.object({ pageToken: z.string().optional(), pageSize: z.number().int().default(10), - network: components.Network$outboundSchema.optional(), + network: components.GlobalParamNetwork$outboundSchema.optional(), nodeIds: z.string().optional(), sortBy: components.SortByOption$outboundSchema.optional(), sortOrder: components.SortOrder$outboundSchema.optional(),