api-arreya-types 1.0.39 → 1.0.40
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.
- package/dist/slide.type.d.ts +24 -24
- package/dist/slide.type.js +10 -10
- package/dist/slideshow.type.d.ts +18 -18
- package/package.json +1 -1
package/dist/slide.type.d.ts
CHANGED
|
@@ -9,8 +9,8 @@ export declare const Slide: z.ZodObject<{
|
|
|
9
9
|
speed: z.ZodString;
|
|
10
10
|
transition: z.ZodString;
|
|
11
11
|
timeout: z.ZodNumber;
|
|
12
|
-
start: z.ZodNullable<z.ZodDate
|
|
13
|
-
end: z.ZodNullable<z.ZodDate
|
|
12
|
+
start: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
13
|
+
end: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
14
14
|
file: z.ZodNullable<z.ZodObject<{
|
|
15
15
|
id: z.ZodString;
|
|
16
16
|
accountId: z.ZodString;
|
|
@@ -102,8 +102,8 @@ export declare const Slide: z.ZodObject<{
|
|
|
102
102
|
timeout: number;
|
|
103
103
|
order: number;
|
|
104
104
|
title: string;
|
|
105
|
-
start: Date | null;
|
|
106
|
-
end: Date | null;
|
|
105
|
+
start: string | Date | null;
|
|
106
|
+
end: string | Date | null;
|
|
107
107
|
slideshowId: string;
|
|
108
108
|
caption: string;
|
|
109
109
|
fileId: string;
|
|
@@ -135,8 +135,8 @@ export declare const CreateSlide: z.ZodObject<{
|
|
|
135
135
|
speed: z.ZodString;
|
|
136
136
|
transition: z.ZodString;
|
|
137
137
|
timeout: z.ZodNumber;
|
|
138
|
-
start: z.ZodNullable<z.ZodDate
|
|
139
|
-
end: z.ZodNullable<z.ZodDate
|
|
138
|
+
start: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
139
|
+
end: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
140
140
|
}, "strip", z.ZodTypeAny, {
|
|
141
141
|
speed: string;
|
|
142
142
|
transition: string;
|
|
@@ -155,8 +155,8 @@ export declare const CreateSlide: z.ZodObject<{
|
|
|
155
155
|
timeout: number;
|
|
156
156
|
order: number;
|
|
157
157
|
title: string;
|
|
158
|
-
start: Date | null;
|
|
159
|
-
end: Date | null;
|
|
158
|
+
start: string | Date | null;
|
|
159
|
+
end: string | Date | null;
|
|
160
160
|
slideshowId: string;
|
|
161
161
|
caption: string;
|
|
162
162
|
fileId: string;
|
|
@@ -172,8 +172,8 @@ export declare const CreateSlides: z.ZodArray<z.ZodObject<{
|
|
|
172
172
|
speed: z.ZodString;
|
|
173
173
|
transition: z.ZodString;
|
|
174
174
|
timeout: z.ZodNumber;
|
|
175
|
-
start: z.ZodNullable<z.ZodDate
|
|
176
|
-
end: z.ZodNullable<z.ZodDate
|
|
175
|
+
start: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
176
|
+
end: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
177
177
|
}, "strip", z.ZodTypeAny, {
|
|
178
178
|
speed: string;
|
|
179
179
|
transition: string;
|
|
@@ -192,8 +192,8 @@ export declare const CreateSlides: z.ZodArray<z.ZodObject<{
|
|
|
192
192
|
timeout: number;
|
|
193
193
|
order: number;
|
|
194
194
|
title: string;
|
|
195
|
-
start: Date | null;
|
|
196
|
-
end: Date | null;
|
|
195
|
+
start: string | Date | null;
|
|
196
|
+
end: string | Date | null;
|
|
197
197
|
slideshowId: string;
|
|
198
198
|
caption: string;
|
|
199
199
|
fileId: string;
|
|
@@ -209,8 +209,8 @@ export declare const UpdateSlide: z.ZodObject<{
|
|
|
209
209
|
speed: z.ZodOptional<z.ZodString>;
|
|
210
210
|
transition: z.ZodOptional<z.ZodString>;
|
|
211
211
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
212
|
-
start: z.ZodOptional<z.ZodNullable<z.ZodDate
|
|
213
|
-
end: z.ZodOptional<z.ZodNullable<z.ZodDate
|
|
212
|
+
start: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>>;
|
|
213
|
+
end: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>>;
|
|
214
214
|
}, "strip", z.ZodTypeAny, {
|
|
215
215
|
id: string;
|
|
216
216
|
speed?: string | undefined;
|
|
@@ -230,8 +230,8 @@ export declare const UpdateSlide: z.ZodObject<{
|
|
|
230
230
|
timeout?: number | undefined;
|
|
231
231
|
order?: number | undefined;
|
|
232
232
|
title?: string | undefined;
|
|
233
|
-
start?: Date | null | undefined;
|
|
234
|
-
end?: Date | null | undefined;
|
|
233
|
+
start?: string | Date | null | undefined;
|
|
234
|
+
end?: string | Date | null | undefined;
|
|
235
235
|
slideshowId?: string | undefined;
|
|
236
236
|
caption?: string | undefined;
|
|
237
237
|
fileId?: string | undefined;
|
|
@@ -256,8 +256,8 @@ export declare const CreateSlideRequestBody: z.ZodObject<{
|
|
|
256
256
|
speed: z.ZodString;
|
|
257
257
|
transition: z.ZodString;
|
|
258
258
|
timeout: z.ZodNumber;
|
|
259
|
-
start: z.ZodNullable<z.ZodDate
|
|
260
|
-
end: z.ZodNullable<z.ZodDate
|
|
259
|
+
start: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
260
|
+
end: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
261
261
|
}, "strip", z.ZodTypeAny, {
|
|
262
262
|
speed: string;
|
|
263
263
|
transition: string;
|
|
@@ -275,8 +275,8 @@ export declare const CreateSlideRequestBody: z.ZodObject<{
|
|
|
275
275
|
timeout: number;
|
|
276
276
|
order: number;
|
|
277
277
|
title: string;
|
|
278
|
-
start: Date | null;
|
|
279
|
-
end: Date | null;
|
|
278
|
+
start: string | Date | null;
|
|
279
|
+
end: string | Date | null;
|
|
280
280
|
slideshowId: string;
|
|
281
281
|
caption: string;
|
|
282
282
|
fileId: string;
|
|
@@ -291,8 +291,8 @@ export declare const UpdateSlideRequestBody: z.ZodObject<{
|
|
|
291
291
|
speed: z.ZodOptional<z.ZodString>;
|
|
292
292
|
transition: z.ZodOptional<z.ZodString>;
|
|
293
293
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
294
|
-
start: z.ZodOptional<z.ZodNullable<z.ZodDate
|
|
295
|
-
end: z.ZodOptional<z.ZodNullable<z.ZodDate
|
|
294
|
+
start: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>>;
|
|
295
|
+
end: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>>;
|
|
296
296
|
}, "strip", z.ZodTypeAny, {
|
|
297
297
|
id: string;
|
|
298
298
|
speed?: string | undefined;
|
|
@@ -311,8 +311,8 @@ export declare const UpdateSlideRequestBody: z.ZodObject<{
|
|
|
311
311
|
timeout?: number | undefined;
|
|
312
312
|
order?: number | undefined;
|
|
313
313
|
title?: string | undefined;
|
|
314
|
-
start?: Date | null | undefined;
|
|
315
|
-
end?: Date | null | undefined;
|
|
314
|
+
start?: string | Date | null | undefined;
|
|
315
|
+
end?: string | Date | null | undefined;
|
|
316
316
|
caption?: string | undefined;
|
|
317
317
|
fileId?: string | undefined;
|
|
318
318
|
}>;
|
package/dist/slide.type.js
CHANGED
|
@@ -14,8 +14,8 @@ exports.Slide = zod_1.z.object({
|
|
|
14
14
|
speed: zod_1.z.string(),
|
|
15
15
|
transition: zod_1.z.string(),
|
|
16
16
|
timeout: zod_1.z.number(),
|
|
17
|
-
start:
|
|
18
|
-
end:
|
|
17
|
+
start: zod_utils_1.zodDate.nullable(),
|
|
18
|
+
end: zod_utils_1.zodDate.nullable(),
|
|
19
19
|
file: file_type_1.File.nullable(),
|
|
20
20
|
createdAt: zod_utils_1.zodDate,
|
|
21
21
|
updatedAt: zod_utils_1.zodDate,
|
|
@@ -30,8 +30,8 @@ exports.CreateSlide = zod_1.z.object({
|
|
|
30
30
|
speed: zod_1.z.string(),
|
|
31
31
|
transition: zod_1.z.string(),
|
|
32
32
|
timeout: zod_1.z.number(),
|
|
33
|
-
start:
|
|
34
|
-
end:
|
|
33
|
+
start: zod_utils_1.zodDate.nullable(),
|
|
34
|
+
end: zod_utils_1.zodDate.nullable(),
|
|
35
35
|
});
|
|
36
36
|
exports.CreateSlides = zod_1.z.array(exports.CreateSlide);
|
|
37
37
|
exports.UpdateSlide = zod_1.z.object({
|
|
@@ -44,8 +44,8 @@ exports.UpdateSlide = zod_1.z.object({
|
|
|
44
44
|
speed: zod_1.z.string().optional(),
|
|
45
45
|
transition: zod_1.z.string().optional(),
|
|
46
46
|
timeout: zod_1.z.number().optional(),
|
|
47
|
-
start:
|
|
48
|
-
end:
|
|
47
|
+
start: zod_utils_1.zodDate.nullable().optional(),
|
|
48
|
+
end: zod_utils_1.zodDate.nullable().optional(),
|
|
49
49
|
});
|
|
50
50
|
// Request
|
|
51
51
|
exports.SlideIdRequestParams = zod_1.z.object({
|
|
@@ -61,8 +61,8 @@ exports.CreateSlideRequestBody = zod_1.z.object({
|
|
|
61
61
|
speed: zod_1.z.string(),
|
|
62
62
|
transition: zod_1.z.string(),
|
|
63
63
|
timeout: zod_1.z.number(),
|
|
64
|
-
start:
|
|
65
|
-
end:
|
|
64
|
+
start: zod_utils_1.zodDate.nullable(),
|
|
65
|
+
end: zod_utils_1.zodDate.nullable(),
|
|
66
66
|
});
|
|
67
67
|
// Update Slide Request
|
|
68
68
|
exports.UpdateSlideRequestBody = zod_1.z.object({
|
|
@@ -74,6 +74,6 @@ exports.UpdateSlideRequestBody = zod_1.z.object({
|
|
|
74
74
|
speed: zod_1.z.string().optional(),
|
|
75
75
|
transition: zod_1.z.string().optional(),
|
|
76
76
|
timeout: zod_1.z.number().optional(),
|
|
77
|
-
start:
|
|
78
|
-
end:
|
|
77
|
+
start: zod_utils_1.zodDate.nullable().optional(),
|
|
78
|
+
end: zod_utils_1.zodDate.nullable().optional(),
|
|
79
79
|
});
|
package/dist/slideshow.type.d.ts
CHANGED
|
@@ -137,8 +137,8 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
137
137
|
speed: z.ZodString;
|
|
138
138
|
transition: z.ZodString;
|
|
139
139
|
timeout: z.ZodNumber;
|
|
140
|
-
start: z.ZodNullable<z.ZodDate
|
|
141
|
-
end: z.ZodNullable<z.ZodDate
|
|
140
|
+
start: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
141
|
+
end: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
142
142
|
file: z.ZodNullable<z.ZodObject<{
|
|
143
143
|
id: z.ZodString;
|
|
144
144
|
accountId: z.ZodString;
|
|
@@ -230,8 +230,8 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
230
230
|
timeout: number;
|
|
231
231
|
order: number;
|
|
232
232
|
title: string;
|
|
233
|
-
start: Date | null;
|
|
234
|
-
end: Date | null;
|
|
233
|
+
start: string | Date | null;
|
|
234
|
+
end: string | Date | null;
|
|
235
235
|
slideshowId: string;
|
|
236
236
|
caption: string;
|
|
237
237
|
fileId: string;
|
|
@@ -341,8 +341,8 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
341
341
|
timeout: number;
|
|
342
342
|
order: number;
|
|
343
343
|
title: string;
|
|
344
|
-
start: Date | null;
|
|
345
|
-
end: Date | null;
|
|
344
|
+
start: string | Date | null;
|
|
345
|
+
end: string | Date | null;
|
|
346
346
|
slideshowId: string;
|
|
347
347
|
caption: string;
|
|
348
348
|
fileId: string;
|
|
@@ -413,8 +413,8 @@ export declare const CreateSlideshowRequestBody: z.ZodObject<{
|
|
|
413
413
|
speed: z.ZodString;
|
|
414
414
|
transition: z.ZodString;
|
|
415
415
|
timeout: z.ZodNumber;
|
|
416
|
-
start: z.ZodNullable<z.ZodDate
|
|
417
|
-
end: z.ZodNullable<z.ZodDate
|
|
416
|
+
start: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
417
|
+
end: z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>;
|
|
418
418
|
}, "slideshowId">, "strip", z.ZodTypeAny, {
|
|
419
419
|
speed: string;
|
|
420
420
|
transition: string;
|
|
@@ -432,8 +432,8 @@ export declare const CreateSlideshowRequestBody: z.ZodObject<{
|
|
|
432
432
|
timeout: number;
|
|
433
433
|
order: number;
|
|
434
434
|
title: string;
|
|
435
|
-
start: Date | null;
|
|
436
|
-
end: Date | null;
|
|
435
|
+
start: string | Date | null;
|
|
436
|
+
end: string | Date | null;
|
|
437
437
|
caption: string;
|
|
438
438
|
fileId: string;
|
|
439
439
|
id?: string | undefined;
|
|
@@ -465,8 +465,8 @@ export declare const CreateSlideshowRequestBody: z.ZodObject<{
|
|
|
465
465
|
timeout: number;
|
|
466
466
|
order: number;
|
|
467
467
|
title: string;
|
|
468
|
-
start: Date | null;
|
|
469
|
-
end: Date | null;
|
|
468
|
+
start: string | Date | null;
|
|
469
|
+
end: string | Date | null;
|
|
470
470
|
caption: string;
|
|
471
471
|
fileId: string;
|
|
472
472
|
id?: string | undefined;
|
|
@@ -485,8 +485,8 @@ export declare const UpdateSlideshowRequestBody: z.ZodObject<{
|
|
|
485
485
|
speed: z.ZodOptional<z.ZodString>;
|
|
486
486
|
transition: z.ZodOptional<z.ZodString>;
|
|
487
487
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
488
|
-
start: z.ZodOptional<z.ZodNullable<z.ZodDate
|
|
489
|
-
end: z.ZodOptional<z.ZodNullable<z.ZodDate
|
|
488
|
+
start: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>>;
|
|
489
|
+
end: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>>;
|
|
490
490
|
}, "strip", z.ZodTypeAny, {
|
|
491
491
|
id: string;
|
|
492
492
|
speed?: string | undefined;
|
|
@@ -506,8 +506,8 @@ export declare const UpdateSlideshowRequestBody: z.ZodObject<{
|
|
|
506
506
|
timeout?: number | undefined;
|
|
507
507
|
order?: number | undefined;
|
|
508
508
|
title?: string | undefined;
|
|
509
|
-
start?: Date | null | undefined;
|
|
510
|
-
end?: Date | null | undefined;
|
|
509
|
+
start?: string | Date | null | undefined;
|
|
510
|
+
end?: string | Date | null | undefined;
|
|
511
511
|
slideshowId?: string | undefined;
|
|
512
512
|
caption?: string | undefined;
|
|
513
513
|
fileId?: string | undefined;
|
|
@@ -544,8 +544,8 @@ export declare const UpdateSlideshowRequestBody: z.ZodObject<{
|
|
|
544
544
|
timeout?: number | undefined;
|
|
545
545
|
order?: number | undefined;
|
|
546
546
|
title?: string | undefined;
|
|
547
|
-
start?: Date | null | undefined;
|
|
548
|
-
end?: Date | null | undefined;
|
|
547
|
+
start?: string | Date | null | undefined;
|
|
548
|
+
end?: string | Date | null | undefined;
|
|
549
549
|
slideshowId?: string | undefined;
|
|
550
550
|
caption?: string | undefined;
|
|
551
551
|
fileId?: string | undefined;
|