Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.488.0 (#92)
Browse files Browse the repository at this point in the history
Co-authored-by: speakeasybot <[email protected]>
  • Loading branch information
github-actions[bot] and speakeasybot authored Feb 11, 2025
1 parent 5233dfa commit 709e3d7
Show file tree
Hide file tree
Showing 81 changed files with 1,598 additions and 3,642 deletions.
28 changes: 0 additions & 28 deletions .eslintrc.cjs

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.eslintcache
/.speakeasy/reports
/react-query
/__tests__
Expand Down
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
!/REACT_QUERY.md
!/**/*.ts
!/**/*.js
!/**/*.json
!/**/*.map

/.eslintrc.js
/eslint.config.mjs
/cjs
/.tshy
/.tshy-*
Expand Down
119 changes: 60 additions & 59 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: edadaac9-e645-4ef4-a6c7-a1f73bc19385
management:
docChecksum: 8eaccb7072bac790061f8fdc3ef740e1
docChecksum: 4b74d250e4dae46c2d3e1dec7a2be5b9
docVersion: v1.0.0
speakeasyVersion: 1.466.1
generationVersion: 2.488.4
releaseVersion: 4.19.9
configChecksum: 28f74de71d96f7ee10b4000fcd08ccd7
speakeasyVersion: 1.488.0
generationVersion: 2.506.0
releaseVersion: 4.20.0
configChecksum: 2794a3cde0dffa7f390e8e9b15b459a5
repoURL: https://github.com/Leonardo-Interactive/leonardo-ts-sdk.git
repoSubDirectory: .
installationURL: https://github.com/Leonardo-Interactive/leonardo-ts-sdk
Expand All @@ -15,7 +15,7 @@ features:
typescript:
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.11
core: 3.18.12
core: 3.19.0
defaultEnabledRetries: 0.1.0
deprecations: 2.81.1
devContainers: 2.90.0
Expand All @@ -34,10 +34,8 @@ generatedFiles:
- .devcontainer/README.md
- .devcontainer/devcontainer.json
- .devcontainer/setup.sh
- .eslintrc.cjs
- .gitattributes
- .npmignore
- CONTRIBUTING.md
- FUNCTIONS.md
- RUNTIMES.md
- USAGE.md
Expand Down Expand Up @@ -262,6 +260,7 @@ generatedFiles:
- docs/sdks/threedmodelassets/README.md
- docs/sdks/user/README.md
- docs/sdks/variation/README.md
- eslint.config.mjs
- jsr.json
- package.json
- src/core.ts
Expand Down Expand Up @@ -471,19 +470,50 @@ examples:
speakeasy-default-upload-dataset-image:
parameters:
path:
datasetId: "<value>"
datasetId: "<id>"
requestBody:
application/json: {"extension": "mpg4"}
application/json: {"extension": "mp4v"}
responses:
"200":
application/json: {}
uploadDatasetImageFromGen:
speakeasy-default-upload-dataset-image-from-gen:
parameters:
path:
datasetId: "<value>"
datasetId: "<id>"
requestBody:
application/json: {"generatedImageId": "<value>"}
application/json: {"generatedImageId": "<id>"}
responses:
"200":
application/json: {}
createElement:
speakeasy-default-create-element:
requestBody:
application/json: {"datasetId": "", "description": "", "instance_prompt": "a character", "learning_rate": 0.000001, "lora_focus": "General", "name": "placeholder", "num_train_epochs": 100, "resolution": 1024, "sd_version": "SDXL_0_9", "train_text_encoder": true}
responses:
"200":
application/json: {}
deleteElementById:
speakeasy-default-delete-element-by-id:
parameters:
path:
id: 39024
responses:
"200":
application/json: {}
getCustomElementsByUserId:
speakeasy-default-get-custom-elements-by-user-id:
parameters:
path:
userId: "<id>"
responses:
"200":
application/json: {}
getElementById:
speakeasy-default-get-element-by-id:
parameters:
path:
id: 665696
responses:
"200":
application/json: {}
Expand All @@ -494,6 +524,8 @@ examples:
application/json: {}
createGeneration:
speakeasy-default-create-generation:
requestBody:
application/json: {"alchemy": true, "height": 768, "modelId": "b24e16ff-06e3-43eb-8d33-4416c2d75876", "num_images": 4, "presetStyle": "DYNAMIC", "prompt": "A majestic cat in the snow", "width": 1024}
responses:
"200":
application/json: {}
Expand All @@ -517,8 +549,10 @@ examples:
speakeasy-default-get-generations-by-user-id:
parameters:
path:
userId: "<value>"
query: {}
userId: "<id>"
query:
offset: 0
limit: 10
responses:
"200":
application/json: {}
Expand Down Expand Up @@ -568,7 +602,7 @@ examples:
createModel:
speakeasy-default-create-model:
requestBody:
application/json: {"datasetId": "<value>", "instance_prompt": "<value>", "name": "<value>"}
application/json: {"datasetId": "<id>", "description": "", "instance_prompt": "<value>", "modelType": "GENERAL", "name": "<value>", "nsfw": false, "resolution": 512, "strength": "MEDIUM"}
responses:
"200":
application/json: {}
Expand All @@ -580,6 +614,14 @@ examples:
responses:
"200":
application/json: {}
getCustomModelsByUserId:
speakeasy-default-get-custom-models-by-user-id:
parameters:
path:
userId: "<id>"
responses:
"200":
application/json: {}
getModelById:
speakeasy-default-get-model-by-id:
parameters:
Expand Down Expand Up @@ -625,6 +667,8 @@ examples:
application/json: {}
CreateUniversalUpscalerJob:
speakeasy-default-create-universal-upscaler-job:
requestBody:
application/json: {"creativityStrength": 5, "upscaleMultiplier": 1.5, "upscalerStyle": "GENERAL"}
responses:
"200":
application/json: {}
Expand Down Expand Up @@ -653,48 +697,5 @@ examples:
responses:
"200":
application/json: {}
createElement:
speakeasy-default-create-element:
requestBody:
application/json: {"datasetId": "<id>", "instance_prompt": "<value>", "name": "<value>", "sd_version": "KINO_XL"}
responses:
"200":
application/json: {}
deleteElementById:
speakeasy-default-delete-element-by-id:
parameters:
path:
id: 39024
responses:
"200":
application/json: {}
getElementById:
speakeasy-default-get-element-by-id:
parameters:
path:
id: 665696
responses:
"200":
application/json: {}
getCustomElementsByUserId:
speakeasy-default-get-custom-elements-by-user-id:
parameters:
path:
userId: "<id>"
responses:
"200":
application/json: {}
getCustomModelsByUserId:
speakeasy-default-get-custom-models-by-user-id:
parameters:
path:
userId: "<id>"
responses:
"200":
application/json: {}
listPlatformStyles:
speakeasy-default-list-platform-styles:
responses:
"200":
application/json: {}
examplesVersion: 1.0.0
generatedTests: {}
17 changes: 8 additions & 9 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.466.1
speakeasyVersion: 1.488.0
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:d2ad466262661d9c75537ba8313f1a43f0392747d0e15d8c3d38dfec0e90620e
sourceBlobDigest: sha256:8d2b5e91ab9d803b939e5f2d3cb35f89a9a3e7a198fef07f9d724dbf8796b519
sourceRevisionDigest: sha256:73702ee558efaf0d23184de323cd101614e68688c969a41352d032f756e647fa
sourceBlobDigest: sha256:4ead44bcaac5b14a8184f8fcc7512d53a00a5a029b3085c55d7eb331256f1dcc
tags:
- latest
- speakeasy-sdk-regen-1736400674
- speakeasy-sdk-regen-1739241966
- v1.0.0
targets:
leonardo-ts-sdk:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:d2ad466262661d9c75537ba8313f1a43f0392747d0e15d8c3d38dfec0e90620e
sourceBlobDigest: sha256:8d2b5e91ab9d803b939e5f2d3cb35f89a9a3e7a198fef07f9d724dbf8796b519
sourceRevisionDigest: sha256:73702ee558efaf0d23184de323cd101614e68688c969a41352d032f756e647fa
sourceBlobDigest: sha256:4ead44bcaac5b14a8184f8fcc7512d53a00a5a029b3085c55d7eb331256f1dcc
codeSamplesNamespace: my-source-typescript-code-samples
codeSamplesRevisionDigest: sha256:7fe3aaa8ef7733634a9688e5dec25d1c50c26d069801bf5235c55b79d5ea32a1
codeSamplesRevisionDigest: sha256:46ef5ef6800ca54310cbf1e635b35f959e2296f5c5f913cbf6e7ffe9b1de879b
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand All @@ -32,8 +32,7 @@ workflow:
output: ./
publish:
npm:
token: $NPM_TOKEN
token: $npm_token
codeSamples:
registry:
location: registry.speakeasyapi.dev/leonardo-ai/leonardo-ai/my-source-typescript-code-samples
blocking: false
1 change: 0 additions & 1 deletion .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@ targets:
npm:
token: $npm_token
codeSamples:
output: ""
registry:
location: registry.speakeasyapi.dev/leonardo-ai/leonardo-ai/my-source-typescript-code-samples
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2589,4 +2589,14 @@ Based on:
### Generated
- [typescript v4.19.9] .
### Releases
- [NPM v4.19.9] https://www.npmjs.com/package/@leonardo-ai/sdk/v/4.19.9 - .
- [NPM v4.19.9] https://www.npmjs.com/package/@leonardo-ai/sdk/v/4.19.9 - .

## 2025-02-11 02:45:51
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.488.0 (2.506.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v4.20.0] .
### Releases
- [NPM v4.20.0] https://www.npmjs.com/package/@leonardo-ai/sdk/v/4.20.0 - .
2 changes: 1 addition & 1 deletion docs/sdk/models/operations/creategenerationrequestbody.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ let value: CreateGenerationRequestBody = {};
| `public` | *boolean* | :heavy_minus_sign: | Whether the generated images should show in the community feed. |
| `scheduler` | [shared.SdGenerationSchedulers](../../../sdk/models/shared/sdgenerationschedulers.md) | :heavy_minus_sign: | The scheduler to generate images with. Defaults to EULER_DISCRETE if not specified. |
| `sdVersion` | [shared.SdVersions](../../../sdk/models/shared/sdversions.md) | :heavy_minus_sign: | The base version of stable diffusion to use if not using a custom model. v1_5 is 1.5, v2 is 2.1, if not specified it will default to v1_5. Also includes SDXL and SDXL Lightning models |
| `seed` | *number* | :heavy_minus_sign: | N/A |
| `seed` | *number* | :heavy_minus_sign: | Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models |
| `tiling` | *boolean* | :heavy_minus_sign: | Whether the generated images should tile on all axis. |
| `transparency` | [operations.TransparencyType](../../../sdk/models/operations/transparencytype.md) | :heavy_minus_sign: | Which type of transparency this image should use |
| `ultra` | *boolean* | :heavy_minus_sign: | Enable to use Ultra mode. Note: can not be used with Alchemy. |
Expand Down
Loading

0 comments on commit 709e3d7

Please sign in to comment.