api-arreya-types 1.0.42 → 1.0.44

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/index.d.ts CHANGED
@@ -7,5 +7,7 @@ export * from './page.type';
7
7
  export * from './presentation.type';
8
8
  export * from './project.type';
9
9
  export * from './schedule.type';
10
+ export * from './slide.type';
11
+ export * from './slideshow.type';
10
12
  export * from './template.type';
11
13
  export * from './user.type';
package/dist/index.js CHANGED
@@ -23,5 +23,7 @@ __exportStar(require("./page.type"), exports);
23
23
  __exportStar(require("./presentation.type"), exports);
24
24
  __exportStar(require("./project.type"), exports);
25
25
  __exportStar(require("./schedule.type"), exports);
26
+ __exportStar(require("./slide.type"), exports);
27
+ __exportStar(require("./slideshow.type"), exports);
26
28
  __exportStar(require("./template.type"), exports);
27
29
  __exportStar(require("./user.type"), exports);
@@ -2,8 +2,8 @@ import { z } from 'zod';
2
2
  export declare const Slide: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  slideshowId: z.ZodString;
5
- title: z.ZodString;
6
- caption: z.ZodString;
5
+ title: z.ZodNullable<z.ZodString>;
6
+ caption: z.ZodNullable<z.ZodString>;
7
7
  order: z.ZodNumber;
8
8
  fileId: z.ZodString;
9
9
  speed: z.ZodString;
@@ -13,7 +13,7 @@ export declare const Slide: z.ZodObject<{
13
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
- accountId: z.ZodString;
16
+ organizationId: z.ZodString;
17
17
  name: z.ZodString;
18
18
  mimetype: z.ZodString;
19
19
  mediatype: z.ZodString;
@@ -28,11 +28,11 @@ export declare const Slide: z.ZodObject<{
28
28
  createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
29
29
  updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
30
30
  }, "strip", z.ZodTypeAny, {
31
+ organizationId: string;
31
32
  id: string;
32
33
  name: string;
33
34
  createdAt: Date;
34
35
  updatedAt: Date;
35
- accountId: string;
36
36
  mimetype: string;
37
37
  mediatype: string;
38
38
  size: number;
@@ -44,11 +44,11 @@ export declare const Slide: z.ZodObject<{
44
44
  hd: string | null;
45
45
  folderId: string;
46
46
  }, {
47
+ organizationId: string;
47
48
  id: string;
48
49
  name: string;
49
50
  createdAt: string | Date;
50
51
  updatedAt: string | Date;
51
- accountId: string;
52
52
  mimetype: string;
53
53
  mediatype: string;
54
54
  size: number;
@@ -70,18 +70,18 @@ export declare const Slide: z.ZodObject<{
70
70
  transition: string;
71
71
  timeout: number;
72
72
  order: number;
73
- title: string;
73
+ title: string | null;
74
74
  start: Date | null;
75
75
  end: Date | null;
76
76
  slideshowId: string;
77
- caption: string;
77
+ caption: string | null;
78
78
  fileId: string;
79
79
  file: {
80
+ organizationId: string;
80
81
  id: string;
81
82
  name: string;
82
83
  createdAt: Date;
83
84
  updatedAt: Date;
84
- accountId: string;
85
85
  mimetype: string;
86
86
  mediatype: string;
87
87
  size: number;
@@ -101,18 +101,18 @@ export declare const Slide: z.ZodObject<{
101
101
  transition: string;
102
102
  timeout: number;
103
103
  order: number;
104
- title: string;
104
+ title: string | null;
105
105
  start: string | Date | null;
106
106
  end: string | Date | null;
107
107
  slideshowId: string;
108
- caption: string;
108
+ caption: string | null;
109
109
  fileId: string;
110
110
  file: {
111
+ organizationId: string;
111
112
  id: string;
112
113
  name: string;
113
114
  createdAt: string | Date;
114
115
  updatedAt: string | Date;
115
- accountId: string;
116
116
  mimetype: string;
117
117
  mediatype: string;
118
118
  size: number;
@@ -128,8 +128,8 @@ export declare const Slide: z.ZodObject<{
128
128
  export declare const CreateSlide: z.ZodObject<{
129
129
  id: z.ZodOptional<z.ZodString>;
130
130
  slideshowId: z.ZodString;
131
- title: z.ZodString;
132
- caption: z.ZodString;
131
+ title: z.ZodNullable<z.ZodString>;
132
+ caption: z.ZodNullable<z.ZodString>;
133
133
  order: z.ZodNumber;
134
134
  fileId: z.ZodString;
135
135
  speed: z.ZodString;
@@ -142,11 +142,11 @@ export declare const CreateSlide: z.ZodObject<{
142
142
  transition: string;
143
143
  timeout: number;
144
144
  order: number;
145
- title: string;
145
+ title: string | null;
146
146
  start: Date | null;
147
147
  end: Date | null;
148
148
  slideshowId: string;
149
- caption: string;
149
+ caption: string | null;
150
150
  fileId: string;
151
151
  id?: string | undefined;
152
152
  }, {
@@ -154,19 +154,19 @@ export declare const CreateSlide: z.ZodObject<{
154
154
  transition: string;
155
155
  timeout: number;
156
156
  order: number;
157
- title: string;
157
+ title: string | null;
158
158
  start: string | Date | null;
159
159
  end: string | Date | null;
160
160
  slideshowId: string;
161
- caption: string;
161
+ caption: string | null;
162
162
  fileId: string;
163
163
  id?: string | undefined;
164
164
  }>;
165
165
  export declare const CreateSlides: z.ZodArray<z.ZodObject<{
166
166
  id: z.ZodOptional<z.ZodString>;
167
167
  slideshowId: z.ZodString;
168
- title: z.ZodString;
169
- caption: z.ZodString;
168
+ title: z.ZodNullable<z.ZodString>;
169
+ caption: z.ZodNullable<z.ZodString>;
170
170
  order: z.ZodNumber;
171
171
  fileId: z.ZodString;
172
172
  speed: z.ZodString;
@@ -179,11 +179,11 @@ export declare const CreateSlides: z.ZodArray<z.ZodObject<{
179
179
  transition: string;
180
180
  timeout: number;
181
181
  order: number;
182
- title: string;
182
+ title: string | null;
183
183
  start: Date | null;
184
184
  end: Date | null;
185
185
  slideshowId: string;
186
- caption: string;
186
+ caption: string | null;
187
187
  fileId: string;
188
188
  id?: string | undefined;
189
189
  }, {
@@ -191,19 +191,19 @@ export declare const CreateSlides: z.ZodArray<z.ZodObject<{
191
191
  transition: string;
192
192
  timeout: number;
193
193
  order: number;
194
- title: string;
194
+ title: string | null;
195
195
  start: string | Date | null;
196
196
  end: string | Date | null;
197
197
  slideshowId: string;
198
- caption: string;
198
+ caption: string | null;
199
199
  fileId: string;
200
200
  id?: string | undefined;
201
201
  }>, "many">;
202
202
  export declare const UpdateSlide: z.ZodObject<{
203
203
  id: z.ZodString;
204
204
  slideshowId: z.ZodOptional<z.ZodString>;
205
- title: z.ZodOptional<z.ZodString>;
206
- caption: z.ZodOptional<z.ZodString>;
205
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
206
+ caption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
207
207
  order: z.ZodOptional<z.ZodNumber>;
208
208
  fileId: z.ZodOptional<z.ZodString>;
209
209
  speed: z.ZodOptional<z.ZodString>;
@@ -217,11 +217,11 @@ export declare const UpdateSlide: z.ZodObject<{
217
217
  transition?: string | undefined;
218
218
  timeout?: number | undefined;
219
219
  order?: number | undefined;
220
- title?: string | undefined;
220
+ title?: string | null | undefined;
221
221
  start?: Date | null | undefined;
222
222
  end?: Date | null | undefined;
223
223
  slideshowId?: string | undefined;
224
- caption?: string | undefined;
224
+ caption?: string | null | undefined;
225
225
  fileId?: string | undefined;
226
226
  }, {
227
227
  id: string;
@@ -229,11 +229,11 @@ export declare const UpdateSlide: z.ZodObject<{
229
229
  transition?: string | undefined;
230
230
  timeout?: number | undefined;
231
231
  order?: number | undefined;
232
- title?: string | undefined;
232
+ title?: string | null | undefined;
233
233
  start?: string | Date | null | undefined;
234
234
  end?: string | Date | null | undefined;
235
235
  slideshowId?: string | undefined;
236
- caption?: string | undefined;
236
+ caption?: string | null | undefined;
237
237
  fileId?: string | undefined;
238
238
  }>;
239
239
  export type Slide = z.infer<typeof Slide>;
@@ -249,8 +249,8 @@ export declare const SlideIdRequestParams: z.ZodObject<{
249
249
  }>;
250
250
  export declare const CreateSlideRequestBody: z.ZodObject<{
251
251
  slideshowId: z.ZodString;
252
- title: z.ZodString;
253
- caption: z.ZodString;
252
+ title: z.ZodNullable<z.ZodString>;
253
+ caption: z.ZodNullable<z.ZodString>;
254
254
  order: z.ZodNumber;
255
255
  fileId: z.ZodString;
256
256
  speed: z.ZodString;
@@ -263,29 +263,29 @@ export declare const CreateSlideRequestBody: z.ZodObject<{
263
263
  transition: string;
264
264
  timeout: number;
265
265
  order: number;
266
- title: string;
266
+ title: string | null;
267
267
  start: Date | null;
268
268
  end: Date | null;
269
269
  slideshowId: string;
270
- caption: string;
270
+ caption: string | null;
271
271
  fileId: string;
272
272
  }, {
273
273
  speed: string;
274
274
  transition: string;
275
275
  timeout: number;
276
276
  order: number;
277
- title: string;
277
+ title: string | null;
278
278
  start: string | Date | null;
279
279
  end: string | Date | null;
280
280
  slideshowId: string;
281
- caption: string;
281
+ caption: string | null;
282
282
  fileId: string;
283
283
  }>;
284
284
  export type CreateSlideRequestBody = z.infer<typeof CreateSlideRequestBody>;
285
285
  export declare const UpdateSlideRequestBody: z.ZodObject<{
286
286
  id: z.ZodString;
287
- title: z.ZodOptional<z.ZodString>;
288
- caption: z.ZodOptional<z.ZodString>;
287
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
288
+ caption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
289
289
  order: z.ZodOptional<z.ZodNumber>;
290
290
  fileId: z.ZodOptional<z.ZodString>;
291
291
  speed: z.ZodOptional<z.ZodString>;
@@ -299,10 +299,10 @@ export declare const UpdateSlideRequestBody: z.ZodObject<{
299
299
  transition?: string | undefined;
300
300
  timeout?: number | undefined;
301
301
  order?: number | undefined;
302
- title?: string | undefined;
302
+ title?: string | null | undefined;
303
303
  start?: Date | null | undefined;
304
304
  end?: Date | null | undefined;
305
- caption?: string | undefined;
305
+ caption?: string | null | undefined;
306
306
  fileId?: string | undefined;
307
307
  }, {
308
308
  id: string;
@@ -310,10 +310,10 @@ export declare const UpdateSlideRequestBody: z.ZodObject<{
310
310
  transition?: string | undefined;
311
311
  timeout?: number | undefined;
312
312
  order?: number | undefined;
313
- title?: string | undefined;
313
+ title?: string | null | undefined;
314
314
  start?: string | Date | null | undefined;
315
315
  end?: string | Date | null | undefined;
316
- caption?: string | undefined;
316
+ caption?: string | null | undefined;
317
317
  fileId?: string | undefined;
318
318
  }>;
319
319
  export type UpdateSlideRequestBody = z.infer<typeof UpdateSlideRequestBody>;
@@ -7,8 +7,8 @@ var file_type_1 = require("./file.type");
7
7
  exports.Slide = zod_1.z.object({
8
8
  id: zod_1.z.string(),
9
9
  slideshowId: zod_1.z.string(),
10
- title: zod_1.z.string(),
11
- caption: zod_1.z.string(),
10
+ title: zod_1.z.string().nullable(),
11
+ caption: zod_1.z.string().nullable(),
12
12
  order: zod_1.z.number(),
13
13
  fileId: zod_1.z.string(),
14
14
  speed: zod_1.z.string(),
@@ -23,8 +23,8 @@ exports.Slide = zod_1.z.object({
23
23
  exports.CreateSlide = zod_1.z.object({
24
24
  id: zod_1.z.string().optional(),
25
25
  slideshowId: zod_1.z.string(),
26
- title: zod_1.z.string(),
27
- caption: zod_1.z.string(),
26
+ title: zod_1.z.string().nullable(),
27
+ caption: zod_1.z.string().nullable(),
28
28
  order: zod_1.z.number(),
29
29
  fileId: zod_1.z.string(),
30
30
  speed: zod_1.z.string(),
@@ -37,8 +37,8 @@ exports.CreateSlides = zod_1.z.array(exports.CreateSlide);
37
37
  exports.UpdateSlide = zod_1.z.object({
38
38
  id: zod_1.z.string(),
39
39
  slideshowId: zod_1.z.string().optional(),
40
- title: zod_1.z.string().optional(),
41
- caption: zod_1.z.string().optional(),
40
+ title: zod_1.z.string().nullable().optional(),
41
+ caption: zod_1.z.string().nullable().optional(),
42
42
  order: zod_1.z.number().optional(),
43
43
  fileId: zod_1.z.string().optional(),
44
44
  speed: zod_1.z.string().optional(),
@@ -54,8 +54,8 @@ exports.SlideIdRequestParams = zod_1.z.object({
54
54
  // Create Slide Request
55
55
  exports.CreateSlideRequestBody = zod_1.z.object({
56
56
  slideshowId: zod_1.z.string(),
57
- title: zod_1.z.string(),
58
- caption: zod_1.z.string(),
57
+ title: zod_1.z.string().nullable(),
58
+ caption: zod_1.z.string().nullable(),
59
59
  order: zod_1.z.number(),
60
60
  fileId: zod_1.z.string(),
61
61
  speed: zod_1.z.string(),
@@ -67,8 +67,8 @@ exports.CreateSlideRequestBody = zod_1.z.object({
67
67
  // Update Slide Request
68
68
  exports.UpdateSlideRequestBody = zod_1.z.object({
69
69
  id: zod_1.z.string(),
70
- title: zod_1.z.string().optional(),
71
- caption: zod_1.z.string().optional(),
70
+ title: zod_1.z.string().nullable().optional(),
71
+ caption: zod_1.z.string().nullable().optional(),
72
72
  order: zod_1.z.number().optional(),
73
73
  fileId: zod_1.z.string().optional(),
74
74
  speed: zod_1.z.string().optional(),
@@ -7,15 +7,15 @@ export declare const SlideshowProject: z.ZodObject<{
7
7
  updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  id: string;
10
+ projectId: string;
10
11
  createdAt: Date;
11
12
  updatedAt: Date;
12
- projectId: string;
13
13
  slideshowId: string;
14
14
  }, {
15
15
  id: string;
16
+ projectId: string;
16
17
  createdAt: string | Date;
17
18
  updatedAt: string | Date;
18
- projectId: string;
19
19
  slideshowId: string;
20
20
  }>;
21
21
  export declare const CreateSlideshowProject: z.ZodObject<{
@@ -43,29 +43,29 @@ export type CreateSlideshowProject = z.infer<typeof CreateSlideshowProject>;
43
43
  export type CreateSlideshowProjects = z.infer<typeof CreateSlideshowProjects>;
44
44
  export declare const Slideshow: z.ZodObject<{
45
45
  id: z.ZodString;
46
- accountId: z.ZodString;
46
+ organizationId: z.ZodString;
47
47
  name: z.ZodString;
48
48
  allProjects: z.ZodBoolean;
49
49
  createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
50
50
  updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
51
51
  }, "strip", z.ZodTypeAny, {
52
+ organizationId: string;
52
53
  id: string;
53
54
  name: string;
54
55
  createdAt: Date;
55
56
  updatedAt: Date;
56
- accountId: string;
57
57
  allProjects: boolean;
58
58
  }, {
59
+ organizationId: string;
59
60
  id: string;
60
61
  name: string;
61
62
  createdAt: string | Date;
62
63
  updatedAt: string | Date;
63
- accountId: string;
64
64
  allProjects: boolean;
65
65
  }>;
66
66
  export declare const SlideshowWithProjects: z.ZodObject<z.objectUtil.extendShape<{
67
67
  id: z.ZodString;
68
- accountId: z.ZodString;
68
+ organizationId: z.ZodString;
69
69
  name: z.ZodString;
70
70
  allProjects: z.ZodBoolean;
71
71
  createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
@@ -79,49 +79,49 @@ export declare const SlideshowWithProjects: z.ZodObject<z.objectUtil.extendShape
79
79
  updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
80
80
  }, "strip", z.ZodTypeAny, {
81
81
  id: string;
82
+ projectId: string;
82
83
  createdAt: Date;
83
84
  updatedAt: Date;
84
- projectId: string;
85
85
  slideshowId: string;
86
86
  }, {
87
87
  id: string;
88
+ projectId: string;
88
89
  createdAt: string | Date;
89
90
  updatedAt: string | Date;
90
- projectId: string;
91
91
  slideshowId: string;
92
92
  }>, "many">;
93
93
  }>, "strip", z.ZodTypeAny, {
94
+ organizationId: string;
94
95
  id: string;
95
96
  name: string;
96
97
  createdAt: Date;
97
98
  updatedAt: Date;
98
- accountId: string;
99
99
  allProjects: boolean;
100
100
  slideshowProjects: {
101
101
  id: string;
102
+ projectId: string;
102
103
  createdAt: Date;
103
104
  updatedAt: Date;
104
- projectId: string;
105
105
  slideshowId: string;
106
106
  }[];
107
107
  }, {
108
+ organizationId: string;
108
109
  id: string;
109
110
  name: string;
110
111
  createdAt: string | Date;
111
112
  updatedAt: string | Date;
112
- accountId: string;
113
113
  allProjects: boolean;
114
114
  slideshowProjects: {
115
115
  id: string;
116
+ projectId: string;
116
117
  createdAt: string | Date;
117
118
  updatedAt: string | Date;
118
- projectId: string;
119
119
  slideshowId: string;
120
120
  }[];
121
121
  }>;
122
122
  export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
123
123
  id: z.ZodString;
124
- accountId: z.ZodString;
124
+ organizationId: z.ZodString;
125
125
  name: z.ZodString;
126
126
  allProjects: z.ZodBoolean;
127
127
  createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
@@ -130,8 +130,8 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
130
130
  slides: z.ZodArray<z.ZodObject<{
131
131
  id: z.ZodString;
132
132
  slideshowId: z.ZodString;
133
- title: z.ZodString;
134
- caption: z.ZodString;
133
+ title: z.ZodNullable<z.ZodString>;
134
+ caption: z.ZodNullable<z.ZodString>;
135
135
  order: z.ZodNumber;
136
136
  fileId: z.ZodString;
137
137
  speed: z.ZodString;
@@ -141,7 +141,7 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
141
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
- accountId: z.ZodString;
144
+ organizationId: z.ZodString;
145
145
  name: z.ZodString;
146
146
  mimetype: z.ZodString;
147
147
  mediatype: z.ZodString;
@@ -156,11 +156,11 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
156
156
  createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
157
157
  updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
158
158
  }, "strip", z.ZodTypeAny, {
159
+ organizationId: string;
159
160
  id: string;
160
161
  name: string;
161
162
  createdAt: Date;
162
163
  updatedAt: Date;
163
- accountId: string;
164
164
  mimetype: string;
165
165
  mediatype: string;
166
166
  size: number;
@@ -172,11 +172,11 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
172
172
  hd: string | null;
173
173
  folderId: string;
174
174
  }, {
175
+ organizationId: string;
175
176
  id: string;
176
177
  name: string;
177
178
  createdAt: string | Date;
178
179
  updatedAt: string | Date;
179
- accountId: string;
180
180
  mimetype: string;
181
181
  mediatype: string;
182
182
  size: number;
@@ -198,18 +198,18 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
198
198
  transition: string;
199
199
  timeout: number;
200
200
  order: number;
201
- title: string;
201
+ title: string | null;
202
202
  start: Date | null;
203
203
  end: Date | null;
204
204
  slideshowId: string;
205
- caption: string;
205
+ caption: string | null;
206
206
  fileId: string;
207
207
  file: {
208
+ organizationId: string;
208
209
  id: string;
209
210
  name: string;
210
211
  createdAt: Date;
211
212
  updatedAt: Date;
212
- accountId: string;
213
213
  mimetype: string;
214
214
  mediatype: string;
215
215
  size: number;
@@ -229,18 +229,18 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
229
229
  transition: string;
230
230
  timeout: number;
231
231
  order: number;
232
- title: string;
232
+ title: string | null;
233
233
  start: string | Date | null;
234
234
  end: string | Date | null;
235
235
  slideshowId: string;
236
- caption: string;
236
+ caption: string | null;
237
237
  fileId: string;
238
238
  file: {
239
+ organizationId: string;
239
240
  id: string;
240
241
  name: string;
241
242
  createdAt: string | Date;
242
243
  updatedAt: string | Date;
243
- accountId: string;
244
244
  mimetype: string;
245
245
  mediatype: string;
246
246
  size: number;
@@ -261,29 +261,29 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
261
261
  updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
262
262
  }, "strip", z.ZodTypeAny, {
263
263
  id: string;
264
+ projectId: string;
264
265
  createdAt: Date;
265
266
  updatedAt: Date;
266
- projectId: string;
267
267
  slideshowId: string;
268
268
  }, {
269
269
  id: string;
270
+ projectId: string;
270
271
  createdAt: string | Date;
271
272
  updatedAt: string | Date;
272
- projectId: string;
273
273
  slideshowId: string;
274
274
  }>, "many">;
275
275
  }>, "strip", z.ZodTypeAny, {
276
+ organizationId: string;
276
277
  id: string;
277
278
  name: string;
278
279
  createdAt: Date;
279
280
  updatedAt: Date;
280
- accountId: string;
281
281
  allProjects: boolean;
282
282
  slideshowProjects: {
283
283
  id: string;
284
+ projectId: string;
284
285
  createdAt: Date;
285
286
  updatedAt: Date;
286
- projectId: string;
287
287
  slideshowId: string;
288
288
  }[];
289
289
  slides: {
@@ -294,18 +294,18 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
294
294
  transition: string;
295
295
  timeout: number;
296
296
  order: number;
297
- title: string;
297
+ title: string | null;
298
298
  start: Date | null;
299
299
  end: Date | null;
300
300
  slideshowId: string;
301
- caption: string;
301
+ caption: string | null;
302
302
  fileId: string;
303
303
  file: {
304
+ organizationId: string;
304
305
  id: string;
305
306
  name: string;
306
307
  createdAt: Date;
307
308
  updatedAt: Date;
308
- accountId: string;
309
309
  mimetype: string;
310
310
  mediatype: string;
311
311
  size: number;
@@ -319,17 +319,17 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
319
319
  } | null;
320
320
  }[];
321
321
  }, {
322
+ organizationId: string;
322
323
  id: string;
323
324
  name: string;
324
325
  createdAt: string | Date;
325
326
  updatedAt: string | Date;
326
- accountId: string;
327
327
  allProjects: boolean;
328
328
  slideshowProjects: {
329
329
  id: string;
330
+ projectId: string;
330
331
  createdAt: string | Date;
331
332
  updatedAt: string | Date;
332
- projectId: string;
333
333
  slideshowId: string;
334
334
  }[];
335
335
  slides: {
@@ -340,18 +340,18 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
340
340
  transition: string;
341
341
  timeout: number;
342
342
  order: number;
343
- title: string;
343
+ title: string | null;
344
344
  start: string | Date | null;
345
345
  end: string | Date | null;
346
346
  slideshowId: string;
347
- caption: string;
347
+ caption: string | null;
348
348
  fileId: string;
349
349
  file: {
350
+ organizationId: string;
350
351
  id: string;
351
352
  name: string;
352
353
  createdAt: string | Date;
353
354
  updatedAt: string | Date;
354
- accountId: string;
355
355
  mimetype: string;
356
356
  mediatype: string;
357
357
  size: number;
@@ -366,32 +366,32 @@ export declare const SlideshowExtended: z.ZodObject<z.objectUtil.extendShape<{
366
366
  }[];
367
367
  }>;
368
368
  export declare const CreateSlideshow: z.ZodObject<{
369
- accountId: z.ZodString;
369
+ organizationId: z.ZodString;
370
370
  name: z.ZodString;
371
371
  allProjects: z.ZodDefault<z.ZodBoolean>;
372
372
  }, "strip", z.ZodTypeAny, {
373
+ organizationId: string;
373
374
  name: string;
374
- accountId: string;
375
375
  allProjects: boolean;
376
376
  }, {
377
+ organizationId: string;
377
378
  name: string;
378
- accountId: string;
379
379
  allProjects?: boolean | undefined;
380
380
  }>;
381
381
  export declare const UpdateSlideshow: z.ZodObject<{
382
382
  id: z.ZodString;
383
- accountId: z.ZodOptional<z.ZodString>;
383
+ organizationId: z.ZodOptional<z.ZodString>;
384
384
  name: z.ZodOptional<z.ZodString>;
385
385
  allProjects: z.ZodOptional<z.ZodBoolean>;
386
386
  }, "strip", z.ZodTypeAny, {
387
387
  id: string;
388
+ organizationId?: string | undefined;
388
389
  name?: string | undefined;
389
- accountId?: string | undefined;
390
390
  allProjects?: boolean | undefined;
391
391
  }, {
392
392
  id: string;
393
+ organizationId?: string | undefined;
393
394
  name?: string | undefined;
394
- accountId?: string | undefined;
395
395
  allProjects?: boolean | undefined;
396
396
  }>;
397
397
  export declare const SlideshowIdRequestParams: z.ZodObject<{
@@ -406,8 +406,8 @@ export declare const CreateSlideshowRequestBody: z.ZodObject<{
406
406
  slides: z.ZodArray<z.ZodObject<Omit<{
407
407
  id: z.ZodOptional<z.ZodString>;
408
408
  slideshowId: z.ZodString;
409
- title: z.ZodString;
410
- caption: z.ZodString;
409
+ title: z.ZodNullable<z.ZodString>;
410
+ caption: z.ZodNullable<z.ZodString>;
411
411
  order: z.ZodNumber;
412
412
  fileId: z.ZodString;
413
413
  speed: z.ZodString;
@@ -420,10 +420,10 @@ export declare const CreateSlideshowRequestBody: z.ZodObject<{
420
420
  transition: string;
421
421
  timeout: number;
422
422
  order: number;
423
- title: string;
423
+ title: string | null;
424
424
  start: Date | null;
425
425
  end: Date | null;
426
- caption: string;
426
+ caption: string | null;
427
427
  fileId: string;
428
428
  id?: string | undefined;
429
429
  }, {
@@ -431,43 +431,43 @@ export declare const CreateSlideshowRequestBody: z.ZodObject<{
431
431
  transition: string;
432
432
  timeout: number;
433
433
  order: number;
434
- title: string;
434
+ title: string | null;
435
435
  start: string | Date | null;
436
436
  end: string | Date | null;
437
- caption: string;
437
+ caption: string | null;
438
438
  fileId: string;
439
439
  id?: string | undefined;
440
440
  }>, "many">;
441
441
  allProjects: z.ZodDefault<z.ZodBoolean>;
442
442
  projectIds: z.ZodArray<z.ZodString, "many">;
443
443
  }, "strip", z.ZodTypeAny, {
444
- name: string;
445
444
  projectIds: string[];
445
+ name: string;
446
446
  allProjects: boolean;
447
447
  slides: {
448
448
  speed: string;
449
449
  transition: string;
450
450
  timeout: number;
451
451
  order: number;
452
- title: string;
452
+ title: string | null;
453
453
  start: Date | null;
454
454
  end: Date | null;
455
- caption: string;
455
+ caption: string | null;
456
456
  fileId: string;
457
457
  id?: string | undefined;
458
458
  }[];
459
459
  }, {
460
- name: string;
461
460
  projectIds: string[];
461
+ name: string;
462
462
  slides: {
463
463
  speed: string;
464
464
  transition: string;
465
465
  timeout: number;
466
466
  order: number;
467
- title: string;
467
+ title: string | null;
468
468
  start: string | Date | null;
469
469
  end: string | Date | null;
470
- caption: string;
470
+ caption: string | null;
471
471
  fileId: string;
472
472
  id?: string | undefined;
473
473
  }[];
@@ -478,8 +478,8 @@ export declare const UpdateSlideshowRequestBody: z.ZodObject<{
478
478
  slides: z.ZodOptional<z.ZodArray<z.ZodObject<{
479
479
  id: z.ZodString;
480
480
  slideshowId: z.ZodOptional<z.ZodString>;
481
- title: z.ZodOptional<z.ZodString>;
482
- caption: z.ZodOptional<z.ZodString>;
481
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
482
+ caption: z.ZodOptional<z.ZodNullable<z.ZodString>>;
483
483
  order: z.ZodOptional<z.ZodNumber>;
484
484
  fileId: z.ZodOptional<z.ZodString>;
485
485
  speed: z.ZodOptional<z.ZodString>;
@@ -493,11 +493,11 @@ export declare const UpdateSlideshowRequestBody: z.ZodObject<{
493
493
  transition?: string | undefined;
494
494
  timeout?: number | undefined;
495
495
  order?: number | undefined;
496
- title?: string | undefined;
496
+ title?: string | null | undefined;
497
497
  start?: Date | null | undefined;
498
498
  end?: Date | null | undefined;
499
499
  slideshowId?: string | undefined;
500
- caption?: string | undefined;
500
+ caption?: string | null | undefined;
501
501
  fileId?: string | undefined;
502
502
  }, {
503
503
  id: string;
@@ -505,11 +505,11 @@ export declare const UpdateSlideshowRequestBody: z.ZodObject<{
505
505
  transition?: string | undefined;
506
506
  timeout?: number | undefined;
507
507
  order?: number | undefined;
508
- title?: string | undefined;
508
+ title?: string | null | undefined;
509
509
  start?: string | Date | null | undefined;
510
510
  end?: string | Date | null | undefined;
511
511
  slideshowId?: string | undefined;
512
- caption?: string | undefined;
512
+ caption?: string | null | undefined;
513
513
  fileId?: string | undefined;
514
514
  }>, "many">>;
515
515
  deletedSlideIds: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
@@ -517,8 +517,8 @@ export declare const UpdateSlideshowRequestBody: z.ZodObject<{
517
517
  projectIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
518
518
  }, "strip", z.ZodTypeAny, {
519
519
  deletedSlideIds: string[];
520
- name?: string | undefined;
521
520
  projectIds?: string[] | undefined;
521
+ name?: string | undefined;
522
522
  allProjects?: boolean | undefined;
523
523
  slides?: {
524
524
  id: string;
@@ -526,16 +526,16 @@ export declare const UpdateSlideshowRequestBody: z.ZodObject<{
526
526
  transition?: string | undefined;
527
527
  timeout?: number | undefined;
528
528
  order?: number | undefined;
529
- title?: string | undefined;
529
+ title?: string | null | undefined;
530
530
  start?: Date | null | undefined;
531
531
  end?: Date | null | undefined;
532
532
  slideshowId?: string | undefined;
533
- caption?: string | undefined;
533
+ caption?: string | null | undefined;
534
534
  fileId?: string | undefined;
535
535
  }[] | undefined;
536
536
  }, {
537
- name?: string | undefined;
538
537
  projectIds?: string[] | undefined;
538
+ name?: string | undefined;
539
539
  allProjects?: boolean | undefined;
540
540
  slides?: {
541
541
  id: string;
@@ -543,11 +543,11 @@ export declare const UpdateSlideshowRequestBody: z.ZodObject<{
543
543
  transition?: string | undefined;
544
544
  timeout?: number | undefined;
545
545
  order?: number | undefined;
546
- title?: string | undefined;
546
+ title?: string | null | undefined;
547
547
  start?: string | Date | null | undefined;
548
548
  end?: string | Date | null | undefined;
549
549
  slideshowId?: string | undefined;
550
- caption?: string | undefined;
550
+ caption?: string | null | undefined;
551
551
  fileId?: string | undefined;
552
552
  }[] | undefined;
553
553
  deletedSlideIds?: string[] | undefined;
@@ -23,7 +23,7 @@ exports.CreateSlideshowProjects = zod_1.z.object({
23
23
  // Slideshow
24
24
  exports.Slideshow = zod_1.z.object({
25
25
  id: zod_1.z.string(),
26
- accountId: zod_1.z.string(),
26
+ organizationId: zod_1.z.string(),
27
27
  name: zod_1.z.string(),
28
28
  allProjects: zod_1.z.boolean(),
29
29
  createdAt: zod_utils_1.zodDate,
@@ -37,13 +37,13 @@ exports.SlideshowExtended = exports.Slideshow.extend({
37
37
  slideshowProjects: zod_1.z.array(exports.SlideshowProject),
38
38
  });
39
39
  exports.CreateSlideshow = zod_1.z.object({
40
- accountId: zod_1.z.string(),
40
+ organizationId: zod_1.z.string(),
41
41
  name: zod_1.z.string(),
42
42
  allProjects: zod_1.z.boolean().default(true),
43
43
  });
44
44
  exports.UpdateSlideshow = zod_1.z.object({
45
45
  id: zod_1.z.string(),
46
- accountId: zod_1.z.string().optional(),
46
+ organizationId: zod_1.z.string().optional(),
47
47
  name: zod_1.z.string().optional(),
48
48
  allProjects: zod_1.z.boolean().optional(),
49
49
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "api-arreya-types",
3
- "version": "1.0.42",
3
+ "version": "1.0.44",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.js",
6
6
  "private": false,