Skip to content

Commit 618ec45

Browse files
authored
feat: Sync with Seam API via b892a243adc0d37373e6c438c266bb29f92699dd (#2375)
1 parent 24530a8 commit 618ec45

File tree

3 files changed

+112
-0
lines changed

3 files changed

+112
-0
lines changed

src/lib/seam/connect/models/devices/device.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ export const device_capability_flags = z
2323
can_simulate_disconnection: z.boolean(),
2424
can_unlock_with_code: z.boolean(),
2525
can_run_thermostat_programs: z.boolean(),
26+
can_simulate_hub_connection: z.boolean(),
27+
can_simulate_hub_disconnection: z.boolean(),
2628
})
2729
.partial()
2830

src/lib/seam/connect/openapi.ts

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9214,6 +9214,8 @@ export default {
92149214
can_run_thermostat_programs: { type: 'boolean' },
92159215
can_simulate_connection: { type: 'boolean' },
92169216
can_simulate_disconnection: { type: 'boolean' },
9217+
can_simulate_hub_connection: { type: 'boolean' },
9218+
can_simulate_hub_disconnection: { type: 'boolean' },
92179219
can_simulate_removal: { type: 'boolean' },
92189220
can_turn_off_hvac: { type: 'boolean' },
92199221
can_unlock_with_code: { type: 'boolean' },
@@ -12981,6 +12983,8 @@ export default {
1298112983
can_run_thermostat_programs: { type: 'boolean' },
1298212984
can_simulate_connection: { type: 'boolean' },
1298312985
can_simulate_disconnection: { type: 'boolean' },
12986+
can_simulate_hub_connection: { type: 'boolean' },
12987+
can_simulate_hub_disconnection: { type: 'boolean' },
1298412988
can_simulate_removal: { type: 'boolean' },
1298512989
can_turn_off_hvac: { type: 'boolean' },
1298612990
can_unlock_with_code: { type: 'boolean' },
@@ -23643,6 +23647,8 @@ export default {
2364323647
can_run_thermostat_programs: { type: 'boolean' },
2364423648
can_simulate_connection: { type: 'boolean' },
2364523649
can_simulate_disconnection: { type: 'boolean' },
23650+
can_simulate_hub_connection: { type: 'boolean' },
23651+
can_simulate_hub_disconnection: { type: 'boolean' },
2364623652
can_simulate_removal: { type: 'boolean' },
2364723653
can_turn_off_hvac: { type: 'boolean' },
2364823654
can_unlock_with_code: { type: 'boolean' },
@@ -40174,6 +40180,8 @@ export default {
4017440180
'can_simulate_disconnection',
4017540181
'can_unlock_with_code',
4017640182
'can_run_thermostat_programs',
40183+
'can_simulate_hub_connection',
40184+
'can_simulate_hub_disconnection',
4017740185
],
4017840186
type: 'string',
4017940187
},
@@ -40200,6 +40208,8 @@ export default {
4020040208
'can_simulate_disconnection',
4020140209
'can_unlock_with_code',
4020240210
'can_run_thermostat_programs',
40211+
'can_simulate_hub_connection',
40212+
'can_simulate_hub_disconnection',
4020340213
],
4020440214
type: 'string',
4020540215
},
@@ -40489,6 +40499,8 @@ export default {
4048940499
'can_simulate_disconnection',
4049040500
'can_unlock_with_code',
4049140501
'can_run_thermostat_programs',
40502+
'can_simulate_hub_connection',
40503+
'can_simulate_hub_disconnection',
4049240504
],
4049340505
type: 'string',
4049440506
},
@@ -40511,6 +40523,8 @@ export default {
4051140523
'can_simulate_disconnection',
4051240524
'can_unlock_with_code',
4051340525
'can_run_thermostat_programs',
40526+
'can_simulate_hub_connection',
40527+
'can_simulate_hub_disconnection',
4051440528
],
4051540529
type: 'string',
4051640530
},
@@ -41457,6 +41471,8 @@ export default {
4145741471
'can_simulate_disconnection',
4145841472
'can_unlock_with_code',
4145941473
'can_run_thermostat_programs',
41474+
'can_simulate_hub_connection',
41475+
'can_simulate_hub_disconnection',
4146041476
],
4146141477
type: 'string',
4146241478
},
@@ -41483,6 +41499,8 @@ export default {
4148341499
'can_simulate_disconnection',
4148441500
'can_unlock_with_code',
4148541501
'can_run_thermostat_programs',
41502+
'can_simulate_hub_connection',
41503+
'can_simulate_hub_disconnection',
4148641504
],
4148741505
type: 'string',
4148841506
},
@@ -41769,6 +41787,8 @@ export default {
4176941787
'can_simulate_disconnection',
4177041788
'can_unlock_with_code',
4177141789
'can_run_thermostat_programs',
41790+
'can_simulate_hub_connection',
41791+
'can_simulate_hub_disconnection',
4177241792
],
4177341793
type: 'string',
4177441794
},
@@ -41791,6 +41811,8 @@ export default {
4179141811
'can_simulate_disconnection',
4179241812
'can_unlock_with_code',
4179341813
'can_run_thermostat_programs',
41814+
'can_simulate_hub_connection',
41815+
'can_simulate_hub_disconnection',
4179441816
],
4179541817
type: 'string',
4179641818
},
@@ -43740,6 +43762,8 @@ export default {
4374043762
'can_simulate_disconnection',
4374143763
'can_unlock_with_code',
4374243764
'can_run_thermostat_programs',
43765+
'can_simulate_hub_connection',
43766+
'can_simulate_hub_disconnection',
4374343767
],
4374443768
type: 'string',
4374543769
},
@@ -43766,6 +43790,8 @@ export default {
4376643790
'can_simulate_disconnection',
4376743791
'can_unlock_with_code',
4376843792
'can_run_thermostat_programs',
43793+
'can_simulate_hub_connection',
43794+
'can_simulate_hub_disconnection',
4376943795
],
4377043796
type: 'string',
4377143797
},
@@ -44000,6 +44026,8 @@ export default {
4400044026
'can_simulate_disconnection',
4400144027
'can_unlock_with_code',
4400244028
'can_run_thermostat_programs',
44029+
'can_simulate_hub_connection',
44030+
'can_simulate_hub_disconnection',
4400344031
],
4400444032
type: 'string',
4400544033
},
@@ -44022,6 +44050,8 @@ export default {
4402244050
'can_simulate_disconnection',
4402344051
'can_unlock_with_code',
4402444052
'can_run_thermostat_programs',
44053+
'can_simulate_hub_connection',
44054+
'can_simulate_hub_disconnection',
4402544055
],
4402644056
type: 'string',
4402744057
},
@@ -44559,6 +44589,8 @@ export default {
4455944589
'can_simulate_disconnection',
4456044590
'can_unlock_with_code',
4456144591
'can_run_thermostat_programs',
44592+
'can_simulate_hub_connection',
44593+
'can_simulate_hub_disconnection',
4456244594
],
4456344595
type: 'string',
4456444596
},
@@ -44585,6 +44617,8 @@ export default {
4458544617
'can_simulate_disconnection',
4458644618
'can_unlock_with_code',
4458744619
'can_run_thermostat_programs',
44620+
'can_simulate_hub_connection',
44621+
'can_simulate_hub_disconnection',
4458844622
],
4458944623
type: 'string',
4459044624
},
@@ -44763,6 +44797,8 @@ export default {
4476344797
'can_simulate_disconnection',
4476444798
'can_unlock_with_code',
4476544799
'can_run_thermostat_programs',
44800+
'can_simulate_hub_connection',
44801+
'can_simulate_hub_disconnection',
4476644802
],
4476744803
type: 'string',
4476844804
},
@@ -44785,6 +44821,8 @@ export default {
4478544821
'can_simulate_disconnection',
4478644822
'can_unlock_with_code',
4478744823
'can_run_thermostat_programs',
44824+
'can_simulate_hub_connection',
44825+
'can_simulate_hub_disconnection',
4478844826
],
4478944827
type: 'string',
4479044828
},
@@ -51337,6 +51375,8 @@ export default {
5133751375
'can_simulate_disconnection',
5133851376
'can_unlock_with_code',
5133951377
'can_run_thermostat_programs',
51378+
'can_simulate_hub_connection',
51379+
'can_simulate_hub_disconnection',
5134051380
],
5134151381
type: 'string',
5134251382
},
@@ -51363,6 +51403,8 @@ export default {
5136351403
'can_simulate_disconnection',
5136451404
'can_unlock_with_code',
5136551405
'can_run_thermostat_programs',
51406+
'can_simulate_hub_connection',
51407+
'can_simulate_hub_disconnection',
5136651408
],
5136751409
type: 'string',
5136851410
},
@@ -51555,6 +51597,8 @@ export default {
5155551597
'can_simulate_disconnection',
5155651598
'can_unlock_with_code',
5155751599
'can_run_thermostat_programs',
51600+
'can_simulate_hub_connection',
51601+
'can_simulate_hub_disconnection',
5155851602
],
5155951603
type: 'string',
5156051604
},
@@ -51577,6 +51621,8 @@ export default {
5157751621
'can_simulate_disconnection',
5157851622
'can_unlock_with_code',
5157951623
'can_run_thermostat_programs',
51624+
'can_simulate_hub_connection',
51625+
'can_simulate_hub_disconnection',
5158051626
],
5158151627
type: 'string',
5158251628
},

0 commit comments

Comments
 (0)