@seamapi/types 1.262.1 → 1.263.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2424,6 +2424,24 @@ export interface Routes {
2424
2424
  };
2425
2425
  };
2426
2426
  };
2427
+ '/access_codes/update_multiple': {
2428
+ route: '/access_codes/update_multiple';
2429
+ method: 'POST' | 'PATCH';
2430
+ queryParams: {};
2431
+ jsonBody: {
2432
+ allow_external_modification?: boolean | undefined;
2433
+ is_external_modification_allowed?: boolean | undefined;
2434
+ code?: string | undefined;
2435
+ ends_at?: string | undefined;
2436
+ starts_at?: string | undefined;
2437
+ name?: string | undefined;
2438
+ prefer_native_scheduling?: boolean | undefined;
2439
+ common_code_key: string;
2440
+ };
2441
+ commonParams: {};
2442
+ formData: {};
2443
+ jsonResponse: {};
2444
+ };
2427
2445
  '/acs/access_groups/add_user': {
2428
2446
  route: '/acs/access_groups/add_user';
2429
2447
  method: 'PUT' | 'POST';
@@ -16489,6 +16507,445 @@ export interface Routes {
16489
16507
  can_simulate_connection?: boolean | undefined;
16490
16508
  can_simulate_disconnection?: boolean | undefined;
16491
16509
  }>;
16510
+ devices: Array<{
16511
+ /** Unique identifier for the device. */
16512
+ device_id: string;
16513
+ /** Type of the device. */
16514
+ 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' | 'akiles_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat') | ('ios_phone' | 'android_phone') | 'visionline_encoder';
16515
+ /** Optional nickname to describe the device, settable through Seam */
16516
+ nickname?: string | undefined;
16517
+ /** 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. */
16518
+ display_name: string;
16519
+ /** 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. */
16520
+ capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
16521
+ /** Properties of the device. */
16522
+ properties: (({
16523
+ /** Indicates whether the device is online. */
16524
+ online: boolean;
16525
+ /** Name of the device.
16526
+ * @deprecated use device.display_name instead */
16527
+ name: string;
16528
+ /** Represents the accessory keypad state. */
16529
+ accessory_keypad?: {
16530
+ /** Indicates if the accessory_keypad is connected to the device. */
16531
+ is_connected: boolean;
16532
+ /** Indicates if the keypad battery properties. */
16533
+ battery?: {
16534
+ level: number;
16535
+ } | undefined;
16536
+ } | undefined;
16537
+ appearance: {
16538
+ /** Name of the device as seen from the provider API and application, not settable through Seam. */
16539
+ name: string;
16540
+ };
16541
+ model: {
16542
+ /** Indicates whether the device can connect a accessory keypad. */
16543
+ can_connect_accessory_keypad?: boolean | undefined;
16544
+ /** Display name of the device model. */
16545
+ display_name: string;
16546
+ /** Display name that corresponds to the manufacturer-specific terminology for the device. */
16547
+ manufacturer_display_name: string;
16548
+ /** Indicates whether the device has a built in accessory keypad. */
16549
+ has_built_in_keypad?: boolean | undefined;
16550
+ /** Indicates whether the device supports offline access codes. */
16551
+ offline_access_codes_supported?: boolean | undefined;
16552
+ /** Indicates whether the device supports online access codes. */
16553
+ online_access_codes_supported?: boolean | undefined;
16554
+ /**
16555
+ * @deprecated use device.properties.model.can_connect_accessory_keypad */
16556
+ accessory_keypad_supported?: boolean | undefined;
16557
+ };
16558
+ /** Indicates whether the device has direct power. */
16559
+ has_direct_power?: boolean | undefined;
16560
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
16561
+ battery_level?: number | undefined;
16562
+ /** 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. */
16563
+ battery?: {
16564
+ level: number;
16565
+ status: 'critical' | 'low' | 'good' | 'full';
16566
+ } | undefined;
16567
+ /** Manufacturer of the device. */
16568
+ manufacturer?: string | undefined;
16569
+ /** Image URL for the device. */
16570
+ image_url?: string | undefined;
16571
+ /** Alt text for the device image. */
16572
+ image_alt_text?: string | undefined;
16573
+ /** Serial number of the device. */
16574
+ serial_number?: string | undefined;
16575
+ /** Indicates whether it is currently possible to use online access codes for the device. */
16576
+ online_access_codes_enabled?: boolean | undefined;
16577
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
16578
+ offline_access_codes_enabled?: boolean | undefined;
16579
+ /**
16580
+ * @deprecated use device.properties.model.can_connect_accessory_keypad */
16581
+ supports_accessory_keypad?: boolean | undefined;
16582
+ /**
16583
+ * @deprecated use offline_access_codes_enabled */
16584
+ supports_offline_access_codes?: boolean | undefined;
16585
+ /** Indicates current noise level in decibels, if the device supports noise detection. */
16586
+ noise_level_decibels?: number | undefined;
16587
+ /** Array of noise threshold IDs that are currently triggering. */
16588
+ currently_triggering_noise_threshold_ids?: string[] | undefined;
16589
+ } & {
16590
+ assa_abloy_credential_service_metadata?: ({
16591
+ has_active_endpoint: boolean;
16592
+ endpoints: Array<{
16593
+ endpoint_id: string;
16594
+ is_active: boolean;
16595
+ }>;
16596
+ } | undefined) | undefined;
16597
+ }) & {
16598
+ august_metadata?: {
16599
+ lock_id: string;
16600
+ lock_name: string;
16601
+ house_name: string;
16602
+ has_keypad: boolean;
16603
+ keypad_battery_level?: string | undefined;
16604
+ model?: string | undefined;
16605
+ house_id?: string | undefined;
16606
+ } | undefined;
16607
+ avigilon_alta_metadata?: {
16608
+ entry_name: string;
16609
+ org_name: string;
16610
+ zone_id: number;
16611
+ zone_name: string;
16612
+ site_id: number;
16613
+ site_name: string;
16614
+ entry_relays_total_count: number;
16615
+ } | undefined;
16616
+ schlage_metadata?: {
16617
+ device_id: string;
16618
+ device_name: string;
16619
+ access_code_length: number | null;
16620
+ model?: string | undefined;
16621
+ } | undefined;
16622
+ smartthings_metadata?: {
16623
+ device_id: string;
16624
+ device_name: string;
16625
+ model?: string | undefined;
16626
+ location_id?: string | undefined;
16627
+ } | undefined;
16628
+ lockly_metadata?: {
16629
+ device_id: string;
16630
+ device_name: string;
16631
+ model?: string | undefined;
16632
+ } | undefined;
16633
+ nuki_metadata?: {
16634
+ device_id: string;
16635
+ device_name: string;
16636
+ keypad_battery_critical?: boolean | undefined;
16637
+ keypad_paired?: boolean | undefined;
16638
+ keypad_2_paired?: boolean | undefined;
16639
+ } | undefined;
16640
+ kwikset_metadata?: {
16641
+ device_id: string;
16642
+ device_name: string;
16643
+ model_number: string;
16644
+ } | undefined;
16645
+ salto_metadata?: {
16646
+ lock_id: string;
16647
+ customer_reference: string;
16648
+ lock_type: string;
16649
+ battery_level: string;
16650
+ locked_state: string;
16651
+ model?: string | undefined;
16652
+ } | undefined;
16653
+ genie_metadata?: {
16654
+ device_name: string;
16655
+ door_name: string;
16656
+ } | undefined;
16657
+ brivo_metadata?: {
16658
+ device_name: string;
16659
+ } | undefined;
16660
+ igloo_metadata?: {
16661
+ device_id: string;
16662
+ bridge_id: string;
16663
+ model?: string | undefined;
16664
+ } | undefined;
16665
+ noiseaware_metadata?: {
16666
+ device_model: 'indoor' | 'outdoor';
16667
+ noise_level_nrs: number;
16668
+ noise_level_decibel: number;
16669
+ device_name: string;
16670
+ device_id: string;
16671
+ } | undefined;
16672
+ minut_metadata?: {
16673
+ device_id: string;
16674
+ device_name: string;
16675
+ latest_sensor_values: {
16676
+ temperature: {
16677
+ time: string;
16678
+ value: number;
16679
+ };
16680
+ sound: {
16681
+ time: string;
16682
+ value: number;
16683
+ };
16684
+ humidity: {
16685
+ time: string;
16686
+ value: number;
16687
+ };
16688
+ pressure: {
16689
+ time: string;
16690
+ value: number;
16691
+ };
16692
+ accelerometer_z: {
16693
+ time: string;
16694
+ value: number;
16695
+ };
16696
+ };
16697
+ } | undefined;
16698
+ four_suites_metadata?: {
16699
+ device_id: number;
16700
+ device_name: string;
16701
+ reclose_delay_in_seconds: number;
16702
+ } | undefined;
16703
+ two_n_metadata?: {
16704
+ device_id: number;
16705
+ device_name: string;
16706
+ } | undefined;
16707
+ controlbyweb_metadata?: {
16708
+ device_id: string;
16709
+ device_name: string;
16710
+ relay_name: string | null;
16711
+ } | undefined;
16712
+ ttlock_metadata?: {
16713
+ lock_id: number;
16714
+ lock_alias: string;
16715
+ feature_value: string;
16716
+ features: {
16717
+ passcode: boolean;
16718
+ passcode_management: boolean;
16719
+ unlock_via_gateway: boolean;
16720
+ lock_command: boolean;
16721
+ incomplete_keyboard_passcode: boolean;
16722
+ };
16723
+ has_gateway?: boolean | undefined;
16724
+ wireless_keypads?: Array<{
16725
+ wireless_keypad_id: number;
16726
+ wireless_keypad_name: string;
16727
+ }> | undefined;
16728
+ } | undefined;
16729
+ seam_bridge_metadata?: {
16730
+ unlock_method?: ('bridge' | 'doorking') | undefined;
16731
+ device_num: number;
16732
+ name: string;
16733
+ } | undefined;
16734
+ igloohome_metadata?: {
16735
+ device_id: string;
16736
+ device_name: string;
16737
+ bridge_id?: string | undefined;
16738
+ bridge_name?: string | undefined;
16739
+ keypad_id?: string | undefined;
16740
+ } | undefined;
16741
+ nest_metadata?: {
16742
+ nest_device_id: string;
16743
+ device_name: string;
16744
+ custom_name: string;
16745
+ } | undefined;
16746
+ ecobee_metadata?: {
16747
+ ecobee_device_id: string;
16748
+ device_name: string;
16749
+ } | undefined;
16750
+ honeywell_resideo_metadata?: {
16751
+ honeywell_resideo_device_id: string;
16752
+ device_name: string;
16753
+ } | undefined;
16754
+ hubitat_metadata?: {
16755
+ device_id: string;
16756
+ device_name: string;
16757
+ device_label: string;
16758
+ } | undefined;
16759
+ dormakaba_oracode_metadata?: {
16760
+ door_id?: number | undefined;
16761
+ door_name: string;
16762
+ device_id?: (number | string) | undefined;
16763
+ door_is_wireless: boolean;
16764
+ /** @DEPRECATED */
16765
+ site_id: number | null;
16766
+ site_name: string;
16767
+ iana_timezone?: string | undefined;
16768
+ predefined_time_slots?: Array<{
16769
+ name: string;
16770
+ prefix: number;
16771
+ check_in_time: string;
16772
+ check_out_time: string;
16773
+ is_24_hour: boolean;
16774
+ is_biweekly_mode: boolean;
16775
+ is_one_shot: boolean;
16776
+ is_master: boolean;
16777
+ ext_dormakaba_oracode_user_level_prefix: number;
16778
+ dormakaba_oracode_user_level_id: string;
16779
+ }> | undefined;
16780
+ } | undefined;
16781
+ wyze_metadata?: {
16782
+ device_id: string;
16783
+ device_name: string;
16784
+ product_name: string;
16785
+ product_type: string;
16786
+ product_model: string;
16787
+ device_info_model: string;
16788
+ keypad_uuid?: string | undefined;
16789
+ locker_status_hardlock?: number | undefined;
16790
+ } | undefined;
16791
+ tedee_metadata?: {
16792
+ device_id: number;
16793
+ serial_number: string;
16794
+ device_name: string;
16795
+ device_model: string;
16796
+ bridge_id: number;
16797
+ bridge_name: string;
16798
+ keypad_id?: number | undefined;
16799
+ } | undefined;
16800
+ visionline_metadata?: {
16801
+ encoder_id: string;
16802
+ } | undefined;
16803
+ akiles_metadata?: {
16804
+ gadget_name: string;
16805
+ gadget_id: string;
16806
+ } | undefined;
16807
+ }) & ({
16808
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
16809
+ code_constraints?: (Array<{
16810
+ 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';
16811
+ } | {
16812
+ constraint_type: 'name_length' | 'name_must_be_unique';
16813
+ min_length?: number | undefined;
16814
+ max_length?: number | undefined;
16815
+ }> | undefined) | undefined;
16816
+ supported_code_lengths?: (number[] | undefined) | undefined;
16817
+ max_active_codes_supported?: (number | undefined) | undefined;
16818
+ supports_backup_access_code_pool?: (boolean | undefined) | undefined;
16819
+ has_native_entry_events?: (boolean | undefined) | undefined;
16820
+ locked?: (boolean | undefined) | undefined;
16821
+ keypad_battery?: ({
16822
+ level: number;
16823
+ } | undefined) | undefined;
16824
+ door_open?: (boolean | undefined) | undefined;
16825
+ } & {
16826
+ temperature_fahrenheit?: number | undefined;
16827
+ temperature_celsius?: number | undefined;
16828
+ relative_humidity?: number | undefined;
16829
+ available_hvac_mode_settings?: Array<'off' | 'heat' | 'cool' | 'heat_cool'> | undefined;
16830
+ available_fan_mode_settings?: Array<'auto' | 'on' | 'circulate'> | undefined;
16831
+ is_heating?: boolean | undefined;
16832
+ is_cooling?: boolean | undefined;
16833
+ is_fan_running?: boolean | undefined;
16834
+ /**
16835
+ * @deprecated use current_climate_setting.fan_mode_setting instead. */
16836
+ fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
16837
+ is_temporary_manual_override_active?: boolean | undefined;
16838
+ current_climate_setting?: {
16839
+ climate_preset_key?: string | undefined;
16840
+ can_edit?: boolean | undefined;
16841
+ can_delete?: boolean | undefined;
16842
+ name?: ((string | null) | undefined) | undefined;
16843
+ display_name?: string | undefined;
16844
+ fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
16845
+ hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
16846
+ cooling_set_point_celsius?: (number | undefined) | undefined;
16847
+ heating_set_point_celsius?: (number | undefined) | undefined;
16848
+ cooling_set_point_fahrenheit?: (number | undefined) | undefined;
16849
+ heating_set_point_fahrenheit?: (number | undefined) | undefined;
16850
+ manual_override_allowed?: boolean | undefined;
16851
+ } | undefined;
16852
+ /**
16853
+ * @deprecated use fallback_climate_preset_key to specify a fallback climate preset instead. */
16854
+ default_climate_setting?: {
16855
+ climate_preset_key?: string | undefined;
16856
+ can_edit?: boolean | undefined;
16857
+ can_delete?: boolean | undefined;
16858
+ name?: ((string | null) | undefined) | undefined;
16859
+ display_name?: string | undefined;
16860
+ fan_mode_setting?: (('auto' | 'on' | 'circulate') | undefined) | undefined;
16861
+ hvac_mode_setting?: (('off' | 'heat' | 'cool' | 'heat_cool') | undefined) | undefined;
16862
+ cooling_set_point_celsius?: (number | undefined) | undefined;
16863
+ heating_set_point_celsius?: (number | undefined) | undefined;
16864
+ cooling_set_point_fahrenheit?: (number | undefined) | undefined;
16865
+ heating_set_point_fahrenheit?: (number | undefined) | undefined;
16866
+ manual_override_allowed?: boolean | undefined;
16867
+ } | undefined;
16868
+ available_climate_presets?: Array<{
16869
+ climate_preset_key: string;
16870
+ can_edit: boolean;
16871
+ can_delete: boolean;
16872
+ name?: (string | null) | undefined;
16873
+ display_name: string;
16874
+ fan_mode_setting?: ('auto' | 'on' | 'circulate') | undefined;
16875
+ hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
16876
+ cooling_set_point_celsius?: number | undefined;
16877
+ heating_set_point_celsius?: number | undefined;
16878
+ cooling_set_point_fahrenheit?: number | undefined;
16879
+ heating_set_point_fahrenheit?: number | undefined;
16880
+ manual_override_allowed: boolean;
16881
+ }> | undefined;
16882
+ fallback_climate_preset_key?: (string | null) | undefined;
16883
+ active_thermostat_schedule?: ({
16884
+ thermostat_schedule_id: string;
16885
+ device_id: string;
16886
+ name?: string | undefined;
16887
+ climate_preset_key: string;
16888
+ max_override_period_minutes: number;
16889
+ starts_at: string;
16890
+ ends_at: string;
16891
+ created_at: string;
16892
+ /** 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. */
16893
+ errors?: any;
16894
+ } | null) | undefined;
16895
+ min_cooling_set_point_celsius?: number | undefined;
16896
+ min_cooling_set_point_fahrenheit?: number | undefined;
16897
+ max_cooling_set_point_celsius?: number | undefined;
16898
+ max_cooling_set_point_fahrenheit?: number | undefined;
16899
+ min_heating_set_point_celsius?: number | undefined;
16900
+ min_heating_set_point_fahrenheit?: number | undefined;
16901
+ max_heating_set_point_celsius?: number | undefined;
16902
+ max_heating_set_point_fahrenheit?: number | undefined;
16903
+ min_heating_cooling_delta_celsius?: number | undefined;
16904
+ min_heating_cooling_delta_fahrenheit?: number | undefined;
16905
+ });
16906
+ /** Location information for the device. */
16907
+ location: {
16908
+ /** Name of the device location. */
16909
+ location_name?: string | undefined;
16910
+ /** Time zone of the device location. */
16911
+ timezone?: string | undefined;
16912
+ } | null;
16913
+ /** Unique identifier for the account associated with the device. */
16914
+ connected_account_id: string;
16915
+ /** Unique identifier for the Seam workspace associated with the device. */
16916
+ workspace_id: string;
16917
+ /** 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. */
16918
+ errors: Array<{
16919
+ message: string;
16920
+ is_device_error: true;
16921
+ error_code: string;
16922
+ } | {
16923
+ message: string;
16924
+ is_connected_account_error: true;
16925
+ error_code: string;
16926
+ }>;
16927
+ /** 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. */
16928
+ warnings: Array<{
16929
+ message: string;
16930
+ warning_code: string;
16931
+ }>;
16932
+ /** Date and time at which the device object was created. */
16933
+ created_at: string;
16934
+ /** Indicates whether Seam manages the device. */
16935
+ is_managed: true;
16936
+ custom_metadata: Record<string, string | boolean>;
16937
+ can_remotely_unlock?: boolean | undefined;
16938
+ can_remotely_lock?: boolean | undefined;
16939
+ can_program_offline_access_codes?: boolean | undefined;
16940
+ can_program_online_access_codes?: boolean | undefined;
16941
+ can_hvac_heat?: boolean | undefined;
16942
+ can_hvac_cool?: boolean | undefined;
16943
+ can_hvac_heat_cool?: boolean | undefined;
16944
+ can_turn_off_hvac?: boolean | undefined;
16945
+ can_simulate_removal?: boolean | undefined;
16946
+ can_simulate_connection?: boolean | undefined;
16947
+ can_simulate_disconnection?: boolean | undefined;
16948
+ }>;
16492
16949
  };
16493
16950
  };
16494
16951
  '/thermostats/off': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.262.1",
3
+ "version": "1.263.1",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -92,7 +92,7 @@
92
92
  "zod": "^3.21.4"
93
93
  },
94
94
  "devDependencies": {
95
- "@seamapi/blueprint": "^0.23.0",
95
+ "@seamapi/blueprint": "^0.27.0",
96
96
  "@types/node": "^20.8.10",
97
97
  "concurrently": "^8.2.0",
98
98
  "del-cli": "^5.0.0",
@@ -5888,6 +5888,115 @@ export default {
5888
5888
  'x-response-key': null,
5889
5889
  },
5890
5890
  },
5891
+ '/access_codes/update_multiple': {
5892
+ patch: {
5893
+ operationId: 'accessCodesUpdateMultiplePatch',
5894
+ requestBody: {
5895
+ content: {
5896
+ 'application/json': {
5897
+ schema: {
5898
+ properties: {
5899
+ allow_external_modification: { type: 'boolean' },
5900
+ code: {
5901
+ maxLength: 9,
5902
+ minLength: 4,
5903
+ pattern: '^\\d+$',
5904
+ type: 'string',
5905
+ },
5906
+ common_code_key: { type: 'string' },
5907
+ ends_at: { type: 'string' },
5908
+ is_external_modification_allowed: { type: 'boolean' },
5909
+ name: { type: 'string' },
5910
+ prefer_native_scheduling: { type: 'boolean' },
5911
+ starts_at: { type: 'string' },
5912
+ },
5913
+ required: ['common_code_key'],
5914
+ type: 'object',
5915
+ },
5916
+ },
5917
+ },
5918
+ },
5919
+ responses: {
5920
+ 200: {
5921
+ content: {
5922
+ 'application/json': {
5923
+ schema: {
5924
+ properties: { ok: { type: 'boolean' } },
5925
+ required: ['ok'],
5926
+ type: 'object',
5927
+ },
5928
+ },
5929
+ },
5930
+ description: 'OK',
5931
+ },
5932
+ 400: { description: 'Bad Request' },
5933
+ 401: { description: 'Unauthorized' },
5934
+ },
5935
+ security: [
5936
+ { client_session: [] },
5937
+ { pat_with_workspace: [] },
5938
+ { console_session: [] },
5939
+ { api_key: [] },
5940
+ ],
5941
+ summary: '/access_codes/update_multiple',
5942
+ tags: ['/access_codes'],
5943
+ 'x-fern-ignore': true,
5944
+ },
5945
+ post: {
5946
+ operationId: 'accessCodesUpdateMultiplePost',
5947
+ requestBody: {
5948
+ content: {
5949
+ 'application/json': {
5950
+ schema: {
5951
+ properties: {
5952
+ allow_external_modification: { type: 'boolean' },
5953
+ code: {
5954
+ maxLength: 9,
5955
+ minLength: 4,
5956
+ pattern: '^\\d+$',
5957
+ type: 'string',
5958
+ },
5959
+ common_code_key: { type: 'string' },
5960
+ ends_at: { type: 'string' },
5961
+ is_external_modification_allowed: { type: 'boolean' },
5962
+ name: { type: 'string' },
5963
+ prefer_native_scheduling: { type: 'boolean' },
5964
+ starts_at: { type: 'string' },
5965
+ },
5966
+ required: ['common_code_key'],
5967
+ type: 'object',
5968
+ },
5969
+ },
5970
+ },
5971
+ },
5972
+ responses: {
5973
+ 200: {
5974
+ content: {
5975
+ 'application/json': {
5976
+ schema: {
5977
+ properties: { ok: { type: 'boolean' } },
5978
+ required: ['ok'],
5979
+ type: 'object',
5980
+ },
5981
+ },
5982
+ },
5983
+ description: 'OK',
5984
+ },
5985
+ 400: { description: 'Bad Request' },
5986
+ 401: { description: 'Unauthorized' },
5987
+ },
5988
+ security: [
5989
+ { client_session: [] },
5990
+ { pat_with_workspace: [] },
5991
+ { console_session: [] },
5992
+ { api_key: [] },
5993
+ ],
5994
+ summary: '/access_codes/update_multiple',
5995
+ tags: ['/access_codes'],
5996
+ 'x-fern-sdk-group-name': ['access_codes'],
5997
+ 'x-fern-sdk-method-name': 'update_multiple',
5998
+ },
5999
+ },
5891
6000
  '/acs/access_groups/add_user': {
5892
6001
  post: {
5893
6002
  operationId: 'acsAccessGroupsAddUserPost',
@@ -7991,7 +8100,7 @@ export default {
7991
8100
  '/acs/systems/list': {
7992
8101
  post: {
7993
8102
  description:
7994
- 'Returns a list of all [access control systems](https://docs.seam.co/latest/capability-guides/access-systems).\n\nTo filter the list of returned access control systems by a specific connected account ID, include the \n`connected_account_id` in the request body. If you omit the `connected_account_id` parameter, the \nresponse includes all access control systems connected to your workspace.',
8103
+ 'Returns a list of all [access control systems](https://docs.seam.co/latest/capability-guides/access-systems).\n\nTo filter the list of returned access control systems by a specific connected account ID, include the\n`connected_account_id` in the request body. If you omit the `connected_account_id` parameter, the\nresponse includes all access control systems connected to your workspace.',
7995
8104
  operationId: 'acsSystemsListPost',
7996
8105
  requestBody: {
7997
8106
  content: {
@@ -8050,7 +8159,7 @@ export default {
8050
8159
  '/acs/systems/list_compatible_credential_manager_acs_systems': {
8051
8160
  post: {
8052
8161
  description:
8053
- 'Returns a list of all credential manager ACS systems that are compatible with a specified \n[access control system](https://docs.seam.co/latest/capability-guides/access-systems).\n\nSpecify the ACS system for which you want to retrieve all compatible credential manager ACS \nsystems by including the corresponding `acs_system_id` in the request body.',
8162
+ 'Returns a list of all credential manager ACS systems that are compatible with a specified\n[access control system](https://docs.seam.co/latest/capability-guides/access-systems).\n\nSpecify the ACS system for which you want to retrieve all compatible credential manager ACS\nsystems by including the corresponding `acs_system_id` in the request body.',
8054
8163
  operationId: 'acsSystemsListCompatibleCredentialManagerAcsSystemsPost',
8055
8164
  requestBody: {
8056
8165
  content: {
@@ -14157,13 +14266,17 @@ export default {
14157
14266
  'application/json': {
14158
14267
  schema: {
14159
14268
  properties: {
14269
+ devices: {
14270
+ items: { $ref: '#/components/schemas/device' },
14271
+ type: 'array',
14272
+ },
14160
14273
  ok: { type: 'boolean' },
14161
14274
  thermostats: {
14162
14275
  items: { $ref: '#/components/schemas/device' },
14163
14276
  type: 'array',
14164
14277
  },
14165
14278
  },
14166
- required: ['thermostats', 'ok'],
14279
+ required: ['thermostats', 'devices', 'ok'],
14167
14280
  type: 'object',
14168
14281
  },
14169
14282
  },
@@ -14183,8 +14296,8 @@ export default {
14183
14296
  tags: ['/thermostats'],
14184
14297
  'x-fern-sdk-group-name': ['thermostats'],
14185
14298
  'x-fern-sdk-method-name': 'list',
14186
- 'x-fern-sdk-return-value': 'thermostats',
14187
- 'x-response-key': 'thermostats',
14299
+ 'x-fern-sdk-return-value': 'devices',
14300
+ 'x-response-key': 'devices',
14188
14301
  },
14189
14302
  },
14190
14303
  '/thermostats/off': {