@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,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SetReactionToSoundGenerationJobCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const constants_1 = require("../../../constants");
|
|
6
|
+
const models_1 = require("../../../models");
|
|
7
|
+
var SetReactionToSoundGenerationJobCommand;
|
|
8
|
+
(function (SetReactionToSoundGenerationJobCommand) {
|
|
9
|
+
SetReactionToSoundGenerationJobCommand.RequestSchema = zod_1.z
|
|
10
|
+
.object({
|
|
11
|
+
reaction: zod_1.z.enum(constants_1.USER_REACTION).nullable(),
|
|
12
|
+
dislikeReason: zod_1.z.string().nullable().default(null),
|
|
13
|
+
})
|
|
14
|
+
.refine((data) => data.reaction === constants_1.USER_REACTION.DISLIKED || !data.dislikeReason, {
|
|
15
|
+
message: 'Dislike reason is not allowed when reaction is not DISLIKED',
|
|
16
|
+
});
|
|
17
|
+
SetReactionToSoundGenerationJobCommand.RequestParamsSchema = zod_1.z.object({
|
|
18
|
+
uuid: zod_1.z.uuid(),
|
|
19
|
+
});
|
|
20
|
+
SetReactionToSoundGenerationJobCommand.ResponseSchema = zod_1.z.object({
|
|
21
|
+
data: models_1.SoundGenerationJobSchema,
|
|
22
|
+
});
|
|
23
|
+
})(SetReactionToSoundGenerationJobCommand || (exports.SetReactionToSoundGenerationJobCommand = SetReactionToSoundGenerationJobCommand = {}));
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace SoundGenerationCommand {
|
|
3
|
+
const RequestSchema: z.ZodObject<{
|
|
4
|
+
prompt: z.ZodString;
|
|
5
|
+
modelId: z.ZodUUID;
|
|
6
|
+
params: z.ZodObject<{
|
|
7
|
+
durationInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
variations: z.ZodDefault<z.ZodNumber>;
|
|
9
|
+
loop: z.ZodDefault<z.ZodBoolean>;
|
|
10
|
+
promptInfluence: z.ZodDefault<z.ZodNumber>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
14
|
+
const ResponseSchema: z.ZodObject<{
|
|
15
|
+
data: z.ZodObject<{
|
|
16
|
+
uuid: z.ZodString;
|
|
17
|
+
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
18
|
+
error: z.ZodNullable<z.ZodString>;
|
|
19
|
+
isFavorite: z.ZodBoolean;
|
|
20
|
+
createdAt: z.ZodDate;
|
|
21
|
+
updatedAt: z.ZodDate;
|
|
22
|
+
prompt: z.ZodString;
|
|
23
|
+
title: z.ZodString;
|
|
24
|
+
modelId: z.ZodString;
|
|
25
|
+
price: z.ZodNumber;
|
|
26
|
+
params: z.ZodObject<{
|
|
27
|
+
durationInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
28
|
+
variations: z.ZodDefault<z.ZodNumber>;
|
|
29
|
+
loop: z.ZodDefault<z.ZodBoolean>;
|
|
30
|
+
promptInfluence: z.ZodDefault<z.ZodNumber>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
results: z.ZodArray<z.ZodObject<{
|
|
33
|
+
uuid: z.ZodUUID;
|
|
34
|
+
audioUrl: z.ZodURL;
|
|
35
|
+
duration: z.ZodNumber;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
attempts: z.ZodArray<z.ZodUnknown>;
|
|
38
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
39
|
+
dislikeReason: z.ZodNullable<z.ZodString>;
|
|
40
|
+
completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SoundGenerationCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../../models");
|
|
6
|
+
var SoundGenerationCommand;
|
|
7
|
+
(function (SoundGenerationCommand) {
|
|
8
|
+
SoundGenerationCommand.RequestSchema = zod_1.z.object({
|
|
9
|
+
prompt: zod_1.z.string().min(1),
|
|
10
|
+
modelId: zod_1.z.uuid(),
|
|
11
|
+
params: models_1.SoundGenerationParamsSchema,
|
|
12
|
+
});
|
|
13
|
+
SoundGenerationCommand.ResponseSchema = zod_1.z.object({
|
|
14
|
+
data: models_1.SoundGenerationJobSchema,
|
|
15
|
+
});
|
|
16
|
+
})(SoundGenerationCommand || (exports.SoundGenerationCommand = SoundGenerationCommand = {}));
|
package/build/commands/tools/sound-generation/update-sound-generation-job-favorite.command.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace UpdateSoundGenerationJobFavoriteCommand {
|
|
3
|
+
const RequestSchema: z.ZodObject<{
|
|
4
|
+
isFavorite: z.ZodBoolean;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
7
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
8
|
+
uuid: z.ZodUUID;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
11
|
+
const ResponseSchema: z.ZodObject<{
|
|
12
|
+
data: z.ZodObject<{
|
|
13
|
+
uuid: z.ZodString;
|
|
14
|
+
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
15
|
+
error: z.ZodNullable<z.ZodString>;
|
|
16
|
+
isFavorite: z.ZodBoolean;
|
|
17
|
+
createdAt: z.ZodDate;
|
|
18
|
+
updatedAt: z.ZodDate;
|
|
19
|
+
prompt: z.ZodString;
|
|
20
|
+
title: z.ZodString;
|
|
21
|
+
modelId: z.ZodString;
|
|
22
|
+
price: z.ZodNumber;
|
|
23
|
+
params: z.ZodObject<{
|
|
24
|
+
durationInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
variations: z.ZodDefault<z.ZodNumber>;
|
|
26
|
+
loop: z.ZodDefault<z.ZodBoolean>;
|
|
27
|
+
promptInfluence: z.ZodDefault<z.ZodNumber>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
results: z.ZodArray<z.ZodObject<{
|
|
30
|
+
uuid: z.ZodUUID;
|
|
31
|
+
audioUrl: z.ZodURL;
|
|
32
|
+
duration: z.ZodNumber;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
attempts: z.ZodArray<z.ZodUnknown>;
|
|
35
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
36
|
+
dislikeReason: z.ZodNullable<z.ZodString>;
|
|
37
|
+
completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
}, z.core.$strip>;
|
|
40
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateSoundGenerationJobFavoriteCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../../models");
|
|
6
|
+
var UpdateSoundGenerationJobFavoriteCommand;
|
|
7
|
+
(function (UpdateSoundGenerationJobFavoriteCommand) {
|
|
8
|
+
UpdateSoundGenerationJobFavoriteCommand.RequestSchema = zod_1.z.object({
|
|
9
|
+
isFavorite: zod_1.z.boolean(),
|
|
10
|
+
});
|
|
11
|
+
UpdateSoundGenerationJobFavoriteCommand.RequestParamsSchema = zod_1.z.object({
|
|
12
|
+
uuid: zod_1.z.uuid(),
|
|
13
|
+
});
|
|
14
|
+
UpdateSoundGenerationJobFavoriteCommand.ResponseSchema = zod_1.z.object({
|
|
15
|
+
data: models_1.SoundGenerationJobSchema,
|
|
16
|
+
});
|
|
17
|
+
})(UpdateSoundGenerationJobFavoriteCommand || (exports.UpdateSoundGenerationJobFavoriteCommand = UpdateSoundGenerationJobFavoriteCommand = {}));
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace UpdateSoundGenerationJobTitleCommand {
|
|
3
|
+
const RequestSchema: z.ZodObject<{
|
|
4
|
+
title: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
7
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
8
|
+
uuid: z.ZodUUID;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
11
|
+
const ResponseSchema: z.ZodObject<{
|
|
12
|
+
data: z.ZodObject<{
|
|
13
|
+
uuid: z.ZodString;
|
|
14
|
+
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
15
|
+
error: z.ZodNullable<z.ZodString>;
|
|
16
|
+
isFavorite: z.ZodBoolean;
|
|
17
|
+
createdAt: z.ZodDate;
|
|
18
|
+
updatedAt: z.ZodDate;
|
|
19
|
+
prompt: z.ZodString;
|
|
20
|
+
title: z.ZodString;
|
|
21
|
+
modelId: z.ZodString;
|
|
22
|
+
price: z.ZodNumber;
|
|
23
|
+
params: z.ZodObject<{
|
|
24
|
+
durationInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
25
|
+
variations: z.ZodDefault<z.ZodNumber>;
|
|
26
|
+
loop: z.ZodDefault<z.ZodBoolean>;
|
|
27
|
+
promptInfluence: z.ZodDefault<z.ZodNumber>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
results: z.ZodArray<z.ZodObject<{
|
|
30
|
+
uuid: z.ZodUUID;
|
|
31
|
+
audioUrl: z.ZodURL;
|
|
32
|
+
duration: z.ZodNumber;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
attempts: z.ZodArray<z.ZodUnknown>;
|
|
35
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
36
|
+
dislikeReason: z.ZodNullable<z.ZodString>;
|
|
37
|
+
completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
}, z.core.$strip>;
|
|
40
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateSoundGenerationJobTitleCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../../models");
|
|
6
|
+
var UpdateSoundGenerationJobTitleCommand;
|
|
7
|
+
(function (UpdateSoundGenerationJobTitleCommand) {
|
|
8
|
+
UpdateSoundGenerationJobTitleCommand.RequestSchema = zod_1.z.object({
|
|
9
|
+
title: zod_1.z.string().min(1).max(40),
|
|
10
|
+
});
|
|
11
|
+
UpdateSoundGenerationJobTitleCommand.RequestParamsSchema = zod_1.z.object({
|
|
12
|
+
uuid: zod_1.z.uuid(),
|
|
13
|
+
});
|
|
14
|
+
UpdateSoundGenerationJobTitleCommand.ResponseSchema = zod_1.z.object({
|
|
15
|
+
data: models_1.SoundGenerationJobSchema,
|
|
16
|
+
});
|
|
17
|
+
})(UpdateSoundGenerationJobTitleCommand || (exports.UpdateSoundGenerationJobTitleCommand = UpdateSoundGenerationJobTitleCommand = {}));
|
|
@@ -24,19 +24,7 @@ export declare namespace FindTTSJobByUUIDCommand {
|
|
|
24
24
|
style: z.ZodOptional<z.ZodNumber>;
|
|
25
25
|
}, z.core.$strip>;
|
|
26
26
|
modelId: z.ZodString;
|
|
27
|
-
voiceId: z.
|
|
28
|
-
isDialog: z.ZodBoolean;
|
|
29
|
-
speakers: z.ZodArray<z.ZodObject<{
|
|
30
|
-
speaker: z.ZodNumber;
|
|
31
|
-
voiceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>;
|
|
33
|
-
voices: z.ZodArray<z.ZodObject<{
|
|
34
|
-
uuid: z.ZodString;
|
|
35
|
-
title: z.ZodString;
|
|
36
|
-
previewUrl: z.ZodString;
|
|
37
|
-
isDeleted: z.ZodBoolean;
|
|
38
|
-
speaker: z.ZodNullable<z.ZodNumber>;
|
|
39
|
-
}, z.core.$strip>>;
|
|
27
|
+
voiceId: z.ZodString;
|
|
40
28
|
}, z.core.$strip>;
|
|
41
29
|
}, z.core.$strip>;
|
|
42
30
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -30,19 +30,7 @@ export declare namespace FindTTSJobsCommand {
|
|
|
30
30
|
style: z.ZodOptional<z.ZodNumber>;
|
|
31
31
|
}, z.core.$strip>;
|
|
32
32
|
modelId: z.ZodString;
|
|
33
|
-
voiceId: z.
|
|
34
|
-
isDialog: z.ZodBoolean;
|
|
35
|
-
speakers: z.ZodArray<z.ZodObject<{
|
|
36
|
-
speaker: z.ZodNumber;
|
|
37
|
-
voiceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>;
|
|
39
|
-
voices: z.ZodArray<z.ZodObject<{
|
|
40
|
-
uuid: z.ZodString;
|
|
41
|
-
title: z.ZodString;
|
|
42
|
-
previewUrl: z.ZodString;
|
|
43
|
-
isDeleted: z.ZodBoolean;
|
|
44
|
-
speaker: z.ZodNullable<z.ZodNumber>;
|
|
45
|
-
}, z.core.$strip>>;
|
|
33
|
+
voiceId: z.ZodString;
|
|
46
34
|
}, z.core.$strip>>;
|
|
47
35
|
totalPages: z.ZodNumber;
|
|
48
36
|
total: z.ZodNumber;
|
|
@@ -19,7 +19,6 @@ export declare namespace GetTTSToolConfigCommand {
|
|
|
19
19
|
}, z.core.$strip>;
|
|
20
20
|
}, z.core.$strip>;
|
|
21
21
|
maxInputLength: z.ZodNumber;
|
|
22
|
-
maxSpeakers: z.ZodNumber;
|
|
23
22
|
params: z.ZodObject<{
|
|
24
23
|
speed: z.ZodOptional<z.ZodObject<{
|
|
25
24
|
title: z.ZodString;
|
|
@@ -123,16 +122,6 @@ export declare namespace GetTTSToolConfigCommand {
|
|
|
123
122
|
canUse: z.ZodBoolean;
|
|
124
123
|
status: z.ZodString;
|
|
125
124
|
}, z.core.$strip>>;
|
|
126
|
-
tags: z.ZodArray<z.ZodObject<{
|
|
127
|
-
id: z.ZodEnum<typeof import("../../..").VOICE_TAG>;
|
|
128
|
-
group: z.ZodEnum<typeof import("../../..").VOICE_TAG_GROUP>;
|
|
129
|
-
label: z.ZodString;
|
|
130
|
-
}, z.core.$strip>>;
|
|
131
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
132
|
-
id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
|
|
133
|
-
label: z.ZodString;
|
|
134
|
-
}, z.core.$strip>>;
|
|
135
|
-
speakerMarkerLabel: z.ZodString;
|
|
136
125
|
}, z.core.$strip>;
|
|
137
126
|
}, z.core.$strip>;
|
|
138
127
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -8,12 +8,3 @@ export * from './set-reaction-to-tts-job.command';
|
|
|
8
8
|
export * from './tts.command';
|
|
9
9
|
export * from './update-tts-job-title.command';
|
|
10
10
|
export * from './update-tts-job-favorite.command';
|
|
11
|
-
export * from './improve-tts-text.command';
|
|
12
|
-
export * from './find-voices.query';
|
|
13
|
-
export * from './find-voice-by-uuid.query';
|
|
14
|
-
export * from './create-voice-clone.command';
|
|
15
|
-
export * from './create-voice-design.command';
|
|
16
|
-
export * from './select-voice-design.command';
|
|
17
|
-
export * from './update-voice.command';
|
|
18
|
-
export * from './delete-voice.command';
|
|
19
|
-
export * from './download-tts-job.command';
|
|
@@ -24,12 +24,3 @@ __exportStar(require("./set-reaction-to-tts-job.command"), exports);
|
|
|
24
24
|
__exportStar(require("./tts.command"), exports);
|
|
25
25
|
__exportStar(require("./update-tts-job-title.command"), exports);
|
|
26
26
|
__exportStar(require("./update-tts-job-favorite.command"), exports);
|
|
27
|
-
__exportStar(require("./improve-tts-text.command"), exports);
|
|
28
|
-
__exportStar(require("./find-voices.query"), exports);
|
|
29
|
-
__exportStar(require("./find-voice-by-uuid.query"), exports);
|
|
30
|
-
__exportStar(require("./create-voice-clone.command"), exports);
|
|
31
|
-
__exportStar(require("./create-voice-design.command"), exports);
|
|
32
|
-
__exportStar(require("./select-voice-design.command"), exports);
|
|
33
|
-
__exportStar(require("./update-voice.command"), exports);
|
|
34
|
-
__exportStar(require("./delete-voice.command"), exports);
|
|
35
|
-
__exportStar(require("./download-tts-job.command"), exports);
|
|
@@ -24,19 +24,7 @@ export declare namespace RetryTTSJobCommand {
|
|
|
24
24
|
style: z.ZodOptional<z.ZodNumber>;
|
|
25
25
|
}, z.core.$strip>;
|
|
26
26
|
modelId: z.ZodString;
|
|
27
|
-
voiceId: z.
|
|
28
|
-
isDialog: z.ZodBoolean;
|
|
29
|
-
speakers: z.ZodArray<z.ZodObject<{
|
|
30
|
-
speaker: z.ZodNumber;
|
|
31
|
-
voiceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>;
|
|
33
|
-
voices: z.ZodArray<z.ZodObject<{
|
|
34
|
-
uuid: z.ZodString;
|
|
35
|
-
title: z.ZodString;
|
|
36
|
-
previewUrl: z.ZodString;
|
|
37
|
-
isDeleted: z.ZodBoolean;
|
|
38
|
-
speaker: z.ZodNullable<z.ZodNumber>;
|
|
39
|
-
}, z.core.$strip>>;
|
|
27
|
+
voiceId: z.ZodString;
|
|
40
28
|
}, z.core.$strip>;
|
|
41
29
|
}, z.core.$strip>;
|
|
42
30
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -30,19 +30,7 @@ export declare namespace SetReactionToTTSJobCommand {
|
|
|
30
30
|
style: z.ZodOptional<z.ZodNumber>;
|
|
31
31
|
}, z.core.$strip>;
|
|
32
32
|
modelId: z.ZodString;
|
|
33
|
-
voiceId: z.
|
|
34
|
-
isDialog: z.ZodBoolean;
|
|
35
|
-
speakers: z.ZodArray<z.ZodObject<{
|
|
36
|
-
speaker: z.ZodNumber;
|
|
37
|
-
voiceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>;
|
|
39
|
-
voices: z.ZodArray<z.ZodObject<{
|
|
40
|
-
uuid: z.ZodString;
|
|
41
|
-
title: z.ZodString;
|
|
42
|
-
previewUrl: z.ZodString;
|
|
43
|
-
isDeleted: z.ZodBoolean;
|
|
44
|
-
speaker: z.ZodNullable<z.ZodNumber>;
|
|
45
|
-
}, z.core.$strip>>;
|
|
33
|
+
voiceId: z.ZodString;
|
|
46
34
|
}, z.core.$strip>;
|
|
47
35
|
}, z.core.$strip>;
|
|
48
36
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -2,13 +2,8 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare namespace TTSCommand {
|
|
3
3
|
const RequestSchema: z.ZodObject<{
|
|
4
4
|
modelId: z.ZodString;
|
|
5
|
-
voiceId: z.
|
|
5
|
+
voiceId: z.ZodString;
|
|
6
6
|
text: z.ZodString;
|
|
7
|
-
isDialog: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
8
|
-
speakers: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9
|
-
speaker: z.ZodNumber;
|
|
10
|
-
voiceId: z.ZodString;
|
|
11
|
-
}, z.core.$strip>>>>;
|
|
12
7
|
params: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
13
8
|
speed: z.ZodOptional<z.ZodNumber>;
|
|
14
9
|
similarity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -7,18 +7,12 @@ const TTSReferenceSchema = zod_1.z.object({
|
|
|
7
7
|
audioUrl: zod_1.z.string().url(),
|
|
8
8
|
text: zod_1.z.string(),
|
|
9
9
|
});
|
|
10
|
-
const TTSSpeakerSchema = zod_1.z.object({
|
|
11
|
-
speaker: zod_1.z.number().int().positive(),
|
|
12
|
-
voiceId: zod_1.z.string().uuid(),
|
|
13
|
-
});
|
|
14
10
|
var TTSCommand;
|
|
15
11
|
(function (TTSCommand) {
|
|
16
12
|
TTSCommand.RequestSchema = zod_1.z.object({
|
|
17
13
|
modelId: zod_1.z.string().uuid(),
|
|
18
|
-
voiceId: zod_1.z.string().uuid()
|
|
14
|
+
voiceId: zod_1.z.string().uuid(),
|
|
19
15
|
text: zod_1.z.string(),
|
|
20
|
-
isDialog: zod_1.z.boolean().optional().default(false),
|
|
21
|
-
speakers: zod_1.z.array(TTSSpeakerSchema).optional().default([]),
|
|
22
16
|
params: zod_1.z
|
|
23
17
|
.object({
|
|
24
18
|
speed: zod_1.z.number().optional(),
|
|
@@ -28,19 +28,7 @@ export declare namespace UpdateTTSJobFavoriteCommand {
|
|
|
28
28
|
style: z.ZodOptional<z.ZodNumber>;
|
|
29
29
|
}, z.core.$strip>;
|
|
30
30
|
modelId: z.ZodString;
|
|
31
|
-
voiceId: z.
|
|
32
|
-
isDialog: z.ZodBoolean;
|
|
33
|
-
speakers: z.ZodArray<z.ZodObject<{
|
|
34
|
-
speaker: z.ZodNumber;
|
|
35
|
-
voiceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>;
|
|
37
|
-
voices: z.ZodArray<z.ZodObject<{
|
|
38
|
-
uuid: z.ZodString;
|
|
39
|
-
title: z.ZodString;
|
|
40
|
-
previewUrl: z.ZodString;
|
|
41
|
-
isDeleted: z.ZodBoolean;
|
|
42
|
-
speaker: z.ZodNullable<z.ZodNumber>;
|
|
43
|
-
}, z.core.$strip>>;
|
|
31
|
+
voiceId: z.ZodString;
|
|
44
32
|
}, z.core.$strip>;
|
|
45
33
|
}, z.core.$strip>;
|
|
46
34
|
type Response = z.infer<typeof ResponseSchema>;
|
|
@@ -28,19 +28,7 @@ export declare namespace UpdateTTSJobTitleCommand {
|
|
|
28
28
|
style: z.ZodOptional<z.ZodNumber>;
|
|
29
29
|
}, z.core.$strip>;
|
|
30
30
|
modelId: z.ZodString;
|
|
31
|
-
voiceId: z.
|
|
32
|
-
isDialog: z.ZodBoolean;
|
|
33
|
-
speakers: z.ZodArray<z.ZodObject<{
|
|
34
|
-
speaker: z.ZodNumber;
|
|
35
|
-
voiceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>;
|
|
37
|
-
voices: z.ZodArray<z.ZodObject<{
|
|
38
|
-
uuid: z.ZodString;
|
|
39
|
-
title: z.ZodString;
|
|
40
|
-
previewUrl: z.ZodString;
|
|
41
|
-
isDeleted: z.ZodBoolean;
|
|
42
|
-
speaker: z.ZodNullable<z.ZodNumber>;
|
|
43
|
-
}, z.core.$strip>>;
|
|
31
|
+
voiceId: z.ZodString;
|
|
44
32
|
}, z.core.$strip>;
|
|
45
33
|
}, z.core.$strip>;
|
|
46
34
|
type Response = z.infer<typeof ResponseSchema>;
|