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/account.type.d.ts +150 -0
- package/auth.type.d.ts +35 -0
- package/billing.type.d.ts +113 -0
- package/device.type.d.ts +166 -0
- package/error-result.type.d.ts +4 -0
- package/example.type.d.ts +7 -0
- package/file.type.d.ts +298 -0
- package/folder.type.d.ts +66 -0
- package/index.d.ts +9 -0
- package/package.json +9 -0
- package/page.type.d.ts +212 -0
- package/presentation.type.d.ts +290 -0
- package/project.type.d.ts +90 -0
- package/schedule.type.d.ts +240 -0
- package/stripe.type.d.ts +105 -0
- package/template.type.d.ts +326 -0
- package/user.type.d.ts +223 -0
- package/zod-utils.d.ts +5 -0
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const Presentation: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
projectId: z.ZodString;
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
width: z.ZodNumber;
|
|
7
|
+
height: z.ZodNumber;
|
|
8
|
+
preview: z.ZodNullable<z.ZodString>;
|
|
9
|
+
settings: z.ZodNullable<z.ZodString>;
|
|
10
|
+
interactive: z.ZodBoolean;
|
|
11
|
+
template: z.ZodBoolean;
|
|
12
|
+
createdAt: z.ZodDate;
|
|
13
|
+
updatedAt: z.ZodDate;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
id: string;
|
|
16
|
+
name: string;
|
|
17
|
+
createdAt: Date;
|
|
18
|
+
updatedAt: Date;
|
|
19
|
+
projectId: string;
|
|
20
|
+
preview: string | null;
|
|
21
|
+
template: boolean;
|
|
22
|
+
width: number;
|
|
23
|
+
height: number;
|
|
24
|
+
settings: string | null;
|
|
25
|
+
interactive: boolean;
|
|
26
|
+
}, {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
createdAt: Date;
|
|
30
|
+
updatedAt: Date;
|
|
31
|
+
projectId: string;
|
|
32
|
+
preview: string | null;
|
|
33
|
+
template: boolean;
|
|
34
|
+
width: number;
|
|
35
|
+
height: number;
|
|
36
|
+
settings: string | null;
|
|
37
|
+
interactive: boolean;
|
|
38
|
+
}>;
|
|
39
|
+
export declare const PresentationCreate: z.ZodObject<{
|
|
40
|
+
projectId: z.ZodString;
|
|
41
|
+
name: z.ZodString;
|
|
42
|
+
templateId: z.ZodOptional<z.ZodString>;
|
|
43
|
+
width: z.ZodNumber;
|
|
44
|
+
height: z.ZodNumber;
|
|
45
|
+
preview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
settings: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
interactive: z.ZodDefault<z.ZodBoolean>;
|
|
48
|
+
template: z.ZodDefault<z.ZodBoolean>;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
name: string;
|
|
51
|
+
projectId: string;
|
|
52
|
+
preview: string | null;
|
|
53
|
+
template: boolean;
|
|
54
|
+
width: number;
|
|
55
|
+
height: number;
|
|
56
|
+
settings: string | null;
|
|
57
|
+
interactive: boolean;
|
|
58
|
+
templateId?: string | undefined;
|
|
59
|
+
}, {
|
|
60
|
+
name: string;
|
|
61
|
+
projectId: string;
|
|
62
|
+
width: number;
|
|
63
|
+
height: number;
|
|
64
|
+
preview?: string | null | undefined;
|
|
65
|
+
template?: boolean | undefined;
|
|
66
|
+
settings?: string | null | undefined;
|
|
67
|
+
interactive?: boolean | undefined;
|
|
68
|
+
templateId?: string | undefined;
|
|
69
|
+
}>;
|
|
70
|
+
export declare const PresentationUpdate: z.ZodObject<{
|
|
71
|
+
id: z.ZodString;
|
|
72
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
73
|
+
name: z.ZodOptional<z.ZodString>;
|
|
74
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
75
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
preview: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
|
+
settings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
78
|
+
interactive: z.ZodOptional<z.ZodBoolean>;
|
|
79
|
+
template: z.ZodOptional<z.ZodBoolean>;
|
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
|
81
|
+
id: string;
|
|
82
|
+
name?: string | undefined;
|
|
83
|
+
projectId?: string | undefined;
|
|
84
|
+
preview?: string | null | undefined;
|
|
85
|
+
template?: boolean | undefined;
|
|
86
|
+
width?: number | undefined;
|
|
87
|
+
height?: number | undefined;
|
|
88
|
+
settings?: string | null | undefined;
|
|
89
|
+
interactive?: boolean | undefined;
|
|
90
|
+
}, {
|
|
91
|
+
id: string;
|
|
92
|
+
name?: string | undefined;
|
|
93
|
+
projectId?: string | undefined;
|
|
94
|
+
preview?: string | null | undefined;
|
|
95
|
+
template?: boolean | undefined;
|
|
96
|
+
width?: number | undefined;
|
|
97
|
+
height?: number | undefined;
|
|
98
|
+
settings?: string | null | undefined;
|
|
99
|
+
interactive?: boolean | undefined;
|
|
100
|
+
}>;
|
|
101
|
+
export declare const PresentationIdRequestParams: z.ZodObject<{
|
|
102
|
+
id: z.ZodString;
|
|
103
|
+
}, "strip", z.ZodTypeAny, {
|
|
104
|
+
id: string;
|
|
105
|
+
}, {
|
|
106
|
+
id: string;
|
|
107
|
+
}>;
|
|
108
|
+
export declare const CreatePresentationFromTemplateRequestBody: z.ZodObject<{
|
|
109
|
+
name: z.ZodString;
|
|
110
|
+
templateId: z.ZodString;
|
|
111
|
+
template: z.ZodLiteral<true>;
|
|
112
|
+
}, "strip", z.ZodTypeAny, {
|
|
113
|
+
name: string;
|
|
114
|
+
template: true;
|
|
115
|
+
templateId: string;
|
|
116
|
+
}, {
|
|
117
|
+
name: string;
|
|
118
|
+
template: true;
|
|
119
|
+
templateId: string;
|
|
120
|
+
}>;
|
|
121
|
+
export declare const CreatePresentationCustomRequestBody: z.ZodObject<{
|
|
122
|
+
projectId: z.ZodString;
|
|
123
|
+
name: z.ZodString;
|
|
124
|
+
id: z.ZodOptional<z.ZodString>;
|
|
125
|
+
templateId: z.ZodDefault<z.ZodLiteral<null>>;
|
|
126
|
+
width: z.ZodNumber;
|
|
127
|
+
height: z.ZodNumber;
|
|
128
|
+
preview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
129
|
+
settings: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
130
|
+
interactive: z.ZodBoolean;
|
|
131
|
+
template: z.ZodLiteral<false>;
|
|
132
|
+
}, "strip", z.ZodTypeAny, {
|
|
133
|
+
name: string;
|
|
134
|
+
projectId: string;
|
|
135
|
+
preview: string | null;
|
|
136
|
+
template: false;
|
|
137
|
+
width: number;
|
|
138
|
+
height: number;
|
|
139
|
+
settings: string | null;
|
|
140
|
+
interactive: boolean;
|
|
141
|
+
templateId: null;
|
|
142
|
+
id?: string | undefined;
|
|
143
|
+
}, {
|
|
144
|
+
name: string;
|
|
145
|
+
projectId: string;
|
|
146
|
+
template: false;
|
|
147
|
+
width: number;
|
|
148
|
+
height: number;
|
|
149
|
+
interactive: boolean;
|
|
150
|
+
id?: string | undefined;
|
|
151
|
+
preview?: string | null | undefined;
|
|
152
|
+
settings?: string | null | undefined;
|
|
153
|
+
templateId?: null | undefined;
|
|
154
|
+
}>;
|
|
155
|
+
export declare const CreatePresentationRequestBody: z.ZodDiscriminatedUnion<"template", [z.ZodObject<{
|
|
156
|
+
name: z.ZodString;
|
|
157
|
+
templateId: z.ZodString;
|
|
158
|
+
template: z.ZodLiteral<true>;
|
|
159
|
+
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
name: string;
|
|
161
|
+
template: true;
|
|
162
|
+
templateId: string;
|
|
163
|
+
}, {
|
|
164
|
+
name: string;
|
|
165
|
+
template: true;
|
|
166
|
+
templateId: string;
|
|
167
|
+
}>, z.ZodObject<{
|
|
168
|
+
projectId: z.ZodString;
|
|
169
|
+
name: z.ZodString;
|
|
170
|
+
id: z.ZodOptional<z.ZodString>;
|
|
171
|
+
templateId: z.ZodDefault<z.ZodLiteral<null>>;
|
|
172
|
+
width: z.ZodNumber;
|
|
173
|
+
height: z.ZodNumber;
|
|
174
|
+
preview: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
175
|
+
settings: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
176
|
+
interactive: z.ZodBoolean;
|
|
177
|
+
template: z.ZodLiteral<false>;
|
|
178
|
+
}, "strip", z.ZodTypeAny, {
|
|
179
|
+
name: string;
|
|
180
|
+
projectId: string;
|
|
181
|
+
preview: string | null;
|
|
182
|
+
template: false;
|
|
183
|
+
width: number;
|
|
184
|
+
height: number;
|
|
185
|
+
settings: string | null;
|
|
186
|
+
interactive: boolean;
|
|
187
|
+
templateId: null;
|
|
188
|
+
id?: string | undefined;
|
|
189
|
+
}, {
|
|
190
|
+
name: string;
|
|
191
|
+
projectId: string;
|
|
192
|
+
template: false;
|
|
193
|
+
width: number;
|
|
194
|
+
height: number;
|
|
195
|
+
interactive: boolean;
|
|
196
|
+
id?: string | undefined;
|
|
197
|
+
preview?: string | null | undefined;
|
|
198
|
+
settings?: string | null | undefined;
|
|
199
|
+
templateId?: null | undefined;
|
|
200
|
+
}>]>;
|
|
201
|
+
export type Presentation = z.infer<typeof Presentation>;
|
|
202
|
+
export type PresentationCreate = z.infer<typeof PresentationCreate>;
|
|
203
|
+
export type PresentationUpdate = z.infer<typeof PresentationUpdate>;
|
|
204
|
+
export type CreatePresentationRequestBody = z.infer<typeof CreatePresentationRequestBody>;
|
|
205
|
+
export type CreatePresentationFromTemplateRequestBody = z.infer<typeof CreatePresentationFromTemplateRequestBody>;
|
|
206
|
+
export type CreatePresentationCustomRequestBody = z.infer<typeof CreatePresentationCustomRequestBody>;
|
|
207
|
+
export declare const UpdatePresentationRequestBody: z.ZodObject<{
|
|
208
|
+
name: z.ZodOptional<z.ZodString>;
|
|
209
|
+
width: z.ZodOptional<z.ZodNumber>;
|
|
210
|
+
height: z.ZodOptional<z.ZodNumber>;
|
|
211
|
+
previewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
212
|
+
settings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
213
|
+
interactive: z.ZodOptional<z.ZodBoolean>;
|
|
214
|
+
pages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
215
|
+
id: z.ZodString;
|
|
216
|
+
name: z.ZodOptional<z.ZodString>;
|
|
217
|
+
presentationId: z.ZodOptional<z.ZodString>;
|
|
218
|
+
layout: z.ZodOptional<z.ZodString>;
|
|
219
|
+
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
220
|
+
duration: z.ZodOptional<z.ZodNumber>;
|
|
221
|
+
animation: z.ZodOptional<z.ZodString>;
|
|
222
|
+
delay: z.ZodOptional<z.ZodNumber>;
|
|
223
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
224
|
+
preview: z.ZodOptional<z.ZodString>;
|
|
225
|
+
}, "strip", z.ZodTypeAny, {
|
|
226
|
+
id: string;
|
|
227
|
+
name?: string | undefined;
|
|
228
|
+
preview?: string | undefined;
|
|
229
|
+
presentationId?: string | undefined;
|
|
230
|
+
layout?: string | undefined;
|
|
231
|
+
order?: number | undefined;
|
|
232
|
+
backgroundColor?: string | undefined;
|
|
233
|
+
duration?: number | undefined;
|
|
234
|
+
animation?: string | undefined;
|
|
235
|
+
delay?: number | undefined;
|
|
236
|
+
}, {
|
|
237
|
+
id: string;
|
|
238
|
+
name?: string | undefined;
|
|
239
|
+
preview?: string | undefined;
|
|
240
|
+
presentationId?: string | undefined;
|
|
241
|
+
layout?: string | undefined;
|
|
242
|
+
order?: number | undefined;
|
|
243
|
+
backgroundColor?: string | undefined;
|
|
244
|
+
duration?: number | undefined;
|
|
245
|
+
animation?: string | undefined;
|
|
246
|
+
delay?: number | undefined;
|
|
247
|
+
}>, "many">>;
|
|
248
|
+
deletedPageIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
249
|
+
}, "strip", z.ZodTypeAny, {
|
|
250
|
+
deletedPageIds: string[];
|
|
251
|
+
name?: string | undefined;
|
|
252
|
+
width?: number | undefined;
|
|
253
|
+
height?: number | undefined;
|
|
254
|
+
settings?: string | null | undefined;
|
|
255
|
+
interactive?: boolean | undefined;
|
|
256
|
+
previewUrl?: string | null | undefined;
|
|
257
|
+
pages?: {
|
|
258
|
+
id: string;
|
|
259
|
+
name?: string | undefined;
|
|
260
|
+
preview?: string | undefined;
|
|
261
|
+
presentationId?: string | undefined;
|
|
262
|
+
layout?: string | undefined;
|
|
263
|
+
order?: number | undefined;
|
|
264
|
+
backgroundColor?: string | undefined;
|
|
265
|
+
duration?: number | undefined;
|
|
266
|
+
animation?: string | undefined;
|
|
267
|
+
delay?: number | undefined;
|
|
268
|
+
}[] | undefined;
|
|
269
|
+
}, {
|
|
270
|
+
name?: string | undefined;
|
|
271
|
+
width?: number | undefined;
|
|
272
|
+
height?: number | undefined;
|
|
273
|
+
settings?: string | null | undefined;
|
|
274
|
+
interactive?: boolean | undefined;
|
|
275
|
+
previewUrl?: string | null | undefined;
|
|
276
|
+
pages?: {
|
|
277
|
+
id: string;
|
|
278
|
+
name?: string | undefined;
|
|
279
|
+
preview?: string | undefined;
|
|
280
|
+
presentationId?: string | undefined;
|
|
281
|
+
layout?: string | undefined;
|
|
282
|
+
order?: number | undefined;
|
|
283
|
+
backgroundColor?: string | undefined;
|
|
284
|
+
duration?: number | undefined;
|
|
285
|
+
animation?: string | undefined;
|
|
286
|
+
delay?: number | undefined;
|
|
287
|
+
}[] | undefined;
|
|
288
|
+
deletedPageIds?: string[] | undefined;
|
|
289
|
+
}>;
|
|
290
|
+
export type UpdatePresentationRequestBody = z.infer<typeof UpdatePresentationRequestBody>;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare enum ProjectStatus {
|
|
3
|
+
ACTIVE = "ACTIVE",
|
|
4
|
+
INACTIVE = "INACTIVE",
|
|
5
|
+
SUSPENDED = "SUSPENDED"
|
|
6
|
+
}
|
|
7
|
+
export declare const zStatus: z.ZodEnum<[string, ...string[]]>;
|
|
8
|
+
export declare const Project: z.ZodObject<{
|
|
9
|
+
id: z.ZodString;
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
accountId: z.ZodString;
|
|
12
|
+
status: z.ZodString;
|
|
13
|
+
private: z.ZodBoolean;
|
|
14
|
+
createdAt: z.ZodDate;
|
|
15
|
+
updatedAt: z.ZodDate;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
id: string;
|
|
18
|
+
name: string;
|
|
19
|
+
status: string;
|
|
20
|
+
private: boolean;
|
|
21
|
+
createdAt: Date;
|
|
22
|
+
updatedAt: Date;
|
|
23
|
+
accountId: string;
|
|
24
|
+
}, {
|
|
25
|
+
id: string;
|
|
26
|
+
name: string;
|
|
27
|
+
status: string;
|
|
28
|
+
private: boolean;
|
|
29
|
+
createdAt: Date;
|
|
30
|
+
updatedAt: Date;
|
|
31
|
+
accountId: string;
|
|
32
|
+
}>;
|
|
33
|
+
export declare const ProjectCreate: z.ZodObject<{
|
|
34
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
35
|
+
accountId: z.ZodString;
|
|
36
|
+
status: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
|
|
37
|
+
private: z.ZodDefault<z.ZodBoolean>;
|
|
38
|
+
}, "strip", z.ZodTypeAny, {
|
|
39
|
+
name: string;
|
|
40
|
+
status: string;
|
|
41
|
+
private: boolean;
|
|
42
|
+
accountId: string;
|
|
43
|
+
}, {
|
|
44
|
+
name: string;
|
|
45
|
+
accountId: string;
|
|
46
|
+
status?: string | undefined;
|
|
47
|
+
private?: boolean | undefined;
|
|
48
|
+
}>;
|
|
49
|
+
export declare const ProjectUpdate: z.ZodObject<{
|
|
50
|
+
id: z.ZodString;
|
|
51
|
+
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
52
|
+
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<[string, ...string[]]>>>;
|
|
53
|
+
private: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
+
}, "strip", z.ZodTypeAny, {
|
|
55
|
+
id: string;
|
|
56
|
+
name?: string | undefined;
|
|
57
|
+
status?: string | undefined;
|
|
58
|
+
private?: boolean | undefined;
|
|
59
|
+
}, {
|
|
60
|
+
id: string;
|
|
61
|
+
name?: string | undefined;
|
|
62
|
+
status?: string | undefined;
|
|
63
|
+
private?: boolean | undefined;
|
|
64
|
+
}>;
|
|
65
|
+
export type Project = z.infer<typeof Project>;
|
|
66
|
+
export type ProjectCreate = z.infer<typeof ProjectCreate>;
|
|
67
|
+
export type ProjectUpdate = z.infer<typeof ProjectUpdate>;
|
|
68
|
+
export declare const ProjectIdRequestParams: z.ZodObject<{
|
|
69
|
+
id: z.ZodString;
|
|
70
|
+
}, "strip", z.ZodTypeAny, {
|
|
71
|
+
id: string;
|
|
72
|
+
}, {
|
|
73
|
+
id: string;
|
|
74
|
+
}>;
|
|
75
|
+
export declare const CreateProjectRequestBody: z.ZodObject<{
|
|
76
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
77
|
+
}, "strip", z.ZodTypeAny, {
|
|
78
|
+
name: string;
|
|
79
|
+
}, {
|
|
80
|
+
name: string;
|
|
81
|
+
}>;
|
|
82
|
+
export type CreateProjectRequestBody = z.infer<typeof CreateProjectRequestBody>;
|
|
83
|
+
export declare const UpdateProjectRequestBody: z.ZodObject<{
|
|
84
|
+
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
|
86
|
+
name?: string | undefined;
|
|
87
|
+
}, {
|
|
88
|
+
name?: string | undefined;
|
|
89
|
+
}>;
|
|
90
|
+
export type UpdateProjectRequestBody = z.infer<typeof UpdateProjectRequestBody>;
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const Schedule: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
projectId: z.ZodString;
|
|
5
|
+
presentationId: z.ZodString;
|
|
6
|
+
title: z.ZodString;
|
|
7
|
+
color: z.ZodString;
|
|
8
|
+
priority: z.ZodBoolean;
|
|
9
|
+
start: z.ZodDate;
|
|
10
|
+
end: z.ZodDate;
|
|
11
|
+
timezone: z.ZodString;
|
|
12
|
+
useDeviceTime: z.ZodBoolean;
|
|
13
|
+
recur: z.ZodBoolean;
|
|
14
|
+
recurExpires: z.ZodNullable<z.ZodDate>;
|
|
15
|
+
recurInterval: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
recurType: z.ZodNullable<z.ZodString>;
|
|
17
|
+
createdAt: z.ZodDate;
|
|
18
|
+
updatedAt: z.ZodDate;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
id: string;
|
|
21
|
+
createdAt: Date;
|
|
22
|
+
updatedAt: Date;
|
|
23
|
+
projectId: string;
|
|
24
|
+
presentationId: string;
|
|
25
|
+
title: string;
|
|
26
|
+
color: string;
|
|
27
|
+
priority: boolean;
|
|
28
|
+
start: Date;
|
|
29
|
+
end: Date;
|
|
30
|
+
timezone: string;
|
|
31
|
+
useDeviceTime: boolean;
|
|
32
|
+
recur: boolean;
|
|
33
|
+
recurExpires: Date | null;
|
|
34
|
+
recurInterval: number | null;
|
|
35
|
+
recurType: string | null;
|
|
36
|
+
}, {
|
|
37
|
+
id: string;
|
|
38
|
+
createdAt: Date;
|
|
39
|
+
updatedAt: Date;
|
|
40
|
+
projectId: string;
|
|
41
|
+
presentationId: string;
|
|
42
|
+
title: string;
|
|
43
|
+
color: string;
|
|
44
|
+
priority: boolean;
|
|
45
|
+
start: Date;
|
|
46
|
+
end: Date;
|
|
47
|
+
timezone: string;
|
|
48
|
+
useDeviceTime: boolean;
|
|
49
|
+
recur: boolean;
|
|
50
|
+
recurExpires: Date | null;
|
|
51
|
+
recurInterval: number | null;
|
|
52
|
+
recurType: string | null;
|
|
53
|
+
}>;
|
|
54
|
+
export declare const ScheduleCreate: z.ZodObject<{
|
|
55
|
+
projectId: z.ZodString;
|
|
56
|
+
presentationId: z.ZodString;
|
|
57
|
+
title: z.ZodString;
|
|
58
|
+
color: z.ZodString;
|
|
59
|
+
priority: z.ZodBoolean;
|
|
60
|
+
start: z.ZodDate;
|
|
61
|
+
end: z.ZodDate;
|
|
62
|
+
timezone: z.ZodString;
|
|
63
|
+
useDeviceTime: z.ZodBoolean;
|
|
64
|
+
recur: z.ZodDefault<z.ZodBoolean>;
|
|
65
|
+
recurExpires: z.ZodDefault<z.ZodNullable<z.ZodDate>>;
|
|
66
|
+
recurInterval: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
67
|
+
recurType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
68
|
+
}, "strip", z.ZodTypeAny, {
|
|
69
|
+
projectId: string;
|
|
70
|
+
presentationId: string;
|
|
71
|
+
title: string;
|
|
72
|
+
color: string;
|
|
73
|
+
priority: boolean;
|
|
74
|
+
start: Date;
|
|
75
|
+
end: Date;
|
|
76
|
+
timezone: string;
|
|
77
|
+
useDeviceTime: boolean;
|
|
78
|
+
recur: boolean;
|
|
79
|
+
recurExpires: Date | null;
|
|
80
|
+
recurInterval: number | null;
|
|
81
|
+
recurType: string | null;
|
|
82
|
+
}, {
|
|
83
|
+
projectId: string;
|
|
84
|
+
presentationId: string;
|
|
85
|
+
title: string;
|
|
86
|
+
color: string;
|
|
87
|
+
priority: boolean;
|
|
88
|
+
start: Date;
|
|
89
|
+
end: Date;
|
|
90
|
+
timezone: string;
|
|
91
|
+
useDeviceTime: boolean;
|
|
92
|
+
recur?: boolean | undefined;
|
|
93
|
+
recurExpires?: Date | null | undefined;
|
|
94
|
+
recurInterval?: number | null | undefined;
|
|
95
|
+
recurType?: string | null | undefined;
|
|
96
|
+
}>;
|
|
97
|
+
export declare const ScheduleUpdate: z.ZodObject<{
|
|
98
|
+
id: z.ZodString;
|
|
99
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
100
|
+
presentationId: z.ZodOptional<z.ZodString>;
|
|
101
|
+
title: z.ZodOptional<z.ZodString>;
|
|
102
|
+
color: z.ZodOptional<z.ZodString>;
|
|
103
|
+
priority: z.ZodOptional<z.ZodBoolean>;
|
|
104
|
+
start: z.ZodOptional<z.ZodDate>;
|
|
105
|
+
end: z.ZodOptional<z.ZodDate>;
|
|
106
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
107
|
+
useDeviceTime: z.ZodOptional<z.ZodBoolean>;
|
|
108
|
+
recur: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
recurExpires: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
110
|
+
recurInterval: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
111
|
+
recurType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
112
|
+
}, "strip", z.ZodTypeAny, {
|
|
113
|
+
id: string;
|
|
114
|
+
projectId?: string | undefined;
|
|
115
|
+
presentationId?: string | undefined;
|
|
116
|
+
title?: string | undefined;
|
|
117
|
+
color?: string | undefined;
|
|
118
|
+
priority?: boolean | undefined;
|
|
119
|
+
start?: Date | undefined;
|
|
120
|
+
end?: Date | undefined;
|
|
121
|
+
timezone?: string | undefined;
|
|
122
|
+
useDeviceTime?: boolean | undefined;
|
|
123
|
+
recur?: boolean | undefined;
|
|
124
|
+
recurExpires?: Date | null | undefined;
|
|
125
|
+
recurInterval?: number | null | undefined;
|
|
126
|
+
recurType?: string | null | undefined;
|
|
127
|
+
}, {
|
|
128
|
+
id: string;
|
|
129
|
+
projectId?: string | undefined;
|
|
130
|
+
presentationId?: string | undefined;
|
|
131
|
+
title?: string | undefined;
|
|
132
|
+
color?: string | undefined;
|
|
133
|
+
priority?: boolean | undefined;
|
|
134
|
+
start?: Date | undefined;
|
|
135
|
+
end?: Date | undefined;
|
|
136
|
+
timezone?: string | undefined;
|
|
137
|
+
useDeviceTime?: boolean | undefined;
|
|
138
|
+
recur?: boolean | undefined;
|
|
139
|
+
recurExpires?: Date | null | undefined;
|
|
140
|
+
recurInterval?: number | null | undefined;
|
|
141
|
+
recurType?: string | null | undefined;
|
|
142
|
+
}>;
|
|
143
|
+
export type Schedule = z.infer<typeof Schedule>;
|
|
144
|
+
export type ScheduleCreate = z.infer<typeof ScheduleCreate>;
|
|
145
|
+
export type ScheduleUpdate = z.infer<typeof ScheduleUpdate>;
|
|
146
|
+
export declare const ScheduleIdRequestParams: z.ZodObject<{
|
|
147
|
+
id: z.ZodString;
|
|
148
|
+
}, "strip", z.ZodTypeAny, {
|
|
149
|
+
id: string;
|
|
150
|
+
}, {
|
|
151
|
+
id: string;
|
|
152
|
+
}>;
|
|
153
|
+
export declare const CreateScheduleRequestBody: z.ZodObject<{
|
|
154
|
+
projectId: z.ZodString;
|
|
155
|
+
presentationId: z.ZodString;
|
|
156
|
+
title: z.ZodString;
|
|
157
|
+
color: z.ZodString;
|
|
158
|
+
priority: z.ZodBoolean;
|
|
159
|
+
start: z.ZodEffects<z.ZodString, Date, string>;
|
|
160
|
+
end: z.ZodEffects<z.ZodString, Date, string>;
|
|
161
|
+
timezone: z.ZodString;
|
|
162
|
+
useDeviceTime: z.ZodBoolean;
|
|
163
|
+
recur: z.ZodDefault<z.ZodBoolean>;
|
|
164
|
+
recurExpires: z.ZodDefault<z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>>;
|
|
165
|
+
recurInterval: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
166
|
+
recurType: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
167
|
+
}, "strip", z.ZodTypeAny, {
|
|
168
|
+
projectId: string;
|
|
169
|
+
presentationId: string;
|
|
170
|
+
title: string;
|
|
171
|
+
color: string;
|
|
172
|
+
priority: boolean;
|
|
173
|
+
start: Date;
|
|
174
|
+
end: Date;
|
|
175
|
+
timezone: string;
|
|
176
|
+
useDeviceTime: boolean;
|
|
177
|
+
recur: boolean;
|
|
178
|
+
recurExpires: Date | null;
|
|
179
|
+
recurInterval: number | null;
|
|
180
|
+
recurType: string | null;
|
|
181
|
+
}, {
|
|
182
|
+
projectId: string;
|
|
183
|
+
presentationId: string;
|
|
184
|
+
title: string;
|
|
185
|
+
color: string;
|
|
186
|
+
priority: boolean;
|
|
187
|
+
start: string;
|
|
188
|
+
end: string;
|
|
189
|
+
timezone: string;
|
|
190
|
+
useDeviceTime: boolean;
|
|
191
|
+
recur?: boolean | undefined;
|
|
192
|
+
recurExpires?: string | null | undefined;
|
|
193
|
+
recurInterval?: number | null | undefined;
|
|
194
|
+
recurType?: string | null | undefined;
|
|
195
|
+
}>;
|
|
196
|
+
export type CreateScheduleRequestBody = z.infer<typeof CreateScheduleRequestBody>;
|
|
197
|
+
export declare const UpdateScheduleRequestBody: z.ZodObject<{
|
|
198
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
199
|
+
presentationId: z.ZodOptional<z.ZodString>;
|
|
200
|
+
title: z.ZodOptional<z.ZodString>;
|
|
201
|
+
color: z.ZodOptional<z.ZodString>;
|
|
202
|
+
priority: z.ZodOptional<z.ZodBoolean>;
|
|
203
|
+
start: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;
|
|
204
|
+
end: z.ZodOptional<z.ZodEffects<z.ZodString, Date, string>>;
|
|
205
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
206
|
+
useDeviceTime: z.ZodOptional<z.ZodBoolean>;
|
|
207
|
+
recur: z.ZodOptional<z.ZodBoolean>;
|
|
208
|
+
recurExpires: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodString, Date, string>>>;
|
|
209
|
+
recurInterval: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
210
|
+
recurType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
211
|
+
}, "strip", z.ZodTypeAny, {
|
|
212
|
+
projectId?: string | undefined;
|
|
213
|
+
presentationId?: string | undefined;
|
|
214
|
+
title?: string | undefined;
|
|
215
|
+
color?: string | undefined;
|
|
216
|
+
priority?: boolean | undefined;
|
|
217
|
+
start?: Date | undefined;
|
|
218
|
+
end?: Date | undefined;
|
|
219
|
+
timezone?: string | undefined;
|
|
220
|
+
useDeviceTime?: boolean | undefined;
|
|
221
|
+
recur?: boolean | undefined;
|
|
222
|
+
recurExpires?: Date | null | undefined;
|
|
223
|
+
recurInterval?: number | null | undefined;
|
|
224
|
+
recurType?: string | null | undefined;
|
|
225
|
+
}, {
|
|
226
|
+
projectId?: string | undefined;
|
|
227
|
+
presentationId?: string | undefined;
|
|
228
|
+
title?: string | undefined;
|
|
229
|
+
color?: string | undefined;
|
|
230
|
+
priority?: boolean | undefined;
|
|
231
|
+
start?: string | undefined;
|
|
232
|
+
end?: string | undefined;
|
|
233
|
+
timezone?: string | undefined;
|
|
234
|
+
useDeviceTime?: boolean | undefined;
|
|
235
|
+
recur?: boolean | undefined;
|
|
236
|
+
recurExpires?: string | null | undefined;
|
|
237
|
+
recurInterval?: number | null | undefined;
|
|
238
|
+
recurType?: string | null | undefined;
|
|
239
|
+
}>;
|
|
240
|
+
export type UpdateScheduleRequestBody = z.infer<typeof UpdateScheduleRequestBody>;
|