Skip to content

Commit 19efee2

Browse files
authored
Merge pull request #45 from ava-labs/speakeasy-sdk-regen-1734567806
chore: 🐝 Update SDK - Generate 0.8.4
2 parents 720d5b1 + ebf1ec9 commit 19efee2

File tree

121 files changed

+274
-188
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+274
-188
lines changed

.speakeasy/gen.lock

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 2b9c4bf6-4d87-4382-84d9-5fb3c84c7fad
33
management:
4-
docChecksum: 4155e3d49d853fdc3e6cf264ac0f997d
4+
docChecksum: 131a10a41700fd631d49a44f585a1ec1
55
docVersion: Beta
6-
speakeasyVersion: 1.455.3
7-
generationVersion: 2.479.3
8-
releaseVersion: 0.8.3
9-
configChecksum: 6f84b9a6cd393b8ea212cec077f58d26
6+
speakeasyVersion: 1.456.1
7+
generationVersion: 2.481.0
8+
releaseVersion: 0.8.4
9+
configChecksum: cf8e7f857f95610fd25bd7f02a8481d4
1010
repoURL: https://github.com/ava-labs/avacloud-sdk-typescript.git
1111
installationURL: https://github.com/ava-labs/avacloud-sdk-typescript
1212
published: true
@@ -15,7 +15,7 @@ features:
1515
additionalDependencies: 0.1.0
1616
additionalProperties: 0.1.1
1717
constsAndDefaults: 0.1.11
18-
core: 3.18.9
18+
core: 3.18.11
1919
defaultEnabledRetries: 0.1.0
2020
deprecations: 2.81.1
2121
devContainers: 2.90.0
@@ -303,6 +303,7 @@ generatedFiles:
303303
- docs/models/components/timeintervalgranularityextended.md
304304
- docs/models/components/timestamprangenftholdersparam.md
305305
- docs/models/components/tokens.md
306+
- docs/models/components/tokenstatus.md
306307
- docs/models/components/tokentype.md
307308
- docs/models/components/transactiondetails.md
308309
- docs/models/components/transactiondirectiontype.md

.speakeasy/gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ generation:
1616
oAuth2ClientCredentialsEnabled: false
1717
oAuth2PasswordEnabled: false
1818
typescript:
19-
version: 0.8.3
19+
version: 0.8.4
2020
additionalDependencies:
2121
dependencies:
2222
json-canonicalize: ^1.0.6

.speakeasy/workflow.lock

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.455.3
1+
speakeasyVersion: 1.456.1
22
sources:
33
AvaCloudSDK-OAS:
44
sourceNamespace: avacloud-sdk-oas
5-
sourceRevisionDigest: sha256:427e2339ce2b9eb81a273c7bb83de00c43a308e09c84b0d7903fcf77b9319fd6
6-
sourceBlobDigest: sha256:169dbb1bda661ac86728cf0e25a89bffd9fc653d0841861fe9b4721df7e80d00
5+
sourceRevisionDigest: sha256:b0bcbfc57457137ce08b7e8e928dcf56df1f6aa1e5f2b8e7c62e4adf48a2eb56
6+
sourceBlobDigest: sha256:1238a5e7abf88be4ec6c94df3cd2c0f771e73e55cd59d4c37c07ffc32e6e79d6
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1734049462
9+
- speakeasy-sdk-regen-1734567806
1010
- Beta
1111
AvalancheSDK-OAS:
1212
sourceNamespace: avalanche-sdk-oas
@@ -19,10 +19,10 @@ targets:
1919
avacloud-sdk:
2020
source: AvaCloudSDK-OAS
2121
sourceNamespace: avacloud-sdk-oas
22-
sourceRevisionDigest: sha256:427e2339ce2b9eb81a273c7bb83de00c43a308e09c84b0d7903fcf77b9319fd6
23-
sourceBlobDigest: sha256:169dbb1bda661ac86728cf0e25a89bffd9fc653d0841861fe9b4721df7e80d00
22+
sourceRevisionDigest: sha256:b0bcbfc57457137ce08b7e8e928dcf56df1f6aa1e5f2b8e7c62e4adf48a2eb56
23+
sourceBlobDigest: sha256:1238a5e7abf88be4ec6c94df3cd2c0f771e73e55cd59d4c37c07ffc32e6e79d6
2424
codeSamplesNamespace: avacloud-sdk-ts-code-samples
25-
codeSamplesRevisionDigest: sha256:1fb35b8427e52e57400257751487603371d4102a047ecf2e4c3a7a1216474270
25+
codeSamplesRevisionDigest: sha256:c35bace548617a3c7a2d79fbb5ef3a13eb1cc159e0dcada60b0305b2f32757ac
2626
avalanche-sdk:
2727
source: AvalancheSDK-OAS
2828
sourceNamespace: avalanche-sdk-oas

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -189,4 +189,14 @@ Based on:
189189
### Generated
190190
- [typescript v0.8.3] .
191191
### Releases
192-
- [NPM v0.8.3] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.8.3 - .
192+
- [NPM v0.8.3] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.8.3 - .
193+
194+
## 2024-12-19 18:44:39
195+
### Changes
196+
Based on:
197+
- OpenAPI Doc
198+
- Speakeasy CLI 1.456.1 (2.481.0) https://github.com/speakeasy-api/speakeasy
199+
### Generated
200+
- [typescript v0.8.4] .
201+
### Releases
202+
- [NPM v0.8.4] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.8.4 - .

docs/models/components/chainmetric.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ let value: ChainMetric = "activeAddresses";
1111
## Values
1212

1313
```typescript
14-
"activeAddresses" | "activeSenders" | "cumulativeTxCount" | "cumulativeAddresses" | "cumulativeContracts" | "cumulativeDeployers" | "gasUsed" | "txCount" | "avgGps" | "maxGps" | "avgTps" | "maxTps" | "avgGasPrice" | "maxGasPrice"
14+
"activeAddresses" | "activeSenders" | "cumulativeTxCount" | "cumulativeAddresses" | "cumulativeContracts" | "cumulativeDeployers" | "gasUsed" | "txCount" | "avgGps" | "maxGps" | "avgTps" | "maxTps" | "avgGasPrice" | "maxGasPrice" | "feesPaid"
1515
```

docs/models/components/chainrollingwindowmetric.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ let value: ChainRollingWindowMetric = "txCount";
1111
## Values
1212

1313
```typescript
14-
"gasUsed" | "txCount" | "avgGps" | "maxGps" | "avgTps" | "maxTps" | "avgGasPrice" | "maxGasPrice"
14+
"gasUsed" | "txCount" | "avgGps" | "maxGps" | "avgTps" | "maxTps" | "avgGasPrice" | "maxGasPrice" | "feesPaid"
1515
```

docs/models/components/erc20tokenbalance.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ let value: Erc20TokenBalance = {
2323
currencyCode: "usd",
2424
value: 42.42,
2525
},
26+
tokenStatus: {},
2627
};
2728
```
2829

@@ -39,4 +40,5 @@ let value: Erc20TokenBalance = {
3940
| `price` | [components.Money](../../models/components/money.md) | :heavy_minus_sign: | The token price, if available. | |
4041
| `chainId` | *string* | :heavy_check_mark: | The evm chain id. | 43114 |
4142
| `balance` | *string* | :heavy_check_mark: | The address balance for the token, in units specified by the `decimals` value for the contract. | 2000000000000000000 |
42-
| `balanceValue` | [components.Money](../../models/components/money.md) | :heavy_minus_sign: | The monetary value of the balance, if a price is available for the token. | |
43+
| `balanceValue` | [components.Money](../../models/components/money.md) | :heavy_minus_sign: | The monetary value of the balance, if a price is available for the token. | |
44+
| `tokenStatus` | [components.TokenStatus](../../models/components/tokenstatus.md) | :heavy_check_mark: | N/A | |

docs/models/components/listerc20balancesresponse.md

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ let value: ListErc20BalancesResponse = {
2525
currencyCode: "usd",
2626
value: 42.42,
2727
},
28+
tokenStatus: {},
2829
},
2930
],
3031
};

docs/models/components/tokenstatus.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# TokenStatus
2+
3+
## Example Usage
4+
5+
```typescript
6+
import { TokenStatus } from "@avalabs/avacloud-sdk/models/components";
7+
8+
let value: TokenStatus = {};
9+
```
10+
11+
## Fields
12+
13+
| Field | Type | Required | Description |
14+
| ----------- | ----------- | ----------- | ----------- |

docs/models/operations/listerc20balancesresponse.md

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ let value: ListErc20BalancesResponse = {
2626
currencyCode: "usd",
2727
value: 42.42,
2828
},
29+
tokenStatus: {},
2930
},
3031
],
3132
},

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "@avalabs/avacloud-sdk",
3-
"version": "0.8.3",
3+
"version": "0.8.4",
44
"author": "AvaCloud",
5-
"license": "SEE LICENSE",
65
"homepage": "https://developer.avacloud.io/avacloud-sdk/getting-started",
6+
"license": "SEE LICENSE",
77
"main": "./index.js",
88
"sideEffects": false,
99
"repository": {

src/funcs/dataEvmBalancesGetNativeBalance.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import { Result } from "../types/fp.js";
3535
export async function dataEvmBalancesGetNativeBalance(
3636
client: AvaCloudSDKCore,
3737
request: operations.GetNativeBalanceRequest,
38-
options?: RequestOptions & { serverURL?: string },
38+
options?: RequestOptions,
3939
): Promise<
4040
Result<
4141
components.GetNativeBalanceResponse,

src/funcs/dataEvmBalancesListCollectibleBalances.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import {
4141
export async function dataEvmBalancesListCollectibleBalances(
4242
client: AvaCloudSDKCore,
4343
request: operations.ListCollectibleBalancesRequest,
44-
options?: RequestOptions & { serverURL?: string },
44+
options?: RequestOptions,
4545
): Promise<
4646
PageIterator<
4747
Result<

src/funcs/dataEvmBalancesListErc1155Balances.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import {
4343
export async function dataEvmBalancesListErc1155Balances(
4444
client: AvaCloudSDKCore,
4545
request: operations.ListErc1155BalancesRequest,
46-
options?: RequestOptions & { serverURL?: string },
46+
options?: RequestOptions,
4747
): Promise<
4848
PageIterator<
4949
Result<

src/funcs/dataEvmBalancesListErc20Balances.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import {
4343
export async function dataEvmBalancesListErc20Balances(
4444
client: AvaCloudSDKCore,
4545
request: operations.ListErc20BalancesRequest,
46-
options?: RequestOptions & { serverURL?: string },
46+
options?: RequestOptions,
4747
): Promise<
4848
PageIterator<
4949
Result<

src/funcs/dataEvmBalancesListErc721Balances.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import {
4141
export async function dataEvmBalancesListErc721Balances(
4242
client: AvaCloudSDKCore,
4343
request: operations.ListErc721BalancesRequest,
44-
options?: RequestOptions & { serverURL?: string },
44+
options?: RequestOptions,
4545
): Promise<
4646
PageIterator<
4747
Result<

src/funcs/dataEvmBlocksGetBlock.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import { Result } from "../types/fp.js";
3333
export async function dataEvmBlocksGetBlock(
3434
client: AvaCloudSDKCore,
3535
request: operations.GetBlockRequest,
36-
options?: RequestOptions & { serverURL?: string },
36+
options?: RequestOptions,
3737
): Promise<
3838
Result<
3939
components.GetEvmBlockResponse,

src/funcs/dataEvmBlocksGetLatestBlocks.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import {
3939
export async function dataEvmBlocksGetLatestBlocks(
4040
client: AvaCloudSDKCore,
4141
request: operations.GetLatestBlocksRequest,
42-
options?: RequestOptions & { serverURL?: string },
42+
options?: RequestOptions,
4343
): Promise<
4444
PageIterator<
4545
Result<

src/funcs/dataEvmChainsGetAddressChains.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import { Result } from "../types/fp.js";
3333
export async function dataEvmChainsGetAddressChains(
3434
client: AvaCloudSDKCore,
3535
request: operations.GetAddressChainsRequest,
36-
options?: RequestOptions & { serverURL?: string },
36+
options?: RequestOptions,
3737
): Promise<
3838
Result<
3939
components.ListAddressChainsResponse,

src/funcs/dataEvmChainsGetChainInfo.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import { Result } from "../types/fp.js";
3333
export async function dataEvmChainsGetChainInfo(
3434
client: AvaCloudSDKCore,
3535
request: operations.GetChainInfoRequest,
36-
options?: RequestOptions & { serverURL?: string },
36+
options?: RequestOptions,
3737
): Promise<
3838
Result<
3939
components.GetChainResponse,

src/funcs/dataEvmChainsSupportedChains.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import { Result } from "../types/fp.js";
3333
export async function dataEvmChainsSupportedChains(
3434
client: AvaCloudSDKCore,
3535
request: operations.SupportedChainsRequest,
36-
options?: RequestOptions & { serverURL?: string },
36+
options?: RequestOptions,
3737
): Promise<
3838
Result<
3939
components.DataListChainsResponse,

src/funcs/dataEvmContractsGetContractMetadata.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
3232
export async function dataEvmContractsGetContractMetadata(
3333
client: AvaCloudSDKCore,
3434
request: operations.GetContractMetadataRequest,
35-
options?: RequestOptions & { serverURL?: string },
35+
options?: RequestOptions,
3636
): Promise<
3737
Result<
3838
operations.GetContractMetadataResponseBody,

src/funcs/dataEvmTransactionsGetDeploymentTransaction.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import { Result } from "../types/fp.js";
3333
export async function dataEvmTransactionsGetDeploymentTransaction(
3434
client: AvaCloudSDKCore,
3535
request: operations.GetDeploymentTransactionRequest,
36-
options?: RequestOptions & { serverURL?: string },
36+
options?: RequestOptions,
3737
): Promise<
3838
Result<
3939
components.GetTransactionResponse,

src/funcs/dataEvmTransactionsGetTransaction.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import { Result } from "../types/fp.js";
3333
export async function dataEvmTransactionsGetTransaction(
3434
client: AvaCloudSDKCore,
3535
request: operations.GetTransactionRequest,
36-
options?: RequestOptions & { serverURL?: string },
36+
options?: RequestOptions,
3737
): Promise<
3838
Result<
3939
components.GetTransactionResponse,

src/funcs/dataEvmTransactionsGetTransactionsForBlock.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import { Result } from "../types/fp.js";
3333
export async function dataEvmTransactionsGetTransactionsForBlock(
3434
client: AvaCloudSDKCore,
3535
request: operations.GetTransactionsForBlockRequest,
36-
options?: RequestOptions & { serverURL?: string },
36+
options?: RequestOptions,
3737
): Promise<
3838
Result<
3939
components.ListNativeTransactionsResponse,

src/funcs/dataEvmTransactionsListContractDeployments.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import {
3939
export async function dataEvmTransactionsListContractDeployments(
4040
client: AvaCloudSDKCore,
4141
request: operations.ListContractDeploymentsRequest,
42-
options?: RequestOptions & { serverURL?: string },
42+
options?: RequestOptions,
4343
): Promise<
4444
PageIterator<
4545
Result<

src/funcs/dataEvmTransactionsListErc1155Transactions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import {
3939
export async function dataEvmTransactionsListErc1155Transactions(
4040
client: AvaCloudSDKCore,
4141
request: operations.ListErc1155TransactionsRequest,
42-
options?: RequestOptions & { serverURL?: string },
42+
options?: RequestOptions,
4343
): Promise<
4444
PageIterator<
4545
Result<

src/funcs/dataEvmTransactionsListErc20Transactions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import {
3939
export async function dataEvmTransactionsListErc20Transactions(
4040
client: AvaCloudSDKCore,
4141
request: operations.ListErc20TransactionsRequest,
42-
options?: RequestOptions & { serverURL?: string },
42+
options?: RequestOptions,
4343
): Promise<
4444
PageIterator<
4545
Result<

src/funcs/dataEvmTransactionsListErc721Transactions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import {
3939
export async function dataEvmTransactionsListErc721Transactions(
4040
client: AvaCloudSDKCore,
4141
request: operations.ListErc721TransactionsRequest,
42-
options?: RequestOptions & { serverURL?: string },
42+
options?: RequestOptions,
4343
): Promise<
4444
PageIterator<
4545
Result<

src/funcs/dataEvmTransactionsListInternalTransactions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import {
4141
export async function dataEvmTransactionsListInternalTransactions(
4242
client: AvaCloudSDKCore,
4343
request: operations.ListInternalTransactionsRequest,
44-
options?: RequestOptions & { serverURL?: string },
44+
options?: RequestOptions,
4545
): Promise<
4646
PageIterator<
4747
Result<

src/funcs/dataEvmTransactionsListLatestTransactions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import {
3939
export async function dataEvmTransactionsListLatestTransactions(
4040
client: AvaCloudSDKCore,
4141
request: operations.ListLatestTransactionsRequest,
42-
options?: RequestOptions & { serverURL?: string },
42+
options?: RequestOptions,
4343
): Promise<
4444
PageIterator<
4545
Result<

src/funcs/dataEvmTransactionsListNativeTransactions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import {
3939
export async function dataEvmTransactionsListNativeTransactions(
4040
client: AvaCloudSDKCore,
4141
request: operations.ListNativeTransactionsRequest,
42-
options?: RequestOptions & { serverURL?: string },
42+
options?: RequestOptions,
4343
): Promise<
4444
PageIterator<
4545
Result<

src/funcs/dataEvmTransactionsListTransactions.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import {
4141
export async function dataEvmTransactionsListTransactions(
4242
client: AvaCloudSDKCore,
4343
request: operations.ListTransactionsRequest,
44-
options?: RequestOptions & { serverURL?: string },
44+
options?: RequestOptions,
4545
): Promise<
4646
PageIterator<
4747
Result<

src/funcs/dataEvmTransactionsListTransfers.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import {
3939
export async function dataEvmTransactionsListTransfers(
4040
client: AvaCloudSDKCore,
4141
request: operations.ListTransfersRequest,
42-
options?: RequestOptions & { serverURL?: string },
42+
options?: RequestOptions,
4343
): Promise<
4444
PageIterator<
4545
Result<

0 commit comments

Comments
 (0)