@seamapi/types 1.129.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.
@@ -616,6 +616,11 @@ export default {
616
616
  { enum: ['ios_phone', 'android_phone'], type: 'string' },
617
617
  ],
618
618
  },
619
+ display_name: {
620
+ description:
621
+ '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.',
622
+ type: 'string',
623
+ },
619
624
  errors: {
620
625
  description:
621
626
  '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 +654,11 @@ export default {
649
654
  },
650
655
  type: 'object',
651
656
  },
657
+ nickname: {
658
+ description:
659
+ 'Optional nickname to describe the device, settable through Seam',
660
+ type: 'string',
661
+ },
652
662
  properties: {
653
663
  allOf: [
654
664
  {
@@ -657,6 +667,17 @@ export default {
657
667
  allOf: [
658
668
  {
659
669
  properties: {
670
+ appearance: {
671
+ properties: {
672
+ name: {
673
+ description:
674
+ 'Name of the device as seen from the provider API and application, not settable through Seam.',
675
+ type: 'string',
676
+ },
677
+ },
678
+ required: ['name'],
679
+ type: 'object',
680
+ },
660
681
  battery: {
661
682
  description:
662
683
  'Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.',
@@ -731,7 +752,7 @@ export default {
731
752
  },
732
753
  name: {
733
754
  description:
734
- 'Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
755
+ 'Name of the device. Deprecated - use device.display_name instead',
735
756
  type: 'string',
736
757
  },
737
758
  offline_access_codes_enabled: {
@@ -764,7 +785,7 @@ export default {
764
785
  type: 'boolean',
765
786
  },
766
787
  },
767
- required: ['online', 'name', 'model'],
788
+ required: ['online', 'name', 'appearance', 'model'],
768
789
  type: 'object',
769
790
  },
770
791
  {
@@ -1710,6 +1731,7 @@ export default {
1710
1731
  required: [
1711
1732
  'device_id',
1712
1733
  'device_type',
1734
+ 'display_name',
1713
1735
  'capabilities_supported',
1714
1736
  'properties',
1715
1737
  'location',
@@ -1887,6 +1909,11 @@ export default {
1887
1909
  type: 'string',
1888
1910
  },
1889
1911
  device_type: { enum: ['android_phone', 'ios_phone'], type: 'string' },
1912
+ display_name: {
1913
+ description:
1914
+ '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.',
1915
+ type: 'string',
1916
+ },
1890
1917
  errors: {
1891
1918
  description:
1892
1919
  '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.',
@@ -1920,6 +1947,11 @@ export default {
1920
1947
  },
1921
1948
  type: 'object',
1922
1949
  },
1950
+ nickname: {
1951
+ description:
1952
+ 'Optional nickname to describe the device, settable through Seam',
1953
+ type: 'string',
1954
+ },
1923
1955
  properties: {
1924
1956
  properties: {
1925
1957
  assa_abloy_credential_service_metadata: {
@@ -1966,6 +1998,7 @@ export default {
1966
1998
  required: [
1967
1999
  'device_id',
1968
2000
  'device_type',
2001
+ 'display_name',
1969
2002
  'capabilities_supported',
1970
2003
  'properties',
1971
2004
  'location',
@@ -2228,7 +2261,7 @@ export default {
2228
2261
  },
2229
2262
  name: {
2230
2263
  description:
2231
- 'Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
2264
+ 'Name of the device. Deprecated - use device.display_name instead',
2232
2265
  type: 'string',
2233
2266
  },
2234
2267
  offline_access_codes_enabled: {
@@ -9207,9 +9240,10 @@ export default {
9207
9240
  401: { description: 'Unauthorized' },
9208
9241
  },
9209
9242
  security: [
9210
- { access_token: [], seam_workspace: [] },
9211
- { seam_client_session_token: [] },
9212
- { client_session_token: [] },
9243
+ { client_session: [] },
9244
+ { pat_with_workspace: [] },
9245
+ { console_session: [] },
9246
+ { api_key: [] },
9213
9247
  ],
9214
9248
  summary: '/locks/unlock_door',
9215
9249
  tags: ['/locks'],
@@ -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,8 +2241,12 @@ 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
2246
+ appearance: {
2247
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
2248
+ name: string
2249
+ }
2242
2250
  model: {
2243
2251
  /** Display name of the device model. */
2244
2252
  display_name: string
@@ -3030,6 +3038,10 @@ export interface Routes {
3030
3038
  | ('noiseaware_activity_zone' | 'minut_sensor')
3031
3039
  | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
3032
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
3033
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. */
3034
3046
  capabilities_supported: Array<
3035
3047
  | 'access_code'
@@ -3043,8 +3055,12 @@ export interface Routes {
3043
3055
  properties: (({
3044
3056
  /** Indicates whether the device is online. */
3045
3057
  online: boolean
3046
- /** 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 */
3047
3059
  name: string
3060
+ appearance: {
3061
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
3062
+ name: string
3063
+ }
3048
3064
  model: {
3049
3065
  /** Display name of the device model. */
3050
3066
  display_name: string
@@ -3816,7 +3832,7 @@ export interface Routes {
3816
3832
  created_at: string
3817
3833
  is_managed: false
3818
3834
  properties: {
3819
- /** 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 */
3820
3836
  name: string
3821
3837
  /** Indicates whether the device is online. */
3822
3838
  online: boolean
@@ -4046,7 +4062,7 @@ export interface Routes {
4046
4062
  created_at: string
4047
4063
  is_managed: false
4048
4064
  properties: {
4049
- /** 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 */
4050
4066
  name: string
4051
4067
  /** Indicates whether the device is online. */
4052
4068
  online: boolean
@@ -4399,6 +4415,10 @@ export interface Routes {
4399
4415
  | ('noiseaware_activity_zone' | 'minut_sensor')
4400
4416
  | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
4401
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
4402
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. */
4403
4423
  capabilities_supported: Array<
4404
4424
  | 'access_code'
@@ -4412,8 +4432,12 @@ export interface Routes {
4412
4432
  properties: (({
4413
4433
  /** Indicates whether the device is online. */
4414
4434
  online: boolean
4415
- /** 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 */
4416
4436
  name: string
4437
+ appearance: {
4438
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
4439
+ name: string
4440
+ }
4417
4441
  model: {
4418
4442
  /** Display name of the device model. */
4419
4443
  display_name: string
@@ -5077,6 +5101,10 @@ export interface Routes {
5077
5101
  | ('noiseaware_activity_zone' | 'minut_sensor')
5078
5102
  | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
5079
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
5080
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. */
5081
5109
  capabilities_supported: Array<
5082
5110
  | 'access_code'
@@ -5090,8 +5118,12 @@ export interface Routes {
5090
5118
  properties: (({
5091
5119
  /** Indicates whether the device is online. */
5092
5120
  online: boolean
5093
- /** 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 */
5094
5122
  name: string
5123
+ appearance: {
5124
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
5125
+ name: string
5126
+ }
5095
5127
  model: {
5096
5128
  /** Display name of the device model. */
5097
5129
  display_name: string
@@ -5883,6 +5915,10 @@ export interface Routes {
5883
5915
  | ('noiseaware_activity_zone' | 'minut_sensor')
5884
5916
  | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
5885
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
5886
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. */
5887
5923
  capabilities_supported: Array<
5888
5924
  | 'access_code'
@@ -5896,8 +5932,12 @@ export interface Routes {
5896
5932
  properties: (({
5897
5933
  /** Indicates whether the device is online. */
5898
5934
  online: boolean
5899
- /** 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 */
5900
5936
  name: string
5937
+ appearance: {
5938
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
5939
+ name: string
5940
+ }
5901
5941
  model: {
5902
5942
  /** Display name of the device model. */
5903
5943
  display_name: string
@@ -6561,6 +6601,10 @@ export interface Routes {
6561
6601
  | ('noiseaware_activity_zone' | 'minut_sensor')
6562
6602
  | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
6563
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
6564
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. */
6565
6609
  capabilities_supported: Array<
6566
6610
  | 'access_code'
@@ -6574,8 +6618,12 @@ export interface Routes {
6574
6618
  properties: (({
6575
6619
  /** Indicates whether the device is online. */
6576
6620
  online: boolean
6577
- /** 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 */
6578
6622
  name: string
6623
+ appearance: {
6624
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
6625
+ name: string
6626
+ }
6579
6627
  model: {
6580
6628
  /** Display name of the device model. */
6581
6629
  display_name: string
@@ -7529,6 +7577,10 @@ export interface Routes {
7529
7577
  /** Unique identifier for the device. */
7530
7578
  device_id: string
7531
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
7532
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. */
7533
7585
  capabilities_supported: Array<
7534
7586
  | 'access_code'
@@ -7607,6 +7659,10 @@ export interface Routes {
7607
7659
  /** Unique identifier for the device. */
7608
7660
  device_id: string
7609
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
7610
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. */
7611
7667
  capabilities_supported: Array<
7612
7668
  | 'access_code'
@@ -7904,6 +7960,10 @@ export interface Routes {
7904
7960
  | ('noiseaware_activity_zone' | 'minut_sensor')
7905
7961
  | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
7906
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
7907
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. */
7908
7968
  capabilities_supported: Array<
7909
7969
  | 'access_code'
@@ -7917,8 +7977,12 @@ export interface Routes {
7917
7977
  properties: (({
7918
7978
  /** Indicates whether the device is online. */
7919
7979
  online: boolean
7920
- /** 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 */
7921
7981
  name: string
7982
+ appearance: {
7983
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
7984
+ name: string
7985
+ }
7922
7986
  model: {
7923
7987
  /** Display name of the device model. */
7924
7988
  display_name: string
@@ -8792,6 +8856,10 @@ export interface Routes {
8792
8856
  | ('noiseaware_activity_zone' | 'minut_sensor')
8793
8857
  | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
8794
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
8795
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. */
8796
8864
  capabilities_supported: Array<
8797
8865
  | 'access_code'
@@ -8805,8 +8873,12 @@ export interface Routes {
8805
8873
  properties: (({
8806
8874
  /** Indicates whether the device is online. */
8807
8875
  online: boolean
8808
- /** 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 */
8809
8877
  name: string
8878
+ appearance: {
8879
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
8880
+ name: string
8881
+ }
8810
8882
  model: {
8811
8883
  /** Display name of the device model. */
8812
8884
  display_name: string
@@ -9762,6 +9834,10 @@ export interface Routes {
9762
9834
  | ('noiseaware_activity_zone' | 'minut_sensor')
9763
9835
  | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat')
9764
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
9765
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. */
9766
9842
  capabilities_supported: Array<
9767
9843
  | 'access_code'
@@ -9775,8 +9851,12 @@ export interface Routes {
9775
9851
  properties: (({
9776
9852
  /** Indicates whether the device is online. */
9777
9853
  online: boolean
9778
- /** 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 */
9779
9855
  name: string
9856
+ appearance: {
9857
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
9858
+ name: string
9859
+ }
9780
9860
  model: {
9781
9861
  /** Display name of the device model. */
9782
9862
  display_name: string
@@ -19,8 +19,15 @@ 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.',
22
+ 'Name of the device. Deprecated - use device.display_name instead',
23
23
  ),
24
+ appearance: z.object({
25
+ name: z
26
+ .string()
27
+ .describe(
28
+ 'Name of the device as seen from the provider API and application, not settable through Seam.',
29
+ ),
30
+ }),
24
31
  model: z.object({
25
32
  display_name: z.string().describe('Display name of the device model.'),
26
33
  manufacturer_display_name: z
@@ -100,6 +107,17 @@ export const managed_device = z
100
107
  .object({
101
108
  device_id: z.string().uuid().describe('Unique identifier for the device.'),
102
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
+ ),
103
121
  capabilities_supported: z
104
122
  .array(capabilities)
105
123
  .describe(