Skip to content

Commit

Permalink
Merge pull request #45 from ava-labs/speakeasy-sdk-regen-1734567806
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate 0.8.4
  • Loading branch information
SayanKar authored Dec 19, 2024
2 parents 720d5b1 + ebf1ec9 commit 19efee2
Show file tree
Hide file tree
Showing 121 changed files with 274 additions and 188 deletions.
13 changes: 7 additions & 6 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: 4155e3d49d853fdc3e6cf264ac0f997d
docChecksum: 131a10a41700fd631d49a44f585a1ec1
docVersion: Beta
speakeasyVersion: 1.455.3
generationVersion: 2.479.3
releaseVersion: 0.8.3
configChecksum: 6f84b9a6cd393b8ea212cec077f58d26
speakeasyVersion: 1.456.1
generationVersion: 2.481.0
releaseVersion: 0.8.4
configChecksum: cf8e7f857f95610fd25bd7f02a8481d4
repoURL: https://github.com/ava-labs/avacloud-sdk-typescript.git
installationURL: https://github.com/ava-labs/avacloud-sdk-typescript
published: true
Expand All @@ -15,7 +15,7 @@ features:
additionalDependencies: 0.1.0
additionalProperties: 0.1.1
constsAndDefaults: 0.1.11
core: 3.18.9
core: 3.18.11
defaultEnabledRetries: 0.1.0
deprecations: 2.81.1
devContainers: 2.90.0
Expand Down Expand Up @@ -303,6 +303,7 @@ generatedFiles:
- docs/models/components/timeintervalgranularityextended.md
- docs/models/components/timestamprangenftholdersparam.md
- docs/models/components/tokens.md
- docs/models/components/tokenstatus.md
- docs/models/components/tokentype.md
- docs/models/components/transactiondetails.md
- docs/models/components/transactiondirectiontype.md
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ generation:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
typescript:
version: 0.8.3
version: 0.8.4
additionalDependencies:
dependencies:
json-canonicalize: ^1.0.6
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
speakeasyVersion: 1.455.3
speakeasyVersion: 1.456.1
sources:
AvaCloudSDK-OAS:
sourceNamespace: avacloud-sdk-oas
sourceRevisionDigest: sha256:427e2339ce2b9eb81a273c7bb83de00c43a308e09c84b0d7903fcf77b9319fd6
sourceBlobDigest: sha256:169dbb1bda661ac86728cf0e25a89bffd9fc653d0841861fe9b4721df7e80d00
sourceRevisionDigest: sha256:b0bcbfc57457137ce08b7e8e928dcf56df1f6aa1e5f2b8e7c62e4adf48a2eb56
sourceBlobDigest: sha256:1238a5e7abf88be4ec6c94df3cd2c0f771e73e55cd59d4c37c07ffc32e6e79d6
tags:
- latest
- speakeasy-sdk-regen-1734049462
- speakeasy-sdk-regen-1734567806
- Beta
AvalancheSDK-OAS:
sourceNamespace: avalanche-sdk-oas
Expand All @@ -19,10 +19,10 @@ targets:
avacloud-sdk:
source: AvaCloudSDK-OAS
sourceNamespace: avacloud-sdk-oas
sourceRevisionDigest: sha256:427e2339ce2b9eb81a273c7bb83de00c43a308e09c84b0d7903fcf77b9319fd6
sourceBlobDigest: sha256:169dbb1bda661ac86728cf0e25a89bffd9fc653d0841861fe9b4721df7e80d00
sourceRevisionDigest: sha256:b0bcbfc57457137ce08b7e8e928dcf56df1f6aa1e5f2b8e7c62e4adf48a2eb56
sourceBlobDigest: sha256:1238a5e7abf88be4ec6c94df3cd2c0f771e73e55cd59d4c37c07ffc32e6e79d6
codeSamplesNamespace: avacloud-sdk-ts-code-samples
codeSamplesRevisionDigest: sha256:1fb35b8427e52e57400257751487603371d4102a047ecf2e4c3a7a1216474270
codeSamplesRevisionDigest: sha256:c35bace548617a3c7a2d79fbb5ef3a13eb1cc159e0dcada60b0305b2f32757ac
avalanche-sdk:
source: AvalancheSDK-OAS
sourceNamespace: avalanche-sdk-oas
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,14 @@ Based on:
### Generated
- [typescript v0.8.3] .
### Releases
- [NPM v0.8.3] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.8.3 - .
- [NPM v0.8.3] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.8.3 - .

## 2024-12-19 18:44:39
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.456.1 (2.481.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.8.4] .
### Releases
- [NPM v0.8.4] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.8.4 - .
2 changes: 1 addition & 1 deletion docs/models/components/chainmetric.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ let value: ChainMetric = "activeAddresses";
## Values

```typescript
"activeAddresses" | "activeSenders" | "cumulativeTxCount" | "cumulativeAddresses" | "cumulativeContracts" | "cumulativeDeployers" | "gasUsed" | "txCount" | "avgGps" | "maxGps" | "avgTps" | "maxTps" | "avgGasPrice" | "maxGasPrice"
"activeAddresses" | "activeSenders" | "cumulativeTxCount" | "cumulativeAddresses" | "cumulativeContracts" | "cumulativeDeployers" | "gasUsed" | "txCount" | "avgGps" | "maxGps" | "avgTps" | "maxTps" | "avgGasPrice" | "maxGasPrice" | "feesPaid"
```
2 changes: 1 addition & 1 deletion docs/models/components/chainrollingwindowmetric.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ let value: ChainRollingWindowMetric = "txCount";
## Values

```typescript
"gasUsed" | "txCount" | "avgGps" | "maxGps" | "avgTps" | "maxTps" | "avgGasPrice" | "maxGasPrice"
"gasUsed" | "txCount" | "avgGps" | "maxGps" | "avgTps" | "maxTps" | "avgGasPrice" | "maxGasPrice" | "feesPaid"
```
4 changes: 3 additions & 1 deletion docs/models/components/erc20tokenbalance.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ let value: Erc20TokenBalance = {
currencyCode: "usd",
value: 42.42,
},
tokenStatus: {},
};
```

Expand All @@ -39,4 +40,5 @@ let value: Erc20TokenBalance = {
| `price` | [components.Money](../../models/components/money.md) | :heavy_minus_sign: | The token price, if available. | |
| `chainId` | *string* | :heavy_check_mark: | The evm chain id. | 43114 |
| `balance` | *string* | :heavy_check_mark: | The address balance for the token, in units specified by the `decimals` value for the contract. | 2000000000000000000 |
| `balanceValue` | [components.Money](../../models/components/money.md) | :heavy_minus_sign: | The monetary value of the balance, if a price is available for the token. | |
| `balanceValue` | [components.Money](../../models/components/money.md) | :heavy_minus_sign: | The monetary value of the balance, if a price is available for the token. | |
| `tokenStatus` | [components.TokenStatus](../../models/components/tokenstatus.md) | :heavy_check_mark: | N/A | |
1 change: 1 addition & 0 deletions docs/models/components/listerc20balancesresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ let value: ListErc20BalancesResponse = {
currencyCode: "usd",
value: 42.42,
},
tokenStatus: {},
},
],
};
Expand Down
14 changes: 14 additions & 0 deletions docs/models/components/tokenstatus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# TokenStatus

## Example Usage

```typescript
import { TokenStatus } from "@avalabs/avacloud-sdk/models/components";

let value: TokenStatus = {};
```

## Fields

| Field | Type | Required | Description |
| ----------- | ----------- | ----------- | ----------- |
1 change: 1 addition & 0 deletions docs/models/operations/listerc20balancesresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ let value: ListErc20BalancesResponse = {
currencyCode: "usd",
value: 42.42,
},
tokenStatus: {},
},
],
},
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@avalabs/avacloud-sdk",
"version": "0.8.3",
"version": "0.8.4",
"author": "AvaCloud",
"license": "SEE LICENSE",
"homepage": "https://developer.avacloud.io/avacloud-sdk/getting-started",
"license": "SEE LICENSE",
"main": "./index.js",
"sideEffects": false,
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmBalancesGetNativeBalance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import { Result } from "../types/fp.js";
export async function dataEvmBalancesGetNativeBalance(
client: AvaCloudSDKCore,
request: operations.GetNativeBalanceRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
Result<
components.GetNativeBalanceResponse,
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmBalancesListCollectibleBalances.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import {
export async function dataEvmBalancesListCollectibleBalances(
client: AvaCloudSDKCore,
request: operations.ListCollectibleBalancesRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
PageIterator<
Result<
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmBalancesListErc1155Balances.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import {
export async function dataEvmBalancesListErc1155Balances(
client: AvaCloudSDKCore,
request: operations.ListErc1155BalancesRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
PageIterator<
Result<
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmBalancesListErc20Balances.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import {
export async function dataEvmBalancesListErc20Balances(
client: AvaCloudSDKCore,
request: operations.ListErc20BalancesRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
PageIterator<
Result<
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmBalancesListErc721Balances.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import {
export async function dataEvmBalancesListErc721Balances(
client: AvaCloudSDKCore,
request: operations.ListErc721BalancesRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
PageIterator<
Result<
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmBlocksGetBlock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js";
export async function dataEvmBlocksGetBlock(
client: AvaCloudSDKCore,
request: operations.GetBlockRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
Result<
components.GetEvmBlockResponse,
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmBlocksGetLatestBlocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import {
export async function dataEvmBlocksGetLatestBlocks(
client: AvaCloudSDKCore,
request: operations.GetLatestBlocksRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
PageIterator<
Result<
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmChainsGetAddressChains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js";
export async function dataEvmChainsGetAddressChains(
client: AvaCloudSDKCore,
request: operations.GetAddressChainsRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
Result<
components.ListAddressChainsResponse,
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmChainsGetChainInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js";
export async function dataEvmChainsGetChainInfo(
client: AvaCloudSDKCore,
request: operations.GetChainInfoRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
Result<
components.GetChainResponse,
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmChainsSupportedChains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js";
export async function dataEvmChainsSupportedChains(
client: AvaCloudSDKCore,
request: operations.SupportedChainsRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
Result<
components.DataListChainsResponse,
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmContractsGetContractMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
export async function dataEvmContractsGetContractMetadata(
client: AvaCloudSDKCore,
request: operations.GetContractMetadataRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
Result<
operations.GetContractMetadataResponseBody,
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmTransactionsGetDeploymentTransaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js";
export async function dataEvmTransactionsGetDeploymentTransaction(
client: AvaCloudSDKCore,
request: operations.GetDeploymentTransactionRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
Result<
components.GetTransactionResponse,
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmTransactionsGetTransaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js";
export async function dataEvmTransactionsGetTransaction(
client: AvaCloudSDKCore,
request: operations.GetTransactionRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
Result<
components.GetTransactionResponse,
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmTransactionsGetTransactionsForBlock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import { Result } from "../types/fp.js";
export async function dataEvmTransactionsGetTransactionsForBlock(
client: AvaCloudSDKCore,
request: operations.GetTransactionsForBlockRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
Result<
components.ListNativeTransactionsResponse,
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmTransactionsListContractDeployments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import {
export async function dataEvmTransactionsListContractDeployments(
client: AvaCloudSDKCore,
request: operations.ListContractDeploymentsRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
PageIterator<
Result<
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmTransactionsListErc1155Transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import {
export async function dataEvmTransactionsListErc1155Transactions(
client: AvaCloudSDKCore,
request: operations.ListErc1155TransactionsRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
PageIterator<
Result<
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmTransactionsListErc20Transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import {
export async function dataEvmTransactionsListErc20Transactions(
client: AvaCloudSDKCore,
request: operations.ListErc20TransactionsRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
PageIterator<
Result<
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmTransactionsListErc721Transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import {
export async function dataEvmTransactionsListErc721Transactions(
client: AvaCloudSDKCore,
request: operations.ListErc721TransactionsRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
PageIterator<
Result<
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmTransactionsListInternalTransactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import {
export async function dataEvmTransactionsListInternalTransactions(
client: AvaCloudSDKCore,
request: operations.ListInternalTransactionsRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
PageIterator<
Result<
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmTransactionsListLatestTransactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import {
export async function dataEvmTransactionsListLatestTransactions(
client: AvaCloudSDKCore,
request: operations.ListLatestTransactionsRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
PageIterator<
Result<
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmTransactionsListNativeTransactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import {
export async function dataEvmTransactionsListNativeTransactions(
client: AvaCloudSDKCore,
request: operations.ListNativeTransactionsRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
PageIterator<
Result<
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmTransactionsListTransactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import {
export async function dataEvmTransactionsListTransactions(
client: AvaCloudSDKCore,
request: operations.ListTransactionsRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
PageIterator<
Result<
Expand Down
2 changes: 1 addition & 1 deletion src/funcs/dataEvmTransactionsListTransfers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import {
export async function dataEvmTransactionsListTransfers(
client: AvaCloudSDKCore,
request: operations.ListTransfersRequest,
options?: RequestOptions & { serverURL?: string },
options?: RequestOptions,
): Promise<
PageIterator<
Result<
Expand Down
Loading

0 comments on commit 19efee2

Please sign in to comment.