api-arreya-types 1.0.0

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/file.type.d.ts ADDED
@@ -0,0 +1,298 @@
1
+ import { z } from 'zod';
2
+ export declare const File: z.ZodObject<{
3
+ id: z.ZodString;
4
+ accountId: z.ZodString;
5
+ name: z.ZodString;
6
+ mimetype: z.ZodString;
7
+ mediatype: z.ZodString;
8
+ size: z.ZodNumber;
9
+ original: z.ZodString;
10
+ thumbnail: z.ZodNullable<z.ZodString>;
11
+ preview: z.ZodNullable<z.ZodString>;
12
+ image: z.ZodNullable<z.ZodString>;
13
+ sd: z.ZodNullable<z.ZodString>;
14
+ hd: z.ZodNullable<z.ZodString>;
15
+ folderId: z.ZodString;
16
+ createdAt: z.ZodDate;
17
+ updatedAt: z.ZodDate;
18
+ }, "strip", z.ZodTypeAny, {
19
+ id: string;
20
+ name: string;
21
+ createdAt: Date;
22
+ updatedAt: Date;
23
+ accountId: string;
24
+ mimetype: string;
25
+ mediatype: string;
26
+ size: number;
27
+ original: string;
28
+ thumbnail: string | null;
29
+ preview: string | null;
30
+ image: string | null;
31
+ sd: string | null;
32
+ hd: string | null;
33
+ folderId: string;
34
+ }, {
35
+ id: string;
36
+ name: string;
37
+ createdAt: Date;
38
+ updatedAt: Date;
39
+ accountId: string;
40
+ mimetype: string;
41
+ mediatype: string;
42
+ size: number;
43
+ original: string;
44
+ thumbnail: string | null;
45
+ preview: string | null;
46
+ image: string | null;
47
+ sd: string | null;
48
+ hd: string | null;
49
+ folderId: string;
50
+ }>;
51
+ export declare const FileCreate: z.ZodObject<{
52
+ id: z.ZodString;
53
+ accountId: z.ZodString;
54
+ name: z.ZodString;
55
+ mimetype: z.ZodString;
56
+ mediatype: z.ZodString;
57
+ size: z.ZodNumber;
58
+ original: z.ZodString;
59
+ thumbnail: z.ZodDefault<z.ZodNullable<z.ZodString>>;
60
+ preview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
61
+ image: z.ZodDefault<z.ZodNullable<z.ZodString>>;
62
+ sd: z.ZodDefault<z.ZodNullable<z.ZodString>>;
63
+ hd: z.ZodDefault<z.ZodNullable<z.ZodString>>;
64
+ folderId: z.ZodString;
65
+ }, "strip", z.ZodTypeAny, {
66
+ id: string;
67
+ name: string;
68
+ accountId: string;
69
+ mimetype: string;
70
+ mediatype: string;
71
+ size: number;
72
+ original: string;
73
+ thumbnail: string | null;
74
+ preview: string | null;
75
+ image: string | null;
76
+ sd: string | null;
77
+ hd: string | null;
78
+ folderId: string;
79
+ }, {
80
+ id: string;
81
+ name: string;
82
+ accountId: string;
83
+ mimetype: string;
84
+ mediatype: string;
85
+ size: number;
86
+ original: string;
87
+ folderId: string;
88
+ thumbnail?: string | null | undefined;
89
+ preview?: string | null | undefined;
90
+ image?: string | null | undefined;
91
+ sd?: string | null | undefined;
92
+ hd?: string | null | undefined;
93
+ }>;
94
+ export declare const FileUpdate: z.ZodObject<{
95
+ id: z.ZodString;
96
+ name: z.ZodOptional<z.ZodString>;
97
+ mimetype: z.ZodOptional<z.ZodString>;
98
+ mediatype: z.ZodOptional<z.ZodString>;
99
+ size: z.ZodOptional<z.ZodNumber>;
100
+ original: z.ZodOptional<z.ZodString>;
101
+ thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102
+ preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
103
+ image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
104
+ sd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
105
+ hd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
106
+ folderId: z.ZodOptional<z.ZodString>;
107
+ }, "strip", z.ZodTypeAny, {
108
+ id: string;
109
+ name?: string | undefined;
110
+ mimetype?: string | undefined;
111
+ mediatype?: string | undefined;
112
+ size?: number | undefined;
113
+ original?: string | undefined;
114
+ thumbnail?: string | null | undefined;
115
+ preview?: string | null | undefined;
116
+ image?: string | null | undefined;
117
+ sd?: string | null | undefined;
118
+ hd?: string | null | undefined;
119
+ folderId?: string | undefined;
120
+ }, {
121
+ id: string;
122
+ name?: string | undefined;
123
+ mimetype?: string | undefined;
124
+ mediatype?: string | undefined;
125
+ size?: number | undefined;
126
+ original?: string | undefined;
127
+ thumbnail?: string | null | undefined;
128
+ preview?: string | null | undefined;
129
+ image?: string | null | undefined;
130
+ sd?: string | null | undefined;
131
+ hd?: string | null | undefined;
132
+ folderId?: string | undefined;
133
+ }>;
134
+ export declare const FilesUpdate: z.ZodObject<{
135
+ ids: z.ZodArray<z.ZodString, "many">;
136
+ folderId: z.ZodOptional<z.ZodString>;
137
+ }, "strip", z.ZodTypeAny, {
138
+ ids: string[];
139
+ folderId?: string | undefined;
140
+ }, {
141
+ ids: string[];
142
+ folderId?: string | undefined;
143
+ }>;
144
+ export type File = z.infer<typeof File>;
145
+ export type FileCreate = z.infer<typeof FileCreate>;
146
+ export type FileUpdate = z.infer<typeof FileUpdate>;
147
+ export type FilesUpdate = z.infer<typeof FilesUpdate>;
148
+ export declare const FileIdRequestParams: z.ZodObject<{
149
+ id: z.ZodString;
150
+ }, "strip", z.ZodTypeAny, {
151
+ id: string;
152
+ }, {
153
+ id: string;
154
+ }>;
155
+ export declare const FileIdsRequestBody: z.ZodObject<{
156
+ ids: z.ZodArray<z.ZodString, "many">;
157
+ }, "strip", z.ZodTypeAny, {
158
+ ids: string[];
159
+ }, {
160
+ ids: string[];
161
+ }>;
162
+ export type FileIdRequestParams = z.infer<typeof FileIdRequestParams>;
163
+ export type FileIdsRequestBody = z.infer<typeof FileIdsRequestBody>;
164
+ export declare const CreateFilesRequestBody: z.ZodObject<{
165
+ files: z.ZodArray<z.ZodObject<{
166
+ id: z.ZodString;
167
+ accountId: z.ZodString;
168
+ name: z.ZodString;
169
+ mimetype: z.ZodString;
170
+ mediatype: z.ZodString;
171
+ size: z.ZodNumber;
172
+ original: z.ZodString;
173
+ thumbnail: z.ZodDefault<z.ZodNullable<z.ZodString>>;
174
+ preview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
175
+ image: z.ZodDefault<z.ZodNullable<z.ZodString>>;
176
+ sd: z.ZodDefault<z.ZodNullable<z.ZodString>>;
177
+ hd: z.ZodDefault<z.ZodNullable<z.ZodString>>;
178
+ folderId: z.ZodString;
179
+ }, "strip", z.ZodTypeAny, {
180
+ id: string;
181
+ name: string;
182
+ accountId: string;
183
+ mimetype: string;
184
+ mediatype: string;
185
+ size: number;
186
+ original: string;
187
+ thumbnail: string | null;
188
+ preview: string | null;
189
+ image: string | null;
190
+ sd: string | null;
191
+ hd: string | null;
192
+ folderId: string;
193
+ }, {
194
+ id: string;
195
+ name: string;
196
+ accountId: string;
197
+ mimetype: string;
198
+ mediatype: string;
199
+ size: number;
200
+ original: string;
201
+ folderId: string;
202
+ thumbnail?: string | null | undefined;
203
+ preview?: string | null | undefined;
204
+ image?: string | null | undefined;
205
+ sd?: string | null | undefined;
206
+ hd?: string | null | undefined;
207
+ }>, "many">;
208
+ }, "strip", z.ZodTypeAny, {
209
+ files: {
210
+ id: string;
211
+ name: string;
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
+ }[];
224
+ }, {
225
+ files: {
226
+ id: string;
227
+ name: string;
228
+ accountId: string;
229
+ mimetype: string;
230
+ mediatype: string;
231
+ size: number;
232
+ original: string;
233
+ folderId: string;
234
+ thumbnail?: string | null | undefined;
235
+ preview?: string | null | undefined;
236
+ image?: string | null | undefined;
237
+ sd?: string | null | undefined;
238
+ hd?: string | null | undefined;
239
+ }[];
240
+ }>;
241
+ export type CreateFilesRequestBody = z.infer<typeof CreateFilesRequestBody>;
242
+ export declare const UploadFileRequestBody: z.ZodObject<{
243
+ folderId: z.ZodString;
244
+ }, "strip", z.ZodTypeAny, {
245
+ folderId: string;
246
+ }, {
247
+ folderId: string;
248
+ }>;
249
+ export type UploadFileRequestBody = z.infer<typeof UploadFileRequestBody>;
250
+ export declare const UpdateFileRequestBody: z.ZodObject<{
251
+ name: z.ZodOptional<z.ZodString>;
252
+ mimetype: z.ZodOptional<z.ZodString>;
253
+ mediatype: z.ZodOptional<z.ZodString>;
254
+ size: z.ZodOptional<z.ZodNumber>;
255
+ original: z.ZodOptional<z.ZodString>;
256
+ thumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
257
+ preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
258
+ image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
+ sd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
260
+ hd: z.ZodOptional<z.ZodNullable<z.ZodString>>;
261
+ folderId: z.ZodOptional<z.ZodString>;
262
+ }, "strip", z.ZodTypeAny, {
263
+ name?: string | undefined;
264
+ mimetype?: string | undefined;
265
+ mediatype?: string | undefined;
266
+ size?: number | undefined;
267
+ original?: string | undefined;
268
+ thumbnail?: string | null | undefined;
269
+ preview?: string | null | undefined;
270
+ image?: string | null | undefined;
271
+ sd?: string | null | undefined;
272
+ hd?: string | null | undefined;
273
+ folderId?: string | undefined;
274
+ }, {
275
+ name?: string | undefined;
276
+ mimetype?: string | undefined;
277
+ mediatype?: string | undefined;
278
+ size?: number | undefined;
279
+ original?: string | undefined;
280
+ thumbnail?: string | null | undefined;
281
+ preview?: string | null | undefined;
282
+ image?: string | null | undefined;
283
+ sd?: string | null | undefined;
284
+ hd?: string | null | undefined;
285
+ folderId?: string | undefined;
286
+ }>;
287
+ export type UpdateFileRequestBody = z.infer<typeof UpdateFileRequestBody>;
288
+ export declare const UpdateFilesRequestBody: z.ZodObject<{
289
+ ids: z.ZodArray<z.ZodString, "many">;
290
+ folderId: z.ZodOptional<z.ZodString>;
291
+ }, "strip", z.ZodTypeAny, {
292
+ ids: string[];
293
+ folderId?: string | undefined;
294
+ }, {
295
+ ids: string[];
296
+ folderId?: string | undefined;
297
+ }>;
298
+ export type UpdateFilesRequestBody = z.infer<typeof UpdateFilesRequestBody>;
@@ -0,0 +1,66 @@
1
+ import { z } from 'zod';
2
+ export declare const Folder: z.ZodObject<{
3
+ id: z.ZodString;
4
+ name: z.ZodString;
5
+ accountId: z.ZodString;
6
+ createdAt: z.ZodDate;
7
+ updatedAt: z.ZodDate;
8
+ }, "strip", z.ZodTypeAny, {
9
+ id: string;
10
+ name: string;
11
+ createdAt: Date;
12
+ updatedAt: Date;
13
+ accountId: string;
14
+ }, {
15
+ id: string;
16
+ name: string;
17
+ createdAt: Date;
18
+ updatedAt: Date;
19
+ accountId: string;
20
+ }>;
21
+ export declare const FolderCreate: z.ZodObject<{
22
+ name: z.ZodString;
23
+ accountId: z.ZodString;
24
+ }, "strip", z.ZodTypeAny, {
25
+ name: string;
26
+ accountId: string;
27
+ }, {
28
+ name: string;
29
+ accountId: string;
30
+ }>;
31
+ export declare const FolderUpdate: z.ZodObject<{
32
+ id: z.ZodString;
33
+ name: z.ZodOptional<z.ZodString>;
34
+ }, "strip", z.ZodTypeAny, {
35
+ id: string;
36
+ name?: string | undefined;
37
+ }, {
38
+ id: string;
39
+ name?: string | undefined;
40
+ }>;
41
+ export type Folder = z.infer<typeof Folder>;
42
+ export type FolderCreate = z.infer<typeof FolderCreate>;
43
+ export type FolderUpdate = z.infer<typeof FolderUpdate>;
44
+ export declare const FolderIdRequestParams: z.ZodObject<{
45
+ id: z.ZodString;
46
+ }, "strip", z.ZodTypeAny, {
47
+ id: string;
48
+ }, {
49
+ id: string;
50
+ }>;
51
+ export declare const CreateFolderRequestBody: z.ZodObject<{
52
+ name: z.ZodString;
53
+ }, "strip", z.ZodTypeAny, {
54
+ name: string;
55
+ }, {
56
+ name: string;
57
+ }>;
58
+ export type CreateFolderRequestBody = z.infer<typeof CreateFolderRequestBody>;
59
+ export declare const UpdateFolderRequestBody: z.ZodObject<{
60
+ name: z.ZodOptional<z.ZodString>;
61
+ }, "strip", z.ZodTypeAny, {
62
+ name?: string | undefined;
63
+ }, {
64
+ name?: string | undefined;
65
+ }>;
66
+ export type UpdateFolderRequestBody = z.infer<typeof UpdateFolderRequestBody>;
package/index.d.ts ADDED
@@ -0,0 +1,9 @@
1
+ export { Account, AccountCreate, AccountUpdate, CreateAccountRequestBody, UpdateAccountDBRequestBody, UpdateAccountSubscriptionRequestBody } from './account.type';
2
+ export { Device, DeviceCreate, DeviceUpdate, CreateDeviceRequestBody, UpdateDeviceRequestBody, PairDeviceRequestBody } from './device.type';
3
+ export { File, FileCreate, FileUpdate, CreateFilesRequestBody, UploadFileRequestBody, UpdateFileRequestBody, UpdateFilesRequestBody } from './file.type';
4
+ export { Folder, FolderCreate, FolderUpdate, CreateFolderRequestBody, UpdateFolderRequestBody } from './folder.type';
5
+ export { Page, PageCreate, PageUpdate, CreatePageRequestBody, UpdatePageRequestBody } from './page.type';
6
+ export { Presentation, PresentationCreate, PresentationUpdate, CreatePresentationRequestBody, UpdatePresentationRequestBody } from './presentation.type';
7
+ export { Project, ProjectCreate, ProjectUpdate, CreateProjectRequestBody, UpdateProjectRequestBody } from './project.type';
8
+ export { Schedule, ScheduleCreate, ScheduleUpdate, CreateScheduleRequestBody, UpdateScheduleRequestBody } from './schedule.type';
9
+ export { User, UserCreate, UserUpdate, UserAccount, UserAccountCreate, UserAccountUpdate, UserProject, UserProjectCreate, CreateUserRequestBody, UpdateUserRequestBody, InviteUserRequestBody, UpdateUserAccessRequestBody, } from './user.type';
package/package.json ADDED
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "api-arreya-types",
3
+ "version": "1.0.0",
4
+ "types": "index.d.ts",
5
+ "main": "",
6
+ "private": false,
7
+ "files": ["*.d.ts"],
8
+ "description": "JS Types from api-arreya"
9
+ }
package/page.type.d.ts ADDED
@@ -0,0 +1,212 @@
1
+ import { z } from 'zod';
2
+ export declare const Page: z.ZodObject<{
3
+ id: z.ZodString;
4
+ name: z.ZodString;
5
+ presentationId: z.ZodString;
6
+ layout: z.ZodString;
7
+ speed: z.ZodNullable<z.ZodNumber>;
8
+ transition: z.ZodNullable<z.ZodNumber>;
9
+ timeout: z.ZodNullable<z.ZodNumber>;
10
+ order: z.ZodNumber;
11
+ preview: z.ZodString;
12
+ template: z.ZodBoolean;
13
+ createdAt: z.ZodDate;
14
+ updatedAt: z.ZodDate;
15
+ }, "strip", z.ZodTypeAny, {
16
+ id: string;
17
+ name: string;
18
+ createdAt: Date;
19
+ updatedAt: Date;
20
+ preview: string;
21
+ presentationId: string;
22
+ layout: string;
23
+ speed: number | null;
24
+ transition: number | null;
25
+ timeout: number | null;
26
+ order: number;
27
+ template: boolean;
28
+ }, {
29
+ id: string;
30
+ name: string;
31
+ createdAt: Date;
32
+ updatedAt: Date;
33
+ preview: string;
34
+ presentationId: string;
35
+ layout: string;
36
+ speed: number | null;
37
+ transition: number | null;
38
+ timeout: number | null;
39
+ order: number;
40
+ template: boolean;
41
+ }>;
42
+ export declare const PageCreate: z.ZodObject<{
43
+ id: z.ZodOptional<z.ZodString>;
44
+ name: z.ZodString;
45
+ presentationId: z.ZodString;
46
+ layout: z.ZodString;
47
+ backgroundColor: z.ZodString;
48
+ duration: z.ZodNumber;
49
+ animation: z.ZodString;
50
+ delay: z.ZodNumber;
51
+ order: z.ZodNumber;
52
+ preview: z.ZodString;
53
+ }, "strip", z.ZodTypeAny, {
54
+ name: string;
55
+ preview: string;
56
+ presentationId: string;
57
+ layout: string;
58
+ order: number;
59
+ backgroundColor: string;
60
+ duration: number;
61
+ animation: string;
62
+ delay: number;
63
+ id?: string | undefined;
64
+ }, {
65
+ name: string;
66
+ preview: string;
67
+ presentationId: string;
68
+ layout: string;
69
+ order: number;
70
+ backgroundColor: string;
71
+ duration: number;
72
+ animation: string;
73
+ delay: number;
74
+ id?: string | undefined;
75
+ }>;
76
+ export declare const PagesCreate: z.ZodArray<z.ZodObject<{
77
+ id: z.ZodOptional<z.ZodString>;
78
+ name: z.ZodString;
79
+ presentationId: z.ZodString;
80
+ layout: z.ZodString;
81
+ backgroundColor: z.ZodString;
82
+ duration: z.ZodNumber;
83
+ animation: z.ZodString;
84
+ delay: z.ZodNumber;
85
+ order: z.ZodNumber;
86
+ preview: z.ZodString;
87
+ }, "strip", z.ZodTypeAny, {
88
+ name: string;
89
+ preview: string;
90
+ presentationId: string;
91
+ layout: string;
92
+ order: number;
93
+ backgroundColor: string;
94
+ duration: number;
95
+ animation: string;
96
+ delay: number;
97
+ id?: string | undefined;
98
+ }, {
99
+ name: string;
100
+ preview: string;
101
+ presentationId: string;
102
+ layout: string;
103
+ order: number;
104
+ backgroundColor: string;
105
+ duration: number;
106
+ animation: string;
107
+ delay: number;
108
+ id?: string | undefined;
109
+ }>, "many">;
110
+ export declare const PageUpdate: z.ZodObject<{
111
+ id: z.ZodString;
112
+ name: z.ZodOptional<z.ZodString>;
113
+ presentationId: z.ZodOptional<z.ZodString>;
114
+ layout: z.ZodOptional<z.ZodString>;
115
+ backgroundColor: z.ZodOptional<z.ZodString>;
116
+ duration: z.ZodOptional<z.ZodNumber>;
117
+ animation: z.ZodOptional<z.ZodString>;
118
+ delay: z.ZodOptional<z.ZodNumber>;
119
+ order: z.ZodOptional<z.ZodNumber>;
120
+ preview: z.ZodOptional<z.ZodString>;
121
+ }, "strip", z.ZodTypeAny, {
122
+ id: string;
123
+ name?: string | undefined;
124
+ preview?: string | undefined;
125
+ presentationId?: string | undefined;
126
+ layout?: string | undefined;
127
+ order?: number | undefined;
128
+ backgroundColor?: string | undefined;
129
+ duration?: number | undefined;
130
+ animation?: string | undefined;
131
+ delay?: number | undefined;
132
+ }, {
133
+ id: string;
134
+ name?: string | undefined;
135
+ preview?: string | undefined;
136
+ presentationId?: string | undefined;
137
+ layout?: string | undefined;
138
+ order?: number | undefined;
139
+ backgroundColor?: string | undefined;
140
+ duration?: number | undefined;
141
+ animation?: string | undefined;
142
+ delay?: number | undefined;
143
+ }>;
144
+ export type Page = z.infer<typeof Page>;
145
+ export type PageCreate = z.infer<typeof PageCreate>;
146
+ export type PageUpdate = z.infer<typeof PageUpdate>;
147
+ export type PagesCreate = z.infer<typeof PagesCreate>;
148
+ export declare const PageIdRequestParams: z.ZodObject<{
149
+ id: z.ZodString;
150
+ }, "strip", z.ZodTypeAny, {
151
+ id: string;
152
+ }, {
153
+ id: string;
154
+ }>;
155
+ export declare const CreatePageRequestBody: z.ZodObject<{
156
+ name: z.ZodString;
157
+ presentationId: z.ZodString;
158
+ layout: z.ZodString;
159
+ speed: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
160
+ transition: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
161
+ timeout: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
162
+ order: z.ZodNumber;
163
+ preview: z.ZodString;
164
+ }, "strip", z.ZodTypeAny, {
165
+ name: string;
166
+ preview: string;
167
+ presentationId: string;
168
+ layout: string;
169
+ speed: number | null;
170
+ transition: number | null;
171
+ timeout: number | null;
172
+ order: number;
173
+ }, {
174
+ name: string;
175
+ preview: string;
176
+ presentationId: string;
177
+ layout: string;
178
+ order: number;
179
+ speed?: number | null | undefined;
180
+ transition?: number | null | undefined;
181
+ timeout?: number | null | undefined;
182
+ }>;
183
+ export type CreatePageRequestBody = z.infer<typeof CreatePageRequestBody>;
184
+ export declare const UpdatePageRequestBody: z.ZodObject<{
185
+ id: z.ZodString;
186
+ name: z.ZodOptional<z.ZodString>;
187
+ layout: z.ZodOptional<z.ZodString>;
188
+ speed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
189
+ transition: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
190
+ timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
191
+ order: z.ZodOptional<z.ZodNumber>;
192
+ preview: z.ZodOptional<z.ZodString>;
193
+ }, "strip", z.ZodTypeAny, {
194
+ id: string;
195
+ name?: string | undefined;
196
+ preview?: string | undefined;
197
+ layout?: string | undefined;
198
+ speed?: number | null | undefined;
199
+ transition?: number | null | undefined;
200
+ timeout?: number | null | undefined;
201
+ order?: number | undefined;
202
+ }, {
203
+ id: string;
204
+ name?: string | undefined;
205
+ preview?: string | undefined;
206
+ layout?: string | undefined;
207
+ speed?: number | null | undefined;
208
+ transition?: number | null | undefined;
209
+ timeout?: number | null | undefined;
210
+ order?: number | undefined;
211
+ }>;
212
+ export type UpdatePageRequestBody = z.infer<typeof UpdatePageRequestBody>;