@seamapi/types 1.91.0 → 1.91.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 CHANGED
@@ -1727,22 +1727,27 @@ var openapi_default = {
1727
1727
  },
1728
1728
  {
1729
1729
  properties: {
1730
- assa_abloy_credential_service_metadata: {
1730
+ properties: {
1731
1731
  properties: {
1732
- endpoints: {
1733
- items: {
1734
- properties: {
1735
- endpoint_id: { type: "string" },
1736
- is_active: { type: "boolean" }
1732
+ assa_abloy_credential_service_metadata: {
1733
+ properties: {
1734
+ endpoints: {
1735
+ items: {
1736
+ properties: {
1737
+ endpoint_id: { type: "string" },
1738
+ is_active: { type: "boolean" }
1739
+ },
1740
+ required: ["endpoint_id", "is_active"],
1741
+ type: "object"
1742
+ },
1743
+ type: "array"
1737
1744
  },
1738
- required: ["endpoint_id", "is_active"],
1739
- type: "object"
1745
+ has_active_endpoint: { type: "boolean" }
1740
1746
  },
1741
- type: "array"
1742
- },
1743
- has_active_endpoint: { type: "boolean" }
1747
+ required: ["has_active_endpoint", "endpoints"],
1748
+ type: "object"
1749
+ }
1744
1750
  },
1745
- required: ["has_active_endpoint", "endpoints"],
1746
1751
  type: "object"
1747
1752
  }
1748
1753
  },
@@ -1859,24 +1864,6 @@ var openapi_default = {
1859
1864
  },
1860
1865
  phone: {
1861
1866
  properties: {
1862
- assa_abloy_credential_service_metadata: {
1863
- properties: {
1864
- endpoints: {
1865
- items: {
1866
- properties: {
1867
- endpoint_id: { type: "string" },
1868
- is_active: { type: "boolean" }
1869
- },
1870
- required: ["endpoint_id", "is_active"],
1871
- type: "object"
1872
- },
1873
- type: "array"
1874
- },
1875
- has_active_endpoint: { type: "boolean" }
1876
- },
1877
- required: ["has_active_endpoint", "endpoints"],
1878
- type: "object"
1879
- },
1880
1867
  capabilities_supported: {
1881
1868
  description: '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.',
1882
1869
  items: {
@@ -1947,1092 +1934,27 @@ var openapi_default = {
1947
1934
  type: "object"
1948
1935
  },
1949
1936
  properties: {
1950
- allOf: [
1951
- {
1952
- allOf: [
1953
- {
1954
- allOf: [
1955
- {
1956
- properties: {
1957
- battery: {
1958
- description: '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.',
1959
- properties: {
1960
- level: { maximum: 1, minimum: 0, type: "number" },
1961
- status: {
1962
- enum: ["critical", "low", "good", "full"],
1963
- type: "string"
1964
- }
1965
- },
1966
- required: ["level", "status"],
1967
- type: "object"
1968
- },
1969
- battery_level: {
1970
- description: "Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.",
1971
- maximum: 1,
1972
- minimum: 0,
1973
- type: "number"
1974
- },
1975
- has_direct_power: {
1976
- description: "Indicates whether the device has direct power.",
1977
- type: "boolean"
1978
- },
1979
- image_alt_text: {
1980
- description: "Alt text for the device image.",
1981
- type: "string"
1982
- },
1983
- image_url: {
1984
- description: "Image URL for the device.",
1985
- format: "uri",
1986
- type: "string"
1987
- },
1988
- manufacturer: {
1989
- description: "Manufacturer of the device.",
1990
- type: "string"
1991
- },
1992
- model: {
1993
- properties: {
1994
- accessory_keypad_supported: {
1995
- description: "Indicates whether the device supports an accessory keypad.",
1996
- type: "boolean"
1997
- },
1998
- display_name: {
1999
- description: "Display name of the device model.",
2000
- type: "string"
2001
- },
2002
- manufacturer_display_name: {
2003
- description: "Display name that corresponds to the manufacturer-specific terminology for the device.",
2004
- type: "string"
2005
- },
2006
- offline_access_codes_supported: {
2007
- description: "Indicates whether the device supports offline access codes.",
2008
- type: "boolean"
2009
- },
2010
- online_access_codes_supported: {
2011
- description: "Indicates whether the device supports online access codes.",
2012
- type: "boolean"
2013
- }
2014
- },
2015
- required: [
2016
- "display_name",
2017
- "manufacturer_display_name"
2018
- ],
2019
- type: "object"
2020
- },
2021
- name: {
2022
- description: "Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.",
2023
- type: "string"
2024
- },
2025
- offline_access_codes_enabled: {
2026
- description: "Indicates whether it is currently possible to use offline access codes for the device.",
2027
- type: "boolean"
2028
- },
2029
- online: {
2030
- description: "Indicates whether the device is online.",
2031
- type: "boolean"
2032
- },
2033
- online_access_codes_enabled: {
2034
- description: "Indicates whether it is currently possible to use online access codes for the device.",
2035
- type: "boolean"
2036
- },
2037
- serial_number: {
2038
- description: "Serial number of the device.",
2039
- type: "string"
2040
- },
2041
- supports_accessory_keypad: {
2042
- description: "Deprecated. Use model.accessory_keypad_supported.",
2043
- type: "boolean"
2044
- },
2045
- supports_offline_access_codes: {
2046
- description: "Deprecated. Use offline_access_codes_enabled.",
2047
- type: "boolean"
2048
- }
2049
- },
2050
- required: ["online", "name", "model"],
2051
- type: "object"
1937
+ properties: {
1938
+ assa_abloy_credential_service_metadata: {
1939
+ properties: {
1940
+ endpoints: {
1941
+ items: {
1942
+ properties: {
1943
+ endpoint_id: { type: "string" },
1944
+ is_active: { type: "boolean" }
2052
1945
  },
2053
- {
2054
- properties: {
2055
- august_metadata: {
2056
- properties: {
2057
- has_keypad: { type: "boolean" },
2058
- house_id: { type: "string" },
2059
- house_name: { type: "string" },
2060
- keypad_battery_level: { type: "string" },
2061
- lock_id: { type: "string" },
2062
- lock_name: { type: "string" },
2063
- model: { type: "string" }
2064
- },
2065
- required: [
2066
- "lock_id",
2067
- "lock_name",
2068
- "house_name",
2069
- "has_keypad"
2070
- ],
2071
- type: "object"
2072
- },
2073
- avigilon_alta_metadata: {
2074
- properties: {
2075
- entry_name: { type: "string" },
2076
- org_name: { type: "string" },
2077
- site_id: { type: "number" },
2078
- site_name: { type: "string" },
2079
- zone_id: { type: "number" },
2080
- zone_name: { type: "string" }
2081
- },
2082
- required: [
2083
- "entry_name",
2084
- "org_name",
2085
- "zone_id",
2086
- "zone_name",
2087
- "site_id",
2088
- "site_name"
2089
- ],
2090
- type: "object"
2091
- },
2092
- brivo_metadata: {
2093
- properties: { device_name: { type: "string" } },
2094
- required: ["device_name"],
2095
- type: "object"
2096
- },
2097
- controlbyweb_metadata: {
2098
- properties: {
2099
- device_id: { type: "string" },
2100
- device_name: { type: "string" },
2101
- relay_name: { nullable: true, type: "string" }
2102
- },
2103
- required: [
2104
- "device_id",
2105
- "device_name",
2106
- "relay_name"
2107
- ],
2108
- type: "object"
2109
- },
2110
- dormakaba_oracode_metadata: {
2111
- properties: {
2112
- device_id: { type: "number" },
2113
- door_id: { type: "number" },
2114
- door_name: { type: "string" },
2115
- iana_timezone: { type: "string" },
2116
- predefined_time_slots: {
2117
- items: {
2118
- properties: {
2119
- check_in_time: { type: "string" },
2120
- check_out_time: { type: "string" },
2121
- dormakaba_oracode_user_level_id: {
2122
- format: "uuid",
2123
- type: "string"
2124
- },
2125
- ext_dormakaba_oracode_user_level_prefix: {
2126
- type: "number"
2127
- },
2128
- is_24_hour: { type: "boolean" },
2129
- is_biweekly_mode: { type: "boolean" },
2130
- is_master: { type: "boolean" },
2131
- is_one_shot: { type: "boolean" },
2132
- name: { type: "string" },
2133
- prefix: { type: "number" }
2134
- },
2135
- required: [
2136
- "name",
2137
- "prefix",
2138
- "check_in_time",
2139
- "check_out_time",
2140
- "is_24_hour",
2141
- "is_biweekly_mode",
2142
- "is_one_shot",
2143
- "is_master",
2144
- "ext_dormakaba_oracode_user_level_prefix",
2145
- "dormakaba_oracode_user_level_id"
2146
- ],
2147
- type: "object"
2148
- },
2149
- type: "array"
2150
- },
2151
- site_id: { type: "number" },
2152
- site_name: { type: "string" }
2153
- },
2154
- required: [
2155
- "door_id",
2156
- "door_name",
2157
- "site_id",
2158
- "site_name"
2159
- ],
2160
- type: "object"
2161
- },
2162
- ecobee_metadata: {
2163
- properties: {
2164
- device_name: { type: "string" },
2165
- ecobee_device_id: { type: "string" }
2166
- },
2167
- required: ["ecobee_device_id", "device_name"],
2168
- type: "object"
2169
- },
2170
- four_suites_metadata: {
2171
- properties: {
2172
- device_id: { type: "number" },
2173
- device_name: { type: "string" },
2174
- reclose_delay_in_seconds: { type: "number" }
2175
- },
2176
- required: [
2177
- "device_id",
2178
- "device_name",
2179
- "reclose_delay_in_seconds"
2180
- ],
2181
- type: "object"
2182
- },
2183
- genie_metadata: {
2184
- properties: {
2185
- device_name: { type: "string" },
2186
- door_name: { type: "string" }
2187
- },
2188
- required: ["device_name", "door_name"],
2189
- type: "object"
2190
- },
2191
- hubitat_metadata: {
2192
- properties: {
2193
- device_id: { type: "string" },
2194
- device_label: { type: "string" },
2195
- device_name: { type: "string" }
2196
- },
2197
- required: [
2198
- "device_id",
2199
- "device_name",
2200
- "device_label"
2201
- ],
2202
- type: "object"
2203
- },
2204
- igloo_metadata: {
2205
- properties: {
2206
- bridge_id: { type: "string" },
2207
- device_id: { type: "string" },
2208
- model: { type: "string" }
2209
- },
2210
- required: ["device_id", "bridge_id"],
2211
- type: "object"
2212
- },
2213
- igloohome_metadata: {
2214
- properties: {
2215
- bridge_id: { type: "string" },
2216
- bridge_name: { type: "string" },
2217
- device_id: { type: "string" },
2218
- device_name: { type: "string" }
2219
- },
2220
- required: ["device_id", "device_name"],
2221
- type: "object"
2222
- },
2223
- kwikset_metadata: {
2224
- properties: {
2225
- device_id: { type: "string" },
2226
- device_name: { type: "string" },
2227
- model_number: { type: "string" }
2228
- },
2229
- required: [
2230
- "device_id",
2231
- "device_name",
2232
- "model_number"
2233
- ],
2234
- type: "object"
2235
- },
2236
- lockly_metadata: {
2237
- properties: {
2238
- device_id: { type: "string" },
2239
- device_name: { type: "string" },
2240
- model: { type: "string" }
2241
- },
2242
- required: ["device_id", "device_name"],
2243
- type: "object"
2244
- },
2245
- minut_metadata: {
2246
- properties: {
2247
- device_id: { type: "string" },
2248
- device_name: { type: "string" },
2249
- latest_sensor_values: {
2250
- properties: {
2251
- accelerometer_z: {
2252
- properties: {
2253
- time: { type: "string" },
2254
- value: { type: "number" }
2255
- },
2256
- required: ["time", "value"],
2257
- type: "object"
2258
- },
2259
- humidity: {
2260
- properties: {
2261
- time: { type: "string" },
2262
- value: { type: "number" }
2263
- },
2264
- required: ["time", "value"],
2265
- type: "object"
2266
- },
2267
- pressure: {
2268
- properties: {
2269
- time: { type: "string" },
2270
- value: { type: "number" }
2271
- },
2272
- required: ["time", "value"],
2273
- type: "object"
2274
- },
2275
- sound: {
2276
- properties: {
2277
- time: { type: "string" },
2278
- value: { type: "number" }
2279
- },
2280
- required: ["time", "value"],
2281
- type: "object"
2282
- },
2283
- temperature: {
2284
- properties: {
2285
- time: { type: "string" },
2286
- value: { type: "number" }
2287
- },
2288
- required: ["time", "value"],
2289
- type: "object"
2290
- }
2291
- },
2292
- required: [
2293
- "temperature",
2294
- "sound",
2295
- "humidity",
2296
- "pressure",
2297
- "accelerometer_z"
2298
- ],
2299
- type: "object"
2300
- }
2301
- },
2302
- required: [
2303
- "device_id",
2304
- "device_name",
2305
- "latest_sensor_values"
2306
- ],
2307
- type: "object"
2308
- },
2309
- nest_metadata: {
2310
- properties: {
2311
- custom_name: { type: "string" },
2312
- device_name: { type: "string" },
2313
- nest_device_id: { type: "string" }
2314
- },
2315
- required: [
2316
- "nest_device_id",
2317
- "device_name",
2318
- "custom_name"
2319
- ],
2320
- type: "object"
2321
- },
2322
- noiseaware_metadata: {
2323
- properties: {
2324
- device_id: { type: "string" },
2325
- device_model: {
2326
- enum: ["indoor", "outdoor"],
2327
- type: "string"
2328
- },
2329
- device_name: { type: "string" },
2330
- noise_level_decibel: { type: "number" },
2331
- noise_level_nrs: { type: "number" }
2332
- },
2333
- required: [
2334
- "device_model",
2335
- "noise_level_nrs",
2336
- "noise_level_decibel",
2337
- "device_name",
2338
- "device_id"
2339
- ],
2340
- type: "object"
2341
- },
2342
- nuki_metadata: {
2343
- properties: {
2344
- device_id: { type: "string" },
2345
- device_name: { type: "string" },
2346
- keypad_battery_critical: { type: "boolean" }
2347
- },
2348
- required: ["device_id", "device_name"],
2349
- type: "object"
2350
- },
2351
- salto_metadata: {
2352
- properties: {
2353
- battery_level: { type: "string" },
2354
- customer_reference: { type: "string" },
2355
- lock_id: { type: "string" },
2356
- lock_type: { type: "string" },
2357
- locked_state: { type: "string" },
2358
- model: { type: "string" }
2359
- },
2360
- required: [
2361
- "lock_id",
2362
- "customer_reference",
2363
- "lock_type",
2364
- "battery_level",
2365
- "locked_state"
2366
- ],
2367
- type: "object"
2368
- },
2369
- schlage_metadata: {
2370
- properties: {
2371
- access_code_length: { type: "number" },
2372
- device_id: { type: "string" },
2373
- device_name: { type: "string" },
2374
- model: { type: "string" }
2375
- },
2376
- required: [
2377
- "device_id",
2378
- "device_name",
2379
- "access_code_length"
2380
- ],
2381
- type: "object"
2382
- },
2383
- seam_bridge_metadata: {
2384
- properties: {
2385
- device_num: { type: "number" },
2386
- name: { type: "string" },
2387
- unlock_method: {
2388
- enum: ["bridge", "doorking"],
2389
- type: "string"
2390
- }
2391
- },
2392
- required: ["device_num", "name"],
2393
- type: "object"
2394
- },
2395
- smartthings_metadata: {
2396
- properties: {
2397
- device_id: { type: "string" },
2398
- device_name: { type: "string" },
2399
- location_id: { type: "string" },
2400
- model: { type: "string" }
2401
- },
2402
- required: ["device_id", "device_name"],
2403
- type: "object"
2404
- },
2405
- ttlock_metadata: {
2406
- properties: {
2407
- lock_alias: { type: "string" },
2408
- lock_id: { type: "number" }
2409
- },
2410
- required: ["lock_id", "lock_alias"],
2411
- type: "object"
2412
- },
2413
- two_n_metadata: {
2414
- properties: {
2415
- device_id: { type: "number" },
2416
- device_name: { type: "string" }
2417
- },
2418
- required: ["device_id", "device_name"],
2419
- type: "object"
2420
- },
2421
- wyze_metadata: {
2422
- properties: {
2423
- device_id: { type: "string" },
2424
- device_info_model: { type: "string" },
2425
- device_name: { type: "string" },
2426
- product_model: { type: "string" },
2427
- product_name: { type: "string" },
2428
- product_type: { type: "string" }
2429
- },
2430
- required: [
2431
- "device_id",
2432
- "device_name",
2433
- "product_name",
2434
- "product_type",
2435
- "product_model",
2436
- "device_info_model"
2437
- ],
2438
- type: "object"
2439
- }
2440
- },
2441
- type: "object"
2442
- }
2443
- ]
2444
- },
2445
- {
2446
- allOf: [
2447
- {
2448
- properties: {
2449
- _experimental_supported_code_from_access_codes_lengths: { items: { type: "number" }, type: "array" },
2450
- code_constraints: {
2451
- items: {
2452
- oneOf: [
2453
- {
2454
- properties: {
2455
- constraint_type: {
2456
- enum: [
2457
- "no_zeros",
2458
- "cannot_start_with_12",
2459
- "no_triple_consecutive_ints",
2460
- "cannot_specify_pin_code",
2461
- "pin_code_matches_existing_set",
2462
- "start_date_in_future"
2463
- ],
2464
- type: "string"
2465
- }
2466
- },
2467
- required: ["constraint_type"],
2468
- type: "object"
2469
- },
2470
- {
2471
- properties: {
2472
- constraint_type: {
2473
- enum: ["name_length"],
2474
- type: "string"
2475
- },
2476
- max_length: { type: "number" },
2477
- min_length: { type: "number" }
2478
- },
2479
- required: ["constraint_type"],
2480
- type: "object"
2481
- }
2482
- ]
2483
- },
2484
- type: "array"
2485
- },
2486
- door_open: { type: "boolean" },
2487
- has_native_entry_events: { type: "boolean" },
2488
- keypad_battery: {
2489
- properties: { level: { type: "number" } },
2490
- required: ["level"],
2491
- type: "object"
2492
- },
2493
- locked: { type: "boolean" },
2494
- max_active_codes_supported: { type: "number" },
2495
- supported_code_lengths: {
2496
- items: { type: "number" },
2497
- type: "array"
2498
- },
2499
- supports_backup_access_code_pool: { type: "boolean" }
2500
- },
2501
- type: "object"
2502
- },
2503
- {
2504
- oneOf: [
2505
- {
2506
- properties: {
2507
- active_climate_setting_schedule: {
2508
- properties: {
2509
- automatic_cooling_enabled: {
2510
- type: "boolean"
2511
- },
2512
- automatic_heating_enabled: {
2513
- type: "boolean"
2514
- },
2515
- climate_setting_schedule_id: {
2516
- format: "uuid",
2517
- type: "string"
2518
- },
2519
- cooling_set_point_celsius: { type: "number" },
2520
- cooling_set_point_fahrenheit: {
2521
- type: "number"
2522
- },
2523
- created_at: {
2524
- format: "date-time",
2525
- type: "string"
2526
- },
2527
- device_id: { type: "string" },
2528
- errors: {
2529
- description: 'Collection of errors associated with the access code, 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.',
2530
- nullable: true
2531
- },
2532
- heating_set_point_celsius: { type: "number" },
2533
- heating_set_point_fahrenheit: {
2534
- type: "number"
2535
- },
2536
- hvac_mode_setting: {
2537
- enum: ["off", "heat", "cool", "heat_cool"],
2538
- type: "string"
2539
- },
2540
- manual_override_allowed: { type: "boolean" },
2541
- name: { type: "string" },
2542
- schedule_ends_at: { type: "string" },
2543
- schedule_starts_at: { type: "string" },
2544
- schedule_type: {
2545
- enum: ["time_bound"],
2546
- type: "string"
2547
- }
2548
- },
2549
- required: [
2550
- "climate_setting_schedule_id",
2551
- "schedule_type",
2552
- "device_id",
2553
- "schedule_starts_at",
2554
- "schedule_ends_at",
2555
- "created_at"
2556
- ],
2557
- type: "object"
2558
- },
2559
- available_hvac_mode_settings: {
2560
- items: {
2561
- enum: ["off", "heat", "cool", "heat_cool"],
2562
- type: "string"
2563
- },
2564
- type: "array"
2565
- },
2566
- can_enable_automatic_cooling: { type: "boolean" },
2567
- can_enable_automatic_heating: { type: "boolean" },
2568
- current_climate_setting: {
2569
- properties: {
2570
- automatic_cooling_enabled: {
2571
- type: "boolean"
2572
- },
2573
- automatic_heating_enabled: {
2574
- type: "boolean"
2575
- },
2576
- cooling_set_point_celsius: { type: "number" },
2577
- cooling_set_point_fahrenheit: {
2578
- type: "number"
2579
- },
2580
- heating_set_point_celsius: { type: "number" },
2581
- heating_set_point_fahrenheit: {
2582
- type: "number"
2583
- },
2584
- hvac_mode_setting: {
2585
- enum: ["off", "heat", "cool", "heat_cool"],
2586
- type: "string"
2587
- },
2588
- manual_override_allowed: { type: "boolean" }
2589
- },
2590
- required: [
2591
- "automatic_heating_enabled",
2592
- "automatic_cooling_enabled",
2593
- "hvac_mode_setting",
2594
- "manual_override_allowed"
2595
- ],
2596
- type: "object"
2597
- },
2598
- default_climate_setting: {
2599
- properties: {
2600
- automatic_cooling_enabled: {
2601
- type: "boolean"
2602
- },
2603
- automatic_heating_enabled: {
2604
- type: "boolean"
2605
- },
2606
- cooling_set_point_celsius: { type: "number" },
2607
- cooling_set_point_fahrenheit: {
2608
- type: "number"
2609
- },
2610
- heating_set_point_celsius: { type: "number" },
2611
- heating_set_point_fahrenheit: {
2612
- type: "number"
2613
- },
2614
- hvac_mode_setting: {
2615
- enum: ["off", "heat", "cool", "heat_cool"],
2616
- type: "string"
2617
- },
2618
- manual_override_allowed: { type: "boolean" }
2619
- },
2620
- required: [
2621
- "automatic_heating_enabled",
2622
- "automatic_cooling_enabled",
2623
- "hvac_mode_setting",
2624
- "manual_override_allowed"
2625
- ],
2626
- type: "object"
2627
- },
2628
- fan_mode_setting: {
2629
- enum: ["auto", "on"],
2630
- type: "string"
2631
- },
2632
- is_climate_setting_schedule_active: {
2633
- type: "boolean"
2634
- },
2635
- is_cooling: { type: "boolean" },
2636
- is_cooling_available: {
2637
- enum: [true],
2638
- type: "boolean"
2639
- },
2640
- is_fan_running: { type: "boolean" },
2641
- is_heating: { type: "boolean" },
2642
- is_heating_available: {
2643
- enum: [true],
2644
- type: "boolean"
2645
- },
2646
- is_temporary_manual_override_active: {
2647
- type: "boolean"
2648
- },
2649
- max_cooling_set_point_celsius: { type: "number" },
2650
- max_cooling_set_point_fahrenheit: {
2651
- type: "number"
2652
- },
2653
- max_heating_set_point_celsius: { type: "number" },
2654
- max_heating_set_point_fahrenheit: {
2655
- type: "number"
2656
- },
2657
- min_cooling_set_point_celsius: { type: "number" },
2658
- min_cooling_set_point_fahrenheit: {
2659
- type: "number"
2660
- },
2661
- min_heating_cooling_delta_celsius: {
2662
- type: "number"
2663
- },
2664
- min_heating_cooling_delta_fahrenheit: {
2665
- type: "number"
2666
- },
2667
- min_heating_set_point_celsius: { type: "number" },
2668
- min_heating_set_point_fahrenheit: {
2669
- type: "number"
2670
- },
2671
- relative_humidity: {
2672
- maximum: 1,
2673
- minimum: 0,
2674
- type: "number"
2675
- },
2676
- temperature_celsius: { type: "number" },
2677
- temperature_fahrenheit: { type: "number" }
2678
- },
2679
- type: "object"
2680
- },
2681
- {
2682
- properties: {
2683
- active_climate_setting_schedule: {
2684
- properties: {
2685
- automatic_cooling_enabled: {
2686
- type: "boolean"
2687
- },
2688
- automatic_heating_enabled: {
2689
- type: "boolean"
2690
- },
2691
- climate_setting_schedule_id: {
2692
- format: "uuid",
2693
- type: "string"
2694
- },
2695
- cooling_set_point_celsius: { type: "number" },
2696
- cooling_set_point_fahrenheit: {
2697
- type: "number"
2698
- },
2699
- created_at: {
2700
- format: "date-time",
2701
- type: "string"
2702
- },
2703
- device_id: { type: "string" },
2704
- errors: {
2705
- description: 'Collection of errors associated with the access code, 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.',
2706
- nullable: true
2707
- },
2708
- heating_set_point_celsius: { type: "number" },
2709
- heating_set_point_fahrenheit: {
2710
- type: "number"
2711
- },
2712
- hvac_mode_setting: {
2713
- enum: ["off", "heat", "cool", "heat_cool"],
2714
- type: "string"
2715
- },
2716
- manual_override_allowed: { type: "boolean" },
2717
- name: { type: "string" },
2718
- schedule_ends_at: { type: "string" },
2719
- schedule_starts_at: { type: "string" },
2720
- schedule_type: {
2721
- enum: ["time_bound"],
2722
- type: "string"
2723
- }
2724
- },
2725
- required: [
2726
- "climate_setting_schedule_id",
2727
- "schedule_type",
2728
- "device_id",
2729
- "schedule_starts_at",
2730
- "schedule_ends_at",
2731
- "created_at"
2732
- ],
2733
- type: "object"
2734
- },
2735
- available_hvac_mode_settings: {
2736
- items: {
2737
- enum: ["off", "heat", "cool", "heat_cool"],
2738
- type: "string"
2739
- },
2740
- type: "array"
2741
- },
2742
- can_enable_automatic_cooling: { type: "boolean" },
2743
- can_enable_automatic_heating: { type: "boolean" },
2744
- current_climate_setting: {
2745
- properties: {
2746
- automatic_cooling_enabled: {
2747
- type: "boolean"
2748
- },
2749
- automatic_heating_enabled: {
2750
- type: "boolean"
2751
- },
2752
- cooling_set_point_celsius: { type: "number" },
2753
- cooling_set_point_fahrenheit: {
2754
- type: "number"
2755
- },
2756
- heating_set_point_celsius: { type: "number" },
2757
- heating_set_point_fahrenheit: {
2758
- type: "number"
2759
- },
2760
- hvac_mode_setting: {
2761
- enum: ["off", "heat", "cool", "heat_cool"],
2762
- type: "string"
2763
- },
2764
- manual_override_allowed: { type: "boolean" }
2765
- },
2766
- required: [
2767
- "automatic_heating_enabled",
2768
- "automatic_cooling_enabled",
2769
- "hvac_mode_setting",
2770
- "manual_override_allowed"
2771
- ],
2772
- type: "object"
2773
- },
2774
- default_climate_setting: {
2775
- properties: {
2776
- automatic_cooling_enabled: {
2777
- type: "boolean"
2778
- },
2779
- automatic_heating_enabled: {
2780
- type: "boolean"
2781
- },
2782
- cooling_set_point_celsius: { type: "number" },
2783
- cooling_set_point_fahrenheit: {
2784
- type: "number"
2785
- },
2786
- heating_set_point_celsius: { type: "number" },
2787
- heating_set_point_fahrenheit: {
2788
- type: "number"
2789
- },
2790
- hvac_mode_setting: {
2791
- enum: ["off", "heat", "cool", "heat_cool"],
2792
- type: "string"
2793
- },
2794
- manual_override_allowed: { type: "boolean" }
2795
- },
2796
- required: [
2797
- "automatic_heating_enabled",
2798
- "automatic_cooling_enabled",
2799
- "hvac_mode_setting",
2800
- "manual_override_allowed"
2801
- ],
2802
- type: "object"
2803
- },
2804
- fan_mode_setting: {
2805
- enum: ["auto", "on"],
2806
- type: "string"
2807
- },
2808
- is_climate_setting_schedule_active: {
2809
- type: "boolean"
2810
- },
2811
- is_cooling: { type: "boolean" },
2812
- is_cooling_available: {
2813
- enum: [false],
2814
- type: "boolean"
2815
- },
2816
- is_fan_running: { type: "boolean" },
2817
- is_heating: { type: "boolean" },
2818
- is_heating_available: {
2819
- enum: [true],
2820
- type: "boolean"
2821
- },
2822
- is_temporary_manual_override_active: {
2823
- type: "boolean"
2824
- },
2825
- max_heating_set_point_celsius: { type: "number" },
2826
- max_heating_set_point_fahrenheit: {
2827
- type: "number"
2828
- },
2829
- min_heating_set_point_celsius: { type: "number" },
2830
- min_heating_set_point_fahrenheit: {
2831
- type: "number"
2832
- },
2833
- relative_humidity: {
2834
- maximum: 1,
2835
- minimum: 0,
2836
- type: "number"
2837
- },
2838
- temperature_celsius: { type: "number" },
2839
- temperature_fahrenheit: { type: "number" }
2840
- },
2841
- type: "object"
2842
- },
2843
- {
2844
- properties: {
2845
- active_climate_setting_schedule: {
2846
- properties: {
2847
- automatic_cooling_enabled: {
2848
- type: "boolean"
2849
- },
2850
- automatic_heating_enabled: {
2851
- type: "boolean"
2852
- },
2853
- climate_setting_schedule_id: {
2854
- format: "uuid",
2855
- type: "string"
2856
- },
2857
- cooling_set_point_celsius: { type: "number" },
2858
- cooling_set_point_fahrenheit: {
2859
- type: "number"
2860
- },
2861
- created_at: {
2862
- format: "date-time",
2863
- type: "string"
2864
- },
2865
- device_id: { type: "string" },
2866
- errors: {
2867
- description: 'Collection of errors associated with the access code, 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.',
2868
- nullable: true
2869
- },
2870
- heating_set_point_celsius: { type: "number" },
2871
- heating_set_point_fahrenheit: {
2872
- type: "number"
2873
- },
2874
- hvac_mode_setting: {
2875
- enum: ["off", "heat", "cool", "heat_cool"],
2876
- type: "string"
2877
- },
2878
- manual_override_allowed: { type: "boolean" },
2879
- name: { type: "string" },
2880
- schedule_ends_at: { type: "string" },
2881
- schedule_starts_at: { type: "string" },
2882
- schedule_type: {
2883
- enum: ["time_bound"],
2884
- type: "string"
2885
- }
2886
- },
2887
- required: [
2888
- "climate_setting_schedule_id",
2889
- "schedule_type",
2890
- "device_id",
2891
- "schedule_starts_at",
2892
- "schedule_ends_at",
2893
- "created_at"
2894
- ],
2895
- type: "object"
2896
- },
2897
- available_hvac_mode_settings: {
2898
- items: {
2899
- enum: ["off", "heat", "cool", "heat_cool"],
2900
- type: "string"
2901
- },
2902
- type: "array"
2903
- },
2904
- can_enable_automatic_cooling: { type: "boolean" },
2905
- can_enable_automatic_heating: { type: "boolean" },
2906
- current_climate_setting: {
2907
- properties: {
2908
- automatic_cooling_enabled: {
2909
- type: "boolean"
2910
- },
2911
- automatic_heating_enabled: {
2912
- type: "boolean"
2913
- },
2914
- cooling_set_point_celsius: { type: "number" },
2915
- cooling_set_point_fahrenheit: {
2916
- type: "number"
2917
- },
2918
- heating_set_point_celsius: { type: "number" },
2919
- heating_set_point_fahrenheit: {
2920
- type: "number"
2921
- },
2922
- hvac_mode_setting: {
2923
- enum: ["off", "heat", "cool", "heat_cool"],
2924
- type: "string"
2925
- },
2926
- manual_override_allowed: { type: "boolean" }
2927
- },
2928
- required: [
2929
- "automatic_heating_enabled",
2930
- "automatic_cooling_enabled",
2931
- "hvac_mode_setting",
2932
- "manual_override_allowed"
2933
- ],
2934
- type: "object"
2935
- },
2936
- default_climate_setting: {
2937
- properties: {
2938
- automatic_cooling_enabled: {
2939
- type: "boolean"
2940
- },
2941
- automatic_heating_enabled: {
2942
- type: "boolean"
2943
- },
2944
- cooling_set_point_celsius: { type: "number" },
2945
- cooling_set_point_fahrenheit: {
2946
- type: "number"
2947
- },
2948
- heating_set_point_celsius: { type: "number" },
2949
- heating_set_point_fahrenheit: {
2950
- type: "number"
2951
- },
2952
- hvac_mode_setting: {
2953
- enum: ["off", "heat", "cool", "heat_cool"],
2954
- type: "string"
2955
- },
2956
- manual_override_allowed: { type: "boolean" }
2957
- },
2958
- required: [
2959
- "automatic_heating_enabled",
2960
- "automatic_cooling_enabled",
2961
- "hvac_mode_setting",
2962
- "manual_override_allowed"
2963
- ],
2964
- type: "object"
2965
- },
2966
- fan_mode_setting: {
2967
- enum: ["auto", "on"],
2968
- type: "string"
2969
- },
2970
- is_climate_setting_schedule_active: {
2971
- type: "boolean"
2972
- },
2973
- is_cooling: { type: "boolean" },
2974
- is_cooling_available: {
2975
- enum: [true],
2976
- type: "boolean"
2977
- },
2978
- is_fan_running: { type: "boolean" },
2979
- is_heating: { type: "boolean" },
2980
- is_heating_available: {
2981
- enum: [false],
2982
- type: "boolean"
2983
- },
2984
- is_temporary_manual_override_active: {
2985
- type: "boolean"
2986
- },
2987
- max_cooling_set_point_celsius: { type: "number" },
2988
- max_cooling_set_point_fahrenheit: {
2989
- type: "number"
2990
- },
2991
- min_cooling_set_point_celsius: { type: "number" },
2992
- min_cooling_set_point_fahrenheit: {
2993
- type: "number"
2994
- },
2995
- relative_humidity: {
2996
- maximum: 1,
2997
- minimum: 0,
2998
- type: "number"
2999
- },
3000
- temperature_celsius: { type: "number" },
3001
- temperature_fahrenheit: { type: "number" }
3002
- },
3003
- type: "object"
3004
- }
3005
- ]
3006
- }
3007
- ]
3008
- }
3009
- ]
3010
- },
3011
- {
3012
- properties: {
3013
- assa_abloy_credential_service_metadata: {
3014
- properties: {
3015
- endpoints: {
3016
- items: {
3017
- properties: {
3018
- endpoint_id: { type: "string" },
3019
- is_active: { type: "boolean" }
3020
- },
3021
- required: ["endpoint_id", "is_active"],
3022
- type: "object"
3023
- },
3024
- type: "array"
3025
- },
3026
- has_active_endpoint: { type: "boolean" }
1946
+ required: ["endpoint_id", "is_active"],
1947
+ type: "object"
3027
1948
  },
3028
- required: ["has_active_endpoint", "endpoints"],
3029
- type: "object"
3030
- }
1949
+ type: "array"
1950
+ },
1951
+ has_active_endpoint: { type: "boolean" }
3031
1952
  },
1953
+ required: ["has_active_endpoint", "endpoints"],
3032
1954
  type: "object"
3033
1955
  }
3034
- ],
3035
- description: "Properties of the device."
1956
+ },
1957
+ type: "object"
3036
1958
  },
3037
1959
  warnings: {
3038
1960
  description: '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.',