Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot committed Jan 22, 2025
1 parent f0a9201 commit 7ac0bb8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/lib/seam/connect/models/events/devices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ export type TemperatureReachedSetPointEvent = z.infer<
>

export const temperature_changed_event = device_event.extend({
event_type: z.literal('thermostat.temperature_changed_event'),
event_type: z.literal('thermostat.temperature_changed'),
temperature_celsius: z
.number()
.describe(
Expand Down
14 changes: 7 additions & 7 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11705,7 +11705,7 @@ export default {
type: 'string',
},
event_type: {
enum: ['thermostat.temperature_changed_event'],
enum: ['thermostat.temperature_changed'],
type: 'string',
},
occurred_at: {
Expand Down Expand Up @@ -22376,7 +22376,7 @@ export default {
'thermostat.temperature_threshold_exceeded',
'thermostat.temperature_threshold_no_longer_exceeded',
'thermostat.temperature_reached_set_point',
'thermostat.temperature_changed_event',
'thermostat.temperature_changed',
'enrollment_automation.deleted',
'phone.deactivated',
],
Expand Down Expand Up @@ -22457,7 +22457,7 @@ export default {
'thermostat.temperature_threshold_exceeded',
'thermostat.temperature_threshold_no_longer_exceeded',
'thermostat.temperature_reached_set_point',
'thermostat.temperature_changed_event',
'thermostat.temperature_changed',
'enrollment_automation.deleted',
'phone.deactivated',
],
Expand Down Expand Up @@ -25714,9 +25714,9 @@ export default {
'x-title': 'Set a Temperature Threshold',
},
},
'/thermostats/simulate/set_hvac_mode': {
'/thermostats/simulate/hvac_mode_adjusted': {
post: {
operationId: 'thermostatsSimulateSetHvacModePost',
operationId: 'thermostatsSimulateHvacModeAdjustedPost',
requestBody: {
content: {
'application/json': {
Expand Down Expand Up @@ -25813,10 +25813,10 @@ export default {
{ pat_with_workspace: [] },
{ console_session_with_workspace: [] },
],
summary: '/thermostats/simulate/set_hvac_mode',
summary: '/thermostats/simulate/hvac_mode_adjusted',
tags: ['/thermostats'],
'x-fern-sdk-group-name': ['thermostats', 'simulate'],
'x-fern-sdk-method-name': 'set_hvac_mode',
'x-fern-sdk-method-name': 'hvac_mode_adjusted',
'x-response-key': null,
},
},
Expand Down
12 changes: 6 additions & 6 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19889,7 +19889,7 @@ export interface Routes {
device_id: string
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
connected_account_id: string
event_type: 'thermostat.temperature_changed_event'
event_type: 'thermostat.temperature_changed'
/** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
temperature_celsius: number
/** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
Expand Down Expand Up @@ -20015,7 +20015,7 @@ export interface Routes {
| 'thermostat.temperature_threshold_exceeded'
| 'thermostat.temperature_threshold_no_longer_exceeded'
| 'thermostat.temperature_reached_set_point'
| 'thermostat.temperature_changed_event'
| 'thermostat.temperature_changed'
| 'enrollment_automation.deleted'
| 'phone.deactivated'
)
Expand Down Expand Up @@ -20094,7 +20094,7 @@ export interface Routes {
| 'thermostat.temperature_threshold_exceeded'
| 'thermostat.temperature_threshold_no_longer_exceeded'
| 'thermostat.temperature_reached_set_point'
| 'thermostat.temperature_changed_event'
| 'thermostat.temperature_changed'
| 'enrollment_automation.deleted'
| 'phone.deactivated'
>
Expand Down Expand Up @@ -21343,7 +21343,7 @@ export interface Routes {
device_id: string
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
connected_account_id: string
event_type: 'thermostat.temperature_changed_event'
event_type: 'thermostat.temperature_changed'
/** Temperature, in °C, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
temperature_celsius: number
/** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
Expand Down Expand Up @@ -43220,8 +43220,8 @@ export interface Routes {
formData: {}
jsonResponse: {}
}
'/thermostats/simulate/set_hvac_mode': {
route: '/thermostats/simulate/set_hvac_mode'
'/thermostats/simulate/hvac_mode_adjusted': {
route: '/thermostats/simulate/hvac_mode_adjusted'
method: 'POST'
queryParams: {}
jsonBody:
Expand Down

0 comments on commit 7ac0bb8

Please sign in to comment.