@seamapi/types 1.437.1 → 1.439.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 +1315 -190
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +8832 -319
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/model-types.d.ts +1 -1
- package/lib/seam/connect/models/batches/batch.d.ts +5669 -0
- package/lib/seam/connect/models/batches/batch.js +8 -0
- package/lib/seam/connect/models/batches/batch.js.map +1 -0
- package/lib/seam/connect/models/batches/index.d.ts +2 -0
- package/lib/seam/connect/models/batches/index.js +3 -0
- package/lib/seam/connect/models/batches/index.js.map +1 -0
- package/lib/seam/connect/models/batches/spaces.d.ts +5669 -0
- package/lib/seam/connect/models/batches/spaces.js +13 -0
- package/lib/seam/connect/models/batches/spaces.js.map +1 -0
- package/lib/seam/connect/models/events/access-codes.d.ts +204 -0
- package/lib/seam/connect/models/events/access-codes.js +7 -0
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/models/events/connect-webviews.d.ts +6 -0
- package/lib/seam/connect/models/events/connect-webviews.js +5 -0
- package/lib/seam/connect/models/events/connect-webviews.js.map +1 -1
- package/lib/seam/connect/models/events/connected-accounts.d.ts +42 -0
- package/lib/seam/connect/models/events/connected-accounts.js +4 -0
- package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
- package/lib/seam/connect/models/events/devices.d.ts +396 -0
- package/lib/seam/connect/models/events/devices.js +7 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/phones.d.ts +6 -0
- package/lib/seam/connect/models/events/phones.js +4 -0
- package/lib/seam/connect/models/events/phones.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +327 -0
- package/lib/seam/connect/models/events/seam-event.js +1 -1
- package/lib/seam/connect/models/index.d.ts +1 -0
- package/lib/seam/connect/models/index.js +1 -0
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +3 -0
- package/lib/seam/connect/models/user-identities/user-identity.js +3 -0
- package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +783 -25
- package/lib/seam/connect/openapi.js +1068 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1755 -0
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -0
- package/src/lib/seam/connect/model-types.ts +1 -0
- package/src/lib/seam/connect/models/batches/batch.ts +12 -0
- package/src/lib/seam/connect/models/batches/index.ts +2 -0
- package/src/lib/seam/connect/models/batches/spaces.ts +16 -0
- package/src/lib/seam/connect/models/events/access-codes.ts +11 -0
- package/src/lib/seam/connect/models/events/connect-webviews.ts +8 -0
- package/src/lib/seam/connect/models/events/connected-accounts.ts +6 -0
- package/src/lib/seam/connect/models/events/devices.ts +11 -0
- package/src/lib/seam/connect/models/events/phones.ts +6 -0
- package/src/lib/seam/connect/models/events/seam-event.ts +1 -1
- package/src/lib/seam/connect/models/index.ts +1 -0
- package/src/lib/seam/connect/models/user-identities/user-identity.ts +5 -0
- package/src/lib/seam/connect/openapi.ts +1186 -0
- package/src/lib/seam/connect/route-types.ts +2536 -0
- package/src/lib/seam/connect/schemas.ts +1 -0
|
@@ -9,6 +9,8 @@ export declare const device_connected_event: z.ZodObject<z.objectUtil.extendShap
|
|
|
9
9
|
}, {
|
|
10
10
|
device_id: z.ZodString;
|
|
11
11
|
connected_account_id: z.ZodString;
|
|
12
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
13
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
12
14
|
}>, {
|
|
13
15
|
event_type: z.ZodLiteral<"device.connected">;
|
|
14
16
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -19,6 +21,8 @@ export declare const device_connected_event: z.ZodObject<z.objectUtil.extendShap
|
|
|
19
21
|
event_id: string;
|
|
20
22
|
occurred_at: string;
|
|
21
23
|
event_type: "device.connected";
|
|
24
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
25
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
22
26
|
}, {
|
|
23
27
|
device_id: string;
|
|
24
28
|
workspace_id: string;
|
|
@@ -27,6 +31,8 @@ export declare const device_connected_event: z.ZodObject<z.objectUtil.extendShap
|
|
|
27
31
|
event_id: string;
|
|
28
32
|
occurred_at: string;
|
|
29
33
|
event_type: "device.connected";
|
|
34
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
35
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
30
36
|
}>;
|
|
31
37
|
export type DeviceConnectedEvent = z.infer<typeof device_connected_event>;
|
|
32
38
|
export declare const device_added_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -37,6 +43,8 @@ export declare const device_added_event: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
37
43
|
}, {
|
|
38
44
|
device_id: z.ZodString;
|
|
39
45
|
connected_account_id: z.ZodString;
|
|
46
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
47
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
40
48
|
}>, {
|
|
41
49
|
event_type: z.ZodLiteral<"device.added">;
|
|
42
50
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -47,6 +55,8 @@ export declare const device_added_event: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
47
55
|
event_id: string;
|
|
48
56
|
occurred_at: string;
|
|
49
57
|
event_type: "device.added";
|
|
58
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
59
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
50
60
|
}, {
|
|
51
61
|
device_id: string;
|
|
52
62
|
workspace_id: string;
|
|
@@ -55,6 +65,8 @@ export declare const device_added_event: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
55
65
|
event_id: string;
|
|
56
66
|
occurred_at: string;
|
|
57
67
|
event_type: "device.added";
|
|
68
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
69
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
58
70
|
}>;
|
|
59
71
|
export type DeviceAddedEvent = z.infer<typeof device_added_event>;
|
|
60
72
|
export declare const device_converted_to_unmanaged_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -65,6 +77,8 @@ export declare const device_converted_to_unmanaged_event: z.ZodObject<z.objectUt
|
|
|
65
77
|
}, {
|
|
66
78
|
device_id: z.ZodString;
|
|
67
79
|
connected_account_id: z.ZodString;
|
|
80
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
81
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
68
82
|
}>, {
|
|
69
83
|
event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
|
|
70
84
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -75,6 +89,8 @@ export declare const device_converted_to_unmanaged_event: z.ZodObject<z.objectUt
|
|
|
75
89
|
event_id: string;
|
|
76
90
|
occurred_at: string;
|
|
77
91
|
event_type: "device.converted_to_unmanaged";
|
|
92
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
93
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
78
94
|
}, {
|
|
79
95
|
device_id: string;
|
|
80
96
|
workspace_id: string;
|
|
@@ -83,6 +99,8 @@ export declare const device_converted_to_unmanaged_event: z.ZodObject<z.objectUt
|
|
|
83
99
|
event_id: string;
|
|
84
100
|
occurred_at: string;
|
|
85
101
|
event_type: "device.converted_to_unmanaged";
|
|
102
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
103
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
86
104
|
}>;
|
|
87
105
|
export type DeviceConvertedToUnmanagedEvent = z.infer<typeof device_converted_to_unmanaged_event>;
|
|
88
106
|
export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -93,6 +111,8 @@ export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<z.
|
|
|
93
111
|
}, {
|
|
94
112
|
device_id: z.ZodString;
|
|
95
113
|
connected_account_id: z.ZodString;
|
|
114
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
115
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
96
116
|
}>, {
|
|
97
117
|
event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
|
|
98
118
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -103,6 +123,8 @@ export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<z.
|
|
|
103
123
|
event_id: string;
|
|
104
124
|
occurred_at: string;
|
|
105
125
|
event_type: "device.unmanaged.converted_to_managed";
|
|
126
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
127
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
106
128
|
}, {
|
|
107
129
|
device_id: string;
|
|
108
130
|
workspace_id: string;
|
|
@@ -111,6 +133,8 @@ export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<z.
|
|
|
111
133
|
event_id: string;
|
|
112
134
|
occurred_at: string;
|
|
113
135
|
event_type: "device.unmanaged.converted_to_managed";
|
|
136
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
137
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
114
138
|
}>;
|
|
115
139
|
export type UnmanagedDeviceConvertedToManagedEvent = z.infer<typeof unmanaged_device_converted_to_managed_event>;
|
|
116
140
|
export declare const unmanaged_device_connected_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -121,6 +145,8 @@ export declare const unmanaged_device_connected_event: z.ZodObject<z.objectUtil.
|
|
|
121
145
|
}, {
|
|
122
146
|
device_id: z.ZodString;
|
|
123
147
|
connected_account_id: z.ZodString;
|
|
148
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
149
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
124
150
|
}>, {
|
|
125
151
|
event_type: z.ZodLiteral<"device.unmanaged.connected">;
|
|
126
152
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -131,6 +157,8 @@ export declare const unmanaged_device_connected_event: z.ZodObject<z.objectUtil.
|
|
|
131
157
|
event_id: string;
|
|
132
158
|
occurred_at: string;
|
|
133
159
|
event_type: "device.unmanaged.connected";
|
|
160
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
161
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
134
162
|
}, {
|
|
135
163
|
device_id: string;
|
|
136
164
|
workspace_id: string;
|
|
@@ -139,6 +167,8 @@ export declare const unmanaged_device_connected_event: z.ZodObject<z.objectUtil.
|
|
|
139
167
|
event_id: string;
|
|
140
168
|
occurred_at: string;
|
|
141
169
|
event_type: "device.unmanaged.connected";
|
|
170
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
171
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
142
172
|
}>;
|
|
143
173
|
export type UnmanagedDeviceConnectedEvent = z.infer<typeof unmanaged_device_connected_event>;
|
|
144
174
|
export declare const device_disconnected_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -149,6 +179,8 @@ export declare const device_disconnected_event: z.ZodObject<z.objectUtil.extendS
|
|
|
149
179
|
}, {
|
|
150
180
|
device_id: z.ZodString;
|
|
151
181
|
connected_account_id: z.ZodString;
|
|
182
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
183
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
152
184
|
}>, {
|
|
153
185
|
event_type: z.ZodLiteral<"device.disconnected">;
|
|
154
186
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
@@ -161,6 +193,8 @@ export declare const device_disconnected_event: z.ZodObject<z.objectUtil.extendS
|
|
|
161
193
|
event_id: string;
|
|
162
194
|
occurred_at: string;
|
|
163
195
|
event_type: "device.disconnected";
|
|
196
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
197
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
164
198
|
}, {
|
|
165
199
|
device_id: string;
|
|
166
200
|
workspace_id: string;
|
|
@@ -170,6 +204,8 @@ export declare const device_disconnected_event: z.ZodObject<z.objectUtil.extendS
|
|
|
170
204
|
event_id: string;
|
|
171
205
|
occurred_at: string;
|
|
172
206
|
event_type: "device.disconnected";
|
|
207
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
208
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
173
209
|
}>;
|
|
174
210
|
export type DeviceDisconnectedEvent = z.infer<typeof device_disconnected_event>;
|
|
175
211
|
export declare const unmanaged_device_disconnected_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -180,6 +216,8 @@ export declare const unmanaged_device_disconnected_event: z.ZodObject<z.objectUt
|
|
|
180
216
|
}, {
|
|
181
217
|
device_id: z.ZodString;
|
|
182
218
|
connected_account_id: z.ZodString;
|
|
219
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
220
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
183
221
|
}>, {
|
|
184
222
|
event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
|
|
185
223
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
@@ -192,6 +230,8 @@ export declare const unmanaged_device_disconnected_event: z.ZodObject<z.objectUt
|
|
|
192
230
|
event_id: string;
|
|
193
231
|
occurred_at: string;
|
|
194
232
|
event_type: "device.unmanaged.disconnected";
|
|
233
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
234
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
195
235
|
}, {
|
|
196
236
|
device_id: string;
|
|
197
237
|
workspace_id: string;
|
|
@@ -201,6 +241,8 @@ export declare const unmanaged_device_disconnected_event: z.ZodObject<z.objectUt
|
|
|
201
241
|
event_id: string;
|
|
202
242
|
occurred_at: string;
|
|
203
243
|
event_type: "device.unmanaged.disconnected";
|
|
244
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
245
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
204
246
|
}>;
|
|
205
247
|
export type UnmanagedDeviceDisconnectedEvent = z.infer<typeof unmanaged_device_disconnected_event>;
|
|
206
248
|
export declare const device_tampered_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -211,6 +253,8 @@ export declare const device_tampered_event: z.ZodObject<z.objectUtil.extendShape
|
|
|
211
253
|
}, {
|
|
212
254
|
device_id: z.ZodString;
|
|
213
255
|
connected_account_id: z.ZodString;
|
|
256
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
257
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
214
258
|
}>, {
|
|
215
259
|
event_type: z.ZodLiteral<"device.tampered">;
|
|
216
260
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -221,6 +265,8 @@ export declare const device_tampered_event: z.ZodObject<z.objectUtil.extendShape
|
|
|
221
265
|
event_id: string;
|
|
222
266
|
occurred_at: string;
|
|
223
267
|
event_type: "device.tampered";
|
|
268
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
269
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
224
270
|
}, {
|
|
225
271
|
device_id: string;
|
|
226
272
|
workspace_id: string;
|
|
@@ -229,6 +275,8 @@ export declare const device_tampered_event: z.ZodObject<z.objectUtil.extendShape
|
|
|
229
275
|
event_id: string;
|
|
230
276
|
occurred_at: string;
|
|
231
277
|
event_type: "device.tampered";
|
|
278
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
279
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
232
280
|
}>;
|
|
233
281
|
export type DeviceTamperedEvent = z.infer<typeof device_tampered_event>;
|
|
234
282
|
export declare const device_low_battery_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -239,6 +287,8 @@ export declare const device_low_battery_event: z.ZodObject<z.objectUtil.extendSh
|
|
|
239
287
|
}, {
|
|
240
288
|
device_id: z.ZodString;
|
|
241
289
|
connected_account_id: z.ZodString;
|
|
290
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
291
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
242
292
|
}>, {
|
|
243
293
|
event_type: z.ZodLiteral<"device.low_battery">;
|
|
244
294
|
battery_level: z.ZodNumber;
|
|
@@ -251,6 +301,8 @@ export declare const device_low_battery_event: z.ZodObject<z.objectUtil.extendSh
|
|
|
251
301
|
event_id: string;
|
|
252
302
|
occurred_at: string;
|
|
253
303
|
event_type: "device.low_battery";
|
|
304
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
305
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
254
306
|
}, {
|
|
255
307
|
device_id: string;
|
|
256
308
|
workspace_id: string;
|
|
@@ -260,6 +312,8 @@ export declare const device_low_battery_event: z.ZodObject<z.objectUtil.extendSh
|
|
|
260
312
|
event_id: string;
|
|
261
313
|
occurred_at: string;
|
|
262
314
|
event_type: "device.low_battery";
|
|
315
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
316
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
263
317
|
}>;
|
|
264
318
|
export type DeviceLowBatteryEvent = z.infer<typeof device_low_battery_event>;
|
|
265
319
|
export declare const device_battery_status_changed_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -270,6 +324,8 @@ export declare const device_battery_status_changed_event: z.ZodObject<z.objectUt
|
|
|
270
324
|
}, {
|
|
271
325
|
device_id: z.ZodString;
|
|
272
326
|
connected_account_id: z.ZodString;
|
|
327
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
328
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
273
329
|
}>, {
|
|
274
330
|
event_type: z.ZodLiteral<"device.battery_status_changed">;
|
|
275
331
|
battery_status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
@@ -284,6 +340,8 @@ export declare const device_battery_status_changed_event: z.ZodObject<z.objectUt
|
|
|
284
340
|
occurred_at: string;
|
|
285
341
|
event_type: "device.battery_status_changed";
|
|
286
342
|
battery_status: "low" | "full" | "critical" | "good";
|
|
343
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
344
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
287
345
|
}, {
|
|
288
346
|
device_id: string;
|
|
289
347
|
workspace_id: string;
|
|
@@ -294,6 +352,8 @@ export declare const device_battery_status_changed_event: z.ZodObject<z.objectUt
|
|
|
294
352
|
occurred_at: string;
|
|
295
353
|
event_type: "device.battery_status_changed";
|
|
296
354
|
battery_status: "low" | "full" | "critical" | "good";
|
|
355
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
356
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
297
357
|
}>;
|
|
298
358
|
export type DeviceBatteryStatusChangedEvent = z.infer<typeof device_battery_status_changed_event>;
|
|
299
359
|
export declare const device_removed_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -304,6 +364,8 @@ export declare const device_removed_event: z.ZodObject<z.objectUtil.extendShape<
|
|
|
304
364
|
}, {
|
|
305
365
|
device_id: z.ZodString;
|
|
306
366
|
connected_account_id: z.ZodString;
|
|
367
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
368
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
307
369
|
}>, {
|
|
308
370
|
event_type: z.ZodLiteral<"device.removed">;
|
|
309
371
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -314,6 +376,8 @@ export declare const device_removed_event: z.ZodObject<z.objectUtil.extendShape<
|
|
|
314
376
|
event_id: string;
|
|
315
377
|
occurred_at: string;
|
|
316
378
|
event_type: "device.removed";
|
|
379
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
380
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
317
381
|
}, {
|
|
318
382
|
device_id: string;
|
|
319
383
|
workspace_id: string;
|
|
@@ -322,6 +386,8 @@ export declare const device_removed_event: z.ZodObject<z.objectUtil.extendShape<
|
|
|
322
386
|
event_id: string;
|
|
323
387
|
occurred_at: string;
|
|
324
388
|
event_type: "device.removed";
|
|
389
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
390
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
325
391
|
}>;
|
|
326
392
|
export type DeviceRemovedEvent = z.infer<typeof device_removed_event>;
|
|
327
393
|
export declare const device_deleted_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -332,6 +398,8 @@ export declare const device_deleted_event: z.ZodObject<z.objectUtil.extendShape<
|
|
|
332
398
|
}, {
|
|
333
399
|
device_id: z.ZodString;
|
|
334
400
|
connected_account_id: z.ZodString;
|
|
401
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
402
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
335
403
|
}>, {
|
|
336
404
|
event_type: z.ZodLiteral<"device.deleted">;
|
|
337
405
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -342,6 +410,8 @@ export declare const device_deleted_event: z.ZodObject<z.objectUtil.extendShape<
|
|
|
342
410
|
event_id: string;
|
|
343
411
|
occurred_at: string;
|
|
344
412
|
event_type: "device.deleted";
|
|
413
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
414
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
345
415
|
}, {
|
|
346
416
|
device_id: string;
|
|
347
417
|
workspace_id: string;
|
|
@@ -350,6 +420,8 @@ export declare const device_deleted_event: z.ZodObject<z.objectUtil.extendShape<
|
|
|
350
420
|
event_id: string;
|
|
351
421
|
occurred_at: string;
|
|
352
422
|
event_type: "device.deleted";
|
|
423
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
424
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
353
425
|
}>;
|
|
354
426
|
export type DeviceDeletedEvent = z.infer<typeof device_deleted_event>;
|
|
355
427
|
export declare const device_third_party_integration_detected_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -360,6 +432,8 @@ export declare const device_third_party_integration_detected_event: z.ZodObject<
|
|
|
360
432
|
}, {
|
|
361
433
|
device_id: z.ZodString;
|
|
362
434
|
connected_account_id: z.ZodString;
|
|
435
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
436
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
363
437
|
}>, {
|
|
364
438
|
event_type: z.ZodLiteral<"device.third_party_integration_detected">;
|
|
365
439
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -370,6 +444,8 @@ export declare const device_third_party_integration_detected_event: z.ZodObject<
|
|
|
370
444
|
event_id: string;
|
|
371
445
|
occurred_at: string;
|
|
372
446
|
event_type: "device.third_party_integration_detected";
|
|
447
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
448
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
373
449
|
}, {
|
|
374
450
|
device_id: string;
|
|
375
451
|
workspace_id: string;
|
|
@@ -378,6 +454,8 @@ export declare const device_third_party_integration_detected_event: z.ZodObject<
|
|
|
378
454
|
event_id: string;
|
|
379
455
|
occurred_at: string;
|
|
380
456
|
event_type: "device.third_party_integration_detected";
|
|
457
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
458
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
381
459
|
}>;
|
|
382
460
|
export type DeviceThirdPartyIntegrationDetectedEvent = z.infer<typeof device_third_party_integration_detected_event>;
|
|
383
461
|
export declare const device_third_party_integration_no_longer_detected_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -388,6 +466,8 @@ export declare const device_third_party_integration_no_longer_detected_event: z.
|
|
|
388
466
|
}, {
|
|
389
467
|
device_id: z.ZodString;
|
|
390
468
|
connected_account_id: z.ZodString;
|
|
469
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
470
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
391
471
|
}>, {
|
|
392
472
|
event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
|
|
393
473
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -398,6 +478,8 @@ export declare const device_third_party_integration_no_longer_detected_event: z.
|
|
|
398
478
|
event_id: string;
|
|
399
479
|
occurred_at: string;
|
|
400
480
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
481
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
482
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
401
483
|
}, {
|
|
402
484
|
device_id: string;
|
|
403
485
|
workspace_id: string;
|
|
@@ -406,6 +488,8 @@ export declare const device_third_party_integration_no_longer_detected_event: z.
|
|
|
406
488
|
event_id: string;
|
|
407
489
|
occurred_at: string;
|
|
408
490
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
491
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
492
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
409
493
|
}>;
|
|
410
494
|
export type DeviceThirdPartyIntegrationNoLongerDetectedEvent = z.infer<typeof device_third_party_integration_no_longer_detected_event>;
|
|
411
495
|
export declare const device_salto_privacy_mode_activated_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -416,6 +500,8 @@ export declare const device_salto_privacy_mode_activated_event: z.ZodObject<z.ob
|
|
|
416
500
|
}, {
|
|
417
501
|
device_id: z.ZodString;
|
|
418
502
|
connected_account_id: z.ZodString;
|
|
503
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
504
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
419
505
|
}>, {
|
|
420
506
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
|
|
421
507
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -426,6 +512,8 @@ export declare const device_salto_privacy_mode_activated_event: z.ZodObject<z.ob
|
|
|
426
512
|
event_id: string;
|
|
427
513
|
occurred_at: string;
|
|
428
514
|
event_type: "device.salto.privacy_mode_activated";
|
|
515
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
516
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
429
517
|
}, {
|
|
430
518
|
device_id: string;
|
|
431
519
|
workspace_id: string;
|
|
@@ -434,6 +522,8 @@ export declare const device_salto_privacy_mode_activated_event: z.ZodObject<z.ob
|
|
|
434
522
|
event_id: string;
|
|
435
523
|
occurred_at: string;
|
|
436
524
|
event_type: "device.salto.privacy_mode_activated";
|
|
525
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
526
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
437
527
|
}>;
|
|
438
528
|
export type DeviceSaltoPrivacyModeActivatedEvent = z.infer<typeof device_salto_privacy_mode_activated_event>;
|
|
439
529
|
export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -444,6 +534,8 @@ export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<z.
|
|
|
444
534
|
}, {
|
|
445
535
|
device_id: z.ZodString;
|
|
446
536
|
connected_account_id: z.ZodString;
|
|
537
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
538
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
447
539
|
}>, {
|
|
448
540
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
|
|
449
541
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -454,6 +546,8 @@ export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<z.
|
|
|
454
546
|
event_id: string;
|
|
455
547
|
occurred_at: string;
|
|
456
548
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
549
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
550
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
457
551
|
}, {
|
|
458
552
|
device_id: string;
|
|
459
553
|
workspace_id: string;
|
|
@@ -462,6 +556,8 @@ export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<z.
|
|
|
462
556
|
event_id: string;
|
|
463
557
|
occurred_at: string;
|
|
464
558
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
559
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
560
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
465
561
|
}>;
|
|
466
562
|
export type DeviceSaltoPrivacyModeDeactivatedEvent = z.infer<typeof device_salto_privacy_mode_deactivated_event>;
|
|
467
563
|
export declare const device_connection_became_flaky_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -472,6 +568,8 @@ export declare const device_connection_became_flaky_event: z.ZodObject<z.objectU
|
|
|
472
568
|
}, {
|
|
473
569
|
device_id: z.ZodString;
|
|
474
570
|
connected_account_id: z.ZodString;
|
|
571
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
572
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
475
573
|
}>, {
|
|
476
574
|
event_type: z.ZodLiteral<"device.connection_became_flaky">;
|
|
477
575
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -482,6 +580,8 @@ export declare const device_connection_became_flaky_event: z.ZodObject<z.objectU
|
|
|
482
580
|
event_id: string;
|
|
483
581
|
occurred_at: string;
|
|
484
582
|
event_type: "device.connection_became_flaky";
|
|
583
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
584
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
485
585
|
}, {
|
|
486
586
|
device_id: string;
|
|
487
587
|
workspace_id: string;
|
|
@@ -490,6 +590,8 @@ export declare const device_connection_became_flaky_event: z.ZodObject<z.objectU
|
|
|
490
590
|
event_id: string;
|
|
491
591
|
occurred_at: string;
|
|
492
592
|
event_type: "device.connection_became_flaky";
|
|
593
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
594
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
493
595
|
}>;
|
|
494
596
|
export type DeviceConnectionBecameFlakyEvent = z.infer<typeof device_connection_became_flaky_event>;
|
|
495
597
|
export declare const device_connection_stabilized_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -500,6 +602,8 @@ export declare const device_connection_stabilized_event: z.ZodObject<z.objectUti
|
|
|
500
602
|
}, {
|
|
501
603
|
device_id: z.ZodString;
|
|
502
604
|
connected_account_id: z.ZodString;
|
|
605
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
606
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
503
607
|
}>, {
|
|
504
608
|
event_type: z.ZodLiteral<"device.connection_stabilized">;
|
|
505
609
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -510,6 +614,8 @@ export declare const device_connection_stabilized_event: z.ZodObject<z.objectUti
|
|
|
510
614
|
event_id: string;
|
|
511
615
|
occurred_at: string;
|
|
512
616
|
event_type: "device.connection_stabilized";
|
|
617
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
618
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
513
619
|
}, {
|
|
514
620
|
device_id: string;
|
|
515
621
|
workspace_id: string;
|
|
@@ -518,6 +624,8 @@ export declare const device_connection_stabilized_event: z.ZodObject<z.objectUti
|
|
|
518
624
|
event_id: string;
|
|
519
625
|
occurred_at: string;
|
|
520
626
|
event_type: "device.connection_stabilized";
|
|
627
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
628
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
521
629
|
}>;
|
|
522
630
|
export type DeviceConnectionStabilizedEvent = z.infer<typeof device_connection_stabilized_event>;
|
|
523
631
|
export declare const device_error_subscription_required_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -528,6 +636,8 @@ export declare const device_error_subscription_required_event: z.ZodObject<z.obj
|
|
|
528
636
|
}, {
|
|
529
637
|
device_id: z.ZodString;
|
|
530
638
|
connected_account_id: z.ZodString;
|
|
639
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
640
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
531
641
|
}>, {
|
|
532
642
|
event_type: z.ZodLiteral<"device.error.subscription_required">;
|
|
533
643
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -538,6 +648,8 @@ export declare const device_error_subscription_required_event: z.ZodObject<z.obj
|
|
|
538
648
|
event_id: string;
|
|
539
649
|
occurred_at: string;
|
|
540
650
|
event_type: "device.error.subscription_required";
|
|
651
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
652
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
541
653
|
}, {
|
|
542
654
|
device_id: string;
|
|
543
655
|
workspace_id: string;
|
|
@@ -546,6 +658,8 @@ export declare const device_error_subscription_required_event: z.ZodObject<z.obj
|
|
|
546
658
|
event_id: string;
|
|
547
659
|
occurred_at: string;
|
|
548
660
|
event_type: "device.error.subscription_required";
|
|
661
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
662
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
549
663
|
}>;
|
|
550
664
|
export type DeviceErrorSubscriptionRequiredEvent = z.infer<typeof device_error_subscription_required_event>;
|
|
551
665
|
export declare const device_error_subscription_required_resolved_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -556,6 +670,8 @@ export declare const device_error_subscription_required_resolved_event: z.ZodObj
|
|
|
556
670
|
}, {
|
|
557
671
|
device_id: z.ZodString;
|
|
558
672
|
connected_account_id: z.ZodString;
|
|
673
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
674
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
559
675
|
}>, {
|
|
560
676
|
event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
|
|
561
677
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -566,6 +682,8 @@ export declare const device_error_subscription_required_resolved_event: z.ZodObj
|
|
|
566
682
|
event_id: string;
|
|
567
683
|
occurred_at: string;
|
|
568
684
|
event_type: "device.error.subscription_required.resolved";
|
|
685
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
686
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
569
687
|
}, {
|
|
570
688
|
device_id: string;
|
|
571
689
|
workspace_id: string;
|
|
@@ -574,6 +692,8 @@ export declare const device_error_subscription_required_resolved_event: z.ZodObj
|
|
|
574
692
|
event_id: string;
|
|
575
693
|
occurred_at: string;
|
|
576
694
|
event_type: "device.error.subscription_required.resolved";
|
|
695
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
696
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
577
697
|
}>;
|
|
578
698
|
export type DeviceErrorSubscriptionRequiredResolvedEvent = z.infer<typeof device_error_subscription_required_resolved_event>;
|
|
579
699
|
export declare const device_accessory_keypad_connected_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -584,6 +704,8 @@ export declare const device_accessory_keypad_connected_event: z.ZodObject<z.obje
|
|
|
584
704
|
}, {
|
|
585
705
|
device_id: z.ZodString;
|
|
586
706
|
connected_account_id: z.ZodString;
|
|
707
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
708
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
587
709
|
}>, {
|
|
588
710
|
event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
|
|
589
711
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -594,6 +716,8 @@ export declare const device_accessory_keypad_connected_event: z.ZodObject<z.obje
|
|
|
594
716
|
event_id: string;
|
|
595
717
|
occurred_at: string;
|
|
596
718
|
event_type: "device.accessory_keypad_connected";
|
|
719
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
720
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
597
721
|
}, {
|
|
598
722
|
device_id: string;
|
|
599
723
|
workspace_id: string;
|
|
@@ -602,6 +726,8 @@ export declare const device_accessory_keypad_connected_event: z.ZodObject<z.obje
|
|
|
602
726
|
event_id: string;
|
|
603
727
|
occurred_at: string;
|
|
604
728
|
event_type: "device.accessory_keypad_connected";
|
|
729
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
730
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
605
731
|
}>;
|
|
606
732
|
export type DeviceAccessoryKeypadConnectedEvent = z.infer<typeof device_accessory_keypad_connected_event>;
|
|
607
733
|
export declare const device_accessory_keypad_disconnected_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -612,6 +738,8 @@ export declare const device_accessory_keypad_disconnected_event: z.ZodObject<z.o
|
|
|
612
738
|
}, {
|
|
613
739
|
device_id: z.ZodString;
|
|
614
740
|
connected_account_id: z.ZodString;
|
|
741
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
742
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
615
743
|
}>, {
|
|
616
744
|
event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
|
|
617
745
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -622,6 +750,8 @@ export declare const device_accessory_keypad_disconnected_event: z.ZodObject<z.o
|
|
|
622
750
|
event_id: string;
|
|
623
751
|
occurred_at: string;
|
|
624
752
|
event_type: "device.accessory_keypad_disconnected";
|
|
753
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
754
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
625
755
|
}, {
|
|
626
756
|
device_id: string;
|
|
627
757
|
workspace_id: string;
|
|
@@ -630,6 +760,8 @@ export declare const device_accessory_keypad_disconnected_event: z.ZodObject<z.o
|
|
|
630
760
|
event_id: string;
|
|
631
761
|
occurred_at: string;
|
|
632
762
|
event_type: "device.accessory_keypad_disconnected";
|
|
763
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
764
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
633
765
|
}>;
|
|
634
766
|
export type DeviceAccessoryKeypadDisconnectedEvent = z.infer<typeof device_accessory_keypad_disconnected_event>;
|
|
635
767
|
export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -640,6 +772,8 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<z
|
|
|
640
772
|
}, {
|
|
641
773
|
device_id: z.ZodString;
|
|
642
774
|
connected_account_id: z.ZodString;
|
|
775
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
776
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
643
777
|
}>, {
|
|
644
778
|
event_type: z.ZodLiteral<"noise_sensor.noise_threshold_triggered">;
|
|
645
779
|
noise_level_decibels: z.ZodOptional<z.ZodNumber>;
|
|
@@ -660,6 +794,8 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<z
|
|
|
660
794
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
661
795
|
minut_metadata?: Record<string, unknown> | undefined;
|
|
662
796
|
noise_level_decibels?: number | undefined;
|
|
797
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
798
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
663
799
|
noise_threshold_id?: string | undefined;
|
|
664
800
|
noise_threshold_name?: string | undefined;
|
|
665
801
|
}, {
|
|
@@ -674,6 +810,8 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<z
|
|
|
674
810
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
675
811
|
minut_metadata?: Record<string, unknown> | undefined;
|
|
676
812
|
noise_level_decibels?: number | undefined;
|
|
813
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
814
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
677
815
|
noise_threshold_id?: string | undefined;
|
|
678
816
|
noise_threshold_name?: string | undefined;
|
|
679
817
|
}>;
|
|
@@ -686,6 +824,8 @@ export declare const lock_locked_event: z.ZodObject<z.objectUtil.extendShape<z.o
|
|
|
686
824
|
}, {
|
|
687
825
|
device_id: z.ZodString;
|
|
688
826
|
connected_account_id: z.ZodString;
|
|
827
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
828
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
689
829
|
}>, {
|
|
690
830
|
event_type: z.ZodLiteral<"lock.locked">;
|
|
691
831
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
@@ -702,6 +842,8 @@ export declare const lock_locked_event: z.ZodObject<z.objectUtil.extendShape<z.o
|
|
|
702
842
|
event_type: "lock.locked";
|
|
703
843
|
access_code_id?: string | undefined;
|
|
704
844
|
action_attempt_id?: string | undefined;
|
|
845
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
846
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
705
847
|
}, {
|
|
706
848
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
707
849
|
device_id: string;
|
|
@@ -713,6 +855,8 @@ export declare const lock_locked_event: z.ZodObject<z.objectUtil.extendShape<z.o
|
|
|
713
855
|
event_type: "lock.locked";
|
|
714
856
|
access_code_id?: string | undefined;
|
|
715
857
|
action_attempt_id?: string | undefined;
|
|
858
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
859
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
716
860
|
}>;
|
|
717
861
|
export type LockLockedEvent = z.infer<typeof lock_locked_event>;
|
|
718
862
|
export declare const lock_unlocked_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -723,6 +867,8 @@ export declare const lock_unlocked_event: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
723
867
|
}, {
|
|
724
868
|
device_id: z.ZodString;
|
|
725
869
|
connected_account_id: z.ZodString;
|
|
870
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
871
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
726
872
|
}>, {
|
|
727
873
|
event_type: z.ZodLiteral<"lock.unlocked">;
|
|
728
874
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
@@ -739,6 +885,8 @@ export declare const lock_unlocked_event: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
739
885
|
event_type: "lock.unlocked";
|
|
740
886
|
access_code_id?: string | undefined;
|
|
741
887
|
action_attempt_id?: string | undefined;
|
|
888
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
889
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
742
890
|
}, {
|
|
743
891
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
744
892
|
device_id: string;
|
|
@@ -750,6 +898,8 @@ export declare const lock_unlocked_event: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
750
898
|
event_type: "lock.unlocked";
|
|
751
899
|
access_code_id?: string | undefined;
|
|
752
900
|
action_attempt_id?: string | undefined;
|
|
901
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
902
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
753
903
|
}>;
|
|
754
904
|
export type LockUnlockedEvent = z.infer<typeof lock_unlocked_event>;
|
|
755
905
|
export declare const lock_access_denied_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -760,6 +910,8 @@ export declare const lock_access_denied_event: z.ZodObject<z.objectUtil.extendSh
|
|
|
760
910
|
}, {
|
|
761
911
|
device_id: z.ZodString;
|
|
762
912
|
connected_account_id: z.ZodString;
|
|
913
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
914
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
763
915
|
}>, {
|
|
764
916
|
event_type: z.ZodLiteral<"lock.access_denied">;
|
|
765
917
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
@@ -772,6 +924,8 @@ export declare const lock_access_denied_event: z.ZodObject<z.objectUtil.extendSh
|
|
|
772
924
|
occurred_at: string;
|
|
773
925
|
event_type: "lock.access_denied";
|
|
774
926
|
access_code_id?: string | undefined;
|
|
927
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
928
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
775
929
|
}, {
|
|
776
930
|
device_id: string;
|
|
777
931
|
workspace_id: string;
|
|
@@ -781,6 +935,8 @@ export declare const lock_access_denied_event: z.ZodObject<z.objectUtil.extendSh
|
|
|
781
935
|
occurred_at: string;
|
|
782
936
|
event_type: "lock.access_denied";
|
|
783
937
|
access_code_id?: string | undefined;
|
|
938
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
939
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
784
940
|
}>;
|
|
785
941
|
export type LockAccessDeniedEvent = z.infer<typeof lock_access_denied_event>;
|
|
786
942
|
export declare const thermostat_climate_preset_activated_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -791,6 +947,8 @@ export declare const thermostat_climate_preset_activated_event: z.ZodObject<z.ob
|
|
|
791
947
|
}, {
|
|
792
948
|
device_id: z.ZodString;
|
|
793
949
|
connected_account_id: z.ZodString;
|
|
950
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
951
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
794
952
|
}>, {
|
|
795
953
|
event_type: z.ZodLiteral<"thermostat.climate_preset_activated">;
|
|
796
954
|
thermostat_schedule_id: z.ZodNullable<z.ZodString>;
|
|
@@ -807,6 +965,8 @@ export declare const thermostat_climate_preset_activated_event: z.ZodObject<z.ob
|
|
|
807
965
|
occurred_at: string;
|
|
808
966
|
event_type: "thermostat.climate_preset_activated";
|
|
809
967
|
is_fallback_climate_preset: boolean;
|
|
968
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
969
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
810
970
|
}, {
|
|
811
971
|
climate_preset_key: string;
|
|
812
972
|
device_id: string;
|
|
@@ -818,6 +978,8 @@ export declare const thermostat_climate_preset_activated_event: z.ZodObject<z.ob
|
|
|
818
978
|
occurred_at: string;
|
|
819
979
|
event_type: "thermostat.climate_preset_activated";
|
|
820
980
|
is_fallback_climate_preset: boolean;
|
|
981
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
982
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
821
983
|
}>;
|
|
822
984
|
export type ThermostatClimatePresetActivatedEvent = z.infer<typeof thermostat_climate_preset_activated_event>;
|
|
823
985
|
export declare const thermostat_manually_adjusted_method: z.ZodEnum<["seam", "external"]>;
|
|
@@ -829,6 +991,8 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<z.objectUti
|
|
|
829
991
|
}, {
|
|
830
992
|
device_id: z.ZodString;
|
|
831
993
|
connected_account_id: z.ZodString;
|
|
994
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
995
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
832
996
|
}>, {
|
|
833
997
|
event_type: z.ZodLiteral<"thermostat.manually_adjusted">;
|
|
834
998
|
method: z.ZodEnum<["seam", "external"]>;
|
|
@@ -875,6 +1039,8 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<z.objectUti
|
|
|
875
1039
|
heating_set_point_celsius?: number | undefined;
|
|
876
1040
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
877
1041
|
heating_set_point_fahrenheit?: number | undefined;
|
|
1042
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1043
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
878
1044
|
}, {
|
|
879
1045
|
method: "external" | "seam";
|
|
880
1046
|
device_id: string;
|
|
@@ -890,6 +1056,8 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<z.objectUti
|
|
|
890
1056
|
heating_set_point_celsius?: number | undefined;
|
|
891
1057
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
892
1058
|
heating_set_point_fahrenheit?: number | undefined;
|
|
1059
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1060
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
893
1061
|
}>;
|
|
894
1062
|
export type ThermostatManuallyAdjustedEvent = z.infer<typeof thermostat_manually_adjusted_event>;
|
|
895
1063
|
export declare const temperature_threshold_exceeded_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -900,6 +1068,8 @@ export declare const temperature_threshold_exceeded_event: z.ZodObject<z.objectU
|
|
|
900
1068
|
}, {
|
|
901
1069
|
device_id: z.ZodString;
|
|
902
1070
|
connected_account_id: z.ZodString;
|
|
1071
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1072
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
903
1073
|
}>, {
|
|
904
1074
|
event_type: z.ZodLiteral<"thermostat.temperature_threshold_exceeded">;
|
|
905
1075
|
temperature_celsius: z.ZodNumber;
|
|
@@ -922,6 +1092,8 @@ export declare const temperature_threshold_exceeded_event: z.ZodObject<z.objectU
|
|
|
922
1092
|
event_id: string;
|
|
923
1093
|
occurred_at: string;
|
|
924
1094
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
1095
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1096
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
925
1097
|
}, {
|
|
926
1098
|
device_id: string;
|
|
927
1099
|
workspace_id: string;
|
|
@@ -936,6 +1108,8 @@ export declare const temperature_threshold_exceeded_event: z.ZodObject<z.objectU
|
|
|
936
1108
|
event_id: string;
|
|
937
1109
|
occurred_at: string;
|
|
938
1110
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
1111
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1112
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
939
1113
|
}>;
|
|
940
1114
|
export type TemperatureThresholdExceededEvent = z.infer<typeof temperature_threshold_exceeded_event>;
|
|
941
1115
|
export declare const temperature_threshold_no_longer_exceeded_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -946,6 +1120,8 @@ export declare const temperature_threshold_no_longer_exceeded_event: z.ZodObject
|
|
|
946
1120
|
}, {
|
|
947
1121
|
device_id: z.ZodString;
|
|
948
1122
|
connected_account_id: z.ZodString;
|
|
1123
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1124
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
949
1125
|
}>, {
|
|
950
1126
|
event_type: z.ZodLiteral<"thermostat.temperature_threshold_no_longer_exceeded">;
|
|
951
1127
|
temperature_celsius: z.ZodNumber;
|
|
@@ -968,6 +1144,8 @@ export declare const temperature_threshold_no_longer_exceeded_event: z.ZodObject
|
|
|
968
1144
|
event_id: string;
|
|
969
1145
|
occurred_at: string;
|
|
970
1146
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
1147
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1148
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
971
1149
|
}, {
|
|
972
1150
|
device_id: string;
|
|
973
1151
|
workspace_id: string;
|
|
@@ -982,6 +1160,8 @@ export declare const temperature_threshold_no_longer_exceeded_event: z.ZodObject
|
|
|
982
1160
|
event_id: string;
|
|
983
1161
|
occurred_at: string;
|
|
984
1162
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
1163
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1164
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
985
1165
|
}>;
|
|
986
1166
|
export type TemperatureThresholdNoLongerExceededEvent = z.infer<typeof temperature_threshold_no_longer_exceeded_event>;
|
|
987
1167
|
export declare const temperature_reached_set_point_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -992,6 +1172,8 @@ export declare const temperature_reached_set_point_event: z.ZodObject<z.objectUt
|
|
|
992
1172
|
}, {
|
|
993
1173
|
device_id: z.ZodString;
|
|
994
1174
|
connected_account_id: z.ZodString;
|
|
1175
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1176
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
995
1177
|
}>, {
|
|
996
1178
|
event_type: z.ZodLiteral<"thermostat.temperature_reached_set_point">;
|
|
997
1179
|
temperature_celsius: z.ZodNumber;
|
|
@@ -1008,6 +1190,8 @@ export declare const temperature_reached_set_point_event: z.ZodObject<z.objectUt
|
|
|
1008
1190
|
event_id: string;
|
|
1009
1191
|
occurred_at: string;
|
|
1010
1192
|
event_type: "thermostat.temperature_reached_set_point";
|
|
1193
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1194
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1011
1195
|
desired_temperature_celsius?: number | undefined;
|
|
1012
1196
|
desired_temperature_fahrenheit?: number | undefined;
|
|
1013
1197
|
}, {
|
|
@@ -1020,6 +1204,8 @@ export declare const temperature_reached_set_point_event: z.ZodObject<z.objectUt
|
|
|
1020
1204
|
event_id: string;
|
|
1021
1205
|
occurred_at: string;
|
|
1022
1206
|
event_type: "thermostat.temperature_reached_set_point";
|
|
1207
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1208
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1023
1209
|
desired_temperature_celsius?: number | undefined;
|
|
1024
1210
|
desired_temperature_fahrenheit?: number | undefined;
|
|
1025
1211
|
}>;
|
|
@@ -1032,6 +1218,8 @@ export declare const temperature_changed_event: z.ZodObject<z.objectUtil.extendS
|
|
|
1032
1218
|
}, {
|
|
1033
1219
|
device_id: z.ZodString;
|
|
1034
1220
|
connected_account_id: z.ZodString;
|
|
1221
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1222
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1035
1223
|
}>, {
|
|
1036
1224
|
event_type: z.ZodLiteral<"thermostat.temperature_changed">;
|
|
1037
1225
|
temperature_celsius: z.ZodNumber;
|
|
@@ -1046,6 +1234,8 @@ export declare const temperature_changed_event: z.ZodObject<z.objectUtil.extendS
|
|
|
1046
1234
|
event_id: string;
|
|
1047
1235
|
occurred_at: string;
|
|
1048
1236
|
event_type: "thermostat.temperature_changed";
|
|
1237
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1238
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1049
1239
|
}, {
|
|
1050
1240
|
device_id: string;
|
|
1051
1241
|
workspace_id: string;
|
|
@@ -1056,6 +1246,8 @@ export declare const temperature_changed_event: z.ZodObject<z.objectUtil.extendS
|
|
|
1056
1246
|
event_id: string;
|
|
1057
1247
|
occurred_at: string;
|
|
1058
1248
|
event_type: "thermostat.temperature_changed";
|
|
1249
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1250
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1059
1251
|
}>;
|
|
1060
1252
|
export type TemperatureChangedEvent = z.infer<typeof temperature_changed_event>;
|
|
1061
1253
|
export declare const device_name_changed_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -1066,6 +1258,8 @@ export declare const device_name_changed_event: z.ZodObject<z.objectUtil.extendS
|
|
|
1066
1258
|
}, {
|
|
1067
1259
|
device_id: z.ZodString;
|
|
1068
1260
|
connected_account_id: z.ZodString;
|
|
1261
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1262
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1069
1263
|
}>, {
|
|
1070
1264
|
event_type: z.ZodLiteral<"device.name_changed">;
|
|
1071
1265
|
device_name: z.ZodString;
|
|
@@ -1078,6 +1272,8 @@ export declare const device_name_changed_event: z.ZodObject<z.objectUtil.extendS
|
|
|
1078
1272
|
event_id: string;
|
|
1079
1273
|
occurred_at: string;
|
|
1080
1274
|
event_type: "device.name_changed";
|
|
1275
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1276
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1081
1277
|
}, {
|
|
1082
1278
|
device_id: string;
|
|
1083
1279
|
workspace_id: string;
|
|
@@ -1087,6 +1283,8 @@ export declare const device_name_changed_event: z.ZodObject<z.objectUtil.extendS
|
|
|
1087
1283
|
event_id: string;
|
|
1088
1284
|
occurred_at: string;
|
|
1089
1285
|
event_type: "device.name_changed";
|
|
1286
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1287
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1090
1288
|
}>;
|
|
1091
1289
|
export type DeviceNameChangedEvent = z.infer<typeof device_name_changed_event>;
|
|
1092
1290
|
export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -1097,6 +1295,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1097
1295
|
}, {
|
|
1098
1296
|
device_id: z.ZodString;
|
|
1099
1297
|
connected_account_id: z.ZodString;
|
|
1298
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1299
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1100
1300
|
}>, {
|
|
1101
1301
|
event_type: z.ZodLiteral<"device.connected">;
|
|
1102
1302
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1107,6 +1307,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1107
1307
|
event_id: string;
|
|
1108
1308
|
occurred_at: string;
|
|
1109
1309
|
event_type: "device.connected";
|
|
1310
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1311
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1110
1312
|
}, {
|
|
1111
1313
|
device_id: string;
|
|
1112
1314
|
workspace_id: string;
|
|
@@ -1115,6 +1317,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1115
1317
|
event_id: string;
|
|
1116
1318
|
occurred_at: string;
|
|
1117
1319
|
event_type: "device.connected";
|
|
1320
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1321
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1118
1322
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1119
1323
|
event_id: z.ZodString;
|
|
1120
1324
|
workspace_id: z.ZodString;
|
|
@@ -1123,6 +1327,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1123
1327
|
}, {
|
|
1124
1328
|
device_id: z.ZodString;
|
|
1125
1329
|
connected_account_id: z.ZodString;
|
|
1330
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1331
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1126
1332
|
}>, {
|
|
1127
1333
|
event_type: z.ZodLiteral<"device.added">;
|
|
1128
1334
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1133,6 +1339,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1133
1339
|
event_id: string;
|
|
1134
1340
|
occurred_at: string;
|
|
1135
1341
|
event_type: "device.added";
|
|
1342
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1343
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1136
1344
|
}, {
|
|
1137
1345
|
device_id: string;
|
|
1138
1346
|
workspace_id: string;
|
|
@@ -1141,6 +1349,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1141
1349
|
event_id: string;
|
|
1142
1350
|
occurred_at: string;
|
|
1143
1351
|
event_type: "device.added";
|
|
1352
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1353
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1144
1354
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1145
1355
|
event_id: z.ZodString;
|
|
1146
1356
|
workspace_id: z.ZodString;
|
|
@@ -1149,6 +1359,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1149
1359
|
}, {
|
|
1150
1360
|
device_id: z.ZodString;
|
|
1151
1361
|
connected_account_id: z.ZodString;
|
|
1362
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1363
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1152
1364
|
}>, {
|
|
1153
1365
|
event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
|
|
1154
1366
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1159,6 +1371,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1159
1371
|
event_id: string;
|
|
1160
1372
|
occurred_at: string;
|
|
1161
1373
|
event_type: "device.converted_to_unmanaged";
|
|
1374
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1375
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1162
1376
|
}, {
|
|
1163
1377
|
device_id: string;
|
|
1164
1378
|
workspace_id: string;
|
|
@@ -1167,6 +1381,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1167
1381
|
event_id: string;
|
|
1168
1382
|
occurred_at: string;
|
|
1169
1383
|
event_type: "device.converted_to_unmanaged";
|
|
1384
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1385
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1170
1386
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1171
1387
|
event_id: z.ZodString;
|
|
1172
1388
|
workspace_id: z.ZodString;
|
|
@@ -1175,6 +1391,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1175
1391
|
}, {
|
|
1176
1392
|
device_id: z.ZodString;
|
|
1177
1393
|
connected_account_id: z.ZodString;
|
|
1394
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1395
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1178
1396
|
}>, {
|
|
1179
1397
|
event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
|
|
1180
1398
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1185,6 +1403,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1185
1403
|
event_id: string;
|
|
1186
1404
|
occurred_at: string;
|
|
1187
1405
|
event_type: "device.unmanaged.converted_to_managed";
|
|
1406
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1407
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1188
1408
|
}, {
|
|
1189
1409
|
device_id: string;
|
|
1190
1410
|
workspace_id: string;
|
|
@@ -1193,6 +1413,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1193
1413
|
event_id: string;
|
|
1194
1414
|
occurred_at: string;
|
|
1195
1415
|
event_type: "device.unmanaged.converted_to_managed";
|
|
1416
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1417
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1196
1418
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1197
1419
|
event_id: z.ZodString;
|
|
1198
1420
|
workspace_id: z.ZodString;
|
|
@@ -1201,6 +1423,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1201
1423
|
}, {
|
|
1202
1424
|
device_id: z.ZodString;
|
|
1203
1425
|
connected_account_id: z.ZodString;
|
|
1426
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1427
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1204
1428
|
}>, {
|
|
1205
1429
|
event_type: z.ZodLiteral<"device.unmanaged.connected">;
|
|
1206
1430
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1211,6 +1435,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1211
1435
|
event_id: string;
|
|
1212
1436
|
occurred_at: string;
|
|
1213
1437
|
event_type: "device.unmanaged.connected";
|
|
1438
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1439
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1214
1440
|
}, {
|
|
1215
1441
|
device_id: string;
|
|
1216
1442
|
workspace_id: string;
|
|
@@ -1219,6 +1445,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1219
1445
|
event_id: string;
|
|
1220
1446
|
occurred_at: string;
|
|
1221
1447
|
event_type: "device.unmanaged.connected";
|
|
1448
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1449
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1222
1450
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1223
1451
|
event_id: z.ZodString;
|
|
1224
1452
|
workspace_id: z.ZodString;
|
|
@@ -1227,6 +1455,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1227
1455
|
}, {
|
|
1228
1456
|
device_id: z.ZodString;
|
|
1229
1457
|
connected_account_id: z.ZodString;
|
|
1458
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1459
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1230
1460
|
}>, {
|
|
1231
1461
|
event_type: z.ZodLiteral<"device.disconnected">;
|
|
1232
1462
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
@@ -1239,6 +1469,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1239
1469
|
event_id: string;
|
|
1240
1470
|
occurred_at: string;
|
|
1241
1471
|
event_type: "device.disconnected";
|
|
1472
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1473
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1242
1474
|
}, {
|
|
1243
1475
|
device_id: string;
|
|
1244
1476
|
workspace_id: string;
|
|
@@ -1248,6 +1480,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1248
1480
|
event_id: string;
|
|
1249
1481
|
occurred_at: string;
|
|
1250
1482
|
event_type: "device.disconnected";
|
|
1483
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1484
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1251
1485
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1252
1486
|
event_id: z.ZodString;
|
|
1253
1487
|
workspace_id: z.ZodString;
|
|
@@ -1256,6 +1490,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1256
1490
|
}, {
|
|
1257
1491
|
device_id: z.ZodString;
|
|
1258
1492
|
connected_account_id: z.ZodString;
|
|
1493
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1494
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1259
1495
|
}>, {
|
|
1260
1496
|
event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
|
|
1261
1497
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
@@ -1268,6 +1504,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1268
1504
|
event_id: string;
|
|
1269
1505
|
occurred_at: string;
|
|
1270
1506
|
event_type: "device.unmanaged.disconnected";
|
|
1507
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1508
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1271
1509
|
}, {
|
|
1272
1510
|
device_id: string;
|
|
1273
1511
|
workspace_id: string;
|
|
@@ -1277,6 +1515,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1277
1515
|
event_id: string;
|
|
1278
1516
|
occurred_at: string;
|
|
1279
1517
|
event_type: "device.unmanaged.disconnected";
|
|
1518
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1519
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1280
1520
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1281
1521
|
event_id: z.ZodString;
|
|
1282
1522
|
workspace_id: z.ZodString;
|
|
@@ -1285,6 +1525,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1285
1525
|
}, {
|
|
1286
1526
|
device_id: z.ZodString;
|
|
1287
1527
|
connected_account_id: z.ZodString;
|
|
1528
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1529
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1288
1530
|
}>, {
|
|
1289
1531
|
event_type: z.ZodLiteral<"device.tampered">;
|
|
1290
1532
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1295,6 +1537,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1295
1537
|
event_id: string;
|
|
1296
1538
|
occurred_at: string;
|
|
1297
1539
|
event_type: "device.tampered";
|
|
1540
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1541
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1298
1542
|
}, {
|
|
1299
1543
|
device_id: string;
|
|
1300
1544
|
workspace_id: string;
|
|
@@ -1303,6 +1547,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1303
1547
|
event_id: string;
|
|
1304
1548
|
occurred_at: string;
|
|
1305
1549
|
event_type: "device.tampered";
|
|
1550
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1551
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1306
1552
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1307
1553
|
event_id: z.ZodString;
|
|
1308
1554
|
workspace_id: z.ZodString;
|
|
@@ -1311,6 +1557,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1311
1557
|
}, {
|
|
1312
1558
|
device_id: z.ZodString;
|
|
1313
1559
|
connected_account_id: z.ZodString;
|
|
1560
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1561
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1314
1562
|
}>, {
|
|
1315
1563
|
event_type: z.ZodLiteral<"device.low_battery">;
|
|
1316
1564
|
battery_level: z.ZodNumber;
|
|
@@ -1323,6 +1571,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1323
1571
|
event_id: string;
|
|
1324
1572
|
occurred_at: string;
|
|
1325
1573
|
event_type: "device.low_battery";
|
|
1574
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1575
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1326
1576
|
}, {
|
|
1327
1577
|
device_id: string;
|
|
1328
1578
|
workspace_id: string;
|
|
@@ -1332,6 +1582,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1332
1582
|
event_id: string;
|
|
1333
1583
|
occurred_at: string;
|
|
1334
1584
|
event_type: "device.low_battery";
|
|
1585
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1586
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1335
1587
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1336
1588
|
event_id: z.ZodString;
|
|
1337
1589
|
workspace_id: z.ZodString;
|
|
@@ -1340,6 +1592,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1340
1592
|
}, {
|
|
1341
1593
|
device_id: z.ZodString;
|
|
1342
1594
|
connected_account_id: z.ZodString;
|
|
1595
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1596
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1343
1597
|
}>, {
|
|
1344
1598
|
event_type: z.ZodLiteral<"device.battery_status_changed">;
|
|
1345
1599
|
battery_status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
@@ -1354,6 +1608,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1354
1608
|
occurred_at: string;
|
|
1355
1609
|
event_type: "device.battery_status_changed";
|
|
1356
1610
|
battery_status: "low" | "full" | "critical" | "good";
|
|
1611
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1612
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1357
1613
|
}, {
|
|
1358
1614
|
device_id: string;
|
|
1359
1615
|
workspace_id: string;
|
|
@@ -1364,6 +1620,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1364
1620
|
occurred_at: string;
|
|
1365
1621
|
event_type: "device.battery_status_changed";
|
|
1366
1622
|
battery_status: "low" | "full" | "critical" | "good";
|
|
1623
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1624
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1367
1625
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1368
1626
|
event_id: z.ZodString;
|
|
1369
1627
|
workspace_id: z.ZodString;
|
|
@@ -1372,6 +1630,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1372
1630
|
}, {
|
|
1373
1631
|
device_id: z.ZodString;
|
|
1374
1632
|
connected_account_id: z.ZodString;
|
|
1633
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1634
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1375
1635
|
}>, {
|
|
1376
1636
|
event_type: z.ZodLiteral<"device.removed">;
|
|
1377
1637
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1382,6 +1642,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1382
1642
|
event_id: string;
|
|
1383
1643
|
occurred_at: string;
|
|
1384
1644
|
event_type: "device.removed";
|
|
1645
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1646
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1385
1647
|
}, {
|
|
1386
1648
|
device_id: string;
|
|
1387
1649
|
workspace_id: string;
|
|
@@ -1390,6 +1652,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1390
1652
|
event_id: string;
|
|
1391
1653
|
occurred_at: string;
|
|
1392
1654
|
event_type: "device.removed";
|
|
1655
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1656
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1393
1657
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1394
1658
|
event_id: z.ZodString;
|
|
1395
1659
|
workspace_id: z.ZodString;
|
|
@@ -1398,6 +1662,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1398
1662
|
}, {
|
|
1399
1663
|
device_id: z.ZodString;
|
|
1400
1664
|
connected_account_id: z.ZodString;
|
|
1665
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1666
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1401
1667
|
}>, {
|
|
1402
1668
|
event_type: z.ZodLiteral<"device.deleted">;
|
|
1403
1669
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1408,6 +1674,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1408
1674
|
event_id: string;
|
|
1409
1675
|
occurred_at: string;
|
|
1410
1676
|
event_type: "device.deleted";
|
|
1677
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1678
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1411
1679
|
}, {
|
|
1412
1680
|
device_id: string;
|
|
1413
1681
|
workspace_id: string;
|
|
@@ -1416,6 +1684,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1416
1684
|
event_id: string;
|
|
1417
1685
|
occurred_at: string;
|
|
1418
1686
|
event_type: "device.deleted";
|
|
1687
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1688
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1419
1689
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1420
1690
|
event_id: z.ZodString;
|
|
1421
1691
|
workspace_id: z.ZodString;
|
|
@@ -1424,6 +1694,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1424
1694
|
}, {
|
|
1425
1695
|
device_id: z.ZodString;
|
|
1426
1696
|
connected_account_id: z.ZodString;
|
|
1697
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1698
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1427
1699
|
}>, {
|
|
1428
1700
|
event_type: z.ZodLiteral<"device.third_party_integration_detected">;
|
|
1429
1701
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1434,6 +1706,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1434
1706
|
event_id: string;
|
|
1435
1707
|
occurred_at: string;
|
|
1436
1708
|
event_type: "device.third_party_integration_detected";
|
|
1709
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1710
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1437
1711
|
}, {
|
|
1438
1712
|
device_id: string;
|
|
1439
1713
|
workspace_id: string;
|
|
@@ -1442,6 +1716,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1442
1716
|
event_id: string;
|
|
1443
1717
|
occurred_at: string;
|
|
1444
1718
|
event_type: "device.third_party_integration_detected";
|
|
1719
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1720
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1445
1721
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1446
1722
|
event_id: z.ZodString;
|
|
1447
1723
|
workspace_id: z.ZodString;
|
|
@@ -1450,6 +1726,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1450
1726
|
}, {
|
|
1451
1727
|
device_id: z.ZodString;
|
|
1452
1728
|
connected_account_id: z.ZodString;
|
|
1729
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1730
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1453
1731
|
}>, {
|
|
1454
1732
|
event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
|
|
1455
1733
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1460,6 +1738,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1460
1738
|
event_id: string;
|
|
1461
1739
|
occurred_at: string;
|
|
1462
1740
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
1741
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1742
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1463
1743
|
}, {
|
|
1464
1744
|
device_id: string;
|
|
1465
1745
|
workspace_id: string;
|
|
@@ -1468,6 +1748,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1468
1748
|
event_id: string;
|
|
1469
1749
|
occurred_at: string;
|
|
1470
1750
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
1751
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1752
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1471
1753
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1472
1754
|
event_id: z.ZodString;
|
|
1473
1755
|
workspace_id: z.ZodString;
|
|
@@ -1476,6 +1758,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1476
1758
|
}, {
|
|
1477
1759
|
device_id: z.ZodString;
|
|
1478
1760
|
connected_account_id: z.ZodString;
|
|
1761
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1762
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1479
1763
|
}>, {
|
|
1480
1764
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
|
|
1481
1765
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1486,6 +1770,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1486
1770
|
event_id: string;
|
|
1487
1771
|
occurred_at: string;
|
|
1488
1772
|
event_type: "device.salto.privacy_mode_activated";
|
|
1773
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1774
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1489
1775
|
}, {
|
|
1490
1776
|
device_id: string;
|
|
1491
1777
|
workspace_id: string;
|
|
@@ -1494,6 +1780,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1494
1780
|
event_id: string;
|
|
1495
1781
|
occurred_at: string;
|
|
1496
1782
|
event_type: "device.salto.privacy_mode_activated";
|
|
1783
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1784
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1497
1785
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1498
1786
|
event_id: z.ZodString;
|
|
1499
1787
|
workspace_id: z.ZodString;
|
|
@@ -1502,6 +1790,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1502
1790
|
}, {
|
|
1503
1791
|
device_id: z.ZodString;
|
|
1504
1792
|
connected_account_id: z.ZodString;
|
|
1793
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1794
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1505
1795
|
}>, {
|
|
1506
1796
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
|
|
1507
1797
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1512,6 +1802,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1512
1802
|
event_id: string;
|
|
1513
1803
|
occurred_at: string;
|
|
1514
1804
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
1805
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1806
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1515
1807
|
}, {
|
|
1516
1808
|
device_id: string;
|
|
1517
1809
|
workspace_id: string;
|
|
@@ -1520,6 +1812,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1520
1812
|
event_id: string;
|
|
1521
1813
|
occurred_at: string;
|
|
1522
1814
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
1815
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1816
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1523
1817
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1524
1818
|
event_id: z.ZodString;
|
|
1525
1819
|
workspace_id: z.ZodString;
|
|
@@ -1528,6 +1822,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1528
1822
|
}, {
|
|
1529
1823
|
device_id: z.ZodString;
|
|
1530
1824
|
connected_account_id: z.ZodString;
|
|
1825
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1826
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1531
1827
|
}>, {
|
|
1532
1828
|
event_type: z.ZodLiteral<"device.connection_became_flaky">;
|
|
1533
1829
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1538,6 +1834,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1538
1834
|
event_id: string;
|
|
1539
1835
|
occurred_at: string;
|
|
1540
1836
|
event_type: "device.connection_became_flaky";
|
|
1837
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1838
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1541
1839
|
}, {
|
|
1542
1840
|
device_id: string;
|
|
1543
1841
|
workspace_id: string;
|
|
@@ -1546,6 +1844,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1546
1844
|
event_id: string;
|
|
1547
1845
|
occurred_at: string;
|
|
1548
1846
|
event_type: "device.connection_became_flaky";
|
|
1847
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1848
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1549
1849
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1550
1850
|
event_id: z.ZodString;
|
|
1551
1851
|
workspace_id: z.ZodString;
|
|
@@ -1554,6 +1854,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1554
1854
|
}, {
|
|
1555
1855
|
device_id: z.ZodString;
|
|
1556
1856
|
connected_account_id: z.ZodString;
|
|
1857
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1858
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1557
1859
|
}>, {
|
|
1558
1860
|
event_type: z.ZodLiteral<"device.connection_stabilized">;
|
|
1559
1861
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1564,6 +1866,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1564
1866
|
event_id: string;
|
|
1565
1867
|
occurred_at: string;
|
|
1566
1868
|
event_type: "device.connection_stabilized";
|
|
1869
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1870
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1567
1871
|
}, {
|
|
1568
1872
|
device_id: string;
|
|
1569
1873
|
workspace_id: string;
|
|
@@ -1572,6 +1876,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1572
1876
|
event_id: string;
|
|
1573
1877
|
occurred_at: string;
|
|
1574
1878
|
event_type: "device.connection_stabilized";
|
|
1879
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1880
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1575
1881
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1576
1882
|
event_id: z.ZodString;
|
|
1577
1883
|
workspace_id: z.ZodString;
|
|
@@ -1580,6 +1886,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1580
1886
|
}, {
|
|
1581
1887
|
device_id: z.ZodString;
|
|
1582
1888
|
connected_account_id: z.ZodString;
|
|
1889
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1890
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1583
1891
|
}>, {
|
|
1584
1892
|
event_type: z.ZodLiteral<"device.error.subscription_required">;
|
|
1585
1893
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1590,6 +1898,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1590
1898
|
event_id: string;
|
|
1591
1899
|
occurred_at: string;
|
|
1592
1900
|
event_type: "device.error.subscription_required";
|
|
1901
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1902
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1593
1903
|
}, {
|
|
1594
1904
|
device_id: string;
|
|
1595
1905
|
workspace_id: string;
|
|
@@ -1598,6 +1908,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1598
1908
|
event_id: string;
|
|
1599
1909
|
occurred_at: string;
|
|
1600
1910
|
event_type: "device.error.subscription_required";
|
|
1911
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1912
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1601
1913
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1602
1914
|
event_id: z.ZodString;
|
|
1603
1915
|
workspace_id: z.ZodString;
|
|
@@ -1606,6 +1918,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1606
1918
|
}, {
|
|
1607
1919
|
device_id: z.ZodString;
|
|
1608
1920
|
connected_account_id: z.ZodString;
|
|
1921
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1922
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1609
1923
|
}>, {
|
|
1610
1924
|
event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
|
|
1611
1925
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1616,6 +1930,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1616
1930
|
event_id: string;
|
|
1617
1931
|
occurred_at: string;
|
|
1618
1932
|
event_type: "device.error.subscription_required.resolved";
|
|
1933
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1934
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1619
1935
|
}, {
|
|
1620
1936
|
device_id: string;
|
|
1621
1937
|
workspace_id: string;
|
|
@@ -1624,6 +1940,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1624
1940
|
event_id: string;
|
|
1625
1941
|
occurred_at: string;
|
|
1626
1942
|
event_type: "device.error.subscription_required.resolved";
|
|
1943
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1944
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1627
1945
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1628
1946
|
event_id: z.ZodString;
|
|
1629
1947
|
workspace_id: z.ZodString;
|
|
@@ -1632,6 +1950,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1632
1950
|
}, {
|
|
1633
1951
|
device_id: z.ZodString;
|
|
1634
1952
|
connected_account_id: z.ZodString;
|
|
1953
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1954
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1635
1955
|
}>, {
|
|
1636
1956
|
event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
|
|
1637
1957
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1642,6 +1962,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1642
1962
|
event_id: string;
|
|
1643
1963
|
occurred_at: string;
|
|
1644
1964
|
event_type: "device.accessory_keypad_connected";
|
|
1965
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1966
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1645
1967
|
}, {
|
|
1646
1968
|
device_id: string;
|
|
1647
1969
|
workspace_id: string;
|
|
@@ -1650,6 +1972,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1650
1972
|
event_id: string;
|
|
1651
1973
|
occurred_at: string;
|
|
1652
1974
|
event_type: "device.accessory_keypad_connected";
|
|
1975
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1976
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1653
1977
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1654
1978
|
event_id: z.ZodString;
|
|
1655
1979
|
workspace_id: z.ZodString;
|
|
@@ -1658,6 +1982,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1658
1982
|
}, {
|
|
1659
1983
|
device_id: z.ZodString;
|
|
1660
1984
|
connected_account_id: z.ZodString;
|
|
1985
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1986
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1661
1987
|
}>, {
|
|
1662
1988
|
event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
|
|
1663
1989
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1668,6 +1994,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1668
1994
|
event_id: string;
|
|
1669
1995
|
occurred_at: string;
|
|
1670
1996
|
event_type: "device.accessory_keypad_disconnected";
|
|
1997
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1998
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1671
1999
|
}, {
|
|
1672
2000
|
device_id: string;
|
|
1673
2001
|
workspace_id: string;
|
|
@@ -1676,6 +2004,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1676
2004
|
event_id: string;
|
|
1677
2005
|
occurred_at: string;
|
|
1678
2006
|
event_type: "device.accessory_keypad_disconnected";
|
|
2007
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2008
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1679
2009
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1680
2010
|
event_id: z.ZodString;
|
|
1681
2011
|
workspace_id: z.ZodString;
|
|
@@ -1684,6 +2014,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1684
2014
|
}, {
|
|
1685
2015
|
device_id: z.ZodString;
|
|
1686
2016
|
connected_account_id: z.ZodString;
|
|
2017
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2018
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1687
2019
|
}>, {
|
|
1688
2020
|
event_type: z.ZodLiteral<"noise_sensor.noise_threshold_triggered">;
|
|
1689
2021
|
noise_level_decibels: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1704,6 +2036,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1704
2036
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
1705
2037
|
minut_metadata?: Record<string, unknown> | undefined;
|
|
1706
2038
|
noise_level_decibels?: number | undefined;
|
|
2039
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2040
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1707
2041
|
noise_threshold_id?: string | undefined;
|
|
1708
2042
|
noise_threshold_name?: string | undefined;
|
|
1709
2043
|
}, {
|
|
@@ -1718,6 +2052,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1718
2052
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
1719
2053
|
minut_metadata?: Record<string, unknown> | undefined;
|
|
1720
2054
|
noise_level_decibels?: number | undefined;
|
|
2055
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2056
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1721
2057
|
noise_threshold_id?: string | undefined;
|
|
1722
2058
|
noise_threshold_name?: string | undefined;
|
|
1723
2059
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -1728,6 +2064,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1728
2064
|
}, {
|
|
1729
2065
|
device_id: z.ZodString;
|
|
1730
2066
|
connected_account_id: z.ZodString;
|
|
2067
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2068
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1731
2069
|
}>, {
|
|
1732
2070
|
event_type: z.ZodLiteral<"lock.locked">;
|
|
1733
2071
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1744,6 +2082,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1744
2082
|
event_type: "lock.locked";
|
|
1745
2083
|
access_code_id?: string | undefined;
|
|
1746
2084
|
action_attempt_id?: string | undefined;
|
|
2085
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2086
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1747
2087
|
}, {
|
|
1748
2088
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
1749
2089
|
device_id: string;
|
|
@@ -1755,6 +2095,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1755
2095
|
event_type: "lock.locked";
|
|
1756
2096
|
access_code_id?: string | undefined;
|
|
1757
2097
|
action_attempt_id?: string | undefined;
|
|
2098
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2099
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1758
2100
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1759
2101
|
event_id: z.ZodString;
|
|
1760
2102
|
workspace_id: z.ZodString;
|
|
@@ -1763,6 +2105,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1763
2105
|
}, {
|
|
1764
2106
|
device_id: z.ZodString;
|
|
1765
2107
|
connected_account_id: z.ZodString;
|
|
2108
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2109
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1766
2110
|
}>, {
|
|
1767
2111
|
event_type: z.ZodLiteral<"lock.unlocked">;
|
|
1768
2112
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1779,6 +2123,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1779
2123
|
event_type: "lock.unlocked";
|
|
1780
2124
|
access_code_id?: string | undefined;
|
|
1781
2125
|
action_attempt_id?: string | undefined;
|
|
2126
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2127
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1782
2128
|
}, {
|
|
1783
2129
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
1784
2130
|
device_id: string;
|
|
@@ -1790,6 +2136,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1790
2136
|
event_type: "lock.unlocked";
|
|
1791
2137
|
access_code_id?: string | undefined;
|
|
1792
2138
|
action_attempt_id?: string | undefined;
|
|
2139
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2140
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1793
2141
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1794
2142
|
event_id: z.ZodString;
|
|
1795
2143
|
workspace_id: z.ZodString;
|
|
@@ -1798,6 +2146,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1798
2146
|
}, {
|
|
1799
2147
|
device_id: z.ZodString;
|
|
1800
2148
|
connected_account_id: z.ZodString;
|
|
2149
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2150
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1801
2151
|
}>, {
|
|
1802
2152
|
event_type: z.ZodLiteral<"lock.access_denied">;
|
|
1803
2153
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1810,6 +2160,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1810
2160
|
occurred_at: string;
|
|
1811
2161
|
event_type: "lock.access_denied";
|
|
1812
2162
|
access_code_id?: string | undefined;
|
|
2163
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2164
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1813
2165
|
}, {
|
|
1814
2166
|
device_id: string;
|
|
1815
2167
|
workspace_id: string;
|
|
@@ -1819,6 +2171,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1819
2171
|
occurred_at: string;
|
|
1820
2172
|
event_type: "lock.access_denied";
|
|
1821
2173
|
access_code_id?: string | undefined;
|
|
2174
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2175
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1822
2176
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1823
2177
|
event_id: z.ZodString;
|
|
1824
2178
|
workspace_id: z.ZodString;
|
|
@@ -1827,6 +2181,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1827
2181
|
}, {
|
|
1828
2182
|
device_id: z.ZodString;
|
|
1829
2183
|
connected_account_id: z.ZodString;
|
|
2184
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2185
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1830
2186
|
}>, {
|
|
1831
2187
|
event_type: z.ZodLiteral<"thermostat.climate_preset_activated">;
|
|
1832
2188
|
thermostat_schedule_id: z.ZodNullable<z.ZodString>;
|
|
@@ -1843,6 +2199,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1843
2199
|
occurred_at: string;
|
|
1844
2200
|
event_type: "thermostat.climate_preset_activated";
|
|
1845
2201
|
is_fallback_climate_preset: boolean;
|
|
2202
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2203
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1846
2204
|
}, {
|
|
1847
2205
|
climate_preset_key: string;
|
|
1848
2206
|
device_id: string;
|
|
@@ -1854,6 +2212,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1854
2212
|
occurred_at: string;
|
|
1855
2213
|
event_type: "thermostat.climate_preset_activated";
|
|
1856
2214
|
is_fallback_climate_preset: boolean;
|
|
2215
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2216
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1857
2217
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1858
2218
|
event_id: z.ZodString;
|
|
1859
2219
|
workspace_id: z.ZodString;
|
|
@@ -1862,6 +2222,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1862
2222
|
}, {
|
|
1863
2223
|
device_id: z.ZodString;
|
|
1864
2224
|
connected_account_id: z.ZodString;
|
|
2225
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2226
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1865
2227
|
}>, {
|
|
1866
2228
|
event_type: z.ZodLiteral<"thermostat.manually_adjusted">;
|
|
1867
2229
|
method: z.ZodEnum<["seam", "external"]>;
|
|
@@ -1908,6 +2270,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1908
2270
|
heating_set_point_celsius?: number | undefined;
|
|
1909
2271
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
1910
2272
|
heating_set_point_fahrenheit?: number | undefined;
|
|
2273
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2274
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1911
2275
|
}, {
|
|
1912
2276
|
method: "external" | "seam";
|
|
1913
2277
|
device_id: string;
|
|
@@ -1923,6 +2287,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1923
2287
|
heating_set_point_celsius?: number | undefined;
|
|
1924
2288
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
1925
2289
|
heating_set_point_fahrenheit?: number | undefined;
|
|
2290
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2291
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1926
2292
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1927
2293
|
event_id: z.ZodString;
|
|
1928
2294
|
workspace_id: z.ZodString;
|
|
@@ -1931,6 +2297,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1931
2297
|
}, {
|
|
1932
2298
|
device_id: z.ZodString;
|
|
1933
2299
|
connected_account_id: z.ZodString;
|
|
2300
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2301
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1934
2302
|
}>, {
|
|
1935
2303
|
event_type: z.ZodLiteral<"thermostat.temperature_threshold_exceeded">;
|
|
1936
2304
|
temperature_celsius: z.ZodNumber;
|
|
@@ -1953,6 +2321,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1953
2321
|
event_id: string;
|
|
1954
2322
|
occurred_at: string;
|
|
1955
2323
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
2324
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2325
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1956
2326
|
}, {
|
|
1957
2327
|
device_id: string;
|
|
1958
2328
|
workspace_id: string;
|
|
@@ -1967,6 +2337,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1967
2337
|
event_id: string;
|
|
1968
2338
|
occurred_at: string;
|
|
1969
2339
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
2340
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2341
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1970
2342
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1971
2343
|
event_id: z.ZodString;
|
|
1972
2344
|
workspace_id: z.ZodString;
|
|
@@ -1975,6 +2347,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1975
2347
|
}, {
|
|
1976
2348
|
device_id: z.ZodString;
|
|
1977
2349
|
connected_account_id: z.ZodString;
|
|
2350
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2351
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1978
2352
|
}>, {
|
|
1979
2353
|
event_type: z.ZodLiteral<"thermostat.temperature_threshold_no_longer_exceeded">;
|
|
1980
2354
|
temperature_celsius: z.ZodNumber;
|
|
@@ -1997,6 +2371,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1997
2371
|
event_id: string;
|
|
1998
2372
|
occurred_at: string;
|
|
1999
2373
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
2374
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2375
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2000
2376
|
}, {
|
|
2001
2377
|
device_id: string;
|
|
2002
2378
|
workspace_id: string;
|
|
@@ -2011,6 +2387,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2011
2387
|
event_id: string;
|
|
2012
2388
|
occurred_at: string;
|
|
2013
2389
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
2390
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2391
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2014
2392
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2015
2393
|
event_id: z.ZodString;
|
|
2016
2394
|
workspace_id: z.ZodString;
|
|
@@ -2019,6 +2397,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2019
2397
|
}, {
|
|
2020
2398
|
device_id: z.ZodString;
|
|
2021
2399
|
connected_account_id: z.ZodString;
|
|
2400
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2401
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2022
2402
|
}>, {
|
|
2023
2403
|
event_type: z.ZodLiteral<"thermostat.temperature_reached_set_point">;
|
|
2024
2404
|
temperature_celsius: z.ZodNumber;
|
|
@@ -2035,6 +2415,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2035
2415
|
event_id: string;
|
|
2036
2416
|
occurred_at: string;
|
|
2037
2417
|
event_type: "thermostat.temperature_reached_set_point";
|
|
2418
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2419
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2038
2420
|
desired_temperature_celsius?: number | undefined;
|
|
2039
2421
|
desired_temperature_fahrenheit?: number | undefined;
|
|
2040
2422
|
}, {
|
|
@@ -2047,6 +2429,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2047
2429
|
event_id: string;
|
|
2048
2430
|
occurred_at: string;
|
|
2049
2431
|
event_type: "thermostat.temperature_reached_set_point";
|
|
2432
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2433
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2050
2434
|
desired_temperature_celsius?: number | undefined;
|
|
2051
2435
|
desired_temperature_fahrenheit?: number | undefined;
|
|
2052
2436
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -2057,6 +2441,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2057
2441
|
}, {
|
|
2058
2442
|
device_id: z.ZodString;
|
|
2059
2443
|
connected_account_id: z.ZodString;
|
|
2444
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2445
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2060
2446
|
}>, {
|
|
2061
2447
|
event_type: z.ZodLiteral<"thermostat.temperature_changed">;
|
|
2062
2448
|
temperature_celsius: z.ZodNumber;
|
|
@@ -2071,6 +2457,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2071
2457
|
event_id: string;
|
|
2072
2458
|
occurred_at: string;
|
|
2073
2459
|
event_type: "thermostat.temperature_changed";
|
|
2460
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2461
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2074
2462
|
}, {
|
|
2075
2463
|
device_id: string;
|
|
2076
2464
|
workspace_id: string;
|
|
@@ -2081,6 +2469,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2081
2469
|
event_id: string;
|
|
2082
2470
|
occurred_at: string;
|
|
2083
2471
|
event_type: "thermostat.temperature_changed";
|
|
2472
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2473
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2084
2474
|
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2085
2475
|
event_id: z.ZodString;
|
|
2086
2476
|
workspace_id: z.ZodString;
|
|
@@ -2089,6 +2479,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2089
2479
|
}, {
|
|
2090
2480
|
device_id: z.ZodString;
|
|
2091
2481
|
connected_account_id: z.ZodString;
|
|
2482
|
+
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2483
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2092
2484
|
}>, {
|
|
2093
2485
|
event_type: z.ZodLiteral<"device.name_changed">;
|
|
2094
2486
|
device_name: z.ZodString;
|
|
@@ -2101,6 +2493,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2101
2493
|
event_id: string;
|
|
2102
2494
|
occurred_at: string;
|
|
2103
2495
|
event_type: "device.name_changed";
|
|
2496
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2497
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2104
2498
|
}, {
|
|
2105
2499
|
device_id: string;
|
|
2106
2500
|
workspace_id: string;
|
|
@@ -2110,4 +2504,6 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2110
2504
|
event_id: string;
|
|
2111
2505
|
occurred_at: string;
|
|
2112
2506
|
event_type: "device.name_changed";
|
|
2507
|
+
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2508
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2113
2509
|
}>];
|