@purpleschool/gptbot 0.14.49 → 0.14.50

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.
@@ -31,6 +31,12 @@ export declare namespace GetMarketplaceCardConfigCommand {
31
31
  }, z.core.$strip>;
32
32
  maxPromptLength: z.ZodNumber;
33
33
  supportsImageAttachment: z.ZodBoolean;
34
+ status: z.ZodEnum<typeof import("../../..").TOOL_MODEL_STATUS>;
35
+ unlockedBy: z.ZodNullable<z.ZodObject<{
36
+ uuid: z.ZodString;
37
+ name: z.ZodString;
38
+ }, z.core.$strip>>;
39
+ canUse: z.ZodBoolean;
34
40
  }, z.core.$strip>>;
35
41
  }, z.core.$strip>;
36
42
  }, z.core.$strip>;
@@ -17,6 +17,11 @@ export declare namespace GetSolvingEduTaskToolConfigCommand {
17
17
  acceptedTypes: z.ZodArray<z.ZodString>;
18
18
  }, z.core.$strip>;
19
19
  }, z.core.$strip>;
20
+ unlockedBy: z.ZodNullable<z.ZodObject<{
21
+ uuid: z.ZodString;
22
+ name: z.ZodString;
23
+ }, z.core.$strip>>;
24
+ canUse: z.ZodBoolean;
20
25
  }, z.core.$strip>>;
21
26
  }, z.core.$strip>;
22
27
  }, z.core.$strip>;
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import { TOOL_MODEL_STATUS } from '../../../constants';
2
3
  export declare const MarketplaceCardStylePresetSchema: z.ZodObject<{
3
4
  uuid: z.ZodString;
4
5
  previewImageUrl: z.ZodString;
@@ -29,6 +30,12 @@ export declare const MarketplaceCardModelSchema: z.ZodObject<{
29
30
  }, z.core.$strip>;
30
31
  maxPromptLength: z.ZodNumber;
31
32
  supportsImageAttachment: z.ZodBoolean;
33
+ status: z.ZodEnum<typeof TOOL_MODEL_STATUS>;
34
+ unlockedBy: z.ZodNullable<z.ZodObject<{
35
+ uuid: z.ZodString;
36
+ name: z.ZodString;
37
+ }, z.core.$strip>>;
38
+ canUse: z.ZodBoolean;
32
39
  }, z.core.$strip>;
33
40
  export type MarketplaceCardModel = z.infer<typeof MarketplaceCardModelSchema>;
34
41
  export declare const MarketplaceCardConfigSchema: z.ZodObject<{
@@ -61,6 +68,12 @@ export declare const MarketplaceCardConfigSchema: z.ZodObject<{
61
68
  }, z.core.$strip>;
62
69
  maxPromptLength: z.ZodNumber;
63
70
  supportsImageAttachment: z.ZodBoolean;
71
+ status: z.ZodEnum<typeof TOOL_MODEL_STATUS>;
72
+ unlockedBy: z.ZodNullable<z.ZodObject<{
73
+ uuid: z.ZodString;
74
+ name: z.ZodString;
75
+ }, z.core.$strip>>;
76
+ canUse: z.ZodBoolean;
64
77
  }, z.core.$strip>>;
65
78
  }, z.core.$strip>;
66
79
  export type MarketplaceCardConfigModel = z.infer<typeof MarketplaceCardConfigSchema>;
@@ -2,7 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MarketplaceCardConfigSchema = exports.MarketplaceCardModelSchema = exports.MarketplaceCardStylePresetSchema = void 0;
4
4
  const zod_1 = require("zod");
5
+ const constants_1 = require("../../../constants");
5
6
  const icon_variants_schema_1 = require("../../icon-variants.schema");
7
+ const unlocked_by_subscription_schema_1 = require("../../unlocked-by-subscription.schema");
6
8
  exports.MarketplaceCardStylePresetSchema = zod_1.z.object({
7
9
  uuid: zod_1.z.string().uuid(),
8
10
  previewImageUrl: zod_1.z.string(),
@@ -23,6 +25,9 @@ exports.MarketplaceCardModelSchema = zod_1.z.object({
23
25
  iconVariants: icon_variants_schema_1.IconVariantsSchema,
24
26
  maxPromptLength: zod_1.z.number(),
25
27
  supportsImageAttachment: zod_1.z.boolean(),
28
+ status: zod_1.z.nativeEnum(constants_1.TOOL_MODEL_STATUS),
29
+ unlockedBy: unlocked_by_subscription_schema_1.UnlockedBySchema.nullable(),
30
+ canUse: zod_1.z.boolean(),
26
31
  });
27
32
  exports.MarketplaceCardConfigSchema = zod_1.z.object({
28
33
  styles: zod_1.z.array(exports.MarketplaceCardStylePresetSchema),
@@ -15,6 +15,11 @@ export declare const SolvingEduTaskConfigSchema: z.ZodObject<{
15
15
  acceptedTypes: z.ZodArray<z.ZodString>;
16
16
  }, z.core.$strip>;
17
17
  }, z.core.$strip>;
18
+ unlockedBy: z.ZodNullable<z.ZodObject<{
19
+ uuid: z.ZodString;
20
+ name: z.ZodString;
21
+ }, z.core.$strip>>;
22
+ canUse: z.ZodBoolean;
18
23
  }, z.core.$strip>>;
19
24
  }, z.core.$strip>;
20
25
  export type SolvingEduTaskConfig = z.infer<typeof SolvingEduTaskConfigSchema>;
@@ -23,5 +23,10 @@ export declare const SolvingEduTaskModelSchema: z.ZodObject<{
23
23
  acceptedTypes: z.ZodArray<z.ZodString>;
24
24
  }, z.core.$strip>;
25
25
  }, z.core.$strip>;
26
+ unlockedBy: z.ZodNullable<z.ZodObject<{
27
+ uuid: z.ZodString;
28
+ name: z.ZodString;
29
+ }, z.core.$strip>>;
30
+ canUse: z.ZodBoolean;
26
31
  }, z.core.$strip>;
27
32
  export type SolvingEduTaskModel = z.infer<typeof SolvingEduTaskModelSchema>;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SolvingEduTaskModelSchema = exports.SolvingEduTaskModelParamsSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const constants_1 = require("../../../constants");
6
+ const unlocked_by_subscription_schema_1 = require("../../unlocked-by-subscription.schema");
6
7
  exports.SolvingEduTaskModelParamsSchema = zod_1.z.object({
7
8
  imageAttachment: zod_1.z.object({
8
9
  supported: zod_1.z.boolean(),
@@ -19,4 +20,6 @@ exports.SolvingEduTaskModelSchema = zod_1.z.object({
19
20
  status: zod_1.z.nativeEnum(constants_1.TOOL_MODEL_STATUS),
20
21
  maxPromptLength: zod_1.z.number(),
21
22
  params: exports.SolvingEduTaskModelParamsSchema,
23
+ unlockedBy: unlocked_by_subscription_schema_1.UnlockedBySchema.nullable(),
24
+ canUse: zod_1.z.boolean(),
22
25
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.14.49",
3
+ "version": "0.14.50",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",