@purpleschool/gptbot-tools 0.2.59-stage2 → 0.2.60
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/ai-proxy/routes/ai-proxy.routes.d.ts +0 -1
- package/build/ai-proxy/routes/ai-proxy.routes.js +0 -1
- package/build/index.d.ts +3 -3
- package/build/index.js +3 -3
- package/build/{photo-sessions/commands/delete-all-photo-sessions-jobs.command.d.ts → sound-generation/commands/delete-all-sound-generation-jobs.command.d.ts} +1 -1
- package/build/sound-generation/commands/delete-all-sound-generation-jobs.command.js +14 -0
- package/build/{photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.d.ts → sound-generation/commands/delete-sound-generation-job-by-uuid.command.d.ts} +2 -2
- package/build/sound-generation/commands/delete-sound-generation-job-by-uuid.command.js +14 -0
- package/build/{tts/commands/improve-tts-text.command.d.ts → sound-generation/commands/get-sound-generation-price.command.d.ts} +8 -6
- package/build/sound-generation/commands/get-sound-generation-price.command.js +17 -0
- package/build/sound-generation/commands/index.d.ts +8 -0
- package/build/sound-generation/commands/index.js +24 -0
- package/build/sound-generation/commands/retry-sound-generation-job.command.d.ts +84 -0
- package/build/sound-generation/commands/retry-sound-generation-job.command.js +17 -0
- package/build/sound-generation/commands/set-reaction-to-sound-generation-job.command.d.ts +85 -0
- package/build/{photo-sessions/commands/set-reaction-to-photo-sessions-job.command.js → sound-generation/commands/set-reaction-to-sound-generation-job.command.js} +7 -7
- package/build/sound-generation/commands/sound-generation.command.d.ts +94 -0
- package/build/sound-generation/commands/sound-generation.command.js +27 -0
- package/build/sound-generation/commands/update-sound-generation-job-favorite.command.d.ts +83 -0
- package/build/sound-generation/commands/update-sound-generation-job-favorite.command.js +16 -0
- package/build/sound-generation/commands/update-sound-generation-job-title.command.d.ts +83 -0
- package/build/sound-generation/commands/update-sound-generation-job-title.command.js +16 -0
- package/build/sound-generation/enums/index.d.ts +1 -0
- package/build/{photo-sessions/routes → sound-generation/enums}/index.js +1 -2
- package/build/sound-generation/enums/sound-generation-strategy.enum.d.ts +3 -0
- package/build/sound-generation/enums/sound-generation-strategy.enum.js +7 -0
- package/build/sound-generation/models/index.d.ts +5 -0
- package/build/{photo-sessions → sound-generation}/models/index.js +5 -4
- package/build/sound-generation/models/sound-generation-config.schema.d.ts +34 -0
- package/build/sound-generation/models/sound-generation-config.schema.js +8 -0
- package/build/sound-generation/models/sound-generation-job.schema.d.ts +38 -0
- package/build/sound-generation/models/sound-generation-job.schema.js +34 -0
- package/build/sound-generation/models/sound-generation-model.schema.d.ts +42 -0
- package/build/sound-generation/models/sound-generation-model.schema.js +28 -0
- package/build/sound-generation/models/sound-generation-params.schema.d.ts +8 -0
- package/build/sound-generation/models/sound-generation-params.schema.js +10 -0
- package/build/sound-generation/models/sound-generation-result.schema.d.ts +6 -0
- package/build/sound-generation/models/sound-generation-result.schema.js +8 -0
- package/build/sound-generation/queries/find-sound-generation-job-by-id.query.d.ts +82 -0
- package/build/sound-generation/queries/find-sound-generation-job-by-id.query.js +15 -0
- package/build/{photo-sessions/queries/find-photo-sessions-jobs.query.d.ts → sound-generation/queries/find-sound-generation-jobs.query.d.ts} +33 -63
- package/build/{photo-sessions/queries/find-photo-sessions-jobs.query.js → sound-generation/queries/find-sound-generation-jobs.query.js} +17 -10
- package/build/sound-generation/queries/get-sound-generation-config.query.d.ts +76 -0
- package/build/sound-generation/queries/get-sound-generation-config.query.js +10 -0
- package/build/sound-generation/queries/index.d.ts +3 -0
- package/build/{photo-sessions/commands/admin → sound-generation/queries}/index.js +3 -3
- package/build/sound-generation/routes/index.d.ts +1 -0
- package/build/{photo-sessions/enums → sound-generation/routes}/index.js +1 -2
- package/build/sound-generation/routes/sound-generation.amqp.routes.d.ts +13 -0
- package/build/sound-generation/routes/sound-generation.amqp.routes.js +16 -0
- package/build/tools/enums/tool-content-type.enum.d.ts +2 -2
- package/build/tools/enums/tool-content-type.enum.js +1 -1
- package/build/tools/enums/tool-type.enum.d.ts +2 -2
- package/build/tools/enums/tool-type.enum.js +1 -1
- package/build/tools/models/global-tools-config.schema.d.ts +25 -69
- package/build/tools/models/global-tools-config.schema.js +2 -2
- package/build/tools/models/tools-with-configs.schema.d.ts +88 -22
- package/build/tools/models/tools-with-configs.schema.js +5 -0
- package/build/tools/queries/get-global-tools-config.query.d.ts +46 -134
- package/build/tools/queries/get-tools-with-configs.query.d.ts +88 -22
- package/build/tts/commands/index.d.ts +0 -7
- package/build/tts/commands/index.js +0 -7
- package/build/tts/commands/retry-tts-job.command.d.ts +2 -29
- package/build/tts/commands/retry-tts-job.command.js +0 -2
- package/build/tts/commands/set-reaction-to-tts-job.command.d.ts +2 -29
- package/build/tts/commands/set-reaction-to-tts-job.command.js +0 -1
- package/build/tts/commands/tts.command.d.ts +3 -35
- package/build/tts/commands/tts.command.js +1 -4
- package/build/tts/commands/update-tts-job-favorite.command.d.ts +2 -29
- package/build/tts/commands/update-tts-job-favorite.command.js +0 -2
- package/build/tts/commands/update-tts-job-title.command.d.ts +2 -29
- package/build/tts/commands/update-tts-job-title.command.js +0 -2
- package/build/tts/enums/index.d.ts +0 -7
- package/build/tts/enums/index.js +0 -7
- package/build/tts/models/index.d.ts +0 -5
- package/build/tts/models/index.js +0 -5
- package/build/tts/models/tts-config-with-vendors.schema.d.ts +0 -1
- package/build/tts/models/tts-config.schema.d.ts +0 -11
- package/build/tts/models/tts-config.schema.js +0 -5
- package/build/tts/models/tts-job.schema.d.ts +2 -34
- package/build/tts/models/tts-job.schema.js +2 -22
- package/build/tts/models/tts-model-with-vendor.schema.d.ts +0 -1
- package/build/tts/models/tts-model.schema.d.ts +0 -1
- package/build/tts/models/tts-model.schema.js +0 -1
- package/build/tts/queries/find-tts-job-by-id.query.d.ts +2 -29
- package/build/tts/queries/find-tts-job-by-id.query.js +0 -2
- package/build/tts/queries/find-tts-jobs.query.d.ts +2 -29
- package/build/tts/queries/find-tts-jobs.query.js +0 -1
- package/build/tts/queries/get-tts-config-with-vendors.query.d.ts +0 -2
- package/build/tts/queries/get-tts-config.query.d.ts +0 -22
- package/build/tts/queries/index.d.ts +0 -2
- package/build/tts/queries/index.js +0 -2
- package/build/tts/routes/tts.amqp.routes.d.ts +0 -9
- package/build/tts/routes/tts.amqp.routes.js +0 -9
- package/package.json +1 -1
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.d.ts +0 -58
- package/build/photo-sessions/commands/admin/create-photo-session-style.command.js +0 -21
- package/build/photo-sessions/commands/admin/delete-photo-session-style.command.d.ts +0 -14
- package/build/photo-sessions/commands/admin/delete-photo-session-style.command.js +0 -12
- package/build/photo-sessions/commands/admin/index.d.ts +0 -3
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.d.ts +0 -55
- package/build/photo-sessions/commands/admin/update-photo-session-style.command.js +0 -28
- package/build/photo-sessions/commands/delete-all-photo-sessions-jobs.command.js +0 -15
- package/build/photo-sessions/commands/delete-photo-sessions-job-by-uuid.command.js +0 -14
- package/build/photo-sessions/commands/get-photo-sessions-price.command.d.ts +0 -46
- package/build/photo-sessions/commands/get-photo-sessions-price.command.js +0 -30
- package/build/photo-sessions/commands/index.d.ts +0 -10
- package/build/photo-sessions/commands/index.js +0 -26
- package/build/photo-sessions/commands/photo-sessions.command.d.ts +0 -147
- package/build/photo-sessions/commands/photo-sessions.command.js +0 -41
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.d.ts +0 -142
- package/build/photo-sessions/commands/retry-photo-sessions-job.command.js +0 -23
- package/build/photo-sessions/commands/set-reaction-to-photo-sessions-job.command.d.ts +0 -115
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.d.ts +0 -113
- package/build/photo-sessions/commands/update-photo-sessions-job-favorite.command.js +0 -16
- package/build/photo-sessions/commands/update-photo-sessions-job-title.command.d.ts +0 -113
- package/build/photo-sessions/commands/update-photo-sessions-job-title.command.js +0 -16
- package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.d.ts +0 -118
- package/build/photo-sessions/commands/update-published-status-photo-sessions-jobs.command.js +0 -26
- package/build/photo-sessions/enums/index.d.ts +0 -2
- package/build/photo-sessions/enums/photo-session-look-type.enum.d.ts +0 -5
- package/build/photo-sessions/enums/photo-session-look-type.enum.js +0 -9
- package/build/photo-sessions/enums/photo-session-strategy.enum.d.ts +0 -4
- package/build/photo-sessions/enums/photo-session-strategy.enum.js +0 -8
- package/build/photo-sessions/models/index.d.ts +0 -4
- package/build/photo-sessions/models/photo-session-config.schema.d.ts +0 -72
- package/build/photo-sessions/models/photo-session-config.schema.js +0 -16
- package/build/photo-sessions/models/photo-session-job.schema.d.ts +0 -78
- package/build/photo-sessions/models/photo-session-job.schema.js +0 -46
- package/build/photo-sessions/models/photo-session-model.schema.d.ts +0 -69
- package/build/photo-sessions/models/photo-session-model.schema.js +0 -42
- package/build/photo-sessions/models/photo-session-style.schema.d.ts +0 -29
- package/build/photo-sessions/models/photo-session-style.schema.js +0 -22
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.d.ts +0 -46
- package/build/photo-sessions/queries/find-photo-session-style-by-id.query.js +0 -10
- package/build/photo-sessions/queries/find-photo-session-styles.query.d.ts +0 -57
- package/build/photo-sessions/queries/find-photo-session-styles.query.js +0 -19
- package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.d.ts +0 -110
- package/build/photo-sessions/queries/find-photo-sessions-job-by-id.query.js +0 -10
- package/build/photo-sessions/queries/get-photo-sessions-config.query.d.ts +0 -142
- package/build/photo-sessions/queries/get-photo-sessions-config.query.js +0 -10
- package/build/photo-sessions/queries/index.d.ts +0 -5
- package/build/photo-sessions/queries/index.js +0 -21
- package/build/photo-sessions/routes/index.d.ts +0 -2
- package/build/photo-sessions/routes/photo-sessions.amqp.routes.d.ts +0 -19
- package/build/photo-sessions/routes/photo-sessions.amqp.routes.js +0 -22
- package/build/photo-sessions/routes/photo-sessions.http.routes.d.ts +0 -1
- package/build/photo-sessions/routes/photo-sessions.http.routes.js +0 -4
- package/build/tts/commands/create-voice-clone.command.d.ts +0 -56
- package/build/tts/commands/create-voice-clone.command.js +0 -19
- package/build/tts/commands/create-voice-design.command.d.ts +0 -35
- package/build/tts/commands/create-voice-design.command.js +0 -18
- package/build/tts/commands/delete-voice.command.d.ts +0 -15
- package/build/tts/commands/delete-voice.command.js +0 -13
- package/build/tts/commands/download-tts-job.command.d.ts +0 -25
- package/build/tts/commands/download-tts-job.command.js +0 -19
- package/build/tts/commands/improve-tts-text.command.js +0 -16
- package/build/tts/commands/select-voice-design.command.d.ts +0 -53
- package/build/tts/commands/select-voice-design.command.js +0 -16
- package/build/tts/commands/update-voice.command.d.ts +0 -53
- package/build/tts/commands/update-voice.command.js +0 -16
- package/build/tts/enums/tts-download-format.enum.d.ts +0 -5
- package/build/tts/enums/tts-download-format.enum.js +0 -9
- package/build/tts/enums/voice-category.enum.d.ts +0 -14
- package/build/tts/enums/voice-category.enum.js +0 -18
- package/build/tts/enums/voice-gender.enum.d.ts +0 -4
- package/build/tts/enums/voice-gender.enum.js +0 -8
- package/build/tts/enums/voice-source.enum.d.ts +0 -5
- package/build/tts/enums/voice-source.enum.js +0 -9
- package/build/tts/enums/voice-status.enum.d.ts +0 -5
- package/build/tts/enums/voice-status.enum.js +0 -9
- package/build/tts/enums/voice-tag-group.enum.d.ts +0 -5
- package/build/tts/enums/voice-tag-group.enum.js +0 -9
- package/build/tts/enums/voice-tag.enum.d.ts +0 -20
- package/build/tts/enums/voice-tag.enum.js +0 -24
- package/build/tts/models/voice-category.schema.d.ts +0 -7
- package/build/tts/models/voice-category.schema.js +0 -9
- package/build/tts/models/voice-design-draft.schema.d.ts +0 -12
- package/build/tts/models/voice-design-draft.schema.js +0 -12
- package/build/tts/models/voice-design-sample.schema.d.ts +0 -6
- package/build/tts/models/voice-design-sample.schema.js +0 -8
- package/build/tts/models/voice-tag.schema.d.ts +0 -9
- package/build/tts/models/voice-tag.schema.js +0 -11
- package/build/tts/models/voice.schema.d.ts +0 -25
- package/build/tts/models/voice.schema.js +0 -27
- package/build/tts/queries/find-voice-by-id.query.d.ts +0 -53
- package/build/tts/queries/find-voice-by-id.query.js +0 -16
- package/build/tts/queries/find-voices.query.d.ts +0 -87
- package/build/tts/queries/find-voices.query.js +0 -24
- /package/build/{photo-sessions → sound-generation}/index.d.ts +0 -0
- /package/build/{photo-sessions → sound-generation}/index.js +0 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace UpdateSoundGenerationJobTitleCommand {
|
|
3
|
+
const RequestSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
title: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
10
|
+
const ResponseSchema: z.ZodObject<{
|
|
11
|
+
isSuccess: z.ZodBoolean;
|
|
12
|
+
data: z.ZodOptional<z.ZodType<{
|
|
13
|
+
uuid: string;
|
|
14
|
+
prompt: string;
|
|
15
|
+
title: string;
|
|
16
|
+
status: import("../..").JOB_STATUS;
|
|
17
|
+
error: string | null;
|
|
18
|
+
internalError?: string | null | undefined;
|
|
19
|
+
modelId: string;
|
|
20
|
+
price: number;
|
|
21
|
+
params: {
|
|
22
|
+
durationInSeconds?: number | undefined;
|
|
23
|
+
variations: number;
|
|
24
|
+
loop: boolean;
|
|
25
|
+
promptInfluence: number;
|
|
26
|
+
};
|
|
27
|
+
results: {
|
|
28
|
+
audioUrl: string;
|
|
29
|
+
duration: number;
|
|
30
|
+
}[];
|
|
31
|
+
attempts: unknown[];
|
|
32
|
+
reaction: import("../..").USER_REACTION | null;
|
|
33
|
+
dislikeReason: string | null;
|
|
34
|
+
scope: import("../..").JOB_SCOPE;
|
|
35
|
+
locale: string;
|
|
36
|
+
processingAttemptId?: string | null | undefined;
|
|
37
|
+
userId?: string | null | undefined;
|
|
38
|
+
unregisteredUserId?: string | null | undefined;
|
|
39
|
+
tokenReservationId?: string | null | undefined;
|
|
40
|
+
isDeleted: boolean;
|
|
41
|
+
isFavorite: boolean;
|
|
42
|
+
createdAt: Date;
|
|
43
|
+
completedAt?: Date | null | undefined;
|
|
44
|
+
updatedAt: Date;
|
|
45
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
46
|
+
uuid: string;
|
|
47
|
+
prompt: string;
|
|
48
|
+
title: string;
|
|
49
|
+
status: import("../..").JOB_STATUS;
|
|
50
|
+
error: string | null;
|
|
51
|
+
internalError?: string | null | undefined;
|
|
52
|
+
modelId: string;
|
|
53
|
+
price: number;
|
|
54
|
+
params: {
|
|
55
|
+
durationInSeconds?: number | undefined;
|
|
56
|
+
variations: number;
|
|
57
|
+
loop: boolean;
|
|
58
|
+
promptInfluence: number;
|
|
59
|
+
};
|
|
60
|
+
results: {
|
|
61
|
+
audioUrl: string;
|
|
62
|
+
duration: number;
|
|
63
|
+
}[];
|
|
64
|
+
attempts: unknown[];
|
|
65
|
+
reaction: import("../..").USER_REACTION | null;
|
|
66
|
+
dislikeReason: string | null;
|
|
67
|
+
scope: import("../..").JOB_SCOPE;
|
|
68
|
+
locale: string;
|
|
69
|
+
processingAttemptId?: string | null | undefined;
|
|
70
|
+
userId?: string | null | undefined;
|
|
71
|
+
unregisteredUserId?: string | null | undefined;
|
|
72
|
+
tokenReservationId?: string | null | undefined;
|
|
73
|
+
isDeleted: boolean;
|
|
74
|
+
isFavorite: boolean;
|
|
75
|
+
createdAt: Date;
|
|
76
|
+
completedAt?: Date | null | undefined;
|
|
77
|
+
updatedAt: Date;
|
|
78
|
+
}, unknown>>>;
|
|
79
|
+
code: z.ZodOptional<z.ZodString>;
|
|
80
|
+
message: z.ZodOptional<z.ZodString>;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
83
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateSoundGenerationJobTitleCommand = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const command_response_schema_1 = require("../../common/models/command-response.schema");
|
|
6
|
+
const models_1 = require("../models");
|
|
7
|
+
var UpdateSoundGenerationJobTitleCommand;
|
|
8
|
+
(function (UpdateSoundGenerationJobTitleCommand) {
|
|
9
|
+
UpdateSoundGenerationJobTitleCommand.RequestSchema = zod_1.z.object({
|
|
10
|
+
uuid: zod_1.z.string().uuid(),
|
|
11
|
+
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
|
+
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
13
|
+
title: zod_1.z.string().min(1).max(40),
|
|
14
|
+
});
|
|
15
|
+
UpdateSoundGenerationJobTitleCommand.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.SoundGenerationJobSchema);
|
|
16
|
+
})(UpdateSoundGenerationJobTitleCommand || (exports.UpdateSoundGenerationJobTitleCommand = UpdateSoundGenerationJobTitleCommand = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sound-generation-strategy.enum';
|
|
@@ -14,5 +14,4 @@ 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("./photo-sessions.http.routes"), exports);
|
|
17
|
+
__exportStar(require("./sound-generation-strategy.enum"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SOUND_GENERATION_STRATEGY = void 0;
|
|
4
|
+
var SOUND_GENERATION_STRATEGY;
|
|
5
|
+
(function (SOUND_GENERATION_STRATEGY) {
|
|
6
|
+
SOUND_GENERATION_STRATEGY["ELEVENLABS_SOUND_GENERATION"] = "ELEVENLABS_SOUND_GENERATION";
|
|
7
|
+
})(SOUND_GENERATION_STRATEGY || (exports.SOUND_GENERATION_STRATEGY = SOUND_GENERATION_STRATEGY = {}));
|
|
@@ -14,7 +14,8 @@ 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("./
|
|
20
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./sound-generation-config.schema"), exports);
|
|
18
|
+
__exportStar(require("./sound-generation-job.schema"), exports);
|
|
19
|
+
__exportStar(require("./sound-generation-model.schema"), exports);
|
|
20
|
+
__exportStar(require("./sound-generation-params.schema"), exports);
|
|
21
|
+
__exportStar(require("./sound-generation-result.schema"), exports);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const SoundGenerationConfigSchema: z.ZodObject<{
|
|
3
|
+
models: z.ZodArray<z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
title: z.ZodString;
|
|
6
|
+
description: z.ZodString;
|
|
7
|
+
aiModel: z.ZodString;
|
|
8
|
+
pricePerSecond: z.ZodNumber;
|
|
9
|
+
order: z.ZodNumber;
|
|
10
|
+
status: z.ZodEnum<typeof import("../..").TOOL_MODEL_STATUS>;
|
|
11
|
+
icons: z.ZodObject<{
|
|
12
|
+
light: z.ZodObject<{
|
|
13
|
+
svg: z.ZodString;
|
|
14
|
+
png: z.ZodString;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
dark: z.ZodObject<{
|
|
17
|
+
svg: z.ZodString;
|
|
18
|
+
png: z.ZodString;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
strategy: z.ZodEnum<typeof import("..").SOUND_GENERATION_STRATEGY>;
|
|
22
|
+
maxPromptLength: z.ZodNumber;
|
|
23
|
+
params: z.ZodObject<{
|
|
24
|
+
minDurationSeconds: z.ZodNumber;
|
|
25
|
+
maxDurationSeconds: z.ZodNumber;
|
|
26
|
+
durationStepSeconds: z.ZodNumber;
|
|
27
|
+
maxVariations: z.ZodNumber;
|
|
28
|
+
supportsLoop: z.ZodBoolean;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
createdAt: z.ZodDate;
|
|
31
|
+
updatedAt: z.ZodDate;
|
|
32
|
+
}, z.core.$strip>>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
export type SoundGenerationConfig = z.infer<typeof SoundGenerationConfigSchema>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SoundGenerationConfigSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const sound_generation_model_schema_1 = require("./sound-generation-model.schema");
|
|
6
|
+
exports.SoundGenerationConfigSchema = zod_1.z.object({
|
|
7
|
+
models: zod_1.z.array(sound_generation_model_schema_1.SoundGenerationModelSchema),
|
|
8
|
+
});
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { JOB_SCOPE, USER_REACTION } from '../../common';
|
|
3
|
+
import { JOB_STATUS } from '../../tools';
|
|
4
|
+
export declare const SoundGenerationJobSchema: z.ZodObject<{
|
|
5
|
+
uuid: z.ZodString;
|
|
6
|
+
prompt: z.ZodString;
|
|
7
|
+
title: z.ZodString;
|
|
8
|
+
status: z.ZodEnum<typeof JOB_STATUS>;
|
|
9
|
+
error: z.ZodNullable<z.ZodString>;
|
|
10
|
+
internalError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
modelId: z.ZodString;
|
|
12
|
+
price: z.ZodNumber;
|
|
13
|
+
params: z.ZodObject<{
|
|
14
|
+
durationInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
variations: z.ZodDefault<z.ZodNumber>;
|
|
16
|
+
loop: z.ZodDefault<z.ZodBoolean>;
|
|
17
|
+
promptInfluence: z.ZodDefault<z.ZodNumber>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
results: z.ZodArray<z.ZodObject<{
|
|
20
|
+
audioUrl: z.ZodString;
|
|
21
|
+
duration: z.ZodNumber;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
attempts: z.ZodArray<z.ZodUnknown>;
|
|
24
|
+
reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
|
|
25
|
+
dislikeReason: z.ZodNullable<z.ZodString>;
|
|
26
|
+
scope: z.ZodEnum<typeof JOB_SCOPE>;
|
|
27
|
+
locale: z.ZodString;
|
|
28
|
+
processingAttemptId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
tokenReservationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
isDeleted: z.ZodBoolean;
|
|
33
|
+
isFavorite: z.ZodBoolean;
|
|
34
|
+
createdAt: z.ZodDate;
|
|
35
|
+
completedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
36
|
+
updatedAt: z.ZodDate;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
export type SoundGenerationJob = z.infer<typeof SoundGenerationJobSchema>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SoundGenerationJobSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const common_1 = require("../../common");
|
|
6
|
+
const tools_1 = require("../../tools");
|
|
7
|
+
const sound_generation_params_schema_1 = require("./sound-generation-params.schema");
|
|
8
|
+
const sound_generation_result_schema_1 = require("./sound-generation-result.schema");
|
|
9
|
+
exports.SoundGenerationJobSchema = zod_1.z.object({
|
|
10
|
+
uuid: zod_1.z.string(),
|
|
11
|
+
prompt: zod_1.z.string(),
|
|
12
|
+
title: zod_1.z.string(),
|
|
13
|
+
status: zod_1.z.nativeEnum(tools_1.JOB_STATUS),
|
|
14
|
+
error: zod_1.z.string().nullable(),
|
|
15
|
+
internalError: zod_1.z.string().nullable().optional(),
|
|
16
|
+
modelId: zod_1.z.string(),
|
|
17
|
+
price: zod_1.z.number(),
|
|
18
|
+
params: sound_generation_params_schema_1.SoundGenerationParamsSchema,
|
|
19
|
+
results: zod_1.z.array(sound_generation_result_schema_1.SoundGenerationResultSchema),
|
|
20
|
+
attempts: zod_1.z.array(zod_1.z.unknown()),
|
|
21
|
+
reaction: zod_1.z.nativeEnum(common_1.USER_REACTION).nullable(),
|
|
22
|
+
dislikeReason: zod_1.z.string().nullable(),
|
|
23
|
+
scope: zod_1.z.nativeEnum(common_1.JOB_SCOPE),
|
|
24
|
+
locale: zod_1.z.string(),
|
|
25
|
+
processingAttemptId: zod_1.z.string().uuid().nullable().optional(),
|
|
26
|
+
userId: zod_1.z.string().nullable().optional(),
|
|
27
|
+
unregisteredUserId: zod_1.z.string().nullable().optional(),
|
|
28
|
+
tokenReservationId: zod_1.z.string().nullable().optional(),
|
|
29
|
+
isDeleted: zod_1.z.boolean(),
|
|
30
|
+
isFavorite: zod_1.z.boolean(),
|
|
31
|
+
createdAt: zod_1.z.date(),
|
|
32
|
+
completedAt: zod_1.z.date().nullable().optional(),
|
|
33
|
+
updatedAt: zod_1.z.date(),
|
|
34
|
+
});
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { TOOL_MODEL_STATUS } from '../../common';
|
|
3
|
+
import { SOUND_GENERATION_STRATEGY } from '../enums';
|
|
4
|
+
export declare const SoundGenerationModelParamsSchema: z.ZodObject<{
|
|
5
|
+
minDurationSeconds: z.ZodNumber;
|
|
6
|
+
maxDurationSeconds: z.ZodNumber;
|
|
7
|
+
durationStepSeconds: z.ZodNumber;
|
|
8
|
+
maxVariations: z.ZodNumber;
|
|
9
|
+
supportsLoop: z.ZodBoolean;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export type SoundGenerationModelParams = z.infer<typeof SoundGenerationModelParamsSchema>;
|
|
12
|
+
export declare const SoundGenerationModelSchema: z.ZodObject<{
|
|
13
|
+
uuid: z.ZodString;
|
|
14
|
+
title: z.ZodString;
|
|
15
|
+
description: z.ZodString;
|
|
16
|
+
aiModel: z.ZodString;
|
|
17
|
+
pricePerSecond: z.ZodNumber;
|
|
18
|
+
order: z.ZodNumber;
|
|
19
|
+
status: z.ZodEnum<typeof TOOL_MODEL_STATUS>;
|
|
20
|
+
icons: z.ZodObject<{
|
|
21
|
+
light: z.ZodObject<{
|
|
22
|
+
svg: z.ZodString;
|
|
23
|
+
png: z.ZodString;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
dark: z.ZodObject<{
|
|
26
|
+
svg: z.ZodString;
|
|
27
|
+
png: z.ZodString;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
strategy: z.ZodEnum<typeof SOUND_GENERATION_STRATEGY>;
|
|
31
|
+
maxPromptLength: z.ZodNumber;
|
|
32
|
+
params: z.ZodObject<{
|
|
33
|
+
minDurationSeconds: z.ZodNumber;
|
|
34
|
+
maxDurationSeconds: z.ZodNumber;
|
|
35
|
+
durationStepSeconds: z.ZodNumber;
|
|
36
|
+
maxVariations: z.ZodNumber;
|
|
37
|
+
supportsLoop: z.ZodBoolean;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
createdAt: z.ZodDate;
|
|
40
|
+
updatedAt: z.ZodDate;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
export type SoundGenerationModel = z.infer<typeof SoundGenerationModelSchema>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SoundGenerationModelSchema = exports.SoundGenerationModelParamsSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const common_1 = require("../../common");
|
|
6
|
+
const enums_1 = require("../enums");
|
|
7
|
+
exports.SoundGenerationModelParamsSchema = zod_1.z.object({
|
|
8
|
+
minDurationSeconds: zod_1.z.number(),
|
|
9
|
+
maxDurationSeconds: zod_1.z.number(),
|
|
10
|
+
durationStepSeconds: zod_1.z.number(),
|
|
11
|
+
maxVariations: zod_1.z.number().int(),
|
|
12
|
+
supportsLoop: zod_1.z.boolean(),
|
|
13
|
+
});
|
|
14
|
+
exports.SoundGenerationModelSchema = zod_1.z.object({
|
|
15
|
+
uuid: zod_1.z.string(),
|
|
16
|
+
title: zod_1.z.string(),
|
|
17
|
+
description: zod_1.z.string(),
|
|
18
|
+
aiModel: zod_1.z.string(),
|
|
19
|
+
pricePerSecond: zod_1.z.number(),
|
|
20
|
+
order: zod_1.z.number(),
|
|
21
|
+
status: zod_1.z.nativeEnum(common_1.TOOL_MODEL_STATUS),
|
|
22
|
+
icons: common_1.IconVariantsSchema,
|
|
23
|
+
strategy: zod_1.z.nativeEnum(enums_1.SOUND_GENERATION_STRATEGY),
|
|
24
|
+
maxPromptLength: zod_1.z.number(),
|
|
25
|
+
params: exports.SoundGenerationModelParamsSchema,
|
|
26
|
+
createdAt: zod_1.z.date(),
|
|
27
|
+
updatedAt: zod_1.z.date(),
|
|
28
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const SoundGenerationParamsSchema: z.ZodObject<{
|
|
3
|
+
durationInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
4
|
+
variations: z.ZodDefault<z.ZodNumber>;
|
|
5
|
+
loop: z.ZodDefault<z.ZodBoolean>;
|
|
6
|
+
promptInfluence: z.ZodDefault<z.ZodNumber>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
export type SoundGenerationParams = z.infer<typeof SoundGenerationParamsSchema>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SoundGenerationParamsSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.SoundGenerationParamsSchema = zod_1.z.object({
|
|
6
|
+
durationInSeconds: zod_1.z.number().min(0.5).max(30).multipleOf(0.5).optional(),
|
|
7
|
+
variations: zod_1.z.number().int().min(1).max(4).default(1),
|
|
8
|
+
loop: zod_1.z.boolean().default(false),
|
|
9
|
+
promptInfluence: zod_1.z.number().min(0).max(1).default(0.3),
|
|
10
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SoundGenerationResultSchema = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.SoundGenerationResultSchema = zod_1.z.object({
|
|
6
|
+
audioUrl: zod_1.z.string().url(),
|
|
7
|
+
duration: zod_1.z.number().nonnegative(),
|
|
8
|
+
});
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare namespace FindSoundGenerationJobByIdQuery {
|
|
3
|
+
const RequestSchema: z.ZodObject<{
|
|
4
|
+
uuid: z.ZodString;
|
|
5
|
+
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
type Request = z.infer<typeof RequestSchema>;
|
|
9
|
+
const ResponseSchema: z.ZodObject<{
|
|
10
|
+
isSuccess: z.ZodBoolean;
|
|
11
|
+
data: z.ZodOptional<z.ZodType<{
|
|
12
|
+
uuid: string;
|
|
13
|
+
prompt: string;
|
|
14
|
+
title: string;
|
|
15
|
+
status: import("../..").JOB_STATUS;
|
|
16
|
+
error: string | null;
|
|
17
|
+
internalError?: string | null | undefined;
|
|
18
|
+
modelId: string;
|
|
19
|
+
price: number;
|
|
20
|
+
params: {
|
|
21
|
+
durationInSeconds?: number | undefined;
|
|
22
|
+
variations: number;
|
|
23
|
+
loop: boolean;
|
|
24
|
+
promptInfluence: number;
|
|
25
|
+
};
|
|
26
|
+
results: {
|
|
27
|
+
audioUrl: string;
|
|
28
|
+
duration: number;
|
|
29
|
+
}[];
|
|
30
|
+
attempts: unknown[];
|
|
31
|
+
reaction: import("../..").USER_REACTION | null;
|
|
32
|
+
dislikeReason: string | null;
|
|
33
|
+
scope: import("../..").JOB_SCOPE;
|
|
34
|
+
locale: string;
|
|
35
|
+
processingAttemptId?: string | null | undefined;
|
|
36
|
+
userId?: string | null | undefined;
|
|
37
|
+
unregisteredUserId?: string | null | undefined;
|
|
38
|
+
tokenReservationId?: string | null | undefined;
|
|
39
|
+
isDeleted: boolean;
|
|
40
|
+
isFavorite: boolean;
|
|
41
|
+
createdAt: Date;
|
|
42
|
+
completedAt?: Date | null | undefined;
|
|
43
|
+
updatedAt: Date;
|
|
44
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
45
|
+
uuid: string;
|
|
46
|
+
prompt: string;
|
|
47
|
+
title: string;
|
|
48
|
+
status: import("../..").JOB_STATUS;
|
|
49
|
+
error: string | null;
|
|
50
|
+
internalError?: string | null | undefined;
|
|
51
|
+
modelId: string;
|
|
52
|
+
price: number;
|
|
53
|
+
params: {
|
|
54
|
+
durationInSeconds?: number | undefined;
|
|
55
|
+
variations: number;
|
|
56
|
+
loop: boolean;
|
|
57
|
+
promptInfluence: number;
|
|
58
|
+
};
|
|
59
|
+
results: {
|
|
60
|
+
audioUrl: string;
|
|
61
|
+
duration: number;
|
|
62
|
+
}[];
|
|
63
|
+
attempts: unknown[];
|
|
64
|
+
reaction: import("../..").USER_REACTION | null;
|
|
65
|
+
dislikeReason: string | null;
|
|
66
|
+
scope: import("../..").JOB_SCOPE;
|
|
67
|
+
locale: string;
|
|
68
|
+
processingAttemptId?: string | null | undefined;
|
|
69
|
+
userId?: string | null | undefined;
|
|
70
|
+
unregisteredUserId?: string | null | undefined;
|
|
71
|
+
tokenReservationId?: string | null | undefined;
|
|
72
|
+
isDeleted: boolean;
|
|
73
|
+
isFavorite: boolean;
|
|
74
|
+
createdAt: Date;
|
|
75
|
+
completedAt?: Date | null | undefined;
|
|
76
|
+
updatedAt: Date;
|
|
77
|
+
}, unknown>>>;
|
|
78
|
+
code: z.ZodOptional<z.ZodString>;
|
|
79
|
+
message: z.ZodOptional<z.ZodString>;
|
|
80
|
+
}, z.core.$strip>;
|
|
81
|
+
type Response = z.infer<typeof ResponseSchema>;
|
|
82
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FindSoundGenerationJobByIdQuery = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const command_response_schema_1 = require("../../common/models/command-response.schema");
|
|
6
|
+
const models_1 = require("../models");
|
|
7
|
+
var FindSoundGenerationJobByIdQuery;
|
|
8
|
+
(function (FindSoundGenerationJobByIdQuery) {
|
|
9
|
+
FindSoundGenerationJobByIdQuery.RequestSchema = zod_1.z.object({
|
|
10
|
+
uuid: zod_1.z.string().uuid(),
|
|
11
|
+
userId: zod_1.z.string().uuid().nullable().optional(),
|
|
12
|
+
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
13
|
+
});
|
|
14
|
+
FindSoundGenerationJobByIdQuery.ResponseSchema = (0, command_response_schema_1.ICommandResponseSchema)(models_1.SoundGenerationJobSchema);
|
|
15
|
+
})(FindSoundGenerationJobByIdQuery || (exports.FindSoundGenerationJobByIdQuery = FindSoundGenerationJobByIdQuery = {}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { JOB_SCOPE } from '../../common';
|
|
3
3
|
import { JOB_SORT, JOB_STATUS } from '../../tools';
|
|
4
|
-
export declare namespace
|
|
4
|
+
export declare namespace FindSoundGenerationJobsQuery {
|
|
5
5
|
const RequestSchema: z.ZodObject<{
|
|
6
6
|
userId: z.ZodOptional<z.ZodString>;
|
|
7
7
|
unregisteredUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -20,48 +20,33 @@ export declare namespace FindPhotoSessionsJobsQuery {
|
|
|
20
20
|
data: {
|
|
21
21
|
uuid: string;
|
|
22
22
|
prompt: string;
|
|
23
|
-
reaction: import("../..").USER_REACTION | null;
|
|
24
|
-
dislikeReason: string | null;
|
|
25
|
-
externalId: string | null;
|
|
26
23
|
title: string;
|
|
27
24
|
status: JOB_STATUS;
|
|
28
25
|
error: string | null;
|
|
26
|
+
internalError?: string | null | undefined;
|
|
29
27
|
modelId: string;
|
|
30
28
|
price: number;
|
|
31
|
-
previewUrl: string | null;
|
|
32
29
|
params: {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
mimeType: string;
|
|
38
|
-
type: string;
|
|
39
|
-
size: number;
|
|
40
|
-
duration?: number | null | undefined;
|
|
41
|
-
content?: string | null | undefined;
|
|
42
|
-
contentLength?: number | null | undefined;
|
|
43
|
-
}[] | undefined;
|
|
44
|
-
imageUrls?: string[] | undefined;
|
|
45
|
-
styleId?: string | null | undefined;
|
|
46
|
-
referenceId?: string | null | undefined;
|
|
47
|
-
referenceIds?: string[] | undefined;
|
|
48
|
-
customStylePrompt?: string | null | undefined;
|
|
49
|
-
customStylePhotos?: string[] | undefined;
|
|
50
|
-
clothingPhotos?: string[] | undefined;
|
|
51
|
-
hairstylePhotos?: string[] | undefined;
|
|
52
|
-
accessoriesPhotos?: string[] | undefined;
|
|
53
|
-
aspectRatio?: string | undefined;
|
|
54
|
-
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
30
|
+
durationInSeconds?: number | undefined;
|
|
31
|
+
variations: number;
|
|
32
|
+
loop: boolean;
|
|
33
|
+
promptInfluence: number;
|
|
55
34
|
};
|
|
56
|
-
|
|
57
|
-
|
|
35
|
+
results: {
|
|
36
|
+
audioUrl: string;
|
|
37
|
+
duration: number;
|
|
38
|
+
}[];
|
|
39
|
+
attempts: unknown[];
|
|
40
|
+
reaction: import("../..").USER_REACTION | null;
|
|
41
|
+
dislikeReason: string | null;
|
|
42
|
+
scope: JOB_SCOPE;
|
|
43
|
+
locale: string;
|
|
44
|
+
processingAttemptId?: string | null | undefined;
|
|
58
45
|
userId?: string | null | undefined;
|
|
59
46
|
unregisteredUserId?: string | null | undefined;
|
|
60
|
-
|
|
61
|
-
postId: string | null;
|
|
47
|
+
tokenReservationId?: string | null | undefined;
|
|
62
48
|
isDeleted: boolean;
|
|
63
49
|
isFavorite: boolean;
|
|
64
|
-
tokenReservationId?: string | null | undefined;
|
|
65
50
|
createdAt: Date;
|
|
66
51
|
completedAt?: Date | null | undefined;
|
|
67
52
|
updatedAt: Date;
|
|
@@ -73,48 +58,33 @@ export declare namespace FindPhotoSessionsJobsQuery {
|
|
|
73
58
|
data: {
|
|
74
59
|
uuid: string;
|
|
75
60
|
prompt: string;
|
|
76
|
-
reaction: import("../..").USER_REACTION | null;
|
|
77
|
-
dislikeReason: string | null;
|
|
78
|
-
externalId: string | null;
|
|
79
61
|
title: string;
|
|
80
62
|
status: JOB_STATUS;
|
|
81
63
|
error: string | null;
|
|
64
|
+
internalError?: string | null | undefined;
|
|
82
65
|
modelId: string;
|
|
83
66
|
price: number;
|
|
84
|
-
previewUrl: string | null;
|
|
85
67
|
params: {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
mimeType: string;
|
|
91
|
-
type: string;
|
|
92
|
-
size: number;
|
|
93
|
-
duration?: number | null | undefined;
|
|
94
|
-
content?: string | null | undefined;
|
|
95
|
-
contentLength?: number | null | undefined;
|
|
96
|
-
}[] | undefined;
|
|
97
|
-
imageUrls?: string[] | undefined;
|
|
98
|
-
styleId?: string | null | undefined;
|
|
99
|
-
referenceId?: string | null | undefined;
|
|
100
|
-
referenceIds?: string[] | undefined;
|
|
101
|
-
customStylePrompt?: string | null | undefined;
|
|
102
|
-
customStylePhotos?: string[] | undefined;
|
|
103
|
-
clothingPhotos?: string[] | undefined;
|
|
104
|
-
hairstylePhotos?: string[] | undefined;
|
|
105
|
-
accessoriesPhotos?: string[] | undefined;
|
|
106
|
-
aspectRatio?: string | undefined;
|
|
107
|
-
userHasActiveSubscriptionOrProduct?: boolean | undefined;
|
|
68
|
+
durationInSeconds?: number | undefined;
|
|
69
|
+
variations: number;
|
|
70
|
+
loop: boolean;
|
|
71
|
+
promptInfluence: number;
|
|
108
72
|
};
|
|
109
|
-
|
|
110
|
-
|
|
73
|
+
results: {
|
|
74
|
+
audioUrl: string;
|
|
75
|
+
duration: number;
|
|
76
|
+
}[];
|
|
77
|
+
attempts: unknown[];
|
|
78
|
+
reaction: import("../..").USER_REACTION | null;
|
|
79
|
+
dislikeReason: string | null;
|
|
80
|
+
scope: JOB_SCOPE;
|
|
81
|
+
locale: string;
|
|
82
|
+
processingAttemptId?: string | null | undefined;
|
|
111
83
|
userId?: string | null | undefined;
|
|
112
84
|
unregisteredUserId?: string | null | undefined;
|
|
113
|
-
|
|
114
|
-
postId: string | null;
|
|
85
|
+
tokenReservationId?: string | null | undefined;
|
|
115
86
|
isDeleted: boolean;
|
|
116
87
|
isFavorite: boolean;
|
|
117
|
-
tokenReservationId?: string | null | undefined;
|
|
118
88
|
createdAt: Date;
|
|
119
89
|
completedAt?: Date | null | undefined;
|
|
120
90
|
updatedAt: Date;
|