api-arreya-types 1.0.52 → 1.0.54

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,266 @@
1
+ import { z } from 'zod';
2
+ export declare const Alert: z.ZodObject<{
3
+ id: z.ZodString;
4
+ projectId: z.ZodString;
5
+ title: z.ZodString;
6
+ message: z.ZodString;
7
+ createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
8
+ updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
9
+ }, "strip", z.ZodTypeAny, {
10
+ message: string;
11
+ id: string;
12
+ projectId: string;
13
+ title: string;
14
+ createdAt: Date;
15
+ updatedAt: Date;
16
+ }, {
17
+ message: string;
18
+ id: string;
19
+ projectId: string;
20
+ title: string;
21
+ createdAt: string | Date;
22
+ updatedAt: string | Date;
23
+ }>;
24
+ export declare const BeepAlert: z.ZodObject<{
25
+ soundEffect: z.ZodLiteral<"beep">;
26
+ soundPitch: z.ZodNumber;
27
+ soundDelay: z.ZodNumber;
28
+ soundVolume: z.ZodNumber;
29
+ soundLoop: z.ZodBoolean;
30
+ }, "strip", z.ZodTypeAny, {
31
+ soundEffect: "beep";
32
+ soundPitch: number;
33
+ soundDelay: number;
34
+ soundVolume: number;
35
+ soundLoop: boolean;
36
+ }, {
37
+ soundEffect: "beep";
38
+ soundPitch: number;
39
+ soundDelay: number;
40
+ soundVolume: number;
41
+ soundLoop: boolean;
42
+ }>;
43
+ export declare const TapAlert: z.ZodObject<{
44
+ soundEffect: z.ZodLiteral<"tap">;
45
+ soundPitch: z.ZodNumber;
46
+ soundDelay: z.ZodNumber;
47
+ soundVolume: z.ZodNumber;
48
+ soundLoop: z.ZodBoolean;
49
+ }, "strip", z.ZodTypeAny, {
50
+ soundEffect: "tap";
51
+ soundPitch: number;
52
+ soundDelay: number;
53
+ soundVolume: number;
54
+ soundLoop: boolean;
55
+ }, {
56
+ soundEffect: "tap";
57
+ soundPitch: number;
58
+ soundDelay: number;
59
+ soundVolume: number;
60
+ soundLoop: boolean;
61
+ }>;
62
+ export declare const ClickAlert: z.ZodObject<{
63
+ soundEffect: z.ZodLiteral<"click">;
64
+ soundPitch: z.ZodNumber;
65
+ soundDelay: z.ZodNumber;
66
+ soundVolume: z.ZodNumber;
67
+ soundLoop: z.ZodBoolean;
68
+ }, "strip", z.ZodTypeAny, {
69
+ soundEffect: "click";
70
+ soundPitch: number;
71
+ soundDelay: number;
72
+ soundVolume: number;
73
+ soundLoop: boolean;
74
+ }, {
75
+ soundEffect: "click";
76
+ soundPitch: number;
77
+ soundDelay: number;
78
+ soundVolume: number;
79
+ soundLoop: boolean;
80
+ }>;
81
+ export declare const FireAlert: z.ZodObject<{
82
+ soundEffect: z.ZodLiteral<"fire">;
83
+ soundPitch: z.ZodNumber;
84
+ soundDelay: z.ZodNumber;
85
+ soundVolume: z.ZodNumber;
86
+ soundLoop: z.ZodBoolean;
87
+ }, "strip", z.ZodTypeAny, {
88
+ soundEffect: "fire";
89
+ soundPitch: number;
90
+ soundDelay: number;
91
+ soundVolume: number;
92
+ soundLoop: boolean;
93
+ }, {
94
+ soundEffect: "fire";
95
+ soundPitch: number;
96
+ soundDelay: number;
97
+ soundVolume: number;
98
+ soundLoop: boolean;
99
+ }>;
100
+ export declare const IntermittentToneAlert: z.ZodObject<{
101
+ soundEffect: z.ZodLiteral<"intermittentTone">;
102
+ soundPitch: z.ZodNumber;
103
+ soundDelay: z.ZodNumber;
104
+ soundVolume: z.ZodNumber;
105
+ soundLoop: z.ZodBoolean;
106
+ }, "strip", z.ZodTypeAny, {
107
+ soundEffect: "intermittentTone";
108
+ soundPitch: number;
109
+ soundDelay: number;
110
+ soundVolume: number;
111
+ soundLoop: boolean;
112
+ }, {
113
+ soundEffect: "intermittentTone";
114
+ soundPitch: number;
115
+ soundDelay: number;
116
+ soundVolume: number;
117
+ soundLoop: boolean;
118
+ }>;
119
+ export declare const ContinuousToneAlert: z.ZodObject<{
120
+ soundEffect: z.ZodLiteral<"continuousTone">;
121
+ soundPitch: z.ZodNumber;
122
+ soundDelay: z.ZodNumber;
123
+ soundVolume: z.ZodNumber;
124
+ soundLoop: z.ZodBoolean;
125
+ soundDuration: z.ZodNumber;
126
+ timeout: z.ZodNumber;
127
+ }, "strip", z.ZodTypeAny, {
128
+ soundEffect: "continuousTone";
129
+ soundPitch: number;
130
+ soundDelay: number;
131
+ soundVolume: number;
132
+ soundLoop: boolean;
133
+ soundDuration: number;
134
+ timeout: number;
135
+ }, {
136
+ soundEffect: "continuousTone";
137
+ soundPitch: number;
138
+ soundDelay: number;
139
+ soundVolume: number;
140
+ soundLoop: boolean;
141
+ soundDuration: number;
142
+ timeout: number;
143
+ }>;
144
+ export declare const SpeechAlert: z.ZodObject<{
145
+ soundEffect: z.ZodLiteral<"speech">;
146
+ soundText: z.ZodString;
147
+ soundVoicePitch: z.ZodNumber;
148
+ soundDelay: z.ZodNumber;
149
+ soundVolume: z.ZodNumber;
150
+ soundLoop: z.ZodBoolean;
151
+ soundRate: z.ZodNumber;
152
+ }, "strip", z.ZodTypeAny, {
153
+ soundEffect: "speech";
154
+ soundDelay: number;
155
+ soundVolume: number;
156
+ soundLoop: boolean;
157
+ soundText: string;
158
+ soundVoicePitch: number;
159
+ soundRate: number;
160
+ }, {
161
+ soundEffect: "speech";
162
+ soundDelay: number;
163
+ soundVolume: number;
164
+ soundLoop: boolean;
165
+ soundText: string;
166
+ soundVoicePitch: number;
167
+ soundRate: number;
168
+ }>;
169
+ export declare const AudioFileAlert: z.ZodObject<{
170
+ soundEffect: z.ZodLiteral<"audioFile">;
171
+ soundUrl: z.ZodString;
172
+ soundAudioVolume: z.ZodNumber;
173
+ soundLoop: z.ZodBoolean;
174
+ }, "strip", z.ZodTypeAny, {
175
+ soundEffect: "audioFile";
176
+ soundLoop: boolean;
177
+ soundUrl: string;
178
+ soundAudioVolume: number;
179
+ }, {
180
+ soundEffect: "audioFile";
181
+ soundLoop: boolean;
182
+ soundUrl: string;
183
+ soundAudioVolume: number;
184
+ }>;
185
+ export declare const AlertRequestParams: z.ZodObject<{
186
+ id: z.ZodString;
187
+ source: z.ZodLiteral<"api">;
188
+ icon: z.ZodOptional<z.ZodNullable<z.ZodString>>;
189
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
190
+ color: z.ZodOptional<z.ZodNullable<z.ZodString>>;
191
+ background: z.ZodOptional<z.ZodNullable<z.ZodString>>;
192
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
193
+ timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
194
+ animation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
195
+ timeoutUnit: z.ZodOptional<z.ZodNullable<z.ZodString>>;
196
+ sound: z.ZodString;
197
+ schedule: z.ZodString;
198
+ soundLoop: z.ZodString;
199
+ soundEffect: z.ZodString;
200
+ soundPitch: z.ZodString;
201
+ soundVoicePitch: z.ZodString;
202
+ soundVolume: z.ZodString;
203
+ soundAudioVolume: z.ZodString;
204
+ soundDelay: z.ZodString;
205
+ soundDuration: z.ZodString;
206
+ soundVoice: z.ZodString;
207
+ soundRate: z.ZodString;
208
+ soundText: z.ZodString;
209
+ soundUrl: z.ZodString;
210
+ startTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>>;
211
+ endTime: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>>>;
212
+ }, "strip", z.ZodTypeAny, {
213
+ id: string;
214
+ soundEffect: string;
215
+ soundPitch: string;
216
+ soundDelay: string;
217
+ soundVolume: string;
218
+ soundLoop: string;
219
+ soundDuration: string;
220
+ soundText: string;
221
+ soundVoicePitch: string;
222
+ soundRate: string;
223
+ soundUrl: string;
224
+ soundAudioVolume: string;
225
+ source: "api";
226
+ sound: string;
227
+ schedule: string;
228
+ soundVoice: string;
229
+ message?: string | null | undefined;
230
+ title?: string | null | undefined;
231
+ timeout?: number | null | undefined;
232
+ icon?: string | null | undefined;
233
+ color?: string | null | undefined;
234
+ background?: string | null | undefined;
235
+ animation?: string | null | undefined;
236
+ timeoutUnit?: string | null | undefined;
237
+ startTime?: Date | null | undefined;
238
+ endTime?: Date | null | undefined;
239
+ }, {
240
+ id: string;
241
+ soundEffect: string;
242
+ soundPitch: string;
243
+ soundDelay: string;
244
+ soundVolume: string;
245
+ soundLoop: string;
246
+ soundDuration: string;
247
+ soundText: string;
248
+ soundVoicePitch: string;
249
+ soundRate: string;
250
+ soundUrl: string;
251
+ soundAudioVolume: string;
252
+ source: "api";
253
+ sound: string;
254
+ schedule: string;
255
+ soundVoice: string;
256
+ message?: string | null | undefined;
257
+ title?: string | null | undefined;
258
+ timeout?: number | null | undefined;
259
+ icon?: string | null | undefined;
260
+ color?: string | null | undefined;
261
+ background?: string | null | undefined;
262
+ animation?: string | null | undefined;
263
+ timeoutUnit?: string | null | undefined;
264
+ startTime?: string | Date | null | undefined;
265
+ endTime?: string | Date | null | undefined;
266
+ }>;
@@ -0,0 +1,234 @@
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.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
+ title: zod_1.z.string(),
10
+ message: zod_1.z.string(),
11
+ createdAt: zod_utils_1.zodDate,
12
+ updatedAt: zod_utils_1.zodDate,
13
+ });
14
+ var sounds = [
15
+ 'beep',
16
+ 'tap',
17
+ 'click',
18
+ 'fire',
19
+ 'intermittentTone',
20
+ 'continuousTone',
21
+ 'speech',
22
+ 'audioFile',
23
+ ];
24
+ // Legacy alert request params
25
+ var animations = [
26
+ 'bounce',
27
+ 'flash',
28
+ 'pulse',
29
+ 'rubberBand',
30
+ 'shakeX',
31
+ 'shakeY',
32
+ 'headShake',
33
+ 'swing',
34
+ 'tada',
35
+ 'wobble',
36
+ 'jello',
37
+ 'heartBeat',
38
+ 'backInDown',
39
+ 'backInLeft',
40
+ 'backInRight',
41
+ 'backInUp',
42
+ 'backOutDown',
43
+ 'backOutLeft',
44
+ 'backOutRight',
45
+ 'backOutUp',
46
+ 'bounceIn',
47
+ 'bounceInDown',
48
+ 'bounceInLeft',
49
+ 'bounceInRight',
50
+ 'bounceInUp',
51
+ 'bounceOut',
52
+ 'bounceOutDown',
53
+ 'bounceOutLeft',
54
+ 'bounceOutRight',
55
+ 'bounceOutUp',
56
+ 'fadeIn',
57
+ 'fadeInDown',
58
+ 'fadeInDownBig',
59
+ 'fadeInLeft',
60
+ 'fadeInLeftBig',
61
+ 'fadeInRight',
62
+ 'fadeInRightBig',
63
+ 'fadeInUp',
64
+ 'fadeInUpBig',
65
+ 'fadeInTopLeft',
66
+ 'fadeInTopRight',
67
+ 'fadeInBottomLeft',
68
+ 'fadeInBottomRight',
69
+ 'fadeOut',
70
+ 'fadeOutDown',
71
+ 'fadeOutDownBig',
72
+ 'fadeOutLeft',
73
+ 'fadeOutLeftBig',
74
+ 'fadeOutRight',
75
+ 'fadeOutRightBig',
76
+ 'fadeOutUp',
77
+ 'fadeOutUpBig',
78
+ 'fadeOutTopLeft',
79
+ 'fadeOutTopRight',
80
+ 'fadeOutBottomRight',
81
+ 'fadeOutBottomLeft',
82
+ 'flip',
83
+ 'flipInX',
84
+ 'flipInY',
85
+ 'flipOutX',
86
+ 'flipOutY',
87
+ 'lightSpeedInRight',
88
+ 'lightSpeedInLeft',
89
+ 'lightSpeedOutRight',
90
+ 'lightSpeedOutLeft',
91
+ 'rotateIn',
92
+ 'rotateInDownLeft',
93
+ 'rotateInDownRight',
94
+ 'rotateInUpLeft',
95
+ 'rotateInUpRight',
96
+ 'rotateOut',
97
+ 'rotateOutDownLeft',
98
+ 'rotateOutDownRight',
99
+ 'rotateOutUpLeft',
100
+ 'rotateOutUpRight',
101
+ 'hinge',
102
+ 'jackInTheBox',
103
+ 'rollIn',
104
+ 'rollOut',
105
+ 'zoomIn',
106
+ 'zoomInDown',
107
+ 'zoomInLeft',
108
+ 'zoomInRight',
109
+ 'zoomInUp',
110
+ 'zoomOut',
111
+ 'zoomOutDown',
112
+ 'zoomOutLeft',
113
+ 'zoomOutRight',
114
+ 'zoomOutUp',
115
+ 'slideInDown',
116
+ 'slideInLeft',
117
+ 'slideInRight',
118
+ 'slideInUp',
119
+ 'slideOutDown',
120
+ 'slideOutLeft',
121
+ 'slideOutRight',
122
+ 'slideOutUp',
123
+ ];
124
+ exports.BeepAlert = zod_1.z.object({
125
+ soundEffect: zod_1.z.literal('beep'),
126
+ soundPitch: zod_1.z.number(), // 0-10000
127
+ soundDelay: zod_1.z.number(), // 0-100
128
+ soundVolume: zod_1.z.number(), // 0.0-1.0
129
+ soundLoop: zod_1.z.boolean(),
130
+ });
131
+ exports.TapAlert = zod_1.z.object({
132
+ soundEffect: zod_1.z.literal('tap'),
133
+ soundPitch: zod_1.z.number(), // 0-10000
134
+ soundDelay: zod_1.z.number(), // 0-100
135
+ soundVolume: zod_1.z.number(), // 0.0-1.0
136
+ soundLoop: zod_1.z.boolean(),
137
+ });
138
+ exports.ClickAlert = zod_1.z.object({
139
+ soundEffect: zod_1.z.literal('click'),
140
+ soundPitch: zod_1.z.number(), // 0-10000
141
+ soundDelay: zod_1.z.number(), // 0-100
142
+ soundVolume: zod_1.z.number(), // 0.0-1.0
143
+ soundLoop: zod_1.z.boolean(),
144
+ });
145
+ exports.FireAlert = zod_1.z.object({
146
+ soundEffect: zod_1.z.literal('fire'),
147
+ soundPitch: zod_1.z.number(), // 0-10000
148
+ soundDelay: zod_1.z.number(), // 0-100
149
+ soundVolume: zod_1.z.number(), // 0.0-1.0
150
+ soundLoop: zod_1.z.boolean(),
151
+ });
152
+ exports.IntermittentToneAlert = zod_1.z.object({
153
+ soundEffect: zod_1.z.literal('intermittentTone'),
154
+ soundPitch: zod_1.z.number(), // 0-10000
155
+ soundDelay: zod_1.z.number(), // 0-100
156
+ soundVolume: zod_1.z.number(), // 0.0-1.0
157
+ soundLoop: zod_1.z.boolean(),
158
+ });
159
+ exports.ContinuousToneAlert = zod_1.z.object({
160
+ soundEffect: zod_1.z.literal('continuousTone'),
161
+ soundPitch: zod_1.z.number(), // 0-10000
162
+ soundDelay: zod_1.z.number(), // 0-100
163
+ soundVolume: zod_1.z.number(), // 0.0-1.0
164
+ soundLoop: zod_1.z.boolean(),
165
+ soundDuration: zod_1.z.number(), // 0-100 // 0 = infinite
166
+ timeout: zod_1.z.number(),
167
+ });
168
+ exports.SpeechAlert = zod_1.z.object({
169
+ soundEffect: zod_1.z.literal('speech'),
170
+ soundText: zod_1.z.string(),
171
+ soundVoicePitch: zod_1.z.number(), // 0.0-2.0
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
+ soundRate: zod_1.z.number(), // 0.1-10
176
+ });
177
+ exports.AudioFileAlert = zod_1.z.object({
178
+ soundEffect: zod_1.z.literal('audioFile'),
179
+ soundUrl: zod_1.z.string(),
180
+ soundAudioVolume: zod_1.z.number(), // 0.0-1.0
181
+ soundLoop: zod_1.z.boolean(),
182
+ });
183
+ exports.AlertRequestParams = zod_1.z.object({
184
+ id: zod_1.z.string(),
185
+ source: zod_1.z.literal('api'),
186
+ icon: zod_1.z.string().nullable().optional(),
187
+ message: zod_1.z.string().nullable().optional(),
188
+ color: zod_1.z.string().nullable().optional(),
189
+ background: zod_1.z.string().nullable().optional(),
190
+ title: zod_1.z.string().nullable().optional(),
191
+ timeout: zod_1.z.number().nullable().optional(),
192
+ animation: zod_1.z.string().nullable().optional(),
193
+ timeoutUnit: zod_1.z.string().nullable().optional(),
194
+ sound: zod_1.z.string(),
195
+ schedule: zod_1.z.string(),
196
+ soundLoop: zod_1.z.string(),
197
+ soundEffect: zod_1.z.string(),
198
+ soundPitch: zod_1.z.string(),
199
+ soundVoicePitch: zod_1.z.string(),
200
+ soundVolume: zod_1.z.string(),
201
+ soundAudioVolume: zod_1.z.string(),
202
+ soundDelay: zod_1.z.string(),
203
+ soundDuration: zod_1.z.string(),
204
+ soundVoice: zod_1.z.string(),
205
+ soundRate: zod_1.z.string(),
206
+ soundText: zod_1.z.string(),
207
+ soundUrl: zod_1.z.string(),
208
+ startTime: zod_utils_1.zodDate.nullable().optional(),
209
+ endTime: zod_utils_1.zodDate.nullable().optional(),
210
+ // message.icon = req.param('icon'); // 'phone'
211
+ // message.message = req.param('message'); // 'MOORE AHSLEY (13199291968)'
212
+ // message.color = req.param('color'); // '#32a852'
213
+ // message.background = req.param('background');
214
+ // message.title = req.param('title'); // 'Incoming Call'
215
+ // message.timeout = req.param('timeout'); // 10
216
+ // message.animation = req.param('animation');
217
+ // message.timeoutUnit = req.param('timeoutUnit');
218
+ // // message.sound = req.param('sound');
219
+ // message.schedule = req.param('schedule');
220
+ // message.soundLoop = req.param('soundLoop');
221
+ // message.soundEffect = req.param('soundEffect');
222
+ // message.soundPitch = req.param('soundPitch');
223
+ // message.soundVoicePitch = req.param('soundVoicePitch');
224
+ // message.soundVolume = req.param('soundVolume');
225
+ // message.soundAudioVolume = req.param('soundAudioVolume');
226
+ // message.soundDelay = req.param('soundDelay');
227
+ // message.soundDuration = req.param('soundDuration');
228
+ // message.soundVoice = req.param('soundVoice');
229
+ // message.soundRate = req.param('soundRate');
230
+ // message.soundText = req.param('soundText');
231
+ // message.soundUrl = req.param('soundUrl');
232
+ // message.startTime = decodeURIComponent(req.param('startTime'));
233
+ // message.endTime = decodeURIComponent(req.param('endTime'));
234
+ });
@@ -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
  }>>;
@@ -13,9 +13,9 @@ export declare const Device: z.ZodObject<{
13
13
  code: string | null;
14
14
  id: string;
15
15
  projectId: string | null;
16
- name: string | null;
17
16
  createdAt: Date;
18
17
  updatedAt: Date;
18
+ name: string | null;
19
19
  ip: string;
20
20
  userAgent: string;
21
21
  online: boolean;
@@ -23,9 +23,9 @@ export declare const Device: z.ZodObject<{
23
23
  code: string | null;
24
24
  id: string;
25
25
  projectId: string | null;
26
- name: string | null;
27
26
  createdAt: string | Date;
28
27
  updatedAt: string | Date;
28
+ name: string | null;
29
29
  ip: string;
30
30
  userAgent: string;
31
31
  online: boolean;
@@ -50,59 +50,59 @@ export declare const DeviceExtended: z.ZodObject<z.objectUtil.extendShape<{
50
50
  createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
51
51
  updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
52
52
  }, "strip", z.ZodTypeAny, {
53
- organizationId: string;
54
53
  status: string;
55
54
  id: string;
56
- name: string;
57
- private: boolean;
58
55
  createdAt: Date;
59
56
  updatedAt: Date;
60
- }, {
61
57
  organizationId: string;
62
- status: string;
63
- id: string;
64
58
  name: string;
65
59
  private: boolean;
60
+ }, {
61
+ status: string;
62
+ id: string;
66
63
  createdAt: string | Date;
67
64
  updatedAt: string | Date;
65
+ organizationId: string;
66
+ name: string;
67
+ private: boolean;
68
68
  }>>;
69
69
  }>, "strip", z.ZodTypeAny, {
70
70
  code: string | null;
71
71
  id: string;
72
72
  projectId: string | null;
73
- name: string | null;
74
73
  createdAt: Date;
75
74
  updatedAt: Date;
75
+ name: string | null;
76
76
  ip: string;
77
77
  userAgent: string;
78
78
  online: boolean;
79
79
  project: {
80
- organizationId: string;
81
80
  status: string;
82
81
  id: string;
83
- name: string;
84
- private: boolean;
85
82
  createdAt: Date;
86
83
  updatedAt: Date;
84
+ organizationId: string;
85
+ name: string;
86
+ private: boolean;
87
87
  } | null;
88
88
  }, {
89
89
  code: string | null;
90
90
  id: string;
91
91
  projectId: string | null;
92
- name: string | null;
93
92
  createdAt: string | Date;
94
93
  updatedAt: string | Date;
94
+ name: string | null;
95
95
  ip: string;
96
96
  userAgent: string;
97
97
  online: boolean;
98
98
  project: {
99
- organizationId: string;
100
99
  status: string;
101
100
  id: string;
102
- name: string;
103
- private: boolean;
104
101
  createdAt: string | Date;
105
102
  updatedAt: string | Date;
103
+ organizationId: string;
104
+ name: string;
105
+ private: boolean;
106
106
  } | null;
107
107
  }>;
108
108
  export declare const CreateDevice: z.ZodObject<{
@@ -190,11 +190,11 @@ export declare const MoveDevicesRequestBody: z.ZodObject<{
190
190
  ids: z.ZodArray<z.ZodString, "many">;
191
191
  projectId: z.ZodString;
192
192
  }, "strip", z.ZodTypeAny, {
193
- ids: string[];
194
193
  projectId: string;
195
- }, {
196
194
  ids: string[];
195
+ }, {
197
196
  projectId: string;
197
+ ids: string[];
198
198
  }>;
199
199
  export type MoveDevicesRequestBody = z.infer<typeof MoveDevicesRequestBody>;
200
200
  export declare const CreateDeviceRequestBody: z.ZodObject<{
@@ -16,11 +16,11 @@ export declare const File: z.ZodObject<{
16
16
  createdAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
17
17
  updatedAt: z.ZodUnion<[z.ZodDate, z.ZodEffects<z.ZodString, Date, string>]>;
18
18
  }, "strip", z.ZodTypeAny, {
19
- organizationId: string;
20
19
  id: string;
21
- name: string;
22
20
  createdAt: Date;
23
21
  updatedAt: Date;
22
+ organizationId: string;
23
+ name: string;
24
24
  mimetype: string;
25
25
  mediatype: string;
26
26
  size: number;
@@ -32,11 +32,11 @@ export declare const File: z.ZodObject<{
32
32
  hd: string | null;
33
33
  folderId: string;
34
34
  }, {
35
- organizationId: string;
36
35
  id: string;
37
- name: string;
38
36
  createdAt: string | Date;
39
37
  updatedAt: string | Date;
38
+ organizationId: string;
39
+ name: string;
40
40
  mimetype: string;
41
41
  mediatype: string;
42
42
  size: number;
@@ -63,8 +63,8 @@ export declare const CreateFile: z.ZodObject<{
63
63
  hd: z.ZodDefault<z.ZodNullable<z.ZodString>>;
64
64
  folderId: z.ZodString;
65
65
  }, "strip", z.ZodTypeAny, {
66
- organizationId: string;
67
66
  id: string;
67
+ organizationId: string;
68
68
  name: string;
69
69
  mimetype: string;
70
70
  mediatype: string;
@@ -77,8 +77,8 @@ export declare const CreateFile: z.ZodObject<{
77
77
  hd: string | null;
78
78
  folderId: string;
79
79
  }, {
80
- organizationId: string;
81
80
  id: string;
81
+ organizationId: string;
82
82
  name: string;
83
83
  mimetype: string;
84
84
  mediatype: string;
@@ -177,8 +177,8 @@ export declare const CreateFilesRequestBody: z.ZodObject<{
177
177
  hd: z.ZodDefault<z.ZodNullable<z.ZodString>>;
178
178
  folderId: z.ZodString;
179
179
  }, "strip", z.ZodTypeAny, {
180
- organizationId: string;
181
180
  id: string;
181
+ organizationId: string;
182
182
  name: string;
183
183
  mimetype: string;
184
184
  mediatype: string;
@@ -191,8 +191,8 @@ export declare const CreateFilesRequestBody: z.ZodObject<{
191
191
  hd: string | null;
192
192
  folderId: string;
193
193
  }, {
194
- organizationId: string;
195
194
  id: string;
195
+ organizationId: string;
196
196
  name: string;
197
197
  mimetype: string;
198
198
  mediatype: string;
@@ -207,8 +207,8 @@ export declare const CreateFilesRequestBody: z.ZodObject<{
207
207
  }>, "many">;
208
208
  }, "strip", z.ZodTypeAny, {
209
209
  files: {
210
- organizationId: string;
211
210
  id: string;
211
+ organizationId: string;
212
212
  name: string;
213
213
  mimetype: string;
214
214
  mediatype: string;
@@ -223,8 +223,8 @@ export declare const CreateFilesRequestBody: z.ZodObject<{
223
223
  }[];
224
224
  }, {
225
225
  files: {
226
- organizationId: string;
227
226
  id: string;
227
+ organizationId: string;
228
228
  name: string;
229
229
  mimetype: string;
230
230
  mediatype: string;