@seamapi/types 1.292.1 → 1.292.2
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 +128 -24
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +95 -522
- package/lib/seam/connect/openapi.d.ts +66 -9
- package/lib/seam/connect/openapi.js +89 -18
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +27 -512
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +99 -18
- package/src/lib/seam/connect/route-types.ts +27 -695
- package/src/lib/seam/connect/schemas.ts +1 -0
|
@@ -4673,8 +4673,8 @@ export interface Routes {
|
|
|
4673
4673
|
queryParams: {};
|
|
4674
4674
|
jsonBody: {};
|
|
4675
4675
|
commonParams: {
|
|
4676
|
-
/** ID of the
|
|
4677
|
-
|
|
4676
|
+
/** ID of the acs_encoder to use for the encoding. */
|
|
4677
|
+
acs_encoder_id: string;
|
|
4678
4678
|
/** ID of the acs_credential to encode on a physical card. */
|
|
4679
4679
|
acs_credential_id: string;
|
|
4680
4680
|
};
|
|
@@ -5409,10 +5409,10 @@ export interface Routes {
|
|
|
5409
5409
|
jsonBody: {};
|
|
5410
5410
|
commonParams: {
|
|
5411
5411
|
acs_system_ids: string[];
|
|
5412
|
-
|
|
5412
|
+
acs_encoder_ids: string[];
|
|
5413
5413
|
limit?: number;
|
|
5414
5414
|
} | {
|
|
5415
|
-
|
|
5415
|
+
acs_encoder_ids: string[];
|
|
5416
5416
|
limit?: number;
|
|
5417
5417
|
} | {
|
|
5418
5418
|
acs_system_ids: string[];
|
|
@@ -5420,513 +5420,28 @@ export interface Routes {
|
|
|
5420
5420
|
};
|
|
5421
5421
|
formData: {};
|
|
5422
5422
|
jsonResponse: {
|
|
5423
|
-
|
|
5424
|
-
/**
|
|
5425
|
-
|
|
5426
|
-
/**
|
|
5427
|
-
|
|
5428
|
-
/**
|
|
5429
|
-
|
|
5430
|
-
/**
|
|
5423
|
+
acs_encoders: Array<{
|
|
5424
|
+
/** ID of the `acs_encoder`. */
|
|
5425
|
+
acs_encoder_id: string;
|
|
5426
|
+
/** ID of the access control system that contains the `acs_encoder`. */
|
|
5427
|
+
acs_system_id: string;
|
|
5428
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`. */
|
|
5429
|
+
workspace_id: string;
|
|
5430
|
+
/** Errors associated with the `acs_encoder`. */
|
|
5431
|
+
errors: Array<{
|
|
5432
|
+
/** Date and time at which Seam created the error. */
|
|
5433
|
+
created_at: string;
|
|
5434
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5435
|
+
message: string;
|
|
5436
|
+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5437
|
+
error_code: 'acs_encoder_removed';
|
|
5438
|
+
/** ID of the event that was created when the `acs_encoder` was removed. */
|
|
5439
|
+
_event_id: string;
|
|
5440
|
+
}>;
|
|
5441
|
+
/** Date and time at which the `acs_encoder` was created. */
|
|
5442
|
+
created_at: string;
|
|
5443
|
+
/** Display name for the `acs_encoder`. */
|
|
5431
5444
|
display_name: string;
|
|
5432
|
-
/** 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. */
|
|
5433
|
-
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
|
|
5434
|
-
/** Properties of the device. */
|
|
5435
|
-
properties: (({
|
|
5436
|
-
/** Indicates whether the device is online. */
|
|
5437
|
-
online: boolean;
|
|
5438
|
-
/** Name of the device.
|
|
5439
|
-
* @deprecated use device.display_name instead */
|
|
5440
|
-
name: string;
|
|
5441
|
-
/** Represents the accessory keypad state. */
|
|
5442
|
-
accessory_keypad?: {
|
|
5443
|
-
/** Indicates if the accessory_keypad is connected to the device. */
|
|
5444
|
-
is_connected: boolean;
|
|
5445
|
-
/** Indicates if the keypad battery properties. */
|
|
5446
|
-
battery?: {
|
|
5447
|
-
level: number;
|
|
5448
|
-
} | undefined;
|
|
5449
|
-
} | undefined;
|
|
5450
|
-
appearance: {
|
|
5451
|
-
/** Name of the device as seen from the provider API and application, not settable through Seam. */
|
|
5452
|
-
name: string;
|
|
5453
|
-
};
|
|
5454
|
-
model: {
|
|
5455
|
-
/** Indicates whether the device can connect a accessory keypad. */
|
|
5456
|
-
can_connect_accessory_keypad?: boolean | undefined;
|
|
5457
|
-
/** Display name of the device model. */
|
|
5458
|
-
display_name: string;
|
|
5459
|
-
/** Display name that corresponds to the manufacturer-specific terminology for the device. */
|
|
5460
|
-
manufacturer_display_name: string;
|
|
5461
|
-
/** Indicates whether the device has a built in accessory keypad. */
|
|
5462
|
-
has_built_in_keypad?: boolean | undefined;
|
|
5463
|
-
/** Indicates whether the device supports offline access codes. */
|
|
5464
|
-
offline_access_codes_supported?: boolean | undefined;
|
|
5465
|
-
/** Indicates whether the device supports online access codes. */
|
|
5466
|
-
online_access_codes_supported?: boolean | undefined;
|
|
5467
|
-
/**
|
|
5468
|
-
* @deprecated use device.properties.model.can_connect_accessory_keypad */
|
|
5469
|
-
accessory_keypad_supported?: boolean | undefined;
|
|
5470
|
-
};
|
|
5471
|
-
/** Indicates whether the device has direct power. */
|
|
5472
|
-
has_direct_power?: boolean | undefined;
|
|
5473
|
-
/** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
|
|
5474
|
-
battery_level?: number | undefined;
|
|
5475
|
-
/** 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. */
|
|
5476
|
-
battery?: {
|
|
5477
|
-
level: number;
|
|
5478
|
-
status: 'critical' | 'low' | 'good' | 'full';
|
|
5479
|
-
} | undefined;
|
|
5480
|
-
/** Manufacturer of the device. */
|
|
5481
|
-
manufacturer?: string | undefined;
|
|
5482
|
-
/** Image URL for the device. */
|
|
5483
|
-
image_url?: string | undefined;
|
|
5484
|
-
/** Alt text for the device image. */
|
|
5485
|
-
image_alt_text?: string | undefined;
|
|
5486
|
-
/** Serial number of the device. */
|
|
5487
|
-
serial_number?: string | undefined;
|
|
5488
|
-
/** Indicates whether it is currently possible to use online access codes for the device. */
|
|
5489
|
-
online_access_codes_enabled?: boolean | undefined;
|
|
5490
|
-
/** Indicates whether it is currently possible to use offline access codes for the device. */
|
|
5491
|
-
offline_access_codes_enabled?: boolean | undefined;
|
|
5492
|
-
/**
|
|
5493
|
-
* @deprecated use device.properties.model.can_connect_accessory_keypad */
|
|
5494
|
-
supports_accessory_keypad?: boolean | undefined;
|
|
5495
|
-
/**
|
|
5496
|
-
* @deprecated use offline_access_codes_enabled */
|
|
5497
|
-
supports_offline_access_codes?: boolean | undefined;
|
|
5498
|
-
/** Indicates current noise level in decibels, if the device supports noise detection. */
|
|
5499
|
-
noise_level_decibels?: number | undefined;
|
|
5500
|
-
/** Array of noise threshold IDs that are currently triggering. */
|
|
5501
|
-
currently_triggering_noise_threshold_ids?: string[] | undefined;
|
|
5502
|
-
} & {
|
|
5503
|
-
assa_abloy_credential_service_metadata?: ({
|
|
5504
|
-
has_active_endpoint: boolean;
|
|
5505
|
-
endpoints: Array<{
|
|
5506
|
-
endpoint_id: string;
|
|
5507
|
-
is_active: boolean;
|
|
5508
|
-
}>;
|
|
5509
|
-
} | undefined) | undefined;
|
|
5510
|
-
}) & {
|
|
5511
|
-
august_metadata?: {
|
|
5512
|
-
lock_id: string;
|
|
5513
|
-
lock_name: string;
|
|
5514
|
-
house_name: string;
|
|
5515
|
-
has_keypad: boolean;
|
|
5516
|
-
keypad_battery_level?: string | undefined;
|
|
5517
|
-
model?: string | undefined;
|
|
5518
|
-
house_id?: string | undefined;
|
|
5519
|
-
} | undefined;
|
|
5520
|
-
avigilon_alta_metadata?: {
|
|
5521
|
-
entry_name: string;
|
|
5522
|
-
org_name: string;
|
|
5523
|
-
zone_id: number;
|
|
5524
|
-
zone_name: string;
|
|
5525
|
-
site_id: number;
|
|
5526
|
-
site_name: string;
|
|
5527
|
-
entry_relays_total_count: number;
|
|
5528
|
-
} | undefined;
|
|
5529
|
-
schlage_metadata?: {
|
|
5530
|
-
device_id: string;
|
|
5531
|
-
device_name: string;
|
|
5532
|
-
access_code_length: number | null;
|
|
5533
|
-
model?: string | undefined;
|
|
5534
|
-
} | undefined;
|
|
5535
|
-
smartthings_metadata?: {
|
|
5536
|
-
device_id: string;
|
|
5537
|
-
device_name: string;
|
|
5538
|
-
model?: string | undefined;
|
|
5539
|
-
location_id?: string | undefined;
|
|
5540
|
-
} | undefined;
|
|
5541
|
-
lockly_metadata?: {
|
|
5542
|
-
device_id: string;
|
|
5543
|
-
device_name: string;
|
|
5544
|
-
model?: string | undefined;
|
|
5545
|
-
} | undefined;
|
|
5546
|
-
nuki_metadata?: {
|
|
5547
|
-
device_id: string;
|
|
5548
|
-
device_name: string;
|
|
5549
|
-
keypad_battery_critical?: boolean | undefined;
|
|
5550
|
-
keypad_paired?: boolean | undefined;
|
|
5551
|
-
keypad_2_paired?: boolean | undefined;
|
|
5552
|
-
} | undefined;
|
|
5553
|
-
kwikset_metadata?: {
|
|
5554
|
-
device_id: string;
|
|
5555
|
-
device_name: string;
|
|
5556
|
-
model_number: string;
|
|
5557
|
-
} | undefined;
|
|
5558
|
-
/**
|
|
5559
|
-
---
|
|
5560
|
-
deprecated: Use `salto_ks_metadata ` instead.
|
|
5561
|
-
*/
|
|
5562
|
-
salto_metadata?: {
|
|
5563
|
-
lock_id: string;
|
|
5564
|
-
customer_reference: string;
|
|
5565
|
-
lock_type: string;
|
|
5566
|
-
battery_level: string;
|
|
5567
|
-
locked_state: string;
|
|
5568
|
-
model?: string | undefined;
|
|
5569
|
-
} | undefined;
|
|
5570
|
-
salto_ks_metadata?: {
|
|
5571
|
-
lock_id: string;
|
|
5572
|
-
customer_reference: string;
|
|
5573
|
-
lock_type: string;
|
|
5574
|
-
battery_level: string;
|
|
5575
|
-
locked_state: string;
|
|
5576
|
-
model?: string | undefined;
|
|
5577
|
-
} | undefined;
|
|
5578
|
-
genie_metadata?: {
|
|
5579
|
-
device_name: string;
|
|
5580
|
-
door_name: string;
|
|
5581
|
-
} | undefined;
|
|
5582
|
-
brivo_metadata?: {
|
|
5583
|
-
device_name: string;
|
|
5584
|
-
} | undefined;
|
|
5585
|
-
igloo_metadata?: {
|
|
5586
|
-
device_id: string;
|
|
5587
|
-
bridge_id: string;
|
|
5588
|
-
model?: string | undefined;
|
|
5589
|
-
} | undefined;
|
|
5590
|
-
noiseaware_metadata?: {
|
|
5591
|
-
device_model: 'indoor' | 'outdoor';
|
|
5592
|
-
noise_level_nrs: number;
|
|
5593
|
-
noise_level_decibel: number;
|
|
5594
|
-
device_name: string;
|
|
5595
|
-
device_id: string;
|
|
5596
|
-
} | undefined;
|
|
5597
|
-
minut_metadata?: {
|
|
5598
|
-
device_id: string;
|
|
5599
|
-
device_name: string;
|
|
5600
|
-
latest_sensor_values: {
|
|
5601
|
-
temperature: {
|
|
5602
|
-
time: string;
|
|
5603
|
-
value: number;
|
|
5604
|
-
};
|
|
5605
|
-
sound: {
|
|
5606
|
-
time: string;
|
|
5607
|
-
value: number;
|
|
5608
|
-
};
|
|
5609
|
-
humidity: {
|
|
5610
|
-
time: string;
|
|
5611
|
-
value: number;
|
|
5612
|
-
};
|
|
5613
|
-
pressure: {
|
|
5614
|
-
time: string;
|
|
5615
|
-
value: number;
|
|
5616
|
-
};
|
|
5617
|
-
accelerometer_z: {
|
|
5618
|
-
time: string;
|
|
5619
|
-
value: number;
|
|
5620
|
-
};
|
|
5621
|
-
};
|
|
5622
|
-
} | undefined;
|
|
5623
|
-
four_suites_metadata?: {
|
|
5624
|
-
device_id: number;
|
|
5625
|
-
device_name: string;
|
|
5626
|
-
reclose_delay_in_seconds: number;
|
|
5627
|
-
} | undefined;
|
|
5628
|
-
two_n_metadata?: {
|
|
5629
|
-
device_id: number;
|
|
5630
|
-
device_name: string;
|
|
5631
|
-
} | undefined;
|
|
5632
|
-
controlbyweb_metadata?: {
|
|
5633
|
-
device_id: string;
|
|
5634
|
-
device_name: string;
|
|
5635
|
-
relay_name: string | null;
|
|
5636
|
-
} | undefined;
|
|
5637
|
-
ttlock_metadata?: {
|
|
5638
|
-
lock_id: number;
|
|
5639
|
-
lock_alias: string;
|
|
5640
|
-
feature_value: string;
|
|
5641
|
-
features: {
|
|
5642
|
-
passcode: boolean;
|
|
5643
|
-
passcode_management: boolean;
|
|
5644
|
-
unlock_via_gateway: boolean;
|
|
5645
|
-
lock_command: boolean;
|
|
5646
|
-
incomplete_keyboard_passcode: boolean;
|
|
5647
|
-
};
|
|
5648
|
-
has_gateway?: boolean | undefined;
|
|
5649
|
-
wireless_keypads?: Array<{
|
|
5650
|
-
wireless_keypad_id: number;
|
|
5651
|
-
wireless_keypad_name: string;
|
|
5652
|
-
}> | undefined;
|
|
5653
|
-
} | undefined;
|
|
5654
|
-
seam_bridge_metadata?: {
|
|
5655
|
-
unlock_method?: ('bridge' | 'doorking') | undefined;
|
|
5656
|
-
device_num: number;
|
|
5657
|
-
name: string;
|
|
5658
|
-
} | undefined;
|
|
5659
|
-
igloohome_metadata?: {
|
|
5660
|
-
device_id: string;
|
|
5661
|
-
device_name: string;
|
|
5662
|
-
bridge_id?: string | undefined;
|
|
5663
|
-
bridge_name?: string | undefined;
|
|
5664
|
-
keypad_id?: string | undefined;
|
|
5665
|
-
} | undefined;
|
|
5666
|
-
nest_metadata?: {
|
|
5667
|
-
nest_device_id: string;
|
|
5668
|
-
device_name: string;
|
|
5669
|
-
custom_name: string;
|
|
5670
|
-
display_name?: string | undefined;
|
|
5671
|
-
} | undefined;
|
|
5672
|
-
ecobee_metadata?: {
|
|
5673
|
-
ecobee_device_id: string;
|
|
5674
|
-
device_name: string;
|
|
5675
|
-
} | undefined;
|
|
5676
|
-
honeywell_resideo_metadata?: {
|
|
5677
|
-
honeywell_resideo_device_id: string;
|
|
5678
|
-
device_name: string;
|
|
5679
|
-
} | undefined;
|
|
5680
|
-
hubitat_metadata?: {
|
|
5681
|
-
device_id: string;
|
|
5682
|
-
device_name: string;
|
|
5683
|
-
device_label: string;
|
|
5684
|
-
} | undefined;
|
|
5685
|
-
dormakaba_oracode_metadata?: {
|
|
5686
|
-
door_id?: number | undefined;
|
|
5687
|
-
door_name: string;
|
|
5688
|
-
device_id?: (number | string) | undefined;
|
|
5689
|
-
door_is_wireless: boolean;
|
|
5690
|
-
/** @DEPRECATED */
|
|
5691
|
-
site_id: number | null;
|
|
5692
|
-
site_name: string;
|
|
5693
|
-
iana_timezone?: string | undefined;
|
|
5694
|
-
predefined_time_slots?: Array<{
|
|
5695
|
-
name: string;
|
|
5696
|
-
prefix: number;
|
|
5697
|
-
check_in_time: string;
|
|
5698
|
-
check_out_time: string;
|
|
5699
|
-
is_24_hour: boolean;
|
|
5700
|
-
is_biweekly_mode: boolean;
|
|
5701
|
-
is_one_shot: boolean;
|
|
5702
|
-
is_master: boolean;
|
|
5703
|
-
ext_dormakaba_oracode_user_level_prefix: number;
|
|
5704
|
-
dormakaba_oracode_user_level_id: string;
|
|
5705
|
-
}> | undefined;
|
|
5706
|
-
} | undefined;
|
|
5707
|
-
wyze_metadata?: {
|
|
5708
|
-
device_id: string;
|
|
5709
|
-
device_name: string;
|
|
5710
|
-
product_name: string;
|
|
5711
|
-
product_type: string;
|
|
5712
|
-
product_model: string;
|
|
5713
|
-
device_info_model: string;
|
|
5714
|
-
keypad_uuid?: string | undefined;
|
|
5715
|
-
locker_status_hardlock?: number | undefined;
|
|
5716
|
-
} | undefined;
|
|
5717
|
-
tedee_metadata?: {
|
|
5718
|
-
device_id: number;
|
|
5719
|
-
serial_number: string;
|
|
5720
|
-
device_name: string;
|
|
5721
|
-
device_model: string;
|
|
5722
|
-
bridge_id: number;
|
|
5723
|
-
bridge_name: string;
|
|
5724
|
-
keypad_id?: number | undefined;
|
|
5725
|
-
} | undefined;
|
|
5726
|
-
visionline_metadata?: {
|
|
5727
|
-
encoder_id: string;
|
|
5728
|
-
} | undefined;
|
|
5729
|
-
akiles_metadata?: {
|
|
5730
|
-
gadget_name: string;
|
|
5731
|
-
gadget_id: string;
|
|
5732
|
-
product_name: string;
|
|
5733
|
-
_member_group_id?: string | undefined;
|
|
5734
|
-
} | undefined;
|
|
5735
|
-
assa_abloy_vostio_metadata?: {
|
|
5736
|
-
encoder_name: string;
|
|
5737
|
-
} | undefined;
|
|
5738
|
-
}) & ({
|
|
5739
|
-
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
5740
|
-
code_constraints?: (Array<{
|
|
5741
|
-
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';
|
|
5742
|
-
} | {
|
|
5743
|
-
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
5744
|
-
min_length?: number | undefined;
|
|
5745
|
-
max_length?: number | undefined;
|
|
5746
|
-
}> | undefined) | undefined;
|
|
5747
|
-
supported_code_lengths?: (number[] | undefined) | undefined;
|
|
5748
|
-
max_active_codes_supported?: (number | undefined) | undefined;
|
|
5749
|
-
supports_backup_access_code_pool?: (boolean | undefined) | undefined;
|
|
5750
|
-
has_native_entry_events?: (boolean | undefined) | undefined;
|
|
5751
|
-
locked?: (boolean | undefined) | undefined;
|
|
5752
|
-
keypad_battery?: ({
|
|
5753
|
-
level: number;
|
|
5754
|
-
} | undefined) | undefined;
|
|
5755
|
-
door_open?: (boolean | undefined) | undefined;
|
|
5756
|
-
} & {
|
|
5757
|
-
temperature_fahrenheit?: number | undefined;
|
|
5758
|
-
temperature_celsius?: number | undefined;
|
|
5759
|
-
relative_humidity?: number | undefined;
|
|
5760
|
-
available_hvac_mode_settings?: Array<'off' | 'heat' | 'cool' | 'heat_cool'> | undefined;
|
|
5761
|
-
available_fan_mode_settings?: Array<'auto' | 'on' | 'circulate'> | undefined;
|
|
5762
|
-
is_heating?: boolean | undefined;
|
|
5763
|
-
is_cooling?: boolean | undefined;
|
|
5764
|
-
is_fan_running?: boolean | undefined;
|
|
5765
|
-
/**
|
|
5766
|
-
* @deprecated use current_climate_setting.fan_mode_setting instead. */
|
|
5767
|
-
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
5768
|
-
is_temporary_manual_override_active?: boolean | undefined;
|
|
5769
|
-
current_climate_setting?: {
|
|
5770
|
-
/** Unique key to identify the climate preset. */
|
|
5771
|
-
climate_preset_key?: string | undefined;
|
|
5772
|
-
/** Indicates whether this climate preset key can be edited. */
|
|
5773
|
-
can_edit?: boolean | undefined;
|
|
5774
|
-
/** Indicates whether this climate preset key can be deleted. */
|
|
5775
|
-
can_delete?: boolean | undefined;
|
|
5776
|
-
/** User-friendly name to identify the climate preset. */
|
|
5777
|
-
name?: ((string | null) | undefined) | undefined;
|
|
5778
|
-
/** Display name for the climate preset. */
|
|
5779
|
-
display_name?: string | undefined;
|
|
5780
|
-
/** Desired fan mode setting, such as `on`, `auto`, or `circulate`. */
|
|
5781
|
-
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
5782
|
-
/** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`. */
|
|
5783
|
-
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
5784
|
-
/** Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
|
|
5785
|
-
cooling_set_point_celsius?: (number | undefined) | undefined;
|
|
5786
|
-
/** Temperature to which the thermostat should heat (in °C). */
|
|
5787
|
-
heating_set_point_celsius?: (number | undefined) | undefined;
|
|
5788
|
-
/** Temperature to which the thermostat should cool (in °F). */
|
|
5789
|
-
cooling_set_point_fahrenheit?: (number | undefined) | undefined;
|
|
5790
|
-
/** Temperature to which the thermostat should heat (in °F). */
|
|
5791
|
-
heating_set_point_fahrenheit?: (number | undefined) | undefined;
|
|
5792
|
-
/** Indicates whether a person at the thermostat can change the thermostat's settings. */
|
|
5793
|
-
manual_override_allowed?: boolean | undefined;
|
|
5794
|
-
} | undefined;
|
|
5795
|
-
/**
|
|
5796
|
-
* @deprecated use fallback_climate_preset_key to specify a fallback climate preset instead. */
|
|
5797
|
-
default_climate_setting?: {
|
|
5798
|
-
/** Unique key to identify the climate preset. */
|
|
5799
|
-
climate_preset_key?: string | undefined;
|
|
5800
|
-
/** Indicates whether this climate preset key can be edited. */
|
|
5801
|
-
can_edit?: boolean | undefined;
|
|
5802
|
-
/** Indicates whether this climate preset key can be deleted. */
|
|
5803
|
-
can_delete?: boolean | undefined;
|
|
5804
|
-
/** User-friendly name to identify the climate preset. */
|
|
5805
|
-
name?: ((string | null) | undefined) | undefined;
|
|
5806
|
-
/** Display name for the climate preset. */
|
|
5807
|
-
display_name?: string | undefined;
|
|
5808
|
-
/** Desired fan mode setting, such as `on`, `auto`, or `circulate`. */
|
|
5809
|
-
fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
|
|
5810
|
-
/** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`. */
|
|
5811
|
-
hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
|
|
5812
|
-
/** Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
|
|
5813
|
-
cooling_set_point_celsius?: (number | undefined) | undefined;
|
|
5814
|
-
/** Temperature to which the thermostat should heat (in °C). */
|
|
5815
|
-
heating_set_point_celsius?: (number | undefined) | undefined;
|
|
5816
|
-
/** Temperature to which the thermostat should cool (in °F). */
|
|
5817
|
-
cooling_set_point_fahrenheit?: (number | undefined) | undefined;
|
|
5818
|
-
/** Temperature to which the thermostat should heat (in °F). */
|
|
5819
|
-
heating_set_point_fahrenheit?: (number | undefined) | undefined;
|
|
5820
|
-
/** Indicates whether a person at the thermostat can change the thermostat's settings. */
|
|
5821
|
-
manual_override_allowed?: boolean | undefined;
|
|
5822
|
-
} | undefined;
|
|
5823
|
-
available_climate_presets?: Array<{
|
|
5824
|
-
/** Unique key to identify the climate preset. */
|
|
5825
|
-
climate_preset_key: string;
|
|
5826
|
-
/** Indicates whether this climate preset key can be edited. */
|
|
5827
|
-
can_edit: boolean;
|
|
5828
|
-
/** Indicates whether this climate preset key can be deleted. */
|
|
5829
|
-
can_delete: boolean;
|
|
5830
|
-
/** User-friendly name to identify the climate preset. */
|
|
5831
|
-
name?: (string | null) | undefined;
|
|
5832
|
-
/** Display name for the climate preset. */
|
|
5833
|
-
display_name: string;
|
|
5834
|
-
/** Desired fan mode setting, such as `on`, `auto`, or `circulate`. */
|
|
5835
|
-
fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
|
|
5836
|
-
/** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`. */
|
|
5837
|
-
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
|
|
5838
|
-
/** Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points). */
|
|
5839
|
-
cooling_set_point_celsius?: number | undefined;
|
|
5840
|
-
/** Temperature to which the thermostat should heat (in °C). */
|
|
5841
|
-
heating_set_point_celsius?: number | undefined;
|
|
5842
|
-
/** Temperature to which the thermostat should cool (in °F). */
|
|
5843
|
-
cooling_set_point_fahrenheit?: number | undefined;
|
|
5844
|
-
/** Temperature to which the thermostat should heat (in °F). */
|
|
5845
|
-
heating_set_point_fahrenheit?: number | undefined;
|
|
5846
|
-
/** Indicates whether a person at the thermostat can change the thermostat's settings. */
|
|
5847
|
-
manual_override_allowed: boolean;
|
|
5848
|
-
}> | undefined;
|
|
5849
|
-
fallback_climate_preset_key?: (string | null) | undefined;
|
|
5850
|
-
/** Represents a [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that activates a configured [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) on a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) at a specified starting time and deactivates the climate preset at a specified ending time. */
|
|
5851
|
-
active_thermostat_schedule?: ({
|
|
5852
|
-
/** ID of the thermostat schedule. */
|
|
5853
|
-
thermostat_schedule_id: string;
|
|
5854
|
-
/** ID of the desired thermostat device. */
|
|
5855
|
-
device_id: string;
|
|
5856
|
-
/** User-friendly name to identify the thermostat schedule. */
|
|
5857
|
-
name?: string | undefined;
|
|
5858
|
-
/** Key of the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule. */
|
|
5859
|
-
climate_preset_key: string;
|
|
5860
|
-
/** Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions). */
|
|
5861
|
-
max_override_period_minutes: number;
|
|
5862
|
-
/** Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
5863
|
-
starts_at: string;
|
|
5864
|
-
/** Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
|
|
5865
|
-
ends_at: string;
|
|
5866
|
-
/** Date and time at which the thermostat schedule was created. */
|
|
5867
|
-
created_at: string;
|
|
5868
|
-
/** Array of errors associated with the thermostat schedule. 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. */
|
|
5869
|
-
errors?: any;
|
|
5870
|
-
} | null) | undefined;
|
|
5871
|
-
min_cooling_set_point_celsius?: number | undefined;
|
|
5872
|
-
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
5873
|
-
max_cooling_set_point_celsius?: number | undefined;
|
|
5874
|
-
max_cooling_set_point_fahrenheit?: number | undefined;
|
|
5875
|
-
min_heating_set_point_celsius?: number | undefined;
|
|
5876
|
-
min_heating_set_point_fahrenheit?: number | undefined;
|
|
5877
|
-
max_heating_set_point_celsius?: number | undefined;
|
|
5878
|
-
max_heating_set_point_fahrenheit?: number | undefined;
|
|
5879
|
-
min_heating_cooling_delta_celsius?: number | undefined;
|
|
5880
|
-
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
5881
|
-
temperature_threshold?: ({
|
|
5882
|
-
lower_limit_celsius: number | null;
|
|
5883
|
-
lower_limit_fahrenheit: number | null;
|
|
5884
|
-
upper_limit_celsius: number | null;
|
|
5885
|
-
upper_limit_fahrenheit: number | null;
|
|
5886
|
-
} | undefined) | undefined;
|
|
5887
|
-
});
|
|
5888
|
-
/** Location information for the device. */
|
|
5889
|
-
location: {
|
|
5890
|
-
/** Name of the device location. */
|
|
5891
|
-
location_name?: string | undefined;
|
|
5892
|
-
/** Time zone of the device location. */
|
|
5893
|
-
timezone?: string | undefined;
|
|
5894
|
-
} | null;
|
|
5895
|
-
/** Unique identifier for the account associated with the device. */
|
|
5896
|
-
connected_account_id: string;
|
|
5897
|
-
/** Unique identifier for the Seam workspace associated with the device. */
|
|
5898
|
-
workspace_id: string;
|
|
5899
|
-
/** 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. */
|
|
5900
|
-
errors: Array<{
|
|
5901
|
-
message: string;
|
|
5902
|
-
is_device_error: true;
|
|
5903
|
-
error_code: string;
|
|
5904
|
-
} | {
|
|
5905
|
-
message: string;
|
|
5906
|
-
is_connected_account_error: true;
|
|
5907
|
-
error_code: string;
|
|
5908
|
-
}>;
|
|
5909
|
-
/** 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. */
|
|
5910
|
-
warnings: Array<{
|
|
5911
|
-
message: string;
|
|
5912
|
-
warning_code: string;
|
|
5913
|
-
}>;
|
|
5914
|
-
/** Date and time at which the device object was created. */
|
|
5915
|
-
created_at: string;
|
|
5916
|
-
/** Indicates whether Seam manages the device. */
|
|
5917
|
-
is_managed: true;
|
|
5918
|
-
custom_metadata: Record<string, string | boolean>;
|
|
5919
|
-
can_remotely_unlock?: boolean | undefined;
|
|
5920
|
-
can_remotely_lock?: boolean | undefined;
|
|
5921
|
-
can_program_offline_access_codes?: boolean | undefined;
|
|
5922
|
-
can_program_online_access_codes?: boolean | undefined;
|
|
5923
|
-
can_hvac_heat?: boolean | undefined;
|
|
5924
|
-
can_hvac_cool?: boolean | undefined;
|
|
5925
|
-
can_hvac_heat_cool?: boolean | undefined;
|
|
5926
|
-
can_turn_off_hvac?: boolean | undefined;
|
|
5927
|
-
can_simulate_removal?: boolean | undefined;
|
|
5928
|
-
can_simulate_connection?: boolean | undefined;
|
|
5929
|
-
can_simulate_disconnection?: boolean | undefined;
|
|
5930
5445
|
}>;
|
|
5931
5446
|
};
|
|
5932
5447
|
};
|
|
@@ -5938,8 +5453,8 @@ export interface Routes {
|
|
|
5938
5453
|
commonParams: {
|
|
5939
5454
|
/** ID of the acs_system the encoder belongs to. */
|
|
5940
5455
|
acs_system_id: string;
|
|
5941
|
-
/** ID of the
|
|
5942
|
-
|
|
5456
|
+
/** ID of the acs_encoder to use for the scan. */
|
|
5457
|
+
acs_encoder_id: string;
|
|
5943
5458
|
};
|
|
5944
5459
|
formData: {};
|
|
5945
5460
|
jsonResponse: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { access_code, acs_access_group, acs_credential, acs_entrance, acs_system, acs_user, action_attempt, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, device, device_provider, noise_threshold, seam_event, thermostat_schedule, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
|
|
1
|
+
export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, device, device_provider, noise_threshold, seam_event, thermostat_schedule, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { access_code, acs_access_group, acs_credential, acs_entrance, acs_system, acs_user, action_attempt, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, device, device_provider, noise_threshold, seam_event, thermostat_schedule, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
|
|
1
|
+
export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, device, device_provider, noise_threshold, seam_event, thermostat_schedule, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
|
|
2
2
|
//# sourceMappingURL=schemas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,MAAM,EACN,eAAe,EACf,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,MAAM,EACN,eAAe,EACf,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
|