@seamapi/types 1.418.0 → 1.419.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 +134 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +252 -0
- package/lib/seam/connect/models/access-codes/managed-access-code.js +41 -7
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +58 -0
- package/lib/seam/connect/models/devices/device.js +12 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +21 -0
- package/lib/seam/connect/openapi.d.ts +92 -0
- package/lib/seam/connect/openapi.js +80 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +105 -0
- package/package.json +2 -2
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +45 -15
- package/src/lib/seam/connect/models/devices/device.ts +13 -0
- package/src/lib/seam/connect/openapi.ts +88 -0
- package/src/lib/seam/connect/route-types.ts +120 -0
|
@@ -23502,6 +23502,13 @@ export interface Routes {
|
|
|
23502
23502
|
created_at: string;
|
|
23503
23503
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
23504
23504
|
warning_code: 'ttlock_weak_gateway_signal';
|
|
23505
|
+
} | {
|
|
23506
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
23507
|
+
message: string;
|
|
23508
|
+
/** Date and time at which Seam created the warning. */
|
|
23509
|
+
created_at: string;
|
|
23510
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
23511
|
+
warning_code: 'power_saving_mode';
|
|
23505
23512
|
} | {
|
|
23506
23513
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
23507
23514
|
message: string;
|
|
@@ -24647,6 +24654,13 @@ export interface Routes {
|
|
|
24647
24654
|
created_at: string;
|
|
24648
24655
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
24649
24656
|
warning_code: 'ttlock_weak_gateway_signal';
|
|
24657
|
+
} | {
|
|
24658
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
24659
|
+
message: string;
|
|
24660
|
+
/** Date and time at which Seam created the warning. */
|
|
24661
|
+
created_at: string;
|
|
24662
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
24663
|
+
warning_code: 'power_saving_mode';
|
|
24650
24664
|
} | {
|
|
24651
24665
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
24652
24666
|
message: string;
|
|
@@ -25053,6 +25067,13 @@ export interface Routes {
|
|
|
25053
25067
|
created_at: string;
|
|
25054
25068
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
25055
25069
|
warning_code: 'ttlock_weak_gateway_signal';
|
|
25070
|
+
} | {
|
|
25071
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
25072
|
+
message: string;
|
|
25073
|
+
/** Date and time at which Seam created the warning. */
|
|
25074
|
+
created_at: string;
|
|
25075
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
25076
|
+
warning_code: 'power_saving_mode';
|
|
25056
25077
|
} | {
|
|
25057
25078
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
25058
25079
|
message: string;
|
|
@@ -25478,6 +25499,13 @@ export interface Routes {
|
|
|
25478
25499
|
created_at: string;
|
|
25479
25500
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
25480
25501
|
warning_code: 'ttlock_weak_gateway_signal';
|
|
25502
|
+
} | {
|
|
25503
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
25504
|
+
message: string;
|
|
25505
|
+
/** Date and time at which Seam created the warning. */
|
|
25506
|
+
created_at: string;
|
|
25507
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
25508
|
+
warning_code: 'power_saving_mode';
|
|
25481
25509
|
} | {
|
|
25482
25510
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
25483
25511
|
message: string;
|
|
@@ -29515,6 +29543,13 @@ export interface Routes {
|
|
|
29515
29543
|
created_at: string;
|
|
29516
29544
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
29517
29545
|
warning_code: 'ttlock_weak_gateway_signal';
|
|
29546
|
+
} | {
|
|
29547
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
29548
|
+
message: string;
|
|
29549
|
+
/** Date and time at which Seam created the warning. */
|
|
29550
|
+
created_at: string;
|
|
29551
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
29552
|
+
warning_code: 'power_saving_mode';
|
|
29518
29553
|
} | {
|
|
29519
29554
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
29520
29555
|
message: string;
|
|
@@ -30616,6 +30651,13 @@ export interface Routes {
|
|
|
30616
30651
|
created_at: string;
|
|
30617
30652
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
30618
30653
|
warning_code: 'ttlock_weak_gateway_signal';
|
|
30654
|
+
} | {
|
|
30655
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
30656
|
+
message: string;
|
|
30657
|
+
/** Date and time at which Seam created the warning. */
|
|
30658
|
+
created_at: string;
|
|
30659
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
30660
|
+
warning_code: 'power_saving_mode';
|
|
30619
30661
|
} | {
|
|
30620
30662
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
30621
30663
|
message: string;
|
|
@@ -31761,6 +31803,13 @@ export interface Routes {
|
|
|
31761
31803
|
created_at: string;
|
|
31762
31804
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
31763
31805
|
warning_code: 'ttlock_weak_gateway_signal';
|
|
31806
|
+
} | {
|
|
31807
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
31808
|
+
message: string;
|
|
31809
|
+
/** Date and time at which Seam created the warning. */
|
|
31810
|
+
created_at: string;
|
|
31811
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
31812
|
+
warning_code: 'power_saving_mode';
|
|
31764
31813
|
} | {
|
|
31765
31814
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
31766
31815
|
message: string;
|
|
@@ -32861,6 +32910,13 @@ export interface Routes {
|
|
|
32861
32910
|
created_at: string;
|
|
32862
32911
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32863
32912
|
warning_code: 'ttlock_weak_gateway_signal';
|
|
32913
|
+
} | {
|
|
32914
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
32915
|
+
message: string;
|
|
32916
|
+
/** Date and time at which Seam created the warning. */
|
|
32917
|
+
created_at: string;
|
|
32918
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
32919
|
+
warning_code: 'power_saving_mode';
|
|
32864
32920
|
} | {
|
|
32865
32921
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
32866
32922
|
message: string;
|
|
@@ -39299,6 +39355,13 @@ export interface Routes {
|
|
|
39299
39355
|
created_at: string;
|
|
39300
39356
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
39301
39357
|
warning_code: 'ttlock_weak_gateway_signal';
|
|
39358
|
+
} | {
|
|
39359
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
39360
|
+
message: string;
|
|
39361
|
+
/** Date and time at which Seam created the warning. */
|
|
39362
|
+
created_at: string;
|
|
39363
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
39364
|
+
warning_code: 'power_saving_mode';
|
|
39302
39365
|
} | {
|
|
39303
39366
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
39304
39367
|
message: string;
|
|
@@ -40399,6 +40462,13 @@ export interface Routes {
|
|
|
40399
40462
|
created_at: string;
|
|
40400
40463
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
40401
40464
|
warning_code: 'ttlock_weak_gateway_signal';
|
|
40465
|
+
} | {
|
|
40466
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
40467
|
+
message: string;
|
|
40468
|
+
/** Date and time at which Seam created the warning. */
|
|
40469
|
+
created_at: string;
|
|
40470
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
40471
|
+
warning_code: 'power_saving_mode';
|
|
40402
40472
|
} | {
|
|
40403
40473
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
40404
40474
|
message: string;
|
|
@@ -50867,6 +50937,13 @@ export interface Routes {
|
|
|
50867
50937
|
created_at: string;
|
|
50868
50938
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
50869
50939
|
warning_code: 'ttlock_weak_gateway_signal';
|
|
50940
|
+
} | {
|
|
50941
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
50942
|
+
message: string;
|
|
50943
|
+
/** Date and time at which Seam created the warning. */
|
|
50944
|
+
created_at: string;
|
|
50945
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
50946
|
+
warning_code: 'power_saving_mode';
|
|
50870
50947
|
} | {
|
|
50871
50948
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
50872
50949
|
message: string;
|
|
@@ -54654,6 +54731,13 @@ export interface Routes {
|
|
|
54654
54731
|
created_at: string;
|
|
54655
54732
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
54656
54733
|
warning_code: 'ttlock_weak_gateway_signal';
|
|
54734
|
+
} | {
|
|
54735
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
54736
|
+
message: string;
|
|
54737
|
+
/** Date and time at which Seam created the warning. */
|
|
54738
|
+
created_at: string;
|
|
54739
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
54740
|
+
warning_code: 'power_saving_mode';
|
|
54657
54741
|
} | {
|
|
54658
54742
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
54659
54743
|
message: string;
|
|
@@ -55754,6 +55838,13 @@ export interface Routes {
|
|
|
55754
55838
|
created_at: string;
|
|
55755
55839
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
55756
55840
|
warning_code: 'ttlock_weak_gateway_signal';
|
|
55841
|
+
} | {
|
|
55842
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
55843
|
+
message: string;
|
|
55844
|
+
/** Date and time at which Seam created the warning. */
|
|
55845
|
+
created_at: string;
|
|
55846
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
55847
|
+
warning_code: 'power_saving_mode';
|
|
55757
55848
|
} | {
|
|
55758
55849
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
55759
55850
|
message: string;
|
|
@@ -63485,6 +63576,13 @@ export interface Routes {
|
|
|
63485
63576
|
created_at: string;
|
|
63486
63577
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
63487
63578
|
warning_code: 'ttlock_weak_gateway_signal';
|
|
63579
|
+
} | {
|
|
63580
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
63581
|
+
message: string;
|
|
63582
|
+
/** Date and time at which Seam created the warning. */
|
|
63583
|
+
created_at: string;
|
|
63584
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
63585
|
+
warning_code: 'power_saving_mode';
|
|
63488
63586
|
} | {
|
|
63489
63587
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
63490
63588
|
message: string;
|
|
@@ -64587,6 +64685,13 @@ export interface Routes {
|
|
|
64587
64685
|
created_at: string;
|
|
64588
64686
|
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
64589
64687
|
warning_code: 'ttlock_weak_gateway_signal';
|
|
64688
|
+
} | {
|
|
64689
|
+
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
64690
|
+
message: string;
|
|
64691
|
+
/** Date and time at which Seam created the warning. */
|
|
64692
|
+
created_at: string;
|
|
64693
|
+
/** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
|
|
64694
|
+
warning_code: 'power_saving_mode';
|
|
64590
64695
|
} | {
|
|
64591
64696
|
/** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
|
|
64592
64697
|
message: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seamapi/types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.419.0",
|
|
4
4
|
"description": "TypeScript types for the Seam API.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"zod": "^3.24.0"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
|
-
"@seamapi/blueprint": "^0.
|
|
95
|
+
"@seamapi/blueprint": "^0.50.0",
|
|
96
96
|
"@types/node": "^20.8.10",
|
|
97
97
|
"concurrently": "^8.2.0",
|
|
98
98
|
"del-cli": "^5.0.0",
|
|
@@ -544,21 +544,51 @@ export const access_code = z.object({
|
|
|
544
544
|
.string()
|
|
545
545
|
.datetime()
|
|
546
546
|
.describe('Date and time at which the access code was created.'),
|
|
547
|
-
errors: z
|
|
548
|
-
.
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
547
|
+
errors: z.array(
|
|
548
|
+
z.discriminatedUnion('error_code', [
|
|
549
|
+
...access_code_error.options,
|
|
550
|
+
...device_and_connected_account_error_options,
|
|
551
|
+
]),
|
|
552
|
+
).describe(`
|
|
553
|
+
---
|
|
554
|
+
variant_groups:
|
|
555
|
+
locks:
|
|
556
|
+
name: Locks
|
|
557
|
+
access_codes:
|
|
558
|
+
name: Access Codes
|
|
559
|
+
thermostats:
|
|
560
|
+
name: Thermostats
|
|
561
|
+
hardware:
|
|
562
|
+
name: Hardware
|
|
563
|
+
noise_sensors:
|
|
564
|
+
name: Noise Sensors
|
|
565
|
+
phones:
|
|
566
|
+
name: Phones
|
|
567
|
+
provider_metadata:
|
|
568
|
+
name: Provider Metadata
|
|
569
|
+
---
|
|
570
|
+
Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).
|
|
571
|
+
`),
|
|
572
|
+
warnings: z.array(access_code_warning).describe(`
|
|
573
|
+
---
|
|
574
|
+
variant_groups:
|
|
575
|
+
locks:
|
|
576
|
+
name: Locks
|
|
577
|
+
access_codes:
|
|
578
|
+
name: Access Codes
|
|
579
|
+
thermostats:
|
|
580
|
+
name: Thermostats
|
|
581
|
+
hardware:
|
|
582
|
+
name: Hardware
|
|
583
|
+
noise_sensors:
|
|
584
|
+
name: Noise Sensors
|
|
585
|
+
phones:
|
|
586
|
+
name: Phones
|
|
587
|
+
provider_metadata:
|
|
588
|
+
name: Provider Metadata
|
|
589
|
+
---
|
|
590
|
+
Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).
|
|
591
|
+
`),
|
|
562
592
|
is_managed: z
|
|
563
593
|
.literal(true)
|
|
564
594
|
.describe('Indicates whether Seam manages the access code.'),
|
|
@@ -344,6 +344,17 @@ const ttlock_weak_gateway_signal = common_device_warning.extend({
|
|
|
344
344
|
Indicates that the gateway signal is weak.
|
|
345
345
|
`)
|
|
346
346
|
|
|
347
|
+
const power_saving_mode = common_device_warning.extend({
|
|
348
|
+
warning_code: z
|
|
349
|
+
.literal('power_saving_mode')
|
|
350
|
+
.describe(warning_code_description),
|
|
351
|
+
}).describe(`
|
|
352
|
+
---
|
|
353
|
+
variant_group_key: locks
|
|
354
|
+
---
|
|
355
|
+
Indicates that the device is in power saving mode and may have limited functionality.
|
|
356
|
+
`)
|
|
357
|
+
|
|
347
358
|
const temperature_threshold_exceeded = common_device_warning.extend({
|
|
348
359
|
warning_code: z
|
|
349
360
|
.literal('temperature_threshold_exceeded')
|
|
@@ -409,6 +420,7 @@ const device_warning = z.discriminatedUnion('warning_code', [
|
|
|
409
420
|
nest_thermostat_in_manual_eco_mode,
|
|
410
421
|
ttlock_lock_gateway_unlocking_not_enabled,
|
|
411
422
|
ttlock_weak_gateway_signal,
|
|
423
|
+
power_saving_mode,
|
|
412
424
|
temperature_threshold_exceeded,
|
|
413
425
|
device_communication_degraded,
|
|
414
426
|
scheduled_maintenance_window,
|
|
@@ -447,6 +459,7 @@ export const device_warning_map = z.object({
|
|
|
447
459
|
ttlock_lock_gateway_unlocking_not_enabled:
|
|
448
460
|
ttlock_lock_gateway_unlocking_not_enabled.optional().nullable(),
|
|
449
461
|
ttlock_weak_gateway_signal: ttlock_weak_gateway_signal.optional().nullable(),
|
|
462
|
+
power_saving_mode: power_saving_mode.optional().nullable(),
|
|
450
463
|
temperature_threshold_exceeded: temperature_threshold_exceeded
|
|
451
464
|
.optional()
|
|
452
465
|
.nullable(),
|
|
@@ -1396,6 +1396,15 @@ export default {
|
|
|
1396
1396
|
],
|
|
1397
1397
|
},
|
|
1398
1398
|
type: 'array',
|
|
1399
|
+
'x-variant-groups': {
|
|
1400
|
+
access_codes: { name: 'Access Codes' },
|
|
1401
|
+
hardware: { name: 'Hardware' },
|
|
1402
|
+
locks: { name: 'Locks' },
|
|
1403
|
+
noise_sensors: { name: 'Noise Sensors' },
|
|
1404
|
+
phones: { name: 'Phones' },
|
|
1405
|
+
provider_metadata: { name: 'Provider Metadata' },
|
|
1406
|
+
thermostats: { name: 'Thermostats' },
|
|
1407
|
+
},
|
|
1399
1408
|
},
|
|
1400
1409
|
is_backup: {
|
|
1401
1410
|
description: 'Indicates whether the access code is a backup code.',
|
|
@@ -1773,6 +1782,15 @@ export default {
|
|
|
1773
1782
|
],
|
|
1774
1783
|
},
|
|
1775
1784
|
type: 'array',
|
|
1785
|
+
'x-variant-groups': {
|
|
1786
|
+
access_codes: { name: 'Access Codes' },
|
|
1787
|
+
hardware: { name: 'Hardware' },
|
|
1788
|
+
locks: { name: 'Locks' },
|
|
1789
|
+
noise_sensors: { name: 'Noise Sensors' },
|
|
1790
|
+
phones: { name: 'Phones' },
|
|
1791
|
+
provider_metadata: { name: 'Provider Metadata' },
|
|
1792
|
+
thermostats: { name: 'Thermostats' },
|
|
1793
|
+
},
|
|
1776
1794
|
},
|
|
1777
1795
|
},
|
|
1778
1796
|
required: [
|
|
@@ -12450,6 +12468,32 @@ export default {
|
|
|
12450
12468
|
required: ['message', 'created_at', 'warning_code'],
|
|
12451
12469
|
type: 'object',
|
|
12452
12470
|
},
|
|
12471
|
+
{
|
|
12472
|
+
description:
|
|
12473
|
+
'Indicates that the device is in power saving mode and may have limited functionality.',
|
|
12474
|
+
properties: {
|
|
12475
|
+
created_at: {
|
|
12476
|
+
description:
|
|
12477
|
+
'Date and time at which Seam created the warning.',
|
|
12478
|
+
format: 'date-time',
|
|
12479
|
+
type: 'string',
|
|
12480
|
+
},
|
|
12481
|
+
message: {
|
|
12482
|
+
description:
|
|
12483
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
12484
|
+
type: 'string',
|
|
12485
|
+
},
|
|
12486
|
+
warning_code: {
|
|
12487
|
+
description:
|
|
12488
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
12489
|
+
enum: ['power_saving_mode'],
|
|
12490
|
+
type: 'string',
|
|
12491
|
+
},
|
|
12492
|
+
},
|
|
12493
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
12494
|
+
type: 'object',
|
|
12495
|
+
'x-variant-group-key': 'locks',
|
|
12496
|
+
},
|
|
12453
12497
|
{
|
|
12454
12498
|
description:
|
|
12455
12499
|
'Indicates that the temperature threshold has been exceeded.',
|
|
@@ -20690,6 +20734,15 @@ export default {
|
|
|
20690
20734
|
],
|
|
20691
20735
|
},
|
|
20692
20736
|
type: 'array',
|
|
20737
|
+
'x-variant-groups': {
|
|
20738
|
+
access_codes: { name: 'Access Codes' },
|
|
20739
|
+
hardware: { name: 'Hardware' },
|
|
20740
|
+
locks: { name: 'Locks' },
|
|
20741
|
+
noise_sensors: { name: 'Noise Sensors' },
|
|
20742
|
+
phones: { name: 'Phones' },
|
|
20743
|
+
provider_metadata: { name: 'Provider Metadata' },
|
|
20744
|
+
thermostats: { name: 'Thermostats' },
|
|
20745
|
+
},
|
|
20693
20746
|
},
|
|
20694
20747
|
is_managed: {
|
|
20695
20748
|
description: 'Indicates that Seam does not manage the access code.',
|
|
@@ -21026,6 +21079,15 @@ export default {
|
|
|
21026
21079
|
],
|
|
21027
21080
|
},
|
|
21028
21081
|
type: 'array',
|
|
21082
|
+
'x-variant-groups': {
|
|
21083
|
+
access_codes: { name: 'Access Codes' },
|
|
21084
|
+
hardware: { name: 'Hardware' },
|
|
21085
|
+
locks: { name: 'Locks' },
|
|
21086
|
+
noise_sensors: { name: 'Noise Sensors' },
|
|
21087
|
+
phones: { name: 'Phones' },
|
|
21088
|
+
provider_metadata: { name: 'Provider Metadata' },
|
|
21089
|
+
thermostats: { name: 'Thermostats' },
|
|
21090
|
+
},
|
|
21029
21091
|
},
|
|
21030
21092
|
},
|
|
21031
21093
|
required: [
|
|
@@ -23377,6 +23439,32 @@ export default {
|
|
|
23377
23439
|
required: ['message', 'created_at', 'warning_code'],
|
|
23378
23440
|
type: 'object',
|
|
23379
23441
|
},
|
|
23442
|
+
{
|
|
23443
|
+
description:
|
|
23444
|
+
'Indicates that the device is in power saving mode and may have limited functionality.',
|
|
23445
|
+
properties: {
|
|
23446
|
+
created_at: {
|
|
23447
|
+
description:
|
|
23448
|
+
'Date and time at which Seam created the warning.',
|
|
23449
|
+
format: 'date-time',
|
|
23450
|
+
type: 'string',
|
|
23451
|
+
},
|
|
23452
|
+
message: {
|
|
23453
|
+
description:
|
|
23454
|
+
'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
23455
|
+
type: 'string',
|
|
23456
|
+
},
|
|
23457
|
+
warning_code: {
|
|
23458
|
+
description:
|
|
23459
|
+
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
23460
|
+
enum: ['power_saving_mode'],
|
|
23461
|
+
type: 'string',
|
|
23462
|
+
},
|
|
23463
|
+
},
|
|
23464
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
23465
|
+
type: 'object',
|
|
23466
|
+
'x-variant-group-key': 'locks',
|
|
23467
|
+
},
|
|
23380
23468
|
{
|
|
23381
23469
|
description:
|
|
23382
23470
|
'Indicates that the temperature threshold has been exceeded.',
|