@seamapi/types 1.441.2 → 1.443.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/dist/connect.cjs +127 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1966 -1914
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +27 -27
- package/dist/index.cjs +127 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +387 -389
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +173 -186
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +18 -18
- package/lib/seam/connect/models/acs/acs-credential.d.ts +63 -63
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +6 -6
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +3 -3
- package/lib/seam/connect/models/acs/acs-system.d.ts +56 -56
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +152 -152
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +45 -45
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -354
- package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/common.d.ts +9 -12
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -105
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +54 -57
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +54 -57
- package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -15
- package/lib/seam/connect/models/batches/batch.d.ts +128 -120
- package/lib/seam/connect/models/batches/spaces.d.ts +128 -120
- package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +24 -24
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +78 -78
- package/lib/seam/connect/models/customer/access-grant-resources.d.ts +30 -30
- package/lib/seam/connect/models/customer/customer-data.d.ts +57 -57
- package/lib/seam/connect/models/customer/location-resources.d.ts +54 -54
- package/lib/seam/connect/models/customer/user-identity-resources.d.ts +30 -30
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +3 -3
- package/lib/seam/connect/models/devices/device-provider.d.ts +4 -4
- package/lib/seam/connect/models/devices/device.d.ts +368 -376
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +118 -120
- package/lib/seam/connect/models/events/access-codes.d.ts +136 -136
- package/lib/seam/connect/models/events/access-grants.d.ts +40 -40
- package/lib/seam/connect/models/events/access-methods.d.ts +40 -40
- package/lib/seam/connect/models/events/acs/access-groups.d.ts +10 -10
- package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
- package/lib/seam/connect/models/events/acs/credentials.d.ts +40 -40
- package/lib/seam/connect/models/events/acs/encoders.d.ts +20 -20
- package/lib/seam/connect/models/events/acs/entrances.d.ts +20 -20
- package/lib/seam/connect/models/events/acs/index.d.ts +67 -67
- package/lib/seam/connect/models/events/acs/systems.d.ts +24 -24
- package/lib/seam/connect/models/events/acs/users.d.ts +20 -20
- package/lib/seam/connect/models/events/action-attempts.d.ts +32 -32
- package/lib/seam/connect/models/events/client-sessions.d.ts +8 -8
- package/lib/seam/connect/models/events/connect-webviews.d.ts +16 -16
- package/lib/seam/connect/models/events/connected-accounts.d.ts +56 -56
- package/lib/seam/connect/models/events/devices.d.ts +266 -266
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +8 -8
- package/lib/seam/connect/models/events/phones.d.ts +8 -8
- package/lib/seam/connect/models/events/seam-event.d.ts +372 -372
- package/lib/seam/connect/models/phones/phone-session.d.ts +50 -50
- package/lib/seam/connect/models/spaces/space.d.ts +6 -0
- package/lib/seam/connect/models/spaces/space.js +2 -0
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +18 -18
- package/lib/seam/connect/openapi.d.ts +81 -0
- package/lib/seam/connect/openapi.js +123 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +36 -1
- package/lib/seam/devicedb/models/device-model.d.ts +15 -15
- package/lib/seam/devicedb/route-specs.d.ts +12 -12
- package/package.json +8 -7
- package/src/lib/seam/connect/models/spaces/space.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +137 -0
- package/src/lib/seam/connect/route-types.ts +36 -1
- package/lib/seam/connect/internal/enums.d.ts +0 -1
- package/lib/seam/connect/internal/enums.js +0 -2
- package/lib/seam/connect/internal/enums.js.map +0 -1
- package/lib/seam/connect/internal/index.d.ts +0 -4
- package/lib/seam/connect/internal/index.js +0 -5
- package/lib/seam/connect/internal/index.js.map +0 -1
- package/lib/seam/connect/internal/model-types.d.ts +0 -2
- package/lib/seam/connect/internal/model-types.js +0 -2
- package/lib/seam/connect/internal/model-types.js.map +0 -1
- package/lib/seam/connect/internal/schemas.d.ts +0 -2
- package/lib/seam/connect/internal/schemas.js +0 -3
- package/lib/seam/connect/internal/schemas.js.map +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const lock_method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
3
3
|
export type LockMethod = z.infer<typeof lock_method>;
|
|
4
|
-
export declare const device_connected_event: z.ZodObject<
|
|
4
|
+
export declare const device_connected_event: z.ZodObject<{
|
|
5
5
|
event_id: z.ZodString;
|
|
6
6
|
workspace_id: z.ZodString;
|
|
7
7
|
created_at: z.ZodString;
|
|
8
8
|
occurred_at: z.ZodString;
|
|
9
|
-
}
|
|
9
|
+
} & {
|
|
10
10
|
device_id: z.ZodString;
|
|
11
11
|
connected_account_id: z.ZodString;
|
|
12
12
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
13
13
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
14
|
-
}
|
|
14
|
+
} & {
|
|
15
15
|
event_type: z.ZodLiteral<"device.connected">;
|
|
16
|
-
}
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
17
|
device_id: string;
|
|
18
18
|
workspace_id: string;
|
|
19
19
|
created_at: string;
|
|
@@ -35,19 +35,19 @@ export declare const device_connected_event: z.ZodObject<z.objectUtil.extendShap
|
|
|
35
35
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
36
36
|
}>;
|
|
37
37
|
export type DeviceConnectedEvent = z.infer<typeof device_connected_event>;
|
|
38
|
-
export declare const device_added_event: z.ZodObject<
|
|
38
|
+
export declare const device_added_event: z.ZodObject<{
|
|
39
39
|
event_id: z.ZodString;
|
|
40
40
|
workspace_id: z.ZodString;
|
|
41
41
|
created_at: z.ZodString;
|
|
42
42
|
occurred_at: z.ZodString;
|
|
43
|
-
}
|
|
43
|
+
} & {
|
|
44
44
|
device_id: z.ZodString;
|
|
45
45
|
connected_account_id: z.ZodString;
|
|
46
46
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
47
47
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
48
|
-
}
|
|
48
|
+
} & {
|
|
49
49
|
event_type: z.ZodLiteral<"device.added">;
|
|
50
|
-
}
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
51
|
device_id: string;
|
|
52
52
|
workspace_id: string;
|
|
53
53
|
created_at: string;
|
|
@@ -69,19 +69,19 @@ export declare const device_added_event: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
69
69
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
70
70
|
}>;
|
|
71
71
|
export type DeviceAddedEvent = z.infer<typeof device_added_event>;
|
|
72
|
-
export declare const device_converted_to_unmanaged_event: z.ZodObject<
|
|
72
|
+
export declare const device_converted_to_unmanaged_event: z.ZodObject<{
|
|
73
73
|
event_id: z.ZodString;
|
|
74
74
|
workspace_id: z.ZodString;
|
|
75
75
|
created_at: z.ZodString;
|
|
76
76
|
occurred_at: z.ZodString;
|
|
77
|
-
}
|
|
77
|
+
} & {
|
|
78
78
|
device_id: z.ZodString;
|
|
79
79
|
connected_account_id: z.ZodString;
|
|
80
80
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
81
81
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
82
|
-
}
|
|
82
|
+
} & {
|
|
83
83
|
event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
|
|
84
|
-
}
|
|
84
|
+
}, "strip", z.ZodTypeAny, {
|
|
85
85
|
device_id: string;
|
|
86
86
|
workspace_id: string;
|
|
87
87
|
created_at: string;
|
|
@@ -103,19 +103,19 @@ export declare const device_converted_to_unmanaged_event: z.ZodObject<z.objectUt
|
|
|
103
103
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
104
104
|
}>;
|
|
105
105
|
export type DeviceConvertedToUnmanagedEvent = z.infer<typeof device_converted_to_unmanaged_event>;
|
|
106
|
-
export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<
|
|
106
|
+
export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<{
|
|
107
107
|
event_id: z.ZodString;
|
|
108
108
|
workspace_id: z.ZodString;
|
|
109
109
|
created_at: z.ZodString;
|
|
110
110
|
occurred_at: z.ZodString;
|
|
111
|
-
}
|
|
111
|
+
} & {
|
|
112
112
|
device_id: z.ZodString;
|
|
113
113
|
connected_account_id: z.ZodString;
|
|
114
114
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
115
115
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
116
|
-
}
|
|
116
|
+
} & {
|
|
117
117
|
event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
|
|
118
|
-
}
|
|
118
|
+
}, "strip", z.ZodTypeAny, {
|
|
119
119
|
device_id: string;
|
|
120
120
|
workspace_id: string;
|
|
121
121
|
created_at: string;
|
|
@@ -137,19 +137,19 @@ export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<z.
|
|
|
137
137
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
138
138
|
}>;
|
|
139
139
|
export type UnmanagedDeviceConvertedToManagedEvent = z.infer<typeof unmanaged_device_converted_to_managed_event>;
|
|
140
|
-
export declare const unmanaged_device_connected_event: z.ZodObject<
|
|
140
|
+
export declare const unmanaged_device_connected_event: z.ZodObject<{
|
|
141
141
|
event_id: z.ZodString;
|
|
142
142
|
workspace_id: z.ZodString;
|
|
143
143
|
created_at: z.ZodString;
|
|
144
144
|
occurred_at: z.ZodString;
|
|
145
|
-
}
|
|
145
|
+
} & {
|
|
146
146
|
device_id: z.ZodString;
|
|
147
147
|
connected_account_id: z.ZodString;
|
|
148
148
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
149
149
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
150
|
-
}
|
|
150
|
+
} & {
|
|
151
151
|
event_type: z.ZodLiteral<"device.unmanaged.connected">;
|
|
152
|
-
}
|
|
152
|
+
}, "strip", z.ZodTypeAny, {
|
|
153
153
|
device_id: string;
|
|
154
154
|
workspace_id: string;
|
|
155
155
|
created_at: string;
|
|
@@ -171,20 +171,20 @@ export declare const unmanaged_device_connected_event: z.ZodObject<z.objectUtil.
|
|
|
171
171
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
172
172
|
}>;
|
|
173
173
|
export type UnmanagedDeviceConnectedEvent = z.infer<typeof unmanaged_device_connected_event>;
|
|
174
|
-
export declare const device_disconnected_event: z.ZodObject<
|
|
174
|
+
export declare const device_disconnected_event: z.ZodObject<{
|
|
175
175
|
event_id: z.ZodString;
|
|
176
176
|
workspace_id: z.ZodString;
|
|
177
177
|
created_at: z.ZodString;
|
|
178
178
|
occurred_at: z.ZodString;
|
|
179
|
-
}
|
|
179
|
+
} & {
|
|
180
180
|
device_id: z.ZodString;
|
|
181
181
|
connected_account_id: z.ZodString;
|
|
182
182
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
183
183
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
184
|
-
}
|
|
184
|
+
} & {
|
|
185
185
|
event_type: z.ZodLiteral<"device.disconnected">;
|
|
186
186
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
187
|
-
}
|
|
187
|
+
}, "strip", z.ZodTypeAny, {
|
|
188
188
|
device_id: string;
|
|
189
189
|
workspace_id: string;
|
|
190
190
|
created_at: string;
|
|
@@ -208,20 +208,20 @@ export declare const device_disconnected_event: z.ZodObject<z.objectUtil.extendS
|
|
|
208
208
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
209
209
|
}>;
|
|
210
210
|
export type DeviceDisconnectedEvent = z.infer<typeof device_disconnected_event>;
|
|
211
|
-
export declare const unmanaged_device_disconnected_event: z.ZodObject<
|
|
211
|
+
export declare const unmanaged_device_disconnected_event: z.ZodObject<{
|
|
212
212
|
event_id: z.ZodString;
|
|
213
213
|
workspace_id: z.ZodString;
|
|
214
214
|
created_at: z.ZodString;
|
|
215
215
|
occurred_at: z.ZodString;
|
|
216
|
-
}
|
|
216
|
+
} & {
|
|
217
217
|
device_id: z.ZodString;
|
|
218
218
|
connected_account_id: z.ZodString;
|
|
219
219
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
220
220
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
221
|
-
}
|
|
221
|
+
} & {
|
|
222
222
|
event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
|
|
223
223
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
224
|
-
}
|
|
224
|
+
}, "strip", z.ZodTypeAny, {
|
|
225
225
|
device_id: string;
|
|
226
226
|
workspace_id: string;
|
|
227
227
|
created_at: string;
|
|
@@ -245,19 +245,19 @@ export declare const unmanaged_device_disconnected_event: z.ZodObject<z.objectUt
|
|
|
245
245
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
246
246
|
}>;
|
|
247
247
|
export type UnmanagedDeviceDisconnectedEvent = z.infer<typeof unmanaged_device_disconnected_event>;
|
|
248
|
-
export declare const device_tampered_event: z.ZodObject<
|
|
248
|
+
export declare const device_tampered_event: z.ZodObject<{
|
|
249
249
|
event_id: z.ZodString;
|
|
250
250
|
workspace_id: z.ZodString;
|
|
251
251
|
created_at: z.ZodString;
|
|
252
252
|
occurred_at: z.ZodString;
|
|
253
|
-
}
|
|
253
|
+
} & {
|
|
254
254
|
device_id: z.ZodString;
|
|
255
255
|
connected_account_id: z.ZodString;
|
|
256
256
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
257
257
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
258
|
-
}
|
|
258
|
+
} & {
|
|
259
259
|
event_type: z.ZodLiteral<"device.tampered">;
|
|
260
|
-
}
|
|
260
|
+
}, "strip", z.ZodTypeAny, {
|
|
261
261
|
device_id: string;
|
|
262
262
|
workspace_id: string;
|
|
263
263
|
created_at: string;
|
|
@@ -279,20 +279,20 @@ export declare const device_tampered_event: z.ZodObject<z.objectUtil.extendShape
|
|
|
279
279
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
280
280
|
}>;
|
|
281
281
|
export type DeviceTamperedEvent = z.infer<typeof device_tampered_event>;
|
|
282
|
-
export declare const device_low_battery_event: z.ZodObject<
|
|
282
|
+
export declare const device_low_battery_event: z.ZodObject<{
|
|
283
283
|
event_id: z.ZodString;
|
|
284
284
|
workspace_id: z.ZodString;
|
|
285
285
|
created_at: z.ZodString;
|
|
286
286
|
occurred_at: z.ZodString;
|
|
287
|
-
}
|
|
287
|
+
} & {
|
|
288
288
|
device_id: z.ZodString;
|
|
289
289
|
connected_account_id: z.ZodString;
|
|
290
290
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
291
291
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
292
|
-
}
|
|
292
|
+
} & {
|
|
293
293
|
event_type: z.ZodLiteral<"device.low_battery">;
|
|
294
294
|
battery_level: z.ZodNumber;
|
|
295
|
-
}
|
|
295
|
+
}, "strip", z.ZodTypeAny, {
|
|
296
296
|
device_id: string;
|
|
297
297
|
workspace_id: string;
|
|
298
298
|
created_at: string;
|
|
@@ -316,21 +316,21 @@ export declare const device_low_battery_event: z.ZodObject<z.objectUtil.extendSh
|
|
|
316
316
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
317
317
|
}>;
|
|
318
318
|
export type DeviceLowBatteryEvent = z.infer<typeof device_low_battery_event>;
|
|
319
|
-
export declare const device_battery_status_changed_event: z.ZodObject<
|
|
319
|
+
export declare const device_battery_status_changed_event: z.ZodObject<{
|
|
320
320
|
event_id: z.ZodString;
|
|
321
321
|
workspace_id: z.ZodString;
|
|
322
322
|
created_at: z.ZodString;
|
|
323
323
|
occurred_at: z.ZodString;
|
|
324
|
-
}
|
|
324
|
+
} & {
|
|
325
325
|
device_id: z.ZodString;
|
|
326
326
|
connected_account_id: z.ZodString;
|
|
327
327
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
328
328
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
329
|
-
}
|
|
329
|
+
} & {
|
|
330
330
|
event_type: z.ZodLiteral<"device.battery_status_changed">;
|
|
331
331
|
battery_status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
332
332
|
battery_level: z.ZodNumber;
|
|
333
|
-
}
|
|
333
|
+
}, "strip", z.ZodTypeAny, {
|
|
334
334
|
device_id: string;
|
|
335
335
|
workspace_id: string;
|
|
336
336
|
created_at: string;
|
|
@@ -356,19 +356,19 @@ export declare const device_battery_status_changed_event: z.ZodObject<z.objectUt
|
|
|
356
356
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
357
357
|
}>;
|
|
358
358
|
export type DeviceBatteryStatusChangedEvent = z.infer<typeof device_battery_status_changed_event>;
|
|
359
|
-
export declare const device_removed_event: z.ZodObject<
|
|
359
|
+
export declare const device_removed_event: z.ZodObject<{
|
|
360
360
|
event_id: z.ZodString;
|
|
361
361
|
workspace_id: z.ZodString;
|
|
362
362
|
created_at: z.ZodString;
|
|
363
363
|
occurred_at: z.ZodString;
|
|
364
|
-
}
|
|
364
|
+
} & {
|
|
365
365
|
device_id: z.ZodString;
|
|
366
366
|
connected_account_id: z.ZodString;
|
|
367
367
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
368
368
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
369
|
-
}
|
|
369
|
+
} & {
|
|
370
370
|
event_type: z.ZodLiteral<"device.removed">;
|
|
371
|
-
}
|
|
371
|
+
}, "strip", z.ZodTypeAny, {
|
|
372
372
|
device_id: string;
|
|
373
373
|
workspace_id: string;
|
|
374
374
|
created_at: string;
|
|
@@ -390,19 +390,19 @@ export declare const device_removed_event: z.ZodObject<z.objectUtil.extendShape<
|
|
|
390
390
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
391
391
|
}>;
|
|
392
392
|
export type DeviceRemovedEvent = z.infer<typeof device_removed_event>;
|
|
393
|
-
export declare const device_deleted_event: z.ZodObject<
|
|
393
|
+
export declare const device_deleted_event: z.ZodObject<{
|
|
394
394
|
event_id: z.ZodString;
|
|
395
395
|
workspace_id: z.ZodString;
|
|
396
396
|
created_at: z.ZodString;
|
|
397
397
|
occurred_at: z.ZodString;
|
|
398
|
-
}
|
|
398
|
+
} & {
|
|
399
399
|
device_id: z.ZodString;
|
|
400
400
|
connected_account_id: z.ZodString;
|
|
401
401
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
402
402
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
403
|
-
}
|
|
403
|
+
} & {
|
|
404
404
|
event_type: z.ZodLiteral<"device.deleted">;
|
|
405
|
-
}
|
|
405
|
+
}, "strip", z.ZodTypeAny, {
|
|
406
406
|
device_id: string;
|
|
407
407
|
workspace_id: string;
|
|
408
408
|
created_at: string;
|
|
@@ -424,19 +424,19 @@ export declare const device_deleted_event: z.ZodObject<z.objectUtil.extendShape<
|
|
|
424
424
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
425
425
|
}>;
|
|
426
426
|
export type DeviceDeletedEvent = z.infer<typeof device_deleted_event>;
|
|
427
|
-
export declare const device_third_party_integration_detected_event: z.ZodObject<
|
|
427
|
+
export declare const device_third_party_integration_detected_event: z.ZodObject<{
|
|
428
428
|
event_id: z.ZodString;
|
|
429
429
|
workspace_id: z.ZodString;
|
|
430
430
|
created_at: z.ZodString;
|
|
431
431
|
occurred_at: z.ZodString;
|
|
432
|
-
}
|
|
432
|
+
} & {
|
|
433
433
|
device_id: z.ZodString;
|
|
434
434
|
connected_account_id: z.ZodString;
|
|
435
435
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
436
436
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
437
|
-
}
|
|
437
|
+
} & {
|
|
438
438
|
event_type: z.ZodLiteral<"device.third_party_integration_detected">;
|
|
439
|
-
}
|
|
439
|
+
}, "strip", z.ZodTypeAny, {
|
|
440
440
|
device_id: string;
|
|
441
441
|
workspace_id: string;
|
|
442
442
|
created_at: string;
|
|
@@ -458,19 +458,19 @@ export declare const device_third_party_integration_detected_event: z.ZodObject<
|
|
|
458
458
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
459
459
|
}>;
|
|
460
460
|
export type DeviceThirdPartyIntegrationDetectedEvent = z.infer<typeof device_third_party_integration_detected_event>;
|
|
461
|
-
export declare const device_third_party_integration_no_longer_detected_event: z.ZodObject<
|
|
461
|
+
export declare const device_third_party_integration_no_longer_detected_event: z.ZodObject<{
|
|
462
462
|
event_id: z.ZodString;
|
|
463
463
|
workspace_id: z.ZodString;
|
|
464
464
|
created_at: z.ZodString;
|
|
465
465
|
occurred_at: z.ZodString;
|
|
466
|
-
}
|
|
466
|
+
} & {
|
|
467
467
|
device_id: z.ZodString;
|
|
468
468
|
connected_account_id: z.ZodString;
|
|
469
469
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
470
470
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
471
|
-
}
|
|
471
|
+
} & {
|
|
472
472
|
event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
|
|
473
|
-
}
|
|
473
|
+
}, "strip", z.ZodTypeAny, {
|
|
474
474
|
device_id: string;
|
|
475
475
|
workspace_id: string;
|
|
476
476
|
created_at: string;
|
|
@@ -492,19 +492,19 @@ export declare const device_third_party_integration_no_longer_detected_event: z.
|
|
|
492
492
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
493
493
|
}>;
|
|
494
494
|
export type DeviceThirdPartyIntegrationNoLongerDetectedEvent = z.infer<typeof device_third_party_integration_no_longer_detected_event>;
|
|
495
|
-
export declare const device_salto_privacy_mode_activated_event: z.ZodObject<
|
|
495
|
+
export declare const device_salto_privacy_mode_activated_event: z.ZodObject<{
|
|
496
496
|
event_id: z.ZodString;
|
|
497
497
|
workspace_id: z.ZodString;
|
|
498
498
|
created_at: z.ZodString;
|
|
499
499
|
occurred_at: z.ZodString;
|
|
500
|
-
}
|
|
500
|
+
} & {
|
|
501
501
|
device_id: z.ZodString;
|
|
502
502
|
connected_account_id: z.ZodString;
|
|
503
503
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
504
504
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
505
|
-
}
|
|
505
|
+
} & {
|
|
506
506
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
|
|
507
|
-
}
|
|
507
|
+
}, "strip", z.ZodTypeAny, {
|
|
508
508
|
device_id: string;
|
|
509
509
|
workspace_id: string;
|
|
510
510
|
created_at: string;
|
|
@@ -526,19 +526,19 @@ export declare const device_salto_privacy_mode_activated_event: z.ZodObject<z.ob
|
|
|
526
526
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
527
527
|
}>;
|
|
528
528
|
export type DeviceSaltoPrivacyModeActivatedEvent = z.infer<typeof device_salto_privacy_mode_activated_event>;
|
|
529
|
-
export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<
|
|
529
|
+
export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<{
|
|
530
530
|
event_id: z.ZodString;
|
|
531
531
|
workspace_id: z.ZodString;
|
|
532
532
|
created_at: z.ZodString;
|
|
533
533
|
occurred_at: z.ZodString;
|
|
534
|
-
}
|
|
534
|
+
} & {
|
|
535
535
|
device_id: z.ZodString;
|
|
536
536
|
connected_account_id: z.ZodString;
|
|
537
537
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
538
538
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
539
|
-
}
|
|
539
|
+
} & {
|
|
540
540
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
|
|
541
|
-
}
|
|
541
|
+
}, "strip", z.ZodTypeAny, {
|
|
542
542
|
device_id: string;
|
|
543
543
|
workspace_id: string;
|
|
544
544
|
created_at: string;
|
|
@@ -560,19 +560,19 @@ export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<z.
|
|
|
560
560
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
561
561
|
}>;
|
|
562
562
|
export type DeviceSaltoPrivacyModeDeactivatedEvent = z.infer<typeof device_salto_privacy_mode_deactivated_event>;
|
|
563
|
-
export declare const device_connection_became_flaky_event: z.ZodObject<
|
|
563
|
+
export declare const device_connection_became_flaky_event: z.ZodObject<{
|
|
564
564
|
event_id: z.ZodString;
|
|
565
565
|
workspace_id: z.ZodString;
|
|
566
566
|
created_at: z.ZodString;
|
|
567
567
|
occurred_at: z.ZodString;
|
|
568
|
-
}
|
|
568
|
+
} & {
|
|
569
569
|
device_id: z.ZodString;
|
|
570
570
|
connected_account_id: z.ZodString;
|
|
571
571
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
572
572
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
573
|
-
}
|
|
573
|
+
} & {
|
|
574
574
|
event_type: z.ZodLiteral<"device.connection_became_flaky">;
|
|
575
|
-
}
|
|
575
|
+
}, "strip", z.ZodTypeAny, {
|
|
576
576
|
device_id: string;
|
|
577
577
|
workspace_id: string;
|
|
578
578
|
created_at: string;
|
|
@@ -594,19 +594,19 @@ export declare const device_connection_became_flaky_event: z.ZodObject<z.objectU
|
|
|
594
594
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
595
595
|
}>;
|
|
596
596
|
export type DeviceConnectionBecameFlakyEvent = z.infer<typeof device_connection_became_flaky_event>;
|
|
597
|
-
export declare const device_connection_stabilized_event: z.ZodObject<
|
|
597
|
+
export declare const device_connection_stabilized_event: z.ZodObject<{
|
|
598
598
|
event_id: z.ZodString;
|
|
599
599
|
workspace_id: z.ZodString;
|
|
600
600
|
created_at: z.ZodString;
|
|
601
601
|
occurred_at: z.ZodString;
|
|
602
|
-
}
|
|
602
|
+
} & {
|
|
603
603
|
device_id: z.ZodString;
|
|
604
604
|
connected_account_id: z.ZodString;
|
|
605
605
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
606
606
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
607
|
-
}
|
|
607
|
+
} & {
|
|
608
608
|
event_type: z.ZodLiteral<"device.connection_stabilized">;
|
|
609
|
-
}
|
|
609
|
+
}, "strip", z.ZodTypeAny, {
|
|
610
610
|
device_id: string;
|
|
611
611
|
workspace_id: string;
|
|
612
612
|
created_at: string;
|
|
@@ -628,19 +628,19 @@ export declare const device_connection_stabilized_event: z.ZodObject<z.objectUti
|
|
|
628
628
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
629
629
|
}>;
|
|
630
630
|
export type DeviceConnectionStabilizedEvent = z.infer<typeof device_connection_stabilized_event>;
|
|
631
|
-
export declare const device_error_subscription_required_event: z.ZodObject<
|
|
631
|
+
export declare const device_error_subscription_required_event: z.ZodObject<{
|
|
632
632
|
event_id: z.ZodString;
|
|
633
633
|
workspace_id: z.ZodString;
|
|
634
634
|
created_at: z.ZodString;
|
|
635
635
|
occurred_at: z.ZodString;
|
|
636
|
-
}
|
|
636
|
+
} & {
|
|
637
637
|
device_id: z.ZodString;
|
|
638
638
|
connected_account_id: z.ZodString;
|
|
639
639
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
640
640
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
641
|
-
}
|
|
641
|
+
} & {
|
|
642
642
|
event_type: z.ZodLiteral<"device.error.subscription_required">;
|
|
643
|
-
}
|
|
643
|
+
}, "strip", z.ZodTypeAny, {
|
|
644
644
|
device_id: string;
|
|
645
645
|
workspace_id: string;
|
|
646
646
|
created_at: string;
|
|
@@ -662,19 +662,19 @@ export declare const device_error_subscription_required_event: z.ZodObject<z.obj
|
|
|
662
662
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
663
663
|
}>;
|
|
664
664
|
export type DeviceErrorSubscriptionRequiredEvent = z.infer<typeof device_error_subscription_required_event>;
|
|
665
|
-
export declare const device_error_subscription_required_resolved_event: z.ZodObject<
|
|
665
|
+
export declare const device_error_subscription_required_resolved_event: z.ZodObject<{
|
|
666
666
|
event_id: z.ZodString;
|
|
667
667
|
workspace_id: z.ZodString;
|
|
668
668
|
created_at: z.ZodString;
|
|
669
669
|
occurred_at: z.ZodString;
|
|
670
|
-
}
|
|
670
|
+
} & {
|
|
671
671
|
device_id: z.ZodString;
|
|
672
672
|
connected_account_id: z.ZodString;
|
|
673
673
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
674
674
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
675
|
-
}
|
|
675
|
+
} & {
|
|
676
676
|
event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
|
|
677
|
-
}
|
|
677
|
+
}, "strip", z.ZodTypeAny, {
|
|
678
678
|
device_id: string;
|
|
679
679
|
workspace_id: string;
|
|
680
680
|
created_at: string;
|
|
@@ -696,19 +696,19 @@ export declare const device_error_subscription_required_resolved_event: z.ZodObj
|
|
|
696
696
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
697
697
|
}>;
|
|
698
698
|
export type DeviceErrorSubscriptionRequiredResolvedEvent = z.infer<typeof device_error_subscription_required_resolved_event>;
|
|
699
|
-
export declare const device_accessory_keypad_connected_event: z.ZodObject<
|
|
699
|
+
export declare const device_accessory_keypad_connected_event: z.ZodObject<{
|
|
700
700
|
event_id: z.ZodString;
|
|
701
701
|
workspace_id: z.ZodString;
|
|
702
702
|
created_at: z.ZodString;
|
|
703
703
|
occurred_at: z.ZodString;
|
|
704
|
-
}
|
|
704
|
+
} & {
|
|
705
705
|
device_id: z.ZodString;
|
|
706
706
|
connected_account_id: z.ZodString;
|
|
707
707
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
708
708
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
709
|
-
}
|
|
709
|
+
} & {
|
|
710
710
|
event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
|
|
711
|
-
}
|
|
711
|
+
}, "strip", z.ZodTypeAny, {
|
|
712
712
|
device_id: string;
|
|
713
713
|
workspace_id: string;
|
|
714
714
|
created_at: string;
|
|
@@ -730,19 +730,19 @@ export declare const device_accessory_keypad_connected_event: z.ZodObject<z.obje
|
|
|
730
730
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
731
731
|
}>;
|
|
732
732
|
export type DeviceAccessoryKeypadConnectedEvent = z.infer<typeof device_accessory_keypad_connected_event>;
|
|
733
|
-
export declare const device_accessory_keypad_disconnected_event: z.ZodObject<
|
|
733
|
+
export declare const device_accessory_keypad_disconnected_event: z.ZodObject<{
|
|
734
734
|
event_id: z.ZodString;
|
|
735
735
|
workspace_id: z.ZodString;
|
|
736
736
|
created_at: z.ZodString;
|
|
737
737
|
occurred_at: z.ZodString;
|
|
738
|
-
}
|
|
738
|
+
} & {
|
|
739
739
|
device_id: z.ZodString;
|
|
740
740
|
connected_account_id: z.ZodString;
|
|
741
741
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
742
742
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
743
|
-
}
|
|
743
|
+
} & {
|
|
744
744
|
event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
|
|
745
|
-
}
|
|
745
|
+
}, "strip", z.ZodTypeAny, {
|
|
746
746
|
device_id: string;
|
|
747
747
|
workspace_id: string;
|
|
748
748
|
created_at: string;
|
|
@@ -764,17 +764,17 @@ export declare const device_accessory_keypad_disconnected_event: z.ZodObject<z.o
|
|
|
764
764
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
765
765
|
}>;
|
|
766
766
|
export type DeviceAccessoryKeypadDisconnectedEvent = z.infer<typeof device_accessory_keypad_disconnected_event>;
|
|
767
|
-
export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<
|
|
767
|
+
export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<{
|
|
768
768
|
event_id: z.ZodString;
|
|
769
769
|
workspace_id: z.ZodString;
|
|
770
770
|
created_at: z.ZodString;
|
|
771
771
|
occurred_at: z.ZodString;
|
|
772
|
-
}
|
|
772
|
+
} & {
|
|
773
773
|
device_id: z.ZodString;
|
|
774
774
|
connected_account_id: z.ZodString;
|
|
775
775
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
776
776
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
777
|
-
}
|
|
777
|
+
} & {
|
|
778
778
|
event_type: z.ZodLiteral<"noise_sensor.noise_threshold_triggered">;
|
|
779
779
|
noise_level_decibels: z.ZodOptional<z.ZodNumber>;
|
|
780
780
|
noise_level_nrs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -782,7 +782,7 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<z
|
|
|
782
782
|
noise_threshold_name: z.ZodOptional<z.ZodString>;
|
|
783
783
|
noiseaware_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
784
784
|
minut_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
785
|
-
}
|
|
785
|
+
}, "strip", z.ZodTypeAny, {
|
|
786
786
|
device_id: string;
|
|
787
787
|
workspace_id: string;
|
|
788
788
|
created_at: string;
|
|
@@ -816,22 +816,22 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<z
|
|
|
816
816
|
noise_threshold_name?: string | undefined;
|
|
817
817
|
}>;
|
|
818
818
|
export type NoiseSensorNoiseThresholdTriggeredEvent = z.infer<typeof noise_sensor_noise_threshold_triggered_event>;
|
|
819
|
-
export declare const lock_locked_event: z.ZodObject<
|
|
819
|
+
export declare const lock_locked_event: z.ZodObject<{
|
|
820
820
|
event_id: z.ZodString;
|
|
821
821
|
workspace_id: z.ZodString;
|
|
822
822
|
created_at: z.ZodString;
|
|
823
823
|
occurred_at: z.ZodString;
|
|
824
|
-
}
|
|
824
|
+
} & {
|
|
825
825
|
device_id: z.ZodString;
|
|
826
826
|
connected_account_id: z.ZodString;
|
|
827
827
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
828
828
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
829
|
-
}
|
|
829
|
+
} & {
|
|
830
830
|
event_type: z.ZodLiteral<"lock.locked">;
|
|
831
831
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
832
832
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
833
833
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
834
|
-
}
|
|
834
|
+
}, "strip", z.ZodTypeAny, {
|
|
835
835
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
836
836
|
device_id: string;
|
|
837
837
|
workspace_id: string;
|
|
@@ -859,22 +859,22 @@ export declare const lock_locked_event: z.ZodObject<z.objectUtil.extendShape<z.o
|
|
|
859
859
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
860
860
|
}>;
|
|
861
861
|
export type LockLockedEvent = z.infer<typeof lock_locked_event>;
|
|
862
|
-
export declare const lock_unlocked_event: z.ZodObject<
|
|
862
|
+
export declare const lock_unlocked_event: z.ZodObject<{
|
|
863
863
|
event_id: z.ZodString;
|
|
864
864
|
workspace_id: z.ZodString;
|
|
865
865
|
created_at: z.ZodString;
|
|
866
866
|
occurred_at: z.ZodString;
|
|
867
|
-
}
|
|
867
|
+
} & {
|
|
868
868
|
device_id: z.ZodString;
|
|
869
869
|
connected_account_id: z.ZodString;
|
|
870
870
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
871
871
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
872
|
-
}
|
|
872
|
+
} & {
|
|
873
873
|
event_type: z.ZodLiteral<"lock.unlocked">;
|
|
874
874
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
875
875
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
876
876
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
877
|
-
}
|
|
877
|
+
}, "strip", z.ZodTypeAny, {
|
|
878
878
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
879
879
|
device_id: string;
|
|
880
880
|
workspace_id: string;
|
|
@@ -902,20 +902,20 @@ export declare const lock_unlocked_event: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
902
902
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
903
903
|
}>;
|
|
904
904
|
export type LockUnlockedEvent = z.infer<typeof lock_unlocked_event>;
|
|
905
|
-
export declare const lock_access_denied_event: z.ZodObject<
|
|
905
|
+
export declare const lock_access_denied_event: z.ZodObject<{
|
|
906
906
|
event_id: z.ZodString;
|
|
907
907
|
workspace_id: z.ZodString;
|
|
908
908
|
created_at: z.ZodString;
|
|
909
909
|
occurred_at: z.ZodString;
|
|
910
|
-
}
|
|
910
|
+
} & {
|
|
911
911
|
device_id: z.ZodString;
|
|
912
912
|
connected_account_id: z.ZodString;
|
|
913
913
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
914
914
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
915
|
-
}
|
|
915
|
+
} & {
|
|
916
916
|
event_type: z.ZodLiteral<"lock.access_denied">;
|
|
917
917
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
918
|
-
}
|
|
918
|
+
}, "strip", z.ZodTypeAny, {
|
|
919
919
|
device_id: string;
|
|
920
920
|
workspace_id: string;
|
|
921
921
|
created_at: string;
|
|
@@ -939,22 +939,22 @@ export declare const lock_access_denied_event: z.ZodObject<z.objectUtil.extendSh
|
|
|
939
939
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
940
940
|
}>;
|
|
941
941
|
export type LockAccessDeniedEvent = z.infer<typeof lock_access_denied_event>;
|
|
942
|
-
export declare const thermostat_climate_preset_activated_event: z.ZodObject<
|
|
942
|
+
export declare const thermostat_climate_preset_activated_event: z.ZodObject<{
|
|
943
943
|
event_id: z.ZodString;
|
|
944
944
|
workspace_id: z.ZodString;
|
|
945
945
|
created_at: z.ZodString;
|
|
946
946
|
occurred_at: z.ZodString;
|
|
947
|
-
}
|
|
947
|
+
} & {
|
|
948
948
|
device_id: z.ZodString;
|
|
949
949
|
connected_account_id: z.ZodString;
|
|
950
950
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
951
951
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
952
|
-
}
|
|
952
|
+
} & {
|
|
953
953
|
event_type: z.ZodLiteral<"thermostat.climate_preset_activated">;
|
|
954
954
|
thermostat_schedule_id: z.ZodNullable<z.ZodString>;
|
|
955
955
|
climate_preset_key: z.ZodString;
|
|
956
956
|
is_fallback_climate_preset: z.ZodBoolean;
|
|
957
|
-
}
|
|
957
|
+
}, "strip", z.ZodTypeAny, {
|
|
958
958
|
climate_preset_key: string;
|
|
959
959
|
device_id: string;
|
|
960
960
|
workspace_id: string;
|
|
@@ -983,20 +983,20 @@ export declare const thermostat_climate_preset_activated_event: z.ZodObject<z.ob
|
|
|
983
983
|
}>;
|
|
984
984
|
export type ThermostatClimatePresetActivatedEvent = z.infer<typeof thermostat_climate_preset_activated_event>;
|
|
985
985
|
export declare const thermostat_manually_adjusted_method: z.ZodEnum<["seam", "external"]>;
|
|
986
|
-
export declare const thermostat_manually_adjusted_event: z.ZodObject<
|
|
986
|
+
export declare const thermostat_manually_adjusted_event: z.ZodObject<{
|
|
987
987
|
event_id: z.ZodString;
|
|
988
988
|
workspace_id: z.ZodString;
|
|
989
989
|
created_at: z.ZodString;
|
|
990
990
|
occurred_at: z.ZodString;
|
|
991
|
-
}
|
|
991
|
+
} & {
|
|
992
992
|
device_id: z.ZodString;
|
|
993
993
|
connected_account_id: z.ZodString;
|
|
994
994
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
995
995
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
996
|
-
}
|
|
996
|
+
} & {
|
|
997
997
|
event_type: z.ZodLiteral<"thermostat.manually_adjusted">;
|
|
998
998
|
method: z.ZodEnum<["seam", "external"]>;
|
|
999
|
-
}
|
|
999
|
+
} & Pick<{
|
|
1000
1000
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
1001
1001
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
1002
1002
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1024,7 +1024,7 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<z.objectUti
|
|
|
1024
1024
|
is_optimized: boolean;
|
|
1025
1025
|
owner: "user" | "system";
|
|
1026
1026
|
}>>>;
|
|
1027
|
-
}, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit"
|
|
1027
|
+
}, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit">, "strip", z.ZodTypeAny, {
|
|
1028
1028
|
method: "external" | "seam";
|
|
1029
1029
|
device_id: string;
|
|
1030
1030
|
workspace_id: string;
|
|
@@ -1060,17 +1060,17 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<z.objectUti
|
|
|
1060
1060
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1061
1061
|
}>;
|
|
1062
1062
|
export type ThermostatManuallyAdjustedEvent = z.infer<typeof thermostat_manually_adjusted_event>;
|
|
1063
|
-
export declare const temperature_threshold_exceeded_event: z.ZodObject<
|
|
1063
|
+
export declare const temperature_threshold_exceeded_event: z.ZodObject<{
|
|
1064
1064
|
event_id: z.ZodString;
|
|
1065
1065
|
workspace_id: z.ZodString;
|
|
1066
1066
|
created_at: z.ZodString;
|
|
1067
1067
|
occurred_at: z.ZodString;
|
|
1068
|
-
}
|
|
1068
|
+
} & {
|
|
1069
1069
|
device_id: z.ZodString;
|
|
1070
1070
|
connected_account_id: z.ZodString;
|
|
1071
1071
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1072
1072
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1073
|
-
}
|
|
1073
|
+
} & {
|
|
1074
1074
|
event_type: z.ZodLiteral<"thermostat.temperature_threshold_exceeded">;
|
|
1075
1075
|
temperature_celsius: z.ZodNumber;
|
|
1076
1076
|
temperature_fahrenheit: z.ZodNumber;
|
|
@@ -1078,7 +1078,7 @@ export declare const temperature_threshold_exceeded_event: z.ZodObject<z.objectU
|
|
|
1078
1078
|
upper_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1079
1079
|
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1080
1080
|
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1081
|
-
}
|
|
1081
|
+
}, "strip", z.ZodTypeAny, {
|
|
1082
1082
|
device_id: string;
|
|
1083
1083
|
workspace_id: string;
|
|
1084
1084
|
created_at: string;
|
|
@@ -1112,17 +1112,17 @@ export declare const temperature_threshold_exceeded_event: z.ZodObject<z.objectU
|
|
|
1112
1112
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1113
1113
|
}>;
|
|
1114
1114
|
export type TemperatureThresholdExceededEvent = z.infer<typeof temperature_threshold_exceeded_event>;
|
|
1115
|
-
export declare const temperature_threshold_no_longer_exceeded_event: z.ZodObject<
|
|
1115
|
+
export declare const temperature_threshold_no_longer_exceeded_event: z.ZodObject<{
|
|
1116
1116
|
event_id: z.ZodString;
|
|
1117
1117
|
workspace_id: z.ZodString;
|
|
1118
1118
|
created_at: z.ZodString;
|
|
1119
1119
|
occurred_at: z.ZodString;
|
|
1120
|
-
}
|
|
1120
|
+
} & {
|
|
1121
1121
|
device_id: z.ZodString;
|
|
1122
1122
|
connected_account_id: z.ZodString;
|
|
1123
1123
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1124
1124
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1125
|
-
}
|
|
1125
|
+
} & {
|
|
1126
1126
|
event_type: z.ZodLiteral<"thermostat.temperature_threshold_no_longer_exceeded">;
|
|
1127
1127
|
temperature_celsius: z.ZodNumber;
|
|
1128
1128
|
temperature_fahrenheit: z.ZodNumber;
|
|
@@ -1130,7 +1130,7 @@ export declare const temperature_threshold_no_longer_exceeded_event: z.ZodObject
|
|
|
1130
1130
|
upper_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1131
1131
|
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1132
1132
|
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1133
|
-
}
|
|
1133
|
+
}, "strip", z.ZodTypeAny, {
|
|
1134
1134
|
device_id: string;
|
|
1135
1135
|
workspace_id: string;
|
|
1136
1136
|
created_at: string;
|
|
@@ -1164,23 +1164,23 @@ export declare const temperature_threshold_no_longer_exceeded_event: z.ZodObject
|
|
|
1164
1164
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1165
1165
|
}>;
|
|
1166
1166
|
export type TemperatureThresholdNoLongerExceededEvent = z.infer<typeof temperature_threshold_no_longer_exceeded_event>;
|
|
1167
|
-
export declare const temperature_reached_set_point_event: z.ZodObject<
|
|
1167
|
+
export declare const temperature_reached_set_point_event: z.ZodObject<{
|
|
1168
1168
|
event_id: z.ZodString;
|
|
1169
1169
|
workspace_id: z.ZodString;
|
|
1170
1170
|
created_at: z.ZodString;
|
|
1171
1171
|
occurred_at: z.ZodString;
|
|
1172
|
-
}
|
|
1172
|
+
} & {
|
|
1173
1173
|
device_id: z.ZodString;
|
|
1174
1174
|
connected_account_id: z.ZodString;
|
|
1175
1175
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1176
1176
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1177
|
-
}
|
|
1177
|
+
} & {
|
|
1178
1178
|
event_type: z.ZodLiteral<"thermostat.temperature_reached_set_point">;
|
|
1179
1179
|
temperature_celsius: z.ZodNumber;
|
|
1180
1180
|
temperature_fahrenheit: z.ZodNumber;
|
|
1181
1181
|
desired_temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1182
1182
|
desired_temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1183
|
-
}
|
|
1183
|
+
}, "strip", z.ZodTypeAny, {
|
|
1184
1184
|
device_id: string;
|
|
1185
1185
|
workspace_id: string;
|
|
1186
1186
|
created_at: string;
|
|
@@ -1210,21 +1210,21 @@ export declare const temperature_reached_set_point_event: z.ZodObject<z.objectUt
|
|
|
1210
1210
|
desired_temperature_fahrenheit?: number | undefined;
|
|
1211
1211
|
}>;
|
|
1212
1212
|
export type TemperatureReachedSetPointEvent = z.infer<typeof temperature_reached_set_point_event>;
|
|
1213
|
-
export declare const temperature_changed_event: z.ZodObject<
|
|
1213
|
+
export declare const temperature_changed_event: z.ZodObject<{
|
|
1214
1214
|
event_id: z.ZodString;
|
|
1215
1215
|
workspace_id: z.ZodString;
|
|
1216
1216
|
created_at: z.ZodString;
|
|
1217
1217
|
occurred_at: z.ZodString;
|
|
1218
|
-
}
|
|
1218
|
+
} & {
|
|
1219
1219
|
device_id: z.ZodString;
|
|
1220
1220
|
connected_account_id: z.ZodString;
|
|
1221
1221
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1222
1222
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1223
|
-
}
|
|
1223
|
+
} & {
|
|
1224
1224
|
event_type: z.ZodLiteral<"thermostat.temperature_changed">;
|
|
1225
1225
|
temperature_celsius: z.ZodNumber;
|
|
1226
1226
|
temperature_fahrenheit: z.ZodNumber;
|
|
1227
|
-
}
|
|
1227
|
+
}, "strip", z.ZodTypeAny, {
|
|
1228
1228
|
device_id: string;
|
|
1229
1229
|
workspace_id: string;
|
|
1230
1230
|
created_at: string;
|
|
@@ -1250,20 +1250,20 @@ export declare const temperature_changed_event: z.ZodObject<z.objectUtil.extendS
|
|
|
1250
1250
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1251
1251
|
}>;
|
|
1252
1252
|
export type TemperatureChangedEvent = z.infer<typeof temperature_changed_event>;
|
|
1253
|
-
export declare const device_name_changed_event: z.ZodObject<
|
|
1253
|
+
export declare const device_name_changed_event: z.ZodObject<{
|
|
1254
1254
|
event_id: z.ZodString;
|
|
1255
1255
|
workspace_id: z.ZodString;
|
|
1256
1256
|
created_at: z.ZodString;
|
|
1257
1257
|
occurred_at: z.ZodString;
|
|
1258
|
-
}
|
|
1258
|
+
} & {
|
|
1259
1259
|
device_id: z.ZodString;
|
|
1260
1260
|
connected_account_id: z.ZodString;
|
|
1261
1261
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1262
1262
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1263
|
-
}
|
|
1263
|
+
} & {
|
|
1264
1264
|
event_type: z.ZodLiteral<"device.name_changed">;
|
|
1265
1265
|
device_name: z.ZodString;
|
|
1266
|
-
}
|
|
1266
|
+
}, "strip", z.ZodTypeAny, {
|
|
1267
1267
|
device_id: string;
|
|
1268
1268
|
workspace_id: string;
|
|
1269
1269
|
created_at: string;
|
|
@@ -1287,19 +1287,19 @@ export declare const device_name_changed_event: z.ZodObject<z.objectUtil.extendS
|
|
|
1287
1287
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1288
1288
|
}>;
|
|
1289
1289
|
export type DeviceNameChangedEvent = z.infer<typeof device_name_changed_event>;
|
|
1290
|
-
export declare const device_events: readonly [z.ZodObject<
|
|
1290
|
+
export declare const device_events: readonly [z.ZodObject<{
|
|
1291
1291
|
event_id: z.ZodString;
|
|
1292
1292
|
workspace_id: z.ZodString;
|
|
1293
1293
|
created_at: z.ZodString;
|
|
1294
1294
|
occurred_at: z.ZodString;
|
|
1295
|
-
}
|
|
1295
|
+
} & {
|
|
1296
1296
|
device_id: z.ZodString;
|
|
1297
1297
|
connected_account_id: z.ZodString;
|
|
1298
1298
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1299
1299
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1300
|
-
}
|
|
1300
|
+
} & {
|
|
1301
1301
|
event_type: z.ZodLiteral<"device.connected">;
|
|
1302
|
-
}
|
|
1302
|
+
}, "strip", z.ZodTypeAny, {
|
|
1303
1303
|
device_id: string;
|
|
1304
1304
|
workspace_id: string;
|
|
1305
1305
|
created_at: string;
|
|
@@ -1319,19 +1319,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1319
1319
|
event_type: "device.connected";
|
|
1320
1320
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1321
1321
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1322
|
-
}>, z.ZodObject<
|
|
1322
|
+
}>, z.ZodObject<{
|
|
1323
1323
|
event_id: z.ZodString;
|
|
1324
1324
|
workspace_id: z.ZodString;
|
|
1325
1325
|
created_at: z.ZodString;
|
|
1326
1326
|
occurred_at: z.ZodString;
|
|
1327
|
-
}
|
|
1327
|
+
} & {
|
|
1328
1328
|
device_id: z.ZodString;
|
|
1329
1329
|
connected_account_id: z.ZodString;
|
|
1330
1330
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1331
1331
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1332
|
-
}
|
|
1332
|
+
} & {
|
|
1333
1333
|
event_type: z.ZodLiteral<"device.added">;
|
|
1334
|
-
}
|
|
1334
|
+
}, "strip", z.ZodTypeAny, {
|
|
1335
1335
|
device_id: string;
|
|
1336
1336
|
workspace_id: string;
|
|
1337
1337
|
created_at: string;
|
|
@@ -1351,19 +1351,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1351
1351
|
event_type: "device.added";
|
|
1352
1352
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1353
1353
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1354
|
-
}>, z.ZodObject<
|
|
1354
|
+
}>, z.ZodObject<{
|
|
1355
1355
|
event_id: z.ZodString;
|
|
1356
1356
|
workspace_id: z.ZodString;
|
|
1357
1357
|
created_at: z.ZodString;
|
|
1358
1358
|
occurred_at: z.ZodString;
|
|
1359
|
-
}
|
|
1359
|
+
} & {
|
|
1360
1360
|
device_id: z.ZodString;
|
|
1361
1361
|
connected_account_id: z.ZodString;
|
|
1362
1362
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1363
1363
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1364
|
-
}
|
|
1364
|
+
} & {
|
|
1365
1365
|
event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
|
|
1366
|
-
}
|
|
1366
|
+
}, "strip", z.ZodTypeAny, {
|
|
1367
1367
|
device_id: string;
|
|
1368
1368
|
workspace_id: string;
|
|
1369
1369
|
created_at: string;
|
|
@@ -1383,19 +1383,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1383
1383
|
event_type: "device.converted_to_unmanaged";
|
|
1384
1384
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1385
1385
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1386
|
-
}>, z.ZodObject<
|
|
1386
|
+
}>, z.ZodObject<{
|
|
1387
1387
|
event_id: z.ZodString;
|
|
1388
1388
|
workspace_id: z.ZodString;
|
|
1389
1389
|
created_at: z.ZodString;
|
|
1390
1390
|
occurred_at: z.ZodString;
|
|
1391
|
-
}
|
|
1391
|
+
} & {
|
|
1392
1392
|
device_id: z.ZodString;
|
|
1393
1393
|
connected_account_id: z.ZodString;
|
|
1394
1394
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1395
1395
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1396
|
-
}
|
|
1396
|
+
} & {
|
|
1397
1397
|
event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
|
|
1398
|
-
}
|
|
1398
|
+
}, "strip", z.ZodTypeAny, {
|
|
1399
1399
|
device_id: string;
|
|
1400
1400
|
workspace_id: string;
|
|
1401
1401
|
created_at: string;
|
|
@@ -1415,19 +1415,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1415
1415
|
event_type: "device.unmanaged.converted_to_managed";
|
|
1416
1416
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1417
1417
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1418
|
-
}>, z.ZodObject<
|
|
1418
|
+
}>, z.ZodObject<{
|
|
1419
1419
|
event_id: z.ZodString;
|
|
1420
1420
|
workspace_id: z.ZodString;
|
|
1421
1421
|
created_at: z.ZodString;
|
|
1422
1422
|
occurred_at: z.ZodString;
|
|
1423
|
-
}
|
|
1423
|
+
} & {
|
|
1424
1424
|
device_id: z.ZodString;
|
|
1425
1425
|
connected_account_id: z.ZodString;
|
|
1426
1426
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1427
1427
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1428
|
-
}
|
|
1428
|
+
} & {
|
|
1429
1429
|
event_type: z.ZodLiteral<"device.unmanaged.connected">;
|
|
1430
|
-
}
|
|
1430
|
+
}, "strip", z.ZodTypeAny, {
|
|
1431
1431
|
device_id: string;
|
|
1432
1432
|
workspace_id: string;
|
|
1433
1433
|
created_at: string;
|
|
@@ -1447,20 +1447,20 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1447
1447
|
event_type: "device.unmanaged.connected";
|
|
1448
1448
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1449
1449
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1450
|
-
}>, z.ZodObject<
|
|
1450
|
+
}>, z.ZodObject<{
|
|
1451
1451
|
event_id: z.ZodString;
|
|
1452
1452
|
workspace_id: z.ZodString;
|
|
1453
1453
|
created_at: z.ZodString;
|
|
1454
1454
|
occurred_at: z.ZodString;
|
|
1455
|
-
}
|
|
1455
|
+
} & {
|
|
1456
1456
|
device_id: z.ZodString;
|
|
1457
1457
|
connected_account_id: z.ZodString;
|
|
1458
1458
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1459
1459
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1460
|
-
}
|
|
1460
|
+
} & {
|
|
1461
1461
|
event_type: z.ZodLiteral<"device.disconnected">;
|
|
1462
1462
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
1463
|
-
}
|
|
1463
|
+
}, "strip", z.ZodTypeAny, {
|
|
1464
1464
|
device_id: string;
|
|
1465
1465
|
workspace_id: string;
|
|
1466
1466
|
created_at: string;
|
|
@@ -1482,20 +1482,20 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1482
1482
|
event_type: "device.disconnected";
|
|
1483
1483
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1484
1484
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1485
|
-
}>, z.ZodObject<
|
|
1485
|
+
}>, z.ZodObject<{
|
|
1486
1486
|
event_id: z.ZodString;
|
|
1487
1487
|
workspace_id: z.ZodString;
|
|
1488
1488
|
created_at: z.ZodString;
|
|
1489
1489
|
occurred_at: z.ZodString;
|
|
1490
|
-
}
|
|
1490
|
+
} & {
|
|
1491
1491
|
device_id: z.ZodString;
|
|
1492
1492
|
connected_account_id: z.ZodString;
|
|
1493
1493
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1494
1494
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1495
|
-
}
|
|
1495
|
+
} & {
|
|
1496
1496
|
event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
|
|
1497
1497
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
1498
|
-
}
|
|
1498
|
+
}, "strip", z.ZodTypeAny, {
|
|
1499
1499
|
device_id: string;
|
|
1500
1500
|
workspace_id: string;
|
|
1501
1501
|
created_at: string;
|
|
@@ -1517,19 +1517,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1517
1517
|
event_type: "device.unmanaged.disconnected";
|
|
1518
1518
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1519
1519
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1520
|
-
}>, z.ZodObject<
|
|
1520
|
+
}>, z.ZodObject<{
|
|
1521
1521
|
event_id: z.ZodString;
|
|
1522
1522
|
workspace_id: z.ZodString;
|
|
1523
1523
|
created_at: z.ZodString;
|
|
1524
1524
|
occurred_at: z.ZodString;
|
|
1525
|
-
}
|
|
1525
|
+
} & {
|
|
1526
1526
|
device_id: z.ZodString;
|
|
1527
1527
|
connected_account_id: z.ZodString;
|
|
1528
1528
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1529
1529
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1530
|
-
}
|
|
1530
|
+
} & {
|
|
1531
1531
|
event_type: z.ZodLiteral<"device.tampered">;
|
|
1532
|
-
}
|
|
1532
|
+
}, "strip", z.ZodTypeAny, {
|
|
1533
1533
|
device_id: string;
|
|
1534
1534
|
workspace_id: string;
|
|
1535
1535
|
created_at: string;
|
|
@@ -1549,20 +1549,20 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1549
1549
|
event_type: "device.tampered";
|
|
1550
1550
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1551
1551
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1552
|
-
}>, z.ZodObject<
|
|
1552
|
+
}>, z.ZodObject<{
|
|
1553
1553
|
event_id: z.ZodString;
|
|
1554
1554
|
workspace_id: z.ZodString;
|
|
1555
1555
|
created_at: z.ZodString;
|
|
1556
1556
|
occurred_at: z.ZodString;
|
|
1557
|
-
}
|
|
1557
|
+
} & {
|
|
1558
1558
|
device_id: z.ZodString;
|
|
1559
1559
|
connected_account_id: z.ZodString;
|
|
1560
1560
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1561
1561
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1562
|
-
}
|
|
1562
|
+
} & {
|
|
1563
1563
|
event_type: z.ZodLiteral<"device.low_battery">;
|
|
1564
1564
|
battery_level: z.ZodNumber;
|
|
1565
|
-
}
|
|
1565
|
+
}, "strip", z.ZodTypeAny, {
|
|
1566
1566
|
device_id: string;
|
|
1567
1567
|
workspace_id: string;
|
|
1568
1568
|
created_at: string;
|
|
@@ -1584,21 +1584,21 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1584
1584
|
event_type: "device.low_battery";
|
|
1585
1585
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1586
1586
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1587
|
-
}>, z.ZodObject<
|
|
1587
|
+
}>, z.ZodObject<{
|
|
1588
1588
|
event_id: z.ZodString;
|
|
1589
1589
|
workspace_id: z.ZodString;
|
|
1590
1590
|
created_at: z.ZodString;
|
|
1591
1591
|
occurred_at: z.ZodString;
|
|
1592
|
-
}
|
|
1592
|
+
} & {
|
|
1593
1593
|
device_id: z.ZodString;
|
|
1594
1594
|
connected_account_id: z.ZodString;
|
|
1595
1595
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1596
1596
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1597
|
-
}
|
|
1597
|
+
} & {
|
|
1598
1598
|
event_type: z.ZodLiteral<"device.battery_status_changed">;
|
|
1599
1599
|
battery_status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
1600
1600
|
battery_level: z.ZodNumber;
|
|
1601
|
-
}
|
|
1601
|
+
}, "strip", z.ZodTypeAny, {
|
|
1602
1602
|
device_id: string;
|
|
1603
1603
|
workspace_id: string;
|
|
1604
1604
|
created_at: string;
|
|
@@ -1622,19 +1622,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1622
1622
|
battery_status: "low" | "full" | "critical" | "good";
|
|
1623
1623
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1624
1624
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1625
|
-
}>, z.ZodObject<
|
|
1625
|
+
}>, z.ZodObject<{
|
|
1626
1626
|
event_id: z.ZodString;
|
|
1627
1627
|
workspace_id: z.ZodString;
|
|
1628
1628
|
created_at: z.ZodString;
|
|
1629
1629
|
occurred_at: z.ZodString;
|
|
1630
|
-
}
|
|
1630
|
+
} & {
|
|
1631
1631
|
device_id: z.ZodString;
|
|
1632
1632
|
connected_account_id: z.ZodString;
|
|
1633
1633
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1634
1634
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1635
|
-
}
|
|
1635
|
+
} & {
|
|
1636
1636
|
event_type: z.ZodLiteral<"device.removed">;
|
|
1637
|
-
}
|
|
1637
|
+
}, "strip", z.ZodTypeAny, {
|
|
1638
1638
|
device_id: string;
|
|
1639
1639
|
workspace_id: string;
|
|
1640
1640
|
created_at: string;
|
|
@@ -1654,19 +1654,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1654
1654
|
event_type: "device.removed";
|
|
1655
1655
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1656
1656
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1657
|
-
}>, z.ZodObject<
|
|
1657
|
+
}>, z.ZodObject<{
|
|
1658
1658
|
event_id: z.ZodString;
|
|
1659
1659
|
workspace_id: z.ZodString;
|
|
1660
1660
|
created_at: z.ZodString;
|
|
1661
1661
|
occurred_at: z.ZodString;
|
|
1662
|
-
}
|
|
1662
|
+
} & {
|
|
1663
1663
|
device_id: z.ZodString;
|
|
1664
1664
|
connected_account_id: z.ZodString;
|
|
1665
1665
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1666
1666
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1667
|
-
}
|
|
1667
|
+
} & {
|
|
1668
1668
|
event_type: z.ZodLiteral<"device.deleted">;
|
|
1669
|
-
}
|
|
1669
|
+
}, "strip", z.ZodTypeAny, {
|
|
1670
1670
|
device_id: string;
|
|
1671
1671
|
workspace_id: string;
|
|
1672
1672
|
created_at: string;
|
|
@@ -1686,19 +1686,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1686
1686
|
event_type: "device.deleted";
|
|
1687
1687
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1688
1688
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1689
|
-
}>, z.ZodObject<
|
|
1689
|
+
}>, z.ZodObject<{
|
|
1690
1690
|
event_id: z.ZodString;
|
|
1691
1691
|
workspace_id: z.ZodString;
|
|
1692
1692
|
created_at: z.ZodString;
|
|
1693
1693
|
occurred_at: z.ZodString;
|
|
1694
|
-
}
|
|
1694
|
+
} & {
|
|
1695
1695
|
device_id: z.ZodString;
|
|
1696
1696
|
connected_account_id: z.ZodString;
|
|
1697
1697
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1698
1698
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1699
|
-
}
|
|
1699
|
+
} & {
|
|
1700
1700
|
event_type: z.ZodLiteral<"device.third_party_integration_detected">;
|
|
1701
|
-
}
|
|
1701
|
+
}, "strip", z.ZodTypeAny, {
|
|
1702
1702
|
device_id: string;
|
|
1703
1703
|
workspace_id: string;
|
|
1704
1704
|
created_at: string;
|
|
@@ -1718,19 +1718,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1718
1718
|
event_type: "device.third_party_integration_detected";
|
|
1719
1719
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1720
1720
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1721
|
-
}>, z.ZodObject<
|
|
1721
|
+
}>, z.ZodObject<{
|
|
1722
1722
|
event_id: z.ZodString;
|
|
1723
1723
|
workspace_id: z.ZodString;
|
|
1724
1724
|
created_at: z.ZodString;
|
|
1725
1725
|
occurred_at: z.ZodString;
|
|
1726
|
-
}
|
|
1726
|
+
} & {
|
|
1727
1727
|
device_id: z.ZodString;
|
|
1728
1728
|
connected_account_id: z.ZodString;
|
|
1729
1729
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1730
1730
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1731
|
-
}
|
|
1731
|
+
} & {
|
|
1732
1732
|
event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
|
|
1733
|
-
}
|
|
1733
|
+
}, "strip", z.ZodTypeAny, {
|
|
1734
1734
|
device_id: string;
|
|
1735
1735
|
workspace_id: string;
|
|
1736
1736
|
created_at: string;
|
|
@@ -1750,19 +1750,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1750
1750
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
1751
1751
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1752
1752
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1753
|
-
}>, z.ZodObject<
|
|
1753
|
+
}>, z.ZodObject<{
|
|
1754
1754
|
event_id: z.ZodString;
|
|
1755
1755
|
workspace_id: z.ZodString;
|
|
1756
1756
|
created_at: z.ZodString;
|
|
1757
1757
|
occurred_at: z.ZodString;
|
|
1758
|
-
}
|
|
1758
|
+
} & {
|
|
1759
1759
|
device_id: z.ZodString;
|
|
1760
1760
|
connected_account_id: z.ZodString;
|
|
1761
1761
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1762
1762
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1763
|
-
}
|
|
1763
|
+
} & {
|
|
1764
1764
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
|
|
1765
|
-
}
|
|
1765
|
+
}, "strip", z.ZodTypeAny, {
|
|
1766
1766
|
device_id: string;
|
|
1767
1767
|
workspace_id: string;
|
|
1768
1768
|
created_at: string;
|
|
@@ -1782,19 +1782,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1782
1782
|
event_type: "device.salto.privacy_mode_activated";
|
|
1783
1783
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1784
1784
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1785
|
-
}>, z.ZodObject<
|
|
1785
|
+
}>, z.ZodObject<{
|
|
1786
1786
|
event_id: z.ZodString;
|
|
1787
1787
|
workspace_id: z.ZodString;
|
|
1788
1788
|
created_at: z.ZodString;
|
|
1789
1789
|
occurred_at: z.ZodString;
|
|
1790
|
-
}
|
|
1790
|
+
} & {
|
|
1791
1791
|
device_id: z.ZodString;
|
|
1792
1792
|
connected_account_id: z.ZodString;
|
|
1793
1793
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1794
1794
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1795
|
-
}
|
|
1795
|
+
} & {
|
|
1796
1796
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
|
|
1797
|
-
}
|
|
1797
|
+
}, "strip", z.ZodTypeAny, {
|
|
1798
1798
|
device_id: string;
|
|
1799
1799
|
workspace_id: string;
|
|
1800
1800
|
created_at: string;
|
|
@@ -1814,19 +1814,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1814
1814
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
1815
1815
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1816
1816
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1817
|
-
}>, z.ZodObject<
|
|
1817
|
+
}>, z.ZodObject<{
|
|
1818
1818
|
event_id: z.ZodString;
|
|
1819
1819
|
workspace_id: z.ZodString;
|
|
1820
1820
|
created_at: z.ZodString;
|
|
1821
1821
|
occurred_at: z.ZodString;
|
|
1822
|
-
}
|
|
1822
|
+
} & {
|
|
1823
1823
|
device_id: z.ZodString;
|
|
1824
1824
|
connected_account_id: z.ZodString;
|
|
1825
1825
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1826
1826
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1827
|
-
}
|
|
1827
|
+
} & {
|
|
1828
1828
|
event_type: z.ZodLiteral<"device.connection_became_flaky">;
|
|
1829
|
-
}
|
|
1829
|
+
}, "strip", z.ZodTypeAny, {
|
|
1830
1830
|
device_id: string;
|
|
1831
1831
|
workspace_id: string;
|
|
1832
1832
|
created_at: string;
|
|
@@ -1846,19 +1846,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1846
1846
|
event_type: "device.connection_became_flaky";
|
|
1847
1847
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1848
1848
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1849
|
-
}>, z.ZodObject<
|
|
1849
|
+
}>, z.ZodObject<{
|
|
1850
1850
|
event_id: z.ZodString;
|
|
1851
1851
|
workspace_id: z.ZodString;
|
|
1852
1852
|
created_at: z.ZodString;
|
|
1853
1853
|
occurred_at: z.ZodString;
|
|
1854
|
-
}
|
|
1854
|
+
} & {
|
|
1855
1855
|
device_id: z.ZodString;
|
|
1856
1856
|
connected_account_id: z.ZodString;
|
|
1857
1857
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1858
1858
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1859
|
-
}
|
|
1859
|
+
} & {
|
|
1860
1860
|
event_type: z.ZodLiteral<"device.connection_stabilized">;
|
|
1861
|
-
}
|
|
1861
|
+
}, "strip", z.ZodTypeAny, {
|
|
1862
1862
|
device_id: string;
|
|
1863
1863
|
workspace_id: string;
|
|
1864
1864
|
created_at: string;
|
|
@@ -1878,19 +1878,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1878
1878
|
event_type: "device.connection_stabilized";
|
|
1879
1879
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1880
1880
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1881
|
-
}>, z.ZodObject<
|
|
1881
|
+
}>, z.ZodObject<{
|
|
1882
1882
|
event_id: z.ZodString;
|
|
1883
1883
|
workspace_id: z.ZodString;
|
|
1884
1884
|
created_at: z.ZodString;
|
|
1885
1885
|
occurred_at: z.ZodString;
|
|
1886
|
-
}
|
|
1886
|
+
} & {
|
|
1887
1887
|
device_id: z.ZodString;
|
|
1888
1888
|
connected_account_id: z.ZodString;
|
|
1889
1889
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1890
1890
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1891
|
-
}
|
|
1891
|
+
} & {
|
|
1892
1892
|
event_type: z.ZodLiteral<"device.error.subscription_required">;
|
|
1893
|
-
}
|
|
1893
|
+
}, "strip", z.ZodTypeAny, {
|
|
1894
1894
|
device_id: string;
|
|
1895
1895
|
workspace_id: string;
|
|
1896
1896
|
created_at: string;
|
|
@@ -1910,19 +1910,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1910
1910
|
event_type: "device.error.subscription_required";
|
|
1911
1911
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1912
1912
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1913
|
-
}>, z.ZodObject<
|
|
1913
|
+
}>, z.ZodObject<{
|
|
1914
1914
|
event_id: z.ZodString;
|
|
1915
1915
|
workspace_id: z.ZodString;
|
|
1916
1916
|
created_at: z.ZodString;
|
|
1917
1917
|
occurred_at: z.ZodString;
|
|
1918
|
-
}
|
|
1918
|
+
} & {
|
|
1919
1919
|
device_id: z.ZodString;
|
|
1920
1920
|
connected_account_id: z.ZodString;
|
|
1921
1921
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1922
1922
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1923
|
-
}
|
|
1923
|
+
} & {
|
|
1924
1924
|
event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
|
|
1925
|
-
}
|
|
1925
|
+
}, "strip", z.ZodTypeAny, {
|
|
1926
1926
|
device_id: string;
|
|
1927
1927
|
workspace_id: string;
|
|
1928
1928
|
created_at: string;
|
|
@@ -1942,19 +1942,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1942
1942
|
event_type: "device.error.subscription_required.resolved";
|
|
1943
1943
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1944
1944
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1945
|
-
}>, z.ZodObject<
|
|
1945
|
+
}>, z.ZodObject<{
|
|
1946
1946
|
event_id: z.ZodString;
|
|
1947
1947
|
workspace_id: z.ZodString;
|
|
1948
1948
|
created_at: z.ZodString;
|
|
1949
1949
|
occurred_at: z.ZodString;
|
|
1950
|
-
}
|
|
1950
|
+
} & {
|
|
1951
1951
|
device_id: z.ZodString;
|
|
1952
1952
|
connected_account_id: z.ZodString;
|
|
1953
1953
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1954
1954
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1955
|
-
}
|
|
1955
|
+
} & {
|
|
1956
1956
|
event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
|
|
1957
|
-
}
|
|
1957
|
+
}, "strip", z.ZodTypeAny, {
|
|
1958
1958
|
device_id: string;
|
|
1959
1959
|
workspace_id: string;
|
|
1960
1960
|
created_at: string;
|
|
@@ -1974,19 +1974,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1974
1974
|
event_type: "device.accessory_keypad_connected";
|
|
1975
1975
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1976
1976
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1977
|
-
}>, z.ZodObject<
|
|
1977
|
+
}>, z.ZodObject<{
|
|
1978
1978
|
event_id: z.ZodString;
|
|
1979
1979
|
workspace_id: z.ZodString;
|
|
1980
1980
|
created_at: z.ZodString;
|
|
1981
1981
|
occurred_at: z.ZodString;
|
|
1982
|
-
}
|
|
1982
|
+
} & {
|
|
1983
1983
|
device_id: z.ZodString;
|
|
1984
1984
|
connected_account_id: z.ZodString;
|
|
1985
1985
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1986
1986
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1987
|
-
}
|
|
1987
|
+
} & {
|
|
1988
1988
|
event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
|
|
1989
|
-
}
|
|
1989
|
+
}, "strip", z.ZodTypeAny, {
|
|
1990
1990
|
device_id: string;
|
|
1991
1991
|
workspace_id: string;
|
|
1992
1992
|
created_at: string;
|
|
@@ -2006,17 +2006,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2006
2006
|
event_type: "device.accessory_keypad_disconnected";
|
|
2007
2007
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2008
2008
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2009
|
-
}>, z.ZodObject<
|
|
2009
|
+
}>, z.ZodObject<{
|
|
2010
2010
|
event_id: z.ZodString;
|
|
2011
2011
|
workspace_id: z.ZodString;
|
|
2012
2012
|
created_at: z.ZodString;
|
|
2013
2013
|
occurred_at: z.ZodString;
|
|
2014
|
-
}
|
|
2014
|
+
} & {
|
|
2015
2015
|
device_id: z.ZodString;
|
|
2016
2016
|
connected_account_id: z.ZodString;
|
|
2017
2017
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2018
2018
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2019
|
-
}
|
|
2019
|
+
} & {
|
|
2020
2020
|
event_type: z.ZodLiteral<"noise_sensor.noise_threshold_triggered">;
|
|
2021
2021
|
noise_level_decibels: z.ZodOptional<z.ZodNumber>;
|
|
2022
2022
|
noise_level_nrs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2024,7 +2024,7 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2024
2024
|
noise_threshold_name: z.ZodOptional<z.ZodString>;
|
|
2025
2025
|
noiseaware_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2026
2026
|
minut_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2027
|
-
}
|
|
2027
|
+
}, "strip", z.ZodTypeAny, {
|
|
2028
2028
|
device_id: string;
|
|
2029
2029
|
workspace_id: string;
|
|
2030
2030
|
created_at: string;
|
|
@@ -2056,22 +2056,22 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2056
2056
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2057
2057
|
noise_threshold_id?: string | undefined;
|
|
2058
2058
|
noise_threshold_name?: string | undefined;
|
|
2059
|
-
}>, z.ZodObject<
|
|
2059
|
+
}>, z.ZodObject<{
|
|
2060
2060
|
event_id: z.ZodString;
|
|
2061
2061
|
workspace_id: z.ZodString;
|
|
2062
2062
|
created_at: z.ZodString;
|
|
2063
2063
|
occurred_at: z.ZodString;
|
|
2064
|
-
}
|
|
2064
|
+
} & {
|
|
2065
2065
|
device_id: z.ZodString;
|
|
2066
2066
|
connected_account_id: z.ZodString;
|
|
2067
2067
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2068
2068
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2069
|
-
}
|
|
2069
|
+
} & {
|
|
2070
2070
|
event_type: z.ZodLiteral<"lock.locked">;
|
|
2071
2071
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
2072
2072
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
2073
2073
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
2074
|
-
}
|
|
2074
|
+
}, "strip", z.ZodTypeAny, {
|
|
2075
2075
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
2076
2076
|
device_id: string;
|
|
2077
2077
|
workspace_id: string;
|
|
@@ -2097,22 +2097,22 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2097
2097
|
action_attempt_id?: string | undefined;
|
|
2098
2098
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2099
2099
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2100
|
-
}>, z.ZodObject<
|
|
2100
|
+
}>, z.ZodObject<{
|
|
2101
2101
|
event_id: z.ZodString;
|
|
2102
2102
|
workspace_id: z.ZodString;
|
|
2103
2103
|
created_at: z.ZodString;
|
|
2104
2104
|
occurred_at: z.ZodString;
|
|
2105
|
-
}
|
|
2105
|
+
} & {
|
|
2106
2106
|
device_id: z.ZodString;
|
|
2107
2107
|
connected_account_id: z.ZodString;
|
|
2108
2108
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2109
2109
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2110
|
-
}
|
|
2110
|
+
} & {
|
|
2111
2111
|
event_type: z.ZodLiteral<"lock.unlocked">;
|
|
2112
2112
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
2113
2113
|
action_attempt_id: z.ZodOptional<z.ZodString>;
|
|
2114
2114
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
2115
|
-
}
|
|
2115
|
+
}, "strip", z.ZodTypeAny, {
|
|
2116
2116
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
2117
2117
|
device_id: string;
|
|
2118
2118
|
workspace_id: string;
|
|
@@ -2138,20 +2138,20 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2138
2138
|
action_attempt_id?: string | undefined;
|
|
2139
2139
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2140
2140
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2141
|
-
}>, z.ZodObject<
|
|
2141
|
+
}>, z.ZodObject<{
|
|
2142
2142
|
event_id: z.ZodString;
|
|
2143
2143
|
workspace_id: z.ZodString;
|
|
2144
2144
|
created_at: z.ZodString;
|
|
2145
2145
|
occurred_at: z.ZodString;
|
|
2146
|
-
}
|
|
2146
|
+
} & {
|
|
2147
2147
|
device_id: z.ZodString;
|
|
2148
2148
|
connected_account_id: z.ZodString;
|
|
2149
2149
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2150
2150
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2151
|
-
}
|
|
2151
|
+
} & {
|
|
2152
2152
|
event_type: z.ZodLiteral<"lock.access_denied">;
|
|
2153
2153
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
2154
|
-
}
|
|
2154
|
+
}, "strip", z.ZodTypeAny, {
|
|
2155
2155
|
device_id: string;
|
|
2156
2156
|
workspace_id: string;
|
|
2157
2157
|
created_at: string;
|
|
@@ -2173,22 +2173,22 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2173
2173
|
access_code_id?: string | undefined;
|
|
2174
2174
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2175
2175
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2176
|
-
}>, z.ZodObject<
|
|
2176
|
+
}>, z.ZodObject<{
|
|
2177
2177
|
event_id: z.ZodString;
|
|
2178
2178
|
workspace_id: z.ZodString;
|
|
2179
2179
|
created_at: z.ZodString;
|
|
2180
2180
|
occurred_at: z.ZodString;
|
|
2181
|
-
}
|
|
2181
|
+
} & {
|
|
2182
2182
|
device_id: z.ZodString;
|
|
2183
2183
|
connected_account_id: z.ZodString;
|
|
2184
2184
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2185
2185
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2186
|
-
}
|
|
2186
|
+
} & {
|
|
2187
2187
|
event_type: z.ZodLiteral<"thermostat.climate_preset_activated">;
|
|
2188
2188
|
thermostat_schedule_id: z.ZodNullable<z.ZodString>;
|
|
2189
2189
|
climate_preset_key: z.ZodString;
|
|
2190
2190
|
is_fallback_climate_preset: z.ZodBoolean;
|
|
2191
|
-
}
|
|
2191
|
+
}, "strip", z.ZodTypeAny, {
|
|
2192
2192
|
climate_preset_key: string;
|
|
2193
2193
|
device_id: string;
|
|
2194
2194
|
workspace_id: string;
|
|
@@ -2214,20 +2214,20 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2214
2214
|
is_fallback_climate_preset: boolean;
|
|
2215
2215
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2216
2216
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2217
|
-
}>, z.ZodObject<
|
|
2217
|
+
}>, z.ZodObject<{
|
|
2218
2218
|
event_id: z.ZodString;
|
|
2219
2219
|
workspace_id: z.ZodString;
|
|
2220
2220
|
created_at: z.ZodString;
|
|
2221
2221
|
occurred_at: z.ZodString;
|
|
2222
|
-
}
|
|
2222
|
+
} & {
|
|
2223
2223
|
device_id: z.ZodString;
|
|
2224
2224
|
connected_account_id: z.ZodString;
|
|
2225
2225
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2226
2226
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2227
|
-
}
|
|
2227
|
+
} & {
|
|
2228
2228
|
event_type: z.ZodLiteral<"thermostat.manually_adjusted">;
|
|
2229
2229
|
method: z.ZodEnum<["seam", "external"]>;
|
|
2230
|
-
}
|
|
2230
|
+
} & Pick<{
|
|
2231
2231
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
2232
2232
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
2233
2233
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2255,7 +2255,7 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2255
2255
|
is_optimized: boolean;
|
|
2256
2256
|
owner: "user" | "system";
|
|
2257
2257
|
}>>>;
|
|
2258
|
-
}, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit"
|
|
2258
|
+
}, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit">, "strip", z.ZodTypeAny, {
|
|
2259
2259
|
method: "external" | "seam";
|
|
2260
2260
|
device_id: string;
|
|
2261
2261
|
workspace_id: string;
|
|
@@ -2289,17 +2289,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2289
2289
|
heating_set_point_fahrenheit?: number | undefined;
|
|
2290
2290
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2291
2291
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2292
|
-
}>, z.ZodObject<
|
|
2292
|
+
}>, z.ZodObject<{
|
|
2293
2293
|
event_id: z.ZodString;
|
|
2294
2294
|
workspace_id: z.ZodString;
|
|
2295
2295
|
created_at: z.ZodString;
|
|
2296
2296
|
occurred_at: z.ZodString;
|
|
2297
|
-
}
|
|
2297
|
+
} & {
|
|
2298
2298
|
device_id: z.ZodString;
|
|
2299
2299
|
connected_account_id: z.ZodString;
|
|
2300
2300
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2301
2301
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2302
|
-
}
|
|
2302
|
+
} & {
|
|
2303
2303
|
event_type: z.ZodLiteral<"thermostat.temperature_threshold_exceeded">;
|
|
2304
2304
|
temperature_celsius: z.ZodNumber;
|
|
2305
2305
|
temperature_fahrenheit: z.ZodNumber;
|
|
@@ -2307,7 +2307,7 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2307
2307
|
upper_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
2308
2308
|
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
2309
2309
|
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
2310
|
-
}
|
|
2310
|
+
}, "strip", z.ZodTypeAny, {
|
|
2311
2311
|
device_id: string;
|
|
2312
2312
|
workspace_id: string;
|
|
2313
2313
|
created_at: string;
|
|
@@ -2339,17 +2339,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2339
2339
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
2340
2340
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2341
2341
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2342
|
-
}>, z.ZodObject<
|
|
2342
|
+
}>, z.ZodObject<{
|
|
2343
2343
|
event_id: z.ZodString;
|
|
2344
2344
|
workspace_id: z.ZodString;
|
|
2345
2345
|
created_at: z.ZodString;
|
|
2346
2346
|
occurred_at: z.ZodString;
|
|
2347
|
-
}
|
|
2347
|
+
} & {
|
|
2348
2348
|
device_id: z.ZodString;
|
|
2349
2349
|
connected_account_id: z.ZodString;
|
|
2350
2350
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2351
2351
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2352
|
-
}
|
|
2352
|
+
} & {
|
|
2353
2353
|
event_type: z.ZodLiteral<"thermostat.temperature_threshold_no_longer_exceeded">;
|
|
2354
2354
|
temperature_celsius: z.ZodNumber;
|
|
2355
2355
|
temperature_fahrenheit: z.ZodNumber;
|
|
@@ -2357,7 +2357,7 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2357
2357
|
upper_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
2358
2358
|
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
2359
2359
|
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
2360
|
-
}
|
|
2360
|
+
}, "strip", z.ZodTypeAny, {
|
|
2361
2361
|
device_id: string;
|
|
2362
2362
|
workspace_id: string;
|
|
2363
2363
|
created_at: string;
|
|
@@ -2389,23 +2389,23 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2389
2389
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
2390
2390
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2391
2391
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2392
|
-
}>, z.ZodObject<
|
|
2392
|
+
}>, z.ZodObject<{
|
|
2393
2393
|
event_id: z.ZodString;
|
|
2394
2394
|
workspace_id: z.ZodString;
|
|
2395
2395
|
created_at: z.ZodString;
|
|
2396
2396
|
occurred_at: z.ZodString;
|
|
2397
|
-
}
|
|
2397
|
+
} & {
|
|
2398
2398
|
device_id: z.ZodString;
|
|
2399
2399
|
connected_account_id: z.ZodString;
|
|
2400
2400
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2401
2401
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2402
|
-
}
|
|
2402
|
+
} & {
|
|
2403
2403
|
event_type: z.ZodLiteral<"thermostat.temperature_reached_set_point">;
|
|
2404
2404
|
temperature_celsius: z.ZodNumber;
|
|
2405
2405
|
temperature_fahrenheit: z.ZodNumber;
|
|
2406
2406
|
desired_temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
2407
2407
|
desired_temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
2408
|
-
}
|
|
2408
|
+
}, "strip", z.ZodTypeAny, {
|
|
2409
2409
|
device_id: string;
|
|
2410
2410
|
workspace_id: string;
|
|
2411
2411
|
created_at: string;
|
|
@@ -2433,21 +2433,21 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2433
2433
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2434
2434
|
desired_temperature_celsius?: number | undefined;
|
|
2435
2435
|
desired_temperature_fahrenheit?: number | undefined;
|
|
2436
|
-
}>, z.ZodObject<
|
|
2436
|
+
}>, z.ZodObject<{
|
|
2437
2437
|
event_id: z.ZodString;
|
|
2438
2438
|
workspace_id: z.ZodString;
|
|
2439
2439
|
created_at: z.ZodString;
|
|
2440
2440
|
occurred_at: z.ZodString;
|
|
2441
|
-
}
|
|
2441
|
+
} & {
|
|
2442
2442
|
device_id: z.ZodString;
|
|
2443
2443
|
connected_account_id: z.ZodString;
|
|
2444
2444
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2445
2445
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2446
|
-
}
|
|
2446
|
+
} & {
|
|
2447
2447
|
event_type: z.ZodLiteral<"thermostat.temperature_changed">;
|
|
2448
2448
|
temperature_celsius: z.ZodNumber;
|
|
2449
2449
|
temperature_fahrenheit: z.ZodNumber;
|
|
2450
|
-
}
|
|
2450
|
+
}, "strip", z.ZodTypeAny, {
|
|
2451
2451
|
device_id: string;
|
|
2452
2452
|
workspace_id: string;
|
|
2453
2453
|
created_at: string;
|
|
@@ -2471,20 +2471,20 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2471
2471
|
event_type: "thermostat.temperature_changed";
|
|
2472
2472
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2473
2473
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2474
|
-
}>, z.ZodObject<
|
|
2474
|
+
}>, z.ZodObject<{
|
|
2475
2475
|
event_id: z.ZodString;
|
|
2476
2476
|
workspace_id: z.ZodString;
|
|
2477
2477
|
created_at: z.ZodString;
|
|
2478
2478
|
occurred_at: z.ZodString;
|
|
2479
|
-
}
|
|
2479
|
+
} & {
|
|
2480
2480
|
device_id: z.ZodString;
|
|
2481
2481
|
connected_account_id: z.ZodString;
|
|
2482
2482
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2483
2483
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2484
|
-
}
|
|
2484
|
+
} & {
|
|
2485
2485
|
event_type: z.ZodLiteral<"device.name_changed">;
|
|
2486
2486
|
device_name: z.ZodString;
|
|
2487
|
-
}
|
|
2487
|
+
}, "strip", z.ZodTypeAny, {
|
|
2488
2488
|
device_id: string;
|
|
2489
2489
|
workspace_id: string;
|
|
2490
2490
|
created_at: string;
|