@purpleschool/gptbot 0.12.91 → 0.12.93

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.
@@ -17,6 +17,8 @@ var PriceCanvasQuery;
17
17
  nodeType: zod_1.z.nativeEnum(constants_1.CANVAS_NODE_TYPE),
18
18
  toolType: zod_1.z.nativeEnum(constants_1.TOOL_CONTENT_TYPE).nullable(),
19
19
  price: zod_1.z.number(),
20
+ charSunlinPriceIncrease: zod_1.z.number().nullable().optional(),
21
+ charSunlinPriceDecrease: zod_1.z.number().nullable().optional(),
20
22
  forecasted: zod_1.z.boolean(),
21
23
  static: zod_1.z.boolean(),
22
24
  });
@@ -6,7 +6,7 @@ const models_1 = require("../../../models");
6
6
  var DiagramsCommand;
7
7
  (function (DiagramsCommand) {
8
8
  DiagramsCommand.RequestSchema = zod_1.z.object({
9
- prompt: zod_1.z.string().min(1).max(80000),
9
+ prompt: zod_1.z.string().min(1).max(100000),
10
10
  modelId: zod_1.z.string().uuid(),
11
11
  params: zod_1.z.object({
12
12
  chartTypeUuid: zod_1.z.string().uuid(),
@@ -6,7 +6,7 @@ var GetDiagramsPriceCommand;
6
6
  (function (GetDiagramsPriceCommand) {
7
7
  GetDiagramsPriceCommand.RequestSchema = zod_1.z.object({
8
8
  modelId: zod_1.z.string().uuid(),
9
- promptLenght: zod_1.z.number().max(80000),
9
+ promptLenght: zod_1.z.number().max(100000),
10
10
  chartTypeUuid: zod_1.z.string().uuid(),
11
11
  fileIds: zod_1.z.array(zod_1.z.string().uuid()).optional().default([]),
12
12
  jobId: zod_1.z.string().uuid().optional(),
@@ -20,6 +20,8 @@ export namespace PriceCanvasQuery {
20
20
  nodeType: z.nativeEnum(CANVAS_NODE_TYPE),
21
21
  toolType: z.nativeEnum(TOOL_CONTENT_TYPE).nullable(),
22
22
  price: z.number(),
23
+ charSunlinPriceIncrease: z.number().nullable().optional(),
24
+ charSunlinPriceDecrease: z.number().nullable().optional(),
23
25
  forecasted: z.boolean(),
24
26
  static: z.boolean(),
25
27
  });
@@ -3,7 +3,7 @@ import { DiagramsJobSchemaResponse } from '../../../models';
3
3
 
4
4
  export namespace DiagramsCommand {
5
5
  export const RequestSchema = z.object({
6
- prompt: z.string().min(1).max(80000),
6
+ prompt: z.string().min(1).max(100000),
7
7
  modelId: z.string().uuid(),
8
8
  params: z.object({
9
9
  chartTypeUuid: z.string().uuid(),
@@ -3,7 +3,7 @@ import { z } from 'zod';
3
3
  export namespace GetDiagramsPriceCommand {
4
4
  export const RequestSchema = z.object({
5
5
  modelId: z.string().uuid(),
6
- promptLenght: z.number().max(80000),
6
+ promptLenght: z.number().max(100000),
7
7
  chartTypeUuid: z.string().uuid(),
8
8
  fileIds: z.array(z.string().uuid()).optional().default([]),
9
9
  jobId: z.string().uuid().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.12.91",
3
+ "version": "0.12.93",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",