@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
|
@@ -26,18 +26,18 @@ export declare namespace GetImageGenerationJobCommand {
|
|
|
26
26
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
27
27
|
}, "strip", z.ZodTypeAny, {
|
|
28
28
|
uuid: string;
|
|
29
|
-
type: import("../..").FILE_TYPE;
|
|
30
|
-
name: string;
|
|
31
29
|
url: string;
|
|
30
|
+
name: string;
|
|
32
31
|
mimeType: string;
|
|
32
|
+
type: import("../..").FILE_TYPE;
|
|
33
33
|
size: number;
|
|
34
34
|
duration?: number | null | undefined;
|
|
35
35
|
}, {
|
|
36
36
|
uuid: string;
|
|
37
|
-
type: import("../..").FILE_TYPE;
|
|
38
|
-
name: string;
|
|
39
37
|
url: string;
|
|
38
|
+
name: string;
|
|
40
39
|
mimeType: string;
|
|
40
|
+
type: import("../..").FILE_TYPE;
|
|
41
41
|
size: number;
|
|
42
42
|
duration?: number | null | undefined;
|
|
43
43
|
}>, "many">>>;
|
|
@@ -47,10 +47,10 @@ export declare namespace GetImageGenerationJobCommand {
|
|
|
47
47
|
aspectRatio: string;
|
|
48
48
|
attachedFiles: {
|
|
49
49
|
uuid: string;
|
|
50
|
-
type: import("../..").FILE_TYPE;
|
|
51
|
-
name: string;
|
|
52
50
|
url: string;
|
|
51
|
+
name: string;
|
|
53
52
|
mimeType: string;
|
|
53
|
+
type: import("../..").FILE_TYPE;
|
|
54
54
|
size: number;
|
|
55
55
|
duration?: number | null | undefined;
|
|
56
56
|
}[];
|
|
@@ -58,17 +58,17 @@ export declare namespace GetImageGenerationJobCommand {
|
|
|
58
58
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
59
59
|
}, {
|
|
60
60
|
aspectRatio: string;
|
|
61
|
-
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
62
61
|
attachedFiles?: {
|
|
63
62
|
uuid: string;
|
|
64
|
-
type: import("../..").FILE_TYPE;
|
|
65
|
-
name: string;
|
|
66
63
|
url: string;
|
|
64
|
+
name: string;
|
|
67
65
|
mimeType: string;
|
|
66
|
+
type: import("../..").FILE_TYPE;
|
|
68
67
|
size: number;
|
|
69
68
|
duration?: number | null | undefined;
|
|
70
69
|
}[] | undefined;
|
|
71
70
|
enhancePrompt?: boolean | undefined;
|
|
71
|
+
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
72
72
|
}>;
|
|
73
73
|
price: z.ZodNumber;
|
|
74
74
|
status: z.ZodNativeEnum<typeof import("../..").JOB_STATUS>;
|
|
@@ -84,13 +84,13 @@ export declare namespace GetImageGenerationJobCommand {
|
|
|
84
84
|
error: z.ZodNullable<z.ZodString>;
|
|
85
85
|
timestamp: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
86
86
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
-
status: import("../..").JOB_STATUS;
|
|
88
87
|
order: number;
|
|
88
|
+
status: import("../..").JOB_STATUS;
|
|
89
89
|
error: string | null;
|
|
90
90
|
timestamp: string | Date;
|
|
91
91
|
}, {
|
|
92
|
-
status: import("../..").JOB_STATUS;
|
|
93
92
|
order: number;
|
|
93
|
+
status: import("../..").JOB_STATUS;
|
|
94
94
|
error: string | null;
|
|
95
95
|
timestamp: string | Date;
|
|
96
96
|
}>, "many">;
|
|
@@ -104,176 +104,176 @@ export declare namespace GetImageGenerationJobCommand {
|
|
|
104
104
|
updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
105
105
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
|
|
106
106
|
}, "strip", z.ZodTypeAny, {
|
|
107
|
-
price: number;
|
|
108
107
|
uuid: string;
|
|
109
|
-
|
|
108
|
+
modelId: string;
|
|
109
|
+
prompt: string;
|
|
110
|
+
title: string;
|
|
110
111
|
params: {
|
|
111
112
|
aspectRatio: string;
|
|
112
113
|
attachedFiles: {
|
|
113
114
|
uuid: string;
|
|
114
|
-
type: import("../..").FILE_TYPE;
|
|
115
|
-
name: string;
|
|
116
115
|
url: string;
|
|
116
|
+
name: string;
|
|
117
117
|
mimeType: string;
|
|
118
|
+
type: import("../..").FILE_TYPE;
|
|
118
119
|
size: number;
|
|
119
120
|
duration?: number | null | undefined;
|
|
120
121
|
}[];
|
|
121
122
|
enhancePrompt: boolean;
|
|
122
123
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
123
124
|
};
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
price: number;
|
|
126
|
+
status: import("../..").JOB_STATUS;
|
|
127
|
+
error?: string | null | undefined;
|
|
127
128
|
reaction: import("../..").USER_REACTION | null;
|
|
128
129
|
dislikeReason: string | null;
|
|
129
130
|
externalId: string | null;
|
|
130
131
|
output: string[];
|
|
132
|
+
presetId?: string | null | undefined;
|
|
131
133
|
attempts: {
|
|
132
|
-
status: import("../..").JOB_STATUS;
|
|
133
134
|
order: number;
|
|
135
|
+
status: import("../..").JOB_STATUS;
|
|
134
136
|
error: string | null;
|
|
135
137
|
timestamp: string | Date;
|
|
136
138
|
}[];
|
|
139
|
+
userId?: string | null | undefined;
|
|
140
|
+
unregisteredUserId?: string | null | undefined;
|
|
137
141
|
origin: import("../..").JOB_REQUEST_ORIGIN;
|
|
138
142
|
isDeleted: boolean;
|
|
139
143
|
internalError: string | null;
|
|
140
|
-
|
|
144
|
+
tokenReservationId?: string | null | undefined;
|
|
141
145
|
createdAt?: string | Date | undefined;
|
|
142
146
|
updatedAt?: string | Date | undefined;
|
|
143
|
-
error?: string | null | undefined;
|
|
144
|
-
presetId?: string | null | undefined;
|
|
145
|
-
unregisteredUserId?: string | null | undefined;
|
|
146
|
-
tokenReservationId?: string | null | undefined;
|
|
147
147
|
completedAt?: string | Date | null | undefined;
|
|
148
148
|
}, {
|
|
149
|
-
price: number;
|
|
150
149
|
uuid: string;
|
|
151
|
-
|
|
150
|
+
modelId: string;
|
|
151
|
+
prompt: string;
|
|
152
|
+
title: string;
|
|
152
153
|
params: {
|
|
153
154
|
aspectRatio: string;
|
|
154
|
-
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
155
155
|
attachedFiles?: {
|
|
156
156
|
uuid: string;
|
|
157
|
-
type: import("../..").FILE_TYPE;
|
|
158
|
-
name: string;
|
|
159
157
|
url: string;
|
|
158
|
+
name: string;
|
|
160
159
|
mimeType: string;
|
|
160
|
+
type: import("../..").FILE_TYPE;
|
|
161
161
|
size: number;
|
|
162
162
|
duration?: number | null | undefined;
|
|
163
163
|
}[] | undefined;
|
|
164
164
|
enhancePrompt?: boolean | undefined;
|
|
165
|
+
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
165
166
|
};
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
167
|
+
price: number;
|
|
168
|
+
status: import("../..").JOB_STATUS;
|
|
169
|
+
error?: string | null | undefined;
|
|
169
170
|
reaction: import("../..").USER_REACTION | null;
|
|
170
171
|
dislikeReason: string | null;
|
|
171
172
|
externalId: string | null;
|
|
172
173
|
output: string[];
|
|
174
|
+
presetId?: string | null | undefined;
|
|
173
175
|
attempts: {
|
|
174
|
-
status: import("../..").JOB_STATUS;
|
|
175
176
|
order: number;
|
|
177
|
+
status: import("../..").JOB_STATUS;
|
|
176
178
|
error: string | null;
|
|
177
179
|
timestamp: string | Date;
|
|
178
180
|
}[];
|
|
181
|
+
userId?: string | null | undefined;
|
|
182
|
+
unregisteredUserId?: string | null | undefined;
|
|
179
183
|
origin: import("../..").JOB_REQUEST_ORIGIN;
|
|
180
184
|
isDeleted: boolean;
|
|
181
185
|
internalError: string | null;
|
|
182
|
-
|
|
186
|
+
tokenReservationId?: string | null | undefined;
|
|
183
187
|
createdAt?: string | Date | undefined;
|
|
184
188
|
updatedAt?: string | Date | undefined;
|
|
185
|
-
error?: string | null | undefined;
|
|
186
|
-
presetId?: string | null | undefined;
|
|
187
|
-
unregisteredUserId?: string | null | undefined;
|
|
188
|
-
tokenReservationId?: string | null | undefined;
|
|
189
189
|
completedAt?: string | Date | null | undefined;
|
|
190
190
|
}>;
|
|
191
191
|
}, "strip", z.ZodTypeAny, {
|
|
192
192
|
data: {
|
|
193
|
-
price: number;
|
|
194
193
|
uuid: string;
|
|
195
|
-
|
|
194
|
+
modelId: string;
|
|
195
|
+
prompt: string;
|
|
196
|
+
title: string;
|
|
196
197
|
params: {
|
|
197
198
|
aspectRatio: string;
|
|
198
199
|
attachedFiles: {
|
|
199
200
|
uuid: string;
|
|
200
|
-
type: import("../..").FILE_TYPE;
|
|
201
|
-
name: string;
|
|
202
201
|
url: string;
|
|
202
|
+
name: string;
|
|
203
203
|
mimeType: string;
|
|
204
|
+
type: import("../..").FILE_TYPE;
|
|
204
205
|
size: number;
|
|
205
206
|
duration?: number | null | undefined;
|
|
206
207
|
}[];
|
|
207
208
|
enhancePrompt: boolean;
|
|
208
209
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
209
210
|
};
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
price: number;
|
|
212
|
+
status: import("../..").JOB_STATUS;
|
|
213
|
+
error?: string | null | undefined;
|
|
213
214
|
reaction: import("../..").USER_REACTION | null;
|
|
214
215
|
dislikeReason: string | null;
|
|
215
216
|
externalId: string | null;
|
|
216
217
|
output: string[];
|
|
218
|
+
presetId?: string | null | undefined;
|
|
217
219
|
attempts: {
|
|
218
|
-
status: import("../..").JOB_STATUS;
|
|
219
220
|
order: number;
|
|
221
|
+
status: import("../..").JOB_STATUS;
|
|
220
222
|
error: string | null;
|
|
221
223
|
timestamp: string | Date;
|
|
222
224
|
}[];
|
|
225
|
+
userId?: string | null | undefined;
|
|
226
|
+
unregisteredUserId?: string | null | undefined;
|
|
223
227
|
origin: import("../..").JOB_REQUEST_ORIGIN;
|
|
224
228
|
isDeleted: boolean;
|
|
225
229
|
internalError: string | null;
|
|
226
|
-
|
|
230
|
+
tokenReservationId?: string | null | undefined;
|
|
227
231
|
createdAt?: string | Date | undefined;
|
|
228
232
|
updatedAt?: string | Date | undefined;
|
|
229
|
-
error?: string | null | undefined;
|
|
230
|
-
presetId?: string | null | undefined;
|
|
231
|
-
unregisteredUserId?: string | null | undefined;
|
|
232
|
-
tokenReservationId?: string | null | undefined;
|
|
233
233
|
completedAt?: string | Date | null | undefined;
|
|
234
234
|
};
|
|
235
235
|
}, {
|
|
236
236
|
data: {
|
|
237
|
-
price: number;
|
|
238
237
|
uuid: string;
|
|
239
|
-
|
|
238
|
+
modelId: string;
|
|
239
|
+
prompt: string;
|
|
240
|
+
title: string;
|
|
240
241
|
params: {
|
|
241
242
|
aspectRatio: string;
|
|
242
|
-
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
243
243
|
attachedFiles?: {
|
|
244
244
|
uuid: string;
|
|
245
|
-
type: import("../..").FILE_TYPE;
|
|
246
|
-
name: string;
|
|
247
245
|
url: string;
|
|
246
|
+
name: string;
|
|
248
247
|
mimeType: string;
|
|
248
|
+
type: import("../..").FILE_TYPE;
|
|
249
249
|
size: number;
|
|
250
250
|
duration?: number | null | undefined;
|
|
251
251
|
}[] | undefined;
|
|
252
252
|
enhancePrompt?: boolean | undefined;
|
|
253
|
+
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
253
254
|
};
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
255
|
+
price: number;
|
|
256
|
+
status: import("../..").JOB_STATUS;
|
|
257
|
+
error?: string | null | undefined;
|
|
257
258
|
reaction: import("../..").USER_REACTION | null;
|
|
258
259
|
dislikeReason: string | null;
|
|
259
260
|
externalId: string | null;
|
|
260
261
|
output: string[];
|
|
262
|
+
presetId?: string | null | undefined;
|
|
261
263
|
attempts: {
|
|
262
|
-
status: import("../..").JOB_STATUS;
|
|
263
264
|
order: number;
|
|
265
|
+
status: import("../..").JOB_STATUS;
|
|
264
266
|
error: string | null;
|
|
265
267
|
timestamp: string | Date;
|
|
266
268
|
}[];
|
|
269
|
+
userId?: string | null | undefined;
|
|
270
|
+
unregisteredUserId?: string | null | undefined;
|
|
267
271
|
origin: import("../..").JOB_REQUEST_ORIGIN;
|
|
268
272
|
isDeleted: boolean;
|
|
269
273
|
internalError: string | null;
|
|
270
|
-
|
|
274
|
+
tokenReservationId?: string | null | undefined;
|
|
271
275
|
createdAt?: string | Date | undefined;
|
|
272
276
|
updatedAt?: string | Date | undefined;
|
|
273
|
-
error?: string | null | undefined;
|
|
274
|
-
presetId?: string | null | undefined;
|
|
275
|
-
unregisteredUserId?: string | null | undefined;
|
|
276
|
-
tokenReservationId?: string | null | undefined;
|
|
277
277
|
completedAt?: string | Date | null | undefined;
|
|
278
278
|
};
|
|
279
279
|
}>;
|
|
@@ -9,9 +9,9 @@ export declare namespace FindMarketplaceCardJobsCommand {
|
|
|
9
9
|
offset: number;
|
|
10
10
|
title?: string | undefined;
|
|
11
11
|
}, {
|
|
12
|
-
title?: string | undefined;
|
|
13
12
|
limit?: number | undefined;
|
|
14
13
|
offset?: number | undefined;
|
|
14
|
+
title?: string | undefined;
|
|
15
15
|
}>;
|
|
16
16
|
type RequestQuery = z.infer<typeof RequestQuerySchema>;
|
|
17
17
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -43,13 +43,12 @@ export declare namespace FindMarketplaceCardJobsCommand {
|
|
|
43
43
|
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
44
44
|
updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
45
45
|
}, "strip", z.ZodTypeAny, {
|
|
46
|
-
price: number;
|
|
47
46
|
uuid: string;
|
|
48
47
|
status: import("../..").JOB_STATUS;
|
|
49
|
-
title: string;
|
|
50
48
|
error: string | null;
|
|
51
|
-
|
|
49
|
+
title: string;
|
|
52
50
|
subtitle: string | null;
|
|
51
|
+
reaction: import("../..").USER_REACTION | null;
|
|
53
52
|
advantages: string[];
|
|
54
53
|
tags: string[];
|
|
55
54
|
stylePresetId: string | null;
|
|
@@ -59,18 +58,18 @@ export declare namespace FindMarketplaceCardJobsCommand {
|
|
|
59
58
|
uuid: string;
|
|
60
59
|
url: string;
|
|
61
60
|
}[];
|
|
62
|
-
backgroundDescription: string | null;
|
|
63
61
|
resultImages: string[] | null;
|
|
62
|
+
backgroundDescription: string | null;
|
|
63
|
+
price: number;
|
|
64
64
|
createdAt?: string | Date | undefined;
|
|
65
65
|
updatedAt?: string | Date | undefined;
|
|
66
66
|
}, {
|
|
67
|
-
price: number;
|
|
68
67
|
uuid: string;
|
|
69
68
|
status: import("../..").JOB_STATUS;
|
|
70
|
-
title: string;
|
|
71
69
|
error: string | null;
|
|
72
|
-
|
|
70
|
+
title: string;
|
|
73
71
|
subtitle: string | null;
|
|
72
|
+
reaction: import("../..").USER_REACTION | null;
|
|
74
73
|
advantages: string[];
|
|
75
74
|
tags: string[];
|
|
76
75
|
stylePresetId: string | null;
|
|
@@ -80,8 +79,9 @@ export declare namespace FindMarketplaceCardJobsCommand {
|
|
|
80
79
|
uuid: string;
|
|
81
80
|
url: string;
|
|
82
81
|
}[];
|
|
83
|
-
backgroundDescription: string | null;
|
|
84
82
|
resultImages: string[] | null;
|
|
83
|
+
backgroundDescription: string | null;
|
|
84
|
+
price: number;
|
|
85
85
|
createdAt?: string | Date | undefined;
|
|
86
86
|
updatedAt?: string | Date | undefined;
|
|
87
87
|
}>, "many">;
|
|
@@ -100,13 +100,12 @@ export declare namespace FindMarketplaceCardJobsCommand {
|
|
|
100
100
|
}>;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
102
|
data: {
|
|
103
|
-
price: number;
|
|
104
103
|
uuid: string;
|
|
105
104
|
status: import("../..").JOB_STATUS;
|
|
106
|
-
title: string;
|
|
107
105
|
error: string | null;
|
|
108
|
-
|
|
106
|
+
title: string;
|
|
109
107
|
subtitle: string | null;
|
|
108
|
+
reaction: import("../..").USER_REACTION | null;
|
|
110
109
|
advantages: string[];
|
|
111
110
|
tags: string[];
|
|
112
111
|
stylePresetId: string | null;
|
|
@@ -116,8 +115,9 @@ export declare namespace FindMarketplaceCardJobsCommand {
|
|
|
116
115
|
uuid: string;
|
|
117
116
|
url: string;
|
|
118
117
|
}[];
|
|
119
|
-
backgroundDescription: string | null;
|
|
120
118
|
resultImages: string[] | null;
|
|
119
|
+
backgroundDescription: string | null;
|
|
120
|
+
price: number;
|
|
121
121
|
createdAt?: string | Date | undefined;
|
|
122
122
|
updatedAt?: string | Date | undefined;
|
|
123
123
|
}[];
|
|
@@ -128,13 +128,12 @@ export declare namespace FindMarketplaceCardJobsCommand {
|
|
|
128
128
|
};
|
|
129
129
|
}, {
|
|
130
130
|
data: {
|
|
131
|
-
price: number;
|
|
132
131
|
uuid: string;
|
|
133
132
|
status: import("../..").JOB_STATUS;
|
|
134
|
-
title: string;
|
|
135
133
|
error: string | null;
|
|
136
|
-
|
|
134
|
+
title: string;
|
|
137
135
|
subtitle: string | null;
|
|
136
|
+
reaction: import("../..").USER_REACTION | null;
|
|
138
137
|
advantages: string[];
|
|
139
138
|
tags: string[];
|
|
140
139
|
stylePresetId: string | null;
|
|
@@ -144,8 +143,9 @@ export declare namespace FindMarketplaceCardJobsCommand {
|
|
|
144
143
|
uuid: string;
|
|
145
144
|
url: string;
|
|
146
145
|
}[];
|
|
147
|
-
backgroundDescription: string | null;
|
|
148
146
|
resultImages: string[] | null;
|
|
147
|
+
backgroundDescription: string | null;
|
|
148
|
+
price: number;
|
|
149
149
|
createdAt?: string | Date | undefined;
|
|
150
150
|
updatedAt?: string | Date | undefined;
|
|
151
151
|
}[];
|
|
@@ -9,13 +9,13 @@ export declare namespace GetMarketplaceCardConfigCommand {
|
|
|
9
9
|
isActive: z.ZodBoolean;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
11
|
uuid: string;
|
|
12
|
-
order: number;
|
|
13
12
|
previewImageUrl: string;
|
|
13
|
+
order: number;
|
|
14
14
|
isActive: boolean;
|
|
15
15
|
}, {
|
|
16
16
|
uuid: string;
|
|
17
|
-
order: number;
|
|
18
17
|
previewImageUrl: string;
|
|
18
|
+
order: number;
|
|
19
19
|
isActive: boolean;
|
|
20
20
|
}>, "many">;
|
|
21
21
|
models: z.ZodArray<z.ZodObject<{
|
|
@@ -92,8 +92,8 @@ export declare namespace GetMarketplaceCardConfigCommand {
|
|
|
92
92
|
supportsImageAttachment: z.ZodBoolean;
|
|
93
93
|
maxAttachedImages: z.ZodNumber;
|
|
94
94
|
}, "strip", z.ZodTypeAny, {
|
|
95
|
-
price: number;
|
|
96
95
|
uuid: string;
|
|
96
|
+
price: number;
|
|
97
97
|
params: {
|
|
98
98
|
imageAttachment: {
|
|
99
99
|
supported: boolean;
|
|
@@ -101,7 +101,6 @@ export declare namespace GetMarketplaceCardConfigCommand {
|
|
|
101
101
|
acceptedTypes: string[];
|
|
102
102
|
};
|
|
103
103
|
};
|
|
104
|
-
maxPromptLength: number;
|
|
105
104
|
iconVariants: {
|
|
106
105
|
light: {
|
|
107
106
|
png?: string | undefined;
|
|
@@ -112,11 +111,12 @@ export declare namespace GetMarketplaceCardConfigCommand {
|
|
|
112
111
|
svg?: string | undefined;
|
|
113
112
|
};
|
|
114
113
|
};
|
|
114
|
+
maxPromptLength: number;
|
|
115
115
|
supportsImageAttachment: boolean;
|
|
116
116
|
maxAttachedImages: number;
|
|
117
117
|
}, {
|
|
118
|
-
price: number;
|
|
119
118
|
uuid: string;
|
|
119
|
+
price: number;
|
|
120
120
|
params: {
|
|
121
121
|
imageAttachment: {
|
|
122
122
|
supported: boolean;
|
|
@@ -124,7 +124,6 @@ export declare namespace GetMarketplaceCardConfigCommand {
|
|
|
124
124
|
acceptedTypes: string[];
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
|
-
maxPromptLength: number;
|
|
128
127
|
iconVariants: {
|
|
129
128
|
light: {
|
|
130
129
|
png?: string | undefined;
|
|
@@ -135,13 +134,20 @@ export declare namespace GetMarketplaceCardConfigCommand {
|
|
|
135
134
|
svg?: string | undefined;
|
|
136
135
|
};
|
|
137
136
|
};
|
|
137
|
+
maxPromptLength: number;
|
|
138
138
|
supportsImageAttachment: boolean;
|
|
139
139
|
maxAttachedImages: number;
|
|
140
140
|
}>, "many">;
|
|
141
141
|
}, "strip", z.ZodTypeAny, {
|
|
142
|
+
styles: {
|
|
143
|
+
uuid: string;
|
|
144
|
+
previewImageUrl: string;
|
|
145
|
+
order: number;
|
|
146
|
+
isActive: boolean;
|
|
147
|
+
}[];
|
|
142
148
|
models: {
|
|
143
|
-
price: number;
|
|
144
149
|
uuid: string;
|
|
150
|
+
price: number;
|
|
145
151
|
params: {
|
|
146
152
|
imageAttachment: {
|
|
147
153
|
supported: boolean;
|
|
@@ -149,7 +155,6 @@ export declare namespace GetMarketplaceCardConfigCommand {
|
|
|
149
155
|
acceptedTypes: string[];
|
|
150
156
|
};
|
|
151
157
|
};
|
|
152
|
-
maxPromptLength: number;
|
|
153
158
|
iconVariants: {
|
|
154
159
|
light: {
|
|
155
160
|
png?: string | undefined;
|
|
@@ -160,19 +165,20 @@ export declare namespace GetMarketplaceCardConfigCommand {
|
|
|
160
165
|
svg?: string | undefined;
|
|
161
166
|
};
|
|
162
167
|
};
|
|
168
|
+
maxPromptLength: number;
|
|
163
169
|
supportsImageAttachment: boolean;
|
|
164
170
|
maxAttachedImages: number;
|
|
165
171
|
}[];
|
|
172
|
+
}, {
|
|
166
173
|
styles: {
|
|
167
174
|
uuid: string;
|
|
168
|
-
order: number;
|
|
169
175
|
previewImageUrl: string;
|
|
176
|
+
order: number;
|
|
170
177
|
isActive: boolean;
|
|
171
178
|
}[];
|
|
172
|
-
}, {
|
|
173
179
|
models: {
|
|
174
|
-
price: number;
|
|
175
180
|
uuid: string;
|
|
181
|
+
price: number;
|
|
176
182
|
params: {
|
|
177
183
|
imageAttachment: {
|
|
178
184
|
supported: boolean;
|
|
@@ -180,7 +186,6 @@ export declare namespace GetMarketplaceCardConfigCommand {
|
|
|
180
186
|
acceptedTypes: string[];
|
|
181
187
|
};
|
|
182
188
|
};
|
|
183
|
-
maxPromptLength: number;
|
|
184
189
|
iconVariants: {
|
|
185
190
|
light: {
|
|
186
191
|
png?: string | undefined;
|
|
@@ -191,21 +196,22 @@ export declare namespace GetMarketplaceCardConfigCommand {
|
|
|
191
196
|
svg?: string | undefined;
|
|
192
197
|
};
|
|
193
198
|
};
|
|
199
|
+
maxPromptLength: number;
|
|
194
200
|
supportsImageAttachment: boolean;
|
|
195
201
|
maxAttachedImages: number;
|
|
196
202
|
}[];
|
|
203
|
+
}>;
|
|
204
|
+
}, "strip", z.ZodTypeAny, {
|
|
205
|
+
data: {
|
|
197
206
|
styles: {
|
|
198
207
|
uuid: string;
|
|
199
|
-
order: number;
|
|
200
208
|
previewImageUrl: string;
|
|
209
|
+
order: number;
|
|
201
210
|
isActive: boolean;
|
|
202
211
|
}[];
|
|
203
|
-
}>;
|
|
204
|
-
}, "strip", z.ZodTypeAny, {
|
|
205
|
-
data: {
|
|
206
212
|
models: {
|
|
207
|
-
price: number;
|
|
208
213
|
uuid: string;
|
|
214
|
+
price: number;
|
|
209
215
|
params: {
|
|
210
216
|
imageAttachment: {
|
|
211
217
|
supported: boolean;
|
|
@@ -213,7 +219,6 @@ export declare namespace GetMarketplaceCardConfigCommand {
|
|
|
213
219
|
acceptedTypes: string[];
|
|
214
220
|
};
|
|
215
221
|
};
|
|
216
|
-
maxPromptLength: number;
|
|
217
222
|
iconVariants: {
|
|
218
223
|
light: {
|
|
219
224
|
png?: string | undefined;
|
|
@@ -224,21 +229,22 @@ export declare namespace GetMarketplaceCardConfigCommand {
|
|
|
224
229
|
svg?: string | undefined;
|
|
225
230
|
};
|
|
226
231
|
};
|
|
232
|
+
maxPromptLength: number;
|
|
227
233
|
supportsImageAttachment: boolean;
|
|
228
234
|
maxAttachedImages: number;
|
|
229
235
|
}[];
|
|
236
|
+
};
|
|
237
|
+
}, {
|
|
238
|
+
data: {
|
|
230
239
|
styles: {
|
|
231
240
|
uuid: string;
|
|
232
|
-
order: number;
|
|
233
241
|
previewImageUrl: string;
|
|
242
|
+
order: number;
|
|
234
243
|
isActive: boolean;
|
|
235
244
|
}[];
|
|
236
|
-
};
|
|
237
|
-
}, {
|
|
238
|
-
data: {
|
|
239
245
|
models: {
|
|
240
|
-
price: number;
|
|
241
246
|
uuid: string;
|
|
247
|
+
price: number;
|
|
242
248
|
params: {
|
|
243
249
|
imageAttachment: {
|
|
244
250
|
supported: boolean;
|
|
@@ -246,7 +252,6 @@ export declare namespace GetMarketplaceCardConfigCommand {
|
|
|
246
252
|
acceptedTypes: string[];
|
|
247
253
|
};
|
|
248
254
|
};
|
|
249
|
-
maxPromptLength: number;
|
|
250
255
|
iconVariants: {
|
|
251
256
|
light: {
|
|
252
257
|
png?: string | undefined;
|
|
@@ -257,15 +262,10 @@ export declare namespace GetMarketplaceCardConfigCommand {
|
|
|
257
262
|
svg?: string | undefined;
|
|
258
263
|
};
|
|
259
264
|
};
|
|
265
|
+
maxPromptLength: number;
|
|
260
266
|
supportsImageAttachment: boolean;
|
|
261
267
|
maxAttachedImages: number;
|
|
262
268
|
}[];
|
|
263
|
-
styles: {
|
|
264
|
-
uuid: string;
|
|
265
|
-
order: number;
|
|
266
|
-
previewImageUrl: string;
|
|
267
|
-
isActive: boolean;
|
|
268
|
-
}[];
|
|
269
269
|
};
|
|
270
270
|
}>;
|
|
271
271
|
type Response = z.infer<typeof ResponseSchema>;
|