@purpleschool/multisite 0.0.27 → 0.0.28
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/api/controller/http/ai-proxy.d.ts +3 -3
- package/build/api/controller/http/ai-proxy.d.ts.map +1 -1
- package/build/api/controller/http/auth.d.ts +12 -12
- package/build/api/controller/http/auth.d.ts.map +1 -1
- package/build/api/controller/http/cloud-payments.d.ts +2 -2
- package/build/api/controller/http/cloud-payments.d.ts.map +1 -1
- package/build/api/controller/http/file.d.ts +5 -5
- package/build/api/controller/http/file.d.ts.map +1 -1
- package/build/api/controller/http/health.d.ts +1 -1
- package/build/api/controller/http/health.d.ts.map +1 -1
- package/build/api/controller/http/image-editor.d.ts +6 -6
- package/build/api/controller/http/image-editor.d.ts.map +1 -1
- package/build/api/controller/http/image-generation.d.ts +6 -6
- package/build/api/controller/http/image-generation.d.ts.map +1 -1
- package/build/api/controller/http/marketplace-card.d.ts +7 -7
- package/build/api/controller/http/marketplace-card.d.ts.map +1 -1
- package/build/api/controller/http/page-question.d.ts +3 -3
- package/build/api/controller/http/page-question.d.ts.map +1 -1
- package/build/api/controller/http/page.d.ts +4 -4
- package/build/api/controller/http/page.d.ts.map +1 -1
- package/build/api/controller/http/payment.d.ts +3 -3
- package/build/api/controller/http/payment.d.ts.map +1 -1
- package/build/api/controller/http/product.d.ts +6 -6
- package/build/api/controller/http/product.d.ts.map +1 -1
- package/build/api/controller/http/sitemap.d.ts +2 -2
- package/build/api/controller/http/sitemap.d.ts.map +1 -1
- package/build/api/controller/http/stt.d.ts +6 -6
- package/build/api/controller/http/stt.d.ts.map +1 -1
- package/build/api/controller/http/subscription.d.ts +7 -7
- package/build/api/controller/http/subscription.d.ts.map +1 -1
- package/build/api/controller/http/transaction.d.ts +2 -2
- package/build/api/controller/http/transaction.d.ts.map +1 -1
- package/build/api/controller/http/tts.d.ts +6 -6
- package/build/api/controller/http/tts.d.ts.map +1 -1
- package/build/api/controller/http/unregistered-user.d.ts +2 -2
- package/build/api/controller/http/unregistered-user.d.ts.map +1 -1
- package/build/api/controller/http/user-to-product.d.ts +1 -1
- package/build/api/controller/http/user-to-product.d.ts.map +1 -1
- package/build/api/controller/http/user-to-subscription.d.ts +1 -1
- package/build/api/controller/http/user-to-subscription.d.ts.map +1 -1
- package/build/api/controller/http/user.d.ts +5 -5
- package/build/api/controller/http/user.d.ts.map +1 -1
- package/build/api/routes.d.ts +1 -1
- package/build/api/routes.d.ts.map +1 -1
- package/build/commands/auth/register.command.d.ts +1 -1
- package/build/commands/auth/reset-password.command.d.ts +2 -2
- package/build/commands/auth/verify-email.command.d.ts +2 -2
- package/build/commands/auth/vk-login.command.d.ts +2 -2
- package/build/commands/auth/yandex-login.command.d.ts +2 -2
- package/build/commands/file/upload-file.command.d.ts +8 -8
- package/build/commands/image-editor/execute-image-editor.command.d.ts +88 -88
- package/build/commands/image-editor/proxy-image-editor-callback.command.d.ts +2 -2
- package/build/commands/image-editor/retry-image-editor-job.command.d.ts +89 -89
- package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts +78 -78
- package/build/commands/image-editor/update-image-editor-job-title.command.d.ts +78 -78
- package/build/commands/image-generation/execute-image-generation.command.d.ts +71 -71
- package/build/commands/image-generation/proxy-image-generation-callback.command.d.ts +4 -4
- package/build/commands/image-generation/retry-image-generation-job.command.d.ts +72 -72
- package/build/commands/image-generation/set-reaction-to-image-generation-job.command.d.ts +65 -65
- package/build/commands/image-generation/update-image-generation-job-title.command.d.ts +65 -65
- package/build/commands/marketplace-card/execute-marketplace-card.command.d.ts +20 -20
- package/build/commands/marketplace-card/retry-marketplace-card-job.command.d.ts +16 -16
- package/build/commands/marketplace-card/set-reaction-to-marketplace-card-job.command.d.ts +16 -16
- package/build/commands/marketplace-card/update-marketplace-card-job-title.command.d.ts +16 -16
- package/build/commands/page/create-page-question.command.d.ts +9 -9
- package/build/commands/page/create-page.command.d.ts +15 -15
- package/build/commands/page/find-page-by-alias.command.d.ts +72 -72
- package/build/commands/page/find-page-by-criteria.command.d.ts +28 -28
- package/build/commands/page/find-page.command.d.ts +48 -48
- package/build/commands/page/update-page-question.command.d.ts +9 -9
- package/build/commands/page/update-page.command.d.ts +15 -15
- package/build/commands/payment/cloud-payments.command.d.ts +18 -18
- package/build/commands/product/buy-product.command.d.ts +80 -80
- package/build/commands/product/fast-buy-product.command.d.ts +81 -81
- package/build/commands/product/update-product.command.d.ts +6 -6
- package/build/commands/stt/execute-stt.command.d.ts +81 -81
- package/build/commands/stt/retry-stt-job.command.d.ts +79 -79
- package/build/commands/stt/set-reaction-to-stt-job.command.d.ts +79 -79
- package/build/commands/stt/update-stt-job-title.command.d.ts +79 -79
- package/build/commands/subscription/buy-subscription.command.d.ts +80 -80
- package/build/commands/subscription/fast-buy-subscription.command.d.ts +81 -81
- package/build/commands/subscription/update-subscription.command.d.ts +24 -24
- package/build/commands/transaction/write-off.command.d.ts +5 -5
- package/build/commands/tts/execute-tts.command.d.ts +99 -99
- package/build/commands/tts/retry-tts-job.command.d.ts +92 -92
- package/build/commands/tts/set-reaction-to-tts-job.command.d.ts +92 -92
- package/build/commands/tts/update-tts-job-title.command.d.ts +92 -92
- package/build/commands/unregistered-user/upsert-unregistered-user.command.d.ts +4 -4
- package/build/commands/user-to-product/get-user-to-product-by-uuid.command.d.ts +4 -4
- package/build/commands/user-to-product/update-user-to-product.command.d.ts +7 -7
- package/build/commands/user-to-subscription/get-user-to-subscription-by-uuid.command.d.ts +28 -28
- package/build/commands/user-to-subscription/update-user-to-subscription.command.d.ts +36 -36
- package/build/constants/email/email-endpoint.d.ts +1 -1
- package/build/constants/email/email-endpoint.d.ts.map +1 -1
- package/build/constants/email/email-endpoint.js +1 -1
- package/build/constants/email/subjects.d.ts +10 -10
- package/build/constants/email/subjects.d.ts.map +1 -1
- package/build/constants/errors/errors.d.ts +338 -328
- package/build/constants/errors/errors.d.ts.map +1 -1
- package/build/constants/errors/errors.js +10 -0
- package/build/constants/subscription/free-subscription-id.constant.d.ts +1 -1
- package/build/models/cloud-payments-widget-data.schema.d.ts +58 -58
- package/build/models/cloud-payments-widget.schema.d.ts +62 -62
- package/build/models/common/attached-file.schema.d.ts +4 -4
- package/build/models/common/receipt.schema.d.ts +8 -8
- package/build/models/file.schema.d.ts +4 -4
- package/build/models/image-editor/image-editor-config.schema.d.ts +128 -128
- package/build/models/image-editor/image-editor-job-params.schema.d.ts +10 -10
- package/build/models/image-editor/image-editor-job-request-params.schema.d.ts +4 -4
- package/build/models/image-editor/image-editor-job-request-params.schema.js +1 -1
- package/build/models/image-editor/image-editor-job.schema.d.ts +44 -44
- package/build/models/image-editor/image-editor-model-params.schema.d.ts +5 -5
- package/build/models/image-editor/image-editor-model.schema.d.ts +44 -44
- package/build/models/image-editor/image-editor-pricing-rule.schema.d.ts +2 -2
- package/build/models/image-editor/image-editor-prompt-group.schema.d.ts +26 -26
- package/build/models/image-editor/image-editor-system-prompt.schema.d.ts +12 -12
- package/build/models/image-generation/image-generation-config.schema.d.ts +122 -122
- package/build/models/image-generation/image-generation-job-attempt.schema.d.ts +2 -2
- package/build/models/image-generation/image-generation-job-params.schema.d.ts +9 -9
- package/build/models/image-generation/image-generation-job-request-params.schema.d.ts +1 -1
- package/build/models/image-generation/image-generation-job.schema.d.ts +38 -38
- package/build/models/image-generation/image-generation-model-params.schema.d.ts +4 -4
- package/build/models/image-generation/image-generation-model.schema.d.ts +42 -42
- package/build/models/image-generation/image-generation-preset.schema.d.ts +2 -2
- package/build/models/image-generation/image-generation-pricing-rule.schema.d.ts +4 -4
- package/build/models/image-generation/image-generation-vendor.schema.d.ts +80 -80
- package/build/models/marketplace-card/marketplace-card-config.schema.d.ts +18 -18
- package/build/models/marketplace-card/marketplace-card-job-request-params.schema.d.ts +4 -4
- package/build/models/marketplace-card/marketplace-card-job.schema.d.ts +8 -8
- package/build/models/marketplace-card/marketplace-card-model.schema.d.ts +4 -4
- package/build/models/marketplace-card/marketplace-card-style-preset.schema.d.ts +2 -2
- package/build/models/page-question.schema.d.ts +4 -4
- package/build/models/page.schema.d.ts +20 -20
- package/build/models/product.schema.d.ts +2 -2
- package/build/models/stt/stt-config.schema.d.ts +28 -28
- package/build/models/stt/stt-job-attempt.schema.d.ts +4 -4
- package/build/models/stt/stt-job.schema.d.ts +42 -42
- package/build/models/stt/stt-model.schema.d.ts +14 -14
- package/build/models/stt/stt-response.schema.d.ts +1 -1
- package/build/models/subscription.schema.d.ts +8 -8
- package/build/models/tools/vendor.schema.d.ts +2 -2
- package/build/models/tts/tts-config.schema.d.ts +184 -184
- package/build/models/tts/tts-job-attempt.schema.d.ts +4 -4
- package/build/models/tts/tts-job-params.schema.d.ts +2 -2
- package/build/models/tts/tts-job.schema.d.ts +50 -50
- package/build/models/tts/tts-model.schema.d.ts +196 -196
- package/build/models/unlocked-by-subscription.schema.d.ts.map +1 -1
- package/build/models/user-to-product.schema.d.ts +2 -2
- package/build/models/user-to-subscription.schema.d.ts +14 -14
- package/build/models/user.schema.d.ts +4 -4
- package/build/queries/file/find-files.command.d.ts +8 -8
- package/build/queries/file/get-file.command.d.ts +8 -8
- package/build/queries/image-editor/find-image-editor-jobs.command.d.ts +79 -79
- package/build/queries/image-editor/get-image-editor-config.command.d.ts +186 -186
- package/build/queries/image-editor/get-image-editor-job.command.d.ts +78 -78
- package/build/queries/image-generation/find-image-generation-jobs.command.d.ts +66 -66
- package/build/queries/image-generation/get-image-generation-config.command.d.ts +162 -162
- package/build/queries/image-generation/get-image-generation-job.command.d.ts +65 -65
- package/build/queries/marketplace-card/find-marketplace-card-jobs.command.d.ts +17 -17
- package/build/queries/marketplace-card/get-marketplace-card-config.command.d.ts +30 -30
- package/build/queries/marketplace-card/get-marketplace-card-job.command.d.ts +16 -16
- package/build/queries/page/find-all-page-questions.query.d.ts +8 -8
- package/build/queries/page/find-page-question-by-uuid.query.d.ts +8 -8
- package/build/queries/page/find-page-questions-by-page-id.query.d.ts +8 -8
- package/build/queries/payment/get-payment-history.command.d.ts +12 -12
- package/build/queries/product/find-products.command.d.ts +4 -4
- package/build/queries/stt/find-stt-jobs.command.d.ts +79 -79
- package/build/queries/stt/get-stt-config.command.d.ts +42 -42
- package/build/queries/stt/get-stt-job.command.d.ts +79 -79
- package/build/queries/subscription/find-subscriptions.command.d.ts +16 -16
- package/build/queries/subscription/get-subscriptions-summary.command.d.ts +51 -51
- package/build/queries/tts/find-tts-jobs.command.d.ts +94 -94
- package/build/queries/tts/get-tts-config.command.d.ts +242 -242
- package/build/queries/tts/get-tts-job.command.d.ts +92 -92
- package/build/queries/user/find-users.command.d.ts +16 -16
- package/build/queries/user/get-all-users.command.d.ts +8 -8
- package/build/queries/user/get-my-products.command.d.ts +10 -10
- package/build/queries/user/get-my-subscriptions.command.d.ts +36 -36
- package/build/queries/user/get-user-payments.command.d.ts +42 -42
- package/build/queries/user/get-user.command.d.ts +8 -8
- package/constants/email/email-endpoint.ts +1 -1
- package/constants/errors/errors.ts +10 -0
- package/models/image-editor/image-editor-job-request-params.schema.ts +1 -1
- package/package.json +1 -1
|
@@ -78,17 +78,17 @@ export declare namespace GetImageGenerationConfigCommand {
|
|
|
78
78
|
}>;
|
|
79
79
|
value: z.ZodNumber;
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
|
-
value: number;
|
|
82
81
|
condition: {
|
|
83
82
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
84
83
|
withoutSub?: boolean | undefined;
|
|
85
84
|
};
|
|
86
|
-
}, {
|
|
87
85
|
value: number;
|
|
86
|
+
}, {
|
|
88
87
|
condition: {
|
|
89
88
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
90
89
|
withoutSub?: boolean | undefined;
|
|
91
90
|
};
|
|
91
|
+
value: number;
|
|
92
92
|
}>, "many">;
|
|
93
93
|
params: z.ZodObject<{
|
|
94
94
|
aspectRatio: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
@@ -110,19 +110,19 @@ export declare namespace GetImageGenerationConfigCommand {
|
|
|
110
110
|
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
111
111
|
}>>;
|
|
112
112
|
}, "strip", z.ZodTypeAny, {
|
|
113
|
-
aspectRatio: Record<string, {
|
|
113
|
+
aspectRatio: Record<string, "auto" | {
|
|
114
114
|
width: number;
|
|
115
115
|
height: number;
|
|
116
|
-
}
|
|
116
|
+
}>;
|
|
117
117
|
quality?: string | Record<string, string> | undefined;
|
|
118
118
|
resolution?: {
|
|
119
119
|
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
120
120
|
} | undefined;
|
|
121
121
|
}, {
|
|
122
|
-
aspectRatio: Record<string, {
|
|
122
|
+
aspectRatio: Record<string, "auto" | {
|
|
123
123
|
width: number;
|
|
124
124
|
height: number;
|
|
125
|
-
}
|
|
125
|
+
}>;
|
|
126
126
|
quality?: string | Record<string, string> | undefined;
|
|
127
127
|
resolution?: {
|
|
128
128
|
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
@@ -179,35 +179,36 @@ export declare namespace GetImageGenerationConfigCommand {
|
|
|
179
179
|
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
180
180
|
updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
181
181
|
}, "strip", z.ZodTypeAny, {
|
|
182
|
-
price: number;
|
|
183
182
|
uuid: string;
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
} | "auto">;
|
|
190
|
-
quality?: string | Record<string, string> | undefined;
|
|
191
|
-
resolution?: {
|
|
192
|
-
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
193
|
-
} | undefined;
|
|
194
|
-
};
|
|
183
|
+
title: string;
|
|
184
|
+
model: string;
|
|
185
|
+
description: string;
|
|
186
|
+
price: number;
|
|
187
|
+
canUse: boolean;
|
|
195
188
|
unlockedBy: {
|
|
196
189
|
uuid: string;
|
|
197
190
|
name: string;
|
|
198
191
|
} | null;
|
|
199
|
-
canUse: boolean;
|
|
200
|
-
description: string;
|
|
201
|
-
title: string;
|
|
202
|
-
model: string;
|
|
203
192
|
tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
|
|
204
193
|
pricingRules: {
|
|
205
|
-
value: number;
|
|
206
194
|
condition: {
|
|
207
195
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
208
196
|
withoutSub?: boolean | undefined;
|
|
209
197
|
};
|
|
198
|
+
value: number;
|
|
210
199
|
}[];
|
|
200
|
+
params: {
|
|
201
|
+
aspectRatio: Record<string, "auto" | {
|
|
202
|
+
width: number;
|
|
203
|
+
height: number;
|
|
204
|
+
}>;
|
|
205
|
+
quality?: string | Record<string, string> | undefined;
|
|
206
|
+
resolution?: {
|
|
207
|
+
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
208
|
+
} | undefined;
|
|
209
|
+
};
|
|
210
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
211
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
211
212
|
maxPromptLength: number;
|
|
212
213
|
iconVariants: {
|
|
213
214
|
light: {
|
|
@@ -226,37 +227,37 @@ export declare namespace GetImageGenerationConfigCommand {
|
|
|
226
227
|
vendorId: string;
|
|
227
228
|
createdAt?: string | Date | undefined;
|
|
228
229
|
updatedAt?: string | Date | undefined;
|
|
229
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
230
230
|
}, {
|
|
231
|
-
price: number;
|
|
232
231
|
uuid: string;
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
} | "auto">;
|
|
239
|
-
quality?: string | Record<string, string> | undefined;
|
|
240
|
-
resolution?: {
|
|
241
|
-
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
242
|
-
} | undefined;
|
|
243
|
-
};
|
|
232
|
+
title: string;
|
|
233
|
+
model: string;
|
|
234
|
+
description: string;
|
|
235
|
+
price: number;
|
|
236
|
+
canUse: boolean;
|
|
244
237
|
unlockedBy: {
|
|
245
238
|
uuid: string;
|
|
246
239
|
name: string;
|
|
247
240
|
} | null;
|
|
248
|
-
canUse: boolean;
|
|
249
|
-
description: string;
|
|
250
|
-
title: string;
|
|
251
|
-
model: string;
|
|
252
241
|
tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
|
|
253
242
|
pricingRules: {
|
|
254
|
-
value: number;
|
|
255
243
|
condition: {
|
|
256
244
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
257
245
|
withoutSub?: boolean | undefined;
|
|
258
246
|
};
|
|
247
|
+
value: number;
|
|
259
248
|
}[];
|
|
249
|
+
params: {
|
|
250
|
+
aspectRatio: Record<string, "auto" | {
|
|
251
|
+
width: number;
|
|
252
|
+
height: number;
|
|
253
|
+
}>;
|
|
254
|
+
quality?: string | Record<string, string> | undefined;
|
|
255
|
+
resolution?: {
|
|
256
|
+
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
257
|
+
} | undefined;
|
|
258
|
+
};
|
|
259
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
260
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
260
261
|
maxPromptLength: number;
|
|
261
262
|
iconVariants: {
|
|
262
263
|
light: {
|
|
@@ -275,11 +276,11 @@ export declare namespace GetImageGenerationConfigCommand {
|
|
|
275
276
|
vendorId: string;
|
|
276
277
|
createdAt?: string | Date | undefined;
|
|
277
278
|
updatedAt?: string | Date | undefined;
|
|
278
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
279
279
|
}>, "many">;
|
|
280
280
|
}, "strip", z.ZodTypeAny, {
|
|
281
281
|
uuid: string;
|
|
282
282
|
title: string;
|
|
283
|
+
order: number;
|
|
283
284
|
iconVariants: {
|
|
284
285
|
light: {
|
|
285
286
|
png?: string | undefined;
|
|
@@ -290,37 +291,37 @@ export declare namespace GetImageGenerationConfigCommand {
|
|
|
290
291
|
svg?: string | undefined;
|
|
291
292
|
};
|
|
292
293
|
};
|
|
293
|
-
order: number;
|
|
294
294
|
models: {
|
|
295
|
-
price: number;
|
|
296
295
|
uuid: string;
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
} | "auto">;
|
|
303
|
-
quality?: string | Record<string, string> | undefined;
|
|
304
|
-
resolution?: {
|
|
305
|
-
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
306
|
-
} | undefined;
|
|
307
|
-
};
|
|
296
|
+
title: string;
|
|
297
|
+
model: string;
|
|
298
|
+
description: string;
|
|
299
|
+
price: number;
|
|
300
|
+
canUse: boolean;
|
|
308
301
|
unlockedBy: {
|
|
309
302
|
uuid: string;
|
|
310
303
|
name: string;
|
|
311
304
|
} | null;
|
|
312
|
-
canUse: boolean;
|
|
313
|
-
description: string;
|
|
314
|
-
title: string;
|
|
315
|
-
model: string;
|
|
316
305
|
tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
|
|
317
306
|
pricingRules: {
|
|
318
|
-
value: number;
|
|
319
307
|
condition: {
|
|
320
308
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
321
309
|
withoutSub?: boolean | undefined;
|
|
322
310
|
};
|
|
311
|
+
value: number;
|
|
323
312
|
}[];
|
|
313
|
+
params: {
|
|
314
|
+
aspectRatio: Record<string, "auto" | {
|
|
315
|
+
width: number;
|
|
316
|
+
height: number;
|
|
317
|
+
}>;
|
|
318
|
+
quality?: string | Record<string, string> | undefined;
|
|
319
|
+
resolution?: {
|
|
320
|
+
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
321
|
+
} | undefined;
|
|
322
|
+
};
|
|
323
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
324
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
324
325
|
maxPromptLength: number;
|
|
325
326
|
iconVariants: {
|
|
326
327
|
light: {
|
|
@@ -339,11 +340,11 @@ export declare namespace GetImageGenerationConfigCommand {
|
|
|
339
340
|
vendorId: string;
|
|
340
341
|
createdAt?: string | Date | undefined;
|
|
341
342
|
updatedAt?: string | Date | undefined;
|
|
342
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
343
343
|
}[];
|
|
344
344
|
}, {
|
|
345
345
|
uuid: string;
|
|
346
346
|
title: string;
|
|
347
|
+
order: number;
|
|
347
348
|
iconVariants: {
|
|
348
349
|
light: {
|
|
349
350
|
png?: string | undefined;
|
|
@@ -354,37 +355,37 @@ export declare namespace GetImageGenerationConfigCommand {
|
|
|
354
355
|
svg?: string | undefined;
|
|
355
356
|
};
|
|
356
357
|
};
|
|
357
|
-
order: number;
|
|
358
358
|
models: {
|
|
359
|
-
price: number;
|
|
360
359
|
uuid: string;
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
} | "auto">;
|
|
367
|
-
quality?: string | Record<string, string> | undefined;
|
|
368
|
-
resolution?: {
|
|
369
|
-
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
370
|
-
} | undefined;
|
|
371
|
-
};
|
|
360
|
+
title: string;
|
|
361
|
+
model: string;
|
|
362
|
+
description: string;
|
|
363
|
+
price: number;
|
|
364
|
+
canUse: boolean;
|
|
372
365
|
unlockedBy: {
|
|
373
366
|
uuid: string;
|
|
374
367
|
name: string;
|
|
375
368
|
} | null;
|
|
376
|
-
canUse: boolean;
|
|
377
|
-
description: string;
|
|
378
|
-
title: string;
|
|
379
|
-
model: string;
|
|
380
369
|
tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
|
|
381
370
|
pricingRules: {
|
|
382
|
-
value: number;
|
|
383
371
|
condition: {
|
|
384
372
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
385
373
|
withoutSub?: boolean | undefined;
|
|
386
374
|
};
|
|
375
|
+
value: number;
|
|
387
376
|
}[];
|
|
377
|
+
params: {
|
|
378
|
+
aspectRatio: Record<string, "auto" | {
|
|
379
|
+
width: number;
|
|
380
|
+
height: number;
|
|
381
|
+
}>;
|
|
382
|
+
quality?: string | Record<string, string> | undefined;
|
|
383
|
+
resolution?: {
|
|
384
|
+
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
385
|
+
} | undefined;
|
|
386
|
+
};
|
|
387
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
388
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
388
389
|
maxPromptLength: number;
|
|
389
390
|
iconVariants: {
|
|
390
391
|
light: {
|
|
@@ -403,7 +404,6 @@ export declare namespace GetImageGenerationConfigCommand {
|
|
|
403
404
|
vendorId: string;
|
|
404
405
|
createdAt?: string | Date | undefined;
|
|
405
406
|
updatedAt?: string | Date | undefined;
|
|
406
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
407
407
|
}[];
|
|
408
408
|
}>, "many">;
|
|
409
409
|
presets: z.ZodArray<z.ZodObject<{
|
|
@@ -414,18 +414,19 @@ export declare namespace GetImageGenerationConfigCommand {
|
|
|
414
414
|
}, "strip", z.ZodTypeAny, {
|
|
415
415
|
uuid: string;
|
|
416
416
|
title: string;
|
|
417
|
-
order: number;
|
|
418
417
|
sample: string;
|
|
418
|
+
order: number;
|
|
419
419
|
}, {
|
|
420
420
|
uuid: string;
|
|
421
421
|
title: string;
|
|
422
|
-
order: number;
|
|
423
422
|
sample: string;
|
|
423
|
+
order: number;
|
|
424
424
|
}>, "many">;
|
|
425
425
|
}, "strip", z.ZodTypeAny, {
|
|
426
426
|
vendors: {
|
|
427
427
|
uuid: string;
|
|
428
428
|
title: string;
|
|
429
|
+
order: number;
|
|
429
430
|
iconVariants: {
|
|
430
431
|
light: {
|
|
431
432
|
png?: string | undefined;
|
|
@@ -436,37 +437,37 @@ export declare namespace GetImageGenerationConfigCommand {
|
|
|
436
437
|
svg?: string | undefined;
|
|
437
438
|
};
|
|
438
439
|
};
|
|
439
|
-
order: number;
|
|
440
440
|
models: {
|
|
441
|
-
price: number;
|
|
442
441
|
uuid: string;
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
} | "auto">;
|
|
449
|
-
quality?: string | Record<string, string> | undefined;
|
|
450
|
-
resolution?: {
|
|
451
|
-
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
452
|
-
} | undefined;
|
|
453
|
-
};
|
|
442
|
+
title: string;
|
|
443
|
+
model: string;
|
|
444
|
+
description: string;
|
|
445
|
+
price: number;
|
|
446
|
+
canUse: boolean;
|
|
454
447
|
unlockedBy: {
|
|
455
448
|
uuid: string;
|
|
456
449
|
name: string;
|
|
457
450
|
} | null;
|
|
458
|
-
canUse: boolean;
|
|
459
|
-
description: string;
|
|
460
|
-
title: string;
|
|
461
|
-
model: string;
|
|
462
451
|
tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
|
|
463
452
|
pricingRules: {
|
|
464
|
-
value: number;
|
|
465
453
|
condition: {
|
|
466
454
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
467
455
|
withoutSub?: boolean | undefined;
|
|
468
456
|
};
|
|
457
|
+
value: number;
|
|
469
458
|
}[];
|
|
459
|
+
params: {
|
|
460
|
+
aspectRatio: Record<string, "auto" | {
|
|
461
|
+
width: number;
|
|
462
|
+
height: number;
|
|
463
|
+
}>;
|
|
464
|
+
quality?: string | Record<string, string> | undefined;
|
|
465
|
+
resolution?: {
|
|
466
|
+
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
467
|
+
} | undefined;
|
|
468
|
+
};
|
|
469
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
470
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
470
471
|
maxPromptLength: number;
|
|
471
472
|
iconVariants: {
|
|
472
473
|
light: {
|
|
@@ -485,19 +486,19 @@ export declare namespace GetImageGenerationConfigCommand {
|
|
|
485
486
|
vendorId: string;
|
|
486
487
|
createdAt?: string | Date | undefined;
|
|
487
488
|
updatedAt?: string | Date | undefined;
|
|
488
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
489
489
|
}[];
|
|
490
490
|
}[];
|
|
491
491
|
presets: {
|
|
492
492
|
uuid: string;
|
|
493
493
|
title: string;
|
|
494
|
-
order: number;
|
|
495
494
|
sample: string;
|
|
495
|
+
order: number;
|
|
496
496
|
}[];
|
|
497
497
|
}, {
|
|
498
498
|
vendors: {
|
|
499
499
|
uuid: string;
|
|
500
500
|
title: string;
|
|
501
|
+
order: number;
|
|
501
502
|
iconVariants: {
|
|
502
503
|
light: {
|
|
503
504
|
png?: string | undefined;
|
|
@@ -508,37 +509,37 @@ export declare namespace GetImageGenerationConfigCommand {
|
|
|
508
509
|
svg?: string | undefined;
|
|
509
510
|
};
|
|
510
511
|
};
|
|
511
|
-
order: number;
|
|
512
512
|
models: {
|
|
513
|
-
price: number;
|
|
514
513
|
uuid: string;
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
} | "auto">;
|
|
521
|
-
quality?: string | Record<string, string> | undefined;
|
|
522
|
-
resolution?: {
|
|
523
|
-
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
524
|
-
} | undefined;
|
|
525
|
-
};
|
|
514
|
+
title: string;
|
|
515
|
+
model: string;
|
|
516
|
+
description: string;
|
|
517
|
+
price: number;
|
|
518
|
+
canUse: boolean;
|
|
526
519
|
unlockedBy: {
|
|
527
520
|
uuid: string;
|
|
528
521
|
name: string;
|
|
529
522
|
} | null;
|
|
530
|
-
canUse: boolean;
|
|
531
|
-
description: string;
|
|
532
|
-
title: string;
|
|
533
|
-
model: string;
|
|
534
523
|
tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
|
|
535
524
|
pricingRules: {
|
|
536
|
-
value: number;
|
|
537
525
|
condition: {
|
|
538
526
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
539
527
|
withoutSub?: boolean | undefined;
|
|
540
528
|
};
|
|
529
|
+
value: number;
|
|
541
530
|
}[];
|
|
531
|
+
params: {
|
|
532
|
+
aspectRatio: Record<string, "auto" | {
|
|
533
|
+
width: number;
|
|
534
|
+
height: number;
|
|
535
|
+
}>;
|
|
536
|
+
quality?: string | Record<string, string> | undefined;
|
|
537
|
+
resolution?: {
|
|
538
|
+
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
539
|
+
} | undefined;
|
|
540
|
+
};
|
|
541
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
542
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
542
543
|
maxPromptLength: number;
|
|
543
544
|
iconVariants: {
|
|
544
545
|
light: {
|
|
@@ -557,14 +558,13 @@ export declare namespace GetImageGenerationConfigCommand {
|
|
|
557
558
|
vendorId: string;
|
|
558
559
|
createdAt?: string | Date | undefined;
|
|
559
560
|
updatedAt?: string | Date | undefined;
|
|
560
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
561
561
|
}[];
|
|
562
562
|
}[];
|
|
563
563
|
presets: {
|
|
564
564
|
uuid: string;
|
|
565
565
|
title: string;
|
|
566
|
-
order: number;
|
|
567
566
|
sample: string;
|
|
567
|
+
order: number;
|
|
568
568
|
}[];
|
|
569
569
|
}>;
|
|
570
570
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -572,6 +572,7 @@ export declare namespace GetImageGenerationConfigCommand {
|
|
|
572
572
|
vendors: {
|
|
573
573
|
uuid: string;
|
|
574
574
|
title: string;
|
|
575
|
+
order: number;
|
|
575
576
|
iconVariants: {
|
|
576
577
|
light: {
|
|
577
578
|
png?: string | undefined;
|
|
@@ -582,37 +583,37 @@ export declare namespace GetImageGenerationConfigCommand {
|
|
|
582
583
|
svg?: string | undefined;
|
|
583
584
|
};
|
|
584
585
|
};
|
|
585
|
-
order: number;
|
|
586
586
|
models: {
|
|
587
|
-
price: number;
|
|
588
587
|
uuid: string;
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
} | "auto">;
|
|
595
|
-
quality?: string | Record<string, string> | undefined;
|
|
596
|
-
resolution?: {
|
|
597
|
-
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
598
|
-
} | undefined;
|
|
599
|
-
};
|
|
588
|
+
title: string;
|
|
589
|
+
model: string;
|
|
590
|
+
description: string;
|
|
591
|
+
price: number;
|
|
592
|
+
canUse: boolean;
|
|
600
593
|
unlockedBy: {
|
|
601
594
|
uuid: string;
|
|
602
595
|
name: string;
|
|
603
596
|
} | null;
|
|
604
|
-
canUse: boolean;
|
|
605
|
-
description: string;
|
|
606
|
-
title: string;
|
|
607
|
-
model: string;
|
|
608
597
|
tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
|
|
609
598
|
pricingRules: {
|
|
610
|
-
value: number;
|
|
611
599
|
condition: {
|
|
612
600
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
613
601
|
withoutSub?: boolean | undefined;
|
|
614
602
|
};
|
|
603
|
+
value: number;
|
|
615
604
|
}[];
|
|
605
|
+
params: {
|
|
606
|
+
aspectRatio: Record<string, "auto" | {
|
|
607
|
+
width: number;
|
|
608
|
+
height: number;
|
|
609
|
+
}>;
|
|
610
|
+
quality?: string | Record<string, string> | undefined;
|
|
611
|
+
resolution?: {
|
|
612
|
+
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
613
|
+
} | undefined;
|
|
614
|
+
};
|
|
615
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
616
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
616
617
|
maxPromptLength: number;
|
|
617
618
|
iconVariants: {
|
|
618
619
|
light: {
|
|
@@ -631,14 +632,13 @@ export declare namespace GetImageGenerationConfigCommand {
|
|
|
631
632
|
vendorId: string;
|
|
632
633
|
createdAt?: string | Date | undefined;
|
|
633
634
|
updatedAt?: string | Date | undefined;
|
|
634
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
635
635
|
}[];
|
|
636
636
|
}[];
|
|
637
637
|
presets: {
|
|
638
638
|
uuid: string;
|
|
639
639
|
title: string;
|
|
640
|
-
order: number;
|
|
641
640
|
sample: string;
|
|
641
|
+
order: number;
|
|
642
642
|
}[];
|
|
643
643
|
};
|
|
644
644
|
}, {
|
|
@@ -646,6 +646,7 @@ export declare namespace GetImageGenerationConfigCommand {
|
|
|
646
646
|
vendors: {
|
|
647
647
|
uuid: string;
|
|
648
648
|
title: string;
|
|
649
|
+
order: number;
|
|
649
650
|
iconVariants: {
|
|
650
651
|
light: {
|
|
651
652
|
png?: string | undefined;
|
|
@@ -656,37 +657,37 @@ export declare namespace GetImageGenerationConfigCommand {
|
|
|
656
657
|
svg?: string | undefined;
|
|
657
658
|
};
|
|
658
659
|
};
|
|
659
|
-
order: number;
|
|
660
660
|
models: {
|
|
661
|
-
price: number;
|
|
662
661
|
uuid: string;
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
} | "auto">;
|
|
669
|
-
quality?: string | Record<string, string> | undefined;
|
|
670
|
-
resolution?: {
|
|
671
|
-
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
672
|
-
} | undefined;
|
|
673
|
-
};
|
|
662
|
+
title: string;
|
|
663
|
+
model: string;
|
|
664
|
+
description: string;
|
|
665
|
+
price: number;
|
|
666
|
+
canUse: boolean;
|
|
674
667
|
unlockedBy: {
|
|
675
668
|
uuid: string;
|
|
676
669
|
name: string;
|
|
677
670
|
} | null;
|
|
678
|
-
canUse: boolean;
|
|
679
|
-
description: string;
|
|
680
|
-
title: string;
|
|
681
|
-
model: string;
|
|
682
671
|
tag: import("../..").IMAGE_GENERATION_MODEL_TAG | null;
|
|
683
672
|
pricingRules: {
|
|
684
|
-
value: number;
|
|
685
673
|
condition: {
|
|
686
674
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
687
675
|
withoutSub?: boolean | undefined;
|
|
688
676
|
};
|
|
677
|
+
value: number;
|
|
689
678
|
}[];
|
|
679
|
+
params: {
|
|
680
|
+
aspectRatio: Record<string, "auto" | {
|
|
681
|
+
width: number;
|
|
682
|
+
height: number;
|
|
683
|
+
}>;
|
|
684
|
+
quality?: string | Record<string, string> | undefined;
|
|
685
|
+
resolution?: {
|
|
686
|
+
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
687
|
+
} | undefined;
|
|
688
|
+
};
|
|
689
|
+
status: import("../..").TOOL_MODEL_STATUS;
|
|
690
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
690
691
|
maxPromptLength: number;
|
|
691
692
|
iconVariants: {
|
|
692
693
|
light: {
|
|
@@ -705,14 +706,13 @@ export declare namespace GetImageGenerationConfigCommand {
|
|
|
705
706
|
vendorId: string;
|
|
706
707
|
createdAt?: string | Date | undefined;
|
|
707
708
|
updatedAt?: string | Date | undefined;
|
|
708
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
709
709
|
}[];
|
|
710
710
|
}[];
|
|
711
711
|
presets: {
|
|
712
712
|
uuid: string;
|
|
713
713
|
title: string;
|
|
714
|
-
order: number;
|
|
715
714
|
sample: string;
|
|
715
|
+
order: number;
|
|
716
716
|
}[];
|
|
717
717
|
};
|
|
718
718
|
}>;
|