@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
|
@@ -3131,6 +3131,7 @@ export interface Routes {
|
|
|
3131
3131
|
guest_acs_entrance_ids?: string[] | undefined
|
|
3132
3132
|
common_acs_entrance_ids?: string[] | undefined
|
|
3133
3133
|
is_valid?: boolean | undefined
|
|
3134
|
+
auto_join?: boolean | undefined
|
|
3134
3135
|
card_id?: string | undefined
|
|
3135
3136
|
credential_id?: string | undefined
|
|
3136
3137
|
}
|
|
@@ -3162,6 +3163,7 @@ export interface Routes {
|
|
|
3162
3163
|
* @deprecated use override. */
|
|
3163
3164
|
is_override_key?: boolean | undefined
|
|
3164
3165
|
override?: boolean | undefined
|
|
3166
|
+
auto_join?: boolean | undefined
|
|
3165
3167
|
joiner_acs_credential_ids?: string[] | undefined
|
|
3166
3168
|
}
|
|
3167
3169
|
| undefined
|
|
@@ -3214,6 +3216,7 @@ export interface Routes {
|
|
|
3214
3216
|
guest_acs_entrance_ids?: string[] | undefined
|
|
3215
3217
|
common_acs_entrance_ids?: string[] | undefined
|
|
3216
3218
|
is_valid?: boolean | undefined
|
|
3219
|
+
auto_join?: boolean | undefined
|
|
3217
3220
|
card_id?: string | undefined
|
|
3218
3221
|
credential_id?: string | undefined
|
|
3219
3222
|
}
|
|
@@ -3287,6 +3290,7 @@ export interface Routes {
|
|
|
3287
3290
|
guest_acs_entrance_ids?: string[] | undefined
|
|
3288
3291
|
common_acs_entrance_ids?: string[] | undefined
|
|
3289
3292
|
is_valid?: boolean | undefined
|
|
3293
|
+
auto_join?: boolean | undefined
|
|
3290
3294
|
card_id?: string | undefined
|
|
3291
3295
|
credential_id?: string | undefined
|
|
3292
3296
|
}
|
|
@@ -3365,6 +3369,7 @@ export interface Routes {
|
|
|
3365
3369
|
guest_acs_entrance_ids?: string[] | undefined
|
|
3366
3370
|
common_acs_entrance_ids?: string[] | undefined
|
|
3367
3371
|
is_valid?: boolean | undefined
|
|
3372
|
+
auto_join?: boolean | undefined
|
|
3368
3373
|
card_id?: string | undefined
|
|
3369
3374
|
credential_id?: string | undefined
|
|
3370
3375
|
}
|
|
@@ -3487,6 +3492,7 @@ export interface Routes {
|
|
|
3487
3492
|
guest_acs_entrance_ids?: string[] | undefined
|
|
3488
3493
|
common_acs_entrance_ids?: string[] | undefined
|
|
3489
3494
|
is_valid?: boolean | undefined
|
|
3495
|
+
auto_join?: boolean | undefined
|
|
3490
3496
|
card_id?: string | undefined
|
|
3491
3497
|
credential_id?: string | undefined
|
|
3492
3498
|
}
|
|
@@ -3549,6 +3555,7 @@ export interface Routes {
|
|
|
3549
3555
|
guest_acs_entrance_ids?: string[] | undefined
|
|
3550
3556
|
common_acs_entrance_ids?: string[] | undefined
|
|
3551
3557
|
is_valid?: boolean | undefined
|
|
3558
|
+
auto_join?: boolean | undefined
|
|
3552
3559
|
card_id?: string | undefined
|
|
3553
3560
|
credential_id?: string | undefined
|
|
3554
3561
|
}
|
|
@@ -3622,6 +3629,7 @@ export interface Routes {
|
|
|
3622
3629
|
guest_acs_entrance_ids?: string[] | undefined
|
|
3623
3630
|
common_acs_entrance_ids?: string[] | undefined
|
|
3624
3631
|
is_valid?: boolean | undefined
|
|
3632
|
+
auto_join?: boolean | undefined
|
|
3625
3633
|
card_id?: string | undefined
|
|
3626
3634
|
credential_id?: string | undefined
|
|
3627
3635
|
}
|
|
@@ -3686,6 +3694,7 @@ export interface Routes {
|
|
|
3686
3694
|
guest_acs_entrance_ids?: string[] | undefined
|
|
3687
3695
|
common_acs_entrance_ids?: string[] | undefined
|
|
3688
3696
|
is_valid?: boolean | undefined
|
|
3697
|
+
auto_join?: boolean | undefined
|
|
3689
3698
|
card_id?: string | undefined
|
|
3690
3699
|
credential_id?: string | undefined
|
|
3691
3700
|
}
|
|
@@ -4208,6 +4217,635 @@ export interface Routes {
|
|
|
4208
4217
|
}
|
|
4209
4218
|
}
|
|
4210
4219
|
}
|
|
4220
|
+
'/acs/encoders/list': {
|
|
4221
|
+
route: '/acs/encoders/list'
|
|
4222
|
+
method: 'GET' | 'POST'
|
|
4223
|
+
queryParams: {}
|
|
4224
|
+
jsonBody: {}
|
|
4225
|
+
commonParams:
|
|
4226
|
+
| {
|
|
4227
|
+
acs_system_ids: string[]
|
|
4228
|
+
device_ids: string[]
|
|
4229
|
+
limit?: number
|
|
4230
|
+
}
|
|
4231
|
+
| {
|
|
4232
|
+
device_ids: string[]
|
|
4233
|
+
limit?: number
|
|
4234
|
+
}
|
|
4235
|
+
| {
|
|
4236
|
+
acs_system_ids: string[]
|
|
4237
|
+
limit?: number
|
|
4238
|
+
}
|
|
4239
|
+
formData: {}
|
|
4240
|
+
jsonResponse: {
|
|
4241
|
+
devices: Array<{
|
|
4242
|
+
/** Unique identifier for the device. */
|
|
4243
|
+
device_id: string
|
|
4244
|
+
/** Type of the device. */
|
|
4245
|
+
device_type:
|
|
4246
|
+
| (
|
|
4247
|
+
| 'akuvox_lock'
|
|
4248
|
+
| 'august_lock'
|
|
4249
|
+
| 'brivo_access_point'
|
|
4250
|
+
| 'butterflymx_panel'
|
|
4251
|
+
| 'avigilon_alta_entry'
|
|
4252
|
+
| 'doorking_lock'
|
|
4253
|
+
| 'genie_door'
|
|
4254
|
+
| 'igloo_lock'
|
|
4255
|
+
| 'linear_lock'
|
|
4256
|
+
| 'lockly_lock'
|
|
4257
|
+
| 'kwikset_lock'
|
|
4258
|
+
| 'nuki_lock'
|
|
4259
|
+
| 'salto_lock'
|
|
4260
|
+
| 'schlage_lock'
|
|
4261
|
+
| 'seam_relay'
|
|
4262
|
+
| 'smartthings_lock'
|
|
4263
|
+
| 'wyze_lock'
|
|
4264
|
+
| 'yale_lock'
|
|
4265
|
+
| 'two_n_intercom'
|
|
4266
|
+
| 'controlbyweb_device'
|
|
4267
|
+
| 'ttlock_lock'
|
|
4268
|
+
| 'igloohome_lock'
|
|
4269
|
+
| 'hubitat_lock'
|
|
4270
|
+
| 'four_suites_door'
|
|
4271
|
+
| 'dormakaba_oracode_door'
|
|
4272
|
+
| 'tedee_lock'
|
|
4273
|
+
)
|
|
4274
|
+
| ('noiseaware_activity_zone' | 'minut_sensor')
|
|
4275
|
+
| (
|
|
4276
|
+
| 'ecobee_thermostat'
|
|
4277
|
+
| 'nest_thermostat'
|
|
4278
|
+
| 'honeywell_resideo_thermostat'
|
|
4279
|
+
)
|
|
4280
|
+
| ('ios_phone' | 'android_phone')
|
|
4281
|
+
| 'visionline_encoder'
|
|
4282
|
+
/** Optional nickname to describe the device, settable through Seam */
|
|
4283
|
+
nickname?: string | undefined
|
|
4284
|
+
/** 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. */
|
|
4285
|
+
display_name: string
|
|
4286
|
+
/** 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. */
|
|
4287
|
+
capabilities_supported: Array<
|
|
4288
|
+
| 'access_code'
|
|
4289
|
+
| 'lock'
|
|
4290
|
+
| 'noise_detection'
|
|
4291
|
+
| 'thermostat'
|
|
4292
|
+
| 'battery'
|
|
4293
|
+
| 'phone'
|
|
4294
|
+
>
|
|
4295
|
+
/** Properties of the device. */
|
|
4296
|
+
properties: (({
|
|
4297
|
+
/** Indicates whether the device is online. */
|
|
4298
|
+
online: boolean
|
|
4299
|
+
/** Name of the device.
|
|
4300
|
+
* @deprecated use device.display_name instead */
|
|
4301
|
+
name: string
|
|
4302
|
+
/** Represents the accessory keypad state. */
|
|
4303
|
+
accessory_keypad?:
|
|
4304
|
+
| {
|
|
4305
|
+
/** Indicates if the accessory_keypad is connected to the device. */
|
|
4306
|
+
is_connected: boolean
|
|
4307
|
+
/** Indicates if the keypad battery properties. */
|
|
4308
|
+
battery?:
|
|
4309
|
+
| {
|
|
4310
|
+
level: number
|
|
4311
|
+
}
|
|
4312
|
+
| undefined
|
|
4313
|
+
}
|
|
4314
|
+
| undefined
|
|
4315
|
+
appearance: {
|
|
4316
|
+
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
4317
|
+
name: string
|
|
4318
|
+
}
|
|
4319
|
+
model: {
|
|
4320
|
+
/** Indicates whether the device can connect a accessory keypad. */
|
|
4321
|
+
can_connect_accessory_keypad?: boolean | undefined
|
|
4322
|
+
/** Display name of the device model. */
|
|
4323
|
+
display_name: string
|
|
4324
|
+
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
4325
|
+
manufacturer_display_name: string
|
|
4326
|
+
/** Indicates whether the device has a built in accessory keypad. */
|
|
4327
|
+
has_built_in_keypad?: boolean | undefined
|
|
4328
|
+
/** Indicates whether the device supports offline access codes. */
|
|
4329
|
+
offline_access_codes_supported?: boolean | undefined
|
|
4330
|
+
/** Indicates whether the device supports online access codes. */
|
|
4331
|
+
online_access_codes_supported?: boolean | undefined
|
|
4332
|
+
/**
|
|
4333
|
+
* @deprecated use device.properties.model.can_connect_accessory_keypad */
|
|
4334
|
+
accessory_keypad_supported?: boolean | undefined
|
|
4335
|
+
}
|
|
4336
|
+
/** Indicates whether the device has direct power. */
|
|
4337
|
+
has_direct_power?: boolean | undefined
|
|
4338
|
+
/** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
|
|
4339
|
+
battery_level?: number | undefined
|
|
4340
|
+
/** 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. */
|
|
4341
|
+
battery?:
|
|
4342
|
+
| {
|
|
4343
|
+
level: number
|
|
4344
|
+
status: 'critical' | 'low' | 'good' | 'full'
|
|
4345
|
+
}
|
|
4346
|
+
| undefined
|
|
4347
|
+
/** Manufacturer of the device. */
|
|
4348
|
+
manufacturer?: string | undefined
|
|
4349
|
+
/** Image URL for the device. */
|
|
4350
|
+
image_url?: string | undefined
|
|
4351
|
+
/** Alt text for the device image. */
|
|
4352
|
+
image_alt_text?: string | undefined
|
|
4353
|
+
/** Serial number of the device. */
|
|
4354
|
+
serial_number?: string | undefined
|
|
4355
|
+
/** Indicates whether it is currently possible to use online access codes for the device. */
|
|
4356
|
+
online_access_codes_enabled?: boolean | undefined
|
|
4357
|
+
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
4358
|
+
offline_access_codes_enabled?: boolean | undefined
|
|
4359
|
+
/**
|
|
4360
|
+
* @deprecated use device.properties.model.can_connect_accessory_keypad */
|
|
4361
|
+
supports_accessory_keypad?: boolean | undefined
|
|
4362
|
+
/**
|
|
4363
|
+
* @deprecated use offline_access_codes_enabled */
|
|
4364
|
+
supports_offline_access_codes?: boolean | undefined
|
|
4365
|
+
/** Indicates current noise level in decibels, if the device supports noise detection. */
|
|
4366
|
+
noise_level_decibels?: number | undefined
|
|
4367
|
+
/** Array of noise threshold IDs that are currently triggering. */
|
|
4368
|
+
currently_triggering_noise_threshold_ids?: string[] | undefined
|
|
4369
|
+
} & {
|
|
4370
|
+
assa_abloy_credential_service_metadata?:
|
|
4371
|
+
| (
|
|
4372
|
+
| {
|
|
4373
|
+
has_active_endpoint: boolean
|
|
4374
|
+
endpoints: Array<{
|
|
4375
|
+
endpoint_id: string
|
|
4376
|
+
is_active: boolean
|
|
4377
|
+
}>
|
|
4378
|
+
}
|
|
4379
|
+
| undefined
|
|
4380
|
+
)
|
|
4381
|
+
| undefined
|
|
4382
|
+
}) & {
|
|
4383
|
+
august_metadata?:
|
|
4384
|
+
| {
|
|
4385
|
+
lock_id: string
|
|
4386
|
+
lock_name: string
|
|
4387
|
+
house_name: string
|
|
4388
|
+
has_keypad: boolean
|
|
4389
|
+
keypad_battery_level?: string | undefined
|
|
4390
|
+
model?: string | undefined
|
|
4391
|
+
house_id?: string | undefined
|
|
4392
|
+
}
|
|
4393
|
+
| undefined
|
|
4394
|
+
avigilon_alta_metadata?:
|
|
4395
|
+
| {
|
|
4396
|
+
entry_name: string
|
|
4397
|
+
org_name: string
|
|
4398
|
+
zone_id: number
|
|
4399
|
+
zone_name: string
|
|
4400
|
+
site_id: number
|
|
4401
|
+
site_name: string
|
|
4402
|
+
entry_relays_total_count: number
|
|
4403
|
+
}
|
|
4404
|
+
| undefined
|
|
4405
|
+
schlage_metadata?:
|
|
4406
|
+
| {
|
|
4407
|
+
device_id: string
|
|
4408
|
+
device_name: string
|
|
4409
|
+
access_code_length: number | null
|
|
4410
|
+
model?: string | undefined
|
|
4411
|
+
}
|
|
4412
|
+
| undefined
|
|
4413
|
+
smartthings_metadata?:
|
|
4414
|
+
| {
|
|
4415
|
+
device_id: string
|
|
4416
|
+
device_name: string
|
|
4417
|
+
model?: string | undefined
|
|
4418
|
+
location_id?: string | undefined
|
|
4419
|
+
}
|
|
4420
|
+
| undefined
|
|
4421
|
+
lockly_metadata?:
|
|
4422
|
+
| {
|
|
4423
|
+
device_id: string
|
|
4424
|
+
device_name: string
|
|
4425
|
+
model?: string | undefined
|
|
4426
|
+
}
|
|
4427
|
+
| undefined
|
|
4428
|
+
nuki_metadata?:
|
|
4429
|
+
| {
|
|
4430
|
+
device_id: string
|
|
4431
|
+
device_name: string
|
|
4432
|
+
keypad_battery_critical?: boolean | undefined
|
|
4433
|
+
keypad_paired?: boolean | undefined
|
|
4434
|
+
keypad_2_paired?: boolean | undefined
|
|
4435
|
+
}
|
|
4436
|
+
| undefined
|
|
4437
|
+
kwikset_metadata?:
|
|
4438
|
+
| {
|
|
4439
|
+
device_id: string
|
|
4440
|
+
device_name: string
|
|
4441
|
+
model_number: string
|
|
4442
|
+
}
|
|
4443
|
+
| undefined
|
|
4444
|
+
salto_metadata?:
|
|
4445
|
+
| {
|
|
4446
|
+
lock_id: string
|
|
4447
|
+
customer_reference: string
|
|
4448
|
+
lock_type: string
|
|
4449
|
+
battery_level: string
|
|
4450
|
+
locked_state: string
|
|
4451
|
+
model?: string | undefined
|
|
4452
|
+
}
|
|
4453
|
+
| undefined
|
|
4454
|
+
genie_metadata?:
|
|
4455
|
+
| {
|
|
4456
|
+
device_name: string
|
|
4457
|
+
door_name: string
|
|
4458
|
+
}
|
|
4459
|
+
| undefined
|
|
4460
|
+
brivo_metadata?:
|
|
4461
|
+
| {
|
|
4462
|
+
device_name: string
|
|
4463
|
+
}
|
|
4464
|
+
| undefined
|
|
4465
|
+
igloo_metadata?:
|
|
4466
|
+
| {
|
|
4467
|
+
device_id: string
|
|
4468
|
+
bridge_id: string
|
|
4469
|
+
model?: string | undefined
|
|
4470
|
+
}
|
|
4471
|
+
| undefined
|
|
4472
|
+
noiseaware_metadata?:
|
|
4473
|
+
| {
|
|
4474
|
+
device_model: 'indoor' | 'outdoor'
|
|
4475
|
+
noise_level_nrs: number
|
|
4476
|
+
noise_level_decibel: number
|
|
4477
|
+
device_name: string
|
|
4478
|
+
device_id: string
|
|
4479
|
+
}
|
|
4480
|
+
| undefined
|
|
4481
|
+
minut_metadata?:
|
|
4482
|
+
| {
|
|
4483
|
+
device_id: string
|
|
4484
|
+
device_name: string
|
|
4485
|
+
latest_sensor_values: {
|
|
4486
|
+
temperature: {
|
|
4487
|
+
time: string
|
|
4488
|
+
value: number
|
|
4489
|
+
}
|
|
4490
|
+
sound: {
|
|
4491
|
+
time: string
|
|
4492
|
+
value: number
|
|
4493
|
+
}
|
|
4494
|
+
humidity: {
|
|
4495
|
+
time: string
|
|
4496
|
+
value: number
|
|
4497
|
+
}
|
|
4498
|
+
pressure: {
|
|
4499
|
+
time: string
|
|
4500
|
+
value: number
|
|
4501
|
+
}
|
|
4502
|
+
accelerometer_z: {
|
|
4503
|
+
time: string
|
|
4504
|
+
value: number
|
|
4505
|
+
}
|
|
4506
|
+
}
|
|
4507
|
+
}
|
|
4508
|
+
| undefined
|
|
4509
|
+
four_suites_metadata?:
|
|
4510
|
+
| {
|
|
4511
|
+
device_id: number
|
|
4512
|
+
device_name: string
|
|
4513
|
+
reclose_delay_in_seconds: number
|
|
4514
|
+
}
|
|
4515
|
+
| undefined
|
|
4516
|
+
two_n_metadata?:
|
|
4517
|
+
| {
|
|
4518
|
+
device_id: number
|
|
4519
|
+
device_name: string
|
|
4520
|
+
}
|
|
4521
|
+
| undefined
|
|
4522
|
+
controlbyweb_metadata?:
|
|
4523
|
+
| {
|
|
4524
|
+
device_id: string
|
|
4525
|
+
device_name: string
|
|
4526
|
+
relay_name: string | null
|
|
4527
|
+
}
|
|
4528
|
+
| undefined
|
|
4529
|
+
ttlock_metadata?:
|
|
4530
|
+
| {
|
|
4531
|
+
lock_id: number
|
|
4532
|
+
lock_alias: string
|
|
4533
|
+
feature_value: string
|
|
4534
|
+
features: {
|
|
4535
|
+
passcode: boolean
|
|
4536
|
+
passcode_management: boolean
|
|
4537
|
+
unlock_via_gateway: boolean
|
|
4538
|
+
lock_command: boolean
|
|
4539
|
+
incomplete_keyboard_passcode: boolean
|
|
4540
|
+
}
|
|
4541
|
+
has_gateway?: boolean | undefined
|
|
4542
|
+
wireless_keypads?:
|
|
4543
|
+
| Array<{
|
|
4544
|
+
wireless_keypad_id: number
|
|
4545
|
+
wireless_keypad_name: string
|
|
4546
|
+
}>
|
|
4547
|
+
| undefined
|
|
4548
|
+
}
|
|
4549
|
+
| undefined
|
|
4550
|
+
seam_bridge_metadata?:
|
|
4551
|
+
| {
|
|
4552
|
+
unlock_method?: ('bridge' | 'doorking') | undefined
|
|
4553
|
+
device_num: number
|
|
4554
|
+
name: string
|
|
4555
|
+
}
|
|
4556
|
+
| undefined
|
|
4557
|
+
igloohome_metadata?:
|
|
4558
|
+
| {
|
|
4559
|
+
device_id: string
|
|
4560
|
+
device_name: string
|
|
4561
|
+
bridge_id?: string | undefined
|
|
4562
|
+
bridge_name?: string | undefined
|
|
4563
|
+
keypad_id?: string | undefined
|
|
4564
|
+
}
|
|
4565
|
+
| undefined
|
|
4566
|
+
nest_metadata?:
|
|
4567
|
+
| {
|
|
4568
|
+
nest_device_id: string
|
|
4569
|
+
device_name: string
|
|
4570
|
+
custom_name: string
|
|
4571
|
+
}
|
|
4572
|
+
| undefined
|
|
4573
|
+
ecobee_metadata?:
|
|
4574
|
+
| {
|
|
4575
|
+
ecobee_device_id: string
|
|
4576
|
+
device_name: string
|
|
4577
|
+
}
|
|
4578
|
+
| undefined
|
|
4579
|
+
honeywell_resideo_metadata?:
|
|
4580
|
+
| {
|
|
4581
|
+
honeywell_resideo_device_id: string
|
|
4582
|
+
device_name: string
|
|
4583
|
+
}
|
|
4584
|
+
| undefined
|
|
4585
|
+
hubitat_metadata?:
|
|
4586
|
+
| {
|
|
4587
|
+
device_id: string
|
|
4588
|
+
device_name: string
|
|
4589
|
+
device_label: string
|
|
4590
|
+
}
|
|
4591
|
+
| undefined
|
|
4592
|
+
dormakaba_oracode_metadata?:
|
|
4593
|
+
| {
|
|
4594
|
+
door_id?: number | undefined
|
|
4595
|
+
door_name: string
|
|
4596
|
+
device_id?: (number | string) | undefined
|
|
4597
|
+
door_is_wireless: boolean
|
|
4598
|
+
/** @DEPRECATED */
|
|
4599
|
+
site_id: number | null
|
|
4600
|
+
site_name: string
|
|
4601
|
+
iana_timezone?: string | undefined
|
|
4602
|
+
predefined_time_slots?:
|
|
4603
|
+
| Array<{
|
|
4604
|
+
name: string
|
|
4605
|
+
prefix: number
|
|
4606
|
+
check_in_time: string
|
|
4607
|
+
check_out_time: string
|
|
4608
|
+
is_24_hour: boolean
|
|
4609
|
+
is_biweekly_mode: boolean
|
|
4610
|
+
is_one_shot: boolean
|
|
4611
|
+
is_master: boolean
|
|
4612
|
+
ext_dormakaba_oracode_user_level_prefix: number
|
|
4613
|
+
dormakaba_oracode_user_level_id: string
|
|
4614
|
+
}>
|
|
4615
|
+
| undefined
|
|
4616
|
+
}
|
|
4617
|
+
| undefined
|
|
4618
|
+
wyze_metadata?:
|
|
4619
|
+
| {
|
|
4620
|
+
device_id: string
|
|
4621
|
+
device_name: string
|
|
4622
|
+
product_name: string
|
|
4623
|
+
product_type: string
|
|
4624
|
+
product_model: string
|
|
4625
|
+
device_info_model: string
|
|
4626
|
+
keypad_uuid?: string | undefined
|
|
4627
|
+
locker_status_hardlock?: number | undefined
|
|
4628
|
+
}
|
|
4629
|
+
| undefined
|
|
4630
|
+
tedee_metadata?:
|
|
4631
|
+
| {
|
|
4632
|
+
device_id: number
|
|
4633
|
+
serial_number: string
|
|
4634
|
+
device_name: string
|
|
4635
|
+
device_model: string
|
|
4636
|
+
bridge_id: number
|
|
4637
|
+
bridge_name: string
|
|
4638
|
+
keypad_id?: number | undefined
|
|
4639
|
+
}
|
|
4640
|
+
| undefined
|
|
4641
|
+
visionline_metadata?:
|
|
4642
|
+
| {
|
|
4643
|
+
encoder_id: string
|
|
4644
|
+
}
|
|
4645
|
+
| undefined
|
|
4646
|
+
}) &
|
|
4647
|
+
({
|
|
4648
|
+
_experimental_supported_code_from_access_codes_lengths?:
|
|
4649
|
+
| (number[] | undefined)
|
|
4650
|
+
| undefined
|
|
4651
|
+
code_constraints?:
|
|
4652
|
+
| (
|
|
4653
|
+
| Array<
|
|
4654
|
+
| {
|
|
4655
|
+
constraint_type:
|
|
4656
|
+
| 'no_zeros'
|
|
4657
|
+
| 'cannot_start_with_12'
|
|
4658
|
+
| 'no_triple_consecutive_ints'
|
|
4659
|
+
| 'cannot_specify_pin_code'
|
|
4660
|
+
| 'pin_code_matches_existing_set'
|
|
4661
|
+
| 'start_date_in_future'
|
|
4662
|
+
| 'no_ascending_or_descending_sequence'
|
|
4663
|
+
| 'at_least_three_unique_digits'
|
|
4664
|
+
| 'cannot_contain_089'
|
|
4665
|
+
| 'cannot_contain_0789'
|
|
4666
|
+
}
|
|
4667
|
+
| {
|
|
4668
|
+
constraint_type: 'name_length' | 'name_must_be_unique'
|
|
4669
|
+
min_length?: number | undefined
|
|
4670
|
+
max_length?: number | undefined
|
|
4671
|
+
}
|
|
4672
|
+
>
|
|
4673
|
+
| undefined
|
|
4674
|
+
)
|
|
4675
|
+
| undefined
|
|
4676
|
+
supported_code_lengths?: (number[] | undefined) | undefined
|
|
4677
|
+
max_active_codes_supported?: (number | undefined) | undefined
|
|
4678
|
+
supports_backup_access_code_pool?: (boolean | undefined) | undefined
|
|
4679
|
+
has_native_entry_events?: (boolean | undefined) | undefined
|
|
4680
|
+
locked?: (boolean | undefined) | undefined
|
|
4681
|
+
keypad_battery?:
|
|
4682
|
+
| (
|
|
4683
|
+
| {
|
|
4684
|
+
level: number
|
|
4685
|
+
}
|
|
4686
|
+
| undefined
|
|
4687
|
+
)
|
|
4688
|
+
| undefined
|
|
4689
|
+
door_open?: (boolean | undefined) | undefined
|
|
4690
|
+
} & {
|
|
4691
|
+
temperature_fahrenheit?: number | undefined
|
|
4692
|
+
temperature_celsius?: number | undefined
|
|
4693
|
+
relative_humidity?: number | undefined
|
|
4694
|
+
available_hvac_mode_settings?:
|
|
4695
|
+
| Array<'off' | 'heat' | 'cool' | 'heat_cool'>
|
|
4696
|
+
| undefined
|
|
4697
|
+
available_fan_mode_settings?:
|
|
4698
|
+
| Array<'auto' | 'on' | 'circulate'>
|
|
4699
|
+
| undefined
|
|
4700
|
+
is_heating?: boolean | undefined
|
|
4701
|
+
is_cooling?: boolean | undefined
|
|
4702
|
+
is_fan_running?: boolean | undefined
|
|
4703
|
+
/**
|
|
4704
|
+
* @deprecated use current_climate_setting.fan_mode_setting instead. */
|
|
4705
|
+
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined
|
|
4706
|
+
is_temporary_manual_override_active?: boolean | undefined
|
|
4707
|
+
current_climate_setting?:
|
|
4708
|
+
| {
|
|
4709
|
+
climate_preset_key?: string | undefined
|
|
4710
|
+
can_edit?: boolean | undefined
|
|
4711
|
+
can_delete?: boolean | undefined
|
|
4712
|
+
name?: ((string | null) | undefined) | undefined
|
|
4713
|
+
display_name?: string | undefined
|
|
4714
|
+
fan_mode_setting?:
|
|
4715
|
+
| (('auto' | 'on' | 'circulate') | undefined)
|
|
4716
|
+
| undefined
|
|
4717
|
+
hvac_mode_setting?:
|
|
4718
|
+
| (('off' | 'heat' | 'cool' | 'heat_cool') | undefined)
|
|
4719
|
+
| undefined
|
|
4720
|
+
cooling_set_point_celsius?: (number | undefined) | undefined
|
|
4721
|
+
heating_set_point_celsius?: (number | undefined) | undefined
|
|
4722
|
+
cooling_set_point_fahrenheit?:
|
|
4723
|
+
| (number | undefined)
|
|
4724
|
+
| undefined
|
|
4725
|
+
heating_set_point_fahrenheit?:
|
|
4726
|
+
| (number | undefined)
|
|
4727
|
+
| undefined
|
|
4728
|
+
manual_override_allowed?: boolean | undefined
|
|
4729
|
+
}
|
|
4730
|
+
| undefined
|
|
4731
|
+
/**
|
|
4732
|
+
* @deprecated use fallback_climate_preset_key to specify a fallback climate preset instead. */
|
|
4733
|
+
default_climate_setting?:
|
|
4734
|
+
| {
|
|
4735
|
+
climate_preset_key?: string | undefined
|
|
4736
|
+
can_edit?: boolean | undefined
|
|
4737
|
+
can_delete?: boolean | undefined
|
|
4738
|
+
name?: ((string | null) | undefined) | undefined
|
|
4739
|
+
display_name?: string | undefined
|
|
4740
|
+
fan_mode_setting?:
|
|
4741
|
+
| (('auto' | 'on' | 'circulate') | undefined)
|
|
4742
|
+
| undefined
|
|
4743
|
+
hvac_mode_setting?:
|
|
4744
|
+
| (('off' | 'heat' | 'cool' | 'heat_cool') | undefined)
|
|
4745
|
+
| undefined
|
|
4746
|
+
cooling_set_point_celsius?: (number | undefined) | undefined
|
|
4747
|
+
heating_set_point_celsius?: (number | undefined) | undefined
|
|
4748
|
+
cooling_set_point_fahrenheit?:
|
|
4749
|
+
| (number | undefined)
|
|
4750
|
+
| undefined
|
|
4751
|
+
heating_set_point_fahrenheit?:
|
|
4752
|
+
| (number | undefined)
|
|
4753
|
+
| undefined
|
|
4754
|
+
manual_override_allowed?: boolean | undefined
|
|
4755
|
+
}
|
|
4756
|
+
| undefined
|
|
4757
|
+
available_climate_presets?:
|
|
4758
|
+
| Array<{
|
|
4759
|
+
climate_preset_key: string
|
|
4760
|
+
can_edit: boolean
|
|
4761
|
+
can_delete: boolean
|
|
4762
|
+
name?: (string | null) | undefined
|
|
4763
|
+
display_name: string
|
|
4764
|
+
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined
|
|
4765
|
+
hvac_mode_setting?:
|
|
4766
|
+
| ('off' | 'heat' | 'cool' | 'heat_cool')
|
|
4767
|
+
| undefined
|
|
4768
|
+
cooling_set_point_celsius?: number | undefined
|
|
4769
|
+
heating_set_point_celsius?: number | undefined
|
|
4770
|
+
cooling_set_point_fahrenheit?: number | undefined
|
|
4771
|
+
heating_set_point_fahrenheit?: number | undefined
|
|
4772
|
+
manual_override_allowed: boolean
|
|
4773
|
+
}>
|
|
4774
|
+
| undefined
|
|
4775
|
+
fallback_climate_preset_key?: (string | null) | undefined
|
|
4776
|
+
active_thermostat_schedule?:
|
|
4777
|
+
| ({
|
|
4778
|
+
thermostat_schedule_id: string
|
|
4779
|
+
device_id: string
|
|
4780
|
+
name?: string | undefined
|
|
4781
|
+
climate_preset_key: string
|
|
4782
|
+
max_override_period_minutes?: number
|
|
4783
|
+
starts_at: string
|
|
4784
|
+
ends_at: string
|
|
4785
|
+
created_at: string
|
|
4786
|
+
/** 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. */
|
|
4787
|
+
errors?: any
|
|
4788
|
+
} | null)
|
|
4789
|
+
| undefined
|
|
4790
|
+
min_cooling_set_point_celsius?: number | undefined
|
|
4791
|
+
min_cooling_set_point_fahrenheit?: number | undefined
|
|
4792
|
+
max_cooling_set_point_celsius?: number | undefined
|
|
4793
|
+
max_cooling_set_point_fahrenheit?: number | undefined
|
|
4794
|
+
min_heating_set_point_celsius?: number | undefined
|
|
4795
|
+
min_heating_set_point_fahrenheit?: number | undefined
|
|
4796
|
+
max_heating_set_point_celsius?: number | undefined
|
|
4797
|
+
max_heating_set_point_fahrenheit?: number | undefined
|
|
4798
|
+
min_heating_cooling_delta_celsius?: number | undefined
|
|
4799
|
+
min_heating_cooling_delta_fahrenheit?: number | undefined
|
|
4800
|
+
})
|
|
4801
|
+
/** Location information for the device. */
|
|
4802
|
+
location: {
|
|
4803
|
+
/** Name of the device location. */
|
|
4804
|
+
location_name?: string | undefined
|
|
4805
|
+
/** Time zone of the device location. */
|
|
4806
|
+
timezone?: string | undefined
|
|
4807
|
+
} | null
|
|
4808
|
+
/** Unique identifier for the account associated with the device. */
|
|
4809
|
+
connected_account_id: string
|
|
4810
|
+
/** Unique identifier for the Seam workspace associated with the device. */
|
|
4811
|
+
workspace_id: string
|
|
4812
|
+
/** 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. */
|
|
4813
|
+
errors: Array<
|
|
4814
|
+
| {
|
|
4815
|
+
message: string
|
|
4816
|
+
is_device_error: true
|
|
4817
|
+
error_code: string
|
|
4818
|
+
}
|
|
4819
|
+
| {
|
|
4820
|
+
message: string
|
|
4821
|
+
is_connected_account_error: true
|
|
4822
|
+
error_code: string
|
|
4823
|
+
}
|
|
4824
|
+
>
|
|
4825
|
+
/** 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. */
|
|
4826
|
+
warnings: Array<{
|
|
4827
|
+
message: string
|
|
4828
|
+
warning_code: string
|
|
4829
|
+
}>
|
|
4830
|
+
/** Date and time at which the device object was created. */
|
|
4831
|
+
created_at: string
|
|
4832
|
+
/** Indicates whether Seam manages the device. */
|
|
4833
|
+
is_managed: true
|
|
4834
|
+
custom_metadata: Record<string, string | boolean>
|
|
4835
|
+
can_remotely_unlock?: boolean | undefined
|
|
4836
|
+
can_remotely_lock?: boolean | undefined
|
|
4837
|
+
can_program_offline_access_codes?: boolean | undefined
|
|
4838
|
+
can_program_online_access_codes?: boolean | undefined
|
|
4839
|
+
can_hvac_heat?: boolean | undefined
|
|
4840
|
+
can_hvac_cool?: boolean | undefined
|
|
4841
|
+
can_hvac_heat_cool?: boolean | undefined
|
|
4842
|
+
can_turn_off_hvac?: boolean | undefined
|
|
4843
|
+
can_simulate_removal?: boolean | undefined
|
|
4844
|
+
can_simulate_connection?: boolean | undefined
|
|
4845
|
+
can_simulate_disconnection?: boolean | undefined
|
|
4846
|
+
}>
|
|
4847
|
+
}
|
|
4848
|
+
}
|
|
4211
4849
|
'/acs/encoders/read_card': {
|
|
4212
4850
|
route: '/acs/encoders/read_card'
|
|
4213
4851
|
method: 'POST'
|
|
@@ -4908,6 +5546,7 @@ export interface Routes {
|
|
|
4908
5546
|
guest_acs_entrance_ids?: string[] | undefined
|
|
4909
5547
|
common_acs_entrance_ids?: string[] | undefined
|
|
4910
5548
|
is_valid?: boolean | undefined
|
|
5549
|
+
auto_join?: boolean | undefined
|
|
4911
5550
|
card_id?: string | undefined
|
|
4912
5551
|
credential_id?: string | undefined
|
|
4913
5552
|
}
|