@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
|
@@ -163,6 +163,9 @@ export class SeamHttpAcsAccessGroups {
|
|
|
163
163
|
await clientSessions.get()
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
+
/**
|
|
167
|
+
* Adds a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) to a specified [access group](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups).
|
|
168
|
+
*/
|
|
166
169
|
addUser(
|
|
167
170
|
parameters: AcsAccessGroupsAddUserParameters,
|
|
168
171
|
options: AcsAccessGroupsAddUserOptions = {},
|
|
@@ -176,6 +179,9 @@ export class SeamHttpAcsAccessGroups {
|
|
|
176
179
|
})
|
|
177
180
|
}
|
|
178
181
|
|
|
182
|
+
/**
|
|
183
|
+
* Deletes a specified [access group](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups).
|
|
184
|
+
*/
|
|
179
185
|
delete(
|
|
180
186
|
parameters: AcsAccessGroupsDeleteParameters,
|
|
181
187
|
options: AcsAccessGroupsDeleteOptions = {},
|
|
@@ -189,6 +195,9 @@ export class SeamHttpAcsAccessGroups {
|
|
|
189
195
|
})
|
|
190
196
|
}
|
|
191
197
|
|
|
198
|
+
/**
|
|
199
|
+
* Returns a specified [access group](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups).
|
|
200
|
+
*/
|
|
192
201
|
get(
|
|
193
202
|
parameters: AcsAccessGroupsGetParameters,
|
|
194
203
|
options: AcsAccessGroupsGetOptions = {},
|
|
@@ -202,6 +211,9 @@ export class SeamHttpAcsAccessGroups {
|
|
|
202
211
|
})
|
|
203
212
|
}
|
|
204
213
|
|
|
214
|
+
/**
|
|
215
|
+
* Returns a list of all [access groups](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups).
|
|
216
|
+
*/
|
|
205
217
|
list(
|
|
206
218
|
parameters?: AcsAccessGroupsListParameters,
|
|
207
219
|
options: AcsAccessGroupsListOptions = {},
|
|
@@ -215,6 +227,9 @@ export class SeamHttpAcsAccessGroups {
|
|
|
215
227
|
})
|
|
216
228
|
}
|
|
217
229
|
|
|
230
|
+
/**
|
|
231
|
+
* Returns a list of all accessible entrances for a specified [access group](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups).
|
|
232
|
+
*/
|
|
218
233
|
listAccessibleEntrances(
|
|
219
234
|
parameters: AcsAccessGroupsListAccessibleEntrancesParameters,
|
|
220
235
|
options: AcsAccessGroupsListAccessibleEntrancesOptions = {},
|
|
@@ -228,6 +243,9 @@ export class SeamHttpAcsAccessGroups {
|
|
|
228
243
|
})
|
|
229
244
|
}
|
|
230
245
|
|
|
246
|
+
/**
|
|
247
|
+
* Returns a list of all [access system users](https://docs.seam.co/low-level-apis/access-systems/user-management) in an [access group](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups).
|
|
248
|
+
*/
|
|
231
249
|
listUsers(
|
|
232
250
|
parameters: AcsAccessGroupsListUsersParameters,
|
|
233
251
|
options: AcsAccessGroupsListUsersOptions = {},
|
|
@@ -241,6 +259,9 @@ export class SeamHttpAcsAccessGroups {
|
|
|
241
259
|
})
|
|
242
260
|
}
|
|
243
261
|
|
|
262
|
+
/**
|
|
263
|
+
* Removes a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) from a specified [access group](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups).
|
|
264
|
+
*/
|
|
244
265
|
removeUser(
|
|
245
266
|
parameters: AcsAccessGroupsRemoveUserParameters,
|
|
246
267
|
options: AcsAccessGroupsRemoveUserOptions = {},
|
|
@@ -256,9 +277,18 @@ export class SeamHttpAcsAccessGroups {
|
|
|
256
277
|
}
|
|
257
278
|
|
|
258
279
|
export type AcsAccessGroupsAddUserParameters = {
|
|
280
|
+
/**
|
|
281
|
+
* ID of the access group to which you want to add an access system user.
|
|
282
|
+
*/
|
|
259
283
|
acs_access_group_id: string
|
|
260
284
|
|
|
285
|
+
/**
|
|
286
|
+
* ID of the access system user that you want to add to an access group. You can only provide one of acs_user_id or user_identity_id.
|
|
287
|
+
*/
|
|
261
288
|
acs_user_id?: string | undefined
|
|
289
|
+
/**
|
|
290
|
+
* ID of the desired user identity that you want to add to an access group. 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.
|
|
291
|
+
*/
|
|
262
292
|
user_identity_id?: string | undefined
|
|
263
293
|
}
|
|
264
294
|
|
|
@@ -272,6 +302,9 @@ export type AcsAccessGroupsAddUserRequest = SeamHttpRequest<void, undefined>
|
|
|
272
302
|
export interface AcsAccessGroupsAddUserOptions {}
|
|
273
303
|
|
|
274
304
|
export type AcsAccessGroupsDeleteParameters = {
|
|
305
|
+
/**
|
|
306
|
+
* ID of the access group that you want to delete.
|
|
307
|
+
*/
|
|
275
308
|
acs_access_group_id: string
|
|
276
309
|
}
|
|
277
310
|
|
|
@@ -285,6 +318,9 @@ export type AcsAccessGroupsDeleteRequest = SeamHttpRequest<void, undefined>
|
|
|
285
318
|
export interface AcsAccessGroupsDeleteOptions {}
|
|
286
319
|
|
|
287
320
|
export type AcsAccessGroupsGetParameters = {
|
|
321
|
+
/**
|
|
322
|
+
* ID of the access group that you want to get.
|
|
323
|
+
*/
|
|
288
324
|
acs_access_group_id: string
|
|
289
325
|
}
|
|
290
326
|
|
|
@@ -301,9 +337,21 @@ export type AcsAccessGroupsGetRequest = SeamHttpRequest<
|
|
|
301
337
|
export interface AcsAccessGroupsGetOptions {}
|
|
302
338
|
|
|
303
339
|
export type AcsAccessGroupsListParameters = {
|
|
340
|
+
/**
|
|
341
|
+
* ID of the access system for which you want to retrieve all access groups.
|
|
342
|
+
*/
|
|
304
343
|
acs_system_id?: string | undefined
|
|
344
|
+
/**
|
|
345
|
+
* ID of the access system user for which you want to retrieve all access groups.
|
|
346
|
+
*/
|
|
305
347
|
acs_user_id?: string | undefined
|
|
348
|
+
/**
|
|
349
|
+
* String for which to search. Filters returned access groups to include all records that satisfy a partial match using `name` or `acs_access_group_id`.
|
|
350
|
+
*/
|
|
306
351
|
search?: string | undefined
|
|
352
|
+
/**
|
|
353
|
+
* ID of the user identity for which you want to retrieve all access groups.
|
|
354
|
+
*/
|
|
307
355
|
user_identity_id?: string | undefined
|
|
308
356
|
}
|
|
309
357
|
|
|
@@ -322,6 +370,9 @@ export type AcsAccessGroupsListRequest = SeamHttpRequest<
|
|
|
322
370
|
export interface AcsAccessGroupsListOptions {}
|
|
323
371
|
|
|
324
372
|
export type AcsAccessGroupsListAccessibleEntrancesParameters = {
|
|
373
|
+
/**
|
|
374
|
+
* ID of the access group for which you want to retrieve all accessible entrances.
|
|
375
|
+
*/
|
|
325
376
|
acs_access_group_id: string
|
|
326
377
|
}
|
|
327
378
|
|
|
@@ -340,6 +391,9 @@ export type AcsAccessGroupsListAccessibleEntrancesRequest = SeamHttpRequest<
|
|
|
340
391
|
export interface AcsAccessGroupsListAccessibleEntrancesOptions {}
|
|
341
392
|
|
|
342
393
|
export type AcsAccessGroupsListUsersParameters = {
|
|
394
|
+
/**
|
|
395
|
+
* ID of the access group for which you want to retrieve all access system users.
|
|
396
|
+
*/
|
|
343
397
|
acs_access_group_id: string
|
|
344
398
|
}
|
|
345
399
|
|
|
@@ -356,9 +410,18 @@ export type AcsAccessGroupsListUsersRequest = SeamHttpRequest<
|
|
|
356
410
|
export interface AcsAccessGroupsListUsersOptions {}
|
|
357
411
|
|
|
358
412
|
export type AcsAccessGroupsRemoveUserParameters = {
|
|
413
|
+
/**
|
|
414
|
+
* ID of the access group from which you want to remove an access system user.
|
|
415
|
+
*/
|
|
359
416
|
acs_access_group_id: string
|
|
360
417
|
|
|
418
|
+
/**
|
|
419
|
+
* ID of the access system user that you want to remove from an access group.
|
|
420
|
+
*/
|
|
361
421
|
acs_user_id?: string | undefined
|
|
422
|
+
/**
|
|
423
|
+
* ID of the user identity associated with the user that you want to remove from an access group.
|
|
424
|
+
*/
|
|
362
425
|
user_identity_id?: string | undefined
|
|
363
426
|
}
|
|
364
427
|
|
|
@@ -162,6 +162,9 @@ export class SeamHttpAcsCredentials {
|
|
|
162
162
|
await clientSessions.get()
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
+
/**
|
|
166
|
+
* Assigns a specified [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) to a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).
|
|
167
|
+
*/
|
|
165
168
|
assign(
|
|
166
169
|
parameters: AcsCredentialsAssignParameters,
|
|
167
170
|
options: AcsCredentialsAssignOptions = {},
|
|
@@ -175,6 +178,9 @@ export class SeamHttpAcsCredentials {
|
|
|
175
178
|
})
|
|
176
179
|
}
|
|
177
180
|
|
|
181
|
+
/**
|
|
182
|
+
* Creates a new [credential](https://docs.seam.co/low-level-apis/managing-credentials) for a specified [ACS user](https://docs.seam.co/low-level-apis/access-systems/user-management). For granting access, we recommend [Access Grants](https://docs.seam.co/use-cases/granting-access) instead: they create and manage the underlying credentials for you, across access systems and standalone smart locks alike. Use this low-level endpoint only when you need direct control over an individual ACS credential.
|
|
183
|
+
*/
|
|
178
184
|
create(
|
|
179
185
|
parameters: AcsCredentialsCreateParameters,
|
|
180
186
|
options: AcsCredentialsCreateOptions = {},
|
|
@@ -188,6 +194,9 @@ export class SeamHttpAcsCredentials {
|
|
|
188
194
|
})
|
|
189
195
|
}
|
|
190
196
|
|
|
197
|
+
/**
|
|
198
|
+
* Deletes a specified [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
|
|
199
|
+
*/
|
|
191
200
|
delete(
|
|
192
201
|
parameters: AcsCredentialsDeleteParameters,
|
|
193
202
|
options: AcsCredentialsDeleteOptions = {},
|
|
@@ -201,6 +210,9 @@ export class SeamHttpAcsCredentials {
|
|
|
201
210
|
})
|
|
202
211
|
}
|
|
203
212
|
|
|
213
|
+
/**
|
|
214
|
+
* Returns a specified [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
|
|
215
|
+
*/
|
|
204
216
|
get(
|
|
205
217
|
parameters: AcsCredentialsGetParameters,
|
|
206
218
|
options: AcsCredentialsGetOptions = {},
|
|
@@ -214,6 +226,9 @@ export class SeamHttpAcsCredentials {
|
|
|
214
226
|
})
|
|
215
227
|
}
|
|
216
228
|
|
|
229
|
+
/**
|
|
230
|
+
* Returns a list of all [credentials](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
|
|
231
|
+
*/
|
|
217
232
|
list(
|
|
218
233
|
parameters?: AcsCredentialsListParameters,
|
|
219
234
|
options: AcsCredentialsListOptions = {},
|
|
@@ -227,6 +242,9 @@ export class SeamHttpAcsCredentials {
|
|
|
227
242
|
})
|
|
228
243
|
}
|
|
229
244
|
|
|
245
|
+
/**
|
|
246
|
+
* Returns a list of all [entrances](https://docs.seam.co/api/acs/entrances) to which a [credential](https://docs.seam.co/api/acs/credentials) grants access.
|
|
247
|
+
*/
|
|
230
248
|
listAccessibleEntrances(
|
|
231
249
|
parameters: AcsCredentialsListAccessibleEntrancesParameters,
|
|
232
250
|
options: AcsCredentialsListAccessibleEntrancesOptions = {},
|
|
@@ -240,6 +258,9 @@ export class SeamHttpAcsCredentials {
|
|
|
240
258
|
})
|
|
241
259
|
}
|
|
242
260
|
|
|
261
|
+
/**
|
|
262
|
+
* Unassigns a specified [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) from a specified [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management).
|
|
263
|
+
*/
|
|
243
264
|
unassign(
|
|
244
265
|
parameters: AcsCredentialsUnassignParameters,
|
|
245
266
|
options: AcsCredentialsUnassignOptions = {},
|
|
@@ -253,6 +274,9 @@ export class SeamHttpAcsCredentials {
|
|
|
253
274
|
})
|
|
254
275
|
}
|
|
255
276
|
|
|
277
|
+
/**
|
|
278
|
+
* Updates the code and ends at date and time for a specified [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials).
|
|
279
|
+
*/
|
|
256
280
|
update(
|
|
257
281
|
parameters: AcsCredentialsUpdateParameters,
|
|
258
282
|
options: AcsCredentialsUpdateOptions = {},
|
|
@@ -268,9 +292,18 @@ export class SeamHttpAcsCredentials {
|
|
|
268
292
|
}
|
|
269
293
|
|
|
270
294
|
export type AcsCredentialsAssignParameters = {
|
|
295
|
+
/**
|
|
296
|
+
* ID of the credential that you want to assign to an access system user.
|
|
297
|
+
*/
|
|
271
298
|
acs_credential_id: string
|
|
272
299
|
|
|
300
|
+
/**
|
|
301
|
+
* ID of the access system user to whom you want to assign a credential. You can only provide one of acs_user_id or user_identity_id.
|
|
302
|
+
*/
|
|
273
303
|
acs_user_id?: string | undefined
|
|
304
|
+
/**
|
|
305
|
+
* ID of the user identity to whom you want to assign a credential. 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 credential belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created.
|
|
306
|
+
*/
|
|
274
307
|
user_identity_id?: string | undefined
|
|
275
308
|
}
|
|
276
309
|
|
|
@@ -284,36 +317,85 @@ export type AcsCredentialsAssignRequest = SeamHttpRequest<void, undefined>
|
|
|
284
317
|
export interface AcsCredentialsAssignOptions {}
|
|
285
318
|
|
|
286
319
|
export type AcsCredentialsCreateParameters = {
|
|
320
|
+
/**
|
|
321
|
+
* Access method for the new credential. Supported values: `code`, `card`, `mobile_key`, `cloud_key`.
|
|
322
|
+
*/
|
|
287
323
|
access_method: 'code' | 'card' | 'mobile_key' | 'cloud_key'
|
|
288
324
|
|
|
325
|
+
/**
|
|
326
|
+
* ID of the access system to which the new credential belongs. You must provide either `acs_user_id` or the combination of `user_identity_id` and `acs_system_id`.
|
|
327
|
+
*/
|
|
289
328
|
acs_system_id?: string | undefined
|
|
329
|
+
/**
|
|
330
|
+
* ID of the access system user to whom the new credential belongs. You must provide either `acs_user_id` or the combination of `user_identity_id` and `acs_system_id`.
|
|
331
|
+
*/
|
|
290
332
|
acs_user_id?: string | undefined
|
|
333
|
+
/**
|
|
334
|
+
* Set of IDs of the [entrances](https://docs.seam.co/low-level-apis/access-systems/retrieving-entrance-details) for which the new credential grants access.
|
|
335
|
+
*/
|
|
291
336
|
allowed_acs_entrance_ids?: Array<string> | undefined
|
|
337
|
+
/**
|
|
338
|
+
* Vostio-specific metadata for the new credential.
|
|
339
|
+
*/
|
|
292
340
|
assa_abloy_vostio_metadata?:
|
|
293
341
|
| {
|
|
294
342
|
auto_join?: boolean | undefined
|
|
343
|
+
|
|
295
344
|
join_all_guest_acs_entrances?: boolean | undefined
|
|
345
|
+
|
|
296
346
|
override_all_guest_acs_entrances?: boolean | undefined
|
|
347
|
+
|
|
297
348
|
override_guest_acs_entrance_ids?: Array<string> | undefined
|
|
298
349
|
}
|
|
299
350
|
| undefined
|
|
351
|
+
/**
|
|
352
|
+
* Access (PIN) code for the new credential. There may be manufacturer-specific code restrictions. For details, see the applicable [device or system integration guide](https://docs.seam.co/device-and-system-integration-guides).
|
|
353
|
+
*/
|
|
300
354
|
code?: string | undefined
|
|
355
|
+
/**
|
|
356
|
+
* ACS system ID of the credential manager for the new credential.
|
|
357
|
+
*/
|
|
301
358
|
credential_manager_acs_system_id?: string | undefined
|
|
359
|
+
/**
|
|
360
|
+
* Date and time at which the validity of the new credential ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.
|
|
361
|
+
*/
|
|
302
362
|
ends_at?: string | undefined
|
|
363
|
+
/**
|
|
364
|
+
* Indicates whether the new credential is a [multi-phone sync credential](https://docs.seam.co/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).
|
|
365
|
+
*/
|
|
303
366
|
is_multi_phone_sync_credential?: boolean | undefined
|
|
367
|
+
/**
|
|
368
|
+
* Salto Space-specific metadata for the new credential.
|
|
369
|
+
*/
|
|
304
370
|
salto_space_metadata?:
|
|
305
371
|
| {
|
|
372
|
+
/**
|
|
373
|
+
* Indicates whether to assign a first, new card to a user. See also [Programming Salto Space Card-based Credentials](https://docs.seam.co/device-and-system-integration-guides/salto-proaccess-space-access-system/programming-salto-space-card-based-credentials).
|
|
374
|
+
*/
|
|
306
375
|
assign_new_key?: boolean | undefined
|
|
307
376
|
}
|
|
308
377
|
| undefined
|
|
378
|
+
/**
|
|
379
|
+
* Date and time at which the validity of the new credential starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
|
380
|
+
*/
|
|
309
381
|
starts_at?: string | undefined
|
|
382
|
+
/**
|
|
383
|
+
* ID of the user identity to whom the new credential belongs. You must provide either `acs_user_id` or the combination of `user_identity_id` and `acs_system_id`. If the access system contains a user with the same `email_address` or `phone_number` as the user identity that you specify, they are linked, and the credential belongs to the access system user. If the access system does not have a corresponding user, one is created.
|
|
384
|
+
*/
|
|
310
385
|
user_identity_id?: string | undefined
|
|
386
|
+
/**
|
|
387
|
+
* Visionline-specific metadata for the new credential.
|
|
388
|
+
*/
|
|
311
389
|
visionline_metadata?:
|
|
312
390
|
| {
|
|
313
391
|
auto_join?: boolean | undefined
|
|
392
|
+
|
|
314
393
|
card_format?: 'TLCode' | 'rfid48' | undefined
|
|
394
|
+
|
|
315
395
|
card_function_type?: 'guest' | 'staff' | undefined
|
|
396
|
+
|
|
316
397
|
joiner_acs_credential_ids?: Array<string> | undefined
|
|
398
|
+
|
|
317
399
|
override?: boolean | undefined
|
|
318
400
|
}
|
|
319
401
|
| undefined
|
|
@@ -332,6 +414,9 @@ export type AcsCredentialsCreateRequest = SeamHttpRequest<
|
|
|
332
414
|
export interface AcsCredentialsCreateOptions {}
|
|
333
415
|
|
|
334
416
|
export type AcsCredentialsDeleteParameters = {
|
|
417
|
+
/**
|
|
418
|
+
* ID of the credential that you want to delete.
|
|
419
|
+
*/
|
|
335
420
|
acs_credential_id: string
|
|
336
421
|
}
|
|
337
422
|
|
|
@@ -345,6 +430,9 @@ export type AcsCredentialsDeleteRequest = SeamHttpRequest<void, undefined>
|
|
|
345
430
|
export interface AcsCredentialsDeleteOptions {}
|
|
346
431
|
|
|
347
432
|
export type AcsCredentialsGetParameters = {
|
|
433
|
+
/**
|
|
434
|
+
* ID of the credential that you want to get.
|
|
435
|
+
*/
|
|
348
436
|
acs_credential_id: string
|
|
349
437
|
}
|
|
350
438
|
|
|
@@ -361,13 +449,37 @@ export type AcsCredentialsGetRequest = SeamHttpRequest<
|
|
|
361
449
|
export interface AcsCredentialsGetOptions {}
|
|
362
450
|
|
|
363
451
|
export type AcsCredentialsListParameters = {
|
|
452
|
+
/**
|
|
453
|
+
* ID of the access system user for which you want to retrieve all credentials.
|
|
454
|
+
*/
|
|
364
455
|
acs_user_id?: string | undefined
|
|
456
|
+
/**
|
|
457
|
+
* ID of the access system for which you want to retrieve all credentials.
|
|
458
|
+
*/
|
|
365
459
|
acs_system_id?: string | undefined
|
|
460
|
+
/**
|
|
461
|
+
* ID of the user identity for which you want to retrieve all credentials.
|
|
462
|
+
*/
|
|
366
463
|
user_identity_id?: string | undefined
|
|
464
|
+
/**
|
|
465
|
+
* Date and time, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format, before which events to return were created.
|
|
466
|
+
*/
|
|
367
467
|
created_before?: string | undefined
|
|
468
|
+
/**
|
|
469
|
+
* Indicates whether you want to retrieve only multi-phone sync credentials or non-multi-phone sync credentials.
|
|
470
|
+
*/
|
|
368
471
|
is_multi_phone_sync_credential?: boolean | undefined
|
|
472
|
+
/**
|
|
473
|
+
* Number of credentials to return.
|
|
474
|
+
*/
|
|
369
475
|
limit?: number | undefined
|
|
476
|
+
/**
|
|
477
|
+
* Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
|
|
478
|
+
*/
|
|
370
479
|
page_cursor?: string | undefined
|
|
480
|
+
/**
|
|
481
|
+
* String for which to search. Filters returned credentials to include all records that satisfy a partial match using `display_name`, `code`, `card_number`, `acs_user_id` or `acs_credential_id`.
|
|
482
|
+
*/
|
|
371
483
|
search?: string | undefined
|
|
372
484
|
}
|
|
373
485
|
|
|
@@ -386,6 +498,9 @@ export type AcsCredentialsListRequest = SeamHttpRequest<
|
|
|
386
498
|
export interface AcsCredentialsListOptions {}
|
|
387
499
|
|
|
388
500
|
export type AcsCredentialsListAccessibleEntrancesParameters = {
|
|
501
|
+
/**
|
|
502
|
+
* ID of the credential for which you want to retrieve all entrances to which the credential grants access.
|
|
503
|
+
*/
|
|
389
504
|
acs_credential_id: string
|
|
390
505
|
}
|
|
391
506
|
|
|
@@ -404,9 +519,18 @@ export type AcsCredentialsListAccessibleEntrancesRequest = SeamHttpRequest<
|
|
|
404
519
|
export interface AcsCredentialsListAccessibleEntrancesOptions {}
|
|
405
520
|
|
|
406
521
|
export type AcsCredentialsUnassignParameters = {
|
|
522
|
+
/**
|
|
523
|
+
* ID of the credential that you want to unassign from an access system user.
|
|
524
|
+
*/
|
|
407
525
|
acs_credential_id: string
|
|
408
526
|
|
|
527
|
+
/**
|
|
528
|
+
* ID of the access system user from which you want to unassign a credential. You can only provide one of acs_user_id or user_identity_id.
|
|
529
|
+
*/
|
|
409
530
|
acs_user_id?: string | undefined
|
|
531
|
+
/**
|
|
532
|
+
* ID of the user identity from which you want to unassign a credential. You can only provide one of acs_user_id or user_identity_id.
|
|
533
|
+
*/
|
|
410
534
|
user_identity_id?: string | undefined
|
|
411
535
|
}
|
|
412
536
|
|
|
@@ -420,9 +544,18 @@ export type AcsCredentialsUnassignRequest = SeamHttpRequest<void, undefined>
|
|
|
420
544
|
export interface AcsCredentialsUnassignOptions {}
|
|
421
545
|
|
|
422
546
|
export type AcsCredentialsUpdateParameters = {
|
|
547
|
+
/**
|
|
548
|
+
* ID of the credential that you want to update.
|
|
549
|
+
*/
|
|
423
550
|
acs_credential_id: string
|
|
424
551
|
|
|
552
|
+
/**
|
|
553
|
+
* Replacement access (PIN) code for the credential that you want to update.
|
|
554
|
+
*/
|
|
425
555
|
code?: string | undefined
|
|
556
|
+
/**
|
|
557
|
+
* Replacement date and time at which the validity of the credential ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after the `starts_at` value that you set when creating the credential.
|
|
558
|
+
*/
|
|
426
559
|
ends_at?: string | undefined
|
|
427
560
|
}
|
|
428
561
|
|
|
@@ -168,6 +168,9 @@ export class SeamHttpAcsEncoders {
|
|
|
168
168
|
return SeamHttpAcsEncodersSimulate.fromClient(this.client, this.defaults)
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
+
/**
|
|
172
|
+
* Encodes an existing [credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) onto a plastic card placed on the specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners). Either provide an `acs_credential_id` or an `access_method_id`
|
|
173
|
+
*/
|
|
171
174
|
encodeCredential(
|
|
172
175
|
parameters: AcsEncodersEncodeCredentialParameters,
|
|
173
176
|
options: AcsEncodersEncodeCredentialOptions = {},
|
|
@@ -181,6 +184,9 @@ export class SeamHttpAcsEncoders {
|
|
|
181
184
|
})
|
|
182
185
|
}
|
|
183
186
|
|
|
187
|
+
/**
|
|
188
|
+
* Returns a specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners).
|
|
189
|
+
*/
|
|
184
190
|
get(
|
|
185
191
|
parameters: AcsEncodersGetParameters,
|
|
186
192
|
options: AcsEncodersGetOptions = {},
|
|
@@ -194,6 +200,9 @@ export class SeamHttpAcsEncoders {
|
|
|
194
200
|
})
|
|
195
201
|
}
|
|
196
202
|
|
|
203
|
+
/**
|
|
204
|
+
* Returns a list of all [encoders](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners).
|
|
205
|
+
*/
|
|
197
206
|
list(
|
|
198
207
|
parameters?: AcsEncodersListParameters,
|
|
199
208
|
options: AcsEncodersListOptions = {},
|
|
@@ -207,6 +216,9 @@ export class SeamHttpAcsEncoders {
|
|
|
207
216
|
})
|
|
208
217
|
}
|
|
209
218
|
|
|
219
|
+
/**
|
|
220
|
+
* Scans an encoded [acs_credential](https://docs.seam.co/low-level-apis/access-systems/managing-credentials) from a plastic card placed on the specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners).
|
|
221
|
+
*/
|
|
210
222
|
scanCredential(
|
|
211
223
|
parameters: AcsEncodersScanCredentialParameters,
|
|
212
224
|
options: AcsEncodersScanCredentialOptions = {},
|
|
@@ -220,6 +232,9 @@ export class SeamHttpAcsEncoders {
|
|
|
220
232
|
})
|
|
221
233
|
}
|
|
222
234
|
|
|
235
|
+
/**
|
|
236
|
+
* Scans a physical card placed on the specified [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners) and assigns the scanned credential to an ACS user. Provide either an `acs_user_id` or a `user_identity_id`.
|
|
237
|
+
*/
|
|
223
238
|
scanToAssignCredential(
|
|
224
239
|
parameters: AcsEncodersScanToAssignCredentialParameters,
|
|
225
240
|
options: AcsEncodersScanToAssignCredentialOptions = {},
|
|
@@ -235,8 +250,17 @@ export class SeamHttpAcsEncoders {
|
|
|
235
250
|
}
|
|
236
251
|
|
|
237
252
|
export type AcsEncodersEncodeCredentialParameters = {
|
|
253
|
+
/**
|
|
254
|
+
* ID of the `access_method` to encode onto a card.
|
|
255
|
+
*/
|
|
238
256
|
access_method_id?: string | undefined
|
|
257
|
+
/**
|
|
258
|
+
* ID of the `acs_credential` to encode onto a card.
|
|
259
|
+
*/
|
|
239
260
|
acs_credential_id?: string | undefined
|
|
261
|
+
/**
|
|
262
|
+
* ID of the `acs_encoder` to use to encode the `acs_credential`.
|
|
263
|
+
*/
|
|
240
264
|
acs_encoder_id: string
|
|
241
265
|
}
|
|
242
266
|
|
|
@@ -258,6 +282,9 @@ export type AcsEncodersEncodeCredentialOptions = Pick<
|
|
|
258
282
|
>
|
|
259
283
|
|
|
260
284
|
export type AcsEncodersGetParameters = {
|
|
285
|
+
/**
|
|
286
|
+
* ID of the encoder that you want to get.
|
|
287
|
+
*/
|
|
261
288
|
acs_encoder_id: string
|
|
262
289
|
}
|
|
263
290
|
|
|
@@ -274,10 +301,25 @@ export type AcsEncodersGetRequest = SeamHttpRequest<
|
|
|
274
301
|
export interface AcsEncodersGetOptions {}
|
|
275
302
|
|
|
276
303
|
export type AcsEncodersListParameters = {
|
|
304
|
+
/**
|
|
305
|
+
* ID of the access system for which you want to retrieve all encoders.
|
|
306
|
+
*/
|
|
277
307
|
acs_system_id?: string | undefined
|
|
308
|
+
/**
|
|
309
|
+
* IDs of the access systems for which you want to retrieve all encoders.
|
|
310
|
+
*/
|
|
278
311
|
acs_system_ids?: Array<string> | undefined
|
|
312
|
+
/**
|
|
313
|
+
* IDs of the encoders that you want to retrieve.
|
|
314
|
+
*/
|
|
279
315
|
acs_encoder_ids?: Array<string> | undefined
|
|
316
|
+
/**
|
|
317
|
+
* Number of encoders to return.
|
|
318
|
+
*/
|
|
280
319
|
limit?: number | undefined
|
|
320
|
+
/**
|
|
321
|
+
* Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.
|
|
322
|
+
*/
|
|
281
323
|
page_cursor?: string | undefined
|
|
282
324
|
}
|
|
283
325
|
|
|
@@ -294,10 +336,19 @@ export type AcsEncodersListRequest = SeamHttpRequest<
|
|
|
294
336
|
export interface AcsEncodersListOptions {}
|
|
295
337
|
|
|
296
338
|
export type AcsEncodersScanCredentialParameters = {
|
|
339
|
+
/**
|
|
340
|
+
* ID of the encoder to use for the scan.
|
|
341
|
+
*/
|
|
297
342
|
acs_encoder_id: string
|
|
298
343
|
|
|
344
|
+
/**
|
|
345
|
+
* Salto KS-specific metadata for the scan action.
|
|
346
|
+
*/
|
|
299
347
|
salto_ks_metadata?:
|
|
300
348
|
| {
|
|
349
|
+
/**
|
|
350
|
+
* When true, activates tag registration mode on the encoder to detect new, unregistered tags. When false, only detects existing tags already registered in the system. Defaults to false.
|
|
351
|
+
*/
|
|
301
352
|
detect_new_tags?: boolean | undefined
|
|
302
353
|
}
|
|
303
354
|
| undefined
|
|
@@ -321,14 +372,29 @@ export type AcsEncodersScanCredentialOptions = Pick<
|
|
|
321
372
|
>
|
|
322
373
|
|
|
323
374
|
export type AcsEncodersScanToAssignCredentialParameters = {
|
|
375
|
+
/**
|
|
376
|
+
* ID of the `acs_encoder` to use to scan the credential.
|
|
377
|
+
*/
|
|
324
378
|
acs_encoder_id: string
|
|
325
379
|
|
|
380
|
+
/**
|
|
381
|
+
* ID of the `acs_user` to assign the scanned credential to.
|
|
382
|
+
*/
|
|
326
383
|
acs_user_id?: string | undefined
|
|
384
|
+
/**
|
|
385
|
+
* Salto KS-specific metadata for the scan action.
|
|
386
|
+
*/
|
|
327
387
|
salto_ks_metadata?:
|
|
328
388
|
| {
|
|
389
|
+
/**
|
|
390
|
+
* When true, activates tag registration mode on the encoder to detect new, unregistered tags. When false, only detects existing tags already registered in the system. Defaults to false.
|
|
391
|
+
*/
|
|
329
392
|
detect_new_tags?: boolean | undefined
|
|
330
393
|
}
|
|
331
394
|
| undefined
|
|
395
|
+
/**
|
|
396
|
+
* ID of the `user_identity` to assign the scanned credential to. If the ACS system contains an ACS user linked to this user identity, it is used. Otherwise, one is created.
|
|
397
|
+
*/
|
|
332
398
|
user_identity_id?: string | undefined
|
|
333
399
|
}
|
|
334
400
|
|