@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unlocked-by-subscription.schema.d.ts","sourceRoot":"","sources":["../../models/unlocked-by-subscription.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gBAAgB;;;;;;;;;EAG3B,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,eAAO,MAAM,sBAAsB,GAAI,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"unlocked-by-subscription.schema.d.ts","sourceRoot":"","sources":["../../models/unlocked-by-subscription.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gBAAgB;;;;;;;;;EAG3B,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE1D,eAAO,MAAM,sBAAsB,GAAI,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;EAIhF,CAAC"}
|
|
@@ -14,23 +14,23 @@ export declare const UserToProductSchema: z.ZodObject<{
|
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
uuid: string;
|
|
16
16
|
siteId: string;
|
|
17
|
-
status: USER_TO_PRODUCT_STATUS;
|
|
18
17
|
userId: string;
|
|
19
18
|
productId: string;
|
|
20
19
|
orderId: string | null;
|
|
21
20
|
initTokenBalance: number;
|
|
22
21
|
tokenBalance: number;
|
|
22
|
+
status: USER_TO_PRODUCT_STATUS;
|
|
23
23
|
createdAt: Date;
|
|
24
24
|
updatedAt: Date;
|
|
25
25
|
}, {
|
|
26
26
|
uuid: string;
|
|
27
27
|
siteId: string;
|
|
28
|
-
status: USER_TO_PRODUCT_STATUS;
|
|
29
28
|
userId: string;
|
|
30
29
|
productId: string;
|
|
31
30
|
orderId: string | null;
|
|
32
31
|
initTokenBalance: number;
|
|
33
32
|
tokenBalance: number;
|
|
33
|
+
status: USER_TO_PRODUCT_STATUS;
|
|
34
34
|
createdAt: Date;
|
|
35
35
|
updatedAt: Date;
|
|
36
36
|
}>;
|
|
@@ -20,42 +20,42 @@ export declare const UserToSubscriptionSchema: z.ZodObject<{
|
|
|
20
20
|
createdAt: z.ZodDate;
|
|
21
21
|
updatedAt: z.ZodDate;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
|
-
active: boolean;
|
|
24
23
|
uuid: string;
|
|
25
24
|
siteId: string;
|
|
26
|
-
status: USER_TO_SUBSCRIPTION_STATUS;
|
|
27
|
-
type: USER_TO_SUBSCRIPTION_TYPE;
|
|
28
25
|
userId: string;
|
|
26
|
+
subscriptionId: string;
|
|
29
27
|
orderId: string | null;
|
|
28
|
+
cloudPaymentsSubscriptionId: string | null;
|
|
29
|
+
type: USER_TO_SUBSCRIPTION_TYPE;
|
|
30
30
|
initTokenBalance: number;
|
|
31
31
|
tokenBalance: number;
|
|
32
|
-
createdAt: Date;
|
|
33
|
-
updatedAt: Date;
|
|
34
|
-
subscriptionId: string;
|
|
35
|
-
cloudPaymentsSubscriptionId: string | null;
|
|
36
32
|
initCarriedOverTokenBalance: number;
|
|
37
33
|
carriedOverTokenBalance: number;
|
|
34
|
+
status: USER_TO_SUBSCRIPTION_STATUS;
|
|
35
|
+
active: boolean;
|
|
38
36
|
startDate: Date | null;
|
|
39
37
|
intervalEndDate: Date | null;
|
|
40
38
|
endDate: Date | null;
|
|
39
|
+
createdAt: Date;
|
|
40
|
+
updatedAt: Date;
|
|
41
41
|
}, {
|
|
42
|
-
active: boolean;
|
|
43
42
|
uuid: string;
|
|
44
43
|
siteId: string;
|
|
45
|
-
status: USER_TO_SUBSCRIPTION_STATUS;
|
|
46
|
-
type: USER_TO_SUBSCRIPTION_TYPE;
|
|
47
44
|
userId: string;
|
|
45
|
+
subscriptionId: string;
|
|
48
46
|
orderId: string | null;
|
|
47
|
+
cloudPaymentsSubscriptionId: string | null;
|
|
48
|
+
type: USER_TO_SUBSCRIPTION_TYPE;
|
|
49
49
|
initTokenBalance: number;
|
|
50
50
|
tokenBalance: number;
|
|
51
|
-
createdAt: Date;
|
|
52
|
-
updatedAt: Date;
|
|
53
|
-
subscriptionId: string;
|
|
54
|
-
cloudPaymentsSubscriptionId: string | null;
|
|
55
51
|
initCarriedOverTokenBalance: number;
|
|
56
52
|
carriedOverTokenBalance: number;
|
|
53
|
+
status: USER_TO_SUBSCRIPTION_STATUS;
|
|
54
|
+
active: boolean;
|
|
57
55
|
startDate: Date | null;
|
|
58
56
|
intervalEndDate: Date | null;
|
|
59
57
|
endDate: Date | null;
|
|
58
|
+
createdAt: Date;
|
|
59
|
+
updatedAt: Date;
|
|
60
60
|
}>;
|
|
61
61
|
//# sourceMappingURL=user-to-subscription.schema.d.ts.map
|
|
@@ -8,17 +8,17 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
8
8
|
role: z.ZodOptional<z.ZodNativeEnum<typeof USER_ROLE>>;
|
|
9
9
|
status: z.ZodOptional<z.ZodNativeEnum<typeof USER_STATUS>>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
email: string;
|
|
12
|
-
password: string;
|
|
13
11
|
uuid?: string | undefined;
|
|
14
12
|
siteId?: string | undefined;
|
|
13
|
+
email: string;
|
|
14
|
+
password: string;
|
|
15
15
|
role?: USER_ROLE | undefined;
|
|
16
16
|
status?: USER_STATUS | undefined;
|
|
17
17
|
}, {
|
|
18
|
-
email: string;
|
|
19
|
-
password: string;
|
|
20
18
|
uuid?: string | undefined;
|
|
21
19
|
siteId?: string | undefined;
|
|
20
|
+
email: string;
|
|
21
|
+
password: string;
|
|
22
22
|
role?: USER_ROLE | undefined;
|
|
23
23
|
status?: USER_STATUS | undefined;
|
|
24
24
|
}>;
|
|
@@ -23,21 +23,21 @@ export declare namespace FindFilesCommand {
|
|
|
23
23
|
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
25
|
uuid: string;
|
|
26
|
-
type: import("../..").FILE_TYPE;
|
|
27
26
|
name: string;
|
|
27
|
+
key: string;
|
|
28
28
|
url: string;
|
|
29
29
|
mimeType: string;
|
|
30
30
|
size: number;
|
|
31
|
-
|
|
31
|
+
type: import("../..").FILE_TYPE;
|
|
32
32
|
createdAt?: string | Date | undefined;
|
|
33
33
|
}, {
|
|
34
34
|
uuid: string;
|
|
35
|
-
type: import("../..").FILE_TYPE;
|
|
36
35
|
name: string;
|
|
36
|
+
key: string;
|
|
37
37
|
url: string;
|
|
38
38
|
mimeType: string;
|
|
39
39
|
size: number;
|
|
40
|
-
|
|
40
|
+
type: import("../..").FILE_TYPE;
|
|
41
41
|
createdAt?: string | Date | undefined;
|
|
42
42
|
}>, "many">;
|
|
43
43
|
meta: z.ZodObject<{
|
|
@@ -56,12 +56,12 @@ export declare namespace FindFilesCommand {
|
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
57
|
data: {
|
|
58
58
|
uuid: string;
|
|
59
|
-
type: import("../..").FILE_TYPE;
|
|
60
59
|
name: string;
|
|
60
|
+
key: string;
|
|
61
61
|
url: string;
|
|
62
62
|
mimeType: string;
|
|
63
63
|
size: number;
|
|
64
|
-
|
|
64
|
+
type: import("../..").FILE_TYPE;
|
|
65
65
|
createdAt?: string | Date | undefined;
|
|
66
66
|
}[];
|
|
67
67
|
meta: {
|
|
@@ -72,12 +72,12 @@ export declare namespace FindFilesCommand {
|
|
|
72
72
|
}, {
|
|
73
73
|
data: {
|
|
74
74
|
uuid: string;
|
|
75
|
-
type: import("../..").FILE_TYPE;
|
|
76
75
|
name: string;
|
|
76
|
+
key: string;
|
|
77
77
|
url: string;
|
|
78
78
|
mimeType: string;
|
|
79
79
|
size: number;
|
|
80
|
-
|
|
80
|
+
type: import("../..").FILE_TYPE;
|
|
81
81
|
createdAt?: string | Date | undefined;
|
|
82
82
|
}[];
|
|
83
83
|
meta: {
|
|
@@ -20,43 +20,43 @@ export declare namespace GetFileCommand {
|
|
|
20
20
|
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
22
|
uuid: string;
|
|
23
|
-
type: import("../..").FILE_TYPE;
|
|
24
23
|
name: string;
|
|
24
|
+
key: string;
|
|
25
25
|
url: string;
|
|
26
26
|
mimeType: string;
|
|
27
27
|
size: number;
|
|
28
|
-
|
|
28
|
+
type: import("../..").FILE_TYPE;
|
|
29
29
|
createdAt?: string | Date | undefined;
|
|
30
30
|
}, {
|
|
31
31
|
uuid: string;
|
|
32
|
-
type: import("../..").FILE_TYPE;
|
|
33
32
|
name: string;
|
|
33
|
+
key: string;
|
|
34
34
|
url: string;
|
|
35
35
|
mimeType: string;
|
|
36
36
|
size: number;
|
|
37
|
-
|
|
37
|
+
type: import("../..").FILE_TYPE;
|
|
38
38
|
createdAt?: string | Date | undefined;
|
|
39
39
|
}>;
|
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
|
41
41
|
data: {
|
|
42
42
|
uuid: string;
|
|
43
|
-
type: import("../..").FILE_TYPE;
|
|
44
43
|
name: string;
|
|
44
|
+
key: string;
|
|
45
45
|
url: string;
|
|
46
46
|
mimeType: string;
|
|
47
47
|
size: number;
|
|
48
|
-
|
|
48
|
+
type: import("../..").FILE_TYPE;
|
|
49
49
|
createdAt?: string | Date | undefined;
|
|
50
50
|
};
|
|
51
51
|
}, {
|
|
52
52
|
data: {
|
|
53
53
|
uuid: string;
|
|
54
|
-
type: import("../..").FILE_TYPE;
|
|
55
54
|
name: string;
|
|
55
|
+
key: string;
|
|
56
56
|
url: string;
|
|
57
57
|
mimeType: string;
|
|
58
58
|
size: number;
|
|
59
|
-
|
|
59
|
+
type: import("../..").FILE_TYPE;
|
|
60
60
|
createdAt?: string | Date | undefined;
|
|
61
61
|
};
|
|
62
62
|
}>;
|
|
@@ -9,9 +9,9 @@ export declare namespace FindImageEditorJobsCommand {
|
|
|
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<{
|
|
@@ -38,18 +38,18 @@ export declare namespace FindImageEditorJobsCommand {
|
|
|
38
38
|
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
40
|
uuid: string;
|
|
41
|
-
type: import("../..").FILE_TYPE;
|
|
42
|
-
name: string;
|
|
43
41
|
url: string;
|
|
42
|
+
name: string;
|
|
44
43
|
mimeType: string;
|
|
44
|
+
type: import("../..").FILE_TYPE;
|
|
45
45
|
size: number;
|
|
46
46
|
duration?: number | null | undefined;
|
|
47
47
|
}, {
|
|
48
48
|
uuid: string;
|
|
49
|
-
type: import("../..").FILE_TYPE;
|
|
50
|
-
name: string;
|
|
51
49
|
url: string;
|
|
50
|
+
name: string;
|
|
52
51
|
mimeType: string;
|
|
52
|
+
type: import("../..").FILE_TYPE;
|
|
53
53
|
size: number;
|
|
54
54
|
duration?: number | null | undefined;
|
|
55
55
|
}>, "many">>;
|
|
@@ -58,32 +58,32 @@ export declare namespace FindImageEditorJobsCommand {
|
|
|
58
58
|
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
59
59
|
userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
|
|
60
60
|
}, "strip", z.ZodTypeAny, {
|
|
61
|
-
aspectRatio?: string | 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
|
imageUrls?: string[] | undefined;
|
|
72
71
|
systemPromptId?: string | undefined;
|
|
72
|
+
aspectRatio?: string | undefined;
|
|
73
73
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
74
74
|
}, {
|
|
75
|
-
aspectRatio?: string | undefined;
|
|
76
75
|
attachedFiles?: {
|
|
77
76
|
uuid: string;
|
|
78
|
-
type: import("../..").FILE_TYPE;
|
|
79
|
-
name: string;
|
|
80
77
|
url: string;
|
|
78
|
+
name: string;
|
|
81
79
|
mimeType: string;
|
|
80
|
+
type: import("../..").FILE_TYPE;
|
|
82
81
|
size: number;
|
|
83
82
|
duration?: number | null | undefined;
|
|
84
83
|
}[] | undefined;
|
|
85
84
|
imageUrls?: string[] | undefined;
|
|
86
85
|
systemPromptId?: string | undefined;
|
|
86
|
+
aspectRatio?: string | undefined;
|
|
87
87
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
88
88
|
}>;
|
|
89
89
|
imageUrls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -97,79 +97,79 @@ export declare namespace FindImageEditorJobsCommand {
|
|
|
97
97
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
|
|
98
98
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
|
-
price: number;
|
|
101
100
|
uuid: string;
|
|
101
|
+
prompt: string;
|
|
102
|
+
reaction: import("../..").USER_REACTION | null;
|
|
103
|
+
dislikeReason: string | null;
|
|
104
|
+
externalId: string | null;
|
|
105
|
+
title: string;
|
|
102
106
|
status: import("../..").JOB_STATUS;
|
|
107
|
+
error: string | null;
|
|
108
|
+
internalError?: string | null | undefined;
|
|
109
|
+
modelId: string;
|
|
110
|
+
price: number;
|
|
103
111
|
params: {
|
|
104
|
-
aspectRatio?: string | undefined;
|
|
105
112
|
attachedFiles?: {
|
|
106
113
|
uuid: string;
|
|
107
|
-
type: import("../..").FILE_TYPE;
|
|
108
|
-
name: string;
|
|
109
114
|
url: string;
|
|
115
|
+
name: string;
|
|
110
116
|
mimeType: string;
|
|
117
|
+
type: import("../..").FILE_TYPE;
|
|
111
118
|
size: number;
|
|
112
119
|
duration?: number | null | undefined;
|
|
113
120
|
}[] | undefined;
|
|
114
121
|
imageUrls?: string[] | undefined;
|
|
115
122
|
systemPromptId?: string | undefined;
|
|
123
|
+
aspectRatio?: string | undefined;
|
|
116
124
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
117
125
|
};
|
|
118
|
-
createdAt: string | Date;
|
|
119
|
-
updatedAt: string | Date;
|
|
120
|
-
title: string;
|
|
121
|
-
error: string | null;
|
|
122
|
-
modelId: string;
|
|
123
|
-
prompt: string;
|
|
124
|
-
reaction: import("../..").USER_REACTION | null;
|
|
125
|
-
dislikeReason: string | null;
|
|
126
|
-
externalId: string | null;
|
|
127
|
-
attempts: any[];
|
|
128
|
-
isDeleted: boolean;
|
|
129
126
|
imageUrls: string[];
|
|
130
|
-
|
|
127
|
+
attempts: any[];
|
|
131
128
|
userId?: string | null | undefined;
|
|
132
129
|
unregisteredUserId?: string | null | undefined;
|
|
133
|
-
|
|
130
|
+
postId: string | null;
|
|
131
|
+
isDeleted: boolean;
|
|
134
132
|
tokenReservationId?: string | null | undefined;
|
|
133
|
+
createdAt: string | Date;
|
|
135
134
|
completedAt?: string | Date | null | undefined;
|
|
135
|
+
updatedAt: string | Date;
|
|
136
136
|
}, {
|
|
137
|
-
price: number;
|
|
138
137
|
uuid: string;
|
|
138
|
+
prompt: string;
|
|
139
|
+
reaction: import("../..").USER_REACTION | null;
|
|
140
|
+
dislikeReason: string | null;
|
|
141
|
+
externalId: string | null;
|
|
142
|
+
title: string;
|
|
139
143
|
status: import("../..").JOB_STATUS;
|
|
144
|
+
error: string | null;
|
|
145
|
+
internalError?: string | null | undefined;
|
|
146
|
+
modelId: string;
|
|
147
|
+
price: number;
|
|
140
148
|
params: {
|
|
141
|
-
aspectRatio?: string | undefined;
|
|
142
149
|
attachedFiles?: {
|
|
143
150
|
uuid: string;
|
|
144
|
-
type: import("../..").FILE_TYPE;
|
|
145
|
-
name: string;
|
|
146
151
|
url: string;
|
|
152
|
+
name: string;
|
|
147
153
|
mimeType: string;
|
|
154
|
+
type: import("../..").FILE_TYPE;
|
|
148
155
|
size: number;
|
|
149
156
|
duration?: number | null | undefined;
|
|
150
157
|
}[] | undefined;
|
|
151
158
|
imageUrls?: string[] | undefined;
|
|
152
159
|
systemPromptId?: string | undefined;
|
|
160
|
+
aspectRatio?: string | undefined;
|
|
153
161
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
154
162
|
};
|
|
155
|
-
|
|
156
|
-
updatedAt: string | Date;
|
|
157
|
-
title: string;
|
|
158
|
-
error: string | null;
|
|
159
|
-
modelId: string;
|
|
160
|
-
prompt: string;
|
|
161
|
-
reaction: import("../..").USER_REACTION | null;
|
|
162
|
-
dislikeReason: string | null;
|
|
163
|
-
externalId: string | null;
|
|
163
|
+
imageUrls?: string[] | undefined;
|
|
164
164
|
attempts: any[];
|
|
165
|
-
isDeleted: boolean;
|
|
166
|
-
postId: string | null;
|
|
167
165
|
userId?: string | null | undefined;
|
|
168
166
|
unregisteredUserId?: string | null | undefined;
|
|
169
|
-
|
|
167
|
+
postId: string | null;
|
|
168
|
+
isDeleted: boolean;
|
|
170
169
|
tokenReservationId?: string | null | undefined;
|
|
170
|
+
createdAt: string | Date;
|
|
171
171
|
completedAt?: string | Date | null | undefined;
|
|
172
|
-
|
|
172
|
+
updatedAt: string | Date;
|
|
173
173
|
}>, "many">;
|
|
174
174
|
meta: z.ZodObject<{
|
|
175
175
|
limit: z.ZodNumber;
|
|
@@ -186,42 +186,42 @@ export declare namespace FindImageEditorJobsCommand {
|
|
|
186
186
|
}>;
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
188
|
data: {
|
|
189
|
-
price: number;
|
|
190
189
|
uuid: string;
|
|
190
|
+
prompt: string;
|
|
191
|
+
reaction: import("../..").USER_REACTION | null;
|
|
192
|
+
dislikeReason: string | null;
|
|
193
|
+
externalId: string | null;
|
|
194
|
+
title: string;
|
|
191
195
|
status: import("../..").JOB_STATUS;
|
|
196
|
+
error: string | null;
|
|
197
|
+
internalError?: string | null | undefined;
|
|
198
|
+
modelId: string;
|
|
199
|
+
price: number;
|
|
192
200
|
params: {
|
|
193
|
-
aspectRatio?: string | undefined;
|
|
194
201
|
attachedFiles?: {
|
|
195
202
|
uuid: string;
|
|
196
|
-
type: import("../..").FILE_TYPE;
|
|
197
|
-
name: string;
|
|
198
203
|
url: string;
|
|
204
|
+
name: string;
|
|
199
205
|
mimeType: string;
|
|
206
|
+
type: import("../..").FILE_TYPE;
|
|
200
207
|
size: number;
|
|
201
208
|
duration?: number | null | undefined;
|
|
202
209
|
}[] | undefined;
|
|
203
210
|
imageUrls?: string[] | undefined;
|
|
204
211
|
systemPromptId?: string | undefined;
|
|
212
|
+
aspectRatio?: string | undefined;
|
|
205
213
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
206
214
|
};
|
|
207
|
-
createdAt: string | Date;
|
|
208
|
-
updatedAt: string | Date;
|
|
209
|
-
title: string;
|
|
210
|
-
error: string | null;
|
|
211
|
-
modelId: string;
|
|
212
|
-
prompt: string;
|
|
213
|
-
reaction: import("../..").USER_REACTION | null;
|
|
214
|
-
dislikeReason: string | null;
|
|
215
|
-
externalId: string | null;
|
|
216
|
-
attempts: any[];
|
|
217
|
-
isDeleted: boolean;
|
|
218
215
|
imageUrls: string[];
|
|
219
|
-
|
|
216
|
+
attempts: any[];
|
|
220
217
|
userId?: string | null | undefined;
|
|
221
218
|
unregisteredUserId?: string | null | undefined;
|
|
222
|
-
|
|
219
|
+
postId: string | null;
|
|
220
|
+
isDeleted: boolean;
|
|
223
221
|
tokenReservationId?: string | null | undefined;
|
|
222
|
+
createdAt: string | Date;
|
|
224
223
|
completedAt?: string | Date | null | undefined;
|
|
224
|
+
updatedAt: string | Date;
|
|
225
225
|
}[];
|
|
226
226
|
meta: {
|
|
227
227
|
limit: number;
|
|
@@ -230,42 +230,42 @@ export declare namespace FindImageEditorJobsCommand {
|
|
|
230
230
|
};
|
|
231
231
|
}, {
|
|
232
232
|
data: {
|
|
233
|
-
price: number;
|
|
234
233
|
uuid: string;
|
|
234
|
+
prompt: string;
|
|
235
|
+
reaction: import("../..").USER_REACTION | null;
|
|
236
|
+
dislikeReason: string | null;
|
|
237
|
+
externalId: string | null;
|
|
238
|
+
title: string;
|
|
235
239
|
status: import("../..").JOB_STATUS;
|
|
240
|
+
error: string | null;
|
|
241
|
+
internalError?: string | null | undefined;
|
|
242
|
+
modelId: string;
|
|
243
|
+
price: number;
|
|
236
244
|
params: {
|
|
237
|
-
aspectRatio?: string | undefined;
|
|
238
245
|
attachedFiles?: {
|
|
239
246
|
uuid: string;
|
|
240
|
-
type: import("../..").FILE_TYPE;
|
|
241
|
-
name: string;
|
|
242
247
|
url: string;
|
|
248
|
+
name: string;
|
|
243
249
|
mimeType: string;
|
|
250
|
+
type: import("../..").FILE_TYPE;
|
|
244
251
|
size: number;
|
|
245
252
|
duration?: number | null | undefined;
|
|
246
253
|
}[] | undefined;
|
|
247
254
|
imageUrls?: string[] | undefined;
|
|
248
255
|
systemPromptId?: string | undefined;
|
|
256
|
+
aspectRatio?: string | undefined;
|
|
249
257
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
250
258
|
};
|
|
251
|
-
|
|
252
|
-
updatedAt: string | Date;
|
|
253
|
-
title: string;
|
|
254
|
-
error: string | null;
|
|
255
|
-
modelId: string;
|
|
256
|
-
prompt: string;
|
|
257
|
-
reaction: import("../..").USER_REACTION | null;
|
|
258
|
-
dislikeReason: string | null;
|
|
259
|
-
externalId: string | null;
|
|
259
|
+
imageUrls?: string[] | undefined;
|
|
260
260
|
attempts: any[];
|
|
261
|
-
isDeleted: boolean;
|
|
262
|
-
postId: string | null;
|
|
263
261
|
userId?: string | null | undefined;
|
|
264
262
|
unregisteredUserId?: string | null | undefined;
|
|
265
|
-
|
|
263
|
+
postId: string | null;
|
|
264
|
+
isDeleted: boolean;
|
|
266
265
|
tokenReservationId?: string | null | undefined;
|
|
266
|
+
createdAt: string | Date;
|
|
267
267
|
completedAt?: string | Date | null | undefined;
|
|
268
|
-
|
|
268
|
+
updatedAt: string | Date;
|
|
269
269
|
}[];
|
|
270
270
|
meta: {
|
|
271
271
|
limit: number;
|