api-arreya-types 1.0.52 → 1.0.56

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.
@@ -0,0 +1,394 @@
1
+ import { z } from 'zod';
2
+ export declare const Alert: z.ZodObject<{
3
+ id: z.ZodString;
4
+ projectId: z.ZodString;
5
+ source: z.ZodString;
6
+ title: z.ZodString;
7
+ message: z.ZodString;
8
+ color: z.ZodString;
9
+ background: z.ZodString;
10
+ animation: z.ZodString;
11
+ timeout: z.ZodNumber;
12
+ createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
13
+ updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ message: string;
16
+ id: string;
17
+ projectId: string;
18
+ source: string;
19
+ title: string;
20
+ color: string;
21
+ background: string;
22
+ animation: string;
23
+ timeout: number;
24
+ createdAt: Date;
25
+ updatedAt: Date;
26
+ }, {
27
+ message: string;
28
+ id: string;
29
+ projectId: string;
30
+ source: string;
31
+ title: string;
32
+ color: string;
33
+ background: string;
34
+ animation: string;
35
+ timeout: number;
36
+ createdAt: string | Date;
37
+ updatedAt: string | Date;
38
+ }>;
39
+ export type Alert = z.infer<typeof Alert>;
40
+ export declare const CreateAlert: z.ZodObject<{
41
+ projectId: z.ZodString;
42
+ source: z.ZodString;
43
+ title: z.ZodString;
44
+ message: z.ZodString;
45
+ color: z.ZodString;
46
+ background: z.ZodString;
47
+ animation: z.ZodString;
48
+ timeout: z.ZodNumber;
49
+ }, "strip", z.ZodTypeAny, {
50
+ message: string;
51
+ projectId: string;
52
+ source: string;
53
+ title: string;
54
+ color: string;
55
+ background: string;
56
+ animation: string;
57
+ timeout: number;
58
+ }, {
59
+ message: string;
60
+ projectId: string;
61
+ source: string;
62
+ title: string;
63
+ color: string;
64
+ background: string;
65
+ animation: string;
66
+ timeout: number;
67
+ }>;
68
+ export declare const UpdateAlert: z.ZodObject<{
69
+ id: z.ZodString;
70
+ source: z.ZodString;
71
+ title: z.ZodOptional<z.ZodString>;
72
+ message: z.ZodOptional<z.ZodString>;
73
+ color: z.ZodOptional<z.ZodString>;
74
+ background: z.ZodOptional<z.ZodString>;
75
+ animation: z.ZodOptional<z.ZodString>;
76
+ timeout: z.ZodOptional<z.ZodNumber>;
77
+ }, "strip", z.ZodTypeAny, {
78
+ id: string;
79
+ source: string;
80
+ message?: string | undefined;
81
+ title?: string | undefined;
82
+ color?: string | undefined;
83
+ background?: string | undefined;
84
+ animation?: string | undefined;
85
+ timeout?: number | undefined;
86
+ }, {
87
+ id: string;
88
+ source: string;
89
+ message?: string | undefined;
90
+ title?: string | undefined;
91
+ color?: string | undefined;
92
+ background?: string | undefined;
93
+ animation?: string | undefined;
94
+ timeout?: number | undefined;
95
+ }>;
96
+ export type CreateAlert = z.infer<typeof CreateAlert>;
97
+ export type UpdateAlert = z.infer<typeof UpdateAlert>;
98
+ export declare const CreateAlertRequestBody: z.ZodObject<Omit<{
99
+ projectId: z.ZodString;
100
+ source: z.ZodString;
101
+ title: z.ZodString;
102
+ message: z.ZodString;
103
+ color: z.ZodString;
104
+ background: z.ZodString;
105
+ animation: z.ZodString;
106
+ timeout: z.ZodNumber;
107
+ }, "projectId">, "strip", z.ZodTypeAny, {
108
+ message: string;
109
+ source: string;
110
+ title: string;
111
+ color: string;
112
+ background: string;
113
+ animation: string;
114
+ timeout: number;
115
+ }, {
116
+ message: string;
117
+ source: string;
118
+ title: string;
119
+ color: string;
120
+ background: string;
121
+ animation: string;
122
+ timeout: number;
123
+ }>;
124
+ export declare const UpdateAlertRequestBody: z.ZodObject<Omit<{
125
+ id: z.ZodString;
126
+ source: z.ZodString;
127
+ title: z.ZodOptional<z.ZodString>;
128
+ message: z.ZodOptional<z.ZodString>;
129
+ color: z.ZodOptional<z.ZodString>;
130
+ background: z.ZodOptional<z.ZodString>;
131
+ animation: z.ZodOptional<z.ZodString>;
132
+ timeout: z.ZodOptional<z.ZodNumber>;
133
+ }, "id">, "strip", z.ZodTypeAny, {
134
+ source: string;
135
+ message?: string | undefined;
136
+ title?: string | undefined;
137
+ color?: string | undefined;
138
+ background?: string | undefined;
139
+ animation?: string | undefined;
140
+ timeout?: number | undefined;
141
+ }, {
142
+ source: string;
143
+ message?: string | undefined;
144
+ title?: string | undefined;
145
+ color?: string | undefined;
146
+ background?: string | undefined;
147
+ animation?: string | undefined;
148
+ timeout?: number | undefined;
149
+ }>;
150
+ export type CreateAlertRequestBody = z.infer<typeof CreateAlertRequestBody>;
151
+ export type UpdateAlertRequestBody = z.infer<typeof UpdateAlertRequestBody>;
152
+ export declare const BeepAlert: z.ZodObject<{
153
+ soundEffect: z.ZodLiteral<"beep">;
154
+ soundPitch: z.ZodNumber;
155
+ soundDelay: z.ZodNumber;
156
+ soundVolume: z.ZodNumber;
157
+ soundLoop: z.ZodBoolean;
158
+ }, "strip", z.ZodTypeAny, {
159
+ soundEffect: "beep";
160
+ soundPitch: number;
161
+ soundDelay: number;
162
+ soundVolume: number;
163
+ soundLoop: boolean;
164
+ }, {
165
+ soundEffect: "beep";
166
+ soundPitch: number;
167
+ soundDelay: number;
168
+ soundVolume: number;
169
+ soundLoop: boolean;
170
+ }>;
171
+ export declare const TapAlert: z.ZodObject<{
172
+ soundEffect: z.ZodLiteral<"tap">;
173
+ soundPitch: z.ZodNumber;
174
+ soundDelay: z.ZodNumber;
175
+ soundVolume: z.ZodNumber;
176
+ soundLoop: z.ZodBoolean;
177
+ }, "strip", z.ZodTypeAny, {
178
+ soundEffect: "tap";
179
+ soundPitch: number;
180
+ soundDelay: number;
181
+ soundVolume: number;
182
+ soundLoop: boolean;
183
+ }, {
184
+ soundEffect: "tap";
185
+ soundPitch: number;
186
+ soundDelay: number;
187
+ soundVolume: number;
188
+ soundLoop: boolean;
189
+ }>;
190
+ export declare const ClickAlert: z.ZodObject<{
191
+ soundEffect: z.ZodLiteral<"click">;
192
+ soundPitch: z.ZodNumber;
193
+ soundDelay: z.ZodNumber;
194
+ soundVolume: z.ZodNumber;
195
+ soundLoop: z.ZodBoolean;
196
+ }, "strip", z.ZodTypeAny, {
197
+ soundEffect: "click";
198
+ soundPitch: number;
199
+ soundDelay: number;
200
+ soundVolume: number;
201
+ soundLoop: boolean;
202
+ }, {
203
+ soundEffect: "click";
204
+ soundPitch: number;
205
+ soundDelay: number;
206
+ soundVolume: number;
207
+ soundLoop: boolean;
208
+ }>;
209
+ export declare const FireAlert: z.ZodObject<{
210
+ soundEffect: z.ZodLiteral<"fire">;
211
+ soundPitch: z.ZodNumber;
212
+ soundDelay: z.ZodNumber;
213
+ soundVolume: z.ZodNumber;
214
+ soundLoop: z.ZodBoolean;
215
+ }, "strip", z.ZodTypeAny, {
216
+ soundEffect: "fire";
217
+ soundPitch: number;
218
+ soundDelay: number;
219
+ soundVolume: number;
220
+ soundLoop: boolean;
221
+ }, {
222
+ soundEffect: "fire";
223
+ soundPitch: number;
224
+ soundDelay: number;
225
+ soundVolume: number;
226
+ soundLoop: boolean;
227
+ }>;
228
+ export declare const IntermittentToneAlert: z.ZodObject<{
229
+ soundEffect: z.ZodLiteral<"intermittentTone">;
230
+ soundPitch: z.ZodNumber;
231
+ soundDelay: z.ZodNumber;
232
+ soundVolume: z.ZodNumber;
233
+ soundLoop: z.ZodBoolean;
234
+ }, "strip", z.ZodTypeAny, {
235
+ soundEffect: "intermittentTone";
236
+ soundPitch: number;
237
+ soundDelay: number;
238
+ soundVolume: number;
239
+ soundLoop: boolean;
240
+ }, {
241
+ soundEffect: "intermittentTone";
242
+ soundPitch: number;
243
+ soundDelay: number;
244
+ soundVolume: number;
245
+ soundLoop: boolean;
246
+ }>;
247
+ export declare const ContinuousToneAlert: z.ZodObject<{
248
+ soundEffect: z.ZodLiteral<"continuousTone">;
249
+ soundPitch: z.ZodNumber;
250
+ soundDelay: z.ZodNumber;
251
+ soundVolume: z.ZodNumber;
252
+ soundLoop: z.ZodBoolean;
253
+ soundDuration: z.ZodNumber;
254
+ timeout: z.ZodNumber;
255
+ }, "strip", z.ZodTypeAny, {
256
+ timeout: number;
257
+ soundEffect: "continuousTone";
258
+ soundPitch: number;
259
+ soundDelay: number;
260
+ soundVolume: number;
261
+ soundLoop: boolean;
262
+ soundDuration: number;
263
+ }, {
264
+ timeout: number;
265
+ soundEffect: "continuousTone";
266
+ soundPitch: number;
267
+ soundDelay: number;
268
+ soundVolume: number;
269
+ soundLoop: boolean;
270
+ soundDuration: number;
271
+ }>;
272
+ export declare const SpeechAlert: z.ZodObject<{
273
+ soundEffect: z.ZodLiteral<"speech">;
274
+ soundText: z.ZodString;
275
+ soundVoicePitch: z.ZodNumber;
276
+ soundDelay: z.ZodNumber;
277
+ soundVolume: z.ZodNumber;
278
+ soundLoop: z.ZodBoolean;
279
+ soundRate: z.ZodNumber;
280
+ }, "strip", z.ZodTypeAny, {
281
+ soundEffect: "speech";
282
+ soundDelay: number;
283
+ soundVolume: number;
284
+ soundLoop: boolean;
285
+ soundText: string;
286
+ soundVoicePitch: number;
287
+ soundRate: number;
288
+ }, {
289
+ soundEffect: "speech";
290
+ soundDelay: number;
291
+ soundVolume: number;
292
+ soundLoop: boolean;
293
+ soundText: string;
294
+ soundVoicePitch: number;
295
+ soundRate: number;
296
+ }>;
297
+ export declare const AudioFileAlert: z.ZodObject<{
298
+ soundEffect: z.ZodLiteral<"audioFile">;
299
+ soundUrl: z.ZodString;
300
+ soundAudioVolume: z.ZodNumber;
301
+ soundLoop: z.ZodBoolean;
302
+ }, "strip", z.ZodTypeAny, {
303
+ soundEffect: "audioFile";
304
+ soundLoop: boolean;
305
+ soundUrl: string;
306
+ soundAudioVolume: number;
307
+ }, {
308
+ soundEffect: "audioFile";
309
+ soundLoop: boolean;
310
+ soundUrl: string;
311
+ soundAudioVolume: number;
312
+ }>;
313
+ export declare const AlertRequestParams: z.ZodObject<{
314
+ id: z.ZodString;
315
+ source: z.ZodString;
316
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
317
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
318
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
319
+ background: z.ZodOptional<z.ZodNullable<z.ZodString>>;
320
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
321
+ timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
322
+ animation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
323
+ timeoutUnit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
324
+ sound: z.ZodString;
325
+ schedule: z.ZodString;
326
+ soundLoop: z.ZodString;
327
+ soundEffect: z.ZodString;
328
+ soundPitch: z.ZodString;
329
+ soundVoicePitch: z.ZodString;
330
+ soundVolume: z.ZodString;
331
+ soundAudioVolume: z.ZodString;
332
+ soundDelay: z.ZodString;
333
+ soundDuration: z.ZodString;
334
+ soundVoice: z.ZodString;
335
+ soundRate: z.ZodString;
336
+ soundText: z.ZodString;
337
+ soundUrl: z.ZodString;
338
+ startTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>>;
339
+ endTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>>;
340
+ }, "strip", z.ZodTypeAny, {
341
+ id: string;
342
+ source: string;
343
+ soundEffect: string;
344
+ soundPitch: string;
345
+ soundDelay: string;
346
+ soundVolume: string;
347
+ soundLoop: string;
348
+ soundDuration: string;
349
+ soundText: string;
350
+ soundVoicePitch: string;
351
+ soundRate: string;
352
+ soundUrl: string;
353
+ soundAudioVolume: string;
354
+ sound: string;
355
+ schedule: string;
356
+ soundVoice: string;
357
+ message?: string | null | undefined;
358
+ title?: string | null | undefined;
359
+ color?: string | null | undefined;
360
+ background?: string | null | undefined;
361
+ animation?: string | null | undefined;
362
+ timeout?: number | null | undefined;
363
+ icon?: string | null | undefined;
364
+ timeoutUnit?: string | null | undefined;
365
+ startTime?: Date | null | undefined;
366
+ endTime?: Date | null | undefined;
367
+ }, {
368
+ id: string;
369
+ source: string;
370
+ soundEffect: string;
371
+ soundPitch: string;
372
+ soundDelay: string;
373
+ soundVolume: string;
374
+ soundLoop: string;
375
+ soundDuration: string;
376
+ soundText: string;
377
+ soundVoicePitch: string;
378
+ soundRate: string;
379
+ soundUrl: string;
380
+ soundAudioVolume: string;
381
+ sound: string;
382
+ schedule: string;
383
+ soundVoice: string;
384
+ message?: string | null | undefined;
385
+ title?: string | null | undefined;
386
+ color?: string | null | undefined;
387
+ background?: string | null | undefined;
388
+ animation?: string | null | undefined;
389
+ timeout?: number | null | undefined;
390
+ icon?: string | null | undefined;
391
+ timeoutUnit?: string | null | undefined;
392
+ startTime?: string | Date | null | undefined;
393
+ endTime?: string | Date | null | undefined;
394
+ }>;
@@ -0,0 +1,227 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AlertRequestParams = exports.AudioFileAlert = exports.SpeechAlert = exports.ContinuousToneAlert = exports.IntermittentToneAlert = exports.FireAlert = exports.ClickAlert = exports.TapAlert = exports.BeepAlert = exports.UpdateAlertRequestBody = exports.CreateAlertRequestBody = exports.UpdateAlert = exports.CreateAlert = exports.Alert = void 0;
4
+ var zod_1 = require("zod");
5
+ var zod_utils_1 = require("./zod-utils");
6
+ exports.Alert = zod_1.z.object({
7
+ id: zod_1.z.string(),
8
+ projectId: zod_1.z.string(),
9
+ source: zod_1.z.string(),
10
+ title: zod_1.z.string(),
11
+ message: zod_1.z.string(),
12
+ color: zod_1.z.string(),
13
+ background: zod_1.z.string(),
14
+ animation: zod_1.z.string(),
15
+ timeout: zod_1.z.number(),
16
+ createdAt: zod_utils_1.zodDate,
17
+ updatedAt: zod_utils_1.zodDate,
18
+ });
19
+ exports.CreateAlert = zod_1.z.object({
20
+ projectId: zod_1.z.string(),
21
+ source: zod_1.z.string(),
22
+ title: zod_1.z.string(),
23
+ message: zod_1.z.string(),
24
+ color: zod_1.z.string(),
25
+ background: zod_1.z.string(),
26
+ animation: zod_1.z.string(),
27
+ timeout: zod_1.z.number(),
28
+ });
29
+ exports.UpdateAlert = zod_1.z.object({
30
+ id: zod_1.z.string(),
31
+ source: zod_1.z.string(),
32
+ title: zod_1.z.string().optional(),
33
+ message: zod_1.z.string().optional(),
34
+ color: zod_1.z.string().optional(),
35
+ background: zod_1.z.string().optional(),
36
+ animation: zod_1.z.string().optional(),
37
+ timeout: zod_1.z.number().optional(),
38
+ });
39
+ exports.CreateAlertRequestBody = exports.CreateAlert.omit({ projectId: true });
40
+ exports.UpdateAlertRequestBody = exports.UpdateAlert.omit({ id: true });
41
+ // Legacy alert request params
42
+ var animations = [
43
+ 'bounce',
44
+ 'flash',
45
+ 'pulse',
46
+ 'rubberBand',
47
+ 'shakeX',
48
+ 'shakeY',
49
+ 'headShake',
50
+ 'swing',
51
+ 'tada',
52
+ 'wobble',
53
+ 'jello',
54
+ 'heartBeat',
55
+ 'backInDown',
56
+ 'backInLeft',
57
+ 'backInRight',
58
+ 'backInUp',
59
+ 'backOutDown',
60
+ 'backOutLeft',
61
+ 'backOutRight',
62
+ 'backOutUp',
63
+ 'bounceIn',
64
+ 'bounceInDown',
65
+ 'bounceInLeft',
66
+ 'bounceInRight',
67
+ 'bounceInUp',
68
+ 'bounceOut',
69
+ 'bounceOutDown',
70
+ 'bounceOutLeft',
71
+ 'bounceOutRight',
72
+ 'bounceOutUp',
73
+ 'fadeIn',
74
+ 'fadeInDown',
75
+ 'fadeInDownBig',
76
+ 'fadeInLeft',
77
+ 'fadeInLeftBig',
78
+ 'fadeInRight',
79
+ 'fadeInRightBig',
80
+ 'fadeInUp',
81
+ 'fadeInUpBig',
82
+ 'fadeInTopLeft',
83
+ 'fadeInTopRight',
84
+ 'fadeInBottomLeft',
85
+ 'fadeInBottomRight',
86
+ 'fadeOut',
87
+ 'fadeOutDown',
88
+ 'fadeOutDownBig',
89
+ 'fadeOutLeft',
90
+ 'fadeOutLeftBig',
91
+ 'fadeOutRight',
92
+ 'fadeOutRightBig',
93
+ 'fadeOutUp',
94
+ 'fadeOutUpBig',
95
+ 'fadeOutTopLeft',
96
+ 'fadeOutTopRight',
97
+ 'fadeOutBottomRight',
98
+ 'fadeOutBottomLeft',
99
+ 'flip',
100
+ 'flipInX',
101
+ 'flipInY',
102
+ 'flipOutX',
103
+ 'flipOutY',
104
+ 'lightSpeedInRight',
105
+ 'lightSpeedInLeft',
106
+ 'lightSpeedOutRight',
107
+ 'lightSpeedOutLeft',
108
+ 'rotateIn',
109
+ 'rotateInDownLeft',
110
+ 'rotateInDownRight',
111
+ 'rotateInUpLeft',
112
+ 'rotateInUpRight',
113
+ 'rotateOut',
114
+ 'rotateOutDownLeft',
115
+ 'rotateOutDownRight',
116
+ 'rotateOutUpLeft',
117
+ 'rotateOutUpRight',
118
+ 'hinge',
119
+ 'jackInTheBox',
120
+ 'rollIn',
121
+ 'rollOut',
122
+ 'zoomIn',
123
+ 'zoomInDown',
124
+ 'zoomInLeft',
125
+ 'zoomInRight',
126
+ 'zoomInUp',
127
+ 'zoomOut',
128
+ 'zoomOutDown',
129
+ 'zoomOutLeft',
130
+ 'zoomOutRight',
131
+ 'zoomOutUp',
132
+ 'slideInDown',
133
+ 'slideInLeft',
134
+ 'slideInRight',
135
+ 'slideInUp',
136
+ 'slideOutDown',
137
+ 'slideOutLeft',
138
+ 'slideOutRight',
139
+ 'slideOutUp',
140
+ ];
141
+ exports.BeepAlert = zod_1.z.object({
142
+ soundEffect: zod_1.z.literal('beep'),
143
+ soundPitch: zod_1.z.number(), // 0-10000
144
+ soundDelay: zod_1.z.number(), // 0-100
145
+ soundVolume: zod_1.z.number(), // 0.0-1.0
146
+ soundLoop: zod_1.z.boolean(),
147
+ });
148
+ exports.TapAlert = zod_1.z.object({
149
+ soundEffect: zod_1.z.literal('tap'),
150
+ soundPitch: zod_1.z.number(), // 0-10000
151
+ soundDelay: zod_1.z.number(), // 0-100
152
+ soundVolume: zod_1.z.number(), // 0.0-1.0
153
+ soundLoop: zod_1.z.boolean(),
154
+ });
155
+ exports.ClickAlert = zod_1.z.object({
156
+ soundEffect: zod_1.z.literal('click'),
157
+ soundPitch: zod_1.z.number(), // 0-10000
158
+ soundDelay: zod_1.z.number(), // 0-100
159
+ soundVolume: zod_1.z.number(), // 0.0-1.0
160
+ soundLoop: zod_1.z.boolean(),
161
+ });
162
+ exports.FireAlert = zod_1.z.object({
163
+ soundEffect: zod_1.z.literal('fire'),
164
+ soundPitch: zod_1.z.number(), // 0-10000
165
+ soundDelay: zod_1.z.number(), // 0-100
166
+ soundVolume: zod_1.z.number(), // 0.0-1.0
167
+ soundLoop: zod_1.z.boolean(),
168
+ });
169
+ exports.IntermittentToneAlert = zod_1.z.object({
170
+ soundEffect: zod_1.z.literal('intermittentTone'),
171
+ soundPitch: zod_1.z.number(), // 0-10000
172
+ soundDelay: zod_1.z.number(), // 0-100
173
+ soundVolume: zod_1.z.number(), // 0.0-1.0
174
+ soundLoop: zod_1.z.boolean(),
175
+ });
176
+ exports.ContinuousToneAlert = zod_1.z.object({
177
+ soundEffect: zod_1.z.literal('continuousTone'),
178
+ soundPitch: zod_1.z.number(), // 0-10000
179
+ soundDelay: zod_1.z.number(), // 0-100
180
+ soundVolume: zod_1.z.number(), // 0.0-1.0
181
+ soundLoop: zod_1.z.boolean(),
182
+ soundDuration: zod_1.z.number(), // 0-100 // 0 = infinite
183
+ timeout: zod_1.z.number(),
184
+ });
185
+ exports.SpeechAlert = zod_1.z.object({
186
+ soundEffect: zod_1.z.literal('speech'),
187
+ soundText: zod_1.z.string(),
188
+ soundVoicePitch: zod_1.z.number(), // 0.0-2.0
189
+ soundDelay: zod_1.z.number(), // 0-100
190
+ soundVolume: zod_1.z.number(), // 0.0-1.0
191
+ soundLoop: zod_1.z.boolean(),
192
+ soundRate: zod_1.z.number(), // 0.1-10
193
+ });
194
+ exports.AudioFileAlert = zod_1.z.object({
195
+ soundEffect: zod_1.z.literal('audioFile'),
196
+ soundUrl: zod_1.z.string(),
197
+ soundAudioVolume: zod_1.z.number(), // 0.0-1.0
198
+ soundLoop: zod_1.z.boolean(),
199
+ });
200
+ exports.AlertRequestParams = zod_1.z.object({
201
+ id: zod_1.z.string(),
202
+ source: zod_1.z.string(),
203
+ icon: zod_1.z.string().nullable().optional(),
204
+ message: zod_1.z.string().nullable().optional(),
205
+ color: zod_1.z.string().nullable().optional(),
206
+ background: zod_1.z.string().nullable().optional(),
207
+ title: zod_1.z.string().nullable().optional(),
208
+ timeout: zod_1.z.number().nullable().optional(),
209
+ animation: zod_1.z.string().nullable().optional(),
210
+ timeoutUnit: zod_1.z.string().nullable().optional(),
211
+ sound: zod_1.z.string(),
212
+ schedule: zod_1.z.string(),
213
+ soundLoop: zod_1.z.string(),
214
+ soundEffect: zod_1.z.string(),
215
+ soundPitch: zod_1.z.string(),
216
+ soundVoicePitch: zod_1.z.string(),
217
+ soundVolume: zod_1.z.string(),
218
+ soundAudioVolume: zod_1.z.string(),
219
+ soundDelay: zod_1.z.string(),
220
+ soundDuration: zod_1.z.string(),
221
+ soundVoice: zod_1.z.string(),
222
+ soundRate: zod_1.z.string(),
223
+ soundText: zod_1.z.string(),
224
+ soundUrl: zod_1.z.string(),
225
+ startTime: zod_utils_1.zodDate.nullable().optional(),
226
+ endTime: zod_utils_1.zodDate.nullable().optional(),
227
+ });
@@ -25,11 +25,11 @@ export declare const RequestBody: z.ZodOptional<z.ZodObject<{
25
25
  projectId: z.ZodOptional<z.ZodString>;
26
26
  projectIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
27
27
  }, "strip", z.ZodTypeAny, {
28
- ids?: string[] | undefined;
29
28
  projectId?: string | undefined;
29
+ ids?: string[] | undefined;
30
30
  projectIds?: string[] | undefined;
31
31
  }, {
32
- ids?: string[] | undefined;
33
32
  projectId?: string | undefined;
33
+ ids?: string[] | undefined;
34
34
  projectIds?: string[] | undefined;
35
35
  }>>;