Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc v1.0.0, Speakeasy CLI 1.127.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Dec 18, 2023
1 parent 3500c03 commit 0a69052
Show file tree
Hide file tree
Showing 13 changed files with 51 additions and 39 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Handling errors in this SDK should largely match your expectations. All operati

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |

Example

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1439,4 +1439,14 @@ Based on:
### Generated
- [typescript v2.2.0] .
### Releases
- [NPM v2.2.0] https://www.npmjs.com/package/@leonardo-ai/sdk/v/2.2.0 - .
- [NPM v2.2.0] https://www.npmjs.com/package/@leonardo-ai/sdk/v/2.2.0 - .

## 2023-12-18 20:02:01
### Changes
Based on:
- OpenAPI Doc v1.0.0 https://api-docs-nine-delta.vercel.app/cloud/openapi.json
- Speakeasy CLI 1.127.0 (2.220.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v2.2.1] .
### Releases
- [NPM v2.2.1] https://www.npmjs.com/package/@leonardo-ai/sdk/v/2.2.1 - .
10 changes: 5 additions & 5 deletions docs/sdks/dataset/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |

## deleteDatasetById

Expand Down Expand Up @@ -93,7 +93,7 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |

## getDatasetById

Expand Down Expand Up @@ -136,7 +136,7 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |

## uploadDatasetImage

Expand Down Expand Up @@ -183,7 +183,7 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |

## uploadDatasetImageFromGen

Expand Down Expand Up @@ -230,4 +230,4 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |
2 changes: 1 addition & 1 deletion docs/sdks/element/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |
12 changes: 6 additions & 6 deletions docs/sdks/generation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |

## deleteGenerationById

Expand Down Expand Up @@ -100,7 +100,7 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |

## deleteGenerationsTextureId

Expand Down Expand Up @@ -145,7 +145,7 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |

## getGenerationById

Expand Down Expand Up @@ -188,7 +188,7 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |

## getGenerationsByUserId

Expand Down Expand Up @@ -235,7 +235,7 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |

## postGenerationsTexture

Expand Down Expand Up @@ -276,4 +276,4 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |
6 changes: 3 additions & 3 deletions docs/sdks/initimage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |

## getInitImageById

Expand Down Expand Up @@ -91,7 +91,7 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |

## uploadInitImage

Expand Down Expand Up @@ -134,4 +134,4 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |
12 changes: 6 additions & 6 deletions docs/sdks/model/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |

## deleteModelById

Expand Down Expand Up @@ -97,7 +97,7 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |

## deleteModels3dId

Expand Down Expand Up @@ -142,7 +142,7 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |

## getModelById

Expand Down Expand Up @@ -185,7 +185,7 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |

## getPlatformModels

Expand Down Expand Up @@ -230,7 +230,7 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |

## postModels3dUpload

Expand Down Expand Up @@ -271,4 +271,4 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |
2 changes: 1 addition & 1 deletion docs/sdks/user/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |
8 changes: 4 additions & 4 deletions docs/sdks/variation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |

## createVariationUpscale

Expand Down Expand Up @@ -92,7 +92,7 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |

## getVariationById

Expand Down Expand Up @@ -135,7 +135,7 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |

## postVariationsUnzoom

Expand Down Expand Up @@ -176,4 +176,4 @@ run();

| Error Object | Status Code | Content Type |
| --------------- | --------------- | --------------- |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4xx-5xx | */* |
12 changes: 7 additions & 5 deletions gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ configVersion: 1.0.0
management:
docChecksum: 5c46d09a773b28588fedd4bb31a1647c
docVersion: v1.0.0
speakeasyVersion: 1.126.0
generationVersion: 2.213.3
speakeasyVersion: 1.127.0
generationVersion: 2.220.0
generation:
comments: {}
devContainers:
Expand All @@ -13,15 +13,17 @@ generation:
repoURL: https://github.com/Leonardo-Interactive/leonardo-ts-sdk.git
usageSnippets:
optionalPropertyRendering: withExample
fixes:
nameResolutionDec2023: false
features:
typescript:
core: 3.3.0
core: 3.3.9
devContainers: 2.88.0
flattening: 2.81.1
globalSecurity: 2.82.1
globalSecurity: 2.82.2
globalServerURLs: 2.82.1
typescript:
version: 2.2.0
version: 2.2.1
author: leonardoai
clientServerStatusCodesAsErrors: false
flattenGlobalSecurity: true
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.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leonardo-ai/sdk",
"version": "2.2.0",
"version": "2.2.1",
"author": "leonardoai",
"scripts": {
"prepare": "tsc --build",
Expand Down
6 changes: 3 additions & 3 deletions src/sdk/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ export class SDKConfiguration {
serverDefaults: any;
language = "typescript";
openapiDocVersion = "v1.0.0";
sdkVersion = "2.2.0";
genVersion = "2.213.3";
userAgent = "speakeasy-sdk/typescript 2.2.0 2.213.3 v1.0.0 @leonardo-ai/sdk";
sdkVersion = "2.2.1";
genVersion = "2.220.0";
userAgent = "speakeasy-sdk/typescript 2.2.1 2.220.0 v1.0.0 @leonardo-ai/sdk";
retryConfig?: utils.RetryConfig;
public constructor(init?: Partial<SDKConfiguration>) {
Object.assign(this, init);
Expand Down

0 comments on commit 0a69052

Please sign in to comment.