@purpleschool/gptbot 0.7.56 → 0.7.58

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.
@@ -6,7 +6,7 @@ const zod_1 = require("zod");
6
6
  var CreateSuggestionsCommand;
7
7
  (function (CreateSuggestionsCommand) {
8
8
  CreateSuggestionsCommand.RequestSchema = zod_1.z.object({
9
- text: zod_1.z.string(),
9
+ text: zod_1.z.string().max(500),
10
10
  });
11
11
  CreateSuggestionsCommand.RequestParamSchema = models_1.ChatSchema.pick({
12
12
  uuid: true,
@@ -28,7 +28,7 @@ exports.CarryoverBalanceFeatureSchema = exports.SubscriptionFeatureBaseSchema.ex
28
28
  kind: zod_1.z.literal(constants_1.SUBSCRIPTION_FEATURE_KIND.BASE),
29
29
  type: zod_1.z.literal(constants_1.SUBSCRIPTION_FEATURE_TYPE.CARRYOVER_BALANCE),
30
30
  isAvailable: zod_1.z.boolean(),
31
- tooltip: zod_1.z.string(),
31
+ tooltip: zod_1.z.array(zod_1.z.string()),
32
32
  icons: SubscriptionFeatureIconsSchema,
33
33
  });
34
34
  exports.AiModelAccessFeatureSchema = exports.SubscriptionFeatureBaseSchema.extend({
@@ -3,7 +3,7 @@ import { z } from 'zod';
3
3
 
4
4
  export namespace CreateSuggestionsCommand {
5
5
  export const RequestSchema = z.object({
6
- text: z.string(),
6
+ text: z.string().max(500),
7
7
  });
8
8
 
9
9
  export const RequestParamSchema = ChatSchema.pick({
@@ -35,7 +35,7 @@ export const CarryoverBalanceFeatureSchema = SubscriptionFeatureBaseSchema.exten
35
35
  kind: z.literal(SUBSCRIPTION_FEATURE_KIND.BASE),
36
36
  type: z.literal(SUBSCRIPTION_FEATURE_TYPE.CARRYOVER_BALANCE),
37
37
  isAvailable: z.boolean(),
38
- tooltip: z.string(),
38
+ tooltip: z.array(z.string()),
39
39
  icons: SubscriptionFeatureIconsSchema,
40
40
  });
41
41
  export type CarryoverBalanceFeature = z.infer<typeof CarryoverBalanceFeatureSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.7.56",
3
+ "version": "0.7.58",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",