@seamapi/types 1.57.0 → 1.58.1

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.
@@ -789,7 +789,7 @@ export interface Routes {
789
789
  acs_credential_pool_id?: string | undefined;
790
790
  acs_system_id: string;
791
791
  display_name: string;
792
- code: string | null;
792
+ code?: (string | undefined) | null;
793
793
  external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
794
794
  external_type_display_name: string;
795
795
  created_at: string;
@@ -814,7 +814,7 @@ export interface Routes {
814
814
  acs_credential_pool_id?: string | undefined;
815
815
  acs_system_id: string;
816
816
  display_name: string;
817
- code: string | null;
817
+ code?: (string | undefined) | null;
818
818
  external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
819
819
  external_type_display_name: string;
820
820
  created_at: string;
@@ -849,7 +849,7 @@ export interface Routes {
849
849
  acs_credential_pool_id?: string | undefined;
850
850
  acs_system_id: string;
851
851
  display_name: string;
852
- code: string | null;
852
+ code?: (string | undefined) | null;
853
853
  external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
854
854
  external_type_display_name: string;
855
855
  created_at: string;
@@ -878,7 +878,7 @@ export interface Routes {
878
878
  acs_credential_pool_id?: string | undefined;
879
879
  acs_system_id: string;
880
880
  display_name: string;
881
- code: string | null;
881
+ code?: (string | undefined) | null;
882
882
  external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
883
883
  external_type_display_name: string;
884
884
  created_at: string;
@@ -903,7 +903,7 @@ export interface Routes {
903
903
  acs_credential_pool_id?: string | undefined;
904
904
  acs_system_id: string;
905
905
  display_name: string;
906
- code: string | null;
906
+ code?: (string | undefined) | null;
907
907
  external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
908
908
  external_type_display_name: string;
909
909
  created_at: string;
@@ -913,13 +913,13 @@ export interface Routes {
913
913
  };
914
914
  '/acs/credentials/update': {
915
915
  route: '/acs/credentials/update';
916
- method: 'POST';
916
+ method: 'PATCH' | 'POST';
917
917
  queryParams: {};
918
- jsonBody: {};
919
- commonParams: {
920
- code?: string | undefined;
921
- name?: string | undefined;
918
+ jsonBody: {
919
+ acs_credential_id: string;
920
+ code: string;
922
921
  };
922
+ commonParams: {};
923
923
  formData: {};
924
924
  jsonResponse: {
925
925
  acs_credential: {
@@ -928,7 +928,7 @@ export interface Routes {
928
928
  acs_credential_pool_id?: string | undefined;
929
929
  acs_system_id: string;
930
930
  display_name: string;
931
- code: string | null;
931
+ code?: (string | undefined) | null;
932
932
  external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
933
933
  external_type_display_name: string;
934
934
  created_at: string;
@@ -1622,12 +1622,8 @@ export interface Routes {
1622
1622
  device_id: string;
1623
1623
  /** Type of the device. */
1624
1624
  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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
1625
- /** Deprecated. Use enabled_capabilities. */
1626
- capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
1627
- /** 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. */
1628
- enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
1629
1625
  /** 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. */
1630
- supported_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
1626
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
1631
1627
  /** Properties of the device. */
1632
1628
  properties: ({
1633
1629
  /** Indicates whether the device is online. */
@@ -2072,12 +2068,8 @@ export interface Routes {
2072
2068
  device_id: string;
2073
2069
  /** Type of the device. */
2074
2070
  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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
2075
- /** Deprecated. Use enabled_capabilities. */
2076
- capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
2077
- /** 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. */
2078
- enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
2079
2071
  /** 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. */
2080
- supported_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
2072
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
2081
2073
  /** Properties of the device. */
2082
2074
  properties: ({
2083
2075
  /** Indicates whether the device is online. */
@@ -2533,10 +2525,8 @@ export interface Routes {
2533
2525
  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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
2534
2526
  /** Unique identifier for the account associated with the device. */
2535
2527
  connected_account_id: string;
2536
- /** Deprecated. Use enabled_capabilities. */
2528
+ /** 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. */
2537
2529
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
2538
- /** 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. */
2539
- enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
2540
2530
  /** Unique identifier for the Seam workspace associated with the device. */
2541
2531
  workspace_id: string;
2542
2532
  /** 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. */
@@ -2597,10 +2587,8 @@ export interface Routes {
2597
2587
  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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
2598
2588
  /** Unique identifier for the account associated with the device. */
2599
2589
  connected_account_id: string;
2600
- /** Deprecated. Use enabled_capabilities. */
2590
+ /** 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. */
2601
2591
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
2602
- /** 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. */
2603
- enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
2604
2592
  /** Unique identifier for the Seam workspace associated with the device. */
2605
2593
  workspace_id: string;
2606
2594
  /** 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. */
@@ -2805,12 +2793,8 @@ export interface Routes {
2805
2793
  device_id: string;
2806
2794
  /** Type of the device. */
2807
2795
  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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
2808
- /** Deprecated. Use enabled_capabilities. */
2809
- capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
2810
- /** 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. */
2811
- enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
2812
2796
  /** 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. */
2813
- supported_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
2797
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
2814
2798
  /** Properties of the device. */
2815
2799
  properties: ({
2816
2800
  /** Indicates whether the device is online. */
@@ -3233,12 +3217,8 @@ export interface Routes {
3233
3217
  device_id: string;
3234
3218
  /** Type of the device. */
3235
3219
  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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
3236
- /** Deprecated. Use enabled_capabilities. */
3237
- capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
3238
- /** 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. */
3239
- enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
3240
3220
  /** 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. */
3241
- supported_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
3221
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
3242
3222
  /** Properties of the device. */
3243
3223
  properties: ({
3244
3224
  /** Indicates whether the device is online. */
@@ -3683,12 +3663,8 @@ export interface Routes {
3683
3663
  device_id: string;
3684
3664
  /** Type of the device. */
3685
3665
  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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
3686
- /** Deprecated. Use enabled_capabilities. */
3687
- capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
3688
- /** 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. */
3689
- enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
3690
3666
  /** 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. */
3691
- supported_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
3667
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
3692
3668
  /** Properties of the device. */
3693
3669
  properties: ({
3694
3670
  /** Indicates whether the device is online. */
@@ -4111,12 +4087,8 @@ export interface Routes {
4111
4087
  device_id: string;
4112
4088
  /** Type of the device. */
4113
4089
  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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
4114
- /** Deprecated. Use enabled_capabilities. */
4115
- capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
4116
- /** 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. */
4117
- enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
4118
4090
  /** 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. */
4119
- supported_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
4091
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
4120
4092
  /** Properties of the device. */
4121
4093
  properties: ({
4122
4094
  /** Indicates whether the device is online. */
@@ -4969,12 +4941,8 @@ export interface Routes {
4969
4941
  device_id: string;
4970
4942
  /** Type of the device. */
4971
4943
  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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
4972
- /** Deprecated. Use enabled_capabilities. */
4973
- capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
4974
- /** 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. */
4975
- enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
4976
4944
  /** 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. */
4977
- supported_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
4945
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
4978
4946
  /** Properties of the device. */
4979
4947
  properties: ({
4980
4948
  /** Indicates whether the device is online. */
@@ -5449,12 +5417,8 @@ export interface Routes {
5449
5417
  device_id: string;
5450
5418
  /** Type of the device. */
5451
5419
  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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
5452
- /** Deprecated. Use enabled_capabilities. */
5453
- capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
5454
- /** 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. */
5455
- enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
5456
5420
  /** 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. */
5457
- supported_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
5421
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
5458
5422
  /** Properties of the device. */
5459
5423
  properties: ({
5460
5424
  /** Indicates whether the device is online. */
@@ -6026,12 +5990,8 @@ export interface Routes {
6026
5990
  device_id: string;
6027
5991
  /** Type of the device. */
6028
5992
  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') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
6029
- /** Deprecated. Use enabled_capabilities. */
6030
- capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
6031
- /** 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. */
6032
- enabled_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
6033
5993
  /** 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. */
6034
- supported_capabilities: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
5994
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
6035
5995
  /** Properties of the device. */
6036
5996
  properties: ({
6037
5997
  /** Indicates whether the device is online. */
@@ -7,13 +7,12 @@ export declare const acs_credential: z.ZodObject<{
7
7
  acs_credential_pool_id: z.ZodOptional<z.ZodString>;
8
8
  acs_system_id: z.ZodString;
9
9
  display_name: z.ZodString;
10
- code: z.ZodNullable<z.ZodString>;
10
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11
11
  external_type: z.ZodEnum<["pti_card", "brivo_credential", "hid_credential"]>;
12
12
  external_type_display_name: z.ZodString;
13
13
  created_at: z.ZodString;
14
14
  workspace_id: z.ZodString;
15
15
  }, "strip", z.ZodTypeAny, {
16
- code: string | null;
17
16
  workspace_id: string;
18
17
  created_at: string;
19
18
  acs_system_id: string;
@@ -23,8 +22,8 @@ export declare const acs_credential: z.ZodObject<{
23
22
  acs_credential_id: string;
24
23
  acs_user_id?: string | undefined;
25
24
  acs_credential_pool_id?: string | undefined;
25
+ code?: string | null | undefined;
26
26
  }, {
27
- code: string | null;
28
27
  workspace_id: string;
29
28
  created_at: string;
30
29
  acs_system_id: string;
@@ -34,5 +33,6 @@ export declare const acs_credential: z.ZodObject<{
34
33
  acs_credential_id: string;
35
34
  acs_user_id?: string | undefined;
36
35
  acs_credential_pool_id?: string | undefined;
36
+ code?: string | null | undefined;
37
37
  }>;
38
38
  export type AcsCredential = z.output<typeof acs_credential>;
@@ -10,7 +10,7 @@ export const acs_credential = z.object({
10
10
  acs_credential_pool_id: z.string().uuid().optional(),
11
11
  acs_system_id: z.string().uuid(),
12
12
  display_name: z.string().nonempty(),
13
- code: z.string().nullable(),
13
+ code: z.string().optional().nullable(),
14
14
  external_type: acs_credential_external_type,
15
15
  external_type_display_name: z.string(),
16
16
  created_at: z.string().datetime(),
@@ -1 +1 @@
1
- {"version":3,"file":"credential.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/acs/credential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC;IACjD,UAAU;IACV,kBAAkB;IAClB,gBAAgB;CACjB,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACpC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACzC,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;IACpD,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CA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E;CAChC,CAAC,CAAA"}
@@ -97,10 +97,7 @@ export declare const common_device_properties: z.ZodObject<{
97
97
  export declare const managed_device: z.ZodObject<{
98
98
  device_id: z.ZodString;
99
99
  device_type: z.ZodUnion<[z.ZodEnum<["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"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat"]>]>;
100
- /** @deprecated use enabled_capabilities for same behavior */
101
100
  capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery"]>, "many">;
102
- enabled_capabilities: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery"]>, "many">;
103
- supported_capabilities: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery"]>, "many">;
104
101
  properties: z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
105
102
  online: z.ZodBoolean;
106
103
  name: z.ZodString;
@@ -605,7 +602,7 @@ export declare const managed_device: z.ZodObject<{
605
602
  bridge_name?: string | undefined;
606
603
  }>>;
607
604
  nest_metadata: z.ZodOptional<z.ZodObject<{
608
- nest_device_id: z.ZodString; /** @deprecated use enabled_capabilities for same behavior */
605
+ nest_device_id: z.ZodString;
609
606
  device_name: z.ZodString;
610
607
  custom_name: z.ZodString;
611
608
  }, "strip", z.ZodTypeAny, {
@@ -2576,8 +2573,6 @@ export declare const managed_device: z.ZodObject<{
2576
2573
  }))) | undefined);
2577
2574
  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" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
2578
2575
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
2579
- enabled_capabilities: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
2580
- supported_capabilities: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
2581
2576
  errors: {
2582
2577
  message: string;
2583
2578
  error_code: string;
@@ -3341,8 +3336,6 @@ export declare const managed_device: z.ZodObject<{
3341
3336
  }))) | undefined);
3342
3337
  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" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
3343
3338
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
3344
- enabled_capabilities: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
3345
- supported_capabilities: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
3346
3339
  errors: {
3347
3340
  message: string;
3348
3341
  error_code: string;
@@ -73,14 +73,7 @@ export const common_device_properties = z.object({
73
73
  export const managed_device = z.object({
74
74
  device_id: z.string().uuid().describe('Unique identifier for the device.'),
75
75
  device_type: any_device_type.describe('Type of the device.'),
76
- /** @deprecated use enabled_capabilities for same behavior */
77
76
  capabilities_supported: z
78
- .array(capabilities)
79
- .describe('Deprecated. Use enabled_capabilities.'),
80
- enabled_capabilities: z
81
- .array(capabilities)
82
- .describe('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.'),
83
- supported_capabilities: z
84
77
  .array(capabilities)
85
78
  .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.'),
86
79
  properties: common_device_properties
@@ -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,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;AAElD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;AAIzE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC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,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;CAC1D,CAAC,CAAA"}
@@ -6,7 +6,6 @@ export declare const unmanaged_device: z.ZodObject<{
6
6
  device_id: z.ZodString;
7
7
  device_type: z.ZodUnion<[z.ZodEnum<["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"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat"]>]>;
8
8
  capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery"]>, "many">;
9
- enabled_capabilities: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery"]>, "many">;
10
9
  errors: z.ZodArray<z.ZodObject<{
11
10
  error_code: z.ZodString;
12
11
  message: z.ZodString;
@@ -92,7 +91,6 @@ export declare const unmanaged_device: z.ZodObject<{
92
91
  };
93
92
  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" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
94
93
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
95
- enabled_capabilities: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
96
94
  errors: {
97
95
  message: string;
98
96
  error_code: string;
@@ -122,7 +120,6 @@ export declare const unmanaged_device: z.ZodObject<{
122
120
  };
123
121
  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" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
124
122
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
125
- enabled_capabilities: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
126
123
  errors: {
127
124
  message: string;
128
125
  error_code: string;
@@ -6,7 +6,6 @@ export const unmanaged_device = managed_device
6
6
  device_type: true,
7
7
  connected_account_id: true,
8
8
  capabilities_supported: true,
9
- enabled_capabilities: true,
10
9
  workspace_id: true,
11
10
  errors: true,
12
11
  warnings: true,
@@ -1 +1 @@
1
- {"version":3,"file":"unmanaged-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEpD,MAAM,CAAC,MAAM,gBAAgB,GAAG,cAAc;KAC3C,IAAI,CAAC;IACJ,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,IAAI;IAC1B,sBAAsB,EAAE,IAAI;IAC5B,oBAAoB,EAAE,IAAI;IAC1B,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;CACjB,CAAC;KACD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IAC5B,0EAA0E;IAC1E,UAAU,EAAE,CAAC,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;QAChB,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;QACnB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACnC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAChC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACrC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC;YACd,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;YACxB,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE;SACtC,CAAC;QACF,aAAa,EAAE,CAAC;aACb,MAAM,EAAE;aACR,GAAG,CAAC,CAAC,CAAC;aACN,GAAG,CAAC,CAAC,CAAC;aACN,QAAQ,EAAE;aACV,QAAQ,CACP,0FAA0F,CAC3F;QACH,2BAA2B,EAAE,CAAC;aAC3B,OAAO,EAAE;aACT,QAAQ,CACP,uFAAuF,CACxF;aACA,QAAQ,EAAE;KACd,CAAC;CACH,CAAC,CAAA"}
1
+ {"version":3,"file":"unmanaged-device.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KA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": "1.58.1",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
7
7
  "types": "index.d.ts",
8
8
  "exports": {
9
9
  ".": {
10
- "import": "./index.js",
11
- "require": "./dist/index.cjs",
12
- "types": "./index.d.ts"
10
+ "import": {
11
+ "types": "./index.d.ts",
12
+ "default": "./index.js"
13
+ },
14
+ "require": {
15
+ "types": "./dist/index.d.cts",
16
+ "default": "./dist/index.cjs"
17
+ }
13
18
  },
14
19
  "./connect": {
15
- "import": "./connect.js",
16
- "require": "./dist/connect.cjs",
17
- "types": "./connect.d.ts"
20
+ "import": {
21
+ "types": "./connect.d.ts",
22
+ "default": "./connect.js"
23
+ },
24
+ "require": {
25
+ "types": "./dist/connect.d.cts",
26
+ "default": "./dist/connect.cjs"
27
+ }
18
28
  },
19
29
  "./devicedb": {
20
- "import": "./devicedb.js",
21
- "require": "./dist/devicedb.cjs",
22
- "types": "./devicedb.d.ts"
30
+ "import": {
31
+ "types": "./devicedb.d.ts",
32
+ "default": "./devicedb.js"
33
+ },
34
+ "require": {
35
+ "types": "./dist/devicedb.d.cts",
36
+ "default": "./dist/devicedb.cjs"
37
+ }
23
38
  }
24
39
  },
25
40
  "module": "index.js",