@seamapi/types 1.723.0 → 1.725.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 +8098 -2279
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +21305 -5507
- package/dist/index.cjs +8098 -2279
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +205 -142
- package/lib/seam/connect/models/access-codes/managed-access-code.js +57 -22
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +95 -52
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js +5 -2
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +721 -12
- package/lib/seam/connect/models/access-grants/access-grant.js +75 -1
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +825 -8
- package/lib/seam/connect/models/access-grants/access-method.js +123 -1
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/access-grants/index.d.ts +1 -0
- package/lib/seam/connect/models/access-grants/index.js +1 -0
- package/lib/seam/connect/models/access-grants/index.js.map +1 -1
- package/lib/seam/connect/models/access-grants/pending-mutations.d.ts +255 -0
- package/lib/seam/connect/models/access-grants/pending-mutations.js +78 -0
- package/lib/seam/connect/models/access-grants/pending-mutations.js.map +1 -0
- package/lib/seam/connect/models/access-grants/requested-access-method.d.ts +3 -0
- package/lib/seam/connect/models/access-grants/requested-access-method.js +6 -0
- package/lib/seam/connect/models/access-grants/requested-access-method.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +0 -5
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +80 -80
- package/lib/seam/connect/models/acs/metadata/salto-space.d.ts +0 -3
- package/lib/seam/connect/models/acs/metadata/salto-space.js +0 -5
- package/lib/seam/connect/models/acs/metadata/salto-space.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +36 -16
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +5 -5
- package/lib/seam/connect/models/action-attempts/encode-credential.js +5 -5
- package/lib/seam/connect/models/action-attempts/encode-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +13 -3
- package/lib/seam/connect/models/action-attempts/lock-door.js +8 -1
- package/lib/seam/connect/models/action-attempts/lock-door.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +5 -5
- package/lib/seam/connect/models/action-attempts/scan-credential.js +5 -5
- package/lib/seam/connect/models/action-attempts/scan-credential.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +13 -3
- package/lib/seam/connect/models/action-attempts/unlock-door.js +8 -1
- package/lib/seam/connect/models/action-attempts/unlock-door.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +3952 -752
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +58 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js +7 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/customer/access-grant-resources.d.ts +6 -0
- package/lib/seam/connect/models/customer/access-grant-resources.js +4 -0
- package/lib/seam/connect/models/customer/access-grant-resources.js.map +1 -1
- package/lib/seam/connect/models/customer/customer-data.d.ts +5 -0
- package/lib/seam/connect/models/customer/customer-portal.d.ts +169 -10
- package/lib/seam/connect/models/customer/customer-portal.js +46 -4
- package/lib/seam/connect/models/customer/customer-portal.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +45 -38
- package/lib/seam/connect/models/devices/device-metadata.js +26 -9
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -5
- package/lib/seam/connect/models/devices/device-provider.js +2 -3
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +0 -2
- package/lib/seam/connect/models/devices/device-type.js +0 -2
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +203 -52
- package/lib/seam/connect/models/devices/device.js +31 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +97 -38
- package/lib/seam/connect/models/events/access-codes.d.ts +1390 -0
- package/lib/seam/connect/models/events/access-codes.js +41 -11
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/models/events/access-methods.d.ts +60 -0
- package/lib/seam/connect/models/events/access-methods.js +9 -0
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/acs/index.d.ts +93 -0
- package/lib/seam/connect/models/events/acs/systems.d.ts +186 -0
- package/lib/seam/connect/models/events/acs/systems.js +19 -2
- package/lib/seam/connect/models/events/acs/systems.js.map +1 -1
- package/lib/seam/connect/models/events/action-attempts.d.ts +332 -0
- package/lib/seam/connect/models/events/action-attempts.js +46 -0
- package/lib/seam/connect/models/events/action-attempts.js.map +1 -1
- package/lib/seam/connect/models/events/common.d.ts +26 -0
- package/lib/seam/connect/models/events/common.js +22 -0
- package/lib/seam/connect/models/events/common.js.map +1 -1
- package/lib/seam/connect/models/events/connected-accounts.d.ts +140 -272
- package/lib/seam/connect/models/events/connected-accounts.js +17 -9
- package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
- package/lib/seam/connect/models/events/devices.d.ts +1128 -0
- package/lib/seam/connect/models/events/devices.js +39 -11
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +1675 -196
- package/lib/seam/connect/models/events/spaces.d.ts +12 -12
- package/lib/seam/connect/models/phones/phone-session.d.ts +0 -20
- package/lib/seam/connect/openapi.d.ts +6484 -2215
- package/lib/seam/connect/openapi.js +8922 -3442
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +7211 -1139
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/model-types.ts +1 -0
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +76 -24
- package/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts +10 -2
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +92 -1
- package/src/lib/seam/connect/models/access-grants/access-method.ts +162 -1
- package/src/lib/seam/connect/models/access-grants/index.ts +1 -0
- package/src/lib/seam/connect/models/access-grants/pending-mutations.ts +101 -0
- package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +8 -0
- package/src/lib/seam/connect/models/acs/metadata/salto-space.ts +0 -5
- package/src/lib/seam/connect/models/action-attempts/encode-credential.ts +5 -5
- package/src/lib/seam/connect/models/action-attempts/lock-door.ts +10 -1
- package/src/lib/seam/connect/models/action-attempts/scan-credential.ts +5 -5
- package/src/lib/seam/connect/models/action-attempts/unlock-door.ts +10 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +10 -0
- package/src/lib/seam/connect/models/customer/access-grant-resources.ts +7 -0
- package/src/lib/seam/connect/models/customer/customer-portal.ts +66 -6
- package/src/lib/seam/connect/models/devices/device-metadata.ts +36 -10
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -3
- package/src/lib/seam/connect/models/devices/device-type.ts +0 -2
- package/src/lib/seam/connect/models/devices/device.ts +37 -0
- package/src/lib/seam/connect/models/events/access-codes.ts +49 -16
- package/src/lib/seam/connect/models/events/access-methods.ts +14 -0
- package/src/lib/seam/connect/models/events/acs/systems.ts +21 -3
- package/src/lib/seam/connect/models/events/action-attempts.ts +64 -0
- package/src/lib/seam/connect/models/events/common.ts +31 -0
- package/src/lib/seam/connect/models/events/connected-accounts.ts +23 -11
- package/src/lib/seam/connect/models/events/devices.ts +51 -18
- package/src/lib/seam/connect/openapi.ts +8974 -2885
- package/src/lib/seam/connect/route-types.ts +8121 -1686
|
@@ -9,6 +9,7 @@ export declare const device_connected_event: z.ZodObject<{
|
|
|
9
9
|
} & {
|
|
10
10
|
device_id: z.ZodString;
|
|
11
11
|
connected_account_id: z.ZodString;
|
|
12
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
12
13
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
13
14
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
14
15
|
} & {
|
|
@@ -21,6 +22,7 @@ export declare const device_connected_event: z.ZodObject<{
|
|
|
21
22
|
event_id: string;
|
|
22
23
|
occurred_at: string;
|
|
23
24
|
event_type: "device.connected";
|
|
25
|
+
customer_key?: string | undefined;
|
|
24
26
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
25
27
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
26
28
|
}, {
|
|
@@ -31,6 +33,7 @@ export declare const device_connected_event: z.ZodObject<{
|
|
|
31
33
|
event_id: string;
|
|
32
34
|
occurred_at: string;
|
|
33
35
|
event_type: "device.connected";
|
|
36
|
+
customer_key?: string | undefined;
|
|
34
37
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
35
38
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
36
39
|
}>;
|
|
@@ -43,6 +46,7 @@ export declare const device_added_event: z.ZodObject<{
|
|
|
43
46
|
} & {
|
|
44
47
|
device_id: z.ZodString;
|
|
45
48
|
connected_account_id: z.ZodString;
|
|
49
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
46
50
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
47
51
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
48
52
|
} & {
|
|
@@ -55,6 +59,7 @@ export declare const device_added_event: z.ZodObject<{
|
|
|
55
59
|
event_id: string;
|
|
56
60
|
occurred_at: string;
|
|
57
61
|
event_type: "device.added";
|
|
62
|
+
customer_key?: string | undefined;
|
|
58
63
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
59
64
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
60
65
|
}, {
|
|
@@ -65,6 +70,7 @@ export declare const device_added_event: z.ZodObject<{
|
|
|
65
70
|
event_id: string;
|
|
66
71
|
occurred_at: string;
|
|
67
72
|
event_type: "device.added";
|
|
73
|
+
customer_key?: string | undefined;
|
|
68
74
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
69
75
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
70
76
|
}>;
|
|
@@ -77,6 +83,7 @@ export declare const device_converted_to_unmanaged_event: z.ZodObject<{
|
|
|
77
83
|
} & {
|
|
78
84
|
device_id: z.ZodString;
|
|
79
85
|
connected_account_id: z.ZodString;
|
|
86
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
80
87
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
81
88
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
82
89
|
} & {
|
|
@@ -89,6 +96,7 @@ export declare const device_converted_to_unmanaged_event: z.ZodObject<{
|
|
|
89
96
|
event_id: string;
|
|
90
97
|
occurred_at: string;
|
|
91
98
|
event_type: "device.converted_to_unmanaged";
|
|
99
|
+
customer_key?: string | undefined;
|
|
92
100
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
93
101
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
94
102
|
}, {
|
|
@@ -99,6 +107,7 @@ export declare const device_converted_to_unmanaged_event: z.ZodObject<{
|
|
|
99
107
|
event_id: string;
|
|
100
108
|
occurred_at: string;
|
|
101
109
|
event_type: "device.converted_to_unmanaged";
|
|
110
|
+
customer_key?: string | undefined;
|
|
102
111
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
103
112
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
104
113
|
}>;
|
|
@@ -111,6 +120,7 @@ export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<{
|
|
|
111
120
|
} & {
|
|
112
121
|
device_id: z.ZodString;
|
|
113
122
|
connected_account_id: z.ZodString;
|
|
123
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
114
124
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
115
125
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
116
126
|
} & {
|
|
@@ -123,6 +133,7 @@ export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<{
|
|
|
123
133
|
event_id: string;
|
|
124
134
|
occurred_at: string;
|
|
125
135
|
event_type: "device.unmanaged.converted_to_managed";
|
|
136
|
+
customer_key?: string | undefined;
|
|
126
137
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
127
138
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
128
139
|
}, {
|
|
@@ -133,6 +144,7 @@ export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<{
|
|
|
133
144
|
event_id: string;
|
|
134
145
|
occurred_at: string;
|
|
135
146
|
event_type: "device.unmanaged.converted_to_managed";
|
|
147
|
+
customer_key?: string | undefined;
|
|
136
148
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
137
149
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
138
150
|
}>;
|
|
@@ -145,6 +157,7 @@ export declare const unmanaged_device_connected_event: z.ZodObject<{
|
|
|
145
157
|
} & {
|
|
146
158
|
device_id: z.ZodString;
|
|
147
159
|
connected_account_id: z.ZodString;
|
|
160
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
148
161
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
149
162
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
150
163
|
} & {
|
|
@@ -157,6 +170,7 @@ export declare const unmanaged_device_connected_event: z.ZodObject<{
|
|
|
157
170
|
event_id: string;
|
|
158
171
|
occurred_at: string;
|
|
159
172
|
event_type: "device.unmanaged.connected";
|
|
173
|
+
customer_key?: string | undefined;
|
|
160
174
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
161
175
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
162
176
|
}, {
|
|
@@ -167,6 +181,7 @@ export declare const unmanaged_device_connected_event: z.ZodObject<{
|
|
|
167
181
|
event_id: string;
|
|
168
182
|
occurred_at: string;
|
|
169
183
|
event_type: "device.unmanaged.connected";
|
|
184
|
+
customer_key?: string | undefined;
|
|
170
185
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
171
186
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
172
187
|
}>;
|
|
@@ -179,11 +194,65 @@ export declare const device_disconnected_event: z.ZodObject<{
|
|
|
179
194
|
} & {
|
|
180
195
|
device_id: z.ZodString;
|
|
181
196
|
connected_account_id: z.ZodString;
|
|
197
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
182
198
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
183
199
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
184
200
|
} & {
|
|
185
201
|
event_type: z.ZodLiteral<"device.disconnected">;
|
|
186
202
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
203
|
+
} & {
|
|
204
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
205
|
+
created_at: z.ZodString;
|
|
206
|
+
message: z.ZodString;
|
|
207
|
+
error_code: z.ZodString;
|
|
208
|
+
}, "strip", z.ZodTypeAny, {
|
|
209
|
+
message: string;
|
|
210
|
+
created_at: string;
|
|
211
|
+
error_code: string;
|
|
212
|
+
}, {
|
|
213
|
+
message: string;
|
|
214
|
+
created_at: string;
|
|
215
|
+
error_code: string;
|
|
216
|
+
}>, "many">;
|
|
217
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
218
|
+
created_at: z.ZodString;
|
|
219
|
+
message: z.ZodString;
|
|
220
|
+
warning_code: z.ZodString;
|
|
221
|
+
}, "strip", z.ZodTypeAny, {
|
|
222
|
+
message: string;
|
|
223
|
+
created_at: string;
|
|
224
|
+
warning_code: string;
|
|
225
|
+
}, {
|
|
226
|
+
message: string;
|
|
227
|
+
created_at: string;
|
|
228
|
+
warning_code: string;
|
|
229
|
+
}>, "many">;
|
|
230
|
+
device_errors: z.ZodArray<z.ZodObject<{
|
|
231
|
+
created_at: z.ZodString;
|
|
232
|
+
message: z.ZodString;
|
|
233
|
+
error_code: z.ZodString;
|
|
234
|
+
}, "strip", z.ZodTypeAny, {
|
|
235
|
+
message: string;
|
|
236
|
+
created_at: string;
|
|
237
|
+
error_code: string;
|
|
238
|
+
}, {
|
|
239
|
+
message: string;
|
|
240
|
+
created_at: string;
|
|
241
|
+
error_code: string;
|
|
242
|
+
}>, "many">;
|
|
243
|
+
device_warnings: z.ZodArray<z.ZodObject<{
|
|
244
|
+
created_at: z.ZodString;
|
|
245
|
+
message: z.ZodString;
|
|
246
|
+
warning_code: z.ZodString;
|
|
247
|
+
}, "strip", z.ZodTypeAny, {
|
|
248
|
+
message: string;
|
|
249
|
+
created_at: string;
|
|
250
|
+
warning_code: string;
|
|
251
|
+
}, {
|
|
252
|
+
message: string;
|
|
253
|
+
created_at: string;
|
|
254
|
+
warning_code: string;
|
|
255
|
+
}>, "many">;
|
|
187
256
|
}, "strip", z.ZodTypeAny, {
|
|
188
257
|
device_id: string;
|
|
189
258
|
workspace_id: string;
|
|
@@ -193,6 +262,27 @@ export declare const device_disconnected_event: z.ZodObject<{
|
|
|
193
262
|
event_id: string;
|
|
194
263
|
occurred_at: string;
|
|
195
264
|
event_type: "device.disconnected";
|
|
265
|
+
connected_account_errors: {
|
|
266
|
+
message: string;
|
|
267
|
+
created_at: string;
|
|
268
|
+
error_code: string;
|
|
269
|
+
}[];
|
|
270
|
+
connected_account_warnings: {
|
|
271
|
+
message: string;
|
|
272
|
+
created_at: string;
|
|
273
|
+
warning_code: string;
|
|
274
|
+
}[];
|
|
275
|
+
device_errors: {
|
|
276
|
+
message: string;
|
|
277
|
+
created_at: string;
|
|
278
|
+
error_code: string;
|
|
279
|
+
}[];
|
|
280
|
+
device_warnings: {
|
|
281
|
+
message: string;
|
|
282
|
+
created_at: string;
|
|
283
|
+
warning_code: string;
|
|
284
|
+
}[];
|
|
285
|
+
customer_key?: string | undefined;
|
|
196
286
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
197
287
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
198
288
|
}, {
|
|
@@ -204,6 +294,27 @@ export declare const device_disconnected_event: z.ZodObject<{
|
|
|
204
294
|
event_id: string;
|
|
205
295
|
occurred_at: string;
|
|
206
296
|
event_type: "device.disconnected";
|
|
297
|
+
connected_account_errors: {
|
|
298
|
+
message: string;
|
|
299
|
+
created_at: string;
|
|
300
|
+
error_code: string;
|
|
301
|
+
}[];
|
|
302
|
+
connected_account_warnings: {
|
|
303
|
+
message: string;
|
|
304
|
+
created_at: string;
|
|
305
|
+
warning_code: string;
|
|
306
|
+
}[];
|
|
307
|
+
device_errors: {
|
|
308
|
+
message: string;
|
|
309
|
+
created_at: string;
|
|
310
|
+
error_code: string;
|
|
311
|
+
}[];
|
|
312
|
+
device_warnings: {
|
|
313
|
+
message: string;
|
|
314
|
+
created_at: string;
|
|
315
|
+
warning_code: string;
|
|
316
|
+
}[];
|
|
317
|
+
customer_key?: string | undefined;
|
|
207
318
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
208
319
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
209
320
|
}>;
|
|
@@ -216,11 +327,65 @@ export declare const unmanaged_device_disconnected_event: z.ZodObject<{
|
|
|
216
327
|
} & {
|
|
217
328
|
device_id: z.ZodString;
|
|
218
329
|
connected_account_id: z.ZodString;
|
|
330
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
219
331
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
220
332
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
221
333
|
} & {
|
|
222
334
|
event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
|
|
223
335
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
336
|
+
} & {
|
|
337
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
338
|
+
created_at: z.ZodString;
|
|
339
|
+
message: z.ZodString;
|
|
340
|
+
error_code: z.ZodString;
|
|
341
|
+
}, "strip", z.ZodTypeAny, {
|
|
342
|
+
message: string;
|
|
343
|
+
created_at: string;
|
|
344
|
+
error_code: string;
|
|
345
|
+
}, {
|
|
346
|
+
message: string;
|
|
347
|
+
created_at: string;
|
|
348
|
+
error_code: string;
|
|
349
|
+
}>, "many">;
|
|
350
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
351
|
+
created_at: z.ZodString;
|
|
352
|
+
message: z.ZodString;
|
|
353
|
+
warning_code: z.ZodString;
|
|
354
|
+
}, "strip", z.ZodTypeAny, {
|
|
355
|
+
message: string;
|
|
356
|
+
created_at: string;
|
|
357
|
+
warning_code: string;
|
|
358
|
+
}, {
|
|
359
|
+
message: string;
|
|
360
|
+
created_at: string;
|
|
361
|
+
warning_code: string;
|
|
362
|
+
}>, "many">;
|
|
363
|
+
device_errors: z.ZodArray<z.ZodObject<{
|
|
364
|
+
created_at: z.ZodString;
|
|
365
|
+
message: z.ZodString;
|
|
366
|
+
error_code: z.ZodString;
|
|
367
|
+
}, "strip", z.ZodTypeAny, {
|
|
368
|
+
message: string;
|
|
369
|
+
created_at: string;
|
|
370
|
+
error_code: string;
|
|
371
|
+
}, {
|
|
372
|
+
message: string;
|
|
373
|
+
created_at: string;
|
|
374
|
+
error_code: string;
|
|
375
|
+
}>, "many">;
|
|
376
|
+
device_warnings: z.ZodArray<z.ZodObject<{
|
|
377
|
+
created_at: z.ZodString;
|
|
378
|
+
message: z.ZodString;
|
|
379
|
+
warning_code: z.ZodString;
|
|
380
|
+
}, "strip", z.ZodTypeAny, {
|
|
381
|
+
message: string;
|
|
382
|
+
created_at: string;
|
|
383
|
+
warning_code: string;
|
|
384
|
+
}, {
|
|
385
|
+
message: string;
|
|
386
|
+
created_at: string;
|
|
387
|
+
warning_code: string;
|
|
388
|
+
}>, "many">;
|
|
224
389
|
}, "strip", z.ZodTypeAny, {
|
|
225
390
|
device_id: string;
|
|
226
391
|
workspace_id: string;
|
|
@@ -230,6 +395,27 @@ export declare const unmanaged_device_disconnected_event: z.ZodObject<{
|
|
|
230
395
|
event_id: string;
|
|
231
396
|
occurred_at: string;
|
|
232
397
|
event_type: "device.unmanaged.disconnected";
|
|
398
|
+
connected_account_errors: {
|
|
399
|
+
message: string;
|
|
400
|
+
created_at: string;
|
|
401
|
+
error_code: string;
|
|
402
|
+
}[];
|
|
403
|
+
connected_account_warnings: {
|
|
404
|
+
message: string;
|
|
405
|
+
created_at: string;
|
|
406
|
+
warning_code: string;
|
|
407
|
+
}[];
|
|
408
|
+
device_errors: {
|
|
409
|
+
message: string;
|
|
410
|
+
created_at: string;
|
|
411
|
+
error_code: string;
|
|
412
|
+
}[];
|
|
413
|
+
device_warnings: {
|
|
414
|
+
message: string;
|
|
415
|
+
created_at: string;
|
|
416
|
+
warning_code: string;
|
|
417
|
+
}[];
|
|
418
|
+
customer_key?: string | undefined;
|
|
233
419
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
234
420
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
235
421
|
}, {
|
|
@@ -241,6 +427,27 @@ export declare const unmanaged_device_disconnected_event: z.ZodObject<{
|
|
|
241
427
|
event_id: string;
|
|
242
428
|
occurred_at: string;
|
|
243
429
|
event_type: "device.unmanaged.disconnected";
|
|
430
|
+
connected_account_errors: {
|
|
431
|
+
message: string;
|
|
432
|
+
created_at: string;
|
|
433
|
+
error_code: string;
|
|
434
|
+
}[];
|
|
435
|
+
connected_account_warnings: {
|
|
436
|
+
message: string;
|
|
437
|
+
created_at: string;
|
|
438
|
+
warning_code: string;
|
|
439
|
+
}[];
|
|
440
|
+
device_errors: {
|
|
441
|
+
message: string;
|
|
442
|
+
created_at: string;
|
|
443
|
+
error_code: string;
|
|
444
|
+
}[];
|
|
445
|
+
device_warnings: {
|
|
446
|
+
message: string;
|
|
447
|
+
created_at: string;
|
|
448
|
+
warning_code: string;
|
|
449
|
+
}[];
|
|
450
|
+
customer_key?: string | undefined;
|
|
244
451
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
245
452
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
246
453
|
}>;
|
|
@@ -253,6 +460,7 @@ export declare const device_tampered_event: z.ZodObject<{
|
|
|
253
460
|
} & {
|
|
254
461
|
device_id: z.ZodString;
|
|
255
462
|
connected_account_id: z.ZodString;
|
|
463
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
256
464
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
257
465
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
258
466
|
} & {
|
|
@@ -265,6 +473,7 @@ export declare const device_tampered_event: z.ZodObject<{
|
|
|
265
473
|
event_id: string;
|
|
266
474
|
occurred_at: string;
|
|
267
475
|
event_type: "device.tampered";
|
|
476
|
+
customer_key?: string | undefined;
|
|
268
477
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
269
478
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
270
479
|
}, {
|
|
@@ -275,6 +484,7 @@ export declare const device_tampered_event: z.ZodObject<{
|
|
|
275
484
|
event_id: string;
|
|
276
485
|
occurred_at: string;
|
|
277
486
|
event_type: "device.tampered";
|
|
487
|
+
customer_key?: string | undefined;
|
|
278
488
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
279
489
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
280
490
|
}>;
|
|
@@ -287,6 +497,7 @@ export declare const device_low_battery_event: z.ZodObject<{
|
|
|
287
497
|
} & {
|
|
288
498
|
device_id: z.ZodString;
|
|
289
499
|
connected_account_id: z.ZodString;
|
|
500
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
290
501
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
291
502
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
292
503
|
} & {
|
|
@@ -301,6 +512,7 @@ export declare const device_low_battery_event: z.ZodObject<{
|
|
|
301
512
|
event_id: string;
|
|
302
513
|
occurred_at: string;
|
|
303
514
|
event_type: "device.low_battery";
|
|
515
|
+
customer_key?: string | undefined;
|
|
304
516
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
305
517
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
306
518
|
}, {
|
|
@@ -312,6 +524,7 @@ export declare const device_low_battery_event: z.ZodObject<{
|
|
|
312
524
|
event_id: string;
|
|
313
525
|
occurred_at: string;
|
|
314
526
|
event_type: "device.low_battery";
|
|
527
|
+
customer_key?: string | undefined;
|
|
315
528
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
316
529
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
317
530
|
}>;
|
|
@@ -324,6 +537,7 @@ export declare const device_battery_status_changed_event: z.ZodObject<{
|
|
|
324
537
|
} & {
|
|
325
538
|
device_id: z.ZodString;
|
|
326
539
|
connected_account_id: z.ZodString;
|
|
540
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
327
541
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
328
542
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
329
543
|
} & {
|
|
@@ -340,6 +554,7 @@ export declare const device_battery_status_changed_event: z.ZodObject<{
|
|
|
340
554
|
occurred_at: string;
|
|
341
555
|
event_type: "device.battery_status_changed";
|
|
342
556
|
battery_status: "critical" | "low" | "good" | "full";
|
|
557
|
+
customer_key?: string | undefined;
|
|
343
558
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
344
559
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
345
560
|
}, {
|
|
@@ -352,6 +567,7 @@ export declare const device_battery_status_changed_event: z.ZodObject<{
|
|
|
352
567
|
occurred_at: string;
|
|
353
568
|
event_type: "device.battery_status_changed";
|
|
354
569
|
battery_status: "critical" | "low" | "good" | "full";
|
|
570
|
+
customer_key?: string | undefined;
|
|
355
571
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
356
572
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
357
573
|
}>;
|
|
@@ -364,6 +580,7 @@ export declare const device_removed_event: z.ZodObject<{
|
|
|
364
580
|
} & {
|
|
365
581
|
device_id: z.ZodString;
|
|
366
582
|
connected_account_id: z.ZodString;
|
|
583
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
367
584
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
368
585
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
369
586
|
} & {
|
|
@@ -376,6 +593,7 @@ export declare const device_removed_event: z.ZodObject<{
|
|
|
376
593
|
event_id: string;
|
|
377
594
|
occurred_at: string;
|
|
378
595
|
event_type: "device.removed";
|
|
596
|
+
customer_key?: string | undefined;
|
|
379
597
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
380
598
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
381
599
|
}, {
|
|
@@ -386,6 +604,7 @@ export declare const device_removed_event: z.ZodObject<{
|
|
|
386
604
|
event_id: string;
|
|
387
605
|
occurred_at: string;
|
|
388
606
|
event_type: "device.removed";
|
|
607
|
+
customer_key?: string | undefined;
|
|
389
608
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
390
609
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
391
610
|
}>;
|
|
@@ -398,6 +617,7 @@ export declare const device_deleted_event: z.ZodObject<{
|
|
|
398
617
|
} & {
|
|
399
618
|
device_id: z.ZodString;
|
|
400
619
|
connected_account_id: z.ZodString;
|
|
620
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
401
621
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
402
622
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
403
623
|
} & {
|
|
@@ -410,6 +630,7 @@ export declare const device_deleted_event: z.ZodObject<{
|
|
|
410
630
|
event_id: string;
|
|
411
631
|
occurred_at: string;
|
|
412
632
|
event_type: "device.deleted";
|
|
633
|
+
customer_key?: string | undefined;
|
|
413
634
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
414
635
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
415
636
|
}, {
|
|
@@ -420,6 +641,7 @@ export declare const device_deleted_event: z.ZodObject<{
|
|
|
420
641
|
event_id: string;
|
|
421
642
|
occurred_at: string;
|
|
422
643
|
event_type: "device.deleted";
|
|
644
|
+
customer_key?: string | undefined;
|
|
423
645
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
424
646
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
425
647
|
}>;
|
|
@@ -432,6 +654,7 @@ export declare const device_third_party_integration_detected_event: z.ZodObject<
|
|
|
432
654
|
} & {
|
|
433
655
|
device_id: z.ZodString;
|
|
434
656
|
connected_account_id: z.ZodString;
|
|
657
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
435
658
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
436
659
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
437
660
|
} & {
|
|
@@ -444,6 +667,7 @@ export declare const device_third_party_integration_detected_event: z.ZodObject<
|
|
|
444
667
|
event_id: string;
|
|
445
668
|
occurred_at: string;
|
|
446
669
|
event_type: "device.third_party_integration_detected";
|
|
670
|
+
customer_key?: string | undefined;
|
|
447
671
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
448
672
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
449
673
|
}, {
|
|
@@ -454,6 +678,7 @@ export declare const device_third_party_integration_detected_event: z.ZodObject<
|
|
|
454
678
|
event_id: string;
|
|
455
679
|
occurred_at: string;
|
|
456
680
|
event_type: "device.third_party_integration_detected";
|
|
681
|
+
customer_key?: string | undefined;
|
|
457
682
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
458
683
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
459
684
|
}>;
|
|
@@ -466,6 +691,7 @@ export declare const device_third_party_integration_no_longer_detected_event: z.
|
|
|
466
691
|
} & {
|
|
467
692
|
device_id: z.ZodString;
|
|
468
693
|
connected_account_id: z.ZodString;
|
|
694
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
469
695
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
470
696
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
471
697
|
} & {
|
|
@@ -478,6 +704,7 @@ export declare const device_third_party_integration_no_longer_detected_event: z.
|
|
|
478
704
|
event_id: string;
|
|
479
705
|
occurred_at: string;
|
|
480
706
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
707
|
+
customer_key?: string | undefined;
|
|
481
708
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
482
709
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
483
710
|
}, {
|
|
@@ -488,6 +715,7 @@ export declare const device_third_party_integration_no_longer_detected_event: z.
|
|
|
488
715
|
event_id: string;
|
|
489
716
|
occurred_at: string;
|
|
490
717
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
718
|
+
customer_key?: string | undefined;
|
|
491
719
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
492
720
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
493
721
|
}>;
|
|
@@ -500,6 +728,7 @@ export declare const device_salto_privacy_mode_activated_event: z.ZodObject<{
|
|
|
500
728
|
} & {
|
|
501
729
|
device_id: z.ZodString;
|
|
502
730
|
connected_account_id: z.ZodString;
|
|
731
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
503
732
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
504
733
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
505
734
|
} & {
|
|
@@ -512,6 +741,7 @@ export declare const device_salto_privacy_mode_activated_event: z.ZodObject<{
|
|
|
512
741
|
event_id: string;
|
|
513
742
|
occurred_at: string;
|
|
514
743
|
event_type: "device.salto.privacy_mode_activated";
|
|
744
|
+
customer_key?: string | undefined;
|
|
515
745
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
516
746
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
517
747
|
}, {
|
|
@@ -522,6 +752,7 @@ export declare const device_salto_privacy_mode_activated_event: z.ZodObject<{
|
|
|
522
752
|
event_id: string;
|
|
523
753
|
occurred_at: string;
|
|
524
754
|
event_type: "device.salto.privacy_mode_activated";
|
|
755
|
+
customer_key?: string | undefined;
|
|
525
756
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
526
757
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
527
758
|
}>;
|
|
@@ -534,6 +765,7 @@ export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<{
|
|
|
534
765
|
} & {
|
|
535
766
|
device_id: z.ZodString;
|
|
536
767
|
connected_account_id: z.ZodString;
|
|
768
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
537
769
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
538
770
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
539
771
|
} & {
|
|
@@ -546,6 +778,7 @@ export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<{
|
|
|
546
778
|
event_id: string;
|
|
547
779
|
occurred_at: string;
|
|
548
780
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
781
|
+
customer_key?: string | undefined;
|
|
549
782
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
550
783
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
551
784
|
}, {
|
|
@@ -556,6 +789,7 @@ export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<{
|
|
|
556
789
|
event_id: string;
|
|
557
790
|
occurred_at: string;
|
|
558
791
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
792
|
+
customer_key?: string | undefined;
|
|
559
793
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
560
794
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
561
795
|
}>;
|
|
@@ -568,10 +802,64 @@ export declare const device_connection_became_flaky_event: z.ZodObject<{
|
|
|
568
802
|
} & {
|
|
569
803
|
device_id: z.ZodString;
|
|
570
804
|
connected_account_id: z.ZodString;
|
|
805
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
571
806
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
572
807
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
573
808
|
} & {
|
|
574
809
|
event_type: z.ZodLiteral<"device.connection_became_flaky">;
|
|
810
|
+
} & {
|
|
811
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
812
|
+
created_at: z.ZodString;
|
|
813
|
+
message: z.ZodString;
|
|
814
|
+
error_code: z.ZodString;
|
|
815
|
+
}, "strip", z.ZodTypeAny, {
|
|
816
|
+
message: string;
|
|
817
|
+
created_at: string;
|
|
818
|
+
error_code: string;
|
|
819
|
+
}, {
|
|
820
|
+
message: string;
|
|
821
|
+
created_at: string;
|
|
822
|
+
error_code: string;
|
|
823
|
+
}>, "many">;
|
|
824
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
825
|
+
created_at: z.ZodString;
|
|
826
|
+
message: z.ZodString;
|
|
827
|
+
warning_code: z.ZodString;
|
|
828
|
+
}, "strip", z.ZodTypeAny, {
|
|
829
|
+
message: string;
|
|
830
|
+
created_at: string;
|
|
831
|
+
warning_code: string;
|
|
832
|
+
}, {
|
|
833
|
+
message: string;
|
|
834
|
+
created_at: string;
|
|
835
|
+
warning_code: string;
|
|
836
|
+
}>, "many">;
|
|
837
|
+
device_errors: z.ZodArray<z.ZodObject<{
|
|
838
|
+
created_at: z.ZodString;
|
|
839
|
+
message: z.ZodString;
|
|
840
|
+
error_code: z.ZodString;
|
|
841
|
+
}, "strip", z.ZodTypeAny, {
|
|
842
|
+
message: string;
|
|
843
|
+
created_at: string;
|
|
844
|
+
error_code: string;
|
|
845
|
+
}, {
|
|
846
|
+
message: string;
|
|
847
|
+
created_at: string;
|
|
848
|
+
error_code: string;
|
|
849
|
+
}>, "many">;
|
|
850
|
+
device_warnings: z.ZodArray<z.ZodObject<{
|
|
851
|
+
created_at: z.ZodString;
|
|
852
|
+
message: z.ZodString;
|
|
853
|
+
warning_code: z.ZodString;
|
|
854
|
+
}, "strip", z.ZodTypeAny, {
|
|
855
|
+
message: string;
|
|
856
|
+
created_at: string;
|
|
857
|
+
warning_code: string;
|
|
858
|
+
}, {
|
|
859
|
+
message: string;
|
|
860
|
+
created_at: string;
|
|
861
|
+
warning_code: string;
|
|
862
|
+
}>, "many">;
|
|
575
863
|
}, "strip", z.ZodTypeAny, {
|
|
576
864
|
device_id: string;
|
|
577
865
|
workspace_id: string;
|
|
@@ -580,6 +868,27 @@ export declare const device_connection_became_flaky_event: z.ZodObject<{
|
|
|
580
868
|
event_id: string;
|
|
581
869
|
occurred_at: string;
|
|
582
870
|
event_type: "device.connection_became_flaky";
|
|
871
|
+
connected_account_errors: {
|
|
872
|
+
message: string;
|
|
873
|
+
created_at: string;
|
|
874
|
+
error_code: string;
|
|
875
|
+
}[];
|
|
876
|
+
connected_account_warnings: {
|
|
877
|
+
message: string;
|
|
878
|
+
created_at: string;
|
|
879
|
+
warning_code: string;
|
|
880
|
+
}[];
|
|
881
|
+
device_errors: {
|
|
882
|
+
message: string;
|
|
883
|
+
created_at: string;
|
|
884
|
+
error_code: string;
|
|
885
|
+
}[];
|
|
886
|
+
device_warnings: {
|
|
887
|
+
message: string;
|
|
888
|
+
created_at: string;
|
|
889
|
+
warning_code: string;
|
|
890
|
+
}[];
|
|
891
|
+
customer_key?: string | undefined;
|
|
583
892
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
584
893
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
585
894
|
}, {
|
|
@@ -590,6 +899,27 @@ export declare const device_connection_became_flaky_event: z.ZodObject<{
|
|
|
590
899
|
event_id: string;
|
|
591
900
|
occurred_at: string;
|
|
592
901
|
event_type: "device.connection_became_flaky";
|
|
902
|
+
connected_account_errors: {
|
|
903
|
+
message: string;
|
|
904
|
+
created_at: string;
|
|
905
|
+
error_code: string;
|
|
906
|
+
}[];
|
|
907
|
+
connected_account_warnings: {
|
|
908
|
+
message: string;
|
|
909
|
+
created_at: string;
|
|
910
|
+
warning_code: string;
|
|
911
|
+
}[];
|
|
912
|
+
device_errors: {
|
|
913
|
+
message: string;
|
|
914
|
+
created_at: string;
|
|
915
|
+
error_code: string;
|
|
916
|
+
}[];
|
|
917
|
+
device_warnings: {
|
|
918
|
+
message: string;
|
|
919
|
+
created_at: string;
|
|
920
|
+
warning_code: string;
|
|
921
|
+
}[];
|
|
922
|
+
customer_key?: string | undefined;
|
|
593
923
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
594
924
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
595
925
|
}>;
|
|
@@ -602,6 +932,7 @@ export declare const device_connection_stabilized_event: z.ZodObject<{
|
|
|
602
932
|
} & {
|
|
603
933
|
device_id: z.ZodString;
|
|
604
934
|
connected_account_id: z.ZodString;
|
|
935
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
605
936
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
606
937
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
607
938
|
} & {
|
|
@@ -614,6 +945,7 @@ export declare const device_connection_stabilized_event: z.ZodObject<{
|
|
|
614
945
|
event_id: string;
|
|
615
946
|
occurred_at: string;
|
|
616
947
|
event_type: "device.connection_stabilized";
|
|
948
|
+
customer_key?: string | undefined;
|
|
617
949
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
618
950
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
619
951
|
}, {
|
|
@@ -624,6 +956,7 @@ export declare const device_connection_stabilized_event: z.ZodObject<{
|
|
|
624
956
|
event_id: string;
|
|
625
957
|
occurred_at: string;
|
|
626
958
|
event_type: "device.connection_stabilized";
|
|
959
|
+
customer_key?: string | undefined;
|
|
627
960
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
628
961
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
629
962
|
}>;
|
|
@@ -636,10 +969,64 @@ export declare const device_error_subscription_required_event: z.ZodObject<{
|
|
|
636
969
|
} & {
|
|
637
970
|
device_id: z.ZodString;
|
|
638
971
|
connected_account_id: z.ZodString;
|
|
972
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
639
973
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
640
974
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
641
975
|
} & {
|
|
642
976
|
event_type: z.ZodLiteral<"device.error.subscription_required">;
|
|
977
|
+
} & {
|
|
978
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
979
|
+
created_at: z.ZodString;
|
|
980
|
+
message: z.ZodString;
|
|
981
|
+
error_code: z.ZodString;
|
|
982
|
+
}, "strip", z.ZodTypeAny, {
|
|
983
|
+
message: string;
|
|
984
|
+
created_at: string;
|
|
985
|
+
error_code: string;
|
|
986
|
+
}, {
|
|
987
|
+
message: string;
|
|
988
|
+
created_at: string;
|
|
989
|
+
error_code: string;
|
|
990
|
+
}>, "many">;
|
|
991
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
992
|
+
created_at: z.ZodString;
|
|
993
|
+
message: z.ZodString;
|
|
994
|
+
warning_code: z.ZodString;
|
|
995
|
+
}, "strip", z.ZodTypeAny, {
|
|
996
|
+
message: string;
|
|
997
|
+
created_at: string;
|
|
998
|
+
warning_code: string;
|
|
999
|
+
}, {
|
|
1000
|
+
message: string;
|
|
1001
|
+
created_at: string;
|
|
1002
|
+
warning_code: string;
|
|
1003
|
+
}>, "many">;
|
|
1004
|
+
device_errors: z.ZodArray<z.ZodObject<{
|
|
1005
|
+
created_at: z.ZodString;
|
|
1006
|
+
message: z.ZodString;
|
|
1007
|
+
error_code: z.ZodString;
|
|
1008
|
+
}, "strip", z.ZodTypeAny, {
|
|
1009
|
+
message: string;
|
|
1010
|
+
created_at: string;
|
|
1011
|
+
error_code: string;
|
|
1012
|
+
}, {
|
|
1013
|
+
message: string;
|
|
1014
|
+
created_at: string;
|
|
1015
|
+
error_code: string;
|
|
1016
|
+
}>, "many">;
|
|
1017
|
+
device_warnings: z.ZodArray<z.ZodObject<{
|
|
1018
|
+
created_at: z.ZodString;
|
|
1019
|
+
message: z.ZodString;
|
|
1020
|
+
warning_code: z.ZodString;
|
|
1021
|
+
}, "strip", z.ZodTypeAny, {
|
|
1022
|
+
message: string;
|
|
1023
|
+
created_at: string;
|
|
1024
|
+
warning_code: string;
|
|
1025
|
+
}, {
|
|
1026
|
+
message: string;
|
|
1027
|
+
created_at: string;
|
|
1028
|
+
warning_code: string;
|
|
1029
|
+
}>, "many">;
|
|
643
1030
|
}, "strip", z.ZodTypeAny, {
|
|
644
1031
|
device_id: string;
|
|
645
1032
|
workspace_id: string;
|
|
@@ -648,6 +1035,27 @@ export declare const device_error_subscription_required_event: z.ZodObject<{
|
|
|
648
1035
|
event_id: string;
|
|
649
1036
|
occurred_at: string;
|
|
650
1037
|
event_type: "device.error.subscription_required";
|
|
1038
|
+
connected_account_errors: {
|
|
1039
|
+
message: string;
|
|
1040
|
+
created_at: string;
|
|
1041
|
+
error_code: string;
|
|
1042
|
+
}[];
|
|
1043
|
+
connected_account_warnings: {
|
|
1044
|
+
message: string;
|
|
1045
|
+
created_at: string;
|
|
1046
|
+
warning_code: string;
|
|
1047
|
+
}[];
|
|
1048
|
+
device_errors: {
|
|
1049
|
+
message: string;
|
|
1050
|
+
created_at: string;
|
|
1051
|
+
error_code: string;
|
|
1052
|
+
}[];
|
|
1053
|
+
device_warnings: {
|
|
1054
|
+
message: string;
|
|
1055
|
+
created_at: string;
|
|
1056
|
+
warning_code: string;
|
|
1057
|
+
}[];
|
|
1058
|
+
customer_key?: string | undefined;
|
|
651
1059
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
652
1060
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
653
1061
|
}, {
|
|
@@ -658,6 +1066,27 @@ export declare const device_error_subscription_required_event: z.ZodObject<{
|
|
|
658
1066
|
event_id: string;
|
|
659
1067
|
occurred_at: string;
|
|
660
1068
|
event_type: "device.error.subscription_required";
|
|
1069
|
+
connected_account_errors: {
|
|
1070
|
+
message: string;
|
|
1071
|
+
created_at: string;
|
|
1072
|
+
error_code: string;
|
|
1073
|
+
}[];
|
|
1074
|
+
connected_account_warnings: {
|
|
1075
|
+
message: string;
|
|
1076
|
+
created_at: string;
|
|
1077
|
+
warning_code: string;
|
|
1078
|
+
}[];
|
|
1079
|
+
device_errors: {
|
|
1080
|
+
message: string;
|
|
1081
|
+
created_at: string;
|
|
1082
|
+
error_code: string;
|
|
1083
|
+
}[];
|
|
1084
|
+
device_warnings: {
|
|
1085
|
+
message: string;
|
|
1086
|
+
created_at: string;
|
|
1087
|
+
warning_code: string;
|
|
1088
|
+
}[];
|
|
1089
|
+
customer_key?: string | undefined;
|
|
661
1090
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
662
1091
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
663
1092
|
}>;
|
|
@@ -670,6 +1099,7 @@ export declare const device_error_subscription_required_resolved_event: z.ZodObj
|
|
|
670
1099
|
} & {
|
|
671
1100
|
device_id: z.ZodString;
|
|
672
1101
|
connected_account_id: z.ZodString;
|
|
1102
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
673
1103
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
674
1104
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
675
1105
|
} & {
|
|
@@ -682,6 +1112,7 @@ export declare const device_error_subscription_required_resolved_event: z.ZodObj
|
|
|
682
1112
|
event_id: string;
|
|
683
1113
|
occurred_at: string;
|
|
684
1114
|
event_type: "device.error.subscription_required.resolved";
|
|
1115
|
+
customer_key?: string | undefined;
|
|
685
1116
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
686
1117
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
687
1118
|
}, {
|
|
@@ -692,6 +1123,7 @@ export declare const device_error_subscription_required_resolved_event: z.ZodObj
|
|
|
692
1123
|
event_id: string;
|
|
693
1124
|
occurred_at: string;
|
|
694
1125
|
event_type: "device.error.subscription_required.resolved";
|
|
1126
|
+
customer_key?: string | undefined;
|
|
695
1127
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
696
1128
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
697
1129
|
}>;
|
|
@@ -704,6 +1136,7 @@ export declare const device_accessory_keypad_connected_event: z.ZodObject<{
|
|
|
704
1136
|
} & {
|
|
705
1137
|
device_id: z.ZodString;
|
|
706
1138
|
connected_account_id: z.ZodString;
|
|
1139
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
707
1140
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
708
1141
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
709
1142
|
} & {
|
|
@@ -716,6 +1149,7 @@ export declare const device_accessory_keypad_connected_event: z.ZodObject<{
|
|
|
716
1149
|
event_id: string;
|
|
717
1150
|
occurred_at: string;
|
|
718
1151
|
event_type: "device.accessory_keypad_connected";
|
|
1152
|
+
customer_key?: string | undefined;
|
|
719
1153
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
720
1154
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
721
1155
|
}, {
|
|
@@ -726,6 +1160,7 @@ export declare const device_accessory_keypad_connected_event: z.ZodObject<{
|
|
|
726
1160
|
event_id: string;
|
|
727
1161
|
occurred_at: string;
|
|
728
1162
|
event_type: "device.accessory_keypad_connected";
|
|
1163
|
+
customer_key?: string | undefined;
|
|
729
1164
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
730
1165
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
731
1166
|
}>;
|
|
@@ -738,10 +1173,64 @@ export declare const device_accessory_keypad_disconnected_event: z.ZodObject<{
|
|
|
738
1173
|
} & {
|
|
739
1174
|
device_id: z.ZodString;
|
|
740
1175
|
connected_account_id: z.ZodString;
|
|
1176
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
741
1177
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
742
1178
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
743
1179
|
} & {
|
|
744
1180
|
event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
|
|
1181
|
+
} & {
|
|
1182
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
1183
|
+
created_at: z.ZodString;
|
|
1184
|
+
message: z.ZodString;
|
|
1185
|
+
error_code: z.ZodString;
|
|
1186
|
+
}, "strip", z.ZodTypeAny, {
|
|
1187
|
+
message: string;
|
|
1188
|
+
created_at: string;
|
|
1189
|
+
error_code: string;
|
|
1190
|
+
}, {
|
|
1191
|
+
message: string;
|
|
1192
|
+
created_at: string;
|
|
1193
|
+
error_code: string;
|
|
1194
|
+
}>, "many">;
|
|
1195
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
1196
|
+
created_at: z.ZodString;
|
|
1197
|
+
message: z.ZodString;
|
|
1198
|
+
warning_code: z.ZodString;
|
|
1199
|
+
}, "strip", z.ZodTypeAny, {
|
|
1200
|
+
message: string;
|
|
1201
|
+
created_at: string;
|
|
1202
|
+
warning_code: string;
|
|
1203
|
+
}, {
|
|
1204
|
+
message: string;
|
|
1205
|
+
created_at: string;
|
|
1206
|
+
warning_code: string;
|
|
1207
|
+
}>, "many">;
|
|
1208
|
+
device_errors: z.ZodArray<z.ZodObject<{
|
|
1209
|
+
created_at: z.ZodString;
|
|
1210
|
+
message: z.ZodString;
|
|
1211
|
+
error_code: z.ZodString;
|
|
1212
|
+
}, "strip", z.ZodTypeAny, {
|
|
1213
|
+
message: string;
|
|
1214
|
+
created_at: string;
|
|
1215
|
+
error_code: string;
|
|
1216
|
+
}, {
|
|
1217
|
+
message: string;
|
|
1218
|
+
created_at: string;
|
|
1219
|
+
error_code: string;
|
|
1220
|
+
}>, "many">;
|
|
1221
|
+
device_warnings: z.ZodArray<z.ZodObject<{
|
|
1222
|
+
created_at: z.ZodString;
|
|
1223
|
+
message: z.ZodString;
|
|
1224
|
+
warning_code: z.ZodString;
|
|
1225
|
+
}, "strip", z.ZodTypeAny, {
|
|
1226
|
+
message: string;
|
|
1227
|
+
created_at: string;
|
|
1228
|
+
warning_code: string;
|
|
1229
|
+
}, {
|
|
1230
|
+
message: string;
|
|
1231
|
+
created_at: string;
|
|
1232
|
+
warning_code: string;
|
|
1233
|
+
}>, "many">;
|
|
745
1234
|
}, "strip", z.ZodTypeAny, {
|
|
746
1235
|
device_id: string;
|
|
747
1236
|
workspace_id: string;
|
|
@@ -750,6 +1239,27 @@ export declare const device_accessory_keypad_disconnected_event: z.ZodObject<{
|
|
|
750
1239
|
event_id: string;
|
|
751
1240
|
occurred_at: string;
|
|
752
1241
|
event_type: "device.accessory_keypad_disconnected";
|
|
1242
|
+
connected_account_errors: {
|
|
1243
|
+
message: string;
|
|
1244
|
+
created_at: string;
|
|
1245
|
+
error_code: string;
|
|
1246
|
+
}[];
|
|
1247
|
+
connected_account_warnings: {
|
|
1248
|
+
message: string;
|
|
1249
|
+
created_at: string;
|
|
1250
|
+
warning_code: string;
|
|
1251
|
+
}[];
|
|
1252
|
+
device_errors: {
|
|
1253
|
+
message: string;
|
|
1254
|
+
created_at: string;
|
|
1255
|
+
error_code: string;
|
|
1256
|
+
}[];
|
|
1257
|
+
device_warnings: {
|
|
1258
|
+
message: string;
|
|
1259
|
+
created_at: string;
|
|
1260
|
+
warning_code: string;
|
|
1261
|
+
}[];
|
|
1262
|
+
customer_key?: string | undefined;
|
|
753
1263
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
754
1264
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
755
1265
|
}, {
|
|
@@ -760,6 +1270,27 @@ export declare const device_accessory_keypad_disconnected_event: z.ZodObject<{
|
|
|
760
1270
|
event_id: string;
|
|
761
1271
|
occurred_at: string;
|
|
762
1272
|
event_type: "device.accessory_keypad_disconnected";
|
|
1273
|
+
connected_account_errors: {
|
|
1274
|
+
message: string;
|
|
1275
|
+
created_at: string;
|
|
1276
|
+
error_code: string;
|
|
1277
|
+
}[];
|
|
1278
|
+
connected_account_warnings: {
|
|
1279
|
+
message: string;
|
|
1280
|
+
created_at: string;
|
|
1281
|
+
warning_code: string;
|
|
1282
|
+
}[];
|
|
1283
|
+
device_errors: {
|
|
1284
|
+
message: string;
|
|
1285
|
+
created_at: string;
|
|
1286
|
+
error_code: string;
|
|
1287
|
+
}[];
|
|
1288
|
+
device_warnings: {
|
|
1289
|
+
message: string;
|
|
1290
|
+
created_at: string;
|
|
1291
|
+
warning_code: string;
|
|
1292
|
+
}[];
|
|
1293
|
+
customer_key?: string | undefined;
|
|
763
1294
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
764
1295
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
765
1296
|
}>;
|
|
@@ -772,6 +1303,7 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<{
|
|
|
772
1303
|
} & {
|
|
773
1304
|
device_id: z.ZodString;
|
|
774
1305
|
connected_account_id: z.ZodString;
|
|
1306
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
775
1307
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
776
1308
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
777
1309
|
} & {
|
|
@@ -790,6 +1322,7 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<{
|
|
|
790
1322
|
event_id: string;
|
|
791
1323
|
occurred_at: string;
|
|
792
1324
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
1325
|
+
customer_key?: string | undefined;
|
|
793
1326
|
noise_level_nrs?: number | undefined;
|
|
794
1327
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
795
1328
|
minut_metadata?: Record<string, unknown> | undefined;
|
|
@@ -806,6 +1339,7 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<{
|
|
|
806
1339
|
event_id: string;
|
|
807
1340
|
occurred_at: string;
|
|
808
1341
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
1342
|
+
customer_key?: string | undefined;
|
|
809
1343
|
noise_level_nrs?: number | undefined;
|
|
810
1344
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
811
1345
|
minut_metadata?: Record<string, unknown> | undefined;
|
|
@@ -824,6 +1358,7 @@ export declare const lock_locked_event: z.ZodObject<{
|
|
|
824
1358
|
} & {
|
|
825
1359
|
device_id: z.ZodString;
|
|
826
1360
|
connected_account_id: z.ZodString;
|
|
1361
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
827
1362
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
828
1363
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
829
1364
|
} & {
|
|
@@ -841,6 +1376,7 @@ export declare const lock_locked_event: z.ZodObject<{
|
|
|
841
1376
|
occurred_at: string;
|
|
842
1377
|
event_type: "lock.locked";
|
|
843
1378
|
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
1379
|
+
customer_key?: string | undefined;
|
|
844
1380
|
access_code_id?: string | undefined;
|
|
845
1381
|
action_attempt_id?: string | undefined;
|
|
846
1382
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -855,6 +1391,7 @@ export declare const lock_locked_event: z.ZodObject<{
|
|
|
855
1391
|
occurred_at: string;
|
|
856
1392
|
event_type: "lock.locked";
|
|
857
1393
|
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
1394
|
+
customer_key?: string | undefined;
|
|
858
1395
|
access_code_id?: string | undefined;
|
|
859
1396
|
action_attempt_id?: string | undefined;
|
|
860
1397
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -868,6 +1405,7 @@ export declare const lock_unlocked_event: z.ZodObject<{
|
|
|
868
1405
|
created_at: z.ZodString;
|
|
869
1406
|
occurred_at: z.ZodString;
|
|
870
1407
|
connected_account_id: z.ZodString;
|
|
1408
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
871
1409
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
872
1410
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
873
1411
|
} & {
|
|
@@ -890,6 +1428,7 @@ export declare const lock_unlocked_event: z.ZodObject<{
|
|
|
890
1428
|
event_type: "lock.unlocked";
|
|
891
1429
|
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
892
1430
|
device_id?: string | undefined;
|
|
1431
|
+
customer_key?: string | undefined;
|
|
893
1432
|
access_code_id?: string | undefined;
|
|
894
1433
|
user_identity_id?: string | undefined;
|
|
895
1434
|
acs_system_id?: string | undefined;
|
|
@@ -908,6 +1447,7 @@ export declare const lock_unlocked_event: z.ZodObject<{
|
|
|
908
1447
|
event_type: "lock.unlocked";
|
|
909
1448
|
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
910
1449
|
device_id?: string | undefined;
|
|
1450
|
+
customer_key?: string | undefined;
|
|
911
1451
|
access_code_id?: string | undefined;
|
|
912
1452
|
user_identity_id?: string | undefined;
|
|
913
1453
|
acs_system_id?: string | undefined;
|
|
@@ -927,6 +1467,7 @@ export declare const lock_access_denied_event: z.ZodObject<{
|
|
|
927
1467
|
} & {
|
|
928
1468
|
device_id: z.ZodString;
|
|
929
1469
|
connected_account_id: z.ZodString;
|
|
1470
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
930
1471
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
931
1472
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
932
1473
|
} & {
|
|
@@ -940,6 +1481,7 @@ export declare const lock_access_denied_event: z.ZodObject<{
|
|
|
940
1481
|
event_id: string;
|
|
941
1482
|
occurred_at: string;
|
|
942
1483
|
event_type: "lock.access_denied";
|
|
1484
|
+
customer_key?: string | undefined;
|
|
943
1485
|
access_code_id?: string | undefined;
|
|
944
1486
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
945
1487
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -951,6 +1493,7 @@ export declare const lock_access_denied_event: z.ZodObject<{
|
|
|
951
1493
|
event_id: string;
|
|
952
1494
|
occurred_at: string;
|
|
953
1495
|
event_type: "lock.access_denied";
|
|
1496
|
+
customer_key?: string | undefined;
|
|
954
1497
|
access_code_id?: string | undefined;
|
|
955
1498
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
956
1499
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -964,6 +1507,7 @@ export declare const thermostat_climate_preset_activated_event: z.ZodObject<{
|
|
|
964
1507
|
} & {
|
|
965
1508
|
device_id: z.ZodString;
|
|
966
1509
|
connected_account_id: z.ZodString;
|
|
1510
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
967
1511
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
968
1512
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
969
1513
|
} & {
|
|
@@ -982,6 +1526,7 @@ export declare const thermostat_climate_preset_activated_event: z.ZodObject<{
|
|
|
982
1526
|
occurred_at: string;
|
|
983
1527
|
event_type: "thermostat.climate_preset_activated";
|
|
984
1528
|
is_fallback_climate_preset: boolean;
|
|
1529
|
+
customer_key?: string | undefined;
|
|
985
1530
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
986
1531
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
987
1532
|
}, {
|
|
@@ -995,6 +1540,7 @@ export declare const thermostat_climate_preset_activated_event: z.ZodObject<{
|
|
|
995
1540
|
occurred_at: string;
|
|
996
1541
|
event_type: "thermostat.climate_preset_activated";
|
|
997
1542
|
is_fallback_climate_preset: boolean;
|
|
1543
|
+
customer_key?: string | undefined;
|
|
998
1544
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
999
1545
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1000
1546
|
}>;
|
|
@@ -1008,6 +1554,7 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<{
|
|
|
1008
1554
|
} & {
|
|
1009
1555
|
device_id: z.ZodString;
|
|
1010
1556
|
connected_account_id: z.ZodString;
|
|
1557
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1011
1558
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1012
1559
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1013
1560
|
} & {
|
|
@@ -1056,6 +1603,7 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<{
|
|
|
1056
1603
|
heating_set_point_celsius?: number | undefined;
|
|
1057
1604
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
1058
1605
|
heating_set_point_fahrenheit?: number | undefined;
|
|
1606
|
+
customer_key?: string | undefined;
|
|
1059
1607
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1060
1608
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1061
1609
|
}, {
|
|
@@ -1073,6 +1621,7 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<{
|
|
|
1073
1621
|
heating_set_point_celsius?: number | undefined;
|
|
1074
1622
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
1075
1623
|
heating_set_point_fahrenheit?: number | undefined;
|
|
1624
|
+
customer_key?: string | undefined;
|
|
1076
1625
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1077
1626
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1078
1627
|
}>;
|
|
@@ -1085,6 +1634,7 @@ export declare const temperature_threshold_exceeded_event: z.ZodObject<{
|
|
|
1085
1634
|
} & {
|
|
1086
1635
|
device_id: z.ZodString;
|
|
1087
1636
|
connected_account_id: z.ZodString;
|
|
1637
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1088
1638
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1089
1639
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1090
1640
|
} & {
|
|
@@ -1109,6 +1659,7 @@ export declare const temperature_threshold_exceeded_event: z.ZodObject<{
|
|
|
1109
1659
|
event_id: string;
|
|
1110
1660
|
occurred_at: string;
|
|
1111
1661
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
1662
|
+
customer_key?: string | undefined;
|
|
1112
1663
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1113
1664
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1114
1665
|
}, {
|
|
@@ -1125,6 +1676,7 @@ export declare const temperature_threshold_exceeded_event: z.ZodObject<{
|
|
|
1125
1676
|
event_id: string;
|
|
1126
1677
|
occurred_at: string;
|
|
1127
1678
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
1679
|
+
customer_key?: string | undefined;
|
|
1128
1680
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1129
1681
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1130
1682
|
}>;
|
|
@@ -1137,6 +1689,7 @@ export declare const temperature_threshold_no_longer_exceeded_event: z.ZodObject
|
|
|
1137
1689
|
} & {
|
|
1138
1690
|
device_id: z.ZodString;
|
|
1139
1691
|
connected_account_id: z.ZodString;
|
|
1692
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1140
1693
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1141
1694
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1142
1695
|
} & {
|
|
@@ -1161,6 +1714,7 @@ export declare const temperature_threshold_no_longer_exceeded_event: z.ZodObject
|
|
|
1161
1714
|
event_id: string;
|
|
1162
1715
|
occurred_at: string;
|
|
1163
1716
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
1717
|
+
customer_key?: string | undefined;
|
|
1164
1718
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1165
1719
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1166
1720
|
}, {
|
|
@@ -1177,6 +1731,7 @@ export declare const temperature_threshold_no_longer_exceeded_event: z.ZodObject
|
|
|
1177
1731
|
event_id: string;
|
|
1178
1732
|
occurred_at: string;
|
|
1179
1733
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
1734
|
+
customer_key?: string | undefined;
|
|
1180
1735
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1181
1736
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1182
1737
|
}>;
|
|
@@ -1189,6 +1744,7 @@ export declare const temperature_reached_set_point_event: z.ZodObject<{
|
|
|
1189
1744
|
} & {
|
|
1190
1745
|
device_id: z.ZodString;
|
|
1191
1746
|
connected_account_id: z.ZodString;
|
|
1747
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1192
1748
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1193
1749
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1194
1750
|
} & {
|
|
@@ -1207,6 +1763,7 @@ export declare const temperature_reached_set_point_event: z.ZodObject<{
|
|
|
1207
1763
|
event_id: string;
|
|
1208
1764
|
occurred_at: string;
|
|
1209
1765
|
event_type: "thermostat.temperature_reached_set_point";
|
|
1766
|
+
customer_key?: string | undefined;
|
|
1210
1767
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1211
1768
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1212
1769
|
desired_temperature_celsius?: number | undefined;
|
|
@@ -1221,6 +1778,7 @@ export declare const temperature_reached_set_point_event: z.ZodObject<{
|
|
|
1221
1778
|
event_id: string;
|
|
1222
1779
|
occurred_at: string;
|
|
1223
1780
|
event_type: "thermostat.temperature_reached_set_point";
|
|
1781
|
+
customer_key?: string | undefined;
|
|
1224
1782
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1225
1783
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1226
1784
|
desired_temperature_celsius?: number | undefined;
|
|
@@ -1235,6 +1793,7 @@ export declare const temperature_changed_event: z.ZodObject<{
|
|
|
1235
1793
|
} & {
|
|
1236
1794
|
device_id: z.ZodString;
|
|
1237
1795
|
connected_account_id: z.ZodString;
|
|
1796
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1238
1797
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1239
1798
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1240
1799
|
} & {
|
|
@@ -1251,6 +1810,7 @@ export declare const temperature_changed_event: z.ZodObject<{
|
|
|
1251
1810
|
event_id: string;
|
|
1252
1811
|
occurred_at: string;
|
|
1253
1812
|
event_type: "thermostat.temperature_changed";
|
|
1813
|
+
customer_key?: string | undefined;
|
|
1254
1814
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1255
1815
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1256
1816
|
}, {
|
|
@@ -1263,6 +1823,7 @@ export declare const temperature_changed_event: z.ZodObject<{
|
|
|
1263
1823
|
event_id: string;
|
|
1264
1824
|
occurred_at: string;
|
|
1265
1825
|
event_type: "thermostat.temperature_changed";
|
|
1826
|
+
customer_key?: string | undefined;
|
|
1266
1827
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1267
1828
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1268
1829
|
}>;
|
|
@@ -1275,6 +1836,7 @@ export declare const device_name_changed_event: z.ZodObject<{
|
|
|
1275
1836
|
} & {
|
|
1276
1837
|
device_id: z.ZodString;
|
|
1277
1838
|
connected_account_id: z.ZodString;
|
|
1839
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1278
1840
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1279
1841
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1280
1842
|
} & {
|
|
@@ -1289,6 +1851,7 @@ export declare const device_name_changed_event: z.ZodObject<{
|
|
|
1289
1851
|
event_id: string;
|
|
1290
1852
|
occurred_at: string;
|
|
1291
1853
|
event_type: "device.name_changed";
|
|
1854
|
+
customer_key?: string | undefined;
|
|
1292
1855
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1293
1856
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1294
1857
|
}, {
|
|
@@ -1300,6 +1863,7 @@ export declare const device_name_changed_event: z.ZodObject<{
|
|
|
1300
1863
|
event_id: string;
|
|
1301
1864
|
occurred_at: string;
|
|
1302
1865
|
event_type: "device.name_changed";
|
|
1866
|
+
customer_key?: string | undefined;
|
|
1303
1867
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1304
1868
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1305
1869
|
}>;
|
|
@@ -1312,6 +1876,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1312
1876
|
} & {
|
|
1313
1877
|
device_id: z.ZodString;
|
|
1314
1878
|
connected_account_id: z.ZodString;
|
|
1879
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1315
1880
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1316
1881
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1317
1882
|
} & {
|
|
@@ -1324,6 +1889,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1324
1889
|
event_id: string;
|
|
1325
1890
|
occurred_at: string;
|
|
1326
1891
|
event_type: "device.connected";
|
|
1892
|
+
customer_key?: string | undefined;
|
|
1327
1893
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1328
1894
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1329
1895
|
}, {
|
|
@@ -1334,6 +1900,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1334
1900
|
event_id: string;
|
|
1335
1901
|
occurred_at: string;
|
|
1336
1902
|
event_type: "device.connected";
|
|
1903
|
+
customer_key?: string | undefined;
|
|
1337
1904
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1338
1905
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1339
1906
|
}>, z.ZodObject<{
|
|
@@ -1344,6 +1911,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1344
1911
|
} & {
|
|
1345
1912
|
device_id: z.ZodString;
|
|
1346
1913
|
connected_account_id: z.ZodString;
|
|
1914
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1347
1915
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1348
1916
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1349
1917
|
} & {
|
|
@@ -1356,6 +1924,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1356
1924
|
event_id: string;
|
|
1357
1925
|
occurred_at: string;
|
|
1358
1926
|
event_type: "device.added";
|
|
1927
|
+
customer_key?: string | undefined;
|
|
1359
1928
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1360
1929
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1361
1930
|
}, {
|
|
@@ -1366,6 +1935,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1366
1935
|
event_id: string;
|
|
1367
1936
|
occurred_at: string;
|
|
1368
1937
|
event_type: "device.added";
|
|
1938
|
+
customer_key?: string | undefined;
|
|
1369
1939
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1370
1940
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1371
1941
|
}>, z.ZodObject<{
|
|
@@ -1376,6 +1946,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1376
1946
|
} & {
|
|
1377
1947
|
device_id: z.ZodString;
|
|
1378
1948
|
connected_account_id: z.ZodString;
|
|
1949
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1379
1950
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1380
1951
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1381
1952
|
} & {
|
|
@@ -1388,6 +1959,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1388
1959
|
event_id: string;
|
|
1389
1960
|
occurred_at: string;
|
|
1390
1961
|
event_type: "device.converted_to_unmanaged";
|
|
1962
|
+
customer_key?: string | undefined;
|
|
1391
1963
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1392
1964
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1393
1965
|
}, {
|
|
@@ -1398,6 +1970,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1398
1970
|
event_id: string;
|
|
1399
1971
|
occurred_at: string;
|
|
1400
1972
|
event_type: "device.converted_to_unmanaged";
|
|
1973
|
+
customer_key?: string | undefined;
|
|
1401
1974
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1402
1975
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1403
1976
|
}>, z.ZodObject<{
|
|
@@ -1408,6 +1981,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1408
1981
|
} & {
|
|
1409
1982
|
device_id: z.ZodString;
|
|
1410
1983
|
connected_account_id: z.ZodString;
|
|
1984
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1411
1985
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1412
1986
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1413
1987
|
} & {
|
|
@@ -1420,6 +1994,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1420
1994
|
event_id: string;
|
|
1421
1995
|
occurred_at: string;
|
|
1422
1996
|
event_type: "device.unmanaged.converted_to_managed";
|
|
1997
|
+
customer_key?: string | undefined;
|
|
1423
1998
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1424
1999
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1425
2000
|
}, {
|
|
@@ -1430,6 +2005,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1430
2005
|
event_id: string;
|
|
1431
2006
|
occurred_at: string;
|
|
1432
2007
|
event_type: "device.unmanaged.converted_to_managed";
|
|
2008
|
+
customer_key?: string | undefined;
|
|
1433
2009
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1434
2010
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1435
2011
|
}>, z.ZodObject<{
|
|
@@ -1440,6 +2016,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1440
2016
|
} & {
|
|
1441
2017
|
device_id: z.ZodString;
|
|
1442
2018
|
connected_account_id: z.ZodString;
|
|
2019
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1443
2020
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1444
2021
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1445
2022
|
} & {
|
|
@@ -1452,6 +2029,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1452
2029
|
event_id: string;
|
|
1453
2030
|
occurred_at: string;
|
|
1454
2031
|
event_type: "device.unmanaged.connected";
|
|
2032
|
+
customer_key?: string | undefined;
|
|
1455
2033
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1456
2034
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1457
2035
|
}, {
|
|
@@ -1462,6 +2040,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1462
2040
|
event_id: string;
|
|
1463
2041
|
occurred_at: string;
|
|
1464
2042
|
event_type: "device.unmanaged.connected";
|
|
2043
|
+
customer_key?: string | undefined;
|
|
1465
2044
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1466
2045
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1467
2046
|
}>, z.ZodObject<{
|
|
@@ -1472,11 +2051,65 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1472
2051
|
} & {
|
|
1473
2052
|
device_id: z.ZodString;
|
|
1474
2053
|
connected_account_id: z.ZodString;
|
|
2054
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1475
2055
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1476
2056
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1477
2057
|
} & {
|
|
1478
2058
|
event_type: z.ZodLiteral<"device.disconnected">;
|
|
1479
2059
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
2060
|
+
} & {
|
|
2061
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
2062
|
+
created_at: z.ZodString;
|
|
2063
|
+
message: z.ZodString;
|
|
2064
|
+
error_code: z.ZodString;
|
|
2065
|
+
}, "strip", z.ZodTypeAny, {
|
|
2066
|
+
message: string;
|
|
2067
|
+
created_at: string;
|
|
2068
|
+
error_code: string;
|
|
2069
|
+
}, {
|
|
2070
|
+
message: string;
|
|
2071
|
+
created_at: string;
|
|
2072
|
+
error_code: string;
|
|
2073
|
+
}>, "many">;
|
|
2074
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
2075
|
+
created_at: z.ZodString;
|
|
2076
|
+
message: z.ZodString;
|
|
2077
|
+
warning_code: z.ZodString;
|
|
2078
|
+
}, "strip", z.ZodTypeAny, {
|
|
2079
|
+
message: string;
|
|
2080
|
+
created_at: string;
|
|
2081
|
+
warning_code: string;
|
|
2082
|
+
}, {
|
|
2083
|
+
message: string;
|
|
2084
|
+
created_at: string;
|
|
2085
|
+
warning_code: string;
|
|
2086
|
+
}>, "many">;
|
|
2087
|
+
device_errors: z.ZodArray<z.ZodObject<{
|
|
2088
|
+
created_at: z.ZodString;
|
|
2089
|
+
message: z.ZodString;
|
|
2090
|
+
error_code: z.ZodString;
|
|
2091
|
+
}, "strip", z.ZodTypeAny, {
|
|
2092
|
+
message: string;
|
|
2093
|
+
created_at: string;
|
|
2094
|
+
error_code: string;
|
|
2095
|
+
}, {
|
|
2096
|
+
message: string;
|
|
2097
|
+
created_at: string;
|
|
2098
|
+
error_code: string;
|
|
2099
|
+
}>, "many">;
|
|
2100
|
+
device_warnings: z.ZodArray<z.ZodObject<{
|
|
2101
|
+
created_at: z.ZodString;
|
|
2102
|
+
message: z.ZodString;
|
|
2103
|
+
warning_code: z.ZodString;
|
|
2104
|
+
}, "strip", z.ZodTypeAny, {
|
|
2105
|
+
message: string;
|
|
2106
|
+
created_at: string;
|
|
2107
|
+
warning_code: string;
|
|
2108
|
+
}, {
|
|
2109
|
+
message: string;
|
|
2110
|
+
created_at: string;
|
|
2111
|
+
warning_code: string;
|
|
2112
|
+
}>, "many">;
|
|
1480
2113
|
}, "strip", z.ZodTypeAny, {
|
|
1481
2114
|
device_id: string;
|
|
1482
2115
|
workspace_id: string;
|
|
@@ -1486,6 +2119,27 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1486
2119
|
event_id: string;
|
|
1487
2120
|
occurred_at: string;
|
|
1488
2121
|
event_type: "device.disconnected";
|
|
2122
|
+
connected_account_errors: {
|
|
2123
|
+
message: string;
|
|
2124
|
+
created_at: string;
|
|
2125
|
+
error_code: string;
|
|
2126
|
+
}[];
|
|
2127
|
+
connected_account_warnings: {
|
|
2128
|
+
message: string;
|
|
2129
|
+
created_at: string;
|
|
2130
|
+
warning_code: string;
|
|
2131
|
+
}[];
|
|
2132
|
+
device_errors: {
|
|
2133
|
+
message: string;
|
|
2134
|
+
created_at: string;
|
|
2135
|
+
error_code: string;
|
|
2136
|
+
}[];
|
|
2137
|
+
device_warnings: {
|
|
2138
|
+
message: string;
|
|
2139
|
+
created_at: string;
|
|
2140
|
+
warning_code: string;
|
|
2141
|
+
}[];
|
|
2142
|
+
customer_key?: string | undefined;
|
|
1489
2143
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1490
2144
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1491
2145
|
}, {
|
|
@@ -1497,6 +2151,27 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1497
2151
|
event_id: string;
|
|
1498
2152
|
occurred_at: string;
|
|
1499
2153
|
event_type: "device.disconnected";
|
|
2154
|
+
connected_account_errors: {
|
|
2155
|
+
message: string;
|
|
2156
|
+
created_at: string;
|
|
2157
|
+
error_code: string;
|
|
2158
|
+
}[];
|
|
2159
|
+
connected_account_warnings: {
|
|
2160
|
+
message: string;
|
|
2161
|
+
created_at: string;
|
|
2162
|
+
warning_code: string;
|
|
2163
|
+
}[];
|
|
2164
|
+
device_errors: {
|
|
2165
|
+
message: string;
|
|
2166
|
+
created_at: string;
|
|
2167
|
+
error_code: string;
|
|
2168
|
+
}[];
|
|
2169
|
+
device_warnings: {
|
|
2170
|
+
message: string;
|
|
2171
|
+
created_at: string;
|
|
2172
|
+
warning_code: string;
|
|
2173
|
+
}[];
|
|
2174
|
+
customer_key?: string | undefined;
|
|
1500
2175
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1501
2176
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1502
2177
|
}>, z.ZodObject<{
|
|
@@ -1507,11 +2182,65 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1507
2182
|
} & {
|
|
1508
2183
|
device_id: z.ZodString;
|
|
1509
2184
|
connected_account_id: z.ZodString;
|
|
2185
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1510
2186
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1511
2187
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1512
2188
|
} & {
|
|
1513
2189
|
event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
|
|
1514
2190
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
2191
|
+
} & {
|
|
2192
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
2193
|
+
created_at: z.ZodString;
|
|
2194
|
+
message: z.ZodString;
|
|
2195
|
+
error_code: z.ZodString;
|
|
2196
|
+
}, "strip", z.ZodTypeAny, {
|
|
2197
|
+
message: string;
|
|
2198
|
+
created_at: string;
|
|
2199
|
+
error_code: string;
|
|
2200
|
+
}, {
|
|
2201
|
+
message: string;
|
|
2202
|
+
created_at: string;
|
|
2203
|
+
error_code: string;
|
|
2204
|
+
}>, "many">;
|
|
2205
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
2206
|
+
created_at: z.ZodString;
|
|
2207
|
+
message: z.ZodString;
|
|
2208
|
+
warning_code: z.ZodString;
|
|
2209
|
+
}, "strip", z.ZodTypeAny, {
|
|
2210
|
+
message: string;
|
|
2211
|
+
created_at: string;
|
|
2212
|
+
warning_code: string;
|
|
2213
|
+
}, {
|
|
2214
|
+
message: string;
|
|
2215
|
+
created_at: string;
|
|
2216
|
+
warning_code: string;
|
|
2217
|
+
}>, "many">;
|
|
2218
|
+
device_errors: z.ZodArray<z.ZodObject<{
|
|
2219
|
+
created_at: z.ZodString;
|
|
2220
|
+
message: z.ZodString;
|
|
2221
|
+
error_code: z.ZodString;
|
|
2222
|
+
}, "strip", z.ZodTypeAny, {
|
|
2223
|
+
message: string;
|
|
2224
|
+
created_at: string;
|
|
2225
|
+
error_code: string;
|
|
2226
|
+
}, {
|
|
2227
|
+
message: string;
|
|
2228
|
+
created_at: string;
|
|
2229
|
+
error_code: string;
|
|
2230
|
+
}>, "many">;
|
|
2231
|
+
device_warnings: z.ZodArray<z.ZodObject<{
|
|
2232
|
+
created_at: z.ZodString;
|
|
2233
|
+
message: z.ZodString;
|
|
2234
|
+
warning_code: z.ZodString;
|
|
2235
|
+
}, "strip", z.ZodTypeAny, {
|
|
2236
|
+
message: string;
|
|
2237
|
+
created_at: string;
|
|
2238
|
+
warning_code: string;
|
|
2239
|
+
}, {
|
|
2240
|
+
message: string;
|
|
2241
|
+
created_at: string;
|
|
2242
|
+
warning_code: string;
|
|
2243
|
+
}>, "many">;
|
|
1515
2244
|
}, "strip", z.ZodTypeAny, {
|
|
1516
2245
|
device_id: string;
|
|
1517
2246
|
workspace_id: string;
|
|
@@ -1521,6 +2250,27 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1521
2250
|
event_id: string;
|
|
1522
2251
|
occurred_at: string;
|
|
1523
2252
|
event_type: "device.unmanaged.disconnected";
|
|
2253
|
+
connected_account_errors: {
|
|
2254
|
+
message: string;
|
|
2255
|
+
created_at: string;
|
|
2256
|
+
error_code: string;
|
|
2257
|
+
}[];
|
|
2258
|
+
connected_account_warnings: {
|
|
2259
|
+
message: string;
|
|
2260
|
+
created_at: string;
|
|
2261
|
+
warning_code: string;
|
|
2262
|
+
}[];
|
|
2263
|
+
device_errors: {
|
|
2264
|
+
message: string;
|
|
2265
|
+
created_at: string;
|
|
2266
|
+
error_code: string;
|
|
2267
|
+
}[];
|
|
2268
|
+
device_warnings: {
|
|
2269
|
+
message: string;
|
|
2270
|
+
created_at: string;
|
|
2271
|
+
warning_code: string;
|
|
2272
|
+
}[];
|
|
2273
|
+
customer_key?: string | undefined;
|
|
1524
2274
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1525
2275
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1526
2276
|
}, {
|
|
@@ -1532,6 +2282,27 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1532
2282
|
event_id: string;
|
|
1533
2283
|
occurred_at: string;
|
|
1534
2284
|
event_type: "device.unmanaged.disconnected";
|
|
2285
|
+
connected_account_errors: {
|
|
2286
|
+
message: string;
|
|
2287
|
+
created_at: string;
|
|
2288
|
+
error_code: string;
|
|
2289
|
+
}[];
|
|
2290
|
+
connected_account_warnings: {
|
|
2291
|
+
message: string;
|
|
2292
|
+
created_at: string;
|
|
2293
|
+
warning_code: string;
|
|
2294
|
+
}[];
|
|
2295
|
+
device_errors: {
|
|
2296
|
+
message: string;
|
|
2297
|
+
created_at: string;
|
|
2298
|
+
error_code: string;
|
|
2299
|
+
}[];
|
|
2300
|
+
device_warnings: {
|
|
2301
|
+
message: string;
|
|
2302
|
+
created_at: string;
|
|
2303
|
+
warning_code: string;
|
|
2304
|
+
}[];
|
|
2305
|
+
customer_key?: string | undefined;
|
|
1535
2306
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1536
2307
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1537
2308
|
}>, z.ZodObject<{
|
|
@@ -1542,6 +2313,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1542
2313
|
} & {
|
|
1543
2314
|
device_id: z.ZodString;
|
|
1544
2315
|
connected_account_id: z.ZodString;
|
|
2316
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1545
2317
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1546
2318
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1547
2319
|
} & {
|
|
@@ -1554,6 +2326,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1554
2326
|
event_id: string;
|
|
1555
2327
|
occurred_at: string;
|
|
1556
2328
|
event_type: "device.tampered";
|
|
2329
|
+
customer_key?: string | undefined;
|
|
1557
2330
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1558
2331
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1559
2332
|
}, {
|
|
@@ -1564,6 +2337,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1564
2337
|
event_id: string;
|
|
1565
2338
|
occurred_at: string;
|
|
1566
2339
|
event_type: "device.tampered";
|
|
2340
|
+
customer_key?: string | undefined;
|
|
1567
2341
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1568
2342
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1569
2343
|
}>, z.ZodObject<{
|
|
@@ -1574,6 +2348,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1574
2348
|
} & {
|
|
1575
2349
|
device_id: z.ZodString;
|
|
1576
2350
|
connected_account_id: z.ZodString;
|
|
2351
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1577
2352
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1578
2353
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1579
2354
|
} & {
|
|
@@ -1588,6 +2363,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1588
2363
|
event_id: string;
|
|
1589
2364
|
occurred_at: string;
|
|
1590
2365
|
event_type: "device.low_battery";
|
|
2366
|
+
customer_key?: string | undefined;
|
|
1591
2367
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1592
2368
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1593
2369
|
}, {
|
|
@@ -1599,6 +2375,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1599
2375
|
event_id: string;
|
|
1600
2376
|
occurred_at: string;
|
|
1601
2377
|
event_type: "device.low_battery";
|
|
2378
|
+
customer_key?: string | undefined;
|
|
1602
2379
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1603
2380
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1604
2381
|
}>, z.ZodObject<{
|
|
@@ -1609,6 +2386,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1609
2386
|
} & {
|
|
1610
2387
|
device_id: z.ZodString;
|
|
1611
2388
|
connected_account_id: z.ZodString;
|
|
2389
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1612
2390
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1613
2391
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1614
2392
|
} & {
|
|
@@ -1625,6 +2403,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1625
2403
|
occurred_at: string;
|
|
1626
2404
|
event_type: "device.battery_status_changed";
|
|
1627
2405
|
battery_status: "critical" | "low" | "good" | "full";
|
|
2406
|
+
customer_key?: string | undefined;
|
|
1628
2407
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1629
2408
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1630
2409
|
}, {
|
|
@@ -1637,6 +2416,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1637
2416
|
occurred_at: string;
|
|
1638
2417
|
event_type: "device.battery_status_changed";
|
|
1639
2418
|
battery_status: "critical" | "low" | "good" | "full";
|
|
2419
|
+
customer_key?: string | undefined;
|
|
1640
2420
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1641
2421
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1642
2422
|
}>, z.ZodObject<{
|
|
@@ -1647,6 +2427,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1647
2427
|
} & {
|
|
1648
2428
|
device_id: z.ZodString;
|
|
1649
2429
|
connected_account_id: z.ZodString;
|
|
2430
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1650
2431
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1651
2432
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1652
2433
|
} & {
|
|
@@ -1659,6 +2440,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1659
2440
|
event_id: string;
|
|
1660
2441
|
occurred_at: string;
|
|
1661
2442
|
event_type: "device.removed";
|
|
2443
|
+
customer_key?: string | undefined;
|
|
1662
2444
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1663
2445
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1664
2446
|
}, {
|
|
@@ -1669,6 +2451,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1669
2451
|
event_id: string;
|
|
1670
2452
|
occurred_at: string;
|
|
1671
2453
|
event_type: "device.removed";
|
|
2454
|
+
customer_key?: string | undefined;
|
|
1672
2455
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1673
2456
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1674
2457
|
}>, z.ZodObject<{
|
|
@@ -1679,6 +2462,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1679
2462
|
} & {
|
|
1680
2463
|
device_id: z.ZodString;
|
|
1681
2464
|
connected_account_id: z.ZodString;
|
|
2465
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1682
2466
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1683
2467
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1684
2468
|
} & {
|
|
@@ -1691,6 +2475,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1691
2475
|
event_id: string;
|
|
1692
2476
|
occurred_at: string;
|
|
1693
2477
|
event_type: "device.deleted";
|
|
2478
|
+
customer_key?: string | undefined;
|
|
1694
2479
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1695
2480
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1696
2481
|
}, {
|
|
@@ -1701,6 +2486,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1701
2486
|
event_id: string;
|
|
1702
2487
|
occurred_at: string;
|
|
1703
2488
|
event_type: "device.deleted";
|
|
2489
|
+
customer_key?: string | undefined;
|
|
1704
2490
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1705
2491
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1706
2492
|
}>, z.ZodObject<{
|
|
@@ -1711,6 +2497,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1711
2497
|
} & {
|
|
1712
2498
|
device_id: z.ZodString;
|
|
1713
2499
|
connected_account_id: z.ZodString;
|
|
2500
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1714
2501
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1715
2502
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1716
2503
|
} & {
|
|
@@ -1723,6 +2510,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1723
2510
|
event_id: string;
|
|
1724
2511
|
occurred_at: string;
|
|
1725
2512
|
event_type: "device.third_party_integration_detected";
|
|
2513
|
+
customer_key?: string | undefined;
|
|
1726
2514
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1727
2515
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1728
2516
|
}, {
|
|
@@ -1733,6 +2521,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1733
2521
|
event_id: string;
|
|
1734
2522
|
occurred_at: string;
|
|
1735
2523
|
event_type: "device.third_party_integration_detected";
|
|
2524
|
+
customer_key?: string | undefined;
|
|
1736
2525
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1737
2526
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1738
2527
|
}>, z.ZodObject<{
|
|
@@ -1743,6 +2532,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1743
2532
|
} & {
|
|
1744
2533
|
device_id: z.ZodString;
|
|
1745
2534
|
connected_account_id: z.ZodString;
|
|
2535
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1746
2536
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1747
2537
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1748
2538
|
} & {
|
|
@@ -1755,6 +2545,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1755
2545
|
event_id: string;
|
|
1756
2546
|
occurred_at: string;
|
|
1757
2547
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
2548
|
+
customer_key?: string | undefined;
|
|
1758
2549
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1759
2550
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1760
2551
|
}, {
|
|
@@ -1765,6 +2556,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1765
2556
|
event_id: string;
|
|
1766
2557
|
occurred_at: string;
|
|
1767
2558
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
2559
|
+
customer_key?: string | undefined;
|
|
1768
2560
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1769
2561
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1770
2562
|
}>, z.ZodObject<{
|
|
@@ -1775,6 +2567,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1775
2567
|
} & {
|
|
1776
2568
|
device_id: z.ZodString;
|
|
1777
2569
|
connected_account_id: z.ZodString;
|
|
2570
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1778
2571
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1779
2572
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1780
2573
|
} & {
|
|
@@ -1787,6 +2580,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1787
2580
|
event_id: string;
|
|
1788
2581
|
occurred_at: string;
|
|
1789
2582
|
event_type: "device.salto.privacy_mode_activated";
|
|
2583
|
+
customer_key?: string | undefined;
|
|
1790
2584
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1791
2585
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1792
2586
|
}, {
|
|
@@ -1797,6 +2591,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1797
2591
|
event_id: string;
|
|
1798
2592
|
occurred_at: string;
|
|
1799
2593
|
event_type: "device.salto.privacy_mode_activated";
|
|
2594
|
+
customer_key?: string | undefined;
|
|
1800
2595
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1801
2596
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1802
2597
|
}>, z.ZodObject<{
|
|
@@ -1807,6 +2602,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1807
2602
|
} & {
|
|
1808
2603
|
device_id: z.ZodString;
|
|
1809
2604
|
connected_account_id: z.ZodString;
|
|
2605
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1810
2606
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1811
2607
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1812
2608
|
} & {
|
|
@@ -1819,6 +2615,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1819
2615
|
event_id: string;
|
|
1820
2616
|
occurred_at: string;
|
|
1821
2617
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
2618
|
+
customer_key?: string | undefined;
|
|
1822
2619
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1823
2620
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1824
2621
|
}, {
|
|
@@ -1829,6 +2626,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1829
2626
|
event_id: string;
|
|
1830
2627
|
occurred_at: string;
|
|
1831
2628
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
2629
|
+
customer_key?: string | undefined;
|
|
1832
2630
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1833
2631
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1834
2632
|
}>, z.ZodObject<{
|
|
@@ -1839,10 +2637,64 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1839
2637
|
} & {
|
|
1840
2638
|
device_id: z.ZodString;
|
|
1841
2639
|
connected_account_id: z.ZodString;
|
|
2640
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1842
2641
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1843
2642
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1844
2643
|
} & {
|
|
1845
2644
|
event_type: z.ZodLiteral<"device.connection_became_flaky">;
|
|
2645
|
+
} & {
|
|
2646
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
2647
|
+
created_at: z.ZodString;
|
|
2648
|
+
message: z.ZodString;
|
|
2649
|
+
error_code: z.ZodString;
|
|
2650
|
+
}, "strip", z.ZodTypeAny, {
|
|
2651
|
+
message: string;
|
|
2652
|
+
created_at: string;
|
|
2653
|
+
error_code: string;
|
|
2654
|
+
}, {
|
|
2655
|
+
message: string;
|
|
2656
|
+
created_at: string;
|
|
2657
|
+
error_code: string;
|
|
2658
|
+
}>, "many">;
|
|
2659
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
2660
|
+
created_at: z.ZodString;
|
|
2661
|
+
message: z.ZodString;
|
|
2662
|
+
warning_code: z.ZodString;
|
|
2663
|
+
}, "strip", z.ZodTypeAny, {
|
|
2664
|
+
message: string;
|
|
2665
|
+
created_at: string;
|
|
2666
|
+
warning_code: string;
|
|
2667
|
+
}, {
|
|
2668
|
+
message: string;
|
|
2669
|
+
created_at: string;
|
|
2670
|
+
warning_code: string;
|
|
2671
|
+
}>, "many">;
|
|
2672
|
+
device_errors: z.ZodArray<z.ZodObject<{
|
|
2673
|
+
created_at: z.ZodString;
|
|
2674
|
+
message: z.ZodString;
|
|
2675
|
+
error_code: z.ZodString;
|
|
2676
|
+
}, "strip", z.ZodTypeAny, {
|
|
2677
|
+
message: string;
|
|
2678
|
+
created_at: string;
|
|
2679
|
+
error_code: string;
|
|
2680
|
+
}, {
|
|
2681
|
+
message: string;
|
|
2682
|
+
created_at: string;
|
|
2683
|
+
error_code: string;
|
|
2684
|
+
}>, "many">;
|
|
2685
|
+
device_warnings: z.ZodArray<z.ZodObject<{
|
|
2686
|
+
created_at: z.ZodString;
|
|
2687
|
+
message: z.ZodString;
|
|
2688
|
+
warning_code: z.ZodString;
|
|
2689
|
+
}, "strip", z.ZodTypeAny, {
|
|
2690
|
+
message: string;
|
|
2691
|
+
created_at: string;
|
|
2692
|
+
warning_code: string;
|
|
2693
|
+
}, {
|
|
2694
|
+
message: string;
|
|
2695
|
+
created_at: string;
|
|
2696
|
+
warning_code: string;
|
|
2697
|
+
}>, "many">;
|
|
1846
2698
|
}, "strip", z.ZodTypeAny, {
|
|
1847
2699
|
device_id: string;
|
|
1848
2700
|
workspace_id: string;
|
|
@@ -1851,6 +2703,27 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1851
2703
|
event_id: string;
|
|
1852
2704
|
occurred_at: string;
|
|
1853
2705
|
event_type: "device.connection_became_flaky";
|
|
2706
|
+
connected_account_errors: {
|
|
2707
|
+
message: string;
|
|
2708
|
+
created_at: string;
|
|
2709
|
+
error_code: string;
|
|
2710
|
+
}[];
|
|
2711
|
+
connected_account_warnings: {
|
|
2712
|
+
message: string;
|
|
2713
|
+
created_at: string;
|
|
2714
|
+
warning_code: string;
|
|
2715
|
+
}[];
|
|
2716
|
+
device_errors: {
|
|
2717
|
+
message: string;
|
|
2718
|
+
created_at: string;
|
|
2719
|
+
error_code: string;
|
|
2720
|
+
}[];
|
|
2721
|
+
device_warnings: {
|
|
2722
|
+
message: string;
|
|
2723
|
+
created_at: string;
|
|
2724
|
+
warning_code: string;
|
|
2725
|
+
}[];
|
|
2726
|
+
customer_key?: string | undefined;
|
|
1854
2727
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1855
2728
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1856
2729
|
}, {
|
|
@@ -1861,6 +2734,27 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1861
2734
|
event_id: string;
|
|
1862
2735
|
occurred_at: string;
|
|
1863
2736
|
event_type: "device.connection_became_flaky";
|
|
2737
|
+
connected_account_errors: {
|
|
2738
|
+
message: string;
|
|
2739
|
+
created_at: string;
|
|
2740
|
+
error_code: string;
|
|
2741
|
+
}[];
|
|
2742
|
+
connected_account_warnings: {
|
|
2743
|
+
message: string;
|
|
2744
|
+
created_at: string;
|
|
2745
|
+
warning_code: string;
|
|
2746
|
+
}[];
|
|
2747
|
+
device_errors: {
|
|
2748
|
+
message: string;
|
|
2749
|
+
created_at: string;
|
|
2750
|
+
error_code: string;
|
|
2751
|
+
}[];
|
|
2752
|
+
device_warnings: {
|
|
2753
|
+
message: string;
|
|
2754
|
+
created_at: string;
|
|
2755
|
+
warning_code: string;
|
|
2756
|
+
}[];
|
|
2757
|
+
customer_key?: string | undefined;
|
|
1864
2758
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1865
2759
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1866
2760
|
}>, z.ZodObject<{
|
|
@@ -1871,6 +2765,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1871
2765
|
} & {
|
|
1872
2766
|
device_id: z.ZodString;
|
|
1873
2767
|
connected_account_id: z.ZodString;
|
|
2768
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1874
2769
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1875
2770
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1876
2771
|
} & {
|
|
@@ -1883,6 +2778,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1883
2778
|
event_id: string;
|
|
1884
2779
|
occurred_at: string;
|
|
1885
2780
|
event_type: "device.connection_stabilized";
|
|
2781
|
+
customer_key?: string | undefined;
|
|
1886
2782
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1887
2783
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1888
2784
|
}, {
|
|
@@ -1893,6 +2789,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1893
2789
|
event_id: string;
|
|
1894
2790
|
occurred_at: string;
|
|
1895
2791
|
event_type: "device.connection_stabilized";
|
|
2792
|
+
customer_key?: string | undefined;
|
|
1896
2793
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1897
2794
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1898
2795
|
}>, z.ZodObject<{
|
|
@@ -1903,10 +2800,64 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1903
2800
|
} & {
|
|
1904
2801
|
device_id: z.ZodString;
|
|
1905
2802
|
connected_account_id: z.ZodString;
|
|
2803
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1906
2804
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1907
2805
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1908
2806
|
} & {
|
|
1909
2807
|
event_type: z.ZodLiteral<"device.error.subscription_required">;
|
|
2808
|
+
} & {
|
|
2809
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
2810
|
+
created_at: z.ZodString;
|
|
2811
|
+
message: z.ZodString;
|
|
2812
|
+
error_code: z.ZodString;
|
|
2813
|
+
}, "strip", z.ZodTypeAny, {
|
|
2814
|
+
message: string;
|
|
2815
|
+
created_at: string;
|
|
2816
|
+
error_code: string;
|
|
2817
|
+
}, {
|
|
2818
|
+
message: string;
|
|
2819
|
+
created_at: string;
|
|
2820
|
+
error_code: string;
|
|
2821
|
+
}>, "many">;
|
|
2822
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
2823
|
+
created_at: z.ZodString;
|
|
2824
|
+
message: z.ZodString;
|
|
2825
|
+
warning_code: z.ZodString;
|
|
2826
|
+
}, "strip", z.ZodTypeAny, {
|
|
2827
|
+
message: string;
|
|
2828
|
+
created_at: string;
|
|
2829
|
+
warning_code: string;
|
|
2830
|
+
}, {
|
|
2831
|
+
message: string;
|
|
2832
|
+
created_at: string;
|
|
2833
|
+
warning_code: string;
|
|
2834
|
+
}>, "many">;
|
|
2835
|
+
device_errors: z.ZodArray<z.ZodObject<{
|
|
2836
|
+
created_at: z.ZodString;
|
|
2837
|
+
message: z.ZodString;
|
|
2838
|
+
error_code: z.ZodString;
|
|
2839
|
+
}, "strip", z.ZodTypeAny, {
|
|
2840
|
+
message: string;
|
|
2841
|
+
created_at: string;
|
|
2842
|
+
error_code: string;
|
|
2843
|
+
}, {
|
|
2844
|
+
message: string;
|
|
2845
|
+
created_at: string;
|
|
2846
|
+
error_code: string;
|
|
2847
|
+
}>, "many">;
|
|
2848
|
+
device_warnings: z.ZodArray<z.ZodObject<{
|
|
2849
|
+
created_at: z.ZodString;
|
|
2850
|
+
message: z.ZodString;
|
|
2851
|
+
warning_code: z.ZodString;
|
|
2852
|
+
}, "strip", z.ZodTypeAny, {
|
|
2853
|
+
message: string;
|
|
2854
|
+
created_at: string;
|
|
2855
|
+
warning_code: string;
|
|
2856
|
+
}, {
|
|
2857
|
+
message: string;
|
|
2858
|
+
created_at: string;
|
|
2859
|
+
warning_code: string;
|
|
2860
|
+
}>, "many">;
|
|
1910
2861
|
}, "strip", z.ZodTypeAny, {
|
|
1911
2862
|
device_id: string;
|
|
1912
2863
|
workspace_id: string;
|
|
@@ -1915,6 +2866,27 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1915
2866
|
event_id: string;
|
|
1916
2867
|
occurred_at: string;
|
|
1917
2868
|
event_type: "device.error.subscription_required";
|
|
2869
|
+
connected_account_errors: {
|
|
2870
|
+
message: string;
|
|
2871
|
+
created_at: string;
|
|
2872
|
+
error_code: string;
|
|
2873
|
+
}[];
|
|
2874
|
+
connected_account_warnings: {
|
|
2875
|
+
message: string;
|
|
2876
|
+
created_at: string;
|
|
2877
|
+
warning_code: string;
|
|
2878
|
+
}[];
|
|
2879
|
+
device_errors: {
|
|
2880
|
+
message: string;
|
|
2881
|
+
created_at: string;
|
|
2882
|
+
error_code: string;
|
|
2883
|
+
}[];
|
|
2884
|
+
device_warnings: {
|
|
2885
|
+
message: string;
|
|
2886
|
+
created_at: string;
|
|
2887
|
+
warning_code: string;
|
|
2888
|
+
}[];
|
|
2889
|
+
customer_key?: string | undefined;
|
|
1918
2890
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1919
2891
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1920
2892
|
}, {
|
|
@@ -1925,6 +2897,27 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1925
2897
|
event_id: string;
|
|
1926
2898
|
occurred_at: string;
|
|
1927
2899
|
event_type: "device.error.subscription_required";
|
|
2900
|
+
connected_account_errors: {
|
|
2901
|
+
message: string;
|
|
2902
|
+
created_at: string;
|
|
2903
|
+
error_code: string;
|
|
2904
|
+
}[];
|
|
2905
|
+
connected_account_warnings: {
|
|
2906
|
+
message: string;
|
|
2907
|
+
created_at: string;
|
|
2908
|
+
warning_code: string;
|
|
2909
|
+
}[];
|
|
2910
|
+
device_errors: {
|
|
2911
|
+
message: string;
|
|
2912
|
+
created_at: string;
|
|
2913
|
+
error_code: string;
|
|
2914
|
+
}[];
|
|
2915
|
+
device_warnings: {
|
|
2916
|
+
message: string;
|
|
2917
|
+
created_at: string;
|
|
2918
|
+
warning_code: string;
|
|
2919
|
+
}[];
|
|
2920
|
+
customer_key?: string | undefined;
|
|
1928
2921
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1929
2922
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1930
2923
|
}>, z.ZodObject<{
|
|
@@ -1935,6 +2928,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1935
2928
|
} & {
|
|
1936
2929
|
device_id: z.ZodString;
|
|
1937
2930
|
connected_account_id: z.ZodString;
|
|
2931
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1938
2932
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1939
2933
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1940
2934
|
} & {
|
|
@@ -1947,6 +2941,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1947
2941
|
event_id: string;
|
|
1948
2942
|
occurred_at: string;
|
|
1949
2943
|
event_type: "device.error.subscription_required.resolved";
|
|
2944
|
+
customer_key?: string | undefined;
|
|
1950
2945
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1951
2946
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1952
2947
|
}, {
|
|
@@ -1957,6 +2952,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1957
2952
|
event_id: string;
|
|
1958
2953
|
occurred_at: string;
|
|
1959
2954
|
event_type: "device.error.subscription_required.resolved";
|
|
2955
|
+
customer_key?: string | undefined;
|
|
1960
2956
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1961
2957
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1962
2958
|
}>, z.ZodObject<{
|
|
@@ -1967,6 +2963,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1967
2963
|
} & {
|
|
1968
2964
|
device_id: z.ZodString;
|
|
1969
2965
|
connected_account_id: z.ZodString;
|
|
2966
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1970
2967
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1971
2968
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1972
2969
|
} & {
|
|
@@ -1979,6 +2976,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1979
2976
|
event_id: string;
|
|
1980
2977
|
occurred_at: string;
|
|
1981
2978
|
event_type: "device.accessory_keypad_connected";
|
|
2979
|
+
customer_key?: string | undefined;
|
|
1982
2980
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1983
2981
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1984
2982
|
}, {
|
|
@@ -1989,6 +2987,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1989
2987
|
event_id: string;
|
|
1990
2988
|
occurred_at: string;
|
|
1991
2989
|
event_type: "device.accessory_keypad_connected";
|
|
2990
|
+
customer_key?: string | undefined;
|
|
1992
2991
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1993
2992
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1994
2993
|
}>, z.ZodObject<{
|
|
@@ -1999,10 +2998,64 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
1999
2998
|
} & {
|
|
2000
2999
|
device_id: z.ZodString;
|
|
2001
3000
|
connected_account_id: z.ZodString;
|
|
3001
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2002
3002
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2003
3003
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2004
3004
|
} & {
|
|
2005
3005
|
event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
|
|
3006
|
+
} & {
|
|
3007
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
3008
|
+
created_at: z.ZodString;
|
|
3009
|
+
message: z.ZodString;
|
|
3010
|
+
error_code: z.ZodString;
|
|
3011
|
+
}, "strip", z.ZodTypeAny, {
|
|
3012
|
+
message: string;
|
|
3013
|
+
created_at: string;
|
|
3014
|
+
error_code: string;
|
|
3015
|
+
}, {
|
|
3016
|
+
message: string;
|
|
3017
|
+
created_at: string;
|
|
3018
|
+
error_code: string;
|
|
3019
|
+
}>, "many">;
|
|
3020
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
3021
|
+
created_at: z.ZodString;
|
|
3022
|
+
message: z.ZodString;
|
|
3023
|
+
warning_code: z.ZodString;
|
|
3024
|
+
}, "strip", z.ZodTypeAny, {
|
|
3025
|
+
message: string;
|
|
3026
|
+
created_at: string;
|
|
3027
|
+
warning_code: string;
|
|
3028
|
+
}, {
|
|
3029
|
+
message: string;
|
|
3030
|
+
created_at: string;
|
|
3031
|
+
warning_code: string;
|
|
3032
|
+
}>, "many">;
|
|
3033
|
+
device_errors: z.ZodArray<z.ZodObject<{
|
|
3034
|
+
created_at: z.ZodString;
|
|
3035
|
+
message: z.ZodString;
|
|
3036
|
+
error_code: z.ZodString;
|
|
3037
|
+
}, "strip", z.ZodTypeAny, {
|
|
3038
|
+
message: string;
|
|
3039
|
+
created_at: string;
|
|
3040
|
+
error_code: string;
|
|
3041
|
+
}, {
|
|
3042
|
+
message: string;
|
|
3043
|
+
created_at: string;
|
|
3044
|
+
error_code: string;
|
|
3045
|
+
}>, "many">;
|
|
3046
|
+
device_warnings: z.ZodArray<z.ZodObject<{
|
|
3047
|
+
created_at: z.ZodString;
|
|
3048
|
+
message: z.ZodString;
|
|
3049
|
+
warning_code: z.ZodString;
|
|
3050
|
+
}, "strip", z.ZodTypeAny, {
|
|
3051
|
+
message: string;
|
|
3052
|
+
created_at: string;
|
|
3053
|
+
warning_code: string;
|
|
3054
|
+
}, {
|
|
3055
|
+
message: string;
|
|
3056
|
+
created_at: string;
|
|
3057
|
+
warning_code: string;
|
|
3058
|
+
}>, "many">;
|
|
2006
3059
|
}, "strip", z.ZodTypeAny, {
|
|
2007
3060
|
device_id: string;
|
|
2008
3061
|
workspace_id: string;
|
|
@@ -2011,6 +3064,27 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2011
3064
|
event_id: string;
|
|
2012
3065
|
occurred_at: string;
|
|
2013
3066
|
event_type: "device.accessory_keypad_disconnected";
|
|
3067
|
+
connected_account_errors: {
|
|
3068
|
+
message: string;
|
|
3069
|
+
created_at: string;
|
|
3070
|
+
error_code: string;
|
|
3071
|
+
}[];
|
|
3072
|
+
connected_account_warnings: {
|
|
3073
|
+
message: string;
|
|
3074
|
+
created_at: string;
|
|
3075
|
+
warning_code: string;
|
|
3076
|
+
}[];
|
|
3077
|
+
device_errors: {
|
|
3078
|
+
message: string;
|
|
3079
|
+
created_at: string;
|
|
3080
|
+
error_code: string;
|
|
3081
|
+
}[];
|
|
3082
|
+
device_warnings: {
|
|
3083
|
+
message: string;
|
|
3084
|
+
created_at: string;
|
|
3085
|
+
warning_code: string;
|
|
3086
|
+
}[];
|
|
3087
|
+
customer_key?: string | undefined;
|
|
2014
3088
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2015
3089
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2016
3090
|
}, {
|
|
@@ -2021,6 +3095,27 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2021
3095
|
event_id: string;
|
|
2022
3096
|
occurred_at: string;
|
|
2023
3097
|
event_type: "device.accessory_keypad_disconnected";
|
|
3098
|
+
connected_account_errors: {
|
|
3099
|
+
message: string;
|
|
3100
|
+
created_at: string;
|
|
3101
|
+
error_code: string;
|
|
3102
|
+
}[];
|
|
3103
|
+
connected_account_warnings: {
|
|
3104
|
+
message: string;
|
|
3105
|
+
created_at: string;
|
|
3106
|
+
warning_code: string;
|
|
3107
|
+
}[];
|
|
3108
|
+
device_errors: {
|
|
3109
|
+
message: string;
|
|
3110
|
+
created_at: string;
|
|
3111
|
+
error_code: string;
|
|
3112
|
+
}[];
|
|
3113
|
+
device_warnings: {
|
|
3114
|
+
message: string;
|
|
3115
|
+
created_at: string;
|
|
3116
|
+
warning_code: string;
|
|
3117
|
+
}[];
|
|
3118
|
+
customer_key?: string | undefined;
|
|
2024
3119
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2025
3120
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2026
3121
|
}>, z.ZodObject<{
|
|
@@ -2031,6 +3126,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2031
3126
|
} & {
|
|
2032
3127
|
device_id: z.ZodString;
|
|
2033
3128
|
connected_account_id: z.ZodString;
|
|
3129
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2034
3130
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2035
3131
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2036
3132
|
} & {
|
|
@@ -2049,6 +3145,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2049
3145
|
event_id: string;
|
|
2050
3146
|
occurred_at: string;
|
|
2051
3147
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
3148
|
+
customer_key?: string | undefined;
|
|
2052
3149
|
noise_level_nrs?: number | undefined;
|
|
2053
3150
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
2054
3151
|
minut_metadata?: Record<string, unknown> | undefined;
|
|
@@ -2065,6 +3162,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2065
3162
|
event_id: string;
|
|
2066
3163
|
occurred_at: string;
|
|
2067
3164
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
3165
|
+
customer_key?: string | undefined;
|
|
2068
3166
|
noise_level_nrs?: number | undefined;
|
|
2069
3167
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
2070
3168
|
minut_metadata?: Record<string, unknown> | undefined;
|
|
@@ -2081,6 +3179,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2081
3179
|
} & {
|
|
2082
3180
|
device_id: z.ZodString;
|
|
2083
3181
|
connected_account_id: z.ZodString;
|
|
3182
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2084
3183
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2085
3184
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2086
3185
|
} & {
|
|
@@ -2098,6 +3197,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2098
3197
|
occurred_at: string;
|
|
2099
3198
|
event_type: "lock.locked";
|
|
2100
3199
|
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
3200
|
+
customer_key?: string | undefined;
|
|
2101
3201
|
access_code_id?: string | undefined;
|
|
2102
3202
|
action_attempt_id?: string | undefined;
|
|
2103
3203
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -2112,6 +3212,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2112
3212
|
occurred_at: string;
|
|
2113
3213
|
event_type: "lock.locked";
|
|
2114
3214
|
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
3215
|
+
customer_key?: string | undefined;
|
|
2115
3216
|
access_code_id?: string | undefined;
|
|
2116
3217
|
action_attempt_id?: string | undefined;
|
|
2117
3218
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -2123,6 +3224,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2123
3224
|
created_at: z.ZodString;
|
|
2124
3225
|
occurred_at: z.ZodString;
|
|
2125
3226
|
connected_account_id: z.ZodString;
|
|
3227
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2126
3228
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2127
3229
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2128
3230
|
} & {
|
|
@@ -2145,6 +3247,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2145
3247
|
event_type: "lock.unlocked";
|
|
2146
3248
|
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
2147
3249
|
device_id?: string | undefined;
|
|
3250
|
+
customer_key?: string | undefined;
|
|
2148
3251
|
access_code_id?: string | undefined;
|
|
2149
3252
|
user_identity_id?: string | undefined;
|
|
2150
3253
|
acs_system_id?: string | undefined;
|
|
@@ -2163,6 +3266,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2163
3266
|
event_type: "lock.unlocked";
|
|
2164
3267
|
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
2165
3268
|
device_id?: string | undefined;
|
|
3269
|
+
customer_key?: string | undefined;
|
|
2166
3270
|
access_code_id?: string | undefined;
|
|
2167
3271
|
user_identity_id?: string | undefined;
|
|
2168
3272
|
acs_system_id?: string | undefined;
|
|
@@ -2180,6 +3284,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2180
3284
|
} & {
|
|
2181
3285
|
device_id: z.ZodString;
|
|
2182
3286
|
connected_account_id: z.ZodString;
|
|
3287
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2183
3288
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2184
3289
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2185
3290
|
} & {
|
|
@@ -2193,6 +3298,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2193
3298
|
event_id: string;
|
|
2194
3299
|
occurred_at: string;
|
|
2195
3300
|
event_type: "lock.access_denied";
|
|
3301
|
+
customer_key?: string | undefined;
|
|
2196
3302
|
access_code_id?: string | undefined;
|
|
2197
3303
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2198
3304
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -2204,6 +3310,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2204
3310
|
event_id: string;
|
|
2205
3311
|
occurred_at: string;
|
|
2206
3312
|
event_type: "lock.access_denied";
|
|
3313
|
+
customer_key?: string | undefined;
|
|
2207
3314
|
access_code_id?: string | undefined;
|
|
2208
3315
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2209
3316
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -2215,6 +3322,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2215
3322
|
} & {
|
|
2216
3323
|
device_id: z.ZodString;
|
|
2217
3324
|
connected_account_id: z.ZodString;
|
|
3325
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2218
3326
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2219
3327
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2220
3328
|
} & {
|
|
@@ -2233,6 +3341,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2233
3341
|
occurred_at: string;
|
|
2234
3342
|
event_type: "thermostat.climate_preset_activated";
|
|
2235
3343
|
is_fallback_climate_preset: boolean;
|
|
3344
|
+
customer_key?: string | undefined;
|
|
2236
3345
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2237
3346
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2238
3347
|
}, {
|
|
@@ -2246,6 +3355,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2246
3355
|
occurred_at: string;
|
|
2247
3356
|
event_type: "thermostat.climate_preset_activated";
|
|
2248
3357
|
is_fallback_climate_preset: boolean;
|
|
3358
|
+
customer_key?: string | undefined;
|
|
2249
3359
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2250
3360
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2251
3361
|
}>, z.ZodObject<{
|
|
@@ -2256,6 +3366,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2256
3366
|
} & {
|
|
2257
3367
|
device_id: z.ZodString;
|
|
2258
3368
|
connected_account_id: z.ZodString;
|
|
3369
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2259
3370
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2260
3371
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2261
3372
|
} & {
|
|
@@ -2304,6 +3415,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2304
3415
|
heating_set_point_celsius?: number | undefined;
|
|
2305
3416
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
2306
3417
|
heating_set_point_fahrenheit?: number | undefined;
|
|
3418
|
+
customer_key?: string | undefined;
|
|
2307
3419
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2308
3420
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2309
3421
|
}, {
|
|
@@ -2321,6 +3433,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2321
3433
|
heating_set_point_celsius?: number | undefined;
|
|
2322
3434
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
2323
3435
|
heating_set_point_fahrenheit?: number | undefined;
|
|
3436
|
+
customer_key?: string | undefined;
|
|
2324
3437
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2325
3438
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2326
3439
|
}>, z.ZodObject<{
|
|
@@ -2331,6 +3444,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2331
3444
|
} & {
|
|
2332
3445
|
device_id: z.ZodString;
|
|
2333
3446
|
connected_account_id: z.ZodString;
|
|
3447
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2334
3448
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2335
3449
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2336
3450
|
} & {
|
|
@@ -2355,6 +3469,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2355
3469
|
event_id: string;
|
|
2356
3470
|
occurred_at: string;
|
|
2357
3471
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
3472
|
+
customer_key?: string | undefined;
|
|
2358
3473
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2359
3474
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2360
3475
|
}, {
|
|
@@ -2371,6 +3486,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2371
3486
|
event_id: string;
|
|
2372
3487
|
occurred_at: string;
|
|
2373
3488
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
3489
|
+
customer_key?: string | undefined;
|
|
2374
3490
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2375
3491
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2376
3492
|
}>, z.ZodObject<{
|
|
@@ -2381,6 +3497,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2381
3497
|
} & {
|
|
2382
3498
|
device_id: z.ZodString;
|
|
2383
3499
|
connected_account_id: z.ZodString;
|
|
3500
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2384
3501
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2385
3502
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2386
3503
|
} & {
|
|
@@ -2405,6 +3522,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2405
3522
|
event_id: string;
|
|
2406
3523
|
occurred_at: string;
|
|
2407
3524
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
3525
|
+
customer_key?: string | undefined;
|
|
2408
3526
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2409
3527
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2410
3528
|
}, {
|
|
@@ -2421,6 +3539,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2421
3539
|
event_id: string;
|
|
2422
3540
|
occurred_at: string;
|
|
2423
3541
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
3542
|
+
customer_key?: string | undefined;
|
|
2424
3543
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2425
3544
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2426
3545
|
}>, z.ZodObject<{
|
|
@@ -2431,6 +3550,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2431
3550
|
} & {
|
|
2432
3551
|
device_id: z.ZodString;
|
|
2433
3552
|
connected_account_id: z.ZodString;
|
|
3553
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2434
3554
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2435
3555
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2436
3556
|
} & {
|
|
@@ -2449,6 +3569,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2449
3569
|
event_id: string;
|
|
2450
3570
|
occurred_at: string;
|
|
2451
3571
|
event_type: "thermostat.temperature_reached_set_point";
|
|
3572
|
+
customer_key?: string | undefined;
|
|
2452
3573
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2453
3574
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2454
3575
|
desired_temperature_celsius?: number | undefined;
|
|
@@ -2463,6 +3584,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2463
3584
|
event_id: string;
|
|
2464
3585
|
occurred_at: string;
|
|
2465
3586
|
event_type: "thermostat.temperature_reached_set_point";
|
|
3587
|
+
customer_key?: string | undefined;
|
|
2466
3588
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2467
3589
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2468
3590
|
desired_temperature_celsius?: number | undefined;
|
|
@@ -2475,6 +3597,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2475
3597
|
} & {
|
|
2476
3598
|
device_id: z.ZodString;
|
|
2477
3599
|
connected_account_id: z.ZodString;
|
|
3600
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2478
3601
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2479
3602
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2480
3603
|
} & {
|
|
@@ -2491,6 +3614,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2491
3614
|
event_id: string;
|
|
2492
3615
|
occurred_at: string;
|
|
2493
3616
|
event_type: "thermostat.temperature_changed";
|
|
3617
|
+
customer_key?: string | undefined;
|
|
2494
3618
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2495
3619
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2496
3620
|
}, {
|
|
@@ -2503,6 +3627,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2503
3627
|
event_id: string;
|
|
2504
3628
|
occurred_at: string;
|
|
2505
3629
|
event_type: "thermostat.temperature_changed";
|
|
3630
|
+
customer_key?: string | undefined;
|
|
2506
3631
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2507
3632
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2508
3633
|
}>, z.ZodObject<{
|
|
@@ -2513,6 +3638,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2513
3638
|
} & {
|
|
2514
3639
|
device_id: z.ZodString;
|
|
2515
3640
|
connected_account_id: z.ZodString;
|
|
3641
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2516
3642
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2517
3643
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2518
3644
|
} & {
|
|
@@ -2527,6 +3653,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2527
3653
|
event_id: string;
|
|
2528
3654
|
occurred_at: string;
|
|
2529
3655
|
event_type: "device.name_changed";
|
|
3656
|
+
customer_key?: string | undefined;
|
|
2530
3657
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2531
3658
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2532
3659
|
}, {
|
|
@@ -2538,6 +3665,7 @@ export declare const device_events: readonly [z.ZodObject<{
|
|
|
2538
3665
|
event_id: string;
|
|
2539
3666
|
occurred_at: string;
|
|
2540
3667
|
event_type: "device.name_changed";
|
|
3668
|
+
customer_key?: string | undefined;
|
|
2541
3669
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2542
3670
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2543
3671
|
}>];
|