@purpleschool/gptbot 0.14.63-stage2 → 0.15.57
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 +2 -5
- package/build/api/controllers/http/avatar-studio.js +4 -6
- package/build/api/controllers/http/index.d.ts +1 -1
- package/build/api/controllers/http/index.js +1 -1
- package/build/api/controllers/http/{photo-session.d.ts → sound-generation.d.ts} +3 -8
- package/build/api/controllers/http/sound-generation.js +17 -0
- package/build/api/controllers/http/tts.d.ts +0 -9
- package/build/api/controllers/http/tts.js +0 -9
- package/build/api/routes.d.ts +27 -48
- package/build/api/routes.js +27 -48
- package/build/commands/ai-model/create-ai-model.command.d.ts +6 -0
- package/build/commands/ai-model/find-ai-model.command.d.ts +6 -0
- package/build/commands/ai-model/find-ai-models-available-to-user.comand.d.ts +3 -0
- package/build/commands/ai-model/find-formatted-ai-model.command.d.ts +6 -0
- package/build/commands/ai-model/update-ai-model.command.d.ts +6 -0
- package/build/commands/ai-studio/canvas-node/find-canvas-node-definitions-with-configs.query.d.ts +3 -11
- package/build/commands/ai-studio/canvas-tool/text-gen/get-text-generation-config.command.d.ts +3 -0
- package/build/commands/ai-studio/canvas-tool/var-gen/get-var-gen-config.command.d.ts +3 -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 +2 -4
- package/build/commands/avatar-studio/generation-job/generate-avatar-studio-scene-voice.command.js +2 -4
- package/build/commands/avatar-studio/scene/{apply-avatar-studio-voice-to-all-scenes.command.d.ts → apply-avatar-studio-voice-sample-to-all-scenes.command.d.ts} +3 -3
- package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-sample-to-all-scenes.command.js +15 -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 +6 -5
- package/build/commands/avatar-studio/shared/get-avatar-studio-config.query.js +12 -7
- package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.d.ts +56 -26
- package/build/commands/avatar-studio/voice/design-avatar-studio-voice.command.js +7 -6
- package/build/commands/avatar-studio/voice/index.d.ts +0 -3
- package/build/commands/avatar-studio/voice/index.js +0 -3
- package/build/commands/b2b/get-b2b-documentation.command.d.ts +6 -0
- package/build/commands/page/find-page-by-alias.command.d.ts +6 -0
- package/build/commands/page/find-page.command.d.ts +3 -0
- package/build/commands/page/find-pages-by-criteria.command.d.ts +6 -0
- package/build/commands/payment/receipt.command.d.ts +3 -3
- package/build/commands/product/create-product.command.d.ts +76 -0
- package/build/commands/product/find-product.command.d.ts +76 -0
- package/build/commands/product/get-my-products.command.d.ts +38 -0
- package/build/commands/product/update-product.command.d.ts +76 -0
- package/build/commands/subscription/buy-subscription.command.d.ts +4 -4
- package/build/commands/subscription/buy-subscription.command.js +1 -1
- package/build/commands/subscription/create-subscription.command.d.ts +76 -0
- package/build/commands/subscription/find-subscription.command.d.ts +114 -0
- package/build/commands/subscription/get-available-upgrades.command.d.ts +76 -0
- package/build/commands/subscription/get-free-subscription.command.d.ts +38 -0
- package/build/commands/subscription/get-subscriptions-summary.command.d.ts +190 -0
- package/build/commands/subscription/update-subscription.command.d.ts +76 -0
- package/build/commands/subscription/upgrade-subscription.command.d.ts +3 -3
- package/build/commands/subscription/upgrade-subscription.command.js +1 -1
- package/build/commands/team-account/find-current-team-account-products-by-team-account-id.command.d.ts +38 -0
- package/build/commands/team-account/find-current-team-account-products.command.d.ts +38 -0
- package/build/commands/team-account/find-current-team-account-subscriptions-by-team-account-id.command.d.ts +38 -0
- package/build/commands/team-account/find-current-team-account-subscriptions.command.d.ts +38 -0
- package/build/commands/team-account/find-team-account-products.command.d.ts +38 -0
- package/build/commands/team-account/find-team-account-subscriptions.command.d.ts +76 -0
- package/build/commands/team-account/get-team-account-available-upgrades.command.d.ts +38 -0
- package/build/commands/team-to-product/get-team-to-products.command.d.ts +38 -0
- package/build/commands/team-to-subscription/get-team-to-subscriptions.command.d.ts +38 -0
- package/build/commands/tools/index.d.ts +1 -1
- package/build/commands/tools/index.js +1 -1
- package/build/commands/tools/{photo-session/delete-all-photo-session-jobs.command.d.ts → sound-generation/delete-all-sound-generation-jobs.command.d.ts} +1 -1
- package/build/commands/tools/sound-generation/delete-all-sound-generation-jobs.command.js +8 -0
- package/build/commands/tools/{tts/delete-voice.command.d.ts → sound-generation/delete-sound-generation-job-by-uuid.command.d.ts} +2 -2
- package/build/commands/tools/sound-generation/delete-sound-generation-job-by-uuid.command.js +11 -0
- package/build/commands/tools/sound-generation/find-sound-generation-job-by-uuid.command.d.ts +37 -0
- package/build/commands/tools/sound-generation/find-sound-generation-job-by-uuid.command.js +14 -0
- package/build/commands/tools/sound-generation/find-sound-generation-jobs.command.d.ts +46 -0
- package/build/commands/tools/sound-generation/find-sound-generation-jobs.command.js +24 -0
- package/build/commands/tools/sound-generation/get-sound-generation-tool-config.command.d.ts +43 -0
- package/build/commands/tools/sound-generation/get-sound-generation-tool-config.command.js +11 -0
- package/build/commands/tools/sound-generation/index.d.ts +10 -0
- package/build/commands/tools/{photo-session/admin → sound-generation}/index.js +10 -3
- package/build/commands/tools/sound-generation/retry-sound-generation-job.command.d.ts +48 -0
- package/build/commands/tools/sound-generation/retry-sound-generation-job.command.js +19 -0
- package/build/commands/tools/sound-generation/set-reaction-to-sound-generation-job.command.d.ts +43 -0
- package/build/commands/tools/sound-generation/set-reaction-to-sound-generation-job.command.js +23 -0
- package/build/commands/tools/sound-generation/sound-generation.command.d.ts +44 -0
- package/build/commands/tools/sound-generation/sound-generation.command.js +16 -0
- package/build/commands/tools/sound-generation/update-sound-generation-job-favorite.command.d.ts +41 -0
- package/build/commands/tools/sound-generation/update-sound-generation-job-favorite.command.js +17 -0
- package/build/commands/tools/sound-generation/update-sound-generation-job-title.command.d.ts +41 -0
- package/build/commands/tools/sound-generation/update-sound-generation-job-title.command.js +17 -0
- package/build/commands/tools/tool/find-grouped-tools.command.d.ts +1 -0
- package/build/commands/tools/tts/find-tts-job-by-uuid.command.d.ts +1 -13
- package/build/commands/tools/tts/find-tts-jobs.command.d.ts +1 -13
- package/build/commands/tools/tts/get-tts-tool-config.command.d.ts +0 -11
- package/build/commands/tools/tts/index.d.ts +0 -9
- package/build/commands/tools/tts/index.js +0 -9
- package/build/commands/tools/tts/retry-tts-job.command.d.ts +1 -13
- package/build/commands/tools/tts/set-reaction-to-tts-job.command.d.ts +1 -13
- package/build/commands/tools/tts/tts.command.d.ts +1 -6
- package/build/commands/tools/tts/tts.command.js +1 -7
- package/build/commands/tools/tts/update-tts-job-favorite.command.d.ts +1 -13
- package/build/commands/tools/tts/update-tts-job-title.command.d.ts +1 -13
- package/build/commands/user/get-user-products.command.d.ts +38 -0
- package/build/commands/user/get-user-subscriptions.command.d.ts +38 -0
- package/build/commands/user-to-subscription/get-user-to-subscriptions.command.d.ts +38 -0
- package/build/constants/ai-model/enums/ai-model-config-selector-type.enum.d.ts +2 -1
- package/build/constants/ai-model/enums/ai-model-config-selector-type.enum.js +1 -0
- package/build/constants/avatar-studio/enums/avatar-studio-job-type.enum.d.ts +0 -1
- package/build/constants/avatar-studio/enums/avatar-studio-job-type.enum.js +0 -1
- package/build/constants/avatar-studio/enums/avatar-studio-media-kind.enum.d.ts +2 -1
- package/build/constants/avatar-studio/enums/avatar-studio-media-kind.enum.js +1 -0
- 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/cabinet/enums/statistics-request-type.enum.d.ts +1 -0
- package/build/constants/cabinet/enums/statistics-request-type.enum.js +1 -0
- package/build/constants/cloud-payments/index.d.ts +5 -0
- package/build/constants/cloud-payments/index.js +7 -1
- package/build/constants/index.d.ts +0 -2
- package/build/constants/index.js +0 -2
- package/build/constants/tool/enums/index.d.ts +0 -1
- package/build/constants/tool/enums/index.js +0 -1
- package/build/helpers/index.d.ts +0 -1
- package/build/helpers/index.js +0 -1
- package/build/models/ai-model-config.schema.d.ts +7 -0
- package/build/models/ai-model-config.schema.js +6 -1
- package/build/models/ai-model-formatted.schema.d.ts +3 -0
- package/build/models/ai-model.schema.d.ts +9 -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 +12 -33
- package/build/models/cloud-payments-receipt.schema.d.ts +1 -1
- package/build/models/cloud-payments-receipt.schema.js +1 -1
- package/build/models/product.schema.d.ts +38 -0
- package/build/models/subscription-feature.schema.d.ts +77 -0
- package/build/models/subscription-feature.schema.js +1 -0
- package/build/models/subscription-upgrade-schema.d.ts +38 -0
- package/build/models/subscription.schema.d.ts +190 -0
- package/build/models/team-account/team-to-product.schema.d.ts +38 -0
- package/build/models/team-account/team-to-subscription.schema.d.ts +38 -0
- package/build/models/tool-group.schema.d.ts +1 -0
- package/build/models/tool-group.schema.js +1 -0
- package/build/models/tools/index.d.ts +1 -1
- package/build/models/tools/index.js +1 -1
- package/build/models/tools/sound-generation/index.d.ts +5 -0
- package/build/{constants/tool-photo-session/enums → models/tools/sound-generation}/index.js +5 -3
- package/build/models/tools/sound-generation/sound-generation-config.schema.d.ts +39 -0
- package/build/models/tools/sound-generation/sound-generation-config.schema.js +8 -0
- package/build/models/tools/sound-generation/sound-generation-job.schema.d.ts +30 -0
- package/build/models/tools/sound-generation/sound-generation-job.schema.js +20 -0
- package/build/models/tools/sound-generation/sound-generation-model.schema.d.ts +49 -0
- package/build/models/tools/sound-generation/sound-generation-model.schema.js +35 -0
- package/build/models/tools/sound-generation/sound-generation-params.schema.d.ts +8 -0
- package/build/models/tools/sound-generation/sound-generation-params.schema.js +10 -0
- package/build/models/tools/sound-generation/sound-generation-result.schema.d.ts +7 -0
- package/build/models/tools/sound-generation/sound-generation-result.schema.js +9 -0
- package/build/models/tools/tts/index.d.ts +0 -3
- package/build/models/tools/tts/index.js +0 -3
- package/build/models/tools/tts/tts-config.schema.d.ts +0 -23
- package/build/models/tools/tts/tts-config.schema.js +1 -14
- package/build/models/tools/tts/tts-job.schema.d.ts +1 -26
- package/build/models/tools/tts/tts-job.schema.js +2 -16
- package/build/models/tools/tts/tts-model.schema.d.ts +0 -1
- package/build/models/tools/tts/tts-model.schema.js +0 -1
- package/build/models/user-to-product.schema.d.ts +38 -0
- package/build/models/user-to-subscription.schema.d.ts +114 -0
- package/package.json +1 -1
- package/build/api/controllers/http/photo-session.js +0 -22
- package/build/commands/avatar-studio/scene/apply-avatar-studio-voice-to-all-scenes.command.js +0 -17
- package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.d.ts +0 -43
- package/build/commands/avatar-studio/voice/clone-avatar-studio-voice.command.js +0 -19
- package/build/commands/avatar-studio/voice/delete-avatar-studio-voice.command.d.ts +0 -11
- package/build/commands/avatar-studio/voice/delete-avatar-studio-voice.command.js +0 -13
- package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.d.ts +0 -36
- package/build/commands/avatar-studio/voice/find-avatar-studio-voices.query.js +0 -11
- package/build/commands/tools/photo-session/admin/create-photo-session-style.command.d.ts +0 -39
- package/build/commands/tools/photo-session/admin/create-photo-session-style.command.js +0 -26
- package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.d.ts +0 -9
- package/build/commands/tools/photo-session/admin/delete-photo-session-style.command.js +0 -11
- package/build/commands/tools/photo-session/admin/index.d.ts +0 -3
- package/build/commands/tools/photo-session/admin/update-photo-session-style.command.d.ts +0 -45
- package/build/commands/tools/photo-session/admin/update-photo-session-style.command.js +0 -36
- package/build/commands/tools/photo-session/delete-all-photo-session-jobs.command.js +0 -8
- package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.d.ts +0 -9
- package/build/commands/tools/photo-session/delete-photo-session-job-by-uuid.command.js +0 -11
- package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.d.ts +0 -64
- package/build/commands/tools/photo-session/find-photo-session-job-by-uuid.command.js +0 -14
- package/build/commands/tools/photo-session/find-photo-session-jobs.command.d.ts +0 -73
- package/build/commands/tools/photo-session/find-photo-session-jobs.command.js +0 -24
- package/build/commands/tools/photo-session/get-photo-session-config.command.d.ts +0 -76
- package/build/commands/tools/photo-session/get-photo-session-config.command.js +0 -11
- package/build/commands/tools/photo-session/get-photo-session-price.command.d.ts +0 -32
- package/build/commands/tools/photo-session/get-photo-session-price.command.js +0 -27
- package/build/commands/tools/photo-session/index.d.ts +0 -13
- package/build/commands/tools/photo-session/index.js +0 -29
- package/build/commands/tools/photo-session/photo-session.command.d.ts +0 -87
- package/build/commands/tools/photo-session/photo-session.command.js +0 -27
- package/build/commands/tools/photo-session/retry-photo-session-job.command.d.ts +0 -107
- package/build/commands/tools/photo-session/retry-photo-session-job.command.js +0 -31
- package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.d.ts +0 -70
- package/build/commands/tools/photo-session/set-reaction-to-photo-session-job.command.js +0 -28
- package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.d.ts +0 -68
- package/build/commands/tools/photo-session/update-photo-session-job-favorite.command.js +0 -17
- package/build/commands/tools/photo-session/update-photo-session-job-title.command.d.ts +0 -68
- package/build/commands/tools/photo-session/update-photo-session-job-title.command.js +0 -17
- package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.d.ts +0 -69
- package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.js +0 -18
- package/build/commands/tools/tts/create-voice-clone.command.d.ts +0 -44
- package/build/commands/tools/tts/create-voice-clone.command.js +0 -18
- package/build/commands/tools/tts/create-voice-design.command.d.ts +0 -24
- package/build/commands/tools/tts/create-voice-design.command.js +0 -18
- package/build/commands/tools/tts/delete-voice.command.js +0 -11
- package/build/commands/tools/tts/download-tts-job.command.d.ts +0 -18
- package/build/commands/tools/tts/download-tts-job.command.js +0 -17
- package/build/commands/tools/tts/find-voice-by-uuid.query.d.ts +0 -40
- package/build/commands/tools/tts/find-voice-by-uuid.query.js +0 -14
- package/build/commands/tools/tts/find-voices.query.d.ts +0 -48
- package/build/commands/tools/tts/find-voices.query.js +0 -18
- package/build/commands/tools/tts/improve-tts-text.command.d.ts +0 -13
- package/build/commands/tools/tts/improve-tts-text.command.js +0 -13
- package/build/commands/tools/tts/select-voice-design.command.d.ts +0 -44
- package/build/commands/tools/tts/select-voice-design.command.js +0 -17
- package/build/commands/tools/tts/update-voice.command.d.ts +0 -45
- package/build/commands/tools/tts/update-voice.command.js +0 -18
- package/build/constants/tool/enums/job-scope.enum.d.ts +0 -5
- package/build/constants/tool/enums/job-scope.enum.js +0 -9
- package/build/constants/tool-photo-session/enums/index.d.ts +0 -3
- package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.d.ts +0 -5
- package/build/constants/tool-photo-session/enums/photo-session-look-type.enum.js +0 -9
- package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.d.ts +0 -3
- package/build/constants/tool-photo-session/enums/photo-session-model-type.enum.js +0 -7
- package/build/constants/tool-photo-session/enums/photo-session-strategy.enum.d.ts +0 -4
- package/build/constants/tool-photo-session/enums/photo-session-strategy.enum.js +0 -8
- package/build/constants/tool-photo-session/index.d.ts +0 -1
- package/build/constants/tool-photo-session/index.js +0 -17
- package/build/constants/tool-tts/enums/index.d.ts +0 -7
- package/build/constants/tool-tts/enums/index.js +0 -23
- package/build/constants/tool-tts/enums/tts-download-format.enum.d.ts +0 -5
- package/build/constants/tool-tts/enums/tts-download-format.enum.js +0 -9
- package/build/constants/tool-tts/enums/voice-category.enum.d.ts +0 -19
- package/build/constants/tool-tts/enums/voice-category.enum.js +0 -23
- package/build/constants/tool-tts/enums/voice-gender.enum.d.ts +0 -4
- package/build/constants/tool-tts/enums/voice-gender.enum.js +0 -8
- package/build/constants/tool-tts/enums/voice-source.enum.d.ts +0 -5
- package/build/constants/tool-tts/enums/voice-source.enum.js +0 -9
- package/build/constants/tool-tts/enums/voice-status.enum.d.ts +0 -5
- package/build/constants/tool-tts/enums/voice-status.enum.js +0 -9
- package/build/constants/tool-tts/enums/voice-tag-group.enum.d.ts +0 -5
- package/build/constants/tool-tts/enums/voice-tag-group.enum.js +0 -9
- package/build/constants/tool-tts/enums/voice-tag.enum.d.ts +0 -20
- package/build/constants/tool-tts/enums/voice-tag.enum.js +0 -24
- package/build/constants/tool-tts/index.d.ts +0 -1
- package/build/constants/tool-tts/index.js +0 -17
- package/build/helpers/photo-session/calculate-photo-session-price.helper.d.ts +0 -6
- package/build/helpers/photo-session/calculate-photo-session-price.helper.js +0 -13
- package/build/helpers/photo-session/index.d.ts +0 -1
- package/build/helpers/photo-session/index.js +0 -17
- package/build/models/tools/photo-session/index.d.ts +0 -4
- package/build/models/tools/photo-session/index.js +0 -20
- package/build/models/tools/photo-session/photo-session-config.schema.d.ts +0 -143
- package/build/models/tools/photo-session/photo-session-config.schema.js +0 -21
- package/build/models/tools/photo-session/photo-session-job.schema.d.ts +0 -80
- package/build/models/tools/photo-session/photo-session-job.schema.js +0 -50
- package/build/models/tools/photo-session/photo-session-model.schema.d.ts +0 -116
- package/build/models/tools/photo-session/photo-session-model.schema.js +0 -47
- package/build/models/tools/photo-session/photo-session-style.schema.d.ts +0 -29
- package/build/models/tools/photo-session/photo-session-style.schema.js +0 -22
- package/build/models/tools/tts/voice-design-draft.schema.d.ts +0 -13
- package/build/models/tools/tts/voice-design-draft.schema.js +0 -13
- package/build/models/tools/tts/voice-design-sample.schema.d.ts +0 -6
- package/build/models/tools/tts/voice-design-sample.schema.js +0 -8
- package/build/models/tools/tts/voice.schema.d.ts +0 -33
- package/build/models/tools/tts/voice.schema.js +0 -37
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SoundGenerationJobSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const constants_1 = require("../../../constants");
|
|
6
|
+
const tool_job_schema_1 = require("../../tool-job.schema");
|
|
7
|
+
const sound_generation_params_schema_1 = require("./sound-generation-params.schema");
|
|
8
|
+
const sound_generation_result_schema_1 = require("./sound-generation-result.schema");
|
|
9
|
+
exports.SoundGenerationJobSchema = tool_job_schema_1.ToolJobSchema.extend({
|
|
10
|
+
prompt: zod_1.z.string(),
|
|
11
|
+
title: zod_1.z.string(),
|
|
12
|
+
modelId: zod_1.z.string(),
|
|
13
|
+
price: zod_1.z.number(),
|
|
14
|
+
params: sound_generation_params_schema_1.SoundGenerationParamsSchema,
|
|
15
|
+
results: zod_1.z.array(sound_generation_result_schema_1.SoundGenerationResultSchema),
|
|
16
|
+
attempts: zod_1.z.array(zod_1.z.unknown()),
|
|
17
|
+
reaction: zod_1.z.enum(constants_1.USER_REACTION).nullable(),
|
|
18
|
+
dislikeReason: zod_1.z.string().nullable(),
|
|
19
|
+
completedAt: zod_1.z.date().nullable().optional(),
|
|
20
|
+
});
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { TOOL_MODEL_STATUS } from '../../../constants';
|
|
3
|
+
export declare enum SOUND_GENERATION_STRATEGY {
|
|
4
|
+
ELEVENLABS_SOUND_GENERATION = "ELEVENLABS_SOUND_GENERATION"
|
|
5
|
+
}
|
|
6
|
+
export declare const SoundGenerationModelParamsSchema: z.ZodObject<{
|
|
7
|
+
minDurationSeconds: z.ZodNumber;
|
|
8
|
+
maxDurationSeconds: z.ZodNumber;
|
|
9
|
+
durationStepSeconds: z.ZodNumber;
|
|
10
|
+
maxVariations: z.ZodNumber;
|
|
11
|
+
supportsLoop: z.ZodBoolean;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type SoundGenerationModelParams = z.infer<typeof SoundGenerationModelParamsSchema>;
|
|
14
|
+
export declare const SoundGenerationModelSchema: z.ZodObject<{
|
|
15
|
+
uuid: z.ZodString;
|
|
16
|
+
title: z.ZodString;
|
|
17
|
+
description: z.ZodString;
|
|
18
|
+
aiModel: z.ZodString;
|
|
19
|
+
pricePerSecond: z.ZodNumber;
|
|
20
|
+
order: z.ZodNumber;
|
|
21
|
+
status: z.ZodEnum<typeof TOOL_MODEL_STATUS>;
|
|
22
|
+
icons: z.ZodObject<{
|
|
23
|
+
light: z.ZodObject<{
|
|
24
|
+
svg: z.ZodString;
|
|
25
|
+
png: z.ZodString;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
dark: z.ZodObject<{
|
|
28
|
+
svg: z.ZodString;
|
|
29
|
+
png: z.ZodString;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
strategy: z.ZodEnum<typeof SOUND_GENERATION_STRATEGY>;
|
|
33
|
+
maxPromptLength: z.ZodNumber;
|
|
34
|
+
params: z.ZodObject<{
|
|
35
|
+
minDurationSeconds: z.ZodNumber;
|
|
36
|
+
maxDurationSeconds: z.ZodNumber;
|
|
37
|
+
durationStepSeconds: z.ZodNumber;
|
|
38
|
+
maxVariations: z.ZodNumber;
|
|
39
|
+
supportsLoop: z.ZodBoolean;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
createdAt: z.ZodDate;
|
|
42
|
+
updatedAt: z.ZodDate;
|
|
43
|
+
unlockedBy: z.ZodNullable<z.ZodObject<{
|
|
44
|
+
uuid: z.ZodString;
|
|
45
|
+
name: z.ZodString;
|
|
46
|
+
}, z.core.$strip>>;
|
|
47
|
+
canUse: z.ZodBoolean;
|
|
48
|
+
}, z.core.$strip>;
|
|
49
|
+
export type SoundGenerationModel = z.infer<typeof SoundGenerationModelSchema>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SoundGenerationModelSchema = exports.SoundGenerationModelParamsSchema = exports.SOUND_GENERATION_STRATEGY = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const constants_1 = require("../../../constants");
|
|
6
|
+
const icon_variants_schema_1 = require("../../icon-variants.schema");
|
|
7
|
+
const unlocked_by_subscription_schema_1 = require("../../unlocked-by-subscription.schema");
|
|
8
|
+
var SOUND_GENERATION_STRATEGY;
|
|
9
|
+
(function (SOUND_GENERATION_STRATEGY) {
|
|
10
|
+
SOUND_GENERATION_STRATEGY["ELEVENLABS_SOUND_GENERATION"] = "ELEVENLABS_SOUND_GENERATION";
|
|
11
|
+
})(SOUND_GENERATION_STRATEGY || (exports.SOUND_GENERATION_STRATEGY = SOUND_GENERATION_STRATEGY = {}));
|
|
12
|
+
exports.SoundGenerationModelParamsSchema = zod_1.z.object({
|
|
13
|
+
minDurationSeconds: zod_1.z.number(),
|
|
14
|
+
maxDurationSeconds: zod_1.z.number(),
|
|
15
|
+
durationStepSeconds: zod_1.z.number(),
|
|
16
|
+
maxVariations: zod_1.z.number().int(),
|
|
17
|
+
supportsLoop: zod_1.z.boolean(),
|
|
18
|
+
});
|
|
19
|
+
exports.SoundGenerationModelSchema = zod_1.z.object({
|
|
20
|
+
uuid: zod_1.z.string(),
|
|
21
|
+
title: zod_1.z.string(),
|
|
22
|
+
description: zod_1.z.string(),
|
|
23
|
+
aiModel: zod_1.z.string(),
|
|
24
|
+
pricePerSecond: zod_1.z.number(),
|
|
25
|
+
order: zod_1.z.number(),
|
|
26
|
+
status: zod_1.z.nativeEnum(constants_1.TOOL_MODEL_STATUS),
|
|
27
|
+
icons: icon_variants_schema_1.IconVariantsSchema,
|
|
28
|
+
strategy: zod_1.z.nativeEnum(SOUND_GENERATION_STRATEGY),
|
|
29
|
+
maxPromptLength: zod_1.z.number(),
|
|
30
|
+
params: exports.SoundGenerationModelParamsSchema,
|
|
31
|
+
createdAt: zod_1.z.date(),
|
|
32
|
+
updatedAt: zod_1.z.date(),
|
|
33
|
+
unlockedBy: unlocked_by_subscription_schema_1.UnlockedBySchema.nullable(),
|
|
34
|
+
canUse: zod_1.z.boolean(),
|
|
35
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const SoundGenerationParamsSchema: z.ZodObject<{
|
|
3
|
+
durationInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
4
|
+
variations: z.ZodDefault<z.ZodNumber>;
|
|
5
|
+
loop: z.ZodDefault<z.ZodBoolean>;
|
|
6
|
+
promptInfluence: z.ZodDefault<z.ZodNumber>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export type SoundGenerationParams = z.infer<typeof SoundGenerationParamsSchema>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SoundGenerationParamsSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.SoundGenerationParamsSchema = zod_1.z.object({
|
|
6
|
+
durationInSeconds: zod_1.z.number().min(0.5).max(30).multipleOf(0.5).optional(),
|
|
7
|
+
variations: zod_1.z.number().int().min(1).max(4).default(1),
|
|
8
|
+
loop: zod_1.z.boolean().default(false),
|
|
9
|
+
promptInfluence: zod_1.z.number().min(0).max(1).default(0.3),
|
|
10
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SoundGenerationResultSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.SoundGenerationResultSchema = zod_1.z.object({
|
|
6
|
+
uuid: zod_1.z.uuid(),
|
|
7
|
+
audioUrl: zod_1.z.url(),
|
|
8
|
+
duration: zod_1.z.number().nonnegative(),
|
|
9
|
+
});
|
|
@@ -17,6 +17,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./tts-config.schema"), exports);
|
|
18
18
|
__exportStar(require("./tts-job.schema"), exports);
|
|
19
19
|
__exportStar(require("./tts-model.schema"), exports);
|
|
20
|
-
__exportStar(require("./voice.schema"), exports);
|
|
21
|
-
__exportStar(require("./voice-design-draft.schema"), exports);
|
|
22
|
-
__exportStar(require("./voice-design-sample.schema"), exports);
|
|
@@ -1,16 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { VOICE_CATEGORY, VOICE_TAG, VOICE_TAG_GROUP } from '../../../constants';
|
|
3
|
-
export declare const TTSVoiceTagSchema: z.ZodObject<{
|
|
4
|
-
id: z.ZodEnum<typeof VOICE_TAG>;
|
|
5
|
-
group: z.ZodEnum<typeof VOICE_TAG_GROUP>;
|
|
6
|
-
label: z.ZodString;
|
|
7
|
-
}, z.core.$strip>;
|
|
8
|
-
export type TTSVoiceTag = z.infer<typeof TTSVoiceTagSchema>;
|
|
9
|
-
export declare const TTSVoiceCategorySchema: z.ZodObject<{
|
|
10
|
-
id: z.ZodEnum<typeof VOICE_CATEGORY>;
|
|
11
|
-
label: z.ZodString;
|
|
12
|
-
}, z.core.$strip>;
|
|
13
|
-
export type TTSVoiceCategory = z.infer<typeof TTSVoiceCategorySchema>;
|
|
14
2
|
export declare const TTSConfigSchema: z.ZodObject<{
|
|
15
3
|
models: z.ZodArray<z.ZodObject<{
|
|
16
4
|
uuid: z.ZodString;
|
|
@@ -29,7 +17,6 @@ export declare const TTSConfigSchema: z.ZodObject<{
|
|
|
29
17
|
}, z.core.$strip>;
|
|
30
18
|
}, z.core.$strip>;
|
|
31
19
|
maxInputLength: z.ZodNumber;
|
|
32
|
-
maxSpeakers: z.ZodNumber;
|
|
33
20
|
params: z.ZodObject<{
|
|
34
21
|
speed: z.ZodOptional<z.ZodObject<{
|
|
35
22
|
title: z.ZodString;
|
|
@@ -133,14 +120,4 @@ export declare const TTSConfigSchema: z.ZodObject<{
|
|
|
133
120
|
canUse: z.ZodBoolean;
|
|
134
121
|
status: z.ZodString;
|
|
135
122
|
}, z.core.$strip>>;
|
|
136
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
137
|
-
id: z.ZodEnum<typeof VOICE_TAG>;
|
|
138
|
-
group: z.ZodEnum<typeof VOICE_TAG_GROUP>;
|
|
139
|
-
label: z.ZodString;
|
|
140
|
-
}, z.core.$strip>>;
|
|
141
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
142
|
-
id: z.ZodEnum<typeof VOICE_CATEGORY>;
|
|
143
|
-
label: z.ZodString;
|
|
144
|
-
}, z.core.$strip>>;
|
|
145
|
-
speakerMarkerLabel: z.ZodString;
|
|
146
123
|
}, z.core.$strip>;
|
|
@@ -1,21 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TTSConfigSchema =
|
|
3
|
+
exports.TTSConfigSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const constants_1 = require("../../../constants");
|
|
6
5
|
const tts_model_schema_1 = require("./tts-model.schema");
|
|
7
|
-
exports.TTSVoiceTagSchema = zod_1.z.object({
|
|
8
|
-
id: zod_1.z.nativeEnum(constants_1.VOICE_TAG),
|
|
9
|
-
group: zod_1.z.nativeEnum(constants_1.VOICE_TAG_GROUP),
|
|
10
|
-
label: zod_1.z.string(),
|
|
11
|
-
});
|
|
12
|
-
exports.TTSVoiceCategorySchema = zod_1.z.object({
|
|
13
|
-
id: zod_1.z.nativeEnum(constants_1.VOICE_CATEGORY),
|
|
14
|
-
label: zod_1.z.string(),
|
|
15
|
-
});
|
|
16
6
|
exports.TTSConfigSchema = zod_1.z.object({
|
|
17
7
|
models: zod_1.z.array(tts_model_schema_1.TTSModelSchema),
|
|
18
|
-
tags: zod_1.z.array(exports.TTSVoiceTagSchema),
|
|
19
|
-
categories: zod_1.z.array(exports.TTSVoiceCategorySchema),
|
|
20
|
-
speakerMarkerLabel: zod_1.z.string(),
|
|
21
8
|
});
|
|
@@ -7,19 +7,6 @@ export declare const TTSJobParamsSchema: z.ZodObject<{
|
|
|
7
7
|
style: z.ZodOptional<z.ZodNumber>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
export type TTSJobParams = z.infer<typeof TTSJobParamsSchema>;
|
|
10
|
-
export declare const TTSJobSpeakerSchema: z.ZodObject<{
|
|
11
|
-
speaker: z.ZodNumber;
|
|
12
|
-
voiceId: z.ZodString;
|
|
13
|
-
}, z.core.$strip>;
|
|
14
|
-
export type TTSJobSpeaker = z.infer<typeof TTSJobSpeakerSchema>;
|
|
15
|
-
export declare const TTSJobVoiceSchema: z.ZodObject<{
|
|
16
|
-
uuid: z.ZodString;
|
|
17
|
-
title: z.ZodString;
|
|
18
|
-
previewUrl: z.ZodString;
|
|
19
|
-
isDeleted: z.ZodBoolean;
|
|
20
|
-
speaker: z.ZodNullable<z.ZodNumber>;
|
|
21
|
-
}, z.core.$strip>;
|
|
22
|
-
export type TTSJobVoice = z.infer<typeof TTSJobVoiceSchema>;
|
|
23
10
|
export declare const TTSJobSchema: z.ZodObject<{
|
|
24
11
|
uuid: z.ZodString;
|
|
25
12
|
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
@@ -39,18 +26,6 @@ export declare const TTSJobSchema: z.ZodObject<{
|
|
|
39
26
|
style: z.ZodOptional<z.ZodNumber>;
|
|
40
27
|
}, z.core.$strip>;
|
|
41
28
|
modelId: z.ZodString;
|
|
42
|
-
voiceId: z.
|
|
43
|
-
isDialog: z.ZodBoolean;
|
|
44
|
-
speakers: z.ZodArray<z.ZodObject<{
|
|
45
|
-
speaker: z.ZodNumber;
|
|
46
|
-
voiceId: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>;
|
|
48
|
-
voices: z.ZodArray<z.ZodObject<{
|
|
49
|
-
uuid: z.ZodString;
|
|
50
|
-
title: z.ZodString;
|
|
51
|
-
previewUrl: z.ZodString;
|
|
52
|
-
isDeleted: z.ZodBoolean;
|
|
53
|
-
speaker: z.ZodNullable<z.ZodNumber>;
|
|
54
|
-
}, z.core.$strip>>;
|
|
29
|
+
voiceId: z.ZodString;
|
|
55
30
|
}, z.core.$strip>;
|
|
56
31
|
export type TTSJob = z.infer<typeof TTSJobSchema>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TTSJobSchema = exports.
|
|
3
|
+
exports.TTSJobSchema = exports.TTSJobParamsSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const tool_job_schema_1 = require("../../tool-job.schema");
|
|
6
6
|
const constants_1 = require("../../../constants");
|
|
@@ -10,17 +10,6 @@ exports.TTSJobParamsSchema = zod_1.z.object({
|
|
|
10
10
|
stability: zod_1.z.number().optional(),
|
|
11
11
|
style: zod_1.z.number().optional(),
|
|
12
12
|
});
|
|
13
|
-
exports.TTSJobSpeakerSchema = zod_1.z.object({
|
|
14
|
-
speaker: zod_1.z.number(),
|
|
15
|
-
voiceId: zod_1.z.string(),
|
|
16
|
-
});
|
|
17
|
-
exports.TTSJobVoiceSchema = zod_1.z.object({
|
|
18
|
-
uuid: zod_1.z.string(),
|
|
19
|
-
title: zod_1.z.string(),
|
|
20
|
-
previewUrl: zod_1.z.string(),
|
|
21
|
-
isDeleted: zod_1.z.boolean(),
|
|
22
|
-
speaker: zod_1.z.number().nullable(),
|
|
23
|
-
});
|
|
24
13
|
exports.TTSJobSchema = tool_job_schema_1.ToolJobSchema.extend({
|
|
25
14
|
userInput: zod_1.z.string(),
|
|
26
15
|
title: zod_1.z.string(),
|
|
@@ -29,8 +18,5 @@ exports.TTSJobSchema = tool_job_schema_1.ToolJobSchema.extend({
|
|
|
29
18
|
duration: zod_1.z.string(),
|
|
30
19
|
params: exports.TTSJobParamsSchema,
|
|
31
20
|
modelId: zod_1.z.string(),
|
|
32
|
-
voiceId: zod_1.z.string()
|
|
33
|
-
isDialog: zod_1.z.boolean(),
|
|
34
|
-
speakers: zod_1.z.array(exports.TTSJobSpeakerSchema),
|
|
35
|
-
voices: zod_1.z.array(exports.TTSJobVoiceSchema),
|
|
21
|
+
voiceId: zod_1.z.string(),
|
|
36
22
|
});
|
|
@@ -45,7 +45,6 @@ exports.TTSModelSchema = zod_1.z.object({
|
|
|
45
45
|
order: zod_1.z.number(),
|
|
46
46
|
icons: icon_variants_schema_1.IconVariantsSchema,
|
|
47
47
|
maxInputLength: zod_1.z.number(),
|
|
48
|
-
maxSpeakers: zod_1.z.number(),
|
|
49
48
|
params: exports.TTSModelParams,
|
|
50
49
|
voices: zod_1.z.array(exports.TTSVoiceSchema),
|
|
51
50
|
unlockedBy: unlocked_by_subscription_schema_1.UnlockedBySchema.nullable(),
|
|
@@ -40,6 +40,7 @@ export declare const UserToProductWithProductSchema: z.ZodObject<{
|
|
|
40
40
|
}, z.core.$strip>;
|
|
41
41
|
features: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
42
42
|
title: z.ZodString;
|
|
43
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
43
44
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.AI_MODEL_ACCESS>;
|
|
44
45
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.AI_MODEL>;
|
|
45
46
|
order: z.ZodNumber;
|
|
@@ -48,76 +49,90 @@ export declare const UserToProductWithProductSchema: z.ZodObject<{
|
|
|
48
49
|
maxInputLength: z.ZodNumber;
|
|
49
50
|
}, z.core.$strip>, z.ZodObject<{
|
|
50
51
|
title: z.ZodString;
|
|
52
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
51
53
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.TEXT_GENERATION_QUOTA>;
|
|
52
54
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.TEXT>;
|
|
53
55
|
value: z.ZodNumber;
|
|
54
56
|
tooltip: z.ZodNullable<z.ZodString>;
|
|
55
57
|
}, z.core.$strip>, z.ZodObject<{
|
|
56
58
|
title: z.ZodString;
|
|
59
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
57
60
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.MAX_INPUT_LENGTH>;
|
|
58
61
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.TEXT>;
|
|
59
62
|
tooltip: z.ZodString;
|
|
60
63
|
value: z.ZodNumber;
|
|
61
64
|
}, z.core.$strip>, z.ZodObject<{
|
|
62
65
|
title: z.ZodString;
|
|
66
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
63
67
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.TEXT>;
|
|
64
68
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.WEB_SEARCH>;
|
|
65
69
|
isAvailable: z.ZodBoolean;
|
|
66
70
|
}, z.core.$strip>, z.ZodObject<{
|
|
67
71
|
title: z.ZodString;
|
|
72
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
68
73
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.TEXT>;
|
|
69
74
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.ADVANCED_TOOLS_ACCESS>;
|
|
70
75
|
isAvailable: z.ZodBoolean;
|
|
71
76
|
}, z.core.$strip>, z.ZodObject<{
|
|
72
77
|
title: z.ZodString;
|
|
78
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
73
79
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.TTS>;
|
|
74
80
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.TTS_MODEL_ACCESS>;
|
|
75
81
|
isAvailable: z.ZodBoolean;
|
|
76
82
|
modelId: z.ZodString;
|
|
77
83
|
}, z.core.$strip>, z.ZodObject<{
|
|
78
84
|
title: z.ZodString;
|
|
85
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
79
86
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.IMAGE_GENERATION>;
|
|
80
87
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_GENERATION_QUOTA>;
|
|
81
88
|
value: z.ZodNumber;
|
|
82
89
|
}, z.core.$strip>, z.ZodObject<{
|
|
83
90
|
title: z.ZodString;
|
|
91
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
84
92
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.TTS>;
|
|
85
93
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.TTS_QUOTA>;
|
|
86
94
|
value: z.ZodNumber;
|
|
87
95
|
}, z.core.$strip>, z.ZodObject<{
|
|
88
96
|
title: z.ZodString;
|
|
97
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
89
98
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.STT>;
|
|
90
99
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.STT_MODEL_ACCESS>;
|
|
91
100
|
isAvailable: z.ZodBoolean;
|
|
92
101
|
modelId: z.ZodString;
|
|
93
102
|
}, z.core.$strip>, z.ZodObject<{
|
|
94
103
|
title: z.ZodString;
|
|
104
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
95
105
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.STT>;
|
|
96
106
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.STT_QUOTA>;
|
|
97
107
|
value: z.ZodNumber;
|
|
98
108
|
}, z.core.$strip>, z.ZodObject<{
|
|
99
109
|
title: z.ZodString;
|
|
110
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
100
111
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.VIDEO>;
|
|
101
112
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.VIDEO_QUOTA>;
|
|
102
113
|
value: z.ZodNumber;
|
|
103
114
|
}, z.core.$strip>, z.ZodObject<{
|
|
104
115
|
title: z.ZodString;
|
|
116
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
105
117
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.VIDEO>;
|
|
106
118
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.VIDEO_MODEL_ACCESS>;
|
|
107
119
|
isAvailable: z.ZodBoolean;
|
|
108
120
|
modelId: z.ZodString;
|
|
109
121
|
}, z.core.$strip>, z.ZodObject<{
|
|
110
122
|
title: z.ZodString;
|
|
123
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
111
124
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.EXTENDED_CONTEXT>;
|
|
112
125
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.TEXT>;
|
|
113
126
|
isAvailable: z.ZodBoolean;
|
|
114
127
|
}, z.core.$strip>, z.ZodObject<{
|
|
115
128
|
title: z.ZodString;
|
|
129
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
116
130
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.PRESENTATION>;
|
|
117
131
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.PRESENTATION_QUOTA>;
|
|
118
132
|
value: z.ZodNumber;
|
|
119
133
|
}, z.core.$strip>, z.ZodObject<{
|
|
120
134
|
title: z.ZodString;
|
|
135
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
121
136
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.BASE>;
|
|
122
137
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.TOKENS>;
|
|
123
138
|
tokens: z.ZodNumber;
|
|
@@ -133,6 +148,7 @@ export declare const UserToProductWithProductSchema: z.ZodObject<{
|
|
|
133
148
|
}, z.core.$strip>;
|
|
134
149
|
}, z.core.$strip>, z.ZodObject<{
|
|
135
150
|
title: z.ZodString;
|
|
151
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
136
152
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.BASE>;
|
|
137
153
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.CARRYOVER_BALANCE>;
|
|
138
154
|
isAvailable: z.ZodBoolean;
|
|
@@ -149,50 +165,59 @@ export declare const UserToProductWithProductSchema: z.ZodObject<{
|
|
|
149
165
|
}, z.core.$strip>;
|
|
150
166
|
}, z.core.$strip>, z.ZodObject<{
|
|
151
167
|
title: z.ZodString;
|
|
168
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
152
169
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.MUSIC>;
|
|
153
170
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.MUSIC_QUOTA>;
|
|
154
171
|
value: z.ZodNumber;
|
|
155
172
|
}, z.core.$strip>, z.ZodObject<{
|
|
156
173
|
title: z.ZodString;
|
|
174
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
157
175
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.MUSIC>;
|
|
158
176
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.MUSIC_MODEL_ACCESS>;
|
|
159
177
|
isAvailable: z.ZodBoolean;
|
|
160
178
|
modelId: z.ZodString;
|
|
161
179
|
}, z.core.$strip>, z.ZodObject<{
|
|
162
180
|
title: z.ZodString;
|
|
181
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
163
182
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.WRITER>;
|
|
164
183
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.WRITER_QUOTA>;
|
|
165
184
|
value: z.ZodNumber;
|
|
166
185
|
}, z.core.$strip>, z.ZodObject<{
|
|
167
186
|
title: z.ZodString;
|
|
187
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
168
188
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.WRITER>;
|
|
169
189
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.WRITER_MODEL_ACCESS>;
|
|
170
190
|
isAvailable: z.ZodBoolean;
|
|
171
191
|
modelId: z.ZodString;
|
|
172
192
|
}, z.core.$strip>, z.ZodObject<{
|
|
173
193
|
title: z.ZodString;
|
|
194
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
174
195
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.IMAGE_EDITOR>;
|
|
175
196
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_EDITOR_QUOTA>;
|
|
176
197
|
value: z.ZodNumber;
|
|
177
198
|
}, z.core.$strip>, z.ZodObject<{
|
|
178
199
|
title: z.ZodString;
|
|
200
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
179
201
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.IMAGE_EDITOR>;
|
|
180
202
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_EDITOR_MODEL_ACCESS>;
|
|
181
203
|
isAvailable: z.ZodBoolean;
|
|
182
204
|
modelId: z.ZodString;
|
|
183
205
|
}, z.core.$strip>, z.ZodObject<{
|
|
184
206
|
title: z.ZodString;
|
|
207
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
185
208
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.INTERIOR_DESIGN>;
|
|
186
209
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.INTERIOR_DESIGN_QUOTA>;
|
|
187
210
|
value: z.ZodNumber;
|
|
188
211
|
}, z.core.$strip>, z.ZodObject<{
|
|
189
212
|
title: z.ZodString;
|
|
213
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
190
214
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.INTERIOR_DESIGN>;
|
|
191
215
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.INTERIOR_DESIGN_MODEL_ACCESS>;
|
|
192
216
|
isAvailable: z.ZodBoolean;
|
|
193
217
|
modelId: z.ZodString;
|
|
194
218
|
}, z.core.$strip>, z.ZodObject<{
|
|
195
219
|
title: z.ZodString;
|
|
220
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
196
221
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_GENERATION_ACCESS>;
|
|
197
222
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.IMAGE_GENERATION>;
|
|
198
223
|
order: z.ZodNumber;
|
|
@@ -200,74 +225,87 @@ export declare const UserToProductWithProductSchema: z.ZodObject<{
|
|
|
200
225
|
isAvailable: z.ZodBoolean;
|
|
201
226
|
}, z.core.$strip>, z.ZodObject<{
|
|
202
227
|
title: z.ZodString;
|
|
228
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
203
229
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.SPELL_CORRECTOR>;
|
|
204
230
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.SPELL_CORRECTOR_QUOTA>;
|
|
205
231
|
value: z.ZodNumber;
|
|
206
232
|
}, z.core.$strip>, z.ZodObject<{
|
|
207
233
|
title: z.ZodString;
|
|
234
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
208
235
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.SPELL_CORRECTOR>;
|
|
209
236
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.SPELL_CORRECTOR_MODEL_ACCESS>;
|
|
210
237
|
isAvailable: z.ZodBoolean;
|
|
211
238
|
modelId: z.ZodString;
|
|
212
239
|
}, z.core.$strip>, z.ZodObject<{
|
|
213
240
|
title: z.ZodString;
|
|
241
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
214
242
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.PARAPHRASE>;
|
|
215
243
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.PARAPHRASE_TYPE_ACCESS>;
|
|
216
244
|
isAvailable: z.ZodBoolean;
|
|
217
245
|
modelId: z.ZodString;
|
|
218
246
|
}, z.core.$strip>, z.ZodObject<{
|
|
219
247
|
title: z.ZodString;
|
|
248
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
220
249
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.MARKETPLACE_CARD>;
|
|
221
250
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.MARKETPLACE_CARD_QUOTA>;
|
|
222
251
|
value: z.ZodNumber;
|
|
223
252
|
}, z.core.$strip>, z.ZodObject<{
|
|
224
253
|
title: z.ZodString;
|
|
254
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
225
255
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.MARKETPLACE_CARD>;
|
|
226
256
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.MARKETPLACE_CARD_MODEL_ACCESS>;
|
|
227
257
|
isAvailable: z.ZodBoolean;
|
|
228
258
|
modelId: z.ZodString;
|
|
229
259
|
}, z.core.$strip>, z.ZodObject<{
|
|
230
260
|
title: z.ZodString;
|
|
261
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
231
262
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.EDU_TASK>;
|
|
232
263
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.EDU_TASK_QUOTA>;
|
|
233
264
|
value: z.ZodNumber;
|
|
234
265
|
}, z.core.$strip>, z.ZodObject<{
|
|
235
266
|
title: z.ZodString;
|
|
267
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
236
268
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.EDU_TASK>;
|
|
237
269
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.EDU_TASK_MODEL_ACCESS>;
|
|
238
270
|
isAvailable: z.ZodBoolean;
|
|
239
271
|
modelId: z.ZodString;
|
|
240
272
|
}, z.core.$strip>, z.ZodObject<{
|
|
241
273
|
title: z.ZodString;
|
|
274
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
242
275
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.VIDEO_EDITOR>;
|
|
243
276
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.VIDEO_EDITOR_QUOTA>;
|
|
244
277
|
value: z.ZodNumber;
|
|
245
278
|
}, z.core.$strip>, z.ZodObject<{
|
|
246
279
|
title: z.ZodString;
|
|
280
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
247
281
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.VIDEO_EDITOR>;
|
|
248
282
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.VIDEO_EDITOR_MODEL_ACCESS>;
|
|
249
283
|
isAvailable: z.ZodBoolean;
|
|
250
284
|
modelId: z.ZodString;
|
|
251
285
|
}, z.core.$strip>, z.ZodObject<{
|
|
252
286
|
title: z.ZodString;
|
|
287
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
253
288
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.HTML_PAGE_BUILDER>;
|
|
254
289
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_MODEL_ACCESS>;
|
|
255
290
|
isAvailable: z.ZodBoolean;
|
|
256
291
|
modelId: z.ZodString;
|
|
257
292
|
}, z.core.$strip>, z.ZodObject<{
|
|
258
293
|
title: z.ZodString;
|
|
294
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
259
295
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.DIAGRAMS>;
|
|
260
296
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_MODEL_ACCESS>;
|
|
261
297
|
isAvailable: z.ZodBoolean;
|
|
262
298
|
modelId: z.ZodString;
|
|
263
299
|
}, z.core.$strip>, z.ZodObject<{
|
|
264
300
|
title: z.ZodString;
|
|
301
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
265
302
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION>;
|
|
266
303
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_MODEL_ACCESS>;
|
|
267
304
|
isAvailable: z.ZodBoolean;
|
|
268
305
|
modelId: z.ZodString;
|
|
269
306
|
}, z.core.$strip>, z.ZodObject<{
|
|
270
307
|
title: z.ZodString;
|
|
308
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
271
309
|
kind: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION>;
|
|
272
310
|
type: z.ZodLiteral<import("..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_QUOTA>;
|
|
273
311
|
value: z.ZodNumber;
|