@seamapi/types 1.130.0 → 1.132.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/connect.cjs +21 -6
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +77 -34
  4. package/lib/seam/connect/openapi.d.ts +19 -5
  5. package/lib/seam/connect/openapi.js +21 -6
  6. package/lib/seam/connect/openapi.js.map +1 -1
  7. package/lib/seam/connect/route-types.d.ts +58 -29
  8. package/lib/seam/connect/unstable/models/acs/acs_system_capability_flags.d.ts +8 -0
  9. package/lib/seam/connect/unstable/models/acs/acs_system_capability_flags.js +5 -0
  10. package/lib/seam/connect/unstable/models/acs/acs_system_capability_flags.js.map +1 -0
  11. package/lib/seam/connect/unstable/models/acs/index.d.ts +1 -0
  12. package/lib/seam/connect/unstable/models/acs/index.js +1 -0
  13. package/lib/seam/connect/unstable/models/acs/index.js.map +1 -1
  14. package/lib/seam/connect/unstable/models/acs/system.d.ts +6 -3
  15. package/lib/seam/connect/unstable/models/acs/system.js +5 -2
  16. package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
  17. package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +6 -10
  18. package/lib/seam/connect/unstable/models/devices/managed-device.js +8 -5
  19. package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
  20. package/lib/seam/connect/unstable/models/devices/phone.d.ts +6 -0
  21. package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +0 -1
  22. package/package.json +1 -1
  23. package/src/lib/seam/connect/openapi.ts +25 -7
  24. package/src/lib/seam/connect/route-types.ts +58 -29
  25. package/src/lib/seam/connect/unstable/models/acs/acs_system_capability_flags.ts +5 -0
  26. package/src/lib/seam/connect/unstable/models/acs/index.ts +1 -0
  27. package/src/lib/seam/connect/unstable/models/acs/system.ts +21 -17
  28. package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +12 -7
@@ -1199,6 +1199,7 @@ export interface Routes {
1199
1199
  connected_account_ids: string[];
1200
1200
  image_url: string;
1201
1201
  image_alt_text: string;
1202
+ can_automate_enrollment?: boolean | undefined;
1202
1203
  };
1203
1204
  };
1204
1205
  };
@@ -1226,6 +1227,7 @@ export interface Routes {
1226
1227
  connected_account_ids: string[];
1227
1228
  image_url: string;
1228
1229
  image_alt_text: string;
1230
+ can_automate_enrollment?: boolean | undefined;
1229
1231
  }>;
1230
1232
  };
1231
1233
  };
@@ -1938,16 +1940,18 @@ export interface Routes {
1938
1940
  device_id: string;
1939
1941
  /** Type of the device. */
1940
1942
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat') | ('ios_phone' | 'android_phone');
1943
+ /** Optional nickname to describe the device, settable through Seam */
1944
+ nickname?: string | undefined;
1945
+ /** 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. */
1946
+ display_name: string;
1941
1947
  /** 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. */
1942
1948
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
1943
1949
  /** Properties of the device. */
1944
1950
  properties: (({
1945
1951
  /** Indicates whether the device is online. */
1946
1952
  online: boolean;
1947
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
1953
+ /** Name of the device. Deprecated - use device.display_name instead */
1948
1954
  name: string;
1949
- /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
1950
- nickname?: string | undefined;
1951
1955
  appearance: {
1952
1956
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
1953
1957
  name: string;
@@ -2434,16 +2438,18 @@ export interface Routes {
2434
2438
  device_id: string;
2435
2439
  /** Type of the device. */
2436
2440
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat') | ('ios_phone' | 'android_phone');
2441
+ /** Optional nickname to describe the device, settable through Seam */
2442
+ nickname?: string | undefined;
2443
+ /** 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. */
2444
+ display_name: string;
2437
2445
  /** 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. */
2438
2446
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
2439
2447
  /** Properties of the device. */
2440
2448
  properties: (({
2441
2449
  /** Indicates whether the device is online. */
2442
2450
  online: boolean;
2443
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
2451
+ /** Name of the device. Deprecated - use device.display_name instead */
2444
2452
  name: string;
2445
- /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
2446
- nickname?: string | undefined;
2447
2453
  appearance: {
2448
2454
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
2449
2455
  name: string;
@@ -2958,7 +2964,7 @@ export interface Routes {
2958
2964
  created_at: string;
2959
2965
  is_managed: false;
2960
2966
  properties: {
2961
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
2967
+ /** Name of the device. Deprecated - use device.display_name instead */
2962
2968
  name: string;
2963
2969
  /** Indicates whether the device is online. */
2964
2970
  online: boolean;
@@ -3043,7 +3049,7 @@ export interface Routes {
3043
3049
  created_at: string;
3044
3050
  is_managed: false;
3045
3051
  properties: {
3046
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
3052
+ /** Name of the device. Deprecated - use device.display_name instead */
3047
3053
  name: string;
3048
3054
  /** Indicates whether the device is online. */
3049
3055
  online: boolean;
@@ -3253,16 +3259,18 @@ export interface Routes {
3253
3259
  device_id: string;
3254
3260
  /** Type of the device. */
3255
3261
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat') | ('ios_phone' | 'android_phone');
3262
+ /** Optional nickname to describe the device, settable through Seam */
3263
+ nickname?: string | undefined;
3264
+ /** 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. */
3265
+ display_name: string;
3256
3266
  /** 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. */
3257
3267
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
3258
3268
  /** Properties of the device. */
3259
3269
  properties: (({
3260
3270
  /** Indicates whether the device is online. */
3261
3271
  online: boolean;
3262
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
3272
+ /** Name of the device. Deprecated - use device.display_name instead */
3263
3273
  name: string;
3264
- /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
3265
- nickname?: string | undefined;
3266
3274
  appearance: {
3267
3275
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
3268
3276
  name: string;
@@ -3726,16 +3734,18 @@ export interface Routes {
3726
3734
  device_id: string;
3727
3735
  /** Type of the device. */
3728
3736
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat') | ('ios_phone' | 'android_phone');
3737
+ /** Optional nickname to describe the device, settable through Seam */
3738
+ nickname?: string | undefined;
3739
+ /** 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. */
3740
+ display_name: string;
3729
3741
  /** 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. */
3730
3742
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
3731
3743
  /** Properties of the device. */
3732
3744
  properties: (({
3733
3745
  /** Indicates whether the device is online. */
3734
3746
  online: boolean;
3735
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
3747
+ /** Name of the device. Deprecated - use device.display_name instead */
3736
3748
  name: string;
3737
- /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
3738
- nickname?: string | undefined;
3739
3749
  appearance: {
3740
3750
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
3741
3751
  name: string;
@@ -4222,16 +4232,18 @@ export interface Routes {
4222
4232
  device_id: string;
4223
4233
  /** Type of the device. */
4224
4234
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat') | ('ios_phone' | 'android_phone');
4235
+ /** Optional nickname to describe the device, settable through Seam */
4236
+ nickname?: string | undefined;
4237
+ /** 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. */
4238
+ display_name: string;
4225
4239
  /** 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. */
4226
4240
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
4227
4241
  /** Properties of the device. */
4228
4242
  properties: (({
4229
4243
  /** Indicates whether the device is online. */
4230
4244
  online: boolean;
4231
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
4245
+ /** Name of the device. Deprecated - use device.display_name instead */
4232
4246
  name: string;
4233
- /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
4234
- nickname?: string | undefined;
4235
4247
  appearance: {
4236
4248
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
4237
4249
  name: string;
@@ -4695,16 +4707,18 @@ export interface Routes {
4695
4707
  device_id: string;
4696
4708
  /** Type of the device. */
4697
4709
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat') | ('ios_phone' | 'android_phone');
4710
+ /** Optional nickname to describe the device, settable through Seam */
4711
+ nickname?: string | undefined;
4712
+ /** 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. */
4713
+ display_name: string;
4698
4714
  /** 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. */
4699
4715
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
4700
4716
  /** Properties of the device. */
4701
4717
  properties: (({
4702
4718
  /** Indicates whether the device is online. */
4703
4719
  online: boolean;
4704
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
4720
+ /** Name of the device. Deprecated - use device.display_name instead */
4705
4721
  name: string;
4706
- /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
4707
- nickname?: string | undefined;
4708
4722
  appearance: {
4709
4723
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
4710
4724
  name: string;
@@ -5474,6 +5488,10 @@ export interface Routes {
5474
5488
  /** Unique identifier for the device. */
5475
5489
  device_id: string;
5476
5490
  device_type: 'android_phone' | 'ios_phone';
5491
+ /** Optional nickname to describe the device, settable through Seam */
5492
+ nickname?: string | undefined;
5493
+ /** 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. */
5494
+ display_name: string;
5477
5495
  /** 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. */
5478
5496
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
5479
5497
  properties: {
@@ -5543,6 +5561,10 @@ export interface Routes {
5543
5561
  /** Unique identifier for the device. */
5544
5562
  device_id: string;
5545
5563
  device_type: 'android_phone' | 'ios_phone';
5564
+ /** Optional nickname to describe the device, settable through Seam */
5565
+ nickname?: string | undefined;
5566
+ /** 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. */
5567
+ display_name: string;
5546
5568
  /** 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. */
5547
5569
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
5548
5570
  properties: {
@@ -5797,16 +5819,18 @@ export interface Routes {
5797
5819
  device_id: string;
5798
5820
  /** Type of the device. */
5799
5821
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat') | ('ios_phone' | 'android_phone');
5822
+ /** Optional nickname to describe the device, settable through Seam */
5823
+ nickname?: string | undefined;
5824
+ /** 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. */
5825
+ display_name: string;
5800
5826
  /** 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. */
5801
5827
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
5802
5828
  /** Properties of the device. */
5803
5829
  properties: (({
5804
5830
  /** Indicates whether the device is online. */
5805
5831
  online: boolean;
5806
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
5832
+ /** Name of the device. Deprecated - use device.display_name instead */
5807
5833
  name: string;
5808
- /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
5809
- nickname?: string | undefined;
5810
5834
  appearance: {
5811
5835
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
5812
5836
  name: string;
@@ -6369,16 +6393,18 @@ export interface Routes {
6369
6393
  device_id: string;
6370
6394
  /** Type of the device. */
6371
6395
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat') | ('ios_phone' | 'android_phone');
6396
+ /** Optional nickname to describe the device, settable through Seam */
6397
+ nickname?: string | undefined;
6398
+ /** 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. */
6399
+ display_name: string;
6372
6400
  /** 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. */
6373
6401
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
6374
6402
  /** Properties of the device. */
6375
6403
  properties: (({
6376
6404
  /** Indicates whether the device is online. */
6377
6405
  online: boolean;
6378
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
6406
+ /** Name of the device. Deprecated - use device.display_name instead */
6379
6407
  name: string;
6380
- /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
6381
- nickname?: string | undefined;
6382
6408
  appearance: {
6383
6409
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
6384
6410
  name: string;
@@ -7126,16 +7152,18 @@ export interface Routes {
7126
7152
  device_id: string;
7127
7153
  /** Type of the device. */
7128
7154
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_thermostat') | ('ios_phone' | 'android_phone');
7155
+ /** Optional nickname to describe the device, settable through Seam */
7156
+ nickname?: string | undefined;
7157
+ /** 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. */
7158
+ display_name: string;
7129
7159
  /** 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. */
7130
7160
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
7131
7161
  /** Properties of the device. */
7132
7162
  properties: (({
7133
7163
  /** Indicates whether the device is online. */
7134
7164
  online: boolean;
7135
- /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
7165
+ /** Name of the device. Deprecated - use device.display_name instead */
7136
7166
  name: string;
7137
- /** Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
7138
- nickname?: string | undefined;
7139
7167
  appearance: {
7140
7168
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
7141
7169
  name: string;
@@ -7620,6 +7648,7 @@ export interface Routes {
7620
7648
  connected_account_ids: string[];
7621
7649
  image_url: string;
7622
7650
  image_alt_text: string;
7651
+ can_automate_enrollment?: boolean | undefined;
7623
7652
  }>;
7624
7653
  };
7625
7654
  };
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export declare const acs_system_capability_flags: z.ZodObject<{
3
+ can_automate_enrollment: z.ZodOptional<z.ZodBoolean>;
4
+ }, "strip", z.ZodTypeAny, {
5
+ can_automate_enrollment?: boolean | undefined;
6
+ }, {
7
+ can_automate_enrollment?: boolean | undefined;
8
+ }>;
@@ -0,0 +1,5 @@
1
+ import { z } from 'zod';
2
+ export const acs_system_capability_flags = z.object({
3
+ can_automate_enrollment: z.boolean().optional(),
4
+ });
5
+ //# sourceMappingURL=acs_system_capability_flags.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acs_system_capability_flags.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/acs_system_capability_flags.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAA"}
@@ -1,4 +1,5 @@
1
1
  export * from './access_group.js';
2
+ export * from './acs_system_capability_flags.js';
2
3
  export * from './credential.js';
3
4
  export * from './credential_pool.js';
4
5
  export * from './credential_provisioning_automation.js';
@@ -1,4 +1,5 @@
1
1
  export * from './access_group.js';
2
+ export * from './acs_system_capability_flags.js';
2
3
  export * from './credential.js';
3
4
  export * from './credential_pool.js';
4
5
  export * from './credential_provisioning_automation.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,yCAAyC,CAAA;AACvD,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,kCAAkC,CAAA;AAChD,cAAc,iBAAiB,CAAA;AAC/B,cAAc,sBAAsB,CAAA;AACpC,cAAc,yCAAyC,CAAA;AACvD,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA"}
@@ -2,17 +2,18 @@ import { z } from 'zod';
2
2
  export declare const acs_system_external_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service"]>;
3
3
  export type AcsSystemExternalType = z.infer<typeof acs_system_external_type>;
4
4
  export declare const acs_system: z.ZodObject<{
5
+ name: z.ZodString;
6
+ workspace_id: z.ZodString;
7
+ created_at: z.ZodString;
5
8
  acs_system_id: z.ZodString;
6
9
  external_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service"]>;
7
10
  external_type_display_name: z.ZodString;
8
11
  system_type: z.ZodEnum<["pti_site", "alta_org", "salto_site", "brivo_account", "hid_credential_manager_organization", "visionline_system", "assa_abloy_credential_service"]>;
9
12
  system_type_display_name: z.ZodString;
10
- name: z.ZodString;
11
- created_at: z.ZodString;
12
- workspace_id: z.ZodString;
13
13
  connected_account_ids: z.ZodArray<z.ZodString, "many">;
14
14
  image_url: z.ZodString;
15
15
  image_alt_text: z.ZodString;
16
+ can_automate_enrollment: z.ZodOptional<z.ZodBoolean>;
16
17
  }, "strip", z.ZodTypeAny, {
17
18
  name: string;
18
19
  workspace_id: string;
@@ -25,6 +26,7 @@ export declare const acs_system: z.ZodObject<{
25
26
  connected_account_ids: string[];
26
27
  image_url: string;
27
28
  image_alt_text: string;
29
+ can_automate_enrollment?: boolean | undefined;
28
30
  }, {
29
31
  name: string;
30
32
  workspace_id: string;
@@ -37,5 +39,6 @@ export declare const acs_system: z.ZodObject<{
37
39
  connected_account_ids: string[];
38
40
  image_url: string;
39
41
  image_alt_text: string;
42
+ can_automate_enrollment?: boolean | undefined;
40
43
  }>;
41
44
  export type AcsSystem = z.output<typeof acs_system>;
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import { acs_system_capability_flags } from './acs_system_capability_flags.js';
2
3
  // If changed, update seam.acs_system.external_type generated column
3
4
  export const acs_system_external_type = z.enum([
4
5
  'pti_site',
@@ -9,7 +10,8 @@ export const acs_system_external_type = z.enum([
9
10
  'visionline_system',
10
11
  'assa_abloy_credential_service',
11
12
  ]);
12
- export const acs_system = z.object({
13
+ export const acs_system = z
14
+ .object({
13
15
  acs_system_id: z.string().uuid(),
14
16
  external_type: acs_system_external_type,
15
17
  external_type_display_name: z.string(),
@@ -23,5 +25,6 @@ export const acs_system = z.object({
23
25
  connected_account_ids: z.array(z.string()),
24
26
  image_url: z.string(),
25
27
  image_alt_text: z.string(),
26
- });
28
+ })
29
+ .merge(acs_system_capability_flags);
27
30
  //# sourceMappingURL=system.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"system.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,oEAAoE;AACpE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,UAAU;IACV,UAAU;IACV,YAAY;IACZ,eAAe;IACf,qCAAqC;IACrC,mBAAmB;IACnB,+BAA+B;CAChC,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,CAAC;IACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,aAAa,EAAE,wBAAwB;IACvC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,WAAW,EAAE,wBAAwB,CAAC,QAAQ,CAC5C,+BAA+B,CAChC;IACD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,QAAQ,CAAC,4CAA4C,CAAC;IACzD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC1C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAA"}
1
+ {"version":3,"file":"system.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAA;AAE9E,oEAAoE;AACpE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,UAAU;IACV,UAAU;IACV,YAAY;IACZ,eAAe;IACf,qCAAqC;IACrC,mBAAmB;IACnB,+BAA+B;CAChC,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC;KACxB,MAAM,CAAC;IACN,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,aAAa,EAAE,wBAAwB;IACvC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE;IACtC,WAAW,EAAE,wBAAwB,CAAC,QAAQ,CAC5C,+BAA+B,CAChC;IACD,wBAAwB,EAAE,CAAC;SACxB,MAAM,EAAE;SACR,QAAQ,CAAC,4CAA4C,CAAC;IACzD,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,qBAAqB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC1C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE;CAC3B,CAAC;KACD,KAAK,CAAC,2BAA2B,CAAC,CAAA"}
@@ -6,7 +6,6 @@ export type BatteryStatus = z.infer<typeof battery_status>;
6
6
  export declare const common_device_properties: z.ZodObject<{
7
7
  online: z.ZodBoolean;
8
8
  name: z.ZodString;
9
- nickname: z.ZodOptional<z.ZodString>;
10
9
  appearance: z.ZodObject<{
11
10
  name: z.ZodString;
12
11
  }, "strip", z.ZodTypeAny, {
@@ -66,7 +65,6 @@ export declare const common_device_properties: z.ZodObject<{
66
65
  online_access_codes_supported?: boolean | undefined;
67
66
  accessory_keypad_supported?: boolean | undefined;
68
67
  };
69
- nickname?: string | undefined;
70
68
  has_direct_power?: boolean | undefined;
71
69
  battery_level?: number | undefined;
72
70
  battery?: {
@@ -94,7 +92,6 @@ export declare const common_device_properties: z.ZodObject<{
94
92
  online_access_codes_supported?: boolean | undefined;
95
93
  accessory_keypad_supported?: boolean | undefined;
96
94
  };
97
- nickname?: string | undefined;
98
95
  has_direct_power?: boolean | undefined;
99
96
  battery_level?: number | undefined;
100
97
  battery?: {
@@ -127,10 +124,10 @@ export declare const managed_device: z.ZodObject<{
127
124
  custom_metadata: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean, z.ZodNull]>>, Record<string, string | boolean | null>, Record<string, string | boolean | null>>>;
128
125
  device_id: z.ZodString;
129
126
  is_managed: z.ZodLiteral<true>;
127
+ display_name: z.ZodString;
130
128
  properties: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
131
129
  online: z.ZodBoolean;
132
130
  name: z.ZodString;
133
- nickname: z.ZodOptional<z.ZodString>;
134
131
  appearance: z.ZodObject<{
135
132
  name: z.ZodString;
136
133
  }, "strip", z.ZodTypeAny, {
@@ -190,7 +187,6 @@ export declare const managed_device: z.ZodObject<{
190
187
  online_access_codes_supported?: boolean | undefined;
191
188
  accessory_keypad_supported?: boolean | undefined;
192
189
  };
193
- nickname?: string | undefined;
194
190
  has_direct_power?: boolean | undefined;
195
191
  battery_level?: number | undefined;
196
192
  battery?: {
@@ -218,7 +214,6 @@ export declare const managed_device: z.ZodObject<{
218
214
  online_access_codes_supported?: boolean | undefined;
219
215
  accessory_keypad_supported?: boolean | undefined;
220
216
  };
221
- nickname?: string | undefined;
222
217
  has_direct_power?: boolean | undefined;
223
218
  battery_level?: number | undefined;
224
219
  battery?: {
@@ -2054,6 +2049,7 @@ export declare const managed_device: z.ZodObject<{
2054
2049
  message: string;
2055
2050
  warning_code: string;
2056
2051
  }>, "many">;
2052
+ nickname: z.ZodOptional<z.ZodString>;
2057
2053
  can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
2058
2054
  can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
2059
2055
  can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
@@ -2067,6 +2063,7 @@ export declare const managed_device: z.ZodObject<{
2067
2063
  created_at: string;
2068
2064
  device_id: string;
2069
2065
  is_managed: true;
2066
+ display_name: string;
2070
2067
  properties: ({
2071
2068
  name: string;
2072
2069
  appearance: {
@@ -2080,7 +2077,6 @@ export declare const managed_device: z.ZodObject<{
2080
2077
  online_access_codes_supported?: boolean | undefined;
2081
2078
  accessory_keypad_supported?: boolean | undefined;
2082
2079
  };
2083
- nickname?: string | undefined;
2084
2080
  has_direct_power?: boolean | undefined;
2085
2081
  battery_level?: number | undefined;
2086
2082
  battery?: {
@@ -2492,7 +2488,6 @@ export declare const managed_device: z.ZodObject<{
2492
2488
  online_access_codes_supported?: boolean | undefined;
2493
2489
  accessory_keypad_supported?: boolean | undefined;
2494
2490
  };
2495
- nickname?: string | undefined;
2496
2491
  has_direct_power?: boolean | undefined;
2497
2492
  battery_level?: number | undefined;
2498
2493
  battery?: {
@@ -2903,6 +2898,7 @@ export declare const managed_device: z.ZodObject<{
2903
2898
  warning_code: string;
2904
2899
  }[];
2905
2900
  custom_metadata?: Record<string, string | boolean | null> | undefined;
2901
+ nickname?: string | undefined;
2906
2902
  can_remotely_unlock?: boolean | undefined;
2907
2903
  can_remotely_lock?: boolean | undefined;
2908
2904
  can_program_online_access_codes?: boolean | undefined;
@@ -2916,6 +2912,7 @@ export declare const managed_device: z.ZodObject<{
2916
2912
  created_at: string;
2917
2913
  device_id: string;
2918
2914
  is_managed: true;
2915
+ display_name: string;
2919
2916
  properties: ({
2920
2917
  name: string;
2921
2918
  appearance: {
@@ -2929,7 +2926,6 @@ export declare const managed_device: z.ZodObject<{
2929
2926
  online_access_codes_supported?: boolean | undefined;
2930
2927
  accessory_keypad_supported?: boolean | undefined;
2931
2928
  };
2932
- nickname?: string | undefined;
2933
2929
  has_direct_power?: boolean | undefined;
2934
2930
  battery_level?: number | undefined;
2935
2931
  battery?: {
@@ -3341,7 +3337,6 @@ export declare const managed_device: z.ZodObject<{
3341
3337
  online_access_codes_supported?: boolean | undefined;
3342
3338
  accessory_keypad_supported?: boolean | undefined;
3343
3339
  };
3344
- nickname?: string | undefined;
3345
3340
  has_direct_power?: boolean | undefined;
3346
3341
  battery_level?: number | undefined;
3347
3342
  battery?: {
@@ -3752,6 +3747,7 @@ export declare const managed_device: z.ZodObject<{
3752
3747
  warning_code: string;
3753
3748
  }[];
3754
3749
  custom_metadata?: Record<string, string | boolean | null> | undefined;
3750
+ nickname?: string | undefined;
3755
3751
  can_remotely_unlock?: boolean | undefined;
3756
3752
  can_remotely_lock?: boolean | undefined;
3757
3753
  can_program_online_access_codes?: boolean | undefined;
@@ -11,11 +11,7 @@ export const common_device_properties = z.object({
11
11
  online: z.boolean().describe('Indicates whether the device is online.'),
12
12
  name: z
13
13
  .string()
14
- .describe('Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.'),
15
- nickname: z
16
- .string()
17
- .optional()
18
- .describe('Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices.'),
14
+ .describe('Name of the device. Deprecated - use device.display_name instead'),
19
15
  appearance: z.object({
20
16
  name: z
21
17
  .string()
@@ -86,6 +82,13 @@ export const managed_device = z
86
82
  .object({
87
83
  device_id: z.string().uuid().describe('Unique identifier for the device.'),
88
84
  device_type: any_device_type.describe('Type of the device.'),
85
+ nickname: z
86
+ .string()
87
+ .optional()
88
+ .describe('Optional nickname to describe the device, settable through Seam'),
89
+ display_name: z
90
+ .string()
91
+ .describe('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.'),
89
92
  capabilities_supported: z
90
93
  .array(capabilities)
91
94
  .describe('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.'),
@@ -1 +1 @@
1
- {"version":3,"file":"managed-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/managed-device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAErE,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,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AAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;SACA,QAAQ,CACP,mYAAmY,CACpY;IACH,QAAQ,EAAE,CAAC;SACR,KAAK,CACJ,CAAC,CAAC,MAAM,CAAC;QACP,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;QACxB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH;SACA,QAAQ,CACP,+YAA+Y,CAChZ;IACH,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,4CAA4C,CAAC;IACzD,eAAe,EAAE,eAAe,CAAC,QAAQ,EAAE;CAC5C,CAAC;KACD,KAAK,CAAC,gBAAgB,CAAC,uBAAuB,CAAC,CAAA"}
1
+ {"version":3,"file":"managed-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/managed-device.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAErE,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAA;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAA;AAEjE,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;AAIzE,MAAM,CAA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SACV,QAAQ,CAAC,uDAAuD,CAAC;IACpE,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CAAC,4CAA4C,CAAC;IACzD,eAAe,EAAE,eAAe,CAAC,QAAQ,EAAE;CAC5C,CAAC;KACD,KAAK,CAAC,gBAAgB,CAAC,uBAAuB,CAAC,CAAA"}
@@ -16,6 +16,7 @@ export declare const phone: z.ZodObject<{
16
16
  custom_metadata: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean, z.ZodNull]>>, Record<string, string | boolean | null>, Record<string, string | boolean | null>>>;
17
17
  device_id: z.ZodString;
18
18
  is_managed: z.ZodLiteral<true>;
19
+ display_name: z.ZodString;
19
20
  device_type: z.ZodEnum<["android_phone", "ios_phone"]>;
20
21
  capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery", "phone"]>, "many">;
21
22
  errors: z.ZodArray<z.ZodObject<{
@@ -41,6 +42,7 @@ export declare const phone: z.ZodObject<{
41
42
  can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
42
43
  can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
43
44
  can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
45
+ nickname: z.ZodOptional<z.ZodString>;
44
46
  properties: z.ZodObject<{
45
47
  assa_abloy_credential_service_metadata: z.ZodOptional<z.ZodObject<{
46
48
  has_active_endpoint: z.ZodBoolean;
@@ -93,6 +95,7 @@ export declare const phone: z.ZodObject<{
93
95
  created_at: string;
94
96
  device_id: string;
95
97
  is_managed: true;
98
+ display_name: string;
96
99
  properties: {
97
100
  assa_abloy_credential_service_metadata?: {
98
101
  has_active_endpoint: boolean;
@@ -116,6 +119,7 @@ export declare const phone: z.ZodObject<{
116
119
  can_remotely_unlock?: boolean | undefined;
117
120
  can_remotely_lock?: boolean | undefined;
118
121
  can_program_online_access_codes?: boolean | undefined;
122
+ nickname?: string | undefined;
119
123
  }, {
120
124
  location: {
121
125
  location_name?: string | undefined;
@@ -125,6 +129,7 @@ export declare const phone: z.ZodObject<{
125
129
  created_at: string;
126
130
  device_id: string;
127
131
  is_managed: true;
132
+ display_name: string;
128
133
  properties: {
129
134
  assa_abloy_credential_service_metadata?: {
130
135
  has_active_endpoint: boolean;
@@ -148,4 +153,5 @@ export declare const phone: z.ZodObject<{
148
153
  can_remotely_unlock?: boolean | undefined;
149
154
  can_remotely_lock?: boolean | undefined;
150
155
  can_program_online_access_codes?: boolean | undefined;
156
+ nickname?: string | undefined;
151
157
  }>;
@@ -8,7 +8,6 @@ export declare const unmanaged_device: z.ZodObject<{
8
8
  properties: z.ZodObject<Pick<{
9
9
  online: z.ZodBoolean;
10
10
  name: z.ZodString;
11
- nickname: z.ZodOptional<z.ZodString>;
12
11
  appearance: z.ZodObject<{
13
12
  name: z.ZodString;
14
13
  }, "strip", z.ZodTypeAny, {