Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.465.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jan 8, 2025
1 parent 19bcf4c commit 2386ec5
Show file tree
Hide file tree
Showing 11 changed files with 56 additions and 21 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.speakeasy/reports
/react-query
/__tests__
/funcs
Expand Down
10 changes: 5 additions & 5 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: 425bdb54a16c9f5e43a50131707f7269
docChecksum: 50a54ef0adaa363e805da3259d150bd1
docVersion: v1.0.0
speakeasyVersion: 1.460.4
generationVersion: 2.484.0
releaseVersion: 4.19.7
configChecksum: 719cdd536c498996b986a23ca058efc8
speakeasyVersion: 1.465.1
generationVersion: 2.488.4
releaseVersion: 4.19.8
configChecksum: a976faedb22aed82a44f84c6d8de28e6
repoURL: https://github.com/Leonardo-Interactive/leonardo-ts-sdk.git
repoSubDirectory: .
installationURL: https://github.com/Leonardo-Interactive/leonardo-ts-sdk
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.460.4
speakeasyVersion: 1.465.1
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:51e1c39764e58a940c9444cd8f9ed19f257a021515fd3b9ca67e1216800d7730
sourceBlobDigest: sha256:067df9599c203306ab4d601f689b38bec528f1c1e7cf33e3bc03ff145cc7bd46
sourceRevisionDigest: sha256:c874a56a6faab4d8755e0c6b71b278e42e3f16437aaa068519adad707de1ab00
sourceBlobDigest: sha256:20da51547ec0463b0fd9d390229030dfa6c8558319b37d9f612da7de006e88c9
tags:
- latest
- speakeasy-sdk-regen-1735862701
- speakeasy-sdk-regen-1736359322
- v1.0.0
targets:
leonardo-ts-sdk:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:51e1c39764e58a940c9444cd8f9ed19f257a021515fd3b9ca67e1216800d7730
sourceBlobDigest: sha256:067df9599c203306ab4d601f689b38bec528f1c1e7cf33e3bc03ff145cc7bd46
sourceRevisionDigest: sha256:c874a56a6faab4d8755e0c6b71b278e42e3f16437aaa068519adad707de1ab00
sourceBlobDigest: sha256:20da51547ec0463b0fd9d390229030dfa6c8558319b37d9f612da7de006e88c9
codeSamplesNamespace: my-source-typescript-code-samples
codeSamplesRevisionDigest: sha256:eb737e301c05adb07887652684552cb49336381730b7f324ea7355da51319dae
codeSamplesRevisionDigest: sha256:9fe1232a4f0cf449a3e99f34cdcdfb65fe1feb1c0e9d2270b4fb643f3b48be0b
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 @@ -2569,4 +2569,14 @@ Based on:
### Generated
- [typescript v4.19.7] .
### Releases
- [NPM v4.19.7] https://www.npmjs.com/package/@leonardo-ai/sdk/v/4.19.7 - .
- [NPM v4.19.7] https://www.npmjs.com/package/@leonardo-ai/sdk/v/4.19.7 - .

## 2025-01-08 18:01:58
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.465.1 (2.488.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v4.19.8] .
### Releases
- [NPM v4.19.8] https://www.npmjs.com/package/@leonardo-ai/sdk/v/4.19.8 - .
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ let value: PricingCalculatorPricingCalculatorObject = {};
| `isSDXLLightning` | *boolean* | :heavy_minus_sign: | Enable to use SDXL Lightning model. |
| `loraCount` | *number* | :heavy_minus_sign: | The number of elements used for the generation. |
| `numImages` | *number* | :heavy_minus_sign: | The number of images to generate. Must be between 1 and 8. If either width or height is over 768, must be between 1 and 4. |
| `photoRealMode` | *boolean* | :heavy_minus_sign: | Enable to use PhotoReal. Requires enabling alchemy. |
| `photoRealStrength` | *number* | :heavy_minus_sign: | Depth of field of photoReal. Must be 0.55 for low, 0.5 for medium, or 0.45 for high. Defaults to 0.55 if not specified. |
| `photoRealVersion` | *string* | :heavy_minus_sign: | The version of photoReal to use. Must be v1 or v2. |
| `promptMagic` | *boolean* | :heavy_minus_sign: | Enable to use Prompt Magic. |
| `promptMagicStrength` | *number* | :heavy_minus_sign: | Strength of prompt magic. Must be a float between 0.1 and 1.0 |
| `promptMagicVersion` | *string* | :heavy_minus_sign: | Prompt magic version v2 or v3, for use when promptMagic: true |
Expand Down
2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ generation:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
typescript:
version: 4.19.7
version: 4.19.8
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
"name": "@leonardo-ai/sdk",
"version": "4.19.7",
"version": "4.19.8",
"exports": {
".": "./src/index.ts",
"./sdk/models/errors": "./src/sdk/models/errors/index.ts",
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": "4.19.7",
"version": "4.19.8",
"author": "leonardoai",
"main": "./index.js",
"sideEffects": false,
Expand Down
6 changes: 3 additions & 3 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "v1.0.0",
sdkVersion: "4.19.7",
genVersion: "2.484.0",
userAgent: "speakeasy-sdk/typescript 4.19.7 2.484.0 v1.0.0 @leonardo-ai/sdk",
sdkVersion: "4.19.8",
genVersion: "2.488.4",
userAgent: "speakeasy-sdk/typescript 4.19.8 2.488.4 v1.0.0 @leonardo-ai/sdk",
} as const;
21 changes: 21 additions & 0 deletions src/sdk/models/operations/pricingcalculator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,18 @@ export type PricingCalculatorPricingCalculatorObject = {
* The number of images to generate. Must be between 1 and 8. If either width or height is over 768, must be between 1 and 4.
*/
numImages?: number | undefined;
/**
* Enable to use PhotoReal. Requires enabling alchemy.
*/
photoRealMode?: boolean | null | undefined;
/**
* Depth of field of photoReal. Must be 0.55 for low, 0.5 for medium, or 0.45 for high. Defaults to 0.55 if not specified.
*/
photoRealStrength?: number | null | undefined;
/**
* The version of photoReal to use. Must be v1 or v2.
*/
photoRealVersion?: string | null | undefined;
/**
* Enable to use Prompt Magic.
*/
Expand Down Expand Up @@ -359,6 +371,9 @@ export const PricingCalculatorPricingCalculatorObject$inboundSchema: z.ZodType<
isSDXLLightning: z.nullable(z.boolean()).optional(),
loraCount: z.nullable(z.number().int()).optional(),
numImages: z.number().int().optional(),
photoRealMode: z.nullable(z.boolean()).optional(),
photoRealStrength: z.nullable(z.number()).optional(),
photoRealVersion: z.nullable(z.string()).optional(),
promptMagic: z.nullable(z.boolean()).optional(),
promptMagicStrength: z.nullable(z.number()).optional(),
promptMagicVersion: z.nullable(z.string()).optional(),
Expand All @@ -379,6 +394,9 @@ export type PricingCalculatorPricingCalculatorObject$Outbound = {
isSDXLLightning?: boolean | null | undefined;
loraCount?: number | null | undefined;
numImages?: number | undefined;
photoRealMode?: boolean | null | undefined;
photoRealStrength?: number | null | undefined;
photoRealVersion?: string | null | undefined;
promptMagic?: boolean | null | undefined;
promptMagicStrength?: number | null | undefined;
promptMagicVersion?: string | null | undefined;
Expand All @@ -403,6 +421,9 @@ export const PricingCalculatorPricingCalculatorObject$outboundSchema: z.ZodType<
isSDXLLightning: z.nullable(z.boolean()).optional(),
loraCount: z.nullable(z.number().int()).optional(),
numImages: z.number().int().optional(),
photoRealMode: z.nullable(z.boolean()).optional(),
photoRealStrength: z.nullable(z.number()).optional(),
photoRealVersion: z.nullable(z.string()).optional(),
promptMagic: z.nullable(z.boolean()).optional(),
promptMagicStrength: z.nullable(z.number()).optional(),
promptMagicVersion: z.nullable(z.string()).optional(),
Expand Down

0 comments on commit 2386ec5

Please sign in to comment.