@purpleschool/gptbot 0.7.12 → 0.7.13
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.
|
@@ -9,7 +9,7 @@ var CalculateFileCostCommand;
|
|
|
9
9
|
uuid: true,
|
|
10
10
|
});
|
|
11
11
|
CalculateFileCostCommand.RequestSchema = zod_1.z.object({
|
|
12
|
-
|
|
12
|
+
modelId: zod_1.z.string().uuid(),
|
|
13
13
|
});
|
|
14
14
|
CalculateFileCostCommand.ResponseSchema = zod_1.z.object({
|
|
15
15
|
data: models_1.FileSchema,
|
|
@@ -6,7 +6,7 @@ const zod_1 = require("zod");
|
|
|
6
6
|
var UploadFileCommand;
|
|
7
7
|
(function (UploadFileCommand) {
|
|
8
8
|
UploadFileCommand.RequestSchema = zod_1.z.object({
|
|
9
|
-
|
|
9
|
+
modelId: zod_1.z.string().uuid().optional(),
|
|
10
10
|
});
|
|
11
11
|
UploadFileCommand.ResponseSchema = zod_1.z.object({
|
|
12
12
|
data: models_1.FileSchema,
|
|
@@ -9,7 +9,7 @@ export namespace CalculateFileCostCommand {
|
|
|
9
9
|
export type RequestParam = z.infer<typeof RequestParamSchema>;
|
|
10
10
|
|
|
11
11
|
export const RequestSchema = z.object({
|
|
12
|
-
|
|
12
|
+
modelId: z.string().uuid(),
|
|
13
13
|
});
|
|
14
14
|
|
|
15
15
|
export type Request = z.infer<typeof RequestSchema>;
|