@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
|
@@ -161,6 +161,9 @@ export class SeamHttpInstantKeys {
|
|
|
161
161
|
await clientSessions.get()
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
+
/**
|
|
165
|
+
* Deletes a specified [Instant Key](https://docs.seam.co/capability-guides/instant-keys).
|
|
166
|
+
*/
|
|
164
167
|
delete(
|
|
165
168
|
parameters: InstantKeysDeleteParameters,
|
|
166
169
|
options: InstantKeysDeleteOptions = {},
|
|
@@ -174,6 +177,9 @@ export class SeamHttpInstantKeys {
|
|
|
174
177
|
})
|
|
175
178
|
}
|
|
176
179
|
|
|
180
|
+
/**
|
|
181
|
+
* Gets an [instant key](https://docs.seam.co/capability-guides/instant-keys).
|
|
182
|
+
*/
|
|
177
183
|
get(
|
|
178
184
|
parameters?: InstantKeysGetParameters,
|
|
179
185
|
options: InstantKeysGetOptions = {},
|
|
@@ -187,6 +193,9 @@ export class SeamHttpInstantKeys {
|
|
|
187
193
|
})
|
|
188
194
|
}
|
|
189
195
|
|
|
196
|
+
/**
|
|
197
|
+
* Returns a list of all [instant keys](https://docs.seam.co/capability-guides/instant-keys).
|
|
198
|
+
*/
|
|
190
199
|
list(
|
|
191
200
|
parameters?: InstantKeysListParameters,
|
|
192
201
|
options: InstantKeysListOptions = {},
|
|
@@ -202,6 +211,9 @@ export class SeamHttpInstantKeys {
|
|
|
202
211
|
}
|
|
203
212
|
|
|
204
213
|
export type InstantKeysDeleteParameters = {
|
|
214
|
+
/**
|
|
215
|
+
* ID of the Instant Key that you want to delete.
|
|
216
|
+
*/
|
|
205
217
|
instant_key_id: string
|
|
206
218
|
}
|
|
207
219
|
|
|
@@ -215,7 +227,13 @@ export type InstantKeysDeleteRequest = SeamHttpRequest<void, undefined>
|
|
|
215
227
|
export interface InstantKeysDeleteOptions {}
|
|
216
228
|
|
|
217
229
|
export type InstantKeysGetParameters = {
|
|
230
|
+
/**
|
|
231
|
+
* ID of the instant key to get.
|
|
232
|
+
*/
|
|
218
233
|
instant_key_id?: string | undefined
|
|
234
|
+
/**
|
|
235
|
+
* URL of the instant key to get.
|
|
236
|
+
*/
|
|
219
237
|
instant_key_url?: string | undefined
|
|
220
238
|
}
|
|
221
239
|
|
|
@@ -232,6 +250,9 @@ export type InstantKeysGetRequest = SeamHttpRequest<
|
|
|
232
250
|
export interface InstantKeysGetOptions {}
|
|
233
251
|
|
|
234
252
|
export type InstantKeysListParameters = {
|
|
253
|
+
/**
|
|
254
|
+
* ID of the user identity by which you want to filter the list of Instant Keys.
|
|
255
|
+
*/
|
|
235
256
|
user_identity_id?: string | undefined
|
|
236
257
|
}
|
|
237
258
|
|
|
@@ -168,6 +168,9 @@ export class SeamHttpLocks {
|
|
|
168
168
|
return SeamHttpLocksSimulate.fromClient(this.client, this.defaults)
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
+
/**
|
|
172
|
+
* Configures the auto-lock setting for a specified [lock](https://docs.seam.co/low-level-apis/smart-locks).
|
|
173
|
+
*/
|
|
171
174
|
configureAutoLock(
|
|
172
175
|
parameters: LocksConfigureAutoLockParameters,
|
|
173
176
|
options: LocksConfigureAutoLockOptions = {},
|
|
@@ -181,6 +184,10 @@ export class SeamHttpLocks {
|
|
|
181
184
|
})
|
|
182
185
|
}
|
|
183
186
|
|
|
187
|
+
/**
|
|
188
|
+
* Returns a specified [lock](https://docs.seam.co/low-level-apis/smart-locks).
|
|
189
|
+
* @deprecated Use `/devices/get` instead.
|
|
190
|
+
*/
|
|
184
191
|
get(
|
|
185
192
|
parameters?: LocksGetParameters,
|
|
186
193
|
options: LocksGetOptions = {},
|
|
@@ -194,6 +201,9 @@ export class SeamHttpLocks {
|
|
|
194
201
|
})
|
|
195
202
|
}
|
|
196
203
|
|
|
204
|
+
/**
|
|
205
|
+
* Returns a list of all [locks](https://docs.seam.co/low-level-apis/smart-locks).
|
|
206
|
+
*/
|
|
197
207
|
list(
|
|
198
208
|
parameters?: LocksListParameters,
|
|
199
209
|
options: LocksListOptions = {},
|
|
@@ -207,6 +217,9 @@ export class SeamHttpLocks {
|
|
|
207
217
|
})
|
|
208
218
|
}
|
|
209
219
|
|
|
220
|
+
/**
|
|
221
|
+
* Locks a [lock](https://docs.seam.co/low-level-apis/smart-locks). See also [Locking and Unlocking Smart Locks](https://docs.seam.co/low-level-apis/smart-locks/lock-and-unlock).
|
|
222
|
+
*/
|
|
210
223
|
lockDoor(
|
|
211
224
|
parameters: LocksLockDoorParameters,
|
|
212
225
|
options: LocksLockDoorOptions = {},
|
|
@@ -220,6 +233,9 @@ export class SeamHttpLocks {
|
|
|
220
233
|
})
|
|
221
234
|
}
|
|
222
235
|
|
|
236
|
+
/**
|
|
237
|
+
* Unlocks a [lock](https://docs.seam.co/low-level-apis/smart-locks). See also [Locking and Unlocking Smart Locks](https://docs.seam.co/low-level-apis/smart-locks/lock-and-unlock).
|
|
238
|
+
*/
|
|
223
239
|
unlockDoor(
|
|
224
240
|
parameters: LocksUnlockDoorParameters,
|
|
225
241
|
options: LocksUnlockDoorOptions = {},
|
|
@@ -235,9 +251,18 @@ export class SeamHttpLocks {
|
|
|
235
251
|
}
|
|
236
252
|
|
|
237
253
|
export type LocksConfigureAutoLockParameters = {
|
|
254
|
+
/**
|
|
255
|
+
* Delay in seconds before the lock automatically locks. Required when enabling auto-lock. Must be between 1 and 60.
|
|
256
|
+
*/
|
|
238
257
|
auto_lock_delay_seconds?: number | undefined
|
|
258
|
+
/**
|
|
259
|
+
* Whether to enable or disable auto-lock.
|
|
260
|
+
*/
|
|
239
261
|
auto_lock_enabled: boolean
|
|
240
262
|
|
|
263
|
+
/**
|
|
264
|
+
* ID of the lock for which you want to configure the auto-lock.
|
|
265
|
+
*/
|
|
241
266
|
device_id: string
|
|
242
267
|
}
|
|
243
268
|
|
|
@@ -257,7 +282,13 @@ export type LocksConfigureAutoLockOptions = Pick<
|
|
|
257
282
|
>
|
|
258
283
|
|
|
259
284
|
export type LocksGetParameters = {
|
|
285
|
+
/**
|
|
286
|
+
* ID of the lock that you want to get.
|
|
287
|
+
*/
|
|
260
288
|
device_id?: string | undefined
|
|
289
|
+
/**
|
|
290
|
+
* Name of the lock that you want to get.
|
|
291
|
+
*/
|
|
261
292
|
name?: string | undefined
|
|
262
293
|
}
|
|
263
294
|
|
|
@@ -271,13 +302,37 @@ export type LocksGetRequest = SeamHttpRequest<LocksGetResponse, 'device'>
|
|
|
271
302
|
export interface LocksGetOptions {}
|
|
272
303
|
|
|
273
304
|
export type LocksListParameters = {
|
|
305
|
+
/**
|
|
306
|
+
* ID of the Connect Webview for which you want to list devices.
|
|
307
|
+
*/
|
|
274
308
|
connect_webview_id?: string | undefined
|
|
309
|
+
/**
|
|
310
|
+
* ID of the connected account for which you want to list devices.
|
|
311
|
+
*/
|
|
275
312
|
connected_account_id?: string | undefined
|
|
313
|
+
/**
|
|
314
|
+
* Array of IDs of the connected accounts for which you want to list devices.
|
|
315
|
+
*/
|
|
276
316
|
connected_account_ids?: Array<string> | undefined
|
|
317
|
+
/**
|
|
318
|
+
* Timestamp by which to limit returned devices. Returns devices created before this timestamp.
|
|
319
|
+
*/
|
|
277
320
|
created_before?: string | undefined
|
|
321
|
+
/**
|
|
322
|
+
* 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.
|
|
323
|
+
*/
|
|
278
324
|
custom_metadata_has?: Record<string, unknown> | undefined
|
|
325
|
+
/**
|
|
326
|
+
* Customer key for which you want to list devices.
|
|
327
|
+
*/
|
|
279
328
|
customer_key?: string | undefined
|
|
329
|
+
/**
|
|
330
|
+
* Array of device IDs for which you want to list devices.
|
|
331
|
+
*/
|
|
280
332
|
device_ids?: Array<string> | undefined
|
|
333
|
+
/**
|
|
334
|
+
* Device type of the locks that you want to list.
|
|
335
|
+
*/
|
|
281
336
|
device_type?:
|
|
282
337
|
| 'akuvox_lock'
|
|
283
338
|
| 'august_lock'
|
|
@@ -310,6 +365,9 @@ export type LocksListParameters = {
|
|
|
310
365
|
| 'kisi_lock'
|
|
311
366
|
| 'aqara_lock'
|
|
312
367
|
| undefined
|
|
368
|
+
/**
|
|
369
|
+
* Device types of the locks that you want to list.
|
|
370
|
+
*/
|
|
313
371
|
device_types?:
|
|
314
372
|
| Array<
|
|
315
373
|
| 'akuvox_lock'
|
|
@@ -344,7 +402,13 @@ export type LocksListParameters = {
|
|
|
344
402
|
| 'aqara_lock'
|
|
345
403
|
>
|
|
346
404
|
| undefined
|
|
405
|
+
/**
|
|
406
|
+
* Numerical limit on the number of devices to return.
|
|
407
|
+
*/
|
|
347
408
|
limit?: number | undefined
|
|
409
|
+
/**
|
|
410
|
+
* Manufacturer of the locks that you want to list.
|
|
411
|
+
*/
|
|
348
412
|
manufacturer?:
|
|
349
413
|
| 'akuvox'
|
|
350
414
|
| 'august'
|
|
@@ -379,10 +443,25 @@ export type LocksListParameters = {
|
|
|
379
443
|
| 'omnitec'
|
|
380
444
|
| 'kisi'
|
|
381
445
|
| undefined
|
|
446
|
+
/**
|
|
447
|
+
* Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
|
|
448
|
+
*/
|
|
382
449
|
page_cursor?: string | undefined
|
|
450
|
+
/**
|
|
451
|
+
* 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`.
|
|
452
|
+
*/
|
|
383
453
|
search?: string | undefined
|
|
454
|
+
/**
|
|
455
|
+
* ID of the space for which you want to list devices.
|
|
456
|
+
*/
|
|
384
457
|
space_id?: string | undefined
|
|
458
|
+
/**
|
|
459
|
+
* @deprecated Use `space_id`.
|
|
460
|
+
*/
|
|
385
461
|
unstable_location_id?: string | undefined
|
|
462
|
+
/**
|
|
463
|
+
* Your own internal user ID for the user for which you want to list devices.
|
|
464
|
+
*/
|
|
386
465
|
user_identifier_key?: string | undefined
|
|
387
466
|
}
|
|
388
467
|
|
|
@@ -396,6 +475,9 @@ export type LocksListRequest = SeamHttpRequest<LocksListResponse, 'devices'>
|
|
|
396
475
|
export interface LocksListOptions {}
|
|
397
476
|
|
|
398
477
|
export type LocksLockDoorParameters = {
|
|
478
|
+
/**
|
|
479
|
+
* ID of the lock that you want to lock.
|
|
480
|
+
*/
|
|
399
481
|
device_id: string
|
|
400
482
|
}
|
|
401
483
|
|
|
@@ -415,6 +497,9 @@ export type LocksLockDoorOptions = Pick<
|
|
|
415
497
|
>
|
|
416
498
|
|
|
417
499
|
export type LocksUnlockDoorParameters = {
|
|
500
|
+
/**
|
|
501
|
+
* ID of the lock that you want to unlock.
|
|
502
|
+
*/
|
|
418
503
|
device_id: string
|
|
419
504
|
}
|
|
420
505
|
|
|
@@ -161,6 +161,9 @@ export class SeamHttpLocksSimulate {
|
|
|
161
161
|
await clientSessions.get()
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
+
/**
|
|
165
|
+
* Simulates the entry of a code on a keypad. You can only perform this action for [August](https://docs.seam.co/device-and-system-integration-guides/august-locks) devices within [sandbox workspaces](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
|
|
166
|
+
*/
|
|
164
167
|
keypadCodeEntry(
|
|
165
168
|
parameters: LocksSimulateKeypadCodeEntryParameters,
|
|
166
169
|
options: LocksSimulateKeypadCodeEntryOptions = {},
|
|
@@ -174,6 +177,9 @@ export class SeamHttpLocksSimulate {
|
|
|
174
177
|
})
|
|
175
178
|
}
|
|
176
179
|
|
|
180
|
+
/**
|
|
181
|
+
* Simulates a manual lock action using a keypad. You can only perform this action for [August](https://docs.seam.co/device-and-system-integration-guides/august-locks) devices within [sandbox workspaces](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
|
|
182
|
+
*/
|
|
177
183
|
manualLockViaKeypad(
|
|
178
184
|
parameters: LocksSimulateManualLockViaKeypadParameters,
|
|
179
185
|
options: LocksSimulateManualLockViaKeypadOptions = {},
|
|
@@ -189,8 +195,14 @@ export class SeamHttpLocksSimulate {
|
|
|
189
195
|
}
|
|
190
196
|
|
|
191
197
|
export type LocksSimulateKeypadCodeEntryParameters = {
|
|
198
|
+
/**
|
|
199
|
+
* Code that you want to simulate entering on a keypad.
|
|
200
|
+
*/
|
|
192
201
|
code: string
|
|
193
202
|
|
|
203
|
+
/**
|
|
204
|
+
* ID of the device for which you want to simulate a keypad code entry.
|
|
205
|
+
*/
|
|
194
206
|
device_id: string
|
|
195
207
|
}
|
|
196
208
|
|
|
@@ -212,6 +224,9 @@ export type LocksSimulateKeypadCodeEntryOptions = Pick<
|
|
|
212
224
|
>
|
|
213
225
|
|
|
214
226
|
export type LocksSimulateManualLockViaKeypadParameters = {
|
|
227
|
+
/**
|
|
228
|
+
* ID of the device for which you want to simulate a manual lock action using a keypad.
|
|
229
|
+
*/
|
|
215
230
|
device_id: string
|
|
216
231
|
}
|
|
217
232
|
|
|
@@ -175,6 +175,9 @@ export class SeamHttpNoiseSensors {
|
|
|
175
175
|
return SeamHttpNoiseSensorsSimulate.fromClient(this.client, this.defaults)
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
+
/**
|
|
179
|
+
* Returns a list of all [noise sensors](https://docs.seam.co/capability-guides/noise-sensors).
|
|
180
|
+
*/
|
|
178
181
|
list(
|
|
179
182
|
parameters?: NoiseSensorsListParameters,
|
|
180
183
|
options: NoiseSensorsListOptions = {},
|
|
@@ -190,21 +193,69 @@ export class SeamHttpNoiseSensors {
|
|
|
190
193
|
}
|
|
191
194
|
|
|
192
195
|
export type NoiseSensorsListParameters = {
|
|
196
|
+
/**
|
|
197
|
+
* ID of the Connect Webview for which you want to list devices.
|
|
198
|
+
*/
|
|
193
199
|
connect_webview_id?: string | undefined
|
|
200
|
+
/**
|
|
201
|
+
* ID of the connected account for which you want to list devices.
|
|
202
|
+
*/
|
|
194
203
|
connected_account_id?: string | undefined
|
|
204
|
+
/**
|
|
205
|
+
* Array of IDs of the connected accounts for which you want to list devices.
|
|
206
|
+
*/
|
|
195
207
|
connected_account_ids?: Array<string> | undefined
|
|
208
|
+
/**
|
|
209
|
+
* Timestamp by which to limit returned devices. Returns devices created before this timestamp.
|
|
210
|
+
*/
|
|
196
211
|
created_before?: string | undefined
|
|
212
|
+
/**
|
|
213
|
+
* 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.
|
|
214
|
+
*/
|
|
197
215
|
custom_metadata_has?: Record<string, unknown> | undefined
|
|
216
|
+
/**
|
|
217
|
+
* Customer key for which you want to list devices.
|
|
218
|
+
*/
|
|
198
219
|
customer_key?: string | undefined
|
|
220
|
+
/**
|
|
221
|
+
* Array of device IDs for which you want to list devices.
|
|
222
|
+
*/
|
|
199
223
|
device_ids?: Array<string> | undefined
|
|
224
|
+
/**
|
|
225
|
+
* Device type of the noise sensors that you want to list.
|
|
226
|
+
*/
|
|
200
227
|
device_type?: 'noiseaware_activity_zone' | 'minut_sensor' | undefined
|
|
228
|
+
/**
|
|
229
|
+
* Device types of the noise sensors that you want to list.
|
|
230
|
+
*/
|
|
201
231
|
device_types?: Array<'noiseaware_activity_zone' | 'minut_sensor'> | undefined
|
|
232
|
+
/**
|
|
233
|
+
* Numerical limit on the number of devices to return.
|
|
234
|
+
*/
|
|
202
235
|
limit?: number | undefined
|
|
236
|
+
/**
|
|
237
|
+
* Manufacturers of the noise sensors that you want to list.
|
|
238
|
+
*/
|
|
203
239
|
manufacturer?: 'minut' | 'noiseaware' | undefined
|
|
240
|
+
/**
|
|
241
|
+
* Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
|
|
242
|
+
*/
|
|
204
243
|
page_cursor?: string | undefined
|
|
244
|
+
/**
|
|
245
|
+
* 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`.
|
|
246
|
+
*/
|
|
205
247
|
search?: string | undefined
|
|
248
|
+
/**
|
|
249
|
+
* ID of the space for which you want to list devices.
|
|
250
|
+
*/
|
|
206
251
|
space_id?: string | undefined
|
|
252
|
+
/**
|
|
253
|
+
* @deprecated Use `space_id`.
|
|
254
|
+
*/
|
|
207
255
|
unstable_location_id?: string | undefined
|
|
256
|
+
/**
|
|
257
|
+
* Your own internal user ID for the user for which you want to list devices.
|
|
258
|
+
*/
|
|
208
259
|
user_identifier_key?: string | undefined
|
|
209
260
|
}
|
|
210
261
|
|
|
@@ -164,6 +164,9 @@ export class SeamHttpNoiseSensorsNoiseThresholds {
|
|
|
164
164
|
await clientSessions.get()
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
+
/**
|
|
168
|
+
* Creates a new [noise threshold](https://docs.seam.co/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://docs.seam.co/capability-guides/noise-sensors). Thresholds represent the limits of noise tolerated at a property, which can be customized for each hour of the day. Each device has its own default thresholds, but you can use the Seam API to modify them.
|
|
169
|
+
*/
|
|
167
170
|
create(
|
|
168
171
|
parameters: NoiseSensorsNoiseThresholdsCreateParameters,
|
|
169
172
|
options: NoiseSensorsNoiseThresholdsCreateOptions = {},
|
|
@@ -177,6 +180,9 @@ export class SeamHttpNoiseSensorsNoiseThresholds {
|
|
|
177
180
|
})
|
|
178
181
|
}
|
|
179
182
|
|
|
183
|
+
/**
|
|
184
|
+
* Deletes a [noise threshold](https://docs.seam.co/capability-guides/noise-sensors/configure-noise-threshold-settings) from a [noise sensor](https://docs.seam.co/capability-guides/noise-sensors).
|
|
185
|
+
*/
|
|
180
186
|
delete(
|
|
181
187
|
parameters: NoiseSensorsNoiseThresholdsDeleteParameters,
|
|
182
188
|
options: NoiseSensorsNoiseThresholdsDeleteOptions = {},
|
|
@@ -190,6 +196,9 @@ export class SeamHttpNoiseSensorsNoiseThresholds {
|
|
|
190
196
|
})
|
|
191
197
|
}
|
|
192
198
|
|
|
199
|
+
/**
|
|
200
|
+
* Returns a specified [noise threshold](https://docs.seam.co/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://docs.seam.co/capability-guides/noise-sensors).
|
|
201
|
+
*/
|
|
193
202
|
get(
|
|
194
203
|
parameters: NoiseSensorsNoiseThresholdsGetParameters,
|
|
195
204
|
options: NoiseSensorsNoiseThresholdsGetOptions = {},
|
|
@@ -203,6 +212,9 @@ export class SeamHttpNoiseSensorsNoiseThresholds {
|
|
|
203
212
|
})
|
|
204
213
|
}
|
|
205
214
|
|
|
215
|
+
/**
|
|
216
|
+
* Returns a list of all [noise thresholds](https://docs.seam.co/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://docs.seam.co/capability-guides/noise-sensors).
|
|
217
|
+
*/
|
|
206
218
|
list(
|
|
207
219
|
parameters: NoiseSensorsNoiseThresholdsListParameters,
|
|
208
220
|
options: NoiseSensorsNoiseThresholdsListOptions = {},
|
|
@@ -216,6 +228,9 @@ export class SeamHttpNoiseSensorsNoiseThresholds {
|
|
|
216
228
|
})
|
|
217
229
|
}
|
|
218
230
|
|
|
231
|
+
/**
|
|
232
|
+
* Updates a [noise threshold](https://docs.seam.co/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://docs.seam.co/capability-guides/noise-sensors).
|
|
233
|
+
*/
|
|
219
234
|
update(
|
|
220
235
|
parameters: NoiseSensorsNoiseThresholdsUpdateParameters,
|
|
221
236
|
options: NoiseSensorsNoiseThresholdsUpdateOptions = {},
|
|
@@ -231,13 +246,31 @@ export class SeamHttpNoiseSensorsNoiseThresholds {
|
|
|
231
246
|
}
|
|
232
247
|
|
|
233
248
|
export type NoiseSensorsNoiseThresholdsCreateParameters = {
|
|
249
|
+
/**
|
|
250
|
+
* ID of the device for which you want to create a noise threshold.
|
|
251
|
+
*/
|
|
234
252
|
device_id: string
|
|
235
253
|
|
|
254
|
+
/**
|
|
255
|
+
* Time at which the new noise threshold should become inactive daily.
|
|
256
|
+
*/
|
|
236
257
|
ends_daily_at: string
|
|
237
258
|
|
|
259
|
+
/**
|
|
260
|
+
* Name of the new noise threshold.
|
|
261
|
+
*/
|
|
238
262
|
name?: string | undefined
|
|
263
|
+
/**
|
|
264
|
+
* Noise level in decibels for the new noise threshold.
|
|
265
|
+
*/
|
|
239
266
|
noise_threshold_decibels?: number | undefined
|
|
267
|
+
/**
|
|
268
|
+
* Noise level in Noiseaware Noise Risk Score (NRS) for the new noise threshold. This parameter is only relevant for [Noiseaware sensors](https://docs.seam.co/device-and-system-integration-guides/noiseaware-sensors).
|
|
269
|
+
*/
|
|
240
270
|
noise_threshold_nrs?: number | undefined
|
|
271
|
+
/**
|
|
272
|
+
* Time at which the new noise threshold should become active daily.
|
|
273
|
+
*/
|
|
241
274
|
starts_daily_at: string
|
|
242
275
|
}
|
|
243
276
|
|
|
@@ -256,8 +289,14 @@ export type NoiseSensorsNoiseThresholdsCreateRequest = SeamHttpRequest<
|
|
|
256
289
|
export interface NoiseSensorsNoiseThresholdsCreateOptions {}
|
|
257
290
|
|
|
258
291
|
export type NoiseSensorsNoiseThresholdsDeleteParameters = {
|
|
292
|
+
/**
|
|
293
|
+
* ID of the device that contains the noise threshold that you want to delete.
|
|
294
|
+
*/
|
|
259
295
|
device_id: string
|
|
260
296
|
|
|
297
|
+
/**
|
|
298
|
+
* ID of the noise threshold that you want to delete.
|
|
299
|
+
*/
|
|
261
300
|
noise_threshold_id: string
|
|
262
301
|
}
|
|
263
302
|
|
|
@@ -274,6 +313,9 @@ export type NoiseSensorsNoiseThresholdsDeleteRequest = SeamHttpRequest<
|
|
|
274
313
|
export interface NoiseSensorsNoiseThresholdsDeleteOptions {}
|
|
275
314
|
|
|
276
315
|
export type NoiseSensorsNoiseThresholdsGetParameters = {
|
|
316
|
+
/**
|
|
317
|
+
* ID of the noise threshold that you want to get.
|
|
318
|
+
*/
|
|
277
319
|
noise_threshold_id: string
|
|
278
320
|
}
|
|
279
321
|
|
|
@@ -292,6 +334,9 @@ export type NoiseSensorsNoiseThresholdsGetRequest = SeamHttpRequest<
|
|
|
292
334
|
export interface NoiseSensorsNoiseThresholdsGetOptions {}
|
|
293
335
|
|
|
294
336
|
export type NoiseSensorsNoiseThresholdsListParameters = {
|
|
337
|
+
/**
|
|
338
|
+
* ID of the device for which you want to list noise thresholds.
|
|
339
|
+
*/
|
|
295
340
|
device_id: string
|
|
296
341
|
}
|
|
297
342
|
|
|
@@ -310,14 +355,35 @@ export type NoiseSensorsNoiseThresholdsListRequest = SeamHttpRequest<
|
|
|
310
355
|
export interface NoiseSensorsNoiseThresholdsListOptions {}
|
|
311
356
|
|
|
312
357
|
export type NoiseSensorsNoiseThresholdsUpdateParameters = {
|
|
358
|
+
/**
|
|
359
|
+
* ID of the device that contains the noise threshold that you want to update.
|
|
360
|
+
*/
|
|
313
361
|
device_id: string
|
|
314
362
|
|
|
363
|
+
/**
|
|
364
|
+
* Time at which the noise threshold should become inactive daily.
|
|
365
|
+
*/
|
|
315
366
|
ends_daily_at?: string | undefined
|
|
367
|
+
/**
|
|
368
|
+
* Name of the noise threshold that you want to update.
|
|
369
|
+
*/
|
|
316
370
|
name?: string | undefined
|
|
371
|
+
/**
|
|
372
|
+
* Noise level in decibels for the noise threshold.
|
|
373
|
+
*/
|
|
317
374
|
noise_threshold_decibels?: number | undefined
|
|
375
|
+
/**
|
|
376
|
+
* ID of the noise threshold that you want to update.
|
|
377
|
+
*/
|
|
318
378
|
noise_threshold_id: string
|
|
319
379
|
|
|
380
|
+
/**
|
|
381
|
+
* Noise level in Noiseaware Noise Risk Score (NRS) for the noise threshold. This parameter is only relevant for [Noiseaware sensors](https://docs.seam.co/device-and-system-integration-guides/noiseaware-sensors).
|
|
382
|
+
*/
|
|
320
383
|
noise_threshold_nrs?: number | undefined
|
|
384
|
+
/**
|
|
385
|
+
* Time at which the noise threshold should become active daily.
|
|
386
|
+
*/
|
|
321
387
|
starts_daily_at?: string | undefined
|
|
322
388
|
}
|
|
323
389
|
|
|
@@ -160,6 +160,9 @@ export class SeamHttpNoiseSensorsSimulate {
|
|
|
160
160
|
await clientSessions.get()
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
+
/**
|
|
164
|
+
* Simulates the triggering of a [noise threshold](https://docs.seam.co/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://docs.seam.co/capability-guides/noise-sensors) in a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
|
|
165
|
+
*/
|
|
163
166
|
triggerNoiseThreshold(
|
|
164
167
|
parameters: NoiseSensorsSimulateTriggerNoiseThresholdParameters,
|
|
165
168
|
options: NoiseSensorsSimulateTriggerNoiseThresholdOptions = {},
|
|
@@ -175,6 +178,9 @@ export class SeamHttpNoiseSensorsSimulate {
|
|
|
175
178
|
}
|
|
176
179
|
|
|
177
180
|
export type NoiseSensorsSimulateTriggerNoiseThresholdParameters = {
|
|
181
|
+
/**
|
|
182
|
+
* ID of the device for which you want to simulate the triggering of a noise threshold.
|
|
183
|
+
*/
|
|
178
184
|
device_id: string
|
|
179
185
|
}
|
|
180
186
|
|
|
@@ -167,6 +167,9 @@ export class SeamHttpPhones {
|
|
|
167
167
|
return SeamHttpPhonesSimulate.fromClient(this.client, this.defaults)
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
+
/**
|
|
171
|
+
* Deactivates a phone, which is useful, for example, if a user has lost their phone. For more information, see [App User Lost Phone Process](https://docs.seam.co/capability-guides/mobile-access/managing-phones-for-a-user-identity#app-user-lost-phone-process).
|
|
172
|
+
*/
|
|
170
173
|
deactivate(
|
|
171
174
|
parameters: PhonesDeactivateParameters,
|
|
172
175
|
options: PhonesDeactivateOptions = {},
|
|
@@ -180,6 +183,9 @@ export class SeamHttpPhones {
|
|
|
180
183
|
})
|
|
181
184
|
}
|
|
182
185
|
|
|
186
|
+
/**
|
|
187
|
+
* Returns a specified [phone](https://docs.seam.co/capability-guides/mobile-access/managing-phones-for-a-user-identity).
|
|
188
|
+
*/
|
|
183
189
|
get(
|
|
184
190
|
parameters: PhonesGetParameters,
|
|
185
191
|
options: PhonesGetOptions = {},
|
|
@@ -193,6 +199,9 @@ export class SeamHttpPhones {
|
|
|
193
199
|
})
|
|
194
200
|
}
|
|
195
201
|
|
|
202
|
+
/**
|
|
203
|
+
* Returns a list of all [phones](https://docs.seam.co/capability-guides/mobile-access/managing-phones-for-a-user-identity). To filter the list of returned phones by a specific owner user identity or credential, include the `owner_user_identity_id` or `acs_credential_id`, respectively, in the request body.
|
|
204
|
+
*/
|
|
196
205
|
list(
|
|
197
206
|
parameters?: PhonesListParameters,
|
|
198
207
|
options: PhonesListOptions = {},
|
|
@@ -208,6 +217,9 @@ export class SeamHttpPhones {
|
|
|
208
217
|
}
|
|
209
218
|
|
|
210
219
|
export type PhonesDeactivateParameters = {
|
|
220
|
+
/**
|
|
221
|
+
* Device ID of the phone that you want to deactivate.
|
|
222
|
+
*/
|
|
211
223
|
device_id: string
|
|
212
224
|
}
|
|
213
225
|
|
|
@@ -221,6 +233,9 @@ export type PhonesDeactivateRequest = SeamHttpRequest<void, undefined>
|
|
|
221
233
|
export interface PhonesDeactivateOptions {}
|
|
222
234
|
|
|
223
235
|
export type PhonesGetParameters = {
|
|
236
|
+
/**
|
|
237
|
+
* Device ID of the phone that you want to get.
|
|
238
|
+
*/
|
|
224
239
|
device_id: string
|
|
225
240
|
}
|
|
226
241
|
|
|
@@ -234,7 +249,13 @@ export type PhonesGetRequest = SeamHttpRequest<PhonesGetResponse, 'phone'>
|
|
|
234
249
|
export interface PhonesGetOptions {}
|
|
235
250
|
|
|
236
251
|
export type PhonesListParameters = {
|
|
252
|
+
/**
|
|
253
|
+
* ID of the [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) by which you want to filter the list of returned phones.
|
|
254
|
+
*/
|
|
237
255
|
acs_credential_id?: string | undefined
|
|
256
|
+
/**
|
|
257
|
+
* ID of the user identity that represents the owner by which you want to filter the list of returned phones.
|
|
258
|
+
*/
|
|
238
259
|
owner_user_identity_id?: string | undefined
|
|
239
260
|
}
|
|
240
261
|
|
|
@@ -161,6 +161,9 @@ export class SeamHttpPhonesSimulate {
|
|
|
161
161
|
await clientSessions.get()
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
+
/**
|
|
165
|
+
* Creates a new simulated phone in a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces). See also [Creating a Simulated Phone for a User Identity](https://docs.seam.co/capability-guides/mobile-access/developing-in-a-sandbox-workspace#creating-a-simulated-phone-for-a-user-identity).
|
|
166
|
+
*/
|
|
164
167
|
createSandboxPhone(
|
|
165
168
|
parameters: PhonesSimulateCreateSandboxPhoneParameters,
|
|
166
169
|
options: PhonesSimulateCreateSandboxPhoneOptions = {},
|
|
@@ -176,25 +179,67 @@ export class SeamHttpPhonesSimulate {
|
|
|
176
179
|
}
|
|
177
180
|
|
|
178
181
|
export type PhonesSimulateCreateSandboxPhoneParameters = {
|
|
182
|
+
/**
|
|
183
|
+
* ASSA ABLOY metadata that you want to associate with the simulated phone.
|
|
184
|
+
*/
|
|
179
185
|
assa_abloy_metadata?:
|
|
180
186
|
| {
|
|
187
|
+
/**
|
|
188
|
+
* Application version that you want to use for the simulated phone.
|
|
189
|
+
*/
|
|
181
190
|
application_version?: string | undefined
|
|
191
|
+
/**
|
|
192
|
+
* Indicates whether the simulated phone should have Bluetooth low energy (BLE) capability.
|
|
193
|
+
*/
|
|
182
194
|
ble_capability?: boolean | undefined
|
|
195
|
+
/**
|
|
196
|
+
* Indicates whether the simulated phone should have host card emulation (HCE) capability.
|
|
197
|
+
*/
|
|
183
198
|
hce_capability?: boolean | undefined
|
|
199
|
+
/**
|
|
200
|
+
* Indicates whether the simulated phone should have near-field communication (NFC) capability.
|
|
201
|
+
*/
|
|
184
202
|
nfc_capability?: boolean | undefined
|
|
203
|
+
/**
|
|
204
|
+
* SEOS applet version that you want to use for the simulated phone.
|
|
205
|
+
*/
|
|
185
206
|
seos_applet_version?: string | undefined
|
|
207
|
+
/**
|
|
208
|
+
* ID of the SEOS trusted service manager (TSM) endpoint that you want to use for the simulated phone.
|
|
209
|
+
*/
|
|
186
210
|
seos_tsm_endpoint_id?: number | undefined
|
|
187
211
|
}
|
|
188
212
|
| undefined
|
|
213
|
+
/**
|
|
214
|
+
* ID of the custom SDK installation that you want to use for the simulated phone.
|
|
215
|
+
*/
|
|
189
216
|
custom_sdk_installation_id?: string | undefined
|
|
217
|
+
/**
|
|
218
|
+
* Metadata that you want to associate with the simulated phone.
|
|
219
|
+
*/
|
|
190
220
|
phone_metadata?:
|
|
191
221
|
| {
|
|
222
|
+
/**
|
|
223
|
+
* Manufacturer that you want to use for the simulated phone.
|
|
224
|
+
*/
|
|
192
225
|
device_manufacturer?: string | undefined
|
|
226
|
+
/**
|
|
227
|
+
* Device model that you want to use for the simulated phone.
|
|
228
|
+
*/
|
|
193
229
|
device_model?: string | undefined
|
|
230
|
+
/**
|
|
231
|
+
* Mobile operating system that you want to use for the simulated phone.
|
|
232
|
+
*/
|
|
194
233
|
operating_system?: 'android' | 'ios' | undefined
|
|
234
|
+
/**
|
|
235
|
+
* Mobile operating system version that you want to use for the simulated phone.
|
|
236
|
+
*/
|
|
195
237
|
os_version?: string | undefined
|
|
196
238
|
}
|
|
197
239
|
| undefined
|
|
240
|
+
/**
|
|
241
|
+
* ID of the user identity that you want to associate with the simulated phone.
|
|
242
|
+
*/
|
|
198
243
|
user_identity_id: string
|
|
199
244
|
}
|
|
200
245
|
|