@leonardo-ai/sdk 4.4.5 → 4.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.speakeasy/gen.lock +5 -5
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/package.json +1 -1
- package/sdk/models/operations/creategeneration.d.ts +3 -3
- package/sdk/models/operations/creategeneration.d.ts.map +1 -1
- package/sdk/models/operations/creategeneration.js +2 -2
- package/sdk/models/operations/creategeneration.js.map +1 -1
- package/sdk/models/operations/getgenerationbyid.d.ts +3 -3
- package/sdk/models/operations/getgenerationbyid.d.ts.map +1 -1
- package/sdk/models/operations/getgenerationbyid.js +2 -2
- package/sdk/models/operations/getgenerationbyid.js.map +1 -1
- package/sdk/models/operations/getgenerationsbyuserid.d.ts +3 -3
- package/sdk/models/operations/getgenerationsbyuserid.d.ts.map +1 -1
- package/sdk/models/operations/getgenerationsbyuserid.js +2 -2
- package/sdk/models/operations/getgenerationsbyuserid.js.map +1 -1
- package/sdk/models/operations/getuserself.d.ts +42 -0
- package/sdk/models/operations/getuserself.d.ts.map +1 -1
- package/sdk/models/operations/getuserself.js +24 -0
- package/sdk/models/operations/getuserself.js.map +1 -1
- package/sdk/models/operations/postgenerationslcm.d.ts +3 -3
- package/sdk/models/operations/postgenerationslcm.d.ts.map +1 -1
- package/sdk/models/operations/postgenerationslcm.js +2 -2
- package/sdk/models/operations/postgenerationslcm.js.map +1 -1
- package/sdk/models/operations/postlcminpainting.d.ts +3 -3
- package/sdk/models/operations/postlcminpainting.d.ts.map +1 -1
- package/sdk/models/operations/postlcminpainting.js +2 -2
- package/sdk/models/operations/postlcminpainting.js.map +1 -1
- package/sdk/models/operations/postlcminstantrefine.d.ts +3 -3
- package/sdk/models/operations/postlcminstantrefine.d.ts.map +1 -1
- package/sdk/models/operations/postlcminstantrefine.js +2 -2
- package/sdk/models/operations/postlcminstantrefine.js.map +1 -1
- package/sdk/models/operations/postlcmupscale.d.ts +3 -3
- package/sdk/models/operations/postlcmupscale.d.ts.map +1 -1
- package/sdk/models/operations/postlcmupscale.js +2 -2
- package/sdk/models/operations/postlcmupscale.js.map +1 -1
- package/src/lib/config.ts +3 -3
- package/src/sdk/models/operations/creategeneration.ts +5 -5
- package/src/sdk/models/operations/getgenerationbyid.ts +5 -5
- package/src/sdk/models/operations/getgenerationsbyuserid.ts +5 -5
- package/src/sdk/models/operations/getuserself.ts +66 -0
- package/src/sdk/models/operations/postgenerationslcm.ts +5 -5
- package/src/sdk/models/operations/postlcminpainting.ts +5 -5
- package/src/sdk/models/operations/postlcminstantrefine.ts +5 -5
- package/src/sdk/models/operations/postlcmupscale.ts +5 -5
|
@@ -41,7 +41,7 @@ export type PostLcmUpscaleRequestBody = {
|
|
|
41
41
|
/**
|
|
42
42
|
* The style to generate LCM images with.
|
|
43
43
|
*/
|
|
44
|
-
style?: shared.LcmGenerationStyle | undefined;
|
|
44
|
+
style?: shared.LcmGenerationStyle | null | undefined;
|
|
45
45
|
/**
|
|
46
46
|
* The output width of the image. Must be 512, 640 or 1024.
|
|
47
47
|
*/
|
|
@@ -95,7 +95,7 @@ export declare namespace PostLcmUpscaleRequestBody$ {
|
|
|
95
95
|
seed?: number | null | undefined;
|
|
96
96
|
steps?: number | null | undefined;
|
|
97
97
|
strength?: number | null | undefined;
|
|
98
|
-
style?: shared.LcmGenerationStyle | undefined;
|
|
98
|
+
style?: shared.LcmGenerationStyle | null | undefined;
|
|
99
99
|
width?: number | null | undefined;
|
|
100
100
|
};
|
|
101
101
|
const inboundSchema: z.ZodType<PostLcmUpscaleRequestBody, z.ZodTypeDef, Inbound>;
|
|
@@ -110,7 +110,7 @@ export declare namespace PostLcmUpscaleRequestBody$ {
|
|
|
110
110
|
seed?: number | null | undefined;
|
|
111
111
|
steps?: number | null | undefined;
|
|
112
112
|
strength?: number | null | undefined;
|
|
113
|
-
style?: shared.LcmGenerationStyle | undefined;
|
|
113
|
+
style?: shared.LcmGenerationStyle | null | undefined;
|
|
114
114
|
width: number | null;
|
|
115
115
|
};
|
|
116
116
|
const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, PostLcmUpscaleRequestBody>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postlcmupscale.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/operations/postlcmupscale.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACpC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5C;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"postlcmupscale.d.ts","sourceRoot":"","sources":["../../../src/sdk/models/operations/postlcmupscale.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,CAAC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pB,UAAU,EAAE,MAAM,CAAC;QACnB,WAAW,EAAE,QAAQ,CAAC;QACtB,MAAM,CAAC,EAAE,2BAA2B,CAAC,OAAO,GAAG,SAAS,CAAC;KAC5D,CAAC;IAEK,MAAM,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAc7E,CAAC;IAEP,KAAY,QAAQ,GAAG;QACnB,WAAW,EAAE,MAAM,CAAC;QACpB,UAAU,EAAE,MAAM,CAAC;QACnB,WAAW,EAAE,KAAK,CAAC;QACnB,MAAM,CAAC,EAAE,2BAA2B,CAAC,QAAQ,GAAG,SAAS,CAAC;KAC7D,CAAC;IAEK,MAAM,cAAc,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC,UAAU,EAAE,sBAAsB,CAgB/E,CAAC;CACV"}
|
|
@@ -44,7 +44,7 @@ var PostLcmUpscaleRequestBody$;
|
|
|
44
44
|
seed: z.nullable(z.number().int()).optional(),
|
|
45
45
|
steps: z.nullable(z.number().int()).optional(),
|
|
46
46
|
strength: z.nullable(z.number()).optional(),
|
|
47
|
-
style: shared.LcmGenerationStyle
|
|
47
|
+
style: z.nullable(shared.LcmGenerationStyle$).optional(),
|
|
48
48
|
width: z.nullable(z.number().int().default(512)),
|
|
49
49
|
})
|
|
50
50
|
.transform((v) => {
|
|
@@ -77,7 +77,7 @@ var PostLcmUpscaleRequestBody$;
|
|
|
77
77
|
seed: z.nullable(z.number().int()).optional(),
|
|
78
78
|
steps: z.nullable(z.number().int()).optional(),
|
|
79
79
|
strength: z.nullable(z.number()).optional(),
|
|
80
|
-
style: shared.LcmGenerationStyle
|
|
80
|
+
style: z.nullable(shared.LcmGenerationStyle$).optional(),
|
|
81
81
|
width: z.nullable(z.number().int().default(512)),
|
|
82
82
|
})
|
|
83
83
|
.transform((v) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postlcmupscale.js","sourceRoot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,EAAE,CAAC,CAAC,WAAW;YAC1B,GAAG,CAAC,CAAC,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;SAC5D,CAAC;IACN,CAAC,CAAC,CAAC;IASM,sCAAc,GAA8D,CAAC;SACrF,MAAM,CAAC;QACJ,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;QACvB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;QAC5B,WAAW,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,GAAG,EAAE;YAC/C,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACrD,CAAC,CAAC;QACF,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC,cAAc,CAAC,CAAC,QAAQ,EAAE;KAC9E,CAAC;SACD,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;QACb,OAAO;YACH,WAAW,EAAE,CAAC,CAAC,WAAW;YAC1B,UAAU,EAAE,CAAC,CAAC,UAAU;YACxB,WAAW,EAAE,CAAC,CAAC,WAAW;YAC1B,GAAG,CAAC,CAAC,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;SAC5D,CAAC;IACN,CAAC,CAAC,CAAC;AACX,CAAC,EAhDgB,uBAAuB,uCAAvB,uBAAuB,QAgDvC"}
|
package/src/lib/config.ts
CHANGED
|
@@ -54,7 +54,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
54
54
|
export const SDK_METADATA = Object.freeze({
|
|
55
55
|
language: "typescript",
|
|
56
56
|
openapiDocVersion: "v1.0.0",
|
|
57
|
-
sdkVersion: "4.4.
|
|
58
|
-
genVersion: "2.
|
|
59
|
-
userAgent: "speakeasy-sdk/typescript 4.4.
|
|
57
|
+
sdkVersion: "4.4.7",
|
|
58
|
+
genVersion: "2.287.0",
|
|
59
|
+
userAgent: "speakeasy-sdk/typescript 4.4.7 2.287.0 v1.0.0 @leonardo-ai/sdk",
|
|
60
60
|
});
|
|
@@ -103,7 +103,7 @@ export type CreateGenerationRequestBody = {
|
|
|
103
103
|
/**
|
|
104
104
|
* The style to generate images with. When photoReal is enabled, use CINEMATIC, CREATIVE, VIBRANT, or NONE. When alchemy is disabled, use LEONARDO or NONE. When alchemy is enabled, use ANIME, CREATIVE, DYNAMIC, ENVIRONMENT, GENERAL, ILLUSTRATION, PHOTOGRAPHY, RAYTRACED, RENDER_3D, SKETCH_BW, SKETCH_COLOR, or NONE.
|
|
105
105
|
*/
|
|
106
|
-
presetStyle?: shared.SdGenerationStyle | undefined;
|
|
106
|
+
presetStyle?: shared.SdGenerationStyle | null | undefined;
|
|
107
107
|
/**
|
|
108
108
|
* The prompt used to generate images
|
|
109
109
|
*/
|
|
@@ -226,7 +226,7 @@ export namespace CreateGenerationRequestBody$ {
|
|
|
226
226
|
num_inference_steps?: number | null | undefined;
|
|
227
227
|
photoReal?: boolean | null | undefined;
|
|
228
228
|
photoRealStrength?: number | null | undefined;
|
|
229
|
-
presetStyle?: shared.SdGenerationStyle | undefined;
|
|
229
|
+
presetStyle?: shared.SdGenerationStyle | null | undefined;
|
|
230
230
|
prompt?: string | undefined;
|
|
231
231
|
promptMagic?: boolean | null | undefined;
|
|
232
232
|
promptMagicStrength?: number | null | undefined;
|
|
@@ -269,7 +269,7 @@ export namespace CreateGenerationRequestBody$ {
|
|
|
269
269
|
num_inference_steps: z.nullable(z.number().int()).optional(),
|
|
270
270
|
photoReal: z.nullable(z.boolean()).optional(),
|
|
271
271
|
photoRealStrength: z.nullable(z.number()).optional(),
|
|
272
|
-
presetStyle: shared.SdGenerationStyle
|
|
272
|
+
presetStyle: z.nullable(shared.SdGenerationStyle$).optional(),
|
|
273
273
|
prompt: z.string().default("An oil painting of a cat"),
|
|
274
274
|
promptMagic: z.nullable(z.boolean()).optional(),
|
|
275
275
|
promptMagicStrength: z.nullable(z.number()).optional(),
|
|
@@ -366,7 +366,7 @@ export namespace CreateGenerationRequestBody$ {
|
|
|
366
366
|
num_inference_steps?: number | null | undefined;
|
|
367
367
|
photoReal?: boolean | null | undefined;
|
|
368
368
|
photoRealStrength?: number | null | undefined;
|
|
369
|
-
presetStyle?: shared.SdGenerationStyle | undefined;
|
|
369
|
+
presetStyle?: shared.SdGenerationStyle | null | undefined;
|
|
370
370
|
prompt: string;
|
|
371
371
|
promptMagic?: boolean | null | undefined;
|
|
372
372
|
promptMagicStrength?: number | null | undefined;
|
|
@@ -409,7 +409,7 @@ export namespace CreateGenerationRequestBody$ {
|
|
|
409
409
|
numInferenceSteps: z.nullable(z.number().int()).optional(),
|
|
410
410
|
photoReal: z.nullable(z.boolean()).optional(),
|
|
411
411
|
photoRealStrength: z.nullable(z.number()).optional(),
|
|
412
|
-
presetStyle: shared.SdGenerationStyle
|
|
412
|
+
presetStyle: z.nullable(shared.SdGenerationStyle$).optional(),
|
|
413
413
|
prompt: z.string().default("An oil painting of a cat"),
|
|
414
414
|
promptMagic: z.nullable(z.boolean()).optional(),
|
|
415
415
|
promptMagicStrength: z.nullable(z.number()).optional(),
|
|
@@ -141,7 +141,7 @@ export type GetGenerationByIdGenerations = {
|
|
|
141
141
|
/**
|
|
142
142
|
* The style to generate images with. When photoReal is enabled, use CINEMATIC, CREATIVE, VIBRANT, or NONE. When alchemy is disabled, use LEONARDO or NONE. When alchemy is enabled, use ANIME, CREATIVE, DYNAMIC, ENVIRONMENT, GENERAL, ILLUSTRATION, PHOTOGRAPHY, RAYTRACED, RENDER_3D, SKETCH_BW, SKETCH_COLOR, or NONE.
|
|
143
143
|
*/
|
|
144
|
-
presetStyle?: shared.SdGenerationStyle | undefined;
|
|
144
|
+
presetStyle?: shared.SdGenerationStyle | null | undefined;
|
|
145
145
|
prompt?: string | undefined;
|
|
146
146
|
/**
|
|
147
147
|
* If prompt magic was used.
|
|
@@ -525,7 +525,7 @@ export namespace GetGenerationByIdGenerations$ {
|
|
|
525
525
|
negativePrompt?: string | null | undefined;
|
|
526
526
|
photoReal?: boolean | null | undefined;
|
|
527
527
|
photoRealStrength?: number | null | undefined;
|
|
528
|
-
presetStyle?: shared.SdGenerationStyle | undefined;
|
|
528
|
+
presetStyle?: shared.SdGenerationStyle | null | undefined;
|
|
529
529
|
prompt?: string | undefined;
|
|
530
530
|
promptMagic?: boolean | null | undefined;
|
|
531
531
|
promptMagicStrength?: number | null | undefined;
|
|
@@ -554,7 +554,7 @@ export namespace GetGenerationByIdGenerations$ {
|
|
|
554
554
|
negativePrompt: z.nullable(z.string()).optional(),
|
|
555
555
|
photoReal: z.nullable(z.boolean()).optional(),
|
|
556
556
|
photoRealStrength: z.nullable(z.number()).optional(),
|
|
557
|
-
presetStyle: shared.SdGenerationStyle
|
|
557
|
+
presetStyle: z.nullable(shared.SdGenerationStyle$).optional(),
|
|
558
558
|
prompt: z.string().optional(),
|
|
559
559
|
promptMagic: z.nullable(z.boolean()).optional(),
|
|
560
560
|
promptMagicStrength: z.nullable(z.number()).optional(),
|
|
@@ -617,7 +617,7 @@ export namespace GetGenerationByIdGenerations$ {
|
|
|
617
617
|
negativePrompt?: string | null | undefined;
|
|
618
618
|
photoReal?: boolean | null | undefined;
|
|
619
619
|
photoRealStrength?: number | null | undefined;
|
|
620
|
-
presetStyle?: shared.SdGenerationStyle | undefined;
|
|
620
|
+
presetStyle?: shared.SdGenerationStyle | null | undefined;
|
|
621
621
|
prompt?: string | undefined;
|
|
622
622
|
promptMagic?: boolean | null | undefined;
|
|
623
623
|
promptMagicStrength?: number | null | undefined;
|
|
@@ -646,7 +646,7 @@ export namespace GetGenerationByIdGenerations$ {
|
|
|
646
646
|
negativePrompt: z.nullable(z.string()).optional(),
|
|
647
647
|
photoReal: z.nullable(z.boolean()).optional(),
|
|
648
648
|
photoRealStrength: z.nullable(z.number()).optional(),
|
|
649
|
-
presetStyle: shared.SdGenerationStyle
|
|
649
|
+
presetStyle: z.nullable(shared.SdGenerationStyle$).optional(),
|
|
650
650
|
prompt: z.string().optional(),
|
|
651
651
|
promptMagic: z.nullable(z.boolean()).optional(),
|
|
652
652
|
promptMagicStrength: z.nullable(z.number()).optional(),
|
|
@@ -136,7 +136,7 @@ export type GetGenerationsByUserIdGenerations = {
|
|
|
136
136
|
/**
|
|
137
137
|
* The style to generate images with. When photoReal is enabled, use CINEMATIC, CREATIVE, VIBRANT, or NONE. When alchemy is disabled, use LEONARDO or NONE. When alchemy is enabled, use ANIME, CREATIVE, DYNAMIC, ENVIRONMENT, GENERAL, ILLUSTRATION, PHOTOGRAPHY, RAYTRACED, RENDER_3D, SKETCH_BW, SKETCH_COLOR, or NONE.
|
|
138
138
|
*/
|
|
139
|
-
presetStyle?: shared.SdGenerationStyle | undefined;
|
|
139
|
+
presetStyle?: shared.SdGenerationStyle | null | undefined;
|
|
140
140
|
prompt?: string | undefined;
|
|
141
141
|
/**
|
|
142
142
|
* If prompt magic was used.
|
|
@@ -546,7 +546,7 @@ export namespace GetGenerationsByUserIdGenerations$ {
|
|
|
546
546
|
negativePrompt?: string | null | undefined;
|
|
547
547
|
photoReal?: boolean | null | undefined;
|
|
548
548
|
photoRealStrength?: number | null | undefined;
|
|
549
|
-
presetStyle?: shared.SdGenerationStyle | undefined;
|
|
549
|
+
presetStyle?: shared.SdGenerationStyle | null | undefined;
|
|
550
550
|
prompt?: string | undefined;
|
|
551
551
|
promptMagic?: boolean | null | undefined;
|
|
552
552
|
promptMagicStrength?: number | null | undefined;
|
|
@@ -581,7 +581,7 @@ export namespace GetGenerationsByUserIdGenerations$ {
|
|
|
581
581
|
negativePrompt: z.nullable(z.string()).optional(),
|
|
582
582
|
photoReal: z.nullable(z.boolean()).optional(),
|
|
583
583
|
photoRealStrength: z.nullable(z.number()).optional(),
|
|
584
|
-
presetStyle: shared.SdGenerationStyle
|
|
584
|
+
presetStyle: z.nullable(shared.SdGenerationStyle$).optional(),
|
|
585
585
|
prompt: z.string().optional(),
|
|
586
586
|
promptMagic: z.nullable(z.boolean()).optional(),
|
|
587
587
|
promptMagicStrength: z.nullable(z.number()).optional(),
|
|
@@ -644,7 +644,7 @@ export namespace GetGenerationsByUserIdGenerations$ {
|
|
|
644
644
|
negativePrompt?: string | null | undefined;
|
|
645
645
|
photoReal?: boolean | null | undefined;
|
|
646
646
|
photoRealStrength?: number | null | undefined;
|
|
647
|
-
presetStyle?: shared.SdGenerationStyle | undefined;
|
|
647
|
+
presetStyle?: shared.SdGenerationStyle | null | undefined;
|
|
648
648
|
prompt?: string | undefined;
|
|
649
649
|
promptMagic?: boolean | null | undefined;
|
|
650
650
|
promptMagicStrength?: number | null | undefined;
|
|
@@ -679,7 +679,7 @@ export namespace GetGenerationsByUserIdGenerations$ {
|
|
|
679
679
|
negativePrompt: z.nullable(z.string()).optional(),
|
|
680
680
|
photoReal: z.nullable(z.boolean()).optional(),
|
|
681
681
|
photoRealStrength: z.nullable(z.number()).optional(),
|
|
682
|
-
presetStyle: shared.SdGenerationStyle
|
|
682
|
+
presetStyle: z.nullable(shared.SdGenerationStyle$).optional(),
|
|
683
683
|
prompt: z.string().optional(),
|
|
684
684
|
promptMagic: z.nullable(z.boolean()).optional(),
|
|
685
685
|
promptMagicStrength: z.nullable(z.number()).optional(),
|
|
@@ -9,6 +9,9 @@ import * as z from "zod";
|
|
|
9
9
|
*/
|
|
10
10
|
export type Users = {
|
|
11
11
|
id?: string | null | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* Username of the user.
|
|
14
|
+
*/
|
|
12
15
|
username?: string | null | undefined;
|
|
13
16
|
};
|
|
14
17
|
|
|
@@ -16,10 +19,41 @@ export type Users = {
|
|
|
16
19
|
* columns and relationships of "user_details"
|
|
17
20
|
*/
|
|
18
21
|
export type UserDetails = {
|
|
22
|
+
/**
|
|
23
|
+
* API Concurrency Slots.
|
|
24
|
+
*/
|
|
19
25
|
apiConcurrencySlots?: number | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Current balance of API paid tokens the user has.
|
|
28
|
+
*/
|
|
29
|
+
apiPaidTokens?: number | null | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* API Plan Token Renewal Date.
|
|
32
|
+
*/
|
|
33
|
+
apiPlanTokenRenewalDate?: string | null | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Current balance of Enterprise API subscriptions tokens the user has.
|
|
36
|
+
*/
|
|
37
|
+
apiSubscriptionTokens?: number | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Current balance of paid tokens the user has.
|
|
40
|
+
*/
|
|
41
|
+
paidTokens?: number | null | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Current balance of user plan GPT tokens the user has.
|
|
44
|
+
*/
|
|
20
45
|
subscriptionGptTokens?: number | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* Current balance of model training tokens the user has.
|
|
48
|
+
*/
|
|
21
49
|
subscriptionModelTokens?: number | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Current balance of user plan subscription tokens the user has.
|
|
52
|
+
*/
|
|
22
53
|
subscriptionTokens?: number | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* User Plan Token Renewal Date.
|
|
56
|
+
*/
|
|
23
57
|
tokenRenewalDate?: string | null | undefined;
|
|
24
58
|
/**
|
|
25
59
|
* columns and relationships of "users"
|
|
@@ -94,6 +128,10 @@ export namespace Users$ {
|
|
|
94
128
|
export namespace UserDetails$ {
|
|
95
129
|
export type Inbound = {
|
|
96
130
|
apiConcurrencySlots?: number | undefined;
|
|
131
|
+
apiPaidTokens?: number | null | undefined;
|
|
132
|
+
apiPlanTokenRenewalDate?: string | null | undefined;
|
|
133
|
+
apiSubscriptionTokens?: number | undefined;
|
|
134
|
+
paidTokens?: number | null | undefined;
|
|
97
135
|
subscriptionGptTokens?: number | undefined;
|
|
98
136
|
subscriptionModelTokens?: number | undefined;
|
|
99
137
|
subscriptionTokens?: number | undefined;
|
|
@@ -104,6 +142,10 @@ export namespace UserDetails$ {
|
|
|
104
142
|
export const inboundSchema: z.ZodType<UserDetails, z.ZodTypeDef, Inbound> = z
|
|
105
143
|
.object({
|
|
106
144
|
apiConcurrencySlots: z.number().int().optional(),
|
|
145
|
+
apiPaidTokens: z.nullable(z.number().int()).optional(),
|
|
146
|
+
apiPlanTokenRenewalDate: z.nullable(z.string()).optional(),
|
|
147
|
+
apiSubscriptionTokens: z.number().int().optional(),
|
|
148
|
+
paidTokens: z.nullable(z.number().int()).optional(),
|
|
107
149
|
subscriptionGptTokens: z.number().int().optional(),
|
|
108
150
|
subscriptionModelTokens: z.number().int().optional(),
|
|
109
151
|
subscriptionTokens: z.number().int().optional(),
|
|
@@ -115,6 +157,14 @@ export namespace UserDetails$ {
|
|
|
115
157
|
...(v.apiConcurrencySlots === undefined
|
|
116
158
|
? null
|
|
117
159
|
: { apiConcurrencySlots: v.apiConcurrencySlots }),
|
|
160
|
+
...(v.apiPaidTokens === undefined ? null : { apiPaidTokens: v.apiPaidTokens }),
|
|
161
|
+
...(v.apiPlanTokenRenewalDate === undefined
|
|
162
|
+
? null
|
|
163
|
+
: { apiPlanTokenRenewalDate: v.apiPlanTokenRenewalDate }),
|
|
164
|
+
...(v.apiSubscriptionTokens === undefined
|
|
165
|
+
? null
|
|
166
|
+
: { apiSubscriptionTokens: v.apiSubscriptionTokens }),
|
|
167
|
+
...(v.paidTokens === undefined ? null : { paidTokens: v.paidTokens }),
|
|
118
168
|
...(v.subscriptionGptTokens === undefined
|
|
119
169
|
? null
|
|
120
170
|
: { subscriptionGptTokens: v.subscriptionGptTokens }),
|
|
@@ -133,6 +183,10 @@ export namespace UserDetails$ {
|
|
|
133
183
|
|
|
134
184
|
export type Outbound = {
|
|
135
185
|
apiConcurrencySlots?: number | undefined;
|
|
186
|
+
apiPaidTokens?: number | null | undefined;
|
|
187
|
+
apiPlanTokenRenewalDate?: string | null | undefined;
|
|
188
|
+
apiSubscriptionTokens?: number | undefined;
|
|
189
|
+
paidTokens?: number | null | undefined;
|
|
136
190
|
subscriptionGptTokens?: number | undefined;
|
|
137
191
|
subscriptionModelTokens?: number | undefined;
|
|
138
192
|
subscriptionTokens?: number | undefined;
|
|
@@ -143,6 +197,10 @@ export namespace UserDetails$ {
|
|
|
143
197
|
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, UserDetails> = z
|
|
144
198
|
.object({
|
|
145
199
|
apiConcurrencySlots: z.number().int().optional(),
|
|
200
|
+
apiPaidTokens: z.nullable(z.number().int()).optional(),
|
|
201
|
+
apiPlanTokenRenewalDate: z.nullable(z.string()).optional(),
|
|
202
|
+
apiSubscriptionTokens: z.number().int().optional(),
|
|
203
|
+
paidTokens: z.nullable(z.number().int()).optional(),
|
|
146
204
|
subscriptionGptTokens: z.number().int().optional(),
|
|
147
205
|
subscriptionModelTokens: z.number().int().optional(),
|
|
148
206
|
subscriptionTokens: z.number().int().optional(),
|
|
@@ -154,6 +212,14 @@ export namespace UserDetails$ {
|
|
|
154
212
|
...(v.apiConcurrencySlots === undefined
|
|
155
213
|
? null
|
|
156
214
|
: { apiConcurrencySlots: v.apiConcurrencySlots }),
|
|
215
|
+
...(v.apiPaidTokens === undefined ? null : { apiPaidTokens: v.apiPaidTokens }),
|
|
216
|
+
...(v.apiPlanTokenRenewalDate === undefined
|
|
217
|
+
? null
|
|
218
|
+
: { apiPlanTokenRenewalDate: v.apiPlanTokenRenewalDate }),
|
|
219
|
+
...(v.apiSubscriptionTokens === undefined
|
|
220
|
+
? null
|
|
221
|
+
: { apiSubscriptionTokens: v.apiSubscriptionTokens }),
|
|
222
|
+
...(v.paidTokens === undefined ? null : { paidTokens: v.paidTokens }),
|
|
157
223
|
...(v.subscriptionGptTokens === undefined
|
|
158
224
|
? null
|
|
159
225
|
: { subscriptionGptTokens: v.subscriptionGptTokens }),
|
|
@@ -38,7 +38,7 @@ export type PostGenerationsLcmRequestBody = {
|
|
|
38
38
|
/**
|
|
39
39
|
* The style to generate LCM images with.
|
|
40
40
|
*/
|
|
41
|
-
style?: shared.LcmGenerationStyle | undefined;
|
|
41
|
+
style?: shared.LcmGenerationStyle | null | undefined;
|
|
42
42
|
/**
|
|
43
43
|
* The output width of the image. Must be 512, 640 or 1024.
|
|
44
44
|
*/
|
|
@@ -91,7 +91,7 @@ export namespace PostGenerationsLcmRequestBody$ {
|
|
|
91
91
|
seed?: number | null | undefined;
|
|
92
92
|
steps?: number | null | undefined;
|
|
93
93
|
strength?: number | null | undefined;
|
|
94
|
-
style?: shared.LcmGenerationStyle | undefined;
|
|
94
|
+
style?: shared.LcmGenerationStyle | null | undefined;
|
|
95
95
|
width?: number | null | undefined;
|
|
96
96
|
};
|
|
97
97
|
|
|
@@ -105,7 +105,7 @@ export namespace PostGenerationsLcmRequestBody$ {
|
|
|
105
105
|
seed: z.nullable(z.number().int()).optional(),
|
|
106
106
|
steps: z.nullable(z.number().int()).optional(),
|
|
107
107
|
strength: z.nullable(z.number()).optional(),
|
|
108
|
-
style: shared.LcmGenerationStyle
|
|
108
|
+
style: z.nullable(shared.LcmGenerationStyle$).optional(),
|
|
109
109
|
width: z.nullable(z.number().int().default(512)),
|
|
110
110
|
})
|
|
111
111
|
.transform((v) => {
|
|
@@ -134,7 +134,7 @@ export namespace PostGenerationsLcmRequestBody$ {
|
|
|
134
134
|
seed?: number | null | undefined;
|
|
135
135
|
steps?: number | null | undefined;
|
|
136
136
|
strength?: number | null | undefined;
|
|
137
|
-
style?: shared.LcmGenerationStyle | undefined;
|
|
137
|
+
style?: shared.LcmGenerationStyle | null | undefined;
|
|
138
138
|
width: number | null;
|
|
139
139
|
};
|
|
140
140
|
|
|
@@ -149,7 +149,7 @@ export namespace PostGenerationsLcmRequestBody$ {
|
|
|
149
149
|
seed: z.nullable(z.number().int()).optional(),
|
|
150
150
|
steps: z.nullable(z.number().int()).optional(),
|
|
151
151
|
strength: z.nullable(z.number()).optional(),
|
|
152
|
-
style: shared.LcmGenerationStyle
|
|
152
|
+
style: z.nullable(shared.LcmGenerationStyle$).optional(),
|
|
153
153
|
width: z.nullable(z.number().int().default(512)),
|
|
154
154
|
})
|
|
155
155
|
.transform((v) => {
|
|
@@ -42,7 +42,7 @@ export type PostLcmInpaintingRequestBody = {
|
|
|
42
42
|
/**
|
|
43
43
|
* The style to generate LCM images with.
|
|
44
44
|
*/
|
|
45
|
-
style?: shared.LcmGenerationStyle | undefined;
|
|
45
|
+
style?: shared.LcmGenerationStyle | null | undefined;
|
|
46
46
|
/**
|
|
47
47
|
* The output width of the image. Must be 512, 640 or 1024.
|
|
48
48
|
*/
|
|
@@ -96,7 +96,7 @@ export namespace PostLcmInpaintingRequestBody$ {
|
|
|
96
96
|
seed?: number | null | undefined;
|
|
97
97
|
steps?: number | null | undefined;
|
|
98
98
|
strength?: number | null | undefined;
|
|
99
|
-
style?: shared.LcmGenerationStyle | undefined;
|
|
99
|
+
style?: shared.LcmGenerationStyle | null | undefined;
|
|
100
100
|
width?: number | null | undefined;
|
|
101
101
|
};
|
|
102
102
|
|
|
@@ -111,7 +111,7 @@ export namespace PostLcmInpaintingRequestBody$ {
|
|
|
111
111
|
seed: z.nullable(z.number().int()).optional(),
|
|
112
112
|
steps: z.nullable(z.number().int()).optional(),
|
|
113
113
|
strength: z.nullable(z.number()).optional(),
|
|
114
|
-
style: shared.LcmGenerationStyle
|
|
114
|
+
style: z.nullable(shared.LcmGenerationStyle$).optional(),
|
|
115
115
|
width: z.nullable(z.number().int().default(512)),
|
|
116
116
|
})
|
|
117
117
|
.transform((v) => {
|
|
@@ -142,7 +142,7 @@ export namespace PostLcmInpaintingRequestBody$ {
|
|
|
142
142
|
seed?: number | null | undefined;
|
|
143
143
|
steps?: number | null | undefined;
|
|
144
144
|
strength?: number | null | undefined;
|
|
145
|
-
style?: shared.LcmGenerationStyle | undefined;
|
|
145
|
+
style?: shared.LcmGenerationStyle | null | undefined;
|
|
146
146
|
width: number | null;
|
|
147
147
|
};
|
|
148
148
|
|
|
@@ -157,7 +157,7 @@ export namespace PostLcmInpaintingRequestBody$ {
|
|
|
157
157
|
seed: z.nullable(z.number().int()).optional(),
|
|
158
158
|
steps: z.nullable(z.number().int()).optional(),
|
|
159
159
|
strength: z.nullable(z.number()).optional(),
|
|
160
|
-
style: shared.LcmGenerationStyle
|
|
160
|
+
style: z.nullable(shared.LcmGenerationStyle$).optional(),
|
|
161
161
|
width: z.nullable(z.number().int().default(512)),
|
|
162
162
|
})
|
|
163
163
|
.transform((v) => {
|
|
@@ -38,7 +38,7 @@ export type PostLcmInstantRefineRequestBody = {
|
|
|
38
38
|
/**
|
|
39
39
|
* The style to generate LCM images with.
|
|
40
40
|
*/
|
|
41
|
-
style?: shared.LcmGenerationStyle | undefined;
|
|
41
|
+
style?: shared.LcmGenerationStyle | null | undefined;
|
|
42
42
|
/**
|
|
43
43
|
* The output width of the image. Must be 512, 640 or 1024.
|
|
44
44
|
*/
|
|
@@ -91,7 +91,7 @@ export namespace PostLcmInstantRefineRequestBody$ {
|
|
|
91
91
|
seed?: number | null | undefined;
|
|
92
92
|
steps?: number | null | undefined;
|
|
93
93
|
strength?: number | null | undefined;
|
|
94
|
-
style?: shared.LcmGenerationStyle | undefined;
|
|
94
|
+
style?: shared.LcmGenerationStyle | null | undefined;
|
|
95
95
|
width?: number | null | undefined;
|
|
96
96
|
};
|
|
97
97
|
|
|
@@ -106,7 +106,7 @@ export namespace PostLcmInstantRefineRequestBody$ {
|
|
|
106
106
|
seed: z.nullable(z.number().int()).optional(),
|
|
107
107
|
steps: z.nullable(z.number().int()).optional(),
|
|
108
108
|
strength: z.nullable(z.number()).optional(),
|
|
109
|
-
style: shared.LcmGenerationStyle
|
|
109
|
+
style: z.nullable(shared.LcmGenerationStyle$).optional(),
|
|
110
110
|
width: z.nullable(z.number().int().default(512)),
|
|
111
111
|
})
|
|
112
112
|
.transform((v) => {
|
|
@@ -135,7 +135,7 @@ export namespace PostLcmInstantRefineRequestBody$ {
|
|
|
135
135
|
seed?: number | null | undefined;
|
|
136
136
|
steps?: number | null | undefined;
|
|
137
137
|
strength?: number | null | undefined;
|
|
138
|
-
style?: shared.LcmGenerationStyle | undefined;
|
|
138
|
+
style?: shared.LcmGenerationStyle | null | undefined;
|
|
139
139
|
width: number | null;
|
|
140
140
|
};
|
|
141
141
|
|
|
@@ -153,7 +153,7 @@ export namespace PostLcmInstantRefineRequestBody$ {
|
|
|
153
153
|
seed: z.nullable(z.number().int()).optional(),
|
|
154
154
|
steps: z.nullable(z.number().int()).optional(),
|
|
155
155
|
strength: z.nullable(z.number()).optional(),
|
|
156
|
-
style: shared.LcmGenerationStyle
|
|
156
|
+
style: z.nullable(shared.LcmGenerationStyle$).optional(),
|
|
157
157
|
width: z.nullable(z.number().int().default(512)),
|
|
158
158
|
})
|
|
159
159
|
.transform((v) => {
|
|
@@ -46,7 +46,7 @@ export type PostLcmUpscaleRequestBody = {
|
|
|
46
46
|
/**
|
|
47
47
|
* The style to generate LCM images with.
|
|
48
48
|
*/
|
|
49
|
-
style?: shared.LcmGenerationStyle | undefined;
|
|
49
|
+
style?: shared.LcmGenerationStyle | null | undefined;
|
|
50
50
|
/**
|
|
51
51
|
* The output width of the image. Must be 512, 640 or 1024.
|
|
52
52
|
*/
|
|
@@ -104,7 +104,7 @@ export namespace PostLcmUpscaleRequestBody$ {
|
|
|
104
104
|
seed?: number | null | undefined;
|
|
105
105
|
steps?: number | null | undefined;
|
|
106
106
|
strength?: number | null | undefined;
|
|
107
|
-
style?: shared.LcmGenerationStyle | undefined;
|
|
107
|
+
style?: shared.LcmGenerationStyle | null | undefined;
|
|
108
108
|
width?: number | null | undefined;
|
|
109
109
|
};
|
|
110
110
|
|
|
@@ -120,7 +120,7 @@ export namespace PostLcmUpscaleRequestBody$ {
|
|
|
120
120
|
seed: z.nullable(z.number().int()).optional(),
|
|
121
121
|
steps: z.nullable(z.number().int()).optional(),
|
|
122
122
|
strength: z.nullable(z.number()).optional(),
|
|
123
|
-
style: shared.LcmGenerationStyle
|
|
123
|
+
style: z.nullable(shared.LcmGenerationStyle$).optional(),
|
|
124
124
|
width: z.nullable(z.number().int().default(512)),
|
|
125
125
|
})
|
|
126
126
|
.transform((v) => {
|
|
@@ -153,7 +153,7 @@ export namespace PostLcmUpscaleRequestBody$ {
|
|
|
153
153
|
seed?: number | null | undefined;
|
|
154
154
|
steps?: number | null | undefined;
|
|
155
155
|
strength?: number | null | undefined;
|
|
156
|
-
style?: shared.LcmGenerationStyle | undefined;
|
|
156
|
+
style?: shared.LcmGenerationStyle | null | undefined;
|
|
157
157
|
width: number | null;
|
|
158
158
|
};
|
|
159
159
|
|
|
@@ -169,7 +169,7 @@ export namespace PostLcmUpscaleRequestBody$ {
|
|
|
169
169
|
seed: z.nullable(z.number().int()).optional(),
|
|
170
170
|
steps: z.nullable(z.number().int()).optional(),
|
|
171
171
|
strength: z.nullable(z.number()).optional(),
|
|
172
|
-
style: shared.LcmGenerationStyle
|
|
172
|
+
style: z.nullable(shared.LcmGenerationStyle$).optional(),
|
|
173
173
|
width: z.nullable(z.number().int().default(512)),
|
|
174
174
|
})
|
|
175
175
|
.transform((v) => {
|