Skip to content

Commit 26af0d6

Browse files
authored
feat: Sync with Seam API via 8a4c61c8a027fa51fdbc67de2444297696c721f2 (#2757)
1 parent 7e8a105 commit 26af0d6

File tree

3 files changed

+52
-0
lines changed

3 files changed

+52
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,12 @@ export const device_metadata = z
644644
.describe(
645645
`Set to true when the device does not support the /dual-setpoints API endpoint.`,
646646
),
647+
enforced_setpoint_range_celsius: z
648+
.tuple([z.number(), z.number()])
649+
.optional()
650+
.describe(
651+
`Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error.`,
652+
),
647653
})
648654
.describe(`Metadata for a Sensi device.`),
649655

src/lib/seam/connect/openapi.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13098,6 +13098,10 @@ export default {
1309813098
'Set to true when the device does not support the /dual-setpoints API endpoint.',
1309913099
type: 'boolean',
1310013100
},
13101+
enforced_setpoint_range_celsius: {
13102+
description:
13103+
'Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error.',
13104+
},
1310113105
product_type: {
1310213106
description: 'Product type for a Sensi device.',
1310313107
type: 'string',

src/lib/seam/connect/route-types.ts

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12917,6 +12917,10 @@ export type Routes = {
1291712917
product_type: string
1291812918
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
1291912919
dual_setpoints_not_supported?: boolean | undefined
12920+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
12921+
enforced_setpoint_range_celsius?:
12922+
| [number, number]
12923+
| undefined
1292012924
}
1292112925
| undefined
1292212926
/** Metadata for a KeyNest device. */
@@ -18026,6 +18030,10 @@ export type Routes = {
1802618030
product_type: string
1802718031
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
1802818032
dual_setpoints_not_supported?: boolean | undefined
18033+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
18034+
enforced_setpoint_range_celsius?:
18035+
| [number, number]
18036+
| undefined
1802918037
}
1803018038
| undefined
1803118039
/** Metadata for a KeyNest device. */
@@ -37292,6 +37300,8 @@ export type Routes = {
3729237300
product_type: string
3729337301
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
3729437302
dual_setpoints_not_supported?: boolean | undefined
37303+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
37304+
enforced_setpoint_range_celsius?: [number, number] | undefined
3729537305
}
3729637306
| undefined
3729737307
/** Metadata for a KeyNest device. */
@@ -39171,6 +39181,8 @@ export type Routes = {
3917139181
product_type: string
3917239182
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
3917339183
dual_setpoints_not_supported?: boolean | undefined
39184+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
39185+
enforced_setpoint_range_celsius?: [number, number] | undefined
3917439186
}
3917539187
| undefined
3917639188
/** Metadata for a KeyNest device. */
@@ -51038,6 +51050,8 @@ export type Routes = {
5103851050
product_type: string
5103951051
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
5104051052
dual_setpoints_not_supported?: boolean | undefined
51053+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
51054+
enforced_setpoint_range_celsius?: [number, number] | undefined
5104151055
}
5104251056
| undefined
5104351057
/** Metadata for a KeyNest device. */
@@ -52686,6 +52700,8 @@ export type Routes = {
5268652700
product_type: string
5268752701
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
5268852702
dual_setpoints_not_supported?: boolean | undefined
52703+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
52704+
enforced_setpoint_range_celsius?: [number, number] | undefined
5268952705
}
5269052706
| undefined
5269152707
/** Metadata for a KeyNest device. */
@@ -54524,6 +54540,8 @@ export type Routes = {
5452454540
product_type: string
5452554541
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
5452654542
dual_setpoints_not_supported?: boolean | undefined
54543+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
54544+
enforced_setpoint_range_celsius?: [number, number] | undefined
5452754545
}
5452854546
| undefined
5452954547
/** Metadata for a KeyNest device. */
@@ -56171,6 +56189,8 @@ export type Routes = {
5617156189
product_type: string
5617256190
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
5617356191
dual_setpoints_not_supported?: boolean | undefined
56192+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
56193+
enforced_setpoint_range_celsius?: [number, number] | undefined
5617456194
}
5617556195
| undefined
5617656196
/** Metadata for a KeyNest device. */
@@ -64107,6 +64127,8 @@ export type Routes = {
6410764127
product_type: string
6410864128
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
6410964129
dual_setpoints_not_supported?: boolean | undefined
64130+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
64131+
enforced_setpoint_range_celsius?: [number, number] | undefined
6411064132
}
6411164133
| undefined
6411264134
/** Metadata for a KeyNest device. */
@@ -65754,6 +65776,8 @@ export type Routes = {
6575465776
product_type: string
6575565777
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
6575665778
dual_setpoints_not_supported?: boolean | undefined
65779+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
65780+
enforced_setpoint_range_celsius?: [number, number] | undefined
6575765781
}
6575865782
| undefined
6575965783
/** Metadata for a KeyNest device. */
@@ -81312,6 +81336,10 @@ export type Routes = {
8131281336
product_type: string
8131381337
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
8131481338
dual_setpoints_not_supported?: boolean | undefined
81339+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
81340+
enforced_setpoint_range_celsius?:
81341+
| [number, number]
81342+
| undefined
8131581343
}
8131681344
| undefined
8131781345
/** Metadata for a KeyNest device. */
@@ -88531,6 +88559,8 @@ export type Routes = {
8853188559
product_type: string
8853288560
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
8853388561
dual_setpoints_not_supported?: boolean | undefined
88562+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
88563+
enforced_setpoint_range_celsius?: [number, number] | undefined
8853488564
}
8853588565
| undefined
8853688566
/** Metadata for a KeyNest device. */
@@ -93412,6 +93442,8 @@ export type Routes = {
9341293442
product_type: string
9341393443
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
9341493444
dual_setpoints_not_supported?: boolean | undefined
93445+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
93446+
enforced_setpoint_range_celsius?: [number, number] | undefined
9341593447
}
9341693448
| undefined
9341793449
/** Metadata for a KeyNest device. */
@@ -95059,6 +95091,8 @@ export type Routes = {
9505995091
product_type: string
9506095092
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
9506195093
dual_setpoints_not_supported?: boolean | undefined
95094+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
95095+
enforced_setpoint_range_celsius?: [number, number] | undefined
9506295096
}
9506395097
| undefined
9506495098
/** Metadata for a KeyNest device. */
@@ -103876,6 +103910,8 @@ export type Routes = {
103876103910
product_type: string
103877103911
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
103878103912
dual_setpoints_not_supported?: boolean | undefined
103913+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
103914+
enforced_setpoint_range_celsius?: [number, number] | undefined
103879103915
}
103880103916
| undefined
103881103917
/** Metadata for a KeyNest device. */
@@ -105525,6 +105561,8 @@ export type Routes = {
105525105561
product_type: string
105526105562
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
105527105563
dual_setpoints_not_supported?: boolean | undefined
105564+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
105565+
enforced_setpoint_range_celsius?: [number, number] | undefined
105528105566
}
105529105567
| undefined
105530105568
/** Metadata for a KeyNest device. */
@@ -108441,6 +108479,10 @@ export type Routes = {
108441108479
product_type: string
108442108480
/** Set to true when the device does not support the /dual-setpoints API endpoint. */
108443108481
dual_setpoints_not_supported?: boolean | undefined
108482+
/** Enforced setpoint range in Celsius for a Sensi device, derived from an OutOfRange API error. */
108483+
enforced_setpoint_range_celsius?:
108484+
| [number, number]
108485+
| undefined
108444108486
}
108445108487
| undefined
108446108488
/** Metadata for a KeyNest device. */

0 commit comments

Comments
 (0)