api-arreya-types 1.0.36 → 1.0.37

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.
@@ -11,6 +11,55 @@ export declare const Slide: z.ZodObject<{
11
11
  timeout: z.ZodNumber;
12
12
  start: z.ZodNullable<z.ZodDate>;
13
13
  end: z.ZodNullable<z.ZodDate>;
14
+ file: z.ZodNullable<z.ZodObject<{
15
+ id: z.ZodString;
16
+ accountId: z.ZodString;
17
+ name: z.ZodString;
18
+ mimetype: z.ZodString;
19
+ mediatype: z.ZodString;
20
+ size: z.ZodNumber;
21
+ original: z.ZodString;
22
+ thumbnail: z.ZodNullable<z.ZodString>;
23
+ preview: z.ZodNullable<z.ZodString>;
24
+ image: z.ZodNullable<z.ZodString>;
25
+ sd: z.ZodNullable<z.ZodString>;
26
+ hd: z.ZodNullable<z.ZodString>;
27
+ folderId: z.ZodString;
28
+ createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
29
+ updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ id: string;
32
+ name: string;
33
+ createdAt: Date;
34
+ updatedAt: Date;
35
+ accountId: string;
36
+ mimetype: string;
37
+ mediatype: string;
38
+ size: number;
39
+ original: string;
40
+ thumbnail: string | null;
41
+ preview: string | null;
42
+ image: string | null;
43
+ sd: string | null;
44
+ hd: string | null;
45
+ folderId: string;
46
+ }, {
47
+ id: string;
48
+ name: string;
49
+ createdAt: string | Date;
50
+ updatedAt: string | Date;
51
+ accountId: string;
52
+ mimetype: string;
53
+ mediatype: string;
54
+ size: number;
55
+ original: string;
56
+ thumbnail: string | null;
57
+ preview: string | null;
58
+ image: string | null;
59
+ sd: string | null;
60
+ hd: string | null;
61
+ folderId: string;
62
+ }>>;
14
63
  createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
15
64
  updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
16
65
  }, "strip", z.ZodTypeAny, {
@@ -27,6 +76,23 @@ export declare const Slide: z.ZodObject<{
27
76
  slideshowId: string;
28
77
  caption: string;
29
78
  fileId: string;
79
+ file: {
80
+ id: string;
81
+ name: string;
82
+ createdAt: Date;
83
+ updatedAt: Date;
84
+ accountId: string;
85
+ mimetype: string;
86
+ mediatype: string;
87
+ size: number;
88
+ original: string;
89
+ thumbnail: string | null;
90
+ preview: string | null;
91
+ image: string | null;
92
+ sd: string | null;
93
+ hd: string | null;
94
+ folderId: string;
95
+ } | null;
30
96
  }, {
31
97
  id: string;
32
98
  createdAt: string | Date;
@@ -41,6 +107,23 @@ export declare const Slide: z.ZodObject<{
41
107
  slideshowId: string;
42
108
  caption: string;
43
109
  fileId: string;
110
+ file: {
111
+ id: string;
112
+ name: string;
113
+ createdAt: string | Date;
114
+ updatedAt: string | Date;
115
+ accountId: string;
116
+ mimetype: string;
117
+ mediatype: string;
118
+ size: number;
119
+ original: string;
120
+ thumbnail: string | null;
121
+ preview: string | null;
122
+ image: string | null;
123
+ sd: string | null;
124
+ hd: string | null;
125
+ folderId: string;
126
+ } | null;
44
127
  }>;
45
128
  export declare const CreateSlide: z.ZodObject<{
46
129
  id: z.ZodOptional<z.ZodString>;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UpdateSlideRequestBody = exports.CreateSlideRequestBody = exports.SlideIdRequestParams = exports.UpdateSlide = exports.CreateSlides = exports.CreateSlide = exports.Slide = void 0;
4
4
  var zod_1 = require("zod");
5
5
  var zod_utils_1 = require("./zod-utils");
6
+ var file_type_1 = require("./file.type");
6
7
  exports.Slide = zod_1.z.object({
7
8
  id: zod_1.z.string(),
8
9
  slideshowId: zod_1.z.string(),
@@ -15,6 +16,7 @@ exports.Slide = zod_1.z.object({
15
16
  timeout: zod_1.z.number(),
16
17
  start: zod_1.z.date().nullable(),
17
18
  end: zod_1.z.date().nullable(),
19
+ file: file_type_1.File.nullable(),
18
20
  createdAt: zod_utils_1.zodDate,
19
21
  updatedAt: zod_utils_1.zodDate,
20
22
  });
@@ -139,6 +139,55 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
139
139
  timeout: z.ZodNumber;
140
140
  start: z.ZodNullable<z.ZodDate>;
141
141
  end: z.ZodNullable<z.ZodDate>;
142
+ file: z.ZodNullable<z.ZodObject<{
143
+ id: z.ZodString;
144
+ accountId: z.ZodString;
145
+ name: z.ZodString;
146
+ mimetype: z.ZodString;
147
+ mediatype: z.ZodString;
148
+ size: z.ZodNumber;
149
+ original: z.ZodString;
150
+ thumbnail: z.ZodNullable<z.ZodString>;
151
+ preview: z.ZodNullable<z.ZodString>;
152
+ image: z.ZodNullable<z.ZodString>;
153
+ sd: z.ZodNullable<z.ZodString>;
154
+ hd: z.ZodNullable<z.ZodString>;
155
+ folderId: z.ZodString;
156
+ createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
157
+ updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
158
+ }, "strip", z.ZodTypeAny, {
159
+ id: string;
160
+ name: string;
161
+ createdAt: Date;
162
+ updatedAt: Date;
163
+ accountId: string;
164
+ mimetype: string;
165
+ mediatype: string;
166
+ size: number;
167
+ original: string;
168
+ thumbnail: string | null;
169
+ preview: string | null;
170
+ image: string | null;
171
+ sd: string | null;
172
+ hd: string | null;
173
+ folderId: string;
174
+ }, {
175
+ id: string;
176
+ name: string;
177
+ createdAt: string | Date;
178
+ updatedAt: string | Date;
179
+ accountId: string;
180
+ mimetype: string;
181
+ mediatype: string;
182
+ size: number;
183
+ original: string;
184
+ thumbnail: string | null;
185
+ preview: string | null;
186
+ image: string | null;
187
+ sd: string | null;
188
+ hd: string | null;
189
+ folderId: string;
190
+ }>>;
142
191
  createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
143
192
  updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
144
193
  }, "strip", z.ZodTypeAny, {
@@ -155,6 +204,23 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
155
204
  slideshowId: string;
156
205
  caption: string;
157
206
  fileId: string;
207
+ file: {
208
+ id: string;
209
+ name: string;
210
+ createdAt: Date;
211
+ updatedAt: Date;
212
+ accountId: string;
213
+ mimetype: string;
214
+ mediatype: string;
215
+ size: number;
216
+ original: string;
217
+ thumbnail: string | null;
218
+ preview: string | null;
219
+ image: string | null;
220
+ sd: string | null;
221
+ hd: string | null;
222
+ folderId: string;
223
+ } | null;
158
224
  }, {
159
225
  id: string;
160
226
  createdAt: string | Date;
@@ -169,6 +235,23 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
169
235
  slideshowId: string;
170
236
  caption: string;
171
237
  fileId: string;
238
+ file: {
239
+ id: string;
240
+ name: string;
241
+ createdAt: string | Date;
242
+ updatedAt: string | Date;
243
+ accountId: string;
244
+ mimetype: string;
245
+ mediatype: string;
246
+ size: number;
247
+ original: string;
248
+ thumbnail: string | null;
249
+ preview: string | null;
250
+ image: string | null;
251
+ sd: string | null;
252
+ hd: string | null;
253
+ folderId: string;
254
+ } | null;
172
255
  }>, "many">;
173
256
  slideshowProjects: z.ZodArray<z.ZodObject<{
174
257
  id: z.ZodString;
@@ -217,6 +300,23 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
217
300
  slideshowId: string;
218
301
  caption: string;
219
302
  fileId: string;
303
+ file: {
304
+ id: string;
305
+ name: string;
306
+ createdAt: Date;
307
+ updatedAt: Date;
308
+ accountId: string;
309
+ mimetype: string;
310
+ mediatype: string;
311
+ size: number;
312
+ original: string;
313
+ thumbnail: string | null;
314
+ preview: string | null;
315
+ image: string | null;
316
+ sd: string | null;
317
+ hd: string | null;
318
+ folderId: string;
319
+ } | null;
220
320
  }[];
221
321
  }, {
222
322
  id: string;
@@ -246,6 +346,23 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
246
346
  slideshowId: string;
247
347
  caption: string;
248
348
  fileId: string;
349
+ file: {
350
+ id: string;
351
+ name: string;
352
+ createdAt: string | Date;
353
+ updatedAt: string | Date;
354
+ accountId: string;
355
+ mimetype: string;
356
+ mediatype: string;
357
+ size: number;
358
+ original: string;
359
+ thumbnail: string | null;
360
+ preview: string | null;
361
+ image: string | null;
362
+ sd: string | null;
363
+ hd: string | null;
364
+ folderId: string;
365
+ } | null;
249
366
  }[];
250
367
  }>;
251
368
  export declare const CreateSlideshow: z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "api-arreya-types",
3
- "version": "1.0.36",
3
+ "version": "1.0.37",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.js",
6
6
  "private": false,