Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.451.6
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Dec 5, 2024
1 parent d0739fa commit 3bec765
Show file tree
Hide file tree
Showing 60 changed files with 107 additions and 94 deletions.
8 changes: 4 additions & 4 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: 0ebe374a20152b66b70baa53d8da3358
docChecksum: d083569ccca6b9d30c9dc29c78a5fd11
docVersion: v1.0.0
speakeasyVersion: 1.451.6
generationVersion: 2.471.2
releaseVersion: 4.19.0
configChecksum: 6057f9d5f9228396fee0a88ee86382f9
releaseVersion: 4.19.1
configChecksum: e83238cee4121fbe16eee4f9ec9ed463
repoURL: https://github.com/Leonardo-Interactive/leonardo-ts-sdk.git
repoSubDirectory: .
installationURL: https://github.com/Leonardo-Interactive/leonardo-ts-sdk
Expand Down Expand Up @@ -532,7 +532,7 @@ examples:
createElement:
speakeasy-default-create-element:
requestBody:
application/json: {"datasetId": "<id>", "instance_prompt": "<value>", "name": "<value>"}
application/json: {"datasetId": "<id>", "instance_prompt": "<value>", "name": "<value>", "sd_version": "SDXL_LIGHTNING"}
deleteElementById:
speakeasy-default-delete-element-by-id:
parameters:
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ speakeasyVersion: 1.451.6
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:aaf6c01850d5b5ab6448866d155e840a0682eefd121d8245f5369d39ef4e3c98
sourceBlobDigest: sha256:3015e3c2fd4cbb219e7a39ecd80e7e8e60fd3c825e19520e16e847bca420fb98
sourceRevisionDigest: sha256:85d4ef7e7537e09ac0c8becf4358d8660ab014fc0a99b4c8e7b5e93cd8944b06
sourceBlobDigest: sha256:20434fbc8c9c507fa6574a2481206caedace67a9edb08cd910f18194607cbab0
tags:
- latest
- speakeasy-sdk-regen-1733365732
- speakeasy-sdk-regen-1733368536
- v1.0.0
targets:
leonardo-ts-sdk:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:aaf6c01850d5b5ab6448866d155e840a0682eefd121d8245f5369d39ef4e3c98
sourceBlobDigest: sha256:3015e3c2fd4cbb219e7a39ecd80e7e8e60fd3c825e19520e16e847bca420fb98
sourceRevisionDigest: sha256:85d4ef7e7537e09ac0c8becf4358d8660ab014fc0a99b4c8e7b5e93cd8944b06
sourceBlobDigest: sha256:20434fbc8c9c507fa6574a2481206caedace67a9edb08cd910f18194607cbab0
codeSamplesNamespace: my-source-typescript-code-samples
codeSamplesRevisionDigest: sha256:b5b0cc0e92e6f369f2c07cd4d547eb8fe7e8ed696ae3dcb92365385a948ae413
codeSamplesRevisionDigest: sha256:72270a2c427285abbf29071d248bfa1bd0a0b3eb40ce67f531f1249852d1f55f
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2499,4 +2499,14 @@ Based on:
### Generated
- [typescript v4.19.0] .
### Releases
- [NPM v4.19.0] https://www.npmjs.com/package/@leonardo-ai/sdk/v/4.19.0 - .
- [NPM v4.19.0] https://www.npmjs.com/package/@leonardo-ai/sdk/v/4.19.0 - .

## 2024-12-05 03:15:33
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.451.6 (2.471.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v4.19.1] .
### Releases
- [NPM v4.19.1] https://www.npmjs.com/package/@leonardo-ai/sdk/v/4.19.1 - .
13 changes: 6 additions & 7 deletions docs/sdk/models/operations/createelementrequestbody.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,24 @@ Query parameters to be provided in the request body as a JSON object.

```typescript
import { CreateElementRequestBody } from "@leonardo-ai/sdk/sdk/models/operations";
import { SdVersions } from "@leonardo-ai/sdk/sdk/models/shared";

let value: CreateElementRequestBody = {
datasetId: "<id>",
instancePrompt: "<value>",
name: "<value>",
sdVersion: SdVersions.SdxlLightning,
};
```

## Fields

| Field | Type | Required | Description |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `datasetId` | *string* | :heavy_check_mark: | The ID of the dataset to train the element on. |
| `datasetId` | *string* | :heavy_minus_sign: | The ID of the dataset to train the element on. |
| `description` | *string* | :heavy_minus_sign: | The description of the element. |
| `instancePrompt` | *string* | :heavy_check_mark: | The instance prompt to use during training. |
| `instancePrompt` | *string* | :heavy_minus_sign: | The instance prompt to use during training. |
| `learningRate` | *number* | :heavy_minus_sign: | The speed of element learns. |
| `loraFocus` | *string* | :heavy_minus_sign: | The category determines how the element will be trained. Options are 'General' \| 'Character' \| 'Style' \| 'Object'. |
| `name` | *string* | :heavy_check_mark: | The name of the element. |
| `name` | *string* | :heavy_minus_sign: | The name of the element. |
| `numTrainEpochs` | *number* | :heavy_minus_sign: | The number of times the entire training dataset is passed through the element. |
| `resolution` | *number* | :heavy_minus_sign: | The resolution for training. Must be 1024. |
| `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 |
| `sdVersion` | [shared.SdVersions](../../../sdk/models/shared/sdversions.md) | :heavy_check_mark: | 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 |
| `trainTextEncoder` | *boolean* | :heavy_minus_sign: | Whether or not encode the train text. |
2 changes: 1 addition & 1 deletion docs/sdk/models/operations/createelementresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CreateElementResponse } from "@leonardo-ai/sdk/sdk/models/operations";

let value: CreateElementResponse = {
contentType: "<value>",
statusCode: 413,
statusCode: 307,
rawResponse: new Response("{\"message\": \"hello world\"}", {
headers: { "Content-Type": "application/json" },
}),
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/models/operations/creategenerationresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CreateGenerationResponse } from "@leonardo-ai/sdk/sdk/models/operations

let value: CreateGenerationResponse = {
contentType: "<value>",
statusCode: 305,
statusCode: 300,
rawResponse: new Response("{\"message\": \"hello world\"}", {
headers: { "Content-Type": "application/json" },
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Query parameters can also be provided in the request body as a JSON object
import { CreateLCMGenerationRequestBody } from "@leonardo-ai/sdk/sdk/models/operations";

let value: CreateLCMGenerationRequestBody = {
imageDataUrl: "https://jealous-postbox.com/",
imageDataUrl: "https://ruddy-bandwidth.net/",
prompt: "<value>",
};
```
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/models/operations/createlcmgenerationresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CreateLCMGenerationResponse } from "@leonardo-ai/sdk/sdk/models/operati

let value: CreateLCMGenerationResponse = {
contentType: "<value>",
statusCode: 421,
statusCode: 406,
rawResponse: new Response("{\"message\": \"hello world\"}", {
headers: { "Content-Type": "application/json" },
}),
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/models/operations/createmodelresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CreateModelResponse } from "@leonardo-ai/sdk/sdk/models/operations";

let value: CreateModelResponse = {
contentType: "<value>",
statusCode: 201,
statusCode: 101,
rawResponse: new Response("{\"message\": \"hello world\"}", {
headers: { "Content-Type": "application/json" },
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CreateSVDMotionGenerationResponse } from "@leonardo-ai/sdk/sdk/models/o

let value: CreateSVDMotionGenerationResponse = {
contentType: "<value>",
statusCode: 501,
statusCode: 103,
rawResponse: new Response("{\"message\": \"hello world\"}", {
headers: { "Content-Type": "application/json" },
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CreateTextureGenerationResponse } from "@leonardo-ai/sdk/sdk/models/ope

let value: CreateTextureGenerationResponse = {
contentType: "<value>",
statusCode: 505,
statusCode: 308,
rawResponse: new Response("{\"message\": \"hello world\"}", {
headers: { "Content-Type": "application/json" },
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CreateUniversalUpscalerJobResponse } from "@leonardo-ai/sdk/sdk/models/

let value: CreateUniversalUpscalerJobResponse = {
contentType: "<value>",
statusCode: 201,
statusCode: 102,
rawResponse: new Response("{\"message\": \"hello world\"}", {
headers: { "Content-Type": "application/json" },
}),
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/models/operations/createvariationnobgresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CreateVariationNoBGResponse } from "@leonardo-ai/sdk/sdk/models/operati

let value: CreateVariationNoBGResponse = {
contentType: "<value>",
statusCode: 300,
statusCode: 103,
rawResponse: new Response("{\"message\": \"hello world\"}", {
headers: { "Content-Type": "application/json" },
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CreateVariationUnzoomResponse } from "@leonardo-ai/sdk/sdk/models/opera

let value: CreateVariationUnzoomResponse = {
contentType: "<value>",
statusCode: 500,
statusCode: 102,
rawResponse: new Response("{\"message\": \"hello world\"}", {
headers: { "Content-Type": "application/json" },
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CreateVariationUpscaleResponse } from "@leonardo-ai/sdk/sdk/models/oper

let value: CreateVariationUpscaleResponse = {
contentType: "<value>",
statusCode: 407,
statusCode: 207,
rawResponse: new Response("{\"message\": \"hello world\"}", {
headers: { "Content-Type": "application/json" },
}),
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/models/operations/delete3dmodelbyidresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Delete3DModelByIdResponse } from "@leonardo-ai/sdk/sdk/models/operation

let value: Delete3DModelByIdResponse = {
contentType: "<value>",
statusCode: 302,
statusCode: 205,
rawResponse: new Response("{\"message\": \"hello world\"}", {
headers: { "Content-Type": "application/json" },
}),
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/models/operations/deleteelementbyidrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { DeleteElementByIdRequest } from "@leonardo-ai/sdk/sdk/models/operations";

let value: DeleteElementByIdRequest = {
id: 780529,
id: 118274,
};
```

Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/models/operations/deleteelementbyidresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { DeleteElementByIdResponse } from "@leonardo-ai/sdk/sdk/models/operation

let value: DeleteElementByIdResponse = {
contentType: "<value>",
statusCode: 102,
statusCode: 404,
rawResponse: new Response("{\"message\": \"hello world\"}", {
headers: { "Content-Type": "application/json" },
}),
Expand Down
2 changes: 1 addition & 1 deletion docs/sdk/models/operations/deletegenerationbyidresponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { DeleteGenerationByIdResponse } from "@leonardo-ai/sdk/sdk/models/operat

let value: DeleteGenerationByIdResponse = {
contentType: "<value>",
statusCode: 102,
statusCode: 417,
rawResponse: new Response("{\"message\": \"hello world\"}", {
headers: { "Content-Type": "application/json" },
}),
Expand Down
Loading

0 comments on commit 3bec765

Please sign in to comment.