@seamapi/types 1.360.0 → 1.361.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 +1645 -1159
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +5946 -4573
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +192 -126
- package/lib/seam/connect/models/access-codes/managed-access-code.js +2 -4
- 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 +193 -127
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-credential.d.ts +6 -6
- package/lib/seam/connect/models/acs/acs-credential.js +94 -51
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-encoder.js +12 -7
- package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-entrance.js +37 -14
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-system.js +48 -41
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-user.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-user.js +45 -32
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +26 -26
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +18 -18
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +42 -42
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +18 -18
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +18 -18
- package/lib/seam/connect/models/devices/device.d.ts +1760 -389
- package/lib/seam/connect/models/devices/device.js +82 -4
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +4 -4
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +236 -58
- package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
- package/lib/seam/connect/models/events/devices.d.ts +152 -152
- package/lib/seam/connect/models/events/phones.d.ts +4 -4
- package/lib/seam/connect/models/events/seam-event.d.ts +112 -112
- package/lib/seam/connect/models/thermostats/climate-preset.js +12 -10
- package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +8 -8
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js +19 -12
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
- package/lib/seam/connect/openapi.d.ts +103 -171
- package/lib/seam/connect/openapi.js +1120 -864
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4421 -3576
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +2 -4
- package/src/lib/seam/connect/models/acs/acs-credential.ts +162 -51
- package/src/lib/seam/connect/models/acs/acs-encoder.ts +22 -7
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +65 -18
- package/src/lib/seam/connect/models/acs/acs-system.ts +81 -52
- package/src/lib/seam/connect/models/acs/acs-user.ts +69 -32
- package/src/lib/seam/connect/models/devices/device.ts +103 -4
- package/src/lib/seam/connect/models/thermostats/climate-preset.ts +28 -10
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +31 -12
- package/src/lib/seam/connect/openapi.ts +1259 -878
- package/src/lib/seam/connect/route-types.ts +4469 -3648
|
@@ -256,259 +256,299 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
|
|
|
256
256
|
message: string;
|
|
257
257
|
error_code: "hubitat_no_free_positions_available";
|
|
258
258
|
is_access_code_error: true;
|
|
259
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
259
|
+
}>, ...(z.ZodObject<z.objectUtil.extendShape<{
|
|
260
|
+
created_at: z.ZodString;
|
|
261
|
+
message: z.ZodString;
|
|
262
|
+
is_connected_account_error: z.ZodLiteral<true>;
|
|
263
|
+
}, {
|
|
264
|
+
error_code: z.ZodLiteral<"account_disconnected">;
|
|
265
|
+
}>, "strip", z.ZodTypeAny, {
|
|
266
|
+
message: string;
|
|
267
|
+
created_at: string;
|
|
268
|
+
error_code: "account_disconnected";
|
|
269
|
+
is_connected_account_error: true;
|
|
270
|
+
}, {
|
|
271
|
+
message: string;
|
|
272
|
+
created_at: string;
|
|
273
|
+
error_code: "account_disconnected";
|
|
274
|
+
is_connected_account_error: true;
|
|
275
|
+
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
276
|
+
created_at: z.ZodString;
|
|
277
|
+
message: z.ZodString;
|
|
278
|
+
is_connected_account_error: z.ZodLiteral<true>;
|
|
279
|
+
}, {
|
|
280
|
+
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
281
|
+
}>, "strip", z.ZodTypeAny, {
|
|
282
|
+
message: string;
|
|
283
|
+
created_at: string;
|
|
284
|
+
error_code: "invalid_credentials";
|
|
285
|
+
is_connected_account_error: true;
|
|
286
|
+
}, {
|
|
287
|
+
message: string;
|
|
288
|
+
created_at: string;
|
|
289
|
+
error_code: "invalid_credentials";
|
|
290
|
+
is_connected_account_error: true;
|
|
291
|
+
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
292
|
+
created_at: z.ZodString;
|
|
293
|
+
message: z.ZodString;
|
|
294
|
+
is_connected_account_error: z.ZodLiteral<true>;
|
|
295
|
+
}, {
|
|
296
|
+
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
297
|
+
salto_ks_metadata: z.ZodObject<{
|
|
298
|
+
sites: z.ZodArray<z.ZodObject<{
|
|
299
|
+
site_id: z.ZodString;
|
|
300
|
+
site_name: z.ZodString;
|
|
301
|
+
subscribed_site_user_count: z.ZodNumber;
|
|
302
|
+
site_user_subscription_limit: z.ZodNumber;
|
|
303
|
+
}, "strip", z.ZodTypeAny, {
|
|
304
|
+
site_id: string;
|
|
305
|
+
site_name: string;
|
|
306
|
+
subscribed_site_user_count: number;
|
|
307
|
+
site_user_subscription_limit: number;
|
|
308
|
+
}, {
|
|
309
|
+
site_id: string;
|
|
310
|
+
site_name: string;
|
|
311
|
+
subscribed_site_user_count: number;
|
|
312
|
+
site_user_subscription_limit: number;
|
|
313
|
+
}>, "many">;
|
|
314
|
+
}, "strip", z.ZodTypeAny, {
|
|
315
|
+
sites: {
|
|
316
|
+
site_id: string;
|
|
317
|
+
site_name: string;
|
|
318
|
+
subscribed_site_user_count: number;
|
|
319
|
+
site_user_subscription_limit: number;
|
|
320
|
+
}[];
|
|
321
|
+
}, {
|
|
322
|
+
sites: {
|
|
323
|
+
site_id: string;
|
|
324
|
+
site_name: string;
|
|
325
|
+
subscribed_site_user_count: number;
|
|
326
|
+
site_user_subscription_limit: number;
|
|
327
|
+
}[];
|
|
328
|
+
}>;
|
|
329
|
+
}>, "strip", z.ZodTypeAny, {
|
|
330
|
+
message: string;
|
|
331
|
+
created_at: string;
|
|
332
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
333
|
+
is_connected_account_error: true;
|
|
334
|
+
salto_ks_metadata: {
|
|
335
|
+
sites: {
|
|
336
|
+
site_id: string;
|
|
337
|
+
site_name: string;
|
|
338
|
+
subscribed_site_user_count: number;
|
|
339
|
+
site_user_subscription_limit: number;
|
|
340
|
+
}[];
|
|
341
|
+
};
|
|
342
|
+
}, {
|
|
343
|
+
message: string;
|
|
344
|
+
created_at: string;
|
|
345
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
346
|
+
is_connected_account_error: true;
|
|
347
|
+
salto_ks_metadata: {
|
|
348
|
+
sites: {
|
|
349
|
+
site_id: string;
|
|
350
|
+
site_name: string;
|
|
351
|
+
subscribed_site_user_count: number;
|
|
352
|
+
site_user_subscription_limit: number;
|
|
353
|
+
}[];
|
|
354
|
+
};
|
|
355
|
+
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
260
356
|
message: z.ZodString;
|
|
261
357
|
is_device_error: z.ZodLiteral<true>;
|
|
358
|
+
created_at: z.ZodString;
|
|
262
359
|
}, {
|
|
263
360
|
error_code: z.ZodLiteral<"device_offline">;
|
|
264
361
|
}>, "strip", z.ZodTypeAny, {
|
|
265
362
|
message: string;
|
|
363
|
+
created_at: string;
|
|
266
364
|
error_code: "device_offline";
|
|
267
365
|
is_device_error: true;
|
|
268
366
|
}, {
|
|
269
367
|
message: string;
|
|
368
|
+
created_at: string;
|
|
270
369
|
error_code: "device_offline";
|
|
271
370
|
is_device_error: true;
|
|
272
|
-
}
|
|
371
|
+
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
273
372
|
message: z.ZodString;
|
|
274
373
|
is_device_error: z.ZodLiteral<true>;
|
|
374
|
+
created_at: z.ZodString;
|
|
275
375
|
}, {
|
|
276
376
|
error_code: z.ZodLiteral<"device_removed">;
|
|
277
377
|
}>, "strip", z.ZodTypeAny, {
|
|
278
378
|
message: string;
|
|
379
|
+
created_at: string;
|
|
279
380
|
error_code: "device_removed";
|
|
280
381
|
is_device_error: true;
|
|
281
382
|
}, {
|
|
282
383
|
message: string;
|
|
384
|
+
created_at: string;
|
|
283
385
|
error_code: "device_removed";
|
|
284
386
|
is_device_error: true;
|
|
285
|
-
}
|
|
387
|
+
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
286
388
|
message: z.ZodString;
|
|
287
389
|
is_device_error: z.ZodLiteral<true>;
|
|
390
|
+
created_at: z.ZodString;
|
|
288
391
|
}, {
|
|
289
392
|
error_code: z.ZodLiteral<"hub_disconnected">;
|
|
290
393
|
}>, "strip", z.ZodTypeAny, {
|
|
291
394
|
message: string;
|
|
395
|
+
created_at: string;
|
|
292
396
|
error_code: "hub_disconnected";
|
|
293
397
|
is_device_error: true;
|
|
294
398
|
}, {
|
|
295
399
|
message: string;
|
|
400
|
+
created_at: string;
|
|
296
401
|
error_code: "hub_disconnected";
|
|
297
402
|
is_device_error: true;
|
|
298
|
-
}
|
|
403
|
+
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
299
404
|
message: z.ZodString;
|
|
300
405
|
is_device_error: z.ZodLiteral<true>;
|
|
406
|
+
created_at: z.ZodString;
|
|
301
407
|
}, {
|
|
302
408
|
error_code: z.ZodLiteral<"device_disconnected">;
|
|
303
409
|
}>, "strip", z.ZodTypeAny, {
|
|
304
410
|
message: string;
|
|
411
|
+
created_at: string;
|
|
305
412
|
error_code: "device_disconnected";
|
|
306
413
|
is_device_error: true;
|
|
307
414
|
}, {
|
|
308
415
|
message: string;
|
|
416
|
+
created_at: string;
|
|
309
417
|
error_code: "device_disconnected";
|
|
310
418
|
is_device_error: true;
|
|
311
|
-
}
|
|
419
|
+
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
312
420
|
message: z.ZodString;
|
|
313
421
|
is_device_error: z.ZodLiteral<true>;
|
|
422
|
+
created_at: z.ZodString;
|
|
314
423
|
}, {
|
|
315
424
|
error_code: z.ZodLiteral<"empty_backup_access_code_pool">;
|
|
316
425
|
}>, "strip", z.ZodTypeAny, {
|
|
317
426
|
message: string;
|
|
427
|
+
created_at: string;
|
|
318
428
|
error_code: "empty_backup_access_code_pool";
|
|
319
429
|
is_device_error: true;
|
|
320
430
|
}, {
|
|
321
431
|
message: string;
|
|
432
|
+
created_at: string;
|
|
322
433
|
error_code: "empty_backup_access_code_pool";
|
|
323
434
|
is_device_error: true;
|
|
324
|
-
}
|
|
435
|
+
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
325
436
|
message: z.ZodString;
|
|
326
437
|
is_device_error: z.ZodLiteral<true>;
|
|
438
|
+
created_at: z.ZodString;
|
|
327
439
|
}, {
|
|
328
440
|
error_code: z.ZodLiteral<"august_lock_not_authorized">;
|
|
329
441
|
}>, "strip", z.ZodTypeAny, {
|
|
330
442
|
message: string;
|
|
443
|
+
created_at: string;
|
|
331
444
|
error_code: "august_lock_not_authorized";
|
|
332
445
|
is_device_error: true;
|
|
333
446
|
}, {
|
|
334
447
|
message: string;
|
|
448
|
+
created_at: string;
|
|
335
449
|
error_code: "august_lock_not_authorized";
|
|
336
450
|
is_device_error: true;
|
|
337
|
-
}
|
|
451
|
+
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
338
452
|
message: z.ZodString;
|
|
339
453
|
is_device_error: z.ZodLiteral<true>;
|
|
454
|
+
created_at: z.ZodString;
|
|
340
455
|
}, {
|
|
341
456
|
error_code: z.ZodLiteral<"august_lock_missing_bridge">;
|
|
342
457
|
}>, "strip", z.ZodTypeAny, {
|
|
343
458
|
message: string;
|
|
459
|
+
created_at: string;
|
|
344
460
|
error_code: "august_lock_missing_bridge";
|
|
345
461
|
is_device_error: true;
|
|
346
462
|
}, {
|
|
347
463
|
message: string;
|
|
464
|
+
created_at: string;
|
|
348
465
|
error_code: "august_lock_missing_bridge";
|
|
349
466
|
is_device_error: true;
|
|
350
|
-
}
|
|
467
|
+
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
351
468
|
message: z.ZodString;
|
|
352
469
|
is_device_error: z.ZodLiteral<true>;
|
|
470
|
+
created_at: z.ZodString;
|
|
353
471
|
}, {
|
|
354
|
-
error_code: z.ZodLiteral<"
|
|
472
|
+
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
473
|
+
is_connected_account_error: z.ZodLiteral<true>;
|
|
474
|
+
is_device_error: z.ZodLiteral<false>;
|
|
355
475
|
}>, "strip", z.ZodTypeAny, {
|
|
356
476
|
message: string;
|
|
357
|
-
|
|
358
|
-
|
|
477
|
+
created_at: string;
|
|
478
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
479
|
+
is_connected_account_error: true;
|
|
480
|
+
is_device_error: false;
|
|
359
481
|
}, {
|
|
360
482
|
message: string;
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
483
|
+
created_at: string;
|
|
484
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
485
|
+
is_connected_account_error: true;
|
|
486
|
+
is_device_error: false;
|
|
487
|
+
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
364
488
|
message: z.ZodString;
|
|
365
489
|
is_device_error: z.ZodLiteral<true>;
|
|
490
|
+
created_at: z.ZodString;
|
|
366
491
|
}, {
|
|
367
492
|
error_code: z.ZodLiteral<"ttlock_lock_not_paired_to_gateway">;
|
|
368
493
|
}>, "strip", z.ZodTypeAny, {
|
|
369
494
|
message: string;
|
|
495
|
+
created_at: string;
|
|
370
496
|
error_code: "ttlock_lock_not_paired_to_gateway";
|
|
371
497
|
is_device_error: true;
|
|
372
498
|
}, {
|
|
373
499
|
message: string;
|
|
500
|
+
created_at: string;
|
|
374
501
|
error_code: "ttlock_lock_not_paired_to_gateway";
|
|
375
502
|
is_device_error: true;
|
|
376
|
-
}
|
|
503
|
+
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
377
504
|
message: z.ZodString;
|
|
378
505
|
is_device_error: z.ZodLiteral<true>;
|
|
506
|
+
created_at: z.ZodString;
|
|
379
507
|
}, {
|
|
380
508
|
error_code: z.ZodLiteral<"missing_device_credentials">;
|
|
381
509
|
}>, "strip", z.ZodTypeAny, {
|
|
382
510
|
message: string;
|
|
511
|
+
created_at: string;
|
|
383
512
|
error_code: "missing_device_credentials";
|
|
384
513
|
is_device_error: true;
|
|
385
514
|
}, {
|
|
386
515
|
message: string;
|
|
516
|
+
created_at: string;
|
|
387
517
|
error_code: "missing_device_credentials";
|
|
388
518
|
is_device_error: true;
|
|
389
|
-
}
|
|
519
|
+
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
390
520
|
message: z.ZodString;
|
|
391
521
|
is_device_error: z.ZodLiteral<true>;
|
|
522
|
+
created_at: z.ZodString;
|
|
392
523
|
}, {
|
|
393
524
|
error_code: z.ZodLiteral<"auxiliary_heat_running">;
|
|
394
525
|
}>, "strip", z.ZodTypeAny, {
|
|
395
526
|
message: string;
|
|
527
|
+
created_at: string;
|
|
396
528
|
error_code: "auxiliary_heat_running";
|
|
397
529
|
is_device_error: true;
|
|
398
530
|
}, {
|
|
399
531
|
message: string;
|
|
532
|
+
created_at: string;
|
|
400
533
|
error_code: "auxiliary_heat_running";
|
|
401
534
|
is_device_error: true;
|
|
402
|
-
}
|
|
535
|
+
}> | z.ZodObject<z.objectUtil.extendShape<{
|
|
403
536
|
message: z.ZodString;
|
|
404
537
|
is_device_error: z.ZodLiteral<true>;
|
|
538
|
+
created_at: z.ZodString;
|
|
405
539
|
}, {
|
|
406
540
|
error_code: z.ZodLiteral<"subscription_required">;
|
|
407
541
|
}>, "strip", z.ZodTypeAny, {
|
|
408
542
|
message: string;
|
|
543
|
+
created_at: string;
|
|
409
544
|
error_code: "subscription_required";
|
|
410
545
|
is_device_error: true;
|
|
411
546
|
}, {
|
|
412
547
|
message: string;
|
|
548
|
+
created_at: string;
|
|
413
549
|
error_code: "subscription_required";
|
|
414
550
|
is_device_error: true;
|
|
415
|
-
}>,
|
|
416
|
-
created_at: z.ZodString;
|
|
417
|
-
message: z.ZodString;
|
|
418
|
-
is_connected_account_error: z.ZodLiteral<true>;
|
|
419
|
-
}, {
|
|
420
|
-
error_code: z.ZodLiteral<"account_disconnected">;
|
|
421
|
-
}>, "strip", z.ZodTypeAny, {
|
|
422
|
-
message: string;
|
|
423
|
-
created_at: string;
|
|
424
|
-
is_connected_account_error: true;
|
|
425
|
-
error_code: "account_disconnected";
|
|
426
|
-
}, {
|
|
427
|
-
message: string;
|
|
428
|
-
created_at: string;
|
|
429
|
-
is_connected_account_error: true;
|
|
430
|
-
error_code: "account_disconnected";
|
|
431
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
432
|
-
created_at: z.ZodString;
|
|
433
|
-
message: z.ZodString;
|
|
434
|
-
is_connected_account_error: z.ZodLiteral<true>;
|
|
435
|
-
}, {
|
|
436
|
-
error_code: z.ZodLiteral<"invalid_credentials">;
|
|
437
|
-
}>, "strip", z.ZodTypeAny, {
|
|
438
|
-
message: string;
|
|
439
|
-
created_at: string;
|
|
440
|
-
is_connected_account_error: true;
|
|
441
|
-
error_code: "invalid_credentials";
|
|
442
|
-
}, {
|
|
443
|
-
message: string;
|
|
444
|
-
created_at: string;
|
|
445
|
-
is_connected_account_error: true;
|
|
446
|
-
error_code: "invalid_credentials";
|
|
447
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
448
|
-
created_at: z.ZodString;
|
|
449
|
-
message: z.ZodString;
|
|
450
|
-
is_connected_account_error: z.ZodLiteral<true>;
|
|
451
|
-
}, {
|
|
452
|
-
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
453
|
-
salto_ks_metadata: z.ZodObject<{
|
|
454
|
-
sites: z.ZodArray<z.ZodObject<{
|
|
455
|
-
site_id: z.ZodString;
|
|
456
|
-
site_name: z.ZodString;
|
|
457
|
-
subscribed_site_user_count: z.ZodNumber;
|
|
458
|
-
site_user_subscription_limit: z.ZodNumber;
|
|
459
|
-
}, "strip", z.ZodTypeAny, {
|
|
460
|
-
site_id: string;
|
|
461
|
-
site_name: string;
|
|
462
|
-
subscribed_site_user_count: number;
|
|
463
|
-
site_user_subscription_limit: number;
|
|
464
|
-
}, {
|
|
465
|
-
site_id: string;
|
|
466
|
-
site_name: string;
|
|
467
|
-
subscribed_site_user_count: number;
|
|
468
|
-
site_user_subscription_limit: number;
|
|
469
|
-
}>, "many">;
|
|
470
|
-
}, "strip", z.ZodTypeAny, {
|
|
471
|
-
sites: {
|
|
472
|
-
site_id: string;
|
|
473
|
-
site_name: string;
|
|
474
|
-
subscribed_site_user_count: number;
|
|
475
|
-
site_user_subscription_limit: number;
|
|
476
|
-
}[];
|
|
477
|
-
}, {
|
|
478
|
-
sites: {
|
|
479
|
-
site_id: string;
|
|
480
|
-
site_name: string;
|
|
481
|
-
subscribed_site_user_count: number;
|
|
482
|
-
site_user_subscription_limit: number;
|
|
483
|
-
}[];
|
|
484
|
-
}>;
|
|
485
|
-
}>, "strip", z.ZodTypeAny, {
|
|
486
|
-
message: string;
|
|
487
|
-
created_at: string;
|
|
488
|
-
is_connected_account_error: true;
|
|
489
|
-
error_code: "salto_ks_subscription_limit_exceeded";
|
|
490
|
-
salto_ks_metadata: {
|
|
491
|
-
sites: {
|
|
492
|
-
site_id: string;
|
|
493
|
-
site_name: string;
|
|
494
|
-
subscribed_site_user_count: number;
|
|
495
|
-
site_user_subscription_limit: number;
|
|
496
|
-
}[];
|
|
497
|
-
};
|
|
498
|
-
}, {
|
|
499
|
-
message: string;
|
|
500
|
-
created_at: string;
|
|
501
|
-
is_connected_account_error: true;
|
|
502
|
-
error_code: "salto_ks_subscription_limit_exceeded";
|
|
503
|
-
salto_ks_metadata: {
|
|
504
|
-
sites: {
|
|
505
|
-
site_id: string;
|
|
506
|
-
site_name: string;
|
|
507
|
-
subscribed_site_user_count: number;
|
|
508
|
-
site_user_subscription_limit: number;
|
|
509
|
-
}[];
|
|
510
|
-
};
|
|
511
|
-
}>]>, "many">;
|
|
551
|
+
}>)[]]>, "many">;
|
|
512
552
|
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
|
|
513
553
|
message: z.ZodString;
|
|
514
554
|
}, {
|
|
@@ -640,7 +680,7 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
|
|
|
640
680
|
is_external_modification_allowed: z.ZodBoolean;
|
|
641
681
|
is_one_time_use: z.ZodBoolean;
|
|
642
682
|
is_offline_access_code: z.ZodBoolean;
|
|
643
|
-
}, "type" | "code" | "name" | "
|
|
683
|
+
}, "type" | "code" | "name" | "device_id" | "starts_at" | "ends_at" | "created_at" | "errors" | "warnings" | "is_managed" | "access_code_id">, {
|
|
644
684
|
is_managed: z.ZodLiteral<false>;
|
|
645
685
|
status: z.ZodEnum<["set"]>;
|
|
646
686
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -648,22 +688,23 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
|
|
|
648
688
|
code: string | null;
|
|
649
689
|
name: string | null;
|
|
650
690
|
status: "set";
|
|
691
|
+
device_id: string;
|
|
651
692
|
created_at: string;
|
|
652
693
|
errors: ({
|
|
653
694
|
message: string;
|
|
654
695
|
created_at: string;
|
|
655
|
-
is_connected_account_error: true;
|
|
656
696
|
error_code: "account_disconnected";
|
|
697
|
+
is_connected_account_error: true;
|
|
657
698
|
} | {
|
|
658
699
|
message: string;
|
|
659
700
|
created_at: string;
|
|
660
|
-
is_connected_account_error: true;
|
|
661
701
|
error_code: "invalid_credentials";
|
|
702
|
+
is_connected_account_error: true;
|
|
662
703
|
} | {
|
|
663
704
|
message: string;
|
|
664
705
|
created_at: string;
|
|
665
|
-
is_connected_account_error: true;
|
|
666
706
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
707
|
+
is_connected_account_error: true;
|
|
667
708
|
salto_ks_metadata: {
|
|
668
709
|
sites: {
|
|
669
710
|
site_id: string;
|
|
@@ -674,50 +715,63 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
|
|
|
674
715
|
};
|
|
675
716
|
} | {
|
|
676
717
|
message: string;
|
|
718
|
+
created_at: string;
|
|
677
719
|
error_code: "device_offline";
|
|
678
720
|
is_device_error: true;
|
|
679
721
|
} | {
|
|
680
722
|
message: string;
|
|
723
|
+
created_at: string;
|
|
681
724
|
error_code: "device_removed";
|
|
682
725
|
is_device_error: true;
|
|
683
726
|
} | {
|
|
684
727
|
message: string;
|
|
728
|
+
created_at: string;
|
|
685
729
|
error_code: "hub_disconnected";
|
|
686
730
|
is_device_error: true;
|
|
687
731
|
} | {
|
|
688
732
|
message: string;
|
|
733
|
+
created_at: string;
|
|
689
734
|
error_code: "device_disconnected";
|
|
690
735
|
is_device_error: true;
|
|
691
736
|
} | {
|
|
692
737
|
message: string;
|
|
738
|
+
created_at: string;
|
|
693
739
|
error_code: "empty_backup_access_code_pool";
|
|
694
740
|
is_device_error: true;
|
|
695
741
|
} | {
|
|
696
742
|
message: string;
|
|
743
|
+
created_at: string;
|
|
697
744
|
error_code: "august_lock_not_authorized";
|
|
698
745
|
is_device_error: true;
|
|
699
746
|
} | {
|
|
700
747
|
message: string;
|
|
748
|
+
created_at: string;
|
|
701
749
|
error_code: "august_lock_missing_bridge";
|
|
702
750
|
is_device_error: true;
|
|
703
751
|
} | {
|
|
704
752
|
message: string;
|
|
705
|
-
|
|
706
|
-
|
|
753
|
+
created_at: string;
|
|
754
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
755
|
+
is_connected_account_error: true;
|
|
756
|
+
is_device_error: false;
|
|
707
757
|
} | {
|
|
708
758
|
message: string;
|
|
759
|
+
created_at: string;
|
|
709
760
|
error_code: "ttlock_lock_not_paired_to_gateway";
|
|
710
761
|
is_device_error: true;
|
|
711
762
|
} | {
|
|
712
763
|
message: string;
|
|
764
|
+
created_at: string;
|
|
713
765
|
error_code: "missing_device_credentials";
|
|
714
766
|
is_device_error: true;
|
|
715
767
|
} | {
|
|
716
768
|
message: string;
|
|
769
|
+
created_at: string;
|
|
717
770
|
error_code: "auxiliary_heat_running";
|
|
718
771
|
is_device_error: true;
|
|
719
772
|
} | {
|
|
720
773
|
message: string;
|
|
774
|
+
created_at: string;
|
|
721
775
|
error_code: "subscription_required";
|
|
722
776
|
is_device_error: true;
|
|
723
777
|
} | {
|
|
@@ -834,7 +888,6 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
|
|
|
834
888
|
message: string;
|
|
835
889
|
warning_code: "kwikset_unable_to_confirm_code";
|
|
836
890
|
})[];
|
|
837
|
-
device_id: string;
|
|
838
891
|
is_managed: false;
|
|
839
892
|
access_code_id: string;
|
|
840
893
|
starts_at?: string | null | undefined;
|
|
@@ -844,22 +897,23 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
|
|
|
844
897
|
code: string | null;
|
|
845
898
|
name: string | null;
|
|
846
899
|
status: "set";
|
|
900
|
+
device_id: string;
|
|
847
901
|
created_at: string;
|
|
848
902
|
errors: ({
|
|
849
903
|
message: string;
|
|
850
904
|
created_at: string;
|
|
851
|
-
is_connected_account_error: true;
|
|
852
905
|
error_code: "account_disconnected";
|
|
906
|
+
is_connected_account_error: true;
|
|
853
907
|
} | {
|
|
854
908
|
message: string;
|
|
855
909
|
created_at: string;
|
|
856
|
-
is_connected_account_error: true;
|
|
857
910
|
error_code: "invalid_credentials";
|
|
911
|
+
is_connected_account_error: true;
|
|
858
912
|
} | {
|
|
859
913
|
message: string;
|
|
860
914
|
created_at: string;
|
|
861
|
-
is_connected_account_error: true;
|
|
862
915
|
error_code: "salto_ks_subscription_limit_exceeded";
|
|
916
|
+
is_connected_account_error: true;
|
|
863
917
|
salto_ks_metadata: {
|
|
864
918
|
sites: {
|
|
865
919
|
site_id: string;
|
|
@@ -870,50 +924,63 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
|
|
|
870
924
|
};
|
|
871
925
|
} | {
|
|
872
926
|
message: string;
|
|
927
|
+
created_at: string;
|
|
873
928
|
error_code: "device_offline";
|
|
874
929
|
is_device_error: true;
|
|
875
930
|
} | {
|
|
876
931
|
message: string;
|
|
932
|
+
created_at: string;
|
|
877
933
|
error_code: "device_removed";
|
|
878
934
|
is_device_error: true;
|
|
879
935
|
} | {
|
|
880
936
|
message: string;
|
|
937
|
+
created_at: string;
|
|
881
938
|
error_code: "hub_disconnected";
|
|
882
939
|
is_device_error: true;
|
|
883
940
|
} | {
|
|
884
941
|
message: string;
|
|
942
|
+
created_at: string;
|
|
885
943
|
error_code: "device_disconnected";
|
|
886
944
|
is_device_error: true;
|
|
887
945
|
} | {
|
|
888
946
|
message: string;
|
|
947
|
+
created_at: string;
|
|
889
948
|
error_code: "empty_backup_access_code_pool";
|
|
890
949
|
is_device_error: true;
|
|
891
950
|
} | {
|
|
892
951
|
message: string;
|
|
952
|
+
created_at: string;
|
|
893
953
|
error_code: "august_lock_not_authorized";
|
|
894
954
|
is_device_error: true;
|
|
895
955
|
} | {
|
|
896
956
|
message: string;
|
|
957
|
+
created_at: string;
|
|
897
958
|
error_code: "august_lock_missing_bridge";
|
|
898
959
|
is_device_error: true;
|
|
899
960
|
} | {
|
|
900
961
|
message: string;
|
|
901
|
-
|
|
902
|
-
|
|
962
|
+
created_at: string;
|
|
963
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
964
|
+
is_connected_account_error: true;
|
|
965
|
+
is_device_error: false;
|
|
903
966
|
} | {
|
|
904
967
|
message: string;
|
|
968
|
+
created_at: string;
|
|
905
969
|
error_code: "ttlock_lock_not_paired_to_gateway";
|
|
906
970
|
is_device_error: true;
|
|
907
971
|
} | {
|
|
908
972
|
message: string;
|
|
973
|
+
created_at: string;
|
|
909
974
|
error_code: "missing_device_credentials";
|
|
910
975
|
is_device_error: true;
|
|
911
976
|
} | {
|
|
912
977
|
message: string;
|
|
978
|
+
created_at: string;
|
|
913
979
|
error_code: "auxiliary_heat_running";
|
|
914
980
|
is_device_error: true;
|
|
915
981
|
} | {
|
|
916
982
|
message: string;
|
|
983
|
+
created_at: string;
|
|
917
984
|
error_code: "subscription_required";
|
|
918
985
|
is_device_error: true;
|
|
919
986
|
} | {
|
|
@@ -1030,7 +1097,6 @@ export declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape
|
|
|
1030
1097
|
message: string;
|
|
1031
1098
|
warning_code: "kwikset_unable_to_confirm_code";
|
|
1032
1099
|
})[];
|
|
1033
|
-
device_id: string;
|
|
1034
1100
|
is_managed: false;
|
|
1035
1101
|
access_code_id: string;
|
|
1036
1102
|
starts_at?: string | null | undefined;
|
|
@@ -73,13 +73,13 @@ export declare const acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
73
73
|
is_managed: z.ZodLiteral<true>;
|
|
74
74
|
}>, "strip", z.ZodTypeAny, {
|
|
75
75
|
name: string;
|
|
76
|
+
display_name: string;
|
|
76
77
|
created_at: string;
|
|
77
78
|
warnings: {
|
|
78
79
|
message: string;
|
|
79
80
|
created_at: string;
|
|
80
81
|
warning_code: "unknown_issue_with_acs_access_group";
|
|
81
82
|
}[];
|
|
82
|
-
display_name: string;
|
|
83
83
|
workspace_id: string;
|
|
84
84
|
is_managed: true;
|
|
85
85
|
acs_access_group_id: string;
|
|
@@ -90,13 +90,13 @@ export declare const acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
90
90
|
external_type_display_name: string;
|
|
91
91
|
}, {
|
|
92
92
|
name: string;
|
|
93
|
+
display_name: string;
|
|
93
94
|
created_at: string;
|
|
94
95
|
warnings: {
|
|
95
96
|
message: string;
|
|
96
97
|
created_at: string;
|
|
97
98
|
warning_code: "unknown_issue_with_acs_access_group";
|
|
98
99
|
}[];
|
|
99
|
-
display_name: string;
|
|
100
100
|
workspace_id: string;
|
|
101
101
|
is_managed: true;
|
|
102
102
|
acs_access_group_id: string;
|
|
@@ -135,13 +135,13 @@ export declare const unmanaged_acs_access_group: z.ZodObject<z.objectUtil.extend
|
|
|
135
135
|
is_managed: z.ZodLiteral<false>;
|
|
136
136
|
}>, "strip", z.ZodTypeAny, {
|
|
137
137
|
name: string;
|
|
138
|
+
display_name: string;
|
|
138
139
|
created_at: string;
|
|
139
140
|
warnings: {
|
|
140
141
|
message: string;
|
|
141
142
|
created_at: string;
|
|
142
143
|
warning_code: "unknown_issue_with_acs_access_group";
|
|
143
144
|
}[];
|
|
144
|
-
display_name: string;
|
|
145
145
|
workspace_id: string;
|
|
146
146
|
is_managed: false;
|
|
147
147
|
acs_access_group_id: string;
|
|
@@ -152,13 +152,13 @@ export declare const unmanaged_acs_access_group: z.ZodObject<z.objectUtil.extend
|
|
|
152
152
|
external_type_display_name: string;
|
|
153
153
|
}, {
|
|
154
154
|
name: string;
|
|
155
|
+
display_name: string;
|
|
155
156
|
created_at: string;
|
|
156
157
|
warnings: {
|
|
157
158
|
message: string;
|
|
158
159
|
created_at: string;
|
|
159
160
|
warning_code: "unknown_issue_with_acs_access_group";
|
|
160
161
|
}[];
|
|
161
|
-
display_name: string;
|
|
162
162
|
workspace_id: string;
|
|
163
163
|
is_managed: false;
|
|
164
164
|
acs_access_group_id: string;
|