@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
|
@@ -160,6 +160,9 @@ export class SeamHttpAcsEncodersSimulate {
|
|
|
160
160
|
await clientSessions.get()
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
+
/**
|
|
164
|
+
* Simulates that the next attempt to encode a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) using the specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners) will fail. You can only perform this action within a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
|
|
165
|
+
*/
|
|
163
166
|
nextCredentialEncodeWillFail(
|
|
164
167
|
parameters: AcsEncodersSimulateNextCredentialEncodeWillFailParameters,
|
|
165
168
|
options: AcsEncodersSimulateNextCredentialEncodeWillFailOptions = {},
|
|
@@ -173,6 +176,9 @@ export class SeamHttpAcsEncodersSimulate {
|
|
|
173
176
|
})
|
|
174
177
|
}
|
|
175
178
|
|
|
179
|
+
/**
|
|
180
|
+
* Simulates that the next attempt to encode a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) using the specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners) will succeed. You can only perform this action within a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
|
|
181
|
+
*/
|
|
176
182
|
nextCredentialEncodeWillSucceed(
|
|
177
183
|
parameters: AcsEncodersSimulateNextCredentialEncodeWillSucceedParameters,
|
|
178
184
|
options: AcsEncodersSimulateNextCredentialEncodeWillSucceedOptions = {},
|
|
@@ -186,6 +192,9 @@ export class SeamHttpAcsEncodersSimulate {
|
|
|
186
192
|
})
|
|
187
193
|
}
|
|
188
194
|
|
|
195
|
+
/**
|
|
196
|
+
* Simulates that the next attempt to scan a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) using the specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners) will fail. You can only perform this action within a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
|
|
197
|
+
*/
|
|
189
198
|
nextCredentialScanWillFail(
|
|
190
199
|
parameters: AcsEncodersSimulateNextCredentialScanWillFailParameters,
|
|
191
200
|
options: AcsEncodersSimulateNextCredentialScanWillFailOptions = {},
|
|
@@ -199,6 +208,9 @@ export class SeamHttpAcsEncodersSimulate {
|
|
|
199
208
|
})
|
|
200
209
|
}
|
|
201
210
|
|
|
211
|
+
/**
|
|
212
|
+
* Simulates that the next attempt to scan a [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) using the specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners) will succeed. You can only perform this action within a [sandbox workspace](https://docs.seam.co/core-concepts/workspaces#sandbox-workspaces).
|
|
213
|
+
*/
|
|
202
214
|
nextCredentialScanWillSucceed(
|
|
203
215
|
parameters: AcsEncodersSimulateNextCredentialScanWillSucceedParameters,
|
|
204
216
|
options: AcsEncodersSimulateNextCredentialScanWillSucceedOptions = {},
|
|
@@ -214,14 +226,23 @@ export class SeamHttpAcsEncodersSimulate {
|
|
|
214
226
|
}
|
|
215
227
|
|
|
216
228
|
export type AcsEncodersSimulateNextCredentialEncodeWillFailParameters = {
|
|
229
|
+
/**
|
|
230
|
+
* ID of the `acs_encoder` that will be used in the next request to encode the `acs_credential`.
|
|
231
|
+
*/
|
|
217
232
|
acs_encoder_id: string
|
|
218
233
|
|
|
234
|
+
/**
|
|
235
|
+
* Code of the error to simulate.
|
|
236
|
+
*/
|
|
219
237
|
error_code?:
|
|
220
238
|
| 'no_credential_on_encoder'
|
|
221
239
|
| 'encoding_interrupted'
|
|
222
240
|
| 'uncategorized_error'
|
|
223
241
|
| 'action_attempt_expired'
|
|
224
242
|
| undefined
|
|
243
|
+
/**
|
|
244
|
+
* ID of the `acs_credential` that will fail to be encoded onto a card in the next request.
|
|
245
|
+
*/
|
|
225
246
|
acs_credential_id?: string | undefined
|
|
226
247
|
}
|
|
227
248
|
|
|
@@ -236,8 +257,14 @@ export type AcsEncodersSimulateNextCredentialEncodeWillFailRequest =
|
|
|
236
257
|
export interface AcsEncodersSimulateNextCredentialEncodeWillFailOptions {}
|
|
237
258
|
|
|
238
259
|
export type AcsEncodersSimulateNextCredentialEncodeWillSucceedParameters = {
|
|
260
|
+
/**
|
|
261
|
+
* ID of the `acs_encoder` that will be used in the next request to encode the `acs_credential`.
|
|
262
|
+
*/
|
|
239
263
|
acs_encoder_id: string
|
|
240
264
|
|
|
265
|
+
/**
|
|
266
|
+
* Scenario to simulate.
|
|
267
|
+
*/
|
|
241
268
|
scenario?: 'credential_is_issued' | undefined
|
|
242
269
|
}
|
|
243
270
|
|
|
@@ -252,6 +279,9 @@ export type AcsEncodersSimulateNextCredentialEncodeWillSucceedRequest =
|
|
|
252
279
|
export interface AcsEncodersSimulateNextCredentialEncodeWillSucceedOptions {}
|
|
253
280
|
|
|
254
281
|
export type AcsEncodersSimulateNextCredentialScanWillFailParameters = {
|
|
282
|
+
/**
|
|
283
|
+
* ID of the `acs_encoder` that will fail to scan the `acs_credential` in the next request.
|
|
284
|
+
*/
|
|
255
285
|
acs_encoder_id: string
|
|
256
286
|
|
|
257
287
|
error_code?:
|
|
@@ -259,6 +289,7 @@ export type AcsEncodersSimulateNextCredentialScanWillFailParameters = {
|
|
|
259
289
|
| 'uncategorized_error'
|
|
260
290
|
| 'action_attempt_expired'
|
|
261
291
|
| undefined
|
|
292
|
+
|
|
262
293
|
acs_credential_id_on_seam?: string | undefined
|
|
263
294
|
}
|
|
264
295
|
|
|
@@ -273,9 +304,18 @@ export type AcsEncodersSimulateNextCredentialScanWillFailRequest =
|
|
|
273
304
|
export interface AcsEncodersSimulateNextCredentialScanWillFailOptions {}
|
|
274
305
|
|
|
275
306
|
export type AcsEncodersSimulateNextCredentialScanWillSucceedParameters = {
|
|
307
|
+
/**
|
|
308
|
+
* ID of the Seam `acs_credential` that matches the `acs_credential` on the encoder in this simulation.
|
|
309
|
+
*/
|
|
276
310
|
acs_credential_id_on_seam?: string | undefined
|
|
311
|
+
/**
|
|
312
|
+
* ID of the `acs_encoder` that will be used in the next request to scan the `acs_credential`.
|
|
313
|
+
*/
|
|
277
314
|
acs_encoder_id: string
|
|
278
315
|
|
|
316
|
+
/**
|
|
317
|
+
* Scenario to simulate.
|
|
318
|
+
*/
|
|
279
319
|
scenario?:
|
|
280
320
|
| 'credential_exists_on_seam'
|
|
281
321
|
| 'credential_on_encoder_needs_update'
|
|
@@ -163,6 +163,9 @@ export class SeamHttpAcsEntrances {
|
|
|
163
163
|
await clientSessions.get()
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
+
/**
|
|
167
|
+
* Returns a specified [access system entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).
|
|
168
|
+
*/
|
|
166
169
|
get(
|
|
167
170
|
parameters: AcsEntrancesGetParameters,
|
|
168
171
|
options: AcsEntrancesGetOptions = {},
|
|
@@ -176,6 +179,9 @@ export class SeamHttpAcsEntrances {
|
|
|
176
179
|
})
|
|
177
180
|
}
|
|
178
181
|
|
|
182
|
+
/**
|
|
183
|
+
* Grants a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) access to a specified [access system entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).
|
|
184
|
+
*/
|
|
179
185
|
grantAccess(
|
|
180
186
|
parameters: AcsEntrancesGrantAccessParameters,
|
|
181
187
|
options: AcsEntrancesGrantAccessOptions = {},
|
|
@@ -189,6 +195,9 @@ export class SeamHttpAcsEntrances {
|
|
|
189
195
|
})
|
|
190
196
|
}
|
|
191
197
|
|
|
198
|
+
/**
|
|
199
|
+
* Returns a list of all [access system entrances](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).
|
|
200
|
+
*/
|
|
192
201
|
list(
|
|
193
202
|
parameters?: AcsEntrancesListParameters,
|
|
194
203
|
options: AcsEntrancesListOptions = {},
|
|
@@ -202,6 +211,9 @@ export class SeamHttpAcsEntrances {
|
|
|
202
211
|
})
|
|
203
212
|
}
|
|
204
213
|
|
|
214
|
+
/**
|
|
215
|
+
* Returns a list of all [credentials](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) with access to a specified [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details).
|
|
216
|
+
*/
|
|
205
217
|
listCredentialsWithAccess(
|
|
206
218
|
parameters: AcsEntrancesListCredentialsWithAccessParameters,
|
|
207
219
|
options: AcsEntrancesListCredentialsWithAccessOptions = {},
|
|
@@ -215,6 +227,9 @@ export class SeamHttpAcsEntrances {
|
|
|
215
227
|
})
|
|
216
228
|
}
|
|
217
229
|
|
|
230
|
+
/**
|
|
231
|
+
* Remotely unlocks a specified [entrance](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details) using a cloud_key credential. Returns an action attempt that tracks the progress of the unlock operation.
|
|
232
|
+
*/
|
|
218
233
|
unlock(
|
|
219
234
|
parameters: AcsEntrancesUnlockParameters,
|
|
220
235
|
options: AcsEntrancesUnlockOptions = {},
|
|
@@ -230,6 +245,9 @@ export class SeamHttpAcsEntrances {
|
|
|
230
245
|
}
|
|
231
246
|
|
|
232
247
|
export type AcsEntrancesGetParameters = {
|
|
248
|
+
/**
|
|
249
|
+
* ID of the entrance that you want to get.
|
|
250
|
+
*/
|
|
233
251
|
acs_entrance_id: string
|
|
234
252
|
}
|
|
235
253
|
|
|
@@ -246,9 +264,18 @@ export type AcsEntrancesGetRequest = SeamHttpRequest<
|
|
|
246
264
|
export interface AcsEntrancesGetOptions {}
|
|
247
265
|
|
|
248
266
|
export type AcsEntrancesGrantAccessParameters = {
|
|
267
|
+
/**
|
|
268
|
+
* ID of the entrance to which you want to grant an access system user access.
|
|
269
|
+
*/
|
|
249
270
|
acs_entrance_id: string
|
|
250
271
|
|
|
272
|
+
/**
|
|
273
|
+
* ID of the access system user to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id.
|
|
274
|
+
*/
|
|
251
275
|
acs_user_id?: string | undefined
|
|
276
|
+
/**
|
|
277
|
+
* ID of the user identity to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id. If the ACS system contains an ACS user with the same `email_address` or `phone_number` as the user identity that you specify, they are linked, and the access group membership belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created.
|
|
278
|
+
*/
|
|
252
279
|
user_identity_id?: string | undefined
|
|
253
280
|
}
|
|
254
281
|
|
|
@@ -262,16 +289,49 @@ export type AcsEntrancesGrantAccessRequest = SeamHttpRequest<void, undefined>
|
|
|
262
289
|
export interface AcsEntrancesGrantAccessOptions {}
|
|
263
290
|
|
|
264
291
|
export type AcsEntrancesListParameters = {
|
|
292
|
+
/**
|
|
293
|
+
* ID of the access method for which you want to retrieve all entrances to which it grants access.
|
|
294
|
+
*/
|
|
265
295
|
access_method_id?: string | undefined
|
|
296
|
+
/**
|
|
297
|
+
* ID of the credential for which you want to retrieve all entrances.
|
|
298
|
+
*/
|
|
266
299
|
acs_credential_id?: string | undefined
|
|
300
|
+
/**
|
|
301
|
+
* IDs of the entrances for which you want to retrieve all entrances.
|
|
302
|
+
*/
|
|
267
303
|
acs_entrance_ids?: Array<string> | undefined
|
|
304
|
+
/**
|
|
305
|
+
* ID of the access system for which you want to retrieve all entrances.
|
|
306
|
+
*/
|
|
268
307
|
acs_system_id?: string | undefined
|
|
308
|
+
/**
|
|
309
|
+
* ID of the connected account for which you want to retrieve all entrances.
|
|
310
|
+
*/
|
|
269
311
|
connected_account_id?: string | undefined
|
|
312
|
+
/**
|
|
313
|
+
* Customer key for which you want to list entrances.
|
|
314
|
+
*/
|
|
270
315
|
customer_key?: string | undefined
|
|
316
|
+
/**
|
|
317
|
+
* Maximum number of records to return per page.
|
|
318
|
+
*/
|
|
271
319
|
limit?: number | undefined
|
|
320
|
+
/**
|
|
321
|
+
* @deprecated Use `space_id`.
|
|
322
|
+
*/
|
|
272
323
|
location_id?: string | undefined
|
|
324
|
+
/**
|
|
325
|
+
* Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
|
|
326
|
+
*/
|
|
273
327
|
page_cursor?: string | undefined
|
|
328
|
+
/**
|
|
329
|
+
* String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`.
|
|
330
|
+
*/
|
|
274
331
|
search?: string | undefined
|
|
332
|
+
/**
|
|
333
|
+
* ID of the space for which you want to list entrances.
|
|
334
|
+
*/
|
|
275
335
|
space_id?: string | undefined
|
|
276
336
|
}
|
|
277
337
|
|
|
@@ -288,8 +348,14 @@ export type AcsEntrancesListRequest = SeamHttpRequest<
|
|
|
288
348
|
export interface AcsEntrancesListOptions {}
|
|
289
349
|
|
|
290
350
|
export type AcsEntrancesListCredentialsWithAccessParameters = {
|
|
351
|
+
/**
|
|
352
|
+
* ID of the entrance for which you want to list all credentials that grant access.
|
|
353
|
+
*/
|
|
291
354
|
acs_entrance_id: string
|
|
292
355
|
|
|
356
|
+
/**
|
|
357
|
+
* Conditions that credentials must meet to be included in the returned list.
|
|
358
|
+
*/
|
|
293
359
|
include_if?: Array<'visionline_metadata.is_valid'> | undefined
|
|
294
360
|
}
|
|
295
361
|
|
|
@@ -308,8 +374,14 @@ export type AcsEntrancesListCredentialsWithAccessRequest = SeamHttpRequest<
|
|
|
308
374
|
export interface AcsEntrancesListCredentialsWithAccessOptions {}
|
|
309
375
|
|
|
310
376
|
export type AcsEntrancesUnlockParameters = {
|
|
377
|
+
/**
|
|
378
|
+
* ID of the cloud_key credential to use for the unlock operation.
|
|
379
|
+
*/
|
|
311
380
|
acs_credential_id: string
|
|
312
381
|
|
|
382
|
+
/**
|
|
383
|
+
* ID of the entrance to unlock.
|
|
384
|
+
*/
|
|
313
385
|
acs_entrance_id: string
|
|
314
386
|
}
|
|
315
387
|
|
|
@@ -161,6 +161,9 @@ export class SeamHttpAcsSystems {
|
|
|
161
161
|
await clientSessions.get()
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
+
/**
|
|
165
|
+
* Returns a specified [access system](https://docs.seam.co/low-level-apis/access-systems).
|
|
166
|
+
*/
|
|
164
167
|
get(
|
|
165
168
|
parameters: AcsSystemsGetParameters,
|
|
166
169
|
options: AcsSystemsGetOptions = {},
|
|
@@ -174,6 +177,11 @@ export class SeamHttpAcsSystems {
|
|
|
174
177
|
})
|
|
175
178
|
}
|
|
176
179
|
|
|
180
|
+
/**
|
|
181
|
+
* Returns a list of all [access systems](https://docs.seam.co/low-level-apis/access-systems).
|
|
182
|
+
*
|
|
183
|
+
* To filter the list of returned access systems by a specific connected account ID, include the `connected_account_id` in the request body. If you omit the `connected_account_id` parameter, the response includes all access systems connected to your workspace.
|
|
184
|
+
*/
|
|
177
185
|
list(
|
|
178
186
|
parameters?: AcsSystemsListParameters,
|
|
179
187
|
options: AcsSystemsListOptions = {},
|
|
@@ -187,6 +195,11 @@ export class SeamHttpAcsSystems {
|
|
|
187
195
|
})
|
|
188
196
|
}
|
|
189
197
|
|
|
198
|
+
/**
|
|
199
|
+
* Returns a list of all credential manager systems that are compatible with a specified [access system](https://docs.seam.co/low-level-apis/access-systems).
|
|
200
|
+
*
|
|
201
|
+
* Specify the access system for which you want to retrieve all compatible credential manager systems by including the corresponding `acs_system_id` in the request body.
|
|
202
|
+
*/
|
|
190
203
|
listCompatibleCredentialManagerAcsSystems(
|
|
191
204
|
parameters: AcsSystemsListCompatibleCredentialManagerAcsSystemsParameters,
|
|
192
205
|
options: AcsSystemsListCompatibleCredentialManagerAcsSystemsOptions = {},
|
|
@@ -200,6 +213,9 @@ export class SeamHttpAcsSystems {
|
|
|
200
213
|
})
|
|
201
214
|
}
|
|
202
215
|
|
|
216
|
+
/**
|
|
217
|
+
* Reports ACS system device status including encoders and entrances.
|
|
218
|
+
*/
|
|
203
219
|
reportDevices(
|
|
204
220
|
parameters: AcsSystemsReportDevicesParameters,
|
|
205
221
|
options: AcsSystemsReportDevicesOptions = {},
|
|
@@ -215,6 +231,9 @@ export class SeamHttpAcsSystems {
|
|
|
215
231
|
}
|
|
216
232
|
|
|
217
233
|
export type AcsSystemsGetParameters = {
|
|
234
|
+
/**
|
|
235
|
+
* ID of the access system that you want to get.
|
|
236
|
+
*/
|
|
218
237
|
acs_system_id: string
|
|
219
238
|
}
|
|
220
239
|
|
|
@@ -231,8 +250,17 @@ export type AcsSystemsGetRequest = SeamHttpRequest<
|
|
|
231
250
|
export interface AcsSystemsGetOptions {}
|
|
232
251
|
|
|
233
252
|
export type AcsSystemsListParameters = {
|
|
253
|
+
/**
|
|
254
|
+
* ID of the connected account by which you want to filter the list of access systems.
|
|
255
|
+
*/
|
|
234
256
|
connected_account_id?: string | undefined
|
|
257
|
+
/**
|
|
258
|
+
* Customer key for which you want to list access systems.
|
|
259
|
+
*/
|
|
235
260
|
customer_key?: string | undefined
|
|
261
|
+
/**
|
|
262
|
+
* String for which to search. Filters returned access systems to include all records that satisfy a partial match using `name` or `acs_system_id`.
|
|
263
|
+
*/
|
|
236
264
|
search?: string | undefined
|
|
237
265
|
}
|
|
238
266
|
|
|
@@ -249,6 +277,9 @@ export type AcsSystemsListRequest = SeamHttpRequest<
|
|
|
249
277
|
export interface AcsSystemsListOptions {}
|
|
250
278
|
|
|
251
279
|
export type AcsSystemsListCompatibleCredentialManagerAcsSystemsParameters = {
|
|
280
|
+
/**
|
|
281
|
+
* ID of the access system for which you want to retrieve all compatible credential manager systems.
|
|
282
|
+
*/
|
|
252
283
|
acs_system_id: string
|
|
253
284
|
}
|
|
254
285
|
|
|
@@ -268,28 +299,61 @@ export type AcsSystemsListCompatibleCredentialManagerAcsSystemsRequest =
|
|
|
268
299
|
export interface AcsSystemsListCompatibleCredentialManagerAcsSystemsOptions {}
|
|
269
300
|
|
|
270
301
|
export type AcsSystemsReportDevicesParameters = {
|
|
302
|
+
/**
|
|
303
|
+
* Array of ACS encoders to report
|
|
304
|
+
*/
|
|
271
305
|
acs_encoders?:
|
|
272
306
|
| Array<{
|
|
307
|
+
/**
|
|
308
|
+
* Hotek-specific metadata associated with the entrance.
|
|
309
|
+
*/
|
|
273
310
|
hotek_metadata?:
|
|
274
311
|
| {
|
|
312
|
+
/**
|
|
313
|
+
* The encoder number determined by the USB port connection.
|
|
314
|
+
*/
|
|
275
315
|
encoder_number?: string | undefined
|
|
276
316
|
}
|
|
277
317
|
| undefined
|
|
318
|
+
/**
|
|
319
|
+
* Whether the encoder is removed
|
|
320
|
+
*/
|
|
278
321
|
is_removed?: boolean | undefined
|
|
279
322
|
}>
|
|
280
323
|
| undefined
|
|
324
|
+
/**
|
|
325
|
+
* Array of ACS entrances to report
|
|
326
|
+
*/
|
|
281
327
|
acs_entrances?:
|
|
282
328
|
| Array<{
|
|
329
|
+
/**
|
|
330
|
+
* Hotek-specific metadata associated with the entrance.
|
|
331
|
+
*/
|
|
283
332
|
hotek_metadata?:
|
|
284
333
|
| {
|
|
334
|
+
/**
|
|
335
|
+
* The common area name
|
|
336
|
+
*/
|
|
285
337
|
common_area_name?: string | undefined
|
|
338
|
+
/**
|
|
339
|
+
* The room number identifier
|
|
340
|
+
*/
|
|
286
341
|
common_area_number?: string | undefined
|
|
342
|
+
/**
|
|
343
|
+
* The room number identifier
|
|
344
|
+
*/
|
|
287
345
|
room_number?: string | undefined
|
|
288
346
|
}
|
|
289
347
|
| undefined
|
|
348
|
+
/**
|
|
349
|
+
* Whether the entrance is removed
|
|
350
|
+
*/
|
|
290
351
|
is_removed?: boolean | undefined
|
|
291
352
|
}>
|
|
292
353
|
| undefined
|
|
354
|
+
/**
|
|
355
|
+
* ID of the ACS system to report resources for
|
|
356
|
+
*/
|
|
293
357
|
acs_system_id: string
|
|
294
358
|
}
|
|
295
359
|
|