@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
|
@@ -5,26 +5,26 @@ export declare const PAYMENT_INCIDENT_ADMIN_ROUTES: {
|
|
|
5
5
|
readonly providerCheck: (id: string) => string;
|
|
6
6
|
};
|
|
7
7
|
export declare const PaymentIncidentStageSchema: z.ZodEnum<{
|
|
8
|
+
failed: "failed";
|
|
9
|
+
succeeded: "succeeded";
|
|
10
|
+
prepared: "prepared";
|
|
11
|
+
reading_existing: "reading_existing";
|
|
12
|
+
updating_existing: "updating_existing";
|
|
13
|
+
finalizing_existing: "finalizing_existing";
|
|
14
|
+
restoring_existing: "restoring_existing";
|
|
8
15
|
cancelled_existing: "cancelled_existing";
|
|
9
|
-
cancelling_new: "cancelling_new";
|
|
10
16
|
cancelling_old: "cancelling_old";
|
|
11
17
|
creating_new: "creating_new";
|
|
12
|
-
failed: "failed";
|
|
13
18
|
finalizing: "finalizing";
|
|
14
|
-
|
|
15
|
-
manual_review: "manual_review";
|
|
16
|
-
prepared: "prepared";
|
|
17
|
-
reading_existing: "reading_existing";
|
|
19
|
+
cancelling_new: "cancelling_new";
|
|
18
20
|
reconciling: "reconciling";
|
|
19
|
-
|
|
20
|
-
succeeded: "succeeded";
|
|
21
|
-
updating_existing: "updating_existing";
|
|
21
|
+
manual_review: "manual_review";
|
|
22
22
|
}>;
|
|
23
23
|
export declare const PaymentIncidentReasonSchema: z.ZodEnum<{
|
|
24
|
-
compensation_after_start: "compensation_after_start";
|
|
25
24
|
existing_schedule_changed: "existing_schedule_changed";
|
|
26
|
-
multiple_exact_matches: "multiple_exact_matches";
|
|
27
25
|
no_exact_match: "no_exact_match";
|
|
26
|
+
multiple_exact_matches: "multiple_exact_matches";
|
|
27
|
+
compensation_after_start: "compensation_after_start";
|
|
28
28
|
}>;
|
|
29
29
|
export declare const PaymentIncidentPageSchema: z.ZodObject<{
|
|
30
30
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -36,20 +36,20 @@ export declare const PaymentIncidentListQuerySchema: z.ZodObject<{
|
|
|
36
36
|
operationId: z.ZodOptional<z.ZodUUID>;
|
|
37
37
|
userId: z.ZodOptional<z.ZodUUID>;
|
|
38
38
|
stage: z.ZodOptional<z.ZodEnum<{
|
|
39
|
+
failed: "failed";
|
|
40
|
+
succeeded: "succeeded";
|
|
41
|
+
prepared: "prepared";
|
|
42
|
+
reading_existing: "reading_existing";
|
|
43
|
+
updating_existing: "updating_existing";
|
|
44
|
+
finalizing_existing: "finalizing_existing";
|
|
45
|
+
restoring_existing: "restoring_existing";
|
|
39
46
|
cancelled_existing: "cancelled_existing";
|
|
40
|
-
cancelling_new: "cancelling_new";
|
|
41
47
|
cancelling_old: "cancelling_old";
|
|
42
48
|
creating_new: "creating_new";
|
|
43
|
-
failed: "failed";
|
|
44
49
|
finalizing: "finalizing";
|
|
45
|
-
|
|
46
|
-
manual_review: "manual_review";
|
|
47
|
-
prepared: "prepared";
|
|
48
|
-
reading_existing: "reading_existing";
|
|
50
|
+
cancelling_new: "cancelling_new";
|
|
49
51
|
reconciling: "reconciling";
|
|
50
|
-
|
|
51
|
-
succeeded: "succeeded";
|
|
52
|
-
updating_existing: "updating_existing";
|
|
52
|
+
manual_review: "manual_review";
|
|
53
53
|
}>>;
|
|
54
54
|
status: z.ZodOptional<z.ZodEnum<{
|
|
55
55
|
failed: "failed";
|
|
@@ -75,20 +75,20 @@ export declare const PaymentIncidentSummarySchema: z.ZodObject<{
|
|
|
75
75
|
succeeded: "succeeded";
|
|
76
76
|
}>;
|
|
77
77
|
stage: z.ZodEnum<{
|
|
78
|
+
failed: "failed";
|
|
79
|
+
succeeded: "succeeded";
|
|
80
|
+
prepared: "prepared";
|
|
81
|
+
reading_existing: "reading_existing";
|
|
82
|
+
updating_existing: "updating_existing";
|
|
83
|
+
finalizing_existing: "finalizing_existing";
|
|
84
|
+
restoring_existing: "restoring_existing";
|
|
78
85
|
cancelled_existing: "cancelled_existing";
|
|
79
|
-
cancelling_new: "cancelling_new";
|
|
80
86
|
cancelling_old: "cancelling_old";
|
|
81
87
|
creating_new: "creating_new";
|
|
82
|
-
failed: "failed";
|
|
83
88
|
finalizing: "finalizing";
|
|
84
|
-
|
|
85
|
-
manual_review: "manual_review";
|
|
86
|
-
prepared: "prepared";
|
|
87
|
-
reading_existing: "reading_existing";
|
|
89
|
+
cancelling_new: "cancelling_new";
|
|
88
90
|
reconciling: "reconciling";
|
|
89
|
-
|
|
90
|
-
succeeded: "succeeded";
|
|
91
|
-
updating_existing: "updating_existing";
|
|
91
|
+
manual_review: "manual_review";
|
|
92
92
|
}>;
|
|
93
93
|
amount: z.ZodNullable<z.ZodNumber>;
|
|
94
94
|
currency: z.ZodNullable<z.ZodString>;
|
|
@@ -99,10 +99,10 @@ export declare const PaymentIncidentSummarySchema: z.ZodObject<{
|
|
|
99
99
|
sourceEnd: z.ZodISODateTime;
|
|
100
100
|
blocked: z.ZodBoolean;
|
|
101
101
|
manualReviewReason: z.ZodNullable<z.ZodEnum<{
|
|
102
|
-
compensation_after_start: "compensation_after_start";
|
|
103
102
|
existing_schedule_changed: "existing_schedule_changed";
|
|
104
|
-
multiple_exact_matches: "multiple_exact_matches";
|
|
105
103
|
no_exact_match: "no_exact_match";
|
|
104
|
+
multiple_exact_matches: "multiple_exact_matches";
|
|
105
|
+
compensation_after_start: "compensation_after_start";
|
|
106
106
|
}>>;
|
|
107
107
|
manualReviewAt: z.ZodNullable<z.ZodISODateTime>;
|
|
108
108
|
manualReviewAlertedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -122,20 +122,20 @@ export declare const PaymentIncidentListResponseSchema: z.ZodObject<{
|
|
|
122
122
|
succeeded: "succeeded";
|
|
123
123
|
}>;
|
|
124
124
|
stage: z.ZodEnum<{
|
|
125
|
+
failed: "failed";
|
|
126
|
+
succeeded: "succeeded";
|
|
127
|
+
prepared: "prepared";
|
|
128
|
+
reading_existing: "reading_existing";
|
|
129
|
+
updating_existing: "updating_existing";
|
|
130
|
+
finalizing_existing: "finalizing_existing";
|
|
131
|
+
restoring_existing: "restoring_existing";
|
|
125
132
|
cancelled_existing: "cancelled_existing";
|
|
126
|
-
cancelling_new: "cancelling_new";
|
|
127
133
|
cancelling_old: "cancelling_old";
|
|
128
134
|
creating_new: "creating_new";
|
|
129
|
-
failed: "failed";
|
|
130
135
|
finalizing: "finalizing";
|
|
131
|
-
|
|
132
|
-
manual_review: "manual_review";
|
|
133
|
-
prepared: "prepared";
|
|
134
|
-
reading_existing: "reading_existing";
|
|
136
|
+
cancelling_new: "cancelling_new";
|
|
135
137
|
reconciling: "reconciling";
|
|
136
|
-
|
|
137
|
-
succeeded: "succeeded";
|
|
138
|
-
updating_existing: "updating_existing";
|
|
138
|
+
manual_review: "manual_review";
|
|
139
139
|
}>;
|
|
140
140
|
amount: z.ZodNullable<z.ZodNumber>;
|
|
141
141
|
currency: z.ZodNullable<z.ZodString>;
|
|
@@ -146,10 +146,10 @@ export declare const PaymentIncidentListResponseSchema: z.ZodObject<{
|
|
|
146
146
|
sourceEnd: z.ZodISODateTime;
|
|
147
147
|
blocked: z.ZodBoolean;
|
|
148
148
|
manualReviewReason: z.ZodNullable<z.ZodEnum<{
|
|
149
|
-
compensation_after_start: "compensation_after_start";
|
|
150
149
|
existing_schedule_changed: "existing_schedule_changed";
|
|
151
|
-
multiple_exact_matches: "multiple_exact_matches";
|
|
152
150
|
no_exact_match: "no_exact_match";
|
|
151
|
+
multiple_exact_matches: "multiple_exact_matches";
|
|
152
|
+
compensation_after_start: "compensation_after_start";
|
|
153
153
|
}>>;
|
|
154
154
|
manualReviewAt: z.ZodNullable<z.ZodISODateTime>;
|
|
155
155
|
manualReviewAlertedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -172,20 +172,20 @@ export declare const PaymentIncidentDetailsSchema: z.ZodObject<{
|
|
|
172
172
|
succeeded: "succeeded";
|
|
173
173
|
}>;
|
|
174
174
|
stage: z.ZodEnum<{
|
|
175
|
+
failed: "failed";
|
|
176
|
+
succeeded: "succeeded";
|
|
177
|
+
prepared: "prepared";
|
|
178
|
+
reading_existing: "reading_existing";
|
|
179
|
+
updating_existing: "updating_existing";
|
|
180
|
+
finalizing_existing: "finalizing_existing";
|
|
181
|
+
restoring_existing: "restoring_existing";
|
|
175
182
|
cancelled_existing: "cancelled_existing";
|
|
176
|
-
cancelling_new: "cancelling_new";
|
|
177
183
|
cancelling_old: "cancelling_old";
|
|
178
184
|
creating_new: "creating_new";
|
|
179
|
-
failed: "failed";
|
|
180
185
|
finalizing: "finalizing";
|
|
181
|
-
|
|
182
|
-
manual_review: "manual_review";
|
|
183
|
-
prepared: "prepared";
|
|
184
|
-
reading_existing: "reading_existing";
|
|
186
|
+
cancelling_new: "cancelling_new";
|
|
185
187
|
reconciling: "reconciling";
|
|
186
|
-
|
|
187
|
-
succeeded: "succeeded";
|
|
188
|
-
updating_existing: "updating_existing";
|
|
188
|
+
manual_review: "manual_review";
|
|
189
189
|
}>;
|
|
190
190
|
amount: z.ZodNullable<z.ZodNumber>;
|
|
191
191
|
currency: z.ZodNullable<z.ZodString>;
|
|
@@ -196,10 +196,10 @@ export declare const PaymentIncidentDetailsSchema: z.ZodObject<{
|
|
|
196
196
|
sourceEnd: z.ZodISODateTime;
|
|
197
197
|
blocked: z.ZodBoolean;
|
|
198
198
|
manualReviewReason: z.ZodNullable<z.ZodEnum<{
|
|
199
|
-
compensation_after_start: "compensation_after_start";
|
|
200
199
|
existing_schedule_changed: "existing_schedule_changed";
|
|
201
|
-
multiple_exact_matches: "multiple_exact_matches";
|
|
202
200
|
no_exact_match: "no_exact_match";
|
|
201
|
+
multiple_exact_matches: "multiple_exact_matches";
|
|
202
|
+
compensation_after_start: "compensation_after_start";
|
|
203
203
|
}>>;
|
|
204
204
|
manualReviewAt: z.ZodNullable<z.ZodISODateTime>;
|
|
205
205
|
manualReviewAlertedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -227,15 +227,15 @@ export declare const PaymentIncidentDetailsSchema: z.ZodObject<{
|
|
|
227
227
|
autoRenewalDisabled: z.ZodBoolean;
|
|
228
228
|
events: z.ZodArray<z.ZodObject<{
|
|
229
229
|
kind: z.ZodEnum<{
|
|
230
|
-
cancel_new_sent: "cancel_new_sent";
|
|
231
|
-
cancel_old_sent: "cancel_old_sent";
|
|
232
230
|
completed: "completed";
|
|
233
|
-
create_new_sent: "create_new_sent";
|
|
234
231
|
created: "created";
|
|
235
232
|
manual_review: "manual_review";
|
|
236
|
-
|
|
237
|
-
new_cancelled: "new_cancelled";
|
|
233
|
+
cancel_old_sent: "cancel_old_sent";
|
|
238
234
|
old_cancelled: "old_cancelled";
|
|
235
|
+
create_new_sent: "create_new_sent";
|
|
236
|
+
cancel_new_sent: "cancel_new_sent";
|
|
237
|
+
new_cancelled: "new_cancelled";
|
|
238
|
+
manual_review_notified: "manual_review_notified";
|
|
239
239
|
}>;
|
|
240
240
|
at: z.ZodISODateTime;
|
|
241
241
|
}, z.core.$strict>>;
|
|
@@ -266,20 +266,20 @@ export declare const PaymentIncidentDetailsResponseSchema: z.ZodObject<{
|
|
|
266
266
|
succeeded: "succeeded";
|
|
267
267
|
}>;
|
|
268
268
|
stage: z.ZodEnum<{
|
|
269
|
+
failed: "failed";
|
|
270
|
+
succeeded: "succeeded";
|
|
271
|
+
prepared: "prepared";
|
|
272
|
+
reading_existing: "reading_existing";
|
|
273
|
+
updating_existing: "updating_existing";
|
|
274
|
+
finalizing_existing: "finalizing_existing";
|
|
275
|
+
restoring_existing: "restoring_existing";
|
|
269
276
|
cancelled_existing: "cancelled_existing";
|
|
270
|
-
cancelling_new: "cancelling_new";
|
|
271
277
|
cancelling_old: "cancelling_old";
|
|
272
278
|
creating_new: "creating_new";
|
|
273
|
-
failed: "failed";
|
|
274
279
|
finalizing: "finalizing";
|
|
275
|
-
|
|
276
|
-
manual_review: "manual_review";
|
|
277
|
-
prepared: "prepared";
|
|
278
|
-
reading_existing: "reading_existing";
|
|
280
|
+
cancelling_new: "cancelling_new";
|
|
279
281
|
reconciling: "reconciling";
|
|
280
|
-
|
|
281
|
-
succeeded: "succeeded";
|
|
282
|
-
updating_existing: "updating_existing";
|
|
282
|
+
manual_review: "manual_review";
|
|
283
283
|
}>;
|
|
284
284
|
amount: z.ZodNullable<z.ZodNumber>;
|
|
285
285
|
currency: z.ZodNullable<z.ZodString>;
|
|
@@ -290,10 +290,10 @@ export declare const PaymentIncidentDetailsResponseSchema: z.ZodObject<{
|
|
|
290
290
|
sourceEnd: z.ZodISODateTime;
|
|
291
291
|
blocked: z.ZodBoolean;
|
|
292
292
|
manualReviewReason: z.ZodNullable<z.ZodEnum<{
|
|
293
|
-
compensation_after_start: "compensation_after_start";
|
|
294
293
|
existing_schedule_changed: "existing_schedule_changed";
|
|
295
|
-
multiple_exact_matches: "multiple_exact_matches";
|
|
296
294
|
no_exact_match: "no_exact_match";
|
|
295
|
+
multiple_exact_matches: "multiple_exact_matches";
|
|
296
|
+
compensation_after_start: "compensation_after_start";
|
|
297
297
|
}>>;
|
|
298
298
|
manualReviewAt: z.ZodNullable<z.ZodISODateTime>;
|
|
299
299
|
manualReviewAlertedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -321,15 +321,15 @@ export declare const PaymentIncidentDetailsResponseSchema: z.ZodObject<{
|
|
|
321
321
|
autoRenewalDisabled: z.ZodBoolean;
|
|
322
322
|
events: z.ZodArray<z.ZodObject<{
|
|
323
323
|
kind: z.ZodEnum<{
|
|
324
|
-
cancel_new_sent: "cancel_new_sent";
|
|
325
|
-
cancel_old_sent: "cancel_old_sent";
|
|
326
324
|
completed: "completed";
|
|
327
|
-
create_new_sent: "create_new_sent";
|
|
328
325
|
created: "created";
|
|
329
326
|
manual_review: "manual_review";
|
|
330
|
-
|
|
331
|
-
new_cancelled: "new_cancelled";
|
|
327
|
+
cancel_old_sent: "cancel_old_sent";
|
|
332
328
|
old_cancelled: "old_cancelled";
|
|
329
|
+
create_new_sent: "create_new_sent";
|
|
330
|
+
cancel_new_sent: "cancel_new_sent";
|
|
331
|
+
new_cancelled: "new_cancelled";
|
|
332
|
+
manual_review_notified: "manual_review_notified";
|
|
333
333
|
}>;
|
|
334
334
|
at: z.ZodISODateTime;
|
|
335
335
|
}, z.core.$strict>>;
|
|
@@ -367,12 +367,12 @@ export declare const PaymentIncidentProviderCheckSchema: z.ZodObject<{
|
|
|
367
367
|
}, z.core.$strict>;
|
|
368
368
|
stale: z.ZodBoolean;
|
|
369
369
|
outcome: z.ZodEnum<{
|
|
370
|
+
none: "none";
|
|
371
|
+
unknown: "unknown";
|
|
372
|
+
unique: "unique";
|
|
370
373
|
ambiguous: "ambiguous";
|
|
371
374
|
mismatch: "mismatch";
|
|
372
|
-
none: "none";
|
|
373
375
|
partial: "partial";
|
|
374
|
-
unique: "unique";
|
|
375
|
-
unknown: "unknown";
|
|
376
376
|
}>;
|
|
377
377
|
exactMatchCount: z.ZodNullable<z.ZodNumber>;
|
|
378
378
|
truncated: z.ZodBoolean;
|
|
@@ -386,8 +386,8 @@ export declare const PaymentIncidentProviderCheckSchema: z.ZodObject<{
|
|
|
386
386
|
}, z.core.$strict>>;
|
|
387
387
|
oldRecurring: z.ZodNullable<z.ZodObject<{
|
|
388
388
|
outcome: z.ZodEnum<{
|
|
389
|
-
confirmed: "confirmed";
|
|
390
389
|
unknown: "unknown";
|
|
390
|
+
confirmed: "confirmed";
|
|
391
391
|
}>;
|
|
392
392
|
recurring: z.ZodNullable<z.ZodObject<{
|
|
393
393
|
id: z.ZodString;
|
|
@@ -400,8 +400,8 @@ export declare const PaymentIncidentProviderCheckSchema: z.ZodObject<{
|
|
|
400
400
|
}, z.core.$strict>>;
|
|
401
401
|
newRecurring: z.ZodNullable<z.ZodObject<{
|
|
402
402
|
outcome: z.ZodEnum<{
|
|
403
|
-
confirmed: "confirmed";
|
|
404
403
|
unknown: "unknown";
|
|
404
|
+
confirmed: "confirmed";
|
|
405
405
|
}>;
|
|
406
406
|
recurring: z.ZodNullable<z.ZodObject<{
|
|
407
407
|
id: z.ZodString;
|
|
@@ -425,12 +425,12 @@ export declare const PaymentIncidentProviderCheckResponseSchema: z.ZodObject<{
|
|
|
425
425
|
}, z.core.$strict>;
|
|
426
426
|
stale: z.ZodBoolean;
|
|
427
427
|
outcome: z.ZodEnum<{
|
|
428
|
+
none: "none";
|
|
429
|
+
unknown: "unknown";
|
|
430
|
+
unique: "unique";
|
|
428
431
|
ambiguous: "ambiguous";
|
|
429
432
|
mismatch: "mismatch";
|
|
430
|
-
none: "none";
|
|
431
433
|
partial: "partial";
|
|
432
|
-
unique: "unique";
|
|
433
|
-
unknown: "unknown";
|
|
434
434
|
}>;
|
|
435
435
|
exactMatchCount: z.ZodNullable<z.ZodNumber>;
|
|
436
436
|
truncated: z.ZodBoolean;
|
|
@@ -444,8 +444,8 @@ export declare const PaymentIncidentProviderCheckResponseSchema: z.ZodObject<{
|
|
|
444
444
|
}, z.core.$strict>>;
|
|
445
445
|
oldRecurring: z.ZodNullable<z.ZodObject<{
|
|
446
446
|
outcome: z.ZodEnum<{
|
|
447
|
-
confirmed: "confirmed";
|
|
448
447
|
unknown: "unknown";
|
|
448
|
+
confirmed: "confirmed";
|
|
449
449
|
}>;
|
|
450
450
|
recurring: z.ZodNullable<z.ZodObject<{
|
|
451
451
|
id: z.ZodString;
|
|
@@ -458,8 +458,8 @@ export declare const PaymentIncidentProviderCheckResponseSchema: z.ZodObject<{
|
|
|
458
458
|
}, z.core.$strict>>;
|
|
459
459
|
newRecurring: z.ZodNullable<z.ZodObject<{
|
|
460
460
|
outcome: z.ZodEnum<{
|
|
461
|
-
confirmed: "confirmed";
|
|
462
461
|
unknown: "unknown";
|
|
462
|
+
confirmed: "confirmed";
|
|
463
463
|
}>;
|
|
464
464
|
recurring: z.ZodNullable<z.ZodObject<{
|
|
465
465
|
id: z.ZodString;
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare namespace UpdateSubscriptionCommand {
|
|
3
3
|
const RequestSchema: z.ZodObject<{
|
|
4
|
-
mainSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
5
|
-
name: z.ZodOptional<z.ZodString>;
|
|
6
|
-
requests: z.ZodOptional<z.ZodNumber>;
|
|
7
|
-
price: z.ZodOptional<z.ZodNumber>;
|
|
8
|
-
billingScope: z.ZodOptional<z.ZodEnum<typeof import("../..").BILLING_SCOPE>>;
|
|
9
|
-
plan: z.ZodOptional<z.ZodEnum<typeof import("../..").SUBSCRIPTION_PLAN>>;
|
|
10
4
|
type: z.ZodOptional<z.ZodEnum<typeof import("../..").SUBSCRIPTION_TYPE>>;
|
|
11
|
-
|
|
12
|
-
period: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
action: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof import("../..").SUBSCRIPTION_ACTION>>>>;
|
|
13
6
|
tokens: z.ZodOptional<z.ZodNumber>;
|
|
14
|
-
|
|
7
|
+
requests: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9
|
+
price: z.ZodOptional<z.ZodNumber>;
|
|
15
10
|
icons: z.ZodOptional<z.ZodObject<{
|
|
16
11
|
light: z.ZodObject<{
|
|
17
12
|
png: z.ZodString;
|
|
@@ -22,7 +17,8 @@ export declare namespace UpdateSubscriptionCommand {
|
|
|
22
17
|
svg: z.ZodString;
|
|
23
18
|
}, z.core.$strip>;
|
|
24
19
|
}, z.core.$strip>>;
|
|
25
|
-
|
|
20
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
21
|
+
maxInputLength: z.ZodOptional<z.ZodNumber>;
|
|
26
22
|
features: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
27
23
|
title: z.ZodString;
|
|
28
24
|
icon: z.ZodOptional<z.ZodString>;
|
|
@@ -307,6 +303,13 @@ export declare namespace UpdateSubscriptionCommand {
|
|
|
307
303
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_QUOTA>;
|
|
308
304
|
value: z.ZodNumber;
|
|
309
305
|
}, z.core.$strip>]>>>;
|
|
306
|
+
maxInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
307
|
+
mainSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
308
|
+
carryoverPercent: z.ZodOptional<z.ZodNumber>;
|
|
309
|
+
billingScope: z.ZodOptional<z.ZodEnum<typeof import("../..").BILLING_SCOPE>>;
|
|
310
|
+
plan: z.ZodOptional<z.ZodEnum<typeof import("../..").SUBSCRIPTION_PLAN>>;
|
|
311
|
+
discount: z.ZodOptional<z.ZodNumber>;
|
|
312
|
+
period: z.ZodOptional<z.ZodNumber>;
|
|
310
313
|
teamFeatures: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
311
314
|
key: z.ZodEnum<typeof import("../..").TEAM_SUBSCRIPTION_FEATURE_KEY>;
|
|
312
315
|
title: z.ZodString;
|
|
@@ -324,9 +327,6 @@ export declare namespace UpdateSubscriptionCommand {
|
|
|
324
327
|
}, z.core.$strip>;
|
|
325
328
|
order: z.ZodDefault<z.ZodNumber>;
|
|
326
329
|
}, z.core.$strip>>>>;
|
|
327
|
-
maxInputLength: z.ZodOptional<z.ZodNumber>;
|
|
328
|
-
maxInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
329
|
-
carryoverPercent: z.ZodOptional<z.ZodNumber>;
|
|
330
330
|
}, z.core.$strip>;
|
|
331
331
|
type Request = z.infer<typeof RequestSchema>;
|
|
332
332
|
const RequestParamSchema: z.ZodObject<{
|
|
@@ -8,12 +8,12 @@ export declare namespace CheckSupportFeedbackCommand {
|
|
|
8
8
|
data: z.ZodObject<{
|
|
9
9
|
hasFeedback: z.ZodBoolean;
|
|
10
10
|
feedback: z.ZodNullable<z.ZodObject<{
|
|
11
|
-
uuid: z.ZodUUID;
|
|
12
|
-
supportDialogId: z.ZodString;
|
|
13
|
-
rating: z.ZodNumber;
|
|
14
|
-
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
11
|
createdAt: z.ZodDate;
|
|
16
12
|
updatedAt: z.ZodDate;
|
|
13
|
+
uuid: z.ZodUUID;
|
|
14
|
+
comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
rating: z.ZodNumber;
|
|
16
|
+
supportDialogId: z.ZodString;
|
|
17
17
|
}, z.core.$strip>>;
|
|
18
18
|
}, z.core.$strip>;
|
|
19
19
|
}, z.core.$strip>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare namespace UpsertSupportFeedbackCommand {
|
|
3
3
|
const RequestSchema: z.ZodObject<{
|
|
4
|
-
supportDialogId: z.ZodString;
|
|
5
|
-
rating: z.ZodNumber;
|
|
6
4
|
comment: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5
|
+
rating: z.ZodNumber;
|
|
6
|
+
supportDialogId: z.ZodString;
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
type Request = z.infer<typeof RequestSchema>;
|
|
9
9
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -8,6 +8,8 @@ export declare namespace CreateTeamAccountInvoicePaymentCommand {
|
|
|
8
8
|
subscriptionUuid: z.ZodOptional<z.ZodUUID>;
|
|
9
9
|
productUuid: z.ZodOptional<z.ZodUUID>;
|
|
10
10
|
upgradeSubscriptionUuid: z.ZodOptional<z.ZodUUID>;
|
|
11
|
+
renewal: z.ZodOptional<z.ZodLiteral<true>>;
|
|
12
|
+
renewalPeriodUuid: z.ZodOptional<z.ZodUUID>;
|
|
11
13
|
}, z.core.$strip>;
|
|
12
14
|
type Request = z.infer<typeof RequestSchema>;
|
|
13
15
|
const ResponseSchema: z.ZodObject<{
|
|
@@ -13,12 +13,22 @@ var CreateTeamAccountInvoicePaymentCommand;
|
|
|
13
13
|
subscriptionUuid: zod_1.z.uuid().optional(),
|
|
14
14
|
productUuid: zod_1.z.uuid().optional(),
|
|
15
15
|
upgradeSubscriptionUuid: zod_1.z.uuid().optional(),
|
|
16
|
+
renewal: zod_1.z.literal(true).optional(),
|
|
17
|
+
renewalPeriodUuid: zod_1.z.uuid().optional(),
|
|
16
18
|
})
|
|
17
19
|
.refine(({ subscriptionUuid, productUuid, upgradeSubscriptionUuid }) => Number(Boolean(subscriptionUuid)) +
|
|
18
20
|
Number(Boolean(productUuid)) +
|
|
19
21
|
Number(Boolean(upgradeSubscriptionUuid)) ===
|
|
20
22
|
1, {
|
|
21
23
|
message: 'Нужно передать ровно один идентификатор: subscriptionUuid, productUuid или upgradeSubscriptionUuid',
|
|
24
|
+
})
|
|
25
|
+
.refine(({ renewal, subscriptionUuid }) => !renewal || Boolean(subscriptionUuid), {
|
|
26
|
+
path: ['renewal'],
|
|
27
|
+
message: 'Для продления нужен subscriptionUuid',
|
|
28
|
+
})
|
|
29
|
+
.refine(({ renewal, renewalPeriodUuid }) => !renewalPeriodUuid || renewal === true, {
|
|
30
|
+
path: ['renewalPeriodUuid'],
|
|
31
|
+
message: 'Идентификатор периода применим только к продлению',
|
|
22
32
|
});
|
|
23
33
|
CreateTeamAccountInvoicePaymentCommand.ResponseSchema = zod_1.z.object({
|
|
24
34
|
data: zod_1.z.object({
|
|
@@ -30,6 +30,18 @@ export declare namespace GetInvoiceForPaymentCommand {
|
|
|
30
30
|
inn: z.ZodString;
|
|
31
31
|
amount: z.ZodNumber;
|
|
32
32
|
itemName: z.ZodString;
|
|
33
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
+
invoiceType: z.ZodLiteral<"subscription_renewal">;
|
|
35
|
+
email: z.ZodEmail;
|
|
36
|
+
name: z.ZodString;
|
|
37
|
+
inn: z.ZodString;
|
|
38
|
+
amount: z.ZodNumber;
|
|
39
|
+
itemName: z.ZodString;
|
|
40
|
+
subscriptionId: z.ZodUUID;
|
|
41
|
+
rootSubscriptionId: z.ZodUUID;
|
|
42
|
+
durationMonths: z.ZodNumber;
|
|
43
|
+
tokens: z.ZodNumber;
|
|
44
|
+
carryoverPercent: z.ZodNumber;
|
|
33
45
|
}, z.core.$strip>, z.ZodObject<{
|
|
34
46
|
invoiceType: z.ZodLiteral<"subscription_upgrade">;
|
|
35
47
|
email: z.ZodEmail;
|
|
@@ -30,3 +30,4 @@ export * from './get-invoice-for-payment.command';
|
|
|
30
30
|
export * from './get-team-account-payment-history.command';
|
|
31
31
|
export * from './find-current-team-account-products-by-team-account-id.command';
|
|
32
32
|
export * from './get-team-account-available-upgrades.command';
|
|
33
|
+
export * from './team-subscription-renewal.command';
|
|
@@ -46,3 +46,4 @@ __exportStar(require("./get-invoice-for-payment.command"), exports);
|
|
|
46
46
|
__exportStar(require("./get-team-account-payment-history.command"), exports);
|
|
47
47
|
__exportStar(require("./find-current-team-account-products-by-team-account-id.command"), exports);
|
|
48
48
|
__exportStar(require("./get-team-account-available-upgrades.command"), exports);
|
|
49
|
+
__exportStar(require("./team-subscription-renewal.command"), exports);
|
|
@@ -6,19 +6,19 @@ export declare namespace InviteTeamAccountMemberCommand {
|
|
|
6
6
|
type Request = z.infer<typeof RequestSchema>;
|
|
7
7
|
const ResponseSchema: z.ZodObject<{
|
|
8
8
|
data: z.ZodArray<z.ZodObject<{
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
createdAt: z.ZodDate;
|
|
10
|
+
status: z.ZodString;
|
|
11
|
+
updatedAt: z.ZodDate;
|
|
11
12
|
email: z.ZodEmail;
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
teamAccountId: z.ZodUUID;
|
|
14
|
+
uuid: z.ZodUUID;
|
|
14
15
|
role: z.ZodString;
|
|
15
|
-
tokenLimit: z.ZodNullable<z.ZodNumber>;
|
|
16
|
-
status: z.ZodString;
|
|
17
16
|
expiresAt: z.ZodDate;
|
|
18
17
|
acceptedAt: z.ZodNullable<z.ZodDate>;
|
|
19
18
|
revokedAt: z.ZodNullable<z.ZodDate>;
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
tokenLimit: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
invitedByUserId: z.ZodUUID;
|
|
21
|
+
acceptedByUserId: z.ZodNullable<z.ZodUUID>;
|
|
22
22
|
}, z.core.$strip>>;
|
|
23
23
|
existEmails: z.ZodArray<z.ZodEmail>;
|
|
24
24
|
blockedEmails: z.ZodArray<z.ZodEmail>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const TeamSubscriptionRenewalSchema: z.ZodObject<{
|
|
3
|
+
uuid: z.ZodUUID;
|
|
4
|
+
invoiceId: z.ZodUUID;
|
|
5
|
+
teamAccountId: z.ZodUUID;
|
|
6
|
+
subscriptionId: z.ZodUUID;
|
|
7
|
+
durationMonths: z.ZodNumber;
|
|
8
|
+
startDate: z.ZodCoercedDate<unknown>;
|
|
9
|
+
endDate: z.ZodCoercedDate<unknown>;
|
|
10
|
+
confirmedAt: z.ZodCoercedDate<unknown>;
|
|
11
|
+
activatedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export declare namespace ConfirmTeamInvoicePaymentCommand {
|
|
14
|
+
const RequestSchema: z.ZodObject<{
|
|
15
|
+
invoiceId: z.ZodUUID;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
18
|
+
const ResponseSchema: z.ZodObject<{
|
|
19
|
+
data: z.ZodObject<{
|
|
20
|
+
uuid: z.ZodUUID;
|
|
21
|
+
invoiceId: z.ZodUUID;
|
|
22
|
+
teamAccountId: z.ZodUUID;
|
|
23
|
+
subscriptionId: z.ZodUUID;
|
|
24
|
+
durationMonths: z.ZodNumber;
|
|
25
|
+
startDate: z.ZodCoercedDate<unknown>;
|
|
26
|
+
endDate: z.ZodCoercedDate<unknown>;
|
|
27
|
+
confirmedAt: z.ZodCoercedDate<unknown>;
|
|
28
|
+
activatedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace GetTeamSubscriptionRenewalsCommand {
|
|
34
|
+
const ResponseSchema: z.ZodObject<{
|
|
35
|
+
data: z.ZodArray<z.ZodObject<{
|
|
36
|
+
uuid: z.ZodUUID;
|
|
37
|
+
invoiceId: z.ZodUUID;
|
|
38
|
+
teamAccountId: z.ZodUUID;
|
|
39
|
+
subscriptionId: z.ZodUUID;
|
|
40
|
+
durationMonths: z.ZodNumber;
|
|
41
|
+
startDate: z.ZodCoercedDate<unknown>;
|
|
42
|
+
endDate: z.ZodCoercedDate<unknown>;
|
|
43
|
+
confirmedAt: z.ZodCoercedDate<unknown>;
|
|
44
|
+
activatedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
45
|
+
}, z.core.$strip>>;
|
|
46
|
+
}, z.core.$strip>;
|
|
47
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetTeamSubscriptionRenewalsCommand = exports.ConfirmTeamInvoicePaymentCommand = exports.TeamSubscriptionRenewalSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.TeamSubscriptionRenewalSchema = zod_1.z.object({
|
|
6
|
+
uuid: zod_1.z.uuid(),
|
|
7
|
+
invoiceId: zod_1.z.uuid(),
|
|
8
|
+
teamAccountId: zod_1.z.uuid(),
|
|
9
|
+
subscriptionId: zod_1.z.uuid(),
|
|
10
|
+
durationMonths: zod_1.z.number().int().positive(),
|
|
11
|
+
startDate: zod_1.z.coerce.date(),
|
|
12
|
+
endDate: zod_1.z.coerce.date(),
|
|
13
|
+
confirmedAt: zod_1.z.coerce.date(),
|
|
14
|
+
activatedAt: zod_1.z.coerce.date().nullable(),
|
|
15
|
+
});
|
|
16
|
+
var ConfirmTeamInvoicePaymentCommand;
|
|
17
|
+
(function (ConfirmTeamInvoicePaymentCommand) {
|
|
18
|
+
ConfirmTeamInvoicePaymentCommand.RequestSchema = zod_1.z.object({ invoiceId: zod_1.z.uuid() });
|
|
19
|
+
ConfirmTeamInvoicePaymentCommand.ResponseSchema = zod_1.z.object({ data: exports.TeamSubscriptionRenewalSchema });
|
|
20
|
+
})(ConfirmTeamInvoicePaymentCommand || (exports.ConfirmTeamInvoicePaymentCommand = ConfirmTeamInvoicePaymentCommand = {}));
|
|
21
|
+
var GetTeamSubscriptionRenewalsCommand;
|
|
22
|
+
(function (GetTeamSubscriptionRenewalsCommand) {
|
|
23
|
+
GetTeamSubscriptionRenewalsCommand.ResponseSchema = zod_1.z.object({ data: zod_1.z.array(exports.TeamSubscriptionRenewalSchema) });
|
|
24
|
+
})(GetTeamSubscriptionRenewalsCommand || (exports.GetTeamSubscriptionRenewalsCommand = GetTeamSubscriptionRenewalsCommand = {}));
|
|
@@ -10,19 +10,19 @@ export declare namespace UpdateTeamAccountInviteCommand {
|
|
|
10
10
|
type Request = z.infer<typeof RequestSchema>;
|
|
11
11
|
const ResponseSchema: z.ZodObject<{
|
|
12
12
|
data: z.ZodObject<{
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
createdAt: z.ZodDate;
|
|
14
|
+
status: z.ZodString;
|
|
15
|
+
updatedAt: z.ZodDate;
|
|
15
16
|
email: z.ZodEmail;
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
teamAccountId: z.ZodUUID;
|
|
18
|
+
uuid: z.ZodUUID;
|
|
18
19
|
role: z.ZodString;
|
|
19
|
-
tokenLimit: z.ZodNullable<z.ZodNumber>;
|
|
20
|
-
status: z.ZodString;
|
|
21
20
|
expiresAt: z.ZodDate;
|
|
22
21
|
acceptedAt: z.ZodNullable<z.ZodDate>;
|
|
23
22
|
revokedAt: z.ZodNullable<z.ZodDate>;
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
tokenLimit: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
invitedByUserId: z.ZodUUID;
|
|
25
|
+
acceptedByUserId: z.ZodNullable<z.ZodUUID>;
|
|
26
26
|
}, z.core.$strip>;
|
|
27
27
|
}, z.core.$strip>;
|
|
28
28
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -5,11 +5,11 @@ export declare namespace UpdateTeamToProductCommand {
|
|
|
5
5
|
}, z.core.$strip>;
|
|
6
6
|
type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
7
7
|
const RequestSchema: z.ZodObject<{
|
|
8
|
-
initTokenBalance: z.ZodOptional<z.ZodNumber>;
|
|
9
|
-
tokenBalance: z.ZodOptional<z.ZodNumber>;
|
|
10
8
|
status: z.ZodOptional<z.ZodEnum<typeof import("../..").PRODUCT_STATUS>>;
|
|
11
|
-
|
|
9
|
+
tokenBalance: z.ZodOptional<z.ZodNumber>;
|
|
12
10
|
orderId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
11
|
+
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
12
|
+
initTokenBalance: z.ZodOptional<z.ZodNumber>;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
14
|
type Request = z.infer<typeof RequestSchema>;
|
|
15
15
|
const ResponseSchema: z.ZodObject<{
|