@purpleschool/gptbot 0.15.57 → 0.15.58-stage2
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/avatar-studio.d.ts +5 -2
- package/build/api/controllers/http/avatar-studio.js +6 -4
- package/build/api/controllers/http/index.d.ts +1 -0
- package/build/api/controllers/http/index.js +1 -0
- package/build/api/controllers/http/photo-session.d.ts +20 -0
- package/build/api/controllers/http/photo-session.js +23 -0
- package/build/api/controllers/http/tts.d.ts +9 -0
- package/build/api/controllers/http/tts.js +9 -0
- package/build/api/routes.d.ts +50 -3
- package/build/api/routes.js +50 -3
- package/build/commands/ai-studio/canvas-node/find-canvas-node-definitions-with-configs.query.d.ts +11 -0
- package/build/commands/avatar-studio/clip/create-avatar-studio-clip.command.d.ts +1 -1
- package/build/commands/avatar-studio/clip/find-avatar-studio-clips.query.d.ts +1 -1
- package/build/commands/avatar-studio/clip/get-avatar-studio-clip.query.d.ts +1 -1
- package/build/commands/avatar-studio/clip/update-avatar-studio-clip.command.d.ts +1 -1
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.d.ts +4 -2
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.js +4 -2
- package/build/commands/avatar-studio/scene/{apply-avatar-studio-voice-sample-to-all-scenes.command.d.ts → apply-avatar-studio-voice-to-all-scenes.command.d.ts} +3 -3
- package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-to-all-scenes.command.js +17 -0
- package/build/commands/avatar-studio/scene/create-avatar-studio-scene.command.d.ts +1 -1
- package/build/commands/avatar-studio/scene/index.d.ts +1 -1
- package/build/commands/avatar-studio/scene/index.js +1 -1
- package/build/commands/avatar-studio/scene/reorder-avatar-studio-scenes.command.d.ts +1 -1
- package/build/commands/avatar-studio/scene/set-avatar-studio-scene-slot.command.d.ts +1 -1
- package/build/commands/avatar-studio/scene/update-avatar-studio-scene.command.d.ts +2 -2
- package/build/commands/avatar-studio/scriptwriter/apply-avatar-studio-scriptwriter-message.command.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 +5 -6
- package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.js +7 -12
- package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.d.ts +43 -0
- package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.js +19 -0
- package/build/commands/avatar-studio/voice/delete-avatar-studio-voice.command.d.ts +11 -0
- package/build/commands/avatar-studio/voice/delete-avatar-studio-voice.command.js +13 -0
- package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.d.ts +26 -56
- package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.js +6 -7
- package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.d.ts +36 -0
- package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.js +11 -0
- package/build/commands/avatar-studio/voice/index.d.ts +3 -0
- package/build/commands/avatar-studio/voice/index.js +3 -0
- package/build/commands/product/create-product.command.d.ts +0 -76
- package/build/commands/product/find-product.command.d.ts +0 -76
- package/build/commands/product/get-my-products.command.d.ts +0 -38
- package/build/commands/product/update-product.command.d.ts +0 -76
- package/build/commands/subscription/create-subscription.command.d.ts +0 -76
- package/build/commands/subscription/find-subscription.command.d.ts +0 -114
- package/build/commands/subscription/get-available-upgrades.command.d.ts +0 -76
- package/build/commands/subscription/get-free-subscription.command.d.ts +0 -38
- package/build/commands/subscription/get-subscriptions-summary.command.d.ts +0 -190
- package/build/commands/subscription/update-subscription.command.d.ts +0 -76
- package/build/commands/team-account/find-current-team-account-products-by-team-account-id.command.d.ts +0 -38
- package/build/commands/team-account/find-current-team-account-products.command.d.ts +0 -38
- package/build/commands/team-account/find-current-team-account-subscriptions-by-team-account-id.command.d.ts +0 -38
- package/build/commands/team-account/find-current-team-account-subscriptions.command.d.ts +0 -38
- package/build/commands/team-account/find-team-account-products.command.d.ts +0 -38
- package/build/commands/team-account/find-team-account-subscriptions.command.d.ts +0 -76
- package/build/commands/team-account/get-team-account-available-upgrades.command.d.ts +0 -38
- package/build/commands/team-to-product/get-team-to-products.command.d.ts +0 -38
- package/build/commands/team-to-subscription/get-team-to-subscriptions.command.d.ts +0 -38
- package/build/commands/tools/html-page-builder/execute-html-page-builder.command.d.ts +2 -0
- package/build/commands/tools/html-page-builder/find-html-page-builder-session-by-uuid.command.d.ts +2 -0
- package/build/commands/tools/html-page-builder/find-html-page-builder-sessions.command.d.ts +2 -0
- package/build/commands/tools/html-page-builder/update-html-page-builder-session-favorite.command.d.ts +2 -0
- package/build/commands/tools/html-page-builder/update-html-page-builder-session-title.command.d.ts +2 -0
- package/build/commands/tools/image-editor/find-image-editor-job-by-uuid.command.d.ts +2 -0
- package/build/commands/tools/image-editor/find-image-editor-jobs.command.d.ts +2 -0
- package/build/commands/tools/image-editor/retry-image-editor-job.command.d.ts +2 -0
- package/build/commands/tools/image-editor/set-reaction-to-image-editor-job.command.d.ts +2 -0
- package/build/commands/tools/image-editor/update-image-editor-job-favorite.command.d.ts +2 -0
- package/build/commands/tools/image-editor/update-image-editor-job-title.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/find-image-recognition-job-by-uuid.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/find-image-recognition-jobs.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/image-recognition.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/retry-image-recognition-job.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/set-reaction-to-image-recognition-job.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/update-image-recognition-job-favorite.command.d.ts +2 -0
- package/build/commands/tools/image-recognition/update-image-recognition-job-title.command.d.ts +2 -0
- package/build/commands/tools/index.d.ts +1 -0
- package/build/commands/tools/index.js +1 -0
- package/build/commands/tools/interior-design/find-interior-design-job-by-uuid.command.d.ts +2 -0
- package/build/commands/tools/interior-design/find-interior-design-jobs.command.d.ts +2 -0
- package/build/commands/tools/interior-design/retry-interior-design-job.command.d.ts +2 -0
- package/build/commands/tools/interior-design/set-reaction-to-interior-design-job.command.d.ts +2 -0
- package/build/commands/tools/interior-design/update-interior-design-job-favorite.command.d.ts +2 -0
- package/build/commands/tools/interior-design/update-interior-design-job-title.command.d.ts +2 -0
- package/build/commands/tools/photo-session/admin/create-photo-session-style.command.d.ts +39 -0
- package/build/commands/tools/photo-session/admin/create-photo-session-style.command.js +22 -0
- package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.d.ts +9 -0
- package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.js +11 -0
- package/build/commands/tools/photo-session/admin/index.d.ts +4 -0
- package/build/commands/tools/photo-session/admin/index.js +20 -0
- package/build/commands/tools/photo-session/admin/list-photo-session-styles.command.d.ts +8 -0
- package/build/commands/tools/photo-session/admin/list-photo-session-styles.command.js +11 -0
- package/build/commands/tools/photo-session/admin/update-photo-session-style.command.d.ts +38 -0
- package/build/commands/tools/photo-session/admin/update-photo-session-style.command.js +21 -0
- package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.d.ts +5 -0
- package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.js +8 -0
- package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.d.ts +9 -0
- package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.js +11 -0
- package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.d.ts +122 -0
- package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.js +14 -0
- package/build/commands/tools/photo-session/find-photo-session-jobs.command.d.ts +131 -0
- package/build/commands/tools/photo-session/find-photo-session-jobs.command.js +24 -0
- package/build/commands/tools/photo-session/get-photo-session-config.command.d.ts +76 -0
- package/build/commands/tools/photo-session/get-photo-session-config.command.js +11 -0
- package/build/commands/tools/photo-session/get-photo-session-price.command.d.ts +73 -0
- package/build/commands/tools/photo-session/get-photo-session-price.command.js +26 -0
- package/build/commands/tools/photo-session/get-photo-session-styles.command.d.ts +23 -0
- package/build/commands/tools/photo-session/get-photo-session-styles.command.js +11 -0
- package/build/commands/tools/photo-session/index.d.ts +14 -0
- package/build/commands/tools/photo-session/index.js +30 -0
- package/build/commands/tools/photo-session/photo-session.command.d.ts +143 -0
- package/build/commands/tools/photo-session/photo-session.command.js +26 -0
- package/build/commands/tools/photo-session/retry-photo-session-job.command.d.ts +129 -0
- package/build/commands/tools/photo-session/retry-photo-session-job.command.js +29 -0
- package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.d.ts +109 -0
- package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.js +28 -0
- package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.d.ts +107 -0
- package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.js +17 -0
- package/build/commands/tools/photo-session/update-photo-session-job-title.command.d.ts +126 -0
- package/build/commands/tools/photo-session/update-photo-session-job-title.command.js +17 -0
- package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.d.ts +108 -0
- package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.js +23 -0
- package/build/commands/tools/solving-edu-task/find-solving-edu-task-job-by-uuid.command.d.ts +2 -0
- package/build/commands/tools/solving-edu-task/find-solving-edu-task-jobs.command.d.ts +2 -0
- package/build/commands/tools/solving-edu-task/retry-solving-edu-task-job.command.d.ts +2 -0
- package/build/commands/tools/solving-edu-task/set-reaction-to-solving-edu-task-job.command.d.ts +2 -0
- package/build/commands/tools/solving-edu-task/solving-edu-task.command.d.ts +2 -0
- package/build/commands/tools/solving-edu-task/update-solving-edu-task-job-favorite.command.d.ts +2 -0
- package/build/commands/tools/solving-edu-task/update-solving-edu-task-job-title.command.d.ts +2 -0
- package/build/commands/tools/tool/find-grouped-tools.command.d.ts +0 -1
- package/build/commands/tools/tts/create-voice-clone.command.d.ts +44 -0
- package/build/commands/tools/tts/create-voice-clone.command.js +18 -0
- package/build/commands/tools/tts/create-voice-design.command.d.ts +24 -0
- package/build/commands/tools/tts/create-voice-design.command.js +18 -0
- package/build/commands/tools/tts/delete-voice.command.d.ts +9 -0
- package/build/commands/tools/tts/delete-voice.command.js +11 -0
- package/build/commands/tools/tts/download-tts-job.command.d.ts +18 -0
- package/build/commands/tools/tts/download-tts-job.command.js +17 -0
- package/build/commands/tools/tts/find-tts-job-by-uuid.command.d.ts +13 -1
- package/build/commands/tools/tts/find-tts-jobs.command.d.ts +13 -1
- package/build/commands/tools/tts/find-voice-by-uuid.query.d.ts +40 -0
- package/build/commands/tools/tts/find-voice-by-uuid.query.js +14 -0
- package/build/commands/tools/tts/find-voices.query.d.ts +48 -0
- package/build/commands/tools/tts/find-voices.query.js +18 -0
- package/build/commands/tools/tts/get-tts-tool-config.command.d.ts +11 -0
- package/build/commands/tools/tts/improve-tts-text.command.d.ts +13 -0
- package/build/commands/tools/tts/improve-tts-text.command.js +13 -0
- package/build/commands/tools/tts/index.d.ts +9 -0
- package/build/commands/tools/tts/index.js +9 -0
- package/build/commands/tools/tts/retry-tts-job.command.d.ts +13 -1
- package/build/commands/tools/tts/select-voice-design.command.d.ts +44 -0
- package/build/commands/tools/tts/select-voice-design.command.js +17 -0
- package/build/commands/tools/tts/set-reaction-to-tts-job.command.d.ts +13 -1
- package/build/commands/tools/tts/tts.command.d.ts +6 -1
- package/build/commands/tools/tts/tts.command.js +7 -1
- package/build/commands/tools/tts/update-tts-job-favorite.command.d.ts +13 -1
- package/build/commands/tools/tts/update-tts-job-title.command.d.ts +13 -1
- package/build/commands/tools/tts/update-voice.command.d.ts +45 -0
- package/build/commands/tools/tts/update-voice.command.js +18 -0
- package/build/commands/user/get-user-products.command.d.ts +0 -38
- package/build/commands/user/get-user-subscriptions.command.d.ts +0 -38
- package/build/commands/user-to-subscription/get-user-to-subscriptions.command.d.ts +0 -38
- package/build/constants/avatar-studio/enums/avatar-studio-job-type.enum.d.ts +1 -0
- package/build/constants/avatar-studio/enums/avatar-studio-job-type.enum.js +1 -0
- package/build/constants/avatar-studio/enums/avatar-studio-media-kind.enum.d.ts +1 -2
- package/build/constants/avatar-studio/enums/avatar-studio-media-kind.enum.js +0 -1
- package/build/constants/avatar-studio/enums/avatar-studio-slot.enum.d.ts +1 -1
- package/build/constants/avatar-studio/enums/avatar-studio-slot.enum.js +1 -1
- package/build/constants/index.d.ts +2 -0
- package/build/constants/index.js +2 -0
- package/build/constants/tool/enums/index.d.ts +1 -0
- package/build/constants/tool/enums/index.js +1 -0
- package/build/constants/tool/enums/job-scope.enum.d.ts +5 -0
- package/build/constants/tool/enums/job-scope.enum.js +9 -0
- package/build/constants/tool-photo-session/enums/index.d.ts +4 -0
- package/build/constants/tool-photo-session/enums/index.js +20 -0
- package/build/constants/tool-photo-session/enums/photo-session-group-status.enum.d.ts +7 -0
- package/build/constants/tool-photo-session/enums/photo-session-group-status.enum.js +11 -0
- package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.d.ts +5 -0
- package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.js +9 -0
- package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.d.ts +3 -0
- package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.js +7 -0
- package/build/constants/tool-photo-session/enums/photo-session-strategy.enum.d.ts +4 -0
- package/build/constants/tool-photo-session/enums/photo-session-strategy.enum.js +8 -0
- package/build/constants/tool-photo-session/index.d.ts +1 -0
- package/build/constants/tool-photo-session/index.js +17 -0
- package/build/constants/tool-tts/enums/index.d.ts +7 -0
- package/build/constants/tool-tts/enums/index.js +23 -0
- package/build/constants/tool-tts/enums/tts-download-format.enum.d.ts +5 -0
- package/build/constants/tool-tts/enums/tts-download-format.enum.js +9 -0
- package/build/constants/tool-tts/enums/voice-category.enum.d.ts +19 -0
- package/build/constants/tool-tts/enums/voice-category.enum.js +23 -0
- package/build/constants/tool-tts/enums/voice-gender.enum.d.ts +4 -0
- package/build/constants/tool-tts/enums/voice-gender.enum.js +8 -0
- package/build/constants/tool-tts/enums/voice-source.enum.d.ts +5 -0
- package/build/constants/tool-tts/enums/voice-source.enum.js +9 -0
- package/build/constants/tool-tts/enums/voice-status.enum.d.ts +5 -0
- package/build/constants/tool-tts/enums/voice-status.enum.js +9 -0
- package/build/constants/tool-tts/enums/voice-tag-group.enum.d.ts +5 -0
- package/build/constants/tool-tts/enums/voice-tag-group.enum.js +9 -0
- package/build/constants/tool-tts/enums/voice-tag.enum.d.ts +20 -0
- package/build/constants/tool-tts/enums/voice-tag.enum.js +24 -0
- package/build/constants/tool-tts/index.d.ts +1 -0
- package/build/constants/tool-tts/index.js +17 -0
- package/build/helpers/index.d.ts +1 -0
- package/build/helpers/index.js +1 -0
- package/build/helpers/photo-session/calculate-photo-session-price.helper.d.ts +6 -0
- package/build/helpers/photo-session/calculate-photo-session-price.helper.js +13 -0
- package/build/helpers/photo-session/index.d.ts +1 -0
- package/build/helpers/photo-session/index.js +17 -0
- package/build/models/avatar-studio/avatar-studio.schema.d.ts +6 -6
- package/build/models/avatar-studio/avatar-studio.schema.js +3 -3
- package/build/models/canvas-node-definition.schema.d.ts +33 -0
- package/build/models/product.schema.d.ts +0 -38
- package/build/models/subscription-feature.schema.d.ts +0 -77
- package/build/models/subscription-feature.schema.js +0 -1
- package/build/models/subscription-upgrade-schema.d.ts +0 -38
- package/build/models/subscription.schema.d.ts +0 -190
- package/build/models/team-account/team-to-product.schema.d.ts +0 -38
- package/build/models/team-account/team-to-subscription.schema.d.ts +0 -38
- package/build/models/tool-group.schema.d.ts +0 -1
- package/build/models/tool-group.schema.js +0 -1
- package/build/models/tools/common/attached-tool-file.schema.d.ts +2 -0
- package/build/models/tools/common/attached-tool-file.schema.js +2 -0
- package/build/models/tools/html-page-builder/html-page-builder-job.schema.d.ts +4 -0
- package/build/models/tools/html-page-builder/html-page-builder-session.schema.d.ts +2 -0
- package/build/models/tools/image-editor/image-editor-job.schema.d.ts +4 -0
- package/build/models/tools/image-recognition/image-recognition-job.schema.d.ts +4 -0
- package/build/models/tools/index.d.ts +1 -0
- package/build/models/tools/index.js +1 -0
- package/build/models/tools/interior-design/interior-design-job.schema.d.ts +4 -0
- package/build/models/tools/photo-session/index.d.ts +5 -0
- package/build/models/tools/photo-session/index.js +21 -0
- package/build/models/tools/photo-session/photo-session-config.schema.d.ts +143 -0
- package/build/models/tools/photo-session/photo-session-config.schema.js +21 -0
- package/build/models/tools/photo-session/photo-session-group.schema.d.ts +115 -0
- package/build/models/tools/photo-session/photo-session-group.schema.js +26 -0
- package/build/models/tools/photo-session/photo-session-job.schema.d.ts +168 -0
- package/build/models/tools/photo-session/photo-session-job.schema.js +51 -0
- package/build/models/tools/photo-session/photo-session-model.schema.d.ts +116 -0
- package/build/models/tools/photo-session/photo-session-model.schema.js +47 -0
- package/build/models/tools/photo-session/photo-session-style.schema.d.ts +29 -0
- package/build/models/tools/photo-session/photo-session-style.schema.js +22 -0
- package/build/models/tools/solving-edu-task/solving-edu-task-job.schema.d.ts +4 -0
- package/build/models/tools/tts/index.d.ts +3 -0
- package/build/models/tools/tts/index.js +3 -0
- package/build/models/tools/tts/tts-config.schema.d.ts +23 -0
- package/build/models/tools/tts/tts-config.schema.js +14 -1
- package/build/models/tools/tts/tts-job.schema.d.ts +26 -1
- package/build/models/tools/tts/tts-job.schema.js +16 -2
- package/build/models/tools/tts/tts-model.schema.d.ts +1 -0
- package/build/models/tools/tts/tts-model.schema.js +1 -0
- package/build/models/tools/tts/voice-design-draft.schema.d.ts +13 -0
- package/build/models/tools/tts/voice-design-draft.schema.js +13 -0
- package/build/models/tools/tts/voice-design-sample.schema.d.ts +6 -0
- package/build/models/tools/tts/voice-design-sample.schema.js +8 -0
- package/build/models/tools/tts/voice.schema.d.ts +33 -0
- package/build/models/tools/tts/voice.schema.js +37 -0
- package/build/models/user-to-product.schema.d.ts +0 -38
- package/build/models/user-to-subscription.schema.d.ts +0 -114
- package/package.json +1 -1
- package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-sample-to-all-scenes.command.js +0 -15
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VOICE_TAG_GROUP = void 0;
|
|
4
|
+
var VOICE_TAG_GROUP;
|
|
5
|
+
(function (VOICE_TAG_GROUP) {
|
|
6
|
+
VOICE_TAG_GROUP["EMOTION"] = "EMOTION";
|
|
7
|
+
VOICE_TAG_GROUP["DELIVERY"] = "DELIVERY";
|
|
8
|
+
VOICE_TAG_GROUP["SOUND"] = "SOUND";
|
|
9
|
+
})(VOICE_TAG_GROUP || (exports.VOICE_TAG_GROUP = VOICE_TAG_GROUP = {}));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare enum VOICE_TAG {
|
|
2
|
+
JOYFUL = "JOYFUL",
|
|
3
|
+
SAD = "SAD",
|
|
4
|
+
ANGRY = "ANGRY",
|
|
5
|
+
SURPRISED = "SURPRISED",
|
|
6
|
+
TENDER = "TENDER",
|
|
7
|
+
IRONIC = "IRONIC",
|
|
8
|
+
CONVERSATIONAL = "CONVERSATIONAL",
|
|
9
|
+
PROFESSIONAL = "PROFESSIONAL",
|
|
10
|
+
WHISPER = "WHISPER",
|
|
11
|
+
LOUDER = "LOUDER",
|
|
12
|
+
QUIETER = "QUIETER",
|
|
13
|
+
FASTER = "FASTER",
|
|
14
|
+
PAUSE = "PAUSE",
|
|
15
|
+
SHORT_PAUSE = "SHORT_PAUSE",
|
|
16
|
+
LAUGH = "LAUGH",
|
|
17
|
+
SIGH = "SIGH",
|
|
18
|
+
COUGH = "COUGH",
|
|
19
|
+
BREATH = "BREATH"
|
|
20
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VOICE_TAG = void 0;
|
|
4
|
+
var VOICE_TAG;
|
|
5
|
+
(function (VOICE_TAG) {
|
|
6
|
+
VOICE_TAG["JOYFUL"] = "JOYFUL";
|
|
7
|
+
VOICE_TAG["SAD"] = "SAD";
|
|
8
|
+
VOICE_TAG["ANGRY"] = "ANGRY";
|
|
9
|
+
VOICE_TAG["SURPRISED"] = "SURPRISED";
|
|
10
|
+
VOICE_TAG["TENDER"] = "TENDER";
|
|
11
|
+
VOICE_TAG["IRONIC"] = "IRONIC";
|
|
12
|
+
VOICE_TAG["CONVERSATIONAL"] = "CONVERSATIONAL";
|
|
13
|
+
VOICE_TAG["PROFESSIONAL"] = "PROFESSIONAL";
|
|
14
|
+
VOICE_TAG["WHISPER"] = "WHISPER";
|
|
15
|
+
VOICE_TAG["LOUDER"] = "LOUDER";
|
|
16
|
+
VOICE_TAG["QUIETER"] = "QUIETER";
|
|
17
|
+
VOICE_TAG["FASTER"] = "FASTER";
|
|
18
|
+
VOICE_TAG["PAUSE"] = "PAUSE";
|
|
19
|
+
VOICE_TAG["SHORT_PAUSE"] = "SHORT_PAUSE";
|
|
20
|
+
VOICE_TAG["LAUGH"] = "LAUGH";
|
|
21
|
+
VOICE_TAG["SIGH"] = "SIGH";
|
|
22
|
+
VOICE_TAG["COUGH"] = "COUGH";
|
|
23
|
+
VOICE_TAG["BREATH"] = "BREATH";
|
|
24
|
+
})(VOICE_TAG || (exports.VOICE_TAG = VOICE_TAG = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './enums';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./enums"), exports);
|
package/build/helpers/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './video-editor';
|
|
|
8
8
|
export * from './writer';
|
|
9
9
|
export * from './image-editor';
|
|
10
10
|
export * from './image-generation';
|
|
11
|
+
export * from './photo-session';
|
|
11
12
|
export * from './music';
|
|
12
13
|
export * from './interior-design';
|
|
13
14
|
export * from './query-boolean.schema';
|
package/build/helpers/index.js
CHANGED
|
@@ -24,6 +24,7 @@ __exportStar(require("./video-editor"), exports);
|
|
|
24
24
|
__exportStar(require("./writer"), exports);
|
|
25
25
|
__exportStar(require("./image-editor"), exports);
|
|
26
26
|
__exportStar(require("./image-generation"), exports);
|
|
27
|
+
__exportStar(require("./photo-session"), exports);
|
|
27
28
|
__exportStar(require("./music"), exports);
|
|
28
29
|
__exportStar(require("./interior-design"), exports);
|
|
29
30
|
__exportStar(require("./query-boolean.schema"), exports);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PhotoSessionModelPricingRules } from '../../models';
|
|
2
|
+
export declare function calculatePhotoSessionPrice({ basePrice, userHasActiveSubscriptionOrProduct, rules, }: {
|
|
3
|
+
basePrice: number;
|
|
4
|
+
userHasActiveSubscriptionOrProduct: boolean;
|
|
5
|
+
rules: PhotoSessionModelPricingRules;
|
|
6
|
+
}): number;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.calculatePhotoSessionPrice = calculatePhotoSessionPrice;
|
|
4
|
+
function calculatePhotoSessionPrice({ basePrice, userHasActiveSubscriptionOrProduct, rules, }) {
|
|
5
|
+
let price = basePrice;
|
|
6
|
+
for (const rule of rules !== null && rules !== void 0 ? rules : []) {
|
|
7
|
+
const condition = rule.condition;
|
|
8
|
+
if (condition.withoutSub && userHasActiveSubscriptionOrProduct === false) {
|
|
9
|
+
price += rule.value;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
return price;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './calculate-photo-session-price.helper';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./calculate-photo-session-price.helper"), exports);
|
|
@@ -69,20 +69,20 @@ export declare const validateAvatarStudioTrim: ({ trimStart, trimEnd }: {
|
|
|
69
69
|
trimEnd?: number | null;
|
|
70
70
|
}, ctx: z.RefinementCtx) => void;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
73
|
-
*
|
|
72
|
+
* Голос — вход генерации наравне с текстом, поэтому лежит здесь, а не колонкой сцены:
|
|
73
|
+
* колонки сцены хранят результаты в слотах, конфиги — то, из чего их делают.
|
|
74
74
|
*/
|
|
75
75
|
export declare const AvatarStudioSceneVoiceConfigBaseSchema: z.ZodObject<{
|
|
76
76
|
trimStart: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
77
77
|
trimEnd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
78
78
|
text: z.ZodDefault<z.ZodString>;
|
|
79
|
-
|
|
79
|
+
voiceId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
80
80
|
}, z.core.$strip>;
|
|
81
81
|
export declare const AvatarStudioSceneVoiceConfigSchema: z.ZodObject<{
|
|
82
82
|
trimStart: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
83
83
|
trimEnd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
84
84
|
text: z.ZodDefault<z.ZodString>;
|
|
85
|
-
|
|
85
|
+
voiceId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
86
86
|
}, z.core.$strip>;
|
|
87
87
|
export type AvatarStudioSceneVoiceConfig = z.infer<typeof AvatarStudioSceneVoiceConfigSchema>;
|
|
88
88
|
/**
|
|
@@ -150,7 +150,7 @@ export declare const AvatarStudioSceneSchema: z.ZodObject<{
|
|
|
150
150
|
trimStart: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
151
151
|
trimEnd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
152
152
|
text: z.ZodDefault<z.ZodString>;
|
|
153
|
-
|
|
153
|
+
voiceId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
154
154
|
}, z.core.$strip>;
|
|
155
155
|
imageConfig: z.ZodObject<{
|
|
156
156
|
prompt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -547,7 +547,7 @@ export declare const AvatarStudioClipSchema: z.ZodObject<{
|
|
|
547
547
|
trimStart: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
548
548
|
trimEnd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
549
549
|
text: z.ZodDefault<z.ZodString>;
|
|
550
|
-
|
|
550
|
+
voiceId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
551
551
|
}, z.core.$strip>;
|
|
552
552
|
imageConfig: z.ZodObject<{
|
|
553
553
|
prompt: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -62,10 +62,10 @@ const validateAvatarStudioTrim = ({ trimStart, trimEnd }, ctx) => {
|
|
|
62
62
|
};
|
|
63
63
|
exports.validateAvatarStudioTrim = validateAvatarStudioTrim;
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
66
|
-
*
|
|
65
|
+
* Голос — вход генерации наравне с текстом, поэтому лежит здесь, а не колонкой сцены:
|
|
66
|
+
* колонки сцены хранят результаты в слотах, конфиги — то, из чего их делают.
|
|
67
67
|
*/
|
|
68
|
-
exports.AvatarStudioSceneVoiceConfigBaseSchema = zod_1.z.object(Object.assign({ text: zod_1.z.string().default(''),
|
|
68
|
+
exports.AvatarStudioSceneVoiceConfigBaseSchema = zod_1.z.object(Object.assign({ text: zod_1.z.string().default(''), voiceId: zod_1.z.string().uuid().nullable().default(null) }, exports.AvatarStudioTrimConfigFields));
|
|
69
69
|
exports.AvatarStudioSceneVoiceConfigSchema = exports.AvatarStudioSceneVoiceConfigBaseSchema.superRefine(exports.validateAvatarStudioTrim);
|
|
70
70
|
/**
|
|
71
71
|
* Референсы — вход генерации кадра, наравне с prompt и style, поэтому лежат здесь,
|
|
@@ -349,6 +349,7 @@ export declare const CanvasNodeDefinitionToolConfigSchema: z.ZodDiscriminatedUni
|
|
|
349
349
|
}, z.core.$strip>;
|
|
350
350
|
}, z.core.$strip>;
|
|
351
351
|
maxInputLength: z.ZodNumber;
|
|
352
|
+
maxSpeakers: z.ZodNumber;
|
|
352
353
|
params: z.ZodObject<{
|
|
353
354
|
speed: z.ZodOptional<z.ZodObject<{
|
|
354
355
|
title: z.ZodString;
|
|
@@ -452,6 +453,16 @@ export declare const CanvasNodeDefinitionToolConfigSchema: z.ZodDiscriminatedUni
|
|
|
452
453
|
canUse: z.ZodBoolean;
|
|
453
454
|
status: z.ZodString;
|
|
454
455
|
}, z.core.$strip>>;
|
|
456
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
457
|
+
id: z.ZodEnum<typeof import("..").VOICE_TAG>;
|
|
458
|
+
group: z.ZodEnum<typeof import("..").VOICE_TAG_GROUP>;
|
|
459
|
+
label: z.ZodString;
|
|
460
|
+
}, z.core.$strip>>;
|
|
461
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
462
|
+
id: z.ZodEnum<typeof import("..").VOICE_CATEGORY>;
|
|
463
|
+
label: z.ZodString;
|
|
464
|
+
}, z.core.$strip>>;
|
|
465
|
+
speakerMarkerLabel: z.ZodString;
|
|
455
466
|
}, z.core.$strip>;
|
|
456
467
|
}, z.core.$strip>, z.ZodObject<{
|
|
457
468
|
nodeType: z.ZodLiteral<CANVAS_NODE_TYPE.sttGen>;
|
|
@@ -1079,6 +1090,7 @@ export declare const CanvasNodeDefinitionWithConfigSchema: z.ZodObject<{
|
|
|
1079
1090
|
}, z.core.$strip>;
|
|
1080
1091
|
}, z.core.$strip>;
|
|
1081
1092
|
maxInputLength: z.ZodNumber;
|
|
1093
|
+
maxSpeakers: z.ZodNumber;
|
|
1082
1094
|
params: z.ZodObject<{
|
|
1083
1095
|
speed: z.ZodOptional<z.ZodObject<{
|
|
1084
1096
|
title: z.ZodString;
|
|
@@ -1182,6 +1194,16 @@ export declare const CanvasNodeDefinitionWithConfigSchema: z.ZodObject<{
|
|
|
1182
1194
|
canUse: z.ZodBoolean;
|
|
1183
1195
|
status: z.ZodString;
|
|
1184
1196
|
}, z.core.$strip>>;
|
|
1197
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
1198
|
+
id: z.ZodEnum<typeof import("..").VOICE_TAG>;
|
|
1199
|
+
group: z.ZodEnum<typeof import("..").VOICE_TAG_GROUP>;
|
|
1200
|
+
label: z.ZodString;
|
|
1201
|
+
}, z.core.$strip>>;
|
|
1202
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
1203
|
+
id: z.ZodEnum<typeof import("..").VOICE_CATEGORY>;
|
|
1204
|
+
label: z.ZodString;
|
|
1205
|
+
}, z.core.$strip>>;
|
|
1206
|
+
speakerMarkerLabel: z.ZodString;
|
|
1185
1207
|
}, z.core.$strip>;
|
|
1186
1208
|
}, z.core.$strip>, z.ZodObject<{
|
|
1187
1209
|
nodeType: z.ZodLiteral<CANVAS_NODE_TYPE.sttGen>;
|
|
@@ -1767,6 +1789,7 @@ export declare const CanvasNodeDefinitionsWithConfigsSchema: z.ZodRecord<z.ZodEn
|
|
|
1767
1789
|
}, z.core.$strip>;
|
|
1768
1790
|
}, z.core.$strip>;
|
|
1769
1791
|
maxInputLength: z.ZodNumber;
|
|
1792
|
+
maxSpeakers: z.ZodNumber;
|
|
1770
1793
|
params: z.ZodObject<{
|
|
1771
1794
|
speed: z.ZodOptional<z.ZodObject<{
|
|
1772
1795
|
title: z.ZodString;
|
|
@@ -1870,6 +1893,16 @@ export declare const CanvasNodeDefinitionsWithConfigsSchema: z.ZodRecord<z.ZodEn
|
|
|
1870
1893
|
canUse: z.ZodBoolean;
|
|
1871
1894
|
status: z.ZodString;
|
|
1872
1895
|
}, z.core.$strip>>;
|
|
1896
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
1897
|
+
id: z.ZodEnum<typeof import("..").VOICE_TAG>;
|
|
1898
|
+
group: z.ZodEnum<typeof import("..").VOICE_TAG_GROUP>;
|
|
1899
|
+
label: z.ZodString;
|
|
1900
|
+
}, z.core.$strip>>;
|
|
1901
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
1902
|
+
id: z.ZodEnum<typeof import("..").VOICE_CATEGORY>;
|
|
1903
|
+
label: z.ZodString;
|
|
1904
|
+
}, z.core.$strip>>;
|
|
1905
|
+
speakerMarkerLabel: z.ZodString;
|
|
1873
1906
|
}, z.core.$strip>;
|
|
1874
1907
|
}, z.core.$strip>, z.ZodObject<{
|
|
1875
1908
|
nodeType: z.ZodLiteral<CANVAS_NODE_TYPE.sttGen>;
|
|
@@ -25,7 +25,6 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
25
25
|
}, z.core.$strip>;
|
|
26
26
|
features: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
27
27
|
title: z.ZodString;
|
|
28
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
29
28
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.AI_MODEL_ACCESS>;
|
|
30
29
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.AI_MODEL>;
|
|
31
30
|
order: z.ZodNumber;
|
|
@@ -34,90 +33,76 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
34
33
|
maxInputLength: z.ZodNumber;
|
|
35
34
|
}, z.core.$strip>, z.ZodObject<{
|
|
36
35
|
title: z.ZodString;
|
|
37
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
38
36
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.TEXT_GENERATION_QUOTA>;
|
|
39
37
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.TEXT>;
|
|
40
38
|
value: z.ZodNumber;
|
|
41
39
|
tooltip: z.ZodNullable<z.ZodString>;
|
|
42
40
|
}, z.core.$strip>, z.ZodObject<{
|
|
43
41
|
title: z.ZodString;
|
|
44
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
45
42
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.MAX_INPUT_LENGTH>;
|
|
46
43
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.TEXT>;
|
|
47
44
|
tooltip: z.ZodString;
|
|
48
45
|
value: z.ZodNumber;
|
|
49
46
|
}, z.core.$strip>, z.ZodObject<{
|
|
50
47
|
title: z.ZodString;
|
|
51
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
52
48
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.TEXT>;
|
|
53
49
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.WEB_SEARCH>;
|
|
54
50
|
isAvailable: z.ZodBoolean;
|
|
55
51
|
}, z.core.$strip>, z.ZodObject<{
|
|
56
52
|
title: z.ZodString;
|
|
57
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
58
53
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.TEXT>;
|
|
59
54
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.ADVANCED_TOOLS_ACCESS>;
|
|
60
55
|
isAvailable: z.ZodBoolean;
|
|
61
56
|
}, z.core.$strip>, z.ZodObject<{
|
|
62
57
|
title: z.ZodString;
|
|
63
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
64
58
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.TTS>;
|
|
65
59
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.TTS_MODEL_ACCESS>;
|
|
66
60
|
isAvailable: z.ZodBoolean;
|
|
67
61
|
modelId: z.ZodString;
|
|
68
62
|
}, z.core.$strip>, z.ZodObject<{
|
|
69
63
|
title: z.ZodString;
|
|
70
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
71
64
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.IMAGE_GENERATION>;
|
|
72
65
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_GENERATION_QUOTA>;
|
|
73
66
|
value: z.ZodNumber;
|
|
74
67
|
}, z.core.$strip>, z.ZodObject<{
|
|
75
68
|
title: z.ZodString;
|
|
76
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
77
69
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.TTS>;
|
|
78
70
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.TTS_QUOTA>;
|
|
79
71
|
value: z.ZodNumber;
|
|
80
72
|
}, z.core.$strip>, z.ZodObject<{
|
|
81
73
|
title: z.ZodString;
|
|
82
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
83
74
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.STT>;
|
|
84
75
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.STT_MODEL_ACCESS>;
|
|
85
76
|
isAvailable: z.ZodBoolean;
|
|
86
77
|
modelId: z.ZodString;
|
|
87
78
|
}, z.core.$strip>, z.ZodObject<{
|
|
88
79
|
title: z.ZodString;
|
|
89
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
90
80
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.STT>;
|
|
91
81
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.STT_QUOTA>;
|
|
92
82
|
value: z.ZodNumber;
|
|
93
83
|
}, z.core.$strip>, z.ZodObject<{
|
|
94
84
|
title: z.ZodString;
|
|
95
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
96
85
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.VIDEO>;
|
|
97
86
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.VIDEO_QUOTA>;
|
|
98
87
|
value: z.ZodNumber;
|
|
99
88
|
}, z.core.$strip>, z.ZodObject<{
|
|
100
89
|
title: z.ZodString;
|
|
101
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
102
90
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.VIDEO>;
|
|
103
91
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.VIDEO_MODEL_ACCESS>;
|
|
104
92
|
isAvailable: z.ZodBoolean;
|
|
105
93
|
modelId: z.ZodString;
|
|
106
94
|
}, z.core.$strip>, z.ZodObject<{
|
|
107
95
|
title: z.ZodString;
|
|
108
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
109
96
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.EXTENDED_CONTEXT>;
|
|
110
97
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.TEXT>;
|
|
111
98
|
isAvailable: z.ZodBoolean;
|
|
112
99
|
}, z.core.$strip>, z.ZodObject<{
|
|
113
100
|
title: z.ZodString;
|
|
114
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
115
101
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.PRESENTATION>;
|
|
116
102
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.PRESENTATION_QUOTA>;
|
|
117
103
|
value: z.ZodNumber;
|
|
118
104
|
}, z.core.$strip>, z.ZodObject<{
|
|
119
105
|
title: z.ZodString;
|
|
120
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
121
106
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.BASE>;
|
|
122
107
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.TOKENS>;
|
|
123
108
|
tokens: z.ZodNumber;
|
|
@@ -133,7 +118,6 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
133
118
|
}, z.core.$strip>;
|
|
134
119
|
}, z.core.$strip>, z.ZodObject<{
|
|
135
120
|
title: z.ZodString;
|
|
136
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
137
121
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.BASE>;
|
|
138
122
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.CARRYOVER_BALANCE>;
|
|
139
123
|
isAvailable: z.ZodBoolean;
|
|
@@ -150,59 +134,50 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
150
134
|
}, z.core.$strip>;
|
|
151
135
|
}, z.core.$strip>, z.ZodObject<{
|
|
152
136
|
title: z.ZodString;
|
|
153
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
154
137
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.MUSIC>;
|
|
155
138
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.MUSIC_QUOTA>;
|
|
156
139
|
value: z.ZodNumber;
|
|
157
140
|
}, z.core.$strip>, z.ZodObject<{
|
|
158
141
|
title: z.ZodString;
|
|
159
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
160
142
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.MUSIC>;
|
|
161
143
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.MUSIC_MODEL_ACCESS>;
|
|
162
144
|
isAvailable: z.ZodBoolean;
|
|
163
145
|
modelId: z.ZodString;
|
|
164
146
|
}, z.core.$strip>, z.ZodObject<{
|
|
165
147
|
title: z.ZodString;
|
|
166
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
167
148
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.WRITER>;
|
|
168
149
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.WRITER_QUOTA>;
|
|
169
150
|
value: z.ZodNumber;
|
|
170
151
|
}, z.core.$strip>, z.ZodObject<{
|
|
171
152
|
title: z.ZodString;
|
|
172
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
173
153
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.WRITER>;
|
|
174
154
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.WRITER_MODEL_ACCESS>;
|
|
175
155
|
isAvailable: z.ZodBoolean;
|
|
176
156
|
modelId: z.ZodString;
|
|
177
157
|
}, z.core.$strip>, z.ZodObject<{
|
|
178
158
|
title: z.ZodString;
|
|
179
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
180
159
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.IMAGE_EDITOR>;
|
|
181
160
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_EDITOR_QUOTA>;
|
|
182
161
|
value: z.ZodNumber;
|
|
183
162
|
}, z.core.$strip>, z.ZodObject<{
|
|
184
163
|
title: z.ZodString;
|
|
185
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
186
164
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.IMAGE_EDITOR>;
|
|
187
165
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_EDITOR_MODEL_ACCESS>;
|
|
188
166
|
isAvailable: z.ZodBoolean;
|
|
189
167
|
modelId: z.ZodString;
|
|
190
168
|
}, z.core.$strip>, z.ZodObject<{
|
|
191
169
|
title: z.ZodString;
|
|
192
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
193
170
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.INTERIOR_DESIGN>;
|
|
194
171
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.INTERIOR_DESIGN_QUOTA>;
|
|
195
172
|
value: z.ZodNumber;
|
|
196
173
|
}, z.core.$strip>, z.ZodObject<{
|
|
197
174
|
title: z.ZodString;
|
|
198
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
199
175
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.INTERIOR_DESIGN>;
|
|
200
176
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.INTERIOR_DESIGN_MODEL_ACCESS>;
|
|
201
177
|
isAvailable: z.ZodBoolean;
|
|
202
178
|
modelId: z.ZodString;
|
|
203
179
|
}, z.core.$strip>, z.ZodObject<{
|
|
204
180
|
title: z.ZodString;
|
|
205
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
206
181
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_GENERATION_ACCESS>;
|
|
207
182
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.IMAGE_GENERATION>;
|
|
208
183
|
order: z.ZodNumber;
|
|
@@ -210,87 +185,74 @@ export declare const ProductSchema: z.ZodObject<{
|
|
|
210
185
|
isAvailable: z.ZodBoolean;
|
|
211
186
|
}, z.core.$strip>, z.ZodObject<{
|
|
212
187
|
title: z.ZodString;
|
|
213
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
214
188
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.SPELL_CORRECTOR>;
|
|
215
189
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.SPELL_CORRECTOR_QUOTA>;
|
|
216
190
|
value: z.ZodNumber;
|
|
217
191
|
}, z.core.$strip>, z.ZodObject<{
|
|
218
192
|
title: z.ZodString;
|
|
219
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
220
193
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.SPELL_CORRECTOR>;
|
|
221
194
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.SPELL_CORRECTOR_MODEL_ACCESS>;
|
|
222
195
|
isAvailable: z.ZodBoolean;
|
|
223
196
|
modelId: z.ZodString;
|
|
224
197
|
}, z.core.$strip>, z.ZodObject<{
|
|
225
198
|
title: z.ZodString;
|
|
226
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
227
199
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.PARAPHRASE>;
|
|
228
200
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.PARAPHRASE_TYPE_ACCESS>;
|
|
229
201
|
isAvailable: z.ZodBoolean;
|
|
230
202
|
modelId: z.ZodString;
|
|
231
203
|
}, z.core.$strip>, z.ZodObject<{
|
|
232
204
|
title: z.ZodString;
|
|
233
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
234
205
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.MARKETPLACE_CARD>;
|
|
235
206
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.MARKETPLACE_CARD_QUOTA>;
|
|
236
207
|
value: z.ZodNumber;
|
|
237
208
|
}, z.core.$strip>, z.ZodObject<{
|
|
238
209
|
title: z.ZodString;
|
|
239
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
240
210
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.MARKETPLACE_CARD>;
|
|
241
211
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.MARKETPLACE_CARD_MODEL_ACCESS>;
|
|
242
212
|
isAvailable: z.ZodBoolean;
|
|
243
213
|
modelId: z.ZodString;
|
|
244
214
|
}, z.core.$strip>, z.ZodObject<{
|
|
245
215
|
title: z.ZodString;
|
|
246
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
247
216
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.EDU_TASK>;
|
|
248
217
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.EDU_TASK_QUOTA>;
|
|
249
218
|
value: z.ZodNumber;
|
|
250
219
|
}, z.core.$strip>, z.ZodObject<{
|
|
251
220
|
title: z.ZodString;
|
|
252
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
253
221
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.EDU_TASK>;
|
|
254
222
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.EDU_TASK_MODEL_ACCESS>;
|
|
255
223
|
isAvailable: z.ZodBoolean;
|
|
256
224
|
modelId: z.ZodString;
|
|
257
225
|
}, z.core.$strip>, z.ZodObject<{
|
|
258
226
|
title: z.ZodString;
|
|
259
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
260
227
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.VIDEO_EDITOR>;
|
|
261
228
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.VIDEO_EDITOR_QUOTA>;
|
|
262
229
|
value: z.ZodNumber;
|
|
263
230
|
}, z.core.$strip>, z.ZodObject<{
|
|
264
231
|
title: z.ZodString;
|
|
265
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
266
232
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.VIDEO_EDITOR>;
|
|
267
233
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.VIDEO_EDITOR_MODEL_ACCESS>;
|
|
268
234
|
isAvailable: z.ZodBoolean;
|
|
269
235
|
modelId: z.ZodString;
|
|
270
236
|
}, z.core.$strip>, z.ZodObject<{
|
|
271
237
|
title: z.ZodString;
|
|
272
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
273
238
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.HTML_PAGE_BUILDER>;
|
|
274
239
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_MODEL_ACCESS>;
|
|
275
240
|
isAvailable: z.ZodBoolean;
|
|
276
241
|
modelId: z.ZodString;
|
|
277
242
|
}, z.core.$strip>, z.ZodObject<{
|
|
278
243
|
title: z.ZodString;
|
|
279
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
280
244
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.DIAGRAMS>;
|
|
281
245
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_MODEL_ACCESS>;
|
|
282
246
|
isAvailable: z.ZodBoolean;
|
|
283
247
|
modelId: z.ZodString;
|
|
284
248
|
}, z.core.$strip>, z.ZodObject<{
|
|
285
249
|
title: z.ZodString;
|
|
286
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
287
250
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION>;
|
|
288
251
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_MODEL_ACCESS>;
|
|
289
252
|
isAvailable: z.ZodBoolean;
|
|
290
253
|
modelId: z.ZodString;
|
|
291
254
|
}, z.core.$strip>, z.ZodObject<{
|
|
292
255
|
title: z.ZodString;
|
|
293
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
294
256
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION>;
|
|
295
257
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_QUOTA>;
|
|
296
258
|
value: z.ZodNumber;
|