@seamapi/types 1.130.0 → 1.131.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.
@@ -2224,6 +2224,10 @@ export interface Routes {
2224
2224
  | ('noiseaware_activity_zone' | 'minut_sensor')
2225
2225
  | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
2226
2226
  | ('ios_phone' | 'android_phone')
2227
+ /** Optional nickname to describe the device, settable through Seam */
2228
+ nickname?: string | undefined
2229
+ /** 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. */
2230
+ display_name: string
2227
2231
  /** 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
2232
  capabilities_supported: Array<
2229
2233
  | 'access_code'
@@ -2237,10 +2241,8 @@ export interface Routes {
2237
2241
  properties: (({
2238
2242
  /** Indicates whether the device is online. */
2239
2243
  online: boolean
2240
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
2244
+ /** Name of the device. Deprecated - use device.display_name instead */
2241
2245
  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
2246
  appearance: {
2245
2247
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
2246
2248
  name: string
@@ -3036,6 +3038,10 @@ export interface Routes {
3036
3038
  | ('noiseaware_activity_zone' | 'minut_sensor')
3037
3039
  | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
3038
3040
  | ('ios_phone' | 'android_phone')
3041
+ /** Optional nickname to describe the device, settable through Seam */
3042
+ nickname?: string | undefined
3043
+ /** 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. */
3044
+ display_name: string
3039
3045
  /** 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
3046
  capabilities_supported: Array<
3041
3047
  | 'access_code'
@@ -3049,10 +3055,8 @@ export interface Routes {
3049
3055
  properties: (({
3050
3056
  /** Indicates whether the device is online. */
3051
3057
  online: boolean
3052
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
3058
+ /** Name of the device. Deprecated - use device.display_name instead */
3053
3059
  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
3060
  appearance: {
3057
3061
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
3058
3062
  name: string
@@ -3828,7 +3832,7 @@ export interface Routes {
3828
3832
  created_at: string
3829
3833
  is_managed: false
3830
3834
  properties: {
3831
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
3835
+ /** Name of the device. Deprecated - use device.display_name instead */
3832
3836
  name: string
3833
3837
  /** Indicates whether the device is online. */
3834
3838
  online: boolean
@@ -4058,7 +4062,7 @@ export interface Routes {
4058
4062
  created_at: string
4059
4063
  is_managed: false
4060
4064
  properties: {
4061
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
4065
+ /** Name of the device. Deprecated - use device.display_name instead */
4062
4066
  name: string
4063
4067
  /** Indicates whether the device is online. */
4064
4068
  online: boolean
@@ -4411,6 +4415,10 @@ export interface Routes {
4411
4415
  | ('noiseaware_activity_zone' | 'minut_sensor')
4412
4416
  | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
4413
4417
  | ('ios_phone' | 'android_phone')
4418
+ /** Optional nickname to describe the device, settable through Seam */
4419
+ nickname?: string | undefined
4420
+ /** 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. */
4421
+ display_name: string
4414
4422
  /** 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
4423
  capabilities_supported: Array<
4416
4424
  | 'access_code'
@@ -4424,10 +4432,8 @@ export interface Routes {
4424
4432
  properties: (({
4425
4433
  /** Indicates whether the device is online. */
4426
4434
  online: boolean
4427
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
4435
+ /** Name of the device. Deprecated - use device.display_name instead */
4428
4436
  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
4437
  appearance: {
4432
4438
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
4433
4439
  name: string
@@ -5095,6 +5101,10 @@ export interface Routes {
5095
5101
  | ('noiseaware_activity_zone' | 'minut_sensor')
5096
5102
  | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
5097
5103
  | ('ios_phone' | 'android_phone')
5104
+ /** Optional nickname to describe the device, settable through Seam */
5105
+ nickname?: string | undefined
5106
+ /** 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. */
5107
+ display_name: string
5098
5108
  /** 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
5109
  capabilities_supported: Array<
5100
5110
  | 'access_code'
@@ -5108,10 +5118,8 @@ export interface Routes {
5108
5118
  properties: (({
5109
5119
  /** Indicates whether the device is online. */
5110
5120
  online: boolean
5111
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
5121
+ /** Name of the device. Deprecated - use device.display_name instead */
5112
5122
  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
5123
  appearance: {
5116
5124
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
5117
5125
  name: string
@@ -5907,6 +5915,10 @@ export interface Routes {
5907
5915
  | ('noiseaware_activity_zone' | 'minut_sensor')
5908
5916
  | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
5909
5917
  | ('ios_phone' | 'android_phone')
5918
+ /** Optional nickname to describe the device, settable through Seam */
5919
+ nickname?: string | undefined
5920
+ /** 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. */
5921
+ display_name: string
5910
5922
  /** 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
5923
  capabilities_supported: Array<
5912
5924
  | 'access_code'
@@ -5920,10 +5932,8 @@ export interface Routes {
5920
5932
  properties: (({
5921
5933
  /** Indicates whether the device is online. */
5922
5934
  online: boolean
5923
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
5935
+ /** Name of the device. Deprecated - use device.display_name instead */
5924
5936
  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
5937
  appearance: {
5928
5938
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
5929
5939
  name: string
@@ -6591,6 +6601,10 @@ export interface Routes {
6591
6601
  | ('noiseaware_activity_zone' | 'minut_sensor')
6592
6602
  | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
6593
6603
  | ('ios_phone' | 'android_phone')
6604
+ /** Optional nickname to describe the device, settable through Seam */
6605
+ nickname?: string | undefined
6606
+ /** 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. */
6607
+ display_name: string
6594
6608
  /** 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
6609
  capabilities_supported: Array<
6596
6610
  | 'access_code'
@@ -6604,10 +6618,8 @@ export interface Routes {
6604
6618
  properties: (({
6605
6619
  /** Indicates whether the device is online. */
6606
6620
  online: boolean
6607
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
6621
+ /** Name of the device. Deprecated - use device.display_name instead */
6608
6622
  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
6623
  appearance: {
6612
6624
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
6613
6625
  name: string
@@ -7565,6 +7577,10 @@ export interface Routes {
7565
7577
  /** Unique identifier for the device. */
7566
7578
  device_id: string
7567
7579
  device_type: 'android_phone' | 'ios_phone'
7580
+ /** Optional nickname to describe the device, settable through Seam */
7581
+ nickname?: string | undefined
7582
+ /** 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. */
7583
+ display_name: string
7568
7584
  /** 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
7585
  capabilities_supported: Array<
7570
7586
  | 'access_code'
@@ -7643,6 +7659,10 @@ export interface Routes {
7643
7659
  /** Unique identifier for the device. */
7644
7660
  device_id: string
7645
7661
  device_type: 'android_phone' | 'ios_phone'
7662
+ /** Optional nickname to describe the device, settable through Seam */
7663
+ nickname?: string | undefined
7664
+ /** 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. */
7665
+ display_name: string
7646
7666
  /** 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
7667
  capabilities_supported: Array<
7648
7668
  | 'access_code'
@@ -7940,6 +7960,10 @@ export interface Routes {
7940
7960
  | ('noiseaware_activity_zone' | 'minut_sensor')
7941
7961
  | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
7942
7962
  | ('ios_phone' | 'android_phone')
7963
+ /** Optional nickname to describe the device, settable through Seam */
7964
+ nickname?: string | undefined
7965
+ /** 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. */
7966
+ display_name: string
7943
7967
  /** 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
7968
  capabilities_supported: Array<
7945
7969
  | 'access_code'
@@ -7953,10 +7977,8 @@ export interface Routes {
7953
7977
  properties: (({
7954
7978
  /** Indicates whether the device is online. */
7955
7979
  online: boolean
7956
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
7980
+ /** Name of the device. Deprecated - use device.display_name instead */
7957
7981
  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
7982
  appearance: {
7961
7983
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
7962
7984
  name: string
@@ -8834,6 +8856,10 @@ export interface Routes {
8834
8856
  | ('noiseaware_activity_zone' | 'minut_sensor')
8835
8857
  | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
8836
8858
  | ('ios_phone' | 'android_phone')
8859
+ /** Optional nickname to describe the device, settable through Seam */
8860
+ nickname?: string | undefined
8861
+ /** 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. */
8862
+ display_name: string
8837
8863
  /** 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
8864
  capabilities_supported: Array<
8839
8865
  | 'access_code'
@@ -8847,10 +8873,8 @@ export interface Routes {
8847
8873
  properties: (({
8848
8874
  /** Indicates whether the device is online. */
8849
8875
  online: boolean
8850
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
8876
+ /** Name of the device. Deprecated - use device.display_name instead */
8851
8877
  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
8878
  appearance: {
8855
8879
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
8856
8880
  name: string
@@ -9810,6 +9834,10 @@ export interface Routes {
9810
9834
  | ('noiseaware_activity_zone' | 'minut_sensor')
9811
9835
  | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
9812
9836
  | ('ios_phone' | 'android_phone')
9837
+ /** Optional nickname to describe the device, settable through Seam */
9838
+ nickname?: string | undefined
9839
+ /** 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. */
9840
+ display_name: string
9813
9841
  /** 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
9842
  capabilities_supported: Array<
9815
9843
  | 'access_code'
@@ -9823,10 +9851,8 @@ export interface Routes {
9823
9851
  properties: (({
9824
9852
  /** Indicates whether the device is online. */
9825
9853
  online: boolean
9826
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
9854
+ /** Name of the device. Deprecated - use device.display_name instead */
9827
9855
  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
9856
  appearance: {
9831
9857
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
9832
9858
  name: string
@@ -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. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
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(