@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
|
@@ -36,18 +36,18 @@ export declare namespace SetReactionToImageEditorJobCommand {
|
|
|
36
36
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
38
|
uuid: string;
|
|
39
|
-
type: import("../..").FILE_TYPE;
|
|
40
|
-
name: string;
|
|
41
39
|
url: string;
|
|
40
|
+
name: string;
|
|
42
41
|
mimeType: string;
|
|
42
|
+
type: import("../..").FILE_TYPE;
|
|
43
43
|
size: number;
|
|
44
44
|
duration?: number | null | undefined;
|
|
45
45
|
}, {
|
|
46
46
|
uuid: string;
|
|
47
|
-
type: import("../..").FILE_TYPE;
|
|
48
|
-
name: string;
|
|
49
47
|
url: string;
|
|
48
|
+
name: string;
|
|
50
49
|
mimeType: string;
|
|
50
|
+
type: import("../..").FILE_TYPE;
|
|
51
51
|
size: number;
|
|
52
52
|
duration?: number | null | undefined;
|
|
53
53
|
}>, "many">>;
|
|
@@ -56,32 +56,32 @@ export declare namespace SetReactionToImageEditorJobCommand {
|
|
|
56
56
|
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
57
57
|
userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
|
|
58
58
|
}, "strip", z.ZodTypeAny, {
|
|
59
|
-
aspectRatio?: string | undefined;
|
|
60
59
|
attachedFiles?: {
|
|
61
60
|
uuid: string;
|
|
62
|
-
type: import("../..").FILE_TYPE;
|
|
63
|
-
name: string;
|
|
64
61
|
url: string;
|
|
62
|
+
name: string;
|
|
65
63
|
mimeType: string;
|
|
64
|
+
type: import("../..").FILE_TYPE;
|
|
66
65
|
size: number;
|
|
67
66
|
duration?: number | null | undefined;
|
|
68
67
|
}[] | undefined;
|
|
69
68
|
imageUrls?: string[] | undefined;
|
|
70
69
|
systemPromptId?: string | undefined;
|
|
70
|
+
aspectRatio?: string | undefined;
|
|
71
71
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
72
72
|
}, {
|
|
73
|
-
aspectRatio?: string | undefined;
|
|
74
73
|
attachedFiles?: {
|
|
75
74
|
uuid: string;
|
|
76
|
-
type: import("../..").FILE_TYPE;
|
|
77
|
-
name: string;
|
|
78
75
|
url: string;
|
|
76
|
+
name: string;
|
|
79
77
|
mimeType: string;
|
|
78
|
+
type: import("../..").FILE_TYPE;
|
|
80
79
|
size: number;
|
|
81
80
|
duration?: number | null | undefined;
|
|
82
81
|
}[] | undefined;
|
|
83
82
|
imageUrls?: string[] | undefined;
|
|
84
83
|
systemPromptId?: string | undefined;
|
|
84
|
+
aspectRatio?: string | undefined;
|
|
85
85
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
86
86
|
}>;
|
|
87
87
|
imageUrls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -95,157 +95,157 @@ export declare namespace SetReactionToImageEditorJobCommand {
|
|
|
95
95
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
|
|
96
96
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
|
-
price: number;
|
|
99
98
|
uuid: string;
|
|
99
|
+
prompt: string;
|
|
100
|
+
reaction: USER_REACTION | null;
|
|
101
|
+
dislikeReason: string | null;
|
|
102
|
+
externalId: string | null;
|
|
103
|
+
title: string;
|
|
100
104
|
status: import("../..").JOB_STATUS;
|
|
105
|
+
error: string | null;
|
|
106
|
+
internalError?: string | null | undefined;
|
|
107
|
+
modelId: string;
|
|
108
|
+
price: number;
|
|
101
109
|
params: {
|
|
102
|
-
aspectRatio?: string | undefined;
|
|
103
110
|
attachedFiles?: {
|
|
104
111
|
uuid: string;
|
|
105
|
-
type: import("../..").FILE_TYPE;
|
|
106
|
-
name: string;
|
|
107
112
|
url: string;
|
|
113
|
+
name: string;
|
|
108
114
|
mimeType: string;
|
|
115
|
+
type: import("../..").FILE_TYPE;
|
|
109
116
|
size: number;
|
|
110
117
|
duration?: number | null | undefined;
|
|
111
118
|
}[] | undefined;
|
|
112
119
|
imageUrls?: string[] | undefined;
|
|
113
120
|
systemPromptId?: string | undefined;
|
|
121
|
+
aspectRatio?: string | undefined;
|
|
114
122
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
115
123
|
};
|
|
116
|
-
createdAt: string | Date;
|
|
117
|
-
updatedAt: string | Date;
|
|
118
|
-
title: string;
|
|
119
|
-
error: string | null;
|
|
120
|
-
modelId: string;
|
|
121
|
-
prompt: string;
|
|
122
|
-
reaction: USER_REACTION | null;
|
|
123
|
-
dislikeReason: string | null;
|
|
124
|
-
externalId: string | null;
|
|
125
|
-
attempts: any[];
|
|
126
|
-
isDeleted: boolean;
|
|
127
124
|
imageUrls: string[];
|
|
128
|
-
|
|
125
|
+
attempts: any[];
|
|
129
126
|
userId?: string | null | undefined;
|
|
130
127
|
unregisteredUserId?: string | null | undefined;
|
|
131
|
-
|
|
128
|
+
postId: string | null;
|
|
129
|
+
isDeleted: boolean;
|
|
132
130
|
tokenReservationId?: string | null | undefined;
|
|
131
|
+
createdAt: string | Date;
|
|
133
132
|
completedAt?: string | Date | null | undefined;
|
|
133
|
+
updatedAt: string | Date;
|
|
134
134
|
}, {
|
|
135
|
-
price: number;
|
|
136
135
|
uuid: string;
|
|
136
|
+
prompt: string;
|
|
137
|
+
reaction: USER_REACTION | null;
|
|
138
|
+
dislikeReason: string | null;
|
|
139
|
+
externalId: string | null;
|
|
140
|
+
title: string;
|
|
137
141
|
status: import("../..").JOB_STATUS;
|
|
142
|
+
error: string | null;
|
|
143
|
+
internalError?: string | null | undefined;
|
|
144
|
+
modelId: string;
|
|
145
|
+
price: number;
|
|
138
146
|
params: {
|
|
139
|
-
aspectRatio?: string | undefined;
|
|
140
147
|
attachedFiles?: {
|
|
141
148
|
uuid: string;
|
|
142
|
-
type: import("../..").FILE_TYPE;
|
|
143
|
-
name: string;
|
|
144
149
|
url: string;
|
|
150
|
+
name: string;
|
|
145
151
|
mimeType: string;
|
|
152
|
+
type: import("../..").FILE_TYPE;
|
|
146
153
|
size: number;
|
|
147
154
|
duration?: number | null | undefined;
|
|
148
155
|
}[] | undefined;
|
|
149
156
|
imageUrls?: string[] | undefined;
|
|
150
157
|
systemPromptId?: string | undefined;
|
|
158
|
+
aspectRatio?: string | undefined;
|
|
151
159
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
152
160
|
};
|
|
153
|
-
|
|
154
|
-
updatedAt: string | Date;
|
|
155
|
-
title: string;
|
|
156
|
-
error: string | null;
|
|
157
|
-
modelId: string;
|
|
158
|
-
prompt: string;
|
|
159
|
-
reaction: USER_REACTION | null;
|
|
160
|
-
dislikeReason: string | null;
|
|
161
|
-
externalId: string | null;
|
|
161
|
+
imageUrls?: string[] | undefined;
|
|
162
162
|
attempts: any[];
|
|
163
|
-
isDeleted: boolean;
|
|
164
|
-
postId: string | null;
|
|
165
163
|
userId?: string | null | undefined;
|
|
166
164
|
unregisteredUserId?: string | null | undefined;
|
|
167
|
-
|
|
165
|
+
postId: string | null;
|
|
166
|
+
isDeleted: boolean;
|
|
168
167
|
tokenReservationId?: string | null | undefined;
|
|
168
|
+
createdAt: string | Date;
|
|
169
169
|
completedAt?: string | Date | null | undefined;
|
|
170
|
-
|
|
170
|
+
updatedAt: string | Date;
|
|
171
171
|
}>;
|
|
172
172
|
}, "strip", z.ZodTypeAny, {
|
|
173
173
|
data: {
|
|
174
|
-
price: number;
|
|
175
174
|
uuid: string;
|
|
175
|
+
prompt: string;
|
|
176
|
+
reaction: USER_REACTION | null;
|
|
177
|
+
dislikeReason: string | null;
|
|
178
|
+
externalId: string | null;
|
|
179
|
+
title: string;
|
|
176
180
|
status: import("../..").JOB_STATUS;
|
|
181
|
+
error: string | null;
|
|
182
|
+
internalError?: string | null | undefined;
|
|
183
|
+
modelId: string;
|
|
184
|
+
price: number;
|
|
177
185
|
params: {
|
|
178
|
-
aspectRatio?: string | undefined;
|
|
179
186
|
attachedFiles?: {
|
|
180
187
|
uuid: string;
|
|
181
|
-
type: import("../..").FILE_TYPE;
|
|
182
|
-
name: string;
|
|
183
188
|
url: string;
|
|
189
|
+
name: string;
|
|
184
190
|
mimeType: string;
|
|
191
|
+
type: import("../..").FILE_TYPE;
|
|
185
192
|
size: number;
|
|
186
193
|
duration?: number | null | undefined;
|
|
187
194
|
}[] | undefined;
|
|
188
195
|
imageUrls?: string[] | undefined;
|
|
189
196
|
systemPromptId?: string | undefined;
|
|
197
|
+
aspectRatio?: string | undefined;
|
|
190
198
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
191
199
|
};
|
|
192
|
-
createdAt: string | Date;
|
|
193
|
-
updatedAt: string | Date;
|
|
194
|
-
title: string;
|
|
195
|
-
error: string | null;
|
|
196
|
-
modelId: string;
|
|
197
|
-
prompt: string;
|
|
198
|
-
reaction: USER_REACTION | null;
|
|
199
|
-
dislikeReason: string | null;
|
|
200
|
-
externalId: string | null;
|
|
201
|
-
attempts: any[];
|
|
202
|
-
isDeleted: boolean;
|
|
203
200
|
imageUrls: string[];
|
|
204
|
-
|
|
201
|
+
attempts: any[];
|
|
205
202
|
userId?: string | null | undefined;
|
|
206
203
|
unregisteredUserId?: string | null | undefined;
|
|
207
|
-
|
|
204
|
+
postId: string | null;
|
|
205
|
+
isDeleted: boolean;
|
|
208
206
|
tokenReservationId?: string | null | undefined;
|
|
207
|
+
createdAt: string | Date;
|
|
209
208
|
completedAt?: string | Date | null | undefined;
|
|
209
|
+
updatedAt: string | Date;
|
|
210
210
|
};
|
|
211
211
|
}, {
|
|
212
212
|
data: {
|
|
213
|
-
price: number;
|
|
214
213
|
uuid: string;
|
|
214
|
+
prompt: string;
|
|
215
|
+
reaction: USER_REACTION | null;
|
|
216
|
+
dislikeReason: string | null;
|
|
217
|
+
externalId: string | null;
|
|
218
|
+
title: string;
|
|
215
219
|
status: import("../..").JOB_STATUS;
|
|
220
|
+
error: string | null;
|
|
221
|
+
internalError?: string | null | undefined;
|
|
222
|
+
modelId: string;
|
|
223
|
+
price: number;
|
|
216
224
|
params: {
|
|
217
|
-
aspectRatio?: string | undefined;
|
|
218
225
|
attachedFiles?: {
|
|
219
226
|
uuid: string;
|
|
220
|
-
type: import("../..").FILE_TYPE;
|
|
221
|
-
name: string;
|
|
222
227
|
url: string;
|
|
228
|
+
name: string;
|
|
223
229
|
mimeType: string;
|
|
230
|
+
type: import("../..").FILE_TYPE;
|
|
224
231
|
size: number;
|
|
225
232
|
duration?: number | null | undefined;
|
|
226
233
|
}[] | undefined;
|
|
227
234
|
imageUrls?: string[] | undefined;
|
|
228
235
|
systemPromptId?: string | undefined;
|
|
236
|
+
aspectRatio?: string | undefined;
|
|
229
237
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
230
238
|
};
|
|
231
|
-
|
|
232
|
-
updatedAt: string | Date;
|
|
233
|
-
title: string;
|
|
234
|
-
error: string | null;
|
|
235
|
-
modelId: string;
|
|
236
|
-
prompt: string;
|
|
237
|
-
reaction: USER_REACTION | null;
|
|
238
|
-
dislikeReason: string | null;
|
|
239
|
-
externalId: string | null;
|
|
239
|
+
imageUrls?: string[] | undefined;
|
|
240
240
|
attempts: any[];
|
|
241
|
-
isDeleted: boolean;
|
|
242
|
-
postId: string | null;
|
|
243
241
|
userId?: string | null | undefined;
|
|
244
242
|
unregisteredUserId?: string | null | undefined;
|
|
245
|
-
|
|
243
|
+
postId: string | null;
|
|
244
|
+
isDeleted: boolean;
|
|
246
245
|
tokenReservationId?: string | null | undefined;
|
|
246
|
+
createdAt: string | Date;
|
|
247
247
|
completedAt?: string | Date | null | undefined;
|
|
248
|
-
|
|
248
|
+
updatedAt: string | Date;
|
|
249
249
|
};
|
|
250
250
|
}>;
|
|
251
251
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -32,18 +32,18 @@ export declare namespace UpdateImageEditorJobTitleCommand {
|
|
|
32
32
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
33
33
|
}, "strip", z.ZodTypeAny, {
|
|
34
34
|
uuid: string;
|
|
35
|
-
type: import("../..").FILE_TYPE;
|
|
36
|
-
name: string;
|
|
37
35
|
url: string;
|
|
36
|
+
name: string;
|
|
38
37
|
mimeType: string;
|
|
38
|
+
type: import("../..").FILE_TYPE;
|
|
39
39
|
size: number;
|
|
40
40
|
duration?: number | null | undefined;
|
|
41
41
|
}, {
|
|
42
42
|
uuid: string;
|
|
43
|
-
type: import("../..").FILE_TYPE;
|
|
44
|
-
name: string;
|
|
45
43
|
url: string;
|
|
44
|
+
name: string;
|
|
46
45
|
mimeType: string;
|
|
46
|
+
type: import("../..").FILE_TYPE;
|
|
47
47
|
size: number;
|
|
48
48
|
duration?: number | null | undefined;
|
|
49
49
|
}>, "many">>;
|
|
@@ -52,32 +52,32 @@ export declare namespace UpdateImageEditorJobTitleCommand {
|
|
|
52
52
|
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
53
53
|
userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
|
|
54
54
|
}, "strip", z.ZodTypeAny, {
|
|
55
|
-
aspectRatio?: string | undefined;
|
|
56
55
|
attachedFiles?: {
|
|
57
56
|
uuid: string;
|
|
58
|
-
type: import("../..").FILE_TYPE;
|
|
59
|
-
name: string;
|
|
60
57
|
url: string;
|
|
58
|
+
name: string;
|
|
61
59
|
mimeType: string;
|
|
60
|
+
type: import("../..").FILE_TYPE;
|
|
62
61
|
size: number;
|
|
63
62
|
duration?: number | null | undefined;
|
|
64
63
|
}[] | undefined;
|
|
65
64
|
imageUrls?: string[] | undefined;
|
|
66
65
|
systemPromptId?: string | undefined;
|
|
66
|
+
aspectRatio?: string | undefined;
|
|
67
67
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
68
68
|
}, {
|
|
69
|
-
aspectRatio?: string | undefined;
|
|
70
69
|
attachedFiles?: {
|
|
71
70
|
uuid: string;
|
|
72
|
-
type: import("../..").FILE_TYPE;
|
|
73
|
-
name: string;
|
|
74
71
|
url: string;
|
|
72
|
+
name: string;
|
|
75
73
|
mimeType: string;
|
|
74
|
+
type: import("../..").FILE_TYPE;
|
|
76
75
|
size: number;
|
|
77
76
|
duration?: number | null | undefined;
|
|
78
77
|
}[] | undefined;
|
|
79
78
|
imageUrls?: string[] | undefined;
|
|
80
79
|
systemPromptId?: string | undefined;
|
|
80
|
+
aspectRatio?: string | undefined;
|
|
81
81
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
82
82
|
}>;
|
|
83
83
|
imageUrls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -91,157 +91,157 @@ export declare namespace UpdateImageEditorJobTitleCommand {
|
|
|
91
91
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
|
|
92
92
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
93
93
|
}, "strip", z.ZodTypeAny, {
|
|
94
|
-
price: number;
|
|
95
94
|
uuid: string;
|
|
95
|
+
prompt: string;
|
|
96
|
+
reaction: import("../..").USER_REACTION | null;
|
|
97
|
+
dislikeReason: string | null;
|
|
98
|
+
externalId: string | null;
|
|
99
|
+
title: string;
|
|
96
100
|
status: import("../..").JOB_STATUS;
|
|
101
|
+
error: string | null;
|
|
102
|
+
internalError?: string | null | undefined;
|
|
103
|
+
modelId: string;
|
|
104
|
+
price: number;
|
|
97
105
|
params: {
|
|
98
|
-
aspectRatio?: string | undefined;
|
|
99
106
|
attachedFiles?: {
|
|
100
107
|
uuid: string;
|
|
101
|
-
type: import("../..").FILE_TYPE;
|
|
102
|
-
name: string;
|
|
103
108
|
url: string;
|
|
109
|
+
name: string;
|
|
104
110
|
mimeType: string;
|
|
111
|
+
type: import("../..").FILE_TYPE;
|
|
105
112
|
size: number;
|
|
106
113
|
duration?: number | null | undefined;
|
|
107
114
|
}[] | undefined;
|
|
108
115
|
imageUrls?: string[] | undefined;
|
|
109
116
|
systemPromptId?: string | undefined;
|
|
117
|
+
aspectRatio?: string | undefined;
|
|
110
118
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
111
119
|
};
|
|
112
|
-
createdAt: string | Date;
|
|
113
|
-
updatedAt: string | Date;
|
|
114
|
-
title: string;
|
|
115
|
-
error: string | null;
|
|
116
|
-
modelId: string;
|
|
117
|
-
prompt: string;
|
|
118
|
-
reaction: import("../..").USER_REACTION | null;
|
|
119
|
-
dislikeReason: string | null;
|
|
120
|
-
externalId: string | null;
|
|
121
|
-
attempts: any[];
|
|
122
|
-
isDeleted: boolean;
|
|
123
120
|
imageUrls: string[];
|
|
124
|
-
|
|
121
|
+
attempts: any[];
|
|
125
122
|
userId?: string | null | undefined;
|
|
126
123
|
unregisteredUserId?: string | null | undefined;
|
|
127
|
-
|
|
124
|
+
postId: string | null;
|
|
125
|
+
isDeleted: boolean;
|
|
128
126
|
tokenReservationId?: string | null | undefined;
|
|
127
|
+
createdAt: string | Date;
|
|
129
128
|
completedAt?: string | Date | null | undefined;
|
|
129
|
+
updatedAt: string | Date;
|
|
130
130
|
}, {
|
|
131
|
-
price: number;
|
|
132
131
|
uuid: string;
|
|
132
|
+
prompt: string;
|
|
133
|
+
reaction: import("../..").USER_REACTION | null;
|
|
134
|
+
dislikeReason: string | null;
|
|
135
|
+
externalId: string | null;
|
|
136
|
+
title: string;
|
|
133
137
|
status: import("../..").JOB_STATUS;
|
|
138
|
+
error: string | null;
|
|
139
|
+
internalError?: string | null | undefined;
|
|
140
|
+
modelId: string;
|
|
141
|
+
price: number;
|
|
134
142
|
params: {
|
|
135
|
-
aspectRatio?: string | undefined;
|
|
136
143
|
attachedFiles?: {
|
|
137
144
|
uuid: string;
|
|
138
|
-
type: import("../..").FILE_TYPE;
|
|
139
|
-
name: string;
|
|
140
145
|
url: string;
|
|
146
|
+
name: string;
|
|
141
147
|
mimeType: string;
|
|
148
|
+
type: import("../..").FILE_TYPE;
|
|
142
149
|
size: number;
|
|
143
150
|
duration?: number | null | undefined;
|
|
144
151
|
}[] | undefined;
|
|
145
152
|
imageUrls?: string[] | undefined;
|
|
146
153
|
systemPromptId?: string | undefined;
|
|
154
|
+
aspectRatio?: string | undefined;
|
|
147
155
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
148
156
|
};
|
|
149
|
-
|
|
150
|
-
updatedAt: string | Date;
|
|
151
|
-
title: string;
|
|
152
|
-
error: string | null;
|
|
153
|
-
modelId: string;
|
|
154
|
-
prompt: string;
|
|
155
|
-
reaction: import("../..").USER_REACTION | null;
|
|
156
|
-
dislikeReason: string | null;
|
|
157
|
-
externalId: string | null;
|
|
157
|
+
imageUrls?: string[] | undefined;
|
|
158
158
|
attempts: any[];
|
|
159
|
-
isDeleted: boolean;
|
|
160
|
-
postId: string | null;
|
|
161
159
|
userId?: string | null | undefined;
|
|
162
160
|
unregisteredUserId?: string | null | undefined;
|
|
163
|
-
|
|
161
|
+
postId: string | null;
|
|
162
|
+
isDeleted: boolean;
|
|
164
163
|
tokenReservationId?: string | null | undefined;
|
|
164
|
+
createdAt: string | Date;
|
|
165
165
|
completedAt?: string | Date | null | undefined;
|
|
166
|
-
|
|
166
|
+
updatedAt: string | Date;
|
|
167
167
|
}>;
|
|
168
168
|
}, "strip", z.ZodTypeAny, {
|
|
169
169
|
data: {
|
|
170
|
-
price: number;
|
|
171
170
|
uuid: string;
|
|
171
|
+
prompt: string;
|
|
172
|
+
reaction: import("../..").USER_REACTION | null;
|
|
173
|
+
dislikeReason: string | null;
|
|
174
|
+
externalId: string | null;
|
|
175
|
+
title: string;
|
|
172
176
|
status: import("../..").JOB_STATUS;
|
|
177
|
+
error: string | null;
|
|
178
|
+
internalError?: string | null | undefined;
|
|
179
|
+
modelId: string;
|
|
180
|
+
price: number;
|
|
173
181
|
params: {
|
|
174
|
-
aspectRatio?: string | undefined;
|
|
175
182
|
attachedFiles?: {
|
|
176
183
|
uuid: string;
|
|
177
|
-
type: import("../..").FILE_TYPE;
|
|
178
|
-
name: string;
|
|
179
184
|
url: string;
|
|
185
|
+
name: string;
|
|
180
186
|
mimeType: string;
|
|
187
|
+
type: import("../..").FILE_TYPE;
|
|
181
188
|
size: number;
|
|
182
189
|
duration?: number | null | undefined;
|
|
183
190
|
}[] | undefined;
|
|
184
191
|
imageUrls?: string[] | undefined;
|
|
185
192
|
systemPromptId?: string | undefined;
|
|
193
|
+
aspectRatio?: string | undefined;
|
|
186
194
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
187
195
|
};
|
|
188
|
-
createdAt: string | Date;
|
|
189
|
-
updatedAt: string | Date;
|
|
190
|
-
title: string;
|
|
191
|
-
error: string | null;
|
|
192
|
-
modelId: string;
|
|
193
|
-
prompt: string;
|
|
194
|
-
reaction: import("../..").USER_REACTION | null;
|
|
195
|
-
dislikeReason: string | null;
|
|
196
|
-
externalId: string | null;
|
|
197
|
-
attempts: any[];
|
|
198
|
-
isDeleted: boolean;
|
|
199
196
|
imageUrls: string[];
|
|
200
|
-
|
|
197
|
+
attempts: any[];
|
|
201
198
|
userId?: string | null | undefined;
|
|
202
199
|
unregisteredUserId?: string | null | undefined;
|
|
203
|
-
|
|
200
|
+
postId: string | null;
|
|
201
|
+
isDeleted: boolean;
|
|
204
202
|
tokenReservationId?: string | null | undefined;
|
|
203
|
+
createdAt: string | Date;
|
|
205
204
|
completedAt?: string | Date | null | undefined;
|
|
205
|
+
updatedAt: string | Date;
|
|
206
206
|
};
|
|
207
207
|
}, {
|
|
208
208
|
data: {
|
|
209
|
-
price: number;
|
|
210
209
|
uuid: string;
|
|
210
|
+
prompt: string;
|
|
211
|
+
reaction: import("../..").USER_REACTION | null;
|
|
212
|
+
dislikeReason: string | null;
|
|
213
|
+
externalId: string | null;
|
|
214
|
+
title: string;
|
|
211
215
|
status: import("../..").JOB_STATUS;
|
|
216
|
+
error: string | null;
|
|
217
|
+
internalError?: string | null | undefined;
|
|
218
|
+
modelId: string;
|
|
219
|
+
price: number;
|
|
212
220
|
params: {
|
|
213
|
-
aspectRatio?: string | undefined;
|
|
214
221
|
attachedFiles?: {
|
|
215
222
|
uuid: string;
|
|
216
|
-
type: import("../..").FILE_TYPE;
|
|
217
|
-
name: string;
|
|
218
223
|
url: string;
|
|
224
|
+
name: string;
|
|
219
225
|
mimeType: string;
|
|
226
|
+
type: import("../..").FILE_TYPE;
|
|
220
227
|
size: number;
|
|
221
228
|
duration?: number | null | undefined;
|
|
222
229
|
}[] | undefined;
|
|
223
230
|
imageUrls?: string[] | undefined;
|
|
224
231
|
systemPromptId?: string | undefined;
|
|
232
|
+
aspectRatio?: string | undefined;
|
|
225
233
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
226
234
|
};
|
|
227
|
-
|
|
228
|
-
updatedAt: string | Date;
|
|
229
|
-
title: string;
|
|
230
|
-
error: string | null;
|
|
231
|
-
modelId: string;
|
|
232
|
-
prompt: string;
|
|
233
|
-
reaction: import("../..").USER_REACTION | null;
|
|
234
|
-
dislikeReason: string | null;
|
|
235
|
-
externalId: string | null;
|
|
235
|
+
imageUrls?: string[] | undefined;
|
|
236
236
|
attempts: any[];
|
|
237
|
-
isDeleted: boolean;
|
|
238
|
-
postId: string | null;
|
|
239
237
|
userId?: string | null | undefined;
|
|
240
238
|
unregisteredUserId?: string | null | undefined;
|
|
241
|
-
|
|
239
|
+
postId: string | null;
|
|
240
|
+
isDeleted: boolean;
|
|
242
241
|
tokenReservationId?: string | null | undefined;
|
|
242
|
+
createdAt: string | Date;
|
|
243
243
|
completedAt?: string | Date | null | undefined;
|
|
244
|
-
|
|
244
|
+
updatedAt: string | Date;
|
|
245
245
|
};
|
|
246
246
|
}>;
|
|
247
247
|
type Response = z.infer<typeof ResponseSchema>;
|