@purpleschool/multisite 0.0.26 → 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/unregistered-user/get-unregistered-user-balance.command.d.ts +5 -0
- package/build/queries/unregistered-user/get-unregistered-user-balance.command.d.ts.map +1 -1
- package/build/queries/unregistered-user/get-unregistered-user-balance.command.js +1 -0
- 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-balance.command.d.ts +5 -0
- package/build/queries/user/get-user-balance.command.d.ts.map +1 -1
- package/build/queries/user/get-user-balance.command.js +1 -0
- 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
- package/queries/unregistered-user/get-unregistered-user-balance.command.ts +1 -0
- package/queries/user/get-user-balance.command.ts +1 -0
|
@@ -17,18 +17,18 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
|
|
|
17
17
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
19
|
uuid: string;
|
|
20
|
-
type: import("../..").FILE_TYPE;
|
|
21
|
-
name: string;
|
|
22
20
|
url: string;
|
|
21
|
+
name: string;
|
|
23
22
|
mimeType: string;
|
|
23
|
+
type: import("../..").FILE_TYPE;
|
|
24
24
|
size: number;
|
|
25
25
|
duration?: number | null | undefined;
|
|
26
26
|
}, {
|
|
27
27
|
uuid: string;
|
|
28
|
-
type: import("../..").FILE_TYPE;
|
|
29
|
-
name: string;
|
|
30
28
|
url: string;
|
|
29
|
+
name: string;
|
|
31
30
|
mimeType: string;
|
|
31
|
+
type: import("../..").FILE_TYPE;
|
|
32
32
|
size: number;
|
|
33
33
|
duration?: number | null | undefined;
|
|
34
34
|
}>, "many">>>;
|
|
@@ -38,10 +38,10 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
|
|
|
38
38
|
aspectRatio: string;
|
|
39
39
|
attachedFiles: {
|
|
40
40
|
uuid: string;
|
|
41
|
-
type: import("../..").FILE_TYPE;
|
|
42
|
-
name: string;
|
|
43
41
|
url: string;
|
|
42
|
+
name: string;
|
|
44
43
|
mimeType: string;
|
|
44
|
+
type: import("../..").FILE_TYPE;
|
|
45
45
|
size: number;
|
|
46
46
|
duration?: number | null | undefined;
|
|
47
47
|
}[];
|
|
@@ -49,17 +49,17 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
|
|
|
49
49
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
50
50
|
}, {
|
|
51
51
|
aspectRatio: string;
|
|
52
|
-
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
53
52
|
attachedFiles?: {
|
|
54
53
|
uuid: string;
|
|
55
|
-
type: import("../..").FILE_TYPE;
|
|
56
|
-
name: string;
|
|
57
54
|
url: string;
|
|
55
|
+
name: string;
|
|
58
56
|
mimeType: string;
|
|
57
|
+
type: import("../..").FILE_TYPE;
|
|
59
58
|
size: number;
|
|
60
59
|
duration?: number | null | undefined;
|
|
61
60
|
}[] | undefined;
|
|
62
61
|
enhancePrompt?: boolean | undefined;
|
|
62
|
+
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
63
63
|
}>;
|
|
64
64
|
price: z.ZodNumber;
|
|
65
65
|
status: z.ZodNativeEnum<typeof JOB_STATUS>;
|
|
@@ -75,13 +75,13 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
|
|
|
75
75
|
error: z.ZodNullable<z.ZodString>;
|
|
76
76
|
timestamp: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
77
77
|
}, "strip", z.ZodTypeAny, {
|
|
78
|
-
status: JOB_STATUS;
|
|
79
78
|
order: number;
|
|
79
|
+
status: JOB_STATUS;
|
|
80
80
|
error: string | null;
|
|
81
81
|
timestamp: string | Date;
|
|
82
82
|
}, {
|
|
83
|
-
status: JOB_STATUS;
|
|
84
83
|
order: number;
|
|
84
|
+
status: JOB_STATUS;
|
|
85
85
|
error: string | null;
|
|
86
86
|
timestamp: string | Date;
|
|
87
87
|
}>, "many">;
|
|
@@ -95,88 +95,88 @@ export declare const ImageGenerationJobSchema: z.ZodObject<{
|
|
|
95
95
|
updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
96
96
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
|
-
price: number;
|
|
99
98
|
uuid: string;
|
|
100
|
-
|
|
99
|
+
modelId: string;
|
|
100
|
+
prompt: string;
|
|
101
|
+
title: string;
|
|
101
102
|
params: {
|
|
102
103
|
aspectRatio: string;
|
|
103
104
|
attachedFiles: {
|
|
104
105
|
uuid: string;
|
|
105
|
-
type: import("../..").FILE_TYPE;
|
|
106
|
-
name: string;
|
|
107
106
|
url: string;
|
|
107
|
+
name: string;
|
|
108
108
|
mimeType: string;
|
|
109
|
+
type: import("../..").FILE_TYPE;
|
|
109
110
|
size: number;
|
|
110
111
|
duration?: number | null | undefined;
|
|
111
112
|
}[];
|
|
112
113
|
enhancePrompt: boolean;
|
|
113
114
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
114
115
|
};
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
116
|
+
price: number;
|
|
117
|
+
status: JOB_STATUS;
|
|
118
|
+
error?: string | null | undefined;
|
|
118
119
|
reaction: USER_REACTION | null;
|
|
119
120
|
dislikeReason: string | null;
|
|
120
121
|
externalId: string | null;
|
|
121
122
|
output: string[];
|
|
123
|
+
presetId?: string | null | undefined;
|
|
122
124
|
attempts: {
|
|
123
|
-
status: JOB_STATUS;
|
|
124
125
|
order: number;
|
|
126
|
+
status: JOB_STATUS;
|
|
125
127
|
error: string | null;
|
|
126
128
|
timestamp: string | Date;
|
|
127
129
|
}[];
|
|
130
|
+
userId?: string | null | undefined;
|
|
131
|
+
unregisteredUserId?: string | null | undefined;
|
|
128
132
|
origin: JOB_REQUEST_ORIGIN;
|
|
129
133
|
isDeleted: boolean;
|
|
130
134
|
internalError: string | null;
|
|
131
|
-
|
|
135
|
+
tokenReservationId?: string | null | undefined;
|
|
132
136
|
createdAt?: string | Date | undefined;
|
|
133
137
|
updatedAt?: string | Date | undefined;
|
|
134
|
-
error?: string | null | undefined;
|
|
135
|
-
presetId?: string | null | undefined;
|
|
136
|
-
unregisteredUserId?: string | null | undefined;
|
|
137
|
-
tokenReservationId?: string | null | undefined;
|
|
138
138
|
completedAt?: string | Date | null | undefined;
|
|
139
139
|
}, {
|
|
140
|
-
price: number;
|
|
141
140
|
uuid: string;
|
|
142
|
-
|
|
141
|
+
modelId: string;
|
|
142
|
+
prompt: string;
|
|
143
|
+
title: string;
|
|
143
144
|
params: {
|
|
144
145
|
aspectRatio: string;
|
|
145
|
-
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
146
146
|
attachedFiles?: {
|
|
147
147
|
uuid: string;
|
|
148
|
-
type: import("../..").FILE_TYPE;
|
|
149
|
-
name: string;
|
|
150
148
|
url: string;
|
|
149
|
+
name: string;
|
|
151
150
|
mimeType: string;
|
|
151
|
+
type: import("../..").FILE_TYPE;
|
|
152
152
|
size: number;
|
|
153
153
|
duration?: number | null | undefined;
|
|
154
154
|
}[] | undefined;
|
|
155
155
|
enhancePrompt?: boolean | undefined;
|
|
156
|
+
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
156
157
|
};
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
158
|
+
price: number;
|
|
159
|
+
status: JOB_STATUS;
|
|
160
|
+
error?: string | null | undefined;
|
|
160
161
|
reaction: USER_REACTION | null;
|
|
161
162
|
dislikeReason: string | null;
|
|
162
163
|
externalId: string | null;
|
|
163
164
|
output: string[];
|
|
165
|
+
presetId?: string | null | undefined;
|
|
164
166
|
attempts: {
|
|
165
|
-
status: JOB_STATUS;
|
|
166
167
|
order: number;
|
|
168
|
+
status: JOB_STATUS;
|
|
167
169
|
error: string | null;
|
|
168
170
|
timestamp: string | Date;
|
|
169
171
|
}[];
|
|
172
|
+
userId?: string | null | undefined;
|
|
173
|
+
unregisteredUserId?: string | null | undefined;
|
|
170
174
|
origin: JOB_REQUEST_ORIGIN;
|
|
171
175
|
isDeleted: boolean;
|
|
172
176
|
internalError: string | null;
|
|
173
|
-
|
|
177
|
+
tokenReservationId?: string | null | undefined;
|
|
174
178
|
createdAt?: string | Date | undefined;
|
|
175
179
|
updatedAt?: string | Date | undefined;
|
|
176
|
-
error?: string | null | undefined;
|
|
177
|
-
presetId?: string | null | undefined;
|
|
178
|
-
unregisteredUserId?: string | null | undefined;
|
|
179
|
-
tokenReservationId?: string | null | undefined;
|
|
180
180
|
completedAt?: string | Date | null | undefined;
|
|
181
181
|
}>;
|
|
182
182
|
//# sourceMappingURL=image-generation-job.schema.d.ts.map
|
|
@@ -20,19 +20,19 @@ export declare const ImageGenerationModelParamsSchema: z.ZodObject<{
|
|
|
20
20
|
options: IMAGE_GENERATION_RESOLUTION[];
|
|
21
21
|
}>>;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
|
-
aspectRatio: Record<string, {
|
|
23
|
+
aspectRatio: Record<string, "auto" | {
|
|
24
24
|
width: number;
|
|
25
25
|
height: number;
|
|
26
|
-
}
|
|
26
|
+
}>;
|
|
27
27
|
quality?: string | Record<string, string> | undefined;
|
|
28
28
|
resolution?: {
|
|
29
29
|
options: IMAGE_GENERATION_RESOLUTION[];
|
|
30
30
|
} | undefined;
|
|
31
31
|
}, {
|
|
32
|
-
aspectRatio: Record<string, {
|
|
32
|
+
aspectRatio: Record<string, "auto" | {
|
|
33
33
|
width: number;
|
|
34
34
|
height: number;
|
|
35
|
-
}
|
|
35
|
+
}>;
|
|
36
36
|
quality?: string | Record<string, string> | undefined;
|
|
37
37
|
resolution?: {
|
|
38
38
|
options: IMAGE_GENERATION_RESOLUTION[];
|
|
@@ -31,17 +31,17 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
31
31
|
}>;
|
|
32
32
|
value: z.ZodNumber;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
value: number;
|
|
35
34
|
condition: {
|
|
36
35
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
37
36
|
withoutSub?: boolean | undefined;
|
|
38
37
|
};
|
|
39
|
-
}, {
|
|
40
38
|
value: number;
|
|
39
|
+
}, {
|
|
41
40
|
condition: {
|
|
42
41
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
43
42
|
withoutSub?: boolean | undefined;
|
|
44
43
|
};
|
|
44
|
+
value: number;
|
|
45
45
|
}>, "many">;
|
|
46
46
|
params: z.ZodObject<{
|
|
47
47
|
aspectRatio: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
@@ -63,19 +63,19 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
63
63
|
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
64
64
|
}>>;
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
66
|
-
aspectRatio: Record<string, {
|
|
66
|
+
aspectRatio: Record<string, "auto" | {
|
|
67
67
|
width: number;
|
|
68
68
|
height: number;
|
|
69
|
-
}
|
|
69
|
+
}>;
|
|
70
70
|
quality?: string | Record<string, string> | undefined;
|
|
71
71
|
resolution?: {
|
|
72
72
|
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
73
73
|
} | undefined;
|
|
74
74
|
}, {
|
|
75
|
-
aspectRatio: Record<string, {
|
|
75
|
+
aspectRatio: Record<string, "auto" | {
|
|
76
76
|
width: number;
|
|
77
77
|
height: number;
|
|
78
|
-
}
|
|
78
|
+
}>;
|
|
79
79
|
quality?: string | Record<string, string> | undefined;
|
|
80
80
|
resolution?: {
|
|
81
81
|
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
@@ -132,35 +132,36 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
132
132
|
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
133
133
|
updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
134
134
|
}, "strip", z.ZodTypeAny, {
|
|
135
|
-
price: number;
|
|
136
135
|
uuid: string;
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
} | "auto">;
|
|
143
|
-
quality?: string | Record<string, string> | undefined;
|
|
144
|
-
resolution?: {
|
|
145
|
-
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
146
|
-
} | undefined;
|
|
147
|
-
};
|
|
136
|
+
title: string;
|
|
137
|
+
model: string;
|
|
138
|
+
description: string;
|
|
139
|
+
price: number;
|
|
140
|
+
canUse: boolean;
|
|
148
141
|
unlockedBy: {
|
|
149
142
|
uuid: string;
|
|
150
143
|
name: string;
|
|
151
144
|
} | null;
|
|
152
|
-
canUse: boolean;
|
|
153
|
-
description: string;
|
|
154
|
-
title: string;
|
|
155
|
-
model: string;
|
|
156
145
|
tag: IMAGE_GENERATION_MODEL_TAG | null;
|
|
157
146
|
pricingRules: {
|
|
158
|
-
value: number;
|
|
159
147
|
condition: {
|
|
160
148
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
161
149
|
withoutSub?: boolean | undefined;
|
|
162
150
|
};
|
|
151
|
+
value: number;
|
|
163
152
|
}[];
|
|
153
|
+
params: {
|
|
154
|
+
aspectRatio: Record<string, "auto" | {
|
|
155
|
+
width: number;
|
|
156
|
+
height: number;
|
|
157
|
+
}>;
|
|
158
|
+
quality?: string | Record<string, string> | undefined;
|
|
159
|
+
resolution?: {
|
|
160
|
+
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
161
|
+
} | undefined;
|
|
162
|
+
};
|
|
163
|
+
status: TOOL_MODEL_STATUS;
|
|
164
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
164
165
|
maxPromptLength: number;
|
|
165
166
|
iconVariants: {
|
|
166
167
|
light: {
|
|
@@ -179,37 +180,37 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
179
180
|
vendorId: string;
|
|
180
181
|
createdAt?: string | Date | undefined;
|
|
181
182
|
updatedAt?: string | Date | undefined;
|
|
182
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
183
183
|
}, {
|
|
184
|
-
price: number;
|
|
185
184
|
uuid: string;
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
} | "auto">;
|
|
192
|
-
quality?: string | Record<string, string> | undefined;
|
|
193
|
-
resolution?: {
|
|
194
|
-
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
195
|
-
} | undefined;
|
|
196
|
-
};
|
|
185
|
+
title: string;
|
|
186
|
+
model: string;
|
|
187
|
+
description: string;
|
|
188
|
+
price: number;
|
|
189
|
+
canUse: boolean;
|
|
197
190
|
unlockedBy: {
|
|
198
191
|
uuid: string;
|
|
199
192
|
name: string;
|
|
200
193
|
} | null;
|
|
201
|
-
canUse: boolean;
|
|
202
|
-
description: string;
|
|
203
|
-
title: string;
|
|
204
|
-
model: string;
|
|
205
194
|
tag: IMAGE_GENERATION_MODEL_TAG | null;
|
|
206
195
|
pricingRules: {
|
|
207
|
-
value: number;
|
|
208
196
|
condition: {
|
|
209
197
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
210
198
|
withoutSub?: boolean | undefined;
|
|
211
199
|
};
|
|
200
|
+
value: number;
|
|
212
201
|
}[];
|
|
202
|
+
params: {
|
|
203
|
+
aspectRatio: Record<string, "auto" | {
|
|
204
|
+
width: number;
|
|
205
|
+
height: number;
|
|
206
|
+
}>;
|
|
207
|
+
quality?: string | Record<string, string> | undefined;
|
|
208
|
+
resolution?: {
|
|
209
|
+
options: import("../..").IMAGE_GENERATION_RESOLUTION[];
|
|
210
|
+
} | undefined;
|
|
211
|
+
};
|
|
212
|
+
status: TOOL_MODEL_STATUS;
|
|
213
|
+
statusCheckEndpoint?: string | null | undefined;
|
|
213
214
|
maxPromptLength: number;
|
|
214
215
|
iconVariants: {
|
|
215
216
|
light: {
|
|
@@ -228,6 +229,5 @@ export declare const ImageGenerationModelSchema: z.ZodObject<{
|
|
|
228
229
|
vendorId: string;
|
|
229
230
|
createdAt?: string | Date | undefined;
|
|
230
231
|
updatedAt?: string | Date | undefined;
|
|
231
|
-
statusCheckEndpoint?: string | null | undefined;
|
|
232
232
|
}>;
|
|
233
233
|
//# sourceMappingURL=image-generation-model.schema.d.ts.map
|
|
@@ -7,13 +7,13 @@ export declare const ImageGenerationPresetSchema: z.ZodObject<{
|
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
8
|
uuid: string;
|
|
9
9
|
title: string;
|
|
10
|
-
order: number;
|
|
11
10
|
sample: string;
|
|
11
|
+
order: number;
|
|
12
12
|
}, {
|
|
13
13
|
uuid: string;
|
|
14
14
|
title: string;
|
|
15
|
-
order: number;
|
|
16
15
|
sample: string;
|
|
16
|
+
order: number;
|
|
17
17
|
}>;
|
|
18
18
|
export type ImageGenerationPreset = z.infer<typeof ImageGenerationPresetSchema>;
|
|
19
19
|
//# sourceMappingURL=image-generation-preset.schema.d.ts.map
|
|
@@ -24,17 +24,17 @@ export declare const ImageGenerationPricingRuleSchema: z.ZodObject<{
|
|
|
24
24
|
}>;
|
|
25
25
|
value: z.ZodNumber;
|
|
26
26
|
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
value: number;
|
|
28
27
|
condition: {
|
|
29
28
|
resolution?: IMAGE_GENERATION_RESOLUTION | undefined;
|
|
30
29
|
withoutSub?: boolean | undefined;
|
|
31
30
|
};
|
|
32
|
-
}, {
|
|
33
31
|
value: number;
|
|
32
|
+
}, {
|
|
34
33
|
condition: {
|
|
35
34
|
resolution?: IMAGE_GENERATION_RESOLUTION | undefined;
|
|
36
35
|
withoutSub?: boolean | undefined;
|
|
37
36
|
};
|
|
37
|
+
value: number;
|
|
38
38
|
}>;
|
|
39
39
|
export type ImageGenerationPricingRule = z.infer<typeof ImageGenerationPricingRuleSchema>;
|
|
40
40
|
export declare const ImageGenerationPricingRulesSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -50,17 +50,17 @@ export declare const ImageGenerationPricingRulesSchema: z.ZodArray<z.ZodObject<{
|
|
|
50
50
|
}>;
|
|
51
51
|
value: z.ZodNumber;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
-
value: number;
|
|
54
53
|
condition: {
|
|
55
54
|
resolution?: IMAGE_GENERATION_RESOLUTION | undefined;
|
|
56
55
|
withoutSub?: boolean | undefined;
|
|
57
56
|
};
|
|
58
|
-
}, {
|
|
59
57
|
value: number;
|
|
58
|
+
}, {
|
|
60
59
|
condition: {
|
|
61
60
|
resolution?: IMAGE_GENERATION_RESOLUTION | undefined;
|
|
62
61
|
withoutSub?: boolean | undefined;
|
|
63
62
|
};
|
|
63
|
+
value: number;
|
|
64
64
|
}>, "many">;
|
|
65
65
|
export type ImageGenerationPricingRules = z.infer<typeof ImageGenerationPricingRulesSchema>;
|
|
66
66
|
//# sourceMappingURL=image-generation-pricing-rule.schema.d.ts.map
|