@purpleschool/multisite 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/controller/http/ai-proxy.d.ts +6 -0
- package/build/api/controller/http/ai-proxy.d.ts.map +1 -0
- package/build/api/controller/http/ai-proxy.js +1 -0
- package/build/api/controller/http/auth.d.ts +14 -0
- package/build/api/controller/http/auth.d.ts.map +1 -0
- package/build/api/controller/http/auth.js +8 -0
- package/build/api/controller/http/cloud-payments.d.ts +5 -0
- package/build/api/controller/http/cloud-payments.d.ts.map +1 -0
- package/build/api/controller/http/file.d.ts +6 -0
- package/build/api/controller/http/file.d.ts.map +1 -0
- package/build/api/controller/http/health.d.ts +4 -0
- package/build/api/controller/http/health.d.ts.map +1 -0
- package/build/api/controller/http/image-editor.d.ts +15 -0
- package/build/api/controller/http/image-editor.d.ts.map +1 -0
- package/build/api/controller/http/image-editor.js +17 -0
- package/build/api/controller/http/image-generation.d.ts +15 -0
- package/build/api/controller/http/image-generation.d.ts.map +1 -0
- package/{api/controller/http/index.ts → build/api/controller/http/index.d.ts} +5 -0
- package/build/api/controller/http/index.d.ts.map +1 -0
- package/build/api/controller/http/index.js +4 -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/controller/http/page-question.d.ts +9 -0
- package/build/api/controller/http/page-question.d.ts.map +1 -0
- package/build/api/controller/http/page-question.js +11 -0
- package/build/api/controller/http/page.d.ts +12 -0
- package/build/api/controller/http/page.d.ts.map +1 -0
- package/build/api/controller/http/page.js +14 -0
- package/build/api/controller/http/payment.d.ts +5 -0
- package/build/api/controller/http/payment.d.ts.map +1 -0
- package/build/api/controller/http/product.d.ts +7 -0
- package/build/api/controller/http/product.d.ts.map +1 -0
- package/build/api/controller/http/subscription.d.ts +7 -0
- package/build/api/controller/http/subscription.d.ts.map +1 -0
- package/build/api/controller/http/transaction.d.ts +5 -0
- package/build/api/controller/http/transaction.d.ts.map +1 -0
- package/build/api/controller/http/unregistered-user.d.ts +2 -0
- package/build/api/controller/http/unregistered-user.d.ts.map +1 -0
- package/build/api/controller/http/user.d.ts +5 -0
- package/build/api/controller/http/user.d.ts.map +1 -0
- package/build/api/controller/index.d.ts +2 -0
- package/build/api/controller/index.d.ts.map +1 -0
- package/{api/index.ts → build/api/index.d.ts} +1 -0
- package/build/api/index.d.ts.map +1 -0
- package/build/api/routes.d.ts +90 -0
- package/build/api/routes.d.ts.map +1 -0
- package/build/api/routes.js +23 -0
- package/build/commands/auth/create-user.command.d.ts +35 -0
- package/build/commands/auth/create-user.command.d.ts.map +1 -0
- package/build/commands/auth/create-user.command.js +16 -0
- package/build/commands/auth/index.d.ts +10 -0
- package/build/commands/auth/index.d.ts.map +1 -0
- package/build/commands/auth/index.js +7 -0
- package/build/commands/auth/login.command.d.ts +37 -0
- package/build/commands/auth/login.command.d.ts.map +1 -0
- package/build/commands/auth/register.command.d.ts +44 -0
- package/build/commands/auth/register.command.d.ts.map +1 -0
- package/build/commands/auth/register.command.js +3 -0
- package/build/commands/auth/reset-password.command.d.ts +36 -0
- package/build/commands/auth/reset-password.command.d.ts.map +1 -0
- package/build/commands/auth/reset-password.command.js +17 -0
- package/build/commands/auth/restore-password.command.d.ts +35 -0
- package/build/commands/auth/restore-password.command.d.ts.map +1 -0
- package/build/commands/auth/restore-password.command.js +16 -0
- package/build/commands/auth/verify-email-retry.command.d.ts +30 -0
- package/build/commands/auth/verify-email-retry.command.d.ts.map +1 -0
- package/build/commands/auth/verify-email-retry.command.js +15 -0
- package/build/commands/auth/verify-email.command.d.ts +33 -0
- package/build/commands/auth/verify-email.command.d.ts.map +1 -0
- package/build/commands/auth/verify-email.command.js +16 -0
- package/build/commands/auth/vk-login.command.d.ts +45 -0
- package/build/commands/auth/vk-login.command.d.ts.map +1 -0
- package/build/commands/auth/vk-login.command.js +20 -0
- package/build/commands/auth/yandex-login.command.d.ts +39 -0
- package/build/commands/auth/yandex-login.command.d.ts.map +1 -0
- package/build/commands/auth/yandex-login.command.js +18 -0
- package/{commands/file/index.ts → build/commands/file/index.d.ts} +1 -0
- package/build/commands/file/index.d.ts.map +1 -0
- package/build/commands/file/upload-file.command.d.ts +57 -0
- package/build/commands/file/upload-file.command.d.ts.map +1 -0
- package/build/commands/image-editor/execute-image-editor.command.d.ts +275 -0
- package/build/commands/image-editor/execute-image-editor.command.d.ts.map +1 -0
- package/build/commands/image-editor/execute-image-editor.command.js +16 -0
- package/build/commands/image-editor/index.d.ts +8 -0
- package/build/commands/image-editor/index.d.ts.map +1 -0
- package/build/commands/image-editor/index.js +23 -0
- package/build/commands/image-editor/proxy-image-editor-callback.command.d.ts +26 -0
- package/build/commands/image-editor/proxy-image-editor-callback.command.d.ts.map +1 -0
- package/build/commands/image-editor/proxy-image-editor-callback.command.js +15 -0
- package/build/commands/image-editor/retry-image-editor-job.command.d.ts +275 -0
- package/build/commands/image-editor/retry-image-editor-job.command.d.ts.map +1 -0
- package/build/commands/image-editor/retry-image-editor-job.command.js +16 -0
- package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts +253 -0
- package/build/commands/image-editor/set-reaction-to-image-editor-job.command.d.ts.map +1 -0
- package/build/commands/image-editor/set-reaction-to-image-editor-job.command.js +16 -0
- package/build/commands/image-editor/soft-delete-image-editor-job-by-uuid.command.d.ts +12 -0
- package/build/commands/image-editor/soft-delete-image-editor-job-by-uuid.command.d.ts.map +1 -0
- package/build/commands/image-editor/soft-delete-image-editor-job-by-uuid.command.js +10 -0
- package/build/commands/image-editor/soft-delete-image-editor-jobs-by-criteria.command.d.ts +12 -0
- package/build/commands/image-editor/soft-delete-image-editor-jobs-by-criteria.command.d.ts.map +1 -0
- package/build/commands/image-editor/soft-delete-image-editor-jobs-by-criteria.command.js +10 -0
- package/build/commands/image-editor/update-image-editor-job-title.command.d.ts +249 -0
- package/build/commands/image-editor/update-image-editor-job-title.command.d.ts.map +1 -0
- package/build/commands/image-editor/update-image-editor-job-title.command.js +14 -0
- package/build/commands/image-generation/execute-image-generation.command.d.ts +316 -0
- package/build/commands/image-generation/execute-image-generation.command.d.ts.map +1 -0
- package/{commands/image-generation/index.ts → build/commands/image-generation/index.d.ts} +1 -0
- package/build/commands/image-generation/index.d.ts.map +1 -0
- package/build/commands/image-generation/proxy-image-generation-callback.command.d.ts +48 -0
- package/build/commands/image-generation/proxy-image-generation-callback.command.d.ts.map +1 -0
- package/build/commands/image-generation/retry-image-generation-job.command.d.ts +316 -0
- package/build/commands/image-generation/retry-image-generation-job.command.d.ts.map +1 -0
- package/build/commands/image-generation/set-reaction-to-image-generation-job.command.d.ts +292 -0
- package/build/commands/image-generation/set-reaction-to-image-generation-job.command.d.ts.map +1 -0
- package/build/commands/image-generation/soft-delete-image-generation-job-by-uuid.command.d.ts +12 -0
- package/build/commands/image-generation/soft-delete-image-generation-job-by-uuid.command.d.ts.map +1 -0
- package/build/commands/image-generation/soft-delete-image-generation-jobs-by-criteria.command.d.ts +12 -0
- package/build/commands/image-generation/soft-delete-image-generation-jobs-by-criteria.command.d.ts.map +1 -0
- package/build/commands/image-generation/update-image-generation-job-title.command.d.ts +282 -0
- package/build/commands/image-generation/update-image-generation-job-title.command.d.ts.map +1 -0
- package/{commands/index.ts → build/commands/index.d.ts} +4 -0
- package/build/commands/index.d.ts.map +1 -0
- package/build/commands/index.js +3 -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/commands/page/create-page-question.command.d.ts +64 -0
- package/build/commands/page/create-page-question.command.d.ts.map +1 -0
- package/build/commands/page/create-page-question.command.js +16 -0
- package/build/commands/page/create-page.command.d.ts +188 -0
- package/build/commands/page/create-page.command.d.ts.map +1 -0
- package/build/commands/page/create-page.command.js +16 -0
- package/build/commands/page/delete-page-question.command.d.ts +20 -0
- package/build/commands/page/delete-page-question.command.d.ts.map +1 -0
- package/build/commands/page/delete-page-question.command.js +13 -0
- package/build/commands/page/delete-page.command.d.ts +14 -0
- package/build/commands/page/delete-page.command.d.ts.map +1 -0
- package/build/commands/page/delete-page.command.js +11 -0
- package/build/commands/page/find-page-by-alias.command.d.ts +559 -0
- package/build/commands/page/find-page-by-alias.command.d.ts.map +1 -0
- package/build/commands/page/find-page-by-alias.command.js +20 -0
- package/build/commands/page/find-page-by-criteria.command.d.ts +206 -0
- package/build/commands/page/find-page-by-criteria.command.d.ts.map +1 -0
- package/build/commands/page/find-page-by-criteria.command.js +22 -0
- package/build/commands/page/find-page.command.d.ts +387 -0
- package/build/commands/page/find-page.command.d.ts.map +1 -0
- package/build/commands/page/find-page.command.js +17 -0
- package/build/commands/page/index.d.ts +10 -0
- package/build/commands/page/index.d.ts.map +1 -0
- package/build/commands/page/index.js +25 -0
- package/build/commands/page/update-page-question.command.d.ts +72 -0
- package/build/commands/page/update-page-question.command.d.ts.map +1 -0
- package/build/commands/page/update-page-question.command.js +19 -0
- package/build/commands/page/update-page.command.d.ts +193 -0
- package/build/commands/page/update-page.command.d.ts.map +1 -0
- package/build/commands/page/update-page.command.js +19 -0
- package/build/commands/payment/cloud-payments.command.d.ts +113 -0
- package/build/commands/payment/cloud-payments.command.d.ts.map +1 -0
- package/{commands/payment/index.ts → build/commands/payment/index.d.ts} +1 -0
- package/build/commands/payment/index.d.ts.map +1 -0
- package/build/commands/product/buy-product.command.d.ts +547 -0
- package/build/commands/product/buy-product.command.d.ts.map +1 -0
- package/{commands/product/index.ts → build/commands/product/index.d.ts} +1 -0
- package/build/commands/product/index.d.ts.map +1 -0
- package/build/commands/subscription/buy-subscription.command.d.ts +547 -0
- package/build/commands/subscription/buy-subscription.command.d.ts.map +1 -0
- package/{commands/subscription/index.ts → build/commands/subscription/index.d.ts} +1 -0
- package/build/commands/subscription/index.d.ts.map +1 -0
- package/{commands/transaction/index.ts → build/commands/transaction/index.d.ts} +1 -0
- package/build/commands/transaction/index.d.ts.map +1 -0
- package/build/commands/transaction/write-off.command.d.ts +44 -0
- package/build/commands/transaction/write-off.command.d.ts.map +1 -0
- package/{commands/unregistered-user/index.ts → build/commands/unregistered-user/index.d.ts} +1 -1
- package/build/commands/unregistered-user/index.d.ts.map +1 -0
- package/build/commands/unregistered-user/upsert-unregistered-user.command.d.ts +39 -0
- package/build/commands/unregistered-user/upsert-unregistered-user.command.d.ts.map +1 -0
- package/{constants/common/enums/index.ts → build/constants/common/enums/index.d.ts} +1 -1
- package/build/constants/common/enums/index.d.ts.map +1 -0
- package/build/constants/common/enums/user-reaction.enum.d.ts +5 -0
- package/build/constants/common/enums/user-reaction.enum.d.ts.map +1 -0
- package/build/constants/common/index.d.ts +2 -0
- package/build/constants/common/index.d.ts.map +1 -0
- package/build/constants/email/email-endpoint.d.ts +2 -0
- package/build/constants/email/email-endpoint.d.ts.map +1 -0
- package/build/constants/email/email-endpoint.js +4 -0
- package/build/constants/email/index.d.ts +3 -0
- package/build/constants/email/index.d.ts.map +1 -0
- package/build/constants/email/index.js +18 -0
- package/build/constants/email/subjects.d.ts +13 -0
- package/build/constants/email/subjects.d.ts.map +1 -0
- package/build/constants/email/subjects.js +15 -0
- package/build/constants/errors/errors.d.ts +643 -0
- package/build/constants/errors/errors.d.ts.map +1 -0
- package/build/constants/errors/errors.js +369 -2
- package/build/constants/errors/index.d.ts +2 -0
- package/build/constants/errors/index.d.ts.map +1 -0
- package/build/constants/files/enums/file-type.enum.d.ts +4 -0
- package/build/constants/files/enums/file-type.enum.d.ts.map +1 -0
- package/build/constants/files/enums/index.d.ts +2 -0
- package/build/constants/files/enums/index.d.ts.map +1 -0
- package/build/constants/files/index.d.ts +2 -0
- package/build/constants/files/index.d.ts.map +1 -0
- package/build/constants/image-editor/enums/image-editing-strategy.enum.d.ts +10 -0
- package/build/constants/image-editor/enums/image-editing-strategy.enum.d.ts.map +1 -0
- package/build/constants/image-editor/enums/image-editing-strategy.enum.js +13 -0
- package/build/constants/image-editor/enums/image-editor-model-type.enum.d.ts +6 -0
- package/build/constants/image-editor/enums/image-editor-model-type.enum.d.ts.map +1 -0
- package/build/constants/image-editor/enums/image-editor-model-type.enum.js +9 -0
- package/build/constants/image-editor/enums/index.d.ts +3 -0
- package/build/constants/image-editor/enums/index.d.ts.map +1 -0
- package/build/constants/image-editor/enums/index.js +18 -0
- package/build/constants/image-editor/index.d.ts +2 -0
- package/build/constants/image-editor/index.d.ts.map +1 -0
- package/build/constants/image-editor/index.js +17 -0
- package/build/constants/image-generation/enums/image-generation-model-strategy.enum.d.ts +15 -0
- package/build/constants/image-generation/enums/image-generation-model-strategy.enum.d.ts.map +1 -0
- package/build/constants/image-generation/enums/image-generation-resolution.enum.d.ts +6 -0
- package/build/constants/image-generation/enums/image-generation-resolution.enum.d.ts.map +1 -0
- package/{constants/image-generation/enums/index.ts → build/constants/image-generation/enums/index.d.ts} +1 -0
- package/build/constants/image-generation/enums/index.d.ts.map +1 -0
- package/build/constants/image-generation/index.d.ts +2 -0
- package/build/constants/image-generation/index.d.ts.map +1 -0
- package/{constants/index.ts → build/constants/index.d.ts} +4 -0
- package/build/constants/index.d.ts.map +1 -0
- package/build/constants/index.js +3 -0
- package/{constants/order/enums/index.ts → build/constants/order/enums/index.d.ts} +1 -1
- package/build/constants/order/enums/index.d.ts.map +1 -0
- package/build/constants/order/enums/order-status.enum.d.ts +6 -0
- package/build/constants/order/enums/order-status.enum.d.ts.map +1 -0
- package/build/constants/order/enums/order-type.enum.d.ts +4 -0
- package/build/constants/order/enums/order-type.enum.d.ts.map +1 -0
- package/build/constants/order/index.d.ts +2 -0
- package/build/constants/order/index.d.ts.map +1 -0
- package/build/constants/page/enums/page-type.enum.d.ts +6 -0
- package/build/constants/page/enums/page-type.enum.d.ts.map +1 -0
- package/build/constants/page/enums/page-type.enum.js +9 -0
- package/build/constants/page/index.d.ts +2 -0
- package/build/constants/page/index.d.ts.map +1 -0
- package/build/constants/page/index.js +17 -0
- package/{constants/payment/enums/index.ts → build/constants/payment/enums/index.d.ts} +1 -1
- package/build/constants/payment/enums/index.d.ts.map +1 -0
- package/build/constants/payment/enums/payment-status.enum.d.ts +4 -0
- package/build/constants/payment/enums/payment-status.enum.d.ts.map +1 -0
- package/build/constants/payment/index.d.ts +2 -0
- package/build/constants/payment/index.d.ts.map +1 -0
- package/build/constants/subscription/free-subscription-id.constant.d.ts +2 -0
- package/build/constants/subscription/free-subscription-id.constant.d.ts.map +1 -0
- package/{constants/subscription/index.ts → build/constants/subscription/index.d.ts} +1 -1
- package/build/constants/subscription/index.d.ts.map +1 -0
- package/{constants/tools/enums/index.ts → build/constants/tools/enums/index.d.ts} +2 -0
- package/build/constants/tools/enums/index.d.ts.map +1 -0
- package/build/constants/tools/enums/index.js +1 -0
- package/build/constants/tools/enums/job-request-origin.enum.d.ts +4 -0
- package/build/constants/tools/enums/job-request-origin.enum.d.ts.map +1 -0
- package/build/constants/tools/enums/job-status.enum.d.ts +6 -0
- package/build/constants/tools/enums/job-status.enum.d.ts.map +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-model-status.enum.d.ts +5 -0
- package/build/constants/tools/enums/tool-model-status.enum.d.ts.map +1 -0
- package/build/constants/tools/enums/tool-type.enum.d.ts +6 -0
- package/build/constants/tools/enums/tool-type.enum.d.ts.map +1 -0
- package/build/constants/tools/enums/tool-type.enum.js +2 -0
- package/build/constants/tools/index.d.ts +2 -0
- package/build/constants/tools/index.d.ts.map +1 -0
- package/{constants/transaction/enums/index.ts → build/constants/transaction/enums/index.d.ts} +1 -1
- package/build/constants/transaction/enums/index.d.ts.map +1 -0
- package/build/constants/transaction/enums/transaction-status.enum.d.ts +6 -0
- package/build/constants/transaction/enums/transaction-status.enum.d.ts.map +1 -0
- package/build/constants/transaction/index.d.ts +2 -0
- package/build/constants/transaction/index.d.ts.map +1 -0
- package/build/constants/user/enums/index.d.ts +4 -0
- package/build/constants/user/enums/index.d.ts.map +1 -0
- package/build/constants/user/enums/index.js +1 -0
- package/build/constants/user/enums/signup-method.enum.d.ts +7 -0
- package/build/constants/user/enums/signup-method.enum.d.ts.map +1 -0
- package/build/constants/user/enums/signup-method.enum.js +10 -0
- package/build/constants/user/enums/user-role.enum.d.ts +6 -0
- package/build/constants/user/enums/user-role.enum.d.ts.map +1 -0
- package/build/constants/user/enums/user-status.enum.d.ts +6 -0
- package/build/constants/user/enums/user-status.enum.d.ts.map +1 -0
- package/build/constants/user/index.d.ts +2 -0
- package/build/constants/user/index.d.ts.map +1 -0
- package/{constants/user-to-product/enums/index.ts → build/constants/user-to-product/enums/index.d.ts} +1 -1
- package/build/constants/user-to-product/enums/index.d.ts.map +1 -0
- package/build/constants/user-to-product/enums/user-to-product-status.enum.d.ts +4 -0
- package/build/constants/user-to-product/enums/user-to-product-status.enum.d.ts.map +1 -0
- package/build/constants/user-to-product/index.d.ts +2 -0
- package/build/constants/user-to-product/index.d.ts.map +1 -0
- package/{constants/user-to-subscription/enums/index.ts → build/constants/user-to-subscription/enums/index.d.ts} +1 -1
- package/build/constants/user-to-subscription/enums/index.d.ts.map +1 -0
- package/build/constants/user-to-subscription/enums/user-to-subscription-status.enum.d.ts +4 -0
- package/build/constants/user-to-subscription/enums/user-to-subscription-status.enum.d.ts.map +1 -0
- package/build/constants/user-to-subscription/index.d.ts +2 -0
- package/build/constants/user-to-subscription/index.d.ts.map +1 -0
- package/{index.ts → build/index.d.ts} +1 -0
- package/build/index.d.ts.map +1 -0
- package/build/models/cloud-payments-widget-data.schema.d.ts +419 -0
- package/build/models/cloud-payments-widget-data.schema.d.ts.map +1 -0
- package/build/models/cloud-payments-widget.schema.d.ts +424 -0
- package/build/models/cloud-payments-widget.schema.d.ts.map +1 -0
- package/build/models/common/attached-file.schema.d.ts +29 -0
- package/build/models/common/attached-file.schema.d.ts.map +1 -0
- package/build/models/common/icon-variants.schema.d.ts +53 -0
- package/build/models/common/icon-variants.schema.d.ts.map +1 -0
- package/{models/common/index.ts → build/models/common/index.d.ts} +1 -0
- package/build/models/common/index.d.ts.map +1 -0
- package/build/models/common/json-value.schema.d.ts +8 -0
- package/build/models/common/json-value.schema.d.ts.map +1 -0
- package/build/models/common/receipt.schema.d.ts +82 -0
- package/build/models/common/receipt.schema.d.ts.map +1 -0
- package/build/models/file.schema.d.ts +31 -0
- package/build/models/file.schema.d.ts.map +1 -0
- package/build/models/image-editor/image-editor-config.schema.d.ts +509 -0
- package/build/models/image-editor/image-editor-config.schema.d.ts.map +1 -0
- package/build/models/image-editor/image-editor-config.schema.js +10 -0
- package/build/models/image-editor/image-editor-job-params.schema.d.ts +62 -0
- package/build/models/image-editor/image-editor-job-params.schema.d.ts.map +1 -0
- package/build/models/image-editor/image-editor-job-params.schema.js +12 -0
- package/build/models/image-editor/image-editor-job-request-params.schema.d.ts +16 -0
- package/build/models/image-editor/image-editor-job-request-params.schema.d.ts.map +1 -0
- package/build/models/image-editor/image-editor-job-request-params.schema.js +9 -0
- package/build/models/image-editor/image-editor-job.schema.d.ts +160 -0
- package/build/models/image-editor/image-editor-job.schema.d.ts.map +1 -0
- package/build/models/image-editor/image-editor-job.schema.js +30 -0
- package/build/models/image-editor/image-editor-model-params.schema.d.ts +48 -0
- package/build/models/image-editor/image-editor-model-params.schema.d.ts.map +1 -0
- package/build/models/image-editor/image-editor-model-params.schema.js +15 -0
- package/build/models/image-editor/image-editor-model.schema.d.ts +212 -0
- package/build/models/image-editor/image-editor-model.schema.d.ts.map +1 -0
- package/build/models/image-editor/image-editor-model.schema.js +28 -0
- package/build/models/image-editor/image-editor-pricing-rule.schema.d.ts +30 -0
- package/build/models/image-editor/image-editor-pricing-rule.schema.d.ts.map +1 -0
- package/build/models/image-editor/image-editor-pricing-rule.schema.js +11 -0
- package/build/models/image-editor/image-editor-prompt-group.schema.d.ts +149 -0
- package/build/models/image-editor/image-editor-prompt-group.schema.d.ts.map +1 -0
- package/build/models/image-editor/image-editor-prompt-group.schema.js +13 -0
- package/build/models/image-editor/image-editor-system-prompt.schema.d.ts +47 -0
- package/build/models/image-editor/image-editor-system-prompt.schema.d.ts.map +1 -0
- package/build/models/image-editor/image-editor-system-prompt.schema.js +20 -0
- package/build/models/image-editor/index.d.ts +10 -0
- package/build/models/image-editor/index.d.ts.map +1 -0
- package/build/models/image-editor/index.js +25 -0
- package/build/models/image-generation/image-generation-config.schema.d.ts +535 -0
- package/build/models/image-generation/image-generation-config.schema.d.ts.map +1 -0
- package/build/models/image-generation/image-generation-job-attempt.schema.d.ts +20 -0
- package/build/models/image-generation/image-generation-job-attempt.schema.d.ts.map +1 -0
- package/build/models/image-generation/image-generation-job-params.schema.d.ts +60 -0
- package/build/models/image-generation/image-generation-job-params.schema.d.ts.map +1 -0
- package/build/models/image-generation/image-generation-job-request-params.schema.d.ts +20 -0
- package/build/models/image-generation/image-generation-job-request-params.schema.d.ts.map +1 -0
- package/build/models/image-generation/image-generation-job.schema.d.ts +182 -0
- package/build/models/image-generation/image-generation-job.schema.d.ts.map +1 -0
- package/build/models/image-generation/image-generation-model-params.schema.d.ts +42 -0
- package/build/models/image-generation/image-generation-model-params.schema.d.ts.map +1 -0
- package/build/models/image-generation/image-generation-model.schema.d.ts +215 -0
- package/build/models/image-generation/image-generation-model.schema.d.ts.map +1 -0
- package/build/models/image-generation/image-generation-preset.schema.d.ts +19 -0
- package/build/models/image-generation/image-generation-preset.schema.d.ts.map +1 -0
- package/build/models/image-generation/image-generation-pricing-rule.schema.d.ts +66 -0
- package/build/models/image-generation/image-generation-pricing-rule.schema.d.ts.map +1 -0
- package/build/models/image-generation/image-generation-vendor.schema.d.ts +381 -0
- package/build/models/image-generation/image-generation-vendor.schema.d.ts.map +1 -0
- package/{models/image-generation/index.ts → build/models/image-generation/index.d.ts} +1 -0
- package/build/models/image-generation/index.d.ts.map +1 -0
- package/{models/index.ts → build/models/index.d.ts} +5 -0
- package/build/models/index.d.ts.map +1 -0
- package/build/models/index.js +4 -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/models/page-question.schema.d.ts +24 -0
- package/build/models/page-question.schema.d.ts.map +1 -0
- package/build/models/page-question.schema.js +12 -0
- package/build/models/page.schema.d.ts +232 -0
- package/build/models/page.schema.d.ts.map +1 -0
- package/build/models/page.schema.js +37 -0
- package/build/models/product.schema.d.ts +24 -0
- package/build/models/product.schema.d.ts.map +1 -0
- package/build/models/subscription.schema.d.ts +30 -0
- package/build/models/subscription.schema.d.ts.map +1 -0
- package/build/models/tools/index.d.ts +2 -0
- package/build/models/tools/index.d.ts.map +1 -0
- package/build/models/tools/vendor.schema.d.ts +76 -0
- package/build/models/tools/vendor.schema.d.ts.map +1 -0
- package/build/models/user.schema.d.ts +25 -0
- package/build/models/user.schema.d.ts.map +1 -0
- package/build/queries/file/find-files.command.d.ts +91 -0
- package/build/queries/file/find-files.command.d.ts.map +1 -0
- package/build/queries/file/get-file.command.d.ts +65 -0
- package/build/queries/file/get-file.command.d.ts.map +1 -0
- package/{queries/file/index.ts → build/queries/file/index.d.ts} +1 -1
- package/build/queries/file/index.d.ts.map +1 -0
- package/build/queries/image-editor/find-image-editor-jobs.command.d.ts +275 -0
- package/build/queries/image-editor/find-image-editor-jobs.command.d.ts.map +1 -0
- package/build/queries/image-editor/find-image-editor-jobs.command.js +20 -0
- package/build/queries/image-editor/get-image-editor-config.command.d.ts +667 -0
- package/build/queries/image-editor/get-image-editor-config.command.d.ts.map +1 -0
- package/build/queries/image-editor/get-image-editor-config.command.js +11 -0
- package/build/queries/image-editor/get-image-editor-job.command.d.ts +249 -0
- package/build/queries/image-editor/get-image-editor-job.command.d.ts.map +1 -0
- package/build/queries/image-editor/get-image-editor-job.command.js +14 -0
- package/build/queries/image-editor/get-image-editor-price.command.d.ts +53 -0
- package/build/queries/image-editor/get-image-editor-price.command.d.ts.map +1 -0
- package/build/queries/image-editor/get-image-editor-price.command.js +17 -0
- package/build/queries/image-editor/index.d.ts +5 -0
- package/build/queries/image-editor/index.d.ts.map +1 -0
- package/build/queries/image-editor/index.js +20 -0
- package/build/queries/image-generation/find-image-generation-jobs.command.d.ts +308 -0
- package/build/queries/image-generation/find-image-generation-jobs.command.d.ts.map +1 -0
- package/build/queries/image-generation/get-image-generation-config.command.d.ts +679 -0
- package/build/queries/image-generation/get-image-generation-config.command.d.ts.map +1 -0
- package/build/queries/image-generation/get-image-generation-job.command.d.ts +282 -0
- package/build/queries/image-generation/get-image-generation-job.command.d.ts.map +1 -0
- package/build/queries/image-generation/get-image-generation-price.command.d.ts +44 -0
- package/build/queries/image-generation/get-image-generation-price.command.d.ts.map +1 -0
- package/{queries/image-generation/index.ts → build/queries/image-generation/index.d.ts} +1 -0
- package/build/queries/image-generation/index.d.ts.map +1 -0
- package/{queries/index.ts → build/queries/index.d.ts} +4 -1
- package/build/queries/index.d.ts.map +1 -0
- package/build/queries/index.js +3 -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/build/queries/page/find-all-page-questions.query.d.ts +49 -0
- package/build/queries/page/find-all-page-questions.query.d.ts.map +1 -0
- package/build/queries/page/find-all-page-questions.query.js +12 -0
- package/build/queries/page/find-page-question-by-uuid.query.d.ts +55 -0
- package/build/queries/page/find-page-question-by-uuid.query.d.ts.map +1 -0
- package/build/queries/page/find-page-question-by-uuid.query.js +14 -0
- package/build/queries/page/find-page-questions-by-page-id.query.d.ts +55 -0
- package/build/queries/page/find-page-questions-by-page-id.query.d.ts.map +1 -0
- package/build/queries/page/find-page-questions-by-page-id.query.js +14 -0
- package/build/queries/page/index.d.ts +4 -0
- package/build/queries/page/index.d.ts.map +1 -0
- package/build/queries/page/index.js +19 -0
- package/build/queries/payment/get-payment-history.command.d.ts +62 -0
- package/build/queries/payment/get-payment-history.command.d.ts.map +1 -0
- package/{queries/payment/index.ts → build/queries/payment/index.d.ts} +1 -1
- package/build/queries/payment/index.d.ts.map +1 -0
- package/build/queries/product/find-products.command.d.ts +47 -0
- package/build/queries/product/find-products.command.d.ts.map +1 -0
- package/{queries/product/index.ts → build/queries/product/index.d.ts} +1 -1
- package/build/queries/product/index.d.ts.map +1 -0
- package/build/queries/subscription/find-subscriptions.command.d.ts +57 -0
- package/build/queries/subscription/find-subscriptions.command.d.ts.map +1 -0
- package/{queries/subscription/index.ts → build/queries/subscription/index.d.ts} +1 -1
- package/build/queries/subscription/index.d.ts.map +1 -0
- package/build/queries/user/get-my-products.command.d.ts +97 -0
- package/build/queries/user/get-my-products.command.d.ts.map +1 -0
- package/build/queries/user/get-my-subscriptions.command.d.ts +121 -0
- package/build/queries/user/get-my-subscriptions.command.d.ts.map +1 -0
- package/build/queries/user/get-user.command.d.ts +38 -0
- package/build/queries/user/get-user.command.d.ts.map +1 -0
- package/{queries/user/index.ts → build/queries/user/index.d.ts} +1 -0
- package/build/queries/user/index.d.ts.map +1 -0
- package/package.json +34 -2
- package/api/controller/http/ai-proxy.ts +0 -6
- package/api/controller/http/auth.ts +0 -7
- package/api/controller/http/cloud-payments.ts +0 -6
- package/api/controller/http/file.ts +0 -7
- package/api/controller/http/health.ts +0 -4
- package/api/controller/http/image-generation.ts +0 -15
- package/api/controller/http/payment.ts +0 -6
- package/api/controller/http/product.ts +0 -7
- package/api/controller/http/subscription.ts +0 -8
- package/api/controller/http/transaction.ts +0 -6
- package/api/controller/http/unregistered-user.ts +0 -1
- package/api/controller/http/user.ts +0 -5
- package/api/controller/index.ts +0 -2
- package/api/routes.ts +0 -76
- package/commands/auth/index.ts +0 -2
- package/commands/auth/login.command.ts +0 -18
- package/commands/auth/register.command.ts +0 -18
- package/commands/file/upload-file.command.ts +0 -10
- package/commands/image-generation/execute-image-generation.command.ts +0 -20
- package/commands/image-generation/proxy-image-generation-callback.command.ts +0 -21
- package/commands/image-generation/retry-image-generation-job.command.ts +0 -20
- package/commands/image-generation/set-reaction-to-image-generation-job.command.ts +0 -29
- package/commands/image-generation/soft-delete-image-generation-job-by-uuid.command.ts +0 -10
- package/commands/image-generation/soft-delete-image-generation-jobs-by-criteria.command.ts +0 -10
- package/commands/image-generation/update-image-generation-job-title.command.ts +0 -17
- package/commands/payment/cloud-payments.command.ts +0 -53
- package/commands/product/buy-product.command.ts +0 -20
- package/commands/subscription/buy-subscription.command.ts +0 -20
- package/commands/transaction/write-off.command.ts +0 -19
- package/commands/unregistered-user/upsert-unregistered-user.command.ts +0 -17
- package/constants/common/enums/user-reaction.enum.ts +0 -5
- package/constants/common/index.ts +0 -2
- package/constants/errors/errors.ts +0 -308
- package/constants/errors/index.ts +0 -2
- package/constants/files/enums/file-type.enum.ts +0 -4
- package/constants/files/enums/index.ts +0 -2
- package/constants/files/index.ts +0 -2
- package/constants/image-generation/enums/image-generation-model-strategy.enum.ts +0 -15
- package/constants/image-generation/enums/image-generation-resolution.enum.ts +0 -6
- package/constants/image-generation/index.ts +0 -2
- package/constants/order/enums/order-status.enum.ts +0 -6
- package/constants/order/enums/order-type.enum.ts +0 -4
- package/constants/order/index.ts +0 -2
- package/constants/payment/enums/payment-status.enum.ts +0 -4
- package/constants/payment/index.ts +0 -2
- package/constants/subscription/free-subscription-id.constant.ts +0 -2
- package/constants/tools/enums/job-request-origin.enum.ts +0 -4
- package/constants/tools/enums/job-status.enum.ts +0 -6
- package/constants/tools/enums/tool-model-status.enum.ts +0 -5
- package/constants/tools/enums/tool-type.enum.ts +0 -4
- package/constants/tools/index.ts +0 -2
- package/constants/transaction/enums/transaction-status.enum.ts +0 -6
- package/constants/transaction/index.ts +0 -2
- package/constants/user/enums/index.ts +0 -3
- package/constants/user/enums/user-role.enum.ts +0 -6
- package/constants/user/enums/user-status.enum.ts +0 -6
- package/constants/user/index.ts +0 -2
- package/constants/user-to-product/enums/user-to-product-status.enum.ts +0 -4
- package/constants/user-to-product/index.ts +0 -2
- package/constants/user-to-subscription/enums/user-to-subscription-status.enum.ts +0 -4
- package/constants/user-to-subscription/index.ts +0 -2
- package/models/cloud-payments-widget-data.schema.ts +0 -19
- package/models/cloud-payments-widget.schema.ts +0 -15
- package/models/common/attached-file.schema.ts +0 -14
- package/models/common/icon-variants.schema.ts +0 -13
- package/models/common/json-value.schema.ts +0 -11
- package/models/common/receipt.schema.ts +0 -20
- package/models/file.schema.ts +0 -14
- package/models/image-generation/image-generation-config.schema.ts +0 -11
- package/models/image-generation/image-generation-job-attempt.schema.ts +0 -12
- package/models/image-generation/image-generation-job-params.schema.ts +0 -11
- package/models/image-generation/image-generation-job-request-params.schema.ts +0 -11
- package/models/image-generation/image-generation-job.schema.ts +0 -30
- package/models/image-generation/image-generation-model-params.schema.ts +0 -22
- package/models/image-generation/image-generation-model.schema.ts +0 -28
- package/models/image-generation/image-generation-preset.schema.ts +0 -11
- package/models/image-generation/image-generation-pricing-rule.schema.ts +0 -20
- package/models/image-generation/image-generation-vendor.schema.ts +0 -9
- package/models/product.schema.ts +0 -10
- package/models/subscription.schema.ts +0 -12
- package/models/tools/index.ts +0 -2
- package/models/tools/vendor.schema.ts +0 -12
- package/models/user.schema.ts +0 -11
- package/queries/file/find-files.command.ts +0 -21
- package/queries/file/get-file.command.ts +0 -15
- package/queries/image-generation/find-image-generation-jobs.command.ts +0 -21
- package/queries/image-generation/get-image-generation-config.command.ts +0 -9
- package/queries/image-generation/get-image-generation-job.command.ts +0 -15
- package/queries/image-generation/get-image-generation-price.command.ts +0 -19
- package/queries/payment/get-payment-history.command.ts +0 -17
- package/queries/product/find-products.command.ts +0 -10
- package/queries/subscription/find-subscriptions.command.ts +0 -10
- package/queries/user/get-my-products.command.ts +0 -19
- package/queries/user/get-my-subscriptions.command.ts +0 -21
- package/queries/user/get-user.command.ts +0 -14
- package/tsconfig.json +0 -104
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-proxy.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/ai-proxy.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,EAAG,UAAmB,CAAC;AAEvD,eAAO,MAAM,eAAe;;;CAGlB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const AUTH_CONTROLLER: "auth";
|
|
2
|
+
export declare const AUTH_ROUTES: {
|
|
3
|
+
readonly REGISTER: "register";
|
|
4
|
+
readonly LOGIN: "login";
|
|
5
|
+
readonly ADMIN_LOGIN: "admin/login";
|
|
6
|
+
readonly VK_LOGIN: "vk/login";
|
|
7
|
+
readonly YANDEX_LOGIN: "yandex/login";
|
|
8
|
+
readonly CREATE_USER: "create-user";
|
|
9
|
+
readonly RESTORE_PASSWORD: "restore-password";
|
|
10
|
+
readonly RESET_PASSWORD: "reset-password";
|
|
11
|
+
readonly VERIFY_EMAIL: "verify-email";
|
|
12
|
+
readonly VERIFY_EMAIL_RETRY: "verify-email-retry";
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/auth.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,EAAG,MAAe,CAAC;AAE/C,eAAO,MAAM,WAAW;;;;;;;;;;;CAWd,CAAC"}
|
|
@@ -5,4 +5,12 @@ exports.AUTH_CONTROLLER = 'auth';
|
|
|
5
5
|
exports.AUTH_ROUTES = {
|
|
6
6
|
REGISTER: 'register',
|
|
7
7
|
LOGIN: 'login',
|
|
8
|
+
ADMIN_LOGIN: 'admin/login',
|
|
9
|
+
VK_LOGIN: 'vk/login',
|
|
10
|
+
YANDEX_LOGIN: 'yandex/login',
|
|
11
|
+
CREATE_USER: 'create-user',
|
|
12
|
+
RESTORE_PASSWORD: 'restore-password',
|
|
13
|
+
RESET_PASSWORD: 'reset-password',
|
|
14
|
+
VERIFY_EMAIL: 'verify-email',
|
|
15
|
+
VERIFY_EMAIL_RETRY: 'verify-email-retry',
|
|
8
16
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cloud-payments.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/cloud-payments.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,EAAG,gBAAyB,CAAC;AAEnE,eAAO,MAAM,qBAAqB;;CAExB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/file.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uBAAuB,EAAG,eAAwB,CAAC;AAChE,eAAO,MAAM,sBAAsB,EAAG,cAAuB,CAAC;AAE9D,eAAO,MAAM,WAAW;;CAEd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"health.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/health.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;CAEhB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const IMAGE_EDITOR_PRIVATE_CONTROLLER: "image-editor/private";
|
|
2
|
+
export declare const IMAGE_EDITOR_PUBLIC_CONTROLLER: "image-editor/public";
|
|
3
|
+
export declare const IMAGE_EDITOR_ROUTES: {
|
|
4
|
+
readonly CONFIG: "config";
|
|
5
|
+
readonly PRICE: "price";
|
|
6
|
+
readonly EXECUTE: "execute";
|
|
7
|
+
readonly GET_JOBS: "jobs";
|
|
8
|
+
readonly GET_JOB: (uuid: string) => string;
|
|
9
|
+
readonly UPDATE: (uuid: string) => string;
|
|
10
|
+
readonly SET_REACTION: (uuid: string) => string;
|
|
11
|
+
readonly DELETE: (uuid: string) => string;
|
|
12
|
+
readonly DELETE_ALL: "jobs";
|
|
13
|
+
readonly RETRY: (uuid: string) => string;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=image-editor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image-editor.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/image-editor.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,+BAA+B,EAAG,sBAA+B,CAAC;AAC/E,eAAO,MAAM,8BAA8B,EAAG,qBAA8B,CAAC;AAE7E,eAAO,MAAM,mBAAmB;;;;;6BAKZ,MAAM;4BACP,MAAM;kCACA,MAAM;4BACZ,MAAM;;2BAEP,MAAM;CACd,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IMAGE_EDITOR_ROUTES = exports.IMAGE_EDITOR_PUBLIC_CONTROLLER = exports.IMAGE_EDITOR_PRIVATE_CONTROLLER = void 0;
|
|
4
|
+
exports.IMAGE_EDITOR_PRIVATE_CONTROLLER = 'image-editor/private';
|
|
5
|
+
exports.IMAGE_EDITOR_PUBLIC_CONTROLLER = 'image-editor/public';
|
|
6
|
+
exports.IMAGE_EDITOR_ROUTES = {
|
|
7
|
+
CONFIG: 'config',
|
|
8
|
+
PRICE: 'price',
|
|
9
|
+
EXECUTE: 'execute',
|
|
10
|
+
GET_JOBS: 'jobs',
|
|
11
|
+
GET_JOB: (uuid) => `jobs/${uuid}`,
|
|
12
|
+
UPDATE: (uuid) => `jobs/${uuid}`,
|
|
13
|
+
SET_REACTION: (uuid) => `jobs/${uuid}/reaction`,
|
|
14
|
+
DELETE: (uuid) => `jobs/${uuid}`,
|
|
15
|
+
DELETE_ALL: 'jobs',
|
|
16
|
+
RETRY: (uuid) => `jobs/${uuid}/retry`,
|
|
17
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const IMAGE_GENERATION_PRIVATE_CONTROLLER: "image-generation/private";
|
|
2
|
+
export declare const IMAGE_GENERATION_PUBLIC_CONTROLLER: "image-generation/public";
|
|
3
|
+
export declare const IMAGE_GENERATION_ROUTES: {
|
|
4
|
+
readonly CONFIG: "config";
|
|
5
|
+
readonly PRICE: "price";
|
|
6
|
+
readonly EXECUTE: "execute";
|
|
7
|
+
readonly GET_JOBS: "jobs";
|
|
8
|
+
readonly GET_JOB: (uuid: string) => string;
|
|
9
|
+
readonly UPDATE: (uuid: string) => string;
|
|
10
|
+
readonly SET_REACTION: (uuid: string) => string;
|
|
11
|
+
readonly DELETE: (uuid: string) => string;
|
|
12
|
+
readonly DELETE_ALL: "jobs";
|
|
13
|
+
readonly RETRY: (uuid: string) => string;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=image-generation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image-generation.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/image-generation.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mCAAmC,EAAG,0BAAmC,CAAC;AACvF,eAAO,MAAM,kCAAkC,EAAG,yBAAkC,CAAC;AAErF,eAAO,MAAM,uBAAuB;;;;;6BAKhB,MAAM;4BACP,MAAM;kCACA,MAAM;4BACZ,MAAM;;2BAEP,MAAM;CACd,CAAC"}
|
|
@@ -7,6 +7,11 @@ export * from './cloud-payments';
|
|
|
7
7
|
export * from './transaction';
|
|
8
8
|
export * from './health';
|
|
9
9
|
export * from './image-generation';
|
|
10
|
+
export * from './image-editor';
|
|
11
|
+
export * from './marketplace-card';
|
|
10
12
|
export * from './ai-proxy';
|
|
11
13
|
export * from './file';
|
|
12
14
|
export * from './unregistered-user';
|
|
15
|
+
export * from './page';
|
|
16
|
+
export * from './page-question';
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,iBAAiB,CAAC"}
|
|
@@ -23,6 +23,10 @@ __exportStar(require("./cloud-payments"), exports);
|
|
|
23
23
|
__exportStar(require("./transaction"), exports);
|
|
24
24
|
__exportStar(require("./health"), exports);
|
|
25
25
|
__exportStar(require("./image-generation"), exports);
|
|
26
|
+
__exportStar(require("./image-editor"), exports);
|
|
27
|
+
__exportStar(require("./marketplace-card"), exports);
|
|
26
28
|
__exportStar(require("./ai-proxy"), exports);
|
|
27
29
|
__exportStar(require("./file"), exports);
|
|
28
30
|
__exportStar(require("./unregistered-user"), exports);
|
|
31
|
+
__exportStar(require("./page"), exports);
|
|
32
|
+
__exportStar(require("./page-question"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const MARKETPLACE_CARD_PRIVATE_CONTROLLER: "marketplace-card/private";
|
|
2
|
+
export declare const MARKETPLACE_CARD_PUBLIC_CONTROLLER: "marketplace-card/public";
|
|
3
|
+
export declare const MARKETPLACE_CARD_ROUTES: {
|
|
4
|
+
readonly CONFIG: "config";
|
|
5
|
+
readonly PRICE: "price";
|
|
6
|
+
readonly EXECUTE: "execute";
|
|
7
|
+
readonly GET_JOBS: "jobs";
|
|
8
|
+
readonly GET_JOB: (uuid: string) => string;
|
|
9
|
+
readonly UPDATE: (uuid: string) => string;
|
|
10
|
+
readonly SET_REACTION: (uuid: string) => string;
|
|
11
|
+
readonly DELETE: (uuid: string) => string;
|
|
12
|
+
readonly DELETE_ALL: "jobs";
|
|
13
|
+
readonly RETRY: (uuid: string) => string;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=marketplace-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marketplace-card.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/marketplace-card.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mCAAmC,EAAG,0BAAmC,CAAC;AACvF,eAAO,MAAM,kCAAkC,EAAG,yBAAkC,CAAC;AAErF,eAAO,MAAM,uBAAuB;;;;;6BAKhB,MAAM;4BACP,MAAM;kCACA,MAAM;4BACZ,MAAM;;2BAEP,MAAM;CACd,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MARKETPLACE_CARD_ROUTES = exports.MARKETPLACE_CARD_PUBLIC_CONTROLLER = exports.MARKETPLACE_CARD_PRIVATE_CONTROLLER = void 0;
|
|
4
|
+
exports.MARKETPLACE_CARD_PRIVATE_CONTROLLER = 'marketplace-card/private';
|
|
5
|
+
exports.MARKETPLACE_CARD_PUBLIC_CONTROLLER = 'marketplace-card/public';
|
|
6
|
+
exports.MARKETPLACE_CARD_ROUTES = {
|
|
7
|
+
CONFIG: 'config',
|
|
8
|
+
PRICE: 'price',
|
|
9
|
+
EXECUTE: 'execute',
|
|
10
|
+
GET_JOBS: 'jobs',
|
|
11
|
+
GET_JOB: (uuid) => `jobs/${uuid}`,
|
|
12
|
+
UPDATE: (uuid) => `jobs/${uuid}`,
|
|
13
|
+
SET_REACTION: (uuid) => `jobs/${uuid}/reaction`,
|
|
14
|
+
DELETE: (uuid) => `jobs/${uuid}`,
|
|
15
|
+
DELETE_ALL: 'jobs',
|
|
16
|
+
RETRY: (uuid) => `jobs/${uuid}/retry`,
|
|
17
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const PAGE_QUESTION_CONTROLLER: "page-question";
|
|
2
|
+
export declare const PAGE_QUESTION_ROUTES: {
|
|
3
|
+
readonly FIND_BY_UUID: (uuid: string) => string;
|
|
4
|
+
readonly CREATE: "";
|
|
5
|
+
readonly UPDATE: (uuid: string) => string;
|
|
6
|
+
readonly DELETE: (uuid: string) => string;
|
|
7
|
+
readonly GET_ALL: "";
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=page-question.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-question.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/page-question.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,EAAG,eAAwB,CAAC;AAEjE,eAAO,MAAM,oBAAoB;kCACR,MAAM;;4BAEZ,MAAM;4BACN,MAAM;;CAEf,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PAGE_QUESTION_ROUTES = exports.PAGE_QUESTION_CONTROLLER = void 0;
|
|
4
|
+
exports.PAGE_QUESTION_CONTROLLER = 'page-question';
|
|
5
|
+
exports.PAGE_QUESTION_ROUTES = {
|
|
6
|
+
FIND_BY_UUID: (uuid) => `${uuid}`,
|
|
7
|
+
CREATE: '',
|
|
8
|
+
UPDATE: (uuid) => `update/${uuid}`,
|
|
9
|
+
DELETE: (uuid) => `delete/${uuid}`,
|
|
10
|
+
GET_ALL: '',
|
|
11
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const PAGE_CONTROLLER: "page";
|
|
2
|
+
export declare const PAGE_ROUTES: {
|
|
3
|
+
readonly FIND_BY_CRITERIA: "search";
|
|
4
|
+
readonly FIND_BY_UUID: (uuid: string) => string;
|
|
5
|
+
readonly GET_ALL: "";
|
|
6
|
+
readonly FIND_BY_ALIAS: (alias: string) => string;
|
|
7
|
+
readonly CREATE: "";
|
|
8
|
+
readonly UPDATE: (uuid: string) => string;
|
|
9
|
+
readonly DELETE: (uuid: string) => string;
|
|
10
|
+
readonly CREATE_QUESTIONS_BULK: (pageId: string) => string;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/page.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,EAAG,MAAe,CAAC;AAE/C,eAAO,MAAM,WAAW;;kCAEC,MAAM;;oCAEJ,MAAM;;4BAEd,MAAM;4BACN,MAAM;6CACW,MAAM;CAChC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PAGE_ROUTES = exports.PAGE_CONTROLLER = void 0;
|
|
4
|
+
exports.PAGE_CONTROLLER = 'page';
|
|
5
|
+
exports.PAGE_ROUTES = {
|
|
6
|
+
FIND_BY_CRITERIA: 'search',
|
|
7
|
+
FIND_BY_UUID: (uuid) => `${uuid}`,
|
|
8
|
+
GET_ALL: '',
|
|
9
|
+
FIND_BY_ALIAS: (alias) => `by/alias/${alias}`,
|
|
10
|
+
CREATE: '',
|
|
11
|
+
UPDATE: (uuid) => `update/${uuid}`,
|
|
12
|
+
DELETE: (uuid) => `delete/${uuid}`,
|
|
13
|
+
CREATE_QUESTIONS_BULK: (pageId) => `${pageId}/questions/bulk`,
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/payment.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,EAAG,UAAmB,CAAC;AAEtD,eAAO,MAAM,cAAc;;CAEjB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const PRODUCT_PRIVATE_CONTROLLER: "product/private";
|
|
2
|
+
export declare const PRODUCT_PUBLIC_CONTROLLER: "product/public";
|
|
3
|
+
export declare const PRODUCT_ROUTES: {
|
|
4
|
+
readonly GET_ALL: "all";
|
|
5
|
+
readonly BUY: "buy";
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=product.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/product.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0BAA0B,EAAG,iBAA0B,CAAC;AACrE,eAAO,MAAM,yBAAyB,EAAG,gBAAyB,CAAC;AAEnE,eAAO,MAAM,cAAc;;;CAGjB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const SUBSCRIPTION_PRIVATE_CONTROLLER: "subscription/private";
|
|
2
|
+
export declare const SUBSCRIPTION_PUBLIC_CONTROLLER: "subscription/public";
|
|
3
|
+
export declare const SUBSCRIPTION_ROUTES: {
|
|
4
|
+
readonly GET_ALL: "all";
|
|
5
|
+
readonly BUY: "buy";
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=subscription.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscription.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/subscription.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,+BAA+B,EAAG,sBAA+B,CAAC;AAC/E,eAAO,MAAM,8BAA8B,EAAG,qBAA8B,CAAC;AAE7E,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transaction.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/transaction.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB,EAAG,cAAuB,CAAC;AAE9D,eAAO,MAAM,kBAAkB;;CAErB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unregistered-user.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/unregistered-user.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,EAAG,mBAA4B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../../api/controller/http/user.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,EAAG,OAAgB,CAAC;AAEhD,eAAO,MAAM,WAAW;;CAEd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../api/controller/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../api/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
export declare const ROOT: "/api";
|
|
2
|
+
export declare const REST_API: {
|
|
3
|
+
readonly HEALTH: {
|
|
4
|
+
readonly PING: "/api/ping";
|
|
5
|
+
};
|
|
6
|
+
readonly AUTH: {
|
|
7
|
+
readonly REGISTER: "/api/auth/register";
|
|
8
|
+
readonly LOGIN: "/api/auth/login";
|
|
9
|
+
};
|
|
10
|
+
readonly UNREGISTERED_USER: {
|
|
11
|
+
readonly UPSERT: "/api/unregistered-user";
|
|
12
|
+
};
|
|
13
|
+
readonly USERS: {
|
|
14
|
+
readonly GET: "/api/users";
|
|
15
|
+
};
|
|
16
|
+
readonly PRODUCT_PUBLIC: {
|
|
17
|
+
readonly GET: "/api/product/public/all";
|
|
18
|
+
};
|
|
19
|
+
readonly PRODUCT_PRIVATE: {
|
|
20
|
+
readonly GET: "/api/product/private/all";
|
|
21
|
+
readonly BUY: (uuid: string) => string;
|
|
22
|
+
};
|
|
23
|
+
readonly SUBSCRIPTION_PUBLIC: {
|
|
24
|
+
readonly GET: "/api/subscription/public/all";
|
|
25
|
+
};
|
|
26
|
+
readonly SUBSCRIPTION_PRIVATE: {
|
|
27
|
+
readonly GET: "/api/subscription/private/all";
|
|
28
|
+
readonly BUY: (uuid: string) => string;
|
|
29
|
+
};
|
|
30
|
+
readonly PAYMENT: {
|
|
31
|
+
readonly HISTORY: "/api/payments/history";
|
|
32
|
+
};
|
|
33
|
+
readonly CLOUD_PAYMENTS: {
|
|
34
|
+
readonly CALLBACK: (type: string) => string;
|
|
35
|
+
};
|
|
36
|
+
readonly IMAGE_GENERATION_PUBLIC: {
|
|
37
|
+
readonly CONFIG: "/api/image-generation/public/config";
|
|
38
|
+
readonly PRICE: "/api/image-generation/public/price";
|
|
39
|
+
};
|
|
40
|
+
readonly IMAGE_GENERATION_PRIVATE: {
|
|
41
|
+
readonly CONFIG: "/api/image-generation/private/config";
|
|
42
|
+
readonly EXECUTE: "/api/image-generation/private/execute";
|
|
43
|
+
readonly LIST_JOBS: "/api/image-generation/private/jobs";
|
|
44
|
+
readonly GET_JOB: (uuid: string) => string;
|
|
45
|
+
readonly UPDATE: (uuid: string) => string;
|
|
46
|
+
readonly SET_REACTION: (uuid: string) => string;
|
|
47
|
+
readonly DELETE: (uuid: string) => string;
|
|
48
|
+
readonly DELETE_ALL: "/api/image-generation/private/jobs";
|
|
49
|
+
};
|
|
50
|
+
readonly MARKETPLACE_CARD_PUBLIC: {
|
|
51
|
+
readonly CONFIG: "/api/marketplace-card/public/config";
|
|
52
|
+
readonly EXECUTE: "/api/marketplace-card/public/execute";
|
|
53
|
+
readonly LIST_JOBS: "/api/marketplace-card/public/jobs";
|
|
54
|
+
readonly GET_JOB: (uuid: string) => string;
|
|
55
|
+
readonly RETRY: (uuid: string) => string;
|
|
56
|
+
readonly SET_REACTION: (uuid: string) => string;
|
|
57
|
+
readonly UPDATE: (uuid: string) => string;
|
|
58
|
+
readonly DELETE: (uuid: string) => string;
|
|
59
|
+
readonly DELETE_ALL: "/api/marketplace-card/public/jobs";
|
|
60
|
+
};
|
|
61
|
+
readonly MARKETPLACE_CARD_PRIVATE: {
|
|
62
|
+
readonly CONFIG: "/api/marketplace-card/private/config";
|
|
63
|
+
readonly PRICE: "/api/marketplace-card/private/price";
|
|
64
|
+
readonly EXECUTE: "/api/marketplace-card/private/execute";
|
|
65
|
+
readonly LIST_JOBS: "/api/marketplace-card/private/jobs";
|
|
66
|
+
readonly GET_JOB: (uuid: string) => string;
|
|
67
|
+
readonly RETRY: (uuid: string) => string;
|
|
68
|
+
readonly SET_REACTION: (uuid: string) => string;
|
|
69
|
+
readonly UPDATE: (uuid: string) => string;
|
|
70
|
+
readonly DELETE: (uuid: string) => string;
|
|
71
|
+
readonly DELETE_ALL: "/api/marketplace-card/private/jobs";
|
|
72
|
+
};
|
|
73
|
+
readonly AI_PROXY: {
|
|
74
|
+
readonly IMAGE_GENERATION_CALLBACK: "/api/ai-proxy/image-generation/callback";
|
|
75
|
+
};
|
|
76
|
+
readonly FILES_PRIVATE: {
|
|
77
|
+
readonly UPLOAD: "/api/files/private/upload";
|
|
78
|
+
readonly LIST: "/api/files/private";
|
|
79
|
+
readonly GET: (uuid: string) => string;
|
|
80
|
+
};
|
|
81
|
+
readonly FILES_PUBLIC: {
|
|
82
|
+
readonly UPLOAD: "/api/files/public/upload";
|
|
83
|
+
readonly LIST: "/api/files/public";
|
|
84
|
+
readonly GET: (uuid: string) => string;
|
|
85
|
+
};
|
|
86
|
+
readonly TRANSACTION: {
|
|
87
|
+
readonly WRITE_OFF: "/api/transactions/write-off";
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
//# sourceMappingURL=routes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../api/routes.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,EAAG,MAAe,CAAC;AAEpC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;6BAmBD,MAAM;;;;;;;6BAQN,MAAM;;;;;;kCAOD,MAAM;;;;;;;;;;iCAWP,MAAM;gCAEP,MAAM;sCAEA,MAAM;gCAEZ,MAAM;;;;;;;iCAQL,MAAM;+BAER,MAAM;sCAEC,MAAM;gCAEZ,MAAM;gCAEN,MAAM;;;;;;;;iCASL,MAAM;+BAER,MAAM;sCAEC,MAAM;gCAEZ,MAAM;gCAEN,MAAM;;;;;;;;;6BAUT,MAAM;;;;;6BAKN,MAAM;;;;;CAKhB,CAAC"}
|
package/build/api/routes.js
CHANGED
|
@@ -84,6 +84,29 @@ exports.REST_API = {
|
|
|
84
84
|
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.IMAGE_GENERATION_PRIVATE_CONTROLLER}/${CONTROLLERS.IMAGE_GENERATION_ROUTES.DELETE(uuid)}`,
|
|
85
85
|
DELETE_ALL: `${exports.ROOT}/${CONTROLLERS.IMAGE_GENERATION_PRIVATE_CONTROLLER}/${CONTROLLERS.IMAGE_GENERATION_ROUTES.DELETE_ALL}`,
|
|
86
86
|
},
|
|
87
|
+
MARKETPLACE_CARD_PUBLIC: {
|
|
88
|
+
CONFIG: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.CONFIG}`,
|
|
89
|
+
EXECUTE: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.EXECUTE}`,
|
|
90
|
+
LIST_JOBS: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.GET_JOBS}`,
|
|
91
|
+
GET_JOB: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.GET_JOB(uuid)}`,
|
|
92
|
+
RETRY: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.RETRY(uuid)}`,
|
|
93
|
+
SET_REACTION: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.SET_REACTION(uuid)}`,
|
|
94
|
+
UPDATE: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.UPDATE(uuid)}`,
|
|
95
|
+
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.DELETE(uuid)}`,
|
|
96
|
+
DELETE_ALL: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PUBLIC_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.DELETE_ALL}`,
|
|
97
|
+
},
|
|
98
|
+
MARKETPLACE_CARD_PRIVATE: {
|
|
99
|
+
CONFIG: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.CONFIG}`,
|
|
100
|
+
PRICE: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.PRICE}`,
|
|
101
|
+
EXECUTE: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.EXECUTE}`,
|
|
102
|
+
LIST_JOBS: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.GET_JOBS}`,
|
|
103
|
+
GET_JOB: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.GET_JOB(uuid)}`,
|
|
104
|
+
RETRY: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.RETRY(uuid)}`,
|
|
105
|
+
SET_REACTION: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.SET_REACTION(uuid)}`,
|
|
106
|
+
UPDATE: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.UPDATE(uuid)}`,
|
|
107
|
+
DELETE: (uuid) => `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.DELETE(uuid)}`,
|
|
108
|
+
DELETE_ALL: `${exports.ROOT}/${CONTROLLERS.MARKETPLACE_CARD_PRIVATE_CONTROLLER}/${CONTROLLERS.MARKETPLACE_CARD_ROUTES.DELETE_ALL}`,
|
|
109
|
+
},
|
|
87
110
|
AI_PROXY: {
|
|
88
111
|
IMAGE_GENERATION_CALLBACK: `${exports.ROOT}/${CONTROLLERS.AI_PROXY_CONTROLLER}/${CONTROLLERS.AI_PROXY_ROUTES.IMAGE_GENERATION_CALLBACK}`,
|
|
89
112
|
},
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace CreateUserCommand {
|
|
3
|
+
const RequestSchema: z.ZodObject<Pick<{
|
|
4
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
5
|
+
siteId: z.ZodOptional<z.ZodString>;
|
|
6
|
+
email: z.ZodString;
|
|
7
|
+
password: z.ZodString;
|
|
8
|
+
role: z.ZodOptional<z.ZodNativeEnum<typeof import("../..").USER_ROLE>>;
|
|
9
|
+
status: z.ZodOptional<z.ZodNativeEnum<typeof import("../..").USER_STATUS>>;
|
|
10
|
+
}, "email">, "strip", z.ZodTypeAny, {
|
|
11
|
+
email: string;
|
|
12
|
+
}, {
|
|
13
|
+
email: string;
|
|
14
|
+
}>;
|
|
15
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
16
|
+
const ResponseSchema: z.ZodObject<{
|
|
17
|
+
data: z.ZodObject<{
|
|
18
|
+
uuid: z.ZodString;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
uuid: string;
|
|
21
|
+
}, {
|
|
22
|
+
uuid: string;
|
|
23
|
+
}>;
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
data: {
|
|
26
|
+
uuid: string;
|
|
27
|
+
};
|
|
28
|
+
}, {
|
|
29
|
+
data: {
|
|
30
|
+
uuid: string;
|
|
31
|
+
};
|
|
32
|
+
}>;
|
|
33
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=create-user.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-user.command.d.ts","sourceRoot":"","sources":["../../../commands/auth/create-user.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,iBAAiB,CAAC;IACxB,MAAM,aAAa;;;;;;;;;;;MAExB,CAAC;IAEH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IAEH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateUserCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../models");
|
|
6
|
+
var CreateUserCommand;
|
|
7
|
+
(function (CreateUserCommand) {
|
|
8
|
+
CreateUserCommand.RequestSchema = models_1.UserSchema.pick({
|
|
9
|
+
email: true,
|
|
10
|
+
});
|
|
11
|
+
CreateUserCommand.ResponseSchema = zod_1.z.object({
|
|
12
|
+
data: zod_1.z.object({
|
|
13
|
+
uuid: zod_1.z.string().uuid(),
|
|
14
|
+
}),
|
|
15
|
+
});
|
|
16
|
+
})(CreateUserCommand || (exports.CreateUserCommand = CreateUserCommand = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './login.command';
|
|
2
|
+
export * from './register.command';
|
|
3
|
+
export * from './create-user.command';
|
|
4
|
+
export * from './restore-password.command';
|
|
5
|
+
export * from './reset-password.command';
|
|
6
|
+
export * from './verify-email.command';
|
|
7
|
+
export * from './verify-email-retry.command';
|
|
8
|
+
export * from './vk-login.command';
|
|
9
|
+
export * from './yandex-login.command';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../commands/auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC"}
|
|
@@ -16,3 +16,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./login.command"), exports);
|
|
18
18
|
__exportStar(require("./register.command"), exports);
|
|
19
|
+
__exportStar(require("./create-user.command"), exports);
|
|
20
|
+
__exportStar(require("./restore-password.command"), exports);
|
|
21
|
+
__exportStar(require("./reset-password.command"), exports);
|
|
22
|
+
__exportStar(require("./verify-email.command"), exports);
|
|
23
|
+
__exportStar(require("./verify-email-retry.command"), exports);
|
|
24
|
+
__exportStar(require("./vk-login.command"), exports);
|
|
25
|
+
__exportStar(require("./yandex-login.command"), exports);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace LoginCommand {
|
|
3
|
+
const RequestSchema: z.ZodObject<Pick<{
|
|
4
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
5
|
+
siteId: z.ZodOptional<z.ZodString>;
|
|
6
|
+
email: z.ZodString;
|
|
7
|
+
password: z.ZodString;
|
|
8
|
+
role: z.ZodOptional<z.ZodNativeEnum<typeof import("../..").USER_ROLE>>;
|
|
9
|
+
status: z.ZodOptional<z.ZodNativeEnum<typeof import("../..").USER_STATUS>>;
|
|
10
|
+
}, "email" | "password">, "strip", z.ZodTypeAny, {
|
|
11
|
+
email: string;
|
|
12
|
+
password: string;
|
|
13
|
+
}, {
|
|
14
|
+
email: string;
|
|
15
|
+
password: string;
|
|
16
|
+
}>;
|
|
17
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
18
|
+
const ResponseSchema: z.ZodObject<{
|
|
19
|
+
data: z.ZodObject<{
|
|
20
|
+
accessToken: z.ZodString;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
accessToken: string;
|
|
23
|
+
}, {
|
|
24
|
+
accessToken: string;
|
|
25
|
+
}>;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
data: {
|
|
28
|
+
accessToken: string;
|
|
29
|
+
};
|
|
30
|
+
}, {
|
|
31
|
+
data: {
|
|
32
|
+
accessToken: string;
|
|
33
|
+
};
|
|
34
|
+
}>;
|
|
35
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=login.command.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"login.command.d.ts","sourceRoot":"","sources":["../../../commands/auth/login.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,yBAAiB,YAAY,CAAC;IACnB,MAAM,aAAa;;;;;;;;;;;;;MAGxB,CAAC;IACH,KAAY,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;IAE7C,MAAM,cAAc;;;;;;;;;;;;;;;;MAIzB,CAAC;IACH,KAAY,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;CACzD"}
|