@seamapi/types 1.1197.0 → 1.1198.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/lib/seam/connect/models/devices/device.d.ts +80 -22
- package/lib/seam/connect/models/devices/device.js +19 -7
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +21 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +29 -8
- package/lib/seam/connect/openapi.js +91 -16
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +312 -144
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +21 -7
- package/src/lib/seam/connect/openapi.ts +108 -19
- package/src/lib/seam/connect/route-types.ts +336 -144
|
@@ -14920,6 +14920,12 @@ const openapi = {
|
|
|
14920
14920
|
thermostats: { name: 'Thermostats' },
|
|
14921
14921
|
},
|
|
14922
14922
|
},
|
|
14923
|
+
estimated_occupant_count: {
|
|
14924
|
+
description: 'Estimated number of occupants detected by the device.',
|
|
14925
|
+
format: 'float',
|
|
14926
|
+
type: 'number',
|
|
14927
|
+
'x-property-group-key': 'sensors',
|
|
14928
|
+
},
|
|
14923
14929
|
is_door_locked: {
|
|
14924
14930
|
description: 'Indicates whether the lock is locked.',
|
|
14925
14931
|
type: 'boolean',
|
|
@@ -14931,8 +14937,8 @@ const openapi = {
|
|
|
14931
14937
|
enum: [true],
|
|
14932
14938
|
type: 'boolean',
|
|
14933
14939
|
},
|
|
14934
|
-
|
|
14935
|
-
description: 'Indicates whether the device detects
|
|
14940
|
+
is_occupancy_detected: {
|
|
14941
|
+
description: 'Indicates whether the device detects occupancy.',
|
|
14936
14942
|
type: 'boolean',
|
|
14937
14943
|
'x-property-group-key': 'sensors',
|
|
14938
14944
|
},
|
|
@@ -15017,8 +15023,14 @@ const openapi = {
|
|
|
15017
15023
|
type: 'string',
|
|
15018
15024
|
'x-property-group-key': 'sensors',
|
|
15019
15025
|
},
|
|
15020
|
-
|
|
15021
|
-
description: '
|
|
15026
|
+
estimated_occupant_count: {
|
|
15027
|
+
description: 'Estimated number of occupants detected by the device.',
|
|
15028
|
+
format: 'float',
|
|
15029
|
+
type: 'number',
|
|
15030
|
+
'x-property-group-key': 'sensors',
|
|
15031
|
+
},
|
|
15032
|
+
is_occupancy_detected: {
|
|
15033
|
+
description: 'Indicates whether the device detects occupancy.',
|
|
15022
15034
|
type: 'boolean',
|
|
15023
15035
|
'x-property-group-key': 'sensors',
|
|
15024
15036
|
},
|
|
@@ -15044,12 +15056,6 @@ const openapi = {
|
|
|
15044
15056
|
type: 'number',
|
|
15045
15057
|
'x-property-group-key': 'sensors',
|
|
15046
15058
|
},
|
|
15047
|
-
occupant_count: {
|
|
15048
|
-
description: 'Number of occupants the device detects, if the device counts occupants.',
|
|
15049
|
-
format: 'float',
|
|
15050
|
-
type: 'number',
|
|
15051
|
-
'x-property-group-key': 'sensors',
|
|
15052
|
-
},
|
|
15053
15059
|
relative_humidity: {
|
|
15054
15060
|
description: 'Relative humidity, as a value between 0 and 1, inclusive, if the device measures humidity.',
|
|
15055
15061
|
format: 'float',
|
|
@@ -15099,12 +15105,6 @@ const openapi = {
|
|
|
15099
15105
|
type: 'number',
|
|
15100
15106
|
'x-property-group-key': 'sensors',
|
|
15101
15107
|
},
|
|
15102
|
-
occupant_count: {
|
|
15103
|
-
description: 'Number of occupants the device detects, if the device counts occupants.',
|
|
15104
|
-
format: 'float',
|
|
15105
|
-
type: 'number',
|
|
15106
|
-
'x-property-group-key': 'sensors',
|
|
15107
|
-
},
|
|
15108
15108
|
parent_device_id: {
|
|
15109
15109
|
description: 'ID of the parent device that this device belongs to, such as the pool controller of a pool or spa body of water. Omitted if the device does not have a parent.',
|
|
15110
15110
|
format: 'uuid',
|
|
@@ -18703,6 +18703,30 @@ const openapi = {
|
|
|
18703
18703
|
'x-variant-group-key': 'access_codes',
|
|
18704
18704
|
},
|
|
18705
18705
|
{
|
|
18706
|
+
description: 'Indicates that a third-party subscription is required to enable additional device capabilities.',
|
|
18707
|
+
properties: {
|
|
18708
|
+
created_at: {
|
|
18709
|
+
description: 'Date and time at which Seam created the warning.',
|
|
18710
|
+
format: 'date-time',
|
|
18711
|
+
type: 'string',
|
|
18712
|
+
},
|
|
18713
|
+
message: {
|
|
18714
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
18715
|
+
type: 'string',
|
|
18716
|
+
},
|
|
18717
|
+
warning_code: {
|
|
18718
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
18719
|
+
enum: [
|
|
18720
|
+
'subscription_required_for_additional_capabilities',
|
|
18721
|
+
],
|
|
18722
|
+
type: 'string',
|
|
18723
|
+
},
|
|
18724
|
+
},
|
|
18725
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
18726
|
+
type: 'object',
|
|
18727
|
+
},
|
|
18728
|
+
{
|
|
18729
|
+
deprecated: true,
|
|
18706
18730
|
description: "Indicates that the camera's account plan does not include cloud recording, so event media such as motion clips is unavailable.",
|
|
18707
18731
|
properties: {
|
|
18708
18732
|
created_at: {
|
|
@@ -18722,6 +18746,7 @@ const openapi = {
|
|
|
18722
18746
|
},
|
|
18723
18747
|
required: ['message', 'created_at', 'warning_code'],
|
|
18724
18748
|
type: 'object',
|
|
18749
|
+
'x-deprecated': 'Use `subscription_required_for_additional_capabilities`.',
|
|
18725
18750
|
},
|
|
18726
18751
|
],
|
|
18727
18752
|
},
|
|
@@ -31257,6 +31282,30 @@ const openapi = {
|
|
|
31257
31282
|
'x-variant-group-key': 'access_codes',
|
|
31258
31283
|
},
|
|
31259
31284
|
{
|
|
31285
|
+
description: 'Indicates that a third-party subscription is required to enable additional device capabilities.',
|
|
31286
|
+
properties: {
|
|
31287
|
+
created_at: {
|
|
31288
|
+
description: 'Date and time at which Seam created the warning.',
|
|
31289
|
+
format: 'date-time',
|
|
31290
|
+
type: 'string',
|
|
31291
|
+
},
|
|
31292
|
+
message: {
|
|
31293
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
31294
|
+
type: 'string',
|
|
31295
|
+
},
|
|
31296
|
+
warning_code: {
|
|
31297
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
31298
|
+
enum: [
|
|
31299
|
+
'subscription_required_for_additional_capabilities',
|
|
31300
|
+
],
|
|
31301
|
+
type: 'string',
|
|
31302
|
+
},
|
|
31303
|
+
},
|
|
31304
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
31305
|
+
type: 'object',
|
|
31306
|
+
},
|
|
31307
|
+
{
|
|
31308
|
+
deprecated: true,
|
|
31260
31309
|
description: "Indicates that the camera's account plan does not include cloud recording, so event media such as motion clips is unavailable.",
|
|
31261
31310
|
properties: {
|
|
31262
31311
|
created_at: {
|
|
@@ -31276,6 +31325,7 @@ const openapi = {
|
|
|
31276
31325
|
},
|
|
31277
31326
|
required: ['message', 'created_at', 'warning_code'],
|
|
31278
31327
|
type: 'object',
|
|
31328
|
+
'x-deprecated': 'Use `subscription_required_for_additional_capabilities`.',
|
|
31279
31329
|
},
|
|
31280
31330
|
],
|
|
31281
31331
|
},
|
|
@@ -38816,6 +38866,30 @@ const openapi = {
|
|
|
38816
38866
|
'x-variant-group-key': 'access_codes',
|
|
38817
38867
|
},
|
|
38818
38868
|
{
|
|
38869
|
+
description: 'Indicates that a third-party subscription is required to enable additional device capabilities.',
|
|
38870
|
+
properties: {
|
|
38871
|
+
created_at: {
|
|
38872
|
+
description: 'Date and time at which Seam created the warning.',
|
|
38873
|
+
format: 'date-time',
|
|
38874
|
+
type: 'string',
|
|
38875
|
+
},
|
|
38876
|
+
message: {
|
|
38877
|
+
description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
|
|
38878
|
+
type: 'string',
|
|
38879
|
+
},
|
|
38880
|
+
warning_code: {
|
|
38881
|
+
description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
|
|
38882
|
+
enum: [
|
|
38883
|
+
'subscription_required_for_additional_capabilities',
|
|
38884
|
+
],
|
|
38885
|
+
type: 'string',
|
|
38886
|
+
},
|
|
38887
|
+
},
|
|
38888
|
+
required: ['message', 'created_at', 'warning_code'],
|
|
38889
|
+
type: 'object',
|
|
38890
|
+
},
|
|
38891
|
+
{
|
|
38892
|
+
deprecated: true,
|
|
38819
38893
|
description: "Indicates that the camera's account plan does not include cloud recording, so event media such as motion clips is unavailable.",
|
|
38820
38894
|
properties: {
|
|
38821
38895
|
created_at: {
|
|
@@ -38835,6 +38909,7 @@ const openapi = {
|
|
|
38835
38909
|
},
|
|
38836
38910
|
required: ['message', 'created_at', 'warning_code'],
|
|
38837
38911
|
type: 'object',
|
|
38912
|
+
'x-deprecated': 'Use `subscription_required_for_additional_capabilities`.',
|
|
38838
38913
|
},
|
|
38839
38914
|
],
|
|
38840
38915
|
},
|