@purpleschool/gptbot 0.15.85-stage-2 → 0.15.86

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.
@@ -66,8 +66,6 @@ export declare namespace FindToolWorkspaceByUUIDCommand {
66
66
  status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
67
67
  error: z.ZodNullable<z.ZodString>;
68
68
  isFavorite: z.ZodBoolean;
69
- createdAt: z.ZodDate;
70
- updatedAt: z.ZodDate;
71
69
  title: z.ZodString;
72
70
  prompt: z.ZodString;
73
71
  reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
@@ -105,6 +103,8 @@ export declare namespace FindToolWorkspaceByUUIDCommand {
105
103
  thumbnail: z.ZodNullable<z.ZodString>;
106
104
  isPublished: z.ZodBoolean;
107
105
  postId: z.ZodNullable<z.ZodString>;
106
+ createdAt: z.ZodCoercedDate<unknown>;
107
+ updatedAt: z.ZodCoercedDate<unknown>;
108
108
  }, z.core.$strip>;
109
109
  }, z.core.$strip>], "type">;
110
110
  createdAt: z.ZodDate;
@@ -48,8 +48,6 @@ export declare namespace FindVideoJobByUUIDCommand {
48
48
  status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
49
49
  error: z.ZodNullable<z.ZodString>;
50
50
  isFavorite: z.ZodBoolean;
51
- createdAt: z.ZodDate;
52
- updatedAt: z.ZodDate;
53
51
  title: z.ZodString;
54
52
  prompt: z.ZodString;
55
53
  reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
@@ -87,6 +85,8 @@ export declare namespace FindVideoJobByUUIDCommand {
87
85
  thumbnail: z.ZodNullable<z.ZodString>;
88
86
  isPublished: z.ZodBoolean;
89
87
  postId: z.ZodNullable<z.ZodString>;
88
+ createdAt: z.ZodCoercedDate<unknown>;
89
+ updatedAt: z.ZodCoercedDate<unknown>;
90
90
  }, z.core.$strip>>;
91
91
  createdAt: z.ZodCoercedDate<unknown>;
92
92
  completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
@@ -54,8 +54,6 @@ export declare namespace FindVideoJobsCommand {
54
54
  status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
55
55
  error: z.ZodNullable<z.ZodString>;
56
56
  isFavorite: z.ZodBoolean;
57
- createdAt: z.ZodDate;
58
- updatedAt: z.ZodDate;
59
57
  title: z.ZodString;
60
58
  prompt: z.ZodString;
61
59
  reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
@@ -93,6 +91,8 @@ export declare namespace FindVideoJobsCommand {
93
91
  thumbnail: z.ZodNullable<z.ZodString>;
94
92
  isPublished: z.ZodBoolean;
95
93
  postId: z.ZodNullable<z.ZodString>;
94
+ createdAt: z.ZodCoercedDate<unknown>;
95
+ updatedAt: z.ZodCoercedDate<unknown>;
96
96
  }, z.core.$strip>>;
97
97
  createdAt: z.ZodCoercedDate<unknown>;
98
98
  completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
@@ -29,8 +29,6 @@ export declare namespace RetryVideoJobCommand {
29
29
  status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
30
30
  error: z.ZodNullable<z.ZodString>;
31
31
  isFavorite: z.ZodBoolean;
32
- createdAt: z.ZodDate;
33
- updatedAt: z.ZodDate;
34
32
  title: z.ZodString;
35
33
  prompt: z.ZodString;
36
34
  reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
@@ -68,6 +66,8 @@ export declare namespace RetryVideoJobCommand {
68
66
  thumbnail: z.ZodNullable<z.ZodString>;
69
67
  isPublished: z.ZodBoolean;
70
68
  postId: z.ZodNullable<z.ZodString>;
69
+ createdAt: z.ZodCoercedDate<unknown>;
70
+ updatedAt: z.ZodCoercedDate<unknown>;
71
71
  }, z.core.$strip>;
72
72
  }, z.core.$strip>;
73
73
  type Response = z.infer<typeof ResponseSchema>;
@@ -16,8 +16,6 @@ export declare namespace SetReactionToVideoJobCommand {
16
16
  status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
17
17
  error: z.ZodNullable<z.ZodString>;
18
18
  isFavorite: z.ZodBoolean;
19
- createdAt: z.ZodDate;
20
- updatedAt: z.ZodDate;
21
19
  title: z.ZodString;
22
20
  prompt: z.ZodString;
23
21
  reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
@@ -55,6 +53,8 @@ export declare namespace SetReactionToVideoJobCommand {
55
53
  thumbnail: z.ZodNullable<z.ZodString>;
56
54
  isPublished: z.ZodBoolean;
57
55
  postId: z.ZodNullable<z.ZodString>;
56
+ createdAt: z.ZodCoercedDate<unknown>;
57
+ updatedAt: z.ZodCoercedDate<unknown>;
58
58
  }, z.core.$strip>;
59
59
  }, z.core.$strip>;
60
60
  type Response = z.infer<typeof ResponseSchema>;
@@ -52,8 +52,6 @@ export declare namespace UpdateVideoJobFavoriteCommand {
52
52
  status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
53
53
  error: z.ZodNullable<z.ZodString>;
54
54
  isFavorite: z.ZodBoolean;
55
- createdAt: z.ZodDate;
56
- updatedAt: z.ZodDate;
57
55
  title: z.ZodString;
58
56
  prompt: z.ZodString;
59
57
  reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
@@ -91,6 +89,8 @@ export declare namespace UpdateVideoJobFavoriteCommand {
91
89
  thumbnail: z.ZodNullable<z.ZodString>;
92
90
  isPublished: z.ZodBoolean;
93
91
  postId: z.ZodNullable<z.ZodString>;
92
+ createdAt: z.ZodCoercedDate<unknown>;
93
+ updatedAt: z.ZodCoercedDate<unknown>;
94
94
  }, z.core.$strip>>;
95
95
  createdAt: z.ZodCoercedDate<unknown>;
96
96
  completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
@@ -14,8 +14,6 @@ export declare namespace UpdateVideoJobTitleCommand {
14
14
  status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
15
15
  error: z.ZodNullable<z.ZodString>;
16
16
  isFavorite: z.ZodBoolean;
17
- createdAt: z.ZodDate;
18
- updatedAt: z.ZodDate;
19
17
  title: z.ZodString;
20
18
  prompt: z.ZodString;
21
19
  reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
@@ -53,6 +51,8 @@ export declare namespace UpdateVideoJobTitleCommand {
53
51
  thumbnail: z.ZodNullable<z.ZodString>;
54
52
  isPublished: z.ZodBoolean;
55
53
  postId: z.ZodNullable<z.ZodString>;
54
+ createdAt: z.ZodCoercedDate<unknown>;
55
+ updatedAt: z.ZodCoercedDate<unknown>;
56
56
  }, z.core.$strip>;
57
57
  }, z.core.$strip>;
58
58
  type Response = z.infer<typeof ResponseSchema>;
@@ -69,8 +69,6 @@ export declare namespace VideoCommand {
69
69
  status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
70
70
  error: z.ZodNullable<z.ZodString>;
71
71
  isFavorite: z.ZodBoolean;
72
- createdAt: z.ZodDate;
73
- updatedAt: z.ZodDate;
74
72
  title: z.ZodString;
75
73
  prompt: z.ZodString;
76
74
  reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
@@ -108,6 +106,8 @@ export declare namespace VideoCommand {
108
106
  thumbnail: z.ZodNullable<z.ZodString>;
109
107
  isPublished: z.ZodBoolean;
110
108
  postId: z.ZodNullable<z.ZodString>;
109
+ createdAt: z.ZodCoercedDate<unknown>;
110
+ updatedAt: z.ZodCoercedDate<unknown>;
111
111
  }, z.core.$strip>>;
112
112
  createdAt: z.ZodCoercedDate<unknown>;
113
113
  completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
@@ -60,8 +60,6 @@ export declare const ToolWorkspaceContentsSchema: z.ZodObject<{
60
60
  status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
61
61
  error: z.ZodNullable<z.ZodString>;
62
62
  isFavorite: z.ZodBoolean;
63
- createdAt: z.ZodDate;
64
- updatedAt: z.ZodDate;
65
63
  title: z.ZodString;
66
64
  prompt: z.ZodString;
67
65
  reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
@@ -99,6 +97,8 @@ export declare const ToolWorkspaceContentsSchema: z.ZodObject<{
99
97
  thumbnail: z.ZodNullable<z.ZodString>;
100
98
  isPublished: z.ZodBoolean;
101
99
  postId: z.ZodNullable<z.ZodString>;
100
+ createdAt: z.ZodCoercedDate<unknown>;
101
+ updatedAt: z.ZodCoercedDate<unknown>;
102
102
  }, z.core.$strip>;
103
103
  }, z.core.$strip>], "type">;
104
104
  createdAt: z.ZodDate;
@@ -49,8 +49,6 @@ export declare const ToolWorkspaceItemSchema: z.ZodObject<{
49
49
  status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
50
50
  error: z.ZodNullable<z.ZodString>;
51
51
  isFavorite: z.ZodBoolean;
52
- createdAt: z.ZodDate;
53
- updatedAt: z.ZodDate;
54
52
  title: z.ZodString;
55
53
  prompt: z.ZodString;
56
54
  reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
@@ -88,6 +86,8 @@ export declare const ToolWorkspaceItemSchema: z.ZodObject<{
88
86
  thumbnail: z.ZodNullable<z.ZodString>;
89
87
  isPublished: z.ZodBoolean;
90
88
  postId: z.ZodNullable<z.ZodString>;
89
+ createdAt: z.ZodCoercedDate<unknown>;
90
+ updatedAt: z.ZodCoercedDate<unknown>;
91
91
  }, z.core.$strip>;
92
92
  }, z.core.$strip>], "type">;
93
93
  createdAt: z.ZodDate;
@@ -43,8 +43,6 @@ export declare const ToolWorkspaceJobSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
43
43
  status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
44
44
  error: z.ZodNullable<z.ZodString>;
45
45
  isFavorite: z.ZodBoolean;
46
- createdAt: z.ZodDate;
47
- updatedAt: z.ZodDate;
48
46
  title: z.ZodString;
49
47
  prompt: z.ZodString;
50
48
  reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
@@ -82,6 +80,8 @@ export declare const ToolWorkspaceJobSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
82
80
  thumbnail: z.ZodNullable<z.ZodString>;
83
81
  isPublished: z.ZodBoolean;
84
82
  postId: z.ZodNullable<z.ZodString>;
83
+ createdAt: z.ZodCoercedDate<unknown>;
84
+ updatedAt: z.ZodCoercedDate<unknown>;
85
85
  }, z.core.$strip>;
86
86
  }, z.core.$strip>], "type">;
87
87
  export type ToolWorkspaceJob = z.infer<typeof ToolWorkspaceJobSchema>;
@@ -43,8 +43,6 @@ export declare const VideoGroupSchema: z.ZodObject<{
43
43
  status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
44
44
  error: z.ZodNullable<z.ZodString>;
45
45
  isFavorite: z.ZodBoolean;
46
- createdAt: z.ZodDate;
47
- updatedAt: z.ZodDate;
48
46
  title: z.ZodString;
49
47
  prompt: z.ZodString;
50
48
  reaction: z.ZodNullable<z.ZodEnum<typeof import("../../..").USER_REACTION>>;
@@ -82,6 +80,8 @@ export declare const VideoGroupSchema: z.ZodObject<{
82
80
  thumbnail: z.ZodNullable<z.ZodString>;
83
81
  isPublished: z.ZodBoolean;
84
82
  postId: z.ZodNullable<z.ZodString>;
83
+ createdAt: z.ZodCoercedDate<unknown>;
84
+ updatedAt: z.ZodCoercedDate<unknown>;
85
85
  }, z.core.$strip>>;
86
86
  createdAt: z.ZodCoercedDate<unknown>;
87
87
  completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
@@ -25,8 +25,6 @@ export declare const VideoJobSchema: z.ZodObject<{
25
25
  status: z.ZodEnum<typeof import("../../..").TOOL_JOB_STATUS>;
26
26
  error: z.ZodNullable<z.ZodString>;
27
27
  isFavorite: z.ZodBoolean;
28
- createdAt: z.ZodDate;
29
- updatedAt: z.ZodDate;
30
28
  title: z.ZodString;
31
29
  prompt: z.ZodString;
32
30
  reaction: z.ZodNullable<z.ZodEnum<typeof USER_REACTION>>;
@@ -64,5 +62,7 @@ export declare const VideoJobSchema: z.ZodObject<{
64
62
  thumbnail: z.ZodNullable<z.ZodString>;
65
63
  isPublished: z.ZodBoolean;
66
64
  postId: z.ZodNullable<z.ZodString>;
65
+ createdAt: z.ZodCoercedDate<unknown>;
66
+ updatedAt: z.ZodCoercedDate<unknown>;
67
67
  }, z.core.$strip>;
68
68
  export type VideoJob = z.infer<typeof VideoJobSchema>;
@@ -47,4 +47,6 @@ exports.VideoJobSchema = tool_job_schema_1.ToolJobSchema.extend({
47
47
  thumbnail: zod_1.z.string().nullable(),
48
48
  isPublished: zod_1.z.boolean(),
49
49
  postId: zod_1.z.string().nullable(),
50
+ createdAt: zod_1.z.coerce.date(),
51
+ updatedAt: zod_1.z.coerce.date(),
50
52
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.15.85-stage-2",
3
+ "version": "0.15.86",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",