Skip to content

Commit c67285c

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.456.1
1 parent 19efee2 commit c67285c

12 files changed

+35
-86
lines changed

.speakeasy/gen.lock

+3-4
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: 131a10a41700fd631d49a44f585a1ec1
4+
docChecksum: 28e6058365feaf515e62682b72e19bcc
55
docVersion: Beta
66
speakeasyVersion: 1.456.1
77
generationVersion: 2.481.0
8-
releaseVersion: 0.8.4
9-
configChecksum: cf8e7f857f95610fd25bd7f02a8481d4
8+
releaseVersion: 0.8.5
9+
configChecksum: 743405fa666098d1cd9a589420dc7e4b
1010
repoURL: https://github.com/ava-labs/avacloud-sdk-typescript.git
1111
installationURL: https://github.com/ava-labs/avacloud-sdk-typescript
1212
published: true
@@ -303,7 +303,6 @@ 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
307306
- docs/models/components/tokentype.md
308307
- docs/models/components/transactiondetails.md
309308
- 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.4
19+
version: 0.8.5
2020
additionalDependencies:
2121
dependencies:
2222
json-canonicalize: ^1.0.6

.speakeasy/workflow.lock

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ speakeasyVersion: 1.456.1
22
sources:
33
AvaCloudSDK-OAS:
44
sourceNamespace: avacloud-sdk-oas
5-
sourceRevisionDigest: sha256:b0bcbfc57457137ce08b7e8e928dcf56df1f6aa1e5f2b8e7c62e4adf48a2eb56
6-
sourceBlobDigest: sha256:1238a5e7abf88be4ec6c94df3cd2c0f771e73e55cd59d4c37c07ffc32e6e79d6
5+
sourceRevisionDigest: sha256:02ac05c1fb4c139284dd5457bb4aeb4a0c083ecdb6ead0d750a52bb8f27b4feb
6+
sourceBlobDigest: sha256:019e6d0f1c1b452d176d099bd48179cfdee48ab5ca792a9732116e9266dfe127
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1734567806
9+
- speakeasy-sdk-regen-1734638360
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:b0bcbfc57457137ce08b7e8e928dcf56df1f6aa1e5f2b8e7c62e4adf48a2eb56
23-
sourceBlobDigest: sha256:1238a5e7abf88be4ec6c94df3cd2c0f771e73e55cd59d4c37c07ffc32e6e79d6
22+
sourceRevisionDigest: sha256:02ac05c1fb4c139284dd5457bb4aeb4a0c083ecdb6ead0d750a52bb8f27b4feb
23+
sourceBlobDigest: sha256:019e6d0f1c1b452d176d099bd48179cfdee48ab5ca792a9732116e9266dfe127
2424
codeSamplesNamespace: avacloud-sdk-ts-code-samples
25-
codeSamplesRevisionDigest: sha256:c35bace548617a3c7a2d79fbb5ef3a13eb1cc159e0dcada60b0305b2f32757ac
25+
codeSamplesRevisionDigest: sha256:6a67463a6084f11a3d582795bdc4baa240a0668891870288902279931e0e3bb8
2626
avalanche-sdk:
2727
source: AvalancheSDK-OAS
2828
sourceNamespace: avalanche-sdk-oas

RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -199,4 +199,14 @@ Based on:
199199
### Generated
200200
- [typescript v0.8.4] .
201201
### Releases
202-
- [NPM v0.8.4] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.8.4 - .
202+
- [NPM v0.8.4] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.8.4 - .
203+
204+
## 2024-12-19 19:59:16
205+
### Changes
206+
Based on:
207+
- OpenAPI Doc
208+
- Speakeasy CLI 1.456.1 (2.481.0) https://github.com/speakeasy-api/speakeasy
209+
### Generated
210+
- [typescript v0.8.5] .
211+
### Releases
212+
- [NPM v0.8.5] https://www.npmjs.com/package/@avalabs/avacloud-sdk/v/0.8.5 - .

docs/models/components/erc20tokenbalance.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ let value: Erc20TokenBalance = {
2323
currencyCode: "usd",
2424
value: 42.42,
2525
},
26-
tokenStatus: {},
26+
tokenStatus: "<value>",
2727
};
2828
```
2929

@@ -41,4 +41,4 @@ let value: Erc20TokenBalance = {
4141
| `chainId` | *string* | :heavy_check_mark: | The evm chain id. | 43114 |
4242
| `balance` | *string* | :heavy_check_mark: | The address balance for the token, in units specified by the `decimals` value for the contract. | 2000000000000000000 |
4343
| `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 | |
44+
| `tokenStatus` | *string* | :heavy_check_mark: | N/A | |

docs/models/components/listerc20balancesresponse.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ let value: ListErc20BalancesResponse = {
2525
currencyCode: "usd",
2626
value: 42.42,
2727
},
28-
tokenStatus: {},
28+
tokenStatus: "<value>",
2929
},
3030
],
3131
};

docs/models/components/tokenstatus.md

-14
This file was deleted.

docs/models/operations/listerc20balancesresponse.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ let value: ListErc20BalancesResponse = {
2626
currencyCode: "usd",
2727
value: 42.42,
2828
},
29-
tokenStatus: {},
29+
tokenStatus: "<value>",
3030
},
3131
],
3232
},

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.4",
3+
"version": "0.8.5",
44
"author": "AvaCloud",
5-
"homepage": "https://developer.avacloud.io/avacloud-sdk/getting-started",
65
"license": "SEE LICENSE",
6+
"homepage": "https://developer.avacloud.io/avacloud-sdk/getting-started",
77
"main": "./index.js",
88
"sideEffects": false,
99
"repository": {

src/lib/config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
5050
export const SDK_METADATA = {
5151
language: "typescript",
5252
openapiDocVersion: "Beta",
53-
sdkVersion: "0.8.4",
53+
sdkVersion: "0.8.5",
5454
genVersion: "2.481.0",
5555
userAgent:
56-
"speakeasy-sdk/typescript 0.8.4 2.481.0 Beta @avalabs/avacloud-sdk",
56+
"speakeasy-sdk/typescript 0.8.5 2.481.0 Beta @avalabs/avacloud-sdk",
5757
} as const;

src/models/components/erc20tokenbalance.ts

+4-50
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ export type Erc20TokenBalanceErcType = ClosedEnum<
2121
typeof Erc20TokenBalanceErcType
2222
>;
2323

24-
export type TokenStatus = {};
25-
2624
export type Erc20TokenBalance = {
2725
/**
2826
* A wallet or contract address in mixed-case checksum encoding.
@@ -61,7 +59,7 @@ export type Erc20TokenBalance = {
6159
* The monetary value of the balance, if a price is available for the token.
6260
*/
6361
balanceValue?: Money | undefined;
64-
tokenStatus: TokenStatus;
62+
tokenStatus: string | null;
6563
};
6664

6765
/** @internal */
@@ -85,50 +83,6 @@ export namespace Erc20TokenBalanceErcType$ {
8583
export const outboundSchema = Erc20TokenBalanceErcType$outboundSchema;
8684
}
8785

88-
/** @internal */
89-
export const TokenStatus$inboundSchema: z.ZodType<
90-
TokenStatus,
91-
z.ZodTypeDef,
92-
unknown
93-
> = z.object({});
94-
95-
/** @internal */
96-
export type TokenStatus$Outbound = {};
97-
98-
/** @internal */
99-
export const TokenStatus$outboundSchema: z.ZodType<
100-
TokenStatus$Outbound,
101-
z.ZodTypeDef,
102-
TokenStatus
103-
> = z.object({});
104-
105-
/**
106-
* @internal
107-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
108-
*/
109-
export namespace TokenStatus$ {
110-
/** @deprecated use `TokenStatus$inboundSchema` instead. */
111-
export const inboundSchema = TokenStatus$inboundSchema;
112-
/** @deprecated use `TokenStatus$outboundSchema` instead. */
113-
export const outboundSchema = TokenStatus$outboundSchema;
114-
/** @deprecated use `TokenStatus$Outbound` instead. */
115-
export type Outbound = TokenStatus$Outbound;
116-
}
117-
118-
export function tokenStatusToJSON(tokenStatus: TokenStatus): string {
119-
return JSON.stringify(TokenStatus$outboundSchema.parse(tokenStatus));
120-
}
121-
122-
export function tokenStatusFromJSON(
123-
jsonString: string,
124-
): SafeParseResult<TokenStatus, SDKValidationError> {
125-
return safeParse(
126-
jsonString,
127-
(x) => TokenStatus$inboundSchema.parse(JSON.parse(x)),
128-
`Failed to parse 'TokenStatus' from JSON`,
129-
);
130-
}
131-
13286
/** @internal */
13387
export const Erc20TokenBalance$inboundSchema: z.ZodType<
13488
Erc20TokenBalance,
@@ -145,7 +99,7 @@ export const Erc20TokenBalance$inboundSchema: z.ZodType<
14599
chainId: z.string(),
146100
balance: z.string(),
147101
balanceValue: Money$inboundSchema.optional(),
148-
tokenStatus: z.lazy(() => TokenStatus$inboundSchema),
102+
tokenStatus: z.nullable(z.string()),
149103
});
150104

151105
/** @internal */
@@ -160,7 +114,7 @@ export type Erc20TokenBalance$Outbound = {
160114
chainId: string;
161115
balance: string;
162116
balanceValue?: Money$Outbound | undefined;
163-
tokenStatus: TokenStatus$Outbound;
117+
tokenStatus: string | null;
164118
};
165119

166120
/** @internal */
@@ -179,7 +133,7 @@ export const Erc20TokenBalance$outboundSchema: z.ZodType<
179133
chainId: z.string(),
180134
balance: z.string(),
181135
balanceValue: Money$outboundSchema.optional(),
182-
tokenStatus: z.lazy(() => TokenStatus$outboundSchema),
136+
tokenStatus: z.nullable(z.string()),
183137
});
184138

185139
/**

0 commit comments

Comments
 (0)