@purpleschool/gptbot-tools 0.2.57 → 0.2.59
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/image-editor/commands/get-image-editor-price.command.d.ts +2 -0
- package/build/image-editor/commands/get-image-editor-price.command.js +2 -0
- package/build/image-editor/commands/image-editor-model/get-image-editor-model-by-uuid.command.d.ts +6 -0
- package/build/image-editor/commands/image-editor.command.d.ts +3 -0
- package/build/image-editor/commands/image-editor.command.js +1 -0
- package/build/image-editor/commands/retry-image-editor-job.command.d.ts +3 -0
- package/build/image-editor/commands/set-reaction-to-image-editor-job.command.d.ts +2 -0
- package/build/image-editor/commands/update-image-editor-job-favorite.command.d.ts +2 -0
- package/build/image-editor/commands/update-image-editor-job-title.command.d.ts +2 -0
- package/build/image-editor/commands/update-published-status-image-editor-jobs.command.d.ts +2 -0
- package/build/image-editor/enums/image-editor-strategy.enum.d.ts +1 -0
- package/build/image-editor/enums/image-editor-strategy.enum.js +1 -0
- package/build/image-editor/models/image-editor-config.schema.d.ts +3 -0
- package/build/image-editor/models/image-editor-job.schema.d.ts +2 -0
- package/build/image-editor/models/image-editor-job.schema.js +1 -0
- package/build/image-editor/models/image-editor-model.schema.d.ts +6 -0
- package/build/image-editor/models/image-editor-model.schema.js +5 -0
- package/build/image-editor/queries/find-image-editor-job-by-id.query.d.ts +2 -0
- package/build/image-editor/queries/find-image-editor-jobs.query.d.ts +2 -0
- package/build/image-editor/queries/find-image-jobs.query.d.ts +2 -0
- package/build/image-editor/queries/get-image-editor-config.query.d.ts +6 -0
- package/build/index.d.ts +0 -3
- package/build/index.js +0 -3
- package/build/tool-workspace/models/tool-workspace-contents.schema.d.ts +1 -0
- package/build/tool-workspace/models/tool-workspace-item.schema.d.ts +1 -0
- package/build/tool-workspace/models/tool-workspace-job.schema.d.ts +1 -0
- package/build/tool-workspace/queries/find-tool-workspace-by-uuid.query.d.ts +2 -0
- package/build/tools/enums/tool-content-type.enum.d.ts +1 -2
- package/build/tools/enums/tool-content-type.enum.js +1 -2
- package/build/tools/enums/tool-type.enum.d.ts +0 -1
- package/build/tools/enums/tool-type.enum.js +0 -1
- package/build/tools/models/global-tools-config.schema.d.ts +3 -76
- package/build/tools/models/global-tools-config.schema.js +0 -2
- package/build/tools/models/tools-with-configs.schema.d.ts +6 -22
- package/build/tools/queries/get-global-tools-config.query.d.ts +6 -152
- package/build/tools/queries/get-tools-with-configs.query.d.ts +6 -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/index.js +0 -19
- 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.d.ts +0 -17
- 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.d.ts +0 -16
- 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/set-reaction-to-photo-sessions-job.command.js +0 -27
- 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/index.js +0 -18
- 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/index.d.ts +0 -5
- package/build/photo-sessions/index.js +0 -21
- package/build/photo-sessions/models/index.d.ts +0 -4
- package/build/photo-sessions/models/index.js +0 -20
- 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/find-photo-sessions-jobs.query.d.ts +0 -130
- package/build/photo-sessions/queries/find-photo-sessions-jobs.query.js +0 -28
- 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/index.js +0 -18
- 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.d.ts +0 -22
- 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
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ImproveTTSTextCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const common_1 = require("../../common");
|
|
6
|
-
var ImproveTTSTextCommand;
|
|
7
|
-
(function (ImproveTTSTextCommand) {
|
|
8
|
-
ImproveTTSTextCommand.RequestSchema = zod_1.z.object({
|
|
9
|
-
userInput: zod_1.z.string(),
|
|
10
|
-
locale: common_1.LocaleSchema.optional(),
|
|
11
|
-
});
|
|
12
|
-
ImproveTTSTextCommand.ResponseDataSchema = zod_1.z.object({
|
|
13
|
-
text: zod_1.z.string(),
|
|
14
|
-
});
|
|
15
|
-
ImproveTTSTextCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(ImproveTTSTextCommand.ResponseDataSchema);
|
|
16
|
-
})(ImproveTTSTextCommand || (exports.ImproveTTSTextCommand = ImproveTTSTextCommand = {}));
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare namespace SelectVoiceDesignCommand {
|
|
3
|
-
const RequestSchema: z.ZodObject<{
|
|
4
|
-
designId: z.ZodString;
|
|
5
|
-
sampleId: z.ZodString;
|
|
6
|
-
userId: z.ZodString;
|
|
7
|
-
locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
|
|
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
|
-
source: import("..").VOICE_SOURCE;
|
|
15
|
-
title: string;
|
|
16
|
-
description: string;
|
|
17
|
-
gender: import("..").VOICE_GENDER | null;
|
|
18
|
-
trait: string | null;
|
|
19
|
-
ageRange: string | null;
|
|
20
|
-
categories: import("..").VOICE_CATEGORY[];
|
|
21
|
-
previewUrl: string;
|
|
22
|
-
status: import("..").VOICE_STATUS;
|
|
23
|
-
error: string | null;
|
|
24
|
-
order: number;
|
|
25
|
-
isDeleted: boolean;
|
|
26
|
-
userId: string | null;
|
|
27
|
-
unregisteredUserId: string | null;
|
|
28
|
-
createdAt: Date;
|
|
29
|
-
updatedAt: Date;
|
|
30
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
31
|
-
uuid: string;
|
|
32
|
-
source: import("..").VOICE_SOURCE;
|
|
33
|
-
title: string;
|
|
34
|
-
description: string;
|
|
35
|
-
gender: import("..").VOICE_GENDER | null;
|
|
36
|
-
trait: string | null;
|
|
37
|
-
ageRange: string | null;
|
|
38
|
-
categories: import("..").VOICE_CATEGORY[];
|
|
39
|
-
previewUrl: string;
|
|
40
|
-
status: import("..").VOICE_STATUS;
|
|
41
|
-
error: string | null;
|
|
42
|
-
order: number;
|
|
43
|
-
isDeleted: boolean;
|
|
44
|
-
userId: string | null;
|
|
45
|
-
unregisteredUserId: string | null;
|
|
46
|
-
createdAt: Date;
|
|
47
|
-
updatedAt: Date;
|
|
48
|
-
}, unknown>>>;
|
|
49
|
-
code: z.ZodOptional<z.ZodString>;
|
|
50
|
-
message: z.ZodOptional<z.ZodString>;
|
|
51
|
-
}, z.core.$strip>;
|
|
52
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
53
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SelectVoiceDesignCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const common_1 = require("../../common");
|
|
6
|
-
const models_1 = require("../models");
|
|
7
|
-
var SelectVoiceDesignCommand;
|
|
8
|
-
(function (SelectVoiceDesignCommand) {
|
|
9
|
-
SelectVoiceDesignCommand.RequestSchema = zod_1.z.object({
|
|
10
|
-
designId: zod_1.z.string().uuid(),
|
|
11
|
-
sampleId: zod_1.z.string().uuid(),
|
|
12
|
-
userId: zod_1.z.string().uuid(),
|
|
13
|
-
locale: common_1.LocaleSchema.optional(),
|
|
14
|
-
});
|
|
15
|
-
SelectVoiceDesignCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.VoiceSchema);
|
|
16
|
-
})(SelectVoiceDesignCommand || (exports.SelectVoiceDesignCommand = SelectVoiceDesignCommand = {}));
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare namespace UpdateVoiceCommand {
|
|
3
|
-
const RequestSchema: z.ZodObject<{
|
|
4
|
-
uuid: z.ZodString;
|
|
5
|
-
userId: z.ZodString;
|
|
6
|
-
locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
|
|
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
|
-
source: import("..").VOICE_SOURCE;
|
|
15
|
-
title: string;
|
|
16
|
-
description: string;
|
|
17
|
-
gender: import("..").VOICE_GENDER | null;
|
|
18
|
-
trait: string | null;
|
|
19
|
-
ageRange: string | null;
|
|
20
|
-
categories: import("..").VOICE_CATEGORY[];
|
|
21
|
-
previewUrl: string;
|
|
22
|
-
status: import("..").VOICE_STATUS;
|
|
23
|
-
error: string | null;
|
|
24
|
-
order: number;
|
|
25
|
-
isDeleted: boolean;
|
|
26
|
-
userId: string | null;
|
|
27
|
-
unregisteredUserId: string | null;
|
|
28
|
-
createdAt: Date;
|
|
29
|
-
updatedAt: Date;
|
|
30
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
31
|
-
uuid: string;
|
|
32
|
-
source: import("..").VOICE_SOURCE;
|
|
33
|
-
title: string;
|
|
34
|
-
description: string;
|
|
35
|
-
gender: import("..").VOICE_GENDER | null;
|
|
36
|
-
trait: string | null;
|
|
37
|
-
ageRange: string | null;
|
|
38
|
-
categories: import("..").VOICE_CATEGORY[];
|
|
39
|
-
previewUrl: string;
|
|
40
|
-
status: import("..").VOICE_STATUS;
|
|
41
|
-
error: string | null;
|
|
42
|
-
order: number;
|
|
43
|
-
isDeleted: boolean;
|
|
44
|
-
userId: string | null;
|
|
45
|
-
unregisteredUserId: string | null;
|
|
46
|
-
createdAt: Date;
|
|
47
|
-
updatedAt: Date;
|
|
48
|
-
}, unknown>>>;
|
|
49
|
-
code: z.ZodOptional<z.ZodString>;
|
|
50
|
-
message: z.ZodOptional<z.ZodString>;
|
|
51
|
-
}, z.core.$strip>;
|
|
52
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
53
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateVoiceCommand = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const common_1 = require("../../common");
|
|
6
|
-
const models_1 = require("../models");
|
|
7
|
-
var UpdateVoiceCommand;
|
|
8
|
-
(function (UpdateVoiceCommand) {
|
|
9
|
-
UpdateVoiceCommand.RequestSchema = zod_1.z.object({
|
|
10
|
-
uuid: zod_1.z.string().uuid(),
|
|
11
|
-
userId: zod_1.z.string().uuid(),
|
|
12
|
-
locale: common_1.LocaleSchema.optional(),
|
|
13
|
-
title: zod_1.z.string().min(1),
|
|
14
|
-
});
|
|
15
|
-
UpdateVoiceCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.VoiceSchema);
|
|
16
|
-
})(UpdateVoiceCommand || (exports.UpdateVoiceCommand = UpdateVoiceCommand = {}));
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TTS_DOWNLOAD_FORMAT = void 0;
|
|
4
|
-
var TTS_DOWNLOAD_FORMAT;
|
|
5
|
-
(function (TTS_DOWNLOAD_FORMAT) {
|
|
6
|
-
TTS_DOWNLOAD_FORMAT["MP3"] = "mp3";
|
|
7
|
-
TTS_DOWNLOAD_FORMAT["WAV"] = "wav";
|
|
8
|
-
TTS_DOWNLOAD_FORMAT["OPUS"] = "opus";
|
|
9
|
-
})(TTS_DOWNLOAD_FORMAT || (exports.TTS_DOWNLOAD_FORMAT = TTS_DOWNLOAD_FORMAT = {}));
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare enum VOICE_CATEGORY {
|
|
2
|
-
GAMES = "GAMES",
|
|
3
|
-
AUDIOBOOKS = "AUDIOBOOKS",
|
|
4
|
-
YOUTUBE = "YOUTUBE",
|
|
5
|
-
PODCASTS = "PODCASTS",
|
|
6
|
-
NEWS = "NEWS",
|
|
7
|
-
EDUCATION = "EDUCATION",
|
|
8
|
-
ADVERTISING = "ADVERTISING",
|
|
9
|
-
IVR = "IVR",
|
|
10
|
-
FAIRY_TALES = "FAIRY_TALES",
|
|
11
|
-
HORROR = "HORROR",
|
|
12
|
-
WHISPER = "WHISPER",
|
|
13
|
-
ROMANCE = "ROMANCE"
|
|
14
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VOICE_CATEGORY = void 0;
|
|
4
|
-
var VOICE_CATEGORY;
|
|
5
|
-
(function (VOICE_CATEGORY) {
|
|
6
|
-
VOICE_CATEGORY["GAMES"] = "GAMES";
|
|
7
|
-
VOICE_CATEGORY["AUDIOBOOKS"] = "AUDIOBOOKS";
|
|
8
|
-
VOICE_CATEGORY["YOUTUBE"] = "YOUTUBE";
|
|
9
|
-
VOICE_CATEGORY["PODCASTS"] = "PODCASTS";
|
|
10
|
-
VOICE_CATEGORY["NEWS"] = "NEWS";
|
|
11
|
-
VOICE_CATEGORY["EDUCATION"] = "EDUCATION";
|
|
12
|
-
VOICE_CATEGORY["ADVERTISING"] = "ADVERTISING";
|
|
13
|
-
VOICE_CATEGORY["IVR"] = "IVR";
|
|
14
|
-
VOICE_CATEGORY["FAIRY_TALES"] = "FAIRY_TALES";
|
|
15
|
-
VOICE_CATEGORY["HORROR"] = "HORROR";
|
|
16
|
-
VOICE_CATEGORY["WHISPER"] = "WHISPER";
|
|
17
|
-
VOICE_CATEGORY["ROMANCE"] = "ROMANCE";
|
|
18
|
-
})(VOICE_CATEGORY || (exports.VOICE_CATEGORY = VOICE_CATEGORY = {}));
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VOICE_GENDER = void 0;
|
|
4
|
-
var VOICE_GENDER;
|
|
5
|
-
(function (VOICE_GENDER) {
|
|
6
|
-
VOICE_GENDER["M"] = "M";
|
|
7
|
-
VOICE_GENDER["F"] = "F";
|
|
8
|
-
})(VOICE_GENDER || (exports.VOICE_GENDER = VOICE_GENDER = {}));
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VOICE_SOURCE = void 0;
|
|
4
|
-
var VOICE_SOURCE;
|
|
5
|
-
(function (VOICE_SOURCE) {
|
|
6
|
-
VOICE_SOURCE["LIBRARY"] = "LIBRARY";
|
|
7
|
-
VOICE_SOURCE["CLONE"] = "CLONE";
|
|
8
|
-
VOICE_SOURCE["DESIGN"] = "DESIGN";
|
|
9
|
-
})(VOICE_SOURCE || (exports.VOICE_SOURCE = VOICE_SOURCE = {}));
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VOICE_STATUS = void 0;
|
|
4
|
-
var VOICE_STATUS;
|
|
5
|
-
(function (VOICE_STATUS) {
|
|
6
|
-
VOICE_STATUS["PENDING"] = "PENDING";
|
|
7
|
-
VOICE_STATUS["READY"] = "READY";
|
|
8
|
-
VOICE_STATUS["FAILED"] = "FAILED";
|
|
9
|
-
})(VOICE_STATUS || (exports.VOICE_STATUS = VOICE_STATUS = {}));
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VOICE_TAG_GROUP = void 0;
|
|
4
|
-
var VOICE_TAG_GROUP;
|
|
5
|
-
(function (VOICE_TAG_GROUP) {
|
|
6
|
-
VOICE_TAG_GROUP["EMOTION"] = "EMOTION";
|
|
7
|
-
VOICE_TAG_GROUP["DELIVERY"] = "DELIVERY";
|
|
8
|
-
VOICE_TAG_GROUP["SOUND"] = "SOUND";
|
|
9
|
-
})(VOICE_TAG_GROUP || (exports.VOICE_TAG_GROUP = VOICE_TAG_GROUP = {}));
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare enum VOICE_TAG {
|
|
2
|
-
JOYFUL = "JOYFUL",
|
|
3
|
-
SAD = "SAD",
|
|
4
|
-
ANGRY = "ANGRY",
|
|
5
|
-
SURPRISED = "SURPRISED",
|
|
6
|
-
TENDER = "TENDER",
|
|
7
|
-
IRONIC = "IRONIC",
|
|
8
|
-
CONVERSATIONAL = "CONVERSATIONAL",
|
|
9
|
-
PROFESSIONAL = "PROFESSIONAL",
|
|
10
|
-
WHISPER = "WHISPER",
|
|
11
|
-
LOUDER = "LOUDER",
|
|
12
|
-
QUIETER = "QUIETER",
|
|
13
|
-
FASTER = "FASTER",
|
|
14
|
-
PAUSE = "PAUSE",
|
|
15
|
-
SHORT_PAUSE = "SHORT_PAUSE",
|
|
16
|
-
LAUGH = "LAUGH",
|
|
17
|
-
SIGH = "SIGH",
|
|
18
|
-
COUGH = "COUGH",
|
|
19
|
-
BREATH = "BREATH"
|
|
20
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VOICE_TAG = void 0;
|
|
4
|
-
var VOICE_TAG;
|
|
5
|
-
(function (VOICE_TAG) {
|
|
6
|
-
VOICE_TAG["JOYFUL"] = "JOYFUL";
|
|
7
|
-
VOICE_TAG["SAD"] = "SAD";
|
|
8
|
-
VOICE_TAG["ANGRY"] = "ANGRY";
|
|
9
|
-
VOICE_TAG["SURPRISED"] = "SURPRISED";
|
|
10
|
-
VOICE_TAG["TENDER"] = "TENDER";
|
|
11
|
-
VOICE_TAG["IRONIC"] = "IRONIC";
|
|
12
|
-
VOICE_TAG["CONVERSATIONAL"] = "CONVERSATIONAL";
|
|
13
|
-
VOICE_TAG["PROFESSIONAL"] = "PROFESSIONAL";
|
|
14
|
-
VOICE_TAG["WHISPER"] = "WHISPER";
|
|
15
|
-
VOICE_TAG["LOUDER"] = "LOUDER";
|
|
16
|
-
VOICE_TAG["QUIETER"] = "QUIETER";
|
|
17
|
-
VOICE_TAG["FASTER"] = "FASTER";
|
|
18
|
-
VOICE_TAG["PAUSE"] = "PAUSE";
|
|
19
|
-
VOICE_TAG["SHORT_PAUSE"] = "SHORT_PAUSE";
|
|
20
|
-
VOICE_TAG["LAUGH"] = "LAUGH";
|
|
21
|
-
VOICE_TAG["SIGH"] = "SIGH";
|
|
22
|
-
VOICE_TAG["COUGH"] = "COUGH";
|
|
23
|
-
VOICE_TAG["BREATH"] = "BREATH";
|
|
24
|
-
})(VOICE_TAG || (exports.VOICE_TAG = VOICE_TAG = {}));
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { VOICE_CATEGORY } from '../enums/voice-category.enum';
|
|
3
|
-
export declare const VoiceCategorySchema: z.ZodObject<{
|
|
4
|
-
id: z.ZodEnum<typeof VOICE_CATEGORY>;
|
|
5
|
-
label: z.ZodString;
|
|
6
|
-
}, z.core.$strip>;
|
|
7
|
-
export type VoiceCategory = z.infer<typeof VoiceCategorySchema>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VoiceCategorySchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const voice_category_enum_1 = require("../enums/voice-category.enum");
|
|
6
|
-
exports.VoiceCategorySchema = zod_1.z.object({
|
|
7
|
-
id: zod_1.z.nativeEnum(voice_category_enum_1.VOICE_CATEGORY),
|
|
8
|
-
label: zod_1.z.string(),
|
|
9
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { VOICE_GENDER } from '../enums/voice-gender.enum';
|
|
3
|
-
export declare const VoiceDesignDraftSchema: z.ZodObject<{
|
|
4
|
-
designId: z.ZodString;
|
|
5
|
-
title: z.ZodString;
|
|
6
|
-
gender: z.ZodEnum<typeof VOICE_GENDER>;
|
|
7
|
-
samples: z.ZodArray<z.ZodObject<{
|
|
8
|
-
sampleId: z.ZodString;
|
|
9
|
-
previewUrl: z.ZodString;
|
|
10
|
-
}, z.core.$strip>>;
|
|
11
|
-
}, z.core.$strip>;
|
|
12
|
-
export type VoiceDesignDraft = z.infer<typeof VoiceDesignDraftSchema>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VoiceDesignDraftSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const voice_gender_enum_1 = require("../enums/voice-gender.enum");
|
|
6
|
-
const voice_design_sample_schema_1 = require("./voice-design-sample.schema");
|
|
7
|
-
exports.VoiceDesignDraftSchema = zod_1.z.object({
|
|
8
|
-
designId: zod_1.z.string().uuid(),
|
|
9
|
-
title: zod_1.z.string(),
|
|
10
|
-
gender: zod_1.z.nativeEnum(voice_gender_enum_1.VOICE_GENDER),
|
|
11
|
-
samples: zod_1.z.array(voice_design_sample_schema_1.VoiceDesignSampleSchema),
|
|
12
|
-
});
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VoiceDesignSampleSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.VoiceDesignSampleSchema = zod_1.z.object({
|
|
6
|
-
sampleId: zod_1.z.string().uuid(),
|
|
7
|
-
previewUrl: zod_1.z.string(),
|
|
8
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { VOICE_TAG } from '../enums/voice-tag.enum';
|
|
3
|
-
import { VOICE_TAG_GROUP } from '../enums/voice-tag-group.enum';
|
|
4
|
-
export declare const VoiceTagSchema: z.ZodObject<{
|
|
5
|
-
id: z.ZodEnum<typeof VOICE_TAG>;
|
|
6
|
-
group: z.ZodEnum<typeof VOICE_TAG_GROUP>;
|
|
7
|
-
label: z.ZodString;
|
|
8
|
-
}, z.core.$strip>;
|
|
9
|
-
export type VoiceTag = z.infer<typeof VoiceTagSchema>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VoiceTagSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const voice_tag_enum_1 = require("../enums/voice-tag.enum");
|
|
6
|
-
const voice_tag_group_enum_1 = require("../enums/voice-tag-group.enum");
|
|
7
|
-
exports.VoiceTagSchema = zod_1.z.object({
|
|
8
|
-
id: zod_1.z.nativeEnum(voice_tag_enum_1.VOICE_TAG),
|
|
9
|
-
group: zod_1.z.nativeEnum(voice_tag_group_enum_1.VOICE_TAG_GROUP),
|
|
10
|
-
label: zod_1.z.string(),
|
|
11
|
-
});
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { VOICE_SOURCE } from '../enums/voice-source.enum';
|
|
3
|
-
import { VOICE_STATUS } from '../enums/voice-status.enum';
|
|
4
|
-
import { VOICE_GENDER } from '../enums/voice-gender.enum';
|
|
5
|
-
import { VOICE_CATEGORY } from '../enums/voice-category.enum';
|
|
6
|
-
export declare const VoiceSchema: z.ZodObject<{
|
|
7
|
-
uuid: z.ZodString;
|
|
8
|
-
source: z.ZodEnum<typeof VOICE_SOURCE>;
|
|
9
|
-
title: z.ZodString;
|
|
10
|
-
description: z.ZodString;
|
|
11
|
-
gender: z.ZodNullable<z.ZodEnum<typeof VOICE_GENDER>>;
|
|
12
|
-
trait: z.ZodNullable<z.ZodString>;
|
|
13
|
-
ageRange: z.ZodNullable<z.ZodString>;
|
|
14
|
-
categories: z.ZodArray<z.ZodEnum<typeof VOICE_CATEGORY>>;
|
|
15
|
-
previewUrl: z.ZodString;
|
|
16
|
-
status: z.ZodEnum<typeof VOICE_STATUS>;
|
|
17
|
-
error: z.ZodNullable<z.ZodString>;
|
|
18
|
-
order: z.ZodNumber;
|
|
19
|
-
isDeleted: z.ZodBoolean;
|
|
20
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
21
|
-
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
22
|
-
createdAt: z.ZodDate;
|
|
23
|
-
updatedAt: z.ZodDate;
|
|
24
|
-
}, z.core.$strip>;
|
|
25
|
-
export type Voice = z.infer<typeof VoiceSchema>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VoiceSchema = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const voice_source_enum_1 = require("../enums/voice-source.enum");
|
|
6
|
-
const voice_status_enum_1 = require("../enums/voice-status.enum");
|
|
7
|
-
const voice_gender_enum_1 = require("../enums/voice-gender.enum");
|
|
8
|
-
const voice_category_enum_1 = require("../enums/voice-category.enum");
|
|
9
|
-
exports.VoiceSchema = zod_1.z.object({
|
|
10
|
-
uuid: zod_1.z.string().uuid(),
|
|
11
|
-
source: zod_1.z.nativeEnum(voice_source_enum_1.VOICE_SOURCE),
|
|
12
|
-
title: zod_1.z.string(),
|
|
13
|
-
description: zod_1.z.string(),
|
|
14
|
-
gender: zod_1.z.nativeEnum(voice_gender_enum_1.VOICE_GENDER).nullable(),
|
|
15
|
-
trait: zod_1.z.string().nullable(),
|
|
16
|
-
ageRange: zod_1.z.string().nullable(),
|
|
17
|
-
categories: zod_1.z.array(zod_1.z.nativeEnum(voice_category_enum_1.VOICE_CATEGORY)),
|
|
18
|
-
previewUrl: zod_1.z.string(),
|
|
19
|
-
status: zod_1.z.nativeEnum(voice_status_enum_1.VOICE_STATUS),
|
|
20
|
-
error: zod_1.z.string().nullable(),
|
|
21
|
-
order: zod_1.z.number(),
|
|
22
|
-
isDeleted: zod_1.z.boolean(),
|
|
23
|
-
userId: zod_1.z.string().uuid().nullable(),
|
|
24
|
-
unregisteredUserId: zod_1.z.string().uuid().nullable(),
|
|
25
|
-
createdAt: zod_1.z.date(),
|
|
26
|
-
updatedAt: zod_1.z.date(),
|
|
27
|
-
});
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare namespace FindVoiceByIdQuery {
|
|
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
|
-
locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
|
|
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
|
-
source: import("..").VOICE_SOURCE;
|
|
15
|
-
title: string;
|
|
16
|
-
description: string;
|
|
17
|
-
gender: import("..").VOICE_GENDER | null;
|
|
18
|
-
trait: string | null;
|
|
19
|
-
ageRange: string | null;
|
|
20
|
-
categories: import("..").VOICE_CATEGORY[];
|
|
21
|
-
previewUrl: string;
|
|
22
|
-
status: import("..").VOICE_STATUS;
|
|
23
|
-
error: string | null;
|
|
24
|
-
order: number;
|
|
25
|
-
isDeleted: boolean;
|
|
26
|
-
userId: string | null;
|
|
27
|
-
unregisteredUserId: string | null;
|
|
28
|
-
createdAt: Date;
|
|
29
|
-
updatedAt: Date;
|
|
30
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
31
|
-
uuid: string;
|
|
32
|
-
source: import("..").VOICE_SOURCE;
|
|
33
|
-
title: string;
|
|
34
|
-
description: string;
|
|
35
|
-
gender: import("..").VOICE_GENDER | null;
|
|
36
|
-
trait: string | null;
|
|
37
|
-
ageRange: string | null;
|
|
38
|
-
categories: import("..").VOICE_CATEGORY[];
|
|
39
|
-
previewUrl: string;
|
|
40
|
-
status: import("..").VOICE_STATUS;
|
|
41
|
-
error: string | null;
|
|
42
|
-
order: number;
|
|
43
|
-
isDeleted: boolean;
|
|
44
|
-
userId: string | null;
|
|
45
|
-
unregisteredUserId: string | null;
|
|
46
|
-
createdAt: Date;
|
|
47
|
-
updatedAt: Date;
|
|
48
|
-
}, unknown>>>;
|
|
49
|
-
code: z.ZodOptional<z.ZodString>;
|
|
50
|
-
message: z.ZodOptional<z.ZodString>;
|
|
51
|
-
}, z.core.$strip>;
|
|
52
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
53
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FindVoiceByIdQuery = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const common_1 = require("../../common");
|
|
6
|
-
const models_1 = require("../models");
|
|
7
|
-
var FindVoiceByIdQuery;
|
|
8
|
-
(function (FindVoiceByIdQuery) {
|
|
9
|
-
FindVoiceByIdQuery.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
|
-
locale: common_1.LocaleSchema.optional(),
|
|
14
|
-
});
|
|
15
|
-
FindVoiceByIdQuery.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.VoiceSchema);
|
|
16
|
-
})(FindVoiceByIdQuery || (exports.FindVoiceByIdQuery = FindVoiceByIdQuery = {}));
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { VOICE_CATEGORY } from '../enums/voice-category.enum';
|
|
3
|
-
import { VOICE_GENDER } from '../enums/voice-gender.enum';
|
|
4
|
-
export declare namespace FindVoicesQuery {
|
|
5
|
-
const RequestSchema: z.ZodObject<{
|
|
6
|
-
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
-
unregisteredUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
-
locale: z.ZodOptional<z.ZodEnum<typeof import("@purpleschool/rugpt-lib-common").LOCALE>>;
|
|
9
|
-
scope: z.ZodDefault<z.ZodEnum<{
|
|
10
|
-
all: "all";
|
|
11
|
-
library: "library";
|
|
12
|
-
mine: "mine";
|
|
13
|
-
}>>;
|
|
14
|
-
category: z.ZodOptional<z.ZodEnum<typeof VOICE_CATEGORY>>;
|
|
15
|
-
gender: z.ZodOptional<z.ZodEnum<typeof VOICE_GENDER>>;
|
|
16
|
-
query: z.ZodOptional<z.ZodString>;
|
|
17
|
-
}, z.core.$strip>;
|
|
18
|
-
type Request = z.infer<typeof RequestSchema>;
|
|
19
|
-
const ResponseDataSchema: z.ZodObject<{
|
|
20
|
-
items: z.ZodArray<z.ZodObject<{
|
|
21
|
-
uuid: z.ZodString;
|
|
22
|
-
source: z.ZodEnum<typeof import("..").VOICE_SOURCE>;
|
|
23
|
-
title: z.ZodString;
|
|
24
|
-
description: z.ZodString;
|
|
25
|
-
gender: z.ZodNullable<z.ZodEnum<typeof VOICE_GENDER>>;
|
|
26
|
-
trait: z.ZodNullable<z.ZodString>;
|
|
27
|
-
ageRange: z.ZodNullable<z.ZodString>;
|
|
28
|
-
categories: z.ZodArray<z.ZodEnum<typeof VOICE_CATEGORY>>;
|
|
29
|
-
previewUrl: z.ZodString;
|
|
30
|
-
status: z.ZodEnum<typeof import("..").VOICE_STATUS>;
|
|
31
|
-
error: z.ZodNullable<z.ZodString>;
|
|
32
|
-
order: z.ZodNumber;
|
|
33
|
-
isDeleted: z.ZodBoolean;
|
|
34
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
35
|
-
unregisteredUserId: z.ZodNullable<z.ZodString>;
|
|
36
|
-
createdAt: z.ZodDate;
|
|
37
|
-
updatedAt: z.ZodDate;
|
|
38
|
-
}, z.core.$strip>>;
|
|
39
|
-
}, z.core.$strip>;
|
|
40
|
-
const ResponseSchema: z.ZodObject<{
|
|
41
|
-
isSuccess: z.ZodBoolean;
|
|
42
|
-
data: z.ZodOptional<z.ZodType<{
|
|
43
|
-
items: {
|
|
44
|
-
uuid: string;
|
|
45
|
-
source: import("..").VOICE_SOURCE;
|
|
46
|
-
title: string;
|
|
47
|
-
description: string;
|
|
48
|
-
gender: VOICE_GENDER | null;
|
|
49
|
-
trait: string | null;
|
|
50
|
-
ageRange: string | null;
|
|
51
|
-
categories: VOICE_CATEGORY[];
|
|
52
|
-
previewUrl: string;
|
|
53
|
-
status: import("..").VOICE_STATUS;
|
|
54
|
-
error: string | null;
|
|
55
|
-
order: number;
|
|
56
|
-
isDeleted: boolean;
|
|
57
|
-
userId: string | null;
|
|
58
|
-
unregisteredUserId: string | null;
|
|
59
|
-
createdAt: Date;
|
|
60
|
-
updatedAt: Date;
|
|
61
|
-
}[];
|
|
62
|
-
}, unknown, z.core.$ZodTypeInternals<{
|
|
63
|
-
items: {
|
|
64
|
-
uuid: string;
|
|
65
|
-
source: import("..").VOICE_SOURCE;
|
|
66
|
-
title: string;
|
|
67
|
-
description: string;
|
|
68
|
-
gender: VOICE_GENDER | null;
|
|
69
|
-
trait: string | null;
|
|
70
|
-
ageRange: string | null;
|
|
71
|
-
categories: VOICE_CATEGORY[];
|
|
72
|
-
previewUrl: string;
|
|
73
|
-
status: import("..").VOICE_STATUS;
|
|
74
|
-
error: string | null;
|
|
75
|
-
order: number;
|
|
76
|
-
isDeleted: boolean;
|
|
77
|
-
userId: string | null;
|
|
78
|
-
unregisteredUserId: string | null;
|
|
79
|
-
createdAt: Date;
|
|
80
|
-
updatedAt: Date;
|
|
81
|
-
}[];
|
|
82
|
-
}, unknown>>>;
|
|
83
|
-
code: z.ZodOptional<z.ZodString>;
|
|
84
|
-
message: z.ZodOptional<z.ZodString>;
|
|
85
|
-
}, z.core.$strip>;
|
|
86
|
-
type Response = z.infer<typeof ResponseSchema>;
|
|
87
|
-
}
|