@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
|
@@ -32,18 +32,18 @@ export declare namespace GetImageEditorJobCommand {
|
|
|
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 GetImageEditorJobCommand {
|
|
|
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 GetImageEditorJobCommand {
|
|
|
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>;
|
|
@@ -9,9 +9,9 @@ export declare namespace FindImageGenerationJobsCommand {
|
|
|
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<{
|
|
@@ -32,18 +32,18 @@ export declare namespace FindImageGenerationJobsCommand {
|
|
|
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">>>;
|
|
@@ -53,10 +53,10 @@ export declare namespace FindImageGenerationJobsCommand {
|
|
|
53
53
|
aspectRatio: string;
|
|
54
54
|
attachedFiles: {
|
|
55
55
|
uuid: string;
|
|
56
|
-
type: import("../..").FILE_TYPE;
|
|
57
|
-
name: string;
|
|
58
56
|
url: string;
|
|
57
|
+
name: string;
|
|
59
58
|
mimeType: string;
|
|
59
|
+
type: import("../..").FILE_TYPE;
|
|
60
60
|
size: number;
|
|
61
61
|
duration?: number | null | undefined;
|
|
62
62
|
}[];
|
|
@@ -64,17 +64,17 @@ export declare namespace FindImageGenerationJobsCommand {
|
|
|
64
64
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
65
65
|
}, {
|
|
66
66
|
aspectRatio: string;
|
|
67
|
-
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
68
67
|
attachedFiles?: {
|
|
69
68
|
uuid: string;
|
|
70
|
-
type: import("../..").FILE_TYPE;
|
|
71
|
-
name: string;
|
|
72
69
|
url: string;
|
|
70
|
+
name: string;
|
|
73
71
|
mimeType: string;
|
|
72
|
+
type: import("../..").FILE_TYPE;
|
|
74
73
|
size: number;
|
|
75
74
|
duration?: number | null | undefined;
|
|
76
75
|
}[] | undefined;
|
|
77
76
|
enhancePrompt?: boolean | undefined;
|
|
77
|
+
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
78
78
|
}>;
|
|
79
79
|
price: z.ZodNumber;
|
|
80
80
|
status: z.ZodNativeEnum<typeof import("../..").JOB_STATUS>;
|
|
@@ -90,13 +90,13 @@ export declare namespace FindImageGenerationJobsCommand {
|
|
|
90
90
|
error: z.ZodNullable<z.ZodString>;
|
|
91
91
|
timestamp: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
92
92
|
}, "strip", z.ZodTypeAny, {
|
|
93
|
-
status: import("../..").JOB_STATUS;
|
|
94
93
|
order: number;
|
|
94
|
+
status: import("../..").JOB_STATUS;
|
|
95
95
|
error: string | null;
|
|
96
96
|
timestamp: string | Date;
|
|
97
97
|
}, {
|
|
98
|
-
status: import("../..").JOB_STATUS;
|
|
99
98
|
order: number;
|
|
99
|
+
status: import("../..").JOB_STATUS;
|
|
100
100
|
error: string | null;
|
|
101
101
|
timestamp: string | Date;
|
|
102
102
|
}>, "many">;
|
|
@@ -110,88 +110,88 @@ export declare namespace FindImageGenerationJobsCommand {
|
|
|
110
110
|
updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
111
111
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
|
|
112
112
|
}, "strip", z.ZodTypeAny, {
|
|
113
|
-
price: number;
|
|
114
113
|
uuid: string;
|
|
115
|
-
|
|
114
|
+
modelId: string;
|
|
115
|
+
prompt: string;
|
|
116
|
+
title: string;
|
|
116
117
|
params: {
|
|
117
118
|
aspectRatio: string;
|
|
118
119
|
attachedFiles: {
|
|
119
120
|
uuid: string;
|
|
120
|
-
type: import("../..").FILE_TYPE;
|
|
121
|
-
name: string;
|
|
122
121
|
url: string;
|
|
122
|
+
name: string;
|
|
123
123
|
mimeType: string;
|
|
124
|
+
type: import("../..").FILE_TYPE;
|
|
124
125
|
size: number;
|
|
125
126
|
duration?: number | null | undefined;
|
|
126
127
|
}[];
|
|
127
128
|
enhancePrompt: boolean;
|
|
128
129
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
129
130
|
};
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
price: number;
|
|
132
|
+
status: import("../..").JOB_STATUS;
|
|
133
|
+
error?: string | null | undefined;
|
|
133
134
|
reaction: import("../..").USER_REACTION | null;
|
|
134
135
|
dislikeReason: string | null;
|
|
135
136
|
externalId: string | null;
|
|
136
137
|
output: string[];
|
|
138
|
+
presetId?: string | null | undefined;
|
|
137
139
|
attempts: {
|
|
138
|
-
status: import("../..").JOB_STATUS;
|
|
139
140
|
order: number;
|
|
141
|
+
status: import("../..").JOB_STATUS;
|
|
140
142
|
error: string | null;
|
|
141
143
|
timestamp: string | Date;
|
|
142
144
|
}[];
|
|
145
|
+
userId?: string | null | undefined;
|
|
146
|
+
unregisteredUserId?: string | null | undefined;
|
|
143
147
|
origin: import("../..").JOB_REQUEST_ORIGIN;
|
|
144
148
|
isDeleted: boolean;
|
|
145
149
|
internalError: string | null;
|
|
146
|
-
|
|
150
|
+
tokenReservationId?: string | null | undefined;
|
|
147
151
|
createdAt?: string | Date | undefined;
|
|
148
152
|
updatedAt?: string | Date | undefined;
|
|
149
|
-
error?: string | null | undefined;
|
|
150
|
-
presetId?: string | null | undefined;
|
|
151
|
-
unregisteredUserId?: string | null | undefined;
|
|
152
|
-
tokenReservationId?: string | null | undefined;
|
|
153
153
|
completedAt?: string | Date | null | undefined;
|
|
154
154
|
}, {
|
|
155
|
-
price: number;
|
|
156
155
|
uuid: string;
|
|
157
|
-
|
|
156
|
+
modelId: string;
|
|
157
|
+
prompt: string;
|
|
158
|
+
title: string;
|
|
158
159
|
params: {
|
|
159
160
|
aspectRatio: string;
|
|
160
|
-
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
161
161
|
attachedFiles?: {
|
|
162
162
|
uuid: string;
|
|
163
|
-
type: import("../..").FILE_TYPE;
|
|
164
|
-
name: string;
|
|
165
163
|
url: string;
|
|
164
|
+
name: string;
|
|
166
165
|
mimeType: string;
|
|
166
|
+
type: import("../..").FILE_TYPE;
|
|
167
167
|
size: number;
|
|
168
168
|
duration?: number | null | undefined;
|
|
169
169
|
}[] | undefined;
|
|
170
170
|
enhancePrompt?: boolean | undefined;
|
|
171
|
+
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
171
172
|
};
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
price: number;
|
|
174
|
+
status: import("../..").JOB_STATUS;
|
|
175
|
+
error?: string | null | undefined;
|
|
175
176
|
reaction: import("../..").USER_REACTION | null;
|
|
176
177
|
dislikeReason: string | null;
|
|
177
178
|
externalId: string | null;
|
|
178
179
|
output: string[];
|
|
180
|
+
presetId?: string | null | undefined;
|
|
179
181
|
attempts: {
|
|
180
|
-
status: import("../..").JOB_STATUS;
|
|
181
182
|
order: number;
|
|
183
|
+
status: import("../..").JOB_STATUS;
|
|
182
184
|
error: string | null;
|
|
183
185
|
timestamp: string | Date;
|
|
184
186
|
}[];
|
|
187
|
+
userId?: string | null | undefined;
|
|
188
|
+
unregisteredUserId?: string | null | undefined;
|
|
185
189
|
origin: import("../..").JOB_REQUEST_ORIGIN;
|
|
186
190
|
isDeleted: boolean;
|
|
187
191
|
internalError: string | null;
|
|
188
|
-
|
|
192
|
+
tokenReservationId?: string | null | undefined;
|
|
189
193
|
createdAt?: string | Date | undefined;
|
|
190
194
|
updatedAt?: string | Date | undefined;
|
|
191
|
-
error?: string | null | undefined;
|
|
192
|
-
presetId?: string | null | undefined;
|
|
193
|
-
unregisteredUserId?: string | null | undefined;
|
|
194
|
-
tokenReservationId?: string | null | undefined;
|
|
195
195
|
completedAt?: string | Date | null | undefined;
|
|
196
196
|
}>, "many">;
|
|
197
197
|
meta: z.ZodObject<{
|
|
@@ -209,46 +209,46 @@ export declare namespace FindImageGenerationJobsCommand {
|
|
|
209
209
|
}>;
|
|
210
210
|
}, "strip", z.ZodTypeAny, {
|
|
211
211
|
data: {
|
|
212
|
-
price: number;
|
|
213
212
|
uuid: string;
|
|
214
|
-
|
|
213
|
+
modelId: string;
|
|
214
|
+
prompt: string;
|
|
215
|
+
title: string;
|
|
215
216
|
params: {
|
|
216
217
|
aspectRatio: string;
|
|
217
218
|
attachedFiles: {
|
|
218
219
|
uuid: string;
|
|
219
|
-
type: import("../..").FILE_TYPE;
|
|
220
|
-
name: string;
|
|
221
220
|
url: string;
|
|
221
|
+
name: string;
|
|
222
222
|
mimeType: string;
|
|
223
|
+
type: import("../..").FILE_TYPE;
|
|
223
224
|
size: number;
|
|
224
225
|
duration?: number | null | undefined;
|
|
225
226
|
}[];
|
|
226
227
|
enhancePrompt: boolean;
|
|
227
228
|
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
228
229
|
};
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
230
|
+
price: number;
|
|
231
|
+
status: import("../..").JOB_STATUS;
|
|
232
|
+
error?: string | null | undefined;
|
|
232
233
|
reaction: import("../..").USER_REACTION | null;
|
|
233
234
|
dislikeReason: string | null;
|
|
234
235
|
externalId: string | null;
|
|
235
236
|
output: string[];
|
|
237
|
+
presetId?: string | null | undefined;
|
|
236
238
|
attempts: {
|
|
237
|
-
status: import("../..").JOB_STATUS;
|
|
238
239
|
order: number;
|
|
240
|
+
status: import("../..").JOB_STATUS;
|
|
239
241
|
error: string | null;
|
|
240
242
|
timestamp: string | Date;
|
|
241
243
|
}[];
|
|
244
|
+
userId?: string | null | undefined;
|
|
245
|
+
unregisteredUserId?: string | null | undefined;
|
|
242
246
|
origin: import("../..").JOB_REQUEST_ORIGIN;
|
|
243
247
|
isDeleted: boolean;
|
|
244
248
|
internalError: string | null;
|
|
245
|
-
|
|
249
|
+
tokenReservationId?: string | null | undefined;
|
|
246
250
|
createdAt?: string | Date | undefined;
|
|
247
251
|
updatedAt?: string | Date | undefined;
|
|
248
|
-
error?: string | null | undefined;
|
|
249
|
-
presetId?: string | null | undefined;
|
|
250
|
-
unregisteredUserId?: string | null | undefined;
|
|
251
|
-
tokenReservationId?: string | null | undefined;
|
|
252
252
|
completedAt?: string | Date | null | undefined;
|
|
253
253
|
}[];
|
|
254
254
|
meta: {
|
|
@@ -258,46 +258,46 @@ export declare namespace FindImageGenerationJobsCommand {
|
|
|
258
258
|
};
|
|
259
259
|
}, {
|
|
260
260
|
data: {
|
|
261
|
-
price: number;
|
|
262
261
|
uuid: string;
|
|
263
|
-
|
|
262
|
+
modelId: string;
|
|
263
|
+
prompt: string;
|
|
264
|
+
title: string;
|
|
264
265
|
params: {
|
|
265
266
|
aspectRatio: string;
|
|
266
|
-
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
267
267
|
attachedFiles?: {
|
|
268
268
|
uuid: string;
|
|
269
|
-
type: import("../..").FILE_TYPE;
|
|
270
|
-
name: string;
|
|
271
269
|
url: string;
|
|
270
|
+
name: string;
|
|
272
271
|
mimeType: string;
|
|
272
|
+
type: import("../..").FILE_TYPE;
|
|
273
273
|
size: number;
|
|
274
274
|
duration?: number | null | undefined;
|
|
275
275
|
}[] | undefined;
|
|
276
276
|
enhancePrompt?: boolean | undefined;
|
|
277
|
+
resolution?: import("../..").IMAGE_GENERATION_RESOLUTION | undefined;
|
|
277
278
|
};
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
279
|
+
price: number;
|
|
280
|
+
status: import("../..").JOB_STATUS;
|
|
281
|
+
error?: string | null | undefined;
|
|
281
282
|
reaction: import("../..").USER_REACTION | null;
|
|
282
283
|
dislikeReason: string | null;
|
|
283
284
|
externalId: string | null;
|
|
284
285
|
output: string[];
|
|
286
|
+
presetId?: string | null | undefined;
|
|
285
287
|
attempts: {
|
|
286
|
-
status: import("../..").JOB_STATUS;
|
|
287
288
|
order: number;
|
|
289
|
+
status: import("../..").JOB_STATUS;
|
|
288
290
|
error: string | null;
|
|
289
291
|
timestamp: string | Date;
|
|
290
292
|
}[];
|
|
293
|
+
userId?: string | null | undefined;
|
|
294
|
+
unregisteredUserId?: string | null | undefined;
|
|
291
295
|
origin: import("../..").JOB_REQUEST_ORIGIN;
|
|
292
296
|
isDeleted: boolean;
|
|
293
297
|
internalError: string | null;
|
|
294
|
-
|
|
298
|
+
tokenReservationId?: string | null | undefined;
|
|
295
299
|
createdAt?: string | Date | undefined;
|
|
296
300
|
updatedAt?: string | Date | undefined;
|
|
297
|
-
error?: string | null | undefined;
|
|
298
|
-
presetId?: string | null | undefined;
|
|
299
|
-
unregisteredUserId?: string | null | undefined;
|
|
300
|
-
tokenReservationId?: string | null | undefined;
|
|
301
301
|
completedAt?: string | Date | null | undefined;
|
|
302
302
|
}[];
|
|
303
303
|
meta: {
|