@awarevue/api-types 1.0.107 → 1.0.109

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.
Files changed (37) hide show
  1. package/dist/access-control/person-presence.d.ts +4 -4
  2. package/dist/agent-communication/protocol.d.ts +49 -28
  3. package/dist/agent-communication/queries.d.ts +6 -6
  4. package/dist/bookmarks.d.ts +10 -10
  5. package/dist/device/alarm.d.ts +317 -54
  6. package/dist/device/alarm.js +59 -1
  7. package/dist/device/any-device.d.ts +39 -0
  8. package/dist/device/camera-lift.d.ts +44 -8
  9. package/dist/device/camera-lift.js +14 -1
  10. package/dist/device/camera.d.ts +449 -40
  11. package/dist/device/camera.js +89 -1
  12. package/dist/device/display.d.ts +416 -9
  13. package/dist/device/display.js +34 -1
  14. package/dist/device/door.d.ts +102 -17
  15. package/dist/device/door.js +30 -2
  16. package/dist/device/intercom-terminal.d.ts +2 -2
  17. package/dist/device/io-board.d.ts +49 -3
  18. package/dist/device/io-board.js +12 -1
  19. package/dist/device/pbx.d.ts +69 -5
  20. package/dist/device/pbx.js +14 -1
  21. package/dist/device/presence-tracker.d.ts +164 -21
  22. package/dist/device/presence-tracker.js +32 -3
  23. package/dist/device/server.d.ts +44 -7
  24. package/dist/device/server.js +13 -1
  25. package/dist/device-command.d.ts +741 -0
  26. package/dist/device-command.js +20 -2
  27. package/dist/device-event.d.ts +20 -20
  28. package/dist/device-import.d.ts +76 -0
  29. package/dist/macros.d.ts +14 -14
  30. package/dist/messages/device-communication.d.ts +10 -10
  31. package/dist/package.json +1 -1
  32. package/dist/permissions.d.ts +3 -3
  33. package/dist/permissions.js +1 -2
  34. package/dist/primitives.d.ts +9 -0
  35. package/dist/primitives.js +13 -0
  36. package/dist/user.d.ts +12 -12
  37. package/package.json +1 -1
@@ -149,7 +149,6 @@ export declare const sPersonPresenceActionDto: z.ZodObject<{
149
149
  checkCompleted: z.ZodBoolean;
150
150
  }, "strip", z.ZodTypeAny, {
151
151
  id: string;
152
- timestamp: number;
153
152
  person: string | {
154
153
  id: string;
155
154
  firstName: string;
@@ -162,12 +161,12 @@ export declare const sPersonPresenceActionDto: z.ZodObject<{
162
161
  displayName: string;
163
162
  isGlobal: boolean;
164
163
  };
165
- isLeave: boolean;
164
+ timestamp: number;
166
165
  checkInOrOut: boolean;
166
+ isLeave: boolean;
167
167
  checkCompleted: boolean;
168
168
  }, {
169
169
  id: string;
170
- timestamp: number;
171
170
  person: string | {
172
171
  id: string;
173
172
  firstName: string;
@@ -180,8 +179,9 @@ export declare const sPersonPresenceActionDto: z.ZodObject<{
180
179
  displayName: string;
181
180
  isGlobal: boolean;
182
181
  };
183
- isLeave: boolean;
182
+ timestamp: number;
184
183
  checkInOrOut: boolean;
184
+ isLeave: boolean;
185
185
  checkCompleted: boolean;
186
186
  }>;
187
187
  export type PersonPresenceActionDto = z.infer<typeof sPersonPresenceActionDto>;
@@ -85,14 +85,14 @@ export declare const sUiWidgetHint: z.ZodObject<{
85
85
  }, "strip", z.ZodTypeAny, {
86
86
  path: string;
87
87
  kind: "widget";
88
- spanColumns?: number | undefined;
89
88
  password?: boolean | undefined;
89
+ spanColumns?: number | undefined;
90
90
  placeHolder?: string | undefined;
91
91
  }, {
92
92
  path: string;
93
93
  kind: "widget";
94
- spanColumns?: number | undefined;
95
94
  password?: boolean | undefined;
95
+ spanColumns?: number | undefined;
96
96
  placeHolder?: string | undefined;
97
97
  }>;
98
98
  export declare const sUiHint: z.ZodUnion<[z.ZodObject<{
@@ -116,14 +116,14 @@ export declare const sUiHint: z.ZodUnion<[z.ZodObject<{
116
116
  }, "strip", z.ZodTypeAny, {
117
117
  path: string;
118
118
  kind: "widget";
119
- spanColumns?: number | undefined;
120
119
  password?: boolean | undefined;
120
+ spanColumns?: number | undefined;
121
121
  placeHolder?: string | undefined;
122
122
  }, {
123
123
  path: string;
124
124
  kind: "widget";
125
- spanColumns?: number | undefined;
126
125
  password?: boolean | undefined;
126
+ spanColumns?: number | undefined;
127
127
  placeHolder?: string | undefined;
128
128
  }>]>;
129
129
  export declare const sProviderSpecs: z.ZodObject<{
@@ -151,14 +151,14 @@ export declare const sProviderSpecs: z.ZodObject<{
151
151
  }, "strip", z.ZodTypeAny, {
152
152
  path: string;
153
153
  kind: "widget";
154
- spanColumns?: number | undefined;
155
154
  password?: boolean | undefined;
155
+ spanColumns?: number | undefined;
156
156
  placeHolder?: string | undefined;
157
157
  }, {
158
158
  path: string;
159
159
  kind: "widget";
160
- spanColumns?: number | undefined;
161
160
  password?: boolean | undefined;
161
+ spanColumns?: number | undefined;
162
162
  placeHolder?: string | undefined;
163
163
  }>]>, "many">>;
164
164
  }, "strip", z.ZodTypeAny, {
@@ -172,8 +172,8 @@ export declare const sProviderSpecs: z.ZodObject<{
172
172
  } | {
173
173
  path: string;
174
174
  kind: "widget";
175
- spanColumns?: number | undefined;
176
175
  password?: boolean | undefined;
176
+ spanColumns?: number | undefined;
177
177
  placeHolder?: string | undefined;
178
178
  })[] | undefined;
179
179
  }, {
@@ -187,8 +187,8 @@ export declare const sProviderSpecs: z.ZodObject<{
187
187
  } | {
188
188
  path: string;
189
189
  kind: "widget";
190
- spanColumns?: number | undefined;
191
190
  password?: boolean | undefined;
191
+ spanColumns?: number | undefined;
192
192
  placeHolder?: string | undefined;
193
193
  })[] | undefined;
194
194
  }>;
@@ -235,7 +235,7 @@ export declare const sAccessControlCapabilityReport: z.ZodObject<{
235
235
  formatDescription?: string | undefined;
236
236
  maxPerPerson?: number | undefined;
237
237
  }[];
238
- accessObjects: ("accessRule" | "schedule" | "person" | "device" | "zone")[];
238
+ accessObjects: ("person" | "zone" | "accessRule" | "schedule" | "device")[];
239
239
  oneSchedulePerDoor: boolean;
240
240
  }, {
241
241
  tokens: {
@@ -244,7 +244,7 @@ export declare const sAccessControlCapabilityReport: z.ZodObject<{
244
244
  formatDescription?: string | undefined;
245
245
  maxPerPerson?: number | undefined;
246
246
  }[];
247
- accessObjects: ("accessRule" | "schedule" | "person" | "device" | "zone")[];
247
+ accessObjects: ("person" | "zone" | "accessRule" | "schedule" | "device")[];
248
248
  oneSchedulePerDoor: boolean;
249
249
  }>;
250
250
  export declare const sRegisterRq: z.ZodObject<{
@@ -274,14 +274,14 @@ export declare const sRegisterRq: z.ZodObject<{
274
274
  }, "strip", z.ZodTypeAny, {
275
275
  path: string;
276
276
  kind: "widget";
277
- spanColumns?: number | undefined;
278
277
  password?: boolean | undefined;
278
+ spanColumns?: number | undefined;
279
279
  placeHolder?: string | undefined;
280
280
  }, {
281
281
  path: string;
282
282
  kind: "widget";
283
- spanColumns?: number | undefined;
284
283
  password?: boolean | undefined;
284
+ spanColumns?: number | undefined;
285
285
  placeHolder?: string | undefined;
286
286
  }>]>, "many">>;
287
287
  }, "strip", z.ZodTypeAny, {
@@ -295,8 +295,8 @@ export declare const sRegisterRq: z.ZodObject<{
295
295
  } | {
296
296
  path: string;
297
297
  kind: "widget";
298
- spanColumns?: number | undefined;
299
298
  password?: boolean | undefined;
299
+ spanColumns?: number | undefined;
300
300
  placeHolder?: string | undefined;
301
301
  })[] | undefined;
302
302
  }, {
@@ -310,8 +310,8 @@ export declare const sRegisterRq: z.ZodObject<{
310
310
  } | {
311
311
  path: string;
312
312
  kind: "widget";
313
- spanColumns?: number | undefined;
314
313
  password?: boolean | undefined;
314
+ spanColumns?: number | undefined;
315
315
  placeHolder?: string | undefined;
316
316
  })[] | undefined;
317
317
  }>>;
@@ -341,7 +341,7 @@ export declare const sRegisterRq: z.ZodObject<{
341
341
  formatDescription?: string | undefined;
342
342
  maxPerPerson?: number | undefined;
343
343
  }[];
344
- accessObjects: ("accessRule" | "schedule" | "person" | "device" | "zone")[];
344
+ accessObjects: ("person" | "zone" | "accessRule" | "schedule" | "device")[];
345
345
  oneSchedulePerDoor: boolean;
346
346
  }, {
347
347
  tokens: {
@@ -350,7 +350,7 @@ export declare const sRegisterRq: z.ZodObject<{
350
350
  formatDescription?: string | undefined;
351
351
  maxPerPerson?: number | undefined;
352
352
  }[];
353
- accessObjects: ("accessRule" | "schedule" | "person" | "device" | "zone")[];
353
+ accessObjects: ("person" | "zone" | "accessRule" | "schedule" | "device")[];
354
354
  oneSchedulePerDoor: boolean;
355
355
  }>>>;
356
356
  }, "strip", z.ZodTypeAny, {
@@ -366,8 +366,8 @@ export declare const sRegisterRq: z.ZodObject<{
366
366
  } | {
367
367
  path: string;
368
368
  kind: "widget";
369
- spanColumns?: number | undefined;
370
369
  password?: boolean | undefined;
370
+ spanColumns?: number | undefined;
371
371
  placeHolder?: string | undefined;
372
372
  })[] | undefined;
373
373
  }>;
@@ -378,7 +378,7 @@ export declare const sRegisterRq: z.ZodObject<{
378
378
  formatDescription?: string | undefined;
379
379
  maxPerPerson?: number | undefined;
380
380
  }[];
381
- accessObjects: ("accessRule" | "schedule" | "person" | "device" | "zone")[];
381
+ accessObjects: ("person" | "zone" | "accessRule" | "schedule" | "device")[];
382
382
  oneSchedulePerDoor: boolean;
383
383
  }> | undefined;
384
384
  }, {
@@ -394,8 +394,8 @@ export declare const sRegisterRq: z.ZodObject<{
394
394
  } | {
395
395
  path: string;
396
396
  kind: "widget";
397
- spanColumns?: number | undefined;
398
397
  password?: boolean | undefined;
398
+ spanColumns?: number | undefined;
399
399
  placeHolder?: string | undefined;
400
400
  })[] | undefined;
401
401
  }>;
@@ -406,7 +406,7 @@ export declare const sRegisterRq: z.ZodObject<{
406
406
  formatDescription?: string | undefined;
407
407
  maxPerPerson?: number | undefined;
408
408
  }[];
409
- accessObjects: ("accessRule" | "schedule" | "person" | "device" | "zone")[];
409
+ accessObjects: ("person" | "zone" | "accessRule" | "schedule" | "device")[];
410
410
  oneSchedulePerDoor: boolean;
411
411
  }> | undefined;
412
412
  }>;
@@ -559,6 +559,7 @@ export declare const sRunCommandRq: z.ZodObject<{
559
559
  batchId: z.ZodOptional<z.ZodString>;
560
560
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
561
561
  }, "strip", z.ZodTypeAny, {
562
+ command: string;
562
563
  kind: "command";
563
564
  device: {
564
565
  name: string;
@@ -568,10 +569,10 @@ export declare const sRunCommandRq: z.ZodObject<{
568
569
  [k: string]: unknown;
569
570
  };
570
571
  };
571
- command: string;
572
572
  params?: Record<string, unknown> | undefined;
573
573
  batchId?: string | undefined;
574
574
  }, {
575
+ command: string;
575
576
  kind: "command";
576
577
  device: {
577
578
  name: string;
@@ -581,7 +582,6 @@ export declare const sRunCommandRq: z.ZodObject<{
581
582
  [k: string]: unknown;
582
583
  };
583
584
  };
584
- command: string;
585
585
  params?: Record<string, unknown> | undefined;
586
586
  batchId?: string | undefined;
587
587
  }>;
@@ -775,11 +775,24 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
775
775
  } & Record<string, unknown>) | null;
776
776
  defaultStreamId: string;
777
777
  }>, z.ZodObject<{
778
+ canReportOpenState: z.ZodBoolean;
779
+ canReportLockState: z.ZodBoolean;
780
+ canControlLock: z.ZodBoolean;
781
+ canRelease: z.ZodBoolean;
782
+ } & {
778
783
  type: z.ZodLiteral<"door">;
779
784
  }, "strip", z.ZodTypeAny, {
780
785
  type: "door";
786
+ canReportOpenState: boolean;
787
+ canReportLockState: boolean;
788
+ canControlLock: boolean;
789
+ canRelease: boolean;
781
790
  }, {
782
791
  type: "door";
792
+ canReportOpenState: boolean;
793
+ canReportLockState: boolean;
794
+ canControlLock: boolean;
795
+ canRelease: boolean;
783
796
  }>, z.ZodObject<{
784
797
  inputs: z.ZodArray<z.ZodString, "many">;
785
798
  outputs: z.ZodArray<z.ZodString, "many">;
@@ -931,6 +944,10 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
931
944
  defaultStreamId: string;
932
945
  } | {
933
946
  type: "door";
947
+ canReportOpenState: boolean;
948
+ canReportLockState: boolean;
949
+ canControlLock: boolean;
950
+ canRelease: boolean;
934
951
  } | {
935
952
  type: "io-board";
936
953
  inputs: string[];
@@ -1005,6 +1022,10 @@ export declare const sGetAvailableDevicesRs: z.ZodIntersection<z.ZodObject<{
1005
1022
  defaultStreamId: string;
1006
1023
  } | {
1007
1024
  type: "door";
1025
+ canReportOpenState: boolean;
1026
+ canReportLockState: boolean;
1027
+ canControlLock: boolean;
1028
+ canRelease: boolean;
1008
1029
  } | {
1009
1030
  type: "io-board";
1010
1031
  inputs: string[];
@@ -6301,14 +6322,14 @@ export declare const sChangeIssue: z.ZodObject<{
6301
6322
  code?: "BAD_REFERENCE" | "NOT_FOUND" | "NOT_UNIQUE" | "INVALID" | "NOT_SUPPORTED" | undefined;
6302
6323
  message?: string | undefined;
6303
6324
  path?: string | undefined;
6304
- objectKind?: "accessRule" | "schedule" | "person" | "device" | "zone" | undefined;
6325
+ objectKind?: "person" | "zone" | "accessRule" | "schedule" | "device" | undefined;
6305
6326
  objectId?: string | undefined;
6306
6327
  }, {
6307
6328
  index?: number | undefined;
6308
6329
  code?: "BAD_REFERENCE" | "NOT_FOUND" | "NOT_UNIQUE" | "INVALID" | "NOT_SUPPORTED" | undefined;
6309
6330
  message?: string | undefined;
6310
6331
  path?: string | undefined;
6311
- objectKind?: "accessRule" | "schedule" | "person" | "device" | "zone" | undefined;
6332
+ objectKind?: "person" | "zone" | "accessRule" | "schedule" | "device" | undefined;
6312
6333
  objectId?: string | undefined;
6313
6334
  }>;
6314
6335
  export declare const sValidateChangeRs: z.ZodIntersection<z.ZodObject<{
@@ -6333,14 +6354,14 @@ export declare const sValidateChangeRs: z.ZodIntersection<z.ZodObject<{
6333
6354
  code?: "BAD_REFERENCE" | "NOT_FOUND" | "NOT_UNIQUE" | "INVALID" | "NOT_SUPPORTED" | undefined;
6334
6355
  message?: string | undefined;
6335
6356
  path?: string | undefined;
6336
- objectKind?: "accessRule" | "schedule" | "person" | "device" | "zone" | undefined;
6357
+ objectKind?: "person" | "zone" | "accessRule" | "schedule" | "device" | undefined;
6337
6358
  objectId?: string | undefined;
6338
6359
  }, {
6339
6360
  index?: number | undefined;
6340
6361
  code?: "BAD_REFERENCE" | "NOT_FOUND" | "NOT_UNIQUE" | "INVALID" | "NOT_SUPPORTED" | undefined;
6341
6362
  message?: string | undefined;
6342
6363
  path?: string | undefined;
6343
- objectKind?: "accessRule" | "schedule" | "person" | "device" | "zone" | undefined;
6364
+ objectKind?: "person" | "zone" | "accessRule" | "schedule" | "device" | undefined;
6344
6365
  objectId?: string | undefined;
6345
6366
  }>, "many">;
6346
6367
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -6349,7 +6370,7 @@ export declare const sValidateChangeRs: z.ZodIntersection<z.ZodObject<{
6349
6370
  code?: "BAD_REFERENCE" | "NOT_FOUND" | "NOT_UNIQUE" | "INVALID" | "NOT_SUPPORTED" | undefined;
6350
6371
  message?: string | undefined;
6351
6372
  path?: string | undefined;
6352
- objectKind?: "accessRule" | "schedule" | "person" | "device" | "zone" | undefined;
6373
+ objectKind?: "person" | "zone" | "accessRule" | "schedule" | "device" | undefined;
6353
6374
  objectId?: string | undefined;
6354
6375
  }[];
6355
6376
  }, {
@@ -6358,7 +6379,7 @@ export declare const sValidateChangeRs: z.ZodIntersection<z.ZodObject<{
6358
6379
  code?: "BAD_REFERENCE" | "NOT_FOUND" | "NOT_UNIQUE" | "INVALID" | "NOT_SUPPORTED" | undefined;
6359
6380
  message?: string | undefined;
6360
6381
  path?: string | undefined;
6361
- objectKind?: "accessRule" | "schedule" | "person" | "device" | "zone" | undefined;
6382
+ objectKind?: "person" | "zone" | "accessRule" | "schedule" | "device" | undefined;
6362
6383
  objectId?: string | undefined;
6363
6384
  }[];
6364
6385
  }>>;
@@ -112,18 +112,18 @@ export declare const sMediaSearchMatch: z.ZodObject<{
112
112
  }, "strip", z.ZodTypeAny, {
113
113
  endTime: number | null;
114
114
  startTime: number;
115
- providerAssignedRef: string;
116
115
  objectKind: string;
117
116
  probability: number;
117
+ providerAssignedRef: string;
118
118
  foreignRef: string;
119
119
  provider: string;
120
120
  relevance: number;
121
121
  }, {
122
122
  endTime: number | null;
123
123
  startTime: number;
124
- providerAssignedRef: string;
125
124
  objectKind: string;
126
125
  probability: number;
126
+ providerAssignedRef: string;
127
127
  foreignRef: string;
128
128
  provider: string;
129
129
  relevance: number;
@@ -140,18 +140,18 @@ export declare const sMediaSearchResponse: z.ZodArray<z.ZodObject<{
140
140
  }, "strip", z.ZodTypeAny, {
141
141
  endTime: number | null;
142
142
  startTime: number;
143
- providerAssignedRef: string;
144
143
  objectKind: string;
145
144
  probability: number;
145
+ providerAssignedRef: string;
146
146
  foreignRef: string;
147
147
  provider: string;
148
148
  relevance: number;
149
149
  }, {
150
150
  endTime: number | null;
151
151
  startTime: number;
152
- providerAssignedRef: string;
153
152
  objectKind: string;
154
153
  probability: number;
154
+ providerAssignedRef: string;
155
155
  foreignRef: string;
156
156
  provider: string;
157
157
  relevance: number;
@@ -327,18 +327,18 @@ export declare const responseSchemasByType: {
327
327
  }, "strip", z.ZodTypeAny, {
328
328
  endTime: number | null;
329
329
  startTime: number;
330
- providerAssignedRef: string;
331
330
  objectKind: string;
332
331
  probability: number;
332
+ providerAssignedRef: string;
333
333
  foreignRef: string;
334
334
  provider: string;
335
335
  relevance: number;
336
336
  }, {
337
337
  endTime: number | null;
338
338
  startTime: number;
339
- providerAssignedRef: string;
340
339
  objectKind: string;
341
340
  probability: number;
341
+ providerAssignedRef: string;
342
342
  foreignRef: string;
343
343
  provider: string;
344
344
  relevance: number;
@@ -7,13 +7,13 @@ export declare const sBookmarkProps: z.ZodObject<{
7
7
  }, "strip", z.ZodTypeAny, {
8
8
  label: string;
9
9
  metadata: Record<string, unknown>;
10
- timestamp: number;
11
10
  deviceId: string;
11
+ timestamp: number;
12
12
  }, {
13
13
  label: string;
14
14
  metadata: Record<string, unknown>;
15
- timestamp: number;
16
15
  deviceId: string;
16
+ timestamp: number;
17
17
  }>;
18
18
  export declare const sCreateBookmarkRq: z.ZodObject<{
19
19
  timestamp: z.ZodNumber;
@@ -23,13 +23,13 @@ export declare const sCreateBookmarkRq: z.ZodObject<{
23
23
  }, "strip", z.ZodTypeAny, {
24
24
  label: string;
25
25
  metadata: Record<string, unknown>;
26
- timestamp: number;
27
26
  deviceId: string;
27
+ timestamp: number;
28
28
  }, {
29
29
  label: string;
30
30
  metadata: Record<string, unknown>;
31
- timestamp: number;
32
31
  deviceId: string;
32
+ timestamp: number;
33
33
  }>;
34
34
  export declare const sUpdateBookmarkBody: z.ZodObject<{
35
35
  timestamp: z.ZodOptional<z.ZodNumber>;
@@ -39,13 +39,13 @@ export declare const sUpdateBookmarkBody: z.ZodObject<{
39
39
  }, "strip", z.ZodTypeAny, {
40
40
  label?: string | undefined;
41
41
  metadata?: Record<string, unknown> | undefined;
42
- timestamp?: number | undefined;
43
42
  deviceId?: string | undefined;
43
+ timestamp?: number | undefined;
44
44
  }, {
45
45
  label?: string | undefined;
46
46
  metadata?: Record<string, unknown> | undefined;
47
- timestamp?: number | undefined;
48
47
  deviceId?: string | undefined;
48
+ timestamp?: number | undefined;
49
49
  }>;
50
50
  export declare const sUpdateBookmarkRq: z.ZodIntersection<z.ZodObject<{
51
51
  id: z.ZodString;
@@ -61,13 +61,13 @@ export declare const sUpdateBookmarkRq: z.ZodIntersection<z.ZodObject<{
61
61
  }, "strip", z.ZodTypeAny, {
62
62
  label?: string | undefined;
63
63
  metadata?: Record<string, unknown> | undefined;
64
- timestamp?: number | undefined;
65
64
  deviceId?: string | undefined;
65
+ timestamp?: number | undefined;
66
66
  }, {
67
67
  label?: string | undefined;
68
68
  metadata?: Record<string, unknown> | undefined;
69
- timestamp?: number | undefined;
70
69
  deviceId?: string | undefined;
70
+ timestamp?: number | undefined;
71
71
  }>>;
72
72
  export declare const sDeleteBookmarkRq: z.ZodObject<{
73
73
  id: z.ZodString;
@@ -84,13 +84,13 @@ export declare const sBookmarkDto: z.ZodIntersection<z.ZodObject<{
84
84
  }, "strip", z.ZodTypeAny, {
85
85
  label: string;
86
86
  metadata: Record<string, unknown>;
87
- timestamp: number;
88
87
  deviceId: string;
88
+ timestamp: number;
89
89
  }, {
90
90
  label: string;
91
91
  metadata: Record<string, unknown>;
92
- timestamp: number;
93
92
  deviceId: string;
93
+ timestamp: number;
94
94
  }>, z.ZodObject<{
95
95
  id: z.ZodString;
96
96
  createdBy: z.ZodString;