@seamapi/http 2.0.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/README.md +0 -30
- package/lib/seam/connect/api-error-types.js +0 -1
- package/lib/seam/connect/api-error-types.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +1 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- 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 -9
- package/src/lib/seam/connect/api-error-types.ts +0 -2
- package/src/lib/seam/connect/openapi.ts +2 -4
- 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
|
@@ -162,6 +162,9 @@ export class SeamHttpSpaces {
|
|
|
162
162
|
await clientSessions.get()
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
+
/**
|
|
166
|
+
* Adds [entrances](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details) to a specific space.
|
|
167
|
+
*/
|
|
165
168
|
addAcsEntrances(
|
|
166
169
|
parameters: SpacesAddAcsEntrancesParameters,
|
|
167
170
|
options: SpacesAddAcsEntrancesOptions = {},
|
|
@@ -175,6 +178,9 @@ export class SeamHttpSpaces {
|
|
|
175
178
|
})
|
|
176
179
|
}
|
|
177
180
|
|
|
181
|
+
/**
|
|
182
|
+
* Adds a [connected account](https://docs.seam.co/core-concepts/connected-accounts) to a specific space.
|
|
183
|
+
*/
|
|
178
184
|
addConnectedAccount(
|
|
179
185
|
parameters: SpacesAddConnectedAccountParameters,
|
|
180
186
|
options: SpacesAddConnectedAccountOptions = {},
|
|
@@ -188,6 +194,9 @@ export class SeamHttpSpaces {
|
|
|
188
194
|
})
|
|
189
195
|
}
|
|
190
196
|
|
|
197
|
+
/**
|
|
198
|
+
* Adds devices to a specific space.
|
|
199
|
+
*/
|
|
191
200
|
addDevices(
|
|
192
201
|
parameters: SpacesAddDevicesParameters,
|
|
193
202
|
options: SpacesAddDevicesOptions = {},
|
|
@@ -201,6 +210,9 @@ export class SeamHttpSpaces {
|
|
|
201
210
|
})
|
|
202
211
|
}
|
|
203
212
|
|
|
213
|
+
/**
|
|
214
|
+
* Creates a new space.
|
|
215
|
+
*/
|
|
204
216
|
create(
|
|
205
217
|
parameters: SpacesCreateParameters,
|
|
206
218
|
options: SpacesCreateOptions = {},
|
|
@@ -214,6 +226,9 @@ export class SeamHttpSpaces {
|
|
|
214
226
|
})
|
|
215
227
|
}
|
|
216
228
|
|
|
229
|
+
/**
|
|
230
|
+
* Deletes a space.
|
|
231
|
+
*/
|
|
217
232
|
delete(
|
|
218
233
|
parameters: SpacesDeleteParameters,
|
|
219
234
|
options: SpacesDeleteOptions = {},
|
|
@@ -227,6 +242,9 @@ export class SeamHttpSpaces {
|
|
|
227
242
|
})
|
|
228
243
|
}
|
|
229
244
|
|
|
245
|
+
/**
|
|
246
|
+
* Gets a space.
|
|
247
|
+
*/
|
|
230
248
|
get(
|
|
231
249
|
parameters?: SpacesGetParameters,
|
|
232
250
|
options: SpacesGetOptions = {},
|
|
@@ -240,6 +258,9 @@ export class SeamHttpSpaces {
|
|
|
240
258
|
})
|
|
241
259
|
}
|
|
242
260
|
|
|
261
|
+
/**
|
|
262
|
+
* Gets all related resources for one or more Spaces.
|
|
263
|
+
*/
|
|
243
264
|
getRelated(
|
|
244
265
|
parameters?: SpacesGetRelatedParameters,
|
|
245
266
|
options: SpacesGetRelatedOptions = {},
|
|
@@ -253,6 +274,9 @@ export class SeamHttpSpaces {
|
|
|
253
274
|
})
|
|
254
275
|
}
|
|
255
276
|
|
|
277
|
+
/**
|
|
278
|
+
* Returns a list of all spaces.
|
|
279
|
+
*/
|
|
256
280
|
list(
|
|
257
281
|
parameters?: SpacesListParameters,
|
|
258
282
|
options: SpacesListOptions = {},
|
|
@@ -266,6 +290,9 @@ export class SeamHttpSpaces {
|
|
|
266
290
|
})
|
|
267
291
|
}
|
|
268
292
|
|
|
293
|
+
/**
|
|
294
|
+
* Removes [entrances](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details) from a specific space.
|
|
295
|
+
*/
|
|
269
296
|
removeAcsEntrances(
|
|
270
297
|
parameters: SpacesRemoveAcsEntrancesParameters,
|
|
271
298
|
options: SpacesRemoveAcsEntrancesOptions = {},
|
|
@@ -279,6 +306,9 @@ export class SeamHttpSpaces {
|
|
|
279
306
|
})
|
|
280
307
|
}
|
|
281
308
|
|
|
309
|
+
/**
|
|
310
|
+
* Removes a [connected account](https://docs.seam.co/core-concepts/connected-accounts) from a specific space.
|
|
311
|
+
*/
|
|
282
312
|
removeConnectedAccount(
|
|
283
313
|
parameters: SpacesRemoveConnectedAccountParameters,
|
|
284
314
|
options: SpacesRemoveConnectedAccountOptions = {},
|
|
@@ -292,6 +322,9 @@ export class SeamHttpSpaces {
|
|
|
292
322
|
})
|
|
293
323
|
}
|
|
294
324
|
|
|
325
|
+
/**
|
|
326
|
+
* Removes devices from a specific space.
|
|
327
|
+
*/
|
|
295
328
|
removeDevices(
|
|
296
329
|
parameters: SpacesRemoveDevicesParameters,
|
|
297
330
|
options: SpacesRemoveDevicesOptions = {},
|
|
@@ -305,6 +338,9 @@ export class SeamHttpSpaces {
|
|
|
305
338
|
})
|
|
306
339
|
}
|
|
307
340
|
|
|
341
|
+
/**
|
|
342
|
+
* Updates an existing space.
|
|
343
|
+
*/
|
|
308
344
|
update(
|
|
309
345
|
parameters?: SpacesUpdateParameters,
|
|
310
346
|
options: SpacesUpdateOptions = {},
|
|
@@ -320,8 +356,14 @@ export class SeamHttpSpaces {
|
|
|
320
356
|
}
|
|
321
357
|
|
|
322
358
|
export type SpacesAddAcsEntrancesParameters = {
|
|
359
|
+
/**
|
|
360
|
+
* IDs of the entrances that you want to add to the space.
|
|
361
|
+
*/
|
|
323
362
|
acs_entrance_ids: Array<string>
|
|
324
363
|
|
|
364
|
+
/**
|
|
365
|
+
* ID of the space to which you want to add entrances.
|
|
366
|
+
*/
|
|
325
367
|
space_id: string
|
|
326
368
|
}
|
|
327
369
|
|
|
@@ -335,8 +377,14 @@ export type SpacesAddAcsEntrancesRequest = SeamHttpRequest<void, undefined>
|
|
|
335
377
|
export interface SpacesAddAcsEntrancesOptions {}
|
|
336
378
|
|
|
337
379
|
export type SpacesAddConnectedAccountParameters = {
|
|
380
|
+
/**
|
|
381
|
+
* ID of the connected account that you want to add to the space.
|
|
382
|
+
*/
|
|
338
383
|
connected_account_id: string
|
|
339
384
|
|
|
385
|
+
/**
|
|
386
|
+
* ID of the space to which you want to add the connected account.
|
|
387
|
+
*/
|
|
340
388
|
space_id: string
|
|
341
389
|
}
|
|
342
390
|
|
|
@@ -350,8 +398,14 @@ export type SpacesAddConnectedAccountRequest = SeamHttpRequest<void, undefined>
|
|
|
350
398
|
export interface SpacesAddConnectedAccountOptions {}
|
|
351
399
|
|
|
352
400
|
export type SpacesAddDevicesParameters = {
|
|
401
|
+
/**
|
|
402
|
+
* IDs of the devices that you want to add to the space.
|
|
403
|
+
*/
|
|
353
404
|
device_ids: Array<string>
|
|
354
405
|
|
|
406
|
+
/**
|
|
407
|
+
* ID of the space to which you want to add devices.
|
|
408
|
+
*/
|
|
355
409
|
space_id: string
|
|
356
410
|
}
|
|
357
411
|
|
|
@@ -365,20 +419,53 @@ export type SpacesAddDevicesRequest = SeamHttpRequest<void, undefined>
|
|
|
365
419
|
export interface SpacesAddDevicesOptions {}
|
|
366
420
|
|
|
367
421
|
export type SpacesCreateParameters = {
|
|
422
|
+
/**
|
|
423
|
+
* IDs of the entrances that you want to add to the new space.
|
|
424
|
+
*/
|
|
368
425
|
acs_entrance_ids?: Array<string> | undefined
|
|
426
|
+
/**
|
|
427
|
+
* IDs of connected accounts to associate with the new space. Persisted on seam.location_third_party_account so the UI can show which provider account(s) a space came from.
|
|
428
|
+
*/
|
|
369
429
|
connected_account_ids?: Array<string> | undefined
|
|
430
|
+
/**
|
|
431
|
+
* Reservation/stay-related defaults for the space.
|
|
432
|
+
*/
|
|
370
433
|
customer_data?:
|
|
371
434
|
| {
|
|
435
|
+
/**
|
|
436
|
+
* Postal address for the space.
|
|
437
|
+
*/
|
|
372
438
|
address?: string | undefined
|
|
439
|
+
/**
|
|
440
|
+
* Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.
|
|
441
|
+
*/
|
|
373
442
|
default_checkin_time?: string | undefined
|
|
443
|
+
/**
|
|
444
|
+
* Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.
|
|
445
|
+
*/
|
|
374
446
|
default_checkout_time?: string | undefined
|
|
447
|
+
/**
|
|
448
|
+
* IANA time zone for the space, e.g. America/Los_Angeles.
|
|
449
|
+
*/
|
|
375
450
|
time_zone?: string | undefined
|
|
376
451
|
}
|
|
377
452
|
| undefined
|
|
453
|
+
/**
|
|
454
|
+
* Customer key for which you want to create the space.
|
|
455
|
+
*/
|
|
378
456
|
customer_key?: string | undefined
|
|
457
|
+
/**
|
|
458
|
+
* IDs of the devices that you want to add to the new space.
|
|
459
|
+
*/
|
|
379
460
|
device_ids?: Array<string> | undefined
|
|
461
|
+
/**
|
|
462
|
+
* Name of the space that you want to create.
|
|
463
|
+
*/
|
|
380
464
|
name: string
|
|
381
465
|
|
|
466
|
+
/**
|
|
467
|
+
* Unique key for the space within the workspace.
|
|
468
|
+
*/
|
|
382
469
|
space_key?: string | undefined
|
|
383
470
|
}
|
|
384
471
|
|
|
@@ -392,6 +479,9 @@ export type SpacesCreateRequest = SeamHttpRequest<SpacesCreateResponse, 'space'>
|
|
|
392
479
|
export interface SpacesCreateOptions {}
|
|
393
480
|
|
|
394
481
|
export type SpacesDeleteParameters = {
|
|
482
|
+
/**
|
|
483
|
+
* ID of the space that you want to delete.
|
|
484
|
+
*/
|
|
395
485
|
space_id: string
|
|
396
486
|
}
|
|
397
487
|
|
|
@@ -405,7 +495,13 @@ export type SpacesDeleteRequest = SeamHttpRequest<void, undefined>
|
|
|
405
495
|
export interface SpacesDeleteOptions {}
|
|
406
496
|
|
|
407
497
|
export type SpacesGetParameters = {
|
|
498
|
+
/**
|
|
499
|
+
* ID of the space that you want to get.
|
|
500
|
+
*/
|
|
408
501
|
space_id?: string | undefined
|
|
502
|
+
/**
|
|
503
|
+
* Unique key of the space that you want to get.
|
|
504
|
+
*/
|
|
409
505
|
space_key?: string | undefined
|
|
410
506
|
}
|
|
411
507
|
|
|
@@ -429,6 +525,7 @@ export type SpacesGetRelatedParameters = {
|
|
|
429
525
|
| 'access_methods'
|
|
430
526
|
>
|
|
431
527
|
| undefined
|
|
528
|
+
|
|
432
529
|
include?:
|
|
433
530
|
| Array<
|
|
434
531
|
| 'spaces'
|
|
@@ -439,7 +536,13 @@ export type SpacesGetRelatedParameters = {
|
|
|
439
536
|
| 'access_methods'
|
|
440
537
|
>
|
|
441
538
|
| undefined
|
|
539
|
+
/**
|
|
540
|
+
* IDs of the spaces that you want to get along with their related resources.
|
|
541
|
+
*/
|
|
442
542
|
space_ids?: Array<string> | undefined
|
|
543
|
+
/**
|
|
544
|
+
* Keys of the spaces that you want to get along with their related resources.
|
|
545
|
+
*/
|
|
443
546
|
space_keys?: Array<string> | undefined
|
|
444
547
|
}
|
|
445
548
|
|
|
@@ -465,10 +568,25 @@ export type SpacesGetRelatedRequest = SeamHttpRequest<
|
|
|
465
568
|
export interface SpacesGetRelatedOptions {}
|
|
466
569
|
|
|
467
570
|
export type SpacesListParameters = {
|
|
571
|
+
/**
|
|
572
|
+
* Customer key for which you want to list spaces.
|
|
573
|
+
*/
|
|
468
574
|
customer_key?: string | undefined
|
|
575
|
+
/**
|
|
576
|
+
* Maximum number of records to return per page.
|
|
577
|
+
*/
|
|
469
578
|
limit?: number | undefined
|
|
579
|
+
/**
|
|
580
|
+
* Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
|
|
581
|
+
*/
|
|
470
582
|
page_cursor?: string | undefined
|
|
583
|
+
/**
|
|
584
|
+
* String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`, `space_key`, or `customer_key`.
|
|
585
|
+
*/
|
|
471
586
|
search?: string | undefined
|
|
587
|
+
/**
|
|
588
|
+
* Filter spaces by space_key.
|
|
589
|
+
*/
|
|
472
590
|
space_key?: string | undefined
|
|
473
591
|
}
|
|
474
592
|
|
|
@@ -482,8 +600,14 @@ export type SpacesListRequest = SeamHttpRequest<SpacesListResponse, 'spaces'>
|
|
|
482
600
|
export interface SpacesListOptions {}
|
|
483
601
|
|
|
484
602
|
export type SpacesRemoveAcsEntrancesParameters = {
|
|
603
|
+
/**
|
|
604
|
+
* IDs of the entrances that you want to remove from the space.
|
|
605
|
+
*/
|
|
485
606
|
acs_entrance_ids: Array<string>
|
|
486
607
|
|
|
608
|
+
/**
|
|
609
|
+
* ID of the space from which you want to remove entrances.
|
|
610
|
+
*/
|
|
487
611
|
space_id: string
|
|
488
612
|
}
|
|
489
613
|
|
|
@@ -497,8 +621,14 @@ export type SpacesRemoveAcsEntrancesRequest = SeamHttpRequest<void, undefined>
|
|
|
497
621
|
export interface SpacesRemoveAcsEntrancesOptions {}
|
|
498
622
|
|
|
499
623
|
export type SpacesRemoveConnectedAccountParameters = {
|
|
624
|
+
/**
|
|
625
|
+
* ID of the connected account that you want to remove from the space.
|
|
626
|
+
*/
|
|
500
627
|
connected_account_id: string
|
|
501
628
|
|
|
629
|
+
/**
|
|
630
|
+
* ID of the space from which you want to remove the connected account.
|
|
631
|
+
*/
|
|
502
632
|
space_id: string
|
|
503
633
|
}
|
|
504
634
|
|
|
@@ -515,8 +645,14 @@ export type SpacesRemoveConnectedAccountRequest = SeamHttpRequest<
|
|
|
515
645
|
export interface SpacesRemoveConnectedAccountOptions {}
|
|
516
646
|
|
|
517
647
|
export type SpacesRemoveDevicesParameters = {
|
|
648
|
+
/**
|
|
649
|
+
* IDs of the devices that you want to remove from the space.
|
|
650
|
+
*/
|
|
518
651
|
device_ids: Array<string>
|
|
519
652
|
|
|
653
|
+
/**
|
|
654
|
+
* ID of the space from which you want to remove devices.
|
|
655
|
+
*/
|
|
520
656
|
space_id: string
|
|
521
657
|
}
|
|
522
658
|
|
|
@@ -530,18 +666,48 @@ export type SpacesRemoveDevicesRequest = SeamHttpRequest<void, undefined>
|
|
|
530
666
|
export interface SpacesRemoveDevicesOptions {}
|
|
531
667
|
|
|
532
668
|
export type SpacesUpdateParameters = {
|
|
669
|
+
/**
|
|
670
|
+
* IDs of the entrances that you want to set for the space. If specified, this will replace all existing entrances.
|
|
671
|
+
*/
|
|
533
672
|
acs_entrance_ids?: Array<string> | undefined
|
|
673
|
+
/**
|
|
674
|
+
* Reservation/stay-related defaults for the space. Only the keys you provide are updated; omit a key to leave it unchanged. Pass null on a key to clear it.
|
|
675
|
+
*/
|
|
534
676
|
customer_data?:
|
|
535
677
|
| {
|
|
678
|
+
/**
|
|
679
|
+
* Postal address for the space.
|
|
680
|
+
*/
|
|
536
681
|
address?: string | undefined
|
|
682
|
+
/**
|
|
683
|
+
* Default check-in time for reservations at the space, as HH:mm or HH:mm:ss.
|
|
684
|
+
*/
|
|
537
685
|
default_checkin_time?: string | undefined
|
|
686
|
+
/**
|
|
687
|
+
* Default check-out time for reservations at the space, as HH:mm or HH:mm:ss.
|
|
688
|
+
*/
|
|
538
689
|
default_checkout_time?: string | undefined
|
|
690
|
+
/**
|
|
691
|
+
* IANA time zone for the space, e.g. America/Los_Angeles.
|
|
692
|
+
*/
|
|
539
693
|
time_zone?: string | undefined
|
|
540
694
|
}
|
|
541
695
|
| undefined
|
|
696
|
+
/**
|
|
697
|
+
* IDs of the devices that you want to set for the space. If specified, this will replace all existing devices.
|
|
698
|
+
*/
|
|
542
699
|
device_ids?: Array<string> | undefined
|
|
700
|
+
/**
|
|
701
|
+
* Name of the space.
|
|
702
|
+
*/
|
|
543
703
|
name?: string | undefined
|
|
704
|
+
/**
|
|
705
|
+
* ID of the space that you want to update.
|
|
706
|
+
*/
|
|
544
707
|
space_id?: string | undefined
|
|
708
|
+
/**
|
|
709
|
+
* Unique key of the space that you want to update.
|
|
710
|
+
*/
|
|
545
711
|
space_key?: string | undefined
|
|
546
712
|
}
|
|
547
713
|
|
|
@@ -165,6 +165,9 @@ export class SeamHttpThermostatsDailyPrograms {
|
|
|
165
165
|
await clientSessions.get()
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
+
/**
|
|
169
|
+
* Creates a new thermostat daily program. A daily program consists of a set of periods, where each period includes a start time and the key of a configured climate preset. Once you have defined a daily program, you can assign it to one or more days within a weekly program.
|
|
170
|
+
*/
|
|
168
171
|
create(
|
|
169
172
|
parameters: ThermostatsDailyProgramsCreateParameters,
|
|
170
173
|
options: ThermostatsDailyProgramsCreateOptions = {},
|
|
@@ -178,6 +181,9 @@ export class SeamHttpThermostatsDailyPrograms {
|
|
|
178
181
|
})
|
|
179
182
|
}
|
|
180
183
|
|
|
184
|
+
/**
|
|
185
|
+
* Deletes a thermostat daily program.
|
|
186
|
+
*/
|
|
181
187
|
delete(
|
|
182
188
|
parameters: ThermostatsDailyProgramsDeleteParameters,
|
|
183
189
|
options: ThermostatsDailyProgramsDeleteOptions = {},
|
|
@@ -191,6 +197,9 @@ export class SeamHttpThermostatsDailyPrograms {
|
|
|
191
197
|
})
|
|
192
198
|
}
|
|
193
199
|
|
|
200
|
+
/**
|
|
201
|
+
* Updates a specified thermostat daily program. The periods that you specify overwrite any existing periods for the daily program.
|
|
202
|
+
*/
|
|
194
203
|
update(
|
|
195
204
|
parameters: ThermostatsDailyProgramsUpdateParameters,
|
|
196
205
|
options: ThermostatsDailyProgramsUpdateOptions = {},
|
|
@@ -206,12 +215,27 @@ export class SeamHttpThermostatsDailyPrograms {
|
|
|
206
215
|
}
|
|
207
216
|
|
|
208
217
|
export type ThermostatsDailyProgramsCreateParameters = {
|
|
218
|
+
/**
|
|
219
|
+
* ID of the thermostat device for which you want to create a daily program.
|
|
220
|
+
*/
|
|
209
221
|
device_id: string
|
|
210
222
|
|
|
223
|
+
/**
|
|
224
|
+
* Name of the thermostat daily program.
|
|
225
|
+
*/
|
|
211
226
|
name: string
|
|
212
227
|
|
|
228
|
+
/**
|
|
229
|
+
* Array of thermostat daily program periods.
|
|
230
|
+
*/
|
|
213
231
|
periods: Array<{
|
|
232
|
+
/**
|
|
233
|
+
* Key of the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`.
|
|
234
|
+
*/
|
|
214
235
|
climate_preset_key?: string | undefined
|
|
236
|
+
/**
|
|
237
|
+
* Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
|
238
|
+
*/
|
|
215
239
|
starts_at_time?: string | undefined
|
|
216
240
|
}>
|
|
217
241
|
}
|
|
@@ -231,6 +255,9 @@ export type ThermostatsDailyProgramsCreateRequest = SeamHttpRequest<
|
|
|
231
255
|
export interface ThermostatsDailyProgramsCreateOptions {}
|
|
232
256
|
|
|
233
257
|
export type ThermostatsDailyProgramsDeleteParameters = {
|
|
258
|
+
/**
|
|
259
|
+
* ID of the thermostat daily program that you want to delete.
|
|
260
|
+
*/
|
|
234
261
|
thermostat_daily_program_id: string
|
|
235
262
|
}
|
|
236
263
|
|
|
@@ -247,13 +274,28 @@ export type ThermostatsDailyProgramsDeleteRequest = SeamHttpRequest<
|
|
|
247
274
|
export interface ThermostatsDailyProgramsDeleteOptions {}
|
|
248
275
|
|
|
249
276
|
export type ThermostatsDailyProgramsUpdateParameters = {
|
|
277
|
+
/**
|
|
278
|
+
* Name of the thermostat daily program that you want to update.
|
|
279
|
+
*/
|
|
250
280
|
name: string
|
|
251
281
|
|
|
282
|
+
/**
|
|
283
|
+
* Array of thermostat daily program periods. The periods that you specify overwrite any existing periods for the daily program.
|
|
284
|
+
*/
|
|
252
285
|
periods: Array<{
|
|
286
|
+
/**
|
|
287
|
+
* Key of the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) to activate at the `starts_at_time`.
|
|
288
|
+
*/
|
|
253
289
|
climate_preset_key?: string | undefined
|
|
290
|
+
/**
|
|
291
|
+
* Time at which the thermostat daily program period starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
|
292
|
+
*/
|
|
254
293
|
starts_at_time?: string | undefined
|
|
255
294
|
}>
|
|
256
295
|
|
|
296
|
+
/**
|
|
297
|
+
* ID of the thermostat daily program that you want to update.
|
|
298
|
+
*/
|
|
257
299
|
thermostat_daily_program_id: string
|
|
258
300
|
}
|
|
259
301
|
|
|
@@ -161,6 +161,9 @@ export class SeamHttpThermostatsSchedules {
|
|
|
161
161
|
await clientSessions.get()
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
+
/**
|
|
165
|
+
* Creates a new [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
|
|
166
|
+
*/
|
|
164
167
|
create(
|
|
165
168
|
parameters: ThermostatsSchedulesCreateParameters,
|
|
166
169
|
options: ThermostatsSchedulesCreateOptions = {},
|
|
@@ -174,6 +177,9 @@ export class SeamHttpThermostatsSchedules {
|
|
|
174
177
|
})
|
|
175
178
|
}
|
|
176
179
|
|
|
180
|
+
/**
|
|
181
|
+
* Deletes a [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
|
|
182
|
+
*/
|
|
177
183
|
delete(
|
|
178
184
|
parameters: ThermostatsSchedulesDeleteParameters,
|
|
179
185
|
options: ThermostatsSchedulesDeleteOptions = {},
|
|
@@ -187,6 +193,9 @@ export class SeamHttpThermostatsSchedules {
|
|
|
187
193
|
})
|
|
188
194
|
}
|
|
189
195
|
|
|
196
|
+
/**
|
|
197
|
+
* Returns a specified [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
|
|
198
|
+
*/
|
|
190
199
|
get(
|
|
191
200
|
parameters: ThermostatsSchedulesGetParameters,
|
|
192
201
|
options: ThermostatsSchedulesGetOptions = {},
|
|
@@ -200,6 +209,9 @@ export class SeamHttpThermostatsSchedules {
|
|
|
200
209
|
})
|
|
201
210
|
}
|
|
202
211
|
|
|
212
|
+
/**
|
|
213
|
+
* Returns a list of all [thermostat schedules](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules) for a specified [thermostat](https://docs.seam.co/capability-guides/thermostats).
|
|
214
|
+
*/
|
|
203
215
|
list(
|
|
204
216
|
parameters: ThermostatsSchedulesListParameters,
|
|
205
217
|
options: ThermostatsSchedulesListOptions = {},
|
|
@@ -213,6 +225,9 @@ export class SeamHttpThermostatsSchedules {
|
|
|
213
225
|
})
|
|
214
226
|
}
|
|
215
227
|
|
|
228
|
+
/**
|
|
229
|
+
* Updates a specified [thermostat schedule](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
|
|
230
|
+
*/
|
|
216
231
|
update(
|
|
217
232
|
parameters: ThermostatsSchedulesUpdateParameters,
|
|
218
233
|
options: ThermostatsSchedulesUpdateOptions = {},
|
|
@@ -228,15 +243,36 @@ export class SeamHttpThermostatsSchedules {
|
|
|
228
243
|
}
|
|
229
244
|
|
|
230
245
|
export type ThermostatsSchedulesCreateParameters = {
|
|
246
|
+
/**
|
|
247
|
+
* Key of the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the new thermostat schedule.
|
|
248
|
+
*/
|
|
231
249
|
climate_preset_key: string
|
|
232
250
|
|
|
251
|
+
/**
|
|
252
|
+
* ID of the thermostat device for which you want to create a schedule.
|
|
253
|
+
*/
|
|
233
254
|
device_id: string
|
|
234
255
|
|
|
256
|
+
/**
|
|
257
|
+
* Date and time at which the new thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
|
258
|
+
*/
|
|
235
259
|
ends_at: string
|
|
236
260
|
|
|
261
|
+
/**
|
|
262
|
+
* Indicates whether a person at the thermostat or using the API can change the thermostat's settings while the new schedule is active. See also [Specifying Manual Override Permissions](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).
|
|
263
|
+
*/
|
|
237
264
|
is_override_allowed?: boolean | undefined
|
|
265
|
+
/**
|
|
266
|
+
* Number of minutes for which a person at the thermostat or using the API can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).
|
|
267
|
+
*/
|
|
238
268
|
max_override_period_minutes?: number | undefined
|
|
269
|
+
/**
|
|
270
|
+
* Name of the thermostat schedule.
|
|
271
|
+
*/
|
|
239
272
|
name?: string | undefined
|
|
273
|
+
/**
|
|
274
|
+
* Date and time at which the new thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
|
275
|
+
*/
|
|
240
276
|
starts_at: string
|
|
241
277
|
}
|
|
242
278
|
|
|
@@ -255,6 +291,9 @@ export type ThermostatsSchedulesCreateRequest = SeamHttpRequest<
|
|
|
255
291
|
export interface ThermostatsSchedulesCreateOptions {}
|
|
256
292
|
|
|
257
293
|
export type ThermostatsSchedulesDeleteParameters = {
|
|
294
|
+
/**
|
|
295
|
+
* ID of the thermostat schedule that you want to delete.
|
|
296
|
+
*/
|
|
258
297
|
thermostat_schedule_id: string
|
|
259
298
|
}
|
|
260
299
|
|
|
@@ -268,6 +307,9 @@ export type ThermostatsSchedulesDeleteRequest = SeamHttpRequest<void, undefined>
|
|
|
268
307
|
export interface ThermostatsSchedulesDeleteOptions {}
|
|
269
308
|
|
|
270
309
|
export type ThermostatsSchedulesGetParameters = {
|
|
310
|
+
/**
|
|
311
|
+
* ID of the thermostat schedule that you want to get.
|
|
312
|
+
*/
|
|
271
313
|
thermostat_schedule_id: string
|
|
272
314
|
}
|
|
273
315
|
|
|
@@ -286,8 +328,14 @@ export type ThermostatsSchedulesGetRequest = SeamHttpRequest<
|
|
|
286
328
|
export interface ThermostatsSchedulesGetOptions {}
|
|
287
329
|
|
|
288
330
|
export type ThermostatsSchedulesListParameters = {
|
|
331
|
+
/**
|
|
332
|
+
* ID of the thermostat device for which you want to list schedules.
|
|
333
|
+
*/
|
|
289
334
|
device_id: string
|
|
290
335
|
|
|
336
|
+
/**
|
|
337
|
+
* User identifier key by which to filter the list of returned thermostat schedules.
|
|
338
|
+
*/
|
|
291
339
|
user_identifier_key?: string | undefined
|
|
292
340
|
}
|
|
293
341
|
|
|
@@ -306,12 +354,33 @@ export type ThermostatsSchedulesListRequest = SeamHttpRequest<
|
|
|
306
354
|
export interface ThermostatsSchedulesListOptions {}
|
|
307
355
|
|
|
308
356
|
export type ThermostatsSchedulesUpdateParameters = {
|
|
357
|
+
/**
|
|
358
|
+
* Key of the [climate preset](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-climate-presets) to use for the thermostat schedule.
|
|
359
|
+
*/
|
|
309
360
|
climate_preset_key?: string | undefined
|
|
361
|
+
/**
|
|
362
|
+
* Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
|
363
|
+
*/
|
|
310
364
|
ends_at?: string | undefined
|
|
365
|
+
/**
|
|
366
|
+
* Indicates whether a person at the thermostat or using the API can change the thermostat's settings while the schedule is active. See also [Specifying Manual Override Permissions](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).
|
|
367
|
+
*/
|
|
311
368
|
is_override_allowed?: boolean | undefined
|
|
369
|
+
/**
|
|
370
|
+
* Number of minutes for which a person at the thermostat or using the API can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).
|
|
371
|
+
*/
|
|
312
372
|
max_override_period_minutes?: number | undefined
|
|
373
|
+
/**
|
|
374
|
+
* Name of the thermostat schedule.
|
|
375
|
+
*/
|
|
313
376
|
name?: string | undefined
|
|
377
|
+
/**
|
|
378
|
+
* Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
|
379
|
+
*/
|
|
314
380
|
starts_at?: string | undefined
|
|
381
|
+
/**
|
|
382
|
+
* ID of the thermostat schedule that you want to update.
|
|
383
|
+
*/
|
|
315
384
|
thermostat_schedule_id: string
|
|
316
385
|
}
|
|
317
386
|
|
|
@@ -160,6 +160,9 @@ export class SeamHttpThermostatsSimulate {
|
|
|
160
160
|
await clientSessions.get()
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
+
/**
|
|
164
|
+
* Simulates having adjusted the [HVAC mode](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) for a [thermostat](https://docs.seam.co/capability-guides/thermostats). Only applicable for [sandbox devices](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your Thermostat App with Simulate Endpoints](https://docs.seam.co/capability-guides/thermostats/testing-your-thermostat-app-with-simulate-endpoints).
|
|
165
|
+
*/
|
|
163
166
|
hvacModeAdjusted(
|
|
164
167
|
parameters: ThermostatsSimulateHvacModeAdjustedParameters,
|
|
165
168
|
options: ThermostatsSimulateHvacModeAdjustedOptions = {},
|
|
@@ -173,6 +176,9 @@ export class SeamHttpThermostatsSimulate {
|
|
|
173
176
|
})
|
|
174
177
|
}
|
|
175
178
|
|
|
179
|
+
/**
|
|
180
|
+
* Simulates a [thermostat](https://docs.seam.co/capability-guides/thermostats) reaching a specified temperature. Only applicable for [sandbox devices](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). See also [Testing Your Thermostat App with Simulate Endpoints](https://docs.seam.co/capability-guides/thermostats/testing-your-thermostat-app-with-simulate-endpoints).
|
|
181
|
+
*/
|
|
176
182
|
temperatureReached(
|
|
177
183
|
parameters: ThermostatsSimulateTemperatureReachedParameters,
|
|
178
184
|
options: ThermostatsSimulateTemperatureReachedOptions = {},
|
|
@@ -188,13 +194,31 @@ export class SeamHttpThermostatsSimulate {
|
|
|
188
194
|
}
|
|
189
195
|
|
|
190
196
|
export type ThermostatsSimulateHvacModeAdjustedParameters = {
|
|
197
|
+
/**
|
|
198
|
+
* ID of the thermostat device for which you want to simulate having adjusted the HVAC mode.
|
|
199
|
+
*/
|
|
191
200
|
device_id: string
|
|
192
201
|
|
|
202
|
+
/**
|
|
203
|
+
* HVAC mode that you want to simulate.
|
|
204
|
+
*/
|
|
193
205
|
hvac_mode: 'off' | 'cool' | 'heat' | 'heat_cool'
|
|
194
206
|
|
|
207
|
+
/**
|
|
208
|
+
* Cooling [set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C that you want to simulate. You must set `cooling_set_point_celsius` or `cooling_set_point_fahrenheit`.
|
|
209
|
+
*/
|
|
195
210
|
cooling_set_point_celsius?: number | undefined
|
|
211
|
+
/**
|
|
212
|
+
* Cooling [set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F that you want to simulate. You must set `cooling_set_point_fahrenheit` or `cooling_set_point_celsius`.
|
|
213
|
+
*/
|
|
196
214
|
cooling_set_point_fahrenheit?: number | undefined
|
|
215
|
+
/**
|
|
216
|
+
* Heating [set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C that you want to simulate. You must set `heating_set_point_celsius` or `heating_set_point_fahrenheit`.
|
|
217
|
+
*/
|
|
197
218
|
heating_set_point_celsius?: number | undefined
|
|
219
|
+
/**
|
|
220
|
+
* Heating [set point](https://docs.seam.co/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F that you want to simulate. You must set `heating_set_point_fahrenheit` or `heating_set_point_celsius`.
|
|
221
|
+
*/
|
|
198
222
|
heating_set_point_fahrenheit?: number | undefined
|
|
199
223
|
}
|
|
200
224
|
|
|
@@ -211,9 +235,18 @@ export type ThermostatsSimulateHvacModeAdjustedRequest = SeamHttpRequest<
|
|
|
211
235
|
export interface ThermostatsSimulateHvacModeAdjustedOptions {}
|
|
212
236
|
|
|
213
237
|
export type ThermostatsSimulateTemperatureReachedParameters = {
|
|
238
|
+
/**
|
|
239
|
+
* ID of the thermostat device that you want to simulate reaching a specified temperature.
|
|
240
|
+
*/
|
|
214
241
|
device_id: string
|
|
215
242
|
|
|
243
|
+
/**
|
|
244
|
+
* Temperature in °C that you want simulate the thermostat reaching. You must set `temperature_celsius` or `temperature_fahrenheit`.
|
|
245
|
+
*/
|
|
216
246
|
temperature_celsius?: number | undefined
|
|
247
|
+
/**
|
|
248
|
+
* Temperature in °F that you want simulate the thermostat reaching. You must set `temperature_fahrenheit` or `temperature_celsius`.
|
|
249
|
+
*/
|
|
217
250
|
temperature_fahrenheit?: number | undefined
|
|
218
251
|
}
|
|
219
252
|
|