@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
|
@@ -55,6 +55,7 @@ export declare namespace GetTeamToSubscriptionsCommand {
|
|
|
55
55
|
action: z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof import("../..").SUBSCRIPTION_ACTION>>>;
|
|
56
56
|
features: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
57
57
|
title: z.ZodString;
|
|
58
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
58
59
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.AI_MODEL_ACCESS>;
|
|
59
60
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.AI_MODEL>;
|
|
60
61
|
order: z.ZodNumber;
|
|
@@ -63,76 +64,90 @@ export declare namespace GetTeamToSubscriptionsCommand {
|
|
|
63
64
|
maxInputLength: z.ZodNumber;
|
|
64
65
|
}, z.core.$strip>, z.ZodObject<{
|
|
65
66
|
title: z.ZodString;
|
|
67
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
66
68
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.TEXT_GENERATION_QUOTA>;
|
|
67
69
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.TEXT>;
|
|
68
70
|
value: z.ZodNumber;
|
|
69
71
|
tooltip: z.ZodNullable<z.ZodString>;
|
|
70
72
|
}, z.core.$strip>, z.ZodObject<{
|
|
71
73
|
title: z.ZodString;
|
|
74
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
72
75
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.MAX_INPUT_LENGTH>;
|
|
73
76
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.TEXT>;
|
|
74
77
|
tooltip: z.ZodString;
|
|
75
78
|
value: z.ZodNumber;
|
|
76
79
|
}, z.core.$strip>, z.ZodObject<{
|
|
77
80
|
title: z.ZodString;
|
|
81
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
78
82
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.TEXT>;
|
|
79
83
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.WEB_SEARCH>;
|
|
80
84
|
isAvailable: z.ZodBoolean;
|
|
81
85
|
}, z.core.$strip>, z.ZodObject<{
|
|
82
86
|
title: z.ZodString;
|
|
87
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
83
88
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.TEXT>;
|
|
84
89
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.ADVANCED_TOOLS_ACCESS>;
|
|
85
90
|
isAvailable: z.ZodBoolean;
|
|
86
91
|
}, z.core.$strip>, z.ZodObject<{
|
|
87
92
|
title: z.ZodString;
|
|
93
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
88
94
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.TTS>;
|
|
89
95
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.TTS_MODEL_ACCESS>;
|
|
90
96
|
isAvailable: z.ZodBoolean;
|
|
91
97
|
modelId: z.ZodString;
|
|
92
98
|
}, z.core.$strip>, z.ZodObject<{
|
|
93
99
|
title: z.ZodString;
|
|
100
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
94
101
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.IMAGE_GENERATION>;
|
|
95
102
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_GENERATION_QUOTA>;
|
|
96
103
|
value: z.ZodNumber;
|
|
97
104
|
}, z.core.$strip>, z.ZodObject<{
|
|
98
105
|
title: z.ZodString;
|
|
106
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
99
107
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.TTS>;
|
|
100
108
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.TTS_QUOTA>;
|
|
101
109
|
value: z.ZodNumber;
|
|
102
110
|
}, z.core.$strip>, z.ZodObject<{
|
|
103
111
|
title: z.ZodString;
|
|
112
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
104
113
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.STT>;
|
|
105
114
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.STT_MODEL_ACCESS>;
|
|
106
115
|
isAvailable: z.ZodBoolean;
|
|
107
116
|
modelId: z.ZodString;
|
|
108
117
|
}, z.core.$strip>, z.ZodObject<{
|
|
109
118
|
title: z.ZodString;
|
|
119
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
110
120
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.STT>;
|
|
111
121
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.STT_QUOTA>;
|
|
112
122
|
value: z.ZodNumber;
|
|
113
123
|
}, z.core.$strip>, z.ZodObject<{
|
|
114
124
|
title: z.ZodString;
|
|
125
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
115
126
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.VIDEO>;
|
|
116
127
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.VIDEO_QUOTA>;
|
|
117
128
|
value: z.ZodNumber;
|
|
118
129
|
}, z.core.$strip>, z.ZodObject<{
|
|
119
130
|
title: z.ZodString;
|
|
131
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
120
132
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.VIDEO>;
|
|
121
133
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.VIDEO_MODEL_ACCESS>;
|
|
122
134
|
isAvailable: z.ZodBoolean;
|
|
123
135
|
modelId: z.ZodString;
|
|
124
136
|
}, z.core.$strip>, z.ZodObject<{
|
|
125
137
|
title: z.ZodString;
|
|
138
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
126
139
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.EXTENDED_CONTEXT>;
|
|
127
140
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.TEXT>;
|
|
128
141
|
isAvailable: z.ZodBoolean;
|
|
129
142
|
}, z.core.$strip>, z.ZodObject<{
|
|
130
143
|
title: z.ZodString;
|
|
144
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
131
145
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.PRESENTATION>;
|
|
132
146
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.PRESENTATION_QUOTA>;
|
|
133
147
|
value: z.ZodNumber;
|
|
134
148
|
}, z.core.$strip>, z.ZodObject<{
|
|
135
149
|
title: z.ZodString;
|
|
150
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
136
151
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.BASE>;
|
|
137
152
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.TOKENS>;
|
|
138
153
|
tokens: z.ZodNumber;
|
|
@@ -148,6 +163,7 @@ export declare namespace GetTeamToSubscriptionsCommand {
|
|
|
148
163
|
}, z.core.$strip>;
|
|
149
164
|
}, z.core.$strip>, z.ZodObject<{
|
|
150
165
|
title: z.ZodString;
|
|
166
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
151
167
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.BASE>;
|
|
152
168
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.CARRYOVER_BALANCE>;
|
|
153
169
|
isAvailable: z.ZodBoolean;
|
|
@@ -164,50 +180,59 @@ export declare namespace GetTeamToSubscriptionsCommand {
|
|
|
164
180
|
}, z.core.$strip>;
|
|
165
181
|
}, z.core.$strip>, z.ZodObject<{
|
|
166
182
|
title: z.ZodString;
|
|
183
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
167
184
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.MUSIC>;
|
|
168
185
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.MUSIC_QUOTA>;
|
|
169
186
|
value: z.ZodNumber;
|
|
170
187
|
}, z.core.$strip>, z.ZodObject<{
|
|
171
188
|
title: z.ZodString;
|
|
189
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
172
190
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.MUSIC>;
|
|
173
191
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.MUSIC_MODEL_ACCESS>;
|
|
174
192
|
isAvailable: z.ZodBoolean;
|
|
175
193
|
modelId: z.ZodString;
|
|
176
194
|
}, z.core.$strip>, z.ZodObject<{
|
|
177
195
|
title: z.ZodString;
|
|
196
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
178
197
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.WRITER>;
|
|
179
198
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.WRITER_QUOTA>;
|
|
180
199
|
value: z.ZodNumber;
|
|
181
200
|
}, z.core.$strip>, z.ZodObject<{
|
|
182
201
|
title: z.ZodString;
|
|
202
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
183
203
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.WRITER>;
|
|
184
204
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.WRITER_MODEL_ACCESS>;
|
|
185
205
|
isAvailable: z.ZodBoolean;
|
|
186
206
|
modelId: z.ZodString;
|
|
187
207
|
}, z.core.$strip>, z.ZodObject<{
|
|
188
208
|
title: z.ZodString;
|
|
209
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
189
210
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.IMAGE_EDITOR>;
|
|
190
211
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_EDITOR_QUOTA>;
|
|
191
212
|
value: z.ZodNumber;
|
|
192
213
|
}, z.core.$strip>, z.ZodObject<{
|
|
193
214
|
title: z.ZodString;
|
|
215
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
194
216
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.IMAGE_EDITOR>;
|
|
195
217
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_EDITOR_MODEL_ACCESS>;
|
|
196
218
|
isAvailable: z.ZodBoolean;
|
|
197
219
|
modelId: z.ZodString;
|
|
198
220
|
}, z.core.$strip>, z.ZodObject<{
|
|
199
221
|
title: z.ZodString;
|
|
222
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
200
223
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.INTERIOR_DESIGN>;
|
|
201
224
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.INTERIOR_DESIGN_QUOTA>;
|
|
202
225
|
value: z.ZodNumber;
|
|
203
226
|
}, z.core.$strip>, z.ZodObject<{
|
|
204
227
|
title: z.ZodString;
|
|
228
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
205
229
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.INTERIOR_DESIGN>;
|
|
206
230
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.INTERIOR_DESIGN_MODEL_ACCESS>;
|
|
207
231
|
isAvailable: z.ZodBoolean;
|
|
208
232
|
modelId: z.ZodString;
|
|
209
233
|
}, z.core.$strip>, z.ZodObject<{
|
|
210
234
|
title: z.ZodString;
|
|
235
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
211
236
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_GENERATION_ACCESS>;
|
|
212
237
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.IMAGE_GENERATION>;
|
|
213
238
|
order: z.ZodNumber;
|
|
@@ -215,74 +240,87 @@ export declare namespace GetTeamToSubscriptionsCommand {
|
|
|
215
240
|
isAvailable: z.ZodBoolean;
|
|
216
241
|
}, z.core.$strip>, z.ZodObject<{
|
|
217
242
|
title: z.ZodString;
|
|
243
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
218
244
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.SPELL_CORRECTOR>;
|
|
219
245
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.SPELL_CORRECTOR_QUOTA>;
|
|
220
246
|
value: z.ZodNumber;
|
|
221
247
|
}, z.core.$strip>, z.ZodObject<{
|
|
222
248
|
title: z.ZodString;
|
|
249
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
223
250
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.SPELL_CORRECTOR>;
|
|
224
251
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.SPELL_CORRECTOR_MODEL_ACCESS>;
|
|
225
252
|
isAvailable: z.ZodBoolean;
|
|
226
253
|
modelId: z.ZodString;
|
|
227
254
|
}, z.core.$strip>, z.ZodObject<{
|
|
228
255
|
title: z.ZodString;
|
|
256
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
229
257
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.PARAPHRASE>;
|
|
230
258
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.PARAPHRASE_TYPE_ACCESS>;
|
|
231
259
|
isAvailable: z.ZodBoolean;
|
|
232
260
|
modelId: z.ZodString;
|
|
233
261
|
}, z.core.$strip>, z.ZodObject<{
|
|
234
262
|
title: z.ZodString;
|
|
263
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
235
264
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.MARKETPLACE_CARD>;
|
|
236
265
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.MARKETPLACE_CARD_QUOTA>;
|
|
237
266
|
value: z.ZodNumber;
|
|
238
267
|
}, z.core.$strip>, z.ZodObject<{
|
|
239
268
|
title: z.ZodString;
|
|
269
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
240
270
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.MARKETPLACE_CARD>;
|
|
241
271
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.MARKETPLACE_CARD_MODEL_ACCESS>;
|
|
242
272
|
isAvailable: z.ZodBoolean;
|
|
243
273
|
modelId: z.ZodString;
|
|
244
274
|
}, z.core.$strip>, z.ZodObject<{
|
|
245
275
|
title: z.ZodString;
|
|
276
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
246
277
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.EDU_TASK>;
|
|
247
278
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.EDU_TASK_QUOTA>;
|
|
248
279
|
value: z.ZodNumber;
|
|
249
280
|
}, z.core.$strip>, z.ZodObject<{
|
|
250
281
|
title: z.ZodString;
|
|
282
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
251
283
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.EDU_TASK>;
|
|
252
284
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.EDU_TASK_MODEL_ACCESS>;
|
|
253
285
|
isAvailable: z.ZodBoolean;
|
|
254
286
|
modelId: z.ZodString;
|
|
255
287
|
}, z.core.$strip>, z.ZodObject<{
|
|
256
288
|
title: z.ZodString;
|
|
289
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
257
290
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.VIDEO_EDITOR>;
|
|
258
291
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.VIDEO_EDITOR_QUOTA>;
|
|
259
292
|
value: z.ZodNumber;
|
|
260
293
|
}, z.core.$strip>, z.ZodObject<{
|
|
261
294
|
title: z.ZodString;
|
|
295
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
262
296
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.VIDEO_EDITOR>;
|
|
263
297
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.VIDEO_EDITOR_MODEL_ACCESS>;
|
|
264
298
|
isAvailable: z.ZodBoolean;
|
|
265
299
|
modelId: z.ZodString;
|
|
266
300
|
}, z.core.$strip>, z.ZodObject<{
|
|
267
301
|
title: z.ZodString;
|
|
302
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
268
303
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.HTML_PAGE_BUILDER>;
|
|
269
304
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.HTML_PAGE_BUILDER_MODEL_ACCESS>;
|
|
270
305
|
isAvailable: z.ZodBoolean;
|
|
271
306
|
modelId: z.ZodString;
|
|
272
307
|
}, z.core.$strip>, z.ZodObject<{
|
|
273
308
|
title: z.ZodString;
|
|
309
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
274
310
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.DIAGRAMS>;
|
|
275
311
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.DIAGRAMS_MODEL_ACCESS>;
|
|
276
312
|
isAvailable: z.ZodBoolean;
|
|
277
313
|
modelId: z.ZodString;
|
|
278
314
|
}, z.core.$strip>, z.ZodObject<{
|
|
279
315
|
title: z.ZodString;
|
|
316
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
280
317
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION>;
|
|
281
318
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_MODEL_ACCESS>;
|
|
282
319
|
isAvailable: z.ZodBoolean;
|
|
283
320
|
modelId: z.ZodString;
|
|
284
321
|
}, z.core.$strip>, z.ZodObject<{
|
|
285
322
|
title: z.ZodString;
|
|
323
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
286
324
|
kind: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_KIND.IMAGE_RECOGNITION>;
|
|
287
325
|
type: z.ZodLiteral<import("../..").SUBSCRIPTION_FEATURE_TYPE.IMAGE_RECOGNITION_QUOTA>;
|
|
288
326
|
value: z.ZodNumber;
|
|
@@ -32,5 +32,5 @@ __exportStar(require("./solving-edu-task"), exports);
|
|
|
32
32
|
__exportStar(require("./spell-corrector"), exports);
|
|
33
33
|
__exportStar(require("./html-page-builder"), exports);
|
|
34
34
|
__exportStar(require("./tool-workspace"), exports);
|
|
35
|
-
__exportStar(require("./photo-session"), exports);
|
|
36
35
|
__exportStar(require("./diagrams"), exports);
|
|
36
|
+
__exportStar(require("./sound-generation"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteAllSoundGenerationJobsCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
var DeleteAllSoundGenerationJobsCommand;
|
|
6
|
+
(function (DeleteAllSoundGenerationJobsCommand) {
|
|
7
|
+
DeleteAllSoundGenerationJobsCommand.ResponseSchema = zod_1.z.void();
|
|
8
|
+
})(DeleteAllSoundGenerationJobsCommand || (exports.DeleteAllSoundGenerationJobsCommand = DeleteAllSoundGenerationJobsCommand = {}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare namespace
|
|
2
|
+
export declare namespace DeleteSoundGenerationJobByUuidCommand {
|
|
3
3
|
const RequestParamsSchema: z.ZodObject<{
|
|
4
|
-
uuid: z.
|
|
4
|
+
uuid: z.ZodUUID;
|
|
5
5
|
}, z.core.$strip>;
|
|
6
6
|
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
7
7
|
const ResponseSchema: z.ZodVoid;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteSoundGenerationJobByUuidCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
var DeleteSoundGenerationJobByUuidCommand;
|
|
6
|
+
(function (DeleteSoundGenerationJobByUuidCommand) {
|
|
7
|
+
DeleteSoundGenerationJobByUuidCommand.RequestParamsSchema = zod_1.z.object({
|
|
8
|
+
uuid: zod_1.z.uuid(),
|
|
9
|
+
});
|
|
10
|
+
DeleteSoundGenerationJobByUuidCommand.ResponseSchema = zod_1.z.void();
|
|
11
|
+
})(DeleteSoundGenerationJobByUuidCommand || (exports.DeleteSoundGenerationJobByUuidCommand = DeleteSoundGenerationJobByUuidCommand = {}));
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace FindSoundGenerationJobByUUIDCommand {
|
|
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
|
+
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
11
|
+
error: z.ZodNullable<z.ZodString>;
|
|
12
|
+
isFavorite: z.ZodBoolean;
|
|
13
|
+
createdAt: z.ZodDate;
|
|
14
|
+
updatedAt: z.ZodDate;
|
|
15
|
+
prompt: z.ZodString;
|
|
16
|
+
title: z.ZodString;
|
|
17
|
+
modelId: z.ZodString;
|
|
18
|
+
price: z.ZodNumber;
|
|
19
|
+
params: z.ZodObject<{
|
|
20
|
+
durationInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
21
|
+
variations: z.ZodDefault<z.ZodNumber>;
|
|
22
|
+
loop: z.ZodDefault<z.ZodBoolean>;
|
|
23
|
+
promptInfluence: z.ZodDefault<z.ZodNumber>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
results: z.ZodArray<z.ZodObject<{
|
|
26
|
+
uuid: z.ZodUUID;
|
|
27
|
+
audioUrl: z.ZodURL;
|
|
28
|
+
duration: z.ZodNumber;
|
|
29
|
+
}, z.core.$strip>>;
|
|
30
|
+
attempts: z.ZodArray<z.ZodUnknown>;
|
|
31
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
32
|
+
dislikeReason: z.ZodNullable<z.ZodString>;
|
|
33
|
+
completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FindSoundGenerationJobByUUIDCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../../models");
|
|
6
|
+
var FindSoundGenerationJobByUUIDCommand;
|
|
7
|
+
(function (FindSoundGenerationJobByUUIDCommand) {
|
|
8
|
+
FindSoundGenerationJobByUUIDCommand.RequestParamsSchema = models_1.ToolJobSchema.pick({
|
|
9
|
+
uuid: true,
|
|
10
|
+
});
|
|
11
|
+
FindSoundGenerationJobByUUIDCommand.ResponseSchema = zod_1.z.object({
|
|
12
|
+
data: models_1.SoundGenerationJobSchema,
|
|
13
|
+
});
|
|
14
|
+
})(FindSoundGenerationJobByUUIDCommand || (exports.FindSoundGenerationJobByUUIDCommand = FindSoundGenerationJobByUUIDCommand = {}));
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { JOB_SORT, TOOL_JOB_STATUS } from '../../../constants';
|
|
3
|
+
export declare namespace FindSoundGenerationJobsCommand {
|
|
4
|
+
const RequestQuerySchema: z.ZodObject<{
|
|
5
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
6
|
+
offset: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
7
|
+
title: z.ZodOptional<z.ZodString>;
|
|
8
|
+
isFavorite: z.ZodOptional<z.ZodPreprocess<z.ZodBoolean>>;
|
|
9
|
+
createdAtSortOrder: z.ZodDefault<z.ZodOptional<z.ZodEnum<typeof JOB_SORT>>>;
|
|
10
|
+
status: z.ZodOptional<z.ZodEnum<typeof TOOL_JOB_STATUS>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
type RequestQuery = z.infer<typeof RequestQuerySchema>;
|
|
13
|
+
const ResponseSchema: z.ZodObject<{
|
|
14
|
+
data: z.ZodArray<z.ZodObject<{
|
|
15
|
+
uuid: z.ZodString;
|
|
16
|
+
status: z.ZodEnum<typeof TOOL_JOB_STATUS>;
|
|
17
|
+
error: z.ZodNullable<z.ZodString>;
|
|
18
|
+
isFavorite: z.ZodBoolean;
|
|
19
|
+
createdAt: z.ZodDate;
|
|
20
|
+
updatedAt: z.ZodDate;
|
|
21
|
+
prompt: z.ZodString;
|
|
22
|
+
title: z.ZodString;
|
|
23
|
+
modelId: z.ZodString;
|
|
24
|
+
price: z.ZodNumber;
|
|
25
|
+
params: z.ZodObject<{
|
|
26
|
+
durationInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
variations: z.ZodDefault<z.ZodNumber>;
|
|
28
|
+
loop: z.ZodDefault<z.ZodBoolean>;
|
|
29
|
+
promptInfluence: z.ZodDefault<z.ZodNumber>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
results: z.ZodArray<z.ZodObject<{
|
|
32
|
+
uuid: z.ZodUUID;
|
|
33
|
+
audioUrl: z.ZodURL;
|
|
34
|
+
duration: z.ZodNumber;
|
|
35
|
+
}, z.core.$strip>>;
|
|
36
|
+
attempts: z.ZodArray<z.ZodUnknown>;
|
|
37
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
38
|
+
dislikeReason: z.ZodNullable<z.ZodString>;
|
|
39
|
+
completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
totalPages: z.ZodNumber;
|
|
42
|
+
total: z.ZodNumber;
|
|
43
|
+
page: z.ZodNumber;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FindSoundGenerationJobsCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const constants_1 = require("../../../constants");
|
|
6
|
+
const helpers_1 = require("../../../helpers");
|
|
7
|
+
const models_1 = require("../../../models");
|
|
8
|
+
var FindSoundGenerationJobsCommand;
|
|
9
|
+
(function (FindSoundGenerationJobsCommand) {
|
|
10
|
+
FindSoundGenerationJobsCommand.RequestQuerySchema = zod_1.z.object({
|
|
11
|
+
limit: zod_1.z.coerce.number().int().min(1).max(100).default(20),
|
|
12
|
+
offset: zod_1.z.coerce.number().int().min(0).default(0).optional(),
|
|
13
|
+
title: zod_1.z.string().optional(),
|
|
14
|
+
isFavorite: helpers_1.QueryBooleanSchema.optional(),
|
|
15
|
+
createdAtSortOrder: zod_1.z.enum(constants_1.JOB_SORT).optional().default(constants_1.JOB_SORT.DESC),
|
|
16
|
+
status: zod_1.z.enum(constants_1.TOOL_JOB_STATUS).optional(),
|
|
17
|
+
});
|
|
18
|
+
FindSoundGenerationJobsCommand.ResponseSchema = zod_1.z.object({
|
|
19
|
+
data: zod_1.z.array(models_1.SoundGenerationJobSchema),
|
|
20
|
+
totalPages: zod_1.z.number(),
|
|
21
|
+
total: zod_1.z.number(),
|
|
22
|
+
page: zod_1.z.number(),
|
|
23
|
+
});
|
|
24
|
+
})(FindSoundGenerationJobsCommand || (exports.FindSoundGenerationJobsCommand = FindSoundGenerationJobsCommand = {}));
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace GetSoundGenerationToolConfigCommand {
|
|
3
|
+
const ResponseSchema: z.ZodObject<{
|
|
4
|
+
data: z.ZodObject<{
|
|
5
|
+
models: z.ZodArray<z.ZodObject<{
|
|
6
|
+
uuid: z.ZodString;
|
|
7
|
+
title: z.ZodString;
|
|
8
|
+
description: z.ZodString;
|
|
9
|
+
aiModel: z.ZodString;
|
|
10
|
+
pricePerSecond: z.ZodNumber;
|
|
11
|
+
order: z.ZodNumber;
|
|
12
|
+
status: z.ZodEnum<typeof import("../../..").TOOL_MODEL_STATUS>;
|
|
13
|
+
icons: z.ZodObject<{
|
|
14
|
+
light: z.ZodObject<{
|
|
15
|
+
svg: z.ZodString;
|
|
16
|
+
png: z.ZodString;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
dark: z.ZodObject<{
|
|
19
|
+
svg: z.ZodString;
|
|
20
|
+
png: z.ZodString;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
strategy: z.ZodEnum<typeof import("../../..").SOUND_GENERATION_STRATEGY>;
|
|
24
|
+
maxPromptLength: z.ZodNumber;
|
|
25
|
+
params: z.ZodObject<{
|
|
26
|
+
minDurationSeconds: z.ZodNumber;
|
|
27
|
+
maxDurationSeconds: z.ZodNumber;
|
|
28
|
+
durationStepSeconds: z.ZodNumber;
|
|
29
|
+
maxVariations: z.ZodNumber;
|
|
30
|
+
supportsLoop: z.ZodBoolean;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
createdAt: z.ZodDate;
|
|
33
|
+
updatedAt: z.ZodDate;
|
|
34
|
+
unlockedBy: z.ZodNullable<z.ZodObject<{
|
|
35
|
+
uuid: z.ZodString;
|
|
36
|
+
name: z.ZodString;
|
|
37
|
+
}, z.core.$strip>>;
|
|
38
|
+
canUse: z.ZodBoolean;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetSoundGenerationToolConfigCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../../models");
|
|
6
|
+
var GetSoundGenerationToolConfigCommand;
|
|
7
|
+
(function (GetSoundGenerationToolConfigCommand) {
|
|
8
|
+
GetSoundGenerationToolConfigCommand.ResponseSchema = zod_1.z.object({
|
|
9
|
+
data: models_1.SoundGenerationConfigSchema,
|
|
10
|
+
});
|
|
11
|
+
})(GetSoundGenerationToolConfigCommand || (exports.GetSoundGenerationToolConfigCommand = GetSoundGenerationToolConfigCommand = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './delete-all-sound-generation-jobs.command';
|
|
2
|
+
export * from './delete-sound-generation-job-by-uuid.command';
|
|
3
|
+
export * from './find-sound-generation-job-by-uuid.command';
|
|
4
|
+
export * from './find-sound-generation-jobs.command';
|
|
5
|
+
export * from './get-sound-generation-tool-config.command';
|
|
6
|
+
export * from './retry-sound-generation-job.command';
|
|
7
|
+
export * from './set-reaction-to-sound-generation-job.command';
|
|
8
|
+
export * from './sound-generation.command';
|
|
9
|
+
export * from './update-sound-generation-job-favorite.command';
|
|
10
|
+
export * from './update-sound-generation-job-title.command';
|
|
@@ -14,6 +14,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./delete-all-sound-generation-jobs.command"), exports);
|
|
18
|
+
__exportStar(require("./delete-sound-generation-job-by-uuid.command"), exports);
|
|
19
|
+
__exportStar(require("./find-sound-generation-job-by-uuid.command"), exports);
|
|
20
|
+
__exportStar(require("./find-sound-generation-jobs.command"), exports);
|
|
21
|
+
__exportStar(require("./get-sound-generation-tool-config.command"), exports);
|
|
22
|
+
__exportStar(require("./retry-sound-generation-job.command"), exports);
|
|
23
|
+
__exportStar(require("./set-reaction-to-sound-generation-job.command"), exports);
|
|
24
|
+
__exportStar(require("./sound-generation.command"), exports);
|
|
25
|
+
__exportStar(require("./update-sound-generation-job-favorite.command"), exports);
|
|
26
|
+
__exportStar(require("./update-sound-generation-job-title.command"), exports);
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace RetrySoundGenerationJobCommand {
|
|
3
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodUUID;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
7
|
+
const RequestBodySchema: z.ZodObject<{
|
|
8
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
9
|
+
modelId: z.ZodOptional<z.ZodUUID>;
|
|
10
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
11
|
+
durationInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
variations: z.ZodDefault<z.ZodNumber>;
|
|
13
|
+
loop: z.ZodDefault<z.ZodBoolean>;
|
|
14
|
+
promptInfluence: z.ZodDefault<z.ZodNumber>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
type RequestBody = z.infer<typeof RequestBodySchema>;
|
|
18
|
+
const ResponseSchema: z.ZodObject<{
|
|
19
|
+
data: z.ZodObject<{
|
|
20
|
+
uuid: z.ZodString;
|
|
21
|
+
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
22
|
+
error: z.ZodNullable<z.ZodString>;
|
|
23
|
+
isFavorite: z.ZodBoolean;
|
|
24
|
+
createdAt: z.ZodDate;
|
|
25
|
+
updatedAt: z.ZodDate;
|
|
26
|
+
prompt: z.ZodString;
|
|
27
|
+
title: z.ZodString;
|
|
28
|
+
modelId: z.ZodString;
|
|
29
|
+
price: z.ZodNumber;
|
|
30
|
+
params: z.ZodObject<{
|
|
31
|
+
durationInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
32
|
+
variations: z.ZodDefault<z.ZodNumber>;
|
|
33
|
+
loop: z.ZodDefault<z.ZodBoolean>;
|
|
34
|
+
promptInfluence: z.ZodDefault<z.ZodNumber>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
results: z.ZodArray<z.ZodObject<{
|
|
37
|
+
uuid: z.ZodUUID;
|
|
38
|
+
audioUrl: z.ZodURL;
|
|
39
|
+
duration: z.ZodNumber;
|
|
40
|
+
}, z.core.$strip>>;
|
|
41
|
+
attempts: z.ZodArray<z.ZodUnknown>;
|
|
42
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
|
|
43
|
+
dislikeReason: z.ZodNullable<z.ZodString>;
|
|
44
|
+
completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
}, z.core.$strip>;
|
|
47
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
48
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RetrySoundGenerationJobCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const models_1 = require("../../../models");
|
|
6
|
+
var RetrySoundGenerationJobCommand;
|
|
7
|
+
(function (RetrySoundGenerationJobCommand) {
|
|
8
|
+
RetrySoundGenerationJobCommand.RequestParamsSchema = zod_1.z.object({
|
|
9
|
+
uuid: zod_1.z.uuid(),
|
|
10
|
+
});
|
|
11
|
+
RetrySoundGenerationJobCommand.RequestBodySchema = zod_1.z.object({
|
|
12
|
+
prompt: zod_1.z.string().optional(),
|
|
13
|
+
modelId: zod_1.z.uuid().optional(),
|
|
14
|
+
params: models_1.SoundGenerationParamsSchema.optional(),
|
|
15
|
+
});
|
|
16
|
+
RetrySoundGenerationJobCommand.ResponseSchema = zod_1.z.object({
|
|
17
|
+
data: models_1.SoundGenerationJobSchema,
|
|
18
|
+
});
|
|
19
|
+
})(RetrySoundGenerationJobCommand || (exports.RetrySoundGenerationJobCommand = RetrySoundGenerationJobCommand = {}));
|
package/build/commands/tools/sound-generation/set-reaction-to-sound-generation-job.command.d.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { USER_REACTION } from '../../../constants';
|
|
3
|
+
export declare namespace SetReactionToSoundGenerationJobCommand {
|
|
4
|
+
const RequestSchema: z.ZodObject<{
|
|
5
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
|
|
6
|
+
dislikeReason: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
9
|
+
const RequestParamsSchema: z.ZodObject<{
|
|
10
|
+
uuid: z.ZodUUID;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
type RequestParams = z.infer<typeof RequestParamsSchema>;
|
|
13
|
+
const ResponseSchema: z.ZodObject<{
|
|
14
|
+
data: z.ZodObject<{
|
|
15
|
+
uuid: z.ZodString;
|
|
16
|
+
status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
|
|
17
|
+
error: z.ZodNullable<z.ZodString>;
|
|
18
|
+
isFavorite: z.ZodBoolean;
|
|
19
|
+
createdAt: z.ZodDate;
|
|
20
|
+
updatedAt: z.ZodDate;
|
|
21
|
+
prompt: z.ZodString;
|
|
22
|
+
title: z.ZodString;
|
|
23
|
+
modelId: z.ZodString;
|
|
24
|
+
price: z.ZodNumber;
|
|
25
|
+
params: z.ZodObject<{
|
|
26
|
+
durationInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
variations: z.ZodDefault<z.ZodNumber>;
|
|
28
|
+
loop: z.ZodDefault<z.ZodBoolean>;
|
|
29
|
+
promptInfluence: z.ZodDefault<z.ZodNumber>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
results: z.ZodArray<z.ZodObject<{
|
|
32
|
+
uuid: z.ZodUUID;
|
|
33
|
+
audioUrl: z.ZodURL;
|
|
34
|
+
duration: z.ZodNumber;
|
|
35
|
+
}, z.core.$strip>>;
|
|
36
|
+
attempts: z.ZodArray<z.ZodUnknown>;
|
|
37
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
|
|
38
|
+
dislikeReason: z.ZodNullable<z.ZodString>;
|
|
39
|
+
completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
43
|
+
}
|