@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
|
@@ -193,6 +193,85 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
193
193
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
194
194
|
} & {
|
|
195
195
|
event_type: z.ZodLiteral<"access_code.delay_in_setting_on_device">;
|
|
196
|
+
} & {
|
|
197
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
198
|
+
created_at: z.ZodString;
|
|
199
|
+
message: z.ZodString;
|
|
200
|
+
error_code: z.ZodString;
|
|
201
|
+
}, "strip", z.ZodTypeAny, {
|
|
202
|
+
message: string;
|
|
203
|
+
created_at: string;
|
|
204
|
+
error_code: string;
|
|
205
|
+
}, {
|
|
206
|
+
message: string;
|
|
207
|
+
created_at: string;
|
|
208
|
+
error_code: string;
|
|
209
|
+
}>, "many">;
|
|
210
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
211
|
+
created_at: z.ZodString;
|
|
212
|
+
message: z.ZodString;
|
|
213
|
+
warning_code: z.ZodString;
|
|
214
|
+
}, "strip", z.ZodTypeAny, {
|
|
215
|
+
message: string;
|
|
216
|
+
created_at: string;
|
|
217
|
+
warning_code: string;
|
|
218
|
+
}, {
|
|
219
|
+
message: string;
|
|
220
|
+
created_at: string;
|
|
221
|
+
warning_code: string;
|
|
222
|
+
}>, "many">;
|
|
223
|
+
device_errors: z.ZodArray<z.ZodObject<{
|
|
224
|
+
created_at: z.ZodString;
|
|
225
|
+
message: z.ZodString;
|
|
226
|
+
error_code: z.ZodString;
|
|
227
|
+
}, "strip", z.ZodTypeAny, {
|
|
228
|
+
message: string;
|
|
229
|
+
created_at: string;
|
|
230
|
+
error_code: string;
|
|
231
|
+
}, {
|
|
232
|
+
message: string;
|
|
233
|
+
created_at: string;
|
|
234
|
+
error_code: string;
|
|
235
|
+
}>, "many">;
|
|
236
|
+
device_warnings: z.ZodArray<z.ZodObject<{
|
|
237
|
+
created_at: z.ZodString;
|
|
238
|
+
message: z.ZodString;
|
|
239
|
+
warning_code: z.ZodString;
|
|
240
|
+
}, "strip", z.ZodTypeAny, {
|
|
241
|
+
message: string;
|
|
242
|
+
created_at: string;
|
|
243
|
+
warning_code: string;
|
|
244
|
+
}, {
|
|
245
|
+
message: string;
|
|
246
|
+
created_at: string;
|
|
247
|
+
warning_code: string;
|
|
248
|
+
}>, "many">;
|
|
249
|
+
access_code_errors: z.ZodArray<z.ZodObject<{
|
|
250
|
+
created_at: z.ZodString;
|
|
251
|
+
message: z.ZodString;
|
|
252
|
+
error_code: z.ZodString;
|
|
253
|
+
}, "strip", z.ZodTypeAny, {
|
|
254
|
+
message: string;
|
|
255
|
+
created_at: string;
|
|
256
|
+
error_code: string;
|
|
257
|
+
}, {
|
|
258
|
+
message: string;
|
|
259
|
+
created_at: string;
|
|
260
|
+
error_code: string;
|
|
261
|
+
}>, "many">;
|
|
262
|
+
access_code_warnings: z.ZodArray<z.ZodObject<{
|
|
263
|
+
created_at: z.ZodString;
|
|
264
|
+
message: z.ZodString;
|
|
265
|
+
warning_code: z.ZodString;
|
|
266
|
+
}, "strip", z.ZodTypeAny, {
|
|
267
|
+
message: string;
|
|
268
|
+
created_at: string;
|
|
269
|
+
warning_code: string;
|
|
270
|
+
}, {
|
|
271
|
+
message: string;
|
|
272
|
+
created_at: string;
|
|
273
|
+
warning_code: string;
|
|
274
|
+
}>, "many">;
|
|
196
275
|
}, "strip", z.ZodTypeAny, {
|
|
197
276
|
device_id: string;
|
|
198
277
|
workspace_id: string;
|
|
@@ -202,6 +281,36 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
202
281
|
event_id: string;
|
|
203
282
|
occurred_at: string;
|
|
204
283
|
event_type: "access_code.delay_in_setting_on_device";
|
|
284
|
+
connected_account_errors: {
|
|
285
|
+
message: string;
|
|
286
|
+
created_at: string;
|
|
287
|
+
error_code: string;
|
|
288
|
+
}[];
|
|
289
|
+
connected_account_warnings: {
|
|
290
|
+
message: string;
|
|
291
|
+
created_at: string;
|
|
292
|
+
warning_code: string;
|
|
293
|
+
}[];
|
|
294
|
+
device_errors: {
|
|
295
|
+
message: string;
|
|
296
|
+
created_at: string;
|
|
297
|
+
error_code: string;
|
|
298
|
+
}[];
|
|
299
|
+
device_warnings: {
|
|
300
|
+
message: string;
|
|
301
|
+
created_at: string;
|
|
302
|
+
warning_code: string;
|
|
303
|
+
}[];
|
|
304
|
+
access_code_errors: {
|
|
305
|
+
message: string;
|
|
306
|
+
created_at: string;
|
|
307
|
+
error_code: string;
|
|
308
|
+
}[];
|
|
309
|
+
access_code_warnings: {
|
|
310
|
+
message: string;
|
|
311
|
+
created_at: string;
|
|
312
|
+
warning_code: string;
|
|
313
|
+
}[];
|
|
205
314
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
206
315
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
207
316
|
}, {
|
|
@@ -213,6 +322,36 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
213
322
|
event_id: string;
|
|
214
323
|
occurred_at: string;
|
|
215
324
|
event_type: "access_code.delay_in_setting_on_device";
|
|
325
|
+
connected_account_errors: {
|
|
326
|
+
message: string;
|
|
327
|
+
created_at: string;
|
|
328
|
+
error_code: string;
|
|
329
|
+
}[];
|
|
330
|
+
connected_account_warnings: {
|
|
331
|
+
message: string;
|
|
332
|
+
created_at: string;
|
|
333
|
+
warning_code: string;
|
|
334
|
+
}[];
|
|
335
|
+
device_errors: {
|
|
336
|
+
message: string;
|
|
337
|
+
created_at: string;
|
|
338
|
+
error_code: string;
|
|
339
|
+
}[];
|
|
340
|
+
device_warnings: {
|
|
341
|
+
message: string;
|
|
342
|
+
created_at: string;
|
|
343
|
+
warning_code: string;
|
|
344
|
+
}[];
|
|
345
|
+
access_code_errors: {
|
|
346
|
+
message: string;
|
|
347
|
+
created_at: string;
|
|
348
|
+
error_code: string;
|
|
349
|
+
}[];
|
|
350
|
+
access_code_warnings: {
|
|
351
|
+
message: string;
|
|
352
|
+
created_at: string;
|
|
353
|
+
warning_code: string;
|
|
354
|
+
}[];
|
|
216
355
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
217
356
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
218
357
|
}>, z.ZodObject<{
|
|
@@ -228,6 +367,85 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
228
367
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
229
368
|
} & {
|
|
230
369
|
event_type: z.ZodLiteral<"access_code.failed_to_set_on_device">;
|
|
370
|
+
} & {
|
|
371
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
372
|
+
created_at: z.ZodString;
|
|
373
|
+
message: z.ZodString;
|
|
374
|
+
error_code: z.ZodString;
|
|
375
|
+
}, "strip", z.ZodTypeAny, {
|
|
376
|
+
message: string;
|
|
377
|
+
created_at: string;
|
|
378
|
+
error_code: string;
|
|
379
|
+
}, {
|
|
380
|
+
message: string;
|
|
381
|
+
created_at: string;
|
|
382
|
+
error_code: string;
|
|
383
|
+
}>, "many">;
|
|
384
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
385
|
+
created_at: z.ZodString;
|
|
386
|
+
message: z.ZodString;
|
|
387
|
+
warning_code: z.ZodString;
|
|
388
|
+
}, "strip", z.ZodTypeAny, {
|
|
389
|
+
message: string;
|
|
390
|
+
created_at: string;
|
|
391
|
+
warning_code: string;
|
|
392
|
+
}, {
|
|
393
|
+
message: string;
|
|
394
|
+
created_at: string;
|
|
395
|
+
warning_code: string;
|
|
396
|
+
}>, "many">;
|
|
397
|
+
device_errors: z.ZodArray<z.ZodObject<{
|
|
398
|
+
created_at: z.ZodString;
|
|
399
|
+
message: z.ZodString;
|
|
400
|
+
error_code: z.ZodString;
|
|
401
|
+
}, "strip", z.ZodTypeAny, {
|
|
402
|
+
message: string;
|
|
403
|
+
created_at: string;
|
|
404
|
+
error_code: string;
|
|
405
|
+
}, {
|
|
406
|
+
message: string;
|
|
407
|
+
created_at: string;
|
|
408
|
+
error_code: string;
|
|
409
|
+
}>, "many">;
|
|
410
|
+
device_warnings: z.ZodArray<z.ZodObject<{
|
|
411
|
+
created_at: z.ZodString;
|
|
412
|
+
message: z.ZodString;
|
|
413
|
+
warning_code: z.ZodString;
|
|
414
|
+
}, "strip", z.ZodTypeAny, {
|
|
415
|
+
message: string;
|
|
416
|
+
created_at: string;
|
|
417
|
+
warning_code: string;
|
|
418
|
+
}, {
|
|
419
|
+
message: string;
|
|
420
|
+
created_at: string;
|
|
421
|
+
warning_code: string;
|
|
422
|
+
}>, "many">;
|
|
423
|
+
access_code_errors: z.ZodArray<z.ZodObject<{
|
|
424
|
+
created_at: z.ZodString;
|
|
425
|
+
message: z.ZodString;
|
|
426
|
+
error_code: z.ZodString;
|
|
427
|
+
}, "strip", z.ZodTypeAny, {
|
|
428
|
+
message: string;
|
|
429
|
+
created_at: string;
|
|
430
|
+
error_code: string;
|
|
431
|
+
}, {
|
|
432
|
+
message: string;
|
|
433
|
+
created_at: string;
|
|
434
|
+
error_code: string;
|
|
435
|
+
}>, "many">;
|
|
436
|
+
access_code_warnings: z.ZodArray<z.ZodObject<{
|
|
437
|
+
created_at: z.ZodString;
|
|
438
|
+
message: z.ZodString;
|
|
439
|
+
warning_code: z.ZodString;
|
|
440
|
+
}, "strip", z.ZodTypeAny, {
|
|
441
|
+
message: string;
|
|
442
|
+
created_at: string;
|
|
443
|
+
warning_code: string;
|
|
444
|
+
}, {
|
|
445
|
+
message: string;
|
|
446
|
+
created_at: string;
|
|
447
|
+
warning_code: string;
|
|
448
|
+
}>, "many">;
|
|
231
449
|
}, "strip", z.ZodTypeAny, {
|
|
232
450
|
device_id: string;
|
|
233
451
|
workspace_id: string;
|
|
@@ -237,6 +455,36 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
237
455
|
event_id: string;
|
|
238
456
|
occurred_at: string;
|
|
239
457
|
event_type: "access_code.failed_to_set_on_device";
|
|
458
|
+
connected_account_errors: {
|
|
459
|
+
message: string;
|
|
460
|
+
created_at: string;
|
|
461
|
+
error_code: string;
|
|
462
|
+
}[];
|
|
463
|
+
connected_account_warnings: {
|
|
464
|
+
message: string;
|
|
465
|
+
created_at: string;
|
|
466
|
+
warning_code: string;
|
|
467
|
+
}[];
|
|
468
|
+
device_errors: {
|
|
469
|
+
message: string;
|
|
470
|
+
created_at: string;
|
|
471
|
+
error_code: string;
|
|
472
|
+
}[];
|
|
473
|
+
device_warnings: {
|
|
474
|
+
message: string;
|
|
475
|
+
created_at: string;
|
|
476
|
+
warning_code: string;
|
|
477
|
+
}[];
|
|
478
|
+
access_code_errors: {
|
|
479
|
+
message: string;
|
|
480
|
+
created_at: string;
|
|
481
|
+
error_code: string;
|
|
482
|
+
}[];
|
|
483
|
+
access_code_warnings: {
|
|
484
|
+
message: string;
|
|
485
|
+
created_at: string;
|
|
486
|
+
warning_code: string;
|
|
487
|
+
}[];
|
|
240
488
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
241
489
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
242
490
|
}, {
|
|
@@ -248,6 +496,36 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
248
496
|
event_id: string;
|
|
249
497
|
occurred_at: string;
|
|
250
498
|
event_type: "access_code.failed_to_set_on_device";
|
|
499
|
+
connected_account_errors: {
|
|
500
|
+
message: string;
|
|
501
|
+
created_at: string;
|
|
502
|
+
error_code: string;
|
|
503
|
+
}[];
|
|
504
|
+
connected_account_warnings: {
|
|
505
|
+
message: string;
|
|
506
|
+
created_at: string;
|
|
507
|
+
warning_code: string;
|
|
508
|
+
}[];
|
|
509
|
+
device_errors: {
|
|
510
|
+
message: string;
|
|
511
|
+
created_at: string;
|
|
512
|
+
error_code: string;
|
|
513
|
+
}[];
|
|
514
|
+
device_warnings: {
|
|
515
|
+
message: string;
|
|
516
|
+
created_at: string;
|
|
517
|
+
warning_code: string;
|
|
518
|
+
}[];
|
|
519
|
+
access_code_errors: {
|
|
520
|
+
message: string;
|
|
521
|
+
created_at: string;
|
|
522
|
+
error_code: string;
|
|
523
|
+
}[];
|
|
524
|
+
access_code_warnings: {
|
|
525
|
+
message: string;
|
|
526
|
+
created_at: string;
|
|
527
|
+
warning_code: string;
|
|
528
|
+
}[];
|
|
251
529
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
252
530
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
253
531
|
}>, z.ZodObject<{
|
|
@@ -301,6 +579,85 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
301
579
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
302
580
|
} & {
|
|
303
581
|
event_type: z.ZodLiteral<"access_code.delay_in_removing_from_device">;
|
|
582
|
+
} & {
|
|
583
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
584
|
+
created_at: z.ZodString;
|
|
585
|
+
message: z.ZodString;
|
|
586
|
+
error_code: z.ZodString;
|
|
587
|
+
}, "strip", z.ZodTypeAny, {
|
|
588
|
+
message: string;
|
|
589
|
+
created_at: string;
|
|
590
|
+
error_code: string;
|
|
591
|
+
}, {
|
|
592
|
+
message: string;
|
|
593
|
+
created_at: string;
|
|
594
|
+
error_code: string;
|
|
595
|
+
}>, "many">;
|
|
596
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
597
|
+
created_at: z.ZodString;
|
|
598
|
+
message: z.ZodString;
|
|
599
|
+
warning_code: z.ZodString;
|
|
600
|
+
}, "strip", z.ZodTypeAny, {
|
|
601
|
+
message: string;
|
|
602
|
+
created_at: string;
|
|
603
|
+
warning_code: string;
|
|
604
|
+
}, {
|
|
605
|
+
message: string;
|
|
606
|
+
created_at: string;
|
|
607
|
+
warning_code: string;
|
|
608
|
+
}>, "many">;
|
|
609
|
+
device_errors: z.ZodArray<z.ZodObject<{
|
|
610
|
+
created_at: z.ZodString;
|
|
611
|
+
message: z.ZodString;
|
|
612
|
+
error_code: z.ZodString;
|
|
613
|
+
}, "strip", z.ZodTypeAny, {
|
|
614
|
+
message: string;
|
|
615
|
+
created_at: string;
|
|
616
|
+
error_code: string;
|
|
617
|
+
}, {
|
|
618
|
+
message: string;
|
|
619
|
+
created_at: string;
|
|
620
|
+
error_code: string;
|
|
621
|
+
}>, "many">;
|
|
622
|
+
device_warnings: z.ZodArray<z.ZodObject<{
|
|
623
|
+
created_at: z.ZodString;
|
|
624
|
+
message: z.ZodString;
|
|
625
|
+
warning_code: z.ZodString;
|
|
626
|
+
}, "strip", z.ZodTypeAny, {
|
|
627
|
+
message: string;
|
|
628
|
+
created_at: string;
|
|
629
|
+
warning_code: string;
|
|
630
|
+
}, {
|
|
631
|
+
message: string;
|
|
632
|
+
created_at: string;
|
|
633
|
+
warning_code: string;
|
|
634
|
+
}>, "many">;
|
|
635
|
+
access_code_errors: z.ZodArray<z.ZodObject<{
|
|
636
|
+
created_at: z.ZodString;
|
|
637
|
+
message: z.ZodString;
|
|
638
|
+
error_code: z.ZodString;
|
|
639
|
+
}, "strip", z.ZodTypeAny, {
|
|
640
|
+
message: string;
|
|
641
|
+
created_at: string;
|
|
642
|
+
error_code: string;
|
|
643
|
+
}, {
|
|
644
|
+
message: string;
|
|
645
|
+
created_at: string;
|
|
646
|
+
error_code: string;
|
|
647
|
+
}>, "many">;
|
|
648
|
+
access_code_warnings: z.ZodArray<z.ZodObject<{
|
|
649
|
+
created_at: z.ZodString;
|
|
650
|
+
message: z.ZodString;
|
|
651
|
+
warning_code: z.ZodString;
|
|
652
|
+
}, "strip", z.ZodTypeAny, {
|
|
653
|
+
message: string;
|
|
654
|
+
created_at: string;
|
|
655
|
+
warning_code: string;
|
|
656
|
+
}, {
|
|
657
|
+
message: string;
|
|
658
|
+
created_at: string;
|
|
659
|
+
warning_code: string;
|
|
660
|
+
}>, "many">;
|
|
304
661
|
}, "strip", z.ZodTypeAny, {
|
|
305
662
|
device_id: string;
|
|
306
663
|
workspace_id: string;
|
|
@@ -310,6 +667,36 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
310
667
|
event_id: string;
|
|
311
668
|
occurred_at: string;
|
|
312
669
|
event_type: "access_code.delay_in_removing_from_device";
|
|
670
|
+
connected_account_errors: {
|
|
671
|
+
message: string;
|
|
672
|
+
created_at: string;
|
|
673
|
+
error_code: string;
|
|
674
|
+
}[];
|
|
675
|
+
connected_account_warnings: {
|
|
676
|
+
message: string;
|
|
677
|
+
created_at: string;
|
|
678
|
+
warning_code: string;
|
|
679
|
+
}[];
|
|
680
|
+
device_errors: {
|
|
681
|
+
message: string;
|
|
682
|
+
created_at: string;
|
|
683
|
+
error_code: string;
|
|
684
|
+
}[];
|
|
685
|
+
device_warnings: {
|
|
686
|
+
message: string;
|
|
687
|
+
created_at: string;
|
|
688
|
+
warning_code: string;
|
|
689
|
+
}[];
|
|
690
|
+
access_code_errors: {
|
|
691
|
+
message: string;
|
|
692
|
+
created_at: string;
|
|
693
|
+
error_code: string;
|
|
694
|
+
}[];
|
|
695
|
+
access_code_warnings: {
|
|
696
|
+
message: string;
|
|
697
|
+
created_at: string;
|
|
698
|
+
warning_code: string;
|
|
699
|
+
}[];
|
|
313
700
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
314
701
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
315
702
|
}, {
|
|
@@ -321,6 +708,36 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
321
708
|
event_id: string;
|
|
322
709
|
occurred_at: string;
|
|
323
710
|
event_type: "access_code.delay_in_removing_from_device";
|
|
711
|
+
connected_account_errors: {
|
|
712
|
+
message: string;
|
|
713
|
+
created_at: string;
|
|
714
|
+
error_code: string;
|
|
715
|
+
}[];
|
|
716
|
+
connected_account_warnings: {
|
|
717
|
+
message: string;
|
|
718
|
+
created_at: string;
|
|
719
|
+
warning_code: string;
|
|
720
|
+
}[];
|
|
721
|
+
device_errors: {
|
|
722
|
+
message: string;
|
|
723
|
+
created_at: string;
|
|
724
|
+
error_code: string;
|
|
725
|
+
}[];
|
|
726
|
+
device_warnings: {
|
|
727
|
+
message: string;
|
|
728
|
+
created_at: string;
|
|
729
|
+
warning_code: string;
|
|
730
|
+
}[];
|
|
731
|
+
access_code_errors: {
|
|
732
|
+
message: string;
|
|
733
|
+
created_at: string;
|
|
734
|
+
error_code: string;
|
|
735
|
+
}[];
|
|
736
|
+
access_code_warnings: {
|
|
737
|
+
message: string;
|
|
738
|
+
created_at: string;
|
|
739
|
+
warning_code: string;
|
|
740
|
+
}[];
|
|
324
741
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
325
742
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
326
743
|
}>, z.ZodObject<{
|
|
@@ -336,6 +753,85 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
336
753
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
337
754
|
} & {
|
|
338
755
|
event_type: z.ZodLiteral<"access_code.failed_to_remove_from_device">;
|
|
756
|
+
} & {
|
|
757
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
758
|
+
created_at: z.ZodString;
|
|
759
|
+
message: z.ZodString;
|
|
760
|
+
error_code: z.ZodString;
|
|
761
|
+
}, "strip", z.ZodTypeAny, {
|
|
762
|
+
message: string;
|
|
763
|
+
created_at: string;
|
|
764
|
+
error_code: string;
|
|
765
|
+
}, {
|
|
766
|
+
message: string;
|
|
767
|
+
created_at: string;
|
|
768
|
+
error_code: string;
|
|
769
|
+
}>, "many">;
|
|
770
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
771
|
+
created_at: z.ZodString;
|
|
772
|
+
message: z.ZodString;
|
|
773
|
+
warning_code: z.ZodString;
|
|
774
|
+
}, "strip", z.ZodTypeAny, {
|
|
775
|
+
message: string;
|
|
776
|
+
created_at: string;
|
|
777
|
+
warning_code: string;
|
|
778
|
+
}, {
|
|
779
|
+
message: string;
|
|
780
|
+
created_at: string;
|
|
781
|
+
warning_code: string;
|
|
782
|
+
}>, "many">;
|
|
783
|
+
device_errors: z.ZodArray<z.ZodObject<{
|
|
784
|
+
created_at: z.ZodString;
|
|
785
|
+
message: z.ZodString;
|
|
786
|
+
error_code: z.ZodString;
|
|
787
|
+
}, "strip", z.ZodTypeAny, {
|
|
788
|
+
message: string;
|
|
789
|
+
created_at: string;
|
|
790
|
+
error_code: string;
|
|
791
|
+
}, {
|
|
792
|
+
message: string;
|
|
793
|
+
created_at: string;
|
|
794
|
+
error_code: string;
|
|
795
|
+
}>, "many">;
|
|
796
|
+
device_warnings: z.ZodArray<z.ZodObject<{
|
|
797
|
+
created_at: z.ZodString;
|
|
798
|
+
message: z.ZodString;
|
|
799
|
+
warning_code: z.ZodString;
|
|
800
|
+
}, "strip", z.ZodTypeAny, {
|
|
801
|
+
message: string;
|
|
802
|
+
created_at: string;
|
|
803
|
+
warning_code: string;
|
|
804
|
+
}, {
|
|
805
|
+
message: string;
|
|
806
|
+
created_at: string;
|
|
807
|
+
warning_code: string;
|
|
808
|
+
}>, "many">;
|
|
809
|
+
access_code_errors: z.ZodArray<z.ZodObject<{
|
|
810
|
+
created_at: z.ZodString;
|
|
811
|
+
message: z.ZodString;
|
|
812
|
+
error_code: z.ZodString;
|
|
813
|
+
}, "strip", z.ZodTypeAny, {
|
|
814
|
+
message: string;
|
|
815
|
+
created_at: string;
|
|
816
|
+
error_code: string;
|
|
817
|
+
}, {
|
|
818
|
+
message: string;
|
|
819
|
+
created_at: string;
|
|
820
|
+
error_code: string;
|
|
821
|
+
}>, "many">;
|
|
822
|
+
access_code_warnings: z.ZodArray<z.ZodObject<{
|
|
823
|
+
created_at: z.ZodString;
|
|
824
|
+
message: z.ZodString;
|
|
825
|
+
warning_code: z.ZodString;
|
|
826
|
+
}, "strip", z.ZodTypeAny, {
|
|
827
|
+
message: string;
|
|
828
|
+
created_at: string;
|
|
829
|
+
warning_code: string;
|
|
830
|
+
}, {
|
|
831
|
+
message: string;
|
|
832
|
+
created_at: string;
|
|
833
|
+
warning_code: string;
|
|
834
|
+
}>, "many">;
|
|
339
835
|
}, "strip", z.ZodTypeAny, {
|
|
340
836
|
device_id: string;
|
|
341
837
|
workspace_id: string;
|
|
@@ -345,6 +841,36 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
345
841
|
event_id: string;
|
|
346
842
|
occurred_at: string;
|
|
347
843
|
event_type: "access_code.failed_to_remove_from_device";
|
|
844
|
+
connected_account_errors: {
|
|
845
|
+
message: string;
|
|
846
|
+
created_at: string;
|
|
847
|
+
error_code: string;
|
|
848
|
+
}[];
|
|
849
|
+
connected_account_warnings: {
|
|
850
|
+
message: string;
|
|
851
|
+
created_at: string;
|
|
852
|
+
warning_code: string;
|
|
853
|
+
}[];
|
|
854
|
+
device_errors: {
|
|
855
|
+
message: string;
|
|
856
|
+
created_at: string;
|
|
857
|
+
error_code: string;
|
|
858
|
+
}[];
|
|
859
|
+
device_warnings: {
|
|
860
|
+
message: string;
|
|
861
|
+
created_at: string;
|
|
862
|
+
warning_code: string;
|
|
863
|
+
}[];
|
|
864
|
+
access_code_errors: {
|
|
865
|
+
message: string;
|
|
866
|
+
created_at: string;
|
|
867
|
+
error_code: string;
|
|
868
|
+
}[];
|
|
869
|
+
access_code_warnings: {
|
|
870
|
+
message: string;
|
|
871
|
+
created_at: string;
|
|
872
|
+
warning_code: string;
|
|
873
|
+
}[];
|
|
348
874
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
349
875
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
350
876
|
}, {
|
|
@@ -356,6 +882,36 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
356
882
|
event_id: string;
|
|
357
883
|
occurred_at: string;
|
|
358
884
|
event_type: "access_code.failed_to_remove_from_device";
|
|
885
|
+
connected_account_errors: {
|
|
886
|
+
message: string;
|
|
887
|
+
created_at: string;
|
|
888
|
+
error_code: string;
|
|
889
|
+
}[];
|
|
890
|
+
connected_account_warnings: {
|
|
891
|
+
message: string;
|
|
892
|
+
created_at: string;
|
|
893
|
+
warning_code: string;
|
|
894
|
+
}[];
|
|
895
|
+
device_errors: {
|
|
896
|
+
message: string;
|
|
897
|
+
created_at: string;
|
|
898
|
+
error_code: string;
|
|
899
|
+
}[];
|
|
900
|
+
device_warnings: {
|
|
901
|
+
message: string;
|
|
902
|
+
created_at: string;
|
|
903
|
+
warning_code: string;
|
|
904
|
+
}[];
|
|
905
|
+
access_code_errors: {
|
|
906
|
+
message: string;
|
|
907
|
+
created_at: string;
|
|
908
|
+
error_code: string;
|
|
909
|
+
}[];
|
|
910
|
+
access_code_warnings: {
|
|
911
|
+
message: string;
|
|
912
|
+
created_at: string;
|
|
913
|
+
warning_code: string;
|
|
914
|
+
}[];
|
|
359
915
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
360
916
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
361
917
|
}>, z.ZodObject<{
|
|
@@ -514,6 +1070,85 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
514
1070
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
515
1071
|
} & {
|
|
516
1072
|
event_type: z.ZodLiteral<"access_code.unmanaged.failed_to_convert_to_managed">;
|
|
1073
|
+
} & {
|
|
1074
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
1075
|
+
created_at: z.ZodString;
|
|
1076
|
+
message: z.ZodString;
|
|
1077
|
+
error_code: z.ZodString;
|
|
1078
|
+
}, "strip", z.ZodTypeAny, {
|
|
1079
|
+
message: string;
|
|
1080
|
+
created_at: string;
|
|
1081
|
+
error_code: string;
|
|
1082
|
+
}, {
|
|
1083
|
+
message: string;
|
|
1084
|
+
created_at: string;
|
|
1085
|
+
error_code: string;
|
|
1086
|
+
}>, "many">;
|
|
1087
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
1088
|
+
created_at: z.ZodString;
|
|
1089
|
+
message: z.ZodString;
|
|
1090
|
+
warning_code: z.ZodString;
|
|
1091
|
+
}, "strip", z.ZodTypeAny, {
|
|
1092
|
+
message: string;
|
|
1093
|
+
created_at: string;
|
|
1094
|
+
warning_code: string;
|
|
1095
|
+
}, {
|
|
1096
|
+
message: string;
|
|
1097
|
+
created_at: string;
|
|
1098
|
+
warning_code: string;
|
|
1099
|
+
}>, "many">;
|
|
1100
|
+
device_errors: z.ZodArray<z.ZodObject<{
|
|
1101
|
+
created_at: z.ZodString;
|
|
1102
|
+
message: z.ZodString;
|
|
1103
|
+
error_code: z.ZodString;
|
|
1104
|
+
}, "strip", z.ZodTypeAny, {
|
|
1105
|
+
message: string;
|
|
1106
|
+
created_at: string;
|
|
1107
|
+
error_code: string;
|
|
1108
|
+
}, {
|
|
1109
|
+
message: string;
|
|
1110
|
+
created_at: string;
|
|
1111
|
+
error_code: string;
|
|
1112
|
+
}>, "many">;
|
|
1113
|
+
device_warnings: z.ZodArray<z.ZodObject<{
|
|
1114
|
+
created_at: z.ZodString;
|
|
1115
|
+
message: z.ZodString;
|
|
1116
|
+
warning_code: z.ZodString;
|
|
1117
|
+
}, "strip", z.ZodTypeAny, {
|
|
1118
|
+
message: string;
|
|
1119
|
+
created_at: string;
|
|
1120
|
+
warning_code: string;
|
|
1121
|
+
}, {
|
|
1122
|
+
message: string;
|
|
1123
|
+
created_at: string;
|
|
1124
|
+
warning_code: string;
|
|
1125
|
+
}>, "many">;
|
|
1126
|
+
access_code_errors: z.ZodArray<z.ZodObject<{
|
|
1127
|
+
created_at: z.ZodString;
|
|
1128
|
+
message: z.ZodString;
|
|
1129
|
+
error_code: z.ZodString;
|
|
1130
|
+
}, "strip", z.ZodTypeAny, {
|
|
1131
|
+
message: string;
|
|
1132
|
+
created_at: string;
|
|
1133
|
+
error_code: string;
|
|
1134
|
+
}, {
|
|
1135
|
+
message: string;
|
|
1136
|
+
created_at: string;
|
|
1137
|
+
error_code: string;
|
|
1138
|
+
}>, "many">;
|
|
1139
|
+
access_code_warnings: z.ZodArray<z.ZodObject<{
|
|
1140
|
+
created_at: z.ZodString;
|
|
1141
|
+
message: z.ZodString;
|
|
1142
|
+
warning_code: z.ZodString;
|
|
1143
|
+
}, "strip", z.ZodTypeAny, {
|
|
1144
|
+
message: string;
|
|
1145
|
+
created_at: string;
|
|
1146
|
+
warning_code: string;
|
|
1147
|
+
}, {
|
|
1148
|
+
message: string;
|
|
1149
|
+
created_at: string;
|
|
1150
|
+
warning_code: string;
|
|
1151
|
+
}>, "many">;
|
|
517
1152
|
}, "strip", z.ZodTypeAny, {
|
|
518
1153
|
device_id: string;
|
|
519
1154
|
workspace_id: string;
|
|
@@ -523,6 +1158,36 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
523
1158
|
event_id: string;
|
|
524
1159
|
occurred_at: string;
|
|
525
1160
|
event_type: "access_code.unmanaged.failed_to_convert_to_managed";
|
|
1161
|
+
connected_account_errors: {
|
|
1162
|
+
message: string;
|
|
1163
|
+
created_at: string;
|
|
1164
|
+
error_code: string;
|
|
1165
|
+
}[];
|
|
1166
|
+
connected_account_warnings: {
|
|
1167
|
+
message: string;
|
|
1168
|
+
created_at: string;
|
|
1169
|
+
warning_code: string;
|
|
1170
|
+
}[];
|
|
1171
|
+
device_errors: {
|
|
1172
|
+
message: string;
|
|
1173
|
+
created_at: string;
|
|
1174
|
+
error_code: string;
|
|
1175
|
+
}[];
|
|
1176
|
+
device_warnings: {
|
|
1177
|
+
message: string;
|
|
1178
|
+
created_at: string;
|
|
1179
|
+
warning_code: string;
|
|
1180
|
+
}[];
|
|
1181
|
+
access_code_errors: {
|
|
1182
|
+
message: string;
|
|
1183
|
+
created_at: string;
|
|
1184
|
+
error_code: string;
|
|
1185
|
+
}[];
|
|
1186
|
+
access_code_warnings: {
|
|
1187
|
+
message: string;
|
|
1188
|
+
created_at: string;
|
|
1189
|
+
warning_code: string;
|
|
1190
|
+
}[];
|
|
526
1191
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
527
1192
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
528
1193
|
}, {
|
|
@@ -534,6 +1199,36 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
534
1199
|
event_id: string;
|
|
535
1200
|
occurred_at: string;
|
|
536
1201
|
event_type: "access_code.unmanaged.failed_to_convert_to_managed";
|
|
1202
|
+
connected_account_errors: {
|
|
1203
|
+
message: string;
|
|
1204
|
+
created_at: string;
|
|
1205
|
+
error_code: string;
|
|
1206
|
+
}[];
|
|
1207
|
+
connected_account_warnings: {
|
|
1208
|
+
message: string;
|
|
1209
|
+
created_at: string;
|
|
1210
|
+
warning_code: string;
|
|
1211
|
+
}[];
|
|
1212
|
+
device_errors: {
|
|
1213
|
+
message: string;
|
|
1214
|
+
created_at: string;
|
|
1215
|
+
error_code: string;
|
|
1216
|
+
}[];
|
|
1217
|
+
device_warnings: {
|
|
1218
|
+
message: string;
|
|
1219
|
+
created_at: string;
|
|
1220
|
+
warning_code: string;
|
|
1221
|
+
}[];
|
|
1222
|
+
access_code_errors: {
|
|
1223
|
+
message: string;
|
|
1224
|
+
created_at: string;
|
|
1225
|
+
error_code: string;
|
|
1226
|
+
}[];
|
|
1227
|
+
access_code_warnings: {
|
|
1228
|
+
message: string;
|
|
1229
|
+
created_at: string;
|
|
1230
|
+
warning_code: string;
|
|
1231
|
+
}[];
|
|
537
1232
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
538
1233
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
539
1234
|
}>, z.ZodObject<{
|
|
@@ -946,6 +1641,35 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
946
1641
|
workspace_id: z.ZodString;
|
|
947
1642
|
created_at: z.ZodString;
|
|
948
1643
|
occurred_at: z.ZodString;
|
|
1644
|
+
} & {
|
|
1645
|
+
access_method_id: z.ZodString;
|
|
1646
|
+
access_grant_ids: z.ZodArray<z.ZodString, "many">;
|
|
1647
|
+
access_grant_keys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1648
|
+
} & {
|
|
1649
|
+
event_type: z.ZodLiteral<"access_method.created">;
|
|
1650
|
+
}, "strip", z.ZodTypeAny, {
|
|
1651
|
+
workspace_id: string;
|
|
1652
|
+
created_at: string;
|
|
1653
|
+
access_method_id: string;
|
|
1654
|
+
event_id: string;
|
|
1655
|
+
occurred_at: string;
|
|
1656
|
+
event_type: "access_method.created";
|
|
1657
|
+
access_grant_ids: string[];
|
|
1658
|
+
access_grant_keys?: string[] | undefined;
|
|
1659
|
+
}, {
|
|
1660
|
+
workspace_id: string;
|
|
1661
|
+
created_at: string;
|
|
1662
|
+
access_method_id: string;
|
|
1663
|
+
event_id: string;
|
|
1664
|
+
occurred_at: string;
|
|
1665
|
+
event_type: "access_method.created";
|
|
1666
|
+
access_grant_ids: string[];
|
|
1667
|
+
access_grant_keys?: string[] | undefined;
|
|
1668
|
+
}>, z.ZodObject<{
|
|
1669
|
+
event_id: z.ZodString;
|
|
1670
|
+
workspace_id: z.ZodString;
|
|
1671
|
+
created_at: z.ZodString;
|
|
1672
|
+
occurred_at: z.ZodString;
|
|
949
1673
|
} & {
|
|
950
1674
|
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
951
1675
|
acs_system_id: z.ZodString;
|
|
@@ -1003,6 +1727,59 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1003
1727
|
acs_system_id: z.ZodString;
|
|
1004
1728
|
} & {
|
|
1005
1729
|
event_type: z.ZodLiteral<"acs_system.disconnected">;
|
|
1730
|
+
} & {
|
|
1731
|
+
acs_system_errors: z.ZodArray<z.ZodObject<{
|
|
1732
|
+
created_at: z.ZodString;
|
|
1733
|
+
message: z.ZodString;
|
|
1734
|
+
error_code: z.ZodString;
|
|
1735
|
+
}, "strip", z.ZodTypeAny, {
|
|
1736
|
+
message: string;
|
|
1737
|
+
created_at: string;
|
|
1738
|
+
error_code: string;
|
|
1739
|
+
}, {
|
|
1740
|
+
message: string;
|
|
1741
|
+
created_at: string;
|
|
1742
|
+
error_code: string;
|
|
1743
|
+
}>, "many">;
|
|
1744
|
+
acs_system_warnings: z.ZodArray<z.ZodObject<{
|
|
1745
|
+
created_at: z.ZodString;
|
|
1746
|
+
message: z.ZodString;
|
|
1747
|
+
warning_code: z.ZodString;
|
|
1748
|
+
}, "strip", z.ZodTypeAny, {
|
|
1749
|
+
message: string;
|
|
1750
|
+
created_at: string;
|
|
1751
|
+
warning_code: string;
|
|
1752
|
+
}, {
|
|
1753
|
+
message: string;
|
|
1754
|
+
created_at: string;
|
|
1755
|
+
warning_code: string;
|
|
1756
|
+
}>, "many">;
|
|
1757
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
1758
|
+
created_at: z.ZodString;
|
|
1759
|
+
message: z.ZodString;
|
|
1760
|
+
error_code: z.ZodString;
|
|
1761
|
+
}, "strip", z.ZodTypeAny, {
|
|
1762
|
+
message: string;
|
|
1763
|
+
created_at: string;
|
|
1764
|
+
error_code: string;
|
|
1765
|
+
}, {
|
|
1766
|
+
message: string;
|
|
1767
|
+
created_at: string;
|
|
1768
|
+
error_code: string;
|
|
1769
|
+
}>, "many">;
|
|
1770
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
1771
|
+
created_at: z.ZodString;
|
|
1772
|
+
message: z.ZodString;
|
|
1773
|
+
warning_code: z.ZodString;
|
|
1774
|
+
}, "strip", z.ZodTypeAny, {
|
|
1775
|
+
message: string;
|
|
1776
|
+
created_at: string;
|
|
1777
|
+
warning_code: string;
|
|
1778
|
+
}, {
|
|
1779
|
+
message: string;
|
|
1780
|
+
created_at: string;
|
|
1781
|
+
warning_code: string;
|
|
1782
|
+
}>, "many">;
|
|
1006
1783
|
}, "strip", z.ZodTypeAny, {
|
|
1007
1784
|
workspace_id: string;
|
|
1008
1785
|
created_at: string;
|
|
@@ -1010,6 +1787,26 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1010
1787
|
event_id: string;
|
|
1011
1788
|
occurred_at: string;
|
|
1012
1789
|
event_type: "acs_system.disconnected";
|
|
1790
|
+
connected_account_errors: {
|
|
1791
|
+
message: string;
|
|
1792
|
+
created_at: string;
|
|
1793
|
+
error_code: string;
|
|
1794
|
+
}[];
|
|
1795
|
+
connected_account_warnings: {
|
|
1796
|
+
message: string;
|
|
1797
|
+
created_at: string;
|
|
1798
|
+
warning_code: string;
|
|
1799
|
+
}[];
|
|
1800
|
+
acs_system_errors: {
|
|
1801
|
+
message: string;
|
|
1802
|
+
created_at: string;
|
|
1803
|
+
error_code: string;
|
|
1804
|
+
}[];
|
|
1805
|
+
acs_system_warnings: {
|
|
1806
|
+
message: string;
|
|
1807
|
+
created_at: string;
|
|
1808
|
+
warning_code: string;
|
|
1809
|
+
}[];
|
|
1013
1810
|
connected_account_id?: string | undefined;
|
|
1014
1811
|
}, {
|
|
1015
1812
|
workspace_id: string;
|
|
@@ -1018,6 +1815,26 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1018
1815
|
event_id: string;
|
|
1019
1816
|
occurred_at: string;
|
|
1020
1817
|
event_type: "acs_system.disconnected";
|
|
1818
|
+
connected_account_errors: {
|
|
1819
|
+
message: string;
|
|
1820
|
+
created_at: string;
|
|
1821
|
+
error_code: string;
|
|
1822
|
+
}[];
|
|
1823
|
+
connected_account_warnings: {
|
|
1824
|
+
message: string;
|
|
1825
|
+
created_at: string;
|
|
1826
|
+
warning_code: string;
|
|
1827
|
+
}[];
|
|
1828
|
+
acs_system_errors: {
|
|
1829
|
+
message: string;
|
|
1830
|
+
created_at: string;
|
|
1831
|
+
error_code: string;
|
|
1832
|
+
}[];
|
|
1833
|
+
acs_system_warnings: {
|
|
1834
|
+
message: string;
|
|
1835
|
+
created_at: string;
|
|
1836
|
+
warning_code: string;
|
|
1837
|
+
}[];
|
|
1021
1838
|
connected_account_id?: string | undefined;
|
|
1022
1839
|
}>, z.ZodObject<{
|
|
1023
1840
|
event_id: z.ZodString;
|
|
@@ -1472,146 +2289,207 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1472
2289
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1473
2290
|
} & {
|
|
1474
2291
|
event_type: z.ZodLiteral<"connected_account.disconnected">;
|
|
1475
|
-
|
|
2292
|
+
} & {
|
|
2293
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
2294
|
+
created_at: z.ZodString;
|
|
2295
|
+
message: z.ZodString;
|
|
2296
|
+
error_code: z.ZodString;
|
|
2297
|
+
}, "strip", z.ZodTypeAny, {
|
|
2298
|
+
message: string;
|
|
2299
|
+
created_at: string;
|
|
2300
|
+
error_code: string;
|
|
2301
|
+
}, {
|
|
2302
|
+
message: string;
|
|
2303
|
+
created_at: string;
|
|
2304
|
+
error_code: string;
|
|
2305
|
+
}>, "many">;
|
|
2306
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
1476
2307
|
created_at: z.ZodString;
|
|
1477
2308
|
message: z.ZodString;
|
|
1478
|
-
|
|
1479
|
-
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
1480
|
-
} & {
|
|
1481
|
-
error_code: z.ZodLiteral<"account_disconnected">;
|
|
2309
|
+
warning_code: z.ZodString;
|
|
1482
2310
|
}, "strip", z.ZodTypeAny, {
|
|
1483
2311
|
message: string;
|
|
1484
2312
|
created_at: string;
|
|
1485
|
-
|
|
1486
|
-
is_connected_account_error?: boolean | undefined;
|
|
1487
|
-
is_bridge_error?: boolean | undefined;
|
|
2313
|
+
warning_code: string;
|
|
1488
2314
|
}, {
|
|
1489
2315
|
message: string;
|
|
1490
2316
|
created_at: string;
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
2317
|
+
warning_code: string;
|
|
2318
|
+
}>, "many">;
|
|
2319
|
+
}, "strip", z.ZodTypeAny, {
|
|
2320
|
+
workspace_id: string;
|
|
2321
|
+
created_at: string;
|
|
2322
|
+
connected_account_id: string;
|
|
2323
|
+
event_id: string;
|
|
2324
|
+
occurred_at: string;
|
|
2325
|
+
event_type: "connected_account.disconnected";
|
|
2326
|
+
connected_account_errors: {
|
|
2327
|
+
message: string;
|
|
2328
|
+
created_at: string;
|
|
2329
|
+
error_code: string;
|
|
2330
|
+
}[];
|
|
2331
|
+
connected_account_warnings: {
|
|
2332
|
+
message: string;
|
|
2333
|
+
created_at: string;
|
|
2334
|
+
warning_code: string;
|
|
2335
|
+
}[];
|
|
2336
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2337
|
+
}, {
|
|
2338
|
+
workspace_id: string;
|
|
2339
|
+
created_at: string;
|
|
2340
|
+
connected_account_id: string;
|
|
2341
|
+
event_id: string;
|
|
2342
|
+
occurred_at: string;
|
|
2343
|
+
event_type: "connected_account.disconnected";
|
|
2344
|
+
connected_account_errors: {
|
|
2345
|
+
message: string;
|
|
2346
|
+
created_at: string;
|
|
2347
|
+
error_code: string;
|
|
2348
|
+
}[];
|
|
2349
|
+
connected_account_warnings: {
|
|
2350
|
+
message: string;
|
|
2351
|
+
created_at: string;
|
|
2352
|
+
warning_code: string;
|
|
2353
|
+
}[];
|
|
2354
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2355
|
+
}>, z.ZodObject<{
|
|
2356
|
+
event_id: z.ZodString;
|
|
2357
|
+
workspace_id: z.ZodString;
|
|
2358
|
+
created_at: z.ZodString;
|
|
2359
|
+
occurred_at: z.ZodString;
|
|
2360
|
+
} & {
|
|
2361
|
+
connected_account_id: z.ZodString;
|
|
2362
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2363
|
+
} & {
|
|
2364
|
+
event_type: z.ZodLiteral<"connected_account.completed_first_sync">;
|
|
2365
|
+
}, "strip", z.ZodTypeAny, {
|
|
2366
|
+
workspace_id: string;
|
|
2367
|
+
created_at: string;
|
|
2368
|
+
connected_account_id: string;
|
|
2369
|
+
event_id: string;
|
|
2370
|
+
occurred_at: string;
|
|
2371
|
+
event_type: "connected_account.completed_first_sync";
|
|
2372
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2373
|
+
}, {
|
|
2374
|
+
workspace_id: string;
|
|
2375
|
+
created_at: string;
|
|
2376
|
+
connected_account_id: string;
|
|
2377
|
+
event_id: string;
|
|
2378
|
+
occurred_at: string;
|
|
2379
|
+
event_type: "connected_account.completed_first_sync";
|
|
2380
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2381
|
+
}>, z.ZodObject<{
|
|
2382
|
+
event_id: z.ZodString;
|
|
2383
|
+
workspace_id: z.ZodString;
|
|
2384
|
+
created_at: z.ZodString;
|
|
2385
|
+
occurred_at: z.ZodString;
|
|
2386
|
+
} & {
|
|
2387
|
+
connected_account_id: z.ZodString;
|
|
2388
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2389
|
+
} & {
|
|
2390
|
+
event_type: z.ZodLiteral<"connected_account.deleted">;
|
|
2391
|
+
connected_account_type: z.ZodOptional<z.ZodString>;
|
|
2392
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2393
|
+
}, "strip", z.ZodTypeAny, {
|
|
2394
|
+
workspace_id: string;
|
|
2395
|
+
created_at: string;
|
|
2396
|
+
connected_account_id: string;
|
|
2397
|
+
event_id: string;
|
|
2398
|
+
occurred_at: string;
|
|
2399
|
+
event_type: "connected_account.deleted";
|
|
2400
|
+
customer_key?: string | undefined;
|
|
2401
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2402
|
+
connected_account_type?: string | undefined;
|
|
2403
|
+
}, {
|
|
2404
|
+
workspace_id: string;
|
|
2405
|
+
created_at: string;
|
|
2406
|
+
connected_account_id: string;
|
|
2407
|
+
event_id: string;
|
|
2408
|
+
occurred_at: string;
|
|
2409
|
+
event_type: "connected_account.deleted";
|
|
2410
|
+
customer_key?: string | undefined;
|
|
2411
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2412
|
+
connected_account_type?: string | undefined;
|
|
2413
|
+
}>, z.ZodObject<{
|
|
2414
|
+
event_id: z.ZodString;
|
|
2415
|
+
workspace_id: z.ZodString;
|
|
2416
|
+
created_at: z.ZodString;
|
|
2417
|
+
occurred_at: z.ZodString;
|
|
2418
|
+
} & {
|
|
2419
|
+
connected_account_id: z.ZodString;
|
|
2420
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2421
|
+
} & {
|
|
2422
|
+
event_type: z.ZodLiteral<"connected_account.completed_first_sync_after_reconnection">;
|
|
2423
|
+
}, "strip", z.ZodTypeAny, {
|
|
2424
|
+
workspace_id: string;
|
|
2425
|
+
created_at: string;
|
|
2426
|
+
connected_account_id: string;
|
|
2427
|
+
event_id: string;
|
|
2428
|
+
occurred_at: string;
|
|
2429
|
+
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
2430
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2431
|
+
}, {
|
|
2432
|
+
workspace_id: string;
|
|
2433
|
+
created_at: string;
|
|
2434
|
+
connected_account_id: string;
|
|
2435
|
+
event_id: string;
|
|
2436
|
+
occurred_at: string;
|
|
2437
|
+
event_type: "connected_account.completed_first_sync_after_reconnection";
|
|
2438
|
+
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2439
|
+
}>, z.ZodObject<{
|
|
2440
|
+
event_id: z.ZodString;
|
|
2441
|
+
workspace_id: z.ZodString;
|
|
2442
|
+
created_at: z.ZodString;
|
|
2443
|
+
occurred_at: z.ZodString;
|
|
2444
|
+
} & {
|
|
2445
|
+
connected_account_id: z.ZodString;
|
|
2446
|
+
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2447
|
+
} & {
|
|
2448
|
+
event_type: z.ZodLiteral<"connected_account.reauthorization_requested">;
|
|
2449
|
+
} & {
|
|
2450
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
1495
2451
|
created_at: z.ZodString;
|
|
1496
2452
|
message: z.ZodString;
|
|
1497
|
-
|
|
1498
|
-
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
1499
|
-
} & {
|
|
1500
|
-
error_code: z.ZodLiteral<"bridge_disconnected">;
|
|
2453
|
+
error_code: z.ZodString;
|
|
1501
2454
|
}, "strip", z.ZodTypeAny, {
|
|
1502
2455
|
message: string;
|
|
1503
2456
|
created_at: string;
|
|
1504
|
-
error_code:
|
|
1505
|
-
is_connected_account_error?: boolean | undefined;
|
|
1506
|
-
is_bridge_error?: boolean | undefined;
|
|
2457
|
+
error_code: string;
|
|
1507
2458
|
}, {
|
|
1508
2459
|
message: string;
|
|
1509
2460
|
created_at: string;
|
|
1510
|
-
error_code:
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
}>, z.ZodObject<{
|
|
2461
|
+
error_code: string;
|
|
2462
|
+
}>, "many">;
|
|
2463
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
1514
2464
|
created_at: z.ZodString;
|
|
1515
2465
|
message: z.ZodString;
|
|
1516
|
-
|
|
1517
|
-
is_bridge_error: z.ZodOptional<z.ZodBoolean>;
|
|
1518
|
-
} & {
|
|
1519
|
-
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
1520
|
-
salto_ks_metadata: z.ZodObject<{
|
|
1521
|
-
sites: z.ZodArray<z.ZodObject<{
|
|
1522
|
-
site_id: z.ZodString;
|
|
1523
|
-
site_name: z.ZodString;
|
|
1524
|
-
subscribed_site_user_count: z.ZodNumber;
|
|
1525
|
-
site_user_subscription_limit: z.ZodNumber;
|
|
1526
|
-
}, "strip", z.ZodTypeAny, {
|
|
1527
|
-
site_id: string;
|
|
1528
|
-
site_name: string;
|
|
1529
|
-
subscribed_site_user_count: number;
|
|
1530
|
-
site_user_subscription_limit: number;
|
|
1531
|
-
}, {
|
|
1532
|
-
site_id: string;
|
|
1533
|
-
site_name: string;
|
|
1534
|
-
subscribed_site_user_count: number;
|
|
1535
|
-
site_user_subscription_limit: number;
|
|
1536
|
-
}>, "many">;
|
|
1537
|
-
}, "strip", z.ZodTypeAny, {
|
|
1538
|
-
sites: {
|
|
1539
|
-
site_id: string;
|
|
1540
|
-
site_name: string;
|
|
1541
|
-
subscribed_site_user_count: number;
|
|
1542
|
-
site_user_subscription_limit: number;
|
|
1543
|
-
}[];
|
|
1544
|
-
}, {
|
|
1545
|
-
sites: {
|
|
1546
|
-
site_id: string;
|
|
1547
|
-
site_name: string;
|
|
1548
|
-
subscribed_site_user_count: number;
|
|
1549
|
-
site_user_subscription_limit: number;
|
|
1550
|
-
}[];
|
|
1551
|
-
}>;
|
|
2466
|
+
warning_code: z.ZodString;
|
|
1552
2467
|
}, "strip", z.ZodTypeAny, {
|
|
1553
2468
|
message: string;
|
|
1554
2469
|
created_at: string;
|
|
1555
|
-
|
|
1556
|
-
salto_ks_metadata: {
|
|
1557
|
-
sites: {
|
|
1558
|
-
site_id: string;
|
|
1559
|
-
site_name: string;
|
|
1560
|
-
subscribed_site_user_count: number;
|
|
1561
|
-
site_user_subscription_limit: number;
|
|
1562
|
-
}[];
|
|
1563
|
-
};
|
|
1564
|
-
is_connected_account_error?: boolean | undefined;
|
|
1565
|
-
is_bridge_error?: boolean | undefined;
|
|
2470
|
+
warning_code: string;
|
|
1566
2471
|
}, {
|
|
1567
2472
|
message: string;
|
|
1568
2473
|
created_at: string;
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
sites: {
|
|
1572
|
-
site_id: string;
|
|
1573
|
-
site_name: string;
|
|
1574
|
-
subscribed_site_user_count: number;
|
|
1575
|
-
site_user_subscription_limit: number;
|
|
1576
|
-
}[];
|
|
1577
|
-
};
|
|
1578
|
-
is_connected_account_error?: boolean | undefined;
|
|
1579
|
-
is_bridge_error?: boolean | undefined;
|
|
1580
|
-
}>]>, "many">;
|
|
2474
|
+
warning_code: string;
|
|
2475
|
+
}>, "many">;
|
|
1581
2476
|
}, "strip", z.ZodTypeAny, {
|
|
1582
2477
|
workspace_id: string;
|
|
1583
2478
|
created_at: string;
|
|
1584
2479
|
connected_account_id: string;
|
|
1585
2480
|
event_id: string;
|
|
1586
2481
|
occurred_at: string;
|
|
1587
|
-
event_type: "connected_account.
|
|
1588
|
-
connected_account_errors:
|
|
1589
|
-
message: string;
|
|
1590
|
-
created_at: string;
|
|
1591
|
-
error_code: "account_disconnected";
|
|
1592
|
-
is_connected_account_error?: boolean | undefined;
|
|
1593
|
-
is_bridge_error?: boolean | undefined;
|
|
1594
|
-
} | {
|
|
2482
|
+
event_type: "connected_account.reauthorization_requested";
|
|
2483
|
+
connected_account_errors: {
|
|
1595
2484
|
message: string;
|
|
1596
2485
|
created_at: string;
|
|
1597
|
-
error_code:
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
} | {
|
|
2486
|
+
error_code: string;
|
|
2487
|
+
}[];
|
|
2488
|
+
connected_account_warnings: {
|
|
1601
2489
|
message: string;
|
|
1602
2490
|
created_at: string;
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
sites: {
|
|
1606
|
-
site_id: string;
|
|
1607
|
-
site_name: string;
|
|
1608
|
-
subscribed_site_user_count: number;
|
|
1609
|
-
site_user_subscription_limit: number;
|
|
1610
|
-
}[];
|
|
1611
|
-
};
|
|
1612
|
-
is_connected_account_error?: boolean | undefined;
|
|
1613
|
-
is_bridge_error?: boolean | undefined;
|
|
1614
|
-
})[];
|
|
2491
|
+
warning_code: string;
|
|
2492
|
+
}[];
|
|
1615
2493
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1616
2494
|
}, {
|
|
1617
2495
|
workspace_id: string;
|
|
@@ -1619,146 +2497,159 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1619
2497
|
connected_account_id: string;
|
|
1620
2498
|
event_id: string;
|
|
1621
2499
|
occurred_at: string;
|
|
1622
|
-
event_type: "connected_account.
|
|
1623
|
-
connected_account_errors:
|
|
1624
|
-
message: string;
|
|
1625
|
-
created_at: string;
|
|
1626
|
-
error_code: "account_disconnected";
|
|
1627
|
-
is_connected_account_error?: boolean | undefined;
|
|
1628
|
-
is_bridge_error?: boolean | undefined;
|
|
1629
|
-
} | {
|
|
2500
|
+
event_type: "connected_account.reauthorization_requested";
|
|
2501
|
+
connected_account_errors: {
|
|
1630
2502
|
message: string;
|
|
1631
2503
|
created_at: string;
|
|
1632
|
-
error_code:
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
} | {
|
|
2504
|
+
error_code: string;
|
|
2505
|
+
}[];
|
|
2506
|
+
connected_account_warnings: {
|
|
1636
2507
|
message: string;
|
|
1637
2508
|
created_at: string;
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
sites: {
|
|
1641
|
-
site_id: string;
|
|
1642
|
-
site_name: string;
|
|
1643
|
-
subscribed_site_user_count: number;
|
|
1644
|
-
site_user_subscription_limit: number;
|
|
1645
|
-
}[];
|
|
1646
|
-
};
|
|
1647
|
-
is_connected_account_error?: boolean | undefined;
|
|
1648
|
-
is_bridge_error?: boolean | undefined;
|
|
1649
|
-
})[];
|
|
2509
|
+
warning_code: string;
|
|
2510
|
+
}[];
|
|
1650
2511
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1651
|
-
}>, z.ZodObject<{
|
|
2512
|
+
}>, ...(z.ZodObject<{
|
|
1652
2513
|
event_id: z.ZodString;
|
|
1653
2514
|
workspace_id: z.ZodString;
|
|
1654
2515
|
created_at: z.ZodString;
|
|
1655
2516
|
occurred_at: z.ZodString;
|
|
1656
2517
|
} & {
|
|
1657
|
-
|
|
1658
|
-
|
|
2518
|
+
action_attempt_id: z.ZodString;
|
|
2519
|
+
action_type: z.ZodString;
|
|
2520
|
+
status: z.ZodString;
|
|
2521
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
2522
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
1659
2523
|
} & {
|
|
1660
|
-
event_type: z.ZodLiteral<"
|
|
2524
|
+
event_type: z.ZodLiteral<"action_attempt.lock_door.succeeded">;
|
|
1661
2525
|
}, "strip", z.ZodTypeAny, {
|
|
2526
|
+
status: string;
|
|
1662
2527
|
workspace_id: string;
|
|
1663
2528
|
created_at: string;
|
|
1664
|
-
|
|
2529
|
+
action_attempt_id: string;
|
|
2530
|
+
action_type: string;
|
|
1665
2531
|
event_id: string;
|
|
1666
2532
|
occurred_at: string;
|
|
1667
|
-
event_type: "
|
|
1668
|
-
|
|
2533
|
+
event_type: "action_attempt.lock_door.succeeded";
|
|
2534
|
+
device_id?: string | undefined;
|
|
2535
|
+
connected_account_id?: string | undefined;
|
|
1669
2536
|
}, {
|
|
2537
|
+
status: string;
|
|
1670
2538
|
workspace_id: string;
|
|
1671
2539
|
created_at: string;
|
|
1672
|
-
|
|
2540
|
+
action_attempt_id: string;
|
|
2541
|
+
action_type: string;
|
|
1673
2542
|
event_id: string;
|
|
1674
2543
|
occurred_at: string;
|
|
1675
|
-
event_type: "
|
|
1676
|
-
|
|
1677
|
-
|
|
2544
|
+
event_type: "action_attempt.lock_door.succeeded";
|
|
2545
|
+
device_id?: string | undefined;
|
|
2546
|
+
connected_account_id?: string | undefined;
|
|
2547
|
+
}> | z.ZodObject<{
|
|
1678
2548
|
event_id: z.ZodString;
|
|
1679
2549
|
workspace_id: z.ZodString;
|
|
1680
2550
|
created_at: z.ZodString;
|
|
1681
2551
|
occurred_at: z.ZodString;
|
|
1682
2552
|
} & {
|
|
1683
|
-
|
|
1684
|
-
|
|
2553
|
+
action_attempt_id: z.ZodString;
|
|
2554
|
+
action_type: z.ZodString;
|
|
2555
|
+
status: z.ZodString;
|
|
2556
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
2557
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
1685
2558
|
} & {
|
|
1686
|
-
event_type: z.ZodLiteral<"
|
|
1687
|
-
connected_account_type: z.ZodOptional<z.ZodString>;
|
|
1688
|
-
customer_key: z.ZodOptional<z.ZodString>;
|
|
2559
|
+
event_type: z.ZodLiteral<"action_attempt.lock_door.failed">;
|
|
1689
2560
|
}, "strip", z.ZodTypeAny, {
|
|
2561
|
+
status: string;
|
|
1690
2562
|
workspace_id: string;
|
|
1691
2563
|
created_at: string;
|
|
1692
|
-
|
|
2564
|
+
action_attempt_id: string;
|
|
2565
|
+
action_type: string;
|
|
1693
2566
|
event_id: string;
|
|
1694
2567
|
occurred_at: string;
|
|
1695
|
-
event_type: "
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
connected_account_type?: string | undefined;
|
|
2568
|
+
event_type: "action_attempt.lock_door.failed";
|
|
2569
|
+
device_id?: string | undefined;
|
|
2570
|
+
connected_account_id?: string | undefined;
|
|
1699
2571
|
}, {
|
|
2572
|
+
status: string;
|
|
1700
2573
|
workspace_id: string;
|
|
1701
2574
|
created_at: string;
|
|
1702
|
-
|
|
2575
|
+
action_attempt_id: string;
|
|
2576
|
+
action_type: string;
|
|
1703
2577
|
event_id: string;
|
|
1704
2578
|
occurred_at: string;
|
|
1705
|
-
event_type: "
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
}>, z.ZodObject<{
|
|
2579
|
+
event_type: "action_attempt.lock_door.failed";
|
|
2580
|
+
device_id?: string | undefined;
|
|
2581
|
+
connected_account_id?: string | undefined;
|
|
2582
|
+
}> | z.ZodObject<{
|
|
1710
2583
|
event_id: z.ZodString;
|
|
1711
2584
|
workspace_id: z.ZodString;
|
|
1712
2585
|
created_at: z.ZodString;
|
|
1713
2586
|
occurred_at: z.ZodString;
|
|
1714
2587
|
} & {
|
|
1715
|
-
|
|
1716
|
-
|
|
2588
|
+
action_attempt_id: z.ZodString;
|
|
2589
|
+
action_type: z.ZodString;
|
|
2590
|
+
status: z.ZodString;
|
|
2591
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
2592
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
1717
2593
|
} & {
|
|
1718
|
-
event_type: z.ZodLiteral<"
|
|
2594
|
+
event_type: z.ZodLiteral<"action_attempt.unlock_door.succeeded">;
|
|
1719
2595
|
}, "strip", z.ZodTypeAny, {
|
|
2596
|
+
status: string;
|
|
1720
2597
|
workspace_id: string;
|
|
1721
2598
|
created_at: string;
|
|
1722
|
-
|
|
2599
|
+
action_attempt_id: string;
|
|
2600
|
+
action_type: string;
|
|
1723
2601
|
event_id: string;
|
|
1724
2602
|
occurred_at: string;
|
|
1725
|
-
event_type: "
|
|
1726
|
-
|
|
2603
|
+
event_type: "action_attempt.unlock_door.succeeded";
|
|
2604
|
+
device_id?: string | undefined;
|
|
2605
|
+
connected_account_id?: string | undefined;
|
|
1727
2606
|
}, {
|
|
2607
|
+
status: string;
|
|
1728
2608
|
workspace_id: string;
|
|
1729
2609
|
created_at: string;
|
|
1730
|
-
|
|
2610
|
+
action_attempt_id: string;
|
|
2611
|
+
action_type: string;
|
|
1731
2612
|
event_id: string;
|
|
1732
2613
|
occurred_at: string;
|
|
1733
|
-
event_type: "
|
|
1734
|
-
|
|
1735
|
-
|
|
2614
|
+
event_type: "action_attempt.unlock_door.succeeded";
|
|
2615
|
+
device_id?: string | undefined;
|
|
2616
|
+
connected_account_id?: string | undefined;
|
|
2617
|
+
}> | z.ZodObject<{
|
|
1736
2618
|
event_id: z.ZodString;
|
|
1737
2619
|
workspace_id: z.ZodString;
|
|
1738
2620
|
created_at: z.ZodString;
|
|
1739
2621
|
occurred_at: z.ZodString;
|
|
1740
2622
|
} & {
|
|
1741
|
-
|
|
1742
|
-
|
|
2623
|
+
action_attempt_id: z.ZodString;
|
|
2624
|
+
action_type: z.ZodString;
|
|
2625
|
+
status: z.ZodString;
|
|
2626
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
2627
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
1743
2628
|
} & {
|
|
1744
|
-
event_type: z.ZodLiteral<"
|
|
2629
|
+
event_type: z.ZodLiteral<"action_attempt.unlock_door.failed">;
|
|
1745
2630
|
}, "strip", z.ZodTypeAny, {
|
|
2631
|
+
status: string;
|
|
1746
2632
|
workspace_id: string;
|
|
1747
2633
|
created_at: string;
|
|
1748
|
-
|
|
2634
|
+
action_attempt_id: string;
|
|
2635
|
+
action_type: string;
|
|
1749
2636
|
event_id: string;
|
|
1750
2637
|
occurred_at: string;
|
|
1751
|
-
event_type: "
|
|
1752
|
-
|
|
2638
|
+
event_type: "action_attempt.unlock_door.failed";
|
|
2639
|
+
device_id?: string | undefined;
|
|
2640
|
+
connected_account_id?: string | undefined;
|
|
1753
2641
|
}, {
|
|
2642
|
+
status: string;
|
|
1754
2643
|
workspace_id: string;
|
|
1755
2644
|
created_at: string;
|
|
1756
|
-
|
|
2645
|
+
action_attempt_id: string;
|
|
2646
|
+
action_type: string;
|
|
1757
2647
|
event_id: string;
|
|
1758
2648
|
occurred_at: string;
|
|
1759
|
-
event_type: "
|
|
1760
|
-
|
|
1761
|
-
|
|
2649
|
+
event_type: "action_attempt.unlock_door.failed";
|
|
2650
|
+
device_id?: string | undefined;
|
|
2651
|
+
connected_account_id?: string | undefined;
|
|
2652
|
+
}> | z.ZodObject<{
|
|
1762
2653
|
event_id: z.ZodString;
|
|
1763
2654
|
workspace_id: z.ZodString;
|
|
1764
2655
|
created_at: z.ZodString;
|
|
@@ -1767,8 +2658,10 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1767
2658
|
action_attempt_id: z.ZodString;
|
|
1768
2659
|
action_type: z.ZodString;
|
|
1769
2660
|
status: z.ZodString;
|
|
2661
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
2662
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
1770
2663
|
} & {
|
|
1771
|
-
event_type: z.ZodLiteral<"action_attempt.
|
|
2664
|
+
event_type: z.ZodLiteral<"action_attempt.simulate_keypad_code_entry.succeeded">;
|
|
1772
2665
|
}, "strip", z.ZodTypeAny, {
|
|
1773
2666
|
status: string;
|
|
1774
2667
|
workspace_id: string;
|
|
@@ -1777,7 +2670,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1777
2670
|
action_type: string;
|
|
1778
2671
|
event_id: string;
|
|
1779
2672
|
occurred_at: string;
|
|
1780
|
-
event_type: "action_attempt.
|
|
2673
|
+
event_type: "action_attempt.simulate_keypad_code_entry.succeeded";
|
|
2674
|
+
device_id?: string | undefined;
|
|
2675
|
+
connected_account_id?: string | undefined;
|
|
1781
2676
|
}, {
|
|
1782
2677
|
status: string;
|
|
1783
2678
|
workspace_id: string;
|
|
@@ -1786,7 +2681,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1786
2681
|
action_type: string;
|
|
1787
2682
|
event_id: string;
|
|
1788
2683
|
occurred_at: string;
|
|
1789
|
-
event_type: "action_attempt.
|
|
2684
|
+
event_type: "action_attempt.simulate_keypad_code_entry.succeeded";
|
|
2685
|
+
device_id?: string | undefined;
|
|
2686
|
+
connected_account_id?: string | undefined;
|
|
1790
2687
|
}> | z.ZodObject<{
|
|
1791
2688
|
event_id: z.ZodString;
|
|
1792
2689
|
workspace_id: z.ZodString;
|
|
@@ -1796,8 +2693,10 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1796
2693
|
action_attempt_id: z.ZodString;
|
|
1797
2694
|
action_type: z.ZodString;
|
|
1798
2695
|
status: z.ZodString;
|
|
2696
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
2697
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
1799
2698
|
} & {
|
|
1800
|
-
event_type: z.ZodLiteral<"action_attempt.
|
|
2699
|
+
event_type: z.ZodLiteral<"action_attempt.simulate_keypad_code_entry.failed">;
|
|
1801
2700
|
}, "strip", z.ZodTypeAny, {
|
|
1802
2701
|
status: string;
|
|
1803
2702
|
workspace_id: string;
|
|
@@ -1806,7 +2705,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1806
2705
|
action_type: string;
|
|
1807
2706
|
event_id: string;
|
|
1808
2707
|
occurred_at: string;
|
|
1809
|
-
event_type: "action_attempt.
|
|
2708
|
+
event_type: "action_attempt.simulate_keypad_code_entry.failed";
|
|
2709
|
+
device_id?: string | undefined;
|
|
2710
|
+
connected_account_id?: string | undefined;
|
|
1810
2711
|
}, {
|
|
1811
2712
|
status: string;
|
|
1812
2713
|
workspace_id: string;
|
|
@@ -1815,7 +2716,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1815
2716
|
action_type: string;
|
|
1816
2717
|
event_id: string;
|
|
1817
2718
|
occurred_at: string;
|
|
1818
|
-
event_type: "action_attempt.
|
|
2719
|
+
event_type: "action_attempt.simulate_keypad_code_entry.failed";
|
|
2720
|
+
device_id?: string | undefined;
|
|
2721
|
+
connected_account_id?: string | undefined;
|
|
1819
2722
|
}> | z.ZodObject<{
|
|
1820
2723
|
event_id: z.ZodString;
|
|
1821
2724
|
workspace_id: z.ZodString;
|
|
@@ -1825,8 +2728,10 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1825
2728
|
action_attempt_id: z.ZodString;
|
|
1826
2729
|
action_type: z.ZodString;
|
|
1827
2730
|
status: z.ZodString;
|
|
2731
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
2732
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
1828
2733
|
} & {
|
|
1829
|
-
event_type: z.ZodLiteral<"action_attempt.
|
|
2734
|
+
event_type: z.ZodLiteral<"action_attempt.simulate_manual_lock_via_keypad.succeeded">;
|
|
1830
2735
|
}, "strip", z.ZodTypeAny, {
|
|
1831
2736
|
status: string;
|
|
1832
2737
|
workspace_id: string;
|
|
@@ -1835,7 +2740,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1835
2740
|
action_type: string;
|
|
1836
2741
|
event_id: string;
|
|
1837
2742
|
occurred_at: string;
|
|
1838
|
-
event_type: "action_attempt.
|
|
2743
|
+
event_type: "action_attempt.simulate_manual_lock_via_keypad.succeeded";
|
|
2744
|
+
device_id?: string | undefined;
|
|
2745
|
+
connected_account_id?: string | undefined;
|
|
1839
2746
|
}, {
|
|
1840
2747
|
status: string;
|
|
1841
2748
|
workspace_id: string;
|
|
@@ -1844,7 +2751,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1844
2751
|
action_type: string;
|
|
1845
2752
|
event_id: string;
|
|
1846
2753
|
occurred_at: string;
|
|
1847
|
-
event_type: "action_attempt.
|
|
2754
|
+
event_type: "action_attempt.simulate_manual_lock_via_keypad.succeeded";
|
|
2755
|
+
device_id?: string | undefined;
|
|
2756
|
+
connected_account_id?: string | undefined;
|
|
1848
2757
|
}> | z.ZodObject<{
|
|
1849
2758
|
event_id: z.ZodString;
|
|
1850
2759
|
workspace_id: z.ZodString;
|
|
@@ -1854,8 +2763,10 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1854
2763
|
action_attempt_id: z.ZodString;
|
|
1855
2764
|
action_type: z.ZodString;
|
|
1856
2765
|
status: z.ZodString;
|
|
2766
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
2767
|
+
connected_account_id: z.ZodOptional<z.ZodString>;
|
|
1857
2768
|
} & {
|
|
1858
|
-
event_type: z.ZodLiteral<"action_attempt.
|
|
2769
|
+
event_type: z.ZodLiteral<"action_attempt.simulate_manual_lock_via_keypad.failed">;
|
|
1859
2770
|
}, "strip", z.ZodTypeAny, {
|
|
1860
2771
|
status: string;
|
|
1861
2772
|
workspace_id: string;
|
|
@@ -1864,7 +2775,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1864
2775
|
action_type: string;
|
|
1865
2776
|
event_id: string;
|
|
1866
2777
|
occurred_at: string;
|
|
1867
|
-
event_type: "action_attempt.
|
|
2778
|
+
event_type: "action_attempt.simulate_manual_lock_via_keypad.failed";
|
|
2779
|
+
device_id?: string | undefined;
|
|
2780
|
+
connected_account_id?: string | undefined;
|
|
1868
2781
|
}, {
|
|
1869
2782
|
status: string;
|
|
1870
2783
|
workspace_id: string;
|
|
@@ -1873,7 +2786,9 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1873
2786
|
action_type: string;
|
|
1874
2787
|
event_id: string;
|
|
1875
2788
|
occurred_at: string;
|
|
1876
|
-
event_type: "action_attempt.
|
|
2789
|
+
event_type: "action_attempt.simulate_manual_lock_via_keypad.failed";
|
|
2790
|
+
device_id?: string | undefined;
|
|
2791
|
+
connected_account_id?: string | undefined;
|
|
1877
2792
|
}>)[], z.ZodObject<{
|
|
1878
2793
|
event_id: z.ZodString;
|
|
1879
2794
|
workspace_id: z.ZodString;
|
|
@@ -1937,6 +2852,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1937
2852
|
} & {
|
|
1938
2853
|
device_id: z.ZodString;
|
|
1939
2854
|
connected_account_id: z.ZodString;
|
|
2855
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1940
2856
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1941
2857
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1942
2858
|
} & {
|
|
@@ -1949,6 +2865,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1949
2865
|
event_id: string;
|
|
1950
2866
|
occurred_at: string;
|
|
1951
2867
|
event_type: "device.connected";
|
|
2868
|
+
customer_key?: string | undefined;
|
|
1952
2869
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1953
2870
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1954
2871
|
}, {
|
|
@@ -1959,6 +2876,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1959
2876
|
event_id: string;
|
|
1960
2877
|
occurred_at: string;
|
|
1961
2878
|
event_type: "device.connected";
|
|
2879
|
+
customer_key?: string | undefined;
|
|
1962
2880
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1963
2881
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1964
2882
|
}>, z.ZodObject<{
|
|
@@ -1969,6 +2887,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1969
2887
|
} & {
|
|
1970
2888
|
device_id: z.ZodString;
|
|
1971
2889
|
connected_account_id: z.ZodString;
|
|
2890
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
1972
2891
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1973
2892
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
1974
2893
|
} & {
|
|
@@ -1981,6 +2900,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1981
2900
|
event_id: string;
|
|
1982
2901
|
occurred_at: string;
|
|
1983
2902
|
event_type: "device.added";
|
|
2903
|
+
customer_key?: string | undefined;
|
|
1984
2904
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1985
2905
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1986
2906
|
}, {
|
|
@@ -1991,6 +2911,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1991
2911
|
event_id: string;
|
|
1992
2912
|
occurred_at: string;
|
|
1993
2913
|
event_type: "device.added";
|
|
2914
|
+
customer_key?: string | undefined;
|
|
1994
2915
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1995
2916
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
1996
2917
|
}>, z.ZodObject<{
|
|
@@ -2001,6 +2922,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2001
2922
|
} & {
|
|
2002
2923
|
device_id: z.ZodString;
|
|
2003
2924
|
connected_account_id: z.ZodString;
|
|
2925
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2004
2926
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2005
2927
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2006
2928
|
} & {
|
|
@@ -2013,6 +2935,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2013
2935
|
event_id: string;
|
|
2014
2936
|
occurred_at: string;
|
|
2015
2937
|
event_type: "device.converted_to_unmanaged";
|
|
2938
|
+
customer_key?: string | undefined;
|
|
2016
2939
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2017
2940
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2018
2941
|
}, {
|
|
@@ -2023,6 +2946,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2023
2946
|
event_id: string;
|
|
2024
2947
|
occurred_at: string;
|
|
2025
2948
|
event_type: "device.converted_to_unmanaged";
|
|
2949
|
+
customer_key?: string | undefined;
|
|
2026
2950
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2027
2951
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2028
2952
|
}>, z.ZodObject<{
|
|
@@ -2033,6 +2957,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2033
2957
|
} & {
|
|
2034
2958
|
device_id: z.ZodString;
|
|
2035
2959
|
connected_account_id: z.ZodString;
|
|
2960
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2036
2961
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2037
2962
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2038
2963
|
} & {
|
|
@@ -2045,6 +2970,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2045
2970
|
event_id: string;
|
|
2046
2971
|
occurred_at: string;
|
|
2047
2972
|
event_type: "device.unmanaged.converted_to_managed";
|
|
2973
|
+
customer_key?: string | undefined;
|
|
2048
2974
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2049
2975
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2050
2976
|
}, {
|
|
@@ -2055,6 +2981,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2055
2981
|
event_id: string;
|
|
2056
2982
|
occurred_at: string;
|
|
2057
2983
|
event_type: "device.unmanaged.converted_to_managed";
|
|
2984
|
+
customer_key?: string | undefined;
|
|
2058
2985
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2059
2986
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2060
2987
|
}>, z.ZodObject<{
|
|
@@ -2065,6 +2992,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2065
2992
|
} & {
|
|
2066
2993
|
device_id: z.ZodString;
|
|
2067
2994
|
connected_account_id: z.ZodString;
|
|
2995
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2068
2996
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2069
2997
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2070
2998
|
} & {
|
|
@@ -2077,6 +3005,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2077
3005
|
event_id: string;
|
|
2078
3006
|
occurred_at: string;
|
|
2079
3007
|
event_type: "device.unmanaged.connected";
|
|
3008
|
+
customer_key?: string | undefined;
|
|
2080
3009
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2081
3010
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2082
3011
|
}, {
|
|
@@ -2087,6 +3016,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2087
3016
|
event_id: string;
|
|
2088
3017
|
occurred_at: string;
|
|
2089
3018
|
event_type: "device.unmanaged.connected";
|
|
3019
|
+
customer_key?: string | undefined;
|
|
2090
3020
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2091
3021
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2092
3022
|
}>, z.ZodObject<{
|
|
@@ -2097,11 +3027,65 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2097
3027
|
} & {
|
|
2098
3028
|
device_id: z.ZodString;
|
|
2099
3029
|
connected_account_id: z.ZodString;
|
|
3030
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2100
3031
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2101
3032
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2102
3033
|
} & {
|
|
2103
3034
|
event_type: z.ZodLiteral<"device.disconnected">;
|
|
2104
3035
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
3036
|
+
} & {
|
|
3037
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
3038
|
+
created_at: z.ZodString;
|
|
3039
|
+
message: z.ZodString;
|
|
3040
|
+
error_code: z.ZodString;
|
|
3041
|
+
}, "strip", z.ZodTypeAny, {
|
|
3042
|
+
message: string;
|
|
3043
|
+
created_at: string;
|
|
3044
|
+
error_code: string;
|
|
3045
|
+
}, {
|
|
3046
|
+
message: string;
|
|
3047
|
+
created_at: string;
|
|
3048
|
+
error_code: string;
|
|
3049
|
+
}>, "many">;
|
|
3050
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
3051
|
+
created_at: z.ZodString;
|
|
3052
|
+
message: z.ZodString;
|
|
3053
|
+
warning_code: z.ZodString;
|
|
3054
|
+
}, "strip", z.ZodTypeAny, {
|
|
3055
|
+
message: string;
|
|
3056
|
+
created_at: string;
|
|
3057
|
+
warning_code: string;
|
|
3058
|
+
}, {
|
|
3059
|
+
message: string;
|
|
3060
|
+
created_at: string;
|
|
3061
|
+
warning_code: string;
|
|
3062
|
+
}>, "many">;
|
|
3063
|
+
device_errors: z.ZodArray<z.ZodObject<{
|
|
3064
|
+
created_at: z.ZodString;
|
|
3065
|
+
message: z.ZodString;
|
|
3066
|
+
error_code: z.ZodString;
|
|
3067
|
+
}, "strip", z.ZodTypeAny, {
|
|
3068
|
+
message: string;
|
|
3069
|
+
created_at: string;
|
|
3070
|
+
error_code: string;
|
|
3071
|
+
}, {
|
|
3072
|
+
message: string;
|
|
3073
|
+
created_at: string;
|
|
3074
|
+
error_code: string;
|
|
3075
|
+
}>, "many">;
|
|
3076
|
+
device_warnings: z.ZodArray<z.ZodObject<{
|
|
3077
|
+
created_at: z.ZodString;
|
|
3078
|
+
message: z.ZodString;
|
|
3079
|
+
warning_code: z.ZodString;
|
|
3080
|
+
}, "strip", z.ZodTypeAny, {
|
|
3081
|
+
message: string;
|
|
3082
|
+
created_at: string;
|
|
3083
|
+
warning_code: string;
|
|
3084
|
+
}, {
|
|
3085
|
+
message: string;
|
|
3086
|
+
created_at: string;
|
|
3087
|
+
warning_code: string;
|
|
3088
|
+
}>, "many">;
|
|
2105
3089
|
}, "strip", z.ZodTypeAny, {
|
|
2106
3090
|
device_id: string;
|
|
2107
3091
|
workspace_id: string;
|
|
@@ -2111,6 +3095,27 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2111
3095
|
event_id: string;
|
|
2112
3096
|
occurred_at: string;
|
|
2113
3097
|
event_type: "device.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;
|
|
2114
3119
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2115
3120
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2116
3121
|
}, {
|
|
@@ -2122,6 +3127,27 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2122
3127
|
event_id: string;
|
|
2123
3128
|
occurred_at: string;
|
|
2124
3129
|
event_type: "device.disconnected";
|
|
3130
|
+
connected_account_errors: {
|
|
3131
|
+
message: string;
|
|
3132
|
+
created_at: string;
|
|
3133
|
+
error_code: string;
|
|
3134
|
+
}[];
|
|
3135
|
+
connected_account_warnings: {
|
|
3136
|
+
message: string;
|
|
3137
|
+
created_at: string;
|
|
3138
|
+
warning_code: string;
|
|
3139
|
+
}[];
|
|
3140
|
+
device_errors: {
|
|
3141
|
+
message: string;
|
|
3142
|
+
created_at: string;
|
|
3143
|
+
error_code: string;
|
|
3144
|
+
}[];
|
|
3145
|
+
device_warnings: {
|
|
3146
|
+
message: string;
|
|
3147
|
+
created_at: string;
|
|
3148
|
+
warning_code: string;
|
|
3149
|
+
}[];
|
|
3150
|
+
customer_key?: string | undefined;
|
|
2125
3151
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2126
3152
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2127
3153
|
}>, z.ZodObject<{
|
|
@@ -2132,11 +3158,65 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2132
3158
|
} & {
|
|
2133
3159
|
device_id: z.ZodString;
|
|
2134
3160
|
connected_account_id: z.ZodString;
|
|
3161
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2135
3162
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2136
3163
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2137
3164
|
} & {
|
|
2138
3165
|
event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
|
|
2139
3166
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
3167
|
+
} & {
|
|
3168
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
3169
|
+
created_at: z.ZodString;
|
|
3170
|
+
message: z.ZodString;
|
|
3171
|
+
error_code: z.ZodString;
|
|
3172
|
+
}, "strip", z.ZodTypeAny, {
|
|
3173
|
+
message: string;
|
|
3174
|
+
created_at: string;
|
|
3175
|
+
error_code: string;
|
|
3176
|
+
}, {
|
|
3177
|
+
message: string;
|
|
3178
|
+
created_at: string;
|
|
3179
|
+
error_code: string;
|
|
3180
|
+
}>, "many">;
|
|
3181
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
3182
|
+
created_at: z.ZodString;
|
|
3183
|
+
message: z.ZodString;
|
|
3184
|
+
warning_code: z.ZodString;
|
|
3185
|
+
}, "strip", z.ZodTypeAny, {
|
|
3186
|
+
message: string;
|
|
3187
|
+
created_at: string;
|
|
3188
|
+
warning_code: string;
|
|
3189
|
+
}, {
|
|
3190
|
+
message: string;
|
|
3191
|
+
created_at: string;
|
|
3192
|
+
warning_code: string;
|
|
3193
|
+
}>, "many">;
|
|
3194
|
+
device_errors: z.ZodArray<z.ZodObject<{
|
|
3195
|
+
created_at: z.ZodString;
|
|
3196
|
+
message: z.ZodString;
|
|
3197
|
+
error_code: z.ZodString;
|
|
3198
|
+
}, "strip", z.ZodTypeAny, {
|
|
3199
|
+
message: string;
|
|
3200
|
+
created_at: string;
|
|
3201
|
+
error_code: string;
|
|
3202
|
+
}, {
|
|
3203
|
+
message: string;
|
|
3204
|
+
created_at: string;
|
|
3205
|
+
error_code: string;
|
|
3206
|
+
}>, "many">;
|
|
3207
|
+
device_warnings: z.ZodArray<z.ZodObject<{
|
|
3208
|
+
created_at: z.ZodString;
|
|
3209
|
+
message: z.ZodString;
|
|
3210
|
+
warning_code: z.ZodString;
|
|
3211
|
+
}, "strip", z.ZodTypeAny, {
|
|
3212
|
+
message: string;
|
|
3213
|
+
created_at: string;
|
|
3214
|
+
warning_code: string;
|
|
3215
|
+
}, {
|
|
3216
|
+
message: string;
|
|
3217
|
+
created_at: string;
|
|
3218
|
+
warning_code: string;
|
|
3219
|
+
}>, "many">;
|
|
2140
3220
|
}, "strip", z.ZodTypeAny, {
|
|
2141
3221
|
device_id: string;
|
|
2142
3222
|
workspace_id: string;
|
|
@@ -2146,6 +3226,27 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2146
3226
|
event_id: string;
|
|
2147
3227
|
occurred_at: string;
|
|
2148
3228
|
event_type: "device.unmanaged.disconnected";
|
|
3229
|
+
connected_account_errors: {
|
|
3230
|
+
message: string;
|
|
3231
|
+
created_at: string;
|
|
3232
|
+
error_code: string;
|
|
3233
|
+
}[];
|
|
3234
|
+
connected_account_warnings: {
|
|
3235
|
+
message: string;
|
|
3236
|
+
created_at: string;
|
|
3237
|
+
warning_code: string;
|
|
3238
|
+
}[];
|
|
3239
|
+
device_errors: {
|
|
3240
|
+
message: string;
|
|
3241
|
+
created_at: string;
|
|
3242
|
+
error_code: string;
|
|
3243
|
+
}[];
|
|
3244
|
+
device_warnings: {
|
|
3245
|
+
message: string;
|
|
3246
|
+
created_at: string;
|
|
3247
|
+
warning_code: string;
|
|
3248
|
+
}[];
|
|
3249
|
+
customer_key?: string | undefined;
|
|
2149
3250
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2150
3251
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2151
3252
|
}, {
|
|
@@ -2157,6 +3258,27 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2157
3258
|
event_id: string;
|
|
2158
3259
|
occurred_at: string;
|
|
2159
3260
|
event_type: "device.unmanaged.disconnected";
|
|
3261
|
+
connected_account_errors: {
|
|
3262
|
+
message: string;
|
|
3263
|
+
created_at: string;
|
|
3264
|
+
error_code: string;
|
|
3265
|
+
}[];
|
|
3266
|
+
connected_account_warnings: {
|
|
3267
|
+
message: string;
|
|
3268
|
+
created_at: string;
|
|
3269
|
+
warning_code: string;
|
|
3270
|
+
}[];
|
|
3271
|
+
device_errors: {
|
|
3272
|
+
message: string;
|
|
3273
|
+
created_at: string;
|
|
3274
|
+
error_code: string;
|
|
3275
|
+
}[];
|
|
3276
|
+
device_warnings: {
|
|
3277
|
+
message: string;
|
|
3278
|
+
created_at: string;
|
|
3279
|
+
warning_code: string;
|
|
3280
|
+
}[];
|
|
3281
|
+
customer_key?: string | undefined;
|
|
2160
3282
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2161
3283
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2162
3284
|
}>, z.ZodObject<{
|
|
@@ -2167,6 +3289,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2167
3289
|
} & {
|
|
2168
3290
|
device_id: z.ZodString;
|
|
2169
3291
|
connected_account_id: z.ZodString;
|
|
3292
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2170
3293
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2171
3294
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2172
3295
|
} & {
|
|
@@ -2179,6 +3302,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2179
3302
|
event_id: string;
|
|
2180
3303
|
occurred_at: string;
|
|
2181
3304
|
event_type: "device.tampered";
|
|
3305
|
+
customer_key?: string | undefined;
|
|
2182
3306
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2183
3307
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2184
3308
|
}, {
|
|
@@ -2189,6 +3313,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2189
3313
|
event_id: string;
|
|
2190
3314
|
occurred_at: string;
|
|
2191
3315
|
event_type: "device.tampered";
|
|
3316
|
+
customer_key?: string | undefined;
|
|
2192
3317
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2193
3318
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2194
3319
|
}>, z.ZodObject<{
|
|
@@ -2199,6 +3324,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2199
3324
|
} & {
|
|
2200
3325
|
device_id: z.ZodString;
|
|
2201
3326
|
connected_account_id: z.ZodString;
|
|
3327
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2202
3328
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2203
3329
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2204
3330
|
} & {
|
|
@@ -2213,6 +3339,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2213
3339
|
event_id: string;
|
|
2214
3340
|
occurred_at: string;
|
|
2215
3341
|
event_type: "device.low_battery";
|
|
3342
|
+
customer_key?: string | undefined;
|
|
2216
3343
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2217
3344
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2218
3345
|
}, {
|
|
@@ -2224,6 +3351,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2224
3351
|
event_id: string;
|
|
2225
3352
|
occurred_at: string;
|
|
2226
3353
|
event_type: "device.low_battery";
|
|
3354
|
+
customer_key?: string | undefined;
|
|
2227
3355
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2228
3356
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2229
3357
|
}>, z.ZodObject<{
|
|
@@ -2234,6 +3362,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2234
3362
|
} & {
|
|
2235
3363
|
device_id: z.ZodString;
|
|
2236
3364
|
connected_account_id: z.ZodString;
|
|
3365
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2237
3366
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2238
3367
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2239
3368
|
} & {
|
|
@@ -2250,6 +3379,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2250
3379
|
occurred_at: string;
|
|
2251
3380
|
event_type: "device.battery_status_changed";
|
|
2252
3381
|
battery_status: "critical" | "low" | "good" | "full";
|
|
3382
|
+
customer_key?: string | undefined;
|
|
2253
3383
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2254
3384
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2255
3385
|
}, {
|
|
@@ -2262,6 +3392,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2262
3392
|
occurred_at: string;
|
|
2263
3393
|
event_type: "device.battery_status_changed";
|
|
2264
3394
|
battery_status: "critical" | "low" | "good" | "full";
|
|
3395
|
+
customer_key?: string | undefined;
|
|
2265
3396
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2266
3397
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2267
3398
|
}>, z.ZodObject<{
|
|
@@ -2272,6 +3403,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2272
3403
|
} & {
|
|
2273
3404
|
device_id: z.ZodString;
|
|
2274
3405
|
connected_account_id: z.ZodString;
|
|
3406
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2275
3407
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2276
3408
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2277
3409
|
} & {
|
|
@@ -2284,6 +3416,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2284
3416
|
event_id: string;
|
|
2285
3417
|
occurred_at: string;
|
|
2286
3418
|
event_type: "device.removed";
|
|
3419
|
+
customer_key?: string | undefined;
|
|
2287
3420
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2288
3421
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2289
3422
|
}, {
|
|
@@ -2294,6 +3427,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2294
3427
|
event_id: string;
|
|
2295
3428
|
occurred_at: string;
|
|
2296
3429
|
event_type: "device.removed";
|
|
3430
|
+
customer_key?: string | undefined;
|
|
2297
3431
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2298
3432
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2299
3433
|
}>, z.ZodObject<{
|
|
@@ -2304,6 +3438,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2304
3438
|
} & {
|
|
2305
3439
|
device_id: z.ZodString;
|
|
2306
3440
|
connected_account_id: z.ZodString;
|
|
3441
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2307
3442
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2308
3443
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2309
3444
|
} & {
|
|
@@ -2316,6 +3451,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2316
3451
|
event_id: string;
|
|
2317
3452
|
occurred_at: string;
|
|
2318
3453
|
event_type: "device.deleted";
|
|
3454
|
+
customer_key?: string | undefined;
|
|
2319
3455
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2320
3456
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2321
3457
|
}, {
|
|
@@ -2326,6 +3462,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2326
3462
|
event_id: string;
|
|
2327
3463
|
occurred_at: string;
|
|
2328
3464
|
event_type: "device.deleted";
|
|
3465
|
+
customer_key?: string | undefined;
|
|
2329
3466
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2330
3467
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2331
3468
|
}>, z.ZodObject<{
|
|
@@ -2336,6 +3473,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2336
3473
|
} & {
|
|
2337
3474
|
device_id: z.ZodString;
|
|
2338
3475
|
connected_account_id: z.ZodString;
|
|
3476
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2339
3477
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2340
3478
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2341
3479
|
} & {
|
|
@@ -2348,6 +3486,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2348
3486
|
event_id: string;
|
|
2349
3487
|
occurred_at: string;
|
|
2350
3488
|
event_type: "device.third_party_integration_detected";
|
|
3489
|
+
customer_key?: string | undefined;
|
|
2351
3490
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2352
3491
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2353
3492
|
}, {
|
|
@@ -2358,6 +3497,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2358
3497
|
event_id: string;
|
|
2359
3498
|
occurred_at: string;
|
|
2360
3499
|
event_type: "device.third_party_integration_detected";
|
|
3500
|
+
customer_key?: string | undefined;
|
|
2361
3501
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2362
3502
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2363
3503
|
}>, z.ZodObject<{
|
|
@@ -2368,6 +3508,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2368
3508
|
} & {
|
|
2369
3509
|
device_id: z.ZodString;
|
|
2370
3510
|
connected_account_id: z.ZodString;
|
|
3511
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2371
3512
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2372
3513
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2373
3514
|
} & {
|
|
@@ -2380,6 +3521,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2380
3521
|
event_id: string;
|
|
2381
3522
|
occurred_at: string;
|
|
2382
3523
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
3524
|
+
customer_key?: string | undefined;
|
|
2383
3525
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2384
3526
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2385
3527
|
}, {
|
|
@@ -2390,6 +3532,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2390
3532
|
event_id: string;
|
|
2391
3533
|
occurred_at: string;
|
|
2392
3534
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
3535
|
+
customer_key?: string | undefined;
|
|
2393
3536
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2394
3537
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2395
3538
|
}>, z.ZodObject<{
|
|
@@ -2400,6 +3543,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2400
3543
|
} & {
|
|
2401
3544
|
device_id: z.ZodString;
|
|
2402
3545
|
connected_account_id: z.ZodString;
|
|
3546
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2403
3547
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2404
3548
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2405
3549
|
} & {
|
|
@@ -2412,6 +3556,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2412
3556
|
event_id: string;
|
|
2413
3557
|
occurred_at: string;
|
|
2414
3558
|
event_type: "device.salto.privacy_mode_activated";
|
|
3559
|
+
customer_key?: string | undefined;
|
|
2415
3560
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2416
3561
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2417
3562
|
}, {
|
|
@@ -2422,6 +3567,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2422
3567
|
event_id: string;
|
|
2423
3568
|
occurred_at: string;
|
|
2424
3569
|
event_type: "device.salto.privacy_mode_activated";
|
|
3570
|
+
customer_key?: string | undefined;
|
|
2425
3571
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2426
3572
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2427
3573
|
}>, z.ZodObject<{
|
|
@@ -2432,6 +3578,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2432
3578
|
} & {
|
|
2433
3579
|
device_id: z.ZodString;
|
|
2434
3580
|
connected_account_id: z.ZodString;
|
|
3581
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2435
3582
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2436
3583
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2437
3584
|
} & {
|
|
@@ -2444,6 +3591,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2444
3591
|
event_id: string;
|
|
2445
3592
|
occurred_at: string;
|
|
2446
3593
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
3594
|
+
customer_key?: string | undefined;
|
|
2447
3595
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2448
3596
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2449
3597
|
}, {
|
|
@@ -2454,6 +3602,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2454
3602
|
event_id: string;
|
|
2455
3603
|
occurred_at: string;
|
|
2456
3604
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
3605
|
+
customer_key?: string | undefined;
|
|
2457
3606
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2458
3607
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2459
3608
|
}>, z.ZodObject<{
|
|
@@ -2464,10 +3613,64 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2464
3613
|
} & {
|
|
2465
3614
|
device_id: z.ZodString;
|
|
2466
3615
|
connected_account_id: z.ZodString;
|
|
3616
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2467
3617
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2468
3618
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2469
3619
|
} & {
|
|
2470
3620
|
event_type: z.ZodLiteral<"device.connection_became_flaky">;
|
|
3621
|
+
} & {
|
|
3622
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
3623
|
+
created_at: z.ZodString;
|
|
3624
|
+
message: z.ZodString;
|
|
3625
|
+
error_code: z.ZodString;
|
|
3626
|
+
}, "strip", z.ZodTypeAny, {
|
|
3627
|
+
message: string;
|
|
3628
|
+
created_at: string;
|
|
3629
|
+
error_code: string;
|
|
3630
|
+
}, {
|
|
3631
|
+
message: string;
|
|
3632
|
+
created_at: string;
|
|
3633
|
+
error_code: string;
|
|
3634
|
+
}>, "many">;
|
|
3635
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
3636
|
+
created_at: z.ZodString;
|
|
3637
|
+
message: z.ZodString;
|
|
3638
|
+
warning_code: z.ZodString;
|
|
3639
|
+
}, "strip", z.ZodTypeAny, {
|
|
3640
|
+
message: string;
|
|
3641
|
+
created_at: string;
|
|
3642
|
+
warning_code: string;
|
|
3643
|
+
}, {
|
|
3644
|
+
message: string;
|
|
3645
|
+
created_at: string;
|
|
3646
|
+
warning_code: string;
|
|
3647
|
+
}>, "many">;
|
|
3648
|
+
device_errors: z.ZodArray<z.ZodObject<{
|
|
3649
|
+
created_at: z.ZodString;
|
|
3650
|
+
message: z.ZodString;
|
|
3651
|
+
error_code: z.ZodString;
|
|
3652
|
+
}, "strip", z.ZodTypeAny, {
|
|
3653
|
+
message: string;
|
|
3654
|
+
created_at: string;
|
|
3655
|
+
error_code: string;
|
|
3656
|
+
}, {
|
|
3657
|
+
message: string;
|
|
3658
|
+
created_at: string;
|
|
3659
|
+
error_code: string;
|
|
3660
|
+
}>, "many">;
|
|
3661
|
+
device_warnings: z.ZodArray<z.ZodObject<{
|
|
3662
|
+
created_at: z.ZodString;
|
|
3663
|
+
message: z.ZodString;
|
|
3664
|
+
warning_code: z.ZodString;
|
|
3665
|
+
}, "strip", z.ZodTypeAny, {
|
|
3666
|
+
message: string;
|
|
3667
|
+
created_at: string;
|
|
3668
|
+
warning_code: string;
|
|
3669
|
+
}, {
|
|
3670
|
+
message: string;
|
|
3671
|
+
created_at: string;
|
|
3672
|
+
warning_code: string;
|
|
3673
|
+
}>, "many">;
|
|
2471
3674
|
}, "strip", z.ZodTypeAny, {
|
|
2472
3675
|
device_id: string;
|
|
2473
3676
|
workspace_id: string;
|
|
@@ -2476,6 +3679,27 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2476
3679
|
event_id: string;
|
|
2477
3680
|
occurred_at: string;
|
|
2478
3681
|
event_type: "device.connection_became_flaky";
|
|
3682
|
+
connected_account_errors: {
|
|
3683
|
+
message: string;
|
|
3684
|
+
created_at: string;
|
|
3685
|
+
error_code: string;
|
|
3686
|
+
}[];
|
|
3687
|
+
connected_account_warnings: {
|
|
3688
|
+
message: string;
|
|
3689
|
+
created_at: string;
|
|
3690
|
+
warning_code: string;
|
|
3691
|
+
}[];
|
|
3692
|
+
device_errors: {
|
|
3693
|
+
message: string;
|
|
3694
|
+
created_at: string;
|
|
3695
|
+
error_code: string;
|
|
3696
|
+
}[];
|
|
3697
|
+
device_warnings: {
|
|
3698
|
+
message: string;
|
|
3699
|
+
created_at: string;
|
|
3700
|
+
warning_code: string;
|
|
3701
|
+
}[];
|
|
3702
|
+
customer_key?: string | undefined;
|
|
2479
3703
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2480
3704
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2481
3705
|
}, {
|
|
@@ -2486,6 +3710,27 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2486
3710
|
event_id: string;
|
|
2487
3711
|
occurred_at: string;
|
|
2488
3712
|
event_type: "device.connection_became_flaky";
|
|
3713
|
+
connected_account_errors: {
|
|
3714
|
+
message: string;
|
|
3715
|
+
created_at: string;
|
|
3716
|
+
error_code: string;
|
|
3717
|
+
}[];
|
|
3718
|
+
connected_account_warnings: {
|
|
3719
|
+
message: string;
|
|
3720
|
+
created_at: string;
|
|
3721
|
+
warning_code: string;
|
|
3722
|
+
}[];
|
|
3723
|
+
device_errors: {
|
|
3724
|
+
message: string;
|
|
3725
|
+
created_at: string;
|
|
3726
|
+
error_code: string;
|
|
3727
|
+
}[];
|
|
3728
|
+
device_warnings: {
|
|
3729
|
+
message: string;
|
|
3730
|
+
created_at: string;
|
|
3731
|
+
warning_code: string;
|
|
3732
|
+
}[];
|
|
3733
|
+
customer_key?: string | undefined;
|
|
2489
3734
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2490
3735
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2491
3736
|
}>, z.ZodObject<{
|
|
@@ -2496,6 +3741,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2496
3741
|
} & {
|
|
2497
3742
|
device_id: z.ZodString;
|
|
2498
3743
|
connected_account_id: z.ZodString;
|
|
3744
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2499
3745
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2500
3746
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2501
3747
|
} & {
|
|
@@ -2508,6 +3754,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2508
3754
|
event_id: string;
|
|
2509
3755
|
occurred_at: string;
|
|
2510
3756
|
event_type: "device.connection_stabilized";
|
|
3757
|
+
customer_key?: string | undefined;
|
|
2511
3758
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2512
3759
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2513
3760
|
}, {
|
|
@@ -2518,6 +3765,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2518
3765
|
event_id: string;
|
|
2519
3766
|
occurred_at: string;
|
|
2520
3767
|
event_type: "device.connection_stabilized";
|
|
3768
|
+
customer_key?: string | undefined;
|
|
2521
3769
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2522
3770
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2523
3771
|
}>, z.ZodObject<{
|
|
@@ -2528,10 +3776,64 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2528
3776
|
} & {
|
|
2529
3777
|
device_id: z.ZodString;
|
|
2530
3778
|
connected_account_id: z.ZodString;
|
|
3779
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2531
3780
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2532
3781
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2533
3782
|
} & {
|
|
2534
3783
|
event_type: z.ZodLiteral<"device.error.subscription_required">;
|
|
3784
|
+
} & {
|
|
3785
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
3786
|
+
created_at: z.ZodString;
|
|
3787
|
+
message: z.ZodString;
|
|
3788
|
+
error_code: z.ZodString;
|
|
3789
|
+
}, "strip", z.ZodTypeAny, {
|
|
3790
|
+
message: string;
|
|
3791
|
+
created_at: string;
|
|
3792
|
+
error_code: string;
|
|
3793
|
+
}, {
|
|
3794
|
+
message: string;
|
|
3795
|
+
created_at: string;
|
|
3796
|
+
error_code: string;
|
|
3797
|
+
}>, "many">;
|
|
3798
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
3799
|
+
created_at: z.ZodString;
|
|
3800
|
+
message: z.ZodString;
|
|
3801
|
+
warning_code: z.ZodString;
|
|
3802
|
+
}, "strip", z.ZodTypeAny, {
|
|
3803
|
+
message: string;
|
|
3804
|
+
created_at: string;
|
|
3805
|
+
warning_code: string;
|
|
3806
|
+
}, {
|
|
3807
|
+
message: string;
|
|
3808
|
+
created_at: string;
|
|
3809
|
+
warning_code: string;
|
|
3810
|
+
}>, "many">;
|
|
3811
|
+
device_errors: z.ZodArray<z.ZodObject<{
|
|
3812
|
+
created_at: z.ZodString;
|
|
3813
|
+
message: z.ZodString;
|
|
3814
|
+
error_code: z.ZodString;
|
|
3815
|
+
}, "strip", z.ZodTypeAny, {
|
|
3816
|
+
message: string;
|
|
3817
|
+
created_at: string;
|
|
3818
|
+
error_code: string;
|
|
3819
|
+
}, {
|
|
3820
|
+
message: string;
|
|
3821
|
+
created_at: string;
|
|
3822
|
+
error_code: string;
|
|
3823
|
+
}>, "many">;
|
|
3824
|
+
device_warnings: z.ZodArray<z.ZodObject<{
|
|
3825
|
+
created_at: z.ZodString;
|
|
3826
|
+
message: z.ZodString;
|
|
3827
|
+
warning_code: z.ZodString;
|
|
3828
|
+
}, "strip", z.ZodTypeAny, {
|
|
3829
|
+
message: string;
|
|
3830
|
+
created_at: string;
|
|
3831
|
+
warning_code: string;
|
|
3832
|
+
}, {
|
|
3833
|
+
message: string;
|
|
3834
|
+
created_at: string;
|
|
3835
|
+
warning_code: string;
|
|
3836
|
+
}>, "many">;
|
|
2535
3837
|
}, "strip", z.ZodTypeAny, {
|
|
2536
3838
|
device_id: string;
|
|
2537
3839
|
workspace_id: string;
|
|
@@ -2540,6 +3842,27 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2540
3842
|
event_id: string;
|
|
2541
3843
|
occurred_at: string;
|
|
2542
3844
|
event_type: "device.error.subscription_required";
|
|
3845
|
+
connected_account_errors: {
|
|
3846
|
+
message: string;
|
|
3847
|
+
created_at: string;
|
|
3848
|
+
error_code: string;
|
|
3849
|
+
}[];
|
|
3850
|
+
connected_account_warnings: {
|
|
3851
|
+
message: string;
|
|
3852
|
+
created_at: string;
|
|
3853
|
+
warning_code: string;
|
|
3854
|
+
}[];
|
|
3855
|
+
device_errors: {
|
|
3856
|
+
message: string;
|
|
3857
|
+
created_at: string;
|
|
3858
|
+
error_code: string;
|
|
3859
|
+
}[];
|
|
3860
|
+
device_warnings: {
|
|
3861
|
+
message: string;
|
|
3862
|
+
created_at: string;
|
|
3863
|
+
warning_code: string;
|
|
3864
|
+
}[];
|
|
3865
|
+
customer_key?: string | undefined;
|
|
2543
3866
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2544
3867
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2545
3868
|
}, {
|
|
@@ -2550,6 +3873,27 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2550
3873
|
event_id: string;
|
|
2551
3874
|
occurred_at: string;
|
|
2552
3875
|
event_type: "device.error.subscription_required";
|
|
3876
|
+
connected_account_errors: {
|
|
3877
|
+
message: string;
|
|
3878
|
+
created_at: string;
|
|
3879
|
+
error_code: string;
|
|
3880
|
+
}[];
|
|
3881
|
+
connected_account_warnings: {
|
|
3882
|
+
message: string;
|
|
3883
|
+
created_at: string;
|
|
3884
|
+
warning_code: string;
|
|
3885
|
+
}[];
|
|
3886
|
+
device_errors: {
|
|
3887
|
+
message: string;
|
|
3888
|
+
created_at: string;
|
|
3889
|
+
error_code: string;
|
|
3890
|
+
}[];
|
|
3891
|
+
device_warnings: {
|
|
3892
|
+
message: string;
|
|
3893
|
+
created_at: string;
|
|
3894
|
+
warning_code: string;
|
|
3895
|
+
}[];
|
|
3896
|
+
customer_key?: string | undefined;
|
|
2553
3897
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2554
3898
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2555
3899
|
}>, z.ZodObject<{
|
|
@@ -2560,6 +3904,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2560
3904
|
} & {
|
|
2561
3905
|
device_id: z.ZodString;
|
|
2562
3906
|
connected_account_id: z.ZodString;
|
|
3907
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2563
3908
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2564
3909
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2565
3910
|
} & {
|
|
@@ -2572,6 +3917,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2572
3917
|
event_id: string;
|
|
2573
3918
|
occurred_at: string;
|
|
2574
3919
|
event_type: "device.error.subscription_required.resolved";
|
|
3920
|
+
customer_key?: string | undefined;
|
|
2575
3921
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2576
3922
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2577
3923
|
}, {
|
|
@@ -2582,6 +3928,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2582
3928
|
event_id: string;
|
|
2583
3929
|
occurred_at: string;
|
|
2584
3930
|
event_type: "device.error.subscription_required.resolved";
|
|
3931
|
+
customer_key?: string | undefined;
|
|
2585
3932
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2586
3933
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2587
3934
|
}>, z.ZodObject<{
|
|
@@ -2592,6 +3939,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2592
3939
|
} & {
|
|
2593
3940
|
device_id: z.ZodString;
|
|
2594
3941
|
connected_account_id: z.ZodString;
|
|
3942
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2595
3943
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2596
3944
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2597
3945
|
} & {
|
|
@@ -2604,6 +3952,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2604
3952
|
event_id: string;
|
|
2605
3953
|
occurred_at: string;
|
|
2606
3954
|
event_type: "device.accessory_keypad_connected";
|
|
3955
|
+
customer_key?: string | undefined;
|
|
2607
3956
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2608
3957
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2609
3958
|
}, {
|
|
@@ -2614,6 +3963,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2614
3963
|
event_id: string;
|
|
2615
3964
|
occurred_at: string;
|
|
2616
3965
|
event_type: "device.accessory_keypad_connected";
|
|
3966
|
+
customer_key?: string | undefined;
|
|
2617
3967
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2618
3968
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2619
3969
|
}>, z.ZodObject<{
|
|
@@ -2624,10 +3974,64 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2624
3974
|
} & {
|
|
2625
3975
|
device_id: z.ZodString;
|
|
2626
3976
|
connected_account_id: z.ZodString;
|
|
3977
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2627
3978
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2628
3979
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2629
3980
|
} & {
|
|
2630
3981
|
event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
|
|
3982
|
+
} & {
|
|
3983
|
+
connected_account_errors: z.ZodArray<z.ZodObject<{
|
|
3984
|
+
created_at: z.ZodString;
|
|
3985
|
+
message: z.ZodString;
|
|
3986
|
+
error_code: z.ZodString;
|
|
3987
|
+
}, "strip", z.ZodTypeAny, {
|
|
3988
|
+
message: string;
|
|
3989
|
+
created_at: string;
|
|
3990
|
+
error_code: string;
|
|
3991
|
+
}, {
|
|
3992
|
+
message: string;
|
|
3993
|
+
created_at: string;
|
|
3994
|
+
error_code: string;
|
|
3995
|
+
}>, "many">;
|
|
3996
|
+
connected_account_warnings: z.ZodArray<z.ZodObject<{
|
|
3997
|
+
created_at: z.ZodString;
|
|
3998
|
+
message: z.ZodString;
|
|
3999
|
+
warning_code: z.ZodString;
|
|
4000
|
+
}, "strip", z.ZodTypeAny, {
|
|
4001
|
+
message: string;
|
|
4002
|
+
created_at: string;
|
|
4003
|
+
warning_code: string;
|
|
4004
|
+
}, {
|
|
4005
|
+
message: string;
|
|
4006
|
+
created_at: string;
|
|
4007
|
+
warning_code: string;
|
|
4008
|
+
}>, "many">;
|
|
4009
|
+
device_errors: z.ZodArray<z.ZodObject<{
|
|
4010
|
+
created_at: z.ZodString;
|
|
4011
|
+
message: z.ZodString;
|
|
4012
|
+
error_code: z.ZodString;
|
|
4013
|
+
}, "strip", z.ZodTypeAny, {
|
|
4014
|
+
message: string;
|
|
4015
|
+
created_at: string;
|
|
4016
|
+
error_code: string;
|
|
4017
|
+
}, {
|
|
4018
|
+
message: string;
|
|
4019
|
+
created_at: string;
|
|
4020
|
+
error_code: string;
|
|
4021
|
+
}>, "many">;
|
|
4022
|
+
device_warnings: z.ZodArray<z.ZodObject<{
|
|
4023
|
+
created_at: z.ZodString;
|
|
4024
|
+
message: z.ZodString;
|
|
4025
|
+
warning_code: z.ZodString;
|
|
4026
|
+
}, "strip", z.ZodTypeAny, {
|
|
4027
|
+
message: string;
|
|
4028
|
+
created_at: string;
|
|
4029
|
+
warning_code: string;
|
|
4030
|
+
}, {
|
|
4031
|
+
message: string;
|
|
4032
|
+
created_at: string;
|
|
4033
|
+
warning_code: string;
|
|
4034
|
+
}>, "many">;
|
|
2631
4035
|
}, "strip", z.ZodTypeAny, {
|
|
2632
4036
|
device_id: string;
|
|
2633
4037
|
workspace_id: string;
|
|
@@ -2636,6 +4040,27 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2636
4040
|
event_id: string;
|
|
2637
4041
|
occurred_at: string;
|
|
2638
4042
|
event_type: "device.accessory_keypad_disconnected";
|
|
4043
|
+
connected_account_errors: {
|
|
4044
|
+
message: string;
|
|
4045
|
+
created_at: string;
|
|
4046
|
+
error_code: string;
|
|
4047
|
+
}[];
|
|
4048
|
+
connected_account_warnings: {
|
|
4049
|
+
message: string;
|
|
4050
|
+
created_at: string;
|
|
4051
|
+
warning_code: string;
|
|
4052
|
+
}[];
|
|
4053
|
+
device_errors: {
|
|
4054
|
+
message: string;
|
|
4055
|
+
created_at: string;
|
|
4056
|
+
error_code: string;
|
|
4057
|
+
}[];
|
|
4058
|
+
device_warnings: {
|
|
4059
|
+
message: string;
|
|
4060
|
+
created_at: string;
|
|
4061
|
+
warning_code: string;
|
|
4062
|
+
}[];
|
|
4063
|
+
customer_key?: string | undefined;
|
|
2639
4064
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2640
4065
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2641
4066
|
}, {
|
|
@@ -2646,6 +4071,27 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2646
4071
|
event_id: string;
|
|
2647
4072
|
occurred_at: string;
|
|
2648
4073
|
event_type: "device.accessory_keypad_disconnected";
|
|
4074
|
+
connected_account_errors: {
|
|
4075
|
+
message: string;
|
|
4076
|
+
created_at: string;
|
|
4077
|
+
error_code: string;
|
|
4078
|
+
}[];
|
|
4079
|
+
connected_account_warnings: {
|
|
4080
|
+
message: string;
|
|
4081
|
+
created_at: string;
|
|
4082
|
+
warning_code: string;
|
|
4083
|
+
}[];
|
|
4084
|
+
device_errors: {
|
|
4085
|
+
message: string;
|
|
4086
|
+
created_at: string;
|
|
4087
|
+
error_code: string;
|
|
4088
|
+
}[];
|
|
4089
|
+
device_warnings: {
|
|
4090
|
+
message: string;
|
|
4091
|
+
created_at: string;
|
|
4092
|
+
warning_code: string;
|
|
4093
|
+
}[];
|
|
4094
|
+
customer_key?: string | undefined;
|
|
2649
4095
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2650
4096
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2651
4097
|
}>, z.ZodObject<{
|
|
@@ -2656,6 +4102,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2656
4102
|
} & {
|
|
2657
4103
|
device_id: z.ZodString;
|
|
2658
4104
|
connected_account_id: z.ZodString;
|
|
4105
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2659
4106
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2660
4107
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2661
4108
|
} & {
|
|
@@ -2674,6 +4121,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2674
4121
|
event_id: string;
|
|
2675
4122
|
occurred_at: string;
|
|
2676
4123
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
4124
|
+
customer_key?: string | undefined;
|
|
2677
4125
|
noise_level_nrs?: number | undefined;
|
|
2678
4126
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
2679
4127
|
minut_metadata?: Record<string, unknown> | undefined;
|
|
@@ -2690,6 +4138,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2690
4138
|
event_id: string;
|
|
2691
4139
|
occurred_at: string;
|
|
2692
4140
|
event_type: "noise_sensor.noise_threshold_triggered";
|
|
4141
|
+
customer_key?: string | undefined;
|
|
2693
4142
|
noise_level_nrs?: number | undefined;
|
|
2694
4143
|
noiseaware_metadata?: Record<string, unknown> | undefined;
|
|
2695
4144
|
minut_metadata?: Record<string, unknown> | undefined;
|
|
@@ -2706,6 +4155,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2706
4155
|
} & {
|
|
2707
4156
|
device_id: z.ZodString;
|
|
2708
4157
|
connected_account_id: z.ZodString;
|
|
4158
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2709
4159
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2710
4160
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2711
4161
|
} & {
|
|
@@ -2723,6 +4173,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2723
4173
|
occurred_at: string;
|
|
2724
4174
|
event_type: "lock.locked";
|
|
2725
4175
|
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
4176
|
+
customer_key?: string | undefined;
|
|
2726
4177
|
access_code_id?: string | undefined;
|
|
2727
4178
|
action_attempt_id?: string | undefined;
|
|
2728
4179
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -2737,6 +4188,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2737
4188
|
occurred_at: string;
|
|
2738
4189
|
event_type: "lock.locked";
|
|
2739
4190
|
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
4191
|
+
customer_key?: string | undefined;
|
|
2740
4192
|
access_code_id?: string | undefined;
|
|
2741
4193
|
action_attempt_id?: string | undefined;
|
|
2742
4194
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -2748,6 +4200,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2748
4200
|
created_at: z.ZodString;
|
|
2749
4201
|
occurred_at: z.ZodString;
|
|
2750
4202
|
connected_account_id: z.ZodString;
|
|
4203
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2751
4204
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2752
4205
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2753
4206
|
} & {
|
|
@@ -2770,6 +4223,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2770
4223
|
event_type: "lock.unlocked";
|
|
2771
4224
|
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
2772
4225
|
device_id?: string | undefined;
|
|
4226
|
+
customer_key?: string | undefined;
|
|
2773
4227
|
access_code_id?: string | undefined;
|
|
2774
4228
|
user_identity_id?: string | undefined;
|
|
2775
4229
|
acs_system_id?: string | undefined;
|
|
@@ -2788,6 +4242,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2788
4242
|
event_type: "lock.unlocked";
|
|
2789
4243
|
method: "unknown" | "keycode" | "manual" | "automatic" | "seamapi";
|
|
2790
4244
|
device_id?: string | undefined;
|
|
4245
|
+
customer_key?: string | undefined;
|
|
2791
4246
|
access_code_id?: string | undefined;
|
|
2792
4247
|
user_identity_id?: string | undefined;
|
|
2793
4248
|
acs_system_id?: string | undefined;
|
|
@@ -2805,6 +4260,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2805
4260
|
} & {
|
|
2806
4261
|
device_id: z.ZodString;
|
|
2807
4262
|
connected_account_id: z.ZodString;
|
|
4263
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2808
4264
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2809
4265
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2810
4266
|
} & {
|
|
@@ -2818,6 +4274,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2818
4274
|
event_id: string;
|
|
2819
4275
|
occurred_at: string;
|
|
2820
4276
|
event_type: "lock.access_denied";
|
|
4277
|
+
customer_key?: string | undefined;
|
|
2821
4278
|
access_code_id?: string | undefined;
|
|
2822
4279
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2823
4280
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -2829,6 +4286,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2829
4286
|
event_id: string;
|
|
2830
4287
|
occurred_at: string;
|
|
2831
4288
|
event_type: "lock.access_denied";
|
|
4289
|
+
customer_key?: string | undefined;
|
|
2832
4290
|
access_code_id?: string | undefined;
|
|
2833
4291
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2834
4292
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
@@ -2840,6 +4298,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2840
4298
|
} & {
|
|
2841
4299
|
device_id: z.ZodString;
|
|
2842
4300
|
connected_account_id: z.ZodString;
|
|
4301
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2843
4302
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2844
4303
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2845
4304
|
} & {
|
|
@@ -2858,6 +4317,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2858
4317
|
occurred_at: string;
|
|
2859
4318
|
event_type: "thermostat.climate_preset_activated";
|
|
2860
4319
|
is_fallback_climate_preset: boolean;
|
|
4320
|
+
customer_key?: string | undefined;
|
|
2861
4321
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2862
4322
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2863
4323
|
}, {
|
|
@@ -2871,6 +4331,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2871
4331
|
occurred_at: string;
|
|
2872
4332
|
event_type: "thermostat.climate_preset_activated";
|
|
2873
4333
|
is_fallback_climate_preset: boolean;
|
|
4334
|
+
customer_key?: string | undefined;
|
|
2874
4335
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2875
4336
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2876
4337
|
}>, z.ZodObject<{
|
|
@@ -2881,6 +4342,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2881
4342
|
} & {
|
|
2882
4343
|
device_id: z.ZodString;
|
|
2883
4344
|
connected_account_id: z.ZodString;
|
|
4345
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2884
4346
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2885
4347
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2886
4348
|
} & {
|
|
@@ -2929,6 +4391,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2929
4391
|
heating_set_point_celsius?: number | undefined;
|
|
2930
4392
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
2931
4393
|
heating_set_point_fahrenheit?: number | undefined;
|
|
4394
|
+
customer_key?: string | undefined;
|
|
2932
4395
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2933
4396
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2934
4397
|
}, {
|
|
@@ -2946,6 +4409,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2946
4409
|
heating_set_point_celsius?: number | undefined;
|
|
2947
4410
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
2948
4411
|
heating_set_point_fahrenheit?: number | undefined;
|
|
4412
|
+
customer_key?: string | undefined;
|
|
2949
4413
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2950
4414
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2951
4415
|
}>, z.ZodObject<{
|
|
@@ -2956,6 +4420,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2956
4420
|
} & {
|
|
2957
4421
|
device_id: z.ZodString;
|
|
2958
4422
|
connected_account_id: z.ZodString;
|
|
4423
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
2959
4424
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2960
4425
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
2961
4426
|
} & {
|
|
@@ -2980,6 +4445,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2980
4445
|
event_id: string;
|
|
2981
4446
|
occurred_at: string;
|
|
2982
4447
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
4448
|
+
customer_key?: string | undefined;
|
|
2983
4449
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2984
4450
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
2985
4451
|
}, {
|
|
@@ -2996,6 +4462,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
2996
4462
|
event_id: string;
|
|
2997
4463
|
occurred_at: string;
|
|
2998
4464
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
4465
|
+
customer_key?: string | undefined;
|
|
2999
4466
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3000
4467
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3001
4468
|
}>, z.ZodObject<{
|
|
@@ -3006,6 +4473,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
3006
4473
|
} & {
|
|
3007
4474
|
device_id: z.ZodString;
|
|
3008
4475
|
connected_account_id: z.ZodString;
|
|
4476
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
3009
4477
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
3010
4478
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
3011
4479
|
} & {
|
|
@@ -3030,6 +4498,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
3030
4498
|
event_id: string;
|
|
3031
4499
|
occurred_at: string;
|
|
3032
4500
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
4501
|
+
customer_key?: string | undefined;
|
|
3033
4502
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3034
4503
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3035
4504
|
}, {
|
|
@@ -3046,6 +4515,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
3046
4515
|
event_id: string;
|
|
3047
4516
|
occurred_at: string;
|
|
3048
4517
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
4518
|
+
customer_key?: string | undefined;
|
|
3049
4519
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3050
4520
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3051
4521
|
}>, z.ZodObject<{
|
|
@@ -3056,6 +4526,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
3056
4526
|
} & {
|
|
3057
4527
|
device_id: z.ZodString;
|
|
3058
4528
|
connected_account_id: z.ZodString;
|
|
4529
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
3059
4530
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
3060
4531
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
3061
4532
|
} & {
|
|
@@ -3074,6 +4545,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
3074
4545
|
event_id: string;
|
|
3075
4546
|
occurred_at: string;
|
|
3076
4547
|
event_type: "thermostat.temperature_reached_set_point";
|
|
4548
|
+
customer_key?: string | undefined;
|
|
3077
4549
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3078
4550
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3079
4551
|
desired_temperature_celsius?: number | undefined;
|
|
@@ -3088,6 +4560,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
3088
4560
|
event_id: string;
|
|
3089
4561
|
occurred_at: string;
|
|
3090
4562
|
event_type: "thermostat.temperature_reached_set_point";
|
|
4563
|
+
customer_key?: string | undefined;
|
|
3091
4564
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3092
4565
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3093
4566
|
desired_temperature_celsius?: number | undefined;
|
|
@@ -3100,6 +4573,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
3100
4573
|
} & {
|
|
3101
4574
|
device_id: z.ZodString;
|
|
3102
4575
|
connected_account_id: z.ZodString;
|
|
4576
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
3103
4577
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
3104
4578
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
3105
4579
|
} & {
|
|
@@ -3116,6 +4590,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
3116
4590
|
event_id: string;
|
|
3117
4591
|
occurred_at: string;
|
|
3118
4592
|
event_type: "thermostat.temperature_changed";
|
|
4593
|
+
customer_key?: string | undefined;
|
|
3119
4594
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3120
4595
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3121
4596
|
}, {
|
|
@@ -3128,6 +4603,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
3128
4603
|
event_id: string;
|
|
3129
4604
|
occurred_at: string;
|
|
3130
4605
|
event_type: "thermostat.temperature_changed";
|
|
4606
|
+
customer_key?: string | undefined;
|
|
3131
4607
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3132
4608
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3133
4609
|
}>, z.ZodObject<{
|
|
@@ -3138,6 +4614,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
3138
4614
|
} & {
|
|
3139
4615
|
device_id: z.ZodString;
|
|
3140
4616
|
connected_account_id: z.ZodString;
|
|
4617
|
+
customer_key: z.ZodOptional<z.ZodString>;
|
|
3141
4618
|
device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
3142
4619
|
connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
|
|
3143
4620
|
} & {
|
|
@@ -3152,6 +4629,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
3152
4629
|
event_id: string;
|
|
3153
4630
|
occurred_at: string;
|
|
3154
4631
|
event_type: "device.name_changed";
|
|
4632
|
+
customer_key?: string | undefined;
|
|
3155
4633
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3156
4634
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3157
4635
|
}, {
|
|
@@ -3163,6 +4641,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
3163
4641
|
event_id: string;
|
|
3164
4642
|
occurred_at: string;
|
|
3165
4643
|
event_type: "device.name_changed";
|
|
4644
|
+
customer_key?: string | undefined;
|
|
3166
4645
|
device_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3167
4646
|
connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
|
|
3168
4647
|
}>, z.ZodObject<{
|
|
@@ -3229,21 +4708,21 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
3229
4708
|
}, "strip", z.ZodTypeAny, {
|
|
3230
4709
|
workspace_id: string;
|
|
3231
4710
|
created_at: string;
|
|
4711
|
+
device_ids: string[];
|
|
3232
4712
|
event_id: string;
|
|
3233
4713
|
occurred_at: string;
|
|
3234
4714
|
event_type: "space.device_membership_changed";
|
|
3235
4715
|
space_id: string;
|
|
3236
|
-
device_ids: string[];
|
|
3237
4716
|
acs_entrance_ids: string[];
|
|
3238
4717
|
space_key?: string | undefined;
|
|
3239
4718
|
}, {
|
|
3240
4719
|
workspace_id: string;
|
|
3241
4720
|
created_at: string;
|
|
4721
|
+
device_ids: string[];
|
|
3242
4722
|
event_id: string;
|
|
3243
4723
|
occurred_at: string;
|
|
3244
4724
|
event_type: "space.device_membership_changed";
|
|
3245
4725
|
space_id: string;
|
|
3246
|
-
device_ids: string[];
|
|
3247
4726
|
acs_entrance_ids: string[];
|
|
3248
4727
|
space_key?: string | undefined;
|
|
3249
4728
|
}>, z.ZodObject<{
|
|
@@ -3261,21 +4740,21 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
3261
4740
|
}, "strip", z.ZodTypeAny, {
|
|
3262
4741
|
workspace_id: string;
|
|
3263
4742
|
created_at: string;
|
|
4743
|
+
device_ids: string[];
|
|
3264
4744
|
event_id: string;
|
|
3265
4745
|
occurred_at: string;
|
|
3266
4746
|
event_type: "space.created";
|
|
3267
4747
|
space_id: string;
|
|
3268
|
-
device_ids: string[];
|
|
3269
4748
|
acs_entrance_ids: string[];
|
|
3270
4749
|
space_key?: string | undefined;
|
|
3271
4750
|
}, {
|
|
3272
4751
|
workspace_id: string;
|
|
3273
4752
|
created_at: string;
|
|
4753
|
+
device_ids: string[];
|
|
3274
4754
|
event_id: string;
|
|
3275
4755
|
occurred_at: string;
|
|
3276
4756
|
event_type: "space.created";
|
|
3277
4757
|
space_id: string;
|
|
3278
|
-
device_ids: string[];
|
|
3279
4758
|
acs_entrance_ids: string[];
|
|
3280
4759
|
space_key?: string | undefined;
|
|
3281
4760
|
}>, z.ZodObject<{
|
|
@@ -3293,24 +4772,24 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
3293
4772
|
}, "strip", z.ZodTypeAny, {
|
|
3294
4773
|
workspace_id: string;
|
|
3295
4774
|
created_at: string;
|
|
4775
|
+
device_ids: string[];
|
|
3296
4776
|
event_id: string;
|
|
3297
4777
|
occurred_at: string;
|
|
3298
4778
|
event_type: "space.deleted";
|
|
3299
4779
|
space_id: string;
|
|
3300
|
-
device_ids: string[];
|
|
3301
4780
|
acs_entrance_ids: string[];
|
|
3302
4781
|
space_key?: string | undefined;
|
|
3303
4782
|
}, {
|
|
3304
4783
|
workspace_id: string;
|
|
3305
4784
|
created_at: string;
|
|
4785
|
+
device_ids: string[];
|
|
3306
4786
|
event_id: string;
|
|
3307
4787
|
occurred_at: string;
|
|
3308
4788
|
event_type: "space.deleted";
|
|
3309
4789
|
space_id: string;
|
|
3310
|
-
device_ids: string[];
|
|
3311
4790
|
acs_entrance_ids: string[];
|
|
3312
4791
|
space_key?: string | undefined;
|
|
3313
4792
|
}>]>;
|
|
3314
4793
|
export type SeamEvent = z.infer<typeof seam_event>;
|
|
3315
|
-
export declare const seam_event_type: z.ZodEnum<["access_code.created" | "access_code.changed" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "access_grant.created" | "access_grant.deleted" | "access_grant.access_granted_to_all_doors" | "access_grant.access_granted_to_door" | "access_grant.access_to_door_lost" | "access_grant.access_times_changed" | "access_grant.could_not_create_requested_access_methods" | "access_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "client_session.deleted" | "connect_webview.login_succeeded" | "connect_webview.login_failed" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "connected_account.reauthorization_requested" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "enrollment_automation.deleted" | "phone.deactivated" | "space.device_membership_changed" | "space.created" | "space.deleted", ...("access_code.created" | "access_code.changed" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "access_grant.created" | "access_grant.deleted" | "access_grant.access_granted_to_all_doors" | "access_grant.access_granted_to_door" | "access_grant.access_to_door_lost" | "access_grant.access_times_changed" | "access_grant.could_not_create_requested_access_methods" | "access_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "client_session.deleted" | "connect_webview.login_succeeded" | "connect_webview.login_failed" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "connected_account.reauthorization_requested" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "enrollment_automation.deleted" | "phone.deactivated" | "space.device_membership_changed" | "space.created" | "space.deleted")[]]>;
|
|
4794
|
+
export declare const seam_event_type: z.ZodEnum<["access_code.created" | "access_code.changed" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "access_grant.created" | "access_grant.deleted" | "access_grant.access_granted_to_all_doors" | "access_grant.access_granted_to_door" | "access_grant.access_to_door_lost" | "access_grant.access_times_changed" | "access_grant.could_not_create_requested_access_methods" | "access_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "access_method.created" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "action_attempt.simulate_keypad_code_entry.succeeded" | "action_attempt.simulate_keypad_code_entry.failed" | "action_attempt.simulate_manual_lock_via_keypad.succeeded" | "action_attempt.simulate_manual_lock_via_keypad.failed" | "client_session.deleted" | "connect_webview.login_succeeded" | "connect_webview.login_failed" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "connected_account.reauthorization_requested" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "enrollment_automation.deleted" | "phone.deactivated" | "space.device_membership_changed" | "space.created" | "space.deleted", ...("access_code.created" | "access_code.changed" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "access_grant.created" | "access_grant.deleted" | "access_grant.access_granted_to_all_doors" | "access_grant.access_granted_to_door" | "access_grant.access_to_door_lost" | "access_grant.access_times_changed" | "access_grant.could_not_create_requested_access_methods" | "access_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "access_method.created" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "action_attempt.simulate_keypad_code_entry.succeeded" | "action_attempt.simulate_keypad_code_entry.failed" | "action_attempt.simulate_manual_lock_via_keypad.succeeded" | "action_attempt.simulate_manual_lock_via_keypad.failed" | "client_session.deleted" | "connect_webview.login_succeeded" | "connect_webview.login_failed" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "connected_account.reauthorization_requested" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "enrollment_automation.deleted" | "phone.deactivated" | "space.device_membership_changed" | "space.created" | "space.deleted")[]]>;
|
|
3316
4795
|
export type SeamEventType = SeamEvent['event_type'];
|