@seamapi/types 1.130.0 → 1.132.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 +21 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +77 -34
- package/lib/seam/connect/openapi.d.ts +19 -5
- package/lib/seam/connect/openapi.js +21 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +58 -29
- package/lib/seam/connect/unstable/models/acs/acs_system_capability_flags.d.ts +8 -0
- package/lib/seam/connect/unstable/models/acs/acs_system_capability_flags.js +5 -0
- package/lib/seam/connect/unstable/models/acs/acs_system_capability_flags.js.map +1 -0
- package/lib/seam/connect/unstable/models/acs/index.d.ts +1 -0
- package/lib/seam/connect/unstable/models/acs/index.js +1 -0
- package/lib/seam/connect/unstable/models/acs/index.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/system.d.ts +6 -3
- package/lib/seam/connect/unstable/models/acs/system.js +5 -2
- package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +6 -10
- package/lib/seam/connect/unstable/models/devices/managed-device.js +8 -5
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/phone.d.ts +6 -0
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +0 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +25 -7
- package/src/lib/seam/connect/route-types.ts +58 -29
- package/src/lib/seam/connect/unstable/models/acs/acs_system_capability_flags.ts +5 -0
- package/src/lib/seam/connect/unstable/models/acs/index.ts +1 -0
- package/src/lib/seam/connect/unstable/models/acs/system.ts +21 -17
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +12 -7
package/package.json
CHANGED
|
@@ -185,6 +185,7 @@ export default {
|
|
|
185
185
|
acs_system: {
|
|
186
186
|
properties: {
|
|
187
187
|
acs_system_id: { format: 'uuid', type: 'string' },
|
|
188
|
+
can_automate_enrollment: { type: 'boolean' },
|
|
188
189
|
connected_account_ids: { items: { type: 'string' }, type: 'array' },
|
|
189
190
|
created_at: { format: 'date-time', type: 'string' },
|
|
190
191
|
external_type: {
|
|
@@ -616,6 +617,11 @@ export default {
|
|
|
616
617
|
{ enum: ['ios_phone', 'android_phone'], type: 'string' },
|
|
617
618
|
],
|
|
618
619
|
},
|
|
620
|
+
display_name: {
|
|
621
|
+
description:
|
|
622
|
+
'Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
|
|
623
|
+
type: 'string',
|
|
624
|
+
},
|
|
619
625
|
errors: {
|
|
620
626
|
description:
|
|
621
627
|
'Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.',
|
|
@@ -649,6 +655,11 @@ export default {
|
|
|
649
655
|
},
|
|
650
656
|
type: 'object',
|
|
651
657
|
},
|
|
658
|
+
nickname: {
|
|
659
|
+
description:
|
|
660
|
+
'Optional nickname to describe the device, settable through Seam',
|
|
661
|
+
type: 'string',
|
|
662
|
+
},
|
|
652
663
|
properties: {
|
|
653
664
|
allOf: [
|
|
654
665
|
{
|
|
@@ -742,12 +753,7 @@ export default {
|
|
|
742
753
|
},
|
|
743
754
|
name: {
|
|
744
755
|
description:
|
|
745
|
-
'Name of the device.
|
|
746
|
-
type: 'string',
|
|
747
|
-
},
|
|
748
|
-
nickname: {
|
|
749
|
-
description:
|
|
750
|
-
'Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
|
|
756
|
+
'Name of the device. Deprecated - use device.display_name instead',
|
|
751
757
|
type: 'string',
|
|
752
758
|
},
|
|
753
759
|
offline_access_codes_enabled: {
|
|
@@ -1726,6 +1732,7 @@ export default {
|
|
|
1726
1732
|
required: [
|
|
1727
1733
|
'device_id',
|
|
1728
1734
|
'device_type',
|
|
1735
|
+
'display_name',
|
|
1729
1736
|
'capabilities_supported',
|
|
1730
1737
|
'properties',
|
|
1731
1738
|
'location',
|
|
@@ -1903,6 +1910,11 @@ export default {
|
|
|
1903
1910
|
type: 'string',
|
|
1904
1911
|
},
|
|
1905
1912
|
device_type: { enum: ['android_phone', 'ios_phone'], type: 'string' },
|
|
1913
|
+
display_name: {
|
|
1914
|
+
description:
|
|
1915
|
+
'Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
|
|
1916
|
+
type: 'string',
|
|
1917
|
+
},
|
|
1906
1918
|
errors: {
|
|
1907
1919
|
description:
|
|
1908
1920
|
'Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.',
|
|
@@ -1936,6 +1948,11 @@ export default {
|
|
|
1936
1948
|
},
|
|
1937
1949
|
type: 'object',
|
|
1938
1950
|
},
|
|
1951
|
+
nickname: {
|
|
1952
|
+
description:
|
|
1953
|
+
'Optional nickname to describe the device, settable through Seam',
|
|
1954
|
+
type: 'string',
|
|
1955
|
+
},
|
|
1939
1956
|
properties: {
|
|
1940
1957
|
properties: {
|
|
1941
1958
|
assa_abloy_credential_service_metadata: {
|
|
@@ -1982,6 +1999,7 @@ export default {
|
|
|
1982
1999
|
required: [
|
|
1983
2000
|
'device_id',
|
|
1984
2001
|
'device_type',
|
|
2002
|
+
'display_name',
|
|
1985
2003
|
'capabilities_supported',
|
|
1986
2004
|
'properties',
|
|
1987
2005
|
'location',
|
|
@@ -2244,7 +2262,7 @@ export default {
|
|
|
2244
2262
|
},
|
|
2245
2263
|
name: {
|
|
2246
2264
|
description:
|
|
2247
|
-
'Name of the device.
|
|
2265
|
+
'Name of the device. Deprecated - use device.display_name instead',
|
|
2248
2266
|
type: 'string',
|
|
2249
2267
|
},
|
|
2250
2268
|
offline_access_codes_enabled: {
|
|
@@ -1336,6 +1336,7 @@ export interface Routes {
|
|
|
1336
1336
|
connected_account_ids: string[]
|
|
1337
1337
|
image_url: string
|
|
1338
1338
|
image_alt_text: string
|
|
1339
|
+
can_automate_enrollment?: boolean | undefined
|
|
1339
1340
|
}
|
|
1340
1341
|
}
|
|
1341
1342
|
}
|
|
@@ -1377,6 +1378,7 @@ export interface Routes {
|
|
|
1377
1378
|
connected_account_ids: string[]
|
|
1378
1379
|
image_url: string
|
|
1379
1380
|
image_alt_text: string
|
|
1381
|
+
can_automate_enrollment?: boolean | undefined
|
|
1380
1382
|
}>
|
|
1381
1383
|
}
|
|
1382
1384
|
}
|
|
@@ -2224,6 +2226,10 @@ export interface Routes {
|
|
|
2224
2226
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
2225
2227
|
| ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
|
|
2226
2228
|
| ('ios_phone' | 'android_phone')
|
|
2229
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
2230
|
+
nickname?: string | undefined
|
|
2231
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
2232
|
+
display_name: string
|
|
2227
2233
|
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
2228
2234
|
capabilities_supported: Array<
|
|
2229
2235
|
| 'access_code'
|
|
@@ -2237,10 +2243,8 @@ export interface Routes {
|
|
|
2237
2243
|
properties: (({
|
|
2238
2244
|
/** Indicates whether the device is online. */
|
|
2239
2245
|
online: boolean
|
|
2240
|
-
/** Name of the device.
|
|
2246
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
2241
2247
|
name: string
|
|
2242
|
-
/** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
2243
|
-
nickname?: string | undefined
|
|
2244
2248
|
appearance: {
|
|
2245
2249
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
2246
2250
|
name: string
|
|
@@ -3036,6 +3040,10 @@ export interface Routes {
|
|
|
3036
3040
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
3037
3041
|
| ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
|
|
3038
3042
|
| ('ios_phone' | 'android_phone')
|
|
3043
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
3044
|
+
nickname?: string | undefined
|
|
3045
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
3046
|
+
display_name: string
|
|
3039
3047
|
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
3040
3048
|
capabilities_supported: Array<
|
|
3041
3049
|
| 'access_code'
|
|
@@ -3049,10 +3057,8 @@ export interface Routes {
|
|
|
3049
3057
|
properties: (({
|
|
3050
3058
|
/** Indicates whether the device is online. */
|
|
3051
3059
|
online: boolean
|
|
3052
|
-
/** Name of the device.
|
|
3060
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
3053
3061
|
name: string
|
|
3054
|
-
/** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
3055
|
-
nickname?: string | undefined
|
|
3056
3062
|
appearance: {
|
|
3057
3063
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
3058
3064
|
name: string
|
|
@@ -3828,7 +3834,7 @@ export interface Routes {
|
|
|
3828
3834
|
created_at: string
|
|
3829
3835
|
is_managed: false
|
|
3830
3836
|
properties: {
|
|
3831
|
-
/** Name of the device.
|
|
3837
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
3832
3838
|
name: string
|
|
3833
3839
|
/** Indicates whether the device is online. */
|
|
3834
3840
|
online: boolean
|
|
@@ -4058,7 +4064,7 @@ export interface Routes {
|
|
|
4058
4064
|
created_at: string
|
|
4059
4065
|
is_managed: false
|
|
4060
4066
|
properties: {
|
|
4061
|
-
/** Name of the device.
|
|
4067
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
4062
4068
|
name: string
|
|
4063
4069
|
/** Indicates whether the device is online. */
|
|
4064
4070
|
online: boolean
|
|
@@ -4411,6 +4417,10 @@ export interface Routes {
|
|
|
4411
4417
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
4412
4418
|
| ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
|
|
4413
4419
|
| ('ios_phone' | 'android_phone')
|
|
4420
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
4421
|
+
nickname?: string | undefined
|
|
4422
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
4423
|
+
display_name: string
|
|
4414
4424
|
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
4415
4425
|
capabilities_supported: Array<
|
|
4416
4426
|
| 'access_code'
|
|
@@ -4424,10 +4434,8 @@ export interface Routes {
|
|
|
4424
4434
|
properties: (({
|
|
4425
4435
|
/** Indicates whether the device is online. */
|
|
4426
4436
|
online: boolean
|
|
4427
|
-
/** Name of the device.
|
|
4437
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
4428
4438
|
name: string
|
|
4429
|
-
/** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
4430
|
-
nickname?: string | undefined
|
|
4431
4439
|
appearance: {
|
|
4432
4440
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
4433
4441
|
name: string
|
|
@@ -5095,6 +5103,10 @@ export interface Routes {
|
|
|
5095
5103
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
5096
5104
|
| ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
|
|
5097
5105
|
| ('ios_phone' | 'android_phone')
|
|
5106
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
5107
|
+
nickname?: string | undefined
|
|
5108
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
5109
|
+
display_name: string
|
|
5098
5110
|
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
5099
5111
|
capabilities_supported: Array<
|
|
5100
5112
|
| 'access_code'
|
|
@@ -5108,10 +5120,8 @@ export interface Routes {
|
|
|
5108
5120
|
properties: (({
|
|
5109
5121
|
/** Indicates whether the device is online. */
|
|
5110
5122
|
online: boolean
|
|
5111
|
-
/** Name of the device.
|
|
5123
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
5112
5124
|
name: string
|
|
5113
|
-
/** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
5114
|
-
nickname?: string | undefined
|
|
5115
5125
|
appearance: {
|
|
5116
5126
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
5117
5127
|
name: string
|
|
@@ -5907,6 +5917,10 @@ export interface Routes {
|
|
|
5907
5917
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
5908
5918
|
| ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
|
|
5909
5919
|
| ('ios_phone' | 'android_phone')
|
|
5920
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
5921
|
+
nickname?: string | undefined
|
|
5922
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
5923
|
+
display_name: string
|
|
5910
5924
|
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
5911
5925
|
capabilities_supported: Array<
|
|
5912
5926
|
| 'access_code'
|
|
@@ -5920,10 +5934,8 @@ export interface Routes {
|
|
|
5920
5934
|
properties: (({
|
|
5921
5935
|
/** Indicates whether the device is online. */
|
|
5922
5936
|
online: boolean
|
|
5923
|
-
/** Name of the device.
|
|
5937
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
5924
5938
|
name: string
|
|
5925
|
-
/** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
5926
|
-
nickname?: string | undefined
|
|
5927
5939
|
appearance: {
|
|
5928
5940
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
5929
5941
|
name: string
|
|
@@ -6591,6 +6603,10 @@ export interface Routes {
|
|
|
6591
6603
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
6592
6604
|
| ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
|
|
6593
6605
|
| ('ios_phone' | 'android_phone')
|
|
6606
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
6607
|
+
nickname?: string | undefined
|
|
6608
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
6609
|
+
display_name: string
|
|
6594
6610
|
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
6595
6611
|
capabilities_supported: Array<
|
|
6596
6612
|
| 'access_code'
|
|
@@ -6604,10 +6620,8 @@ export interface Routes {
|
|
|
6604
6620
|
properties: (({
|
|
6605
6621
|
/** Indicates whether the device is online. */
|
|
6606
6622
|
online: boolean
|
|
6607
|
-
/** Name of the device.
|
|
6623
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
6608
6624
|
name: string
|
|
6609
|
-
/** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
6610
|
-
nickname?: string | undefined
|
|
6611
6625
|
appearance: {
|
|
6612
6626
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
6613
6627
|
name: string
|
|
@@ -7565,6 +7579,10 @@ export interface Routes {
|
|
|
7565
7579
|
/** Unique identifier for the device. */
|
|
7566
7580
|
device_id: string
|
|
7567
7581
|
device_type: 'android_phone' | 'ios_phone'
|
|
7582
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
7583
|
+
nickname?: string | undefined
|
|
7584
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
7585
|
+
display_name: string
|
|
7568
7586
|
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
7569
7587
|
capabilities_supported: Array<
|
|
7570
7588
|
| 'access_code'
|
|
@@ -7643,6 +7661,10 @@ export interface Routes {
|
|
|
7643
7661
|
/** Unique identifier for the device. */
|
|
7644
7662
|
device_id: string
|
|
7645
7663
|
device_type: 'android_phone' | 'ios_phone'
|
|
7664
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
7665
|
+
nickname?: string | undefined
|
|
7666
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
7667
|
+
display_name: string
|
|
7646
7668
|
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
7647
7669
|
capabilities_supported: Array<
|
|
7648
7670
|
| 'access_code'
|
|
@@ -7940,6 +7962,10 @@ export interface Routes {
|
|
|
7940
7962
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
7941
7963
|
| ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
|
|
7942
7964
|
| ('ios_phone' | 'android_phone')
|
|
7965
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
7966
|
+
nickname?: string | undefined
|
|
7967
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
7968
|
+
display_name: string
|
|
7943
7969
|
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
7944
7970
|
capabilities_supported: Array<
|
|
7945
7971
|
| 'access_code'
|
|
@@ -7953,10 +7979,8 @@ export interface Routes {
|
|
|
7953
7979
|
properties: (({
|
|
7954
7980
|
/** Indicates whether the device is online. */
|
|
7955
7981
|
online: boolean
|
|
7956
|
-
/** Name of the device.
|
|
7982
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
7957
7983
|
name: string
|
|
7958
|
-
/** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
7959
|
-
nickname?: string | undefined
|
|
7960
7984
|
appearance: {
|
|
7961
7985
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
7962
7986
|
name: string
|
|
@@ -8834,6 +8858,10 @@ export interface Routes {
|
|
|
8834
8858
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
8835
8859
|
| ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
|
|
8836
8860
|
| ('ios_phone' | 'android_phone')
|
|
8861
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
8862
|
+
nickname?: string | undefined
|
|
8863
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
8864
|
+
display_name: string
|
|
8837
8865
|
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
8838
8866
|
capabilities_supported: Array<
|
|
8839
8867
|
| 'access_code'
|
|
@@ -8847,10 +8875,8 @@ export interface Routes {
|
|
|
8847
8875
|
properties: (({
|
|
8848
8876
|
/** Indicates whether the device is online. */
|
|
8849
8877
|
online: boolean
|
|
8850
|
-
/** Name of the device.
|
|
8878
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
8851
8879
|
name: string
|
|
8852
|
-
/** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
8853
|
-
nickname?: string | undefined
|
|
8854
8880
|
appearance: {
|
|
8855
8881
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
8856
8882
|
name: string
|
|
@@ -9810,6 +9836,10 @@ export interface Routes {
|
|
|
9810
9836
|
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
9811
9837
|
| ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
|
|
9812
9838
|
| ('ios_phone' | 'android_phone')
|
|
9839
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
9840
|
+
nickname?: string | undefined
|
|
9841
|
+
/** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
9842
|
+
display_name: string
|
|
9813
9843
|
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
9814
9844
|
capabilities_supported: Array<
|
|
9815
9845
|
| 'access_code'
|
|
@@ -9823,10 +9853,8 @@ export interface Routes {
|
|
|
9823
9853
|
properties: (({
|
|
9824
9854
|
/** Indicates whether the device is online. */
|
|
9825
9855
|
online: boolean
|
|
9826
|
-
/** Name of the device.
|
|
9856
|
+
/** Name of the device. Deprecated - use device.display_name instead */
|
|
9827
9857
|
name: string
|
|
9828
|
-
/** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
|
|
9829
|
-
nickname?: string | undefined
|
|
9830
9858
|
appearance: {
|
|
9831
9859
|
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
9832
9860
|
name: string
|
|
@@ -10498,6 +10526,7 @@ export interface Routes {
|
|
|
10498
10526
|
connected_account_ids: string[]
|
|
10499
10527
|
image_url: string
|
|
10500
10528
|
image_alt_text: string
|
|
10529
|
+
can_automate_enrollment?: boolean | undefined
|
|
10501
10530
|
}>
|
|
10502
10531
|
}
|
|
10503
10532
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
|
+
import { acs_system_capability_flags } from './acs_system_capability_flags.js'
|
|
4
|
+
|
|
3
5
|
// If changed, update seam.acs_system.external_type generated column
|
|
4
6
|
export const acs_system_external_type = z.enum([
|
|
5
7
|
'pti_site',
|
|
@@ -13,22 +15,24 @@ export const acs_system_external_type = z.enum([
|
|
|
13
15
|
|
|
14
16
|
export type AcsSystemExternalType = z.infer<typeof acs_system_external_type>
|
|
15
17
|
|
|
16
|
-
export const acs_system = z
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
18
|
+
export const acs_system = z
|
|
19
|
+
.object({
|
|
20
|
+
acs_system_id: z.string().uuid(),
|
|
21
|
+
external_type: acs_system_external_type,
|
|
22
|
+
external_type_display_name: z.string(),
|
|
23
|
+
system_type: acs_system_external_type.describe(
|
|
24
|
+
'deprecated: use external_type',
|
|
25
|
+
),
|
|
26
|
+
system_type_display_name: z
|
|
27
|
+
.string()
|
|
28
|
+
.describe('deprecated: use external_type_display_name'),
|
|
29
|
+
name: z.string(),
|
|
30
|
+
created_at: z.string().datetime(),
|
|
31
|
+
workspace_id: z.string().uuid(),
|
|
32
|
+
connected_account_ids: z.array(z.string()),
|
|
33
|
+
image_url: z.string(),
|
|
34
|
+
image_alt_text: z.string(),
|
|
35
|
+
})
|
|
36
|
+
.merge(acs_system_capability_flags)
|
|
33
37
|
|
|
34
38
|
export type AcsSystem = z.output<typeof acs_system>
|
|
@@ -19,13 +19,7 @@ export const common_device_properties = z.object({
|
|
|
19
19
|
name: z
|
|
20
20
|
.string()
|
|
21
21
|
.describe(
|
|
22
|
-
'Name of the device.
|
|
23
|
-
),
|
|
24
|
-
nickname: z
|
|
25
|
-
.string()
|
|
26
|
-
.optional()
|
|
27
|
-
.describe(
|
|
28
|
-
'Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
|
|
22
|
+
'Name of the device. Deprecated - use device.display_name instead',
|
|
29
23
|
),
|
|
30
24
|
appearance: z.object({
|
|
31
25
|
name: z
|
|
@@ -113,6 +107,17 @@ export const managed_device = z
|
|
|
113
107
|
.object({
|
|
114
108
|
device_id: z.string().uuid().describe('Unique identifier for the device.'),
|
|
115
109
|
device_type: any_device_type.describe('Type of the device.'),
|
|
110
|
+
nickname: z
|
|
111
|
+
.string()
|
|
112
|
+
.optional()
|
|
113
|
+
.describe(
|
|
114
|
+
'Optional nickname to describe the device, settable through Seam',
|
|
115
|
+
),
|
|
116
|
+
display_name: z
|
|
117
|
+
.string()
|
|
118
|
+
.describe(
|
|
119
|
+
'Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
|
|
120
|
+
),
|
|
116
121
|
capabilities_supported: z
|
|
117
122
|
.array(capabilities)
|
|
118
123
|
.describe(
|