Skip to content

Commit

Permalink
Merge pull request #36 from ava-labs/speakeasy-sdk-regen-1729786283
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.6.4
  • Loading branch information
SayanKar authored Oct 24, 2024
2 parents b7082d5 + 8b25c2f commit f2e4ce8
Show file tree
Hide file tree
Showing 171 changed files with 982 additions and 1,294 deletions.
48 changes: 33 additions & 15 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 2b9c4bf6-4d87-4382-84d9-5fb3c84c7fad
management:
docChecksum: 9dcc1f3377a49f8d451590b88cd5386d
docChecksum: 0a0ba9e004f5841a57a26670eb5d36c8
docVersion: Beta
speakeasyVersion: 1.419.2
speakeasyVersion: 1.421.1
generationVersion: 2.438.15
releaseVersion: 0.6.3
configChecksum: 1c716bc9a0eefa5dd6fd700e89239817
releaseVersion: 0.6.4
configChecksum: 4876ff9ec64734edb320b2ebbd078bea
repoURL: https://github.com/ava-labs/avacloud-sdk-typescript.git
installationURL: https://github.com/ava-labs/avacloud-sdk-typescript
published: true
Expand Down Expand Up @@ -271,11 +271,6 @@ generatedFiles:
- docs/models/components/rewardtype.md
- docs/models/components/richaddress.md
- docs/models/components/rollingwindowmetricsapiresponse.md
- docs/models/components/rpcmetrics.md
- docs/models/components/rpcusagemetricsresponsedto.md
- docs/models/components/rpcusagemetricsvalueaggregated.md
- docs/models/components/rpcusagemetricsvalueaggregatedgroupedby.md
- docs/models/components/rpcusagemetricsvalueaggregatedgroupvalue.md
- docs/models/components/security.md
- docs/models/components/sharedsecretsresponse.md
- docs/models/components/sortbyoption.md
Expand All @@ -285,6 +280,7 @@ generatedFiles:
- docs/models/components/status.md
- docs/models/components/subnet.md
- docs/models/components/subnetownershipinfo.md
- docs/models/components/subnetvalidatormanagerdetails.md
- docs/models/components/teleporterchainmetricsapiresponse.md
- docs/models/components/teleporterdestinationtransaction.md
- docs/models/components/teleportermessageinfo.md
Expand Down Expand Up @@ -371,6 +367,7 @@ generatedFiles:
- docs/models/operations/deactivatewebhookrequest.md
- docs/models/operations/details.md
- docs/models/operations/errort.md
- docs/models/operations/getaddresschainsrequest.md
- docs/models/operations/getaddressesbybalanceovertimeglobals.md
- docs/models/operations/getaddressesbybalanceovertimerequest.md
- docs/models/operations/getaddressesbybalanceovertimeresponse.md
Expand Down Expand Up @@ -417,7 +414,6 @@ generatedFiles:
- docs/models/operations/getnftholdersbycontractaddressrequest.md
- docs/models/operations/getnftholdersbycontractaddressresponse.md
- docs/models/operations/getoperationresultrequest.md
- docs/models/operations/getrpcusagemetricsrequest.md
- docs/models/operations/getsinglevalidatordetailsglobals.md
- docs/models/operations/getsinglevalidatordetailsrequest.md
- docs/models/operations/getsinglevalidatordetailsresponse.md
Expand Down Expand Up @@ -585,6 +581,7 @@ generatedFiles:
- src/funcs/dataEvmBalancesListErc721Balances.ts
- src/funcs/dataEvmBlocksGetBlock.ts
- src/funcs/dataEvmBlocksGetLatestBlocks.ts
- src/funcs/dataEvmChainsGetAddressChains.ts
- src/funcs/dataEvmChainsGetChainInfo.ts
- src/funcs/dataEvmChainsSupportedChains.ts
- src/funcs/dataEvmContractsGetContractMetadata.ts
Expand Down Expand Up @@ -634,7 +631,6 @@ generatedFiles:
- src/funcs/dataTeleporterListTeleporterMessagesByAddress.ts
- src/funcs/dataUsageMetricsGetApiLogs.ts
- src/funcs/dataUsageMetricsGetApiUsageMetrics.ts
- src/funcs/dataUsageMetricsGetRpcUsageMetrics.ts
- src/funcs/dataWebhooksAddAddressesToWebhook.ts
- src/funcs/dataWebhooksCreateWebhook.ts
- src/funcs/dataWebhooksDeactivateWebhook.ts
Expand Down Expand Up @@ -856,16 +852,14 @@ generatedFiles:
- src/models/components/rewardtype.ts
- src/models/components/richaddress.ts
- src/models/components/rollingwindowmetricsapiresponse.ts
- src/models/components/rpcmetrics.ts
- src/models/components/rpcusagemetricsresponsedto.ts
- src/models/components/rpcusagemetricsvalueaggregated.ts
- src/models/components/security.ts
- src/models/components/sharedsecretsresponse.ts
- src/models/components/sortbyoption.ts
- src/models/components/sortorder.ts
- src/models/components/stakingdistribution.ts
- src/models/components/subnet.ts
- src/models/components/subnetownershipinfo.ts
- src/models/components/subnetvalidatormanagerdetails.ts
- src/models/components/teleporterchainmetricsapiresponse.ts
- src/models/components/teleporterdestinationtransaction.ts
- src/models/components/teleportermessageinfo.ts
Expand Down Expand Up @@ -928,6 +922,7 @@ generatedFiles:
- src/models/operations/datahealthcheck.ts
- src/models/operations/deactivatewebhook.ts
- src/models/operations/generatesharedsecret.ts
- src/models/operations/getaddresschains.ts
- src/models/operations/getaddressesbybalanceovertime.ts
- src/models/operations/getaddressesbybtcbbridged.ts
- src/models/operations/getaddressesfromwebhook.ts
Expand All @@ -949,7 +944,6 @@ generatedFiles:
- src/models/operations/getnetworkdetails.ts
- src/models/operations/getnftholdersbycontractaddress.ts
- src/models/operations/getoperationresult.ts
- src/models/operations/getrpcusagemetrics.ts
- src/models/operations/getsharedsecret.ts
- src/models/operations/getsinglevalidatordetails.ts
- src/models/operations/getstakingmetrics.ts
Expand Down Expand Up @@ -3129,3 +3123,27 @@ examples:
application/json: {"message": "<value>", "statusCode": 502, "error": "Bad Gateway"}
"503":
application/json: {"message": [], "statusCode": 503, "error": "Service Unavailable"}
getAddressChains:
"":
parameters:
path:
address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
responses:
"200":
application/json: {"chains": [{"chainId": "<id>", "status": "OK", "chainName": "<value>", "description": "fashion anti gracious although gadzooks huzzah settler uselessly reflate", "vmName": "ETHEREUM", "rpcUrl": "https://equatorial-sandbar.com", "isTestnet": false, "networkToken": {"name": "Wrapped AVAX", "symbol": "WAVAX", "decimals": 18, "logoUri": "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg"}}, {"chainId": "<id>", "status": "UNAVAILABLE", "chainName": "<value>", "description": "outside airline consequently lady mostly gosh duh excluding", "vmName": "ETHEREUM", "rpcUrl": "https://whirlwind-co-producer.name", "isTestnet": false, "networkToken": {"name": "Wrapped AVAX", "symbol": "WAVAX", "decimals": 18, "logoUri": "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg"}}, {"chainId": "<id>", "status": "OK", "chainName": "<value>", "description": "yuck quicker excluding", "vmName": "EVM", "rpcUrl": "https://smart-foodstuffs.net/", "isTestnet": false, "networkToken": {"name": "Wrapped AVAX", "symbol": "WAVAX", "decimals": 18, "logoUri": "https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg"}}]}
"400":
application/json: {"message": "<value>", "statusCode": 400, "error": "Bad Request"}
"401":
application/json: {"message": "<value>", "statusCode": 401, "error": "Unauthorized"}
"403":
application/json: {"message": "<value>", "statusCode": 403, "error": "Forbidden"}
"404":
application/json: {"message": "<value>", "statusCode": 404, "error": "Not Found"}
"429":
application/json: {"message": "<value>", "statusCode": 429, "error": "Too Many Requests"}
"500":
application/json: {"message": "<value>", "statusCode": 500, "error": "Internal Server Error"}
"502":
application/json: {"message": "<value>", "statusCode": 502, "error": "Bad Gateway"}
"503":
application/json: {"message": "<value>", "statusCode": 503, "error": "Service Unavailable"}
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
typescript:
version: 0.6.3
version: 0.6.4
additionalDependencies:
dependencies:
json-canonicalize: ^1.0.6
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
speakeasyVersion: 1.419.2
speakeasyVersion: 1.421.1
sources:
AvaCloudSDK-OAS:
sourceNamespace: avacloud-sdk-oas
sourceRevisionDigest: sha256:1550462127bb24887b9924ba84bcc609f237067a1c6976bca5e92ca6803f32ca
sourceBlobDigest: sha256:5d4d3185360191b7976427e594f9e58cd8b8b80ca5ff36840a88aa6bbdda6029
sourceRevisionDigest: sha256:bd16422ae426d36f1dff195175eb32d46fa0efed0a240b5458cec1ee8444ac75
sourceBlobDigest: sha256:f8dbcee8521e511d15eff120e12fc12c8534582c0cd89d1f1643463ecde144f4
tags:
- latest
- main
Expand All @@ -18,10 +18,10 @@ targets:
avacloud-sdk:
source: AvaCloudSDK-OAS
sourceNamespace: avacloud-sdk-oas
sourceRevisionDigest: sha256:1550462127bb24887b9924ba84bcc609f237067a1c6976bca5e92ca6803f32ca
sourceBlobDigest: sha256:5d4d3185360191b7976427e594f9e58cd8b8b80ca5ff36840a88aa6bbdda6029
sourceRevisionDigest: sha256:bd16422ae426d36f1dff195175eb32d46fa0efed0a240b5458cec1ee8444ac75
sourceBlobDigest: sha256:f8dbcee8521e511d15eff120e12fc12c8534582c0cd89d1f1643463ecde144f4
codeSamplesNamespace: avacloud-sdk-ts-code-samples
codeSamplesRevisionDigest: sha256:717a2554d4ff579c73ebd356e0f288c25ef9750ae969b7d3a5b7edcad3fa8b22
codeSamplesRevisionDigest: sha256:1ddf9d43d362860a3866dc75be946bbaf0148ed25623b5ec6fd9f904692ebafc
avalanche-sdk:
source: AvalancheSDK-OAS
sourceNamespace: avalanche-sdk-oas
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ run();

* [supportedChains](docs/sdks/avacloudsdkchains/README.md#supportedchains) - List chains
* [getChainInfo](docs/sdks/avacloudsdkchains/README.md#getchaininfo) - Get chain information
* [getAddressChains](docs/sdks/avacloudsdkchains/README.md#getaddresschains) - Get chains for address

#### [data.evm.contracts](docs/sdks/contracts/README.md)

Expand Down Expand Up @@ -194,7 +195,6 @@ run();

* [getApiUsageMetrics](docs/sdks/usagemetrics/README.md#getapiusagemetrics) - Get usage metrics for the Data API
* [getApiLogs](docs/sdks/usagemetrics/README.md#getapilogs) - Get logs for requests made by client
* [getRpcUsageMetrics](docs/sdks/usagemetrics/README.md#getrpcusagemetrics) - Get usage metrics for the Subnet RPC

#### [data.webhooks](docs/sdks/webhooks/README.md)

Expand Down Expand Up @@ -267,6 +267,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
- [`dataEvmBalancesListErc721Balances`](docs/sdks/avacloudsdkbalances/README.md#listerc721balances) - List ERC-721 balances
- [`dataEvmBlocksGetBlock`](docs/sdks/avacloudsdkblocks/README.md#getblock) - Get block
- [`dataEvmBlocksGetLatestBlocks`](docs/sdks/avacloudsdkblocks/README.md#getlatestblocks) - List latest blocks
- [`dataEvmChainsGetAddressChains`](docs/sdks/avacloudsdkchains/README.md#getaddresschains) - Get chains for address
- [`dataEvmChainsGetChainInfo`](docs/sdks/avacloudsdkchains/README.md#getchaininfo) - Get chain information
- [`dataEvmChainsSupportedChains`](docs/sdks/avacloudsdkchains/README.md#supportedchains) - List chains
- [`dataEvmContractsGetContractMetadata`](docs/sdks/contracts/README.md#getcontractmetadata) - Get contract metadata
Expand Down Expand Up @@ -316,7 +317,6 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
- [`dataTeleporterListTeleporterMessagesByAddress`](docs/sdks/teleporter/README.md#listteleportermessagesbyaddress) - List teleporter messages by address
- [`dataUsageMetricsGetApiLogs`](docs/sdks/usagemetrics/README.md#getapilogs) - Get logs for requests made by client
- [`dataUsageMetricsGetApiUsageMetrics`](docs/sdks/usagemetrics/README.md#getapiusagemetrics) - Get usage metrics for the Data API
- [`dataUsageMetricsGetRpcUsageMetrics`](docs/sdks/usagemetrics/README.md#getrpcusagemetrics) - Get usage metrics for the Subnet RPC
- [`dataWebhooksAddAddressesToWebhook`](docs/sdks/webhooks/README.md#addaddressestowebhook) - Add addresses to webhook
- [`dataWebhooksCreateWebhook`](docs/sdks/webhooks/README.md#createwebhook) - Create a webhook
- [`dataWebhooksDeactivateWebhook`](docs/sdks/webhooks/README.md#deactivatewebhook) - Deactivate a webhook
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,14 @@ Based on:
### Generated
- [typescript v0.6.3] .
### Releases
- [NPM v0.6.3] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.6.3 - .
- [NPM v0.6.3] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.6.3 - .

## 2024-10-24 16:11:19
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.421.1 (2.438.15) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.6.4] .
### Releases
- [NPM v0.6.4] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.6.4 - .
2 changes: 1 addition & 1 deletion docs/models/components/aggregatedassetamount.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let value: AggregatedAssetAmount = {
name: "Avalanche",
symbol: "AVAX",
denomination: 9,
type: "secp256k1",
type: "nft",
amount: "5001000",
utxoCount: 1,
};
Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/cchainatomicbalances.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ let value: CChainAtomicBalances = {
name: "Avalanche",
symbol: "AVAX",
denomination: 9,
type: "nft",
type: "secp256k1",
amount: "5001000",
utxoCount: 1,
sharedWithChainId: "<id>",
Expand Down
6 changes: 3 additions & 3 deletions docs/models/components/cchainexporttransaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ let value: CChainExportTransaction = {
name: "Avalanche",
symbol: "AVAX",
denomination: 9,
type: "nft",
type: "secp256k1",
amount: "5001000",
},
],
Expand All @@ -43,7 +43,7 @@ let value: CChainExportTransaction = {
name: "Avalanche",
symbol: "AVAX",
denomination: 9,
type: "secp256k1",
type: "nft",
amount: "5001000",
},
credentials: [
Expand All @@ -65,7 +65,7 @@ let value: CChainExportTransaction = {
name: "Avalanche",
symbol: "AVAX",
denomination: 9,
type: "nft",
type: "secp256k1",
amount: "5001000",
},
consumedOnChainId: "2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM",
Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/cchainimporttransaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ let value: CChainImportTransaction = {
name: "Avalanche",
symbol: "AVAX",
denomination: 9,
type: "secp256k1",
type: "nft",
amount: "5001000",
},
],
Expand Down
7 changes: 3 additions & 4 deletions docs/models/components/chaininfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@ let value: ChainInfo = {
chainId: "<id>",
status: "UNAVAILABLE",
chainName: "<value>",
description:
"mockingly important throbbing wrongly extricate serpentine along consequently incidentally",
vmName: "ETHEREUM",
rpcUrl: "https://educated-volleyball.com",
description: "hence per formal aw",
vmName: "BITCOIN",
rpcUrl: "https://instructive-baritone.biz/",
isTestnet: false,
networkToken: {
name: "Wrapped AVAX",
Expand Down
8 changes: 4 additions & 4 deletions docs/models/components/collectiblebalances.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ const value: components.Erc721TokenBalance = {
symbol: "WAVAX",
ercType: "ERC-721",
tokenId: "<id>",
tokenUri: "https://intrepid-obesity.com/",
tokenUri: "https://juvenile-thigh.com",
metadata: {
indexStatus: "INDEXED",
indexStatus: "INVALID_METADATA",
},
ownerAddress: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
chainId: "43114",
Expand All @@ -28,9 +28,9 @@ const value: components.Erc1155TokenBalance = {
address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
ercType: "ERC-1155",
tokenId: "<id>",
tokenUri: "https://severe-loyalty.com",
tokenUri: "https://blushing-possession.biz/",
metadata: {
indexStatus: "UNREACHABLE_TOKEN_URI",
indexStatus: "UNKNOWN",
},
chainId: "43114",
balance: "2000000000000000000",
Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/createwebhookrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { CreateWebhookRequest } from "@avalabs/avacloud-sdk/models/components";

let value: CreateWebhookRequest = {
url: "https://sore-velocity.com",
url: "https://pure-nerve.name/",
chainId: "<id>",
eventType: "address_activity",
metadata: {
Expand Down
8 changes: 4 additions & 4 deletions docs/models/components/datalistchainsresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ let value: DataListChainsResponse = {
chains: [
{
chainId: "<id>",
status: "OK",
status: "UNAVAILABLE",
chainName: "<value>",
description:
"joy unexpectedly sightseeing contravene jaggedly programme ecliptic make woot",
vmName: "BITCOIN",
rpcUrl: "https://shameful-railway.biz",
"without kielbasa with vibration swanling drat squiggly inventory sit",
vmName: "EVM",
rpcUrl: "https://frugal-beret.info/",
isTestnet: false,
networkToken: {
name: "Wrapped AVAX",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ let value: DeliveredSourceNotIndexedTeleporterMessage = {
},
destinationTransaction: {
txHash: "<value>",
timestamp: 3998.02,
timestamp: 7908.40,
gasSpent: "<value>",
rewardRedeemer: "<value>",
delivererAddress: "<value>",
Expand Down
4 changes: 2 additions & 2 deletions docs/models/components/deliveredteleportermessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ let value: DeliveredTeleporterMessage = {
},
sourceTransaction: {
txHash: "<value>",
timestamp: 8481.50,
timestamp: 8136.79,
gasSpent: "<value>",
},
destinationTransaction: {
txHash: "<value>",
timestamp: 9358.32,
timestamp: 5098.07,
gasSpent: "<value>",
rewardRedeemer: "<value>",
delivererAddress: "<value>",
Expand Down
2 changes: 1 addition & 1 deletion docs/models/components/enabledfeatures.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
```typescript
import { EnabledFeatures } from "@avalabs/avacloud-sdk/models/components";

let value: EnabledFeatures = "webhooks";
let value: EnabledFeatures = "nftIndexing";
```

## Values
Expand Down
4 changes: 2 additions & 2 deletions docs/models/components/erc1155tokenbalance.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ let value: Erc1155TokenBalance = {
address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
ercType: "ERC-1155",
tokenId: "<id>",
tokenUri: "https://reckless-flu.net/",
tokenUri: "https://illiterate-valentine.biz/",
metadata: {
indexStatus: "INVALID_METADATA",
indexStatus: "MISSING_TOKEN",
},
chainId: "43114",
balance: "2000000000000000000",
Expand Down
6 changes: 3 additions & 3 deletions docs/models/components/erc1155transfer.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ let value: Erc1155Transfer = {
"https://images.ctfassets.net/gcj8jwzm6086/5VHupNKwnDYJvqMENeV7iJ/fdd6326b7a82c8388e4ee9d4be7062d4/avalanche-avax-logo.svg",
address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
},
logIndex: 2476.85,
logIndex: 3998.12,
value: "10000000000000000000",
erc1155Token: {
address: "0x71C7656EC7ab88b098defB751B7401B5f6d8976F",
ercType: "ERC-1155",
tokenId: "<id>",
tokenUri: "https://tiny-impostor.info/",
tokenUri: "https://grown-pronoun.name",
metadata: {
indexStatus: "INVALID_TOKEN_URI_SCHEME",
indexStatus: "UNREACHABLE_TOKEN_URI",
},
},
};
Expand Down
Loading

0 comments on commit f2e4ce8

Please sign in to comment.