@seamapi/http 1.37.0 → 1.38.1
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 +840 -639
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2613 -859
- package/lib/seam/connect/routes/access-codes/access-codes.d.ts +110 -30
- package/lib/seam/connect/routes/access-codes/access-codes.js +30 -20
- package/lib/seam/connect/routes/access-codes/access-codes.js.map +1 -1
- package/lib/seam/connect/routes/access-codes/simulate/simulate.d.ts +11 -3
- package/lib/seam/connect/routes/access-codes/simulate/simulate.js +3 -2
- package/lib/seam/connect/routes/access-codes/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.d.ts +55 -15
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js +15 -10
- package/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/access-grants/access-grants.d.ts +55 -15
- package/lib/seam/connect/routes/access-grants/access-grants.js +15 -10
- package/lib/seam/connect/routes/access-grants/access-grants.js.map +1 -1
- package/lib/seam/connect/routes/access-methods/access-methods.d.ts +33 -9
- package/lib/seam/connect/routes/access-methods/access-methods.js +9 -6
- package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
- package/lib/seam/connect/routes/acs/access-groups/access-groups.d.ts +66 -18
- package/lib/seam/connect/routes/acs/access-groups/access-groups.js +18 -12
- package/lib/seam/connect/routes/acs/access-groups/access-groups.js.map +1 -1
- package/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.d.ts +22 -6
- package/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.js +6 -4
- package/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/acs/credential-pools/credential-pools.d.ts +11 -3
- package/lib/seam/connect/routes/acs/credential-pools/credential-pools.js +3 -2
- package/lib/seam/connect/routes/acs/credential-pools/credential-pools.js.map +1 -1
- package/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.d.ts +11 -3
- package/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.js +3 -2
- package/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.js.map +1 -1
- package/lib/seam/connect/routes/acs/credentials/credentials.d.ts +99 -27
- package/lib/seam/connect/routes/acs/credentials/credentials.js +27 -18
- package/lib/seam/connect/routes/acs/credentials/credentials.js.map +1 -1
- package/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.d.ts +22 -6
- package/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.js +6 -4
- package/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/acs/encoders/encoders.d.ts +52 -12
- package/lib/seam/connect/routes/acs/encoders/encoders.js +12 -10
- package/lib/seam/connect/routes/acs/encoders/encoders.js.map +1 -1
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.d.ts +44 -12
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js +12 -8
- package/lib/seam/connect/routes/acs/encoders/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/acs/entrances/entrances.d.ts +44 -12
- package/lib/seam/connect/routes/acs/entrances/entrances.js +12 -8
- package/lib/seam/connect/routes/acs/entrances/entrances.js.map +1 -1
- package/lib/seam/connect/routes/acs/systems/systems.d.ts +33 -9
- package/lib/seam/connect/routes/acs/systems/systems.js +9 -6
- package/lib/seam/connect/routes/acs/systems/systems.js.map +1 -1
- package/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.d.ts +22 -6
- package/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.js +6 -4
- package/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/acs/users/users.d.ts +121 -33
- package/lib/seam/connect/routes/acs/users/users.js +33 -22
- package/lib/seam/connect/routes/acs/users/users.js.map +1 -1
- package/lib/seam/connect/routes/action-attempts/action-attempts.d.ts +21 -5
- package/lib/seam/connect/routes/action-attempts/action-attempts.js +5 -4
- package/lib/seam/connect/routes/action-attempts/action-attempts.js.map +1 -1
- package/lib/seam/connect/routes/bridges/bridges.d.ts +22 -6
- package/lib/seam/connect/routes/bridges/bridges.js +6 -4
- package/lib/seam/connect/routes/bridges/bridges.js.map +1 -1
- package/lib/seam/connect/routes/client-sessions/client-sessions.d.ts +77 -21
- package/lib/seam/connect/routes/client-sessions/client-sessions.js +21 -14
- package/lib/seam/connect/routes/client-sessions/client-sessions.js.map +1 -1
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.d.ts +44 -12
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.js +12 -8
- package/lib/seam/connect/routes/connect-webviews/connect-webviews.js.map +1 -1
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.d.ts +55 -15
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.js +15 -10
- package/lib/seam/connect/routes/connected-accounts/connected-accounts.js.map +1 -1
- package/lib/seam/connect/routes/devices/devices.d.ts +55 -15
- package/lib/seam/connect/routes/devices/devices.js +15 -10
- package/lib/seam/connect/routes/devices/devices.js.map +1 -1
- package/lib/seam/connect/routes/devices/simulate/simulate.d.ts +33 -9
- package/lib/seam/connect/routes/devices/simulate/simulate.js +9 -6
- package/lib/seam/connect/routes/devices/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.d.ts +33 -9
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js +9 -6
- package/lib/seam/connect/routes/devices/unmanaged/unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/events/events.d.ts +22 -6
- package/lib/seam/connect/routes/events/events.js +6 -4
- package/lib/seam/connect/routes/events/events.js.map +1 -1
- package/lib/seam/connect/routes/locks/locks.d.ts +42 -10
- package/lib/seam/connect/routes/locks/locks.js +10 -8
- package/lib/seam/connect/routes/locks/locks.js.map +1 -1
- package/lib/seam/connect/routes/locks/simulate/simulate.d.ts +20 -4
- package/lib/seam/connect/routes/locks/simulate/simulate.js +4 -4
- package/lib/seam/connect/routes/locks/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/networks/networks.d.ts +22 -6
- package/lib/seam/connect/routes/networks/networks.js +6 -4
- package/lib/seam/connect/routes/networks/networks.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.d.ts +11 -3
- package/lib/seam/connect/routes/noise-sensors/noise-sensors.js +3 -2
- 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 +55 -15
- package/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.js +15 -10
- 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 +11 -3
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js +3 -2
- package/lib/seam/connect/routes/noise-sensors/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/phones/phones.d.ts +33 -9
- package/lib/seam/connect/routes/phones/phones.js +9 -6
- package/lib/seam/connect/routes/phones/phones.js.map +1 -1
- package/lib/seam/connect/routes/phones/simulate/simulate.d.ts +11 -3
- package/lib/seam/connect/routes/phones/simulate/simulate.js +3 -2
- package/lib/seam/connect/routes/phones/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/seam/bridge/v1/bridge-client-sessions/bridge-client-sessions.d.ts +55 -15
- package/lib/seam/connect/routes/seam/bridge/v1/bridge-client-sessions/bridge-client-sessions.js +15 -10
- package/lib/seam/connect/routes/seam/bridge/v1/bridge-client-sessions/bridge-client-sessions.js.map +1 -1
- package/lib/seam/connect/routes/seam/bridge/v1/bridge-connected-systems/bridge-connected-systems.d.ts +11 -3
- package/lib/seam/connect/routes/seam/bridge/v1/bridge-connected-systems/bridge-connected-systems.js +3 -2
- package/lib/seam/connect/routes/seam/bridge/v1/bridge-connected-systems/bridge-connected-systems.js.map +1 -1
- package/lib/seam/connect/routes/seam/instant-key/v1/client-sessions/client-sessions.d.ts +11 -3
- package/lib/seam/connect/routes/seam/instant-key/v1/client-sessions/client-sessions.js +3 -2
- package/lib/seam/connect/routes/seam/instant-key/v1/client-sessions/client-sessions.js.map +1 -1
- package/lib/seam/connect/routes/seam/mobile-sdk/v1/acs/credentials/credentials.d.ts +11 -3
- package/lib/seam/connect/routes/seam/mobile-sdk/v1/acs/credentials/credentials.js +3 -2
- package/lib/seam/connect/routes/seam/mobile-sdk/v1/acs/credentials/credentials.js.map +1 -1
- package/lib/seam/connect/routes/seam/mobile-sdk/v1/phone-sessions/phone-sessions.d.ts +11 -3
- package/lib/seam/connect/routes/seam/mobile-sdk/v1/phone-sessions/phone-sessions.js +3 -2
- package/lib/seam/connect/routes/seam/mobile-sdk/v1/phone-sessions/phone-sessions.js.map +1 -1
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.d.ts +11 -3
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.js +3 -2
- package/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.js.map +1 -1
- package/lib/seam/connect/routes/seam/partner/v1/resources/resources.d.ts +11 -3
- package/lib/seam/connect/routes/seam/partner/v1/resources/resources.js +3 -2
- package/lib/seam/connect/routes/seam/partner/v1/resources/resources.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +276 -274
- package/lib/seam/connect/routes/seam-http-endpoints.js +55 -55
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
- package/lib/seam/connect/routes/spaces/spaces.d.ts +99 -27
- package/lib/seam/connect/routes/spaces/spaces.js +27 -18
- package/lib/seam/connect/routes/spaces/spaces.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.d.ts +32 -8
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js +8 -6
- package/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/schedules/schedules.d.ts +55 -15
- package/lib/seam/connect/routes/thermostats/schedules/schedules.js +15 -10
- package/lib/seam/connect/routes/thermostats/schedules/schedules.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/simulate/simulate.d.ts +22 -6
- package/lib/seam/connect/routes/thermostats/simulate/simulate.js +6 -4
- package/lib/seam/connect/routes/thermostats/simulate/simulate.js.map +1 -1
- package/lib/seam/connect/routes/thermostats/thermostats.d.ts +157 -37
- package/lib/seam/connect/routes/thermostats/thermostats.js +37 -30
- package/lib/seam/connect/routes/thermostats/thermostats.js.map +1 -1
- package/lib/seam/connect/routes/unstable-access-grants/unstable-access-grants.d.ts +44 -12
- package/lib/seam/connect/routes/unstable-access-grants/unstable-access-grants.js +12 -8
- package/lib/seam/connect/routes/unstable-access-grants/unstable-access-grants.js.map +1 -1
- package/lib/seam/connect/routes/unstable-access-methods/unstable-access-methods.d.ts +33 -9
- package/lib/seam/connect/routes/unstable-access-methods/unstable-access-methods.js +9 -6
- package/lib/seam/connect/routes/unstable-access-methods/unstable-access-methods.js.map +1 -1
- package/lib/seam/connect/routes/unstable-locations/unstable-locations.d.ts +99 -27
- package/lib/seam/connect/routes/unstable-locations/unstable-locations.js +27 -18
- package/lib/seam/connect/routes/unstable-locations/unstable-locations.js.map +1 -1
- package/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.d.ts +44 -12
- package/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.js +12 -8
- package/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.js.map +1 -1
- package/lib/seam/connect/routes/unstable-partner/resources/resources.d.ts +11 -3
- package/lib/seam/connect/routes/unstable-partner/resources/resources.js +3 -2
- package/lib/seam/connect/routes/unstable-partner/resources/resources.js.map +1 -1
- package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.d.ts +44 -12
- package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.js +12 -8
- package/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.js.map +1 -1
- package/lib/seam/connect/routes/user-identities/user-identities.d.ts +143 -39
- package/lib/seam/connect/routes/user-identities/user-identities.js +39 -26
- package/lib/seam/connect/routes/user-identities/user-identities.js.map +1 -1
- package/lib/seam/connect/routes/webhooks/webhooks.d.ts +55 -15
- package/lib/seam/connect/routes/webhooks/webhooks.js +15 -10
- package/lib/seam/connect/routes/webhooks/webhooks.js.map +1 -1
- package/lib/seam/connect/routes/workspaces/workspaces.d.ts +54 -14
- package/lib/seam/connect/routes/workspaces/workspaces.js +14 -10
- 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/routes/access-codes/access-codes.ts +198 -48
- package/src/lib/seam/connect/routes/access-codes/simulate/simulate.ts +25 -8
- package/src/lib/seam/connect/routes/access-codes/unmanaged/unmanaged.ts +97 -25
- package/src/lib/seam/connect/routes/access-grants/access-grants.ts +99 -23
- package/src/lib/seam/connect/routes/access-methods/access-methods.ts +59 -14
- package/src/lib/seam/connect/routes/acs/access-groups/access-groups.ts +120 -32
- package/src/lib/seam/connect/routes/acs/access-groups/unmanaged/unmanaged.ts +42 -13
- package/src/lib/seam/connect/routes/acs/credential-pools/credential-pools.ts +20 -5
- package/src/lib/seam/connect/routes/acs/credential-provisioning-automations/credential-provisioning-automations.ts +24 -8
- package/src/lib/seam/connect/routes/acs/credentials/credentials.ts +173 -49
- package/src/lib/seam/connect/routes/acs/credentials/unmanaged/unmanaged.ts +42 -10
- package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +93 -22
- package/src/lib/seam/connect/routes/acs/encoders/simulate/simulate.ts +88 -20
- package/src/lib/seam/connect/routes/acs/entrances/entrances.ts +78 -23
- package/src/lib/seam/connect/routes/acs/systems/systems.ts +65 -18
- package/src/lib/seam/connect/routes/acs/users/unmanaged/unmanaged.ts +40 -10
- package/src/lib/seam/connect/routes/acs/users/users.ts +213 -51
- package/src/lib/seam/connect/routes/action-attempts/action-attempts.ts +39 -9
- package/src/lib/seam/connect/routes/bridges/bridges.ts +34 -10
- package/src/lib/seam/connect/routes/client-sessions/client-sessions.ts +134 -34
- package/src/lib/seam/connect/routes/connect-webviews/connect-webviews.ts +78 -20
- package/src/lib/seam/connect/routes/connected-accounts/connected-accounts.ts +93 -23
- package/src/lib/seam/connect/routes/devices/devices.ts +91 -23
- package/src/lib/seam/connect/routes/devices/simulate/simulate.ts +52 -14
- package/src/lib/seam/connect/routes/devices/unmanaged/unmanaged.ts +58 -14
- package/src/lib/seam/connect/routes/events/events.ts +35 -9
- package/src/lib/seam/connect/routes/locks/locks.ts +69 -17
- package/src/lib/seam/connect/routes/locks/simulate/simulate.ts +36 -11
- package/src/lib/seam/connect/routes/networks/networks.ts +37 -10
- package/src/lib/seam/connect/routes/noise-sensors/noise-sensors.ts +20 -5
- package/src/lib/seam/connect/routes/noise-sensors/noise-thresholds/noise-thresholds.ts +105 -34
- package/src/lib/seam/connect/routes/noise-sensors/simulate/simulate.ts +24 -5
- package/src/lib/seam/connect/routes/phones/phones.ts +52 -14
- package/src/lib/seam/connect/routes/phones/simulate/simulate.ts +21 -5
- package/src/lib/seam/connect/routes/seam/bridge/v1/bridge-client-sessions/bridge-client-sessions.ts +113 -37
- package/src/lib/seam/connect/routes/seam/bridge/v1/bridge-connected-systems/bridge-connected-systems.ts +24 -8
- package/src/lib/seam/connect/routes/seam/instant-key/v1/client-sessions/client-sessions.ts +25 -8
- package/src/lib/seam/connect/routes/seam/mobile-sdk/v1/acs/credentials/credentials.ts +21 -8
- package/src/lib/seam/connect/routes/seam/mobile-sdk/v1/phone-sessions/phone-sessions.ts +24 -8
- package/src/lib/seam/connect/routes/seam/partner/v1/building-blocks/spaces/spaces.ts +24 -8
- package/src/lib/seam/connect/routes/seam/partner/v1/resources/resources.ts +21 -5
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +1921 -274
- package/src/lib/seam/connect/routes/spaces/spaces.ts +156 -42
- package/src/lib/seam/connect/routes/thermostats/daily-programs/daily-programs.ts +60 -17
- package/src/lib/seam/connect/routes/thermostats/schedules/schedules.ts +97 -28
- package/src/lib/seam/connect/routes/thermostats/simulate/simulate.ts +42 -10
- package/src/lib/seam/connect/routes/thermostats/thermostats.ts +284 -70
- package/src/lib/seam/connect/routes/unstable-access-grants/unstable-access-grants.ts +79 -20
- package/src/lib/seam/connect/routes/unstable-access-methods/unstable-access-methods.ts +62 -15
- package/src/lib/seam/connect/routes/unstable-locations/unstable-locations.ts +181 -45
- package/src/lib/seam/connect/routes/unstable-partner/building-blocks/building-blocks.ts +99 -32
- package/src/lib/seam/connect/routes/unstable-partner/resources/resources.ts +21 -5
- package/src/lib/seam/connect/routes/user-identities/enrollment-automations/enrollment-automations.ts +96 -29
- package/src/lib/seam/connect/routes/user-identities/user-identities.ts +261 -64
- package/src/lib/seam/connect/routes/webhooks/webhooks.ts +93 -23
- package/src/lib/seam/connect/routes/workspaces/workspaces.ts +95 -23
- package/src/lib/version.ts +1 -1
|
@@ -183,59 +183,61 @@ export class SeamHttpThermostats {
|
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
activateClimatePreset(
|
|
186
|
-
|
|
186
|
+
parameters?: ThermostatsActivateClimatePresetParameters,
|
|
187
187
|
options: ThermostatsActivateClimatePresetOptions = {},
|
|
188
|
-
):
|
|
189
|
-
ThermostatsActivateClimatePresetResponse,
|
|
190
|
-
'action_attempt'
|
|
191
|
-
> {
|
|
188
|
+
): ThermostatsActivateClimatePresetRequest {
|
|
192
189
|
return new SeamHttpRequest(this, {
|
|
193
190
|
pathname: '/thermostats/activate_climate_preset',
|
|
194
191
|
method: 'POST',
|
|
195
|
-
body,
|
|
192
|
+
body: parameters,
|
|
196
193
|
responseKey: 'action_attempt',
|
|
197
194
|
options,
|
|
198
195
|
})
|
|
199
196
|
}
|
|
200
197
|
|
|
201
198
|
cool(
|
|
202
|
-
|
|
199
|
+
parameters?: ThermostatsCoolParameters,
|
|
203
200
|
options: ThermostatsCoolOptions = {},
|
|
204
|
-
):
|
|
201
|
+
): ThermostatsCoolRequest {
|
|
205
202
|
return new SeamHttpRequest(this, {
|
|
206
203
|
pathname: '/thermostats/cool',
|
|
207
204
|
method: 'POST',
|
|
208
|
-
body,
|
|
205
|
+
body: parameters,
|
|
209
206
|
responseKey: 'action_attempt',
|
|
210
207
|
options,
|
|
211
208
|
})
|
|
212
209
|
}
|
|
213
210
|
|
|
214
211
|
createClimatePreset(
|
|
215
|
-
|
|
216
|
-
|
|
212
|
+
parameters?: ThermostatsCreateClimatePresetParameters,
|
|
213
|
+
options: ThermostatsCreateClimatePresetOptions = {},
|
|
214
|
+
): ThermostatsCreateClimatePresetRequest {
|
|
217
215
|
return new SeamHttpRequest(this, {
|
|
218
216
|
pathname: '/thermostats/create_climate_preset',
|
|
219
217
|
method: 'POST',
|
|
220
|
-
body,
|
|
218
|
+
body: parameters,
|
|
221
219
|
responseKey: undefined,
|
|
220
|
+
options,
|
|
222
221
|
})
|
|
223
222
|
}
|
|
224
223
|
|
|
225
224
|
deleteClimatePreset(
|
|
226
|
-
|
|
227
|
-
|
|
225
|
+
parameters?: ThermostatsDeleteClimatePresetParameters,
|
|
226
|
+
options: ThermostatsDeleteClimatePresetOptions = {},
|
|
227
|
+
): ThermostatsDeleteClimatePresetRequest {
|
|
228
228
|
return new SeamHttpRequest(this, {
|
|
229
229
|
pathname: '/thermostats/delete_climate_preset',
|
|
230
230
|
method: 'POST',
|
|
231
|
-
body:
|
|
231
|
+
body: parameters,
|
|
232
232
|
responseKey: undefined,
|
|
233
|
+
options,
|
|
233
234
|
})
|
|
234
235
|
}
|
|
235
236
|
|
|
236
237
|
get(
|
|
237
|
-
|
|
238
|
-
|
|
238
|
+
parameters?: ThermostatsGetParameters,
|
|
239
|
+
options: ThermostatsGetOptions = {},
|
|
240
|
+
): ThermostatsGetRequest {
|
|
239
241
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
240
242
|
throw new Error(
|
|
241
243
|
'Cannot use undocumented API without isUndocumentedApiEnabled',
|
|
@@ -244,282 +246,494 @@ export class SeamHttpThermostats {
|
|
|
244
246
|
return new SeamHttpRequest(this, {
|
|
245
247
|
pathname: '/thermostats/get',
|
|
246
248
|
method: 'POST',
|
|
247
|
-
body:
|
|
249
|
+
body: parameters,
|
|
248
250
|
responseKey: 'thermostat',
|
|
251
|
+
options,
|
|
249
252
|
})
|
|
250
253
|
}
|
|
251
254
|
|
|
252
255
|
heat(
|
|
253
|
-
|
|
256
|
+
parameters?: ThermostatsHeatParameters,
|
|
254
257
|
options: ThermostatsHeatOptions = {},
|
|
255
|
-
):
|
|
258
|
+
): ThermostatsHeatRequest {
|
|
256
259
|
return new SeamHttpRequest(this, {
|
|
257
260
|
pathname: '/thermostats/heat',
|
|
258
261
|
method: 'POST',
|
|
259
|
-
body,
|
|
262
|
+
body: parameters,
|
|
260
263
|
responseKey: 'action_attempt',
|
|
261
264
|
options,
|
|
262
265
|
})
|
|
263
266
|
}
|
|
264
267
|
|
|
265
268
|
heatCool(
|
|
266
|
-
|
|
269
|
+
parameters?: ThermostatsHeatCoolParameters,
|
|
267
270
|
options: ThermostatsHeatCoolOptions = {},
|
|
268
|
-
):
|
|
271
|
+
): ThermostatsHeatCoolRequest {
|
|
269
272
|
return new SeamHttpRequest(this, {
|
|
270
273
|
pathname: '/thermostats/heat_cool',
|
|
271
274
|
method: 'POST',
|
|
272
|
-
body,
|
|
275
|
+
body: parameters,
|
|
273
276
|
responseKey: 'action_attempt',
|
|
274
277
|
options,
|
|
275
278
|
})
|
|
276
279
|
}
|
|
277
280
|
|
|
278
281
|
list(
|
|
279
|
-
|
|
280
|
-
|
|
282
|
+
parameters?: ThermostatsListParameters,
|
|
283
|
+
options: ThermostatsListOptions = {},
|
|
284
|
+
): ThermostatsListRequest {
|
|
281
285
|
return new SeamHttpRequest(this, {
|
|
282
286
|
pathname: '/thermostats/list',
|
|
283
287
|
method: 'POST',
|
|
284
|
-
body:
|
|
288
|
+
body: parameters,
|
|
285
289
|
responseKey: 'devices',
|
|
290
|
+
options,
|
|
286
291
|
})
|
|
287
292
|
}
|
|
288
293
|
|
|
289
294
|
off(
|
|
290
|
-
|
|
295
|
+
parameters?: ThermostatsOffParameters,
|
|
291
296
|
options: ThermostatsOffOptions = {},
|
|
292
|
-
):
|
|
297
|
+
): ThermostatsOffRequest {
|
|
293
298
|
return new SeamHttpRequest(this, {
|
|
294
299
|
pathname: '/thermostats/off',
|
|
295
300
|
method: 'POST',
|
|
296
|
-
body,
|
|
301
|
+
body: parameters,
|
|
297
302
|
responseKey: 'action_attempt',
|
|
298
303
|
options,
|
|
299
304
|
})
|
|
300
305
|
}
|
|
301
306
|
|
|
302
307
|
setFallbackClimatePreset(
|
|
303
|
-
|
|
304
|
-
|
|
308
|
+
parameters?: ThermostatsSetFallbackClimatePresetParameters,
|
|
309
|
+
options: ThermostatsSetFallbackClimatePresetOptions = {},
|
|
310
|
+
): ThermostatsSetFallbackClimatePresetRequest {
|
|
305
311
|
return new SeamHttpRequest(this, {
|
|
306
312
|
pathname: '/thermostats/set_fallback_climate_preset',
|
|
307
313
|
method: 'POST',
|
|
308
|
-
body,
|
|
314
|
+
body: parameters,
|
|
309
315
|
responseKey: undefined,
|
|
316
|
+
options,
|
|
310
317
|
})
|
|
311
318
|
}
|
|
312
319
|
|
|
313
320
|
setFanMode(
|
|
314
|
-
|
|
321
|
+
parameters?: ThermostatsSetFanModeParameters,
|
|
315
322
|
options: ThermostatsSetFanModeOptions = {},
|
|
316
|
-
):
|
|
323
|
+
): ThermostatsSetFanModeRequest {
|
|
317
324
|
return new SeamHttpRequest(this, {
|
|
318
325
|
pathname: '/thermostats/set_fan_mode',
|
|
319
326
|
method: 'POST',
|
|
320
|
-
body,
|
|
327
|
+
body: parameters,
|
|
321
328
|
responseKey: 'action_attempt',
|
|
322
329
|
options,
|
|
323
330
|
})
|
|
324
331
|
}
|
|
325
332
|
|
|
326
333
|
setHvacMode(
|
|
327
|
-
|
|
334
|
+
parameters?: ThermostatsSetHvacModeParameters,
|
|
328
335
|
options: ThermostatsSetHvacModeOptions = {},
|
|
329
|
-
):
|
|
336
|
+
): ThermostatsSetHvacModeRequest {
|
|
330
337
|
return new SeamHttpRequest(this, {
|
|
331
338
|
pathname: '/thermostats/set_hvac_mode',
|
|
332
339
|
method: 'POST',
|
|
333
|
-
body,
|
|
340
|
+
body: parameters,
|
|
334
341
|
responseKey: 'action_attempt',
|
|
335
342
|
options,
|
|
336
343
|
})
|
|
337
344
|
}
|
|
338
345
|
|
|
339
346
|
setTemperatureThreshold(
|
|
340
|
-
|
|
341
|
-
|
|
347
|
+
parameters?: ThermostatsSetTemperatureThresholdParameters,
|
|
348
|
+
options: ThermostatsSetTemperatureThresholdOptions = {},
|
|
349
|
+
): ThermostatsSetTemperatureThresholdRequest {
|
|
342
350
|
return new SeamHttpRequest(this, {
|
|
343
351
|
pathname: '/thermostats/set_temperature_threshold',
|
|
344
352
|
method: 'PATCH',
|
|
345
|
-
body,
|
|
353
|
+
body: parameters,
|
|
346
354
|
responseKey: undefined,
|
|
355
|
+
options,
|
|
347
356
|
})
|
|
348
357
|
}
|
|
349
358
|
|
|
350
359
|
updateClimatePreset(
|
|
351
|
-
|
|
352
|
-
|
|
360
|
+
parameters?: ThermostatsUpdateClimatePresetParameters,
|
|
361
|
+
options: ThermostatsUpdateClimatePresetOptions = {},
|
|
362
|
+
): ThermostatsUpdateClimatePresetRequest {
|
|
353
363
|
return new SeamHttpRequest(this, {
|
|
354
364
|
pathname: '/thermostats/update_climate_preset',
|
|
355
365
|
method: 'PATCH',
|
|
356
|
-
body,
|
|
366
|
+
body: parameters,
|
|
357
367
|
responseKey: undefined,
|
|
368
|
+
options,
|
|
358
369
|
})
|
|
359
370
|
}
|
|
360
371
|
|
|
361
372
|
updateWeeklyProgram(
|
|
362
|
-
|
|
373
|
+
parameters?: ThermostatsUpdateWeeklyProgramParameters,
|
|
363
374
|
options: ThermostatsUpdateWeeklyProgramOptions = {},
|
|
364
|
-
):
|
|
375
|
+
): ThermostatsUpdateWeeklyProgramRequest {
|
|
365
376
|
return new SeamHttpRequest(this, {
|
|
366
377
|
pathname: '/thermostats/update_weekly_program',
|
|
367
378
|
method: 'POST',
|
|
368
|
-
body,
|
|
379
|
+
body: parameters,
|
|
369
380
|
responseKey: 'action_attempt',
|
|
370
381
|
options,
|
|
371
382
|
})
|
|
372
383
|
}
|
|
373
384
|
}
|
|
374
385
|
|
|
375
|
-
export type
|
|
386
|
+
export type ThermostatsActivateClimatePresetParameters =
|
|
376
387
|
RouteRequestBody<'/thermostats/activate_climate_preset'>
|
|
377
388
|
|
|
389
|
+
/**
|
|
390
|
+
* @deprecated Use ThermostatsActivateClimatePresetParameters instead.
|
|
391
|
+
*/
|
|
392
|
+
export type ThermostatsActivateClimatePresetBody =
|
|
393
|
+
ThermostatsActivateClimatePresetParameters
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* @deprecated Use ThermostatsActivateClimatePresetRequest instead.
|
|
397
|
+
*/
|
|
378
398
|
export type ThermostatsActivateClimatePresetResponse = SetNonNullable<
|
|
379
399
|
Required<RouteResponse<'/thermostats/activate_climate_preset'>>
|
|
380
400
|
>
|
|
381
401
|
|
|
402
|
+
export type ThermostatsActivateClimatePresetRequest = SeamHttpRequest<
|
|
403
|
+
ThermostatsActivateClimatePresetResponse,
|
|
404
|
+
'action_attempt'
|
|
405
|
+
>
|
|
406
|
+
|
|
382
407
|
export type ThermostatsActivateClimatePresetOptions = Pick<
|
|
383
408
|
SeamHttpRequestOptions,
|
|
384
409
|
'waitForActionAttempt'
|
|
385
410
|
>
|
|
386
411
|
|
|
387
|
-
export type
|
|
412
|
+
export type ThermostatsCoolParameters = RouteRequestBody<'/thermostats/cool'>
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* @deprecated Use ThermostatsCoolParameters instead.
|
|
416
|
+
*/
|
|
417
|
+
export type ThermostatsCoolBody = ThermostatsCoolParameters
|
|
388
418
|
|
|
419
|
+
/**
|
|
420
|
+
* @deprecated Use ThermostatsCoolRequest instead.
|
|
421
|
+
*/
|
|
389
422
|
export type ThermostatsCoolResponse = SetNonNullable<
|
|
390
423
|
Required<RouteResponse<'/thermostats/cool'>>
|
|
391
424
|
>
|
|
392
425
|
|
|
426
|
+
export type ThermostatsCoolRequest = SeamHttpRequest<
|
|
427
|
+
ThermostatsCoolResponse,
|
|
428
|
+
'action_attempt'
|
|
429
|
+
>
|
|
430
|
+
|
|
393
431
|
export type ThermostatsCoolOptions = Pick<
|
|
394
432
|
SeamHttpRequestOptions,
|
|
395
433
|
'waitForActionAttempt'
|
|
396
434
|
>
|
|
397
435
|
|
|
398
|
-
export type
|
|
436
|
+
export type ThermostatsCreateClimatePresetParameters =
|
|
399
437
|
RouteRequestBody<'/thermostats/create_climate_preset'>
|
|
400
438
|
|
|
439
|
+
/**
|
|
440
|
+
* @deprecated Use ThermostatsCreateClimatePresetParameters instead.
|
|
441
|
+
*/
|
|
442
|
+
export type ThermostatsCreateClimatePresetBody =
|
|
443
|
+
ThermostatsCreateClimatePresetParameters
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* @deprecated Use ThermostatsCreateClimatePresetRequest instead.
|
|
447
|
+
*/
|
|
401
448
|
export type ThermostatsCreateClimatePresetResponse = SetNonNullable<
|
|
402
449
|
Required<RouteResponse<'/thermostats/create_climate_preset'>>
|
|
403
450
|
>
|
|
404
451
|
|
|
405
|
-
export type
|
|
452
|
+
export type ThermostatsCreateClimatePresetRequest = SeamHttpRequest<
|
|
453
|
+
void,
|
|
454
|
+
undefined
|
|
455
|
+
>
|
|
406
456
|
|
|
407
|
-
export type
|
|
457
|
+
export type ThermostatsCreateClimatePresetOptions = Record<string, never>
|
|
458
|
+
|
|
459
|
+
export type ThermostatsDeleteClimatePresetParameters =
|
|
408
460
|
RouteRequestBody<'/thermostats/delete_climate_preset'>
|
|
409
461
|
|
|
462
|
+
/**
|
|
463
|
+
* @deprecated Use ThermostatsDeleteClimatePresetParameters instead.
|
|
464
|
+
*/
|
|
465
|
+
export type ThermostatsDeleteClimatePresetParams =
|
|
466
|
+
ThermostatsDeleteClimatePresetParameters
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* @deprecated Use ThermostatsDeleteClimatePresetRequest instead.
|
|
470
|
+
*/
|
|
410
471
|
export type ThermostatsDeleteClimatePresetResponse = SetNonNullable<
|
|
411
472
|
Required<RouteResponse<'/thermostats/delete_climate_preset'>>
|
|
412
473
|
>
|
|
413
474
|
|
|
414
|
-
export type
|
|
475
|
+
export type ThermostatsDeleteClimatePresetRequest = SeamHttpRequest<
|
|
476
|
+
void,
|
|
477
|
+
undefined
|
|
478
|
+
>
|
|
479
|
+
|
|
480
|
+
export type ThermostatsDeleteClimatePresetOptions = Record<string, never>
|
|
415
481
|
|
|
416
|
-
export type
|
|
482
|
+
export type ThermostatsGetParameters = RouteRequestBody<'/thermostats/get'>
|
|
417
483
|
|
|
484
|
+
/**
|
|
485
|
+
* @deprecated Use ThermostatsGetParameters instead.
|
|
486
|
+
*/
|
|
487
|
+
export type ThermostatsGetParams = ThermostatsGetParameters
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* @deprecated Use ThermostatsGetRequest instead.
|
|
491
|
+
*/
|
|
418
492
|
export type ThermostatsGetResponse = SetNonNullable<
|
|
419
493
|
Required<RouteResponse<'/thermostats/get'>>
|
|
420
494
|
>
|
|
421
495
|
|
|
422
|
-
export type
|
|
496
|
+
export type ThermostatsGetRequest = SeamHttpRequest<
|
|
497
|
+
ThermostatsGetResponse,
|
|
498
|
+
'thermostat'
|
|
499
|
+
>
|
|
500
|
+
|
|
501
|
+
export type ThermostatsGetOptions = Record<string, never>
|
|
502
|
+
|
|
503
|
+
export type ThermostatsHeatParameters = RouteRequestBody<'/thermostats/heat'>
|
|
423
504
|
|
|
424
|
-
|
|
505
|
+
/**
|
|
506
|
+
* @deprecated Use ThermostatsHeatParameters instead.
|
|
507
|
+
*/
|
|
508
|
+
export type ThermostatsHeatBody = ThermostatsHeatParameters
|
|
425
509
|
|
|
510
|
+
/**
|
|
511
|
+
* @deprecated Use ThermostatsHeatRequest instead.
|
|
512
|
+
*/
|
|
426
513
|
export type ThermostatsHeatResponse = SetNonNullable<
|
|
427
514
|
Required<RouteResponse<'/thermostats/heat'>>
|
|
428
515
|
>
|
|
429
516
|
|
|
517
|
+
export type ThermostatsHeatRequest = SeamHttpRequest<
|
|
518
|
+
ThermostatsHeatResponse,
|
|
519
|
+
'action_attempt'
|
|
520
|
+
>
|
|
521
|
+
|
|
430
522
|
export type ThermostatsHeatOptions = Pick<
|
|
431
523
|
SeamHttpRequestOptions,
|
|
432
524
|
'waitForActionAttempt'
|
|
433
525
|
>
|
|
434
526
|
|
|
435
|
-
export type
|
|
527
|
+
export type ThermostatsHeatCoolParameters =
|
|
528
|
+
RouteRequestBody<'/thermostats/heat_cool'>
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* @deprecated Use ThermostatsHeatCoolParameters instead.
|
|
532
|
+
*/
|
|
533
|
+
export type ThermostatsHeatCoolBody = ThermostatsHeatCoolParameters
|
|
436
534
|
|
|
535
|
+
/**
|
|
536
|
+
* @deprecated Use ThermostatsHeatCoolRequest instead.
|
|
537
|
+
*/
|
|
437
538
|
export type ThermostatsHeatCoolResponse = SetNonNullable<
|
|
438
539
|
Required<RouteResponse<'/thermostats/heat_cool'>>
|
|
439
540
|
>
|
|
440
541
|
|
|
542
|
+
export type ThermostatsHeatCoolRequest = SeamHttpRequest<
|
|
543
|
+
ThermostatsHeatCoolResponse,
|
|
544
|
+
'action_attempt'
|
|
545
|
+
>
|
|
546
|
+
|
|
441
547
|
export type ThermostatsHeatCoolOptions = Pick<
|
|
442
548
|
SeamHttpRequestOptions,
|
|
443
549
|
'waitForActionAttempt'
|
|
444
550
|
>
|
|
445
551
|
|
|
446
|
-
export type
|
|
552
|
+
export type ThermostatsListParameters = RouteRequestBody<'/thermostats/list'>
|
|
447
553
|
|
|
554
|
+
/**
|
|
555
|
+
* @deprecated Use ThermostatsListParameters instead.
|
|
556
|
+
*/
|
|
557
|
+
export type ThermostatsListParams = ThermostatsListParameters
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* @deprecated Use ThermostatsListRequest instead.
|
|
561
|
+
*/
|
|
448
562
|
export type ThermostatsListResponse = SetNonNullable<
|
|
449
563
|
Required<RouteResponse<'/thermostats/list'>>
|
|
450
564
|
>
|
|
451
565
|
|
|
452
|
-
export type
|
|
566
|
+
export type ThermostatsListRequest = SeamHttpRequest<
|
|
567
|
+
ThermostatsListResponse,
|
|
568
|
+
'devices'
|
|
569
|
+
>
|
|
570
|
+
|
|
571
|
+
export type ThermostatsListOptions = Record<string, never>
|
|
572
|
+
|
|
573
|
+
export type ThermostatsOffParameters = RouteRequestBody<'/thermostats/off'>
|
|
453
574
|
|
|
454
|
-
|
|
575
|
+
/**
|
|
576
|
+
* @deprecated Use ThermostatsOffParameters instead.
|
|
577
|
+
*/
|
|
578
|
+
export type ThermostatsOffBody = ThermostatsOffParameters
|
|
455
579
|
|
|
580
|
+
/**
|
|
581
|
+
* @deprecated Use ThermostatsOffRequest instead.
|
|
582
|
+
*/
|
|
456
583
|
export type ThermostatsOffResponse = SetNonNullable<
|
|
457
584
|
Required<RouteResponse<'/thermostats/off'>>
|
|
458
585
|
>
|
|
459
586
|
|
|
587
|
+
export type ThermostatsOffRequest = SeamHttpRequest<
|
|
588
|
+
ThermostatsOffResponse,
|
|
589
|
+
'action_attempt'
|
|
590
|
+
>
|
|
591
|
+
|
|
460
592
|
export type ThermostatsOffOptions = Pick<
|
|
461
593
|
SeamHttpRequestOptions,
|
|
462
594
|
'waitForActionAttempt'
|
|
463
595
|
>
|
|
464
596
|
|
|
465
|
-
export type
|
|
597
|
+
export type ThermostatsSetFallbackClimatePresetParameters =
|
|
466
598
|
RouteRequestBody<'/thermostats/set_fallback_climate_preset'>
|
|
467
599
|
|
|
600
|
+
/**
|
|
601
|
+
* @deprecated Use ThermostatsSetFallbackClimatePresetParameters instead.
|
|
602
|
+
*/
|
|
603
|
+
export type ThermostatsSetFallbackClimatePresetBody =
|
|
604
|
+
ThermostatsSetFallbackClimatePresetParameters
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* @deprecated Use ThermostatsSetFallbackClimatePresetRequest instead.
|
|
608
|
+
*/
|
|
468
609
|
export type ThermostatsSetFallbackClimatePresetResponse = SetNonNullable<
|
|
469
610
|
Required<RouteResponse<'/thermostats/set_fallback_climate_preset'>>
|
|
470
611
|
>
|
|
471
612
|
|
|
472
|
-
export type
|
|
613
|
+
export type ThermostatsSetFallbackClimatePresetRequest = SeamHttpRequest<
|
|
614
|
+
void,
|
|
615
|
+
undefined
|
|
616
|
+
>
|
|
617
|
+
|
|
618
|
+
export type ThermostatsSetFallbackClimatePresetOptions = Record<string, never>
|
|
473
619
|
|
|
474
|
-
export type
|
|
620
|
+
export type ThermostatsSetFanModeParameters =
|
|
475
621
|
RouteRequestBody<'/thermostats/set_fan_mode'>
|
|
476
622
|
|
|
623
|
+
/**
|
|
624
|
+
* @deprecated Use ThermostatsSetFanModeParameters instead.
|
|
625
|
+
*/
|
|
626
|
+
export type ThermostatsSetFanModeBody = ThermostatsSetFanModeParameters
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* @deprecated Use ThermostatsSetFanModeRequest instead.
|
|
630
|
+
*/
|
|
477
631
|
export type ThermostatsSetFanModeResponse = SetNonNullable<
|
|
478
632
|
Required<RouteResponse<'/thermostats/set_fan_mode'>>
|
|
479
633
|
>
|
|
480
634
|
|
|
635
|
+
export type ThermostatsSetFanModeRequest = SeamHttpRequest<
|
|
636
|
+
ThermostatsSetFanModeResponse,
|
|
637
|
+
'action_attempt'
|
|
638
|
+
>
|
|
639
|
+
|
|
481
640
|
export type ThermostatsSetFanModeOptions = Pick<
|
|
482
641
|
SeamHttpRequestOptions,
|
|
483
642
|
'waitForActionAttempt'
|
|
484
643
|
>
|
|
485
644
|
|
|
486
|
-
export type
|
|
645
|
+
export type ThermostatsSetHvacModeParameters =
|
|
487
646
|
RouteRequestBody<'/thermostats/set_hvac_mode'>
|
|
488
647
|
|
|
648
|
+
/**
|
|
649
|
+
* @deprecated Use ThermostatsSetHvacModeParameters instead.
|
|
650
|
+
*/
|
|
651
|
+
export type ThermostatsSetHvacModeBody = ThermostatsSetHvacModeParameters
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* @deprecated Use ThermostatsSetHvacModeRequest instead.
|
|
655
|
+
*/
|
|
489
656
|
export type ThermostatsSetHvacModeResponse = SetNonNullable<
|
|
490
657
|
Required<RouteResponse<'/thermostats/set_hvac_mode'>>
|
|
491
658
|
>
|
|
492
659
|
|
|
660
|
+
export type ThermostatsSetHvacModeRequest = SeamHttpRequest<
|
|
661
|
+
ThermostatsSetHvacModeResponse,
|
|
662
|
+
'action_attempt'
|
|
663
|
+
>
|
|
664
|
+
|
|
493
665
|
export type ThermostatsSetHvacModeOptions = Pick<
|
|
494
666
|
SeamHttpRequestOptions,
|
|
495
667
|
'waitForActionAttempt'
|
|
496
668
|
>
|
|
497
669
|
|
|
498
|
-
export type
|
|
670
|
+
export type ThermostatsSetTemperatureThresholdParameters =
|
|
499
671
|
RouteRequestBody<'/thermostats/set_temperature_threshold'>
|
|
500
672
|
|
|
673
|
+
/**
|
|
674
|
+
* @deprecated Use ThermostatsSetTemperatureThresholdParameters instead.
|
|
675
|
+
*/
|
|
676
|
+
export type ThermostatsSetTemperatureThresholdBody =
|
|
677
|
+
ThermostatsSetTemperatureThresholdParameters
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* @deprecated Use ThermostatsSetTemperatureThresholdRequest instead.
|
|
681
|
+
*/
|
|
501
682
|
export type ThermostatsSetTemperatureThresholdResponse = SetNonNullable<
|
|
502
683
|
Required<RouteResponse<'/thermostats/set_temperature_threshold'>>
|
|
503
684
|
>
|
|
504
685
|
|
|
505
|
-
export type
|
|
686
|
+
export type ThermostatsSetTemperatureThresholdRequest = SeamHttpRequest<
|
|
687
|
+
void,
|
|
688
|
+
undefined
|
|
689
|
+
>
|
|
690
|
+
|
|
691
|
+
export type ThermostatsSetTemperatureThresholdOptions = Record<string, never>
|
|
506
692
|
|
|
507
|
-
export type
|
|
693
|
+
export type ThermostatsUpdateClimatePresetParameters =
|
|
508
694
|
RouteRequestBody<'/thermostats/update_climate_preset'>
|
|
509
695
|
|
|
696
|
+
/**
|
|
697
|
+
* @deprecated Use ThermostatsUpdateClimatePresetParameters instead.
|
|
698
|
+
*/
|
|
699
|
+
export type ThermostatsUpdateClimatePresetBody =
|
|
700
|
+
ThermostatsUpdateClimatePresetParameters
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* @deprecated Use ThermostatsUpdateClimatePresetRequest instead.
|
|
704
|
+
*/
|
|
510
705
|
export type ThermostatsUpdateClimatePresetResponse = SetNonNullable<
|
|
511
706
|
Required<RouteResponse<'/thermostats/update_climate_preset'>>
|
|
512
707
|
>
|
|
513
708
|
|
|
514
|
-
export type
|
|
709
|
+
export type ThermostatsUpdateClimatePresetRequest = SeamHttpRequest<
|
|
710
|
+
void,
|
|
711
|
+
undefined
|
|
712
|
+
>
|
|
515
713
|
|
|
516
|
-
export type
|
|
714
|
+
export type ThermostatsUpdateClimatePresetOptions = Record<string, never>
|
|
715
|
+
|
|
716
|
+
export type ThermostatsUpdateWeeklyProgramParameters =
|
|
517
717
|
RouteRequestBody<'/thermostats/update_weekly_program'>
|
|
518
718
|
|
|
719
|
+
/**
|
|
720
|
+
* @deprecated Use ThermostatsUpdateWeeklyProgramParameters instead.
|
|
721
|
+
*/
|
|
722
|
+
export type ThermostatsUpdateWeeklyProgramBody =
|
|
723
|
+
ThermostatsUpdateWeeklyProgramParameters
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* @deprecated Use ThermostatsUpdateWeeklyProgramRequest instead.
|
|
727
|
+
*/
|
|
519
728
|
export type ThermostatsUpdateWeeklyProgramResponse = SetNonNullable<
|
|
520
729
|
Required<RouteResponse<'/thermostats/update_weekly_program'>>
|
|
521
730
|
>
|
|
522
731
|
|
|
732
|
+
export type ThermostatsUpdateWeeklyProgramRequest = SeamHttpRequest<
|
|
733
|
+
ThermostatsUpdateWeeklyProgramResponse,
|
|
734
|
+
'action_attempt'
|
|
735
|
+
>
|
|
736
|
+
|
|
523
737
|
export type ThermostatsUpdateWeeklyProgramOptions = Pick<
|
|
524
738
|
SeamHttpRequestOptions,
|
|
525
739
|
'waitForActionAttempt'
|