@seamapi/types 1.1210.0 → 1.1212.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/lib/seam/connect/models/events/access-codes.d.ts +156 -156
- package/lib/seam/connect/models/events/access-grants.d.ts +42 -42
- package/lib/seam/connect/models/events/access-methods.d.ts +48 -48
- package/lib/seam/connect/models/events/acs/access-groups.d.ts +6 -6
- package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
- package/lib/seam/connect/models/events/acs/credentials.d.ts +24 -24
- package/lib/seam/connect/models/events/acs/encoders.d.ts +12 -12
- package/lib/seam/connect/models/events/acs/entrances.d.ts +12 -12
- package/lib/seam/connect/models/events/acs/index.d.ts +42 -42
- package/lib/seam/connect/models/events/acs/systems.d.ts +18 -18
- package/lib/seam/connect/models/events/acs/users.d.ts +12 -12
- package/lib/seam/connect/models/events/action-attempts.d.ts +48 -48
- package/lib/seam/connect/models/events/client-sessions.d.ts +6 -6
- package/lib/seam/connect/models/events/common.d.ts +3 -3
- package/lib/seam/connect/models/events/common.js +0 -1
- package/lib/seam/connect/models/events/common.js.map +1 -1
- package/lib/seam/connect/models/events/connect-webviews.d.ts +12 -12
- package/lib/seam/connect/models/events/connected-accounts.d.ts +48 -48
- package/lib/seam/connect/models/events/devices.d.ts +523 -228
- package/lib/seam/connect/models/events/devices.js +64 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +6 -6
- package/lib/seam/connect/models/events/phones.d.ts +6 -6
- package/lib/seam/connect/models/events/seam-event.d.ts +496 -352
- package/lib/seam/connect/models/events/spaces.d.ts +18 -18
- package/lib/seam/connect/openapi.js +411 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1081 -591
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/common.ts +0 -1
- package/src/lib/seam/connect/models/events/devices.ts +100 -0
- package/src/lib/seam/connect/openapi.ts +439 -0
- package/src/lib/seam/connect/route-types.ts +1168 -585
|
@@ -6,7 +6,7 @@ export declare const device_connected_event: z.ZodObject<{
|
|
|
6
6
|
workspace_id: z.ZodString;
|
|
7
7
|
created_at: z.ZodString;
|
|
8
8
|
occurred_at: z.ZodString;
|
|
9
|
-
event_description: z.
|
|
9
|
+
event_description: z.ZodString;
|
|
10
10
|
} & {
|
|
11
11
|
device_id: z.ZodString;
|
|
12
12
|
connected_account_id: z.ZodString;
|
|
@@ -22,9 +22,9 @@ export declare const device_connected_event: z.ZodObject<{
|
|
|
22
22
|
connected_account_id: string;
|
|
23
23
|
event_id: string;
|
|
24
24
|
occurred_at: string;
|
|
25
|
+
event_description: string;
|
|
25
26
|
event_type: "device.connected";
|
|
26
27
|
customer_key?: string | undefined;
|
|
27
|
-
event_description?: string | undefined;
|
|
28
28
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
29
29
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
30
30
|
}, {
|
|
@@ -34,9 +34,9 @@ export declare const device_connected_event: z.ZodObject<{
|
|
|
34
34
|
connected_account_id: string;
|
|
35
35
|
event_id: string;
|
|
36
36
|
occurred_at: string;
|
|
37
|
+
event_description: string;
|
|
37
38
|
event_type: "device.connected";
|
|
38
39
|
customer_key?: string | undefined;
|
|
39
|
-
event_description?: string | undefined;
|
|
40
40
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
41
41
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
42
42
|
}>;
|
|
@@ -46,7 +46,7 @@ export declare const device_added_event: z.ZodObject<{
|
|
|
46
46
|
workspace_id: z.ZodString;
|
|
47
47
|
created_at: z.ZodString;
|
|
48
48
|
occurred_at: z.ZodString;
|
|
49
|
-
event_description: z.
|
|
49
|
+
event_description: z.ZodString;
|
|
50
50
|
} & {
|
|
51
51
|
device_id: z.ZodString;
|
|
52
52
|
connected_account_id: z.ZodString;
|
|
@@ -62,9 +62,9 @@ export declare const device_added_event: z.ZodObject<{
|
|
|
62
62
|
connected_account_id: string;
|
|
63
63
|
event_id: string;
|
|
64
64
|
occurred_at: string;
|
|
65
|
+
event_description: string;
|
|
65
66
|
event_type: "device.added";
|
|
66
67
|
customer_key?: string | undefined;
|
|
67
|
-
event_description?: string | undefined;
|
|
68
68
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
69
69
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
70
70
|
}, {
|
|
@@ -74,9 +74,9 @@ export declare const device_added_event: z.ZodObject<{
|
|
|
74
74
|
connected_account_id: string;
|
|
75
75
|
event_id: string;
|
|
76
76
|
occurred_at: string;
|
|
77
|
+
event_description: string;
|
|
77
78
|
event_type: "device.added";
|
|
78
79
|
customer_key?: string | undefined;
|
|
79
|
-
event_description?: string | undefined;
|
|
80
80
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
81
81
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
82
82
|
}>;
|
|
@@ -86,7 +86,7 @@ export declare const device_converted_to_unmanaged_event: z.ZodObject<{
|
|
|
86
86
|
workspace_id: z.ZodString;
|
|
87
87
|
created_at: z.ZodString;
|
|
88
88
|
occurred_at: z.ZodString;
|
|
89
|
-
event_description: z.
|
|
89
|
+
event_description: z.ZodString;
|
|
90
90
|
} & {
|
|
91
91
|
device_id: z.ZodString;
|
|
92
92
|
connected_account_id: z.ZodString;
|
|
@@ -102,9 +102,9 @@ export declare const device_converted_to_unmanaged_event: z.ZodObject<{
|
|
|
102
102
|
connected_account_id: string;
|
|
103
103
|
event_id: string;
|
|
104
104
|
occurred_at: string;
|
|
105
|
+
event_description: string;
|
|
105
106
|
event_type: "device.converted_to_unmanaged";
|
|
106
107
|
customer_key?: string | undefined;
|
|
107
|
-
event_description?: string | undefined;
|
|
108
108
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
109
109
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
110
110
|
}, {
|
|
@@ -114,9 +114,9 @@ export declare const device_converted_to_unmanaged_event: z.ZodObject<{
|
|
|
114
114
|
connected_account_id: string;
|
|
115
115
|
event_id: string;
|
|
116
116
|
occurred_at: string;
|
|
117
|
+
event_description: string;
|
|
117
118
|
event_type: "device.converted_to_unmanaged";
|
|
118
119
|
customer_key?: string | undefined;
|
|
119
|
-
event_description?: string | undefined;
|
|
120
120
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
121
121
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
122
122
|
}>;
|
|
@@ -126,7 +126,7 @@ export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<{
|
|
|
126
126
|
workspace_id: z.ZodString;
|
|
127
127
|
created_at: z.ZodString;
|
|
128
128
|
occurred_at: z.ZodString;
|
|
129
|
-
event_description: z.
|
|
129
|
+
event_description: z.ZodString;
|
|
130
130
|
} & {
|
|
131
131
|
device_id: z.ZodString;
|
|
132
132
|
connected_account_id: z.ZodString;
|
|
@@ -142,9 +142,9 @@ export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<{
|
|
|
142
142
|
connected_account_id: string;
|
|
143
143
|
event_id: string;
|
|
144
144
|
occurred_at: string;
|
|
145
|
+
event_description: string;
|
|
145
146
|
event_type: "device.unmanaged.converted_to_managed";
|
|
146
147
|
customer_key?: string | undefined;
|
|
147
|
-
event_description?: string | undefined;
|
|
148
148
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
149
149
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
150
150
|
}, {
|
|
@@ -154,9 +154,9 @@ export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<{
|
|
|
154
154
|
connected_account_id: string;
|
|
155
155
|
event_id: string;
|
|
156
156
|
occurred_at: string;
|
|
157
|
+
event_description: string;
|
|
157
158
|
event_type: "device.unmanaged.converted_to_managed";
|
|
158
159
|
customer_key?: string | undefined;
|
|
159
|
-
event_description?: string | undefined;
|
|
160
160
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
161
161
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
162
162
|
}>;
|
|
@@ -166,7 +166,7 @@ export declare const unmanaged_device_connected_event: z.ZodObject<{
|
|
|
166
166
|
workspace_id: z.ZodString;
|
|
167
167
|
created_at: z.ZodString;
|
|
168
168
|
occurred_at: z.ZodString;
|
|
169
|
-
event_description: z.
|
|
169
|
+
event_description: z.ZodString;
|
|
170
170
|
} & {
|
|
171
171
|
device_id: z.ZodString;
|
|
172
172
|
connected_account_id: z.ZodString;
|
|
@@ -182,9 +182,9 @@ export declare const unmanaged_device_connected_event: z.ZodObject<{
|
|
|
182
182
|
connected_account_id: string;
|
|
183
183
|
event_id: string;
|
|
184
184
|
occurred_at: string;
|
|
185
|
+
event_description: string;
|
|
185
186
|
event_type: "device.unmanaged.connected";
|
|
186
187
|
customer_key?: string | undefined;
|
|
187
|
-
event_description?: string | undefined;
|
|
188
188
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
189
189
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
190
190
|
}, {
|
|
@@ -194,9 +194,9 @@ export declare const unmanaged_device_connected_event: z.ZodObject<{
|
|
|
194
194
|
connected_account_id: string;
|
|
195
195
|
event_id: string;
|
|
196
196
|
occurred_at: string;
|
|
197
|
+
event_description: string;
|
|
197
198
|
event_type: "device.unmanaged.connected";
|
|
198
199
|
customer_key?: string | undefined;
|
|
199
|
-
event_description?: string | undefined;
|
|
200
200
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
201
201
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
202
202
|
}>;
|
|
@@ -206,7 +206,7 @@ export declare const device_disconnected_event: z.ZodObject<{
|
|
|
206
206
|
workspace_id: z.ZodString;
|
|
207
207
|
created_at: z.ZodString;
|
|
208
208
|
occurred_at: z.ZodString;
|
|
209
|
-
event_description: z.
|
|
209
|
+
event_description: z.ZodString;
|
|
210
210
|
} & {
|
|
211
211
|
device_id: z.ZodString;
|
|
212
212
|
connected_account_id: z.ZodString;
|
|
@@ -277,6 +277,7 @@ export declare const device_disconnected_event: z.ZodObject<{
|
|
|
277
277
|
connected_account_id: string;
|
|
278
278
|
event_id: string;
|
|
279
279
|
occurred_at: string;
|
|
280
|
+
event_description: string;
|
|
280
281
|
event_type: "device.disconnected";
|
|
281
282
|
connected_account_errors: {
|
|
282
283
|
message: string;
|
|
@@ -299,7 +300,6 @@ export declare const device_disconnected_event: z.ZodObject<{
|
|
|
299
300
|
warning_code: string;
|
|
300
301
|
}[];
|
|
301
302
|
customer_key?: string | undefined;
|
|
302
|
-
event_description?: string | undefined;
|
|
303
303
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
304
304
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
305
305
|
}, {
|
|
@@ -310,6 +310,7 @@ export declare const device_disconnected_event: z.ZodObject<{
|
|
|
310
310
|
connected_account_id: string;
|
|
311
311
|
event_id: string;
|
|
312
312
|
occurred_at: string;
|
|
313
|
+
event_description: string;
|
|
313
314
|
event_type: "device.disconnected";
|
|
314
315
|
connected_account_errors: {
|
|
315
316
|
message: string;
|
|
@@ -332,7 +333,6 @@ export declare const device_disconnected_event: z.ZodObject<{
|
|
|
332
333
|
warning_code: string;
|
|
333
334
|
}[];
|
|
334
335
|
customer_key?: string | undefined;
|
|
335
|
-
event_description?: string | undefined;
|
|
336
336
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
337
337
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
338
338
|
}>;
|
|
@@ -342,7 +342,7 @@ export declare const unmanaged_device_disconnected_event: z.ZodObject<{
|
|
|
342
342
|
workspace_id: z.ZodString;
|
|
343
343
|
created_at: z.ZodString;
|
|
344
344
|
occurred_at: z.ZodString;
|
|
345
|
-
event_description: z.
|
|
345
|
+
event_description: z.ZodString;
|
|
346
346
|
} & {
|
|
347
347
|
device_id: z.ZodString;
|
|
348
348
|
connected_account_id: z.ZodString;
|
|
@@ -413,6 +413,7 @@ export declare const unmanaged_device_disconnected_event: z.ZodObject<{
|
|
|
413
413
|
connected_account_id: string;
|
|
414
414
|
event_id: string;
|
|
415
415
|
occurred_at: string;
|
|
416
|
+
event_description: string;
|
|
416
417
|
event_type: "device.unmanaged.disconnected";
|
|
417
418
|
connected_account_errors: {
|
|
418
419
|
message: string;
|
|
@@ -435,7 +436,6 @@ export declare const unmanaged_device_disconnected_event: z.ZodObject<{
|
|
|
435
436
|
warning_code: string;
|
|
436
437
|
}[];
|
|
437
438
|
customer_key?: string | undefined;
|
|
438
|
-
event_description?: string | undefined;
|
|
439
439
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
440
440
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
441
441
|
}, {
|
|
@@ -446,6 +446,7 @@ export declare const unmanaged_device_disconnected_event: z.ZodObject<{
|
|
|
446
446
|
connected_account_id: string;
|
|
447
447
|
event_id: string;
|
|
448
448
|
occurred_at: string;
|
|
449
|
+
event_description: string;
|
|
449
450
|
event_type: "device.unmanaged.disconnected";
|
|
450
451
|
connected_account_errors: {
|
|
451
452
|
message: string;
|
|
@@ -468,7 +469,6 @@ export declare const unmanaged_device_disconnected_event: z.ZodObject<{
|
|
|
468
469
|
warning_code: string;
|
|
469
470
|
}[];
|
|
470
471
|
customer_key?: string | undefined;
|
|
471
|
-
event_description?: string | undefined;
|
|
472
472
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
473
473
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
474
474
|
}>;
|
|
@@ -478,7 +478,7 @@ export declare const device_tampered_event: z.ZodObject<{
|
|
|
478
478
|
workspace_id: z.ZodString;
|
|
479
479
|
created_at: z.ZodString;
|
|
480
480
|
occurred_at: z.ZodString;
|
|
481
|
-
event_description: z.
|
|
481
|
+
event_description: z.ZodString;
|
|
482
482
|
} & {
|
|
483
483
|
device_id: z.ZodString;
|
|
484
484
|
connected_account_id: z.ZodString;
|
|
@@ -494,9 +494,9 @@ export declare const device_tampered_event: z.ZodObject<{
|
|
|
494
494
|
connected_account_id: string;
|
|
495
495
|
event_id: string;
|
|
496
496
|
occurred_at: string;
|
|
497
|
+
event_description: string;
|
|
497
498
|
event_type: "device.tampered";
|
|
498
499
|
customer_key?: string | undefined;
|
|
499
|
-
event_description?: string | undefined;
|
|
500
500
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
501
501
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
502
502
|
}, {
|
|
@@ -506,9 +506,9 @@ export declare const device_tampered_event: z.ZodObject<{
|
|
|
506
506
|
connected_account_id: string;
|
|
507
507
|
event_id: string;
|
|
508
508
|
occurred_at: string;
|
|
509
|
+
event_description: string;
|
|
509
510
|
event_type: "device.tampered";
|
|
510
511
|
customer_key?: string | undefined;
|
|
511
|
-
event_description?: string | undefined;
|
|
512
512
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
513
513
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
514
514
|
}>;
|
|
@@ -518,7 +518,7 @@ export declare const device_low_battery_event: z.ZodObject<{
|
|
|
518
518
|
workspace_id: z.ZodString;
|
|
519
519
|
created_at: z.ZodString;
|
|
520
520
|
occurred_at: z.ZodString;
|
|
521
|
-
event_description: z.
|
|
521
|
+
event_description: z.ZodString;
|
|
522
522
|
} & {
|
|
523
523
|
device_id: z.ZodString;
|
|
524
524
|
connected_account_id: z.ZodString;
|
|
@@ -538,9 +538,9 @@ export declare const device_low_battery_event: z.ZodObject<{
|
|
|
538
538
|
battery_level: number;
|
|
539
539
|
event_id: string;
|
|
540
540
|
occurred_at: string;
|
|
541
|
+
event_description: string;
|
|
541
542
|
event_type: "device.low_battery";
|
|
542
543
|
customer_key?: string | undefined;
|
|
543
|
-
event_description?: string | undefined;
|
|
544
544
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
545
545
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
546
546
|
device_battery_level?: number | undefined;
|
|
@@ -553,9 +553,9 @@ export declare const device_low_battery_event: z.ZodObject<{
|
|
|
553
553
|
battery_level: number;
|
|
554
554
|
event_id: string;
|
|
555
555
|
occurred_at: string;
|
|
556
|
+
event_description: string;
|
|
556
557
|
event_type: "device.low_battery";
|
|
557
558
|
customer_key?: string | undefined;
|
|
558
|
-
event_description?: string | undefined;
|
|
559
559
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
560
560
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
561
561
|
device_battery_level?: number | undefined;
|
|
@@ -567,7 +567,7 @@ export declare const device_battery_status_changed_event: z.ZodObject<{
|
|
|
567
567
|
workspace_id: z.ZodString;
|
|
568
568
|
created_at: z.ZodString;
|
|
569
569
|
occurred_at: z.ZodString;
|
|
570
|
-
event_description: z.
|
|
570
|
+
event_description: z.ZodString;
|
|
571
571
|
} & {
|
|
572
572
|
device_id: z.ZodString;
|
|
573
573
|
connected_account_id: z.ZodString;
|
|
@@ -586,10 +586,10 @@ export declare const device_battery_status_changed_event: z.ZodObject<{
|
|
|
586
586
|
battery_level: number;
|
|
587
587
|
event_id: string;
|
|
588
588
|
occurred_at: string;
|
|
589
|
+
event_description: string;
|
|
589
590
|
event_type: "device.battery_status_changed";
|
|
590
591
|
battery_status: "critical" | "low" | "good" | "full";
|
|
591
592
|
customer_key?: string | undefined;
|
|
592
|
-
event_description?: string | undefined;
|
|
593
593
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
594
594
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
595
595
|
}, {
|
|
@@ -600,10 +600,10 @@ export declare const device_battery_status_changed_event: z.ZodObject<{
|
|
|
600
600
|
battery_level: number;
|
|
601
601
|
event_id: string;
|
|
602
602
|
occurred_at: string;
|
|
603
|
+
event_description: string;
|
|
603
604
|
event_type: "device.battery_status_changed";
|
|
604
605
|
battery_status: "critical" | "low" | "good" | "full";
|
|
605
606
|
customer_key?: string | undefined;
|
|
606
|
-
event_description?: string | undefined;
|
|
607
607
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
608
608
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
609
609
|
}>;
|
|
@@ -613,7 +613,7 @@ export declare const device_removed_event: z.ZodObject<{
|
|
|
613
613
|
workspace_id: z.ZodString;
|
|
614
614
|
created_at: z.ZodString;
|
|
615
615
|
occurred_at: z.ZodString;
|
|
616
|
-
event_description: z.
|
|
616
|
+
event_description: z.ZodString;
|
|
617
617
|
} & {
|
|
618
618
|
device_id: z.ZodString;
|
|
619
619
|
connected_account_id: z.ZodString;
|
|
@@ -629,9 +629,9 @@ export declare const device_removed_event: z.ZodObject<{
|
|
|
629
629
|
connected_account_id: string;
|
|
630
630
|
event_id: string;
|
|
631
631
|
occurred_at: string;
|
|
632
|
+
event_description: string;
|
|
632
633
|
event_type: "device.removed";
|
|
633
634
|
customer_key?: string | undefined;
|
|
634
|
-
event_description?: string | undefined;
|
|
635
635
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
636
636
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
637
637
|
}, {
|
|
@@ -641,9 +641,9 @@ export declare const device_removed_event: z.ZodObject<{
|
|
|
641
641
|
connected_account_id: string;
|
|
642
642
|
event_id: string;
|
|
643
643
|
occurred_at: string;
|
|
644
|
+
event_description: string;
|
|
644
645
|
event_type: "device.removed";
|
|
645
646
|
customer_key?: string | undefined;
|
|
646
|
-
event_description?: string | undefined;
|
|
647
647
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
648
648
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
649
649
|
}>;
|
|
@@ -653,7 +653,7 @@ export declare const device_deleted_event: z.ZodObject<{
|
|
|
653
653
|
workspace_id: z.ZodString;
|
|
654
654
|
created_at: z.ZodString;
|
|
655
655
|
occurred_at: z.ZodString;
|
|
656
|
-
event_description: z.
|
|
656
|
+
event_description: z.ZodString;
|
|
657
657
|
} & {
|
|
658
658
|
device_id: z.ZodString;
|
|
659
659
|
connected_account_id: z.ZodString;
|
|
@@ -670,10 +670,10 @@ export declare const device_deleted_event: z.ZodObject<{
|
|
|
670
670
|
connected_account_id: string;
|
|
671
671
|
event_id: string;
|
|
672
672
|
occurred_at: string;
|
|
673
|
+
event_description: string;
|
|
673
674
|
event_type: "device.deleted";
|
|
674
675
|
customer_key?: string | undefined;
|
|
675
676
|
device_name?: string | null | undefined;
|
|
676
|
-
event_description?: string | undefined;
|
|
677
677
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
678
678
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
679
679
|
}, {
|
|
@@ -683,10 +683,10 @@ export declare const device_deleted_event: z.ZodObject<{
|
|
|
683
683
|
connected_account_id: string;
|
|
684
684
|
event_id: string;
|
|
685
685
|
occurred_at: string;
|
|
686
|
+
event_description: string;
|
|
686
687
|
event_type: "device.deleted";
|
|
687
688
|
customer_key?: string | undefined;
|
|
688
689
|
device_name?: string | null | undefined;
|
|
689
|
-
event_description?: string | undefined;
|
|
690
690
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
691
691
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
692
692
|
}>;
|
|
@@ -696,7 +696,7 @@ export declare const device_third_party_integration_detected_event: z.ZodObject<
|
|
|
696
696
|
workspace_id: z.ZodString;
|
|
697
697
|
created_at: z.ZodString;
|
|
698
698
|
occurred_at: z.ZodString;
|
|
699
|
-
event_description: z.
|
|
699
|
+
event_description: z.ZodString;
|
|
700
700
|
} & {
|
|
701
701
|
device_id: z.ZodString;
|
|
702
702
|
connected_account_id: z.ZodString;
|
|
@@ -712,9 +712,9 @@ export declare const device_third_party_integration_detected_event: z.ZodObject<
|
|
|
712
712
|
connected_account_id: string;
|
|
713
713
|
event_id: string;
|
|
714
714
|
occurred_at: string;
|
|
715
|
+
event_description: string;
|
|
715
716
|
event_type: "device.third_party_integration_detected";
|
|
716
717
|
customer_key?: string | undefined;
|
|
717
|
-
event_description?: string | undefined;
|
|
718
718
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
719
719
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
720
720
|
}, {
|
|
@@ -724,9 +724,9 @@ export declare const device_third_party_integration_detected_event: z.ZodObject<
|
|
|
724
724
|
connected_account_id: string;
|
|
725
725
|
event_id: string;
|
|
726
726
|
occurred_at: string;
|
|
727
|
+
event_description: string;
|
|
727
728
|
event_type: "device.third_party_integration_detected";
|
|
728
729
|
customer_key?: string | undefined;
|
|
729
|
-
event_description?: string | undefined;
|
|
730
730
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
731
731
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
732
732
|
}>;
|
|
@@ -736,7 +736,7 @@ export declare const device_third_party_integration_no_longer_detected_event: z.
|
|
|
736
736
|
workspace_id: z.ZodString;
|
|
737
737
|
created_at: z.ZodString;
|
|
738
738
|
occurred_at: z.ZodString;
|
|
739
|
-
event_description: z.
|
|
739
|
+
event_description: z.ZodString;
|
|
740
740
|
} & {
|
|
741
741
|
device_id: z.ZodString;
|
|
742
742
|
connected_account_id: z.ZodString;
|
|
@@ -752,9 +752,9 @@ export declare const device_third_party_integration_no_longer_detected_event: z.
|
|
|
752
752
|
connected_account_id: string;
|
|
753
753
|
event_id: string;
|
|
754
754
|
occurred_at: string;
|
|
755
|
+
event_description: string;
|
|
755
756
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
756
757
|
customer_key?: string | undefined;
|
|
757
|
-
event_description?: string | undefined;
|
|
758
758
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
759
759
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
760
760
|
}, {
|
|
@@ -764,9 +764,9 @@ export declare const device_third_party_integration_no_longer_detected_event: z.
|
|
|
764
764
|
connected_account_id: string;
|
|
765
765
|
event_id: string;
|
|
766
766
|
occurred_at: string;
|
|
767
|
+
event_description: string;
|
|
767
768
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
768
769
|
customer_key?: string | undefined;
|
|
769
|
-
event_description?: string | undefined;
|
|
770
770
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
771
771
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
772
772
|
}>;
|
|
@@ -776,7 +776,7 @@ export declare const device_salto_privacy_mode_activated_event: z.ZodObject<{
|
|
|
776
776
|
workspace_id: z.ZodString;
|
|
777
777
|
created_at: z.ZodString;
|
|
778
778
|
occurred_at: z.ZodString;
|
|
779
|
-
event_description: z.
|
|
779
|
+
event_description: z.ZodString;
|
|
780
780
|
} & {
|
|
781
781
|
device_id: z.ZodString;
|
|
782
782
|
connected_account_id: z.ZodString;
|
|
@@ -792,9 +792,9 @@ export declare const device_salto_privacy_mode_activated_event: z.ZodObject<{
|
|
|
792
792
|
connected_account_id: string;
|
|
793
793
|
event_id: string;
|
|
794
794
|
occurred_at: string;
|
|
795
|
+
event_description: string;
|
|
795
796
|
event_type: "device.salto.privacy_mode_activated";
|
|
796
797
|
customer_key?: string | undefined;
|
|
797
|
-
event_description?: string | undefined;
|
|
798
798
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
799
799
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
800
800
|
}, {
|
|
@@ -804,9 +804,9 @@ export declare const device_salto_privacy_mode_activated_event: z.ZodObject<{
|
|
|
804
804
|
connected_account_id: string;
|
|
805
805
|
event_id: string;
|
|
806
806
|
occurred_at: string;
|
|
807
|
+
event_description: string;
|
|
807
808
|
event_type: "device.salto.privacy_mode_activated";
|
|
808
809
|
customer_key?: string | undefined;
|
|
809
|
-
event_description?: string | undefined;
|
|
810
810
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
811
811
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
812
812
|
}>;
|
|
@@ -816,7 +816,7 @@ export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<{
|
|
|
816
816
|
workspace_id: z.ZodString;
|
|
817
817
|
created_at: z.ZodString;
|
|
818
818
|
occurred_at: z.ZodString;
|
|
819
|
-
event_description: z.
|
|
819
|
+
event_description: z.ZodString;
|
|
820
820
|
} & {
|
|
821
821
|
device_id: z.ZodString;
|
|
822
822
|
connected_account_id: z.ZodString;
|
|
@@ -832,9 +832,9 @@ export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<{
|
|
|
832
832
|
connected_account_id: string;
|
|
833
833
|
event_id: string;
|
|
834
834
|
occurred_at: string;
|
|
835
|
+
event_description: string;
|
|
835
836
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
836
837
|
customer_key?: string | undefined;
|
|
837
|
-
event_description?: string | undefined;
|
|
838
838
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
839
839
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
840
840
|
}, {
|
|
@@ -844,9 +844,9 @@ export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<{
|
|
|
844
844
|
connected_account_id: string;
|
|
845
845
|
event_id: string;
|
|
846
846
|
occurred_at: string;
|
|
847
|
+
event_description: string;
|
|
847
848
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
848
849
|
customer_key?: string | undefined;
|
|
849
|
-
event_description?: string | undefined;
|
|
850
850
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
851
851
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
852
852
|
}>;
|
|
@@ -856,7 +856,7 @@ export declare const device_connection_became_flaky_event: z.ZodObject<{
|
|
|
856
856
|
workspace_id: z.ZodString;
|
|
857
857
|
created_at: z.ZodString;
|
|
858
858
|
occurred_at: z.ZodString;
|
|
859
|
-
event_description: z.
|
|
859
|
+
event_description: z.ZodString;
|
|
860
860
|
} & {
|
|
861
861
|
device_id: z.ZodString;
|
|
862
862
|
connected_account_id: z.ZodString;
|
|
@@ -925,6 +925,7 @@ export declare const device_connection_became_flaky_event: z.ZodObject<{
|
|
|
925
925
|
connected_account_id: string;
|
|
926
926
|
event_id: string;
|
|
927
927
|
occurred_at: string;
|
|
928
|
+
event_description: string;
|
|
928
929
|
event_type: "device.connection_became_flaky";
|
|
929
930
|
connected_account_errors: {
|
|
930
931
|
message: string;
|
|
@@ -947,7 +948,6 @@ export declare const device_connection_became_flaky_event: z.ZodObject<{
|
|
|
947
948
|
warning_code: string;
|
|
948
949
|
}[];
|
|
949
950
|
customer_key?: string | undefined;
|
|
950
|
-
event_description?: string | undefined;
|
|
951
951
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
952
952
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
953
953
|
}, {
|
|
@@ -957,6 +957,7 @@ export declare const device_connection_became_flaky_event: z.ZodObject<{
|
|
|
957
957
|
connected_account_id: string;
|
|
958
958
|
event_id: string;
|
|
959
959
|
occurred_at: string;
|
|
960
|
+
event_description: string;
|
|
960
961
|
event_type: "device.connection_became_flaky";
|
|
961
962
|
connected_account_errors: {
|
|
962
963
|
message: string;
|
|
@@ -979,7 +980,6 @@ export declare const device_connection_became_flaky_event: z.ZodObject<{
|
|
|
979
980
|
warning_code: string;
|
|
980
981
|
}[];
|
|
981
982
|
customer_key?: string | undefined;
|
|
982
|
-
event_description?: string | undefined;
|
|
983
983
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
984
984
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
985
985
|
}>;
|
|
@@ -989,7 +989,7 @@ export declare const device_connection_stabilized_event: z.ZodObject<{
|
|
|
989
989
|
workspace_id: z.ZodString;
|
|
990
990
|
created_at: z.ZodString;
|
|
991
991
|
occurred_at: z.ZodString;
|
|
992
|
-
event_description: z.
|
|
992
|
+
event_description: z.ZodString;
|
|
993
993
|
} & {
|
|
994
994
|
device_id: z.ZodString;
|
|
995
995
|
connected_account_id: z.ZodString;
|
|
@@ -1005,9 +1005,9 @@ export declare const device_connection_stabilized_event: z.ZodObject<{
|
|
|
1005
1005
|
connected_account_id: string;
|
|
1006
1006
|
event_id: string;
|
|
1007
1007
|
occurred_at: string;
|
|
1008
|
+
event_description: string;
|
|
1008
1009
|
event_type: "device.connection_stabilized";
|
|
1009
1010
|
customer_key?: string | undefined;
|
|
1010
|
-
event_description?: string | undefined;
|
|
1011
1011
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1012
1012
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1013
1013
|
}, {
|
|
@@ -1017,9 +1017,9 @@ export declare const device_connection_stabilized_event: z.ZodObject<{
|
|
|
1017
1017
|
connected_account_id: string;
|
|
1018
1018
|
event_id: string;
|
|
1019
1019
|
occurred_at: string;
|
|
1020
|
+
event_description: string;
|
|
1020
1021
|
event_type: "device.connection_stabilized";
|
|
1021
1022
|
customer_key?: string | undefined;
|
|
1022
|
-
event_description?: string | undefined;
|
|
1023
1023
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1024
1024
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1025
1025
|
}>;
|
|
@@ -1029,7 +1029,7 @@ export declare const device_error_subscription_required_event: z.ZodObject<{
|
|
|
1029
1029
|
workspace_id: z.ZodString;
|
|
1030
1030
|
created_at: z.ZodString;
|
|
1031
1031
|
occurred_at: z.ZodString;
|
|
1032
|
-
event_description: z.
|
|
1032
|
+
event_description: z.ZodString;
|
|
1033
1033
|
} & {
|
|
1034
1034
|
device_id: z.ZodString;
|
|
1035
1035
|
connected_account_id: z.ZodString;
|
|
@@ -1098,6 +1098,7 @@ export declare const device_error_subscription_required_event: z.ZodObject<{
|
|
|
1098
1098
|
connected_account_id: string;
|
|
1099
1099
|
event_id: string;
|
|
1100
1100
|
occurred_at: string;
|
|
1101
|
+
event_description: string;
|
|
1101
1102
|
event_type: "device.error.subscription_required";
|
|
1102
1103
|
connected_account_errors: {
|
|
1103
1104
|
message: string;
|
|
@@ -1120,7 +1121,6 @@ export declare const device_error_subscription_required_event: z.ZodObject<{
|
|
|
1120
1121
|
warning_code: string;
|
|
1121
1122
|
}[];
|
|
1122
1123
|
customer_key?: string | undefined;
|
|
1123
|
-
event_description?: string | undefined;
|
|
1124
1124
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1125
1125
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1126
1126
|
}, {
|
|
@@ -1130,6 +1130,7 @@ export declare const device_error_subscription_required_event: z.ZodObject<{
|
|
|
1130
1130
|
connected_account_id: string;
|
|
1131
1131
|
event_id: string;
|
|
1132
1132
|
occurred_at: string;
|
|
1133
|
+
event_description: string;
|
|
1133
1134
|
event_type: "device.error.subscription_required";
|
|
1134
1135
|
connected_account_errors: {
|
|
1135
1136
|
message: string;
|
|
@@ -1152,7 +1153,6 @@ export declare const device_error_subscription_required_event: z.ZodObject<{
|
|
|
1152
1153
|
warning_code: string;
|
|
1153
1154
|
}[];
|
|
1154
1155
|
customer_key?: string | undefined;
|
|
1155
|
-
event_description?: string | undefined;
|
|
1156
1156
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1157
1157
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1158
1158
|
}>;
|
|
@@ -1162,7 +1162,7 @@ export declare const device_error_subscription_required_resolved_event: z.ZodObj
|
|
|
1162
1162
|
workspace_id: z.ZodString;
|
|
1163
1163
|
created_at: z.ZodString;
|
|
1164
1164
|
occurred_at: z.ZodString;
|
|
1165
|
-
event_description: z.
|
|
1165
|
+
event_description: z.ZodString;
|
|
1166
1166
|
} & {
|
|
1167
1167
|
device_id: z.ZodString;
|
|
1168
1168
|
connected_account_id: z.ZodString;
|
|
@@ -1178,9 +1178,9 @@ export declare const device_error_subscription_required_resolved_event: z.ZodObj
|
|
|
1178
1178
|
connected_account_id: string;
|
|
1179
1179
|
event_id: string;
|
|
1180
1180
|
occurred_at: string;
|
|
1181
|
+
event_description: string;
|
|
1181
1182
|
event_type: "device.error.subscription_required.resolved";
|
|
1182
1183
|
customer_key?: string | undefined;
|
|
1183
|
-
event_description?: string | undefined;
|
|
1184
1184
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1185
1185
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1186
1186
|
}, {
|
|
@@ -1190,9 +1190,9 @@ export declare const device_error_subscription_required_resolved_event: z.ZodObj
|
|
|
1190
1190
|
connected_account_id: string;
|
|
1191
1191
|
event_id: string;
|
|
1192
1192
|
occurred_at: string;
|
|
1193
|
+
event_description: string;
|
|
1193
1194
|
event_type: "device.error.subscription_required.resolved";
|
|
1194
1195
|
customer_key?: string | undefined;
|
|
1195
|
-
event_description?: string | undefined;
|
|
1196
1196
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1197
1197
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1198
1198
|
}>;
|
|
@@ -1202,7 +1202,7 @@ export declare const device_accessory_keypad_connected_event: z.ZodObject<{
|
|
|
1202
1202
|
workspace_id: z.ZodString;
|
|
1203
1203
|
created_at: z.ZodString;
|
|
1204
1204
|
occurred_at: z.ZodString;
|
|
1205
|
-
event_description: z.
|
|
1205
|
+
event_description: z.ZodString;
|
|
1206
1206
|
} & {
|
|
1207
1207
|
device_id: z.ZodString;
|
|
1208
1208
|
connected_account_id: z.ZodString;
|
|
@@ -1218,9 +1218,9 @@ export declare const device_accessory_keypad_connected_event: z.ZodObject<{
|
|
|
1218
1218
|
connected_account_id: string;
|
|
1219
1219
|
event_id: string;
|
|
1220
1220
|
occurred_at: string;
|
|
1221
|
+
event_description: string;
|
|
1221
1222
|
event_type: "device.accessory_keypad_connected";
|
|
1222
1223
|
customer_key?: string | undefined;
|
|
1223
|
-
event_description?: string | undefined;
|
|
1224
1224
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1225
1225
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1226
1226
|
}, {
|
|
@@ -1230,9 +1230,9 @@ export declare const device_accessory_keypad_connected_event: z.ZodObject<{
|
|
|
1230
1230
|
connected_account_id: string;
|
|
1231
1231
|
event_id: string;
|
|
1232
1232
|
occurred_at: string;
|
|
1233
|
+
event_description: string;
|
|
1233
1234
|
event_type: "device.accessory_keypad_connected";
|
|
1234
1235
|
customer_key?: string | undefined;
|
|
1235
|
-
event_description?: string | undefined;
|
|
1236
1236
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1237
1237
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1238
1238
|
}>;
|
|
@@ -1242,7 +1242,7 @@ export declare const device_accessory_keypad_disconnected_event: z.ZodObject<{
|
|
|
1242
1242
|
workspace_id: z.ZodString;
|
|
1243
1243
|
created_at: z.ZodString;
|
|
1244
1244
|
occurred_at: z.ZodString;
|
|
1245
|
-
event_description: z.
|
|
1245
|
+
event_description: z.ZodString;
|
|
1246
1246
|
} & {
|
|
1247
1247
|
device_id: z.ZodString;
|
|
1248
1248
|
connected_account_id: z.ZodString;
|
|
@@ -1311,6 +1311,7 @@ export declare const device_accessory_keypad_disconnected_event: z.ZodObject<{
|
|
|
1311
1311
|
connected_account_id: string;
|
|
1312
1312
|
event_id: string;
|
|
1313
1313
|
occurred_at: string;
|
|
1314
|
+
event_description: string;
|
|
1314
1315
|
event_type: "device.accessory_keypad_disconnected";
|
|
1315
1316
|
connected_account_errors: {
|
|
1316
1317
|
message: string;
|
|
@@ -1333,7 +1334,6 @@ export declare const device_accessory_keypad_disconnected_event: z.ZodObject<{
|
|
|
1333
1334
|
warning_code: string;
|
|
1334
1335
|
}[];
|
|
1335
1336
|
customer_key?: string | undefined;
|
|
1336
|
-
event_description?: string | undefined;
|
|
1337
1337
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1338
1338
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1339
1339
|
}, {
|
|
@@ -1343,6 +1343,7 @@ export declare const device_accessory_keypad_disconnected_event: z.ZodObject<{
|
|
|
1343
1343
|
connected_account_id: string;
|
|
1344
1344
|
event_id: string;
|
|
1345
1345
|
occurred_at: string;
|
|
1346
|
+
event_description: string;
|
|
1346
1347
|
event_type: "device.accessory_keypad_disconnected";
|
|
1347
1348
|
connected_account_errors: {
|
|
1348
1349
|
message: string;
|
|
@@ -1365,7 +1366,6 @@ export declare const device_accessory_keypad_disconnected_event: z.ZodObject<{
|
|
|
1365
1366
|
warning_code: string;
|
|
1366
1367
|
}[];
|
|
1367
1368
|
customer_key?: string | undefined;
|
|
1368
|
-
event_description?: string | undefined;
|
|
1369
1369
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1370
1370
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1371
1371
|
}>;
|
|
@@ -1375,7 +1375,7 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<{
|
|
|
1375
1375
|
workspace_id: z.ZodString;
|
|
1376
1376
|
created_at: z.ZodString;
|
|
1377
1377
|
occurred_at: z.ZodString;
|
|
1378
|
-
event_description: z.
|
|
1378
|
+
event_description: z.ZodString;
|
|
1379
1379
|
} & {
|
|
1380
1380
|
device_id: z.ZodString;
|
|
1381
1381
|
connected_account_id: z.ZodString;
|
|
@@ -1397,13 +1397,13 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<{
|
|
|
1397
1397
|
connected_account_id: string;
|
|
1398
1398
|
event_id: string;
|
|
1399
1399
|
occurred_at: string;
|
|
1400
|
+
event_description: string;
|
|
1400
1401
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
1401
1402
|
customer_key?: string | undefined;
|
|
1402
1403
|
noise_level_nrs?: number | undefined;
|
|
1403
1404
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
1404
1405
|
minut_metadata?: Record<string, unknown> | undefined;
|
|
1405
1406
|
noise_level_decibels?: number | undefined;
|
|
1406
|
-
event_description?: string | undefined;
|
|
1407
1407
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1408
1408
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1409
1409
|
noise_threshold_id?: string | undefined;
|
|
@@ -1415,13 +1415,13 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<{
|
|
|
1415
1415
|
connected_account_id: string;
|
|
1416
1416
|
event_id: string;
|
|
1417
1417
|
occurred_at: string;
|
|
1418
|
+
event_description: string;
|
|
1418
1419
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
1419
1420
|
customer_key?: string | undefined;
|
|
1420
1421
|
noise_level_nrs?: number | undefined;
|
|
1421
1422
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
1422
1423
|
minut_metadata?: Record<string, unknown> | undefined;
|
|
1423
1424
|
noise_level_decibels?: number | undefined;
|
|
1424
|
-
event_description?: string | undefined;
|
|
1425
1425
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1426
1426
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1427
1427
|
noise_threshold_id?: string | undefined;
|
|
@@ -1433,7 +1433,7 @@ export declare const lock_locked_event: z.ZodObject<{
|
|
|
1433
1433
|
workspace_id: z.ZodString;
|
|
1434
1434
|
created_at: z.ZodString;
|
|
1435
1435
|
occurred_at: z.ZodString;
|
|
1436
|
-
event_description: z.
|
|
1436
|
+
event_description: z.ZodString;
|
|
1437
1437
|
} & {
|
|
1438
1438
|
device_id: z.ZodString;
|
|
1439
1439
|
connected_account_id: z.ZodString;
|
|
@@ -1460,6 +1460,7 @@ export declare const lock_locked_event: z.ZodObject<{
|
|
|
1460
1460
|
connected_account_id: string;
|
|
1461
1461
|
event_id: string;
|
|
1462
1462
|
occurred_at: string;
|
|
1463
|
+
event_description: string;
|
|
1463
1464
|
event_type: "lock.locked";
|
|
1464
1465
|
method: "unknown" | "card" | "mobile_key" | "keycode" | "manual" | "automatic" | "remote";
|
|
1465
1466
|
code?: string | undefined;
|
|
@@ -1470,7 +1471,6 @@ export declare const lock_locked_event: z.ZodObject<{
|
|
|
1470
1471
|
acs_entrance_id?: string | undefined;
|
|
1471
1472
|
acs_system_id?: string | undefined;
|
|
1472
1473
|
action_attempt_id?: string | undefined;
|
|
1473
|
-
event_description?: string | undefined;
|
|
1474
1474
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1475
1475
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1476
1476
|
access_code_is_managed?: boolean | undefined;
|
|
@@ -1483,6 +1483,7 @@ export declare const lock_locked_event: z.ZodObject<{
|
|
|
1483
1483
|
connected_account_id: string;
|
|
1484
1484
|
event_id: string;
|
|
1485
1485
|
occurred_at: string;
|
|
1486
|
+
event_description: string;
|
|
1486
1487
|
event_type: "lock.locked";
|
|
1487
1488
|
method: "unknown" | "card" | "mobile_key" | "keycode" | "manual" | "automatic" | "remote";
|
|
1488
1489
|
code?: string | undefined;
|
|
@@ -1493,7 +1494,6 @@ export declare const lock_locked_event: z.ZodObject<{
|
|
|
1493
1494
|
acs_entrance_id?: string | undefined;
|
|
1494
1495
|
acs_system_id?: string | undefined;
|
|
1495
1496
|
action_attempt_id?: string | undefined;
|
|
1496
|
-
event_description?: string | undefined;
|
|
1497
1497
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1498
1498
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1499
1499
|
access_code_is_managed?: boolean | undefined;
|
|
@@ -1506,7 +1506,7 @@ export declare const lock_unlocked_event: z.ZodObject<{
|
|
|
1506
1506
|
workspace_id: z.ZodString;
|
|
1507
1507
|
created_at: z.ZodString;
|
|
1508
1508
|
occurred_at: z.ZodString;
|
|
1509
|
-
event_description: z.
|
|
1509
|
+
event_description: z.ZodString;
|
|
1510
1510
|
connected_account_id: z.ZodString;
|
|
1511
1511
|
customer_key: z.ZodOptional<z.ZodString>;
|
|
1512
1512
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -1531,6 +1531,7 @@ export declare const lock_unlocked_event: z.ZodObject<{
|
|
|
1531
1531
|
connected_account_id: string;
|
|
1532
1532
|
event_id: string;
|
|
1533
1533
|
occurred_at: string;
|
|
1534
|
+
event_description: string;
|
|
1534
1535
|
event_type: "lock.unlocked";
|
|
1535
1536
|
method: "unknown" | "card" | "mobile_key" | "keycode" | "manual" | "automatic" | "remote";
|
|
1536
1537
|
code?: string | undefined;
|
|
@@ -1542,7 +1543,6 @@ export declare const lock_unlocked_event: z.ZodObject<{
|
|
|
1542
1543
|
acs_entrance_id?: string | undefined;
|
|
1543
1544
|
acs_system_id?: string | undefined;
|
|
1544
1545
|
action_attempt_id?: string | undefined;
|
|
1545
|
-
event_description?: string | undefined;
|
|
1546
1546
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1547
1547
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1548
1548
|
access_code_is_managed?: boolean | undefined;
|
|
@@ -1554,6 +1554,7 @@ export declare const lock_unlocked_event: z.ZodObject<{
|
|
|
1554
1554
|
connected_account_id: string;
|
|
1555
1555
|
event_id: string;
|
|
1556
1556
|
occurred_at: string;
|
|
1557
|
+
event_description: string;
|
|
1557
1558
|
event_type: "lock.unlocked";
|
|
1558
1559
|
method: "unknown" | "card" | "mobile_key" | "keycode" | "manual" | "automatic" | "remote";
|
|
1559
1560
|
code?: string | undefined;
|
|
@@ -1565,7 +1566,6 @@ export declare const lock_unlocked_event: z.ZodObject<{
|
|
|
1565
1566
|
acs_entrance_id?: string | undefined;
|
|
1566
1567
|
acs_system_id?: string | undefined;
|
|
1567
1568
|
action_attempt_id?: string | undefined;
|
|
1568
|
-
event_description?: string | undefined;
|
|
1569
1569
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1570
1570
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1571
1571
|
access_code_is_managed?: boolean | undefined;
|
|
@@ -1578,7 +1578,7 @@ export declare const lock_access_denied_event: z.ZodObject<{
|
|
|
1578
1578
|
workspace_id: z.ZodString;
|
|
1579
1579
|
created_at: z.ZodString;
|
|
1580
1580
|
occurred_at: z.ZodString;
|
|
1581
|
-
event_description: z.
|
|
1581
|
+
event_description: z.ZodString;
|
|
1582
1582
|
connected_account_id: z.ZodString;
|
|
1583
1583
|
customer_key: z.ZodOptional<z.ZodString>;
|
|
1584
1584
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -1607,6 +1607,7 @@ export declare const lock_access_denied_event: z.ZodObject<{
|
|
|
1607
1607
|
connected_account_id: string;
|
|
1608
1608
|
event_id: string;
|
|
1609
1609
|
occurred_at: string;
|
|
1610
|
+
event_description: string;
|
|
1610
1611
|
event_type: "lock.access_denied";
|
|
1611
1612
|
device_id?: string | undefined;
|
|
1612
1613
|
customer_key?: string | undefined;
|
|
@@ -1619,7 +1620,6 @@ export declare const lock_access_denied_event: z.ZodObject<{
|
|
|
1619
1620
|
acs_user_id?: string | undefined;
|
|
1620
1621
|
acs_entrance_id?: string | undefined;
|
|
1621
1622
|
acs_system_id?: string | undefined;
|
|
1622
|
-
event_description?: string | undefined;
|
|
1623
1623
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1624
1624
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1625
1625
|
}, {
|
|
@@ -1628,6 +1628,7 @@ export declare const lock_access_denied_event: z.ZodObject<{
|
|
|
1628
1628
|
connected_account_id: string;
|
|
1629
1629
|
event_id: string;
|
|
1630
1630
|
occurred_at: string;
|
|
1631
|
+
event_description: string;
|
|
1631
1632
|
event_type: "lock.access_denied";
|
|
1632
1633
|
device_id?: string | undefined;
|
|
1633
1634
|
customer_key?: string | undefined;
|
|
@@ -1640,7 +1641,6 @@ export declare const lock_access_denied_event: z.ZodObject<{
|
|
|
1640
1641
|
acs_user_id?: string | undefined;
|
|
1641
1642
|
acs_entrance_id?: string | undefined;
|
|
1642
1643
|
acs_system_id?: string | undefined;
|
|
1643
|
-
event_description?: string | undefined;
|
|
1644
1644
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1645
1645
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1646
1646
|
}>;
|
|
@@ -1650,7 +1650,7 @@ export declare const lock_jammed_event: z.ZodObject<{
|
|
|
1650
1650
|
workspace_id: z.ZodString;
|
|
1651
1651
|
created_at: z.ZodString;
|
|
1652
1652
|
occurred_at: z.ZodString;
|
|
1653
|
-
event_description: z.
|
|
1653
|
+
event_description: z.ZodString;
|
|
1654
1654
|
} & {
|
|
1655
1655
|
device_id: z.ZodString;
|
|
1656
1656
|
connected_account_id: z.ZodString;
|
|
@@ -1666,9 +1666,9 @@ export declare const lock_jammed_event: z.ZodObject<{
|
|
|
1666
1666
|
connected_account_id: string;
|
|
1667
1667
|
event_id: string;
|
|
1668
1668
|
occurred_at: string;
|
|
1669
|
+
event_description: string;
|
|
1669
1670
|
event_type: "lock.jammed";
|
|
1670
1671
|
customer_key?: string | undefined;
|
|
1671
|
-
event_description?: string | undefined;
|
|
1672
1672
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1673
1673
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1674
1674
|
}, {
|
|
@@ -1678,9 +1678,9 @@ export declare const lock_jammed_event: z.ZodObject<{
|
|
|
1678
1678
|
connected_account_id: string;
|
|
1679
1679
|
event_id: string;
|
|
1680
1680
|
occurred_at: string;
|
|
1681
|
+
event_description: string;
|
|
1681
1682
|
event_type: "lock.jammed";
|
|
1682
1683
|
customer_key?: string | undefined;
|
|
1683
|
-
event_description?: string | undefined;
|
|
1684
1684
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1685
1685
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1686
1686
|
}>;
|
|
@@ -1690,7 +1690,7 @@ export declare const lock_door_opened_event: z.ZodObject<{
|
|
|
1690
1690
|
workspace_id: z.ZodString;
|
|
1691
1691
|
created_at: z.ZodString;
|
|
1692
1692
|
occurred_at: z.ZodString;
|
|
1693
|
-
event_description: z.
|
|
1693
|
+
event_description: z.ZodString;
|
|
1694
1694
|
} & {
|
|
1695
1695
|
device_id: z.ZodString;
|
|
1696
1696
|
connected_account_id: z.ZodString;
|
|
@@ -1706,9 +1706,9 @@ export declare const lock_door_opened_event: z.ZodObject<{
|
|
|
1706
1706
|
connected_account_id: string;
|
|
1707
1707
|
event_id: string;
|
|
1708
1708
|
occurred_at: string;
|
|
1709
|
+
event_description: string;
|
|
1709
1710
|
event_type: "lock.door_opened";
|
|
1710
1711
|
customer_key?: string | undefined;
|
|
1711
|
-
event_description?: string | undefined;
|
|
1712
1712
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1713
1713
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1714
1714
|
}, {
|
|
@@ -1718,9 +1718,9 @@ export declare const lock_door_opened_event: z.ZodObject<{
|
|
|
1718
1718
|
connected_account_id: string;
|
|
1719
1719
|
event_id: string;
|
|
1720
1720
|
occurred_at: string;
|
|
1721
|
+
event_description: string;
|
|
1721
1722
|
event_type: "lock.door_opened";
|
|
1722
1723
|
customer_key?: string | undefined;
|
|
1723
|
-
event_description?: string | undefined;
|
|
1724
1724
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1725
1725
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1726
1726
|
}>;
|
|
@@ -1730,7 +1730,7 @@ export declare const lock_door_closed_event: z.ZodObject<{
|
|
|
1730
1730
|
workspace_id: z.ZodString;
|
|
1731
1731
|
created_at: z.ZodString;
|
|
1732
1732
|
occurred_at: z.ZodString;
|
|
1733
|
-
event_description: z.
|
|
1733
|
+
event_description: z.ZodString;
|
|
1734
1734
|
} & {
|
|
1735
1735
|
device_id: z.ZodString;
|
|
1736
1736
|
connected_account_id: z.ZodString;
|
|
@@ -1746,9 +1746,9 @@ export declare const lock_door_closed_event: z.ZodObject<{
|
|
|
1746
1746
|
connected_account_id: string;
|
|
1747
1747
|
event_id: string;
|
|
1748
1748
|
occurred_at: string;
|
|
1749
|
+
event_description: string;
|
|
1749
1750
|
event_type: "lock.door_closed";
|
|
1750
1751
|
customer_key?: string | undefined;
|
|
1751
|
-
event_description?: string | undefined;
|
|
1752
1752
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1753
1753
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1754
1754
|
}, {
|
|
@@ -1758,9 +1758,9 @@ export declare const lock_door_closed_event: z.ZodObject<{
|
|
|
1758
1758
|
connected_account_id: string;
|
|
1759
1759
|
event_id: string;
|
|
1760
1760
|
occurred_at: string;
|
|
1761
|
+
event_description: string;
|
|
1761
1762
|
event_type: "lock.door_closed";
|
|
1762
1763
|
customer_key?: string | undefined;
|
|
1763
|
-
event_description?: string | undefined;
|
|
1764
1764
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1765
1765
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1766
1766
|
}>;
|
|
@@ -1770,7 +1770,7 @@ export declare const thermostat_climate_preset_activated_event: z.ZodObject<{
|
|
|
1770
1770
|
workspace_id: z.ZodString;
|
|
1771
1771
|
created_at: z.ZodString;
|
|
1772
1772
|
occurred_at: z.ZodString;
|
|
1773
|
-
event_description: z.
|
|
1773
|
+
event_description: z.ZodString;
|
|
1774
1774
|
} & {
|
|
1775
1775
|
device_id: z.ZodString;
|
|
1776
1776
|
connected_account_id: z.ZodString;
|
|
@@ -1791,10 +1791,10 @@ export declare const thermostat_climate_preset_activated_event: z.ZodObject<{
|
|
|
1791
1791
|
connected_account_id: string;
|
|
1792
1792
|
event_id: string;
|
|
1793
1793
|
occurred_at: string;
|
|
1794
|
+
event_description: string;
|
|
1794
1795
|
event_type: "thermostat.climate_preset_activated";
|
|
1795
1796
|
is_fallback_climate_preset: boolean;
|
|
1796
1797
|
customer_key?: string | undefined;
|
|
1797
|
-
event_description?: string | undefined;
|
|
1798
1798
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1799
1799
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1800
1800
|
}, {
|
|
@@ -1806,10 +1806,10 @@ export declare const thermostat_climate_preset_activated_event: z.ZodObject<{
|
|
|
1806
1806
|
connected_account_id: string;
|
|
1807
1807
|
event_id: string;
|
|
1808
1808
|
occurred_at: string;
|
|
1809
|
+
event_description: string;
|
|
1809
1810
|
event_type: "thermostat.climate_preset_activated";
|
|
1810
1811
|
is_fallback_climate_preset: boolean;
|
|
1811
1812
|
customer_key?: string | undefined;
|
|
1812
|
-
event_description?: string | undefined;
|
|
1813
1813
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1814
1814
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1815
1815
|
}>;
|
|
@@ -1820,7 +1820,7 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<{
|
|
|
1820
1820
|
workspace_id: z.ZodString;
|
|
1821
1821
|
created_at: z.ZodString;
|
|
1822
1822
|
occurred_at: z.ZodString;
|
|
1823
|
-
event_description: z.
|
|
1823
|
+
event_description: z.ZodString;
|
|
1824
1824
|
} & {
|
|
1825
1825
|
device_id: z.ZodString;
|
|
1826
1826
|
connected_account_id: z.ZodString;
|
|
@@ -1865,6 +1865,7 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<{
|
|
|
1865
1865
|
connected_account_id: string;
|
|
1866
1866
|
event_id: string;
|
|
1867
1867
|
occurred_at: string;
|
|
1868
|
+
event_description: string;
|
|
1868
1869
|
event_type: "thermostat.manually_adjusted";
|
|
1869
1870
|
method: "seam" | "external";
|
|
1870
1871
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
@@ -1874,7 +1875,6 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<{
|
|
|
1874
1875
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
1875
1876
|
heating_set_point_fahrenheit?: number | undefined;
|
|
1876
1877
|
customer_key?: string | undefined;
|
|
1877
|
-
event_description?: string | undefined;
|
|
1878
1878
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1879
1879
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1880
1880
|
}, {
|
|
@@ -1884,6 +1884,7 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<{
|
|
|
1884
1884
|
connected_account_id: string;
|
|
1885
1885
|
event_id: string;
|
|
1886
1886
|
occurred_at: string;
|
|
1887
|
+
event_description: string;
|
|
1887
1888
|
event_type: "thermostat.manually_adjusted";
|
|
1888
1889
|
method: "seam" | "external";
|
|
1889
1890
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
@@ -1893,7 +1894,6 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<{
|
|
|
1893
1894
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
1894
1895
|
heating_set_point_fahrenheit?: number | undefined;
|
|
1895
1896
|
customer_key?: string | undefined;
|
|
1896
|
-
event_description?: string | undefined;
|
|
1897
1897
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1898
1898
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1899
1899
|
}>;
|
|
@@ -1903,7 +1903,7 @@ export declare const temperature_threshold_exceeded_event: z.ZodObject<{
|
|
|
1903
1903
|
workspace_id: z.ZodString;
|
|
1904
1904
|
created_at: z.ZodString;
|
|
1905
1905
|
occurred_at: z.ZodString;
|
|
1906
|
-
event_description: z.
|
|
1906
|
+
event_description: z.ZodString;
|
|
1907
1907
|
} & {
|
|
1908
1908
|
device_id: z.ZodString;
|
|
1909
1909
|
connected_account_id: z.ZodString;
|
|
@@ -1931,9 +1931,9 @@ export declare const temperature_threshold_exceeded_event: z.ZodObject<{
|
|
|
1931
1931
|
connected_account_id: string;
|
|
1932
1932
|
event_id: string;
|
|
1933
1933
|
occurred_at: string;
|
|
1934
|
+
event_description: string;
|
|
1934
1935
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
1935
1936
|
customer_key?: string | undefined;
|
|
1936
|
-
event_description?: string | undefined;
|
|
1937
1937
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1938
1938
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1939
1939
|
}, {
|
|
@@ -1949,9 +1949,9 @@ export declare const temperature_threshold_exceeded_event: z.ZodObject<{
|
|
|
1949
1949
|
connected_account_id: string;
|
|
1950
1950
|
event_id: string;
|
|
1951
1951
|
occurred_at: string;
|
|
1952
|
+
event_description: string;
|
|
1952
1953
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
1953
1954
|
customer_key?: string | undefined;
|
|
1954
|
-
event_description?: string | undefined;
|
|
1955
1955
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1956
1956
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1957
1957
|
}>;
|
|
@@ -1961,7 +1961,7 @@ export declare const temperature_threshold_no_longer_exceeded_event: z.ZodObject
|
|
|
1961
1961
|
workspace_id: z.ZodString;
|
|
1962
1962
|
created_at: z.ZodString;
|
|
1963
1963
|
occurred_at: z.ZodString;
|
|
1964
|
-
event_description: z.
|
|
1964
|
+
event_description: z.ZodString;
|
|
1965
1965
|
} & {
|
|
1966
1966
|
device_id: z.ZodString;
|
|
1967
1967
|
connected_account_id: z.ZodString;
|
|
@@ -1989,9 +1989,9 @@ export declare const temperature_threshold_no_longer_exceeded_event: z.ZodObject
|
|
|
1989
1989
|
connected_account_id: string;
|
|
1990
1990
|
event_id: string;
|
|
1991
1991
|
occurred_at: string;
|
|
1992
|
+
event_description: string;
|
|
1992
1993
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
1993
1994
|
customer_key?: string | undefined;
|
|
1994
|
-
event_description?: string | undefined;
|
|
1995
1995
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1996
1996
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1997
1997
|
}, {
|
|
@@ -2007,9 +2007,9 @@ export declare const temperature_threshold_no_longer_exceeded_event: z.ZodObject
|
|
|
2007
2007
|
connected_account_id: string;
|
|
2008
2008
|
event_id: string;
|
|
2009
2009
|
occurred_at: string;
|
|
2010
|
+
event_description: string;
|
|
2010
2011
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
2011
2012
|
customer_key?: string | undefined;
|
|
2012
|
-
event_description?: string | undefined;
|
|
2013
2013
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2014
2014
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2015
2015
|
}>;
|
|
@@ -2019,7 +2019,7 @@ export declare const temperature_reached_set_point_event: z.ZodObject<{
|
|
|
2019
2019
|
workspace_id: z.ZodString;
|
|
2020
2020
|
created_at: z.ZodString;
|
|
2021
2021
|
occurred_at: z.ZodString;
|
|
2022
|
-
event_description: z.
|
|
2022
|
+
event_description: z.ZodString;
|
|
2023
2023
|
} & {
|
|
2024
2024
|
device_id: z.ZodString;
|
|
2025
2025
|
connected_account_id: z.ZodString;
|
|
@@ -2041,9 +2041,9 @@ export declare const temperature_reached_set_point_event: z.ZodObject<{
|
|
|
2041
2041
|
connected_account_id: string;
|
|
2042
2042
|
event_id: string;
|
|
2043
2043
|
occurred_at: string;
|
|
2044
|
+
event_description: string;
|
|
2044
2045
|
event_type: "thermostat.temperature_reached_set_point";
|
|
2045
2046
|
customer_key?: string | undefined;
|
|
2046
|
-
event_description?: string | undefined;
|
|
2047
2047
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2048
2048
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2049
2049
|
desired_temperature_celsius?: number | undefined;
|
|
@@ -2057,9 +2057,9 @@ export declare const temperature_reached_set_point_event: z.ZodObject<{
|
|
|
2057
2057
|
connected_account_id: string;
|
|
2058
2058
|
event_id: string;
|
|
2059
2059
|
occurred_at: string;
|
|
2060
|
+
event_description: string;
|
|
2060
2061
|
event_type: "thermostat.temperature_reached_set_point";
|
|
2061
2062
|
customer_key?: string | undefined;
|
|
2062
|
-
event_description?: string | undefined;
|
|
2063
2063
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2064
2064
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2065
2065
|
desired_temperature_celsius?: number | undefined;
|
|
@@ -2071,7 +2071,7 @@ export declare const temperature_changed_event: z.ZodObject<{
|
|
|
2071
2071
|
workspace_id: z.ZodString;
|
|
2072
2072
|
created_at: z.ZodString;
|
|
2073
2073
|
occurred_at: z.ZodString;
|
|
2074
|
-
event_description: z.
|
|
2074
|
+
event_description: z.ZodString;
|
|
2075
2075
|
} & {
|
|
2076
2076
|
device_id: z.ZodString;
|
|
2077
2077
|
connected_account_id: z.ZodString;
|
|
@@ -2091,9 +2091,9 @@ export declare const temperature_changed_event: z.ZodObject<{
|
|
|
2091
2091
|
connected_account_id: string;
|
|
2092
2092
|
event_id: string;
|
|
2093
2093
|
occurred_at: string;
|
|
2094
|
+
event_description: string;
|
|
2094
2095
|
event_type: "thermostat.temperature_changed";
|
|
2095
2096
|
customer_key?: string | undefined;
|
|
2096
|
-
event_description?: string | undefined;
|
|
2097
2097
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2098
2098
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2099
2099
|
}, {
|
|
@@ -2105,19 +2105,170 @@ export declare const temperature_changed_event: z.ZodObject<{
|
|
|
2105
2105
|
connected_account_id: string;
|
|
2106
2106
|
event_id: string;
|
|
2107
2107
|
occurred_at: string;
|
|
2108
|
+
event_description: string;
|
|
2108
2109
|
event_type: "thermostat.temperature_changed";
|
|
2109
2110
|
customer_key?: string | undefined;
|
|
2110
|
-
event_description?: string | undefined;
|
|
2111
2111
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2112
2112
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2113
2113
|
}>;
|
|
2114
2114
|
export type TemperatureChangedEvent = z.infer<typeof temperature_changed_event>;
|
|
2115
|
+
export declare const pool_temperature_changed_event: z.ZodObject<{
|
|
2116
|
+
event_id: z.ZodString;
|
|
2117
|
+
workspace_id: z.ZodString;
|
|
2118
|
+
created_at: z.ZodString;
|
|
2119
|
+
occurred_at: z.ZodString;
|
|
2120
|
+
event_description: z.ZodString;
|
|
2121
|
+
} & {
|
|
2122
|
+
device_id: z.ZodString;
|
|
2123
|
+
connected_account_id: z.ZodString;
|
|
2124
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2125
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2126
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2127
|
+
} & {
|
|
2128
|
+
event_type: z.ZodLiteral<"pool.temperature_changed">;
|
|
2129
|
+
temperature_celsius: z.ZodNumber;
|
|
2130
|
+
temperature_fahrenheit: z.ZodNumber;
|
|
2131
|
+
}, "strip", z.ZodTypeAny, {
|
|
2132
|
+
device_id: string;
|
|
2133
|
+
workspace_id: string;
|
|
2134
|
+
created_at: string;
|
|
2135
|
+
temperature_fahrenheit: number;
|
|
2136
|
+
temperature_celsius: number;
|
|
2137
|
+
connected_account_id: string;
|
|
2138
|
+
event_id: string;
|
|
2139
|
+
occurred_at: string;
|
|
2140
|
+
event_description: string;
|
|
2141
|
+
event_type: "pool.temperature_changed";
|
|
2142
|
+
customer_key?: string | undefined;
|
|
2143
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2144
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2145
|
+
}, {
|
|
2146
|
+
device_id: string;
|
|
2147
|
+
workspace_id: string;
|
|
2148
|
+
created_at: string;
|
|
2149
|
+
temperature_fahrenheit: number;
|
|
2150
|
+
temperature_celsius: number;
|
|
2151
|
+
connected_account_id: string;
|
|
2152
|
+
event_id: string;
|
|
2153
|
+
occurred_at: string;
|
|
2154
|
+
event_description: string;
|
|
2155
|
+
event_type: "pool.temperature_changed";
|
|
2156
|
+
customer_key?: string | undefined;
|
|
2157
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2158
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2159
|
+
}>;
|
|
2160
|
+
export type PoolTemperatureChangedEvent = z.infer<typeof pool_temperature_changed_event>;
|
|
2161
|
+
export declare const pool_temperature_reached_set_point_event: z.ZodObject<{
|
|
2162
|
+
event_id: z.ZodString;
|
|
2163
|
+
workspace_id: z.ZodString;
|
|
2164
|
+
created_at: z.ZodString;
|
|
2165
|
+
occurred_at: z.ZodString;
|
|
2166
|
+
event_description: z.ZodString;
|
|
2167
|
+
} & {
|
|
2168
|
+
device_id: z.ZodString;
|
|
2169
|
+
connected_account_id: z.ZodString;
|
|
2170
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2171
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2172
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2173
|
+
} & {
|
|
2174
|
+
event_type: z.ZodLiteral<"pool.temperature_reached_set_point">;
|
|
2175
|
+
temperature_celsius: z.ZodNumber;
|
|
2176
|
+
temperature_fahrenheit: z.ZodNumber;
|
|
2177
|
+
desired_temperature_celsius: z.ZodNumber;
|
|
2178
|
+
desired_temperature_fahrenheit: z.ZodNumber;
|
|
2179
|
+
}, "strip", z.ZodTypeAny, {
|
|
2180
|
+
device_id: string;
|
|
2181
|
+
workspace_id: string;
|
|
2182
|
+
created_at: string;
|
|
2183
|
+
temperature_fahrenheit: number;
|
|
2184
|
+
temperature_celsius: number;
|
|
2185
|
+
connected_account_id: string;
|
|
2186
|
+
event_id: string;
|
|
2187
|
+
occurred_at: string;
|
|
2188
|
+
event_description: string;
|
|
2189
|
+
event_type: "pool.temperature_reached_set_point";
|
|
2190
|
+
desired_temperature_celsius: number;
|
|
2191
|
+
desired_temperature_fahrenheit: number;
|
|
2192
|
+
customer_key?: string | undefined;
|
|
2193
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2194
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2195
|
+
}, {
|
|
2196
|
+
device_id: string;
|
|
2197
|
+
workspace_id: string;
|
|
2198
|
+
created_at: string;
|
|
2199
|
+
temperature_fahrenheit: number;
|
|
2200
|
+
temperature_celsius: number;
|
|
2201
|
+
connected_account_id: string;
|
|
2202
|
+
event_id: string;
|
|
2203
|
+
occurred_at: string;
|
|
2204
|
+
event_description: string;
|
|
2205
|
+
event_type: "pool.temperature_reached_set_point";
|
|
2206
|
+
desired_temperature_celsius: number;
|
|
2207
|
+
desired_temperature_fahrenheit: number;
|
|
2208
|
+
customer_key?: string | undefined;
|
|
2209
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2210
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2211
|
+
}>;
|
|
2212
|
+
export type PoolTemperatureReachedSetPointEvent = z.infer<typeof pool_temperature_reached_set_point_event>;
|
|
2213
|
+
export declare const pool_manually_adjusted_method: z.ZodEnum<["seam", "external"]>;
|
|
2214
|
+
export declare const pool_manually_adjusted_event: z.ZodObject<{
|
|
2215
|
+
event_id: z.ZodString;
|
|
2216
|
+
workspace_id: z.ZodString;
|
|
2217
|
+
created_at: z.ZodString;
|
|
2218
|
+
occurred_at: z.ZodString;
|
|
2219
|
+
event_description: z.ZodString;
|
|
2220
|
+
} & {
|
|
2221
|
+
device_id: z.ZodString;
|
|
2222
|
+
connected_account_id: z.ZodString;
|
|
2223
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2224
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2225
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2226
|
+
} & {
|
|
2227
|
+
event_type: z.ZodLiteral<"pool.manually_adjusted">;
|
|
2228
|
+
method: z.ZodEnum<["seam", "external"]>;
|
|
2229
|
+
controller_mode: z.ZodOptional<z.ZodEnum<["heat", "off"]>>;
|
|
2230
|
+
heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
2231
|
+
heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
2232
|
+
}, "strip", z.ZodTypeAny, {
|
|
2233
|
+
device_id: string;
|
|
2234
|
+
workspace_id: string;
|
|
2235
|
+
created_at: string;
|
|
2236
|
+
connected_account_id: string;
|
|
2237
|
+
event_id: string;
|
|
2238
|
+
occurred_at: string;
|
|
2239
|
+
event_description: string;
|
|
2240
|
+
event_type: "pool.manually_adjusted";
|
|
2241
|
+
method: "seam" | "external";
|
|
2242
|
+
heating_set_point_celsius?: number | undefined;
|
|
2243
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
2244
|
+
customer_key?: string | undefined;
|
|
2245
|
+
controller_mode?: "off" | "heat" | undefined;
|
|
2246
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2247
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2248
|
+
}, {
|
|
2249
|
+
device_id: string;
|
|
2250
|
+
workspace_id: string;
|
|
2251
|
+
created_at: string;
|
|
2252
|
+
connected_account_id: string;
|
|
2253
|
+
event_id: string;
|
|
2254
|
+
occurred_at: string;
|
|
2255
|
+
event_description: string;
|
|
2256
|
+
event_type: "pool.manually_adjusted";
|
|
2257
|
+
method: "seam" | "external";
|
|
2258
|
+
heating_set_point_celsius?: number | undefined;
|
|
2259
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
2260
|
+
customer_key?: string | undefined;
|
|
2261
|
+
controller_mode?: "off" | "heat" | undefined;
|
|
2262
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2263
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2264
|
+
}>;
|
|
2265
|
+
export type PoolManuallyAdjustedEvent = z.infer<typeof pool_manually_adjusted_event>;
|
|
2115
2266
|
export declare const device_name_changed_event: z.ZodObject<{
|
|
2116
2267
|
event_id: z.ZodString;
|
|
2117
2268
|
workspace_id: z.ZodString;
|
|
2118
2269
|
created_at: z.ZodString;
|
|
2119
2270
|
occurred_at: z.ZodString;
|
|
2120
|
-
event_description: z.
|
|
2271
|
+
event_description: z.ZodString;
|
|
2121
2272
|
} & {
|
|
2122
2273
|
device_id: z.ZodString;
|
|
2123
2274
|
connected_account_id: z.ZodString;
|
|
@@ -2135,9 +2286,9 @@ export declare const device_name_changed_event: z.ZodObject<{
|
|
|
2135
2286
|
device_name: string;
|
|
2136
2287
|
event_id: string;
|
|
2137
2288
|
occurred_at: string;
|
|
2289
|
+
event_description: string;
|
|
2138
2290
|
event_type: "device.name_changed";
|
|
2139
2291
|
customer_key?: string | undefined;
|
|
2140
|
-
event_description?: string | undefined;
|
|
2141
2292
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2142
2293
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2143
2294
|
}, {
|
|
@@ -2148,9 +2299,9 @@ export declare const device_name_changed_event: z.ZodObject<{
|
|
|
2148
2299
|
device_name: string;
|
|
2149
2300
|
event_id: string;
|
|
2150
2301
|
occurred_at: string;
|
|
2302
|
+
event_description: string;
|
|
2151
2303
|
event_type: "device.name_changed";
|
|
2152
2304
|
customer_key?: string | undefined;
|
|
2153
|
-
event_description?: string | undefined;
|
|
2154
2305
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2155
2306
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2156
2307
|
}>;
|
|
@@ -2160,7 +2311,7 @@ export declare const camera_activated_event: z.ZodObject<{
|
|
|
2160
2311
|
workspace_id: z.ZodString;
|
|
2161
2312
|
created_at: z.ZodString;
|
|
2162
2313
|
occurred_at: z.ZodString;
|
|
2163
|
-
event_description: z.
|
|
2314
|
+
event_description: z.ZodString;
|
|
2164
2315
|
} & {
|
|
2165
2316
|
device_id: z.ZodString;
|
|
2166
2317
|
connected_account_id: z.ZodString;
|
|
@@ -2181,10 +2332,10 @@ export declare const camera_activated_event: z.ZodObject<{
|
|
|
2181
2332
|
connected_account_id: string;
|
|
2182
2333
|
event_id: string;
|
|
2183
2334
|
occurred_at: string;
|
|
2335
|
+
event_description: string;
|
|
2184
2336
|
event_type: "camera.activated";
|
|
2185
2337
|
image_url?: string | undefined;
|
|
2186
2338
|
customer_key?: string | undefined;
|
|
2187
|
-
event_description?: string | undefined;
|
|
2188
2339
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2189
2340
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2190
2341
|
is_motion_detected?: boolean | undefined;
|
|
@@ -2198,10 +2349,10 @@ export declare const camera_activated_event: z.ZodObject<{
|
|
|
2198
2349
|
connected_account_id: string;
|
|
2199
2350
|
event_id: string;
|
|
2200
2351
|
occurred_at: string;
|
|
2352
|
+
event_description: string;
|
|
2201
2353
|
event_type: "camera.activated";
|
|
2202
2354
|
image_url?: string | undefined;
|
|
2203
2355
|
customer_key?: string | undefined;
|
|
2204
|
-
event_description?: string | undefined;
|
|
2205
2356
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2206
2357
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2207
2358
|
is_motion_detected?: boolean | undefined;
|
|
@@ -2215,7 +2366,7 @@ export declare const device_doorbell_rang_event: z.ZodObject<{
|
|
|
2215
2366
|
workspace_id: z.ZodString;
|
|
2216
2367
|
created_at: z.ZodString;
|
|
2217
2368
|
occurred_at: z.ZodString;
|
|
2218
|
-
event_description: z.
|
|
2369
|
+
event_description: z.ZodString;
|
|
2219
2370
|
} & {
|
|
2220
2371
|
device_id: z.ZodString;
|
|
2221
2372
|
connected_account_id: z.ZodString;
|
|
@@ -2234,10 +2385,10 @@ export declare const device_doorbell_rang_event: z.ZodObject<{
|
|
|
2234
2385
|
connected_account_id: string;
|
|
2235
2386
|
event_id: string;
|
|
2236
2387
|
occurred_at: string;
|
|
2388
|
+
event_description: string;
|
|
2237
2389
|
event_type: "device.doorbell_rang";
|
|
2238
2390
|
image_url?: string | undefined;
|
|
2239
2391
|
customer_key?: string | undefined;
|
|
2240
|
-
event_description?: string | undefined;
|
|
2241
2392
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2242
2393
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2243
2394
|
video_url?: string | undefined;
|
|
@@ -2249,10 +2400,10 @@ export declare const device_doorbell_rang_event: z.ZodObject<{
|
|
|
2249
2400
|
connected_account_id: string;
|
|
2250
2401
|
event_id: string;
|
|
2251
2402
|
occurred_at: string;
|
|
2403
|
+
event_description: string;
|
|
2252
2404
|
event_type: "device.doorbell_rang";
|
|
2253
2405
|
image_url?: string | undefined;
|
|
2254
2406
|
customer_key?: string | undefined;
|
|
2255
|
-
event_description?: string | undefined;
|
|
2256
2407
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2257
2408
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2258
2409
|
video_url?: string | undefined;
|
|
@@ -2264,7 +2415,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2264
2415
|
workspace_id: z.ZodString;
|
|
2265
2416
|
created_at: z.ZodString;
|
|
2266
2417
|
occurred_at: z.ZodString;
|
|
2267
|
-
event_description: z.
|
|
2418
|
+
event_description: z.ZodString;
|
|
2268
2419
|
} & {
|
|
2269
2420
|
device_id: z.ZodString;
|
|
2270
2421
|
connected_account_id: z.ZodString;
|
|
@@ -2280,9 +2431,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2280
2431
|
connected_account_id: string;
|
|
2281
2432
|
event_id: string;
|
|
2282
2433
|
occurred_at: string;
|
|
2434
|
+
event_description: string;
|
|
2283
2435
|
event_type: "device.connected";
|
|
2284
2436
|
customer_key?: string | undefined;
|
|
2285
|
-
event_description?: string | undefined;
|
|
2286
2437
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2287
2438
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2288
2439
|
}, {
|
|
@@ -2292,9 +2443,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2292
2443
|
connected_account_id: string;
|
|
2293
2444
|
event_id: string;
|
|
2294
2445
|
occurred_at: string;
|
|
2446
|
+
event_description: string;
|
|
2295
2447
|
event_type: "device.connected";
|
|
2296
2448
|
customer_key?: string | undefined;
|
|
2297
|
-
event_description?: string | undefined;
|
|
2298
2449
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2299
2450
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2300
2451
|
}>, z.ZodObject<{
|
|
@@ -2302,7 +2453,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2302
2453
|
workspace_id: z.ZodString;
|
|
2303
2454
|
created_at: z.ZodString;
|
|
2304
2455
|
occurred_at: z.ZodString;
|
|
2305
|
-
event_description: z.
|
|
2456
|
+
event_description: z.ZodString;
|
|
2306
2457
|
} & {
|
|
2307
2458
|
device_id: z.ZodString;
|
|
2308
2459
|
connected_account_id: z.ZodString;
|
|
@@ -2318,9 +2469,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2318
2469
|
connected_account_id: string;
|
|
2319
2470
|
event_id: string;
|
|
2320
2471
|
occurred_at: string;
|
|
2472
|
+
event_description: string;
|
|
2321
2473
|
event_type: "device.added";
|
|
2322
2474
|
customer_key?: string | undefined;
|
|
2323
|
-
event_description?: string | undefined;
|
|
2324
2475
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2325
2476
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2326
2477
|
}, {
|
|
@@ -2330,9 +2481,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2330
2481
|
connected_account_id: string;
|
|
2331
2482
|
event_id: string;
|
|
2332
2483
|
occurred_at: string;
|
|
2484
|
+
event_description: string;
|
|
2333
2485
|
event_type: "device.added";
|
|
2334
2486
|
customer_key?: string | undefined;
|
|
2335
|
-
event_description?: string | undefined;
|
|
2336
2487
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2337
2488
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2338
2489
|
}>, z.ZodObject<{
|
|
@@ -2340,7 +2491,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2340
2491
|
workspace_id: z.ZodString;
|
|
2341
2492
|
created_at: z.ZodString;
|
|
2342
2493
|
occurred_at: z.ZodString;
|
|
2343
|
-
event_description: z.
|
|
2494
|
+
event_description: z.ZodString;
|
|
2344
2495
|
} & {
|
|
2345
2496
|
device_id: z.ZodString;
|
|
2346
2497
|
connected_account_id: z.ZodString;
|
|
@@ -2356,9 +2507,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2356
2507
|
connected_account_id: string;
|
|
2357
2508
|
event_id: string;
|
|
2358
2509
|
occurred_at: string;
|
|
2510
|
+
event_description: string;
|
|
2359
2511
|
event_type: "device.converted_to_unmanaged";
|
|
2360
2512
|
customer_key?: string | undefined;
|
|
2361
|
-
event_description?: string | undefined;
|
|
2362
2513
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2363
2514
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2364
2515
|
}, {
|
|
@@ -2368,9 +2519,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2368
2519
|
connected_account_id: string;
|
|
2369
2520
|
event_id: string;
|
|
2370
2521
|
occurred_at: string;
|
|
2522
|
+
event_description: string;
|
|
2371
2523
|
event_type: "device.converted_to_unmanaged";
|
|
2372
2524
|
customer_key?: string | undefined;
|
|
2373
|
-
event_description?: string | undefined;
|
|
2374
2525
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2375
2526
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2376
2527
|
}>, z.ZodObject<{
|
|
@@ -2378,7 +2529,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2378
2529
|
workspace_id: z.ZodString;
|
|
2379
2530
|
created_at: z.ZodString;
|
|
2380
2531
|
occurred_at: z.ZodString;
|
|
2381
|
-
event_description: z.
|
|
2532
|
+
event_description: z.ZodString;
|
|
2382
2533
|
} & {
|
|
2383
2534
|
device_id: z.ZodString;
|
|
2384
2535
|
connected_account_id: z.ZodString;
|
|
@@ -2394,9 +2545,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2394
2545
|
connected_account_id: string;
|
|
2395
2546
|
event_id: string;
|
|
2396
2547
|
occurred_at: string;
|
|
2548
|
+
event_description: string;
|
|
2397
2549
|
event_type: "device.unmanaged.converted_to_managed";
|
|
2398
2550
|
customer_key?: string | undefined;
|
|
2399
|
-
event_description?: string | undefined;
|
|
2400
2551
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2401
2552
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2402
2553
|
}, {
|
|
@@ -2406,9 +2557,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2406
2557
|
connected_account_id: string;
|
|
2407
2558
|
event_id: string;
|
|
2408
2559
|
occurred_at: string;
|
|
2560
|
+
event_description: string;
|
|
2409
2561
|
event_type: "device.unmanaged.converted_to_managed";
|
|
2410
2562
|
customer_key?: string | undefined;
|
|
2411
|
-
event_description?: string | undefined;
|
|
2412
2563
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2413
2564
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2414
2565
|
}>, z.ZodObject<{
|
|
@@ -2416,7 +2567,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2416
2567
|
workspace_id: z.ZodString;
|
|
2417
2568
|
created_at: z.ZodString;
|
|
2418
2569
|
occurred_at: z.ZodString;
|
|
2419
|
-
event_description: z.
|
|
2570
|
+
event_description: z.ZodString;
|
|
2420
2571
|
} & {
|
|
2421
2572
|
device_id: z.ZodString;
|
|
2422
2573
|
connected_account_id: z.ZodString;
|
|
@@ -2432,9 +2583,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2432
2583
|
connected_account_id: string;
|
|
2433
2584
|
event_id: string;
|
|
2434
2585
|
occurred_at: string;
|
|
2586
|
+
event_description: string;
|
|
2435
2587
|
event_type: "device.unmanaged.connected";
|
|
2436
2588
|
customer_key?: string | undefined;
|
|
2437
|
-
event_description?: string | undefined;
|
|
2438
2589
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2439
2590
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2440
2591
|
}, {
|
|
@@ -2444,9 +2595,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2444
2595
|
connected_account_id: string;
|
|
2445
2596
|
event_id: string;
|
|
2446
2597
|
occurred_at: string;
|
|
2598
|
+
event_description: string;
|
|
2447
2599
|
event_type: "device.unmanaged.connected";
|
|
2448
2600
|
customer_key?: string | undefined;
|
|
2449
|
-
event_description?: string | undefined;
|
|
2450
2601
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2451
2602
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2452
2603
|
}>, z.ZodObject<{
|
|
@@ -2454,7 +2605,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2454
2605
|
workspace_id: z.ZodString;
|
|
2455
2606
|
created_at: z.ZodString;
|
|
2456
2607
|
occurred_at: z.ZodString;
|
|
2457
|
-
event_description: z.
|
|
2608
|
+
event_description: z.ZodString;
|
|
2458
2609
|
} & {
|
|
2459
2610
|
device_id: z.ZodString;
|
|
2460
2611
|
connected_account_id: z.ZodString;
|
|
@@ -2525,6 +2676,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2525
2676
|
connected_account_id: string;
|
|
2526
2677
|
event_id: string;
|
|
2527
2678
|
occurred_at: string;
|
|
2679
|
+
event_description: string;
|
|
2528
2680
|
event_type: "device.disconnected";
|
|
2529
2681
|
connected_account_errors: {
|
|
2530
2682
|
message: string;
|
|
@@ -2547,7 +2699,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2547
2699
|
warning_code: string;
|
|
2548
2700
|
}[];
|
|
2549
2701
|
customer_key?: string | undefined;
|
|
2550
|
-
event_description?: string | undefined;
|
|
2551
2702
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2552
2703
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2553
2704
|
}, {
|
|
@@ -2558,6 +2709,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2558
2709
|
connected_account_id: string;
|
|
2559
2710
|
event_id: string;
|
|
2560
2711
|
occurred_at: string;
|
|
2712
|
+
event_description: string;
|
|
2561
2713
|
event_type: "device.disconnected";
|
|
2562
2714
|
connected_account_errors: {
|
|
2563
2715
|
message: string;
|
|
@@ -2580,7 +2732,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2580
2732
|
warning_code: string;
|
|
2581
2733
|
}[];
|
|
2582
2734
|
customer_key?: string | undefined;
|
|
2583
|
-
event_description?: string | undefined;
|
|
2584
2735
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2585
2736
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2586
2737
|
}>, z.ZodObject<{
|
|
@@ -2588,7 +2739,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2588
2739
|
workspace_id: z.ZodString;
|
|
2589
2740
|
created_at: z.ZodString;
|
|
2590
2741
|
occurred_at: z.ZodString;
|
|
2591
|
-
event_description: z.
|
|
2742
|
+
event_description: z.ZodString;
|
|
2592
2743
|
} & {
|
|
2593
2744
|
device_id: z.ZodString;
|
|
2594
2745
|
connected_account_id: z.ZodString;
|
|
@@ -2659,6 +2810,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2659
2810
|
connected_account_id: string;
|
|
2660
2811
|
event_id: string;
|
|
2661
2812
|
occurred_at: string;
|
|
2813
|
+
event_description: string;
|
|
2662
2814
|
event_type: "device.unmanaged.disconnected";
|
|
2663
2815
|
connected_account_errors: {
|
|
2664
2816
|
message: string;
|
|
@@ -2681,7 +2833,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2681
2833
|
warning_code: string;
|
|
2682
2834
|
}[];
|
|
2683
2835
|
customer_key?: string | undefined;
|
|
2684
|
-
event_description?: string | undefined;
|
|
2685
2836
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2686
2837
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2687
2838
|
}, {
|
|
@@ -2692,6 +2843,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2692
2843
|
connected_account_id: string;
|
|
2693
2844
|
event_id: string;
|
|
2694
2845
|
occurred_at: string;
|
|
2846
|
+
event_description: string;
|
|
2695
2847
|
event_type: "device.unmanaged.disconnected";
|
|
2696
2848
|
connected_account_errors: {
|
|
2697
2849
|
message: string;
|
|
@@ -2714,7 +2866,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2714
2866
|
warning_code: string;
|
|
2715
2867
|
}[];
|
|
2716
2868
|
customer_key?: string | undefined;
|
|
2717
|
-
event_description?: string | undefined;
|
|
2718
2869
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2719
2870
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2720
2871
|
}>, z.ZodObject<{
|
|
@@ -2722,7 +2873,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2722
2873
|
workspace_id: z.ZodString;
|
|
2723
2874
|
created_at: z.ZodString;
|
|
2724
2875
|
occurred_at: z.ZodString;
|
|
2725
|
-
event_description: z.
|
|
2876
|
+
event_description: z.ZodString;
|
|
2726
2877
|
} & {
|
|
2727
2878
|
device_id: z.ZodString;
|
|
2728
2879
|
connected_account_id: z.ZodString;
|
|
@@ -2738,9 +2889,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2738
2889
|
connected_account_id: string;
|
|
2739
2890
|
event_id: string;
|
|
2740
2891
|
occurred_at: string;
|
|
2892
|
+
event_description: string;
|
|
2741
2893
|
event_type: "device.tampered";
|
|
2742
2894
|
customer_key?: string | undefined;
|
|
2743
|
-
event_description?: string | undefined;
|
|
2744
2895
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2745
2896
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2746
2897
|
}, {
|
|
@@ -2750,9 +2901,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2750
2901
|
connected_account_id: string;
|
|
2751
2902
|
event_id: string;
|
|
2752
2903
|
occurred_at: string;
|
|
2904
|
+
event_description: string;
|
|
2753
2905
|
event_type: "device.tampered";
|
|
2754
2906
|
customer_key?: string | undefined;
|
|
2755
|
-
event_description?: string | undefined;
|
|
2756
2907
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2757
2908
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2758
2909
|
}>, z.ZodObject<{
|
|
@@ -2760,7 +2911,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2760
2911
|
workspace_id: z.ZodString;
|
|
2761
2912
|
created_at: z.ZodString;
|
|
2762
2913
|
occurred_at: z.ZodString;
|
|
2763
|
-
event_description: z.
|
|
2914
|
+
event_description: z.ZodString;
|
|
2764
2915
|
} & {
|
|
2765
2916
|
device_id: z.ZodString;
|
|
2766
2917
|
connected_account_id: z.ZodString;
|
|
@@ -2780,9 +2931,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2780
2931
|
battery_level: number;
|
|
2781
2932
|
event_id: string;
|
|
2782
2933
|
occurred_at: string;
|
|
2934
|
+
event_description: string;
|
|
2783
2935
|
event_type: "device.low_battery";
|
|
2784
2936
|
customer_key?: string | undefined;
|
|
2785
|
-
event_description?: string | undefined;
|
|
2786
2937
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2787
2938
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2788
2939
|
device_battery_level?: number | undefined;
|
|
@@ -2795,9 +2946,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2795
2946
|
battery_level: number;
|
|
2796
2947
|
event_id: string;
|
|
2797
2948
|
occurred_at: string;
|
|
2949
|
+
event_description: string;
|
|
2798
2950
|
event_type: "device.low_battery";
|
|
2799
2951
|
customer_key?: string | undefined;
|
|
2800
|
-
event_description?: string | undefined;
|
|
2801
2952
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2802
2953
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2803
2954
|
device_battery_level?: number | undefined;
|
|
@@ -2807,7 +2958,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2807
2958
|
workspace_id: z.ZodString;
|
|
2808
2959
|
created_at: z.ZodString;
|
|
2809
2960
|
occurred_at: z.ZodString;
|
|
2810
|
-
event_description: z.
|
|
2961
|
+
event_description: z.ZodString;
|
|
2811
2962
|
} & {
|
|
2812
2963
|
device_id: z.ZodString;
|
|
2813
2964
|
connected_account_id: z.ZodString;
|
|
@@ -2826,10 +2977,10 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2826
2977
|
battery_level: number;
|
|
2827
2978
|
event_id: string;
|
|
2828
2979
|
occurred_at: string;
|
|
2980
|
+
event_description: string;
|
|
2829
2981
|
event_type: "device.battery_status_changed";
|
|
2830
2982
|
battery_status: "critical" | "low" | "good" | "full";
|
|
2831
2983
|
customer_key?: string | undefined;
|
|
2832
|
-
event_description?: string | undefined;
|
|
2833
2984
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2834
2985
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2835
2986
|
}, {
|
|
@@ -2840,10 +2991,10 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2840
2991
|
battery_level: number;
|
|
2841
2992
|
event_id: string;
|
|
2842
2993
|
occurred_at: string;
|
|
2994
|
+
event_description: string;
|
|
2843
2995
|
event_type: "device.battery_status_changed";
|
|
2844
2996
|
battery_status: "critical" | "low" | "good" | "full";
|
|
2845
2997
|
customer_key?: string | undefined;
|
|
2846
|
-
event_description?: string | undefined;
|
|
2847
2998
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2848
2999
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2849
3000
|
}>, z.ZodObject<{
|
|
@@ -2851,7 +3002,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2851
3002
|
workspace_id: z.ZodString;
|
|
2852
3003
|
created_at: z.ZodString;
|
|
2853
3004
|
occurred_at: z.ZodString;
|
|
2854
|
-
event_description: z.
|
|
3005
|
+
event_description: z.ZodString;
|
|
2855
3006
|
} & {
|
|
2856
3007
|
device_id: z.ZodString;
|
|
2857
3008
|
connected_account_id: z.ZodString;
|
|
@@ -2867,9 +3018,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2867
3018
|
connected_account_id: string;
|
|
2868
3019
|
event_id: string;
|
|
2869
3020
|
occurred_at: string;
|
|
3021
|
+
event_description: string;
|
|
2870
3022
|
event_type: "device.removed";
|
|
2871
3023
|
customer_key?: string | undefined;
|
|
2872
|
-
event_description?: string | undefined;
|
|
2873
3024
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2874
3025
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2875
3026
|
}, {
|
|
@@ -2879,9 +3030,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2879
3030
|
connected_account_id: string;
|
|
2880
3031
|
event_id: string;
|
|
2881
3032
|
occurred_at: string;
|
|
3033
|
+
event_description: string;
|
|
2882
3034
|
event_type: "device.removed";
|
|
2883
3035
|
customer_key?: string | undefined;
|
|
2884
|
-
event_description?: string | undefined;
|
|
2885
3036
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2886
3037
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2887
3038
|
}>, z.ZodObject<{
|
|
@@ -2889,7 +3040,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2889
3040
|
workspace_id: z.ZodString;
|
|
2890
3041
|
created_at: z.ZodString;
|
|
2891
3042
|
occurred_at: z.ZodString;
|
|
2892
|
-
event_description: z.
|
|
3043
|
+
event_description: z.ZodString;
|
|
2893
3044
|
} & {
|
|
2894
3045
|
device_id: z.ZodString;
|
|
2895
3046
|
connected_account_id: z.ZodString;
|
|
@@ -2906,10 +3057,10 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2906
3057
|
connected_account_id: string;
|
|
2907
3058
|
event_id: string;
|
|
2908
3059
|
occurred_at: string;
|
|
3060
|
+
event_description: string;
|
|
2909
3061
|
event_type: "device.deleted";
|
|
2910
3062
|
customer_key?: string | undefined;
|
|
2911
3063
|
device_name?: string | null | undefined;
|
|
2912
|
-
event_description?: string | undefined;
|
|
2913
3064
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2914
3065
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2915
3066
|
}, {
|
|
@@ -2919,10 +3070,10 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2919
3070
|
connected_account_id: string;
|
|
2920
3071
|
event_id: string;
|
|
2921
3072
|
occurred_at: string;
|
|
3073
|
+
event_description: string;
|
|
2922
3074
|
event_type: "device.deleted";
|
|
2923
3075
|
customer_key?: string | undefined;
|
|
2924
3076
|
device_name?: string | null | undefined;
|
|
2925
|
-
event_description?: string | undefined;
|
|
2926
3077
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2927
3078
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2928
3079
|
}>, z.ZodObject<{
|
|
@@ -2930,7 +3081,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2930
3081
|
workspace_id: z.ZodString;
|
|
2931
3082
|
created_at: z.ZodString;
|
|
2932
3083
|
occurred_at: z.ZodString;
|
|
2933
|
-
event_description: z.
|
|
3084
|
+
event_description: z.ZodString;
|
|
2934
3085
|
} & {
|
|
2935
3086
|
device_id: z.ZodString;
|
|
2936
3087
|
connected_account_id: z.ZodString;
|
|
@@ -2946,9 +3097,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2946
3097
|
connected_account_id: string;
|
|
2947
3098
|
event_id: string;
|
|
2948
3099
|
occurred_at: string;
|
|
3100
|
+
event_description: string;
|
|
2949
3101
|
event_type: "device.third_party_integration_detected";
|
|
2950
3102
|
customer_key?: string | undefined;
|
|
2951
|
-
event_description?: string | undefined;
|
|
2952
3103
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2953
3104
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2954
3105
|
}, {
|
|
@@ -2958,9 +3109,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2958
3109
|
connected_account_id: string;
|
|
2959
3110
|
event_id: string;
|
|
2960
3111
|
occurred_at: string;
|
|
3112
|
+
event_description: string;
|
|
2961
3113
|
event_type: "device.third_party_integration_detected";
|
|
2962
3114
|
customer_key?: string | undefined;
|
|
2963
|
-
event_description?: string | undefined;
|
|
2964
3115
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2965
3116
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2966
3117
|
}>, z.ZodObject<{
|
|
@@ -2968,7 +3119,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2968
3119
|
workspace_id: z.ZodString;
|
|
2969
3120
|
created_at: z.ZodString;
|
|
2970
3121
|
occurred_at: z.ZodString;
|
|
2971
|
-
event_description: z.
|
|
3122
|
+
event_description: z.ZodString;
|
|
2972
3123
|
} & {
|
|
2973
3124
|
device_id: z.ZodString;
|
|
2974
3125
|
connected_account_id: z.ZodString;
|
|
@@ -2984,9 +3135,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2984
3135
|
connected_account_id: string;
|
|
2985
3136
|
event_id: string;
|
|
2986
3137
|
occurred_at: string;
|
|
3138
|
+
event_description: string;
|
|
2987
3139
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
2988
3140
|
customer_key?: string | undefined;
|
|
2989
|
-
event_description?: string | undefined;
|
|
2990
3141
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2991
3142
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2992
3143
|
}, {
|
|
@@ -2996,9 +3147,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2996
3147
|
connected_account_id: string;
|
|
2997
3148
|
event_id: string;
|
|
2998
3149
|
occurred_at: string;
|
|
3150
|
+
event_description: string;
|
|
2999
3151
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
3000
3152
|
customer_key?: string | undefined;
|
|
3001
|
-
event_description?: string | undefined;
|
|
3002
3153
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3003
3154
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3004
3155
|
}>, z.ZodObject<{
|
|
@@ -3006,7 +3157,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3006
3157
|
workspace_id: z.ZodString;
|
|
3007
3158
|
created_at: z.ZodString;
|
|
3008
3159
|
occurred_at: z.ZodString;
|
|
3009
|
-
event_description: z.
|
|
3160
|
+
event_description: z.ZodString;
|
|
3010
3161
|
} & {
|
|
3011
3162
|
device_id: z.ZodString;
|
|
3012
3163
|
connected_account_id: z.ZodString;
|
|
@@ -3022,9 +3173,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3022
3173
|
connected_account_id: string;
|
|
3023
3174
|
event_id: string;
|
|
3024
3175
|
occurred_at: string;
|
|
3176
|
+
event_description: string;
|
|
3025
3177
|
event_type: "device.salto.privacy_mode_activated";
|
|
3026
3178
|
customer_key?: string | undefined;
|
|
3027
|
-
event_description?: string | undefined;
|
|
3028
3179
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3029
3180
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3030
3181
|
}, {
|
|
@@ -3034,9 +3185,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3034
3185
|
connected_account_id: string;
|
|
3035
3186
|
event_id: string;
|
|
3036
3187
|
occurred_at: string;
|
|
3188
|
+
event_description: string;
|
|
3037
3189
|
event_type: "device.salto.privacy_mode_activated";
|
|
3038
3190
|
customer_key?: string | undefined;
|
|
3039
|
-
event_description?: string | undefined;
|
|
3040
3191
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3041
3192
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3042
3193
|
}>, z.ZodObject<{
|
|
@@ -3044,7 +3195,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3044
3195
|
workspace_id: z.ZodString;
|
|
3045
3196
|
created_at: z.ZodString;
|
|
3046
3197
|
occurred_at: z.ZodString;
|
|
3047
|
-
event_description: z.
|
|
3198
|
+
event_description: z.ZodString;
|
|
3048
3199
|
} & {
|
|
3049
3200
|
device_id: z.ZodString;
|
|
3050
3201
|
connected_account_id: z.ZodString;
|
|
@@ -3060,9 +3211,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3060
3211
|
connected_account_id: string;
|
|
3061
3212
|
event_id: string;
|
|
3062
3213
|
occurred_at: string;
|
|
3214
|
+
event_description: string;
|
|
3063
3215
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
3064
3216
|
customer_key?: string | undefined;
|
|
3065
|
-
event_description?: string | undefined;
|
|
3066
3217
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3067
3218
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3068
3219
|
}, {
|
|
@@ -3072,9 +3223,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3072
3223
|
connected_account_id: string;
|
|
3073
3224
|
event_id: string;
|
|
3074
3225
|
occurred_at: string;
|
|
3226
|
+
event_description: string;
|
|
3075
3227
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
3076
3228
|
customer_key?: string | undefined;
|
|
3077
|
-
event_description?: string | undefined;
|
|
3078
3229
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3079
3230
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3080
3231
|
}>, z.ZodObject<{
|
|
@@ -3082,7 +3233,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3082
3233
|
workspace_id: z.ZodString;
|
|
3083
3234
|
created_at: z.ZodString;
|
|
3084
3235
|
occurred_at: z.ZodString;
|
|
3085
|
-
event_description: z.
|
|
3236
|
+
event_description: z.ZodString;
|
|
3086
3237
|
} & {
|
|
3087
3238
|
device_id: z.ZodString;
|
|
3088
3239
|
connected_account_id: z.ZodString;
|
|
@@ -3151,6 +3302,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3151
3302
|
connected_account_id: string;
|
|
3152
3303
|
event_id: string;
|
|
3153
3304
|
occurred_at: string;
|
|
3305
|
+
event_description: string;
|
|
3154
3306
|
event_type: "device.connection_became_flaky";
|
|
3155
3307
|
connected_account_errors: {
|
|
3156
3308
|
message: string;
|
|
@@ -3173,7 +3325,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3173
3325
|
warning_code: string;
|
|
3174
3326
|
}[];
|
|
3175
3327
|
customer_key?: string | undefined;
|
|
3176
|
-
event_description?: string | undefined;
|
|
3177
3328
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3178
3329
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3179
3330
|
}, {
|
|
@@ -3183,6 +3334,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3183
3334
|
connected_account_id: string;
|
|
3184
3335
|
event_id: string;
|
|
3185
3336
|
occurred_at: string;
|
|
3337
|
+
event_description: string;
|
|
3186
3338
|
event_type: "device.connection_became_flaky";
|
|
3187
3339
|
connected_account_errors: {
|
|
3188
3340
|
message: string;
|
|
@@ -3205,7 +3357,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3205
3357
|
warning_code: string;
|
|
3206
3358
|
}[];
|
|
3207
3359
|
customer_key?: string | undefined;
|
|
3208
|
-
event_description?: string | undefined;
|
|
3209
3360
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3210
3361
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3211
3362
|
}>, z.ZodObject<{
|
|
@@ -3213,7 +3364,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3213
3364
|
workspace_id: z.ZodString;
|
|
3214
3365
|
created_at: z.ZodString;
|
|
3215
3366
|
occurred_at: z.ZodString;
|
|
3216
|
-
event_description: z.
|
|
3367
|
+
event_description: z.ZodString;
|
|
3217
3368
|
} & {
|
|
3218
3369
|
device_id: z.ZodString;
|
|
3219
3370
|
connected_account_id: z.ZodString;
|
|
@@ -3229,9 +3380,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3229
3380
|
connected_account_id: string;
|
|
3230
3381
|
event_id: string;
|
|
3231
3382
|
occurred_at: string;
|
|
3383
|
+
event_description: string;
|
|
3232
3384
|
event_type: "device.connection_stabilized";
|
|
3233
3385
|
customer_key?: string | undefined;
|
|
3234
|
-
event_description?: string | undefined;
|
|
3235
3386
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3236
3387
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3237
3388
|
}, {
|
|
@@ -3241,9 +3392,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3241
3392
|
connected_account_id: string;
|
|
3242
3393
|
event_id: string;
|
|
3243
3394
|
occurred_at: string;
|
|
3395
|
+
event_description: string;
|
|
3244
3396
|
event_type: "device.connection_stabilized";
|
|
3245
3397
|
customer_key?: string | undefined;
|
|
3246
|
-
event_description?: string | undefined;
|
|
3247
3398
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3248
3399
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3249
3400
|
}>, z.ZodObject<{
|
|
@@ -3251,7 +3402,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3251
3402
|
workspace_id: z.ZodString;
|
|
3252
3403
|
created_at: z.ZodString;
|
|
3253
3404
|
occurred_at: z.ZodString;
|
|
3254
|
-
event_description: z.
|
|
3405
|
+
event_description: z.ZodString;
|
|
3255
3406
|
} & {
|
|
3256
3407
|
device_id: z.ZodString;
|
|
3257
3408
|
connected_account_id: z.ZodString;
|
|
@@ -3320,6 +3471,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3320
3471
|
connected_account_id: string;
|
|
3321
3472
|
event_id: string;
|
|
3322
3473
|
occurred_at: string;
|
|
3474
|
+
event_description: string;
|
|
3323
3475
|
event_type: "device.error.subscription_required";
|
|
3324
3476
|
connected_account_errors: {
|
|
3325
3477
|
message: string;
|
|
@@ -3342,7 +3494,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3342
3494
|
warning_code: string;
|
|
3343
3495
|
}[];
|
|
3344
3496
|
customer_key?: string | undefined;
|
|
3345
|
-
event_description?: string | undefined;
|
|
3346
3497
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3347
3498
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3348
3499
|
}, {
|
|
@@ -3352,6 +3503,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3352
3503
|
connected_account_id: string;
|
|
3353
3504
|
event_id: string;
|
|
3354
3505
|
occurred_at: string;
|
|
3506
|
+
event_description: string;
|
|
3355
3507
|
event_type: "device.error.subscription_required";
|
|
3356
3508
|
connected_account_errors: {
|
|
3357
3509
|
message: string;
|
|
@@ -3374,7 +3526,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3374
3526
|
warning_code: string;
|
|
3375
3527
|
}[];
|
|
3376
3528
|
customer_key?: string | undefined;
|
|
3377
|
-
event_description?: string | undefined;
|
|
3378
3529
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3379
3530
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3380
3531
|
}>, z.ZodObject<{
|
|
@@ -3382,7 +3533,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3382
3533
|
workspace_id: z.ZodString;
|
|
3383
3534
|
created_at: z.ZodString;
|
|
3384
3535
|
occurred_at: z.ZodString;
|
|
3385
|
-
event_description: z.
|
|
3536
|
+
event_description: z.ZodString;
|
|
3386
3537
|
} & {
|
|
3387
3538
|
device_id: z.ZodString;
|
|
3388
3539
|
connected_account_id: z.ZodString;
|
|
@@ -3398,9 +3549,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3398
3549
|
connected_account_id: string;
|
|
3399
3550
|
event_id: string;
|
|
3400
3551
|
occurred_at: string;
|
|
3552
|
+
event_description: string;
|
|
3401
3553
|
event_type: "device.error.subscription_required.resolved";
|
|
3402
3554
|
customer_key?: string | undefined;
|
|
3403
|
-
event_description?: string | undefined;
|
|
3404
3555
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3405
3556
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3406
3557
|
}, {
|
|
@@ -3410,9 +3561,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3410
3561
|
connected_account_id: string;
|
|
3411
3562
|
event_id: string;
|
|
3412
3563
|
occurred_at: string;
|
|
3564
|
+
event_description: string;
|
|
3413
3565
|
event_type: "device.error.subscription_required.resolved";
|
|
3414
3566
|
customer_key?: string | undefined;
|
|
3415
|
-
event_description?: string | undefined;
|
|
3416
3567
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3417
3568
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3418
3569
|
}>, z.ZodObject<{
|
|
@@ -3420,7 +3571,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3420
3571
|
workspace_id: z.ZodString;
|
|
3421
3572
|
created_at: z.ZodString;
|
|
3422
3573
|
occurred_at: z.ZodString;
|
|
3423
|
-
event_description: z.
|
|
3574
|
+
event_description: z.ZodString;
|
|
3424
3575
|
} & {
|
|
3425
3576
|
device_id: z.ZodString;
|
|
3426
3577
|
connected_account_id: z.ZodString;
|
|
@@ -3436,9 +3587,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3436
3587
|
connected_account_id: string;
|
|
3437
3588
|
event_id: string;
|
|
3438
3589
|
occurred_at: string;
|
|
3590
|
+
event_description: string;
|
|
3439
3591
|
event_type: "device.accessory_keypad_connected";
|
|
3440
3592
|
customer_key?: string | undefined;
|
|
3441
|
-
event_description?: string | undefined;
|
|
3442
3593
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3443
3594
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3444
3595
|
}, {
|
|
@@ -3448,9 +3599,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3448
3599
|
connected_account_id: string;
|
|
3449
3600
|
event_id: string;
|
|
3450
3601
|
occurred_at: string;
|
|
3602
|
+
event_description: string;
|
|
3451
3603
|
event_type: "device.accessory_keypad_connected";
|
|
3452
3604
|
customer_key?: string | undefined;
|
|
3453
|
-
event_description?: string | undefined;
|
|
3454
3605
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3455
3606
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3456
3607
|
}>, z.ZodObject<{
|
|
@@ -3458,7 +3609,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3458
3609
|
workspace_id: z.ZodString;
|
|
3459
3610
|
created_at: z.ZodString;
|
|
3460
3611
|
occurred_at: z.ZodString;
|
|
3461
|
-
event_description: z.
|
|
3612
|
+
event_description: z.ZodString;
|
|
3462
3613
|
} & {
|
|
3463
3614
|
device_id: z.ZodString;
|
|
3464
3615
|
connected_account_id: z.ZodString;
|
|
@@ -3527,6 +3678,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3527
3678
|
connected_account_id: string;
|
|
3528
3679
|
event_id: string;
|
|
3529
3680
|
occurred_at: string;
|
|
3681
|
+
event_description: string;
|
|
3530
3682
|
event_type: "device.accessory_keypad_disconnected";
|
|
3531
3683
|
connected_account_errors: {
|
|
3532
3684
|
message: string;
|
|
@@ -3549,7 +3701,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3549
3701
|
warning_code: string;
|
|
3550
3702
|
}[];
|
|
3551
3703
|
customer_key?: string | undefined;
|
|
3552
|
-
event_description?: string | undefined;
|
|
3553
3704
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3554
3705
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3555
3706
|
}, {
|
|
@@ -3559,6 +3710,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3559
3710
|
connected_account_id: string;
|
|
3560
3711
|
event_id: string;
|
|
3561
3712
|
occurred_at: string;
|
|
3713
|
+
event_description: string;
|
|
3562
3714
|
event_type: "device.accessory_keypad_disconnected";
|
|
3563
3715
|
connected_account_errors: {
|
|
3564
3716
|
message: string;
|
|
@@ -3581,7 +3733,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3581
3733
|
warning_code: string;
|
|
3582
3734
|
}[];
|
|
3583
3735
|
customer_key?: string | undefined;
|
|
3584
|
-
event_description?: string | undefined;
|
|
3585
3736
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3586
3737
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3587
3738
|
}>, z.ZodObject<{
|
|
@@ -3589,7 +3740,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3589
3740
|
workspace_id: z.ZodString;
|
|
3590
3741
|
created_at: z.ZodString;
|
|
3591
3742
|
occurred_at: z.ZodString;
|
|
3592
|
-
event_description: z.
|
|
3743
|
+
event_description: z.ZodString;
|
|
3593
3744
|
} & {
|
|
3594
3745
|
device_id: z.ZodString;
|
|
3595
3746
|
connected_account_id: z.ZodString;
|
|
@@ -3611,13 +3762,13 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3611
3762
|
connected_account_id: string;
|
|
3612
3763
|
event_id: string;
|
|
3613
3764
|
occurred_at: string;
|
|
3765
|
+
event_description: string;
|
|
3614
3766
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
3615
3767
|
customer_key?: string | undefined;
|
|
3616
3768
|
noise_level_nrs?: number | undefined;
|
|
3617
3769
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
3618
3770
|
minut_metadata?: Record<string, unknown> | undefined;
|
|
3619
3771
|
noise_level_decibels?: number | undefined;
|
|
3620
|
-
event_description?: string | undefined;
|
|
3621
3772
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3622
3773
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3623
3774
|
noise_threshold_id?: string | undefined;
|
|
@@ -3629,13 +3780,13 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3629
3780
|
connected_account_id: string;
|
|
3630
3781
|
event_id: string;
|
|
3631
3782
|
occurred_at: string;
|
|
3783
|
+
event_description: string;
|
|
3632
3784
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
3633
3785
|
customer_key?: string | undefined;
|
|
3634
3786
|
noise_level_nrs?: number | undefined;
|
|
3635
3787
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
3636
3788
|
minut_metadata?: Record<string, unknown> | undefined;
|
|
3637
3789
|
noise_level_decibels?: number | undefined;
|
|
3638
|
-
event_description?: string | undefined;
|
|
3639
3790
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3640
3791
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3641
3792
|
noise_threshold_id?: string | undefined;
|
|
@@ -3645,7 +3796,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3645
3796
|
workspace_id: z.ZodString;
|
|
3646
3797
|
created_at: z.ZodString;
|
|
3647
3798
|
occurred_at: z.ZodString;
|
|
3648
|
-
event_description: z.
|
|
3799
|
+
event_description: z.ZodString;
|
|
3649
3800
|
} & {
|
|
3650
3801
|
device_id: z.ZodString;
|
|
3651
3802
|
connected_account_id: z.ZodString;
|
|
@@ -3672,6 +3823,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3672
3823
|
connected_account_id: string;
|
|
3673
3824
|
event_id: string;
|
|
3674
3825
|
occurred_at: string;
|
|
3826
|
+
event_description: string;
|
|
3675
3827
|
event_type: "lock.locked";
|
|
3676
3828
|
method: "unknown" | "card" | "mobile_key" | "keycode" | "manual" | "automatic" | "remote";
|
|
3677
3829
|
code?: string | undefined;
|
|
@@ -3682,7 +3834,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3682
3834
|
acs_entrance_id?: string | undefined;
|
|
3683
3835
|
acs_system_id?: string | undefined;
|
|
3684
3836
|
action_attempt_id?: string | undefined;
|
|
3685
|
-
event_description?: string | undefined;
|
|
3686
3837
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3687
3838
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3688
3839
|
access_code_is_managed?: boolean | undefined;
|
|
@@ -3695,6 +3846,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3695
3846
|
connected_account_id: string;
|
|
3696
3847
|
event_id: string;
|
|
3697
3848
|
occurred_at: string;
|
|
3849
|
+
event_description: string;
|
|
3698
3850
|
event_type: "lock.locked";
|
|
3699
3851
|
method: "unknown" | "card" | "mobile_key" | "keycode" | "manual" | "automatic" | "remote";
|
|
3700
3852
|
code?: string | undefined;
|
|
@@ -3705,7 +3857,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3705
3857
|
acs_entrance_id?: string | undefined;
|
|
3706
3858
|
acs_system_id?: string | undefined;
|
|
3707
3859
|
action_attempt_id?: string | undefined;
|
|
3708
|
-
event_description?: string | undefined;
|
|
3709
3860
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3710
3861
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3711
3862
|
access_code_is_managed?: boolean | undefined;
|
|
@@ -3716,7 +3867,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3716
3867
|
workspace_id: z.ZodString;
|
|
3717
3868
|
created_at: z.ZodString;
|
|
3718
3869
|
occurred_at: z.ZodString;
|
|
3719
|
-
event_description: z.
|
|
3870
|
+
event_description: z.ZodString;
|
|
3720
3871
|
connected_account_id: z.ZodString;
|
|
3721
3872
|
customer_key: z.ZodOptional<z.ZodString>;
|
|
3722
3873
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -3741,6 +3892,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3741
3892
|
connected_account_id: string;
|
|
3742
3893
|
event_id: string;
|
|
3743
3894
|
occurred_at: string;
|
|
3895
|
+
event_description: string;
|
|
3744
3896
|
event_type: "lock.unlocked";
|
|
3745
3897
|
method: "unknown" | "card" | "mobile_key" | "keycode" | "manual" | "automatic" | "remote";
|
|
3746
3898
|
code?: string | undefined;
|
|
@@ -3752,7 +3904,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3752
3904
|
acs_entrance_id?: string | undefined;
|
|
3753
3905
|
acs_system_id?: string | undefined;
|
|
3754
3906
|
action_attempt_id?: string | undefined;
|
|
3755
|
-
event_description?: string | undefined;
|
|
3756
3907
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3757
3908
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3758
3909
|
access_code_is_managed?: boolean | undefined;
|
|
@@ -3764,6 +3915,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3764
3915
|
connected_account_id: string;
|
|
3765
3916
|
event_id: string;
|
|
3766
3917
|
occurred_at: string;
|
|
3918
|
+
event_description: string;
|
|
3767
3919
|
event_type: "lock.unlocked";
|
|
3768
3920
|
method: "unknown" | "card" | "mobile_key" | "keycode" | "manual" | "automatic" | "remote";
|
|
3769
3921
|
code?: string | undefined;
|
|
@@ -3775,7 +3927,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3775
3927
|
acs_entrance_id?: string | undefined;
|
|
3776
3928
|
acs_system_id?: string | undefined;
|
|
3777
3929
|
action_attempt_id?: string | undefined;
|
|
3778
|
-
event_description?: string | undefined;
|
|
3779
3930
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3780
3931
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3781
3932
|
access_code_is_managed?: boolean | undefined;
|
|
@@ -3786,7 +3937,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3786
3937
|
workspace_id: z.ZodString;
|
|
3787
3938
|
created_at: z.ZodString;
|
|
3788
3939
|
occurred_at: z.ZodString;
|
|
3789
|
-
event_description: z.
|
|
3940
|
+
event_description: z.ZodString;
|
|
3790
3941
|
connected_account_id: z.ZodString;
|
|
3791
3942
|
customer_key: z.ZodOptional<z.ZodString>;
|
|
3792
3943
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
@@ -3815,6 +3966,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3815
3966
|
connected_account_id: string;
|
|
3816
3967
|
event_id: string;
|
|
3817
3968
|
occurred_at: string;
|
|
3969
|
+
event_description: string;
|
|
3818
3970
|
event_type: "lock.access_denied";
|
|
3819
3971
|
device_id?: string | undefined;
|
|
3820
3972
|
customer_key?: string | undefined;
|
|
@@ -3827,7 +3979,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3827
3979
|
acs_user_id?: string | undefined;
|
|
3828
3980
|
acs_entrance_id?: string | undefined;
|
|
3829
3981
|
acs_system_id?: string | undefined;
|
|
3830
|
-
event_description?: string | undefined;
|
|
3831
3982
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3832
3983
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3833
3984
|
}, {
|
|
@@ -3836,6 +3987,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3836
3987
|
connected_account_id: string;
|
|
3837
3988
|
event_id: string;
|
|
3838
3989
|
occurred_at: string;
|
|
3990
|
+
event_description: string;
|
|
3839
3991
|
event_type: "lock.access_denied";
|
|
3840
3992
|
device_id?: string | undefined;
|
|
3841
3993
|
customer_key?: string | undefined;
|
|
@@ -3848,7 +4000,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3848
4000
|
acs_user_id?: string | undefined;
|
|
3849
4001
|
acs_entrance_id?: string | undefined;
|
|
3850
4002
|
acs_system_id?: string | undefined;
|
|
3851
|
-
event_description?: string | undefined;
|
|
3852
4003
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3853
4004
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3854
4005
|
}>, z.ZodObject<{
|
|
@@ -3856,7 +4007,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3856
4007
|
workspace_id: z.ZodString;
|
|
3857
4008
|
created_at: z.ZodString;
|
|
3858
4009
|
occurred_at: z.ZodString;
|
|
3859
|
-
event_description: z.
|
|
4010
|
+
event_description: z.ZodString;
|
|
3860
4011
|
} & {
|
|
3861
4012
|
device_id: z.ZodString;
|
|
3862
4013
|
connected_account_id: z.ZodString;
|
|
@@ -3872,9 +4023,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3872
4023
|
connected_account_id: string;
|
|
3873
4024
|
event_id: string;
|
|
3874
4025
|
occurred_at: string;
|
|
4026
|
+
event_description: string;
|
|
3875
4027
|
event_type: "lock.jammed";
|
|
3876
4028
|
customer_key?: string | undefined;
|
|
3877
|
-
event_description?: string | undefined;
|
|
3878
4029
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3879
4030
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3880
4031
|
}, {
|
|
@@ -3884,9 +4035,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3884
4035
|
connected_account_id: string;
|
|
3885
4036
|
event_id: string;
|
|
3886
4037
|
occurred_at: string;
|
|
4038
|
+
event_description: string;
|
|
3887
4039
|
event_type: "lock.jammed";
|
|
3888
4040
|
customer_key?: string | undefined;
|
|
3889
|
-
event_description?: string | undefined;
|
|
3890
4041
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3891
4042
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3892
4043
|
}>, z.ZodObject<{
|
|
@@ -3894,7 +4045,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3894
4045
|
workspace_id: z.ZodString;
|
|
3895
4046
|
created_at: z.ZodString;
|
|
3896
4047
|
occurred_at: z.ZodString;
|
|
3897
|
-
event_description: z.
|
|
4048
|
+
event_description: z.ZodString;
|
|
3898
4049
|
} & {
|
|
3899
4050
|
device_id: z.ZodString;
|
|
3900
4051
|
connected_account_id: z.ZodString;
|
|
@@ -3910,9 +4061,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3910
4061
|
connected_account_id: string;
|
|
3911
4062
|
event_id: string;
|
|
3912
4063
|
occurred_at: string;
|
|
4064
|
+
event_description: string;
|
|
3913
4065
|
event_type: "lock.door_opened";
|
|
3914
4066
|
customer_key?: string | undefined;
|
|
3915
|
-
event_description?: string | undefined;
|
|
3916
4067
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3917
4068
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3918
4069
|
}, {
|
|
@@ -3922,9 +4073,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3922
4073
|
connected_account_id: string;
|
|
3923
4074
|
event_id: string;
|
|
3924
4075
|
occurred_at: string;
|
|
4076
|
+
event_description: string;
|
|
3925
4077
|
event_type: "lock.door_opened";
|
|
3926
4078
|
customer_key?: string | undefined;
|
|
3927
|
-
event_description?: string | undefined;
|
|
3928
4079
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3929
4080
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3930
4081
|
}>, z.ZodObject<{
|
|
@@ -3932,7 +4083,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3932
4083
|
workspace_id: z.ZodString;
|
|
3933
4084
|
created_at: z.ZodString;
|
|
3934
4085
|
occurred_at: z.ZodString;
|
|
3935
|
-
event_description: z.
|
|
4086
|
+
event_description: z.ZodString;
|
|
3936
4087
|
} & {
|
|
3937
4088
|
device_id: z.ZodString;
|
|
3938
4089
|
connected_account_id: z.ZodString;
|
|
@@ -3948,9 +4099,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3948
4099
|
connected_account_id: string;
|
|
3949
4100
|
event_id: string;
|
|
3950
4101
|
occurred_at: string;
|
|
4102
|
+
event_description: string;
|
|
3951
4103
|
event_type: "lock.door_closed";
|
|
3952
4104
|
customer_key?: string | undefined;
|
|
3953
|
-
event_description?: string | undefined;
|
|
3954
4105
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3955
4106
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3956
4107
|
}, {
|
|
@@ -3960,9 +4111,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3960
4111
|
connected_account_id: string;
|
|
3961
4112
|
event_id: string;
|
|
3962
4113
|
occurred_at: string;
|
|
4114
|
+
event_description: string;
|
|
3963
4115
|
event_type: "lock.door_closed";
|
|
3964
4116
|
customer_key?: string | undefined;
|
|
3965
|
-
event_description?: string | undefined;
|
|
3966
4117
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3967
4118
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3968
4119
|
}>, z.ZodObject<{
|
|
@@ -3970,7 +4121,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3970
4121
|
workspace_id: z.ZodString;
|
|
3971
4122
|
created_at: z.ZodString;
|
|
3972
4123
|
occurred_at: z.ZodString;
|
|
3973
|
-
event_description: z.
|
|
4124
|
+
event_description: z.ZodString;
|
|
3974
4125
|
} & {
|
|
3975
4126
|
device_id: z.ZodString;
|
|
3976
4127
|
connected_account_id: z.ZodString;
|
|
@@ -3991,10 +4142,10 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
3991
4142
|
connected_account_id: string;
|
|
3992
4143
|
event_id: string;
|
|
3993
4144
|
occurred_at: string;
|
|
4145
|
+
event_description: string;
|
|
3994
4146
|
event_type: "thermostat.climate_preset_activated";
|
|
3995
4147
|
is_fallback_climate_preset: boolean;
|
|
3996
4148
|
customer_key?: string | undefined;
|
|
3997
|
-
event_description?: string | undefined;
|
|
3998
4149
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3999
4150
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4000
4151
|
}, {
|
|
@@ -4006,10 +4157,10 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4006
4157
|
connected_account_id: string;
|
|
4007
4158
|
event_id: string;
|
|
4008
4159
|
occurred_at: string;
|
|
4160
|
+
event_description: string;
|
|
4009
4161
|
event_type: "thermostat.climate_preset_activated";
|
|
4010
4162
|
is_fallback_climate_preset: boolean;
|
|
4011
4163
|
customer_key?: string | undefined;
|
|
4012
|
-
event_description?: string | undefined;
|
|
4013
4164
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4014
4165
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4015
4166
|
}>, z.ZodObject<{
|
|
@@ -4017,7 +4168,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4017
4168
|
workspace_id: z.ZodString;
|
|
4018
4169
|
created_at: z.ZodString;
|
|
4019
4170
|
occurred_at: z.ZodString;
|
|
4020
|
-
event_description: z.
|
|
4171
|
+
event_description: z.ZodString;
|
|
4021
4172
|
} & {
|
|
4022
4173
|
device_id: z.ZodString;
|
|
4023
4174
|
connected_account_id: z.ZodString;
|
|
@@ -4062,6 +4213,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4062
4213
|
connected_account_id: string;
|
|
4063
4214
|
event_id: string;
|
|
4064
4215
|
occurred_at: string;
|
|
4216
|
+
event_description: string;
|
|
4065
4217
|
event_type: "thermostat.manually_adjusted";
|
|
4066
4218
|
method: "seam" | "external";
|
|
4067
4219
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
@@ -4071,7 +4223,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4071
4223
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
4072
4224
|
heating_set_point_fahrenheit?: number | undefined;
|
|
4073
4225
|
customer_key?: string | undefined;
|
|
4074
|
-
event_description?: string | undefined;
|
|
4075
4226
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4076
4227
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4077
4228
|
}, {
|
|
@@ -4081,6 +4232,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4081
4232
|
connected_account_id: string;
|
|
4082
4233
|
event_id: string;
|
|
4083
4234
|
occurred_at: string;
|
|
4235
|
+
event_description: string;
|
|
4084
4236
|
event_type: "thermostat.manually_adjusted";
|
|
4085
4237
|
method: "seam" | "external";
|
|
4086
4238
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
@@ -4090,7 +4242,6 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4090
4242
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
4091
4243
|
heating_set_point_fahrenheit?: number | undefined;
|
|
4092
4244
|
customer_key?: string | undefined;
|
|
4093
|
-
event_description?: string | undefined;
|
|
4094
4245
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4095
4246
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4096
4247
|
}>, z.ZodObject<{
|
|
@@ -4098,7 +4249,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4098
4249
|
workspace_id: z.ZodString;
|
|
4099
4250
|
created_at: z.ZodString;
|
|
4100
4251
|
occurred_at: z.ZodString;
|
|
4101
|
-
event_description: z.
|
|
4252
|
+
event_description: z.ZodString;
|
|
4102
4253
|
} & {
|
|
4103
4254
|
device_id: z.ZodString;
|
|
4104
4255
|
connected_account_id: z.ZodString;
|
|
@@ -4126,9 +4277,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4126
4277
|
connected_account_id: string;
|
|
4127
4278
|
event_id: string;
|
|
4128
4279
|
occurred_at: string;
|
|
4280
|
+
event_description: string;
|
|
4129
4281
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
4130
4282
|
customer_key?: string | undefined;
|
|
4131
|
-
event_description?: string | undefined;
|
|
4132
4283
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4133
4284
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4134
4285
|
}, {
|
|
@@ -4144,9 +4295,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4144
4295
|
connected_account_id: string;
|
|
4145
4296
|
event_id: string;
|
|
4146
4297
|
occurred_at: string;
|
|
4298
|
+
event_description: string;
|
|
4147
4299
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
4148
4300
|
customer_key?: string | undefined;
|
|
4149
|
-
event_description?: string | undefined;
|
|
4150
4301
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4151
4302
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4152
4303
|
}>, z.ZodObject<{
|
|
@@ -4154,7 +4305,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4154
4305
|
workspace_id: z.ZodString;
|
|
4155
4306
|
created_at: z.ZodString;
|
|
4156
4307
|
occurred_at: z.ZodString;
|
|
4157
|
-
event_description: z.
|
|
4308
|
+
event_description: z.ZodString;
|
|
4158
4309
|
} & {
|
|
4159
4310
|
device_id: z.ZodString;
|
|
4160
4311
|
connected_account_id: z.ZodString;
|
|
@@ -4182,9 +4333,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4182
4333
|
connected_account_id: string;
|
|
4183
4334
|
event_id: string;
|
|
4184
4335
|
occurred_at: string;
|
|
4336
|
+
event_description: string;
|
|
4185
4337
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
4186
4338
|
customer_key?: string | undefined;
|
|
4187
|
-
event_description?: string | undefined;
|
|
4188
4339
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4189
4340
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4190
4341
|
}, {
|
|
@@ -4200,9 +4351,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4200
4351
|
connected_account_id: string;
|
|
4201
4352
|
event_id: string;
|
|
4202
4353
|
occurred_at: string;
|
|
4354
|
+
event_description: string;
|
|
4203
4355
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
4204
4356
|
customer_key?: string | undefined;
|
|
4205
|
-
event_description?: string | undefined;
|
|
4206
4357
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4207
4358
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4208
4359
|
}>, z.ZodObject<{
|
|
@@ -4210,7 +4361,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4210
4361
|
workspace_id: z.ZodString;
|
|
4211
4362
|
created_at: z.ZodString;
|
|
4212
4363
|
occurred_at: z.ZodString;
|
|
4213
|
-
event_description: z.
|
|
4364
|
+
event_description: z.ZodString;
|
|
4214
4365
|
} & {
|
|
4215
4366
|
device_id: z.ZodString;
|
|
4216
4367
|
connected_account_id: z.ZodString;
|
|
@@ -4232,9 +4383,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4232
4383
|
connected_account_id: string;
|
|
4233
4384
|
event_id: string;
|
|
4234
4385
|
occurred_at: string;
|
|
4386
|
+
event_description: string;
|
|
4235
4387
|
event_type: "thermostat.temperature_reached_set_point";
|
|
4236
4388
|
customer_key?: string | undefined;
|
|
4237
|
-
event_description?: string | undefined;
|
|
4238
4389
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4239
4390
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4240
4391
|
desired_temperature_celsius?: number | undefined;
|
|
@@ -4248,9 +4399,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4248
4399
|
connected_account_id: string;
|
|
4249
4400
|
event_id: string;
|
|
4250
4401
|
occurred_at: string;
|
|
4402
|
+
event_description: string;
|
|
4251
4403
|
event_type: "thermostat.temperature_reached_set_point";
|
|
4252
4404
|
customer_key?: string | undefined;
|
|
4253
|
-
event_description?: string | undefined;
|
|
4254
4405
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4255
4406
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4256
4407
|
desired_temperature_celsius?: number | undefined;
|
|
@@ -4260,7 +4411,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4260
4411
|
workspace_id: z.ZodString;
|
|
4261
4412
|
created_at: z.ZodString;
|
|
4262
4413
|
occurred_at: z.ZodString;
|
|
4263
|
-
event_description: z.
|
|
4414
|
+
event_description: z.ZodString;
|
|
4264
4415
|
} & {
|
|
4265
4416
|
device_id: z.ZodString;
|
|
4266
4417
|
connected_account_id: z.ZodString;
|
|
@@ -4280,9 +4431,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4280
4431
|
connected_account_id: string;
|
|
4281
4432
|
event_id: string;
|
|
4282
4433
|
occurred_at: string;
|
|
4434
|
+
event_description: string;
|
|
4283
4435
|
event_type: "thermostat.temperature_changed";
|
|
4284
4436
|
customer_key?: string | undefined;
|
|
4285
|
-
event_description?: string | undefined;
|
|
4286
4437
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4287
4438
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4288
4439
|
}, {
|
|
@@ -4294,9 +4445,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4294
4445
|
connected_account_id: string;
|
|
4295
4446
|
event_id: string;
|
|
4296
4447
|
occurred_at: string;
|
|
4448
|
+
event_description: string;
|
|
4297
4449
|
event_type: "thermostat.temperature_changed";
|
|
4298
4450
|
customer_key?: string | undefined;
|
|
4299
|
-
event_description?: string | undefined;
|
|
4300
4451
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4301
4452
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4302
4453
|
}>, z.ZodObject<{
|
|
@@ -4304,7 +4455,151 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4304
4455
|
workspace_id: z.ZodString;
|
|
4305
4456
|
created_at: z.ZodString;
|
|
4306
4457
|
occurred_at: z.ZodString;
|
|
4307
|
-
event_description: z.
|
|
4458
|
+
event_description: z.ZodString;
|
|
4459
|
+
} & {
|
|
4460
|
+
device_id: z.ZodString;
|
|
4461
|
+
connected_account_id: z.ZodString;
|
|
4462
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
4463
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
4464
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
4465
|
+
} & {
|
|
4466
|
+
event_type: z.ZodLiteral<"pool.temperature_changed">;
|
|
4467
|
+
temperature_celsius: z.ZodNumber;
|
|
4468
|
+
temperature_fahrenheit: z.ZodNumber;
|
|
4469
|
+
}, "strip", z.ZodTypeAny, {
|
|
4470
|
+
device_id: string;
|
|
4471
|
+
workspace_id: string;
|
|
4472
|
+
created_at: string;
|
|
4473
|
+
temperature_fahrenheit: number;
|
|
4474
|
+
temperature_celsius: number;
|
|
4475
|
+
connected_account_id: string;
|
|
4476
|
+
event_id: string;
|
|
4477
|
+
occurred_at: string;
|
|
4478
|
+
event_description: string;
|
|
4479
|
+
event_type: "pool.temperature_changed";
|
|
4480
|
+
customer_key?: string | undefined;
|
|
4481
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4482
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4483
|
+
}, {
|
|
4484
|
+
device_id: string;
|
|
4485
|
+
workspace_id: string;
|
|
4486
|
+
created_at: string;
|
|
4487
|
+
temperature_fahrenheit: number;
|
|
4488
|
+
temperature_celsius: number;
|
|
4489
|
+
connected_account_id: string;
|
|
4490
|
+
event_id: string;
|
|
4491
|
+
occurred_at: string;
|
|
4492
|
+
event_description: string;
|
|
4493
|
+
event_type: "pool.temperature_changed";
|
|
4494
|
+
customer_key?: string | undefined;
|
|
4495
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4496
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4497
|
+
}>, z.ZodObject<{
|
|
4498
|
+
event_id: z.ZodString;
|
|
4499
|
+
workspace_id: z.ZodString;
|
|
4500
|
+
created_at: z.ZodString;
|
|
4501
|
+
occurred_at: z.ZodString;
|
|
4502
|
+
event_description: z.ZodString;
|
|
4503
|
+
} & {
|
|
4504
|
+
device_id: z.ZodString;
|
|
4505
|
+
connected_account_id: z.ZodString;
|
|
4506
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
4507
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
4508
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
4509
|
+
} & {
|
|
4510
|
+
event_type: z.ZodLiteral<"pool.temperature_reached_set_point">;
|
|
4511
|
+
temperature_celsius: z.ZodNumber;
|
|
4512
|
+
temperature_fahrenheit: z.ZodNumber;
|
|
4513
|
+
desired_temperature_celsius: z.ZodNumber;
|
|
4514
|
+
desired_temperature_fahrenheit: z.ZodNumber;
|
|
4515
|
+
}, "strip", z.ZodTypeAny, {
|
|
4516
|
+
device_id: string;
|
|
4517
|
+
workspace_id: string;
|
|
4518
|
+
created_at: string;
|
|
4519
|
+
temperature_fahrenheit: number;
|
|
4520
|
+
temperature_celsius: number;
|
|
4521
|
+
connected_account_id: string;
|
|
4522
|
+
event_id: string;
|
|
4523
|
+
occurred_at: string;
|
|
4524
|
+
event_description: string;
|
|
4525
|
+
event_type: "pool.temperature_reached_set_point";
|
|
4526
|
+
desired_temperature_celsius: number;
|
|
4527
|
+
desired_temperature_fahrenheit: number;
|
|
4528
|
+
customer_key?: string | undefined;
|
|
4529
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4530
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4531
|
+
}, {
|
|
4532
|
+
device_id: string;
|
|
4533
|
+
workspace_id: string;
|
|
4534
|
+
created_at: string;
|
|
4535
|
+
temperature_fahrenheit: number;
|
|
4536
|
+
temperature_celsius: number;
|
|
4537
|
+
connected_account_id: string;
|
|
4538
|
+
event_id: string;
|
|
4539
|
+
occurred_at: string;
|
|
4540
|
+
event_description: string;
|
|
4541
|
+
event_type: "pool.temperature_reached_set_point";
|
|
4542
|
+
desired_temperature_celsius: number;
|
|
4543
|
+
desired_temperature_fahrenheit: number;
|
|
4544
|
+
customer_key?: string | undefined;
|
|
4545
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4546
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4547
|
+
}>, z.ZodObject<{
|
|
4548
|
+
event_id: z.ZodString;
|
|
4549
|
+
workspace_id: z.ZodString;
|
|
4550
|
+
created_at: z.ZodString;
|
|
4551
|
+
occurred_at: z.ZodString;
|
|
4552
|
+
event_description: z.ZodString;
|
|
4553
|
+
} & {
|
|
4554
|
+
device_id: z.ZodString;
|
|
4555
|
+
connected_account_id: z.ZodString;
|
|
4556
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
4557
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
4558
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
4559
|
+
} & {
|
|
4560
|
+
event_type: z.ZodLiteral<"pool.manually_adjusted">;
|
|
4561
|
+
method: z.ZodEnum<["seam", "external"]>;
|
|
4562
|
+
controller_mode: z.ZodOptional<z.ZodEnum<["heat", "off"]>>;
|
|
4563
|
+
heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
4564
|
+
heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
4565
|
+
}, "strip", z.ZodTypeAny, {
|
|
4566
|
+
device_id: string;
|
|
4567
|
+
workspace_id: string;
|
|
4568
|
+
created_at: string;
|
|
4569
|
+
connected_account_id: string;
|
|
4570
|
+
event_id: string;
|
|
4571
|
+
occurred_at: string;
|
|
4572
|
+
event_description: string;
|
|
4573
|
+
event_type: "pool.manually_adjusted";
|
|
4574
|
+
method: "seam" | "external";
|
|
4575
|
+
heating_set_point_celsius?: number | undefined;
|
|
4576
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
4577
|
+
customer_key?: string | undefined;
|
|
4578
|
+
controller_mode?: "off" | "heat" | undefined;
|
|
4579
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4580
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4581
|
+
}, {
|
|
4582
|
+
device_id: string;
|
|
4583
|
+
workspace_id: string;
|
|
4584
|
+
created_at: string;
|
|
4585
|
+
connected_account_id: string;
|
|
4586
|
+
event_id: string;
|
|
4587
|
+
occurred_at: string;
|
|
4588
|
+
event_description: string;
|
|
4589
|
+
event_type: "pool.manually_adjusted";
|
|
4590
|
+
method: "seam" | "external";
|
|
4591
|
+
heating_set_point_celsius?: number | undefined;
|
|
4592
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
4593
|
+
customer_key?: string | undefined;
|
|
4594
|
+
controller_mode?: "off" | "heat" | undefined;
|
|
4595
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4596
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4597
|
+
}>, z.ZodObject<{
|
|
4598
|
+
event_id: z.ZodString;
|
|
4599
|
+
workspace_id: z.ZodString;
|
|
4600
|
+
created_at: z.ZodString;
|
|
4601
|
+
occurred_at: z.ZodString;
|
|
4602
|
+
event_description: z.ZodString;
|
|
4308
4603
|
} & {
|
|
4309
4604
|
device_id: z.ZodString;
|
|
4310
4605
|
connected_account_id: z.ZodString;
|
|
@@ -4322,9 +4617,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4322
4617
|
device_name: string;
|
|
4323
4618
|
event_id: string;
|
|
4324
4619
|
occurred_at: string;
|
|
4620
|
+
event_description: string;
|
|
4325
4621
|
event_type: "device.name_changed";
|
|
4326
4622
|
customer_key?: string | undefined;
|
|
4327
|
-
event_description?: string | undefined;
|
|
4328
4623
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4329
4624
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4330
4625
|
}, {
|
|
@@ -4335,9 +4630,9 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4335
4630
|
device_name: string;
|
|
4336
4631
|
event_id: string;
|
|
4337
4632
|
occurred_at: string;
|
|
4633
|
+
event_description: string;
|
|
4338
4634
|
event_type: "device.name_changed";
|
|
4339
4635
|
customer_key?: string | undefined;
|
|
4340
|
-
event_description?: string | undefined;
|
|
4341
4636
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4342
4637
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4343
4638
|
}>, z.ZodObject<{
|
|
@@ -4345,7 +4640,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4345
4640
|
workspace_id: z.ZodString;
|
|
4346
4641
|
created_at: z.ZodString;
|
|
4347
4642
|
occurred_at: z.ZodString;
|
|
4348
|
-
event_description: z.
|
|
4643
|
+
event_description: z.ZodString;
|
|
4349
4644
|
} & {
|
|
4350
4645
|
device_id: z.ZodString;
|
|
4351
4646
|
connected_account_id: z.ZodString;
|
|
@@ -4366,10 +4661,10 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4366
4661
|
connected_account_id: string;
|
|
4367
4662
|
event_id: string;
|
|
4368
4663
|
occurred_at: string;
|
|
4664
|
+
event_description: string;
|
|
4369
4665
|
event_type: "camera.activated";
|
|
4370
4666
|
image_url?: string | undefined;
|
|
4371
4667
|
customer_key?: string | undefined;
|
|
4372
|
-
event_description?: string | undefined;
|
|
4373
4668
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4374
4669
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4375
4670
|
is_motion_detected?: boolean | undefined;
|
|
@@ -4383,10 +4678,10 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4383
4678
|
connected_account_id: string;
|
|
4384
4679
|
event_id: string;
|
|
4385
4680
|
occurred_at: string;
|
|
4681
|
+
event_description: string;
|
|
4386
4682
|
event_type: "camera.activated";
|
|
4387
4683
|
image_url?: string | undefined;
|
|
4388
4684
|
customer_key?: string | undefined;
|
|
4389
|
-
event_description?: string | undefined;
|
|
4390
4685
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4391
4686
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4392
4687
|
is_motion_detected?: boolean | undefined;
|
|
@@ -4398,7 +4693,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4398
4693
|
workspace_id: z.ZodString;
|
|
4399
4694
|
created_at: z.ZodString;
|
|
4400
4695
|
occurred_at: z.ZodString;
|
|
4401
|
-
event_description: z.
|
|
4696
|
+
event_description: z.ZodString;
|
|
4402
4697
|
} & {
|
|
4403
4698
|
device_id: z.ZodString;
|
|
4404
4699
|
connected_account_id: z.ZodString;
|
|
@@ -4417,10 +4712,10 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4417
4712
|
connected_account_id: string;
|
|
4418
4713
|
event_id: string;
|
|
4419
4714
|
occurred_at: string;
|
|
4715
|
+
event_description: string;
|
|
4420
4716
|
event_type: "device.doorbell_rang";
|
|
4421
4717
|
image_url?: string | undefined;
|
|
4422
4718
|
customer_key?: string | undefined;
|
|
4423
|
-
event_description?: string | undefined;
|
|
4424
4719
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4425
4720
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4426
4721
|
video_url?: string | undefined;
|
|
@@ -4432,10 +4727,10 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
4432
4727
|
connected_account_id: string;
|
|
4433
4728
|
event_id: string;
|
|
4434
4729
|
occurred_at: string;
|
|
4730
|
+
event_description: string;
|
|
4435
4731
|
event_type: "device.doorbell_rang";
|
|
4436
4732
|
image_url?: string | undefined;
|
|
4437
4733
|
customer_key?: string | undefined;
|
|
4438
|
-
event_description?: string | undefined;
|
|
4439
4734
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4440
4735
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
4441
4736
|
video_url?: string | undefined;
|