@purpleschool/gptbot 0.19.9-stage-2 → 0.19.10

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.
@@ -72,10 +72,15 @@ export declare const GreetingsJobResponseSchema: z.ZodObject<{
72
72
  kind: z.ZodLiteral<import("../../..").GREETINGS_KIND.VIDEO>;
73
73
  video: z.ZodObject<{
74
74
  url: z.ZodURL;
75
+ previewUrl: z.ZodOptional<z.ZodURL>;
75
76
  file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
76
77
  uuid: z.ZodUUID;
77
78
  url: z.ZodString;
78
79
  }, z.core.$strip>>>;
80
+ preview: z.ZodOptional<z.ZodNullable<z.ZodObject<{
81
+ uuid: z.ZodUUID;
82
+ url: z.ZodString;
83
+ }, z.core.$strip>>>;
79
84
  }, z.core.$strip>;
80
85
  }, z.core.$strip>, z.ZodObject<{
81
86
  kind: z.ZodLiteral<import("../../..").GREETINGS_KIND.IMAGE>;
@@ -166,10 +171,15 @@ export declare const GreetingsListResponseSchema: z.ZodObject<{
166
171
  kind: z.ZodLiteral<import("../../..").GREETINGS_KIND.VIDEO>;
167
172
  video: z.ZodObject<{
168
173
  url: z.ZodURL;
174
+ previewUrl: z.ZodOptional<z.ZodURL>;
169
175
  file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
170
176
  uuid: z.ZodUUID;
171
177
  url: z.ZodString;
172
178
  }, z.core.$strip>>>;
179
+ preview: z.ZodOptional<z.ZodNullable<z.ZodObject<{
180
+ uuid: z.ZodUUID;
181
+ url: z.ZodString;
182
+ }, z.core.$strip>>>;
173
183
  }, z.core.$strip>;
174
184
  }, z.core.$strip>, z.ZodObject<{
175
185
  kind: z.ZodLiteral<import("../../..").GREETINGS_KIND.IMAGE>;
@@ -72,10 +72,15 @@ export declare const GreetingJobSchema: z.ZodObject<{
72
72
  kind: z.ZodLiteral<GREETINGS_KIND.VIDEO>;
73
73
  video: z.ZodObject<{
74
74
  url: z.ZodURL;
75
+ previewUrl: z.ZodOptional<z.ZodURL>;
75
76
  file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
76
77
  uuid: z.ZodUUID;
77
78
  url: z.ZodString;
78
79
  }, z.core.$strip>>>;
80
+ preview: z.ZodOptional<z.ZodNullable<z.ZodObject<{
81
+ uuid: z.ZodUUID;
82
+ url: z.ZodString;
83
+ }, z.core.$strip>>>;
79
84
  }, z.core.$strip>;
80
85
  }, z.core.$strip>, z.ZodObject<{
81
86
  kind: z.ZodLiteral<GREETINGS_KIND.IMAGE>;
@@ -25,10 +25,15 @@ export declare const GreetingResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
25
25
  kind: z.ZodLiteral<GREETINGS_KIND.VIDEO>;
26
26
  video: z.ZodObject<{
27
27
  url: z.ZodURL;
28
+ previewUrl: z.ZodOptional<z.ZodURL>;
28
29
  file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
30
  uuid: z.ZodUUID;
30
31
  url: z.ZodString;
31
32
  }, z.core.$strip>>>;
33
+ preview: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
+ uuid: z.ZodUUID;
35
+ url: z.ZodString;
36
+ }, z.core.$strip>>>;
32
37
  }, z.core.$strip>;
33
38
  }, z.core.$strip>, z.ZodObject<{
34
39
  kind: z.ZodLiteral<GREETINGS_KIND.IMAGE>;
@@ -19,7 +19,9 @@ exports.GreetingResultSchema = zod_1.z.discriminatedUnion('kind', [
19
19
  kind: zod_1.z.literal(constants_1.GREETINGS_KIND.VIDEO),
20
20
  video: zod_1.z.object({
21
21
  url: zod_1.z.url(),
22
+ previewUrl: zod_1.z.url().optional(),
22
23
  file: file_schema_1.FileSchema.pick({ uuid: true, url: true }).nullable().optional(),
24
+ preview: file_schema_1.FileSchema.pick({ uuid: true, url: true }).nullable().optional(),
23
25
  }),
24
26
  }),
25
27
  zod_1.z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpleschool/gptbot",
3
- "version": "0.19.9-stage-2",
3
+ "version": "0.19.10",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",