@seamapi/types 1.256.0 → 1.258.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.
- package/dist/connect.cjs +89 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +609 -0
- package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -0
- package/lib/seam/connect/models/acs/metadata/visionline.d.ts +3 -0
- package/lib/seam/connect/models/acs/metadata/visionline.js +1 -0
- package/lib/seam/connect/models/acs/metadata/visionline.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +134 -0
- package/lib/seam/connect/openapi.js +88 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +465 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/metadata/visionline.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +88 -0
- package/src/lib/seam/connect/route-types.ts +639 -0
|
@@ -2810,6 +2810,7 @@ export interface Routes {
|
|
|
2810
2810
|
guest_acs_entrance_ids?: string[] | undefined;
|
|
2811
2811
|
common_acs_entrance_ids?: string[] | undefined;
|
|
2812
2812
|
is_valid?: boolean | undefined;
|
|
2813
|
+
auto_join?: boolean | undefined;
|
|
2813
2814
|
card_id?: string | undefined;
|
|
2814
2815
|
credential_id?: string | undefined;
|
|
2815
2816
|
} | undefined;
|
|
@@ -2837,6 +2838,7 @@ export interface Routes {
|
|
|
2837
2838
|
* @deprecated use override. */
|
|
2838
2839
|
is_override_key?: boolean | undefined;
|
|
2839
2840
|
override?: boolean | undefined;
|
|
2841
|
+
auto_join?: boolean | undefined;
|
|
2840
2842
|
joiner_acs_credential_ids?: string[] | undefined;
|
|
2841
2843
|
} | undefined;
|
|
2842
2844
|
starts_at?: string | undefined;
|
|
@@ -2879,6 +2881,7 @@ export interface Routes {
|
|
|
2879
2881
|
guest_acs_entrance_ids?: string[] | undefined;
|
|
2880
2882
|
common_acs_entrance_ids?: string[] | undefined;
|
|
2881
2883
|
is_valid?: boolean | undefined;
|
|
2884
|
+
auto_join?: boolean | undefined;
|
|
2882
2885
|
card_id?: string | undefined;
|
|
2883
2886
|
credential_id?: string | undefined;
|
|
2884
2887
|
} | undefined;
|
|
@@ -2942,6 +2945,7 @@ export interface Routes {
|
|
|
2942
2945
|
guest_acs_entrance_ids?: string[] | undefined;
|
|
2943
2946
|
common_acs_entrance_ids?: string[] | undefined;
|
|
2944
2947
|
is_valid?: boolean | undefined;
|
|
2948
|
+
auto_join?: boolean | undefined;
|
|
2945
2949
|
card_id?: string | undefined;
|
|
2946
2950
|
credential_id?: string | undefined;
|
|
2947
2951
|
} | undefined;
|
|
@@ -3005,6 +3009,7 @@ export interface Routes {
|
|
|
3005
3009
|
guest_acs_entrance_ids?: string[] | undefined;
|
|
3006
3010
|
common_acs_entrance_ids?: string[] | undefined;
|
|
3007
3011
|
is_valid?: boolean | undefined;
|
|
3012
|
+
auto_join?: boolean | undefined;
|
|
3008
3013
|
card_id?: string | undefined;
|
|
3009
3014
|
credential_id?: string | undefined;
|
|
3010
3015
|
} | undefined;
|
|
@@ -3104,6 +3109,7 @@ export interface Routes {
|
|
|
3104
3109
|
guest_acs_entrance_ids?: string[] | undefined;
|
|
3105
3110
|
common_acs_entrance_ids?: string[] | undefined;
|
|
3106
3111
|
is_valid?: boolean | undefined;
|
|
3112
|
+
auto_join?: boolean | undefined;
|
|
3107
3113
|
card_id?: string | undefined;
|
|
3108
3114
|
credential_id?: string | undefined;
|
|
3109
3115
|
} | undefined;
|
|
@@ -3156,6 +3162,7 @@ export interface Routes {
|
|
|
3156
3162
|
guest_acs_entrance_ids?: string[] | undefined;
|
|
3157
3163
|
common_acs_entrance_ids?: string[] | undefined;
|
|
3158
3164
|
is_valid?: boolean | undefined;
|
|
3165
|
+
auto_join?: boolean | undefined;
|
|
3159
3166
|
card_id?: string | undefined;
|
|
3160
3167
|
credential_id?: string | undefined;
|
|
3161
3168
|
} | undefined;
|
|
@@ -3215,6 +3222,7 @@ export interface Routes {
|
|
|
3215
3222
|
guest_acs_entrance_ids?: string[] | undefined;
|
|
3216
3223
|
common_acs_entrance_ids?: string[] | undefined;
|
|
3217
3224
|
is_valid?: boolean | undefined;
|
|
3225
|
+
auto_join?: boolean | undefined;
|
|
3218
3226
|
card_id?: string | undefined;
|
|
3219
3227
|
credential_id?: string | undefined;
|
|
3220
3228
|
} | undefined;
|
|
@@ -3269,6 +3277,7 @@ export interface Routes {
|
|
|
3269
3277
|
guest_acs_entrance_ids?: string[] | undefined;
|
|
3270
3278
|
common_acs_entrance_ids?: string[] | undefined;
|
|
3271
3279
|
is_valid?: boolean | undefined;
|
|
3280
|
+
auto_join?: boolean | undefined;
|
|
3272
3281
|
card_id?: string | undefined;
|
|
3273
3282
|
credential_id?: string | undefined;
|
|
3274
3283
|
} | undefined;
|
|
@@ -3734,6 +3743,461 @@ export interface Routes {
|
|
|
3734
3743
|
};
|
|
3735
3744
|
};
|
|
3736
3745
|
};
|
|
3746
|
+
'/acs/encoders/list': {
|
|
3747
|
+
route: '/acs/encoders/list';
|
|
3748
|
+
method: 'GET' | 'POST';
|
|
3749
|
+
queryParams: {};
|
|
3750
|
+
jsonBody: {};
|
|
3751
|
+
commonParams: {
|
|
3752
|
+
acs_system_ids: string[];
|
|
3753
|
+
device_ids: string[];
|
|
3754
|
+
limit?: number;
|
|
3755
|
+
} | {
|
|
3756
|
+
device_ids: string[];
|
|
3757
|
+
limit?: number;
|
|
3758
|
+
} | {
|
|
3759
|
+
acs_system_ids: string[];
|
|
3760
|
+
limit?: number;
|
|
3761
|
+
};
|
|
3762
|
+
formData: {};
|
|
3763
|
+
jsonResponse: {
|
|
3764
|
+
devices: Array<{
|
|
3765
|
+
/** Unique identifier for the device. */
|
|
3766
|
+
device_id: string;
|
|
3767
|
+
/** Type of the device. */
|
|
3768
|
+
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_resideo_thermostat') | ('ios_phone' | 'android_phone') | 'visionline_encoder';
|
|
3769
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
3770
|
+
nickname?: string | undefined;
|
|
3771
|
+
/** 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. */
|
|
3772
|
+
display_name: string;
|
|
3773
|
+
/** 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. */
|
|
3774
|
+
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
|
|
3775
|
+
/** Properties of the device. */
|
|
3776
|
+
properties: (({
|
|
3777
|
+
/** Indicates whether the device is online. */
|
|
3778
|
+
online: boolean;
|
|
3779
|
+
/** Name of the device.
|
|
3780
|
+
* @deprecated use device.display_name instead */
|
|
3781
|
+
name: string;
|
|
3782
|
+
/** Represents the accessory keypad state. */
|
|
3783
|
+
accessory_keypad?: {
|
|
3784
|
+
/** Indicates if the accessory_keypad is connected to the device. */
|
|
3785
|
+
is_connected: boolean;
|
|
3786
|
+
/** Indicates if the keypad battery properties. */
|
|
3787
|
+
battery?: {
|
|
3788
|
+
level: number;
|
|
3789
|
+
} | undefined;
|
|
3790
|
+
} | undefined;
|
|
3791
|
+
appearance: {
|
|
3792
|
+
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
3793
|
+
name: string;
|
|
3794
|
+
};
|
|
3795
|
+
model: {
|
|
3796
|
+
/** Indicates whether the device can connect a accessory keypad. */
|
|
3797
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
3798
|
+
/** Display name of the device model. */
|
|
3799
|
+
display_name: string;
|
|
3800
|
+
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
3801
|
+
manufacturer_display_name: string;
|
|
3802
|
+
/** Indicates whether the device has a built in accessory keypad. */
|
|
3803
|
+
has_built_in_keypad?: boolean | undefined;
|
|
3804
|
+
/** Indicates whether the device supports offline access codes. */
|
|
3805
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
3806
|
+
/** Indicates whether the device supports online access codes. */
|
|
3807
|
+
online_access_codes_supported?: boolean | undefined;
|
|
3808
|
+
/**
|
|
3809
|
+
* @deprecated use device.properties.model.can_connect_accessory_keypad */
|
|
3810
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
3811
|
+
};
|
|
3812
|
+
/** Indicates whether the device has direct power. */
|
|
3813
|
+
has_direct_power?: boolean | undefined;
|
|
3814
|
+
/** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
|
|
3815
|
+
battery_level?: number | undefined;
|
|
3816
|
+
/** Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. */
|
|
3817
|
+
battery?: {
|
|
3818
|
+
level: number;
|
|
3819
|
+
status: 'critical' | 'low' | 'good' | 'full';
|
|
3820
|
+
} | undefined;
|
|
3821
|
+
/** Manufacturer of the device. */
|
|
3822
|
+
manufacturer?: string | undefined;
|
|
3823
|
+
/** Image URL for the device. */
|
|
3824
|
+
image_url?: string | undefined;
|
|
3825
|
+
/** Alt text for the device image. */
|
|
3826
|
+
image_alt_text?: string | undefined;
|
|
3827
|
+
/** Serial number of the device. */
|
|
3828
|
+
serial_number?: string | undefined;
|
|
3829
|
+
/** Indicates whether it is currently possible to use online access codes for the device. */
|
|
3830
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
3831
|
+
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
3832
|
+
offline_access_codes_enabled?: boolean | undefined;
|
|
3833
|
+
/**
|
|
3834
|
+
* @deprecated use device.properties.model.can_connect_accessory_keypad */
|
|
3835
|
+
supports_accessory_keypad?: boolean | undefined;
|
|
3836
|
+
/**
|
|
3837
|
+
* @deprecated use offline_access_codes_enabled */
|
|
3838
|
+
supports_offline_access_codes?: boolean | undefined;
|
|
3839
|
+
/** Indicates current noise level in decibels, if the device supports noise detection. */
|
|
3840
|
+
noise_level_decibels?: number | undefined;
|
|
3841
|
+
/** Array of noise threshold IDs that are currently triggering. */
|
|
3842
|
+
currently_triggering_noise_threshold_ids?: string[] | undefined;
|
|
3843
|
+
} & {
|
|
3844
|
+
assa_abloy_credential_service_metadata?: ({
|
|
3845
|
+
has_active_endpoint: boolean;
|
|
3846
|
+
endpoints: Array<{
|
|
3847
|
+
endpoint_id: string;
|
|
3848
|
+
is_active: boolean;
|
|
3849
|
+
}>;
|
|
3850
|
+
} | undefined) | undefined;
|
|
3851
|
+
}) & {
|
|
3852
|
+
august_metadata?: {
|
|
3853
|
+
lock_id: string;
|
|
3854
|
+
lock_name: string;
|
|
3855
|
+
house_name: string;
|
|
3856
|
+
has_keypad: boolean;
|
|
3857
|
+
keypad_battery_level?: string | undefined;
|
|
3858
|
+
model?: string | undefined;
|
|
3859
|
+
house_id?: string | undefined;
|
|
3860
|
+
} | undefined;
|
|
3861
|
+
avigilon_alta_metadata?: {
|
|
3862
|
+
entry_name: string;
|
|
3863
|
+
org_name: string;
|
|
3864
|
+
zone_id: number;
|
|
3865
|
+
zone_name: string;
|
|
3866
|
+
site_id: number;
|
|
3867
|
+
site_name: string;
|
|
3868
|
+
entry_relays_total_count: number;
|
|
3869
|
+
} | undefined;
|
|
3870
|
+
schlage_metadata?: {
|
|
3871
|
+
device_id: string;
|
|
3872
|
+
device_name: string;
|
|
3873
|
+
access_code_length: number | null;
|
|
3874
|
+
model?: string | undefined;
|
|
3875
|
+
} | undefined;
|
|
3876
|
+
smartthings_metadata?: {
|
|
3877
|
+
device_id: string;
|
|
3878
|
+
device_name: string;
|
|
3879
|
+
model?: string | undefined;
|
|
3880
|
+
location_id?: string | undefined;
|
|
3881
|
+
} | undefined;
|
|
3882
|
+
lockly_metadata?: {
|
|
3883
|
+
device_id: string;
|
|
3884
|
+
device_name: string;
|
|
3885
|
+
model?: string | undefined;
|
|
3886
|
+
} | undefined;
|
|
3887
|
+
nuki_metadata?: {
|
|
3888
|
+
device_id: string;
|
|
3889
|
+
device_name: string;
|
|
3890
|
+
keypad_battery_critical?: boolean | undefined;
|
|
3891
|
+
keypad_paired?: boolean | undefined;
|
|
3892
|
+
keypad_2_paired?: boolean | undefined;
|
|
3893
|
+
} | undefined;
|
|
3894
|
+
kwikset_metadata?: {
|
|
3895
|
+
device_id: string;
|
|
3896
|
+
device_name: string;
|
|
3897
|
+
model_number: string;
|
|
3898
|
+
} | undefined;
|
|
3899
|
+
salto_metadata?: {
|
|
3900
|
+
lock_id: string;
|
|
3901
|
+
customer_reference: string;
|
|
3902
|
+
lock_type: string;
|
|
3903
|
+
battery_level: string;
|
|
3904
|
+
locked_state: string;
|
|
3905
|
+
model?: string | undefined;
|
|
3906
|
+
} | undefined;
|
|
3907
|
+
genie_metadata?: {
|
|
3908
|
+
device_name: string;
|
|
3909
|
+
door_name: string;
|
|
3910
|
+
} | undefined;
|
|
3911
|
+
brivo_metadata?: {
|
|
3912
|
+
device_name: string;
|
|
3913
|
+
} | undefined;
|
|
3914
|
+
igloo_metadata?: {
|
|
3915
|
+
device_id: string;
|
|
3916
|
+
bridge_id: string;
|
|
3917
|
+
model?: string | undefined;
|
|
3918
|
+
} | undefined;
|
|
3919
|
+
noiseaware_metadata?: {
|
|
3920
|
+
device_model: 'indoor' | 'outdoor';
|
|
3921
|
+
noise_level_nrs: number;
|
|
3922
|
+
noise_level_decibel: number;
|
|
3923
|
+
device_name: string;
|
|
3924
|
+
device_id: string;
|
|
3925
|
+
} | undefined;
|
|
3926
|
+
minut_metadata?: {
|
|
3927
|
+
device_id: string;
|
|
3928
|
+
device_name: string;
|
|
3929
|
+
latest_sensor_values: {
|
|
3930
|
+
temperature: {
|
|
3931
|
+
time: string;
|
|
3932
|
+
value: number;
|
|
3933
|
+
};
|
|
3934
|
+
sound: {
|
|
3935
|
+
time: string;
|
|
3936
|
+
value: number;
|
|
3937
|
+
};
|
|
3938
|
+
humidity: {
|
|
3939
|
+
time: string;
|
|
3940
|
+
value: number;
|
|
3941
|
+
};
|
|
3942
|
+
pressure: {
|
|
3943
|
+
time: string;
|
|
3944
|
+
value: number;
|
|
3945
|
+
};
|
|
3946
|
+
accelerometer_z: {
|
|
3947
|
+
time: string;
|
|
3948
|
+
value: number;
|
|
3949
|
+
};
|
|
3950
|
+
};
|
|
3951
|
+
} | undefined;
|
|
3952
|
+
four_suites_metadata?: {
|
|
3953
|
+
device_id: number;
|
|
3954
|
+
device_name: string;
|
|
3955
|
+
reclose_delay_in_seconds: number;
|
|
3956
|
+
} | undefined;
|
|
3957
|
+
two_n_metadata?: {
|
|
3958
|
+
device_id: number;
|
|
3959
|
+
device_name: string;
|
|
3960
|
+
} | undefined;
|
|
3961
|
+
controlbyweb_metadata?: {
|
|
3962
|
+
device_id: string;
|
|
3963
|
+
device_name: string;
|
|
3964
|
+
relay_name: string | null;
|
|
3965
|
+
} | undefined;
|
|
3966
|
+
ttlock_metadata?: {
|
|
3967
|
+
lock_id: number;
|
|
3968
|
+
lock_alias: string;
|
|
3969
|
+
feature_value: string;
|
|
3970
|
+
features: {
|
|
3971
|
+
passcode: boolean;
|
|
3972
|
+
passcode_management: boolean;
|
|
3973
|
+
unlock_via_gateway: boolean;
|
|
3974
|
+
lock_command: boolean;
|
|
3975
|
+
incomplete_keyboard_passcode: boolean;
|
|
3976
|
+
};
|
|
3977
|
+
has_gateway?: boolean | undefined;
|
|
3978
|
+
wireless_keypads?: Array<{
|
|
3979
|
+
wireless_keypad_id: number;
|
|
3980
|
+
wireless_keypad_name: string;
|
|
3981
|
+
}> | undefined;
|
|
3982
|
+
} | undefined;
|
|
3983
|
+
seam_bridge_metadata?: {
|
|
3984
|
+
unlock_method?: ('bridge' | 'doorking') | undefined;
|
|
3985
|
+
device_num: number;
|
|
3986
|
+
name: string;
|
|
3987
|
+
} | undefined;
|
|
3988
|
+
igloohome_metadata?: {
|
|
3989
|
+
device_id: string;
|
|
3990
|
+
device_name: string;
|
|
3991
|
+
bridge_id?: string | undefined;
|
|
3992
|
+
bridge_name?: string | undefined;
|
|
3993
|
+
keypad_id?: string | undefined;
|
|
3994
|
+
} | undefined;
|
|
3995
|
+
nest_metadata?: {
|
|
3996
|
+
nest_device_id: string;
|
|
3997
|
+
device_name: string;
|
|
3998
|
+
custom_name: string;
|
|
3999
|
+
} | undefined;
|
|
4000
|
+
ecobee_metadata?: {
|
|
4001
|
+
ecobee_device_id: string;
|
|
4002
|
+
device_name: string;
|
|
4003
|
+
} | undefined;
|
|
4004
|
+
honeywell_resideo_metadata?: {
|
|
4005
|
+
honeywell_resideo_device_id: string;
|
|
4006
|
+
device_name: string;
|
|
4007
|
+
} | undefined;
|
|
4008
|
+
hubitat_metadata?: {
|
|
4009
|
+
device_id: string;
|
|
4010
|
+
device_name: string;
|
|
4011
|
+
device_label: string;
|
|
4012
|
+
} | undefined;
|
|
4013
|
+
dormakaba_oracode_metadata?: {
|
|
4014
|
+
door_id?: number | undefined;
|
|
4015
|
+
door_name: string;
|
|
4016
|
+
device_id?: (number | string) | undefined;
|
|
4017
|
+
door_is_wireless: boolean;
|
|
4018
|
+
/** @DEPRECATED */
|
|
4019
|
+
site_id: number | null;
|
|
4020
|
+
site_name: string;
|
|
4021
|
+
iana_timezone?: string | undefined;
|
|
4022
|
+
predefined_time_slots?: Array<{
|
|
4023
|
+
name: string;
|
|
4024
|
+
prefix: number;
|
|
4025
|
+
check_in_time: string;
|
|
4026
|
+
check_out_time: string;
|
|
4027
|
+
is_24_hour: boolean;
|
|
4028
|
+
is_biweekly_mode: boolean;
|
|
4029
|
+
is_one_shot: boolean;
|
|
4030
|
+
is_master: boolean;
|
|
4031
|
+
ext_dormakaba_oracode_user_level_prefix: number;
|
|
4032
|
+
dormakaba_oracode_user_level_id: string;
|
|
4033
|
+
}> | undefined;
|
|
4034
|
+
} | undefined;
|
|
4035
|
+
wyze_metadata?: {
|
|
4036
|
+
device_id: string;
|
|
4037
|
+
device_name: string;
|
|
4038
|
+
product_name: string;
|
|
4039
|
+
product_type: string;
|
|
4040
|
+
product_model: string;
|
|
4041
|
+
device_info_model: string;
|
|
4042
|
+
keypad_uuid?: string | undefined;
|
|
4043
|
+
locker_status_hardlock?: number | undefined;
|
|
4044
|
+
} | undefined;
|
|
4045
|
+
tedee_metadata?: {
|
|
4046
|
+
device_id: number;
|
|
4047
|
+
serial_number: string;
|
|
4048
|
+
device_name: string;
|
|
4049
|
+
device_model: string;
|
|
4050
|
+
bridge_id: number;
|
|
4051
|
+
bridge_name: string;
|
|
4052
|
+
keypad_id?: number | undefined;
|
|
4053
|
+
} | undefined;
|
|
4054
|
+
visionline_metadata?: {
|
|
4055
|
+
encoder_id: string;
|
|
4056
|
+
} | undefined;
|
|
4057
|
+
}) & ({
|
|
4058
|
+
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
4059
|
+
code_constraints?: (Array<{
|
|
4060
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
4061
|
+
} | {
|
|
4062
|
+
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
4063
|
+
min_length?: number | undefined;
|
|
4064
|
+
max_length?: number | undefined;
|
|
4065
|
+
}> | undefined) | undefined;
|
|
4066
|
+
supported_code_lengths?: (number[] | undefined) | undefined;
|
|
4067
|
+
max_active_codes_supported?: (number | undefined) | undefined;
|
|
4068
|
+
supports_backup_access_code_pool?: (boolean | undefined) | undefined;
|
|
4069
|
+
has_native_entry_events?: (boolean | undefined) | undefined;
|
|
4070
|
+
locked?: (boolean | undefined) | undefined;
|
|
4071
|
+
keypad_battery?: ({
|
|
4072
|
+
level: number;
|
|
4073
|
+
} | undefined) | undefined;
|
|
4074
|
+
door_open?: (boolean | undefined) | undefined;
|
|
4075
|
+
} & {
|
|
4076
|
+
temperature_fahrenheit?: number | undefined;
|
|
4077
|
+
temperature_celsius?: number | undefined;
|
|
4078
|
+
relative_humidity?: number | undefined;
|
|
4079
|
+
available_hvac_mode_settings?: Array<'off' | 'heat' | 'cool' | 'heat_cool'> | undefined;
|
|
4080
|
+
available_fan_mode_settings?: Array<'auto' | 'on' | 'circulate'> | undefined;
|
|
4081
|
+
is_heating?: boolean | undefined;
|
|
4082
|
+
is_cooling?: boolean | undefined;
|
|
4083
|
+
is_fan_running?: boolean | undefined;
|
|
4084
|
+
/**
|
|
4085
|
+
* @deprecated use current_climate_setting.fan_mode_setting instead. */
|
|
4086
|
+
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
4087
|
+
is_temporary_manual_override_active?: boolean | undefined;
|
|
4088
|
+
current_climate_setting?: {
|
|
4089
|
+
climate_preset_key?: string | undefined;
|
|
4090
|
+
can_edit?: boolean | undefined;
|
|
4091
|
+
can_delete?: boolean | undefined;
|
|
4092
|
+
name?: ((string | null) | undefined) | undefined;
|
|
4093
|
+
display_name?: string | undefined;
|
|
4094
|
+
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
4095
|
+
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
4096
|
+
cooling_set_point_celsius?: (number | undefined) | undefined;
|
|
4097
|
+
heating_set_point_celsius?: (number | undefined) | undefined;
|
|
4098
|
+
cooling_set_point_fahrenheit?: (number | undefined) | undefined;
|
|
4099
|
+
heating_set_point_fahrenheit?: (number | undefined) | undefined;
|
|
4100
|
+
manual_override_allowed?: boolean | undefined;
|
|
4101
|
+
} | undefined;
|
|
4102
|
+
/**
|
|
4103
|
+
* @deprecated use fallback_climate_preset_key to specify a fallback climate preset instead. */
|
|
4104
|
+
default_climate_setting?: {
|
|
4105
|
+
climate_preset_key?: string | undefined;
|
|
4106
|
+
can_edit?: boolean | undefined;
|
|
4107
|
+
can_delete?: boolean | undefined;
|
|
4108
|
+
name?: ((string | null) | undefined) | undefined;
|
|
4109
|
+
display_name?: string | undefined;
|
|
4110
|
+
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
4111
|
+
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
4112
|
+
cooling_set_point_celsius?: (number | undefined) | undefined;
|
|
4113
|
+
heating_set_point_celsius?: (number | undefined) | undefined;
|
|
4114
|
+
cooling_set_point_fahrenheit?: (number | undefined) | undefined;
|
|
4115
|
+
heating_set_point_fahrenheit?: (number | undefined) | undefined;
|
|
4116
|
+
manual_override_allowed?: boolean | undefined;
|
|
4117
|
+
} | undefined;
|
|
4118
|
+
available_climate_presets?: Array<{
|
|
4119
|
+
climate_preset_key: string;
|
|
4120
|
+
can_edit: boolean;
|
|
4121
|
+
can_delete: boolean;
|
|
4122
|
+
name?: (string | null) | undefined;
|
|
4123
|
+
display_name: string;
|
|
4124
|
+
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
4125
|
+
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
|
|
4126
|
+
cooling_set_point_celsius?: number | undefined;
|
|
4127
|
+
heating_set_point_celsius?: number | undefined;
|
|
4128
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
4129
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
4130
|
+
manual_override_allowed: boolean;
|
|
4131
|
+
}> | undefined;
|
|
4132
|
+
fallback_climate_preset_key?: (string | null) | undefined;
|
|
4133
|
+
active_thermostat_schedule?: ({
|
|
4134
|
+
thermostat_schedule_id: string;
|
|
4135
|
+
device_id: string;
|
|
4136
|
+
name?: string | undefined;
|
|
4137
|
+
climate_preset_key: string;
|
|
4138
|
+
max_override_period_minutes?: number;
|
|
4139
|
+
starts_at: string;
|
|
4140
|
+
ends_at: string;
|
|
4141
|
+
created_at: string;
|
|
4142
|
+
/** Collection of errors associated with the thermostat schedule, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
|
|
4143
|
+
errors?: any;
|
|
4144
|
+
} | null) | undefined;
|
|
4145
|
+
min_cooling_set_point_celsius?: number | undefined;
|
|
4146
|
+
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
4147
|
+
max_cooling_set_point_celsius?: number | undefined;
|
|
4148
|
+
max_cooling_set_point_fahrenheit?: number | undefined;
|
|
4149
|
+
min_heating_set_point_celsius?: number | undefined;
|
|
4150
|
+
min_heating_set_point_fahrenheit?: number | undefined;
|
|
4151
|
+
max_heating_set_point_celsius?: number | undefined;
|
|
4152
|
+
max_heating_set_point_fahrenheit?: number | undefined;
|
|
4153
|
+
min_heating_cooling_delta_celsius?: number | undefined;
|
|
4154
|
+
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
4155
|
+
});
|
|
4156
|
+
/** Location information for the device. */
|
|
4157
|
+
location: {
|
|
4158
|
+
/** Name of the device location. */
|
|
4159
|
+
location_name?: string | undefined;
|
|
4160
|
+
/** Time zone of the device location. */
|
|
4161
|
+
timezone?: string | undefined;
|
|
4162
|
+
} | null;
|
|
4163
|
+
/** Unique identifier for the account associated with the device. */
|
|
4164
|
+
connected_account_id: string;
|
|
4165
|
+
/** Unique identifier for the Seam workspace associated with the device. */
|
|
4166
|
+
workspace_id: string;
|
|
4167
|
+
/** 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. */
|
|
4168
|
+
errors: Array<{
|
|
4169
|
+
message: string;
|
|
4170
|
+
is_device_error: true;
|
|
4171
|
+
error_code: string;
|
|
4172
|
+
} | {
|
|
4173
|
+
message: string;
|
|
4174
|
+
is_connected_account_error: true;
|
|
4175
|
+
error_code: string;
|
|
4176
|
+
}>;
|
|
4177
|
+
/** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
|
|
4178
|
+
warnings: Array<{
|
|
4179
|
+
message: string;
|
|
4180
|
+
warning_code: string;
|
|
4181
|
+
}>;
|
|
4182
|
+
/** Date and time at which the device object was created. */
|
|
4183
|
+
created_at: string;
|
|
4184
|
+
/** Indicates whether Seam manages the device. */
|
|
4185
|
+
is_managed: true;
|
|
4186
|
+
custom_metadata: Record<string, string | boolean>;
|
|
4187
|
+
can_remotely_unlock?: boolean | undefined;
|
|
4188
|
+
can_remotely_lock?: boolean | undefined;
|
|
4189
|
+
can_program_offline_access_codes?: boolean | undefined;
|
|
4190
|
+
can_program_online_access_codes?: boolean | undefined;
|
|
4191
|
+
can_hvac_heat?: boolean | undefined;
|
|
4192
|
+
can_hvac_cool?: boolean | undefined;
|
|
4193
|
+
can_hvac_heat_cool?: boolean | undefined;
|
|
4194
|
+
can_turn_off_hvac?: boolean | undefined;
|
|
4195
|
+
can_simulate_removal?: boolean | undefined;
|
|
4196
|
+
can_simulate_connection?: boolean | undefined;
|
|
4197
|
+
can_simulate_disconnection?: boolean | undefined;
|
|
4198
|
+
}>;
|
|
4199
|
+
};
|
|
4200
|
+
};
|
|
3737
4201
|
'/acs/encoders/read_card': {
|
|
3738
4202
|
route: '/acs/encoders/read_card';
|
|
3739
4203
|
method: 'POST';
|
|
@@ -4343,6 +4807,7 @@ export interface Routes {
|
|
|
4343
4807
|
guest_acs_entrance_ids?: string[] | undefined;
|
|
4344
4808
|
common_acs_entrance_ids?: string[] | undefined;
|
|
4345
4809
|
is_valid?: boolean | undefined;
|
|
4810
|
+
auto_join?: boolean | undefined;
|
|
4346
4811
|
card_id?: string | undefined;
|
|
4347
4812
|
credential_id?: string | undefined;
|
|
4348
4813
|
} | undefined;
|
package/package.json
CHANGED
|
@@ -25,6 +25,7 @@ export const acs_credential_visionline_metadata = z.object({
|
|
|
25
25
|
guest_acs_entrance_ids: z.array(z.string().uuid()).optional(),
|
|
26
26
|
common_acs_entrance_ids: z.array(z.string().uuid()).optional(),
|
|
27
27
|
is_valid: z.boolean().optional(),
|
|
28
|
+
auto_join: z.boolean().optional(),
|
|
28
29
|
card_id: z.string().optional(),
|
|
29
30
|
credential_id: z.string().optional(),
|
|
30
31
|
})
|