@purpleschool/gptbot-tools 0.1.11 → 0.1.12
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.
|
@@ -14,7 +14,6 @@ var CreatePresentationCommand;
|
|
|
14
14
|
languageId: zod_1.z.string(),
|
|
15
15
|
prompt: zod_1.z.string(),
|
|
16
16
|
slideCount: zod_1.z.number(),
|
|
17
|
-
titlePage: models_1.PresentationTitlePageSchema.optional().nullable(),
|
|
18
17
|
targetAudience: zod_1.z.nativeEnum(enums_1.PRESENTATION_TARGET_AUDIENCE).optional(),
|
|
19
18
|
});
|
|
20
19
|
CreatePresentationCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.PresentationSchema);
|
|
@@ -12,6 +12,7 @@ var GenerateSlidesCommand;
|
|
|
12
12
|
unregisteredUserId: zod_1.z.string().uuid().nullable().optional(),
|
|
13
13
|
tokenReservationId: zod_1.z.string().uuid(),
|
|
14
14
|
precalculatedPrice: zod_1.z.number(),
|
|
15
|
+
titlePage: models_1.PresentationTitlePageSchema.optional().nullable(),
|
|
15
16
|
});
|
|
16
17
|
GenerateSlidesCommand.ResponseSchema = (0, common_1.ICommandResponseSchema)(models_1.PresentationSchema);
|
|
17
18
|
})(GenerateSlidesCommand || (exports.GenerateSlidesCommand = GenerateSlidesCommand = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { ICommandResponseSchema } from '../../common';
|
|
3
|
-
import { PresentationSchema
|
|
3
|
+
import { PresentationSchema } from '../models';
|
|
4
4
|
import { PRESENTATION_TARGET_AUDIENCE } from '../enums';
|
|
5
5
|
|
|
6
6
|
export namespace CreatePresentationCommand {
|
|
@@ -11,7 +11,6 @@ export namespace CreatePresentationCommand {
|
|
|
11
11
|
languageId: z.string(),
|
|
12
12
|
prompt: z.string(),
|
|
13
13
|
slideCount: z.number(),
|
|
14
|
-
titlePage: PresentationTitlePageSchema.optional().nullable(),
|
|
15
14
|
targetAudience: z.nativeEnum(PRESENTATION_TARGET_AUDIENCE).optional(),
|
|
16
15
|
});
|
|
17
16
|
export type Request = z.infer<typeof RequestSchema>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { ICommandResponseSchema } from '../../common';
|
|
3
|
-
import { PresentationSchema } from '../models';
|
|
3
|
+
import { PresentationSchema, PresentationTitlePageSchema } from '../models';
|
|
4
4
|
|
|
5
5
|
export namespace GenerateSlidesCommand {
|
|
6
6
|
export const RequestSchema = z.object({
|
|
@@ -9,6 +9,7 @@ export namespace GenerateSlidesCommand {
|
|
|
9
9
|
unregisteredUserId: z.string().uuid().nullable().optional(),
|
|
10
10
|
tokenReservationId: z.string().uuid(),
|
|
11
11
|
precalculatedPrice: z.number(),
|
|
12
|
+
titlePage: PresentationTitlePageSchema.optional().nullable(),
|
|
12
13
|
});
|
|
13
14
|
export type Request = z.infer<typeof RequestSchema>;
|
|
14
15
|
|