@purpleschool/multisite 0.0.27 → 0.0.29
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 +100 -88
- package/build/commands/image-editor/execute-image-editor.command.d.ts.map +1 -1
- package/build/commands/image-editor/proxy-image-editor-callback.command.d.ts +2 -2
- package/build/commands/image-editor/proxy-image-editor-callback.command.js +1 -1
- package/build/commands/image-editor/retry-image-editor-job.command.d.ts +101 -89
- package/build/commands/image-editor/retry-image-editor-job.command.d.ts.map +1 -1
- package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts +85 -78
- package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts.map +1 -1
- package/build/commands/image-editor/update-image-editor-job-title.command.d.ts +85 -78
- package/build/commands/image-editor/update-image-editor-job-title.command.d.ts.map +1 -1
- 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/image-editor/enums/image-editing-strategy.enum.d.ts +2 -1
- package/build/constants/image-editor/enums/image-editing-strategy.enum.d.ts.map +1 -1
- package/build/constants/image-editor/enums/image-editing-strategy.enum.js +1 -0
- package/build/constants/subscription/free-subscription-id.constant.d.ts +1 -1
- package/build/helpers/image-generation/calculate-image-generation-price.helper.d.ts +4 -2
- package/build/helpers/image-generation/calculate-image-generation-price.helper.d.ts.map +1 -1
- package/build/helpers/index.d.ts +1 -0
- package/build/helpers/index.d.ts.map +1 -1
- package/build/helpers/index.js +1 -0
- package/build/helpers/openai-image-2/calculate-openai-image-2-price.helper.d.ts +20 -0
- package/build/helpers/openai-image-2/calculate-openai-image-2-price.helper.d.ts.map +1 -0
- package/build/helpers/openai-image-2/calculate-openai-image-2-price.helper.js +125 -0
- package/build/helpers/openai-image-2/index.d.ts +2 -0
- package/build/helpers/openai-image-2/index.d.ts.map +1 -0
- package/build/helpers/openai-image-2/index.js +17 -0
- 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 +153 -128
- package/build/models/image-editor/image-editor-config.schema.d.ts.map +1 -1
- package/build/models/image-editor/image-editor-job-params.schema.d.ts +13 -10
- package/build/models/image-editor/image-editor-job-params.schema.d.ts.map +1 -1
- package/build/models/image-editor/image-editor-job-params.schema.js +1 -0
- package/build/models/image-editor/image-editor-job-request-params.schema.d.ts +7 -4
- package/build/models/image-editor/image-editor-job-request-params.schema.d.ts.map +1 -1
- package/build/models/image-editor/image-editor-job-request-params.schema.js +2 -1
- package/build/models/image-editor/image-editor-job.schema.d.ts +49 -44
- package/build/models/image-editor/image-editor-job.schema.d.ts.map +1 -1
- package/build/models/image-editor/image-editor-model-params.schema.d.ts +18 -5
- package/build/models/image-editor/image-editor-model-params.schema.d.ts.map +1 -1
- package/build/models/image-editor/image-editor-model-params.schema.js +5 -0
- package/build/models/image-editor/image-editor-model.schema.d.ts +63 -44
- package/build/models/image-editor/image-editor-model.schema.d.ts.map +1 -1
- 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 +86 -79
- package/build/queries/image-editor/find-image-editor-jobs.command.d.ts.map +1 -1
- package/build/queries/image-editor/get-image-editor-config.command.d.ts +217 -186
- package/build/queries/image-editor/get-image-editor-config.command.d.ts.map +1 -1
- package/build/queries/image-editor/get-image-editor-job.command.d.ts +85 -78
- package/build/queries/image-editor/get-image-editor-job.command.d.ts.map +1 -1
- 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/commands/image-editor/proxy-image-editor-callback.command.ts +1 -1
- package/constants/email/email-endpoint.ts +1 -1
- package/constants/errors/errors.ts +10 -0
- package/constants/image-editor/enums/image-editing-strategy.enum.ts +1 -0
- package/helpers/image-generation/calculate-image-generation-price.helper.ts +4 -2
- package/helpers/index.ts +1 -0
- package/helpers/openai-image-2/calculate-openai-image-2-price.helper.ts +160 -0
- package/helpers/openai-image-2/index.ts +1 -0
- package/models/image-editor/image-editor-job-params.schema.ts +1 -0
- package/models/image-editor/image-editor-job-request-params.schema.ts +2 -1
- package/models/image-editor/image-editor-model-params.schema.ts +5 -0
- 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,52 +38,55 @@ 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">>;
|
|
56
56
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
57
57
|
systemPromptId: z.ZodOptional<z.ZodString>;
|
|
58
58
|
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
59
|
+
resolution: z.ZodOptional<z.ZodString>;
|
|
59
60
|
userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
|
|
60
61
|
}, "strip", z.ZodTypeAny, {
|
|
61
|
-
aspectRatio?: string | undefined;
|
|
62
62
|
attachedFiles?: {
|
|
63
63
|
uuid: string;
|
|
64
|
-
type: import("../..").FILE_TYPE;
|
|
65
|
-
name: string;
|
|
66
64
|
url: string;
|
|
65
|
+
name: string;
|
|
67
66
|
mimeType: string;
|
|
67
|
+
type: import("../..").FILE_TYPE;
|
|
68
68
|
size: number;
|
|
69
69
|
duration?: number | null | undefined;
|
|
70
70
|
}[] | undefined;
|
|
71
71
|
imageUrls?: string[] | undefined;
|
|
72
72
|
systemPromptId?: string | undefined;
|
|
73
|
+
aspectRatio?: string | undefined;
|
|
74
|
+
resolution?: string | undefined;
|
|
73
75
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
74
76
|
}, {
|
|
75
|
-
aspectRatio?: string | undefined;
|
|
76
77
|
attachedFiles?: {
|
|
77
78
|
uuid: string;
|
|
78
|
-
type: import("../..").FILE_TYPE;
|
|
79
|
-
name: string;
|
|
80
79
|
url: string;
|
|
80
|
+
name: string;
|
|
81
81
|
mimeType: string;
|
|
82
|
+
type: import("../..").FILE_TYPE;
|
|
82
83
|
size: number;
|
|
83
84
|
duration?: number | null | undefined;
|
|
84
85
|
}[] | undefined;
|
|
85
86
|
imageUrls?: string[] | undefined;
|
|
86
87
|
systemPromptId?: string | undefined;
|
|
88
|
+
aspectRatio?: string | undefined;
|
|
89
|
+
resolution?: string | undefined;
|
|
87
90
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
88
91
|
}>;
|
|
89
92
|
imageUrls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -97,79 +100,81 @@ export declare namespace FindImageEditorJobsCommand {
|
|
|
97
100
|
completedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodDate]>>>;
|
|
98
101
|
updatedAt: z.ZodUnion<[z.ZodString, z.ZodDate]>;
|
|
99
102
|
}, "strip", z.ZodTypeAny, {
|
|
100
|
-
price: number;
|
|
101
103
|
uuid: string;
|
|
104
|
+
prompt: string;
|
|
105
|
+
reaction: import("../..").USER_REACTION | null;
|
|
106
|
+
dislikeReason: string | null;
|
|
107
|
+
externalId: string | null;
|
|
108
|
+
title: string;
|
|
102
109
|
status: import("../..").JOB_STATUS;
|
|
110
|
+
error: string | null;
|
|
111
|
+
internalError?: string | null | undefined;
|
|
112
|
+
modelId: string;
|
|
113
|
+
price: number;
|
|
103
114
|
params: {
|
|
104
|
-
aspectRatio?: string | undefined;
|
|
105
115
|
attachedFiles?: {
|
|
106
116
|
uuid: string;
|
|
107
|
-
type: import("../..").FILE_TYPE;
|
|
108
|
-
name: string;
|
|
109
117
|
url: string;
|
|
118
|
+
name: string;
|
|
110
119
|
mimeType: string;
|
|
120
|
+
type: import("../..").FILE_TYPE;
|
|
111
121
|
size: number;
|
|
112
122
|
duration?: number | null | undefined;
|
|
113
123
|
}[] | undefined;
|
|
114
124
|
imageUrls?: string[] | undefined;
|
|
115
125
|
systemPromptId?: string | undefined;
|
|
126
|
+
aspectRatio?: string | undefined;
|
|
127
|
+
resolution?: string | undefined;
|
|
116
128
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
117
129
|
};
|
|
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
130
|
imageUrls: string[];
|
|
130
|
-
|
|
131
|
+
attempts: any[];
|
|
131
132
|
userId?: string | null | undefined;
|
|
132
133
|
unregisteredUserId?: string | null | undefined;
|
|
133
|
-
|
|
134
|
+
postId: string | null;
|
|
135
|
+
isDeleted: boolean;
|
|
134
136
|
tokenReservationId?: string | null | undefined;
|
|
137
|
+
createdAt: string | Date;
|
|
135
138
|
completedAt?: string | Date | null | undefined;
|
|
139
|
+
updatedAt: string | Date;
|
|
136
140
|
}, {
|
|
137
|
-
price: number;
|
|
138
141
|
uuid: string;
|
|
142
|
+
prompt: string;
|
|
143
|
+
reaction: import("../..").USER_REACTION | null;
|
|
144
|
+
dislikeReason: string | null;
|
|
145
|
+
externalId: string | null;
|
|
146
|
+
title: string;
|
|
139
147
|
status: import("../..").JOB_STATUS;
|
|
148
|
+
error: string | null;
|
|
149
|
+
internalError?: string | null | undefined;
|
|
150
|
+
modelId: string;
|
|
151
|
+
price: number;
|
|
140
152
|
params: {
|
|
141
|
-
aspectRatio?: string | undefined;
|
|
142
153
|
attachedFiles?: {
|
|
143
154
|
uuid: string;
|
|
144
|
-
type: import("../..").FILE_TYPE;
|
|
145
|
-
name: string;
|
|
146
155
|
url: string;
|
|
156
|
+
name: string;
|
|
147
157
|
mimeType: string;
|
|
158
|
+
type: import("../..").FILE_TYPE;
|
|
148
159
|
size: number;
|
|
149
160
|
duration?: number | null | undefined;
|
|
150
161
|
}[] | undefined;
|
|
151
162
|
imageUrls?: string[] | undefined;
|
|
152
163
|
systemPromptId?: string | undefined;
|
|
164
|
+
aspectRatio?: string | undefined;
|
|
165
|
+
resolution?: string | undefined;
|
|
153
166
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
154
167
|
};
|
|
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;
|
|
168
|
+
imageUrls?: string[] | undefined;
|
|
164
169
|
attempts: any[];
|
|
165
|
-
isDeleted: boolean;
|
|
166
|
-
postId: string | null;
|
|
167
170
|
userId?: string | null | undefined;
|
|
168
171
|
unregisteredUserId?: string | null | undefined;
|
|
169
|
-
|
|
172
|
+
postId: string | null;
|
|
173
|
+
isDeleted: boolean;
|
|
170
174
|
tokenReservationId?: string | null | undefined;
|
|
175
|
+
createdAt: string | Date;
|
|
171
176
|
completedAt?: string | Date | null | undefined;
|
|
172
|
-
|
|
177
|
+
updatedAt: string | Date;
|
|
173
178
|
}>, "many">;
|
|
174
179
|
meta: z.ZodObject<{
|
|
175
180
|
limit: z.ZodNumber;
|
|
@@ -186,42 +191,43 @@ export declare namespace FindImageEditorJobsCommand {
|
|
|
186
191
|
}>;
|
|
187
192
|
}, "strip", z.ZodTypeAny, {
|
|
188
193
|
data: {
|
|
189
|
-
price: number;
|
|
190
194
|
uuid: string;
|
|
195
|
+
prompt: string;
|
|
196
|
+
reaction: import("../..").USER_REACTION | null;
|
|
197
|
+
dislikeReason: string | null;
|
|
198
|
+
externalId: string | null;
|
|
199
|
+
title: string;
|
|
191
200
|
status: import("../..").JOB_STATUS;
|
|
201
|
+
error: string | null;
|
|
202
|
+
internalError?: string | null | undefined;
|
|
203
|
+
modelId: string;
|
|
204
|
+
price: number;
|
|
192
205
|
params: {
|
|
193
|
-
aspectRatio?: string | undefined;
|
|
194
206
|
attachedFiles?: {
|
|
195
207
|
uuid: string;
|
|
196
|
-
type: import("../..").FILE_TYPE;
|
|
197
|
-
name: string;
|
|
198
208
|
url: string;
|
|
209
|
+
name: string;
|
|
199
210
|
mimeType: string;
|
|
211
|
+
type: import("../..").FILE_TYPE;
|
|
200
212
|
size: number;
|
|
201
213
|
duration?: number | null | undefined;
|
|
202
214
|
}[] | undefined;
|
|
203
215
|
imageUrls?: string[] | undefined;
|
|
204
216
|
systemPromptId?: string | undefined;
|
|
217
|
+
aspectRatio?: string | undefined;
|
|
218
|
+
resolution?: string | undefined;
|
|
205
219
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
206
220
|
};
|
|
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
221
|
imageUrls: string[];
|
|
219
|
-
|
|
222
|
+
attempts: any[];
|
|
220
223
|
userId?: string | null | undefined;
|
|
221
224
|
unregisteredUserId?: string | null | undefined;
|
|
222
|
-
|
|
225
|
+
postId: string | null;
|
|
226
|
+
isDeleted: boolean;
|
|
223
227
|
tokenReservationId?: string | null | undefined;
|
|
228
|
+
createdAt: string | Date;
|
|
224
229
|
completedAt?: string | Date | null | undefined;
|
|
230
|
+
updatedAt: string | Date;
|
|
225
231
|
}[];
|
|
226
232
|
meta: {
|
|
227
233
|
limit: number;
|
|
@@ -230,42 +236,43 @@ export declare namespace FindImageEditorJobsCommand {
|
|
|
230
236
|
};
|
|
231
237
|
}, {
|
|
232
238
|
data: {
|
|
233
|
-
price: number;
|
|
234
239
|
uuid: string;
|
|
240
|
+
prompt: string;
|
|
241
|
+
reaction: import("../..").USER_REACTION | null;
|
|
242
|
+
dislikeReason: string | null;
|
|
243
|
+
externalId: string | null;
|
|
244
|
+
title: string;
|
|
235
245
|
status: import("../..").JOB_STATUS;
|
|
246
|
+
error: string | null;
|
|
247
|
+
internalError?: string | null | undefined;
|
|
248
|
+
modelId: string;
|
|
249
|
+
price: number;
|
|
236
250
|
params: {
|
|
237
|
-
aspectRatio?: string | undefined;
|
|
238
251
|
attachedFiles?: {
|
|
239
252
|
uuid: string;
|
|
240
|
-
type: import("../..").FILE_TYPE;
|
|
241
|
-
name: string;
|
|
242
253
|
url: string;
|
|
254
|
+
name: string;
|
|
243
255
|
mimeType: string;
|
|
256
|
+
type: import("../..").FILE_TYPE;
|
|
244
257
|
size: number;
|
|
245
258
|
duration?: number | null | undefined;
|
|
246
259
|
}[] | undefined;
|
|
247
260
|
imageUrls?: string[] | undefined;
|
|
248
261
|
systemPromptId?: string | undefined;
|
|
262
|
+
aspectRatio?: string | undefined;
|
|
263
|
+
resolution?: string | undefined;
|
|
249
264
|
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
250
265
|
};
|
|
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;
|
|
266
|
+
imageUrls?: string[] | undefined;
|
|
260
267
|
attempts: any[];
|
|
261
|
-
isDeleted: boolean;
|
|
262
|
-
postId: string | null;
|
|
263
268
|
userId?: string | null | undefined;
|
|
264
269
|
unregisteredUserId?: string | null | undefined;
|
|
265
|
-
|
|
270
|
+
postId: string | null;
|
|
271
|
+
isDeleted: boolean;
|
|
266
272
|
tokenReservationId?: string | null | undefined;
|
|
273
|
+
createdAt: string | Date;
|
|
267
274
|
completedAt?: string | Date | null | undefined;
|
|
268
|
-
|
|
275
|
+
updatedAt: string | Date;
|
|
269
276
|
}[];
|
|
270
277
|
meta: {
|
|
271
278
|
limit: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-image-editor-jobs.command.d.ts","sourceRoot":"","sources":["../../../queries/image-editor/find-image-editor-jobs.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,kBAAkB;;;;;;;;;;;;MAI7B,CAAC;IACH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"find-image-editor-jobs.command.d.ts","sourceRoot":"","sources":["../../../queries/image-editor/find-image-editor-jobs.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,0BAA0B,CAAC;IACjC,MAAM,kBAAkB;;;;;;;;;;;;MAI7B,CAAC;IACH,KAAY,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;IAEvD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|