@seamapi/types 1.57.0 → 1.58.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.
@@ -497,7 +497,8 @@ export default {
497
497
  device: {
498
498
  properties: {
499
499
  capabilities_supported: {
500
- description: 'Deprecated. Use enabled_capabilities.',
500
+ description:
501
+ '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.',
501
502
  items: {
502
503
  enum: [
503
504
  'access_code',
@@ -570,21 +571,6 @@ export default {
570
571
  },
571
572
  ],
572
573
  },
573
- enabled_capabilities: {
574
- description:
575
- 'Collection of capabilities that the device has enabled, reflecting its present configuration. 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.',
576
- items: {
577
- enum: [
578
- 'access_code',
579
- 'lock',
580
- 'noise_detection',
581
- 'thermostat',
582
- 'battery',
583
- ],
584
- type: 'string',
585
- },
586
- type: 'array',
587
- },
588
574
  errors: {
589
575
  description:
590
576
  '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.',
@@ -1537,21 +1523,6 @@ export default {
1537
1523
  ],
1538
1524
  description: 'Properties of the device.',
1539
1525
  },
1540
- supported_capabilities: {
1541
- description:
1542
- '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.',
1543
- items: {
1544
- enum: [
1545
- 'access_code',
1546
- 'lock',
1547
- 'noise_detection',
1548
- 'thermostat',
1549
- 'battery',
1550
- ],
1551
- type: 'string',
1552
- },
1553
- type: 'array',
1554
- },
1555
1526
  warnings: {
1556
1527
  description:
1557
1528
  'Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.',
@@ -1576,8 +1547,6 @@ export default {
1576
1547
  'device_id',
1577
1548
  'device_type',
1578
1549
  'capabilities_supported',
1579
- 'enabled_capabilities',
1580
- 'supported_capabilities',
1581
1550
  'properties',
1582
1551
  'location',
1583
1552
  'connected_account_id',
@@ -1732,7 +1701,8 @@ export default {
1732
1701
  unmanaged_device: {
1733
1702
  properties: {
1734
1703
  capabilities_supported: {
1735
- description: 'Deprecated. Use enabled_capabilities.',
1704
+ description:
1705
+ '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.',
1736
1706
  items: {
1737
1707
  enum: [
1738
1708
  'access_code',
@@ -1805,21 +1775,6 @@ export default {
1805
1775
  },
1806
1776
  ],
1807
1777
  },
1808
- enabled_capabilities: {
1809
- description:
1810
- 'Collection of capabilities that the device has enabled, reflecting its present configuration. 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.',
1811
- items: {
1812
- enum: [
1813
- 'access_code',
1814
- 'lock',
1815
- 'noise_detection',
1816
- 'thermostat',
1817
- 'battery',
1818
- ],
1819
- type: 'string',
1820
- },
1821
- type: 'array',
1822
- },
1823
1778
  errors: {
1824
1779
  description:
1825
1780
  '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.',
@@ -1890,7 +1845,6 @@ export default {
1890
1845
  'device_type',
1891
1846
  'connected_account_id',
1892
1847
  'capabilities_supported',
1893
- 'enabled_capabilities',
1894
1848
  'workspace_id',
1895
1849
  'errors',
1896
1850
  'warnings',
@@ -3555,7 +3509,6 @@ export default {
3555
3509
  'acs_credential_id',
3556
3510
  'acs_system_id',
3557
3511
  'display_name',
3558
- 'code',
3559
3512
  'external_type',
3560
3513
  'external_type_display_name',
3561
3514
  'created_at',
@@ -3633,7 +3586,6 @@ export default {
3633
3586
  'acs_credential_id',
3634
3587
  'acs_system_id',
3635
3588
  'display_name',
3636
- 'code',
3637
3589
  'external_type',
3638
3590
  'external_type_display_name',
3639
3591
  'created_at',
@@ -3714,7 +3666,6 @@ export default {
3714
3666
  'acs_credential_id',
3715
3667
  'acs_system_id',
3716
3668
  'display_name',
3717
- 'code',
3718
3669
  'external_type',
3719
3670
  'external_type_display_name',
3720
3671
  'created_at',
@@ -3837,7 +3788,6 @@ export default {
3837
3788
  'acs_credential_id',
3838
3789
  'acs_system_id',
3839
3790
  'display_name',
3840
- 'code',
3841
3791
  'external_type',
3842
3792
  'external_type_display_name',
3843
3793
  'created_at',
@@ -3937,7 +3887,6 @@ export default {
3937
3887
  'acs_credential_id',
3938
3888
  'acs_system_id',
3939
3889
  'display_name',
3940
- 'code',
3941
3890
  'external_type',
3942
3891
  'external_type_display_name',
3943
3892
  'created_at',
@@ -4021,7 +3970,6 @@ export default {
4021
3970
  'acs_credential_id',
4022
3971
  'acs_system_id',
4023
3972
  'display_name',
4024
- 'code',
4025
3973
  'external_type',
4026
3974
  'external_type_display_name',
4027
3975
  'created_at',
@@ -4099,7 +4047,6 @@ export default {
4099
4047
  'acs_credential_id',
4100
4048
  'acs_system_id',
4101
4049
  'display_name',
4102
- 'code',
4103
4050
  'external_type',
4104
4051
  'external_type_display_name',
4105
4052
  'created_at',
@@ -4131,6 +4078,83 @@ export default {
4131
4078
  },
4132
4079
  },
4133
4080
  '/acs/credentials/update': {
4081
+ patch: {
4082
+ operationId: 'acsCredentialsUpdatePatch',
4083
+ requestBody: {
4084
+ content: {
4085
+ 'application/json': {
4086
+ schema: {
4087
+ properties: {
4088
+ acs_credential_id: { type: 'string' },
4089
+ code: { pattern: '^\\d+$', type: 'string' },
4090
+ },
4091
+ required: ['acs_credential_id', 'code'],
4092
+ type: 'object',
4093
+ },
4094
+ },
4095
+ },
4096
+ },
4097
+ responses: {
4098
+ 200: {
4099
+ content: {
4100
+ 'application/json': {
4101
+ schema: {
4102
+ properties: {
4103
+ acs_credential: {
4104
+ properties: {
4105
+ acs_credential_id: { format: 'uuid', type: 'string' },
4106
+ acs_credential_pool_id: {
4107
+ format: 'uuid',
4108
+ type: 'string',
4109
+ },
4110
+ acs_system_id: { format: 'uuid', type: 'string' },
4111
+ acs_user_id: { format: 'uuid', type: 'string' },
4112
+ code: { nullable: true, type: 'string' },
4113
+ created_at: { format: 'date-time', type: 'string' },
4114
+ display_name: { minLength: 1, type: 'string' },
4115
+ external_type: {
4116
+ enum: [
4117
+ 'pti_card',
4118
+ 'brivo_credential',
4119
+ 'hid_credential',
4120
+ ],
4121
+ type: 'string',
4122
+ },
4123
+ external_type_display_name: { type: 'string' },
4124
+ workspace_id: { format: 'uuid', type: 'string' },
4125
+ },
4126
+ required: [
4127
+ 'acs_credential_id',
4128
+ 'acs_system_id',
4129
+ 'display_name',
4130
+ 'external_type',
4131
+ 'external_type_display_name',
4132
+ 'created_at',
4133
+ 'workspace_id',
4134
+ ],
4135
+ type: 'object',
4136
+ },
4137
+ ok: { type: 'boolean' },
4138
+ },
4139
+ required: ['acs_credential', 'ok'],
4140
+ type: 'object',
4141
+ },
4142
+ },
4143
+ },
4144
+ description: 'OK',
4145
+ },
4146
+ 400: { description: 'Bad Request' },
4147
+ 401: { description: 'Unauthorized' },
4148
+ },
4149
+ security: [
4150
+ { access_token: [], seam_workspace: [] },
4151
+ { seam_client_session_token: [] },
4152
+ { client_session_token: [] },
4153
+ ],
4154
+ summary: '/acs/credentials/update',
4155
+ tags: [],
4156
+ 'x-fern-ignore': true,
4157
+ },
4134
4158
  post: {
4135
4159
  operationId: 'acsCredentialsUpdatePost',
4136
4160
  requestBody: {
@@ -4138,9 +4162,10 @@ export default {
4138
4162
  'application/json': {
4139
4163
  schema: {
4140
4164
  properties: {
4165
+ acs_credential_id: { type: 'string' },
4141
4166
  code: { pattern: '^\\d+$', type: 'string' },
4142
- name: { maxLength: 10, type: 'string' },
4143
4167
  },
4168
+ required: ['acs_credential_id', 'code'],
4144
4169
  type: 'object',
4145
4170
  },
4146
4171
  },
@@ -4179,7 +4204,6 @@ export default {
4179
4204
  'acs_credential_id',
4180
4205
  'acs_system_id',
4181
4206
  'display_name',
4182
- 'code',
4183
4207
  'external_type',
4184
4208
  'external_type_display_name',
4185
4209
  'created_at',
@@ -817,7 +817,7 @@ export interface Routes {
817
817
  acs_credential_pool_id?: string | undefined
818
818
  acs_system_id: string
819
819
  display_name: string
820
- code: string | null
820
+ code?: (string | undefined) | null
821
821
  external_type: 'pti_card' | 'brivo_credential' | 'hid_credential'
822
822
  external_type_display_name: string
823
823
  created_at: string
@@ -842,7 +842,7 @@ export interface Routes {
842
842
  acs_credential_pool_id?: string | undefined
843
843
  acs_system_id: string
844
844
  display_name: string
845
- code: string | null
845
+ code?: (string | undefined) | null
846
846
  external_type: 'pti_card' | 'brivo_credential' | 'hid_credential'
847
847
  external_type_display_name: string
848
848
  created_at: string
@@ -877,7 +877,7 @@ export interface Routes {
877
877
  acs_credential_pool_id?: string | undefined
878
878
  acs_system_id: string
879
879
  display_name: string
880
- code: string | null
880
+ code?: (string | undefined) | null
881
881
  external_type: 'pti_card' | 'brivo_credential' | 'hid_credential'
882
882
  external_type_display_name: string
883
883
  created_at: string
@@ -909,7 +909,7 @@ export interface Routes {
909
909
  acs_credential_pool_id?: string | undefined
910
910
  acs_system_id: string
911
911
  display_name: string
912
- code: string | null
912
+ code?: (string | undefined) | null
913
913
  external_type: 'pti_card' | 'brivo_credential' | 'hid_credential'
914
914
  external_type_display_name: string
915
915
  created_at: string
@@ -934,7 +934,7 @@ export interface Routes {
934
934
  acs_credential_pool_id?: string | undefined
935
935
  acs_system_id: string
936
936
  display_name: string
937
- code: string | null
937
+ code?: (string | undefined) | null
938
938
  external_type: 'pti_card' | 'brivo_credential' | 'hid_credential'
939
939
  external_type_display_name: string
940
940
  created_at: string
@@ -944,13 +944,13 @@ export interface Routes {
944
944
  }
945
945
  '/acs/credentials/update': {
946
946
  route: '/acs/credentials/update'
947
- method: 'POST'
947
+ method: 'PATCH' | 'POST'
948
948
  queryParams: {}
949
- jsonBody: {}
950
- commonParams: {
951
- code?: string | undefined
952
- name?: string | undefined
949
+ jsonBody: {
950
+ acs_credential_id: string
951
+ code: string
953
952
  }
953
+ commonParams: {}
954
954
  formData: {}
955
955
  jsonResponse: {
956
956
  acs_credential: {
@@ -959,7 +959,7 @@ export interface Routes {
959
959
  acs_credential_pool_id?: string | undefined
960
960
  acs_system_id: string
961
961
  display_name: string
962
- code: string | null
962
+ code?: (string | undefined) | null
963
963
  external_type: 'pti_card' | 'brivo_credential' | 'hid_credential'
964
964
  external_type_display_name: string
965
965
  created_at: string
@@ -1769,16 +1769,8 @@ export interface Routes {
1769
1769
  )
1770
1770
  | ('noiseaware_activity_zone' | 'minut_sensor')
1771
1771
  | ('ecobee_thermostat' | 'nest_thermostat')
1772
- /** Deprecated. Use enabled_capabilities. */
1773
- capabilities_supported: Array<
1774
- 'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
1775
- >
1776
- /** Collection of capabilities that the device has enabled, reflecting its present configuration. 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. */
1777
- enabled_capabilities: Array<
1778
- 'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
1779
- >
1780
1772
  /** 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. */
1781
- supported_capabilities: Array<
1773
+ capabilities_supported: Array<
1782
1774
  'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
1783
1775
  >
1784
1776
  /** Properties of the device. */
@@ -2511,16 +2503,8 @@ export interface Routes {
2511
2503
  )
2512
2504
  | ('noiseaware_activity_zone' | 'minut_sensor')
2513
2505
  | ('ecobee_thermostat' | 'nest_thermostat')
2514
- /** Deprecated. Use enabled_capabilities. */
2515
- capabilities_supported: Array<
2516
- 'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
2517
- >
2518
- /** Collection of capabilities that the device has enabled, reflecting its present configuration. 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. */
2519
- enabled_capabilities: Array<
2520
- 'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
2521
- >
2522
2506
  /** 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. */
2523
- supported_capabilities: Array<
2507
+ capabilities_supported: Array<
2524
2508
  'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
2525
2509
  >
2526
2510
  /** Properties of the device. */
@@ -3165,14 +3149,10 @@ export interface Routes {
3165
3149
  | ('ecobee_thermostat' | 'nest_thermostat')
3166
3150
  /** Unique identifier for the account associated with the device. */
3167
3151
  connected_account_id: string
3168
- /** Deprecated. Use enabled_capabilities. */
3152
+ /** 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. */
3169
3153
  capabilities_supported: Array<
3170
3154
  'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
3171
3155
  >
3172
- /** Collection of capabilities that the device has enabled, reflecting its present configuration. 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. */
3173
- enabled_capabilities: Array<
3174
- 'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
3175
- >
3176
3156
  /** Unique identifier for the Seam workspace associated with the device. */
3177
3157
  workspace_id: string
3178
3158
  /** 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. */
@@ -3361,14 +3341,10 @@ export interface Routes {
3361
3341
  | ('ecobee_thermostat' | 'nest_thermostat')
3362
3342
  /** Unique identifier for the account associated with the device. */
3363
3343
  connected_account_id: string
3364
- /** Deprecated. Use enabled_capabilities. */
3344
+ /** 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. */
3365
3345
  capabilities_supported: Array<
3366
3346
  'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
3367
3347
  >
3368
- /** Collection of capabilities that the device has enabled, reflecting its present configuration. 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. */
3369
- enabled_capabilities: Array<
3370
- 'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
3371
- >
3372
3348
  /** Unique identifier for the Seam workspace associated with the device. */
3373
3349
  workspace_id: string
3374
3350
  /** 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. */
@@ -3702,16 +3678,8 @@ export interface Routes {
3702
3678
  )
3703
3679
  | ('noiseaware_activity_zone' | 'minut_sensor')
3704
3680
  | ('ecobee_thermostat' | 'nest_thermostat')
3705
- /** Deprecated. Use enabled_capabilities. */
3706
- capabilities_supported: Array<
3707
- 'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
3708
- >
3709
- /** Collection of capabilities that the device has enabled, reflecting its present configuration. 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. */
3710
- enabled_capabilities: Array<
3711
- 'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
3712
- >
3713
3681
  /** 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. */
3714
- supported_capabilities: Array<
3682
+ capabilities_supported: Array<
3715
3683
  'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
3716
3684
  >
3717
3685
  /** Properties of the device. */
@@ -4323,16 +4291,8 @@ export interface Routes {
4323
4291
  )
4324
4292
  | ('noiseaware_activity_zone' | 'minut_sensor')
4325
4293
  | ('ecobee_thermostat' | 'nest_thermostat')
4326
- /** Deprecated. Use enabled_capabilities. */
4327
- capabilities_supported: Array<
4328
- 'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
4329
- >
4330
- /** Collection of capabilities that the device has enabled, reflecting its present configuration. 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. */
4331
- enabled_capabilities: Array<
4332
- 'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
4333
- >
4334
4294
  /** 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. */
4335
- supported_capabilities: Array<
4295
+ capabilities_supported: Array<
4336
4296
  'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
4337
4297
  >
4338
4298
  /** Properties of the device. */
@@ -5065,16 +5025,8 @@ export interface Routes {
5065
5025
  )
5066
5026
  | ('noiseaware_activity_zone' | 'minut_sensor')
5067
5027
  | ('ecobee_thermostat' | 'nest_thermostat')
5068
- /** Deprecated. Use enabled_capabilities. */
5069
- capabilities_supported: Array<
5070
- 'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
5071
- >
5072
- /** Collection of capabilities that the device has enabled, reflecting its present configuration. 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. */
5073
- enabled_capabilities: Array<
5074
- 'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
5075
- >
5076
5028
  /** 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. */
5077
- supported_capabilities: Array<
5029
+ capabilities_supported: Array<
5078
5030
  'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
5079
5031
  >
5080
5032
  /** Properties of the device. */
@@ -5686,16 +5638,8 @@ export interface Routes {
5686
5638
  )
5687
5639
  | ('noiseaware_activity_zone' | 'minut_sensor')
5688
5640
  | ('ecobee_thermostat' | 'nest_thermostat')
5689
- /** Deprecated. Use enabled_capabilities. */
5690
- capabilities_supported: Array<
5691
- 'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
5692
- >
5693
- /** Collection of capabilities that the device has enabled, reflecting its present configuration. 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. */
5694
- enabled_capabilities: Array<
5695
- 'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
5696
- >
5697
5641
  /** 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. */
5698
- supported_capabilities: Array<
5642
+ capabilities_supported: Array<
5699
5643
  'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
5700
5644
  >
5701
5645
  /** Properties of the device. */
@@ -6752,16 +6696,8 @@ export interface Routes {
6752
6696
  )
6753
6697
  | ('noiseaware_activity_zone' | 'minut_sensor')
6754
6698
  | ('ecobee_thermostat' | 'nest_thermostat')
6755
- /** Deprecated. Use enabled_capabilities. */
6756
- capabilities_supported: Array<
6757
- 'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
6758
- >
6759
- /** Collection of capabilities that the device has enabled, reflecting its present configuration. 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. */
6760
- enabled_capabilities: Array<
6761
- 'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
6762
- >
6763
6699
  /** 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. */
6764
- supported_capabilities: Array<
6700
+ capabilities_supported: Array<
6765
6701
  'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
6766
6702
  >
6767
6703
  /** Properties of the device. */
@@ -7524,16 +7460,8 @@ export interface Routes {
7524
7460
  )
7525
7461
  | ('noiseaware_activity_zone' | 'minut_sensor')
7526
7462
  | ('ecobee_thermostat' | 'nest_thermostat')
7527
- /** Deprecated. Use enabled_capabilities. */
7528
- capabilities_supported: Array<
7529
- 'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
7530
- >
7531
- /** Collection of capabilities that the device has enabled, reflecting its present configuration. 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. */
7532
- enabled_capabilities: Array<
7533
- 'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
7534
- >
7535
7463
  /** 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. */
7536
- supported_capabilities: Array<
7464
+ capabilities_supported: Array<
7537
7465
  'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
7538
7466
  >
7539
7467
  /** Properties of the device. */
@@ -8296,16 +8224,8 @@ export interface Routes {
8296
8224
  )
8297
8225
  | ('noiseaware_activity_zone' | 'minut_sensor')
8298
8226
  | ('ecobee_thermostat' | 'nest_thermostat')
8299
- /** Deprecated. Use enabled_capabilities. */
8300
- capabilities_supported: Array<
8301
- 'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
8302
- >
8303
- /** Collection of capabilities that the device has enabled, reflecting its present configuration. 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. */
8304
- enabled_capabilities: Array<
8305
- 'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
8306
- >
8307
8227
  /** 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. */
8308
- supported_capabilities: Array<
8228
+ capabilities_supported: Array<
8309
8229
  'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'
8310
8230
  >
8311
8231
  /** Properties of the device. */
@@ -16,7 +16,7 @@ export const acs_credential = z.object({
16
16
  acs_credential_pool_id: z.string().uuid().optional(),
17
17
  acs_system_id: z.string().uuid(),
18
18
  display_name: z.string().nonempty(),
19
- code: z.string().nullable(),
19
+ code: z.string().optional().nullable(),
20
20
  external_type: acs_credential_external_type,
21
21
  external_type_display_name: z.string(),
22
22
  created_at: z.string().datetime(),
@@ -95,16 +95,7 @@ export const common_device_properties = z.object({
95
95
  export const managed_device = z.object({
96
96
  device_id: z.string().uuid().describe('Unique identifier for the device.'),
97
97
  device_type: any_device_type.describe('Type of the device.'),
98
- /** @deprecated use enabled_capabilities for same behavior */
99
98
  capabilities_supported: z
100
- .array(capabilities)
101
- .describe('Deprecated. Use enabled_capabilities.'),
102
- enabled_capabilities: z
103
- .array(capabilities)
104
- .describe(
105
- 'Collection of capabilities that the device has enabled, reflecting its present configuration. 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.',
106
- ),
107
- supported_capabilities: z
108
99
  .array(capabilities)
109
100
  .describe(
110
101
  '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.',
@@ -8,7 +8,6 @@ export const unmanaged_device = managed_device
8
8
  device_type: true,
9
9
  connected_account_id: true,
10
10
  capabilities_supported: true,
11
- enabled_capabilities: true,
12
11
  workspace_id: true,
13
12
  errors: true,
14
13
  warnings: true,