api-arreya-types 1.0.24 → 1.0.25

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.
@@ -44,10 +44,9 @@ export declare const CreatePage: z.ZodObject<{
44
44
  name: z.ZodString;
45
45
  presentationId: z.ZodString;
46
46
  layout: z.ZodString;
47
- backgroundColor: z.ZodString;
48
- duration: z.ZodNumber;
47
+ duration: z.ZodNullable<z.ZodNumber>;
49
48
  animation: z.ZodNullable<z.ZodString>;
50
- speed: z.ZodNumber;
49
+ speed: z.ZodNullable<z.ZodNumber>;
51
50
  order: z.ZodNumber;
52
51
  preview: z.ZodString;
53
52
  }, "strip", z.ZodTypeAny, {
@@ -55,10 +54,9 @@ export declare const CreatePage: z.ZodObject<{
55
54
  preview: string;
56
55
  presentationId: string;
57
56
  layout: string;
58
- speed: number;
57
+ speed: number | null;
59
58
  order: number;
60
- backgroundColor: string;
61
- duration: number;
59
+ duration: number | null;
62
60
  animation: string | null;
63
61
  id?: string | undefined;
64
62
  }, {
@@ -66,10 +64,9 @@ export declare const CreatePage: z.ZodObject<{
66
64
  preview: string;
67
65
  presentationId: string;
68
66
  layout: string;
69
- speed: number;
67
+ speed: number | null;
70
68
  order: number;
71
- backgroundColor: string;
72
- duration: number;
69
+ duration: number | null;
73
70
  animation: string | null;
74
71
  id?: string | undefined;
75
72
  }>;
@@ -78,10 +75,9 @@ export declare const CreatePages: z.ZodArray<z.ZodObject<{
78
75
  name: z.ZodString;
79
76
  presentationId: z.ZodString;
80
77
  layout: z.ZodString;
81
- backgroundColor: z.ZodString;
82
- duration: z.ZodNumber;
78
+ duration: z.ZodNullable<z.ZodNumber>;
83
79
  animation: z.ZodNullable<z.ZodString>;
84
- speed: z.ZodNumber;
80
+ speed: z.ZodNullable<z.ZodNumber>;
85
81
  order: z.ZodNumber;
86
82
  preview: z.ZodString;
87
83
  }, "strip", z.ZodTypeAny, {
@@ -89,10 +85,9 @@ export declare const CreatePages: z.ZodArray<z.ZodObject<{
89
85
  preview: string;
90
86
  presentationId: string;
91
87
  layout: string;
92
- speed: number;
88
+ speed: number | null;
93
89
  order: number;
94
- backgroundColor: string;
95
- duration: number;
90
+ duration: number | null;
96
91
  animation: string | null;
97
92
  id?: string | undefined;
98
93
  }, {
@@ -100,10 +95,9 @@ export declare const CreatePages: z.ZodArray<z.ZodObject<{
100
95
  preview: string;
101
96
  presentationId: string;
102
97
  layout: string;
103
- speed: number;
98
+ speed: number | null;
104
99
  order: number;
105
- backgroundColor: string;
106
- duration: number;
100
+ duration: number | null;
107
101
  animation: string | null;
108
102
  id?: string | undefined;
109
103
  }>, "many">;
@@ -112,10 +106,9 @@ export declare const UpdatePage: z.ZodObject<{
112
106
  name: z.ZodOptional<z.ZodString>;
113
107
  presentationId: z.ZodOptional<z.ZodString>;
114
108
  layout: z.ZodOptional<z.ZodString>;
115
- backgroundColor: z.ZodOptional<z.ZodString>;
116
- duration: z.ZodOptional<z.ZodNumber>;
117
- animation: z.ZodOptional<z.ZodString>;
118
- speed: z.ZodOptional<z.ZodNumber>;
109
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
110
+ animation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
111
+ speed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
119
112
  order: z.ZodOptional<z.ZodNumber>;
120
113
  preview: z.ZodOptional<z.ZodString>;
121
114
  }, "strip", z.ZodTypeAny, {
@@ -124,22 +117,20 @@ export declare const UpdatePage: z.ZodObject<{
124
117
  preview?: string | undefined;
125
118
  presentationId?: string | undefined;
126
119
  layout?: string | undefined;
127
- speed?: number | undefined;
120
+ speed?: number | null | undefined;
128
121
  order?: number | undefined;
129
- backgroundColor?: string | undefined;
130
- duration?: number | undefined;
131
- animation?: string | undefined;
122
+ duration?: number | null | undefined;
123
+ animation?: string | null | undefined;
132
124
  }, {
133
125
  id: string;
134
126
  name?: string | undefined;
135
127
  preview?: string | undefined;
136
128
  presentationId?: string | undefined;
137
129
  layout?: string | undefined;
138
- speed?: number | undefined;
130
+ speed?: number | null | undefined;
139
131
  order?: number | undefined;
140
- backgroundColor?: string | undefined;
141
- duration?: number | undefined;
142
- animation?: string | undefined;
132
+ duration?: number | null | undefined;
133
+ animation?: string | null | undefined;
143
134
  }>;
144
135
  export type Page = z.infer<typeof Page>;
145
136
  export type CreatePage = z.infer<typeof CreatePage>;
@@ -156,9 +147,9 @@ export declare const CreatePageRequestBody: z.ZodObject<{
156
147
  name: z.ZodString;
157
148
  presentationId: z.ZodString;
158
149
  layout: z.ZodString;
159
- duration: z.ZodNumber;
160
- animation: z.ZodDefault<z.ZodNullable<z.ZodString>>;
161
- speed: z.ZodNumber;
150
+ duration: z.ZodNullable<z.ZodNumber>;
151
+ animation: z.ZodNullable<z.ZodString>;
152
+ speed: z.ZodNullable<z.ZodNumber>;
162
153
  order: z.ZodNumber;
163
154
  preview: z.ZodString;
164
155
  }, "strip", z.ZodTypeAny, {
@@ -166,28 +157,28 @@ export declare const CreatePageRequestBody: z.ZodObject<{
166
157
  preview: string;
167
158
  presentationId: string;
168
159
  layout: string;
169
- speed: number;
160
+ speed: number | null;
170
161
  order: number;
171
- duration: number;
162
+ duration: number | null;
172
163
  animation: string | null;
173
164
  }, {
174
165
  name: string;
175
166
  preview: string;
176
167
  presentationId: string;
177
168
  layout: string;
178
- speed: number;
169
+ speed: number | null;
179
170
  order: number;
180
- duration: number;
181
- animation?: string | null | undefined;
171
+ duration: number | null;
172
+ animation: string | null;
182
173
  }>;
183
174
  export type CreatePageRequestBody = z.infer<typeof CreatePageRequestBody>;
184
175
  export declare const UpdatePageRequestBody: z.ZodObject<{
185
176
  id: z.ZodString;
186
177
  name: z.ZodOptional<z.ZodString>;
187
178
  layout: z.ZodOptional<z.ZodString>;
188
- duration: z.ZodOptional<z.ZodNumber>;
179
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
189
180
  animation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
190
- speed: z.ZodOptional<z.ZodNumber>;
181
+ speed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
191
182
  order: z.ZodOptional<z.ZodNumber>;
192
183
  preview: z.ZodOptional<z.ZodString>;
193
184
  }, "strip", z.ZodTypeAny, {
@@ -195,18 +186,18 @@ export declare const UpdatePageRequestBody: z.ZodObject<{
195
186
  name?: string | undefined;
196
187
  preview?: string | undefined;
197
188
  layout?: string | undefined;
198
- speed?: number | undefined;
189
+ speed?: number | null | undefined;
199
190
  order?: number | undefined;
200
- duration?: number | undefined;
191
+ duration?: number | null | undefined;
201
192
  animation?: string | null | undefined;
202
193
  }, {
203
194
  id: string;
204
195
  name?: string | undefined;
205
196
  preview?: string | undefined;
206
197
  layout?: string | undefined;
207
- speed?: number | undefined;
198
+ speed?: number | null | undefined;
208
199
  order?: number | undefined;
209
- duration?: number | undefined;
200
+ duration?: number | null | undefined;
210
201
  animation?: string | null | undefined;
211
202
  }>;
212
203
  export type UpdatePageRequestBody = z.infer<typeof UpdatePageRequestBody>;
package/dist/page.type.js CHANGED
@@ -23,10 +23,10 @@ exports.CreatePage = zod_1.z.object({
23
23
  name: zod_1.z.string(),
24
24
  presentationId: zod_1.z.string(),
25
25
  layout: zod_1.z.string(),
26
- backgroundColor: zod_1.z.string(),
27
- duration: zod_1.z.number(), // speed: z.number().nullable().default(null),
26
+ // backgroundColor: z.string(),
27
+ duration: zod_1.z.number().nullable(), // speed: z.number().nullable().default(null),
28
28
  animation: zod_1.z.string().nullable(), // transition: z.number().nullable().default(null),
29
- speed: zod_1.z.number(), // timeout: z.number().nullable().default(null),
29
+ speed: zod_1.z.number().nullable(), // timeout: z.number().nullable().default(null),
30
30
  order: zod_1.z.number(),
31
31
  preview: zod_1.z.string(),
32
32
  });
@@ -36,10 +36,10 @@ exports.UpdatePage = zod_1.z.object({
36
36
  name: zod_1.z.string().optional(),
37
37
  presentationId: zod_1.z.string().optional(),
38
38
  layout: zod_1.z.string().optional(),
39
- backgroundColor: zod_1.z.string().optional(),
40
- duration: zod_1.z.number().optional(), // speed: z.number().nullable().optional(),
41
- animation: zod_1.z.string().optional(), // transition: z.number().nullable().optional(),
42
- speed: zod_1.z.number().optional(), // timeout: z.number().nullable().optional(),
39
+ // backgroundColor: z.string().optional(),
40
+ duration: zod_1.z.number().nullable().optional(), // speed: z.number().nullable().optional(),
41
+ animation: zod_1.z.string().nullable().optional(), // transition: z.number().nullable().optional(),
42
+ speed: zod_1.z.number().nullable().optional(), // timeout: z.number().nullable().optional(),
43
43
  order: zod_1.z.number().optional(),
44
44
  preview: zod_1.z.string().optional(),
45
45
  });
@@ -52,9 +52,10 @@ exports.CreatePageRequestBody = zod_1.z.object({
52
52
  name: zod_1.z.string(),
53
53
  presentationId: zod_1.z.string(),
54
54
  layout: zod_1.z.string(),
55
- duration: zod_1.z.number(), // speed: z.number().nullable().default(null),
56
- animation: zod_1.z.string().nullable().default(null), // transition: z.number().nullable().default(null),
57
- speed: zod_1.z.number(), // timeout: z.number().nullable().default(null),
55
+ // backgroundColor: z.string(),
56
+ duration: zod_1.z.number().nullable(), // speed: z.number().nullable().default(null),
57
+ animation: zod_1.z.string().nullable(), // transition: z.number().nullable().default(null),
58
+ speed: zod_1.z.number().nullable(), // timeout: z.number().nullable().default(null),
58
59
  order: zod_1.z.number(),
59
60
  preview: zod_1.z.string(),
60
61
  });
@@ -63,9 +64,10 @@ exports.UpdatePageRequestBody = zod_1.z.object({
63
64
  id: zod_1.z.string(),
64
65
  name: zod_1.z.string().optional(),
65
66
  layout: zod_1.z.string().optional(),
66
- duration: zod_1.z.number().optional(), // speed: z.number().nullable().optional(),
67
+ // backgroundColor: z.string().optional(),
68
+ duration: zod_1.z.number().nullable().optional(), // speed: z.number().nullable().optional(),
67
69
  animation: zod_1.z.string().nullable().optional(), // transition: z.number().nullable().optional(),
68
- speed: zod_1.z.number().optional(), // timeout: z.number().nullable().optional(),
70
+ speed: zod_1.z.number().nullable().optional(), // timeout: z.number().nullable().optional(),
69
71
  order: zod_1.z.number().optional(),
70
72
  preview: zod_1.z.string().optional(),
71
73
  });
@@ -1,4 +1,24 @@
1
1
  import { z } from 'zod';
2
+ export declare const PresentationProject: z.ZodObject<{
3
+ id: z.ZodString;
4
+ projectId: z.ZodString;
5
+ presentationId: z.ZodString;
6
+ createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
7
+ updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ id: string;
10
+ createdAt: Date;
11
+ updatedAt: Date;
12
+ projectId: string;
13
+ presentationId: string;
14
+ }, {
15
+ id: string;
16
+ createdAt: string | Date;
17
+ updatedAt: string | Date;
18
+ projectId: string;
19
+ presentationId: string;
20
+ }>;
21
+ export type PresentationProject = z.infer<typeof PresentationProject>;
2
22
  export declare const Presentation: z.ZodObject<{
3
23
  id: z.ZodString;
4
24
  projectId: z.ZodString;
@@ -9,6 +29,7 @@ export declare const Presentation: z.ZodObject<{
9
29
  settings: z.ZodNullable<z.ZodString>;
10
30
  interactive: z.ZodBoolean;
11
31
  template: z.ZodBoolean;
32
+ allProjects: z.ZodBoolean;
12
33
  createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
13
34
  updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
14
35
  }, "strip", z.ZodTypeAny, {
@@ -23,6 +44,74 @@ export declare const Presentation: z.ZodObject<{
23
44
  height: number;
24
45
  settings: string | null;
25
46
  interactive: boolean;
47
+ allProjects: boolean;
48
+ }, {
49
+ id: string;
50
+ name: string;
51
+ createdAt: string | Date;
52
+ updatedAt: string | Date;
53
+ projectId: string;
54
+ preview: string | null;
55
+ template: boolean;
56
+ width: number;
57
+ height: number;
58
+ settings: string | null;
59
+ interactive: boolean;
60
+ allProjects: boolean;
61
+ }>;
62
+ export declare const PresentationWithProjects: z.ZodObject<z.objectUtil.extendShape<{
63
+ id: z.ZodString;
64
+ projectId: z.ZodString;
65
+ name: z.ZodString;
66
+ width: z.ZodNumber;
67
+ height: z.ZodNumber;
68
+ preview: z.ZodNullable<z.ZodString>;
69
+ settings: z.ZodNullable<z.ZodString>;
70
+ interactive: z.ZodBoolean;
71
+ template: z.ZodBoolean;
72
+ allProjects: z.ZodBoolean;
73
+ createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
74
+ updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
75
+ }, {
76
+ presentationProjects: z.ZodArray<z.ZodObject<{
77
+ id: z.ZodString;
78
+ projectId: z.ZodString;
79
+ presentationId: z.ZodString;
80
+ createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
81
+ updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
82
+ }, "strip", z.ZodTypeAny, {
83
+ id: string;
84
+ createdAt: Date;
85
+ updatedAt: Date;
86
+ projectId: string;
87
+ presentationId: string;
88
+ }, {
89
+ id: string;
90
+ createdAt: string | Date;
91
+ updatedAt: string | Date;
92
+ projectId: string;
93
+ presentationId: string;
94
+ }>, "many">;
95
+ }>, "strip", z.ZodTypeAny, {
96
+ id: string;
97
+ name: string;
98
+ createdAt: Date;
99
+ updatedAt: Date;
100
+ projectId: string;
101
+ preview: string | null;
102
+ template: boolean;
103
+ width: number;
104
+ height: number;
105
+ settings: string | null;
106
+ interactive: boolean;
107
+ allProjects: boolean;
108
+ presentationProjects: {
109
+ id: string;
110
+ createdAt: Date;
111
+ updatedAt: Date;
112
+ projectId: string;
113
+ presentationId: string;
114
+ }[];
26
115
  }, {
27
116
  id: string;
28
117
  name: string;
@@ -35,6 +124,14 @@ export declare const Presentation: z.ZodObject<{
35
124
  height: number;
36
125
  settings: string | null;
37
126
  interactive: boolean;
127
+ allProjects: boolean;
128
+ presentationProjects: {
129
+ id: string;
130
+ createdAt: string | Date;
131
+ updatedAt: string | Date;
132
+ projectId: string;
133
+ presentationId: string;
134
+ }[];
38
135
  }>;
39
136
  export declare const PresentationExtended: z.ZodObject<z.objectUtil.extendShape<{
40
137
  id: z.ZodString;
@@ -46,6 +143,7 @@ export declare const PresentationExtended: z.ZodObject<z.objectUtil.extendShape<
46
143
  settings: z.ZodNullable<z.ZodString>;
47
144
  interactive: z.ZodBoolean;
48
145
  template: z.ZodBoolean;
146
+ allProjects: z.ZodBoolean;
49
147
  createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
50
148
  updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
51
149
  }, {
@@ -89,6 +187,25 @@ export declare const PresentationExtended: z.ZodObject<z.objectUtil.extendShape<
89
187
  order: number;
90
188
  template: boolean;
91
189
  }>, "many">;
190
+ presentationProjects: z.ZodArray<z.ZodObject<{
191
+ id: z.ZodString;
192
+ projectId: z.ZodString;
193
+ presentationId: z.ZodString;
194
+ createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
195
+ updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
196
+ }, "strip", z.ZodTypeAny, {
197
+ id: string;
198
+ createdAt: Date;
199
+ updatedAt: Date;
200
+ projectId: string;
201
+ presentationId: string;
202
+ }, {
203
+ id: string;
204
+ createdAt: string | Date;
205
+ updatedAt: string | Date;
206
+ projectId: string;
207
+ presentationId: string;
208
+ }>, "many">;
92
209
  }>, "strip", z.ZodTypeAny, {
93
210
  id: string;
94
211
  name: string;
@@ -101,6 +218,14 @@ export declare const PresentationExtended: z.ZodObject<z.objectUtil.extendShape<
101
218
  height: number;
102
219
  settings: string | null;
103
220
  interactive: boolean;
221
+ allProjects: boolean;
222
+ presentationProjects: {
223
+ id: string;
224
+ createdAt: Date;
225
+ updatedAt: Date;
226
+ projectId: string;
227
+ presentationId: string;
228
+ }[];
104
229
  pages: {
105
230
  id: string;
106
231
  name: string;
@@ -127,6 +252,14 @@ export declare const PresentationExtended: z.ZodObject<z.objectUtil.extendShape<
127
252
  height: number;
128
253
  settings: string | null;
129
254
  interactive: boolean;
255
+ allProjects: boolean;
256
+ presentationProjects: {
257
+ id: string;
258
+ createdAt: string | Date;
259
+ updatedAt: string | Date;
260
+ projectId: string;
261
+ presentationId: string;
262
+ }[];
130
263
  pages: {
131
264
  id: string;
132
265
  name: string;
@@ -152,6 +285,7 @@ export declare const CreatePresentation: z.ZodObject<{
152
285
  settings: z.ZodDefault<z.ZodNullable<z.ZodString>>;
153
286
  interactive: z.ZodDefault<z.ZodBoolean>;
154
287
  template: z.ZodDefault<z.ZodBoolean>;
288
+ allProjects: z.ZodDefault<z.ZodBoolean>;
155
289
  }, "strip", z.ZodTypeAny, {
156
290
  name: string;
157
291
  projectId: string;
@@ -161,6 +295,7 @@ export declare const CreatePresentation: z.ZodObject<{
161
295
  height: number;
162
296
  settings: string | null;
163
297
  interactive: boolean;
298
+ allProjects: boolean;
164
299
  templateId?: string | undefined;
165
300
  }, {
166
301
  name: string;
@@ -171,6 +306,7 @@ export declare const CreatePresentation: z.ZodObject<{
171
306
  template?: boolean | undefined;
172
307
  settings?: string | null | undefined;
173
308
  interactive?: boolean | undefined;
309
+ allProjects?: boolean | undefined;
174
310
  templateId?: string | undefined;
175
311
  }>;
176
312
  export declare const UpdatePresentation: z.ZodObject<{
@@ -183,6 +319,7 @@ export declare const UpdatePresentation: z.ZodObject<{
183
319
  settings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
184
320
  interactive: z.ZodOptional<z.ZodBoolean>;
185
321
  template: z.ZodOptional<z.ZodBoolean>;
322
+ allProjects: z.ZodOptional<z.ZodBoolean>;
186
323
  }, "strip", z.ZodTypeAny, {
187
324
  id: string;
188
325
  name?: string | undefined;
@@ -193,6 +330,7 @@ export declare const UpdatePresentation: z.ZodObject<{
193
330
  height?: number | undefined;
194
331
  settings?: string | null | undefined;
195
332
  interactive?: boolean | undefined;
333
+ allProjects?: boolean | undefined;
196
334
  }, {
197
335
  id: string;
198
336
  name?: string | undefined;
@@ -203,6 +341,7 @@ export declare const UpdatePresentation: z.ZodObject<{
203
341
  height?: number | undefined;
204
342
  settings?: string | null | undefined;
205
343
  interactive?: boolean | undefined;
344
+ allProjects?: boolean | undefined;
206
345
  }>;
207
346
  export declare const PresentationIdRequestParams: z.ZodObject<{
208
347
  id: z.ZodString;
@@ -215,14 +354,17 @@ export declare const CreatePresentationFromTemplateRequestBody: z.ZodObject<{
215
354
  name: z.ZodString;
216
355
  templateId: z.ZodString;
217
356
  template: z.ZodLiteral<true>;
357
+ allProjects: z.ZodDefault<z.ZodBoolean>;
218
358
  }, "strip", z.ZodTypeAny, {
219
359
  name: string;
220
360
  template: true;
361
+ allProjects: boolean;
221
362
  templateId: string;
222
363
  }, {
223
364
  name: string;
224
365
  template: true;
225
366
  templateId: string;
367
+ allProjects?: boolean | undefined;
226
368
  }>;
227
369
  export declare const CreatePresentationCustomRequestBody: z.ZodObject<{
228
370
  projectId: z.ZodString;
@@ -235,6 +377,7 @@ export declare const CreatePresentationCustomRequestBody: z.ZodObject<{
235
377
  settings: z.ZodDefault<z.ZodNullable<z.ZodString>>;
236
378
  interactive: z.ZodBoolean;
237
379
  template: z.ZodLiteral<false>;
380
+ allProjects: z.ZodDefault<z.ZodBoolean>;
238
381
  }, "strip", z.ZodTypeAny, {
239
382
  name: string;
240
383
  projectId: string;
@@ -244,6 +387,7 @@ export declare const CreatePresentationCustomRequestBody: z.ZodObject<{
244
387
  height: number;
245
388
  settings: string | null;
246
389
  interactive: boolean;
390
+ allProjects: boolean;
247
391
  templateId: null;
248
392
  id?: string | undefined;
249
393
  }, {
@@ -256,20 +400,24 @@ export declare const CreatePresentationCustomRequestBody: z.ZodObject<{
256
400
  id?: string | undefined;
257
401
  preview?: string | null | undefined;
258
402
  settings?: string | null | undefined;
403
+ allProjects?: boolean | undefined;
259
404
  templateId?: null | undefined;
260
405
  }>;
261
406
  export declare const CreatePresentationRequestBody: z.ZodDiscriminatedUnion<"template", [z.ZodObject<{
262
407
  name: z.ZodString;
263
408
  templateId: z.ZodString;
264
409
  template: z.ZodLiteral<true>;
410
+ allProjects: z.ZodDefault<z.ZodBoolean>;
265
411
  }, "strip", z.ZodTypeAny, {
266
412
  name: string;
267
413
  template: true;
414
+ allProjects: boolean;
268
415
  templateId: string;
269
416
  }, {
270
417
  name: string;
271
418
  template: true;
272
419
  templateId: string;
420
+ allProjects?: boolean | undefined;
273
421
  }>, z.ZodObject<{
274
422
  projectId: z.ZodString;
275
423
  name: z.ZodString;
@@ -281,6 +429,7 @@ export declare const CreatePresentationRequestBody: z.ZodDiscriminatedUnion<"tem
281
429
  settings: z.ZodDefault<z.ZodNullable<z.ZodString>>;
282
430
  interactive: z.ZodBoolean;
283
431
  template: z.ZodLiteral<false>;
432
+ allProjects: z.ZodDefault<z.ZodBoolean>;
284
433
  }, "strip", z.ZodTypeAny, {
285
434
  name: string;
286
435
  projectId: string;
@@ -290,6 +439,7 @@ export declare const CreatePresentationRequestBody: z.ZodDiscriminatedUnion<"tem
290
439
  height: number;
291
440
  settings: string | null;
292
441
  interactive: boolean;
442
+ allProjects: boolean;
293
443
  templateId: null;
294
444
  id?: string | undefined;
295
445
  }, {
@@ -302,9 +452,11 @@ export declare const CreatePresentationRequestBody: z.ZodDiscriminatedUnion<"tem
302
452
  id?: string | undefined;
303
453
  preview?: string | null | undefined;
304
454
  settings?: string | null | undefined;
455
+ allProjects?: boolean | undefined;
305
456
  templateId?: null | undefined;
306
457
  }>]>;
307
458
  export type Presentation = z.infer<typeof Presentation>;
459
+ export type PresentationWithProjects = z.infer<typeof PresentationWithProjects>;
308
460
  export type PresentationExtended = z.infer<typeof PresentationExtended>;
309
461
  export type CreatePresentation = z.infer<typeof CreatePresentation>;
310
462
  export type UpdatePresentation = z.infer<typeof UpdatePresentation>;
@@ -323,10 +475,9 @@ export declare const UpdatePresentationRequestBody: z.ZodObject<{
323
475
  name: z.ZodOptional<z.ZodString>;
324
476
  presentationId: z.ZodOptional<z.ZodString>;
325
477
  layout: z.ZodOptional<z.ZodString>;
326
- backgroundColor: z.ZodOptional<z.ZodString>;
327
- duration: z.ZodOptional<z.ZodNumber>;
328
- animation: z.ZodOptional<z.ZodString>;
329
- speed: z.ZodOptional<z.ZodNumber>;
478
+ duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
479
+ animation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
480
+ speed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
330
481
  order: z.ZodOptional<z.ZodNumber>;
331
482
  preview: z.ZodOptional<z.ZodString>;
332
483
  }, "strip", z.ZodTypeAny, {
@@ -335,24 +486,23 @@ export declare const UpdatePresentationRequestBody: z.ZodObject<{
335
486
  preview?: string | undefined;
336
487
  presentationId?: string | undefined;
337
488
  layout?: string | undefined;
338
- speed?: number | undefined;
489
+ speed?: number | null | undefined;
339
490
  order?: number | undefined;
340
- backgroundColor?: string | undefined;
341
- duration?: number | undefined;
342
- animation?: string | undefined;
491
+ duration?: number | null | undefined;
492
+ animation?: string | null | undefined;
343
493
  }, {
344
494
  id: string;
345
495
  name?: string | undefined;
346
496
  preview?: string | undefined;
347
497
  presentationId?: string | undefined;
348
498
  layout?: string | undefined;
349
- speed?: number | undefined;
499
+ speed?: number | null | undefined;
350
500
  order?: number | undefined;
351
- backgroundColor?: string | undefined;
352
- duration?: number | undefined;
353
- animation?: string | undefined;
501
+ duration?: number | null | undefined;
502
+ animation?: string | null | undefined;
354
503
  }>, "many">>;
355
504
  deletedPageIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
505
+ allProjects: z.ZodOptional<z.ZodBoolean>;
356
506
  }, "strip", z.ZodTypeAny, {
357
507
  deletedPageIds: string[];
358
508
  name?: string | undefined;
@@ -360,17 +510,17 @@ export declare const UpdatePresentationRequestBody: z.ZodObject<{
360
510
  height?: number | undefined;
361
511
  settings?: string | null | undefined;
362
512
  interactive?: boolean | undefined;
513
+ allProjects?: boolean | undefined;
363
514
  pages?: {
364
515
  id: string;
365
516
  name?: string | undefined;
366
517
  preview?: string | undefined;
367
518
  presentationId?: string | undefined;
368
519
  layout?: string | undefined;
369
- speed?: number | undefined;
520
+ speed?: number | null | undefined;
370
521
  order?: number | undefined;
371
- backgroundColor?: string | undefined;
372
- duration?: number | undefined;
373
- animation?: string | undefined;
522
+ duration?: number | null | undefined;
523
+ animation?: string | null | undefined;
374
524
  }[] | undefined;
375
525
  previewUrl?: string | null | undefined;
376
526
  }, {
@@ -379,17 +529,17 @@ export declare const UpdatePresentationRequestBody: z.ZodObject<{
379
529
  height?: number | undefined;
380
530
  settings?: string | null | undefined;
381
531
  interactive?: boolean | undefined;
532
+ allProjects?: boolean | undefined;
382
533
  pages?: {
383
534
  id: string;
384
535
  name?: string | undefined;
385
536
  preview?: string | undefined;
386
537
  presentationId?: string | undefined;
387
538
  layout?: string | undefined;
388
- speed?: number | undefined;
539
+ speed?: number | null | undefined;
389
540
  order?: number | undefined;
390
- backgroundColor?: string | undefined;
391
- duration?: number | undefined;
392
- animation?: string | undefined;
541
+ duration?: number | null | undefined;
542
+ animation?: string | null | undefined;
393
543
  }[] | undefined;
394
544
  previewUrl?: string | null | undefined;
395
545
  deletedPageIds?: string[] | undefined;