@purpleschool/multisite 0.0.2 → 0.0.4
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/api/controller/http/ai-proxy.ts +6 -0
- package/api/controller/http/auth.ts +14 -0
- package/api/controller/http/cloud-payments.ts +5 -0
- package/api/controller/http/file.ts +6 -0
- package/api/controller/http/health.ts +3 -0
- package/api/controller/http/image-editor.ts +15 -0
- package/api/controller/http/image-generation.ts +15 -0
- package/api/controller/http/index.ts +16 -0
- package/api/controller/http/marketplace-card.ts +15 -0
- package/api/controller/http/page-question.ts +9 -0
- package/api/controller/http/page.ts +12 -0
- package/api/controller/http/payment.ts +5 -0
- package/api/controller/http/product.ts +7 -0
- package/api/controller/http/subscription.ts +7 -0
- package/api/controller/http/transaction.ts +5 -0
- package/api/controller/http/unregistered-user.ts +1 -0
- package/api/controller/http/user.ts +5 -0
- package/api/controller/index.ts +1 -0
- package/api/index.ts +2 -0
- package/api/routes.ts +109 -0
- package/build/api/controller/http/index.d.ts +1 -0
- package/build/api/controller/http/index.d.ts.map +1 -1
- package/build/api/controller/http/index.js +1 -0
- package/build/api/controller/http/marketplace-card.d.ts +15 -0
- package/build/api/controller/http/marketplace-card.d.ts.map +1 -0
- package/build/api/controller/http/marketplace-card.js +17 -0
- package/build/api/routes.d.ts +23 -0
- package/build/api/routes.d.ts.map +1 -1
- package/build/api/routes.js +23 -0
- package/build/commands/index.d.ts +1 -0
- package/build/commands/index.d.ts.map +1 -1
- package/build/commands/index.js +1 -0
- package/build/commands/marketplace-card/execute-marketplace-card.command.d.ts +155 -0
- package/build/commands/marketplace-card/execute-marketplace-card.command.d.ts.map +1 -0
- package/build/commands/marketplace-card/execute-marketplace-card.command.js +12 -0
- package/build/commands/marketplace-card/index.d.ts +7 -0
- package/build/commands/marketplace-card/index.d.ts.map +1 -0
- package/build/commands/marketplace-card/index.js +22 -0
- package/build/commands/marketplace-card/retry-marketplace-card-job.command.d.ts +163 -0
- package/build/commands/marketplace-card/retry-marketplace-card-job.command.d.ts.map +1 -0
- package/build/commands/marketplace-card/retry-marketplace-card-job.command.js +25 -0
- package/build/commands/marketplace-card/set-reaction-to-marketplace-card-job.command.d.ts +143 -0
- package/build/commands/marketplace-card/set-reaction-to-marketplace-card-job.command.d.ts.map +1 -0
- package/build/commands/marketplace-card/set-reaction-to-marketplace-card-job.command.js +19 -0
- package/build/commands/marketplace-card/soft-delete-marketplace-card-job-by-uuid.command.d.ts +20 -0
- package/build/commands/marketplace-card/soft-delete-marketplace-card-job-by-uuid.command.d.ts.map +1 -0
- package/build/commands/marketplace-card/soft-delete-marketplace-card-job-by-uuid.command.js +13 -0
- package/build/commands/marketplace-card/soft-delete-marketplace-card-jobs-by-criteria.command.d.ts +12 -0
- package/build/commands/marketplace-card/soft-delete-marketplace-card-jobs-by-criteria.command.d.ts.map +1 -0
- package/build/commands/marketplace-card/soft-delete-marketplace-card-jobs-by-criteria.command.js +10 -0
- package/build/commands/marketplace-card/update-marketplace-card-job-title.command.d.ts +139 -0
- package/build/commands/marketplace-card/update-marketplace-card-job-title.command.d.ts.map +1 -0
- package/build/commands/marketplace-card/update-marketplace-card-job-title.command.js +17 -0
- package/build/constants/errors/errors.d.ts +90 -0
- package/build/constants/errors/errors.d.ts.map +1 -1
- package/build/constants/errors/errors.js +91 -0
- package/build/constants/tools/enums/index.d.ts +1 -0
- package/build/constants/tools/enums/index.d.ts.map +1 -1
- package/build/constants/tools/enums/index.js +1 -0
- package/build/constants/tools/enums/marketplace-card-strategy.enum.d.ts +7 -0
- package/build/constants/tools/enums/marketplace-card-strategy.enum.d.ts.map +1 -0
- package/build/constants/tools/enums/marketplace-card-strategy.enum.js +10 -0
- package/build/constants/tools/enums/tool-type.enum.d.ts +2 -1
- package/build/constants/tools/enums/tool-type.enum.d.ts.map +1 -1
- package/build/constants/tools/enums/tool-type.enum.js +1 -0
- package/build/models/index.d.ts +1 -0
- package/build/models/index.d.ts.map +1 -1
- package/build/models/index.js +1 -0
- package/build/models/marketplace-card/index.d.ts +7 -0
- package/build/models/marketplace-card/index.d.ts.map +1 -0
- package/build/models/marketplace-card/index.js +22 -0
- package/build/models/marketplace-card/marketplace-card-config.schema.d.ts +203 -0
- package/build/models/marketplace-card/marketplace-card-config.schema.d.ts.map +1 -0
- package/build/models/marketplace-card/marketplace-card-config.schema.js +10 -0
- package/build/models/marketplace-card/marketplace-card-job-request-params.schema.d.ts +34 -0
- package/build/models/marketplace-card/marketplace-card-job-request-params.schema.d.ts.map +1 -0
- package/build/models/marketplace-card/marketplace-card-job-request-params.schema.js +15 -0
- package/build/models/marketplace-card/marketplace-card-job.schema.d.ts +74 -0
- package/build/models/marketplace-card/marketplace-card-job.schema.d.ts.map +1 -0
- package/build/models/marketplace-card/marketplace-card-job.schema.js +28 -0
- package/build/models/marketplace-card/marketplace-card-model-params.schema.d.ts +30 -0
- package/build/models/marketplace-card/marketplace-card-model-params.schema.d.ts.map +1 -0
- package/build/models/marketplace-card/marketplace-card-model-params.schema.js +11 -0
- package/build/models/marketplace-card/marketplace-card-model.schema.d.ts +123 -0
- package/build/models/marketplace-card/marketplace-card-model.schema.d.ts.map +1 -0
- package/build/models/marketplace-card/marketplace-card-model.schema.js +15 -0
- package/build/models/marketplace-card/marketplace-card-style-preset.schema.d.ts +19 -0
- package/build/models/marketplace-card/marketplace-card-style-preset.schema.d.ts.map +1 -0
- package/build/models/marketplace-card/marketplace-card-style-preset.schema.js +10 -0
- package/build/queries/index.d.ts +1 -0
- package/build/queries/index.d.ts.map +1 -1
- package/build/queries/index.js +1 -0
- package/build/queries/marketplace-card/find-marketplace-card-jobs.command.d.ts +160 -0
- package/build/queries/marketplace-card/find-marketplace-card-jobs.command.d.ts.map +1 -0
- package/build/queries/marketplace-card/find-marketplace-card-jobs.command.js +21 -0
- package/build/queries/marketplace-card/get-marketplace-card-config.command.d.ts +273 -0
- package/build/queries/marketplace-card/get-marketplace-card-config.command.d.ts.map +1 -0
- package/build/queries/marketplace-card/get-marketplace-card-config.command.js +11 -0
- package/build/queries/marketplace-card/get-marketplace-card-job.command.d.ts +131 -0
- package/build/queries/marketplace-card/get-marketplace-card-job.command.d.ts.map +1 -0
- package/build/queries/marketplace-card/get-marketplace-card-job.command.js +14 -0
- package/build/queries/marketplace-card/get-marketplace-card-price.command.d.ts +30 -0
- package/build/queries/marketplace-card/get-marketplace-card-price.command.d.ts.map +1 -0
- package/build/queries/marketplace-card/get-marketplace-card-price.command.js +15 -0
- package/build/queries/marketplace-card/index.d.ts +5 -0
- package/build/queries/marketplace-card/index.d.ts.map +1 -0
- package/build/queries/marketplace-card/index.js +20 -0
- package/commands/auth/create-user.command.ts +18 -0
- package/commands/auth/index.ts +9 -0
- package/commands/auth/login.command.ts +17 -0
- package/commands/auth/register.command.ts +20 -0
- package/commands/auth/reset-password.command.ts +19 -0
- package/commands/auth/restore-password.command.ts +16 -0
- package/commands/auth/verify-email-retry.command.ts +17 -0
- package/commands/auth/verify-email.command.ts +18 -0
- package/commands/auth/vk-login.command.ts +21 -0
- package/commands/auth/yandex-login.command.ts +19 -0
- package/commands/file/index.ts +1 -0
- package/commands/file/upload-file.command.ts +9 -0
- package/commands/image-editor/execute-image-editor.command.ts +18 -0
- package/commands/image-editor/index.ts +7 -0
- package/commands/image-editor/proxy-image-editor-callback.command.ts +15 -0
- package/commands/image-editor/retry-image-editor-job.command.ts +17 -0
- package/commands/image-editor/set-reaction-to-image-editor-job.command.ts +18 -0
- package/commands/image-editor/soft-delete-image-editor-job-by-uuid.command.ts +8 -0
- package/commands/image-editor/soft-delete-image-editor-jobs-by-criteria.command.ts +8 -0
- package/commands/image-editor/update-image-editor-job-title.command.ts +16 -0
- package/commands/image-generation/execute-image-generation.command.ts +19 -0
- package/commands/image-generation/index.ts +7 -0
- package/commands/image-generation/proxy-image-generation-callback.command.ts +21 -0
- package/commands/image-generation/retry-image-generation-job.command.ts +19 -0
- package/commands/image-generation/set-reaction-to-image-generation-job.command.ts +28 -0
- package/commands/image-generation/soft-delete-image-generation-job-by-uuid.command.ts +9 -0
- package/commands/image-generation/soft-delete-image-generation-jobs-by-criteria.command.ts +9 -0
- package/commands/image-generation/update-image-generation-job-title.command.ts +16 -0
- package/commands/index.ts +11 -0
- package/commands/marketplace-card/execute-marketplace-card.command.ts +12 -0
- package/commands/marketplace-card/index.ts +6 -0
- package/commands/marketplace-card/retry-marketplace-card-job.command.ts +27 -0
- package/commands/marketplace-card/set-reaction-to-marketplace-card-job.command.ts +21 -0
- package/commands/marketplace-card/soft-delete-marketplace-card-job-by-uuid.command.ts +13 -0
- package/commands/marketplace-card/soft-delete-marketplace-card-jobs-by-criteria.command.ts +8 -0
- package/commands/marketplace-card/update-marketplace-card-job-title.command.ts +19 -0
- package/commands/page/create-page-question.command.ts +18 -0
- package/commands/page/create-page.command.ts +18 -0
- package/commands/page/delete-page-question.command.ts +14 -0
- package/commands/page/delete-page.command.ts +12 -0
- package/commands/page/find-page-by-alias.command.ts +28 -0
- package/commands/page/find-page-by-criteria.command.ts +24 -0
- package/commands/page/find-page.command.ts +22 -0
- package/commands/page/index.ts +9 -0
- package/commands/page/update-page-question.command.ts +24 -0
- package/commands/page/update-page.command.ts +24 -0
- package/commands/payment/cloud-payments.command.ts +53 -0
- package/commands/payment/index.ts +1 -0
- package/commands/product/buy-product.command.ts +19 -0
- package/commands/product/index.ts +1 -0
- package/commands/subscription/buy-subscription.command.ts +19 -0
- package/commands/subscription/index.ts +1 -0
- package/commands/transaction/index.ts +1 -0
- package/commands/transaction/write-off.command.ts +19 -0
- package/commands/unregistered-user/index.ts +1 -0
- package/commands/unregistered-user/upsert-unregistered-user.command.ts +16 -0
- package/constants/common/enums/index.ts +1 -0
- package/constants/common/enums/user-reaction.enum.ts +4 -0
- package/constants/common/index.ts +1 -0
- package/constants/email/email-endpoint.ts +1 -0
- package/constants/email/index.ts +2 -0
- package/constants/email/subjects.ts +12 -0
- package/constants/errors/errors.ts +682 -0
- package/constants/errors/index.ts +1 -0
- package/constants/files/enums/file-type.enum.ts +3 -0
- package/constants/files/enums/index.ts +1 -0
- package/constants/files/index.ts +1 -0
- package/constants/image-editor/enums/image-editing-strategy.enum.ts +9 -0
- package/constants/image-editor/enums/image-editor-model-type.enum.ts +5 -0
- package/constants/image-editor/enums/index.ts +2 -0
- package/constants/image-editor/index.ts +1 -0
- package/constants/image-generation/enums/image-generation-model-strategy.enum.ts +15 -0
- package/constants/image-generation/enums/image-generation-resolution.enum.ts +5 -0
- package/constants/image-generation/enums/index.ts +2 -0
- package/constants/image-generation/index.ts +1 -0
- package/constants/index.ts +15 -0
- package/constants/order/enums/index.ts +2 -0
- package/constants/order/enums/order-status.enum.ts +5 -0
- package/constants/order/enums/order-type.enum.ts +3 -0
- package/constants/order/index.ts +1 -0
- package/constants/page/enums/page-type.enum.ts +5 -0
- package/constants/page/index.ts +1 -0
- package/constants/payment/enums/index.ts +1 -0
- package/constants/payment/enums/payment-status.enum.ts +3 -0
- package/constants/payment/index.ts +1 -0
- package/constants/subscription/free-subscription-id.constant.ts +1 -0
- package/constants/subscription/index.ts +1 -0
- package/constants/tools/enums/index.ts +5 -0
- package/constants/tools/enums/job-request-origin.enum.ts +3 -0
- package/constants/tools/enums/job-status.enum.ts +5 -0
- package/constants/tools/enums/marketplace-card-strategy.enum.ts +6 -0
- package/constants/tools/enums/tool-model-status.enum.ts +4 -0
- package/constants/tools/enums/tool-type.enum.ts +5 -0
- package/constants/tools/index.ts +1 -0
- package/constants/transaction/enums/index.ts +1 -0
- package/constants/transaction/enums/transaction-status.enum.ts +5 -0
- package/constants/transaction/index.ts +1 -0
- package/constants/user/enums/index.ts +3 -0
- package/constants/user/enums/signup-method.enum.ts +6 -0
- package/constants/user/enums/user-role.enum.ts +5 -0
- package/constants/user/enums/user-status.enum.ts +5 -0
- package/constants/user/index.ts +1 -0
- package/constants/user-to-product/enums/index.ts +1 -0
- package/constants/user-to-product/enums/user-to-product-status.enum.ts +3 -0
- package/constants/user-to-product/index.ts +1 -0
- package/constants/user-to-subscription/enums/index.ts +1 -0
- package/constants/user-to-subscription/enums/user-to-subscription-status.enum.ts +3 -0
- package/constants/user-to-subscription/index.ts +1 -0
- package/index.ts +5 -0
- package/models/cloud-payments-widget-data.schema.ts +18 -0
- package/models/cloud-payments-widget.schema.ts +15 -0
- package/models/common/attached-file.schema.ts +13 -0
- package/models/common/icon-variants.schema.ts +12 -0
- package/models/common/index.ts +4 -0
- package/models/common/json-value.schema.ts +10 -0
- package/models/common/receipt.schema.ts +19 -0
- package/models/file.schema.ts +13 -0
- package/models/image-editor/image-editor-config.schema.ts +10 -0
- package/models/image-editor/image-editor-job-params.schema.ts +12 -0
- package/models/image-editor/image-editor-job-request-params.schema.ts +9 -0
- package/models/image-editor/image-editor-job.schema.ts +30 -0
- package/models/image-editor/image-editor-model-params.schema.ts +18 -0
- package/models/image-editor/image-editor-model.schema.ts +28 -0
- package/models/image-editor/image-editor-pricing-rule.schema.ts +14 -0
- package/models/image-editor/image-editor-prompt-group.schema.ts +13 -0
- package/models/image-editor/image-editor-system-prompt.schema.ts +20 -0
- package/models/image-editor/index.ts +9 -0
- package/models/image-generation/image-generation-config.schema.ts +10 -0
- package/models/image-generation/image-generation-job-attempt.schema.ts +11 -0
- package/models/image-generation/image-generation-job-params.schema.ts +11 -0
- package/models/image-generation/image-generation-job-request-params.schema.ts +10 -0
- package/models/image-generation/image-generation-job.schema.ts +30 -0
- package/models/image-generation/image-generation-model-params.schema.ts +22 -0
- package/models/image-generation/image-generation-model.schema.ts +28 -0
- package/models/image-generation/image-generation-preset.schema.ts +10 -0
- package/models/image-generation/image-generation-pricing-rule.schema.ts +19 -0
- package/models/image-generation/image-generation-vendor.schema.ts +9 -0
- package/models/image-generation/index.ts +10 -0
- package/models/index.ts +13 -0
- package/models/marketplace-card/index.ts +6 -0
- package/models/marketplace-card/marketplace-card-config.schema.ts +10 -0
- package/models/marketplace-card/marketplace-card-job-request-params.schema.ts +15 -0
- package/models/marketplace-card/marketplace-card-job.schema.ts +28 -0
- package/models/marketplace-card/marketplace-card-model-params.schema.ts +11 -0
- package/models/marketplace-card/marketplace-card-model.schema.ts +16 -0
- package/models/marketplace-card/marketplace-card-style-preset.schema.ts +10 -0
- package/models/page-question.schema.ts +10 -0
- package/models/page.schema.ts +40 -0
- package/models/product.schema.ts +10 -0
- package/models/subscription.schema.ts +12 -0
- package/models/tools/index.ts +1 -0
- package/models/tools/vendor.schema.ts +11 -0
- package/models/user.schema.ts +11 -0
- package/package.json +1 -7
- package/queries/file/find-files.command.ts +20 -0
- package/queries/file/get-file.command.ts +14 -0
- package/queries/file/index.ts +2 -0
- package/queries/image-editor/find-image-editor-jobs.command.ts +20 -0
- package/queries/image-editor/get-image-editor-config.command.ts +9 -0
- package/queries/image-editor/get-image-editor-job.command.ts +14 -0
- package/queries/image-editor/get-image-editor-price.command.ts +17 -0
- package/queries/image-editor/index.ts +4 -0
- package/queries/image-generation/find-image-generation-jobs.command.ts +20 -0
- package/queries/image-generation/get-image-generation-config.command.ts +9 -0
- package/queries/image-generation/get-image-generation-job.command.ts +14 -0
- package/queries/image-generation/get-image-generation-price.command.ts +19 -0
- package/queries/image-generation/index.ts +4 -0
- package/queries/index.ts +9 -0
- package/queries/marketplace-card/find-marketplace-card-jobs.command.ts +21 -0
- package/queries/marketplace-card/get-marketplace-card-config.command.ts +9 -0
- package/queries/marketplace-card/get-marketplace-card-job.command.ts +14 -0
- package/queries/marketplace-card/get-marketplace-card-price.command.ts +15 -0
- package/queries/marketplace-card/index.ts +4 -0
- package/queries/page/find-all-page-questions.query.ts +14 -0
- package/queries/page/find-page-question-by-uuid.query.ts +16 -0
- package/queries/page/find-page-questions-by-page-id.query.ts +16 -0
- package/queries/page/index.ts +3 -0
- package/queries/payment/get-payment-history.command.ts +17 -0
- package/queries/payment/index.ts +1 -0
- package/queries/product/find-products.command.ts +9 -0
- package/queries/product/index.ts +1 -0
- package/queries/subscription/find-subscriptions.command.ts +9 -0
- package/queries/subscription/index.ts +1 -0
- package/queries/user/get-my-products.command.ts +19 -0
- package/queries/user/get-my-subscriptions.command.ts +21 -0
- package/queries/user/get-user.command.ts +14 -0
- package/queries/user/index.ts +3 -0
- package/tsconfig.json +104 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./execute-marketplace-card.command"), exports);
|
|
18
|
+
__exportStar(require("./retry-marketplace-card-job.command"), exports);
|
|
19
|
+
__exportStar(require("./set-reaction-to-marketplace-card-job.command"), exports);
|
|
20
|
+
__exportStar(require("./update-marketplace-card-job-title.command"), exports);
|
|
21
|
+
__exportStar(require("./soft-delete-marketplace-card-job-by-uuid.command"), exports);
|
|
22
|
+
__exportStar(require("./soft-delete-marketplace-card-jobs-by-criteria.command"), exports);
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace RetryMarketplaceCardJobCommand {
|
|
3
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
uuid: string;
|
|
7
|
+
}, {
|
|
8
|
+
uuid: string;
|
|
9
|
+
}>;
|
|
10
|
+
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
11
|
+
const RequestBodySchema: z.ZodObject<{
|
|
12
|
+
title: z.ZodOptional<z.ZodString>;
|
|
13
|
+
subtitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
advantages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
15
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
16
|
+
stylePresetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
isCustom: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
customStylePrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
inputImages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
20
|
+
backgroundDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
title?: string | undefined;
|
|
23
|
+
subtitle?: string | null | undefined;
|
|
24
|
+
advantages?: string[] | undefined;
|
|
25
|
+
tags?: string[] | undefined;
|
|
26
|
+
stylePresetId?: string | null | undefined;
|
|
27
|
+
isCustom?: boolean | undefined;
|
|
28
|
+
customStylePrompt?: string | null | undefined;
|
|
29
|
+
inputImages?: string[] | undefined;
|
|
30
|
+
backgroundDescription?: string | null | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
subtitle?: string | null | undefined;
|
|
34
|
+
advantages?: string[] | undefined;
|
|
35
|
+
tags?: string[] | undefined;
|
|
36
|
+
stylePresetId?: string | null | undefined;
|
|
37
|
+
isCustom?: boolean | undefined;
|
|
38
|
+
customStylePrompt?: string | null | undefined;
|
|
39
|
+
inputImages?: string[] | undefined;
|
|
40
|
+
backgroundDescription?: string | null | undefined;
|
|
41
|
+
}>;
|
|
42
|
+
type RequestBody = z.infer<typeof RequestBodySchema>;
|
|
43
|
+
const ResponseSchema: z.ZodObject<{
|
|
44
|
+
data: z.ZodObject<{
|
|
45
|
+
uuid: z.ZodString;
|
|
46
|
+
status: z.ZodNativeEnum<typeof import("../..").JOB_STATUS>;
|
|
47
|
+
error: z.ZodNullable<z.ZodString>;
|
|
48
|
+
title: z.ZodString;
|
|
49
|
+
subtitle: z.ZodNullable<z.ZodString>;
|
|
50
|
+
reaction: z.ZodNullable<z.ZodNativeEnum<typeof import("../..").USER_REACTION>>;
|
|
51
|
+
advantages: z.ZodArray<z.ZodString, "many">;
|
|
52
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
53
|
+
stylePresetId: z.ZodNullable<z.ZodString>;
|
|
54
|
+
isCustom: z.ZodBoolean;
|
|
55
|
+
customStylePrompt: z.ZodNullable<z.ZodString>;
|
|
56
|
+
inputImages: z.ZodArray<z.ZodObject<{
|
|
57
|
+
uuid: z.ZodString;
|
|
58
|
+
url: z.ZodString;
|
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
|
60
|
+
uuid: string;
|
|
61
|
+
url: string;
|
|
62
|
+
}, {
|
|
63
|
+
uuid: string;
|
|
64
|
+
url: string;
|
|
65
|
+
}>, "many">;
|
|
66
|
+
resultImages: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
67
|
+
backgroundDescription: z.ZodNullable<z.ZodString>;
|
|
68
|
+
price: z.ZodNumber;
|
|
69
|
+
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
70
|
+
updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
price: number;
|
|
73
|
+
uuid: string;
|
|
74
|
+
status: import("../..").JOB_STATUS;
|
|
75
|
+
title: string;
|
|
76
|
+
error: string | null;
|
|
77
|
+
reaction: import("../..").USER_REACTION | null;
|
|
78
|
+
subtitle: string | null;
|
|
79
|
+
advantages: string[];
|
|
80
|
+
tags: string[];
|
|
81
|
+
stylePresetId: string | null;
|
|
82
|
+
isCustom: boolean;
|
|
83
|
+
customStylePrompt: string | null;
|
|
84
|
+
inputImages: {
|
|
85
|
+
uuid: string;
|
|
86
|
+
url: string;
|
|
87
|
+
}[];
|
|
88
|
+
backgroundDescription: string | null;
|
|
89
|
+
resultImages: string[] | null;
|
|
90
|
+
createdAt?: string | Date | undefined;
|
|
91
|
+
updatedAt?: string | Date | undefined;
|
|
92
|
+
}, {
|
|
93
|
+
price: number;
|
|
94
|
+
uuid: string;
|
|
95
|
+
status: import("../..").JOB_STATUS;
|
|
96
|
+
title: string;
|
|
97
|
+
error: string | null;
|
|
98
|
+
reaction: import("../..").USER_REACTION | null;
|
|
99
|
+
subtitle: string | null;
|
|
100
|
+
advantages: string[];
|
|
101
|
+
tags: string[];
|
|
102
|
+
stylePresetId: string | null;
|
|
103
|
+
isCustom: boolean;
|
|
104
|
+
customStylePrompt: string | null;
|
|
105
|
+
inputImages: {
|
|
106
|
+
uuid: string;
|
|
107
|
+
url: string;
|
|
108
|
+
}[];
|
|
109
|
+
backgroundDescription: string | null;
|
|
110
|
+
resultImages: string[] | null;
|
|
111
|
+
createdAt?: string | Date | undefined;
|
|
112
|
+
updatedAt?: string | Date | undefined;
|
|
113
|
+
}>;
|
|
114
|
+
}, "strip", z.ZodTypeAny, {
|
|
115
|
+
data: {
|
|
116
|
+
price: number;
|
|
117
|
+
uuid: string;
|
|
118
|
+
status: import("../..").JOB_STATUS;
|
|
119
|
+
title: string;
|
|
120
|
+
error: string | null;
|
|
121
|
+
reaction: import("../..").USER_REACTION | null;
|
|
122
|
+
subtitle: string | null;
|
|
123
|
+
advantages: string[];
|
|
124
|
+
tags: string[];
|
|
125
|
+
stylePresetId: string | null;
|
|
126
|
+
isCustom: boolean;
|
|
127
|
+
customStylePrompt: string | null;
|
|
128
|
+
inputImages: {
|
|
129
|
+
uuid: string;
|
|
130
|
+
url: string;
|
|
131
|
+
}[];
|
|
132
|
+
backgroundDescription: string | null;
|
|
133
|
+
resultImages: string[] | null;
|
|
134
|
+
createdAt?: string | Date | undefined;
|
|
135
|
+
updatedAt?: string | Date | undefined;
|
|
136
|
+
};
|
|
137
|
+
}, {
|
|
138
|
+
data: {
|
|
139
|
+
price: number;
|
|
140
|
+
uuid: string;
|
|
141
|
+
status: import("../..").JOB_STATUS;
|
|
142
|
+
title: string;
|
|
143
|
+
error: string | null;
|
|
144
|
+
reaction: import("../..").USER_REACTION | null;
|
|
145
|
+
subtitle: string | null;
|
|
146
|
+
advantages: string[];
|
|
147
|
+
tags: string[];
|
|
148
|
+
stylePresetId: string | null;
|
|
149
|
+
isCustom: boolean;
|
|
150
|
+
customStylePrompt: string | null;
|
|
151
|
+
inputImages: {
|
|
152
|
+
uuid: string;
|
|
153
|
+
url: string;
|
|
154
|
+
}[];
|
|
155
|
+
backgroundDescription: string | null;
|
|
156
|
+
resultImages: string[] | null;
|
|
157
|
+
createdAt?: string | Date | undefined;
|
|
158
|
+
updatedAt?: string | Date | undefined;
|
|
159
|
+
};
|
|
160
|
+
}>;
|
|
161
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
162
|
+
}
|
|
163
|
+
//# sourceMappingURL=retry-marketplace-card-job.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retry-marketplace-card-job.command.d.ts","sourceRoot":"","sources":["../../../commands/marketplace-card/retry-marketplace-card-job.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,8BAA8B,CAAC;IACrC,MAAM,mBAAmB;;;;;;MAE9B,CAAC;IACH,KAAY,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;IAEzD,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAU5B,CAAC;IACH,KAAY,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;IAErD,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RetryMarketplaceCardJobCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../models");
|
|
6
|
+
var RetryMarketplaceCardJobCommand;
|
|
7
|
+
(function (RetryMarketplaceCardJobCommand) {
|
|
8
|
+
RetryMarketplaceCardJobCommand.RequestParamsSchema = zod_1.z.object({
|
|
9
|
+
uuid: zod_1.z.string().uuid(),
|
|
10
|
+
});
|
|
11
|
+
RetryMarketplaceCardJobCommand.RequestBodySchema = zod_1.z.object({
|
|
12
|
+
title: zod_1.z.string().min(1).optional(),
|
|
13
|
+
subtitle: zod_1.z.string().nullable().optional(),
|
|
14
|
+
advantages: zod_1.z.array(zod_1.z.string()).optional(),
|
|
15
|
+
tags: zod_1.z.array(zod_1.z.string()).optional(),
|
|
16
|
+
stylePresetId: zod_1.z.string().uuid().nullable().optional(),
|
|
17
|
+
isCustom: zod_1.z.boolean().optional(),
|
|
18
|
+
customStylePrompt: zod_1.z.string().nullable().optional(),
|
|
19
|
+
inputImages: zod_1.z.array(zod_1.z.string().uuid()).optional(),
|
|
20
|
+
backgroundDescription: zod_1.z.string().nullable().optional(),
|
|
21
|
+
});
|
|
22
|
+
RetryMarketplaceCardJobCommand.ResponseSchema = zod_1.z.object({
|
|
23
|
+
data: models_1.MarketplaceCardJobSchema,
|
|
24
|
+
});
|
|
25
|
+
})(RetryMarketplaceCardJobCommand || (exports.RetryMarketplaceCardJobCommand = RetryMarketplaceCardJobCommand = {}));
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { USER_REACTION } from '../../constants';
|
|
3
|
+
export declare namespace SetReactionToMarketplaceCardJobCommand {
|
|
4
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
5
|
+
uuid: z.ZodString;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
uuid: string;
|
|
8
|
+
}, {
|
|
9
|
+
uuid: string;
|
|
10
|
+
}>;
|
|
11
|
+
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
12
|
+
const RequestSchema: z.ZodObject<{
|
|
13
|
+
reaction: z.ZodNullable<z.ZodNativeEnum<typeof USER_REACTION>>;
|
|
14
|
+
dislikeReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
reaction: USER_REACTION | null;
|
|
17
|
+
dislikeReason?: string | null | undefined;
|
|
18
|
+
}, {
|
|
19
|
+
reaction: USER_REACTION | null;
|
|
20
|
+
dislikeReason?: string | null | undefined;
|
|
21
|
+
}>;
|
|
22
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
23
|
+
const ResponseSchema: z.ZodObject<{
|
|
24
|
+
data: z.ZodObject<{
|
|
25
|
+
uuid: z.ZodString;
|
|
26
|
+
status: z.ZodNativeEnum<typeof import("../../constants").JOB_STATUS>;
|
|
27
|
+
error: z.ZodNullable<z.ZodString>;
|
|
28
|
+
title: z.ZodString;
|
|
29
|
+
subtitle: z.ZodNullable<z.ZodString>;
|
|
30
|
+
reaction: z.ZodNullable<z.ZodNativeEnum<typeof USER_REACTION>>;
|
|
31
|
+
advantages: z.ZodArray<z.ZodString, "many">;
|
|
32
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
33
|
+
stylePresetId: z.ZodNullable<z.ZodString>;
|
|
34
|
+
isCustom: z.ZodBoolean;
|
|
35
|
+
customStylePrompt: z.ZodNullable<z.ZodString>;
|
|
36
|
+
inputImages: z.ZodArray<z.ZodObject<{
|
|
37
|
+
uuid: z.ZodString;
|
|
38
|
+
url: z.ZodString;
|
|
39
|
+
}, "strip", z.ZodTypeAny, {
|
|
40
|
+
uuid: string;
|
|
41
|
+
url: string;
|
|
42
|
+
}, {
|
|
43
|
+
uuid: string;
|
|
44
|
+
url: string;
|
|
45
|
+
}>, "many">;
|
|
46
|
+
resultImages: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
47
|
+
backgroundDescription: z.ZodNullable<z.ZodString>;
|
|
48
|
+
price: z.ZodNumber;
|
|
49
|
+
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
50
|
+
updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
price: number;
|
|
53
|
+
uuid: string;
|
|
54
|
+
status: import("../../constants").JOB_STATUS;
|
|
55
|
+
title: string;
|
|
56
|
+
error: string | null;
|
|
57
|
+
reaction: USER_REACTION | null;
|
|
58
|
+
subtitle: string | null;
|
|
59
|
+
advantages: string[];
|
|
60
|
+
tags: string[];
|
|
61
|
+
stylePresetId: string | null;
|
|
62
|
+
isCustom: boolean;
|
|
63
|
+
customStylePrompt: string | null;
|
|
64
|
+
inputImages: {
|
|
65
|
+
uuid: string;
|
|
66
|
+
url: string;
|
|
67
|
+
}[];
|
|
68
|
+
backgroundDescription: string | null;
|
|
69
|
+
resultImages: string[] | null;
|
|
70
|
+
createdAt?: string | Date | undefined;
|
|
71
|
+
updatedAt?: string | Date | undefined;
|
|
72
|
+
}, {
|
|
73
|
+
price: number;
|
|
74
|
+
uuid: string;
|
|
75
|
+
status: import("../../constants").JOB_STATUS;
|
|
76
|
+
title: string;
|
|
77
|
+
error: string | null;
|
|
78
|
+
reaction: USER_REACTION | null;
|
|
79
|
+
subtitle: string | null;
|
|
80
|
+
advantages: string[];
|
|
81
|
+
tags: string[];
|
|
82
|
+
stylePresetId: string | null;
|
|
83
|
+
isCustom: boolean;
|
|
84
|
+
customStylePrompt: string | null;
|
|
85
|
+
inputImages: {
|
|
86
|
+
uuid: string;
|
|
87
|
+
url: string;
|
|
88
|
+
}[];
|
|
89
|
+
backgroundDescription: string | null;
|
|
90
|
+
resultImages: string[] | null;
|
|
91
|
+
createdAt?: string | Date | undefined;
|
|
92
|
+
updatedAt?: string | Date | undefined;
|
|
93
|
+
}>;
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
|
+
data: {
|
|
96
|
+
price: number;
|
|
97
|
+
uuid: string;
|
|
98
|
+
status: import("../../constants").JOB_STATUS;
|
|
99
|
+
title: string;
|
|
100
|
+
error: string | null;
|
|
101
|
+
reaction: USER_REACTION | null;
|
|
102
|
+
subtitle: string | null;
|
|
103
|
+
advantages: string[];
|
|
104
|
+
tags: string[];
|
|
105
|
+
stylePresetId: string | null;
|
|
106
|
+
isCustom: boolean;
|
|
107
|
+
customStylePrompt: string | null;
|
|
108
|
+
inputImages: {
|
|
109
|
+
uuid: string;
|
|
110
|
+
url: string;
|
|
111
|
+
}[];
|
|
112
|
+
backgroundDescription: string | null;
|
|
113
|
+
resultImages: string[] | null;
|
|
114
|
+
createdAt?: string | Date | undefined;
|
|
115
|
+
updatedAt?: string | Date | undefined;
|
|
116
|
+
};
|
|
117
|
+
}, {
|
|
118
|
+
data: {
|
|
119
|
+
price: number;
|
|
120
|
+
uuid: string;
|
|
121
|
+
status: import("../../constants").JOB_STATUS;
|
|
122
|
+
title: string;
|
|
123
|
+
error: string | null;
|
|
124
|
+
reaction: USER_REACTION | null;
|
|
125
|
+
subtitle: string | null;
|
|
126
|
+
advantages: string[];
|
|
127
|
+
tags: string[];
|
|
128
|
+
stylePresetId: string | null;
|
|
129
|
+
isCustom: boolean;
|
|
130
|
+
customStylePrompt: string | null;
|
|
131
|
+
inputImages: {
|
|
132
|
+
uuid: string;
|
|
133
|
+
url: string;
|
|
134
|
+
}[];
|
|
135
|
+
backgroundDescription: string | null;
|
|
136
|
+
resultImages: string[] | null;
|
|
137
|
+
createdAt?: string | Date | undefined;
|
|
138
|
+
updatedAt?: string | Date | undefined;
|
|
139
|
+
};
|
|
140
|
+
}>;
|
|
141
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
142
|
+
}
|
|
143
|
+
//# sourceMappingURL=set-reaction-to-marketplace-card-job.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-reaction-to-marketplace-card-job.command.d.ts","sourceRoot":"","sources":["../../../commands/marketplace-card/set-reaction-to-marketplace-card-job.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,yBAAiB,sCAAsC,CAAC;IAC7C,MAAM,mBAAmB;;;;;;MAE9B,CAAC;IACH,KAAY,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;IAEzD,MAAM,aAAa;;;;;;;;;MAGxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SetReactionToMarketplaceCardJobCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const constants_1 = require("../../constants");
|
|
6
|
+
const models_1 = require("../../models");
|
|
7
|
+
var SetReactionToMarketplaceCardJobCommand;
|
|
8
|
+
(function (SetReactionToMarketplaceCardJobCommand) {
|
|
9
|
+
SetReactionToMarketplaceCardJobCommand.RequestParamsSchema = zod_1.z.object({
|
|
10
|
+
uuid: zod_1.z.string().uuid(),
|
|
11
|
+
});
|
|
12
|
+
SetReactionToMarketplaceCardJobCommand.RequestSchema = zod_1.z.object({
|
|
13
|
+
reaction: zod_1.z.nativeEnum(constants_1.USER_REACTION).nullable(),
|
|
14
|
+
dislikeReason: zod_1.z.string().nullable().optional(),
|
|
15
|
+
});
|
|
16
|
+
SetReactionToMarketplaceCardJobCommand.ResponseSchema = zod_1.z.object({
|
|
17
|
+
data: models_1.MarketplaceCardJobSchema,
|
|
18
|
+
});
|
|
19
|
+
})(SetReactionToMarketplaceCardJobCommand || (exports.SetReactionToMarketplaceCardJobCommand = SetReactionToMarketplaceCardJobCommand = {}));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace SoftDeleteMarketplaceCardJobByUuidCommand {
|
|
3
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
uuid: string;
|
|
7
|
+
}, {
|
|
8
|
+
uuid: string;
|
|
9
|
+
}>;
|
|
10
|
+
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
11
|
+
const ResponseSchema: z.ZodObject<{
|
|
12
|
+
data: z.ZodLiteral<true>;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
data: true;
|
|
15
|
+
}, {
|
|
16
|
+
data: true;
|
|
17
|
+
}>;
|
|
18
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=soft-delete-marketplace-card-job-by-uuid.command.d.ts.map
|
package/build/commands/marketplace-card/soft-delete-marketplace-card-job-by-uuid.command.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"soft-delete-marketplace-card-job-by-uuid.command.d.ts","sourceRoot":"","sources":["../../../commands/marketplace-card/soft-delete-marketplace-card-job-by-uuid.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,yCAAyC,CAAC;IAChD,MAAM,mBAAmB;;;;;;MAE9B,CAAC;IACH,KAAY,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;IAEzD,MAAM,cAAc;;;;;;MAEzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SoftDeleteMarketplaceCardJobByUuidCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
var SoftDeleteMarketplaceCardJobByUuidCommand;
|
|
6
|
+
(function (SoftDeleteMarketplaceCardJobByUuidCommand) {
|
|
7
|
+
SoftDeleteMarketplaceCardJobByUuidCommand.RequestParamsSchema = zod_1.z.object({
|
|
8
|
+
uuid: zod_1.z.string().uuid(),
|
|
9
|
+
});
|
|
10
|
+
SoftDeleteMarketplaceCardJobByUuidCommand.ResponseSchema = zod_1.z.object({
|
|
11
|
+
data: zod_1.z.literal(true),
|
|
12
|
+
});
|
|
13
|
+
})(SoftDeleteMarketplaceCardJobByUuidCommand || (exports.SoftDeleteMarketplaceCardJobByUuidCommand = SoftDeleteMarketplaceCardJobByUuidCommand = {}));
|
package/build/commands/marketplace-card/soft-delete-marketplace-card-jobs-by-criteria.command.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace SoftDeleteMarketplaceCardJobsByCriteriaCommand {
|
|
3
|
+
const ResponseSchema: z.ZodObject<{
|
|
4
|
+
data: z.ZodLiteral<true>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
data: true;
|
|
7
|
+
}, {
|
|
8
|
+
data: true;
|
|
9
|
+
}>;
|
|
10
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=soft-delete-marketplace-card-jobs-by-criteria.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"soft-delete-marketplace-card-jobs-by-criteria.command.d.ts","sourceRoot":"","sources":["../../../commands/marketplace-card/soft-delete-marketplace-card-jobs-by-criteria.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,yBAAiB,8CAA8C,CAAC;IACrD,MAAM,cAAc;;;;;;MAEzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
package/build/commands/marketplace-card/soft-delete-marketplace-card-jobs-by-criteria.command.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SoftDeleteMarketplaceCardJobsByCriteriaCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
var SoftDeleteMarketplaceCardJobsByCriteriaCommand;
|
|
6
|
+
(function (SoftDeleteMarketplaceCardJobsByCriteriaCommand) {
|
|
7
|
+
SoftDeleteMarketplaceCardJobsByCriteriaCommand.ResponseSchema = zod_1.z.object({
|
|
8
|
+
data: zod_1.z.literal(true),
|
|
9
|
+
});
|
|
10
|
+
})(SoftDeleteMarketplaceCardJobsByCriteriaCommand || (exports.SoftDeleteMarketplaceCardJobsByCriteriaCommand = SoftDeleteMarketplaceCardJobsByCriteriaCommand = {}));
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace UpdateMarketplaceCardJobTitleCommand {
|
|
3
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
uuid: string;
|
|
7
|
+
}, {
|
|
8
|
+
uuid: string;
|
|
9
|
+
}>;
|
|
10
|
+
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
11
|
+
const RequestSchema: z.ZodObject<{
|
|
12
|
+
title: z.ZodString;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
title: string;
|
|
15
|
+
}, {
|
|
16
|
+
title: string;
|
|
17
|
+
}>;
|
|
18
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
19
|
+
const ResponseSchema: z.ZodObject<{
|
|
20
|
+
data: z.ZodObject<{
|
|
21
|
+
uuid: z.ZodString;
|
|
22
|
+
status: z.ZodNativeEnum<typeof import("../..").JOB_STATUS>;
|
|
23
|
+
error: z.ZodNullable<z.ZodString>;
|
|
24
|
+
title: z.ZodString;
|
|
25
|
+
subtitle: z.ZodNullable<z.ZodString>;
|
|
26
|
+
reaction: z.ZodNullable<z.ZodNativeEnum<typeof import("../..").USER_REACTION>>;
|
|
27
|
+
advantages: z.ZodArray<z.ZodString, "many">;
|
|
28
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
29
|
+
stylePresetId: z.ZodNullable<z.ZodString>;
|
|
30
|
+
isCustom: z.ZodBoolean;
|
|
31
|
+
customStylePrompt: z.ZodNullable<z.ZodString>;
|
|
32
|
+
inputImages: z.ZodArray<z.ZodObject<{
|
|
33
|
+
uuid: z.ZodString;
|
|
34
|
+
url: z.ZodString;
|
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
|
36
|
+
uuid: string;
|
|
37
|
+
url: string;
|
|
38
|
+
}, {
|
|
39
|
+
uuid: string;
|
|
40
|
+
url: string;
|
|
41
|
+
}>, "many">;
|
|
42
|
+
resultImages: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
|
|
43
|
+
backgroundDescription: z.ZodNullable<z.ZodString>;
|
|
44
|
+
price: z.ZodNumber;
|
|
45
|
+
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
46
|
+
updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
|
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
|
48
|
+
price: number;
|
|
49
|
+
uuid: string;
|
|
50
|
+
status: import("../..").JOB_STATUS;
|
|
51
|
+
title: string;
|
|
52
|
+
error: string | null;
|
|
53
|
+
reaction: import("../..").USER_REACTION | null;
|
|
54
|
+
subtitle: string | null;
|
|
55
|
+
advantages: string[];
|
|
56
|
+
tags: string[];
|
|
57
|
+
stylePresetId: string | null;
|
|
58
|
+
isCustom: boolean;
|
|
59
|
+
customStylePrompt: string | null;
|
|
60
|
+
inputImages: {
|
|
61
|
+
uuid: string;
|
|
62
|
+
url: string;
|
|
63
|
+
}[];
|
|
64
|
+
backgroundDescription: string | null;
|
|
65
|
+
resultImages: string[] | null;
|
|
66
|
+
createdAt?: string | Date | undefined;
|
|
67
|
+
updatedAt?: string | Date | undefined;
|
|
68
|
+
}, {
|
|
69
|
+
price: number;
|
|
70
|
+
uuid: string;
|
|
71
|
+
status: import("../..").JOB_STATUS;
|
|
72
|
+
title: string;
|
|
73
|
+
error: string | null;
|
|
74
|
+
reaction: import("../..").USER_REACTION | null;
|
|
75
|
+
subtitle: string | null;
|
|
76
|
+
advantages: string[];
|
|
77
|
+
tags: string[];
|
|
78
|
+
stylePresetId: string | null;
|
|
79
|
+
isCustom: boolean;
|
|
80
|
+
customStylePrompt: string | null;
|
|
81
|
+
inputImages: {
|
|
82
|
+
uuid: string;
|
|
83
|
+
url: string;
|
|
84
|
+
}[];
|
|
85
|
+
backgroundDescription: string | null;
|
|
86
|
+
resultImages: string[] | null;
|
|
87
|
+
createdAt?: string | Date | undefined;
|
|
88
|
+
updatedAt?: string | Date | undefined;
|
|
89
|
+
}>;
|
|
90
|
+
}, "strip", z.ZodTypeAny, {
|
|
91
|
+
data: {
|
|
92
|
+
price: number;
|
|
93
|
+
uuid: string;
|
|
94
|
+
status: import("../..").JOB_STATUS;
|
|
95
|
+
title: string;
|
|
96
|
+
error: string | null;
|
|
97
|
+
reaction: import("../..").USER_REACTION | null;
|
|
98
|
+
subtitle: string | null;
|
|
99
|
+
advantages: string[];
|
|
100
|
+
tags: string[];
|
|
101
|
+
stylePresetId: string | null;
|
|
102
|
+
isCustom: boolean;
|
|
103
|
+
customStylePrompt: string | null;
|
|
104
|
+
inputImages: {
|
|
105
|
+
uuid: string;
|
|
106
|
+
url: string;
|
|
107
|
+
}[];
|
|
108
|
+
backgroundDescription: string | null;
|
|
109
|
+
resultImages: string[] | null;
|
|
110
|
+
createdAt?: string | Date | undefined;
|
|
111
|
+
updatedAt?: string | Date | undefined;
|
|
112
|
+
};
|
|
113
|
+
}, {
|
|
114
|
+
data: {
|
|
115
|
+
price: number;
|
|
116
|
+
uuid: string;
|
|
117
|
+
status: import("../..").JOB_STATUS;
|
|
118
|
+
title: string;
|
|
119
|
+
error: string | null;
|
|
120
|
+
reaction: import("../..").USER_REACTION | null;
|
|
121
|
+
subtitle: string | null;
|
|
122
|
+
advantages: string[];
|
|
123
|
+
tags: string[];
|
|
124
|
+
stylePresetId: string | null;
|
|
125
|
+
isCustom: boolean;
|
|
126
|
+
customStylePrompt: string | null;
|
|
127
|
+
inputImages: {
|
|
128
|
+
uuid: string;
|
|
129
|
+
url: string;
|
|
130
|
+
}[];
|
|
131
|
+
backgroundDescription: string | null;
|
|
132
|
+
resultImages: string[] | null;
|
|
133
|
+
createdAt?: string | Date | undefined;
|
|
134
|
+
updatedAt?: string | Date | undefined;
|
|
135
|
+
};
|
|
136
|
+
}>;
|
|
137
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
138
|
+
}
|
|
139
|
+
//# sourceMappingURL=update-marketplace-card-job-title.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-marketplace-card-job-title.command.d.ts","sourceRoot":"","sources":["../../../commands/marketplace-card/update-marketplace-card-job-title.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,oCAAoC,CAAC;IAC3C,MAAM,mBAAmB;;;;;;MAE9B,CAAC;IACH,KAAY,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;IAEzD,MAAM,aAAa;;;;;;MAExB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateMarketplaceCardJobTitleCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../models");
|
|
6
|
+
var UpdateMarketplaceCardJobTitleCommand;
|
|
7
|
+
(function (UpdateMarketplaceCardJobTitleCommand) {
|
|
8
|
+
UpdateMarketplaceCardJobTitleCommand.RequestParamsSchema = zod_1.z.object({
|
|
9
|
+
uuid: zod_1.z.string().uuid(),
|
|
10
|
+
});
|
|
11
|
+
UpdateMarketplaceCardJobTitleCommand.RequestSchema = zod_1.z.object({
|
|
12
|
+
title: zod_1.z.string().min(1).max(200),
|
|
13
|
+
});
|
|
14
|
+
UpdateMarketplaceCardJobTitleCommand.ResponseSchema = zod_1.z.object({
|
|
15
|
+
data: models_1.MarketplaceCardJobSchema,
|
|
16
|
+
});
|
|
17
|
+
})(UpdateMarketplaceCardJobTitleCommand || (exports.UpdateMarketplaceCardJobTitleCommand = UpdateMarketplaceCardJobTitleCommand = {}));
|