@purpleschool/gptbot 0.8.94 → 0.8.96

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.
@@ -12,7 +12,7 @@ var RecurrentNotificationCommand;
12
12
  Email: zod_1.z.string(),
13
13
  Amount: zod_1.z.coerce.number(),
14
14
  Currency: zod_1.z.string(), // "RUB", "USD", "EUR", "GBP"
15
- RequireConfirmation: zod_1.z.boolean(),
15
+ RequireConfirmation: zod_1.z.coerce.boolean(),
16
16
  StartDate: zod_1.z.string(), // ISO‐8601 datetime in UTC, e.g. "2025-07-21T14:30:00Z"
17
17
  Interval: zod_1.z.string(), // "Week", "Month", "Year"
18
18
  Period: zod_1.z.coerce.number(),
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VideoJobSchema = exports.VideoJobParamsSchema = void 0;
4
4
  const zod_1 = require("zod");
5
- const tool_job_schema_1 = require("../../tool-job.schema");
6
5
  const constants_1 = require("../../../constants");
6
+ const tool_job_schema_1 = require("../../tool-job.schema");
7
7
  exports.VideoJobParamsSchema = zod_1.z.object({
8
8
  imageUrls: zod_1.z.string().array().optional(),
9
9
  duration: zod_1.z.number().optional(),
@@ -30,6 +30,7 @@ exports.VideoJobSchema = tool_job_schema_1.ToolJobSchema.extend({
30
30
  .nullable(),
31
31
  params: exports.VideoJobParamsSchema,
32
32
  modelId: zod_1.z.string(),
33
+ thumbnail: zod_1.z.string().nullable(),
33
34
  isPublished: zod_1.z.boolean(),
34
35
  postId: zod_1.z.string().nullable(),
35
36
  });
@@ -9,7 +9,7 @@ export namespace RecurrentNotificationCommand {
9
9
  Email: z.string(),
10
10
  Amount: z.coerce.number(),
11
11
  Currency: z.string(), // "RUB", "USD", "EUR", "GBP"
12
- RequireConfirmation: z.boolean(),
12
+ RequireConfirmation: z.coerce.boolean(),
13
13
  StartDate: z.string(), // ISO‐8601 datetime in UTC, e.g. "2025-07-21T14:30:00Z"
14
14
  Interval: z.string(), // "Week", "Month", "Year"
15
15
  Period: z.coerce.number(),
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { ToolJobSchema } from '../../tool-job.schema';
3
2
  import { USER_REACTION } from '../../../constants';
3
+ import { ToolJobSchema } from '../../tool-job.schema';
4
4
 
5
5
  export const VideoJobParamsSchema = z.object({
6
6
  imageUrls: z.string().array().optional(),
@@ -31,6 +31,7 @@ export const VideoJobSchema = ToolJobSchema.extend({
31
31
  .nullable(),
32
32
  params: VideoJobParamsSchema,
33
33
  modelId: z.string(),
34
+ thumbnail: z.string().nullable(),
34
35
  isPublished: z.boolean(),
35
36
  postId: z.string().nullable(),
36
37
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.8.94",
3
+ "version": "0.8.96",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",