@purpleschool/multisite 0.0.24 → 0.0.26
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/build/constants/image-generation/enums/image-generation-model-tag.enum.d.ts +7 -0
- package/build/constants/image-generation/enums/image-generation-model-tag.enum.d.ts.map +1 -0
- package/build/constants/image-generation/enums/image-generation-model-tag.enum.js +14 -0
- package/build/constants/image-generation/enums/index.d.ts +1 -1
- package/build/constants/image-generation/enums/index.d.ts.map +1 -1
- package/build/constants/image-generation/enums/index.js +1 -1
- package/build/models/image-editor/image-editor-config.schema.d.ts +4 -4
- package/build/models/image-editor/image-editor-model.schema.d.ts +2 -2
- package/build/models/image-generation/image-generation-config.schema.d.ts +7 -7
- package/build/models/image-generation/image-generation-model.schema.d.ts +4 -4
- package/build/models/image-generation/image-generation-model.schema.d.ts.map +1 -1
- package/build/models/image-generation/image-generation-model.schema.js +1 -1
- package/build/models/image-generation/image-generation-vendor.schema.d.ts +5 -5
- package/build/models/stt/stt-config.schema.d.ts +4 -4
- package/build/models/stt/stt-model.schema.d.ts +2 -2
- package/build/models/tts/tts-config.schema.d.ts +36 -36
- package/build/models/tts/tts-model.schema.d.ts +44 -44
- package/build/queries/image-editor/get-image-editor-config.command.d.ts +6 -6
- package/build/queries/image-generation/get-image-generation-config.command.d.ts +9 -9
- package/build/queries/stt/get-stt-config.command.d.ts +6 -6
- package/build/queries/tts/get-tts-config.command.d.ts +46 -46
- package/constants/image-generation/enums/image-generation-model-tag.enum.ts +11 -0
- package/constants/image-generation/enums/index.ts +1 -1
- package/models/image-generation/image-generation-model.schema.ts +2 -2
- package/package.json +1 -1
- package/build/constants/image-generation/enums/image-generation-model-strategy.enum.d.ts +0 -15
- package/build/constants/image-generation/enums/image-generation-model-strategy.enum.d.ts.map +0 -1
- package/build/constants/image-generation/enums/image-generation-model-strategy.enum.js +0 -18
- package/constants/image-generation/enums/image-generation-model-strategy.enum.ts +0 -15
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare enum IMAGE_GENERATION_MODEL_TAG {
|
|
2
|
+
STARTER = "starter",
|
|
3
|
+
POPULAR = "popular",
|
|
4
|
+
QUALITY = "quality"
|
|
5
|
+
}
|
|
6
|
+
export declare const IMAGE_GENERATION_MODEL_TAG_SORT_ORDER: Record<IMAGE_GENERATION_MODEL_TAG, number>;
|
|
7
|
+
//# sourceMappingURL=image-generation-model-tag.enum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image-generation-model-tag.enum.d.ts","sourceRoot":"","sources":["../../../../constants/image-generation/enums/image-generation-model-tag.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,0BAA0B;IAClC,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;CACtB;AAED,eAAO,MAAM,qCAAqC,EAAE,MAAM,CAAC,0BAA0B,EAAE,MAAM,CAI5F,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IMAGE_GENERATION_MODEL_TAG_SORT_ORDER = exports.IMAGE_GENERATION_MODEL_TAG = void 0;
|
|
4
|
+
var IMAGE_GENERATION_MODEL_TAG;
|
|
5
|
+
(function (IMAGE_GENERATION_MODEL_TAG) {
|
|
6
|
+
IMAGE_GENERATION_MODEL_TAG["STARTER"] = "starter";
|
|
7
|
+
IMAGE_GENERATION_MODEL_TAG["POPULAR"] = "popular";
|
|
8
|
+
IMAGE_GENERATION_MODEL_TAG["QUALITY"] = "quality";
|
|
9
|
+
})(IMAGE_GENERATION_MODEL_TAG || (exports.IMAGE_GENERATION_MODEL_TAG = IMAGE_GENERATION_MODEL_TAG = {}));
|
|
10
|
+
exports.IMAGE_GENERATION_MODEL_TAG_SORT_ORDER = {
|
|
11
|
+
[IMAGE_GENERATION_MODEL_TAG.STARTER]: 0,
|
|
12
|
+
[IMAGE_GENERATION_MODEL_TAG.POPULAR]: 1,
|
|
13
|
+
[IMAGE_GENERATION_MODEL_TAG.QUALITY]: 2,
|
|
14
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../constants/image-generation/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../constants/image-generation/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AACnD,cAAc,mCAAmC,CAAC"}
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./image-generation-model-strategy.enum"), exports);
|
|
18
17
|
__exportStar(require("./image-generation-resolution.enum"), exports);
|
|
18
|
+
__exportStar(require("./image-generation-model-tag.enum"), exports);
|
|
@@ -144,7 +144,6 @@ export declare const ImageEditorConfigSchema: z.ZodObject<{
|
|
|
144
144
|
withoutSub?: boolean | undefined;
|
|
145
145
|
};
|
|
146
146
|
}[];
|
|
147
|
-
strategy: import("../..").IMAGE_EDITING_STRATEGY;
|
|
148
147
|
order: number;
|
|
149
148
|
aiModel: string;
|
|
150
149
|
isNew: boolean;
|
|
@@ -160,6 +159,7 @@ export declare const ImageEditorConfigSchema: z.ZodObject<{
|
|
|
160
159
|
svg?: string | undefined;
|
|
161
160
|
};
|
|
162
161
|
};
|
|
162
|
+
strategy: import("../..").IMAGE_EDITING_STRATEGY;
|
|
163
163
|
maxInputLength: number;
|
|
164
164
|
createdAt?: string | Date | undefined;
|
|
165
165
|
updatedAt?: string | Date | undefined;
|
|
@@ -187,7 +187,6 @@ export declare const ImageEditorConfigSchema: z.ZodObject<{
|
|
|
187
187
|
withoutSub?: boolean | undefined;
|
|
188
188
|
};
|
|
189
189
|
}[];
|
|
190
|
-
strategy: import("../..").IMAGE_EDITING_STRATEGY;
|
|
191
190
|
order: number;
|
|
192
191
|
aiModel: string;
|
|
193
192
|
isNew: boolean;
|
|
@@ -203,6 +202,7 @@ export declare const ImageEditorConfigSchema: z.ZodObject<{
|
|
|
203
202
|
svg?: string | undefined;
|
|
204
203
|
};
|
|
205
204
|
};
|
|
205
|
+
strategy: import("../..").IMAGE_EDITING_STRATEGY;
|
|
206
206
|
maxInputLength: number;
|
|
207
207
|
createdAt?: string | Date | undefined;
|
|
208
208
|
updatedAt?: string | Date | undefined;
|
|
@@ -378,7 +378,6 @@ export declare const ImageEditorConfigSchema: z.ZodObject<{
|
|
|
378
378
|
withoutSub?: boolean | undefined;
|
|
379
379
|
};
|
|
380
380
|
}[];
|
|
381
|
-
strategy: import("../..").IMAGE_EDITING_STRATEGY;
|
|
382
381
|
order: number;
|
|
383
382
|
aiModel: string;
|
|
384
383
|
isNew: boolean;
|
|
@@ -394,6 +393,7 @@ export declare const ImageEditorConfigSchema: z.ZodObject<{
|
|
|
394
393
|
svg?: string | undefined;
|
|
395
394
|
};
|
|
396
395
|
};
|
|
396
|
+
strategy: import("../..").IMAGE_EDITING_STRATEGY;
|
|
397
397
|
maxInputLength: number;
|
|
398
398
|
createdAt?: string | Date | undefined;
|
|
399
399
|
updatedAt?: string | Date | undefined;
|
|
@@ -453,7 +453,6 @@ export declare const ImageEditorConfigSchema: z.ZodObject<{
|
|
|
453
453
|
withoutSub?: boolean | undefined;
|
|
454
454
|
};
|
|
455
455
|
}[];
|
|
456
|
-
strategy: import("../..").IMAGE_EDITING_STRATEGY;
|
|
457
456
|
order: number;
|
|
458
457
|
aiModel: string;
|
|
459
458
|
isNew: boolean;
|
|
@@ -469,6 +468,7 @@ export declare const ImageEditorConfigSchema: z.ZodObject<{
|
|
|
469
468
|
svg?: string | undefined;
|
|
470
469
|
};
|
|
471
470
|
};
|
|
471
|
+
strategy: import("../..").IMAGE_EDITING_STRATEGY;
|
|
472
472
|
maxInputLength: number;
|
|
473
473
|
createdAt?: string | Date | undefined;
|
|
474
474
|
updatedAt?: string | Date | undefined;
|
|
@@ -144,7 +144,6 @@ export declare const ImageEditorModelSchema: z.ZodObject<{
|
|
|
144
144
|
withoutSub?: boolean | undefined;
|
|
145
145
|
};
|
|
146
146
|
}[];
|
|
147
|
-
strategy: IMAGE_EDITING_STRATEGY;
|
|
148
147
|
order: number;
|
|
149
148
|
aiModel: string;
|
|
150
149
|
isNew: boolean;
|
|
@@ -160,6 +159,7 @@ export declare const ImageEditorModelSchema: z.ZodObject<{
|
|
|
160
159
|
svg?: string | undefined;
|
|
161
160
|
};
|
|
162
161
|
};
|
|
162
|
+
strategy: IMAGE_EDITING_STRATEGY;
|
|
163
163
|
maxInputLength: number;
|
|
164
164
|
createdAt?: string | Date | undefined;
|
|
165
165
|
updatedAt?: string | Date | undefined;
|
|
@@ -187,7 +187,6 @@ export declare const ImageEditorModelSchema: z.ZodObject<{
|
|
|
187
187
|
withoutSub?: boolean | undefined;
|
|
188
188
|
};
|
|
189
189
|
}[];
|
|
190
|
-
strategy: IMAGE_EDITING_STRATEGY;
|
|
191
190
|
order: number;
|
|
192
191
|
aiModel: string;
|
|
193
192
|
isNew: boolean;
|
|
@@ -203,6 +202,7 @@ export declare const ImageEditorModelSchema: z.ZodObject<{
|
|
|
203
202
|
svg?: string | undefined;
|
|
204
203
|
};
|
|
205
204
|
};
|
|
205
|
+
strategy: IMAGE_EDITING_STRATEGY;
|
|
206
206
|
maxInputLength: number;
|
|
207
207
|
createdAt?: string | Date | undefined;
|
|
208
208
|
updatedAt?: string | Date | undefined;
|
|
@@ -62,6 +62,7 @@ export declare const ImageGenerationConfigSchema: z.ZodObject<{
|
|
|
62
62
|
uuid: string;
|
|
63
63
|
name: string;
|
|
64
64
|
}>>;
|
|
65
|
+
tag: z.ZodNullable<z.ZodNativeEnum<typeof import("../..").IMAGE_GENERATION_MODEL_TAG>>;
|
|
65
66
|
pricingRules: z.ZodArray<z.ZodObject<{
|
|
66
67
|
condition: z.ZodObject<{
|
|
67
68
|
resolution: z.ZodOptional<z.ZodNativeEnum<typeof import("../..").IMAGE_GENERATION_RESOLUTION>>;
|
|
@@ -125,7 +126,6 @@ export declare const ImageGenerationConfigSchema: z.ZodObject<{
|
|
|
125
126
|
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
126
127
|
} | undefined;
|
|
127
128
|
}>;
|
|
128
|
-
strategy: z.ZodNativeEnum<typeof import("../..").IMAGE_GENERATION_MODEL_STRATEGY>;
|
|
129
129
|
status: z.ZodNativeEnum<typeof import("../..").TOOL_MODEL_STATUS>;
|
|
130
130
|
statusCheckEndpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
131
131
|
maxPromptLength: z.ZodNumber;
|
|
@@ -198,6 +198,7 @@ export declare const ImageGenerationConfigSchema: z.ZodObject<{
|
|
|
198
198
|
description: string;
|
|
199
199
|
title: string;
|
|
200
200
|
model: string;
|
|
201
|
+
tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
|
|
201
202
|
pricingRules: {
|
|
202
203
|
value: number;
|
|
203
204
|
condition: {
|
|
@@ -205,7 +206,6 @@ export declare const ImageGenerationConfigSchema: z.ZodObject<{
|
|
|
205
206
|
withoutSub?: boolean | undefined;
|
|
206
207
|
};
|
|
207
208
|
}[];
|
|
208
|
-
strategy: import("../..").IMAGE_GENERATION_MODEL_STRATEGY;
|
|
209
209
|
maxPromptLength: number;
|
|
210
210
|
iconVariants: {
|
|
211
211
|
light: {
|
|
@@ -247,6 +247,7 @@ export declare const ImageGenerationConfigSchema: z.ZodObject<{
|
|
|
247
247
|
description: string;
|
|
248
248
|
title: string;
|
|
249
249
|
model: string;
|
|
250
|
+
tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
|
|
250
251
|
pricingRules: {
|
|
251
252
|
value: number;
|
|
252
253
|
condition: {
|
|
@@ -254,7 +255,6 @@ export declare const ImageGenerationConfigSchema: z.ZodObject<{
|
|
|
254
255
|
withoutSub?: boolean | undefined;
|
|
255
256
|
};
|
|
256
257
|
}[];
|
|
257
|
-
strategy: import("../..").IMAGE_GENERATION_MODEL_STRATEGY;
|
|
258
258
|
maxPromptLength: number;
|
|
259
259
|
iconVariants: {
|
|
260
260
|
light: {
|
|
@@ -311,6 +311,7 @@ export declare const ImageGenerationConfigSchema: z.ZodObject<{
|
|
|
311
311
|
description: string;
|
|
312
312
|
title: string;
|
|
313
313
|
model: string;
|
|
314
|
+
tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
|
|
314
315
|
pricingRules: {
|
|
315
316
|
value: number;
|
|
316
317
|
condition: {
|
|
@@ -318,7 +319,6 @@ export declare const ImageGenerationConfigSchema: z.ZodObject<{
|
|
|
318
319
|
withoutSub?: boolean | undefined;
|
|
319
320
|
};
|
|
320
321
|
}[];
|
|
321
|
-
strategy: import("../..").IMAGE_GENERATION_MODEL_STRATEGY;
|
|
322
322
|
maxPromptLength: number;
|
|
323
323
|
iconVariants: {
|
|
324
324
|
light: {
|
|
@@ -375,6 +375,7 @@ export declare const ImageGenerationConfigSchema: z.ZodObject<{
|
|
|
375
375
|
description: string;
|
|
376
376
|
title: string;
|
|
377
377
|
model: string;
|
|
378
|
+
tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
|
|
378
379
|
pricingRules: {
|
|
379
380
|
value: number;
|
|
380
381
|
condition: {
|
|
@@ -382,7 +383,6 @@ export declare const ImageGenerationConfigSchema: z.ZodObject<{
|
|
|
382
383
|
withoutSub?: boolean | undefined;
|
|
383
384
|
};
|
|
384
385
|
}[];
|
|
385
|
-
strategy: import("../..").IMAGE_GENERATION_MODEL_STRATEGY;
|
|
386
386
|
maxPromptLength: number;
|
|
387
387
|
iconVariants: {
|
|
388
388
|
light: {
|
|
@@ -457,6 +457,7 @@ export declare const ImageGenerationConfigSchema: z.ZodObject<{
|
|
|
457
457
|
description: string;
|
|
458
458
|
title: string;
|
|
459
459
|
model: string;
|
|
460
|
+
tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
|
|
460
461
|
pricingRules: {
|
|
461
462
|
value: number;
|
|
462
463
|
condition: {
|
|
@@ -464,7 +465,6 @@ export declare const ImageGenerationConfigSchema: z.ZodObject<{
|
|
|
464
465
|
withoutSub?: boolean | undefined;
|
|
465
466
|
};
|
|
466
467
|
}[];
|
|
467
|
-
strategy: import("../..").IMAGE_GENERATION_MODEL_STRATEGY;
|
|
468
468
|
maxPromptLength: number;
|
|
469
469
|
iconVariants: {
|
|
470
470
|
light: {
|
|
@@ -529,6 +529,7 @@ export declare const ImageGenerationConfigSchema: z.ZodObject<{
|
|
|
529
529
|
description: string;
|
|
530
530
|
title: string;
|
|
531
531
|
model: string;
|
|
532
|
+
tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
|
|
532
533
|
pricingRules: {
|
|
533
534
|
value: number;
|
|
534
535
|
condition: {
|
|
@@ -536,7 +537,6 @@ export declare const ImageGenerationConfigSchema: z.ZodObject<{
|
|
|
536
537
|
withoutSub?: boolean | undefined;
|
|
537
538
|
};
|
|
538
539
|
}[];
|
|
539
|
-
strategy: import("../..").IMAGE_GENERATION_MODEL_STRATEGY;
|
|
540
540
|
maxPromptLength: number;
|
|
541
541
|
iconVariants: {
|
|
542
542
|
light: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
2
|
+
import { TOOL_MODEL_STATUS, IMAGE_GENERATION_MODEL_TAG } from '../../constants';
|
|
3
3
|
export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
4
4
|
uuid: z.ZodString;
|
|
5
5
|
title: z.ZodString;
|
|
@@ -17,6 +17,7 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
17
17
|
uuid: string;
|
|
18
18
|
name: string;
|
|
19
19
|
}>>;
|
|
20
|
+
tag: z.ZodNullable<z.ZodNativeEnum<typeof IMAGE_GENERATION_MODEL_TAG>>;
|
|
20
21
|
pricingRules: z.ZodArray<z.ZodObject<{
|
|
21
22
|
condition: z.ZodObject<{
|
|
22
23
|
resolution: z.ZodOptional<z.ZodNativeEnum<typeof import("../..").IMAGE_GENERATION_RESOLUTION>>;
|
|
@@ -80,7 +81,6 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
80
81
|
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
81
82
|
} | undefined;
|
|
82
83
|
}>;
|
|
83
|
-
strategy: z.ZodNativeEnum<typeof IMAGE_GENERATION_MODEL_STRATEGY>;
|
|
84
84
|
status: z.ZodNativeEnum<typeof TOOL_MODEL_STATUS>;
|
|
85
85
|
statusCheckEndpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
86
86
|
maxPromptLength: z.ZodNumber;
|
|
@@ -153,6 +153,7 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
153
153
|
description: string;
|
|
154
154
|
title: string;
|
|
155
155
|
model: string;
|
|
156
|
+
tag: IMAGE_GENERATION_MODEL_TAG | null;
|
|
156
157
|
pricingRules: {
|
|
157
158
|
value: number;
|
|
158
159
|
condition: {
|
|
@@ -160,7 +161,6 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
160
161
|
withoutSub?: boolean | undefined;
|
|
161
162
|
};
|
|
162
163
|
}[];
|
|
163
|
-
strategy: IMAGE_GENERATION_MODEL_STRATEGY;
|
|
164
164
|
maxPromptLength: number;
|
|
165
165
|
iconVariants: {
|
|
166
166
|
light: {
|
|
@@ -202,6 +202,7 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
202
202
|
description: string;
|
|
203
203
|
title: string;
|
|
204
204
|
model: string;
|
|
205
|
+
tag: IMAGE_GENERATION_MODEL_TAG | null;
|
|
205
206
|
pricingRules: {
|
|
206
207
|
value: number;
|
|
207
208
|
condition: {
|
|
@@ -209,7 +210,6 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
209
210
|
withoutSub?: boolean | undefined;
|
|
210
211
|
};
|
|
211
212
|
}[];
|
|
212
|
-
strategy: IMAGE_GENERATION_MODEL_STRATEGY;
|
|
213
213
|
maxPromptLength: number;
|
|
214
214
|
iconVariants: {
|
|
215
215
|
light: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-generation-model.schema.d.ts","sourceRoot":"","sources":["../../../models/image-generation/image-generation-model.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"image-generation-model.schema.d.ts","sourceRoot":"","sources":["../../../models/image-generation/image-generation-model.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAMhF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBrC,CAAC"}
|
|
@@ -15,9 +15,9 @@ exports.ImageGenerationModelSchema = zod_1.z.object({
|
|
|
15
15
|
price: zod_1.z.number().int().nonnegative(),
|
|
16
16
|
canUse: zod_1.z.boolean(),
|
|
17
17
|
unlockedBy: unlocked_by_subscription_schema_1.UnlockedBySchema.nullable(),
|
|
18
|
+
tag: zod_1.z.nativeEnum(constants_1.IMAGE_GENERATION_MODEL_TAG).nullable(),
|
|
18
19
|
pricingRules: image_generation_pricing_rule_schema_1.ImageGenerationPricingRulesSchema,
|
|
19
20
|
params: image_generation_model_params_schema_1.ImageGenerationModelParamsSchema,
|
|
20
|
-
strategy: zod_1.z.nativeEnum(constants_1.IMAGE_GENERATION_MODEL_STRATEGY),
|
|
21
21
|
status: zod_1.z.nativeEnum(constants_1.TOOL_MODEL_STATUS),
|
|
22
22
|
statusCheckEndpoint: zod_1.z.string().nullable().optional(),
|
|
23
23
|
maxPromptLength: zod_1.z.number().int(),
|
|
@@ -61,6 +61,7 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
|
|
|
61
61
|
uuid: string;
|
|
62
62
|
name: string;
|
|
63
63
|
}>>;
|
|
64
|
+
tag: z.ZodNullable<z.ZodNativeEnum<typeof import("../..").IMAGE_GENERATION_MODEL_TAG>>;
|
|
64
65
|
pricingRules: z.ZodArray<z.ZodObject<{
|
|
65
66
|
condition: z.ZodObject<{
|
|
66
67
|
resolution: z.ZodOptional<z.ZodNativeEnum<typeof import("../..").IMAGE_GENERATION_RESOLUTION>>;
|
|
@@ -124,7 +125,6 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
|
|
|
124
125
|
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
125
126
|
} | undefined;
|
|
126
127
|
}>;
|
|
127
|
-
strategy: z.ZodNativeEnum<typeof import("../..").IMAGE_GENERATION_MODEL_STRATEGY>;
|
|
128
128
|
status: z.ZodNativeEnum<typeof import("../..").TOOL_MODEL_STATUS>;
|
|
129
129
|
statusCheckEndpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
130
130
|
maxPromptLength: z.ZodNumber;
|
|
@@ -197,6 +197,7 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
|
|
|
197
197
|
description: string;
|
|
198
198
|
title: string;
|
|
199
199
|
model: string;
|
|
200
|
+
tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
|
|
200
201
|
pricingRules: {
|
|
201
202
|
value: number;
|
|
202
203
|
condition: {
|
|
@@ -204,7 +205,6 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
|
|
|
204
205
|
withoutSub?: boolean | undefined;
|
|
205
206
|
};
|
|
206
207
|
}[];
|
|
207
|
-
strategy: import("../..").IMAGE_GENERATION_MODEL_STRATEGY;
|
|
208
208
|
maxPromptLength: number;
|
|
209
209
|
iconVariants: {
|
|
210
210
|
light: {
|
|
@@ -246,6 +246,7 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
|
|
|
246
246
|
description: string;
|
|
247
247
|
title: string;
|
|
248
248
|
model: string;
|
|
249
|
+
tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
|
|
249
250
|
pricingRules: {
|
|
250
251
|
value: number;
|
|
251
252
|
condition: {
|
|
@@ -253,7 +254,6 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
|
|
|
253
254
|
withoutSub?: boolean | undefined;
|
|
254
255
|
};
|
|
255
256
|
}[];
|
|
256
|
-
strategy: import("../..").IMAGE_GENERATION_MODEL_STRATEGY;
|
|
257
257
|
maxPromptLength: number;
|
|
258
258
|
iconVariants: {
|
|
259
259
|
light: {
|
|
@@ -310,6 +310,7 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
|
|
|
310
310
|
description: string;
|
|
311
311
|
title: string;
|
|
312
312
|
model: string;
|
|
313
|
+
tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
|
|
313
314
|
pricingRules: {
|
|
314
315
|
value: number;
|
|
315
316
|
condition: {
|
|
@@ -317,7 +318,6 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
|
|
|
317
318
|
withoutSub?: boolean | undefined;
|
|
318
319
|
};
|
|
319
320
|
}[];
|
|
320
|
-
strategy: import("../..").IMAGE_GENERATION_MODEL_STRATEGY;
|
|
321
321
|
maxPromptLength: number;
|
|
322
322
|
iconVariants: {
|
|
323
323
|
light: {
|
|
@@ -374,6 +374,7 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
|
|
|
374
374
|
description: string;
|
|
375
375
|
title: string;
|
|
376
376
|
model: string;
|
|
377
|
+
tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
|
|
377
378
|
pricingRules: {
|
|
378
379
|
value: number;
|
|
379
380
|
condition: {
|
|
@@ -381,7 +382,6 @@ export declare const ImageGenerationVendorSchema: z.ZodObject<{
|
|
|
381
382
|
withoutSub?: boolean | undefined;
|
|
382
383
|
};
|
|
383
384
|
}[];
|
|
384
|
-
strategy: import("../..").IMAGE_GENERATION_MODEL_STRATEGY;
|
|
385
385
|
maxPromptLength: number;
|
|
386
386
|
iconVariants: {
|
|
387
387
|
light: {
|
|
@@ -63,7 +63,6 @@ export declare const STTConfigSchema: z.ZodObject<{
|
|
|
63
63
|
createdAt: Date;
|
|
64
64
|
updatedAt: Date;
|
|
65
65
|
title: string;
|
|
66
|
-
strategy: string;
|
|
67
66
|
order: number;
|
|
68
67
|
aiModel: string;
|
|
69
68
|
icons: {
|
|
@@ -76,6 +75,7 @@ export declare const STTConfigSchema: z.ZodObject<{
|
|
|
76
75
|
svg?: string | undefined;
|
|
77
76
|
};
|
|
78
77
|
};
|
|
78
|
+
strategy: string;
|
|
79
79
|
pricePerSecond: number;
|
|
80
80
|
maxDurationSeconds: number;
|
|
81
81
|
maxSizeMB: number;
|
|
@@ -88,7 +88,6 @@ export declare const STTConfigSchema: z.ZodObject<{
|
|
|
88
88
|
createdAt: Date;
|
|
89
89
|
updatedAt: Date;
|
|
90
90
|
title: string;
|
|
91
|
-
strategy: string;
|
|
92
91
|
order: number;
|
|
93
92
|
aiModel: string;
|
|
94
93
|
icons: {
|
|
@@ -101,6 +100,7 @@ export declare const STTConfigSchema: z.ZodObject<{
|
|
|
101
100
|
svg?: string | undefined;
|
|
102
101
|
};
|
|
103
102
|
};
|
|
103
|
+
strategy: string;
|
|
104
104
|
pricePerSecond: number;
|
|
105
105
|
maxDurationSeconds: number;
|
|
106
106
|
maxSizeMB: number;
|
|
@@ -115,7 +115,6 @@ export declare const STTConfigSchema: z.ZodObject<{
|
|
|
115
115
|
createdAt: Date;
|
|
116
116
|
updatedAt: Date;
|
|
117
117
|
title: string;
|
|
118
|
-
strategy: string;
|
|
119
118
|
order: number;
|
|
120
119
|
aiModel: string;
|
|
121
120
|
icons: {
|
|
@@ -128,6 +127,7 @@ export declare const STTConfigSchema: z.ZodObject<{
|
|
|
128
127
|
svg?: string | undefined;
|
|
129
128
|
};
|
|
130
129
|
};
|
|
130
|
+
strategy: string;
|
|
131
131
|
pricePerSecond: number;
|
|
132
132
|
maxDurationSeconds: number;
|
|
133
133
|
maxSizeMB: number;
|
|
@@ -142,7 +142,6 @@ export declare const STTConfigSchema: z.ZodObject<{
|
|
|
142
142
|
createdAt: Date;
|
|
143
143
|
updatedAt: Date;
|
|
144
144
|
title: string;
|
|
145
|
-
strategy: string;
|
|
146
145
|
order: number;
|
|
147
146
|
aiModel: string;
|
|
148
147
|
icons: {
|
|
@@ -155,6 +154,7 @@ export declare const STTConfigSchema: z.ZodObject<{
|
|
|
155
154
|
svg?: string | undefined;
|
|
156
155
|
};
|
|
157
156
|
};
|
|
157
|
+
strategy: string;
|
|
158
158
|
pricePerSecond: number;
|
|
159
159
|
maxDurationSeconds: number;
|
|
160
160
|
maxSizeMB: number;
|
|
@@ -63,7 +63,6 @@ export declare const STTModelSchema: z.ZodObject<{
|
|
|
63
63
|
createdAt: Date;
|
|
64
64
|
updatedAt: Date;
|
|
65
65
|
title: string;
|
|
66
|
-
strategy: string;
|
|
67
66
|
order: number;
|
|
68
67
|
aiModel: string;
|
|
69
68
|
icons: {
|
|
@@ -76,6 +75,7 @@ export declare const STTModelSchema: z.ZodObject<{
|
|
|
76
75
|
svg?: string | undefined;
|
|
77
76
|
};
|
|
78
77
|
};
|
|
78
|
+
strategy: string;
|
|
79
79
|
pricePerSecond: number;
|
|
80
80
|
maxDurationSeconds: number;
|
|
81
81
|
maxSizeMB: number;
|
|
@@ -88,7 +88,6 @@ export declare const STTModelSchema: z.ZodObject<{
|
|
|
88
88
|
createdAt: Date;
|
|
89
89
|
updatedAt: Date;
|
|
90
90
|
title: string;
|
|
91
|
-
strategy: string;
|
|
92
91
|
order: number;
|
|
93
92
|
aiModel: string;
|
|
94
93
|
icons: {
|
|
@@ -101,6 +100,7 @@ export declare const STTModelSchema: z.ZodObject<{
|
|
|
101
100
|
svg?: string | undefined;
|
|
102
101
|
};
|
|
103
102
|
};
|
|
103
|
+
strategy: string;
|
|
104
104
|
pricePerSecond: number;
|
|
105
105
|
maxDurationSeconds: number;
|
|
106
106
|
maxSizeMB: number;
|