@purpleschool/gptbot 0.20.23 → 0.20.26-stage-2
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/controllers/http/account-merge-private.d.ts +2 -2
- package/build/api/controllers/http/account-merge.d.ts +2 -2
- package/build/api/controllers/http/agents/agent-ai-model.d.ts +2 -2
- package/build/api/controllers/http/agents/agent-channel.d.ts +2 -2
- package/build/api/controllers/http/agents/agent-dialog.d.ts +3 -3
- package/build/api/controllers/http/agents/agent-document.d.ts +1 -1
- package/build/api/controllers/http/agents/agent-files.d.ts +1 -1
- package/build/api/controllers/http/agents/agent-lead-form.d.ts +2 -2
- package/build/api/controllers/http/agents/agent-lead.d.ts +3 -3
- package/build/api/controllers/http/agents/agent-statistics.d.ts +1 -1
- package/build/api/controllers/http/agents/agent-template.d.ts +6 -6
- package/build/api/controllers/http/agents/agent-tool.d.ts +2 -2
- package/build/api/controllers/http/agents/agent.d.ts +4 -4
- package/build/api/controllers/http/ai-model.d.ts +6 -6
- package/build/api/controllers/http/ai-vendor.d.ts +2 -2
- package/build/api/controllers/http/app-login.d.ts +2 -2
- package/build/api/controllers/http/apple-iap.d.ts +5 -5
- package/build/api/controllers/http/auth.d.ts +14 -14
- package/build/api/controllers/http/avatar-studio.d.ts +16 -16
- package/build/api/controllers/http/b2b-compatible.d.ts +9 -9
- package/build/api/controllers/http/b2b-usage-log.d.ts +2 -2
- package/build/api/controllers/http/b2b.d.ts +8 -8
- package/build/api/controllers/http/blog.d.ts +5 -5
- package/build/api/controllers/http/cabinet.d.ts +3 -3
- package/build/api/controllers/http/canvas-cron.d.ts +2 -2
- package/build/api/controllers/http/canvas-edge.d.ts +4 -4
- package/build/api/controllers/http/canvas-node-definition.d.ts +1 -1
- package/build/api/controllers/http/canvas-node.d.ts +2 -2
- package/build/api/controllers/http/canvas-template.d.ts +6 -6
- package/build/api/controllers/http/canvas-text-generation.d.ts +4 -4
- package/build/api/controllers/http/canvas-var-generation.d.ts +4 -4
- package/build/api/controllers/http/canvas.d.ts +3 -3
- package/build/api/controllers/http/category.d.ts +4 -4
- package/build/api/controllers/http/chat-private.d.ts +8 -8
- package/build/api/controllers/http/chat-public.d.ts +7 -7
- package/build/api/controllers/http/cloud-payments.d.ts +2 -2
- package/build/api/controllers/http/community.d.ts +8 -8
- package/build/api/controllers/http/consent.d.ts +2 -2
- package/build/api/controllers/http/content-report.d.ts +5 -5
- package/build/api/controllers/http/course.d.ts +3 -3
- package/build/api/controllers/http/daily-streak.d.ts +3 -3
- package/build/api/controllers/http/diagrams.d.ts +7 -7
- package/build/api/controllers/http/feedback.d.ts +3 -3
- package/build/api/controllers/http/files.d.ts +7 -7
- package/build/api/controllers/http/folder.d.ts +3 -3
- package/build/api/controllers/http/form-submission.d.ts +1 -1
- package/build/api/controllers/http/greetings.d.ts +10 -10
- package/build/api/controllers/http/html-page-builder.d.ts +11 -11
- package/build/api/controllers/http/image-editor.d.ts +6 -6
- package/build/api/controllers/http/image-generation.d.ts +6 -6
- package/build/api/controllers/http/image-recognition.d.ts +6 -6
- package/build/api/controllers/http/interior-design.d.ts +6 -6
- package/build/api/controllers/http/key-value.d.ts +2 -2
- package/build/api/controllers/http/loyalty-status.d.ts +2 -2
- package/build/api/controllers/http/marketplace-card.d.ts +7 -7
- package/build/api/controllers/http/message.d.ts +2 -2
- package/build/api/controllers/http/model-page.d.ts +9 -9
- package/build/api/controllers/http/motion-control.d.ts +7 -7
- package/build/api/controllers/http/music.d.ts +11 -11
- package/build/api/controllers/http/onboarding.d.ts +3 -3
- package/build/api/controllers/http/order.d.ts +2 -2
- package/build/api/controllers/http/page.d.ts +6 -6
- package/build/api/controllers/http/palette.d.ts +3 -3
- package/build/api/controllers/http/paraphrase.d.ts +7 -7
- package/build/api/controllers/http/payment.d.ts +5 -5
- package/build/api/controllers/http/photo-session.d.ts +8 -8
- package/build/api/controllers/http/photo-studio.d.ts +6 -6
- package/build/api/controllers/http/presentation.d.ts +6 -6
- package/build/api/controllers/http/product.d.ts +6 -6
- package/build/api/controllers/http/promocode.d.ts +6 -6
- package/build/api/controllers/http/push-campaign.d.ts +10 -10
- package/build/api/controllers/http/push-cron.d.ts +4 -4
- package/build/api/controllers/http/push.d.ts +6 -6
- package/build/api/controllers/http/question.d.ts +2 -2
- package/build/api/controllers/http/referral.d.ts +3 -3
- package/build/api/controllers/http/review.d.ts +5 -5
- package/build/api/controllers/http/solving-edu-task.d.ts +6 -6
- package/build/api/controllers/http/sound-generation.d.ts +6 -6
- package/build/api/controllers/http/spell-corrector.d.ts +7 -7
- package/build/api/controllers/http/stt.d.ts +6 -6
- package/build/api/controllers/http/subscription.d.ts +15 -15
- package/build/api/controllers/http/support-feedback.d.ts +4 -4
- package/build/api/controllers/http/support-widget.d.ts +3 -3
- package/build/api/controllers/http/task.d.ts +2 -2
- package/build/api/controllers/http/team-account.d.ts +26 -24
- package/build/api/controllers/http/team-account.js +2 -0
- package/build/api/controllers/http/telegram-connect.d.ts +3 -3
- package/build/api/controllers/http/telegram-profile.d.ts +2 -2
- package/build/api/controllers/http/tool-job.d.ts +1 -1
- package/build/api/controllers/http/tool-workspace.d.ts +4 -4
- package/build/api/controllers/http/tts.d.ts +10 -10
- package/build/api/controllers/http/ui-notification.d.ts +9 -9
- package/build/api/controllers/http/unregistered-user.d.ts +3 -3
- package/build/api/controllers/http/update-post.d.ts +6 -6
- package/build/api/controllers/http/user-memory.d.ts +3 -3
- package/build/api/controllers/http/user-private.d.ts +2 -2
- package/build/api/controllers/http/user-profile.d.ts +5 -5
- package/build/api/controllers/http/user-to-product.d.ts +1 -1
- package/build/api/controllers/http/user-to-subscription.d.ts +1 -1
- package/build/api/controllers/http/user-to-task-private.d.ts +3 -3
- package/build/api/controllers/http/user-to-task-public.d.ts +2 -2
- package/build/api/controllers/http/user.d.ts +14 -14
- package/build/api/controllers/http/video-editor.d.ts +6 -6
- package/build/api/controllers/http/video.d.ts +6 -6
- package/build/api/controllers/http/webmaster-click.d.ts +4 -4
- package/build/api/controllers/http/webmaster.d.ts +5 -5
- package/build/api/controllers/http/writer.d.ts +6 -6
- package/build/api/partner-code-routes.d.ts +26 -26
- package/build/api/routes.d.ts +3 -1
- package/build/api/routes.js +2 -0
- package/build/commands/agents/agent-dialog/send-cabinet-message.command.js +1 -1
- package/build/commands/agents/agent-files/upload-agent-chat-file.command.d.ts +6 -6
- package/build/commands/agents/agent-tool/connect-agent-tool.command.d.ts +1 -1
- package/build/commands/agents/agent-tool/update-agent-tool.command.d.ts +5 -5
- package/build/commands/agents/agents/get-agent-statistics.command.d.ts +2 -2
- package/build/commands/ai-model/create-ai-model.command.d.ts +23 -23
- package/build/commands/ai-model/update-ai-model.command.d.ts +23 -23
- package/build/commands/ai-studio/canvas/save-canvas.command.d.ts +36 -36
- package/build/commands/ai-studio/canvas-node/create-canvas-node.command.d.ts +36 -36
- package/build/commands/ai-studio/canvas-node/update-canvas-node.command.d.ts +36 -36
- package/build/commands/ai-studio/canvas-template/create-canvas-from-generated-template.command.d.ts +36 -36
- package/build/commands/ai-studio/canvas-template/find-canvas-templates.query.d.ts +2 -2
- package/build/commands/ai-vendor/create-ai-vendor.command.d.ts +2 -2
- package/build/commands/ai-vendor/find-ai-vendors-by-criteria.query.d.ts +2 -2
- package/build/commands/ai-vendor/update-ai-vendor.command.d.ts +4 -4
- package/build/commands/apple-iap/apply-apple-iap-transactions.command.d.ts +6 -6
- package/build/commands/apple-iap/get-apple-iap-products.command.d.ts +4 -4
- package/build/commands/auth/register-user.command.d.ts +5 -5
- package/build/commands/auth/vk-login.command.d.ts +5 -5
- package/build/commands/auth/yandex-login.command.d.ts +4 -4
- package/build/commands/avatar-studio/character/generate-avatar-studio-character-reference.command.d.ts +2 -2
- package/build/commands/avatar-studio/clip/create-avatar-studio-clip.command.d.ts +8 -8
- package/build/commands/avatar-studio/clip/find-avatar-studio-clips.query.d.ts +8 -8
- package/build/commands/avatar-studio/clip/get-avatar-studio-clip.query.d.ts +8 -8
- package/build/commands/avatar-studio/clip/update-avatar-studio-clip.command.d.ts +8 -8
- package/build/commands/avatar-studio/export-job/find-avatar-studio-export-jobs.query.d.ts +1 -1
- package/build/commands/avatar-studio/export-job/get-avatar-studio-export-job.query.d.ts +1 -1
- package/build/commands/avatar-studio/export-job/start-avatar-studio-export.command.d.ts +1 -1
- package/build/commands/avatar-studio/generation-job/find-avatar-studio-generation-jobs.query.d.ts +2 -2
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-frame.command.d.ts +7 -7
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-image.command.d.ts +3 -3
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-video.command.d.ts +2 -2
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.d.ts +2 -2
- package/build/commands/avatar-studio/generation-job/get-avatar-studio-generation-job.query.d.ts +2 -2
- package/build/commands/avatar-studio/location/generate-avatar-studio-location-reference.command.d.ts +2 -2
- package/build/commands/avatar-studio/media/create-avatar-studio-media-from-file.command.d.ts +2 -2
- package/build/commands/avatar-studio/media/find-avatar-studio-media.query.d.ts +4 -4
- package/build/commands/avatar-studio/media/update-avatar-studio-media.command.d.ts +1 -1
- package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-to-all-scenes.command.d.ts +8 -8
- package/build/commands/avatar-studio/scene/create-avatar-studio-scene.command.d.ts +3 -3
- package/build/commands/avatar-studio/scene/reorder-avatar-studio-scenes.command.d.ts +3 -3
- package/build/commands/avatar-studio/scene/set-avatar-studio-scene-slot.command.d.ts +13 -13
- package/build/commands/avatar-studio/scene/update-avatar-studio-scene.command.d.ts +3 -3
- package/build/commands/avatar-studio/scriptwriter/apply-avatar-studio-scriptwriter-message.command.d.ts +4 -4
- package/build/commands/avatar-studio/scriptwriter/create-avatar-studio-scriptwriter-message.command.d.ts +2 -2
- package/build/commands/avatar-studio/scriptwriter/find-avatar-studio-scriptwriter-messages.query.d.ts +1 -1
- package/build/commands/avatar-studio/shared/avatar-studio-common.schema.d.ts +1 -1
- package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.d.ts +2 -2
- package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.d.ts +5 -5
- package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.d.ts +5 -5
- package/build/commands/b2b/create-api-key.command.d.ts +1 -1
- package/build/commands/b2b/get-b2b-documentation.command.d.ts +72 -72
- package/build/commands/b2b/send-image-request.command.d.ts +2 -2
- package/build/commands/b2b/send-text-request.command.d.ts +2 -2
- package/build/commands/b2b-compatible/anthropic-messages.command.d.ts +2 -2
- package/build/commands/b2b-compatible/openai-chat-completions.command.d.ts +2 -2
- package/build/commands/b2b-compatible/openai-files.command.d.ts +6 -6
- package/build/commands/b2b-compatible/openai-responses.command.d.ts +15 -15
- package/build/commands/b2b-compatible/openai-tool-responses.command.d.ts +6 -6
- package/build/commands/b2b-usage-log/get-b2b-usage-statistics.command.d.ts +3 -3
- package/build/commands/blog/create-post-translation.command.d.ts +2 -2
- package/build/commands/blog/create-post.command.d.ts +1 -1
- package/build/commands/blog/update-post-translation.command.d.ts +1 -1
- package/build/commands/blog/update-post.command.d.ts +1 -1
- package/build/commands/category/create-category-translation.command.d.ts +1 -1
- package/build/commands/category/create-category.command.d.ts +3 -3
- package/build/commands/category/find-category.command.d.ts +5 -5
- package/build/commands/category/update-category.command.d.ts +3 -3
- package/build/commands/community/create-community-post.command.d.ts +20 -20
- package/build/commands/community/get-all-community-posts-by-criteria.command.d.ts +16 -16
- package/build/commands/community/get-community-post-by-uuid.command.d.ts +2 -2
- package/build/commands/community/get-my-community-posts-by-criteria.command.d.ts +15 -15
- package/build/commands/community/get-my-favorite-community-posts.command.d.ts +15 -15
- package/build/commands/community/get-my-likes-community-posts.command.d.ts +22 -22
- package/build/commands/community/set-like-community-post.command.d.ts +2 -2
- package/build/commands/community/set-reject-community-post.command.d.ts +1 -1
- package/build/commands/community/set-visibility-community-post.command.d.ts +1 -1
- package/build/commands/content-report/create-content-report.command.d.ts +5 -5
- package/build/commands/content-report/find-content-reports.query.d.ts +43 -43
- package/build/commands/content-report/update-content-report-status.command.d.ts +2 -2
- package/build/commands/course/create-course-translation.command.d.ts +2 -2
- package/build/commands/course/create-course.command.d.ts +2 -2
- package/build/commands/course/create-lesson-translation.command.d.ts +1 -1
- package/build/commands/course/create-section-translation.command.d.ts +1 -1
- package/build/commands/course/update-course-translation.command.d.ts +1 -1
- package/build/commands/feedback/create-feedback.command.d.ts +1 -1
- package/build/commands/feedback/udpate-feedback.command.d.ts +1 -1
- package/build/commands/form-submission/create-form-submission.command.d.ts +1 -1
- package/build/commands/key-value/create-key-value.command.d.ts +2 -2
- package/build/commands/key-value/update-key-value-by-key.command.d.ts +3 -3
- package/build/commands/message/create-text-message.command.d.ts +4 -4
- package/build/commands/model-page/public/find-model-page-answer-detail.command.d.ts +12 -12
- package/build/commands/model-page/public/find-model-page-hub.command.d.ts +5 -5
- package/build/commands/model-page/question/create-model-page-question.command.d.ts +1 -1
- package/build/commands/model-page/question/update-model-page-question.command.d.ts +1 -1
- package/build/commands/model-page/question-translation/create-model-page-question-translation.command.d.ts +1 -1
- package/build/commands/model-page/question-translation/update-model-page-question-translation.command.d.ts +1 -1
- package/build/commands/model-page/translation/create-model-page-translation.command.d.ts +2 -2
- package/build/commands/model-page/translation/update-model-page-translation.command.d.ts +2 -2
- package/build/commands/moderation-review/index.d.ts +60 -0
- package/build/commands/moderation-review/index.js +16 -0
- package/build/commands/onboarding/index.d.ts +12 -12
- package/build/commands/page/create-page-translation.command.d.ts +1 -1
- package/build/commands/page/create-page.command.d.ts +10 -10
- package/build/commands/page/find-page-by-alias.command.d.ts +5 -5
- package/build/commands/page/find-page.command.d.ts +3 -3
- package/build/commands/page/find-pages-by-criteria.command.d.ts +22 -22
- package/build/commands/page/update-page-translation.command.d.ts +1 -1
- package/build/commands/page/update-page.command.d.ts +4 -4
- package/build/commands/partner-codes/administration.d.ts +40 -40
- package/build/commands/partner-codes/index.d.ts +19 -19
- package/build/commands/payment/check.command.d.ts +2 -2
- package/build/commands/payment/get-payment-history.command.d.ts +2 -2
- package/build/commands/payment/get-purchase-history.command.d.ts +8 -8
- package/build/commands/payment/pay.command.d.ts +4 -4
- package/build/commands/payment/receipt.command.d.ts +2 -2
- package/build/commands/photo-studio/execute-photo-studio-action.command.d.ts +2 -2
- package/build/commands/photo-studio/find-photo-studio-jobs.query.d.ts +1 -1
- package/build/commands/photo-studio/get-photo-studio-config.query.d.ts +2 -2
- package/build/commands/product/create-product.command.d.ts +7 -7
- package/build/commands/product/find-product.command.d.ts +160 -160
- package/build/commands/product/update-product.command.d.ts +7 -7
- package/build/commands/promocode/create-promocode.command.d.ts +5 -5
- package/build/commands/promocode/update-promocode.command.d.ts +5 -5
- package/build/commands/push/find-push-campaigns.command.d.ts +2 -2
- package/build/commands/push/register-push-device.command.d.ts +2 -2
- package/build/commands/push/send-push-campaign-test.command.d.ts +1 -1
- package/build/commands/push/send-test-push.command.d.ts +1 -1
- package/build/commands/question/create-question-translation.command.d.ts +1 -1
- package/build/commands/review/create-review.command.d.ts +5 -5
- package/build/commands/review/find-reviews.command.d.ts +4 -4
- package/build/commands/subscription/create-subscription.command.d.ts +13 -13
- package/build/commands/subscription/downgrade-subscription.command.d.ts +2 -2
- package/build/commands/subscription/find-subscription.command.d.ts +286 -286
- package/build/commands/subscription/get-available-upgrades.command.d.ts +164 -164
- package/build/commands/subscription/get-subscriptions-summary.command.d.ts +733 -733
- package/build/commands/subscription/payment-incident-diagnostics.d.ts +84 -84
- package/build/commands/subscription/update-subscription.command.d.ts +13 -13
- package/build/commands/support-feedback/check-support-feedback.command.d.ts +4 -4
- package/build/commands/support-feedback/upsert-support-feedback.command.d.ts +2 -2
- package/build/commands/team-account/create-team-account-invoice-payment.command.d.ts +2 -0
- package/build/commands/team-account/create-team-account-invoice-payment.command.js +10 -0
- package/build/commands/team-account/get-invoice-for-payment.command.d.ts +12 -0
- package/build/commands/team-account/index.d.ts +1 -0
- package/build/commands/team-account/index.js +1 -0
- package/build/commands/team-account/invite-team-account-member.command.d.ts +8 -8
- package/build/commands/team-account/team-subscription-renewal.command.d.ts +48 -0
- package/build/commands/team-account/team-subscription-renewal.command.js +24 -0
- package/build/commands/team-account/update-team-account-invite.command.d.ts +8 -8
- package/build/commands/team-to-product/update-team-to-product.command.d.ts +3 -3
- package/build/commands/team-to-subscription/update-team-to-subscription.command.d.ts +10 -10
- package/build/commands/tools/diagrams/diagrams.command.d.ts +12 -12
- package/build/commands/tools/diagrams/edit-diagrams-job.command.d.ts +13 -13
- package/build/commands/tools/diagrams/find-diagrams-job-by-uuid.command.d.ts +12 -12
- package/build/commands/tools/diagrams/find-diagrams-jobs.command.d.ts +12 -12
- package/build/commands/tools/diagrams/get-diagrams-tool-config.command.d.ts +24 -24
- package/build/commands/tools/diagrams/retry-diagrams-job.command.d.ts +13 -13
- package/build/commands/tools/diagrams/set-reaction-to-diagrams-job.command.d.ts +12 -12
- package/build/commands/tools/diagrams/update-diagrams-job-favorite.command.d.ts +12 -12
- package/build/commands/tools/diagrams/update-diagrams-job-title.command.d.ts +12 -12
- package/build/commands/tools/greetings/requests.d.ts +36 -36
- package/build/commands/tools/greetings/responses.d.ts +26 -26
- package/build/commands/tools/html-page-builder/answer-html-page-builder-questions.command.d.ts +4 -4
- package/build/commands/tools/html-page-builder/execute-html-page-builder.command.d.ts +4 -4
- package/build/commands/tools/html-page-builder/find-html-page-builder-session-by-uuid.command.d.ts +4 -4
- package/build/commands/tools/html-page-builder/find-html-page-builder-sessions.command.d.ts +8 -8
- package/build/commands/tools/html-page-builder/html-page-builder-image-action.command.d.ts +4 -4
- package/build/commands/tools/html-page-builder/refine-html-page-builder.command.d.ts +4 -4
- package/build/commands/tools/html-page-builder/retry-html-page-builder-build.command.d.ts +4 -4
- package/build/commands/tools/html-page-builder/retry-html-page-builder-refine.command.d.ts +4 -4
- package/build/commands/tools/html-page-builder/update-html-page-builder-session-favorite.command.d.ts +4 -4
- package/build/commands/tools/html-page-builder/update-html-page-builder-session-reaction.command.d.ts +8 -8
- package/build/commands/tools/html-page-builder/update-html-page-builder-session-title.command.d.ts +4 -4
- package/build/commands/tools/image-editor/find-image-editor-jobs.command.d.ts +1 -1
- package/build/commands/tools/image-editor/image-editor.command.d.ts +1 -1
- package/build/commands/tools/image-editor/set-reaction-to-image-editor-job.command.d.ts +1 -1
- package/build/commands/tools/image-generation/find-image-generation-jobs.command.d.ts +5 -5
- package/build/commands/tools/image-generation/image-generation.command.d.ts +4 -4
- package/build/commands/tools/image-generation/retry-image-generation-job.command.d.ts +2 -2
- package/build/commands/tools/image-generation/set-reaction-to-image-generation-job.command.d.ts +2 -2
- package/build/commands/tools/image-recognition/find-image-recognition-jobs.command.d.ts +1 -1
- package/build/commands/tools/image-recognition/set-reaction-to-image-recognition-job.command.d.ts +1 -1
- package/build/commands/tools/interior-design/delete-interior-design-job-by-uuid.command.d.ts +4 -4
- package/build/commands/tools/interior-design/find-interior-design-generation-group-by-uuid.command.d.ts +4 -4
- package/build/commands/tools/interior-design/find-interior-design-generation-groups.command.d.ts +7 -7
- package/build/commands/tools/interior-design/find-interior-design-job-by-uuid.command.d.ts +2 -2
- package/build/commands/tools/interior-design/find-interior-design-jobs.command.d.ts +4 -4
- package/build/commands/tools/interior-design/get-interior-design-tool-config.command.d.ts +2 -2
- package/build/commands/tools/interior-design/interior-design.command.d.ts +9 -9
- package/build/commands/tools/interior-design/retry-interior-design-generation-group-child.command.d.ts +4 -4
- package/build/commands/tools/interior-design/retry-interior-design-job.command.d.ts +2 -2
- package/build/commands/tools/interior-design/set-reaction-to-interior-design-job.command.d.ts +4 -4
- package/build/commands/tools/interior-design/update-interior-design-generation-group-favorite.command.d.ts +4 -4
- package/build/commands/tools/interior-design/update-interior-design-job-favorite.command.d.ts +2 -2
- package/build/commands/tools/interior-design/update-interior-design-job-title.command.d.ts +4 -4
- package/build/commands/tools/marketplace-card/execute-marketplace-card.command.d.ts +2 -2
- package/build/commands/tools/marketplace-card/find-marketplace-card-jobs.command.d.ts +1 -1
- package/build/commands/tools/marketplace-card/set-reaction-to-marketplace-card.command.d.ts +1 -1
- package/build/commands/tools/motion-control/index.d.ts +24 -24
- package/build/commands/tools/music/add-track-to-music-playlist.command.d.ts +16 -16
- package/build/commands/tools/music/create-music-playlist.command.d.ts +16 -16
- package/build/commands/tools/music/edit-music.command.d.ts +16 -16
- package/build/commands/tools/music/find-music-job-by-uuid.command.d.ts +16 -16
- package/build/commands/tools/music/find-music-jobs.command.d.ts +55 -55
- package/build/commands/tools/music/find-music-playlists.command.d.ts +16 -16
- package/build/commands/tools/music/generate-music.command.d.ts +16 -16
- package/build/commands/tools/music/remove-track-from-music-playlist.command.d.ts +16 -16
- package/build/commands/tools/music/retry-music-job.command.d.ts +66 -66
- package/build/commands/tools/music/set-reaction-to-music-job.command.d.ts +55 -55
- package/build/commands/tools/music/update-music-job-favorite.command.d.ts +16 -16
- package/build/commands/tools/music/update-music-job-title.command.d.ts +16 -16
- package/build/commands/tools/music/update-music-playlist.command.d.ts +16 -16
- package/build/commands/tools/paraphrase/find-paraphrase-jobs.command.d.ts +3 -3
- package/build/commands/tools/paraphrase/paraphrase.command.d.ts +3 -3
- package/build/commands/tools/paraphrase/set-reaction-to-paraphrase-job.command.d.ts +3 -3
- package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.d.ts +42 -42
- package/build/commands/tools/photo-session/find-photo-session-jobs.command.d.ts +44 -44
- package/build/commands/tools/photo-session/get-photo-session-config.command.d.ts +19 -19
- package/build/commands/tools/photo-session/photo-session.command.d.ts +42 -42
- package/build/commands/tools/photo-session/retry-photo-session-job.command.d.ts +22 -22
- package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.d.ts +24 -24
- package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.d.ts +22 -22
- package/build/commands/tools/photo-session/update-photo-session-job-title.command.d.ts +42 -42
- package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.d.ts +22 -22
- package/build/commands/tools/photo-session/v2/admin/list-photo-session-styles.command.d.ts +7 -7
- package/build/commands/tools/photo-session/v2/find-photo-session-job-by-uuid.command.d.ts +48 -48
- package/build/commands/tools/photo-session/v2/find-photo-session-jobs.command.d.ts +50 -50
- package/build/commands/tools/photo-session/v2/get-photo-session-config.command.d.ts +27 -27
- package/build/commands/tools/photo-session/v2/get-photo-session-styles.command.d.ts +3 -3
- package/build/commands/tools/photo-session/v2/photo-session-recovery.command.d.ts +48 -48
- package/build/commands/tools/photo-session/v2/photo-session.command.d.ts +50 -50
- package/build/commands/tools/photo-session/v2/retry-photo-session-job.command.d.ts +21 -21
- package/build/commands/tools/photo-session/v2/set-reaction-to-photo-session-job.command.d.ts +23 -23
- package/build/commands/tools/photo-session/v2/update-photo-session-job-favorite.command.d.ts +21 -21
- package/build/commands/tools/photo-session/v2/update-photo-session-job-title.command.d.ts +48 -48
- package/build/commands/tools/photo-session/v2/update-published-status-photo-session-job.command.d.ts +21 -21
- package/build/commands/tools/presentation/create-presentation.command.d.ts +2 -2
- package/build/commands/tools/presentation/export-presentation-as-pptx.command.d.ts +20 -20
- package/build/commands/tools/presentation/find-presentation-by-uuid.command.d.ts +1 -1
- package/build/commands/tools/presentation/find-presentations.command.d.ts +3 -3
- package/build/commands/tools/presentation/generate-and-insert-slide.command.d.ts +3 -3
- package/build/commands/tools/presentation/set-reaction-to-presentation.command.d.ts +2 -2
- package/build/commands/tools/presentation/update-presentation-outline.command.d.ts +1 -1
- package/build/commands/tools/presentation/update-presentation-slides.command.d.ts +2 -2
- package/build/commands/tools/presentation/update-slide-image-slot.command.d.ts +1 -1
- package/build/commands/tools/presentation/update-slide.command.d.ts +3 -3
- package/build/commands/tools/solving-edu-task/find-solving-edu-task-jobs.command.d.ts +1 -1
- package/build/commands/tools/solving-edu-task/set-reaction-to-solving-edu-task-job.command.d.ts +1 -1
- package/build/commands/tools/sound-generation/find-sound-generation-jobs.command.d.ts +1 -1
- package/build/commands/tools/sound-generation/get-sound-generation-tool-config.command.d.ts +1 -1
- package/build/commands/tools/sound-generation/set-reaction-to-sound-generation-job.command.d.ts +1 -1
- package/build/commands/tools/spell-corrector/find-spell-corrector-jobs.command.d.ts +2 -2
- package/build/commands/tools/spell-corrector/set-reaction-to-spell-corrector-job.command.d.ts +2 -2
- package/build/commands/tools/stt/find-stt-jobs.command.d.ts +1 -1
- package/build/commands/tools/stt/set-reaction-to-stt-job.command.d.ts +1 -1
- package/build/commands/tools/tool-workspace/find-tool-workspaces.command.d.ts +1 -1
- package/build/commands/tools/tool-workspace/update-tool-workspace.command.d.ts +1 -1
- package/build/commands/tools/tts/create-voice-clone.command.d.ts +5 -5
- package/build/commands/tools/tts/find-tts-jobs.command.d.ts +1 -1
- package/build/commands/tools/tts/find-voices.query.d.ts +4 -4
- package/build/commands/tools/tts/set-reaction-to-tts-job.command.d.ts +1 -1
- package/build/commands/tools/video/find-video-jobs.command.d.ts +4 -4
- package/build/commands/tools/video/set-reaction-to-video-job.command.d.ts +2 -2
- package/build/commands/tools/video/video.command.d.ts +5 -5
- package/build/commands/tools/video-editor/find-video-editor-jobs.command.d.ts +1 -1
- package/build/commands/tools/video-editor/set-reaction-to-video-editor-job.command.d.ts +1 -1
- package/build/commands/tools/writer/find-writer-documents.command.d.ts +3 -3
- package/build/commands/tools/writer/set-reaction.writer-document.command.d.ts +2 -2
- package/build/commands/ui-notification/create-admin-broadcast-ui-notification.command.d.ts +2 -2
- package/build/commands/update-post/create-update-post-translation.command.d.ts +2 -2
- package/build/commands/update-post/delete-update-post.command.d.ts +1 -1
- package/build/commands/update-post/update-update-post-translation.command.d.ts +1 -1
- package/build/commands/user/find-user-by-uuid.command.d.ts +7 -7
- package/build/commands/user/find-users-by-criteria.command.d.ts +10 -10
- package/build/commands/user/get-me.command.d.ts +7 -7
- package/build/commands/user/get-user-payments.command.d.ts +1 -1
- package/build/commands/user/get-user-products.command.d.ts +82 -82
- package/build/commands/user/get-user-subscriptions.command.d.ts +86 -86
- package/build/commands/user/up-token-bonus-balance.command.d.ts +7 -7
- package/build/commands/user-memory/index.d.ts +6 -6
- package/build/commands/user-profile/delete-avatar.command.d.ts +1 -1
- package/build/commands/user-profile/get-user-profile-by-user-id.command.d.ts +1 -1
- package/build/commands/user-profile/update-profile.command.d.ts +1 -1
- package/build/commands/user-profile/upload-avatar.command.d.ts +1 -1
- package/build/commands/user-to-product/update-user-to-product.command.d.ts +2 -2
- package/build/commands/webmaster/update-webmaster.command.d.ts +3 -3
- package/build/constants/category/enums/category-content-type.enum.d.ts +2 -2
- package/build/constants/chat/enums/chat-status.enum.d.ts +3 -3
- package/build/constants/cloud-payments/index.d.ts +3 -3
- package/build/constants/community/default-pagination.constant.d.ts +2 -2
- package/build/constants/content-report/enums/content-report-target-type.enum.d.ts +4 -4
- package/build/constants/photo-studio/photo-studio-action-title.constant.d.ts +12 -12
- package/build/constants/photo-studio/photo-studio-checkpoint-action-title.constant.d.ts +5 -5
- package/build/constants/roles/role.d.ts +3 -3
- package/build/constants/user/enums/user-status.d.ts +1 -0
- package/build/constants/user/enums/user-status.js +1 -0
- package/build/helpers/localized-text.schema.d.ts +1 -1
- package/build/index.d.ts +1 -0
- package/build/index.js +1 -0
- package/build/models/agents/agent-statistics.schema.d.ts +2 -2
- package/build/models/agents/message-attachment.schema.d.ts +6 -6
- package/build/models/apple-iap-product.schema.d.ts +4 -4
- package/build/models/avatar-studio/avatar-studio.schema.d.ts +32 -32
- package/build/models/canvas-node-definition.schema.d.ts +92 -92
- package/build/models/category.schema.d.ts +1 -1
- package/build/models/community/community-post-media-data.schema.d.ts +24 -24
- package/build/models/community/community-post.schema.d.ts +37 -37
- package/build/models/content-report.schema.d.ts +21 -21
- package/build/models/daily-streak.d.ts +6 -6
- package/build/models/interior-design-page-binding.schema.d.ts +1 -1
- package/build/models/invoice-for-payment.schema.d.ts +24 -0
- package/build/models/invoice-for-payment.schema.js +13 -0
- package/build/models/message.schema.d.ts +1 -1
- package/build/models/model-page/model-page-public.schema.d.ts +15 -15
- package/build/models/model-page/model-page-technical-model.schema.d.ts +9 -9
- package/build/models/onboarding.schema.d.ts +18 -18
- package/build/models/page-tool-settings.schema.d.ts +1 -1
- package/build/models/page.schema.d.ts +4 -4
- package/build/models/partner-codes/partner-administration.schema.d.ts +24 -24
- package/build/models/partner-codes/partner-cabinet-context.schema.d.ts +1 -1
- package/build/models/partner-codes/partner-cabinet.schema.d.ts +24 -24
- package/build/models/partner-codes/partner-codes.schema.d.ts +49 -49
- package/build/models/product.schema.d.ts +80 -80
- package/build/models/purchase-history.schema.d.ts +18 -18
- package/build/models/push/push-campaign.schema.d.ts +2 -2
- package/build/models/push/push-test-summary.schema.d.ts +1 -1
- package/build/models/subscription.schema.d.ts +456 -456
- package/build/models/team-account/team-account-invite.schema.d.ts +8 -8
- package/build/models/team-account/team-to-product.schema.d.ts +81 -81
- package/build/models/team-account/team-to-subscription.schema.d.ts +85 -85
- package/build/models/tools/diagrams/diagrams-chart-type.schema.d.ts +4 -4
- package/build/models/tools/diagrams/diagrams-config.schema.d.ts +24 -24
- package/build/models/tools/diagrams/diagrams-job.schema.d.ts +16 -16
- package/build/models/tools/diagrams/diagrams-model.schema.d.ts +19 -19
- package/build/models/tools/greetings/greeting-input.schema.d.ts +13 -13
- package/build/models/tools/greetings/greeting-job.schema.d.ts +13 -13
- package/build/models/tools/html-page-builder/html-page-builder-config.schema.d.ts +1 -1
- package/build/models/tools/html-page-builder/html-page-builder-image.schema.d.ts +2 -2
- package/build/models/tools/html-page-builder/html-page-builder-job.schema.d.ts +3 -3
- package/build/models/tools/html-page-builder/html-page-builder-page.schema.d.ts +6 -6
- package/build/models/tools/html-page-builder/html-page-builder-session.schema.d.ts +7 -7
- package/build/models/tools/image-editor/image-editor-job.schema.d.ts +1 -1
- package/build/models/tools/image-generation/image-generation-group.schema.d.ts +4 -4
- package/build/models/tools/image-generation/image-generation-job.schema.d.ts +1 -1
- package/build/models/tools/image-recognition/image-recognition-job.schema.d.ts +1 -1
- package/build/models/tools/interior-design/interior-design-config.schema.d.ts +8 -8
- package/build/models/tools/interior-design/interior-design-generation-group.schema.d.ts +7 -7
- package/build/models/tools/interior-design/interior-design-job.schema.d.ts +5 -5
- package/build/models/tools/marketplace-card/marketplace-card-job.schema.d.ts +1 -1
- package/build/models/tools/motion-control/index.d.ts +10 -10
- package/build/models/tools/music/music-config.schema.d.ts +1 -1
- package/build/models/tools/music/music-job.schema.d.ts +24 -24
- package/build/models/tools/music/music-playlist.schema.d.ts +16 -16
- package/build/models/tools/music/music-track.schema.d.ts +2 -2
- package/build/models/tools/paraphrase/paraphrase-job.schema.d.ts +1 -1
- package/build/models/tools/photo-session/photo-session-config.schema.d.ts +20 -20
- package/build/models/tools/photo-session/photo-session-group.schema.d.ts +7 -7
- package/build/models/tools/photo-session/photo-session-job.schema.d.ts +3 -3
- package/build/models/tools/photo-session/photo-session-model.schema.d.ts +19 -19
- package/build/models/tools/photo-session/photo-session-public.schema.d.ts +77 -77
- package/build/models/tools/photo-session/v2/photo-session-config.schema.d.ts +45 -45
- package/build/models/tools/photo-session/v2/photo-session-group.schema.d.ts +7 -7
- package/build/models/tools/photo-session/v2/photo-session-job.schema.d.ts +3 -3
- package/build/models/tools/photo-session/v2/photo-session-model.schema.d.ts +5 -5
- package/build/models/tools/photo-session/v2/photo-session-public.schema.d.ts +103 -103
- package/build/models/tools/photo-session/v2/photo-session-style.schema.d.ts +3 -3
- package/build/models/tools/presentation/presentation.schema.d.ts +15 -15
- package/build/models/tools/presentation/slide-outline.schema.d.ts +1 -1
- package/build/models/tools/presentation/slide.schema.d.ts +3 -3
- package/build/models/tools/sound-generation/sound-generation-job.schema.d.ts +1 -1
- package/build/models/tools/spell-corrector/spell-corrector-job.schema.d.ts +1 -1
- package/build/models/tools/stt/stt-job.schema.d.ts +1 -1
- package/build/models/tools/tool-workspace/tool-workspace-item.schema.d.ts +5 -5
- package/build/models/tools/tool-workspace/tool-workspace-job.schema.d.ts +5 -5
- package/build/models/tools/tts/tts-config.schema.d.ts +1 -1
- package/build/models/tools/tts/tts-job.schema.d.ts +1 -1
- package/build/models/tools/video/video-group.schema.d.ts +3 -3
- package/build/models/tools/video/video-job.schema.d.ts +1 -1
- package/build/models/tools/video-editor/video-editor-job.schema.d.ts +1 -1
- package/build/models/tools/writer/writer-document.schema.d.ts +1 -1
- package/build/models/tools/writer/writer-source.schema.d.ts +2 -2
- package/build/models/user-memory.schema.d.ts +14 -14
- package/build/models/user-profile.schema.d.ts +1 -1
- package/build/models/user-to-product.schema.d.ts +81 -81
- package/build/models/user-to-subscription.schema.d.ts +255 -255
- package/package.json +4 -1
|
@@ -42,7 +42,7 @@ export declare namespace FindModelPageHubCommand {
|
|
|
42
42
|
maxPromptLength: z.ZodNumber;
|
|
43
43
|
maxPromptTokens: z.ZodNumber;
|
|
44
44
|
maxContextCharacters: z.ZodNumber;
|
|
45
|
-
features: z.ZodArray<z.ZodEnum<typeof import("
|
|
45
|
+
features: z.ZodArray<z.ZodEnum<typeof import("../../../constants").AI_MODEL_FEATURE>>;
|
|
46
46
|
}, z.core.$strip>, z.ZodObject<{
|
|
47
47
|
uuid: z.ZodUUID;
|
|
48
48
|
title: z.ZodString;
|
|
@@ -75,7 +75,7 @@ export declare namespace FindModelPageHubCommand {
|
|
|
75
75
|
}, z.core.$strip>, z.ZodString]>>;
|
|
76
76
|
quality: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>;
|
|
77
77
|
resolution: z.ZodOptional<z.ZodObject<{
|
|
78
|
-
options: z.ZodArray<z.ZodEnum<typeof import("
|
|
78
|
+
options: z.ZodArray<z.ZodEnum<typeof import("../../../constants").IMAGE_GENERATION_RESOLUTION>>;
|
|
79
79
|
}, z.core.$strip>>;
|
|
80
80
|
}, z.core.$strip>;
|
|
81
81
|
pricingRules: z.ZodArray<z.ZodObject<{
|
|
@@ -166,9 +166,9 @@ export declare namespace FindModelPageHubCommand {
|
|
|
166
166
|
}, z.core.$strip>>;
|
|
167
167
|
}, z.core.$strip>>;
|
|
168
168
|
}, z.core.$strip>;
|
|
169
|
-
limitations: z.ZodArray<z.ZodEnum<typeof import("
|
|
169
|
+
limitations: z.ZodArray<z.ZodEnum<typeof import("../../../constants").VIDEO_GENERATION_MODEL_LIMITATION>>;
|
|
170
170
|
pricingRules: z.ZodArray<z.ZodObject<{
|
|
171
|
-
type: z.ZodEnum<typeof import("
|
|
171
|
+
type: z.ZodEnum<typeof import("../../../constants").VIDEO_PRICING_RULE_TYPE>;
|
|
172
172
|
condition: z.ZodObject<{
|
|
173
173
|
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
174
174
|
duration: z.ZodOptional<z.ZodNumber>;
|
|
@@ -203,7 +203,7 @@ export declare namespace FindModelPageHubCommand {
|
|
|
203
203
|
maxLyricsLength: z.ZodNumber;
|
|
204
204
|
params: z.ZodObject<{
|
|
205
205
|
vocalGender: z.ZodObject<{
|
|
206
|
-
options: z.ZodArray<z.ZodEnum<typeof import("
|
|
206
|
+
options: z.ZodArray<z.ZodEnum<typeof import("../../../constants").MUSIC_VOCAL_GENDER>>;
|
|
207
207
|
}, z.core.$strip>;
|
|
208
208
|
styles: z.ZodObject<{
|
|
209
209
|
maxStyles: z.ZodNumber;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare namespace CreateModelPageQuestionCommand {
|
|
3
3
|
const RequestSchema: z.ZodObject<{
|
|
4
|
-
modelPageId: z.ZodUUID;
|
|
5
4
|
questionType: z.ZodEnum<typeof import("../../..").MODEL_PAGE_QUESTION_TYPE>;
|
|
5
|
+
modelPageId: z.ZodUUID;
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
type Request = z.infer<typeof RequestSchema>;
|
|
8
8
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -5,8 +5,8 @@ export declare namespace UpdateModelPageQuestionCommand {
|
|
|
5
5
|
}, z.core.$strip>;
|
|
6
6
|
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
7
7
|
const RequestSchema: z.ZodObject<{
|
|
8
|
-
modelPageId: z.ZodOptional<z.ZodUUID>;
|
|
9
8
|
questionType: z.ZodOptional<z.ZodEnum<typeof import("../../..").MODEL_PAGE_QUESTION_TYPE>>;
|
|
9
|
+
modelPageId: z.ZodOptional<z.ZodUUID>;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
type Request = z.infer<typeof RequestSchema>;
|
|
12
12
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -5,8 +5,8 @@ export declare namespace CreateModelPageQuestionTranslationCommand {
|
|
|
5
5
|
}, z.core.$strip>;
|
|
6
6
|
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
7
7
|
const RequestSchema: z.ZodObject<{
|
|
8
|
-
locale: z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>;
|
|
9
8
|
title: z.ZodString;
|
|
9
|
+
locale: z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>;
|
|
10
10
|
answer: z.ZodString;
|
|
11
11
|
metaTitle: z.ZodString;
|
|
12
12
|
metaDescription: z.ZodString;
|
|
@@ -7,9 +7,9 @@ export declare namespace UpdateModelPageQuestionTranslationCommand {
|
|
|
7
7
|
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
8
8
|
const RequestSchema: z.ZodObject<{
|
|
9
9
|
title: z.ZodOptional<z.ZodString>;
|
|
10
|
+
answer: z.ZodOptional<z.ZodString>;
|
|
10
11
|
metaTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
12
|
metaDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
answer: z.ZodOptional<z.ZodString>;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
type Request = z.infer<typeof RequestSchema>;
|
|
15
15
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -6,11 +6,11 @@ export declare namespace CreateModelPageTranslationCommand {
|
|
|
6
6
|
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
7
7
|
const RequestSchema: z.ZodObject<{
|
|
8
8
|
locale: z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>;
|
|
9
|
+
documentation: z.ZodString;
|
|
10
|
+
description: z.ZodString;
|
|
9
11
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
metaTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
metaDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
description: z.ZodString;
|
|
13
|
-
documentation: z.ZodString;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
type Request = z.infer<typeof RequestSchema>;
|
|
16
16
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -7,10 +7,10 @@ export declare namespace UpdateModelPageTranslationCommand {
|
|
|
7
7
|
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
8
8
|
const RequestSchema: z.ZodObject<{
|
|
9
9
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
documentation: z.ZodOptional<z.ZodString>;
|
|
11
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10
12
|
metaTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
metaDescription: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
description: z.ZodOptional<z.ZodString>;
|
|
13
|
-
documentation: z.ZodOptional<z.ZodString>;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
type Request = z.infer<typeof RequestSchema>;
|
|
16
16
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const MODERATION_REVIEW_ADMIN_CONTROLLER = "admin/moderation-review";
|
|
3
|
+
export declare const MODERATION_REVIEW_DECISIONS: readonly ["false_positive", "warning", "ban"];
|
|
4
|
+
export type ModerationReviewDecisionKind = (typeof MODERATION_REVIEW_DECISIONS)[number];
|
|
5
|
+
export declare const ModerationReviewListQuerySchema: z.ZodObject<{
|
|
6
|
+
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export declare const ModerationReviewUserQuerySchema: z.ZodObject<{
|
|
9
|
+
alertId: z.ZodOptional<z.ZodUUID>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export declare const ModerationReviewDecisionSchema: z.ZodObject<{
|
|
12
|
+
decision: z.ZodEnum<{
|
|
13
|
+
false_positive: "false_positive";
|
|
14
|
+
warning: "warning";
|
|
15
|
+
ban: "ban";
|
|
16
|
+
}>;
|
|
17
|
+
comment: z.ZodString;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
export interface ModerationReviewDecisionRow {
|
|
20
|
+
uuid: string;
|
|
21
|
+
actorId: string;
|
|
22
|
+
decision: ModerationReviewDecisionKind;
|
|
23
|
+
comment: string;
|
|
24
|
+
createdAt: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ModerationReviewAlertRow {
|
|
27
|
+
uuid: string;
|
|
28
|
+
userId: string;
|
|
29
|
+
rule: 'EVASION' | 'PERSISTENT' | 'MINORS_HIGH';
|
|
30
|
+
count24h: number;
|
|
31
|
+
count7d: number;
|
|
32
|
+
createdAt: string;
|
|
33
|
+
deliveredAt: string | null;
|
|
34
|
+
decisions: ModerationReviewDecisionRow[];
|
|
35
|
+
}
|
|
36
|
+
export interface ModerationReviewViolationRow {
|
|
37
|
+
uuid: string;
|
|
38
|
+
toolType: string | null;
|
|
39
|
+
stage: string;
|
|
40
|
+
entityId: string | null;
|
|
41
|
+
entityType: string | null;
|
|
42
|
+
categories: string[];
|
|
43
|
+
scores: Record<string, number> | null;
|
|
44
|
+
evasionDetected: boolean;
|
|
45
|
+
decidedAt: string;
|
|
46
|
+
}
|
|
47
|
+
export interface ModerationReviewUserDetails {
|
|
48
|
+
banned: boolean;
|
|
49
|
+
cancellationPending: boolean;
|
|
50
|
+
appStoreActionRequired: boolean;
|
|
51
|
+
alerts: ModerationReviewAlertRow[];
|
|
52
|
+
violations: ModerationReviewViolationRow[];
|
|
53
|
+
}
|
|
54
|
+
export interface ModerationReviewContent {
|
|
55
|
+
text: string | null;
|
|
56
|
+
media: {
|
|
57
|
+
type: 'image' | 'video' | 'audio';
|
|
58
|
+
url: string;
|
|
59
|
+
}[];
|
|
60
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ModerationReviewDecisionSchema = exports.ModerationReviewUserQuerySchema = exports.ModerationReviewListQuerySchema = exports.MODERATION_REVIEW_DECISIONS = exports.MODERATION_REVIEW_ADMIN_CONTROLLER = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.MODERATION_REVIEW_ADMIN_CONTROLLER = 'admin/moderation-review';
|
|
6
|
+
exports.MODERATION_REVIEW_DECISIONS = ['false_positive', 'warning', 'ban'];
|
|
7
|
+
exports.ModerationReviewListQuerySchema = zod_1.z.object({
|
|
8
|
+
page: zod_1.z.coerce.number().int().min(1).max(10000).default(1),
|
|
9
|
+
});
|
|
10
|
+
exports.ModerationReviewUserQuerySchema = zod_1.z.object({
|
|
11
|
+
alertId: zod_1.z.uuid().optional(),
|
|
12
|
+
});
|
|
13
|
+
exports.ModerationReviewDecisionSchema = zod_1.z.object({
|
|
14
|
+
decision: zod_1.z.enum(exports.MODERATION_REVIEW_DECISIONS),
|
|
15
|
+
comment: zod_1.z.string().trim().min(1).max(2000),
|
|
16
|
+
});
|
|
@@ -13,18 +13,18 @@ export declare namespace GetOnboardingCommand {
|
|
|
13
13
|
first_chat: "first_chat";
|
|
14
14
|
first_image: "first_image";
|
|
15
15
|
first_photo: "first_photo";
|
|
16
|
-
first_video: "first_video";
|
|
17
16
|
first_voice: "first_voice";
|
|
17
|
+
first_video: "first_video";
|
|
18
18
|
}>;
|
|
19
19
|
title: z.ZodString;
|
|
20
20
|
description: z.ZodString;
|
|
21
21
|
action: z.ZodObject<{
|
|
22
22
|
type: z.ZodEnum<{
|
|
23
|
+
video: "video";
|
|
24
|
+
tts: "tts";
|
|
23
25
|
chat: "chat";
|
|
24
|
-
"image-editor": "image-editor";
|
|
25
26
|
"image-generation": "image-generation";
|
|
26
|
-
|
|
27
|
-
video: "video";
|
|
27
|
+
"image-editor": "image-editor";
|
|
28
28
|
}>;
|
|
29
29
|
}, z.core.$strict>;
|
|
30
30
|
rewardStars: z.ZodNumber;
|
|
@@ -39,8 +39,8 @@ export declare namespace GetOnboardingCommand {
|
|
|
39
39
|
first_chat: "first_chat";
|
|
40
40
|
first_image: "first_image";
|
|
41
41
|
first_photo: "first_photo";
|
|
42
|
-
first_video: "first_video";
|
|
43
42
|
first_voice: "first_voice";
|
|
43
|
+
first_video: "first_video";
|
|
44
44
|
}>>;
|
|
45
45
|
unseenCompletions: z.ZodArray<z.ZodObject<{
|
|
46
46
|
id: z.ZodUUID;
|
|
@@ -48,8 +48,8 @@ export declare namespace GetOnboardingCommand {
|
|
|
48
48
|
first_chat: "first_chat";
|
|
49
49
|
first_image: "first_image";
|
|
50
50
|
first_photo: "first_photo";
|
|
51
|
-
first_video: "first_video";
|
|
52
51
|
first_voice: "first_voice";
|
|
52
|
+
first_video: "first_video";
|
|
53
53
|
}>;
|
|
54
54
|
awardedStars: z.ZodNumber;
|
|
55
55
|
completedAt: z.ZodCoercedDate<unknown>;
|
|
@@ -75,18 +75,18 @@ export declare namespace AckOnboardingNotificationsCommand {
|
|
|
75
75
|
first_chat: "first_chat";
|
|
76
76
|
first_image: "first_image";
|
|
77
77
|
first_photo: "first_photo";
|
|
78
|
-
first_video: "first_video";
|
|
79
78
|
first_voice: "first_voice";
|
|
79
|
+
first_video: "first_video";
|
|
80
80
|
}>;
|
|
81
81
|
title: z.ZodString;
|
|
82
82
|
description: z.ZodString;
|
|
83
83
|
action: z.ZodObject<{
|
|
84
84
|
type: z.ZodEnum<{
|
|
85
|
+
video: "video";
|
|
86
|
+
tts: "tts";
|
|
85
87
|
chat: "chat";
|
|
86
|
-
"image-editor": "image-editor";
|
|
87
88
|
"image-generation": "image-generation";
|
|
88
|
-
|
|
89
|
-
video: "video";
|
|
89
|
+
"image-editor": "image-editor";
|
|
90
90
|
}>;
|
|
91
91
|
}, z.core.$strict>;
|
|
92
92
|
rewardStars: z.ZodNumber;
|
|
@@ -101,8 +101,8 @@ export declare namespace AckOnboardingNotificationsCommand {
|
|
|
101
101
|
first_chat: "first_chat";
|
|
102
102
|
first_image: "first_image";
|
|
103
103
|
first_photo: "first_photo";
|
|
104
|
-
first_video: "first_video";
|
|
105
104
|
first_voice: "first_voice";
|
|
105
|
+
first_video: "first_video";
|
|
106
106
|
}>>;
|
|
107
107
|
unseenCompletions: z.ZodArray<z.ZodObject<{
|
|
108
108
|
id: z.ZodUUID;
|
|
@@ -110,8 +110,8 @@ export declare namespace AckOnboardingNotificationsCommand {
|
|
|
110
110
|
first_chat: "first_chat";
|
|
111
111
|
first_image: "first_image";
|
|
112
112
|
first_photo: "first_photo";
|
|
113
|
-
first_video: "first_video";
|
|
114
113
|
first_voice: "first_voice";
|
|
114
|
+
first_video: "first_video";
|
|
115
115
|
}>;
|
|
116
116
|
awardedStars: z.ZodNumber;
|
|
117
117
|
completedAt: z.ZodCoercedDate<unknown>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare namespace CreatePageTranslationCommand {
|
|
3
3
|
const RequestSchema: z.ZodObject<{
|
|
4
|
+
title: z.ZodString;
|
|
4
5
|
locale: z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>;
|
|
5
6
|
metaTitle: z.ZodString;
|
|
6
7
|
metaDescription: z.ZodString;
|
|
7
|
-
title: z.ZodString;
|
|
8
8
|
subTitle: z.ZodString;
|
|
9
9
|
seoTextMd: z.ZodString;
|
|
10
10
|
toolTitle: z.ZodNullable<z.ZodString>;
|
|
@@ -2,29 +2,29 @@ import { PageType } from '../../constants';
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare namespace CreatePageCommand {
|
|
4
4
|
const RequestSchema: z.ZodObject<{
|
|
5
|
-
|
|
5
|
+
type: z.ZodEnum<typeof PageType>;
|
|
6
6
|
categoryId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
7
|
+
alias: z.ZodString;
|
|
7
8
|
aIModelId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
8
9
|
toolId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
9
10
|
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
10
11
|
toolSettings: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11
|
-
contentType: z.ZodLiteral<import("
|
|
12
|
+
contentType: z.ZodLiteral<import("../../constants").TOOL_CONTENT_TYPE.INTERIOR_DESIGN>;
|
|
12
13
|
params: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
13
|
-
jobSource: z.ZodLiteral<import("
|
|
14
|
+
jobSource: z.ZodLiteral<import("../../constants").INTERIOR_DESIGN_JOB_SOURCE.CREATED>;
|
|
14
15
|
generationMode: z.ZodEnum<{
|
|
15
|
-
facade: "facade";
|
|
16
16
|
interior: "interior";
|
|
17
|
+
facade: "facade";
|
|
17
18
|
landscape: "landscape";
|
|
18
19
|
}>;
|
|
19
20
|
objectTypeId: z.ZodNullable<z.ZodString>;
|
|
20
21
|
objectSubtypeId: z.ZodNullable<z.ZodString>;
|
|
21
22
|
styleId: z.ZodDefault<z.ZodString>;
|
|
22
23
|
}, z.core.$strict>, z.ZodObject<{
|
|
23
|
-
jobSource: z.ZodLiteral<import("
|
|
24
|
+
jobSource: z.ZodLiteral<import("../../constants").INTERIOR_DESIGN_JOB_SOURCE.UPDATED>;
|
|
24
25
|
}, z.core.$strict>], "jobSource">;
|
|
25
26
|
}, z.core.$strict>], "contentType">>>;
|
|
26
27
|
toolModelId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
27
|
-
type: z.ZodEnum<typeof PageType>;
|
|
28
28
|
}, z.core.$strip>;
|
|
29
29
|
type Request = z.infer<typeof RequestSchema>;
|
|
30
30
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -41,19 +41,19 @@ export declare namespace CreatePageCommand {
|
|
|
41
41
|
toolId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
42
42
|
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
43
43
|
toolSettings: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
44
|
-
contentType: z.ZodLiteral<import("
|
|
44
|
+
contentType: z.ZodLiteral<import("../../constants").TOOL_CONTENT_TYPE.INTERIOR_DESIGN>;
|
|
45
45
|
params: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
46
|
-
jobSource: z.ZodLiteral<import("
|
|
46
|
+
jobSource: z.ZodLiteral<import("../../constants").INTERIOR_DESIGN_JOB_SOURCE.CREATED>;
|
|
47
47
|
generationMode: z.ZodEnum<{
|
|
48
|
-
facade: "facade";
|
|
49
48
|
interior: "interior";
|
|
49
|
+
facade: "facade";
|
|
50
50
|
landscape: "landscape";
|
|
51
51
|
}>;
|
|
52
52
|
objectTypeId: z.ZodNullable<z.ZodString>;
|
|
53
53
|
objectSubtypeId: z.ZodNullable<z.ZodString>;
|
|
54
54
|
styleId: z.ZodDefault<z.ZodString>;
|
|
55
55
|
}, z.core.$strict>, z.ZodObject<{
|
|
56
|
-
jobSource: z.ZodLiteral<import("
|
|
56
|
+
jobSource: z.ZodLiteral<import("../../constants").INTERIOR_DESIGN_JOB_SOURCE.UPDATED>;
|
|
57
57
|
}, z.core.$strict>], "jobSource">;
|
|
58
58
|
}, z.core.$strict>], "contentType">>>;
|
|
59
59
|
toolModelId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -22,8 +22,8 @@ export declare namespace FindPageByAliasCommand {
|
|
|
22
22
|
params: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
23
23
|
jobSource: z.ZodLiteral<import("../..").INTERIOR_DESIGN_JOB_SOURCE.CREATED>;
|
|
24
24
|
generationMode: z.ZodEnum<{
|
|
25
|
-
facade: "facade";
|
|
26
25
|
interior: "interior";
|
|
26
|
+
facade: "facade";
|
|
27
27
|
landscape: "landscape";
|
|
28
28
|
}>;
|
|
29
29
|
objectTypeId: z.ZodNullable<z.ZodString>;
|
|
@@ -59,8 +59,8 @@ export declare namespace FindPageByAliasCommand {
|
|
|
59
59
|
params: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
60
60
|
jobSource: z.ZodLiteral<import("../..").INTERIOR_DESIGN_JOB_SOURCE.CREATED>;
|
|
61
61
|
generationMode: z.ZodEnum<{
|
|
62
|
-
facade: "facade";
|
|
63
62
|
interior: "interior";
|
|
63
|
+
facade: "facade";
|
|
64
64
|
landscape: "landscape";
|
|
65
65
|
}>;
|
|
66
66
|
objectTypeId: z.ZodNullable<z.ZodString>;
|
|
@@ -85,8 +85,8 @@ export declare namespace FindPageByAliasCommand {
|
|
|
85
85
|
placeholder: z.ZodNullable<z.ZodString>;
|
|
86
86
|
seoName: z.ZodString;
|
|
87
87
|
contentType: z.ZodEnum<{
|
|
88
|
-
IMAGE: "IMAGE";
|
|
89
88
|
TEXT: "TEXT";
|
|
89
|
+
IMAGE: "IMAGE";
|
|
90
90
|
}>;
|
|
91
91
|
marks: z.ZodArray<z.ZodEnum<typeof import("../..").CATEGORY_MARK>>;
|
|
92
92
|
createdAt: z.ZodDate;
|
|
@@ -193,8 +193,8 @@ export declare namespace FindPageByAliasCommand {
|
|
|
193
193
|
params: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
194
194
|
jobSource: z.ZodLiteral<import("../..").INTERIOR_DESIGN_JOB_SOURCE.CREATED>;
|
|
195
195
|
generationMode: z.ZodEnum<{
|
|
196
|
-
facade: "facade";
|
|
197
196
|
interior: "interior";
|
|
197
|
+
facade: "facade";
|
|
198
198
|
landscape: "landscape";
|
|
199
199
|
}>;
|
|
200
200
|
objectTypeId: z.ZodNullable<z.ZodString>;
|
|
@@ -219,8 +219,8 @@ export declare namespace FindPageByAliasCommand {
|
|
|
219
219
|
placeholder: z.ZodNullable<z.ZodString>;
|
|
220
220
|
seoName: z.ZodString;
|
|
221
221
|
contentType: z.ZodEnum<{
|
|
222
|
-
IMAGE: "IMAGE";
|
|
223
222
|
TEXT: "TEXT";
|
|
223
|
+
IMAGE: "IMAGE";
|
|
224
224
|
}>;
|
|
225
225
|
marks: z.ZodArray<z.ZodEnum<typeof import("../..").CATEGORY_MARK>>;
|
|
226
226
|
createdAt: z.ZodDate;
|
|
@@ -22,8 +22,8 @@ export declare namespace FindPageCommand {
|
|
|
22
22
|
params: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
23
23
|
jobSource: z.ZodLiteral<import("../..").INTERIOR_DESIGN_JOB_SOURCE.CREATED>;
|
|
24
24
|
generationMode: z.ZodEnum<{
|
|
25
|
-
facade: "facade";
|
|
26
25
|
interior: "interior";
|
|
26
|
+
facade: "facade";
|
|
27
27
|
landscape: "landscape";
|
|
28
28
|
}>;
|
|
29
29
|
objectTypeId: z.ZodNullable<z.ZodString>;
|
|
@@ -59,8 +59,8 @@ export declare namespace FindPageCommand {
|
|
|
59
59
|
params: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
60
60
|
jobSource: z.ZodLiteral<import("../..").INTERIOR_DESIGN_JOB_SOURCE.CREATED>;
|
|
61
61
|
generationMode: z.ZodEnum<{
|
|
62
|
-
facade: "facade";
|
|
63
62
|
interior: "interior";
|
|
63
|
+
facade: "facade";
|
|
64
64
|
landscape: "landscape";
|
|
65
65
|
}>;
|
|
66
66
|
objectTypeId: z.ZodNullable<z.ZodString>;
|
|
@@ -98,8 +98,8 @@ export declare namespace FindPageCommand {
|
|
|
98
98
|
placeholder: z.ZodNullable<z.ZodString>;
|
|
99
99
|
seoName: z.ZodString;
|
|
100
100
|
contentType: z.ZodEnum<{
|
|
101
|
-
IMAGE: "IMAGE";
|
|
102
101
|
TEXT: "TEXT";
|
|
102
|
+
IMAGE: "IMAGE";
|
|
103
103
|
}>;
|
|
104
104
|
marks: z.ZodArray<z.ZodEnum<typeof import("../..").CATEGORY_MARK>>;
|
|
105
105
|
createdAt: z.ZodDate;
|
|
@@ -29,19 +29,19 @@ export declare namespace FindPagesByCriteriaCommand {
|
|
|
29
29
|
toolId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
30
30
|
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
31
31
|
toolSettings: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
32
|
-
contentType: z.ZodLiteral<import("
|
|
32
|
+
contentType: z.ZodLiteral<import("../../constants").TOOL_CONTENT_TYPE.INTERIOR_DESIGN>;
|
|
33
33
|
params: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
34
|
-
jobSource: z.ZodLiteral<import("
|
|
34
|
+
jobSource: z.ZodLiteral<import("../../constants").INTERIOR_DESIGN_JOB_SOURCE.CREATED>;
|
|
35
35
|
generationMode: z.ZodEnum<{
|
|
36
|
-
facade: "facade";
|
|
37
36
|
interior: "interior";
|
|
37
|
+
facade: "facade";
|
|
38
38
|
landscape: "landscape";
|
|
39
39
|
}>;
|
|
40
40
|
objectTypeId: z.ZodNullable<z.ZodString>;
|
|
41
41
|
objectSubtypeId: z.ZodNullable<z.ZodString>;
|
|
42
42
|
styleId: z.ZodDefault<z.ZodString>;
|
|
43
43
|
}, z.core.$strict>, z.ZodObject<{
|
|
44
|
-
jobSource: z.ZodLiteral<import("
|
|
44
|
+
jobSource: z.ZodLiteral<import("../../constants").INTERIOR_DESIGN_JOB_SOURCE.UPDATED>;
|
|
45
45
|
}, z.core.$strict>], "jobSource">;
|
|
46
46
|
}, z.core.$strict>], "contentType">>>;
|
|
47
47
|
toolModelId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -67,19 +67,19 @@ export declare namespace FindPagesByCriteriaCommand {
|
|
|
67
67
|
toolId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
68
68
|
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
69
69
|
toolSettings: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
70
|
-
contentType: z.ZodLiteral<import("
|
|
70
|
+
contentType: z.ZodLiteral<import("../../constants").TOOL_CONTENT_TYPE.INTERIOR_DESIGN>;
|
|
71
71
|
params: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
72
|
-
jobSource: z.ZodLiteral<import("
|
|
72
|
+
jobSource: z.ZodLiteral<import("../../constants").INTERIOR_DESIGN_JOB_SOURCE.CREATED>;
|
|
73
73
|
generationMode: z.ZodEnum<{
|
|
74
|
-
facade: "facade";
|
|
75
74
|
interior: "interior";
|
|
75
|
+
facade: "facade";
|
|
76
76
|
landscape: "landscape";
|
|
77
77
|
}>;
|
|
78
78
|
objectTypeId: z.ZodNullable<z.ZodString>;
|
|
79
79
|
objectSubtypeId: z.ZodNullable<z.ZodString>;
|
|
80
80
|
styleId: z.ZodDefault<z.ZodString>;
|
|
81
81
|
}, z.core.$strict>, z.ZodObject<{
|
|
82
|
-
jobSource: z.ZodLiteral<import("
|
|
82
|
+
jobSource: z.ZodLiteral<import("../../constants").INTERIOR_DESIGN_JOB_SOURCE.UPDATED>;
|
|
83
83
|
}, z.core.$strict>], "jobSource">;
|
|
84
84
|
}, z.core.$strict>], "contentType">>>;
|
|
85
85
|
toolModelId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -97,10 +97,10 @@ export declare namespace FindPagesByCriteriaCommand {
|
|
|
97
97
|
placeholder: z.ZodNullable<z.ZodString>;
|
|
98
98
|
seoName: z.ZodString;
|
|
99
99
|
contentType: z.ZodEnum<{
|
|
100
|
-
IMAGE: "IMAGE";
|
|
101
100
|
TEXT: "TEXT";
|
|
101
|
+
IMAGE: "IMAGE";
|
|
102
102
|
}>;
|
|
103
|
-
marks: z.ZodArray<z.ZodEnum<typeof import("
|
|
103
|
+
marks: z.ZodArray<z.ZodEnum<typeof import("../../constants").CATEGORY_MARK>>;
|
|
104
104
|
createdAt: z.ZodDate;
|
|
105
105
|
updatedAt: z.ZodDate;
|
|
106
106
|
}, z.core.$strip>, z.ZodNull]>;
|
|
@@ -113,11 +113,11 @@ export declare namespace FindPagesByCriteriaCommand {
|
|
|
113
113
|
tokenMultiplicator: z.ZodNumber;
|
|
114
114
|
freeTokenMultiplicator: z.ZodNumber;
|
|
115
115
|
order: z.ZodNumber;
|
|
116
|
-
tags: z.ZodArray<z.ZodEnum<typeof import("
|
|
116
|
+
tags: z.ZodArray<z.ZodEnum<typeof import("../../constants").AI_MODEL_TAG>>;
|
|
117
117
|
hint: z.ZodNullable<z.ZodString>;
|
|
118
118
|
canUse: z.ZodOptional<z.ZodBoolean>;
|
|
119
|
-
status: z.ZodEnum<typeof import("
|
|
120
|
-
features: z.ZodArray<z.ZodEnum<typeof import("
|
|
119
|
+
status: z.ZodEnum<typeof import("../../constants").AI_MODEL_STATUS>;
|
|
120
|
+
features: z.ZodArray<z.ZodEnum<typeof import("../../constants").AI_MODEL_FEATURE>>;
|
|
121
121
|
iconVariants: z.ZodObject<{
|
|
122
122
|
light: z.ZodObject<{
|
|
123
123
|
svg: z.ZodString;
|
|
@@ -200,19 +200,19 @@ export declare namespace FindPagesByCriteriaCommand {
|
|
|
200
200
|
toolId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
201
201
|
toolOptionId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
202
202
|
toolSettings: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
203
|
-
contentType: z.ZodLiteral<import("
|
|
203
|
+
contentType: z.ZodLiteral<import("../../constants").TOOL_CONTENT_TYPE.INTERIOR_DESIGN>;
|
|
204
204
|
params: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
205
|
-
jobSource: z.ZodLiteral<import("
|
|
205
|
+
jobSource: z.ZodLiteral<import("../../constants").INTERIOR_DESIGN_JOB_SOURCE.CREATED>;
|
|
206
206
|
generationMode: z.ZodEnum<{
|
|
207
|
-
facade: "facade";
|
|
208
207
|
interior: "interior";
|
|
208
|
+
facade: "facade";
|
|
209
209
|
landscape: "landscape";
|
|
210
210
|
}>;
|
|
211
211
|
objectTypeId: z.ZodNullable<z.ZodString>;
|
|
212
212
|
objectSubtypeId: z.ZodNullable<z.ZodString>;
|
|
213
213
|
styleId: z.ZodDefault<z.ZodString>;
|
|
214
214
|
}, z.core.$strict>, z.ZodObject<{
|
|
215
|
-
jobSource: z.ZodLiteral<import("
|
|
215
|
+
jobSource: z.ZodLiteral<import("../../constants").INTERIOR_DESIGN_JOB_SOURCE.UPDATED>;
|
|
216
216
|
}, z.core.$strict>], "jobSource">;
|
|
217
217
|
}, z.core.$strict>], "contentType">>>;
|
|
218
218
|
toolModelId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
@@ -230,10 +230,10 @@ export declare namespace FindPagesByCriteriaCommand {
|
|
|
230
230
|
placeholder: z.ZodNullable<z.ZodString>;
|
|
231
231
|
seoName: z.ZodString;
|
|
232
232
|
contentType: z.ZodEnum<{
|
|
233
|
-
IMAGE: "IMAGE";
|
|
234
233
|
TEXT: "TEXT";
|
|
234
|
+
IMAGE: "IMAGE";
|
|
235
235
|
}>;
|
|
236
|
-
marks: z.ZodArray<z.ZodEnum<typeof import("
|
|
236
|
+
marks: z.ZodArray<z.ZodEnum<typeof import("../../constants").CATEGORY_MARK>>;
|
|
237
237
|
createdAt: z.ZodDate;
|
|
238
238
|
updatedAt: z.ZodDate;
|
|
239
239
|
}, z.core.$strip>, z.ZodNull]>;
|
|
@@ -246,11 +246,11 @@ export declare namespace FindPagesByCriteriaCommand {
|
|
|
246
246
|
tokenMultiplicator: z.ZodNumber;
|
|
247
247
|
freeTokenMultiplicator: z.ZodNumber;
|
|
248
248
|
order: z.ZodNumber;
|
|
249
|
-
tags: z.ZodArray<z.ZodEnum<typeof import("
|
|
249
|
+
tags: z.ZodArray<z.ZodEnum<typeof import("../../constants").AI_MODEL_TAG>>;
|
|
250
250
|
hint: z.ZodNullable<z.ZodString>;
|
|
251
251
|
canUse: z.ZodOptional<z.ZodBoolean>;
|
|
252
|
-
status: z.ZodEnum<typeof import("
|
|
253
|
-
features: z.ZodArray<z.ZodEnum<typeof import("
|
|
252
|
+
status: z.ZodEnum<typeof import("../../constants").AI_MODEL_STATUS>;
|
|
253
|
+
features: z.ZodArray<z.ZodEnum<typeof import("../../constants").AI_MODEL_FEATURE>>;
|
|
254
254
|
iconVariants: z.ZodObject<{
|
|
255
255
|
light: z.ZodObject<{
|
|
256
256
|
svg: z.ZodString;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare namespace UpdatePageTranslationCommand {
|
|
3
3
|
const RequestSchema: z.ZodObject<{
|
|
4
|
+
title: z.ZodOptional<z.ZodString>;
|
|
4
5
|
metaTitle: z.ZodOptional<z.ZodString>;
|
|
5
6
|
metaDescription: z.ZodOptional<z.ZodString>;
|
|
6
|
-
title: z.ZodOptional<z.ZodString>;
|
|
7
7
|
subTitle: z.ZodOptional<z.ZodString>;
|
|
8
8
|
seoTextMd: z.ZodOptional<z.ZodString>;
|
|
9
9
|
toolTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare namespace UpdatePageCommand {
|
|
3
3
|
const RequestSchema: z.ZodObject<{
|
|
4
|
-
|
|
4
|
+
type: z.ZodOptional<z.ZodEnum<typeof import("../..").PageType>>;
|
|
5
5
|
categoryId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
6
|
+
alias: z.ZodOptional<z.ZodString>;
|
|
6
7
|
aIModelId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
7
8
|
toolId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
8
9
|
toolOptionId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
@@ -11,8 +12,8 @@ export declare namespace UpdatePageCommand {
|
|
|
11
12
|
params: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
12
13
|
jobSource: z.ZodLiteral<import("../..").INTERIOR_DESIGN_JOB_SOURCE.CREATED>;
|
|
13
14
|
generationMode: z.ZodEnum<{
|
|
14
|
-
facade: "facade";
|
|
15
15
|
interior: "interior";
|
|
16
|
+
facade: "facade";
|
|
16
17
|
landscape: "landscape";
|
|
17
18
|
}>;
|
|
18
19
|
objectTypeId: z.ZodNullable<z.ZodString>;
|
|
@@ -24,7 +25,6 @@ export declare namespace UpdatePageCommand {
|
|
|
24
25
|
}, z.core.$strict>], "contentType">>>>;
|
|
25
26
|
toolModelId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
|
|
26
27
|
toolTitle: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
27
|
-
type: z.ZodOptional<z.ZodEnum<typeof import("../..").PageType>>;
|
|
28
28
|
}, z.core.$strip>;
|
|
29
29
|
type Request = z.infer<typeof RequestSchema>;
|
|
30
30
|
const RequestParamSchema: z.ZodObject<{
|
|
@@ -49,8 +49,8 @@ export declare namespace UpdatePageCommand {
|
|
|
49
49
|
params: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
50
50
|
jobSource: z.ZodLiteral<import("../..").INTERIOR_DESIGN_JOB_SOURCE.CREATED>;
|
|
51
51
|
generationMode: z.ZodEnum<{
|
|
52
|
-
facade: "facade";
|
|
53
52
|
interior: "interior";
|
|
53
|
+
facade: "facade";
|
|
54
54
|
landscape: "landscape";
|
|
55
55
|
}>;
|
|
56
56
|
objectTypeId: z.ZodNullable<z.ZodString>;
|