@seamapi/http 2.1.0 → 2.2.0
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/lib/seam/connect/resources/access-code.d.ts +743 -56
- package/lib/seam/connect/resources/access-grant.d.ts +279 -10
- package/lib/seam/connect/resources/access-method.d.ts +204 -8
- package/lib/seam/connect/resources/acs-access-group.d.ts +242 -9
- package/lib/seam/connect/resources/acs-credential.d.ts +212 -6
- package/lib/seam/connect/resources/acs-encoder.d.ts +46 -0
- package/lib/seam/connect/resources/acs-entrance.d.ts +298 -5
- package/lib/seam/connect/resources/acs-system.d.ts +227 -11
- package/lib/seam/connect/resources/acs-user.d.ts +388 -19
- package/lib/seam/connect/resources/action-attempt.d.ts +954 -0
- package/lib/seam/connect/resources/batch.d.ts +3 -0
- package/lib/seam/connect/resources/client-session.d.ts +48 -0
- package/lib/seam/connect/resources/connect-webview.d.ts +70 -0
- package/lib/seam/connect/resources/connected-account.d.ts +281 -12
- package/lib/seam/connect/resources/customer-portal.d.ts +22 -0
- package/lib/seam/connect/resources/device-provider.d.ts +72 -0
- package/lib/seam/connect/resources/device.d.ts +2063 -41
- package/lib/seam/connect/resources/event.d.ts +4014 -0
- package/lib/seam/connect/resources/instant-key.d.ts +41 -0
- package/lib/seam/connect/resources/noise-threshold.d.ts +24 -0
- package/lib/seam/connect/resources/phone.d.ts +72 -0
- package/lib/seam/connect/resources/space.d.ts +54 -0
- package/lib/seam/connect/resources/thermostat-daily-program.d.ts +27 -0
- package/lib/seam/connect/resources/thermostat-schedule.d.ts +45 -0
- package/lib/seam/connect/resources/unmanaged-access-code.d.ts +602 -50
- package/lib/seam/connect/resources/unmanaged-access-grant.d.ts +267 -10
- package/lib/seam/connect/resources/unmanaged-access-method.d.ts +195 -8
- package/lib/seam/connect/resources/unmanaged-device.d.ts +810 -120
- package/lib/seam/connect/resources/unmanaged-user-identity.d.ts +79 -3
- package/lib/seam/connect/resources/user-identity.d.ts +82 -3
- package/lib/seam/connect/resources/webhook.d.ts +15 -0
- package/lib/seam/connect/resources/workspace.d.ts +45 -0
- package/lib/seam/connect/routes/access-codes/access-codes.d.ts +288 -0
- package/lib/seam/connect/routes/access-codes/access-codes.js +60 -0
- package/lib/seam/connect/routes/access-codes/access-codes.js.map +1 -1
- package/lib/seam/connect/routes/access-codes/simulate/simulate.d.ts +12 -0
- package/lib/seam/connect/routes/access-codes/simulate/simulate.js +3 -0
- package/lib/seam/connect/routes/access-codes/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.d.ts +72 -0
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js +21 -0
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/access-grants/access-grants.d.ts +177 -0
- package/lib/seam/connect/routes/access-grants/access-grants.js +21 -0
- package/lib/seam/connect/routes/access-grants/access-grants.js.map +1 -1
- package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.d.ts +43 -0
- package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js +13 -0
- package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/access-methods/access-methods.d.ts +78 -0
- package/lib/seam/connect/routes/access-methods/access-methods.js +21 -0
- package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
- package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.d.ts +21 -0
- package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js +6 -0
- package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/acs/access-groups/access-groups.d.ts +63 -0
- package/lib/seam/connect/routes/acs/access-groups/access-groups.js +21 -0
- package/lib/seam/connect/routes/acs/access-groups/access-groups.js.map +1 -1
- package/lib/seam/connect/routes/acs/credentials/credentials.d.ts +126 -0
- package/lib/seam/connect/routes/acs/credentials/credentials.js +24 -0
- package/lib/seam/connect/routes/acs/credentials/credentials.js.map +1 -1
- package/lib/seam/connect/routes/acs/encoders/encoders.d.ts +66 -0
- package/lib/seam/connect/routes/acs/encoders/encoders.js +15 -0
- package/lib/seam/connect/routes/acs/encoders/encoders.js.map +1 -1
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.d.ts +39 -0
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js +12 -0
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/acs/entrances/entrances.d.ts +72 -0
- package/lib/seam/connect/routes/acs/entrances/entrances.js +15 -0
- package/lib/seam/connect/routes/acs/entrances/entrances.js.map +1 -1
- package/lib/seam/connect/routes/acs/systems/systems.d.ts +64 -0
- package/lib/seam/connect/routes/acs/systems/systems.js +16 -0
- package/lib/seam/connect/routes/acs/systems/systems.js.map +1 -1
- package/lib/seam/connect/routes/acs/users/users.d.ts +189 -0
- package/lib/seam/connect/routes/acs/users/users.js +33 -0
- package/lib/seam/connect/routes/acs/users/users.js.map +1 -1
- package/lib/seam/connect/routes/action-attempts/action-attempts.d.ts +21 -0
- package/lib/seam/connect/routes/action-attempts/action-attempts.js +6 -0
- package/lib/seam/connect/routes/action-attempts/action-attempts.js.map +1 -1
- package/lib/seam/connect/routes/client-sessions/client-sessions.d.ts +113 -0
- package/lib/seam/connect/routes/client-sessions/client-sessions.js +23 -0
- package/lib/seam/connect/routes/client-sessions/client-sessions.js.map +1 -1
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.d.ts +76 -0
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.js +22 -0
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.js.map +1 -1
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.d.ts +70 -0
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.js +19 -0
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.js.map +1 -1
- package/lib/seam/connect/routes/connected-accounts/simulate/simulate.d.ts +6 -0
- package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js +3 -0
- package/lib/seam/connect/routes/connected-accounts/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/customers/customers.d.ts +1042 -0
- package/lib/seam/connect/routes/customers/customers.js +10 -0
- package/lib/seam/connect/routes/customers/customers.js.map +1 -1
- package/lib/seam/connect/routes/devices/devices.d.ts +122 -0
- package/lib/seam/connect/routes/devices/devices.js +23 -0
- package/lib/seam/connect/routes/devices/devices.js.map +1 -1
- package/lib/seam/connect/routes/devices/simulate/simulate.d.ts +42 -0
- package/lib/seam/connect/routes/devices/simulate/simulate.js +27 -0
- package/lib/seam/connect/routes/devices/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.d.ts +80 -0
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js +17 -0
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/events/events.d.ts +99 -0
- package/lib/seam/connect/routes/events/events.js +6 -0
- package/lib/seam/connect/routes/events/events.js.map +1 -1
- package/lib/seam/connect/routes/instant-keys/instant-keys.d.ts +21 -0
- package/lib/seam/connect/routes/instant-keys/instant-keys.js +9 -0
- package/lib/seam/connect/routes/instant-keys/instant-keys.js.map +1 -1
- package/lib/seam/connect/routes/locks/locks.d.ts +85 -0
- package/lib/seam/connect/routes/locks/locks.js +16 -0
- package/lib/seam/connect/routes/locks/locks.js.map +1 -1
- package/lib/seam/connect/routes/locks/simulate/simulate.d.ts +15 -0
- package/lib/seam/connect/routes/locks/simulate/simulate.js +6 -0
- package/lib/seam/connect/routes/locks/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.d.ts +51 -0
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.js +3 -0
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.d.ts +66 -0
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js +15 -0
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.d.ts +6 -0
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js +3 -0
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/phones/phones.d.ts +21 -0
- package/lib/seam/connect/routes/phones/phones.js +9 -0
- package/lib/seam/connect/routes/phones/phones.js.map +1 -1
- package/lib/seam/connect/routes/phones/simulate/simulate.d.ts +45 -0
- package/lib/seam/connect/routes/phones/simulate/simulate.js +3 -0
- package/lib/seam/connect/routes/phones/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.d.ts +6 -0
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js +6 -0
- package/lib/seam/connect/routes/seam-http-endpoints-without-workspace.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +696 -0
- package/lib/seam/connect/routes/seam-http-endpoints.js +696 -0
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
- package/lib/seam/connect/routes/spaces/spaces.d.ts +165 -0
- package/lib/seam/connect/routes/spaces/spaces.js +36 -0
- package/lib/seam/connect/routes/spaces/spaces.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.d.ts +42 -0
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js +9 -0
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/schedules/schedules.d.ts +69 -0
- package/lib/seam/connect/routes/thermostats/schedules/schedules.js +15 -0
- package/lib/seam/connect/routes/thermostats/schedules/schedules.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/simulate/simulate.d.ts +33 -0
- package/lib/seam/connect/routes/thermostats/simulate/simulate.js +6 -0
- package/lib/seam/connect/routes/thermostats/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/thermostats.d.ts +300 -0
- package/lib/seam/connect/routes/thermostats/thermostats.js +42 -0
- package/lib/seam/connect/routes/thermostats/thermostats.js.map +1 -1
- package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.d.ts +35 -0
- package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js +11 -0
- package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/user-identities/user-identities.d.ts +145 -0
- package/lib/seam/connect/routes/user-identities/user-identities.js +46 -0
- package/lib/seam/connect/routes/user-identities/user-identities.js.map +1 -1
- package/lib/seam/connect/routes/webhooks/webhooks.d.ts +33 -0
- package/lib/seam/connect/routes/webhooks/webhooks.js +15 -0
- package/lib/seam/connect/routes/webhooks/webhooks.js.map +1 -1
- package/lib/seam/connect/routes/workspaces/workspaces.d.ts +88 -0
- package/lib/seam/connect/routes/workspaces/workspaces.js +15 -0
- package/lib/seam/connect/routes/workspaces/workspaces.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/resources/access-code.ts +719 -35
- package/src/lib/seam/connect/resources/access-grant.ts +284 -16
- package/src/lib/seam/connect/resources/access-method.ts +205 -10
- package/src/lib/seam/connect/resources/acs-access-group.ts +247 -14
- package/src/lib/seam/connect/resources/acs-credential.ts +210 -5
- package/src/lib/seam/connect/resources/acs-encoder.ts +46 -0
- package/src/lib/seam/connect/resources/acs-entrance.ts +296 -4
- package/src/lib/seam/connect/resources/acs-system.ts +223 -9
- package/src/lib/seam/connect/resources/acs-user.ts +382 -16
- package/src/lib/seam/connect/resources/action-attempt.ts +956 -0
- package/src/lib/seam/connect/resources/batch.ts +3 -0
- package/src/lib/seam/connect/resources/client-session.ts +48 -0
- package/src/lib/seam/connect/resources/connect-webview.ts +70 -0
- package/src/lib/seam/connect/resources/connected-account.ts +277 -10
- package/src/lib/seam/connect/resources/customer-portal.ts +22 -0
- package/src/lib/seam/connect/resources/device-provider.ts +72 -0
- package/src/lib/seam/connect/resources/device.ts +2059 -39
- package/src/lib/seam/connect/resources/event.ts +4015 -0
- package/src/lib/seam/connect/resources/instant-key.ts +41 -0
- package/src/lib/seam/connect/resources/noise-threshold.ts +24 -0
- package/src/lib/seam/connect/resources/phone.ts +72 -0
- package/src/lib/seam/connect/resources/space.ts +54 -0
- package/src/lib/seam/connect/resources/thermostat-daily-program.ts +27 -0
- package/src/lib/seam/connect/resources/thermostat-schedule.ts +45 -0
- package/src/lib/seam/connect/resources/unmanaged-access-code.ts +580 -30
- package/src/lib/seam/connect/resources/unmanaged-access-grant.ts +272 -16
- package/src/lib/seam/connect/resources/unmanaged-access-method.ts +196 -10
- package/src/lib/seam/connect/resources/unmanaged-device.ts +727 -39
- package/src/lib/seam/connect/resources/unmanaged-user-identity.ts +84 -8
- package/src/lib/seam/connect/resources/user-identity.ts +87 -8
- package/src/lib/seam/connect/resources/webhook.ts +15 -0
- package/src/lib/seam/connect/resources/workspace.ts +46 -0
- package/src/lib/seam/connect/routes/access-codes/access-codes.ts +291 -0
- package/src/lib/seam/connect/routes/access-codes/simulate/simulate.ts +12 -0
- package/src/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.ts +73 -0
- package/src/lib/seam/connect/routes/access-grants/access-grants.ts +180 -0
- package/src/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.ts +43 -0
- package/src/lib/seam/connect/routes/access-methods/access-methods.ts +79 -0
- package/src/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.ts +21 -0
- package/src/lib/seam/connect/routes/acs/access-groups/access-groups.ts +63 -0
- package/src/lib/seam/connect/routes/acs/credentials/credentials.ts +133 -0
- package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +66 -0
- package/src/lib/seam/connect/routes/acs/encoders/simulate/simulate.ts +40 -0
- package/src/lib/seam/connect/routes/acs/entrances/entrances.ts +72 -0
- package/src/lib/seam/connect/routes/acs/systems/systems.ts +64 -0
- package/src/lib/seam/connect/routes/acs/users/users.ts +189 -0
- package/src/lib/seam/connect/routes/action-attempts/action-attempts.ts +21 -0
- package/src/lib/seam/connect/routes/client-sessions/client-sessions.ts +113 -0
- package/src/lib/seam/connect/routes/connect-webviews/connect-webviews.ts +76 -0
- package/src/lib/seam/connect/routes/connected-accounts/connected-accounts.ts +70 -0
- package/src/lib/seam/connect/routes/connected-accounts/simulate/simulate.ts +6 -0
- package/src/lib/seam/connect/routes/customers/customers.ts +1058 -0
- package/src/lib/seam/connect/routes/devices/devices.ts +123 -0
- package/src/lib/seam/connect/routes/devices/simulate/simulate.ts +42 -0
- package/src/lib/seam/connect/routes/devices/unmanaged/unmanaged.ts +80 -0
- package/src/lib/seam/connect/routes/events/events.ts +99 -0
- package/src/lib/seam/connect/routes/instant-keys/instant-keys.ts +21 -0
- package/src/lib/seam/connect/routes/locks/locks.ts +85 -0
- package/src/lib/seam/connect/routes/locks/simulate/simulate.ts +15 -0
- package/src/lib/seam/connect/routes/noise-sensors/noise-sensors.ts +51 -0
- package/src/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.ts +66 -0
- package/src/lib/seam/connect/routes/noise-sensors/simulate/simulate.ts +6 -0
- package/src/lib/seam/connect/routes/phones/phones.ts +21 -0
- package/src/lib/seam/connect/routes/phones/simulate/simulate.ts +45 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints-without-workspace.ts +6 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +696 -0
- package/src/lib/seam/connect/routes/spaces/spaces.ts +166 -0
- package/src/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.ts +42 -0
- package/src/lib/seam/connect/routes/thermostats/schedules/schedules.ts +69 -0
- package/src/lib/seam/connect/routes/thermostats/simulate/simulate.ts +33 -0
- package/src/lib/seam/connect/routes/thermostats/thermostats.ts +300 -0
- package/src/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.ts +35 -0
- package/src/lib/seam/connect/routes/user-identities/user-identities.ts +146 -0
- package/src/lib/seam/connect/routes/webhooks/webhooks.ts +33 -0
- package/src/lib/seam/connect/routes/workspaces/workspaces.ts +88 -0
- package/src/lib/version.ts +1 -1
|
@@ -181,6 +181,9 @@ export class SeamHttpThermostats {
|
|
|
181
181
|
return SeamHttpThermostatsSimulate.fromClient(this.client, this.defaults)
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
+
/**
|
|
185
|
+
* Activates a specified [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
|
|
186
|
+
*/
|
|
184
187
|
activateClimatePreset(
|
|
185
188
|
parameters: ThermostatsActivateClimatePresetParameters,
|
|
186
189
|
options: ThermostatsActivateClimatePresetOptions = {},
|
|
@@ -194,6 +197,9 @@ export class SeamHttpThermostats {
|
|
|
194
197
|
})
|
|
195
198
|
}
|
|
196
199
|
|
|
200
|
+
/**
|
|
201
|
+
* Sets a specified [thermostat](https://docs.seam.co/capability-guides/thermostats) to [cool mode](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings).
|
|
202
|
+
*/
|
|
197
203
|
cool(
|
|
198
204
|
parameters: ThermostatsCoolParameters,
|
|
199
205
|
options: ThermostatsCoolOptions = {},
|
|
@@ -207,6 +213,9 @@ export class SeamHttpThermostats {
|
|
|
207
213
|
})
|
|
208
214
|
}
|
|
209
215
|
|
|
216
|
+
/**
|
|
217
|
+
* Creates a [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
|
|
218
|
+
*/
|
|
210
219
|
createClimatePreset(
|
|
211
220
|
parameters: ThermostatsCreateClimatePresetParameters,
|
|
212
221
|
options: ThermostatsCreateClimatePresetOptions = {},
|
|
@@ -220,6 +229,9 @@ export class SeamHttpThermostats {
|
|
|
220
229
|
})
|
|
221
230
|
}
|
|
222
231
|
|
|
232
|
+
/**
|
|
233
|
+
* Deletes a specified [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
|
|
234
|
+
*/
|
|
223
235
|
deleteClimatePreset(
|
|
224
236
|
parameters: ThermostatsDeleteClimatePresetParameters,
|
|
225
237
|
options: ThermostatsDeleteClimatePresetOptions = {},
|
|
@@ -233,6 +245,9 @@ export class SeamHttpThermostats {
|
|
|
233
245
|
})
|
|
234
246
|
}
|
|
235
247
|
|
|
248
|
+
/**
|
|
249
|
+
* Sets a specified [thermostat](https://docs.seam.co/capability-guides/thermostats) to [heat mode](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings).
|
|
250
|
+
*/
|
|
236
251
|
heat(
|
|
237
252
|
parameters: ThermostatsHeatParameters,
|
|
238
253
|
options: ThermostatsHeatOptions = {},
|
|
@@ -246,6 +261,9 @@ export class SeamHttpThermostats {
|
|
|
246
261
|
})
|
|
247
262
|
}
|
|
248
263
|
|
|
264
|
+
/**
|
|
265
|
+
* Sets a specified [thermostat](https://docs.seam.co/capability-guides/thermostats) to [heat-cool ("auto") mode](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings).
|
|
266
|
+
*/
|
|
249
267
|
heatCool(
|
|
250
268
|
parameters: ThermostatsHeatCoolParameters,
|
|
251
269
|
options: ThermostatsHeatCoolOptions = {},
|
|
@@ -259,6 +277,9 @@ export class SeamHttpThermostats {
|
|
|
259
277
|
})
|
|
260
278
|
}
|
|
261
279
|
|
|
280
|
+
/**
|
|
281
|
+
* Returns a list of all [thermostats](https://docs.seam.co/capability-guides/thermostats).
|
|
282
|
+
*/
|
|
262
283
|
list(
|
|
263
284
|
parameters?: ThermostatsListParameters,
|
|
264
285
|
options: ThermostatsListOptions = {},
|
|
@@ -272,6 +293,9 @@ export class SeamHttpThermostats {
|
|
|
272
293
|
})
|
|
273
294
|
}
|
|
274
295
|
|
|
296
|
+
/**
|
|
297
|
+
* Sets a specified [thermostat](https://docs.seam.co/capability-guides/thermostats) to ["off" mode](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings).
|
|
298
|
+
*/
|
|
275
299
|
off(
|
|
276
300
|
parameters: ThermostatsOffParameters,
|
|
277
301
|
options: ThermostatsOffOptions = {},
|
|
@@ -285,6 +309,9 @@ export class SeamHttpThermostats {
|
|
|
285
309
|
})
|
|
286
310
|
}
|
|
287
311
|
|
|
312
|
+
/**
|
|
313
|
+
* Sets a specified [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) as the ["fallback"](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets/setting-the-fallback-climate-preset) preset for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
|
|
314
|
+
*/
|
|
288
315
|
setFallbackClimatePreset(
|
|
289
316
|
parameters: ThermostatsSetFallbackClimatePresetParameters,
|
|
290
317
|
options: ThermostatsSetFallbackClimatePresetOptions = {},
|
|
@@ -298,6 +325,9 @@ export class SeamHttpThermostats {
|
|
|
298
325
|
})
|
|
299
326
|
}
|
|
300
327
|
|
|
328
|
+
/**
|
|
329
|
+
* Sets the [fan mode setting](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
|
|
330
|
+
*/
|
|
301
331
|
setFanMode(
|
|
302
332
|
parameters: ThermostatsSetFanModeParameters,
|
|
303
333
|
options: ThermostatsSetFanModeOptions = {},
|
|
@@ -311,6 +341,9 @@ export class SeamHttpThermostats {
|
|
|
311
341
|
})
|
|
312
342
|
}
|
|
313
343
|
|
|
344
|
+
/**
|
|
345
|
+
* Sets the [HVAC mode](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
|
|
346
|
+
*/
|
|
314
347
|
setHvacMode(
|
|
315
348
|
parameters: ThermostatsSetHvacModeParameters,
|
|
316
349
|
options: ThermostatsSetHvacModeOptions = {},
|
|
@@ -324,6 +357,9 @@ export class SeamHttpThermostats {
|
|
|
324
357
|
})
|
|
325
358
|
}
|
|
326
359
|
|
|
360
|
+
/**
|
|
361
|
+
* Sets a [temperature threshold](https://docs.seam.co/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds) for a specified thermostat. Seam emits a `thermostat.temperature_threshold_exceeded` event and adds a warning on a thermostat if it reports a temperature outside the threshold range.
|
|
362
|
+
*/
|
|
327
363
|
setTemperatureThreshold(
|
|
328
364
|
parameters: ThermostatsSetTemperatureThresholdParameters,
|
|
329
365
|
options: ThermostatsSetTemperatureThresholdOptions = {},
|
|
@@ -337,6 +373,9 @@ export class SeamHttpThermostats {
|
|
|
337
373
|
})
|
|
338
374
|
}
|
|
339
375
|
|
|
376
|
+
/**
|
|
377
|
+
* Updates a specified [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
|
|
378
|
+
*/
|
|
340
379
|
updateClimatePreset(
|
|
341
380
|
parameters: ThermostatsUpdateClimatePresetParameters,
|
|
342
381
|
options: ThermostatsUpdateClimatePresetOptions = {},
|
|
@@ -350,6 +389,9 @@ export class SeamHttpThermostats {
|
|
|
350
389
|
})
|
|
351
390
|
}
|
|
352
391
|
|
|
392
|
+
/**
|
|
393
|
+
* Updates the thermostat weekly program for a thermostat device. To configure a weekly program, specify the ID of the daily program that you want to use for each day of the week. When you update a weekly program, the set of programs that you specify overwrites any previous weekly program for the thermostat.
|
|
394
|
+
*/
|
|
353
395
|
updateWeeklyProgram(
|
|
354
396
|
parameters: ThermostatsUpdateWeeklyProgramParameters,
|
|
355
397
|
options: ThermostatsUpdateWeeklyProgramOptions = {},
|
|
@@ -365,8 +407,14 @@ export class SeamHttpThermostats {
|
|
|
365
407
|
}
|
|
366
408
|
|
|
367
409
|
export type ThermostatsActivateClimatePresetParameters = {
|
|
410
|
+
/**
|
|
411
|
+
* Climate preset key of the climate preset that you want to activate.
|
|
412
|
+
*/
|
|
368
413
|
climate_preset_key: string
|
|
369
414
|
|
|
415
|
+
/**
|
|
416
|
+
* ID of the thermostat device for which you want to activate a climate preset.
|
|
417
|
+
*/
|
|
370
418
|
device_id: string
|
|
371
419
|
}
|
|
372
420
|
|
|
@@ -388,8 +436,17 @@ export type ThermostatsActivateClimatePresetOptions = Pick<
|
|
|
388
436
|
>
|
|
389
437
|
|
|
390
438
|
export type ThermostatsCoolParameters = {
|
|
439
|
+
/**
|
|
440
|
+
* [Cooling set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C that you want to set for the thermostat. You must set one of the `cooling_set_point` parameters.
|
|
441
|
+
*/
|
|
391
442
|
cooling_set_point_celsius?: number | undefined
|
|
443
|
+
/**
|
|
444
|
+
* [Cooling set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F that you want to set for the thermostat. You must set one of the `cooling_set_point` parameters.
|
|
445
|
+
*/
|
|
392
446
|
cooling_set_point_fahrenheit?: number | undefined
|
|
447
|
+
/**
|
|
448
|
+
* ID of the thermostat device that you want to set to cool mode.
|
|
449
|
+
*/
|
|
393
450
|
device_id: string
|
|
394
451
|
}
|
|
395
452
|
|
|
@@ -409,26 +466,72 @@ export type ThermostatsCoolOptions = Pick<
|
|
|
409
466
|
>
|
|
410
467
|
|
|
411
468
|
export type ThermostatsCreateClimatePresetParameters = {
|
|
469
|
+
/**
|
|
470
|
+
* Unique key to identify the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets).
|
|
471
|
+
*/
|
|
412
472
|
climate_preset_key: string
|
|
413
473
|
|
|
474
|
+
/**
|
|
475
|
+
* The climate preset mode for the thermostat, based on the available climate preset modes reported by the device.
|
|
476
|
+
*/
|
|
414
477
|
climate_preset_mode?:
|
|
415
478
|
'home' | 'away' | 'wake' | 'sleep' | 'occupied' | 'unoccupied' | undefined
|
|
479
|
+
/**
|
|
480
|
+
* Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
|
|
481
|
+
*/
|
|
416
482
|
cooling_set_point_celsius?: number | undefined
|
|
483
|
+
/**
|
|
484
|
+
* Temperature to which the thermostat should cool (in °F). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
|
|
485
|
+
*/
|
|
417
486
|
cooling_set_point_fahrenheit?: number | undefined
|
|
487
|
+
/**
|
|
488
|
+
* ID of the thermostat device for which you want create a climate preset.
|
|
489
|
+
*/
|
|
418
490
|
device_id: string
|
|
419
491
|
|
|
492
|
+
/**
|
|
493
|
+
* Metadata specific to the Ecobee climate, if applicable.
|
|
494
|
+
*/
|
|
420
495
|
ecobee_metadata?:
|
|
421
496
|
| {
|
|
497
|
+
/**
|
|
498
|
+
* Reference to the Ecobee climate, if applicable.
|
|
499
|
+
*/
|
|
422
500
|
climate_ref?: string | undefined
|
|
501
|
+
/**
|
|
502
|
+
* Indicates if the climate preset is optimized by Ecobee.
|
|
503
|
+
*/
|
|
423
504
|
is_optimized?: boolean | undefined
|
|
505
|
+
/**
|
|
506
|
+
* Indicates whether the climate preset is owned by the user or the system.
|
|
507
|
+
*/
|
|
424
508
|
owner?: 'user' | 'system' | undefined
|
|
425
509
|
}
|
|
426
510
|
| undefined
|
|
511
|
+
/**
|
|
512
|
+
* Desired [fan mode setting](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings), such as `on`, `auto`, or `circulate`.
|
|
513
|
+
*/
|
|
427
514
|
fan_mode_setting?: 'auto' | 'on' | 'circulate' | undefined
|
|
515
|
+
/**
|
|
516
|
+
* Temperature to which the thermostat should heat (in °C). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
|
|
517
|
+
*/
|
|
428
518
|
heating_set_point_celsius?: number | undefined
|
|
519
|
+
/**
|
|
520
|
+
* Temperature to which the thermostat should heat (in °F). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
|
|
521
|
+
*/
|
|
429
522
|
heating_set_point_fahrenheit?: number | undefined
|
|
523
|
+
/**
|
|
524
|
+
* Desired [HVAC mode](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.
|
|
525
|
+
*/
|
|
430
526
|
hvac_mode_setting?: 'off' | 'heat' | 'cool' | 'heat_cool' | 'eco' | undefined
|
|
527
|
+
/**
|
|
528
|
+
* Indicates whether a person at the thermostat or using the API can change the thermostat's settings.
|
|
529
|
+
* @deprecated Use 'thermostat_schedule.is_override_allowed'
|
|
530
|
+
*/
|
|
431
531
|
manual_override_allowed?: boolean | undefined
|
|
532
|
+
/**
|
|
533
|
+
* User-friendly name to identify the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets).
|
|
534
|
+
*/
|
|
432
535
|
name?: string | undefined
|
|
433
536
|
}
|
|
434
537
|
|
|
@@ -445,8 +548,14 @@ export type ThermostatsCreateClimatePresetRequest = SeamHttpRequest<
|
|
|
445
548
|
export interface ThermostatsCreateClimatePresetOptions {}
|
|
446
549
|
|
|
447
550
|
export type ThermostatsDeleteClimatePresetParameters = {
|
|
551
|
+
/**
|
|
552
|
+
* Climate preset key of the climate preset that you want to delete.
|
|
553
|
+
*/
|
|
448
554
|
climate_preset_key: string
|
|
449
555
|
|
|
556
|
+
/**
|
|
557
|
+
* ID of the thermostat device for which you want to delete a climate preset.
|
|
558
|
+
*/
|
|
450
559
|
device_id: string
|
|
451
560
|
}
|
|
452
561
|
|
|
@@ -463,9 +572,18 @@ export type ThermostatsDeleteClimatePresetRequest = SeamHttpRequest<
|
|
|
463
572
|
export interface ThermostatsDeleteClimatePresetOptions {}
|
|
464
573
|
|
|
465
574
|
export type ThermostatsHeatParameters = {
|
|
575
|
+
/**
|
|
576
|
+
* ID of the thermostat device that you want to set to heat mode.
|
|
577
|
+
*/
|
|
466
578
|
device_id: string
|
|
467
579
|
|
|
580
|
+
/**
|
|
581
|
+
* [Heating set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C that you want to set for the thermostat. You must set one of the `heating_set_point` parameters.
|
|
582
|
+
*/
|
|
468
583
|
heating_set_point_celsius?: number | undefined
|
|
584
|
+
/**
|
|
585
|
+
* [Heating set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F that you want to set for the thermostat. You must set one of the `heating_set_point` parameters.
|
|
586
|
+
*/
|
|
469
587
|
heating_set_point_fahrenheit?: number | undefined
|
|
470
588
|
}
|
|
471
589
|
|
|
@@ -485,11 +603,26 @@ export type ThermostatsHeatOptions = Pick<
|
|
|
485
603
|
>
|
|
486
604
|
|
|
487
605
|
export type ThermostatsHeatCoolParameters = {
|
|
606
|
+
/**
|
|
607
|
+
* [Cooling set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C that you want to set for the thermostat. You must set one of the `cooling_set_point` parameters.
|
|
608
|
+
*/
|
|
488
609
|
cooling_set_point_celsius?: number | undefined
|
|
610
|
+
/**
|
|
611
|
+
* [Cooling set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F that you want to set for the thermostat. You must set one of the `cooling_set_point` parameters.
|
|
612
|
+
*/
|
|
489
613
|
cooling_set_point_fahrenheit?: number | undefined
|
|
614
|
+
/**
|
|
615
|
+
* ID of the thermostat device that you want to set to heat-cool mode.
|
|
616
|
+
*/
|
|
490
617
|
device_id: string
|
|
491
618
|
|
|
619
|
+
/**
|
|
620
|
+
* [Heating set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C that you want to set for the thermostat. You must set one of the `heating_set_point` parameters.
|
|
621
|
+
*/
|
|
492
622
|
heating_set_point_celsius?: number | undefined
|
|
623
|
+
/**
|
|
624
|
+
* [Heating set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F that you want to set for the thermostat. You must set one of the `heating_set_point` parameters.
|
|
625
|
+
*/
|
|
493
626
|
heating_set_point_fahrenheit?: number | undefined
|
|
494
627
|
}
|
|
495
628
|
|
|
@@ -509,13 +642,37 @@ export type ThermostatsHeatCoolOptions = Pick<
|
|
|
509
642
|
>
|
|
510
643
|
|
|
511
644
|
export type ThermostatsListParameters = {
|
|
645
|
+
/**
|
|
646
|
+
* ID of the Connect Webview for which you want to list devices.
|
|
647
|
+
*/
|
|
512
648
|
connect_webview_id?: string | undefined
|
|
649
|
+
/**
|
|
650
|
+
* ID of the connected account for which you want to list devices.
|
|
651
|
+
*/
|
|
513
652
|
connected_account_id?: string | undefined
|
|
653
|
+
/**
|
|
654
|
+
* Array of IDs of the connected accounts for which you want to list devices.
|
|
655
|
+
*/
|
|
514
656
|
connected_account_ids?: Array<string> | undefined
|
|
657
|
+
/**
|
|
658
|
+
* Timestamp by which to limit returned devices. Returns devices created before this timestamp.
|
|
659
|
+
*/
|
|
515
660
|
created_before?: string | undefined
|
|
661
|
+
/**
|
|
662
|
+
* Set of key:value [custom metadata](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices.
|
|
663
|
+
*/
|
|
516
664
|
custom_metadata_has?: Record<string, unknown> | undefined
|
|
665
|
+
/**
|
|
666
|
+
* Customer key for which you want to list devices.
|
|
667
|
+
*/
|
|
517
668
|
customer_key?: string | undefined
|
|
669
|
+
/**
|
|
670
|
+
* Array of device IDs for which you want to list devices.
|
|
671
|
+
*/
|
|
518
672
|
device_ids?: Array<string> | undefined
|
|
673
|
+
/**
|
|
674
|
+
* Device type by which you want to filter thermostat devices.
|
|
675
|
+
*/
|
|
519
676
|
device_type?:
|
|
520
677
|
| 'ecobee_thermostat'
|
|
521
678
|
| 'nest_thermostat'
|
|
@@ -524,6 +681,9 @@ export type ThermostatsListParameters = {
|
|
|
524
681
|
| 'sensi_thermostat'
|
|
525
682
|
| 'smartthings_thermostat'
|
|
526
683
|
| undefined
|
|
684
|
+
/**
|
|
685
|
+
* Array of device types by which you want to filter thermostat devices.
|
|
686
|
+
*/
|
|
527
687
|
device_types?:
|
|
528
688
|
| Array<
|
|
529
689
|
| 'ecobee_thermostat'
|
|
@@ -534,7 +694,13 @@ export type ThermostatsListParameters = {
|
|
|
534
694
|
| 'smartthings_thermostat'
|
|
535
695
|
>
|
|
536
696
|
| undefined
|
|
697
|
+
/**
|
|
698
|
+
* Numerical limit on the number of devices to return.
|
|
699
|
+
*/
|
|
537
700
|
limit?: number | undefined
|
|
701
|
+
/**
|
|
702
|
+
* Manufacturer by which you want to filter thermostat devices.
|
|
703
|
+
*/
|
|
538
704
|
manufacturer?:
|
|
539
705
|
| 'ecobee'
|
|
540
706
|
| 'honeywell_resideo'
|
|
@@ -543,10 +709,25 @@ export type ThermostatsListParameters = {
|
|
|
543
709
|
| 'smartthings'
|
|
544
710
|
| 'tado'
|
|
545
711
|
| undefined
|
|
712
|
+
/**
|
|
713
|
+
* Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
|
|
714
|
+
*/
|
|
546
715
|
page_cursor?: string | undefined
|
|
716
|
+
/**
|
|
717
|
+
* String for which to search. Filters returned devices to include all records that satisfy a partial match using `device_id` (full or partial UUID prefix, minimum 4 characters), `connected_account_id`, `display_name`, `custom_metadata` or `location.location_name`.
|
|
718
|
+
*/
|
|
547
719
|
search?: string | undefined
|
|
720
|
+
/**
|
|
721
|
+
* ID of the space for which you want to list devices.
|
|
722
|
+
*/
|
|
548
723
|
space_id?: string | undefined
|
|
724
|
+
/**
|
|
725
|
+
* @deprecated Use `space_id`.
|
|
726
|
+
*/
|
|
549
727
|
unstable_location_id?: string | undefined
|
|
728
|
+
/**
|
|
729
|
+
* Your own internal user ID for the user for which you want to list devices.
|
|
730
|
+
*/
|
|
550
731
|
user_identifier_key?: string | undefined
|
|
551
732
|
}
|
|
552
733
|
|
|
@@ -563,6 +744,9 @@ export type ThermostatsListRequest = SeamHttpRequest<
|
|
|
563
744
|
export interface ThermostatsListOptions {}
|
|
564
745
|
|
|
565
746
|
export type ThermostatsOffParameters = {
|
|
747
|
+
/**
|
|
748
|
+
* ID of the thermostat device that you want to set to off mode.
|
|
749
|
+
*/
|
|
566
750
|
device_id: string
|
|
567
751
|
}
|
|
568
752
|
|
|
@@ -582,8 +766,14 @@ export type ThermostatsOffOptions = Pick<
|
|
|
582
766
|
>
|
|
583
767
|
|
|
584
768
|
export type ThermostatsSetFallbackClimatePresetParameters = {
|
|
769
|
+
/**
|
|
770
|
+
* Climate preset key of the climate preset that you want to set as the fallback climate preset.
|
|
771
|
+
*/
|
|
585
772
|
climate_preset_key: string
|
|
586
773
|
|
|
774
|
+
/**
|
|
775
|
+
* ID of the thermostat device for which you want to set the fallback climate preset.
|
|
776
|
+
*/
|
|
587
777
|
device_id: string
|
|
588
778
|
}
|
|
589
779
|
|
|
@@ -600,9 +790,19 @@ export type ThermostatsSetFallbackClimatePresetRequest = SeamHttpRequest<
|
|
|
600
790
|
export interface ThermostatsSetFallbackClimatePresetOptions {}
|
|
601
791
|
|
|
602
792
|
export type ThermostatsSetFanModeParameters = {
|
|
793
|
+
/**
|
|
794
|
+
* ID of the thermostat device for which you want to set the fan mode.
|
|
795
|
+
*/
|
|
603
796
|
device_id: string
|
|
604
797
|
|
|
798
|
+
/**
|
|
799
|
+
* Fan mode setting for the thermostat, such as `auto`, `on`, or `circulate`.
|
|
800
|
+
* @deprecated Use `fan_mode_setting` instead.
|
|
801
|
+
*/
|
|
605
802
|
fan_mode?: 'auto' | 'on' | 'circulate' | undefined
|
|
803
|
+
/**
|
|
804
|
+
* [Fan mode setting](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings) that you want to set for the thermostat.
|
|
805
|
+
*/
|
|
606
806
|
fan_mode_setting?: 'auto' | 'on' | 'circulate' | undefined
|
|
607
807
|
}
|
|
608
808
|
|
|
@@ -622,13 +822,28 @@ export type ThermostatsSetFanModeOptions = Pick<
|
|
|
622
822
|
>
|
|
623
823
|
|
|
624
824
|
export type ThermostatsSetHvacModeParameters = {
|
|
825
|
+
/**
|
|
826
|
+
* ID of the thermostat device for which you want to set the HVAC mode.
|
|
827
|
+
*/
|
|
625
828
|
device_id: string
|
|
626
829
|
|
|
627
830
|
hvac_mode_setting: 'off' | 'cool' | 'heat' | 'heat_cool' | 'eco'
|
|
628
831
|
|
|
832
|
+
/**
|
|
833
|
+
* [Cooling set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C that you want to set for the thermostat. You must set one of the `cooling_set_point` parameters.
|
|
834
|
+
*/
|
|
629
835
|
cooling_set_point_celsius?: number | undefined
|
|
836
|
+
/**
|
|
837
|
+
* [Cooling set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F that you want to set for the thermostat. You must set one of the `cooling_set_point` parameters.
|
|
838
|
+
*/
|
|
630
839
|
cooling_set_point_fahrenheit?: number | undefined
|
|
840
|
+
/**
|
|
841
|
+
* [Heating set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C that you want to set for the thermostat. You must set one of the `heating_set_point` parameters.
|
|
842
|
+
*/
|
|
631
843
|
heating_set_point_celsius?: number | undefined
|
|
844
|
+
/**
|
|
845
|
+
* [Heating set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F that you want to set for the thermostat. You must set one of the `heating_set_point` parameters.
|
|
846
|
+
*/
|
|
632
847
|
heating_set_point_fahrenheit?: number | undefined
|
|
633
848
|
}
|
|
634
849
|
|
|
@@ -648,11 +863,26 @@ export type ThermostatsSetHvacModeOptions = Pick<
|
|
|
648
863
|
>
|
|
649
864
|
|
|
650
865
|
export type ThermostatsSetTemperatureThresholdParameters = {
|
|
866
|
+
/**
|
|
867
|
+
* ID of the thermostat device for which you want to set a temperature threshold.
|
|
868
|
+
*/
|
|
651
869
|
device_id: string
|
|
652
870
|
|
|
871
|
+
/**
|
|
872
|
+
* Lower temperature limit in in °C. Seam alerts you if the reported temperature is lower than this value. You can specify either `lower_limit` but not both.
|
|
873
|
+
*/
|
|
653
874
|
lower_limit_celsius?: number | undefined
|
|
875
|
+
/**
|
|
876
|
+
* Lower temperature limit in in °F. Seam alerts you if the reported temperature is lower than this value. You can specify either `lower_limit` but not both.
|
|
877
|
+
*/
|
|
654
878
|
lower_limit_fahrenheit?: number | undefined
|
|
879
|
+
/**
|
|
880
|
+
* Upper temperature limit in in °C. Seam alerts you if the reported temperature is higher than this value. You can specify either `upper_limit` but not both.
|
|
881
|
+
*/
|
|
655
882
|
upper_limit_celsius?: number | undefined
|
|
883
|
+
/**
|
|
884
|
+
* Upper temperature limit in in °C. Seam alerts you if the reported temperature is higher than this value. You can specify either `upper_limit` but not both.
|
|
885
|
+
*/
|
|
656
886
|
upper_limit_fahrenheit?: number | undefined
|
|
657
887
|
}
|
|
658
888
|
|
|
@@ -669,26 +899,72 @@ export type ThermostatsSetTemperatureThresholdRequest = SeamHttpRequest<
|
|
|
669
899
|
export interface ThermostatsSetTemperatureThresholdOptions {}
|
|
670
900
|
|
|
671
901
|
export type ThermostatsUpdateClimatePresetParameters = {
|
|
902
|
+
/**
|
|
903
|
+
* Unique key to identify the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets).
|
|
904
|
+
*/
|
|
672
905
|
climate_preset_key: string
|
|
673
906
|
|
|
907
|
+
/**
|
|
908
|
+
* The climate preset mode for the thermostat, based on the available climate preset modes reported by the device.
|
|
909
|
+
*/
|
|
674
910
|
climate_preset_mode?:
|
|
675
911
|
'home' | 'away' | 'wake' | 'sleep' | 'occupied' | 'unoccupied' | undefined
|
|
912
|
+
/**
|
|
913
|
+
* Temperature to which the thermostat should cool (in °C). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
|
|
914
|
+
*/
|
|
676
915
|
cooling_set_point_celsius?: number | undefined
|
|
916
|
+
/**
|
|
917
|
+
* Temperature to which the thermostat should cool (in °F). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
|
|
918
|
+
*/
|
|
677
919
|
cooling_set_point_fahrenheit?: number | undefined
|
|
920
|
+
/**
|
|
921
|
+
* ID of the thermostat device for which you want to update a climate preset.
|
|
922
|
+
*/
|
|
678
923
|
device_id: string
|
|
679
924
|
|
|
925
|
+
/**
|
|
926
|
+
* Metadata specific to the Ecobee climate, if applicable.
|
|
927
|
+
*/
|
|
680
928
|
ecobee_metadata?:
|
|
681
929
|
| {
|
|
930
|
+
/**
|
|
931
|
+
* Reference to the Ecobee climate, if applicable.
|
|
932
|
+
*/
|
|
682
933
|
climate_ref?: string | undefined
|
|
934
|
+
/**
|
|
935
|
+
* Indicates if the climate preset is optimized by Ecobee.
|
|
936
|
+
*/
|
|
683
937
|
is_optimized?: boolean | undefined
|
|
938
|
+
/**
|
|
939
|
+
* Indicates whether the climate preset is owned by the user or the system.
|
|
940
|
+
*/
|
|
684
941
|
owner?: 'user' | 'system' | undefined
|
|
685
942
|
}
|
|
686
943
|
| undefined
|
|
944
|
+
/**
|
|
945
|
+
* Desired [fan mode setting](https://docs.seam.co/capability-guides/thermostats/configure-current-climate-settings#fan-mode-settings), such as `on`, `auto`, or `circulate`.
|
|
946
|
+
*/
|
|
687
947
|
fan_mode_setting?: 'auto' | 'on' | 'circulate' | undefined
|
|
948
|
+
/**
|
|
949
|
+
* Temperature to which the thermostat should heat (in °C). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
|
|
950
|
+
*/
|
|
688
951
|
heating_set_point_celsius?: number | undefined
|
|
952
|
+
/**
|
|
953
|
+
* Temperature to which the thermostat should heat (in °F). See also [Set Points](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points).
|
|
954
|
+
*/
|
|
689
955
|
heating_set_point_fahrenheit?: number | undefined
|
|
956
|
+
/**
|
|
957
|
+
* Desired [HVAC mode](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) setting, such as `heat`, `cool`, `heat_cool`, or `off`.
|
|
958
|
+
*/
|
|
690
959
|
hvac_mode_setting?: 'off' | 'heat' | 'cool' | 'heat_cool' | 'eco' | undefined
|
|
960
|
+
/**
|
|
961
|
+
* Indicates whether a person at the thermostat can change the thermostat's settings. See [Specifying Manual Override Permissions](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).
|
|
962
|
+
* @deprecated Use 'thermostat_schedule.is_override_allowed'
|
|
963
|
+
*/
|
|
691
964
|
manual_override_allowed?: boolean | undefined
|
|
965
|
+
/**
|
|
966
|
+
* User-friendly name to identify the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets).
|
|
967
|
+
*/
|
|
692
968
|
name?: string | undefined
|
|
693
969
|
}
|
|
694
970
|
|
|
@@ -705,14 +981,38 @@ export type ThermostatsUpdateClimatePresetRequest = SeamHttpRequest<
|
|
|
705
981
|
export interface ThermostatsUpdateClimatePresetOptions {}
|
|
706
982
|
|
|
707
983
|
export type ThermostatsUpdateWeeklyProgramParameters = {
|
|
984
|
+
/**
|
|
985
|
+
* ID of the thermostat device for which you want to update the weekly program.
|
|
986
|
+
*/
|
|
708
987
|
device_id: string
|
|
709
988
|
|
|
989
|
+
/**
|
|
990
|
+
* ID of the thermostat daily program to run on Fridays.
|
|
991
|
+
*/
|
|
710
992
|
friday_program_id?: string | undefined
|
|
993
|
+
/**
|
|
994
|
+
* ID of the thermostat daily program to run on Mondays.
|
|
995
|
+
*/
|
|
711
996
|
monday_program_id?: string | undefined
|
|
997
|
+
/**
|
|
998
|
+
* ID of the thermostat daily program to run on Saturdays.
|
|
999
|
+
*/
|
|
712
1000
|
saturday_program_id?: string | undefined
|
|
1001
|
+
/**
|
|
1002
|
+
* ID of the thermostat daily program to run on Sundays.
|
|
1003
|
+
*/
|
|
713
1004
|
sunday_program_id?: string | undefined
|
|
1005
|
+
/**
|
|
1006
|
+
* ID of the thermostat daily program to run on Thursdays.
|
|
1007
|
+
*/
|
|
714
1008
|
thursday_program_id?: string | undefined
|
|
1009
|
+
/**
|
|
1010
|
+
* ID of the thermostat daily program to run on Tuesdays.
|
|
1011
|
+
*/
|
|
715
1012
|
tuesday_program_id?: string | undefined
|
|
1013
|
+
/**
|
|
1014
|
+
* ID of the thermostat daily program to run on Wednesdays.
|
|
1015
|
+
*/
|
|
716
1016
|
wednesday_program_id?: string | undefined
|
|
717
1017
|
}
|
|
718
1018
|
|
|
@@ -164,6 +164,9 @@ export class SeamHttpUserIdentitiesUnmanaged {
|
|
|
164
164
|
await clientSessions.get()
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
+
/**
|
|
168
|
+
* Returns a specified unmanaged [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) (where is_managed = false).
|
|
169
|
+
*/
|
|
167
170
|
get(
|
|
168
171
|
parameters: UserIdentitiesUnmanagedGetParameters,
|
|
169
172
|
options: UserIdentitiesUnmanagedGetOptions = {},
|
|
@@ -177,6 +180,9 @@ export class SeamHttpUserIdentitiesUnmanaged {
|
|
|
177
180
|
})
|
|
178
181
|
}
|
|
179
182
|
|
|
183
|
+
/**
|
|
184
|
+
* Returns a list of all unmanaged [user identities](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) (where is_managed = false).
|
|
185
|
+
*/
|
|
180
186
|
list(
|
|
181
187
|
parameters?: UserIdentitiesUnmanagedListParameters,
|
|
182
188
|
options: UserIdentitiesUnmanagedListOptions = {},
|
|
@@ -190,6 +196,11 @@ export class SeamHttpUserIdentitiesUnmanaged {
|
|
|
190
196
|
})
|
|
191
197
|
}
|
|
192
198
|
|
|
199
|
+
/**
|
|
200
|
+
* Updates an unmanaged [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) to make it managed.
|
|
201
|
+
*
|
|
202
|
+
* This endpoint can only be used to convert unmanaged user identities to managed ones by setting `is_managed` to `true`. It cannot be used to convert managed user identities back to unmanaged.
|
|
203
|
+
*/
|
|
193
204
|
update(
|
|
194
205
|
parameters: UserIdentitiesUnmanagedUpdateParameters,
|
|
195
206
|
options: UserIdentitiesUnmanagedUpdateOptions = {},
|
|
@@ -205,6 +216,9 @@ export class SeamHttpUserIdentitiesUnmanaged {
|
|
|
205
216
|
}
|
|
206
217
|
|
|
207
218
|
export type UserIdentitiesUnmanagedGetParameters = {
|
|
219
|
+
/**
|
|
220
|
+
* ID of the unmanaged user identity that you want to get.
|
|
221
|
+
*/
|
|
208
222
|
user_identity_id: string
|
|
209
223
|
}
|
|
210
224
|
|
|
@@ -223,9 +237,21 @@ export type UserIdentitiesUnmanagedGetRequest = SeamHttpRequest<
|
|
|
223
237
|
export interface UserIdentitiesUnmanagedGetOptions {}
|
|
224
238
|
|
|
225
239
|
export type UserIdentitiesUnmanagedListParameters = {
|
|
240
|
+
/**
|
|
241
|
+
* Timestamp by which to limit returned unmanaged user identities. Returns user identities created before this timestamp.
|
|
242
|
+
*/
|
|
226
243
|
created_before?: string | undefined
|
|
244
|
+
/**
|
|
245
|
+
* Maximum number of records to return per page.
|
|
246
|
+
*/
|
|
227
247
|
limit?: number | undefined
|
|
248
|
+
/**
|
|
249
|
+
* Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
|
|
250
|
+
*/
|
|
228
251
|
page_cursor?: string | undefined
|
|
252
|
+
/**
|
|
253
|
+
* String for which to search. Filters returned unmanaged user identities to include all records that satisfy a partial match using `full_name`, `phone_number`, `email_address`, `user_identity_id` or `acs_system_id`.
|
|
254
|
+
*/
|
|
229
255
|
search?: string | undefined
|
|
230
256
|
}
|
|
231
257
|
|
|
@@ -244,10 +270,19 @@ export type UserIdentitiesUnmanagedListRequest = SeamHttpRequest<
|
|
|
244
270
|
export interface UserIdentitiesUnmanagedListOptions {}
|
|
245
271
|
|
|
246
272
|
export type UserIdentitiesUnmanagedUpdateParameters = {
|
|
273
|
+
/**
|
|
274
|
+
* Must be set to true to convert the unmanaged user identity to managed.
|
|
275
|
+
*/
|
|
247
276
|
is_managed: boolean
|
|
248
277
|
|
|
278
|
+
/**
|
|
279
|
+
* ID of the unmanaged user identity that you want to update.
|
|
280
|
+
*/
|
|
249
281
|
user_identity_id: string
|
|
250
282
|
|
|
283
|
+
/**
|
|
284
|
+
* Unique key for the user identity. If not provided, the existing key will be preserved.
|
|
285
|
+
*/
|
|
251
286
|
user_identity_key?: string | undefined
|
|
252
287
|
}
|
|
253
288
|
|