@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
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare namespace UpdatePhotoSessionJobTitleCommand {
|
|
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.ZodString;
|
|
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.ZodCoercedDate<unknown>;
|
|
18
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
19
|
-
prompt: z.ZodString;
|
|
20
|
-
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
21
|
-
dislikeReason: z.ZodNullable<z.ZodString>;
|
|
22
|
-
externalId: z.ZodNullable<z.ZodString>;
|
|
23
|
-
title: z.ZodString;
|
|
24
|
-
modelId: z.ZodString;
|
|
25
|
-
price: z.ZodNumber;
|
|
26
|
-
previewUrl: z.ZodNullable<z.ZodString>;
|
|
27
|
-
params: z.ZodObject<{
|
|
28
|
-
attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
29
|
-
uuid: z.ZodString;
|
|
30
|
-
url: z.ZodString;
|
|
31
|
-
name: z.ZodString;
|
|
32
|
-
mimeType: z.ZodString;
|
|
33
|
-
type: z.ZodString;
|
|
34
|
-
size: z.ZodNumber;
|
|
35
|
-
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
36
|
-
}, z.core.$strip>>>;
|
|
37
|
-
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38
|
-
styleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
-
referenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
referenceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
41
|
-
customStylePrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
customStylePhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
43
|
-
clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
44
|
-
hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45
|
-
accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
46
|
-
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
47
|
-
userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
|
|
48
|
-
}, z.core.$strip>;
|
|
49
|
-
imageUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
50
|
-
images: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
51
|
-
uuid: z.ZodString;
|
|
52
|
-
url: z.ZodString;
|
|
53
|
-
originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
-
resolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
55
|
-
width: z.ZodNumber;
|
|
56
|
-
height: z.ZodNumber;
|
|
57
|
-
}, z.core.$strip>>>;
|
|
58
|
-
}, z.core.$strip>>>;
|
|
59
|
-
isPublished: z.ZodBoolean;
|
|
60
|
-
postId: z.ZodNullable<z.ZodString>;
|
|
61
|
-
isDeleted: z.ZodBoolean;
|
|
62
|
-
tokenReservationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
64
|
-
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
65
|
-
}, z.core.$strip>;
|
|
66
|
-
}, z.core.$strip>;
|
|
67
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
68
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdatePhotoSessionJobTitleCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const models_1 = require("../../../models");
|
|
6
|
-
var UpdatePhotoSessionJobTitleCommand;
|
|
7
|
-
(function (UpdatePhotoSessionJobTitleCommand) {
|
|
8
|
-
UpdatePhotoSessionJobTitleCommand.RequestSchema = zod_1.z.object({
|
|
9
|
-
title: zod_1.z.string().min(1).max(40).trim(),
|
|
10
|
-
});
|
|
11
|
-
UpdatePhotoSessionJobTitleCommand.RequestParamsSchema = zod_1.z.object({
|
|
12
|
-
uuid: zod_1.z.string().uuid(),
|
|
13
|
-
});
|
|
14
|
-
UpdatePhotoSessionJobTitleCommand.ResponseSchema = zod_1.z.object({
|
|
15
|
-
data: models_1.PhotoSessionJobSchema,
|
|
16
|
-
});
|
|
17
|
-
})(UpdatePhotoSessionJobTitleCommand || (exports.UpdatePhotoSessionJobTitleCommand = UpdatePhotoSessionJobTitleCommand = {}));
|
package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.d.ts
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare namespace UpdatePublishedStatusPhotoSessionJobCommand {
|
|
3
|
-
const RequestParamsSchema: z.ZodObject<{
|
|
4
|
-
uuid: z.ZodString;
|
|
5
|
-
}, z.core.$strip>;
|
|
6
|
-
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
7
|
-
const RequestSchema: z.ZodObject<{
|
|
8
|
-
isPublished: z.ZodBoolean;
|
|
9
|
-
postId: z.ZodNullable<z.ZodString>;
|
|
10
|
-
}, z.core.$strip>;
|
|
11
|
-
type Request = z.infer<typeof RequestSchema>;
|
|
12
|
-
const ResponseSchema: z.ZodObject<{
|
|
13
|
-
data: z.ZodObject<{
|
|
14
|
-
uuid: z.ZodString;
|
|
15
|
-
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
16
|
-
error: z.ZodNullable<z.ZodString>;
|
|
17
|
-
isFavorite: z.ZodBoolean;
|
|
18
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
19
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
20
|
-
prompt: z.ZodString;
|
|
21
|
-
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
22
|
-
dislikeReason: z.ZodNullable<z.ZodString>;
|
|
23
|
-
externalId: z.ZodNullable<z.ZodString>;
|
|
24
|
-
title: z.ZodString;
|
|
25
|
-
modelId: z.ZodString;
|
|
26
|
-
price: z.ZodNumber;
|
|
27
|
-
previewUrl: z.ZodNullable<z.ZodString>;
|
|
28
|
-
params: z.ZodObject<{
|
|
29
|
-
attachedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
30
|
-
uuid: z.ZodString;
|
|
31
|
-
url: z.ZodString;
|
|
32
|
-
name: z.ZodString;
|
|
33
|
-
mimeType: z.ZodString;
|
|
34
|
-
type: z.ZodString;
|
|
35
|
-
size: z.ZodNumber;
|
|
36
|
-
duration: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
37
|
-
}, z.core.$strip>>>;
|
|
38
|
-
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39
|
-
styleId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
-
referenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
|
-
referenceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
42
|
-
customStylePrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
-
customStylePhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
44
|
-
clothingPhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
45
|
-
hairstylePhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
46
|
-
accessoriesPhotos: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
47
|
-
aspectRatio: z.ZodOptional<z.ZodString>;
|
|
48
|
-
userHasActiveSubscriptionOrProduct: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
-
}, z.core.$strip>;
|
|
50
|
-
imageUrls: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
51
|
-
images: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
52
|
-
uuid: z.ZodString;
|
|
53
|
-
url: z.ZodString;
|
|
54
|
-
originalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
-
resolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
56
|
-
width: z.ZodNumber;
|
|
57
|
-
height: z.ZodNumber;
|
|
58
|
-
}, z.core.$strip>>>;
|
|
59
|
-
}, z.core.$strip>>>;
|
|
60
|
-
isPublished: z.ZodBoolean;
|
|
61
|
-
postId: z.ZodNullable<z.ZodString>;
|
|
62
|
-
isDeleted: z.ZodBoolean;
|
|
63
|
-
tokenReservationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
65
|
-
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
66
|
-
}, z.core.$strip>;
|
|
67
|
-
}, z.core.$strip>;
|
|
68
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
69
|
-
}
|
package/build/commands/tools/photo-session/update-published-status-photo-session-job.command.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdatePublishedStatusPhotoSessionJobCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const models_1 = require("../../../models");
|
|
6
|
-
var UpdatePublishedStatusPhotoSessionJobCommand;
|
|
7
|
-
(function (UpdatePublishedStatusPhotoSessionJobCommand) {
|
|
8
|
-
UpdatePublishedStatusPhotoSessionJobCommand.RequestParamsSchema = zod_1.z.object({
|
|
9
|
-
uuid: zod_1.z.string().uuid(),
|
|
10
|
-
});
|
|
11
|
-
UpdatePublishedStatusPhotoSessionJobCommand.RequestSchema = zod_1.z.object({
|
|
12
|
-
isPublished: zod_1.z.boolean(),
|
|
13
|
-
postId: zod_1.z.string().nullable(),
|
|
14
|
-
});
|
|
15
|
-
UpdatePublishedStatusPhotoSessionJobCommand.ResponseSchema = zod_1.z.object({
|
|
16
|
-
data: models_1.PhotoSessionJobSchema,
|
|
17
|
-
});
|
|
18
|
-
})(UpdatePublishedStatusPhotoSessionJobCommand || (exports.UpdatePublishedStatusPhotoSessionJobCommand = UpdatePublishedStatusPhotoSessionJobCommand = {}));
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { VOICE_GENDER } from '../../../constants';
|
|
3
|
-
export declare namespace CreateVoiceCloneCommand {
|
|
4
|
-
const RequestSchema: z.ZodObject<{
|
|
5
|
-
fileId: z.ZodString;
|
|
6
|
-
title: z.ZodString;
|
|
7
|
-
gender: z.ZodOptional<z.ZodEnum<typeof VOICE_GENDER>>;
|
|
8
|
-
imageFileId: z.ZodOptional<z.ZodString>;
|
|
9
|
-
}, z.core.$strip>;
|
|
10
|
-
type Request = z.infer<typeof RequestSchema>;
|
|
11
|
-
const ResponseSchema: z.ZodObject<{
|
|
12
|
-
data: z.ZodObject<{
|
|
13
|
-
uuid: z.ZodString;
|
|
14
|
-
scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
|
|
15
|
-
source: z.ZodObject<{
|
|
16
|
-
id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
|
|
17
|
-
label: z.ZodString;
|
|
18
|
-
}, z.core.$strip>;
|
|
19
|
-
title: z.ZodString;
|
|
20
|
-
description: z.ZodString;
|
|
21
|
-
gender: z.ZodNullable<z.ZodObject<{
|
|
22
|
-
id: z.ZodEnum<typeof VOICE_GENDER>;
|
|
23
|
-
label: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>;
|
|
25
|
-
trait: z.ZodNullable<z.ZodString>;
|
|
26
|
-
ageRange: z.ZodNullable<z.ZodString>;
|
|
27
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
28
|
-
id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
|
|
29
|
-
label: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>;
|
|
31
|
-
previewUrl: z.ZodString;
|
|
32
|
-
imageUrl: z.ZodNullable<z.ZodString>;
|
|
33
|
-
status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
|
|
34
|
-
error: z.ZodNullable<z.ZodString>;
|
|
35
|
-
order: z.ZodNumber;
|
|
36
|
-
isDeleted: z.ZodBoolean;
|
|
37
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
38
|
-
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
39
|
-
createdAt: z.ZodDate;
|
|
40
|
-
updatedAt: z.ZodDate;
|
|
41
|
-
}, z.core.$strip>;
|
|
42
|
-
}, z.core.$strip>;
|
|
43
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
44
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreateVoiceCloneCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const constants_1 = require("../../../constants");
|
|
6
|
-
const models_1 = require("../../../models");
|
|
7
|
-
var CreateVoiceCloneCommand;
|
|
8
|
-
(function (CreateVoiceCloneCommand) {
|
|
9
|
-
CreateVoiceCloneCommand.RequestSchema = zod_1.z.object({
|
|
10
|
-
fileId: zod_1.z.string().uuid(),
|
|
11
|
-
title: zod_1.z.string().min(1),
|
|
12
|
-
gender: zod_1.z.nativeEnum(constants_1.VOICE_GENDER).optional(),
|
|
13
|
-
imageFileId: zod_1.z.string().uuid().optional(),
|
|
14
|
-
});
|
|
15
|
-
CreateVoiceCloneCommand.ResponseSchema = zod_1.z.object({
|
|
16
|
-
data: models_1.VoiceSchema,
|
|
17
|
-
});
|
|
18
|
-
})(CreateVoiceCloneCommand || (exports.CreateVoiceCloneCommand = CreateVoiceCloneCommand = {}));
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { VOICE_GENDER } from '../../../constants';
|
|
3
|
-
export declare namespace CreateVoiceDesignCommand {
|
|
4
|
-
const RequestSchema: z.ZodObject<{
|
|
5
|
-
title: z.ZodString;
|
|
6
|
-
gender: z.ZodEnum<typeof VOICE_GENDER>;
|
|
7
|
-
instruction: z.ZodString;
|
|
8
|
-
imageFileId: z.ZodOptional<z.ZodString>;
|
|
9
|
-
}, z.core.$strip>;
|
|
10
|
-
type Request = z.infer<typeof RequestSchema>;
|
|
11
|
-
const ResponseSchema: z.ZodObject<{
|
|
12
|
-
data: z.ZodObject<{
|
|
13
|
-
designId: z.ZodString;
|
|
14
|
-
title: z.ZodString;
|
|
15
|
-
gender: z.ZodEnum<typeof VOICE_GENDER>;
|
|
16
|
-
imageUrl: z.ZodNullable<z.ZodString>;
|
|
17
|
-
samples: z.ZodArray<z.ZodObject<{
|
|
18
|
-
sampleId: z.ZodString;
|
|
19
|
-
previewUrl: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>;
|
|
21
|
-
}, z.core.$strip>;
|
|
22
|
-
}, z.core.$strip>;
|
|
23
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
24
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreateVoiceDesignCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const constants_1 = require("../../../constants");
|
|
6
|
-
const models_1 = require("../../../models");
|
|
7
|
-
var CreateVoiceDesignCommand;
|
|
8
|
-
(function (CreateVoiceDesignCommand) {
|
|
9
|
-
CreateVoiceDesignCommand.RequestSchema = zod_1.z.object({
|
|
10
|
-
title: zod_1.z.string().min(1),
|
|
11
|
-
gender: zod_1.z.nativeEnum(constants_1.VOICE_GENDER),
|
|
12
|
-
instruction: zod_1.z.string().min(1),
|
|
13
|
-
imageFileId: zod_1.z.string().uuid().optional(),
|
|
14
|
-
});
|
|
15
|
-
CreateVoiceDesignCommand.ResponseSchema = zod_1.z.object({
|
|
16
|
-
data: models_1.VoiceDesignDraftSchema,
|
|
17
|
-
});
|
|
18
|
-
})(CreateVoiceDesignCommand || (exports.CreateVoiceDesignCommand = CreateVoiceDesignCommand = {}));
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeleteVoiceCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
var DeleteVoiceCommand;
|
|
6
|
-
(function (DeleteVoiceCommand) {
|
|
7
|
-
DeleteVoiceCommand.RequestParamsSchema = zod_1.z.object({
|
|
8
|
-
uuid: zod_1.z.string().uuid(),
|
|
9
|
-
});
|
|
10
|
-
DeleteVoiceCommand.ResponseSchema = zod_1.z.void();
|
|
11
|
-
})(DeleteVoiceCommand || (exports.DeleteVoiceCommand = DeleteVoiceCommand = {}));
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { TTS_DOWNLOAD_FORMAT } from '../../../constants';
|
|
3
|
-
export declare namespace DownloadTTSJobCommand {
|
|
4
|
-
const RequestParamsSchema: z.ZodObject<{
|
|
5
|
-
uuid: z.ZodString;
|
|
6
|
-
}, z.core.$strip>;
|
|
7
|
-
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
8
|
-
const RequestQuerySchema: z.ZodObject<{
|
|
9
|
-
format: z.ZodEnum<typeof TTS_DOWNLOAD_FORMAT>;
|
|
10
|
-
}, z.core.$strip>;
|
|
11
|
-
type RequestQuery = z.infer<typeof RequestQuerySchema>;
|
|
12
|
-
const ResponseSchema: z.ZodObject<{
|
|
13
|
-
data: z.ZodObject<{
|
|
14
|
-
url: z.ZodString;
|
|
15
|
-
}, z.core.$strip>;
|
|
16
|
-
}, z.core.$strip>;
|
|
17
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
18
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DownloadTTSJobCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const constants_1 = require("../../../constants");
|
|
6
|
-
var DownloadTTSJobCommand;
|
|
7
|
-
(function (DownloadTTSJobCommand) {
|
|
8
|
-
DownloadTTSJobCommand.RequestParamsSchema = zod_1.z.object({
|
|
9
|
-
uuid: zod_1.z.string().uuid(),
|
|
10
|
-
});
|
|
11
|
-
DownloadTTSJobCommand.RequestQuerySchema = zod_1.z.object({
|
|
12
|
-
format: zod_1.z.nativeEnum(constants_1.TTS_DOWNLOAD_FORMAT),
|
|
13
|
-
});
|
|
14
|
-
DownloadTTSJobCommand.ResponseSchema = zod_1.z.object({
|
|
15
|
-
data: zod_1.z.object({ url: zod_1.z.string() }),
|
|
16
|
-
});
|
|
17
|
-
})(DownloadTTSJobCommand || (exports.DownloadTTSJobCommand = DownloadTTSJobCommand = {}));
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare namespace FindVoiceByUuidQuery {
|
|
3
|
-
const RequestParamsSchema: z.ZodObject<{
|
|
4
|
-
uuid: z.ZodString;
|
|
5
|
-
}, z.core.$strip>;
|
|
6
|
-
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
7
|
-
const ResponseSchema: z.ZodObject<{
|
|
8
|
-
data: z.ZodObject<{
|
|
9
|
-
uuid: z.ZodString;
|
|
10
|
-
scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
|
|
11
|
-
source: z.ZodObject<{
|
|
12
|
-
id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
|
|
13
|
-
label: z.ZodString;
|
|
14
|
-
}, z.core.$strip>;
|
|
15
|
-
title: z.ZodString;
|
|
16
|
-
description: z.ZodString;
|
|
17
|
-
gender: z.ZodNullable<z.ZodObject<{
|
|
18
|
-
id: z.ZodEnum<typeof import("../../..").VOICE_GENDER>;
|
|
19
|
-
label: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>;
|
|
21
|
-
trait: z.ZodNullable<z.ZodString>;
|
|
22
|
-
ageRange: z.ZodNullable<z.ZodString>;
|
|
23
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
24
|
-
id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
|
|
25
|
-
label: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>;
|
|
27
|
-
previewUrl: z.ZodString;
|
|
28
|
-
imageUrl: z.ZodNullable<z.ZodString>;
|
|
29
|
-
status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
|
|
30
|
-
error: z.ZodNullable<z.ZodString>;
|
|
31
|
-
order: z.ZodNumber;
|
|
32
|
-
isDeleted: z.ZodBoolean;
|
|
33
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
34
|
-
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
35
|
-
createdAt: z.ZodDate;
|
|
36
|
-
updatedAt: z.ZodDate;
|
|
37
|
-
}, z.core.$strip>;
|
|
38
|
-
}, z.core.$strip>;
|
|
39
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
40
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FindVoiceByUuidQuery = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const models_1 = require("../../../models");
|
|
6
|
-
var FindVoiceByUuidQuery;
|
|
7
|
-
(function (FindVoiceByUuidQuery) {
|
|
8
|
-
FindVoiceByUuidQuery.RequestParamsSchema = zod_1.z.object({
|
|
9
|
-
uuid: zod_1.z.string().uuid(),
|
|
10
|
-
});
|
|
11
|
-
FindVoiceByUuidQuery.ResponseSchema = zod_1.z.object({
|
|
12
|
-
data: models_1.VoiceSchema,
|
|
13
|
-
});
|
|
14
|
-
})(FindVoiceByUuidQuery || (exports.FindVoiceByUuidQuery = FindVoiceByUuidQuery = {}));
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { VOICE_CATEGORY, VOICE_GENDER } from '../../../constants';
|
|
3
|
-
export declare namespace FindVoicesQuery {
|
|
4
|
-
const RequestQuerySchema: z.ZodObject<{
|
|
5
|
-
ownership: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
6
|
-
all: "all";
|
|
7
|
-
library: "library";
|
|
8
|
-
mine: "mine";
|
|
9
|
-
}>>>;
|
|
10
|
-
category: z.ZodOptional<z.ZodEnum<typeof VOICE_CATEGORY>>;
|
|
11
|
-
gender: z.ZodOptional<z.ZodEnum<typeof VOICE_GENDER>>;
|
|
12
|
-
query: z.ZodOptional<z.ZodString>;
|
|
13
|
-
}, z.core.$strip>;
|
|
14
|
-
type RequestQuery = z.infer<typeof RequestQuerySchema>;
|
|
15
|
-
const ResponseSchema: z.ZodObject<{
|
|
16
|
-
data: z.ZodArray<z.ZodObject<{
|
|
17
|
-
uuid: z.ZodString;
|
|
18
|
-
scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
|
|
19
|
-
source: z.ZodObject<{
|
|
20
|
-
id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
|
|
21
|
-
label: z.ZodString;
|
|
22
|
-
}, z.core.$strip>;
|
|
23
|
-
title: z.ZodString;
|
|
24
|
-
description: z.ZodString;
|
|
25
|
-
gender: z.ZodNullable<z.ZodObject<{
|
|
26
|
-
id: z.ZodEnum<typeof VOICE_GENDER>;
|
|
27
|
-
label: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>;
|
|
29
|
-
trait: z.ZodNullable<z.ZodString>;
|
|
30
|
-
ageRange: z.ZodNullable<z.ZodString>;
|
|
31
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
32
|
-
id: z.ZodEnum<typeof VOICE_CATEGORY>;
|
|
33
|
-
label: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>;
|
|
35
|
-
previewUrl: z.ZodString;
|
|
36
|
-
imageUrl: z.ZodNullable<z.ZodString>;
|
|
37
|
-
status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
|
|
38
|
-
error: z.ZodNullable<z.ZodString>;
|
|
39
|
-
order: z.ZodNumber;
|
|
40
|
-
isDeleted: z.ZodBoolean;
|
|
41
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
42
|
-
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
43
|
-
createdAt: z.ZodDate;
|
|
44
|
-
updatedAt: z.ZodDate;
|
|
45
|
-
}, z.core.$strip>>;
|
|
46
|
-
}, z.core.$strip>;
|
|
47
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
48
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FindVoicesQuery = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const constants_1 = require("../../../constants");
|
|
6
|
-
const models_1 = require("../../../models");
|
|
7
|
-
var FindVoicesQuery;
|
|
8
|
-
(function (FindVoicesQuery) {
|
|
9
|
-
FindVoicesQuery.RequestQuerySchema = zod_1.z.object({
|
|
10
|
-
ownership: zod_1.z.enum(['all', 'library', 'mine']).optional().default('all'),
|
|
11
|
-
category: zod_1.z.nativeEnum(constants_1.VOICE_CATEGORY).optional(),
|
|
12
|
-
gender: zod_1.z.nativeEnum(constants_1.VOICE_GENDER).optional(),
|
|
13
|
-
query: zod_1.z.string().optional(),
|
|
14
|
-
});
|
|
15
|
-
FindVoicesQuery.ResponseSchema = zod_1.z.object({
|
|
16
|
-
data: zod_1.z.array(models_1.VoiceSchema),
|
|
17
|
-
});
|
|
18
|
-
})(FindVoicesQuery || (exports.FindVoicesQuery = FindVoicesQuery = {}));
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare namespace ImproveTTSTextCommand {
|
|
3
|
-
const RequestSchema: z.ZodObject<{
|
|
4
|
-
text: z.ZodString;
|
|
5
|
-
}, z.core.$strip>;
|
|
6
|
-
type Request = z.infer<typeof RequestSchema>;
|
|
7
|
-
const ResponseSchema: z.ZodObject<{
|
|
8
|
-
data: z.ZodObject<{
|
|
9
|
-
text: z.ZodString;
|
|
10
|
-
}, z.core.$strip>;
|
|
11
|
-
}, z.core.$strip>;
|
|
12
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ImproveTTSTextCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
var ImproveTTSTextCommand;
|
|
6
|
-
(function (ImproveTTSTextCommand) {
|
|
7
|
-
ImproveTTSTextCommand.RequestSchema = zod_1.z.object({
|
|
8
|
-
text: zod_1.z.string().min(1),
|
|
9
|
-
});
|
|
10
|
-
ImproveTTSTextCommand.ResponseSchema = zod_1.z.object({
|
|
11
|
-
data: zod_1.z.object({ text: zod_1.z.string() }),
|
|
12
|
-
});
|
|
13
|
-
})(ImproveTTSTextCommand || (exports.ImproveTTSTextCommand = ImproveTTSTextCommand = {}));
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare namespace SelectVoiceDesignCommand {
|
|
3
|
-
const RequestParamsSchema: z.ZodObject<{
|
|
4
|
-
designId: z.ZodString;
|
|
5
|
-
}, z.core.$strip>;
|
|
6
|
-
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
7
|
-
const RequestSchema: z.ZodObject<{
|
|
8
|
-
sampleId: z.ZodString;
|
|
9
|
-
}, z.core.$strip>;
|
|
10
|
-
type Request = z.infer<typeof RequestSchema>;
|
|
11
|
-
const ResponseSchema: z.ZodObject<{
|
|
12
|
-
data: z.ZodObject<{
|
|
13
|
-
uuid: z.ZodString;
|
|
14
|
-
scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
|
|
15
|
-
source: z.ZodObject<{
|
|
16
|
-
id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
|
|
17
|
-
label: z.ZodString;
|
|
18
|
-
}, z.core.$strip>;
|
|
19
|
-
title: z.ZodString;
|
|
20
|
-
description: z.ZodString;
|
|
21
|
-
gender: z.ZodNullable<z.ZodObject<{
|
|
22
|
-
id: z.ZodEnum<typeof import("../../..").VOICE_GENDER>;
|
|
23
|
-
label: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>;
|
|
25
|
-
trait: z.ZodNullable<z.ZodString>;
|
|
26
|
-
ageRange: z.ZodNullable<z.ZodString>;
|
|
27
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
28
|
-
id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
|
|
29
|
-
label: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>;
|
|
31
|
-
previewUrl: z.ZodString;
|
|
32
|
-
imageUrl: z.ZodNullable<z.ZodString>;
|
|
33
|
-
status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
|
|
34
|
-
error: z.ZodNullable<z.ZodString>;
|
|
35
|
-
order: z.ZodNumber;
|
|
36
|
-
isDeleted: z.ZodBoolean;
|
|
37
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
38
|
-
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
39
|
-
createdAt: z.ZodDate;
|
|
40
|
-
updatedAt: z.ZodDate;
|
|
41
|
-
}, z.core.$strip>;
|
|
42
|
-
}, z.core.$strip>;
|
|
43
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
44
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SelectVoiceDesignCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const models_1 = require("../../../models");
|
|
6
|
-
var SelectVoiceDesignCommand;
|
|
7
|
-
(function (SelectVoiceDesignCommand) {
|
|
8
|
-
SelectVoiceDesignCommand.RequestParamsSchema = zod_1.z.object({
|
|
9
|
-
designId: zod_1.z.string().uuid(),
|
|
10
|
-
});
|
|
11
|
-
SelectVoiceDesignCommand.RequestSchema = zod_1.z.object({
|
|
12
|
-
sampleId: zod_1.z.string().uuid(),
|
|
13
|
-
});
|
|
14
|
-
SelectVoiceDesignCommand.ResponseSchema = zod_1.z.object({
|
|
15
|
-
data: models_1.VoiceSchema,
|
|
16
|
-
});
|
|
17
|
-
})(SelectVoiceDesignCommand || (exports.SelectVoiceDesignCommand = SelectVoiceDesignCommand = {}));
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare namespace UpdateVoiceCommand {
|
|
3
|
-
const RequestParamsSchema: z.ZodObject<{
|
|
4
|
-
uuid: z.ZodString;
|
|
5
|
-
}, z.core.$strip>;
|
|
6
|
-
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
7
|
-
const RequestSchema: z.ZodObject<{
|
|
8
|
-
title: z.ZodString;
|
|
9
|
-
imageFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
-
}, z.core.$strip>;
|
|
11
|
-
type Request = z.infer<typeof RequestSchema>;
|
|
12
|
-
const ResponseSchema: z.ZodObject<{
|
|
13
|
-
data: z.ZodObject<{
|
|
14
|
-
uuid: z.ZodString;
|
|
15
|
-
scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
|
|
16
|
-
source: z.ZodObject<{
|
|
17
|
-
id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
|
|
18
|
-
label: z.ZodString;
|
|
19
|
-
}, z.core.$strip>;
|
|
20
|
-
title: z.ZodString;
|
|
21
|
-
description: z.ZodString;
|
|
22
|
-
gender: z.ZodNullable<z.ZodObject<{
|
|
23
|
-
id: z.ZodEnum<typeof import("../../..").VOICE_GENDER>;
|
|
24
|
-
label: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>;
|
|
26
|
-
trait: z.ZodNullable<z.ZodString>;
|
|
27
|
-
ageRange: z.ZodNullable<z.ZodString>;
|
|
28
|
-
categories: z.ZodArray<z.ZodObject<{
|
|
29
|
-
id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
|
|
30
|
-
label: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>;
|
|
32
|
-
previewUrl: z.ZodString;
|
|
33
|
-
imageUrl: z.ZodNullable<z.ZodString>;
|
|
34
|
-
status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
|
|
35
|
-
error: z.ZodNullable<z.ZodString>;
|
|
36
|
-
order: z.ZodNumber;
|
|
37
|
-
isDeleted: z.ZodBoolean;
|
|
38
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
39
|
-
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
40
|
-
createdAt: z.ZodDate;
|
|
41
|
-
updatedAt: z.ZodDate;
|
|
42
|
-
}, z.core.$strip>;
|
|
43
|
-
}, z.core.$strip>;
|
|
44
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
45
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateVoiceCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const models_1 = require("../../../models");
|
|
6
|
-
var UpdateVoiceCommand;
|
|
7
|
-
(function (UpdateVoiceCommand) {
|
|
8
|
-
UpdateVoiceCommand.RequestParamsSchema = zod_1.z.object({
|
|
9
|
-
uuid: zod_1.z.string().uuid(),
|
|
10
|
-
});
|
|
11
|
-
UpdateVoiceCommand.RequestSchema = zod_1.z.object({
|
|
12
|
-
title: zod_1.z.string().min(1),
|
|
13
|
-
imageFileId: zod_1.z.string().uuid().nullable().optional(),
|
|
14
|
-
});
|
|
15
|
-
UpdateVoiceCommand.ResponseSchema = zod_1.z.object({
|
|
16
|
-
data: models_1.VoiceSchema,
|
|
17
|
-
});
|
|
18
|
-
})(UpdateVoiceCommand || (exports.UpdateVoiceCommand = UpdateVoiceCommand = {}));
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.JOB_SCOPE = void 0;
|
|
4
|
-
var JOB_SCOPE;
|
|
5
|
-
(function (JOB_SCOPE) {
|
|
6
|
-
JOB_SCOPE["TOOL"] = "tool";
|
|
7
|
-
JOB_SCOPE["CANVAS"] = "canvas";
|
|
8
|
-
JOB_SCOPE["AVATAR_STUDIO"] = "avatar_studio";
|
|
9
|
-
})(JOB_SCOPE || (exports.JOB_SCOPE = JOB_SCOPE = {}));
|