@purpleschool/gptbot 0.14.62-stage2 → 0.14.63-stage2

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.
@@ -11,14 +11,24 @@ export declare namespace CloneAvatarStudioVoiceCommand {
11
11
  data: z.ZodObject<{
12
12
  uuid: z.ZodString;
13
13
  scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
14
- source: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
14
+ source: z.ZodObject<{
15
+ id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
16
+ label: z.ZodString;
17
+ }, z.core.$strip>;
15
18
  title: z.ZodString;
16
19
  description: z.ZodString;
17
- gender: z.ZodNullable<z.ZodEnum<typeof VOICE_GENDER>>;
20
+ gender: z.ZodNullable<z.ZodObject<{
21
+ id: z.ZodEnum<typeof VOICE_GENDER>;
22
+ label: z.ZodString;
23
+ }, z.core.$strip>>;
18
24
  trait: z.ZodNullable<z.ZodString>;
19
25
  ageRange: z.ZodNullable<z.ZodString>;
20
- categories: z.ZodArray<z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>>;
26
+ categories: z.ZodArray<z.ZodObject<{
27
+ id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
28
+ label: z.ZodString;
29
+ }, z.core.$strip>>;
21
30
  previewUrl: z.ZodString;
31
+ imageUrl: z.ZodNullable<z.ZodString>;
22
32
  status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
23
33
  error: z.ZodNullable<z.ZodString>;
24
34
  order: z.ZodNumber;
@@ -11,14 +11,24 @@ export declare namespace DesignAvatarStudioVoiceCommand {
11
11
  data: z.ZodObject<{
12
12
  uuid: z.ZodString;
13
13
  scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
14
- source: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
14
+ source: z.ZodObject<{
15
+ id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
16
+ label: z.ZodString;
17
+ }, z.core.$strip>;
15
18
  title: z.ZodString;
16
19
  description: z.ZodString;
17
- gender: z.ZodNullable<z.ZodEnum<typeof VOICE_GENDER>>;
20
+ gender: z.ZodNullable<z.ZodObject<{
21
+ id: z.ZodEnum<typeof VOICE_GENDER>;
22
+ label: z.ZodString;
23
+ }, z.core.$strip>>;
18
24
  trait: z.ZodNullable<z.ZodString>;
19
25
  ageRange: z.ZodNullable<z.ZodString>;
20
- categories: z.ZodArray<z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>>;
26
+ categories: z.ZodArray<z.ZodObject<{
27
+ id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
28
+ label: z.ZodString;
29
+ }, z.core.$strip>>;
21
30
  previewUrl: z.ZodString;
31
+ imageUrl: z.ZodNullable<z.ZodString>;
22
32
  status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
23
33
  error: z.ZodNullable<z.ZodString>;
24
34
  order: z.ZodNumber;
@@ -4,14 +4,24 @@ export declare namespace FindAvatarStudioVoicesQuery {
4
4
  data: z.ZodArray<z.ZodObject<{
5
5
  uuid: z.ZodString;
6
6
  scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
7
- source: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
7
+ source: z.ZodObject<{
8
+ id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
9
+ label: z.ZodString;
10
+ }, z.core.$strip>;
8
11
  title: z.ZodString;
9
12
  description: z.ZodString;
10
- gender: z.ZodNullable<z.ZodEnum<typeof import("../../..").VOICE_GENDER>>;
13
+ gender: z.ZodNullable<z.ZodObject<{
14
+ id: z.ZodEnum<typeof import("../../..").VOICE_GENDER>;
15
+ label: z.ZodString;
16
+ }, z.core.$strip>>;
11
17
  trait: z.ZodNullable<z.ZodString>;
12
18
  ageRange: z.ZodNullable<z.ZodString>;
13
- categories: z.ZodArray<z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>>;
19
+ categories: z.ZodArray<z.ZodObject<{
20
+ id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
21
+ label: z.ZodString;
22
+ }, z.core.$strip>>;
14
23
  previewUrl: z.ZodString;
24
+ imageUrl: z.ZodNullable<z.ZodString>;
15
25
  status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
16
26
  error: z.ZodNullable<z.ZodString>;
17
27
  order: z.ZodNumber;
@@ -5,20 +5,31 @@ export declare namespace CreateVoiceCloneCommand {
5
5
  fileId: z.ZodString;
6
6
  title: z.ZodString;
7
7
  gender: z.ZodOptional<z.ZodEnum<typeof VOICE_GENDER>>;
8
+ imageFileId: z.ZodOptional<z.ZodString>;
8
9
  }, z.core.$strip>;
9
10
  type Request = z.infer<typeof RequestSchema>;
10
11
  const ResponseSchema: z.ZodObject<{
11
12
  data: z.ZodObject<{
12
13
  uuid: z.ZodString;
13
14
  scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
14
- source: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
15
+ source: z.ZodObject<{
16
+ id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
17
+ label: z.ZodString;
18
+ }, z.core.$strip>;
15
19
  title: z.ZodString;
16
20
  description: z.ZodString;
17
- gender: z.ZodNullable<z.ZodEnum<typeof VOICE_GENDER>>;
21
+ gender: z.ZodNullable<z.ZodObject<{
22
+ id: z.ZodEnum<typeof VOICE_GENDER>;
23
+ label: z.ZodString;
24
+ }, z.core.$strip>>;
18
25
  trait: z.ZodNullable<z.ZodString>;
19
26
  ageRange: z.ZodNullable<z.ZodString>;
20
- categories: z.ZodArray<z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>>;
27
+ categories: z.ZodArray<z.ZodObject<{
28
+ id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
29
+ label: z.ZodString;
30
+ }, z.core.$strip>>;
21
31
  previewUrl: z.ZodString;
32
+ imageUrl: z.ZodNullable<z.ZodString>;
22
33
  status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
23
34
  error: z.ZodNullable<z.ZodString>;
24
35
  order: z.ZodNumber;
@@ -10,6 +10,7 @@ var CreateVoiceCloneCommand;
10
10
  fileId: zod_1.z.string().uuid(),
11
11
  title: zod_1.z.string().min(1),
12
12
  gender: zod_1.z.nativeEnum(constants_1.VOICE_GENDER).optional(),
13
+ imageFileId: zod_1.z.string().uuid().optional(),
13
14
  });
14
15
  CreateVoiceCloneCommand.ResponseSchema = zod_1.z.object({
15
16
  data: models_1.VoiceSchema,
@@ -5,6 +5,7 @@ export declare namespace CreateVoiceDesignCommand {
5
5
  title: z.ZodString;
6
6
  gender: z.ZodEnum<typeof VOICE_GENDER>;
7
7
  instruction: z.ZodString;
8
+ imageFileId: z.ZodOptional<z.ZodString>;
8
9
  }, z.core.$strip>;
9
10
  type Request = z.infer<typeof RequestSchema>;
10
11
  const ResponseSchema: z.ZodObject<{
@@ -12,6 +13,7 @@ export declare namespace CreateVoiceDesignCommand {
12
13
  designId: z.ZodString;
13
14
  title: z.ZodString;
14
15
  gender: z.ZodEnum<typeof VOICE_GENDER>;
16
+ imageUrl: z.ZodNullable<z.ZodString>;
15
17
  samples: z.ZodArray<z.ZodObject<{
16
18
  sampleId: z.ZodString;
17
19
  previewUrl: z.ZodString;
@@ -10,6 +10,7 @@ var CreateVoiceDesignCommand;
10
10
  title: zod_1.z.string().min(1),
11
11
  gender: zod_1.z.nativeEnum(constants_1.VOICE_GENDER),
12
12
  instruction: zod_1.z.string().min(1),
13
+ imageFileId: zod_1.z.string().uuid().optional(),
13
14
  });
14
15
  CreateVoiceDesignCommand.ResponseSchema = zod_1.z.object({
15
16
  data: models_1.VoiceDesignDraftSchema,
@@ -8,14 +8,24 @@ export declare namespace FindVoiceByUuidQuery {
8
8
  data: z.ZodObject<{
9
9
  uuid: z.ZodString;
10
10
  scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
11
- source: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
11
+ source: z.ZodObject<{
12
+ id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
13
+ label: z.ZodString;
14
+ }, z.core.$strip>;
12
15
  title: z.ZodString;
13
16
  description: z.ZodString;
14
- gender: z.ZodNullable<z.ZodEnum<typeof import("../../..").VOICE_GENDER>>;
17
+ gender: z.ZodNullable<z.ZodObject<{
18
+ id: z.ZodEnum<typeof import("../../..").VOICE_GENDER>;
19
+ label: z.ZodString;
20
+ }, z.core.$strip>>;
15
21
  trait: z.ZodNullable<z.ZodString>;
16
22
  ageRange: z.ZodNullable<z.ZodString>;
17
- categories: z.ZodArray<z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>>;
23
+ categories: z.ZodArray<z.ZodObject<{
24
+ id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
25
+ label: z.ZodString;
26
+ }, z.core.$strip>>;
18
27
  previewUrl: z.ZodString;
28
+ imageUrl: z.ZodNullable<z.ZodString>;
19
29
  status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
20
30
  error: z.ZodNullable<z.ZodString>;
21
31
  order: z.ZodNumber;
@@ -16,14 +16,24 @@ export declare namespace FindVoicesQuery {
16
16
  data: z.ZodArray<z.ZodObject<{
17
17
  uuid: z.ZodString;
18
18
  scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
19
- source: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
19
+ source: z.ZodObject<{
20
+ id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
21
+ label: z.ZodString;
22
+ }, z.core.$strip>;
20
23
  title: z.ZodString;
21
24
  description: z.ZodString;
22
- gender: z.ZodNullable<z.ZodEnum<typeof VOICE_GENDER>>;
25
+ gender: z.ZodNullable<z.ZodObject<{
26
+ id: z.ZodEnum<typeof VOICE_GENDER>;
27
+ label: z.ZodString;
28
+ }, z.core.$strip>>;
23
29
  trait: z.ZodNullable<z.ZodString>;
24
30
  ageRange: z.ZodNullable<z.ZodString>;
25
- categories: z.ZodArray<z.ZodEnum<typeof VOICE_CATEGORY>>;
31
+ categories: z.ZodArray<z.ZodObject<{
32
+ id: z.ZodEnum<typeof VOICE_CATEGORY>;
33
+ label: z.ZodString;
34
+ }, z.core.$strip>>;
26
35
  previewUrl: z.ZodString;
36
+ imageUrl: z.ZodNullable<z.ZodString>;
27
37
  status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
28
38
  error: z.ZodNullable<z.ZodString>;
29
39
  order: z.ZodNumber;
@@ -12,14 +12,24 @@ export declare namespace SelectVoiceDesignCommand {
12
12
  data: z.ZodObject<{
13
13
  uuid: z.ZodString;
14
14
  scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
15
- source: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
15
+ source: z.ZodObject<{
16
+ id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
17
+ label: z.ZodString;
18
+ }, z.core.$strip>;
16
19
  title: z.ZodString;
17
20
  description: z.ZodString;
18
- gender: z.ZodNullable<z.ZodEnum<typeof import("../../..").VOICE_GENDER>>;
21
+ gender: z.ZodNullable<z.ZodObject<{
22
+ id: z.ZodEnum<typeof import("../../..").VOICE_GENDER>;
23
+ label: z.ZodString;
24
+ }, z.core.$strip>>;
19
25
  trait: z.ZodNullable<z.ZodString>;
20
26
  ageRange: z.ZodNullable<z.ZodString>;
21
- categories: z.ZodArray<z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>>;
27
+ categories: z.ZodArray<z.ZodObject<{
28
+ id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
29
+ label: z.ZodString;
30
+ }, z.core.$strip>>;
22
31
  previewUrl: z.ZodString;
32
+ imageUrl: z.ZodNullable<z.ZodString>;
23
33
  status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
24
34
  error: z.ZodNullable<z.ZodString>;
25
35
  order: z.ZodNumber;
@@ -6,20 +6,31 @@ export declare namespace UpdateVoiceCommand {
6
6
  type RequestParams = z.infer<typeof RequestParamsSchema>;
7
7
  const RequestSchema: z.ZodObject<{
8
8
  title: z.ZodString;
9
+ imageFileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
10
  }, z.core.$strip>;
10
11
  type Request = z.infer<typeof RequestSchema>;
11
12
  const ResponseSchema: z.ZodObject<{
12
13
  data: z.ZodObject<{
13
14
  uuid: z.ZodString;
14
15
  scope: z.ZodEnum<typeof import("../../..").JOB_SCOPE>;
15
- source: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
16
+ source: z.ZodObject<{
17
+ id: z.ZodEnum<typeof import("../../..").VOICE_SOURCE>;
18
+ label: z.ZodString;
19
+ }, z.core.$strip>;
16
20
  title: z.ZodString;
17
21
  description: z.ZodString;
18
- gender: z.ZodNullable<z.ZodEnum<typeof import("../../..").VOICE_GENDER>>;
22
+ gender: z.ZodNullable<z.ZodObject<{
23
+ id: z.ZodEnum<typeof import("../../..").VOICE_GENDER>;
24
+ label: z.ZodString;
25
+ }, z.core.$strip>>;
19
26
  trait: z.ZodNullable<z.ZodString>;
20
27
  ageRange: z.ZodNullable<z.ZodString>;
21
- categories: z.ZodArray<z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>>;
28
+ categories: z.ZodArray<z.ZodObject<{
29
+ id: z.ZodEnum<typeof import("../../..").VOICE_CATEGORY>;
30
+ label: z.ZodString;
31
+ }, z.core.$strip>>;
22
32
  previewUrl: z.ZodString;
33
+ imageUrl: z.ZodNullable<z.ZodString>;
23
34
  status: z.ZodEnum<typeof import("../../..").VOICE_STATUS>;
24
35
  error: z.ZodNullable<z.ZodString>;
25
36
  order: z.ZodNumber;
@@ -10,6 +10,7 @@ var UpdateVoiceCommand;
10
10
  });
11
11
  UpdateVoiceCommand.RequestSchema = zod_1.z.object({
12
12
  title: zod_1.z.string().min(1),
13
+ imageFileId: zod_1.z.string().uuid().nullable().optional(),
13
14
  });
14
15
  UpdateVoiceCommand.ResponseSchema = zod_1.z.object({
15
16
  data: models_1.VoiceSchema,
@@ -4,6 +4,7 @@ export declare const VoiceDesignDraftSchema: z.ZodObject<{
4
4
  designId: z.ZodString;
5
5
  title: z.ZodString;
6
6
  gender: z.ZodEnum<typeof VOICE_GENDER>;
7
+ imageUrl: z.ZodNullable<z.ZodString>;
7
8
  samples: z.ZodArray<z.ZodObject<{
8
9
  sampleId: z.ZodString;
9
10
  previewUrl: z.ZodString;
@@ -8,5 +8,6 @@ exports.VoiceDesignDraftSchema = zod_1.z.object({
8
8
  designId: zod_1.z.string().uuid(),
9
9
  title: zod_1.z.string(),
10
10
  gender: zod_1.z.nativeEnum(constants_1.VOICE_GENDER),
11
+ imageUrl: zod_1.z.string().nullable(),
11
12
  samples: zod_1.z.array(voice_design_sample_schema_1.VoiceDesignSampleSchema),
12
13
  });
@@ -3,14 +3,24 @@ import { JOB_SCOPE, VOICE_CATEGORY, VOICE_GENDER, VOICE_SOURCE, VOICE_STATUS } f
3
3
  export declare const VoiceSchema: z.ZodObject<{
4
4
  uuid: z.ZodString;
5
5
  scope: z.ZodEnum<typeof JOB_SCOPE>;
6
- source: z.ZodEnum<typeof VOICE_SOURCE>;
6
+ source: z.ZodObject<{
7
+ id: z.ZodEnum<typeof VOICE_SOURCE>;
8
+ label: z.ZodString;
9
+ }, z.core.$strip>;
7
10
  title: z.ZodString;
8
11
  description: z.ZodString;
9
- gender: z.ZodNullable<z.ZodEnum<typeof VOICE_GENDER>>;
12
+ gender: z.ZodNullable<z.ZodObject<{
13
+ id: z.ZodEnum<typeof VOICE_GENDER>;
14
+ label: z.ZodString;
15
+ }, z.core.$strip>>;
10
16
  trait: z.ZodNullable<z.ZodString>;
11
17
  ageRange: z.ZodNullable<z.ZodString>;
12
- categories: z.ZodArray<z.ZodEnum<typeof VOICE_CATEGORY>>;
18
+ categories: z.ZodArray<z.ZodObject<{
19
+ id: z.ZodEnum<typeof VOICE_CATEGORY>;
20
+ label: z.ZodString;
21
+ }, z.core.$strip>>;
13
22
  previewUrl: z.ZodString;
23
+ imageUrl: z.ZodNullable<z.ZodString>;
14
24
  status: z.ZodEnum<typeof VOICE_STATUS>;
15
25
  error: z.ZodNullable<z.ZodString>;
16
26
  order: z.ZodNumber;
@@ -6,14 +6,26 @@ const constants_1 = require("../../../constants");
6
6
  exports.VoiceSchema = zod_1.z.object({
7
7
  uuid: zod_1.z.string().uuid(),
8
8
  scope: zod_1.z.nativeEnum(constants_1.JOB_SCOPE),
9
- source: zod_1.z.nativeEnum(constants_1.VOICE_SOURCE),
9
+ source: zod_1.z.object({
10
+ id: zod_1.z.nativeEnum(constants_1.VOICE_SOURCE),
11
+ label: zod_1.z.string(),
12
+ }),
10
13
  title: zod_1.z.string(),
11
14
  description: zod_1.z.string(),
12
- gender: zod_1.z.nativeEnum(constants_1.VOICE_GENDER).nullable(),
15
+ gender: zod_1.z
16
+ .object({
17
+ id: zod_1.z.nativeEnum(constants_1.VOICE_GENDER),
18
+ label: zod_1.z.string(),
19
+ })
20
+ .nullable(),
13
21
  trait: zod_1.z.string().nullable(),
14
22
  ageRange: zod_1.z.string().nullable(),
15
- categories: zod_1.z.array(zod_1.z.nativeEnum(constants_1.VOICE_CATEGORY)),
23
+ categories: zod_1.z.array(zod_1.z.object({
24
+ id: zod_1.z.nativeEnum(constants_1.VOICE_CATEGORY),
25
+ label: zod_1.z.string(),
26
+ })),
16
27
  previewUrl: zod_1.z.string(),
28
+ imageUrl: zod_1.z.string().nullable(),
17
29
  status: zod_1.z.nativeEnum(constants_1.VOICE_STATUS),
18
30
  error: zod_1.z.string().nullable(),
19
31
  order: zod_1.z.number(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.14.62-stage2",
3
+ "version": "0.14.63-stage2",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",